More info',loader.style.visibility="hidden",progress.style.visibility="hidden",canvas.style.visibility="hidden";var facebook_login_status=null,facebook_login_response=null,facebook_logout_response=null;function OnTouchEnd(e){0==text_input.hidden&&text_input.focus(),e.preventDefault()}function PreventDefaultEvent(e){e.preventDefault()}function OnResize(){width=document.body.offsetWidth,height=document.body.offsetHeight;var e=Math.min(width,height);canvas.style.width=width+"px",canvas.style.height=height+"px";var t=2*e;document.body.style.backgroundSize=t+"px "+t+"px";var n=e/16,o=n/6;loader.style.borderLeftWidth=o+"px",loader.style.borderRightWidth=o+"px",loader.style.borderBottomWidth=o+"px",loader.style.borderTopWidth=o+"px",loader.style.width=n+"px",loader.style.height=n+"px";var r=e/4;status_text.style.fontSize=r+"%";var s=e/2,i=s/48;progress.style.width=s+"px",progress.style.height=i+"px",progress_bar.style.height=i+"px"}function IsPlatformIOS(){var e=navigator.userAgent||navigator.vendor||window.opera;return!(!/iPad|iPhone|iPod/.test(e)||window.MSStream)}function OnSyncFS(e){e&&console.log(e),file_system_mounted=!0}function OnPreRun(){gl||Module.addRunDependency("webgl"),FS.mkdir("/documents"),FS.mount(IDBFS,{},"/documents"),FS.syncfs(!0,OnSyncFS)}function OnStatus(e){if(gl){var t=e.match(/([^(]+)\((\d+(\.\d+)?)\/(\d+)\)/);if(t){var n=100*parseInt(t[2])/parseInt(t[4]);progress_bar.style.width=n+"%",100<=n&&(status_text.innerHTML="Getting ready...")}}}function OnError(e,t,n,o,r){r?alert(e+"\n"+r.stack):alert(e+" ("+t+":"+n+":"+o+")")}function OnWebGLContextLost(e){location.reload()}!function(e,t,n){var o,r=e.getElementsByTagName(t)[0];e.getElementById(n)||((o=e.createElement(t)).id=n,o.src="//connect.facebook.net/en_US/sdk.js",r.parentNode.insertBefore(o,r))}(document,"script","facebook-jssdk");var Module={preRun:[OnPreRun],setStatus:OnStatus,canvas:document.getElementById("canvas")};window.onerror=OnError,window.onmouseup=OnTouchEnd,window.ontouchend=OnTouchEnd,document.addEventListener("mousedown",PreventDefaultEvent,{passive:!1}),document.addEventListener("touchstart",PreventDefaultEvent,{passive:!1}),document.addEventListener("touchmove",PreventDefaultEvent,{passive:!1}),document.addEventListener("touchcancel",PreventDefaultEvent,{passive:!1}),document.addEventListener("scroll",PreventDefaultEvent,{passive:!1}),window.addEventListener("resize",OnResize,!1),canvas.addEventListener("webglcontextlost",OnWebGLContextLost,!1),OnResize(),IsPlatformIOS()&&(text_input.style.fontSize="0px")