@everymatrix/casino-integrated-game-page 0.0.401 → 0.0.403
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.
|
@@ -1232,7 +1232,7 @@ TIME_SECONDS:"HH:mm:ss",// <input type="time" step="1" />
|
|
|
1232
1232
|
TIME_MS:"HH:mm:ss.SSS",// <input type="time" step="0.001" />
|
|
1233
1233
|
WEEK:"GGGG-[W]WW",// <input type="week" />
|
|
1234
1234
|
MONTH:"YYYY-MM"},r}()}));
|
|
1235
|
-
/* src/CasinoIntegratedGamePage.svelte generated by Svelte v3.
|
|
1235
|
+
/* src/CasinoIntegratedGamePage.svelte generated by Svelte v3.48.0 */
|
|
1236
1236
|
function Tr(e){let t;function n(e,t){/*isLoggedIn*/
|
|
1237
1237
|
return e[5]?Pr:/*funMode*/e[10]?Or:void 0}let r=n(e),i=r&&r(e);return{c(){t=g("div"),i&&i.c(),b(t,"class","CasinoIntegratedGamePage"),b(t,"part","CasinoIntegratedGamePage")},m(n,r){p(n,t,r),i&&i.m(t,null)
|
|
1238
1238
|
/*div_binding*/,e[65](t)},p(e,o){r===(r=n(e))&&i?i.p(e,o):(i&&i.d(1),i=r&&r(e),i&&(i.c(),i.m(t,null)))},d(n){n&&m(t),i&&i.d()
|
|
@@ -1302,7 +1302,7 @@ window.location=H)},oe=()=>{C&&(window.postMessage({type:C,transition:"Register"
|
|
|
1302
1302
|
// @ts-ignore
|
|
1303
1303
|
window.location=A)},se=()=>{I&&(window.postMessage({type:I},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),N&&(
|
|
1304
1304
|
// @ts-ignore
|
|
1305
|
-
window.location=N)};function ae(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!J||ue()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",ae,!1),document.addEventListener("mozfullscreenchange",ae,!1),document.addEventListener("fullscreenchange",ae,!1),document.addEventListener("MSFullscreenChange",ae,!1));const ue=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(J?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),n(16,J=!1)):(d.requestFullscreen?d.requestFullscreen():d.webkitRequestFullscreen?d.webkitRequestFullscreen():d.mozRequestFullScreen?d.mozRequestFullScreen():d.msRequestFullscreen&&d.msRequestFullscreen(),n(16,J=!0)))},le=setInterval((()=>{n(3,s=R?Sr().format(R):Sr().format("LTS"))}),100),he=()=>{var e;e=M,sr.set(e),(e=>{e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)})(Q),n(7,V=!1)},ce=()=>{"true"==U?function(e,t){return new Promise(((n,r)=>{let i=new Headers;i.append("X-SessionID",t),de(`${e}/player/session/player`,{method:"GET",headers:i}).then((e=>e.json())).then((e=>n(e))).catch((e=>r(e)))}))}(T,O).then((e=>{u=e.Guid,n(5,j=!0)}),(e=>{n(5,j=!1),console.error("err on session",e)})):u=O},fe=()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href),window.postMessage({type:"DisableIntegratedGamePage"},window.location.href)},pe=e=>{Z=0,h=setInterval((()=>{Z+=1,n(8,z=!0),Z>=3&&clearInterval(h)}),1e3)},me=e=>{Z<3&&n(8,z=!1),clearInterval(h)};k((()=>(window.addEventListener("resize",re,!1),Er.isNative(Q),()=>{n(8,z=!1),null==l||l.removeEventListener("mousedown",pe),null==l||l.removeEventListener("touchstart",pe),
|
|
1305
|
+
window.location=N)};function ae(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!J||ue()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",ae,!1),document.addEventListener("mozfullscreenchange",ae,!1),document.addEventListener("fullscreenchange",ae,!1),document.addEventListener("MSFullscreenChange",ae,!1));const ue=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(J?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),n(16,J=!1)):(d.requestFullscreen?d.requestFullscreen():d.webkitRequestFullscreen?d.webkitRequestFullscreen():d.mozRequestFullScreen?d.mozRequestFullScreen():d.msRequestFullscreen&&d.msRequestFullscreen(),n(16,J=!0)))},le=setInterval((()=>{n(3,s=R?Sr().format(R):Sr().format("LTS"))}),100),he=()=>{var e;e=M,sr.set(e),(e=>{e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)})(Q),n(7,V=!1)},ce=()=>{"true"==U?function(e,t){return new Promise(((n,r)=>{let i=new Headers;i.append("X-SessionID",t),de(`${e}/player/session/player`,{method:"GET",headers:i}).then((e=>e.json())).then((e=>n(e))).catch((e=>r(e)))}))}(T,O).then((e=>{u=e.Guid,e.UserID,n(5,j=!0)}),(e=>{n(5,j=!1),console.error("err on session",e)})):u=O},fe=()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href),window.postMessage({type:"DisableIntegratedGamePage"},window.location.href)},pe=e=>{Z=0,h=setInterval((()=>{Z+=1,n(8,z=!0),Z>=3&&clearInterval(h)}),1e3)},me=e=>{Z<3&&n(8,z=!1),clearInterval(h)};k((()=>(window.addEventListener("resize",re,!1),Er.isNative(Q),()=>{n(8,z=!1),null==l||l.removeEventListener("mousedown",pe),null==l||l.removeEventListener("touchstart",pe),
|
|
1306
1306
|
// on mouseup stop interval count
|
|
1307
1307
|
null==l||l.removeEventListener("mouseup",me),null==l||l.removeEventListener("touchend",me),window.removeEventListener("resize",re),clearInterval(le)})));return e.$$set=e=>{"endpoint"in e&&n(29,T=e.endpoint),"lang"in e&&n(30,M=e.lang),"session"in e&&n(31,O=e.session),"userid"in e&&n(32,D=e.userid),"clientstyling"in e&&n(33,x=e.clientstyling),"clientstylingurl"in e&&n(34,B=e.clientstylingurl),"loginurl"in e&&n(35,H=e.loginurl),"registerurl"in e&&n(36,A=e.registerurl),"depositurl"in e&&n(37,N=e.depositurl),"loginevent"in e&&n(38,L=e.loginevent),"registerevent"in e&&n(39,C=e.registerevent),"depositevent"in e&&n(40,I=e.depositevent),"clockformat"in e&&n(41,R=e.clockformat),"haspanicbutton"in e&&n(0,F=e.haspanicbutton),"playforfun"in e&&n(42,Y=e.playforfun),"checksession"in e&&n(43,U=e.checksession),"gamebanneractive"in e&&n(1,G=e.gamebanneractive),"gameid"in e&&n(44,$=e.gameid)},e.$$.update=()=>{/*lang*/1073741824&e.$$.dirty[0]&&M&&he(),/*endpoint, lang*/1610612736&e.$$.dirty[0]|/*gameid*/8192&e.$$.dirty[1]&&T&&$&&M&&ee($),/*endpoint*/536870912&e.$$.dirty[0]|/*session, userid*/3&e.$$.dirty[1]&&O&&D&&T&&ce(),/*clientstyling*/4&e.$$.dirty[1]&&x&&(()=>{let e=document.createElement("style");e.innerHTML=x,w.appendChild(e)})(),/*clientstylingurl*/8&e.$$.dirty[1]&&B&&(()=>{let e=document.createElement("style");if(B){let t=new URL(B);fetch(t.href).then((e=>e.text())).then((t=>{e.innerHTML=t,w&&setTimeout((()=>{w.appendChild(e)}),1)}))}})(),/*panicButton*/4&e.$$.dirty[0]&&l&&(null==l||l.addEventListener("mousedown",pe,!1),null==l||l.addEventListener("touchstart",pe,!1),
|
|
1308
1308
|
// on mouseup stop interval count
|