forked from Simnation/Main
2 lines
1 MiB
JavaScript
2 lines
1 MiB
JavaScript
![]() |
var S2=Object.defineProperty;var _2=(n,C,r)=>C in n?S2(n,C,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[C]=r;var Y2=(n,C,r)=>(_2(n,typeof C!="symbol"?C+"":C,r),r);(function(){const C=document.createElement("link").relList;if(C&&C.supports&&C.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))g(f);new MutationObserver(f=>{for(const w of f)if(w.type==="childList")for(const B of w.addedNodes)B.tagName==="LINK"&&B.rel==="modulepreload"&&g(B)}).observe(document,{childList:!0,subtree:!0});function r(f){const w={};return f.integrity&&(w.integrity=f.integrity),f.referrerPolicy&&(w.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?w.credentials="include":f.crossOrigin==="anonymous"?w.credentials="omit":w.credentials="same-origin",w}function g(f){if(f.ep)return;f.ep=!0;const w=r(f);fetch(f.href,w)}})();function h(){}function W2(n){return n()}function y2(){return Object.create(null)}function c2(n){n.forEach(W2)}function F2(n){return typeof n=="function"}function S1(n,C){return n!=n?C==C:n!==C||n&&typeof n=="object"||typeof n=="function"}let D2;function b2(n,C){return n===C?!0:(D2||(D2=document.createElement("a")),D2.href=C,n===D2.href)}function $2(n){return Object.keys(n).length===0}function L2(n,...C){if(n==null){for(const g of C)g(void 0);return h}const r=n.subscribe(...C);return r.unsubscribe?()=>r.unsubscribe():r}function X2(n){let C;return L2(n,r=>C=r)(),C}function d2(n,C,r){n.$$.on_destroy.push(L2(C,r))}function e(n,C){n.appendChild(C)}function N1(n,C,r){n.insertBefore(C,r||null)}function j1(n){n.parentNode&&n.parentNode.removeChild(n)}function a(n){return document.createElement(n)}function t(n){return document.createElementNS("http://www.w3.org/2000/svg",n)}function V2(n){return document.createTextNode(n)}function U(){return V2(" ")}function AA(){return V2("")}function A(n,C,r){r==null?n.removeAttribute(C):n.getAttribute(C)!==r&&n.setAttribute(C,r)}function N2(n,C,r){n.setAttributeNS("http://www.w3.org/1999/xlink",C,r)}function eA(n){return Array.from(n.childNodes)}function Z2(n,C,r,g){r==null?n.style.removeProperty(C):n.style.setProperty(C,r,g?"important":"")}let v2;function s2(n){v2=n}function I2(){if(!v2)throw new Error("Function called outside component initialization");return v2}function K2(n){I2().$$.on_mount.push(n)}function CA(n){I2().$$.on_destroy.push(n)}const C2=[],m2=[];let t2=[];const Q2=[],tA=Promise.resolve();let i2=!1;function nA(){i2||(i2=!0,tA.then(J2))}function H2(n){t2.push(n)}const j2=new Set;let A2=0;function J2(){if(A2!==0)return;const n=v2;do{try{for(;A2<C2.length;){const C=C2[A2];A2++,s2(C),rA(C.$$)}}catch(C){throw C2.length=0,A2=0,C}for(s2(null),C2.length=0,A2=0;m2.length;)m2.pop()();for(let C=0;C<t2.length;C+=1){const r=t2[C];j2.has(r)||(j2.add(r),r())}t2.length=0}while(C2.length);for(;Q2.length;)Q2.pop()();i2=!1,j2.clear(),s2(n)}function rA(n){if(n.fragment!==null){n.update(),c2(n.before_update);const C=n.dirty;n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,C),n.after_update.forEach(H2)}}function fA(n){const C=[],r=[];t2.forEach(g=>n.indexOf(g)===-1?C.push(g):r.push(g)),r.forEach(g=>g()),t2=C}const M2=new Set;let h1;function gA(){h1={r:0,c:[],p:h1}}function wA(){h1.r||c2(h1.c),h1=h1.p}function b1(n,C){n&&n.i&&(M2.delete(n),n.i(C))}function I1(n,C,r,g){if(n&&n.o){if(M2.has(n))return;M2.add(n),h1.c.push(()=>{M2.delete(n),g&&(r&&n.d(1),g())}),n.o(C)}else g&&g()}function o2(n){n&&n.c()}function n2(n,C,r){const{fragment:g,after_update:f}=n.$$;g&&g.m(C,r),H2(()=>{const w=n.$$.on_mount.map(W2).filter(F2);n.$$.on_destroy?n.$$.on_destroy.push(...w):c2(w),n.$$.on_mount=[]}),f.forEach(H2)}function r2(n,C){const r=n.$$;r.fragment!==null&&(fA(r.after_update),c2(r.on_destroy),r.fragment&&r.fragment.d(C),r.on_destroy=r.fragment=null,r.ctx=[])}function BA(n,C){n.$$.dirty[0]===-1&&(C2.push(n),nA(),n.$$.dirty.fill(0)),n.$$.dirty[C/31|0]|=1<<C%31}function f2(n,C,r,g,f,w,B,o=[-1]){const P=v2;s2(n);const s=n.$$={fragment:null,ctx:[],props:w,update:h,not_equal:f,bound:y2(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_updat
|