@everymatrix/cashier-page 1.76.14 → 1.77.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 (77) hide show
  1. package/components/CashierError-BEEnpeVH.cjs +8 -0
  2. package/components/{CashierError-_mJg7htJ.js → CashierError-BL7OTzSK.js} +712 -744
  3. package/components/{CashierError-BD6RqW_4.js → CashierError-BuW5dJfP.js} +735 -767
  4. package/components/{CashierHeader-DGMIDhtj.js → CashierHeader-CkyrZZ8s.js} +35 -35
  5. package/components/{CashierHeader-s4ev8t3u.cjs → CashierHeader-D5eAmyvG.cjs} +1 -1
  6. package/components/{CashierHeader-CLenwFLu.js → CashierHeader-FDYsDrpF.js} +37 -37
  7. package/components/{CashierIframeRedirect-i-bgiInf.js → CashierIframeRedirect-CmdPA_aZ.js} +28 -28
  8. package/components/{CashierIframeRedirect-CVCo8t0b.cjs → CashierIframeRedirect-Db-zgjwP.cjs} +1 -1
  9. package/components/{CashierIframeRedirect-BVU6BJJW.js → CashierIframeRedirect-wlE_YN39.js} +34 -34
  10. package/components/{CashierMethodDetails-DNAJHYhK.cjs → CashierMethodDetails-B7K0CIlB.cjs} +18 -5
  11. package/components/{CashierMethodDetails-PPgUijPf.js → CashierMethodDetails-BSBqkHNa.js} +743 -694
  12. package/components/{CashierMethodDetails-Yh-raa4P.js → CashierMethodDetails-C7dG4t8m.js} +884 -835
  13. package/components/{CashierMethodsList-odtc9D1r.js → CashierMethodsList-FNgy0d7U.js} +83 -83
  14. package/components/{CashierMethodsList-Bq89MePx.js → CashierMethodsList-gPmctW-Q.js} +92 -92
  15. package/components/{CashierMethodsList-GFY_3ABy.cjs → CashierMethodsList-pakwpTY2.cjs} +1 -1
  16. package/components/{CashierModal-wzdkmyre.js → CashierModal-BAzO-8NU.js} +40 -40
  17. package/components/{CashierModal-DTVOjm1x.js → CashierModal-CIWk9EpH.js} +46 -46
  18. package/components/{CashierModal-Btsbp3nD.cjs → CashierModal-vCh-dC6Q.cjs} +1 -1
  19. package/components/{CashierNotifications-mcKpgb8B.cjs → CashierNotifications-Bgf97-ym.cjs} +1 -1
  20. package/components/{CashierNotifications-Ci6C686m.js → CashierNotifications-BhA-DfA9.js} +32 -32
  21. package/components/{CashierNotifications-CmEFRQ8z.js → CashierNotifications-CfzNxd6q.js} +32 -32
  22. package/components/{CashierPage-mgwXJuuN.js → CashierPage-D8YY3wAI.js} +135 -135
  23. package/components/{CashierPage-D8Py7RSY.js → CashierPage-DbHvX6nI.js} +109 -109
  24. package/components/{CashierPage-CfG1gBA4.cjs → CashierPage-DcwM8mwG.cjs} +1 -1
  25. package/components/{CashierReceiptPage-DlVdltM6.js → CashierReceiptPage-A1MYfWGW.js} +76 -76
  26. package/components/{CashierReceiptPage-DS7FVfNe.js → CashierReceiptPage-BzjCwk2b.js} +76 -76
  27. package/components/{CashierReceiptPage-BVPfyaQD.cjs → CashierReceiptPage-CQyluI1J.cjs} +1 -1
  28. package/components/{CashierSessionExpirationModal-Dj_Kbuv7.cjs → CashierSessionExpirationModal-Bh3jmXl_.cjs} +2 -2
  29. package/components/{CashierSessionExpirationModal-CeThEk8x.js → CashierSessionExpirationModal-CtakjuI_.js} +85 -94
  30. package/components/{CashierSessionExpirationModal-DvN0J2as.js → CashierSessionExpirationModal-YWIpKzje.js} +85 -94
  31. package/components/{CashierSpinner-BCIciib1.js → CashierSpinner-CAqB2_pw.js} +19 -19
  32. package/components/{CashierSpinner-DFXOVOqQ.cjs → CashierSpinner-DTztqXMW.cjs} +1 -1
  33. package/components/{CashierSpinner-yNXiNCOs.js → CashierSpinner-DXrTfpLq.js} +19 -19
  34. package/components/{CashierTransactionHistory-pyelfuDA.js → CashierTransactionHistory-U9Il8eZb.js} +119 -119
  35. package/components/{CashierTransactionHistory-CqwwMSVN.js → CashierTransactionHistory-Y1g5hagc.js} +76 -76
  36. package/components/{CashierTransactionHistory-BUPbSA6h.cjs → CashierTransactionHistory-c_0mTjNo.cjs} +1 -1
  37. package/components/{CashierVerifications-ChzwoJWn.js → CashierVerifications-BA7PsePr.js} +41 -41
  38. package/components/{CashierVerifications-DkzSmAn4.js → CashierVerifications-BTvFySIg.js} +30 -30
  39. package/components/{CashierVerifications-B5JCN--3.cjs → CashierVerifications-BlWTY2gh.cjs} +1 -1
  40. package/components/{TxnStatusIcon-BogP6LJ2.js → TxnStatusIcon-ClddwA7r.js} +23 -23
  41. package/components/{TxnStatusIcon-DasCjrqn.js → TxnStatusIcon-DPmmaKoK.js} +27 -27
  42. package/components/{TxnStatusIcon-DCMCZZCQ.cjs → TxnStatusIcon-Dapc6xhT.cjs} +1 -1
  43. package/components/{TxnTypeIcons-Bg5MfuGX.js → TxnTypeIcons-CEcfPpqm.js} +14 -14
  44. package/components/{TxnTypeIcons-DavAdp_P.js → TxnTypeIcons-CWojIltL.js} +14 -14
  45. package/components/{TxnTypeIcons-BByZ1nXT.cjs → TxnTypeIcons-w8LBVBiN.cjs} +1 -1
  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-242ac81a-BqeIndhr.js +554 -0
  51. package/stencil/index-242ac81a-CI4JxPRf.js +538 -0
  52. package/stencil/index-242ac81a-CjjM4VND.cjs +1 -0
  53. package/stencil/index-b2193545-BoSqyMpB.js +519 -0
  54. package/stencil/index-b2193545-D4dOaNlR.js +503 -0
  55. package/stencil/index-b2193545-DGHOe8n4.cjs +1 -0
  56. package/stencil/{ui-image-2ff23cd5-BU5r6gJa.cjs → ui-image-2ff23cd5-BHGIWJop.cjs} +1 -1
  57. package/stencil/{ui-image-2ff23cd5-DZZYCsK1.js → ui-image-2ff23cd5-D0rXudCW.js} +1 -1
  58. package/stencil/{ui-image-2ff23cd5-CBX1vdMZ.js → ui-image-2ff23cd5-DCLQ0SIO.js} +1 -1
  59. package/stencil/{ui-image-BGfwfp_F.js → ui-image-BRBJSkg1.js} +1 -1
  60. package/stencil/{ui-image-CBGIeQyw.cjs → ui-image-C0iABVS5.cjs} +1 -1
  61. package/stencil/{ui-image-Cgsi32kw.js → ui-image-e4W3SkhP.js} +1 -1
  62. package/stencil/{ui-image_2-exO7RXKL.js → ui-image_2-B21W_djK.js} +2 -2
  63. package/stencil/{ui-image_2-Bsl4RJfi.cjs → ui-image_2-CLk629jW.cjs} +1 -1
  64. package/stencil/{ui-image_2-ID_1Oi3k.js → ui-image_2-VgK3B8gQ.js} +2 -2
  65. package/stencil/{ui-skeleton-BTr272EW.js → ui-skeleton-4-zrLsIW.js} +2 -2
  66. package/stencil/{ui-skeleton-P4PO_42z.js → ui-skeleton-9boHSjtG.js} +2 -2
  67. package/stencil/{ui-skeleton-C4Ir1ffm.cjs → ui-skeleton-DgAs7VA3.cjs} +1 -1
  68. package/stencil/{ui-skeleton-ae35c6f2-C7WHUwAT.js → ui-skeleton-ae35c6f2-8tYGV8SR.js} +1 -1
  69. package/stencil/{ui-skeleton-ae35c6f2-jcrjm-Kl.cjs → ui-skeleton-ae35c6f2-DLHrpWJM.cjs} +1 -1
  70. package/stencil/{ui-skeleton-ae35c6f2-BIdXBK8D.js → ui-skeleton-ae35c6f2-IN_dPA5_.js} +1 -1
  71. package/components/CashierError-BVTgkQx8.cjs +0 -21
  72. package/stencil/index-242ac81a-Bl2OSy8h.js +0 -538
  73. package/stencil/index-242ac81a-Czg480dJ.js +0 -554
  74. package/stencil/index-242ac81a-DDPF_SYN.cjs +0 -1
  75. package/stencil/index-b2193545-ByMYc64n.cjs +0 -1
  76. package/stencil/index-b2193545-DWKmtYUG.js +0 -503
  77. package/stencil/index-b2193545-Dfy4Cgny.js +0 -519
@@ -1,5 +1,5 @@
1
- import { a as Te, i as Oe, $ as Be, S as Me, b as Le, f as y, c as xe, s as qe, d as Fe, g as w, j as V, P as _, k as P, D as X, p as b, q as Q, r as ze, v as Ie, w as Ee, A as Re, B as Ue, R as $, h as O, x as He, U as je, F as x, l as k, C as j, y as Ne, z as We, E as Ye } from "./CashierError-_mJg7htJ.js";
2
- import { d as ee, u as Ke, i as Ge, x as Ze } from "./CashierMethodDetails-PPgUijPf.js";
1
+ import { a as Te, i as Oe, $ as Be, S as Me, b as Le, s as xe, f as y, d as qe, z as X, g as P, N as _, l as b, n as w, p as V, q as Q, r as Fe, y as ze, F as x, O as $, P as Ie, o as O, v as Ee, m as k, A as N, w as Re, x as Ue, D as He, E as Ne, c as je, B as We, C as Ye } from "./CashierError-BL7OTzSK.js";
2
+ import { d as ee, u as Ke, i as Ge, x as Ze } from "./CashierMethodDetails-BSBqkHNa.js";
3
3
  function ie(t, i) {
4
4
  Te(t, i);
5
5
  }
@@ -65,7 +65,7 @@ const te = {
65
65
  }
66
66
  };
67
67
  function Xe(t) {
68
- Fe(t, "svelte-ltlo52", "*,*::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{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(--emw--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(--emw--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(--emw--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(--emw--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(--emw--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)}");
68
+ qe(t, "svelte-ltlo52", "*,*::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{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(--emw--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(--emw--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(--emw--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(--emw--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(--emw--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)}");
69
69
  }
70
70
  function re(t, i, o) {
71
71
  const a = t.slice();
@@ -87,13 +87,13 @@ function Qe(t) {
87
87
  i = w("div");
88
88
  for (let l = 0; l < s.length; l += 1)
89
89
  s[l].c();
90
- o = O(), c && c.c(), a = He(), V(i, "class", "CashierVerificationsWrapper");
90
+ o = O(), c && c.c(), a = Ee(), V(i, "class", "CashierVerificationsWrapper");
91
91
  },
92
92
  m(l, h) {
93
- P(l, i, h);
93
+ b(l, i, h);
94
94
  for (let d = 0; d < s.length; d += 1)
95
95
  s[d] && s[d].m(i, null);
96
- P(l, o, h), c && c.m(l, h), P(l, a, h);
96
+ b(l, o, h), c && c.m(l, h), b(l, a, h);
97
97
  },
98
98
  p(l, h) {
99
99
  if (h[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
@@ -115,7 +115,7 @@ function Qe(t) {
115
115
  l[6] ? c ? c.p(l, h) : (c = ne(l), c.c(), c.m(a.parentNode, a)) : c && (c.d(1), c = null);
116
116
  },
117
117
  d(l) {
118
- l && (b(i), b(o), b(a)), je(s, l), c && c.d(l);
118
+ l && (P(i), P(o), P(a)), Ie(s, l), c && c.d(l);
119
119
  }
120
120
  };
121
121
  }
@@ -136,7 +136,7 @@ function $e(t) {
136
136
  );
137
137
  },
138
138
  m(o, a) {
139
- P(o, i, a);
139
+ b(o, i, a);
140
140
  },
141
141
  p(o, a) {
142
142
  a[0] & /*clientstylingurl*/
@@ -154,7 +154,7 @@ function $e(t) {
154
154
  );
155
155
  },
156
156
  d(o) {
157
- o && b(i);
157
+ o && P(i);
158
158
  }
159
159
  };
160
160
  }
@@ -175,13 +175,13 @@ function oe(t) {
175
175
  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");
176
176
  },
177
177
  m(s, c) {
178
- P(s, i, c), o || (a = j(i, "click", n), o = !0);
178
+ b(s, i, c), o || (a = N(i, "click", n), o = !0);
179
179
  },
180
180
  p(s, c) {
181
181
  t = s;
182
182
  },
183
183
  d(s) {
184
- s && b(i), o = !1, a();
184
+ s && P(i), o = !1, a();
185
185
  }
186
186
  };
187
187
  }
@@ -214,7 +214,7 @@ function se(t) {
214
214
  );
215
215
  },
216
216
  m(p, v) {
217
- P(p, i, v), k(i, o), k(i, a), k(i, n), n.innerHTML = s, k(i, c), u && u.m(i, null), k(i, l), h || (d = j(i, "click", C), h = !0);
217
+ b(p, i, v), k(i, o), k(i, a), k(i, n), n.innerHTML = s, k(i, c), u && u.m(i, null), k(i, l), h || (d = N(i, "click", C), h = !0);
218
218
  },
219
219
  p(p, v) {
220
220
  t = p, v[0] & /*displayMessages*/
@@ -230,7 +230,7 @@ function se(t) {
230
230
  );
231
231
  },
232
232
  d(p) {
233
- p && b(i), u && u.d(), h = !1, d();
233
+ p && P(i), u && u.d(), h = !1, d();
234
234
  }
235
235
  };
236
236
  }
@@ -241,7 +241,7 @@ function ne(t) {
241
241
  ), c, l, h;
242
242
  return {
243
243
  c() {
244
- i = w("div"), o = w("div"), o.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>', a = O(), n = w("div"), c = Ne(s), V(o, "class", "IconVideo"), V(n, "class", "CashierVerificationVideoLink"), _(
244
+ i = w("div"), o = w("div"), o.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>', a = O(), n = w("div"), c = Ue(s), V(o, "class", "IconVideo"), V(n, "class", "CashierVerificationVideoLink"), _(
245
245
  n,
246
246
  "CashierVerificationVideoLinkDesktop",
247
247
  /*desktopView*/
@@ -249,7 +249,7 @@ function ne(t) {
249
249
  ), V(i, "class", "CashierVerificationVideo");
250
250
  },
251
251
  m(d, u) {
252
- P(d, i, u), k(i, o), k(i, a), k(i, n), k(n, c), l || (h = j(
252
+ b(d, i, u), k(i, o), k(i, a), k(i, n), k(n, c), l || (h = N(
253
253
  n,
254
254
  "click",
255
255
  /*showVideo*/
@@ -259,7 +259,7 @@ function ne(t) {
259
259
  p(d, u) {
260
260
  u[0] & /*$_*/
261
261
  256 && s !== (s = /*$_*/
262
- d[8]("verification.video.how-to") + "") && We(c, s), u[0] & /*desktopView*/
262
+ d[8]("verification.video.how-to") + "") && Re(c, s), u[0] & /*desktopView*/
263
263
  32 && _(
264
264
  n,
265
265
  "CashierVerificationVideoLinkDesktop",
@@ -268,7 +268,7 @@ function ne(t) {
268
268
  );
269
269
  },
270
270
  d(d) {
271
- d && b(i), l = !1, h();
271
+ d && P(i), l = !1, h();
272
272
  }
273
273
  };
274
274
  }
@@ -297,7 +297,7 @@ function ei(t) {
297
297
  );
298
298
  },
299
299
  m(s, c) {
300
- P(s, i, c), n && n.m(i, null), t[21](i);
300
+ b(s, i, c), n && n.m(i, null), t[21](i);
301
301
  },
302
302
  p(s, c) {
303
303
  a === (a = o(s)) && n ? n.p(s, c) : (n && n.d(1), n = a && a(s), n && (n.c(), n.m(i, null))), c[0] & /*desktopView*/
@@ -311,15 +311,15 @@ function ei(t) {
311
311
  i: X,
312
312
  o: X,
313
313
  d(s) {
314
- s && b(i), n && n.d(), t[21](null);
314
+ s && P(i), n && n.d(), t[21](null);
315
315
  }
316
316
  };
317
317
  }
318
318
  const ii = "verification_explanation_video_widgets.MP4";
319
319
  function ti(t, i, o) {
320
320
  let a, n;
321
- Q(t, Ye, (e) => o(8, a = e)), Q(t, Ze, (e) => o(29, n = e)), ee.extend(Ke);
322
- let { endpoint: s } = i, { lang: c = "en" } = i, { translationurl: l = "" } = i, { clientstyling: h = "" } = i, { clientstylingurl: d = "" } = i, { session: u = "" } = i, { customerid: C = "" } = i, { playersession: p = "" } = i, { mbsource: v = "" } = i, D, N = /* @__PURE__ */ new Set(), W = /* @__PURE__ */ new Set(), B, M, q, F = !0, Y = !0, z = !1, I = "", E = !1, ae = window.navigator.userAgent;
321
+ Q(t, We, (e) => o(8, a = e)), Q(t, Ze, (e) => o(29, n = e)), ee.extend(Ke);
322
+ let { endpoint: s } = i, { lang: c = "en" } = i, { translationurl: l = "" } = i, { clientstyling: h = "" } = i, { clientstylingurl: d = "" } = i, { session: u = "" } = i, { customerid: C = "" } = i, { playersession: p = "" } = i, { mbsource: v = "" } = i, D, j = /* @__PURE__ */ new Set(), W = /* @__PURE__ */ new Set(), B, M, q, F = !0, Y = !0, z = !1, I = "", E = !1, ae = window.navigator.userAgent;
323
323
  var A;
324
324
  (function(e) {
325
325
  e.Manual = "Manual", e.ShuftiPro = "ShuftiPro";
@@ -339,7 +339,7 @@ function ti(t, i, o) {
339
339
  const K = (e) => {
340
340
  e.data && e.data.type;
341
341
  };
342
- ze(() => (window.addEventListener("message", K), be(), () => {
342
+ Fe(() => (window.addEventListener("message", K), be(), () => {
343
343
  window.removeEventListener("message", K);
344
344
  }));
345
345
  const ce = [
@@ -374,7 +374,7 @@ function ti(t, i, o) {
374
374
  o(7, E = !0), fetch(e, f).then((g) => g.json()).then((g) => {
375
375
  const H = de(g?.Verifications);
376
376
  B = me(H), B.VerificationStatuses.forEach((L) => {
377
- L.VerificationUrlType !== "Widget" && N.add(L.Vendor);
377
+ L.VerificationUrlType !== "Widget" && j.add(L.Vendor);
378
378
  }), o(3, q = J());
379
379
  }).finally(() => o(7, E = !1));
380
380
  }, de = (e) => e ? e.sort((r, f) => new Date(f.Created).getTime() - new Date(r.Created).getTime()) : [], ue = () => {
@@ -421,7 +421,7 @@ function ti(t, i, o) {
421
421
  switch (B.VerificationSummaryStatus) {
422
422
  case m.InProgress:
423
423
  const e = [];
424
- return N.forEach((r) => {
424
+ return j.forEach((r) => {
425
425
  e.push(ye(r));
426
426
  }), e;
427
427
  case m.Referred:
@@ -479,7 +479,7 @@ function ti(t, i, o) {
479
479
  ));
480
480
  }, _e = (e, r) => U(r, e), Ce = (e, r) => U(r, e);
481
481
  function Ae(e) {
482
- Re[e ? "unshift" : "push"](() => {
482
+ ze[e ? "unshift" : "push"](() => {
483
483
  D = e, o(2, D);
484
484
  });
485
485
  }
@@ -491,10 +491,10 @@ function ti(t, i, o) {
491
491
  83968 && s && u && p && G(), t.$$.dirty[0] & /*endpoint, session, playersession*/
492
492
  83968 && s && !u && p && ue(), t.$$.dirty[0] & /*translationurl*/
493
493
  8192 && l && le(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
494
- 5 && h && D && Ue(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
495
- 6 && d && D && Ie(), t.$$.dirty[0] & /*staticCdnUrl*/
494
+ 5 && h && D && Ye(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
495
+ 6 && d && D && He(), t.$$.dirty[0] & /*staticCdnUrl*/
496
496
  262144 && M && De(), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
497
- 131076 && v && D && Ee(D, `${v}.Style`);
497
+ 131076 && v && D && Ne(D, `${v}.Style`);
498
498
  }, [
499
499
  h,
500
500
  d,
@@ -527,7 +527,7 @@ class ri extends Me {
527
527
  i,
528
528
  ti,
529
529
  ei,
530
- qe,
530
+ xe,
531
531
  {
532
532
  endpoint: 11,
533
533
  lang: 12,
@@ -598,7 +598,7 @@ class ri extends Me {
598
598
  this.$$set({ mbsource: i }), y();
599
599
  }
600
600
  }
601
- xe(ri, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, mbsource: {} }, [], [], !0);
601
+ je(ri, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, mbsource: {} }, [], [], !0);
602
602
  export {
603
603
  ri as default
604
604
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CashierError-BVTgkQx8.cjs"),D=require("./CashierMethodDetails-DNAJHYhK.cjs");function H(r,t){i.addMessages(r,t)}function we(r){i.init({fallbackLocale:"en"}),i.$locale.set(r)}const N={en:{"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:{"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:{"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 ye(r){i.append_styles(r,"svelte-ltlo52","*,*::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{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(--emw--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(--emw--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(--emw--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(--emw--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(--emw--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)}")}function W(r,t,n){const l=r.slice();return l[55]=t[n],l[57]=n,l}function ke(r){let t,n,l,a=i.ensure_array_like(r[3]),s=[];for(let f=0;f<a.length;f+=1)s[f]=K(W(r,a,f));let c=r[6]&&G(r);return{c(){t=i.element("div");for(let f=0;f<s.length;f+=1)s[f].c();n=i.space(),c&&c.c(),l=i.empty(),i.attr(t,"class","CashierVerificationsWrapper")},m(f,m){i.insert(f,t,m);for(let u=0;u<s.length;u+=1)s[u]&&s[u].m(t,null);i.insert(f,n,m),c&&c.m(f,m),i.insert(f,l,m)},p(f,m){if(m[0]&536){a=i.ensure_array_like(f[3]);let u;for(u=0;u<a.length;u+=1){const h=W(f,a,u);s[u]?s[u].p(h,m):(s[u]=K(h),s[u].c(),s[u].m(t,null))}for(;u<s.length;u+=1)s[u].d(1);s.length=a.length}f[6]?c?c.p(f,m):(c=G(f),c.c(),c.m(l.parentNode,l)):c&&(c.d(1),c=null)},d(f){f&&(i.detach(t),i.detach(n),i.detach(l)),i.destroy_each(s,f),c&&c.d(f)}}}function _e(r){let t;return{c(){t=i.element("cashier-spinner"),i.set_custom_element_data(t,"clientstylingurl",r[1]),i.set_custom_element_data(t,"clientstyling",r[0])},m(n,l){i.insert(n,t,l)},p(n,l){l[0]&2&&i.set_custom_element_data(t,"clientstylingurl",n[1]),l[0]&1&&i.set_custom_element_data(t,"clientstyling",n[0])},d(n){n&&i.detach(t)}}}function Y(r){let t,n,l;function a(...s){return r[19](r[57],...s)}return{c(){t=i.element("span"),t.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>',i.attr(t,"class","CashierVerificationChevron")},m(s,c){i.insert(s,t,c),n||(l=i.listen(t,"click",a),n=!0)},p(s,c){r=s},d(s){s&&i.detach(t),n=!1,l()}}}function K(r){let t,n,l,a,s=r[55]+"",c,f,m,u,h=r[3].length>1&&r[57]===0&&Y(r);function V(...v){return r[20](r[57],...v)}return{c(){t=i.element("div"),n=i.element("div"),n.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>',l=i.space(),a=i.element("p"),c=i.space(),h&&h.c(),f=i.space(),i.attr(n,"class","IconVerification"),i.attr(a,"class","text"),i.attr(t,"class","CashierVerificationMessage"),i.toggle_class(t,"ShowAll",r[4])},m(v,w){i.insert(v,t,w),i.append(t,n),i.append(t,l),i.append(t,a),a.innerHTML=s,i.append(t,c),h&&h.m(t,null),i.append(t,f),m||(u=i.listen(t,"click",V),m=!0)},p(v,w){r=v,w[0]&8&&s!==(s=r[55]+"")&&(a.innerHTML=s),r[3].length>1&&r[57]===0?h?h.p(r,w):(h=Y(r),h.c(),h.m(t,f)):h&&(h.d(1),h=null),w[0]&16&&i.toggle_class(t,"ShowAll",r[4])},d(v){v&&i.detach(t),h&&h.d(),m=!1,u()}}}function G(r){let t,n,l,a,s=r[8]("verification.video.how-to")+"",c,f,m;return{c(){t=i.element("div"),n=i.element("div"),n.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>',l=i.space(),a=i.element("div"),c=i.text(s),i.attr(n,"class","IconVideo"),i.attr(a,"class","CashierVerificationVideoLink"),i.toggle_class(a,"CashierVerificationVideoLinkDesktop",r[5]),i.attr(t,"class","CashierVerificationVideo")},m(u,h){i.insert(u,t,h),i.append(t,n),i.append(t,l),i.append(t,a),i.append(a,c),f||(m=i.listen(a,"click",r[10]),f=!0)},p(u,h){h[0]&256&&s!==(s=u[8]("verification.video.how-to")+"")&&i.set_data(c,s),h[0]&32&&i.toggle_class(a,"CashierVerificationVideoLinkDesktop",u[5])},d(u){u&&i.detach(t),f=!1,m()}}}function Ve(r){let t;function n(s,c){if(s[7])return _e;if(s[3])return ke}let l=n(r),a=l&&l(r);return{c(){t=i.element("div"),a&&a.c(),i.attr(t,"class","CashierVerifications"),i.toggle_class(t,"CashierVerificationsDesktop",r[5])},m(s,c){i.insert(s,t,c),a&&a.m(t,null),r[21](t)},p(s,c){l===(l=n(s))&&a?a.p(s,c):(a&&a.d(1),a=l&&l(s),a&&(a.c(),a.m(t,null))),c[0]&32&&i.toggle_class(t,"CashierVerificationsDesktop",s[5])},i:i.noop,o:i.noop,d(s){s&&i.detach(t),a&&a.d(),r[21](null)}}}const Pe="verification_explanation_video_widgets.MP4";function be(r,t,n){let l,a;i.component_subscribe(r,i.$format,e=>n(8,l=e)),i.component_subscribe(r,D.xPaymentSessionToken,e=>n(29,a=e)),D.dayjs.extend(D.utc);let{endpoint:s}=t,{lang:c="en"}=t,{translationurl:f=""}=t,{clientstyling:m=""}=t,{clientstylingurl:u=""}=t,{session:h=""}=t,{customerid:V=""}=t,{playersession:v=""}=t,{mbsource:w=""}=t,k,F=new Set,z=new Set,S,C,T,O=!0,I=!0,B=!1,M="",L=!1,J=window.navigator.userAgent;var P;(function(e){e.Manual="Manual",e.ShuftiPro="ShuftiPro"})(P||(P={}));var q;(function(e){e.Requested="Requested"})(q||(q={}));var g;(function(e){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"})(g||(g={}));var b;(function(e){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"})(b||(b={}));const E=e=>{e.data&&e.data.type};i.onMount(()=>(window.addEventListener("message",E),ue(),()=>{window.removeEventListener("message",E)}));const X=[g.InProgress,g.Referred,g.AwaitingForResponse],Q=()=>{let e=f;if(e)return fetch(e).then(o=>o.json()).then(o=>{Object.keys(o).forEach(d=>{H(d,o[d])})}).catch(o=>{console.log(o)})};Object.keys(N).forEach(e=>{H(e,N[e])});const $=()=>{we(c)},R=()=>{n(18,C=te());const e=new URL(`${s}/v1/player/${V}/verification/GetKYCCustomerStatus?language=${c}`),o=new Headers;o.append("accept","application/json"),o.append("Content-Type","application/json"),o.append("x-sessionid",`${v}`),o.append("X-Client-Request-Timestamp",D.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const d={method:"POST",headers:o,body:JSON.stringify({})};n(7,L=!0),fetch(e,d).then(p=>p.json()).then(p=>{const y=ee(p==null?void 0:p.Verifications);S=re(y),S.VerificationStatuses.forEach(A=>{A.VerificationUrlType!=="Widget"&&F.add(A.Vendor)}),n(3,T=j())}).finally(()=>n(7,L=!1))},ee=e=>e?e.sort((o,d)=>new Date(d.Created).getTime()-new Date(o.Created).getTime()):[],ie=()=>{a&&R()},te=()=>{let e=(h||a).split(".")[1];if(e){let o=JSON.parse(atob(e));return o.cdn+"/cashier/operator-assets/"+(o==null?void 0:o.mid)}return""},re=e=>{var d;if(!e||!e.length)return{VerificationSummaryStatus:g.Unverified,VerificationStatuses:[]};const o=ne(e);if(o&&o.length){const p=oe(o);return{VerificationSummaryStatus:p.Status,VerificationUrl:(d=p.Flags)==null?void 0:d.DeferredUrlKey,VerificationStatuses:U(o,p.Status)}}else return{VerificationSummaryStatus:e.some(y=>y.Status===g.Failed)?g.Failed:g.Verified,VerificationStatuses:U(e,[g.Failed])}},oe=e=>e.reduce((o,d)=>o?new Date(o)<new Date(d)?d:o:d,0),U=(e,o)=>e.filter(d=>o.includes(d.Status)).map(d=>{var p,y;return{Type:d.Type,Vendor:d.VendorName,VerificationDocuments:d.Documents?[...d.Documents]:[],VerificationUrlType:(p=d.FlowInfo)==null?void 0:p.Type,VerificationUrl:(y=d.FlowInfo)==null?void 0:y.Url}}),ne=e=>e.filter(o=>X.includes(o.Status)?o.FlowInfo&&o.FlowInfo.Url||se(o)||ae(o):!1),se=e=>{const o=e.Documents&&e.VendorName===P.Manual,d=e.Documents&&e.Documents.some(p=>p.Status===q.Requested);return o&&d},ae=e=>e.VendorName===P.ShuftiPro&&e.Status===g.Referred,j=()=>{switch(S.VerificationSummaryStatus){case g.InProgress:const e=[];return F.forEach(o=>{e.push(le(o))}),e;case g.Referred:return[l("verification.idenfy.referred-awaiting")];case g.Failed:return[l("verification.message.failed")]}},le=e=>{const o=S.VerificationStatuses.filter(d=>d.Vendor===e);if(e===P.ShuftiPro)return ce(o);{const d=l("verification.idenfy.link-name"),p={link:`<a href="${o[0].VerificationUrl}" target="_blank">${d}</a>`};return l("verification.idenfy.in-progress",{values:p})}},ce=e=>{const o=[],d={},p=[b.Biometric,b.Documents,b.ProofOfAddress];e.forEach(_=>{p.includes(_.Type)&&(o.push(_.Type),d[_.Type]=fe(_,de(_.Type)))});let y=o.every(_=>z.has(_)),A=`verification.shuftipro.in-progress.${o.sort().join(".")}`;return y?l("verification.shuftipro.validations-started"):l(A,{values:d})},fe=(e,o)=>`<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${o}</a>`,de=e=>l(`verification.shuftipro.link-name.${e}`),x=(e,o)=>{if(e.stopPropagation(),e.target&&(e.target.href||e.target.closest("a"))){if(e.target.closest(".verificationLink")){const d=e.target.className.split(" ")[1];z.add(d),n(3,T=j())}return}o===0&&n(4,O=!O)},ue=()=>{n(5,I=!D.isMobile(J))},he=()=>{M=C+"/"+c+"/"+Pe;try{fetch(M,{method:"HEAD"}).then(e=>{n(6,B=e.ok)})}catch(e){n(6,B=!1)}},me=()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"video",data:{videoSrc:M}}}))},pe=(e,o)=>x(o,e),ge=(e,o)=>x(o,e);function ve(e){i.binding_callbacks[e?"unshift":"push"](()=>{k=e,n(2,k)})}return r.$$set=e=>{"endpoint"in e&&n(11,s=e.endpoint),"lang"in e&&n(12,c=e.lang),"translationurl"in e&&n(13,f=e.translationurl),"clientstyling"in e&&n(0,m=e.clientstyling),"clientstylingurl"in e&&n(1,u=e.clientstylingurl),"session"in e&&n(14,h=e.session),"customerid"in e&&n(15,V=e.customerid),"playersession"in e&&n(16,v=e.playersession),"mbsource"in e&&n(17,w=e.mbsource)},r.$$.update=()=>{r.$$.dirty[0]&4096&&c&&$(),r.$$.dirty[0]&83968&&s&&h&&v&&R(),r.$$.dirty[0]&83968&&s&&!h&&v&&ie(),r.$$.dirty[0]&8192&&f&&Q(),r.$$.dirty[0]&5&&m&&k&&i.setClientStyling(),r.$$.dirty[0]&6&&u&&k&&i.setClientStylingURL(),r.$$.dirty[0]&262144&&C&&he(),r.$$.dirty[0]&131076&&w&&k&&i.setStreamStyling(k,`${w}.Style`)},[m,u,k,T,O,I,B,L,l,x,me,s,c,f,h,V,v,w,C,pe,ge,ve]}class Z extends i.SvelteComponent{constructor(t){super(),i.init$1(this,t,be,Ve,i.safe_not_equal,{endpoint:11,lang:12,translationurl:13,clientstyling:0,clientstylingurl:1,session:14,customerid:15,playersession:16,mbsource:17},ye,[-1,-1])}get endpoint(){return this.$$.ctx[11]}set endpoint(t){this.$$set({endpoint:t}),i.flush()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),i.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(t){this.$$set({translationurl:t}),i.flush()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),i.flush()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),i.flush()}get session(){return this.$$.ctx[14]}set session(t){this.$$set({session:t}),i.flush()}get customerid(){return this.$$.ctx[15]}set customerid(t){this.$$set({customerid:t}),i.flush()}get playersession(){return this.$$.ctx[16]}set playersession(t){this.$$set({playersession:t}),i.flush()}get mbsource(){return this.$$.ctx[17]}set mbsource(t){this.$$set({mbsource:t}),i.flush()}}i.create_custom_element(Z,{endpoint:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},session:{},customerid:{},playersession:{},mbsource:{}},[],[],!0);exports.default=Z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CashierError-BEEnpeVH.cjs"),D=require("./CashierMethodDetails-B7K0CIlB.cjs");function H(r,t){i.addMessages(r,t)}function we(r){i.init({fallbackLocale:"en"}),i.$locale.set(r)}const N={en:{"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:{"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:{"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 ye(r){i.append_styles(r,"svelte-ltlo52","*,*::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{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(--emw--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(--emw--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(--emw--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(--emw--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(--emw--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)}")}function W(r,t,n){const l=r.slice();return l[55]=t[n],l[57]=n,l}function ke(r){let t,n,l,a=i.ensure_array_like(r[3]),s=[];for(let f=0;f<a.length;f+=1)s[f]=K(W(r,a,f));let c=r[6]&&G(r);return{c(){t=i.element("div");for(let f=0;f<s.length;f+=1)s[f].c();n=i.space(),c&&c.c(),l=i.empty(),i.attr(t,"class","CashierVerificationsWrapper")},m(f,m){i.insert(f,t,m);for(let u=0;u<s.length;u+=1)s[u]&&s[u].m(t,null);i.insert(f,n,m),c&&c.m(f,m),i.insert(f,l,m)},p(f,m){if(m[0]&536){a=i.ensure_array_like(f[3]);let u;for(u=0;u<a.length;u+=1){const h=W(f,a,u);s[u]?s[u].p(h,m):(s[u]=K(h),s[u].c(),s[u].m(t,null))}for(;u<s.length;u+=1)s[u].d(1);s.length=a.length}f[6]?c?c.p(f,m):(c=G(f),c.c(),c.m(l.parentNode,l)):c&&(c.d(1),c=null)},d(f){f&&(i.detach(t),i.detach(n),i.detach(l)),i.destroy_each(s,f),c&&c.d(f)}}}function _e(r){let t;return{c(){t=i.element("cashier-spinner"),i.set_custom_element_data(t,"clientstylingurl",r[1]),i.set_custom_element_data(t,"clientstyling",r[0])},m(n,l){i.insert(n,t,l)},p(n,l){l[0]&2&&i.set_custom_element_data(t,"clientstylingurl",n[1]),l[0]&1&&i.set_custom_element_data(t,"clientstyling",n[0])},d(n){n&&i.detach(t)}}}function Y(r){let t,n,l;function a(...s){return r[19](r[57],...s)}return{c(){t=i.element("span"),t.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>',i.attr(t,"class","CashierVerificationChevron")},m(s,c){i.insert(s,t,c),n||(l=i.listen(t,"click",a),n=!0)},p(s,c){r=s},d(s){s&&i.detach(t),n=!1,l()}}}function K(r){let t,n,l,a,s=r[55]+"",c,f,m,u,h=r[3].length>1&&r[57]===0&&Y(r);function V(...v){return r[20](r[57],...v)}return{c(){t=i.element("div"),n=i.element("div"),n.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>',l=i.space(),a=i.element("p"),c=i.space(),h&&h.c(),f=i.space(),i.attr(n,"class","IconVerification"),i.attr(a,"class","text"),i.attr(t,"class","CashierVerificationMessage"),i.toggle_class(t,"ShowAll",r[4])},m(v,w){i.insert(v,t,w),i.append(t,n),i.append(t,l),i.append(t,a),a.innerHTML=s,i.append(t,c),h&&h.m(t,null),i.append(t,f),m||(u=i.listen(t,"click",V),m=!0)},p(v,w){r=v,w[0]&8&&s!==(s=r[55]+"")&&(a.innerHTML=s),r[3].length>1&&r[57]===0?h?h.p(r,w):(h=Y(r),h.c(),h.m(t,f)):h&&(h.d(1),h=null),w[0]&16&&i.toggle_class(t,"ShowAll",r[4])},d(v){v&&i.detach(t),h&&h.d(),m=!1,u()}}}function G(r){let t,n,l,a,s=r[8]("verification.video.how-to")+"",c,f,m;return{c(){t=i.element("div"),n=i.element("div"),n.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>',l=i.space(),a=i.element("div"),c=i.text(s),i.attr(n,"class","IconVideo"),i.attr(a,"class","CashierVerificationVideoLink"),i.toggle_class(a,"CashierVerificationVideoLinkDesktop",r[5]),i.attr(t,"class","CashierVerificationVideo")},m(u,h){i.insert(u,t,h),i.append(t,n),i.append(t,l),i.append(t,a),i.append(a,c),f||(m=i.listen(a,"click",r[10]),f=!0)},p(u,h){h[0]&256&&s!==(s=u[8]("verification.video.how-to")+"")&&i.set_data(c,s),h[0]&32&&i.toggle_class(a,"CashierVerificationVideoLinkDesktop",u[5])},d(u){u&&i.detach(t),f=!1,m()}}}function Ve(r){let t;function n(s,c){if(s[7])return _e;if(s[3])return ke}let l=n(r),a=l&&l(r);return{c(){t=i.element("div"),a&&a.c(),i.attr(t,"class","CashierVerifications"),i.toggle_class(t,"CashierVerificationsDesktop",r[5])},m(s,c){i.insert(s,t,c),a&&a.m(t,null),r[21](t)},p(s,c){l===(l=n(s))&&a?a.p(s,c):(a&&a.d(1),a=l&&l(s),a&&(a.c(),a.m(t,null))),c[0]&32&&i.toggle_class(t,"CashierVerificationsDesktop",s[5])},i:i.noop,o:i.noop,d(s){s&&i.detach(t),a&&a.d(),r[21](null)}}}const Pe="verification_explanation_video_widgets.MP4";function be(r,t,n){let l,a;i.component_subscribe(r,i.$format,e=>n(8,l=e)),i.component_subscribe(r,D.xPaymentSessionToken,e=>n(29,a=e)),D.dayjs.extend(D.utc);let{endpoint:s}=t,{lang:c="en"}=t,{translationurl:f=""}=t,{clientstyling:m=""}=t,{clientstylingurl:u=""}=t,{session:h=""}=t,{customerid:V=""}=t,{playersession:v=""}=t,{mbsource:w=""}=t,k,F=new Set,z=new Set,S,C,T,O=!0,I=!0,B=!1,M="",L=!1,J=window.navigator.userAgent;var P;(function(e){e.Manual="Manual",e.ShuftiPro="ShuftiPro"})(P||(P={}));var q;(function(e){e.Requested="Requested"})(q||(q={}));var g;(function(e){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"})(g||(g={}));var b;(function(e){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"})(b||(b={}));const E=e=>{e.data&&e.data.type};i.onMount(()=>(window.addEventListener("message",E),ue(),()=>{window.removeEventListener("message",E)}));const X=[g.InProgress,g.Referred,g.AwaitingForResponse],Q=()=>{let e=f;if(e)return fetch(e).then(o=>o.json()).then(o=>{Object.keys(o).forEach(d=>{H(d,o[d])})}).catch(o=>{console.log(o)})};Object.keys(N).forEach(e=>{H(e,N[e])});const $=()=>{we(c)},R=()=>{n(18,C=te());const e=new URL(`${s}/v1/player/${V}/verification/GetKYCCustomerStatus?language=${c}`),o=new Headers;o.append("accept","application/json"),o.append("Content-Type","application/json"),o.append("x-sessionid",`${v}`),o.append("X-Client-Request-Timestamp",D.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const d={method:"POST",headers:o,body:JSON.stringify({})};n(7,L=!0),fetch(e,d).then(p=>p.json()).then(p=>{const y=ee(p==null?void 0:p.Verifications);S=re(y),S.VerificationStatuses.forEach(A=>{A.VerificationUrlType!=="Widget"&&F.add(A.Vendor)}),n(3,T=j())}).finally(()=>n(7,L=!1))},ee=e=>e?e.sort((o,d)=>new Date(d.Created).getTime()-new Date(o.Created).getTime()):[],ie=()=>{a&&R()},te=()=>{let e=(h||a).split(".")[1];if(e){let o=JSON.parse(atob(e));return o.cdn+"/cashier/operator-assets/"+(o==null?void 0:o.mid)}return""},re=e=>{var d;if(!e||!e.length)return{VerificationSummaryStatus:g.Unverified,VerificationStatuses:[]};const o=ne(e);if(o&&o.length){const p=oe(o);return{VerificationSummaryStatus:p.Status,VerificationUrl:(d=p.Flags)==null?void 0:d.DeferredUrlKey,VerificationStatuses:U(o,p.Status)}}else return{VerificationSummaryStatus:e.some(y=>y.Status===g.Failed)?g.Failed:g.Verified,VerificationStatuses:U(e,[g.Failed])}},oe=e=>e.reduce((o,d)=>o?new Date(o)<new Date(d)?d:o:d,0),U=(e,o)=>e.filter(d=>o.includes(d.Status)).map(d=>{var p,y;return{Type:d.Type,Vendor:d.VendorName,VerificationDocuments:d.Documents?[...d.Documents]:[],VerificationUrlType:(p=d.FlowInfo)==null?void 0:p.Type,VerificationUrl:(y=d.FlowInfo)==null?void 0:y.Url}}),ne=e=>e.filter(o=>X.includes(o.Status)?o.FlowInfo&&o.FlowInfo.Url||se(o)||ae(o):!1),se=e=>{const o=e.Documents&&e.VendorName===P.Manual,d=e.Documents&&e.Documents.some(p=>p.Status===q.Requested);return o&&d},ae=e=>e.VendorName===P.ShuftiPro&&e.Status===g.Referred,j=()=>{switch(S.VerificationSummaryStatus){case g.InProgress:const e=[];return F.forEach(o=>{e.push(le(o))}),e;case g.Referred:return[l("verification.idenfy.referred-awaiting")];case g.Failed:return[l("verification.message.failed")]}},le=e=>{const o=S.VerificationStatuses.filter(d=>d.Vendor===e);if(e===P.ShuftiPro)return ce(o);{const d=l("verification.idenfy.link-name"),p={link:`<a href="${o[0].VerificationUrl}" target="_blank">${d}</a>`};return l("verification.idenfy.in-progress",{values:p})}},ce=e=>{const o=[],d={},p=[b.Biometric,b.Documents,b.ProofOfAddress];e.forEach(_=>{p.includes(_.Type)&&(o.push(_.Type),d[_.Type]=fe(_,de(_.Type)))});let y=o.every(_=>z.has(_)),A=`verification.shuftipro.in-progress.${o.sort().join(".")}`;return y?l("verification.shuftipro.validations-started"):l(A,{values:d})},fe=(e,o)=>`<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${o}</a>`,de=e=>l(`verification.shuftipro.link-name.${e}`),x=(e,o)=>{if(e.stopPropagation(),e.target&&(e.target.href||e.target.closest("a"))){if(e.target.closest(".verificationLink")){const d=e.target.className.split(" ")[1];z.add(d),n(3,T=j())}return}o===0&&n(4,O=!O)},ue=()=>{n(5,I=!D.isMobile(J))},he=()=>{M=C+"/"+c+"/"+Pe;try{fetch(M,{method:"HEAD"}).then(e=>{n(6,B=e.ok)})}catch(e){n(6,B=!1)}},me=()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"video",data:{videoSrc:M}}}))},pe=(e,o)=>x(o,e),ge=(e,o)=>x(o,e);function ve(e){i.binding_callbacks[e?"unshift":"push"](()=>{k=e,n(2,k)})}return r.$$set=e=>{"endpoint"in e&&n(11,s=e.endpoint),"lang"in e&&n(12,c=e.lang),"translationurl"in e&&n(13,f=e.translationurl),"clientstyling"in e&&n(0,m=e.clientstyling),"clientstylingurl"in e&&n(1,u=e.clientstylingurl),"session"in e&&n(14,h=e.session),"customerid"in e&&n(15,V=e.customerid),"playersession"in e&&n(16,v=e.playersession),"mbsource"in e&&n(17,w=e.mbsource)},r.$$.update=()=>{r.$$.dirty[0]&4096&&c&&$(),r.$$.dirty[0]&83968&&s&&h&&v&&R(),r.$$.dirty[0]&83968&&s&&!h&&v&&ie(),r.$$.dirty[0]&8192&&f&&Q(),r.$$.dirty[0]&5&&m&&k&&i.setClientStyling(),r.$$.dirty[0]&6&&u&&k&&i.setClientStylingURL(),r.$$.dirty[0]&262144&&C&&he(),r.$$.dirty[0]&131076&&w&&k&&i.setStreamStyling(k,`${w}.Style`)},[m,u,k,T,O,I,B,L,l,x,me,s,c,f,h,V,v,w,C,pe,ge,ve]}class Z extends i.SvelteComponent{constructor(t){super(),i.init$1(this,t,be,Ve,i.safe_not_equal,{endpoint:11,lang:12,translationurl:13,clientstyling:0,clientstylingurl:1,session:14,customerid:15,playersession:16,mbsource:17},ye,[-1,-1])}get endpoint(){return this.$$.ctx[11]}set endpoint(t){this.$$set({endpoint:t}),i.flush()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),i.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(t){this.$$set({translationurl:t}),i.flush()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),i.flush()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),i.flush()}get session(){return this.$$.ctx[14]}set session(t){this.$$set({session:t}),i.flush()}get customerid(){return this.$$.ctx[15]}set customerid(t){this.$$set({customerid:t}),i.flush()}get playersession(){return this.$$.ctx[16]}set playersession(t){this.$$set({playersession:t}),i.flush()}get mbsource(){return this.$$.ctx[17]}set mbsource(t){this.$$set({mbsource:t}),i.flush()}}i.create_custom_element(Z,{endpoint:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},session:{},customerid:{},playersession:{},mbsource:{}},[],[],!0);exports.default=Z;
@@ -1,32 +1,32 @@
1
- import { c as f, S as u, b as p, s as w, f as v, d as g, x as k, k as a, D as d, p as h, X as r, j as t, l as o } from "./CashierError-_mJg7htJ.js";
1
+ import { S as f, b as u, s as p, f as w, d as v, z as d, g as a, l as h, v as g, m as o, U as r, p as t, c as k } from "./CashierError-BL7OTzSK.js";
2
2
  function _(n) {
3
- g(n, "svelte-17lvd7j", "svg.svelte-17lvd7j{flex:0 0 auto;width:18px;height:18px}");
3
+ v(n, "svelte-17lvd7j", "svg.svelte-17lvd7j{flex:0 0 auto;width:18px;height:18px}");
4
4
  }
5
- function x(n) {
5
+ function m(n) {
6
6
  let e, l, i;
7
7
  return {
8
8
  c() {
9
9
  e = r("svg"), l = r("rect"), i = r("path"), t(l, "width", "18"), t(l, "height", "18"), t(l, "rx", "9"), t(l, "fill", "#4A975C"), t(l, "fill-opacity", "0.29"), t(i, "d", "M12.5 7L8.11111 12L5 8.5"), t(i, "stroke", "#4A975C"), t(i, "stroke-width", "2"), t(i, "stroke-linecap", "round"), t(i, "stroke-linejoin", "round"), t(e, "xmlns", "http://www.w3.org/2000/svg"), t(e, "width", "18"), t(e, "height", "18"), t(e, "viewBox", "0 0 18 18"), t(e, "fill", "none"), t(e, "class", "svelte-17lvd7j");
10
10
  },
11
11
  m(s, C) {
12
- a(s, e, C), o(e, l), o(e, i);
12
+ h(s, e, C), o(e, l), o(e, i);
13
13
  },
14
14
  d(s) {
15
- s && h(e);
15
+ s && a(e);
16
16
  }
17
17
  };
18
18
  }
19
- function m(n) {
19
+ function x(n) {
20
20
  let e, l, i;
21
21
  return {
22
22
  c() {
23
23
  e = r("svg"), l = r("rect"), i = r("path"), t(l, "width", "18"), t(l, "height", "18"), t(l, "rx", "9"), t(l, "fill", "#DD6617"), t(l, "fill-opacity", "0.3"), t(i, "d", "M9.02911 10.048C8.91711 10.056 8.80111 10.064 8.68111 10.072C8.56911 10.072 8.45311 10.072 8.33311 10.072C8.19711 10.072 8.06111 10.072 7.92511 10.072C7.78911 10.072 7.63711 10.064 7.46911 10.048V12.484C7.46911 12.74 7.40511 12.9 7.27711 12.964C7.15711 13.02 7.00511 13.048 6.82111 13.048C6.72511 13.048 6.64911 13.04 6.59311 13.024C6.53711 13.016 6.48911 12.996 6.44911 12.964C6.41711 12.924 6.38911 12.868 6.36511 12.796C6.34911 12.724 6.33711 12.624 6.32911 12.496C6.31311 12.352 6.30111 12.144 6.29311 11.872C6.28511 11.592 6.27711 11.232 6.26911 10.792C6.26911 10.352 6.26511 9.82 6.25711 9.196C6.25711 8.564 6.25711 7.824 6.25711 6.976C6.25711 6.648 6.29711 6.332 6.37711 6.028C6.45711 5.716 6.60111 5.444 6.80911 5.212C7.01711 4.972 7.29711 4.78 7.64911 4.636C8.00911 4.492 8.46511 4.42 9.01711 4.42C9.40911 4.42 9.78911 4.464 10.1571 4.552C10.5331 4.64 10.8651 4.792 11.1531 5.008C11.4411 5.224 11.6731 5.516 11.8491 5.884C12.0251 6.252 12.1131 6.712 12.1131 7.264C12.1131 8 11.9531 8.572 11.6331 8.98C11.3211 9.38 10.8891 9.664 10.3371 9.832L11.9451 12.04C12.0891 12.232 12.1611 12.428 12.1611 12.628C12.1611 12.788 12.1051 12.912 11.9931 13C11.8891 13.096 11.7571 13.144 11.5971 13.144C11.4211 13.144 11.2691 13.096 11.1411 13C11.0131 12.896 10.8931 12.764 10.7811 12.604L9.02911 10.048ZM10.9131 7.252C10.9131 6.7 10.7451 6.292 10.4091 6.028C10.0811 5.756 9.55711 5.62 8.83711 5.62C8.57311 5.62 8.35311 5.644 8.17711 5.692C8.00111 5.732 7.86111 5.812 7.75711 5.932C7.65311 6.052 7.57711 6.22 7.52911 6.436C7.48911 6.644 7.46911 6.912 7.46911 7.24C7.46911 7.472 7.46911 7.744 7.46911 8.056C7.46911 8.368 7.47311 8.652 7.48111 8.908C7.66511 8.916 7.86911 8.92 8.09311 8.92C8.32511 8.92 8.54111 8.92 8.74111 8.92C8.96511 8.92 9.20111 8.908 9.44911 8.884C9.70511 8.852 9.94111 8.78 10.1571 8.668C10.3731 8.548 10.5531 8.38 10.6971 8.164C10.8411 7.94 10.9131 7.636 10.9131 7.252Z"), t(i, "fill", "#DD6617"), t(i, "fill-opacity", "0.831373"), t(e, "xmlns", "http://www.w3.org/2000/svg"), t(e, "width", "18"), t(e, "height", "18"), t(e, "viewBox", "0 0 18 18"), t(e, "fill", "none"), t(e, "class", "svelte-17lvd7j");
24
24
  },
25
25
  m(s, C) {
26
- a(s, e, C), o(e, l), o(e, i);
26
+ h(s, e, C), o(e, l), o(e, i);
27
27
  },
28
28
  d(s) {
29
- s && h(e);
29
+ s && a(e);
30
30
  }
31
31
  };
32
32
  }
@@ -37,10 +37,10 @@ function j(n) {
37
37
  e = r("svg"), l = r("rect"), i = r("path"), s = r("path"), t(l, "width", "18"), t(l, "height", "18"), t(l, "rx", "9"), t(l, "fill", "#F0A85F"), t(l, "fill-opacity", "0.3"), t(i, "d", "M8.99967 14.6666C12.1293 14.6666 14.6663 12.1296 14.6663 8.99998C14.6663 5.87037 12.1293 3.33331 8.99967 3.33331C5.87006 3.33331 3.33301 5.87037 3.33301 8.99998C3.33301 12.1296 5.87006 14.6666 8.99967 14.6666Z"), t(i, "stroke", "#F0A85F"), t(i, "stroke-width", "2"), t(i, "stroke-linecap", "round"), t(i, "stroke-linejoin", "round"), t(s, "d", "M9 6V9L11 10"), t(s, "stroke", "#F0A85F"), t(s, "stroke-width", "2"), t(s, "stroke-linecap", "round"), t(s, "stroke-linejoin", "round"), t(e, "xmlns", "http://www.w3.org/2000/svg"), t(e, "width", "18"), t(e, "height", "18"), t(e, "viewBox", "0 0 18 18"), t(e, "fill", "none"), t(e, "class", "svelte-17lvd7j");
38
38
  },
39
39
  m(C, c) {
40
- a(C, e, c), o(e, l), o(e, i), o(e, s);
40
+ h(C, e, c), o(e, l), o(e, i), o(e, s);
41
41
  },
42
42
  d(C) {
43
- C && h(e);
43
+ C && a(e);
44
44
  }
45
45
  };
46
46
  }
@@ -51,10 +51,10 @@ function y(n) {
51
51
  e = r("svg"), l = r("rect"), i = r("path"), s = r("path"), t(l, "width", "18"), t(l, "height", "18"), t(l, "rx", "9"), t(l, "fill", "#F35A23"), t(l, "fill-opacity", "0.29"), t(i, "d", "M12 6L6 12"), t(i, "stroke", "#F35A23"), t(i, "stroke-width", "2"), t(i, "stroke-linecap", "round"), t(i, "stroke-linejoin", "round"), t(s, "d", "M6 6L12 12"), t(s, "stroke", "#F35A23"), t(s, "stroke-width", "2"), t(s, "stroke-linecap", "round"), t(s, "stroke-linejoin", "round"), t(e, "xmlns", "http://www.w3.org/2000/svg"), t(e, "width", "18"), t(e, "height", "18"), t(e, "viewBox", "0 0 18 18"), t(e, "fill", "none"), t(e, "class", "svelte-17lvd7j");
52
52
  },
53
53
  m(C, c) {
54
- a(C, e, c), o(e, l), o(e, i), o(e, s);
54
+ h(C, e, c), o(e, l), o(e, i), o(e, s);
55
55
  },
56
56
  d(C) {
57
- C && h(e);
57
+ C && a(e);
58
58
  }
59
59
  };
60
60
  }
@@ -65,10 +65,10 @@ function b(n) {
65
65
  e = r("svg"), l = r("rect"), i = r("path"), t(l, "width", "18"), t(l, "height", "18"), t(l, "rx", "9"), t(l, "fill", "#32B398"), t(l, "fill-opacity", "0.3"), t(i, "d", "M11.1679 12.388C11.0879 12.196 10.9999 11.976 10.9039 11.728C10.8159 11.472 10.7199 11.204 10.6159 10.924C10.3759 10.932 10.1239 10.94 9.85992 10.948C9.59592 10.948 9.32792 10.948 9.05592 10.948C8.71192 10.948 8.39992 10.948 8.11992 10.948C7.83992 10.948 7.58392 10.944 7.35192 10.936C7.25592 11.216 7.16392 11.48 7.07592 11.728C6.98792 11.976 6.90392 12.196 6.82392 12.388C6.66392 12.796 6.43192 13 6.12792 13C6.01592 13 5.90792 12.964 5.80392 12.892C5.70792 12.82 5.65992 12.716 5.65992 12.58C5.65992 12.444 5.68392 12.268 5.73192 12.052C5.77992 11.828 5.83992 11.592 5.91192 11.344C5.99192 11.088 6.07592 10.828 6.16392 10.564C6.25192 10.292 6.33592 10.04 6.41592 9.808C6.49592 9.552 6.60792 9.228 6.75192 8.836C6.90392 8.436 7.06392 8.02 7.23192 7.588C7.39992 7.156 7.56792 6.732 7.73592 6.316C7.90392 5.892 8.05592 5.524 8.19192 5.212C8.22392 5.132 8.26392 5.044 8.31192 4.948C8.35992 4.844 8.41592 4.748 8.47992 4.66C8.55192 4.572 8.62792 4.496 8.70792 4.432C8.79592 4.368 8.89192 4.336 8.99592 4.336C9.09992 4.336 9.19592 4.372 9.28392 4.444C9.37192 4.508 9.44792 4.588 9.51192 4.684C9.58392 4.78 9.64392 4.88 9.69192 4.984C9.74792 5.088 9.79192 5.18 9.82392 5.26C9.95192 5.58 10.0959 5.948 10.2559 6.364C10.4239 6.78 10.5879 7.2 10.7479 7.624C10.9159 8.048 11.0719 8.452 11.2159 8.836C11.3599 9.22 11.4759 9.544 11.5639 9.808C11.6359 10.04 11.7159 10.288 11.8039 10.552C11.8999 10.816 11.9879 11.076 12.0679 11.332C12.1479 11.588 12.2119 11.828 12.2599 12.052C12.3159 12.268 12.3439 12.444 12.3439 12.58C12.3439 12.716 12.2919 12.82 12.1879 12.892C12.0919 12.964 11.9879 13 11.8759 13C11.7319 13 11.5999 12.952 11.4799 12.856C11.3599 12.752 11.2559 12.596 11.1679 12.388ZM9.04392 9.748C9.23592 9.748 9.42792 9.752 9.61992 9.76C9.81192 9.76 10.0039 9.764 10.1959 9.772C10.0999 9.492 10.0039 9.212 9.90792 8.932C9.81192 8.652 9.71992 8.384 9.63192 8.128C9.55192 7.872 9.47592 7.636 9.40392 7.42C9.33992 7.196 9.28392 7 9.23592 6.832C9.20392 6.728 9.16792 6.644 9.12792 6.58C9.08792 6.516 9.03592 6.484 8.97192 6.484C8.90792 6.484 8.85592 6.52 8.81592 6.592C8.77592 6.656 8.73992 6.74 8.70792 6.844C8.61192 7.172 8.47592 7.6 8.29992 8.128C8.13192 8.648 7.95192 9.196 7.75992 9.772C7.97592 9.764 8.19192 9.76 8.40792 9.76C8.62392 9.752 8.83592 9.748 9.04392 9.748Z"), t(i, "fill", "#32B398"), t(i, "fill-opacity", "0.831373"), t(e, "xmlns", "http://www.w3.org/2000/svg"), t(e, "width", "18"), t(e, "height", "18"), t(e, "viewBox", "0 0 18 18"), t(e, "fill", "none"), t(e, "class", "svelte-17lvd7j");
66
66
  },
67
67
  m(s, C) {
68
- a(s, e, C), o(e, l), o(e, i);
68
+ h(s, e, C), o(e, l), o(e, i);
69
69
  },
70
70
  d(s) {
71
- s && h(e);
71
+ s && a(e);
72
72
  }
73
73
  };
74
74
  }
@@ -94,20 +94,20 @@ function F(n) {
94
94
  /*status*/
95
95
  C[0] === "Rejected"
96
96
  )
97
- return m;
97
+ return x;
98
98
  if (
99
99
  /*status*/
100
100
  C[0] === "Success"
101
101
  )
102
- return x;
102
+ return m;
103
103
  }
104
104
  let i = l(n), s = i && i(n);
105
105
  return {
106
106
  c() {
107
- s && s.c(), e = k();
107
+ s && s.c(), e = g();
108
108
  },
109
109
  m(C, c) {
110
- s && s.m(C, c), a(C, e, c);
110
+ s && s.m(C, c), h(C, e, c);
111
111
  },
112
112
  p(C, [c]) {
113
113
  i !== (i = l(C)) && (s && s.d(1), s = i && i(C), s && (s.c(), s.m(e.parentNode, e)));
@@ -115,7 +115,7 @@ function F(n) {
115
115
  i: d,
116
116
  o: d,
117
117
  d(C) {
118
- C && h(e), s && s.d(C);
118
+ C && a(e), s && s.d(C);
119
119
  }
120
120
  };
121
121
  }
@@ -125,18 +125,18 @@ function A(n, e, l) {
125
125
  "status" in s && l(0, i = s.status);
126
126
  }, [i];
127
127
  }
128
- class M extends u {
128
+ class M extends f {
129
129
  constructor(e) {
130
- super(), p(this, e, A, F, w, { status: 0 }, _);
130
+ super(), u(this, e, A, F, p, { status: 0 }, _);
131
131
  }
132
132
  get status() {
133
133
  return this.$$.ctx[0];
134
134
  }
135
135
  set status(e) {
136
- this.$$set({ status: e }), v();
136
+ this.$$set({ status: e }), w();
137
137
  }
138
138
  }
139
- f(M, { status: {} }, [], [], !0);
139
+ k(M, { status: {} }, [], [], !0);
140
140
  export {
141
141
  M as T
142
142
  };