@everymatrix/cashier-page 1.63.2 → 1.64.0

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 (70) hide show
  1. package/components/{CashierConfirmModal-sI8AKckC.js → CashierConfirmModal-4RYp7Eiq.js} +285 -304
  2. package/components/CashierConfirmModal-DMmJumcl.cjs +4 -0
  3. package/components/{CashierConfirmModal-D-5CwHBA.js → CashierConfirmModal-untxGhsx.js} +152 -171
  4. package/components/{CashierError-ChvIhij4.cjs → CashierError-BD3PpAT9.cjs} +3 -3
  5. package/components/{CashierError-7Ot8GFHL.js → CashierError-DHzuwwQu.js} +4 -3
  6. package/components/{CashierError-Dcf1i1i-.js → CashierError-bKWdh6zs.js} +4 -3
  7. package/components/{CashierHeader-DnmOCyY5.js → CashierHeader-BDMjFf0S.js} +2 -2
  8. package/components/{CashierHeader-Btl5G1aW.js → CashierHeader-C85_EOkn.js} +2 -2
  9. package/components/{CashierHeader-xBZmd3xD.cjs → CashierHeader-DUIiJ1ma.cjs} +1 -1
  10. package/components/{CashierIframeRedirect-iRpGhBuO.js → CashierIframeRedirect-BZxYVcmF.js} +4 -4
  11. package/components/{CashierIframeRedirect-lBzX1iUX.cjs → CashierIframeRedirect-C3fjCJfm.cjs} +1 -1
  12. package/components/{CashierIframeRedirect-_jhy32eh.js → CashierIframeRedirect-CptFS2B0.js} +4 -4
  13. package/components/{CashierMethodDetails-DatXAL1v.js → CashierMethodDetails-B8ZN94ja.js} +2548 -2559
  14. package/components/{CashierMethodDetails-jk5GNqET.js → CashierMethodDetails-L1ZnAwA1.js} +2015 -1998
  15. package/components/CashierMethodDetails-lGOSlmya.cjs +18 -0
  16. package/components/CashierMethodsList-BcBzNfKT.cjs +1 -0
  17. package/components/CashierMethodsList-CNCrMZ4g.js +882 -0
  18. package/components/CashierMethodsList-CmF_WTB-.js +871 -0
  19. package/components/{CashierModal-BoglqxPv.js → CashierModal-BrwIBn9a.js} +14 -14
  20. package/components/{CashierModal-BhCdxWcE.cjs → CashierModal-BuM2Yq-y.cjs} +1 -1
  21. package/components/{CashierModal-6CTryAQJ.js → CashierModal-ZfKvGxFq.js} +11 -11
  22. package/components/{CashierNotifications-BVAanyOB.cjs → CashierNotifications-BLJS7gpv.cjs} +1 -1
  23. package/components/{CashierNotifications-GwlCZVnm.js → CashierNotifications-C48iLynX.js} +1 -1
  24. package/components/{CashierNotifications-BFj3fQud.js → CashierNotifications-dn6rnyK_.js} +1 -1
  25. package/components/CashierPage-B453tZx8.cjs +1 -0
  26. package/components/{CashierPage-V2NAWvNg.js → CashierPage-ClJcMBDB.js} +1128 -1109
  27. package/components/{CashierPage-B1G7PQOG.js → CashierPage-D8D89xo-.js} +1128 -1109
  28. package/components/{CashierReceiptPage-BA00H-2d.cjs → CashierReceiptPage-BO4QXf-M.cjs} +1 -1
  29. package/components/{CashierReceiptPage-CG0IVSDJ.js → CashierReceiptPage-BPED3qt4.js} +21 -27
  30. package/components/{CashierReceiptPage-D4IgTNIg.js → CashierReceiptPage-otjaMyRe.js} +21 -27
  31. package/components/{CashierSessionExpirationModal-CHPU1aRa.js → CashierSessionExpirationModal-BQFyVDBj.js} +430 -428
  32. package/components/CashierSessionExpirationModal-Ckg5tH-9.cjs +2 -0
  33. package/components/{CashierSessionExpirationModal-DV8r-804.js → CashierSessionExpirationModal-DAWM1xQ6.js} +452 -450
  34. package/components/{CashierSpinner-DO1yLcR1.js → CashierSpinner-C-ubAde7.js} +1 -1
  35. package/components/{CashierSpinner-H763izjz.cjs → CashierSpinner-D-uP0nCc.cjs} +1 -1
  36. package/components/{CashierSpinner-bxbp3WK6.js → CashierSpinner-tLPMJx6q.js} +1 -1
  37. package/components/{CashierTransactionHistory-DyQIw9U2.cjs → CashierTransactionHistory-BiM02fXh.cjs} +1 -1
  38. package/components/{CashierTransactionHistory-Dxq24rfR.js → CashierTransactionHistory-Bugs_tmN.js} +13 -13
  39. package/components/{CashierTransactionHistory-DuD_IPSM.js → CashierTransactionHistory-Cd3pN70W.js} +13 -13
  40. package/components/{CashierVerifications-CLeYFnf-.cjs → CashierVerifications-4hUquQj9.cjs} +1 -1
  41. package/components/{CashierVerifications-BXoRLAWe.js → CashierVerifications-BL3E_m40.js} +191 -194
  42. package/components/{CashierVerifications-AI2HHaYS.js → CashierVerifications-Ckv8ml82.js} +208 -211
  43. package/components/CashierVideoModal-BZg_b6bd.cjs +1 -0
  44. package/components/{CashierVideoModal-CVEk7pqo.js → CashierVideoModal-CVDvqrcy.js} +17 -17
  45. package/components/{CashierVideoModal-BGKXfmt9.js → CashierVideoModal-DHNu0BQz.js} +17 -17
  46. package/es2015/cashier-page.cjs +1 -1
  47. package/es2015/cashier-page.js +1 -1
  48. package/esnext/cashier-page.js +1 -1
  49. package/package.json +1 -1
  50. package/stencil/{index-97d17652-C616IYj2.js → index-97d17652-BEnqZAxL.js} +1 -1
  51. package/stencil/{index-97d17652-C9Ph2JiE.cjs → index-97d17652-D5_8Vwfn.cjs} +1 -1
  52. package/stencil/{index-97d17652-B8yQdy7J.js → index-97d17652-WK_DbPS4.js} +1 -1
  53. package/stencil/{ui-image-Bz0nQwNJ.cjs → ui-image-CMb1eK44.cjs} +1 -1
  54. package/stencil/{ui-image-DX8NqsyA.js → ui-image-CQQDA5b0.js} +1 -1
  55. package/stencil/{ui-image-o9dMcntc.js → ui-image-CmwNU-jf.js} +1 -1
  56. package/stencil/{ui-image-7da92f1f-26DzsVFt.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +6 -6
  57. package/stencil/ui-image-b7b48fe5-DCck2kk1.cjs +1 -0
  58. package/stencil/{ui-image-7da92f1f-BAghvEDf.js → ui-image-b7b48fe5-V9vp4faA.js} +6 -6
  59. package/stencil/{ui-image_2-Cyqb4u7k.js → ui-image_2-B56t6kXT.js} +2 -2
  60. package/stencil/{ui-image_2-BXgptLvl.js → ui-image_2-BncuYpLi.js} +2 -2
  61. package/stencil/{ui-image_2-Cctik3aF.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
  62. package/components/CashierConfirmModal-BVT51ZOp.cjs +0 -4
  63. package/components/CashierMethodDetails-DLhEFjxf.cjs +0 -18
  64. package/components/CashierMethodsList-C0IZmP3U.js +0 -760
  65. package/components/CashierMethodsList-DfKVl2ns.js +0 -749
  66. package/components/CashierMethodsList-PDEbBRc7.cjs +0 -1
  67. package/components/CashierPage-DuVl1Vzu.cjs +0 -1
  68. package/components/CashierSessionExpirationModal-B3thCy2R.cjs +0 -2
  69. package/components/CashierVideoModal-CjR0Fzuu.cjs +0 -1
  70. package/stencil/ui-image-7da92f1f-BiVBd_OW.cjs +0 -1
@@ -1,15 +1,15 @@
1
- import { S as Ce, b as _e, s as Se, f as D, c as Ae, n as G, e as _, J as M, m as S, p as w, v as V, w as Oe, K as Y, L as Me, D as C, q as O, A as Te, o as k, B as H, y as Be, z as Le, E as Ie } from "./CashierConfirmModal-sI8AKckC.js";
2
- import { a as qe, i as xe, $ as Ee, b as Fe } from "./CashierError-Dcf1i1i-.js";
3
- import { d as J, u as ze } from "./CashierMethodDetails-DatXAL1v.js";
4
- function Z(t, i) {
5
- qe(t, i);
1
+ import { S as Ae, b as Oe, s as Me, f as D, c as Te, n as J, e as S, J as M, m as _, p as y, v as P, w as Z, K as X, L as Be, D as C, q as O, A as Le, o as k, B as R, y as qe, z as xe, E as Fe } from "./CashierConfirmModal-4RYp7Eiq.js";
2
+ import { a as Ie, i as ze, $ as Ee, b as Ue } from "./CashierError-bKWdh6zs.js";
3
+ import { d as Q, u as Re, x as He } from "./CashierMethodDetails-L1ZnAwA1.js";
4
+ function $(t, i) {
5
+ Ie(t, i);
6
6
  }
7
- function Ue(t) {
8
- xe({
7
+ function je(t) {
8
+ ze({
9
9
  fallbackLocale: "en"
10
10
  }), Ee.set(t);
11
11
  }
12
- const X = {
12
+ const ee = {
13
13
  en: {
14
14
  "verification.video.how-to": "How to verify yourself",
15
15
  "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",
@@ -70,41 +70,41 @@ if (typeof window != "undefined") {
70
70
  return function(...r) {
71
71
  try {
72
72
  return i.apply(this, r);
73
- } catch (s) {
74
- if (s instanceof DOMException && s.message.includes("has already been used with this registry") || s.message.includes("Cannot define multiple custom elements with the same tag name"))
73
+ } catch (n) {
74
+ if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
75
75
  return !1;
76
- throw s;
76
+ throw n;
77
77
  }
78
78
  };
79
79
  };
80
- customElements.define = t(customElements.define), import("./CashierVideoModal-BGKXfmt9.js").then(({ default: i }) => {
80
+ customElements.define = t(customElements.define), import("./CashierVideoModal-DHNu0BQz.js").then(({ default: i }) => {
81
81
  !customElements.get("cashier-video-modal") && customElements.define("cashier-video-modal", i.element);
82
82
  });
83
83
  }
84
- function Re(t) {
85
- Ae(t, "svelte-1emynn4", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);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}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);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;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
84
+ function Ne(t) {
85
+ Te(t, "svelte-1emynn4", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);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}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);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;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
86
86
  }
87
- function Q(t, i, r) {
88
- const s = t.slice();
89
- return s[49] = i[r], s[51] = r, s;
87
+ function ie(t, i, r) {
88
+ const n = t.slice();
89
+ return n[51] = i[r], n[53] = r, n;
90
90
  }
91
- function $(t) {
92
- let i, r, s, l, f = Y(
91
+ function te(t) {
92
+ let i, r, n, l, d = X(
93
93
  /*displayMessages*/
94
94
  t[4]
95
- ), d = [];
96
- for (let a = 0; a < f.length; a += 1)
97
- d[a] = ie(Q(t, f, a));
95
+ ), f = [];
96
+ for (let a = 0; a < d.length; a += 1)
97
+ f[a] = oe(ie(t, d, a));
98
98
  let h = (
99
99
  /*videoExists*/
100
- t[7] && te(t)
100
+ t[7] && se(t)
101
101
  );
102
102
  return {
103
103
  c() {
104
- i = w("div");
105
- for (let a = 0; a < d.length; a += 1)
106
- d[a].c();
107
- r = O(), h && h.c(), s = O(), l = w("cashier-video-modal"), V(i, "class", "CashierVerificationsWrapper"), C(
104
+ i = y("div");
105
+ for (let a = 0; a < f.length; a += 1)
106
+ f[a].c();
107
+ r = O(), h && h.c(), n = O(), l = y("cashier-video-modal"), P(i, "class", "CashierVerificationsWrapper"), C(
108
108
  l,
109
109
  "clientstylingurl",
110
110
  /*clientstylingurl*/
@@ -127,29 +127,29 @@ function $(t) {
127
127
  );
128
128
  },
129
129
  m(a, u) {
130
- S(a, i, u);
131
- for (let n = 0; n < d.length; n += 1)
132
- d[n] && d[n].m(i, null);
133
- S(a, r, u), h && h.m(a, u), S(a, s, u), S(a, l, u);
130
+ _(a, i, u);
131
+ for (let s = 0; s < f.length; s += 1)
132
+ f[s] && f[s].m(i, null);
133
+ _(a, r, u), h && h.m(a, u), _(a, n, u), _(a, l, u);
134
134
  },
135
135
  p(a, u) {
136
136
  if (u[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
137
137
  1072) {
138
- f = Y(
138
+ d = X(
139
139
  /*displayMessages*/
140
140
  a[4]
141
141
  );
142
- let n;
143
- for (n = 0; n < f.length; n += 1) {
144
- const y = Q(a, f, n);
145
- d[n] ? d[n].p(y, u) : (d[n] = ie(y), d[n].c(), d[n].m(i, null));
142
+ let s;
143
+ for (s = 0; s < d.length; s += 1) {
144
+ const V = ie(a, d, s);
145
+ f[s] ? f[s].p(V, u) : (f[s] = oe(V), f[s].c(), f[s].m(i, null));
146
146
  }
147
- for (; n < d.length; n += 1)
148
- d[n].d(1);
149
- d.length = f.length;
147
+ for (; s < f.length; s += 1)
148
+ f[s].d(1);
149
+ f.length = d.length;
150
150
  }
151
151
  /*videoExists*/
152
- a[7] ? h ? h.p(a, u) : (h = te(a), h.c(), h.m(s.parentNode, s)) : h && (h.d(1), h = null), u[0] & /*clientstylingurl*/
152
+ a[7] ? h ? h.p(a, u) : (h = se(a), h.c(), h.m(n.parentNode, n)) : h && (h.d(1), h = null), u[0] & /*clientstylingurl*/
153
153
  2 && C(
154
154
  l,
155
155
  "clientstylingurl",
@@ -176,74 +176,74 @@ function $(t) {
176
176
  );
177
177
  },
178
178
  d(a) {
179
- a && (_(i), _(r), _(s), _(l)), Me(d, a), h && h.d(a);
179
+ a && (S(i), S(r), S(n), S(l)), Be(f, a), h && h.d(a);
180
180
  }
181
181
  };
182
182
  }
183
- function ee(t) {
184
- let i, r, s;
185
- function l(...f) {
183
+ function re(t) {
184
+ let i, r, n;
185
+ function l(...d) {
186
186
  return (
187
187
  /*click_handler*/
188
188
  t[18](
189
189
  /*index*/
190
- t[51],
191
- ...f
190
+ t[53],
191
+ ...d
192
192
  )
193
193
  );
194
194
  }
195
195
  return {
196
196
  c() {
197
- i = w("span"), i.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', V(i, "class", "CashierVerificationChevron");
197
+ i = y("span"), i.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', P(i, "class", "CashierVerificationChevron");
198
198
  },
199
- m(f, d) {
200
- S(f, i, d), r || (s = H(i, "click", l), r = !0);
199
+ m(d, f) {
200
+ _(d, i, f), r || (n = R(i, "click", l), r = !0);
201
201
  },
202
- p(f, d) {
203
- t = f;
202
+ p(d, f) {
203
+ t = d;
204
204
  },
205
- d(f) {
206
- f && _(i), r = !1, s();
205
+ d(d) {
206
+ d && S(i), r = !1, n();
207
207
  }
208
208
  };
209
209
  }
210
- function ie(t) {
211
- let i, r, s, l, f = (
210
+ function oe(t) {
211
+ let i, r, n, l, d = (
212
212
  /*message*/
213
- t[49] + ""
214
- ), d, h, a, u, n = (
213
+ t[51] + ""
214
+ ), f, h, a, u, s = (
215
215
  /*displayMessages*/
216
216
  t[4].length > 1 && /*index*/
217
- t[51] === 0 && ee(t)
217
+ t[53] === 0 && re(t)
218
218
  );
219
- function y(...p) {
219
+ function V(...v) {
220
220
  return (
221
221
  /*click_handler_1*/
222
222
  t[19](
223
223
  /*index*/
224
- t[51],
225
- ...p
224
+ t[53],
225
+ ...v
226
226
  )
227
227
  );
228
228
  }
229
229
  return {
230
230
  c() {
231
- i = w("div"), r = w("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', s = O(), l = w("p"), d = O(), n && n.c(), h = O(), V(r, "class", "IconVerification"), V(l, "class", "text"), V(i, "class", "CashierVerificationMessage"), M(
231
+ i = y("div"), r = y("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', n = O(), l = y("p"), f = O(), s && s.c(), h = O(), P(r, "class", "IconVerification"), P(l, "class", "text"), P(i, "class", "CashierVerificationMessage"), M(
232
232
  i,
233
233
  "ShowAll",
234
234
  /*allVerificationsVisible*/
235
235
  t[5]
236
236
  );
237
237
  },
238
- m(p, P) {
239
- S(p, i, P), k(i, r), k(i, s), k(i, l), l.innerHTML = f, k(i, d), n && n.m(i, null), k(i, h), a || (u = H(i, "click", y), a = !0);
238
+ m(v, g) {
239
+ _(v, i, g), k(i, r), k(i, n), k(i, l), l.innerHTML = d, k(i, f), s && s.m(i, null), k(i, h), a || (u = R(i, "click", V), a = !0);
240
240
  },
241
- p(p, P) {
242
- t = p, P[0] & /*displayMessages*/
243
- 16 && f !== (f = /*message*/
244
- t[49] + "") && (l.innerHTML = f), /*displayMessages*/
241
+ p(v, g) {
242
+ t = v, g[0] & /*displayMessages*/
243
+ 16 && d !== (d = /*message*/
244
+ t[51] + "") && (l.innerHTML = d), /*displayMessages*/
245
245
  t[4].length > 1 && /*index*/
246
- t[51] === 0 ? n ? n.p(t, P) : (n = ee(t), n.c(), n.m(i, h)) : n && (n.d(1), n = null), P[0] & /*allVerificationsVisible*/
246
+ t[53] === 0 ? s ? s.p(t, g) : (s = re(t), s.c(), s.m(i, h)) : s && (s.d(1), s = null), g[0] & /*allVerificationsVisible*/
247
247
  32 && M(
248
248
  i,
249
249
  "ShowAll",
@@ -251,37 +251,37 @@ function ie(t) {
251
251
  t[5]
252
252
  );
253
253
  },
254
- d(p) {
255
- p && _(i), n && n.d(), a = !1, u();
254
+ d(v) {
255
+ v && S(i), s && s.d(), a = !1, u();
256
256
  }
257
257
  };
258
258
  }
259
- function te(t) {
260
- let i, r, s, l, f = (
259
+ function se(t) {
260
+ let i, r, n, l, d = (
261
261
  /*$_*/
262
262
  t[9]("verification.video.how-to") + ""
263
- ), d, h, a;
263
+ ), f, h, a;
264
264
  return {
265
265
  c() {
266
- i = w("div"), r = w("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 = O(), l = w("div"), d = Le(f), V(r, "class", "IconVideo"), V(l, "class", "CashierVerificationVideoLink"), M(
266
+ i = y("div"), r = y("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>', n = O(), l = y("div"), f = xe(d), P(r, "class", "IconVideo"), P(l, "class", "CashierVerificationVideoLink"), M(
267
267
  l,
268
268
  "CashierVerificationVideoLinkDesktop",
269
269
  /*desktopView*/
270
270
  t[6]
271
- ), V(i, "class", "CashierVerificationVideo");
271
+ ), P(i, "class", "CashierVerificationVideo");
272
272
  },
273
- m(u, n) {
274
- S(u, i, n), k(i, r), k(i, s), k(i, l), k(l, d), h || (a = H(
273
+ m(u, s) {
274
+ _(u, i, s), k(i, r), k(i, n), k(i, l), k(l, f), h || (a = R(
275
275
  l,
276
276
  "click",
277
277
  /*click_handler_2*/
278
278
  t[20]
279
279
  ), h = !0);
280
280
  },
281
- p(u, n) {
282
- n[0] & /*$_*/
283
- 512 && f !== (f = /*$_*/
284
- u[9]("verification.video.how-to") + "") && Be(d, f), n[0] & /*desktopView*/
281
+ p(u, s) {
282
+ s[0] & /*$_*/
283
+ 512 && d !== (d = /*$_*/
284
+ u[9]("verification.video.how-to") + "") && qe(f, d), s[0] & /*desktopView*/
285
285
  64 && M(
286
286
  l,
287
287
  "CashierVerificationVideoLinkDesktop",
@@ -290,104 +290,104 @@ function te(t) {
290
290
  );
291
291
  },
292
292
  d(u) {
293
- u && _(i), h = !1, a();
293
+ u && S(i), h = !1, a();
294
294
  }
295
295
  };
296
296
  }
297
- function He(t) {
297
+ function Ke(t) {
298
298
  let i, r = (
299
299
  /*displayMessages*/
300
- t[4] && $(t)
300
+ t[4] && te(t)
301
301
  );
302
302
  return {
303
303
  c() {
304
- i = w("div"), r && r.c(), V(i, "class", "CashierVerifications"), M(
304
+ i = y("div"), r && r.c(), P(i, "class", "CashierVerifications"), M(
305
305
  i,
306
306
  "CashierVerificationsDesktop",
307
307
  /*desktopView*/
308
308
  t[6]
309
309
  );
310
310
  },
311
- m(s, l) {
312
- S(s, i, l), r && r.m(i, null), t[21](i);
311
+ m(n, l) {
312
+ _(n, i, l), r && r.m(i, null), t[21](i);
313
313
  },
314
- p(s, l) {
314
+ p(n, l) {
315
315
  /*displayMessages*/
316
- s[4] ? r ? r.p(s, l) : (r = $(s), r.c(), r.m(i, null)) : r && (r.d(1), r = null), l[0] & /*desktopView*/
316
+ n[4] ? r ? r.p(n, l) : (r = te(n), r.c(), r.m(i, null)) : r && (r.d(1), r = null), l[0] & /*desktopView*/
317
317
  64 && M(
318
318
  i,
319
319
  "CashierVerificationsDesktop",
320
320
  /*desktopView*/
321
- s[6]
321
+ n[6]
322
322
  );
323
323
  },
324
- i: G,
325
- o: G,
326
- d(s) {
327
- s && _(i), r && r.d(), t[21](null);
324
+ i: J,
325
+ o: J,
326
+ d(n) {
327
+ n && S(i), r && r.d(), t[21](null);
328
328
  }
329
329
  };
330
330
  }
331
- const je = "verification_explanation_video_widgets.MP4", Ne = "700px", Ke = "500px";
332
- function We(t, i, r) {
333
- let s;
334
- Oe(t, Fe, (e) => r(9, s = e)), J.extend(ze);
335
- let { endpoint: l } = i, { lang: f = "en" } = i, { translationurl: d = "" } = i, { clientstyling: h = "" } = i, { clientstylingurl: a = "" } = i, { session: u = "" } = i, { customerid: n = "" } = i, { ismobileview: y = "" } = i, p, P = /* @__PURE__ */ new Set(), j = /* @__PURE__ */ new Set(), L, I, q, x = !0, E = !0, F = !1, z = "";
331
+ const We = "verification_explanation_video_widgets.MP4";
332
+ function Ye(t, i, r) {
333
+ let n, l;
334
+ Z(t, Ue, (e) => r(9, n = e)), Z(t, He, (e) => r(27, l = e)), Q.extend(Re);
335
+ let { endpoint: d } = i, { lang: f = "en" } = i, { translationurl: h = "" } = i, { clientstyling: a = "" } = i, { clientstylingurl: u = "" } = i, { session: s = "" } = i, { customerid: V = "" } = i, { ismobileview: v = "" } = i, g, H = /* @__PURE__ */ new Set(), j = /* @__PURE__ */ new Set(), L, q, x, F = !0, N = !0, I = !1, z = "";
336
336
  var T;
337
337
  (function(e) {
338
338
  e.Manual = "Manual", e.ShuftiPro = "ShuftiPro";
339
339
  })(T || (T = {}));
340
- var U;
340
+ var E;
341
341
  (function(e) {
342
342
  e.Requested = "Requested";
343
- })(U || (U = {}));
344
- var g;
343
+ })(E || (E = {}));
344
+ var p;
345
345
  (function(e) {
346
346
  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";
347
- })(g || (g = {}));
347
+ })(p || (p = {}));
348
348
  var B;
349
349
  (function(e) {
350
350
  e.Unknown = "Unknown", e.Documents = "Documents", e.Age = "Age", e.Pep = "Pep", e.Sanction = "Sanction", e.Aml = "Aml", e.ProofOfAddress = "ProofOfAddress", e.SourceOfWealth = "SourceOfWealth", e.SocialMedia = "SocialMedia", e.Biometric = "Biometric";
351
351
  })(B || (B = {}));
352
- const re = [
353
- g.InProgress,
354
- g.Referred,
355
- g.AwaitingForResponse
356
- ], oe = () => {
357
- let e = d;
352
+ const ne = [
353
+ p.InProgress,
354
+ p.Referred,
355
+ p.AwaitingForResponse
356
+ ], ae = () => {
357
+ let e = h;
358
358
  if (e)
359
359
  return fetch(e).then((o) => o.json()).then((o) => {
360
360
  Object.keys(o).forEach((c) => {
361
- Z(c, o[c]);
361
+ $(c, o[c]);
362
362
  });
363
363
  }).catch((o) => {
364
364
  console.log(o);
365
365
  });
366
366
  };
367
- Object.keys(X).forEach((e) => {
368
- Z(e, X[e]);
367
+ Object.keys(ee).forEach((e) => {
368
+ $(e, ee[e]);
369
369
  });
370
- const se = () => {
371
- Ue(f);
372
- }, ne = () => {
370
+ const le = () => {
371
+ je(f);
372
+ }, ce = () => {
373
373
  let e = document.createElement("style");
374
- e.innerHTML = h, p.appendChild(e);
375
- }, ae = () => {
376
- let e = new URL(a), o = document.createElement("style");
374
+ e.innerHTML = a, g.appendChild(e);
375
+ }, fe = () => {
376
+ let e = new URL(u), o = document.createElement("style");
377
377
  fetch(e.href).then((c) => c.text()).then((c) => {
378
378
  o.innerHTML = c, setTimeout(
379
379
  () => {
380
- p.appendChild(o);
380
+ g.appendChild(o);
381
381
  },
382
382
  1
383
383
  );
384
384
  });
385
- }, le = () => {
386
- const { merchantId: e, customerId: o } = ce();
385
+ }, K = () => {
386
+ const { merchantId: e, customerId: o } = ue();
387
387
  if (!e)
388
388
  return;
389
- const c = new URL(`${l}/v1/player/verification/GetKYCStatus`), m = new Headers();
390
- m.append("accept", "application/json"), m.append("Content-Type", "application/json"), m.append("X-Client-Request-Timestamp", J.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
389
+ const c = new URL(`${d}/v1/player/verification/GetKYCStatus`), m = new Headers();
390
+ m.append("accept", "application/json"), m.append("Content-Type", "application/json"), m.append("X-Client-Request-Timestamp", Q.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
391
391
  const b = {
392
392
  method: "POST",
393
393
  headers: m,
@@ -399,44 +399,46 @@ function We(t, i, r) {
399
399
  })
400
400
  };
401
401
  fetch(c, b).then((A) => A.json()).then((A) => {
402
- r(17, I = A.StaticCdnUrl + "/cashier/operator-assets/" + e), L = fe(A.Verifications), L.VerificationStatuses.forEach((v) => {
403
- v.VerificationUrlType !== "Widget" && P.add(v.Vendor);
404
- }), r(4, q = K());
402
+ r(17, q = A.StaticCdnUrl + "/cashier/operator-assets/" + e), L = he(A.Verifications), L.VerificationStatuses.forEach((w) => {
403
+ w.VerificationUrlType !== "Widget" && H.add(w.Vendor);
404
+ }), r(4, x = Y());
405
405
  });
406
- }, ce = () => {
407
- let e = u.split(".")[1];
406
+ }, de = () => {
407
+ l && K();
408
+ }, ue = () => {
409
+ let e = (s || l).split(".")[1];
408
410
  if (e) {
409
411
  let o = JSON.parse(atob(e));
410
412
  return {
411
413
  merchantId: o == null ? void 0 : o.mid,
412
- customerId: `${o == null ? void 0 : o.mid}~${n}`
414
+ customerId: `${o == null ? void 0 : o.mid}~${V}`
413
415
  };
414
416
  }
415
417
  return { merchantId: null, customerId: null };
416
- }, fe = (e) => {
418
+ }, he = (e) => {
417
419
  var c;
418
420
  if (!e || !e.length)
419
421
  return {
420
- VerificationSummaryStatus: g.Unverified,
422
+ VerificationSummaryStatus: p.Unverified,
421
423
  VerificationStatuses: []
422
424
  };
423
- const o = ue(e);
425
+ const o = pe(e);
424
426
  if (o && o.length) {
425
- const m = de(o);
427
+ const m = me(o);
426
428
  return {
427
429
  VerificationSummaryStatus: m.Status,
428
430
  VerificationUrl: (c = m.Flags) == null ? void 0 : c.DeferredUrlKey,
429
- VerificationStatuses: N(o, m.Status)
431
+ VerificationStatuses: W(o, m.Status)
430
432
  };
431
433
  } else
432
434
  return {
433
- VerificationSummaryStatus: e.some((b) => b.Status === g.Failed) ? g.Failed : g.Verified,
434
- VerificationStatuses: N(e, [g.Failed])
435
+ VerificationSummaryStatus: e.some((b) => b.Status === p.Failed) ? p.Failed : p.Verified,
436
+ VerificationStatuses: W(e, [p.Failed])
435
437
  };
436
- }, de = (e) => e.reduce(
438
+ }, me = (e) => e.reduce(
437
439
  (o, c) => o ? new Date(o) < new Date(c) ? c : o : c,
438
440
  0
439
- ), N = (e, o) => e.filter((c) => o.includes(c.Status)).map((c) => {
441
+ ), W = (e, o) => e.filter((c) => o.includes(c.Status)).map((c) => {
440
442
  var m, b;
441
443
  return {
442
444
  Type: c.Type,
@@ -445,120 +447,115 @@ function We(t, i, r) {
445
447
  VerificationUrlType: (m = c.Flags) == null ? void 0 : m.DeferredUrlTypeKey,
446
448
  VerificationUrl: (b = c.Flags) == null ? void 0 : b.DeferredUrlKey
447
449
  };
448
- }), ue = (e) => e.filter((o) => re.includes(o.Status) ? o.Flags && o.Flags.DeferredUrlKey || he(o) || me(o) : !1), he = (e) => {
449
- const o = e.Documents && e.VendorName === T.Manual, c = Object.values(e.Documents).some((m) => m.Status === U.Requested);
450
+ }), pe = (e) => e.filter((o) => ne.includes(o.Status) ? o.Flags && o.Flags.DeferredUrlKey || ge(o) || ve(o) : !1), ge = (e) => {
451
+ const o = e.Documents && e.VendorName === T.Manual, c = Object.values(e.Documents).some((m) => m.Status === E.Requested);
450
452
  return o && c;
451
- }, me = (e) => e.VendorName === T.ShuftiPro && e.Status === g.Referred, K = () => {
453
+ }, ve = (e) => e.VendorName === T.ShuftiPro && e.Status === p.Referred, Y = () => {
452
454
  switch (L.VerificationSummaryStatus) {
453
- case g.InProgress:
455
+ case p.InProgress:
454
456
  const e = [];
455
- return P.forEach((o) => {
456
- e.push(pe(o));
457
+ return H.forEach((o) => {
458
+ e.push(we(o));
457
459
  }), e;
458
- case g.Referred:
459
- return [s("verification.idenfy.referred-awaiting")];
460
- case g.Failed:
461
- return [s("verification.message.failed")];
460
+ case p.Referred:
461
+ return [n("verification.idenfy.referred-awaiting")];
462
+ case p.Failed:
463
+ return [n("verification.message.failed")];
462
464
  }
463
- }, pe = (e) => {
465
+ }, we = (e) => {
464
466
  const o = L.VerificationStatuses.filter((c) => c.Vendor === e);
465
467
  if (e === T.ShuftiPro)
466
- return ge(o);
468
+ return ye(o);
467
469
  {
468
- const c = s("verification.idenfy.link-name"), m = {
470
+ const c = n("verification.idenfy.link-name"), m = {
469
471
  link: `<a href="${o[0].VerificationUrl}" target="_blank">${c}</a>`
470
472
  };
471
- return s("verification.idenfy.in-progress", { values: m });
473
+ return n("verification.idenfy.in-progress", { values: m });
472
474
  }
473
- }, ge = (e) => {
475
+ }, ye = (e) => {
474
476
  const o = [], c = {}, m = [
475
477
  B.Biometric,
476
478
  B.Documents,
477
479
  B.ProofOfAddress
478
480
  ];
479
- e.forEach((v) => {
480
- m.includes(v.Type) && (o.push(v.Type), c[v.Type] = ve(v, we(v.Type)));
481
+ e.forEach((w) => {
482
+ m.includes(w.Type) && (o.push(w.Type), c[w.Type] = ke(w, Pe(w.Type)));
481
483
  });
482
- let b = o.every((v) => j.has(v)), A = `verification.shuftipro.in-progress.${o.sort().join(".")}`;
483
- return b ? s("verification.shuftipro.validations-started") : s(A, { values: c });
484
- }, ve = (e, o) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${o}</a>`, we = (e) => s(`verification.shuftipro.link-name.${e}`), R = (e, o) => {
484
+ let b = o.every((w) => j.has(w)), A = `verification.shuftipro.in-progress.${o.sort().join(".")}`;
485
+ return b ? n("verification.shuftipro.validations-started") : n(A, { values: c });
486
+ }, ke = (e, o) => `<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${o}</a>`, Pe = (e) => n(`verification.shuftipro.link-name.${e}`), U = (e, o) => {
485
487
  if (e.stopPropagation(), e.target && (e.target.href || e.target.closest("a"))) {
486
488
  if (e.target.closest(".verificationLink")) {
487
489
  const c = e.target.className.split(" ")[1];
488
- j.add(c), r(4, q = K());
490
+ j.add(c), r(4, x = Y());
489
491
  }
490
492
  return;
491
493
  }
492
- o === 0 && r(5, x = !x);
493
- }, ye = () => {
494
- r(6, E = y === "false");
495
- }, ke = () => {
496
- r(8, z = I + "/" + f + "/" + je);
494
+ o === 0 && r(5, F = !F);
495
+ }, Ve = () => {
496
+ r(6, N = v === "false");
497
+ }, be = () => {
498
+ r(8, z = q + "/" + f + "/" + We);
497
499
  try {
498
500
  fetch(z, { method: "HEAD" }).then((e) => {
499
- r(7, F = e.ok);
501
+ r(7, I = e.ok);
500
502
  });
501
503
  } catch (e) {
502
- r(7, F = !1);
504
+ r(7, I = !1);
503
505
  }
504
- }, W = () => {
505
- window.postMessage(
506
- {
507
- type: "ShowCashierVideoModal",
508
- details: E ? Ne : Ke
509
- },
510
- window.location.href
511
- );
512
- }, Ve = (e, o) => R(o, e), Pe = (e, o) => R(o, e), be = () => W();
513
- function De(e) {
514
- Te[e ? "unshift" : "push"](() => {
515
- p = e, r(3, p);
506
+ }, G = () => {
507
+ window.postMessage({ type: "ShowCashierVideoModal" }, window.location.href);
508
+ }, De = (e, o) => U(o, e), Ce = (e, o) => U(o, e), Se = () => G();
509
+ function _e(e) {
510
+ Le[e ? "unshift" : "push"](() => {
511
+ g = e, r(3, g);
516
512
  });
517
513
  }
518
514
  return t.$$set = (e) => {
519
- "endpoint" in e && r(12, l = e.endpoint), "lang" in e && r(13, f = e.lang), "translationurl" in e && r(14, d = e.translationurl), "clientstyling" in e && r(0, h = e.clientstyling), "clientstylingurl" in e && r(1, a = e.clientstylingurl), "session" in e && r(15, u = e.session), "customerid" in e && r(16, n = e.customerid), "ismobileview" in e && r(2, y = e.ismobileview);
515
+ "endpoint" in e && r(12, d = e.endpoint), "lang" in e && r(13, f = e.lang), "translationurl" in e && r(14, h = e.translationurl), "clientstyling" in e && r(0, a = e.clientstyling), "clientstylingurl" in e && r(1, u = e.clientstylingurl), "session" in e && r(15, s = e.session), "customerid" in e && r(16, V = e.customerid), "ismobileview" in e && r(2, v = e.ismobileview);
520
516
  }, t.$$.update = () => {
521
517
  t.$$.dirty[0] & /*lang*/
522
- 8192 && f && se(), t.$$.dirty[0] & /*endpoint, session*/
523
- 36864 && l && u && le(), t.$$.dirty[0] & /*translationurl*/
524
- 16384 && d && oe(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
525
- 9 && h && p && ne(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
526
- 10 && a && p && ae(), t.$$.dirty[0] & /*ismobileview*/
527
- 4 && y && ye(), t.$$.dirty[0] & /*staticCdnUrl*/
528
- 131072 && I && ke();
518
+ 8192 && f && le(), t.$$.dirty[0] & /*endpoint, session*/
519
+ 36864 && d && s && K(), t.$$.dirty[0] & /*endpoint, session*/
520
+ 36864 && d && !s && de(), t.$$.dirty[0] & /*translationurl*/
521
+ 16384 && h && ae(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
522
+ 9 && a && g && ce(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
523
+ 10 && u && g && fe(), t.$$.dirty[0] & /*ismobileview*/
524
+ 4 && v && Ve(), t.$$.dirty[0] & /*staticCdnUrl*/
525
+ 131072 && q && be();
529
526
  }, [
530
- h,
531
527
  a,
532
- y,
533
- p,
534
- q,
528
+ u,
529
+ v,
530
+ g,
535
531
  x,
536
- E,
537
532
  F,
533
+ N,
534
+ I,
538
535
  z,
539
- s,
540
- R,
541
- W,
542
- l,
543
- f,
544
- d,
545
- u,
546
536
  n,
547
- I,
548
- Ve,
549
- Pe,
550
- be,
551
- De
537
+ U,
538
+ G,
539
+ d,
540
+ f,
541
+ h,
542
+ s,
543
+ V,
544
+ q,
545
+ De,
546
+ Ce,
547
+ Se,
548
+ _e
552
549
  ];
553
550
  }
554
- class Ge extends Ce {
551
+ class Ge extends Ae {
555
552
  constructor(i) {
556
- super(), _e(
553
+ super(), Oe(
557
554
  this,
558
555
  i,
559
- We,
560
- He,
561
- Se,
556
+ Ye,
557
+ Ke,
558
+ Me,
562
559
  {
563
560
  endpoint: 12,
564
561
  lang: 13,
@@ -569,7 +566,7 @@ class Ge extends Ce {
569
566
  customerid: 16,
570
567
  ismobileview: 2
571
568
  },
572
- Re,
569
+ Ne,
573
570
  [-1, -1]
574
571
  );
575
572
  }
@@ -622,7 +619,7 @@ class Ge extends Ce {
622
619
  this.$$set({ ismobileview: i }), D();
623
620
  }
624
621
  }
625
- Ie(Ge, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {} }, [], [], !0);
622
+ Fe(Ge, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {} }, [], [], !0);
626
623
  export {
627
624
  Ge as default
628
625
  };