@everymatrix/casino-header-controller 1.54.0 → 1.54.2
Sign up to get free protection for your applications and to get access to all the features.
- package/components/{CasinoHamburgerMenu-qYeWUDPR.js → CasinoHamburgerMenu-Didvw1sl.js} +1051 -1089
- package/components/{CasinoHeaderController-BTm7ahEo.js → CasinoHeaderController-CFx6e2bY.js} +330 -353
- package/components/{CasinoSlider-lJXP6bIe.js → CasinoSlider-CTCcKhAJ.js} +208 -214
- package/components/{PlayerAccountBalanceModal-DdTG-RGU.js → PlayerAccountBalanceModal-CljMbxpF.js} +406 -435
- package/components/{PlayerDeposit-D67DkA6T.js → PlayerDeposit-BDWEQLoE.js} +1 -1
- package/esnext/casino-header-controller.js +14 -0
- package/package.json +10 -15
- package/stencil/{index-33f005e1-C1RAKo1w.js → index-33f005e1-BLR6jtB3.js} +223 -239
- package/stencil/{user-deposit-withdrawal-CcI90qLW.js → user-deposit-withdrawal-DafvBY_z.js} +175 -197
- package/components/CasinoHamburgerMenu-Cf2TrArs.cjs +0 -8
- package/components/CasinoHeaderController-BYZ7x9Ws.cjs +0 -13
- package/components/CasinoSlider-C4MiMF_z.cjs +0 -1
- package/components/PlayerAccountBalanceModal-BaxHrMW5.cjs +0 -13
- package/components/PlayerDeposit-64Q0JNEY.cjs +0 -1
- package/es2015/casino-header-controller.cjs +0 -1
- package/es2015/casino-header-controller.js +0 -16
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
- package/stencil/index-33f005e1-DV6BM6vD.cjs +0 -1
- package/stencil/user-deposit-withdrawal-PVgJw2H0.cjs +0 -59
@@ -1,13 +0,0 @@
|
|
1
|
-
"use strict";var at=Object.defineProperty,rt=Object.defineProperties;var ot=Object.getOwnPropertyDescriptors;var He=Object.getOwnPropertySymbols;var it=Object.prototype.hasOwnProperty,st=Object.prototype.propertyIsEnumerable;var ze=(o,e,n)=>e in o?at(o,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[e]=n,Ue=(o,e)=>{for(var n in e||(e={}))it.call(e,n)&&ze(o,n,e[n]);if(He)for(var n of He(e))st.call(e,n)&&ze(o,n,e[n]);return o},Pe=(o,e)=>rt(o,ot(e));var Ge=(o,e,n)=>new Promise((i,d)=>{var u=g=>{try{p(n.next(g))}catch(v){d(v)}},y=g=>{try{p(n.throw(g))}catch(v){d(v)}},p=g=>g.done?i(g.value):Promise.resolve(g.value).then(u,y);p((n=n.apply(o,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoHamburgerMenu-Cf2TrArs.cjs");function Xe(o,e){t.addMessages(o,e)}function lt(o){t.$locale.set(o)}const qe={en:{Title:"Your Balance",Total:"Total Balance",Real:"Cash Balance",Bonus:"Bonus Balance",Credit:"Credit Balance",Casino:"Casino",Sports:"Sports",DepositButton:"Deposit",Loading:"Loading ..."},"zh-hk":{Title:"您的結餘",Total:"總結餘",Real:"現金結餘",Bonus:"紅利結餘",Credit:"信用結餘",Casino:"賭場",Sports:"體育",DepositButton:"存款",Loading:"載入中 ..."},de:{Title:"Ihr Guthaben",Total:"Gesamtguthaben",Real:"Barguthaben",Bonus:"Bonusguthaben",Credit:"Kreditguthaben",Casino:"Casino",Sports:"Sport",DepositButton:"Einzahlen",Loading:"Wird geladen ..."},it:{Title:"Il tuo saldo",Total:"Saldo totale",Real:"Saldo in contanti",Bonus:"Saldo bonus",Credit:"Saldo di credito",Casino:"Casinò",Sports:"Sport",DepositButton:"Deposita",Loading:"Caricamento ..."},fr:{Title:"Votre solde",Total:"Solde total",Real:"Solde en espèces",Bonus:"Solde bonus",Credit:"Solde de crédit",Casino:"Casino",Sports:"Sports",DepositButton:"Dépôt",Loading:"Chargement ..."},es:{Title:"Tu saldo",Total:"Saldo total",Real:"Saldo en efectivo",Bonus:"Saldo de bono",Credit:"Saldo de crédito",Casino:"Casino",Sports:"Deportes",DepositButton:"Depósito",Loading:"Cargando ..."},tr:{Title:"Bakiyeniz",Total:"Toplam Bakiye",Real:"Nakit Bakiye",Bonus:"Bonus Bakiyesi",Credit:"Kredi Bakiyesi",Casino:"Kumarhane",Sports:"Spor",DepositButton:"Yatır",Loading:"Yükleniyor ..."},ru:{Title:"Ваш баланс",Total:"Общий баланс",Real:"Денежный баланс",Bonus:"Бонусный баланс",Credit:"Кредитный баланс",Casino:"Казино",Sports:"Спорт",DepositButton:"Депозит",Loading:"Загружается ..."},ro:{Title:"Soldul tău",Total:"Sold total",Real:"Sold în numerar",Bonus:"Sold bonus",Credit:"Sold credit",Casino:"Cazinou",Sports:"Sporturi",DepositButton:"Depozit",Loading:"Se încarcă ..."},hr:{Title:"Vaš saldo",Total:"Ukupni saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Casino",Sports:"Sportovi",DepositButton:"Depozit",Loading:"Učitavanje ..."},hu:{Title:"Az egyenleged",Total:"Teljes egyenleg",Real:"Készpénz egyenleg",Bonus:"Bónusz egyenleg",Credit:"Hitel egyenleg",Casino:"Kaszinó",Sports:"Sport",DepositButton:"Befizetés",Loading:"Betöltés ..."},pl:{Title:"Twoje saldo",Total:"Całkowite saldo",Real:"Saldo gotówkowe",Bonus:"Saldo bonusowe",Credit:"Saldo kredytowe",Casino:"Kasyno",Sports:"Sport",DepositButton:"Wpłać",Loading:"Ładowanie ..."},pt:{Title:"Seu Saldo",Total:"Saldo Total",Real:"Saldo em Dinheiro",Bonus:"Saldo de Bônus",Credit:"Saldo de Crédito",Casino:"Cassino",Sports:"Esportes",DepositButton:"Depositar",Loading:"Carregando ..."},sl:{Title:"Vaš saldo",Total:"Skupni saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Kasino",Sports:"Šport",DepositButton:"Depozit",Loading:"Nalaganje ..."},sr:{Title:"Vaš saldo",Total:"Ukupan saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Kasino",Sports:"Sport",DepositButton:"Depozit",Loading:"Učitavanje ..."},"pt-br":{Title:"Seu Saldo",Total:"Saldo Total",Real:"Saldo em Dinheiro",Bonus:"Saldo de Bônus",Credit:"Saldo de Crédito",Casino:"Cassino",Sports:"Esportes",DepositButton:"Depositar",Loading:"Carregando ..."},"es-mx":{Title:"Tu saldo",Total:"Saldo total",Real:"Saldo en efectivo",Bonus:"Saldo de bono",Credit:"Saldo de crédito",Casino:"Casino",Sports:"Deportes",DepositButton:"Depósito",Loading:"Cargando ..."},"en-us":{Title:"Your Balance",Total:"Total Balance",Real:"Cash Balance",Bonus:"Bonus Balance",Credit:"Credit Balance",Casino:"Casino",Sports:"Sports",DepositButton:"Deposit",Loading:"Loading ..."}};var Ie={exports:{}};/** @license
|
2
|
-
* eventsource.js
|
3
|
-
* Available under MIT License (MIT)
|
4
|
-
* https://github.com/Yaffle/EventSource/
|
5
|
-
*/(function(o,e){(function(n){var i=n.setTimeout,d=n.clearTimeout,u=n.XMLHttpRequest,y=n.XDomainRequest,p=n.ActiveXObject,g=n.EventSource,v=n.document,x=n.Promise,F=n.fetch,B=n.Response,T=n.TextDecoder,A=n.TextEncoder,H=n.AbortController;if(typeof window!="undefined"&&typeof v!="undefined"&&!("readyState"in v)&&v.body==null&&(v.readyState="loading",window.addEventListener("load",function(a){v.readyState="complete"},!1)),u==null&&p!=null&&(u=function(){return new p("Microsoft.XMLHTTP")}),Object.create==null&&(Object.create=function(a){function r(){}return r.prototype=a,new r}),Date.now||(Date.now=function(){return new Date().getTime()}),H==null){var M=F;F=function(a,r){var c=r.signal;return M(a,{headers:r.headers,credentials:r.credentials,cache:r.cache}).then(function(s){var l=s.body.getReader();return c._reader=l,c._aborted&&c._reader.cancel(),{status:s.status,statusText:s.statusText,headers:s.headers,body:{getReader:function(){return l}}}})},H=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){this.signal._reader!=null&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function V(){this.bitsNeeded=0,this.codePoint=0}V.prototype.decode=function(a){function r(E,L,w){if(w===1)return E>=128>>L&&E<<L<=2047;if(w===2)return E>=2048>>L&&E<<L<=55295||E>=57344>>L&&E<<L<=65535;if(w===3)return E>=65536>>L&&E<<L<=1114111;throw new Error}function c(E,L){if(E===6*1)return L>>6>15?3:L>31?2:1;if(E===6*2)return L>15?3:2;if(E===6*3)return 3;throw new Error}for(var s=65533,l="",m=this.bitsNeeded,b=this.codePoint,k=0;k<a.length;k+=1){var _=a[k];m!==0&&(_<128||_>191||!r(b<<6|_&63,m-6,c(m,b)))&&(m=0,b=s,l+=String.fromCharCode(b)),m===0?(_>=0&&_<=127?(m=0,b=_):_>=192&&_<=223?(m=6*1,b=_&31):_>=224&&_<=239?(m=6*2,b=_&15):_>=240&&_<=247?(m=6*3,b=_&7):(m=0,b=s),m!==0&&!r(b,m,c(m,b))&&(m=0,b=s)):(m-=6,b=b<<6|_&63),m===0&&(b<=65535?l+=String.fromCharCode(b):(l+=String.fromCharCode(55296+(b-65535-1>>10)),l+=String.fromCharCode(56320+(b-65535-1&1023))))}return this.bitsNeeded=m,this.codePoint=b,l};var z=function(){try{return new T().decode(new A().encode("test"),{stream:!0})==="test"}catch(a){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+a)}return!1};(T==null||A==null||!z())&&(T=V);var S=function(){};function R(a){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=S,this.onload=S,this.onerror=S,this.onreadystatechange=S,this._contentType="",this._xhr=a,this._sendTimeout=0,this._abort=S}R.prototype.open=function(a,r){this._abort(!0);var c=this,s=this._xhr,l=1,m=0;this._abort=function(w){c._sendTimeout!==0&&(d(c._sendTimeout),c._sendTimeout=0),(l===1||l===2||l===3)&&(l=4,s.onload=S,s.onerror=S,s.onabort=S,s.onprogress=S,s.onreadystatechange=S,s.abort(),m!==0&&(d(m),m=0),w||(c.readyState=4,c.onabort(null),c.onreadystatechange())),l=0};var b=function(){if(l===1){var w=0,O="",ne=void 0;if("contentType"in s)w=200,O="OK",ne=s.contentType;else try{w=s.status,O=s.statusText,ne=s.getResponseHeader("Content-Type")}catch(Te){w=0,O="",ne=void 0}w!==0&&(l=2,c.readyState=2,c.status=w,c.statusText=O,c._contentType=ne,c.onreadystatechange())}},k=function(){if(b(),l===2||l===3){l=3;var w="";try{w=s.responseText}catch(O){}c.readyState=3,c.responseText=w,c.onprogress()}},_=function(w,O){if((O==null||O.preventDefault==null)&&(O={preventDefault:S}),k(),l===1||l===2||l===3){if(l=4,m!==0&&(d(m),m=0),c.readyState=4,w==="load")c.onload(O);else if(w==="error")c.onerror(O);else if(w==="abort")c.onabort(O);else throw new TypeError;c.onreadystatechange()}},E=function(w){s!=null&&(s.readyState===4?(!("onload"in s)||!("onerror"in s)||!("onabort"in s))&&_(s.responseText===""?"error":"load",w):s.readyState===3?"onprogress"in s||k():s.readyState===2&&b())},L=function(){m=i(function(){L()},500),s.readyState===3&&k()};"onload"in s&&(s.onload=function(w){_("load",w)}),"onerror"in s&&(s.onerror=function(w){_("error",w)}),"onabort"in s&&(s.onabort=function(w){_("abort",w)}),"onprogress"in s&&(s.onprogress=k),"onreadystatechange"in s&&(s.onreadystatechange=function(w){E(w)}),("contentType"in s||!("ontimeout"in u.prototype))&&(r+=(r.indexOf("?")===-1?"?":"&")+"padding=true"),s.open(a,r,!0),"readyState"in s&&(m=i(function(){L()},0))},R.prototype.abort=function(){this._abort(!1)},R.prototype.getResponseHeader=function(a){return this._contentType},R.prototype.setRequestHeader=function(a,r){var c=this._xhr;"setRequestHeader"in c&&c.setRequestHeader(a,r)},R.prototype.getAllResponseHeaders=function(){return this._xhr.getAllResponseHeaders!=null&&this._xhr.getAllResponseHeaders()||""},R.prototype.send=function(){if((!("ontimeout"in u.prototype)||!("sendAsBinary"in u.prototype)&&!("mozAnon"in u.prototype))&&v!=null&&v.readyState!=null&&v.readyState!=="complete"){var a=this;a._sendTimeout=i(function(){a._sendTimeout=0,a.send()},4);return}var r=this._xhr;"withCredentials"in r&&(r.withCredentials=this.withCredentials);try{r.send(void 0)}catch(c){throw c}};function U(a){return a.replace(/[A-Z]/g,function(r){return String.fromCharCode(r.charCodeAt(0)+32)})}function D(a){for(var r=Object.create(null),c=a.split(`\r
|
6
|
-
`),s=0;s<c.length;s+=1){var l=c[s],m=l.split(": "),b=m.shift(),k=m.join(": ");r[U(b)]=k}this._map=r}D.prototype.get=function(a){return this._map[U(a)]},u!=null&&u.HEADERS_RECEIVED==null&&(u.HEADERS_RECEIVED=2);function q(){}q.prototype.open=function(a,r,c,s,l,m,b){a.open("GET",l);var k=0;a.onprogress=function(){var E=a.responseText,L=E.slice(k);k+=L.length,c(L)},a.onerror=function(E){E.preventDefault(),s(new Error("NetworkError"))},a.onload=function(){s(null)},a.onabort=function(){s(null)},a.onreadystatechange=function(){if(a.readyState===u.HEADERS_RECEIVED){var E=a.status,L=a.statusText,w=a.getResponseHeader("Content-Type"),O=a.getAllResponseHeaders();r(E,L,w,new D(O))}},a.withCredentials=m;for(var _ in b)Object.prototype.hasOwnProperty.call(b,_)&&a.setRequestHeader(_,b[_]);return a.send(),a};function ie(a){this._headers=a}ie.prototype.get=function(a){return this._headers.get(a)};function se(){}se.prototype.open=function(a,r,c,s,l,m,b){var k=null,_=new H,E=_.signal,L=new T;return F(l,{headers:b,credentials:m?"include":"same-origin",signal:E,cache:"no-store"}).then(function(w){return k=w.body.getReader(),r(w.status,w.statusText,w.headers.get("Content-Type"),new ie(w.headers)),new x(function(O,ne){var Te=function(){k.read().then(function(W){if(W.done)O(void 0);else{var P=L.decode(W.value,{stream:!0});c(P),Te()}}).catch(function(W){ne(W)})};Te()})}).catch(function(w){if(w.name!=="AbortError")return w}).then(function(w){s(w)}),{abort:function(){k!=null&&k.cancel(),_.abort()}}};function h(){this._listeners=Object.create(null)}function le(a){i(function(){throw a},0)}h.prototype.dispatchEvent=function(a){a.target=this;var r=this._listeners[a.type];if(r!=null)for(var c=r.length,s=0;s<c;s+=1){var l=r[s];try{typeof l.handleEvent=="function"?l.handleEvent(a):l.call(this,a)}catch(m){le(m)}}},h.prototype.addEventListener=function(a,r){a=String(a);var c=this._listeners,s=c[a];s==null&&(s=[],c[a]=s);for(var l=!1,m=0;m<s.length;m+=1)s[m]===r&&(l=!0);l||s.push(r)},h.prototype.removeEventListener=function(a,r){a=String(a);var c=this._listeners,s=c[a];if(s!=null){for(var l=[],m=0;m<s.length;m+=1)s[m]!==r&&l.push(s[m]);l.length===0?delete c[a]:c[a]=l}};function ce(a){this.type=a,this.target=void 0}function ge(a,r){ce.call(this,a),this.data=r.data,this.lastEventId=r.lastEventId}ge.prototype=Object.create(ce.prototype);function ye(a,r){ce.call(this,a),this.status=r.status,this.statusText=r.statusText,this.headers=r.headers}ye.prototype=Object.create(ce.prototype);function _e(a,r){ce.call(this,a),this.error=r.error}_e.prototype=Object.create(ce.prototype);var ve=-1,Q=0,te=1,ue=2,fe=-1,Z=0,we=1,be=2,De=3,Le=/^text\/event\-stream(;.*)?$/i,Ae=1e3,Me=18e6,Ce=function(a,r){var c=a==null?r:parseInt(a,10);return c!==c&&(c=r),Be(c)},Be=function(a){return Math.min(Math.max(a,Ae),Me)},de=function(a,r,c){try{typeof r=="function"&&r.call(a,c)}catch(s){le(s)}};function K(a,r){h.call(this),r=r||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,f(this,a,r)}function Fe(){return u!=null&&"withCredentials"in u.prototype||y==null?new u:new y}var ke=F!=null&&B!=null&&"body"in B.prototype;function f(a,r,c){r=String(r);var s=!!c.withCredentials,l=c.lastEventIdQueryParameterName||"lastEventId",m=Be(1e3),b=Ce(c.heartbeatTimeout,45e3),k="",_=m,E=!1,L=0,w=c.headers||{},O=c.Transport,ne=ke&&O==null?void 0:new R(O!=null?new O:Fe()),Te=O!=null&&typeof O!="string"?new O:ne==null?new se:new q,W=void 0,P=0,$=ve,he="",Re="",ae="",Ee="",G=Z,Oe=0,pe=0,tt=function(I,N,Y,J){if($===Q)if(I===200&&Y!=null&&Le.test(Y)){$=te,E=Date.now(),_=m,a.readyState=te;var X=new ye("open",{status:I,statusText:N,headers:J});a.dispatchEvent(X),de(a,a.onopen,X)}else{var j="";I!==200?(N&&(N=N.replace(/\s+/g," ")),j="EventSource's response has a status "+I+" "+N+" that is not 200. Aborting the connection."):j="EventSource's response has a Content-Type specifying an unsupported type: "+(Y==null?"-":Y.replace(/\s+/g," "))+". Aborting the connection.",Ne();var X=new ye("error",{status:I,statusText:N,headers:J});a.dispatchEvent(X),de(a,a.onerror,X),console.error(j)}},nt=function(I){if($===te){for(var N=-1,Y=0;Y<I.length;Y+=1){var J=I.charCodeAt(Y);(J===10||J===13)&&(N=Y)}var X=(N!==-1?Ee:"")+I.slice(0,N+1);Ee=(N===-1?Ee:"")+I.slice(N+1),I!==""&&(E=Date.now(),L+=I.length);for(var j=0;j<X.length;j+=1){var J=X.charCodeAt(j);if(G===fe&&J===10)G=Z;else if(G===fe&&(G=Z),J===13||J===10){if(G!==Z){G===we&&(pe=j+1);var re=X.slice(Oe,pe-1),oe=X.slice(pe+(pe<j&&X.charCodeAt(pe)===32?1:0),j);re==="data"?(he+=`
|
7
|
-
`,he+=oe):re==="id"?Re=oe:re==="event"?ae=oe:re==="retry"?(m=Ce(oe,m),_=m):re==="heartbeatTimeout"&&(b=Ce(oe,b),P!==0&&(d(P),P=i(function(){Se()},b)))}if(G===Z){if(he!==""){k=Re,ae===""&&(ae="message");var me=new ge(ae,{data:he.slice(1),lastEventId:Re});if(a.dispatchEvent(me),ae==="open"?de(a,a.onopen,me):ae==="message"?de(a,a.onmessage,me):ae==="error"&&de(a,a.onerror,me),$===ue)return}he="",ae=""}G=J===13?fe:Z}else G===Z&&(Oe=j,G=we),G===we?J===58&&(pe=j+1,G=be):G===be&&(G=De)}}},je=function(I){if($===te||$===Q){$=ve,P!==0&&(d(P),P=0),P=i(function(){Se()},_),_=Be(Math.min(m*16,_*2)),a.readyState=Q;var N=new _e("error",{error:I});a.dispatchEvent(N),de(a,a.onerror,N),I!=null&&console.error(I)}},Ne=function(){$=ue,W!=null&&(W.abort(),W=void 0),P!==0&&(d(P),P=0),a.readyState=ue},Se=function(){if(P=0,$!==ve){if(!E&&W!=null)je(new Error("No activity within "+b+" milliseconds. "+($===Q?"No response received.":L+" chars received.")+" Reconnecting.")),W!=null&&(W.abort(),W=void 0);else{var I=Math.max((E||Date.now())+b-Date.now(),1);E=!1,P=i(function(){Se()},I)}return}E=!1,L=0,P=i(function(){Se()},b),$=Q,he="",ae="",Re=k,Ee="",Oe=0,pe=0,G=Z;var N=r;if(r.slice(0,5)!=="data:"&&r.slice(0,5)!=="blob:"&&k!==""){var Y=r.indexOf("?");N=Y===-1?r:r.slice(0,Y+1)+r.slice(Y+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(oe,me){return me===l?"":oe}),N+=(r.indexOf("?")===-1?"?":"&")+l+"="+encodeURIComponent(k)}var J=a.withCredentials,X={};X.Accept="text/event-stream";var j=a.headers;if(j!=null)for(var re in j)Object.prototype.hasOwnProperty.call(j,re)&&(X[re]=j[re]);try{W=Te.open(ne,tt,nt,je,N,J,X)}catch(oe){throw Ne(),oe}};a.url=r,a.readyState=Q,a.withCredentials=s,a.headers=w,a._close=Ne,Se()}K.prototype=Object.create(h.prototype),K.prototype.CONNECTING=Q,K.prototype.OPEN=te,K.prototype.CLOSED=ue,K.prototype.close=function(){this._close()},K.CONNECTING=Q,K.OPEN=te,K.CLOSED=ue,K.prototype.withCredentials=void 0;var C=g;u!=null&&(g==null||!("withCredentials"in g.prototype))&&(C=K),function(a){{var r=a(e);r!==void 0&&(o.exports=r)}}(function(a){a.EventSourcePolyfill=K,a.NativeEventSource=g,a.EventSource=C})})(typeof globalThis=="undefined"?typeof window!="undefined"?window:typeof self!="undefined"?self:t.commonjsGlobal:globalThis)})(Ie,Ie.exports);var ct=Ie.exports;/*!
|
8
|
-
* currency.js - v2.0.4
|
9
|
-
* http://scurker.github.io/currency.js
|
10
|
-
*
|
11
|
-
* Copyright (c) 2021 Jason Wilson
|
12
|
-
* Released under MIT license
|
13
|
-
*/var dt={symbol:"$",separator:",",decimal:".",errorOnInvalid:!1,precision:2,pattern:"!#",negativePattern:"-!#",format:ht,fromCents:!1},$e=function(e){return Math.round(e)},Ve=function(e){return Math.pow(10,e)},ut=function(e,n){return $e(e/n)*n},ft=/(\d)(?=(\d{3})+\b)/g,pt=/(\d)(?=(\d\d)+\d\b)/g;function ee(o,e){var n=this;if(!(n instanceof ee))return new ee(o,e);var i=Object.assign({},dt,e),d=Ve(i.precision),u=xe(o,i);n.intValue=u,n.value=u/d,i.increment=i.increment||1/d,i.useVedic?i.groups=pt:i.groups=ft,this.s=i,this.p=d}function xe(o,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,i=0,d=e.decimal,u=e.errorOnInvalid,y=e.precision,p=e.fromCents,g=Ve(y),v=typeof o=="number",x=o instanceof ee;if(x&&p)return o.intValue;if(v||x)i=x?o.value:o;else if(typeof o=="string"){var F=new RegExp("[^-\\d"+d+"]","g"),B=new RegExp("\\"+d,"g");i=o.replace(/\((.*)\)/,"-$1").replace(F,"").replace(B,"."),i=i||0}else{if(u)throw Error("Invalid Input");i=0}return p||(i*=g,i=i.toFixed(4)),n?$e(i):i}function ht(o,e){var n=e.pattern,i=e.negativePattern,d=e.symbol,u=e.separator,y=e.decimal,p=e.groups,g=(""+o).replace(/^-/,"").split("."),v=g[0],x=g[1];return(o.value>=0?n:i).replace("!",d).replace("#",v.replace(p,"$1"+u)+(x?y+x:""))}ee.prototype={add:function(e){var n=this.intValue,i=this.s,d=this.p;return ee((n+=xe(e,i))/(i.fromCents?1:d),i)},subtract:function(e){var n=this.intValue,i=this.s,d=this.p;return ee((n-=xe(e,i))/(i.fromCents?1:d),i)},multiply:function(e){var n=this.intValue,i=this.s;return ee((n*=e)/(i.fromCents?1:Ve(i.precision)),i)},divide:function(e){var n=this.intValue,i=this.s;return ee(n/=xe(e,i,!1),i)},distribute:function(e){for(var n=this.intValue,i=this.p,d=this.s,u=[],y=Math[n>=0?"floor":"ceil"](n/e),p=Math.abs(n-y*e),g=d.fromCents?1:i;e!==0;e--){var v=ee(y/g,d);p-- >0&&(v=v[n>=0?"add":"subtract"](1/g)),u.push(v)}return u},dollars:function(){return~~this.value},cents:function(){var e=this.intValue,n=this.p;return~~(e%n)},format:function(e){var n=this.s;return typeof e=="function"?e(this,n):n.format(this,Object.assign({},n,e))},toString:function(){var e=this.intValue,n=this.p,i=this.s;return ut(e/n,i.increment).toFixed(i.precision)},toJSON:function(){return this.value}};function mt(o){t.append_styles(o,"svelte-113krup",'*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}.ShowBalance{position:relative}.ShowBalance .Loading{font-size:14px;white-space:nowrap;padding-right:10px}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;display:flex;flex-wrap:nowrap;white-space:nowrap}.ShowBalance .BalanceValue svg{width:16px}.ShowBalance .BalanceValue span{padding-left:8px}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background-color:var(--emw--color-white, #FFFFFF);position:absolute;top:45px;left:50%;transform:translateX(-60%);padding:10px;box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.BalanceModalWrapper:before{content:"";background:var(--emw--color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:60%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModal{position:relative;width:280px}.BalanceModalHeader{display:flex;align-items:center;justify-content:center;padding:20px 0}.BalanceModalHeader .BalanceModalTitle{font-size:16px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.BalanceModalRowBoth{display:flex;flex-direction:column;gap:5px;padding:20px 0;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.BalanceModalRowBoth:last-child{border-bottom:none}.BalanceModalRowBoth .BalanceModalRowLine{display:flex;width:100%;justify-content:space-between}.BalanceModalRowBoth .BalanceModalText{color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:5px;border:none;padding:10px 0;cursor:pointer}.BalanceModalFooter .BalanceModalAction:hover,.BalanceModalFooter .BalanceModalActionactive{background:var(--emw--header-contrast, var(--emw--color-background, #07072A))}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16}')}function Ke(o,e,n){const i=o.slice();return i[47]=e[n],i}function We(o,e,n){const i=o.slice();return i[50]=e[n],i}function gt(o){let e,n=(o[4].Total?o[6](o[4].Total[0].amount):"0")+"",i,d,u,y,p,g,v,x,F,B=o[2]&&Ye(o);return{c(){e=t.element("p"),i=t.text(n),d=t.space(),u=t.text(o[3]),y=t.space(),p=t.element("span"),p.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 11.435"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" d="M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z" transform="translate(-6.188 -11.246)"></path></svg>',g=t.space(),B&&B.c(),v=t.empty(),t.attr(e,"class","BalanceValue"),t.attr(e,"part","BalanceValue")},m(T,A){t.insert(T,e,A),t.append(e,i),t.append(e,d),t.append(e,u),t.append(e,y),t.append(e,p),t.insert(T,g,A),B&&B.m(T,A),t.insert(T,v,A),x||(F=t.listen(e,"click",o[22]),x=!0)},p(T,A){A[0]&16&&n!==(n=(T[4].Total?T[6](T[4].Total[0].amount):"0")+"")&&t.set_data(i,n),A[0]&8&&t.set_data(u,T[3]),T[2]?B?B.p(T,A):(B=Ye(T),B.c(),B.m(v.parentNode,v)):B&&(B.d(1),B=null)},d(T){T&&(t.detach(e),t.detach(g),t.detach(v)),B&&B.d(T),x=!1,F()}}}function yt(o){let e,n=o[5]("Loading")+"",i;return{c(){e=t.element("p"),i=t.text(n)},m(d,u){t.insert(d,e,u),t.append(e,i)},p(d,u){u[0]&32&&n!==(n=d[5]("Loading")+"")&&t.set_data(i,n)},d(d){d&&t.detach(e)}}}function Ye(o){let e,n,i,d,u,y,p=o[5]("Title")+"",g,v,x,F,B,T,A=o[5]("DepositButton")+"",H,M,V,z=t.ensure_array_like(Object.keys(o[4])),S=[];for(let R=0;R<z.length;R+=1)S[R]=Qe(Ke(o,z,R));return{c(){e=t.element("div"),n=t.element("div"),i=t.space(),d=t.element("div"),u=t.element("div"),y=t.element("p"),g=t.text(p),v=t.space(),x=t.element("div");for(let R=0;R<S.length;R+=1)S[R].c();F=t.space(),B=t.element("div"),T=t.element("button"),H=t.text(A),t.attr(n,"class","BalanceModalClose"),t.attr(y,"class","BalanceModalTitle"),t.attr(u,"class","BalanceModalHeader"),t.attr(x,"class","BalanceModalBody"),t.attr(T,"class","BalanceModalAction"),t.attr(B,"class","BalanceModalFooter"),t.attr(d,"class","BalanceModal"),t.attr(e,"class","BalanceModalWrapper")},m(R,U){t.insert(R,e,U),t.append(e,n),t.append(e,i),t.append(e,d),t.append(d,u),t.append(u,y),t.append(y,g),t.append(d,v),t.append(d,x);for(let D=0;D<S.length;D+=1)S[D]&&S[D].m(x,null);t.append(d,F),t.append(d,B),t.append(B,T),t.append(T,H),M||(V=[t.listen(n,"click",o[23]),t.listen(T,"click",o[24])],M=!0)},p(R,U){if(U[0]&32&&p!==(p=R[5]("Title")+"")&&t.set_data(g,p),U[0]&120){z=t.ensure_array_like(Object.keys(R[4]));let D;for(D=0;D<z.length;D+=1){const q=Ke(R,z,D);S[D]?S[D].p(q,U):(S[D]=Qe(q),S[D].c(),S[D].m(x,null))}for(;D<S.length;D+=1)S[D].d(1);S.length=z.length}U[0]&32&&A!==(A=R[5]("DepositButton")+"")&&t.set_data(H,A)},d(R){R&&t.detach(e),t.destroy_each(S,R),M=!1,t.run_all(V)}}}function Je(o){let e,n,i=o[5](o[47])+"",d,u,y=(o[50].productType?o[5](o[50].productType):"")+"",p,g,v,x,F=(o[50].amount?o[6](o[50].amount):"0")+"",B,T,A,H;return{c(){e=t.element("div"),n=t.element("p"),d=t.text(i),u=t.space(),p=t.text(y),g=t.space(),v=t.element("p"),x=t.element("span"),B=t.text(F),T=t.space(),A=t.element("span"),H=t.text(o[3]),t.attr(n,"class","BalanceModalText"),t.attr(x,"class","BalanceModalAmount"),t.attr(A,"class","BalanceModalCurrency"),t.attr(v,"class","BalanceModalValue"),t.attr(e,"class","BalanceModalRowLine")},m(M,V){t.insert(M,e,V),t.append(e,n),t.append(n,d),t.append(n,u),t.append(n,p),t.append(e,g),t.append(e,v),t.append(v,x),t.append(x,B),t.append(v,T),t.append(v,A),t.append(A,H)},p(M,V){V[0]&48&&i!==(i=M[5](M[47])+"")&&t.set_data(d,i),V[0]&48&&y!==(y=(M[50].productType?M[5](M[50].productType):"")+"")&&t.set_data(p,y),V[0]&16&&F!==(F=(M[50].amount?M[6](M[50].amount):"0")+"")&&t.set_data(B,F),V[0]&8&&t.set_data(H,M[3])},d(M){M&&t.detach(e)}}}function Qe(o){let e,n,i=t.ensure_array_like(o[4][o[47]]),d=[];for(let u=0;u<i.length;u+=1)d[u]=Je(We(o,i,u));return{c(){e=t.element("div");for(let u=0;u<d.length;u+=1)d[u].c();n=t.space(),t.attr(e,"class","BalanceModalRowBoth")},m(u,y){t.insert(u,e,y);for(let p=0;p<d.length;p+=1)d[p]&&d[p].m(e,null);t.append(e,n)},p(u,y){if(y[0]&120){i=t.ensure_array_like(u[4][u[47]]);let p;for(p=0;p<i.length;p+=1){const g=We(u,i,p);d[p]?d[p].p(g,y):(d[p]=Je(g),d[p].c(),d[p].m(e,n))}for(;p<d.length;p+=1)d[p].d(1);d.length=i.length}},d(u){u&&t.detach(e),t.destroy_each(d,u)}}}function Ze(o){let e,n,i;return{c(){e=t.element("div"),t.attr(e,"class","ShowBalanceModalOverlay")},m(d,u){t.insert(d,e,u),n||(i=t.listen(e,"click",o[25]),n=!0)},p:t.noop,d(d){d&&t.detach(e),n=!1,i()}}}function vt(o){let e,n,i;function d(g,v){return g[1]?yt:gt}let u=d(o),y=u(o),p=o[2]&&Ze(o);return{c(){e=t.element("div"),n=t.element("div"),y.c(),i=t.space(),p&&p.c(),t.attr(n,"class","ShowBalance"),t.attr(n,"part","ShowBalance")},m(g,v){t.insert(g,e,v),t.append(e,n),y.m(n,null),t.append(e,i),p&&p.m(e,null),o[26](e)},p(g,v){u===(u=d(g))&&y?y.p(g,v):(y.d(1),y=u(g),y&&(y.c(),y.m(n,null))),g[2]?p?p.p(g,v):(p=Ze(g),p.c(),p.m(e,null)):p&&(p.d(1),p=null)},i:t.noop,o:t.noop,d(g){g&&t.detach(e),y.d(),p&&p.d(),o[26](null)}}}function wt(o,e,n){let i;t.component_subscribe(o,t.$format,f=>n(5,i=f));let{userid:d=""}=e,{session:u=""}=e,{endpoint:y=""}=e,{lang:p="en"}=e,{clientstyling:g=""}=e,{clientstylingurl:v=""}=e,{translationurl:x=""}=e,{customlocaleidentifier:F=""}=e,{gmversion:B="gm16"}=e,{displaybalanceoption:T="All"}=e,{totalcalculationmode:A="totalCashAmount"}=e,{currencyseparator:H=""}=e,{currencydecimal:M=""}=e,{currencyprecision:V=""}=e,z,S,R,U=!1,D="",q=[],ie,se=!1;const h={},le=["totalCashAmount","totalRealAmount"],ce=()=>{fetch(x).then(f=>f.json()).then(f=>Object.keys(f).forEach(C=>Xe(C,f[C]))).catch(f=>console.log(f))};Object.keys(qe).forEach(f=>Xe(f,qe[f]));const ge=()=>{if(F.includes(p))return F},ye=f=>F?new Intl.NumberFormat(ge(),{useGrouping:!0}).format(f):H&&M?ee(f,{separator:H,decimal:M,symbol:"",precision:parseInt(V||"2",10)}).format():ee(f,{separator:".",decimal:",",symbol:"",precision:parseInt(V||"2",10)}).format(),_e=()=>Ge(this,null,function*(){var C,a,r;n(1,z=!0);const f=new URL(`${y}/v1/player/${d}/account`);try{const c=yield fetch(f,{method:"GET",headers:{"X-SessionID":u}}),s=yield c.json();if(c.ok)q=s.items,n(3,D=(C=q.find(l=>l.displayName==="Casino"))==null?void 0:C.currency),n(4,h.Total=[{amount:s.totalAmount[D]}],h),n(4,h.Real=[{amount:(a=q.find(l=>l.displayName==="Casino"))==null?void 0:a.balanceAmount}],h),n(4,h.Bonus=[{amount:(r=q.find(l=>l.displayName==="UBS"))==null?void 0:r.balanceAmount}],h);else throw new Error("Failed to fetch balance data !")}catch(c){console.log("Balance error: ",c)}finally{n(1,z=!1)}}),ve=()=>{n(1,z=!0);const f=new URL(`${y}/v2/player/${d}/balance`),C=new Headers;C.append("X-SessionID",u),fetch(f,{method:"GET",headers:C}).then(r=>r.json()).then(r=>{r[A]||n(8,A=le[0]);const c=r.items.find(l=>l.type==="Real"&&l.walletAccountType==="Ordinary");if(n(3,D=c.currency),se=!!c.productType,n(4,h.Total=[{amount:0}],h),n(4,h.Real=[],h),n(4,h.Bonus=[],h),n(4,h.Credit=[],h),!se){ie={lastOrdinaryAfterAmount:0,showCreditLineAfterAmount:!1},n(4,h.Total[0].amount=r[A][D],h);for(const l of r.items)switch(l.type){case"Bonus":h.Bonus.length===0?h.Bonus.push({amount:l.amount}):n(4,h.Bonus[0].amount+=l.amount,h);break;case"Real":if(l.creditLine&&h.Credit.length===0&&h.Credit.push({amount:l.creditLine}),A==="totalRealAmount")continue;h.Real.length===0?h.Real.push({amount:l.amount}):n(4,h.Real[0].amount+=l.amount,h);break}for(const[l,m]of Object.entries(h))m.length<1&&delete h[l];n(1,z=!1);return}ie={Casino:{lastOrdinaryAfterAmount:0,showCreditLineAfterAmount:!1},Sports:{lastOrdinaryAfterAmount:0,showCreditLineAfterAmount:!1}};let s=r.items;T&&T!=="All"&&(s=r.items.filter(l=>l.productType===T));for(const l of s){let m;switch(l.type){case"Bonus":m=h.Bonus.findIndex(b=>b.productType===l.productType),m>0?n(4,h.Bonus[m].amount+=l.amount,h):h.Bonus.push({amount:l.amount,productType:l.productType});break;case"Real":l.creditLine&&h.Credit.push({amount:l.creditLine,productType:l.productType}),m=h.Real.findIndex(b=>b.productType===l.productType),m>0?n(4,h.Real[m].amount+=l.amount,h):h.Real.push({amount:l.amount,productType:l.productType});break}}Z();for(const[l,m]of Object.entries(h))m.length<1&&delete h[l];n(1,z=!1)}).catch(r=>{throw n(1,z=!1),new Error("Failed to fetch balance data !")})},Q=()=>{if(R&&R.close(),u.length<1)return;let f,C;switch(B){case"gm16":f=new URL(`${y}/v2/player/${d}/information/updates`),C=c=>we(c);break;case"gmcore":f=new URL(`${y}/v1/player/${d}/balance/updates`),C=c=>ue(c);break}const a={accept:"text/event-stream","X-SessionId":u},r=new ct.EventSourcePolyfill(f,{headers:a});R=r,r.addEventListener("message",C)},te=f=>{let C;try{C=JSON.parse(f)}catch(a){console.log("Balance stream failed: ",a);return}return C},ue=f=>{var c,s;const C=te(f.data);if(!C){Q();return}let a="0";const r=C.balanceChange;q=q.map(l=>(r&&r[l.id]&&(l=Pe(Ue({},l),{balanceAmount:r[l.id].afterAmount})),a=(parseFloat(l==null?void 0:l.balanceAmount)+parseFloat(a)).toString(),l)),n(4,h.Real=[{amount:(c=q[0])==null?void 0:c.balanceAmount}],h),n(4,h.Bonus=[{amount:(s=q[1])==null?void 0:s.balanceAmount}],h),n(4,h.Total=[{amount:Number(a)}],h)},fe=(f,C,a)=>{let r=null;switch(a.walletAccountType){case"Ordinary":a.afterAmount!==a.affectedAmount&&(C.lastOrdinaryAfterAmount=a.afterAmount,C.showCreditLineAfterAmount||(r=a.afterAmount));break;case"CreditLine":a.afterAmount!==0?(r=a.afterAmount,C.showCreditLineAfterAmount=!0):(r=C.lastOrdinaryAfterAmount,C.showCreditLineAfterAmount=!1);break;default:r=a.afterAmount}return r===null?f:r},Z=()=>{switch(A){case"totalCashAmount":let f=0;for(const a of["Real","Bonus"])for(const r of h[a])f+=Math.max(r.amount,0);n(4,h.Total[0].amount=f,h);break;case"totalRealAmount":if(!se)return;let C=0;for(const a of h.Real)C+=a.amount;n(4,h.Total[0].amount=C,h)}},we=f=>{const C=te(f.data);if(!C){Q();return}if(C.type!=="BALANCE_UPDATE_V2")return;const a=C.body.balanceChange;for(const[r,c]of Object.entries(a))if(A==="totalRealAmount"&&r==="Real"&&!se&&n(4,h.Total[0].amount=fe(h.Total[0].amount,ie,c),h),!!h[r])for(const s of h[r]){if(!se){s.amount=r==="Real"?fe(s.amount,ie,c):c.afterAmount;continue}c.productType===s.productType&&(s.amount=r==="Real"?fe(s.amount,ie[s.productType],c):c.afterAmount)}Z()},be=()=>{n(2,U=!1),window.postMessage({type:"GoToDeposit"},window.location.href),typeof gtag=="function"&>ag("event","GoToDeposit",{context:"PlayerAccountBalanceModal"})},De=()=>{le.includes(A)||(console.error(`Unsupported value ('${A}') for totalcalculationmode parameter. Only the following values are supported ${le}. Using default value ('${le[0]}').`),n(8,A=le[0]))},Le=()=>{switch(lt(p),De(),B){case"gmcore":_e();break;case"gm16":ve();break;default:throw Error(`Invalid apiversion attribute: ${B}`)}},Ae=f=>f.data&&f.data.type==="LogoutSuccessfull"&&R.close(),Me=()=>{const f=document.createElement("style");f.innerHTML=g,S.appendChild(f)},Ce=()=>{const f=new URL(v),C=document.createElement("style");fetch(f.href).then(a=>a.text()).then(a=>{C.innerHTML=a,setTimeout(()=>{S.appendChild(C)},1)})};t.onMount(()=>(window.addEventListener("message",Ae,!1),()=>{window.removeEventListener("message",Ae),R&&R.close()}));const Be=()=>n(2,U=!0),de=()=>n(2,U=!1),K=()=>be(),Fe=()=>n(2,U=!1);function ke(f){t.binding_callbacks[f?"unshift":"push"](()=>{S=f,n(0,S)})}return o.$$set=f=>{"userid"in f&&n(9,d=f.userid),"session"in f&&n(10,u=f.session),"endpoint"in f&&n(11,y=f.endpoint),"lang"in f&&n(12,p=f.lang),"clientstyling"in f&&n(13,g=f.clientstyling),"clientstylingurl"in f&&n(14,v=f.clientstylingurl),"translationurl"in f&&n(15,x=f.translationurl),"customlocaleidentifier"in f&&n(16,F=f.customlocaleidentifier),"gmversion"in f&&n(17,B=f.gmversion),"displaybalanceoption"in f&&n(18,T=f.displaybalanceoption),"totalcalculationmode"in f&&n(8,A=f.totalcalculationmode),"currencyseparator"in f&&n(19,H=f.currencyseparator),"currencydecimal"in f&&n(20,M=f.currencydecimal),"currencyprecision"in f&&n(21,V=f.currencyprecision)},o.$$.update=()=>{o.$$.dirty[0]&4096&&p&&ge(),o.$$.dirty[0]&400896&&y&&d&&u&&p&&B&&T&&Le(),o.$$.dirty[0]&134656&&y&&d&&u&&B&&Q(),o.$$.dirty[0]&8193&&g&&S&&Me(),o.$$.dirty[0]&16385&&v&&S&&Ce(),o.$$.dirty[0]&32768&&x&&ce()},[S,z,U,D,h,i,ye,be,A,d,u,y,p,g,v,x,F,B,T,H,M,V,Be,de,K,Fe,ke]}class et extends t.SvelteComponent{constructor(e){super(),t.init(this,e,wt,vt,t.safe_not_equal,{userid:9,session:10,endpoint:11,lang:12,clientstyling:13,clientstylingurl:14,translationurl:15,customlocaleidentifier:16,gmversion:17,displaybalanceoption:18,totalcalculationmode:8,currencyseparator:19,currencydecimal:20,currencyprecision:21},mt,[-1,-1])}get userid(){return this.$$.ctx[9]}set userid(e){this.$$set({userid:e}),t.flush()}get session(){return this.$$.ctx[10]}set session(e){this.$$set({session:e}),t.flush()}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),t.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get customlocaleidentifier(){return this.$$.ctx[16]}set customlocaleidentifier(e){this.$$set({customlocaleidentifier:e}),t.flush()}get gmversion(){return this.$$.ctx[17]}set gmversion(e){this.$$set({gmversion:e}),t.flush()}get displaybalanceoption(){return this.$$.ctx[18]}set displaybalanceoption(e){this.$$set({displaybalanceoption:e}),t.flush()}get totalcalculationmode(){return this.$$.ctx[8]}set totalcalculationmode(e){this.$$set({totalcalculationmode:e}),t.flush()}get currencyseparator(){return this.$$.ctx[19]}set currencyseparator(e){this.$$set({currencyseparator:e}),t.flush()}get currencydecimal(){return this.$$.ctx[20]}set currencydecimal(e){this.$$set({currencydecimal:e}),t.flush()}get currencyprecision(){return this.$$.ctx[21]}set currencyprecision(e){this.$$set({currencyprecision:e}),t.flush()}}t.create_custom_element(et,{userid:{},session:{},endpoint:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},customlocaleidentifier:{},gmversion:{},displaybalanceoption:{},totalcalculationmode:{},currencyseparator:{},currencydecimal:{},currencyprecision:{}},[],[],!0);exports.default=et;
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHamburgerMenu-Cf2TrArs.cjs");function x(n,t){e.addMessages(n,t)}function A(n){e.$locale.set(n)}const L={en:{titleDeposit:"Deposit",loading:"Loading, please wait ..."},"zh-hk":{titleDeposit:"訂金",loading:"加載請稍候…"},fr:{titleDeposit:"Dépôt",loading:"Chargement, veuillez patienter ..."},tr:{titleDeposit:"PARA YATIR",loading:"Yükleniyor ..."},ro:{titleDeposit:"Depunere",loading:"Se încarcă..."},es:{titleDeposit:"Deposita",loading:"Cargando ..."},pt:{titleDeposit:"Depósito",loading:"Carregando, por favor espere ..."},hr:{titleDeposit:"Uplata",loading:"Učitavanje"},"pt-br":{titleDeposit:"Depositar",Loading:"Carregando, por favor espere..."},"es-mx":{titleDeposit:"Depositar",Loading:"Cargando, por favor espere..."}};function W(n){e.append_styles(n,"svelte-lvm6lo","button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.DepositWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.DepositTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.DepositTitleMobile{font-size:var(--emw--size-standard, 16px)}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 20px)}")}function j(n){let t,a,l,r,c,m,p,h,f,o,s=n[4]("titleDeposit")+"",d,w,b;return{c(){t=e.element("div"),a=e.svg_element("svg"),l=e.svg_element("defs"),r=e.svg_element("style"),c=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),m=e.svg_element("g"),p=e.svg_element("g"),h=e.svg_element("path"),f=e.space(),o=e.element("h2"),d=e.text(s),e.attr(h,"class","aaa"),e.attr(h,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(h,"transform","translate(15 15) rotate(180)"),e.attr(p,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","15"),e.attr(a,"height","15"),e.attr(a,"viewBox","0 0 15 15"),e.attr(o,"class","DepositTitleMobile"),e.attr(t,"class","MenuReturnButton")},m(u,D){e.insert(u,t,D),e.append(t,a),e.append(a,l),e.append(l,r),e.append(r,c),e.append(a,m),e.append(m,p),e.append(p,h),e.append(t,f),e.append(t,o),e.append(o,d),w||(b=e.listen(t,"click",n[17]),w=!0)},p(u,D){D&16&&s!==(s=u[4]("titleDeposit")+"")&&e.set_data(d,s)},d(u){u&&e.detach(t),w=!1,b()}}}function z(n){let t,a,l;return{c(){t=e.element("div"),a=e.element("iframe"),e.src_url_equal(a.src,l=n[3])||e.attr(a,"src",l),e.attr(a,"title","Deposit Iframe"),e.attr(t,"class","DepositIframeWrapper")},m(r,c){e.insert(r,t,c),e.append(t,a)},p(r,c){c&8&&!e.src_url_equal(a.src,l=r[3])&&e.attr(a,"src",l)},d(r){r&&e.detach(t)}}}function G(n){let t,a=n[4]("loading")+"",l;return{c(){t=e.element("p"),l=e.text(a)},m(r,c){e.insert(r,t,c),e.append(t,l)},p(r,c){c&16&&a!==(a=r[4]("loading")+"")&&e.set_data(l,a)},d(r){r&&e.detach(t)}}}function q(n){let t,a,l,r=n[4]("titleDeposit")+"",c,m,p=n[5]&&j(n);function h(s,d){return s[1]?G:z}let f=h(n),o=f(n);return{c(){t=e.element("div"),p&&p.c(),a=e.space(),l=e.element("h2"),c=e.text(r),m=e.space(),o.c(),e.attr(l,"class","DepositTitle "+(n[5]?"DepositTitleNone":"")),e.attr(t,"class","DepositWrapper "+(n[5]?"DepositWrapperMobile":"")),e.set_style(t,"--dynamic-height",n[2])},m(s,d){e.insert(s,t,d),p&&p.m(t,null),e.append(t,a),e.append(t,l),e.append(l,c),e.append(t,m),o.m(t,null),n[18](t)},p(s,[d]){s[5]&&p.p(s,d),d&16&&r!==(r=s[4]("titleDeposit")+"")&&e.set_data(c,r),f===(f=h(s))&&o?o.p(s,d):(o.d(1),o=f(s),o&&(o.c(),o.m(t,null))),d&4&&e.set_style(t,"--dynamic-height",s[2])},i:e.noop,o:e.noop,d(s){s&&e.detach(t),p&&p.d(),o.d(),n[18](null)}}}function N(n,t,a){let l,r;e.component_subscribe(n,e.$format,i=>a(4,r=i));let{endpoint:c=""}=t,{session:m=""}=t,{playerid:p=""}=t,{lang:h="en"}=t,{hasdefaultamount:f=""}=t,{clientstyling:o=""}=t,{clientstylingurl:s=""}=t,{translationurl:d=""}=t,{playercurrency:w=""}=t,{shortcashierenabled:b="false"}=t,u,D=window.navigator.userAgent,v=e.getDevice(D)!=="PC",M=!0,C,_=0,k="";const R=()=>{fetch(d).then(y=>y.json()).then(y=>{Object.keys(y).forEach(g=>{x(g,y[g])})}).catch(y=>{console.log(y)})};Object.keys(L).forEach(i=>{x(i,L[i])});const S=()=>{window.postMessage({type:"GoToPreviousRoute",isMobile:v},window.location.href)},T=i=>{if(i.data){switch(i.data.type){case"ProfileDetailsData":a(7,w=i.data.profileDetails.currency);break}switch(i.data["MMFE:setQuickDepositHeight"]&&a(2,C=i.data["MMFE:setQuickDepositHeight"].toString()+"px"),i.data["MMFE:openFullCashier"]==="true"&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),i.data.redirect){case"mm-hc-casino":window.postMessage({type:"GoToCasino"},window.location.href);break;case"mm-hc-sports":window.postMessage({type:"GoToSports"},window.location.href);break;case"mm-hc-contact":window.postMessage({type:"GoToCustomerSupport"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href);break;case"mm-hc-back-to-merchant":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"mm-wm-hc-init-deposit":window.postMessage({type:"RedirectWithdrawDepositCloseModal"},window.location.href);break;case"mm-wm-hc-init-deposit-quick":window.postMessage({type:"CloseShortCashier"},window.location.href);break}}},B=()=>{let i=new URL(`${c}/v1/player/${p}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);if(i.searchParams.append("language",h),l&&i.searchParams.append("isShortCashier",b),f)switch(w){case"USD":_=.4;break;case"CDF":_=1e3;break}let y={method:"POST",headers:{"X-SessionId":m,currency:w||"EUR",amount:_,cashierMode:"Default",IsShortCashier:b,accept:"application/json"}};fetch(i.href,y).then(g=>g.json()).then(g=>{a(1,M=!1),a(3,k=g.CashierUrl)},g=>{console.error(g)})},H=()=>{A(h)},P=()=>{let i=document.createElement("style");i.innerHTML=o,u.appendChild(i)},U=()=>{let i=new URL(s),y=document.createElement("style");fetch(i.href).then(g=>g.text()).then(g=>{y.innerHTML=g,setTimeout(()=>{u.appendChild(y)},1)})};e.onMount(()=>(window.addEventListener("message",T,!1),()=>{window.removeEventListener("message",T)}));const F=()=>S();function I(i){e.binding_callbacks[i?"unshift":"push"](()=>{u=i,a(0,u)})}return n.$$set=i=>{"endpoint"in i&&a(8,c=i.endpoint),"session"in i&&a(9,m=i.session),"playerid"in i&&a(10,p=i.playerid),"lang"in i&&a(11,h=i.lang),"hasdefaultamount"in i&&a(12,f=i.hasdefaultamount),"clientstyling"in i&&a(13,o=i.clientstyling),"clientstylingurl"in i&&a(14,s=i.clientstylingurl),"translationurl"in i&&a(15,d=i.translationurl),"playercurrency"in i&&a(7,w=i.playercurrency),"shortcashierenabled"in i&&a(16,b=i.shortcashierenabled)},n.$$.update=()=>{n.$$.dirty&2048&&h&&H(),n.$$.dirty&65536&&(l=b.toLocaleLowerCase()==="true"),n.$$.dirty&16385&&s&&u&&U(),n.$$.dirty&8193&&o&&u&&P(),n.$$.dirty&32768&&d&&R(),n.$$.dirty&69504&&m&&p&&c&&w&&h&&b&&B()},[u,M,C,k,r,v,S,w,c,m,p,h,f,o,s,d,b,F,I]}class E extends e.SvelteComponent{constructor(t){super(),e.init(this,t,N,q,e.safe_not_equal,{endpoint:8,session:9,playerid:10,lang:11,hasdefaultamount:12,clientstyling:13,clientstylingurl:14,translationurl:15,playercurrency:7,shortcashierenabled:16},W)}get endpoint(){return this.$$.ctx[8]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[9]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[10]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[11]}set lang(t){this.$$set({lang:t}),e.flush()}get hasdefaultamount(){return this.$$.ctx[12]}set hasdefaultamount(t){this.$$set({hasdefaultamount:t}),e.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get playercurrency(){return this.$$.ctx[7]}set playercurrency(t){this.$$set({playercurrency:t}),e.flush()}get shortcashierenabled(){return this.$$.ctx[16]}set shortcashierenabled(t){this.$$set({shortcashierenabled:t}),e.flush()}}e.create_custom_element(E,{endpoint:{},session:{},playerid:{},lang:{},hasdefaultamount:{},clientstyling:{},clientstylingurl:{},translationurl:{},playercurrency:{},shortcashierenabled:{}},[],[],!0);exports.default=E;
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoHeaderController-BYZ7x9Ws.cjs")).then(({default:t})=>{!customElements.get("casino-header-controller")&&customElements.define("casino-header-controller",t.element)})}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
if (typeof window != "undefined") {
|
2
|
-
let n = function(t) {
|
3
|
-
return function(...s) {
|
4
|
-
try {
|
5
|
-
return t.apply(this, s);
|
6
|
-
} catch (e) {
|
7
|
-
if (e instanceof DOMException && e.message.includes("has already been used with this registry") || e.message.includes("Cannot define multiple custom elements with the same tag name"))
|
8
|
-
return !1;
|
9
|
-
throw e;
|
10
|
-
}
|
11
|
-
};
|
12
|
-
};
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoHeaderController-BTm7ahEo.js").then(({ default: t }) => {
|
14
|
-
!customElements.get("casino-header-controller") && customElements.define("casino-header-controller", t.element);
|
15
|
-
});
|
16
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";const s=()=>{};exports.globalScripts=s;
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";var _=(e,t,n)=>new Promise((s,r)=>{var a=$=>{try{l(n.next($))}catch(o){r(o)}},i=$=>{try{l(n.throw($))}catch(o){r(o)}},l=$=>$.done?s($.value):Promise.resolve($.value).then(a,i);l((n=n.apply(e,t)).next())});const ke="user-deposit-withdrawal",W={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!0,cmpDidUnload:!1,cmpDidUpdate:!1,cmpShouldUpdate:!1,cmpWillLoad:!0,cmpWillRender:!1,cmpWillUpdate:!1,connectedCallback:!1,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!0,element:!1,event:!1,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!1,hostListenerTarget:!1,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!1,mode:!1,modernPropertyDecls:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!1,propNumber:!1,propString:!0,reflect:!0,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!0,slot:!1,slotChildNodesFix:!1,slotRelocation:!1,state:!0,style:!0,svg:!0,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!1,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!1,watchCallback:!0};var Te=Object.defineProperty,we=(e,t)=>{for(var n in t)Te(e,n,{get:t[n],enumerable:!0})},xe="http://www.w3.org/2000/svg",Le="http://www.w3.org/1999/xhtml",G=new WeakMap,T=e=>G.get(e),Pe=(e,t)=>{G.set(t.$lazyInstance$=e,t)},Ae=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(r=>n.$onReadyResolve$=r),e["s-p"]=[],e["s-rc"]=[],G.set(e,n)},K=(e,t)=>t in e,L=(e,t)=>(0,console.error)(e,t),R=new Map,be=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const a=R.get(r);if(a)return a[s];{const i=l=>(R.set(r,l),l[s]);switch(r){case"user-deposit-withdrawal":return Promise.resolve().then(()=>require("./user-deposit-withdrawal-PVgJw2H0.cjs")).then(i,L)}}return import(`./${r}.entry.js`).then(i=>(R.set(r,i),i[s]),i=>{L(i,t.$hostElement$)})},I=new Map,_e="sty-id",Oe="{visibility:hidden}.hydrated{visibility:inherit}",se="slot-fb{display:contents}slot-fb[hidden]{display:none}",D=typeof window!="undefined"?window:{},k=D.document||{head:{}},h={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},ne=e=>Promise.resolve(e),re=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),H=!1,J=[],le=[],je=(e,t)=>n=>{e.push(n),H||(H=!0,h.$flags$&4?X(C):h.raf(C))},Z=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){L(n)}e.length=0},C=()=>{Z(J),Z(le),(H=J.length>0)&&h.raf(C)},X=e=>ne().then(e),Ie=je(le),Y=e=>(e=typeof e,e==="object"||e==="function");function ae(e){var t,n,s;return(s=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?s:void 0}var me={};we(me,{err:()=>ie,map:()=>ze,ok:()=>q,unwrap:()=>De,unwrapErr:()=>Re});var q=e=>({isOk:!0,isErr:!1,value:e}),ie=e=>({isOk:!1,isErr:!0,value:e});function ze(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(s=>q(s)):q(n)}if(e.isErr){const n=e.value;return ie(n)}throw"should never get here"}var De=e=>{if(e.isOk)return e.value;throw e.value},Re=e=>{if(e.isErr)return e.value;throw e.value},w=(e,t="")=>()=>{},Ue=(e,t)=>()=>{},oe=(e,t,...n)=>{let s=null,r=null,a=!1,i=!1;const l=[],$=c=>{for(let d=0;d<c.length;d++)s=c[d],Array.isArray(s)?$(s):s!=null&&typeof s!="boolean"&&((a=typeof e!="function"&&!Y(s))&&(s=String(s)),a&&i?l[l.length-1].$text$+=s:l.push(a?B(null,s):s),i=a)};if($(n),t){t.key&&(r=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(d=>c[d]).join(" "))}}const o=B(e,null);return o.$attrs$=t,l.length>0&&(o.$children$=l),o.$key$=r,o},B=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},$e={},He=e=>e&&e.$tag$===$e,F=(e,t)=>e!=null&&!Y(e)?t&4?e==="false"?!1:e===""||!!e:t&1?String(e):e:e,Ce=(e,t,n)=>{const s=h.ce(t,n);return e.dispatchEvent(s),s},A=new WeakMap,qe=(e,t,n)=>{let s=I.get(e);re&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,I.set(e,s)},Be=(e,t,n)=>{var s;const r=ce(t),a=I.get(r);if(e=e.nodeType===11?e:k,a)if(typeof a=="string"){e=e.head||e;let i=A.get(e),l;if(i||A.set(e,i=new Set),!i.has(r)){{l=document.querySelector(`[${_e}="${r}"]`)||k.createElement("style"),l.innerHTML=a;const $=(s=h.$nonce$)!=null?s:ae(k);if($!=null&&l.setAttribute("nonce",$),!(t.$flags$&1))if(e.nodeName==="HEAD"){const o=e.querySelectorAll("link[rel=preconnect]"),c=o.length>0?o[o.length-1].nextSibling:e.querySelector("style");e.insertBefore(l,(c==null?void 0:c.parentNode)===e?c:null)}else if("host"in e)if(re){const o=new CSSStyleSheet;o.replaceSync(a),e.adoptedStyleSheets=[o,...e.adoptedStyleSheets]}else{const o=e.querySelector("style");o?o.innerHTML=a+o.innerHTML:e.prepend(l)}else e.append(l);t.$flags$&1&&e.nodeName!=="HEAD"&&e.insertBefore(l,null)}t.$flags$&4&&(l.innerHTML+=se),i&&i.add(r)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return r},Fe=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=t.$flags$,r=w("attachStyles",t.$tagName$),a=Be(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);s&10&&s&2&&(n["s-sc"]=a,n.classList.add(a+"-h")),r()},ce=(e,t)=>"sc-"+e.$tagName$,N=(e,t,n,s,r,a,i)=>{if(n!==s){let l=K(e,t),$=t.toLowerCase();if(t==="class"){const o=e.classList,c=V(n);let d=V(s);o.remove(...c.filter(f=>f&&!d.includes(f))),o.add(...d.filter(f=>f&&!c.includes(f)))}else if(t==="style"){for(const o in n)(!s||s[o]==null)&&(o.includes("-")?e.style.removeProperty(o):e.style[o]="");for(const o in s)(!n||s[o]!==n[o])&&(o.includes("-")?e.style.setProperty(o,s[o]):e.style[o]=s[o])}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):K(D,$)?t=$.slice(2):t=$[2]+t.slice(3),n||s){const o=t.endsWith(fe);t=t.replace(Ge,""),n&&h.rel(e,t,n,o),s&&h.ael(e,t,s,o)}}else{const o=Y(s);if((l||o&&s!==null)&&!r)try{if(e.tagName.includes("-"))e[t]!==s&&(e[t]=s);else{const c=s==null?"":s;t==="list"?l=!1:(n==null||e[t]!=c)&&(typeof e.__lookupSetter__(t)=="function"?e[t]=c:e.setAttribute(t,c))}}catch(c){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||a&4||r)&&!o&&(s=s===!0?"":s,e.setAttribute(t,s))}}},We=/\s/,V=e=>(typeof e=="object"&&e&&"baseVal"in e&&(e=e.baseVal),!e||typeof e!="string"?[]:e.split(We)),fe="Capture",Ge=new RegExp(fe+"$"),de=(e,t,n,s)=>{const r=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,a=e&&e.$attrs$||{},i=t.$attrs$||{};for(const l of ee(Object.keys(a)))l in i||N(r,l,a[l],void 0,n,t.$flags$);for(const l of ee(Object.keys(i)))N(r,l,a[l],i[l],n,t.$flags$)};function ee(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var M,v=!1,m=(e,t,n)=>{const s=t.$children$[n];let r=0,a,i;if(s.$text$!==null)a=s.$elm$=k.createTextNode(s.$text$);else{if(v||(v=s.$tag$==="svg"),a=s.$elm$=k.createElementNS(v?xe:Le,s.$tag$),v&&s.$tag$==="foreignObject"&&(v=!1),de(null,s,v),s.$children$)for(r=0;r<s.$children$.length;++r)i=m(e,s,r),i&&a.appendChild(i);s.$tag$==="svg"?v=!1:a.tagName==="foreignObject"&&(v=!0)}return a["s-hn"]=M,a},ue=(e,t,n,s,r,a)=>{let i=e,l;for(i.shadowRoot&&i.tagName===M&&(i=i.shadowRoot);r<=a;++r)s[r]&&(l=m(null,n,r),l&&(s[r].$elm$=l,j(i,l,t)))},pe=(e,t,n)=>{for(let s=t;s<=n;++s){const r=e[s];if(r){const a=r.$elm$;he(r),a&&a.remove()}}},Xe=(e,t,n,s,r=!1)=>{let a=0,i=0,l=0,$=0,o=t.length-1,c=t[0],d=t[o],f=s.length-1,u=s[0],p=s[f],g,S;for(;a<=o&&i<=f;)if(c==null)c=t[++a];else if(d==null)d=t[--o];else if(u==null)u=s[++i];else if(p==null)p=s[--f];else if(O(c,u,r))P(c,u,r),c=t[++a],u=s[++i];else if(O(d,p,r))P(d,p,r),d=t[--o],p=s[--f];else if(O(c,p,r))P(c,p,r),j(e,c.$elm$,d.$elm$.nextSibling),c=t[++a],p=s[--f];else if(O(d,u,r))P(d,u,r),j(e,d.$elm$,c.$elm$),d=t[--o],u=s[++i];else{for(l=-1,$=a;$<=o;++$)if(t[$]&&t[$].$key$!==null&&t[$].$key$===u.$key$){l=$;break}l>=0?(S=t[l],S.$tag$!==u.$tag$?g=m(t&&t[i],n,l):(P(S,u,r),t[l]=void 0,g=S.$elm$),u=s[++i]):(g=m(t&&t[i],n,i),u=s[++i]),g&&j(c.$elm$.parentNode,g,c.$elm$)}a>o?ue(e,s[f+1]==null?null:s[f+1].$elm$,n,s,i,f):i>f&&pe(t,a,o)},O=(e,t,n=!1)=>e.$tag$===t.$tag$?n?(n&&!e.$key$&&t.$key$&&(e.$key$=t.$key$),!0):e.$key$===t.$key$:!1,P=(e,t,n=!1)=>{const s=t.$elm$=e.$elm$,r=e.$children$,a=t.$children$,i=t.$tag$,l=t.$text$;l===null?(v=i==="svg"?!0:i==="foreignObject"?!1:v,de(e,t,v),r!==null&&a!==null?Xe(s,r,t,a,n):a!==null?(e.$text$!==null&&(s.textContent=""),ue(s,null,t,a,0,a.length-1)):!n&&W.updatable&&r!==null&&pe(r,0,r.length-1),v&&i==="svg"&&(v=!1)):e.$text$!==l&&(s.data=l)},he=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(he)},j=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),Ye=(e,t,n=!1)=>{const s=e.$hostElement$,r=e.$cmpMeta$,a=e.$vnode$||B(null,null),i=He(t)?t:oe(null,null,t);if(M=s.tagName,r.$attrsToReflect$&&(i.$attrs$=i.$attrs$||{},r.$attrsToReflect$.map(([l,$])=>i.$attrs$[$]=s[l])),n&&i.$attrs$)for(const l of Object.keys(i.$attrs$))s.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(i.$attrs$[l]=s[l]);i.$tag$=null,i.$flags$|=4,e.$vnode$=i,i.$elm$=a.$elm$=s.shadowRoot||s,r.$flags$&1,P(a,i,n)},ge=(e,t)=>{if(t&&!e.$onRenderResolve$&&t["s-p"]){const n=t["s-p"].push(new Promise(s=>e.$onRenderResolve$=()=>{t["s-p"].splice(n-1,1),s()}))}},Q=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ge(e,e.$ancestorComponent$),Ie(()=>Me(e,t))},Me=(e,t)=>{const n=e.$hostElement$,s=w("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let a;return t&&(a=z(r,"componentWillLoad",void 0,n)),s(),Qe(a,()=>Je(e,r,t))},Qe=(e,t)=>Ke(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),Ke=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Je=(e,t,n)=>_(exports,null,function*(){var s;const r=e.$hostElement$,a=w("update",e.$cmpMeta$.$tagName$),i=r["s-rc"];n&&Fe(e);const l=w("render",e.$cmpMeta$.$tagName$);Ze(e,t,r,n),i&&(i.map($=>$()),r["s-rc"]=void 0),l(),a();{const $=(s=r["s-p"])!=null?s:[],o=()=>Ne(e);$.length===0?o():(Promise.all($).then(o),e.$flags$|=4,$.length=0)}}),Ze=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ye(e,t,s)}catch(r){L(r,e.$hostElement$)}return null},Ne=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,s=w("postUpdate",t),r=e.$lazyInstance$,a=e.$ancestorComponent$;z(r,"componentDidRender",void 0,n),e.$flags$&64?s():(e.$flags$|=64,ve(n),z(r,"componentDidLoad",void 0,n),s(),e.$onReadyResolve$(n),a||ye()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&X(()=>Q(e,!1)),e.$flags$&=-517},ye=e=>{ve(k.documentElement),X(()=>Ce(D,"appload",{detail:{namespace:ke}}))},z=(e,t,n,s)=>{if(e&&e[t])try{return e[t](n)}catch(r){L(r,s)}},ve=e=>{var t;return e.classList.add((t=W.hydratedSelectorName)!=null?t:"hydrated")},Ve=(e,t)=>T(e).$instanceValues$.get(t),U=(e,t,n,s)=>{const r=T(e);if(!r)throw new Error(`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const a=r.$hostElement$,i=r.$instanceValues$.get(t),l=r.$flags$,$=r.$lazyInstance$;n=F(n,s.$members$[t][0]);const o=Number.isNaN(i)&&Number.isNaN(n),c=n!==i&&!o;if((!(l&8)||i===void 0)&&c&&(r.$instanceValues$.set(t,n),$)){if(s.$watchers$&&l&128){const d=s.$watchers$[t];d&&d.map(f=>{try{$[f](n,i,t)}catch(u){L(u,a)}})}(l&18)===2&&Q(r,!1)}},Se=(e,t,n)=>{var s,r;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const i=Object.entries((s=t.$members$)!=null?s:{});if(i.map(([l,[$]])=>{if($&31||n&2&&$&32){const{get:o,set:c}=Object.getOwnPropertyDescriptor(a,l)||{};o&&(t.$members$[l][0]|=2048),c&&(t.$members$[l][0]|=4096),(n&1||!o)&&Object.defineProperty(a,l,{get(){{if(!(t.$members$[l][0]&2048))return Ve(this,l);const d=T(this),f=d?d.$lazyInstance$:a;return f?f[l]:void 0}},configurable:!0,enumerable:!0}),Object.defineProperty(a,l,{set(d){const f=T(this);if(c){const u=$&32?this[l]:f.$hostElement$[l];typeof u=="undefined"&&f.$instanceValues$.get(l)?d=f.$instanceValues$.get(l):!f.$instanceValues$.get(l)&&u&&f.$instanceValues$.set(l,u),c.apply(this,[F(d,$)]),d=$&32?this[l]:f.$hostElement$[l],U(this,l,d,t);return}{if(!(n&1)||!(t.$members$[l][0]&4096)){U(this,l,d,t),n&1&&!f.$lazyInstance$&&f.$onReadyPromise$.then(()=>{t.$members$[l][0]&4096&&f.$lazyInstance$[l]!==f.$instanceValues$.get(l)&&(f.$lazyInstance$[l]=d)});return}const u=()=>{const p=f.$lazyInstance$[l];!f.$instanceValues$.get(l)&&p&&f.$instanceValues$.set(l,p),f.$lazyInstance$[l]=F(d,$),U(this,l,f.$lazyInstance$[l],t)};f.$lazyInstance$?u():f.$onReadyPromise$.then(()=>u())}}})}}),n&1){const l=new Map;a.attributeChangedCallback=function($,o,c){h.jmp(()=>{var d;const f=l.get($);if(this.hasOwnProperty(f)&&W.lazyLoad)c=this[f],delete this[f];else{if(a.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==c)return;if(f==null){const p=T(this),g=p==null?void 0:p.$flags$;if(g&&!(g&8)&&g&128&&c!==o){const S=p.$lazyInstance$,y=(d=t.$watchers$)==null?void 0:d[$];y==null||y.forEach(x=>{S[x]!=null&&S[x].call(S,c,o,$)})}return}}const u=Object.getOwnPropertyDescriptor(a,f);c=c===null&&typeof this[f]=="boolean"?!1:c,c!==this[f]&&(!u.get||u.set)&&(this[f]=c)})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...i.filter(([$,o])=>o[0]&15).map(([$,o])=>{var c;const d=o[1]||$;return l.set(d,$),o[0]&512&&((c=t.$attrsToReflect$)==null||c.push([$,d])),d})]))}}return e},et=(e,t,n,s)=>_(exports,null,function*(){let r;if(!(t.$flags$&32)){t.$flags$|=32;{const l=be(n,t);if(l&&"then"in l){const o=Ue();r=yield l,o()}else r=l;if(!r)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,Se(r,n,2),r.isProxied=!0);const $=w("createInstance",n.$tagName$);t.$flags$|=8;try{new r(t)}catch(o){L(o,e)}t.$flags$&=-9,t.$flags$|=128,$()}if(r&&r.style){let l;typeof r.style=="string"&&(l=r.style);const $=ce(n);if(!I.has($)){const o=w("registerStyles",n.$tagName$);qe($,l,!!(n.$flags$&1)),o()}}}const a=t.$ancestorComponent$,i=()=>Q(t,!0);a&&a["s-rc"]?a["s-rc"].push(i):i()}),tt=(e,t)=>{},st=e=>{if(!(h.$flags$&1)){const t=T(e),n=t.$cmpMeta$,s=w("connectedCallback",n.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>tt());else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){ge(t,t.$ancestorComponent$=r);break}}n.$members$&&Object.entries(n.$members$).map(([r,[a]])=>{if(a&31&&e.hasOwnProperty(r)){const i=e[r];delete e[r],e[r]=i}}),et(e,t,n)}s()}},te=(e,t)=>{z(e,"disconnectedCallback",void 0,t||e)},nt=e=>_(exports,null,function*(){if(!(h.$flags$&1)){const t=T(e);t!=null&&t.$lazyInstance$?te(t.$lazyInstance$,e):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>te(t.$lazyInstance$,e))}A.has(e)&&A.delete(e),e.shadowRoot&&A.has(e.shadowRoot)&&A.delete(e.shadowRoot)}),rt=(e,t={})=>{var n;const s=w(),r=[],a=t.exclude||[],i=D.customElements,l=k.head,$=l.querySelector("meta[charset]"),o=k.createElement("style"),c=[];let d,f=!0;Object.assign(h,t),h.$resourcesUrl$=new URL(t.resourcesUrl||"./",k.baseURI).href;let u=!1;if(e.map(p=>{p[1].map(g=>{var S;const y={$flags$:g[0],$tagName$:g[1],$members$:g[2],$listeners$:g[3]};y.$flags$&4&&(u=!0),y.$members$=g[2],y.$attrsToReflect$=[],y.$watchers$=(S=g[4])!=null?S:{};const x=y.$tagName$,Ee=class extends HTMLElement{constructor(E){if(super(E),this.hasRegisteredEventListeners=!1,E=this,Ae(E,y),y.$flags$&1){if(!E.shadowRoot)E.attachShadow({mode:"open"});else if(E.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${y.$tagName$}! Mode is set to ${E.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){T(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),d&&(clearTimeout(d),d=null),f?c.push(this):h.jmp(()=>st(this))}disconnectedCallback(){h.jmp(()=>nt(this)),h.raf(()=>{var E;const b=T(this);((E=b==null?void 0:b.$vnode$)==null?void 0:E.$elm$)instanceof Node&&!b.$vnode$.$elm$.isConnected&&delete b.$vnode$.$elm$})}componentOnReady(){return T(this).$onReadyPromise$}};y.$lazyBundleId$=p[0],!a.includes(x)&&!i.get(x)&&(r.push(x),i.define(x,Se(Ee,y,1)))})}),r.length>0&&(u&&(o.textContent+=se),o.textContent+=r.sort()+Oe,o.innerHTML.length)){o.setAttribute("data-styles","");const p=(n=h.$nonce$)!=null?n:ae(k);p!=null&&o.setAttribute("nonce",p),l.insertBefore(o,$?$.nextSibling:l.firstChild)}f=!1,c.length?c.map(p=>p.connectedCallback()):h.jmp(()=>d=setTimeout(ye,30)),s()};exports.Host=$e;exports.bootstrapLazy=rt;exports.h=oe;exports.promiseResolve=ne;exports.registerInstance=Pe;
|
@@ -1,59 +0,0 @@
|
|
1
|
-
"use strict";var Q=(i,p,u)=>new Promise((l,g)=>{var L=c=>{try{m(u.next(c))}catch(D){g(D)}},w=c=>{try{m(u.throw(c))}catch(D){g(D)}},m=c=>c.done?l(c.value):Promise.resolve(c.value).then(L,w);m((u=u.apply(i,p)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("./index-33f005e1-DV6BM6vD.cjs"),oe=require("./app-globals-0f993ce5-sCt45RkC.cjs");var K=typeof document!="undefined"?document.currentScript:null,se=()=>{const i=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:K&&K.tagName.toUpperCase()==="SCRIPT"&&K.src||new URL("stencil/user-deposit-withdrawal-PVgJw2H0.cjs",document.baseURI).href,p={};return i!==""&&(p.resourcesUrl=new URL(".",i).href),v.promiseResolve(p)};se().then(i=>Q(exports,null,function*(){return yield oe.globalScripts(),v.bootstrapLazy([["user-deposit-withdrawal",[[1,"user-deposit-withdrawal",{clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],endpoint:[513],type:[513],channel:[513],language:[513],productType:[513,"product-type"],userId:[513,"user-id"],session:[513],successUrl:[513,"success-url"],cancelUrl:[513,"cancel-url"],failUrl:[513,"fail-url"],sportsUrl:[513,"sports-url"],casinoUrl:[513,"casino-url"],contactUrl:[513,"contact-url"],depositUrl:[513,"deposit-url"],currency:[513],showBonusSelectionInput:[513,"show-bonus-selection-input"],isShortCashier:[516,"is-short-cashier"],homeUrl:[513,"home-url"],beforeRedirect:[16],limitStylingAppends:[32],dynamicHeight:[32],cashierInfoUrl:[32]},null,{session:["watchLoadWidget"],userId:["watchLoadWidget"],isShortCashier:["watchLoadWidget"],currency:["watchLoadWidget"],showBonusSelectionInput:["watchLoadWidget"]}]]]],i)}));const de="en",ue=["ro","en","fr","hr","en-us","es-mx","pt-br","es","de","pt","tr"],ee={en:{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate depost transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},"en-us":{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate depost transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},ro:{Deposit:"Depunere",Withdraw:"Retragere",denyDeposit:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de depunere.",denyWithdrawal:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de retragere.",notFoundErrorCode:"Cod de eroare negăsit",errorCode21122:"Stimate jucător! Vă informăm că în prezent nu aveți permisiunea de a iniția o tranzacție de retragere din contul dvs. de jucător. Cod de eroare: 21122",errorCode21123:"Stimate jucător! Vă informăm că în prezent nu aveți permisiunea de a efectua o depunere în contul dvs. de jucător. Cod de eroare: 21123"},fr:{Deposit:"Dépôt",Withdraw:"Retrait",denyDeposit:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de dépôt.",denyWithdrawal:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de retrait.",notFoundErrorCode:"Code d’erreur introuvable",errorCode21122:"Cher joueur ! Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier une transaction de retrait depuis votre compte joueur. Code d’erreur : 21122",errorCode21123:"Cher joueur ! Veuillez noter qu’actuellement vous n’êtes pas autorisé à effectuer un dépôt sur votre compte joueur. Code d’erreur : 21123"},hr:{Deposit:"Uplata",Withdraw:"Isplata",denyDeposit:"Obavještavamo Vas da trenutno nemate mogućnost uplata.",denyWithdrawal:"Obavještavamo vas da trenutno niste ovlašteni za pokretanje transakcija isplate.",notFoundErrorCode:"Not found error code",errorCode21122:"Poštovani, trenutno nije moguće izvršiti isplatu sa Vašeg računa. Error Code: 21122",errorCode21123:"Poštovani, trenutno nije moguće izvršiti uplatu na Vaš račun. Error Code:21123"},de:{Deposit:"Einzahlung",Withdraw:"Abhebung",denyDeposit:"Bitte beachten Sie, dass Sie derzeit keine Einzahlungs-Transaktionen durchführen dürfen.",denyWithdrawal:"Bitte beachten Sie, dass Sie derzeit keine Abhebungs-Transaktionen durchführen dürfen.",notFoundErrorCode:"Fehlercode nicht gefunden",errorCode21122:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Abhebung von Ihrem Spielerkonto durchführen dürfen. Fehlercode: 21122",errorCode21123:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Einzahlung auf Ihr Spielerkonto durchführen dürfen. Fehlercode: 21123"},es:{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",errorCode21122:"¡Estimado jugador! Le informamos que actualmente no tiene permitido iniciar una transacción de retiro desde su cuenta de jugador. Código de error: 21122",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},pt:{Deposit:"Depósito",Withdraw:"Levantamento",denyDeposit:"Informamos que atualmente não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente não tem permissão para iniciar transações de levantamento.",notFoundErrorCode:"Código de erro não encontrado",errorCode21122:"Caro jogador! Informamos que atualmente não tem permissão para iniciar uma transação de levantamento na sua conta de jogador. Código de erro: 21122",errorCode21123:"Caro jogador! Informamos que atualmente não tem permissão para realizar um depósito na sua conta de jogador. Código de erro: 21123"},"es-mx":{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",errorCode21122:"¡Estimado jugador! Le informamos que actualmente no tiene permitido iniciar una transacción de retiro desde su cuenta de jugador. Código de error: 21122",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},"pt-br":{Deposit:"Depósito",Withdraw:"Saque",denyDeposit:"Informamos que atualmente você não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente você não tem permissão para iniciar transações de saque.",notFoundErrorCode:"Código de erro não encontrado",errorCode21122:"Caro jogador! Informamos que atualmente você não tem permissão para iniciar uma transação de saque em sua conta de jogador. Código de erro: 21122",errorCode21123:"Caro jogador! Informamos que atualmente você não tem permissão para realizar um depósito em sua conta de jogador. Código de erro: 21123"},tr:{Deposit:"Para Yatırma",Withdraw:"Para Çekme",denyDeposit:"Lütfen şu anda para yatırma işlemi başlatamayacağınızı bilgilerinize sunarız.",denyWithdrawal:"Lütfen şu anda para çekme işlemi başlatamayacağınızı bilgilerinize sunarız.",notFoundErrorCode:"Hata kodu bulunamadı",errorCode21122:"Değerli oyuncumuz! Lütfen şu anda oyuncu hesabınızdan para çekme işlemi başlatamayacağınızı bilgilerinize sunarız. Hata Kodu: 21122",errorCode21123:"Değerli oyuncumuz! Lütfen şu anda oyuncu hesabınıza para yatırma işlemi yapamayacağınızı bilgilerinize sunarız. Hata Kodu: 21123"}},ce=i=>new Promise(p=>{fetch(i).then(u=>u.json()).then(u=>{Object.keys(u).forEach(l=>{for(let g in u[l])ee[l][g]=u[l][g]}),p(!0)})}),I=(i,p)=>{const u=p;return ee[u!==void 0&&ue.includes(u)?u:de][i]},le=i=>!!(i.toLowerCase().match(/android/i)||i.toLowerCase().match(/blackberry|bb/i)||i.toLowerCase().match(/iphone|ipad|ipod/i)||i.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));var te=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},re={exports:{}};(function(i,p){(function(u,l){i.exports=l()})(te,function(){var u=1e3,l=6e4,g=36e5,L="millisecond",w="second",m="minute",c="hour",D="day",q="week",M="month",N="quarter",k="year",O="date",o="Invalid Date",W=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,F=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,H={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(a){var r=["th","st","nd","rd"],e=a%100;return"["+a+(r[(e-20)%10]||r[e]||r[0])+"]"}},U=function(a,r,e){var n=String(a);return!n||n.length>=r?a:""+Array(r+1-n.length).join(e)+a},G={s:U,z:function(a){var r=-a.utcOffset(),e=Math.abs(r),n=Math.floor(e/60),t=e%60;return(r<=0?"+":"-")+U(n,2,"0")+":"+U(t,2,"0")},m:function a(r,e){if(r.date()<e.date())return-a(e,r);var n=12*(e.year()-r.year())+(e.month()-r.month()),t=r.clone().add(n,M),s=e-t<0,d=r.clone().add(n+(s?-1:1),M);return+(-(n+(e-t)/(s?t-d:d-t))||0)},a:function(a){return a<0?Math.ceil(a)||0:Math.floor(a)},p:function(a){return{M,y:k,w:q,d:D,D:O,h:c,m,s:w,ms:L,Q:N}[a]||String(a||"").toLowerCase().replace(/s$/,"")},u:function(a){return a===void 0}},j="en",z={};z[j]=H;var P="$isDayjsObject",A=function(a){return a instanceof Z||!(!a||!a[P])},E=function a(r,e,n){var t;if(!r)return j;if(typeof r=="string"){var s=r.toLowerCase();z[s]&&(t=s),e&&(z[s]=e,t=s);var d=r.split("-");if(!t&&d.length>1)return a(d[0])}else{var f=r.name;z[f]=r,t=f}return!n&&t&&(j=t),t||!n&&j},C=function(a,r){if(A(a))return a.clone();var e=typeof r=="object"?r:{};return e.date=a,e.args=arguments,new Z(e)},h=G;h.l=E,h.i=A,h.w=function(a,r){return C(a,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})};var Z=function(){function a(e){this.$L=E(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[P]=!0}var r=a.prototype;return r.parse=function(e){this.$d=function(n){var t=n.date,s=n.utc;if(t===null)return new Date(NaN);if(h.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t=="string"&&!/Z$/i.test(t)){var d=t.match(W);if(d){var f=d[2]-1||0,y=(d[7]||"0").substring(0,3);return s?new Date(Date.UTC(d[1],f,d[3]||1,d[4]||0,d[5]||0,d[6]||0,y)):new Date(d[1],f,d[3]||1,d[4]||0,d[5]||0,d[6]||0,y)}}return new Date(t)}(e),this.init()},r.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},r.$utils=function(){return h},r.isValid=function(){return this.$d.toString()!==o},r.isSame=function(e,n){var t=C(e);return this.startOf(n)<=t&&t<=this.endOf(n)},r.isAfter=function(e,n){return C(e)<this.startOf(n)},r.isBefore=function(e,n){return this.endOf(n)<C(e)},r.$g=function(e,n,t){return h.u(e)?this[n]:this.set(t,e)},r.unix=function(){return Math.floor(this.valueOf()/1e3)},r.valueOf=function(){return this.$d.getTime()},r.startOf=function(e,n){var t=this,s=!!h.u(n)||n,d=h.p(e),f=function(R,b){var x=h.w(t.$u?Date.UTC(t.$y,b,R):new Date(t.$y,b,R),t);return s?x:x.endOf(D)},y=function(R,b){return h.w(t.toDate()[R].apply(t.toDate("s"),(s?[0,0,0,0]:[23,59,59,999]).slice(b)),t)},$=this.$W,S=this.$M,T=this.$D,Y="set"+(this.$u?"UTC":"");switch(d){case k:return s?f(1,0):f(31,11);case M:return s?f(1,S):f(0,S+1);case q:var _=this.$locale().weekStart||0,B=($<_?$+7:$)-_;return f(s?T-B:T+(6-B),S);case D:case O:return y(Y+"Hours",0);case c:return y(Y+"Minutes",1);case m:return y(Y+"Seconds",2);case w:return y(Y+"Milliseconds",3);default:return this.clone()}},r.endOf=function(e){return this.startOf(e,!1)},r.$set=function(e,n){var t,s=h.p(e),d="set"+(this.$u?"UTC":""),f=(t={},t[D]=d+"Date",t[O]=d+"Date",t[M]=d+"Month",t[k]=d+"FullYear",t[c]=d+"Hours",t[m]=d+"Minutes",t[w]=d+"Seconds",t[L]=d+"Milliseconds",t)[s],y=s===D?this.$D+(n-this.$W):n;if(s===M||s===k){var $=this.clone().set(O,1);$.$d[f](y),$.init(),this.$d=$.set(O,Math.min(this.$D,$.daysInMonth())).$d}else f&&this.$d[f](y);return this.init(),this},r.set=function(e,n){return this.clone().$set(e,n)},r.get=function(e){return this[h.p(e)]()},r.add=function(e,n){var t,s=this;e=Number(e);var d=h.p(n),f=function(S){var T=C(s);return h.w(T.date(T.date()+Math.round(S*e)),s)};if(d===M)return this.set(M,this.$M+e);if(d===k)return this.set(k,this.$y+e);if(d===D)return f(1);if(d===q)return f(7);var y=(t={},t[m]=l,t[c]=g,t[w]=u,t)[d]||1,$=this.$d.getTime()+e*y;return h.w($,this)},r.subtract=function(e,n){return this.add(-1*e,n)},r.format=function(e){var n=this,t=this.$locale();if(!this.isValid())return t.invalidDate||o;var s=e||"YYYY-MM-DDTHH:mm:ssZ",d=h.z(this),f=this.$H,y=this.$m,$=this.$M,S=t.weekdays,T=t.months,Y=t.meridiem,_=function(b,x,V,J){return b&&(b[x]||b(n,s))||V[x].slice(0,J)},B=function(b){return h.s(f%12||12,b,"0")},R=Y||function(b,x,V){var J=b<12?"AM":"PM";return V?J.toLowerCase():J};return s.replace(F,function(b,x){return x||function(V){switch(V){case"YY":return String(n.$y).slice(-2);case"YYYY":return h.s(n.$y,4,"0");case"M":return $+1;case"MM":return h.s($+1,2,"0");case"MMM":return _(t.monthsShort,$,T,3);case"MMMM":return _(T,$);case"D":return n.$D;case"DD":return h.s(n.$D,2,"0");case"d":return String(n.$W);case"dd":return _(t.weekdaysMin,n.$W,S,2);case"ddd":return _(t.weekdaysShort,n.$W,S,3);case"dddd":return S[n.$W];case"H":return String(f);case"HH":return h.s(f,2,"0");case"h":return B(1);case"hh":return B(2);case"a":return R(f,y,!0);case"A":return R(f,y,!1);case"m":return String(y);case"mm":return h.s(y,2,"0");case"s":return String(n.$s);case"ss":return h.s(n.$s,2,"0");case"SSS":return h.s(n.$ms,3,"0");case"Z":return d}return null}(b)||d.replace(":","")})},r.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},r.diff=function(e,n,t){var s,d=this,f=h.p(n),y=C(e),$=(y.utcOffset()-this.utcOffset())*l,S=this-y,T=function(){return h.m(d,y)};switch(f){case k:s=T()/12;break;case M:s=T();break;case N:s=T()/3;break;case q:s=(S-$)/6048e5;break;case D:s=(S-$)/864e5;break;case c:s=S/g;break;case m:s=S/l;break;case w:s=S/u;break;default:s=S}return t?s:h.a(s)},r.daysInMonth=function(){return this.endOf(M).$D},r.$locale=function(){return z[this.$L]},r.locale=function(e,n){if(!e)return this.$L;var t=this.clone(),s=E(e,n,!0);return s&&(t.$L=s),t},r.clone=function(){return h.w(this.$d,this)},r.toDate=function(){return new Date(this.valueOf())},r.toJSON=function(){return this.isValid()?this.toISOString():null},r.toISOString=function(){return this.$d.toISOString()},r.toString=function(){return this.$d.toUTCString()},a}(),X=Z.prototype;return C.prototype=X,[["$ms",L],["$s",w],["$m",m],["$H",c],["$W",D],["$M",M],["$y",k],["$D",O]].forEach(function(a){X[a[1]]=function(r){return this.$g(r,a[0],a[1])}}),C.extend=function(a,r){return a.$i||(a(r,Z,C),a.$i=!0),C},C.locale=E,C.isDayjs=A,C.unix=function(a){return C(1e3*a)},C.en=z[j],C.Ls=z,C.p={},C})})(re);const ne=re.exports;var ie={exports:{}};(function(i,p){(function(u,l){i.exports=l()})(te,function(){var u="minute",l=/[+-]\d\d(?::?\d\d)?/g,g=/([+-]|\d\d)/g;return function(L,w,m){var c=w.prototype;m.utc=function(o){var W={date:o,utc:!0,args:arguments};return new w(W)},c.utc=function(o){var W=m(this.toDate(),{locale:this.$L,utc:!0});return o?W.add(this.utcOffset(),u):W},c.local=function(){return m(this.toDate(),{locale:this.$L,utc:!1})};var D=c.parse;c.parse=function(o){o.utc&&(this.$u=!0),this.$utils().u(o.$offset)||(this.$offset=o.$offset),D.call(this,o)};var q=c.init;c.init=function(){if(this.$u){var o=this.$d;this.$y=o.getUTCFullYear(),this.$M=o.getUTCMonth(),this.$D=o.getUTCDate(),this.$W=o.getUTCDay(),this.$H=o.getUTCHours(),this.$m=o.getUTCMinutes(),this.$s=o.getUTCSeconds(),this.$ms=o.getUTCMilliseconds()}else q.call(this)};var M=c.utcOffset;c.utcOffset=function(o,W){var F=this.$utils().u;if(F(o))return this.$u?0:F(this.$offset)?M.call(this):this.$offset;if(typeof o=="string"&&(o=function(j){j===void 0&&(j="");var z=j.match(l);if(!z)return null;var P=(""+z[0]).match(g)||["-",0,0],A=P[0],E=60*+P[1]+ +P[2];return E===0?0:A==="+"?E:-E}(o),o===null))return this;var H=Math.abs(o)<=16?60*o:o,U=this;if(W)return U.$offset=H,U.$u=o===0,U;if(o!==0){var G=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(U=this.local().add(H+G,u)).$offset=H,U.$x.$localOffset=G}else U=this.utc();return U};var N=c.format;c.format=function(o){var W=o||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return N.call(this,W)},c.valueOf=function(){var o=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*o},c.isUTC=function(){return!!this.$u},c.toISOString=function(){return this.toDate().toISOString()},c.toString=function(){return this.toDate().toUTCString()};var k=c.toDate;c.toDate=function(o){return o==="s"&&this.$offset?m(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():k.call(this)};var O=c.diff;c.diff=function(o,W,F){if(o&&this.$u===o.$u)return O.call(this,o,W,F);var H=this.local(),U=m(o).local();return O.call(H,U,W,F)}}})})(ie);const he=ie.exports,fe=`:host {
|
2
|
-
font: inherit;
|
3
|
-
display: block;
|
4
|
-
height: 100%;
|
5
|
-
overflow: hidden;
|
6
|
-
}
|
7
|
-
|
8
|
-
.CategoryTitle {
|
9
|
-
font-size: var(--emw--font-size-x-large, 26px);
|
10
|
-
color: var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));
|
11
|
-
}
|
12
|
-
|
13
|
-
.MenuReturnButton {
|
14
|
-
font: inherit;
|
15
|
-
color: var(--emw--color-gray-300, #58586B);
|
16
|
-
display: inline-flex;
|
17
|
-
align-items: center;
|
18
|
-
column-gap: 10px;
|
19
|
-
margin-bottom: 10px;
|
20
|
-
}
|
21
|
-
.MenuReturnButton svg {
|
22
|
-
fill: var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));
|
23
|
-
}
|
24
|
-
.MenuReturnButton h2.CategoryTitleMobile {
|
25
|
-
font-size: 16px;
|
26
|
-
color: var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));
|
27
|
-
}
|
28
|
-
|
29
|
-
.ErrorMessage {
|
30
|
-
color: var(--emw--pam-color-typography, var(--emw--color-typography, #FFFFFF));
|
31
|
-
}
|
32
|
-
|
33
|
-
.DepositWithdrawalWrapper {
|
34
|
-
width: 100%;
|
35
|
-
padding: 0;
|
36
|
-
margin: 0;
|
37
|
-
height: 100vh;
|
38
|
-
}
|
39
|
-
|
40
|
-
@container (max-width: 475px) {
|
41
|
-
.DepositWithdrawalWrapper {
|
42
|
-
height: 100vh;
|
43
|
-
}
|
44
|
-
}
|
45
|
-
.ShortCashier.DepositWithdrawalWrapper {
|
46
|
-
height: 500px;
|
47
|
-
}
|
48
|
-
.ShortCashier.CategoryTitle.CategoryTitle {
|
49
|
-
margin-right: 20px;
|
50
|
-
padding-top: 20px;
|
51
|
-
color: ar(--emw--color-black, #000000);
|
52
|
-
}
|
53
|
-
.ShortCashier .ErrorMessage {
|
54
|
-
margin: auto;
|
55
|
-
width: 90%;
|
56
|
-
margin-top: 70px;
|
57
|
-
text-align: center;
|
58
|
-
color: var(--emw--color-black, #000000);
|
59
|
-
}`,pe=fe;ne.extend(he);const me=()=>{},ae=class{constructor(i){v.registerInstance(this,i),this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.currency="",this.showBonusSelectionInput="true",this.isShortCashier=!1,this.beforeRedirect=me,this.limitStylingAppends=!1,this.bindedHandler=this.handleMessage.bind(this),this.userAgent=window.navigator.userAgent,this.isMobile=le(this.userAgent),this.errorCodes=["21123","21122"],this.setClientStyling=()=>{let p=document.createElement("style");p.innerHTML=this.clientStyling,this.stylingContainer.prepend(p)},this.setClientStylingURL=()=>{let p=new URL(this.clientStylingUrl),u=document.createElement("style");fetch(p.href).then(l=>l.text()).then(l=>{u.innerHTML=l,setTimeout(()=>{this.stylingContainer.prepend(u)},1)}).catch(l=>{console.log("error ",l)})}}get typeParameter(){if(this.type==="deposit")return"Deposit";if(this.type==="withdraw")return"Withdraw"}watchLoadWidget(){this.loadWidget()}componentWillLoad(){return Q(this,null,function*(){if(yield this.loadWidget(),this.translationUrl)return ce(this.translationUrl)})}toggleScreen(i){window.postMessage({type:"PlayerAccountMenuActive",isMobile:i},window.location.href)}componentDidLoad(){window.addEventListener("message",this.bindedHandler,!1)}disconnectedCallback(){window.removeEventListener("message",this.bindedHandler,!1)}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.clientStylingUrl&&this.setClientStylingURL(),this.limitStylingAppends=!0)}render(){return v.h(v.Host,{key:"4c6783c9cccc65e31901eb8755729147da7c3771"},v.h("div",{key:"afbbc15e1210ef1ade3c094b84c12485ff94e438",ref:i=>this.stylingContainer=i},!(this.isMobile&&!this.isShortCashier)&&v.h("h2",{key:"99b64c5ef99e55335c4f3066f448dd19a4eeaad0",class:"CategoryTitle"},I(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language)),v.h("div",{key:"eba951ef1cb0f291a3a44fd89d8da8f70ee7eba8",class:`DepositWithdrawalWrapper ${this.isShortCashier?"ShortCashier":""}`,style:{height:this.dynamicHeight,marginTop:this.isShortCashier?"30px":"0"}},v.h("div",{key:"abd3d5958091437af76efb311a49a30f6ba4a7eb"},this.isMobile&&!this.isShortCashier?v.h("div",{class:"MenuReturnButton",onClick:()=>this.toggleScreen(this.isMobile)},v.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},v.h("defs",null),v.h("g",{transform:"translate(-20 -158)"},v.h("g",{transform:"translate(20 158)"},v.h("path",{class:"aaa",d:"M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z",transform:"translate(15 15) rotate(180)"})))),v.h("h2",{class:"CategoryTitleMobile"},I(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language))):null),this.cashierInfoUrl?v.h("iframe",{width:"100%",height:"100%",src:this.cashierInfoUrl}):v.h("h3",{class:"ErrorMessage"},this.type==="deposit"?I("denyDeposit",this.language):I("denyWithdrawal",this.language)))))}loadWidget(){return Q(this,null,function*(){const i={Channel:this.channel,Type:this.typeParameter,SuccessUrl:this.successUrl,CancelUrl:this.cancelUrl,FailUrl:this.failUrl,Language:this.language,productType:this.productType,isShortCashier:this.isShortCashier,currency:this.currency,showBonusSelectionInput:this.showBonusSelectionInput};try{const p=`${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`,u=yield fetch(p,{method:"POST",headers:{"X-Sessionid":this.session,"Content-Type":"application/json","X-Client-Request-Timestamp":ne.utc().format("YYYY-MM-DD HH:mm:ss.SSS")},body:JSON.stringify(i)});if(!u.ok){const g=yield u.text();throw new Error(g)}const l=yield u.json();if(l.CashierInfo)this.cashierInfoUrl=l.CashierInfo.Url;else{let g;if(l.ResponseMessage){let w=this.errorCodes.find(m=>l.ResponseMessage.includes(m))||null;w?g=I(`errorCode${w}`,this.language):g=I("notFoundErrorCode",this.language)}else g=this.type==="deposit"?I("denyDeposit",this.language):I("denyWithdrawal",this.language);const L={type:"error",message:g};window.postMessage({type:"DenyDepositOrWithdrawal",data:L},window.location.href)}}catch(p){console.error(p)}})}handleMessage(i){var p,u,l,g,L,w,m,c;i.data["MMFE:openFullCashier"]==="true"&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),i.data["MMFE:setQuickDepositHeight"]&&this.isShortCashier&&(this.dynamicHeight=i.data["MMFE:setQuickDepositHeight"].toString()+"px"),i.data["MMFE:setIFrameHeight"]&&this.isShortCashier&&(this.dynamicHeight=i.data["MMFE:setIFrameHeight"].toString()+"px"),((p=i.data)===null||p===void 0?void 0:p.type)==="mm-hcback-to-merchant"&&this.doRedirect(i.data.type,this.homeUrl),((u=i.data)===null||u===void 0?void 0:u.redirect)==="mm-hc-back-tomerchant"&&this.doRedirect(i.data.redirect,this.homeUrl),((l=i.data)===null||l===void 0?void 0:l.redirect)==="mm-hc-sports"&&this.doRedirect((g=i.data)===null||g===void 0?void 0:g.redirect,this.sportsUrl),((L=i.data)===null||L===void 0?void 0:L.redirect)==="mm-hc-casino"&&this.doRedirect(window.location.href,this.casinoUrl),((w=i.data)===null||w===void 0?void 0:w.redirect)==="mm-hc-contact"&&(window.postMessage({type:"CloseShortCashier"},window.location.href),this.doRedirect(window.location.href,this.contactUrl)),(((m=i.data)===null||m===void 0?void 0:m.redirect)==="mm-wm-hc-init-deposit"||((c=i.data)===null||c===void 0?void 0:c.redirect)==="mm-wm-hc-init-deposit-quick")&&(window.postMessage({type:"CloseShortCashier"},window.location.href),this.doRedirect(window.location.href,this.depositUrl))}doRedirect(i,p){const u={reason:i,url:p,cancel:!1};if(this.beforeRedirect(u),!u.cancel){if(!u.url){window.location.href="/";return}window.location.href=u.url}}static get watchers(){return{session:["watchLoadWidget"],userId:["watchLoadWidget"],isShortCashier:["watchLoadWidget"],currency:["watchLoadWidget"],showBonusSelectionInput:["watchLoadWidget"]}}};ae.style=pe;exports.user_deposit_withdrawal=ae;
|