2 lines
95 KiB
JavaScript
2 lines
95 KiB
JavaScript
|
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 w,F as x,G as E,H as I,I as O,J as k,K as D,L as M,M as A,N as P,O as T,P as C,Q as S,R as N,T as j,U as V,V as q,W as L,X as F,Y as B,Z as U,_ as H,$ as z,a0 as G,a1 as R,a2 as W,a3 as Y,a4 as J,a5 as Z,a6 as X,a7 as K,a8 as Q,a9 as tt,h as et,aa as st,ab as nt,ac as at,ad as rt,j as ct,m as lt,o as ot,v as it,r as ut,w as $t,ae as ht,af as ft,ag as pt,ah as dt,ai as mt,l as gt,D as vt,B as yt,aj as bt,u as _t,E as wt,p as xt,q as Et,ak as It,A as Ot,al as kt,am as Dt,an as Mt,ao as At,ap as Pt,aq as Tt,ar as Ct,as as St,at as Nt,au as jt,x as Vt}from"../chunks/vendor-6371dcb3.js";function qt(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){w(t,e,u),x(e,s),x(s,n),x(e,a),x(e,r),x(r,c),x(r,l),x(l,o),x(r,i)},p:E,i:E,o:E,d(t){t&&v(e)}}}class Lt extends i{constructor(t){super(),u(this,t,null,qt,$,{})}}function Ft(t){let e,s,n,a,r;return{c(){e=h("a"),s=I("svg"),n=I("path"),a=I("path"),r=I("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"),O(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"),O(s,"fill","#151513"),O(s,"color","#fff"),O(s,"position","absolute"),O(s,"top","0"),O(s,"border","0"),O(s,"right","0"),b(s,"aria-hidden","true"),b(e,"href","https://github.com/yanick/aotds-shipyard"),b(e,"class","github-corner"),b(e,"aria-label","View source on GitHub")},m(t,c){w(t,e,c),x(e,s),x(s,n),x(s,a),x(s,r)},p:E,i:E,o:E,d(t){t&&v(e)}}}class Bt extends i{constructor(t){super(),u(this,t,null,Ft,$,{})}}const Ut=(t={})=>[T(["cost","mass"],t),...Object.values(t||{}).filter((t=>"object"==typeof t)).map((t=>Ut(t)))];function Ht(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]=t[c]);return s})(e,["general"]);const i=k(Ut,D,M(
|