remove build
This commit is contained in:
parent
e98bc6a688
commit
80894eca58
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,6 +1,5 @@
|
||||
.DS_Store
|
||||
node_modules
|
||||
/build
|
||||
/.svelte-kit
|
||||
/package
|
||||
.env
|
||||
|
1
build/client/_app/immutable/assets/0.675f064e.css
Normal file
1
build/client/_app/immutable/assets/0.675f064e.css
Normal file
@ -0,0 +1 @@
|
||||
h1{color:purple}section p{color:#00f;font-size:30px}nav.svelte-1oqqfea{border:1px solid green}header.svelte-mw7wrq.svelte-mw7wrq{border:1px solid red}header.svelte-mw7wrq h1.svelte-mw7wrq{font-size:2.4rem}footer.svelte-1lfmg61{border:1px solid blue}
|
1
build/client/_app/immutable/assets/2.5db023af.css
Normal file
1
build/client/_app/immutable/assets/2.5db023af.css
Normal file
@ -0,0 +1 @@
|
||||
main.svelte-1u03z1s{border:1px solid black}p.svelte-1u03z1s{color:#00f}
|
1
build/client/_app/immutable/assets/4.805c7000.css
Normal file
1
build/client/_app/immutable/assets/4.805c7000.css
Normal file
@ -0,0 +1 @@
|
||||
div.svelte-iatflv p.svelte-iatflv{color:red}
|
1
build/client/_app/immutable/assets/_layout.675f064e.css
Normal file
1
build/client/_app/immutable/assets/_layout.675f064e.css
Normal file
@ -0,0 +1 @@
|
||||
h1{color:purple}section p{color:#00f;font-size:30px}nav.svelte-1oqqfea{border:1px solid green}header.svelte-mw7wrq.svelte-mw7wrq{border:1px solid red}header.svelte-mw7wrq h1.svelte-mw7wrq{font-size:2.4rem}footer.svelte-1lfmg61{border:1px solid blue}
|
1
build/client/_app/immutable/assets/_page.5db023af.css
Normal file
1
build/client/_app/immutable/assets/_page.5db023af.css
Normal file
@ -0,0 +1 @@
|
||||
main.svelte-1u03z1s{border:1px solid black}p.svelte-1u03z1s{color:#00f}
|
1
build/client/_app/immutable/assets/_page.805c7000.css
Normal file
1
build/client/_app/immutable/assets/_page.805c7000.css
Normal file
@ -0,0 +1 @@
|
||||
div.svelte-iatflv p.svelte-iatflv{color:red}
|
1
build/client/_app/immutable/chunks/index.5ae4157e.js
Normal file
1
build/client/_app/immutable/chunks/index.5ae4157e.js
Normal file
File diff suppressed because one or more lines are too long
1
build/client/_app/immutable/chunks/scheduler.e108d1fd.js
Normal file
1
build/client/_app/immutable/chunks/scheduler.e108d1fd.js
Normal file
@ -0,0 +1 @@
|
||||
function k(){}function x(t,n){for(const e in n)t[e]=n[e];return t}function w(t){return t()}function z(){return Object.create(null)}function j(t){t.forEach(w)}function F(t){return typeof t=="function"}function P(t,n){return t!=t?n==n:t!==n||t&&typeof t=="object"||typeof t=="function"}function S(t){return Object.keys(t).length===0}function E(t,...n){if(t==null){for(const o of n)o(void 0);return k}const e=t.subscribe(...n);return e.unsubscribe?()=>e.unsubscribe():e}function U(t,n,e){t.$$.on_destroy.push(E(n,e))}function A(t,n,e,o){if(t){const r=g(t,n,e,o);return t[0](r)}}function g(t,n,e,o){return t[1]&&o?x(e.ctx.slice(),t[1](o(n))):e.ctx}function B(t,n,e,o){if(t[2]&&o){const r=t[2](o(e));if(n.dirty===void 0)return r;if(typeof r=="object"){const a=[],f=Math.max(n.dirty.length,r.length);for(let s=0;s<f;s+=1)a[s]=n.dirty[s]|r[s];return a}return n.dirty|r}return n.dirty}function C(t,n,e,o,r,a){if(r){const f=g(n,e,o,a);t.p(f,r)}}function D(t){if(t.ctx.length>32){const n=[],e=t.ctx.length/32;for(let o=0;o<e;o++)n[o]=-1;return n}return-1}let i;function d(t){i=t}function m(){if(!i)throw new Error("Function called outside component initialization");return i}function G(t){m().$$.on_mount.push(t)}function H(t){m().$$.after_update.push(t)}const l=[],p=[];let u=[];const b=[],y=Promise.resolve();let h=!1;function v(){h||(h=!0,y.then(q))}function I(){return v(),y}function O(t){u.push(t)}const _=new Set;let c=0;function q(){if(c!==0)return;const t=i;do{try{for(;c<l.length;){const n=l[c];c++,d(n),M(n.$$)}}catch(n){throw l.length=0,c=0,n}for(d(null),l.length=0,c=0;p.length;)p.pop()();for(let n=0;n<u.length;n+=1){const e=u[n];_.has(e)||(_.add(e),e())}u.length=0}while(l.length);for(;b.length;)b.pop()();h=!1,_.clear(),d(t)}function M(t){if(t.fragment!==null){t.update(),j(t.before_update);const n=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,n),t.after_update.forEach(O)}}function J(t){const n=[],e=[];u.forEach(o=>t.indexOf(o)===-1?n.push(o):e.push(o)),e.forEach(o=>o()),u=n}export{H as a,p as b,A as c,B as d,U as e,z as f,D as g,q as h,F as i,S as j,O as k,J as l,i as m,k as n,G as o,d as p,w as q,j as r,P as s,I as t,C as u,l as v,v as w};
|
@ -0,0 +1 @@
|
||||
import{n as d,s as v}from"./scheduler.e108d1fd.js";const u=[];function p(e,t=d){let n;const o=new Set;function r(s){if(v(e,s)&&(e=s,n)){const c=!u.length;for(const l of o)l[1](),u.push(l,e);if(c){for(let l=0;l<u.length;l+=2)u[l][0](u[l+1]);u.length=0}}}function i(s){r(s(e))}function a(s,c=d){const l=[s,c];return o.add(l),o.size===1&&(n=t(r,i)||d),s(e),()=>{o.delete(l),o.size===0&&n&&(n(),n=null)}}return{set:r,update:i,subscribe:a}}var g;const E=((g=globalThis.__sveltekit_rrbcpm)==null?void 0:g.base)??"";var k;const w=((k=globalThis.__sveltekit_rrbcpm)==null?void 0:k.assets)??E,A="1695207502521",y="sveltekit:snapshot",I="sveltekit:scroll",x="sveltekit:index",_={tap:1,hover:2,viewport:3,eager:4,off:-1};function O(e){let t=e.baseURI;if(!t){const n=e.getElementsByTagName("base");t=n.length?n[0].href:e.URL}return t}function U(){return{x:pageXOffset,y:pageYOffset}}function f(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const b={..._,"":_.hover};function m(e){let t=e.assignedSlot??e.parentNode;return(t==null?void 0:t.nodeType)===11&&(t=t.host),t}function L(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=m(e)}}function N(e,t){let n;try{n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const o=e instanceof SVGAElement?e.target.baseVal:e.target,r=!n||!!o||S(n,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),i=(n==null?void 0:n.origin)===location.origin&&e.hasAttribute("download");return{url:n,external:r,target:o,download:i}}function P(e){let t=null,n=null,o=null,r=null,i=null,a=null,s=e;for(;s&&s!==document.documentElement;)o===null&&(o=f(s,"preload-code")),r===null&&(r=f(s,"preload-data")),t===null&&(t=f(s,"keepfocus")),n===null&&(n=f(s,"noscroll")),i===null&&(i=f(s,"reload")),a===null&&(a=f(s,"replacestate")),s=m(s);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return null}}return{preload_code:b[o??"off"],preload_data:b[r??"off"],keep_focus:c(t),noscroll:c(n),reload:c(i),replace_state:c(a)}}function h(e){const t=p(e);let n=!0;function o(){n=!0,t.update(a=>a)}function r(a){n=!1,t.set(a)}function i(a){let s;return t.subscribe(c=>{(s===void 0||n&&c!==s)&&a(s=c)})}return{notify:o,set:r,subscribe:i}}function R(){const{set:e,subscribe:t}=p(!1);let n;async function o(){clearTimeout(n);try{const r=await fetch(`${w}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const a=(await r.json()).version!==A;return a&&(e(!0),clearTimeout(n)),a}catch{return!1}}return{subscribe:t,check:o}}function S(e,t){return e.origin!==location.origin||!e.pathname.startsWith(t)}function V(e){e.client}const Y={url:h({}),page:h({}),navigating:p(null),updated:R()};export{x as I,_ as P,I as S,y as a,N as b,P as c,Y as d,E as e,L as f,O as g,V as h,S as i,U as s};
|
1
build/client/_app/immutable/entry/app.02cfa3d8.js
Normal file
1
build/client/_app/immutable/entry/app.02cfa3d8.js
Normal file
File diff suppressed because one or more lines are too long
3
build/client/_app/immutable/entry/start.72dab473.js
Normal file
3
build/client/_app/immutable/entry/start.72dab473.js
Normal file
File diff suppressed because one or more lines are too long
1
build/client/_app/immutable/nodes/0.c6b7f96f.js
Normal file
1
build/client/_app/immutable/nodes/0.c6b7f96f.js
Normal file
@ -0,0 +1 @@
|
||||
import{s as d,n as c,c as E,u as S,g as b,d as k}from"../chunks/scheduler.e108d1fd.js";import{S as g,i as x,g as p,h,x as M,k as v,a as _,f as u,s as y,r as w,j as F,c as H,u as C,y as T,v as q,d as m,t as $,w as L}from"../chunks/index.5ae4157e.js";function N(o){let e,a='<ul><li><a href="/om">OM</a></li> <li><a href="/kurs">KURS</a></li></ul>';return{c(){e=p("nav"),e.innerHTML=a,this.h()},l(n){e=h(n,"NAV",{class:!0,"data-svelte-h":!0}),M(e)!=="svelte-xs80ax"&&(e.innerHTML=a),this.h()},h(){v(e,"class","svelte-1oqqfea")},m(n,l){_(n,e,l)},p:c,i:c,o:c,d(n){n&&u(e)}}}class O extends g{constructor(e){super(),x(this,e,null,N,d,{})}}function R(o){let e,a,n="SvelteKit",l,r,i;return r=new O({}),{c(){e=p("header"),a=p("h1"),a.textContent=n,l=y(),w(r.$$.fragment),this.h()},l(s){e=h(s,"HEADER",{class:!0});var t=F(e);a=h(t,"H1",{class:!0,"data-svelte-h":!0}),M(a)!=="svelte-1cpe83x"&&(a.textContent=n),l=H(t),C(r.$$.fragment,t),t.forEach(u),this.h()},h(){v(a,"class","svelte-mw7wrq"),v(e,"class","svelte-mw7wrq")},m(s,t){_(s,e,t),T(e,a),T(e,l),q(r,e,null),i=!0},p:c,i(s){i||(m(r.$$.fragment,s),i=!0)},o(s){$(r.$$.fragment,s),i=!1},d(s){s&&u(e),L(r)}}}class A extends g{constructor(e){super(),x(this,e,null,R,d,{})}}function K(o){let e,a="<p>footer</p>";return{c(){e=p("footer"),e.innerHTML=a,this.h()},l(n){e=h(n,"FOOTER",{class:!0,"data-svelte-h":!0}),M(e)!=="svelte-mbw76k"&&(e.innerHTML=a),this.h()},h(){v(e,"class","svelte-1lfmg61")},m(n,l){_(n,e,l)},p:c,i:c,o:c,d(n){n&&u(e)}}}class j extends g{constructor(e){super(),x(this,e,null,K,d,{})}}function D(o){let e,a,n,l,r;e=new A({});const i=o[1].default,s=E(i,o,o[0],null);return l=new j({}),{c(){w(e.$$.fragment),a=y(),s&&s.c(),n=y(),w(l.$$.fragment)},l(t){C(e.$$.fragment,t),a=H(t),s&&s.l(t),n=H(t),C(l.$$.fragment,t)},m(t,f){q(e,t,f),_(t,a,f),s&&s.m(t,f),_(t,n,f),q(l,t,f),r=!0},p(t,[f]){s&&s.p&&(!r||f&1)&&S(s,i,t,t[0],r?k(i,t[0],f,null):b(t[0]),null)},i(t){r||(m(e.$$.fragment,t),m(s,t),m(l.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),$(s,t),$(l.$$.fragment,t),r=!1},d(t){t&&(u(a),u(n)),L(e,t),s&&s.d(t),L(l,t)}}}function U(o,e,a){let{$$slots:n={},$$scope:l}=e;return o.$$set=r=>{"$$scope"in r&&a(0,l=r.$$scope)},[l,n]}class B extends g{constructor(e){super(),x(this,e,U,D,d,{})}}export{B as component};
|
1
build/client/_app/immutable/nodes/1.d912ddfa.js
Normal file
1
build/client/_app/immutable/nodes/1.d912ddfa.js
Normal file
@ -0,0 +1 @@
|
||||
import{s as S,n as _,e as x}from"../chunks/scheduler.e108d1fd.js";import{S as y,i as j,g as f,m as d,s as q,h as g,j as h,n as v,f as u,c as C,a as m,y as $,o as E}from"../chunks/index.5ae4157e.js";import{d as H}from"../chunks/singletons.c5f6caef.js";const P=()=>{const s=H;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},k={subscribe(s){return P().page.subscribe(s)}};function w(s){var b;let t,r=s[0].status+"",o,n,i,c=((b=s[0].error)==null?void 0:b.message)+"",l;return{c(){t=f("h1"),o=d(r),n=q(),i=f("p"),l=d(c)},l(e){t=g(e,"H1",{});var a=h(t);o=v(a,r),a.forEach(u),n=C(e),i=g(e,"P",{});var p=h(i);l=v(p,c),p.forEach(u)},m(e,a){m(e,t,a),$(t,o),m(e,n,a),m(e,i,a),$(i,l)},p(e,[a]){var p;a&1&&r!==(r=e[0].status+"")&&E(o,r),a&1&&c!==(c=((p=e[0].error)==null?void 0:p.message)+"")&&E(l,c)},i:_,o:_,d(e){e&&(u(t),u(n),u(i))}}}function z(s,t,r){let o;return x(s,k,n=>r(0,o=n)),[o]}let F=class extends y{constructor(t){super(),j(this,t,z,w,S,{})}};export{F as component};
|
1
build/client/_app/immutable/nodes/2.d9995499.js
Normal file
1
build/client/_app/immutable/nodes/2.d9995499.js
Normal file
@ -0,0 +1 @@
|
||||
import{s as i,n as s}from"../chunks/scheduler.e108d1fd.js";import{S as o,i as r,g as c,h as m,x as h,k as p,a as v,f as _}from"../chunks/index.5ae4157e.js";function d(n){let e,a='<h1>Welcome to SvelteKit med Jack</h1> <p class="svelte-1u03z1s">Visit <a href="https://kit.svelte.dev">kit.svelte.dev</a> to read the documentation</p>';return{c(){e=c("main"),e.innerHTML=a,this.h()},l(t){e=m(t,"MAIN",{class:!0,"data-svelte-h":!0}),h(e)!=="svelte-e842qm"&&(e.innerHTML=a),this.h()},h(){p(e,"class","svelte-1u03z1s")},m(t,l){v(t,e,l)},p:s,i:s,o:s,d(t){t&&_(e)}}}class g extends o{constructor(e){super(),r(this,e,null,d,i,{})}}export{g as component};
|
1
build/client/_app/immutable/nodes/3.af1c8f7a.js
Normal file
1
build/client/_app/immutable/nodes/3.af1c8f7a.js
Normal file
@ -0,0 +1 @@
|
||||
import{s as r,n}from"../chunks/scheduler.e108d1fd.js";import{S as l,i,g as m,h as c,x as p,a as f,f as u}from"../chunks/index.5ae4157e.js";function x(s){let t,a="kurs";return{c(){t=m("p"),t.textContent=a},l(e){t=c(e,"P",{"data-svelte-h":!0}),p(t)!=="svelte-b478y1"&&(t.textContent=a)},m(e,o){f(e,t,o)},p:n,i:n,o:n,d(e){e&&u(t)}}}class h extends l{constructor(t){super(),i(this,t,null,x,r,{})}}export{h as component};
|
1
build/client/_app/immutable/nodes/4.a10d64ed.js
Normal file
1
build/client/_app/immutable/nodes/4.a10d64ed.js
Normal file
@ -0,0 +1 @@
|
||||
import{s as C,n as o}from"../chunks/scheduler.e108d1fd.js";import{S as H,i as T,g as p,s as u,h as _,x as r,c as x,k as g,a as n,f as i}from"../chunks/index.5ae4157e.js";function L(d){let e,m="Om SvelteKit",v,s,f='<p class="svelte-iatflv">Hej</p>',c,l,h="<p>På dig</p>";return{c(){e=p("h2"),e.textContent=m,v=u(),s=p("div"),s.innerHTML=f,c=u(),l=p("section"),l.innerHTML=h,this.h()},l(t){e=_(t,"H2",{"data-svelte-h":!0}),r(e)!=="svelte-1hsv6g7"&&(e.textContent=m),v=x(t),s=_(t,"DIV",{class:!0,"data-svelte-h":!0}),r(s)!=="svelte-1huuvjq"&&(s.innerHTML=f),c=x(t),l=_(t,"SECTION",{"data-svelte-h":!0}),r(l)!=="svelte-ezj15c"&&(l.innerHTML=h),this.h()},h(){g(s,"class","svelte-iatflv")},m(t,a){n(t,e,a),n(t,v,a),n(t,s,a),n(t,c,a),n(t,l,a)},p:o,i:o,o,d(t){t&&(i(e),i(v),i(s),i(c),i(l))}}}class j extends H{constructor(e){super(),T(this,e,null,L,C,{})}}export{j as component};
|
1
build/client/_app/version.json
Normal file
1
build/client/_app/version.json
Normal file
@ -0,0 +1 @@
|
||||
{"version":"1695207502521"}
|
BIN
build/client/favicon.png
Normal file
BIN
build/client/favicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
37
build/env.js
Normal file
37
build/env.js
Normal file
@ -0,0 +1,37 @@
|
||||
/* global "" */
|
||||
|
||||
const expected = new Set([
|
||||
'SOCKET_PATH',
|
||||
'HOST',
|
||||
'PORT',
|
||||
'ORIGIN',
|
||||
'XFF_DEPTH',
|
||||
'ADDRESS_HEADER',
|
||||
'PROTOCOL_HEADER',
|
||||
'HOST_HEADER',
|
||||
'BODY_SIZE_LIMIT'
|
||||
]);
|
||||
|
||||
if ("") {
|
||||
for (const name in process.env) {
|
||||
if (name.startsWith("")) {
|
||||
const unprefixed = name.slice("".length);
|
||||
if (!expected.has(unprefixed)) {
|
||||
throw new Error(
|
||||
`You should change envPrefix (${""}) to avoid conflicts with existing environment variables — unexpectedly saw ${name}`
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} name
|
||||
* @param {any} fallback
|
||||
*/
|
||||
function env(name, fallback) {
|
||||
const prefixed = "" + name;
|
||||
return prefixed in process.env ? process.env[prefixed] : fallback;
|
||||
}
|
||||
|
||||
export { env };
|
1307
build/handler.js
Normal file
1307
build/handler.js
Normal file
File diff suppressed because it is too large
Load Diff
225
build/index.js
Normal file
225
build/index.js
Normal file
@ -0,0 +1,225 @@
|
||||
import { handler } from './handler.js';
|
||||
import { env } from './env.js';
|
||||
import http from 'http';
|
||||
import * as qs from 'querystring';
|
||||
|
||||
function parse$1 (str, loose) {
|
||||
if (str instanceof RegExp) return { keys:false, pattern:str };
|
||||
var c, o, tmp, ext, keys=[], pattern='', arr = str.split('/');
|
||||
arr[0] || arr.shift();
|
||||
|
||||
while (tmp = arr.shift()) {
|
||||
c = tmp[0];
|
||||
if (c === '*') {
|
||||
keys.push('wild');
|
||||
pattern += '/(.*)';
|
||||
} else if (c === ':') {
|
||||
o = tmp.indexOf('?', 1);
|
||||
ext = tmp.indexOf('.', 1);
|
||||
keys.push( tmp.substring(1, !!~o ? o : !!~ext ? ext : tmp.length) );
|
||||
pattern += !!~o && !~ext ? '(?:/([^/]+?))?' : '/([^/]+?)';
|
||||
if (!!~ext) pattern += (!!~o ? '?' : '') + '\\' + tmp.substring(ext);
|
||||
} else {
|
||||
pattern += '/' + tmp;
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
keys: keys,
|
||||
pattern: new RegExp('^' + pattern + (loose ? '(?=$|\/)' : '\/?$'), 'i')
|
||||
};
|
||||
}
|
||||
|
||||
class Trouter {
|
||||
constructor() {
|
||||
this.routes = [];
|
||||
|
||||
this.all = this.add.bind(this, '');
|
||||
this.get = this.add.bind(this, 'GET');
|
||||
this.head = this.add.bind(this, 'HEAD');
|
||||
this.patch = this.add.bind(this, 'PATCH');
|
||||
this.options = this.add.bind(this, 'OPTIONS');
|
||||
this.connect = this.add.bind(this, 'CONNECT');
|
||||
this.delete = this.add.bind(this, 'DELETE');
|
||||
this.trace = this.add.bind(this, 'TRACE');
|
||||
this.post = this.add.bind(this, 'POST');
|
||||
this.put = this.add.bind(this, 'PUT');
|
||||
}
|
||||
|
||||
use(route, ...fns) {
|
||||
let handlers = [].concat.apply([], fns);
|
||||
let { keys, pattern } = parse$1(route, true);
|
||||
this.routes.push({ keys, pattern, method:'', handlers });
|
||||
return this;
|
||||
}
|
||||
|
||||
add(method, route, ...fns) {
|
||||
let { keys, pattern } = parse$1(route);
|
||||
let handlers = [].concat.apply([], fns);
|
||||
this.routes.push({ keys, pattern, method, handlers });
|
||||
return this;
|
||||
}
|
||||
|
||||
find(method, url) {
|
||||
let isHEAD=(method === 'HEAD');
|
||||
let i=0, j=0, k, tmp, arr=this.routes;
|
||||
let matches=[], params={}, handlers=[];
|
||||
for (; i < arr.length; i++) {
|
||||
tmp = arr[i];
|
||||
if (tmp.method.length === 0 || tmp.method === method || isHEAD && tmp.method === 'GET') {
|
||||
if (tmp.keys === false) {
|
||||
matches = tmp.pattern.exec(url);
|
||||
if (matches === null) continue;
|
||||
if (matches.groups !== void 0) for (k in matches.groups) params[k]=matches.groups[k];
|
||||
tmp.handlers.length > 1 ? (handlers=handlers.concat(tmp.handlers)) : handlers.push(tmp.handlers[0]);
|
||||
} else if (tmp.keys.length > 0) {
|
||||
matches = tmp.pattern.exec(url);
|
||||
if (matches === null) continue;
|
||||
for (j=0; j < tmp.keys.length;) params[tmp.keys[j]]=matches[++j];
|
||||
tmp.handlers.length > 1 ? (handlers=handlers.concat(tmp.handlers)) : handlers.push(tmp.handlers[0]);
|
||||
} else if (tmp.pattern.test(url)) {
|
||||
tmp.handlers.length > 1 ? (handlers=handlers.concat(tmp.handlers)) : handlers.push(tmp.handlers[0]);
|
||||
}
|
||||
} // else not a match
|
||||
}
|
||||
|
||||
return { params, handlers };
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @typedef ParsedURL
|
||||
* @type {import('.').ParsedURL}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef Request
|
||||
* @property {string} url
|
||||
* @property {ParsedURL} _parsedUrl
|
||||
*/
|
||||
|
||||
/**
|
||||
* @param {Request} req
|
||||
* @returns {ParsedURL|void}
|
||||
*/
|
||||
function parse(req) {
|
||||
let raw = req.url;
|
||||
if (raw == null) return;
|
||||
|
||||
let prev = req._parsedUrl;
|
||||
if (prev && prev.raw === raw) return prev;
|
||||
|
||||
let pathname=raw, search='', query;
|
||||
|
||||
if (raw.length > 1) {
|
||||
let idx = raw.indexOf('?', 1);
|
||||
|
||||
if (idx !== -1) {
|
||||
search = raw.substring(idx);
|
||||
pathname = raw.substring(0, idx);
|
||||
if (search.length > 1) {
|
||||
query = qs.parse(search.substring(1));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return req._parsedUrl = { pathname, search, query, raw };
|
||||
}
|
||||
|
||||
function onError(err, req, res) {
|
||||
let code = typeof err.status === 'number' && err.status;
|
||||
code = res.statusCode = (code && code >= 100 ? code : 500);
|
||||
if (typeof err === 'string' || Buffer.isBuffer(err)) res.end(err);
|
||||
else res.end(err.message || http.STATUS_CODES[code]);
|
||||
}
|
||||
|
||||
const mount = fn => fn instanceof Polka ? fn.attach : fn;
|
||||
|
||||
class Polka extends Trouter {
|
||||
constructor(opts={}) {
|
||||
super();
|
||||
this.parse = parse;
|
||||
this.server = opts.server;
|
||||
this.handler = this.handler.bind(this);
|
||||
this.onError = opts.onError || onError; // catch-all handler
|
||||
this.onNoMatch = opts.onNoMatch || this.onError.bind(null, { status: 404 });
|
||||
this.attach = (req, res) => setImmediate(this.handler, req, res);
|
||||
}
|
||||
|
||||
use(base, ...fns) {
|
||||
if (base === '/') {
|
||||
super.use(base, fns.map(mount));
|
||||
} else if (typeof base === 'function' || base instanceof Polka) {
|
||||
super.use('/', [base, ...fns].map(mount));
|
||||
} else {
|
||||
super.use(base,
|
||||
(req, _, next) => {
|
||||
if (typeof base === 'string') {
|
||||
let len = base.length;
|
||||
base.startsWith('/') || len++;
|
||||
req.url = req.url.substring(len) || '/';
|
||||
req.path = req.path.substring(len) || '/';
|
||||
} else {
|
||||
req.url = req.url.replace(base, '') || '/';
|
||||
req.path = req.path.replace(base, '') || '/';
|
||||
}
|
||||
if (req.url.charAt(0) !== '/') {
|
||||
req.url = '/' + req.url;
|
||||
}
|
||||
next();
|
||||
},
|
||||
fns.map(mount),
|
||||
(req, _, next) => {
|
||||
req.path = req._parsedUrl.pathname;
|
||||
req.url = req.path + req._parsedUrl.search;
|
||||
next();
|
||||
}
|
||||
);
|
||||
}
|
||||
return this; // chainable
|
||||
}
|
||||
|
||||
listen() {
|
||||
(this.server = this.server || http.createServer()).on('request', this.attach);
|
||||
this.server.listen.apply(this.server, arguments);
|
||||
return this;
|
||||
}
|
||||
|
||||
handler(req, res, next) {
|
||||
let info = this.parse(req), path = info.pathname;
|
||||
let obj = this.find(req.method, req.path=path);
|
||||
|
||||
req.url = path + info.search;
|
||||
req.originalUrl = req.originalUrl || req.url;
|
||||
req.query = info.query || {};
|
||||
req.search = info.search;
|
||||
req.params = obj.params;
|
||||
|
||||
if (path.length > 1 && path.indexOf('%', 1) !== -1) {
|
||||
for (let k in req.params) {
|
||||
try { req.params[k] = decodeURIComponent(req.params[k]); }
|
||||
catch (e) { /* malform uri segment */ }
|
||||
}
|
||||
}
|
||||
|
||||
let i=0, arr=obj.handlers.concat(this.onNoMatch), len=arr.length;
|
||||
let loop = async () => res.finished || (i < len) && arr[i++](req, res, next);
|
||||
(next = next || (err => err ? this.onError(err, req, res, next) : loop().catch(next)))(); // init
|
||||
}
|
||||
}
|
||||
|
||||
function polka (opts) {
|
||||
return new Polka(opts);
|
||||
}
|
||||
|
||||
const path = env('SOCKET_PATH', false);
|
||||
const host = env('HOST', '0.0.0.0');
|
||||
const port = env('PORT', !path && '3000');
|
||||
|
||||
const server = polka().use(handler);
|
||||
|
||||
server.listen({ path, host, port }, () => {
|
||||
console.log(`Listening on ${path ? path : host + ':' + port}`);
|
||||
});
|
||||
|
||||
export { host, path, port, server };
|
9
build/server/chunks/0-d3be1c89.js
Normal file
9
build/server/chunks/0-d3be1c89.js
Normal file
@ -0,0 +1,9 @@
|
||||
const index = 0;
|
||||
let component_cache;
|
||||
const component = async () => component_cache ??= (await import('./_layout.svelte-9bc3433c.js')).default;
|
||||
const imports = ["_app/immutable/nodes/0.c6b7f96f.js","_app/immutable/chunks/scheduler.e108d1fd.js","_app/immutable/chunks/index.5ae4157e.js"];
|
||||
const stylesheets = ["_app/immutable/assets/0.675f064e.css"];
|
||||
const fonts = [];
|
||||
|
||||
export { component, fonts, imports, index, stylesheets };
|
||||
//# sourceMappingURL=0-d3be1c89.js.map
|
1
build/server/chunks/0-d3be1c89.js.map
Normal file
1
build/server/chunks/0-d3be1c89.js.map
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"0-d3be1c89.js","sources":["../../../.svelte-kit/adapter-node/nodes/0.js"],"sourcesContent":["\n\nexport const index = 0;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/_layout.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/0.c6b7f96f.js\",\"_app/immutable/chunks/scheduler.e108d1fd.js\",\"_app/immutable/chunks/index.5ae4157e.js\"];\nexport const stylesheets = [\"_app/immutable/assets/0.675f064e.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG,EAAE;AACvB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,8BAAoC,CAAC,EAAE,QAAQ;AAC1G,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,6CAA6C,CAAC,yCAAyC,EAAE;AAC1I,MAAC,WAAW,GAAG,CAAC,sCAAsC,EAAE;AACxD,MAAC,KAAK,GAAG;;;;"}
|
9
build/server/chunks/1-1ce25579.js
Normal file
9
build/server/chunks/1-1ce25579.js
Normal file
@ -0,0 +1,9 @@
|
||||
const index = 1;
|
||||
let component_cache;
|
||||
const component = async () => component_cache ??= (await import('./error.svelte-2a42fd80.js')).default;
|
||||
const imports = ["_app/immutable/nodes/1.d912ddfa.js","_app/immutable/chunks/scheduler.e108d1fd.js","_app/immutable/chunks/index.5ae4157e.js","_app/immutable/chunks/singletons.c5f6caef.js"];
|
||||
const stylesheets = [];
|
||||
const fonts = [];
|
||||
|
||||
export { component, fonts, imports, index, stylesheets };
|
||||
//# sourceMappingURL=1-1ce25579.js.map
|
1
build/server/chunks/1-1ce25579.js.map
Normal file
1
build/server/chunks/1-1ce25579.js.map
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"1-1ce25579.js","sources":["../../../.svelte-kit/adapter-node/nodes/1.js"],"sourcesContent":["\n\nexport const index = 1;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/fallbacks/error.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/1.d912ddfa.js\",\"_app/immutable/chunks/scheduler.e108d1fd.js\",\"_app/immutable/chunks/index.5ae4157e.js\",\"_app/immutable/chunks/singletons.c5f6caef.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG,EAAE;AACvB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAsC,CAAC,EAAE,QAAQ;AAC5G,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,6CAA6C,CAAC,yCAAyC,CAAC,8CAA8C,EAAE;AACzL,MAAC,WAAW,GAAG,GAAG;AAClB,MAAC,KAAK,GAAG;;;;"}
|
9
build/server/chunks/2-60b872d2.js
Normal file
9
build/server/chunks/2-60b872d2.js
Normal file
@ -0,0 +1,9 @@
|
||||
const index = 2;
|
||||
let component_cache;
|
||||
const component = async () => component_cache ??= (await import('./_page.svelte-25537e00.js')).default;
|
||||
const imports = ["_app/immutable/nodes/2.d9995499.js","_app/immutable/chunks/scheduler.e108d1fd.js","_app/immutable/chunks/index.5ae4157e.js"];
|
||||
const stylesheets = ["_app/immutable/assets/2.5db023af.css"];
|
||||
const fonts = [];
|
||||
|
||||
export { component, fonts, imports, index, stylesheets };
|
||||
//# sourceMappingURL=2-60b872d2.js.map
|
1
build/server/chunks/2-60b872d2.js.map
Normal file
1
build/server/chunks/2-60b872d2.js.map
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"2-60b872d2.js","sources":["../../../.svelte-kit/adapter-node/nodes/2.js"],"sourcesContent":["\n\nexport const index = 2;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/_page.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/2.d9995499.js\",\"_app/immutable/chunks/scheduler.e108d1fd.js\",\"_app/immutable/chunks/index.5ae4157e.js\"];\nexport const stylesheets = [\"_app/immutable/assets/2.5db023af.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG,EAAE;AACvB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAkC,CAAC,EAAE,QAAQ;AACxG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,6CAA6C,CAAC,yCAAyC,EAAE;AAC1I,MAAC,WAAW,GAAG,CAAC,sCAAsC,EAAE;AACxD,MAAC,KAAK,GAAG;;;;"}
|
9
build/server/chunks/3-4360e939.js
Normal file
9
build/server/chunks/3-4360e939.js
Normal file
@ -0,0 +1,9 @@
|
||||
const index = 3;
|
||||
let component_cache;
|
||||
const component = async () => component_cache ??= (await import('./_page.svelte-7f647b2a.js')).default;
|
||||
const imports = ["_app/immutable/nodes/3.af1c8f7a.js","_app/immutable/chunks/scheduler.e108d1fd.js","_app/immutable/chunks/index.5ae4157e.js"];
|
||||
const stylesheets = [];
|
||||
const fonts = [];
|
||||
|
||||
export { component, fonts, imports, index, stylesheets };
|
||||
//# sourceMappingURL=3-4360e939.js.map
|
1
build/server/chunks/3-4360e939.js.map
Normal file
1
build/server/chunks/3-4360e939.js.map
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"3-4360e939.js","sources":["../../../.svelte-kit/adapter-node/nodes/3.js"],"sourcesContent":["\n\nexport const index = 3;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/kurs/_page.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/3.af1c8f7a.js\",\"_app/immutable/chunks/scheduler.e108d1fd.js\",\"_app/immutable/chunks/index.5ae4157e.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG,EAAE;AACvB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAuC,CAAC,EAAE,QAAQ;AAC7G,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,6CAA6C,CAAC,yCAAyC,EAAE;AAC1I,MAAC,WAAW,GAAG,GAAG;AAClB,MAAC,KAAK,GAAG;;;;"}
|
9
build/server/chunks/4-5fd67c3f.js
Normal file
9
build/server/chunks/4-5fd67c3f.js
Normal file
@ -0,0 +1,9 @@
|
||||
const index = 4;
|
||||
let component_cache;
|
||||
const component = async () => component_cache ??= (await import('./_page.svelte-c2686a1e.js')).default;
|
||||
const imports = ["_app/immutable/nodes/4.a10d64ed.js","_app/immutable/chunks/scheduler.e108d1fd.js","_app/immutable/chunks/index.5ae4157e.js"];
|
||||
const stylesheets = ["_app/immutable/assets/4.805c7000.css"];
|
||||
const fonts = [];
|
||||
|
||||
export { component, fonts, imports, index, stylesheets };
|
||||
//# sourceMappingURL=4-5fd67c3f.js.map
|
1
build/server/chunks/4-5fd67c3f.js.map
Normal file
1
build/server/chunks/4-5fd67c3f.js.map
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"4-5fd67c3f.js","sources":["../../../.svelte-kit/adapter-node/nodes/4.js"],"sourcesContent":["\n\nexport const index = 4;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/om/_page.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/4.a10d64ed.js\",\"_app/immutable/chunks/scheduler.e108d1fd.js\",\"_app/immutable/chunks/index.5ae4157e.js\"];\nexport const stylesheets = [\"_app/immutable/assets/4.805c7000.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG,EAAE;AACvB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAqC,CAAC,EAAE,QAAQ;AAC3G,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,6CAA6C,CAAC,yCAAyC,EAAE;AAC1I,MAAC,WAAW,GAAG,CAAC,sCAAsC,EAAE;AACxD,MAAC,KAAK,GAAG;;;;"}
|
32
build/server/chunks/_layout.svelte-9bc3433c.js
Normal file
32
build/server/chunks/_layout.svelte-9bc3433c.js
Normal file
@ -0,0 +1,32 @@
|
||||
import { c as create_ssr_component, v as validate_component } from './ssr-7369fb3e.js';
|
||||
|
||||
const css$2 = {
|
||||
code: "nav.svelte-1oqqfea{border:1px solid green}",
|
||||
map: null
|
||||
};
|
||||
const Nav = create_ssr_component(($$result, $$props, $$bindings, slots) => {
|
||||
$$result.css.add(css$2);
|
||||
return `<nav class="svelte-1oqqfea" data-svelte-h="svelte-xs80ax"><ul><li><a href="/om">OM</a></li> <li><a href="/kurs">KURS</a></li></ul> </nav>`;
|
||||
});
|
||||
const css$1 = {
|
||||
code: "header.svelte-mw7wrq.svelte-mw7wrq{border:1px solid red}header.svelte-mw7wrq h1.svelte-mw7wrq{font-size:2.4rem}",
|
||||
map: null
|
||||
};
|
||||
const Header = create_ssr_component(($$result, $$props, $$bindings, slots) => {
|
||||
$$result.css.add(css$1);
|
||||
return `<header class="svelte-mw7wrq"><h1 class="svelte-mw7wrq" data-svelte-h="svelte-1cpe83x">SvelteKit</h1> ${validate_component(Nav, "Nav").$$render($$result, {}, {}, {})} </header>`;
|
||||
});
|
||||
const css = {
|
||||
code: "footer.svelte-1lfmg61{border:1px solid blue}",
|
||||
map: null
|
||||
};
|
||||
const Footer = create_ssr_component(($$result, $$props, $$bindings, slots) => {
|
||||
$$result.css.add(css);
|
||||
return `<footer class="svelte-1lfmg61" data-svelte-h="svelte-mbw76k"><p>footer</p> </footer>`;
|
||||
});
|
||||
const Layout = create_ssr_component(($$result, $$props, $$bindings, slots) => {
|
||||
return `${validate_component(Header, "Header").$$render($$result, {}, {}, {})} ${slots.default ? slots.default({}) : ``} ${validate_component(Footer, "Footer").$$render($$result, {}, {}, {})}`;
|
||||
});
|
||||
|
||||
export { Layout as default };
|
||||
//# sourceMappingURL=_layout.svelte-9bc3433c.js.map
|
1
build/server/chunks/_layout.svelte-9bc3433c.js.map
Normal file
1
build/server/chunks/_layout.svelte-9bc3433c.js.map
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"_layout.svelte-9bc3433c.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/_layout.svelte.js"],"sourcesContent":["import { c as create_ssr_component, v as validate_component } from \"../../chunks/ssr.js\";\nconst global = \"\";\nconst Nav_svelte_svelte_type_style_lang = \"\";\nconst css$2 = {\n code: \"nav.svelte-1oqqfea{border:1px solid green}\",\n map: null\n};\nconst Nav = create_ssr_component(($$result, $$props, $$bindings, slots) => {\n $$result.css.add(css$2);\n return `<nav class=\"svelte-1oqqfea\" data-svelte-h=\"svelte-xs80ax\"><ul><li><a href=\"/om\">OM</a></li> <li><a href=\"/kurs\">KURS</a></li></ul> </nav>`;\n});\nconst Header_svelte_svelte_type_style_lang = \"\";\nconst css$1 = {\n code: \"header.svelte-mw7wrq.svelte-mw7wrq{border:1px solid red}header.svelte-mw7wrq h1.svelte-mw7wrq{font-size:2.4rem}\",\n map: null\n};\nconst Header = create_ssr_component(($$result, $$props, $$bindings, slots) => {\n $$result.css.add(css$1);\n return `<header class=\"svelte-mw7wrq\"><h1 class=\"svelte-mw7wrq\" data-svelte-h=\"svelte-1cpe83x\">SvelteKit</h1> ${validate_component(Nav, \"Nav\").$$render($$result, {}, {}, {})} </header>`;\n});\nconst Footer_svelte_svelte_type_style_lang = \"\";\nconst css = {\n code: \"footer.svelte-1lfmg61{border:1px solid blue}\",\n map: null\n};\nconst Footer = create_ssr_component(($$result, $$props, $$bindings, slots) => {\n $$result.css.add(css);\n return `<footer class=\"svelte-1lfmg61\" data-svelte-h=\"svelte-mbw76k\"><p>footer</p> </footer>`;\n});\nconst Layout = create_ssr_component(($$result, $$props, $$bindings, slots) => {\n return `${validate_component(Header, \"Header\").$$render($$result, {}, {}, {})} ${slots.default ? slots.default({}) : ``} ${validate_component(Footer, \"Footer\").$$render($$result, {}, {}, {})}`;\n});\nexport {\n Layout as default\n};\n"],"names":[],"mappings":";;AAGA,MAAM,KAAK,GAAG;AACd,EAAE,IAAI,EAAE,4CAA4C;AACpD,EAAE,GAAG,EAAE,IAAI;AACX,CAAC,CAAC;AACF,MAAM,GAAG,GAAG,oBAAoB,CAAC,CAAC,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,KAAK;AAC3E,EAAE,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AAC1B,EAAE,OAAO,CAAC,yIAAyI,CAAC,CAAC;AACrJ,CAAC,CAAC,CAAC;AAEH,MAAM,KAAK,GAAG;AACd,EAAE,IAAI,EAAE,iHAAiH;AACzH,EAAE,GAAG,EAAE,IAAI;AACX,CAAC,CAAC;AACF,MAAM,MAAM,GAAG,oBAAoB,CAAC,CAAC,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,KAAK;AAC9E,EAAE,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AAC1B,EAAE,OAAO,CAAC,sGAAsG,EAAE,kBAAkB,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC,QAAQ,CAAC,QAAQ,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,UAAU,CAAC,CAAC;AAC5L,CAAC,CAAC,CAAC;AAEH,MAAM,GAAG,GAAG;AACZ,EAAE,IAAI,EAAE,8CAA8C;AACtD,EAAE,GAAG,EAAE,IAAI;AACX,CAAC,CAAC;AACF,MAAM,MAAM,GAAG,oBAAoB,CAAC,CAAC,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,KAAK;AAC9E,EAAE,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACxB,EAAE,OAAO,CAAC,oFAAoF,CAAC,CAAC;AAChG,CAAC,CAAC,CAAC;AACE,MAAC,MAAM,GAAG,oBAAoB,CAAC,CAAC,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,KAAK;AAC9E,EAAE,OAAO,CAAC,EAAE,kBAAkB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,QAAQ,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,kBAAkB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,QAAQ,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;AACnM,CAAC;;;;"}
|
13
build/server/chunks/_page.svelte-25537e00.js
Normal file
13
build/server/chunks/_page.svelte-25537e00.js
Normal file
@ -0,0 +1,13 @@
|
||||
import { c as create_ssr_component } from './ssr-7369fb3e.js';
|
||||
|
||||
const css = {
|
||||
code: "main.svelte-1u03z1s{border:1px solid black}p.svelte-1u03z1s{color:blue}",
|
||||
map: null
|
||||
};
|
||||
const Page = create_ssr_component(($$result, $$props, $$bindings, slots) => {
|
||||
$$result.css.add(css);
|
||||
return `<main class="svelte-1u03z1s" data-svelte-h="svelte-e842qm"><h1>Welcome to SvelteKit med Jack</h1> <p class="svelte-1u03z1s">Visit <a href="https://kit.svelte.dev">kit.svelte.dev</a> to read the documentation</p> </main>`;
|
||||
});
|
||||
|
||||
export { Page as default };
|
||||
//# sourceMappingURL=_page.svelte-25537e00.js.map
|
1
build/server/chunks/_page.svelte-25537e00.js.map
Normal file
1
build/server/chunks/_page.svelte-25537e00.js.map
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"_page.svelte-25537e00.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/_page.svelte.js"],"sourcesContent":["import { c as create_ssr_component } from \"../../chunks/ssr.js\";\nconst _page_svelte_svelte_type_style_lang = \"\";\nconst css = {\n code: \"main.svelte-1u03z1s{border:1px solid black}p.svelte-1u03z1s{color:blue}\",\n map: null\n};\nconst Page = create_ssr_component(($$result, $$props, $$bindings, slots) => {\n $$result.css.add(css);\n return `<main class=\"svelte-1u03z1s\" data-svelte-h=\"svelte-e842qm\"><h1>Welcome to SvelteKit med Jack</h1> <p class=\"svelte-1u03z1s\">Visit <a href=\"https://kit.svelte.dev\">kit.svelte.dev</a> to read the documentation</p> </main>`;\n});\nexport {\n Page as default\n};\n"],"names":[],"mappings":";;AAEA,MAAM,GAAG,GAAG;AACZ,EAAE,IAAI,EAAE,yEAAyE;AACjF,EAAE,GAAG,EAAE,IAAI;AACX,CAAC,CAAC;AACG,MAAC,IAAI,GAAG,oBAAoB,CAAC,CAAC,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,KAAK;AAC5E,EAAE,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACxB,EAAE,OAAO,CAAC,2NAA2N,CAAC,CAAC;AACvO,CAAC;;;;"}
|
8
build/server/chunks/_page.svelte-7f647b2a.js
Normal file
8
build/server/chunks/_page.svelte-7f647b2a.js
Normal file
@ -0,0 +1,8 @@
|
||||
import { c as create_ssr_component } from './ssr-7369fb3e.js';
|
||||
|
||||
const Page = create_ssr_component(($$result, $$props, $$bindings, slots) => {
|
||||
return `<p data-svelte-h="svelte-b478y1">kurs</p>`;
|
||||
});
|
||||
|
||||
export { Page as default };
|
||||
//# sourceMappingURL=_page.svelte-7f647b2a.js.map
|
1
build/server/chunks/_page.svelte-7f647b2a.js.map
Normal file
1
build/server/chunks/_page.svelte-7f647b2a.js.map
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"_page.svelte-7f647b2a.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/kurs/_page.svelte.js"],"sourcesContent":["import { c as create_ssr_component } from \"../../../chunks/ssr.js\";\nconst Page = create_ssr_component(($$result, $$props, $$bindings, slots) => {\n return `<p data-svelte-h=\"svelte-b478y1\">kurs</p>`;\n});\nexport {\n Page as default\n};\n"],"names":[],"mappings":";;AACK,MAAC,IAAI,GAAG,oBAAoB,CAAC,CAAC,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,KAAK;AAC5E,EAAE,OAAO,CAAC,yCAAyC,CAAC,CAAC;AACrD,CAAC;;;;"}
|
13
build/server/chunks/_page.svelte-c2686a1e.js
Normal file
13
build/server/chunks/_page.svelte-c2686a1e.js
Normal file
@ -0,0 +1,13 @@
|
||||
import { c as create_ssr_component } from './ssr-7369fb3e.js';
|
||||
|
||||
const css = {
|
||||
code: "div.svelte-iatflv p.svelte-iatflv{color:red}",
|
||||
map: null
|
||||
};
|
||||
const Page = create_ssr_component(($$result, $$props, $$bindings, slots) => {
|
||||
$$result.css.add(css);
|
||||
return `<h2 data-svelte-h="svelte-1hsv6g7">Om SvelteKit</h2> <div class="svelte-iatflv" data-svelte-h="svelte-1huuvjq"><p class="svelte-iatflv">Hej</p></div> <section data-svelte-h="svelte-ezj15c"><p>På dig</p></section>`;
|
||||
});
|
||||
|
||||
export { Page as default };
|
||||
//# sourceMappingURL=_page.svelte-c2686a1e.js.map
|
1
build/server/chunks/_page.svelte-c2686a1e.js.map
Normal file
1
build/server/chunks/_page.svelte-c2686a1e.js.map
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"_page.svelte-c2686a1e.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/om/_page.svelte.js"],"sourcesContent":["import { c as create_ssr_component } from \"../../../chunks/ssr.js\";\nconst _page_svelte_svelte_type_style_lang = \"\";\nconst css = {\n code: \"div.svelte-iatflv p.svelte-iatflv{color:red}\",\n map: null\n};\nconst Page = create_ssr_component(($$result, $$props, $$bindings, slots) => {\n $$result.css.add(css);\n return `<h2 data-svelte-h=\"svelte-1hsv6g7\">Om SvelteKit</h2> <div class=\"svelte-iatflv\" data-svelte-h=\"svelte-1huuvjq\"><p class=\"svelte-iatflv\">Hej</p></div> <section data-svelte-h=\"svelte-ezj15c\"><p>På dig</p></section>`;\n});\nexport {\n Page as default\n};\n"],"names":[],"mappings":";;AAEA,MAAM,GAAG,GAAG;AACZ,EAAE,IAAI,EAAE,8CAA8C;AACtD,EAAE,GAAG,EAAE,IAAI;AACX,CAAC,CAAC;AACG,MAAC,IAAI,GAAG,oBAAoB,CAAC,CAAC,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,KAAK;AAC5E,EAAE,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACxB,EAAE,OAAO,CAAC,oNAAoN,CAAC,CAAC;AAChO,CAAC;;;;"}
|
32
build/server/chunks/error.svelte-2a42fd80.js
Normal file
32
build/server/chunks/error.svelte-2a42fd80.js
Normal file
@ -0,0 +1,32 @@
|
||||
import { c as create_ssr_component, b as subscribe, e as escape, g as getContext } from './ssr-7369fb3e.js';
|
||||
|
||||
const getStores = () => {
|
||||
const stores = getContext("__svelte__");
|
||||
return {
|
||||
/** @type {typeof page} */
|
||||
page: {
|
||||
subscribe: stores.page.subscribe
|
||||
},
|
||||
/** @type {typeof navigating} */
|
||||
navigating: {
|
||||
subscribe: stores.navigating.subscribe
|
||||
},
|
||||
/** @type {typeof updated} */
|
||||
updated: stores.updated
|
||||
};
|
||||
};
|
||||
const page = {
|
||||
subscribe(fn) {
|
||||
const store = getStores().page;
|
||||
return store.subscribe(fn);
|
||||
}
|
||||
};
|
||||
const Error$1 = create_ssr_component(($$result, $$props, $$bindings, slots) => {
|
||||
let $page, $$unsubscribe_page;
|
||||
$$unsubscribe_page = subscribe(page, (value) => $page = value);
|
||||
$$unsubscribe_page();
|
||||
return `<h1>${escape($page.status)}</h1> <p>${escape($page.error?.message)}</p>`;
|
||||
});
|
||||
|
||||
export { Error$1 as default };
|
||||
//# sourceMappingURL=error.svelte-2a42fd80.js.map
|
1
build/server/chunks/error.svelte-2a42fd80.js.map
Normal file
1
build/server/chunks/error.svelte-2a42fd80.js.map
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"error.svelte-2a42fd80.js","sources":["../../../.svelte-kit/adapter-node/entries/fallbacks/error.svelte.js"],"sourcesContent":["import { g as getContext, c as create_ssr_component, b as subscribe, e as escape } from \"../../chunks/ssr.js\";\nconst getStores = () => {\n const stores = getContext(\"__svelte__\");\n return {\n /** @type {typeof page} */\n page: {\n subscribe: stores.page.subscribe\n },\n /** @type {typeof navigating} */\n navigating: {\n subscribe: stores.navigating.subscribe\n },\n /** @type {typeof updated} */\n updated: stores.updated\n };\n};\nconst page = {\n subscribe(fn) {\n const store = getStores().page;\n return store.subscribe(fn);\n }\n};\nconst Error$1 = create_ssr_component(($$result, $$props, $$bindings, slots) => {\n let $page, $$unsubscribe_page;\n $$unsubscribe_page = subscribe(page, (value) => $page = value);\n $$unsubscribe_page();\n return `<h1>${escape($page.status)}</h1> <p>${escape($page.error?.message)}</p>`;\n});\nexport {\n Error$1 as default\n};\n"],"names":[],"mappings":";;AACA,MAAM,SAAS,GAAG,MAAM;AACxB,EAAE,MAAM,MAAM,GAAG,UAAU,CAAC,YAAY,CAAC,CAAC;AAC1C,EAAE,OAAO;AACT;AACA,IAAI,IAAI,EAAE;AACV,MAAM,SAAS,EAAE,MAAM,CAAC,IAAI,CAAC,SAAS;AACtC,KAAK;AACL;AACA,IAAI,UAAU,EAAE;AAChB,MAAM,SAAS,EAAE,MAAM,CAAC,UAAU,CAAC,SAAS;AAC5C,KAAK;AACL;AACA,IAAI,OAAO,EAAE,MAAM,CAAC,OAAO;AAC3B,GAAG,CAAC;AACJ,CAAC,CAAC;AACF,MAAM,IAAI,GAAG;AACb,EAAE,SAAS,CAAC,EAAE,EAAE;AAChB,IAAI,MAAM,KAAK,GAAG,SAAS,EAAE,CAAC,IAAI,CAAC;AACnC,IAAI,OAAO,KAAK,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC;AAC/B,GAAG;AACH,CAAC,CAAC;AACG,MAAC,OAAO,GAAG,oBAAoB,CAAC,CAAC,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,KAAK;AAC/E,EAAE,IAAI,KAAK,EAAE,kBAAkB,CAAC;AAChC,EAAE,kBAAkB,GAAG,SAAS,CAAC,IAAI,EAAE,CAAC,KAAK,KAAK,KAAK,GAAG,KAAK,CAAC,CAAC;AACjE,EAAE,kBAAkB,EAAE,CAAC;AACvB,EAAE,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AACnF,CAAC;;;;"}
|
109
build/server/chunks/ssr-7369fb3e.js
Normal file
109
build/server/chunks/ssr-7369fb3e.js
Normal file
@ -0,0 +1,109 @@
|
||||
function noop() {
|
||||
}
|
||||
function run(fn) {
|
||||
return fn();
|
||||
}
|
||||
function blank_object() {
|
||||
return /* @__PURE__ */ Object.create(null);
|
||||
}
|
||||
function run_all(fns) {
|
||||
fns.forEach(run);
|
||||
}
|
||||
function safe_not_equal(a, b) {
|
||||
return a != a ? b == b : a !== b || a && typeof a === "object" || typeof a === "function";
|
||||
}
|
||||
function subscribe(store, ...callbacks) {
|
||||
if (store == null) {
|
||||
for (const callback of callbacks) {
|
||||
callback(void 0);
|
||||
}
|
||||
return noop;
|
||||
}
|
||||
const unsub = store.subscribe(...callbacks);
|
||||
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||
}
|
||||
let current_component;
|
||||
function set_current_component(component) {
|
||||
current_component = component;
|
||||
}
|
||||
function get_current_component() {
|
||||
if (!current_component)
|
||||
throw new Error("Function called outside component initialization");
|
||||
return current_component;
|
||||
}
|
||||
function setContext(key, context) {
|
||||
get_current_component().$$.context.set(key, context);
|
||||
return context;
|
||||
}
|
||||
function getContext(key) {
|
||||
return get_current_component().$$.context.get(key);
|
||||
}
|
||||
const ATTR_REGEX = /[&"]/g;
|
||||
const CONTENT_REGEX = /[&<]/g;
|
||||
function escape(value, is_attr = false) {
|
||||
const str = String(value);
|
||||
const pattern = is_attr ? ATTR_REGEX : CONTENT_REGEX;
|
||||
pattern.lastIndex = 0;
|
||||
let escaped = "";
|
||||
let last = 0;
|
||||
while (pattern.test(str)) {
|
||||
const i = pattern.lastIndex - 1;
|
||||
const ch = str[i];
|
||||
escaped += str.substring(last, i) + (ch === "&" ? "&" : ch === '"' ? """ : "<");
|
||||
last = i + 1;
|
||||
}
|
||||
return escaped + str.substring(last);
|
||||
}
|
||||
const missing_component = {
|
||||
$$render: () => ""
|
||||
};
|
||||
function validate_component(component, name) {
|
||||
if (!component || !component.$$render) {
|
||||
if (name === "svelte:component")
|
||||
name += " this={...}";
|
||||
throw new Error(
|
||||
`<${name}> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules. Otherwise you may need to fix a <${name}>.`
|
||||
);
|
||||
}
|
||||
return component;
|
||||
}
|
||||
let on_destroy;
|
||||
function create_ssr_component(fn) {
|
||||
function $$render(result, props, bindings, slots, context) {
|
||||
const parent_component = current_component;
|
||||
const $$ = {
|
||||
on_destroy,
|
||||
context: new Map(context || (parent_component ? parent_component.$$.context : [])),
|
||||
// these will be immediately discarded
|
||||
on_mount: [],
|
||||
before_update: [],
|
||||
after_update: [],
|
||||
callbacks: blank_object()
|
||||
};
|
||||
set_current_component({ $$ });
|
||||
const html = fn(result, props, bindings, slots);
|
||||
set_current_component(parent_component);
|
||||
return html;
|
||||
}
|
||||
return {
|
||||
render: (props = {}, { $$slots = {}, context = /* @__PURE__ */ new Map() } = {}) => {
|
||||
on_destroy = [];
|
||||
const result = { title: "", head: "", css: /* @__PURE__ */ new Set() };
|
||||
const html = $$render(result, props, {}, $$slots, context);
|
||||
run_all(on_destroy);
|
||||
return {
|
||||
html,
|
||||
css: {
|
||||
code: Array.from(result.css).map((css) => css.code).join("\n"),
|
||||
map: null
|
||||
// TODO
|
||||
},
|
||||
head: result.title + result.head
|
||||
};
|
||||
},
|
||||
$$render
|
||||
};
|
||||
}
|
||||
|
||||
export { safe_not_equal as a, subscribe as b, create_ssr_component as c, escape as e, getContext as g, missing_component as m, noop as n, setContext as s, validate_component as v };
|
||||
//# sourceMappingURL=ssr-7369fb3e.js.map
|
1
build/server/chunks/ssr-7369fb3e.js.map
Normal file
1
build/server/chunks/ssr-7369fb3e.js.map
Normal file
File diff suppressed because one or more lines are too long
4141
build/server/index.js
Normal file
4141
build/server/index.js
Normal file
File diff suppressed because it is too large
Load Diff
1
build/server/index.js.map
Normal file
1
build/server/index.js.map
Normal file
File diff suppressed because one or more lines are too long
55
build/server/manifest.js
Normal file
55
build/server/manifest.js
Normal file
@ -0,0 +1,55 @@
|
||||
const manifest = (() => {
|
||||
function __memo(fn) {
|
||||
let value;
|
||||
return () => value ??= (value = fn());
|
||||
}
|
||||
|
||||
return {
|
||||
appDir: "_app",
|
||||
appPath: "_app",
|
||||
assets: new Set(["favicon.png"]),
|
||||
mimeTypes: {".png":"image/png"},
|
||||
_: {
|
||||
client: {"start":"_app/immutable/entry/start.72dab473.js","app":"_app/immutable/entry/app.02cfa3d8.js","imports":["_app/immutable/entry/start.72dab473.js","_app/immutable/chunks/scheduler.e108d1fd.js","_app/immutable/chunks/singletons.c5f6caef.js","_app/immutable/entry/app.02cfa3d8.js","_app/immutable/chunks/scheduler.e108d1fd.js","_app/immutable/chunks/index.5ae4157e.js"],"stylesheets":[],"fonts":[]},
|
||||
nodes: [
|
||||
__memo(() => import('./chunks/0-d3be1c89.js')),
|
||||
__memo(() => import('./chunks/1-1ce25579.js')),
|
||||
__memo(() => import('./chunks/2-60b872d2.js')),
|
||||
__memo(() => import('./chunks/3-4360e939.js')),
|
||||
__memo(() => import('./chunks/4-5fd67c3f.js'))
|
||||
],
|
||||
routes: [
|
||||
{
|
||||
id: "/",
|
||||
pattern: /^\/$/,
|
||||
params: [],
|
||||
page: { layouts: [0,], errors: [1,], leaf: 2 },
|
||||
endpoint: null
|
||||
},
|
||||
{
|
||||
id: "/kurs",
|
||||
pattern: /^\/kurs\/?$/,
|
||||
params: [],
|
||||
page: { layouts: [0,], errors: [1,], leaf: 3 },
|
||||
endpoint: null
|
||||
},
|
||||
{
|
||||
id: "/om",
|
||||
pattern: /^\/om\/?$/,
|
||||
params: [],
|
||||
page: { layouts: [0,], errors: [1,], leaf: 4 },
|
||||
endpoint: null
|
||||
}
|
||||
],
|
||||
matchers: async () => {
|
||||
|
||||
return { };
|
||||
}
|
||||
}
|
||||
}
|
||||
})();
|
||||
|
||||
const prerendered = new Set([]);
|
||||
|
||||
export { manifest, prerendered };
|
||||
//# sourceMappingURL=manifest.js.map
|
1
build/server/manifest.js.map
Normal file
1
build/server/manifest.js.map
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"manifest.js","sources":["../../.svelte-kit/adapter-node/manifest.js"],"sourcesContent":["export const manifest = (() => {\nfunction __memo(fn) {\n\tlet value;\n\treturn () => value ??= (value = fn());\n}\n\nreturn {\n\tappDir: \"_app\",\n\tappPath: \"_app\",\n\tassets: new Set([\"favicon.png\"]),\n\tmimeTypes: {\".png\":\"image/png\"},\n\t_: {\n\t\tclient: {\"start\":\"_app/immutable/entry/start.72dab473.js\",\"app\":\"_app/immutable/entry/app.02cfa3d8.js\",\"imports\":[\"_app/immutable/entry/start.72dab473.js\",\"_app/immutable/chunks/scheduler.e108d1fd.js\",\"_app/immutable/chunks/singletons.c5f6caef.js\",\"_app/immutable/entry/app.02cfa3d8.js\",\"_app/immutable/chunks/scheduler.e108d1fd.js\",\"_app/immutable/chunks/index.5ae4157e.js\"],\"stylesheets\":[],\"fonts\":[]},\n\t\tnodes: [\n\t\t\t__memo(() => import('./nodes/0.js')),\n\t\t\t__memo(() => import('./nodes/1.js')),\n\t\t\t__memo(() => import('./nodes/2.js')),\n\t\t\t__memo(() => import('./nodes/3.js')),\n\t\t\t__memo(() => import('./nodes/4.js'))\n\t\t],\n\t\troutes: [\n\t\t\t{\n\t\t\t\tid: \"/\",\n\t\t\t\tpattern: /^\\/$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: { layouts: [0,], errors: [1,], leaf: 2 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/kurs\",\n\t\t\t\tpattern: /^\\/kurs\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: { layouts: [0,], errors: [1,], leaf: 3 },\n\t\t\t\tendpoint: null\n\t\t\t},\n\t\t\t{\n\t\t\t\tid: \"/om\",\n\t\t\t\tpattern: /^\\/om\\/?$/,\n\t\t\t\tparams: [],\n\t\t\t\tpage: { layouts: [0,], errors: [1,], leaf: 4 },\n\t\t\t\tendpoint: null\n\t\t\t}\n\t\t],\n\t\tmatchers: async () => {\n\t\t\t\n\t\t\treturn { };\n\t\t}\n\t}\n}\n})();\n\nexport const prerendered = new Set([]);\n"],"names":[],"mappings":"AAAY,MAAC,QAAQ,GAAG,CAAC,MAAM;AAC/B,SAAS,MAAM,CAAC,EAAE,EAAE;AACpB,CAAC,IAAI,KAAK,CAAC;AACX,CAAC,OAAO,MAAM,KAAK,MAAM,KAAK,GAAG,EAAE,EAAE,CAAC,CAAC;AACvC,CAAC;AACD;AACA,OAAO;AACP,CAAC,MAAM,EAAE,MAAM;AACf,CAAC,OAAO,EAAE,MAAM;AAChB,CAAC,MAAM,EAAE,IAAI,GAAG,CAAC,CAAC,aAAa,CAAC,CAAC;AACjC,CAAC,SAAS,EAAE,CAAC,MAAM,CAAC,WAAW,CAAC;AAChC,CAAC,CAAC,EAAE;AACJ,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,wCAAwC,CAAC,KAAK,CAAC,sCAAsC,CAAC,SAAS,CAAC,CAAC,wCAAwC,CAAC,6CAA6C,CAAC,8CAA8C,CAAC,sCAAsC,CAAC,6CAA6C,CAAC,yCAAyC,CAAC,CAAC,aAAa,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;AACtZ,EAAE,KAAK,EAAE;AACT,GAAG,MAAM,CAAC,MAAM,OAAO,wBAAc,CAAC,CAAC;AACvC,GAAG,MAAM,CAAC,MAAM,OAAO,wBAAc,CAAC,CAAC;AACvC,GAAG,MAAM,CAAC,MAAM,OAAO,wBAAc,CAAC,CAAC;AACvC,GAAG,MAAM,CAAC,MAAM,OAAO,wBAAc,CAAC,CAAC;AACvC,GAAG,MAAM,CAAC,MAAM,OAAO,wBAAc,CAAC,CAAC;AACvC,GAAG;AACH,EAAE,MAAM,EAAE;AACV,GAAG;AACH,IAAI,EAAE,EAAE,GAAG;AACX,IAAI,OAAO,EAAE,MAAM;AACnB,IAAI,MAAM,EAAE,EAAE;AACd,IAAI,IAAI,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE;AAClD,IAAI,QAAQ,EAAE,IAAI;AAClB,IAAI;AACJ,GAAG;AACH,IAAI,EAAE,EAAE,OAAO;AACf,IAAI,OAAO,EAAE,aAAa;AAC1B,IAAI,MAAM,EAAE,EAAE;AACd,IAAI,IAAI,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE;AAClD,IAAI,QAAQ,EAAE,IAAI;AAClB,IAAI;AACJ,GAAG;AACH,IAAI,EAAE,EAAE,KAAK;AACb,IAAI,OAAO,EAAE,WAAW;AACxB,IAAI,MAAM,EAAE,EAAE;AACd,IAAI,IAAI,EAAE,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE;AAClD,IAAI,QAAQ,EAAE,IAAI;AAClB,IAAI;AACJ,GAAG;AACH,EAAE,QAAQ,EAAE,YAAY;AACxB;AACA,GAAG,OAAO,IAAI,CAAC;AACf,GAAG;AACH,EAAE;AACF,CAAC;AACD,CAAC,IAAI;AACL;AACY,MAAC,WAAW,GAAG,IAAI,GAAG,CAAC,EAAE;;;;"}
|
20414
build/shims.js
Normal file
20414
build/shims.js
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user