@everymatrix/cashier-page 1.50.111 → 1.50.113
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/CashierCarousel-BYV8Xckb.cjs +1 -0
- package/components/CashierCarousel-C6yCHnNu.js +711 -0
- package/components/CashierCarousel-CLvMcbY2.js +711 -0
- package/components/CashierCarousel-CzGNWLJO.js +711 -0
- package/components/CashierCarousel-D4YPJJSf.cjs +1 -0
- package/components/CashierCarousel-RgQcR298.js +708 -0
- package/components/CashierCarousel-Zwpfq5jr.js +708 -0
- package/components/CashierCarousel-qSYP5NCN.js +708 -0
- package/components/CashierCarousel-zU8L8Yam.cjs +1 -0
- package/components/CashierError-BL0jeQ4_.js +849 -0
- package/components/CashierError-BVdl-0pi.js +857 -0
- package/components/CashierError-C2ruon3b.js +849 -0
- package/components/CashierError-DPGJyyLW.cjs +1 -0
- package/components/CashierError-DgkAGP_e.cjs +1 -0
- package/components/CashierError-GqYpZTX0.js +857 -0
- package/components/CashierError-LuAGDH_D.js +849 -0
- package/components/CashierError-WrE-pTbs.cjs +1 -0
- package/components/CashierError-mcfx0wTg.js +849 -0
- package/components/CashierHeader-6MLbSyIx.cjs +1 -0
- package/components/CashierHeader-BGSzlhTj.cjs +1 -0
- package/components/CashierHeader-Bjhl9m25.js +477 -0
- package/components/CashierHeader-CAsEVisq.js +477 -0
- package/components/CashierHeader-CNS7j6eE.js +477 -0
- package/components/CashierHeader-CwvF548z.js +477 -0
- package/components/CashierHeader-D9Pd3FE7.js +477 -0
- package/components/CashierHeader-DOgjR6nW.cjs +1 -0
- package/components/CashierHeader-NByP26Hh.js +477 -0
- package/components/CashierIframeRedirect-33BCyM5c.js +387 -0
- package/components/CashierIframeRedirect-BQdPQBYK.cjs +1 -0
- package/components/CashierIframeRedirect-Bibs1BQl.js +387 -0
- package/components/CashierIframeRedirect-BrsKHiD-.js +387 -0
- package/components/CashierIframeRedirect-CpZppvVh.js +387 -0
- package/components/CashierIframeRedirect-CsBH1gmJ.cjs +1 -0
- package/components/CashierIframeRedirect-Dd5B3UEI.js +387 -0
- package/components/CashierIframeRedirect-DmxcVBgy.js +387 -0
- package/components/CashierIframeRedirect-UurUphr3.cjs +1 -0
- package/components/CashierMethodDetails-BHDPppNJ.js +11320 -0
- package/components/CashierMethodDetails-BK3Ds1Di.js +11233 -0
- package/components/CashierMethodDetails-BmEO4K5V.js +11368 -0
- package/components/CashierMethodDetails-C6l6jsdt.cjs +85 -0
- package/components/CashierMethodDetails-CKMBfDFW.js +11274 -0
- package/components/CashierMethodDetails-CfB2Kudp.js +11319 -0
- package/components/CashierMethodDetails-D-3xXEA0.cjs +85 -0
- package/components/CashierMethodDetails-Dmm5-4Bg.cjs +85 -0
- package/components/CashierMethodDetails-eIkkI2Ds.js +11369 -0
- package/components/CashierMethodsList-BG3ZXNnv.cjs +1 -0
- package/components/CashierMethodsList-BUNXenEI.js +955 -0
- package/components/CashierMethodsList-BoxIF7vP.js +969 -0
- package/components/CashierMethodsList-CZ6X0-B0.js +969 -0
- package/components/CashierMethodsList-ChF0ggt5.js +955 -0
- package/components/CashierMethodsList-Cw5gyvuC.cjs +1 -0
- package/components/CashierMethodsList-DJXZcEPK.js +955 -0
- package/components/CashierMethodsList-DVKqlXQx.js +969 -0
- package/components/CashierMethodsList-Dj8c1drZ.cjs +1 -0
- package/components/CashierModal-BLFNSD0R.js +386 -0
- package/components/CashierModal-BVB84K7O.js +386 -0
- package/components/CashierModal-BsdvB2xr.js +402 -0
- package/components/CashierModal-BwdcNkWX.cjs +1 -0
- package/components/CashierModal-CNlh3Dz8.js +402 -0
- package/components/CashierModal-CaPaRAyn.js +386 -0
- package/components/CashierModal-PgkqZ-dD.cjs +1 -0
- package/components/CashierModal-X0JXE-VV.js +402 -0
- package/components/CashierModal-wFY3s5dP.cjs +1 -0
- package/components/CashierNotifications-Blsm-_hR.js +129 -0
- package/components/CashierNotifications-CauDPpd0.cjs +1 -0
- package/components/CashierNotifications-CjJEjdxA.js +129 -0
- package/components/CashierNotifications-D6UwpqKr.cjs +1 -0
- package/components/CashierNotifications-DBFOcZ9S.js +129 -0
- package/components/CashierNotifications-DupzES3u.js +129 -0
- package/components/CashierNotifications-ImD80dd9.js +129 -0
- package/components/CashierNotifications-MbBHgYUi.js +129 -0
- package/components/CashierNotifications-aocI0dwK.cjs +1 -0
- package/components/CashierPage-BLmYMRAT.js +10286 -0
- package/components/CashierPage-BcoUz4sy.js +10304 -0
- package/components/CashierPage-C-_uS0DP.cjs +23 -0
- package/components/CashierPage-D5nA8HEN.cjs +23 -0
- package/components/CashierPage-DAY_poj0.cjs +23 -0
- package/components/CashierPage-DDoMQsij.js +10304 -0
- package/components/CashierPage-DK6Ng6dD.js +10251 -0
- package/components/CashierPage-DWHzDWE-.js +10233 -0
- package/components/CashierPage-Db-fNMwu.js +10251 -0
- package/components/CashierReceiptPage-B_r5svXm.js +2063 -0
- package/components/CashierReceiptPage-BkJJ9VMR.js +2063 -0
- package/components/CashierReceiptPage-BtbixKyh.cjs +29 -0
- package/components/CashierReceiptPage-ByhsQi-Y.cjs +29 -0
- package/components/CashierReceiptPage-CYO3A4px.js +2043 -0
- package/components/CashierReceiptPage-CYWNzS-t.js +2043 -0
- package/components/CashierReceiptPage-D2LF-Cfs.js +2063 -0
- package/components/CashierReceiptPage-DbU3gGyp.js +2043 -0
- package/components/CashierReceiptPage-vKqYhCZl.cjs +29 -0
- package/components/CashierSessionExpirationModal-B3so8FGP.cjs +2 -0
- package/components/CashierSessionExpirationModal-BLrVVg8r.js +1212 -0
- package/components/CashierSessionExpirationModal-C9QplNCU.js +1212 -0
- package/components/CashierSessionExpirationModal-Cll5D4xS.cjs +2 -0
- package/components/CashierSessionExpirationModal-D7438bGG.js +1212 -0
- package/components/CashierSessionExpirationModal-DFs76eVZ.js +1212 -0
- package/components/CashierSessionExpirationModal-DGGLAXRf.js +1212 -0
- package/components/CashierSessionExpirationModal-DUi74T2N.js +1212 -0
- package/components/CashierSessionExpirationModal-pEEj89lN.cjs +2 -0
- package/components/CashierSpinner-Bojn3cx4.cjs +1 -0
- package/components/CashierSpinner-CrLzUq-b.js +79 -0
- package/components/CashierSpinner-DFa2JUv1.js +79 -0
- package/components/CashierSpinner-DeQUisHv.js +79 -0
- package/components/CashierSpinner-Dk_AWH9k.js +79 -0
- package/components/CashierSpinner-DsEoOmar.cjs +1 -0
- package/components/CashierSpinner-UnUIC_vy.js +79 -0
- package/components/CashierSpinner-VEuFkxJO.js +79 -0
- package/components/CashierSpinner-vS1pC0X6.cjs +1 -0
- package/components/CashierStepUp-2Ac01AmQ.js +1161 -0
- package/components/CashierStepUp-8LupN5IV.js +1161 -0
- package/components/CashierStepUp-BsU_s7T9.js +1161 -0
- package/components/CashierStepUp-CRvIkD4C.js +1200 -0
- package/components/CashierStepUp-D5N2i9dr.js +1201 -0
- package/components/CashierStepUp-D5pMbD33.cjs +1 -0
- package/components/CashierStepUp-DWfy-EhN.cjs +1 -0
- package/components/CashierStepUp-DzJFcK-D.cjs +1 -0
- package/components/CashierStepUp-ovaXA_le.js +1200 -0
- package/components/CashierTransactionHistory-B04fOH7Y.js +1415 -0
- package/components/CashierTransactionHistory-BH0-fPO5.js +1415 -0
- package/components/CashierTransactionHistory-C1sFc875.js +1415 -0
- package/components/CashierTransactionHistory-CuY66DYm.js +1415 -0
- package/components/CashierTransactionHistory-Cw3Cp13n.cjs +1 -0
- package/components/CashierTransactionHistory-D1gojTnz.cjs +1 -0
- package/components/CashierTransactionHistory-DSoU4BAt.cjs +1 -0
- package/components/CashierTransactionHistory-DVNnMTBU.js +1415 -0
- package/components/CashierTransactionHistory-wrsYe4Kj.js +1415 -0
- package/components/CashierVerifications-BIhkT7xC.js +700 -0
- package/components/CashierVerifications-BcQ2LHrN.cjs +1 -0
- package/components/CashierVerifications-BoypDVWQ.cjs +1 -0
- package/components/CashierVerifications-CCHd_J3y.js +700 -0
- package/components/CashierVerifications-Ccrp5BP2.js +696 -0
- package/components/CashierVerifications-DYxNLeFk.js +700 -0
- package/components/CashierVerifications-DgpLTX5u.js +696 -0
- package/components/CashierVerifications-DiC2yoLU.js +696 -0
- package/components/CashierVerifications-xAtq_Nw_.cjs +1 -0
- package/components/TxnStatusIcon-5XmjXdYX.js +142 -0
- package/components/TxnStatusIcon-CKN6xRTe.cjs +1 -0
- package/components/TxnStatusIcon-CZEwNSRj.js +142 -0
- package/components/TxnStatusIcon-D8sZqoF_.cjs +1 -0
- package/components/TxnStatusIcon-DEYsExEh.js +142 -0
- package/components/TxnStatusIcon-Dnu-8W2z.js +142 -0
- package/components/TxnStatusIcon-KjjF6vov.js +142 -0
- package/components/TxnStatusIcon-vkIBVdfU.js +142 -0
- package/components/TxnStatusIcon-xSYt11Zt.cjs +1 -0
- package/components/TxnTypeIcons-BH3JMq5I.cjs +1 -0
- package/components/TxnTypeIcons-BTHWx7gk.cjs +1 -0
- package/components/TxnTypeIcons-BewtXIqm.js +101 -0
- package/components/TxnTypeIcons-BvLnF_at.cjs +1 -0
- package/components/TxnTypeIcons-CcB8sFEb.js +101 -0
- package/components/TxnTypeIcons-DEkSxez6.js +101 -0
- package/components/TxnTypeIcons-DczwMwTe.js +101 -0
- package/components/TxnTypeIcons-VbuF3Vpq.js +101 -0
- package/components/TxnTypeIcons-ci3PNKW-.js +101 -0
- 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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var Fe=Object.defineProperty,Oe=Object.defineProperties;var Ie=Object.getOwnPropertyDescriptors;var we=Object.getOwnPropertySymbols;var Re=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable;var Me=(n,t,s)=>t in n?Fe(n,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):n[t]=s,pe=(n,t)=>{for(var s in t||(t={}))Re.call(t,s)&&Me(n,s,t[s]);if(we)for(var s of we(t))je.call(t,s)&&Me(n,s,t[s]);return n},fe=(n,t)=>Oe(n,Ie(t));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierPage-D5nA8HEN.cjs"),he=require("./CashierHeader-DOgjR6nW.cjs");function _e(n,t){e.addMessages(n,t)}function He(n){e.init({fallbackLocale:"en"}),e.$locale.set(n)}const be={en:{generalMin:"Min",generalMax:"Max",showAll:"SHOW ALL",showLess:"SHOW LESS",error:"Error",noPaymentMethods:"No payment methods available",favorite:"Favorite",promoLabel:"Recommended",otherMethodsTitle:"All Methods",otherMethodsDescription:"Discover our incredible selection of unique products that you won't want to miss!"},tr:{generalMin:"Min",generalMax:"Maks",showAll:"HEPSİNİ GÖSTER",showLess:"DAHA AZ GÖSTER",error:"Hata",noPaymentMethods:"Hiçbir ödeme yöntemi mevcut değil",favorite:"Favori",promoLabel:"Favori",otherMethodsTitle:"Tüm Yöntemler",otherMethodsDescription:"Kaçırmak istemeyeceğiniz benzersiz ürünlerimizden oluşan inanılmaz seçkimizi keşfedin!"},fr:{generalMin:"Min",generalMax:"Max",showAll:"AFFICHER TOUT",showLess:"AFFICHER MOINS",error:"Erreur",noPaymentMethods:"Aucun moyen de paiement disponible",favorite:"Favori",promoLabel:"Recommandé",otherMethodsTitle:"Toutes les méthodes",otherMethodsDescription:"Découvrez notre incroyable sélection de produits uniques à ne pas manquer !"},da:{generalMin:"Min",generalMax:"Maks",showAll:"VIS ALLE",showLess:"VIS FÆRRE",error:"Fejl",noPaymentMethods:"Ingen betalingsmetoder tilgængelige",favorite:"Favorit",promoLabel:"Anbefalet",otherMethodsTitle:"Alle metoder",otherMethodsDescription:"Oplev vores utrolige udvalg af unikke produkter, som du ikke vil gå glip af!"},de:{generalMin:"Min",generalMax:"Max",showAll:"ALLE ANZEIGEN",showLess:"WENIGER ANZEIGEN",error:"Fehler",noPaymentMethods:"Keine Zahlungsmethoden verfügbar",favorite:"Favorit",promoLabel:"Empfohlen",otherMethodsTitle:"Alle Methoden",otherMethodsDescription:"Entdecken Sie unsere unglaubliche Auswahl an einzigartigen Produkten, die Sie nicht verpassen möchten!"},nl:{generalMin:"Min",generalMax:"Max",showAll:"ALLES TONEN",showLess:"MINDER TONEN",error:"Fout",noPaymentMethods:"Geen betaalmethoden beschikbaar",favorite:"Favoriet",promoLabel:"Aanbevolen",otherMethodsTitle:"Alle methoden",otherMethodsDescription:"Ontdek onze ongelooflijke selectie van unieke producten die u niet wilt missen!"}};function Ue(n){e.append_styles(n,"svelte-njj9wo",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CashierMethodList{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;max-width:100%;gap:5px;margin:10px}.SelectorWrapper{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;cursor:pointer;position:relative;box-sizing:border-box;padding:5px 0;border-radius:10px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);overflow:hidden;z-index:1;transition:transform 0.3s ease-in-out}.SelectorWrapper:hover{box-shadow:inset 0px 0px 7px var(--emw--color-primary);transform:scale(1.02)}.SelectorWrapper::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:10px;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}.CashierMethodListWidget{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));height:100%;padding-bottom:20px}.MethodsListDescription{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));padding:10px}.MethodsListDescription h3{font-size:12px;text-transform:uppercase;margin:10px 0}.MethodsListDescription p{color:white;opacity:0.55;font-size:12px}.MethodLogo{margin:5px}.MethodLogo img{width:100%;height:100%;max-height:22px}.MethodPromoLabel{background:var(--emw--color-button-background, #f1f3ff);color:var(--emw--color-primary, #f9c405);font-size:14px;font-weight:700;text-transform:uppercase;padding:5px 10px;min-width:100px;border-radius:10px;margin:10px;text-align:center}.MethodInfo{width:100%;height:100%;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start}.MethodTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));margin:5px;word-break:break-word;font-weight:var(--emw--font-weight-bold, 700);line-height:10px}.MethodLimits{word-break:break-word;margin:5px}.Limits{max-width:100%;font-weight:var(--emw--font-weight-normal, 300);font-style:normal;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.7}.MethodFavorite{font-size:var(--emw--font-size-x-small, 8px);color:var(--emw--color-typography, #fff);background-color:var(--emw--color-red, red);border-radius:15px;margin:0 5px;line-height:10px;height:16px}.MethodFavorite p{padding:3px}.PaymentProcessing{padding:5px;color:var(--emw--color-primary, #ffce00);font-style:italic;font-size:var(--emw--font-size-small, 12px)}@media(min-width: 499px){.MethodLogo{margin:5px}.MethodLogo img{width:100%;height:100%;max-height:36px}.SelectorWrapper{padding:10px}.MethodTitle{font-size:var(--emw--font-size-medium, 12px)}.Limits{font-size:var(--emw--font-size-small, 10px)}}@media(max-width: 500px){.PaymentProcessing{font-size:var(--emw--font-size-x-small, 8px)}.MethodTitle{font-size:var(--emw--font-size-small, 10px)}.Limits{font-size:var(--emw--font-size-x-small, 8px)}}.EmptyContentMessageWrapper{position:relative;display:flex;justify-content:flex-end}.EmptyContentMessageContent{display:flex;flex-direction:column;row-gap:var(--emw--spacing-small, 12px);bottom:10%}.EmptyContentMessageImg{width:250px}.EmptyContentMessageImg img{border-radius:0 0 var(--emw--border-radius-medium-plus, 6px) 0;height:100%;width:100%}.EmptyContentMessageTitle{font-size:var(--emw--font-size-medium, 20px);font-weight:var(--emw--font-weight-bold, 800);line-height:calc(var(--emw--font-size-medium, 16px) + 4px);color:var(--emw--color-primary);text-transform:uppercase}.EmptyContentMessageText{word-break:break-word;font-size:var(--emw--font-size-small, 14px);line-height:calc(var(--emw--font-size-medium, 16px) + 4px);color:var(--emw--color-typography, #fff)}.EmptyContentMessageDesktop{justify-content:flex-start}.EmptyContentMessageDesktop .EmptyContentMessageContent{bottom:auto;margin-top:10px}.EmptyContentMessageDesktop .EmptyContentMessageImg{width:auto}.EmptyContentMessageDesktop .EmptyContentMessageImg img{transform:scaleX(-1)}.IconWarning{width:30px;display:flex}.IconWarning svg{height:18px;fill:var(--emw--color-warning, rgb(250, 146, 0))}.ShowAllButton{cursor:pointer;color:var(--emw--color-grey-290, #666);text-align:center;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;background:var(--emw--color-gray-50, #f7f8fa);line-height:normal;border:1px solid var(--emw--color-grey-105, #e8e9eb);border-radius:var(--emw--border-radius-medium, 4px);margin:var(--emw--spacing-small, 12px) auto;height:36px;display:flex;align-items:center;justify-content:center;width:80%}.ShowAllButton:hover{background:var(--emw--color-background, #fff)}.ErrorMessage{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px}')}function ve(n,t,s){const r=n.slice();return r[58]=t[s],r[60]=s,r}function Le(n){let t,s,r,o,l=!n[15]&&ke(n);function a(c,p){return c[15]&&c[14]?qe:We}let d=a(n),u=d(n),m=n[10]&&Se(n);return{c(){t=e.element("div"),l&&l.c(),s=e.space(),r=e.element("div"),u.c(),o=e.space(),m&&m.c(),e.attr(r,"class","CashierMethodList"),e.attr(t,"class","CashierMethodListWidget")},m(c,p){e.insert(c,t,p),l&&l.m(t,null),e.append(t,s),e.append(t,r),u.m(r,null),e.append(t,o),m&&m.m(t,null),n[34](t)},p(c,p){c[15]?l&&(l.d(1),l=null):l?l.p(c,p):(l=ke(c),l.c(),l.m(t,s)),d===(d=a(c))&&u?u.p(c,p):(u.d(1),u=d(c),u&&(u.c(),u.m(r,null))),c[10]?m?m.p(c,p):(m=Se(c),m.c(),m.m(t,null)):m&&(m.d(1),m=null)},d(c){c&&e.detach(t),l&&l.d(),u.d(),m&&m.d(),n[34](null)}}}function ke(n){let t,s,r=n[17]("otherMethodsTitle")+"",o,l,a,d=n[17]("otherMethodsDescription")+"",u;return{c(){t=e.element("div"),s=e.element("h3"),o=e.text(r),l=e.space(),a=e.element("p"),u=e.text(d),e.attr(t,"class","MethodsListDescription")},m(m,c){e.insert(m,t,c),e.append(t,s),e.append(s,o),e.append(t,l),e.append(t,a),e.append(a,u)},p(m,c){c[0]&131072&&r!==(r=m[17]("otherMethodsTitle")+"")&&e.set_data(o,r),c[0]&131072&&d!==(d=m[17]("otherMethodsDescription")+"")&&e.set_data(u,d)},d(m){m&&e.detach(t)}}}function We(n){let t,s=e.ensure_array_like(n[11]),r=[];for(let o=0;o<s.length;o+=1)r[o]=Te(ve(n,s,o));return{c(){for(let o=0;o<r.length;o+=1)r[o].c();t=e.empty()},m(o,l){for(let a=0;a<r.length;a+=1)r[a]&&r[a].m(o,l);e.insert(o,t,l)},p(o,l){if(l[0]&469824){s=e.ensure_array_like(o[11]);let a;for(a=0;a<s.length;a+=1){const d=ve(o,s,a);r[a]?r[a].p(d,l):(r[a]=Te(d),r[a].c(),r[a].m(t.parentNode,t))}for(;a<r.length;a+=1)r[a].d(1);r.length=s.length}},d(o){o&&e.detach(t),e.destroy_each(r,o)}}}function qe(n){let t,s,r,o=n[17]("error")+"",l,a,d,u=n[17]("noPaymentMethods")+"",m;return{c(){t=e.element("div"),s=e.element("div"),r=e.element("p"),l=e.text(o),a=e.space(),d=e.element("p"),m=e.text(u),e.attr(r,"class","EmptyContentMessageTitle"),e.attr(d,"class","EmptyContentMessageText"),e.attr(s,"class","EmptyContentMessageContent"),e.attr(t,"class","EmptyContentMessageWrapper"),e.toggle_class(t,"EmptyContentMessageDesktop",n[13])},m(c,p){e.insert(c,t,p),e.append(t,s),e.append(s,r),e.append(r,l),e.append(s,a),e.append(s,d),e.append(d,m)},p(c,p){p[0]&131072&&o!==(o=c[17]("error")+"")&&e.set_data(l,o),p[0]&131072&&u!==(u=c[17]("noPaymentMethods")+"")&&e.set_data(m,u),p[0]&8192&&e.toggle_class(t,"EmptyContentMessageDesktop",c[13])},d(c){c&&e.detach(t)}}}function Ce(n){let t,s=n[17]("favorite")+"",r;return{c(){t=e.element("p"),r=e.text(s)},m(o,l){e.insert(o,t,l),e.append(t,r)},p(o,l){l[0]&131072&&s!==(s=o[17]("favorite")+"")&&e.set_data(r,s)},d(o){o&&e.detach(t)}}}function Pe(n){let t,s=n[17](`${n[6]}${n[58].ProcessingTime}`)+"",r;return{c(){t=e.element("span"),r=e.text(s),e.attr(t,"class","PaymentProcessing")},m(o,l){e.insert(o,t,l),e.append(t,r)},p(o,l){l[0]&133184&&s!==(s=o[17](`${o[6]}${o[58].ProcessingTime}`)+"")&&e.set_data(r,s)},d(o){o&&e.detach(t)}}}function Ee(n){let t,s=n[17](`${n[6]}${n[58].ProcessingTime}`)+"",r;return{c(){t=e.element("span"),r=e.text(s),e.attr(t,"class","PaymentProcessing")},m(o,l){e.insert(o,t,l),e.append(t,r)},p(o,l){l[0]&133184&&s!==(s=o[17](`${o[6]}${o[58].ProcessingTime}`)+"")&&e.set_data(r,s)},d(o){o&&e.detach(t)}}}function Te(n){var Z,J,X,se,oe,re,ie,le;let t,s,r,o,l,a,d,u,m,c,p,j=(n[58].Label||n[58].Name)+"",H,E,z,D,P,T,N=n[17]("generalMin")+"",U,B,F=e.formatCurrency(n[58].DisplayCurrency.MinAmountLimit,n[58].DisplayCurrency.Name,{maximumFractionDigits:n[8][(J=(Z=n[58])==null?void 0:Z.DisplayCurrency)==null?void 0:J.Name]||n[16],minimumFractionDigits:n[8][(se=(X=n[58])==null?void 0:X.DisplayCurrency)==null?void 0:se.Name]||n[16]})+"",Y,O,A,W=n[17]("generalMax")+"",L,te,V=e.formatCurrency(n[58].DisplayCurrency.MaxAmountLimit,n[58].DisplayCurrency.Name,{maximumFractionDigits:n[8][(re=(oe=n[58])==null?void 0:oe.DisplayCurrency)==null?void 0:re.Name]||n[16],minimumFractionDigits:n[8][(le=(ie=n[58])==null?void 0:ie.DisplayCurrency)==null?void 0:le.Name]||n[16]})+"",k,I,R,b,q,y=n[58].isMethodPromoted&&Ce(n),w=!n[13]&&Pe(n),g=n[13]&&Ee(n);function ne(){return n[32](n[58])}return{c(){t=e.element("div"),s=e.element("div"),r=e.element("img"),a=e.space(),d=e.element("div"),y&&y.c(),u=e.space(),m=e.element("div"),c=e.element("div"),p=e.element("span"),H=e.text(j),E=e.space(),w&&w.c(),z=e.space(),D=e.element("div"),P=e.element("span"),T=e.element("p"),U=e.text(N),B=e.space(),Y=e.text(F),O=e.space(),A=e.element("p"),L=e.text(W),te=e.space(),k=e.text(V),I=e.space(),g&&g.c(),R=e.space(),e.src_url_equal(r.src,o=n[58].LogoUrl)||e.attr(r,"src",o),e.attr(r,"alt",l=n[58].Label),e.attr(s,"class","MethodLogo"),e.attr(d,"class","MethodFavorite"),e.attr(c,"class","MethodTitle"),e.attr(P,"class","Limits"),e.attr(D,"class","MethodLimits"),e.attr(m,"class","MethodInfo"),e.attr(t,"class","SelectorWrapper"),e.toggle_class(t,"checked",n[9]===n[58].Name)},m(G,M){e.insert(G,t,M),e.append(t,s),e.append(s,r),e.append(t,a),e.append(t,d),y&&y.m(d,null),e.append(t,u),e.append(t,m),e.append(m,c),e.append(c,p),e.append(p,H),e.append(m,E),w&&w.m(m,null),e.append(m,z),e.append(m,D),e.append(D,P),e.append(P,T),e.append(T,U),e.append(T,B),e.append(T,Y),e.append(P,O),e.append(P,A),e.append(A,L),e.append(A,te),e.append(A,k),e.append(m,I),g&&g.m(m,null),e.append(t,R),b||(q=[e.listen(t,"click",ne),e.listen(t,"keyup",Ye)],b=!0)},p(G,M){var ae,me,K,ce,de,Q,$,ue;n=G,M[0]&2048&&!e.src_url_equal(r.src,o=n[58].LogoUrl)&&e.attr(r,"src",o),M[0]&2048&&l!==(l=n[58].Label)&&e.attr(r,"alt",l),n[58].isMethodPromoted?y?y.p(n,M):(y=Ce(n),y.c(),y.m(d,null)):y&&(y.d(1),y=null),M[0]&2048&&j!==(j=(n[58].Label||n[58].Name)+"")&&e.set_data(H,j),n[13]?w&&(w.d(1),w=null):w?w.p(n,M):(w=Pe(n),w.c(),w.m(m,z)),M[0]&131072&&N!==(N=n[17]("generalMin")+"")&&e.set_data(U,N),M[0]&67840&&F!==(F=e.formatCurrency(n[58].DisplayCurrency.MinAmountLimit,n[58].DisplayCurrency.Name,{maximumFractionDigits:n[8][(me=(ae=n[58])==null?void 0:ae.DisplayCurrency)==null?void 0:me.Name]||n[16],minimumFractionDigits:n[8][(ce=(K=n[58])==null?void 0:K.DisplayCurrency)==null?void 0:ce.Name]||n[16]})+"")&&e.set_data(Y,F),M[0]&131072&&W!==(W=n[17]("generalMax")+"")&&e.set_data(L,W),M[0]&67840&&V!==(V=e.formatCurrency(n[58].DisplayCurrency.MaxAmountLimit,n[58].DisplayCurrency.Name,{maximumFractionDigits:n[8][(Q=(de=n[58])==null?void 0:de.DisplayCurrency)==null?void 0:Q.Name]||n[16],minimumFractionDigits:n[8][(ue=($=n[58])==null?void 0:$.DisplayCurrency)==null?void 0:ue.Name]||n[16]})+"")&&e.set_data(k,V),n[13]?g?g.p(n,M):(g=Ee(n),g.c(),g.m(m,null)):g&&(g.d(1),g=null),M[0]&2560&&e.toggle_class(t,"checked",n[9]===n[58].Name)},d(G){G&&e.detach(t),y&&y.d(),w&&w.d(),g&&g.d(),b=!1,e.run_all(q)}}}function Se(n){let t,s,r,o;return{c(){t=e.element("div"),s=e.text(n[10]),e.attr(t,"class","ShowAllButton")},m(l,a){e.insert(l,t,a),e.append(t,s),r||(o=e.listen(t,"click",n[33]),r=!0)},p(l,a){a[0]&1024&&e.set_data(s,l[10])},d(l){l&&e.detach(t),r=!1,o()}}}function De(n){let t,s,r;return{c(){t=e.element("cashier-error"),s=e.element("span"),r=e.text(n[12]),e.attr(s,"class","ErrorMessage"),e.attr(s,"slot","text"),e.set_custom_element_data(t,"lang",n[0]),e.set_custom_element_data(t,"assetsurl",n[1]),e.set_custom_element_data(t,"translationurl",n[2]),e.set_custom_element_data(t,"clientstylingurl",n[5]),e.set_custom_element_data(t,"clientstyling",n[4]),e.set_custom_element_data(t,"mbsource",n[3]),e.set_custom_element_data(t,"hidebuttons","true")},m(o,l){e.insert(o,t,l),e.append(t,s),e.append(s,r)},p(o,l){l[0]&4096&&e.set_data(r,o[12]),l[0]&1&&e.set_custom_element_data(t,"lang",o[0]),l[0]&2&&e.set_custom_element_data(t,"assetsurl",o[1]),l[0]&4&&e.set_custom_element_data(t,"translationurl",o[2]),l[0]&32&&e.set_custom_element_data(t,"clientstylingurl",o[5]),l[0]&16&&e.set_custom_element_data(t,"clientstyling",o[4]),l[0]&8&&e.set_custom_element_data(t,"mbsource",o[3])},d(o){o&&e.detach(t)}}}function Ge(n){let t,s,r=n[14]&&Le(n),o=n[12]&&De(n);return{c(){r&&r.c(),t=e.space(),o&&o.c(),s=e.empty()},m(l,a){r&&r.m(l,a),e.insert(l,t,a),o&&o.m(l,a),e.insert(l,s,a)},p(l,a){l[14]?r?r.p(l,a):(r=Le(l),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),l[12]?o?o.p(l,a):(o=De(l),o.c(),o.m(s.parentNode,s)):o&&(o.d(1),o=null)},i:e.noop,o:e.noop,d(l){l&&(e.detach(t),e.detach(s)),r&&r.d(l),o&&o.d(l)}}}const Be="PaymentPromotion",Ye=()=>{};function Ve(n,t,s){let r,o,l;e.component_subscribe(n,e.$format,i=>s(17,o=i)),e.component_subscribe(n,e.xPaymentSessionToken,i=>s(42,l=i)),e.dayjs.extend(e.utc);let{lang:a="en"}=t,{local:d="en-US"}=t,{endpoint:u}=t,{paymentsession:m}=t,{playersession:c}=t,{customerid:p}=t,{assetsurl:j}=t,{currency:H}=t,{numberofmethodsshown:E}=t,{translationurl:z=""}=t,{mbsource:D}=t,{clientstyling:P}=t,{clientstylingurl:T}=t,{currencydecimals:N="0"}=t,{currencysymbol:U=""}=t,{currencyposition:B=""}=t,{promotedmethods:F="false"}=t,{type:Y}=t,{userroles:O=""}=t,A,W={},L,te,V=window.navigator.userAgent,k=[],I,R="",b=[],q=[],y="",w,g=!0,ne=!1,Z=!1,J=[];var X;(function(i){i.PlayerSessionIsNotValid="PlayerSessionIsNotValid",i.Success="Success",i.JwtTokenError="JwtTokenError"})(X||(X={}));const se=()=>{let i=z;if(i)return fetch(i).then(f=>f.json()).then(f=>{Object.keys(f).forEach(S=>{_e(S,f[S])})}).catch(f=>{console.log(f)})};Object.keys(be).forEach(i=>{_e(i,be[i])});const oe=()=>{He(a)},re=i=>{l&&ie(i)},ie=i=>{const{currency:f}=i,h=A!==void 0&&A!==f?"MetadataLoading":"DataLoading";A=f,window.postMessage({type:h,isDataLoaded:!1},window.location.href);const _=new URL(`${u}/v2/player/${p}/payment/GetPaymentMetadata`),C=new Headers;C.append("accept","application/json"),C.append("Content-Type","application/json"),C.append("X-Client-Request-Timestamp",e.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS")),C.append("X-SessionId",`${c}`),C.append("X-Payment-Session-Token",`${m||l}`),J.indexOf("MM_CHANNEL_BETA")!=-1&&C.append("MM_CHANNEL","BETA");const x={method:"POST",headers:C,mode:"cors",body:JSON.stringify(fe(pe({},f&&{Currency:f}),{Tags:{UserAgent:window.navigator.userAgent}}))};fetch(_,x).then(v=>{const ee=v.headers.get("X-Payment-Session-Token");return ee&&e.xPaymentSessionToken.set(ee),v.json()}).then(v=>{var ee;if(v.error){s(12,y=v.error);return}if(v.ResponseCode!==X.Success){w=v.ResponseCode,ae();return}k=(ee=v.PaymentMethods)!=null&&ee.Ordering?le(v):G(v),window.postMessage({type:"PromotedPaymentMethods",promotedPaymentMethods:q},window.location.href),s(10,R=E&&+E>0&&k.length>+E?o("showAll"):""),s(11,b=R?k.slice(0,+E):k),F=="false"&&s(11,b=b.sort((ge,ye)=>ge.isMethodPromoted&&!ye.isMethodPromoted?-1:!ge.isMethodPromoted&&ye.isMethodPromoted?1:0)),s(15,Z=!b.length),window.postMessage({type:"StartSessionCountdown",paymentMethodName:k[0].Name},window.location.href),window.postMessage({type:h,isDataLoaded:!0},window.location.href)}).finally(()=>{s(14,ne=!0),window.postMessage({type:h,isDataLoaded:!0},window.location.href)})},le=i=>{const f=[];return q=[],i.PaymentMethods.Ordering.DefaultPaymentMethodsOrder.forEach(S=>{const h=i.PaymentMethods.PaymentMethods.find(_=>_.Name===S);if(h){const _=(h==null?void 0:h.Logos.find(v=>v.LogoType==="Desktop"))||{},C=(h==null?void 0:h.Logos.find(v=>v.LogoType==="Mobile"))||{},x=g?_:C;h.isMethodPromoted=Q(h.Tags),h.LogoUrl=x.LogoUrl?`https:${x.LogoUrl}`:"",h.isMethodPromoted&&q.push(h),f.push(h)}}),f},G=i=>{const f=i.PaymentMethods.PaymentMethods.map(_=>fe(pe({},_),{isMethodPromoted:Q(_.Tags),LogoUrl:_.Logos&&_.Logos.length&&_.Logos[0].LogoUrl?`https:${_.Logos[0].LogoUrl}`:""})),[S,h]=f.reduce(([_,C],x)=>(x&&x.isMethodPromoted?_.push(x):C.promo(x),[_,C]),[[],[]]);return q=S,h},M=i=>{s(9,I=i.Name),window.postMessage({type:"SelectPayMeth",details:i},window.location.href),dispatchEvent(new CustomEvent("selectPayMeth",{detail:i,bubbles:!0,cancelable:!0,composed:!0}))},ae=()=>{window.postMessage({type:"ErrorResponseCode",errorResponseCode:w},window.location.href)},me=()=>{s(13,g=!e.isMobile(V))},K=()=>{b==k?de():ce()},ce=()=>{s(11,b=k),s(10,R=o("showLess"))},de=()=>{s(11,b=k.slice(0,+E)),I&&!b.find(i=>i.Name===I)&&b.splice(0,0,k.find(i=>i.Name===I)),s(10,R=o("showAll"))},Q=i=>i&&i.split(",").some(f=>f===Be),$=i=>{var S;const{data:{type:f}={}}=i||{};switch(f){case"PrecisionCurrenciesMap":{s(8,W=((S=i==null?void 0:i.data)==null?void 0:S.payload)||{});break}}},ue=()=>{O.length>0&&(J=O.split(","))};e.onMount(()=>(me(),e.initCurrencyFormatter(d,U,B,N),window.postMessage({type:"CashierMethodsListReady"},window.location.href),window.addEventListener("message",$),()=>{window.removeEventListener("message",$)}));const Ae=i=>M(i),xe=()=>K();function ze(i){e.binding_callbacks[i?"unshift":"push"](()=>{L=i,s(7,L)})}return n.$$set=i=>{"lang"in i&&s(0,a=i.lang),"local"in i&&s(20,d=i.local),"endpoint"in i&&s(21,u=i.endpoint),"paymentsession"in i&&s(22,m=i.paymentsession),"playersession"in i&&s(23,c=i.playersession),"customerid"in i&&s(24,p=i.customerid),"assetsurl"in i&&s(1,j=i.assetsurl),"currency"in i&&s(25,H=i.currency),"numberofmethodsshown"in i&&s(26,E=i.numberofmethodsshown),"translationurl"in i&&s(2,z=i.translationurl),"mbsource"in i&&s(3,D=i.mbsource),"clientstyling"in i&&s(4,P=i.clientstyling),"clientstylingurl"in i&&s(5,T=i.clientstylingurl),"currencydecimals"in i&&s(27,N=i.currencydecimals),"currencysymbol"in i&&s(28,U=i.currencysymbol),"currencyposition"in i&&s(29,B=i.currencyposition),"promotedmethods"in i&&s(30,F=i.promotedmethods),"type"in i&&s(6,Y=i.type),"userroles"in i&&s(31,O=i.userroles)},n.$$.update=()=>{n.$$.dirty[1]&1&&O&&ue(),n.$$.dirty[0]&56623104&&u&&!m&&p&&re({currency:H}),n.$$.dirty[0]&1&&a&&oe(),n.$$.dirty[0]&144&&P&&L&&he.setClientStyling(L,P),n.$$.dirty[0]&160&&T&&L&&he.setClientStylingURL(L,T),n.$$.dirty[0]&136&&D&&L&&he.setStreamStyling(L,`${D}.Style`,te),n.$$.dirty[0]&5&&a&&z&&se(),n.$$.dirty[0]&134217728&&s(16,r=Number(N))},[a,j,z,D,P,T,Y,L,W,I,R,b,y,g,ne,Z,r,o,M,K,d,u,m,c,p,H,E,N,U,B,F,O,Ae,xe,ze]}class Ne extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,Ve,Ge,e.safe_not_equal,{lang:0,local:20,endpoint:21,paymentsession:22,playersession:23,customerid:24,assetsurl:1,currency:25,numberofmethodsshown:26,translationurl:2,mbsource:3,clientstyling:4,clientstylingurl:5,currencydecimals:27,currencysymbol:28,currencyposition:29,promotedmethods:30,type:6,userroles:31},Ue,[-1,-1])}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get local(){return this.$$.ctx[20]}set local(t){this.$$set({local:t}),e.flush()}get endpoint(){return this.$$.ctx[21]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get paymentsession(){return this.$$.ctx[22]}set paymentsession(t){this.$$set({paymentsession:t}),e.flush()}get playersession(){return this.$$.ctx[23]}set playersession(t){this.$$set({playersession:t}),e.flush()}get customerid(){return this.$$.ctx[24]}set customerid(t){this.$$set({customerid:t}),e.flush()}get assetsurl(){return this.$$.ctx[1]}set assetsurl(t){this.$$set({assetsurl:t}),e.flush()}get currency(){return this.$$.ctx[25]}set currency(t){this.$$set({currency:t}),e.flush()}get numberofmethodsshown(){return this.$$.ctx[26]}set numberofmethodsshown(t){this.$$set({numberofmethodsshown:t}),e.flush()}get translationurl(){return this.$$.ctx[2]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[3]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get currencydecimals(){return this.$$.ctx[27]}set currencydecimals(t){this.$$set({currencydecimals:t}),e.flush()}get currencysymbol(){return this.$$.ctx[28]}set currencysymbol(t){this.$$set({currencysymbol:t}),e.flush()}get currencyposition(){return this.$$.ctx[29]}set currencyposition(t){this.$$set({currencyposition:t}),e.flush()}get promotedmethods(){return this.$$.ctx[30]}set promotedmethods(t){this.$$set({promotedmethods:t}),e.flush()}get type(){return this.$$.ctx[6]}set type(t){this.$$set({type:t}),e.flush()}get userroles(){return this.$$.ctx[31]}set userroles(t){this.$$set({userroles:t}),e.flush()}}e.create_custom_element(Ne,{lang:{},local:{},endpoint:{},paymentsession:{},playersession:{},customerid:{},assetsurl:{},currency:{},numberofmethodsshown:{},translationurl:{},mbsource:{},clientstyling:{},clientstylingurl:{},currencydecimals:{},currencysymbol:{},currencyposition:{},promotedmethods:{},type:{},userroles:{}},[],[],!0);exports.default=Ne;
|
|
@@ -0,0 +1,386 @@
|
|
|
1
|
+
import { S as te, b as ie, s as ne, f as C, d as oe, g as S, t as O, h as z, a8 as le, a7 as se, l as H, n as b, r as ae, a0 as j, e as B, u as F, j as Y, k as D, L, m as _, G as re, o as I, p as h, H as de, y as W, z as ce, A as fe, Q as R, c as ue } from "./CashierPage-DWHzDWE-.js";
|
|
2
|
+
import { s as he, a as me, b as ge } from "./CashierHeader-NByP26Hh.js";
|
|
3
|
+
function pe(i) {
|
|
4
|
+
oe(i, "svelte-e2luo5", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}@keyframes modalFadeIn{from{opacity:0}to{opacity:1}}@keyframes modalFadeOut{from{opacity:1}to{opacity:0}}@keyframes modalSlideIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes modalSlideOut{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-10px)}}@keyframes spin{to{transform:rotate(360deg)}}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:100;backdrop-filter:blur(4px);animation:modalFadeIn 0.25s ease-out}#Modal.closing{animation:modalFadeOut 0.25s ease-in}@container (min-width: 500px){.ModalContainer{min-width:450px}}.ModalContainer{min-width:380px;width:auto;height:auto;max-height:70%;padding:var(--emw--spacing-medium, 25px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:1;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);overflow:hidden;transition:width 0.3s ease-in-out, height 0.3s ease-in-out;animation:modalSlideIn 0.3s ease-out}#Modal.closing .ModalContainer{animation:modalSlideOut 0.25s ease-in}.ModalContainer.video-mode{height:70% !important;max-height:70%}.ModalContainer.twofa-mode{max-width:500px;min-height:auto}.ModalContainer::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.ModalHeader{display:flex;flex-direction:row;justify-content:space-between;width:100%;align-items:center}.ModalHeader .ModalTitle{display:flex;flex-direction:row;height:26px;align-items:center;gap:8px}.ModalHeader .TitleText{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 18px);font-weight:var(--emw--font-weight-medium, 600)}.ModalHeader .WarningIcon svg{width:24px;height:24px;fill:var(--emw--color-typography, #fff)}.Uppercase{text-transform:uppercase}.ModalCloseIcon{z-index:20;transition:all 0.2s ease}.ModalCloseIcon svg{width:11px;height:11px}.ModalCloseIcon:hover{transform:rotate(90deg)}.CloseButton{fill:var(--emw--color-white, #fff);stroke:var(--emw--color-white, #fff);cursor:pointer}.ModalLoadingOverlay{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;background:rgba(18, 25, 31, 0.8);border-radius:10px;z-index:10}.ModalLoader{width:48px;height:48px;border:5px solid rgba(255, 255, 255, 0.1);border-top-color:var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 0.8s linear infinite}.ModalContentWrapper{width:100%;height:100%;transition:opacity 0.2s ease}.ModalContentWrapper.hidden{opacity:0;pointer-events:none}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}@container (max-width: 500px){.ModalContainer.twofa-mode{width:100%;height:100% !important;max-height:100%;border-radius:0;justify-content:flex-start;background:var(--emw--color-background)}.ModalContainer.twofa-mode::before{border-radius:0}}');
|
|
5
|
+
}
|
|
6
|
+
const we = (i) => ({}), U = (i) => ({}), ye = (i) => ({}), q = (i) => ({});
|
|
7
|
+
function A(i) {
|
|
8
|
+
let e, t, n, a, f, m, v, T, k, y, x, u, d = (
|
|
9
|
+
/*modaltype*/
|
|
10
|
+
(i[3] == "error" || /*modaltype*/
|
|
11
|
+
i[3] == "bonusDescription") && G()
|
|
12
|
+
);
|
|
13
|
+
const g = (
|
|
14
|
+
/*#slots*/
|
|
15
|
+
i[14].title
|
|
16
|
+
), p = B(
|
|
17
|
+
g,
|
|
18
|
+
i,
|
|
19
|
+
/*$$scope*/
|
|
20
|
+
i[13],
|
|
21
|
+
q
|
|
22
|
+
);
|
|
23
|
+
let r = (
|
|
24
|
+
/*modaltype*/
|
|
25
|
+
i[3] != "2fa-old" && P(i)
|
|
26
|
+
), l = (
|
|
27
|
+
/*isloading*/
|
|
28
|
+
i[4] === "true" && Q()
|
|
29
|
+
);
|
|
30
|
+
const M = (
|
|
31
|
+
/*#slots*/
|
|
32
|
+
i[14].content
|
|
33
|
+
), c = B(
|
|
34
|
+
M,
|
|
35
|
+
i,
|
|
36
|
+
/*$$scope*/
|
|
37
|
+
i[13],
|
|
38
|
+
U
|
|
39
|
+
);
|
|
40
|
+
return {
|
|
41
|
+
c() {
|
|
42
|
+
e = b("div"), t = b("div"), n = b("div"), a = b("div"), d && d.c(), f = I(), m = b("div"), p && p.c(), v = I(), r && r.c(), T = I(), l && l.c(), k = I(), y = b("div"), c && c.c(), h(m, "class", "TitleText"), h(a, "class", "ModalTitle"), h(n, "class", "ModalHeader"), h(y, "class", "ModalContentWrapper"), L(
|
|
43
|
+
y,
|
|
44
|
+
"hidden",
|
|
45
|
+
/*isloading*/
|
|
46
|
+
i[4] === "true"
|
|
47
|
+
), h(t, "class", "ModalContainer"), L(
|
|
48
|
+
t,
|
|
49
|
+
"video-mode",
|
|
50
|
+
/*modaltype*/
|
|
51
|
+
i[3] === "video"
|
|
52
|
+
), L(
|
|
53
|
+
t,
|
|
54
|
+
"twofa-mode",
|
|
55
|
+
/*modaltype*/
|
|
56
|
+
i[3] === "2fa"
|
|
57
|
+
), h(e, "id", "Modal"), de(() => (
|
|
58
|
+
/*div5_elementresize_handler*/
|
|
59
|
+
i[18].call(e)
|
|
60
|
+
));
|
|
61
|
+
},
|
|
62
|
+
m(s, w) {
|
|
63
|
+
H(s, e, w), _(e, t), _(t, n), _(n, a), d && d.m(a, null), _(a, f), _(a, m), p && p.m(m, null), _(n, v), r && r.m(n, null), _(t, T), l && l.m(t, null), _(t, k), _(t, y), c && c.m(y, null), i[15](y), i[16](t), i[17](e), x = re(
|
|
64
|
+
e,
|
|
65
|
+
/*div5_elementresize_handler*/
|
|
66
|
+
i[18].bind(e)
|
|
67
|
+
), u = !0;
|
|
68
|
+
},
|
|
69
|
+
p(s, w) {
|
|
70
|
+
/*modaltype*/
|
|
71
|
+
s[3] == "error" || /*modaltype*/
|
|
72
|
+
s[3] == "bonusDescription" ? d || (d = G(), d.c(), d.m(a, f)) : d && (d.d(1), d = null), p && p.p && (!u || w & /*$$scope*/
|
|
73
|
+
8192) && F(
|
|
74
|
+
p,
|
|
75
|
+
g,
|
|
76
|
+
s,
|
|
77
|
+
/*$$scope*/
|
|
78
|
+
s[13],
|
|
79
|
+
u ? D(
|
|
80
|
+
g,
|
|
81
|
+
/*$$scope*/
|
|
82
|
+
s[13],
|
|
83
|
+
w,
|
|
84
|
+
ye
|
|
85
|
+
) : Y(
|
|
86
|
+
/*$$scope*/
|
|
87
|
+
s[13]
|
|
88
|
+
),
|
|
89
|
+
q
|
|
90
|
+
), /*modaltype*/
|
|
91
|
+
s[3] != "2fa-old" ? r ? r.p(s, w) : (r = P(s), r.c(), r.m(n, null)) : r && (r.d(1), r = null), /*isloading*/
|
|
92
|
+
s[4] === "true" ? l || (l = Q(), l.c(), l.m(t, k)) : l && (l.d(1), l = null), c && c.p && (!u || w & /*$$scope*/
|
|
93
|
+
8192) && F(
|
|
94
|
+
c,
|
|
95
|
+
M,
|
|
96
|
+
s,
|
|
97
|
+
/*$$scope*/
|
|
98
|
+
s[13],
|
|
99
|
+
u ? D(
|
|
100
|
+
M,
|
|
101
|
+
/*$$scope*/
|
|
102
|
+
s[13],
|
|
103
|
+
w,
|
|
104
|
+
we
|
|
105
|
+
) : Y(
|
|
106
|
+
/*$$scope*/
|
|
107
|
+
s[13]
|
|
108
|
+
),
|
|
109
|
+
U
|
|
110
|
+
), (!u || w & /*isloading*/
|
|
111
|
+
16) && L(
|
|
112
|
+
y,
|
|
113
|
+
"hidden",
|
|
114
|
+
/*isloading*/
|
|
115
|
+
s[4] === "true"
|
|
116
|
+
), (!u || w & /*modaltype*/
|
|
117
|
+
8) && L(
|
|
118
|
+
t,
|
|
119
|
+
"video-mode",
|
|
120
|
+
/*modaltype*/
|
|
121
|
+
s[3] === "video"
|
|
122
|
+
), (!u || w & /*modaltype*/
|
|
123
|
+
8) && L(
|
|
124
|
+
t,
|
|
125
|
+
"twofa-mode",
|
|
126
|
+
/*modaltype*/
|
|
127
|
+
s[3] === "2fa"
|
|
128
|
+
);
|
|
129
|
+
},
|
|
130
|
+
i(s) {
|
|
131
|
+
u || (z(p, s), z(c, s), u = !0);
|
|
132
|
+
},
|
|
133
|
+
o(s) {
|
|
134
|
+
O(p, s), O(c, s), u = !1;
|
|
135
|
+
},
|
|
136
|
+
d(s) {
|
|
137
|
+
s && S(e), d && d.d(), p && p.d(s), r && r.d(), l && l.d(), c && c.d(s), i[15](null), i[16](null), i[17](null), x();
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
function G(i) {
|
|
142
|
+
let e;
|
|
143
|
+
return {
|
|
144
|
+
c() {
|
|
145
|
+
e = b("div"), e.innerHTML = '<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><defs><mask id="exclamation-mask"><circle cx="100" cy="100" r="90"></circle><rect x="88" y="40" width="24" height="80" rx="12" fill="black"></rect><circle cx="100" cy="150" r="14" fill="black"></circle></mask></defs><circle cx="100" cy="100" r="90" mask="url(#exclamation-mask)"></circle></svg>', h(e, "class", "WarningIcon");
|
|
146
|
+
},
|
|
147
|
+
m(t, n) {
|
|
148
|
+
H(t, e, n);
|
|
149
|
+
},
|
|
150
|
+
d(t) {
|
|
151
|
+
t && S(e);
|
|
152
|
+
}
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
function P(i) {
|
|
156
|
+
let e, t, n, a, f;
|
|
157
|
+
return {
|
|
158
|
+
c() {
|
|
159
|
+
e = b("div"), t = R("svg"), n = R("path"), h(n, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "viewBox", "0 0 13 13"), h(t, "fill", "none"), h(t, "class", "CloseButton"), h(e, "class", "ModalCloseIcon");
|
|
160
|
+
},
|
|
161
|
+
m(m, v) {
|
|
162
|
+
H(m, e, v), _(e, t), _(t, n), a || (f = fe(
|
|
163
|
+
t,
|
|
164
|
+
"click",
|
|
165
|
+
/*closeModal*/
|
|
166
|
+
i[9]
|
|
167
|
+
), a = !0);
|
|
168
|
+
},
|
|
169
|
+
p: ce,
|
|
170
|
+
d(m) {
|
|
171
|
+
m && S(e), a = !1, f();
|
|
172
|
+
}
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
function Q(i) {
|
|
176
|
+
let e;
|
|
177
|
+
return {
|
|
178
|
+
c() {
|
|
179
|
+
e = b("div"), e.innerHTML = '<div class="ModalLoader"></div>', h(e, "class", "ModalLoadingOverlay");
|
|
180
|
+
},
|
|
181
|
+
m(t, n) {
|
|
182
|
+
H(t, e, n);
|
|
183
|
+
},
|
|
184
|
+
d(t) {
|
|
185
|
+
t && S(e);
|
|
186
|
+
}
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
function _e(i) {
|
|
190
|
+
let e, t, n = (
|
|
191
|
+
/*show*/
|
|
192
|
+
i[2] === "true" && A(i)
|
|
193
|
+
);
|
|
194
|
+
return {
|
|
195
|
+
c() {
|
|
196
|
+
e = b("div"), n && n.c();
|
|
197
|
+
},
|
|
198
|
+
m(a, f) {
|
|
199
|
+
H(a, e, f), n && n.m(e, null), i[19](e), t = !0;
|
|
200
|
+
},
|
|
201
|
+
p(a, [f]) {
|
|
202
|
+
/*show*/
|
|
203
|
+
a[2] === "true" ? n ? (n.p(a, f), f & /*show*/
|
|
204
|
+
4 && z(n, 1)) : (n = A(a), n.c(), z(n, 1), n.m(e, null)) : n && (le(), O(n, 1, 1, () => {
|
|
205
|
+
n = null;
|
|
206
|
+
}), se());
|
|
207
|
+
},
|
|
208
|
+
i(a) {
|
|
209
|
+
t || (z(n), t = !0);
|
|
210
|
+
},
|
|
211
|
+
o(a) {
|
|
212
|
+
O(n), t = !1;
|
|
213
|
+
},
|
|
214
|
+
d(a) {
|
|
215
|
+
a && S(e), n && n.d(), i[19](null);
|
|
216
|
+
}
|
|
217
|
+
};
|
|
218
|
+
}
|
|
219
|
+
function be(i, e, t) {
|
|
220
|
+
let { $$slots: n = {}, $$scope: a } = e, { mbsource: f } = e, { clientstyling: m } = e, { clientstylingurl: v } = e, { show: T } = e, { modaltype: k = "" } = e, { isloading: y = "false" } = e, { width: x } = e, { height: u } = e, d, g, p, r, l, M = !1, c, s;
|
|
221
|
+
const w = () => {
|
|
222
|
+
c && clearTimeout(c), d && (d.classList.add("closing"), window.dispatchEvent(new CustomEvent("manualClosePopup")), c = setTimeout(
|
|
223
|
+
() => {
|
|
224
|
+
window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
|
|
225
|
+
},
|
|
226
|
+
200
|
|
227
|
+
));
|
|
228
|
+
}, E = async () => {
|
|
229
|
+
if (!l || !r || M)
|
|
230
|
+
return;
|
|
231
|
+
s && clearTimeout(c), M = !0;
|
|
232
|
+
const o = l.offsetWidth, X = l.offsetHeight;
|
|
233
|
+
t(8, l.style.width = `${o}px`, l), t(8, l.style.height = `${X}px`, l), l.offsetHeight, await j();
|
|
234
|
+
const $ = r.scrollHeight, ee = r.scrollWidth;
|
|
235
|
+
t(8, l.style.width = `${ee}px`, l), t(8, l.style.height = `${$}px`, l), s = setTimeout(
|
|
236
|
+
() => {
|
|
237
|
+
l && (t(8, l.style.width = "auto", l), t(8, l.style.height = "auto", l)), M = !1;
|
|
238
|
+
},
|
|
239
|
+
300
|
|
240
|
+
);
|
|
241
|
+
};
|
|
242
|
+
ae(() => {
|
|
243
|
+
if (j().then(() => {
|
|
244
|
+
E();
|
|
245
|
+
}), r) {
|
|
246
|
+
const o = new ResizeObserver(() => {
|
|
247
|
+
E();
|
|
248
|
+
});
|
|
249
|
+
return o.observe(r), () => {
|
|
250
|
+
o.disconnect();
|
|
251
|
+
};
|
|
252
|
+
}
|
|
253
|
+
return () => {
|
|
254
|
+
c && clearTimeout(c), s && clearTimeout(c);
|
|
255
|
+
};
|
|
256
|
+
});
|
|
257
|
+
function Z(o) {
|
|
258
|
+
W[o ? "unshift" : "push"](() => {
|
|
259
|
+
r = o, t(7, r);
|
|
260
|
+
});
|
|
261
|
+
}
|
|
262
|
+
function J(o) {
|
|
263
|
+
W[o ? "unshift" : "push"](() => {
|
|
264
|
+
l = o, t(8, l);
|
|
265
|
+
});
|
|
266
|
+
}
|
|
267
|
+
function K(o) {
|
|
268
|
+
W[o ? "unshift" : "push"](() => {
|
|
269
|
+
d = o, t(6, d);
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
function N() {
|
|
273
|
+
x = this.clientWidth, u = this.clientHeight, t(0, x), t(1, u);
|
|
274
|
+
}
|
|
275
|
+
function V(o) {
|
|
276
|
+
W[o ? "unshift" : "push"](() => {
|
|
277
|
+
g = o, t(5, g);
|
|
278
|
+
});
|
|
279
|
+
}
|
|
280
|
+
return i.$$set = (o) => {
|
|
281
|
+
"mbsource" in o && t(10, f = o.mbsource), "clientstyling" in o && t(11, m = o.clientstyling), "clientstylingurl" in o && t(12, v = o.clientstylingurl), "show" in o && t(2, T = o.show), "modaltype" in o && t(3, k = o.modaltype), "isloading" in o && t(4, y = o.isloading), "width" in o && t(0, x = o.width), "height" in o && t(1, u = o.height), "$$scope" in o && t(13, a = o.$$scope);
|
|
282
|
+
}, i.$$.update = () => {
|
|
283
|
+
i.$$.dirty & /*isloading*/
|
|
284
|
+
16 && y && j().then(() => {
|
|
285
|
+
E();
|
|
286
|
+
}), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
287
|
+
2080 && m && g && he(g, m), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
288
|
+
4128 && v && g && me(g, v), i.$$.dirty & /*mbsource, customStylingContainer*/
|
|
289
|
+
1056 && f && g && ge(g, `${f}.Style`, p);
|
|
290
|
+
}, [
|
|
291
|
+
x,
|
|
292
|
+
u,
|
|
293
|
+
T,
|
|
294
|
+
k,
|
|
295
|
+
y,
|
|
296
|
+
g,
|
|
297
|
+
d,
|
|
298
|
+
r,
|
|
299
|
+
l,
|
|
300
|
+
w,
|
|
301
|
+
f,
|
|
302
|
+
m,
|
|
303
|
+
v,
|
|
304
|
+
a,
|
|
305
|
+
n,
|
|
306
|
+
Z,
|
|
307
|
+
J,
|
|
308
|
+
K,
|
|
309
|
+
N,
|
|
310
|
+
V
|
|
311
|
+
];
|
|
312
|
+
}
|
|
313
|
+
class ve extends te {
|
|
314
|
+
constructor(e) {
|
|
315
|
+
super(), ie(
|
|
316
|
+
this,
|
|
317
|
+
e,
|
|
318
|
+
be,
|
|
319
|
+
_e,
|
|
320
|
+
ne,
|
|
321
|
+
{
|
|
322
|
+
mbsource: 10,
|
|
323
|
+
clientstyling: 11,
|
|
324
|
+
clientstylingurl: 12,
|
|
325
|
+
show: 2,
|
|
326
|
+
modaltype: 3,
|
|
327
|
+
isloading: 4,
|
|
328
|
+
width: 0,
|
|
329
|
+
height: 1
|
|
330
|
+
},
|
|
331
|
+
pe
|
|
332
|
+
);
|
|
333
|
+
}
|
|
334
|
+
get mbsource() {
|
|
335
|
+
return this.$$.ctx[10];
|
|
336
|
+
}
|
|
337
|
+
set mbsource(e) {
|
|
338
|
+
this.$$set({ mbsource: e }), C();
|
|
339
|
+
}
|
|
340
|
+
get clientstyling() {
|
|
341
|
+
return this.$$.ctx[11];
|
|
342
|
+
}
|
|
343
|
+
set clientstyling(e) {
|
|
344
|
+
this.$$set({ clientstyling: e }), C();
|
|
345
|
+
}
|
|
346
|
+
get clientstylingurl() {
|
|
347
|
+
return this.$$.ctx[12];
|
|
348
|
+
}
|
|
349
|
+
set clientstylingurl(e) {
|
|
350
|
+
this.$$set({ clientstylingurl: e }), C();
|
|
351
|
+
}
|
|
352
|
+
get show() {
|
|
353
|
+
return this.$$.ctx[2];
|
|
354
|
+
}
|
|
355
|
+
set show(e) {
|
|
356
|
+
this.$$set({ show: e }), C();
|
|
357
|
+
}
|
|
358
|
+
get modaltype() {
|
|
359
|
+
return this.$$.ctx[3];
|
|
360
|
+
}
|
|
361
|
+
set modaltype(e) {
|
|
362
|
+
this.$$set({ modaltype: e }), C();
|
|
363
|
+
}
|
|
364
|
+
get isloading() {
|
|
365
|
+
return this.$$.ctx[4];
|
|
366
|
+
}
|
|
367
|
+
set isloading(e) {
|
|
368
|
+
this.$$set({ isloading: e }), C();
|
|
369
|
+
}
|
|
370
|
+
get width() {
|
|
371
|
+
return this.$$.ctx[0];
|
|
372
|
+
}
|
|
373
|
+
set width(e) {
|
|
374
|
+
this.$$set({ width: e }), C();
|
|
375
|
+
}
|
|
376
|
+
get height() {
|
|
377
|
+
return this.$$.ctx[1];
|
|
378
|
+
}
|
|
379
|
+
set height(e) {
|
|
380
|
+
this.$$set({ height: e }), C();
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
ue(ve, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["title", "content"], [], !0);
|
|
384
|
+
export {
|
|
385
|
+
ve as default
|
|
386
|
+
};
|