@everymatrix/cashier-page 1.87.27 → 1.87.29

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 (56) hide show
  1. package/components/{CashierCarousel-B7BCHX-g.cjs → CashierCarousel-C5XThtfh.cjs} +1 -1
  2. package/components/{CashierCarousel-5t9t0GpI.js → CashierCarousel-DRn3ehtq.js} +2 -2
  3. package/components/{CashierCarousel-BtZXe9Kw.js → CashierCarousel-QQOg4yym.js} +2 -2
  4. package/components/{CashierError-wmkJ_LzW.js → CashierError-C914quRV.js} +116 -110
  5. package/components/{CashierError-BSruVDLR.js → CashierError-DJcZnX6O.js} +116 -110
  6. package/components/CashierError-xcqmYt3i.cjs +1 -0
  7. package/components/{CashierHeader-BO3-COV_.js → CashierHeader-BPFN9SEC.js} +1 -1
  8. package/components/{CashierHeader-MWDvTdqw.js → CashierHeader-CEC7nQJG.js} +1 -1
  9. package/components/{CashierHeader-BtYklKeL.cjs → CashierHeader-DDfhB64Z.cjs} +1 -1
  10. package/components/{CashierIframeRedirect-BZCzQS4h.cjs → CashierIframeRedirect-9XxvyEBw.cjs} +1 -1
  11. package/components/{CashierIframeRedirect-BBQk6MeN.js → CashierIframeRedirect-BP7NJ6p1.js} +3 -3
  12. package/components/{CashierIframeRedirect-swOX0HhU.js → CashierIframeRedirect-CKZrexE2.js} +3 -3
  13. package/components/{CashierMethodDetails-BEpLjTWw.js → CashierMethodDetails-Bc4C64K3.js} +5 -5
  14. package/components/{CashierMethodDetails-Cr5BtO0u.js → CashierMethodDetails-CThO-o_X.js} +5 -5
  15. package/components/{CashierMethodDetails-C_sAHHCZ.cjs → CashierMethodDetails-ChcJPF89.cjs} +2 -2
  16. package/components/{CashierMethodsList-BAX_69ws.js → CashierMethodsList-CIqNy69R.js} +2 -2
  17. package/components/{CashierMethodsList-DCBLEhPt.js → CashierMethodsList-CffHW3te.js} +2 -2
  18. package/components/{CashierMethodsList-DTYlqanH.cjs → CashierMethodsList-D-4Y6v7N.cjs} +1 -1
  19. package/components/{CashierModal-CjqunSse.js → CashierModal-3eS6Gvbi.js} +2 -2
  20. package/components/{CashierModal-D-QadLLM.cjs → CashierModal-DmM5owe1.cjs} +1 -1
  21. package/components/{CashierModal-BcZp6Y8v.js → CashierModal-dowdVp_e.js} +2 -2
  22. package/components/{CashierNotifications-Cl4Fdzhb.cjs → CashierNotifications-B_lTVVvq.cjs} +1 -1
  23. package/components/{CashierNotifications-CNmBGsbq.js → CashierNotifications-ChYxrRUy.js} +1 -1
  24. package/components/{CashierNotifications-CDGuJTpg.js → CashierNotifications-ScEBZTUe.js} +1 -1
  25. package/components/{CashierPage-DXgBxrbk.js → CashierPage-CgoT_Tcz.js} +10 -10
  26. package/components/{CashierPage-Bdf-Jknw.js → CashierPage-Df-IqxcD.js} +10 -10
  27. package/components/{CashierPage-DuR-elYf.cjs → CashierPage-hNTXEIbY.cjs} +1 -1
  28. package/components/{CashierReceiptPage-D4JmFesp.js → CashierReceiptPage-0u-yk5rc.js} +3 -3
  29. package/components/{CashierReceiptPage-DXfnDlYY.cjs → CashierReceiptPage-B8E2B6Ij.cjs} +1 -1
  30. package/components/{CashierReceiptPage-D1ag7I3G.js → CashierReceiptPage-Bwf4zxw2.js} +3 -3
  31. package/components/{CashierSessionExpirationModal-4Ls1Fu-W.js → CashierSessionExpirationModal-BSUeybIR.js} +2 -2
  32. package/components/{CashierSessionExpirationModal-Bs9P1p0O.js → CashierSessionExpirationModal-DcpTaZDD.js} +2 -2
  33. package/components/{CashierSessionExpirationModal-DCHhqMbT.cjs → CashierSessionExpirationModal-W073tWfM.cjs} +1 -1
  34. package/components/{CashierSpinner-C5jky4--.js → CashierSpinner-CwPj5F5u.js} +2 -2
  35. package/components/{CashierSpinner-DqQ0iI5F.js → CashierSpinner-YW1iFMnV.js} +2 -2
  36. package/components/{CashierSpinner-mFBvhfxU.cjs → CashierSpinner-yu38pjQz.cjs} +1 -1
  37. package/components/{CashierStepUp-DQDl0EpM.js → CashierStepUp-By0enJqZ.js} +2 -2
  38. package/components/{CashierStepUp-CNdC8IHE.cjs → CashierStepUp-CI6vCcMY.cjs} +1 -1
  39. package/components/{CashierStepUp-DftKtPmM.js → CashierStepUp-CwzlBXe1.js} +2 -2
  40. package/components/{CashierTransactionHistory-BoBS6_vA.js → CashierTransactionHistory-CpDb7vuk.js} +5 -5
  41. package/components/{CashierTransactionHistory-C3FpN7Uw.js → CashierTransactionHistory-DyOBP8uw.js} +5 -5
  42. package/components/{CashierTransactionHistory-VeXDqqqm.cjs → CashierTransactionHistory-lkFielyX.cjs} +1 -1
  43. package/components/{CashierVerifications-C8nIza8e.js → CashierVerifications-BPK_yXIx.js} +3 -3
  44. package/components/{CashierVerifications-Z1sjiIdY.cjs → CashierVerifications-BzOqjF7k.cjs} +1 -1
  45. package/components/{CashierVerifications-B1iLlI63.js → CashierVerifications-Deuw_VbD.js} +3 -3
  46. package/components/{TxnStatusIcon-BTsiSWrI.js → TxnStatusIcon-DwSfuqMD.js} +1 -1
  47. package/components/{TxnStatusIcon--sQEkZEL.cjs → TxnStatusIcon-DyfNfP2Z.cjs} +1 -1
  48. package/components/{TxnStatusIcon-BpnoF_GW.js → TxnStatusIcon-InWUIei0.js} +1 -1
  49. package/components/{TxnTypeIcons-rkgus3Me.js → TxnTypeIcons-C-gQcDyM.js} +1 -1
  50. package/components/{TxnTypeIcons-BmbcYhGd.cjs → TxnTypeIcons-DfnFemJx.cjs} +1 -1
  51. package/components/{TxnTypeIcons-CmgZKkt5.js → TxnTypeIcons-F-gDu1uJ.js} +1 -1
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +1 -1
  54. package/esnext/cashier-page.js +1 -1
  55. package/package.json +1 -1
  56. package/components/CashierError-BmfLpy_k.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierPage-DuR-elYf.cjs"),K=require("./CashierHeader-BtYklKeL.cjs");function ne(t,a){e.addMessages(t,a)}function me(t){e.init({fallbackLocale:"en"}),e.$locale.set(t)}const ie={en:{generalMin:"Min",generalMax:"Max",error:"Error",noFavoritePaymentMethods:"No favorite payment methods available",DepositRealTime:"Instant deposit",WithdrawRealTime:"Instant withdrawal",DepositVariable:"Variable",WithdrawVariable:"Variable",carouselTitle:"Favorite Methods",carouselSubtitle:"The most popular payment methods"},tr:{generalMin:"Min",generalMax:"Maks",error:"Hata",noFavoritePaymentMethods:"Favori ödeme yöntemi mevcut değil",DepositRealTime:"Anında para yatırma",WithdrawRealTime:"Anında para çekme",DepositVariable:"Değişken",WithdrawVariable:"Değişken",carouselTitle:"Favori Yöntemler",carouselSubtitle:"En popüler ödeme yöntemleri"},fr:{generalMin:"Min",generalMax:"Max",error:"Erreur",noFavoritePaymentMethods:"Aucun moyen de paiement favori disponible",DepositRealTime:"Dépôt instantané",WithdrawRealTime:"Retrait instantané",DepositVariable:"Variable",WithdrawVariable:"Variable",carouselTitle:"Méthodes favorites",carouselSubtitle:"Les moyens de paiement les plus populaires"}};function fe(t){e.append_styles(t,"svelte-1v34r4p",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CashierCarouselWarpper{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));height:auto;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;position:relative;overflow:hidden}.NavigationArrow{height:220px;z-index:20;display:flex;transition:all 0.3s ease;position:absolute}.NavigationArrow:hover{cursor:pointer}.NavigationArrow:hover svg{opacity:1;transform:scale(1.1);filter:drop-shadow(0 0 0.75rem var(--emw--color-black))}.NavigationArrow svg{opacity:0.6;width:32px;height:32px;align-self:center;fill:var(--emw--color-white);transition:all 0.3s ease}.NavigationArrow.Left{left:0;background:linear-gradient(to right, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.NavigationArrow.Right{right:0;background:linear-gradient(to left, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.CarouselHeader{margin-bottom:20px;text-align:center}.CarouselHeader h4{font-size:12px;text-transform:uppercase;margin:10px 0}.CarouselHeader p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.55;font-size:12px}.NoFavoritePaymentMethods{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px}.CarouselCardsContainer{display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative;max-width:100%}.Carousel{display:flex;gap:10px;height:220px;position:relative;align-items:center;transition:transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.Carousel.dragging{transition:none}.VisualDotIndicator{display:flex;gap:5px;margin-top:16px}.VisualDotIndicator .Dot{border-radius:10px;background-color:var(--emw--color-primary, #f9c405);height:10px;width:10px;opacity:0.5;transition:all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);transform:scale(1)}.VisualDotIndicator .Dot.active{opacity:1;width:30px;transform:scale(1);animation:dotPulse 0.6s ease-out}@keyframes dotPulse{0%{transform:scale(0.8);opacity:0.5}50%{transform:scale(1.15)}100%{transform:scale(1);opacity:1}}.CarouselCardWrapper{border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:10px;z-index:1;padding:5px;height:115px;width:78px;transition:all 0.3s ease;cursor:pointer;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.CarouselCardWrapper.active{height:132px;width:100px}.CarouselCardWrapper.active::before{background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.3}.CarouselCardWrapper::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-white, #f5f5f5) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.2}.CarouselCardWrapper .MethodLogo img{height:20px;width:auto}.CarouselCardWrapper .MethodInfo{display:flex;flex-direction:column;gap:10px;word-break:break-word}.CarouselCardWrapper .MethodInfo .MethodTitle{font-size:var(--emw--font-size-small, 10px);font-weight:800}.CarouselCardWrapper .MethodInfo .MethodProcessingTime{color:var(--emw--color-primary, #f9c405);font-style:italic;font-size:var(--emw--font-size-x-small, 8px)}.CarouselCardWrapper .MethodInfo .MethodLimits{gap:var(--emw--spacing-small-minus, 10px);text-align:left}.CarouselCardWrapper .MethodInfo .Limits{display:flex;flex-direction:column;max-width:100%;font-size:var(--emw--font-size-x-small, 8px);font-weight:var(--emw--font-weight-normal, 300)}')}function le(t,a,r){const l=t.slice();return l[40]=a[r],l[42]=r,l}function se(t,a,r){const l=t.slice();return l[43]=a[r],l[42]=r,l}function he(t){let a,r=t[8]("noFavoritePaymentMethods")+"",l;return{c(){a=e.element("p"),l=e.text(r),e.attr(a,"class","NoFavoritePaymentMethods")},m(o,m){e.insert(o,a,m),e.append(a,l)},p(o,m){m[0]&256&&r!==(r=o[8]("noFavoritePaymentMethods")+"")&&e.set_data(l,r)},d(o){o&&e.detach(a)}}}function ge(t){let a,r=!e.isMobile(t[9])&&t[5].length>1,l,o,m,k=!e.isMobile(t[9])&&t[5].length>1,v,C,g,M,D,f=r&&oe(t),h=e.ensure_array_like(t[5]),d=[];for(let i=0;i<h.length;i+=1)d[i]=ce(se(t,h,i));let u=k&&de(t),p=e.ensure_array_like(Array(t[5].length)),y=[];for(let i=0;i<p.length;i+=1)y[i]=ue(le(t,p,i));return{c(){a=e.element("div"),f&&f.c(),l=e.space(),o=e.element("div");for(let i=0;i<d.length;i+=1)d[i].c();m=e.space(),u&&u.c(),C=e.space(),g=e.element("div");for(let i=0;i<y.length;i+=1)y[i].c();e.attr(o,"class","Carousel"),e.attr(a,"class","CarouselCardsContainer"),e.add_render_callback(()=>t[28].call(a)),e.attr(g,"class","VisualDotIndicator")},m(i,c){e.insert(i,a,c),f&&f.m(a,null),e.append(a,l),e.append(a,o);for(let s=0;s<d.length;s+=1)d[s]&&d[s].m(o,null);t[26](o),e.append(a,m),u&&u.m(a,null),v=e.add_iframe_resize_listener(a,t[28].bind(a)),e.insert(i,C,c),e.insert(i,g,c);for(let s=0;s<y.length;s+=1)y[s]&&y[s].m(g,null);M||(D=[e.listen(o,"touchstart",t[11]),e.listen(o,"touchmove",t[12]),e.listen(o,"touchend",t[13])],M=!0)},p(i,c){if(c[0]&32&&(r=!e.isMobile(i[9])&&i[5].length>1),r?f?f.p(i,c):(f=oe(i),f.c(),f.m(a,l)):f&&(f.d(1),f=null),c[0]&1521){h=e.ensure_array_like(i[5]);let s;for(s=0;s<h.length;s+=1){const L=se(i,h,s);d[s]?d[s].p(L,c):(d[s]=ce(L),d[s].c(),d[s].m(o,null))}for(;s<d.length;s+=1)d[s].d(1);d.length=h.length}if(c[0]&32&&(k=!e.isMobile(i[9])&&i[5].length>1),k?u?u.p(i,c):(u=de(i),u.c(),u.m(a,null)):u&&(u.d(1),u=null),c[0]&96){p=e.ensure_array_like(Array(i[5].length));let s;for(s=0;s<p.length;s+=1){const L=le(i,p,s);y[s]?y[s].p(L,c):(y[s]=ue(L),y[s].c(),y[s].m(g,null))}for(;s<y.length;s+=1)y[s].d(1);y.length=p.length}},d(i){i&&(e.detach(a),e.detach(C),e.detach(g)),f&&f.d(),e.destroy_each(d,i),t[26](null),u&&u.d(),v(),e.destroy_each(y,i),M=!1,e.run_all(D)}}}function oe(t){let a,r,l;return{c(){a=e.element("div"),a.innerHTML='<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M15.9997 5.33335C21.8907 5.33335 26.6663 10.109 26.6663 16C26.6663 21.8911 21.8907 26.6667 15.9997 26.6667C10.1086 26.6667 5.33301 21.8911 5.33301 16C5.33301 10.109 10.1086 5.33335 15.9997 5.33335ZM29.333 16C29.333 8.63622 23.3635 2.66669 15.9997 2.66669C8.63588 2.66669 2.66634 8.63622 2.66634 16C2.66634 23.3638 8.63588 29.3334 15.9997 29.3334C23.3635 29.3334 29.333 23.3638 29.333 16ZM18.2758 11.0572C17.7551 10.5365 16.9109 10.5365 16.3902 11.0572L12.3902 15.0572C11.8695 15.5779 11.8695 16.4221 12.3902 16.9428L16.3902 20.9428C16.9109 21.4635 17.7551 21.4635 18.2758 20.9428C18.7965 20.4221 18.7965 19.5779 18.2758 19.0572L15.2186 16L18.2758 12.9428C18.7965 12.4221 18.7965 11.5779 18.2758 11.0572Z"></path></svg>',e.attr(a,"class","NavigationArrow Left")},m(o,m){e.insert(o,a,m),r||(l=e.listen(a,"click",t[24]),r=!0)},p:e.noop,d(o){o&&e.detach(a),r=!1,l()}}}function ce(t){var q,U,O,B,n,b,w,A;let a,r,l,o,m,k,v,C,g,M=(t[43].Label||t[43].Name)+"",D,f,h,d,u=t[8](`${t[0]}${t[43].ProcessingTime}`)+"",p,y,i,c,s,L=t[8]("generalMin")+"",W,_,T=e.formatCurrency(t[43].DisplayCurrency.MinAmountLimit,t[43].DisplayCurrency.Name,{maximumFractionDigits:t[4][(U=(q=t[43])==null?void 0:q.DisplayCurrency)==null?void 0:U.Name]||t[7],minimumFractionDigits:t[4][(B=(O=t[43])==null?void 0:O.DisplayCurrency)==null?void 0:B.Name]||t[7]})+"",X,E,z,I=t[8]("generalMax")+"",x,P,V=e.formatCurrency(t[43].DisplayCurrency.MaxAmountLimit,t[43].DisplayCurrency.Name,{maximumFractionDigits:t[4][(b=(n=t[43])==null?void 0:n.DisplayCurrency)==null?void 0:b.Name]||t[7],minimumFractionDigits:t[4][(A=(w=t[43])==null?void 0:w.DisplayCurrency)==null?void 0:A.Name]||t[7]})+"",H,j,R,F,Z;function G(){return t[25](t[43],t[42])}return{c(){a=e.element("div"),r=e.element("div"),l=e.element("img"),k=e.space(),v=e.element("div"),C=e.element("div"),g=e.element("span"),D=e.text(M),f=e.space(),h=e.element("div"),d=e.element("span"),p=e.text(u),y=e.space(),i=e.element("div"),c=e.element("span"),s=e.element("span"),W=e.text(L),_=e.space(),X=e.text(T),E=e.space(),z=e.element("span"),x=e.text(I),P=e.space(),H=e.text(V),j=e.space(),e.src_url_equal(l.src,o=t[43].LogoUrl)||e.attr(l,"src",o),e.attr(l,"alt",m=t[43].Label),e.attr(r,"class","MethodLogo"),e.attr(C,"class","MethodTitle"),e.attr(h,"class","MethodProcessingTime"),e.attr(c,"class","Limits"),e.attr(i,"class","MethodLimits"),e.attr(v,"class","MethodInfo"),e.attr(a,"class",R=`CarouselCardWrapper ${t[42]===t[6]?"active":""}`)},m(S,N){e.insert(S,a,N),e.append(a,r),e.append(r,l),e.append(a,k),e.append(a,v),e.append(v,C),e.append(C,g),e.append(g,D),e.append(v,f),e.append(v,h),e.append(h,d),e.append(d,p),e.append(v,y),e.append(v,i),e.append(i,c),e.append(c,s),e.append(s,W),e.append(s,_),e.append(s,X),e.append(c,E),e.append(c,z),e.append(z,x),e.append(z,P),e.append(z,H),e.append(a,j),F||(Z=e.listen(a,"click",G),F=!0)},p(S,N){var Y,J,Q,$,ee,te,ae,re;t=S,N[0]&32&&!e.src_url_equal(l.src,o=t[43].LogoUrl)&&e.attr(l,"src",o),N[0]&32&&m!==(m=t[43].Label)&&e.attr(l,"alt",m),N[0]&32&&M!==(M=(t[43].Label||t[43].Name)+"")&&e.set_data(D,M),N[0]&289&&u!==(u=t[8](`${t[0]}${t[43].ProcessingTime}`)+"")&&e.set_data(p,u),N[0]&256&&L!==(L=t[8]("generalMin")+"")&&e.set_data(W,L),N[0]&176&&T!==(T=e.formatCurrency(t[43].DisplayCurrency.MinAmountLimit,t[43].DisplayCurrency.Name,{maximumFractionDigits:t[4][(J=(Y=t[43])==null?void 0:Y.DisplayCurrency)==null?void 0:J.Name]||t[7],minimumFractionDigits:t[4][($=(Q=t[43])==null?void 0:Q.DisplayCurrency)==null?void 0:$.Name]||t[7]})+"")&&e.set_data(X,T),N[0]&256&&I!==(I=t[8]("generalMax")+"")&&e.set_data(x,I),N[0]&176&&V!==(V=e.formatCurrency(t[43].DisplayCurrency.MaxAmountLimit,t[43].DisplayCurrency.Name,{maximumFractionDigits:t[4][(te=(ee=t[43])==null?void 0:ee.DisplayCurrency)==null?void 0:te.Name]||t[7],minimumFractionDigits:t[4][(re=(ae=t[43])==null?void 0:ae.DisplayCurrency)==null?void 0:re.Name]||t[7]})+"")&&e.set_data(H,V),N[0]&64&&R!==(R=`CarouselCardWrapper ${t[42]===t[6]?"active":""}`)&&e.attr(a,"class",R)},d(S){S&&e.detach(a),F=!1,Z()}}}function de(t){let a,r,l;return{c(){a=e.element("div"),a.innerHTML='<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.0003 5.33335C10.1093 5.33335 5.33366 10.109 5.33366 16C5.33366 21.8911 10.1093 26.6667 16.0003 26.6667C21.8914 26.6667 26.667 21.8911 26.667 16C26.667 10.109 21.8914 5.33335 16.0003 5.33335ZM2.66699 16C2.66699 8.63622 8.63653 2.66669 16.0003 2.66669C23.3641 2.66669 29.3337 8.63622 29.3337 16C29.3337 23.3638 23.3641 29.3334 16.0003 29.3334C8.63653 29.3334 2.66699 23.3638 2.66699 16ZM13.7242 11.0572C14.2449 10.5365 15.0891 10.5365 15.6098 11.0572L19.6098 15.0572C20.1305 15.5779 20.1305 16.4221 19.6098 16.9428L15.6098 20.9428C15.0891 21.4635 14.2449 21.4635 13.7242 20.9428C13.2035 20.4221 13.2035 19.5779 13.7242 19.0572L16.7814 16L13.7242 12.9428C13.2035 12.4221 13.2035 11.5779 13.7242 11.0572Z"></path></svg>',e.attr(a,"class","NavigationArrow Right")},m(o,m){e.insert(o,a,m),r||(l=e.listen(a,"click",t[27]),r=!0)},p:e.noop,d(o){o&&e.detach(a),r=!1,l()}}}function ue(t){let a,r;return{c(){a=e.element("div"),e.attr(a,"class",r=`Dot ${t[42]===t[6]?"active":""}`)},m(l,o){e.insert(l,a,o)},p(l,o){o[0]&64&&r!==(r=`Dot ${l[42]===l[6]?"active":""}`)&&e.attr(a,"class",r)},d(l){l&&e.detach(a)}}}function ye(t){let a,r,l,o,m=t[8]("carouselTitle")+"",k,v,C,g=t[8]("carouselSubtitle")+"",M,D;function f(u,p){return u[5].length>0?ge:he}let h=f(t),d=h(t);return{c(){a=e.element("div"),r=e.element("div"),l=e.element("div"),o=e.element("h4"),k=e.text(m),v=e.space(),C=e.element("p"),M=e.text(g),D=e.space(),d.c(),e.attr(l,"class","CarouselHeader"),e.attr(r,"class","CashierCarouselWarpper")},m(u,p){e.insert(u,a,p),e.append(a,r),e.append(r,l),e.append(l,o),e.append(o,k),e.append(l,v),e.append(l,C),e.append(C,M),e.append(r,D),d.m(r,null),t[29](a)},p(u,p){p[0]&256&&m!==(m=u[8]("carouselTitle")+"")&&e.set_data(k,m),p[0]&256&&g!==(g=u[8]("carouselSubtitle")+"")&&e.set_data(M,g),h===(h=f(u))&&d?d.p(u,p):(d.d(1),d=h(u),d&&(d.c(),d.m(r,null)))},i:e.noop,o:e.noop,d(u){u&&e.detach(a),d.d(),t[29](null)}}}function be(t,a,r){let l,o;e.component_subscribe(t,e.$format,n=>r(8,o=n));let{lang:m="en"}=a,{local:k="en-US"}=a,{currencysymbol:v="true"}=a,{currencyposition:C=""}=a,{currencydecimals:g="0"}=a,{methodtype:M=""}=a,{clientstyling:D=""}=a,{clientstylingurl:f=""}=a,{mbsource:h=""}=a,{translationurl:d=""}=a,u={},p,y,i=[],c=0,s=!0,L=0,W=!1,_,T,X=window.navigator.userAgent;const E=n=>{var w,A;const{data:{type:b}={}}=n||{};switch(b){case"PromotedPaymentMethods":{r(5,i=(w=n==null?void 0:n.data)==null?void 0:w.promotedPaymentMethods),r(6,c=Math.floor((i.length-1)/2));break}case"PrecisionCurrenciesMap":{r(4,u=((A=n==null?void 0:n.data)==null?void 0:A.payload)||{});break}}};Object.keys(ie).forEach(n=>{ne(n,ie[n])});const z=()=>{let n=d;if(n)return fetch(n).then(b=>b.json()).then(b=>{Object.keys(b).forEach(w=>{ne(w,b[w])})}).catch(b=>{console.log(b)})},I=()=>{me(m)},x=(n,b)=>{r(6,c=b),r(2,_.style.transform=P(),_),n.Name,window.postMessage({type:"SelectPayMeth",details:n},window.location.href),dispatchEvent(new CustomEvent("selectPayMeth",{detail:n,bubbles:!0,cancelable:!0,composed:!0}))},P=()=>{if(i.length==1)return"translateX(0px)";const w=78+5,A=w*i.length;let S;i.length%2===1?S=Math.floor(i.length/2):S=Math.floor(i.length/2)-.5;let N=T-A;const Y=S-c;return`translateX(${N/2+Y*w-20}px)`},V=n=>{L=n.touches[0].clientX,W=!0,_.classList.add("dragging")},H=n=>{if(!W)return;const b=n.touches[0].clientX;Math.abs(b-L)>10&&n.preventDefault()},j=n=>{if(!W)return;W=!1,_.classList.remove("dragging");const b=n.changedTouches[0].clientX,w=L-b;Math.abs(w)>50&&(w>0&&c<i.length-1?r(6,c++,c):w<0&&c>0&&r(6,c--,c),r(2,_.style.transform=P(),_))},R=()=>{s&&(r(2,_.style.transform=P(),_),s=!1)},F=n=>{n==="next"&&c<i.length-1?r(6,c++,c):n==="prev"&&c>0&&r(6,c--,c),r(2,_.style.transform=P(),_)};e.onMount(()=>(e.initCurrencyFormatter(k,v,C,g),window.addEventListener("message",E),window.postMessage({type:"CashierCarouselReady"},window.location.href),_&&P(),()=>{window.removeEventListener("message",E)}));const Z=()=>F("prev"),G=(n,b)=>x(n,b);function q(n){e.binding_callbacks[n?"unshift":"push"](()=>{_=n,r(2,_)})}const U=()=>F("next");function O(){T=this.clientWidth,r(3,T)}function B(n){e.binding_callbacks[n?"unshift":"push"](()=>{p=n,r(1,p)})}return t.$$set=n=>{"lang"in n&&r(15,m=n.lang),"local"in n&&r(16,k=n.local),"currencysymbol"in n&&r(17,v=n.currencysymbol),"currencyposition"in n&&r(18,C=n.currencyposition),"currencydecimals"in n&&r(19,g=n.currencydecimals),"methodtype"in n&&r(0,M=n.methodtype),"clientstyling"in n&&r(20,D=n.clientstyling),"clientstylingurl"in n&&r(21,f=n.clientstylingurl),"mbsource"in n&&r(22,h=n.mbsource),"translationurl"in n&&r(23,d=n.translationurl)},t.$$.update=()=>{t.$$.dirty[0]&32768&&m&&I(),t.$$.dirty[0]&8421376&&m&&d&&z(),t.$$.dirty[0]&12&&_&&T&&R(),t.$$.dirty[0]&1048578&&D&&p&&K.setClientStyling(p,D),t.$$.dirty[0]&2097154&&f&&p&&K.setClientStylingURL(p,f),t.$$.dirty[0]&4194306&&h&&p&&K.setStreamStyling(p,`${h}.Style`,y),t.$$.dirty[0]&524288&&r(7,l=Number(g))},[M,p,_,T,u,i,c,l,o,X,x,V,H,j,F,m,k,v,C,g,D,f,h,d,Z,G,q,U,O,B]}class pe extends e.SvelteComponent{constructor(a){super(),e.init$1(this,a,be,ye,e.safe_not_equal,{lang:15,local:16,currencysymbol:17,currencyposition:18,currencydecimals:19,methodtype:0,clientstyling:20,clientstylingurl:21,mbsource:22,translationurl:23},fe,[-1,-1])}get lang(){return this.$$.ctx[15]}set lang(a){this.$$set({lang:a}),e.flush()}get local(){return this.$$.ctx[16]}set local(a){this.$$set({local:a}),e.flush()}get currencysymbol(){return this.$$.ctx[17]}set currencysymbol(a){this.$$set({currencysymbol:a}),e.flush()}get currencyposition(){return this.$$.ctx[18]}set currencyposition(a){this.$$set({currencyposition:a}),e.flush()}get currencydecimals(){return this.$$.ctx[19]}set currencydecimals(a){this.$$set({currencydecimals:a}),e.flush()}get methodtype(){return this.$$.ctx[0]}set methodtype(a){this.$$set({methodtype:a}),e.flush()}get clientstyling(){return this.$$.ctx[20]}set clientstyling(a){this.$$set({clientstyling:a}),e.flush()}get clientstylingurl(){return this.$$.ctx[21]}set clientstylingurl(a){this.$$set({clientstylingurl:a}),e.flush()}get mbsource(){return this.$$.ctx[22]}set mbsource(a){this.$$set({mbsource:a}),e.flush()}get translationurl(){return this.$$.ctx[23]}set translationurl(a){this.$$set({translationurl:a}),e.flush()}}e.create_custom_element(pe,{lang:{},local:{},currencysymbol:{},currencyposition:{},currencydecimals:{},methodtype:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=pe;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierPage-hNTXEIbY.cjs"),K=require("./CashierHeader-DDfhB64Z.cjs");function ne(t,a){e.addMessages(t,a)}function me(t){e.init({fallbackLocale:"en"}),e.$locale.set(t)}const ie={en:{generalMin:"Min",generalMax:"Max",error:"Error",noFavoritePaymentMethods:"No favorite payment methods available",DepositRealTime:"Instant deposit",WithdrawRealTime:"Instant withdrawal",DepositVariable:"Variable",WithdrawVariable:"Variable",carouselTitle:"Favorite Methods",carouselSubtitle:"The most popular payment methods"},tr:{generalMin:"Min",generalMax:"Maks",error:"Hata",noFavoritePaymentMethods:"Favori ödeme yöntemi mevcut değil",DepositRealTime:"Anında para yatırma",WithdrawRealTime:"Anında para çekme",DepositVariable:"Değişken",WithdrawVariable:"Değişken",carouselTitle:"Favori Yöntemler",carouselSubtitle:"En popüler ödeme yöntemleri"},fr:{generalMin:"Min",generalMax:"Max",error:"Erreur",noFavoritePaymentMethods:"Aucun moyen de paiement favori disponible",DepositRealTime:"Dépôt instantané",WithdrawRealTime:"Retrait instantané",DepositVariable:"Variable",WithdrawVariable:"Variable",carouselTitle:"Méthodes favorites",carouselSubtitle:"Les moyens de paiement les plus populaires"}};function fe(t){e.append_styles(t,"svelte-1v34r4p",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CashierCarouselWarpper{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));height:auto;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;position:relative;overflow:hidden}.NavigationArrow{height:220px;z-index:20;display:flex;transition:all 0.3s ease;position:absolute}.NavigationArrow:hover{cursor:pointer}.NavigationArrow:hover svg{opacity:1;transform:scale(1.1);filter:drop-shadow(0 0 0.75rem var(--emw--color-black))}.NavigationArrow svg{opacity:0.6;width:32px;height:32px;align-self:center;fill:var(--emw--color-white);transition:all 0.3s ease}.NavigationArrow.Left{left:0;background:linear-gradient(to right, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.NavigationArrow.Right{right:0;background:linear-gradient(to left, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.CarouselHeader{margin-bottom:20px;text-align:center}.CarouselHeader h4{font-size:12px;text-transform:uppercase;margin:10px 0}.CarouselHeader p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.55;font-size:12px}.NoFavoritePaymentMethods{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px}.CarouselCardsContainer{display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative;max-width:100%}.Carousel{display:flex;gap:10px;height:220px;position:relative;align-items:center;transition:transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.Carousel.dragging{transition:none}.VisualDotIndicator{display:flex;gap:5px;margin-top:16px}.VisualDotIndicator .Dot{border-radius:10px;background-color:var(--emw--color-primary, #f9c405);height:10px;width:10px;opacity:0.5;transition:all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);transform:scale(1)}.VisualDotIndicator .Dot.active{opacity:1;width:30px;transform:scale(1);animation:dotPulse 0.6s ease-out}@keyframes dotPulse{0%{transform:scale(0.8);opacity:0.5}50%{transform:scale(1.15)}100%{transform:scale(1);opacity:1}}.CarouselCardWrapper{border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:10px;z-index:1;padding:5px;height:115px;width:78px;transition:all 0.3s ease;cursor:pointer;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.CarouselCardWrapper.active{height:132px;width:100px}.CarouselCardWrapper.active::before{background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.3}.CarouselCardWrapper::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-white, #f5f5f5) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.2}.CarouselCardWrapper .MethodLogo img{height:20px;width:auto}.CarouselCardWrapper .MethodInfo{display:flex;flex-direction:column;gap:10px;word-break:break-word}.CarouselCardWrapper .MethodInfo .MethodTitle{font-size:var(--emw--font-size-small, 10px);font-weight:800}.CarouselCardWrapper .MethodInfo .MethodProcessingTime{color:var(--emw--color-primary, #f9c405);font-style:italic;font-size:var(--emw--font-size-x-small, 8px)}.CarouselCardWrapper .MethodInfo .MethodLimits{gap:var(--emw--spacing-small-minus, 10px);text-align:left}.CarouselCardWrapper .MethodInfo .Limits{display:flex;flex-direction:column;max-width:100%;font-size:var(--emw--font-size-x-small, 8px);font-weight:var(--emw--font-weight-normal, 300)}')}function le(t,a,r){const l=t.slice();return l[40]=a[r],l[42]=r,l}function se(t,a,r){const l=t.slice();return l[43]=a[r],l[42]=r,l}function he(t){let a,r=t[8]("noFavoritePaymentMethods")+"",l;return{c(){a=e.element("p"),l=e.text(r),e.attr(a,"class","NoFavoritePaymentMethods")},m(o,m){e.insert(o,a,m),e.append(a,l)},p(o,m){m[0]&256&&r!==(r=o[8]("noFavoritePaymentMethods")+"")&&e.set_data(l,r)},d(o){o&&e.detach(a)}}}function ge(t){let a,r=!e.isMobile(t[9])&&t[5].length>1,l,o,m,k=!e.isMobile(t[9])&&t[5].length>1,v,C,g,M,D,f=r&&oe(t),h=e.ensure_array_like(t[5]),d=[];for(let i=0;i<h.length;i+=1)d[i]=ce(se(t,h,i));let u=k&&de(t),p=e.ensure_array_like(Array(t[5].length)),y=[];for(let i=0;i<p.length;i+=1)y[i]=ue(le(t,p,i));return{c(){a=e.element("div"),f&&f.c(),l=e.space(),o=e.element("div");for(let i=0;i<d.length;i+=1)d[i].c();m=e.space(),u&&u.c(),C=e.space(),g=e.element("div");for(let i=0;i<y.length;i+=1)y[i].c();e.attr(o,"class","Carousel"),e.attr(a,"class","CarouselCardsContainer"),e.add_render_callback(()=>t[28].call(a)),e.attr(g,"class","VisualDotIndicator")},m(i,c){e.insert(i,a,c),f&&f.m(a,null),e.append(a,l),e.append(a,o);for(let s=0;s<d.length;s+=1)d[s]&&d[s].m(o,null);t[26](o),e.append(a,m),u&&u.m(a,null),v=e.add_iframe_resize_listener(a,t[28].bind(a)),e.insert(i,C,c),e.insert(i,g,c);for(let s=0;s<y.length;s+=1)y[s]&&y[s].m(g,null);M||(D=[e.listen(o,"touchstart",t[11]),e.listen(o,"touchmove",t[12]),e.listen(o,"touchend",t[13])],M=!0)},p(i,c){if(c[0]&32&&(r=!e.isMobile(i[9])&&i[5].length>1),r?f?f.p(i,c):(f=oe(i),f.c(),f.m(a,l)):f&&(f.d(1),f=null),c[0]&1521){h=e.ensure_array_like(i[5]);let s;for(s=0;s<h.length;s+=1){const L=se(i,h,s);d[s]?d[s].p(L,c):(d[s]=ce(L),d[s].c(),d[s].m(o,null))}for(;s<d.length;s+=1)d[s].d(1);d.length=h.length}if(c[0]&32&&(k=!e.isMobile(i[9])&&i[5].length>1),k?u?u.p(i,c):(u=de(i),u.c(),u.m(a,null)):u&&(u.d(1),u=null),c[0]&96){p=e.ensure_array_like(Array(i[5].length));let s;for(s=0;s<p.length;s+=1){const L=le(i,p,s);y[s]?y[s].p(L,c):(y[s]=ue(L),y[s].c(),y[s].m(g,null))}for(;s<y.length;s+=1)y[s].d(1);y.length=p.length}},d(i){i&&(e.detach(a),e.detach(C),e.detach(g)),f&&f.d(),e.destroy_each(d,i),t[26](null),u&&u.d(),v(),e.destroy_each(y,i),M=!1,e.run_all(D)}}}function oe(t){let a,r,l;return{c(){a=e.element("div"),a.innerHTML='<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M15.9997 5.33335C21.8907 5.33335 26.6663 10.109 26.6663 16C26.6663 21.8911 21.8907 26.6667 15.9997 26.6667C10.1086 26.6667 5.33301 21.8911 5.33301 16C5.33301 10.109 10.1086 5.33335 15.9997 5.33335ZM29.333 16C29.333 8.63622 23.3635 2.66669 15.9997 2.66669C8.63588 2.66669 2.66634 8.63622 2.66634 16C2.66634 23.3638 8.63588 29.3334 15.9997 29.3334C23.3635 29.3334 29.333 23.3638 29.333 16ZM18.2758 11.0572C17.7551 10.5365 16.9109 10.5365 16.3902 11.0572L12.3902 15.0572C11.8695 15.5779 11.8695 16.4221 12.3902 16.9428L16.3902 20.9428C16.9109 21.4635 17.7551 21.4635 18.2758 20.9428C18.7965 20.4221 18.7965 19.5779 18.2758 19.0572L15.2186 16L18.2758 12.9428C18.7965 12.4221 18.7965 11.5779 18.2758 11.0572Z"></path></svg>',e.attr(a,"class","NavigationArrow Left")},m(o,m){e.insert(o,a,m),r||(l=e.listen(a,"click",t[24]),r=!0)},p:e.noop,d(o){o&&e.detach(a),r=!1,l()}}}function ce(t){var q,U,O,B,n,b,w,A;let a,r,l,o,m,k,v,C,g,M=(t[43].Label||t[43].Name)+"",D,f,h,d,u=t[8](`${t[0]}${t[43].ProcessingTime}`)+"",p,y,i,c,s,L=t[8]("generalMin")+"",W,_,T=e.formatCurrency(t[43].DisplayCurrency.MinAmountLimit,t[43].DisplayCurrency.Name,{maximumFractionDigits:t[4][(U=(q=t[43])==null?void 0:q.DisplayCurrency)==null?void 0:U.Name]||t[7],minimumFractionDigits:t[4][(B=(O=t[43])==null?void 0:O.DisplayCurrency)==null?void 0:B.Name]||t[7]})+"",X,E,z,I=t[8]("generalMax")+"",x,P,V=e.formatCurrency(t[43].DisplayCurrency.MaxAmountLimit,t[43].DisplayCurrency.Name,{maximumFractionDigits:t[4][(b=(n=t[43])==null?void 0:n.DisplayCurrency)==null?void 0:b.Name]||t[7],minimumFractionDigits:t[4][(A=(w=t[43])==null?void 0:w.DisplayCurrency)==null?void 0:A.Name]||t[7]})+"",H,j,R,F,Z;function G(){return t[25](t[43],t[42])}return{c(){a=e.element("div"),r=e.element("div"),l=e.element("img"),k=e.space(),v=e.element("div"),C=e.element("div"),g=e.element("span"),D=e.text(M),f=e.space(),h=e.element("div"),d=e.element("span"),p=e.text(u),y=e.space(),i=e.element("div"),c=e.element("span"),s=e.element("span"),W=e.text(L),_=e.space(),X=e.text(T),E=e.space(),z=e.element("span"),x=e.text(I),P=e.space(),H=e.text(V),j=e.space(),e.src_url_equal(l.src,o=t[43].LogoUrl)||e.attr(l,"src",o),e.attr(l,"alt",m=t[43].Label),e.attr(r,"class","MethodLogo"),e.attr(C,"class","MethodTitle"),e.attr(h,"class","MethodProcessingTime"),e.attr(c,"class","Limits"),e.attr(i,"class","MethodLimits"),e.attr(v,"class","MethodInfo"),e.attr(a,"class",R=`CarouselCardWrapper ${t[42]===t[6]?"active":""}`)},m(S,N){e.insert(S,a,N),e.append(a,r),e.append(r,l),e.append(a,k),e.append(a,v),e.append(v,C),e.append(C,g),e.append(g,D),e.append(v,f),e.append(v,h),e.append(h,d),e.append(d,p),e.append(v,y),e.append(v,i),e.append(i,c),e.append(c,s),e.append(s,W),e.append(s,_),e.append(s,X),e.append(c,E),e.append(c,z),e.append(z,x),e.append(z,P),e.append(z,H),e.append(a,j),F||(Z=e.listen(a,"click",G),F=!0)},p(S,N){var Y,J,Q,$,ee,te,ae,re;t=S,N[0]&32&&!e.src_url_equal(l.src,o=t[43].LogoUrl)&&e.attr(l,"src",o),N[0]&32&&m!==(m=t[43].Label)&&e.attr(l,"alt",m),N[0]&32&&M!==(M=(t[43].Label||t[43].Name)+"")&&e.set_data(D,M),N[0]&289&&u!==(u=t[8](`${t[0]}${t[43].ProcessingTime}`)+"")&&e.set_data(p,u),N[0]&256&&L!==(L=t[8]("generalMin")+"")&&e.set_data(W,L),N[0]&176&&T!==(T=e.formatCurrency(t[43].DisplayCurrency.MinAmountLimit,t[43].DisplayCurrency.Name,{maximumFractionDigits:t[4][(J=(Y=t[43])==null?void 0:Y.DisplayCurrency)==null?void 0:J.Name]||t[7],minimumFractionDigits:t[4][($=(Q=t[43])==null?void 0:Q.DisplayCurrency)==null?void 0:$.Name]||t[7]})+"")&&e.set_data(X,T),N[0]&256&&I!==(I=t[8]("generalMax")+"")&&e.set_data(x,I),N[0]&176&&V!==(V=e.formatCurrency(t[43].DisplayCurrency.MaxAmountLimit,t[43].DisplayCurrency.Name,{maximumFractionDigits:t[4][(te=(ee=t[43])==null?void 0:ee.DisplayCurrency)==null?void 0:te.Name]||t[7],minimumFractionDigits:t[4][(re=(ae=t[43])==null?void 0:ae.DisplayCurrency)==null?void 0:re.Name]||t[7]})+"")&&e.set_data(H,V),N[0]&64&&R!==(R=`CarouselCardWrapper ${t[42]===t[6]?"active":""}`)&&e.attr(a,"class",R)},d(S){S&&e.detach(a),F=!1,Z()}}}function de(t){let a,r,l;return{c(){a=e.element("div"),a.innerHTML='<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.0003 5.33335C10.1093 5.33335 5.33366 10.109 5.33366 16C5.33366 21.8911 10.1093 26.6667 16.0003 26.6667C21.8914 26.6667 26.667 21.8911 26.667 16C26.667 10.109 21.8914 5.33335 16.0003 5.33335ZM2.66699 16C2.66699 8.63622 8.63653 2.66669 16.0003 2.66669C23.3641 2.66669 29.3337 8.63622 29.3337 16C29.3337 23.3638 23.3641 29.3334 16.0003 29.3334C8.63653 29.3334 2.66699 23.3638 2.66699 16ZM13.7242 11.0572C14.2449 10.5365 15.0891 10.5365 15.6098 11.0572L19.6098 15.0572C20.1305 15.5779 20.1305 16.4221 19.6098 16.9428L15.6098 20.9428C15.0891 21.4635 14.2449 21.4635 13.7242 20.9428C13.2035 20.4221 13.2035 19.5779 13.7242 19.0572L16.7814 16L13.7242 12.9428C13.2035 12.4221 13.2035 11.5779 13.7242 11.0572Z"></path></svg>',e.attr(a,"class","NavigationArrow Right")},m(o,m){e.insert(o,a,m),r||(l=e.listen(a,"click",t[27]),r=!0)},p:e.noop,d(o){o&&e.detach(a),r=!1,l()}}}function ue(t){let a,r;return{c(){a=e.element("div"),e.attr(a,"class",r=`Dot ${t[42]===t[6]?"active":""}`)},m(l,o){e.insert(l,a,o)},p(l,o){o[0]&64&&r!==(r=`Dot ${l[42]===l[6]?"active":""}`)&&e.attr(a,"class",r)},d(l){l&&e.detach(a)}}}function ye(t){let a,r,l,o,m=t[8]("carouselTitle")+"",k,v,C,g=t[8]("carouselSubtitle")+"",M,D;function f(u,p){return u[5].length>0?ge:he}let h=f(t),d=h(t);return{c(){a=e.element("div"),r=e.element("div"),l=e.element("div"),o=e.element("h4"),k=e.text(m),v=e.space(),C=e.element("p"),M=e.text(g),D=e.space(),d.c(),e.attr(l,"class","CarouselHeader"),e.attr(r,"class","CashierCarouselWarpper")},m(u,p){e.insert(u,a,p),e.append(a,r),e.append(r,l),e.append(l,o),e.append(o,k),e.append(l,v),e.append(l,C),e.append(C,M),e.append(r,D),d.m(r,null),t[29](a)},p(u,p){p[0]&256&&m!==(m=u[8]("carouselTitle")+"")&&e.set_data(k,m),p[0]&256&&g!==(g=u[8]("carouselSubtitle")+"")&&e.set_data(M,g),h===(h=f(u))&&d?d.p(u,p):(d.d(1),d=h(u),d&&(d.c(),d.m(r,null)))},i:e.noop,o:e.noop,d(u){u&&e.detach(a),d.d(),t[29](null)}}}function be(t,a,r){let l,o;e.component_subscribe(t,e.$format,n=>r(8,o=n));let{lang:m="en"}=a,{local:k="en-US"}=a,{currencysymbol:v="true"}=a,{currencyposition:C=""}=a,{currencydecimals:g="0"}=a,{methodtype:M=""}=a,{clientstyling:D=""}=a,{clientstylingurl:f=""}=a,{mbsource:h=""}=a,{translationurl:d=""}=a,u={},p,y,i=[],c=0,s=!0,L=0,W=!1,_,T,X=window.navigator.userAgent;const E=n=>{var w,A;const{data:{type:b}={}}=n||{};switch(b){case"PromotedPaymentMethods":{r(5,i=(w=n==null?void 0:n.data)==null?void 0:w.promotedPaymentMethods),r(6,c=Math.floor((i.length-1)/2));break}case"PrecisionCurrenciesMap":{r(4,u=((A=n==null?void 0:n.data)==null?void 0:A.payload)||{});break}}};Object.keys(ie).forEach(n=>{ne(n,ie[n])});const z=()=>{let n=d;if(n)return fetch(n).then(b=>b.json()).then(b=>{Object.keys(b).forEach(w=>{ne(w,b[w])})}).catch(b=>{console.log(b)})},I=()=>{me(m)},x=(n,b)=>{r(6,c=b),r(2,_.style.transform=P(),_),n.Name,window.postMessage({type:"SelectPayMeth",details:n},window.location.href),dispatchEvent(new CustomEvent("selectPayMeth",{detail:n,bubbles:!0,cancelable:!0,composed:!0}))},P=()=>{if(i.length==1)return"translateX(0px)";const w=78+5,A=w*i.length;let S;i.length%2===1?S=Math.floor(i.length/2):S=Math.floor(i.length/2)-.5;let N=T-A;const Y=S-c;return`translateX(${N/2+Y*w-20}px)`},V=n=>{L=n.touches[0].clientX,W=!0,_.classList.add("dragging")},H=n=>{if(!W)return;const b=n.touches[0].clientX;Math.abs(b-L)>10&&n.preventDefault()},j=n=>{if(!W)return;W=!1,_.classList.remove("dragging");const b=n.changedTouches[0].clientX,w=L-b;Math.abs(w)>50&&(w>0&&c<i.length-1?r(6,c++,c):w<0&&c>0&&r(6,c--,c),r(2,_.style.transform=P(),_))},R=()=>{s&&(r(2,_.style.transform=P(),_),s=!1)},F=n=>{n==="next"&&c<i.length-1?r(6,c++,c):n==="prev"&&c>0&&r(6,c--,c),r(2,_.style.transform=P(),_)};e.onMount(()=>(e.initCurrencyFormatter(k,v,C,g),window.addEventListener("message",E),window.postMessage({type:"CashierCarouselReady"},window.location.href),_&&P(),()=>{window.removeEventListener("message",E)}));const Z=()=>F("prev"),G=(n,b)=>x(n,b);function q(n){e.binding_callbacks[n?"unshift":"push"](()=>{_=n,r(2,_)})}const U=()=>F("next");function O(){T=this.clientWidth,r(3,T)}function B(n){e.binding_callbacks[n?"unshift":"push"](()=>{p=n,r(1,p)})}return t.$$set=n=>{"lang"in n&&r(15,m=n.lang),"local"in n&&r(16,k=n.local),"currencysymbol"in n&&r(17,v=n.currencysymbol),"currencyposition"in n&&r(18,C=n.currencyposition),"currencydecimals"in n&&r(19,g=n.currencydecimals),"methodtype"in n&&r(0,M=n.methodtype),"clientstyling"in n&&r(20,D=n.clientstyling),"clientstylingurl"in n&&r(21,f=n.clientstylingurl),"mbsource"in n&&r(22,h=n.mbsource),"translationurl"in n&&r(23,d=n.translationurl)},t.$$.update=()=>{t.$$.dirty[0]&32768&&m&&I(),t.$$.dirty[0]&8421376&&m&&d&&z(),t.$$.dirty[0]&12&&_&&T&&R(),t.$$.dirty[0]&1048578&&D&&p&&K.setClientStyling(p,D),t.$$.dirty[0]&2097154&&f&&p&&K.setClientStylingURL(p,f),t.$$.dirty[0]&4194306&&h&&p&&K.setStreamStyling(p,`${h}.Style`,y),t.$$.dirty[0]&524288&&r(7,l=Number(g))},[M,p,_,T,u,i,c,l,o,X,x,V,H,j,F,m,k,v,C,g,D,f,h,d,Z,G,q,U,O,B]}class pe extends e.SvelteComponent{constructor(a){super(),e.init$1(this,a,be,ye,e.safe_not_equal,{lang:15,local:16,currencysymbol:17,currencyposition:18,currencydecimals:19,methodtype:0,clientstyling:20,clientstylingurl:21,mbsource:22,translationurl:23},fe,[-1,-1])}get lang(){return this.$$.ctx[15]}set lang(a){this.$$set({lang:a}),e.flush()}get local(){return this.$$.ctx[16]}set local(a){this.$$set({local:a}),e.flush()}get currencysymbol(){return this.$$.ctx[17]}set currencysymbol(a){this.$$set({currencysymbol:a}),e.flush()}get currencyposition(){return this.$$.ctx[18]}set currencyposition(a){this.$$set({currencyposition:a}),e.flush()}get currencydecimals(){return this.$$.ctx[19]}set currencydecimals(a){this.$$set({currencydecimals:a}),e.flush()}get methodtype(){return this.$$.ctx[0]}set methodtype(a){this.$$set({methodtype:a}),e.flush()}get clientstyling(){return this.$$.ctx[20]}set clientstyling(a){this.$$set({clientstyling:a}),e.flush()}get clientstylingurl(){return this.$$.ctx[21]}set clientstylingurl(a){this.$$set({clientstylingurl:a}),e.flush()}get mbsource(){return this.$$.ctx[22]}set mbsource(a){this.$$set({mbsource:a}),e.flush()}get translationurl(){return this.$$.ctx[23]}set translationurl(a){this.$$set({translationurl:a}),e.flush()}}e.create_custom_element(pe,{lang:{},local:{},currencysymbol:{},currencyposition:{},currencydecimals:{},methodtype:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=pe;
@@ -1,5 +1,5 @@
1
- import { a as Ne, i as Te, $ as We, S as Ae, b as Se, s as ze, f as z, c as Fe, y as se, e as V, v as P, k as R, l as c, m as g, w as I, n as A, o as p, p as Pe, q as Ie, x as pe, C as re, D as le, E as ye, F as Ve, G as Re, z as O, H as Xe, I as ne, J as be, K as Ee, A as xe, B as He } from "./CashierPage-Bdf-Jknw.js";
2
- import { s as je, a as Ze, b as Ue } from "./CashierHeader-MWDvTdqw.js";
1
+ import { a as Ne, i as Te, $ as We, S as Ae, b as Se, s as ze, f as z, c as Fe, y as se, e as V, v as P, k as R, l as c, m as g, w as I, n as A, o as p, p as Pe, q as Ie, x as pe, C as re, D as le, E as ye, F as Ve, G as Re, z as O, H as Xe, I as ne, J as be, K as Ee, A as xe, B as He } from "./CashierPage-Df-IqxcD.js";
2
+ import { s as je, a as Ze, b as Ue } from "./CashierHeader-CEC7nQJG.js";
3
3
  function ve(e, t) {
4
4
  Ne(e, t);
5
5
  }
@@ -1,5 +1,5 @@
1
- import { a as we, i as Ce, $ as _e, S as Me, b as ke, s as De, f as z, d as Le, z as te, g as I, w as F, l as V, m as c, n as g, x as P, o as W, p, q as Ne, r as Te, y as le, C as Q, D as $, E as ne, F as We, G as Ae, A as B, H as Se, I as ee, J as se, K as ze, c as Fe, B as Pe } from "./CashierPage-DXgBxrbk.js";
2
- import { s as Ie, a as Ve, b as Re } from "./CashierHeader-BO3-COV_.js";
1
+ import { a as we, i as Ce, $ as _e, S as Me, b as ke, s as De, f as z, d as Le, z as te, g as I, w as F, l as V, m as c, n as g, x as P, o as W, p, q as Ne, r as Te, y as le, C as Q, D as $, E as ne, F as We, G as Ae, A as B, H as Se, I as ee, J as se, K as ze, c as Fe, B as Pe } from "./CashierPage-CgoT_Tcz.js";
2
+ import { s as Ie, a as Ve, b as Re } from "./CashierHeader-BPFN9SEC.js";
3
3
  function oe(e, t) {
4
4
  we(e, t);
5
5
  }
@@ -1,7 +1,7 @@
1
- import { a as J, i as K, $ as j, S as Y, b as X, s as Q, f as b, c as Z, d as E, e as C, t as M, g as I, u as L, h as D, j as x, k as T, l as v, m as z, n as P, o as S, p as $, q as ee, r as te, v as F, w as G, z as re, x as ie, J as B, O as A, A as ae, B as ne } from "./CashierPage-Bdf-Jknw.js";
2
- import { s as oe, a as se, b as le } from "./CashierHeader-MWDvTdqw.js";
1
+ import { a as J, i as K, $ as j, S as Y, b as X, s as Q, f as v, c as Z, d as T, e as C, t as L, g as A, u as M, h as I, j as D, k as E, l as b, m as z, n as R, o as x, p as $, q as ee, r as te, v as F, w as G, z as re, x as ie, J as O, O as P, A as ae, B as ne } from "./CashierPage-Df-IqxcD.js";
2
+ import { s as oe, a as se, b as le } from "./CashierHeader-CEC7nQJG.js";
3
3
  import "../stencil/ui-image-CNaRr0ax.js";
4
- function R(t, e) {
4
+ function V(t, e) {
5
5
  J(t, e);
6
6
  }
7
7
  function ue(t) {
@@ -9,7 +9,7 @@ function ue(t) {
9
9
  fallbackLocale: "en"
10
10
  }), j.set(t);
11
11
  }
12
- const V = {
12
+ const B = {
13
13
  en: {
14
14
  errorGeneralTitle: "Error Occurred",
15
15
  errorGeneralText: "Something went wrong",
@@ -37,7 +37,9 @@ const V = {
37
37
  DeclinedByMerchant: "We apologise, but transaction has been closed by merchant. Please contact Customer Support for further assistance.",
38
38
  FraudSuspectedError: "We apologise, but we are unable to process your transaction at this time, please try later or contact Customer Support for further assistance. Error Code 22020",
39
39
  OnlyOnePendingTransactionPerUserlsAllowed: "Only one pending transaction per user is allowed",
40
- TransactionFrequencyLimitReached: "Transaction frequency limit reached"
40
+ TransactionFrequencyLimitReached: "Transaction frequency limit reached",
41
+ NotMappedVendorError: "Your balance is insufficient or you may have reached your transaction limit. Please contact your Telecommunication service provider",
42
+ LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED: "Your balance is insufficient or you may have reached your transaction limit. Please contact your Telecommunication service provider"
41
43
  },
42
44
  tr: {
43
45
  errorGeneralTitle: "Hata oluştu",
@@ -66,7 +68,9 @@ const V = {
66
68
  DeclinedByMerchant: "Özür dileriz, ancak işlem satıcı tarafından kapatıldı. Daha fazla yardım için lütfen Müşteri Desteği ile iletişime geçin.",
67
69
  FraudSuspectedError: "Üzgünüz, ancak işleminizi şu anda gerçekleştiremiyoruz. Lütfen daha sonra tekrar deneyin veya daha fazla yardım için Müşteri Desteği ile iletişime geçin. Hata Kodu 22020.",
68
70
  OnlyOnePendingTransactionPerUserlsAllowed: "Devam eden bir talebiniz olduğu için șu anda yeni bir işlem başlatılamaz.",
69
- TransactionFrequencyLimitReached: "İşlem sıklığı limiti aşıldı"
71
+ TransactionFrequencyLimitReached: "İşlem sıklığı limiti aşıldı",
72
+ NotMappedVendorError: "Bakiyeniz yetersiz veya işlem limitinize ulaşmış olabilirsiniz. Lütfen Telekom servis sağlayıcınızla iletişime geçin",
73
+ LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED: "Bakiyeniz yetersiz veya işlem limitinize ulaşmış olabilirsiniz. Lütfen Telekom servis sağlayıcınızla iletişime geçin"
70
74
  },
71
75
  fr: {
72
76
  errorGeneralTitle: "Une erreur s’est produite",
@@ -95,55 +99,57 @@ const V = {
95
99
  DeclinedByMerchant: "Nous sommes désolés, mais la transaction a été clôturée par le marchand. Veuillez contacter le service client pour obtenir de l’aide.",
96
100
  FraudSuspectedError: "Nous sommes désolés, mais nous ne pouvons pas traiter votre transaction pour le moment. Veuillez réessayer plus tard ou contacter le service client pour obtenir de l’aide. Code d’erreur 22020",
97
101
  OnlyOnePendingTransactionPerUserlsAllowed: "Une seule transaction en attente par utilisateur est autorisée",
98
- TransactionFrequencyLimitReached: "Limite de fréquence des transactions atteinte"
102
+ TransactionFrequencyLimitReached: "Limite de fréquence des transactions atteinte",
103
+ NotMappedVendorError: "Votre solde est insuffisant ou vous avez peut-être atteint votre limite de transaction. Veuillez contacter votre fournisseur de services de télécommunication",
104
+ LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED: "Votre solde est insuffisant ou vous avez peut-être atteint votre limite de transaction. Veuillez contacter votre fournisseur de services de télécommunication"
99
105
  }
100
106
  };
101
- function de(t) {
107
+ function ce(t) {
102
108
  Z(t, "svelte-m958fw", ".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.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}.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, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);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{width:300px}");
103
109
  }
104
- const ce = (t) => ({}), W = (t) => ({}), me = (t) => ({}), U = (t) => ({}), fe = (t) => ({}), H = (t) => ({}), he = (t) => ({}), N = (t) => ({ class: "CashierErrorIcon" });
105
- function O(t) {
110
+ const de = (t) => ({}), N = (t) => ({}), me = (t) => ({}), W = (t) => ({}), fe = (t) => ({}), q = (t) => ({}), he = (t) => ({}), H = (t) => ({ class: "CashierErrorIcon" });
111
+ function U(t) {
106
112
  let e, r;
107
113
  return {
108
114
  c() {
109
- e = z("ui-image"), B(e.src, r = `${/*assetsurl*/
110
- t[0]}/error-general-icon.png`) || A(e, "src", r), A(e, "width", "300px"), A(e, "alt", "error");
115
+ e = z("ui-image"), O(e.src, r = `${/*assetsurl*/
116
+ t[0]}/error-general-icon.png`) || P(e, "src", r), P(e, "width", "300px"), P(e, "alt", "error");
111
117
  },
112
118
  m(n, o) {
113
- T(n, e, o);
119
+ E(n, e, o);
114
120
  },
115
121
  p(n, o) {
116
122
  o & /*assetsurl*/
117
- 1 && !B(e.src, r = `${/*assetsurl*/
118
- n[0]}/error-general-icon.png`) && A(e, "src", r);
123
+ 1 && !O(e.src, r = `${/*assetsurl*/
124
+ n[0]}/error-general-icon.png`) && P(e, "src", r);
119
125
  },
120
126
  d(n) {
121
127
  n && C(e);
122
128
  }
123
129
  };
124
130
  }
125
- function pe(t) {
131
+ function ye(t) {
126
132
  let e, r = (
127
133
  /*assetsurl*/
128
- t[0] && O(t)
134
+ t[0] && U(t)
129
135
  );
130
136
  return {
131
137
  c() {
132
138
  r && r.c(), e = te();
133
139
  },
134
140
  m(n, o) {
135
- r && r.m(n, o), T(n, e, o);
141
+ r && r.m(n, o), E(n, e, o);
136
142
  },
137
143
  p(n, o) {
138
144
  /*assetsurl*/
139
- n[0] ? r ? r.p(n, o) : (r = O(n), r.c(), r.m(e.parentNode, e)) : r && (r.d(1), r = null);
145
+ n[0] ? r ? r.p(n, o) : (r = U(n), r.c(), r.m(e.parentNode, e)) : r && (r.d(1), r = null);
140
146
  },
141
147
  d(n) {
142
148
  n && C(e), r && r.d(n);
143
149
  }
144
150
  };
145
151
  }
146
- function ye(t) {
152
+ function pe(t) {
147
153
  let e, r = (
148
154
  /*$_*/
149
155
  t[3](`${/*errorcode*/
@@ -151,10 +157,10 @@ function ye(t) {
151
157
  ), n;
152
158
  return {
153
159
  c() {
154
- e = z("span"), n = G(r), S(e, "class", "CashierErrorText");
160
+ e = z("span"), n = G(r), x(e, "class", "CashierErrorText");
155
161
  },
156
162
  m(o, m) {
157
- T(o, e, m), v(e, n);
163
+ E(o, e, m), b(e, n);
158
164
  },
159
165
  p(o, m) {
160
166
  m & /*$_, errorcode*/
@@ -174,178 +180,178 @@ function ge(t) {
174
180
  ), o, m, s;
175
181
  return {
176
182
  c() {
177
- e = z("button"), r = z("span"), o = G(n), S(e, "class", "CashierErrorButton");
183
+ e = z("button"), r = z("span"), o = G(n), x(e, "class", "CashierErrorButton");
178
184
  },
179
- m(d, p) {
180
- T(d, e, p), v(e, r), v(r, o), m || (s = re(
185
+ m(c, y) {
186
+ E(c, e, y), b(e, r), b(r, o), m || (s = re(
181
187
  e,
182
188
  "click",
183
189
  /*close*/
184
190
  t[4]
185
191
  ), m = !0);
186
192
  },
187
- p(d, p) {
188
- p & /*$_*/
193
+ p(c, y) {
194
+ y & /*$_*/
189
195
  8 && n !== (n = /*$_*/
190
- d[3]("errorGeneralButton") + "") && F(o, n);
196
+ c[3]("errorGeneralButton") + "") && F(o, n);
191
197
  },
192
- d(d) {
193
- d && C(e), m = !1, s();
198
+ d(c) {
199
+ c && C(e), m = !1, s();
194
200
  }
195
201
  };
196
202
  }
197
- function be(t) {
203
+ function ve(t) {
198
204
  let e, r, n, o, m, s;
199
- const d = (
205
+ const c = (
200
206
  /*#slots*/
201
207
  t[11].icon
202
- ), p = E(
203
- d,
208
+ ), y = T(
209
+ c,
204
210
  t,
205
211
  /*$$scope*/
206
212
  t[10],
207
- N
208
- ), l = p || pe(t), y = (
213
+ H
214
+ ), l = y || ye(t), p = (
209
215
  /*#slots*/
210
216
  t[11].title
211
- ), u = E(
212
- y,
217
+ ), u = T(
218
+ p,
213
219
  t,
214
220
  /*$$scope*/
215
221
  t[10],
216
- H
222
+ q
217
223
  ), g = (
218
224
  /*#slots*/
219
225
  t[11].text
220
- ), c = E(
226
+ ), d = T(
221
227
  g,
222
228
  t,
223
229
  /*$$scope*/
224
230
  t[10],
225
- U
226
- ), f = c || ye(t), w = (
231
+ W
232
+ ), f = d || pe(t), w = (
227
233
  /*#slots*/
228
234
  t[11].button
229
- ), k = E(
235
+ ), _ = T(
230
236
  w,
231
237
  t,
232
238
  /*$$scope*/
233
239
  t[10],
234
- W
235
- ), h = k || ge(t);
240
+ N
241
+ ), h = _ || ge(t);
236
242
  return {
237
243
  c() {
238
- e = z("div"), r = z("div"), l && l.c(), n = P(), u && u.c(), o = P(), f && f.c(), m = P(), h && h.c(), S(r, "class", "CashierErrorContent"), S(e, "class", "CashierError");
244
+ e = z("div"), r = z("div"), l && l.c(), n = R(), u && u.c(), o = R(), f && f.c(), m = R(), h && h.c(), x(r, "class", "CashierErrorContent"), x(e, "class", "CashierError");
239
245
  },
240
246
  m(a, i) {
241
- T(a, e, i), v(e, r), l && l.m(r, null), v(r, n), u && u.m(r, null), v(r, o), f && f.m(r, null), v(r, m), h && h.m(r, null), t[12](e), s = !0;
247
+ E(a, e, i), b(e, r), l && l.m(r, null), b(r, n), u && u.m(r, null), b(r, o), f && f.m(r, null), b(r, m), h && h.m(r, null), t[12](e), s = !0;
242
248
  },
243
249
  p(a, [i]) {
244
- p ? p.p && (!s || i & /*$$scope*/
245
- 1024) && L(
246
- p,
247
- d,
250
+ y ? y.p && (!s || i & /*$$scope*/
251
+ 1024) && M(
252
+ y,
253
+ c,
248
254
  a,
249
255
  /*$$scope*/
250
256
  a[10],
251
- s ? x(
252
- d,
257
+ s ? D(
258
+ c,
253
259
  /*$$scope*/
254
260
  a[10],
255
261
  i,
256
262
  he
257
- ) : D(
263
+ ) : I(
258
264
  /*$$scope*/
259
265
  a[10]
260
266
  ),
261
- N
267
+ H
262
268
  ) : l && l.p && (!s || i & /*assetsurl*/
263
269
  1) && l.p(a, s ? i : -1), u && u.p && (!s || i & /*$$scope*/
264
- 1024) && L(
270
+ 1024) && M(
265
271
  u,
266
- y,
272
+ p,
267
273
  a,
268
274
  /*$$scope*/
269
275
  a[10],
270
- s ? x(
271
- y,
276
+ s ? D(
277
+ p,
272
278
  /*$$scope*/
273
279
  a[10],
274
280
  i,
275
281
  fe
276
- ) : D(
282
+ ) : I(
277
283
  /*$$scope*/
278
284
  a[10]
279
285
  ),
280
- H
281
- ), c ? c.p && (!s || i & /*$$scope*/
282
- 1024) && L(
283
- c,
286
+ q
287
+ ), d ? d.p && (!s || i & /*$$scope*/
288
+ 1024) && M(
289
+ d,
284
290
  g,
285
291
  a,
286
292
  /*$$scope*/
287
293
  a[10],
288
- s ? x(
294
+ s ? D(
289
295
  g,
290
296
  /*$$scope*/
291
297
  a[10],
292
298
  i,
293
299
  me
294
- ) : D(
300
+ ) : I(
295
301
  /*$$scope*/
296
302
  a[10]
297
303
  ),
298
- U
304
+ W
299
305
  ) : f && f.p && (!s || i & /*$_, errorcode*/
300
- 10) && f.p(a, s ? i : -1), k ? k.p && (!s || i & /*$$scope*/
301
- 1024) && L(
302
- k,
306
+ 10) && f.p(a, s ? i : -1), _ ? _.p && (!s || i & /*$$scope*/
307
+ 1024) && M(
308
+ _,
303
309
  w,
304
310
  a,
305
311
  /*$$scope*/
306
312
  a[10],
307
- s ? x(
313
+ s ? D(
308
314
  w,
309
315
  /*$$scope*/
310
316
  a[10],
311
317
  i,
312
- ce
313
- ) : D(
318
+ de
319
+ ) : I(
314
320
  /*$$scope*/
315
321
  a[10]
316
322
  ),
317
- W
323
+ N
318
324
  ) : h && h.p && (!s || i & /*$_*/
319
325
  8) && h.p(a, s ? i : -1);
320
326
  },
321
327
  i(a) {
322
- s || (I(l, a), I(u, a), I(f, a), I(h, a), s = !0);
328
+ s || (A(l, a), A(u, a), A(f, a), A(h, a), s = !0);
323
329
  },
324
330
  o(a) {
325
- M(l, a), M(u, a), M(f, a), M(h, a), s = !1;
331
+ L(l, a), L(u, a), L(f, a), L(h, a), s = !1;
326
332
  },
327
333
  d(a) {
328
334
  a && C(e), l && l.d(a), u && u.d(a), f && f.d(a), h && h.d(a), t[12](null);
329
335
  }
330
336
  };
331
337
  }
332
- function ve(t, e, r) {
338
+ function be(t, e, r) {
333
339
  let n;
334
340
  $(t, ne, (i) => r(3, n = i));
335
- let { $$slots: o = {}, $$scope: m } = e, { assetsurl: s = "" } = e, { lang: d = "en" } = e, { errorcode: p = "" } = e, { clientstyling: l = "" } = e, { clientstylingurl: y = "" } = e, { translationurl: u = "" } = e, { mbsource: g = "" } = e, c, f;
341
+ let { $$slots: o = {}, $$scope: m } = e, { assetsurl: s = "" } = e, { lang: c = "en" } = e, { errorcode: y = "" } = e, { clientstyling: l = "" } = e, { clientstylingurl: p = "" } = e, { translationurl: u = "" } = e, { mbsource: g = "" } = e, d, f;
336
342
  const w = () => {
337
- ue(d);
338
- }, k = () => {
339
- fetch(u).then((_) => _.json()).then((_) => {
340
- Object.keys(_).forEach((q) => {
341
- R(q, _[q]);
343
+ ue(c);
344
+ }, _ = () => {
345
+ fetch(u).then((k) => k.json()).then((k) => {
346
+ Object.keys(k).forEach((S) => {
347
+ V(S, k[S]);
342
348
  });
343
- }).catch((_) => {
344
- console.error(_);
349
+ }).catch((k) => {
350
+ console.error(k);
345
351
  });
346
352
  };
347
- Object.keys(V).forEach((i) => {
348
- R(i, V[i]);
353
+ Object.keys(B).forEach((i) => {
354
+ V(i, B[i]);
349
355
  });
350
356
  const h = () => {
351
357
  window.postMessage({ type: "ErrorClose" }, window.location.href);
@@ -354,27 +360,27 @@ function ve(t, e, r) {
354
360
  });
355
361
  function a(i) {
356
362
  ie[i ? "unshift" : "push"](() => {
357
- c = i, r(2, c);
363
+ d = i, r(2, d);
358
364
  });
359
365
  }
360
366
  return t.$$set = (i) => {
361
- "assetsurl" in i && r(0, s = i.assetsurl), "lang" in i && r(5, d = i.lang), "errorcode" in i && r(1, p = i.errorcode), "clientstyling" in i && r(6, l = i.clientstyling), "clientstylingurl" in i && r(7, y = i.clientstylingurl), "translationurl" in i && r(8, u = i.translationurl), "mbsource" in i && r(9, g = i.mbsource), "$$scope" in i && r(10, m = i.$$scope);
367
+ "assetsurl" in i && r(0, s = i.assetsurl), "lang" in i && r(5, c = i.lang), "errorcode" in i && r(1, y = i.errorcode), "clientstyling" in i && r(6, l = i.clientstyling), "clientstylingurl" in i && r(7, p = i.clientstylingurl), "translationurl" in i && r(8, u = i.translationurl), "mbsource" in i && r(9, g = i.mbsource), "$$scope" in i && r(10, m = i.$$scope);
362
368
  }, t.$$.update = () => {
363
369
  t.$$.dirty & /*lang*/
364
- 32 && d && w(), t.$$.dirty & /*clientstyling, customStylingContainer*/
365
- 68 && l && c && oe(c, l), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
366
- 132 && y && c && se(c, y), t.$$.dirty & /*mbsource, customStylingContainer*/
367
- 516 && g && c && le(c, `${g}.Style`, f), t.$$.dirty & /*translationurl*/
368
- 256 && u && k();
370
+ 32 && c && w(), t.$$.dirty & /*clientstyling, customStylingContainer*/
371
+ 68 && l && d && oe(d, l), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
372
+ 132 && p && d && se(d, p), t.$$.dirty & /*mbsource, customStylingContainer*/
373
+ 516 && g && d && le(d, `${g}.Style`, f), t.$$.dirty & /*translationurl*/
374
+ 256 && u && _();
369
375
  }, [
370
376
  s,
371
- p,
372
- c,
377
+ y,
378
+ d,
373
379
  n,
374
380
  h,
375
- d,
381
+ c,
376
382
  l,
377
- y,
383
+ p,
378
384
  u,
379
385
  g,
380
386
  m,
@@ -382,13 +388,13 @@ function ve(t, e, r) {
382
388
  a
383
389
  ];
384
390
  }
385
- class ke extends Y {
391
+ class _e extends Y {
386
392
  constructor(e) {
387
393
  super(), X(
388
394
  this,
389
395
  e,
390
- ve,
391
396
  be,
397
+ ve,
392
398
  Q,
393
399
  {
394
400
  assetsurl: 0,
@@ -399,53 +405,53 @@ class ke extends Y {
399
405
  translationurl: 8,
400
406
  mbsource: 9
401
407
  },
402
- de
408
+ ce
403
409
  );
404
410
  }
405
411
  get assetsurl() {
406
412
  return this.$$.ctx[0];
407
413
  }
408
414
  set assetsurl(e) {
409
- this.$$set({ assetsurl: e }), b();
415
+ this.$$set({ assetsurl: e }), v();
410
416
  }
411
417
  get lang() {
412
418
  return this.$$.ctx[5];
413
419
  }
414
420
  set lang(e) {
415
- this.$$set({ lang: e }), b();
421
+ this.$$set({ lang: e }), v();
416
422
  }
417
423
  get errorcode() {
418
424
  return this.$$.ctx[1];
419
425
  }
420
426
  set errorcode(e) {
421
- this.$$set({ errorcode: e }), b();
427
+ this.$$set({ errorcode: e }), v();
422
428
  }
423
429
  get clientstyling() {
424
430
  return this.$$.ctx[6];
425
431
  }
426
432
  set clientstyling(e) {
427
- this.$$set({ clientstyling: e }), b();
433
+ this.$$set({ clientstyling: e }), v();
428
434
  }
429
435
  get clientstylingurl() {
430
436
  return this.$$.ctx[7];
431
437
  }
432
438
  set clientstylingurl(e) {
433
- this.$$set({ clientstylingurl: e }), b();
439
+ this.$$set({ clientstylingurl: e }), v();
434
440
  }
435
441
  get translationurl() {
436
442
  return this.$$.ctx[8];
437
443
  }
438
444
  set translationurl(e) {
439
- this.$$set({ translationurl: e }), b();
445
+ this.$$set({ translationurl: e }), v();
440
446
  }
441
447
  get mbsource() {
442
448
  return this.$$.ctx[9];
443
449
  }
444
450
  set mbsource(e) {
445
- this.$$set({ mbsource: e }), b();
451
+ this.$$set({ mbsource: e }), v();
446
452
  }
447
453
  }
448
- ae(ke, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
454
+ ae(_e, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
449
455
  export {
450
- ke as default
456
+ _e as default
451
457
  };