@everymatrix/casino-header-controller-nd 1.55.0 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/components/CasinoHamburgerMenuNd-BXOxWDnU.js +5449 -0
  2. package/components/CasinoHamburgerMenuNd-CDprnR9N.cjs +5 -0
  3. package/components/CasinoHamburgerMenuNd-RHQhri2n.js +5487 -0
  4. package/components/CasinoHeaderControllerNd-CrjISN9T.cjs +1 -0
  5. package/components/{CasinoHeaderControllerNd-bGnLcz2g.js → CasinoHeaderControllerNd-DdRHib4Y.js} +505 -453
  6. package/components/{CasinoHeaderControllerNd-B4Hgo5oq.js → CasinoHeaderControllerNd-DeFJQOBT.js} +525 -473
  7. package/components/PlayerAccountBalanceModalNd-BduIv2jr.js +1553 -0
  8. package/components/PlayerAccountBalanceModalNd-ClQUf9hu.js +1582 -0
  9. package/components/PlayerAccountBalanceModalNd-DB8OTdY6.cjs +13 -0
  10. package/components/PlayerDeposit-D4E7B0VM.cjs +1 -0
  11. package/components/PlayerDeposit-Dn8OMUks.js +391 -0
  12. package/components/PlayerDeposit-Owd9kBaC.js +391 -0
  13. package/es2015/casino-header-controller-nd.cjs +1 -1
  14. package/es2015/casino-header-controller-nd.js +1 -1
  15. package/esnext/casino-header-controller-nd.js +1 -1
  16. package/package.json +1 -1
  17. package/stencil/gamification-dropdown-12tdWeqm.cjs +1 -0
  18. package/stencil/gamification-dropdown-246b88da-BcsKYpR0.js +126 -0
  19. package/stencil/gamification-dropdown-246b88da-Dckk_dCi.js +144 -0
  20. package/stencil/gamification-dropdown-246b88da-ImWNLZys.cjs +1 -0
  21. package/stencil/gamification-dropdown-CGlt7V-H.js +7 -0
  22. package/stencil/gamification-dropdown-GR6HFAZA.js +25 -0
  23. package/stencil/gamification-dropdown_4-BwwlBsis.cjs +192 -0
  24. package/stencil/{gamification-dropdown_4-Cg4EiNTS.js → gamification-dropdown_4-Denu_YbM.js} +21 -21
  25. package/stencil/{gamification-dropdown_4-BZffGACN.js → gamification-dropdown_4-QRIgZIS5.js} +19 -19
  26. package/stencil/index-30fda5fb-CiEO4toK.js +833 -0
  27. package/stencil/index-30fda5fb-DqSvPD7T.cjs +1 -0
  28. package/stencil/index-30fda5fb-XWBRFzl0.js +860 -0
  29. package/stencil/{player-elevate-card-Bo3fCMU8.js → player-elevate-card-BPyvJoKU.js} +4 -4
  30. package/stencil/{player-elevate-card-CGn57laL.js → player-elevate-card-CSXjQ70j.js} +4 -4
  31. package/stencil/player-elevate-card-D5kbh1fR.cjs +64 -0
  32. package/stencil/{player-elevate-card-items-2078bd83-DvW50KrW.js → player-elevate-card-items-be1e68f1-C-idvDlE.js} +1 -3
  33. package/stencil/{player-elevate-card-items-2078bd83-CUXuMGCR.js → player-elevate-card-items-be1e68f1-CF4tyvaU.js} +1 -3
  34. package/stencil/player-elevate-card-items-be1e68f1-CxCehVul.cjs +1 -0
  35. package/stencil/{player-elevate-pointcard-jLOeOCx0.js → player-elevate-pointcard-Baq8OlNX.js} +7 -7
  36. package/stencil/player-elevate-pointcard-DVXsZKCw.cjs +1 -0
  37. package/stencil/{player-elevate-pointcard-teAW1AOh.js → player-elevate-pointcard-jvw6Jdcf.js} +7 -7
  38. package/components/CasinoHamburgerMenuNd-CAV9ARg-.js +0 -5485
  39. package/components/CasinoHamburgerMenuNd-CSCV-5CJ.cjs +0 -5
  40. package/components/CasinoHamburgerMenuNd-DNYzzmAB.js +0 -5447
  41. package/components/CasinoHeaderControllerNd-Cd6hH1wA.cjs +0 -1
  42. package/components/PlayerAccountBalanceModalNd-BJJzPbdP.js +0 -1586
  43. package/components/PlayerAccountBalanceModalNd-Ca8dF_9M.js +0 -1557
  44. package/components/PlayerAccountBalanceModalNd-P1iLuuUG.cjs +0 -13
  45. package/components/PlayerDeposit-B0r58Ypp.js +0 -414
  46. package/components/PlayerDeposit-BkVMpjA9.js +0 -414
  47. package/components/PlayerDeposit-CjEddUaf.cjs +0 -1
  48. package/stencil/gamification-dropdown-456bb56a-BJ9kAxaI.js +0 -103
  49. package/stencil/gamification-dropdown-456bb56a-CldmfDdk.js +0 -121
  50. package/stencil/gamification-dropdown-456bb56a-ClnsHPoT.cjs +0 -1
  51. package/stencil/gamification-dropdown-BdMkPvQc.js +0 -7
  52. package/stencil/gamification-dropdown-CnrQK1ei.cjs +0 -1
  53. package/stencil/gamification-dropdown-FVqK4we0.js +0 -25
  54. package/stencil/gamification-dropdown_4-DNV5b4s7.cjs +0 -192
  55. package/stencil/index-171550cf-BY--MwdX.cjs +0 -1
  56. package/stencil/index-171550cf-CVTOm2AV.js +0 -799
  57. package/stencil/index-171550cf-JwZ7TN-k.js +0 -772
  58. package/stencil/player-elevate-card-CW-95gEJ.cjs +0 -64
  59. package/stencil/player-elevate-card-items-2078bd83-DSxFMBLz.cjs +0 -1
  60. package/stencil/player-elevate-pointcard-DVgy3cq3.cjs +0 -1
@@ -1,13 +0,0 @@
1
- "use strict";var at=Object.defineProperty,ot=Object.defineProperties;var rt=Object.getOwnPropertyDescriptors;var He=Object.getOwnPropertySymbols;var it=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable;var ze=(r,t,n)=>t in r?at(r,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[t]=n,Ue=(r,t)=>{for(var n in t||(t={}))it.call(t,n)&&ze(r,n,t[n]);if(He)for(var n of He(t))lt.call(t,n)&&ze(r,n,t[n]);return r},Pe=(r,t)=>ot(r,rt(t));var Xe=(r,t,n)=>new Promise((s,f)=>{var u=y=>{try{m(n.next(y))}catch(w){f(w)}},g=y=>{try{m(n.throw(y))}catch(w){f(w)}},m=y=>y.done?s(y.value):Promise.resolve(y.value).then(u,g);m((n=n.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHamburgerMenuNd-CSCV-5CJ.cjs");function Ge(r,t){e.addMessages(r,t)}function st(r){e.$locale.set(r)}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(r,t){(function(n){var s=n.setTimeout,f=n.clearTimeout,u=n.XMLHttpRequest,g=n.XDomainRequest,m=n.ActiveXObject,y=n.EventSource,w=n.document,A=n.Promise,D=n.fetch,E=n.Response,k=n.TextDecoder,R=n.TextEncoder,I=n.AbortController;if(typeof window!="undefined"&&typeof w!="undefined"&&!("readyState"in w)&&w.body==null&&(w.readyState="loading",window.addEventListener("load",function(o){w.readyState="complete"},!1)),u==null&&m!=null&&(u=function(){return new m("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()}),I==null){var T=D;D=function(o,a){var l=a.signal;return T(o,{headers:a.headers,credentials:a.credentials,cache:a.cache}).then(function(i){var d=i.body.getReader();return l._reader=d,l._aborted&&l._reader.cancel(),{status:i.status,statusText:i.statusText,headers:i.headers,body:{getReader:function(){return d}}}})},I=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){this.signal._reader!=null&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function C(){this.bitsNeeded=0,this.codePoint=0}C.prototype.decode=function(o){function a(S,M,B){if(B===1)return S>=128>>M&&S<<M<=2047;if(B===2)return S>=2048>>M&&S<<M<=55295||S>=57344>>M&&S<<M<=65535;if(B===3)return S>=65536>>M&&S<<M<=1114111;throw new Error}function l(S,M){if(S===6*1)return M>>6>15?3:M>31?2:1;if(S===6*2)return M>15?3:2;if(S===6*3)return 3;throw new Error}for(var i=65533,d="",p=this.bitsNeeded,v=this.codePoint,h=0;h<o.length;h+=1){var b=o[h];p!==0&&(b<128||b>191||!a(v<<6|b&63,p-6,l(p,v)))&&(p=0,v=i,d+=String.fromCharCode(v)),p===0?(b>=0&&b<=127?(p=0,v=b):b>=192&&b<=223?(p=6*1,v=b&31):b>=224&&b<=239?(p=6*2,v=b&15):b>=240&&b<=247?(p=6*3,v=b&7):(p=0,v=i),p!==0&&!a(v,p,l(p,v))&&(p=0,v=i)):(p-=6,v=v<<6|b&63),p===0&&(v<=65535?d+=String.fromCharCode(v):(d+=String.fromCharCode(55296+(v-65535-1>>10)),d+=String.fromCharCode(56320+(v-65535-1&1023))))}return this.bitsNeeded=p,this.codePoint=v,d};var L=function(){try{return new k().decode(new R().encode("test"),{stream:!0})==="test"}catch(o){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+o)}return!1};(k==null||R==null||!L())&&(k=C);var O=function(){};function z(o){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=O,this.onload=O,this.onerror=O,this.onreadystatechange=O,this._contentType="",this._xhr=o,this._sendTimeout=0,this._abort=O}z.prototype.open=function(o,a){this._abort(!0);var l=this,i=this._xhr,d=1,p=0;this._abort=function(B){l._sendTimeout!==0&&(f(l._sendTimeout),l._sendTimeout=0),(d===1||d===2||d===3)&&(d=4,i.onload=O,i.onerror=O,i.onabort=O,i.onprogress=O,i.onreadystatechange=O,i.abort(),p!==0&&(f(p),p=0),B||(l.readyState=4,l.onabort(null),l.onreadystatechange())),d=0};var v=function(){if(d===1){var B=0,F="",re=void 0;if("contentType"in i)B=200,F="OK",re=i.contentType;else try{B=i.status,F=i.statusText,re=i.getResponseHeader("Content-Type")}catch(Be){B=0,F="",re=void 0}B!==0&&(d=2,l.readyState=2,l.status=B,l.statusText=F,l._contentType=re,l.onreadystatechange())}},h=function(){if(v(),d===2||d===3){d=3;var B="";try{B=i.responseText}catch(F){}l.readyState=3,l.responseText=B,l.onprogress()}},b=function(B,F){if((F==null||F.preventDefault==null)&&(F={preventDefault:O}),h(),d===1||d===2||d===3){if(d=4,p!==0&&(f(p),p=0),l.readyState=4,B==="load")l.onload(F);else if(B==="error")l.onerror(F);else if(B==="abort")l.onabort(F);else throw new TypeError;l.onreadystatechange()}},S=function(B){i!=null&&(i.readyState===4?(!("onload"in i)||!("onerror"in i)||!("onabort"in i))&&b(i.responseText===""?"error":"load",B):i.readyState===3?"onprogress"in i||h():i.readyState===2&&v())},M=function(){p=s(function(){M()},500),i.readyState===3&&h()};"onload"in i&&(i.onload=function(B){b("load",B)}),"onerror"in i&&(i.onerror=function(B){b("error",B)}),"onabort"in i&&(i.onabort=function(B){b("abort",B)}),"onprogress"in i&&(i.onprogress=h),"onreadystatechange"in i&&(i.onreadystatechange=function(B){S(B)}),("contentType"in i||!("ontimeout"in u.prototype))&&(a+=(a.indexOf("?")===-1?"?":"&")+"padding=true"),i.open(o,a,!0),"readyState"in i&&(p=s(function(){M()},0))},z.prototype.abort=function(){this._abort(!1)},z.prototype.getResponseHeader=function(o){return this._contentType},z.prototype.setRequestHeader=function(o,a){var l=this._xhr;"setRequestHeader"in l&&l.setRequestHeader(o,a)},z.prototype.getAllResponseHeaders=function(){return this._xhr.getAllResponseHeaders!=null&&this._xhr.getAllResponseHeaders()||""},z.prototype.send=function(){if((!("ontimeout"in u.prototype)||!("sendAsBinary"in u.prototype)&&!("mozAnon"in u.prototype))&&w!=null&&w.readyState!=null&&w.readyState!=="complete"){var o=this;o._sendTimeout=s(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(l){throw l}};function K(o){return o.replace(/[A-Z]/g,function(a){return String.fromCharCode(a.charCodeAt(0)+32)})}function ne(o){for(var a=Object.create(null),l=o.split(`\r
6
- `),i=0;i<l.length;i+=1){var d=l[i],p=d.split(": "),v=p.shift(),h=p.join(": ");a[K(v)]=h}this._map=a}ne.prototype.get=function(o){return this._map[K(o)]},u!=null&&u.HEADERS_RECEIVED==null&&(u.HEADERS_RECEIVED=2);function U(){}U.prototype.open=function(o,a,l,i,d,p,v){o.open("GET",d);var h=0;o.onprogress=function(){var S=o.responseText,M=S.slice(h);h+=M.length,l(M)},o.onerror=function(S){S.preventDefault(),i(new Error("NetworkError"))},o.onload=function(){i(null)},o.onabort=function(){i(null)},o.onreadystatechange=function(){if(o.readyState===u.HEADERS_RECEIVED){var S=o.status,M=o.statusText,B=o.getResponseHeader("Content-Type"),F=o.getAllResponseHeaders();a(S,M,B,new ne(F))}},o.withCredentials=p;for(var b in v)Object.prototype.hasOwnProperty.call(v,b)&&o.setRequestHeader(b,v[b]);return o.send(),o};function x(o){this._headers=o}x.prototype.get=function(o){return this._headers.get(o)};function _(){}_.prototype.open=function(o,a,l,i,d,p,v){var h=null,b=new I,S=b.signal,M=new k;return D(d,{headers:v,credentials:p?"include":"same-origin",signal:S,cache:"no-store"}).then(function(B){return h=B.body.getReader(),a(B.status,B.statusText,B.headers.get("Content-Type"),new x(B.headers)),new A(function(F,re){var Be=function(){h.read().then(function(Y){if(Y.done)F(void 0);else{var X=M.decode(Y.value,{stream:!0});l(X),Be()}}).catch(function(Y){re(Y)})};Be()})}).catch(function(B){if(B.name!=="AbortError")return B}).then(function(B){i(B)}),{abort:function(){h!=null&&h.cancel(),b.abort()}}};function N(){this._listeners=Object.create(null)}function c(o){s(function(){throw o},0)}N.prototype.dispatchEvent=function(o){o.target=this;var a=this._listeners[o.type];if(a!=null)for(var l=a.length,i=0;i<l;i+=1){var d=a[i];try{typeof d.handleEvent=="function"?d.handleEvent(o):d.call(this,o)}catch(p){c(p)}}},N.prototype.addEventListener=function(o,a){o=String(o);var l=this._listeners,i=l[o];i==null&&(i=[],l[o]=i);for(var d=!1,p=0;p<i.length;p+=1)i[p]===a&&(d=!0);d||i.push(a)},N.prototype.removeEventListener=function(o,a){o=String(o);var l=this._listeners,i=l[o];if(i!=null){for(var d=[],p=0;p<i.length;p+=1)i[p]!==a&&d.push(i[p]);d.length===0?delete l[o]:l[o]=d}};function P(o){this.type=o,this.target=void 0}function Ce(o,a){P.call(this,o),this.data=a.data,this.lastEventId=a.lastEventId}Ce.prototype=Object.create(P.prototype);function ae(o,a){P.call(this,o),this.status=a.status,this.statusText=a.statusText,this.headers=a.headers}ae.prototype=Object.create(P.prototype);function ye(o,a){P.call(this,o),this.error=a.error}ye.prototype=Object.create(P.prototype);var ve=-1,ee=0,ce=1,oe=2,pe=-1,te=0,ue=1,we=2,Ee=3,Se=/^text\/event\-stream(;.*)?$/i,Me=1e3,De=18e6,he=function(o,a){var l=o==null?a:parseInt(o,10);return l!==l&&(l=a),be(l)},be=function(o){return Math.min(Math.max(o,Me),De)},de=function(o,a,l){try{typeof a=="function"&&a.call(o,l)}catch(i){c(i)}};function W(o,a){N.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,ke(this,o,a)}function Le(){return u!=null&&"withCredentials"in u.prototype||g==null?new u:new g}var Oe=D!=null&&E!=null&&"body"in E.prototype;function ke(o,a,l){a=String(a);var i=!!l.withCredentials,d=l.lastEventIdQueryParameterName||"lastEventId",p=be(1e3),v=he(l.heartbeatTimeout,45e3),h="",b=p,S=!1,M=0,B=l.headers||{},F=l.Transport,re=Oe&&F==null?void 0:new z(F!=null?new F:Le()),Be=F!=null&&typeof F!="string"?new F:re==null?new _:new U,Y=void 0,X=0,Z=ve,me="",Ae="",ie="",Re="",G=te,Fe=0,fe=0,tt=function(j,V,J,Q){if(Z===ee)if(j===200&&J!=null&&Se.test(J)){Z=ce,S=Date.now(),b=p,o.readyState=ce;var q=new ae("open",{status:j,statusText:V,headers:Q});o.dispatchEvent(q),de(o,o.onopen,q)}else{var H="";j!==200?(V&&(V=V.replace(/\s+/g," ")),H="EventSource's response has a status "+j+" "+V+" that is not 200. Aborting the connection."):H="EventSource's response has a Content-Type specifying an unsupported type: "+(J==null?"-":J.replace(/\s+/g," "))+". Aborting the connection.",Ne();var q=new ae("error",{status:j,statusText:V,headers:Q});o.dispatchEvent(q),de(o,o.onerror,q),console.error(H)}},nt=function(j){if(Z===ce){for(var V=-1,J=0;J<j.length;J+=1){var Q=j.charCodeAt(J);(Q===10||Q===13)&&(V=J)}var q=(V!==-1?Re:"")+j.slice(0,V+1);Re=(V===-1?Re:"")+j.slice(V+1),j!==""&&(S=Date.now(),M+=j.length);for(var H=0;H<q.length;H+=1){var Q=q.charCodeAt(H);if(G===pe&&Q===10)G=te;else if(G===pe&&(G=te),Q===13||Q===10){if(G!==te){G===ue&&(fe=H+1);var le=q.slice(Fe,fe-1),se=q.slice(fe+(fe<H&&q.charCodeAt(fe)===32?1:0),H);le==="data"?(me+=`
7
- `,me+=se):le==="id"?Ae=se:le==="event"?ie=se:le==="retry"?(p=he(se,p),b=p):le==="heartbeatTimeout"&&(v=he(se,v),X!==0&&(f(X),X=s(function(){Te()},v)))}if(G===te){if(me!==""){h=Ae,ie===""&&(ie="message");var ge=new Ce(ie,{data:me.slice(1),lastEventId:Ae});if(o.dispatchEvent(ge),ie==="open"?de(o,o.onopen,ge):ie==="message"?de(o,o.onmessage,ge):ie==="error"&&de(o,o.onerror,ge),Z===oe)return}me="",ie=""}G=Q===13?pe:te}else G===te&&(Fe=H,G=ue),G===ue?Q===58&&(fe=H+1,G=we):G===we&&(G=Ee)}}},je=function(j){if(Z===ce||Z===ee){Z=ve,X!==0&&(f(X),X=0),X=s(function(){Te()},b),b=be(Math.min(p*16,b*2)),o.readyState=ee;var V=new ye("error",{error:j});o.dispatchEvent(V),de(o,o.onerror,V),j!=null&&console.error(j)}},Ne=function(){Z=oe,Y!=null&&(Y.abort(),Y=void 0),X!==0&&(f(X),X=0),o.readyState=oe},Te=function(){if(X=0,Z!==ve){if(!S&&Y!=null)je(new Error("No activity within "+v+" milliseconds. "+(Z===ee?"No response received.":M+" chars received.")+" Reconnecting.")),Y!=null&&(Y.abort(),Y=void 0);else{var j=Math.max((S||Date.now())+v-Date.now(),1);S=!1,X=s(function(){Te()},j)}return}S=!1,M=0,X=s(function(){Te()},v),Z=ee,me="",ie="",Ae=h,Re="",Fe=0,fe=0,G=te;var V=a;if(a.slice(0,5)!=="data:"&&a.slice(0,5)!=="blob:"&&h!==""){var J=a.indexOf("?");V=J===-1?a:a.slice(0,J+1)+a.slice(J+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(se,ge){return ge===d?"":se}),V+=(a.indexOf("?")===-1?"?":"&")+d+"="+encodeURIComponent(h)}var Q=o.withCredentials,q={};q.Accept="text/event-stream";var H=o.headers;if(H!=null)for(var le in H)Object.prototype.hasOwnProperty.call(H,le)&&(q[le]=H[le]);try{Y=Be.open(re,tt,nt,je,V,Q,q)}catch(se){throw Ne(),se}};o.url=a,o.readyState=ee,o.withCredentials=i,o.headers=B,o._close=Ne,Te()}W.prototype=Object.create(N.prototype),W.prototype.CONNECTING=ee,W.prototype.OPEN=ce,W.prototype.CLOSED=oe,W.prototype.close=function(){this._close()},W.CONNECTING=ee,W.OPEN=ce,W.CLOSED=oe,W.prototype.withCredentials=void 0;var _e=y;u!=null&&(y==null||!("withCredentials"in y.prototype))&&(_e=W),function(o){{var a=o(t);a!==void 0&&(r.exports=a)}}(function(o){o.EventSourcePolyfill=W,o.NativeEventSource=y,o.EventSource=_e})})(typeof globalThis=="undefined"?typeof window!="undefined"?window:typeof self!="undefined"?self:e.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(t){return Math.round(t)},Ve=function(t){return Math.pow(10,t)},ut=function(t,n){return $e(t/n)*n},ft=/(\d)(?=(\d{3})+\b)/g,pt=/(\d)(?=(\d\d)+\d\b)/g;function $(r,t){var n=this;if(!(n instanceof $))return new $(r,t);var s=Object.assign({},dt,t),f=Ve(s.precision),u=xe(r,s);n.intValue=u,n.value=u/f,s.increment=s.increment||1/f,s.useVedic?s.groups=pt:s.groups=ft,this.s=s,this.p=f}function xe(r,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,s=0,f=t.decimal,u=t.errorOnInvalid,g=t.precision,m=t.fromCents,y=Ve(g),w=typeof r=="number",A=r instanceof $;if(A&&m)return r.intValue;if(w||A)s=A?r.value:r;else if(typeof r=="string"){var D=new RegExp("[^-\\d"+f+"]","g"),E=new RegExp("\\"+f,"g");s=r.replace(/\((.*)\)/,"-$1").replace(D,"").replace(E,"."),s=s||0}else{if(u)throw Error("Invalid Input");s=0}return m||(s*=y,s=s.toFixed(4)),n?$e(s):s}function ht(r,t){var n=t.pattern,s=t.negativePattern,f=t.symbol,u=t.separator,g=t.decimal,m=t.groups,y=(""+r).replace(/^-/,"").split("."),w=y[0],A=y[1];return(r.value>=0?n:s).replace("!",f).replace("#",w.replace(m,"$1"+u)+(A?g+A:""))}$.prototype={add:function(t){var n=this.intValue,s=this.s,f=this.p;return $((n+=xe(t,s))/(s.fromCents?1:f),s)},subtract:function(t){var n=this.intValue,s=this.s,f=this.p;return $((n-=xe(t,s))/(s.fromCents?1:f),s)},multiply:function(t){var n=this.intValue,s=this.s;return $((n*=t)/(s.fromCents?1:Ve(s.precision)),s)},divide:function(t){var n=this.intValue,s=this.s;return $(n/=xe(t,s,!1),s)},distribute:function(t){for(var n=this.intValue,s=this.p,f=this.s,u=[],g=Math[n>=0?"floor":"ceil"](n/t),m=Math.abs(n-g*t),y=f.fromCents?1:s;t!==0;t--){var w=$(g/y,f);m-- >0&&(w=w[n>=0?"add":"subtract"](1/y)),u.push(w)}return u},dollars:function(){return~~this.value},cents:function(){var t=this.intValue,n=this.p;return~~(t%n)},format:function(t){var n=this.s;return typeof t=="function"?t(this,n):n.format(this,Object.assign({},n,t))},toString:function(){var t=this.intValue,n=this.p,s=this.s;return ut(t/n,s.increment).toFixed(s.precision)},toJSON:function(){return this.value}};function mt(r){e.append_styles(r,"svelte-1tsugyl",'*,*::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;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, #D0046C));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919;transition:all 0.2s ease-in;opacity:0}.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;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}.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 Ke(r,t,n){const s=r.slice();return s[50]=t[n],s}function We(r,t,n){const s=r.slice();return s[53]=t[n],s}function gt(r){let t,n,s=(r[1].Total?r[8](r[1].Total[0].amount):"0")+"",f,u,g,m,y,w,A,D,E,k,R,I,T=r[4]&&Ye(r);return{c(){t=e.element("div"),n=e.element("p"),f=e.text(s),u=e.space(),g=e.text(r[5]),m=e.space(),y=e.element("span"),w=e.svg_element("svg"),A=e.svg_element("path"),E=e.space(),T&&T.c(),k=e.empty(),e.attr(A,"id","arrow"),e.attr(A,"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"),e.attr(A,"transform","translate(-274.511 -441.088)"),e.attr(A,"fill","#d1d1d1"),e.attr(w,"xmlns","http://www.w3.org/2000/svg"),e.attr(w,"width","14"),e.attr(w,"height","6.835"),e.attr(w,"viewBox","0 0 14 6.835"),e.attr(y,"class",D=r[3]?"TriangleActive":"TriangleInactive"),e.attr(t,"class","BalanceValue")},m(C,L){e.insert(C,t,L),e.append(t,n),e.append(n,f),e.append(n,u),e.append(n,g),e.append(t,m),e.append(t,y),e.append(y,w),e.append(w,A),e.insert(C,E,L),T&&T.m(C,L),e.insert(C,k,L),R||(I=e.listen(t,"click",r[24]),R=!0)},p(C,L){L[0]&2&&s!==(s=(C[1].Total?C[8](C[1].Total[0].amount):"0")+"")&&e.set_data(f,s),L[0]&32&&e.set_data(g,C[5]),L[0]&8&&D!==(D=C[3]?"TriangleActive":"TriangleInactive")&&e.attr(y,"class",D),C[4]?T?T.p(C,L):(T=Ye(C),T.c(),T.m(k.parentNode,k)):T&&(T.d(1),T=null)},d(C){C&&(e.detach(t),e.detach(E),e.detach(k)),T&&T.d(C),R=!1,I()}}}function yt(r){let t,n=r[6]("Loading")+"",s;return{c(){t=e.element("p"),s=e.text(n),e.attr(t,"class","Loading")},m(f,u){e.insert(f,t,u),e.append(t,s)},p(f,u){u[0]&64&&n!==(n=f[6]("Loading")+"")&&e.set_data(s,n)},d(f){f&&e.detach(t)}}}function Ye(r){let t,n,s,f,u,g,m,y,w=r[6]("Title")+"",A,D,E,k,R,I,T=r[6]("DepositButton")+"",C,L,O,z,K,ne,U=e.ensure_array_like(Object.keys(r[1])),x=[];for(let _=0;_<U.length;_+=1)x[_]=Qe(Ke(r,U,_));return{c(){t=e.element("div"),n=e.element("div"),f=e.space(),u=e.element("div"),g=e.element("div"),m=e.element("div"),y=e.element("p"),A=e.text(w),D=e.space(),E=e.element("div");for(let _=0;_<x.length;_+=1)x[_].c();k=e.space(),R=e.element("div"),I=e.element("button"),C=e.text(T),e.attr(n,"class",s="BalanceModalClose "+(r[3]?"Open":"")),e.attr(y,"class","BalanceModalTitle"),e.attr(m,"class","BalanceModalHeader"),e.attr(E,"class","BalanceModalBody"),e.attr(I,"class","BalanceModalAction"),e.attr(R,"class","BalanceModalFooter"),e.attr(g,"class",L="ModalContent "+(r[3]?"Open":"")),e.attr(u,"class",O="BalanceModal "+(r[3]?"Open":"")),e.attr(t,"class",z="BalanceModalWrapper "+(r[3]?"Open":""))},m(_,N){e.insert(_,t,N),e.append(t,n),e.append(t,f),e.append(t,u),e.append(u,g),e.append(g,m),e.append(m,y),e.append(y,A),e.append(g,D),e.append(g,E);for(let c=0;c<x.length;c+=1)x[c]&&x[c].m(E,null);e.append(g,k),e.append(g,R),e.append(R,I),e.append(I,C),K||(ne=[e.listen(n,"click",r[25]),e.listen(I,"click",r[26])],K=!0)},p(_,N){if(N[0]&8&&s!==(s="BalanceModalClose "+(_[3]?"Open":""))&&e.attr(n,"class",s),N[0]&64&&w!==(w=_[6]("Title")+"")&&e.set_data(A,w),N[0]&354){U=e.ensure_array_like(Object.keys(_[1]));let c;for(c=0;c<U.length;c+=1){const P=Ke(_,U,c);x[c]?x[c].p(P,N):(x[c]=Qe(P),x[c].c(),x[c].m(E,null))}for(;c<x.length;c+=1)x[c].d(1);x.length=U.length}N[0]&64&&T!==(T=_[6]("DepositButton")+"")&&e.set_data(C,T),N[0]&8&&L!==(L="ModalContent "+(_[3]?"Open":""))&&e.attr(g,"class",L),N[0]&8&&O!==(O="BalanceModal "+(_[3]?"Open":""))&&e.attr(u,"class",O),N[0]&8&&z!==(z="BalanceModalWrapper "+(_[3]?"Open":""))&&e.attr(t,"class",z)},d(_){_&&e.detach(t),e.destroy_each(x,_),K=!1,e.run_all(ne)}}}function Je(r){let t,n,s=r[6](r[50])+"",f,u,g=(r[53].productType?r[6](r[53].productType):"")+"",m,y,w,A,D=(r[53].amount?r[8](r[53].amount):"0")+"",E,k,R,I;return{c(){t=e.element("div"),n=e.element("p"),f=e.text(s),u=e.space(),m=e.text(g),y=e.space(),w=e.element("p"),A=e.element("span"),E=e.text(D),k=e.space(),R=e.element("span"),I=e.text(r[5]),e.attr(n,"class","BalanceModalText"),e.attr(A,"class","BalanceModalAmount"),e.attr(R,"class","BalanceModalCurrency"),e.attr(w,"class","BalanceModalValue"),e.attr(t,"class","BalanceModalRowLine")},m(T,C){e.insert(T,t,C),e.append(t,n),e.append(n,f),e.append(n,u),e.append(n,m),e.append(t,y),e.append(t,w),e.append(w,A),e.append(A,E),e.append(w,k),e.append(w,R),e.append(R,I)},p(T,C){C[0]&66&&s!==(s=T[6](T[50])+"")&&e.set_data(f,s),C[0]&66&&g!==(g=(T[53].productType?T[6](T[53].productType):"")+"")&&e.set_data(m,g),C[0]&2&&D!==(D=(T[53].amount?T[8](T[53].amount):"0")+"")&&e.set_data(E,D),C[0]&32&&e.set_data(I,T[5])},d(T){T&&e.detach(t)}}}function Qe(r){let t,n,s=e.ensure_array_like(r[1][r[50]]),f=[];for(let u=0;u<s.length;u+=1)f[u]=Je(We(r,s,u));return{c(){t=e.element("div");for(let u=0;u<f.length;u+=1)f[u].c();n=e.space(),e.attr(t,"class","BalanceModalRowBoth")},m(u,g){e.insert(u,t,g);for(let m=0;m<f.length;m+=1)f[m]&&f[m].m(t,null);e.append(t,n)},p(u,g){if(g[0]&354){s=e.ensure_array_like(u[1][u[50]]);let m;for(m=0;m<s.length;m+=1){const y=We(u,s,m);f[m]?f[m].p(y,g):(f[m]=Je(y),f[m].c(),f[m].m(t,n))}for(;m<f.length;m+=1)f[m].d(1);f.length=s.length}},d(u){u&&e.detach(t),e.destroy_each(f,u)}}}function Ze(r){let t,n,s;return{c(){t=e.element("div"),e.attr(t,"class","ShowBalanceModalOverlay")},m(f,u){e.insert(f,t,u),n||(s=e.listen(t,"click",r[27]),n=!0)},p:e.noop,d(f){f&&e.detach(t),n=!1,s()}}}function vt(r){let t,n,s;function f(y,w){return y[2]?yt:gt}let u=f(r),g=u(r),m=r[4]&&Ze(r);return{c(){t=e.element("div"),n=e.element("div"),g.c(),s=e.space(),m&&m.c(),e.attr(n,"class","ShowBalance")},m(y,w){e.insert(y,t,w),e.append(t,n),g.m(n,null),e.append(t,s),m&&m.m(t,null),r[28](t)},p(y,w){u===(u=f(y))&&g?g.p(y,w):(g.d(1),g=u(y),g&&(g.c(),g.m(n,null))),y[4]?m?m.p(y,w):(m=Ze(y),m.c(),m.m(t,null)):m&&(m.d(1),m=null)},i:e.noop,o:e.noop,d(y){y&&e.detach(t),g.d(),m&&m.d(),r[28](null)}}}function wt(r,t,n){let s;e.component_subscribe(r,e.$format,a=>n(6,s=a));let{userid:f=""}=t,{session:u=""}=t,{endpoint:g=""}=t,{lang:m="en"}=t,{clientstyling:y=""}=t,{clientstylingurl:w=""}=t,{translationurl:A=""}=t,{customlocaleidentifier:D=""}=t,{gmversion:E="gm16"}=t,{displaybalanceoption:k="All"}=t,{totalcalculationmode:R="totalCashAmount"}=t,{currencyseparator:I=""}=t,{currencydecimal:T=""}=t,{currencyprecision:C=""}=t,L,O,z,K,ne=!1,U="",x=[],_,N=!1;const c={},P=["totalCashAmount","totalRealAmount"],Ce=()=>{fetch(A).then(a=>a.json()).then(a=>Object.keys(a).forEach(l=>Ge(l,a[l]))).catch(a=>console.log(a))};Object.keys(qe).forEach(a=>Ge(a,qe[a]));const ae=a=>{switch(a){case"balance":window.postMessage({type:"BalanceModalStatus",status:"open"},window.location.href),n(4,ne=!0),setTimeout(()=>n(3,z=!0),150);break;case"closebalance":n(3,z=!1),window.postMessage({type:"BalanceModalStatus",status:"close"},window.location.href),setTimeout(()=>{n(4,ne=!1)},150);break}},ye=()=>{if(D.includes(m))return D},ve=a=>D?new Intl.NumberFormat(ye(),{useGrouping:!0}).format(a):I&&T?$(a,{separator:I,decimal:T,symbol:"",precision:parseInt(C||"2",10)}).format():$(a,{separator:".",decimal:",",symbol:"",precision:parseInt(C||"2",10)}).format(),ee=()=>Xe(this,null,function*(){var l,i,d;n(2,L=!0);const a=new URL(`${g}/v1/player/${f}/account`);try{const p=yield fetch(a,{method:"GET",headers:{"X-SessionID":u}}),v=yield p.json();if(p.ok)window.postMessage({type:"BalancedFetched"},window.location.href),x=v.items,n(5,U=(l=x.find(h=>h.displayName==="Casino"))==null?void 0:l.currency),n(1,c.Total=[{amount:v.totalAmount[U]}],c),n(1,c.Real=[{amount:(i=x.find(h=>h.displayName==="Casino"))==null?void 0:i.balanceAmount}],c),n(1,c.Bonus=[{amount:(d=x.find(h=>h.displayName==="UBS"))==null?void 0:d.balanceAmount}],c);else throw new Error("Failed to fetch balance data !")}catch(p){console.log("Balance error: ",p)}finally{n(2,L=!1)}}),ce=()=>{n(2,L=!0);const a=new URL(`${g}/v2/player/${f}/balance`),l=new Headers;l.append("X-SessionID",u),fetch(a,{method:"GET",headers:l}).then(d=>d.json()).then(d=>{d[R]||n(10,R=P[0]);const p=d.items.find(h=>h.type==="Real"&&h.walletAccountType==="Ordinary");if(n(5,U=p.currency),N=!!p.productType,n(1,c.Total=[{amount:0}],c),n(1,c.Real=[],c),n(1,c.Bonus=[],c),n(1,c.Credit=[],c),!N){_={lastOrdinaryAfterAmount:0,showCreditLineAfterAmount:!1},n(1,c.Total[0].amount=d[R][U],c);for(const h of d.items)switch(h.type){case"Bonus":c.Bonus.length===0?c.Bonus.push({amount:h.amount}):n(1,c.Bonus[0].amount+=h.amount,c);break;case"Real":if(h.creditLine&&c.Credit.length===0&&c.Credit.push({amount:h.creditLine}),R==="totalRealAmount")continue;c.Real.length===0?c.Real.push({amount:h.amount}):n(1,c.Real[0].amount+=h.amount,c);break}for(const[h,b]of Object.entries(c))b.length<1&&delete c[h];n(2,L=!1);return}_={Casino:{lastOrdinaryAfterAmount:0,showCreditLineAfterAmount:!1},Sports:{lastOrdinaryAfterAmount:0,showCreditLineAfterAmount:!1}};let v=d.items;k&&k!=="All"&&(v=d.items.filter(h=>h.productType===k));for(const h of v){let b;switch(h.type){case"Bonus":b=c.Bonus.findIndex(S=>S.productType===h.productType),b>0?n(1,c.Bonus[b].amount+=h.amount,c):c.Bonus.push({amount:h.amount,productType:h.productType});break;case"Real":h.creditLine&&c.Credit.push({amount:h.creditLine,productType:h.productType}),b=c.Real.findIndex(S=>S.productType===h.productType),b>0?n(1,c.Real[b].amount+=h.amount,c):c.Real.push({amount:h.amount,productType:h.productType});break}}we();for(const[h,b]of Object.entries(c))b.length<1&&delete c[h];n(2,L=!1)}).catch(d=>{throw n(2,L=!1),new Error("Failed to fetch balance data !")})},oe=()=>{if(K&&K.close(),u.length<1)return;let a,l;switch(E){case"gm16":a=new URL(`${g}/v2/player/${f}/information/updates`),l=p=>Ee(p);break;case"gmcore":a=new URL(`${g}/v1/player/${f}/balance/updates`),l=p=>te(p);break}const i={accept:"text/event-stream","X-SessionId":u},d=new ct.EventSourcePolyfill(a,{headers:i});K=d,d.addEventListener("message",l)},pe=a=>{let l;try{l=JSON.parse(a)}catch(i){console.log("Balance stream failed: ",i);return}return l},te=a=>{var p,v;const l=pe(a.data);if(!l){oe();return}let i="0";const d=l.balanceChange;x=x.map(h=>(d&&d[h.id]&&(h=Pe(Ue({},h),{balanceAmount:d[h.id].afterAmount})),i=(parseFloat(h==null?void 0:h.balanceAmount)+parseFloat(i)).toString(),h)),n(1,c.Real=[{amount:(p=x[0])==null?void 0:p.balanceAmount}],c),n(1,c.Bonus=[{amount:(v=x[1])==null?void 0:v.balanceAmount}],c),n(1,c.Total=[{amount:Number(i)}],c)},ue=(a,l,i)=>{let d=null;switch(i.walletAccountType){case"Ordinary":i.afterAmount!==i.affectedAmount&&(l.lastOrdinaryAfterAmount=i.afterAmount,l.showCreditLineAfterAmount||(d=i.afterAmount));break;case"CreditLine":i.afterAmount!==0?(d=i.afterAmount,l.showCreditLineAfterAmount=!0):(d=l.lastOrdinaryAfterAmount,l.showCreditLineAfterAmount=!1);break;default:d=i.afterAmount}return d===null?a:d},we=()=>{switch(R){case"totalCashAmount":let a=0;for(const i of["Real","Bonus"])for(const d of c[i])a+=Math.max(d.amount,0);n(1,c.Total[0].amount=a,c);break;case"totalRealAmount":if(!N)return;let l=0;for(const i of c.Real)l+=i.amount;n(1,c.Total[0].amount=l,c)}},Ee=a=>{const l=pe(a.data);if(!l){oe();return}if(l.type!=="BALANCE_UPDATE_V2")return;const i=l.body.balanceChange;for(const[d,p]of Object.entries(i))if(R==="totalRealAmount"&&d==="Real"&&!N&&n(1,c.Total[0].amount=ue(c.Total[0].amount,_,p),c),!!c[d])for(const v of c[d]){if(!N){v.amount=d==="Real"?ue(v.amount,_,p):p.afterAmount;continue}p.productType===v.productType&&(v.amount=d==="Real"?ue(v.amount,_[v.productType],p):p.afterAmount)}we()},Se=()=>{ae("closebalance"),window.postMessage({type:"GoToDeposit"},window.location.href),typeof gtag=="function"&&gtag("event","GoToDeposit",{context:"PlayerAccountBalanceModal"})},Me=()=>{P.includes(R)||(console.error(`Unsupported value ('${R}') for totalcalculationmode parameter. Only the following values are supported ${P}. Using default value ('${P[0]}').`),n(10,R=P[0]))},De=()=>{switch(st(m),Me(),E){case"gmcore":ee();break;case"gm16":ce();break;default:throw Error(`Invalid apiversion attribute: ${E}`)}},he=a=>a.data&&a.data.type==="LogoutSuccessfull"&&K.close(),be=()=>{const a=document.createElement("style");a.innerHTML=y,O.appendChild(a)},de=()=>{const a=new URL(w),l=document.createElement("style");fetch(a.href).then(i=>i.text()).then(i=>{l.innerHTML=i,setTimeout(()=>{O.appendChild(l)},1)})},W=()=>{window.postMessage({type:"UpdateBalanceBackground"},window.location.href)};e.onMount(()=>(window.addEventListener("message",he,!1),()=>{window.removeEventListener("message",he),K&&K.close()}));const Le=()=>ae("balance"),Oe=()=>ae("closebalance"),ke=()=>Se(),_e=()=>ae("closeBalance");function o(a){e.binding_callbacks[a?"unshift":"push"](()=>{O=a,n(0,O)})}return r.$$set=a=>{"userid"in a&&n(11,f=a.userid),"session"in a&&n(12,u=a.session),"endpoint"in a&&n(13,g=a.endpoint),"lang"in a&&n(14,m=a.lang),"clientstyling"in a&&n(15,y=a.clientstyling),"clientstylingurl"in a&&n(16,w=a.clientstylingurl),"translationurl"in a&&n(17,A=a.translationurl),"customlocaleidentifier"in a&&n(18,D=a.customlocaleidentifier),"gmversion"in a&&n(19,E=a.gmversion),"displaybalanceoption"in a&&n(20,k=a.displaybalanceoption),"totalcalculationmode"in a&&n(10,R=a.totalcalculationmode),"currencyseparator"in a&&n(21,I=a.currencyseparator),"currencydecimal"in a&&n(22,T=a.currencydecimal),"currencyprecision"in a&&n(23,C=a.currencyprecision)},r.$$.update=()=>{r.$$.dirty[0]&16384&&m&&ye(),r.$$.dirty[0]&1603584&&g&&f&&u&&m&&E&&k&&De(),r.$$.dirty[0]&538624&&g&&f&&u&&E&&oe(),r.$$.dirty[0]&32769&&y&&O&&be(),r.$$.dirty[0]&65537&&w&&O&&de(),r.$$.dirty[0]&131072&&A&&Ce(),r.$$.dirty[0]&2&&c.Total&&W()},[O,c,L,z,ne,U,s,ae,ve,Se,R,f,u,g,m,y,w,A,D,E,k,I,T,C,Le,Oe,ke,_e,o]}class et extends e.SvelteComponent{constructor(t){super(),e.init(this,t,wt,vt,e.safe_not_equal,{userid:11,session:12,endpoint:13,lang:14,clientstyling:15,clientstylingurl:16,translationurl:17,customlocaleidentifier:18,gmversion:19,displaybalanceoption:20,totalcalculationmode:10,currencyseparator:21,currencydecimal:22,currencyprecision:23},mt,[-1,-1])}get userid(){return this.$$.ctx[11]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[12]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[13]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get lang(){return this.$$.ctx[14]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[17]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get customlocaleidentifier(){return this.$$.ctx[18]}set customlocaleidentifier(t){this.$$set({customlocaleidentifier:t}),e.flush()}get gmversion(){return this.$$.ctx[19]}set gmversion(t){this.$$set({gmversion:t}),e.flush()}get displaybalanceoption(){return this.$$.ctx[20]}set displaybalanceoption(t){this.$$set({displaybalanceoption:t}),e.flush()}get totalcalculationmode(){return this.$$.ctx[10]}set totalcalculationmode(t){this.$$set({totalcalculationmode:t}),e.flush()}get currencyseparator(){return this.$$.ctx[21]}set currencyseparator(t){this.$$set({currencyseparator:t}),e.flush()}get currencydecimal(){return this.$$.ctx[22]}set currencydecimal(t){this.$$set({currencydecimal:t}),e.flush()}get currencyprecision(){return this.$$.ctx[23]}set currencyprecision(t){this.$$set({currencyprecision:t}),e.flush()}}e.create_custom_element(et,{userid:{},session:{},endpoint:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},customlocaleidentifier:{},gmversion:{},displaybalanceoption:{},totalcalculationmode:{},currencyseparator:{},currencydecimal:{},currencyprecision:{}},[],[],!0);exports.default=et;
@@ -1,414 +0,0 @@
1
- import { b as K, $ as V, S as X, i as Z, f as y, c as $, s as ee, d as te, g as M, h as L, B as C, j as u, M as z, l as S, m as h, C as E, D as A, r as T, v as ie, K as se, w as ae, z as k, n as re, F as ne, G as W, J as oe } from "./CasinoHamburgerMenuNd-CAV9ARg-.js";
2
- function le(i, e) {
3
- if (i) {
4
- const t = document.createElement("style");
5
- t.innerHTML = e, i.appendChild(t);
6
- }
7
- }
8
- function ce(i, e) {
9
- const t = new URL(e);
10
- fetch(t.href).then((a) => a.text()).then((a) => {
11
- const r = document.createElement("style");
12
- r.innerHTML = a, i && i.appendChild(r);
13
- }).catch((a) => {
14
- console.error("There was an error while trying to load client styling from URL", a);
15
- });
16
- }
17
- function ue(i, e, t) {
18
- if (window.emMessageBus) {
19
- const a = document.createElement("style");
20
- window.emMessageBus.subscribe(e, (r) => {
21
- a.innerHTML = r, i && i.appendChild(a);
22
- });
23
- }
24
- }
25
- function j(i, e) {
26
- K(i, e);
27
- }
28
- function de(i) {
29
- V.set(i);
30
- }
31
- const G = {
32
- en: {
33
- titleDeposit: "Deposit",
34
- loading: "Loading, please wait ..."
35
- },
36
- "zh-hk": {
37
- titleDeposit: "訂金",
38
- loading: "加載請稍候…"
39
- },
40
- fr: {
41
- titleDeposit: "Dépôt",
42
- loading: "Chargement, veuillez patienter ..."
43
- },
44
- tr: {
45
- titleDeposit: "PARA YATIR",
46
- loading: "Yükleniyor ..."
47
- },
48
- ro: {
49
- titleDeposit: "Depunere",
50
- loading: "Se încarcă..."
51
- },
52
- es: {
53
- titleDeposit: "Deposita",
54
- loading: "Cargando ..."
55
- },
56
- pt: {
57
- titleDeposit: "Depósito",
58
- loading: "Carregando, por favor espere ..."
59
- },
60
- hr: {
61
- titleDeposit: "Uplata",
62
- loading: "Učitavanje"
63
- },
64
- "pt-br": {
65
- titleDeposit: "Depositar",
66
- Loading: "Carregando, por favor espere..."
67
- },
68
- "es-mx": {
69
- titleDeposit: "Depositar",
70
- Loading: "Cargando, por favor espere..."
71
- }
72
- };
73
- function he(i) {
74
- te(i, "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)}");
75
- }
76
- function pe(i) {
77
- let e, t, a, r, l, f, c, p, w, o, n = (
78
- /*$_*/
79
- i[4]("titleDeposit") + ""
80
- ), d, b, _;
81
- return {
82
- c() {
83
- e = M("div"), t = k("svg"), a = k("defs"), r = k("style"), l = C(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), f = k("g"), c = k("g"), p = k("path"), w = L(), o = M("h2"), d = C(n), u(p, "class", "aaa"), u(p, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), u(p, "transform", "translate(15 15) rotate(180)"), u(c, "transform", "translate(20 158)"), u(f, "transform", "translate(-20 -158)"), u(t, "xmlns", "http://www.w3.org/2000/svg"), u(t, "width", "15"), u(t, "height", "15"), u(t, "viewBox", "0 0 15 15"), u(o, "class", "DepositTitleMobile"), u(e, "class", "MenuReturnButton");
84
- },
85
- m(g, m) {
86
- S(g, e, m), h(e, t), h(t, a), h(a, r), h(r, l), h(t, f), h(f, c), h(c, p), h(e, w), h(e, o), h(o, d), b || (_ = re(
87
- e,
88
- "click",
89
- /*click_handler*/
90
- i[18]
91
- ), b = !0);
92
- },
93
- p(g, m) {
94
- m & /*$_*/
95
- 16 && n !== (n = /*$_*/
96
- g[4]("titleDeposit") + "") && E(d, n);
97
- },
98
- d(g) {
99
- g && T(e), b = !1, _();
100
- }
101
- };
102
- }
103
- function me(i) {
104
- let e, t, a;
105
- return {
106
- c() {
107
- e = M("div"), t = M("iframe"), W(t.src, a = /*iframeUrl*/
108
- i[3]) || u(t, "src", a), u(t, "title", "Deposit Iframe"), u(e, "class", "DepositIframeWrapper");
109
- },
110
- m(r, l) {
111
- S(r, e, l), h(e, t);
112
- },
113
- p(r, l) {
114
- l & /*iframeUrl*/
115
- 8 && !W(t.src, a = /*iframeUrl*/
116
- r[3]) && u(t, "src", a);
117
- },
118
- d(r) {
119
- r && T(e);
120
- }
121
- };
122
- }
123
- function fe(i) {
124
- let e, t = (
125
- /*$_*/
126
- i[4]("loading") + ""
127
- ), a;
128
- return {
129
- c() {
130
- e = M("p"), a = C(t);
131
- },
132
- m(r, l) {
133
- S(r, e, l), h(e, a);
134
- },
135
- p(r, l) {
136
- l & /*$_*/
137
- 16 && t !== (t = /*$_*/
138
- r[4]("loading") + "") && E(a, t);
139
- },
140
- d(r) {
141
- r && T(e);
142
- }
143
- };
144
- }
145
- function ge(i) {
146
- let e, t, a, r = (
147
- /*$_*/
148
- i[4]("titleDeposit") + ""
149
- ), l, f, c = (
150
- /*isMobile*/
151
- i[5] && pe(i)
152
- );
153
- function p(n, d) {
154
- return (
155
- /*isLoading*/
156
- n[1] ? fe : me
157
- );
158
- }
159
- let w = p(i), o = w(i);
160
- return {
161
- c() {
162
- e = M("div"), c && c.c(), t = L(), a = M("h2"), l = C(r), f = L(), o.c(), u(a, "class", "DepositTitle " + /*isMobile*/
163
- (i[5] ? "DepositTitleNone" : "")), u(e, "class", "DepositWrapper " + /*isMobile*/
164
- (i[5] ? "DepositWrapperMobile" : "")), z(
165
- e,
166
- "--dynamic-height",
167
- /*dynamicHeight*/
168
- i[2]
169
- );
170
- },
171
- m(n, d) {
172
- S(n, e, d), c && c.m(e, null), h(e, t), h(e, a), h(a, l), h(e, f), o.m(e, null), i[19](e);
173
- },
174
- p(n, [d]) {
175
- /*isMobile*/
176
- n[5] && c.p(n, d), d & /*$_*/
177
- 16 && r !== (r = /*$_*/
178
- n[4]("titleDeposit") + "") && E(l, r), w === (w = p(n)) && o ? o.p(n, d) : (o.d(1), o = w(n), o && (o.c(), o.m(e, null))), d & /*dynamicHeight*/
179
- 4 && z(
180
- e,
181
- "--dynamic-height",
182
- /*dynamicHeight*/
183
- n[2]
184
- );
185
- },
186
- i: A,
187
- o: A,
188
- d(n) {
189
- n && T(e), c && c.d(), o.d(), i[19](null);
190
- }
191
- };
192
- }
193
- function we(i, e, t) {
194
- let a, r;
195
- ie(i, oe, (s) => t(4, r = s));
196
- let { endpoint: l = "" } = e, { session: f = "" } = e, { playerid: c = "" } = e, { lang: p = "en" } = e, { hasdefaultamount: w = "" } = e, { clientstyling: o = "" } = e, { clientstylingurl: n = "" } = e, { translationurl: d = "" } = e, { playercurrency: b = "" } = e, { mbsource: _ } = e, { shortcashierenabled: g = "false" } = e, m, N = window.navigator.userAgent, B = se(N) !== "PC", R = !0, U, F, x = 0, H = "";
197
- const O = () => {
198
- fetch(d).then((D) => D.json()).then((D) => {
199
- Object.keys(D).forEach((v) => {
200
- j(v, D[v]);
201
- });
202
- }).catch((D) => {
203
- console.log(D);
204
- });
205
- };
206
- Object.keys(G).forEach((s) => {
207
- j(s, G[s]);
208
- });
209
- const I = () => {
210
- window.postMessage({ type: "GoToPreviousRoute", isMobile: B }, window.location.href);
211
- }, P = (s) => {
212
- if (s.data) {
213
- switch (s.data.type) {
214
- case "ProfileDetailsData":
215
- t(7, b = s.data.profileDetails.currency);
216
- break;
217
- }
218
- switch (s.data["MMFE:setQuickDepositHeight"] && t(2, U = s.data["MMFE:setQuickDepositHeight"].toString() + "px"), s.data["MMFE:openFullCashier"] === "true" && (window.postMessage({ type: "GoToDeposit" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href)), s.data.redirect) {
219
- case "mm-hc-casino":
220
- window.postMessage({ type: "GoToCasino" }, window.location.href);
221
- break;
222
- case "mm-hc-sports":
223
- window.postMessage({ type: "GoToSports" }, window.location.href);
224
- break;
225
- case "mm-hc-contact":
226
- window.postMessage({ type: "GoToCustomerSupport" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href);
227
- break;
228
- case "mm-hc-back-to-merchant":
229
- window.postMessage({ type: "GoToHomepage" }, window.location.href);
230
- break;
231
- case "mm-wm-hc-init-deposit":
232
- window.postMessage(
233
- {
234
- type: "RedirectWithdrawDepositCloseModal"
235
- },
236
- window.location.href
237
- );
238
- break;
239
- case "mm-wm-hc-init-deposit-quick":
240
- window.postMessage({ type: "CloseShortCashier" }, window.location.href);
241
- break;
242
- }
243
- }
244
- }, q = () => {
245
- let s = new URL(`${l}/v1/player/${c}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);
246
- if (s.searchParams.append("language", p), a && s.searchParams.append("isShortCashier", g), w)
247
- switch (b) {
248
- case "USD":
249
- x = 0.4;
250
- break;
251
- case "CDF":
252
- x = 1e3;
253
- break;
254
- }
255
- let D = {
256
- method: "POST",
257
- headers: {
258
- "X-SessionId": f,
259
- currency: b || "EUR",
260
- amount: x,
261
- cashierMode: "Default",
262
- IsShortCashier: g,
263
- accept: "application/json"
264
- }
265
- };
266
- fetch(s.href, D).then((v) => v.json()).then(
267
- (v) => {
268
- t(1, R = !1), t(3, H = v.CashierUrl);
269
- },
270
- (v) => {
271
- console.error(v);
272
- }
273
- );
274
- }, Q = () => {
275
- de(p);
276
- };
277
- ae(() => (window.addEventListener("message", P, !1), () => {
278
- window.emMessageBus && F && F.unsubscribe(), window.removeEventListener("message", P);
279
- }));
280
- const Y = () => I();
281
- function J(s) {
282
- ne[s ? "unshift" : "push"](() => {
283
- m = s, t(0, m);
284
- });
285
- }
286
- return i.$$set = (s) => {
287
- "endpoint" in s && t(8, l = s.endpoint), "session" in s && t(9, f = s.session), "playerid" in s && t(10, c = s.playerid), "lang" in s && t(11, p = s.lang), "hasdefaultamount" in s && t(12, w = s.hasdefaultamount), "clientstyling" in s && t(13, o = s.clientstyling), "clientstylingurl" in s && t(14, n = s.clientstylingurl), "translationurl" in s && t(15, d = s.translationurl), "playercurrency" in s && t(7, b = s.playercurrency), "mbsource" in s && t(16, _ = s.mbsource), "shortcashierenabled" in s && t(17, g = s.shortcashierenabled);
288
- }, i.$$.update = () => {
289
- i.$$.dirty & /*lang*/
290
- 2048 && p && Q(), i.$$.dirty & /*shortcashierenabled*/
291
- 131072 && (a = g.toLocaleLowerCase() === "true"), i.$$.dirty & /*clientstyling, customStylingContainer*/
292
- 8193 && o && m && le(m, o), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
293
- 16385 && n && m && ce(m, n), i.$$.dirty & /*customStylingContainer, mbsource*/
294
- 65537 && m && ue(m, `${_}.Style`), i.$$.dirty & /*translationurl*/
295
- 32768 && d && O(), i.$$.dirty & /*session, playerid, endpoint, playercurrency, lang, shortcashierenabled*/
296
- 135040 && f && c && l && b && p && g && q();
297
- }, [
298
- m,
299
- R,
300
- U,
301
- H,
302
- r,
303
- B,
304
- I,
305
- b,
306
- l,
307
- f,
308
- c,
309
- p,
310
- w,
311
- o,
312
- n,
313
- d,
314
- _,
315
- g,
316
- Y,
317
- J
318
- ];
319
- }
320
- class ye extends X {
321
- constructor(e) {
322
- super(), Z(
323
- this,
324
- e,
325
- we,
326
- ge,
327
- ee,
328
- {
329
- endpoint: 8,
330
- session: 9,
331
- playerid: 10,
332
- lang: 11,
333
- hasdefaultamount: 12,
334
- clientstyling: 13,
335
- clientstylingurl: 14,
336
- translationurl: 15,
337
- playercurrency: 7,
338
- mbsource: 16,
339
- shortcashierenabled: 17
340
- },
341
- he
342
- );
343
- }
344
- get endpoint() {
345
- return this.$$.ctx[8];
346
- }
347
- set endpoint(e) {
348
- this.$$set({ endpoint: e }), y();
349
- }
350
- get session() {
351
- return this.$$.ctx[9];
352
- }
353
- set session(e) {
354
- this.$$set({ session: e }), y();
355
- }
356
- get playerid() {
357
- return this.$$.ctx[10];
358
- }
359
- set playerid(e) {
360
- this.$$set({ playerid: e }), y();
361
- }
362
- get lang() {
363
- return this.$$.ctx[11];
364
- }
365
- set lang(e) {
366
- this.$$set({ lang: e }), y();
367
- }
368
- get hasdefaultamount() {
369
- return this.$$.ctx[12];
370
- }
371
- set hasdefaultamount(e) {
372
- this.$$set({ hasdefaultamount: e }), y();
373
- }
374
- get clientstyling() {
375
- return this.$$.ctx[13];
376
- }
377
- set clientstyling(e) {
378
- this.$$set({ clientstyling: e }), y();
379
- }
380
- get clientstylingurl() {
381
- return this.$$.ctx[14];
382
- }
383
- set clientstylingurl(e) {
384
- this.$$set({ clientstylingurl: e }), y();
385
- }
386
- get translationurl() {
387
- return this.$$.ctx[15];
388
- }
389
- set translationurl(e) {
390
- this.$$set({ translationurl: e }), y();
391
- }
392
- get playercurrency() {
393
- return this.$$.ctx[7];
394
- }
395
- set playercurrency(e) {
396
- this.$$set({ playercurrency: e }), y();
397
- }
398
- get mbsource() {
399
- return this.$$.ctx[16];
400
- }
401
- set mbsource(e) {
402
- this.$$set({ mbsource: e }), y();
403
- }
404
- get shortcashierenabled() {
405
- return this.$$.ctx[17];
406
- }
407
- set shortcashierenabled(e) {
408
- this.$$set({ shortcashierenabled: e }), y();
409
- }
410
- }
411
- $(ye, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, playercurrency: {}, mbsource: {}, shortcashierenabled: {} }, [], [], !0);
412
- export {
413
- ye as default
414
- };