aotds-docks/docs/_app/pages/index.svelte-71d76324.js

2 lines
96 KiB
JavaScript
Raw Normal View History

2021-06-13 17:15:45 +00:00
var t=Object.defineProperty,e=Object.defineProperties,s=Object.getOwnPropertyDescriptors,n=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable,c=(e,s,n)=>s in e?t(e,s,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[s]=n,l=(t,e)=>{for(var s in e||(e={}))a.call(e,s)&&c(t,s,e[s]);if(n)for(var s of n(e))r.call(e,s)&&c(t,s,e[s]);return t},o=(t,n)=>e(t,s(n));import{S as i,i as u,s as $,e as h,t as f,k as p,c as d,a as m,g,d as v,n as y,b,f as _,F as w,G as x,H as E,I,J as O,K as k,L as D,M,N as A,O as P,P as T,Q as C,R as S,T as N,U as j,V,W as q,X as L,Y as F,Z as B,_ as U,$ as H,a0 as z,a1 as G,a2 as R,a3 as W,a4 as Y,a5 as J,a6 as Z,a7 as X,a8 as K,a9 as Q,h as tt,aa as et,ab as st,ac as nt,ad as at,j as rt,m as ct,o as lt,v as ot,r as it,w as ut,ae as $t,af as ht,ag as ft,ah as pt,ai as dt,l as mt,D as gt,B as vt,aj as yt,u as bt,E as _t,p as wt,q as xt,ak as Et,A as It,al as Ot,am as kt,an as Dt,ao as Mt,ap as At,aq as Pt,ar as Tt,as as Ct,at as St,au as Nt,x as jt,av as Vt}from"../chunks/vendor-d7482fce.js";import{b as qt}from"../chunks/paths-45dac81d.js";function Lt(t){let e,s,n,a,r,c,l,o,i;return{c(){e=h("header"),s=h("h1"),n=f("The Docks"),a=p(),r=h("h2"),c=f("a "),l=h("a"),o=f("Full Thrust"),i=f(" ship builder"),this.h()},l(t){e=d(t,"HEADER",{class:!0});var u=m(e);s=d(u,"H1",{class:!0});var $=m(s);n=g($,"The Docks"),$.forEach(v),a=y(u),r=d(u,"H2",{class:!0});var h=m(r);c=g(h,"a "),l=d(h,"A",{href:!0});var f=m(l);o=g(f,"Full Thrust"),f.forEach(v),i=g(h," ship builder"),h.forEach(v),u.forEach(v),this.h()},h(){b(s,"class","svelte-1me5k9w"),b(l,"href","https://shop.groundzerogames.co.uk/rules.html"),b(r,"class","svelte-1me5k9w"),b(e,"class","svelte-1me5k9w")},m(t,u){_(t,e,u),w(e,s),w(s,n),w(e,a),w(e,r),w(r,c),w(r,l),w(l,o),w(r,i)},p:x,i:x,o:x,d(t){t&&v(e)}}}class Ft extends i{constructor(t){super(),u(this,t,null,Lt,$,{})}}function Bt(t){let e,s,n,a,r;return{c(){e=h("a"),s=E("svg"),n=E("path"),a=E("path"),r=E("path"),this.h()},l(t){e=d(t,"A",{href:!0,class:!0,"aria-label":!0});var c=m(e);s=d(c,"svg",{width:!0,height:!0,viewBox:!0,style:!0,"aria-hidden":!0},1);var l=m(s);n=d(l,"path",{d:!0},1),m(n).forEach(v),a=d(l,"path",{d:!0,fill:!0,style:!0,class:!0},1),m(a).forEach(v),r=d(l,"path",{d:!0,fill:!0,class:!0},1),m(r).forEach(v),l.forEach(v),c.forEach(v),this.h()},h(){b(n,"d","M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"),b(a,"d","M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"),b(a,"fill","currentColor"),I(a,"transform-origin","130px 106px"),b(a,"class","octo-arm"),b(r,"d","M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"),b(r,"fill","currentColor"),b(r,"class","octo-body"),b(s,"width","80"),b(s,"height","80"),b(s,"viewBox","0 0 250 250"),I(s,"fill","#151513"),I(s,"color","#fff"),I(s,"position","absolute"),I(s,"top","0"),I(s,"border","0"),I(s,"right","0"),b(s,"aria-hidden","true"),b(e,"href",Ut),b(e,"class","github-corner"),b(e,"aria-label","View source on GitHub")},m(t,c){_(t,e,c),w(e,s),w(s,n),w(s,a),w(s,r)},p:x,i:x,o:x,d(t){t&&v(e)}}}const Ut="https://github.com/aotds/aotds-docks";class Ht extends i{constructor(t){super(),u(this,t,null,Bt,$,{})}}const zt=(t={})=>[P(["cost","mass"],t),...Object.values(t||{}).filter((t=>"object"==typeof t)).map((t=>zt(t)))];function Gt(t){console.log(t);let e=t,{general:s}=e,c=((t,e)=>{var s={};for(var c in t)a.call(t,c)&&e.indexOf(c)<0&&(s[c]=t[c]);if(null!=t&&n)for(var c of n(t))e.indexOf(c)<0&&r.call(t,c)&&(s[c]