@everymatrix/cashier-page 1.86.4 → 1.86.6
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-BhLbwlL5.js → CashierCarousel-DKhPJU6b.js} +1185 -1164
- package/components/CashierCarousel-Dl-eMerS.cjs +23 -0
- package/components/{CashierCarousel-Bwhda3Gl.js → CashierCarousel-VzauuRzd.js} +1345 -1324
- package/components/{CashierError-CXwvUOLy.js → CashierError-B0qTVRew.js} +40 -40
- package/components/{CashierError-D4Au4WNB.cjs → CashierError-Bx19tshH.cjs} +1 -1
- package/components/{CashierError-CXcO-Kju.js → CashierError-ZnrYSdIJ.js} +40 -40
- package/components/{CashierHeader-BgAqvq1Q.js → CashierHeader-Bg2nCWkL.js} +60 -60
- package/components/{CashierHeader-CmAjJv-w.cjs → CashierHeader-BgpMLlQl.cjs} +1 -1
- package/components/{CashierHeader-DRj1BUdj.js → CashierHeader-Ob55c3V1.js} +56 -56
- package/components/{CashierIframeRedirect-Ddt7NW02.cjs → CashierIframeRedirect-BRzP3u6o.cjs} +1 -1
- package/components/{CashierIframeRedirect-DmvuwOL2.js → CashierIframeRedirect-CmCpwQNx.js} +24 -24
- package/components/{CashierIframeRedirect-B76kjw0o.js → CashierIframeRedirect-uR7lUcI4.js} +24 -24
- package/components/{CashierMethodDetails-BX_W3rwH.js → CashierMethodDetails-CU_gNr4p.js} +569 -553
- package/components/{CashierMethodDetails-i7grZPp4.js → CashierMethodDetails-DhARQGUz.js} +430 -414
- package/components/{CashierMethodDetails-DmvyMFjk.cjs → CashierMethodDetails-QbD1F9to.cjs} +4 -4
- package/components/{CashierMethodsList-LHoZgwVR.cjs → CashierMethodsList-BCZ1lZkH.cjs} +1 -1
- package/components/{CashierMethodsList-DSq72RRw.js → CashierMethodsList-BOq6nGLl.js} +129 -130
- package/components/{CashierMethodsList-B6tMxcnh.js → CashierMethodsList-dkT-ZZYx.js} +142 -143
- package/components/{CashierModal-C845c3D0.cjs → CashierModal-CNfSMMrg.cjs} +1 -1
- package/components/{CashierModal-CTYxaPKG.js → CashierModal-CeTxvGuv.js} +86 -86
- package/components/{CashierModal-ndVMjksn.js → CashierModal-CzdREUu5.js} +87 -87
- package/components/{CashierNotifications-Bp4KJnpm.js → CashierNotifications-Atgdw6xY.js} +34 -34
- package/components/{CashierNotifications-tfTPEiSk.cjs → CashierNotifications-C7Mjn9aM.cjs} +1 -1
- package/components/{CashierNotifications-JNstA5Yb.js → CashierNotifications-DaXLtFPD.js} +34 -34
- package/components/{CashierPage-4nTfbT_j.js → CashierPage-DfENiMi2.js} +87 -87
- package/components/{CashierPage-CHtYMgc0.cjs → CashierPage-PqF8DAUW.cjs} +1 -1
- package/components/{CashierPage-Bd71Nhaq.js → CashierPage-_vZYvb8Q.js} +89 -89
- package/components/{CashierReceiptPage-DV7Iz4wR.js → CashierReceiptPage-BvHdGGdc.js} +637 -644
- package/components/{CashierReceiptPage-CnyLmUmL.js → CashierReceiptPage-DJ3msMuM.js} +552 -583
- package/components/{CashierReceiptPage-HRthn--H.cjs → CashierReceiptPage-Jx3jfGDH.cjs} +2 -2
- package/components/{CashierSessionExpirationModal-Ckhir3qN.cjs → CashierSessionExpirationModal-CieL4adW.cjs} +2 -2
- package/components/{CashierSessionExpirationModal-DM8-SPd3.js → CashierSessionExpirationModal-DljTriJc.js} +90 -99
- package/components/{CashierSessionExpirationModal-CvYI4jUg.js → CashierSessionExpirationModal-Zl5Ivr7U.js} +88 -97
- package/components/{CashierSpinner-ODmoTC6W.cjs → CashierSpinner-BUjnT9BW.cjs} +1 -1
- package/components/{CashierSpinner-CeX51xPH.js → CashierSpinner-Cfc6C4df.js} +17 -17
- package/components/{CashierSpinner-a2VW8q1r.js → CashierSpinner-Dansuw_c.js} +17 -17
- package/components/{CashierStepUp-5um8gbUX.js → CashierStepUp-CXaxhy_1.js} +66 -66
- package/components/{CashierStepUp-CyO7gmgP.js → CashierStepUp-D6fTGz14.js} +83 -83
- package/components/{CashierStepUp-CjnvqYJo.cjs → CashierStepUp-gsICNfsv.cjs} +1 -1
- package/components/{CashierTransactionHistory-CmgO6bXN.cjs → CashierTransactionHistory-BTcu8t5I.cjs} +1 -1
- package/components/{CashierTransactionHistory-5JNtVHcj.js → CashierTransactionHistory-C_nsFmmO.js} +84 -84
- package/components/{CashierTransactionHistory-Cm3ikVPK.js → CashierTransactionHistory-Cq8wJM-V.js} +84 -84
- package/components/{CashierVerifications-hID6hjDs.js → CashierVerifications-43jiNBk6.js} +37 -37
- package/components/{CashierVerifications-DkayuISY.cjs → CashierVerifications-BcbBJyl0.cjs} +1 -1
- package/components/{CashierVerifications-BmZYiJaN.js → CashierVerifications-CfZfKrS7.js} +35 -35
- package/components/{TxnStatusIcon-BDnNMhFD.js → TxnStatusIcon-BBs7yerQ.js} +19 -19
- package/components/{TxnStatusIcon-Le-TBKNh.cjs → TxnStatusIcon-Bm2SDwwJ.cjs} +1 -1
- package/components/{TxnStatusIcon-HrmfQdAc.js → TxnStatusIcon-C1C42nXE.js} +19 -19
- package/components/{TxnTypeIcons-sZUo9qa8.cjs → TxnTypeIcons-BOWsICZk.cjs} +1 -1
- package/components/{TxnTypeIcons-DZRNYWUy.js → TxnTypeIcons-CC0HOFvg.js} +14 -14
- package/components/{TxnTypeIcons-__im0AE_.js → TxnTypeIcons-hQ7x8mMJ.js} +14 -14
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652-B6BYeRne.js +542 -0
- package/stencil/index-97d17652-BOr4KAqq.js +558 -0
- package/stencil/index-97d17652-zTl06Vn9.cjs +1 -0
- package/stencil/index-b2193545-B5Q7rnAU.cjs +1 -0
- package/stencil/index-b2193545-CF_fVoFe.js +519 -0
- package/stencil/index-b2193545-DfttkCgg.js +503 -0
- package/stencil/{ui-image-D69wsX4B.js → ui-image-BsYHwNhO.js} +1 -1
- package/stencil/{ui-image-BIr_PDb-.js → ui-image-CNaRr0ax.js} +1 -1
- package/stencil/{ui-image-CEbrFHSD.cjs → ui-image-IJc7Zz_R.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-CBB2FKRZ.js → ui-image-b7b48fe5-BKRtoUuG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-rCWcyktd.js → ui-image-b7b48fe5-HA45CrsG.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DjCO-ZF4.cjs → ui-image-b7b48fe5-MC0x5ZQd.cjs} +1 -1
- package/stencil/{ui-image_2-BfZmduAK.js → ui-image_2-CmVho0dS.js} +2 -2
- package/stencil/{ui-image_2-ZFidgTXM.cjs → ui-image_2-CyqE6j_W.cjs} +1 -1
- package/stencil/{ui-image_2-BESQEo1l.js → ui-image_2-Daq38JGa.js} +2 -2
- package/stencil/{ui-skeleton-i8axfHXy.js → ui-skeleton-B9YTz-WD.js} +2 -2
- package/stencil/{ui-skeleton-UELn0TdO.js → ui-skeleton-CQ-FgYMx.js} +2 -2
- package/stencil/{ui-skeleton-CTOStr1f.cjs → ui-skeleton-UxIIZ8UD.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-6tILWWI7.cjs → ui-skeleton-ed169f8f-BEwquWmd.cjs} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-DU5yFWqG.js → ui-skeleton-ed169f8f-BMrkXoR5.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-DmzkEnLt.js → ui-skeleton-ed169f8f-BNn31z1X.js} +1 -1
- package/components/CashierCarousel-CfPrrhkY.cjs +0 -23
- package/stencil/index-97d17652-DvplcHtm.js +0 -558
- package/stencil/index-97d17652-ILzgTtTR.cjs +0 -1
- package/stencil/index-97d17652-p-iQtjus.js +0 -542
- package/stencil/index-b2193545-Bvpy7mp9.js +0 -503
- package/stencil/index-b2193545-DxDmFccl.js +0 -519
- package/stencil/index-b2193545-P1qvDl70.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var z=(n,t,i)=>new Promise((l,r)=>{var h=u=>{try{b(i.next(u))}catch(m){r(m)}},y=u=>{try{b(i.throw(u))}catch(m){r(m)}},b=u=>u.done?l(u.value):Promise.resolve(u.value).then(h,y);b((i=i.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierCarousel-CfPrrhkY.cjs");function q(n){e.append_styles(n,"svelte-vlp16o",'*,*::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)}.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}}')}const D=n=>({}),S=n=>({}),R=n=>({}),H=n=>({});function I(n){let t,i,l,r,h,y,b,u,m,C,M,x,g,w,c,a,L,d=(n[3]=="error"||n[3]=="bonusDescription")&&W();const k=n[14].title,p=e.create_slot(k,n,n[13],H);let f=n[4]==="true"&&O();const T=n[14].content,_=e.create_slot(T,n,n[13],S);return{c(){t=e.element("div"),i=e.element("div"),l=e.element("div"),r=e.element("div"),d&&d.c(),h=e.space(),y=e.element("div"),p&&p.c(),b=e.space(),u=e.element("div"),m=e.svg_element("svg"),C=e.svg_element("path"),M=e.space(),f&&f.c(),x=e.space(),g=e.element("div"),_&&_.c(),e.attr(y,"class","TitleText"),e.attr(r,"class","ModalTitle"),e.attr(C,"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"),e.attr(m,"xmlns","http://www.w3.org/2000/svg"),e.attr(m,"viewBox","0 0 13 13"),e.attr(m,"fill","none"),e.attr(m,"class","CloseButton"),e.attr(u,"class","ModalCloseIcon"),e.attr(l,"class","ModalHeader"),e.attr(g,"class","ModalContentWrapper"),e.toggle_class(g,"hidden",n[4]==="true"),e.attr(i,"class","ModalContainer"),e.toggle_class(i,"video-mode",n[3]==="video"),e.toggle_class(i,"twofa-mode",n[3]==="2fa"),e.attr(t,"id","Modal"),e.add_render_callback(()=>n[18].call(t))},m(s,v){e.insert(s,t,v),e.append(t,i),e.append(i,l),e.append(l,r),d&&d.m(r,null),e.append(r,h),e.append(r,y),p&&p.m(y,null),e.append(l,b),e.append(l,u),e.append(u,m),e.append(m,C),e.append(i,M),f&&f.m(i,null),e.append(i,x),e.append(i,g),_&&_.m(g,null),n[15](g),n[16](i),n[17](t),w=e.add_iframe_resize_listener(t,n[18].bind(t)),c=!0,a||(L=e.listen(m,"click",n[9]),a=!0)},p(s,v){s[3]=="error"||s[3]=="bonusDescription"?d||(d=W(),d.c(),d.m(r,h)):d&&(d.d(1),d=null),p&&p.p&&(!c||v&8192)&&e.update_slot_base(p,k,s,s[13],c?e.get_slot_changes(k,s[13],v,R):e.get_all_dirty_from_scope(s[13]),H),s[4]==="true"?f||(f=O(),f.c(),f.m(i,x)):f&&(f.d(1),f=null),_&&_.p&&(!c||v&8192)&&e.update_slot_base(_,T,s,s[13],c?e.get_slot_changes(T,s[13],v,D):e.get_all_dirty_from_scope(s[13]),S),(!c||v&16)&&e.toggle_class(g,"hidden",s[4]==="true"),(!c||v&8)&&e.toggle_class(i,"video-mode",s[3]==="video"),(!c||v&8)&&e.toggle_class(i,"twofa-mode",s[3]==="2fa")},i(s){c||(e.transition_in(p,s),e.transition_in(_,s),c=!0)},o(s){e.transition_out(p,s),e.transition_out(_,s),c=!1},d(s){s&&e.detach(t),d&&d.d(),p&&p.d(s),f&&f.d(),_&&_.d(s),n[15](null),n[16](null),n[17](null),w(),a=!1,L()}}}function W(n){let t;return{c(){t=e.element("div"),t.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>',e.attr(t,"class","WarningIcon")},m(i,l){e.insert(i,t,l)},d(i){i&&e.detach(t)}}}function O(n){let t;return{c(){t=e.element("div"),t.innerHTML='<div class="ModalLoader"></div>',e.attr(t,"class","ModalLoadingOverlay")},m(i,l){e.insert(i,t,l)},d(i){i&&e.detach(t)}}}function P(n){let t,i,l=n[2]==="true"&&I(n);return{c(){t=e.element("div"),l&&l.c()},m(r,h){e.insert(r,t,h),l&&l.m(t,null),n[19](t),i=!0},p(r,[h]){r[2]==="true"?l?(l.p(r,h),h&4&&e.transition_in(l,1)):(l=I(r),l.c(),e.transition_in(l,1),l.m(t,null)):l&&(e.group_outros(),e.transition_out(l,1,1,()=>{l=null}),e.check_outros())},i(r){i||(e.transition_in(l),i=!0)},o(r){e.transition_out(l),i=!1},d(r){r&&e.detach(t),l&&l.d(),n[19](null)}}}function U(n,t,i){let{$$slots:l={},$$scope:r}=t,{mbsource:h}=t,{clientstyling:y}=t,{clientstylingurl:b}=t,{show:u}=t,{modaltype:m=""}=t,{isloading:C="false"}=t,{width:M}=t,{height:x}=t,g,w,c,a,L=!1,d,k;const p=()=>{d&&clearTimeout(d),g&&(g.classList.add("closing"),d=setTimeout(()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"closed",data:{}}}))},200))},f=()=>z(this,null,function*(){if(!a||!c||L)return;k&&clearTimeout(d),L=!0;const o=a.offsetWidth,E=a.offsetHeight;i(8,a.style.width=`${o}px`,a),i(8,a.style.height=`${E}px`,a),a.offsetHeight,yield e.tick();const F=c.scrollHeight,Y=c.scrollWidth;i(8,a.style.width=`${Y}px`,a),i(8,a.style.height=`${F}px`,a),k=setTimeout(()=>{a&&(i(8,a.style.width="auto",a),i(8,a.style.height="auto",a)),L=!1},300)});e.onMount(()=>{if(e.tick().then(()=>{f()}),c){const o=new ResizeObserver(()=>{f()});return o.observe(c),()=>{o.disconnect()}}return()=>{d&&clearTimeout(d),k&&clearTimeout(d)}});function T(o){e.binding_callbacks[o?"unshift":"push"](()=>{c=o,i(7,c)})}function _(o){e.binding_callbacks[o?"unshift":"push"](()=>{a=o,i(8,a)})}function s(o){e.binding_callbacks[o?"unshift":"push"](()=>{g=o,i(6,g)})}function v(){M=this.clientWidth,x=this.clientHeight,i(0,M),i(1,x)}function B(o){e.binding_callbacks[o?"unshift":"push"](()=>{w=o,i(5,w)})}return n.$$set=o=>{"mbsource"in o&&i(10,h=o.mbsource),"clientstyling"in o&&i(11,y=o.clientstyling),"clientstylingurl"in o&&i(12,b=o.clientstylingurl),"show"in o&&i(2,u=o.show),"modaltype"in o&&i(3,m=o.modaltype),"isloading"in o&&i(4,C=o.isloading),"width"in o&&i(0,M=o.width),"height"in o&&i(1,x=o.height),"$$scope"in o&&i(13,r=o.$$scope)},n.$$.update=()=>{n.$$.dirty&16&&C&&e.tick().then(()=>{f()}),n.$$.dirty&2080&&y&&w&&e.setClientStyling(w,y),n.$$.dirty&4128&&b&&w&&e.setClientStylingURL(w,b),n.$$.dirty&1056&&h&&w&&e.setStreamStyling(w,`${h}.Style`)},[M,x,u,m,C,w,g,c,a,p,h,y,b,r,l,T,_,s,v,B]}class j extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,U,P,e.safe_not_equal,{mbsource:10,clientstyling:11,clientstylingurl:12,show:2,modaltype:3,isloading:4,width:0,height:1},q)}get mbsource(){return this.$$.ctx[10]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get show(){return this.$$.ctx[2]}set show(t){this.$$set({show:t}),e.flush()}get modaltype(){return this.$$.ctx[3]}set modaltype(t){this.$$set({modaltype:t}),e.flush()}get isloading(){return this.$$.ctx[4]}set isloading(t){this.$$set({isloading:t}),e.flush()}get width(){return this.$$.ctx[0]}set width(t){this.$$set({width:t}),e.flush()}get height(){return this.$$.ctx[1]}set height(t){this.$$set({height:t}),e.flush()}}e.create_custom_element(j,{mbsource:{},clientstyling:{},clientstylingurl:{},show:{},modaltype:{},isloading:{},width:{},height:{}},["title","content"],[],!0);exports.default=j;
|
|
1
|
+
"use strict";var z=(n,t,i)=>new Promise((l,r)=>{var u=h=>{try{b(i.next(h))}catch(m){r(m)}},y=h=>{try{b(i.throw(h))}catch(m){r(m)}},b=h=>h.done?l(h.value):Promise.resolve(h.value).then(u,y);b((i=i.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierCarousel-Dl-eMerS.cjs");function q(n){e.append_styles(n,"svelte-vlp16o",'*,*::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)}.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}}')}const D=n=>({}),S=n=>({}),P=n=>({}),H=n=>({});function I(n){let t,i,l,r,u,y,b,h,m,x,M,C,g,w,c,a,L,d=(n[3]=="error"||n[3]=="bonusDescription")&&W();const k=n[14].title,p=e.create_slot(k,n,n[13],H);let f=n[4]==="true"&&O();const T=n[14].content,_=e.create_slot(T,n,n[13],S);return{c(){t=e.element("div"),i=e.element("div"),l=e.element("div"),r=e.element("div"),d&&d.c(),u=e.space(),y=e.element("div"),p&&p.c(),b=e.space(),h=e.element("div"),m=e.svg_element("svg"),x=e.svg_element("path"),M=e.space(),f&&f.c(),C=e.space(),g=e.element("div"),_&&_.c(),e.attr(y,"class","TitleText"),e.attr(r,"class","ModalTitle"),e.attr(x,"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"),e.attr(m,"xmlns","http://www.w3.org/2000/svg"),e.attr(m,"viewBox","0 0 13 13"),e.attr(m,"fill","none"),e.attr(m,"class","CloseButton"),e.attr(h,"class","ModalCloseIcon"),e.attr(l,"class","ModalHeader"),e.attr(g,"class","ModalContentWrapper"),e.toggle_class(g,"hidden",n[4]==="true"),e.attr(i,"class","ModalContainer"),e.toggle_class(i,"video-mode",n[3]==="video"),e.toggle_class(i,"twofa-mode",n[3]==="2fa"),e.attr(t,"id","Modal"),e.add_render_callback(()=>n[18].call(t))},m(s,v){e.insert(s,t,v),e.append(t,i),e.append(i,l),e.append(l,r),d&&d.m(r,null),e.append(r,u),e.append(r,y),p&&p.m(y,null),e.append(l,b),e.append(l,h),e.append(h,m),e.append(m,x),e.append(i,M),f&&f.m(i,null),e.append(i,C),e.append(i,g),_&&_.m(g,null),n[15](g),n[16](i),n[17](t),w=e.add_iframe_resize_listener(t,n[18].bind(t)),c=!0,a||(L=e.listen(m,"click",n[9]),a=!0)},p(s,v){s[3]=="error"||s[3]=="bonusDescription"?d||(d=W(),d.c(),d.m(r,u)):d&&(d.d(1),d=null),p&&p.p&&(!c||v&8192)&&e.update_slot_base(p,k,s,s[13],c?e.get_slot_changes(k,s[13],v,P):e.get_all_dirty_from_scope(s[13]),H),s[4]==="true"?f||(f=O(),f.c(),f.m(i,C)):f&&(f.d(1),f=null),_&&_.p&&(!c||v&8192)&&e.update_slot_base(_,T,s,s[13],c?e.get_slot_changes(T,s[13],v,D):e.get_all_dirty_from_scope(s[13]),S),(!c||v&16)&&e.toggle_class(g,"hidden",s[4]==="true"),(!c||v&8)&&e.toggle_class(i,"video-mode",s[3]==="video"),(!c||v&8)&&e.toggle_class(i,"twofa-mode",s[3]==="2fa")},i(s){c||(e.transition_in(p,s),e.transition_in(_,s),c=!0)},o(s){e.transition_out(p,s),e.transition_out(_,s),c=!1},d(s){s&&e.detach(t),d&&d.d(),p&&p.d(s),f&&f.d(),_&&_.d(s),n[15](null),n[16](null),n[17](null),w(),a=!1,L()}}}function W(n){let t;return{c(){t=e.element("div"),t.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>',e.attr(t,"class","WarningIcon")},m(i,l){e.insert(i,t,l)},d(i){i&&e.detach(t)}}}function O(n){let t;return{c(){t=e.element("div"),t.innerHTML='<div class="ModalLoader"></div>',e.attr(t,"class","ModalLoadingOverlay")},m(i,l){e.insert(i,t,l)},d(i){i&&e.detach(t)}}}function R(n){let t,i,l=n[2]==="true"&&I(n);return{c(){t=e.element("div"),l&&l.c()},m(r,u){e.insert(r,t,u),l&&l.m(t,null),n[19](t),i=!0},p(r,[u]){r[2]==="true"?l?(l.p(r,u),u&4&&e.transition_in(l,1)):(l=I(r),l.c(),e.transition_in(l,1),l.m(t,null)):l&&(e.group_outros(),e.transition_out(l,1,1,()=>{l=null}),e.check_outros())},i(r){i||(e.transition_in(l),i=!0)},o(r){e.transition_out(l),i=!1},d(r){r&&e.detach(t),l&&l.d(),n[19](null)}}}function U(n,t,i){let{$$slots:l={},$$scope:r}=t,{mbsource:u}=t,{clientstyling:y}=t,{clientstylingurl:b}=t,{show:h}=t,{modaltype:m=""}=t,{isloading:x="false"}=t,{width:M}=t,{height:C}=t,g,w,c,a,L=!1,d,k;const p=()=>{d&&clearTimeout(d),g&&(g.classList.add("closing"),window.dispatchEvent(new CustomEvent("manualClosePopup")),d=setTimeout(()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"closed",data:{}}}))},200))},f=()=>z(this,null,function*(){if(!a||!c||L)return;k&&clearTimeout(d),L=!0;const o=a.offsetWidth,B=a.offsetHeight;i(8,a.style.width=`${o}px`,a),i(8,a.style.height=`${B}px`,a),a.offsetHeight,yield e.tick();const F=c.scrollHeight,Y=c.scrollWidth;i(8,a.style.width=`${Y}px`,a),i(8,a.style.height=`${F}px`,a),k=setTimeout(()=>{a&&(i(8,a.style.width="auto",a),i(8,a.style.height="auto",a)),L=!1},300)});e.onMount(()=>{if(e.tick().then(()=>{f()}),c){const o=new ResizeObserver(()=>{f()});return o.observe(c),()=>{o.disconnect()}}return()=>{d&&clearTimeout(d),k&&clearTimeout(d)}});function T(o){e.binding_callbacks[o?"unshift":"push"](()=>{c=o,i(7,c)})}function _(o){e.binding_callbacks[o?"unshift":"push"](()=>{a=o,i(8,a)})}function s(o){e.binding_callbacks[o?"unshift":"push"](()=>{g=o,i(6,g)})}function v(){M=this.clientWidth,C=this.clientHeight,i(0,M),i(1,C)}function j(o){e.binding_callbacks[o?"unshift":"push"](()=>{w=o,i(5,w)})}return n.$$set=o=>{"mbsource"in o&&i(10,u=o.mbsource),"clientstyling"in o&&i(11,y=o.clientstyling),"clientstylingurl"in o&&i(12,b=o.clientstylingurl),"show"in o&&i(2,h=o.show),"modaltype"in o&&i(3,m=o.modaltype),"isloading"in o&&i(4,x=o.isloading),"width"in o&&i(0,M=o.width),"height"in o&&i(1,C=o.height),"$$scope"in o&&i(13,r=o.$$scope)},n.$$.update=()=>{n.$$.dirty&16&&x&&e.tick().then(()=>{f()}),n.$$.dirty&2080&&y&&w&&e.setClientStyling(w,y),n.$$.dirty&4128&&b&&w&&e.setClientStylingURL(w,b),n.$$.dirty&1056&&u&&w&&e.setStreamStyling(w,`${u}.Style`)},[M,C,h,m,x,w,g,c,a,p,u,y,b,r,l,T,_,s,v,j]}class E extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,U,R,e.safe_not_equal,{mbsource:10,clientstyling:11,clientstylingurl:12,show:2,modaltype:3,isloading:4,width:0,height:1},q)}get mbsource(){return this.$$.ctx[10]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get show(){return this.$$.ctx[2]}set show(t){this.$$set({show:t}),e.flush()}get modaltype(){return this.$$.ctx[3]}set modaltype(t){this.$$set({modaltype:t}),e.flush()}get isloading(){return this.$$.ctx[4]}set isloading(t){this.$$set({isloading:t}),e.flush()}get width(){return this.$$.ctx[0]}set width(t){this.$$set({width:t}),e.flush()}get height(){return this.$$.ctx[1]}set height(t){this.$$set({height:t}),e.flush()}}e.create_custom_element(E,{mbsource:{},clientstyling:{},clientstylingurl:{},show:{},modaltype:{},isloading:{},width:{},height:{}},["title","content"],[],!0);exports.default=E;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { S as $, b as ee,
|
|
1
|
+
import { S as $, b as ee, s as te, f as C, c as ie, e as B, t as j, g as I, a6 as ne, a7 as oe, k as F, m as b, q as se, R as Y, d as D, u as R, h as q, j as P, W as H, l as w, a8 as le, x as ae, n as O, X as U, o as f, L as re, y as E, B as de, C as ce, D as fe, E as he } from "./CashierCarousel-DKhPJU6b.js";
|
|
2
2
|
function ue(i) {
|
|
3
|
-
|
|
3
|
+
ie(i, "svelte-vlp16o", '*,*::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)}.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}}');
|
|
4
4
|
}
|
|
5
|
-
const me = (i) => ({}),
|
|
6
|
-
function
|
|
7
|
-
let e, t, o, r, h, v, M, k, y, L, T, x, u, p, d,
|
|
5
|
+
const me = (i) => ({}), X = (i) => ({}), ge = (i) => ({}), Z = (i) => ({});
|
|
6
|
+
function A(i) {
|
|
7
|
+
let e, t, o, r, h, v, M, k, y, L, T, x, u, p, d, l, S, a = (
|
|
8
8
|
/*modaltype*/
|
|
9
9
|
(i[3] == "error" || /*modaltype*/
|
|
10
|
-
i[3] == "bonusDescription") &&
|
|
10
|
+
i[3] == "bonusDescription") && G()
|
|
11
11
|
);
|
|
12
12
|
const z = (
|
|
13
13
|
/*#slots*/
|
|
@@ -17,25 +17,25 @@ function J(i) {
|
|
|
17
17
|
i,
|
|
18
18
|
/*$$scope*/
|
|
19
19
|
i[13],
|
|
20
|
-
|
|
20
|
+
Z
|
|
21
21
|
);
|
|
22
22
|
let c = (
|
|
23
23
|
/*isloading*/
|
|
24
|
-
i[4] === "true" &&
|
|
24
|
+
i[4] === "true" && J()
|
|
25
25
|
);
|
|
26
|
-
const
|
|
26
|
+
const W = (
|
|
27
27
|
/*#slots*/
|
|
28
28
|
i[14].content
|
|
29
29
|
), g = D(
|
|
30
|
-
|
|
30
|
+
W,
|
|
31
31
|
i,
|
|
32
32
|
/*$$scope*/
|
|
33
33
|
i[13],
|
|
34
|
-
|
|
34
|
+
X
|
|
35
35
|
);
|
|
36
36
|
return {
|
|
37
37
|
c() {
|
|
38
|
-
e = b("div"), t = b("div"), o = b("div"), r = b("div"), a && a.c(), h = O(), v = b("div"), m && m.c(), M = O(), k = b("div"), y =
|
|
38
|
+
e = b("div"), t = b("div"), o = b("div"), r = b("div"), a && a.c(), h = O(), v = b("div"), m && m.c(), M = O(), k = b("div"), y = U("svg"), L = U("path"), T = O(), c && c.c(), x = O(), u = b("div"), g && g.c(), f(v, "class", "TitleText"), f(r, "class", "ModalTitle"), f(L, "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"), f(y, "xmlns", "http://www.w3.org/2000/svg"), f(y, "viewBox", "0 0 13 13"), f(y, "fill", "none"), f(y, "class", "CloseButton"), f(k, "class", "ModalCloseIcon"), f(o, "class", "ModalHeader"), f(u, "class", "ModalContentWrapper"), H(
|
|
39
39
|
u,
|
|
40
40
|
"hidden",
|
|
41
41
|
/*isloading*/
|
|
@@ -50,176 +50,176 @@ function J(i) {
|
|
|
50
50
|
"twofa-mode",
|
|
51
51
|
/*modaltype*/
|
|
52
52
|
i[3] === "2fa"
|
|
53
|
-
), f(e, "id", "Modal"),
|
|
53
|
+
), f(e, "id", "Modal"), re(() => (
|
|
54
54
|
/*div6_elementresize_handler*/
|
|
55
55
|
i[18].call(e)
|
|
56
56
|
));
|
|
57
57
|
},
|
|
58
|
-
m(
|
|
59
|
-
|
|
58
|
+
m(s, _) {
|
|
59
|
+
F(s, e, _), w(e, t), w(t, o), w(o, r), a && a.m(r, null), w(r, h), w(r, v), m && m.m(v, null), w(o, M), w(o, k), w(k, y), w(y, L), w(t, T), c && c.m(t, null), w(t, x), w(t, u), g && g.m(u, null), i[15](u), i[16](t), i[17](e), p = le(
|
|
60
60
|
e,
|
|
61
61
|
/*div6_elementresize_handler*/
|
|
62
62
|
i[18].bind(e)
|
|
63
|
-
), d = !0,
|
|
63
|
+
), d = !0, l || (S = ae(
|
|
64
64
|
y,
|
|
65
65
|
"click",
|
|
66
66
|
/*closeModal*/
|
|
67
67
|
i[9]
|
|
68
|
-
),
|
|
68
|
+
), l = !0);
|
|
69
69
|
},
|
|
70
|
-
p(
|
|
70
|
+
p(s, _) {
|
|
71
71
|
/*modaltype*/
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
8192) &&
|
|
72
|
+
s[3] == "error" || /*modaltype*/
|
|
73
|
+
s[3] == "bonusDescription" ? a || (a = G(), a.c(), a.m(r, h)) : a && (a.d(1), a = null), m && m.p && (!d || _ & /*$$scope*/
|
|
74
|
+
8192) && R(
|
|
75
75
|
m,
|
|
76
76
|
z,
|
|
77
|
-
|
|
77
|
+
s,
|
|
78
78
|
/*$$scope*/
|
|
79
|
-
|
|
80
|
-
d ?
|
|
79
|
+
s[13],
|
|
80
|
+
d ? P(
|
|
81
81
|
z,
|
|
82
82
|
/*$$scope*/
|
|
83
|
-
|
|
83
|
+
s[13],
|
|
84
84
|
_,
|
|
85
85
|
ge
|
|
86
|
-
) :
|
|
86
|
+
) : q(
|
|
87
87
|
/*$$scope*/
|
|
88
|
-
|
|
88
|
+
s[13]
|
|
89
89
|
),
|
|
90
|
-
|
|
90
|
+
Z
|
|
91
91
|
), /*isloading*/
|
|
92
|
-
|
|
93
|
-
8192) &&
|
|
92
|
+
s[4] === "true" ? c || (c = J(), c.c(), c.m(t, x)) : c && (c.d(1), c = null), g && g.p && (!d || _ & /*$$scope*/
|
|
93
|
+
8192) && R(
|
|
94
94
|
g,
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
W,
|
|
96
|
+
s,
|
|
97
97
|
/*$$scope*/
|
|
98
|
-
|
|
99
|
-
d ?
|
|
100
|
-
|
|
98
|
+
s[13],
|
|
99
|
+
d ? P(
|
|
100
|
+
W,
|
|
101
101
|
/*$$scope*/
|
|
102
|
-
|
|
102
|
+
s[13],
|
|
103
103
|
_,
|
|
104
104
|
me
|
|
105
|
-
) :
|
|
105
|
+
) : q(
|
|
106
106
|
/*$$scope*/
|
|
107
|
-
|
|
107
|
+
s[13]
|
|
108
108
|
),
|
|
109
|
-
|
|
109
|
+
X
|
|
110
110
|
), (!d || _ & /*isloading*/
|
|
111
111
|
16) && H(
|
|
112
112
|
u,
|
|
113
113
|
"hidden",
|
|
114
114
|
/*isloading*/
|
|
115
|
-
|
|
115
|
+
s[4] === "true"
|
|
116
116
|
), (!d || _ & /*modaltype*/
|
|
117
117
|
8) && H(
|
|
118
118
|
t,
|
|
119
119
|
"video-mode",
|
|
120
120
|
/*modaltype*/
|
|
121
|
-
|
|
121
|
+
s[3] === "video"
|
|
122
122
|
), (!d || _ & /*modaltype*/
|
|
123
123
|
8) && H(
|
|
124
124
|
t,
|
|
125
125
|
"twofa-mode",
|
|
126
126
|
/*modaltype*/
|
|
127
|
-
|
|
127
|
+
s[3] === "2fa"
|
|
128
128
|
);
|
|
129
129
|
},
|
|
130
|
-
i(
|
|
131
|
-
d || (
|
|
130
|
+
i(s) {
|
|
131
|
+
d || (I(m, s), I(g, s), d = !0);
|
|
132
132
|
},
|
|
133
|
-
o(
|
|
134
|
-
|
|
133
|
+
o(s) {
|
|
134
|
+
j(m, s), j(g, s), d = !1;
|
|
135
135
|
},
|
|
136
|
-
d(
|
|
137
|
-
|
|
136
|
+
d(s) {
|
|
137
|
+
s && B(e), a && a.d(), m && m.d(s), c && c.d(), g && g.d(s), i[15](null), i[16](null), i[17](null), p(), l = !1, S();
|
|
138
138
|
}
|
|
139
139
|
};
|
|
140
140
|
}
|
|
141
|
-
function
|
|
141
|
+
function G(i) {
|
|
142
142
|
let e;
|
|
143
143
|
return {
|
|
144
144
|
c() {
|
|
145
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>', f(e, "class", "WarningIcon");
|
|
146
146
|
},
|
|
147
147
|
m(t, o) {
|
|
148
|
-
|
|
148
|
+
F(t, e, o);
|
|
149
149
|
},
|
|
150
150
|
d(t) {
|
|
151
|
-
t &&
|
|
151
|
+
t && B(e);
|
|
152
152
|
}
|
|
153
153
|
};
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function J(i) {
|
|
156
156
|
let e;
|
|
157
157
|
return {
|
|
158
158
|
c() {
|
|
159
159
|
e = b("div"), e.innerHTML = '<div class="ModalLoader"></div>', f(e, "class", "ModalLoadingOverlay");
|
|
160
160
|
},
|
|
161
161
|
m(t, o) {
|
|
162
|
-
|
|
162
|
+
F(t, e, o);
|
|
163
163
|
},
|
|
164
164
|
d(t) {
|
|
165
|
-
t &&
|
|
165
|
+
t && B(e);
|
|
166
166
|
}
|
|
167
167
|
};
|
|
168
168
|
}
|
|
169
169
|
function pe(i) {
|
|
170
170
|
let e, t, o = (
|
|
171
171
|
/*show*/
|
|
172
|
-
i[2] === "true" &&
|
|
172
|
+
i[2] === "true" && A(i)
|
|
173
173
|
);
|
|
174
174
|
return {
|
|
175
175
|
c() {
|
|
176
176
|
e = b("div"), o && o.c();
|
|
177
177
|
},
|
|
178
178
|
m(r, h) {
|
|
179
|
-
|
|
179
|
+
F(r, e, h), o && o.m(e, null), i[19](e), t = !0;
|
|
180
180
|
},
|
|
181
181
|
p(r, [h]) {
|
|
182
182
|
/*show*/
|
|
183
183
|
r[2] === "true" ? o ? (o.p(r, h), h & /*show*/
|
|
184
|
-
4 &&
|
|
184
|
+
4 && I(o, 1)) : (o = A(r), o.c(), I(o, 1), o.m(e, null)) : o && (ne(), j(o, 1, 1, () => {
|
|
185
185
|
o = null;
|
|
186
186
|
}), oe());
|
|
187
187
|
},
|
|
188
188
|
i(r) {
|
|
189
|
-
t || (
|
|
189
|
+
t || (I(o), t = !0);
|
|
190
190
|
},
|
|
191
191
|
o(r) {
|
|
192
|
-
|
|
192
|
+
j(o), t = !1;
|
|
193
193
|
},
|
|
194
194
|
d(r) {
|
|
195
|
-
r &&
|
|
195
|
+
r && B(e), o && o.d(), i[19](null);
|
|
196
196
|
}
|
|
197
197
|
};
|
|
198
198
|
}
|
|
199
199
|
function we(i, e, t) {
|
|
200
|
-
let { $$slots: o = {}, $$scope: r } = e, { mbsource: h } = e, { clientstyling: v } = e, { clientstylingurl: M } = e, { show: k } = e, { modaltype: y = "" } = e, { isloading: L = "false" } = e, { width: T } = e, { height: x } = e, u, p, d,
|
|
200
|
+
let { $$slots: o = {}, $$scope: r } = e, { mbsource: h } = e, { clientstyling: v } = e, { clientstylingurl: M } = e, { show: k } = e, { modaltype: y = "" } = e, { isloading: L = "false" } = e, { width: T } = e, { height: x } = e, u, p, d, l, S = !1, a, z;
|
|
201
201
|
const m = () => {
|
|
202
|
-
a && clearTimeout(a), u && (u.classList.add("closing"), a = setTimeout(
|
|
202
|
+
a && clearTimeout(a), u && (u.classList.add("closing"), window.dispatchEvent(new CustomEvent("manualClosePopup")), a = setTimeout(
|
|
203
203
|
() => {
|
|
204
204
|
window.dispatchEvent(new CustomEvent("modal-update", { detail: { type: "closed", data: {} } }));
|
|
205
205
|
},
|
|
206
206
|
200
|
|
207
207
|
));
|
|
208
208
|
}, c = async () => {
|
|
209
|
-
if (!
|
|
209
|
+
if (!l || !d || S)
|
|
210
210
|
return;
|
|
211
211
|
z && clearTimeout(a), S = !0;
|
|
212
|
-
const n =
|
|
213
|
-
t(8,
|
|
214
|
-
const
|
|
215
|
-
t(8,
|
|
212
|
+
const n = l.offsetWidth, N = l.offsetHeight;
|
|
213
|
+
t(8, l.style.width = `${n}px`, l), t(8, l.style.height = `${N}px`, l), l.offsetHeight, await Y();
|
|
214
|
+
const Q = d.scrollHeight, V = d.scrollWidth;
|
|
215
|
+
t(8, l.style.width = `${V}px`, l), t(8, l.style.height = `${Q}px`, l), z = setTimeout(
|
|
216
216
|
() => {
|
|
217
|
-
|
|
217
|
+
l && (t(8, l.style.width = "auto", l), t(8, l.style.height = "auto", l)), S = !1;
|
|
218
218
|
},
|
|
219
219
|
300
|
|
220
220
|
);
|
|
221
221
|
};
|
|
222
|
-
|
|
222
|
+
se(() => {
|
|
223
223
|
if (Y().then(() => {
|
|
224
224
|
c();
|
|
225
225
|
}), d) {
|
|
@@ -234,26 +234,26 @@ function we(i, e, t) {
|
|
|
234
234
|
a && clearTimeout(a), z && clearTimeout(a);
|
|
235
235
|
};
|
|
236
236
|
});
|
|
237
|
-
function
|
|
238
|
-
|
|
237
|
+
function W(n) {
|
|
238
|
+
E[n ? "unshift" : "push"](() => {
|
|
239
239
|
d = n, t(7, d);
|
|
240
240
|
});
|
|
241
241
|
}
|
|
242
242
|
function g(n) {
|
|
243
|
-
|
|
244
|
-
|
|
243
|
+
E[n ? "unshift" : "push"](() => {
|
|
244
|
+
l = n, t(8, l);
|
|
245
245
|
});
|
|
246
246
|
}
|
|
247
|
-
function
|
|
248
|
-
|
|
247
|
+
function s(n) {
|
|
248
|
+
E[n ? "unshift" : "push"](() => {
|
|
249
249
|
u = n, t(6, u);
|
|
250
250
|
});
|
|
251
251
|
}
|
|
252
252
|
function _() {
|
|
253
253
|
T = this.clientWidth, x = this.clientHeight, t(0, T), t(1, x);
|
|
254
254
|
}
|
|
255
|
-
function
|
|
256
|
-
|
|
255
|
+
function K(n) {
|
|
256
|
+
E[n ? "unshift" : "push"](() => {
|
|
257
257
|
p = n, t(5, p);
|
|
258
258
|
});
|
|
259
259
|
}
|
|
@@ -264,9 +264,9 @@ function we(i, e, t) {
|
|
|
264
264
|
16 && L && Y().then(() => {
|
|
265
265
|
c();
|
|
266
266
|
}), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
267
|
-
2080 && v && p &&
|
|
268
|
-
4128 && M && p &&
|
|
269
|
-
1056 && h && p &&
|
|
267
|
+
2080 && v && p && de(p, v), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
268
|
+
4128 && M && p && ce(p, M), i.$$.dirty & /*mbsource, customStylingContainer*/
|
|
269
|
+
1056 && h && p && fe(p, `${h}.Style`);
|
|
270
270
|
}, [
|
|
271
271
|
T,
|
|
272
272
|
x,
|
|
@@ -276,18 +276,18 @@ function we(i, e, t) {
|
|
|
276
276
|
p,
|
|
277
277
|
u,
|
|
278
278
|
d,
|
|
279
|
-
|
|
279
|
+
l,
|
|
280
280
|
m,
|
|
281
281
|
h,
|
|
282
282
|
v,
|
|
283
283
|
M,
|
|
284
284
|
r,
|
|
285
285
|
o,
|
|
286
|
-
|
|
286
|
+
W,
|
|
287
287
|
g,
|
|
288
|
-
|
|
288
|
+
s,
|
|
289
289
|
_,
|
|
290
|
-
|
|
290
|
+
K
|
|
291
291
|
];
|
|
292
292
|
}
|
|
293
293
|
class ye extends $ {
|
|
@@ -297,7 +297,7 @@ class ye extends $ {
|
|
|
297
297
|
e,
|
|
298
298
|
we,
|
|
299
299
|
pe,
|
|
300
|
-
|
|
300
|
+
te,
|
|
301
301
|
{
|
|
302
302
|
mbsource: 10,
|
|
303
303
|
clientstyling: 11,
|
|
@@ -360,7 +360,7 @@ class ye extends $ {
|
|
|
360
360
|
this.$$set({ height: e }), C();
|
|
361
361
|
}
|
|
362
362
|
}
|
|
363
|
-
|
|
363
|
+
he(ye, { mbsource: {}, clientstyling: {}, clientstylingurl: {}, show: {}, modaltype: {}, isloading: {}, width: {}, height: {} }, ["title", "content"], [], !0);
|
|
364
364
|
export {
|
|
365
365
|
ye as default
|
|
366
366
|
};
|