@everymatrix/cashier-step-up 0.7.14 → 0.7.16

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.
@@ -214,9 +214,9 @@ function sn(e, t, r, n, i, o, a = null, s = [-1]) {
214
214
  };
215
215
  a && a(l.root);
216
216
  let h = !1;
217
- if (l.ctx = r ? r(e, t.props || {}, (c, m, ..._) => {
218
- const d = _.length ? _[0] : m;
219
- return l.ctx && i(l.ctx[c], l.ctx[c] = d) && (!l.skip_bound && l.bound[c] && l.bound[c](d), h && on(e, c)), m;
217
+ if (l.ctx = r ? r(e, t.props || {}, (c, d, ..._) => {
218
+ const m = _.length ? _[0] : d;
219
+ return l.ctx && i(l.ctx[c], l.ctx[c] = m) && (!l.skip_bound && l.bound[c] && l.bound[c](m), h && on(e, c)), d;
220
220
  }) : [], l.update(), h = !0, _e(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
221
221
  if (t.hydrate) {
222
222
  const c = Xr(t.target);
@@ -515,32 +515,32 @@ function Pe(e, t, r) {
515
515
  let u = !1;
516
516
  const l = [];
517
517
  let h = 0, c = Y;
518
- const m = () => {
518
+ const d = () => {
519
519
  if (h)
520
520
  return;
521
521
  c();
522
- const d = t(n ? l[0] : l, a, s);
523
- o ? a(d) : c = wt(d) ? d : Y;
522
+ const m = t(n ? l[0] : l, a, s);
523
+ o ? a(m) : c = wt(m) ? m : Y;
524
524
  }, _ = i.map(
525
- (d, g) => er(
526
- d,
525
+ (m, g) => er(
526
+ m,
527
527
  (E) => {
528
- l[g] = E, h &= ~(1 << g), u && m();
528
+ l[g] = E, h &= ~(1 << g), u && d();
529
529
  },
530
530
  () => {
531
531
  h |= 1 << g;
532
532
  }
533
533
  )
534
534
  );
535
- return u = !0, m(), function() {
535
+ return u = !0, d(), function() {
536
536
  _e(_), c(), u = !1;
537
537
  };
538
538
  });
539
539
  }
540
- function mn(e) {
540
+ function dn(e) {
541
541
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
542
542
  }
543
- var dn = function(t) {
543
+ var mn = function(t) {
544
544
  return gn(t) && !bn(t);
545
545
  };
546
546
  function gn(e) {
@@ -576,7 +576,7 @@ function Sn(e) {
576
576
  return Object.propertyIsEnumerable.call(e, t);
577
577
  }) : [];
578
578
  }
579
- function It(e) {
579
+ function Lt(e) {
580
580
  return Object.keys(e).concat(Sn(e));
581
581
  }
582
582
  function rr(e, t) {
@@ -591,14 +591,14 @@ function Tn(e, t) {
591
591
  }
592
592
  function On(e, t, r) {
593
593
  var n = {};
594
- return r.isMergeableObject(e) && It(e).forEach(function(i) {
594
+ return r.isMergeableObject(e) && Lt(e).forEach(function(i) {
595
595
  n[i] = De(e[i], r);
596
- }), It(t).forEach(function(i) {
596
+ }), Lt(t).forEach(function(i) {
597
597
  Tn(e, i) || (rr(e, i) && r.isMergeableObject(t[i]) ? n[i] = wn(i, r)(e[i], t[i], r) : n[i] = De(t[i], r));
598
598
  }), n;
599
599
  }
600
600
  function He(e, t, r) {
601
- r = r || {}, r.arrayMerge = r.arrayMerge || xn, r.isMergeableObject = r.isMergeableObject || dn, r.cloneUnlessOtherwiseSpecified = De;
601
+ r = r || {}, r.arrayMerge = r.arrayMerge || xn, r.isMergeableObject = r.isMergeableObject || mn, r.cloneUnlessOtherwiseSpecified = De;
602
602
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
603
603
  return o ? n ? r.arrayMerge(e, t, r) : On(e, t, r) : De(t, r);
604
604
  }
@@ -610,19 +610,19 @@ He.all = function(t, r) {
610
610
  }, {});
611
611
  };
612
612
  var Hn = He, An = Hn;
613
- const Cn = /* @__PURE__ */ mn(An);
614
- var mt = function(e, t) {
615
- return mt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
613
+ const Cn = /* @__PURE__ */ dn(An);
614
+ var dt = function(e, t) {
615
+ return dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
616
616
  r.__proto__ = n;
617
617
  } || function(r, n) {
618
618
  for (var i in n)
619
619
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
620
- }, mt(e, t);
620
+ }, dt(e, t);
621
621
  };
622
622
  function Ye(e, t) {
623
623
  if (typeof t != "function" && t !== null)
624
624
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
625
- mt(e, t);
625
+ dt(e, t);
626
626
  function r() {
627
627
  this.constructor = e;
628
628
  }
@@ -654,7 +654,7 @@ function st(e, t, r) {
654
654
  return e.concat(o || Array.prototype.slice.call(t));
655
655
  }
656
656
  function at(e, t) {
657
- var r = t && t.cache ? t.cache : kn, n = t && t.serializer ? t.serializer : Nn, i = t && t.strategy ? t.strategy : In;
657
+ var r = t && t.cache ? t.cache : kn, n = t && t.serializer ? t.serializer : Nn, i = t && t.strategy ? t.strategy : Ln;
658
658
  return i(e, {
659
659
  cache: r,
660
660
  serializer: n
@@ -674,11 +674,11 @@ function nr(e, t, r) {
674
674
  function ir(e, t, r, n, i) {
675
675
  return r.bind(t, e, n, i);
676
676
  }
677
- function In(e, t) {
677
+ function Ln(e, t) {
678
678
  var r = e.length === 1 ? Mn : nr;
679
679
  return ir(e, this, r, t.cache.create(), t.serializer);
680
680
  }
681
- function Ln(e, t) {
681
+ function In(e, t) {
682
682
  return ir(e, this, nr, t.cache.create(), t.serializer);
683
683
  }
684
684
  var Nn = function() {
@@ -700,7 +700,7 @@ var Nn = function() {
700
700
  return new Rn();
701
701
  }
702
702
  }, lt = {
703
- variadic: Ln
703
+ variadic: In
704
704
  }, Ze = function() {
705
705
  return Ze = Object.assign || function(t) {
706
706
  for (var r, n = 1, i = arguments.length; n < i; n++) {
@@ -715,45 +715,45 @@ var w;
715
715
  (function(e) {
716
716
  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";
717
717
  })(w || (w = {}));
718
- var I;
718
+ var L;
719
719
  (function(e) {
720
720
  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";
721
- })(I || (I = {}));
721
+ })(L || (L = {}));
722
722
  var Ae;
723
723
  (function(e) {
724
724
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
725
725
  })(Ae || (Ae = {}));
726
- function Lt(e) {
727
- return e.type === I.literal;
726
+ function It(e) {
727
+ return e.type === L.literal;
728
728
  }
729
729
  function Dn(e) {
730
- return e.type === I.argument;
730
+ return e.type === L.argument;
731
731
  }
732
732
  function or(e) {
733
- return e.type === I.number;
733
+ return e.type === L.number;
734
734
  }
735
735
  function sr(e) {
736
- return e.type === I.date;
736
+ return e.type === L.date;
737
737
  }
738
738
  function ar(e) {
739
- return e.type === I.time;
739
+ return e.type === L.time;
740
740
  }
741
741
  function lr(e) {
742
- return e.type === I.select;
742
+ return e.type === L.select;
743
743
  }
744
744
  function ur(e) {
745
- return e.type === I.plural;
745
+ return e.type === L.plural;
746
746
  }
747
747
  function Un(e) {
748
- return e.type === I.pound;
748
+ return e.type === L.pound;
749
749
  }
750
750
  function hr(e) {
751
- return e.type === I.tag;
751
+ return e.type === L.tag;
752
752
  }
753
753
  function cr(e) {
754
754
  return !!(e && typeof e == "object" && e.type === Ae.number);
755
755
  }
756
- function dt(e) {
756
+ function mt(e) {
757
757
  return !!(e && typeof e == "object" && e.type === Ae.dateTime);
758
758
  }
759
759
  var fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gn = /(?:[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;
@@ -862,8 +862,8 @@ var jn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
862
862
  function Vn(e) {
863
863
  if (e.length === 0)
864
864
  throw new Error("Number skeleton cannot be empty");
865
- for (var t = e.split(jn).filter(function(m) {
866
- return m.length > 0;
865
+ for (var t = e.split(jn).filter(function(d) {
866
+ return d.length > 0;
867
867
  }), r = [], n = 0, i = t; n < i.length; n++) {
868
868
  var o = i[n], a = o.split("/");
869
869
  if (a.length === 0)
@@ -880,14 +880,14 @@ function Vn(e) {
880
880
  function $n(e) {
881
881
  return e.replace(/^(.*?)-/, "");
882
882
  }
883
- var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pr = /^(@+)?(\+|#+)?[rs]?$/g, zn = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
883
+ var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pr = /^(@+)?(\+|#+)?[rs]?$/g, zn = /(\*)(0+)|(#+)(0+)|(0+)/g, dr = /^(0+)$/;
884
884
  function Rt(e) {
885
885
  var t = {};
886
886
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pr, function(r, n, i) {
887
887
  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)), "";
888
888
  }), t;
889
889
  }
890
- function dr(e) {
890
+ function mr(e) {
891
891
  switch (e) {
892
892
  case "sign-auto":
893
893
  return {
@@ -935,14 +935,14 @@ function Xn(e) {
935
935
  notation: "scientific"
936
936
  }, e = e.slice(1)), t) {
937
937
  var r = e.slice(0, 2);
938
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mr.test(e))
938
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !dr.test(e))
939
939
  throw new Error("Malformed concise eng/scientific notation");
940
940
  t.minimumIntegerDigits = e.length;
941
941
  }
942
942
  return t;
943
943
  }
944
944
  function kt(e) {
945
- var t = {}, r = dr(e);
945
+ var t = {}, r = mr(e);
946
946
  return r || t;
947
947
  }
948
948
  function Wn(e) {
@@ -1031,11 +1031,11 @@ function Wn(e) {
1031
1031
  case "integer-width":
1032
1032
  if (i.options.length > 1)
1033
1033
  throw new RangeError("integer-width stems only accept a single optional option");
1034
- i.options[0].replace(zn, function(u, l, h, c, m, _) {
1034
+ i.options[0].replace(zn, function(u, l, h, c, d, _) {
1035
1035
  if (l)
1036
1036
  t.minimumIntegerDigits = h.length;
1037
1037
  else {
1038
- if (c && m)
1038
+ if (c && d)
1039
1039
  throw new Error("We currently do not support maximum integer digits");
1040
1040
  if (_)
1041
1041
  throw new Error("We currently do not support exact integer digits");
@@ -1044,15 +1044,15 @@ function Wn(e) {
1044
1044
  });
1045
1045
  continue;
1046
1046
  }
1047
- if (mr.test(i.stem)) {
1047
+ if (dr.test(i.stem)) {
1048
1048
  t.minimumIntegerDigits = i.stem.length;
1049
1049
  continue;
1050
1050
  }
1051
1051
  if (Nt.test(i.stem)) {
1052
1052
  if (i.options.length > 1)
1053
1053
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1054
- i.stem.replace(Nt, function(u, l, h, c, m, _) {
1055
- return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && _ ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + _.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1054
+ i.stem.replace(Nt, function(u, l, h, c, d, _) {
1055
+ return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : d && _ ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + _.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1056
1056
  });
1057
1057
  var o = i.options[0];
1058
1058
  o === "w" ? t = R(R({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = R(R({}, t), Rt(o)));
@@ -1062,7 +1062,7 @@ function Wn(e) {
1062
1062
  t = R(R({}, t), Rt(i.stem));
1063
1063
  continue;
1064
1064
  }
1065
- var a = dr(i.stem);
1065
+ var a = mr(i.stem);
1066
1066
  a && (t = R(R({}, t), a));
1067
1067
  var s = Xn(i.stem);
1068
1068
  s && (t = R(R({}, t), s));
@@ -2650,7 +2650,7 @@ var ui = (
2650
2650
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2651
2651
  var s = this.clonePosition();
2652
2652
  this.bump(), i.push({
2653
- type: I.pound,
2653
+ type: L.pound,
2654
2654
  location: T(s, this.clonePosition())
2655
2655
  });
2656
2656
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
@@ -2678,7 +2678,7 @@ var ui = (
2678
2678
  if (this.bumpSpace(), this.bumpIf("/>"))
2679
2679
  return {
2680
2680
  val: {
2681
- type: I.literal,
2681
+ type: L.literal,
2682
2682
  value: "<".concat(i, "/>"),
2683
2683
  location: T(n, this.clonePosition())
2684
2684
  },
@@ -2695,7 +2695,7 @@ var ui = (
2695
2695
  var u = this.clonePosition(), l = this.parseTagName();
2696
2696
  return i !== l ? this.error(w.UNMATCHED_CLOSING_TAG, T(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2697
2697
  val: {
2698
- type: I.tag,
2698
+ type: L.tag,
2699
2699
  value: i,
2700
2700
  children: a,
2701
2701
  location: T(n, this.clonePosition())
@@ -2732,7 +2732,7 @@ var ui = (
2732
2732
  }
2733
2733
  var u = T(n, this.clonePosition());
2734
2734
  return {
2735
- val: { type: I.literal, value: i, location: u },
2735
+ val: { type: L.literal, value: i, location: u },
2736
2736
  err: null
2737
2737
  };
2738
2738
  }, e.prototype.tryParseLeftAngleBracket = function() {
@@ -2792,7 +2792,7 @@ var ui = (
2792
2792
  case 125:
2793
2793
  return this.bump(), {
2794
2794
  val: {
2795
- type: I.argument,
2795
+ type: L.argument,
2796
2796
  // value does not include the opening and closing braces.
2797
2797
  value: i,
2798
2798
  location: T(n, this.clonePosition())
@@ -2824,22 +2824,22 @@ var ui = (
2824
2824
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2825
2825
  if (c.err)
2826
2826
  return c;
2827
- var m = li(c.val);
2828
- if (m.length === 0)
2827
+ var d = li(c.val);
2828
+ if (d.length === 0)
2829
2829
  return this.error(w.EXPECT_ARGUMENT_STYLE, T(this.clonePosition(), this.clonePosition()));
2830
2830
  var _ = T(h, this.clonePosition());
2831
- l = { style: m, styleLocation: _ };
2831
+ l = { style: d, styleLocation: _ };
2832
2832
  }
2833
- var d = this.tryParseArgumentClose(i);
2834
- if (d.err)
2835
- return d;
2833
+ var m = this.tryParseArgumentClose(i);
2834
+ if (m.err)
2835
+ return m;
2836
2836
  var g = T(i, this.clonePosition());
2837
2837
  if (l && Dt(l?.style, "::", 0)) {
2838
2838
  var E = ai(l.style.slice(2));
2839
2839
  if (s === "number") {
2840
2840
  var c = this.parseNumberSkeletonFromString(E, l.styleLocation);
2841
2841
  return c.err ? c : {
2842
- val: { type: I.number, value: n, location: g, style: c.val },
2842
+ val: { type: L.number, value: n, location: g, style: c.val },
2843
2843
  err: null
2844
2844
  };
2845
2845
  } else {
@@ -2847,21 +2847,21 @@ var ui = (
2847
2847
  return this.error(w.EXPECT_DATE_TIME_SKELETON, g);
2848
2848
  var S = E;
2849
2849
  this.locale && (S = Zn(E, this.locale));
2850
- var m = {
2850
+ var d = {
2851
2851
  type: Ae.dateTime,
2852
2852
  pattern: S,
2853
2853
  location: l.styleLocation,
2854
2854
  parsedOptions: this.shouldParseSkeletons ? Fn(S) : {}
2855
- }, P = s === "date" ? I.date : I.time;
2855
+ }, P = s === "date" ? L.date : L.time;
2856
2856
  return {
2857
- val: { type: P, value: n, location: g, style: m },
2857
+ val: { type: P, value: n, location: g, style: d },
2858
2858
  err: null
2859
2859
  };
2860
2860
  }
2861
2861
  }
2862
2862
  return {
2863
2863
  val: {
2864
- type: s === "number" ? I.number : s === "date" ? I.date : I.time,
2864
+ type: s === "number" ? L.number : s === "date" ? L.date : L.time,
2865
2865
  value: n,
2866
2866
  location: g,
2867
2867
  style: (o = l?.style) !== null && o !== void 0 ? o : null
@@ -2872,9 +2872,9 @@ var ui = (
2872
2872
  case "plural":
2873
2873
  case "selectordinal":
2874
2874
  case "select": {
2875
- var L = this.clonePosition();
2875
+ var I = this.clonePosition();
2876
2876
  if (this.bumpSpace(), !this.bumpIf(","))
2877
- return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, T(L, Ze({}, L)));
2877
+ return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, T(I, Ze({}, I)));
2878
2878
  this.bumpSpace();
2879
2879
  var D = this.parseIdentifierIfPossible(), M = 0;
2880
2880
  if (s !== "select" && D.value === "offset") {
@@ -2889,13 +2889,13 @@ var ui = (
2889
2889
  var N = this.tryParsePluralOrSelectOptions(t, s, r, D);
2890
2890
  if (N.err)
2891
2891
  return N;
2892
- var d = this.tryParseArgumentClose(i);
2893
- if (d.err)
2894
- return d;
2892
+ var m = this.tryParseArgumentClose(i);
2893
+ if (m.err)
2894
+ return m;
2895
2895
  var K = T(i, this.clonePosition());
2896
2896
  return s === "select" ? {
2897
2897
  val: {
2898
- type: I.select,
2898
+ type: L.select,
2899
2899
  value: n,
2900
2900
  options: Ut(N.val),
2901
2901
  location: K
@@ -2903,7 +2903,7 @@ var ui = (
2903
2903
  err: null
2904
2904
  } : {
2905
2905
  val: {
2906
- type: I.plural,
2906
+ type: L.plural,
2907
2907
  value: n,
2908
2908
  options: Ut(N.val),
2909
2909
  offset: M,
@@ -2974,9 +2974,9 @@ var ui = (
2974
2974
  if (l.length === 0) {
2975
2975
  var c = this.clonePosition();
2976
2976
  if (r !== "select" && this.bumpIf("=")) {
2977
- var m = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_SELECTOR, w.INVALID_PLURAL_ARGUMENT_SELECTOR);
2978
- if (m.err)
2979
- return m;
2977
+ var d = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_SELECTOR, w.INVALID_PLURAL_ARGUMENT_SELECTOR);
2978
+ if (d.err)
2979
+ return d;
2980
2980
  h = T(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
2981
2981
  } else
2982
2982
  break;
@@ -2987,16 +2987,16 @@ var ui = (
2987
2987
  var _ = this.clonePosition();
2988
2988
  if (!this.bumpIf("{"))
2989
2989
  return this.error(r === "select" ? w.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : w.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, T(this.clonePosition(), this.clonePosition()));
2990
- var d = this.parseMessage(t + 1, r, n);
2991
- if (d.err)
2992
- return d;
2990
+ var m = this.parseMessage(t + 1, r, n);
2991
+ if (m.err)
2992
+ return m;
2993
2993
  var g = this.tryParseArgumentClose(_);
2994
2994
  if (g.err)
2995
2995
  return g;
2996
2996
  s.push([
2997
2997
  l,
2998
2998
  {
2999
- value: d.val,
2999
+ value: m.val,
3000
3000
  location: T(_, this.clonePosition())
3001
3001
  }
3002
3002
  ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
@@ -3100,7 +3100,7 @@ function Et(e) {
3100
3100
  for (var r in t.options)
3101
3101
  delete t.options[r].location, Et(t.options[r].value);
3102
3102
  else
3103
- or(t) && cr(t.style) || (sr(t) || ar(t)) && dt(t.style) ? delete t.style.location : hr(t) && Et(t.children);
3103
+ or(t) && cr(t.style) || (sr(t) || ar(t)) && mt(t.style) ? delete t.style.location : hr(t) && Et(t.children);
3104
3104
  });
3105
3105
  }
3106
3106
  function pi(e, t) {
@@ -3137,7 +3137,7 @@ var Ke = (
3137
3137
  }
3138
3138
  return t;
3139
3139
  }(Ke)
3140
- ), mi = (
3140
+ ), di = (
3141
3141
  /** @class */
3142
3142
  function(e) {
3143
3143
  Ye(t, e);
@@ -3146,7 +3146,7 @@ var Ke = (
3146
3146
  }
3147
3147
  return t;
3148
3148
  }(Ke)
3149
- ), di = (
3149
+ ), mi = (
3150
3150
  /** @class */
3151
3151
  function(e) {
3152
3152
  Ye(t, e);
@@ -3169,7 +3169,7 @@ function bi(e) {
3169
3169
  return typeof e == "function";
3170
3170
  }
3171
3171
  function ze(e, t, r, n, i, o, a) {
3172
- if (e.length === 1 && Lt(e[0]))
3172
+ if (e.length === 1 && It(e[0]))
3173
3173
  return [
3174
3174
  {
3175
3175
  type: Z.literal,
@@ -3178,7 +3178,7 @@ function ze(e, t, r, n, i, o, a) {
3178
3178
  ];
3179
3179
  for (var s = [], u = 0, l = e; u < l.length; u++) {
3180
3180
  var h = l[u];
3181
- if (Lt(h)) {
3181
+ if (It(h)) {
3182
3182
  s.push({
3183
3183
  type: Z.literal,
3184
3184
  value: h.value
@@ -3194,44 +3194,44 @@ function ze(e, t, r, n, i, o, a) {
3194
3194
  }
3195
3195
  var c = h.value;
3196
3196
  if (!(i && c in i))
3197
- throw new di(c, a);
3198
- var m = i[c];
3197
+ throw new mi(c, a);
3198
+ var d = i[c];
3199
3199
  if (Dn(h)) {
3200
- (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
3201
- type: typeof m == "string" ? Z.literal : Z.object,
3202
- value: m
3200
+ (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), s.push({
3201
+ type: typeof d == "string" ? Z.literal : Z.object,
3202
+ value: d
3203
3203
  });
3204
3204
  continue;
3205
3205
  }
3206
3206
  if (sr(h)) {
3207
- var _ = typeof h.style == "string" ? n.date[h.style] : dt(h.style) ? h.style.parsedOptions : void 0;
3207
+ var _ = typeof h.style == "string" ? n.date[h.style] : mt(h.style) ? h.style.parsedOptions : void 0;
3208
3208
  s.push({
3209
3209
  type: Z.literal,
3210
- value: r.getDateTimeFormat(t, _).format(m)
3210
+ value: r.getDateTimeFormat(t, _).format(d)
3211
3211
  });
3212
3212
  continue;
3213
3213
  }
3214
3214
  if (ar(h)) {
3215
- var _ = typeof h.style == "string" ? n.time[h.style] : dt(h.style) ? h.style.parsedOptions : n.time.medium;
3215
+ var _ = typeof h.style == "string" ? n.time[h.style] : mt(h.style) ? h.style.parsedOptions : n.time.medium;
3216
3216
  s.push({
3217
3217
  type: Z.literal,
3218
- value: r.getDateTimeFormat(t, _).format(m)
3218
+ value: r.getDateTimeFormat(t, _).format(d)
3219
3219
  });
3220
3220
  continue;
3221
3221
  }
3222
3222
  if (or(h)) {
3223
3223
  var _ = typeof h.style == "string" ? n.number[h.style] : cr(h.style) ? h.style.parsedOptions : void 0;
3224
- _ && _.scale && (m = m * (_.scale || 1)), s.push({
3224
+ _ && _.scale && (d = d * (_.scale || 1)), s.push({
3225
3225
  type: Z.literal,
3226
- value: r.getNumberFormat(t, _).format(m)
3226
+ value: r.getNumberFormat(t, _).format(d)
3227
3227
  });
3228
3228
  continue;
3229
3229
  }
3230
3230
  if (hr(h)) {
3231
- var d = h.children, g = h.value, E = i[g];
3231
+ var m = h.children, g = h.value, E = i[g];
3232
3232
  if (!bi(E))
3233
- throw new mi(g, "function", a);
3234
- var S = ze(d, t, r, n, i, o), P = E(S.map(function(M) {
3233
+ throw new di(g, "function", a);
3234
+ var S = ze(m, t, r, n, i, o), P = E(S.map(function(M) {
3235
3235
  return M.value;
3236
3236
  }));
3237
3237
  Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(M) {
@@ -3242,25 +3242,25 @@ function ze(e, t, r, n, i, o, a) {
3242
3242
  }));
3243
3243
  }
3244
3244
  if (lr(h)) {
3245
- var L = h.options[m] || h.options.other;
3246
- if (!L)
3247
- throw new Ft(h.value, m, Object.keys(h.options), a);
3248
- s.push.apply(s, ze(L.value, t, r, n, i));
3245
+ var I = h.options[d] || h.options.other;
3246
+ if (!I)
3247
+ throw new Ft(h.value, d, Object.keys(h.options), a);
3248
+ s.push.apply(s, ze(I.value, t, r, n, i));
3249
3249
  continue;
3250
3250
  }
3251
3251
  if (ur(h)) {
3252
- var L = h.options["=".concat(m)];
3253
- if (!L) {
3252
+ var I = h.options["=".concat(d)];
3253
+ if (!I) {
3254
3254
  if (!Intl.PluralRules)
3255
3255
  throw new Ke(`Intl.PluralRules is not available in this environment.
3256
3256
  Try polyfilling it using "@formatjs/intl-pluralrules"
3257
3257
  `, Ce.MISSING_INTL_API, a);
3258
- var D = r.getPluralRules(t, { type: h.pluralType }).select(m - (h.offset || 0));
3259
- L = h.options[D] || h.options.other;
3258
+ var D = r.getPluralRules(t, { type: h.pluralType }).select(d - (h.offset || 0));
3259
+ I = h.options[D] || h.options.other;
3260
3260
  }
3261
- if (!L)
3262
- throw new Ft(h.value, m, Object.keys(h.options), a);
3263
- s.push.apply(s, ze(L.value, t, r, n, i, m - (h.offset || 0)));
3261
+ if (!I)
3262
+ throw new Ft(h.value, d, Object.keys(h.options), a);
3263
+ s.push.apply(s, ze(I.value, t, r, n, i, d - (h.offset || 0)));
3264
3264
  continue;
3265
3265
  }
3266
3266
  }
@@ -3336,8 +3336,8 @@ var vi = (
3336
3336
  var l = o.formatToParts(u);
3337
3337
  if (l.length === 1)
3338
3338
  return l[0].value;
3339
- var h = l.reduce(function(c, m) {
3340
- return !c.length || m.type !== Z.literal || typeof c[c.length - 1] != "string" ? c.push(m.value) : c[c.length - 1] += m.value, c;
3339
+ var h = l.reduce(function(c, d) {
3340
+ return !c.length || d.type !== Z.literal || typeof c[c.length - 1] != "string" ? c.push(d.value) : c[c.length - 1] += d.value, c;
3341
3341
  }, []);
3342
3342
  return h.length <= 1 ? h[0] || "" : h;
3343
3343
  }, this.formatToParts = function(u) {
@@ -3581,14 +3581,14 @@ function Be() {
3581
3581
  return Mi;
3582
3582
  }
3583
3583
  const ct = Je(!1);
3584
- var Ii = Object.defineProperty, Li = Object.defineProperties, Ni = Object.getOwnPropertyDescriptors, jt = Object.getOwnPropertySymbols, Ri = Object.prototype.hasOwnProperty, ki = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Di = (e, t) => {
3584
+ var Li = Object.defineProperty, Ii = Object.defineProperties, Ni = Object.getOwnPropertyDescriptors, jt = Object.getOwnPropertySymbols, Ri = Object.prototype.hasOwnProperty, ki = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Di = (e, t) => {
3585
3585
  for (var r in t || (t = {}))
3586
3586
  Ri.call(t, r) && Vt(e, r, t[r]);
3587
3587
  if (jt)
3588
3588
  for (var r of jt(t))
3589
3589
  ki.call(t, r) && Vt(e, r, t[r]);
3590
3590
  return e;
3591
- }, Ui = (e, t) => Li(e, Ni(t));
3591
+ }, Ui = (e, t) => Ii(e, Ni(t));
3592
3592
  let xt;
3593
3593
  const qe = Je(null);
3594
3594
  function $t(e) {
@@ -3634,7 +3634,7 @@ var Fi = Object.defineProperty, Qe = Object.getOwnPropertySymbols, Sr = Object.p
3634
3634
  for (var r of Qe(t))
3635
3635
  Tr.call(t, r) && zt(e, r, t[r]);
3636
3636
  return e;
3637
- }, Ie = (e, t) => {
3637
+ }, Le = (e, t) => {
3638
3638
  var r = {};
3639
3639
  for (var n in e)
3640
3640
  Sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -3650,21 +3650,21 @@ const Ue = (e, t) => {
3650
3650
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3651
3651
  }, ji = tt(
3652
3652
  (e) => {
3653
- var t = e, { locale: r, format: n } = t, i = Ie(t, ["locale", "format"]);
3653
+ var t = e, { locale: r, format: n } = t, i = Le(t, ["locale", "format"]);
3654
3654
  if (r == null)
3655
3655
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3656
3656
  return n && (i = Ue("number", n)), new Intl.NumberFormat(r, i);
3657
3657
  }
3658
3658
  ), Vi = tt(
3659
3659
  (e) => {
3660
- var t = e, { locale: r, format: n } = t, i = Ie(t, ["locale", "format"]);
3660
+ var t = e, { locale: r, format: n } = t, i = Le(t, ["locale", "format"]);
3661
3661
  if (r == null)
3662
3662
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3663
3663
  return n ? i = Ue("date", n) : Object.keys(i).length === 0 && (i = Ue("date", "short")), new Intl.DateTimeFormat(r, i);
3664
3664
  }
3665
3665
  ), $i = tt(
3666
3666
  (e) => {
3667
- var t = e, { locale: r, format: n } = t, i = Ie(t, ["locale", "format"]);
3667
+ var t = e, { locale: r, format: n } = t, i = Le(t, ["locale", "format"]);
3668
3668
  if (r == null)
3669
3669
  throw new Error(
3670
3670
  '[svelte-i18n] A "locale" must be set to format time values'
@@ -3674,21 +3674,21 @@ const Ue = (e, t) => {
3674
3674
  ), zi = (e = {}) => {
3675
3675
  var t = e, {
3676
3676
  locale: r = Ee()
3677
- } = t, n = Ie(t, [
3677
+ } = t, n = Le(t, [
3678
3678
  "locale"
3679
3679
  ]);
3680
3680
  return ji(Tt({ locale: r }, n));
3681
3681
  }, Xi = (e = {}) => {
3682
3682
  var t = e, {
3683
3683
  locale: r = Ee()
3684
- } = t, n = Ie(t, [
3684
+ } = t, n = Le(t, [
3685
3685
  "locale"
3686
3686
  ]);
3687
3687
  return Vi(Tt({ locale: r }, n));
3688
3688
  }, Wi = (e = {}) => {
3689
3689
  var t = e, {
3690
3690
  locale: r = Ee()
3691
- } = t, n = Ie(t, [
3691
+ } = t, n = Le(t, [
3692
3692
  "locale"
3693
3693
  ]);
3694
3694
  return $i(Tt({ locale: r }, n));
@@ -3722,10 +3722,10 @@ const Ue = (e, t) => {
3722
3722
  let c = h;
3723
3723
  try {
3724
3724
  c = Zi(h, u).format(s);
3725
- } catch (m) {
3726
- m instanceof Error && console.warn(
3725
+ } catch (d) {
3726
+ d instanceof Error && console.warn(
3727
3727
  `[svelte-i18n] Message "${e}" has syntax error:`,
3728
- m.message
3728
+ d.message
3729
3729
  );
3730
3730
  }
3731
3731
  return c;
@@ -3786,6 +3786,29 @@ const Wt = {
3786
3786
  channelEmail: "E-posta kodu",
3787
3787
  sendCode: "Kodu gönder",
3788
3788
  waitSeconds: "Tekrar göndermeden önce lütfen bekleyin:"
3789
+ },
3790
+ fr: {
3791
+ otpTitle: "La vérification par code est requise",
3792
+ popupMessage: "Veuillez saisir le code de sécurité reçu par SMS ou par e-mail afin d’effectuer la mise à jour.",
3793
+ popupMessageLastWarning: "Si la prochaine tentative de validation échoue, votre transaction échouera et vous serez redirigé vers le moyen de paiement.",
3794
+ minutes: "minutes",
3795
+ errorHeader: "Erreur",
3796
+ configError: "Impossible de charger les données OTP. Veuillez réessayer plus tard.",
3797
+ otpHeading: "Saisir le code OTP",
3798
+ resendOtp: "Renvoyer le code OTP",
3799
+ submit: "Valider",
3800
+ close: "Fermer",
3801
+ invalidOtp: "Le code que vous avez saisi n’est pas valide. Veuillez réessayer.",
3802
+ accountBlocked: "Trop de tentatives de code OTP. Votre compte a été bloqué pendant une heure.",
3803
+ submissionError: "Une erreur s’est produite. Veuillez réessayer.",
3804
+ otpExpiredMessage: "Le code de validation a expiré. Veuillez en demander un nouveau pour continuer.",
3805
+ timeRemaining: "Le code expire dans :",
3806
+ selectChannelTitle: "Sélectionner la méthode de vérification",
3807
+ selectChannelMessage: "Choisissez comment vous souhaitez recevoir votre code de vérification",
3808
+ channelSMS: "SMS",
3809
+ channelEmail: "E-mail",
3810
+ sendCode: "Envoyer le code",
3811
+ waitSeconds: "Veuillez patienter avant de renvoyer le code :"
3789
3812
  }
3790
3813
  };
3791
3814
  function ro(e) {
@@ -3796,10 +3819,10 @@ function Zt(e, t, r) {
3796
3819
  return n[69] = t[r], n[70] = t, n[71] = r, n;
3797
3820
  }
3798
3821
  function no(e) {
3799
- let t, r, n, i, o, a, s, u, l, h, c, m, _, d, g, E, S, P = (
3822
+ let t, r, n, i, o, a, s, u, l, h, c, d, _, m, g, E, S, P = (
3800
3823
  /*$_*/
3801
3824
  e[19]("channelSMS") + ""
3802
- ), L, D, M, N, K, q, ae, pe, le, B, U, W, me, de, ge = (
3825
+ ), I, D, M, N, K, q, ae, pe, le, B, U, W, de, me, ge = (
3803
3826
  /*$_*/
3804
3827
  e[19]("channelEmail") + ""
3805
3828
  ), Q, ee, $, ue, te, be, ve;
@@ -3847,7 +3870,7 @@ function no(e) {
3847
3870
  let re = je(e), z = re && re(e);
3848
3871
  return {
3849
3872
  c() {
3850
- t = O("div"), J.c(), r = G(), n = O("div"), i = O("label"), o = O("div"), a = G(), s = O("input"), l = G(), h = O("div"), c = ne("svg"), m = ne("path"), _ = ne("circle"), d = ne("circle"), g = ne("circle"), E = G(), S = O("span"), L = k(P), D = G(), M = O("label"), N = O("div"), K = G(), q = O("input"), pe = G(), le = O("div"), B = ne("svg"), U = ne("rect"), W = ne("path"), me = G(), de = O("span"), Q = k(ge), ee = G(), j && j.c(), $ = G(), V && V.c(), ue = G(), te = O("div"), z && z.c(), p(t, "class", "OtpDescription"), p(o, "class", "RadioIndicator"), ie(
3873
+ t = O("div"), J.c(), r = G(), n = O("div"), i = O("label"), o = O("div"), a = G(), s = O("input"), l = G(), h = O("div"), c = ne("svg"), d = ne("path"), _ = ne("circle"), m = ne("circle"), g = ne("circle"), E = G(), S = O("span"), I = k(P), D = G(), M = O("label"), N = O("div"), K = G(), q = O("input"), pe = G(), le = O("div"), B = ne("svg"), U = ne("rect"), W = ne("path"), de = G(), me = O("span"), Q = k(ge), ee = G(), j && j.c(), $ = G(), V && V.c(), ue = G(), te = O("div"), z && z.c(), p(t, "class", "OtpDescription"), p(o, "class", "RadioIndicator"), ie(
3851
3874
  o,
3852
3875
  "checked",
3853
3876
  /*selectedChannel*/
@@ -3856,7 +3879,7 @@ function no(e) {
3856
3879
  ), p(s, "type", "radio"), p(s, "name", "channel"), s.value = /*channels*/
3857
3880
  e[20].SMS, s.checked = u = /*selectedChannel*/
3858
3881
  e[0] === /*channels*/
3859
- e[20].SMS, p(m, "d", "M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"), p(_, "cx", "9"), p(_, "cy", "11"), p(_, "r", "0.5"), p(_, "fill", "currentColor"), p(d, "cx", "12"), p(d, "cy", "11"), p(d, "r", "0.5"), p(d, "fill", "currentColor"), p(g, "cx", "15"), p(g, "cy", "11"), p(g, "r", "0.5"), p(g, "fill", "currentColor"), p(c, "xmlns", "http://www.w3.org/2000/svg"), p(c, "width", "24"), p(c, "height", "24"), p(c, "viewBox", "0 0 24 24"), p(c, "fill", "none"), p(c, "stroke", "currentColor"), p(c, "stroke-width", "2"), p(c, "stroke-linecap", "round"), p(c, "stroke-linejoin", "round"), p(h, "class", "ChannelContent"), p(i, "class", "ChannelCheckbox"), ie(
3882
+ 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(_, "cx", "9"), p(_, "cy", "11"), p(_, "r", "0.5"), p(_, "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(c, "xmlns", "http://www.w3.org/2000/svg"), p(c, "width", "24"), p(c, "height", "24"), p(c, "viewBox", "0 0 24 24"), p(c, "fill", "none"), p(c, "stroke", "currentColor"), p(c, "stroke-width", "2"), p(c, "stroke-linecap", "round"), p(c, "stroke-linejoin", "round"), p(h, "class", "ChannelContent"), p(i, "class", "ChannelCheckbox"), ie(
3860
3883
  i,
3861
3884
  "selected",
3862
3885
  /*selectedChannel*/
@@ -3880,7 +3903,7 @@ function no(e) {
3880
3903
  ), p(n, "class", "ChannelSelection"), p(te, "class", "OtpActionButtons");
3881
3904
  },
3882
3905
  m(b, A) {
3883
- C(b, t, A), J.m(t, null), C(b, r, A), C(b, n, A), y(n, i), y(i, o), y(i, a), y(i, s), y(i, l), y(i, h), y(h, c), y(c, m), y(c, _), y(c, d), y(c, g), y(h, E), y(h, S), y(S, L), y(n, D), y(n, M), y(M, N), y(M, K), y(M, q), y(M, pe), y(M, le), y(le, B), y(B, U), y(B, W), y(le, me), y(le, de), y(de, Q), C(b, ee, A), j && j.m(b, A), C(b, $, A), V && V.m(b, A), C(b, ue, A), C(b, te, A), z && z.m(te, null), be || (ve = [
3906
+ C(b, t, A), J.m(t, null), C(b, r, A), C(b, n, A), y(n, i), y(i, o), y(i, a), y(i, s), y(i, l), y(i, h), y(h, c), y(c, d), y(c, _), y(c, m), y(c, g), y(h, E), y(h, S), y(S, I), y(n, D), y(n, M), y(M, N), y(M, K), y(M, q), y(M, pe), y(M, le), y(le, B), y(B, U), y(B, W), y(le, de), y(le, me), y(me, Q), C(b, ee, A), j && j.m(b, A), C(b, $, A), V && V.m(b, A), C(b, ue, A), C(b, te, A), z && z.m(te, null), be || (ve = [
3884
3907
  ce(
3885
3908
  s,
3886
3909
  "change",
@@ -3908,7 +3931,7 @@ function no(e) {
3908
3931
  b[0] === /*channels*/
3909
3932
  b[20].SMS) && (s.checked = u), A[0] & /*$_*/
3910
3933
  524288 && P !== (P = /*$_*/
3911
- b[19]("channelSMS") + "") && F(L, P), A[0] & /*selectedChannel, channels*/
3934
+ b[19]("channelSMS") + "") && F(I, P), A[0] & /*selectedChannel, channels*/
3912
3935
  1048577 && ie(
3913
3936
  i,
3914
3937
  "selected",
@@ -3946,7 +3969,7 @@ function io(e) {
3946
3969
  let t, r, n, i, o, a, s = (
3947
3970
  /*$_*/
3948
3971
  e[19]("errorHeader") + ""
3949
- ), u, l, h, c, m, _, d = (
3972
+ ), u, l, h, c, d, _, m = (
3950
3973
  /*$_*/
3951
3974
  e[19]("close") + ""
3952
3975
  ), g, E, S;
@@ -3955,27 +3978,27 @@ function io(e) {
3955
3978
  t = O("div"), r = O("div"), n = ne("svg"), i = ne("path"), o = G(), a = O("h2"), u = k(s), l = G(), h = O("p"), c = k(
3956
3979
  /*errorMessage*/
3957
3980
  e[8]
3958
- ), m = G(), _ = O("button"), g = k(d), 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(n, "xmlns", "http://www.w3.org/2000/svg"), p(n, "viewBox", "0 0 512 512"), p(r, "class", "OtpErrorHeader"), p(_, "class", "OtpButton error"), p(t, "class", "OtpError");
3981
+ ), d = G(), _ = 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(n, "xmlns", "http://www.w3.org/2000/svg"), p(n, "viewBox", "0 0 512 512"), p(r, "class", "OtpErrorHeader"), p(_, "class", "OtpButton error"), p(t, "class", "OtpError");
3959
3982
  },
3960
- m(P, L) {
3961
- C(P, t, L), y(t, r), y(r, n), y(n, i), y(r, o), y(r, a), y(a, u), y(t, l), y(t, h), y(h, c), y(t, m), y(t, _), y(_, g), E || (S = ce(
3983
+ m(P, I) {
3984
+ C(P, t, I), y(t, r), y(r, n), y(n, i), y(r, o), y(r, a), y(a, u), y(t, l), y(t, h), y(h, c), y(t, d), y(t, _), y(_, g), E || (S = ce(
3962
3985
  _,
3963
3986
  "click",
3964
3987
  /*manualClosePopup*/
3965
3988
  e[28]
3966
3989
  ), E = !0);
3967
3990
  },
3968
- p(P, L) {
3969
- L[0] & /*$_*/
3991
+ p(P, I) {
3992
+ I[0] & /*$_*/
3970
3993
  524288 && s !== (s = /*$_*/
3971
- P[19]("errorHeader") + "") && F(u, s), L[0] & /*errorMessage*/
3994
+ P[19]("errorHeader") + "") && F(u, s), I[0] & /*errorMessage*/
3972
3995
  256 && F(
3973
3996
  c,
3974
3997
  /*errorMessage*/
3975
3998
  P[8]
3976
- ), L[0] & /*$_*/
3977
- 524288 && d !== (d = /*$_*/
3978
- P[19]("close") + "") && F(g, d);
3999
+ ), I[0] & /*$_*/
4000
+ 524288 && m !== (m = /*$_*/
4001
+ P[19]("close") + "") && F(g, m);
3979
4002
  },
3980
4003
  d(P) {
3981
4004
  P && H(t), E = !1, S();
@@ -4228,23 +4251,23 @@ function fo(e) {
4228
4251
  ), s, u, l = (
4229
4252
  /*$_*/
4230
4253
  e[19]("minutes") + ""
4231
- ), h, c, m, _ = Mt(
4254
+ ), h, c, d, _ = Mt(
4232
4255
  /*otp*/
4233
4256
  e[2]
4234
- ), d = [];
4257
+ ), m = [];
4235
4258
  for (let g = 0; g < _.length; g += 1)
4236
- d[g] = Jt(Zt(e, _, g));
4259
+ m[g] = Jt(Zt(e, _, g));
4237
4260
  return {
4238
4261
  c() {
4239
- t = O("div"), r = O("div"), i = k(n), o = G(), s = k(a), u = G(), h = k(l), c = G(), m = O("div");
4240
- for (let g = 0; g < d.length; g += 1)
4241
- d[g].c();
4242
- p(r, "class", "OtpTimer"), p(m, "class", "OtpField"), p(t, "class", "OtpFieldWrapper");
4262
+ t = O("div"), r = O("div"), i = k(n), o = G(), s = k(a), u = G(), h = k(l), c = G(), d = O("div");
4263
+ for (let g = 0; g < m.length; g += 1)
4264
+ m[g].c();
4265
+ p(r, "class", "OtpTimer"), p(d, "class", "OtpField"), p(t, "class", "OtpFieldWrapper");
4243
4266
  },
4244
4267
  m(g, E) {
4245
- C(g, t, E), y(t, r), y(r, i), y(r, o), y(r, s), y(r, u), y(r, h), y(t, c), y(t, m);
4246
- for (let S = 0; S < d.length; S += 1)
4247
- d[S] && d[S].m(m, null);
4268
+ C(g, t, E), y(t, r), y(r, i), y(r, o), y(r, s), y(r, u), y(r, h), y(t, c), y(t, d);
4269
+ for (let S = 0; S < m.length; S += 1)
4270
+ m[S] && m[S].m(d, null);
4248
4271
  },
4249
4272
  p(g, E) {
4250
4273
  if (E[0] & /*$_*/
@@ -4265,15 +4288,15 @@ function fo(e) {
4265
4288
  let S;
4266
4289
  for (S = 0; S < _.length; S += 1) {
4267
4290
  const P = Zt(g, _, S);
4268
- d[S] ? d[S].p(P, E) : (d[S] = Jt(P), d[S].c(), d[S].m(m, null));
4291
+ m[S] ? m[S].p(P, E) : (m[S] = Jt(P), m[S].c(), m[S].m(d, null));
4269
4292
  }
4270
- for (; S < d.length; S += 1)
4271
- d[S].d(1);
4272
- d.length = _.length;
4293
+ for (; S < m.length; S += 1)
4294
+ m[S].d(1);
4295
+ m.length = _.length;
4273
4296
  }
4274
4297
  },
4275
4298
  d(g) {
4276
- g && H(t), $r(d, g);
4299
+ g && H(t), $r(m, g);
4277
4300
  }
4278
4301
  };
4279
4302
  }
@@ -4334,8 +4357,8 @@ function Jt(e) {
4334
4357
  e[69], p(t, "inputmode", "numeric"), t.disabled = /*inputDisabled*/
4335
4358
  e[11], p(t, "autocomplete", "off");
4336
4359
  },
4337
- m(c, m) {
4338
- C(c, t, m), s(), o || (a = [
4360
+ m(c, d) {
4361
+ C(c, t, d), s(), o || (a = [
4339
4362
  ce(t, "input", l),
4340
4363
  ce(t, "keydown", h),
4341
4364
  ce(
@@ -4346,14 +4369,14 @@ function Jt(e) {
4346
4369
  )
4347
4370
  ], o = !0);
4348
4371
  },
4349
- p(c, m) {
4350
- e = c, m[0] & /*config*/
4372
+ p(c, d) {
4373
+ e = c, d[0] & /*config*/
4351
4374
  16 && r !== (r = `otp-box ${/*config*/
4352
4375
  e[4].inputLength % 2 === 0 && /*index*/
4353
4376
  e[71] === /*config*/
4354
- e[4].inputLength / 2 - 1 ? "space" : ""}`) && p(t, "class", r), m[0] & /*otp*/
4377
+ e[4].inputLength / 2 - 1 ? "space" : ""}`) && p(t, "class", r), d[0] & /*otp*/
4355
4378
  4 && n !== (n = /*char*/
4356
- e[69]) && t.value !== n && (t.value = n), m[0] & /*inputDisabled*/
4379
+ e[69]) && t.value !== n && (t.value = n), d[0] & /*inputDisabled*/
4357
4380
  2048 && (t.disabled = /*inputDisabled*/
4358
4381
  e[11]), i !== /*index*/
4359
4382
  e[71] && (u(), i = /*index*/
@@ -4456,7 +4479,7 @@ function bo(e) {
4456
4479
  function yo(e, t, r) {
4457
4480
  let n, i, o;
4458
4481
  Gr(e, eo, (f) => r(19, o = f));
4459
- let { clientstyling: a = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: u } = t, { lang: l = "en" } = t, { endpoint: h } = t, { session: c } = t, { translationurl: m } = t, { templateid: _ } = t, d = [], g = !0, E = null, S = 0, P = "", L = "", D = !1, M = !1, N = "", K = "", q = "", ae = !1, pe = !1, le = !1, B = "", U = {}, W = null, me = !1, de = !1, ge = "", Q, ee = [], $ = null, ue = 0, te = !1, be = !1;
4482
+ let { clientstyling: a = "" } = t, { clientstylingurl: s = "" } = t, { mbsource: u } = t, { lang: l = "en" } = t, { endpoint: h } = t, { session: c } = t, { translationurl: d } = t, { templateid: _ } = t, m = [], g = !0, E = null, S = 0, P = "", I = "", D = !1, M = !1, N = "", K = "", q = "", ae = !1, pe = !1, le = !1, B = "", U = {}, W = null, de = !1, me = !1, ge = "", Q, ee = [], $ = null, ue = 0, te = !1, be = !1;
4460
4483
  const ve = { SMS: "sms", EMAIL: "email" }, ye = {
4461
4484
  MAX_ATTEMPTS_EXCEEDED: "gm.twofa.token_max_attempts_exceeded",
4462
4485
  INTERNAL_SERVER_ERROR: "gm.multifactorauthentication.internal_server_error",
@@ -4468,7 +4491,7 @@ function yo(e, t, r) {
4468
4491
  const xe = () => {
4469
4492
  to(l);
4470
4493
  }, J = () => {
4471
- fetch(m).then((f) => f.json()).then((f) => {
4494
+ fetch(d).then((f) => f.json()).then((f) => {
4472
4495
  Object.keys(f).forEach((v) => {
4473
4496
  Xt(v, f[v]);
4474
4497
  });
@@ -4481,10 +4504,10 @@ function yo(e, t, r) {
4481
4504
  r(3, g = !1), r(7, M = !0), r(8, N = o("configError"));
4482
4505
  return;
4483
4506
  }
4484
- r(12, me = !1), r(3, g = !1);
4507
+ r(12, de = !1), r(3, g = !1);
4485
4508
  }
4486
4509
  }, Fe = () => {
4487
- $ && (clearInterval($), $ = null), W && (clearInterval(W), W = null), r(6, D = !1), r(7, M = !1), r(8, N = ""), r(10, pe = !1), r(2, d = []), r(4, E = null), r(3, g = !0), r(0, B = ""), r(12, me = !1), r(38, U = {});
4510
+ $ && (clearInterval($), $ = null), W && (clearInterval(W), W = null), r(6, D = !1), r(7, M = !1), r(8, N = ""), r(10, pe = !1), r(2, m = []), r(4, E = null), r(3, g = !0), r(0, B = ""), r(12, de = !1), r(38, U = {});
4488
4511
  }, he = () => {
4489
4512
  Fe();
4490
4513
  }, V = () => new Promise((f, v) => {
@@ -4523,7 +4546,7 @@ function yo(e, t, r) {
4523
4546
  await V(), await nt(), r(38, U = {
4524
4547
  ...U,
4525
4548
  [B]: 30
4526
- }), je(), r(12, me = !0), b(), A();
4549
+ }), je(), r(12, de = !0), b(), A();
4527
4550
  } catch (f) {
4528
4551
  console.error("Error submitting channel:", f), r(6, D = !0), r(8, N = o("submissionError"));
4529
4552
  } finally {
@@ -4531,9 +4554,9 @@ function yo(e, t, r) {
4531
4554
  }
4532
4555
  }
4533
4556
  }, b = () => {
4534
- const f = new Date(P), v = new Date(L), x = /* @__PURE__ */ new Date(), X = v.getTime() - x.getTime();
4557
+ const f = new Date(P), v = new Date(I), x = /* @__PURE__ */ new Date(), X = v.getTime() - x.getTime();
4535
4558
  ue = f.getTime() - X;
4536
- const Le = Date.now(), it = Math.max(0, Math.floor((ue - Le) / 1e3));
4559
+ const Ie = Date.now(), it = Math.max(0, Math.floor((ue - Ie) / 1e3));
4537
4560
  r(5, S = it);
4538
4561
  }, A = () => {
4539
4562
  $ && clearInterval($), $ = setInterval(
@@ -4547,12 +4570,12 @@ function yo(e, t, r) {
4547
4570
  const v = Math.floor(f / 60), x = f % 60;
4548
4571
  return `${v.toString().padStart(2, "0")}:${x.toString().padStart(2, "0")}`;
4549
4572
  }, rt = (f, v) => {
4550
- const x = [...d];
4551
- x[f] = v.toUpperCase(), r(2, d = x), x.join("") !== ge && r(13, de = !1);
4573
+ const x = [...m];
4574
+ x[f] = v.toUpperCase(), r(2, m = x), x.join("") !== ge && r(13, me = !1);
4552
4575
  }, Hr = (f) => {
4553
4576
  f.preventDefault();
4554
4577
  const x = (f.clipboardData?.getData("text")?.trim() || "").slice(0, E.inputLength).split("");
4555
- r(2, d = [...x, ...Array(E.inputLength - x.length).fill("")]), ee[x.length]?.focus(), x.length === E.inputLength && At();
4578
+ r(2, m = [...x, ...Array(E.inputLength - x.length).fill("")]), ee[x.length]?.focus(), x.length === E.inputLength && At();
4556
4579
  }, Ot = (f, v) => {
4557
4580
  const x = f.target, X = x.value;
4558
4581
  /^[a-z0-9]$/i.test(X) && (rt(v, X), ee[v + 1]?.focus()), x.value = "";
@@ -4563,7 +4586,7 @@ function yo(e, t, r) {
4563
4586
  return;
4564
4587
  f.preventDefault(), rt(v, x), ee[v + 1]?.focus();
4565
4588
  } else
4566
- x === "Backspace" && (f.preventDefault(), d[v] !== "" && rt(v, ""), ee[v - 1]?.focus());
4589
+ x === "Backspace" && (f.preventDefault(), m[v] !== "" && rt(v, ""), ee[v - 1]?.focus());
4567
4590
  }, Ar = () => {
4568
4591
  q == "stateful" && (V(), r(9, ae = !1));
4569
4592
  const f = new CustomEvent("otpResendRequested");
@@ -4624,19 +4647,19 @@ function yo(e, t, r) {
4624
4647
  }, Mr = () => {
4625
4648
  window.dispatchEvent(new CustomEvent("manualClosePopup"));
4626
4649
  }, At = async () => {
4627
- if (d.join("").length !== E.inputLength) {
4650
+ if (m.join("").length !== E.inputLength) {
4628
4651
  r(6, D = !0), r(8, N = o("invalidOtp"));
4629
4652
  return;
4630
4653
  }
4631
- const f = d.join("");
4632
- r(13, de = !0), ge = f, r(3, g = !0), r(6, D = !1), r(8, N = ""), q === "stateless" && Cr(f), q === "stateful" && await Br(f);
4654
+ const f = m.join("");
4655
+ r(13, me = !0), ge = f, r(3, g = !0), r(6, D = !1), r(8, N = ""), q === "stateless" && Cr(f), q === "stateful" && await Br(f);
4633
4656
  }, nt = async () => {
4634
4657
  if (h)
4635
4658
  try {
4636
4659
  r(3, g = !0);
4637
4660
  const f = new URL(`/api/nwa/api/v1/mfa/challenge/${K}/config`, h), v = await fetch(f.href), x = await v.json();
4638
4661
  if (v.ok)
4639
- r(4, E = x), r(2, d = Array(E.inputLength).fill("")), r(9, ae = !1), P = E.expirationTime, L = E.serverTime, E.numberOfValidateAttempts !== 0 && (r(6, D = !0), r(8, N = o("invalidOtp"))), E.numberOfValidateAttempts === E.maxValidationAttempts - 1 && r(10, pe = !0), r(3, g = !1), b(), A(), r(16, be = !1);
4662
+ r(4, E = x), r(2, m = Array(E.inputLength).fill("")), r(9, ae = !1), P = E.expirationTime, I = E.serverTime, E.numberOfValidateAttempts !== 0 && (r(6, D = !0), r(8, N = o("invalidOtp"))), E.numberOfValidateAttempts === E.maxValidationAttempts - 1 && r(10, pe = !0), r(3, g = !1), b(), A(), r(16, be = !1);
4640
4663
  else if (x && x.details === ye.MAX_ATTEMPTS_EXCEEDED)
4641
4664
  window.dispatchEvent(new CustomEvent("manualClosePopup"));
4642
4665
  else {
@@ -4650,7 +4673,7 @@ function yo(e, t, r) {
4650
4673
  qr(() => (window.addEventListener("stepUpAuthRequired", j, !1), window.addEventListener("closePopup", he, !1), () => {
4651
4674
  window.removeEventListener("stepUpAuthRequired", j), window.removeEventListener("closePopup", he, !1), $ && clearInterval($), W && clearInterval(W);
4652
4675
  }));
4653
- const Ir = () => re(ve.SMS), Lr = () => re(ve.EMAIL);
4676
+ const Lr = () => re(ve.SMS), Ir = () => re(ve.EMAIL);
4654
4677
  function Nr(f, v) {
4655
4678
  We[f ? "unshift" : "push"](() => {
4656
4679
  ee[v] = f, r(14, ee);
@@ -4663,7 +4686,7 @@ function yo(e, t, r) {
4663
4686
  });
4664
4687
  }
4665
4688
  return e.$$set = (f) => {
4666
- "clientstyling" in f && r(31, a = f.clientstyling), "clientstylingurl" in f && r(32, s = f.clientstylingurl), "mbsource" in f && r(33, u = f.mbsource), "lang" in f && r(34, l = f.lang), "endpoint" in f && r(35, h = f.endpoint), "session" in f && r(36, c = f.session), "translationurl" in f && r(37, m = f.translationurl), "templateid" in f && r(30, _ = f.templateid);
4689
+ "clientstyling" in f && r(31, a = f.clientstyling), "clientstylingurl" in f && r(32, s = f.clientstylingurl), "mbsource" in f && r(33, u = f.mbsource), "lang" in f && r(34, l = f.lang), "endpoint" in f && r(35, h = f.endpoint), "session" in f && r(36, c = f.session), "translationurl" in f && r(37, d = f.translationurl), "templateid" in f && r(30, _ = f.templateid);
4667
4690
  }, e.$$.update = () => {
4668
4691
  e.$$.dirty[0] & /*customStylingContainer*/
4669
4692
  2 | e.$$.dirty[1] & /*clientstyling*/
@@ -4673,7 +4696,7 @@ function yo(e, t, r) {
4673
4696
  2 | e.$$.dirty[1] & /*mbsource*/
4674
4697
  4 && u && Q && fn(Q, `${u}.Style`), e.$$.dirty[1] & /*lang*/
4675
4698
  8 && l && xe(), e.$$.dirty[1] & /*lang, translationurl*/
4676
- 72 && l && m && J(), e.$$.dirty[0] & /*selectedChannel*/
4699
+ 72 && l && d && J(), e.$$.dirty[0] & /*selectedChannel*/
4677
4700
  1 | e.$$.dirty[1] & /*channelSubmitTimers*/
4678
4701
  128 && r(18, n = B && (!U[B] || U[B] === 0)), e.$$.dirty[0] & /*selectedChannel*/
4679
4702
  1 | e.$$.dirty[1] & /*channelSubmitTimers*/
@@ -4681,7 +4704,7 @@ function yo(e, t, r) {
4681
4704
  }, [
4682
4705
  B,
4683
4706
  Q,
4684
- d,
4707
+ m,
4685
4708
  g,
4686
4709
  E,
4687
4710
  S,
@@ -4691,8 +4714,8 @@ function yo(e, t, r) {
4691
4714
  ae,
4692
4715
  pe,
4693
4716
  le,
4694
- me,
4695
4717
  de,
4718
+ me,
4696
4719
  ee,
4697
4720
  te,
4698
4721
  be,
@@ -4716,10 +4739,10 @@ function yo(e, t, r) {
4716
4739
  l,
4717
4740
  h,
4718
4741
  c,
4719
- m,
4742
+ d,
4720
4743
  U,
4721
- Ir,
4722
4744
  Lr,
4745
+ Ir,
4723
4746
  Nr,
4724
4747
  Rr,
4725
4748
  kr,