@everymatrix/cashier-verifications 1.54.8 → 1.54.10

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.
@@ -38,7 +38,7 @@ function Pt() {
38
38
  function Ne(e) {
39
39
  e.forEach(Kt);
40
40
  }
41
- function vt(e) {
41
+ function bt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
44
  function er(e, t) {
@@ -211,7 +211,7 @@ function $t(e) {
211
211
  function ti(e, t, r) {
212
212
  const { fragment: i, after_update: n } = e.$$;
213
213
  i && i.m(t, r), lt(() => {
214
- const s = e.$$.on_mount.map(Kt).filter(vt);
214
+ const s = e.$$.on_mount.map(Kt).filter(bt);
215
215
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Ne(s), e.$$.on_mount = [];
216
216
  }), n.forEach(lt);
217
217
  }
@@ -473,7 +473,7 @@ class oi {
473
473
  * @returns {() => void}
474
474
  */
475
475
  $on(t, r) {
476
- if (!vt(r))
476
+ if (!bt(r))
477
477
  return K;
478
478
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
479
479
  return i.push(r), () => {
@@ -537,15 +537,15 @@ function Ae(e, t, r) {
537
537
  return;
538
538
  c();
539
539
  const H = t(i ? u[0] : u, a, l);
540
- s ? a(H) : c = vt(H) ? H : K;
540
+ s ? a(H) : c = bt(H) ? H : K;
541
541
  }, E = n.map(
542
- (H, b) => tr(
542
+ (H, v) => tr(
543
543
  H,
544
544
  ($) => {
545
- u[b] = $, h &= ~(1 << b), o && m();
545
+ u[v] = $, h &= ~(1 << v), o && m();
546
546
  },
547
547
  () => {
548
- h |= 1 << b;
548
+ h |= 1 << v;
549
549
  }
550
550
  )
551
551
  );
@@ -583,19 +583,19 @@ function gi(e, t, r) {
583
583
  return Ie(i, r);
584
584
  });
585
585
  }
586
- function bi(e, t) {
586
+ function vi(e, t) {
587
587
  if (!t.customMerge)
588
588
  return Te;
589
589
  var r = t.customMerge(e);
590
590
  return typeof r == "function" ? r : Te;
591
591
  }
592
- function vi(e) {
592
+ function bi(e) {
593
593
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
594
594
  return Object.propertyIsEnumerable.call(e, t);
595
595
  }) : [];
596
596
  }
597
597
  function Bt(e) {
598
- return Object.keys(e).concat(vi(e));
598
+ return Object.keys(e).concat(bi(e));
599
599
  }
600
600
  function nr(e, t) {
601
601
  try {
@@ -612,7 +612,7 @@ function xi(e, t, r) {
612
612
  return r.isMergeableObject(e) && Bt(e).forEach(function(n) {
613
613
  i[n] = Ie(e[n], r);
614
614
  }), Bt(t).forEach(function(n) {
615
- yi(e, n) || (nr(e, n) && r.isMergeableObject(t[n]) ? i[n] = bi(n, r)(e[n], t[n], r) : i[n] = Ie(t[n], r));
615
+ yi(e, n) || (nr(e, n) && r.isMergeableObject(t[n]) ? i[n] = vi(n, r)(e[n], t[n], r) : i[n] = Ie(t[n], r));
616
616
  }), i;
617
617
  }
618
618
  function Te(e, t, r) {
@@ -881,7 +881,7 @@ function Dt(e) {
881
881
  return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
882
882
  }), t;
883
883
  }
884
- function br(e) {
884
+ function vr(e) {
885
885
  switch (e) {
886
886
  case "sign-auto":
887
887
  return {
@@ -936,7 +936,7 @@ function Ui(e) {
936
936
  return t;
937
937
  }
938
938
  function It(e) {
939
- var t = {}, r = br(e);
939
+ var t = {}, r = vr(e);
940
940
  return r || t;
941
941
  }
942
942
  function Fi(e) {
@@ -1056,7 +1056,7 @@ function Fi(e) {
1056
1056
  t = P(P({}, t), Dt(n.stem));
1057
1057
  continue;
1058
1058
  }
1059
- var a = br(n.stem);
1059
+ var a = vr(n.stem);
1060
1060
  a && (t = P(P({}, t), a));
1061
1061
  var l = Ui(n.stem);
1062
1062
  l && (t = P(P({}, t), l));
@@ -2562,7 +2562,7 @@ var Lt = Xi ? (
2562
2562
  return r;
2563
2563
  }
2564
2564
  )
2565
- ), vr = Yi ? (
2565
+ ), br = Yi ? (
2566
2566
  // Native
2567
2567
  function(t, r) {
2568
2568
  return t.codePointAt(r);
@@ -2612,7 +2612,7 @@ if (ct) {
2612
2612
  } else
2613
2613
  mt = function(t, r) {
2614
2614
  for (var i = []; ; ) {
2615
- var n = vr(t, r);
2615
+ var n = br(t, r);
2616
2616
  if (n === void 0 || xr(n) || an(n))
2617
2617
  break;
2618
2618
  i.push(n), r += n >= 65536 ? 2 : 1;
@@ -2826,18 +2826,18 @@ var nn = (
2826
2826
  var H = this.tryParseArgumentClose(n);
2827
2827
  if (H.err)
2828
2828
  return H;
2829
- var b = O(n, this.clonePosition());
2829
+ var v = O(n, this.clonePosition());
2830
2830
  if (u && Lt(u == null ? void 0 : u.style, "::", 0)) {
2831
2831
  var $ = tn(u.style.slice(2));
2832
2832
  if (l === "number") {
2833
2833
  var c = this.parseNumberSkeletonFromString($, u.styleLocation);
2834
2834
  return c.err ? c : {
2835
- val: { type: C.number, value: i, location: b, style: c.val },
2835
+ val: { type: C.number, value: i, location: v, style: c.val },
2836
2836
  err: null
2837
2837
  };
2838
2838
  } else {
2839
2839
  if ($.length === 0)
2840
- return this.error(T.EXPECT_DATE_TIME_SKELETON, b);
2840
+ return this.error(T.EXPECT_DATE_TIME_SKELETON, v);
2841
2841
  var G = $;
2842
2842
  this.locale && (G = Vi($, this.locale));
2843
2843
  var m = {
@@ -2847,7 +2847,7 @@ var nn = (
2847
2847
  parsedOptions: this.shouldParseSkeletons ? Ii(G) : {}
2848
2848
  }, U = l === "date" ? C.date : C.time;
2849
2849
  return {
2850
- val: { type: U, value: i, location: b, style: m },
2850
+ val: { type: U, value: i, location: v, style: m },
2851
2851
  err: null
2852
2852
  };
2853
2853
  }
@@ -2856,7 +2856,7 @@ var nn = (
2856
2856
  val: {
2857
2857
  type: l === "number" ? C.number : l === "date" ? C.date : C.time,
2858
2858
  value: i,
2859
- location: b,
2859
+ location: v,
2860
2860
  style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
2861
2861
  },
2862
2862
  err: null
@@ -2983,9 +2983,9 @@ var nn = (
2983
2983
  var H = this.parseMessage(t + 1, r, i);
2984
2984
  if (H.err)
2985
2985
  return H;
2986
- var b = this.tryParseArgumentClose(E);
2987
- if (b.err)
2988
- return b;
2986
+ var v = this.tryParseArgumentClose(E);
2987
+ if (v.err)
2988
+ return v;
2989
2989
  l.push([
2990
2990
  u,
2991
2991
  {
@@ -3021,7 +3021,7 @@ var nn = (
3021
3021
  var t = this.position.offset;
3022
3022
  if (t >= this.message.length)
3023
3023
  throw Error("out of bound");
3024
- var r = vr(this.message, t);
3024
+ var r = br(this.message, t);
3025
3025
  if (r === void 0)
3026
3026
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3027
3027
  return r;
@@ -3220,9 +3220,9 @@ function je(e, t, r, i, n, s, a) {
3220
3220
  continue;
3221
3221
  }
3222
3222
  if (cr(h)) {
3223
- var H = h.children, b = h.value, $ = n[b];
3223
+ var H = h.children, v = h.value, $ = n[v];
3224
3224
  if (!cn($))
3225
- throw new ln(b, "function", a);
3225
+ throw new ln(v, "function", a);
3226
3226
  var G = je(H, t, r, i, n, s), U = $(G.map(function(I) {
3227
3227
  return I.value;
3228
3228
  }));
@@ -3447,7 +3447,7 @@ function gn(e, t) {
3447
3447
  i = void 0;
3448
3448
  return i;
3449
3449
  }
3450
- const ce = {}, bn = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), Er = (e, t) => {
3450
+ const ce = {}, vn = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), Er = (e, t) => {
3451
3451
  if (t == null)
3452
3452
  return;
3453
3453
  if (t in ce && e in ce[t])
@@ -3456,12 +3456,12 @@ const ce = {}, bn = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (c
3456
3456
  for (let i = 0; i < r.length; i++) {
3457
3457
  const n = r[i], s = yn(n, e);
3458
3458
  if (s)
3459
- return bn(e, t, s);
3459
+ return vn(e, t, s);
3460
3460
  }
3461
3461
  };
3462
3462
  let Et;
3463
3463
  const Re = Ye({});
3464
- function vn(e) {
3464
+ function bn(e) {
3465
3465
  return Et[e] || null;
3466
3466
  }
3467
3467
  function wr(e) {
@@ -3470,7 +3470,7 @@ function wr(e) {
3470
3470
  function yn(e, t) {
3471
3471
  if (!wr(e))
3472
3472
  return null;
3473
- const r = vn(e);
3473
+ const r = bn(e);
3474
3474
  return gn(r, t);
3475
3475
  }
3476
3476
  function xn(e) {
@@ -3615,7 +3615,7 @@ var Bn = Object.defineProperty, Mn = Object.defineProperties, Cn = Object.getOwn
3615
3615
  In.call(t, r) && Vt(e, r, t[r]);
3616
3616
  return e;
3617
3617
  }, Nn = (e, t) => Mn(e, Cn(t));
3618
- let bt;
3618
+ let vt;
3619
3619
  const We = Ye(null);
3620
3620
  function Gt(e) {
3621
3621
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
@@ -3625,10 +3625,10 @@ function ke(e, t = Pe().fallbackLocale) {
3625
3625
  return t ? [.../* @__PURE__ */ new Set([...r, ...Gt(t)])] : r;
3626
3626
  }
3627
3627
  function de() {
3628
- return bt != null ? bt : void 0;
3628
+ return vt != null ? vt : void 0;
3629
3629
  }
3630
3630
  We.subscribe((e) => {
3631
- bt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3631
+ vt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3632
3632
  });
3633
3633
  const Rn = (e) => {
3634
3634
  if (e && xn(e) && Xe(e)) {
@@ -3836,7 +3836,7 @@ if (typeof window != "undefined") {
3836
3836
  }
3837
3837
  };
3838
3838
  };
3839
- customElements.define = e(customElements.define), import("./CashierVideoModal-CQ_8R-sy.js").then(({ default: t }) => {
3839
+ customElements.define = e(customElements.define), import("./CashierVideoModal-DE2OHjhr.js").then(({ default: t }) => {
3840
3840
  !customElements.get("cashier-video-modal") && customElements.define("cashier-video-modal", t.element);
3841
3841
  });
3842
3842
  }
@@ -3845,19 +3845,19 @@ var Ar = { exports: {} };
3845
3845
  (function(r, i) {
3846
3846
  e.exports = i();
3847
3847
  })(ir, function() {
3848
- var r = 1e3, i = 6e4, n = 36e5, s = "millisecond", a = "second", l = "minute", o = "hour", u = "day", h = "week", c = "month", m = "quarter", E = "year", H = "date", b = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, G = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, U = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(x) {
3848
+ var r = 1e3, i = 6e4, n = 36e5, s = "millisecond", a = "second", l = "minute", o = "hour", u = "day", h = "week", c = "month", m = "quarter", E = "year", H = "date", v = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, G = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, U = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(x) {
3849
3849
  var g = ["th", "st", "nd", "rd"], d = x % 100;
3850
3850
  return "[" + x + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
3851
3851
  } }, B = function(x, g, d) {
3852
- var v = String(x);
3853
- return !v || v.length >= g ? x : "" + Array(g + 1 - v.length).join(d) + x;
3852
+ var b = String(x);
3853
+ return !b || b.length >= g ? x : "" + Array(g + 1 - b.length).join(d) + x;
3854
3854
  }, X = { s: B, z: function(x) {
3855
- var g = -x.utcOffset(), d = Math.abs(g), v = Math.floor(d / 60), p = d % 60;
3856
- return (g <= 0 ? "+" : "-") + B(v, 2, "0") + ":" + B(p, 2, "0");
3855
+ var g = -x.utcOffset(), d = Math.abs(g), b = Math.floor(d / 60), p = d % 60;
3856
+ return (g <= 0 ? "+" : "-") + B(b, 2, "0") + ":" + B(p, 2, "0");
3857
3857
  }, m: function x(g, d) {
3858
3858
  if (g.date() < d.date()) return -x(d, g);
3859
- var v = 12 * (d.year() - g.year()) + (d.month() - g.month()), p = g.clone().add(v, c), _ = d - p < 0, w = g.clone().add(v + (_ ? -1 : 1), c);
3860
- return +(-(v + (d - p) / (_ ? p - w : w - p)) || 0);
3859
+ var b = 12 * (d.year() - g.year()) + (d.month() - g.month()), p = g.clone().add(b, c), _ = d - p < 0, w = g.clone().add(b + (_ ? -1 : 1), c);
3860
+ return +(-(b + (d - p) / (_ ? p - w : w - p)) || 0);
3861
3861
  }, a: function(x) {
3862
3862
  return x < 0 ? Math.ceil(x) || 0 : Math.floor(x);
3863
3863
  }, p: function(x) {
@@ -3868,7 +3868,7 @@ var Ar = { exports: {} };
3868
3868
  L[I] = U;
3869
3869
  var Y = "$isDayjsObject", R = function(x) {
3870
3870
  return x instanceof ge || !(!x || !x[Y]);
3871
- }, W = function x(g, d, v) {
3871
+ }, W = function x(g, d, b) {
3872
3872
  var p;
3873
3873
  if (!g) return I;
3874
3874
  if (typeof g == "string") {
@@ -3880,7 +3880,7 @@ var Ar = { exports: {} };
3880
3880
  var M = g.name;
3881
3881
  L[M] = g, p = M;
3882
3882
  }
3883
- return !v && p && (I = p), p || !v && I;
3883
+ return !b && p && (I = p), p || !b && I;
3884
3884
  }, k = function(x, g) {
3885
3885
  if (R(x)) return x.clone();
3886
3886
  var d = typeof g == "object" ? g : {};
@@ -3895,8 +3895,8 @@ var Ar = { exports: {} };
3895
3895
  }
3896
3896
  var g = x.prototype;
3897
3897
  return g.parse = function(d) {
3898
- this.$d = function(v) {
3899
- var p = v.date, _ = v.utc;
3898
+ this.$d = function(b) {
3899
+ var p = b.date, _ = b.utc;
3900
3900
  if (p === null) return /* @__PURE__ */ new Date(NaN);
3901
3901
  if (A.u(p)) return /* @__PURE__ */ new Date();
3902
3902
  if (p instanceof Date) return new Date(p);
@@ -3915,22 +3915,22 @@ var Ar = { exports: {} };
3915
3915
  }, g.$utils = function() {
3916
3916
  return A;
3917
3917
  }, g.isValid = function() {
3918
- return this.$d.toString() !== b;
3919
- }, g.isSame = function(d, v) {
3918
+ return this.$d.toString() !== v;
3919
+ }, g.isSame = function(d, b) {
3920
3920
  var p = k(d);
3921
- return this.startOf(v) <= p && p <= this.endOf(v);
3922
- }, g.isAfter = function(d, v) {
3923
- return k(d) < this.startOf(v);
3924
- }, g.isBefore = function(d, v) {
3925
- return this.endOf(v) < k(d);
3926
- }, g.$g = function(d, v, p) {
3927
- return A.u(d) ? this[v] : this.set(p, d);
3921
+ return this.startOf(b) <= p && p <= this.endOf(b);
3922
+ }, g.isAfter = function(d, b) {
3923
+ return k(d) < this.startOf(b);
3924
+ }, g.isBefore = function(d, b) {
3925
+ return this.endOf(b) < k(d);
3926
+ }, g.$g = function(d, b, p) {
3927
+ return A.u(d) ? this[b] : this.set(p, d);
3928
3928
  }, g.unix = function() {
3929
3929
  return Math.floor(this.valueOf() / 1e3);
3930
3930
  }, g.valueOf = function() {
3931
3931
  return this.$d.getTime();
3932
- }, g.startOf = function(d, v) {
3933
- var p = this, _ = !!A.u(v) || v, w = A.p(d), M = function(ae, j) {
3932
+ }, g.startOf = function(d, b) {
3933
+ var p = this, _ = !!A.u(b) || b, w = A.p(d), M = function(ae, j) {
3934
3934
  var Q = A.w(p.$u ? Date.UTC(p.$y, j, ae) : new Date(p.$y, j, ae), p);
3935
3935
  return _ ? Q : Q.endOf(u);
3936
3936
  }, D = function(ae, j) {
@@ -3958,21 +3958,21 @@ var Ar = { exports: {} };
3958
3958
  }
3959
3959
  }, g.endOf = function(d) {
3960
3960
  return this.startOf(d, !1);
3961
- }, g.$set = function(d, v) {
3962
- var p, _ = A.p(d), w = "set" + (this.$u ? "UTC" : ""), M = (p = {}, p[u] = w + "Date", p[H] = w + "Date", p[c] = w + "Month", p[E] = w + "FullYear", p[o] = w + "Hours", p[l] = w + "Minutes", p[a] = w + "Seconds", p[s] = w + "Milliseconds", p)[_], D = _ === u ? this.$D + (v - this.$W) : v;
3961
+ }, g.$set = function(d, b) {
3962
+ var p, _ = A.p(d), w = "set" + (this.$u ? "UTC" : ""), M = (p = {}, p[u] = w + "Date", p[H] = w + "Date", p[c] = w + "Month", p[E] = w + "FullYear", p[o] = w + "Hours", p[l] = w + "Minutes", p[a] = w + "Seconds", p[s] = w + "Milliseconds", p)[_], D = _ === u ? this.$D + (b - this.$W) : b;
3963
3963
  if (_ === c || _ === E) {
3964
3964
  var N = this.clone().set(H, 1);
3965
3965
  N.$d[M](D), N.init(), this.$d = N.set(H, Math.min(this.$D, N.daysInMonth())).$d;
3966
3966
  } else M && this.$d[M](D);
3967
3967
  return this.init(), this;
3968
- }, g.set = function(d, v) {
3969
- return this.clone().$set(d, v);
3968
+ }, g.set = function(d, b) {
3969
+ return this.clone().$set(d, b);
3970
3970
  }, g.get = function(d) {
3971
3971
  return this[A.p(d)]();
3972
- }, g.add = function(d, v) {
3972
+ }, g.add = function(d, b) {
3973
3973
  var p, _ = this;
3974
3974
  d = Number(d);
3975
- var w = A.p(v), M = function(F) {
3975
+ var w = A.p(b), M = function(F) {
3976
3976
  var q = k(_);
3977
3977
  return A.w(q.date(q.date() + Math.round(F * d)), _);
3978
3978
  };
@@ -3982,26 +3982,26 @@ var Ar = { exports: {} };
3982
3982
  if (w === h) return M(7);
3983
3983
  var D = (p = {}, p[l] = i, p[o] = n, p[a] = r, p)[w] || 1, N = this.$d.getTime() + d * D;
3984
3984
  return A.w(N, this);
3985
- }, g.subtract = function(d, v) {
3986
- return this.add(-1 * d, v);
3985
+ }, g.subtract = function(d, b) {
3986
+ return this.add(-1 * d, b);
3987
3987
  }, g.format = function(d) {
3988
- var v = this, p = this.$locale();
3989
- if (!this.isValid()) return p.invalidDate || b;
3990
- var _ = d || "YYYY-MM-DDTHH:mm:ssZ", w = A.z(this), M = this.$H, D = this.$m, N = this.$M, F = p.weekdays, q = p.months, le = p.meridiem, se = function(j, Q, me, be) {
3991
- return j && (j[Q] || j(v, _)) || me[Q].slice(0, be);
3988
+ var b = this, p = this.$locale();
3989
+ if (!this.isValid()) return p.invalidDate || v;
3990
+ var _ = d || "YYYY-MM-DDTHH:mm:ssZ", w = A.z(this), M = this.$H, D = this.$m, N = this.$M, F = p.weekdays, q = p.months, le = p.meridiem, se = function(j, Q, me, ve) {
3991
+ return j && (j[Q] || j(b, _)) || me[Q].slice(0, ve);
3992
3992
  }, oe = function(j) {
3993
3993
  return A.s(M % 12 || 12, j, "0");
3994
3994
  }, ae = le || function(j, Q, me) {
3995
- var be = j < 12 ? "AM" : "PM";
3996
- return me ? be.toLowerCase() : be;
3995
+ var ve = j < 12 ? "AM" : "PM";
3996
+ return me ? ve.toLowerCase() : ve;
3997
3997
  };
3998
3998
  return _.replace(G, function(j, Q) {
3999
3999
  return Q || function(me) {
4000
4000
  switch (me) {
4001
4001
  case "YY":
4002
- return String(v.$y).slice(-2);
4002
+ return String(b.$y).slice(-2);
4003
4003
  case "YYYY":
4004
- return A.s(v.$y, 4, "0");
4004
+ return A.s(b.$y, 4, "0");
4005
4005
  case "M":
4006
4006
  return N + 1;
4007
4007
  case "MM":
@@ -4011,17 +4011,17 @@ var Ar = { exports: {} };
4011
4011
  case "MMMM":
4012
4012
  return se(q, N);
4013
4013
  case "D":
4014
- return v.$D;
4014
+ return b.$D;
4015
4015
  case "DD":
4016
- return A.s(v.$D, 2, "0");
4016
+ return A.s(b.$D, 2, "0");
4017
4017
  case "d":
4018
- return String(v.$W);
4018
+ return String(b.$W);
4019
4019
  case "dd":
4020
- return se(p.weekdaysMin, v.$W, F, 2);
4020
+ return se(p.weekdaysMin, b.$W, F, 2);
4021
4021
  case "ddd":
4022
- return se(p.weekdaysShort, v.$W, F, 3);
4022
+ return se(p.weekdaysShort, b.$W, F, 3);
4023
4023
  case "dddd":
4024
- return F[v.$W];
4024
+ return F[b.$W];
4025
4025
  case "H":
4026
4026
  return String(M);
4027
4027
  case "HH":
@@ -4039,11 +4039,11 @@ var Ar = { exports: {} };
4039
4039
  case "mm":
4040
4040
  return A.s(D, 2, "0");
4041
4041
  case "s":
4042
- return String(v.$s);
4042
+ return String(b.$s);
4043
4043
  case "ss":
4044
- return A.s(v.$s, 2, "0");
4044
+ return A.s(b.$s, 2, "0");
4045
4045
  case "SSS":
4046
- return A.s(v.$ms, 3, "0");
4046
+ return A.s(b.$ms, 3, "0");
4047
4047
  case "Z":
4048
4048
  return w;
4049
4049
  }
@@ -4052,8 +4052,8 @@ var Ar = { exports: {} };
4052
4052
  });
4053
4053
  }, g.utcOffset = function() {
4054
4054
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4055
- }, g.diff = function(d, v, p) {
4056
- var _, w = this, M = A.p(v), D = k(d), N = (D.utcOffset() - this.utcOffset()) * i, F = this - D, q = function() {
4055
+ }, g.diff = function(d, b, p) {
4056
+ var _, w = this, M = A.p(b), D = k(d), N = (D.utcOffset() - this.utcOffset()) * i, F = this - D, q = function() {
4057
4057
  return A.m(w, D);
4058
4058
  };
4059
4059
  switch (M) {
@@ -4089,9 +4089,9 @@ var Ar = { exports: {} };
4089
4089
  return this.endOf(c).$D;
4090
4090
  }, g.$locale = function() {
4091
4091
  return L[this.$L];
4092
- }, g.locale = function(d, v) {
4092
+ }, g.locale = function(d, b) {
4093
4093
  if (!d) return this.$L;
4094
- var p = this.clone(), _ = W(d, v, !0);
4094
+ var p = this.clone(), _ = W(d, b, !0);
4095
4095
  return _ && (p.$L = _), p;
4096
4096
  }, g.clone = function() {
4097
4097
  return A.w(this.$d, this);
@@ -4126,52 +4126,52 @@ var $r = { exports: {} };
4126
4126
  var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, n = /([+-]|\d\d)/g;
4127
4127
  return function(s, a, l) {
4128
4128
  var o = a.prototype;
4129
- l.utc = function(b) {
4130
- var $ = { date: b, utc: !0, args: arguments };
4129
+ l.utc = function(v) {
4130
+ var $ = { date: v, utc: !0, args: arguments };
4131
4131
  return new a($);
4132
- }, o.utc = function(b) {
4132
+ }, o.utc = function(v) {
4133
4133
  var $ = l(this.toDate(), { locale: this.$L, utc: !0 });
4134
- return b ? $.add(this.utcOffset(), r) : $;
4134
+ return v ? $.add(this.utcOffset(), r) : $;
4135
4135
  }, o.local = function() {
4136
4136
  return l(this.toDate(), { locale: this.$L, utc: !1 });
4137
4137
  };
4138
4138
  var u = o.parse;
4139
- o.parse = function(b) {
4140
- b.utc && (this.$u = !0), this.$utils().u(b.$offset) || (this.$offset = b.$offset), u.call(this, b);
4139
+ o.parse = function(v) {
4140
+ v.utc && (this.$u = !0), this.$utils().u(v.$offset) || (this.$offset = v.$offset), u.call(this, v);
4141
4141
  };
4142
4142
  var h = o.init;
4143
4143
  o.init = function() {
4144
4144
  if (this.$u) {
4145
- var b = this.$d;
4146
- this.$y = b.getUTCFullYear(), this.$M = b.getUTCMonth(), this.$D = b.getUTCDate(), this.$W = b.getUTCDay(), this.$H = b.getUTCHours(), this.$m = b.getUTCMinutes(), this.$s = b.getUTCSeconds(), this.$ms = b.getUTCMilliseconds();
4145
+ var v = this.$d;
4146
+ this.$y = v.getUTCFullYear(), this.$M = v.getUTCMonth(), this.$D = v.getUTCDate(), this.$W = v.getUTCDay(), this.$H = v.getUTCHours(), this.$m = v.getUTCMinutes(), this.$s = v.getUTCSeconds(), this.$ms = v.getUTCMilliseconds();
4147
4147
  } else h.call(this);
4148
4148
  };
4149
4149
  var c = o.utcOffset;
4150
- o.utcOffset = function(b, $) {
4150
+ o.utcOffset = function(v, $) {
4151
4151
  var G = this.$utils().u;
4152
- if (G(b)) return this.$u ? 0 : G(this.$offset) ? c.call(this) : this.$offset;
4153
- if (typeof b == "string" && (b = function(I) {
4152
+ if (G(v)) return this.$u ? 0 : G(this.$offset) ? c.call(this) : this.$offset;
4153
+ if (typeof v == "string" && (v = function(I) {
4154
4154
  I === void 0 && (I = "");
4155
4155
  var L = I.match(i);
4156
4156
  if (!L) return null;
4157
4157
  var Y = ("" + L[0]).match(n) || ["-", 0, 0], R = Y[0], W = 60 * +Y[1] + +Y[2];
4158
4158
  return W === 0 ? 0 : R === "+" ? W : -W;
4159
- }(b), b === null)) return this;
4160
- var U = Math.abs(b) <= 16 ? 60 * b : b, B = this;
4161
- if ($) return B.$offset = U, B.$u = b === 0, B;
4162
- if (b !== 0) {
4159
+ }(v), v === null)) return this;
4160
+ var U = Math.abs(v) <= 16 ? 60 * v : v, B = this;
4161
+ if ($) return B.$offset = U, B.$u = v === 0, B;
4162
+ if (v !== 0) {
4163
4163
  var X = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4164
4164
  (B = this.local().add(U + X, r)).$offset = U, B.$x.$localOffset = X;
4165
4165
  } else B = this.utc();
4166
4166
  return B;
4167
4167
  };
4168
4168
  var m = o.format;
4169
- o.format = function(b) {
4170
- var $ = b || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4169
+ o.format = function(v) {
4170
+ var $ = v || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4171
4171
  return m.call(this, $);
4172
4172
  }, o.valueOf = function() {
4173
- var b = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4174
- return this.$d.valueOf() - 6e4 * b;
4173
+ var v = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4174
+ return this.$d.valueOf() - 6e4 * v;
4175
4175
  }, o.isUTC = function() {
4176
4176
  return !!this.$u;
4177
4177
  }, o.toISOString = function() {
@@ -4180,13 +4180,13 @@ var $r = { exports: {} };
4180
4180
  return this.toDate().toUTCString();
4181
4181
  };
4182
4182
  var E = o.toDate;
4183
- o.toDate = function(b) {
4184
- return b === "s" && this.$offset ? l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : E.call(this);
4183
+ o.toDate = function(v) {
4184
+ return v === "s" && this.$offset ? l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : E.call(this);
4185
4185
  };
4186
4186
  var H = o.diff;
4187
- o.diff = function(b, $, G) {
4188
- if (b && this.$u === b.$u) return H.call(this, b, $, G);
4189
- var U = this.local(), B = l(b).local();
4187
+ o.diff = function(v, $, G) {
4188
+ if (v && this.$u === v.$u) return H.call(this, v, $, G);
4189
+ var U = this.local(), B = l(v).local();
4190
4190
  return H.call(U, B, $, G);
4191
4191
  };
4192
4192
  };
@@ -4445,7 +4445,7 @@ const ss = "verification_explanation_video_widgets.MP4", os = "700px", as = "500
4445
4445
  function us(e, t, r) {
4446
4446
  let i;
4447
4447
  Ur(e, Qn, (f) => r(9, i = f)), Wt.extend(rs);
4448
- let { endpoint: n } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: o = "" } = t, { session: u = "" } = t, { customerid: h = "" } = t, { ismobileview: c = "" } = t, m, E = /* @__PURE__ */ new Set(), H = /* @__PURE__ */ new Set(), b, $, G, U = !0, B = !0, X = !1, I = "";
4448
+ let { endpoint: n } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: o = "" } = t, { session: u = "" } = t, { customerid: h = "" } = t, { ismobileview: c = "" } = t, m, E = /* @__PURE__ */ new Set(), H = /* @__PURE__ */ new Set(), v, $, G, U = !0, B = !0, X = !1, I = "";
4449
4449
  var L;
4450
4450
  (function(f) {
4451
4451
  f.Manual = "Manual", f.ShuftiPro = "ShuftiPro";
@@ -4511,8 +4511,8 @@ function us(e, t, r) {
4511
4511
  AllParameters: !1
4512
4512
  })
4513
4513
  };
4514
- fetch(S, he).then((ve) => ve.json()).then((ve) => {
4515
- r(17, $ = ve.StaticCdnUrl + "/cashier/operator-assets/" + f), b = v(ve.Verifications), b.VerificationStatuses.forEach((te) => {
4514
+ fetch(S, he).then((be) => be.json()).then((be) => {
4515
+ r(17, $ = be.StaticCdnUrl + "/cashier/operator-assets/" + f), v = b(be.Verifications), v.VerificationStatuses.forEach((te) => {
4516
4516
  te.VerificationUrlType !== "Widget" && E.add(te.Vendor);
4517
4517
  }), r(4, G = N());
4518
4518
  });
@@ -4526,7 +4526,7 @@ function us(e, t, r) {
4526
4526
  };
4527
4527
  }
4528
4528
  return { merchantId: null, customerId: null };
4529
- }, v = (f) => {
4529
+ }, b = (f) => {
4530
4530
  var S;
4531
4531
  if (!f || !f.length)
4532
4532
  return {
@@ -4562,7 +4562,7 @@ function us(e, t, r) {
4562
4562
  const y = f.Documents && f.VendorName === L.Manual, S = Object.values(f.Documents).some((V) => V.Status === Y.Requested);
4563
4563
  return y && S;
4564
4564
  }, D = (f) => f.VendorName === L.ShuftiPro && f.Status === R.Referred, N = () => {
4565
- switch (b.VerificationSummaryStatus) {
4565
+ switch (v.VerificationSummaryStatus) {
4566
4566
  case R.InProgress:
4567
4567
  const f = [];
4568
4568
  return E.forEach((y) => {
@@ -4574,7 +4574,7 @@ function us(e, t, r) {
4574
4574
  return [i("verification.message.failed")];
4575
4575
  }
4576
4576
  }, F = (f) => {
4577
- const y = b.VerificationStatuses.filter((S) => S.Vendor === f);
4577
+ const y = v.VerificationStatuses.filter((S) => S.Vendor === f);
4578
4578
  if (f === L.ShuftiPro)
4579
4579
  return q(y);
4580
4580
  {
@@ -4592,8 +4592,8 @@ function us(e, t, r) {
4592
4592
  f.forEach((te) => {
4593
4593
  V.includes(te.Type) && (y.push(te.Type), S[te.Type] = le(te, se(te.Type)));
4594
4594
  });
4595
- let he = y.every((te) => H.has(te)), ve = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
4596
- return he ? i("verification.shuftipro.validations-started") : i(ve, { values: S });
4595
+ let he = y.every((te) => H.has(te)), be = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
4596
+ return he ? i("verification.shuftipro.validations-started") : i(be, { values: S });
4597
4597
  }, le = (f, y) => `<a class="verificationLink ${f.Type}" href=" ${f.VerificationUrl} " target="_blank">${y}</a>`, se = (f) => i(`verification.shuftipro.link-name.${f}`), oe = (f, y) => {
4598
4598
  if (f.stopPropagation(), f.target && (f.target.href || f.target.closest("a"))) {
4599
4599
  if (f.target.closest(".verificationLink")) {
@@ -4622,7 +4622,7 @@ function us(e, t, r) {
4622
4622
  },
4623
4623
  window.location.href
4624
4624
  );
4625
- }, me = (f, y) => oe(y, f), be = (f, y) => oe(y, f), Mr = () => Q();
4625
+ }, me = (f, y) => oe(y, f), ve = (f, y) => oe(y, f), Mr = () => Q();
4626
4626
  function Cr(f) {
4627
4627
  at[f ? "unshift" : "push"](() => {
4628
4628
  m = f, r(3, m);
@@ -4659,7 +4659,7 @@ function us(e, t, r) {
4659
4659
  h,
4660
4660
  $,
4661
4661
  me,
4662
- be,
4662
+ ve,
4663
4663
  Mr,
4664
4664
  Cr
4665
4665
  ];
@@ -1,4 +1,4 @@
1
- import { S as j, i as B, s as R, f as C, a as U, n as m, d as v, b as _, e as Z, o as F, c as b, g as n, t as k, h as g, j as p, k as V, l as N, m as H, p as w, q as A } from "./CashierVerifications-D5ikKjKs.js";
1
+ import { S as j, i as B, s as R, f as C, a as U, n as m, d as v, b as _, e as Z, o as F, c as b, g as n, t as k, h as g, j as p, k as V, l as N, m as H, p as w, q as A } from "./CashierVerifications-C6ZKsJp5.js";
2
2
  function G(s) {
3
3
  U(s, "svelte-kll10v", ".CashierVideoWrapper{position:absolute;width:100%;height:500px;left:0;top:0;z-index:8;background-color:var(--mmw--color-grey-light, #f3f6f9)}.CashierVideoWrapperDesktop{height:700px}.CashierVideoHeader{width:100%;height:29px;position:relative;text-transform:uppercase;text-align:right;background-color:var(--mmw--color-grey-light, #f3f6f9);font-size:var(--emw--font-size-medium, 16px);z-index:6}.CashierVideoHeader svg{padding:8px 8px 8px 15px}.CashierVideo video{object-fit:contain;width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.CashierVideo svg{cursor:pointer;margin-left:auto;position:absolute;right:0;z-index:6;padding:5px 13px}");
4
4
  }
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CashierVerifications-D5ikKjKs.js").then((e) => e.C).then(({ default: e }) => {
13
+ customElements.define = n(customElements.define), import("../components/CashierVerifications-C6ZKsJp5.js").then((e) => e.C).then(({ default: e }) => {
14
14
  !customElements.get("cashier-verifications") && customElements.define("cashier-verifications", e.element);
15
15
  });
16
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/cashier-verifications",
3
- "version": "1.54.8",
3
+ "version": "1.54.10",
4
4
  "type": "module",
5
5
  "main": "esnext/cashier-verifications.js",
6
6
  "module": "esnext/cashier-verifications.js",
@@ -21,4 +21,4 @@
21
21
  "publishConfig": {
22
22
  "access": "public"
23
23
  }
24
- }
24
+ }