@everymatrix/cashier-page 1.93.13 → 1.93.14

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 (62) hide show
  1. package/components/{CashierCarousel-BwLnmSXU.js → CashierCarousel-2Y_QFlk8.js} +2 -2
  2. package/components/{CashierCarousel-C-Ot76T6.js → CashierCarousel-LFH0uftr.js} +2 -2
  3. package/components/{CashierCarousel-DDb20K1N.cjs → CashierCarousel-Njl1VM8D.cjs} +1 -1
  4. package/components/{CashierError-DB5YsbBD.js → CashierError-CmQqKE96.js} +2 -2
  5. package/components/{CashierError-Ctxy-Qme.js → CashierError-lww0Xhhd.js} +2 -2
  6. package/components/{CashierError-CXfdPtyr.cjs → CashierError-zaQMVBwa.cjs} +1 -1
  7. package/components/{CashierHeader-B_yj6ExY.cjs → CashierHeader-BRtZK3Yj.cjs} +1 -1
  8. package/components/{CashierHeader-BzNh2baU.js → CashierHeader-BXQCcYBU.js} +1 -1
  9. package/components/{CashierHeader-D-e-mT_m.js → CashierHeader-CV1mrRsd.js} +1 -1
  10. package/components/{CashierIframeRedirect-C-YEoMVL.cjs → CashierIframeRedirect-CYEQyHaS.cjs} +1 -1
  11. package/components/{CashierIframeRedirect-Bk8o0Qj8.js → CashierIframeRedirect-Cp8i9DwX.js} +3 -3
  12. package/components/{CashierIframeRedirect-Bn1MQyKU.js → CashierIframeRedirect-D8w_XK4C.js} +3 -3
  13. package/components/CashierMethodDetails-BvSDCKZN.cjs +85 -0
  14. package/components/{CashierMethodDetails-Cy5LUMPY.js → CashierMethodDetails-D1X3MbmW.js} +1411 -1383
  15. package/components/{CashierMethodDetails-s3Hc8rYm.js → CashierMethodDetails-xNqhPyCs.js} +1442 -1414
  16. package/components/{CashierMethodsList-Cgdq7Tsg.cjs → CashierMethodsList-BOpP96gM.cjs} +1 -1
  17. package/components/{CashierMethodsList-DuzZueLm.js → CashierMethodsList-COnGq2tb.js} +20 -20
  18. package/components/{CashierMethodsList-I3LmBH8B.js → CashierMethodsList-Cj6o2dtI.js} +18 -18
  19. package/components/CashierModal--1fztdGJ.cjs +1 -0
  20. package/components/{CashierModal-YH0ssoDW.js → CashierModal-DANMfzKu.js} +36 -36
  21. package/components/{CashierModal-DLTEFU_5.js → CashierModal-DYVHfktP.js} +18 -18
  22. package/components/{CashierNotifications-BGytN-Gv.cjs → CashierNotifications-CHbG6OoC.cjs} +1 -1
  23. package/components/{CashierNotifications-xuLO2HYj.js → CashierNotifications-IhAYYFLY.js} +1 -1
  24. package/components/{CashierNotifications-Cy13OoBN.js → CashierNotifications-Yvo_vvrp.js} +1 -1
  25. package/components/{CashierPage-CbuACs4z.js → CashierPage-Bl4ava_U.js} +1428 -1358
  26. package/components/CashierPage-C7hbc8P5.cjs +23 -0
  27. package/components/{CashierPage-CMQ7DtMT.js → CashierPage-DY5ngRhg.js} +1817 -1747
  28. package/components/{CashierReceiptPage-CNGFTadr.js → CashierReceiptPage-BtK09hHe.js} +60 -61
  29. package/components/{CashierReceiptPage-5rd84VrZ.js → CashierReceiptPage-CYUSXFbL.js} +49 -50
  30. package/components/CashierReceiptPage-DAfRN8k6.cjs +26 -0
  31. package/components/{CashierSessionExpirationModal-BBNk7wZj.js → CashierSessionExpirationModal-C5gv5Kex.js} +185 -199
  32. package/components/CashierSessionExpirationModal-Cd-Gd4Ir.cjs +2 -0
  33. package/components/{CashierSessionExpirationModal-BWx6wGH0.js → CashierSessionExpirationModal-YLys2PDl.js} +206 -220
  34. package/components/{CashierSpinner-BypYEt1A.cjs → CashierSpinner-Bvspj0cH.cjs} +1 -1
  35. package/components/{CashierSpinner-CZrbrabH.js → CashierSpinner-C_YWOPLu.js} +2 -2
  36. package/components/{CashierSpinner-CnCm7Ry-.js → CashierSpinner-DEY3bxsG.js} +2 -2
  37. package/components/{CashierStepUp-DX8ZLZdO.cjs → CashierStepUp-4B7szI7i.cjs} +1 -1
  38. package/components/{CashierStepUp-CIaBB7t3.js → CashierStepUp-C-C7MzQF.js} +2 -2
  39. package/components/{CashierStepUp-LlSZLWb0.js → CashierStepUp-OocwQDO8.js} +2 -2
  40. package/components/CashierTransactionHistory-Cpr3zr_V.cjs +1 -0
  41. package/components/{CashierTransactionHistory-CUVZgNXA.js → CashierTransactionHistory-Cr0MttRX.js} +59 -60
  42. package/components/{CashierTransactionHistory-bnB5LNyT.js → CashierTransactionHistory-uR3LgcWt.js} +53 -54
  43. package/components/{CashierVerifications-C_1h2g9S.js → CashierVerifications-CZkslVbR.js} +248 -237
  44. package/components/CashierVerifications-Ddf15TF_.cjs +1 -0
  45. package/components/{CashierVerifications-m5uz1XgQ.js → CashierVerifications-k6yPLmW_.js} +269 -250
  46. package/components/{TxnStatusIcon-DBIUEpXY.js → TxnStatusIcon-Dgm2t94G.js} +1 -1
  47. package/components/{TxnStatusIcon-dtcAqT1J.js → TxnStatusIcon-Diii3Es2.js} +1 -1
  48. package/components/{TxnStatusIcon-Mfv7-0P4.cjs → TxnStatusIcon-_lk_AnRy.cjs} +1 -1
  49. package/components/{TxnTypeIcons-CO9tJMGM.js → TxnTypeIcons-BpmVN0J8.js} +1 -1
  50. package/components/{TxnTypeIcons-DA1l09Wa.cjs → TxnTypeIcons-CmilEOnE.cjs} +1 -1
  51. package/components/{TxnTypeIcons-BszDHg0k.js → TxnTypeIcons-DXpOeTfk.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
  56. package/components/CashierMethodDetails-AGQll-Bs.cjs +0 -85
  57. package/components/CashierModal-CeXTp3KK.cjs +0 -1
  58. package/components/CashierPage-Bifz2vCe.cjs +0 -23
  59. package/components/CashierReceiptPage-Bz2xnqoo.cjs +0 -26
  60. package/components/CashierSessionExpirationModal-CoCyXGRj.cjs +0 -2
  61. package/components/CashierTransactionHistory-SQgdS3dm.cjs +0 -1
  62. package/components/CashierVerifications-Bp105B_B.cjs +0 -1
@@ -1,14 +1,14 @@
1
- import { a as Te, i as Le, $ as qe, S as Ee, b as Fe, s as Re, f as _, d as He, z as G, g as O, L as M, l as B, n as P, p as c, q as Q, M as $, N as Ie, r as Ue, C as je, y as Ne, O as U, D as ee, E as We, w as ae, m as v, A as le, P as j, o as q, x as ce, c as Ye, B as Xe, Q as Ke } from "./CashierPage-CMQ7DtMT.js";
2
- import { s as Je, a as Ze, b as Ge } from "./CashierHeader-BzNh2baU.js";
3
- function ie(r, i) {
4
- Te(r, i);
1
+ import { a as Ee, i as Fe, $ as He, S as Re, b as Ie, s as Ue, f as z, c as je, y as $, e as L, L as B, k as T, m as P, o as c, p as ee, M as ie, N as Ne, q as We, C as Ye, x as Xe, O as Y, D as te, E as Ke, v as fe, P as re, l as p, G as Ge, z as ue, Q as X, n as H, w as de, H as Je, A as Ze, B as Qe, R as $e } from "./CashierPage-Bl4ava_U.js";
2
+ import { s as ei, a as ii, b as ti } from "./CashierHeader-CV1mrRsd.js";
3
+ function oe(r, i) {
4
+ Ee(r, i);
5
5
  }
6
- function Qe(r) {
7
- Le({
6
+ function ri(r) {
7
+ Fe({
8
8
  fallbackLocale: "en"
9
- }), qe.set(r);
9
+ }), He.set(r);
10
10
  }
11
- const te = {
11
+ const se = {
12
12
  en: {
13
13
  verificationsRequired: "Verifications Required",
14
14
  "verification.video.how-to": "How to verify yourself?",
@@ -67,7 +67,7 @@ const te = {
67
67
  "verification.shuftipro.validations-started": "Après avoir terminé la vérification, veuillez procéder à la transaction."
68
68
  }
69
69
  };
70
- if (typeof window < "u") {
70
+ if (typeof window != "undefined") {
71
71
  let r = function(i) {
72
72
  return function(...t) {
73
73
  try {
@@ -79,48 +79,48 @@ if (typeof window < "u") {
79
79
  }
80
80
  };
81
81
  };
82
- customElements.define = r(customElements.define), import("./CashierModal-DLTEFU_5.js").then(({ default: i }) => {
82
+ customElements.define = r(customElements.define), import("./CashierModal-DANMfzKu.js").then(({ default: i }) => {
83
83
  !customElements.get("cashier-modal") && customElements.define("cashier-modal", i.element);
84
84
  });
85
85
  }
86
- function $e(r) {
87
- He(r, "svelte-xrv2v8", '*,*::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 .CashierVerificationsWrapper:has(.CashierVerificationMessage){margin:var(--emw--spacing-small, 12px) auto}.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 oi(r) {
87
+ je(r, "svelte-1kmyt1l", '*,*::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 .CashierVerificationsWrapper:has(.CashierVerificationMessage){margin:var(--emw--spacing-small, 12px) auto}.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:var(--verifications-list-height, 0);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 re(r, i, t) {
89
+ function ne(r, i, t) {
90
90
  const o = r.slice();
91
- return o[56] = i[t], o;
91
+ return o[58] = i[t], o;
92
92
  }
93
- function ei(r) {
93
+ function si(r) {
94
94
  let i, t = (
95
95
  /*displayMessages*/
96
- r[3].length > 0 && oe(r)
96
+ r[3].length > 0 && ae(r)
97
97
  );
98
98
  return {
99
99
  c() {
100
100
  i = P("div"), t && t.c(), c(i, "class", "CashierVerificationsWrapper");
101
101
  },
102
102
  m(o, n) {
103
- B(o, i, n), t && t.m(i, null);
103
+ T(o, i, n), t && t.m(i, null);
104
104
  },
105
105
  p(o, n) {
106
106
  /*displayMessages*/
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);
107
+ o[3].length > 0 ? t ? t.p(o, n) : (t = ae(o), t.c(), t.m(i, null)) : t && (t.d(1), t = null);
108
108
  },
109
109
  d(o) {
110
- o && O(i), t && t.d();
110
+ o && L(i), t && t.d();
111
111
  }
112
112
  };
113
113
  }
114
- function ii(r) {
114
+ function ni(r) {
115
115
  let i;
116
116
  return {
117
117
  c() {
118
- i = P("cashier-spinner"), U(
118
+ i = P("cashier-spinner"), Y(
119
119
  i,
120
120
  "clientstylingurl",
121
121
  /*clientstylingurl*/
122
122
  r[1]
123
- ), U(
123
+ ), Y(
124
124
  i,
125
125
  "clientstyling",
126
126
  /*clientstyling*/
@@ -128,17 +128,17 @@ function ii(r) {
128
128
  );
129
129
  },
130
130
  m(t, o) {
131
- B(t, i, o);
131
+ T(t, i, o);
132
132
  },
133
133
  p(t, o) {
134
134
  o[0] & /*clientstylingurl*/
135
- 2 && U(
135
+ 2 && Y(
136
136
  i,
137
137
  "clientstylingurl",
138
138
  /*clientstylingurl*/
139
139
  t[1]
140
140
  ), o[0] & /*clientstyling*/
141
- 1 && U(
141
+ 1 && Y(
142
142
  i,
143
143
  "clientstyling",
144
144
  /*clientstyling*/
@@ -146,168 +146,178 @@ function ii(r) {
146
146
  );
147
147
  },
148
148
  d(t) {
149
- t && O(i);
149
+ t && L(i);
150
150
  }
151
151
  };
152
152
  }
153
- function oe(r) {
154
- let i, t, o, n, a, u, g, C = (
153
+ function ae(r) {
154
+ let i, t, o, n, a, u, g, D = (
155
155
  /*$_*/
156
- r[8]("verificationsRequired") + ""
157
- ), w, V, S, x, p, A, b, E, z = ee(
156
+ r[9]("verificationsRequired") + ""
157
+ ), k, C, S, A, y, w, _, R, F = `${/*verificationsListHeight*/
158
+ r[8]}px`, M, q, x = te(
158
159
  /*displayMessages*/
159
160
  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 = (
161
+ ), m = [];
162
+ for (let f = 0; f < x.length; f += 1)
163
+ m[f] = le(ne(r, x, f));
164
+ let v = (
164
165
  /*videoExists*/
165
- r[6] && ne(r)
166
+ r[6] && ce(r)
166
167
  );
167
168
  return {
168
169
  c() {
169
- i = P("div"), t = j("svg"), o = j("path"), n = j("path"), a = j("path"), u = q(), g = P("p"), w = ce(C), V = q(), S = P("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 = q(), p = P("div");
170
- for (let f = 0; f < d.length; f += 1)
171
- d[f].c();
172
- A = q(), 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"), M(
170
+ i = P("div"), t = X("svg"), o = X("path"), n = X("path"), a = X("path"), u = H(), g = P("p"), k = de(D), C = H(), S = P("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>', A = H(), y = P("div"), w = P("div");
171
+ for (let f = 0; f < m.length; f += 1)
172
+ m[f].c();
173
+ _ = H(), v && v.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"), B(
173
174
  S,
174
175
  "ShowVerifications",
175
176
  /*allVerificationsVisible*/
176
177
  r[4]
177
- ), c(i, "class", "VerificationsHeader"), c(p, "class", "VerificationsList"), M(
178
- p,
178
+ ), c(i, "class", "VerificationsHeader"), c(w, "class", "VerificationsListInner"), Je(() => (
179
+ /*div1_elementresize_handler*/
180
+ r[21].call(w)
181
+ )), c(y, "class", "VerificationsList"), B(
182
+ y,
179
183
  "ShowVerifications",
180
184
  /*allVerificationsVisible*/
181
185
  r[4]
182
- );
186
+ ), re(y, "--verifications-list-height", F);
183
187
  },
184
- m(f, k) {
185
- B(f, i, k), v(i, t), v(t, o), v(t, n), v(t, a), v(i, u), v(i, g), v(g, w), v(i, V), v(i, S), B(f, x, k), B(f, p, k);
186
- for (let m = 0; m < d.length; m += 1)
187
- d[m] && d[m].m(p, null);
188
- v(p, A), h && h.m(p, null), b || (E = le(
188
+ m(f, V) {
189
+ T(f, i, V), p(i, t), p(t, o), p(t, n), p(t, a), p(i, u), p(i, g), p(g, k), p(i, C), p(i, S), T(f, A, V), T(f, y, V), p(y, w);
190
+ for (let d = 0; d < m.length; d += 1)
191
+ m[d] && m[d].m(w, null);
192
+ p(w, _), v && v.m(w, null), R = Ge(
193
+ w,
194
+ /*div1_elementresize_handler*/
195
+ r[21].bind(w)
196
+ ), M || (q = ue(
189
197
  i,
190
198
  "click",
191
199
  /*toggleVerifications*/
192
- r[9]
193
- ), b = !0);
200
+ r[10]
201
+ ), M = !0);
194
202
  },
195
- p(f, k) {
196
- if (k[0] & /*$_*/
197
- 256 && C !== (C = /*$_*/
198
- f[8]("verificationsRequired") + "") && ae(w, C), k[0] & /*allVerificationsVisible*/
199
- 16 && M(
203
+ p(f, V) {
204
+ if (V[0] & /*$_*/
205
+ 512 && D !== (D = /*$_*/
206
+ f[9]("verificationsRequired") + "") && fe(k, D), V[0] & /*allVerificationsVisible*/
207
+ 16 && B(
200
208
  S,
201
209
  "ShowVerifications",
202
210
  /*allVerificationsVisible*/
203
211
  f[4]
204
- ), k[0] & /*displayMessages*/
212
+ ), V[0] & /*displayMessages*/
205
213
  8) {
206
- z = ee(
214
+ x = te(
207
215
  /*displayMessages*/
208
216
  f[3]
209
217
  );
210
- let m;
211
- for (m = 0; m < z.length; m += 1) {
212
- const L = re(f, z, m);
213
- d[m] ? d[m].p(L, k) : (d[m] = se(L), d[m].c(), d[m].m(p, A));
218
+ let d;
219
+ for (d = 0; d < x.length; d += 1) {
220
+ const j = ne(f, x, d);
221
+ m[d] ? m[d].p(j, V) : (m[d] = le(j), m[d].c(), m[d].m(w, _));
214
222
  }
215
- for (; m < d.length; m += 1)
216
- d[m].d(1);
217
- d.length = z.length;
223
+ for (; d < m.length; d += 1)
224
+ m[d].d(1);
225
+ m.length = x.length;
218
226
  }
219
227
  /*videoExists*/
220
- f[6] ? h ? h.p(f, k) : (h = ne(f), h.c(), h.m(p, null)) : h && (h.d(1), h = null), k[0] & /*allVerificationsVisible*/
221
- 16 && M(
222
- p,
228
+ f[6] ? v ? v.p(f, V) : (v = ce(f), v.c(), v.m(w, null)) : v && (v.d(1), v = null), V[0] & /*allVerificationsVisible*/
229
+ 16 && B(
230
+ y,
223
231
  "ShowVerifications",
224
232
  /*allVerificationsVisible*/
225
233
  f[4]
226
- );
234
+ ), V[0] & /*verificationsListHeight*/
235
+ 256 && F !== (F = `${/*verificationsListHeight*/
236
+ f[8]}px`) && re(y, "--verifications-list-height", F);
227
237
  },
228
238
  d(f) {
229
- f && (O(i), O(x), O(p)), We(d, f), h && h.d(), b = !1, E();
239
+ f && (L(i), L(A), L(y)), Ke(m, f), v && v.d(), R(), M = !1, q();
230
240
  }
231
241
  };
232
242
  }
233
- function se(r) {
243
+ function le(r) {
234
244
  let i, t, o, n, a = (
235
245
  /*message*/
236
- r[56] + ""
246
+ r[58] + ""
237
247
  );
238
248
  return {
239
249
  c() {
240
- i = P("div"), t = P("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 = q(), n = P("p"), c(t, "class", "IconVerification"), c(n, "class", "text"), c(i, "class", "CashierVerificationMessage Test");
250
+ i = P("div"), t = P("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 = H(), n = P("p"), c(t, "class", "IconVerification"), c(n, "class", "text"), c(i, "class", "CashierVerificationMessage Test");
241
251
  },
242
252
  m(u, g) {
243
- B(u, i, g), v(i, t), v(i, o), v(i, n), n.innerHTML = a;
253
+ T(u, i, g), p(i, t), p(i, o), p(i, n), n.innerHTML = a;
244
254
  },
245
255
  p(u, g) {
246
256
  g[0] & /*displayMessages*/
247
257
  8 && a !== (a = /*message*/
248
- u[56] + "") && (n.innerHTML = a);
258
+ u[58] + "") && (n.innerHTML = a);
249
259
  },
250
260
  d(u) {
251
- u && O(i);
261
+ u && L(i);
252
262
  }
253
263
  };
254
264
  }
255
- function ne(r) {
265
+ function ce(r) {
256
266
  let i, t, o, n, a = (
257
267
  /*$_*/
258
- r[8]("verification.video.how-to") + ""
259
- ), u, g, C;
268
+ r[9]("verification.video.how-to") + ""
269
+ ), u, g, D;
260
270
  return {
261
271
  c() {
262
- i = P("div"), t = P("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 = q(), n = P("div"), u = ce(a), c(t, "class", "IconVideo"), c(n, "class", "CashierVerificationVideoLink"), M(
272
+ i = P("div"), t = P("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 = H(), n = P("div"), u = de(a), c(t, "class", "IconVideo"), c(n, "class", "CashierVerificationVideoLink"), B(
263
273
  n,
264
274
  "CashierVerificationVideoLinkDesktop",
265
275
  /*desktopView*/
266
276
  r[5]
267
277
  ), c(i, "class", "CashierVerificationVideo Test");
268
278
  },
269
- m(w, V) {
270
- B(w, i, V), v(i, t), v(i, o), v(i, n), v(n, u), g || (C = le(
279
+ m(k, C) {
280
+ T(k, i, C), p(i, t), p(i, o), p(i, n), p(n, u), g || (D = ue(
271
281
  i,
272
282
  "click",
273
283
  /*showVideo*/
274
- r[10]
284
+ r[11]
275
285
  ), g = !0);
276
286
  },
277
- p(w, V) {
278
- V[0] & /*$_*/
279
- 256 && a !== (a = /*$_*/
280
- w[8]("verification.video.how-to") + "") && ae(u, a), V[0] & /*desktopView*/
281
- 32 && M(
287
+ p(k, C) {
288
+ C[0] & /*$_*/
289
+ 512 && a !== (a = /*$_*/
290
+ k[9]("verification.video.how-to") + "") && fe(u, a), C[0] & /*desktopView*/
291
+ 32 && B(
282
292
  n,
283
293
  "CashierVerificationVideoLinkDesktop",
284
294
  /*desktopView*/
285
- w[5]
295
+ k[5]
286
296
  );
287
297
  },
288
- d(w) {
289
- w && O(i), g = !1, C();
298
+ d(k) {
299
+ k && L(i), g = !1, D();
290
300
  }
291
301
  };
292
302
  }
293
- function ti(r) {
303
+ function ai(r) {
294
304
  let i;
295
305
  function t(a, u) {
296
306
  if (
297
307
  /*isLoading*/
298
308
  a[7]
299
309
  )
300
- return ii;
310
+ return ni;
301
311
  if (
302
312
  /*displayMessages*/
303
313
  a[3]
304
314
  )
305
- return ei;
315
+ return si;
306
316
  }
307
317
  let o = t(r), n = o && o(r);
308
318
  return {
309
319
  c() {
310
- i = P("div"), n && n.c(), c(i, "class", "CashierVerifications"), M(
320
+ i = P("div"), n && n.c(), c(i, "class", "CashierVerifications"), B(
311
321
  i,
312
322
  "CashierVerificationsDesktop",
313
323
  /*desktopView*/
@@ -315,310 +325,319 @@ function ti(r) {
315
325
  );
316
326
  },
317
327
  m(a, u) {
318
- B(a, i, u), n && n.m(i, null), r[20](i);
328
+ T(a, i, u), n && n.m(i, null), r[22](i);
319
329
  },
320
330
  p(a, u) {
321
331
  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
- 32 && M(
332
+ 32 && B(
323
333
  i,
324
334
  "CashierVerificationsDesktop",
325
335
  /*desktopView*/
326
336
  a[5]
327
337
  );
328
338
  },
329
- i: G,
330
- o: G,
339
+ i: $,
340
+ o: $,
331
341
  d(a) {
332
- a && O(i), n && n.d(), r[20](null);
342
+ a && L(i), n && n.d(), r[22](null);
333
343
  }
334
344
  };
335
345
  }
336
- const ri = "verification_explanation_video_widgets.MP4";
337
- function oi(r, i, t) {
346
+ const li = "verification_explanation_video_widgets.MP4";
347
+ function ci(r, i, t) {
338
348
  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: g = "" } = i, { clientstyling: C = "" } = i, { clientstylingurl: w = "" } = i, { session: V = "" } = i, { customerid: S = "" } = i, { playersession: x = "" } = i, { userroles: p = "" } = i, { mbsource: A = "" } = i, b, E = /* @__PURE__ */ new Set(), z = /* @__PURE__ */ new Set(), d, h, f, k = !1, m = !0, L = !1, N = "", W = !1, fe, H = [], ue = window.navigator.userAgent;
341
- var F;
349
+ ee(r, Qe, (e) => t(9, o = e)), ee(r, $e, (e) => t(31, n = e)), ie.extend(Ne);
350
+ let { endpoint: a } = i, { lang: u = "en" } = i, { translationurl: g = "" } = i, { clientstyling: D = "" } = i, { clientstylingurl: k = "" } = i, { session: C = "" } = i, { customerid: S = "" } = i, { playersession: A = "" } = i, { userroles: y = "" } = i, { mbsource: w = "" } = i, _, R = /* @__PURE__ */ new Set(), F = /* @__PURE__ */ new Set(), M, q, x, m = !1, v = !0, f = !1, V = "", d = !1, j, N = [], K = 0, me = window.navigator.userAgent;
351
+ var I;
342
352
  (function(e) {
343
353
  e.Manual = "Manual", e.ShuftiPro = "ShuftiPro";
344
- })(F || (F = {}));
345
- var Y;
354
+ })(I || (I = {}));
355
+ var G;
346
356
  (function(e) {
347
357
  e.Requested = "Requested";
348
- })(Y || (Y = {}));
349
- var y;
358
+ })(G || (G = {}));
359
+ var b;
350
360
  (function(e) {
351
361
  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;
362
+ })(b || (b = {}));
363
+ var U;
354
364
  (function(e) {
355
365
  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 K = (e) => {
366
+ })(U || (U = {}));
367
+ const J = (e) => {
358
368
  e.data && e.data.type;
359
369
  };
360
- Ue(() => (window.addEventListener("message", K), Ae(), () => {
361
- window.removeEventListener("message", K);
370
+ We(() => (window.addEventListener("message", J), Me(), () => {
371
+ window.removeEventListener("message", J);
362
372
  }));
363
- const de = [
364
- y.InProgress,
365
- y.Referred,
366
- y.AwaitingForResponse
367
- ], me = () => {
373
+ const he = [
374
+ b.InProgress,
375
+ b.Referred,
376
+ b.AwaitingForResponse
377
+ ], pe = () => {
368
378
  let e = g;
369
379
  if (e)
370
380
  return fetch(e).then((s) => s.json()).then((s) => {
371
381
  Object.keys(s).forEach((l) => {
372
- ie(l, s[l]);
382
+ oe(l, s[l]);
373
383
  });
374
384
  }).catch((s) => {
375
385
  console.log(s);
376
386
  });
377
387
  };
378
- Object.keys(te).forEach((e) => {
379
- ie(e, te[e]);
388
+ Object.keys(se).forEach((e) => {
389
+ oe(e, se[e]);
380
390
  });
381
- const he = () => {
382
- Qe(u);
383
- }, J = () => {
384
- t(19, h = ge());
391
+ const ve = () => {
392
+ ri(u);
393
+ }, Z = () => {
394
+ t(20, q = ke());
385
395
  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")), Array.isArray(H) && H.length > 0 && H.indexOf("MM_CHANNEL_BETA") != -1 && s.append("MM_CHANNEL", "BETA");
396
+ s.append("accept", "application/json"), s.append("Content-Type", "application/json"), s.append("x-sessionid", `${A}`), s.append("X-Client-Request-Timestamp", ie.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), Array.isArray(N) && N.length > 0 && N.indexOf("MM_CHANNEL_BETA") != -1 && s.append("MM_CHANNEL", "BETA");
387
397
  const l = {
388
398
  method: "POST",
389
399
  headers: s,
390
400
  body: JSON.stringify({})
391
401
  };
392
- t(7, W = !0), fetch(e, l).then((D) => D.json()).then((D) => {
393
- const X = pe(D?.Verifications);
394
- d = we(X), d.VerificationStatuses.forEach((I) => {
395
- I.VerificationUrlType !== "Widget" && E.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 = (V || n).split(".")[1];
402
+ t(7, d = !0), fetch(e, l).then((h) => h.json()).then((h) => {
403
+ const O = ge(h == null ? void 0 : h.Verifications);
404
+ M = ye(O), M.VerificationStatuses.forEach((W) => {
405
+ W.VerificationUrlType !== "Widget" && R.add(W.Vendor);
406
+ }), t(3, x = _e());
407
+ }).finally(() => t(7, d = !1));
408
+ }, ge = (e) => e ? e.sort((s, l) => new Date(l.Created).getTime() - new Date(s.Created).getTime()) : [], we = () => {
409
+ n && Z();
410
+ }, ke = () => {
411
+ let e = (C || n).split(".")[1];
402
412
  if (e) {
403
413
  let s = JSON.parse(atob(e));
404
- return s.cdn + "/cashier/operator-assets/" + s?.mid;
414
+ return s.cdn + "/cashier/operator-assets/" + (s == null ? void 0 : s.mid);
405
415
  }
406
416
  return "";
407
- }, we = (e) => {
417
+ }, ye = (e) => {
418
+ var l;
408
419
  if (!e || !e.length)
409
420
  return {
410
- VerificationSummaryStatus: y.Unverified,
421
+ VerificationSummaryStatus: b.Unverified,
411
422
  VerificationStatuses: []
412
423
  };
413
- const s = ye(e);
424
+ const s = be(e);
414
425
  if (s && s.length) {
415
- const l = ke(s);
426
+ const h = Ve(s);
416
427
  return {
417
- VerificationSummaryStatus: l.Status,
418
- VerificationUrl: l.Flags?.DeferredUrlKey,
419
- VerificationStatuses: Z(s, l.Status)
428
+ VerificationSummaryStatus: h.Status,
429
+ VerificationUrl: (l = h.Flags) == null ? void 0 : l.DeferredUrlKey,
430
+ VerificationStatuses: Q(s, h.Status)
420
431
  };
421
432
  } else
422
433
  return {
423
- VerificationSummaryStatus: e.some((D) => D.Status === y.Failed) ? y.Failed : y.Verified,
424
- VerificationStatuses: Z(e, [y.Failed])
434
+ VerificationSummaryStatus: e.some((O) => O.Status === b.Failed) ? b.Failed : b.Verified,
435
+ VerificationStatuses: Q(e, [b.Failed])
425
436
  };
426
- }, ke = (e) => e.reduce(
437
+ }, Ve = (e) => e.reduce(
427
438
  (s, l) => s ? new Date(s) < new Date(l) ? l : s : l,
428
439
  0
429
- ), Z = (e, s) => e.filter((l) => s.includes(l.Status)).map((l) => ({
430
- Type: l.Type,
431
- Vendor: l.VendorName,
432
- VerificationDocuments: l.Documents ? [...l.Documents] : [],
433
- VerificationUrlType: l.FlowInfo?.Type,
434
- VerificationUrl: l.FlowInfo?.Url
435
- })), ye = (e) => e.filter((s) => de.includes(s.Status) ? s.FlowInfo && s.FlowInfo.Url || Ve(s) || be(s) : !1), Ve = (e) => {
436
- const s = e.Documents && e.VendorName === F.Manual, l = e.Documents && e.Documents.some((D) => D.Status === Y.Requested);
440
+ ), Q = (e, s) => e.filter((l) => s.includes(l.Status)).map((l) => {
441
+ var h, O;
442
+ return {
443
+ Type: l.Type,
444
+ Vendor: l.VendorName,
445
+ VerificationDocuments: l.Documents ? [...l.Documents] : [],
446
+ VerificationUrlType: (h = l.FlowInfo) == null ? void 0 : h.Type,
447
+ VerificationUrl: (O = l.FlowInfo) == null ? void 0 : O.Url
448
+ };
449
+ }), be = (e) => e.filter((s) => he.includes(s.Status) ? s.FlowInfo && s.FlowInfo.Url || Pe(s) || Ce(s) : !1), Pe = (e) => {
450
+ const s = e.Documents && e.VendorName === I.Manual, l = e.Documents && e.Documents.some((h) => h.Status === G.Requested);
437
451
  return s && l;
438
- }, be = (e) => e.VendorName === F.ShuftiPro && e.Status === y.Referred, Pe = () => {
439
- switch (d.VerificationSummaryStatus) {
440
- case y.InProgress:
452
+ }, Ce = (e) => e.VendorName === I.ShuftiPro && e.Status === b.Referred, _e = () => {
453
+ switch (M.VerificationSummaryStatus) {
454
+ case b.InProgress:
441
455
  const e = [];
442
- return E.forEach((s) => {
443
- e.push(Ce(s));
456
+ return R.forEach((s) => {
457
+ e.push(De(s));
444
458
  }), e;
445
- case y.Referred:
459
+ case b.Referred:
446
460
  return [o("verification.idenfy.referred-awaiting")];
447
- case y.Failed:
461
+ case b.Failed:
448
462
  return [o("verification.message.failed")];
449
463
  }
450
- }, Ce = (e) => {
451
- const s = d.VerificationStatuses.filter((l) => l.Vendor === e);
452
- if (e === F.ShuftiPro)
453
- return De(s);
464
+ }, De = (e) => {
465
+ const s = M.VerificationStatuses.filter((l) => l.Vendor === e);
466
+ if (e === I.ShuftiPro)
467
+ return Se(s);
454
468
  {
455
- const l = o("verification.idenfy.link-name"), D = {
469
+ const l = o("verification.idenfy.link-name"), h = {
456
470
  link: `<a href="${s[0].VerificationUrl}" target="_blank">${l}</a>`
457
471
  };
458
- return o("verification.idenfy.in-progress", { values: D });
472
+ return o("verification.idenfy.in-progress", { values: h });
459
473
  }
460
- }, De = (e) => {
461
- const s = [], l = {}, D = [
462
- R.Biometric,
463
- R.Documents,
464
- R.ProofOfAddress
474
+ }, Se = (e) => {
475
+ const s = [], l = {}, h = [
476
+ U.Biometric,
477
+ U.Documents,
478
+ U.ProofOfAddress
465
479
  ];
466
- e.forEach((T) => {
467
- D.includes(T.Type) && (s.push(T.Type), l[T.Type] = Se(T, _e(T.Type)));
480
+ e.forEach((E) => {
481
+ h.includes(E.Type) && (s.push(E.Type), l[E.Type] = ze(E, Ae(E.Type)));
468
482
  });
469
- let X = s.every((T) => z.has(T)), I = `verification.shuftipro.in-progress.${s.sort().join(".")}`;
470
- return X ? o("verification.shuftipro.validations-started") : o(I, { values: l });
471
- }, Se = (e, s) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${s}</a>`, _e = (e) => o(`verification.shuftipro.link-name.${e}`), xe = () => {
472
- t(4, k = !k);
473
- }, Ae = () => {
474
- t(5, m = !je(ue));
475
- }, ze = () => {
476
- N = h + "/" + u + "/" + ri;
483
+ let O = s.every((E) => F.has(E)), W = `verification.shuftipro.in-progress.${s.sort().join(".")}`;
484
+ return O ? o("verification.shuftipro.validations-started") : o(W, { values: l });
485
+ }, ze = (e, s) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${s}</a>`, Ae = (e) => o(`verification.shuftipro.link-name.${e}`), xe = () => {
486
+ t(4, m = !m);
487
+ }, Me = () => {
488
+ t(5, v = !Ye(me));
489
+ }, Oe = () => {
490
+ V = q + "/" + u + "/" + li;
477
491
  try {
478
- fetch(N, { method: "HEAD" }).then((e) => {
479
- t(6, L = e.ok);
492
+ fetch(V, { method: "HEAD" }).then((e) => {
493
+ t(6, f = e.ok);
480
494
  });
481
- } catch {
482
- t(6, L = !1);
495
+ } catch (e) {
496
+ t(6, f = !1);
483
497
  }
484
- }, Me = () => {
485
- p.length > 0 && (H = p.split(","));
486
- }, Oe = () => {
498
+ }, Be = () => {
499
+ y.length > 0 && (N = y.split(","));
500
+ }, Le = () => {
487
501
  window.dispatchEvent(new CustomEvent(
488
502
  "modal-update",
489
503
  {
490
- detail: { type: "video", data: { videoSrc: N } }
504
+ detail: { type: "video", data: { videoSrc: V } }
491
505
  }
492
506
  ));
493
507
  };
494
- function Be(e) {
495
- Ne[e ? "unshift" : "push"](() => {
496
- b = e, t(2, b);
508
+ function Te() {
509
+ K = this.clientHeight, t(8, K);
510
+ }
511
+ function qe(e) {
512
+ Xe[e ? "unshift" : "push"](() => {
513
+ _ = e, t(2, _);
497
514
  });
498
515
  }
499
516
  return r.$$set = (e) => {
500
- "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, C = e.clientstyling), "clientstylingurl" in e && t(1, w = e.clientstylingurl), "session" in e && t(14, V = e.session), "customerid" in e && t(15, S = e.customerid), "playersession" in e && t(16, x = e.playersession), "userroles" in e && t(17, p = e.userroles), "mbsource" in e && t(18, A = e.mbsource);
517
+ "endpoint" in e && t(12, a = e.endpoint), "lang" in e && t(13, u = e.lang), "translationurl" in e && t(14, g = e.translationurl), "clientstyling" in e && t(0, D = e.clientstyling), "clientstylingurl" in e && t(1, k = e.clientstylingurl), "session" in e && t(15, C = e.session), "customerid" in e && t(16, S = e.customerid), "playersession" in e && t(17, A = e.playersession), "userroles" in e && t(18, y = e.userroles), "mbsource" in e && t(19, w = e.mbsource);
501
518
  }, r.$$.update = () => {
502
519
  r.$$.dirty[0] & /*userroles*/
503
- 131072 && p && Me(), r.$$.dirty[0] & /*lang*/
504
- 4096 && u && he(), r.$$.dirty[0] & /*endpoint, session, playersession*/
505
- 83968 && a && V && x && J(), r.$$.dirty[0] & /*endpoint, session, playersession*/
506
- 83968 && a && !V && x && ve(), r.$$.dirty[0] & /*translationurl*/
507
- 8192 && g && me(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
508
- 5 && C && b && Je(b, C), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
509
- 6 && w && b && Ze(b, w), r.$$.dirty[0] & /*staticCdnUrl*/
510
- 524288 && h && ze(), r.$$.dirty[0] & /*mbsource, customStylingContainer*/
511
- 262148 && A && b && Ge(b, `${A}.Style`, fe);
520
+ 262144 && y && Be(), r.$$.dirty[0] & /*lang*/
521
+ 8192 && u && ve(), r.$$.dirty[0] & /*endpoint, session, playersession*/
522
+ 167936 && a && C && A && Z(), r.$$.dirty[0] & /*endpoint, session, playersession*/
523
+ 167936 && a && !C && A && we(), r.$$.dirty[0] & /*translationurl*/
524
+ 16384 && g && pe(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
525
+ 5 && D && _ && ei(_, D), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
526
+ 6 && k && _ && ii(_, k), r.$$.dirty[0] & /*staticCdnUrl*/
527
+ 1048576 && q && Oe(), r.$$.dirty[0] & /*mbsource, customStylingContainer*/
528
+ 524292 && w && _ && ti(_, `${w}.Style`, j);
512
529
  }, [
513
- C,
514
- w,
515
- b,
516
- f,
530
+ D,
517
531
  k,
532
+ _,
533
+ x,
518
534
  m,
519
- L,
520
- W,
535
+ v,
536
+ f,
537
+ d,
538
+ K,
521
539
  o,
522
540
  xe,
523
- Oe,
541
+ Le,
524
542
  a,
525
543
  u,
526
544
  g,
527
- V,
545
+ C,
528
546
  S,
529
- x,
530
- p,
531
547
  A,
532
- h,
533
- Be
548
+ y,
549
+ w,
550
+ q,
551
+ Te,
552
+ qe
534
553
  ];
535
554
  }
536
- class si extends Ee {
555
+ class fi extends Re {
537
556
  constructor(i) {
538
- super(), Fe(
557
+ super(), Ie(
539
558
  this,
540
559
  i,
541
- oi,
542
- ti,
543
- Re,
560
+ ci,
561
+ ai,
562
+ Ue,
544
563
  {
545
- endpoint: 11,
546
- lang: 12,
547
- translationurl: 13,
564
+ endpoint: 12,
565
+ lang: 13,
566
+ translationurl: 14,
548
567
  clientstyling: 0,
549
568
  clientstylingurl: 1,
550
- session: 14,
551
- customerid: 15,
552
- playersession: 16,
553
- userroles: 17,
554
- mbsource: 18
569
+ session: 15,
570
+ customerid: 16,
571
+ playersession: 17,
572
+ userroles: 18,
573
+ mbsource: 19
555
574
  },
556
- $e,
575
+ oi,
557
576
  [-1, -1]
558
577
  );
559
578
  }
560
579
  get endpoint() {
561
- return this.$$.ctx[11];
580
+ return this.$$.ctx[12];
562
581
  }
563
582
  set endpoint(i) {
564
- this.$$set({ endpoint: i }), _();
583
+ this.$$set({ endpoint: i }), z();
565
584
  }
566
585
  get lang() {
567
- return this.$$.ctx[12];
586
+ return this.$$.ctx[13];
568
587
  }
569
588
  set lang(i) {
570
- this.$$set({ lang: i }), _();
589
+ this.$$set({ lang: i }), z();
571
590
  }
572
591
  get translationurl() {
573
- return this.$$.ctx[13];
592
+ return this.$$.ctx[14];
574
593
  }
575
594
  set translationurl(i) {
576
- this.$$set({ translationurl: i }), _();
595
+ this.$$set({ translationurl: i }), z();
577
596
  }
578
597
  get clientstyling() {
579
598
  return this.$$.ctx[0];
580
599
  }
581
600
  set clientstyling(i) {
582
- this.$$set({ clientstyling: i }), _();
601
+ this.$$set({ clientstyling: i }), z();
583
602
  }
584
603
  get clientstylingurl() {
585
604
  return this.$$.ctx[1];
586
605
  }
587
606
  set clientstylingurl(i) {
588
- this.$$set({ clientstylingurl: i }), _();
607
+ this.$$set({ clientstylingurl: i }), z();
589
608
  }
590
609
  get session() {
591
- return this.$$.ctx[14];
610
+ return this.$$.ctx[15];
592
611
  }
593
612
  set session(i) {
594
- this.$$set({ session: i }), _();
613
+ this.$$set({ session: i }), z();
595
614
  }
596
615
  get customerid() {
597
- return this.$$.ctx[15];
616
+ return this.$$.ctx[16];
598
617
  }
599
618
  set customerid(i) {
600
- this.$$set({ customerid: i }), _();
619
+ this.$$set({ customerid: i }), z();
601
620
  }
602
621
  get playersession() {
603
- return this.$$.ctx[16];
622
+ return this.$$.ctx[17];
604
623
  }
605
624
  set playersession(i) {
606
- this.$$set({ playersession: i }), _();
625
+ this.$$set({ playersession: i }), z();
607
626
  }
608
627
  get userroles() {
609
- return this.$$.ctx[17];
628
+ return this.$$.ctx[18];
610
629
  }
611
630
  set userroles(i) {
612
- this.$$set({ userroles: i }), _();
631
+ this.$$set({ userroles: i }), z();
613
632
  }
614
633
  get mbsource() {
615
- return this.$$.ctx[18];
634
+ return this.$$.ctx[19];
616
635
  }
617
636
  set mbsource(i) {
618
- this.$$set({ mbsource: i }), _();
637
+ this.$$set({ mbsource: i }), z();
619
638
  }
620
639
  }
621
- Ye(si, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, userroles: {}, mbsource: {} }, [], [], !0);
640
+ Ze(fi, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, userroles: {}, mbsource: {} }, [], [], !0);
622
641
  export {
623
- si as default
642
+ fi as default
624
643
  };