@everymatrix/cashier-step-up 0.18.7 → 0.18.9

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.
@@ -73,22 +73,22 @@ function O(e) {
73
73
  function ne(e) {
74
74
  return document.createElementNS("http://www.w3.org/2000/svg", e);
75
75
  }
76
- function k(e) {
76
+ function R(e) {
77
77
  return document.createTextNode(e);
78
78
  }
79
79
  function F() {
80
- return k(" ");
80
+ return R(" ");
81
81
  }
82
- function Zn() {
83
- return k("");
82
+ function qn() {
83
+ return R("");
84
84
  }
85
85
  function ue(e, t, n, r) {
86
86
  return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
87
87
  }
88
- function p(e, t, n) {
88
+ function d(e, t, n) {
89
89
  n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
90
90
  }
91
- function qn(e) {
91
+ function Zn(e) {
92
92
  return Array.from(e.childNodes);
93
93
  }
94
94
  function j(e, t) {
@@ -119,7 +119,7 @@ function Jn() {
119
119
  function Yn(e) {
120
120
  Jn().$$.on_mount.push(e);
121
121
  }
122
- const Se = [], Ze = [];
122
+ const Se = [], qe = [];
123
123
  let Oe = [];
124
124
  const Lt = [], Kn = /* @__PURE__ */ Promise.resolve();
125
125
  let mt = !1;
@@ -144,8 +144,8 @@ function ie() {
144
144
  } catch (t) {
145
145
  throw Se.length = 0, xe = 0, t;
146
146
  }
147
- for (Ue(null), Se.length = 0, xe = 0; Ze.length; )
148
- Ze.pop()();
147
+ for (Ue(null), Se.length = 0, xe = 0; qe.length; )
148
+ qe.pop()();
149
149
  for (let t = 0; t < Oe.length; t += 1) {
150
150
  const n = Oe[t];
151
151
  lt.has(n) || (lt.add(n), n());
@@ -214,12 +214,12 @@ function lr(e, t, n, r, i, o, a = null, s = [-1]) {
214
214
  };
215
215
  a && a(l.root);
216
216
  let h = !1;
217
- if (l.ctx = n ? n(e, t.props || {}, (f, d, ...y) => {
218
- const m = y.length ? y[0] : d;
219
- return l.ctx && i(l.ctx[f], l.ctx[f] = m) && (!l.skip_bound && l.bound[f] && l.bound[f](m), h && ar(e, f)), d;
217
+ if (l.ctx = n ? n(e, t.props || {}, (f, p, ...y) => {
218
+ const m = y.length ? y[0] : p;
219
+ return l.ctx && i(l.ctx[f], l.ctx[f] = m) && (!l.skip_bound && l.bound[f] && l.bound[f](m), h && ar(e, f)), p;
220
220
  }) : [], l.update(), h = !0, ve(l.before_update), l.fragment = r ? r(l.ctx) : !1, t.target) {
221
221
  if (t.hydrate) {
222
- const f = qn(t.target);
222
+ const f = Zn(t.target);
223
223
  l.fragment && l.fragment.l(f), f.forEach(H);
224
224
  } else
225
225
  l.fragment && l.fragment.c();
@@ -270,7 +270,7 @@ typeof HTMLElement == "function" && (rn = class extends HTMLElement {
270
270
  let o;
271
271
  return {
272
272
  c: function() {
273
- o = O("slot"), i !== "default" && p(o, "name", i);
273
+ o = O("slot"), i !== "default" && d(o, "name", i);
274
274
  },
275
275
  /**
276
276
  * @param {HTMLElement} target
@@ -456,7 +456,7 @@ function fr(e, t) {
456
456
  n.innerHTML = t, e.appendChild(n);
457
457
  }
458
458
  }
459
- function pr(e, t) {
459
+ function dr(e, t) {
460
460
  if (!e || !t)
461
461
  return;
462
462
  const n = new URL(t);
@@ -467,7 +467,7 @@ function pr(e, t) {
467
467
  console.error("There was an error while trying to load client styling from URL", r);
468
468
  });
469
469
  }
470
- function dr(e, t, n, r = !1) {
470
+ function pr(e, t, n, r = !1) {
471
471
  if (!window.emMessageBus)
472
472
  return;
473
473
  if (!("adoptedStyleSheets" in Document.prototype) || !r)
@@ -534,7 +534,7 @@ function Ye(e, t = K) {
534
534
  }
535
535
  return { set: i, update: o, subscribe: a };
536
536
  }
537
- function Me(e, t, n) {
537
+ function Be(e, t, n) {
538
538
  const r = !Array.isArray(e), i = r ? [e] : e;
539
539
  if (!i.every(Boolean))
540
540
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -543,7 +543,7 @@ function Me(e, t, n) {
543
543
  let u = !1;
544
544
  const l = [];
545
545
  let h = 0, f = K;
546
- const d = () => {
546
+ const p = () => {
547
547
  if (h)
548
548
  return;
549
549
  f();
@@ -553,14 +553,14 @@ function Me(e, t, n) {
553
553
  (m, g) => nn(
554
554
  m,
555
555
  (E) => {
556
- l[g] = E, h &= ~(1 << g), u && d();
556
+ l[g] = E, h &= ~(1 << g), u && p();
557
557
  },
558
558
  () => {
559
559
  h |= 1 << g;
560
560
  }
561
561
  )
562
562
  );
563
- return u = !0, d(), function() {
563
+ return u = !0, p(), function() {
564
564
  ve(y), f(), u = !1;
565
565
  };
566
566
  });
@@ -617,7 +617,7 @@ function on(e, t) {
617
617
  function Ar(e, t) {
618
618
  return on(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
619
619
  }
620
- function Br(e, t, n) {
620
+ function Mr(e, t, n) {
621
621
  var r = {};
622
622
  return n.isMergeableObject(e) && Nt(e).forEach(function(i) {
623
623
  r[i] = Fe(e[i], n);
@@ -628,7 +628,7 @@ function Br(e, t, n) {
628
628
  function He(e, t, n) {
629
629
  n = n || {}, n.arrayMerge = n.arrayMerge || Or, n.isMergeableObject = n.isMergeableObject || yr, n.cloneUnlessOtherwiseSpecified = Fe;
630
630
  var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
631
- return o ? r ? n.arrayMerge(e, t, n) : Br(e, t, n) : Fe(t, n);
631
+ return o ? r ? n.arrayMerge(e, t, n) : Mr(e, t, n) : Fe(t, n);
632
632
  }
633
633
  He.all = function(t, n) {
634
634
  if (!Array.isArray(t))
@@ -637,7 +637,7 @@ He.all = function(t, n) {
637
637
  return He(r, i, n);
638
638
  }, {});
639
639
  };
640
- var Mr = He, Pr = Mr;
640
+ var Br = He, Pr = Br;
641
641
  const Lr = /* @__PURE__ */ vr(Pr);
642
642
  var bt = function(e, t) {
643
643
  return bt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
@@ -682,7 +682,7 @@ function ut(e, t, n) {
682
682
  return e.concat(o || Array.prototype.slice.call(t));
683
683
  }
684
684
  function ht(e, t) {
685
- var n = t && t.cache ? t.cache : Fr, r = t && t.serializer ? t.serializer : Ur, i = t && t.strategy ? t.strategy : kr;
685
+ var n = t && t.cache ? t.cache : Fr, r = t && t.serializer ? t.serializer : Ur, i = t && t.strategy ? t.strategy : Rr;
686
686
  return i(e, {
687
687
  cache: n,
688
688
  serializer: r
@@ -691,7 +691,7 @@ function ht(e, t) {
691
691
  function Nr(e) {
692
692
  return e == null || typeof e == "number" || typeof e == "boolean";
693
693
  }
694
- function Rr(e, t, n, r) {
694
+ function kr(e, t, n, r) {
695
695
  var i = Nr(r) ? r : n(r), o = t.get(i);
696
696
  return typeof o > "u" && (o = e.call(this, r), t.set(i, o)), o;
697
697
  }
@@ -702,8 +702,8 @@ function sn(e, t, n) {
702
702
  function an(e, t, n, r, i) {
703
703
  return n.bind(t, e, r, i);
704
704
  }
705
- function kr(e, t) {
706
- var n = e.length === 1 ? Rr : sn;
705
+ function Rr(e, t) {
706
+ var n = e.length === 1 ? kr : sn;
707
707
  return an(e, this, n, t.cache.create(), t.serializer);
708
708
  }
709
709
  function Dr(e, t) {
@@ -729,15 +729,15 @@ var Ur = function() {
729
729
  }
730
730
  }, ct = {
731
731
  variadic: Dr
732
- }, qe = function() {
733
- return qe = Object.assign || function(t) {
732
+ }, Ze = function() {
733
+ return Ze = Object.assign || function(t) {
734
734
  for (var n, r = 1, i = arguments.length; r < i; r++) {
735
735
  n = arguments[r];
736
736
  for (var o in n)
737
737
  Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
738
738
  }
739
739
  return t;
740
- }, qe.apply(this, arguments);
740
+ }, Ze.apply(this, arguments);
741
741
  };
742
742
  var w;
743
743
  (function(e) {
@@ -751,7 +751,7 @@ var Ce;
751
751
  (function(e) {
752
752
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
753
753
  })(Ce || (Ce = {}));
754
- function Rt(e) {
754
+ function kt(e) {
755
755
  return e.type === L.literal;
756
756
  }
757
757
  function jr(e) {
@@ -775,10 +775,10 @@ function fn(e) {
775
775
  function Vr(e) {
776
776
  return e.type === L.pound;
777
777
  }
778
- function pn(e) {
778
+ function dn(e) {
779
779
  return e.type === L.tag;
780
780
  }
781
- function dn(e) {
781
+ function pn(e) {
782
782
  return !!(e && typeof e == "object" && e.type === Ce.number);
783
783
  }
784
784
  function vt(e) {
@@ -876,22 +876,22 @@ function $r(e) {
876
876
  return "";
877
877
  }), t;
878
878
  }
879
- var R = function() {
880
- return R = Object.assign || function(t) {
879
+ var k = function() {
880
+ return k = Object.assign || function(t) {
881
881
  for (var n, r = 1, i = arguments.length; r < i; r++) {
882
882
  n = arguments[r];
883
883
  for (var o in n)
884
884
  Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
885
885
  }
886
886
  return t;
887
- }, R.apply(this, arguments);
887
+ }, k.apply(this, arguments);
888
888
  };
889
889
  var Xr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
890
890
  function Wr(e) {
891
891
  if (e.length === 0)
892
892
  throw new Error("Number skeleton cannot be empty");
893
- for (var t = e.split(Xr).filter(function(d) {
894
- return d.length > 0;
893
+ for (var t = e.split(Xr).filter(function(p) {
894
+ return p.length > 0;
895
895
  }), n = [], r = 0, i = t; r < i.length; r++) {
896
896
  var o = i[r], a = o.split("/");
897
897
  if (a.length === 0)
@@ -905,10 +905,10 @@ function Wr(e) {
905
905
  }
906
906
  return n;
907
907
  }
908
- function Zr(e) {
908
+ function qr(e) {
909
909
  return e.replace(/^(.*?)-/, "");
910
910
  }
911
- var kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gn = /^(@+)?(\+|#+)?[rs]?$/g, qr = /(\*)(0+)|(#+)(0+)|(0+)/g, bn = /^(0+)$/;
911
+ var Rt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gn = /^(@+)?(\+|#+)?[rs]?$/g, Zr = /(\*)(0+)|(#+)(0+)|(0+)/g, bn = /^(0+)$/;
912
912
  function Dt(e) {
913
913
  var t = {};
914
914
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gn, function(n, r, i) {
@@ -997,7 +997,7 @@ function Jr(e) {
997
997
  continue;
998
998
  case "measure-unit":
999
999
  case "unit":
1000
- t.style = "unit", t.unit = Zr(i.options[0]);
1000
+ t.style = "unit", t.unit = qr(i.options[0]);
1001
1001
  continue;
1002
1002
  case "compact-short":
1003
1003
  case "K":
@@ -1008,13 +1008,13 @@ function Jr(e) {
1008
1008
  t.notation = "compact", t.compactDisplay = "long";
1009
1009
  continue;
1010
1010
  case "scientific":
1011
- t = R(R(R({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1012
- return R(R({}, u), Ut(l));
1011
+ t = k(k(k({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1012
+ return k(k({}, u), Ut(l));
1013
1013
  }, {}));
1014
1014
  continue;
1015
1015
  case "engineering":
1016
- t = R(R(R({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1017
- return R(R({}, u), Ut(l));
1016
+ t = k(k(k({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1017
+ return k(k({}, u), Ut(l));
1018
1018
  }, {}));
1019
1019
  continue;
1020
1020
  case "notation-simple":
@@ -1059,11 +1059,11 @@ function Jr(e) {
1059
1059
  case "integer-width":
1060
1060
  if (i.options.length > 1)
1061
1061
  throw new RangeError("integer-width stems only accept a single optional option");
1062
- i.options[0].replace(qr, function(u, l, h, f, d, y) {
1062
+ i.options[0].replace(Zr, function(u, l, h, f, p, y) {
1063
1063
  if (l)
1064
1064
  t.minimumIntegerDigits = h.length;
1065
1065
  else {
1066
- if (f && d)
1066
+ if (f && p)
1067
1067
  throw new Error("We currently do not support maximum integer digits");
1068
1068
  if (y)
1069
1069
  throw new Error("We currently do not support exact integer digits");
@@ -1076,24 +1076,24 @@ function Jr(e) {
1076
1076
  t.minimumIntegerDigits = i.stem.length;
1077
1077
  continue;
1078
1078
  }
1079
- if (kt.test(i.stem)) {
1079
+ if (Rt.test(i.stem)) {
1080
1080
  if (i.options.length > 1)
1081
1081
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1082
- i.stem.replace(kt, function(u, l, h, f, d, y) {
1083
- return h === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : d && y ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + y.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1082
+ i.stem.replace(Rt, function(u, l, h, f, p, y) {
1083
+ return h === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : p && y ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + y.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1084
1084
  });
1085
1085
  var o = i.options[0];
1086
- o === "w" ? t = R(R({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = R(R({}, t), Dt(o)));
1086
+ o === "w" ? t = k(k({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = k(k({}, t), Dt(o)));
1087
1087
  continue;
1088
1088
  }
1089
1089
  if (gn.test(i.stem)) {
1090
- t = R(R({}, t), Dt(i.stem));
1090
+ t = k(k({}, t), Dt(i.stem));
1091
1091
  continue;
1092
1092
  }
1093
1093
  var a = vn(i.stem);
1094
- a && (t = R(R({}, t), a));
1094
+ a && (t = k(k({}, t), a));
1095
1095
  var s = Qr(i.stem);
1096
- s && (t = R(R({}, t), s));
1096
+ s && (t = k(k({}, t), s));
1097
1097
  }
1098
1098
  return t;
1099
1099
  }
@@ -2654,7 +2654,7 @@ if (yt) {
2654
2654
  }
2655
2655
  return Et.apply(void 0, r);
2656
2656
  };
2657
- var pi = (
2657
+ var di = (
2658
2658
  /** @class */
2659
2659
  function() {
2660
2660
  function e(t, n) {
@@ -2765,7 +2765,7 @@ var pi = (
2765
2765
  };
2766
2766
  }, e.prototype.tryParseLeftAngleBracket = function() {
2767
2767
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2768
- !di(this.peek() || 0)) ? (this.bump(), "<") : null;
2768
+ !pi(this.peek() || 0)) ? (this.bump(), "<") : null;
2769
2769
  }, e.prototype.tryParseQuote = function(t) {
2770
2770
  if (this.isEOF() || this.char() !== 39)
2771
2771
  return null;
@@ -2852,11 +2852,11 @@ var pi = (
2852
2852
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2853
2853
  if (f.err)
2854
2854
  return f;
2855
- var d = fi(f.val);
2856
- if (d.length === 0)
2855
+ var p = fi(f.val);
2856
+ if (p.length === 0)
2857
2857
  return this.error(w.EXPECT_ARGUMENT_STYLE, T(this.clonePosition(), this.clonePosition()));
2858
2858
  var y = T(h, this.clonePosition());
2859
- l = { style: d, styleLocation: y };
2859
+ l = { style: p, styleLocation: y };
2860
2860
  }
2861
2861
  var m = this.tryParseArgumentClose(i);
2862
2862
  if (m.err)
@@ -2875,14 +2875,14 @@ var pi = (
2875
2875
  return this.error(w.EXPECT_DATE_TIME_SKELETON, g);
2876
2876
  var S = E;
2877
2877
  this.locale && (S = Yr(E, this.locale));
2878
- var d = {
2878
+ var p = {
2879
2879
  type: Ce.dateTime,
2880
2880
  pattern: S,
2881
2881
  location: l.styleLocation,
2882
2882
  parsedOptions: this.shouldParseSkeletons ? $r(S) : {}
2883
- }, M = s === "date" ? L.date : L.time;
2883
+ }, B = s === "date" ? L.date : L.time;
2884
2884
  return {
2885
- val: { type: M, value: r, location: g, style: d },
2885
+ val: { type: B, value: r, location: g, style: p },
2886
2886
  err: null
2887
2887
  };
2888
2888
  }
@@ -2902,7 +2902,7 @@ var pi = (
2902
2902
  case "select": {
2903
2903
  var I = this.clonePosition();
2904
2904
  if (this.bumpSpace(), !this.bumpIf(","))
2905
- return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, T(I, qe({}, I)));
2905
+ return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, T(I, Ze({}, I)));
2906
2906
  this.bumpSpace();
2907
2907
  var D = this.parseIdentifierIfPossible(), P = 0;
2908
2908
  if (s !== "select" && D.value === "offset") {
@@ -3002,9 +3002,9 @@ var pi = (
3002
3002
  if (l.length === 0) {
3003
3003
  var f = this.clonePosition();
3004
3004
  if (n !== "select" && this.bumpIf("=")) {
3005
- var d = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_SELECTOR, w.INVALID_PLURAL_ARGUMENT_SELECTOR);
3006
- if (d.err)
3007
- return d;
3005
+ var p = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_SELECTOR, w.INVALID_PLURAL_ARGUMENT_SELECTOR);
3006
+ if (p.err)
3007
+ return p;
3008
3008
  h = T(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
3009
3009
  } else
3010
3010
  break;
@@ -3110,7 +3110,7 @@ var pi = (
3110
3110
  function xt(e) {
3111
3111
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3112
3112
  }
3113
- function di(e) {
3113
+ function pi(e) {
3114
3114
  return xt(e) || e === 47;
3115
3115
  }
3116
3116
  function mi(e) {
@@ -3128,12 +3128,12 @@ function wt(e) {
3128
3128
  for (var n in t.options)
3129
3129
  delete t.options[n].location, wt(t.options[n].value);
3130
3130
  else
3131
- ln(t) && dn(t.style) || (un(t) || hn(t)) && vt(t.style) ? delete t.style.location : pn(t) && wt(t.children);
3131
+ ln(t) && pn(t.style) || (un(t) || hn(t)) && vt(t.style) ? delete t.style.location : dn(t) && wt(t.children);
3132
3132
  });
3133
3133
  }
3134
3134
  function bi(e, t) {
3135
- t === void 0 && (t = {}), t = qe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3136
- var n = new pi(e, t).parse();
3135
+ t === void 0 && (t = {}), t = Ze({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3136
+ var n = new di(e, t).parse();
3137
3137
  if (n.err) {
3138
3138
  var r = SyntaxError(w[n.err.kind]);
3139
3139
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
@@ -3183,39 +3183,39 @@ var et = (
3183
3183
  }
3184
3184
  return t;
3185
3185
  }(et)
3186
- ), Z;
3186
+ ), q;
3187
3187
  (function(e) {
3188
3188
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3189
- })(Z || (Z = {}));
3189
+ })(q || (q = {}));
3190
3190
  function Ei(e) {
3191
3191
  return e.length < 2 ? e : e.reduce(function(t, n) {
3192
3192
  var r = t[t.length - 1];
3193
- return !r || r.type !== Z.literal || n.type !== Z.literal ? t.push(n) : r.value += n.value, t;
3193
+ return !r || r.type !== q.literal || n.type !== q.literal ? t.push(n) : r.value += n.value, t;
3194
3194
  }, []);
3195
3195
  }
3196
3196
  function _i(e) {
3197
3197
  return typeof e == "function";
3198
3198
  }
3199
3199
  function Xe(e, t, n, r, i, o, a) {
3200
- if (e.length === 1 && Rt(e[0]))
3200
+ if (e.length === 1 && kt(e[0]))
3201
3201
  return [
3202
3202
  {
3203
- type: Z.literal,
3203
+ type: q.literal,
3204
3204
  value: e[0].value
3205
3205
  }
3206
3206
  ];
3207
3207
  for (var s = [], u = 0, l = e; u < l.length; u++) {
3208
3208
  var h = l[u];
3209
- if (Rt(h)) {
3209
+ if (kt(h)) {
3210
3210
  s.push({
3211
- type: Z.literal,
3211
+ type: q.literal,
3212
3212
  value: h.value
3213
3213
  });
3214
3214
  continue;
3215
3215
  }
3216
3216
  if (Vr(h)) {
3217
3217
  typeof o == "number" && s.push({
3218
- type: Z.literal,
3218
+ type: q.literal,
3219
3219
  value: n.getNumberFormat(t).format(o)
3220
3220
  });
3221
3221
  continue;
@@ -3223,72 +3223,72 @@ function Xe(e, t, n, r, i, o, a) {
3223
3223
  var f = h.value;
3224
3224
  if (!(i && f in i))
3225
3225
  throw new yi(f, a);
3226
- var d = i[f];
3226
+ var p = i[f];
3227
3227
  if (jr(h)) {
3228
- (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), s.push({
3229
- type: typeof d == "string" ? Z.literal : Z.object,
3230
- value: d
3228
+ (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), s.push({
3229
+ type: typeof p == "string" ? q.literal : q.object,
3230
+ value: p
3231
3231
  });
3232
3232
  continue;
3233
3233
  }
3234
3234
  if (un(h)) {
3235
3235
  var y = typeof h.style == "string" ? r.date[h.style] : vt(h.style) ? h.style.parsedOptions : void 0;
3236
3236
  s.push({
3237
- type: Z.literal,
3238
- value: n.getDateTimeFormat(t, y).format(d)
3237
+ type: q.literal,
3238
+ value: n.getDateTimeFormat(t, y).format(p)
3239
3239
  });
3240
3240
  continue;
3241
3241
  }
3242
3242
  if (hn(h)) {
3243
3243
  var y = typeof h.style == "string" ? r.time[h.style] : vt(h.style) ? h.style.parsedOptions : r.time.medium;
3244
3244
  s.push({
3245
- type: Z.literal,
3246
- value: n.getDateTimeFormat(t, y).format(d)
3245
+ type: q.literal,
3246
+ value: n.getDateTimeFormat(t, y).format(p)
3247
3247
  });
3248
3248
  continue;
3249
3249
  }
3250
3250
  if (ln(h)) {
3251
- var y = typeof h.style == "string" ? r.number[h.style] : dn(h.style) ? h.style.parsedOptions : void 0;
3252
- y && y.scale && (d = d * (y.scale || 1)), s.push({
3253
- type: Z.literal,
3254
- value: n.getNumberFormat(t, y).format(d)
3251
+ var y = typeof h.style == "string" ? r.number[h.style] : pn(h.style) ? h.style.parsedOptions : void 0;
3252
+ y && y.scale && (p = p * (y.scale || 1)), s.push({
3253
+ type: q.literal,
3254
+ value: n.getNumberFormat(t, y).format(p)
3255
3255
  });
3256
3256
  continue;
3257
3257
  }
3258
- if (pn(h)) {
3258
+ if (dn(h)) {
3259
3259
  var m = h.children, g = h.value, E = i[g];
3260
3260
  if (!_i(E))
3261
3261
  throw new vi(g, "function", a);
3262
- var S = Xe(m, t, n, r, i, o), M = E(S.map(function(P) {
3262
+ var S = Xe(m, t, n, r, i, o), B = E(S.map(function(P) {
3263
3263
  return P.value;
3264
3264
  }));
3265
- Array.isArray(M) || (M = [M]), s.push.apply(s, M.map(function(P) {
3265
+ Array.isArray(B) || (B = [B]), s.push.apply(s, B.map(function(P) {
3266
3266
  return {
3267
- type: typeof P == "string" ? Z.literal : Z.object,
3267
+ type: typeof P == "string" ? q.literal : q.object,
3268
3268
  value: P
3269
3269
  };
3270
3270
  }));
3271
3271
  }
3272
3272
  if (cn(h)) {
3273
- var I = h.options[d] || h.options.other;
3273
+ var I = h.options[p] || h.options.other;
3274
3274
  if (!I)
3275
- throw new Vt(h.value, d, Object.keys(h.options), a);
3275
+ throw new Vt(h.value, p, Object.keys(h.options), a);
3276
3276
  s.push.apply(s, Xe(I.value, t, n, r, i));
3277
3277
  continue;
3278
3278
  }
3279
3279
  if (fn(h)) {
3280
- var I = h.options["=".concat(d)];
3280
+ var I = h.options["=".concat(p)];
3281
3281
  if (!I) {
3282
3282
  if (!Intl.PluralRules)
3283
3283
  throw new et(`Intl.PluralRules is not available in this environment.
3284
3284
  Try polyfilling it using "@formatjs/intl-pluralrules"
3285
3285
  `, Ae.MISSING_INTL_API, a);
3286
- var D = n.getPluralRules(t, { type: h.pluralType }).select(d - (h.offset || 0));
3286
+ var D = n.getPluralRules(t, { type: h.pluralType }).select(p - (h.offset || 0));
3287
3287
  I = h.options[D] || h.options.other;
3288
3288
  }
3289
3289
  if (!I)
3290
- throw new Vt(h.value, d, Object.keys(h.options), a);
3291
- s.push.apply(s, Xe(I.value, t, n, r, i, d - (h.offset || 0)));
3290
+ throw new Vt(h.value, p, Object.keys(h.options), a);
3291
+ s.push.apply(s, Xe(I.value, t, n, r, i, p - (h.offset || 0)));
3292
3292
  continue;
3293
3293
  }
3294
3294
  }
@@ -3304,7 +3304,7 @@ function wi(e, t) {
3304
3304
  return n[r] = xi(e[r], t[r]), n;
3305
3305
  }, oe({}, e)) : e;
3306
3306
  }
3307
- function pt(e) {
3307
+ function dt(e) {
3308
3308
  return {
3309
3309
  create: function() {
3310
3310
  return {
@@ -3329,7 +3329,7 @@ function Si(e) {
3329
3329
  n[r] = arguments[r];
3330
3330
  return new ((t = Intl.NumberFormat).bind.apply(t, ut([void 0], n, !1)))();
3331
3331
  }, {
3332
- cache: pt(e.number),
3332
+ cache: dt(e.number),
3333
3333
  strategy: ct.variadic
3334
3334
  }),
3335
3335
  getDateTimeFormat: ht(function() {
@@ -3337,7 +3337,7 @@ function Si(e) {
3337
3337
  n[r] = arguments[r];
3338
3338
  return new ((t = Intl.DateTimeFormat).bind.apply(t, ut([void 0], n, !1)))();
3339
3339
  }, {
3340
- cache: pt(e.dateTime),
3340
+ cache: dt(e.dateTime),
3341
3341
  strategy: ct.variadic
3342
3342
  }),
3343
3343
  getPluralRules: ht(function() {
@@ -3345,7 +3345,7 @@ function Si(e) {
3345
3345
  n[r] = arguments[r];
3346
3346
  return new ((t = Intl.PluralRules).bind.apply(t, ut([void 0], n, !1)))();
3347
3347
  }, {
3348
- cache: pt(e.pluralRules),
3348
+ cache: dt(e.pluralRules),
3349
3349
  strategy: ct.variadic
3350
3350
  })
3351
3351
  };
@@ -3364,8 +3364,8 @@ var Ti = (
3364
3364
  var l = o.formatToParts(u);
3365
3365
  if (l.length === 1)
3366
3366
  return l[0].value;
3367
- var h = l.reduce(function(f, d) {
3368
- return !f.length || d.type !== Z.literal || typeof f[f.length - 1] != "string" ? f.push(d.value) : f[f.length - 1] += d.value, f;
3367
+ var h = l.reduce(function(f, p) {
3368
+ return !f.length || p.type !== q.literal || typeof f[f.length - 1] != "string" ? f.push(p.value) : f[f.length - 1] += p.value, f;
3369
3369
  }, []);
3370
3370
  return h.length <= 1 ? h[0] || "" : h;
3371
3371
  }, this.formatToParts = function(u) {
@@ -3509,7 +3509,7 @@ function Ai(e, t) {
3509
3509
  const n = Ci(e);
3510
3510
  return Oi(n, t);
3511
3511
  }
3512
- function Bi(e) {
3512
+ function Mi(e) {
3513
3513
  if (e == null)
3514
3514
  return;
3515
3515
  const t = tt(e);
@@ -3522,13 +3522,13 @@ function Bi(e) {
3522
3522
  function Sn(e, ...t) {
3523
3523
  delete fe[e], Ve.update((n) => (n[e] = Lr.all([n[e] || {}, ...t]), n));
3524
3524
  }
3525
- Me(
3525
+ Be(
3526
3526
  [Ve],
3527
3527
  ([e]) => Object.keys(e)
3528
3528
  );
3529
3529
  Ve.subscribe((e) => Ht = e);
3530
3530
  const We = {};
3531
- function Mi(e, t) {
3531
+ function Bi(e, t) {
3532
3532
  We[e].delete(t), We[e].size === 0 && delete We[e];
3533
3533
  }
3534
3534
  function Tn(e) {
@@ -3550,7 +3550,7 @@ function St(e) {
3550
3550
  }
3551
3551
  function Li(e, t) {
3552
3552
  return Promise.all(
3553
- t.map((r) => (Mi(e, r), r().then((i) => i.default || i)))
3553
+ t.map((r) => (Bi(e, r), r().then((i) => i.default || i)))
3554
3554
  ).then((r) => Sn(e, ...r));
3555
3555
  }
3556
3556
  const De = {};
@@ -3604,12 +3604,12 @@ const Ii = {
3604
3604
  warnOnMissingMessages: !0,
3605
3605
  handleMissingMessage: void 0,
3606
3606
  ignoreTag: !0
3607
- }, Ri = Ni;
3608
- function Be() {
3609
- return Ri;
3607
+ }, ki = Ni;
3608
+ function Me() {
3609
+ return ki;
3610
3610
  }
3611
- const dt = Ye(!1);
3612
- var ki = Object.defineProperty, Di = Object.defineProperties, Ui = Object.getOwnPropertyDescriptors, zt = Object.getOwnPropertySymbols, Gi = Object.prototype.hasOwnProperty, Fi = Object.prototype.propertyIsEnumerable, $t = (e, t, n) => t in e ? ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ji = (e, t) => {
3611
+ const pt = Ye(!1);
3612
+ var Ri = Object.defineProperty, Di = Object.defineProperties, Ui = Object.getOwnPropertyDescriptors, zt = Object.getOwnPropertySymbols, Gi = Object.prototype.hasOwnProperty, Fi = Object.prototype.propertyIsEnumerable, $t = (e, t, n) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ji = (e, t) => {
3613
3613
  for (var n in t || (t = {}))
3614
3614
  Gi.call(t, n) && $t(e, n, t[n]);
3615
3615
  if (zt)
@@ -3622,7 +3622,7 @@ const Qe = Ye(null);
3622
3622
  function Xt(e) {
3623
3623
  return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
3624
3624
  }
3625
- function tt(e, t = Be().fallbackLocale) {
3625
+ function tt(e, t = Me().fallbackLocale) {
3626
3626
  const n = Xt(e);
3627
3627
  return t ? [.../* @__PURE__ */ new Set([...n, ...Xt(t)])] : n;
3628
3628
  }
@@ -3633,16 +3633,16 @@ Qe.subscribe((e) => {
3633
3633
  Tt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3634
3634
  });
3635
3635
  const zi = (e) => {
3636
- if (e && Bi(e) && St(e)) {
3637
- const { loadingDelay: t } = Be();
3636
+ if (e && Mi(e) && St(e)) {
3637
+ const { loadingDelay: t } = Me();
3638
3638
  let n;
3639
3639
  return typeof window < "u" && ye() != null && t ? n = window.setTimeout(
3640
- () => dt.set(!0),
3640
+ () => pt.set(!0),
3641
3641
  t
3642
- ) : dt.set(!0), On(e).then(() => {
3642
+ ) : pt.set(!0), On(e).then(() => {
3643
3643
  Qe.set(e);
3644
3644
  }).finally(() => {
3645
- clearTimeout(n), dt.set(!1);
3645
+ clearTimeout(n), pt.set(!1);
3646
3646
  });
3647
3647
  }
3648
3648
  return Qe.set(e);
@@ -3672,7 +3672,7 @@ var $i = Object.defineProperty, Je = Object.getOwnPropertySymbols, Hn = Object.p
3672
3672
  return n;
3673
3673
  };
3674
3674
  const je = (e, t) => {
3675
- const { formats: n } = Be();
3675
+ const { formats: n } = Me();
3676
3676
  if (e in n && t in n[e])
3677
3677
  return n[e][t];
3678
3678
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
@@ -3690,7 +3690,7 @@ const je = (e, t) => {
3690
3690
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3691
3691
  return r ? i = je("date", r) : Object.keys(i).length === 0 && (i = je("date", "short")), new Intl.DateTimeFormat(n, i);
3692
3692
  }
3693
- ), Zi = nt(
3693
+ ), qi = nt(
3694
3694
  (e) => {
3695
3695
  var t = e, { locale: n, format: r } = t, i = Le(t, ["locale", "format"]);
3696
3696
  if (n == null)
@@ -3699,7 +3699,7 @@ const je = (e, t) => {
3699
3699
  );
3700
3700
  return r ? i = je("time", r) : Object.keys(i).length === 0 && (i = je("time", "short")), new Intl.DateTimeFormat(n, i);
3701
3701
  }
3702
- ), qi = (e = {}) => {
3702
+ ), Zi = (e = {}) => {
3703
3703
  var t = e, {
3704
3704
  locale: n = ye()
3705
3705
  } = t, r = Le(t, [
@@ -3719,11 +3719,11 @@ const je = (e, t) => {
3719
3719
  } = t, r = Le(t, [
3720
3720
  "locale"
3721
3721
  ]);
3722
- return Zi(Ct({ locale: n }, r));
3722
+ return qi(Ct({ locale: n }, r));
3723
3723
  }, Yi = nt(
3724
3724
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3725
- (e, t = ye()) => new Ti(e, t, Be().formats, {
3726
- ignoreTag: Be().ignoreTag
3725
+ (e, t = ye()) => new Ti(e, t, Me().formats, {
3726
+ ignoreTag: Me().ignoreTag
3727
3727
  })
3728
3728
  ), Ki = (e, t = {}) => {
3729
3729
  var n, r, i, o;
@@ -3740,7 +3740,7 @@ const je = (e, t) => {
3740
3740
  );
3741
3741
  let h = xn(e, u);
3742
3742
  if (!h)
3743
- h = (o = (i = (r = (n = Be()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3743
+ h = (o = (i = (r = (n = Me()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
3744
3744
  else if (typeof h != "string")
3745
3745
  return console.warn(
3746
3746
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3750,25 +3750,25 @@ const je = (e, t) => {
3750
3750
  let f = h;
3751
3751
  try {
3752
3752
  f = Yi(h, u).format(s);
3753
- } catch (d) {
3754
- d instanceof Error && console.warn(
3753
+ } catch (p) {
3754
+ p instanceof Error && console.warn(
3755
3755
  `[svelte-i18n] Message "${e}" has syntax error:`,
3756
- d.message
3756
+ p.message
3757
3757
  );
3758
3758
  }
3759
3759
  return f;
3760
- }, eo = (e, t) => Ji(t).format(e), to = (e, t) => Qi(t).format(e), no = (e, t) => qi(t).format(e), ro = (e, t = ye()) => xn(e, t), io = Me([Pe, Ve], () => Ki);
3761
- Me([Pe], () => eo);
3762
- Me([Pe], () => to);
3763
- Me([Pe], () => no);
3764
- Me([Pe, Ve], () => ro);
3765
- function Zt(e, t) {
3760
+ }, eo = (e, t) => Ji(t).format(e), to = (e, t) => Qi(t).format(e), no = (e, t) => Zi(t).format(e), ro = (e, t = ye()) => xn(e, t), io = Be([Pe, Ve], () => Ki);
3761
+ Be([Pe], () => eo);
3762
+ Be([Pe], () => to);
3763
+ Be([Pe], () => no);
3764
+ Be([Pe, Ve], () => ro);
3765
+ function qt(e, t) {
3766
3766
  Sn(e, t);
3767
3767
  }
3768
3768
  function oo(e) {
3769
3769
  Pe.set(e);
3770
3770
  }
3771
- const qt = {
3771
+ const Zt = {
3772
3772
  en: {
3773
3773
  otpTitle: "Code verification is required",
3774
3774
  popupMessage: "Please enter the security code received on your SMS/email address to perform the update.",
@@ -3906,6 +3906,52 @@ const qt = {
3906
3906
  channelEmail: "E-mail",
3907
3907
  sendCode: "Code verzenden",
3908
3908
  waitSeconds: "Wacht even voordat u opnieuw verzendt:"
3909
+ },
3910
+ ru: {
3911
+ otpTitle: "Требуется подтверждение кода",
3912
+ popupMessage: "Пожалуйста, введите код безопасности, полученный по SMS/на электронную почту, чтобы выполнить обновление.",
3913
+ popupMessageLastWarning: "Если следующая попытка проверки не удастся, ваша операция завершится ошибкой, и вы будете возвращены к способу оплаты.",
3914
+ minutes: "минут",
3915
+ errorHeader: "Ошибка",
3916
+ configError: "Не удалось загрузить данные OTP. Пожалуйста, попробуйте позже.",
3917
+ otpHeading: "Введите OTP",
3918
+ resendOtp: "Отправить OTP повторно",
3919
+ submit: "Отправить",
3920
+ close: "Закрыть",
3921
+ invalidOtp: "Отправленный вами код недействителен. Пожалуйста, попробуйте снова.",
3922
+ accountBlocked: "Слишком много попыток ввода OTP. Ваш аккаунт заблокирован на один час.",
3923
+ submissionError: "Что-то пошло не так. Пожалуйста, попробуйте снова.",
3924
+ otpExpiredMessage: "Код подтверждения истёк, пожалуйста, запросите новый, чтобы продолжить.",
3925
+ timeRemaining: "Код истекает через:",
3926
+ selectChannelTitle: "Выберите способ подтверждения",
3927
+ selectChannelMessage: "Выберите, как вы хотите получить код подтверждения",
3928
+ channelSMS: "SMS",
3929
+ channelEmail: "Email",
3930
+ sendCode: "Отправить код",
3931
+ waitSeconds: "Пожалуйста, подождите перед повторной отправкой:"
3932
+ },
3933
+ az: {
3934
+ otpTitle: "Kod təsdiqi tələb olunur",
3935
+ popupMessage: "Yeniləməni icra etmək üçün SMS/e-poçt ünvanınıza göndərilən təhlükəsizlik kodunu daxil edin.",
3936
+ popupMessageLastWarning: "Növbəti təsdiqləmə cəhdi baş tutmasa, əməliyyatınız alınmayacaq və ödəniş üsuluna qaytarılacaqsınız.",
3937
+ minutes: "dəqiqə",
3938
+ errorHeader: "Xəta",
3939
+ configError: "OTP məlumatları yüklənə bilmədi. Zəhmət olmasa sonra yenidən cəhd edin.",
3940
+ otpHeading: "OTP daxil edin",
3941
+ resendOtp: "OTP-ni yenidən göndər",
3942
+ submit: "Göndər",
3943
+ close: "Bağla",
3944
+ invalidOtp: "Göndərdiyiniz kod yalnışdır. Zəhmət olmasa yenidən cəhd edin.",
3945
+ accountBlocked: "OTP üçün çox sayda cəhd edildi. Hesabınız bir saat müddətinə bloklanıb.",
3946
+ submissionError: "Nəsə səhv getdi. Zəhmət olmasa yenidən cəhd edin.",
3947
+ otpExpiredMessage: "Təsdiqləmə kodunun müddəti bitib, davam etmək üçün yenisini tələb edin.",
3948
+ timeRemaining: "Kodun müddəti bitir:",
3949
+ selectChannelTitle: "Təsdiqləmə üsulunu seçin",
3950
+ selectChannelMessage: "Təsdiqləmə kodunuzu necə almaq istədiyinizi seçin",
3951
+ channelSMS: "SMS",
3952
+ channelEmail: "E-poçt",
3953
+ sendCode: "Kodu göndər",
3954
+ waitSeconds: "Yenidən göndərmədən əvvəl zəhmət olmasa gözləyin:"
3909
3955
  }
3910
3956
  };
3911
3957
  function so(e) {
@@ -3916,10 +3962,10 @@ function Qt(e, t, n) {
3916
3962
  return r[69] = t[n], r[70] = t, r[71] = n, r;
3917
3963
  }
3918
3964
  function ao(e) {
3919
- let t, n, r, i, o, a, s, u, l, h, f, d, y, m, g, E, S, M = (
3965
+ let t, n, r, i, o, a, s, u, l, h, f, p, y, m, g, E, S, B = (
3920
3966
  /*$_*/
3921
3967
  e[19]("channelSMS") + ""
3922
- ), I, D, P, N, ee, q, se, pe, ae, B, U, W, de, me, ge = (
3968
+ ), I, D, P, N, ee, Z, se, de, ae, M, U, W, pe, me, ge = (
3923
3969
  /*$_*/
3924
3970
  e[19]("channelEmail") + ""
3925
3971
  ), Q, Ie, J, z, te, be, Ee;
@@ -3951,7 +3997,7 @@ function ao(e) {
3951
3997
  return bo;
3952
3998
  }
3953
3999
  let he = Ne(e), V = he && he(e);
3954
- function Re(b, C) {
4000
+ function ke(b, C) {
3955
4001
  if (
3956
4002
  /*showResendOtp*/
3957
4003
  b[9]
@@ -3964,43 +4010,43 @@ function ao(e) {
3964
4010
  )
3965
4011
  return yo;
3966
4012
  }
3967
- let ce = Re(e), G = ce && ce(e);
4013
+ let ce = ke(e), G = ce && ce(e);
3968
4014
  return {
3969
4015
  c() {
3970
- t = O("div"), Y.c(), n = F(), r = O("div"), i = O("label"), o = O("div"), a = F(), s = O("input"), l = F(), h = O("div"), f = ne("svg"), d = ne("path"), y = ne("circle"), m = ne("circle"), g = ne("circle"), E = F(), S = O("span"), I = k(M), D = F(), P = O("label"), N = O("div"), ee = F(), q = O("input"), pe = F(), ae = O("div"), B = ne("svg"), U = ne("rect"), W = ne("path"), de = F(), me = O("span"), Q = k(ge), Ie = F(), $ && $.c(), J = F(), V && V.c(), z = F(), te = O("div"), G && G.c(), p(t, "class", "OtpDescription"), p(o, "class", "RadioIndicator"), re(
4016
+ t = O("div"), Y.c(), n = F(), r = O("div"), i = O("label"), o = O("div"), a = F(), s = O("input"), l = F(), h = O("div"), f = ne("svg"), p = ne("path"), y = ne("circle"), m = ne("circle"), g = ne("circle"), E = F(), S = O("span"), I = R(B), D = F(), P = O("label"), N = O("div"), ee = F(), Z = O("input"), de = F(), ae = O("div"), M = ne("svg"), U = ne("rect"), W = ne("path"), pe = F(), me = O("span"), Q = R(ge), Ie = F(), $ && $.c(), J = F(), V && V.c(), z = F(), te = O("div"), G && G.c(), d(t, "class", "OtpDescription"), d(o, "class", "RadioIndicator"), re(
3971
4017
  o,
3972
4018
  "checked",
3973
4019
  /*selectedChannel*/
3974
4020
  e[0] === /*channels*/
3975
4021
  e[20].SMS
3976
- ), p(s, "type", "radio"), p(s, "name", "channel"), s.value = /*channels*/
4022
+ ), d(s, "type", "radio"), d(s, "name", "channel"), s.value = /*channels*/
3977
4023
  e[20].SMS, s.checked = u = /*selectedChannel*/
3978
4024
  e[0] === /*channels*/
3979
- e[20].SMS, p(d, "d", "M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"), p(y, "cx", "9"), p(y, "cy", "11"), p(y, "r", "0.5"), p(y, "fill", "currentColor"), p(m, "cx", "12"), p(m, "cy", "11"), p(m, "r", "0.5"), p(m, "fill", "currentColor"), p(g, "cx", "15"), p(g, "cy", "11"), p(g, "r", "0.5"), p(g, "fill", "currentColor"), p(f, "xmlns", "http://www.w3.org/2000/svg"), p(f, "width", "24"), p(f, "height", "24"), p(f, "viewBox", "0 0 24 24"), p(f, "fill", "none"), p(f, "stroke", "currentColor"), p(f, "stroke-width", "2"), p(f, "stroke-linecap", "round"), p(f, "stroke-linejoin", "round"), p(h, "class", "ChannelContent"), p(i, "class", "ChannelCheckbox"), re(
4025
+ e[20].SMS, d(p, "d", "M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"), d(y, "cx", "9"), d(y, "cy", "11"), d(y, "r", "0.5"), d(y, "fill", "currentColor"), d(m, "cx", "12"), d(m, "cy", "11"), d(m, "r", "0.5"), d(m, "fill", "currentColor"), d(g, "cx", "15"), d(g, "cy", "11"), d(g, "r", "0.5"), d(g, "fill", "currentColor"), d(f, "xmlns", "http://www.w3.org/2000/svg"), d(f, "width", "24"), d(f, "height", "24"), d(f, "viewBox", "0 0 24 24"), d(f, "fill", "none"), d(f, "stroke", "currentColor"), d(f, "stroke-width", "2"), d(f, "stroke-linecap", "round"), d(f, "stroke-linejoin", "round"), d(h, "class", "ChannelContent"), d(i, "class", "ChannelCheckbox"), re(
3980
4026
  i,
3981
4027
  "selected",
3982
4028
  /*selectedChannel*/
3983
4029
  e[0] === /*channels*/
3984
4030
  e[20].SMS
3985
- ), p(N, "class", "RadioIndicator"), re(
4031
+ ), d(N, "class", "RadioIndicator"), re(
3986
4032
  N,
3987
4033
  "checked",
3988
4034
  /*selectedChannel*/
3989
4035
  e[0] === /*channels*/
3990
4036
  e[20].EMAIL
3991
- ), p(q, "type", "radio"), p(q, "name", "channel"), q.value = /*channels*/
3992
- e[20].EMAIL, q.checked = se = /*selectedChannel*/
4037
+ ), d(Z, "type", "radio"), d(Z, "name", "channel"), Z.value = /*channels*/
4038
+ e[20].EMAIL, Z.checked = se = /*selectedChannel*/
3993
4039
  e[0] === /*channels*/
3994
- e[20].EMAIL, p(U, "x", "2"), p(U, "y", "4"), p(U, "width", "20"), p(U, "height", "16"), p(U, "rx", "2"), p(W, "d", "m2 7 10 6 10-6"), p(B, "xmlns", "http://www.w3.org/2000/svg"), p(B, "width", "24"), p(B, "height", "24"), p(B, "viewBox", "0 0 24 24"), p(B, "fill", "none"), p(B, "stroke", "currentColor"), p(B, "stroke-width", "2"), p(B, "stroke-linecap", "round"), p(B, "stroke-linejoin", "round"), p(ae, "class", "ChannelContent"), p(P, "class", "ChannelCheckbox"), re(
4040
+ e[20].EMAIL, d(U, "x", "2"), d(U, "y", "4"), d(U, "width", "20"), d(U, "height", "16"), d(U, "rx", "2"), d(W, "d", "m2 7 10 6 10-6"), d(M, "xmlns", "http://www.w3.org/2000/svg"), d(M, "width", "24"), d(M, "height", "24"), d(M, "viewBox", "0 0 24 24"), d(M, "fill", "none"), d(M, "stroke", "currentColor"), d(M, "stroke-width", "2"), d(M, "stroke-linecap", "round"), d(M, "stroke-linejoin", "round"), d(ae, "class", "ChannelContent"), d(P, "class", "ChannelCheckbox"), re(
3995
4041
  P,
3996
4042
  "selected",
3997
4043
  /*selectedChannel*/
3998
4044
  e[0] === /*channels*/
3999
4045
  e[20].EMAIL
4000
- ), p(r, "class", "ChannelSelection"), p(te, "class", "OtpActionButtons");
4046
+ ), d(r, "class", "ChannelSelection"), d(te, "class", "OtpActionButtons");
4001
4047
  },
4002
4048
  m(b, C) {
4003
- A(b, t, C), Y.m(t, null), A(b, n, C), A(b, r, C), v(r, i), v(i, o), v(i, a), v(i, s), v(i, l), v(i, h), v(h, f), v(f, d), v(f, y), v(f, m), v(f, g), v(h, E), v(h, S), v(S, I), v(r, D), v(r, P), v(P, N), v(P, ee), v(P, q), v(P, pe), v(P, ae), v(ae, B), v(B, U), v(B, W), v(ae, de), v(ae, me), v(me, Q), A(b, Ie, C), $ && $.m(b, C), A(b, J, C), V && V.m(b, C), A(b, z, C), A(b, te, C), G && G.m(te, null), be || (Ee = [
4049
+ A(b, t, C), Y.m(t, null), A(b, n, C), A(b, r, C), v(r, i), v(i, o), v(i, a), v(i, s), v(i, l), v(i, h), v(h, f), v(f, p), v(f, y), v(f, m), v(f, g), v(h, E), v(h, S), v(S, I), v(r, D), v(r, P), v(P, N), v(P, ee), v(P, Z), v(P, de), v(P, ae), v(ae, M), v(M, U), v(M, W), v(ae, pe), v(ae, me), v(me, Q), A(b, Ie, C), $ && $.m(b, C), A(b, J, C), V && V.m(b, C), A(b, z, C), A(b, te, C), G && G.m(te, null), be || (Ee = [
4004
4050
  ue(
4005
4051
  s,
4006
4052
  "change",
@@ -4008,7 +4054,7 @@ function ao(e) {
4008
4054
  e[39]
4009
4055
  ),
4010
4056
  ue(
4011
- q,
4057
+ Z,
4012
4058
  "change",
4013
4059
  /*change_handler_1*/
4014
4060
  e[40]
@@ -4027,8 +4073,8 @@ function ao(e) {
4027
4073
  1 && u !== (u = /*selectedChannel*/
4028
4074
  b[0] === /*channels*/
4029
4075
  b[20].SMS) && (s.checked = u), C[0] & /*$_*/
4030
- 524288 && M !== (M = /*$_*/
4031
- b[19]("channelSMS") + "") && j(I, M), C[0] & /*selectedChannel, channels*/
4076
+ 524288 && B !== (B = /*$_*/
4077
+ b[19]("channelSMS") + "") && j(I, B), C[0] & /*selectedChannel, channels*/
4032
4078
  1048577 && re(
4033
4079
  i,
4034
4080
  "selected",
@@ -4045,7 +4091,7 @@ function ao(e) {
4045
4091
  ), C[0] & /*selectedChannel*/
4046
4092
  1 && se !== (se = /*selectedChannel*/
4047
4093
  b[0] === /*channels*/
4048
- b[20].EMAIL) && (q.checked = se), C[0] & /*$_*/
4094
+ b[20].EMAIL) && (Z.checked = se), C[0] & /*$_*/
4049
4095
  524288 && ge !== (ge = /*$_*/
4050
4096
  b[19]("channelEmail") + "") && j(Q, ge), C[0] & /*selectedChannel, channels*/
4051
4097
  1048577 && re(
@@ -4055,7 +4101,7 @@ function ao(e) {
4055
4101
  b[0] === /*channels*/
4056
4102
  b[20].EMAIL
4057
4103
  ), /*selectedChannel*/
4058
- b[0] ? $ ? $.p(b, C) : ($ = Yt(b), $.c(), $.m(J.parentNode, J)) : $ && ($.d(1), $ = null), he === (he = Ne(b)) && V ? V.p(b, C) : (V && V.d(1), V = he && he(b), V && (V.c(), V.m(z.parentNode, z))), ce === (ce = Re(b)) && G ? G.p(b, C) : (G && G.d(1), G = ce && ce(b), G && (G.c(), G.m(te, null)));
4104
+ b[0] ? $ ? $.p(b, C) : ($ = Yt(b), $.c(), $.m(J.parentNode, J)) : $ && ($.d(1), $ = null), he === (he = Ne(b)) && V ? V.p(b, C) : (V && V.d(1), V = he && he(b), V && (V.c(), V.m(z.parentNode, z))), ce === (ce = ke(b)) && G ? G.p(b, C) : (G && G.d(1), G = ce && ce(b), G && (G.c(), G.m(te, null)));
4059
4105
  },
4060
4106
  d(b) {
4061
4107
  b && (H(t), H(n), H(r), H(Ie), H(J), H(z), H(te)), Y.d(), $ && $.d(b), V && V.d(b), G && G.d(), be = !1, ve(Ee);
@@ -4066,39 +4112,39 @@ function lo(e) {
4066
4112
  let t, n, r, i, o, a, s = (
4067
4113
  /*$_*/
4068
4114
  e[19]("errorHeader") + ""
4069
- ), u, l, h, f, d, y, m = (
4115
+ ), u, l, h, f, p, y, m = (
4070
4116
  /*$_*/
4071
4117
  e[19]("close") + ""
4072
4118
  ), g, E, S;
4073
4119
  return {
4074
4120
  c() {
4075
- t = O("div"), n = O("div"), r = ne("svg"), i = ne("path"), o = F(), a = O("h2"), u = k(s), l = F(), h = O("p"), f = k(
4121
+ t = O("div"), n = O("div"), r = ne("svg"), i = ne("path"), o = F(), a = O("h2"), u = R(s), l = F(), h = O("p"), f = R(
4076
4122
  /*errorMessage*/
4077
4123
  e[8]
4078
- ), d = F(), y = O("button"), g = k(m), p(i, "d", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"), p(r, "xmlns", "http://www.w3.org/2000/svg"), p(r, "viewBox", "0 0 512 512"), p(n, "class", "OtpErrorHeader"), p(y, "class", "OtpButton error"), p(t, "class", "OtpError");
4124
+ ), p = F(), y = O("button"), g = R(m), d(i, "d", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"), d(r, "xmlns", "http://www.w3.org/2000/svg"), d(r, "viewBox", "0 0 512 512"), d(n, "class", "OtpErrorHeader"), d(y, "class", "OtpButton error"), d(t, "class", "OtpError");
4079
4125
  },
4080
- m(M, I) {
4081
- A(M, t, I), v(t, n), v(n, r), v(r, i), v(n, o), v(n, a), v(a, u), v(t, l), v(t, h), v(h, f), v(t, d), v(t, y), v(y, g), E || (S = ue(
4126
+ m(B, I) {
4127
+ A(B, t, I), v(t, n), v(n, r), v(r, i), v(n, o), v(n, a), v(a, u), v(t, l), v(t, h), v(h, f), v(t, p), v(t, y), v(y, g), E || (S = ue(
4082
4128
  y,
4083
4129
  "click",
4084
4130
  /*manualClosePopup*/
4085
4131
  e[28]
4086
4132
  ), E = !0);
4087
4133
  },
4088
- p(M, I) {
4134
+ p(B, I) {
4089
4135
  I[0] & /*$_*/
4090
4136
  524288 && s !== (s = /*$_*/
4091
- M[19]("errorHeader") + "") && j(u, s), I[0] & /*errorMessage*/
4137
+ B[19]("errorHeader") + "") && j(u, s), I[0] & /*errorMessage*/
4092
4138
  256 && j(
4093
4139
  f,
4094
4140
  /*errorMessage*/
4095
- M[8]
4141
+ B[8]
4096
4142
  ), I[0] & /*$_*/
4097
4143
  524288 && m !== (m = /*$_*/
4098
- M[19]("close") + "") && j(g, m);
4144
+ B[19]("close") + "") && j(g, m);
4099
4145
  },
4100
- d(M) {
4101
- M && H(t), E = !1, S();
4146
+ d(B) {
4147
+ B && H(t), E = !1, S();
4102
4148
  }
4103
4149
  };
4104
4150
  }
@@ -4116,7 +4162,7 @@ function uo(e) {
4116
4162
  );
4117
4163
  return {
4118
4164
  c() {
4119
- t = O("p"), s.c(), r = F(), u && u.c(), i = Zn(), p(t, "class", n = /*isLastWarning*/
4165
+ t = O("p"), s.c(), r = F(), u && u.c(), i = qn(), d(t, "class", n = /*isLastWarning*/
4120
4166
  e[10] ? "LastWarningMessage" : "");
4121
4167
  },
4122
4168
  m(l, h) {
@@ -4125,7 +4171,7 @@ function uo(e) {
4125
4171
  p(l, h) {
4126
4172
  a === (a = o(l)) && s ? s.p(l, h) : (s.d(1), s = a(l), s && (s.c(), s.m(t, null))), h[0] & /*isLastWarning*/
4127
4173
  1024 && n !== (n = /*isLastWarning*/
4128
- l[10] ? "LastWarningMessage" : "") && p(t, "class", n), /*hasErrors*/
4174
+ l[10] ? "LastWarningMessage" : "") && d(t, "class", n), /*hasErrors*/
4129
4175
  l[6] ? u ? u.p(l, h) : (u = Jt(l), u.c(), u.m(i.parentNode, i)) : u && (u.d(1), u = null);
4130
4176
  },
4131
4177
  d(l) {
@@ -4140,7 +4186,7 @@ function ho(e) {
4140
4186
  ), r;
4141
4187
  return {
4142
4188
  c() {
4143
- t = O("p"), r = k(n);
4189
+ t = O("p"), r = R(n);
4144
4190
  },
4145
4191
  m(i, o) {
4146
4192
  A(i, t, o), v(t, r);
@@ -4162,7 +4208,7 @@ function co(e) {
4162
4208
  ), r;
4163
4209
  return {
4164
4210
  c() {
4165
- t = O("p"), r = k(n), p(t, "class", "OtpNoticeMessage"), p(t, "role", "alert");
4211
+ t = O("p"), r = R(n), d(t, "class", "OtpNoticeMessage"), d(t, "role", "alert");
4166
4212
  },
4167
4213
  m(i, o) {
4168
4214
  A(i, t, o), v(t, r);
@@ -4184,7 +4230,7 @@ function fo(e) {
4184
4230
  ), n;
4185
4231
  return {
4186
4232
  c() {
4187
- n = k(t);
4233
+ n = R(t);
4188
4234
  },
4189
4235
  m(r, i) {
4190
4236
  A(r, n, i);
@@ -4206,7 +4252,7 @@ function po(e) {
4206
4252
  ), n;
4207
4253
  return {
4208
4254
  c() {
4209
- n = k(t);
4255
+ n = R(t);
4210
4256
  },
4211
4257
  m(r, i) {
4212
4258
  A(r, n, i);
@@ -4225,10 +4271,10 @@ function Jt(e) {
4225
4271
  let t, n;
4226
4272
  return {
4227
4273
  c() {
4228
- t = O("p"), n = k(
4274
+ t = O("p"), n = R(
4229
4275
  /*errorMessage*/
4230
4276
  e[8]
4231
- ), p(t, "class", "OtpErrorMessage"), p(t, "role", "alert");
4277
+ ), d(t, "class", "OtpErrorMessage"), d(t, "role", "alert");
4232
4278
  },
4233
4279
  m(r, i) {
4234
4280
  A(r, t, i), v(t, n);
@@ -4257,7 +4303,7 @@ function Yt(e) {
4257
4303
  let a = o(e), s = a(e);
4258
4304
  return {
4259
4305
  c() {
4260
- t = O("button"), s.c(), p(t, "class", "OtpButton"), t.disabled = n = !/*canSubmitChannel*/
4306
+ t = O("button"), s.c(), d(t, "class", "OtpButton"), t.disabled = n = !/*canSubmitChannel*/
4261
4307
  e[18], re(t, "disabled", !/*canSubmitChannel*/
4262
4308
  e[18] || /*waitingForConfig*/
4263
4309
  e[16]);
@@ -4290,7 +4336,7 @@ function mo(e) {
4290
4336
  ), n;
4291
4337
  return {
4292
4338
  c() {
4293
- n = k(t);
4339
+ n = R(t);
4294
4340
  },
4295
4341
  m(r, i) {
4296
4342
  A(r, n, i);
@@ -4312,10 +4358,10 @@ function go(e) {
4312
4358
  ), n, r, i, o;
4313
4359
  return {
4314
4360
  c() {
4315
- n = k(t), r = k(" ("), i = k(
4361
+ n = R(t), r = R(" ("), i = R(
4316
4362
  /*currentChannelTimer*/
4317
4363
  e[17]
4318
- ), o = k("s)");
4364
+ ), o = R("s)");
4319
4365
  },
4320
4366
  m(a, s) {
4321
4367
  A(a, n, s), A(a, r, s), A(a, i, s), A(a, o, s);
@@ -4348,7 +4394,7 @@ function bo(e) {
4348
4394
  ), s, u, l = (
4349
4395
  /*$_*/
4350
4396
  e[19]("minutes") + ""
4351
- ), h, f, d, y = It(
4397
+ ), h, f, p, y = It(
4352
4398
  /*otp*/
4353
4399
  e[2]
4354
4400
  ), m = [];
@@ -4356,15 +4402,15 @@ function bo(e) {
4356
4402
  m[g] = Kt(Qt(e, y, g));
4357
4403
  return {
4358
4404
  c() {
4359
- t = O("div"), n = O("div"), i = k(r), o = F(), s = k(a), u = F(), h = k(l), f = F(), d = O("div");
4405
+ t = O("div"), n = O("div"), i = R(r), o = F(), s = R(a), u = F(), h = R(l), f = F(), p = O("div");
4360
4406
  for (let g = 0; g < m.length; g += 1)
4361
4407
  m[g].c();
4362
- p(n, "class", "OtpTimer"), p(d, "class", "OtpField"), p(t, "class", "OtpFieldWrapper");
4408
+ d(n, "class", "OtpTimer"), d(p, "class", "OtpField"), d(t, "class", "OtpFieldWrapper");
4363
4409
  },
4364
4410
  m(g, E) {
4365
- A(g, t, E), v(t, n), v(n, i), v(n, o), v(n, s), v(n, u), v(n, h), v(t, f), v(t, d);
4411
+ A(g, t, E), v(t, n), v(n, i), v(n, o), v(n, s), v(n, u), v(n, h), v(t, f), v(t, p);
4366
4412
  for (let S = 0; S < m.length; S += 1)
4367
- m[S] && m[S].m(d, null);
4413
+ m[S] && m[S].m(p, null);
4368
4414
  },
4369
4415
  p(g, E) {
4370
4416
  if (E[0] & /*$_*/
@@ -4384,8 +4430,8 @@ function bo(e) {
4384
4430
  );
4385
4431
  let S;
4386
4432
  for (S = 0; S < y.length; S += 1) {
4387
- const M = Qt(g, y, S);
4388
- m[S] ? m[S].p(M, E) : (m[S] = Kt(M), m[S].c(), m[S].m(d, null));
4433
+ const B = Qt(g, y, S);
4434
+ m[S] ? m[S].p(B, E) : (m[S] = Kt(B), m[S].c(), m[S].m(p, null));
4389
4435
  }
4390
4436
  for (; S < m.length; S += 1)
4391
4437
  m[S].d(1);
@@ -4401,7 +4447,7 @@ function vo(e) {
4401
4447
  let t;
4402
4448
  return {
4403
4449
  c() {
4404
- t = O("div"), t.innerHTML = '<span class="OtpLoader"></span>', p(t, "class", "OtpLoaderContainer");
4450
+ t = O("div"), t.innerHTML = '<span class="OtpLoader"></span>', d(t, "class", "OtpLoaderContainer");
4405
4451
  },
4406
4452
  m(n, r) {
4407
4453
  A(n, t, r);
@@ -4446,16 +4492,16 @@ function Kt(e) {
4446
4492
  }
4447
4493
  return {
4448
4494
  c() {
4449
- t = O("input"), p(t, "id", `otp-input-${/*index*/
4450
- e[71]}`), p(t, "type", "text"), p(t, "class", n = `otp-box ${/*config*/
4495
+ t = O("input"), d(t, "id", `otp-input-${/*index*/
4496
+ e[71]}`), d(t, "type", "text"), d(t, "class", n = `otp-box ${/*config*/
4451
4497
  e[4].inputLength % 2 === 0 && /*index*/
4452
4498
  e[71] === /*config*/
4453
- e[4].inputLength / 2 - 1 ? "space" : ""}`), p(t, "maxlength", 1), t.value = r = /*char*/
4454
- e[69], p(t, "inputmode", "numeric"), t.disabled = /*inputDisabled*/
4455
- e[11], p(t, "autocomplete", "off");
4499
+ e[4].inputLength / 2 - 1 ? "space" : ""}`), d(t, "maxlength", 1), t.value = r = /*char*/
4500
+ e[69], d(t, "inputmode", "numeric"), t.disabled = /*inputDisabled*/
4501
+ e[11], d(t, "autocomplete", "off");
4456
4502
  },
4457
- m(f, d) {
4458
- A(f, t, d), s(), o || (a = [
4503
+ m(f, p) {
4504
+ A(f, t, p), s(), o || (a = [
4459
4505
  ue(t, "input", l),
4460
4506
  ue(t, "keydown", h),
4461
4507
  ue(
@@ -4466,14 +4512,14 @@ function Kt(e) {
4466
4512
  )
4467
4513
  ], o = !0);
4468
4514
  },
4469
- p(f, d) {
4470
- e = f, d[0] & /*config*/
4515
+ p(f, p) {
4516
+ e = f, p[0] & /*config*/
4471
4517
  16 && n !== (n = `otp-box ${/*config*/
4472
4518
  e[4].inputLength % 2 === 0 && /*index*/
4473
4519
  e[71] === /*config*/
4474
- e[4].inputLength / 2 - 1 ? "space" : ""}`) && p(t, "class", n), d[0] & /*otp*/
4520
+ e[4].inputLength / 2 - 1 ? "space" : ""}`) && d(t, "class", n), p[0] & /*otp*/
4475
4521
  4 && r !== (r = /*char*/
4476
- e[69]) && t.value !== r && (t.value = r), d[0] & /*inputDisabled*/
4522
+ e[69]) && t.value !== r && (t.value = r), p[0] & /*inputDisabled*/
4477
4523
  2048 && (t.disabled = /*inputDisabled*/
4478
4524
  e[11]), i !== /*index*/
4479
4525
  e[71] && (u(), i = /*index*/
@@ -4491,7 +4537,7 @@ function yo(e) {
4491
4537
  ), r, i, o, a;
4492
4538
  return {
4493
4539
  c() {
4494
- t = O("button"), r = k(n), p(t, "class", "OtpButton"), t.disabled = i = /*otp*/
4540
+ t = O("button"), r = R(n), d(t, "class", "OtpButton"), t.disabled = i = /*otp*/
4495
4541
  e[2].join("").length !== /*config*/
4496
4542
  e[4].inputLength || /*isSubmitting*/
4497
4543
  e[13] || /*maxAttempts*/
@@ -4527,7 +4573,7 @@ function Eo(e) {
4527
4573
  ), r, i, o;
4528
4574
  return {
4529
4575
  c() {
4530
- t = O("button"), r = k(n), p(t, "class", "OtpButton");
4576
+ t = O("button"), r = R(n), d(t, "class", "OtpButton");
4531
4577
  },
4532
4578
  m(a, s) {
4533
4579
  A(a, t, s), v(t, r), i || (o = ue(
@@ -4558,7 +4604,7 @@ function _o(e) {
4558
4604
  let r = n(e), i = r(e);
4559
4605
  return {
4560
4606
  c() {
4561
- t = O("div"), i.c(), p(t, "class", "OtpContent");
4607
+ t = O("div"), i.c(), d(t, "class", "OtpContent");
4562
4608
  },
4563
4609
  m(o, a) {
4564
4610
  A(o, t, a), i.m(t, null), e[44](t);
@@ -4576,51 +4622,51 @@ function _o(e) {
4576
4622
  function xo(e, t, n) {
4577
4623
  let r, i, o;
4578
4624
  Vn(e, io, (c) => n(19, o = c));
4579
- let { clientstyling: a = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: u } = t, { lang: l = "en" } = t, { endpoint: h } = t, { session: f } = t, { translationurl: d } = t, { templateid: y } = t, m = [], g = !0, E = null, S = 0, M = "", I = "", D = !1, P = !1, N = "", ee = "", q = "", se = !1, pe = !1, ae = !1, B = "", U = {}, W = null, de = !1, me = !1, ge = "", Q, Ie, J = [], z = null, te = 0, be = !1, Ee = !1;
4625
+ let { clientstyling: a = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: u } = t, { lang: l = "en" } = t, { endpoint: h } = t, { session: f } = t, { translationurl: p } = t, { templateid: y } = t, m = [], g = !0, E = null, S = 0, B = "", I = "", D = !1, P = !1, N = "", ee = "", Z = "", se = !1, de = !1, ae = !1, M = "", U = {}, W = null, pe = !1, me = !1, ge = "", Q, Ie, J = [], z = null, te = 0, be = !1, Ee = !1;
4580
4626
  const _e = { SMS: "sms", EMAIL: "email" }, le = {
4581
4627
  MAX_ATTEMPTS_EXCEEDED: "gm.twofa.token_max_attempts_exceeded",
4582
4628
  INTERNAL_SERVER_ERROR: "gm.multifactorauthentication.internal_server_error",
4583
4629
  MAX_INVALIDATE: "gm.multifactorauthentication.challenge_internal_server_error"
4584
4630
  };
4585
- Object.keys(qt).forEach((c) => {
4586
- Zt(c, qt[c]);
4631
+ Object.keys(Zt).forEach((c) => {
4632
+ qt(c, Zt[c]);
4587
4633
  });
4588
4634
  const Y = () => {
4589
4635
  oo(l);
4590
4636
  }, $ = () => {
4591
- fetch(d).then((c) => c.json()).then((c) => {
4637
+ fetch(p).then((c) => c.json()).then((c) => {
4592
4638
  Object.keys(c).forEach((_) => {
4593
- Zt(_, c[_]);
4639
+ qt(_, c[_]);
4594
4640
  });
4595
4641
  }).catch((c) => {
4596
4642
  console.log(c);
4597
4643
  });
4598
4644
  }, Ne = async (c) => {
4599
4645
  if (c.detail?.["x-step-up-required"]) {
4600
- if (n(7, P = !1), n(6, D = !1), n(8, N = ""), ee = c.detail["x-step-up-token"], q = c.detail.flow, !ee || !q) {
4646
+ if (n(7, P = !1), n(6, D = !1), n(8, N = ""), ee = c.detail["x-step-up-token"], Z = c.detail.flow, !ee || !Z) {
4601
4647
  n(3, g = !1), n(7, P = !0), n(8, N = o("configError"));
4602
4648
  return;
4603
4649
  }
4604
- n(12, de = !1), n(3, g = !1);
4650
+ n(12, pe = !1), n(3, g = !1);
4605
4651
  }
4606
4652
  }, he = () => {
4607
- z && (clearInterval(z), z = null), W && (clearInterval(W), W = null), n(6, D = !1), n(7, P = !1), n(8, N = ""), n(10, pe = !1), n(2, m = []), n(4, E = null), n(3, g = !0), n(0, B = ""), n(12, de = !1), n(38, U = {});
4653
+ z && (clearInterval(z), z = null), W && (clearInterval(W), W = null), n(6, D = !1), n(7, P = !1), n(8, N = ""), n(10, de = !1), n(2, m = []), n(4, E = null), n(3, g = !0), n(0, M = ""), n(12, pe = !1), n(38, U = {});
4608
4654
  }, V = () => {
4609
4655
  he();
4610
- }, Re = () => new Promise((c, _) => {
4656
+ }, ke = () => new Promise((c, _) => {
4611
4657
  const x = new URL(`${h}/api/pam/v1/mfa/challenge/${ee}`), X = new Headers();
4612
4658
  X.append("accept", "application/json"), X.append("Content-Type", "application/json"), X.append("X-SessionId", `${f}`), n(16, Ee = !0);
4613
4659
  const at = {
4614
4660
  method: "PATCH",
4615
4661
  headers: X,
4616
4662
  body: JSON.stringify({
4617
- channel: B,
4663
+ channel: M,
4618
4664
  templateId: y
4619
4665
  })
4620
4666
  };
4621
- fetch(x, at).then((Mt) => Mt.json()).then(() => {
4667
+ fetch(x, at).then((Bt) => Bt.json()).then(() => {
4622
4668
  n(15, be = !1), C(), rt(), c();
4623
- }).catch((Mt) => {
4669
+ }).catch((Bt) => {
4624
4670
  _();
4625
4671
  });
4626
4672
  }), ce = () => {
@@ -4635,15 +4681,15 @@ function xo(e, t, n) {
4635
4681
  1e3
4636
4682
  );
4637
4683
  }, G = (c) => {
4638
- n(0, B = c);
4684
+ n(0, M = c);
4639
4685
  }, b = async () => {
4640
- if (!(!B || U[B] && U[B] > 0)) {
4641
- n(3, g = !0), y && y.startsWith("2fa-") && n(30, y = `2fa-${B}`);
4686
+ if (!(!M || U[M] && U[M] > 0)) {
4687
+ n(3, g = !0), y && y.startsWith("2fa-") && n(30, y = `2fa-${M}`);
4642
4688
  try {
4643
- await Re(), await st(), n(38, U = {
4689
+ await ke(), await st(), n(38, U = {
4644
4690
  ...U,
4645
- [B]: 30
4646
- }), ce(), n(12, de = !0), C(), rt();
4691
+ [M]: 30
4692
+ }), ce(), n(12, pe = !0), C(), rt();
4647
4693
  } catch (c) {
4648
4694
  console.error("Error submitting channel:", c), n(6, D = !0), n(8, N = o("submissionError"));
4649
4695
  } finally {
@@ -4651,15 +4697,15 @@ function xo(e, t, n) {
4651
4697
  }
4652
4698
  }
4653
4699
  }, C = () => {
4654
- const c = new Date(M), _ = new Date(I), x = /* @__PURE__ */ new Date(), X = _.getTime() - x.getTime();
4700
+ const c = new Date(B), _ = new Date(I), x = /* @__PURE__ */ new Date(), X = _.getTime() - x.getTime();
4655
4701
  te = c.getTime() - X;
4656
- const ke = Date.now(), at = Math.max(0, Math.floor((te - ke) / 1e3));
4702
+ const Re = Date.now(), at = Math.max(0, Math.floor((te - Re) / 1e3));
4657
4703
  n(5, S = at);
4658
4704
  }, rt = () => {
4659
4705
  z && clearInterval(z), z = setInterval(
4660
4706
  () => {
4661
4707
  const c = Date.now(), _ = Math.max(0, Math.floor((te - c) / 1e3));
4662
- n(5, S = _), n(11, ae = _ <= 0), _ <= 0 && (clearInterval(z), z = null, n(9, se = !0), n(6, D = !1), n(10, pe = !1));
4708
+ n(5, S = _), n(11, ae = _ <= 0), _ <= 0 && (clearInterval(z), z = null, n(9, se = !0), n(6, D = !1), n(10, de = !1));
4663
4709
  },
4664
4710
  1e3
4665
4711
  );
@@ -4669,14 +4715,14 @@ function xo(e, t, n) {
4669
4715
  }, it = (c, _) => {
4670
4716
  const x = [...m];
4671
4717
  x[c] = _.toUpperCase(), n(2, m = x), x.join("") !== ge && n(13, me = !1);
4672
- }, Bn = (c) => {
4718
+ }, Mn = (c) => {
4673
4719
  c.preventDefault();
4674
4720
  const x = (c.clipboardData?.getData("text")?.trim() || "").slice(0, E.inputLength).split("");
4675
4721
  n(2, m = [...x, ...Array(E.inputLength - x.length).fill("")]), J[x.length]?.focus(), x.length === E.inputLength && ot();
4676
4722
  }, At = (c, _) => {
4677
4723
  const x = c.target, X = x.value;
4678
4724
  /^[a-z0-9]$/i.test(X) && (it(_, X), J[_ + 1]?.focus()), x.value = "";
4679
- }, Bt = (c, _) => {
4725
+ }, Mt = (c, _) => {
4680
4726
  const x = c.key, X = c.ctrlKey || c.metaKey;
4681
4727
  if (/^[a-z0-9]$/i.test(x)) {
4682
4728
  if (X && x.toLowerCase() === "v")
@@ -4684,8 +4730,8 @@ function xo(e, t, n) {
4684
4730
  c.preventDefault(), it(_, x), J[_ + 1]?.focus();
4685
4731
  } else
4686
4732
  x === "Backspace" ? (c.preventDefault(), m[_] !== "" && it(_, ""), J[_ - 1]?.focus()) : x === "Enter" && (c.preventDefault(), ot());
4687
- }, Mn = () => {
4688
- q == "stateful" && (Re(), n(9, se = !1));
4733
+ }, Bn = () => {
4734
+ Z == "stateful" && (ke(), n(9, se = !1));
4689
4735
  const c = new CustomEvent("otpResendRequested");
4690
4736
  window.dispatchEvent(c);
4691
4737
  }, Pn = (c) => {
@@ -4749,14 +4795,14 @@ function xo(e, t, n) {
4749
4795
  return;
4750
4796
  }
4751
4797
  const c = m.join("");
4752
- n(13, me = !0), ge = c, n(3, g = !0), n(6, D = !1), n(8, N = ""), q === "stateless" && Pn(c), q === "stateful" && await Ln(c);
4798
+ n(13, me = !0), ge = c, n(3, g = !0), n(6, D = !1), n(8, N = ""), Z === "stateless" && Pn(c), Z === "stateful" && await Ln(c);
4753
4799
  }, st = async () => {
4754
4800
  if (h)
4755
4801
  try {
4756
4802
  n(3, g = !0);
4757
4803
  const c = new URL(`/api/nwa/api/v1/mfa/challenge/${ee}/config`, h), _ = await fetch(c.href), x = await _.json();
4758
4804
  if (_.ok)
4759
- n(4, E = x), n(2, m = Array(E.inputLength).fill("")), n(9, se = !1), M = E.expirationTime, I = E.serverTime, E.numberOfValidateAttempts !== 0 && (n(6, D = !0), n(8, N = o("invalidOtp"))), E.numberOfValidateAttempts === E.maxValidationAttempts - 1 && n(10, pe = !0), n(3, g = !1), C(), rt(), n(16, Ee = !1);
4805
+ n(4, E = x), n(2, m = Array(E.inputLength).fill("")), n(9, se = !1), B = E.expirationTime, I = E.serverTime, E.numberOfValidateAttempts !== 0 && (n(6, D = !0), n(8, N = o("invalidOtp"))), E.numberOfValidateAttempts === E.maxValidationAttempts - 1 && n(10, de = !0), n(3, g = !1), C(), rt(), n(16, Ee = !1);
4760
4806
  else if (x && x.details === le.MAX_ATTEMPTS_EXCEEDED)
4761
4807
  window.dispatchEvent(new CustomEvent("manualClosePopup"));
4762
4808
  else {
@@ -4770,36 +4816,36 @@ function xo(e, t, n) {
4770
4816
  Yn(() => (window.addEventListener("stepUpAuthRequired", Ne, !1), window.addEventListener("closePopup", V, !1), () => {
4771
4817
  window.removeEventListener("stepUpAuthRequired", Ne), window.removeEventListener("closePopup", V, !1), z && clearInterval(z), W && clearInterval(W);
4772
4818
  }));
4773
- const Rn = () => G(_e.SMS), kn = () => G(_e.EMAIL);
4819
+ const kn = () => G(_e.SMS), Rn = () => G(_e.EMAIL);
4774
4820
  function Dn(c, _) {
4775
- Ze[c ? "unshift" : "push"](() => {
4821
+ qe[c ? "unshift" : "push"](() => {
4776
4822
  J[_] = c, n(14, J);
4777
4823
  });
4778
4824
  }
4779
- const Un = (c, _) => At(_, c), Gn = (c, _) => Bt(_, c);
4825
+ const Un = (c, _) => At(_, c), Gn = (c, _) => Mt(_, c);
4780
4826
  function Fn(c) {
4781
- Ze[c ? "unshift" : "push"](() => {
4827
+ qe[c ? "unshift" : "push"](() => {
4782
4828
  Q = c, n(1, Q);
4783
4829
  });
4784
4830
  }
4785
4831
  return e.$$set = (c) => {
4786
- "clientstyling" in c && n(31, a = c.clientstyling), "clientstylingurl" in c && n(32, s = c.clientstylingurl), "mbsource" in c && n(33, u = c.mbsource), "lang" in c && n(34, l = c.lang), "endpoint" in c && n(35, h = c.endpoint), "session" in c && n(36, f = c.session), "translationurl" in c && n(37, d = c.translationurl), "templateid" in c && n(30, y = c.templateid);
4832
+ "clientstyling" in c && n(31, a = c.clientstyling), "clientstylingurl" in c && n(32, s = c.clientstylingurl), "mbsource" in c && n(33, u = c.mbsource), "lang" in c && n(34, l = c.lang), "endpoint" in c && n(35, h = c.endpoint), "session" in c && n(36, f = c.session), "translationurl" in c && n(37, p = c.translationurl), "templateid" in c && n(30, y = c.templateid);
4787
4833
  }, e.$$.update = () => {
4788
4834
  e.$$.dirty[0] & /*customStylingContainer*/
4789
4835
  2 | e.$$.dirty[1] & /*clientstyling*/
4790
4836
  1 && a && Q && fr(Q, a), e.$$.dirty[0] & /*customStylingContainer*/
4791
4837
  2 | e.$$.dirty[1] & /*clientstylingurl*/
4792
- 2 && s && Q && pr(Q, s), e.$$.dirty[0] & /*customStylingContainer*/
4838
+ 2 && s && Q && dr(Q, s), e.$$.dirty[0] & /*customStylingContainer*/
4793
4839
  2 | e.$$.dirty[1] & /*mbsource*/
4794
- 4 && u && Q && dr(Q, `${u}.Style`, Ie), e.$$.dirty[1] & /*lang*/
4840
+ 4 && u && Q && pr(Q, `${u}.Style`, Ie), e.$$.dirty[1] & /*lang*/
4795
4841
  8 && l && Y(), e.$$.dirty[1] & /*lang, translationurl*/
4796
- 72 && l && d && $(), e.$$.dirty[0] & /*selectedChannel*/
4842
+ 72 && l && p && $(), e.$$.dirty[0] & /*selectedChannel*/
4797
4843
  1 | e.$$.dirty[1] & /*channelSubmitTimers*/
4798
- 128 && n(18, r = B && (!U[B] || U[B] === 0)), e.$$.dirty[0] & /*selectedChannel*/
4844
+ 128 && n(18, r = M && (!U[M] || U[M] === 0)), e.$$.dirty[0] & /*selectedChannel*/
4799
4845
  1 | e.$$.dirty[1] & /*channelSubmitTimers*/
4800
- 128 && n(17, i = B && U[B] || 0);
4846
+ 128 && n(17, i = M && U[M] || 0);
4801
4847
  }, [
4802
- B,
4848
+ M,
4803
4849
  Q,
4804
4850
  m,
4805
4851
  g,
@@ -4809,9 +4855,9 @@ function xo(e, t, n) {
4809
4855
  P,
4810
4856
  N,
4811
4857
  se,
4812
- pe,
4813
- ae,
4814
4858
  de,
4859
+ ae,
4860
+ pe,
4815
4861
  me,
4816
4862
  J,
4817
4863
  be,
@@ -4823,10 +4869,10 @@ function xo(e, t, n) {
4823
4869
  G,
4824
4870
  b,
4825
4871
  An,
4826
- Bn,
4827
- At,
4828
- Bt,
4829
4872
  Mn,
4873
+ At,
4874
+ Mt,
4875
+ Bn,
4830
4876
  Nn,
4831
4877
  ot,
4832
4878
  y,
@@ -4836,10 +4882,10 @@ function xo(e, t, n) {
4836
4882
  l,
4837
4883
  h,
4838
4884
  f,
4839
- d,
4885
+ p,
4840
4886
  U,
4841
- Rn,
4842
4887
  kn,
4888
+ Rn,
4843
4889
  Dn,
4844
4890
  Un,
4845
4891
  Gn,