aotds-docks/docs/_app/pages/index.svelte-6ddfb5aa.js

57 lines
279 KiB
JavaScript
Raw Normal View History

2022-04-02 23:54:30 +00:00
var z2=Object.defineProperty,H2=Object.defineProperties;var W2=Object.getOwnPropertyDescriptors;var _s=Object.getOwnPropertySymbols;var bp=Object.prototype.hasOwnProperty,wp=Object.prototype.propertyIsEnumerable;var yp=(t,e,n)=>e in t?z2(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,zi=(t,e)=>{for(var n in e||(e={}))bp.call(e,n)&&yp(t,n,e[n]);if(_s)for(var n of _s(e))wp.call(e,n)&&yp(t,n,e[n]);return t},Ap=(t,e)=>H2(t,W2(e));var Op=(t,e)=>{var n={};for(var r in t)bp.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&_s)for(var r of _s(t))e.indexOf(r)<0&&wp.call(t,r)&&(n[r]=t[r]);return n};import{N as Pe,O as Tl,P as k2,S as oe,i as le,s as fe,e as D,c as F,a as j,d as w,g as R,J as pn,K as gn,L as _n,q as K,o as G,I as vn,C as me,k as Q,m as ee,Q as Vn,R as ke,M,T as Ms,n as Rn,p as Ln,z as Ee,U as Zn,V as Y2,W as xs,X as ca,r as Wo,Y as Gv,G as ha,Z as tt,_ as V2,b as E,$ as Jr,a0 as Tp,l as gt,a1 as Mn,a2 as xn,f as kn,E as De,w as W,x as V,y as k,B as Y,t as re,h as ie,a3 as Xr,a4 as ko,a5 as Yo,a6 as Qr,j as _t,a7 as Ye,a8 as cn,a9 as Wt,aa as ea,ab as Qn,ac as Xe,A as xe,ad as Rs,F as Z2,ae as ei,af as ta,ag as X2}from"../chunks/index-ef7ebca2.js";import{r as J2,d as Q2,w as eO}from"../chunks/index-c417fbcb.js";function tO(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Sp(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,r)}return n}function Cp(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Sp(Object(n),!0).forEach(function(r){tO(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Sp(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}function nO(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var xo=function(){return Math.random().toString(36).substring(7).split("").join(".")};""+xo(),""+xo();function zv(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.length===0?function(r){return r}:e.length===1?e[0]:e.reduce(function(r,a){return function(){return r(a.apply(void 0,arguments))}})}function rO(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(r){return function(){var a=r.apply(void 0,arguments),s=function(){throw new Error(nO(15))},o={getState:a.getState,dispatch:function(){return s.apply(void 0,arguments)}},l=e.map(function(c){return c(o)});return s=zv.apply(void 0,l)(a.dispatch),Cp(Cp({},a),{},{dispatch:s})}}}var iO={isEqual:!0,isMatchingKey:!0,isPromise:!0,maxSize:!0,onCacheAdd:!0,onCacheChange:!0,onCacheHit:!0,transformKey:!0},aO=Array.prototype.slice;function As(t){var e=t.length;return e?e===1?[t[0]]:e===2?[t[0],t[1]]:e===3?[t[0],t[1],t[2]]:aO.call(t,0):[]}function sO(t){var e={};for(var n in t)iO[n]||(e[n]=t[n]);return e}function uO(t){return typeof t=="function"&&t.isMemoized}function oO(t,e){return t===e||t!==t&&e!==e}function Ep(t,e){var n={};for(var r in t)n[r]=t[r];for(var r in e)n[r]=e[r];return n}var lO=function(){function t(e){this.keys=[],this.values=[],this.options=e;var n=typeof e.isMatchingKey=="function";n?this.getKeyIndex=this._getKeyIndexFromMatchingKey:e.maxSize>1?this.getKeyIndex=this._getKeyIndexForMany:this.getKeyIndex=this._getKeyIndexForSingle,this.canTransformKey=typeof e.transformKey=="function",this.shouldCloneArguments=this.canTransformKey||n,this.shouldUpdateOnAdd=typeof e.onCacheAdd=="function",this.shouldUpdateOnChange=typeof e.onCacheChange=="function",this.shouldUpdateOnHit=typeof e.onCacheHit=="function"}return Object.defineProperty(t.prototype,"size",{get:function(){return this.keys.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"snapshot",{get:function(){return{keys:As(this.keys),size:th
`).slice(3),a,s,o=0;o<r.length;o++)if(a=r[o],a.indexOf("/moize/")===-1&&a.indexOf(" (native)")===-1&&a.indexOf(" Function.")===-1){s=a.replace(/\n/g,"\\n").trim();break}return s?n+" "+s:n}function Dp(t,e){return t?(e/t*100).toFixed(4)+"%":"0.0000%"}function Il(t){!Rt.isCollectingStats&&!Lp&&(console.warn('Stats are not currently being collected, please run "collectStats" to enable them.'),Lp=!0);var e=Rt.profiles;if(t){if(!e[t])return{calls:0,hits:0,usage:"0.0000%"};var n=e[t];return Xn({},n,{usage:Dp(n.calls,n.hits)})}var r=Object.keys(Rt.profiles).reduce(function(a,s){return a.calls+=e[s].calls,a.hits+=e[s].hits,a},{calls:0,hits:0});return Xn({},r,{profiles:Object.keys(e).reduce(function(a,s){return a[s]=Il(s),a},{}),usage:Dp(r.calls,r.hits)})}function xO(t){return Rt.isCollectingStats?{onCacheAdd:IO(t),onCacheHit:PO(t)}:{}}var RO={arguments:!0,callee:!0,caller:!0,constructor:!0,length:!0,name:!0,prototype:!0};function Pl(t,e,n){n===void 0&&(n=[]),Object.getOwnPropertyNames(t).forEach(function(r){if(!RO[r]&&n.indexOf(r)===-1){var a=Object.getOwnPropertyDescriptor(t,r);a.get||a.set?Object.defineProperty(e,r,a):e[r]=t[r]}})}function LO(t,e){var n=e.expirations,r=t.options,a=kv(r.isEqual,r.isMatchingKey),s=t;s.clear=function(){var o=s._microMemoizeOptions.onCacheChange,l=s.cache;return l.keys.length=0,l.values.length=0,o&&o(l,s.options,s),!0},s.clearStats=function(){Zv(s.options.profileName)},s.get=function(o){var l=s._microMemoizeOptions.transformKey,c=s.cache,h=l?l(o):o,p=a(c.keys,h);return p!==-1?s.apply(this,o):void 0},s.getStats=function(){return Il(s.options.profileName)},s.has=function(o){var l=s._microMemoizeOptions.transformKey,c=l?l(o):o;return a(s.cache.keys,c)!==-1},s.keys=function(){return s.cacheSnapshot.keys},s.remove=function(o){var l=s._microMemoizeOptions,c=l.onCacheChange,h=l.transformKey,p=s.cache,_=a(p.keys,h?h(o):o);if(_===-1)return!1;var v=p.keys[_];return p.keys.splice(_,1),p.values.splice(_,1),c&&c(p,s.options,s),El(n,v,!0),!0},s.set=function(o,l){var c=s._microMemoizeOptions,h=s.cache,p=s.options,_=c.onCacheAdd,v=c.onCacheChange,m=c.transformKey,b=m?m(o):o,T=a(h.keys,b);if(T===-1){var I=p.maxSize-1;h.size>I&&(h.keys.length=I,h.values.length=I),h.keys.unshift(b),h.values.unshift(l),p.isPromise&&h.updateAsyncCache(s),_&&_(h,p,s),v&&v(h,p,s)}else{var S=h.keys[T];h.values[T]=l,T>0&&h.orderByLru(S,l,T),p.isPromise&&h.updateAsyncCache(s),typeof v=="function"&&v(h,p,s)}},s.values=function(){return s.cacheSnapshot.values}}function DO(t,e){var n=e.expirations,r=e.options,a=e.originalFunction,s=t.options;Object.defineProperties(t,{_microMemoizeOptions:{configurable:!0,get:function(){return s}},cacheSnapshot:{configurable:!0,get:function(){var c=t.cache;return{keys:c.keys.slice(0),size:c.size,values:c.values.slice(0)}}},expirations:{configurable:!0,get:function(){return n}},expirationsSnapshot:{configurable:!0,get:function(){return n.slice(0)}},isMoized:{configurable:!0,get:function(){return!0}},options:{configurable:!0,get:function(){return r}},originalFunction:{configurable:!0,get:function(){return a}}});var o=t;Pl(a,o)}function FO(t,e){return LO(t,e),DO(t,e),t}var NO=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.element"):60103;function BO(t,e,n){var r=t(Xn({maxArgs:2,isShallowEqual:!0},n,{isReact:!1}));e.displayName||(e.displayName=e.name||"Component");function a(s,o,l){this.props=s,this.context=o,this.updater=l,this.MoizedComponent=r(e)}return a.prototype.isReactComponent={},a.prototype.render=function(){return{$$typeof:NO,type:this.MoizedComponent,props:this.props,ref:null,key:null,_owner:null}},Pl(e,a,["contextType","contextTypes"]),a.displayName="Moized("+(e.displayName||e.name||"Component")+")",Yv(a,e.name,n.profileName),a}function jO(t){return function(e){if(t>=e.length)return e;if(t===0)return[];if(t===1)return[e[0]];if(t===2)return[e[0],e[1]];if(t===3)return[e[0],e[1],e[2]];for(var n=[],r=0;r<t;r++)n[r]=e[r];return n}}function Fp(t,e){for(var n=t.length,r=0;r<n;++r)if(t[r]===e)return r+1;return 0}function UO(){var t=[],e=[];return function(r,a){var s=typeof a;if(s==="function"||s==="s
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/(function(t,e){(function(){var n,r="4.17.21",a=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",o="Expected a function",l="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",h=500,p="__lodash_placeholder__",_=1,v=2,m=4,b=1,T=2,I=1,S=2,L=4,Z=8,ne=16,B=32,ue=64,H=128,se=256,X=512,$e=30,ce="...",Re=800,Je=16,rt=1,Nt=2,yn=3,At=1/0,Yt=9007199254740991,wa=17976931348623157e292,ir=0/0,tn=4294967295,n1=tn-1,r1=tn>>>1,i1=[["ary",H],["bind",I],["bindKey",S],["curry",Z],["curryRight",ne],["flip",X],["partial",B],["partialRight",ue],["rearg",se]],Pr="[object Arguments]",Aa="[object Array]",a1="[object AsyncFunction]",wi="[object Boolean]",Ai="[object Date]",s1="[object DOMException]",Oa="[object Error]",Ta="[object Function]",Gf="[object GeneratorFunction]",Vt="[object Map]",Oi="[object Number]",u1="[object Null]",bn="[object Object]",zf="[object Promise]",o1="[object Proxy]",Ti="[object RegExp]",Zt="[object Set]",Si="[object String]",Sa="[object Symbol]",l1="[object Undefined]",Ci="[object WeakMap]",f1="[object WeakSet]",Ei="[object ArrayBuffer]",Mr="[object DataView]",fu="[object Float32Array]",cu="[object Float64Array]",hu="[object Int8Array]",pu="[object Int16Array]",gu="[object Int32Array]",_u="[object Uint8Array]",vu="[object Uint8ClampedArray]",du="[object Uint16Array]",$u="[object Uint32Array]",c1=/\b__p \+= '';/g,h1=/\b(__p \+=) '' \+/g,p1=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Hf=/&(?:amp|lt|gt|quot|#39);/g,Wf=/[&<>"']/g,g1=RegExp(Hf.source),_1=RegExp(Wf.source),v1=/<%-([\s\S]+?)%>/g,d1=/<%([\s\S]+?)%>/g,kf=/<%=([\s\S]+?)%>/g,$1=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,m1=/^\w*$/,y1=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,mu=/[\\^$.*+?()[\]{}|]/g,b1=RegExp(mu.source),yu=/^\s+/,w1=/\s/,A1=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,O1=/\{\n\/\* \[wrapped with (.+)\] \*/,T1=/,? & /,S1=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,C1=/[()=,{}\[\]\/\s]/,E1=/\\(\\)?/g,I1=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Yf=/\w*$/,P1=/^[-+]0x[0-9a-f]+$/i,M1=/^0b[01]+$/i,x1=/^\[object .+?Constructor\]$/,R1=/^0o[0-7]+$/i,L1=/^(?:0|[1-9]\d*)$/,D1=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ca=/($^)/,F1=/['\n\r\u2028\u2029\\]/g,Ea="\\ud800-\\udfff",N1="\\u0300-\\u036f",B1="\\ufe20-\\ufe2f",j1="\\u20d0-\\u20ff",Vf=N1+B1+j1,Zf="\\u2700-\\u27bf",Xf="a-z\\xdf-\\xf6\\xf8-\\xff",U1="\\xac\\xb1\\xd7\\xf7",q1="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",K1="\\u2000-\\u206f",G1=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Jf="A-Z\\xc0-\\xd6\\xd8-\\xde",Qf="\\ufe0e\\ufe0f",ec=U1+q1+K1+G1,bu="['\u2019]",z1="["+Ea+"]",tc="["+ec+"]",Ia="["+Vf+"]",nc="\\d+",H1="["+Zf+"]",rc="["+Xf+"]",ic="[^"+Ea+ec+nc+Zf+Xf+Jf+"]",wu="\\ud83c[\\udffb-\\udfff]",W1="(?:"+Ia+"|"+wu+")",ac="[^"+Ea+"]",Au="(?:\\ud83c[\\udde6-\\uddff]){2}",Ou="[\\ud800-\\udbff][\\udc00-\\udfff]",xr="["+Jf+"]",sc="\\u200d",uc="(?:"+rc+"|"+ic+")",k1="(?:"+xr+"|"+ic+")",oc="(?:"+bu+"(?:d|ll|m|re|s|t|ve))?",lc="(?:"+bu+"(?:D|LL|M|RE|S|T|VE))?",fc=W1+"?",cc="["+Qf+"]?",Y1="(?:"+sc+"(?:"+[ac,Au,Ou].join("|")+")"+cc+fc+")*",V1="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Z1="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",hc=cc+fc+Y1,X1="(?:"+[H1,Au,Ou].join("|")+")"+hc,J1="(?:"+[ac+Ia+"?",Ia,Au,Ou,z1].join("|")+")",Q1=RegExp(bu,"g"),em=RegExp(Ia,"g"),Tu=RegExp(wu+"(?="+wu+")|"+J1+hc,"g"),tm=RegExp([xr+"?"+rc+"+"+oc+"(?="+[tc,xr,"$"].join("|")+")",k1+"+"+lc+"(?="+[tc,xr+uc,"$"].join("|")+")",xr+"?"+uc+"+"+oc,xr+"+"+lc,Z1,V1,nc,X1].join("|"),"g"),nm=RegExp("["+sc+Ea+Vf+Qf+"]"),rm=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,im=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"]
/* [wrapped with `+u+`] */
`)}function w0(i){return de(i)||pr(i)||!!(Dc&&i&&i[Dc])}function Cn(i,u){var f=typeof i;return u=u==null?Yt:u,!!u&&(f=="number"||f!="symbol"&&L1.test(i))&&i>-1&&i%1==0&&i<u}function dt(i,u,f){if(!Ve(f))return!1;var g=typeof u;return(g=="number"?yt(f)&&Cn(u,f.length):g=="string"&&u in f)?Qt(f[u],i):!1}function ho(i,u){if(de(i))return!1;var f=typeof i;return f=="number"||f=="symbol"||f=="boolean"||i==null||Ct(i)?!0:m1.test(i)||!$1.test(i)||u!=null&&i in Fe(u)}function A0(i){var u=typeof i;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?i!=="__proto__":i===null}function po(i){var u=is(i),f=$[u];if(typeof f!="function"||!(u in Oe.prototype))return!1;if(i===f)return!0;var g=lo(f);return!!g&&i===g[0]}function O0(i){return!!Mc&&Mc in i}var T0=La?En:Mo;function qi(i){var u=i&&i.constructor,f=typeof u=="function"&&u.prototype||Nr;return i===f}function Mh(i){return i===i&&!Ve(i)}function xh(i,u){return function(f){return f==null?!1:f[i]===u&&(u!==n||i in Fe(f))}}function S0(i){var u=fs(i,function(g){return f.size===h&&f.clear(),g}),f=u.cache;return u}function C0(i,u){var f=i[1],g=u[1],d=f|g,y=d<(I|S|H),A=g==H&&f==Z||g==H&&f==se&&i[7].length<=u[8]||g==(H|se)&&u[7].length<=u[8]&&f==Z;if(!(y||A))return i;g&I&&(i[2]=u[2],d|=f&I?0:L);var O=u[3];if(O){var P=i[3];i[3]=P?gh(P,O,u[4]):O,i[4]=P?Un(i[3],p):u[4]}return O=u[5],O&&(P=i[5],i[5]=P?_h(P,O,u[6]):O,i[6]=P?Un(i[5],p):u[6]),O=u[7],O&&(i[7]=O),g&H&&(i[8]=i[8]==null?u[8]:ht(i[8],u[8])),i[9]==null&&(i[9]=u[9]),i[0]=u[0],i[1]=d,i}function E0(i){var u=[];if(i!=null)for(var f in Fe(i))u.push(f);return u}function I0(i){return Fa.call(i)}function Rh(i,u,f){return u=at(u===n?i.length-1:u,0),function(){for(var g=arguments,d=-1,y=at(g.length-u,0),A=x(y);++d<y;)A[d]=g[u+d];d=-1;for(var O=x(u+1);++d<u;)O[d]=g[d];return O[u]=f(A),Ot(i,this,O)}}function Lh(i,u){return u.length<2?i:fr(i,Gt(u,0,-1))}function P0(i,u){for(var f=i.length,g=ht(u.length,f),d=mt(i);g--;){var y=u[g];i[g]=Cn(y,f)?d[y]:n}return i}function go(i,u){if(!(u==="constructor"&&typeof i[u]=="function")&&u!="__proto__")return i[u]}var Dh=Nh(ih),Ki=Hm||function(i,u){return lt.setTimeout(i,u)},_o=Nh(Qy);function Fh(i,u,f){var g=u+"";return _o(i,b0(g,M0($0(g),f)))}function Nh(i){var u=0,f=0;return function(){var g=Vm(),d=Je-(g-f);if(f=g,d>0){if(++u>=Re)return arguments[0]}else u=0;return i.apply(n,arguments)}}function ss(i,u){var f=-1,g=i.length,d=g-1;for(u=u===n?g:u;++f<u;){var y=Xu(f,d),A=i[y];i[y]=i[f],i[f]=A}return i.length=u,i}var Bh=S0(function(i){var u=[];return i.charCodeAt(0)===46&&u.push(""),i.replace(y1,function(f,g,d,y){u.push(d?y.replace(E1,"$1"):g||f)}),u});function an(i){if(typeof i=="string"||Ct(i))return i;var u=i+"";return u=="0"&&1/i==-At?"-0":u}function hr(i){if(i!=null){try{return Da.call(i)}catch{}try{return i+""}catch{}}return""}function M0(i,u){return jt(i1,function(f){var g="_."+f[0];u&f[1]&&!Pa(i,g)&&i.push(g)}),i.sort()}function jh(i){if(i instanceof Oe)return i.clone();var u=new qt(i.__wrapped__,i.__chain__);return u.__actions__=mt(i.__actions__),u.__index__=i.__index__,u.__values__=i.__values__,u}function x0(i,u,f){(f?dt(i,u,f):u===n)?u=1:u=at(ye(u),0);var g=i==null?0:i.length;if(!g||u<1)return[];for(var d=0,y=0,A=x(Ka(g/u));d<g;)A[y++]=Gt(i,d,d+=u);return A}function R0(i){for(var u=-1,f=i==null?0:i.length,g=0,d=[];++u<f;){var y=i[u];y&&(d[g++]=y)}return d}function L0(){var i=arguments.length;if(!i)return[];for(var u=x(i-1),f=arguments[0],g=i;g--;)u[g-1]=arguments[g];return jn(de(f)?mt(f):[f],ft(u,1))}var D0=we(function(i,u){return Qe(i)?Fi(i,ft(u,1,Qe,!0)):[]}),F0=we(function(i,u){var f=zt(u);return Qe(f)&&(f=n),Qe(i)?Fi(i,ft(u,1,Qe,!0),he(f,2)):[]}),N0=we(function(i,u){var f=zt(u);return Qe(f)&&(f=n),Qe(i)?Fi(i,ft(u,1,Qe,!0),n,f):[]});function B0(i,u,f){var g=i==null?0:i.length;return g?(u=f||u===n?1:ye(u),Gt(i,u<0?0:u,g)):[]}function j0(i,u,f){var g=i==null?0:i.length;return g?(u=f||u===n?1:ye(u),u=g-u,Gt(i,0,u<0?0:u)):[]}function U0(i,u){return i&&i.length?Ja(i,he(u,3),!0,!0):[]}function q0(i,u){return i&&i.length?Ja(i,he(u,3),!0):[]}function K0(i,u,f,g){var d=i==null?0:i.length;return d?(f&&ty
`;i.replace(J,function(ge,Ae,Te,Et,$t,It){return Te||(Te=Et),z+=i.slice(U,It).replace(F1,Tm),Ae&&(O=!0,z+=`' +
__e(`+Ae+`) +
'`),$t&&(P=!0,z+=`';
`+$t+`;
__p += '`),Te&&(z+=`' +
((__t = (`+Te+`)) == null ? '' : __t) +
'`),U=It+ge.length,ge}),z+=`';
`;var pe=Le.call(u,"variable")&&u.variable;if(!pe)z=`with (obj) {
`+z+`
}
`;else if(C1.test(pe))throw new ve(l);z=(P?z.replace(c1,""):z).replace(h1,"$1").replace(p1,"$1;"),z="function("+(pe||"obj")+`) {
`+(pe?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(O?", __e = _.escape":"")+(P?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+z+`return __p
}`;var be=dp(function(){return Ie(y,ae+"return "+z).apply(n,A)});if(be.source=z,bo(be))throw be;return be}function XA(i){return Me(i).toLowerCase()}function JA(i){return Me(i).toUpperCase()}function QA(i,u,f){if(i=Me(i),i&&(f||u===n))return Sc(i);if(!i||!(u=St(u)))return i;var g=Xt(i),d=Xt(u),y=Cc(g,d),A=Ec(g,d)+1;return Hn(g,y,A).join("")}function e2(i,u,f){if(i=Me(i),i&&(f||u===n))return i.slice(0,Pc(i)+1);if(!i||!(u=St(u)))return i;var g=Xt(i),d=Ec(g,Xt(u))+1;return Hn(g,0,d).join("")}function t2(i,u,f){if(i=Me(i),i&&(f||u===n))return i.replace(yu,"");if(!i||!(u=St(u)))return i;var g=Xt(i),d=Cc(g,Xt(u));return Hn(g,d).join("")}function n2(i,u){var f=$e,g=ce;if(Ve(u)){var d="separator"in u?u.separator:d;f="length"in u?ye(u.length):f,g="omission"in u?St(u.omission):g}i=Me(i);var y=i.length;if(Lr(i)){var A=Xt(i);y=A.length}if(f>=y)return i;var O=f-Dr(g);if(O<1)return g;var P=A?Hn(A,0,O).join(""):i.slice(0,O);if(d===n)return P+g;if(A&&(O+=P.length-O),wo(d)){if(i.slice(O).search(d)){var U,q=P;for(d.global||(d=Nu(d.source,Me(Yf.exec(d))+"g")),d.lastIndex=0;U=d.exec(q);)var z=U.index;P=P.slice(0,z===n?O:z)}}else if(i.indexOf(St(d),O)!=O){var J=P.lastIndexOf(d);J>-1&&(P=P.slice(0,J))}return P+g}function r2(i){return i=Me(i),i&&g1.test(i)?i.replace(Hf,xm):i}var i2=Kr(function(i,u,f){return i+(f?" ":"")+u.toUpperCase()}),To=$h("toUpperCase");function vp(i,u,f){return i=Me(i),u=f?n:u,u===n?Cm(i)?Dm(i):$m(i):i.match(u)||[]}var dp=we(function(i,u){try{return Ot(i,n,u)}catch(f){return bo(f)?f:new ve(f)}}),a2=Sn(function(i,u){return jt(u,function(f){f=an(f),On(i,f,mo(i[f],i))}),i});function s2(i){var u=i==null?0:i.length,f=he();return i=u?We(i,function(g){if(typeof g[1]!="function")throw new Ut(o);return[f(g[0]),g[1]]}):[],we(function(g){for(var d=-1;++d<u;){var y=i[d];if(Ot(y[0],this,g))return Ot(y[1],this,g)}})}function u2(i){return xy(Kt(i,_))}function So(i){return function(){return i}}function o2(i,u){return i==null||i!==i?u:i}var l2=yh(),f2=yh(!0);function wt(i){return i}function Co(i){return Zc(typeof i=="function"?i:Kt(i,_))}function c2(i){return Jc(Kt(i,_))}function h2(i,u){return Qc(i,Kt(u,_))}var p2=we(function(i,u){return function(f){return Ni(f,i,u)}}),g2=we(function(i,u){return function(f){return Ni(i,f,u)}});function Eo(i,u,f){var g=ut(u),d=Va(u,g);f==null&&!(Ve(u)&&(d.length||!g.length))&&(f=u,u=i,i=this,d=Va(u,ut(u)));var y=!(Ve(f)&&"chain"in f)||!!f.chain,A=En(i);return jt(d,function(O){var P=u[O];i[O]=P,A&&(i.prototype[O]=function(){var U=this.__chain__;if(y||U){var q=i(this.__wrapped__),z=q.__actions__=mt(this.__actions__);return z.push({func:P,args:arguments,thisArg:i}),q.__chain__=U,q}return P.apply(i,jn([this.value()],arguments))})}),i}function _2(){return lt._===this&&(lt._=qm),this}function Io(){}function v2(i){return i=ye(i),we(function(u){return eh(u,i)})}var d2=ao(We),$2=ao(bc),m2=ao(Pu);function $p(i){return ho(i)?Mu(an(i)):Vy(i)}function y2(i){return function(u){return i==null?n:fr(i,u)}}var b2=wh(),w2=wh(!0);function Po(){return[]}function Mo(){return!1}function A2(){return{}}function O2(){return""}function T2(){return!0}function S2(i,u){if(i=ye(i),i<1||i>Yt)return[];var f=tn,g=ht(i,tn);u=he(u),i-=tn;for(var d=Lu(g,u);++f<i;)u(f);return d}function C2(i){return de(i)?We(i,an):Ct(i)?[i]:mt(Bh(Me(i)))}function E2(i){var u=++jm;return Me(i)+u}var I2=ts(function(i,u){return i+u},0),P2=so("ceil"),M2=ts(function(i,u){return i/u},1),x2=so("floor");function R2(i){return i&&i.length?Ya(i,wt,Hu):n}function L2(i,u){return i&&i.length?Ya(i,he(u,2),Hu):n}function D2(i){return Oc(i,wt)}function F2(i,u){return Oc(i,he(u,2))}function N2(i){return i&&i.length?Ya(i,wt,Vu):n}function B2(i,u){return i&&i.length?Ya(i,he(u,2),Vu):n}var j2=ts(function(i,u){return i*u},1),U2=so("round"),q2=ts(function(i,u){return i-u},0);function K2(i){return i&&i.length?Ru(i,wt):0}function G2(i,u){return i&&i.length?Ru(i,he(u,2)):0}return $.after=cw,$.ary=Vh,$.assign=Jw,$.assignIn=lp,$.assignInWith=gs,$.assignWith=Qw,$.at=eA,$.before=Zh,$.bind=mo,$.bindAll=a2,$.bindKey=Xh,$.castArray=Aw,$.chain=Wh,$.chunk=x0,$.compact=R0,$.concat=L0,$.cond=s2
`),r=D("a"),a=re("Full Thrust"),s=re(`
.`),o=Q(),l=D("p"),c=re(`The contruction rules are following the
`),h=D("a"),p=re("Cross Dimensions rules"),_=re(`
as closely as possible.`),v=Q(),m=D("p"),b=re(`The app is mostly developed for Firefox. I also check as much as I can that
I don't mess things too badly on Chrome. For the other browsers... caveat
emptor.`),T=Q(),I=D("p"),S=re(`Written by
`),L=D("a"),Z=re("Yanick Champoux"),ne=re(`
. Code available on
`),B=D("a"),ue=re("Github"),this.h()},l(H){e=F(H,"P",{class:!0});var se=j(e);n=ie(se,`This app is a ship builder for the game
`),r=F(se,"A",{href:!0});var X=j(r);a=ie(X,"Full Thrust"),X.forEach(w),s=ie(se,`
.`),se.forEach(w),o=ee(H),l=F(H,"P",{class:!0});var $e=j(l);c=ie($e,`The contruction rules are following the
`),h=F($e,"A",{href:!0});var ce=j(h);p=ie(ce,"Cross Dimensions rules"),ce.forEach(w),_=ie($e,`
as closely as possible.`),$e.forEach(w),v=ee(H),m=F(H,"P",{class:!0});var Re=j(m);b=ie(Re,`The app is mostly developed for Firefox. I also check as much as I can that
I don't mess things too badly on Chrome. For the other browsers... caveat
emptor.`),Re.forEach(w),T=ee(H),I=F(H,"P",{class:!0});var Je=j(I);S=ie(Je,`Written by
`),L=F(Je,"A",{href:!0});var rt=j(L);Z=ie(rt,"Yanick Champoux"),rt.forEach(w),ne=ie(Je,`
. Code available on
`),B=F(Je,"A",{href:!0});var Nt=j(B);ue=ie(Nt,"Github"),Nt.forEach(w),Je.forEach(w),this.h()},h(){E(r,"href","https://shop.groundzerogames.co.uk/rules.html"),E(e,"class","svelte-1mk8yef"),E(h,"href","http://members.ozemail.com.au/~laranzu/fullthrust/rules/"),E(l,"class","svelte-1mk8yef"),E(m,"class","svelte-1mk8yef"),E(L,"href","https://twitter.com/yenzie"),E(B,"href","https://github.com/aotds/aotds-shipyard"),E(I,"class","svelte-1mk8yef")},m(H,se){R(H,e,se),M(e,n),M(e,r),M(r,a),M(e,s),R(H,o,se),R(H,l,se),M(l,c),M(l,h),M(h,p),M(l,_),R(H,v,se),R(H,m,se),M(m,b),R(H,T,se),R(H,I,se),M(I,S),M(I,L),M(L,Z),M(I,ne),M(I,B),M(B,ue)},d(H){H&&w(e),H&&w(o),H&&w(l),H&&w(v),H&&w(m),H&&w(T),H&&w(I)}}}function xX(t){let e,n;return{c(){e=D("h2"),n=re("Welcome to the docks"),this.h()},l(r){e=F(r,"H2",{slot:!0,class:!0});var a=j(e);n=ie(a,"Welcome to the docks"),a.forEach(w),this.h()},h(){E(e,"slot","header"),E(e,"class","svelte-1mk8yef")},m(r,a){R(r,e,a),M(e,n)},d(r){r&&w(e)}}}function RX(t){let e;return{c(){e=D("div"),this.h()},l(n){e=F(n,"DIV",{slot:!0}),j(e).forEach(w),this.h()},h(){E(e,"slot","footer")},m(n,r){R(n,e,r)},d(n){n&&w(e)}}}function LX(t){let e,n;return e=new mX({props:{$$slots:{footer:[RX],header:[xX],default:[MX]},$$scope:{ctx:t}}}),{c(){W(e.$$.fragment)},l(r){V(e.$$.fragment,r)},m(r,a){k(e,r,a),n=!0},p(r,[a]){const s={};a&1&&(s.$$scope={dirty:a,ctx:r}),e.$set(s)},i(r){n||(K(e.$$.fragment,r),n=!0)},o(r){G(e.$$.fragment,r),n=!1},d(r){Y(e,r)}}}class DX extends oe{constructor(e){super();le(this,e,null,LX,fe,{})}}function FX(t){let e;return{c(){e=re("editor")},l(n){e=ie(n,"editor")},m(n,r){R(n,e,r)},d(n){n&&w(e)}}}function NX(t){let e;return{c(){e=re("json view")},l(n){e=ie(n,"json view")},m(n,r){R(n,e,r)},d(n){n&&w(e)}}}function BX(t){let e;return{c(){e=re("print view")},l(n){e=ie(n,"print view")},m(n,r){R(n,e,r)},d(n){n&&w(e)}}}function jX(t){let e,n,r,a,s,o;return e=new Ho({props:{tabid:"editor",$$slots:{default:[FX]},$$scope:{ctx:t}}}),r=new Ho({props:{tabid:"json",$$slots:{default:[NX]},$$scope:{ctx:t}}}),s=new Ho({props:{tabid:"print",$$slots:{default:[BX]},$$scope:{ctx:t}}}),{c(){W(e.$$.fragment),n=Q(),W(r.$$.fragment),a=Q(),W(s.$$.fragment)},l(l){V(e.$$.fragment,l),n=ee(l),V(r.$$.fragment,l),a=ee(l),V(s.$$.fragment,l)},m(l,c){k(e,l,c),R(l,n,c),k(r,l,c),R(l,a,c),k(s,l,c),o=!0},p(l,c){const h={};c&64&&(h.$$scope={dirty:c,ctx:l}),e.$set(h);const p={};c&64&&(p.$$scope={dirty:c,ctx:l}),r.$set(p);const _={};c&64&&(_.$$scope={dirty:c,ctx:l}),s.$set(_)},i(l){o||(K(e.$$.fragment,l),K(r.$$.fragment,l),K(s.$$.fragment,l),o=!0)},o(l){G(e.$$.fragment,l),G(r.$$.fragment,l),G(s.$$.fragment,l),o=!1},d(l){Y(e,l),l&&w(n),Y(r,l),l&&w(a),Y(s,l)}}}function UX(t){let e,n;return e=new DX({}),{c(){W(e.$$.fragment)},l(r){V(e.$$.fragment,r)},m(r,a){k(e,r,a),n=!0},i(r){n||(K(e.$$.fragment,r),n=!0)},o(r){G(e.$$.fragment,r),n=!1},d(r){Y(e,r)}}}function qX(t){let e,n,r,a,s,o,l,c,h,p,_,v,m,b,T,I,S,L,Z,ne,B,ue;function H(ce){t[3](ce)}let se={$$slots:{default:[jX]},$$scope:{ctx:t}};t[0]!==void 0&&(se.active=t[0]),T=new wX({props:se}),Xr.push(()=>ko(T,"active",H));function X(ce){t[4](ce)}let $e={$$slots:{default:[UX]},$$scope:{ctx:t}};return t[1]!==void 0&&($e.open=t[1]),L=new CX({props:$e}),Xr.push(()=>ko(L,"open",X)),{c(){e=D("header"),n=D("h1"),r=re("The Docks"),a=Q(),s=D("h2"),o=re("a "),l=D("a"),c=re("Full Thrust"),h=re(" ship builder"),p=Q(),_=D("a"),v=re("about the app"),m=Q(),b=D("div"),W(T.$$.fragment),S=Q(),W(L.$$.fragment),this.h()},l(ce){e=F(ce,"HEADER",{class:!0});var Re=j(e);n=F(Re,"H1",{class:!0});var Je=j(n);r=ie(Je,"The Docks"),Je.forEach(w),a=ee(Re),s=F(Re,"H2",{class:!0});var rt=j(s);o=ie(rt,"a "),l=F(rt,"A",{href:!0});var Nt=j(l);c=ie(Nt,"Full Thrust"),Nt.forEach(w),h=ie(rt," ship builder"),rt.forEach(w),p=ee(Re),_=F(Re,"A",{class:!0});var yn=j(_);v=ie(yn,"about the app"),yn.forEach(w),Re.forEach(w),m=ee(ce),b=F(ce,"DIV",{class:!0});var At=j(b);V(T.$$.fragment,At),At.forEach(w),S=ee(ce),V(L.$$.fragment,ce),this.h()},h(){E(n,"class","svelte-uwt8cz"),E(l,"href","https://shop.groundzerogames.co.uk/rules.html"),E(s,"class","svelte-
none`),s=Q(),o=D("label"),l=D("input"),c=re(`
partial`),h=Q(),p=D("label"),_=D("input"),v=re(`
full`),this.h()},l(T){e=F(T,"DIV",{class:!0});var I=j(e);n=F(I,"LABEL",{class:!0});var S=j(n);r=F(S,"INPUT",{type:!0}),a=ie(S,`
none`),S.forEach(w),s=ee(I),o=F(I,"LABEL",{class:!0});var L=j(o);l=F(L,"INPUT",{type:!0}),c=ie(L,`
partial`),L.forEach(w),h=ee(I),p=F(I,"LABEL",{class:!0});var Z=j(p);_=F(Z,"INPUT",{type:!0}),v=ie(Z,`
full`),Z.forEach(w),I.forEach(w),this.h()},h(){E(r,"type","radio"),r.__value="none",r.value=r.__value,t[6][0].push(r),E(n,"class","svelte-x5copc"),E(l,"type","radio"),l.__value="partial",l.value=l.__value,t[6][0].push(l),E(o,"class","svelte-x5copc"),E(_,"type","radio"),_.__value="full",_.value=_.__value,t[6][0].push(_),E(p,"class","svelte-x5copc"),E(e,"class","svelte-x5copc")},m(T,I){R(T,e,I),M(e,n),M(n,r),r.checked=r.__value===t[0],M(n,a),M(e,s),M(e,o),M(o,l),l.checked=l.__value===t[0],M(o,c),M(e,h),M(e,p),M(p,_),_.checked=_.__value===t[0],M(p,v),m||(b=[Pe(r,"change",t[5]),Pe(l,"change",t[7]),Pe(_,"change",t[8])],m=!0)},p(T,I){I&1&&(r.checked=r.__value===T[0]),I&1&&(l.checked=l.__value===T[0]),I&1&&(_.checked=_.__value===T[0])},d(T){T&&w(e),t[6][0].splice(t[6][0].indexOf(r),1),t[6][0].splice(t[6][0].indexOf(l),1),t[6][0].splice(t[6][0].indexOf(_),1),m=!1,ha(b)}}}function ZJ(t){let e,n;return e=new nt({props:{label:"streamlining",$$slots:{default:[VJ]},$$scope:{ctx:t}}}),{c(){W(e.$$.fragment)},l(r){V(e.$$.fragment,r)},m(r,a){k(e,r,a),n=!0},p(r,a){const s={};a&513&&(s.$$scope={dirty:a,ctx:r}),e.$set(s)},i(r){n||(K(e.$$.fragment,r),n=!0)},o(r){G(e.$$.fragment,r),n=!1},d(r){Y(e,r)}}}function XJ(t){let e,n;const r=[t[1]];let a={$$slots:{default:[ZJ]},$$scope:{ctx:t}};for(let s=0;s<r.length;s+=1)a=me(a,r[s]);return e=new kt({props:a}),{c(){W(e.$$.fragment)},l(s){V(e.$$.fragment,s)},m(s,o){k(e,s,o),n=!0},p(s,[o]){const l=o&2?Ee(r,[xe(s[1])]):{};o&513&&(l.$$scope={dirty:o,ctx:s}),e.$set(l)},i(s){n||(K(e.$$.fragment,s),n=!0)},o(s){G(e.$$.fragment,s),n=!1},d(s){Y(e,s)}}}function JJ(t,e,n){let r,a=De,s=()=>(a(),a=Z2(_,I=>n(4,r=I)),_);t.$$.on_destroy.push(()=>a());let{type:o="none"}=e,{reqs:l={}}=e,{dispatch:c,shipMass:h}=tt("ship"),{dispatch:p=c,shipMass:_=h}=e;s();const v=[[]];function m(){o=this.__value,n(0,o)}function b(){o=this.__value,n(0,o)}function T(){o=this.__value,n(0,o)}return t.$$set=I=>{"type"in I&&n(0,o=I.type),"reqs"in I&&n(1,l=I.reqs),"dispatch"in I&&n(3,p=I.dispatch),"shipMass"in I&&s(n(2,_=I.shipMass))},t.$$.update=()=>{t.$$.dirty&25&&p.setStreamlining({type:o,shipMass:r})},[o,l,_,p,r,m,v,b,T]}class QJ extends oe{constructor(e){super();le(this,e,JJ,XJ,fe,{type:0,reqs:1,dispatch:3,shipMass:2})}}function eQ(t){let e,n,r,a,s,o,l,c,h,p;const _=[t[0]];let v={};for(let B=0;B<_.length;B+=1)v=me(v,_[B]);e=new EJ({props:v});const m=[t[1]];let b={};for(let B=0;B<m.length;B+=1)b=me(b,m[B]);r=new LJ({props:b});const T=[t[4]];let I={};for(let B=0;B<T.length;B+=1)I=me(I,T[B]);s=new YJ({props:I});const S=[t[2]];let L={};for(let B=0;B<S.length;B+=1)L=me(L,S[B]);l=new jJ({props:L});const Z=[t[3]];let ne={};for(let B=0;B<Z.length;B+=1)ne=me(ne,Z[B]);return h=new QJ({props:ne}),{c(){W(e.$$.fragment),n=Q(),W(r.$$.fragment),a=Q(),W(s.$$.fragment),o=Q(),W(l.$$.fragment),c=Q(),W(h.$$.fragment)},l(B){V(e.$$.fragment,B),n=ee(B),V(r.$$.fragment,B),a=ee(B),V(s.$$.fragment,B),o=ee(B),V(l.$$.fragment,B),c=ee(B),V(h.$$.fragment,B)},m(B,ue){k(e,B,ue),R(B,n,ue),k(r,B,ue),R(B,a,ue),k(s,B,ue),R(B,o,ue),k(l,B,ue),R(B,c,ue),k(h,B,ue),p=!0},p(B,ue){const H=ue&1?Ee(_,[xe(B[0])]):{};e.$set(H);const se=ue&2?Ee(m,[xe(B[1])]):{};r.$set(se);const X=ue&16?Ee(T,[xe(B[4])]):{};s.$set(X);const $e=ue&4?Ee(S,[xe(B[2])]):{};l.$set($e);const ce=ue&8?Ee(Z,[xe(B[3])]):{};h.$set(ce)},i(B){p||(K(e.$$.fragment,B),K(r.$$.fragment,B),K(s.$$.fragment,B),K(l.$$.fragment,B),K(h.$$.fragment,B),p=!0)},o(B){G(e.$$.fragment,B),G(r.$$.fragment,B),G(s.$$.fragment,B),G(l.$$.fragment,B),G(h.$$.fragment,B),p=!1},d(B){Y(e,B),B&&w(n),Y(r,B),B&&w(a),Y(s,B),B&&w(o),Y(l,B),B&&w(c),Y(h,B)}}}function tQ(t){let e,n;return e=new ou({props:{label:"structure",$$slots:{default:[eQ]},$$scope:{ctx:t}}}),{c(){W(e.$$.fragment)},l(r){V(e.$$.fragment,r)},m(r,a){k(e,r,a),n=!0},p(r,[a]){const s={};a&63&&(s.$$scope={dirty:a,ctx:r}),e.$set(s)},i(r){n||(K(e.$$.fragment,r),n=!0)},o(r){G(e.$$.fragment,r),n=!1},d(r){Y(e,r)}}}function nQ(t,e,n){let{hull:r={}}=e,{screens:a={}}=e,{cargo:s={}}=e,{streamlining:o={}}=e,{armor:l={}}=e;return t.$$set=c=>{"hull"in c&&n(0,r=c.hull),"screens"in c&&n(1,a=c.scr
\xA0
`),W(m.$$.fragment),this.h()},l(I){e=F(I,"H1",{class:!0});var S=j(e);n=ie(S,"ship name: "),r=F(S,"DIV",{class:!0}),j(r).forEach(w),S.forEach(w),a=ee(I),s=F(I,"DIV",{class:!0});var L=j(s);o=F(L,"H2",{class:!0});var Z=j(o);T&&T.l(Z),l=ee(Z),c=ie(Z,t[1]),Z.forEach(w),h=ee(L),p=F(L,"DIV",{class:!0});var ne=j(p);V(_.$$.fragment,ne),v=ie(ne,`
\xA0
`),V(m.$$.fragment,ne),ne.forEach(w),L.forEach(w),this.h()},h(){E(r,"class","fill svelte-1v8962g"),E(e,"class","svelte-1v8962g"),E(o,"class","svelte-1v8962g"),E(p,"class","reqs svelte-1v8962g"),E(s,"class","details svelte-1v8962g")},m(I,S){R(I,e,S),M(e,n),M(e,r),R(I,a,S),R(I,s,S),M(s,o),T&&T.m(o,null),M(o,l),M(o,c),M(s,h),M(s,p),k(_,p,null),M(p,v),k(m,p,null),b=!0},p(I,[S]){I[0]?T?T.p(I,S):(T=Av(I),T.c(),T.m(o,l)):T&&(T.d(1),T=null),(!b||S&2)&&_t(c,I[1]);const L={};S&4&&(L.cost=I[2]),_.$set(L);const Z={};S&8&&(Z.mass=I[3]),m.$set(Z)},i(I){b||(K(_.$$.fragment,I),K(m.$$.fragment,I),b=!0)},o(I){G(_.$$.fragment,I),G(m.$$.fragment,I),b=!1},d(I){I&&w(e),I&&w(a),I&&w(s),T&&T.d(),Y(_),Y(m)}}}function vee(t,e,n){let{shipClass:r}=e,{shipType:a}=e,{cost:s=0}=e,{mass:o=0}=e;return t.$$set=l=>{"shipClass"in l&&n(0,r=l.shipClass),"shipType"in l&&n(1,a=l.shipType),"cost"in l&&n(2,s=l.cost),"mass"in l&&n(3,o=l.mass)},[r,a,s,o]}class dee extends oe{constructor(e){super();le(this,e,vee,_ee,fe,{shipClass:0,shipType:1,cost:2,mass:3})}}function Ov(t){let e,n;return{c(){e=D("img"),this.h()},l(r){e=F(r,"IMG",{class:!0,src:!0,alt:!0}),this.h()},h(){E(e,"class","ftl svelte-shcd13"),ei(e.src,n="icons/ftl-drive.svg")||E(e,"src",n),E(e,"alt","ftl drive")},m(r,a){R(r,e,a)},d(r){r&&w(e)}}}function Tv(t){let e,n;return{c(){e=D("div"),n=re(t[1]),this.h()},l(r){e=F(r,"DIV",{class:!0});var a=j(e);n=ie(a,t[1]),a.forEach(w),this.h()},h(){E(e,"class","thrust svelte-shcd13")},m(r,a){R(r,e,a),M(e,n)},p(r,a){a&2&&_t(n,r[1])},d(r){r&&w(e)}}}function $ee(t){let e,n,r,a,s,o=t[0]!=="none"&&Ov(),l=t[1]>0&&Tv(t);return{c(){e=D("div"),o&&o.c(),n=Q(),l&&l.c(),r=Q(),a=D("img"),this.h()},l(c){e=F(c,"DIV",{class:!0});var h=j(e);o&&o.l(h),n=ee(h),l&&l.l(h),r=ee(h),a=F(h,"IMG",{class:!0,src:!0,alt:!0}),h.forEach(w),this.h()},h(){E(a,"class","internal svelte-shcd13"),ei(a.src,s="icons/internal-systems.svg")||E(a,"src",s),E(a,"alt","internal systems"),E(e,"class","main_systems svelte-shcd13")},m(c,h){R(c,e,h),o&&o.m(e,null),M(e,n),l&&l.m(e,null),M(e,r),M(e,a)},p(c,[h]){c[0]!=="none"?o||(o=Ov(),o.c(),o.m(e,n)):o&&(o.d(1),o=null),c[1]>0?l?l.p(c,h):(l=Tv(c),l.c(),l.m(e,r)):l&&(l.d(1),l=null)},i:De,o:De,d(c){c&&w(e),o&&o.d(),l&&l.d()}}}function mee(t,e,n){let{ftl:r="none"}=e,{engine:a=0}=e;return t.$$set=s=>{"ftl"in s&&n(0,r=s.ftl),"engine"in s&&n(1,a=s.engine)},[r,a]}class yee extends oe{constructor(e){super();le(this,e,mee,$ee,fe,{ftl:0,engine:1})}}function Sv(t,e,n){const r=t.slice();return r[7]=e[n],r[9]=n,r}function Cv(t,e,n){const r=t.slice();return r[10]=e[n],r[12]=n,r}function Ev(t){let e,n;return{c(){e=D("img"),this.h()},l(r){e=F(r,"IMG",{src:!0,alt:!0,class:!0}),this.h()},h(){ei(e.src,n="icons/crew-star.svg")||E(e,"src",n),E(e,"alt","crew loss threshold"),E(e,"class","svelte-1uhhjap")},m(r,a){R(r,e,a)},d(r){r&&w(e)}}}function Iv(t,e){let n,r=e[10]&&Ev();return{key:t,first:null,c(){n=D("div"),r&&r.c(),this.h()},l(a){n=F(a,"DIV",{class:!0});var s=j(n);r&&r.l(s),s.forEach(w),this.h()},h(){E(n,"class","cell svelte-1uhhjap"),this.first=n},m(a,s){R(a,n,s),r&&r.m(n,null)},p(a,s){e=a,e[10]?r||(r=Ev(),r.c(),r.m(n,null)):r&&(r.d(1),r=null)},d(a){a&&w(n),r&&r.d()}}}function Pv(t,e){let n,r=[],a=new Map,s,o=e[7];const l=c=>c[12];for(let c=0;c<o.length;c+=1){let h=Cv(e,o,c),p=l(h);a.set(p,r[c]=Iv(p,h))}return{key:t,first:null,c(){n=D("div");for(let c=0;c<r.length;c+=1)r[c].c();s=Q(),this.h()},l(c){n=F(c,"DIV",{class:!0});var h=j(n);for(let p=0;p<r.length;p+=1)r[p].l(h);s=ee(h),h.forEach(w),this.h()},h(){E(n,"class","row svelte-1uhhjap"),this.first=n},m(c,h){R(c,n,h);for(let p=0;p<r.length;p+=1)r[p].m(n,null);M(n,s)},p(c,h){e=c,h&1&&(o=e[7],r=Wt(r,h,l,1,e,o,a,n,Qn,Iv,s,Cv))},d(c){c&&w(n);for(let h=0;h<r.length;h+=1)r[h].d()}}}function bee(t){let e,n=[],r=new Map,a=t[0];const s=o=>o[9];for(let o=0;o<a.length;o+=1){let l=Sv(t,a,o),c=s(l);r.set(c,n[o]=Pv(c,l))}return{c(){e=D("div");for(let o=0;o<n.length;o+=1)n[o].c()},l(o){e=F(o,"DIV",{});var l=j(e);for(let c=0;c<n.length;c+=1)n[c].l(l);l.forEach(w)},m(o,l){R(o,e,l);for(let c=0;c<n.length;c+=1)n[c].m(e,null)},p(o,[l]){l&1&&(a