@everymatrix/cashier-page 1.92.21 → 1.92.26

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 (53) hide show
  1. package/components/{CashierCarousel-B-cM-nlR.js → CashierCarousel-DJXsZKF9.js} +8 -8
  2. package/components/{CashierCarousel-CXoovlrR.js → CashierCarousel-DwrGzk7c.js} +8 -8
  3. package/components/{CashierError-66WHxjwV.js → CashierError-Bqtyy8-q.js} +1 -1
  4. package/components/{CashierError-BCtelxyY.js → CashierError-D054pa3k.js} +1 -1
  5. package/components/{CashierHeader-BbP0idUh.js → CashierHeader-BNDmkX5f.js} +1 -1
  6. package/components/{CashierHeader-B7FnLv3f.js → CashierHeader-DJYOdmdi.js} +1 -1
  7. package/components/{CashierIframeRedirect-C3muwYdO.js → CashierIframeRedirect-CF8dL6ee.js} +3 -3
  8. package/components/{CashierIframeRedirect-Ti9O6xV-.js → CashierIframeRedirect-CbC9sVb1.js} +3 -3
  9. package/components/{CashierMethodDetails-JQOw_ppF.js → CashierMethodDetails--IMv7H_c.js} +2241 -2213
  10. package/components/CashierMethodDetails-DKilKTvZ.cjs +85 -0
  11. package/components/{CashierMethodDetails-C7odWYEI.js → CashierMethodDetails-DyGJR41H.js} +2006 -1978
  12. package/components/{CashierMethodsList-C-7-CmRx.js → CashierMethodsList-B9DjH96_.js} +2 -2
  13. package/components/{CashierMethodsList-CNxb5rVf.cjs → CashierMethodsList-DOHV32Mq.cjs} +1 -1
  14. package/components/{CashierMethodsList-CZxMoF32.js → CashierMethodsList-EK8cDm1s.js} +2 -2
  15. package/components/CashierModal-BLrymidc.cjs +1 -0
  16. package/components/{CashierModal-BsrmgnKi.js → CashierModal-CV1Fn4BP.js} +11 -11
  17. package/components/{CashierModal-B1pfSpCs.js → CashierModal-ZV_9oeml.js} +10 -10
  18. package/components/{CashierNotifications-BXxNDzMM.js → CashierNotifications-C_xReVni.js} +1 -1
  19. package/components/{CashierNotifications-DbJuswYZ.js → CashierNotifications-DHKh64xU.js} +1 -1
  20. package/components/{CashierPage-CIxAkXYb.js → CashierPage-7jpFMiKZ.js} +966 -895
  21. package/components/CashierPage-CX2hDN5u.cjs +1 -0
  22. package/components/{CashierPage-Bhgj76MY.js → CashierPage-HcDcNtRL.js} +927 -852
  23. package/components/{CashierReceiptPage-DjfCUH2F.js → CashierReceiptPage-Cuvw9XxN.js} +154 -167
  24. package/components/{CashierReceiptPage-DGZSqJFO.js → CashierReceiptPage-D1f4aEUM.js} +165 -178
  25. package/components/CashierReceiptPage-DwxZa5J9.cjs +26 -0
  26. package/components/{CashierSessionExpirationModal-BKxhGCj9.js → CashierSessionExpirationModal-C1YOm9xB.js} +3 -3
  27. package/components/CashierSessionExpirationModal-DoavAwb8.cjs +2 -0
  28. package/components/{CashierSessionExpirationModal-CU8HtTwA.js → CashierSessionExpirationModal-N1himP5R.js} +3 -3
  29. package/components/{CashierSpinner-DMrM0bGx.js → CashierSpinner-D3HhhmOb.js} +1 -1
  30. package/components/{CashierSpinner-gJqeYU1n.js → CashierSpinner-DyemUXs_.js} +1 -1
  31. package/components/{CashierStepUp-BtmD9q4i.js → CashierStepUp-CSZd5C7z.js} +1 -1
  32. package/components/{CashierStepUp-B530YrSp.js → CashierStepUp-CmTcFbG9.js} +1 -1
  33. package/components/{CashierTransactionHistory-CWxjn4dO.js → CashierTransactionHistory-Bw9R1B5s.js} +5 -5
  34. package/components/{CashierTransactionHistory-D1hopcmz.js → CashierTransactionHistory-DAr0kNbC.js} +5 -5
  35. package/components/CashierTransactionHistory-DtQlN8Ut.cjs +1 -0
  36. package/components/{CashierVerifications-B3UcXWeI.js → CashierVerifications-D2X_Yoqz.js} +284 -269
  37. package/components/{CashierVerifications-CWsTc0hE.js → CashierVerifications-gBbuT40t.js} +254 -239
  38. package/components/CashierVerifications-sSW0PUAp.cjs +1 -0
  39. package/components/{TxnStatusIcon-DRFHs_0F.js → TxnStatusIcon-BwvCa-Ig.js} +1 -1
  40. package/components/{TxnStatusIcon-DCSCOAn2.js → TxnStatusIcon-ssLhQR5N.js} +1 -1
  41. package/components/{TxnTypeIcons-Bg7QJKuH.js → TxnTypeIcons-B84nFRMh.js} +1 -1
  42. package/components/{TxnTypeIcons-D37zQDwq.js → TxnTypeIcons-DhwUYw-o.js} +1 -1
  43. package/es2015/cashier-page.cjs +1 -1
  44. package/es2015/cashier-page.js +7 -7
  45. package/esnext/cashier-page.js +1 -1
  46. package/package.json +1 -1
  47. package/components/CashierMethodDetails-DjLhLSey.cjs +0 -85
  48. package/components/CashierModal-DF8meLAZ.cjs +0 -1
  49. package/components/CashierPage-iIGUB5g4.cjs +0 -1
  50. package/components/CashierReceiptPage-B530KWIS.cjs +0 -26
  51. package/components/CashierSessionExpirationModal-C6owPr_u.cjs +0 -2
  52. package/components/CashierTransactionHistory-CYaB1hEN.cjs +0 -1
  53. package/components/CashierVerifications-D3X4oFbB.cjs +0 -1
@@ -1,14 +1,14 @@
1
- import { a as Le, i as Te, $ as qe, S as Fe, b as Ee, s as Re, f as _, c as He, G as J, e as O, W as B, k as L, m as C, o as c, p as Q, q as Ie, N as Ue, y as je, A as j, Z as $, a4 as Ne, v as ae, l as g, x as le, X as N, n as F, w as ce, B as We, C as Xe, D as Ye, E as Ke, F as Ze } from "./CashierCarousel-CXoovlrR.js";
2
- import { d as ee, u as Ge, x as Je } from "./CashierMethodDetails-C7odWYEI.js";
3
- function ie(o, i) {
4
- Le(o, i);
1
+ import { a as Fe, i as Ee, $ as He, S as Re, b as Ie, s as Ue, f as A, c as je, G as $, e as O, W as L, k as T, m as P, o as c, p as ee, q as Ne, N as We, y as Xe, A as X, Z as ie, a4 as Ye, v as fe, a3 as te, l as p, a8 as Ke, x as ue, X as Y, n as H, w as de, L as Ze, B as Ge, C as Je, D as Qe, E as $e, F as ei } from "./CashierCarousel-DwrGzk7c.js";
2
+ import { d as re, u as ii, x as ti } from "./CashierMethodDetails-DyGJR41H.js";
3
+ function oe(r, i) {
4
+ Fe(r, i);
5
5
  }
6
- function Qe(o) {
7
- Te({
6
+ function ri(r) {
7
+ Ee({
8
8
  fallbackLocale: "en"
9
- }), qe.set(o);
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,62 +67,62 @@ 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
- function $e(o) {
71
- He(o, "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)}');
70
+ function oi(r) {
71
+ 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)}');
72
72
  }
73
- function re(o, i, t) {
74
- const s = o.slice();
75
- return s[56] = i[t], s;
73
+ function ne(r, i, t) {
74
+ const s = r.slice();
75
+ return s[58] = i[t], s;
76
76
  }
77
- function ei(o) {
77
+ function si(r) {
78
78
  let i, t = (
79
79
  /*displayMessages*/
80
- o[3].length > 0 && oe(o)
80
+ r[3].length > 0 && ae(r)
81
81
  );
82
82
  return {
83
83
  c() {
84
- i = C("div"), t && t.c(), c(i, "class", "CashierVerificationsWrapper");
84
+ i = P("div"), t && t.c(), c(i, "class", "CashierVerificationsWrapper");
85
85
  },
86
86
  m(s, n) {
87
- L(s, i, n), t && t.m(i, null);
87
+ T(s, i, n), t && t.m(i, null);
88
88
  },
89
89
  p(s, n) {
90
90
  /*displayMessages*/
91
- s[3].length > 0 ? t ? t.p(s, n) : (t = oe(s), t.c(), t.m(i, null)) : t && (t.d(1), t = null);
91
+ s[3].length > 0 ? t ? t.p(s, n) : (t = ae(s), t.c(), t.m(i, null)) : t && (t.d(1), t = null);
92
92
  },
93
93
  d(s) {
94
94
  s && O(i), t && t.d();
95
95
  }
96
96
  };
97
97
  }
98
- function ii(o) {
98
+ function ni(r) {
99
99
  let i;
100
100
  return {
101
101
  c() {
102
- i = C("cashier-spinner"), j(
102
+ i = P("cashier-spinner"), X(
103
103
  i,
104
104
  "clientstylingurl",
105
105
  /*clientstylingurl*/
106
- o[1]
107
- ), j(
106
+ r[1]
107
+ ), X(
108
108
  i,
109
109
  "clientstyling",
110
110
  /*clientstyling*/
111
- o[0]
111
+ r[0]
112
112
  );
113
113
  },
114
114
  m(t, s) {
115
- L(t, i, s);
115
+ T(t, i, s);
116
116
  },
117
117
  p(t, s) {
118
118
  s[0] & /*clientstylingurl*/
119
- 2 && j(
119
+ 2 && X(
120
120
  i,
121
121
  "clientstylingurl",
122
122
  /*clientstylingurl*/
123
123
  t[1]
124
124
  ), s[0] & /*clientstyling*/
125
- 1 && j(
125
+ 1 && X(
126
126
  i,
127
127
  "clientstyling",
128
128
  /*clientstyling*/
@@ -134,135 +134,145 @@ function ii(o) {
134
134
  }
135
135
  };
136
136
  }
137
- function oe(o) {
138
- let i, t, s, n, a, u, w, D = (
137
+ function ae(r) {
138
+ let i, t, s, n, a, u, g, D = (
139
139
  /*$_*/
140
- o[8]("verificationsRequired") + ""
141
- ), k, b, S, x, v, A, P, E, z = $(
140
+ r[9]("verificationsRequired") + ""
141
+ ), k, C, S, x, y, w, _, R, E = `${/*verificationsListHeight*/
142
+ r[8]}px`, M, q, z = ie(
142
143
  /*displayMessages*/
143
- o[3]
144
- ), d = [];
144
+ r[3]
145
+ ), h = [];
145
146
  for (let f = 0; f < z.length; f += 1)
146
- d[f] = se(re(o, z, f));
147
- let h = (
147
+ h[f] = le(ne(r, z, f));
148
+ let v = (
148
149
  /*videoExists*/
149
- o[6] && ne(o)
150
+ r[6] && ce(r)
150
151
  );
151
152
  return {
152
153
  c() {
153
- i = C("div"), t = N("svg"), s = N("path"), n = N("path"), a = N("path"), u = F(), w = C("p"), k = ce(D), b = F(), 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 = F(), v = C("div");
154
- for (let f = 0; f < d.length; f += 1)
155
- d[f].c();
156
- A = F(), h && h.c(), c(s, "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(s, "stroke", "#6E738F"), c(s, "stroke-width", "2"), c(s, "stroke-linecap", "round"), c(s, "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(
154
+ i = P("div"), t = Y("svg"), s = Y("path"), n = Y("path"), a = Y("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>', x = H(), y = P("div"), w = P("div");
155
+ for (let f = 0; f < h.length; f += 1)
156
+ h[f].c();
157
+ _ = H(), v && v.c(), c(s, "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(s, "stroke", "#6E738F"), c(s, "stroke-width", "2"), c(s, "stroke-linecap", "round"), c(s, "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"), L(
157
158
  S,
158
159
  "ShowVerifications",
159
160
  /*allVerificationsVisible*/
160
- o[4]
161
- ), c(i, "class", "VerificationsHeader"), c(v, "class", "VerificationsList"), B(
162
- v,
161
+ r[4]
162
+ ), c(i, "class", "VerificationsHeader"), c(w, "class", "VerificationsListInner"), Ze(() => (
163
+ /*div1_elementresize_handler*/
164
+ r[21].call(w)
165
+ )), c(y, "class", "VerificationsList"), L(
166
+ y,
163
167
  "ShowVerifications",
164
168
  /*allVerificationsVisible*/
165
- o[4]
166
- );
169
+ r[4]
170
+ ), te(y, "--verifications-list-height", E);
167
171
  },
168
- m(f, y) {
169
- L(f, i, y), g(i, t), g(t, s), 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);
170
- for (let m = 0; m < d.length; m += 1)
171
- d[m] && d[m].m(v, null);
172
- g(v, A), h && h.m(v, null), P || (E = le(
172
+ m(f, V) {
173
+ T(f, i, V), p(i, t), p(t, s), p(t, n), p(t, a), p(i, u), p(i, g), p(g, k), p(i, C), p(i, S), T(f, x, V), T(f, y, V), p(y, w);
174
+ for (let d = 0; d < h.length; d += 1)
175
+ h[d] && h[d].m(w, null);
176
+ p(w, _), v && v.m(w, null), R = Ke(
177
+ w,
178
+ /*div1_elementresize_handler*/
179
+ r[21].bind(w)
180
+ ), M || (q = ue(
173
181
  i,
174
182
  "click",
175
183
  /*toggleVerifications*/
176
- o[9]
177
- ), P = !0);
184
+ r[10]
185
+ ), M = !0);
178
186
  },
179
- p(f, y) {
180
- if (y[0] & /*$_*/
181
- 256 && D !== (D = /*$_*/
182
- f[8]("verificationsRequired") + "") && ae(k, D), y[0] & /*allVerificationsVisible*/
183
- 16 && B(
187
+ p(f, V) {
188
+ if (V[0] & /*$_*/
189
+ 512 && D !== (D = /*$_*/
190
+ f[9]("verificationsRequired") + "") && fe(k, D), V[0] & /*allVerificationsVisible*/
191
+ 16 && L(
184
192
  S,
185
193
  "ShowVerifications",
186
194
  /*allVerificationsVisible*/
187
195
  f[4]
188
- ), y[0] & /*displayMessages*/
196
+ ), V[0] & /*displayMessages*/
189
197
  8) {
190
- z = $(
198
+ z = ie(
191
199
  /*displayMessages*/
192
200
  f[3]
193
201
  );
194
- let m;
195
- for (m = 0; m < z.length; m += 1) {
196
- const q = re(f, z, m);
197
- d[m] ? d[m].p(q, y) : (d[m] = se(q), d[m].c(), d[m].m(v, A));
202
+ let d;
203
+ for (d = 0; d < z.length; d += 1) {
204
+ const j = ne(f, z, d);
205
+ h[d] ? h[d].p(j, V) : (h[d] = le(j), h[d].c(), h[d].m(w, _));
198
206
  }
199
- for (; m < d.length; m += 1)
200
- d[m].d(1);
201
- d.length = z.length;
207
+ for (; d < h.length; d += 1)
208
+ h[d].d(1);
209
+ h.length = z.length;
202
210
  }
203
211
  /*videoExists*/
204
- 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*/
205
- 16 && B(
206
- v,
212
+ 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*/
213
+ 16 && L(
214
+ y,
207
215
  "ShowVerifications",
208
216
  /*allVerificationsVisible*/
209
217
  f[4]
210
- );
218
+ ), V[0] & /*verificationsListHeight*/
219
+ 256 && E !== (E = `${/*verificationsListHeight*/
220
+ f[8]}px`) && te(y, "--verifications-list-height", E);
211
221
  },
212
222
  d(f) {
213
- f && (O(i), O(x), O(v)), Ne(d, f), h && h.d(), P = !1, E();
223
+ f && (O(i), O(x), O(y)), Ye(h, f), v && v.d(), R(), M = !1, q();
214
224
  }
215
225
  };
216
226
  }
217
- function se(o) {
227
+ function le(r) {
218
228
  let i, t, s, n, a = (
219
229
  /*message*/
220
- o[56] + ""
230
+ r[58] + ""
221
231
  );
222
232
  return {
223
233
  c() {
224
- 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>', s = F(), n = C("p"), c(t, "class", "IconVerification"), c(n, "class", "text"), c(i, "class", "CashierVerificationMessage Test");
234
+ 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>', s = H(), n = P("p"), c(t, "class", "IconVerification"), c(n, "class", "text"), c(i, "class", "CashierVerificationMessage Test");
225
235
  },
226
- m(u, w) {
227
- L(u, i, w), g(i, t), g(i, s), g(i, n), n.innerHTML = a;
236
+ m(u, g) {
237
+ T(u, i, g), p(i, t), p(i, s), p(i, n), n.innerHTML = a;
228
238
  },
229
- p(u, w) {
230
- w[0] & /*displayMessages*/
239
+ p(u, g) {
240
+ g[0] & /*displayMessages*/
231
241
  8 && a !== (a = /*message*/
232
- u[56] + "") && (n.innerHTML = a);
242
+ u[58] + "") && (n.innerHTML = a);
233
243
  },
234
244
  d(u) {
235
245
  u && O(i);
236
246
  }
237
247
  };
238
248
  }
239
- function ne(o) {
249
+ function ce(r) {
240
250
  let i, t, s, n, a = (
241
251
  /*$_*/
242
- o[8]("verification.video.how-to") + ""
243
- ), u, w, D;
252
+ r[9]("verification.video.how-to") + ""
253
+ ), u, g, D;
244
254
  return {
245
255
  c() {
246
- 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>', s = F(), n = C("div"), u = ce(a), c(t, "class", "IconVideo"), c(n, "class", "CashierVerificationVideoLink"), B(
256
+ 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>', s = H(), n = P("div"), u = de(a), c(t, "class", "IconVideo"), c(n, "class", "CashierVerificationVideoLink"), L(
247
257
  n,
248
258
  "CashierVerificationVideoLinkDesktop",
249
259
  /*desktopView*/
250
- o[5]
260
+ r[5]
251
261
  ), c(i, "class", "CashierVerificationVideo Test");
252
262
  },
253
- m(k, b) {
254
- L(k, i, b), g(i, t), g(i, s), g(i, n), g(n, u), w || (D = le(
263
+ m(k, C) {
264
+ T(k, i, C), p(i, t), p(i, s), p(i, n), p(n, u), g || (D = ue(
255
265
  i,
256
266
  "click",
257
267
  /*showVideo*/
258
- o[10]
259
- ), w = !0);
268
+ r[11]
269
+ ), g = !0);
260
270
  },
261
- p(k, b) {
262
- b[0] & /*$_*/
263
- 256 && a !== (a = /*$_*/
264
- k[8]("verification.video.how-to") + "") && ae(u, a), b[0] & /*desktopView*/
265
- 32 && B(
271
+ p(k, C) {
272
+ C[0] & /*$_*/
273
+ 512 && a !== (a = /*$_*/
274
+ k[9]("verification.video.how-to") + "") && fe(u, a), C[0] & /*desktopView*/
275
+ 32 && L(
266
276
  n,
267
277
  "CashierVerificationVideoLinkDesktop",
268
278
  /*desktopView*/
@@ -270,343 +280,348 @@ function ne(o) {
270
280
  );
271
281
  },
272
282
  d(k) {
273
- k && O(i), w = !1, D();
283
+ k && O(i), g = !1, D();
274
284
  }
275
285
  };
276
286
  }
277
- function ti(o) {
287
+ function ai(r) {
278
288
  let i;
279
289
  function t(a, u) {
280
290
  if (
281
291
  /*isLoading*/
282
292
  a[7]
283
293
  )
284
- return ii;
294
+ return ni;
285
295
  if (
286
296
  /*displayMessages*/
287
297
  a[3]
288
298
  )
289
- return ei;
299
+ return si;
290
300
  }
291
- let s = t(o), n = s && s(o);
301
+ let s = t(r), n = s && s(r);
292
302
  return {
293
303
  c() {
294
- i = C("div"), n && n.c(), c(i, "class", "CashierVerifications"), B(
304
+ i = P("div"), n && n.c(), c(i, "class", "CashierVerifications"), L(
295
305
  i,
296
306
  "CashierVerificationsDesktop",
297
307
  /*desktopView*/
298
- o[5]
308
+ r[5]
299
309
  );
300
310
  },
301
311
  m(a, u) {
302
- L(a, i, u), n && n.m(i, null), o[20](i);
312
+ T(a, i, u), n && n.m(i, null), r[22](i);
303
313
  },
304
314
  p(a, u) {
305
315
  s === (s = t(a)) && n ? n.p(a, u) : (n && n.d(1), n = s && s(a), n && (n.c(), n.m(i, null))), u[0] & /*desktopView*/
306
- 32 && B(
316
+ 32 && L(
307
317
  i,
308
318
  "CashierVerificationsDesktop",
309
319
  /*desktopView*/
310
320
  a[5]
311
321
  );
312
322
  },
313
- i: J,
314
- o: J,
323
+ i: $,
324
+ o: $,
315
325
  d(a) {
316
- a && O(i), n && n.d(), o[20](null);
326
+ a && O(i), n && n.d(), r[22](null);
317
327
  }
318
328
  };
319
329
  }
320
- const ri = "verification_explanation_video_widgets.MP4";
321
- function oi(o, i, t) {
330
+ const li = "verification_explanation_video_widgets.MP4";
331
+ function ci(r, i, t) {
322
332
  let s, n;
323
- Q(o, Ze, (e) => t(8, s = e)), Q(o, Je, (e) => t(29, n = e)), ee.extend(Ge);
324
- 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, E = /* @__PURE__ */ new Set(), z = /* @__PURE__ */ new Set(), d, h, f, y = !1, m = !0, q = !1, W = "", X = !1, fe, I = [], ue = window.navigator.userAgent;
325
- var R;
333
+ ee(r, ei, (e) => t(9, s = e)), ee(r, ti, (e) => t(31, n = e)), re.extend(ii);
334
+ let { endpoint: a } = i, { lang: u = "en" } = i, { translationurl: g = "" } = i, { clientstyling: D = "" } = i, { clientstylingurl: k = "" } = i, { session: C = "" } = i, { customerid: S = "" } = i, { playersession: x = "" } = i, { userroles: y = "" } = i, { mbsource: w = "" } = i, _, R = /* @__PURE__ */ new Set(), E = /* @__PURE__ */ new Set(), M, q, z, h = !1, v = !0, f = !1, V = "", d = !1, j, N = [], K = 0, he = window.navigator.userAgent;
335
+ var I;
326
336
  (function(e) {
327
337
  e.Manual = "Manual", e.ShuftiPro = "ShuftiPro";
328
- })(R || (R = {}));
329
- var Y;
338
+ })(I || (I = {}));
339
+ var Z;
330
340
  (function(e) {
331
341
  e.Requested = "Requested";
332
- })(Y || (Y = {}));
333
- var V;
342
+ })(Z || (Z = {}));
343
+ var b;
334
344
  (function(e) {
335
345
  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";
336
- })(V || (V = {}));
337
- var H;
346
+ })(b || (b = {}));
347
+ var U;
338
348
  (function(e) {
339
349
  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";
340
- })(H || (H = {}));
341
- const K = (e) => {
350
+ })(U || (U = {}));
351
+ const G = (e) => {
342
352
  e.data && e.data.type;
343
353
  };
344
- Ie(() => (window.addEventListener("message", K), Ae(), () => {
345
- window.removeEventListener("message", K);
354
+ Ne(() => (window.addEventListener("message", G), Me(), () => {
355
+ window.removeEventListener("message", G);
346
356
  }));
347
- const de = [
348
- V.InProgress,
349
- V.Referred,
350
- V.AwaitingForResponse
351
- ], me = () => {
352
- let e = w;
357
+ const me = [
358
+ b.InProgress,
359
+ b.Referred,
360
+ b.AwaitingForResponse
361
+ ], pe = () => {
362
+ let e = g;
353
363
  if (e)
354
- return fetch(e).then((r) => r.json()).then((r) => {
355
- Object.keys(r).forEach((l) => {
356
- ie(l, r[l]);
364
+ return fetch(e).then((o) => o.json()).then((o) => {
365
+ Object.keys(o).forEach((l) => {
366
+ oe(l, o[l]);
357
367
  });
358
- }).catch((r) => {
359
- console.log(r);
368
+ }).catch((o) => {
369
+ console.log(o);
360
370
  });
361
371
  };
362
- Object.keys(te).forEach((e) => {
363
- ie(e, te[e]);
372
+ Object.keys(se).forEach((e) => {
373
+ oe(e, se[e]);
364
374
  });
365
- const he = () => {
366
- Qe(u);
367
- }, Z = () => {
368
- t(19, h = ge());
369
- const e = new URL(`${a}/v1/player/${S}/verification/GetKYCCustomerStatus?language=${u}`), r = new Headers();
370
- r.append("accept", "application/json"), r.append("Content-Type", "application/json"), r.append("x-sessionid", `${x}`), r.append("X-Client-Request-Timestamp", ee.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), Array.isArray(I) && I.length > 0 && I.indexOf("MM_CHANNEL_BETA") != -1 && r.append("MM_CHANNEL", "BETA");
375
+ const ve = () => {
376
+ ri(u);
377
+ }, J = () => {
378
+ t(20, q = ke());
379
+ const e = new URL(`${a}/v1/player/${S}/verification/GetKYCCustomerStatus?language=${u}`), o = new Headers();
380
+ o.append("accept", "application/json"), o.append("Content-Type", "application/json"), o.append("x-sessionid", `${x}`), o.append("X-Client-Request-Timestamp", re.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), Array.isArray(N) && N.length > 0 && N.indexOf("MM_CHANNEL_BETA") != -1 && o.append("MM_CHANNEL", "BETA");
371
381
  const l = {
372
382
  method: "POST",
373
- headers: r,
383
+ headers: o,
374
384
  body: JSON.stringify({})
375
385
  };
376
- t(7, X = !0), fetch(e, l).then((p) => p.json()).then((p) => {
377
- const M = pe(p == null ? void 0 : p.Verifications);
378
- d = we(M), d.VerificationStatuses.forEach((U) => {
379
- U.VerificationUrlType !== "Widget" && E.add(U.Vendor);
380
- }), t(3, f = Pe());
381
- }).finally(() => t(7, X = !1));
382
- }, pe = (e) => e ? e.sort((r, l) => new Date(l.Created).getTime() - new Date(r.Created).getTime()) : [], ve = () => {
383
- n && Z();
384
- }, ge = () => {
385
- let e = (b || n).split(".")[1];
386
+ t(7, d = !0), fetch(e, l).then((m) => m.json()).then((m) => {
387
+ const B = ge(m == null ? void 0 : m.Verifications);
388
+ M = ye(B), M.VerificationStatuses.forEach((W) => {
389
+ W.VerificationUrlType !== "Widget" && R.add(W.Vendor);
390
+ }), t(3, z = _e());
391
+ }).finally(() => t(7, d = !1));
392
+ }, ge = (e) => e ? e.sort((o, l) => new Date(l.Created).getTime() - new Date(o.Created).getTime()) : [], we = () => {
393
+ n && J();
394
+ }, ke = () => {
395
+ let e = (C || n).split(".")[1];
386
396
  if (e) {
387
- let r = JSON.parse(atob(e));
388
- return r.cdn + "/cashier/operator-assets/" + (r == null ? void 0 : r.mid);
397
+ let o = JSON.parse(atob(e));
398
+ return o.cdn + "/cashier/operator-assets/" + (o == null ? void 0 : o.mid);
389
399
  }
390
400
  return "";
391
- }, we = (e) => {
401
+ }, ye = (e) => {
392
402
  var l;
393
403
  if (!e || !e.length)
394
404
  return {
395
- VerificationSummaryStatus: V.Unverified,
405
+ VerificationSummaryStatus: b.Unverified,
396
406
  VerificationStatuses: []
397
407
  };
398
- const r = ye(e);
399
- if (r && r.length) {
400
- const p = ke(r);
408
+ const o = be(e);
409
+ if (o && o.length) {
410
+ const m = Ve(o);
401
411
  return {
402
- VerificationSummaryStatus: p.Status,
403
- VerificationUrl: (l = p.Flags) == null ? void 0 : l.DeferredUrlKey,
404
- VerificationStatuses: G(r, p.Status)
412
+ VerificationSummaryStatus: m.Status,
413
+ VerificationUrl: (l = m.Flags) == null ? void 0 : l.DeferredUrlKey,
414
+ VerificationStatuses: Q(o, m.Status)
405
415
  };
406
416
  } else
407
417
  return {
408
- VerificationSummaryStatus: e.some((M) => M.Status === V.Failed) ? V.Failed : V.Verified,
409
- VerificationStatuses: G(e, [V.Failed])
418
+ VerificationSummaryStatus: e.some((B) => B.Status === b.Failed) ? b.Failed : b.Verified,
419
+ VerificationStatuses: Q(e, [b.Failed])
410
420
  };
411
- }, ke = (e) => e.reduce(
412
- (r, l) => r ? new Date(r) < new Date(l) ? l : r : l,
421
+ }, Ve = (e) => e.reduce(
422
+ (o, l) => o ? new Date(o) < new Date(l) ? l : o : l,
413
423
  0
414
- ), G = (e, r) => e.filter((l) => r.includes(l.Status)).map((l) => {
415
- var p, M;
424
+ ), Q = (e, o) => e.filter((l) => o.includes(l.Status)).map((l) => {
425
+ var m, B;
416
426
  return {
417
427
  Type: l.Type,
418
428
  Vendor: l.VendorName,
419
429
  VerificationDocuments: l.Documents ? [...l.Documents] : [],
420
- VerificationUrlType: (p = l.FlowInfo) == null ? void 0 : p.Type,
421
- VerificationUrl: (M = l.FlowInfo) == null ? void 0 : M.Url
430
+ VerificationUrlType: (m = l.FlowInfo) == null ? void 0 : m.Type,
431
+ VerificationUrl: (B = l.FlowInfo) == null ? void 0 : B.Url
422
432
  };
423
- }), ye = (e) => e.filter((r) => de.includes(r.Status) ? r.FlowInfo && r.FlowInfo.Url || Ve(r) || be(r) : !1), Ve = (e) => {
424
- const r = e.Documents && e.VendorName === R.Manual, l = e.Documents && e.Documents.some((p) => p.Status === Y.Requested);
425
- return r && l;
426
- }, be = (e) => e.VendorName === R.ShuftiPro && e.Status === V.Referred, Pe = () => {
427
- switch (d.VerificationSummaryStatus) {
428
- case V.InProgress:
433
+ }), be = (e) => e.filter((o) => me.includes(o.Status) ? o.FlowInfo && o.FlowInfo.Url || Pe(o) || Ce(o) : !1), Pe = (e) => {
434
+ const o = e.Documents && e.VendorName === I.Manual, l = e.Documents && e.Documents.some((m) => m.Status === Z.Requested);
435
+ return o && l;
436
+ }, Ce = (e) => e.VendorName === I.ShuftiPro && e.Status === b.Referred, _e = () => {
437
+ switch (M.VerificationSummaryStatus) {
438
+ case b.InProgress:
429
439
  const e = [];
430
- return E.forEach((r) => {
431
- e.push(Ce(r));
440
+ return R.forEach((o) => {
441
+ e.push(De(o));
432
442
  }), e;
433
- case V.Referred:
443
+ case b.Referred:
434
444
  return [s("verification.idenfy.referred-awaiting")];
435
- case V.Failed:
445
+ case b.Failed:
436
446
  return [s("verification.message.failed")];
437
447
  }
438
- }, Ce = (e) => {
439
- const r = d.VerificationStatuses.filter((l) => l.Vendor === e);
440
- if (e === R.ShuftiPro)
441
- return De(r);
448
+ }, De = (e) => {
449
+ const o = M.VerificationStatuses.filter((l) => l.Vendor === e);
450
+ if (e === I.ShuftiPro)
451
+ return Se(o);
442
452
  {
443
- const l = s("verification.idenfy.link-name"), p = {
444
- link: `<a href="${r[0].VerificationUrl}" target="_blank">${l}</a>`
453
+ const l = s("verification.idenfy.link-name"), m = {
454
+ link: `<a href="${o[0].VerificationUrl}" target="_blank">${l}</a>`
445
455
  };
446
- return s("verification.idenfy.in-progress", { values: p });
456
+ return s("verification.idenfy.in-progress", { values: m });
447
457
  }
448
- }, De = (e) => {
449
- const r = [], l = {}, p = [
450
- H.Biometric,
451
- H.Documents,
452
- H.ProofOfAddress
458
+ }, Se = (e) => {
459
+ const o = [], l = {}, m = [
460
+ U.Biometric,
461
+ U.Documents,
462
+ U.ProofOfAddress
453
463
  ];
454
- e.forEach((T) => {
455
- p.includes(T.Type) && (r.push(T.Type), l[T.Type] = Se(T, _e(T.Type)));
464
+ e.forEach((F) => {
465
+ m.includes(F.Type) && (o.push(F.Type), l[F.Type] = Ae(F, xe(F.Type)));
456
466
  });
457
- let M = r.every((T) => z.has(T)), U = `verification.shuftipro.in-progress.${r.sort().join(".")}`;
458
- return M ? s("verification.shuftipro.validations-started") : s(U, { values: l });
459
- }, Se = (e, r) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${r}</a>`, _e = (e) => s(`verification.shuftipro.link-name.${e}`), xe = () => {
460
- t(4, y = !y);
461
- }, Ae = () => {
462
- t(5, m = !Ue(ue));
463
- }, ze = () => {
464
- W = h + "/" + u + "/" + ri;
467
+ let B = o.every((F) => E.has(F)), W = `verification.shuftipro.in-progress.${o.sort().join(".")}`;
468
+ return B ? s("verification.shuftipro.validations-started") : s(W, { values: l });
469
+ }, Ae = (e, o) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${o}</a>`, xe = (e) => s(`verification.shuftipro.link-name.${e}`), ze = () => {
470
+ t(4, h = !h);
471
+ }, Me = () => {
472
+ t(5, v = !We(he));
473
+ }, Be = () => {
474
+ V = q + "/" + u + "/" + li;
465
475
  try {
466
- fetch(W, { method: "HEAD" }).then((e) => {
467
- t(6, q = e.ok);
476
+ fetch(V, { method: "HEAD" }).then((e) => {
477
+ t(6, f = e.ok);
468
478
  });
469
479
  } catch (e) {
470
- t(6, q = !1);
480
+ t(6, f = !1);
471
481
  }
472
- }, Me = () => {
473
- v.length > 0 && (I = v.split(","));
474
- }, Be = () => {
482
+ }, Le = () => {
483
+ y.length > 0 && (N = y.split(","));
484
+ }, Oe = () => {
475
485
  window.dispatchEvent(new CustomEvent(
476
486
  "modal-update",
477
487
  {
478
- detail: { type: "video", data: { videoSrc: W } }
488
+ detail: { type: "video", data: { videoSrc: V } }
479
489
  }
480
490
  ));
481
491
  };
482
- function Oe(e) {
483
- je[e ? "unshift" : "push"](() => {
484
- P = e, t(2, P);
492
+ function Te() {
493
+ K = this.clientHeight, t(8, K);
494
+ }
495
+ function qe(e) {
496
+ Xe[e ? "unshift" : "push"](() => {
497
+ _ = e, t(2, _);
485
498
  });
486
499
  }
487
- return o.$$set = (e) => {
488
- "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);
489
- }, o.$$.update = () => {
490
- o.$$.dirty[0] & /*userroles*/
491
- 131072 && v && Me(), o.$$.dirty[0] & /*lang*/
492
- 4096 && u && he(), o.$$.dirty[0] & /*endpoint, session, playersession*/
493
- 83968 && a && b && x && Z(), o.$$.dirty[0] & /*endpoint, session, playersession*/
494
- 83968 && a && !b && x && ve(), o.$$.dirty[0] & /*translationurl*/
495
- 8192 && w && me(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
496
- 5 && D && P && We(P, D), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
497
- 6 && k && P && Xe(P, k), o.$$.dirty[0] & /*staticCdnUrl*/
498
- 524288 && h && ze(), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
499
- 262148 && A && P && Ye(P, `${A}.Style`, fe);
500
+ return r.$$set = (e) => {
501
+ "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, x = e.playersession), "userroles" in e && t(18, y = e.userroles), "mbsource" in e && t(19, w = e.mbsource);
502
+ }, r.$$.update = () => {
503
+ r.$$.dirty[0] & /*userroles*/
504
+ 262144 && y && Le(), r.$$.dirty[0] & /*lang*/
505
+ 8192 && u && ve(), r.$$.dirty[0] & /*endpoint, session, playersession*/
506
+ 167936 && a && C && x && J(), r.$$.dirty[0] & /*endpoint, session, playersession*/
507
+ 167936 && a && !C && x && we(), r.$$.dirty[0] & /*translationurl*/
508
+ 16384 && g && pe(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
509
+ 5 && D && _ && Ge(_, D), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
510
+ 6 && k && _ && Je(_, k), r.$$.dirty[0] & /*staticCdnUrl*/
511
+ 1048576 && q && Be(), r.$$.dirty[0] & /*mbsource, customStylingContainer*/
512
+ 524292 && w && _ && Qe(_, `${w}.Style`, j);
500
513
  }, [
501
514
  D,
502
515
  k,
503
- P,
516
+ _,
517
+ z,
518
+ h,
519
+ v,
504
520
  f,
505
- y,
506
- m,
507
- q,
508
- X,
521
+ d,
522
+ K,
509
523
  s,
510
- xe,
511
- Be,
524
+ ze,
525
+ Oe,
512
526
  a,
513
527
  u,
514
- w,
515
- b,
528
+ g,
529
+ C,
516
530
  S,
517
531
  x,
518
- v,
519
- A,
520
- h,
521
- Oe
532
+ y,
533
+ w,
534
+ q,
535
+ Te,
536
+ qe
522
537
  ];
523
538
  }
524
- class si extends Fe {
539
+ class fi extends Re {
525
540
  constructor(i) {
526
- super(), Ee(
541
+ super(), Ie(
527
542
  this,
528
543
  i,
529
- oi,
530
- ti,
531
- Re,
544
+ ci,
545
+ ai,
546
+ Ue,
532
547
  {
533
- endpoint: 11,
534
- lang: 12,
535
- translationurl: 13,
548
+ endpoint: 12,
549
+ lang: 13,
550
+ translationurl: 14,
536
551
  clientstyling: 0,
537
552
  clientstylingurl: 1,
538
- session: 14,
539
- customerid: 15,
540
- playersession: 16,
541
- userroles: 17,
542
- mbsource: 18
553
+ session: 15,
554
+ customerid: 16,
555
+ playersession: 17,
556
+ userroles: 18,
557
+ mbsource: 19
543
558
  },
544
- $e,
559
+ oi,
545
560
  [-1, -1]
546
561
  );
547
562
  }
548
563
  get endpoint() {
549
- return this.$$.ctx[11];
564
+ return this.$$.ctx[12];
550
565
  }
551
566
  set endpoint(i) {
552
- this.$$set({ endpoint: i }), _();
567
+ this.$$set({ endpoint: i }), A();
553
568
  }
554
569
  get lang() {
555
- return this.$$.ctx[12];
570
+ return this.$$.ctx[13];
556
571
  }
557
572
  set lang(i) {
558
- this.$$set({ lang: i }), _();
573
+ this.$$set({ lang: i }), A();
559
574
  }
560
575
  get translationurl() {
561
- return this.$$.ctx[13];
576
+ return this.$$.ctx[14];
562
577
  }
563
578
  set translationurl(i) {
564
- this.$$set({ translationurl: i }), _();
579
+ this.$$set({ translationurl: i }), A();
565
580
  }
566
581
  get clientstyling() {
567
582
  return this.$$.ctx[0];
568
583
  }
569
584
  set clientstyling(i) {
570
- this.$$set({ clientstyling: i }), _();
585
+ this.$$set({ clientstyling: i }), A();
571
586
  }
572
587
  get clientstylingurl() {
573
588
  return this.$$.ctx[1];
574
589
  }
575
590
  set clientstylingurl(i) {
576
- this.$$set({ clientstylingurl: i }), _();
591
+ this.$$set({ clientstylingurl: i }), A();
577
592
  }
578
593
  get session() {
579
- return this.$$.ctx[14];
594
+ return this.$$.ctx[15];
580
595
  }
581
596
  set session(i) {
582
- this.$$set({ session: i }), _();
597
+ this.$$set({ session: i }), A();
583
598
  }
584
599
  get customerid() {
585
- return this.$$.ctx[15];
600
+ return this.$$.ctx[16];
586
601
  }
587
602
  set customerid(i) {
588
- this.$$set({ customerid: i }), _();
603
+ this.$$set({ customerid: i }), A();
589
604
  }
590
605
  get playersession() {
591
- return this.$$.ctx[16];
606
+ return this.$$.ctx[17];
592
607
  }
593
608
  set playersession(i) {
594
- this.$$set({ playersession: i }), _();
609
+ this.$$set({ playersession: i }), A();
595
610
  }
596
611
  get userroles() {
597
- return this.$$.ctx[17];
612
+ return this.$$.ctx[18];
598
613
  }
599
614
  set userroles(i) {
600
- this.$$set({ userroles: i }), _();
615
+ this.$$set({ userroles: i }), A();
601
616
  }
602
617
  get mbsource() {
603
- return this.$$.ctx[18];
618
+ return this.$$.ctx[19];
604
619
  }
605
620
  set mbsource(i) {
606
- this.$$set({ mbsource: i }), _();
621
+ this.$$set({ mbsource: i }), A();
607
622
  }
608
623
  }
609
- Ke(si, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, userroles: {}, mbsource: {} }, [], [], !0);
624
+ $e(fi, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, userroles: {}, mbsource: {} }, [], [], !0);
610
625
  export {
611
- si as default
626
+ fi as default
612
627
  };