forked from Simnation/Main
6 lines
130 KiB
JavaScript
6 lines
130 KiB
JavaScript
![]() |
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();function Gr(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const re={},Rt=[],Ee=()=>{},ua=()=>!1,Kn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),qr=e=>e.startsWith("onUpdate:"),ae=Object.assign,Zr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},fa=Object.prototype.hasOwnProperty,Z=(e,t)=>fa.call(e,t),R=Array.isArray,Nt=e=>Yn(e)==="[object Map]",no=e=>Yn(e)==="[object Set]",H=e=>typeof e=="function",ie=e=>typeof e=="string",zt=e=>typeof e=="symbol",te=e=>e!==null&&typeof e=="object",ro=e=>(te(e)||H(e))&&H(e.then)&&H(e.catch),so=Object.prototype.toString,Yn=e=>so.call(e),da=e=>Yn(e).slice(8,-1),io=e=>Yn(e)==="[object Object]",Xr=e=>ie(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,kn=Gr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Gn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ha=/-(\w)/g,Me=Gn(e=>e.replace(ha,(t,n)=>n?n.toUpperCase():"")),ga=/\B([A-Z])/g,At=Gn(e=>e.replace(ga,"-$1").toLowerCase()),Kt=Gn(e=>e.charAt(0).toUpperCase()+e.slice(1)),ur=Gn(e=>e?`on${Kt(e)}`:""),ut=(e,t)=>!Object.is(e,t),fr=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Fn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ma=e=>{const t=parseFloat(e);return isNaN(t)?e:t},pa=e=>{const t=ie(e)?Number(e):NaN;return isNaN(t)?e:t};let Ms;const oo=()=>Ms||(Ms=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Jr(e){if(R(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=ie(r)?_a(r):Jr(r);if(s)for(const i in s)t[i]=s[i]}return t}else if(ie(e)||te(e))return e}const va=/;(?![^(]*\))/g,ya=/:([^]+)/,ba=/\/\*[^]*?\*\//g;function _a(e){const t={};return e.replace(ba,"").split(va).forEach(n=>{if(n){const r=n.split(ya);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Qr(e){let t="";if(ie(e))t=e;else if(R(e))for(let n=0;n<e.length;n++){const r=Qr(e[n]);r&&(t+=r+" ")}else if(te(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Ca="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",wa=Gr(Ca);function lo(e){return!!e||e===""}const ht=e=>ie(e)?e:e==null?"":R(e)||te(e)&&(e.toString===so||!H(e.toString))?JSON.stringify(e,ao,2):String(e),ao=(e,t)=>t&&t.__v_isRef?ao(e,t.value):Nt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],i)=>(n[dr(r,i)+" =>"]=s,n),{})}:no(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>dr(n))}:zt(t)?dr(t):te(t)&&!R(t)&&!io(t)?String(t):t,dr=(e,t="")=>{var n;return zt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Se;class co{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Se,!t&&Se&&(this.index=(Se.scopes||(Se.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Se;try{return Se=this,t()}finally{Se=n}}}on(){Se=this}off(){Se=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}fun
|
||
|
Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function un(e){const{h:t,s:n,v:r,a:s}=e,i=l=>{const a=(l+t/60)%6;return r-r*n*Math.max(Math.min(a,4-a,1),0)},o=[i(5),i(3),i(1)].map(l=>Math.round(l*255));return{r:o[0],g:o[1],b:o[2],a:s}}function $i(e){return un(Sl(e))}function Sl(e){const{h:t,s:n,l:r,a:s}=e,i=r+n*Math.min(r,1-r),o=i===0?0:2-2*r/i;return{h:t,s:o,v:i,a:s}}function Pn(e){const t=Math.round(e).toString(16);return("00".substr(0,2-t.length)+t).toUpperCase()}function df(e){let{r:t,g:n,b:r,a:s}=e;return`#${[Pn(t),Pn(n),Pn(r),s!==void 0?Pn(Math.round(s*255)):""].join("")}`}function hf(e){e=gf(e);let[t,n,r,s]=Ku(e,2).map(i=>parseInt(i,16));return s=s===void 0?s:s/255,{r:t,g:n,b:r,a:s}}function gf(e){return e.startsWith("#")&&(e=e.slice(1)),e=e.replace(/([^0-9a-f])/gi,"F"),(e.length===3||e.length===4)&&(e=e.split("").map(t=>t+t).join("")),e.length!==6&&(e=_i(_i(e,6),8,"F")),e}function mf(e,t){const n=_l(ws(e));return n[0]=n[0]+t*10,wl(Cl(n))}function pf(e,t){const n=_l(ws(e));return n[0]=n[0]-t*10,wl(Cl(n))}function vf(e){const t=We(e);return ws(t)[1]}function xl(e){const t=Math.abs(ki(We(0),We(e)));return Math.abs(ki(We(16777215),We(e)))>Math.min(t,50)?"#fff":"#000"}const Wt=Symbol.for("vuetify:defaults");function yf(e){return _e(e)}function Ss(){const e=Xe(Wt);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function Tl(e,t){const n=Ss(),r=_e(e),s=k(()=>{if(lt(t==null?void 0:t.disabled))return n.value;const o=lt(t==null?void 0:t.scoped),l=lt(t==null?void 0:t.reset),a=lt(t==null?void 0:t.root);if(r.value==null&&!(o||l||a))return n.value;let c=Le(r.value,{prev:n.value});if(o)return c;if(l||a){const u=Number(l||1/0);for(let d=0;d<=u&&!(!c||!("prev"in c));d++)c=c.prev;return c&&typeof a=="string"&&a in c&&(c=Le(Le(c,{prev:c}),c[a])),c}return c.prev?Le(c.prev,c):c});return gn(Wt,s),s}function bf(e,t){var n,r;return typeof((n=e.props)==null?void 0:n[t])<"u"||typeof((r=e.props)==null?void 0:r[Tt(t)])<"u"}function _f(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ss();const r=Ke("useDefaults");if(t=t??r.type.name??r.type.__name,!t)throw new Error("[Vuetify] Could not determine component name");const s=k(()=>{var a;return(a=n.value)==null?void 0:a[e._as??t]}),i=new Proxy(e,{get(a,c){var d,g,v,p;const u=Reflect.get(a,c);return c==="class"||c==="style"?[(d=s.value)==null?void 0:d[c],u].filter(C=>C!=null):typeof c=="string"&&!bf(r.vnode,c)?((g=s.value)==null?void 0:g[c])??((p=(v=n.value)==null?void 0:v.global)==null?void 0:p[c])??u:u}}),o=xe();Jn(()=>{if(s.value){const a=Object.entries(s.value).filter(c=>{let[u]=c;return u.startsWith(u[0].toUpperCase())});o.value=a.length?Object.fromEntries(a):void 0}else o.value=void 0});function l(){const a=Cf(Wt,r);gn(Wt,k(()=>o.value?Le((a==null?void 0:a.value)??{},o.value):a==null?void 0:a.value))}return{props:i,provideSubDefaults:l}}function pn(e){if(e._setup=e._setup??e.setup,!e.name)return e;if(e._setup){e.props=Q(e.props??{},e.name)();const t=Object.keys(e.props).filter(n=>n!=="class"&&n!=="style");e.filterProps=function(r){return Wu(r,t)},e.props._as=String,e.setup=function(r,s){const i=Ss();if(!i.value)return e._setup(r,s);const{props:o,provideSubDefaults:l}=_f(r,r._as??e.name,i),a=e._setup(o,s);return l(),a}}return e}function Ce(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return t=>(e?pn:yc)(t)}function xs(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",n=arguments.length>2?arguments[2]:void 0;return Ce()({name:n??Kt(Me(e.replace(/__/g,"-"))),props:{tag:{type:String,default:t},...ze()},setup(r,s){let{slots:i}=s;return()=>{var o;return Yt(r.tag,{class:[e,r.class],style:r.style},(o=i.default)==null?void 0:o.call(i))}}})}function Ke(e,t){const n=ys();if(!n)throw new Error(`[Vuetify] ${e} ${t||"must be called from inside a setup function"}`);return n}function Ot(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const t=Ke(e).type;return Tt((t==null?v
|
||
|
`,...n.map(r=>` ${r};
|
||
|
`),`}
|
||
|
`)}function Bi(e){const t=e.dark?2:1,n=e.dark?1:2,r=[];for(const[s,i]of Object.entries(e.colors)){const o=We(i);r.push(`--v-theme-${s}: ${o.r},${o.g},${o.b}`),s.startsWith("on-")||r.push(`--v-theme-${s}-overlay-multiplier: ${vf(i)>.18?t:n}`)}for(const[s,i]of Object.entries(e.variables)){const o=typeof i=="string"&&i.startsWith("#")?We(i):void 0,l=o?`${o.r}, ${o.g}, ${o.b}`:void 0;r.push(`--v-${s}: ${l??i}`)}return r}const Ff=Q({...ze(),...xf({fullHeight:!0}),...vn()},"VApp"),Rf=Ce()({name:"VApp",props:Ff(),setup(e,t){let{slots:n}=t;const r=yn(e),{layoutClasses:s,getLayoutItem:i,items:o,layoutRef:l}=Ef(e),{rtlClasses:a}=Ts();return Qe(()=>{var c;return S("div",{ref:l,class:["v-application",r.themeClasses.value,s.value,a.value,e.class],style:[e.style]},[S("div",{class:"v-application__wrap"},[(c=n.default)==null?void 0:c.call(n)])])}),{getLayoutItem:i,items:o,theme:r}}});const Nf=Ce()({name:"VCardActions",props:ze(),setup(e,t){let{slots:n}=t;return Tl({VBtn:{slim:!0,variant:"text"}}),Qe(()=>{var r;return S("div",{class:["v-card-actions",e.class],style:e.style},[(r=n.default)==null?void 0:r.call(n)])}),{}}}),Bf=xs("v-card-subtitle"),Ll=xs("v-card-title");function Es(e){return bl(()=>{const t=[],n={};if(e.value.background)if(Vr(e.value.background)){if(n.backgroundColor=e.value.background,!e.value.text&&uf(e.value.background)){const r=We(e.value.background);if(r.a==null||r.a===1){const s=xl(r);n.color=s,n.caretColor=s}}}else t.push(`bg-${e.value.background}`);return e.value.text&&(Vr(e.value.text)?(n.color=e.value.text,n.caretColor=e.value.text):t.push(`text-${e.value.text}`)),{colorClasses:t,colorStyles:n}})}function $l(e,t){const n=k(()=>({text:oe(e)?e.value:t?e[t]:null})),{colorClasses:r,colorStyles:s}=Es(n);return{textColorClasses:r,textColorStyles:s}}function Vi(e,t){const n=k(()=>({background:oe(e)?e.value:t?e[t]:null})),{colorClasses:r,colorStyles:s}=Es(n);return{backgroundColorClasses:r,backgroundColorStyles:s}}const Vf={collapse:"mdi-chevron-up",complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close-circle",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-alert-circle",error:"mdi-close-circle",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sortAsc:"mdi-arrow-up",sortDesc:"mdi-arrow-down",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus",calendar:"mdi-calendar",eyeDropper:"mdi-eyedropper"},Hf={component:e=>Yt(Dl,{...e,class:"mdi"})},Et=[String,Function,Object,Array],jr=Symbol.for("vuetify:icons"),ir=Q({icon:{type:Et},tag:{type:String,required:!0}},"icon"),Hi=Ce()({name:"VComponentIcon",props:ir(),setup(e,t){let{slots:n}=t;return()=>{const r=e.icon;return S(e.tag,null,{default:()=>{var s;return[e.icon?S(r,null,null):(s=n.default)==null?void 0:s.call(n)]}})}}}),Ml=pn({name:"VSvgIcon",inheritAttrs:!1,props:ir(),setup(e,t){let{attrs:n}=t;return()=>S(e.tag,nr(n,{style:null}),{default:()=>[S("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(e.icon)?e.icon.map(r=>Array.isArray(r)?S("path",{d:r[0],"fill-opacity":r[1]},null):S("path",{d:r},null)):S("path",{d:e.icon},null)])]})}});pn({name:"VLigatureIcon",props:ir(),setup(e){return()=>S(e.tag,null,{default:()=>[e.icon]})}});const Dl=pn({name:"VClassIcon",props:ir(),setup(e){return()=>S(e.tag,{class:e.icon},null)}}),jf={svg:{component:Ml},class:{component:Dl}};function Uf(e){return Le({defaultSet:"mdi",sets:{...jf,mdi:Hf},aliases:{...Vf,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261
|