pages release
This commit is contained in:
parent
9507cd81e5
commit
25731dcfd1
File diff suppressed because one or more lines are too long
4
docs/_app/chunks/index-3711c71a.js
Normal file
4
docs/_app/chunks/index-3711c71a.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{E as b,s as m,F as q,G as w,H as z}from"./index-68fa7044.js";const o=[];function A(s,i){return{subscribe:x(s,i).subscribe}}function x(s,i=b){let u;const n=new Set;function a(t){if(m(s,t)&&(s=t,u)){const r=!o.length;for(const e of n)e[1](),o.push(e,s);if(r){for(let e=0;e<o.length;e+=2)o[e][0](o[e+1]);o.length=0}}}function l(t){a(t(s))}function f(t,r=b){const e=[t,r];return n.add(e),n.size===1&&(u=i(a)||b),t(s),()=>{n.delete(e),n.size===0&&(u(),u=null)}}return{set:a,update:l,subscribe:f}}function G(s,i,u){const n=!Array.isArray(s),a=n?[s]:s,l=i.length<2;return A(u,f=>{let t=!1;const r=[];let e=0,d=b;const _=()=>{if(e)return;d();const c=i(n?r[0]:r,f);l?f(c):d=z(c)?c:b},h=a.map((c,p)=>q(c,y=>{r[p]=y,e&=~(1<<p),t&&_()},()=>{e|=1<<p}));return t=!0,_(),function(){w(h),d()}})}let g="",E="";function H(s){g=s.base,E=s.assets||g}export{E as a,g as b,G as d,A as r,H as s,x as w};
|
||||
import{E as b,s as m,F as q,G as w,H as z}from"./index-3711c71a.js";const o=[];function A(s,i){return{subscribe:x(s,i).subscribe}}function x(s,i=b){let u;const n=new Set;function a(t){if(m(s,t)&&(s=t,u)){const r=!o.length;for(const e of n)e[1](),o.push(e,s);if(r){for(let e=0;e<o.length;e+=2)o[e][0](o[e+1]);o.length=0}}}function l(t){a(t(s))}function f(t,r=b){const e=[t,r];return n.add(e),n.size===1&&(u=i(a)||b),t(s),()=>{n.delete(e),n.size===0&&(u(),u=null)}}return{set:a,update:l,subscribe:f}}function G(s,i,u){const n=!Array.isArray(s),a=n?[s]:s,l=i.length<2;return A(u,f=>{let t=!1;const r=[];let e=0,d=b;const _=()=>{if(e)return;d();const c=i(n?r[0]:r,f);l?f(c):d=z(c)?c:b},h=a.map((c,p)=>q(c,y=>{r[p]=y,e&=~(1<<p),t&&_()},()=>{e|=1<<p}));return t=!0,_(),function(){w(h),d()}})}let g="",E="";function H(s){g=s.base,E=s.assets||g}export{E as a,g as b,G as d,A as r,H as s,x as w};
|
@ -1 +1 @@
|
||||
import{S as w,i as y,s as z,e as E,t as v,c as d,a as b,h as P,d as o,g as u,M as R,j as N,k as S,l as C,m as j,E as H}from"./chunks/index-68fa7044.js";function M(r){let l,t=r[1].frame+"",a;return{c(){l=E("pre"),a=v(t)},l(f){l=d(f,"PRE",{});var s=b(l);a=P(s,t),s.forEach(o)},m(f,s){u(f,l,s),R(l,a)},p(f,s){s&2&&t!==(t=f[1].frame+"")&&N(a,t)},d(f){f&&o(l)}}}function h(r){let l,t=r[1].stack+"",a;return{c(){l=E("pre"),a=v(t)},l(f){l=d(f,"PRE",{});var s=b(l);a=P(s,t),s.forEach(o)},m(f,s){u(f,l,s),R(l,a)},p(f,s){s&2&&t!==(t=f[1].stack+"")&&N(a,t)},d(f){f&&o(l)}}}function A(r){let l,t,a,f,s=r[1].message+"",c,k,n,p,i=r[1].frame&&M(r),_=r[1].stack&&h(r);return{c(){l=E("h1"),t=v(r[0]),a=S(),f=E("pre"),c=v(s),k=S(),i&&i.c(),n=S(),_&&_.c(),p=C()},l(e){l=d(e,"H1",{});var m=b(l);t=P(m,r[0]),m.forEach(o),a=j(e),f=d(e,"PRE",{});var q=b(f);c=P(q,s),q.forEach(o),k=j(e),i&&i.l(e),n=j(e),_&&_.l(e),p=C()},m(e,m){u(e,l,m),R(l,t),u(e,a,m),u(e,f,m),R(f,c),u(e,k,m),i&&i.m(e,m),u(e,n,m),_&&_.m(e,m),u(e,p,m)},p(e,[m]){m&1&&N(t,e[0]),m&2&&s!==(s=e[1].message+"")&&N(c,s),e[1].frame?i?i.p(e,m):(i=M(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),e[1].stack?_?_.p(e,m):(_=h(e),_.c(),_.m(p.parentNode,p)):_&&(_.d(1),_=null)},i:H,o:H,d(e){e&&o(l),e&&o(a),e&&o(f),e&&o(k),i&&i.d(e),e&&o(n),_&&_.d(e),e&&o(p)}}}function F({error:r,status:l}){return{props:{error:r,status:l}}}function B(r,l,t){let{status:a}=l,{error:f}=l;return r.$$set=s=>{"status"in s&&t(0,a=s.status),"error"in s&&t(1,f=s.error)},[a,f]}class G extends w{constructor(l){super();y(this,l,B,A,z,{status:0,error:1})}}export{G as default,F as load};
|
||||
import{S as w,i as y,s as z,e as E,t as v,c as d,a as b,h as P,d as o,g as u,M as R,j as N,k as S,l as C,m as j,E as H}from"./chunks/index-3711c71a.js";function M(r){let l,t=r[1].frame+"",a;return{c(){l=E("pre"),a=v(t)},l(f){l=d(f,"PRE",{});var s=b(l);a=P(s,t),s.forEach(o)},m(f,s){u(f,l,s),R(l,a)},p(f,s){s&2&&t!==(t=f[1].frame+"")&&N(a,t)},d(f){f&&o(l)}}}function h(r){let l,t=r[1].stack+"",a;return{c(){l=E("pre"),a=v(t)},l(f){l=d(f,"PRE",{});var s=b(l);a=P(s,t),s.forEach(o)},m(f,s){u(f,l,s),R(l,a)},p(f,s){s&2&&t!==(t=f[1].stack+"")&&N(a,t)},d(f){f&&o(l)}}}function A(r){let l,t,a,f,s=r[1].message+"",c,k,n,p,i=r[1].frame&&M(r),_=r[1].stack&&h(r);return{c(){l=E("h1"),t=v(r[0]),a=S(),f=E("pre"),c=v(s),k=S(),i&&i.c(),n=S(),_&&_.c(),p=C()},l(e){l=d(e,"H1",{});var m=b(l);t=P(m,r[0]),m.forEach(o),a=j(e),f=d(e,"PRE",{});var q=b(f);c=P(q,s),q.forEach(o),k=j(e),i&&i.l(e),n=j(e),_&&_.l(e),p=C()},m(e,m){u(e,l,m),R(l,t),u(e,a,m),u(e,f,m),R(f,c),u(e,k,m),i&&i.m(e,m),u(e,n,m),_&&_.m(e,m),u(e,p,m)},p(e,[m]){m&1&&N(t,e[0]),m&2&&s!==(s=e[1].message+"")&&N(c,s),e[1].frame?i?i.p(e,m):(i=M(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),e[1].stack?_?_.p(e,m):(_=h(e),_.c(),_.m(p.parentNode,p)):_&&(_.d(1),_=null)},i:H,o:H,d(e){e&&o(l),e&&o(a),e&&o(f),e&&o(k),i&&i.d(e),e&&o(n),_&&_.d(e),e&&o(p)}}}function F({error:r,status:l}){return{props:{error:r,status:l}}}function B(r,l,t){let{status:a}=l,{error:f}=l;return r.$$set=s=>{"status"in s&&t(0,a=s.status),"error"in s&&t(1,f=s.error)},[a,f]}class G extends w{constructor(l){super();y(this,l,B,A,z,{status:0,error:1})}}export{G as default,F as load};
|
@ -1 +1 @@
|
||||
import{S as l,i,s as r,I as u,J as f,K as _,L as c,q as p,o as d}from"./chunks/index-68fa7044.js";function m(n){let s;const o=n[1].default,e=u(o,n,n[0],null);return{c(){e&&e.c()},l(t){e&&e.l(t)},m(t,a){e&&e.m(t,a),s=!0},p(t,[a]){e&&e.p&&(!s||a&1)&&f(e,o,t,t[0],s?c(o,t[0],a,null):_(t[0]),null)},i(t){s||(p(e,t),s=!0)},o(t){d(e,t),s=!1},d(t){e&&e.d(t)}}}function $(n,s,o){let{$$slots:e={},$$scope:t}=s;return n.$$set=a=>{"$$scope"in a&&o(0,t=a.$$scope)},[t,e]}class h extends l{constructor(s){super();i(this,s,$,m,r,{})}}export{h as default};
|
||||
import{S as l,i,s as r,I as u,J as f,K as _,L as c,q as p,o as d}from"./chunks/index-3711c71a.js";function m(n){let s;const o=n[1].default,e=u(o,n,n[0],null);return{c(){e&&e.c()},l(t){e&&e.l(t)},m(t,a){e&&e.m(t,a),s=!0},p(t,[a]){e&&e.p&&(!s||a&1)&&f(e,o,t,t[0],s?c(o,t[0],a,null):_(t[0]),null)},i(t){s||(p(e,t),s=!0)},o(t){d(e,t),s=!1},d(t){e&&e.d(t)}}}function $(n,s,o){let{$$slots:e={},$$scope:t}=s;return n.$$set=a=>{"$$scope"in a&&o(0,t=a.$$scope)},[t,e]}class h extends l{constructor(s){super();i(this,s,$,m,r,{})}}export{h as default};
|
@ -1,11 +1,11 @@
|
||||
{
|
||||
".svelte-kit/runtime/client/start.js": {
|
||||
"file": "start-c91a3eca.js",
|
||||
"file": "start-91f194db.js",
|
||||
"src": ".svelte-kit/runtime/client/start.js",
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"_index-68fa7044.js",
|
||||
"_paths-5d155410.js"
|
||||
"_index-3711c71a.js",
|
||||
"_paths-5193a87e.js"
|
||||
],
|
||||
"dynamicImports": [
|
||||
".svelte-kit/runtime/components/layout.svelte",
|
||||
@ -14,47 +14,47 @@
|
||||
]
|
||||
},
|
||||
".svelte-kit/runtime/components/layout.svelte": {
|
||||
"file": "layout.svelte-a7c34f1e.js",
|
||||
"file": "layout.svelte-4620a56f.js",
|
||||
"src": ".svelte-kit/runtime/components/layout.svelte",
|
||||
"isEntry": true,
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"_index-68fa7044.js"
|
||||
"_index-3711c71a.js"
|
||||
]
|
||||
},
|
||||
".svelte-kit/runtime/components/error.svelte": {
|
||||
"file": "error.svelte-7544dc29.js",
|
||||
"file": "error.svelte-a52588a9.js",
|
||||
"src": ".svelte-kit/runtime/components/error.svelte",
|
||||
"isEntry": true,
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"_index-68fa7044.js"
|
||||
"_index-3711c71a.js"
|
||||
]
|
||||
},
|
||||
"src/routes/index.svelte": {
|
||||
"file": "pages/index.svelte-bdd7f07b.js",
|
||||
"file": "pages/index.svelte-87b4df47.js",
|
||||
"src": "src/routes/index.svelte",
|
||||
"isEntry": true,
|
||||
"isDynamicEntry": true,
|
||||
"imports": [
|
||||
"_index-68fa7044.js",
|
||||
"_paths-5d155410.js"
|
||||
"_index-3711c71a.js",
|
||||
"_paths-5193a87e.js"
|
||||
],
|
||||
"css": [
|
||||
"assets/pages/index.svelte-3edfd478.css"
|
||||
"assets/pages/index.svelte-455f749d.css"
|
||||
],
|
||||
"assets": [
|
||||
"assets/Faktos-34d5460e.ttf",
|
||||
"assets/Dosis-VariableFont_wght-994868c0.ttf"
|
||||
]
|
||||
},
|
||||
"_index-68fa7044.js": {
|
||||
"file": "chunks/index-68fa7044.js"
|
||||
"_index-3711c71a.js": {
|
||||
"file": "chunks/index-3711c71a.js"
|
||||
},
|
||||
"_paths-5d155410.js": {
|
||||
"file": "chunks/paths-5d155410.js",
|
||||
"_paths-5193a87e.js": {
|
||||
"file": "chunks/paths-5193a87e.js",
|
||||
"imports": [
|
||||
"_index-68fa7044.js"
|
||||
"_index-3711c71a.js"
|
||||
]
|
||||
}
|
||||
}
|
406
docs/_app/pages/index.svelte-87b4df47.js
Normal file
406
docs/_app/pages/index.svelte-87b4df47.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
{"version":"1649256192683"}
|
||||
{"version":"1649293948524"}
|
@ -5,14 +5,14 @@
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta http-equiv="content-security-policy" content="">
|
||||
<link rel="modulepreload" href="/aotds-docks/_app/start-c91a3eca.js">
|
||||
<link rel="modulepreload" href="/aotds-docks/_app/chunks/index-68fa7044.js">
|
||||
<link rel="modulepreload" href="/aotds-docks/_app/chunks/paths-5d155410.js">
|
||||
<link rel="modulepreload" href="/aotds-docks/_app/start-91f194db.js">
|
||||
<link rel="modulepreload" href="/aotds-docks/_app/chunks/index-3711c71a.js">
|
||||
<link rel="modulepreload" href="/aotds-docks/_app/chunks/paths-5193a87e.js">
|
||||
</head>
|
||||
<body>
|
||||
<div id="svelte">
|
||||
<script type="module" data-hydrate="45h">
|
||||
import { start } from "/aotds-docks/_app/start-c91a3eca.js";
|
||||
import { start } from "/aotds-docks/_app/start-91f194db.js";
|
||||
start({
|
||||
target: document.querySelector('[data-hydrate="45h"]').parentNode,
|
||||
paths: {"base":"/aotds-docks","assets":"/aotds-docks"},
|
||||
|
53
src/lib/store/ship.js.orig
Normal file
53
src/lib/store/ship.js.orig
Normal file
@ -0,0 +1,53 @@
|
||||
import { browser, dev } from "$app/env";
|
||||
import { readable, get, derived } from "svelte/store";
|
||||
import { compose, applyMiddleware } from "redux";
|
||||
|
||||
import shipDux from "../shipDux/index.js";
|
||||
import { initial } from "lodash";
|
||||
|
||||
let composeEnhancers = compose;
|
||||
|
||||
if (dev && browser && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__) {
|
||||
composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__;
|
||||
}
|
||||
|
||||
export default () => {
|
||||
<<<<<<< HEAD
|
||||
const duxStore = shipDux.createStore(undefined, (mw) =>
|
||||
composeEnhancers(applyMiddleware(mw))
|
||||
);
|
||||
|
||||
=======
|
||||
|
||||
let initialState = undefined;
|
||||
|
||||
if( browser ) {
|
||||
const i =localStorage.getItem('ship');
|
||||
|
||||
if(i) initialState = JSON.parse(localStorage.getItem('ship'));
|
||||
}
|
||||
|
||||
const duxStore = shipDux.createStore(initialState, (mw) =>
|
||||
composeEnhancers(applyMiddleware(mw))
|
||||
);
|
||||
|
||||
>>>>>>> main
|
||||
let previous;
|
||||
const state = readable(duxStore.getState(), (set) => {
|
||||
duxStore.subscribe(() => {
|
||||
if (previous === duxStore.getState()) return;
|
||||
previous = duxStore.getState();
|
||||
set(previous);
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
if( browser ) localStorage.setItem('ship', JSON.stringify(previous));
|
||||
>>>>>>> main
|
||||
});
|
||||
});
|
||||
|
||||
return {
|
||||
dispatch: duxStore.dispatch,
|
||||
state,
|
||||
shipMass: derived(state, (state) => state.reqs.mass),
|
||||
};
|
||||
};
|
37
svelte.config.js.orig
Normal file
37
svelte.config.js.orig
Normal file
@ -0,0 +1,37 @@
|
||||
import adapter from "@sveltejs/adapter-static";
|
||||
import analyze from "rollup-plugin-analyzer";
|
||||
|
||||
<<<<<<< HEAD
|
||||
const dev = process.env.NODE_ENV === 'development';
|
||||
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
export default {
|
||||
kit: {
|
||||
adapter: adapter({ fallback: 'index.html' }),
|
||||
paths: { base: dev? '' : "/aotds-docks" },
|
||||
vite: {
|
||||
build: {
|
||||
rollupOptions: {
|
||||
plugins: [analyze()],
|
||||
// external: ['updux','@yanick/updeep']
|
||||
},
|
||||
},
|
||||
=======
|
||||
const dev = process.env.NODE_ENV === "development";
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
export default {
|
||||
kit: {
|
||||
adapter: adapter({ fallback: "index.html" }),
|
||||
paths: { base: dev ? "" : "/aotds-docks" },
|
||||
vite: {
|
||||
build: {
|
||||
rollupOptions: {
|
||||
plugins: [analyze()],
|
||||
// external: ['updux','@yanick/updeep']
|
||||
>>>>>>> main
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
Loading…
Reference in New Issue
Block a user