PageSourceSearch

https://www.betgoodwin.co.uk/chunk-JOSJXR6M-e4058f01bb.js

js betgoodwin.co.uk collected 2026-09-29 16:46:42 UTC 41,207 bytes, 12 lines download raw bytes

1import{B as re,C as se,E as U,J as Ut,K as le,L as ce,M as ue,N as de,O as pe,P as he,Q as me,R as fe,V as ge,W as ye,X as Be,a as Wt,b as ee,c as oe,e as ne,j as R,k as ae,l as dt,m as pt,n as Gt,o as H,p as Jt,q as vt,r as ht,s as ie,t as Et,u as $,v as wt}from"./chunk-TFK2HCCS-e4058f01bb.js";import{a as Qt,b as te}from"./chunk-HU6DUUP4-e4058f01bb.js";function ve(s,t){pe(s,t)}function Le(s){he.set(s)}var we={en:{Title:"Your Balance",Total:"Total Balance",Real:"Cash Balance",Bonus:"Bonus Balance",Credit:"Credit Balance",Casino:"Casino",Sports:"Sports",LimitsButton:"Limits",DepositButton:"Deposit",ActiveBonusesButton:"Active Bonuses",Loading:"Loading ..."},"zh-hk":{Title:"\u60A8\u7684\u7D50\u9918",Total:"\u7E3D\u7D50\u9918",Real:"\u73FE\u91D1\u7D50\u9918",Bonus:"\u7D05\u5229\u7D50\u9918",Credit:"\u4FE1\u7528\u7D50\u9918",Casino:"\u8CED\u5834",Sports:"\u9AD4\u80B2",LimitsButton:"Limits",DepositButton:"\u5B58\u6B3E",ActiveBonusesButton:"\u6D3B\u8E8D\u734E\u91D1",Loading:"\u8F09\u5165\u4E2D ..."},de:{Title:"Ihr Guthaben",Total:"Gesamtguthaben",Real:"Barguthaben",Bonus:"Bonusguthaben",Credit:"Kreditguthaben",Casino:"Casino",Sports:"Sport",LimitsButton:"Limits",DepositButton:"Einzahlen",ActiveBonusesButton:"Aktive Boni",Loading:"Wird geladen ..."},it:{Title:"Il tuo saldo",Total:"Saldo totale",Real:"Saldo in contanti",Bonus:"Saldo bonus",Credit:"Saldo di credito",Casino:"Casin\xF2",Sports:"Sport",LimitsButton:"Limits",DepositButton:"Deposita",ActiveBonusesButton:"Bonus Attivi",Loading:"Caricamento ..."},fr:{Title:"Votre solde",Total:"Solde total",Real:"Solde en esp\xE8ces",Bonus:"Solde bonus",Credit:"Solde de cr\xE9dit",Casino:"Casino",Sports:"Sports",LimitsButton:"Limits",DepositButton:"D\xE9p\xF4t",ActiveBonusesButton:"Bonus Actifs",Loading:"Chargement ..."},es:{Title:"Tu saldo",Total:"Saldo total",Real:"Saldo en efectivo",Bonus:"Saldo de bono",Credit:"Saldo de cr\xE9dito",Casino:"Casino",Sports:"Deportes",LimitsButton:"Limits",DepositButton:"Dep\xF3sito",ActiveBonusesButton:"Bonos Activos",Loading:"Cargando ..."},tr:{Title:"Bakiyeniz",Total:"Toplam Bakiye",Real:"Nakit Bakiye",Bonus:"Bonus Bakiyesi",Credit:"Kredi Bakiyesi",Casino:"Kumarhane",Sports:"Spor",LimitsButton:"Limits",DepositButton:"Yat\u0131r",ActiveBonusesButton:"Aktif Bonuslar",Loading:"Y\xFCkleniyor ..."},ru:{Title:"\u0412\u0430\u0448 \u0431\u0430\u043B\u0430\u043D\u0441",Total:"\u041E\u0431\u0449\u0438\u0439 \u0431\u0430\u043B\u0430\u043D\u0441",Real:"\u0414\u0435\u043D\u0435\u0436\u043D\u044B\u0439 \u0431\u0430\u043B\u0430\u043D\u0441",Bonus:"\u0411\u043E\u043D\u0443\u0441\u043D\u044B\u0439 \u0431\u0430\u043B\u0430\u043D\u0441",Credit:"\u041A\u0440\u0435\u0434\u0438\u0442\u043D\u044B\u0439 \u0431\u0430\u043B\u0430\u043D\u0441",Casino:"\u041A\u0430\u0437\u0438\u043D\u043E",Sports:"\u0421\u043F\u043E\u0440\u0442",LimitsButton:"Limits",DepositButton:"\u0414\u0435\u043F\u043E\u0437\u0438\u0442",ActiveBonusesButton:"\u0410\u043A\u0442\u0438\u0432\u043D\u044B\u0435 \u0411\u043E\u043D\u0443\u0441\u044B",Loading:"\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044F ..."},ro:{Title:"Soldul t\u0103u",Total:"Sold total",Real:"Sold \xEEn numerar",Bonus:"Sold bonus",Credit:"Sold credit",Casino:"Cazinou",Sports:"Sporturi",LimitsButton:"Limits",DepositButton:"Depozit",ActiveBonusesButton:"Bonusuri Active",Loading:"Se \xEEncarc\u0103 ..."},hr:{Title:"Va\u0161 saldo",Total:"Ukupni saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Casino",Sports:"Sportovi",LimitsButton:"Limits",DepositButton:"Depozit",ActiveBonusesButton:"Aktivni Bonusi",Loading:"U\u010Ditavanje ..."},hu:{Title:"Az egyenleged",Total:"Teljes egyenleg",Real:"K\xE9szp\xE9nz egyenleg",Bonus:"B\xF3nusz egyenleg",Credit:"Hitel egyenleg",Casino:"Kaszin\xF3",Sports:"Sport",LimitsButton:"Limits",DepositButton:"Befizet\xE9s",ActiveBonusesButton:"Akt\xEDv B\xF3nuszok",Loading:"Bet\xF6lt\xE9s ..."},pl:{Title:"Twoje saldo",Total:"Ca\u0142kowite saldo",Real:"Saldo got\xF3wkowe",Bonus:"Saldo bonusowe",Credit:"Saldo kredytowe",Casino:"Kasyno",Sports:"Sport",LimitsButton:"Limits",DepositButton:"Wp\u0142a\u0107",ActiveBonusesButton:"Aktywne Bonusy",Loading:"\u014
11adowanie ..."},pt:{Title:"Seu Saldo",Total:"Saldo Total",Real:"Saldo em Dinheiro",Bonus:"Saldo de B\xF4nus",Credit:"Saldo de Cr\xE9dito",Casino:"Cassino",Sports:"Esportes",LimitsButton:"Limits",DepositButton:"Depositar",ActiveBonusesButton:"B\xF4nus Ativos",Loading:"Carregando ..."},sl:{Title:"Va\u0161 saldo",Total:"Skupni saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Kasino",Sports:"\u0160port",LimitsButton:"Limits",DepositButton:"Depozit",ActiveBonusesButton:"Aktivni Bonusi",Loading:"Nalaganje ..."},sr:{Title:"Va\u0161 saldo",Total:"Ukupan saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Kasino",Sports:"Sport",LimitsButton:"Limits",DepositButton:"Depozit",ActiveBonusesButton:"Aktivni Bonusi",Loading:"U\u010Ditavanje ..."},"pt-br":{Title:"Seu Saldo",Total:"Saldo Total",Real:"Saldo em Dinheiro",Bonus:"Saldo de B\xF4nus",Credit:"Saldo de Cr\xE9dito",Casino:"Cassino",Sports:"Esportes",LimitsButton:"Limits",DepositButton:"Depositar",ActiveBonusesButton:"B\xF4nus Ativos",Loading:"Carregando ..."},"es-mx":{Title:"Tu saldo",Total:"Saldo total",Real:"Saldo en efectivo",Bonus:"Saldo de bono",Credit:"Saldo de cr\xE9dito",Casino:"Casino",Sports:"Deportes",LimitsButton:"Limits",DepositButton:"Dep\xF3sito",ActiveBonusesButton:"Bonos Activos",Loading:"Cargando ..."},"en-us":{Title:"Your Balance",Total:"Total Balance",Real:"Cash Balance",Bonus:"Bonus Balance",Credit:"Credit Balance",Casino:"Casino",Sports:"Sports",LimitsButton:"Limits",DepositButton:"Deposit",ActiveBonusesButton:"Active Bonuses",Loading:"Loading ..."}},Yt={exports:{}};(function(s,t){(function(e){var m=e.setTimeout,y=e.clearTimeout,c=e.XMLHttpRequest,l=e.XDomainRequest,B=e.ActiveXObject,f=e.EventSource,x=e.document,D=e.Promise,W=e.fetch,z=e.Response,S=e.TextDecoder,v=e.TextEncoder,K=e.AbortController;if(typeof window<"u"&&typeof x<"u"&&!("readyState"in x)&&x.body==null&&(x.readyState="loading",window.addEventListener("load",function(o){x.readyState="complete"},!1)),c==null&&B!=null&&(c=function(){return new B("Microsoft.XMLHTTP")}),Object.create==null&&(Object.create=function(o){function a(){}return a.prototype=o,new a}),Date.now||(Date.now=function(){return new Date().getTime()}),K==null){var bt=W;W=function(o,a){var p=a.signal;return bt(o,{headers:a.headers,credentials:a.credentials,cache:a.cache}).then(function(r){var w=r.body.getReader();return p._reader=w,p._aborted&&p._reader.cancel(),{status:r.status,statusText:r.statusText,headers:r.headers,body:{getReader:function(){return w}}}})},K=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){this.signal._reader!=null&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function xt(){this.bitsNeeded=0,this.codePoint=0}xt.prototype.decode=function(o){function a(E,O,b){if(b===1)return E>=128>>O&&E<<O<=2047;if(b===2)return E>=2048>>O&&E<<O<=55295||E>=57344>>O&&E<<O<=65535;if(b===3)return E>=65536>>O&&E<<O<=1114111;throw new Error}function p(E,O){if(E===6)return O>>6>15?3:O>31?2:1;if(E===12)return O>15?3:2;if(E===18)return 3;throw new Error}for(var r=65533,w="",g=this.bitsNeeded,A=this.codePoint,j=0;j<o.length;j+=1){var C=o[j];g!==0&&(C<128||C>191||!a(A<<6|C&63,g-6,p(g,A)))&&(g=0,A=r,w+=String.fromCharCode(A)),g===0?(C>=0&&C<=127?(g=0,A=C):C>=192&&C<=223?(g=6,A=C&31):C>=224&&C<=239?(g=12,A=C&15):C>=240&&C<=247?(g=18,A=C&7):(g=0,A=r),g!==0&&!a(A,g,p(g,A))&&(g=0,A=r)):(g-=6,A=A<<6|C&63),g===0&&(A<=65535?w+=String.fromCharCode(A):(w+=String.fromCharCode(55296+(A-65535-1>>10)),w+=String.fromCharCode(56320+(A-65535-1&1023))))}return this.bitsNeeded=g,this.codePoint=A,w};var $t=function(){try{return new S().decode(new v().encode("test"),{stream:!0})==="test"}catch(o){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+o)}return!1};(S==null||v==null||!$t())&&(S=xt);var X=function(){};function Z(o){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=X,this.onload=X,this.onerror=X,this.onreadystatechange=X,this._contentType="",this._xhr=o,this._sendTimeout=0,this._abort=X}Z.prototype.open=function(o,a){this._abort(!0);var p=this,r=this._xhr,w=1,g=0;this._abort=function(b){p._sendTimeout!==0&&(y(p._sendTimeout),p._sendTimeout=0),(w===1||w===2||w===3)&&(w=4,r.onload=X,r.onerror=X,r.onabort=X,r.onprogress=X,r.onreadystatechange=X,r.abort(),g!==0&&(y(g),g=0),b||(p.readyState=4,p.onabort(null),p.onreadystatechange())),w=0};var A=function(){if(w===1){var b=0,_="",ft=void 0;if("contentType"in r)b=200,_="OK",ft=r.contentType;else try{b=r.status,_=r.statusText,ft=r.getResponseHeader("Content-Type")}catch{b=0,_="",ft=void 0}b!==0&&(w=2,p.readyState=2,p.status=b,p.statusText=_,p._contentType=ft,p.onreadystatechange())}},j=function(){if(A(),w===2||w===3){w=3;var b="";try{b=r.responseText}catch{}p.readyState=3,p.responseText=b,p.onprogress()}},C=function(b,_){if((_==null||_.preventDefault==null)&&(_={preventDefault:X}),j(),w===1||w===2||w===3){if(w=4,g!==0&&(y(g),g=0),p.readyState=4,b==="load")p.onload(_);
1else if(b==="error")p.onerror(_);else if(b==="abort")p.onabort(_);else throw new TypeError;p.onreadystatechange()}},E=function(b){r!=null&&(r.readyState===4?(!("onload"in r)||!("onerror"in r)||!("onabort"in r))&&C(r.responseText===""?"error":"load",b):r.readyState===3?"onprogress"in r||j():r.readyState===2&&A())},O=function(){g=m(function(){O()},500),r.readyState===3&&j()};"onload"in r&&(r.onload=function(b){C("load",b)}),"onerror"in r&&(r.onerror=function(b){C("error",b)}),"onabort"in r&&(r.onabort=function(b){C("abort",b)}),"onprogress"in r&&(r.onprogress=j),"onreadystatechange"in r&&(r.onreadystatechange=function(b){E(b)}),("contentType"in r||!("ontimeout"in c.prototype))&&(a+=(a.indexOf("?")===-1?"?":"&")+"padding=true"),r.open(o,a,!0),"readyState"in r&&(g=m(function(){O()},0))},Z.prototype.abort=function(){this._abort(!1)},Z.prototype.getResponseHeader=function(o){return this._contentType},Z.prototype.setRequestHeader=function(o,a){var p=this._xhr;"setRequestHeader"in p&&p.setRequestHeader(o,a)},Z.prototype.getAllResponseHeaders=function(){return this._xhr.getAllResponseHeaders!=null&&this._xhr.getAllResponseHeaders()||""},Z.prototype.send=function(){if((!("ontimeout"in c.prototype)||!("sendAsBinary"in c.prototype)&&!("mozAnon"in c.prototype))&&x!=null&&x.readyState!=null&&x.readyState!=="complete"){var o=this;o._sendTimeout=m(function(){o._sendTimeout=0,o.send()},4);return}var a=this._xhr;"withCredentials"in a&&(a.withCredentials=this.withCredentials);try{a.send(void 0)}catch(p){throw p}};function mt(o){return o.replace(/[A-Z]/g,function(a){return String.fromCharCode(a.charCodeAt(0)+32)})}function et(o){for(var a=Object.create(null),p=o.split(`\r
2`),r=0;r<p.length;r+=1){var w=p[r],g=w.split(": "),A=g.shift(),j=g.join(": ");a[mt(A)]=j}this._map=a}et.prototype.get=function(o){return this._map[mt(o)]},c!=null&&c.HEADERS_RECEIVED==null&&(c.HEADERS_RECEIVED=2);function lt(){}lt.prototype.open=function(o,a,p,r,w,g,A){o.open("GET",w);var j=0;o.onprogress=function(){var E=o.responseText,O=E.slice(j);j+=O.length,p(O)},o.onerror=function(E){E.preventDefault(),r(new Error("NetworkError"))},o.onload=function(){r(null)},o.onabort=function(){r(null)},o.onreadystatechange=function(){if(o.readyState===c.HEADERS_RECEIVED){var E=o.status,O=o.statusText,b=o.getResponseHeader("Content-Type"),_=o.getAllResponseHeaders();a(E,O,b,new et(_))}},o.withCredentials=g;for(var C in A)Object.prototype.hasOwnProperty.call(A,C)&&o.setRequestHeader(C,A[C]);return o.send(),o};function yt(o){this._headers=o}yt.prototype.get=function(o){return this._headers.get(o)};function nt(){}nt.prototype.open=function(o,a,p,r,w,g,A){var j=null,C=new K,E=C.signal,O=new S;return W(w,{headers:A,credentials:g?"include":"same-origin",signal:E,cache:"no-store"}).then(function(b){return j=b.body.getReader(),a(b.status,b.statusText,b.headers.get("Content-Type"),new yt(b.headers)),new D(function(_,ft){var Dt=function(){j.read().then(function(n){if(n.done)_(void 0);else{var h=O.decode(n.value,{stream:!0});p(h),Dt()}}).catch(function(n){ft(n)})};Dt()})}).catch(function(b){if(b.name!=="AbortError")return b}).then(function(b){r(b)}),{abort:function(){j?.cancel(),C.abort()}}};function k(){this._listeners=Object.create(null)}function q(o){m(function(){throw o},0)}k.prototype.dispatchEvent=function(o){o.target=this;var a=this._listeners[o.type];if(a!=null)for(var p=a.length,r=0;r<p;r+=1){var w=a[r];try{typeof w.handleEvent=="function"?w.handleEvent(o):w.call(this,o)}catch(g){q(g)}}},k.prototype.addEventListener=function(o,a){o=String(o);var p=this._listeners,r=p[o];r==null&&(r=[],p[o]=r);for(var w=!1,g=0;g<r.length;g+=1)r[g]===a&&(w=!0);w||r.push(a)},k.prototype.removeEventListener=function(o,a){o=String(o);var p=this._listeners,r=p[o];if(r!=null){for(var w=[],g=0;g<r.length;g+=1)r[g]!==a&&w.push(r[g]);w.length===0?delete p[o]:p[o]=w}};function M(o){this.type=o,this.target=void 0}function L(o,a){M.call(this,o),this.data=a.data,this.lastEventId=a.lastEventId}L.prototype=Object.create(M.prototype);function P(o,a){M.call(this,o),this.status=a.status,this.statusText=a.statusText,this.headers=a.headers}P.prototype=Object.create(M.prototype);function I(o,a){M.call(this,o),this.error=a.error}I.prototype=Object.create(M.prototype);var Tt=-1,Bt=0,at=1,ct=2,ut=-1,ot=0,Mt=1,i=2,Lt=3,Xt=/^text\/event\-stream(;.*)?$/i,Ct=1e3,jt=18e6,_t=function(o,a){var p=o==null?a:parseInt(o,10);return p!==p&&(p=a),Vt(p)},Vt=function(o){return Math.min(Math.max(o,Ct),jt)},Rt=function(o,a,p){try{typeof a=="function"&&a.call(o,p)}catch(r){q(r)}};function Q(o,a){k.call(this),a=a||{},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,Ht(this,o,a)}function Kt(){return c!=null&&"withCredentials"in c.prototype||l==null?new c:new l}var Ft=W!=null&&z!=null&&"body"in z.prototype;function Ht(o,a,p){a=String(a);var r=!!p.withCredentials,w=p.lastEventIdQueryParameterName||"lastEventId",g=Vt(1e3),A=_t(p.heartbeatTimeout,45e3),j="",C=g,E=!1,O=0,b=p.headers||{},_=p.Transport,ft=Ft&&_==null?void 0:new Z(_!=null?new _:Kt()),Dt=_!=null&&typeof _!="string"?new _:ft==null?new nt:new lt,n=void 0,h=0,u=Tt,T="",N="",d="",F="",V=ot,kt=0,it=0,qt=function(J,G,rt,st){if(u===Bt)if(J===200&&rt!=null&&Xt.test(rt)){u=at,E=Date.now(),C=g,o.readyState=at;var tt=new P("open",{status:J,statusText:G,headers:st});o.dispatchEvent(tt),Rt(o,o.onopen,tt)}else{var Y="";J!==200?(G&&(G=G.replace(/\s+/g," ")),Y="EventSource's response has a status "+J+" "+G+" that is not 200. Aborting the connection."):Y="EventSource's response has a Content-Type specifying an unsupported type: "+(rt==null?"-":rt.replace(/\s+/g," "))+". Aborting the connection.",Nt();var tt=new P("error",{status:J,statusText:G,headers:st});o.dispatchEvent(tt),Rt(o,o.onerror,tt),console.error(Y)}},Ot=function(J){if(u===at){for(var G=-1,rt=0;rt<J.length;rt+=1){var st=J.charCodeAt(rt);(st===10||st===13)&&(G=rt)}var tt=(G!==-1?F:"")+J.slice(0,G+1);F=(G===-1?F:"")+J.slice(G+1),J!==""&&(E=Date.now(),O+=J.length);for(var Y=0;Y<tt.length;Y+=1){var st=tt.charCodeAt(Y);if(V===ut&&st===10)V=ot;else if(V===ut&&(V=ot),st===13||st===10){if(V!==ot){V===Mt&&(it=Y+1);var St=tt.slice(kt,it-1),At=tt.slice(it+(it<Y&&tt.charCodeAt(it)===32?1:0),Y);St==="data"?(T+=`
3`,T+=At):St==="id"?N=At:St==="event"?d=At:St==="retry"?(g=_t(At,g),C=g):St==="heartbeatTimeout"&&(A=_t(At,A),h!==0&&(y(h
3),h=m(function(){gt()},A)))}if(V===ot){if(T!==""){j=N,d===""&&(d="message");var It=new L(d,{data:T.slice(1),lastEventId:N});if(o.dispatchEvent(It),d==="open"?Rt(o,o.onopen,It):d==="message"?Rt(o,o.onmessage,It):d==="error"&&Rt(o,o.onerror,It),u===ct)return}T="",d=""}V=st===13?ut:ot}else V===ot&&(kt=Y,V=Mt),V===Mt?st===58&&(it=Y+1,V=i):V===i&&(V=Lt)}}},Pt=function(J){if(u===at||u===Bt){u=Tt,h!==0&&(y(h),h=0),h=m(function(){gt()},C),C=Vt(Math.min(g*16,C*2)),o.readyState=Bt;var G=new I("error",{error:J});o.dispatchEvent(G),Rt(o,o.onerror,G),J!=null&&console.error(J)}},Nt=function(){u=ct,n!=null&&(n.abort(),n=void 0),h!==0&&(y(h),h=0),o.readyState=ct},gt=function(){if(h=0,u!==Tt){if(!E&&n!=null)Pt(new Error("No activity within "+A+" milliseconds. "+(u===Bt?"No response received.":O+" chars received.")+" Reconnecting.")),n!=null&&(n.abort(),n=void 0);else{var J=Math.max((E||Date.now())+A-Date.now(),1);E=!1,h=m(function(){gt()},J)}return}E=!1,O=0,h=m(function(){gt()},A),u=Bt,T="",d="",N=j,F="",kt=0,it=0,V=ot;var G=a;if(a.slice(0,5)!=="data:"&&a.slice(0,5)!=="blob:"&&j!==""){var rt=a.indexOf("?");G=rt===-1?a:a.slice(0,rt+1)+a.slice(rt+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(At,It){return It===w?"":At}),G+=(a.indexOf("?")===-1?"?":"&")+w+"="+encodeURIComponent(j)}var st=o.withCredentials,tt={};tt.Accept="text/event-stream";var Y=o.headers;if(Y!=null)for(var St in Y)Object.prototype.hasOwnProperty.call(Y,St)&&(tt[St]=Y[St]);try{n=Dt.open(ft,qt,Ot,Pt,G,st,tt)}catch(At){throw Nt(),At}};o.url=a,o.readyState=Bt,o.withCredentials=r,o.headers=b,o._close=Nt,gt()}Q.prototype=Object.create(k.prototype),Q.prototype.CONNECTING=Bt,Q.prototype.OPEN=at,Q.prototype.CLOSED=ct,Q.prototype.close=function(){this._close()},Q.CONNECTING=Bt,Q.OPEN=at,Q.CLOSED=ct,Q.prototype.withCredentials=void 0;var zt=f;c!=null&&(f==null||!("withCredentials"in f.prototype))&&(zt=Q),(function(o){{var a=o(t);a!==void 0&&(s.exports=a)}})(function(o){o.EventSourcePolyfill=Q,o.NativeEventSource=f,o.EventSource=zt})})(typeof globalThis>"u"?typeof window<"u"?window:typeof self<"u"?self:de:globalThis)})(Yt,Yt.exports);var ke=Yt.exports;function Ee(s){ae(s,"svelte-15fwckg",'*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}@keyframes growWidthPercent{from{height:0}to{height:100%}}.ShowBalance{position:relative}.ShowBalance .Loading{font-size:14px;white-space:nowrap;padding-right:10px}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;background:transparent;border:none;font:inherit;color:inherit;display:flex;flex-wrap:nowrap;white-space:nowrap}.ShowBalance .BalanceValue svg{width:16px;fill:black}.ShowBalance .BalanceValue span{padding-left:5px}.ShowBalance .BalanceValue .TriangleActive,.ShowBalance .BalanceValue .TriangleInactive{display:block;margin:0 3px;transition:all 0.2s}.ShowBalance .BalanceValue .TriangleActive:hover,.ShowBalance .BalanceValue .TriangleInactive:hover{transform:scale(1.2)}.ShowBalance .BalanceValue .TriangleActive svg,.ShowBalance .BalanceValue .TriangleInactive svg{margin:2px 0px}.ShowBalance .BalanceValue .TriangleActive{transform:scale(1.1) rotateX(180deg) translateY(3px)}.ShowBalance .BalanceValue .TriangleActive:hover{transform:scale(1.1) rotateX(180deg) translateY(3px)}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);position:absolute;top:40px;padding:10px;transform:translateX(-45%);box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919;transition:all 0.2s ease-in;opacity:0}
3.BalanceModalWrapper:before{content:"";background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:50%;width:25px;height:10px;z-index:1}.BalanceModalWrapper.Open{opacity:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer;transition:all 0.3s ease;background:transparent;border:none;font:inherit;opacity:0}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));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, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModalClose:hover{transform:scale(1.1)}.BalanceModalClose.Open{opacity:1}.BalanceModal{transition:all 0.2s ease-in;width:270px}.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, white))}.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, white));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px;gap:5px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--color-primary);font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:30px;border:none;padding:10px 0;cursor:pointer;transition:all 0.2s ease-in;box-shadow:0px 3px 7px 0px rgba(0, 0, 0, 0.2)}.BalanceModalFooter .BalanceModalAction:hover{background:rgba(255, 255, 255, 0.1);color:var(--emw--color-primary);box-shadow:0px 0px 0px 2px inset var(--emw--color-primary);font-size:14px}.BalanceModalFooter .BalanceModalAction:active{background:rgba(255, 255, 255, 0.5)}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16;opacity:0;transition:all 0.2s linear}.ShowBalanceModalOverlay.Open{opacity:1}')}function be(s,t,e){let m=s.slice();return m[64]=t[e],m}function xe(s,t,e){let m=s.slice();return m[67]=t[e],m}function Me(s){let t,e,m,y,c,l,B,f,x,D,W,z,S=s[6]&&Te(s);return{c(){t=H("button"),e=H("p"),m=vt(s[8]),y=ht(),c=H("span"),l=Jt("svg"),B=Jt("path"),x=ht(),S&&S.c(),D=ie(),$(B,"id","arrow"),$(B,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),$(B,"transform","translate(-274.511 -441.088)"),$(B,"fill","#d1d1d1"),$(l,"xmlns","http://www.w3.org/2000/svg"),$(l,"width","14"),$(l,"height","6.835"),$(l,"viewBox","0 0 14 6.835"),$(c,"class",f=s[5]?"TriangleActive":"TriangleInactive"),$(t,"class","BalanceValue")},m(v,K){dt(v,t,K),R(t,e),R(e,m),R(t,y),R(t,c),R(c,l),R(l,B),dt(v,x,K),S&&S.m(v,K),dt(v,D,K),W||(z=Et(t,"click",s[34]),W=!0)},p(v,K){K[0]&256&&wt(m,v[8]),K[0]&32&&f!==(f=v[5]?"TriangleActive":"TriangleInactive")&&$(c,"class",f),v[6]?S?S.p(v,K):(S=Te(v),S.c(),S.m(D.parentNode,D)):S&&(S.d(1),S=null)},d(v){v&&(pt(t),pt(x),pt(D)),S&&S.d(v),W=!1,z()}}}function De(s){let t,e=s[9]("Loading")+"",m;return{c(){t=H("p"),m=vt(e),$(t,"class","Loading")},m(y,c){dt(y,t,c),R(t,m)},p(y,c){c[0]&512&&e!==(e=y[9]("Loading")+"")&&wt(m,e)},d(y){y&&pt(t)}}}function Te(s){let t,e,m,y,c,l,B,f,x=s[9]("Title")+"",D,W,z,S,v,K,bt=s[9]("DepositButton")+"",xt,$t,X,Z,mt,et,lt,yt,nt=Ut(Object.keys(s[3])),k=[];for(let L=0;L<nt.length;L+=1)k[L]=Ae(be(s,nt,L));let q=s[0]==="true"&&$e(s),M=s[1]==="true"&&Ce(s);return{c(){t=H("div"),e=H("button"),y=ht(),c=H("div"),l=H("div"),B=H("div"),f=H("p"),D=vt(x),W=ht(),z=H("div");for(let L=0;L<k.length;L+=1)k[L].c();S=ht(),v=H("div"),K=H("button"),xt=vt(bt),$t=ht(),q&&q.c(),X=ht(),M&&M.c(),$(e,"class",m="BalanceModalClose "+(s[5]?"Open":"")),$(f,"class","BalanceModalTitle"),$(B,"class","BalanceModalHeader"),$(z,"class","BalanceModalBody"),$(K,"class","BalanceModalAction DepositButton"),$(v,"class","BalanceModalFooter"),$(l,"class",Z="ModalContent "+(s[5]?"Open":"")),$(c,"class",mt="BalanceModal "+(s[5]?"Open":"")),$(t,"class",et="BalanceModalWrapper "+(s[5]?"Open":""))},m(L,P){dt(L,t,P),R(t,e),R(t,y),R(t,c),R(c,l),R(l,B),R(B,f),R(f,D),R(l,W),R(l,z);for(let I=0;I<k.length;I+=1)k[I]&&k[I].m(z,null);R(l,S),R(l,v),R(v,K),R(K,xt),R(v,$t),q&&q.m(v,null),R(v,X),M&&M.m(v,null),lt||(yt=[Et(e,"click",s[35]),Et
3(K,"click",s[36])],lt=!0)},p(L,P){if(P[0]&32&&m!==(m="BalanceModalClose "+(L[5]?"Open":""))&&$(e,"class",m),P[0]&512&&x!==(x=L[9]("Title")+"")&&wt(D,x),P[0]&10760){nt=Ut(Object.keys(L[3]));let I;for(I=0;I<nt.length;I+=1){let Tt=be(L,nt,I);k[I]?k[I].p(Tt,P):(k[I]=Ae(Tt),k[I].c(),k[I].m(z,null))}for(;I<k.length;I+=1)k[I].d(1);k.length=nt.length}P[0]&512&&bt!==(bt=L[9]("DepositButton")+"")&&wt(xt,bt),L[0]==="true"?q?q.p(L,P):(q=$e(L),q.c(),q.m(v,X)):q&&(q.d(1),q=null),L[1]==="true"?M?M.p(L,P):(M=Ce(L),M.c(),M.m(v,null)):M&&(M.d(1),M=null),P[0]&32&&Z!==(Z="ModalContent "+(L[5]?"Open":""))&&$(l,"class",Z),P[0]&32&&mt!==(mt="BalanceModal "+(L[5]?"Open":""))&&$(c,"class",mt),P[0]&32&&et!==(et="BalanceModalWrapper "+(L[5]?"Open":""))&&$(t,"class",et)},d(L){L&&pt(t),Gt(k,L),q&&q.d(),M&&M.d(),lt=!1,ee(yt)}}}function Se(s){let t,e,m=s[9](s[64])+"",y,c,l=s[13](s[67])+"",B,f,x,D,W=s[11](s[67].amount)+"",z;return{c(){t=H("div"),e=H("p"),y=vt(m),c=ht(),B=vt(l),f=ht(),x=H("p"),D=H("span"),z=vt(W),$(e,"class","BalanceModalText"),$(D,"class","BalanceModalAmount"),$(x,"class","BalanceModalValue"),$(t,"class","BalanceModalRowLine")},m(S,v){dt(S,t,v),R(t,e),R(e,y),R(e,c),R(e,B),R(t,f),R(t,x),R(x,D),R(D,z)},p(S,v){v[0]&520&&m!==(m=S[9](S[64])+"")&&wt(y,m),v[0]&8&&l!==(l=S[13](S[67])+"")&&wt(B,l),v[0]&8&&W!==(W=S[11](S[67].amount)+"")&&wt(z,W)},d(S){S&&pt(t)}}}function Ae(s){let t,e,m,y=Ut(s[3][s[64]]),c=[];for(let l=0;l<y.length;l+=1)c[l]=Se(xe(s,y,l));return{c(){t=H("div");for(let l=0;l<c.length;l+=1)c[l].c();e=ht(),$(t,"class",m="BalanceModalRowBoth "+s[64])},m(l,B){dt(l,t,B);for(let f=0;f<c.length;f+=1)c[f]&&c[f].m(t,null);R(t,e)},p(l,B){if(B[0]&10760){y=Ut(l[3][l[64]]);let f;for(f=0;f<y.length;f+=1){let x=xe(l,y,f);c[f]?c[f].p(x,B):(c[f]=Se(x),c[f].c(),c[f].m(t,e))}for(;f<c.length;f+=1)c[f].d(1);c.length=y.length}B[0]&8&&m!==(m="BalanceModalRowBoth "+l[64])&&$(t,"class",m)},d(l){l&&pt(t),Gt(c,l)}}}function $e(s){let t,e=s[9]("LimitsButton")+"",m,y,c;return{c(){t=H("button"),m=vt(e),$(t,"class","BalanceModalAction LimitsButton")},m(l,B){dt(l,t,B),R(t,m),y||(c=Et(t,"click",s[37]),y=!0)},p(l,B){B[0]&512&&e!==(e=l[9]("LimitsButton")+"")&&wt(m,e)},d(l){l&&pt(t),y=!1,c()}}}function Ce(s){let t,e=s[9]("ActiveBonusesButton")+"",m,y,c;return{c(){t=H("button"),m=vt(e),$(t,"class","BalanceModalAction ActiveBonusesButton")},m(l,B){dt(l,t,B),R(t,m),y||(c=Et(t,"click",s[38]),y=!0)},p(l,B){B[0]&512&&e!==(e=l[9]("ActiveBonusesButton")+"")&&wt(m,e)},d(l){l&&pt(t),y=!1,c()}}}function Re(s){let t,e,m;return{c(){t=H("button"),$(t,"class","ShowBalanceModalOverlay")},m(y,c){dt(y,t,c),e||(m=Et(t,"click",s[39]),e=!0)},p:Wt,d(y){y&&pt(t),e=!1,m()}}}function Oe(s){let t,e,m,y;function c(x,D){return x[4]?De:Me}let l=c(s),B=l(s),f=s[6]&&Re(s);return{c(){t=H("div"),e=H("div"),B.c(),y=ht(),f&&f.c(),$(e,"class",m="ShowBalance "+(s[7]?"Mobile":""))},m(x,D){dt(x,t,D),R(t,e),B.m(e,null),R(t,y),f&&f.m(t,null),s[40](t)},p(x,D){l===(l=c(x))&&B?B.p(x,D):(B.d(1),B=l(x),B&&(B.c(),B.m(e,null))),D[0]&128&&m!==(m="ShowBalance "+(x[7]?"Mobile":""))&&$(e,"class",m),x[6]?f?f.p(x,D):(f=Re(x),f.c(),f.m(t,null)):f&&(f.d(1),f=null)},i:Wt,o:Wt,d(x){x&&pt(t),B.d(),f&&f.d(),s[40](null)}}}function Ne(s,t,e){let m;ne(s,me,n=>e(9,m=n));let{userid:y=""}=t,{session:c=""}=t,{endpoint:l=""}=t,{lang:B="en"}=t,{mbsource:f=""}=t,{clientstyling:x=""}=t,{clientstylingurl:D=""}=t,{translationurl:W=""}=t,{gmversion:z="gm16"}=t,{displaybalanceoption:S="All"}=t,{totalcalculationmode:v="totalCashAmount"}=t,{primarybalancemode:K}=t,{balancelimitsbutton:bt="false"}=t,{activebonusesbutton:xt="false"}=t,{hideproducttype:$t=""}=t,{shownegativebalance:X="false"}=t,{currencylocale:Z="en"}=t,{currencydisplay:mt="symbol"}=t,{maximumfractiondigits:et="2"}=t,{minimumfractiondigits:lt="0"}=t,{customdisplayformat:yt=""}=t,{alwaysshowdecimals:nt="true"}=t,k,q,M=!0,L=!1,P=!1,I=!1,Tt=!1,Bt=window.navigator.userAgent,at,ct="",ut=[],ot,Mt="0",i={},Lt=["totalCashAmount","totalRealAmount"],Xt=()=>{fetch(W).then(n=>n.json()).then(n=>Object.keys(n).forEach(h=>ve(h,n[h]))).catch(n=>console.log(n))};Object.keys(we).forEach(n=>ve(n,we[n]));let Ct=n=>{switch(n){case"balance":window.postMessage({type:"BalanceModalStatus",status:"open"},window.location.href),e(6,I=!0),setTimeout(()=>e(5,L=!0),150);break;case"closebalance":e(5,L=!1),window.postMessage({type:"BalanceModalStatus",status:"close"},window.location.href),setTimeout(()=>{e(6,I=!1)},150);break}},jt=n=>{if(yt)return _t(n);let h=Z||B,u={style:"currency",currency:ct,useGrouping:!0,currencyDisplay:mt||"code",maximumFractionDigits:et===""||isNaN(Number(et))?2:Number(et),minimumFractionDigits:lt===""||isNaN(Number(lt))?0:Number(lt)};return new Intl.NumberFormat(h,u).format(n)},_t=n=>{let h=[],u="";for(let T of yt)switch(T){default:u+=T;break;case"{":u&&h.push(u),u="";break;case"}":let[N,d]=u.split("|");if(u="",N.toLowerCase()==="currency")u=ct;else if(N.toLowerCase()==="amount"){let F=",",V=".",kt=2;d&&(d[0]!==" "&&(F=d[0]),d[1]!==" "&&(V=d[1]),d[2]!==" "&&!isNaN(Number(d[2]))&&(kt=Number(d[2])));let[it,qt]=String(Math.floor(n*10**kt)/10**kt).split(".");u+=it[0];for(let gt=1;gt<it.length;++gt)(it.length-gt)%3===0?u+=F+it[gt]:u+=it[gt];let Ot=qt||"",Pt=nt==="true",Nt=Number(et);if(Pt)Ot=Ot.padEnd(Nt||2,"0").substring(0,Nt);else if(!Ot)break;u+=V+Ot}u&&h.push(u),u="";break}return h.push(u),h.join("")},Vt=async()=>{e(4,M=!0);let n=new URL(`${l}/v1/player/${y}/account`);try{let h=await fetch(n,{method:"GET",headers:{"X-SessionID":c}}),u=await h.json();if(h.ok)window.postMessage({type:"BalancedFetched"},window.location.href),ut=u.items,ct=ut.find(T=>
3T.displayName==="Casino")?.currency,e(3,i.Total=[{amount:u.totalAmount[ct]}],i),e(3,i.Real=[{amount:ut.find(T=>T.displayName==="Casino")?.balanceAmount}],i),e(3,i.Bonus=[{amount:ut.find(T=>T.displayName==="UBS")?.balanceAmount}],i);else throw new Error("Failed to fetch balance data !")}catch(h){console.log("Balance error: ",h)}finally{e(4,M=!1)}},Rt=()=>{e(4,M=!0);let n=new URL(`${l}/v2/player/${y}/balance`),h=new Headers;h.append("X-SessionID",c),fetch(n,{method:"GET",headers:h}).then(u=>u.json()).then(u=>{u[v]||e(14,v=Lt[0]);let T=u.items.find(d=>d.type==="Real"&&d.walletAccountType==="Ordinary");if(ct=T.currency,P=!!T.productType,e(3,i.Total=[{amount:0}],i),e(3,i.Real=[],i),e(3,i.Bonus=[],i),e(3,i.Credit=[],i),!P){ot={lastOrdinaryAfterAmount:0,showCreditLineAfterAmount:!1},e(3,i.Total[0].amount=u[v][ct],i);for(let d of u.items)switch(d.type){case"Bonus":i.Bonus.length===0?i.Bonus.push({amount:d.amount}):e(3,i.Bonus[0].amount+=d.amount,i);break;case"Real":if(d.creditLine&&i.Credit.length===0&&i.Credit.push({amount:d.creditLine}),v==="totalRealAmount")continue;i.Real.length===0?i.Real.push({amount:d.amount}):e(3,i.Real[0].amount+=d.amount,i);break;case"RealNegativeRemainder":if(d.type==="RealNegativeRemainder"&&X!=="true"||(d.creditLine&&i.Credit.length===0&&i.Credit.push({amount:d.creditLine}),v==="totalRealAmount"))continue;i.Real.length===0?i.Real.push({amount:d.amount}):e(3,i.Real[0].amount+=d.amount,i);break}for(let[d,F]of Object.entries(i))F.length<1&&delete i[d];e(4,M=!1);return}ot={Casino:{lastOrdinaryAfterAmount:0,showCreditLineAfterAmount:!1},Sports:{lastOrdinaryAfterAmount:0,showCreditLineAfterAmount:!1}};let N=u.items;S&&S!=="All"&&(N=u.items.filter(d=>d.productType===S));for(let d of N){let F;switch(d.type){case"Bonus":F=i.Bonus.findIndex(V=>V.productType===d.productType),F>0?e(3,i.Bonus[F].amount+=d.amount,i):i.Bonus.push({amount:d.amount,productType:d.productType});break;case"Real":d.creditLine&&i.Credit.push({amount:d.creditLine,productType:d.productType}),F=i.Real.findIndex(V=>V.productType===d.productType),F>0?e(3,i.Real[F].amount+=d.amount,i):i.Real.push({amount:d.amount,productType:d.productType});break;case"RealNegativeRemainder":if(d.type==="RealNegativeRemainder"&&X!=="true")continue;d.creditLine&&i.Credit.push({amount:d.creditLine,productType:d.productType}),F=i.Real.findIndex(V=>V.productType===d.productType),F>=0?e(3,i.Real[F].amount+=d.amount,i):i.Real.push({amount:d.amount,productType:d.productType});break}}zt();for(let[d,F]of Object.entries(i))F.length<1&&delete i[d];window.postMessage({type:"playerBalanceInfo",balance:u},window.location.href),e(4,M=!1)}).catch(u=>{throw e(4,M=!1),console.log("Balance fetch error",u),new Error("Failed to fetch balance data!")})},Q=()=>{if(at&&at.close(),c.length<1)return;let n,h;switch(z){case"gm16":n=new URL(`${l}/v2/player/${y}/information/updates`),h=N=>o(N);break;case"gmcore":n=new URL(`${l}/v1/player/${y}/balance/updates`),h=N=>Ft(N);break}let u={accept:"text/event-stream","X-SessionId":c},T=new ke.EventSourcePolyfill(n,{headers:u});at=T,T.addEventListener("message",h)},Kt=n=>{let h;try{h=JSON.parse(n)}catch(u){console.log("Balance stream failed: ",u);return}return h},Ft=n=>{let h=Kt(n.data);if(!h){Q();return}let u="0",T=h.balanceChange;ut=ut.map(N=>(T&&T[N.id]&&(N=te(Qt({},N),{balanceAmount:T[N.id].afterAmount})),u=(parseFloat(N?.balanceAmount)+parseFloat(u)).toString(),N)),e(3,i.Real=[{amount:ut[0]?.balanceAmount}],i),e(3,i.Bonus=[{amount:ut[1]?.balanceAmount}],i),e(3,i.Total=[{amount:Number(u)}],i)},Ht=(n,h,u)=>{let T=null;switch(u.walletAccountType){case"Ordinary":(u.afterAmount!==u.affectedAmount||h.lastOrdinaryAfterAmount===0)&&(h.lastOrdinaryAfterAmount=u.afterAmount,h.showCreditLineAfterAmount||(T=u.afterAmount));break;case"CreditLine":u.afterAmount!==0?(T=u.afterAmount,h.showCreditLineAfterAmount=!0):(T=h.lastOrdinaryAfterAmount,h.showCreditLineAfterAmount=!1);break;default:T=u.afterAmount}return T===null?n:T},zt=()=>{switch(v){case"totalCashAmount":let n=0;for(let u of["Real","Bonus"])for(let T of i[u])X==="true"?n+=T.amount:n+=Math.max(T.amount,0);e(3,i.Total[0].amount=n,i);break;case"totalRealAmount":if(!P)return;let h=0;for(let u of i.Real)h+=u.amount;e(3,i.Total[0].amount=h,i)}},o=n=>{let h=Kt(n.data);if(!h){Q();return}if(p(h?.type)||h.type!=="BALANCE_UPDATE_V2")return;let u=h.body.balanceChange;
3for(let[T,N]of Object.entries(u))if(v==="totalRealAmount"&&T==="Real"&&!P&&e(3,i.Total[0].amount=Ht(i.Total[0].amount,ot,N),i),!!i[T])for(let d of i[T]){if(!P){d.amount=T==="Real"?Ht(d.amount,ot,N):N.afterAmount;continue}N.productType===d.productType&&(d.amount=T==="Real"?Ht(d.amount,ot[d.productType],N):N.afterAmount)}zt()},a=n=>{switch(Ct("closebalance"),n){case"deposit":window.postMessage({type:"GoToDeposit"},window.location.href);break;case"limits":window.postMessage({type:"GoToLimits"},window.location.href);break;case"activebonuses":window.postMessage({type:"GoToActiveBonuses"},window.location.href);break}typeof gtag=="function"&&gtag("event","GoToDeposit",{context:"PlayerAccountBalanceModal"})},p=n=>n==="SESSION_EXPIRATION"?(window.postMessage({type:"SessionExpiration"},window.location.href),!0):!1,r=()=>{Lt.includes(v)||(console.error(`Unsupported value ('${v}') for totalcalculationmode parameter. Only the following values are supported ${Lt}. Using default value ('${Lt[0]}').`),e(14,v=Lt[0]))},w=()=>{switch(Le(B),r(),z){case"gmcore":Vt();break;case"gm16":Rt();break;default:throw Error(`Invalid apiversion attribute: ${z}`)}},g=n=>{let{data:{type:h}={}}=n||{};switch(h){case"LogoutSuccessfull":at.close();break;case"CloseBalance":Ct("closebalance");break}},A=()=>{window.postMessage({type:"UpdateBalanceBackground"},window.location.href)},j=n=>{let h=$t.split(",").map(u=>u.trim());return!n.productType||h.includes(n.productType)?"":m(n.productType)};re(()=>(window.addEventListener("message",g,!1),e(7,Tt=fe(Bt)),()=>{window.removeEventListener("message",g),at&&at.close()}));let C=()=>Ct("balance"),E=()=>Ct("closebalance"),O=()=>a("deposit"),b=()=>a("limits"),_=()=>a("activebonuses"),ft=()=>Ct("closebalance");function Dt(n){se[n?"unshift":"push"](()=>{k=n,e(2,k)})}return s.$$set=n=>{"userid"in n&&e(15,y=n.userid),"session"in n&&e(16,c=n.session),"endpoint"in n&&e(17,l=n.endpoint),"lang"in n&&e(18,B=n.lang),"mbsource"in n&&e(19,f=n.mbsource),"clientstyling"in n&&e(20,x=n.clientstyling),"clientstylingurl"in n&&e(21,D=n.clientstylingurl),"translationurl"in n&&e(22,W=n.translationurl),"gmversion"in n&&e(23,z=n.gmversion),"displaybalanceoption"in n&&e(24,S=n.displaybalanceoption),"totalcalculationmode"in n&&e(14,v=n.totalcalculationmode),"primarybalancemode"in n&&e(25,K=n.primarybalancemode),"balancelimitsbutton"in n&&e(0,bt=n.balancelimitsbutton),"activebonusesbutton"in n&&e(1,xt=n.activebonusesbutton),"hideproducttype"in n&&e(26,$t=n.hideproducttype),"shownegativebalance"in n&&e(27,X=n.shownegativebalance),"currencylocale"in n&&e(28,Z=n.currencylocale),"currencydisplay"in n&&e(29,mt=n.currencydisplay),"maximumfractiondigits"in n&&e(30,et=n.maximumfractiondigits),"minimumfractiondigits"in n&&e(31,lt=n.minimumfractiondigits),"customdisplayformat"in n&&e(32,yt=n.customdisplayformat),"alwaysshowdecimals"in n&&e(33,nt=n.alwaysshowdecimals)},s.$$.update=()=>{s.$$.dirty[0]&25657344&&l&&y&&c&&B&&z&&S&&w(),s.$$.dirty[0]&8617984&&l&&y&&c&&z&&Q(),s.$$.dirty[0]&4194304&&W&&Xt(),s.$$.dirty[0]&8&&i.Total&&A(),s.$$.dirty[0]&1048580&&x&&k&&ge(k,x),s.$$.dirty[0]&2097156&&D&&k&&ye(k,D),s.$$.dirty[0]&524292&&f&&k&&Be(k,`${f}.Style`,q),s.$$.dirty[0]&33554440&&e(8,Mt=K==="Real"?i.Real?jt(i.Real[0].amount):"0":i.Total?jt(i.Total[0].amount):"0")},[bt,xt,k,i,M,L,I,Tt,Mt,m,Ct,jt,a,j,v,y,c,l,B,f,x,D,W,z,S,K,$t,X,Z,mt,et,lt,yt,nt,C,E,O,b,_,ft,Dt]}var Zt=class extends ue{constructor(t){super(),le(this,t,Ne,Oe,oe,{userid:15,session:16,endpoint:17,lang:18,mbsource:19,clientstyling:20,clientstylingurl:21,translationurl:22,gmversion:23,displaybalanceoption:24,totalcalculationmode:14,primarybalancemode:25,balancelimitsbutton:0,activebonusesbutton:1,hideproducttype:26,shownegativebalance:27,currencylocale:28,currencydisplay:29,maximumfractiondigits:30,minimumfractiondigits:31,customdisplayformat:32,alwaysshowdecimals:33},Ee,[-1,-1,-1])}get userid(){return this.$$.ctx[15]}set userid(t){this.$$set({userid:t}),U()}get session(){return this.$$.ctx[16]}set session(t){this.$$set({session:t}),U()}get endpoint(){return this.$$.ctx[17]}set endpoint(t){this.$$set({endpoint:t}),U()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),U()}get mbsource(){return this.$$.ctx[19]}
3set mbsource(t){this.$$set({mbsource:t}),U()}get clientstyling(){return this.$$.ctx[20]}set clientstyling(t){this.$$set({clientstyling:t}),U()}get clientstylingurl(){return this.$$.ctx[21]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),U()}get translationurl(){return this.$$.ctx[22]}set translationurl(t){this.$$set({translationurl:t}),U()}get gmversion(){return this.$$.ctx[23]}set gmversion(t){this.$$set({gmversion:t}),U()}get displaybalanceoption(){return this.$$.ctx[24]}set displaybalanceoption(t){this.$$set({displaybalanceoption:t}),U()}get totalcalculationmode(){return this.$$.ctx[14]}set totalcalculationmode(t){this.$$set({totalcalculationmode:t}),U()}get primarybalancemode(){return this.$$.ctx[25]}set primarybalancemode(t){this.$$set({primarybalancemode:t}),U()}get balancelimitsbutton(){return this.$$.ctx[0]}set balancelimitsbutton(t){this.$$set({balancelimitsbutton:t}),U()}get activebonusesbutton(){return this.$$.ctx[1]}set activebonusesbutton(t){this.$$set({activebonusesbutton:t}),U()}get hideproducttype(){return this.$$.ctx[26]}set hideproducttype(t){this.$$set({hideproducttype:t}),U()}get shownegativebalance(){return this.$$.ctx[27]}set shownegativebalance(t){this.$$set({shownegativebalance:t}),U()}get currencylocale(){return this.$$.ctx[28]}set currencylocale(t){this.$$set({currencylocale:t}),U()}get currencydisplay(){return this.$$.ctx[29]}set currencydisplay(t){this.$$set({currencydisplay:t}),U()}get maximumfractiondigits(){return this.$$.ctx[30]}set maximumfractiondigits(t){this.$$set({maximumfractiondigits:t}),U()}get minimumfractiondigits(){return this.$$.ctx[31]}set minimumfractiondigits(t){this.$$set({minimumfractiondigits:t}),U()}get customdisplayformat(){return this.$$.ctx[32]}set customdisplayformat(t){this.$$set({customdisplayformat:t}),U()}get alwaysshowdecimals(){return this.$$.ctx[33]}set alwaysshowdecimals(t){this.$$set({alwaysshowdecimals:t}),U()}};ce(Zt,{userid:{},session:{},endpoint:{},lang:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{},gmversion:{},displaybalanceoption:{},totalcalculationmode:{},primarybalancemode:{},balancelimitsbutton:{},activebonusesbutton:{},hideproducttype:{},shownegativebalance:{},currencylocale:{},currencydisplay:{},maximumfractiondigits:{},minimumfractiondigits:{},customdisplayformat:{},alwaysshowdecimals:{}},[],[],!0);export{Zt as default};
4/*! Bundled license information:
5
6@everymatrix/casino-header-controller-nd/components/PlayerAccountBalanceModalNd-DG8tZ1HV.js:
7  (** @license
8   * eventsource.js
9   * Available under MIT License (MIT)
10   * https://github.com/Yaffle/EventSource/
11   *)
12*/

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.