@everymatrix/cashier-page 1.90.2 → 1.90.4

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.
Files changed (55) hide show
  1. package/components/{CashierCarousel-BoRWOAWM.js → CashierCarousel-22zRbSSU.js} +2 -2
  2. package/components/{CashierCarousel-DEYnlAHr.cjs → CashierCarousel-BN_095SP.cjs} +1 -1
  3. package/components/{CashierCarousel-KMbJ36Hw.js → CashierCarousel-s7pRRDSz.js} +2 -2
  4. package/components/{CashierError-B4wZJoy3.js → CashierError-4nP5kLL3.js} +2 -2
  5. package/components/{CashierError-DTpeCDrd.cjs → CashierError-BeaILaAz.cjs} +1 -1
  6. package/components/{CashierError-Ojxcg-Ka.js → CashierError-BhN-vIta.js} +2 -2
  7. package/components/{CashierHeader-70bDXUYr.js → CashierHeader-EuJHOIne.js} +1 -1
  8. package/components/{CashierHeader-C3wqXw8i.js → CashierHeader-Kn2Hwprf.js} +1 -1
  9. package/components/{CashierHeader-DTiQ2Uql.cjs → CashierHeader-s66e-NOo.cjs} +1 -1
  10. package/components/{CashierIframeRedirect-LL9whfSj.cjs → CashierIframeRedirect-Cbx59O4_.cjs} +1 -1
  11. package/components/{CashierIframeRedirect-D4_P5tea.js → CashierIframeRedirect-D5G49IqD.js} +3 -3
  12. package/components/{CashierIframeRedirect-CweMc_nE.js → CashierIframeRedirect-DL9D1b98.js} +3 -3
  13. package/components/{CashierMethodDetails-C0EHnoEF.js → CashierMethodDetails-B9S-KVLw.js} +684 -672
  14. package/components/{CashierMethodDetails-DKWU_-EC.cjs → CashierMethodDetails-BkBUAevr.cjs} +4 -4
  15. package/components/{CashierMethodDetails-BbgZJsGx.js → CashierMethodDetails-DAq-cITv.js} +693 -681
  16. package/components/{CashierMethodsList-ZIeDaX82.js → CashierMethodsList-BQu-35Yn.js} +2 -2
  17. package/components/{CashierMethodsList-BfeSUOP6.cjs → CashierMethodsList-CBjP9D6n.cjs} +1 -1
  18. package/components/{CashierMethodsList-DT2-Xs0d.js → CashierMethodsList-DykWD8nw.js} +2 -2
  19. package/components/{CashierModal-CGNr1dtp.cjs → CashierModal-CROoN0al.cjs} +1 -1
  20. package/components/{CashierModal-1ob-ORdo.js → CashierModal-CTACxj9I.js} +2 -2
  21. package/components/{CashierModal-auMot9uK.js → CashierModal-LTEJ4KPP.js} +2 -2
  22. package/components/{CashierNotifications-DwpVx88o.cjs → CashierNotifications-D4Xo6Pme.cjs} +1 -1
  23. package/components/{CashierNotifications-1zS4jTFr.js → CashierNotifications-DkUEiUpy.js} +1 -1
  24. package/components/{CashierNotifications-W-vKJfau.js → CashierNotifications-DukgYBg4.js} +1 -1
  25. package/components/{CashierPage-CsT0xRQt.js → CashierPage-21hBR4pX.js} +518 -514
  26. package/components/{CashierPage-Cz6Sy2lO.js → CashierPage-BTcko6kP.js} +625 -621
  27. package/components/{CashierPage-D7cZXI1W.cjs → CashierPage-Bh81M6ZO.cjs} +6 -6
  28. package/components/{CashierReceiptPage-BRnTuxiH.js → CashierReceiptPage-FjAZ44pi.js} +544 -553
  29. package/components/{CashierReceiptPage-1gI7UF3o.cjs → CashierReceiptPage-i6BfdbYK.cjs} +2 -2
  30. package/components/{CashierReceiptPage-D_7vOvSQ.js → CashierReceiptPage-lDEfS0uW.js} +584 -553
  31. package/components/{CashierSessionExpirationModal-DUuiIJeI.cjs → CashierSessionExpirationModal-BiJFHL7H.cjs} +1 -1
  32. package/components/{CashierSessionExpirationModal-pj6DNvOs.js → CashierSessionExpirationModal-DfZe9ONw.js} +2 -2
  33. package/components/{CashierSessionExpirationModal-CaUKhvg_.js → CashierSessionExpirationModal-ZfZ0hYaO.js} +2 -2
  34. package/components/{CashierSpinner-BWVLhGca.js → CashierSpinner-7HbWew6q.js} +2 -2
  35. package/components/{CashierSpinner-BY_PNaky.cjs → CashierSpinner-BT8DBSq7.cjs} +1 -1
  36. package/components/{CashierSpinner-N3hAvTEu.js → CashierSpinner-DmuwOhD_.js} +2 -2
  37. package/components/{CashierStepUp-Dlw2xvmv.js → CashierStepUp-BTi2BOIZ.js} +2 -2
  38. package/components/{CashierStepUp-10z4YQDr.cjs → CashierStepUp-BYfEhJ4I.cjs} +1 -1
  39. package/components/{CashierStepUp-CBhNhpVX.js → CashierStepUp-CmreFt96.js} +2 -2
  40. package/components/{CashierTransactionHistory-B1-7-cnI.js → CashierTransactionHistory-Dm3ONWE7.js} +5 -5
  41. package/components/{CashierTransactionHistory-D3VWhujp.js → CashierTransactionHistory-DzVyhtrf.js} +5 -5
  42. package/components/{CashierTransactionHistory-hd_XBwhR.cjs → CashierTransactionHistory-QCgtTUBB.cjs} +1 -1
  43. package/components/{CashierVerifications-B0qGbQ_e.cjs → CashierVerifications-BXCkIwXi.cjs} +1 -1
  44. package/components/{CashierVerifications-Bqv3zHaE.js → CashierVerifications-Do-odPQk.js} +276 -265
  45. package/components/{CashierVerifications-DG89tnTY.js → CashierVerifications-e6vmIB2b.js} +276 -265
  46. package/components/{TxnStatusIcon-C6FZzOb5.js → TxnStatusIcon-BPIia246.js} +1 -1
  47. package/components/{TxnStatusIcon-Cp6DCnG3.cjs → TxnStatusIcon-DDBDYS6L.cjs} +1 -1
  48. package/components/{TxnStatusIcon-f6MQV7GX.js → TxnStatusIcon-DIof1Ybm.js} +1 -1
  49. package/components/{TxnTypeIcons-BLR0KOZr.cjs → TxnTypeIcons-CYT6muFm.cjs} +1 -1
  50. package/components/{TxnTypeIcons-C7BUNYMQ.js → TxnTypeIcons-HL7AhkMz.js} +1 -1
  51. package/components/{TxnTypeIcons-DnwUM158.js → TxnTypeIcons-fKPCfJhC.js} +1 -1
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +1 -1
  54. package/esnext/cashier-page.js +1 -1
  55. package/package.json +1 -1
@@ -1,14 +1,14 @@
1
- import { a as Oe, i as Me, $ as Be, S as Le, b as Te, s as qe, f as z, c as Ee, y as J, e as M, L as O, k as B, m as C, o as c, p as Z, M as G, N as Fe, q as Re, C as Ie, x as He, O as U, D as Q, E as Ue, v as ne, l as v, z as se, P as j, n as E, w as ae, A as je, B as Ne, Q as We } from "./CashierPage-Cz6Sy2lO.js";
2
- import { s as Ye, a as Xe, b as Ke } from "./CashierHeader-C3wqXw8i.js";
3
- function $(o, i) {
4
- Oe(o, i);
1
+ import { a as Le, i as Te, $ as qe, S as Ee, b as Fe, s as Re, f as _, c as He, y as G, e as B, L as O, k as L, m as C, o as c, p as Q, M as $, N as Ie, q as Ue, C as je, x as Ne, O as U, D as ee, E as We, v as ae, l as g, z as le, P as j, n as E, w as ce, A as Ye, B as Xe, Q as Ke } from "./CashierPage-BTcko6kP.js";
2
+ import { s as Je, a as Ze, b as Ge } from "./CashierHeader-Kn2Hwprf.js";
3
+ function ie(r, i) {
4
+ Le(r, i);
5
5
  }
6
- function Je(o) {
7
- Me({
6
+ function Qe(r) {
7
+ Te({
8
8
  fallbackLocale: "en"
9
- }), Be.set(o);
9
+ }), qe.set(r);
10
10
  }
11
- const ee = {
11
+ const te = {
12
12
  en: {
13
13
  verificationsRequired: "Verifications Required",
14
14
  "verification.video.how-to": "How to verify yourself?",
@@ -68,50 +68,50 @@ const ee = {
68
68
  }
69
69
  };
70
70
  if (typeof window != "undefined") {
71
- let o = function(i) {
71
+ let r = function(i) {
72
72
  return function(...t) {
73
73
  try {
74
74
  return i.apply(this, t);
75
- } catch (r) {
76
- if (r instanceof DOMException && r.message.includes("has already been used with this registry") || r.message.includes("Cannot define multiple custom elements with the same tag name"))
75
+ } catch (o) {
76
+ if (o instanceof DOMException && o.message.includes("has already been used with this registry") || o.message.includes("Cannot define multiple custom elements with the same tag name"))
77
77
  return !1;
78
- throw r;
78
+ throw o;
79
79
  }
80
80
  };
81
81
  };
82
- customElements.define = o(customElements.define), import("./CashierModal-auMot9uK.js").then(({ default: i }) => {
82
+ customElements.define = r(customElements.define), import("./CashierModal-LTEJ4KPP.js").then(({ default: i }) => {
83
83
  !customElements.get("cashier-modal") && customElements.define("cashier-modal", i.element);
84
84
  });
85
85
  }
86
- function Ze(o) {
87
- Ee(o, "svelte-etf668", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin:var(--emw--spacing-small, 12px) 0}.CashierVerificationsWrapper{width:100%;padding:10px;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);position:relative;overflow:hidden;isolation:isolate;flex-direction:column;background-color:rgba(255, 255, 255, 0.063);display:flex;z-index:1;width:97%;margin:auto;cursor:pointer;user-select:none}.CashierVerificationsWrapper::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary) 0%, var(--emw--color-black) 100%);background-size:200% 200%;animation:gradientWave 8s ease infinite}.CashierVerificationsWrapper::after{content:"";position:absolute;inset:-2px;z-index:-2;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary), var(--emw--color-black) transparent);background-size:200% 200%;animation:gradientWave 8s ease infinite reverse;filter:blur(10px);opacity:0.6}@keyframes gradientWave{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}.VerificationsHeader{display:flex;align-items:center}.VerificationsList{max-height:0;overflow:hidden;transform:translateY(-10px);opacity:0;transition:max-height 0.3s ease, transform 0.3s ease, opacity 0.3s ease}.VerificationsList.ShowVerifications{max-height:100%;transform:translateY(0);opacity:1}.CashierVerificationChevron.ShowVerifications svg{-o-transform:rotateX(180deg);-ms-transform:rotateX(180deg);-moz-transform:rotateX(180deg);-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:rgba(0, 0, 0, 0.15);border-radius:10px;margin-bottom:10px;padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg path{stroke:var(--emw--color-typography, var(--emw--color-white, #ffffff))}p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:500;font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word;font-weight:200;font-size:12px}.text a{color:var(--emw--color-primary, #f9c408);font-weight:500}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s;margin-right:5px}.CashierVerificationChevron svg path{fill:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotateX(90deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center;fill:var(--emw--color-primary, #f9c408)}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-primary, #f9c408);font-family:inherit;font-size:var(--emw--font-size-small, 12px);line-height:120%;margin:var(--emw--spacing-small, 12px);font-weight:500}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}');
86
+ function $e(r) {
87
+ He(r, "svelte-etf668", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin:var(--emw--spacing-small, 12px) 0}.CashierVerificationsWrapper{width:100%;padding:10px;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);position:relative;overflow:hidden;isolation:isolate;flex-direction:column;background-color:rgba(255, 255, 255, 0.063);display:flex;z-index:1;width:97%;margin:auto;cursor:pointer;user-select:none}.CashierVerificationsWrapper::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary) 0%, var(--emw--color-black) 100%);background-size:200% 200%;animation:gradientWave 8s ease infinite}.CashierVerificationsWrapper::after{content:"";position:absolute;inset:-2px;z-index:-2;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary), var(--emw--color-black) transparent);background-size:200% 200%;animation:gradientWave 8s ease infinite reverse;filter:blur(10px);opacity:0.6}@keyframes gradientWave{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}.VerificationsHeader{display:flex;align-items:center}.VerificationsList{max-height:0;overflow:hidden;transform:translateY(-10px);opacity:0;transition:max-height 0.3s ease, transform 0.3s ease, opacity 0.3s ease}.VerificationsList.ShowVerifications{max-height:100%;transform:translateY(0);opacity:1}.CashierVerificationChevron.ShowVerifications svg{-o-transform:rotateX(180deg);-ms-transform:rotateX(180deg);-moz-transform:rotateX(180deg);-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:rgba(0, 0, 0, 0.15);border-radius:10px;margin-bottom:10px;padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg path{stroke:var(--emw--color-typography, var(--emw--color-white, #ffffff))}p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:500;font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word;font-weight:200;font-size:12px}.text a{color:var(--emw--color-primary, #f9c408);font-weight:500}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s;margin-right:5px}.CashierVerificationChevron svg path{fill:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotateX(90deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center;fill:var(--emw--color-primary, #f9c408)}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-primary, #f9c408);font-family:inherit;font-size:var(--emw--font-size-small, 12px);line-height:120%;margin:var(--emw--spacing-small, 12px);font-weight:500}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}');
88
88
  }
89
- function ie(o, i, t) {
90
- const r = o.slice();
91
- return r[53] = i[t], r;
89
+ function re(r, i, t) {
90
+ const o = r.slice();
91
+ return o[56] = i[t], o;
92
92
  }
93
- function Ge(o) {
93
+ function ei(r) {
94
94
  let i, t = (
95
95
  /*displayMessages*/
96
- o[3].length > 0 && te(o)
96
+ r[3].length > 0 && oe(r)
97
97
  );
98
98
  return {
99
99
  c() {
100
100
  i = C("div"), t && t.c(), c(i, "class", "CashierVerificationsWrapper");
101
101
  },
102
- m(r, s) {
103
- B(r, i, s), t && t.m(i, null);
102
+ m(o, n) {
103
+ L(o, i, n), t && t.m(i, null);
104
104
  },
105
- p(r, s) {
105
+ p(o, n) {
106
106
  /*displayMessages*/
107
- r[3].length > 0 ? t ? t.p(r, s) : (t = te(r), t.c(), t.m(i, null)) : t && (t.d(1), t = null);
107
+ o[3].length > 0 ? t ? t.p(o, n) : (t = oe(o), t.c(), t.m(i, null)) : t && (t.d(1), t = null);
108
108
  },
109
- d(r) {
110
- r && M(i), t && t.d();
109
+ d(o) {
110
+ o && B(i), t && t.d();
111
111
  }
112
112
  };
113
113
  }
114
- function Qe(o) {
114
+ function ii(r) {
115
115
  let i;
116
116
  return {
117
117
  c() {
@@ -119,25 +119,25 @@ function Qe(o) {
119
119
  i,
120
120
  "clientstylingurl",
121
121
  /*clientstylingurl*/
122
- o[1]
122
+ r[1]
123
123
  ), U(
124
124
  i,
125
125
  "clientstyling",
126
126
  /*clientstyling*/
127
- o[0]
127
+ r[0]
128
128
  );
129
129
  },
130
- m(t, r) {
131
- B(t, i, r);
130
+ m(t, o) {
131
+ L(t, i, o);
132
132
  },
133
- p(t, r) {
134
- r[0] & /*clientstylingurl*/
133
+ p(t, o) {
134
+ o[0] & /*clientstylingurl*/
135
135
  2 && U(
136
136
  i,
137
137
  "clientstylingurl",
138
138
  /*clientstylingurl*/
139
139
  t[1]
140
- ), r[0] & /*clientstyling*/
140
+ ), o[0] & /*clientstyling*/
141
141
  1 && U(
142
142
  i,
143
143
  "clientstyling",
@@ -146,179 +146,179 @@ function Qe(o) {
146
146
  );
147
147
  },
148
148
  d(t) {
149
- t && M(i);
149
+ t && B(i);
150
150
  }
151
151
  };
152
152
  }
153
- function te(o) {
154
- let i, t, r, s, a, u, g, D = (
153
+ function oe(r) {
154
+ let i, t, o, n, a, u, w, D = (
155
155
  /*$_*/
156
- o[8]("verificationsRequired") + ""
157
- ), k, V, _, x, w, b, T, I, S = Q(
156
+ r[8]("verificationsRequired") + ""
157
+ ), k, b, S, x, v, A, P, F, z = ee(
158
158
  /*displayMessages*/
159
- o[3]
160
- ), m = [];
161
- for (let f = 0; f < S.length; f += 1)
162
- m[f] = re(ie(o, S, f));
163
- let p = (
159
+ r[3]
160
+ ), d = [];
161
+ for (let f = 0; f < z.length; f += 1)
162
+ d[f] = se(re(r, z, f));
163
+ let h = (
164
164
  /*videoExists*/
165
- o[6] && oe(o)
165
+ r[6] && ne(r)
166
166
  );
167
167
  return {
168
168
  c() {
169
- i = C("div"), t = j("svg"), r = j("path"), s = j("path"), a = j("path"), u = E(), g = C("p"), k = ae(D), V = E(), _ = C("span"), _.innerHTML = '<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>', x = E(), w = C("div");
170
- for (let f = 0; f < m.length; f += 1)
171
- m[f].c();
172
- b = E(), p && p.c(), c(r, "d", "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"), c(r, "stroke", "#6E738F"), c(r, "stroke-width", "2"), c(r, "stroke-linecap", "round"), c(r, "stroke-linejoin", "round"), c(s, "d", "M12 8V12"), c(s, "stroke", "#6E738F"), c(s, "stroke-width", "2"), c(s, "stroke-linecap", "round"), c(s, "stroke-linejoin", "round"), c(a, "d", "M12 16H12.01"), c(a, "stroke", "#6E738F"), c(a, "stroke-width", "2"), c(a, "stroke-linecap", "round"), c(a, "stroke-linejoin", "round"), c(t, "width", "24"), c(t, "height", "24"), c(t, "viewBox", "0 0 24 24"), c(t, "fill", "none"), c(t, "xmlns", "http://www.w3.org/2000/svg"), c(_, "class", "CashierVerificationChevron"), O(
173
- _,
169
+ i = C("div"), t = j("svg"), o = j("path"), n = j("path"), a = j("path"), u = E(), w = C("p"), k = ce(D), b = E(), S = C("span"), S.innerHTML = '<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>', x = E(), v = C("div");
170
+ for (let f = 0; f < d.length; f += 1)
171
+ d[f].c();
172
+ A = E(), h && h.c(), c(o, "d", "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"), c(o, "stroke", "#6E738F"), c(o, "stroke-width", "2"), c(o, "stroke-linecap", "round"), c(o, "stroke-linejoin", "round"), c(n, "d", "M12 8V12"), c(n, "stroke", "#6E738F"), c(n, "stroke-width", "2"), c(n, "stroke-linecap", "round"), c(n, "stroke-linejoin", "round"), c(a, "d", "M12 16H12.01"), c(a, "stroke", "#6E738F"), c(a, "stroke-width", "2"), c(a, "stroke-linecap", "round"), c(a, "stroke-linejoin", "round"), c(t, "width", "24"), c(t, "height", "24"), c(t, "viewBox", "0 0 24 24"), c(t, "fill", "none"), c(t, "xmlns", "http://www.w3.org/2000/svg"), c(S, "class", "CashierVerificationChevron"), O(
173
+ S,
174
174
  "ShowVerifications",
175
175
  /*allVerificationsVisible*/
176
- o[4]
177
- ), c(i, "class", "VerificationsHeader"), c(w, "class", "VerificationsList"), O(
178
- w,
176
+ r[4]
177
+ ), c(i, "class", "VerificationsHeader"), c(v, "class", "VerificationsList"), O(
178
+ v,
179
179
  "ShowVerifications",
180
180
  /*allVerificationsVisible*/
181
- o[4]
181
+ r[4]
182
182
  );
183
183
  },
184
- m(f, P) {
185
- B(f, i, P), v(i, t), v(t, r), v(t, s), v(t, a), v(i, u), v(i, g), v(g, k), v(i, V), v(i, _), B(f, x, P), B(f, w, P);
186
- for (let d = 0; d < m.length; d += 1)
187
- m[d] && m[d].m(w, null);
188
- v(w, b), p && p.m(w, null), T || (I = se(
184
+ m(f, y) {
185
+ L(f, i, y), g(i, t), g(t, o), g(t, n), g(t, a), g(i, u), g(i, w), g(w, k), g(i, b), g(i, S), L(f, x, y), L(f, v, y);
186
+ for (let m = 0; m < d.length; m += 1)
187
+ d[m] && d[m].m(v, null);
188
+ g(v, A), h && h.m(v, null), P || (F = le(
189
189
  i,
190
190
  "click",
191
191
  /*toggleVerifications*/
192
- o[9]
193
- ), T = !0);
192
+ r[9]
193
+ ), P = !0);
194
194
  },
195
- p(f, P) {
196
- if (P[0] & /*$_*/
195
+ p(f, y) {
196
+ if (y[0] & /*$_*/
197
197
  256 && D !== (D = /*$_*/
198
- f[8]("verificationsRequired") + "") && ne(k, D), P[0] & /*allVerificationsVisible*/
198
+ f[8]("verificationsRequired") + "") && ae(k, D), y[0] & /*allVerificationsVisible*/
199
199
  16 && O(
200
- _,
200
+ S,
201
201
  "ShowVerifications",
202
202
  /*allVerificationsVisible*/
203
203
  f[4]
204
- ), P[0] & /*displayMessages*/
204
+ ), y[0] & /*displayMessages*/
205
205
  8) {
206
- S = Q(
206
+ z = ee(
207
207
  /*displayMessages*/
208
208
  f[3]
209
209
  );
210
- let d;
211
- for (d = 0; d < S.length; d += 1) {
212
- const q = ie(f, S, d);
213
- m[d] ? m[d].p(q, P) : (m[d] = re(q), m[d].c(), m[d].m(w, b));
210
+ let m;
211
+ for (m = 0; m < z.length; m += 1) {
212
+ const q = re(f, z, m);
213
+ d[m] ? d[m].p(q, y) : (d[m] = se(q), d[m].c(), d[m].m(v, A));
214
214
  }
215
- for (; d < m.length; d += 1)
216
- m[d].d(1);
217
- m.length = S.length;
215
+ for (; m < d.length; m += 1)
216
+ d[m].d(1);
217
+ d.length = z.length;
218
218
  }
219
219
  /*videoExists*/
220
- f[6] ? p ? p.p(f, P) : (p = oe(f), p.c(), p.m(w, null)) : p && (p.d(1), p = null), P[0] & /*allVerificationsVisible*/
220
+ f[6] ? h ? h.p(f, y) : (h = ne(f), h.c(), h.m(v, null)) : h && (h.d(1), h = null), y[0] & /*allVerificationsVisible*/
221
221
  16 && O(
222
- w,
222
+ v,
223
223
  "ShowVerifications",
224
224
  /*allVerificationsVisible*/
225
225
  f[4]
226
226
  );
227
227
  },
228
228
  d(f) {
229
- f && (M(i), M(x), M(w)), Ue(m, f), p && p.d(), T = !1, I();
229
+ f && (B(i), B(x), B(v)), We(d, f), h && h.d(), P = !1, F();
230
230
  }
231
231
  };
232
232
  }
233
- function re(o) {
234
- let i, t, r, s, a = (
233
+ function se(r) {
234
+ let i, t, o, n, a = (
235
235
  /*message*/
236
- o[53] + ""
236
+ r[56] + ""
237
237
  );
238
238
  return {
239
239
  c() {
240
- i = C("div"), t = C("div"), t.innerHTML = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>', r = E(), s = C("p"), c(t, "class", "IconVerification"), c(s, "class", "text"), c(i, "class", "CashierVerificationMessage Test");
240
+ i = C("div"), t = C("div"), t.innerHTML = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>', o = E(), n = C("p"), c(t, "class", "IconVerification"), c(n, "class", "text"), c(i, "class", "CashierVerificationMessage Test");
241
241
  },
242
- m(u, g) {
243
- B(u, i, g), v(i, t), v(i, r), v(i, s), s.innerHTML = a;
242
+ m(u, w) {
243
+ L(u, i, w), g(i, t), g(i, o), g(i, n), n.innerHTML = a;
244
244
  },
245
- p(u, g) {
246
- g[0] & /*displayMessages*/
245
+ p(u, w) {
246
+ w[0] & /*displayMessages*/
247
247
  8 && a !== (a = /*message*/
248
- u[53] + "") && (s.innerHTML = a);
248
+ u[56] + "") && (n.innerHTML = a);
249
249
  },
250
250
  d(u) {
251
- u && M(i);
251
+ u && B(i);
252
252
  }
253
253
  };
254
254
  }
255
- function oe(o) {
256
- let i, t, r, s, a = (
255
+ function ne(r) {
256
+ let i, t, o, n, a = (
257
257
  /*$_*/
258
- o[8]("verification.video.how-to") + ""
259
- ), u, g, D;
258
+ r[8]("verification.video.how-to") + ""
259
+ ), u, w, D;
260
260
  return {
261
261
  c() {
262
- i = C("div"), t = C("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', r = E(), s = C("div"), u = ae(a), c(t, "class", "IconVideo"), c(s, "class", "CashierVerificationVideoLink"), O(
263
- s,
262
+ i = C("div"), t = C("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', o = E(), n = C("div"), u = ce(a), c(t, "class", "IconVideo"), c(n, "class", "CashierVerificationVideoLink"), O(
263
+ n,
264
264
  "CashierVerificationVideoLinkDesktop",
265
265
  /*desktopView*/
266
- o[5]
266
+ r[5]
267
267
  ), c(i, "class", "CashierVerificationVideo Test");
268
268
  },
269
- m(k, V) {
270
- B(k, i, V), v(i, t), v(i, r), v(i, s), v(s, u), g || (D = se(
269
+ m(k, b) {
270
+ L(k, i, b), g(i, t), g(i, o), g(i, n), g(n, u), w || (D = le(
271
271
  i,
272
272
  "click",
273
273
  /*showVideo*/
274
- o[10]
275
- ), g = !0);
274
+ r[10]
275
+ ), w = !0);
276
276
  },
277
- p(k, V) {
278
- V[0] & /*$_*/
277
+ p(k, b) {
278
+ b[0] & /*$_*/
279
279
  256 && a !== (a = /*$_*/
280
- k[8]("verification.video.how-to") + "") && ne(u, a), V[0] & /*desktopView*/
280
+ k[8]("verification.video.how-to") + "") && ae(u, a), b[0] & /*desktopView*/
281
281
  32 && O(
282
- s,
282
+ n,
283
283
  "CashierVerificationVideoLinkDesktop",
284
284
  /*desktopView*/
285
285
  k[5]
286
286
  );
287
287
  },
288
288
  d(k) {
289
- k && M(i), g = !1, D();
289
+ k && B(i), w = !1, D();
290
290
  }
291
291
  };
292
292
  }
293
- function $e(o) {
293
+ function ti(r) {
294
294
  let i;
295
295
  function t(a, u) {
296
296
  if (
297
297
  /*isLoading*/
298
298
  a[7]
299
299
  )
300
- return Qe;
300
+ return ii;
301
301
  if (
302
302
  /*displayMessages*/
303
303
  a[3]
304
304
  )
305
- return Ge;
305
+ return ei;
306
306
  }
307
- let r = t(o), s = r && r(o);
307
+ let o = t(r), n = o && o(r);
308
308
  return {
309
309
  c() {
310
- i = C("div"), s && s.c(), c(i, "class", "CashierVerifications"), O(
310
+ i = C("div"), n && n.c(), c(i, "class", "CashierVerifications"), O(
311
311
  i,
312
312
  "CashierVerificationsDesktop",
313
313
  /*desktopView*/
314
- o[5]
314
+ r[5]
315
315
  );
316
316
  },
317
317
  m(a, u) {
318
- B(a, i, u), s && s.m(i, null), o[19](i);
318
+ L(a, i, u), n && n.m(i, null), r[20](i);
319
319
  },
320
320
  p(a, u) {
321
- r === (r = t(a)) && s ? s.p(a, u) : (s && s.d(1), s = r && r(a), s && (s.c(), s.m(i, null))), u[0] & /*desktopView*/
321
+ o === (o = t(a)) && n ? n.p(a, u) : (n && n.d(1), n = o && o(a), n && (n.c(), n.m(i, null))), u[0] & /*desktopView*/
322
322
  32 && O(
323
323
  i,
324
324
  "CashierVerificationsDesktop",
@@ -326,221 +326,225 @@ function $e(o) {
326
326
  a[5]
327
327
  );
328
328
  },
329
- i: J,
330
- o: J,
329
+ i: G,
330
+ o: G,
331
331
  d(a) {
332
- a && M(i), s && s.d(), o[19](null);
332
+ a && B(i), n && n.d(), r[20](null);
333
333
  }
334
334
  };
335
335
  }
336
- const ei = "verification_explanation_video_widgets.MP4";
337
- function ii(o, i, t) {
338
- let r, s;
339
- Z(o, Ne, (e) => t(8, r = e)), Z(o, We, (e) => t(27, s = e)), G.extend(Fe);
340
- let { endpoint: a } = i, { lang: u = "en" } = i, { translationurl: g = "" } = i, { clientstyling: D = "" } = i, { clientstylingurl: k = "" } = i, { session: V = "" } = i, { customerid: _ = "" } = i, { playersession: x = "" } = i, { mbsource: w = "" } = i, b, T = /* @__PURE__ */ new Set(), I = /* @__PURE__ */ new Set(), S, m, p, f = !1, P = !0, d = !1, q = "", N = !1, le, ce = window.navigator.userAgent;
341
- var F;
336
+ const ri = "verification_explanation_video_widgets.MP4";
337
+ function oi(r, i, t) {
338
+ let o, n;
339
+ Q(r, Xe, (e) => t(8, o = e)), Q(r, Ke, (e) => t(29, n = e)), $.extend(Ie);
340
+ let { endpoint: a } = i, { lang: u = "en" } = i, { translationurl: w = "" } = i, { clientstyling: D = "" } = i, { clientstylingurl: k = "" } = i, { session: b = "" } = i, { customerid: S = "" } = i, { playersession: x = "" } = i, { userroles: v = "" } = i, { mbsource: A = "" } = i, P, F = /* @__PURE__ */ new Set(), z = /* @__PURE__ */ new Set(), d, h, f, y = !1, m = !0, q = !1, N = "", W = !1, fe, X, ue = window.navigator.userAgent;
341
+ var R;
342
342
  (function(e) {
343
343
  e.Manual = "Manual", e.ShuftiPro = "ShuftiPro";
344
- })(F || (F = {}));
345
- var W;
344
+ })(R || (R = {}));
345
+ var Y;
346
346
  (function(e) {
347
347
  e.Requested = "Requested";
348
- })(W || (W = {}));
349
- var y;
348
+ })(Y || (Y = {}));
349
+ var V;
350
350
  (function(e) {
351
351
  e.Unknown = "Unknown", e.Unverified = "Unverified", e.InProgress = "InProgress", e.Failed = "Failed", e.Verified = "Verified", e.Referred = "Referred", e.True = "True", e.False = "False", e.AwaitingForResponse = "AwaitingForResponse";
352
- })(y || (y = {}));
353
- var R;
352
+ })(V || (V = {}));
353
+ var H;
354
354
  (function(e) {
355
355
  e.Unknown = "Unknown", e.Documents = "Documents", e.Age = "Age", e.Pep = "Pep", e.Sanction = "Sanction", e.Aml = "Aml", e.ProofOfAddress = "ProofOfAddress", e.SourceOfWealth = "SourceOfWealth", e.SocialMedia = "SocialMedia", e.Biometric = "Biometric";
356
- })(R || (R = {}));
357
- const Y = (e) => {
356
+ })(H || (H = {}));
357
+ const K = (e) => {
358
358
  e.data && e.data.type;
359
359
  };
360
- Re(() => (window.addEventListener("message", Y), _e(), () => {
361
- window.removeEventListener("message", Y);
360
+ Ue(() => (window.addEventListener("message", K), Ae(), () => {
361
+ window.removeEventListener("message", K);
362
362
  }));
363
- const fe = [
364
- y.InProgress,
365
- y.Referred,
366
- y.AwaitingForResponse
367
- ], ue = () => {
368
- let e = g;
363
+ const de = [
364
+ V.InProgress,
365
+ V.Referred,
366
+ V.AwaitingForResponse
367
+ ], me = () => {
368
+ let e = w;
369
369
  if (e)
370
- return fetch(e).then((n) => n.json()).then((n) => {
371
- Object.keys(n).forEach((l) => {
372
- $(l, n[l]);
370
+ return fetch(e).then((s) => s.json()).then((s) => {
371
+ Object.keys(s).forEach((l) => {
372
+ ie(l, s[l]);
373
373
  });
374
- }).catch((n) => {
375
- console.log(n);
374
+ }).catch((s) => {
375
+ console.log(s);
376
376
  });
377
377
  };
378
- Object.keys(ee).forEach((e) => {
379
- $(e, ee[e]);
378
+ Object.keys(te).forEach((e) => {
379
+ ie(e, te[e]);
380
380
  });
381
- const de = () => {
382
- Je(u);
383
- }, X = () => {
384
- t(18, m = pe());
385
- const e = new URL(`${a}/v1/player/${_}/verification/GetKYCCustomerStatus?language=${u}`), n = new Headers();
386
- n.append("accept", "application/json"), n.append("Content-Type", "application/json"), n.append("x-sessionid", `${x}`), n.append("X-Client-Request-Timestamp", G.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
381
+ const he = () => {
382
+ Qe(u);
383
+ }, J = () => {
384
+ t(19, h = ge());
385
+ const e = new URL(`${a}/v1/player/${S}/verification/GetKYCCustomerStatus?language=${u}`), s = new Headers();
386
+ s.append("accept", "application/json"), s.append("Content-Type", "application/json"), s.append("x-sessionid", `${x}`), s.append("X-Client-Request-Timestamp", $.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), X.indexOf("MM_CHANNEL_BETA") != -1 && s.append("MM_CHANNEL", "BETA");
387
387
  const l = {
388
388
  method: "POST",
389
- headers: n,
389
+ headers: s,
390
390
  body: JSON.stringify({})
391
391
  };
392
- t(7, N = !0), fetch(e, l).then((h) => h.json()).then((h) => {
393
- const A = me(h == null ? void 0 : h.Verifications);
394
- S = ve(A), S.VerificationStatuses.forEach((H) => {
395
- H.VerificationUrlType !== "Widget" && T.add(H.Vendor);
396
- }), t(3, p = Ve());
397
- }).finally(() => t(7, N = !1));
398
- }, me = (e) => e ? e.sort((n, l) => new Date(l.Created).getTime() - new Date(n.Created).getTime()) : [], he = () => {
399
- s && X();
400
- }, pe = () => {
401
- let e = (V || s).split(".")[1];
392
+ t(7, W = !0), fetch(e, l).then((p) => p.json()).then((p) => {
393
+ const M = pe(p == null ? void 0 : p.Verifications);
394
+ d = we(M), d.VerificationStatuses.forEach((I) => {
395
+ I.VerificationUrlType !== "Widget" && F.add(I.Vendor);
396
+ }), t(3, f = Pe());
397
+ }).finally(() => t(7, W = !1));
398
+ }, pe = (e) => e ? e.sort((s, l) => new Date(l.Created).getTime() - new Date(s.Created).getTime()) : [], ve = () => {
399
+ n && J();
400
+ }, ge = () => {
401
+ let e = (b || n).split(".")[1];
402
402
  if (e) {
403
- let n = JSON.parse(atob(e));
404
- return n.cdn + "/cashier/operator-assets/" + (n == null ? void 0 : n.mid);
403
+ let s = JSON.parse(atob(e));
404
+ return s.cdn + "/cashier/operator-assets/" + (s == null ? void 0 : s.mid);
405
405
  }
406
406
  return "";
407
- }, ve = (e) => {
407
+ }, we = (e) => {
408
408
  var l;
409
409
  if (!e || !e.length)
410
410
  return {
411
- VerificationSummaryStatus: y.Unverified,
411
+ VerificationSummaryStatus: V.Unverified,
412
412
  VerificationStatuses: []
413
413
  };
414
- const n = we(e);
415
- if (n && n.length) {
416
- const h = ge(n);
414
+ const s = ye(e);
415
+ if (s && s.length) {
416
+ const p = ke(s);
417
417
  return {
418
- VerificationSummaryStatus: h.Status,
419
- VerificationUrl: (l = h.Flags) == null ? void 0 : l.DeferredUrlKey,
420
- VerificationStatuses: K(n, h.Status)
418
+ VerificationSummaryStatus: p.Status,
419
+ VerificationUrl: (l = p.Flags) == null ? void 0 : l.DeferredUrlKey,
420
+ VerificationStatuses: Z(s, p.Status)
421
421
  };
422
422
  } else
423
423
  return {
424
- VerificationSummaryStatus: e.some((A) => A.Status === y.Failed) ? y.Failed : y.Verified,
425
- VerificationStatuses: K(e, [y.Failed])
424
+ VerificationSummaryStatus: e.some((M) => M.Status === V.Failed) ? V.Failed : V.Verified,
425
+ VerificationStatuses: Z(e, [V.Failed])
426
426
  };
427
- }, ge = (e) => e.reduce(
428
- (n, l) => n ? new Date(n) < new Date(l) ? l : n : l,
427
+ }, ke = (e) => e.reduce(
428
+ (s, l) => s ? new Date(s) < new Date(l) ? l : s : l,
429
429
  0
430
- ), K = (e, n) => e.filter((l) => n.includes(l.Status)).map((l) => {
431
- var h, A;
430
+ ), Z = (e, s) => e.filter((l) => s.includes(l.Status)).map((l) => {
431
+ var p, M;
432
432
  return {
433
433
  Type: l.Type,
434
434
  Vendor: l.VendorName,
435
435
  VerificationDocuments: l.Documents ? [...l.Documents] : [],
436
- VerificationUrlType: (h = l.FlowInfo) == null ? void 0 : h.Type,
437
- VerificationUrl: (A = l.FlowInfo) == null ? void 0 : A.Url
436
+ VerificationUrlType: (p = l.FlowInfo) == null ? void 0 : p.Type,
437
+ VerificationUrl: (M = l.FlowInfo) == null ? void 0 : M.Url
438
438
  };
439
- }), we = (e) => e.filter((n) => fe.includes(n.Status) ? n.FlowInfo && n.FlowInfo.Url || ke(n) || ye(n) : !1), ke = (e) => {
440
- const n = e.Documents && e.VendorName === F.Manual, l = e.Documents && e.Documents.some((h) => h.Status === W.Requested);
441
- return n && l;
442
- }, ye = (e) => e.VendorName === F.ShuftiPro && e.Status === y.Referred, Ve = () => {
443
- switch (S.VerificationSummaryStatus) {
444
- case y.InProgress:
439
+ }), ye = (e) => e.filter((s) => de.includes(s.Status) ? s.FlowInfo && s.FlowInfo.Url || Ve(s) || be(s) : !1), Ve = (e) => {
440
+ const s = e.Documents && e.VendorName === R.Manual, l = e.Documents && e.Documents.some((p) => p.Status === Y.Requested);
441
+ return s && l;
442
+ }, be = (e) => e.VendorName === R.ShuftiPro && e.Status === V.Referred, Pe = () => {
443
+ switch (d.VerificationSummaryStatus) {
444
+ case V.InProgress:
445
445
  const e = [];
446
- return T.forEach((n) => {
447
- e.push(be(n));
446
+ return F.forEach((s) => {
447
+ e.push(Ce(s));
448
448
  }), e;
449
- case y.Referred:
450
- return [r("verification.idenfy.referred-awaiting")];
451
- case y.Failed:
452
- return [r("verification.message.failed")];
449
+ case V.Referred:
450
+ return [o("verification.idenfy.referred-awaiting")];
451
+ case V.Failed:
452
+ return [o("verification.message.failed")];
453
453
  }
454
- }, be = (e) => {
455
- const n = S.VerificationStatuses.filter((l) => l.Vendor === e);
456
- if (e === F.ShuftiPro)
457
- return Pe(n);
454
+ }, Ce = (e) => {
455
+ const s = d.VerificationStatuses.filter((l) => l.Vendor === e);
456
+ if (e === R.ShuftiPro)
457
+ return De(s);
458
458
  {
459
- const l = r("verification.idenfy.link-name"), h = {
460
- link: `<a href="${n[0].VerificationUrl}" target="_blank">${l}</a>`
459
+ const l = o("verification.idenfy.link-name"), p = {
460
+ link: `<a href="${s[0].VerificationUrl}" target="_blank">${l}</a>`
461
461
  };
462
- return r("verification.idenfy.in-progress", { values: h });
462
+ return o("verification.idenfy.in-progress", { values: p });
463
463
  }
464
- }, Pe = (e) => {
465
- const n = [], l = {}, h = [
466
- R.Biometric,
467
- R.Documents,
468
- R.ProofOfAddress
464
+ }, De = (e) => {
465
+ const s = [], l = {}, p = [
466
+ H.Biometric,
467
+ H.Documents,
468
+ H.ProofOfAddress
469
469
  ];
470
- e.forEach((L) => {
471
- h.includes(L.Type) && (n.push(L.Type), l[L.Type] = Ce(L, De(L.Type)));
470
+ e.forEach((T) => {
471
+ p.includes(T.Type) && (s.push(T.Type), l[T.Type] = Se(T, _e(T.Type)));
472
472
  });
473
- let A = n.every((L) => I.has(L)), H = `verification.shuftipro.in-progress.${n.sort().join(".")}`;
474
- return A ? r("verification.shuftipro.validations-started") : r(H, { values: l });
475
- }, Ce = (e, n) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${n}</a>`, De = (e) => r(`verification.shuftipro.link-name.${e}`), Se = () => {
476
- t(4, f = !f);
477
- }, _e = () => {
478
- t(5, P = !Ie(ce));
479
- }, xe = () => {
480
- q = m + "/" + u + "/" + ei;
473
+ let M = s.every((T) => z.has(T)), I = `verification.shuftipro.in-progress.${s.sort().join(".")}`;
474
+ return M ? o("verification.shuftipro.validations-started") : o(I, { values: l });
475
+ }, Se = (e, s) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${s}</a>`, _e = (e) => o(`verification.shuftipro.link-name.${e}`), xe = () => {
476
+ t(4, y = !y);
477
+ }, Ae = () => {
478
+ t(5, m = !je(ue));
479
+ }, ze = () => {
480
+ N = h + "/" + u + "/" + ri;
481
481
  try {
482
- fetch(q, { method: "HEAD" }).then((e) => {
483
- t(6, d = e.ok);
482
+ fetch(N, { method: "HEAD" }).then((e) => {
483
+ t(6, q = e.ok);
484
484
  });
485
485
  } catch (e) {
486
- t(6, d = !1);
486
+ t(6, q = !1);
487
487
  }
488
- }, ze = () => {
488
+ }, Me = () => {
489
+ v.length > 0 && (X = v.split(","));
490
+ }, Oe = () => {
489
491
  window.dispatchEvent(new CustomEvent(
490
492
  "modal-update",
491
493
  {
492
- detail: { type: "video", data: { videoSrc: q } }
494
+ detail: { type: "video", data: { videoSrc: N } }
493
495
  }
494
496
  ));
495
497
  };
496
- function Ae(e) {
497
- He[e ? "unshift" : "push"](() => {
498
- b = e, t(2, b);
498
+ function Be(e) {
499
+ Ne[e ? "unshift" : "push"](() => {
500
+ P = e, t(2, P);
499
501
  });
500
502
  }
501
- return o.$$set = (e) => {
502
- "endpoint" in e && t(11, a = e.endpoint), "lang" in e && t(12, u = e.lang), "translationurl" in e && t(13, g = e.translationurl), "clientstyling" in e && t(0, D = e.clientstyling), "clientstylingurl" in e && t(1, k = e.clientstylingurl), "session" in e && t(14, V = e.session), "customerid" in e && t(15, _ = e.customerid), "playersession" in e && t(16, x = e.playersession), "mbsource" in e && t(17, w = e.mbsource);
503
- }, o.$$.update = () => {
504
- o.$$.dirty[0] & /*lang*/
505
- 4096 && u && de(), o.$$.dirty[0] & /*endpoint, session, playersession*/
506
- 83968 && a && V && x && X(), o.$$.dirty[0] & /*endpoint, session, playersession*/
507
- 83968 && a && !V && x && he(), o.$$.dirty[0] & /*translationurl*/
508
- 8192 && g && ue(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
509
- 5 && D && b && Ye(b, D), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
510
- 6 && k && b && Xe(b, k), o.$$.dirty[0] & /*staticCdnUrl*/
511
- 262144 && m && xe(), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
512
- 131076 && w && b && Ke(b, `${w}.Style`, le);
503
+ return r.$$set = (e) => {
504
+ "endpoint" in e && t(11, a = e.endpoint), "lang" in e && t(12, u = e.lang), "translationurl" in e && t(13, w = e.translationurl), "clientstyling" in e && t(0, D = e.clientstyling), "clientstylingurl" in e && t(1, k = e.clientstylingurl), "session" in e && t(14, b = e.session), "customerid" in e && t(15, S = e.customerid), "playersession" in e && t(16, x = e.playersession), "userroles" in e && t(17, v = e.userroles), "mbsource" in e && t(18, A = e.mbsource);
505
+ }, r.$$.update = () => {
506
+ r.$$.dirty[0] & /*lang*/
507
+ 4096 && u && he(), r.$$.dirty[0] & /*endpoint, session, playersession*/
508
+ 83968 && a && b && x && J(), r.$$.dirty[0] & /*endpoint, session, playersession*/
509
+ 83968 && a && !b && x && ve(), r.$$.dirty[0] & /*translationurl*/
510
+ 8192 && w && me(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
511
+ 5 && D && P && Je(P, D), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
512
+ 6 && k && P && Ze(P, k), r.$$.dirty[0] & /*staticCdnUrl*/
513
+ 524288 && h && ze(), r.$$.dirty[0] & /*userroles*/
514
+ 131072 && v && Me(), r.$$.dirty[0] & /*mbsource, customStylingContainer*/
515
+ 262148 && A && P && Ge(P, `${A}.Style`, fe);
513
516
  }, [
514
517
  D,
515
518
  k,
516
- b,
517
- p,
518
- f,
519
519
  P,
520
- d,
521
- N,
522
- r,
523
- Se,
524
- ze,
520
+ f,
521
+ y,
522
+ m,
523
+ q,
524
+ W,
525
+ o,
526
+ xe,
527
+ Oe,
525
528
  a,
526
529
  u,
527
- g,
528
- V,
529
- _,
530
- x,
531
530
  w,
532
- m,
533
- Ae
531
+ b,
532
+ S,
533
+ x,
534
+ v,
535
+ A,
536
+ h,
537
+ Be
534
538
  ];
535
539
  }
536
- class ti extends Le {
540
+ class si extends Ee {
537
541
  constructor(i) {
538
- super(), Te(
542
+ super(), Fe(
539
543
  this,
540
544
  i,
541
- ii,
542
- $e,
543
- qe,
545
+ oi,
546
+ ti,
547
+ Re,
544
548
  {
545
549
  endpoint: 11,
546
550
  lang: 12,
@@ -550,9 +554,10 @@ class ti extends Le {
550
554
  session: 14,
551
555
  customerid: 15,
552
556
  playersession: 16,
553
- mbsource: 17
557
+ userroles: 17,
558
+ mbsource: 18
554
559
  },
555
- Ze,
560
+ $e,
556
561
  [-1, -1]
557
562
  );
558
563
  }
@@ -560,58 +565,64 @@ class ti extends Le {
560
565
  return this.$$.ctx[11];
561
566
  }
562
567
  set endpoint(i) {
563
- this.$$set({ endpoint: i }), z();
568
+ this.$$set({ endpoint: i }), _();
564
569
  }
565
570
  get lang() {
566
571
  return this.$$.ctx[12];
567
572
  }
568
573
  set lang(i) {
569
- this.$$set({ lang: i }), z();
574
+ this.$$set({ lang: i }), _();
570
575
  }
571
576
  get translationurl() {
572
577
  return this.$$.ctx[13];
573
578
  }
574
579
  set translationurl(i) {
575
- this.$$set({ translationurl: i }), z();
580
+ this.$$set({ translationurl: i }), _();
576
581
  }
577
582
  get clientstyling() {
578
583
  return this.$$.ctx[0];
579
584
  }
580
585
  set clientstyling(i) {
581
- this.$$set({ clientstyling: i }), z();
586
+ this.$$set({ clientstyling: i }), _();
582
587
  }
583
588
  get clientstylingurl() {
584
589
  return this.$$.ctx[1];
585
590
  }
586
591
  set clientstylingurl(i) {
587
- this.$$set({ clientstylingurl: i }), z();
592
+ this.$$set({ clientstylingurl: i }), _();
588
593
  }
589
594
  get session() {
590
595
  return this.$$.ctx[14];
591
596
  }
592
597
  set session(i) {
593
- this.$$set({ session: i }), z();
598
+ this.$$set({ session: i }), _();
594
599
  }
595
600
  get customerid() {
596
601
  return this.$$.ctx[15];
597
602
  }
598
603
  set customerid(i) {
599
- this.$$set({ customerid: i }), z();
604
+ this.$$set({ customerid: i }), _();
600
605
  }
601
606
  get playersession() {
602
607
  return this.$$.ctx[16];
603
608
  }
604
609
  set playersession(i) {
605
- this.$$set({ playersession: i }), z();
610
+ this.$$set({ playersession: i }), _();
606
611
  }
607
- get mbsource() {
612
+ get userroles() {
608
613
  return this.$$.ctx[17];
609
614
  }
615
+ set userroles(i) {
616
+ this.$$set({ userroles: i }), _();
617
+ }
618
+ get mbsource() {
619
+ return this.$$.ctx[18];
620
+ }
610
621
  set mbsource(i) {
611
- this.$$set({ mbsource: i }), z();
622
+ this.$$set({ mbsource: i }), _();
612
623
  }
613
624
  }
614
- je(ti, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, mbsource: {} }, [], [], !0);
625
+ Ye(si, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, userroles: {}, mbsource: {} }, [], [], !0);
615
626
  export {
616
- ti as default
627
+ si as default
617
628
  };