@everymatrix/cashier-page 1.69.70 → 1.69.71

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 (54) hide show
  1. package/components/{CashierCarousel-CfmPEPcN.js → CashierCarousel-B-m8nqex.js} +1 -1
  2. package/components/{CashierCarousel-D5kSWky0.cjs → CashierCarousel-CMOXxexR.cjs} +1 -1
  3. package/components/{CashierCarousel-CBJt8F6x.js → CashierCarousel-DnI5W6hp.js} +1 -1
  4. package/components/{CashierError-CdOvfojJ.js → CashierError-D22GtqQB.js} +1 -1
  5. package/components/{CashierError-DGNe2xuq.js → CashierError-DOpWzMyJ.js} +1 -1
  6. package/components/{CashierError-DNuC45d1.cjs → CashierError-N1Qr99d5.cjs} +1 -1
  7. package/components/{CashierHeader-DdCbhGSh.cjs → CashierHeader-CXwiLLh1.cjs} +1 -1
  8. package/components/{CashierHeader-xmXCTyKW.js → CashierHeader-CmEDuwOJ.js} +1 -1
  9. package/components/{CashierHeader-Cs8CEaF9.js → CashierHeader-DXs9Ah9v.js} +1 -1
  10. package/components/{CashierIframeRedirect-qUGXGx3s.js → CashierIframeRedirect-B2kiloKw.js} +3 -3
  11. package/components/{CashierIframeRedirect-BXHKd8sC.cjs → CashierIframeRedirect-Druw4af5.cjs} +1 -1
  12. package/components/{CashierIframeRedirect-WvZUPBqV.js → CashierIframeRedirect-kLMLGs7A.js} +3 -3
  13. package/components/{CashierMethodDetails-DtBMR3Gl.js → CashierMethodDetails-CL96ndPD.js} +1616 -1570
  14. package/components/{CashierMethodDetails-CZH49Fbk.js → CashierMethodDetails-DYxb4-2_.js} +1695 -1649
  15. package/components/{CashierMethodDetails-D-yMmahK.cjs → CashierMethodDetails-OFpqWkcV.cjs} +5 -5
  16. package/components/{CashierMethodsList-DSEMnW8P.cjs → CashierMethodsList-BDL8TCEJ.cjs} +1 -1
  17. package/components/{CashierMethodsList-WHF8nfid.js → CashierMethodsList-Cm3A5R8L.js} +2 -2
  18. package/components/{CashierMethodsList-BashajhV.js → CashierMethodsList-j77epuet.js} +2 -2
  19. package/components/{CashierModal-C3xM7LBv.js → CashierModal-BcMr8tnR.js} +1 -1
  20. package/components/{CashierModal-Dt6jrD_7.js → CashierModal-C-XX1mxG.js} +1 -1
  21. package/components/{CashierModal-R8kFj8iv.cjs → CashierModal-CEHvzi-f.cjs} +1 -1
  22. package/components/{CashierNotifications-BlLqvSEs.js → CashierNotifications-Bj4XZbWm.js} +1 -1
  23. package/components/{CashierNotifications-CkPy_2A7.cjs → CashierNotifications-Bod69cph.cjs} +1 -1
  24. package/components/{CashierNotifications-DE3qEdiQ.js → CashierNotifications-BofR6pfu.js} +1 -1
  25. package/components/{CashierPage-D3wSp1F6.js → CashierPage-BmQ1BWgO.js} +109 -109
  26. package/components/CashierPage-D-eVQ9Pj.cjs +1 -0
  27. package/components/{CashierPage-CokXt1Bz.js → CashierPage-DO9rarmz.js} +100 -100
  28. package/components/{CashierReceiptPage-DOh9j1sj.js → CashierReceiptPage-BDWnXby0.js} +640 -609
  29. package/components/CashierReceiptPage-Bby7MO5e.cjs +26 -0
  30. package/components/{CashierReceiptPage-DRKp8sTO.js → CashierReceiptPage-CrGgRvx1.js} +666 -635
  31. package/components/{CashierSessionExpirationModal-Dz0mjHXB.js → CashierSessionExpirationModal-D7op9Xxb.js} +3 -3
  32. package/components/{CashierSessionExpirationModal-DpWXu2Pn.cjs → CashierSessionExpirationModal-DUTcGiXW.cjs} +1 -1
  33. package/components/{CashierSessionExpirationModal-S7cl-cVx.js → CashierSessionExpirationModal-DtJn2Y88.js} +3 -3
  34. package/components/{CashierSpinner-BOrGTt9R.js → CashierSpinner-BOIsSBe8.js} +1 -1
  35. package/components/{CashierSpinner-Bkz2A3Ui.cjs → CashierSpinner-C8mV9Ucz.cjs} +1 -1
  36. package/components/{CashierSpinner-ClchrEIo.js → CashierSpinner-qQLpEqvb.js} +1 -1
  37. package/components/{CashierTransactionHistory-Dp7iiTLc.js → CashierTransactionHistory-CLJt7kxF.js} +5 -5
  38. package/components/{CashierTransactionHistory-BckTfimD.js → CashierTransactionHistory-b_KLt6ZQ.js} +5 -5
  39. package/components/{CashierTransactionHistory-ByijXCaI.cjs → CashierTransactionHistory-d-EvN9ks.cjs} +1 -1
  40. package/components/{CashierVerifications-BPurxVwq.js → CashierVerifications-BeA9Jz6v.js} +2 -2
  41. package/components/{CashierVerifications-DySlpNtZ.js → CashierVerifications-DEb6io0a.js} +2 -2
  42. package/components/{CashierVerifications-DCnW6JT6.cjs → CashierVerifications-uYZGW9qo.cjs} +1 -1
  43. package/components/{TxnStatusIcon-Bgj9uqou.cjs → TxnStatusIcon-CF5l9Gy1.cjs} +1 -1
  44. package/components/{TxnStatusIcon-B8ahOe2h.js → TxnStatusIcon-Cwe0ntJi.js} +1 -1
  45. package/components/{TxnStatusIcon-CcSmN-7i.js → TxnStatusIcon-bb4sl5Yl.js} +1 -1
  46. package/components/{TxnTypeIcons-DA9zdId9.js → TxnTypeIcons-BBPDPD3O.js} +1 -1
  47. package/components/{TxnTypeIcons-zaR71CG9.js → TxnTypeIcons-Bshbdrql.js} +1 -1
  48. package/components/{TxnTypeIcons-CBpa5s-y.cjs → TxnTypeIcons-CucSNCu3.cjs} +1 -1
  49. package/es2015/cashier-page.cjs +1 -1
  50. package/es2015/cashier-page.js +1 -1
  51. package/esnext/cashier-page.js +1 -1
  52. package/package.json +1 -1
  53. package/components/CashierPage-CRr4WELR.cjs +0 -1
  54. package/components/CashierReceiptPage-COrAdE73.cjs +0 -26
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierCarousel-D5kSWky0.cjs"),L=require("./CashierMethodDetails-D-yMmahK.cjs");function H(n,t){e.addMessages(n,t)}function ge(n){e.init({fallbackLocale:"en"}),e.$locale.set(n)}const j={en:{verificationsRequired:"Verifications Required","verification.video.how-to":"How to verify yourself?","verification.idenfy.referred-awaiting":"ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back","verification.message.failed":"We apologize, but we were unable to verify your account. Please contact support team","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"To withdraw funds to your account you are required to pass user verification. Please have your ID ready and follow the {link} to start verification","verification.shuftipro.in-progress.Biometric":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification.","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Biometric","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"After completing verification, please proceed with the transaction"},tr:{verificationsRequired:"Doğrulamalar Gerekli","verification.video.how-to":"Kimlik doğrulama nasıl yapılır?","verification.idenfy.referred-awaiting":"Kimlik doğrulaması işlemde. Doğrulama tamamlandığında size haber vereceğiz","verification.message.failed":"Döküman doğrulama başarısız, hesabınız doğrulanamadı","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"Hesabınızdan çekim yapabilmek için kullanıcı doğrulaması gerekiyor. Lütfen kimliğinizi hazır edin ve {link} adresinden doğrulamayı başlatın","verification.shuftipro.in-progress.Biometric":"İşlemi gerçekleştirmek için kullanıcı doğrulamasını geçmeniz gerekmektedir. Doğrulamayı başlatmak için Lütfen linke tıklayın {Biometric}","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Doğrulama Yap","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"Lütfen Doğrulamayı tamamladıktan sonra işleme devam ediniz"},hr:{verificationsRequired:"Potrebne su provjere","verification.video.how-to":"How to verify yourself?","verification.idenfy.referred-awaiting":"ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back","verification.message.failed":"We apologize, but we were unable to verify your account. Please contact support team","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"To withdraw funds to your account you are required to pass user verification. Please have your ID ready and follow the {link} to start verification","verification.shuftipro.in-progress.Biometric":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification.","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Biometric","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"After completing verification, please proceed with the transaction"}};function ve(n){e.append_styles(n,"svelte-12eenn1","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{position:relative;display:flex;flex-direction:column;width:100%;padding:10px;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.1);background-color:rgba(255, 255, 255, 0.063);z-index:1;width:97%;margin:auto}.VerificationsHeader{display:flex;align-items:center}.VerificationsList{max-height:0;overflow:hidden;transform:translateY(-10px);opacity:0;transition:max-height 0.3s ease, transform 0.3s ease, opacity 0.3s ease}.VerificationsList.ShowVerifications{max-height:100%;transform:translateY(0);opacity:1}.CashierVerificationChevron.ShowVerifications svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:rgba(0, 0, 0, 0.15);border-radius:10px;margin-bottom:10px;padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg path{stroke:var(--emw--color-typography, var(--emw--color-white, #ffffff))}p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:500;font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word;font-weight:200;font-size:12px}.text a{color:var(--emw--color-primary, #F9C408);font-weight:500}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s;margin-right:5px}.CashierVerificationChevron svg path{fill:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center;fill:var(--emw--color-primary, #F9C408)}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-primary, #F9C408);font-family:inherit;font-size:var(--emw--font-size-small, 12px);line-height:120%;margin:var(--emw--spacing-small, 12px);font-weight:500}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}")}function U(n,t,r){const s=n.slice();return s[53]=t[r],s}function we(n){let t,r=n[3].length>0&&N(n);return{c(){t=e.element("div"),r&&r.c(),e.attr(t,"class","CashierVerificationsWrapper")},m(s,a){e.insert(s,t,a),r&&r.m(t,null)},p(s,a){s[3].length>0?r?r.p(s,a):(r=N(s),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},d(s){s&&e.detach(t),r&&r.d()}}}function ye(n){let t;return{c(){t=e.element("cashier-spinner"),e.set_custom_element_data(t,"clientstylingurl",n[1]),e.set_custom_element_data(t,"clientstyling",n[0])},m(r,s){e.insert(r,t,s)},p(r,s){s[0]&2&&e.set_custom_element_data(t,"clientstylingurl",r[1]),s[0]&1&&e.set_custom_element_data(t,"clientstyling",r[0])},d(r){r&&e.detach(t)}}}function N(n){let t,r,s,a,l,d,g,P=n[8]("verificationsRequired")+"",w,k,C,D,v,_,x,q,b=e.ensure_array_like(n[3]),h=[];for(let f=0;f<b.length;f+=1)h[f]=W(U(n,b,f));let m=n[6]&&Y(n);return{c(){t=e.element("div"),r=e.svg_element("svg"),s=e.svg_element("path"),a=e.svg_element("path"),l=e.svg_element("path"),d=e.space(),g=e.element("p"),w=e.text(P),k=e.space(),C=e.element("span"),C.innerHTML='<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>',D=e.space(),v=e.element("div");for(let f=0;f<h.length;f+=1)h[f].c();_=e.space(),m&&m.c(),e.attr(s,"d","M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"),e.attr(s,"stroke","#6E738F"),e.attr(s,"stroke-width","2"),e.attr(s,"stroke-linecap","round"),e.attr(s,"stroke-linejoin","round"),e.attr(a,"d","M12 8V12"),e.attr(a,"stroke","#6E738F"),e.attr(a,"stroke-width","2"),e.attr(a,"stroke-linecap","round"),e.attr(a,"stroke-linejoin","round"),e.attr(l,"d","M12 16H12.01"),e.attr(l,"stroke","#6E738F"),e.attr(l,"stroke-width","2"),e.attr(l,"stroke-linecap","round"),e.attr(l,"stroke-linejoin","round"),e.attr(r,"width","24"),e.attr(r,"height","24"),e.attr(r,"viewBox","0 0 24 24"),e.attr(r,"fill","none"),e.attr(r,"xmlns","http://www.w3.org/2000/svg"),e.attr(C,"class","CashierVerificationChevron"),e.toggle_class(C,"ShowVerifications",n[4]),e.attr(t,"class","VerificationsHeader"),e.attr(v,"class","VerificationsList"),e.toggle_class(v,"ShowVerifications",n[4])},m(f,V){e.insert(f,t,V),e.append(t,r),e.append(r,s),e.append(r,a),e.append(r,l),e.append(t,d),e.append(t,g),e.append(g,w),e.append(t,k),e.append(t,C),e.insert(f,D,V),e.insert(f,v,V);for(let u=0;u<h.length;u+=1)h[u]&&h[u].m(v,null);e.append(v,_),m&&m.m(v,null),x||(q=e.listen(t,"click",n[9]),x=!0)},p(f,V){if(V[0]&256&&P!==(P=f[8]("verificationsRequired")+"")&&e.set_data(w,P),V[0]&16&&e.toggle_class(C,"ShowVerifications",f[4]),V[0]&8){b=e.ensure_array_like(f[3]);let u;for(u=0;u<b.length;u+=1){const T=U(f,b,u);h[u]?h[u].p(T,V):(h[u]=W(T),h[u].c(),h[u].m(v,_))}for(;u<h.length;u+=1)h[u].d(1);h.length=b.length}f[6]?m?m.p(f,V):(m=Y(f),m.c(),m.m(v,null)):m&&(m.d(1),m=null),V[0]&16&&e.toggle_class(v,"ShowVerifications",f[4])},d(f){f&&(e.detach(t),e.detach(D),e.detach(v)),e.destroy_each(h,f),m&&m.d(),x=!1,q()}}}function W(n){let t,r,s,a,l=n[53]+"";return{c(){t=e.element("div"),r=e.element("div"),r.innerHTML='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>',s=e.space(),a=e.element("p"),e.attr(r,"class","IconVerification"),e.attr(a,"class","text"),e.attr(t,"class","CashierVerificationMessage Test")},m(d,g){e.insert(d,t,g),e.append(t,r),e.append(t,s),e.append(t,a),a.innerHTML=l},p(d,g){g[0]&8&&l!==(l=d[53]+"")&&(a.innerHTML=l)},d(d){d&&e.detach(t)}}}function Y(n){let t,r,s,a,l=n[8]("verification.video.how-to")+"",d,g,P;return{c(){t=e.element("div"),r=e.element("div"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>',s=e.space(),a=e.element("div"),d=e.text(l),e.attr(r,"class","IconVideo"),e.attr(a,"class","CashierVerificationVideoLink"),e.toggle_class(a,"CashierVerificationVideoLinkDesktop",n[5]),e.attr(t,"class","CashierVerificationVideo Test")},m(w,k){e.insert(w,t,k),e.append(t,r),e.append(t,s),e.append(t,a),e.append(a,d),g||(P=e.listen(t,"click",n[10]),g=!0)},p(w,k){k[0]&256&&l!==(l=w[8]("verification.video.how-to")+"")&&e.set_data(d,l),k[0]&32&&e.toggle_class(a,"CashierVerificationVideoLinkDesktop",w[5])},d(w){w&&e.detach(t),g=!1,P()}}}function ke(n){let t;function r(l,d){if(l[7])return ye;if(l[3])return we}let s=r(n),a=s&&s(n);return{c(){t=e.element("div"),a&&a.c(),e.attr(t,"class","CashierVerifications"),e.toggle_class(t,"CashierVerificationsDesktop",n[5])},m(l,d){e.insert(l,t,d),a&&a.m(t,null),n[19](t)},p(l,d){s===(s=r(l))&&a?a.p(l,d):(a&&a.d(1),a=s&&s(l),a&&(a.c(),a.m(t,null))),d[0]&32&&e.toggle_class(t,"CashierVerificationsDesktop",l[5])},i:e.noop,o:e.noop,d(l){l&&e.detach(t),a&&a.d(),n[19](null)}}}const Ve="verification_explanation_video_widgets.MP4";function Pe(n,t,r){let s,a;e.component_subscribe(n,e.$format,i=>r(8,s=i)),e.component_subscribe(n,L.xPaymentSessionToken,i=>r(27,a=i)),L.dayjs.extend(L.utc);let{endpoint:l}=t,{lang:d="en"}=t,{translationurl:g=""}=t,{clientstyling:P=""}=t,{clientstylingurl:w=""}=t,{session:k=""}=t,{customerid:C=""}=t,{playersession:D=""}=t,{mbsource:v=""}=t,_,x=new Set,q=new Set,b,h,m,f=!1,V=!0,u=!1,T="",F=!1,Z=window.navigator.userAgent;var O;(function(i){i.Manual="Manual",i.ShuftiPro="ShuftiPro"})(O||(O={}));var z;(function(i){i.Requested="Requested"})(z||(z={}));var y;(function(i){i.Unknown="Unknown",i.Unverified="Unverified",i.InProgress="InProgress",i.Failed="Failed",i.Verified="Verified",i.Referred="Referred",i.True="True",i.False="False",i.AwaitingForResponse="AwaitingForResponse"})(y||(y={}));var M;(function(i){i.Unknown="Unknown",i.Documents="Documents",i.Age="Age",i.Pep="Pep",i.Sanction="Sanction",i.Aml="Aml",i.ProofOfAddress="ProofOfAddress",i.SourceOfWealth="SourceOfWealth",i.SocialMedia="SocialMedia",i.Biometric="Biometric"})(M||(M={}));const I=i=>{i.data&&i.data.type};e.onMount(()=>(window.addEventListener("message",I),ue(),()=>{window.removeEventListener("message",I)}));const G=[y.InProgress,y.Referred,y.AwaitingForResponse],J=()=>{let i=g;if(i)return fetch(i).then(o=>o.json()).then(o=>{Object.keys(o).forEach(c=>{H(c,o[c])})}).catch(o=>{console.log(o)})};Object.keys(j).forEach(i=>{H(i,j[i])});const X=()=>{ge(d)},E=()=>{r(18,h=ee());const i=new URL(`${l}/v1/player/${C}/verification/GetKYCCustomerStatus?language=${d}`),o=new Headers;o.append("accept","application/json"),o.append("Content-Type","application/json"),o.append("x-sessionid",`${D}`),o.append("X-Client-Request-Timestamp",L.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const c={method:"POST",headers:o,body:JSON.stringify({})};r(7,F=!0),fetch(i,c).then(p=>p.json()).then(p=>{const S=Q(p==null?void 0:p.Verifications);b=ie(S),b.VerificationStatuses.forEach(B=>{B.VerificationUrlType!=="Widget"&&x.add(B.Vendor)}),r(3,m=se())}).finally(()=>r(7,F=!1))},Q=i=>i?i.sort((o,c)=>new Date(c.Created).getTime()-new Date(o.Created).getTime()):[],$=()=>{a&&E()},ee=()=>{let i=(k||a).split(".")[1];if(i){let o=JSON.parse(atob(i));return o.cdn+"/cashier/operator-assets/"+(o==null?void 0:o.mid)}return""},ie=i=>{var c;if(!i||!i.length)return{VerificationSummaryStatus:y.Unverified,VerificationStatuses:[]};const o=re(i);if(o&&o.length){const p=te(o);return{VerificationSummaryStatus:p.Status,VerificationUrl:(c=p.Flags)==null?void 0:c.DeferredUrlKey,VerificationStatuses:R(o,p.Status)}}else return{VerificationSummaryStatus:i.some(S=>S.Status===y.Failed)?y.Failed:y.Verified,VerificationStatuses:R(i,[y.Failed])}},te=i=>i.reduce((o,c)=>o?new Date(o)<new Date(c)?c:o:c,0),R=(i,o)=>i.filter(c=>o.includes(c.Status)).map(c=>{var p,S;return{Type:c.Type,Vendor:c.VendorName,VerificationDocuments:c.Documents?[...c.Documents]:[],VerificationUrlType:(p=c.FlowInfo)==null?void 0:p.Type,VerificationUrl:(S=c.FlowInfo)==null?void 0:S.Url}}),re=i=>i.filter(o=>G.includes(o.Status)?o.FlowInfo&&o.FlowInfo.Url||oe(o)||ne(o):!1),oe=i=>{const o=i.Documents&&i.VendorName===O.Manual,c=i.Documents&&i.Documents.some(p=>p.Status===z.Requested);return o&&c},ne=i=>i.VendorName===O.ShuftiPro&&i.Status===y.Referred,se=()=>{switch(b.VerificationSummaryStatus){case y.InProgress:const i=[];return x.forEach(o=>{i.push(ae(o))}),i;case y.Referred:return[s("verification.idenfy.referred-awaiting")];case y.Failed:return[s("verification.message.failed")]}},ae=i=>{const o=b.VerificationStatuses.filter(c=>c.Vendor===i);if(i===O.ShuftiPro)return le(o);{const c=s("verification.idenfy.link-name"),p={link:`<a href="${o[0].VerificationUrl}" target="_blank">${c}</a>`};return s("verification.idenfy.in-progress",{values:p})}},le=i=>{const o=[],c={},p=[M.Biometric,M.Documents,M.ProofOfAddress];i.forEach(A=>{p.includes(A.Type)&&(o.push(A.Type),c[A.Type]=ce(A,fe(A.Type)))});let S=o.every(A=>q.has(A)),B=`verification.shuftipro.in-progress.${o.sort().join(".")}`;return S?s("verification.shuftipro.validations-started"):s(B,{values:c})},ce=(i,o)=>`<a class="verificationLink ${i.Type}" href=" ${i.VerificationUrl} " target="_blank">${o}</a>`,fe=i=>s(`verification.shuftipro.link-name.${i}`),de=()=>{r(4,f=!f)},ue=()=>{r(5,V=!e.isMobile(Z))},he=()=>{T=h+"/"+d+"/"+Ve;try{fetch(T,{method:"HEAD"}).then(i=>{r(6,u=i.ok)})}catch(i){r(6,u=!1)}},pe=()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"video",data:{videoSrc:T}}}))};function me(i){e.binding_callbacks[i?"unshift":"push"](()=>{_=i,r(2,_)})}return n.$$set=i=>{"endpoint"in i&&r(11,l=i.endpoint),"lang"in i&&r(12,d=i.lang),"translationurl"in i&&r(13,g=i.translationurl),"clientstyling"in i&&r(0,P=i.clientstyling),"clientstylingurl"in i&&r(1,w=i.clientstylingurl),"session"in i&&r(14,k=i.session),"customerid"in i&&r(15,C=i.customerid),"playersession"in i&&r(16,D=i.playersession),"mbsource"in i&&r(17,v=i.mbsource)},n.$$.update=()=>{n.$$.dirty[0]&4096&&d&&X(),n.$$.dirty[0]&83968&&l&&k&&D&&E(),n.$$.dirty[0]&83968&&l&&!k&&D&&$(),n.$$.dirty[0]&8192&&g&&J(),n.$$.dirty[0]&5&&P&&_&&e.setClientStyling(),n.$$.dirty[0]&6&&w&&_&&e.setClientStylingURL(),n.$$.dirty[0]&262144&&h&&he(),n.$$.dirty[0]&131076&&v&&_&&e.setStreamStyling(_,`${v}.Style`)},[P,w,_,m,f,V,u,F,s,de,pe,l,d,g,k,C,D,v,h,me]}class K extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,Pe,ke,e.safe_not_equal,{endpoint:11,lang:12,translationurl:13,clientstyling:0,clientstylingurl:1,session:14,customerid:15,playersession:16,mbsource:17},ve,[-1,-1])}get endpoint(){return this.$$.ctx[11]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),e.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get session(){return this.$$.ctx[14]}set session(t){this.$$set({session:t}),e.flush()}get customerid(){return this.$$.ctx[15]}set customerid(t){this.$$set({customerid:t}),e.flush()}get playersession(){return this.$$.ctx[16]}set playersession(t){this.$$set({playersession:t}),e.flush()}get mbsource(){return this.$$.ctx[17]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(K,{endpoint:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},session:{},customerid:{},playersession:{},mbsource:{}},[],[],!0);exports.default=K;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierCarousel-CMOXxexR.cjs"),L=require("./CashierMethodDetails-OFpqWkcV.cjs");function H(n,t){e.addMessages(n,t)}function ge(n){e.init({fallbackLocale:"en"}),e.$locale.set(n)}const j={en:{verificationsRequired:"Verifications Required","verification.video.how-to":"How to verify yourself?","verification.idenfy.referred-awaiting":"ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back","verification.message.failed":"We apologize, but we were unable to verify your account. Please contact support team","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"To withdraw funds to your account you are required to pass user verification. Please have your ID ready and follow the {link} to start verification","verification.shuftipro.in-progress.Biometric":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification.","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Biometric","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"After completing verification, please proceed with the transaction"},tr:{verificationsRequired:"Doğrulamalar Gerekli","verification.video.how-to":"Kimlik doğrulama nasıl yapılır?","verification.idenfy.referred-awaiting":"Kimlik doğrulaması işlemde. Doğrulama tamamlandığında size haber vereceğiz","verification.message.failed":"Döküman doğrulama başarısız, hesabınız doğrulanamadı","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"Hesabınızdan çekim yapabilmek için kullanıcı doğrulaması gerekiyor. Lütfen kimliğinizi hazır edin ve {link} adresinden doğrulamayı başlatın","verification.shuftipro.in-progress.Biometric":"İşlemi gerçekleştirmek için kullanıcı doğrulamasını geçmeniz gerekmektedir. Doğrulamayı başlatmak için Lütfen linke tıklayın {Biometric}","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Doğrulama Yap","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"Lütfen Doğrulamayı tamamladıktan sonra işleme devam ediniz"},hr:{verificationsRequired:"Potrebne su provjere","verification.video.how-to":"How to verify yourself?","verification.idenfy.referred-awaiting":"ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back","verification.message.failed":"We apologize, but we were unable to verify your account. Please contact support team","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"To withdraw funds to your account you are required to pass user verification. Please have your ID ready and follow the {link} to start verification","verification.shuftipro.in-progress.Biometric":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification.","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Biometric","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"After completing verification, please proceed with the transaction"}};function ve(n){e.append_styles(n,"svelte-12eenn1","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{position:relative;display:flex;flex-direction:column;width:100%;padding:10px;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.1);background-color:rgba(255, 255, 255, 0.063);z-index:1;width:97%;margin:auto}.VerificationsHeader{display:flex;align-items:center}.VerificationsList{max-height:0;overflow:hidden;transform:translateY(-10px);opacity:0;transition:max-height 0.3s ease, transform 0.3s ease, opacity 0.3s ease}.VerificationsList.ShowVerifications{max-height:100%;transform:translateY(0);opacity:1}.CashierVerificationChevron.ShowVerifications svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:rgba(0, 0, 0, 0.15);border-radius:10px;margin-bottom:10px;padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg path{stroke:var(--emw--color-typography, var(--emw--color-white, #ffffff))}p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:500;font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word;font-weight:200;font-size:12px}.text a{color:var(--emw--color-primary, #F9C408);font-weight:500}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s;margin-right:5px}.CashierVerificationChevron svg path{fill:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center;fill:var(--emw--color-primary, #F9C408)}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-primary, #F9C408);font-family:inherit;font-size:var(--emw--font-size-small, 12px);line-height:120%;margin:var(--emw--spacing-small, 12px);font-weight:500}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}")}function U(n,t,r){const s=n.slice();return s[53]=t[r],s}function we(n){let t,r=n[3].length>0&&N(n);return{c(){t=e.element("div"),r&&r.c(),e.attr(t,"class","CashierVerificationsWrapper")},m(s,a){e.insert(s,t,a),r&&r.m(t,null)},p(s,a){s[3].length>0?r?r.p(s,a):(r=N(s),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},d(s){s&&e.detach(t),r&&r.d()}}}function ye(n){let t;return{c(){t=e.element("cashier-spinner"),e.set_custom_element_data(t,"clientstylingurl",n[1]),e.set_custom_element_data(t,"clientstyling",n[0])},m(r,s){e.insert(r,t,s)},p(r,s){s[0]&2&&e.set_custom_element_data(t,"clientstylingurl",r[1]),s[0]&1&&e.set_custom_element_data(t,"clientstyling",r[0])},d(r){r&&e.detach(t)}}}function N(n){let t,r,s,a,l,d,g,P=n[8]("verificationsRequired")+"",w,k,C,D,v,_,x,q,b=e.ensure_array_like(n[3]),h=[];for(let f=0;f<b.length;f+=1)h[f]=W(U(n,b,f));let m=n[6]&&Y(n);return{c(){t=e.element("div"),r=e.svg_element("svg"),s=e.svg_element("path"),a=e.svg_element("path"),l=e.svg_element("path"),d=e.space(),g=e.element("p"),w=e.text(P),k=e.space(),C=e.element("span"),C.innerHTML='<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>',D=e.space(),v=e.element("div");for(let f=0;f<h.length;f+=1)h[f].c();_=e.space(),m&&m.c(),e.attr(s,"d","M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"),e.attr(s,"stroke","#6E738F"),e.attr(s,"stroke-width","2"),e.attr(s,"stroke-linecap","round"),e.attr(s,"stroke-linejoin","round"),e.attr(a,"d","M12 8V12"),e.attr(a,"stroke","#6E738F"),e.attr(a,"stroke-width","2"),e.attr(a,"stroke-linecap","round"),e.attr(a,"stroke-linejoin","round"),e.attr(l,"d","M12 16H12.01"),e.attr(l,"stroke","#6E738F"),e.attr(l,"stroke-width","2"),e.attr(l,"stroke-linecap","round"),e.attr(l,"stroke-linejoin","round"),e.attr(r,"width","24"),e.attr(r,"height","24"),e.attr(r,"viewBox","0 0 24 24"),e.attr(r,"fill","none"),e.attr(r,"xmlns","http://www.w3.org/2000/svg"),e.attr(C,"class","CashierVerificationChevron"),e.toggle_class(C,"ShowVerifications",n[4]),e.attr(t,"class","VerificationsHeader"),e.attr(v,"class","VerificationsList"),e.toggle_class(v,"ShowVerifications",n[4])},m(f,V){e.insert(f,t,V),e.append(t,r),e.append(r,s),e.append(r,a),e.append(r,l),e.append(t,d),e.append(t,g),e.append(g,w),e.append(t,k),e.append(t,C),e.insert(f,D,V),e.insert(f,v,V);for(let u=0;u<h.length;u+=1)h[u]&&h[u].m(v,null);e.append(v,_),m&&m.m(v,null),x||(q=e.listen(t,"click",n[9]),x=!0)},p(f,V){if(V[0]&256&&P!==(P=f[8]("verificationsRequired")+"")&&e.set_data(w,P),V[0]&16&&e.toggle_class(C,"ShowVerifications",f[4]),V[0]&8){b=e.ensure_array_like(f[3]);let u;for(u=0;u<b.length;u+=1){const T=U(f,b,u);h[u]?h[u].p(T,V):(h[u]=W(T),h[u].c(),h[u].m(v,_))}for(;u<h.length;u+=1)h[u].d(1);h.length=b.length}f[6]?m?m.p(f,V):(m=Y(f),m.c(),m.m(v,null)):m&&(m.d(1),m=null),V[0]&16&&e.toggle_class(v,"ShowVerifications",f[4])},d(f){f&&(e.detach(t),e.detach(D),e.detach(v)),e.destroy_each(h,f),m&&m.d(),x=!1,q()}}}function W(n){let t,r,s,a,l=n[53]+"";return{c(){t=e.element("div"),r=e.element("div"),r.innerHTML='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>',s=e.space(),a=e.element("p"),e.attr(r,"class","IconVerification"),e.attr(a,"class","text"),e.attr(t,"class","CashierVerificationMessage Test")},m(d,g){e.insert(d,t,g),e.append(t,r),e.append(t,s),e.append(t,a),a.innerHTML=l},p(d,g){g[0]&8&&l!==(l=d[53]+"")&&(a.innerHTML=l)},d(d){d&&e.detach(t)}}}function Y(n){let t,r,s,a,l=n[8]("verification.video.how-to")+"",d,g,P;return{c(){t=e.element("div"),r=e.element("div"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>',s=e.space(),a=e.element("div"),d=e.text(l),e.attr(r,"class","IconVideo"),e.attr(a,"class","CashierVerificationVideoLink"),e.toggle_class(a,"CashierVerificationVideoLinkDesktop",n[5]),e.attr(t,"class","CashierVerificationVideo Test")},m(w,k){e.insert(w,t,k),e.append(t,r),e.append(t,s),e.append(t,a),e.append(a,d),g||(P=e.listen(t,"click",n[10]),g=!0)},p(w,k){k[0]&256&&l!==(l=w[8]("verification.video.how-to")+"")&&e.set_data(d,l),k[0]&32&&e.toggle_class(a,"CashierVerificationVideoLinkDesktop",w[5])},d(w){w&&e.detach(t),g=!1,P()}}}function ke(n){let t;function r(l,d){if(l[7])return ye;if(l[3])return we}let s=r(n),a=s&&s(n);return{c(){t=e.element("div"),a&&a.c(),e.attr(t,"class","CashierVerifications"),e.toggle_class(t,"CashierVerificationsDesktop",n[5])},m(l,d){e.insert(l,t,d),a&&a.m(t,null),n[19](t)},p(l,d){s===(s=r(l))&&a?a.p(l,d):(a&&a.d(1),a=s&&s(l),a&&(a.c(),a.m(t,null))),d[0]&32&&e.toggle_class(t,"CashierVerificationsDesktop",l[5])},i:e.noop,o:e.noop,d(l){l&&e.detach(t),a&&a.d(),n[19](null)}}}const Ve="verification_explanation_video_widgets.MP4";function Pe(n,t,r){let s,a;e.component_subscribe(n,e.$format,i=>r(8,s=i)),e.component_subscribe(n,L.xPaymentSessionToken,i=>r(27,a=i)),L.dayjs.extend(L.utc);let{endpoint:l}=t,{lang:d="en"}=t,{translationurl:g=""}=t,{clientstyling:P=""}=t,{clientstylingurl:w=""}=t,{session:k=""}=t,{customerid:C=""}=t,{playersession:D=""}=t,{mbsource:v=""}=t,_,x=new Set,q=new Set,b,h,m,f=!1,V=!0,u=!1,T="",F=!1,Z=window.navigator.userAgent;var O;(function(i){i.Manual="Manual",i.ShuftiPro="ShuftiPro"})(O||(O={}));var z;(function(i){i.Requested="Requested"})(z||(z={}));var y;(function(i){i.Unknown="Unknown",i.Unverified="Unverified",i.InProgress="InProgress",i.Failed="Failed",i.Verified="Verified",i.Referred="Referred",i.True="True",i.False="False",i.AwaitingForResponse="AwaitingForResponse"})(y||(y={}));var M;(function(i){i.Unknown="Unknown",i.Documents="Documents",i.Age="Age",i.Pep="Pep",i.Sanction="Sanction",i.Aml="Aml",i.ProofOfAddress="ProofOfAddress",i.SourceOfWealth="SourceOfWealth",i.SocialMedia="SocialMedia",i.Biometric="Biometric"})(M||(M={}));const I=i=>{i.data&&i.data.type};e.onMount(()=>(window.addEventListener("message",I),ue(),()=>{window.removeEventListener("message",I)}));const G=[y.InProgress,y.Referred,y.AwaitingForResponse],J=()=>{let i=g;if(i)return fetch(i).then(o=>o.json()).then(o=>{Object.keys(o).forEach(c=>{H(c,o[c])})}).catch(o=>{console.log(o)})};Object.keys(j).forEach(i=>{H(i,j[i])});const X=()=>{ge(d)},E=()=>{r(18,h=ee());const i=new URL(`${l}/v1/player/${C}/verification/GetKYCCustomerStatus?language=${d}`),o=new Headers;o.append("accept","application/json"),o.append("Content-Type","application/json"),o.append("x-sessionid",`${D}`),o.append("X-Client-Request-Timestamp",L.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const c={method:"POST",headers:o,body:JSON.stringify({})};r(7,F=!0),fetch(i,c).then(p=>p.json()).then(p=>{const S=Q(p==null?void 0:p.Verifications);b=ie(S),b.VerificationStatuses.forEach(B=>{B.VerificationUrlType!=="Widget"&&x.add(B.Vendor)}),r(3,m=se())}).finally(()=>r(7,F=!1))},Q=i=>i?i.sort((o,c)=>new Date(c.Created).getTime()-new Date(o.Created).getTime()):[],$=()=>{a&&E()},ee=()=>{let i=(k||a).split(".")[1];if(i){let o=JSON.parse(atob(i));return o.cdn+"/cashier/operator-assets/"+(o==null?void 0:o.mid)}return""},ie=i=>{var c;if(!i||!i.length)return{VerificationSummaryStatus:y.Unverified,VerificationStatuses:[]};const o=re(i);if(o&&o.length){const p=te(o);return{VerificationSummaryStatus:p.Status,VerificationUrl:(c=p.Flags)==null?void 0:c.DeferredUrlKey,VerificationStatuses:R(o,p.Status)}}else return{VerificationSummaryStatus:i.some(S=>S.Status===y.Failed)?y.Failed:y.Verified,VerificationStatuses:R(i,[y.Failed])}},te=i=>i.reduce((o,c)=>o?new Date(o)<new Date(c)?c:o:c,0),R=(i,o)=>i.filter(c=>o.includes(c.Status)).map(c=>{var p,S;return{Type:c.Type,Vendor:c.VendorName,VerificationDocuments:c.Documents?[...c.Documents]:[],VerificationUrlType:(p=c.FlowInfo)==null?void 0:p.Type,VerificationUrl:(S=c.FlowInfo)==null?void 0:S.Url}}),re=i=>i.filter(o=>G.includes(o.Status)?o.FlowInfo&&o.FlowInfo.Url||oe(o)||ne(o):!1),oe=i=>{const o=i.Documents&&i.VendorName===O.Manual,c=i.Documents&&i.Documents.some(p=>p.Status===z.Requested);return o&&c},ne=i=>i.VendorName===O.ShuftiPro&&i.Status===y.Referred,se=()=>{switch(b.VerificationSummaryStatus){case y.InProgress:const i=[];return x.forEach(o=>{i.push(ae(o))}),i;case y.Referred:return[s("verification.idenfy.referred-awaiting")];case y.Failed:return[s("verification.message.failed")]}},ae=i=>{const o=b.VerificationStatuses.filter(c=>c.Vendor===i);if(i===O.ShuftiPro)return le(o);{const c=s("verification.idenfy.link-name"),p={link:`<a href="${o[0].VerificationUrl}" target="_blank">${c}</a>`};return s("verification.idenfy.in-progress",{values:p})}},le=i=>{const o=[],c={},p=[M.Biometric,M.Documents,M.ProofOfAddress];i.forEach(A=>{p.includes(A.Type)&&(o.push(A.Type),c[A.Type]=ce(A,fe(A.Type)))});let S=o.every(A=>q.has(A)),B=`verification.shuftipro.in-progress.${o.sort().join(".")}`;return S?s("verification.shuftipro.validations-started"):s(B,{values:c})},ce=(i,o)=>`<a class="verificationLink ${i.Type}" href=" ${i.VerificationUrl} " target="_blank">${o}</a>`,fe=i=>s(`verification.shuftipro.link-name.${i}`),de=()=>{r(4,f=!f)},ue=()=>{r(5,V=!e.isMobile(Z))},he=()=>{T=h+"/"+d+"/"+Ve;try{fetch(T,{method:"HEAD"}).then(i=>{r(6,u=i.ok)})}catch(i){r(6,u=!1)}},pe=()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"video",data:{videoSrc:T}}}))};function me(i){e.binding_callbacks[i?"unshift":"push"](()=>{_=i,r(2,_)})}return n.$$set=i=>{"endpoint"in i&&r(11,l=i.endpoint),"lang"in i&&r(12,d=i.lang),"translationurl"in i&&r(13,g=i.translationurl),"clientstyling"in i&&r(0,P=i.clientstyling),"clientstylingurl"in i&&r(1,w=i.clientstylingurl),"session"in i&&r(14,k=i.session),"customerid"in i&&r(15,C=i.customerid),"playersession"in i&&r(16,D=i.playersession),"mbsource"in i&&r(17,v=i.mbsource)},n.$$.update=()=>{n.$$.dirty[0]&4096&&d&&X(),n.$$.dirty[0]&83968&&l&&k&&D&&E(),n.$$.dirty[0]&83968&&l&&!k&&D&&$(),n.$$.dirty[0]&8192&&g&&J(),n.$$.dirty[0]&5&&P&&_&&e.setClientStyling(),n.$$.dirty[0]&6&&w&&_&&e.setClientStylingURL(),n.$$.dirty[0]&262144&&h&&he(),n.$$.dirty[0]&131076&&v&&_&&e.setStreamStyling(_,`${v}.Style`)},[P,w,_,m,f,V,u,F,s,de,pe,l,d,g,k,C,D,v,h,me]}class K extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,Pe,ke,e.safe_not_equal,{endpoint:11,lang:12,translationurl:13,clientstyling:0,clientstylingurl:1,session:14,customerid:15,playersession:16,mbsource:17},ve,[-1,-1])}get endpoint(){return this.$$.ctx[11]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),e.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get session(){return this.$$.ctx[14]}set session(t){this.$$set({session:t}),e.flush()}get customerid(){return this.$$.ctx[15]}set customerid(t){this.$$set({customerid:t}),e.flush()}get playersession(){return this.$$.ctx[16]}set playersession(t){this.$$set({playersession:t}),e.flush()}get mbsource(){return this.$$.ctx[17]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(K,{endpoint:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},session:{},customerid:{},playersession:{},mbsource:{}},[],[],!0);exports.default=K;
@@ -1 +1 @@
1
- "use strict";const t=require("./CashierCarousel-D5kSWky0.cjs");function o(i){t.append_styles(i,"svelte-17lvd7j","svg.svelte-17lvd7j{flex:0 0 auto;width:18px;height:18px}")}function c(i){let e,a,r;return{c(){e=t.svg_element("svg"),a=t.svg_element("rect"),r=t.svg_element("path"),t.attr(a,"width","18"),t.attr(a,"height","18"),t.attr(a,"rx","9"),t.attr(a,"fill","#4A975C"),t.attr(a,"fill-opacity","0.29"),t.attr(r,"d","M12.5 7L8.11111 12L5 8.5"),t.attr(r,"stroke","#4A975C"),t.attr(r,"stroke-width","2"),t.attr(r,"stroke-linecap","round"),t.attr(r,"stroke-linejoin","round"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 18 18"),t.attr(e,"fill","none"),t.attr(e,"class","svelte-17lvd7j")},m(n,l){t.insert(n,e,l),t.append(e,a),t.append(e,r)},d(n){n&&t.detach(e)}}}function d(i){let e,a,r;return{c(){e=t.svg_element("svg"),a=t.svg_element("rect"),r=t.svg_element("path"),t.attr(a,"width","18"),t.attr(a,"height","18"),t.attr(a,"rx","9"),t.attr(a,"fill","#DD6617"),t.attr(a,"fill-opacity","0.3"),t.attr(r,"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.attr(r,"fill","#DD6617"),t.attr(r,"fill-opacity","0.831373"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 18 18"),t.attr(e,"fill","none"),t.attr(e,"class","svelte-17lvd7j")},m(n,l){t.insert(n,e,l),t.append(e,a),t.append(e,r)},d(n){n&&t.detach(e)}}}function h(i){let e,a,r,n;return{c(){e=t.svg_element("svg"),a=t.svg_element("rect"),r=t.svg_element("path"),n=t.svg_element("path"),t.attr(a,"width","18"),t.attr(a,"height","18"),t.attr(a,"rx","9"),t.attr(a,"fill","#F0A85F"),t.attr(a,"fill-opacity","0.3"),t.attr(r,"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.attr(r,"stroke","#F0A85F"),t.attr(r,"stroke-width","2"),t.attr(r,"stroke-linecap","round"),t.attr(r,"stroke-linejoin","round"),t.attr(n,"d","M9 6V9L11 10"),t.attr(n,"stroke","#F0A85F"),t.attr(n,"stroke-width","2"),t.attr(n,"stroke-linecap","round"),t.attr(n,"stroke-linejoin","round"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 18 18"),t.attr(e,"fill","none"),t.attr(e,"class","svelte-17lvd7j")},m(l,s){t.insert(l,e,s),t.append(e,a),t.append(e,r),t.append(e,n)},d(l){l&&t.detach(e)}}}function p(i){let e,a,r,n;return{c(){e=t.svg_element("svg"),a=t.svg_element("rect"),r=t.svg_element("path"),n=t.svg_element("path"),t.attr(a,"width","18"),t.attr(a,"height","18"),t.attr(a,"rx","9"),t.attr(a,"fill","#F35A23"),t.attr(a,"fill-opacity","0.29"),t.attr(r,"d","M12 6L6 12"),t.attr(r,"stroke","#F35A23"),t.attr(r,"stroke-width","2"),t.attr(r,"stroke-linecap","round"),t.attr(r,"stroke-linejoin","round"),t.attr(n,"d","M6 6L12 12"),t.attr(n,"stroke","#F35A23"),t.attr(n,"stroke-width","2"),t.attr(n,"stroke-linecap","round"),t.attr(n,"stroke-linejoin","round"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 18 18"),t.attr(e,"fill","none"),t.attr(e,"class","svelte-17lvd7j")},m(l,s){t.insert(l,e,s),t.append(e,a),t.append(e,r),t.append(e,n)},d(l){l&&t.detach(e)}}}function f(i){let e,a,r;return{c(){e=t.svg_element("svg"),a=t.svg_element("rect"),r=t.svg_element("path"),t.attr(a,"width","18"),t.attr(a,"height","18"),t.attr(a,"rx","9"),t.attr(a,"fill","#32B398"),t.attr(a,"fill-opacity","0.3"),t.attr(r,"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.attr(r,"fill","#32B398"),t.attr(r,"fill-opacity","0.831373"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 18 18"),t.attr(e,"fill","none"),t.attr(e,"class","svelte-17lvd7j")},m(n,l){t.insert(n,e,l),t.append(e,a),t.append(e,r)},d(n){n&&t.detach(e)}}}function u(i){let e;function a(l,s){if(l[0]==="Authorized")return f;if(l[0]==="Failed")return p;if(l[0]==="Pending")return h;if(l[0]==="Rejected")return d;if(l[0]==="Success")return c}let r=a(i),n=r&&r(i);return{c(){n&&n.c(),e=t.empty()},m(l,s){n&&n.m(l,s),t.insert(l,e,s)},p(l,[s]){r!==(r=a(l))&&(n&&n.d(1),n=r&&r(l),n&&(n.c(),n.m(e.parentNode,e)))},i:t.noop,o:t.noop,d(l){l&&t.detach(e),n&&n.d(l)}}}function v(i,e,a){let{status:r=""}=e;return i.$$set=n=>{"status"in n&&a(0,r=n.status)},[r]}class C extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,v,u,t.safe_not_equal,{status:0},o)}get status(){return this.$$.ctx[0]}set status(e){this.$$set({status:e}),t.flush()}}t.create_custom_element(C,{status:{}},[],[],!0);exports.TxnStatusIcon=C;
1
+ "use strict";const t=require("./CashierCarousel-CMOXxexR.cjs");function o(i){t.append_styles(i,"svelte-17lvd7j","svg.svelte-17lvd7j{flex:0 0 auto;width:18px;height:18px}")}function c(i){let e,a,r;return{c(){e=t.svg_element("svg"),a=t.svg_element("rect"),r=t.svg_element("path"),t.attr(a,"width","18"),t.attr(a,"height","18"),t.attr(a,"rx","9"),t.attr(a,"fill","#4A975C"),t.attr(a,"fill-opacity","0.29"),t.attr(r,"d","M12.5 7L8.11111 12L5 8.5"),t.attr(r,"stroke","#4A975C"),t.attr(r,"stroke-width","2"),t.attr(r,"stroke-linecap","round"),t.attr(r,"stroke-linejoin","round"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 18 18"),t.attr(e,"fill","none"),t.attr(e,"class","svelte-17lvd7j")},m(n,l){t.insert(n,e,l),t.append(e,a),t.append(e,r)},d(n){n&&t.detach(e)}}}function d(i){let e,a,r;return{c(){e=t.svg_element("svg"),a=t.svg_element("rect"),r=t.svg_element("path"),t.attr(a,"width","18"),t.attr(a,"height","18"),t.attr(a,"rx","9"),t.attr(a,"fill","#DD6617"),t.attr(a,"fill-opacity","0.3"),t.attr(r,"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.attr(r,"fill","#DD6617"),t.attr(r,"fill-opacity","0.831373"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 18 18"),t.attr(e,"fill","none"),t.attr(e,"class","svelte-17lvd7j")},m(n,l){t.insert(n,e,l),t.append(e,a),t.append(e,r)},d(n){n&&t.detach(e)}}}function h(i){let e,a,r,n;return{c(){e=t.svg_element("svg"),a=t.svg_element("rect"),r=t.svg_element("path"),n=t.svg_element("path"),t.attr(a,"width","18"),t.attr(a,"height","18"),t.attr(a,"rx","9"),t.attr(a,"fill","#F0A85F"),t.attr(a,"fill-opacity","0.3"),t.attr(r,"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.attr(r,"stroke","#F0A85F"),t.attr(r,"stroke-width","2"),t.attr(r,"stroke-linecap","round"),t.attr(r,"stroke-linejoin","round"),t.attr(n,"d","M9 6V9L11 10"),t.attr(n,"stroke","#F0A85F"),t.attr(n,"stroke-width","2"),t.attr(n,"stroke-linecap","round"),t.attr(n,"stroke-linejoin","round"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 18 18"),t.attr(e,"fill","none"),t.attr(e,"class","svelte-17lvd7j")},m(l,s){t.insert(l,e,s),t.append(e,a),t.append(e,r),t.append(e,n)},d(l){l&&t.detach(e)}}}function p(i){let e,a,r,n;return{c(){e=t.svg_element("svg"),a=t.svg_element("rect"),r=t.svg_element("path"),n=t.svg_element("path"),t.attr(a,"width","18"),t.attr(a,"height","18"),t.attr(a,"rx","9"),t.attr(a,"fill","#F35A23"),t.attr(a,"fill-opacity","0.29"),t.attr(r,"d","M12 6L6 12"),t.attr(r,"stroke","#F35A23"),t.attr(r,"stroke-width","2"),t.attr(r,"stroke-linecap","round"),t.attr(r,"stroke-linejoin","round"),t.attr(n,"d","M6 6L12 12"),t.attr(n,"stroke","#F35A23"),t.attr(n,"stroke-width","2"),t.attr(n,"stroke-linecap","round"),t.attr(n,"stroke-linejoin","round"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 18 18"),t.attr(e,"fill","none"),t.attr(e,"class","svelte-17lvd7j")},m(l,s){t.insert(l,e,s),t.append(e,a),t.append(e,r),t.append(e,n)},d(l){l&&t.detach(e)}}}function f(i){let e,a,r;return{c(){e=t.svg_element("svg"),a=t.svg_element("rect"),r=t.svg_element("path"),t.attr(a,"width","18"),t.attr(a,"height","18"),t.attr(a,"rx","9"),t.attr(a,"fill","#32B398"),t.attr(a,"fill-opacity","0.3"),t.attr(r,"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.attr(r,"fill","#32B398"),t.attr(r,"fill-opacity","0.831373"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 18 18"),t.attr(e,"fill","none"),t.attr(e,"class","svelte-17lvd7j")},m(n,l){t.insert(n,e,l),t.append(e,a),t.append(e,r)},d(n){n&&t.detach(e)}}}function u(i){let e;function a(l,s){if(l[0]==="Authorized")return f;if(l[0]==="Failed")return p;if(l[0]==="Pending")return h;if(l[0]==="Rejected")return d;if(l[0]==="Success")return c}let r=a(i),n=r&&r(i);return{c(){n&&n.c(),e=t.empty()},m(l,s){n&&n.m(l,s),t.insert(l,e,s)},p(l,[s]){r!==(r=a(l))&&(n&&n.d(1),n=r&&r(l),n&&(n.c(),n.m(e.parentNode,e)))},i:t.noop,o:t.noop,d(l){l&&t.detach(e),n&&n.d(l)}}}function v(i,e,a){let{status:r=""}=e;return i.$$set=n=>{"status"in n&&a(0,r=n.status)},[r]}class C extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,v,u,t.safe_not_equal,{status:0},o)}get status(){return this.$$.ctx[0]}set status(e){this.$$set({status:e}),t.flush()}}t.create_custom_element(C,{status:{}},[],[],!0);exports.TxnStatusIcon=C;
@@ -1,4 +1,4 @@
1
- import { S as f, b as u, s as p, f as w, c as v, G as d, e as a, k as h, r as g, l as o, P as r, o as t, E as k } from "./CashierCarousel-CfmPEPcN.js";
1
+ import { S as f, b as u, s as p, f as w, c as v, G as d, e as a, k as h, r as g, l as o, P as r, o as t, E as k } from "./CashierCarousel-B-m8nqex.js";
2
2
  function _(n) {
3
3
  v(n, "svelte-17lvd7j", "svg.svelte-17lvd7j{flex:0 0 auto;width:18px;height:18px}");
4
4
  }
@@ -1,4 +1,4 @@
1
- import { S as f, b as u, s as p, f as w, c as v, G as d, e as a, k as h, r as g, l as o, P as r, o as t, E as k } from "./CashierCarousel-CBJt8F6x.js";
1
+ import { S as f, b as u, s as p, f as w, c as v, G as d, e as a, k as h, r as g, l as o, P as r, o as t, E as k } from "./CashierCarousel-DnI5W6hp.js";
2
2
  function _(n) {
3
3
  v(n, "svelte-17lvd7j", "svg.svelte-17lvd7j{flex:0 0 auto;width:18px;height:18px}");
4
4
  }
@@ -1,4 +1,4 @@
1
- import { S as u, b as k, s as w, f as _, G as p, e as d, k as h, r as g, l as a, P as s, o as t, E as m } from "./CashierCarousel-CfmPEPcN.js";
1
+ import { S as u, b as k, s as w, f as _, G as p, e as d, k as h, r as g, l as a, P as s, o as t, E as m } from "./CashierCarousel-B-m8nqex.js";
2
2
  function y(c) {
3
3
  let e, o, r, i, n;
4
4
  return {
@@ -1,4 +1,4 @@
1
- import { S as u, b as k, s as w, f as _, G as p, e as d, k as h, r as g, l as a, P as s, o as t, E as m } from "./CashierCarousel-CBJt8F6x.js";
1
+ import { S as u, b as k, s as w, f as _, G as p, e as d, k as h, r as g, l as a, P as s, o as t, E as m } from "./CashierCarousel-DnI5W6hp.js";
2
2
  function y(c) {
3
3
  let e, o, r, i, n;
4
4
  return {
@@ -1 +1 @@
1
- "use strict";const t=require("./CashierCarousel-D5kSWky0.cjs");function d(s){let e,n,a,r,i;return{c(){e=t.svg_element("svg"),n=t.svg_element("rect"),a=t.svg_element("path"),r=t.svg_element("path"),i=t.svg_element("path"),t.attr(n,"width","24"),t.attr(n,"height","24"),t.attr(n,"rx","12"),t.attr(n,"fill","#F38123"),t.attr(n,"fill-opacity","0.29"),t.attr(a,"d","M16 8L8 16"),t.attr(a,"stroke","#F38123"),t.attr(a,"stroke-width","2"),t.attr(a,"stroke-linecap","round"),t.attr(a,"stroke-linejoin","round"),t.attr(r,"d","M16 18C17.1046 18 18 17.1046 18 16C18 14.8954 17.1046 14 16 14C14.8954 14 14 14.8954 14 16C14 17.1046 14.8954 18 16 18Z"),t.attr(r,"stroke","#F38123"),t.attr(r,"stroke-width","2"),t.attr(r,"stroke-linecap","round"),t.attr(r,"stroke-linejoin","round"),t.attr(i,"d","M8 10C9.10457 10 10 9.10457 10 8C10 6.89543 9.10457 6 8 6C6.89543 6 6 6.89543 6 8C6 9.10457 6.89543 10 8 10Z"),t.attr(i,"stroke","#F38123"),t.attr(i,"stroke-width","2"),t.attr(i,"stroke-linecap","round"),t.attr(i,"stroke-linejoin","round"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","24"),t.attr(e,"height","24"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"fill","none")},m(o,p){t.insert(o,e,p),t.append(e,n),t.append(e,a),t.append(e,r),t.append(e,i)},d(o){o&&t.detach(e)}}}function c(s){let e,n,a,r;return{c(){e=t.svg_element("svg"),n=t.svg_element("rect"),a=t.svg_element("path"),r=t.svg_element("path"),t.attr(n,"width","24"),t.attr(n,"height","24"),t.attr(n,"rx","12"),t.attr(n,"fill","#F35A23"),t.attr(n,"fill-opacity","0.28"),t.attr(a,"d","M12.5345 7.20005L7.20117 12L12.5345 16.8"),t.attr(a,"stroke","#F35A23"),t.attr(a,"stroke-width","2"),t.attr(a,"stroke-linecap","round"),t.attr(a,"stroke-linejoin","round"),t.attr(r,"d","M16.9773 12L7.86621 12"),t.attr(r,"stroke","#F35A23"),t.attr(r,"stroke-width","2"),t.attr(r,"stroke-linecap","round"),t.attr(r,"stroke-linejoin","round"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","24"),t.attr(e,"height","24"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"fill","none")},m(i,o){t.insert(i,e,o),t.append(e,n),t.append(e,a),t.append(e,r)},d(i){i&&t.detach(e)}}}function h(s){let e,n,a,r;return{c(){e=t.svg_element("svg"),n=t.svg_element("rect"),a=t.svg_element("path"),r=t.svg_element("path"),t.attr(n,"width","24"),t.attr(n,"height","24"),t.attr(n,"rx","12"),t.attr(n,"fill","#4A975C"),t.attr(n,"fill-opacity","0.29"),t.attr(a,"d","M11.6442 7.19999L16.9775 12L11.6442 16.8"),t.attr(a,"stroke","#4A975C"),t.attr(a,"stroke-width","2"),t.attr(a,"stroke-linecap","round"),t.attr(a,"stroke-linejoin","round"),t.attr(r,"d","M7.20041 12L16.3115 12"),t.attr(r,"stroke","#4A975C"),t.attr(r,"stroke-width","2"),t.attr(r,"stroke-linecap","round"),t.attr(r,"stroke-linejoin","round"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","24"),t.attr(e,"height","24"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"fill","none")},m(i,o){t.insert(i,e,o),t.append(e,n),t.append(e,a),t.append(e,r)},d(i){i&&t.detach(e)}}}function u(s){let e;function n(i,o){if(i[0]==="Deposit")return h;if(i[0]==="Withdraw")return c;if(i[0]==="TaxDeduction")return d}let a=n(s),r=a&&a(s);return{c(){r&&r.c(),e=t.empty()},m(i,o){r&&r.m(i,o),t.insert(i,e,o)},p(i,[o]){a!==(a=n(i))&&(r&&r.d(1),r=a&&a(i),r&&(r.c(),r.m(e.parentNode,e)))},i:t.noop,o:t.noop,d(i){i&&t.detach(e),r&&r.d(i)}}}function f(s,e,n){let{type:a=""}=e;return s.$$set=r=>{"type"in r&&n(0,a=r.type)},[a]}class l extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,f,u,t.safe_not_equal,{type:0})}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),t.flush()}}t.create_custom_element(l,{type:{}},[],[],!0);exports.TxnTypeIcons=l;
1
+ "use strict";const t=require("./CashierCarousel-CMOXxexR.cjs");function d(s){let e,n,a,r,i;return{c(){e=t.svg_element("svg"),n=t.svg_element("rect"),a=t.svg_element("path"),r=t.svg_element("path"),i=t.svg_element("path"),t.attr(n,"width","24"),t.attr(n,"height","24"),t.attr(n,"rx","12"),t.attr(n,"fill","#F38123"),t.attr(n,"fill-opacity","0.29"),t.attr(a,"d","M16 8L8 16"),t.attr(a,"stroke","#F38123"),t.attr(a,"stroke-width","2"),t.attr(a,"stroke-linecap","round"),t.attr(a,"stroke-linejoin","round"),t.attr(r,"d","M16 18C17.1046 18 18 17.1046 18 16C18 14.8954 17.1046 14 16 14C14.8954 14 14 14.8954 14 16C14 17.1046 14.8954 18 16 18Z"),t.attr(r,"stroke","#F38123"),t.attr(r,"stroke-width","2"),t.attr(r,"stroke-linecap","round"),t.attr(r,"stroke-linejoin","round"),t.attr(i,"d","M8 10C9.10457 10 10 9.10457 10 8C10 6.89543 9.10457 6 8 6C6.89543 6 6 6.89543 6 8C6 9.10457 6.89543 10 8 10Z"),t.attr(i,"stroke","#F38123"),t.attr(i,"stroke-width","2"),t.attr(i,"stroke-linecap","round"),t.attr(i,"stroke-linejoin","round"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","24"),t.attr(e,"height","24"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"fill","none")},m(o,p){t.insert(o,e,p),t.append(e,n),t.append(e,a),t.append(e,r),t.append(e,i)},d(o){o&&t.detach(e)}}}function c(s){let e,n,a,r;return{c(){e=t.svg_element("svg"),n=t.svg_element("rect"),a=t.svg_element("path"),r=t.svg_element("path"),t.attr(n,"width","24"),t.attr(n,"height","24"),t.attr(n,"rx","12"),t.attr(n,"fill","#F35A23"),t.attr(n,"fill-opacity","0.28"),t.attr(a,"d","M12.5345 7.20005L7.20117 12L12.5345 16.8"),t.attr(a,"stroke","#F35A23"),t.attr(a,"stroke-width","2"),t.attr(a,"stroke-linecap","round"),t.attr(a,"stroke-linejoin","round"),t.attr(r,"d","M16.9773 12L7.86621 12"),t.attr(r,"stroke","#F35A23"),t.attr(r,"stroke-width","2"),t.attr(r,"stroke-linecap","round"),t.attr(r,"stroke-linejoin","round"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","24"),t.attr(e,"height","24"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"fill","none")},m(i,o){t.insert(i,e,o),t.append(e,n),t.append(e,a),t.append(e,r)},d(i){i&&t.detach(e)}}}function h(s){let e,n,a,r;return{c(){e=t.svg_element("svg"),n=t.svg_element("rect"),a=t.svg_element("path"),r=t.svg_element("path"),t.attr(n,"width","24"),t.attr(n,"height","24"),t.attr(n,"rx","12"),t.attr(n,"fill","#4A975C"),t.attr(n,"fill-opacity","0.29"),t.attr(a,"d","M11.6442 7.19999L16.9775 12L11.6442 16.8"),t.attr(a,"stroke","#4A975C"),t.attr(a,"stroke-width","2"),t.attr(a,"stroke-linecap","round"),t.attr(a,"stroke-linejoin","round"),t.attr(r,"d","M7.20041 12L16.3115 12"),t.attr(r,"stroke","#4A975C"),t.attr(r,"stroke-width","2"),t.attr(r,"stroke-linecap","round"),t.attr(r,"stroke-linejoin","round"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","24"),t.attr(e,"height","24"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"fill","none")},m(i,o){t.insert(i,e,o),t.append(e,n),t.append(e,a),t.append(e,r)},d(i){i&&t.detach(e)}}}function u(s){let e;function n(i,o){if(i[0]==="Deposit")return h;if(i[0]==="Withdraw")return c;if(i[0]==="TaxDeduction")return d}let a=n(s),r=a&&a(s);return{c(){r&&r.c(),e=t.empty()},m(i,o){r&&r.m(i,o),t.insert(i,e,o)},p(i,[o]){a!==(a=n(i))&&(r&&r.d(1),r=a&&a(i),r&&(r.c(),r.m(e.parentNode,e)))},i:t.noop,o:t.noop,d(i){i&&t.detach(e),r&&r.d(i)}}}function f(s,e,n){let{type:a=""}=e;return s.$$set=r=>{"type"in r&&n(0,a=r.type)},[a]}class l extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,f,u,t.safe_not_equal,{type:0})}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),t.flush()}}t.create_custom_element(l,{type:{}},[],[],!0);exports.TxnTypeIcons=l;
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierPage-CRr4WELR.cjs")).then(({default:t})=>{!customElements.get("cashier-page")&&customElements.define("cashier-page",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierPage-D-eVQ9Pj.cjs")).then(({default:t})=>{!customElements.get("cashier-page")&&customElements.define("cashier-page",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CashierPage-D3wSp1F6.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CashierPage-BmQ1BWgO.js").then(({ default: t }) => {
14
14
  !customElements.get("cashier-page") && customElements.define("cashier-page", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as n } from "../components/CashierPage-CokXt1Bz.js";
1
+ import { C as n } from "../components/CashierPage-DO9rarmz.js";
2
2
  function a(t) {
3
3
  return function(...s) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/cashier-page",
3
- "version": "1.69.70",
3
+ "version": "1.69.71",
4
4
  "type": "module",
5
5
  "main": "es2015/cashier-page.cjs",
6
6
  "module": "esnext/cashier-page.js",
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierCarousel-D5kSWky0.cjs"),z=require("./CashierMethodDetails-D-yMmahK.cjs");require("./CashierIframeRedirect-BXHKd8sC.cjs");require("../stencil/ui-image-ByEXiBzx.cjs");require("../stencil/ui-skeleton-_yJvAdAL.cjs");function Ie(n,t){e.addMessages(n,t)}function kt(n){e.init({fallbackLocale:"en"}),e.$locale.set(n)}const ze={en:{loading:"Loading...",closeModal:"CLOSE",continueSession:"CONTINUE",refreshPage:"Try Again",sessionExpiredTitle:"Session Expired!",sessionExpiredText:"Your session has ended. We apologize for any inconvenience. Please click the button to continue.",maintenanceText:"Payment Methods are currently closed for scheduled maintenance.",maintenanceTitle:"We’ll Be Back Soon",setDepositLimit:"SET A DEPOSIT LIMIT",header:{deposit:"Deposit",withdraw:"Withdrawal"},deposit:{makeTxnButton:"DEPOSIT",confirmText:"You're going to deposit to your account",confirmTextWithAmount:"You're going to deposit {amount} to your account",confirmButton:"OK"},withdraw:{makeTxnButton:"WITHDRAW",confirmText:"You're going to withdraw from your account",confirmTextWithAmount:"You're going to withdraw {amount} from your account",confirmButton:"OK"}},hr:{loading:"Učitavanje",closeModal:"CLOSE",continueSession:"CONTINUE",sessionExpiredTitle:"Session Expired!",sessionExpiredText:"Your session has ended. We apologize for any inconvenience. Please click the button to continue.",maintenanceText:"We are down for a scheduled maintenance and expect to be back online in a few minutes",maintenanceTitle:"We’ll Be Back Soon",setDepositLimit:"POSTAVI OGRANIČENJE DEPOZITA",header:{deposit:"Uplata",withdraw:"Povlačenje"},deposit:{makeTxnButton:"DEPOSIT",confirmText:"You're going to deposit to your account",confirmTextWithAmount:"You're going to deposit {amount} to your account",confirmButton:"OK"},withdraw:{makeTxnButton:"WITHDRAW",confirmText:"You're going to withdraw from your account",confirmTextWithAmount:"You're going to withdraw {amount} from your account",confirmButton:"OK"}},tr:{loading:"Yükleniyor...",closeModal:"KAPAT",continueSession:"DEVAM ET",refreshPage:"Tekrar deneyin",sessionExpiredTitle:"Oturumun Süresi Doldu!",sessionExpiredText:"Oturumunuz sona erdi. Herhangi bir rahatsızlıktan dolayı özür dileriz. Devam etmek için lütfen butona tıklayın.",maintenanceText:"Ödeme Yöntemleri planlanmış bakım nedeniyle şu anda kapalı.",maintenanceTitle:"Yakında Geri Döneceğiz",setDepositLimit:"BİR PARA YATIRMA LİMİTİ AYARLA",header:{deposit:"Para Yatır",withdraw:"Çekim"},deposit:{makeTxnButton:"PARA YATIR",confirmText:"Hesabınıza yatırıyorsunuz",confirmTextWithAmount:"Hesabınıza {amount} yatırıyorsunuz",confirmButton:"PARA YATIRMAYI ONAYLA"},withdraw:{makeTxnButton:"ÇEKIM",confirmText:"Hesabınızdan çekiyorsunuz",confirmTextWithAmount:"Hesabınıza {amount} yatırıyorsunuz",confirmButton:"PARA ÇEKIMINI ONAYLA"}}};var xe=(n=>(n.Deposit="Deposit",n.Withdraw="Withdraw",n))(xe||{}),$e=(n=>(n.Desktop="Desktop",n.Mobile="Mobile",n.NativeApp="NativeApp",n))($e||{}),R=(n=>(n.PlayerSessionIsNotValid="PlayerSessionIsNotValid",n.Success="Success",n.JwtTokenError="JwtTokenError",n.Maintenance="Maintenance",n.InvalidSession="InvalidSession",n))(R||{}),et=(n=>(n[n.InvalidSession=1]="InvalidSession",n))(et||{});let X=0,K=0,x=!1,Ct=50,re=window.innerWidth,E,k,tt,N=!1,Y=null;const St=(n,t,s,i)=>{E=n,k=t,tt=s,N=i},Mt=()=>{nt(),N?(E.style.transform="translate3d(0, 0, 0)",k.style.transform="translate3d(100vw, 0, 0)",k.classList.add("Visible"),E.classList.add("DetailsOpen"),E.style.transition="transform 0.3s ease",k.style.transition="transform 0.3s ease",requestAnimationFrame(()=>{E.style.transform="translate3d(-100vw, 0, 0)",k.style.transform="translate3d(0, 0, 0)",E.style.display="none"}),setTimeout(()=>{Tt()},300)):(k.classList.add("Visible"),E.classList.add("Shrink"),k.style.transition="transform 0.8s")},st=()=>{nt(),N?(E.style.transition="transform 0.3s ease",k.style.transition="transform 0.3s ease",E.style.transform="translate3d(0, 0, 0)",k.style.transform="translate3d(100vw, 0, 0)",setTimeout(()=>{k.classList.remove("Visible"),E.classList.remove("DetailsOpen"),k.style.transition="none",E.style.transition="none",k.removeAttribute("style"),E.removeAttribute("style")},300)):(k.classList.remove("Visible"),k.style.transition="none",E.style.transition="none",k.removeAttribute("style"),E.removeAttribute("style"),E.classList.remove("Shrink")),window.postMessage({type:"BackCashier"},window.location.href),Et()},nt=()=>{tt.scrollTop=0,document.body.scrollTop=0,document.documentElement.scrollTop=0},Tt=()=>{N&&(k.addEventListener("touchstart",it,{passive:!1}),k.addEventListener("touchmove",at,{passive:!1}),k.addEventListener("touchend",ot,{passive:!1}))},Et=()=>{k.removeEventListener("touchstart",it),k.removeEventListener("touchmove",at),k.removeEventListener("touchend",ot),Y&&(clearTimeout(Y),Y=null)},it=n=>{N&&(X=n.touches[0].clientX,K=X,x=!1,E.style.transition="none",k.style.transition="none")},at=n=>{if(!N)return;K=n.touches[0].clientX;const t=K-X;if(t>0){x=!0,n.preventDefault();const i=Math.min(t,re),a=-re+i;E.style.transform=`translate3d(${a}px, 0, 0)`,k.style.transform=`translate3d(${i}px, 0, 0)`,E.style.display="block"}},ot=n=>{if(!N)return;const t=K-X,s=Math.abs(t)/300;E.style.transition="transform 0.3s ease",k.style.transition="transform 0.3s ease";const i=t>Ct||t>re*.3||s>.5;x&&(i?st():(E.style.transform="translate3d(-100vw, 0, 0)",k.style.transform="translate3d(0, 0, 0)",E.style.display="none")),x=!1,X=0,K=0,Y&&clearTimeout(Y),Y=setTimeout(()=>{k.classList.contains("Visible")||(E.style.transform="",k.style.transform="")},300)};if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CashierCarousel-D5kSWky0.cjs")).then(t=>t.CashierCarousel_ce).then(({default:t})=>{!customElements.get("cashier-carousel")&&customElements.define("cashier-carousel",t.element)})}if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CashierVerifications-DCnW6JT6.cjs")).then(({default:t})=>{!customElements.get("cashier-verifications")&&customElements.define("cashier-verifications",t.element)})}if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CashierMethodsList-DSEMnW8P.cjs")).then(({default:t})=>{!customElements.get("cashier-methods-list")&&customElements.define("cashier-methods-list",t.element)})}if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CashierMethodDetails-D-yMmahK.cjs")).then(t=>t.CashierMethodDetails_ce).then(({default:t})=>{!customElements.get("cashier-method-details")&&customElements.define("cashier-method-details",t.element)})}if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CashierIframeRedirect-BXHKd8sC.cjs")).then(({default:t})=>{!customElements.get("cashier-iframe-redirect")&&customElements.define("cashier-iframe-redirect",t.element)})}if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CashierSessionExpirationModal-DpWXu2Pn.cjs")).then(({default:t})=>{!customElements.get("cashier-session-expiration-modal")&&customElements.define("cashier-session-expiration-modal",t.element)})}if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CashierTransactionHistory-ByijXCaI.cjs")).then(({default:t})=>{!customElements.get("cashier-transaction-history")&&customElements.define("cashier-transaction-history",t.element)})}function Lt(n){e.append_styles(n,"svelte-j168x5",":host{display:block}.PaymentMethodsSkeleton{max-width:400px;margin:0 auto;background:var(--emw--color-background, #23281F);padding:10px;position:absolute;top:0;left:0;height:100Vh;z-index:20000}.SkeletonTitle{height:18px;width:60%;border-radius:6px;margin:10px auto 12px}.SkeletonSubtitle{height:12px;width:80%;border-radius:4px;margin:0 auto 20px}.SkeletonFavoriteSection{margin-bottom:20px}.SkeletonSectionTitle{height:16px;width:45%;border-radius:4px;margin-bottom:6px}.SkeletonSectionSubtitle{height:12px;width:70%;border-radius:4px;margin-bottom:16px}.SkeletonMethodsGrid{display:flex;overflow:hidden;gap:12px;margin-bottom:16px;justify-content:center;align-items:center}.SkeletonMethodCard{background:linear-gradient(165deg, color-mix(in srgb, var(--emw--color-primary, #FFCE00) 30%, transparent) 5%, color-mix(in srgb, var(--emw--color-background) 90%, transparent) 60%);box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.05);border-radius:8px;padding:16px;display:flex;flex-direction:column;gap:10px;height:190px;min-width:100px}.SkeletonMethodCard.Main{height:220px;min-width:130px}.SkeletonMethodIcon{width:32px;height:32px;border-radius:6px;margin-bottom:4px}.SkeletonMethodName{height:16px;width:75%;border-radius:4px}.SkeletonMethodType{height:12px;width:60%;border-radius:3px}.SkeletonMethodLimits{height:10px;width:85%;border-radius:3px;margin-top:auto}.SkeletonPagination{display:flex;justify-content:center;gap:6px;margin-bottom:20px}.SkeletonDot{width:8px;height:8px;border-radius:50%}.SkeletonOtherMethodsGrid{display:grid;grid-template-columns:repeat(3, 1fr);gap:12px}.SkeletonOtherMethodCard{background:linear-gradient(165deg, color-mix(in srgb, var(--emw--color-white, #ffffff) 30%, transparent) 5%, color-mix(in srgb, var(--emw--color-background) 90%, transparent) 60%);border-radius:8px;padding:12px;display:flex;flex-direction:column;align-items:center;gap:10px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.05);height:135px}.SkeletonOtherMethodIcon{width:24px;height:24px;border-radius:4px}.SkeletonOtherMethodName{height:14px;width:70%;border-radius:3px}.SkeletonOtherMethodLimits{height:10px;width:85%;border-radius:3px}.SkeletonBadge{height:16px;width:40px;border-radius:8px;margin-top:auto}.shimmer{background:linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.05) 100%);background-size:200% 100%;animation:shimmer 1.5s infinite}@keyframes shimmer{0%{background-position:-200% 0}100%{background-position:200% 0}}.BlockFormattingContext{width:100%;height:100%;position:relative;background:var(--emw--color-background, #23281F)}.ImagePlaceholder{width:auto;height:300px;background:#E6E6E6}.DepositLimitButton{font-size:12px;width:100%;display:flex;justify-content:center;align-items:center;margin:10px auto}.DepositLimitButton img{height:16px;width:16px;margin:0 10px}.DepositLimitButton button{padding:10px 0;width:100%;background-color:transparent;color:var(--emw--color-primary, #F9C405);border-radius:10px;border:2px solid var(--emw--color-primary, #F9C405)}.ListAndDetailsContainer{position:relative;display:flex;flex-direction:row;justify-content:center;width:100%;height:100%;scrollbar-width:none;-ms-overflow-style:none}.ListAndDetailsContainer::-webkit-scrollbar{display:none}@keyframes loading-spinner{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.DisablePage{container-type:inline-size;container-name:confirm-modal;position:absolute;width:100%;height:100%;z-index:4;top:0;left:0;background-color:transparent}.BonusModalContent{display:flex;flex-direction:column;margin:20px 0;color:var(--emw--color-typography, #fff)}.BonusModalContent .CashierBonusModalTitle{font-weight:bold}.BonusModalContent .CashierBonusModalText{padding-top:10px}.BonusModalContent .CashierBonusModalURL{padding-top:10px}.BonusModalContent .CashierBonusModalURL a{text-decoration:none;color:var(--emw--color-primary, #c3c3c3)}.CashierPageWidget{container-type:inline-size;container-name:deposit-page;height:var(--emw-cashier-page-height, var(--emw-cashier-page-height, 100%));position:relative;box-sizing:border-box;background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281F))}.CashierPageWidget:has(.Header){background-color:var(--emw--color-background, #F9FAFF);box-sizing:border-box}.CashierPageWidget:has(.Header) .IframeRedirect{border-radius:6px}.CashierPageWidget:has(.Header) .Content,.CashierPageWidget:has(.Header) .CashierPage,.CashierPageWidget:has(.Header) .DisablePage{height:calc(100% - var(--emw--header-height, 40px))}.CashierPageWidget:has(.Header) .DisablePage{top:var(--emw--header-height, 40px)}.CashierPageWidget:has(.Header) cashier-error{display:block;overflow-y:auto;scrollbar-gutter:stable both-edges;height:calc(100% - var(--emw--header-height, 40px))}.CashierVerificationsMobile{display:none}.CashierVerificationsMethodList{display:block;border-radius:var(--emw--border-radius-medium-plus, 6px)}.Content{height:100%;position:relative}.CashierMethodListWrapper{height:100%;box-sizing:border-box;scrollbar-gutter:stable both-edges;display:flex;flex-direction:column}.CashierMethodListWrapper::-webkit-scrollbar{border-right:none}.CashierMethodListWrapper.WithoutScroll{overflow:hidden}.BothSections .CashierMethodDetailsWrapper{height:100%;box-sizing:border-box;scrollbar-gutter:stable both-edges;padding:10px;justify-content:center;background-color:var(--emw--color-background, #F9FAFF)}.BothSections .CashierMethodDetailsWrapper.Visible{transform:translate3d(0, 0, 0)}.BothSections .CashierMethodListWrapper::-webkit-scrollbar{border-right:1px solid var(--emw--color-gray-100, #E0E0E0)}.CashierPage{position:relative;display:flex;flex-direction:column;background-color:var(--emw--color-background, #F9FAFF)}.CashierPage::-webkit-scrollbar{display:none}cashier-iframe-redirect{height:inherit;width:inherit}cashier-error{height:inherit}.IframeRedirect{display:flex;position:absolute;align-items:center;justify-content:center;width:100%;height:100%;z-index:4;top:0;left:0;background-color:var(--emw--color-white, #FFF)}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 12px);line-height:130%;text-align:center}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorButtonWrapper{width:100%}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, #000000);text-align:center;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:125%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img,.CashierErrorIcon ui-image img{width:300px}.CashierMethodListWrapper{flex:1}.CashierMethodListWrapper.Shrink{flex:0.5;padding:0 10px}.CashierMethodDetailsWrapper{flex:0}.CashierMethodDetailsWrapper.Visible{flex:0.5}.MobileView .CashierVerificationsMobile{display:block}.MobileView .CashierVerificationsMethodList{display:none}@container deposit-page (max-width:750px){.CashierPage,.BothSections .CashierPage{flex-direction:column;justify-content:flex-start;gap:0;position:relative;height:100%}.CashierPage ::-webkit-scrollbar,.BothSections .CashierPage ::-webkit-scrollbar{display:none}.CashierPage cashier-methods-list,.CashierPage cashier-method-details,.CashierPage .CashierMethodDetailsWrapper,.BothSections .CashierPage cashier-methods-list,.BothSections .CashierPage cashier-method-details,.BothSections .CashierPage .CashierMethodDetailsWrapper{width:100%;height:max-content}.CashierPageWidget.FixedHeight{--emw-cashier-page-height-padding:65px;height:var(--emw-cashier-page-height, calc(var(--emw-cashier-page-height, 100%) - var(--emw-cashier-page-height-padding)))}.CashierMethodListWrapper.DetailsOpen{transform:translate3d(-100vw, 0, 0);flex:1}.CashierMethodDetailsWrapper{position:absolute;top:0;left:0;right:0;bottom:0;transform:translate3d(100vw, 0, 0);background-color:var(--emw--color-background, var(--emw--color-white, #ffffff))}.CashierMethodDetailsWrapper.Visible{transform:translate3d(0, 0, 0)}}.ModalCloseBtn{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:var(--emw--spacing-small, 12px) var(--emw--spacing-small, 12px);height:inherit;right:0;top:0;cursor:pointer}.ModalOkButton{color:var(--emw--color-black, #000000);display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-normal, 400);font-family:inherit;height:46px;width:100%;border:none;border-radius:10px;line-height:125%;text-transform:capitalize;background-color:var(--emw--color-primary, #F9C405);margin-top:var(--emw--spacing-small, 12px);cursor:pointer}.CashierConfirmModalText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:var(--emw--font-size-medium, 16px);align-self:center}.ModalContentContainer{height:100%;width:100%;display:flex;flex-direction:column;gap:20px;margin-top:20px}.CashierVideoWrapper{position:relative;display:flex;justify-content:center;align-items:center;width:100%;height:100%;left:0;top:0;z-index:8}.CashierVideo{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.CashierVideo video{object-fit:contain;width:100%;height:90%;justify-self:center}@container (max-width: 475px){.CashierVideo{position:relative;top:10px}}::-webkit-scrollbar{width:4px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--emw--color-grey-105, #E8E9EB)}::-webkit-scrollbar-thumb:hover{background:var(--emw--color-grey-290, #666)}")}function He(n){let t;return{c(){t=e.element("div"),t.innerHTML='<div class="SkeletonTitle shimmer"></div> <div class="SkeletonSubtitle shimmer"></div> <div class="SkeletonFavoriteSection"><div class="SkeletonMethodsGrid"><div class="SkeletonMethodCard"><div class="SkeletonMethodIcon shimmer"></div> <div class="SkeletonMethodName shimmer"></div> <div class="SkeletonMethodType shimmer"></div> <div class="SkeletonMethodLimits shimmer"></div></div> <div class="SkeletonMethodCard Main"><div class="SkeletonMethodIcon shimmer"></div> <div class="SkeletonMethodName shimmer"></div> <div class="SkeletonMethodType shimmer"></div> <div class="SkeletonMethodLimits shimmer"></div></div> <div class="SkeletonMethodCard"><div class="SkeletonMethodIcon shimmer"></div> <div class="SkeletonMethodName shimmer"></div> <div class="SkeletonMethodType shimmer"></div> <div class="SkeletonMethodLimits shimmer"></div></div></div> <div class="SkeletonPagination"><div class="SkeletonDot shimmer"></div> <div class="SkeletonDot shimmer"></div> <div class="SkeletonDot shimmer"></div></div></div> <div class="SkeletonSectionTitle shimmer"></div> <div class="SkeletonSectionSubtitle shimmer"></div> <div class="SkeletonOtherMethodsGrid"><div class="SkeletonOtherMethodCard"><div class="SkeletonOtherMethodIcon shimmer"></div> <div class="SkeletonOtherMethodName shimmer"></div> <div class="SkeletonOtherMethodLimits shimmer"></div> <div class="SkeletonBadge shimmer"></div></div> <div class="SkeletonOtherMethodCard"><div class="SkeletonOtherMethodIcon shimmer"></div> <div class="SkeletonOtherMethodName shimmer"></div> <div class="SkeletonOtherMethodLimits shimmer"></div> <div class="SkeletonBadge shimmer"></div></div> <div class="SkeletonOtherMethodCard"><div class="SkeletonOtherMethodIcon shimmer"></div> <div class="SkeletonOtherMethodName shimmer"></div> <div class="SkeletonOtherMethodLimits shimmer"></div> <div class="SkeletonBadge shimmer"></div></div> <div class="SkeletonOtherMethodCard"><div class="SkeletonOtherMethodIcon shimmer"></div> <div class="SkeletonOtherMethodName shimmer"></div> <div class="SkeletonOtherMethodLimits shimmer"></div> <div class="SkeletonBadge shimmer"></div></div> <div class="SkeletonOtherMethodCard"><div class="SkeletonOtherMethodIcon shimmer"></div> <div class="SkeletonOtherMethodName shimmer"></div> <div class="SkeletonOtherMethodLimits shimmer"></div> <div class="SkeletonBadge shimmer"></div></div> <div class="SkeletonOtherMethodCard"><div class="SkeletonOtherMethodIcon shimmer"></div> <div class="SkeletonOtherMethodName shimmer"></div> <div class="SkeletonOtherMethodLimits shimmer"></div> <div class="SkeletonBadge shimmer"></div></div></div>',e.attr(t,"class","PaymentMethodsSkeleton")},m(s,i){e.insert(s,t,i)},d(s){s&&e.detach(t)}}}function Ne(n){let t;return{c(){t=e.element("div"),e.attr(t,"class","DisablePage")},m(s,i){e.insert(s,t,i)},d(s){s&&e.detach(t)}}}function Fe(n){let t,s,i,a=!!n[10]&&n[10]!=="false"&&Re(n),r=n[42]&&n[46]===n[39].Default&&!n[34]&&!n[35]&&Ye(n),m=!!n[15]&&n[15]!=="false"&&Ve(n);return{c(){a&&a.c(),t=e.space(),r&&r.c(),s=e.space(),m&&m.c(),i=e.empty()},m(l,c){a&&a.m(l,c),e.insert(l,t,c),r&&r.m(l,c),e.insert(l,s,c),m&&m.m(l,c),e.insert(l,i,c)},p(l,c){l[10]&&l[10]!=="false"?a?a.p(l,c):(a=Re(l),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null),l[42]&&l[46]===l[39].Default&&!l[34]&&!l[35]?r?r.p(l,c):(r=Ye(l),r.c(),r.m(s.parentNode,s)):r&&(r.d(1),r=null),l[15]&&l[15]!=="false"?m?m.p(l,c):(m=Ve(l),m.c(),m.m(i.parentNode,i)):m&&(m.d(1),m=null)},d(l){l&&(e.detach(t),e.detach(s),e.detach(i)),a&&a.d(l),r&&r.d(l),m&&m.d(l)}}}function Re(n){let t;return{c(){t=e.element("cashier-header"),e.set_custom_element_data(t,"class","Header"),e.set_custom_element_data(t,"lang",n[2]),e.set_custom_element_data(t,"translationurl",n[4]),e.set_custom_element_data(t,"clientstylingurl",n[13]),e.set_custom_element_data(t,"title",n[47]),e.set_custom_element_data(t,"clientstyling",n[12]),e.set_custom_element_data(t,"showbackbutton",n[48]),e.set_custom_element_data(t,"showclosebutton",n[18])},m(s,i){e.insert(s,t,i)},p(s,i){i[0]&4&&e.set_custom_element_data(t,"lang",s[2]),i[0]&16&&e.set_custom_element_data(t,"translationurl",s[4]),i[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",s[13]),i[1]&65536&&e.set_custom_element_data(t,"title",s[47]),i[0]&4096&&e.set_custom_element_data(t,"clientstyling",s[12]),i[1]&131072&&e.set_custom_element_data(t,"showbackbutton",s[48]),i[0]&262144&&e.set_custom_element_data(t,"showclosebutton",s[18])},d(s){s&&e.detach(t)}}}function Ye(n){let t,s;return{c(){t=e.element("div"),s=e.element("cashier-iframe-redirect"),e.set_custom_element_data(s,"lang",n[2]),e.set_custom_element_data(s,"translationurl",n[4]),e.set_custom_element_data(s,"title",n[47]),e.set_custom_element_data(s,"clientstylingurl",n[13]),e.set_custom_element_data(s,"clientstyling",n[12]),e.set_custom_element_data(s,"showbackbutton",n[10]),e.set_custom_element_data(s,"iframeurl",n[42]),e.attr(t,"class","IframeRedirect")},m(i,a){e.insert(i,t,a),e.append(t,s)},p(i,a){a[0]&4&&e.set_custom_element_data(s,"lang",i[2]),a[0]&16&&e.set_custom_element_data(s,"translationurl",i[4]),a[1]&65536&&e.set_custom_element_data(s,"title",i[47]),a[0]&8192&&e.set_custom_element_data(s,"clientstylingurl",i[13]),a[0]&4096&&e.set_custom_element_data(s,"clientstyling",i[12]),a[0]&1024&&e.set_custom_element_data(s,"showbackbutton",i[10]),a[1]&2048&&e.set_custom_element_data(s,"iframeurl",i[42])},d(i){i&&e.detach(t)}}}function Ve(n){let t,s;return{c(){t=e.element("cashier-session-expiration-modal"),e.set_custom_element_data(t,"assetsurl",n[8]),e.set_custom_element_data(t,"translationurl",n[4]),e.set_custom_element_data(t,"clientstylingurl",n[13]),e.set_custom_element_data(t,"clientstyling",n[12]),e.set_custom_element_data(t,"lang",n[2]),e.set_custom_element_data(t,"local",n[3]),e.set_custom_element_data(t,"endpoint",n[0]),e.set_custom_element_data(t,"currency",n[6]),e.set_custom_element_data(t,"customerid",n[5]),e.set_custom_element_data(t,"selectedpaymentmethodname",s=n[40].Name)},m(i,a){e.insert(i,t,a)},p(i,a){a[0]&256&&e.set_custom_element_data(t,"assetsurl",i[8]),a[0]&16&&e.set_custom_element_data(t,"translationurl",i[4]),a[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",i[13]),a[0]&4096&&e.set_custom_element_data(t,"clientstyling",i[12]),a[0]&4&&e.set_custom_element_data(t,"lang",i[2]),a[0]&8&&e.set_custom_element_data(t,"local",i[3]),a[0]&1&&e.set_custom_element_data(t,"endpoint",i[0]),a[0]&64&&e.set_custom_element_data(t,"currency",i[6]),a[0]&32&&e.set_custom_element_data(t,"customerid",i[5]),a[1]&512&&s!==(s=i[40].Name)&&e.set_custom_element_data(t,"selectedpaymentmethodname",s)},d(i){i&&e.detach(t)}}}function Dt(n){let t,s,i=!n[35]&&je(n);function a(l,c){return l[35]===R.JwtTokenError?Ot:l[35]===R.Maintenance?Wt:Bt}let r=a(n),m=r(n);return{c(){t=e.element("cashier-error"),i&&i.c(),s=e.space(),m.c(),e.set_custom_element_data(t,"lang",n[2]),e.set_custom_element_data(t,"assetsurl",n[8]),e.set_custom_element_data(t,"translationurl",n[4]),e.set_custom_element_data(t,"clientstylingurl",n[13]),e.set_custom_element_data(t,"clientstyling",n[12]),e.set_custom_element_data(t,"errorcode",n[35])},m(l,c){e.insert(l,t,c),i&&i.m(t,null),e.append(t,s),m.m(t,null)},p(l,c){l[35]?i&&(i.d(1),i=null):i?i.p(l,c):(i=je(l),i.c(),i.m(t,s)),r===(r=a(l))&&m?m.p(l,c):(m.d(1),m=r(l),m&&(m.c(),m.m(t,null))),c[0]&4&&e.set_custom_element_data(t,"lang",l[2]),c[0]&256&&e.set_custom_element_data(t,"assetsurl",l[8]),c[0]&16&&e.set_custom_element_data(t,"translationurl",l[4]),c[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",l[13]),c[0]&4096&&e.set_custom_element_data(t,"clientstyling",l[12]),c[1]&16&&e.set_custom_element_data(t,"errorcode",l[35])},d(l){l&&e.detach(t),i&&i.d(),m.d()}}}function Pt(n){let t,s,i,a,r,m,l,c,d,h,f,u,p,_,C,b=n[53]&&Ue(n),w=!!n[16]&&n[16]!=="false"&&n[53]&&n[1]&&Ge(n),y=!!n[17]&&n[17]!=="false"&&Xe(n),S=n[53]&&Ke(n),M=n[53]&&Qe(n);function O(g,L){if(g[51]==="confirm")return Ft;if(g[51]==="error")return Nt;if(g[51]==="video")return Ht;if(g[51]==="bonusDescription")return zt}let T=O(n),v=T&&T(n);return{c(){t=e.element("div"),s=e.element("div"),i=e.element("div"),b&&b.c(),a=e.space(),w&&w.c(),r=e.space(),y&&y.c(),m=e.space(),S&&S.c(),c=e.space(),d=e.element("div"),M&&M.c(),f=e.space(),u=e.element("cashier-modal"),p=e.element("div"),v&&v.c(),e.attr(i,"class",l=n[50]!==V?"WithoutScroll CashierMethodListWrapper":"CashierMethodListWrapper"),e.attr(d,"class","CashierMethodDetailsWrapper"),e.attr(s,"class","ListAndDetailsContainer"),e.attr(t,"class","CashierPage"),e.attr(t,"style",h=n[49]?"display: none;":""),e.attr(p,"slot","content"),e.attr(p,"class","ModalContentContainer"),e.set_custom_element_data(u,"show",_=`${n[51]!=="closed"}`),e.set_custom_element_data(u,"modaltype",C=`${n[51]}`),e.set_custom_element_data(u,"clientstylingurl",n[13]),e.set_custom_element_data(u,"clientstyling",n[12]),e.set_custom_element_data(u,"mbsource",n[14])},m(g,L){e.insert(g,t,L),e.append(t,s),e.append(s,i),b&&b.m(i,null),e.append(i,a),w&&w.m(i,null),e.append(i,r),y&&y.m(i,null),e.append(i,m),S&&S.m(i,null),n[63](i),e.append(s,c),e.append(s,d),M&&M.m(d,null),n[64](d),n[65](t),e.insert(g,f,L),e.insert(g,u,L),e.append(u,p),v&&v.m(p,null)},p(g,L){g[53]?b?b.p(g,L):(b=Ue(g),b.c(),b.m(i,a)):b&&(b.d(1),b=null),g[16]&&g[16]!=="false"&&g[53]&&g[1]?w?w.p(g,L):(w=Ge(g),w.c(),w.m(i,r)):w&&(w.d(1),w=null),g[17]&&g[17]!=="false"?y?y.p(g,L):(y=Xe(g),y.c(),y.m(i,m)):y&&(y.d(1),y=null),g[53]?S?S.p(g,L):(S=Ke(g),S.c(),S.m(i,null)):S&&(S.d(1),S=null),L[1]&524288&&l!==(l=g[50]!==V?"WithoutScroll CashierMethodListWrapper":"CashierMethodListWrapper")&&e.attr(i,"class",l),g[53]?M?M.p(g,L):(M=Qe(g),M.c(),M.m(d,null)):M&&(M.d(1),M=null),L[1]&262144&&h!==(h=g[49]?"display: none;":"")&&e.attr(t,"style",h),T===(T=O(g))&&v?v.p(g,L):(v&&v.d(1),v=T&&T(g),v&&(v.c(),v.m(p,null))),L[1]&1048576&&_!==(_=`${g[51]!=="closed"}`)&&e.set_custom_element_data(u,"show",_),L[1]&1048576&&C!==(C=`${g[51]}`)&&e.set_custom_element_data(u,"modaltype",C),L[0]&8192&&e.set_custom_element_data(u,"clientstylingurl",g[13]),L[0]&4096&&e.set_custom_element_data(u,"clientstyling",g[12]),L[0]&16384&&e.set_custom_element_data(u,"mbsource",g[14])},d(g){g&&(e.detach(t),e.detach(f),e.detach(u)),b&&b.d(),w&&w.d(),y&&y.d(),S&&S.d(),n[63](null),M&&M.d(),n[64](null),n[65](null),v&&v.d()}}}function je(n){let t,s;return{c(){t=e.element("span"),s=e.text(n[34]),e.attr(t,"class","CashierErrorText"),e.attr(t,"slot","text")},m(i,a){e.insert(i,t,a),e.append(t,s)},p(i,a){a[1]&8&&e.set_data(s,i[34])},d(i){i&&e.detach(t)}}}function Bt(n){let t,s=n[54]("refreshPage")+"",i,a,r;return{c(){t=e.element("button"),i=e.text(s),e.attr(t,"slot","button"),e.attr(t,"class","CashierErrorButton")},m(m,l){e.insert(m,t,l),e.append(t,i),a||(r=e.listen(t,"click",n[55]),a=!0)},p(m,l){l[1]&8388608&&s!==(s=m[54]("refreshPage")+"")&&e.set_data(i,s)},d(m){m&&e.detach(t),a=!1,r()}}}function Wt(n){let t,s,i,a=n[54]("maintenanceTitle")+"",r,m,l,c=n[54]("maintenanceText")+"",d;function h(p,_){return p[8]?It:At}let f=h(n),u=f(n);return{c(){t=e.element("div"),u.c(),s=e.space(),i=e.element("span"),r=e.text(a),m=e.space(),l=e.element("span"),d=e.text(c),e.attr(t,"slot","icon"),e.attr(t,"class","CashierErrorIcon"),e.attr(i,"slot","title"),e.attr(i,"class","CashierErrorTitle"),e.attr(l,"slot","text"),e.attr(l,"class","CashierErrorText")},m(p,_){e.insert(p,t,_),u.m(t,null),e.insert(p,s,_),e.insert(p,i,_),e.append(i,r),e.insert(p,m,_),e.insert(p,l,_),e.append(l,d)},p(p,_){f===(f=h(p))&&u?u.p(p,_):(u.d(1),u=f(p),u&&(u.c(),u.m(t,null))),_[1]&8388608&&a!==(a=p[54]("maintenanceTitle")+"")&&e.set_data(r,a),_[1]&8388608&&c!==(c=p[54]("maintenanceText")+"")&&e.set_data(d,c)},d(p){p&&(e.detach(t),e.detach(s),e.detach(i),e.detach(m),e.detach(l)),u.d()}}}function Ot(n){let t,s,i,a=n[54]("sessionExpiredTitle")+"",r,m,l,c=n[54]("sessionExpiredText")+"",d,h,f,u=n[54]("continueSession")+"",p,_,C,b=n[8]&&qe(n);return{c(){t=e.element("div"),b&&b.c(),s=e.space(),i=e.element("span"),r=e.text(a),m=e.space(),l=e.element("span"),d=e.text(c),h=e.space(),f=e.element("button"),p=e.text(u),e.attr(t,"slot","icon"),e.attr(t,"class","CashierErrorIcon"),e.attr(i,"slot","title"),e.attr(i,"class","CashierErrorTitle"),e.attr(l,"slot","text"),e.attr(l,"class","CashierErrorText"),e.attr(f,"slot","button"),e.attr(f,"class","CashierErrorButton")},m(w,y){e.insert(w,t,y),b&&b.m(t,null),e.insert(w,s,y),e.insert(w,i,y),e.append(i,r),e.insert(w,m,y),e.insert(w,l,y),e.append(l,d),e.insert(w,h,y),e.insert(w,f,y),e.append(f,p),_||(C=e.listen(f,"click",n[55]),_=!0)},p(w,y){w[8]?b?b.p(w,y):(b=qe(w),b.c(),b.m(t,null)):b&&(b.d(1),b=null),y[1]&8388608&&a!==(a=w[54]("sessionExpiredTitle")+"")&&e.set_data(r,a),y[1]&8388608&&c!==(c=w[54]("sessionExpiredText")+"")&&e.set_data(d,c),y[1]&8388608&&u!==(u=w[54]("continueSession")+"")&&e.set_data(p,u)},d(w){w&&(e.detach(t),e.detach(s),e.detach(i),e.detach(m),e.detach(l),e.detach(h),e.detach(f)),b&&b.d(),_=!1,C()}}}function At(n){let t;return{c(){t=e.element("div"),e.attr(t,"class","ImagePlaceholder Maintenance")},m(s,i){e.insert(s,t,i)},p:e.noop,d(s){s&&e.detach(t)}}}function It(n){let t,s;return{c(){t=e.element("ui-image"),e.src_url_equal(t.src,s=`${n[8]}/maintenance.png`)||e.set_custom_element_data(t,"src",s),e.set_custom_element_data(t,"width","300px"),e.set_custom_element_data(t,"alt","error")},m(i,a){e.insert(i,t,a)},p(i,a){a[0]&256&&!e.src_url_equal(t.src,s=`${i[8]}/maintenance.png`)&&e.set_custom_element_data(t,"src",s)},d(i){i&&e.detach(t)}}}function qe(n){let t,s;return{c(){t=e.element("ui-image"),e.src_url_equal(t.src,s=`${n[8]}/session-expired-icon.png`)||e.set_custom_element_data(t,"src",s),e.set_custom_element_data(t,"width","300px"),e.set_custom_element_data(t,"alt","error")},m(i,a){e.insert(i,t,a)},p(i,a){a[0]&256&&!e.src_url_equal(t.src,s=`${i[8]}/session-expired-icon.png`)&&e.set_custom_element_data(t,"src",s)},d(i){i&&e.detach(t)}}}function Ue(n){let t;return{c(){t=e.element("cashier-carousel"),e.set_custom_element_data(t,"lang",n[2]),e.set_custom_element_data(t,"local",n[3]),e.set_custom_element_data(t,"currency",n[6]),e.set_custom_element_data(t,"currencydecimals",n[21]),e.set_custom_element_data(t,"currencysymbol",n[29]),e.set_custom_element_data(t,"currencyposition",n[30])},m(s,i){e.insert(s,t,i)},p(s,i){i[0]&4&&e.set_custom_element_data(t,"lang",s[2]),i[0]&8&&e.set_custom_element_data(t,"local",s[3]),i[0]&64&&e.set_custom_element_data(t,"currency",s[6]),i[0]&2097152&&e.set_custom_element_data(t,"currencydecimals",s[21]),i[0]&536870912&&e.set_custom_element_data(t,"currencysymbol",s[29]),i[0]&1073741824&&e.set_custom_element_data(t,"currencyposition",s[30])},d(s){s&&e.detach(t)}}}function Ge(n){let t;return{c(){t=e.element("cashier-verifications"),e.set_custom_element_data(t,"class","CashierVerificationsMethodList"),e.set_custom_element_data(t,"lang",n[2]),e.set_custom_element_data(t,"translationurl",n[4]),e.set_custom_element_data(t,"endpoint",n[0]),e.set_custom_element_data(t,"clientstylingurl",n[13]),e.set_custom_element_data(t,"clientstyling",n[12]),e.set_custom_element_data(t,"customerid",n[5]),e.set_custom_element_data(t,"playersession",n[1])},m(s,i){e.insert(s,t,i)},p(s,i){i[0]&4&&e.set_custom_element_data(t,"lang",s[2]),i[0]&16&&e.set_custom_element_data(t,"translationurl",s[4]),i[0]&1&&e.set_custom_element_data(t,"endpoint",s[0]),i[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",s[13]),i[0]&4096&&e.set_custom_element_data(t,"clientstyling",s[12]),i[0]&32&&e.set_custom_element_data(t,"customerid",s[5]),i[0]&2&&e.set_custom_element_data(t,"playersession",s[1])},d(s){s&&e.detach(t)}}}function Xe(n){let t,s;return{c(){t=e.element("div"),s=e.element("cashier-transaction-history"),e.set_custom_element_data(s,"lang",n[2]),e.set_custom_element_data(s,"translationurl",n[4]),e.set_custom_element_data(s,"endpoint",n[0]),e.set_custom_element_data(s,"customerid",n[5]),e.set_custom_element_data(s,"clientstylingurl",n[13]),e.set_custom_element_data(s,"clientstyling",n[12]),e.set_custom_element_data(s,"txncount",n[19]),e.set_custom_element_data(s,"session",n[1]),e.set_custom_element_data(s,"dateformat",n[23]),e.set_custom_element_data(s,"datetimeformat",n[24]),e.set_custom_element_data(s,"columns",n[22]),e.set_custom_element_data(s,"isshorttransactionhistory","true"),e.attr(t,"class","TransactionHistoryWrapper")},m(i,a){e.insert(i,t,a),e.append(t,s)},p(i,a){a[0]&4&&e.set_custom_element_data(s,"lang",i[2]),a[0]&16&&e.set_custom_element_data(s,"translationurl",i[4]),a[0]&1&&e.set_custom_element_data(s,"endpoint",i[0]),a[0]&32&&e.set_custom_element_data(s,"customerid",i[5]),a[0]&8192&&e.set_custom_element_data(s,"clientstylingurl",i[13]),a[0]&4096&&e.set_custom_element_data(s,"clientstyling",i[12]),a[0]&524288&&e.set_custom_element_data(s,"txncount",i[19]),a[0]&2&&e.set_custom_element_data(s,"session",i[1]),a[0]&8388608&&e.set_custom_element_data(s,"dateformat",i[23]),a[0]&16777216&&e.set_custom_element_data(s,"datetimeformat",i[24]),a[0]&4194304&&e.set_custom_element_data(s,"columns",i[22])},d(i){i&&e.detach(t)}}}function Ke(n){let t,s,i,a=n[9]==="Deposit"&&n[20]==="true"&&(!n[45]||!n[41])&&Je(n);return{c(){t=e.element("div"),s=e.element("cashier-methods-list"),i=e.space(),a&&a.c(),e.set_custom_element_data(s,"lang",n[2]),e.set_custom_element_data(s,"local",n[3]),e.set_custom_element_data(s,"translationurl",n[4]),e.set_custom_element_data(s,"endpoint",n[0]),e.set_custom_element_data(s,"customerid",n[5]),e.set_custom_element_data(s,"currency",n[6]),e.set_custom_element_data(s,"assetsurl",n[8]),e.set_custom_element_data(s,"ismobileview",n[41]),e.set_custom_element_data(s,"clientstylingurl",n[13]),e.set_custom_element_data(s,"clientstyling",n[12]),e.set_custom_element_data(s,"currencydecimals",n[21]),e.set_custom_element_data(s,"currencysymbol",n[29]),e.set_custom_element_data(s,"currencyposition",n[30]),e.set_custom_element_data(s,"numberofmethodsshown",n[11]),e.set_custom_element_data(s,"playersession",n[1]),e.attr(t,"class","MethodListWrapper")},m(r,m){e.insert(r,t,m),e.append(t,s),e.append(t,i),a&&a.m(t,null)},p(r,m){m[0]&4&&e.set_custom_element_data(s,"lang",r[2]),m[0]&8&&e.set_custom_element_data(s,"local",r[3]),m[0]&16&&e.set_custom_element_data(s,"translationurl",r[4]),m[0]&1&&e.set_custom_element_data(s,"endpoint",r[0]),m[0]&32&&e.set_custom_element_data(s,"customerid",r[5]),m[0]&64&&e.set_custom_element_data(s,"currency",r[6]),m[0]&256&&e.set_custom_element_data(s,"assetsurl",r[8]),m[1]&1024&&e.set_custom_element_data(s,"ismobileview",r[41]),m[0]&8192&&e.set_custom_element_data(s,"clientstylingurl",r[13]),m[0]&4096&&e.set_custom_element_data(s,"clientstyling",r[12]),m[0]&2097152&&e.set_custom_element_data(s,"currencydecimals",r[21]),m[0]&536870912&&e.set_custom_element_data(s,"currencysymbol",r[29]),m[0]&1073741824&&e.set_custom_element_data(s,"currencyposition",r[30]),m[0]&2048&&e.set_custom_element_data(s,"numberofmethodsshown",r[11]),m[0]&2&&e.set_custom_element_data(s,"playersession",r[1]),r[9]==="Deposit"&&r[20]==="true"&&(!r[45]||!r[41])?a?a.p(r,m):(a=Je(r),a.c(),a.m(t,null)):a&&(a.d(1),a=null)},d(r){r&&e.detach(t),a&&a.d()}}}function Je(n){let t,s,i,a=n[54]("setDepositLimit")+"",r,m,l,c=n[8]&&Ze(n);return{c(){t=e.element("div"),c&&c.c(),s=e.space(),i=e.element("button"),r=e.text(a),e.attr(t,"class","DepositLimitButton")},m(d,h){e.insert(d,t,h),c&&c.m(t,null),e.append(t,s),e.append(t,i),e.append(i,r),m||(l=e.listen(i,"click",n[56]),m=!0)},p(d,h){d[8]?c?c.p(d,h):(c=Ze(d),c.c(),c.m(t,s)):c&&(c.d(1),c=null),h[1]&8388608&&a!==(a=d[54]("setDepositLimit")+"")&&e.set_data(r,a)},d(d){d&&e.detach(t),c&&c.d(),m=!1,l()}}}function Ze(n){let t,s;return{c(){t=e.element("ui-image"),e.src_url_equal(t.src,s=`${n[8]}/set-limit-icon.svg`)||e.set_custom_element_data(t,"src",s),e.set_custom_element_data(t,"width","16px"),e.set_custom_element_data(t,"alt","")},m(i,a){e.insert(i,t,a)},p(i,a){a[0]&256&&!e.src_url_equal(t.src,s=`${i[8]}/set-limit-icon.svg`)&&e.set_custom_element_data(t,"src",s)},d(i){i&&e.detach(t)}}}function Qe(n){let t,s;return{c(){t=e.element("cashier-method-details"),e.set_custom_element_data(t,"lang",n[2]),e.set_custom_element_data(t,"local",n[3]),e.set_custom_element_data(t,"translationurl",n[4]),e.set_custom_element_data(t,"endpoint",n[0]),e.set_custom_element_data(t,"customerid",n[5]),e.set_custom_element_data(t,"currency",n[6]),e.set_custom_element_data(t,"amount",n[7]),e.set_custom_element_data(t,"assetsurl",n[8]),e.set_custom_element_data(t,"type",n[9]),e.set_custom_element_data(t,"clientstylingurl",n[13]),e.set_custom_element_data(t,"clientstyling",n[12]),e.set_custom_element_data(t,"currencydecimals",n[21]),e.set_custom_element_data(t,"currencysymbol",n[29]),e.set_custom_element_data(t,"currencyposition",n[30]),e.set_custom_element_data(t,"customsucceessbuttons",n[25]),e.set_custom_element_data(t,"customfailedbuttons",n[27]),e.set_custom_element_data(t,"custompendingbuttons",n[26]),e.set_custom_element_data(t,"skipconfirmation",n[28]),e.set_custom_element_data(t,"depositlimitbutton",n[20]),e.set_custom_element_data(t,"showbonuses",n[31]),e.set_custom_element_data(t,"ismobileview",n[41]),e.set_custom_element_data(t,"selectedpaymentmethodname",s=n[40].Name),e.set_custom_element_data(t,"playersession",n[1])},m(i,a){e.insert(i,t,a)},p(i,a){a[0]&4&&e.set_custom_element_data(t,"lang",i[2]),a[0]&8&&e.set_custom_element_data(t,"local",i[3]),a[0]&16&&e.set_custom_element_data(t,"translationurl",i[4]),a[0]&1&&e.set_custom_element_data(t,"endpoint",i[0]),a[0]&32&&e.set_custom_element_data(t,"customerid",i[5]),a[0]&64&&e.set_custom_element_data(t,"currency",i[6]),a[0]&128&&e.set_custom_element_data(t,"amount",i[7]),a[0]&256&&e.set_custom_element_data(t,"assetsurl",i[8]),a[0]&512&&e.set_custom_element_data(t,"type",i[9]),a[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",i[13]),a[0]&4096&&e.set_custom_element_data(t,"clientstyling",i[12]),a[0]&2097152&&e.set_custom_element_data(t,"currencydecimals",i[21]),a[0]&536870912&&e.set_custom_element_data(t,"currencysymbol",i[29]),a[0]&1073741824&&e.set_custom_element_data(t,"currencyposition",i[30]),a[0]&33554432&&e.set_custom_element_data(t,"customsucceessbuttons",i[25]),a[0]&134217728&&e.set_custom_element_data(t,"customfailedbuttons",i[27]),a[0]&67108864&&e.set_custom_element_data(t,"custompendingbuttons",i[26]),a[0]&268435456&&e.set_custom_element_data(t,"skipconfirmation",i[28]),a[0]&1048576&&e.set_custom_element_data(t,"depositlimitbutton",i[20]),a[1]&1&&e.set_custom_element_data(t,"showbonuses",i[31]),a[1]&1024&&e.set_custom_element_data(t,"ismobileview",i[41]),a[1]&512&&s!==(s=i[40].Name)&&e.set_custom_element_data(t,"selectedpaymentmethodname",s),a[0]&2&&e.set_custom_element_data(t,"playersession",i[1])},d(i){i&&e.detach(t)}}}function zt(n){let t,s,i=n[52].bonus.code+"",a,r,m,l=n[52].bonus.description+"",c,d,h,f,u=n[52].bonus.url+"",p,_,C,b,w,y=n[54](`${n[9].toLowerCase()}.confirmButton`)+"",S,M,O;return{c(){t=e.element("div"),s=e.element("span"),a=e.text(i),r=e.space(),m=e.element("span"),c=e.text(l),d=e.space(),h=e.element("span"),f=e.element("a"),p=e.text(u),C=e.space(),b=e.element("span"),w=e.element("button"),S=e.text(y),e.attr(s,"class","CashierBonusModalTitle"),e.attr(m,"class","CashierBonusModalText"),e.attr(f,"href",_=n[52].bonus.url),e.attr(h,"class","CashierBonusModalURL"),e.attr(t,"class","BonusModalContent"),e.attr(w,"class","ModalOkButton"),e.attr(b,"role","button")},m(T,v){e.insert(T,t,v),e.append(t,s),e.append(s,a),e.append(t,r),e.append(t,m),e.append(m,c),e.append(t,d),e.append(t,h),e.append(h,f),e.append(f,p),e.insert(T,C,v),e.insert(T,b,v),e.append(b,w),e.append(w,S),M||(O=e.listen(b,"click",n[57]),M=!0)},p(T,v){v[1]&2097152&&i!==(i=T[52].bonus.code+"")&&e.set_data(a,i),v[1]&2097152&&l!==(l=T[52].bonus.description+"")&&e.set_data(c,l),v[1]&2097152&&u!==(u=T[52].bonus.url+"")&&e.set_data(p,u),v[1]&2097152&&_!==(_=T[52].bonus.url)&&e.attr(f,"href",_),v[0]&512|v[1]&8388608&&y!==(y=T[54](`${T[9].toLowerCase()}.confirmButton`)+"")&&e.set_data(S,y)},d(T){T&&(e.detach(t),e.detach(C),e.detach(b)),M=!1,O()}}}function Ht(n){let t,s,i,a;return{c(){t=e.element("div"),s=e.element("video"),i=e.element("source"),e.src_url_equal(i.src,a=`${n[52].videoSrc}`)||e.attr(i,"src",a),s.controls=!0,e.attr(s,"controlslist","nodownload"),e.attr(s,"disablepictureinpicture",""),e.attr(t,"class","CashierVideo")},m(r,m){e.insert(r,t,m),e.append(t,s),e.append(s,i)},p(r,m){m[1]&2097152&&!e.src_url_equal(i.src,a=`${r[52].videoSrc}`)&&e.attr(i,"src",a)},d(r){r&&e.detach(t)}}}function Nt(n){let t,s,i,a=n[54]("closeModal")+"",r,m,l,c;return{c(){t=e.element("cashier-error"),s=e.element("div"),i=e.element("button"),r=e.text(a),e.attr(i,"class","CashierErrorButton"),e.attr(s,"slot","button"),e.attr(s,"class","CashierErrorButtonWrapper"),e.set_custom_element_data(t,"assetsurl",n[8]),e.set_custom_element_data(t,"translationurl",n[4]),e.set_custom_element_data(t,"clientstylingurl",n[13]),e.set_custom_element_data(t,"clientstyling",n[12]),e.set_custom_element_data(t,"lang",n[2]),e.set_custom_element_data(t,"errorcode",m=n[52].error)},m(d,h){e.insert(d,t,h),e.append(t,s),e.append(s,i),e.append(i,r),l||(c=e.listen(s,"click",n[57]),l=!0)},p(d,h){h[1]&8388608&&a!==(a=d[54]("closeModal")+"")&&e.set_data(r,a),h[0]&256&&e.set_custom_element_data(t,"assetsurl",d[8]),h[0]&16&&e.set_custom_element_data(t,"translationurl",d[4]),h[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",d[13]),h[0]&4096&&e.set_custom_element_data(t,"clientstyling",d[12]),h[0]&4&&e.set_custom_element_data(t,"lang",d[2]),h[1]&2097152&&m!==(m=d[52].error)&&e.set_custom_element_data(t,"errorcode",m)},d(d){d&&e.detach(t),l=!1,c()}}}function Ft(n){let t,s=(n[52].editedAmount&&!n[40].HideAmountField?n[54](`${n[9].toLowerCase()}.confirmTextWithAmount`,{values:{amount:e.formatCurrency(n[52].editedAmount,n[6])}}):n[54](`${n[9].toLowerCase()}.confirmText`))+"",i,a,r,m,l=n[54](`${n[9].toLowerCase()}.confirmButton`)+"",c,d,h;return{c(){t=e.element("span"),i=e.text(s),a=e.space(),r=e.element("span"),m=e.element("button"),c=e.text(l),e.attr(t,"class","CashierConfirmModalText"),e.attr(m,"class","ModalOkButton"),e.attr(r,"role","button")},m(f,u){e.insert(f,t,u),e.append(t,i),e.insert(f,a,u),e.insert(f,r,u),e.append(r,m),e.append(m,c),d||(h=e.listen(r,"click",n[58]),d=!0)},p(f,u){u[0]&576|u[1]&10486272&&s!==(s=(f[52].editedAmount&&!f[40].HideAmountField?f[54](`${f[9].toLowerCase()}.confirmTextWithAmount`,{values:{amount:e.formatCurrency(f[52].editedAmount,f[6])}}):f[54](`${f[9].toLowerCase()}.confirmText`))+"")&&e.set_data(i,s),u[0]&512|u[1]&8388608&&l!==(l=f[54](`${f[9].toLowerCase()}.confirmButton`)+"")&&e.set_data(c,l)},d(f){f&&(e.detach(t),e.detach(a),e.detach(r)),d=!1,h()}}}function Rt(n){let t,s,i,a,r,m,l,c=n[49]&&He(),d=n[43]&&Ne(),h=n[2]&&n[44]&&Fe(n);function f(_,C){return!_[34]&&!_[35]?Pt:Dt}let u=f(n),p=u(n);return{c(){t=e.element("div"),c&&c.c(),s=e.space(),i=e.element("div"),d&&d.c(),a=e.space(),h&&h.c(),r=e.space(),p.c(),e.attr(i,"class",m=n[45]?"CashierPageWidget BothSections":"CashierPageWidget"),e.add_render_callback(()=>n[66].call(i)),e.toggle_class(i,"MobileView",n[41]==="true"),e.toggle_class(i,"FixedHeight",n[50]!==V),e.attr(t,"class","BlockFormattingContext")},m(_,C){e.insert(_,t,C),c&&c.m(t,null),e.append(t,s),e.append(t,i),d&&d.m(i,null),e.append(i,a),h&&h.m(i,null),e.append(i,r),p.m(i,null),l=e.add_iframe_resize_listener(i,n[66].bind(i)),n[67](t)},p(_,C){_[49]?c||(c=He(),c.c(),c.m(t,s)):c&&(c.d(1),c=null),_[43]?d||(d=Ne(),d.c(),d.m(i,a)):d&&(d.d(1),d=null),_[2]&&_[44]?h?h.p(_,C):(h=Fe(_),h.c(),h.m(i,r)):h&&(h.d(1),h=null),u===(u=f(_))&&p?p.p(_,C):(p.d(1),p=u(_),p&&(p.c(),p.m(i,null))),C[1]&16384&&m!==(m=_[45]?"CashierPageWidget BothSections":"CashierPageWidget")&&e.attr(i,"class",m),C[1]&17408&&e.toggle_class(i,"MobileView",_[41]==="true"),C[1]&540672&&e.toggle_class(i,"FixedHeight",_[50]!==V)},i:e.noop,o:e.noop,d(_){_&&e.detach(t),c&&c.d(),d&&d.d(),h&&h.d(),p.d(),l(),n[67](null)}}}const V="100%";function Yt(n,t,s){let i,a;e.component_subscribe(n,z.xPaymentSessionToken,o=>s(53,i=o)),e.component_subscribe(n,e.$format,o=>s(54,a=o)),z.dayjs.extend(z.utc);var r;(function(o){o.Default="Default",o.RedirectWithRetry="Redirect"})(r||(r={}));const m=(o,[D,W])=>[...o,...Array.isArray(D)?[...D.map(P=>[P,W])]:[[D,W]]];new Map([[["Default",0],r.Default],[["Redirect",1],r.RedirectWithRetry]].reduce(m,[]));let{endpoint:l}=t,{session:c}=t,{lang:d="en"}=t,{local:h="en-US"}=t,{translationurl:f}=t,{successurl:u}=t,{failurl:p}=t,{cancelurl:_}=t,{customerid:C}=t,{currency:b}=t,{amount:w}=t,{assetsurl:y}=t,{type:S=xe.Deposit}=t,{channel:M=$e.Desktop}=t,{showheader:O="true"}=t,{numberofmethodsshown:T}=t,{clientstyling:v=""}=t,{clientstylingurl:g=""}=t,{mbsource:L=""}=t,{showsessionexpirationmodal:me="true"}=t,{showverifications:ce="true"}=t,{showtransactionhistory:de="false"}=t,{showclosebutton:ue="false"}=t,{txncount:he="3"}=t,{depositlimitbutton:_e="false"}=t,{currencydecimals:$="2"}=t,{transactionhistorycolumns:fe="Code,Date,Type,StatusIcon"}=t,{dateformat:pe="DD.MM.YYYY"}=t,{datetimeformat:ge="DD.MM.YYYY HH:mm:ss"}=t,{customsucceessbuttons:be=""}=t,{custompendingbuttons:we=""}=t,{customfailedbuttons:ye=""}=t,{skipconfirmation:ve=""}=t,{currencysymbol:ee="true"}=t,{currencyposition:te=""}=t,{showbonuses:ke="false"}=t,A={},I,J,Ce,se,Se,Z,F=!1,j,B,Me,ne,ie,Te=!0,ae=V,q,U,G,oe=window.navigator.userAgent,le="closed",Ee={};const rt=()=>{kt(d)};Object.keys(ze).forEach(o=>{Ie(o,ze[o])}),f||(Z=!0);const mt=()=>{let o=f;if(o)return fetch(o).then(D=>D.json()).then(D=>{Object.keys(D).forEach(W=>{Ie(W,D[W]),s(44,Z=!0)})}).catch(D=>{s(44,Z=!0),console.log(D)})},Le=()=>{s(45,F=!1),s(40,A={}),s(35,B=""),H()},De=()=>{z.xPaymentSessionToken.set(null);const o=new URL(`${l}/v2/player/${C}/payment/GetPaymentSession`),D=new Headers;D.append("accept","application/json"),D.append("Content-Type","application/json"),D.append("X-SessionId",`${c}`),D.append("X-Client-Request-Timestamp",z.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const W={method:"POST",mode:"cors",headers:D,body:JSON.stringify({Channel:M,Type:S,SuccessUrl:u,CancelUrl:_,FailUrl:p,Language:d,Tags:{UserAgent:window.navigator.userAgent,ProductType:"CashierWidget"}})};fetch(o,W).then(P=>P.json()).then(P=>{if(P.errorCode===et.InvalidSession){s(35,B=R.InvalidSession),window.postMessage({type:"DataLoading",isDataLoaded:!0}),Q();return}if(P.error){s(34,j=P.error),window.postMessage({type:"DataLoading",isDataLoaded:!0});return}if(P.ResponseCode!==R.Success){s(35,B=P.ResponseCode),window.postMessage({type:"DataLoading",isDataLoaded:!0}),Q();return}P.XPaymentSessionToken&&z.xPaymentSessionToken.set(P.XPaymentSessionToken),z.dispatchCustomEvent(S==="Deposit"?"deposit_started":"withdrawal_started",{userID:C,currency:b,time:new Date().toISOString()})}).catch(P=>{window.postMessage({type:"DataLoading",isDataLoaded:!0}),console.log(P)})},H=()=>{F&&e.isMobile(oe)&&!B?(s(47,ne=A.Label||A.Name),s(48,ie="true")):(s(47,ne=`header.${S.toLowerCase()}`),s(48,ie="false"))},ct=()=>{s(41,Ce=e.isMobile(oe)),H()},Pe=o=>{Be({Name:o.detail.Name,Label:o.detail.Label})},Be=o=>{Mt(),s(40,A.Name=o.Name,A),s(40,A.Label=o.Label,A),s(45,F=!0),H()},Q=()=>{window.postMessage({type:"ErrorResponseCode",errorResponseCode:B},window.location.href)},dt=()=>{let o=document.createElement("style");o.innerHTML=v,I.appendChild(o)},ut=()=>{let o=new URL(g),D=document.createElement("style");fetch(o.href).then(W=>W.text()).then(W=>{D.innerHTML=W,setTimeout(()=>{I.appendChild(D)},1),setTimeout(()=>{},500)})};e.onMount(()=>(e.initCurrencyFormatter(h,ee,te,$),window.addEventListener("selectPayMeth",Pe,!1),window.addEventListener("message",We,!1),window.addEventListener("modal-update",Oe),()=>{window.removeEventListener("selectPayMeth",Pe),window.removeEventListener("message",We),window.removeEventListener("modal-update",Oe)}));const ht=()=>{s(35,B=null),s(34,j=""),s(42,se=null),z.xPaymentSessionToken.set(null),Le(),Q(),De()},_t=()=>{window.postMessage({type:"Cashier:setDepositLimit"},window.location.href)},We=o=>{if(o.data)switch(o.data.type){case"ShowSessionError":s(34,j=o.data.error);break;case"ToggleDisableActionOnPage":s(43,Se=o.data.disable);break;case"ErrorResponseCode":s(35,B=o.data.errorResponseCode),H();break;case"RedirectInfo":s(42,se=o.data.redirectUrl),s(46,Me=o.data.redirectMode),H();break;case"SessionExpired":s(35,B=R.JwtTokenError),pt(),Q();break;case"BackCashier":case"HidePaymentDetails":F&&(s(45,F=!1),st(),Le()),H();break;case"SelectPayMeth":Be(o.data.details);break;case"DataLoading":const D=setTimeout(()=>{s(49,Te=!o.data.isDataLoaded),clearTimeout(D)},200);break}},Oe=o=>{s(51,le=o.detail.type),s(52,Ee=o.detail.data)},Ae=()=>{s(51,le="closed"),s(35,B="")},ft=()=>{window.postMessage({type:"ConfirmPayment"},window.location.href),Ae()},pt=(o=V)=>{s(50,ae=o),I.style.setProperty("--emw-cashier-page-height",ae)};function gt(o){e.binding_callbacks[o?"unshift":"push"](()=>{q=o,s(36,q)})}function bt(o){e.binding_callbacks[o?"unshift":"push"](()=>{U=o,s(37,U)})}function wt(o){e.binding_callbacks[o?"unshift":"push"](()=>{G=o,s(38,G)})}function yt(){J=this.clientWidth,s(33,J)}function vt(o){e.binding_callbacks[o?"unshift":"push"](()=>{I=o,s(32,I)})}return n.$$set=o=>{"endpoint"in o&&s(0,l=o.endpoint),"session"in o&&s(1,c=o.session),"lang"in o&&s(2,d=o.lang),"local"in o&&s(3,h=o.local),"translationurl"in o&&s(4,f=o.translationurl),"successurl"in o&&s(59,u=o.successurl),"failurl"in o&&s(60,p=o.failurl),"cancelurl"in o&&s(61,_=o.cancelurl),"customerid"in o&&s(5,C=o.customerid),"currency"in o&&s(6,b=o.currency),"amount"in o&&s(7,w=o.amount),"assetsurl"in o&&s(8,y=o.assetsurl),"type"in o&&s(9,S=o.type),"channel"in o&&s(62,M=o.channel),"showheader"in o&&s(10,O=o.showheader),"numberofmethodsshown"in o&&s(11,T=o.numberofmethodsshown),"clientstyling"in o&&s(12,v=o.clientstyling),"clientstylingurl"in o&&s(13,g=o.clientstylingurl),"mbsource"in o&&s(14,L=o.mbsource),"showsessionexpirationmodal"in o&&s(15,me=o.showsessionexpirationmodal),"showverifications"in o&&s(16,ce=o.showverifications),"showtransactionhistory"in o&&s(17,de=o.showtransactionhistory),"showclosebutton"in o&&s(18,ue=o.showclosebutton),"txncount"in o&&s(19,he=o.txncount),"depositlimitbutton"in o&&s(20,_e=o.depositlimitbutton),"currencydecimals"in o&&s(21,$=o.currencydecimals),"transactionhistorycolumns"in o&&s(22,fe=o.transactionhistorycolumns),"dateformat"in o&&s(23,pe=o.dateformat),"datetimeformat"in o&&s(24,ge=o.datetimeformat),"customsucceessbuttons"in o&&s(25,be=o.customsucceessbuttons),"custompendingbuttons"in o&&s(26,we=o.custompendingbuttons),"customfailedbuttons"in o&&s(27,ye=o.customfailedbuttons),"skipconfirmation"in o&&s(28,ve=o.skipconfirmation),"currencysymbol"in o&&s(29,ee=o.currencysymbol),"currencyposition"in o&&s(30,te=o.currencyposition),"showbonuses"in o&&s(31,ke=o.showbonuses)},n.$$.update=()=>{n.$$.dirty[0]&551|n.$$.dirty[1]&1879048192|n.$$.dirty[2]&1&&l&&c&&C&&d&&M&&S&&u&&p&&_&&De(),n.$$.dirty[0]&4096|n.$$.dirty[1]&2&&v&&I&&dt(),n.$$.dirty[0]&8192|n.$$.dirty[1]&2&&g&&I&&ut(),n.$$.dirty[0]&4&&d&&rt(),n.$$.dirty[0]&4&&d&&H(),n.$$.dirty[0]&20&&d&&f&&mt(),n.$$.dirty[1]&4&&J&&ct(),n.$$.dirty[1]&248&&q&&U&&G&&!j&&!B&&St(q,U,G,e.isMobile(oe))},[l,c,d,h,f,C,b,w,y,S,O,T,v,g,L,me,ce,de,ue,he,_e,$,fe,pe,ge,be,we,ye,ve,ee,te,ke,I,J,j,B,q,U,G,r,A,Ce,se,Se,Z,F,Me,ne,ie,Te,ae,le,Ee,i,a,ht,_t,Ae,ft,u,p,_,M,gt,bt,wt,yt,vt]}class lt extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,Yt,Rt,e.safe_not_equal,{endpoint:0,session:1,lang:2,local:3,translationurl:4,successurl:59,failurl:60,cancelurl:61,customerid:5,currency:6,amount:7,assetsurl:8,type:9,channel:62,showheader:10,numberofmethodsshown:11,clientstyling:12,clientstylingurl:13,mbsource:14,showsessionexpirationmodal:15,showverifications:16,showtransactionhistory:17,showclosebutton:18,txncount:19,depositlimitbutton:20,currencydecimals:21,transactionhistorycolumns:22,dateformat:23,datetimeformat:24,customsucceessbuttons:25,custompendingbuttons:26,customfailedbuttons:27,skipconfirmation:28,currencysymbol:29,currencyposition:30,showbonuses:31},Lt,[-1,-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[1]}set session(t){this.$$set({session:t}),e.flush()}get lang(){return this.$$.ctx[2]}set lang(t){this.$$set({lang:t}),e.flush()}get local(){return this.$$.ctx[3]}set local(t){this.$$set({local:t}),e.flush()}get translationurl(){return this.$$.ctx[4]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get successurl(){return this.$$.ctx[59]}set successurl(t){this.$$set({successurl:t}),e.flush()}get failurl(){return this.$$.ctx[60]}set failurl(t){this.$$set({failurl:t}),e.flush()}get cancelurl(){return this.$$.ctx[61]}set cancelurl(t){this.$$set({cancelurl:t}),e.flush()}get customerid(){return this.$$.ctx[5]}set customerid(t){this.$$set({customerid:t}),e.flush()}get currency(){return this.$$.ctx[6]}set currency(t){this.$$set({currency:t}),e.flush()}get amount(){return this.$$.ctx[7]}set amount(t){this.$$set({amount:t}),e.flush()}get assetsurl(){return this.$$.ctx[8]}set assetsurl(t){this.$$set({assetsurl:t}),e.flush()}get type(){return this.$$.ctx[9]}set type(t){this.$$set({type:t}),e.flush()}get channel(){return this.$$.ctx[62]}set channel(t){this.$$set({channel:t}),e.flush()}get showheader(){return this.$$.ctx[10]}set showheader(t){this.$$set({showheader:t}),e.flush()}get numberofmethodsshown(){return this.$$.ctx[11]}set numberofmethodsshown(t){this.$$set({numberofmethodsshown:t}),e.flush()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get showsessionexpirationmodal(){return this.$$.ctx[15]}set showsessionexpirationmodal(t){this.$$set({showsessionexpirationmodal:t}),e.flush()}get showverifications(){return this.$$.ctx[16]}set showverifications(t){this.$$set({showverifications:t}),e.flush()}get showtransactionhistory(){return this.$$.ctx[17]}set showtransactionhistory(t){this.$$set({showtransactionhistory:t}),e.flush()}get showclosebutton(){return this.$$.ctx[18]}set showclosebutton(t){this.$$set({showclosebutton:t}),e.flush()}get txncount(){return this.$$.ctx[19]}set txncount(t){this.$$set({txncount:t}),e.flush()}get depositlimitbutton(){return this.$$.ctx[20]}set depositlimitbutton(t){this.$$set({depositlimitbutton:t}),e.flush()}get currencydecimals(){return this.$$.ctx[21]}set currencydecimals(t){this.$$set({currencydecimals:t}),e.flush()}get transactionhistorycolumns(){return this.$$.ctx[22]}set transactionhistorycolumns(t){this.$$set({transactionhistorycolumns:t}),e.flush()}get dateformat(){return this.$$.ctx[23]}set dateformat(t){this.$$set({dateformat:t}),e.flush()}get datetimeformat(){return this.$$.ctx[24]}set datetimeformat(t){this.$$set({datetimeformat:t}),e.flush()}get customsucceessbuttons(){return this.$$.ctx[25]}set customsucceessbuttons(t){this.$$set({customsucceessbuttons:t}),e.flush()}get custompendingbuttons(){return this.$$.ctx[26]}set custompendingbuttons(t){this.$$set({custompendingbuttons:t}),e.flush()}get customfailedbuttons(){return this.$$.ctx[27]}set customfailedbuttons(t){this.$$set({customfailedbuttons:t}),e.flush()}get skipconfirmation(){return this.$$.ctx[28]}set skipconfirmation(t){this.$$set({skipconfirmation:t}),e.flush()}get currencysymbol(){return this.$$.ctx[29]}set currencysymbol(t){this.$$set({currencysymbol:t}),e.flush()}get currencyposition(){return this.$$.ctx[30]}set currencyposition(t){this.$$set({currencyposition:t}),e.flush()}get showbonuses(){return this.$$.ctx[31]}set showbonuses(t){this.$$set({showbonuses:t}),e.flush()}}e.create_custom_element(lt,{endpoint:{},session:{},lang:{},local:{},translationurl:{},successurl:{},failurl:{},cancelurl:{},customerid:{},currency:{},amount:{},assetsurl:{},type:{},channel:{},showheader:{},numberofmethodsshown:{},clientstyling:{},clientstylingurl:{},mbsource:{},showsessionexpirationmodal:{},showverifications:{},showtransactionhistory:{},showclosebutton:{},txncount:{},depositlimitbutton:{},currencydecimals:{},transactionhistorycolumns:{},dateformat:{},datetimeformat:{},customsucceessbuttons:{},custompendingbuttons:{},customfailedbuttons:{},skipconfirmation:{},currencysymbol:{},currencyposition:{},showbonuses:{}},[],[],!0);exports.default=lt;