mirror of
https://github.com/ApfelTeeSaft/LiveSplitOne.git
synced 2026-08-27 03:33:40 +00:00
1 line
35 KiB
HTML
1 line
35 KiB
HTML
<!doctype html><html lang="en"><head><meta charset="UTF-8"/><meta name="description" content="A version of LiveSplit that works on a lot of platforms."/><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=5"/><title>LiveSplit One</title><link rel="icon" type="image/x-icon" href="assets/favicon.ico"><link rel="icon" type="image/png" sizes="16x16" href="assets/favicon-16x16.png"><link rel="icon" type="image/png" sizes="32x32" href="assets/favicon-32x32.png"><link rel="icon" type="image/png" sizes="48x48" href="assets/favicon-48x48.png"><link rel="manifest" href="assets/manifest.webmanifest"><meta name="mobile-web-app-capable" content="yes"><meta name="theme-color" content="#232323"><meta name="application-name" content="LiveSplit One"><link rel="apple-touch-icon" sizes="57x57" href="assets/apple-touch-icon-57x57.png"><link rel="apple-touch-icon" sizes="60x60" href="assets/apple-touch-icon-60x60.png"><link rel="apple-touch-icon" sizes="72x72" href="assets/apple-touch-icon-72x72.png"><link rel="apple-touch-icon" sizes="76x76" href="assets/apple-touch-icon-76x76.png"><link rel="apple-touch-icon" sizes="114x114" href="assets/apple-touch-icon-114x114.png"><link rel="apple-touch-icon" sizes="120x120" href="assets/apple-touch-icon-120x120.png"><link rel="apple-touch-icon" sizes="144x144" href="assets/apple-touch-icon-144x144.png"><link rel="apple-touch-icon" sizes="152x152" href="assets/apple-touch-icon-152x152.png"><link rel="apple-touch-icon" sizes="167x167" href="assets/apple-touch-icon-167x167.png"><link rel="apple-touch-icon" sizes="180x180" href="assets/apple-touch-icon-180x180.png"><link rel="apple-touch-icon" sizes="1024x1024" href="assets/apple-touch-icon-1024x1024.png"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"><meta name="apple-mobile-web-app-title" content="LiveSplit One"><link rel="apple-touch-startup-image" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="assets/apple-touch-startup-image-640x1136.png"><link rel="apple-touch-startup-image" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="assets/apple-touch-startup-image-1136x640.png"><link rel="apple-touch-startup-image" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="assets/apple-touch-startup-image-750x1334.png"><link rel="apple-touch-startup-image" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="assets/apple-touch-startup-image-1334x750.png"><link rel="apple-touch-startup-image" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="assets/apple-touch-startup-image-1125x2436.png"><link rel="apple-touch-startup-image" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" href="assets/apple-touch-startup-image-2436x1125.png"><link rel="apple-touch-startup-image" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="assets/apple-touch-startup-image-1170x2532.png"><link rel="apple-touch-startup-image" media="(device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" href="assets/apple-touch-startup-image-2532x1170.png"><link rel="apple-touch-startup-image" media="(device-width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="assets/apple-touch-startup-image-1179x2556.png"><link rel="apple-touch-startup-image" media="(device-width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" href="assets/apple-touch-startup-image-2556x1179.png"><link rel="apple-touch-startup-image" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="assets/apple-touch-startup-image-828x1792.png"><link rel="apple-touch-startup-image" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="assets/apple-touch-startup-image-1792x828.png"><link rel="apple-touch-startup-image" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="assets/apple-touch-startup-image-1242x2688.png"><link rel="apple-touch-startup-image" media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" href="assets/apple-touch-startup-image-2688x1242.png"><link rel="apple-touch-startup-image" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="assets/apple-touch-startup-image-1242x2208.png"><link rel="apple-touch-startup-image" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" href="assets/apple-touch-startup-image-2208x1242.png"><link rel="apple-touch-startup-image" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="assets/apple-touch-startup-image-1284x2778.png"><link rel="apple-touch-startup-image" media="(device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" href="assets/apple-touch-startup-image-2778x1284.png"><link rel="apple-touch-startup-image" media="(device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" href="assets/apple-touch-startup-image-1290x2796.png"><link rel="apple-touch-startup-image" media="(device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" href="assets/apple-touch-startup-image-2796x1290.png"><link rel="apple-touch-startup-image" media="(device-width: 744px) and (device-height: 1133px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="assets/apple-touch-startup-image-1488x2266.png"><link rel="apple-touch-startup-image" media="(device-width: 744px) and (device-height: 1133px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="assets/apple-touch-startup-image-2266x1488.png"><link rel="apple-touch-startup-image" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="assets/apple-touch-startup-image-1536x2048.png"><link rel="apple-touch-startup-image" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="assets/apple-touch-startup-image-2048x1536.png"><link rel="apple-touch-startup-image" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="assets/apple-touch-startup-image-1620x2160.png"><link rel="apple-touch-startup-image" media="(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="assets/apple-touch-startup-image-2160x1620.png"><link rel="apple-touch-startup-image" media="(device-width: 820px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="assets/apple-touch-startup-image-1640x2160.png"><link rel="apple-touch-startup-image" media="(device-width: 820px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="assets/apple-touch-startup-image-2160x1640.png"><link rel="apple-touch-startup-image" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="assets/apple-touch-startup-image-1668x2388.png"><link rel="apple-touch-startup-image" media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="assets/apple-touch-startup-image-2388x1668.png"><link rel="apple-touch-startup-image" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="assets/apple-touch-startup-image-1668x2224.png"><link rel="apple-touch-startup-image" media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="assets/apple-touch-startup-image-2224x1668.png"><link rel="apple-touch-startup-image" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="assets/apple-touch-startup-image-2048x2732.png"><link rel="apple-touch-startup-image" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="assets/apple-touch-startup-image-2732x2048.png"><script defer="defer">(()=>{"use strict";var e,t,n,r,o,i,a={540:e=>{e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},1113:e=>{e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},1601:e=>{e.exports=function(e){return e[1]}},1637:(e,t,n)=>{var r=n(5072),o=n.n(r),i=n(7825),a=n.n(i),c=n(7659),_=n.n(c),s=n(5056),u=n.n(s),f=n(540),b=n.n(f),d=n(1113),l=n.n(d),g=n(6480),w={};w.styleTagTransform=l(),w.setAttributes=u(),w.insert=_().bind(null,"head"),w.domAPI=a(),w.insertStyleElement=b(),o()(g.A,w),g.A&&g.A.locals&&g.A.locals},1875:(e,t,n)=>{n.d(t,{y:()=>i});var r=n(7954);let o=null;async function i(){return o||(o=(0,r.Ay)()),await o}},2277:(e,t,n)=>{n.a(e,(async(e,t)=>{try{var r=n(1875);n(1637),"symbol"!=typeof Symbol.dispose&&Object.defineProperty(Symbol,"dispose",{configurable:!1,enumerable:!1,writable:!1,value:Symbol.for("dispose")}),"symbol"!=typeof Symbol.asyncDispose&&Object.defineProperty(Symbol,"asyncDispose",{configurable:!1,enumerable:!1,writable:!1,value:Symbol.for("asyncDispose")}),null==window.__TAURI__&&"serviceWorker"in navigator&&navigator.serviceWorker.register("/service-worker.js"),(0,r.y)();try{const{LiveSplit:o,React:i,createRoot:a}=await Promise.all([n.e(494),n.e(249)]).then(n.bind(n,5249));try{const{splits:c,splitsKey:_,layout:s,comparison:u,timingMethod:f,hotkeys:b,layoutWidth:d,layoutHeight:l,generalSettings:g}=await o.loadStoredData();async function w(){try{await(navigator?.wakeLock?.request())}catch{}}w(),document.addEventListener("visibilitychange",(()=>{"visible"===document.visibilityState&&w()}));try{const p=[];for(const h of document.fonts)"timer"!==h.family&&"fira"!==h.family||p.push(h.load());await Promise.all(p)}catch{}a(document.getElementById("base")).render(i.createElement(o,{splits:c,layout:s,comparison:u,timingMethod:f,hotkeys:b,splitsKey:_,layoutWidth:d,layoutHeight:l,generalSettings:g}))}catch(y){"InvalidStateError"===y.name&&alert("Couldn't load LiveSplit One. You may be in private browsing mode. LiveSplit One cannot store any splits, layouts, or other settings because of the limitations of the browser's private browsing mode. These limitations may be lifted in the future. To run LiveSplit One for now, please disable private browsing in your settings.\n")}}catch(m){alert("Couldn't load LiveSplit One. You may be using a browser that is not up to date. Please update your browser or your iOS version and try again. Another reason might be that a browser extension, such as an adblocker, is blocking access to important scripts.")}t()}catch(v){t(v)}}),1)},4417:e=>{e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},4814:(e,t,n)=>{e.exports=n.p+"ae61ff36216a9911f339.woff"},5056:(e,t,n)=>{e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},5072:e=>{var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var i={},a=[],c=0;c<e.length;c++){var _=e[c],s=r.base?_[0]+r.base:_[0],u=i[s]||0,f="".concat(s," ").concat(u);i[s]=u+1;var b=n(f),d={css:_[1],media:_[2],sourceMap:_[3],supports:_[4],layer:_[5]};if(-1!==b)t[b].references++,t[b].updater(d);else{var l=o(d,r);r.byIndex=c,t.splice(c,0,{identifier:f,updater:l,references:1})}a.push(f)}return a}function o(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,o){var i=r(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var c=n(i[a]);t[c].references--}for(var _=r(e,o),s=0;s<i.length;s++){var u=n(i[s]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}i=_}}},5401:(e,t,n)=>{e.exports=n.p+"8092a3673f64d4716561.woff"},6165:(e,t,n)=>{e.exports=n.p+"642ce415340c223e485e.wasm"},6314:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var c=0;c<this.length;c++){var _=this[c][0];null!=_&&(a[_]=!0)}for(var s=0;s<e.length;s++){var u=[].concat(e[s]);r&&a[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},6480:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(1601),o=n.n(r),i=n(6314),a=n.n(i),c=n(4417),_=n.n(c),s=new URL(n(5401),n.b),u=new URL(n(4814),n.b),f=a()(o()),b=_()(s),d=_()(u);f.push([e.id,`:export{buttonHeight:40px;largeMargin:16px;manualGameTimeHeight:25px;contributorAvatarSize:42px;mainBackgroundColor:#171717}@font-face{font-family:timer;font-display:swap;src:url(${b})}@font-face{font-family:fira;font-display:swap;src:url(${d})}body{font-family:"fira",sans-serif;color:#eee;text-shadow:2px 2px 2px rgba(0,0,0,.5);background:#171717}table{border-spacing:0 2px}button:focus,div:focus{outline:0}button{display:flex;align-items:center;justify-content:center;margin:0;gap:.25em;background:linear-gradient(hsl(0, 0%, 11%) 0%, hsl(0, 0%, 7%) 100%);color:#eee;cursor:pointer;font-size:20px;line-height:1.1;border-width:1px;border-style:solid;border-color:#404040;border-image:initial;border-radius:5px;font-weight:bold;font-family:"fira",sans-serif;min-height:40px;padding:5px 8px}button:disabled,button:disabled:active,button:disabled:active:hover,button:disabled:hover{background:#222;color:#666;cursor:default}button:hover{background:linear-gradient(hsl(0, 0%, 14%) 0%, hsl(0, 0%, 9%) 100%)}button:active,button:active:hover{background:linear-gradient(hsl(0, 0%, 13%) 0%, hsl(0, 0%, 23%) 100%)}a{color:#56b0ff;text-decoration:none}a:hover{text-decoration:underline}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:#303030;border:0 solid rgba(0,0,0,0);border-radius:10px}::-webkit-scrollbar-track-piece{background-color:rgba(0,0,0,0)}::-webkit-scrollbar-corner{background-color:hsl(0,0%,9%)}.initial-load{position:absolute;left:0;top:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;font-size:50px}`,""]);const l=f},7659:e=>{var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},7825:e=>{e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},7954:(e,t,n)=>{let r;n.d(t,{Ay:()=>C,Em:()=>S,YM:()=>I,jX:()=>A,p1:()=>h});const o="undefined"!=typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};"undefined"!=typeof TextDecoder&&o.decode();let i=null;function a(){return null!==i&&0!==i.byteLength||(i=new Uint8Array(r.memory.buffer)),i}function c(e,t){return e>>>=0,o.decode(a().subarray(e,e+t))}function _(e){const t=r.__wbindgen_export_1();return r.__wbindgen_export_2.set(t,e),t}function s(e,t){try{return e.apply(this,t)}catch(e){const t=_(e);r.__wbindgen_export_0(t)}}let u=0;const f="undefined"!=typeof TextEncoder?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}};function b(e,t,n){if(void 0===n){const n=f.encode(e),r=t(n.length,1)>>>0;return a().subarray(r,r+n.length).set(n),u=n.length,r}let r=e.length,o=t(r,1)>>>0;const i=a();let c=0;for(;c<r;c++){const t=e.charCodeAt(c);if(t>127)break;i[o+c]=t}if(c!==r){0!==c&&(e=e.slice(c)),o=n(o,r,r=c+3*e.length,1)>>>0;const t=function(e,t){return f.encodeInto(e,t)}(e,a().subarray(o+c,o+r));c+=t.written,o=n(o,r,c,1)>>>0}return u=c,o}let d=null;function l(){return(null===d||!0===d.buffer.detached||void 0===d.buffer.detached&&d.buffer!==r.memory.buffer)&&(d=new DataView(r.memory.buffer)),d}function g(e){return null==e}const w="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>{r.__wbindgen_export_5.get(e.dtor)(e.a,e.b)}));function p(e,t,n,o){const i={a:e,b:t,cnt:1,dtor:n},a=(...e)=>{i.cnt++;const t=i.a;i.a=0;try{return o(t,i.b,...e)}finally{0==--i.cnt?(r.__wbindgen_export_5.get(i.dtor)(t,i.b),w.unregister(i)):i.a=t}};return a.original=i,w.register(a,i,i),a}function h(e,t){return 0!==r.HotkeySystem_add_window(e,t)}let y=null;function m(e,t){r.__wbindgen_export_7(e,t)}function v(e,t,n){r.closure138_externref_shim(e,t,n)}const x=["hidden","visible"],k="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>r.__wbg_serverprotocol_free(e>>>0,1)));class S{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,k.unregister(this),e}free(){const e=this.__destroy_into_raw();r.__wbg_serverprotocol_free(e,0)}static handleCommand(e,t){const n=b(e,r.__wbindgen_export_3,r.__wbindgen_export_4),o=u;return r.serverprotocol_handleCommand(n,o,t)}static encodeEvent(e){try{const o=r.__wbindgen_add_to_stack_pointer(-16);r.serverprotocol_encodeEvent(o,e);var t=l().getInt32(o+0,!0),n=l().getInt32(o+4,!0);let i;return 0!==t&&(i=c(t,n).slice(),r.__wbindgen_export_6(t,1*n,1)),i}finally{r.__wbindgen_add_to_stack_pointer(16)}}}const T="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>r.__wbg_webcommandsink_free(e>>>0,1)));class A{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,T.unregister(this),e}free(){const e=this.__destroy_into_raw();r.__wbg_webcommandsink_free(e,0)}constructor(e){const t=r.webcommandsink_new(e);return this.__wbg_ptr=t>>>0,T.register(this,this.__wbg_ptr,this),this}intoGeneric(){const e=this.__destroy_into_raw();return r.webcommandsink_intoGeneric(e)>>>0}}const E="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>r.__wbg_webrenderer_free(e>>>0,1)));class I{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,E.unregister(this),e}free(){const e=this.__destroy_into_raw();r.__wbg_webrenderer_free(e,0)}constructor(){const e=r.webrenderer_new();return this.__wbg_ptr=e>>>0,E.register(this,this.__wbg_ptr,this),this}element(){return r.webrenderer_element(this.__wbg_ptr)}render(e,t){try{const c=r.__wbindgen_add_to_stack_pointer(-16);r.webrenderer_render(c,this.__wbg_ptr,e,t);var n=l().getInt32(c+0,!0),o=l().getInt32(c+4,!0);let _;return 0!==n&&(_=(i=n,a=o,i>>>=0,(null!==y&&0!==y.byteLength||(y=new Float32Array(r.memory.buffer)),y).subarray(i/4,i/4+a)).slice(),r.__wbindgen_export_6(n,4*o,4)),_}finally{r.__wbindgen_add_to_stack_pointer(16)}var i,a}}async function R(e){if(void 0!==r)return r;void 0!==e&&(Object.getPrototypeOf(e)===Object.prototype?({module_or_path:e}=e):console.warn("using deprecated parameters for the initialization function; pass a single object instead")),void 0===e&&(e=new URL(n(6165),n.b));const t=function(){const e={wbg:{}};return e.wbg.__wbg_addColorStop_165045339ad89f05=function(){return s((function(e,t,n,r){e.addColorStop(t,c(n,r))}),arguments)},e.wbg.__wbg_addEventListener_90e553fdce254421=function(){return s((function(e,t,n,r){e.addEventListener(c(t,n),r)}),arguments)},e.wbg.__wbg_altKey_c33c03aed82e4275=function(e){return e.altKey},e.wbg.__wbg_append_9f8c3778ac5bb95f=function(){return s((function(e,t,n){e.append(t,n)}),arguments)},e.wbg.__wbg_arc_9f1706250d5089dd=function(){return s((function(e,t,n,r,o,i){e.arc(t,n,r,o,i)}),arguments)},e.wbg.__wbg_buffer_609cc3eee51ed158=function(e){return e.buffer},e.wbg.__wbg_buttons_c4b2b5a0c27f0743=function(e){return e.buttons},e.wbg.__wbg_call_672a4d21634d4a24=function(){return s((function(e,t){return e.call(t)}),arguments)},e.wbg.__wbg_call_7cccdd69e0791ae2=function(){return s((function(e,t,n){return e.call(t,n)}),arguments)},e.wbg.__wbg_call_833bed5770ea2041=function(){return s((function(e,t,n,r){return e.call(t,n,r)}),arguments)},e.wbg.__wbg_clearInterval_ad2594253cc39c4b=function(e,t){e.clearInterval(t)},e.wbg.__wbg_clearRect_590f4c185dff4527=function(e,t,n,r,o){e.clearRect(t,n,r,o)},e.wbg.__wbg_closePath_7b191d113c863d8f=function(e){e.closePath()},e.wbg.__wbg_code_459c120478e1ab6e=function(e,t){const n=b(t.code,r.__wbindgen_export_3,r.__wbindgen_export_4),o=u;l().setInt32(e+4,o,!0),l().setInt32(e+0,n,!0)},e.wbg.__wbg_createElement_8c9931a732ee2fea=function(){return s((function(e,t,n){return e.createElement(c(t,n))}),arguments)},e.wbg.__wbg_createImageBitmap_b814e27800576bdb=function(){return s((function(e,t){return e.createImageBitmap(t)}),arguments)},e.wbg.__wbg_createLinearGradient_ac3f586e1f35cedd=function(e,t,n,r,o){return e.createLinearGradient(t,n,r,o)},e.wbg.__wbg_ctrlKey_1e826e468105ac11=function(e){return e.ctrlKey},e.wbg.__wbg_devicePixelRatio_68c391265f05d093=function(e){return e.devicePixelRatio},e.wbg.__wbg_document_d249400bd7bd996d=function(e){const t=e.document;return g(t)?0:_(t)},e.wbg.__wbg_drawImage_25cc66abc8631ad3=function(){return s((function(e,t,n,r,o,i){e.drawImage(t,n,r,o,i)}),arguments)},e.wbg.__wbg_fillRect_a732b49200e16400=function(e,t,n,r,o){e.fillRect(t,n,r,o)},e.wbg.__wbg_fillText_cb5a35bdef9f778a=function(){return s((function(e,t,n,r){e.fillText(t,n,r)}),arguments)},e.wbg.__wbg_fill_4e2f1c7cb46c1b73=function(e,t){e.fill(t)},e.wbg.__wbg_fontBoundingBoxAscent_6992dcce84866824=function(e){return e.fontBoundingBoxAscent},e.wbg.__wbg_fontBoundingBoxDescent_b4e54e9d143d3c90=function(e){return e.fontBoundingBoxDescent},e.wbg.__wbg_fromCodePoint_f37c25c172f2e8b5=function(){return s((function(e){return String.fromCodePoint(e>>>0)}),arguments)},e.wbg.__wbg_getBoundingClientRect_9073b0ff7574d76b=function(e){return e.getBoundingClientRect()},e.wbg.__wbg_getContext_e9cf379449413580=function(){return s((function(e,t,n){const r=e.getContext(c(t,n));return g(r)?0:_(r)}),arguments)},e.wbg.__wbg_getGamepads_1f997cef580c9088=function(){return s((function(e){return e.getGamepads()}),arguments)},e.wbg.__wbg_getTimezoneOffset_6b5752021c499c47=function(e){return e.getTimezoneOffset()},e.wbg.__wbg_get_67b2ba62fc30de12=function(){return s((function(e,t){return Reflect.get(e,t)}),arguments)},e.wbg.__wbg_get_b9b93047fe3cf45b=function(e,t){return e[t>>>0]},e.wbg.__wbg_height_592a89ec0fb63726=function(e){return e.height},e.wbg.__wbg_height_838cee19ba8597db=function(e){return e.height},e.wbg.__wbg_height_df1aa98dfbbe11ad=function(e){return e.height},e.wbg.__wbg_instanceof_GamepadButton_9a90b34f41783d40=function(e){let t;try{t=e instanceof GamepadButton}catch(e){t=!1}return t},e.wbg.__wbg_instanceof_Gamepad_365ec8404255ce00=function(e){let t;try{t=e instanceof Gamepad}catch(e){t=!1}return t},e.wbg.__wbg_instanceof_Promise_935168b8f4b49db3=function(e){let t;try{t=e instanceof Promise}catch(e){t=!1}return t},e.wbg.__wbg_instanceof_Window_def73ea0955fc569=function(e){let t;try{t=e instanceof Window}catch(e){t=!1}return t},e.wbg.__wbg_length_e2d2a49132c1b256=function(e){return e.length},e.wbg.__wbg_lineTo_3ec82699e6eeebe1=function(e,t,n){e.lineTo(t,n)},e.wbg.__wbg_measureText_479472beed59c447=function(){return s((function(e,t){return e.measureText(t)}),arguments)},e.wbg.__wbg_metaKey_e1dd47d709a80ce5=function(e){return e.metaKey},e.wbg.__wbg_moveTo_4736f466f9374ab1=function(e,t,n){e.moveTo(t,n)},e.wbg.__wbg_navigator_1577371c070c8947=function(e){return e.navigator},e.wbg.__wbg_new_23a2665fac83c611=function(e,t){try{var n={a:e,b:t};const o=new Promise(((e,t)=>{const o=n.a;n.a=0;try{return function(e,t,n,o){r.closure106_externref_shim(e,t,n,o)}(o,n.b,e,t)}finally{n.a=o}}));return o}finally{n.a=n.b=0}},e.wbg.__wbg_new_a24f919c8039863a=function(){return s((function(){return new Path2D}),arguments)},e.wbg.__wbg_newnoargs_105ed471475aaf50=function(e,t){return new Function(c(e,t))},e.wbg.__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a=function(e,t,n){return new Uint8Array(e,t>>>0,n>>>0)},e.wbg.__wbg_newwithu8arraysequence_1e24f242a67f6fdd=function(){return s((function(e){return new Blob(e)}),arguments)},e.wbg.__wbg_newwithyearmonthdayhrminsecmilli_a13c1e72bd3baa18=function(e,t,n,r,o,i,a){return new Date(e>>>0,t,n,r,o,i,a)},e.wbg.__wbg_now_807e54c39636c349=function(){return Date.now()},e.wbg.__wbg_now_d18023d54d4e5500=function(e){return e.now()},e.wbg.__wbg_of_2eaf5a02d443ef03=function(e){return Array.of(e)},e.wbg.__wbg_platform_faf02c487289f206=function(){return s((function(e,t){const n=b(t.platform,r.__wbindgen_export_3,r.__wbindgen_export_4),o=u;l().setInt32(e+4,o,!0),l().setInt32(e+0,n,!0)}),arguments)},e.wbg.__wbg_pressed_b3de5f0878ceb06e=function(e){return e.pressed},e.wbg.__wbg_preventDefault_c2314fd813c02b3c=function(e){e.preventDefault()},e.wbg.__wbg_queueMicrotask_97d92b4fcc8a61c5=function(e){queueMicrotask(e)},e.wbg.__wbg_queueMicrotask_d3219def82552485=function(e){return e.queueMicrotask},e.wbg.__wbg_removeEventListener_056dfe8c3d6c58f9=function(){return s((function(e,t,n,r){e.removeEventListener(c(t,n),r)}),arguments)},e.wbg.__wbg_repeat_a94d79636c3ca8c7=function(e){const t=e.repeat;return g(t)?16777215:t?1:0},e.wbg.__wbg_resetTransform_740696082af98924=function(){return s((function(e){e.resetTransform()}),arguments)},e.wbg.__wbg_resolve_4851785c9c5f573d=function(e){return Promise.resolve(e)},e.wbg.__wbg_setAttribute_2704501201f15687=function(){return s((function(e,t,n,r,o){e.setAttribute(c(t,n),c(r,o))}),arguments)},e.wbg.__wbg_setInterval_cfbb32b46c873db2=function(){return s((function(e,t,n){return e.setInterval(t,n)}),arguments)},e.wbg.__wbg_setTransform_a5ceca17fe1c2483=function(){return s((function(e,t,n,r,o,i,a){e.setTransform(t,n,r,o,i,a)}),arguments)},e.wbg.__wbg_setfillStyle_ea8fbbfbd1a135d0=function(e,t){e.fillStyle=t},e.wbg.__wbg_setfilter_cd0ce9d89f293ab1=function(e,t){e.filter=t},e.wbg.__wbg_setfontKerning_805edb7c720ed69b=function(e,t){e.fontKerning=t},e.wbg.__wbg_setfont_adf1234b4ad915d8=function(e,t){e.font=t},e.wbg.__wbg_setheight_da683a33fa99843c=function(e,t){e.height=t>>>0},e.wbg.__wbg_setlineWidth_65607264b054f2e6=function(e,t){e.lineWidth=t},e.wbg.__wbg_setshadowBlur_747ab48ab7d8f80a=function(e,t){e.shadowBlur=t},e.wbg.__wbg_setshadowColor_c58333ae709d04ef=function(e,t){e.shadowColor=t},e.wbg.__wbg_setshadowOffsetX_eb4cf5c6636f29f9=function(e,t){e.shadowOffsetX=t},e.wbg.__wbg_setshadowOffsetY_662251d66672d222=function(e,t){e.shadowOffsetY=t},e.wbg.__wbg_setstrokeStyle_f2dce7f277365bae=function(e,t){e.strokeStyle=t},e.wbg.__wbg_setwidth_c5fed9f5e7f0b406=function(e,t){e.width=t>>>0},e.wbg.__wbg_shiftKey_86e737105bab1a54=function(e){return e.shiftKey},e.wbg.__wbg_static_accessor_GLOBAL_88a902d13a557d07=function(){const e="undefined"==typeof global?null:global;return g(e)?0:_(e)},e.wbg.__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0=function(){const e="undefined"==typeof globalThis?null:globalThis;return g(e)?0:_(e)},e.wbg.__wbg_static_accessor_SELF_37c5d418e4bf5819=function(){const e="undefined"==typeof self?null:self;return g(e)?0:_(e)},e.wbg.__wbg_static_accessor_WINDOW_5de37043a91a9c40=function(){const e="undefined"==typeof window?null:window;return g(e)?0:_(e)},e.wbg.__wbg_stroke_846c52d6a1284773=function(e,t){e.stroke(t)},e.wbg.__wbg_then_44b73946d2fb3e7d=function(e,t){return e.then(t)},e.wbg.__wbg_then_48b406749878a531=function(e,t,n){return e.then(t,n)},e.wbg.__wbg_visibilityState_f3cc18a6f3831137=function(e){const t=e.visibilityState;return(x.indexOf(t)+1||3)-1},e.wbg.__wbg_width_2fafd30484634e26=function(e){return e.width},e.wbg.__wbg_width_5dde457d606ba683=function(e){return e.width},e.wbg.__wbg_width_f0759bd8bad335bd=function(e){return e.width},e.wbg.__wbg_width_f54c7178d3c78f16=function(e){return e.width},e.wbg.__wbindgen_cb_drop=function(e){const t=e.original;return 1==t.cnt--&&(t.a=0,!0)},e.wbg.__wbindgen_closure_wrapper2188=function(e,t,n){return p(e,t,135,m)},e.wbg.__wbindgen_closure_wrapper2806=function(e,t,n){return p(e,t,135,v)},e.wbg.__wbindgen_closure_wrapper2811=function(e,t,n){return p(e,t,135,v)},e.wbg.__wbindgen_closure_wrapper2957=function(e,t,n){return p(e,t,135,v)},e.wbg.__wbindgen_init_externref_table=function(){const e=r.__wbindgen_export_2,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)},e.wbg.__wbindgen_is_function=function(e){return"function"==typeof e},e.wbg.__wbindgen_is_undefined=function(e){return void 0===e},e.wbg.__wbindgen_memory=function(){return r.memory},e.wbg.__wbindgen_number_get=function(e,t){const n="number"==typeof t?t:void 0;l().setFloat64(e+8,g(n)?0:n,!0),l().setInt32(e+0,!g(n),!0)},e.wbg.__wbindgen_number_new=function(e){return e},e.wbg.__wbindgen_string_get=function(e,t){const n="string"==typeof t?t:void 0;var o=g(n)?0:b(n,r.__wbindgen_export_3,r.__wbindgen_export_4),i=u;l().setInt32(e+4,i,!0),l().setInt32(e+0,o,!0)},e.wbg.__wbindgen_string_new=function(e,t){return c(e,t)},e.wbg.__wbindgen_throw=function(e,t){throw new Error(c(e,t))},e}();("string"==typeof e||"function"==typeof Request&&e instanceof Request||"function"==typeof URL&&e instanceof URL)&&(e=fetch(e));const{instance:o,module:a}=await async function(e,t){if("function"==typeof Response&&e instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(e,t)}catch(t){if("application/wasm"==e.headers.get("Content-Type"))throw t;console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",t)}const n=await e.arrayBuffer();return await WebAssembly.instantiate(n,t)}{const n=await WebAssembly.instantiate(e,t);return n instanceof WebAssembly.Instance?{instance:n,module:e}:n}}(await e,t);return function(e,t){return r=e.exports,R.__wbindgen_wasm_module=t,d=null,y=null,i=null,r.__wbindgen_start(),r}(o,a)}const C=R}},c={};function _(e){var t=c[e];if(void 0!==t)return t.exports;var n=c[e]={id:e,exports:{}};return a[e](n,n.exports,_),n.exports}_.m=a,e="function"==typeof Symbol?Symbol("webpack queues"):"__webpack_queues__",t="function"==typeof Symbol?Symbol("webpack exports"):"__webpack_exports__",n="function"==typeof Symbol?Symbol("webpack error"):"__webpack_error__",r=e=>{e&&e.d<1&&(e.d=1,e.forEach((e=>e.r--)),e.forEach((e=>e.r--?e.r++:e())))},_.a=(o,i,a)=>{var c;a&&((c=[]).d=-1);var _,s,u,f=new Set,b=o.exports,d=new Promise(((e,t)=>{u=t,s=e}));d[t]=b,d[e]=e=>(c&&e(c),f.forEach(e),d.catch((e=>{}))),o.exports=d,i((o=>{var i;_=(o=>o.map((o=>{if(null!==o&&"object"==typeof o){if(o[e])return o;if(o.then){var i=[];i.d=0,o.then((e=>{a[t]=e,r(i)}),(e=>{a[n]=e,r(i)}));var a={};return a[e]=e=>e(i),a}}var c={};return c[e]=e=>{},c[t]=o,c})))(o);var a=()=>_.map((e=>{if(e[n])throw e[n];return e[t]})),s=new Promise((t=>{(i=()=>t(a)).r=0;var n=e=>e!==c&&!f.has(e)&&(f.add(e),e&&!e.d&&(i.r++,e.push(i)));_.map((t=>t[e](n)))}));return i.r?s:a()}),(e=>(e?u(d[n]=e):s(b),r(c)))),c&&c.d<0&&(c.d=0)},_.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return _.d(t,{a:t}),t},_.d=(e,t)=>{for(var n in t)_.o(t,n)&&!_.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},_.f={},_.e=e=>Promise.all(Object.keys(_.f).reduce(((t,n)=>(_.f[n](e,t),t)),[])),_.u=e=>e+".js",_.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o={},i="livesplit:",_.l=(e,t,n,r)=>{if(o[e])o[e].push(t);else{var a,c;if(void 0!==n)for(var s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var f=s[u];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==i+n){a=f;break}}a||(c=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,_.nc&&a.setAttribute("nonce",_.nc),a.setAttribute("data-webpack",i+n),a.src=e),o[e]=[t];var b=(t,n)=>{a.onerror=a.onload=null,clearTimeout(d);var r=o[e];if(delete o[e],a.parentNode&&a.parentNode.removeChild(a),r&&r.forEach((e=>e(n))),t)return t(n)},d=setTimeout(b.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=b.bind(null,a.onerror),a.onload=b.bind(null,a.onload),c&&document.head.appendChild(a)}},_.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},_.p="",(()=>{_.b=document.baseURI||self.location.href;var e={23:0};_.f.j=(t,n)=>{var r=_.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise(((n,o)=>r=e[t]=[n,o]));n.push(r[2]=o);var i=_.p+_.u(t),a=new Error;_.l(i,(n=>{if(_.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,r[1](a)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[i,a,c]=n,s=0;if(i.some((t=>0!==e[t]))){for(r in a)_.o(a,r)&&(_.m[r]=a[r]);c&&c(_)}for(t&&t(n);s<i.length;s++)o=i[s],_.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=self.webpackChunklivesplit=self.webpackChunklivesplit||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),_.nc=void 0,_(2277)})();</script></head><body><div id="base"><div class="initial-load">Loading...</div></div></body></html> |