@everymatrix/cashier-page 1.69.94 → 1.69.104

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 (67) hide show
  1. package/components/{CashierCarousel-BdYVF6QV.js → CashierCarousel-6PpXL5Qp.js} +1391 -1345
  2. package/components/CashierCarousel-Cd1TzgE8.cjs +23 -0
  3. package/components/{CashierCarousel-P8JOEAdW.js → CashierCarousel-CukH4aEC.js} +1331 -1285
  4. package/components/{CashierError-BHR0wCX8.cjs → CashierError-BbxnJqdU.cjs} +1 -1
  5. package/components/{CashierError-Dc97Q3ia.js → CashierError-CfHBjTAV.js} +1 -1
  6. package/components/{CashierError-CV3sSdTA.js → CashierError-DUp1jL7u.js} +1 -1
  7. package/components/CashierHeader-BAQT942H.cjs +1 -0
  8. package/components/{CashierHeader-CNnGcxHX.js → CashierHeader-DppgdJvh.js} +4 -4
  9. package/components/{CashierHeader-BvRwyGj-.js → CashierHeader-mNIfX_8X.js} +4 -4
  10. package/components/{CashierIframeRedirect-CyxYgQXl.js → CashierIframeRedirect-CUNGOWqF.js} +29 -29
  11. package/components/CashierIframeRedirect-D16g3FOL.cjs +1 -0
  12. package/components/{CashierIframeRedirect-Tyfog0B-.js → CashierIframeRedirect-OFn0nnKy.js} +29 -29
  13. package/components/{CashierMethodDetails-Cw3bppxA.js → CashierMethodDetails-BYNgkyXG.js} +1420 -1392
  14. package/components/CashierMethodDetails-D6dPCYFG.cjs +85 -0
  15. package/components/{CashierMethodDetails-BQQkicL5.js → CashierMethodDetails-DfoHgNtY.js} +1603 -1575
  16. package/components/CashierMethodsList-CuMP4TC9.cjs +1 -0
  17. package/components/CashierMethodsList-Di9Oe4JI.js +691 -0
  18. package/components/CashierMethodsList-mN4PR-DW.js +703 -0
  19. package/components/CashierModal-C19ykcBp.js +237 -0
  20. package/components/CashierModal-fzrJshmv.cjs +1 -0
  21. package/components/CashierModal-tHIgxmTG.js +237 -0
  22. package/components/{CashierNotifications-C7E0y8oy.js → CashierNotifications-B4mMHPzM.js} +1 -1
  23. package/components/{CashierNotifications-CV5fK-_h.js → CashierNotifications-C9N_cyjp.js} +1 -1
  24. package/components/{CashierNotifications-B1_IvWSx.cjs → CashierNotifications-TCeibGW7.cjs} +1 -1
  25. package/components/{CashierPage-CPBTVmCF.js → CashierPage-Bz-x5NYC.js} +776 -668
  26. package/components/CashierPage-CKSxChJM.cjs +1 -0
  27. package/components/{CashierPage-TX2t-xAH.js → CashierPage-CS_ZG6Xb.js} +775 -667
  28. package/components/CashierReceiptPage-CiPr9s04.cjs +26 -0
  29. package/components/{CashierReceiptPage-CtOCAaLC.js → CashierReceiptPage-D3bSdrMR.js} +690 -652
  30. package/components/{CashierReceiptPage-C6wwbN8P.js → CashierReceiptPage-nV_QGl-h.js} +735 -673
  31. package/components/{CashierSessionExpirationModal-CH7OH5eP.js → CashierSessionExpirationModal-DPlehL-t.js} +31 -31
  32. package/components/CashierSessionExpirationModal-Dex-iDiX.cjs +2 -0
  33. package/components/{CashierSessionExpirationModal-DZ6cbZMo.js → CashierSessionExpirationModal-XOwOZhfl.js} +31 -31
  34. package/components/{CashierSpinner-CyPuIakf.js → CashierSpinner-BQgydcZ_.js} +1 -1
  35. package/components/{CashierSpinner-DN8Xti3l.js → CashierSpinner-CzYDxJhX.js} +1 -1
  36. package/components/{CashierSpinner-CL3BxNa3.cjs → CashierSpinner-DxJ8w6Oz.cjs} +1 -1
  37. package/components/{CashierTransactionHistory-D7x8iV5o.js → CashierTransactionHistory-BE1joO9K.js} +27 -27
  38. package/components/{CashierTransactionHistory-DUJ7uEPo.js → CashierTransactionHistory-BWy9gkLT.js} +27 -27
  39. package/components/CashierTransactionHistory-TKDNzqMX.cjs +1 -0
  40. package/components/{CashierVerifications-D98F06Sz.js → CashierVerifications-AUHQ5YBD.js} +98 -98
  41. package/components/CashierVerifications-BC3_kyP4.cjs +1 -0
  42. package/components/{CashierVerifications-dsnZ9UGl.js → CashierVerifications-Cz6thwea.js} +128 -128
  43. package/components/{TxnStatusIcon-DKrjQDkn.cjs → TxnStatusIcon-BhLc40xR.cjs} +1 -1
  44. package/components/{TxnStatusIcon-Bjzryymo.js → TxnStatusIcon-C9Qf16Sv.js} +1 -1
  45. package/components/{TxnStatusIcon-BnNOvKNP.js → TxnStatusIcon-CllgBQ_-.js} +1 -1
  46. package/components/{TxnTypeIcons-CdJDWKBc.js → TxnTypeIcons-D5s1NIcq.js} +1 -1
  47. package/components/{TxnTypeIcons-DUFNEYZT.cjs → TxnTypeIcons-DTmlDMr_.cjs} +1 -1
  48. package/components/{TxnTypeIcons-CgvUMv-Q.js → TxnTypeIcons-lLjMKCFg.js} +1 -1
  49. package/es2015/cashier-page.cjs +1 -1
  50. package/es2015/cashier-page.js +1 -1
  51. package/esnext/cashier-page.js +1 -1
  52. package/package.json +1 -1
  53. package/components/CashierCarousel-HRUJt7XK.cjs +0 -23
  54. package/components/CashierHeader-Dq5rXKEy.cjs +0 -1
  55. package/components/CashierIframeRedirect-C7g6aYiD.cjs +0 -1
  56. package/components/CashierMethodDetails-vl9WpFW-.cjs +0 -85
  57. package/components/CashierMethodsList-Bi29u-3T.js +0 -733
  58. package/components/CashierMethodsList-Dnurtmpq.js +0 -745
  59. package/components/CashierMethodsList-MWY8DbQT.cjs +0 -1
  60. package/components/CashierModal-7LneBvzD.cjs +0 -1
  61. package/components/CashierModal-ChoubLYy.js +0 -268
  62. package/components/CashierModal-DCTbhFou.js +0 -268
  63. package/components/CashierPage-DOxt1V6T.cjs +0 -1
  64. package/components/CashierReceiptPage-BdQL3__D.cjs +0 -26
  65. package/components/CashierSessionExpirationModal-wp_kWVca.cjs +0 -2
  66. package/components/CashierTransactionHistory-DbJgP2OJ.cjs +0 -1
  67. package/components/CashierVerifications-BzbSPCl7.cjs +0 -1
@@ -1,9 +1,9 @@
1
- import { a as Te, i as Oe, $ as Me, S as Be, b as qe, s as Le, f as A, c as Fe, G as Z, e as O, V as T, k as M, m as b, o as l, p as J, q as ze, M as Ee, y as Ie, A as H, R as X, T as Re, v as se, l as p, x as ne, P as U, n as F, w as ae, B as He, C as Ue, D as je, E as Ne, F as We } from "./CashierCarousel-BdYVF6QV.js";
2
- import { d as Q, u as Ye, x as Ke } from "./CashierMethodDetails-Cw3bppxA.js";
1
+ import { a as Te, i as Oe, $ as Me, S as Be, b as qe, s as Le, f as A, c as ze, G, e as O, V as T, k as M, m as P, o as l, p as Z, q as Fe, M as Ee, y as Ie, A as H, R as J, T as Re, v as ne, l as m, x as se, P as U, n as z, w as ae, B as He, C as Ue, D as je, E as We, F as Ne } from "./CashierCarousel-6PpXL5Qp.js";
2
+ import { d as Q, u as Ye, x as Xe } from "./CashierMethodDetails-BYNgkyXG.js";
3
3
  function $(r, i) {
4
4
  Te(r, i);
5
5
  }
6
- function Ge(r) {
6
+ function Ke(r) {
7
7
  Oe({
8
8
  fallbackLocale: "en"
9
9
  }), Me.set(r);
@@ -67,39 +67,39 @@ const ee = {
67
67
  "verification.shuftipro.validations-started": "After completing verification, please proceed with the transaction"
68
68
  }
69
69
  };
70
- function Ze(r) {
71
- Fe(r, "svelte-12eenn1", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{position:relative;display:flex;flex-direction:column;width:100%;padding:10px;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.1);background-color:rgba(255, 255, 255, 0.063);z-index:1;width:97%;margin:auto}.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:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(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:rotate(180deg)}.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 Ge(r) {
71
+ ze(r, "svelte-19ii49m", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.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)}');
72
72
  }
73
73
  function ie(r, i, t) {
74
- const s = r.slice();
75
- return s[53] = i[t], s;
74
+ const n = r.slice();
75
+ return n[53] = i[t], n;
76
76
  }
77
- function Je(r) {
77
+ function Ze(r) {
78
78
  let i, t = (
79
79
  /*displayMessages*/
80
80
  r[3].length > 0 && te(r)
81
81
  );
82
82
  return {
83
83
  c() {
84
- i = b("div"), t && t.c(), l(i, "class", "CashierVerificationsWrapper");
84
+ i = P("div"), t && t.c(), l(i, "class", "CashierVerificationsWrapper");
85
85
  },
86
- m(s, n) {
87
- M(s, i, n), t && t.m(i, null);
86
+ m(n, s) {
87
+ M(n, i, s), t && t.m(i, null);
88
88
  },
89
- p(s, n) {
89
+ p(n, s) {
90
90
  /*displayMessages*/
91
- s[3].length > 0 ? t ? t.p(s, n) : (t = te(s), t.c(), t.m(i, null)) : t && (t.d(1), t = null);
91
+ n[3].length > 0 ? t ? t.p(n, s) : (t = te(n), t.c(), t.m(i, null)) : t && (t.d(1), t = null);
92
92
  },
93
- d(s) {
94
- s && O(i), t && t.d();
93
+ d(n) {
94
+ n && O(i), t && t.d();
95
95
  }
96
96
  };
97
97
  }
98
- function Xe(r) {
98
+ function Je(r) {
99
99
  let i;
100
100
  return {
101
101
  c() {
102
- i = b("cashier-spinner"), H(
102
+ i = P("cashier-spinner"), H(
103
103
  i,
104
104
  "clientstylingurl",
105
105
  /*clientstylingurl*/
@@ -111,17 +111,17 @@ function Xe(r) {
111
111
  r[0]
112
112
  );
113
113
  },
114
- m(t, s) {
115
- M(t, i, s);
114
+ m(t, n) {
115
+ M(t, i, n);
116
116
  },
117
- p(t, s) {
118
- s[0] & /*clientstylingurl*/
117
+ p(t, n) {
118
+ n[0] & /*clientstylingurl*/
119
119
  2 && H(
120
120
  i,
121
121
  "clientstylingurl",
122
122
  /*clientstylingurl*/
123
123
  t[1]
124
- ), s[0] & /*clientstyling*/
124
+ ), n[0] & /*clientstyling*/
125
125
  1 && H(
126
126
  i,
127
127
  "clientstyling",
@@ -135,25 +135,25 @@ function Xe(r) {
135
135
  };
136
136
  }
137
137
  function te(r) {
138
- let i, t, s, n, a, d, g, C = (
138
+ let i, t, n, s, a, d, g, C = (
139
139
  /*$_*/
140
140
  r[8]("verificationsRequired") + ""
141
- ), w, y, _, x, v, V, q, I, D = X(
141
+ ), w, y, _, x, v, V, q, I, D = J(
142
142
  /*displayMessages*/
143
143
  r[3]
144
144
  ), h = [];
145
145
  for (let f = 0; f < D.length; f += 1)
146
146
  h[f] = re(ie(r, D, f));
147
- let m = (
147
+ let p = (
148
148
  /*videoExists*/
149
149
  r[6] && oe(r)
150
150
  );
151
151
  return {
152
152
  c() {
153
- i = b("div"), t = U("svg"), s = U("path"), n = U("path"), a = U("path"), d = F(), g = b("p"), w = ae(C), y = F(), _ = b("span"), _.innerHTML = '<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>', x = F(), v = b("div");
153
+ i = P("div"), t = U("svg"), n = U("path"), s = U("path"), a = U("path"), d = z(), g = P("p"), w = ae(C), y = z(), _ = P("span"), _.innerHTML = '<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>', x = z(), v = P("div");
154
154
  for (let f = 0; f < h.length; f += 1)
155
155
  h[f].c();
156
- V = F(), m && m.c(), l(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"), l(s, "stroke", "#6E738F"), l(s, "stroke-width", "2"), l(s, "stroke-linecap", "round"), l(s, "stroke-linejoin", "round"), l(n, "d", "M12 8V12"), l(n, "stroke", "#6E738F"), l(n, "stroke-width", "2"), l(n, "stroke-linecap", "round"), l(n, "stroke-linejoin", "round"), l(a, "d", "M12 16H12.01"), l(a, "stroke", "#6E738F"), l(a, "stroke-width", "2"), l(a, "stroke-linecap", "round"), l(a, "stroke-linejoin", "round"), l(t, "width", "24"), l(t, "height", "24"), l(t, "viewBox", "0 0 24 24"), l(t, "fill", "none"), l(t, "xmlns", "http://www.w3.org/2000/svg"), l(_, "class", "CashierVerificationChevron"), T(
156
+ V = z(), p && p.c(), l(n, "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"), l(n, "stroke", "#6E738F"), l(n, "stroke-width", "2"), l(n, "stroke-linecap", "round"), l(n, "stroke-linejoin", "round"), l(s, "d", "M12 8V12"), l(s, "stroke", "#6E738F"), l(s, "stroke-width", "2"), l(s, "stroke-linecap", "round"), l(s, "stroke-linejoin", "round"), l(a, "d", "M12 16H12.01"), l(a, "stroke", "#6E738F"), l(a, "stroke-width", "2"), l(a, "stroke-linecap", "round"), l(a, "stroke-linejoin", "round"), l(t, "width", "24"), l(t, "height", "24"), l(t, "viewBox", "0 0 24 24"), l(t, "fill", "none"), l(t, "xmlns", "http://www.w3.org/2000/svg"), l(_, "class", "CashierVerificationChevron"), T(
157
157
  _,
158
158
  "ShowVerifications",
159
159
  /*allVerificationsVisible*/
@@ -165,43 +165,43 @@ function te(r) {
165
165
  r[4]
166
166
  );
167
167
  },
168
- m(f, P) {
169
- M(f, i, P), p(i, t), p(t, s), p(t, n), p(t, a), p(i, d), p(i, g), p(g, w), p(i, y), p(i, _), M(f, x, P), M(f, v, P);
168
+ m(f, b) {
169
+ M(f, i, b), m(i, t), m(t, n), m(t, s), m(t, a), m(i, d), m(i, g), m(g, w), m(i, y), m(i, _), M(f, x, b), M(f, v, b);
170
170
  for (let u = 0; u < h.length; u += 1)
171
171
  h[u] && h[u].m(v, null);
172
- p(v, V), m && m.m(v, null), q || (I = ne(
172
+ m(v, V), p && p.m(v, null), q || (I = se(
173
173
  i,
174
174
  "click",
175
175
  /*toggleVerifications*/
176
176
  r[9]
177
177
  ), q = !0);
178
178
  },
179
- p(f, P) {
180
- if (P[0] & /*$_*/
179
+ p(f, b) {
180
+ if (b[0] & /*$_*/
181
181
  256 && C !== (C = /*$_*/
182
- f[8]("verificationsRequired") + "") && se(w, C), P[0] & /*allVerificationsVisible*/
182
+ f[8]("verificationsRequired") + "") && ne(w, C), b[0] & /*allVerificationsVisible*/
183
183
  16 && T(
184
184
  _,
185
185
  "ShowVerifications",
186
186
  /*allVerificationsVisible*/
187
187
  f[4]
188
- ), P[0] & /*displayMessages*/
188
+ ), b[0] & /*displayMessages*/
189
189
  8) {
190
- D = X(
190
+ D = J(
191
191
  /*displayMessages*/
192
192
  f[3]
193
193
  );
194
194
  let u;
195
195
  for (u = 0; u < D.length; u += 1) {
196
196
  const L = ie(f, D, u);
197
- h[u] ? h[u].p(L, P) : (h[u] = re(L), h[u].c(), h[u].m(v, V));
197
+ h[u] ? h[u].p(L, b) : (h[u] = re(L), h[u].c(), h[u].m(v, V));
198
198
  }
199
199
  for (; u < h.length; u += 1)
200
200
  h[u].d(1);
201
201
  h.length = D.length;
202
202
  }
203
203
  /*videoExists*/
204
- f[6] ? m ? m.p(f, P) : (m = oe(f), m.c(), m.m(v, null)) : m && (m.d(1), m = null), P[0] & /*allVerificationsVisible*/
204
+ f[6] ? p ? p.p(f, b) : (p = oe(f), p.c(), p.m(v, null)) : p && (p.d(1), p = null), b[0] & /*allVerificationsVisible*/
205
205
  16 && T(
206
206
  v,
207
207
  "ShowVerifications",
@@ -210,26 +210,26 @@ function te(r) {
210
210
  );
211
211
  },
212
212
  d(f) {
213
- f && (O(i), O(x), O(v)), Re(h, f), m && m.d(), q = !1, I();
213
+ f && (O(i), O(x), O(v)), Re(h, f), p && p.d(), q = !1, I();
214
214
  }
215
215
  };
216
216
  }
217
217
  function re(r) {
218
- let i, t, s, n, a = (
218
+ let i, t, n, s, a = (
219
219
  /*message*/
220
220
  r[53] + ""
221
221
  );
222
222
  return {
223
223
  c() {
224
- i = b("div"), t = b("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 = b("p"), l(t, "class", "IconVerification"), l(n, "class", "text"), l(i, "class", "CashierVerificationMessage Test");
224
+ 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>', n = z(), s = P("p"), l(t, "class", "IconVerification"), l(s, "class", "text"), l(i, "class", "CashierVerificationMessage Test");
225
225
  },
226
226
  m(d, g) {
227
- M(d, i, g), p(i, t), p(i, s), p(i, n), n.innerHTML = a;
227
+ M(d, i, g), m(i, t), m(i, n), m(i, s), s.innerHTML = a;
228
228
  },
229
229
  p(d, g) {
230
230
  g[0] & /*displayMessages*/
231
231
  8 && a !== (a = /*message*/
232
- d[53] + "") && (n.innerHTML = a);
232
+ d[53] + "") && (s.innerHTML = a);
233
233
  },
234
234
  d(d) {
235
235
  d && O(i);
@@ -237,21 +237,21 @@ function re(r) {
237
237
  };
238
238
  }
239
239
  function oe(r) {
240
- let i, t, s, n, a = (
240
+ let i, t, n, s, a = (
241
241
  /*$_*/
242
242
  r[8]("verification.video.how-to") + ""
243
243
  ), d, g, C;
244
244
  return {
245
245
  c() {
246
- i = b("div"), t = b("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 = b("div"), d = ae(a), l(t, "class", "IconVideo"), l(n, "class", "CashierVerificationVideoLink"), T(
247
- n,
246
+ 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>', n = z(), s = P("div"), d = ae(a), l(t, "class", "IconVideo"), l(s, "class", "CashierVerificationVideoLink"), T(
247
+ s,
248
248
  "CashierVerificationVideoLinkDesktop",
249
249
  /*desktopView*/
250
250
  r[5]
251
251
  ), l(i, "class", "CashierVerificationVideo Test");
252
252
  },
253
253
  m(w, y) {
254
- M(w, i, y), p(i, t), p(i, s), p(i, n), p(n, d), g || (C = ne(
254
+ M(w, i, y), m(i, t), m(i, n), m(i, s), m(s, d), g || (C = se(
255
255
  i,
256
256
  "click",
257
257
  /*showVideo*/
@@ -261,9 +261,9 @@ function oe(r) {
261
261
  p(w, y) {
262
262
  y[0] & /*$_*/
263
263
  256 && a !== (a = /*$_*/
264
- w[8]("verification.video.how-to") + "") && se(d, a), y[0] & /*desktopView*/
264
+ w[8]("verification.video.how-to") + "") && ne(d, a), y[0] & /*desktopView*/
265
265
  32 && T(
266
- n,
266
+ s,
267
267
  "CashierVerificationVideoLinkDesktop",
268
268
  /*desktopView*/
269
269
  w[5]
@@ -281,17 +281,17 @@ function Qe(r) {
281
281
  /*isLoading*/
282
282
  a[7]
283
283
  )
284
- return Xe;
284
+ return Je;
285
285
  if (
286
286
  /*displayMessages*/
287
287
  a[3]
288
288
  )
289
- return Je;
289
+ return Ze;
290
290
  }
291
- let s = t(r), n = s && s(r);
291
+ let n = t(r), s = n && n(r);
292
292
  return {
293
293
  c() {
294
- i = b("div"), n && n.c(), l(i, "class", "CashierVerifications"), T(
294
+ i = P("div"), s && s.c(), l(i, "class", "CashierVerifications"), T(
295
295
  i,
296
296
  "CashierVerificationsDesktop",
297
297
  /*desktopView*/
@@ -299,10 +299,10 @@ function Qe(r) {
299
299
  );
300
300
  },
301
301
  m(a, d) {
302
- M(a, i, d), n && n.m(i, null), r[19](i);
302
+ M(a, i, d), s && s.m(i, null), r[19](i);
303
303
  },
304
304
  p(a, d) {
305
- s === (s = t(a)) && n ? n.p(a, d) : (n && n.d(1), n = s && s(a), n && (n.c(), n.m(i, null))), d[0] & /*desktopView*/
305
+ n === (n = t(a)) && s ? s.p(a, d) : (s && s.d(1), s = n && n(a), s && (s.c(), s.m(i, null))), d[0] & /*desktopView*/
306
306
  32 && T(
307
307
  i,
308
308
  "CashierVerificationsDesktop",
@@ -310,26 +310,26 @@ function Qe(r) {
310
310
  a[5]
311
311
  );
312
312
  },
313
- i: Z,
314
- o: Z,
313
+ i: G,
314
+ o: G,
315
315
  d(a) {
316
- a && O(i), n && n.d(), r[19](null);
316
+ a && O(i), s && s.d(), r[19](null);
317
317
  }
318
318
  };
319
319
  }
320
320
  const $e = "verification_explanation_video_widgets.MP4";
321
321
  function ei(r, i, t) {
322
- let s, n;
323
- J(r, We, (e) => t(8, s = e)), J(r, Ke, (e) => t(27, n = e)), Q.extend(Ye);
324
- let { endpoint: a } = i, { lang: d = "en" } = i, { translationurl: g = "" } = i, { clientstyling: C = "" } = i, { clientstylingurl: w = "" } = i, { session: y = "" } = i, { customerid: _ = "" } = i, { playersession: x = "" } = i, { mbsource: v = "" } = i, V, q = /* @__PURE__ */ new Set(), I = /* @__PURE__ */ new Set(), D, h, m, f = !1, P = !0, u = !1, L = "", j = !1, ce = window.navigator.userAgent;
325
- var z;
322
+ let n, s;
323
+ Z(r, Ne, (e) => t(8, n = e)), Z(r, Xe, (e) => t(27, s = e)), Q.extend(Ye);
324
+ let { endpoint: a } = i, { lang: d = "en" } = i, { translationurl: g = "" } = i, { clientstyling: C = "" } = i, { clientstylingurl: w = "" } = i, { session: y = "" } = i, { customerid: _ = "" } = i, { playersession: x = "" } = i, { mbsource: v = "" } = i, V, q = /* @__PURE__ */ new Set(), I = /* @__PURE__ */ new Set(), D, h, p, f = !1, b = !0, u = !1, L = "", j = !1, ce = window.navigator.userAgent;
325
+ var F;
326
326
  (function(e) {
327
327
  e.Manual = "Manual", e.ShuftiPro = "ShuftiPro";
328
- })(z || (z = {}));
329
- var N;
328
+ })(F || (F = {}));
329
+ var W;
330
330
  (function(e) {
331
331
  e.Requested = "Requested";
332
- })(N || (N = {}));
332
+ })(W || (W = {}));
333
333
  var k;
334
334
  (function(e) {
335
335
  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";
@@ -341,7 +341,7 @@ function ei(r, i, t) {
341
341
  const Y = (e) => {
342
342
  e.data && e.data.type;
343
343
  };
344
- ze(() => (window.addEventListener("message", Y), Se(), () => {
344
+ Fe(() => (window.addEventListener("message", Y), Se(), () => {
345
345
  window.removeEventListener("message", Y);
346
346
  }));
347
347
  const le = [
@@ -363,9 +363,9 @@ function ei(r, i, t) {
363
363
  $(e, ee[e]);
364
364
  });
365
365
  const de = () => {
366
- Ge(d);
367
- }, K = () => {
368
- t(18, h = me());
366
+ Ke(d);
367
+ }, X = () => {
368
+ t(18, h = pe());
369
369
  const e = new URL(`${a}/v1/player/${_}/verification/GetKYCCustomerStatus?language=${d}`), o = new Headers();
370
370
  o.append("accept", "application/json"), o.append("Content-Type", "application/json"), o.append("x-sessionid", `${x}`), o.append("X-Client-Request-Timestamp", Q.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
371
371
  const c = {
@@ -374,21 +374,21 @@ function ei(r, i, t) {
374
374
  body: JSON.stringify({})
375
375
  };
376
376
  t(7, j = !0), fetch(e, c).then((S) => S.json()).then((S) => {
377
- const W = ue(S?.Verifications);
378
- D = pe(W), D.VerificationStatuses.forEach((R) => {
377
+ const N = ue(S?.Verifications);
378
+ D = me(N), D.VerificationStatuses.forEach((R) => {
379
379
  R.VerificationUrlType !== "Widget" && q.add(R.Vendor);
380
- }), t(3, m = ye());
380
+ }), t(3, p = ye());
381
381
  }).finally(() => t(7, j = !1));
382
382
  }, ue = (e) => e ? e.sort((o, c) => new Date(c.Created).getTime() - new Date(o.Created).getTime()) : [], he = () => {
383
- n && K();
384
- }, me = () => {
385
- let e = (y || n).split(".")[1];
383
+ s && X();
384
+ }, pe = () => {
385
+ let e = (y || s).split(".")[1];
386
386
  if (e) {
387
387
  let o = JSON.parse(atob(e));
388
388
  return o.cdn + "/cashier/operator-assets/" + o?.mid;
389
389
  }
390
390
  return "";
391
- }, pe = (e) => {
391
+ }, me = (e) => {
392
392
  if (!e || !e.length)
393
393
  return {
394
394
  VerificationSummaryStatus: k.Unverified,
@@ -400,26 +400,26 @@ function ei(r, i, t) {
400
400
  return {
401
401
  VerificationSummaryStatus: c.Status,
402
402
  VerificationUrl: c.Flags?.DeferredUrlKey,
403
- VerificationStatuses: G(o, c.Status)
403
+ VerificationStatuses: K(o, c.Status)
404
404
  };
405
405
  } else
406
406
  return {
407
407
  VerificationSummaryStatus: e.some((S) => S.Status === k.Failed) ? k.Failed : k.Verified,
408
- VerificationStatuses: G(e, [k.Failed])
408
+ VerificationStatuses: K(e, [k.Failed])
409
409
  };
410
410
  }, ge = (e) => e.reduce(
411
411
  (o, c) => o ? new Date(o) < new Date(c) ? c : o : c,
412
412
  0
413
- ), G = (e, o) => e.filter((c) => o.includes(c.Status)).map((c) => ({
413
+ ), K = (e, o) => e.filter((c) => o.includes(c.Status)).map((c) => ({
414
414
  Type: c.Type,
415
415
  Vendor: c.VendorName,
416
416
  VerificationDocuments: c.Documents ? [...c.Documents] : [],
417
417
  VerificationUrlType: c.FlowInfo?.Type,
418
418
  VerificationUrl: c.FlowInfo?.Url
419
419
  })), ve = (e) => e.filter((o) => le.includes(o.Status) ? o.FlowInfo && o.FlowInfo.Url || we(o) || ke(o) : !1), we = (e) => {
420
- const o = e.Documents && e.VendorName === z.Manual, c = e.Documents && e.Documents.some((S) => S.Status === N.Requested);
420
+ const o = e.Documents && e.VendorName === F.Manual, c = e.Documents && e.Documents.some((S) => S.Status === W.Requested);
421
421
  return o && c;
422
- }, ke = (e) => e.VendorName === z.ShuftiPro && e.Status === k.Referred, ye = () => {
422
+ }, ke = (e) => e.VendorName === F.ShuftiPro && e.Status === k.Referred, ye = () => {
423
423
  switch (D.VerificationSummaryStatus) {
424
424
  case k.InProgress:
425
425
  const e = [];
@@ -427,35 +427,35 @@ function ei(r, i, t) {
427
427
  e.push(Ve(o));
428
428
  }), e;
429
429
  case k.Referred:
430
- return [s("verification.idenfy.referred-awaiting")];
430
+ return [n("verification.idenfy.referred-awaiting")];
431
431
  case k.Failed:
432
- return [s("verification.message.failed")];
432
+ return [n("verification.message.failed")];
433
433
  }
434
434
  }, Ve = (e) => {
435
435
  const o = D.VerificationStatuses.filter((c) => c.Vendor === e);
436
- if (e === z.ShuftiPro)
437
- return Pe(o);
436
+ if (e === F.ShuftiPro)
437
+ return be(o);
438
438
  {
439
- const c = s("verification.idenfy.link-name"), S = {
439
+ const c = n("verification.idenfy.link-name"), S = {
440
440
  link: `<a href="${o[0].VerificationUrl}" target="_blank">${c}</a>`
441
441
  };
442
- return s("verification.idenfy.in-progress", { values: S });
442
+ return n("verification.idenfy.in-progress", { values: S });
443
443
  }
444
- }, Pe = (e) => {
444
+ }, be = (e) => {
445
445
  const o = [], c = {}, S = [
446
446
  E.Biometric,
447
447
  E.Documents,
448
448
  E.ProofOfAddress
449
449
  ];
450
450
  e.forEach((B) => {
451
- S.includes(B.Type) && (o.push(B.Type), c[B.Type] = be(B, Ce(B.Type)));
451
+ S.includes(B.Type) && (o.push(B.Type), c[B.Type] = Pe(B, Ce(B.Type)));
452
452
  });
453
- let W = o.every((B) => I.has(B)), R = `verification.shuftipro.in-progress.${o.sort().join(".")}`;
454
- return W ? s("verification.shuftipro.validations-started") : s(R, { values: c });
455
- }, be = (e, o) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${o}</a>`, Ce = (e) => s(`verification.shuftipro.link-name.${e}`), De = () => {
453
+ let N = o.every((B) => I.has(B)), R = `verification.shuftipro.in-progress.${o.sort().join(".")}`;
454
+ return N ? n("verification.shuftipro.validations-started") : n(R, { values: c });
455
+ }, Pe = (e, o) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${o}</a>`, Ce = (e) => n(`verification.shuftipro.link-name.${e}`), De = () => {
456
456
  t(4, f = !f);
457
457
  }, Se = () => {
458
- t(5, P = !Ee(ce));
458
+ t(5, b = !Ee(ce));
459
459
  }, _e = () => {
460
460
  L = h + "/" + d + "/" + $e;
461
461
  try {
@@ -483,7 +483,7 @@ function ei(r, i, t) {
483
483
  }, r.$$.update = () => {
484
484
  r.$$.dirty[0] & /*lang*/
485
485
  4096 && d && de(), r.$$.dirty[0] & /*endpoint, session, playersession*/
486
- 83968 && a && y && x && K(), r.$$.dirty[0] & /*endpoint, session, playersession*/
486
+ 83968 && a && y && x && X(), r.$$.dirty[0] & /*endpoint, session, playersession*/
487
487
  83968 && a && !y && x && he(), r.$$.dirty[0] & /*translationurl*/
488
488
  8192 && g && fe(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
489
489
  5 && C && V && He(V, C), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
@@ -494,12 +494,12 @@ function ei(r, i, t) {
494
494
  C,
495
495
  w,
496
496
  V,
497
- m,
497
+ p,
498
498
  f,
499
- P,
499
+ b,
500
500
  u,
501
501
  j,
502
- s,
502
+ n,
503
503
  De,
504
504
  xe,
505
505
  a,
@@ -532,7 +532,7 @@ class ii extends Be {
532
532
  playersession: 16,
533
533
  mbsource: 17
534
534
  },
535
- Ze,
535
+ Ge,
536
536
  [-1, -1]
537
537
  );
538
538
  }
@@ -591,7 +591,7 @@ class ii extends Be {
591
591
  this.$$set({ mbsource: i }), A();
592
592
  }
593
593
  }
594
- Ne(ii, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, mbsource: {} }, [], [], !0);
594
+ We(ii, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, mbsource: {} }, [], [], !0);
595
595
  export {
596
596
  ii as default
597
597
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierCarousel-Cd1TzgE8.cjs"),L=require("./CashierMethodDetails-D6dPCYFG.cjs");function H(n,t){e.addMessages(n,t)}function ge(n){e.init({fallbackLocale:"en"}),e.$locale.set(n)}const j={en:{verificationsRequired:"Verifications Required","verification.video.how-to":"How to verify yourself?","verification.idenfy.referred-awaiting":"ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back","verification.message.failed":"We apologize, but we were unable to verify your account. Please contact support team","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"To withdraw funds to your account you are required to pass user verification. Please have your ID ready and follow the {link} to start verification","verification.shuftipro.in-progress.Biometric":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification.","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Biometric","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"After completing verification, please proceed with the transaction"},tr:{verificationsRequired:"Doğrulamalar Gerekli","verification.video.how-to":"Kimlik doğrulama nasıl yapılır?","verification.idenfy.referred-awaiting":"Kimlik doğrulaması işlemde. Doğrulama tamamlandığında size haber vereceğiz","verification.message.failed":"Döküman doğrulama başarısız, hesabınız doğrulanamadı","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"Hesabınızdan çekim yapabilmek için kullanıcı doğrulaması gerekiyor. Lütfen kimliğinizi hazır edin ve {link} adresinden doğrulamayı başlatın","verification.shuftipro.in-progress.Biometric":"İşlemi gerçekleştirmek için kullanıcı doğrulamasını geçmeniz gerekmektedir. Doğrulamayı başlatmak için Lütfen linke tıklayın {Biometric}","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Doğrulama Yap","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"Lütfen Doğrulamayı tamamladıktan sonra işleme devam ediniz"},hr:{verificationsRequired:"Potrebne su provjere","verification.video.how-to":"How to verify yourself?","verification.idenfy.referred-awaiting":"ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back","verification.message.failed":"We apologize, but we were unable to verify your account. Please contact support team","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"To withdraw funds to your account you are required to pass user verification. Please have your ID ready and follow the {link} to start verification","verification.shuftipro.in-progress.Biometric":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification.","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Biometric","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"After completing verification, please proceed with the transaction"}};function ve(n){e.append_styles(n,"svelte-19ii49m",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.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)}')}function U(n,t,r){const s=n.slice();return s[53]=t[r],s}function we(n){let t,r=n[3].length>0&&W(n);return{c(){t=e.element("div"),r&&r.c(),e.attr(t,"class","CashierVerificationsWrapper")},m(s,a){e.insert(s,t,a),r&&r.m(t,null)},p(s,a){s[3].length>0?r?r.p(s,a):(r=W(s),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},d(s){s&&e.detach(t),r&&r.d()}}}function ke(n){let t;return{c(){t=e.element("cashier-spinner"),e.set_custom_element_data(t,"clientstylingurl",n[1]),e.set_custom_element_data(t,"clientstyling",n[0])},m(r,s){e.insert(r,t,s)},p(r,s){s[0]&2&&e.set_custom_element_data(t,"clientstylingurl",r[1]),s[0]&1&&e.set_custom_element_data(t,"clientstyling",r[0])},d(r){r&&e.detach(t)}}}function W(n){let t,r,s,a,l,d,g,P=n[8]("verificationsRequired")+"",w,y,C,D,v,V,A,q,_=e.ensure_array_like(n[3]),h=[];for(let f=0;f<_.length;f+=1)h[f]=N(U(n,_,f));let m=n[6]&&Y(n);return{c(){t=e.element("div"),r=e.svg_element("svg"),s=e.svg_element("path"),a=e.svg_element("path"),l=e.svg_element("path"),d=e.space(),g=e.element("p"),w=e.text(P),y=e.space(),C=e.element("span"),C.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>',D=e.space(),v=e.element("div");for(let f=0;f<h.length;f+=1)h[f].c();V=e.space(),m&&m.c(),e.attr(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"),e.attr(s,"stroke","#6E738F"),e.attr(s,"stroke-width","2"),e.attr(s,"stroke-linecap","round"),e.attr(s,"stroke-linejoin","round"),e.attr(a,"d","M12 8V12"),e.attr(a,"stroke","#6E738F"),e.attr(a,"stroke-width","2"),e.attr(a,"stroke-linecap","round"),e.attr(a,"stroke-linejoin","round"),e.attr(l,"d","M12 16H12.01"),e.attr(l,"stroke","#6E738F"),e.attr(l,"stroke-width","2"),e.attr(l,"stroke-linecap","round"),e.attr(l,"stroke-linejoin","round"),e.attr(r,"width","24"),e.attr(r,"height","24"),e.attr(r,"viewBox","0 0 24 24"),e.attr(r,"fill","none"),e.attr(r,"xmlns","http://www.w3.org/2000/svg"),e.attr(C,"class","CashierVerificationChevron"),e.toggle_class(C,"ShowVerifications",n[4]),e.attr(t,"class","VerificationsHeader"),e.attr(v,"class","VerificationsList"),e.toggle_class(v,"ShowVerifications",n[4])},m(f,b){e.insert(f,t,b),e.append(t,r),e.append(r,s),e.append(r,a),e.append(r,l),e.append(t,d),e.append(t,g),e.append(g,w),e.append(t,y),e.append(t,C),e.insert(f,D,b),e.insert(f,v,b);for(let u=0;u<h.length;u+=1)h[u]&&h[u].m(v,null);e.append(v,V),m&&m.m(v,null),A||(q=e.listen(t,"click",n[9]),A=!0)},p(f,b){if(b[0]&256&&P!==(P=f[8]("verificationsRequired")+"")&&e.set_data(w,P),b[0]&16&&e.toggle_class(C,"ShowVerifications",f[4]),b[0]&8){_=e.ensure_array_like(f[3]);let u;for(u=0;u<_.length;u+=1){const T=U(f,_,u);h[u]?h[u].p(T,b):(h[u]=N(T),h[u].c(),h[u].m(v,V))}for(;u<h.length;u+=1)h[u].d(1);h.length=_.length}f[6]?m?m.p(f,b):(m=Y(f),m.c(),m.m(v,null)):m&&(m.d(1),m=null),b[0]&16&&e.toggle_class(v,"ShowVerifications",f[4])},d(f){f&&(e.detach(t),e.detach(D),e.detach(v)),e.destroy_each(h,f),m&&m.d(),A=!1,q()}}}function N(n){let t,r,s,a,l=n[53]+"";return{c(){t=e.element("div"),r=e.element("div"),r.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=e.space(),a=e.element("p"),e.attr(r,"class","IconVerification"),e.attr(a,"class","text"),e.attr(t,"class","CashierVerificationMessage Test")},m(d,g){e.insert(d,t,g),e.append(t,r),e.append(t,s),e.append(t,a),a.innerHTML=l},p(d,g){g[0]&8&&l!==(l=d[53]+"")&&(a.innerHTML=l)},d(d){d&&e.detach(t)}}}function Y(n){let t,r,s,a,l=n[8]("verification.video.how-to")+"",d,g,P;return{c(){t=e.element("div"),r=e.element("div"),r.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=e.space(),a=e.element("div"),d=e.text(l),e.attr(r,"class","IconVideo"),e.attr(a,"class","CashierVerificationVideoLink"),e.toggle_class(a,"CashierVerificationVideoLinkDesktop",n[5]),e.attr(t,"class","CashierVerificationVideo Test")},m(w,y){e.insert(w,t,y),e.append(t,r),e.append(t,s),e.append(t,a),e.append(a,d),g||(P=e.listen(t,"click",n[10]),g=!0)},p(w,y){y[0]&256&&l!==(l=w[8]("verification.video.how-to")+"")&&e.set_data(d,l),y[0]&32&&e.toggle_class(a,"CashierVerificationVideoLinkDesktop",w[5])},d(w){w&&e.detach(t),g=!1,P()}}}function ye(n){let t;function r(l,d){if(l[7])return ke;if(l[3])return we}let s=r(n),a=s&&s(n);return{c(){t=e.element("div"),a&&a.c(),e.attr(t,"class","CashierVerifications"),e.toggle_class(t,"CashierVerificationsDesktop",n[5])},m(l,d){e.insert(l,t,d),a&&a.m(t,null),n[19](t)},p(l,d){s===(s=r(l))&&a?a.p(l,d):(a&&a.d(1),a=s&&s(l),a&&(a.c(),a.m(t,null))),d[0]&32&&e.toggle_class(t,"CashierVerificationsDesktop",l[5])},i:e.noop,o:e.noop,d(l){l&&e.detach(t),a&&a.d(),n[19](null)}}}const Ve="verification_explanation_video_widgets.MP4";function be(n,t,r){let s,a;e.component_subscribe(n,e.$format,i=>r(8,s=i)),e.component_subscribe(n,L.xPaymentSessionToken,i=>r(27,a=i)),L.dayjs.extend(L.utc);let{endpoint:l}=t,{lang:d="en"}=t,{translationurl:g=""}=t,{clientstyling:P=""}=t,{clientstylingurl:w=""}=t,{session:y=""}=t,{customerid:C=""}=t,{playersession:D=""}=t,{mbsource:v=""}=t,V,A=new Set,q=new Set,_,h,m,f=!1,b=!0,u=!1,T="",z=!1,K=window.navigator.userAgent;var O;(function(i){i.Manual="Manual",i.ShuftiPro="ShuftiPro"})(O||(O={}));var F;(function(i){i.Requested="Requested"})(F||(F={}));var k;(function(i){i.Unknown="Unknown",i.Unverified="Unverified",i.InProgress="InProgress",i.Failed="Failed",i.Verified="Verified",i.Referred="Referred",i.True="True",i.False="False",i.AwaitingForResponse="AwaitingForResponse"})(k||(k={}));var M;(function(i){i.Unknown="Unknown",i.Documents="Documents",i.Age="Age",i.Pep="Pep",i.Sanction="Sanction",i.Aml="Aml",i.ProofOfAddress="ProofOfAddress",i.SourceOfWealth="SourceOfWealth",i.SocialMedia="SocialMedia",i.Biometric="Biometric"})(M||(M={}));const I=i=>{i.data&&i.data.type};e.onMount(()=>(window.addEventListener("message",I),ue(),()=>{window.removeEventListener("message",I)}));const Z=[k.InProgress,k.Referred,k.AwaitingForResponse],G=()=>{let i=g;if(i)return fetch(i).then(o=>o.json()).then(o=>{Object.keys(o).forEach(c=>{H(c,o[c])})}).catch(o=>{console.log(o)})};Object.keys(j).forEach(i=>{H(i,j[i])});const J=()=>{ge(d)},E=()=>{r(18,h=ee());const i=new URL(`${l}/v1/player/${C}/verification/GetKYCCustomerStatus?language=${d}`),o=new Headers;o.append("accept","application/json"),o.append("Content-Type","application/json"),o.append("x-sessionid",`${D}`),o.append("X-Client-Request-Timestamp",L.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const c={method:"POST",headers:o,body:JSON.stringify({})};r(7,z=!0),fetch(i,c).then(p=>p.json()).then(p=>{const S=Q(p==null?void 0:p.Verifications);_=ie(S),_.VerificationStatuses.forEach(B=>{B.VerificationUrlType!=="Widget"&&A.add(B.Vendor)}),r(3,m=se())}).finally(()=>r(7,z=!1))},Q=i=>i?i.sort((o,c)=>new Date(c.Created).getTime()-new Date(o.Created).getTime()):[],$=()=>{a&&E()},ee=()=>{let i=(y||a).split(".")[1];if(i){let o=JSON.parse(atob(i));return o.cdn+"/cashier/operator-assets/"+(o==null?void 0:o.mid)}return""},ie=i=>{var c;if(!i||!i.length)return{VerificationSummaryStatus:k.Unverified,VerificationStatuses:[]};const o=re(i);if(o&&o.length){const p=te(o);return{VerificationSummaryStatus:p.Status,VerificationUrl:(c=p.Flags)==null?void 0:c.DeferredUrlKey,VerificationStatuses:R(o,p.Status)}}else return{VerificationSummaryStatus:i.some(S=>S.Status===k.Failed)?k.Failed:k.Verified,VerificationStatuses:R(i,[k.Failed])}},te=i=>i.reduce((o,c)=>o?new Date(o)<new Date(c)?c:o:c,0),R=(i,o)=>i.filter(c=>o.includes(c.Status)).map(c=>{var p,S;return{Type:c.Type,Vendor:c.VendorName,VerificationDocuments:c.Documents?[...c.Documents]:[],VerificationUrlType:(p=c.FlowInfo)==null?void 0:p.Type,VerificationUrl:(S=c.FlowInfo)==null?void 0:S.Url}}),re=i=>i.filter(o=>Z.includes(o.Status)?o.FlowInfo&&o.FlowInfo.Url||oe(o)||ne(o):!1),oe=i=>{const o=i.Documents&&i.VendorName===O.Manual,c=i.Documents&&i.Documents.some(p=>p.Status===F.Requested);return o&&c},ne=i=>i.VendorName===O.ShuftiPro&&i.Status===k.Referred,se=()=>{switch(_.VerificationSummaryStatus){case k.InProgress:const i=[];return A.forEach(o=>{i.push(ae(o))}),i;case k.Referred:return[s("verification.idenfy.referred-awaiting")];case k.Failed:return[s("verification.message.failed")]}},ae=i=>{const o=_.VerificationStatuses.filter(c=>c.Vendor===i);if(i===O.ShuftiPro)return le(o);{const c=s("verification.idenfy.link-name"),p={link:`<a href="${o[0].VerificationUrl}" target="_blank">${c}</a>`};return s("verification.idenfy.in-progress",{values:p})}},le=i=>{const o=[],c={},p=[M.Biometric,M.Documents,M.ProofOfAddress];i.forEach(x=>{p.includes(x.Type)&&(o.push(x.Type),c[x.Type]=ce(x,fe(x.Type)))});let S=o.every(x=>q.has(x)),B=`verification.shuftipro.in-progress.${o.sort().join(".")}`;return S?s("verification.shuftipro.validations-started"):s(B,{values:c})},ce=(i,o)=>`<a class="verificationLink ${i.Type}" href=" ${i.VerificationUrl} " target="_blank">${o}</a>`,fe=i=>s(`verification.shuftipro.link-name.${i}`),de=()=>{r(4,f=!f)},ue=()=>{r(5,b=!e.isMobile(K))},he=()=>{T=h+"/"+d+"/"+Ve;try{fetch(T,{method:"HEAD"}).then(i=>{r(6,u=i.ok)})}catch(i){r(6,u=!1)}},pe=()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"video",data:{videoSrc:T}}}))};function me(i){e.binding_callbacks[i?"unshift":"push"](()=>{V=i,r(2,V)})}return n.$$set=i=>{"endpoint"in i&&r(11,l=i.endpoint),"lang"in i&&r(12,d=i.lang),"translationurl"in i&&r(13,g=i.translationurl),"clientstyling"in i&&r(0,P=i.clientstyling),"clientstylingurl"in i&&r(1,w=i.clientstylingurl),"session"in i&&r(14,y=i.session),"customerid"in i&&r(15,C=i.customerid),"playersession"in i&&r(16,D=i.playersession),"mbsource"in i&&r(17,v=i.mbsource)},n.$$.update=()=>{n.$$.dirty[0]&4096&&d&&J(),n.$$.dirty[0]&83968&&l&&y&&D&&E(),n.$$.dirty[0]&83968&&l&&!y&&D&&$(),n.$$.dirty[0]&8192&&g&&G(),n.$$.dirty[0]&5&&P&&V&&e.setClientStyling(V,P),n.$$.dirty[0]&6&&w&&V&&e.setClientStylingURL(V,w),n.$$.dirty[0]&262144&&h&&he(),n.$$.dirty[0]&131076&&v&&V&&e.setStreamStyling(V,`${v}.Style`)},[P,w,V,m,f,b,u,z,s,de,pe,l,d,g,y,C,D,v,h,me]}class X extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,be,ye,e.safe_not_equal,{endpoint:11,lang:12,translationurl:13,clientstyling:0,clientstylingurl:1,session:14,customerid:15,playersession:16,mbsource:17},ve,[-1,-1])}get endpoint(){return this.$$.ctx[11]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),e.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get session(){return this.$$.ctx[14]}set session(t){this.$$set({session:t}),e.flush()}get customerid(){return this.$$.ctx[15]}set customerid(t){this.$$set({customerid:t}),e.flush()}get playersession(){return this.$$.ctx[16]}set playersession(t){this.$$set({playersession:t}),e.flush()}get mbsource(){return this.$$.ctx[17]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(X,{endpoint:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},session:{},customerid:{},playersession:{},mbsource:{}},[],[],!0);exports.default=X;