@everymatrix/cashier-page 1.90.38 → 1.91.1

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 (78) hide show
  1. package/components/CashierCarousel-BNcnaN7U.js +672 -0
  2. package/components/CashierCarousel-CDhxtgjT.cjs +1 -0
  3. package/components/CashierCarousel-tfVH51fj.js +675 -0
  4. package/components/{CashierError-KbAGLdoj.js → CashierError-BBZp_vCz.js} +16 -15
  5. package/components/CashierError-BqvEnGrr.cjs +1 -0
  6. package/components/{CashierError-konEQwnP.js → CashierError-CJCuZ3gS.js} +16 -15
  7. package/components/CashierHeader-BGA-Qd-S.js +456 -0
  8. package/components/CashierHeader-BKL2lJFV.cjs +1 -0
  9. package/components/CashierHeader-Bt5aV48_.js +456 -0
  10. package/components/CashierIframeRedirect-BFSErhBp.cjs +1 -0
  11. package/components/{CashierIframeRedirect-C3muwYdO.js → CashierIframeRedirect-BmdHdE-5.js} +91 -106
  12. package/components/{CashierIframeRedirect-Ti9O6xV-.js → CashierIframeRedirect-pYzLGWrC.js} +93 -108
  13. package/components/CashierMethodDetails-DVZrNpfS.cjs +85 -0
  14. package/components/{CashierMethodDetails-B3kqjVcJ.js → CashierMethodDetails-DcSOxSSa.js} +2955 -3380
  15. package/components/{CashierMethodDetails-BuXvXCMn.js → CashierMethodDetails-pX-AJWAC.js} +2965 -3390
  16. package/components/{CashierMethodsList-Dz_ZPGDZ.js → CashierMethodsList-Bdv9g-e3.js} +56 -56
  17. package/components/CashierMethodsList-CKVmXdTC.cjs +1 -0
  18. package/components/{CashierMethodsList-DxIhgxEL.js → CashierMethodsList-D1cLe15i.js} +65 -65
  19. package/components/{CashierModal-BsrmgnKi.js → CashierModal-B3zx276E.js} +33 -32
  20. package/components/CashierModal-J_mZ6ODP.cjs +1 -0
  21. package/components/{CashierModal-B1pfSpCs.js → CashierModal-v3KI6AFW.js} +37 -36
  22. package/components/{CashierNotifications-DbJuswYZ.js → CashierNotifications-B2R2A9Ph.js} +5 -5
  23. package/components/{CashierNotifications-BXxNDzMM.js → CashierNotifications-CS6nM02T.js} +3 -3
  24. package/components/CashierNotifications-D-OhK4CJ.cjs +1 -0
  25. package/components/CashierPage-7d2gkNjC.js +9989 -0
  26. package/components/CashierPage-N8z4Zzox.js +9936 -0
  27. package/components/CashierPage-flG2gyRG.cjs +23 -0
  28. package/components/{CashierReceiptPage-DLZjvQui.js → CashierReceiptPage-BAvDYneB.js} +125 -138
  29. package/components/{CashierReceiptPage-DLp3xTRl.js → CashierReceiptPage-BHsVpacF.js} +125 -138
  30. package/components/CashierReceiptPage-BLOSwHFv.cjs +26 -0
  31. package/components/{CashierSessionExpirationModal-DnrJB7FX.js → CashierSessionExpirationModal-Bxct5zbr.js} +280 -267
  32. package/components/{CashierSessionExpirationModal-D9rAlcNI.js → CashierSessionExpirationModal-fN2A0ywt.js} +267 -254
  33. package/components/CashierSessionExpirationModal-vmiK0fHD.cjs +2 -0
  34. package/components/{CashierSpinner-DMrM0bGx.js → CashierSpinner-Ake8hCVD.js} +11 -10
  35. package/components/CashierSpinner-BUQIDK1i.cjs +1 -0
  36. package/components/{CashierSpinner-gJqeYU1n.js → CashierSpinner-DXjWZCDg.js} +13 -12
  37. package/components/CashierStepUp-BtrSk7D-.cjs +1 -0
  38. package/components/{CashierStepUp-BtmD9q4i.js → CashierStepUp-CcGk8qq_.js} +246 -245
  39. package/components/{CashierStepUp-B530YrSp.js → CashierStepUp-D2XsYRPV.js} +169 -168
  40. package/components/CashierTransactionHistory-0iCdtdJ1.cjs +1 -0
  41. package/components/{CashierTransactionHistory-DGGy4ffC.js → CashierTransactionHistory-C_yz5IP4.js} +71 -71
  42. package/components/{CashierTransactionHistory-DjJSyWXf.js → CashierTransactionHistory-Dr-rQ2Vi.js} +66 -66
  43. package/components/{CashierVerifications-CNMavkzY.js → CashierVerifications-DKRqica1.js} +158 -142
  44. package/components/{CashierVerifications-DWiOQPvm.js → CashierVerifications-dqSxyAIe.js} +118 -102
  45. package/components/CashierVerifications-v1QrnVcB.cjs +1 -0
  46. package/components/{TxnStatusIcon-DRFHs_0F.js → TxnStatusIcon-BBJGYEAU.js} +1 -1
  47. package/components/TxnStatusIcon-BWEAB3rw.cjs +1 -0
  48. package/components/{TxnStatusIcon-DCSCOAn2.js → TxnStatusIcon-BkGptsYx.js} +8 -8
  49. package/components/{TxnTypeIcons-Bg7QJKuH.js → TxnTypeIcons-BDTJpcOb.js} +1 -1
  50. package/components/TxnTypeIcons-Bjn-FpNT.cjs +1 -0
  51. package/components/{TxnTypeIcons-D37zQDwq.js → TxnTypeIcons-Bmdgcbf2.js} +1 -1
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +7 -7
  54. package/esnext/cashier-page.js +1 -1
  55. package/package.json +1 -1
  56. package/components/CashierCarousel-B-cM-nlR.js +0 -5797
  57. package/components/CashierCarousel-CXoovlrR.js +0 -5835
  58. package/components/CashierCarousel-DMrMmClP.cjs +0 -23
  59. package/components/CashierError-CHGdRh2_.cjs +0 -1
  60. package/components/CashierHeader-B7FnLv3f.js +0 -397
  61. package/components/CashierHeader-BbP0idUh.js +0 -397
  62. package/components/CashierHeader-PvXFHPzQ.cjs +0 -1
  63. package/components/CashierIframeRedirect-C0AQ3pLh.cjs +0 -1
  64. package/components/CashierMethodDetails-31NnDFlx.cjs +0 -85
  65. package/components/CashierMethodsList-Dpc1Qnt_.cjs +0 -1
  66. package/components/CashierModal-DF8meLAZ.cjs +0 -1
  67. package/components/CashierNotifications-B8bRZMac.cjs +0 -1
  68. package/components/CashierPage-CrLOKCt7.js +0 -4485
  69. package/components/CashierPage-DDNG9YBM.cjs +0 -1
  70. package/components/CashierPage-Ra2kFFdS.js +0 -4455
  71. package/components/CashierReceiptPage-CGntD3Ym.cjs +0 -26
  72. package/components/CashierSessionExpirationModal-BE-FRBRq.cjs +0 -2
  73. package/components/CashierSpinner-DKYO0FtD.cjs +0 -1
  74. package/components/CashierStepUp-DKytvkqu.cjs +0 -1
  75. package/components/CashierTransactionHistory-DK7tE0EW.cjs +0 -1
  76. package/components/CashierVerifications-8c9sENE2.cjs +0 -1
  77. package/components/TxnStatusIcon-CWkyVMIU.cjs +0 -1
  78. package/components/TxnTypeIcons-CTQXT_j5.cjs +0 -1
@@ -1,12 +1,12 @@
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-BuXvXCMn.js";
3
- function ie(o, i) {
4
- Le(o, i);
1
+ import { a as Le, i as Te, $ as qe, S as Ee, b as Fe, s as Re, f as _, c as He, y as G, e as B, L as O, k as L, m as C, o as c, p as Q, M as $, N as Ie, q as Ue, C as je, x as Ne, O as j, D as ee, E as We, v as ae, l as g, z as le, P as N, n as E, w as ce, A as Ye, B as Xe, Q as Ke } from "./CashierPage-7d2gkNjC.js";
2
+ import { s as Je, a as Ze, b as Ge } from "./CashierHeader-BGA-Qd-S.js";
3
+ function ie(r, i) {
4
+ Le(r, i);
5
5
  }
6
- function Qe(o) {
6
+ function Qe(r) {
7
7
  Te({
8
8
  fallbackLocale: "en"
9
- }), qe.set(o);
9
+ }), qe.set(r);
10
10
  }
11
11
  const te = {
12
12
  en: {
@@ -67,35 +67,51 @@ 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
+ if (typeof window != "undefined") {
71
+ let r = function(i) {
72
+ return function(...t) {
73
+ try {
74
+ return i.apply(this, t);
75
+ } catch (o) {
76
+ if (o instanceof DOMException && o.message.includes("has already been used with this registry") || o.message.includes("Cannot define multiple custom elements with the same tag name"))
77
+ return !1;
78
+ throw o;
79
+ }
80
+ };
81
+ };
82
+ customElements.define = r(customElements.define), import("./CashierModal-v3KI6AFW.js").then(({ default: i }) => {
83
+ !customElements.get("cashier-modal") && customElements.define("cashier-modal", i.element);
84
+ });
85
+ }
86
+ function $e(r) {
87
+ He(r, "svelte-xrv2v8", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications .CashierVerificationsWrapper:has(.CashierVerificationMessage){margin:var(--emw--spacing-small, 12px) auto}.CashierVerificationsWrapper{width:100%;padding:10px;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);position:relative;overflow:hidden;isolation:isolate;flex-direction:column;background-color:rgba(255, 255, 255, 0.063);display:flex;z-index:1;width:97%;margin:auto;cursor:pointer;user-select:none}.CashierVerificationsWrapper::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary) 0%, var(--emw--color-black) 100%);background-size:200% 200%;animation:gradientWave 8s ease infinite}.CashierVerificationsWrapper::after{content:"";position:absolute;inset:-2px;z-index:-2;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary), var(--emw--color-black) transparent);background-size:200% 200%;animation:gradientWave 8s ease infinite reverse;filter:blur(10px);opacity:0.6}@keyframes gradientWave{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}.VerificationsHeader{display:flex;align-items:center}.VerificationsList{max-height:0;overflow:hidden;transform:translateY(-10px);opacity:0;transition:max-height 0.3s ease, transform 0.3s ease, opacity 0.3s ease}.VerificationsList.ShowVerifications{max-height:100%;transform:translateY(0);opacity:1}.CashierVerificationChevron.ShowVerifications svg{-o-transform:rotateX(180deg);-ms-transform:rotateX(180deg);-moz-transform:rotateX(180deg);-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:rgba(0, 0, 0, 0.15);border-radius:10px;margin-bottom:10px;padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg path{stroke:var(--emw--color-typography, var(--emw--color-white, #ffffff))}p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:500;font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word;font-weight:200;font-size:12px}.text a{color:var(--emw--color-primary, #f9c408);font-weight:500}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s;margin-right:5px}.CashierVerificationChevron svg path{fill:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotateX(90deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center;fill:var(--emw--color-primary, #f9c408)}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-primary, #f9c408);font-family:inherit;font-size:var(--emw--font-size-small, 12px);line-height:120%;margin:var(--emw--spacing-small, 12px);font-weight:500}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}');
72
88
  }
73
- function re(o, i, t) {
74
- const s = o.slice();
75
- return s[56] = i[t], s;
89
+ function re(r, i, t) {
90
+ const o = r.slice();
91
+ return o[56] = i[t], o;
76
92
  }
77
- function ei(o) {
93
+ function ei(r) {
78
94
  let i, t = (
79
95
  /*displayMessages*/
80
- o[3].length > 0 && oe(o)
96
+ r[3].length > 0 && oe(r)
81
97
  );
82
98
  return {
83
99
  c() {
84
100
  i = C("div"), t && t.c(), c(i, "class", "CashierVerificationsWrapper");
85
101
  },
86
- m(s, n) {
87
- L(s, i, n), t && t.m(i, null);
102
+ m(o, n) {
103
+ L(o, i, n), t && t.m(i, null);
88
104
  },
89
- p(s, n) {
105
+ p(o, n) {
90
106
  /*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);
107
+ o[3].length > 0 ? t ? t.p(o, n) : (t = oe(o), t.c(), t.m(i, null)) : t && (t.d(1), t = null);
92
108
  },
93
- d(s) {
94
- s && O(i), t && t.d();
109
+ d(o) {
110
+ o && B(i), t && t.d();
95
111
  }
96
112
  };
97
113
  }
98
- function ii(o) {
114
+ function ii(r) {
99
115
  let i;
100
116
  return {
101
117
  c() {
@@ -103,25 +119,25 @@ function ii(o) {
103
119
  i,
104
120
  "clientstylingurl",
105
121
  /*clientstylingurl*/
106
- o[1]
122
+ r[1]
107
123
  ), j(
108
124
  i,
109
125
  "clientstyling",
110
126
  /*clientstyling*/
111
- o[0]
127
+ r[0]
112
128
  );
113
129
  },
114
- m(t, s) {
115
- L(t, i, s);
130
+ m(t, o) {
131
+ L(t, i, o);
116
132
  },
117
- p(t, s) {
118
- s[0] & /*clientstylingurl*/
133
+ p(t, o) {
134
+ o[0] & /*clientstylingurl*/
119
135
  2 && j(
120
136
  i,
121
137
  "clientstylingurl",
122
138
  /*clientstylingurl*/
123
139
  t[1]
124
- ), s[0] & /*clientstyling*/
140
+ ), o[0] & /*clientstyling*/
125
141
  1 && j(
126
142
  i,
127
143
  "clientstyling",
@@ -130,64 +146,64 @@ function ii(o) {
130
146
  );
131
147
  },
132
148
  d(t) {
133
- t && O(i);
149
+ t && B(i);
134
150
  }
135
151
  };
136
152
  }
137
- function oe(o) {
138
- let i, t, s, n, a, u, w, D = (
153
+ function oe(r) {
154
+ let i, t, o, n, a, u, w, D = (
139
155
  /*$_*/
140
- o[8]("verificationsRequired") + ""
141
- ), k, b, S, x, v, A, P, E, z = $(
156
+ r[8]("verificationsRequired") + ""
157
+ ), k, b, S, x, v, A, P, F, z = ee(
142
158
  /*displayMessages*/
143
- o[3]
159
+ r[3]
144
160
  ), d = [];
145
161
  for (let f = 0; f < z.length; f += 1)
146
- d[f] = se(re(o, z, f));
162
+ d[f] = se(re(r, z, f));
147
163
  let h = (
148
164
  /*videoExists*/
149
- o[6] && ne(o)
165
+ r[6] && ne(r)
150
166
  );
151
167
  return {
152
168
  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");
169
+ i = C("div"), t = N("svg"), o = N("path"), n = N("path"), a = N("path"), u = E(), w = C("p"), k = ce(D), b = E(), S = C("span"), S.innerHTML = '<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>', x = E(), v = C("div");
154
170
  for (let f = 0; f < d.length; f += 1)
155
171
  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(
172
+ A = E(), h && h.c(), c(o, "d", "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"), c(o, "stroke", "#6E738F"), c(o, "stroke-width", "2"), c(o, "stroke-linecap", "round"), c(o, "stroke-linejoin", "round"), c(n, "d", "M12 8V12"), c(n, "stroke", "#6E738F"), c(n, "stroke-width", "2"), c(n, "stroke-linecap", "round"), c(n, "stroke-linejoin", "round"), c(a, "d", "M12 16H12.01"), c(a, "stroke", "#6E738F"), c(a, "stroke-width", "2"), c(a, "stroke-linecap", "round"), c(a, "stroke-linejoin", "round"), c(t, "width", "24"), c(t, "height", "24"), c(t, "viewBox", "0 0 24 24"), c(t, "fill", "none"), c(t, "xmlns", "http://www.w3.org/2000/svg"), c(S, "class", "CashierVerificationChevron"), O(
157
173
  S,
158
174
  "ShowVerifications",
159
175
  /*allVerificationsVisible*/
160
- o[4]
161
- ), c(i, "class", "VerificationsHeader"), c(v, "class", "VerificationsList"), B(
176
+ r[4]
177
+ ), c(i, "class", "VerificationsHeader"), c(v, "class", "VerificationsList"), O(
162
178
  v,
163
179
  "ShowVerifications",
164
180
  /*allVerificationsVisible*/
165
- o[4]
181
+ r[4]
166
182
  );
167
183
  },
168
184
  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);
185
+ L(f, i, y), g(i, t), g(t, o), g(t, n), g(t, a), g(i, u), g(i, w), g(w, k), g(i, b), g(i, S), L(f, x, y), L(f, v, y);
170
186
  for (let m = 0; m < d.length; m += 1)
171
187
  d[m] && d[m].m(v, null);
172
- g(v, A), h && h.m(v, null), P || (E = le(
188
+ g(v, A), h && h.m(v, null), P || (F = le(
173
189
  i,
174
190
  "click",
175
191
  /*toggleVerifications*/
176
- o[9]
192
+ r[9]
177
193
  ), P = !0);
178
194
  },
179
195
  p(f, y) {
180
196
  if (y[0] & /*$_*/
181
197
  256 && D !== (D = /*$_*/
182
198
  f[8]("verificationsRequired") + "") && ae(k, D), y[0] & /*allVerificationsVisible*/
183
- 16 && B(
199
+ 16 && O(
184
200
  S,
185
201
  "ShowVerifications",
186
202
  /*allVerificationsVisible*/
187
203
  f[4]
188
204
  ), y[0] & /*displayMessages*/
189
205
  8) {
190
- z = $(
206
+ z = ee(
191
207
  /*displayMessages*/
192
208
  f[3]
193
209
  );
@@ -202,7 +218,7 @@ function oe(o) {
202
218
  }
203
219
  /*videoExists*/
204
220
  f[6] ? h ? h.p(f, y) : (h = ne(f), h.c(), h.m(v, null)) : h && (h.d(1), h = null), y[0] & /*allVerificationsVisible*/
205
- 16 && B(
221
+ 16 && O(
206
222
  v,
207
223
  "ShowVerifications",
208
224
  /*allVerificationsVisible*/
@@ -210,21 +226,21 @@ function oe(o) {
210
226
  );
211
227
  },
212
228
  d(f) {
213
- f && (O(i), O(x), O(v)), Ne(d, f), h && h.d(), P = !1, E();
229
+ f && (B(i), B(x), B(v)), We(d, f), h && h.d(), P = !1, F();
214
230
  }
215
231
  };
216
232
  }
217
- function se(o) {
218
- let i, t, s, n, a = (
233
+ function se(r) {
234
+ let i, t, o, n, a = (
219
235
  /*message*/
220
- o[56] + ""
236
+ r[56] + ""
221
237
  );
222
238
  return {
223
239
  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");
240
+ i = C("div"), t = C("div"), t.innerHTML = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>', o = E(), n = C("p"), c(t, "class", "IconVerification"), c(n, "class", "text"), c(i, "class", "CashierVerificationMessage Test");
225
241
  },
226
242
  m(u, w) {
227
- L(u, i, w), g(i, t), g(i, s), g(i, n), n.innerHTML = a;
243
+ L(u, i, w), g(i, t), g(i, o), g(i, n), n.innerHTML = a;
228
244
  },
229
245
  p(u, w) {
230
246
  w[0] & /*displayMessages*/
@@ -232,37 +248,37 @@ function se(o) {
232
248
  u[56] + "") && (n.innerHTML = a);
233
249
  },
234
250
  d(u) {
235
- u && O(i);
251
+ u && B(i);
236
252
  }
237
253
  };
238
254
  }
239
- function ne(o) {
240
- let i, t, s, n, a = (
255
+ function ne(r) {
256
+ let i, t, o, n, a = (
241
257
  /*$_*/
242
- o[8]("verification.video.how-to") + ""
258
+ r[8]("verification.video.how-to") + ""
243
259
  ), u, w, D;
244
260
  return {
245
261
  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(
262
+ i = C("div"), t = C("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', o = E(), n = C("div"), u = ce(a), c(t, "class", "IconVideo"), c(n, "class", "CashierVerificationVideoLink"), O(
247
263
  n,
248
264
  "CashierVerificationVideoLinkDesktop",
249
265
  /*desktopView*/
250
- o[5]
266
+ r[5]
251
267
  ), c(i, "class", "CashierVerificationVideo Test");
252
268
  },
253
269
  m(k, b) {
254
- L(k, i, b), g(i, t), g(i, s), g(i, n), g(n, u), w || (D = le(
270
+ L(k, i, b), g(i, t), g(i, o), g(i, n), g(n, u), w || (D = le(
255
271
  i,
256
272
  "click",
257
273
  /*showVideo*/
258
- o[10]
274
+ r[10]
259
275
  ), w = !0);
260
276
  },
261
277
  p(k, b) {
262
278
  b[0] & /*$_*/
263
279
  256 && a !== (a = /*$_*/
264
280
  k[8]("verification.video.how-to") + "") && ae(u, a), b[0] & /*desktopView*/
265
- 32 && B(
281
+ 32 && O(
266
282
  n,
267
283
  "CashierVerificationVideoLinkDesktop",
268
284
  /*desktopView*/
@@ -270,11 +286,11 @@ function ne(o) {
270
286
  );
271
287
  },
272
288
  d(k) {
273
- k && O(i), w = !1, D();
289
+ k && B(i), w = !1, D();
274
290
  }
275
291
  };
276
292
  }
277
- function ti(o) {
293
+ function ti(r) {
278
294
  let i;
279
295
  function t(a, u) {
280
296
  if (
@@ -288,48 +304,48 @@ function ti(o) {
288
304
  )
289
305
  return ei;
290
306
  }
291
- let s = t(o), n = s && s(o);
307
+ let o = t(r), n = o && o(r);
292
308
  return {
293
309
  c() {
294
- i = C("div"), n && n.c(), c(i, "class", "CashierVerifications"), B(
310
+ i = C("div"), n && n.c(), c(i, "class", "CashierVerifications"), O(
295
311
  i,
296
312
  "CashierVerificationsDesktop",
297
313
  /*desktopView*/
298
- o[5]
314
+ r[5]
299
315
  );
300
316
  },
301
317
  m(a, u) {
302
- L(a, i, u), n && n.m(i, null), o[20](i);
318
+ L(a, i, u), n && n.m(i, null), r[20](i);
303
319
  },
304
320
  p(a, u) {
305
- 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(
321
+ o === (o = t(a)) && n ? n.p(a, u) : (n && n.d(1), n = o && o(a), n && (n.c(), n.m(i, null))), u[0] & /*desktopView*/
322
+ 32 && O(
307
323
  i,
308
324
  "CashierVerificationsDesktop",
309
325
  /*desktopView*/
310
326
  a[5]
311
327
  );
312
328
  },
313
- i: J,
314
- o: J,
329
+ i: G,
330
+ o: G,
315
331
  d(a) {
316
- a && O(i), n && n.d(), o[20](null);
332
+ a && B(i), n && n.d(), r[20](null);
317
333
  }
318
334
  };
319
335
  }
320
336
  const ri = "verification_explanation_video_widgets.MP4";
321
- function oi(o, i, t) {
322
- 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;
337
+ function oi(r, i, t) {
338
+ let o, n;
339
+ Q(r, Xe, (e) => t(8, o = e)), Q(r, Ke, (e) => t(29, n = e)), $.extend(Ie);
340
+ let { endpoint: a } = i, { lang: u = "en" } = i, { translationurl: w = "" } = i, { clientstyling: D = "" } = i, { clientstylingurl: k = "" } = i, { session: b = "" } = i, { customerid: S = "" } = i, { playersession: x = "" } = i, { userroles: v = "" } = i, { mbsource: A = "" } = i, P, F = /* @__PURE__ */ new Set(), z = /* @__PURE__ */ new Set(), d, h, f, y = !1, m = !0, q = !1, W = "", Y = !1, fe, I = [], ue = window.navigator.userAgent;
325
341
  var R;
326
342
  (function(e) {
327
343
  e.Manual = "Manual", e.ShuftiPro = "ShuftiPro";
328
344
  })(R || (R = {}));
329
- var Y;
345
+ var X;
330
346
  (function(e) {
331
347
  e.Requested = "Requested";
332
- })(Y || (Y = {}));
348
+ })(X || (X = {}));
333
349
  var V;
334
350
  (function(e) {
335
351
  e.Unknown = "Unknown", e.Unverified = "Unverified", e.InProgress = "InProgress", e.Failed = "Failed", e.Verified = "Verified", e.Referred = "Referred", e.True = "True", e.False = "False", e.AwaitingForResponse = "AwaitingForResponse";
@@ -341,7 +357,7 @@ function oi(o, i, t) {
341
357
  const K = (e) => {
342
358
  e.data && e.data.type;
343
359
  };
344
- Ie(() => (window.addEventListener("message", K), Ae(), () => {
360
+ Ue(() => (window.addEventListener("message", K), Ae(), () => {
345
361
  window.removeEventListener("message", K);
346
362
  }));
347
363
  const de = [
@@ -351,12 +367,12 @@ function oi(o, i, t) {
351
367
  ], me = () => {
352
368
  let e = w;
353
369
  if (e)
354
- return fetch(e).then((r) => r.json()).then((r) => {
355
- Object.keys(r).forEach((l) => {
356
- ie(l, r[l]);
370
+ return fetch(e).then((s) => s.json()).then((s) => {
371
+ Object.keys(s).forEach((l) => {
372
+ ie(l, s[l]);
357
373
  });
358
- }).catch((r) => {
359
- console.log(r);
374
+ }).catch((s) => {
375
+ console.log(s);
360
376
  });
361
377
  };
362
378
  Object.keys(te).forEach((e) => {
@@ -364,28 +380,28 @@ function oi(o, i, t) {
364
380
  });
365
381
  const he = () => {
366
382
  Qe(u);
367
- }, Z = () => {
383
+ }, J = () => {
368
384
  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");
385
+ const e = new URL(`${a}/v1/player/${S}/verification/GetKYCCustomerStatus?language=${u}`), s = new Headers();
386
+ s.append("accept", "application/json"), s.append("Content-Type", "application/json"), s.append("x-sessionid", `${x}`), s.append("X-Client-Request-Timestamp", $.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), Array.isArray(I) && I.length > 0 && I.indexOf("MM_CHANNEL_BETA") != -1 && s.append("MM_CHANNEL", "BETA");
371
387
  const l = {
372
388
  method: "POST",
373
- headers: r,
389
+ headers: s,
374
390
  body: JSON.stringify({})
375
391
  };
376
- t(7, X = !0), fetch(e, l).then((p) => p.json()).then((p) => {
392
+ t(7, Y = !0), fetch(e, l).then((p) => p.json()).then((p) => {
377
393
  const M = pe(p == null ? void 0 : p.Verifications);
378
394
  d = we(M), d.VerificationStatuses.forEach((U) => {
379
- U.VerificationUrlType !== "Widget" && E.add(U.Vendor);
395
+ U.VerificationUrlType !== "Widget" && F.add(U.Vendor);
380
396
  }), 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();
397
+ }).finally(() => t(7, Y = !1));
398
+ }, pe = (e) => e ? e.sort((s, l) => new Date(l.Created).getTime() - new Date(s.Created).getTime()) : [], ve = () => {
399
+ n && J();
384
400
  }, ge = () => {
385
401
  let e = (b || n).split(".")[1];
386
402
  if (e) {
387
- let r = JSON.parse(atob(e));
388
- return r.cdn + "/cashier/operator-assets/" + (r == null ? void 0 : r.mid);
403
+ let s = JSON.parse(atob(e));
404
+ return s.cdn + "/cashier/operator-assets/" + (s == null ? void 0 : s.mid);
389
405
  }
390
406
  return "";
391
407
  }, we = (e) => {
@@ -395,23 +411,23 @@ function oi(o, i, t) {
395
411
  VerificationSummaryStatus: V.Unverified,
396
412
  VerificationStatuses: []
397
413
  };
398
- const r = ye(e);
399
- if (r && r.length) {
400
- const p = ke(r);
414
+ const s = ye(e);
415
+ if (s && s.length) {
416
+ const p = ke(s);
401
417
  return {
402
418
  VerificationSummaryStatus: p.Status,
403
419
  VerificationUrl: (l = p.Flags) == null ? void 0 : l.DeferredUrlKey,
404
- VerificationStatuses: G(r, p.Status)
420
+ VerificationStatuses: Z(s, p.Status)
405
421
  };
406
422
  } else
407
423
  return {
408
424
  VerificationSummaryStatus: e.some((M) => M.Status === V.Failed) ? V.Failed : V.Verified,
409
- VerificationStatuses: G(e, [V.Failed])
425
+ VerificationStatuses: Z(e, [V.Failed])
410
426
  };
411
427
  }, ke = (e) => e.reduce(
412
- (r, l) => r ? new Date(r) < new Date(l) ? l : r : l,
428
+ (s, l) => s ? new Date(s) < new Date(l) ? l : s : l,
413
429
  0
414
- ), G = (e, r) => e.filter((l) => r.includes(l.Status)).map((l) => {
430
+ ), Z = (e, s) => e.filter((l) => s.includes(l.Status)).map((l) => {
415
431
  var p, M;
416
432
  return {
417
433
  Type: l.Type,
@@ -420,46 +436,46 @@ function oi(o, i, t) {
420
436
  VerificationUrlType: (p = l.FlowInfo) == null ? void 0 : p.Type,
421
437
  VerificationUrl: (M = l.FlowInfo) == null ? void 0 : M.Url
422
438
  };
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;
439
+ }), ye = (e) => e.filter((s) => de.includes(s.Status) ? s.FlowInfo && s.FlowInfo.Url || Ve(s) || be(s) : !1), Ve = (e) => {
440
+ const s = e.Documents && e.VendorName === R.Manual, l = e.Documents && e.Documents.some((p) => p.Status === X.Requested);
441
+ return s && l;
426
442
  }, be = (e) => e.VendorName === R.ShuftiPro && e.Status === V.Referred, Pe = () => {
427
443
  switch (d.VerificationSummaryStatus) {
428
444
  case V.InProgress:
429
445
  const e = [];
430
- return E.forEach((r) => {
431
- e.push(Ce(r));
446
+ return F.forEach((s) => {
447
+ e.push(Ce(s));
432
448
  }), e;
433
449
  case V.Referred:
434
- return [s("verification.idenfy.referred-awaiting")];
450
+ return [o("verification.idenfy.referred-awaiting")];
435
451
  case V.Failed:
436
- return [s("verification.message.failed")];
452
+ return [o("verification.message.failed")];
437
453
  }
438
454
  }, Ce = (e) => {
439
- const r = d.VerificationStatuses.filter((l) => l.Vendor === e);
455
+ const s = d.VerificationStatuses.filter((l) => l.Vendor === e);
440
456
  if (e === R.ShuftiPro)
441
- return De(r);
457
+ return De(s);
442
458
  {
443
- const l = s("verification.idenfy.link-name"), p = {
444
- link: `<a href="${r[0].VerificationUrl}" target="_blank">${l}</a>`
459
+ const l = o("verification.idenfy.link-name"), p = {
460
+ link: `<a href="${s[0].VerificationUrl}" target="_blank">${l}</a>`
445
461
  };
446
- return s("verification.idenfy.in-progress", { values: p });
462
+ return o("verification.idenfy.in-progress", { values: p });
447
463
  }
448
464
  }, De = (e) => {
449
- const r = [], l = {}, p = [
465
+ const s = [], l = {}, p = [
450
466
  H.Biometric,
451
467
  H.Documents,
452
468
  H.ProofOfAddress
453
469
  ];
454
470
  e.forEach((T) => {
455
- p.includes(T.Type) && (r.push(T.Type), l[T.Type] = Se(T, _e(T.Type)));
471
+ p.includes(T.Type) && (s.push(T.Type), l[T.Type] = Se(T, _e(T.Type)));
456
472
  });
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 = () => {
473
+ let M = s.every((T) => z.has(T)), U = `verification.shuftipro.in-progress.${s.sort().join(".")}`;
474
+ return M ? o("verification.shuftipro.validations-started") : o(U, { values: l });
475
+ }, Se = (e, s) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${s}</a>`, _e = (e) => o(`verification.shuftipro.link-name.${e}`), xe = () => {
460
476
  t(4, y = !y);
461
477
  }, Ae = () => {
462
- t(5, m = !Ue(ue));
478
+ t(5, m = !je(ue));
463
479
  }, ze = () => {
464
480
  W = h + "/" + u + "/" + ri;
465
481
  try {
@@ -471,7 +487,7 @@ function oi(o, i, t) {
471
487
  }
472
488
  }, Me = () => {
473
489
  v.length > 0 && (I = v.split(","));
474
- }, Be = () => {
490
+ }, Oe = () => {
475
491
  window.dispatchEvent(new CustomEvent(
476
492
  "modal-update",
477
493
  {
@@ -479,24 +495,24 @@ function oi(o, i, t) {
479
495
  }
480
496
  ));
481
497
  };
482
- function Oe(e) {
483
- je[e ? "unshift" : "push"](() => {
498
+ function Be(e) {
499
+ Ne[e ? "unshift" : "push"](() => {
484
500
  P = e, t(2, P);
485
501
  });
486
502
  }
487
- return o.$$set = (e) => {
503
+ return r.$$set = (e) => {
488
504
  "endpoint" in e && t(11, a = e.endpoint), "lang" in e && t(12, u = e.lang), "translationurl" in e && t(13, w = e.translationurl), "clientstyling" in e && t(0, D = e.clientstyling), "clientstylingurl" in e && t(1, k = e.clientstylingurl), "session" in e && t(14, b = e.session), "customerid" in e && t(15, S = e.customerid), "playersession" in e && t(16, x = e.playersession), "userroles" in e && t(17, v = e.userroles), "mbsource" in e && t(18, A = e.mbsource);
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);
505
+ }, r.$$.update = () => {
506
+ r.$$.dirty[0] & /*userroles*/
507
+ 131072 && v && Me(), r.$$.dirty[0] & /*lang*/
508
+ 4096 && u && he(), r.$$.dirty[0] & /*endpoint, session, playersession*/
509
+ 83968 && a && b && x && J(), r.$$.dirty[0] & /*endpoint, session, playersession*/
510
+ 83968 && a && !b && x && ve(), r.$$.dirty[0] & /*translationurl*/
511
+ 8192 && w && me(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
512
+ 5 && D && P && Je(P, D), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
513
+ 6 && k && P && Ze(P, k), r.$$.dirty[0] & /*staticCdnUrl*/
514
+ 524288 && h && ze(), r.$$.dirty[0] & /*mbsource, customStylingContainer*/
515
+ 262148 && A && P && Ge(P, `${A}.Style`, fe);
500
516
  }, [
501
517
  D,
502
518
  k,
@@ -505,10 +521,10 @@ function oi(o, i, t) {
505
521
  y,
506
522
  m,
507
523
  q,
508
- X,
509
- s,
524
+ Y,
525
+ o,
510
526
  xe,
511
- Be,
527
+ Oe,
512
528
  a,
513
529
  u,
514
530
  w,
@@ -518,12 +534,12 @@ function oi(o, i, t) {
518
534
  v,
519
535
  A,
520
536
  h,
521
- Oe
537
+ Be
522
538
  ];
523
539
  }
524
- class si extends Fe {
540
+ class si extends Ee {
525
541
  constructor(i) {
526
- super(), Ee(
542
+ super(), Fe(
527
543
  this,
528
544
  i,
529
545
  oi,
@@ -606,7 +622,7 @@ class si extends Fe {
606
622
  this.$$set({ mbsource: i }), _();
607
623
  }
608
624
  }
609
- Ke(si, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, userroles: {}, mbsource: {} }, [], [], !0);
625
+ Ye(si, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, userroles: {}, mbsource: {} }, [], [], !0);
610
626
  export {
611
627
  si as default
612
628
  };