@everymatrix/cashier-page 1.76.12 → 1.76.14
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.
- package/components/{CashierError-BuW5dJfP.js → CashierError-BD6RqW_4.js} +767 -735
- package/components/CashierError-BVTgkQx8.cjs +21 -0
- package/components/{CashierError-BL7OTzSK.js → CashierError-_mJg7htJ.js} +744 -712
- package/components/{CashierHeader-CkyrZZ8s.js → CashierHeader-CLenwFLu.js} +35 -35
- package/components/{CashierHeader-FDYsDrpF.js → CashierHeader-DGMIDhtj.js} +37 -37
- package/components/{CashierHeader-D5eAmyvG.cjs → CashierHeader-s4ev8t3u.cjs} +1 -1
- package/components/{CashierIframeRedirect-wlE_YN39.js → CashierIframeRedirect-BVU6BJJW.js} +34 -34
- package/components/{CashierIframeRedirect-Db-zgjwP.cjs → CashierIframeRedirect-CVCo8t0b.cjs} +1 -1
- package/components/{CashierIframeRedirect-CmdPA_aZ.js → CashierIframeRedirect-i-bgiInf.js} +28 -28
- package/components/{CashierMethodDetails-B7K0CIlB.cjs → CashierMethodDetails-DNAJHYhK.cjs} +5 -18
- package/components/{CashierMethodDetails-BSBqkHNa.js → CashierMethodDetails-PPgUijPf.js} +694 -743
- package/components/{CashierMethodDetails-C7dG4t8m.js → CashierMethodDetails-Yh-raa4P.js} +835 -884
- package/components/{CashierMethodsList-gPmctW-Q.js → CashierMethodsList-Bq89MePx.js} +92 -92
- package/components/{CashierMethodsList-pakwpTY2.cjs → CashierMethodsList-GFY_3ABy.cjs} +1 -1
- package/components/{CashierMethodsList-FNgy0d7U.js → CashierMethodsList-odtc9D1r.js} +83 -83
- package/components/{CashierModal-vCh-dC6Q.cjs → CashierModal-Btsbp3nD.cjs} +1 -1
- package/components/{CashierModal-BAzO-8NU.js → CashierModal-DTVOjm1x.js} +40 -40
- package/components/{CashierModal-CIWk9EpH.js → CashierModal-wzdkmyre.js} +46 -46
- package/components/{CashierNotifications-BhA-DfA9.js → CashierNotifications-Ci6C686m.js} +32 -32
- package/components/{CashierNotifications-CfzNxd6q.js → CashierNotifications-CmEFRQ8z.js} +32 -32
- package/components/{CashierNotifications-Bgf97-ym.cjs → CashierNotifications-mcKpgb8B.cjs} +1 -1
- package/components/{CashierPage-DcwM8mwG.cjs → CashierPage-CfG1gBA4.cjs} +1 -1
- package/components/{CashierPage-DbHvX6nI.js → CashierPage-D8Py7RSY.js} +109 -109
- package/components/{CashierPage-D8YY3wAI.js → CashierPage-mgwXJuuN.js} +135 -135
- package/components/{CashierReceiptPage-CQyluI1J.cjs → CashierReceiptPage-BVPfyaQD.cjs} +1 -1
- package/components/{CashierReceiptPage-BzjCwk2b.js → CashierReceiptPage-DS7FVfNe.js} +76 -76
- package/components/{CashierReceiptPage-A1MYfWGW.js → CashierReceiptPage-DlVdltM6.js} +76 -76
- package/components/{CashierSessionExpirationModal-CtakjuI_.js → CashierSessionExpirationModal-CeThEk8x.js} +94 -85
- package/components/{CashierSessionExpirationModal-Bh3jmXl_.cjs → CashierSessionExpirationModal-Dj_Kbuv7.cjs} +2 -2
- package/components/{CashierSessionExpirationModal-YWIpKzje.js → CashierSessionExpirationModal-DvN0J2as.js} +94 -85
- package/components/{CashierSpinner-CAqB2_pw.js → CashierSpinner-BCIciib1.js} +19 -19
- package/components/{CashierSpinner-DTztqXMW.cjs → CashierSpinner-DFXOVOqQ.cjs} +1 -1
- package/components/{CashierSpinner-DXrTfpLq.js → CashierSpinner-yNXiNCOs.js} +19 -19
- package/components/{CashierTransactionHistory-c_0mTjNo.cjs → CashierTransactionHistory-BUPbSA6h.cjs} +1 -1
- package/components/{CashierTransactionHistory-Y1g5hagc.js → CashierTransactionHistory-CqwwMSVN.js} +76 -76
- package/components/{CashierTransactionHistory-U9Il8eZb.js → CashierTransactionHistory-pyelfuDA.js} +119 -119
- package/components/{CashierVerifications-BlWTY2gh.cjs → CashierVerifications-B5JCN--3.cjs} +1 -1
- package/components/{CashierVerifications-BA7PsePr.js → CashierVerifications-ChzwoJWn.js} +41 -41
- package/components/{CashierVerifications-BTvFySIg.js → CashierVerifications-DkzSmAn4.js} +30 -30
- package/components/{TxnStatusIcon-ClddwA7r.js → TxnStatusIcon-BogP6LJ2.js} +23 -23
- package/components/{TxnStatusIcon-Dapc6xhT.cjs → TxnStatusIcon-DCMCZZCQ.cjs} +1 -1
- package/components/{TxnStatusIcon-DPmmaKoK.js → TxnStatusIcon-DasCjrqn.js} +27 -27
- package/components/{TxnTypeIcons-w8LBVBiN.cjs → TxnTypeIcons-BByZ1nXT.cjs} +1 -1
- package/components/{TxnTypeIcons-CEcfPpqm.js → TxnTypeIcons-Bg5MfuGX.js} +14 -14
- package/components/{TxnTypeIcons-CWojIltL.js → TxnTypeIcons-DavAdp_P.js} +14 -14
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/stencil/index-242ac81a-Bl2OSy8h.js +538 -0
- package/stencil/index-242ac81a-Czg480dJ.js +554 -0
- package/stencil/index-242ac81a-DDPF_SYN.cjs +1 -0
- package/stencil/index-b2193545-ByMYc64n.cjs +1 -0
- package/stencil/index-b2193545-DWKmtYUG.js +503 -0
- package/stencil/index-b2193545-Dfy4Cgny.js +519 -0
- package/stencil/{ui-image-2ff23cd5-BHGIWJop.cjs → ui-image-2ff23cd5-BU5r6gJa.cjs} +1 -1
- package/stencil/{ui-image-2ff23cd5-DCLQ0SIO.js → ui-image-2ff23cd5-CBX1vdMZ.js} +1 -1
- package/stencil/{ui-image-2ff23cd5-D0rXudCW.js → ui-image-2ff23cd5-DZZYCsK1.js} +1 -1
- package/stencil/{ui-image-BRBJSkg1.js → ui-image-BGfwfp_F.js} +1 -1
- package/stencil/{ui-image-C0iABVS5.cjs → ui-image-CBGIeQyw.cjs} +1 -1
- package/stencil/{ui-image-e4W3SkhP.js → ui-image-Cgsi32kw.js} +1 -1
- package/stencil/{ui-image_2-CLk629jW.cjs → ui-image_2-Bsl4RJfi.cjs} +1 -1
- package/stencil/{ui-image_2-VgK3B8gQ.js → ui-image_2-ID_1Oi3k.js} +2 -2
- package/stencil/{ui-image_2-B21W_djK.js → ui-image_2-exO7RXKL.js} +2 -2
- package/stencil/{ui-skeleton-4-zrLsIW.js → ui-skeleton-BTr272EW.js} +2 -2
- package/stencil/{ui-skeleton-DgAs7VA3.cjs → ui-skeleton-C4Ir1ffm.cjs} +1 -1
- package/stencil/{ui-skeleton-9boHSjtG.js → ui-skeleton-P4PO_42z.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-IN_dPA5_.js → ui-skeleton-ae35c6f2-BIdXBK8D.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-8tYGV8SR.js → ui-skeleton-ae35c6f2-C7WHUwAT.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-DLHrpWJM.cjs → ui-skeleton-ae35c6f2-jcrjm-Kl.cjs} +1 -1
- package/components/CashierError-BEEnpeVH.cjs +0 -8
- package/stencil/index-242ac81a-BqeIndhr.js +0 -554
- package/stencil/index-242ac81a-CI4JxPRf.js +0 -538
- package/stencil/index-242ac81a-CjjM4VND.cjs +0 -1
- package/stencil/index-b2193545-BoSqyMpB.js +0 -519
- package/stencil/index-b2193545-D4dOaNlR.js +0 -503
- package/stencil/index-b2193545-DGHOe8n4.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CashierError-BEEnpeVH.cjs"),D=require("./CashierMethodDetails-B7K0CIlB.cjs");function H(r,t){i.addMessages(r,t)}function we(r){i.init({fallbackLocale:"en"}),i.$locale.set(r)}const N={en:{"verification.video.how-to":"How to verify yourself","verification.idenfy.referred-awaiting":"ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back","verification.message.failed":"We apologize, but we were unable to verify your account. Please contact support team","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"To withdraw funds to your account you are required to pass user verification. Please have your ID ready and follow the {link} to start verification","verification.shuftipro.in-progress.Biometric":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification.","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Biometric","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"After completing verification, please proceed with the transaction"},tr:{"verification.video.how-to":"Kimlik doğrulama nasıl yapılır","verification.idenfy.referred-awaiting":"Kimlik doğrulaması işlemde. Doğrulama tamamlandığında size haber vereceğiz","verification.message.failed":"Döküman doğrulama başarısız, hesabınız doğrulanamadı","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"Hesabınızdan çekim yapabilmek için kullanıcı doğrulaması gerekiyor. Lütfen kimliğinizi hazır edin ve {link} adresinden doğrulamayı başlatın","verification.shuftipro.in-progress.Biometric":"İşlemi gerçekleştirmek için kullanıcı doğrulamasını geçmeniz gerekmektedir. Doğrulamayı başlatmak için Lütfen linke tıklayın {Biometric}","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Doğrulama Yap","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"Lütfen Doğrulamayı tamamladıktan sonra işleme devam ediniz"},hr:{"verification.video.how-to":"How to verify yourself","verification.idenfy.referred-awaiting":"ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back","verification.message.failed":"We apologize, but we were unable to verify your account. Please contact support team","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"To withdraw funds to your account you are required to pass user verification. Please have your ID ready and follow the {link} to start verification","verification.shuftipro.in-progress.Biometric":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification.","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Biometric","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"After completing verification, please proceed with the transaction"}};function ye(r){i.append_styles(r,"svelte-ltlo52","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--emw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--emw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--emw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--emw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}")}function W(r,t,n){const l=r.slice();return l[55]=t[n],l[57]=n,l}function ke(r){let t,n,l,a=i.ensure_array_like(r[3]),s=[];for(let f=0;f<a.length;f+=1)s[f]=K(W(r,a,f));let c=r[6]&&G(r);return{c(){t=i.element("div");for(let f=0;f<s.length;f+=1)s[f].c();n=i.space(),c&&c.c(),l=i.empty(),i.attr(t,"class","CashierVerificationsWrapper")},m(f,m){i.insert(f,t,m);for(let u=0;u<s.length;u+=1)s[u]&&s[u].m(t,null);i.insert(f,n,m),c&&c.m(f,m),i.insert(f,l,m)},p(f,m){if(m[0]&536){a=i.ensure_array_like(f[3]);let u;for(u=0;u<a.length;u+=1){const h=W(f,a,u);s[u]?s[u].p(h,m):(s[u]=K(h),s[u].c(),s[u].m(t,null))}for(;u<s.length;u+=1)s[u].d(1);s.length=a.length}f[6]?c?c.p(f,m):(c=G(f),c.c(),c.m(l.parentNode,l)):c&&(c.d(1),c=null)},d(f){f&&(i.detach(t),i.detach(n),i.detach(l)),i.destroy_each(s,f),c&&c.d(f)}}}function _e(r){let t;return{c(){t=i.element("cashier-spinner"),i.set_custom_element_data(t,"clientstylingurl",r[1]),i.set_custom_element_data(t,"clientstyling",r[0])},m(n,l){i.insert(n,t,l)},p(n,l){l[0]&2&&i.set_custom_element_data(t,"clientstylingurl",n[1]),l[0]&1&&i.set_custom_element_data(t,"clientstyling",n[0])},d(n){n&&i.detach(t)}}}function Y(r){let t,n,l;function a(...s){return r[19](r[57],...s)}return{c(){t=i.element("span"),t.innerHTML='<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>',i.attr(t,"class","CashierVerificationChevron")},m(s,c){i.insert(s,t,c),n||(l=i.listen(t,"click",a),n=!0)},p(s,c){r=s},d(s){s&&i.detach(t),n=!1,l()}}}function K(r){let t,n,l,a,s=r[55]+"",c,f,m,u,h=r[3].length>1&&r[57]===0&&Y(r);function V(...v){return r[20](r[57],...v)}return{c(){t=i.element("div"),n=i.element("div"),n.innerHTML='<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>',l=i.space(),a=i.element("p"),c=i.space(),h&&h.c(),f=i.space(),i.attr(n,"class","IconVerification"),i.attr(a,"class","text"),i.attr(t,"class","CashierVerificationMessage"),i.toggle_class(t,"ShowAll",r[4])},m(v,w){i.insert(v,t,w),i.append(t,n),i.append(t,l),i.append(t,a),a.innerHTML=s,i.append(t,c),h&&h.m(t,null),i.append(t,f),m||(u=i.listen(t,"click",V),m=!0)},p(v,w){r=v,w[0]&8&&s!==(s=r[55]+"")&&(a.innerHTML=s),r[3].length>1&&r[57]===0?h?h.p(r,w):(h=Y(r),h.c(),h.m(t,f)):h&&(h.d(1),h=null),w[0]&16&&i.toggle_class(t,"ShowAll",r[4])},d(v){v&&i.detach(t),h&&h.d(),m=!1,u()}}}function G(r){let t,n,l,a,s=r[8]("verification.video.how-to")+"",c,f,m;return{c(){t=i.element("div"),n=i.element("div"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>',l=i.space(),a=i.element("div"),c=i.text(s),i.attr(n,"class","IconVideo"),i.attr(a,"class","CashierVerificationVideoLink"),i.toggle_class(a,"CashierVerificationVideoLinkDesktop",r[5]),i.attr(t,"class","CashierVerificationVideo")},m(u,h){i.insert(u,t,h),i.append(t,n),i.append(t,l),i.append(t,a),i.append(a,c),f||(m=i.listen(a,"click",r[10]),f=!0)},p(u,h){h[0]&256&&s!==(s=u[8]("verification.video.how-to")+"")&&i.set_data(c,s),h[0]&32&&i.toggle_class(a,"CashierVerificationVideoLinkDesktop",u[5])},d(u){u&&i.detach(t),f=!1,m()}}}function Ve(r){let t;function n(s,c){if(s[7])return _e;if(s[3])return ke}let l=n(r),a=l&&l(r);return{c(){t=i.element("div"),a&&a.c(),i.attr(t,"class","CashierVerifications"),i.toggle_class(t,"CashierVerificationsDesktop",r[5])},m(s,c){i.insert(s,t,c),a&&a.m(t,null),r[21](t)},p(s,c){l===(l=n(s))&&a?a.p(s,c):(a&&a.d(1),a=l&&l(s),a&&(a.c(),a.m(t,null))),c[0]&32&&i.toggle_class(t,"CashierVerificationsDesktop",s[5])},i:i.noop,o:i.noop,d(s){s&&i.detach(t),a&&a.d(),r[21](null)}}}const Pe="verification_explanation_video_widgets.MP4";function be(r,t,n){let l,a;i.component_subscribe(r,i.$format,e=>n(8,l=e)),i.component_subscribe(r,D.xPaymentSessionToken,e=>n(29,a=e)),D.dayjs.extend(D.utc);let{endpoint:s}=t,{lang:c="en"}=t,{translationurl:f=""}=t,{clientstyling:m=""}=t,{clientstylingurl:u=""}=t,{session:h=""}=t,{customerid:V=""}=t,{playersession:v=""}=t,{mbsource:w=""}=t,k,F=new Set,z=new Set,S,C,T,O=!0,I=!0,B=!1,M="",L=!1,J=window.navigator.userAgent;var P;(function(e){e.Manual="Manual",e.ShuftiPro="ShuftiPro"})(P||(P={}));var q;(function(e){e.Requested="Requested"})(q||(q={}));var g;(function(e){e.Unknown="Unknown",e.Unverified="Unverified",e.InProgress="InProgress",e.Failed="Failed",e.Verified="Verified",e.Referred="Referred",e.True="True",e.False="False",e.AwaitingForResponse="AwaitingForResponse"})(g||(g={}));var b;(function(e){e.Unknown="Unknown",e.Documents="Documents",e.Age="Age",e.Pep="Pep",e.Sanction="Sanction",e.Aml="Aml",e.ProofOfAddress="ProofOfAddress",e.SourceOfWealth="SourceOfWealth",e.SocialMedia="SocialMedia",e.Biometric="Biometric"})(b||(b={}));const E=e=>{e.data&&e.data.type};i.onMount(()=>(window.addEventListener("message",E),ue(),()=>{window.removeEventListener("message",E)}));const X=[g.InProgress,g.Referred,g.AwaitingForResponse],Q=()=>{let e=f;if(e)return fetch(e).then(o=>o.json()).then(o=>{Object.keys(o).forEach(d=>{H(d,o[d])})}).catch(o=>{console.log(o)})};Object.keys(N).forEach(e=>{H(e,N[e])});const $=()=>{we(c)},R=()=>{n(18,C=te());const e=new URL(`${s}/v1/player/${V}/verification/GetKYCCustomerStatus?language=${c}`),o=new Headers;o.append("accept","application/json"),o.append("Content-Type","application/json"),o.append("x-sessionid",`${v}`),o.append("X-Client-Request-Timestamp",D.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const d={method:"POST",headers:o,body:JSON.stringify({})};n(7,L=!0),fetch(e,d).then(p=>p.json()).then(p=>{const y=ee(p==null?void 0:p.Verifications);S=re(y),S.VerificationStatuses.forEach(A=>{A.VerificationUrlType!=="Widget"&&F.add(A.Vendor)}),n(3,T=j())}).finally(()=>n(7,L=!1))},ee=e=>e?e.sort((o,d)=>new Date(d.Created).getTime()-new Date(o.Created).getTime()):[],ie=()=>{a&&R()},te=()=>{let e=(h||a).split(".")[1];if(e){let o=JSON.parse(atob(e));return o.cdn+"/cashier/operator-assets/"+(o==null?void 0:o.mid)}return""},re=e=>{var d;if(!e||!e.length)return{VerificationSummaryStatus:g.Unverified,VerificationStatuses:[]};const o=ne(e);if(o&&o.length){const p=oe(o);return{VerificationSummaryStatus:p.Status,VerificationUrl:(d=p.Flags)==null?void 0:d.DeferredUrlKey,VerificationStatuses:U(o,p.Status)}}else return{VerificationSummaryStatus:e.some(y=>y.Status===g.Failed)?g.Failed:g.Verified,VerificationStatuses:U(e,[g.Failed])}},oe=e=>e.reduce((o,d)=>o?new Date(o)<new Date(d)?d:o:d,0),U=(e,o)=>e.filter(d=>o.includes(d.Status)).map(d=>{var p,y;return{Type:d.Type,Vendor:d.VendorName,VerificationDocuments:d.Documents?[...d.Documents]:[],VerificationUrlType:(p=d.FlowInfo)==null?void 0:p.Type,VerificationUrl:(y=d.FlowInfo)==null?void 0:y.Url}}),ne=e=>e.filter(o=>X.includes(o.Status)?o.FlowInfo&&o.FlowInfo.Url||se(o)||ae(o):!1),se=e=>{const o=e.Documents&&e.VendorName===P.Manual,d=e.Documents&&e.Documents.some(p=>p.Status===q.Requested);return o&&d},ae=e=>e.VendorName===P.ShuftiPro&&e.Status===g.Referred,j=()=>{switch(S.VerificationSummaryStatus){case g.InProgress:const e=[];return F.forEach(o=>{e.push(le(o))}),e;case g.Referred:return[l("verification.idenfy.referred-awaiting")];case g.Failed:return[l("verification.message.failed")]}},le=e=>{const o=S.VerificationStatuses.filter(d=>d.Vendor===e);if(e===P.ShuftiPro)return ce(o);{const d=l("verification.idenfy.link-name"),p={link:`<a href="${o[0].VerificationUrl}" target="_blank">${d}</a>`};return l("verification.idenfy.in-progress",{values:p})}},ce=e=>{const o=[],d={},p=[b.Biometric,b.Documents,b.ProofOfAddress];e.forEach(_=>{p.includes(_.Type)&&(o.push(_.Type),d[_.Type]=fe(_,de(_.Type)))});let y=o.every(_=>z.has(_)),A=`verification.shuftipro.in-progress.${o.sort().join(".")}`;return y?l("verification.shuftipro.validations-started"):l(A,{values:d})},fe=(e,o)=>`<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${o}</a>`,de=e=>l(`verification.shuftipro.link-name.${e}`),x=(e,o)=>{if(e.stopPropagation(),e.target&&(e.target.href||e.target.closest("a"))){if(e.target.closest(".verificationLink")){const d=e.target.className.split(" ")[1];z.add(d),n(3,T=j())}return}o===0&&n(4,O=!O)},ue=()=>{n(5,I=!D.isMobile(J))},he=()=>{M=C+"/"+c+"/"+Pe;try{fetch(M,{method:"HEAD"}).then(e=>{n(6,B=e.ok)})}catch(e){n(6,B=!1)}},me=()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"video",data:{videoSrc:M}}}))},pe=(e,o)=>x(o,e),ge=(e,o)=>x(o,e);function ve(e){i.binding_callbacks[e?"unshift":"push"](()=>{k=e,n(2,k)})}return r.$$set=e=>{"endpoint"in e&&n(11,s=e.endpoint),"lang"in e&&n(12,c=e.lang),"translationurl"in e&&n(13,f=e.translationurl),"clientstyling"in e&&n(0,m=e.clientstyling),"clientstylingurl"in e&&n(1,u=e.clientstylingurl),"session"in e&&n(14,h=e.session),"customerid"in e&&n(15,V=e.customerid),"playersession"in e&&n(16,v=e.playersession),"mbsource"in e&&n(17,w=e.mbsource)},r.$$.update=()=>{r.$$.dirty[0]&4096&&c&&$(),r.$$.dirty[0]&83968&&s&&h&&v&&R(),r.$$.dirty[0]&83968&&s&&!h&&v&&ie(),r.$$.dirty[0]&8192&&f&&Q(),r.$$.dirty[0]&5&&m&&k&&i.setClientStyling(),r.$$.dirty[0]&6&&u&&k&&i.setClientStylingURL(),r.$$.dirty[0]&262144&&C&&he(),r.$$.dirty[0]&131076&&w&&k&&i.setStreamStyling(k,`${w}.Style`)},[m,u,k,T,O,I,B,L,l,x,me,s,c,f,h,V,v,w,C,pe,ge,ve]}class Z extends i.SvelteComponent{constructor(t){super(),i.init$1(this,t,be,Ve,i.safe_not_equal,{endpoint:11,lang:12,translationurl:13,clientstyling:0,clientstylingurl:1,session:14,customerid:15,playersession:16,mbsource:17},ye,[-1,-1])}get endpoint(){return this.$$.ctx[11]}set endpoint(t){this.$$set({endpoint:t}),i.flush()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),i.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(t){this.$$set({translationurl:t}),i.flush()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),i.flush()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),i.flush()}get session(){return this.$$.ctx[14]}set session(t){this.$$set({session:t}),i.flush()}get customerid(){return this.$$.ctx[15]}set customerid(t){this.$$set({customerid:t}),i.flush()}get playersession(){return this.$$.ctx[16]}set playersession(t){this.$$set({playersession:t}),i.flush()}get mbsource(){return this.$$.ctx[17]}set mbsource(t){this.$$set({mbsource:t}),i.flush()}}i.create_custom_element(Z,{endpoint:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},session:{},customerid:{},playersession:{},mbsource:{}},[],[],!0);exports.default=Z;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CashierError-BVTgkQx8.cjs"),D=require("./CashierMethodDetails-DNAJHYhK.cjs");function H(r,t){i.addMessages(r,t)}function we(r){i.init({fallbackLocale:"en"}),i.$locale.set(r)}const N={en:{"verification.video.how-to":"How to verify yourself","verification.idenfy.referred-awaiting":"ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back","verification.message.failed":"We apologize, but we were unable to verify your account. Please contact support team","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"To withdraw funds to your account you are required to pass user verification. Please have your ID ready and follow the {link} to start verification","verification.shuftipro.in-progress.Biometric":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification.","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Biometric","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"After completing verification, please proceed with the transaction"},tr:{"verification.video.how-to":"Kimlik doğrulama nasıl yapılır","verification.idenfy.referred-awaiting":"Kimlik doğrulaması işlemde. Doğrulama tamamlandığında size haber vereceğiz","verification.message.failed":"Döküman doğrulama başarısız, hesabınız doğrulanamadı","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"Hesabınızdan çekim yapabilmek için kullanıcı doğrulaması gerekiyor. Lütfen kimliğinizi hazır edin ve {link} adresinden doğrulamayı başlatın","verification.shuftipro.in-progress.Biometric":"İşlemi gerçekleştirmek için kullanıcı doğrulamasını geçmeniz gerekmektedir. Doğrulamayı başlatmak için Lütfen linke tıklayın {Biometric}","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Doğrulama Yap","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"Lütfen Doğrulamayı tamamladıktan sonra işleme devam ediniz"},hr:{"verification.video.how-to":"How to verify yourself","verification.idenfy.referred-awaiting":"ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back","verification.message.failed":"We apologize, but we were unable to verify your account. Please contact support team","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"To withdraw funds to your account you are required to pass user verification. Please have your ID ready and follow the {link} to start verification","verification.shuftipro.in-progress.Biometric":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification.","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Biometric","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"After completing verification, please proceed with the transaction"}};function ye(r){i.append_styles(r,"svelte-ltlo52","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--emw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--emw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--emw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--emw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}")}function W(r,t,n){const l=r.slice();return l[55]=t[n],l[57]=n,l}function ke(r){let t,n,l,a=i.ensure_array_like(r[3]),s=[];for(let f=0;f<a.length;f+=1)s[f]=K(W(r,a,f));let c=r[6]&&G(r);return{c(){t=i.element("div");for(let f=0;f<s.length;f+=1)s[f].c();n=i.space(),c&&c.c(),l=i.empty(),i.attr(t,"class","CashierVerificationsWrapper")},m(f,m){i.insert(f,t,m);for(let u=0;u<s.length;u+=1)s[u]&&s[u].m(t,null);i.insert(f,n,m),c&&c.m(f,m),i.insert(f,l,m)},p(f,m){if(m[0]&536){a=i.ensure_array_like(f[3]);let u;for(u=0;u<a.length;u+=1){const h=W(f,a,u);s[u]?s[u].p(h,m):(s[u]=K(h),s[u].c(),s[u].m(t,null))}for(;u<s.length;u+=1)s[u].d(1);s.length=a.length}f[6]?c?c.p(f,m):(c=G(f),c.c(),c.m(l.parentNode,l)):c&&(c.d(1),c=null)},d(f){f&&(i.detach(t),i.detach(n),i.detach(l)),i.destroy_each(s,f),c&&c.d(f)}}}function _e(r){let t;return{c(){t=i.element("cashier-spinner"),i.set_custom_element_data(t,"clientstylingurl",r[1]),i.set_custom_element_data(t,"clientstyling",r[0])},m(n,l){i.insert(n,t,l)},p(n,l){l[0]&2&&i.set_custom_element_data(t,"clientstylingurl",n[1]),l[0]&1&&i.set_custom_element_data(t,"clientstyling",n[0])},d(n){n&&i.detach(t)}}}function Y(r){let t,n,l;function a(...s){return r[19](r[57],...s)}return{c(){t=i.element("span"),t.innerHTML='<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>',i.attr(t,"class","CashierVerificationChevron")},m(s,c){i.insert(s,t,c),n||(l=i.listen(t,"click",a),n=!0)},p(s,c){r=s},d(s){s&&i.detach(t),n=!1,l()}}}function K(r){let t,n,l,a,s=r[55]+"",c,f,m,u,h=r[3].length>1&&r[57]===0&&Y(r);function V(...v){return r[20](r[57],...v)}return{c(){t=i.element("div"),n=i.element("div"),n.innerHTML='<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>',l=i.space(),a=i.element("p"),c=i.space(),h&&h.c(),f=i.space(),i.attr(n,"class","IconVerification"),i.attr(a,"class","text"),i.attr(t,"class","CashierVerificationMessage"),i.toggle_class(t,"ShowAll",r[4])},m(v,w){i.insert(v,t,w),i.append(t,n),i.append(t,l),i.append(t,a),a.innerHTML=s,i.append(t,c),h&&h.m(t,null),i.append(t,f),m||(u=i.listen(t,"click",V),m=!0)},p(v,w){r=v,w[0]&8&&s!==(s=r[55]+"")&&(a.innerHTML=s),r[3].length>1&&r[57]===0?h?h.p(r,w):(h=Y(r),h.c(),h.m(t,f)):h&&(h.d(1),h=null),w[0]&16&&i.toggle_class(t,"ShowAll",r[4])},d(v){v&&i.detach(t),h&&h.d(),m=!1,u()}}}function G(r){let t,n,l,a,s=r[8]("verification.video.how-to")+"",c,f,m;return{c(){t=i.element("div"),n=i.element("div"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>',l=i.space(),a=i.element("div"),c=i.text(s),i.attr(n,"class","IconVideo"),i.attr(a,"class","CashierVerificationVideoLink"),i.toggle_class(a,"CashierVerificationVideoLinkDesktop",r[5]),i.attr(t,"class","CashierVerificationVideo")},m(u,h){i.insert(u,t,h),i.append(t,n),i.append(t,l),i.append(t,a),i.append(a,c),f||(m=i.listen(a,"click",r[10]),f=!0)},p(u,h){h[0]&256&&s!==(s=u[8]("verification.video.how-to")+"")&&i.set_data(c,s),h[0]&32&&i.toggle_class(a,"CashierVerificationVideoLinkDesktop",u[5])},d(u){u&&i.detach(t),f=!1,m()}}}function Ve(r){let t;function n(s,c){if(s[7])return _e;if(s[3])return ke}let l=n(r),a=l&&l(r);return{c(){t=i.element("div"),a&&a.c(),i.attr(t,"class","CashierVerifications"),i.toggle_class(t,"CashierVerificationsDesktop",r[5])},m(s,c){i.insert(s,t,c),a&&a.m(t,null),r[21](t)},p(s,c){l===(l=n(s))&&a?a.p(s,c):(a&&a.d(1),a=l&&l(s),a&&(a.c(),a.m(t,null))),c[0]&32&&i.toggle_class(t,"CashierVerificationsDesktop",s[5])},i:i.noop,o:i.noop,d(s){s&&i.detach(t),a&&a.d(),r[21](null)}}}const Pe="verification_explanation_video_widgets.MP4";function be(r,t,n){let l,a;i.component_subscribe(r,i.$format,e=>n(8,l=e)),i.component_subscribe(r,D.xPaymentSessionToken,e=>n(29,a=e)),D.dayjs.extend(D.utc);let{endpoint:s}=t,{lang:c="en"}=t,{translationurl:f=""}=t,{clientstyling:m=""}=t,{clientstylingurl:u=""}=t,{session:h=""}=t,{customerid:V=""}=t,{playersession:v=""}=t,{mbsource:w=""}=t,k,F=new Set,z=new Set,S,C,T,O=!0,I=!0,B=!1,M="",L=!1,J=window.navigator.userAgent;var P;(function(e){e.Manual="Manual",e.ShuftiPro="ShuftiPro"})(P||(P={}));var q;(function(e){e.Requested="Requested"})(q||(q={}));var g;(function(e){e.Unknown="Unknown",e.Unverified="Unverified",e.InProgress="InProgress",e.Failed="Failed",e.Verified="Verified",e.Referred="Referred",e.True="True",e.False="False",e.AwaitingForResponse="AwaitingForResponse"})(g||(g={}));var b;(function(e){e.Unknown="Unknown",e.Documents="Documents",e.Age="Age",e.Pep="Pep",e.Sanction="Sanction",e.Aml="Aml",e.ProofOfAddress="ProofOfAddress",e.SourceOfWealth="SourceOfWealth",e.SocialMedia="SocialMedia",e.Biometric="Biometric"})(b||(b={}));const E=e=>{e.data&&e.data.type};i.onMount(()=>(window.addEventListener("message",E),ue(),()=>{window.removeEventListener("message",E)}));const X=[g.InProgress,g.Referred,g.AwaitingForResponse],Q=()=>{let e=f;if(e)return fetch(e).then(o=>o.json()).then(o=>{Object.keys(o).forEach(d=>{H(d,o[d])})}).catch(o=>{console.log(o)})};Object.keys(N).forEach(e=>{H(e,N[e])});const $=()=>{we(c)},R=()=>{n(18,C=te());const e=new URL(`${s}/v1/player/${V}/verification/GetKYCCustomerStatus?language=${c}`),o=new Headers;o.append("accept","application/json"),o.append("Content-Type","application/json"),o.append("x-sessionid",`${v}`),o.append("X-Client-Request-Timestamp",D.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const d={method:"POST",headers:o,body:JSON.stringify({})};n(7,L=!0),fetch(e,d).then(p=>p.json()).then(p=>{const y=ee(p==null?void 0:p.Verifications);S=re(y),S.VerificationStatuses.forEach(A=>{A.VerificationUrlType!=="Widget"&&F.add(A.Vendor)}),n(3,T=j())}).finally(()=>n(7,L=!1))},ee=e=>e?e.sort((o,d)=>new Date(d.Created).getTime()-new Date(o.Created).getTime()):[],ie=()=>{a&&R()},te=()=>{let e=(h||a).split(".")[1];if(e){let o=JSON.parse(atob(e));return o.cdn+"/cashier/operator-assets/"+(o==null?void 0:o.mid)}return""},re=e=>{var d;if(!e||!e.length)return{VerificationSummaryStatus:g.Unverified,VerificationStatuses:[]};const o=ne(e);if(o&&o.length){const p=oe(o);return{VerificationSummaryStatus:p.Status,VerificationUrl:(d=p.Flags)==null?void 0:d.DeferredUrlKey,VerificationStatuses:U(o,p.Status)}}else return{VerificationSummaryStatus:e.some(y=>y.Status===g.Failed)?g.Failed:g.Verified,VerificationStatuses:U(e,[g.Failed])}},oe=e=>e.reduce((o,d)=>o?new Date(o)<new Date(d)?d:o:d,0),U=(e,o)=>e.filter(d=>o.includes(d.Status)).map(d=>{var p,y;return{Type:d.Type,Vendor:d.VendorName,VerificationDocuments:d.Documents?[...d.Documents]:[],VerificationUrlType:(p=d.FlowInfo)==null?void 0:p.Type,VerificationUrl:(y=d.FlowInfo)==null?void 0:y.Url}}),ne=e=>e.filter(o=>X.includes(o.Status)?o.FlowInfo&&o.FlowInfo.Url||se(o)||ae(o):!1),se=e=>{const o=e.Documents&&e.VendorName===P.Manual,d=e.Documents&&e.Documents.some(p=>p.Status===q.Requested);return o&&d},ae=e=>e.VendorName===P.ShuftiPro&&e.Status===g.Referred,j=()=>{switch(S.VerificationSummaryStatus){case g.InProgress:const e=[];return F.forEach(o=>{e.push(le(o))}),e;case g.Referred:return[l("verification.idenfy.referred-awaiting")];case g.Failed:return[l("verification.message.failed")]}},le=e=>{const o=S.VerificationStatuses.filter(d=>d.Vendor===e);if(e===P.ShuftiPro)return ce(o);{const d=l("verification.idenfy.link-name"),p={link:`<a href="${o[0].VerificationUrl}" target="_blank">${d}</a>`};return l("verification.idenfy.in-progress",{values:p})}},ce=e=>{const o=[],d={},p=[b.Biometric,b.Documents,b.ProofOfAddress];e.forEach(_=>{p.includes(_.Type)&&(o.push(_.Type),d[_.Type]=fe(_,de(_.Type)))});let y=o.every(_=>z.has(_)),A=`verification.shuftipro.in-progress.${o.sort().join(".")}`;return y?l("verification.shuftipro.validations-started"):l(A,{values:d})},fe=(e,o)=>`<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${o}</a>`,de=e=>l(`verification.shuftipro.link-name.${e}`),x=(e,o)=>{if(e.stopPropagation(),e.target&&(e.target.href||e.target.closest("a"))){if(e.target.closest(".verificationLink")){const d=e.target.className.split(" ")[1];z.add(d),n(3,T=j())}return}o===0&&n(4,O=!O)},ue=()=>{n(5,I=!D.isMobile(J))},he=()=>{M=C+"/"+c+"/"+Pe;try{fetch(M,{method:"HEAD"}).then(e=>{n(6,B=e.ok)})}catch(e){n(6,B=!1)}},me=()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"video",data:{videoSrc:M}}}))},pe=(e,o)=>x(o,e),ge=(e,o)=>x(o,e);function ve(e){i.binding_callbacks[e?"unshift":"push"](()=>{k=e,n(2,k)})}return r.$$set=e=>{"endpoint"in e&&n(11,s=e.endpoint),"lang"in e&&n(12,c=e.lang),"translationurl"in e&&n(13,f=e.translationurl),"clientstyling"in e&&n(0,m=e.clientstyling),"clientstylingurl"in e&&n(1,u=e.clientstylingurl),"session"in e&&n(14,h=e.session),"customerid"in e&&n(15,V=e.customerid),"playersession"in e&&n(16,v=e.playersession),"mbsource"in e&&n(17,w=e.mbsource)},r.$$.update=()=>{r.$$.dirty[0]&4096&&c&&$(),r.$$.dirty[0]&83968&&s&&h&&v&&R(),r.$$.dirty[0]&83968&&s&&!h&&v&&ie(),r.$$.dirty[0]&8192&&f&&Q(),r.$$.dirty[0]&5&&m&&k&&i.setClientStyling(),r.$$.dirty[0]&6&&u&&k&&i.setClientStylingURL(),r.$$.dirty[0]&262144&&C&&he(),r.$$.dirty[0]&131076&&w&&k&&i.setStreamStyling(k,`${w}.Style`)},[m,u,k,T,O,I,B,L,l,x,me,s,c,f,h,V,v,w,C,pe,ge,ve]}class Z extends i.SvelteComponent{constructor(t){super(),i.init$1(this,t,be,Ve,i.safe_not_equal,{endpoint:11,lang:12,translationurl:13,clientstyling:0,clientstylingurl:1,session:14,customerid:15,playersession:16,mbsource:17},ye,[-1,-1])}get endpoint(){return this.$$.ctx[11]}set endpoint(t){this.$$set({endpoint:t}),i.flush()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),i.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(t){this.$$set({translationurl:t}),i.flush()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),i.flush()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),i.flush()}get session(){return this.$$.ctx[14]}set session(t){this.$$set({session:t}),i.flush()}get customerid(){return this.$$.ctx[15]}set customerid(t){this.$$set({customerid:t}),i.flush()}get playersession(){return this.$$.ctx[16]}set playersession(t){this.$$set({playersession:t}),i.flush()}get mbsource(){return this.$$.ctx[17]}set mbsource(t){this.$$set({mbsource:t}),i.flush()}}i.create_custom_element(Z,{endpoint:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},session:{},customerid:{},playersession:{},mbsource:{}},[],[],!0);exports.default=Z;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { d as ee, u as Ke, i as Ge, x as Ze } from "./CashierMethodDetails-
|
|
1
|
+
import { a as Te, i as Oe, $ as Be, S as Me, b as Le, f as y, c as xe, s as qe, d as Fe, g as w, j as V, P as C, k as b, D as X, p as D, q as Q, r as ze, v as Ie, w as Ee, A as Re, B as Ue, R as $, h as B, x as He, U as je, F as q, l as k, C as j, y as Ne, z as We, E as Ye } from "./CashierError-BD6RqW_4.js";
|
|
2
|
+
import { d as ee, u as Ke, i as Ge, x as Ze } from "./CashierMethodDetails-Yh-raa4P.js";
|
|
3
3
|
function ie(t, i) {
|
|
4
|
-
|
|
4
|
+
Te(t, i);
|
|
5
5
|
}
|
|
6
6
|
function Je(t) {
|
|
7
|
-
|
|
7
|
+
Oe({
|
|
8
8
|
fallbackLocale: "en"
|
|
9
9
|
}), Be.set(t);
|
|
10
10
|
}
|
|
@@ -65,7 +65,7 @@ const te = {
|
|
|
65
65
|
}
|
|
66
66
|
};
|
|
67
67
|
function Xe(t) {
|
|
68
|
-
|
|
68
|
+
Fe(t, "svelte-ltlo52", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--emw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--emw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--emw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--emw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
|
|
69
69
|
}
|
|
70
70
|
function re(t, i, o) {
|
|
71
71
|
const a = t.slice();
|
|
@@ -87,13 +87,13 @@ function Qe(t) {
|
|
|
87
87
|
i = w("div");
|
|
88
88
|
for (let l = 0; l < s.length; l += 1)
|
|
89
89
|
s[l].c();
|
|
90
|
-
o = B(), c && c.c(), a =
|
|
90
|
+
o = B(), c && c.c(), a = He(), V(i, "class", "CashierVerificationsWrapper");
|
|
91
91
|
},
|
|
92
92
|
m(l, h) {
|
|
93
|
-
|
|
93
|
+
b(l, i, h);
|
|
94
94
|
for (let d = 0; d < s.length; d += 1)
|
|
95
95
|
s[d] && s[d].m(i, null);
|
|
96
|
-
|
|
96
|
+
b(l, o, h), c && c.m(l, h), b(l, a, h);
|
|
97
97
|
},
|
|
98
98
|
p(l, h) {
|
|
99
99
|
if (h[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
|
|
@@ -115,7 +115,7 @@ function Qe(t) {
|
|
|
115
115
|
l[6] ? c ? c.p(l, h) : (c = ne(l), c.c(), c.m(a.parentNode, a)) : c && (c.d(1), c = null);
|
|
116
116
|
},
|
|
117
117
|
d(l) {
|
|
118
|
-
l && (
|
|
118
|
+
l && (D(i), D(o), D(a)), je(s, l), c && c.d(l);
|
|
119
119
|
}
|
|
120
120
|
};
|
|
121
121
|
}
|
|
@@ -136,7 +136,7 @@ function $e(t) {
|
|
|
136
136
|
);
|
|
137
137
|
},
|
|
138
138
|
m(o, a) {
|
|
139
|
-
|
|
139
|
+
b(o, i, a);
|
|
140
140
|
},
|
|
141
141
|
p(o, a) {
|
|
142
142
|
a[0] & /*clientstylingurl*/
|
|
@@ -154,7 +154,7 @@ function $e(t) {
|
|
|
154
154
|
);
|
|
155
155
|
},
|
|
156
156
|
d(o) {
|
|
157
|
-
o &&
|
|
157
|
+
o && D(i);
|
|
158
158
|
}
|
|
159
159
|
};
|
|
160
160
|
}
|
|
@@ -175,13 +175,13 @@ function oe(t) {
|
|
|
175
175
|
i = w("span"), i.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', V(i, "class", "CashierVerificationChevron");
|
|
176
176
|
},
|
|
177
177
|
m(s, c) {
|
|
178
|
-
|
|
178
|
+
b(s, i, c), o || (a = j(i, "click", n), o = !0);
|
|
179
179
|
},
|
|
180
180
|
p(s, c) {
|
|
181
181
|
t = s;
|
|
182
182
|
},
|
|
183
183
|
d(s) {
|
|
184
|
-
s &&
|
|
184
|
+
s && D(i), o = !1, a();
|
|
185
185
|
}
|
|
186
186
|
};
|
|
187
187
|
}
|
|
@@ -214,7 +214,7 @@ function se(t) {
|
|
|
214
214
|
);
|
|
215
215
|
},
|
|
216
216
|
m(g, v) {
|
|
217
|
-
|
|
217
|
+
b(g, i, v), k(i, o), k(i, a), k(i, n), n.innerHTML = s, k(i, c), u && u.m(i, null), k(i, l), h || (d = j(i, "click", A), h = !0);
|
|
218
218
|
},
|
|
219
219
|
p(g, v) {
|
|
220
220
|
t = g, v[0] & /*displayMessages*/
|
|
@@ -230,7 +230,7 @@ function se(t) {
|
|
|
230
230
|
);
|
|
231
231
|
},
|
|
232
232
|
d(g) {
|
|
233
|
-
g &&
|
|
233
|
+
g && D(i), u && u.d(), h = !1, d();
|
|
234
234
|
}
|
|
235
235
|
};
|
|
236
236
|
}
|
|
@@ -241,7 +241,7 @@ function ne(t) {
|
|
|
241
241
|
), c, l, h;
|
|
242
242
|
return {
|
|
243
243
|
c() {
|
|
244
|
-
i = w("div"), o = w("div"), o.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', a = B(), n = w("div"), c =
|
|
244
|
+
i = w("div"), o = w("div"), o.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', a = B(), n = w("div"), c = Ne(s), V(o, "class", "IconVideo"), V(n, "class", "CashierVerificationVideoLink"), C(
|
|
245
245
|
n,
|
|
246
246
|
"CashierVerificationVideoLinkDesktop",
|
|
247
247
|
/*desktopView*/
|
|
@@ -249,7 +249,7 @@ function ne(t) {
|
|
|
249
249
|
), V(i, "class", "CashierVerificationVideo");
|
|
250
250
|
},
|
|
251
251
|
m(d, u) {
|
|
252
|
-
|
|
252
|
+
b(d, i, u), k(i, o), k(i, a), k(i, n), k(n, c), l || (h = j(
|
|
253
253
|
n,
|
|
254
254
|
"click",
|
|
255
255
|
/*showVideo*/
|
|
@@ -259,7 +259,7 @@ function ne(t) {
|
|
|
259
259
|
p(d, u) {
|
|
260
260
|
u[0] & /*$_*/
|
|
261
261
|
256 && s !== (s = /*$_*/
|
|
262
|
-
d[8]("verification.video.how-to") + "") &&
|
|
262
|
+
d[8]("verification.video.how-to") + "") && We(c, s), u[0] & /*desktopView*/
|
|
263
263
|
32 && C(
|
|
264
264
|
n,
|
|
265
265
|
"CashierVerificationVideoLinkDesktop",
|
|
@@ -268,7 +268,7 @@ function ne(t) {
|
|
|
268
268
|
);
|
|
269
269
|
},
|
|
270
270
|
d(d) {
|
|
271
|
-
d &&
|
|
271
|
+
d && D(i), l = !1, h();
|
|
272
272
|
}
|
|
273
273
|
};
|
|
274
274
|
}
|
|
@@ -297,7 +297,7 @@ function ei(t) {
|
|
|
297
297
|
);
|
|
298
298
|
},
|
|
299
299
|
m(s, c) {
|
|
300
|
-
|
|
300
|
+
b(s, i, c), n && n.m(i, null), t[21](i);
|
|
301
301
|
},
|
|
302
302
|
p(s, c) {
|
|
303
303
|
a === (a = o(s)) && n ? n.p(s, c) : (n && n.d(1), n = a && a(s), n && (n.c(), n.m(i, null))), c[0] & /*desktopView*/
|
|
@@ -311,7 +311,7 @@ function ei(t) {
|
|
|
311
311
|
i: X,
|
|
312
312
|
o: X,
|
|
313
313
|
d(s) {
|
|
314
|
-
s &&
|
|
314
|
+
s && D(i), n && n.d(), t[21](null);
|
|
315
315
|
}
|
|
316
316
|
};
|
|
317
317
|
}
|
|
@@ -319,11 +319,11 @@ const ii = "verification_explanation_video_widgets.MP4";
|
|
|
319
319
|
function ti(t, i, o) {
|
|
320
320
|
let a, n;
|
|
321
321
|
Q(t, Ye, (e) => o(8, a = e)), Q(t, Ze, (e) => o(29, n = e)), ee.extend(Ke);
|
|
322
|
-
let { endpoint: s } = i, { lang: c = "en" } = i, { translationurl: l = "" } = i, { clientstyling: h = "" } = i, { clientstylingurl: d = "" } = i, { session: u = "" } = i, { customerid: A = "" } = i, { playersession: g = "" } = i, { mbsource: v = "" } = i, S,
|
|
323
|
-
var
|
|
322
|
+
let { endpoint: s } = i, { lang: c = "en" } = i, { translationurl: l = "" } = i, { clientstyling: h = "" } = i, { clientstylingurl: d = "" } = i, { session: u = "" } = i, { customerid: A = "" } = i, { playersession: g = "" } = i, { mbsource: v = "" } = i, S, N = /* @__PURE__ */ new Set(), W = /* @__PURE__ */ new Set(), M, L, F, z = !0, Y = !0, I = !1, E = "", R = !1, ae = window.navigator.userAgent;
|
|
323
|
+
var T;
|
|
324
324
|
(function(e) {
|
|
325
325
|
e.Manual = "Manual", e.ShuftiPro = "ShuftiPro";
|
|
326
|
-
})(
|
|
326
|
+
})(T || (T = {}));
|
|
327
327
|
var U;
|
|
328
328
|
(function(e) {
|
|
329
329
|
e.Requested = "Requested";
|
|
@@ -332,14 +332,14 @@ function ti(t, i, o) {
|
|
|
332
332
|
(function(e) {
|
|
333
333
|
e.Unknown = "Unknown", e.Unverified = "Unverified", e.InProgress = "InProgress", e.Failed = "Failed", e.Verified = "Verified", e.Referred = "Referred", e.True = "True", e.False = "False", e.AwaitingForResponse = "AwaitingForResponse";
|
|
334
334
|
})(p || (p = {}));
|
|
335
|
-
var
|
|
335
|
+
var O;
|
|
336
336
|
(function(e) {
|
|
337
337
|
e.Unknown = "Unknown", e.Documents = "Documents", e.Age = "Age", e.Pep = "Pep", e.Sanction = "Sanction", e.Aml = "Aml", e.ProofOfAddress = "ProofOfAddress", e.SourceOfWealth = "SourceOfWealth", e.SocialMedia = "SocialMedia", e.Biometric = "Biometric";
|
|
338
|
-
})(
|
|
338
|
+
})(O || (O = {}));
|
|
339
339
|
const K = (e) => {
|
|
340
340
|
e.data && e.data.type;
|
|
341
341
|
};
|
|
342
|
-
|
|
342
|
+
ze(() => (window.addEventListener("message", K), be(), () => {
|
|
343
343
|
window.removeEventListener("message", K);
|
|
344
344
|
}));
|
|
345
345
|
const ce = [
|
|
@@ -374,7 +374,7 @@ function ti(t, i, o) {
|
|
|
374
374
|
o(7, R = !0), fetch(e, f).then((m) => m.json()).then((m) => {
|
|
375
375
|
const P = de(m == null ? void 0 : m.Verifications);
|
|
376
376
|
M = me(P), M.VerificationStatuses.forEach((x) => {
|
|
377
|
-
x.VerificationUrlType !== "Widget" &&
|
|
377
|
+
x.VerificationUrlType !== "Widget" && N.add(x.Vendor);
|
|
378
378
|
}), o(3, F = J());
|
|
379
379
|
}).finally(() => o(7, R = !1));
|
|
380
380
|
}, de = (e) => e ? e.sort((r, f) => new Date(f.Created).getTime() - new Date(r.Created).getTime()) : [], ue = () => {
|
|
@@ -419,13 +419,13 @@ function ti(t, i, o) {
|
|
|
419
419
|
VerificationUrl: (P = f.FlowInfo) == null ? void 0 : P.Url
|
|
420
420
|
};
|
|
421
421
|
}), ge = (e) => e.filter((r) => ce.includes(r.Status) ? r.FlowInfo && r.FlowInfo.Url || ve(r) || we(r) : !1), ve = (e) => {
|
|
422
|
-
const r = e.Documents && e.VendorName ===
|
|
422
|
+
const r = e.Documents && e.VendorName === T.Manual, f = e.Documents && e.Documents.some((m) => m.Status === U.Requested);
|
|
423
423
|
return r && f;
|
|
424
|
-
}, we = (e) => e.VendorName ===
|
|
424
|
+
}, we = (e) => e.VendorName === T.ShuftiPro && e.Status === p.Referred, J = () => {
|
|
425
425
|
switch (M.VerificationSummaryStatus) {
|
|
426
426
|
case p.InProgress:
|
|
427
427
|
const e = [];
|
|
428
|
-
return
|
|
428
|
+
return N.forEach((r) => {
|
|
429
429
|
e.push(ye(r));
|
|
430
430
|
}), e;
|
|
431
431
|
case p.Referred:
|
|
@@ -435,7 +435,7 @@ function ti(t, i, o) {
|
|
|
435
435
|
}
|
|
436
436
|
}, ye = (e) => {
|
|
437
437
|
const r = M.VerificationStatuses.filter((f) => f.Vendor === e);
|
|
438
|
-
if (e ===
|
|
438
|
+
if (e === T.ShuftiPro)
|
|
439
439
|
return ke(r);
|
|
440
440
|
{
|
|
441
441
|
const f = a("verification.idenfy.link-name"), m = {
|
|
@@ -445,9 +445,9 @@ function ti(t, i, o) {
|
|
|
445
445
|
}
|
|
446
446
|
}, ke = (e) => {
|
|
447
447
|
const r = [], f = {}, m = [
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
448
|
+
O.Biometric,
|
|
449
|
+
O.Documents,
|
|
450
|
+
O.ProofOfAddress
|
|
451
451
|
];
|
|
452
452
|
e.forEach((_) => {
|
|
453
453
|
m.includes(_.Type) && (r.push(_.Type), f[_.Type] = Ve(_, Pe(_.Type)));
|
|
@@ -483,7 +483,7 @@ function ti(t, i, o) {
|
|
|
483
483
|
));
|
|
484
484
|
}, _e = (e, r) => H(r, e), Ce = (e, r) => H(r, e);
|
|
485
485
|
function Ae(e) {
|
|
486
|
-
|
|
486
|
+
Re[e ? "unshift" : "push"](() => {
|
|
487
487
|
S = e, o(2, S);
|
|
488
488
|
});
|
|
489
489
|
}
|
|
@@ -495,10 +495,10 @@ function ti(t, i, o) {
|
|
|
495
495
|
83968 && s && u && g && G(), t.$$.dirty[0] & /*endpoint, session, playersession*/
|
|
496
496
|
83968 && s && !u && g && ue(), t.$$.dirty[0] & /*translationurl*/
|
|
497
497
|
8192 && l && le(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
498
|
-
5 && h && S &&
|
|
499
|
-
6 && d && S &&
|
|
498
|
+
5 && h && S && Ue(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
499
|
+
6 && d && S && Ie(), t.$$.dirty[0] & /*staticCdnUrl*/
|
|
500
500
|
262144 && L && De(), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
501
|
-
131076 && v && S &&
|
|
501
|
+
131076 && v && S && Ee(S, `${v}.Style`);
|
|
502
502
|
}, [
|
|
503
503
|
h,
|
|
504
504
|
d,
|
|
@@ -531,7 +531,7 @@ class ri extends Me {
|
|
|
531
531
|
i,
|
|
532
532
|
ti,
|
|
533
533
|
ei,
|
|
534
|
-
|
|
534
|
+
qe,
|
|
535
535
|
{
|
|
536
536
|
endpoint: 11,
|
|
537
537
|
lang: 12,
|
|
@@ -602,7 +602,7 @@ class ri extends Me {
|
|
|
602
602
|
this.$$set({ mbsource: i }), y();
|
|
603
603
|
}
|
|
604
604
|
}
|
|
605
|
-
|
|
605
|
+
xe(ri, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, mbsource: {} }, [], [], !0);
|
|
606
606
|
export {
|
|
607
607
|
ri as default
|
|
608
608
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as Te, i as Oe, $ as Be, S as Me, b as Le,
|
|
2
|
-
import { d as ee, u as Ke, i as Ge, x as Ze } from "./CashierMethodDetails-
|
|
1
|
+
import { a as Te, i as Oe, $ as Be, S as Me, b as Le, f as y, c as xe, s as qe, d as Fe, g as w, j as V, P as _, k as P, D as X, p as b, q as Q, r as ze, v as Ie, w as Ee, A as Re, B as Ue, R as $, h as O, x as He, U as je, F as x, l as k, C as j, y as Ne, z as We, E as Ye } from "./CashierError-_mJg7htJ.js";
|
|
2
|
+
import { d as ee, u as Ke, i as Ge, x as Ze } from "./CashierMethodDetails-PPgUijPf.js";
|
|
3
3
|
function ie(t, i) {
|
|
4
4
|
Te(t, i);
|
|
5
5
|
}
|
|
@@ -65,7 +65,7 @@ const te = {
|
|
|
65
65
|
}
|
|
66
66
|
};
|
|
67
67
|
function Xe(t) {
|
|
68
|
-
|
|
68
|
+
Fe(t, "svelte-ltlo52", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--emw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--emw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--emw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--emw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
|
|
69
69
|
}
|
|
70
70
|
function re(t, i, o) {
|
|
71
71
|
const a = t.slice();
|
|
@@ -87,13 +87,13 @@ function Qe(t) {
|
|
|
87
87
|
i = w("div");
|
|
88
88
|
for (let l = 0; l < s.length; l += 1)
|
|
89
89
|
s[l].c();
|
|
90
|
-
o = O(), c && c.c(), a =
|
|
90
|
+
o = O(), c && c.c(), a = He(), V(i, "class", "CashierVerificationsWrapper");
|
|
91
91
|
},
|
|
92
92
|
m(l, h) {
|
|
93
|
-
|
|
93
|
+
P(l, i, h);
|
|
94
94
|
for (let d = 0; d < s.length; d += 1)
|
|
95
95
|
s[d] && s[d].m(i, null);
|
|
96
|
-
|
|
96
|
+
P(l, o, h), c && c.m(l, h), P(l, a, h);
|
|
97
97
|
},
|
|
98
98
|
p(l, h) {
|
|
99
99
|
if (h[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
|
|
@@ -115,7 +115,7 @@ function Qe(t) {
|
|
|
115
115
|
l[6] ? c ? c.p(l, h) : (c = ne(l), c.c(), c.m(a.parentNode, a)) : c && (c.d(1), c = null);
|
|
116
116
|
},
|
|
117
117
|
d(l) {
|
|
118
|
-
l && (
|
|
118
|
+
l && (b(i), b(o), b(a)), je(s, l), c && c.d(l);
|
|
119
119
|
}
|
|
120
120
|
};
|
|
121
121
|
}
|
|
@@ -136,7 +136,7 @@ function $e(t) {
|
|
|
136
136
|
);
|
|
137
137
|
},
|
|
138
138
|
m(o, a) {
|
|
139
|
-
|
|
139
|
+
P(o, i, a);
|
|
140
140
|
},
|
|
141
141
|
p(o, a) {
|
|
142
142
|
a[0] & /*clientstylingurl*/
|
|
@@ -154,7 +154,7 @@ function $e(t) {
|
|
|
154
154
|
);
|
|
155
155
|
},
|
|
156
156
|
d(o) {
|
|
157
|
-
o &&
|
|
157
|
+
o && b(i);
|
|
158
158
|
}
|
|
159
159
|
};
|
|
160
160
|
}
|
|
@@ -175,13 +175,13 @@ function oe(t) {
|
|
|
175
175
|
i = w("span"), i.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', V(i, "class", "CashierVerificationChevron");
|
|
176
176
|
},
|
|
177
177
|
m(s, c) {
|
|
178
|
-
|
|
178
|
+
P(s, i, c), o || (a = j(i, "click", n), o = !0);
|
|
179
179
|
},
|
|
180
180
|
p(s, c) {
|
|
181
181
|
t = s;
|
|
182
182
|
},
|
|
183
183
|
d(s) {
|
|
184
|
-
s &&
|
|
184
|
+
s && b(i), o = !1, a();
|
|
185
185
|
}
|
|
186
186
|
};
|
|
187
187
|
}
|
|
@@ -214,7 +214,7 @@ function se(t) {
|
|
|
214
214
|
);
|
|
215
215
|
},
|
|
216
216
|
m(p, v) {
|
|
217
|
-
|
|
217
|
+
P(p, i, v), k(i, o), k(i, a), k(i, n), n.innerHTML = s, k(i, c), u && u.m(i, null), k(i, l), h || (d = j(i, "click", C), h = !0);
|
|
218
218
|
},
|
|
219
219
|
p(p, v) {
|
|
220
220
|
t = p, v[0] & /*displayMessages*/
|
|
@@ -230,7 +230,7 @@ function se(t) {
|
|
|
230
230
|
);
|
|
231
231
|
},
|
|
232
232
|
d(p) {
|
|
233
|
-
p &&
|
|
233
|
+
p && b(i), u && u.d(), h = !1, d();
|
|
234
234
|
}
|
|
235
235
|
};
|
|
236
236
|
}
|
|
@@ -241,7 +241,7 @@ function ne(t) {
|
|
|
241
241
|
), c, l, h;
|
|
242
242
|
return {
|
|
243
243
|
c() {
|
|
244
|
-
i = w("div"), o = w("div"), o.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', a = O(), n = w("div"), c =
|
|
244
|
+
i = w("div"), o = w("div"), o.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', a = O(), n = w("div"), c = Ne(s), V(o, "class", "IconVideo"), V(n, "class", "CashierVerificationVideoLink"), _(
|
|
245
245
|
n,
|
|
246
246
|
"CashierVerificationVideoLinkDesktop",
|
|
247
247
|
/*desktopView*/
|
|
@@ -249,7 +249,7 @@ function ne(t) {
|
|
|
249
249
|
), V(i, "class", "CashierVerificationVideo");
|
|
250
250
|
},
|
|
251
251
|
m(d, u) {
|
|
252
|
-
|
|
252
|
+
P(d, i, u), k(i, o), k(i, a), k(i, n), k(n, c), l || (h = j(
|
|
253
253
|
n,
|
|
254
254
|
"click",
|
|
255
255
|
/*showVideo*/
|
|
@@ -259,7 +259,7 @@ function ne(t) {
|
|
|
259
259
|
p(d, u) {
|
|
260
260
|
u[0] & /*$_*/
|
|
261
261
|
256 && s !== (s = /*$_*/
|
|
262
|
-
d[8]("verification.video.how-to") + "") &&
|
|
262
|
+
d[8]("verification.video.how-to") + "") && We(c, s), u[0] & /*desktopView*/
|
|
263
263
|
32 && _(
|
|
264
264
|
n,
|
|
265
265
|
"CashierVerificationVideoLinkDesktop",
|
|
@@ -268,7 +268,7 @@ function ne(t) {
|
|
|
268
268
|
);
|
|
269
269
|
},
|
|
270
270
|
d(d) {
|
|
271
|
-
d &&
|
|
271
|
+
d && b(i), l = !1, h();
|
|
272
272
|
}
|
|
273
273
|
};
|
|
274
274
|
}
|
|
@@ -297,7 +297,7 @@ function ei(t) {
|
|
|
297
297
|
);
|
|
298
298
|
},
|
|
299
299
|
m(s, c) {
|
|
300
|
-
|
|
300
|
+
P(s, i, c), n && n.m(i, null), t[21](i);
|
|
301
301
|
},
|
|
302
302
|
p(s, c) {
|
|
303
303
|
a === (a = o(s)) && n ? n.p(s, c) : (n && n.d(1), n = a && a(s), n && (n.c(), n.m(i, null))), c[0] & /*desktopView*/
|
|
@@ -311,15 +311,15 @@ function ei(t) {
|
|
|
311
311
|
i: X,
|
|
312
312
|
o: X,
|
|
313
313
|
d(s) {
|
|
314
|
-
s &&
|
|
314
|
+
s && b(i), n && n.d(), t[21](null);
|
|
315
315
|
}
|
|
316
316
|
};
|
|
317
317
|
}
|
|
318
318
|
const ii = "verification_explanation_video_widgets.MP4";
|
|
319
319
|
function ti(t, i, o) {
|
|
320
320
|
let a, n;
|
|
321
|
-
Q(t,
|
|
322
|
-
let { endpoint: s } = i, { lang: c = "en" } = i, { translationurl: l = "" } = i, { clientstyling: h = "" } = i, { clientstylingurl: d = "" } = i, { session: u = "" } = i, { customerid: C = "" } = i, { playersession: p = "" } = i, { mbsource: v = "" } = i, D,
|
|
321
|
+
Q(t, Ye, (e) => o(8, a = e)), Q(t, Ze, (e) => o(29, n = e)), ee.extend(Ke);
|
|
322
|
+
let { endpoint: s } = i, { lang: c = "en" } = i, { translationurl: l = "" } = i, { clientstyling: h = "" } = i, { clientstylingurl: d = "" } = i, { session: u = "" } = i, { customerid: C = "" } = i, { playersession: p = "" } = i, { mbsource: v = "" } = i, D, N = /* @__PURE__ */ new Set(), W = /* @__PURE__ */ new Set(), B, M, q, F = !0, Y = !0, z = !1, I = "", E = !1, ae = window.navigator.userAgent;
|
|
323
323
|
var A;
|
|
324
324
|
(function(e) {
|
|
325
325
|
e.Manual = "Manual", e.ShuftiPro = "ShuftiPro";
|
|
@@ -339,7 +339,7 @@ function ti(t, i, o) {
|
|
|
339
339
|
const K = (e) => {
|
|
340
340
|
e.data && e.data.type;
|
|
341
341
|
};
|
|
342
|
-
|
|
342
|
+
ze(() => (window.addEventListener("message", K), be(), () => {
|
|
343
343
|
window.removeEventListener("message", K);
|
|
344
344
|
}));
|
|
345
345
|
const ce = [
|
|
@@ -374,7 +374,7 @@ function ti(t, i, o) {
|
|
|
374
374
|
o(7, E = !0), fetch(e, f).then((g) => g.json()).then((g) => {
|
|
375
375
|
const H = de(g?.Verifications);
|
|
376
376
|
B = me(H), B.VerificationStatuses.forEach((L) => {
|
|
377
|
-
L.VerificationUrlType !== "Widget" &&
|
|
377
|
+
L.VerificationUrlType !== "Widget" && N.add(L.Vendor);
|
|
378
378
|
}), o(3, q = J());
|
|
379
379
|
}).finally(() => o(7, E = !1));
|
|
380
380
|
}, de = (e) => e ? e.sort((r, f) => new Date(f.Created).getTime() - new Date(r.Created).getTime()) : [], ue = () => {
|
|
@@ -421,7 +421,7 @@ function ti(t, i, o) {
|
|
|
421
421
|
switch (B.VerificationSummaryStatus) {
|
|
422
422
|
case m.InProgress:
|
|
423
423
|
const e = [];
|
|
424
|
-
return
|
|
424
|
+
return N.forEach((r) => {
|
|
425
425
|
e.push(ye(r));
|
|
426
426
|
}), e;
|
|
427
427
|
case m.Referred:
|
|
@@ -479,7 +479,7 @@ function ti(t, i, o) {
|
|
|
479
479
|
));
|
|
480
480
|
}, _e = (e, r) => U(r, e), Ce = (e, r) => U(r, e);
|
|
481
481
|
function Ae(e) {
|
|
482
|
-
|
|
482
|
+
Re[e ? "unshift" : "push"](() => {
|
|
483
483
|
D = e, o(2, D);
|
|
484
484
|
});
|
|
485
485
|
}
|
|
@@ -491,10 +491,10 @@ function ti(t, i, o) {
|
|
|
491
491
|
83968 && s && u && p && G(), t.$$.dirty[0] & /*endpoint, session, playersession*/
|
|
492
492
|
83968 && s && !u && p && ue(), t.$$.dirty[0] & /*translationurl*/
|
|
493
493
|
8192 && l && le(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
494
|
-
5 && h && D &&
|
|
495
|
-
6 && d && D &&
|
|
494
|
+
5 && h && D && Ue(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
495
|
+
6 && d && D && Ie(), t.$$.dirty[0] & /*staticCdnUrl*/
|
|
496
496
|
262144 && M && De(), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
497
|
-
131076 && v && D &&
|
|
497
|
+
131076 && v && D && Ee(D, `${v}.Style`);
|
|
498
498
|
}, [
|
|
499
499
|
h,
|
|
500
500
|
d,
|
|
@@ -527,7 +527,7 @@ class ri extends Me {
|
|
|
527
527
|
i,
|
|
528
528
|
ti,
|
|
529
529
|
ei,
|
|
530
|
-
|
|
530
|
+
qe,
|
|
531
531
|
{
|
|
532
532
|
endpoint: 11,
|
|
533
533
|
lang: 12,
|
|
@@ -598,7 +598,7 @@ class ri extends Me {
|
|
|
598
598
|
this.$$set({ mbsource: i }), y();
|
|
599
599
|
}
|
|
600
600
|
}
|
|
601
|
-
|
|
601
|
+
xe(ri, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, mbsource: {} }, [], [], !0);
|
|
602
602
|
export {
|
|
603
603
|
ri as default
|
|
604
604
|
};
|