corequery 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,9 +4,6 @@
4
4
 
5
5
  To prove it works:
6
6
 
7
- - Hot reloading server code, and `COREQUERY_HOT_RELOAD` env var set by script
8
- - Prove everything works when installed in an external repo
9
- - Script to create demo app from external git repo
10
7
  - Some mechanism to inject stuff into the built Vite project (i.e. the app name and favicons into PWA manifest, etc.)
11
8
 
12
9
  For the real deal:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "corequery",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "server/dist",
@@ -10,9 +10,9 @@
10
10
  "types": "./server/dist/server/index.d.ts",
11
11
  "scripts": {
12
12
  "build": "tsc -p server/tsconfig.json && vite build web",
13
- "setup": "tsx scripts/demo-app.ts setup",
14
- "dev": "tsx scripts/demo-app.ts dev",
15
- "start": "tsx scripts/demo-app.ts start"
13
+ "setup": "scripts/setup",
14
+ "dev": "scripts/dev",
15
+ "start": "scripts/start"
16
16
  },
17
17
  "dependencies": {
18
18
  "express": "5.2.1",
Binary file
@@ -0,0 +1 @@
1
+ import{u as r}from"./index-LHb5BUSB.js";import{N as o}from"./Nav-BxBap7GO.js";function u(){return r("div",{children:[r("h1",{children:"CoreQuery - About"}),r(o,{})]})}export{u as default};
@@ -0,0 +1 @@
1
+ import{_ as w,d as g,T as y,u as r,y as v}from"./index-LHb5BUSB.js";import{N as m}from"./Nav-BxBap7GO.js";function k(){console.log("This is shared code running!")}function W(i={}){const{immediate:d=!1,onNeedRefresh:l,onOfflineReady:o,onRegistered:c,onRegisteredSW:a,onRegisterError:s}=i;let n,f,u;const h=async(e=!0)=>{await f,u?.()};async function R(){if("serviceWorker"in navigator){if(n=await w(async()=>{const{Workbox:e}=await import("./workbox-window.prod.es5-BIl4cyR9.js");return{Workbox:e}},[]).then(({Workbox:e})=>new e("/sw.js",{scope:"/",type:"classic"})).catch(e=>{s?.(e)}),!n)return;u=()=>{n?.messageSkipWaiting()};{let e=!1;const p=()=>{e=!0,n?.addEventListener("controlling",t=>{t.isUpdate&&window.location.reload()}),l?.()};n.addEventListener("installed",t=>{typeof t.isUpdate>"u"?typeof t.isExternal<"u"&&t.isExternal?p():!e&&o?.():t.isUpdate||o?.()}),n.addEventListener("waiting",p)}n.register({immediate:d}).then(e=>{a?a("/sw.js",e):c?.(e)}).catch(e=>{s?.(e)})}}return f=R(),h}function S(){const[i,d]=g(!1),[l,o]=g(!1),c=y(()=>W({onRegisteredSW:()=>console.log("Service worker registered."),onRegisterError:s=>console.error("Service worker error:",s),onNeedRefresh:()=>d(!0),onOfflineReady:()=>o(!0)}),[]);async function a(){await c()}return i?r(P,{onReloadClick:a}):l?r(E,{}):r(_,{})}function E(){return r("span",{children:"PWA: App ready to work offline"})}function P({onReloadClick:i}){return r("div",{children:[r("span",{children:"PWA: Update available"}),r("button",{onClick:i,children:"Update"})]})}function _(){return r("span",{children:"PWA: Nothing to report!"})}function U(){return v(()=>{k()},[]),r("div",{children:[r("h1",{children:"CoreQuery - Home"}),r(m,{}),r(S,{})]})}export{U as default};
@@ -1 +1 @@
1
- import{u as r}from"./index-CAIeHOhe.js";function n(){return r("nav",{children:r("ul",{children:[r("li",{children:r("a",{href:"/",children:"Home"})}),r("li",{children:r("a",{href:"/about",children:"About"})}),r("li",{children:r("a",{href:"/bacon",children:"Not Found"})})]})})}export{n as N};
1
+ import{u as r}from"./index-LHb5BUSB.js";function n(){return r("nav",{children:r("ul",{children:[r("li",{children:r("a",{href:"/",children:"Home"})}),r("li",{children:r("a",{href:"/about",children:"About"})}),r("li",{children:r("a",{href:"/bacon",children:"Not Found"})})]})})}export{n as N};
@@ -0,0 +1 @@
1
+ import{u as o}from"./index-LHb5BUSB.js";import{N as r}from"./Nav-BxBap7GO.js";function n(){return o("div",{children:[o("h1",{children:"CoreQuery - Not Found"}),o(r,{})]})}export{n as default};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Home-BduB8uYZ.js","assets/Nav-C2NVTyoC.js","assets/About-CHls07V1.js","assets/NotFound-vj1r1f4z.js"])))=>i.map(i=>d[i]);
2
- (function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const n of o)if(n.type==="childList")for(const u of n.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&r(u)}).observe(document,{childList:!0,subtree:!0});function _(o){const n={};return o.integrity&&(n.integrity=o.integrity),o.referrerPolicy&&(n.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?n.credentials="include":o.crossOrigin==="anonymous"?n.credentials="omit":n.credentials="same-origin",n}function r(o){if(o.ep)return;o.ep=!0;const n=_(o);fetch(o.href,n)}})();const Ve="modulepreload",et=function(t){return"/"+t},ye={},le=function(e,_,r){let o=Promise.resolve();if(_&&_.length>0){let f=function(l){return Promise.all(l.map(p=>Promise.resolve(p).then(i=>({status:"fulfilled",value:i}),i=>({status:"rejected",reason:i}))))};document.getElementsByTagName("link");const u=document.querySelector("meta[property=csp-nonce]"),c=u?.nonce||u?.getAttribute("nonce");o=f(_.map(l=>{if(l=et(l),l in ye)return;ye[l]=!0;const p=l.endsWith(".css"),i=p?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${i}`))return;const s=document.createElement("link");if(s.rel=p?"stylesheet":Ve,p||(s.as="script"),s.crossOrigin="",s.href=l,c&&s.setAttribute("nonce",c),document.head.appendChild(s),p)return new Promise((a,v)=>{s.addEventListener("load",a),s.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${l}`)))})}))}function n(u){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=u,window.dispatchEvent(c),!c.defaultPrevented)throw u}return o.then(u=>{for(const c of u||[])c.status==="rejected"&&n(c.reason);return e().catch(n)})};var j,h,Ae,D,ge,Te,Me,Oe,se,re,oe,Ne,W={},Fe=[],tt=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,B=Array.isArray;function $(t,e){for(var _ in e)t[_]=e[_];return t}function fe(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function x(t,e,_){var r,o,n,u={};for(n in e)n=="key"?r=e[n]:n=="ref"?o=e[n]:u[n]=e[n];if(arguments.length>2&&(u.children=arguments.length>3?j.call(arguments,2):_),typeof t=="function"&&t.defaultProps!=null)for(n in t.defaultProps)u[n]===void 0&&(u[n]=t.defaultProps[n]);return I(t,u,r,o,null)}function I(t,e,_,r,o){var n={type:t,props:e,key:_,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:o??++Ae,__i:-1,__u:0};return o==null&&h.vnode!=null&&h.vnode(n),n}function ee(t){return t.children}function Y(t,e){this.props=t,this.context=e}function N(t,e){if(e==null)return t.__?N(t.__,t.__i+1):null;for(var _;e<t.__k.length;e++)if((_=t.__k[e])!=null&&_.__e!=null)return _.__e;return typeof t.type=="function"?N(t):null}function Ie(t){var e,_;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((_=t.__k[e])!=null&&_.__e!=null){t.__e=t.__c.base=_.__e;break}return Ie(t)}}function ie(t){(!t.__d&&(t.__d=!0)&&D.push(t)&&!Z.__r++||ge!=h.debounceRendering)&&((ge=h.debounceRendering)||Te)(Z)}function Z(){for(var t,e,_,r,o,n,u,c=1;D.length;)D.length>c&&D.sort(Me),t=D.shift(),c=D.length,t.__d&&(_=void 0,r=void 0,o=(r=(e=t).__v).__e,n=[],u=[],e.__P&&((_=$({},r)).__v=r.__v+1,h.vnode&&h.vnode(_),ae(e.__P,_,r,e.__n,e.__P.namespaceURI,32&r.__u?[o]:null,n,o??N(r),!!(32&r.__u),u),_.__v=r.__v,_.__.__k[_.__i]=_,qe(n,_,u),r.__e=r.__=null,_.__e!=o&&Ie(_)));Z.__r=0}function We(t,e,_,r,o,n,u,c,f,l,p){var i,s,a,v,E,g,d,m=r&&r.__k||Fe,P=e.length;for(f=_t(_,e,m,f,P),i=0;i<P;i++)(a=_.__k[i])!=null&&(s=a.__i==-1?W:m[a.__i]||W,a.__i=i,g=ae(t,a,s,o,n,u,c,f,l,p),v=a.__e,a.ref&&s.ref!=a.ref&&(s.ref&&pe(s.ref,null,a),p.push(a.ref,a.__c||v,a)),E==null&&v!=null&&(E=v),(d=!!(4&a.__u))||s.__k===a.__k?f=je(a,f,t,d):typeof a.type=="function"&&g!==void 0?f=g:v&&(f=v.nextSibling),a.__u&=-7);return _.__e=E,f}function _t(t,e,_,r,o){var n,u,c,f,l,p=_.length,i=p,s=0;for(t.__k=new Array(o),n=0;n<o;n++)(u=e[n])!=null&&typeof u!="boolean"&&typeof u!="function"?(f=n+s,(u=t.__k[n]=typeof u=="string"||typeof u=="number"||typeof u=="bigint"||u.constructor==String?I(null,u,null,null,null):B(u)?I(ee,{children:u},null,null,null):u.constructor==null&&u.__b>0?I(u.type,u.props,u.key,u.ref?u.ref:null,u.__v):u).__=t,u.__b=t.__b+1,c=null,(l=u.__i=nt(u,_,f,i))!=-1&&(i--,(c=_[l])&&(c.__u|=2)),c==null||c.__v==null?(l==-1&&(o>p?s--:o<p&&s++),typeof u.type!="function"&&(u.__u|=4)):l!=f&&(l==f-1?s--:l==f+1?s++:(l>f?s--:s++,u.__u|=4))):t.__k[n]=null;if(i)for(n=0;n<p;n++)(c=_[n])!=null&&(2&c.__u)==0&&(c.__e==r&&(r=N(c)),Ke(c,c));return r}function je(t,e,_,r){var o,n;if(typeof t.type=="function"){for(o=t.__k,n=0;o&&n<o.length;n++)o[n]&&(o[n].__=t,e=je(o[n],e,_,r));return e}t.__e!=e&&(r&&(e&&t.type&&!e.parentNode&&(e=N(t)),_.insertBefore(t.__e,e||null)),e=t.__e);do e=e&&e.nextSibling;while(e!=null&&e.nodeType==8);return e}function Be(t,e){return e=e||[],t==null||typeof t=="boolean"||(B(t)?t.some(function(_){Be(_,e)}):e.push(t)),e}function nt(t,e,_,r){var o,n,u,c=t.key,f=t.type,l=e[_],p=l!=null&&(2&l.__u)==0;if(l===null&&t.key==null||p&&c==l.key&&f==l.type)return _;if(r>(p?1:0)){for(o=_-1,n=_+1;o>=0||n<e.length;)if((l=e[u=o>=0?o--:n++])!=null&&(2&l.__u)==0&&c==l.key&&f==l.type)return u}return-1}function be(t,e,_){e[0]=="-"?t.setProperty(e,_??""):t[e]=_==null?"":typeof _!="number"||tt.test(e)?_:_+"px"}function G(t,e,_,r,o){var n,u;e:if(e=="style")if(typeof _=="string")t.style.cssText=_;else{if(typeof r=="string"&&(t.style.cssText=r=""),r)for(e in r)_&&e in _||be(t.style,e,"");if(_)for(e in _)r&&_[e]==r[e]||be(t.style,e,_[e])}else if(e[0]=="o"&&e[1]=="n")n=e!=(e=e.replace(Oe,"$1")),u=e.toLowerCase(),e=u in t||e=="onFocusOut"||e=="onFocusIn"?u.slice(2):e.slice(2),t.l||(t.l={}),t.l[e+n]=_,_?r?_.u=r.u:(_.u=se,t.addEventListener(e,n?oe:re,n)):t.removeEventListener(e,n?oe:re,n);else{if(o=="http://www.w3.org/2000/svg")e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!="width"&&e!="height"&&e!="href"&&e!="list"&&e!="form"&&e!="tabIndex"&&e!="download"&&e!="rowSpan"&&e!="colSpan"&&e!="role"&&e!="popover"&&e in t)try{t[e]=_??"";break e}catch{}typeof _=="function"||(_==null||_===!1&&e[4]!="-"?t.removeAttribute(e):t.setAttribute(e,e=="popover"&&_==1?"":_))}}function ke(t){return function(e){if(this.l){var _=this.l[e.type+t];if(e.t==null)e.t=se++;else if(e.t<_.u)return;return _(h.event?h.event(e):e)}}}function ae(t,e,_,r,o,n,u,c,f,l){var p,i,s,a,v,E,g,d,m,P,w,A,H,K,T,b,C,S=e.type;if(e.constructor!=null)return null;128&_.__u&&(f=!!(32&_.__u),n=[c=e.__e=_.__e]),(p=h.__b)&&p(e);e:if(typeof S=="function")try{if(d=e.props,m="prototype"in S&&S.prototype.render,P=(p=S.contextType)&&r[p.__c],w=p?P?P.props.value:p.__:r,_.__c?g=(i=e.__c=_.__c).__=i.__E:(m?e.__c=i=new S(d,w):(e.__c=i=new Y(d,w),i.constructor=S,i.render=ot),P&&P.sub(i),i.props=d,i.state||(i.state={}),i.context=w,i.__n=r,s=i.__d=!0,i.__h=[],i._sb=[]),m&&i.__s==null&&(i.__s=i.state),m&&S.getDerivedStateFromProps!=null&&(i.__s==i.state&&(i.__s=$({},i.__s)),$(i.__s,S.getDerivedStateFromProps(d,i.__s))),a=i.props,v=i.state,i.__v=e,s)m&&S.getDerivedStateFromProps==null&&i.componentWillMount!=null&&i.componentWillMount(),m&&i.componentDidMount!=null&&i.__h.push(i.componentDidMount);else{if(m&&S.getDerivedStateFromProps==null&&d!==a&&i.componentWillReceiveProps!=null&&i.componentWillReceiveProps(d,w),!i.__e&&i.shouldComponentUpdate!=null&&i.shouldComponentUpdate(d,i.__s,w)===!1||e.__v==_.__v){for(e.__v!=_.__v&&(i.props=d,i.state=i.__s,i.__d=!1),e.__e=_.__e,e.__k=_.__k,e.__k.some(function(M){M&&(M.__=e)}),A=0;A<i._sb.length;A++)i.__h.push(i._sb[A]);i._sb=[],i.__h.length&&u.push(i);break e}i.componentWillUpdate!=null&&i.componentWillUpdate(d,i.__s,w),m&&i.componentDidUpdate!=null&&i.__h.push(function(){i.componentDidUpdate(a,v,E)})}if(i.context=w,i.props=d,i.__P=t,i.__e=!1,H=h.__r,K=0,m){for(i.state=i.__s,i.__d=!1,H&&H(e),p=i.render(i.props,i.state,i.context),T=0;T<i._sb.length;T++)i.__h.push(i._sb[T]);i._sb=[]}else do i.__d=!1,H&&H(e),p=i.render(i.props,i.state,i.context),i.state=i.__s;while(i.__d&&++K<25);i.state=i.__s,i.getChildContext!=null&&(r=$($({},r),i.getChildContext())),m&&!s&&i.getSnapshotBeforeUpdate!=null&&(E=i.getSnapshotBeforeUpdate(a,v)),b=p,p!=null&&p.type===ee&&p.key==null&&(b=ze(p.props.children)),c=We(t,B(b)?b:[b],e,_,r,o,n,u,c,f,l),i.base=e.__e,e.__u&=-161,i.__h.length&&u.push(i),g&&(i.__E=i.__=null)}catch(M){if(e.__v=null,f||n!=null)if(M.then){for(e.__u|=f?160:128;c&&c.nodeType==8&&c.nextSibling;)c=c.nextSibling;n[n.indexOf(c)]=null,e.__e=c}else{for(C=n.length;C--;)fe(n[C]);ue(e)}else e.__e=_.__e,e.__k=_.__k,M.then||ue(e);h.__e(M,e,_)}else n==null&&e.__v==_.__v?(e.__k=_.__k,e.__e=_.__e):c=e.__e=rt(_.__e,e,_,r,o,n,u,f,l);return(p=h.diffed)&&p(e),128&e.__u?void 0:c}function ue(t){t&&t.__c&&(t.__c.__e=!0),t&&t.__k&&t.__k.forEach(ue)}function qe(t,e,_){for(var r=0;r<_.length;r++)pe(_[r],_[++r],_[++r]);h.__c&&h.__c(e,t),t.some(function(o){try{t=o.__h,o.__h=[],t.some(function(n){n.call(o)})}catch(n){h.__e(n,o.__v)}})}function ze(t){return typeof t!="object"||t==null||t.__b&&t.__b>0?t:B(t)?t.map(ze):$({},t)}function rt(t,e,_,r,o,n,u,c,f){var l,p,i,s,a,v,E,g=_.props,d=e.props,m=e.type;if(m=="svg"?o="http://www.w3.org/2000/svg":m=="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),n!=null){for(l=0;l<n.length;l++)if((a=n[l])&&"setAttribute"in a==!!m&&(m?a.localName==m:a.nodeType==3)){t=a,n[l]=null;break}}if(t==null){if(m==null)return document.createTextNode(d);t=document.createElementNS(o,m,d.is&&d),c&&(h.__m&&h.__m(e,n),c=!1),n=null}if(m==null)g===d||c&&t.data==d||(t.data=d);else{if(n=n&&j.call(t.childNodes),g=_.props||W,!c&&n!=null)for(g={},l=0;l<t.attributes.length;l++)g[(a=t.attributes[l]).name]=a.value;for(l in g)if(a=g[l],l!="children"){if(l=="dangerouslySetInnerHTML")i=a;else if(!(l in d)){if(l=="value"&&"defaultValue"in d||l=="checked"&&"defaultChecked"in d)continue;G(t,l,null,a,o)}}for(l in d)a=d[l],l=="children"?s=a:l=="dangerouslySetInnerHTML"?p=a:l=="value"?v=a:l=="checked"?E=a:c&&typeof a!="function"||g[l]===a||G(t,l,a,g[l],o);if(p)c||i&&(p.__html==i.__html||p.__html==t.innerHTML)||(t.innerHTML=p.__html),e.__k=[];else if(i&&(t.innerHTML=""),We(e.type=="template"?t.content:t,B(s)?s:[s],e,_,r,m=="foreignObject"?"http://www.w3.org/1999/xhtml":o,n,u,n?n[0]:_.__k&&N(_,0),c,f),n!=null)for(l=n.length;l--;)fe(n[l]);c||(l="value",m=="progress"&&v==null?t.removeAttribute("value"):v!=null&&(v!==t[l]||m=="progress"&&!v||m=="option"&&v!=g[l])&&G(t,l,v,g[l],o),l="checked",E!=null&&E!=t[l]&&G(t,l,E,g[l],o))}return t}function pe(t,e,_){try{if(typeof t=="function"){var r=typeof t.__u=="function";r&&t.__u(),r&&e==null||(t.__u=t(e))}else t.current=e}catch(o){h.__e(o,_)}}function Ke(t,e,_){var r,o;if(h.unmount&&h.unmount(t),(r=t.ref)&&(r.current&&r.current!=t.__e||pe(r,null,e)),(r=t.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(n){h.__e(n,e)}r.base=r.__P=null}if(r=t.__k)for(o=0;o<r.length;o++)r[o]&&Ke(r[o],e,_||typeof t.type!="function");_||fe(t.__e),t.__c=t.__=t.__e=void 0}function ot(t,e,_){return this.constructor(t,_)}function it(t,e,_){var r,o,n,u;e==document&&(e=document.documentElement),h.__&&h.__(t,e),o=(r=!1)?null:e.__k,n=[],u=[],ae(e,t=e.__k=x(ee,null,[t]),o||W,W,e.namespaceURI,o?null:e.firstChild?j.call(e.childNodes):null,n,o?o.__e:e.firstChild,r,u),qe(n,t,u)}function Ee(t,e,_){var r,o,n,u,c=$({},t.props);for(n in t.type&&t.type.defaultProps&&(u=t.type.defaultProps),e)n=="key"?r=e[n]:n=="ref"?o=e[n]:c[n]=e[n]===void 0&&u!=null?u[n]:e[n];return arguments.length>2&&(c.children=arguments.length>3?j.call(arguments,2):_),I(t.type,c,r||t.key,o||t.ref,null)}function Ge(t){function e(_){var r,o;return this.getChildContext||(r=new Set,(o={})[e.__c]=this,this.getChildContext=function(){return o},this.componentWillUnmount=function(){r=null},this.shouldComponentUpdate=function(n){this.props.value!=n.value&&r.forEach(function(u){u.__e=!0,ie(u)})},this.sub=function(n){r.add(n);var u=n.componentWillUnmount;n.componentWillUnmount=function(){r&&r.delete(n),u&&u.call(n)}}),_.children}return e.__c="__cC"+Ne++,e.__=t,e.Provider=e.__l=(e.Consumer=function(_,r){return _.children(r)}).contextType=e,e}j=Fe.slice,h={__e:function(t,e,_,r){for(var o,n,u;e=e.__;)if((o=e.__c)&&!o.__)try{if((n=o.constructor)&&n.getDerivedStateFromError!=null&&(o.setState(n.getDerivedStateFromError(t)),u=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(t,r||{}),u=o.__d),u)return o.__E=o}catch(c){t=c}throw t}},Ae=0,Y.prototype.setState=function(t,e){var _;_=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=$({},this.state),typeof t=="function"&&(t=t($({},_),this.props)),t&&$(_,t),t!=null&&this.__v&&(e&&this._sb.push(e),ie(this))},Y.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),ie(this))},Y.prototype.render=ee,D=[],Te=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Me=function(t,e){return t.__v.__b-e.__v.__b},Z.__r=0,Oe=/(PointerCapture)$|Capture$/i,se=0,re=ke(!1),oe=ke(!0),Ne=0;var ut=0;function U(t,e,_,r,o,n){e||(e={});var u,c,f=e;if("ref"in f)for(c in f={},e)c=="ref"?u=e[c]:f[c]=e[c];var l={type:t,props:f,key:_,ref:u,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--ut,__i:-1,__u:0,__source:o,__self:n};if(typeof t=="function"&&(u=t.defaultProps))for(c in u)f[c]===void 0&&(f[c]=u[c]);return h.vnode&&h.vnode(l),l}var R,y,te,Pe,V=0,Je=[],k=h,we=k.__b,Se=k.__r,$e=k.diffed,Ce=k.__c,Le=k.unmount,xe=k.__;function q(t,e){k.__h&&k.__h(y,t,V||e),V=0;var _=y.__H||(y.__H={__:[],__h:[]});return t>=_.__.length&&_.__.push({}),_.__[t]}function ct(t){return V=1,he(Xe,t)}function he(t,e,_){var r=q(R++,2);if(r.t=t,!r.__c&&(r.__=[Xe(void 0,e),function(c){var f=r.__N?r.__N[0]:r.__[0],l=r.t(f,c);f!==l&&(r.__N=[l,r.__[1]],r.__c.setState({}))}],r.__c=y,!y.__f)){var o=function(c,f,l){if(!r.__c.__H)return!0;var p=r.__c.__H.__.filter(function(s){return!!s.__c});if(p.every(function(s){return!s.__N}))return!n||n.call(this,c,f,l);var i=r.__c.props!==c;return p.forEach(function(s){if(s.__N){var a=s.__[0];s.__=s.__N,s.__N=void 0,a!==s.__[0]&&(i=!0)}}),n&&n.call(this,c,f,l)||i};y.__f=!0;var n=y.shouldComponentUpdate,u=y.componentWillUpdate;y.componentWillUpdate=function(c,f,l){if(this.__e){var p=n;n=void 0,o(c,f,l),n=p}u&&u.call(this,c,f,l)},y.shouldComponentUpdate=o}return r.__N||r.__}function Et(t,e){var _=q(R++,3);!k.__s&&me(_.__H,e)&&(_.__=t,_.u=e,y.__H.__h.push(_))}function Qe(t,e){var _=q(R++,4);!k.__s&&me(_.__H,e)&&(_.__=t,_.u=e,y.__h.push(_))}function L(t){return V=5,de(function(){return{current:t}},[])}function de(t,e){var _=q(R++,7);return me(_.__H,e)&&(_.__=t(),_.__H=e,_.__h=t),_.__}function Ye(t){var e=y.context[t.__c],_=q(R++,9);return _.c=t,e?(_.__==null&&(_.__=!0,e.sub(y)),e.props.value):t.__}function lt(){for(var t;t=Je.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(X),t.__H.__h.forEach(ce),t.__H.__h=[]}catch(e){t.__H.__h=[],k.__e(e,t.__v)}}k.__b=function(t){y=null,we&&we(t)},k.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),xe&&xe(t,e)},k.__r=function(t){Se&&Se(t),R=0;var e=(y=t.__c).__H;e&&(te===y?(e.__h=[],y.__h=[],e.__.forEach(function(_){_.__N&&(_.__=_.__N),_.u=_.__N=void 0})):(e.__h.forEach(X),e.__h.forEach(ce),e.__h=[],R=0)),te=y},k.diffed=function(t){$e&&$e(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(Je.push(e)!==1&&Pe===k.requestAnimationFrame||((Pe=k.requestAnimationFrame)||st)(lt)),e.__H.__.forEach(function(_){_.u&&(_.__H=_.u),_.u=void 0})),te=y=null},k.__c=function(t,e){e.some(function(_){try{_.__h.forEach(X),_.__h=_.__h.filter(function(r){return!r.__||ce(r)})}catch(r){e.some(function(o){o.__h&&(o.__h=[])}),e=[],k.__e(r,_.__v)}}),Ce&&Ce(t,e)},k.unmount=function(t){Le&&Le(t);var e,_=t.__c;_&&_.__H&&(_.__H.__.forEach(function(r){try{X(r)}catch(o){e=o}}),_.__H=void 0,e&&k.__e(e,_.__v))};var He=typeof requestAnimationFrame=="function";function st(t){var e,_=function(){clearTimeout(r),He&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(_,35);He&&(e=requestAnimationFrame(_))}function X(t){var e=y,_=t.__c;typeof _=="function"&&(t.__c=void 0,_()),y=e}function ce(t){var e=y;t.__c=t.__(),y=e}function me(t,e){return!t||t.length!==e.length||e.some(function(_,r){return _!==t[r]})}function Xe(t,e){return typeof e=="function"?e(t):e}let O,F;function ft(t){return!F||(typeof F=="string"?t.startsWith(F):F.test(t))}function at(t,e){let _="";if(O=void 0,e&&e.type==="click"){if(e.ctrlKey||e.metaKey||e.altKey||e.shiftKey||e.button!==0)return t;const r=e.composedPath().find(n=>n.nodeName=="A"&&n.href),o=r&&r.getAttribute("href");if(!r||r.origin!=location.origin||/^#/.test(o)||!/^(_?self)?$/i.test(r.target)||!ft(o))return t;O=!0,e.preventDefault(),_=r.href.replace(location.origin,"")}else e&&e.url?(O=!e.replace,_=e.url):_=location.pathname+location.search;return O===!0?history.pushState(null,"",_):O===!1&&history.replaceState(null,"",_),_}const pt=(t,e,_={})=>{t=t.split("/").filter(Boolean),e=(e||"").split("/").filter(Boolean),_.params||(_.params={});for(let r=0,o,n;r<Math.max(t.length,e.length);r++){let[,u,c,f]=(e[r]||"").match(/^(:?)(.*?)([+*?]?)$/);if(o=t[r],!(!u&&c==o)){if(!u&&o&&f=="*"){_.rest="/"+t.slice(r).map(decodeURIComponent).join("/");break}if(!u||!o&&f!="?"&&f!="*")return;if(n=f=="+"||f=="*",n?o=t.slice(r).map(decodeURIComponent).join("/")||void 0:o&&(o=decodeURIComponent(o)),_.params[c]=o,c in _||(_[c]=o),n)break}}return _};function z(t){const[e,_]=he(at,t.url||location.pathname+location.search);t.scope&&(F=t.scope);const r=O===!0,o=de(()=>{const n=new URL(e,location.origin),u=n.pathname.replace(/\/+$/g,"")||"/";return{url:e,path:u,query:Object.fromEntries(n.searchParams),route:(c,f)=>_({url:c,replace:f}),wasPush:r}},[e]);return Qe(()=>(addEventListener("click",_),addEventListener("popstate",_),()=>{removeEventListener("click",_),removeEventListener("popstate",_)}),[]),x(z.ctx.Provider,{value:o},t.children)}const ht=Promise.resolve();function Ze(t){const[e,_]=he(b=>b+1,0),{url:r,query:o,wasPush:n,path:u}=dt();if(!r)throw new Error("preact-iso's <Router> must be used within a <LocationProvider>, see: https://github.com/preactjs/preact-iso#locationprovider");const{rest:c=u,params:f={}}=Ye(Ue),l=L(!1),p=L(u),i=L(0),s=L(),a=L(),v=L(),E=L(!1),g=L();g.current=!1;let d,m,P;Be(t.children).some(b=>{if(pt(c,b.props.path,P={...b.props,path:c,query:o,params:Object.assign({},f),rest:""}))return d=Ee(b,P);b.props.default&&(m=Ee(b,P))});let w=d||m;const A=s.current&&s.current.__u&J&&s.current.__u&Q,H=s.current&&s.current.__h,K=de(()=>{a.current=s.current,s.current=x(Ue.Provider,{value:P},w);const b=a.current&&a.current.props.children;return!b||!w||w.type!==b.type||w.props.component!==b.props.component?(this.__v&&this.__v.__k&&this.__v.__k.reverse(),i.current++,!0):!1},[r,JSON.stringify(P)]);A?(s.current.__u|=J,s.current.__u|=Q):H&&(s.current.__h=!0);const T=a.current;return a.current=null,this.__c=(b,C)=>{g.current=!0,a.current=T,t.onLoadStart&&t.onLoadStart(r),l.current=!0;let S=i.current;b.then(()=>{S===i.current&&(a.current=null,s.current&&(C.__h&&(s.current.__h=C.__h),C.__u&Q&&(s.current.__u|=Q),C.__u&J&&(s.current.__u|=J)),ht.then(_))})},Qe(()=>{const b=this.__v&&this.__v.__e;if(g.current){!E.current&&!v.current&&(v.current=b);return}!E.current&&v.current&&(v.current!==b&&v.current.remove(),v.current=null),E.current=!0,p.current!==u&&(n&&scrollTo(0,0),t.onRouteChange&&t.onRouteChange(r),p.current=u),t.onLoadEnd&&l.current&&t.onLoadEnd(r),l.current=!1},[u,n,e]),K?[x(_e,{r:s}),x(_e,{r:a})]:x(_e,{r:s})}const J=32,Q=128,_e=({r:t})=>t.current;Ze.Provider=z;z.ctx=Ge({});const Ue=Ge({}),ne=t=>x(t.component,t),dt=()=>Ye(z.ctx),De=h.__b;h.__b=t=>{t.type&&t.type._forwarded&&t.ref&&(t.props.ref=t.ref,t.ref=null),De&&De(t)};function ve(t){let e,_;const r=()=>t().then(n=>_=n&&n.default||n),o=n=>{const[,u]=ct(0),c=L(_);if(e||(e=r()),_!==void 0)return x(_,n);throw c.current||(c.current=e.then(()=>u(1))),e};return o.preload=()=>(e||(e=r()),e),o._forwarded=!0,o}const Re=h.__e;h.__e=(t,e,_)=>{if(t&&t.then){let r=e;for(;r=r.__;)if(r.__c&&r.__c.__c)return e.__e==null&&(e.__c.__z=[_.__e],e.__e=_.__e,e.__k=_.__k),e.__k||(e.__k=[]),r.__c.__c(t,e)}Re&&Re(t,e,_)};function mt(t){return this.__c=vt,this.componentDidCatch=t.onError,t.children}function vt(t){t.then(()=>this.forceUpdate())}const yt=ve(()=>le(()=>import("./Home-BduB8uYZ.js"),__vite__mapDeps([0,1]))),gt=ve(()=>le(()=>import("./About-CHls07V1.js"),__vite__mapDeps([2,1]))),bt=ve(()=>le(()=>import("./NotFound-vj1r1f4z.js"),__vite__mapDeps([3,1])));function kt(){return U(z,{children:U(mt,{children:U(Ze,{children:[U(ne,{path:"/",component:yt}),U(ne,{path:"/about",component:gt}),U(ne,{default:!0,component:bt})]})})})}it(U(kt,{}),document.body);export{U as u,Et as y};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Home-C_Vu2Pm9.js","assets/Nav-BxBap7GO.js","assets/About-B1OC_zE4.js","assets/NotFound-BvWaaeTy.js"])))=>i.map(i=>d[i]);
2
+ (function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const n of o)if(n.type==="childList")for(const u of n.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&r(u)}).observe(document,{childList:!0,subtree:!0});function _(o){const n={};return o.integrity&&(n.integrity=o.integrity),o.referrerPolicy&&(n.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?n.credentials="include":o.crossOrigin==="anonymous"?n.credentials="omit":n.credentials="same-origin",n}function r(o){if(o.ep)return;o.ep=!0;const n=_(o);fetch(o.href,n)}})();const Ve="modulepreload",et=function(t){return"/"+t},ye={},le=function(e,_,r){let o=Promise.resolve();if(_&&_.length>0){let f=function(l){return Promise.all(l.map(p=>Promise.resolve(p).then(i=>({status:"fulfilled",value:i}),i=>({status:"rejected",reason:i}))))};document.getElementsByTagName("link");const u=document.querySelector("meta[property=csp-nonce]"),c=u?.nonce||u?.getAttribute("nonce");o=f(_.map(l=>{if(l=et(l),l in ye)return;ye[l]=!0;const p=l.endsWith(".css"),i=p?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${i}`))return;const s=document.createElement("link");if(s.rel=p?"stylesheet":Ve,p||(s.as="script"),s.crossOrigin="",s.href=l,c&&s.setAttribute("nonce",c),document.head.appendChild(s),p)return new Promise((a,v)=>{s.addEventListener("load",a),s.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${l}`)))})}))}function n(u){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=u,window.dispatchEvent(c),!c.defaultPrevented)throw u}return o.then(u=>{for(const c of u||[])c.status==="rejected"&&n(c.reason);return e().catch(n)})};var j,h,Ae,D,ge,Te,Me,Oe,se,re,oe,Ne,W={},Fe=[],tt=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,B=Array.isArray;function $(t,e){for(var _ in e)t[_]=e[_];return t}function fe(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function x(t,e,_){var r,o,n,u={};for(n in e)n=="key"?r=e[n]:n=="ref"?o=e[n]:u[n]=e[n];if(arguments.length>2&&(u.children=arguments.length>3?j.call(arguments,2):_),typeof t=="function"&&t.defaultProps!=null)for(n in t.defaultProps)u[n]===void 0&&(u[n]=t.defaultProps[n]);return I(t,u,r,o,null)}function I(t,e,_,r,o){var n={type:t,props:e,key:_,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:o??++Ae,__i:-1,__u:0};return o==null&&h.vnode!=null&&h.vnode(n),n}function ee(t){return t.children}function Y(t,e){this.props=t,this.context=e}function N(t,e){if(e==null)return t.__?N(t.__,t.__i+1):null;for(var _;e<t.__k.length;e++)if((_=t.__k[e])!=null&&_.__e!=null)return _.__e;return typeof t.type=="function"?N(t):null}function Ie(t){var e,_;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((_=t.__k[e])!=null&&_.__e!=null){t.__e=t.__c.base=_.__e;break}return Ie(t)}}function ie(t){(!t.__d&&(t.__d=!0)&&D.push(t)&&!Z.__r++||ge!=h.debounceRendering)&&((ge=h.debounceRendering)||Te)(Z)}function Z(){for(var t,e,_,r,o,n,u,c=1;D.length;)D.length>c&&D.sort(Me),t=D.shift(),c=D.length,t.__d&&(_=void 0,r=void 0,o=(r=(e=t).__v).__e,n=[],u=[],e.__P&&((_=$({},r)).__v=r.__v+1,h.vnode&&h.vnode(_),ae(e.__P,_,r,e.__n,e.__P.namespaceURI,32&r.__u?[o]:null,n,o??N(r),!!(32&r.__u),u),_.__v=r.__v,_.__.__k[_.__i]=_,qe(n,_,u),r.__e=r.__=null,_.__e!=o&&Ie(_)));Z.__r=0}function We(t,e,_,r,o,n,u,c,f,l,p){var i,s,a,v,E,g,d,m=r&&r.__k||Fe,P=e.length;for(f=_t(_,e,m,f,P),i=0;i<P;i++)(a=_.__k[i])!=null&&(s=a.__i==-1?W:m[a.__i]||W,a.__i=i,g=ae(t,a,s,o,n,u,c,f,l,p),v=a.__e,a.ref&&s.ref!=a.ref&&(s.ref&&pe(s.ref,null,a),p.push(a.ref,a.__c||v,a)),E==null&&v!=null&&(E=v),(d=!!(4&a.__u))||s.__k===a.__k?f=je(a,f,t,d):typeof a.type=="function"&&g!==void 0?f=g:v&&(f=v.nextSibling),a.__u&=-7);return _.__e=E,f}function _t(t,e,_,r,o){var n,u,c,f,l,p=_.length,i=p,s=0;for(t.__k=new Array(o),n=0;n<o;n++)(u=e[n])!=null&&typeof u!="boolean"&&typeof u!="function"?(f=n+s,(u=t.__k[n]=typeof u=="string"||typeof u=="number"||typeof u=="bigint"||u.constructor==String?I(null,u,null,null,null):B(u)?I(ee,{children:u},null,null,null):u.constructor==null&&u.__b>0?I(u.type,u.props,u.key,u.ref?u.ref:null,u.__v):u).__=t,u.__b=t.__b+1,c=null,(l=u.__i=nt(u,_,f,i))!=-1&&(i--,(c=_[l])&&(c.__u|=2)),c==null||c.__v==null?(l==-1&&(o>p?s--:o<p&&s++),typeof u.type!="function"&&(u.__u|=4)):l!=f&&(l==f-1?s--:l==f+1?s++:(l>f?s--:s++,u.__u|=4))):t.__k[n]=null;if(i)for(n=0;n<p;n++)(c=_[n])!=null&&(2&c.__u)==0&&(c.__e==r&&(r=N(c)),Ke(c,c));return r}function je(t,e,_,r){var o,n;if(typeof t.type=="function"){for(o=t.__k,n=0;o&&n<o.length;n++)o[n]&&(o[n].__=t,e=je(o[n],e,_,r));return e}t.__e!=e&&(r&&(e&&t.type&&!e.parentNode&&(e=N(t)),_.insertBefore(t.__e,e||null)),e=t.__e);do e=e&&e.nextSibling;while(e!=null&&e.nodeType==8);return e}function Be(t,e){return e=e||[],t==null||typeof t=="boolean"||(B(t)?t.some(function(_){Be(_,e)}):e.push(t)),e}function nt(t,e,_,r){var o,n,u,c=t.key,f=t.type,l=e[_],p=l!=null&&(2&l.__u)==0;if(l===null&&t.key==null||p&&c==l.key&&f==l.type)return _;if(r>(p?1:0)){for(o=_-1,n=_+1;o>=0||n<e.length;)if((l=e[u=o>=0?o--:n++])!=null&&(2&l.__u)==0&&c==l.key&&f==l.type)return u}return-1}function be(t,e,_){e[0]=="-"?t.setProperty(e,_??""):t[e]=_==null?"":typeof _!="number"||tt.test(e)?_:_+"px"}function G(t,e,_,r,o){var n,u;e:if(e=="style")if(typeof _=="string")t.style.cssText=_;else{if(typeof r=="string"&&(t.style.cssText=r=""),r)for(e in r)_&&e in _||be(t.style,e,"");if(_)for(e in _)r&&_[e]==r[e]||be(t.style,e,_[e])}else if(e[0]=="o"&&e[1]=="n")n=e!=(e=e.replace(Oe,"$1")),u=e.toLowerCase(),e=u in t||e=="onFocusOut"||e=="onFocusIn"?u.slice(2):e.slice(2),t.l||(t.l={}),t.l[e+n]=_,_?r?_.u=r.u:(_.u=se,t.addEventListener(e,n?oe:re,n)):t.removeEventListener(e,n?oe:re,n);else{if(o=="http://www.w3.org/2000/svg")e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!="width"&&e!="height"&&e!="href"&&e!="list"&&e!="form"&&e!="tabIndex"&&e!="download"&&e!="rowSpan"&&e!="colSpan"&&e!="role"&&e!="popover"&&e in t)try{t[e]=_??"";break e}catch{}typeof _=="function"||(_==null||_===!1&&e[4]!="-"?t.removeAttribute(e):t.setAttribute(e,e=="popover"&&_==1?"":_))}}function ke(t){return function(e){if(this.l){var _=this.l[e.type+t];if(e.t==null)e.t=se++;else if(e.t<_.u)return;return _(h.event?h.event(e):e)}}}function ae(t,e,_,r,o,n,u,c,f,l){var p,i,s,a,v,E,g,d,m,P,w,A,H,K,T,b,C,S=e.type;if(e.constructor!=null)return null;128&_.__u&&(f=!!(32&_.__u),n=[c=e.__e=_.__e]),(p=h.__b)&&p(e);e:if(typeof S=="function")try{if(d=e.props,m="prototype"in S&&S.prototype.render,P=(p=S.contextType)&&r[p.__c],w=p?P?P.props.value:p.__:r,_.__c?g=(i=e.__c=_.__c).__=i.__E:(m?e.__c=i=new S(d,w):(e.__c=i=new Y(d,w),i.constructor=S,i.render=ot),P&&P.sub(i),i.props=d,i.state||(i.state={}),i.context=w,i.__n=r,s=i.__d=!0,i.__h=[],i._sb=[]),m&&i.__s==null&&(i.__s=i.state),m&&S.getDerivedStateFromProps!=null&&(i.__s==i.state&&(i.__s=$({},i.__s)),$(i.__s,S.getDerivedStateFromProps(d,i.__s))),a=i.props,v=i.state,i.__v=e,s)m&&S.getDerivedStateFromProps==null&&i.componentWillMount!=null&&i.componentWillMount(),m&&i.componentDidMount!=null&&i.__h.push(i.componentDidMount);else{if(m&&S.getDerivedStateFromProps==null&&d!==a&&i.componentWillReceiveProps!=null&&i.componentWillReceiveProps(d,w),!i.__e&&i.shouldComponentUpdate!=null&&i.shouldComponentUpdate(d,i.__s,w)===!1||e.__v==_.__v){for(e.__v!=_.__v&&(i.props=d,i.state=i.__s,i.__d=!1),e.__e=_.__e,e.__k=_.__k,e.__k.some(function(M){M&&(M.__=e)}),A=0;A<i._sb.length;A++)i.__h.push(i._sb[A]);i._sb=[],i.__h.length&&u.push(i);break e}i.componentWillUpdate!=null&&i.componentWillUpdate(d,i.__s,w),m&&i.componentDidUpdate!=null&&i.__h.push(function(){i.componentDidUpdate(a,v,E)})}if(i.context=w,i.props=d,i.__P=t,i.__e=!1,H=h.__r,K=0,m){for(i.state=i.__s,i.__d=!1,H&&H(e),p=i.render(i.props,i.state,i.context),T=0;T<i._sb.length;T++)i.__h.push(i._sb[T]);i._sb=[]}else do i.__d=!1,H&&H(e),p=i.render(i.props,i.state,i.context),i.state=i.__s;while(i.__d&&++K<25);i.state=i.__s,i.getChildContext!=null&&(r=$($({},r),i.getChildContext())),m&&!s&&i.getSnapshotBeforeUpdate!=null&&(E=i.getSnapshotBeforeUpdate(a,v)),b=p,p!=null&&p.type===ee&&p.key==null&&(b=ze(p.props.children)),c=We(t,B(b)?b:[b],e,_,r,o,n,u,c,f,l),i.base=e.__e,e.__u&=-161,i.__h.length&&u.push(i),g&&(i.__E=i.__=null)}catch(M){if(e.__v=null,f||n!=null)if(M.then){for(e.__u|=f?160:128;c&&c.nodeType==8&&c.nextSibling;)c=c.nextSibling;n[n.indexOf(c)]=null,e.__e=c}else{for(C=n.length;C--;)fe(n[C]);ue(e)}else e.__e=_.__e,e.__k=_.__k,M.then||ue(e);h.__e(M,e,_)}else n==null&&e.__v==_.__v?(e.__k=_.__k,e.__e=_.__e):c=e.__e=rt(_.__e,e,_,r,o,n,u,f,l);return(p=h.diffed)&&p(e),128&e.__u?void 0:c}function ue(t){t&&t.__c&&(t.__c.__e=!0),t&&t.__k&&t.__k.forEach(ue)}function qe(t,e,_){for(var r=0;r<_.length;r++)pe(_[r],_[++r],_[++r]);h.__c&&h.__c(e,t),t.some(function(o){try{t=o.__h,o.__h=[],t.some(function(n){n.call(o)})}catch(n){h.__e(n,o.__v)}})}function ze(t){return typeof t!="object"||t==null||t.__b&&t.__b>0?t:B(t)?t.map(ze):$({},t)}function rt(t,e,_,r,o,n,u,c,f){var l,p,i,s,a,v,E,g=_.props,d=e.props,m=e.type;if(m=="svg"?o="http://www.w3.org/2000/svg":m=="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),n!=null){for(l=0;l<n.length;l++)if((a=n[l])&&"setAttribute"in a==!!m&&(m?a.localName==m:a.nodeType==3)){t=a,n[l]=null;break}}if(t==null){if(m==null)return document.createTextNode(d);t=document.createElementNS(o,m,d.is&&d),c&&(h.__m&&h.__m(e,n),c=!1),n=null}if(m==null)g===d||c&&t.data==d||(t.data=d);else{if(n=n&&j.call(t.childNodes),g=_.props||W,!c&&n!=null)for(g={},l=0;l<t.attributes.length;l++)g[(a=t.attributes[l]).name]=a.value;for(l in g)if(a=g[l],l!="children"){if(l=="dangerouslySetInnerHTML")i=a;else if(!(l in d)){if(l=="value"&&"defaultValue"in d||l=="checked"&&"defaultChecked"in d)continue;G(t,l,null,a,o)}}for(l in d)a=d[l],l=="children"?s=a:l=="dangerouslySetInnerHTML"?p=a:l=="value"?v=a:l=="checked"?E=a:c&&typeof a!="function"||g[l]===a||G(t,l,a,g[l],o);if(p)c||i&&(p.__html==i.__html||p.__html==t.innerHTML)||(t.innerHTML=p.__html),e.__k=[];else if(i&&(t.innerHTML=""),We(e.type=="template"?t.content:t,B(s)?s:[s],e,_,r,m=="foreignObject"?"http://www.w3.org/1999/xhtml":o,n,u,n?n[0]:_.__k&&N(_,0),c,f),n!=null)for(l=n.length;l--;)fe(n[l]);c||(l="value",m=="progress"&&v==null?t.removeAttribute("value"):v!=null&&(v!==t[l]||m=="progress"&&!v||m=="option"&&v!=g[l])&&G(t,l,v,g[l],o),l="checked",E!=null&&E!=t[l]&&G(t,l,E,g[l],o))}return t}function pe(t,e,_){try{if(typeof t=="function"){var r=typeof t.__u=="function";r&&t.__u(),r&&e==null||(t.__u=t(e))}else t.current=e}catch(o){h.__e(o,_)}}function Ke(t,e,_){var r,o;if(h.unmount&&h.unmount(t),(r=t.ref)&&(r.current&&r.current!=t.__e||pe(r,null,e)),(r=t.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(n){h.__e(n,e)}r.base=r.__P=null}if(r=t.__k)for(o=0;o<r.length;o++)r[o]&&Ke(r[o],e,_||typeof t.type!="function");_||fe(t.__e),t.__c=t.__=t.__e=void 0}function ot(t,e,_){return this.constructor(t,_)}function it(t,e,_){var r,o,n,u;e==document&&(e=document.documentElement),h.__&&h.__(t,e),o=(r=!1)?null:e.__k,n=[],u=[],ae(e,t=e.__k=x(ee,null,[t]),o||W,W,e.namespaceURI,o?null:e.firstChild?j.call(e.childNodes):null,n,o?o.__e:e.firstChild,r,u),qe(n,t,u)}function Ee(t,e,_){var r,o,n,u,c=$({},t.props);for(n in t.type&&t.type.defaultProps&&(u=t.type.defaultProps),e)n=="key"?r=e[n]:n=="ref"?o=e[n]:c[n]=e[n]===void 0&&u!=null?u[n]:e[n];return arguments.length>2&&(c.children=arguments.length>3?j.call(arguments,2):_),I(t.type,c,r||t.key,o||t.ref,null)}function Ge(t){function e(_){var r,o;return this.getChildContext||(r=new Set,(o={})[e.__c]=this,this.getChildContext=function(){return o},this.componentWillUnmount=function(){r=null},this.shouldComponentUpdate=function(n){this.props.value!=n.value&&r.forEach(function(u){u.__e=!0,ie(u)})},this.sub=function(n){r.add(n);var u=n.componentWillUnmount;n.componentWillUnmount=function(){r&&r.delete(n),u&&u.call(n)}}),_.children}return e.__c="__cC"+Ne++,e.__=t,e.Provider=e.__l=(e.Consumer=function(_,r){return _.children(r)}).contextType=e,e}j=Fe.slice,h={__e:function(t,e,_,r){for(var o,n,u;e=e.__;)if((o=e.__c)&&!o.__)try{if((n=o.constructor)&&n.getDerivedStateFromError!=null&&(o.setState(n.getDerivedStateFromError(t)),u=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(t,r||{}),u=o.__d),u)return o.__E=o}catch(c){t=c}throw t}},Ae=0,Y.prototype.setState=function(t,e){var _;_=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=$({},this.state),typeof t=="function"&&(t=t($({},_),this.props)),t&&$(_,t),t!=null&&this.__v&&(e&&this._sb.push(e),ie(this))},Y.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),ie(this))},Y.prototype.render=ee,D=[],Te=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Me=function(t,e){return t.__v.__b-e.__v.__b},Z.__r=0,Oe=/(PointerCapture)$|Capture$/i,se=0,re=ke(!1),oe=ke(!0),Ne=0;var ut=0;function U(t,e,_,r,o,n){e||(e={});var u,c,f=e;if("ref"in f)for(c in f={},e)c=="ref"?u=e[c]:f[c]=e[c];var l={type:t,props:f,key:_,ref:u,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--ut,__i:-1,__u:0,__source:o,__self:n};if(typeof t=="function"&&(u=t.defaultProps))for(c in u)f[c]===void 0&&(f[c]=u[c]);return h.vnode&&h.vnode(l),l}var R,y,te,Pe,V=0,Je=[],k=h,we=k.__b,Se=k.__r,$e=k.diffed,Ce=k.__c,Le=k.unmount,xe=k.__;function q(t,e){k.__h&&k.__h(y,t,V||e),V=0;var _=y.__H||(y.__H={__:[],__h:[]});return t>=_.__.length&&_.__.push({}),_.__[t]}function ct(t){return V=1,he(Xe,t)}function he(t,e,_){var r=q(R++,2);if(r.t=t,!r.__c&&(r.__=[Xe(void 0,e),function(c){var f=r.__N?r.__N[0]:r.__[0],l=r.t(f,c);f!==l&&(r.__N=[l,r.__[1]],r.__c.setState({}))}],r.__c=y,!y.__f)){var o=function(c,f,l){if(!r.__c.__H)return!0;var p=r.__c.__H.__.filter(function(s){return!!s.__c});if(p.every(function(s){return!s.__N}))return!n||n.call(this,c,f,l);var i=r.__c.props!==c;return p.forEach(function(s){if(s.__N){var a=s.__[0];s.__=s.__N,s.__N=void 0,a!==s.__[0]&&(i=!0)}}),n&&n.call(this,c,f,l)||i};y.__f=!0;var n=y.shouldComponentUpdate,u=y.componentWillUpdate;y.componentWillUpdate=function(c,f,l){if(this.__e){var p=n;n=void 0,o(c,f,l),n=p}u&&u.call(this,c,f,l)},y.shouldComponentUpdate=o}return r.__N||r.__}function Et(t,e){var _=q(R++,3);!k.__s&&me(_.__H,e)&&(_.__=t,_.u=e,y.__H.__h.push(_))}function Qe(t,e){var _=q(R++,4);!k.__s&&me(_.__H,e)&&(_.__=t,_.u=e,y.__h.push(_))}function L(t){return V=5,de(function(){return{current:t}},[])}function de(t,e){var _=q(R++,7);return me(_.__H,e)&&(_.__=t(),_.__H=e,_.__h=t),_.__}function Ye(t){var e=y.context[t.__c],_=q(R++,9);return _.c=t,e?(_.__==null&&(_.__=!0,e.sub(y)),e.props.value):t.__}function lt(){for(var t;t=Je.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(X),t.__H.__h.forEach(ce),t.__H.__h=[]}catch(e){t.__H.__h=[],k.__e(e,t.__v)}}k.__b=function(t){y=null,we&&we(t)},k.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),xe&&xe(t,e)},k.__r=function(t){Se&&Se(t),R=0;var e=(y=t.__c).__H;e&&(te===y?(e.__h=[],y.__h=[],e.__.forEach(function(_){_.__N&&(_.__=_.__N),_.u=_.__N=void 0})):(e.__h.forEach(X),e.__h.forEach(ce),e.__h=[],R=0)),te=y},k.diffed=function(t){$e&&$e(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(Je.push(e)!==1&&Pe===k.requestAnimationFrame||((Pe=k.requestAnimationFrame)||st)(lt)),e.__H.__.forEach(function(_){_.u&&(_.__H=_.u),_.u=void 0})),te=y=null},k.__c=function(t,e){e.some(function(_){try{_.__h.forEach(X),_.__h=_.__h.filter(function(r){return!r.__||ce(r)})}catch(r){e.some(function(o){o.__h&&(o.__h=[])}),e=[],k.__e(r,_.__v)}}),Ce&&Ce(t,e)},k.unmount=function(t){Le&&Le(t);var e,_=t.__c;_&&_.__H&&(_.__H.__.forEach(function(r){try{X(r)}catch(o){e=o}}),_.__H=void 0,e&&k.__e(e,_.__v))};var He=typeof requestAnimationFrame=="function";function st(t){var e,_=function(){clearTimeout(r),He&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(_,35);He&&(e=requestAnimationFrame(_))}function X(t){var e=y,_=t.__c;typeof _=="function"&&(t.__c=void 0,_()),y=e}function ce(t){var e=y;t.__c=t.__(),y=e}function me(t,e){return!t||t.length!==e.length||e.some(function(_,r){return _!==t[r]})}function Xe(t,e){return typeof e=="function"?e(t):e}let O,F;function ft(t){return!F||(typeof F=="string"?t.startsWith(F):F.test(t))}function at(t,e){let _="";if(O=void 0,e&&e.type==="click"){if(e.ctrlKey||e.metaKey||e.altKey||e.shiftKey||e.button!==0)return t;const r=e.composedPath().find(n=>n.nodeName=="A"&&n.href),o=r&&r.getAttribute("href");if(!r||r.origin!=location.origin||/^#/.test(o)||!/^(_?self)?$/i.test(r.target)||!ft(o))return t;O=!0,e.preventDefault(),_=r.href.replace(location.origin,"")}else e&&e.url?(O=!e.replace,_=e.url):_=location.pathname+location.search;return O===!0?history.pushState(null,"",_):O===!1&&history.replaceState(null,"",_),_}const pt=(t,e,_={})=>{t=t.split("/").filter(Boolean),e=(e||"").split("/").filter(Boolean),_.params||(_.params={});for(let r=0,o,n;r<Math.max(t.length,e.length);r++){let[,u,c,f]=(e[r]||"").match(/^(:?)(.*?)([+*?]?)$/);if(o=t[r],!(!u&&c==o)){if(!u&&o&&f=="*"){_.rest="/"+t.slice(r).map(decodeURIComponent).join("/");break}if(!u||!o&&f!="?"&&f!="*")return;if(n=f=="+"||f=="*",n?o=t.slice(r).map(decodeURIComponent).join("/")||void 0:o&&(o=decodeURIComponent(o)),_.params[c]=o,c in _||(_[c]=o),n)break}}return _};function z(t){const[e,_]=he(at,t.url||location.pathname+location.search);t.scope&&(F=t.scope);const r=O===!0,o=de(()=>{const n=new URL(e,location.origin),u=n.pathname.replace(/\/+$/g,"")||"/";return{url:e,path:u,query:Object.fromEntries(n.searchParams),route:(c,f)=>_({url:c,replace:f}),wasPush:r}},[e]);return Qe(()=>(addEventListener("click",_),addEventListener("popstate",_),()=>{removeEventListener("click",_),removeEventListener("popstate",_)}),[]),x(z.ctx.Provider,{value:o},t.children)}const ht=Promise.resolve();function Ze(t){const[e,_]=he(b=>b+1,0),{url:r,query:o,wasPush:n,path:u}=dt();if(!r)throw new Error("preact-iso's <Router> must be used within a <LocationProvider>, see: https://github.com/preactjs/preact-iso#locationprovider");const{rest:c=u,params:f={}}=Ye(Ue),l=L(!1),p=L(u),i=L(0),s=L(),a=L(),v=L(),E=L(!1),g=L();g.current=!1;let d,m,P;Be(t.children).some(b=>{if(pt(c,b.props.path,P={...b.props,path:c,query:o,params:Object.assign({},f),rest:""}))return d=Ee(b,P);b.props.default&&(m=Ee(b,P))});let w=d||m;const A=s.current&&s.current.__u&J&&s.current.__u&Q,H=s.current&&s.current.__h,K=de(()=>{a.current=s.current,s.current=x(Ue.Provider,{value:P},w);const b=a.current&&a.current.props.children;return!b||!w||w.type!==b.type||w.props.component!==b.props.component?(this.__v&&this.__v.__k&&this.__v.__k.reverse(),i.current++,!0):!1},[r,JSON.stringify(P)]);A?(s.current.__u|=J,s.current.__u|=Q):H&&(s.current.__h=!0);const T=a.current;return a.current=null,this.__c=(b,C)=>{g.current=!0,a.current=T,t.onLoadStart&&t.onLoadStart(r),l.current=!0;let S=i.current;b.then(()=>{S===i.current&&(a.current=null,s.current&&(C.__h&&(s.current.__h=C.__h),C.__u&Q&&(s.current.__u|=Q),C.__u&J&&(s.current.__u|=J)),ht.then(_))})},Qe(()=>{const b=this.__v&&this.__v.__e;if(g.current){!E.current&&!v.current&&(v.current=b);return}!E.current&&v.current&&(v.current!==b&&v.current.remove(),v.current=null),E.current=!0,p.current!==u&&(n&&scrollTo(0,0),t.onRouteChange&&t.onRouteChange(r),p.current=u),t.onLoadEnd&&l.current&&t.onLoadEnd(r),l.current=!1},[u,n,e]),K?[x(_e,{r:s}),x(_e,{r:a})]:x(_e,{r:s})}const J=32,Q=128,_e=({r:t})=>t.current;Ze.Provider=z;z.ctx=Ge({});const Ue=Ge({}),ne=t=>x(t.component,t),dt=()=>Ye(z.ctx),De=h.__b;h.__b=t=>{t.type&&t.type._forwarded&&t.ref&&(t.props.ref=t.ref,t.ref=null),De&&De(t)};function ve(t){let e,_;const r=()=>t().then(n=>_=n&&n.default||n),o=n=>{const[,u]=ct(0),c=L(_);if(e||(e=r()),_!==void 0)return x(_,n);throw c.current||(c.current=e.then(()=>u(1))),e};return o.preload=()=>(e||(e=r()),e),o._forwarded=!0,o}const Re=h.__e;h.__e=(t,e,_)=>{if(t&&t.then){let r=e;for(;r=r.__;)if(r.__c&&r.__c.__c)return e.__e==null&&(e.__c.__z=[_.__e],e.__e=_.__e,e.__k=_.__k),e.__k||(e.__k=[]),r.__c.__c(t,e)}Re&&Re(t,e,_)};function mt(t){return this.__c=vt,this.componentDidCatch=t.onError,t.children}function vt(t){t.then(()=>this.forceUpdate())}const yt=ve(()=>le(()=>import("./Home-C_Vu2Pm9.js"),__vite__mapDeps([0,1]))),gt=ve(()=>le(()=>import("./About-B1OC_zE4.js"),__vite__mapDeps([2,1]))),bt=ve(()=>le(()=>import("./NotFound-BvWaaeTy.js"),__vite__mapDeps([3,1])));function kt(){return U(z,{children:U(mt,{children:U(Ze,{children:[U(ne,{path:"/",component:yt}),U(ne,{path:"/about",component:gt}),U(ne,{default:!0,component:bt})]})})})}it(U(kt,{}),document.body);export{de as T,le as _,ct as d,U as u,Et as y};
@@ -0,0 +1,2 @@
1
+ try{self["workbox:window:7.3.0"]&&_()}catch{}function b(n,r){return new Promise((function(t){var o=new MessageChannel;o.port1.onmessage=function(f){t(f.data)},n.postMessage(r,[o.port2])}))}function P(n,r){(r==null||r>n.length)&&(r=n.length);for(var t=0,o=Array(r);t<r;t++)o[t]=n[t];return o}function j(n,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(n,W(o.key),o)}}function S(n,r){var t=typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(t)return(t=t.call(n)).next.bind(t);if(Array.isArray(n)||(t=(function(f,c){if(f){if(typeof f=="string")return P(f,c);var a={}.toString.call(f).slice(8,-1);return a==="Object"&&f.constructor&&(a=f.constructor.name),a==="Map"||a==="Set"?Array.from(f):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?P(f,c):void 0}})(n))||r){t&&(n=t);var o=0;return function(){return o>=n.length?{done:!0}:{done:!1,value:n[o++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function w(n,r){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,o){return t.__proto__=o,t},w(n,r)}function W(n){var r=(function(t,o){if(typeof t!="object"||!t)return t;var f=t[Symbol.toPrimitive];if(f!==void 0){var c=f.call(t,o);if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)})(n,"string");return typeof r=="symbol"?r:r+""}try{self["workbox:core:7.3.0"]&&_()}catch{}var m=function(){var n=this;this.promise=new Promise((function(r,t){n.resolve=r,n.reject=t}))};function y(n,r){var t=location.href;return new URL(n,t).href===new URL(r,t).href}var d=function(n,r){this.type=n,Object.assign(this,r)};function l(n,r,t){return t?r?r(n):n:(n&&n.then||(n=Promise.resolve(n)),r?n.then(r):n)}function k(){}var L={type:"SKIP_WAITING"};function E(n,r){return n&&n.then?n.then(k):Promise.resolve()}var O=(function(n){function r(c,a){var e,i;return a===void 0&&(a={}),(e=n.call(this)||this).nn={},e.tn=0,e.rn=new m,e.en=new m,e.on=new m,e.un=0,e.an=new Set,e.cn=function(){var u=e.fn,s=u.installing;e.tn>0||!y(s.scriptURL,e.sn.toString())||performance.now()>e.un+6e4?(e.vn=s,u.removeEventListener("updatefound",e.cn)):(e.hn=s,e.an.add(s),e.rn.resolve(s)),++e.tn,s.addEventListener("statechange",e.ln)},e.ln=function(u){var s=e.fn,v=u.target,h=v.state,p=v===e.vn,g={sw:v,isExternal:p,originalEvent:u};!p&&e.mn&&(g.isUpdate=!0),e.dispatchEvent(new d(h,g)),h==="installed"?e.wn=self.setTimeout((function(){h==="installed"&&s.waiting===v&&e.dispatchEvent(new d("waiting",g))}),200):h==="activating"&&(clearTimeout(e.wn),p||e.en.resolve(v))},e.yn=function(u){var s=e.hn,v=s!==navigator.serviceWorker.controller;e.dispatchEvent(new d("controlling",{isExternal:v,originalEvent:u,sw:s,isUpdate:e.mn})),v||e.on.resolve(s)},e.gn=(i=function(u){var s=u.data,v=u.ports,h=u.source;return l(e.getSW(),(function(){e.an.has(h)&&e.dispatchEvent(new d("message",{data:s,originalEvent:u,ports:v,sw:h}))}))},function(){for(var u=[],s=0;s<arguments.length;s++)u[s]=arguments[s];try{return Promise.resolve(i.apply(this,u))}catch(v){return Promise.reject(v)}}),e.sn=c,e.nn=a,navigator.serviceWorker.addEventListener("message",e.gn),e}var t,o;o=n,(t=r).prototype=Object.create(o.prototype),t.prototype.constructor=t,w(t,o);var f=r.prototype;return f.register=function(c){var a=(c===void 0?{}:c).immediate,e=a!==void 0&&a;try{var i=this;return l((function(u,s){var v=u();return v&&v.then?v.then(s):s(v)})((function(){if(!e&&document.readyState!=="complete")return E(new Promise((function(u){return window.addEventListener("load",u)})))}),(function(){return i.mn=!!navigator.serviceWorker.controller,i.dn=i.pn(),l(i.bn(),(function(u){i.fn=u,i.dn&&(i.hn=i.dn,i.en.resolve(i.dn),i.on.resolve(i.dn),i.dn.addEventListener("statechange",i.ln,{once:!0}));var s=i.fn.waiting;return s&&y(s.scriptURL,i.sn.toString())&&(i.hn=s,Promise.resolve().then((function(){i.dispatchEvent(new d("waiting",{sw:s,wasWaitingBeforeRegister:!0}))})).then((function(){}))),i.hn&&(i.rn.resolve(i.hn),i.an.add(i.hn)),i.fn.addEventListener("updatefound",i.cn),navigator.serviceWorker.addEventListener("controllerchange",i.yn),i.fn}))})))}catch(u){return Promise.reject(u)}},f.update=function(){try{return this.fn?l(E(this.fn.update())):l()}catch(c){return Promise.reject(c)}},f.getSW=function(){return this.hn!==void 0?Promise.resolve(this.hn):this.rn.promise},f.messageSW=function(c){try{return l(this.getSW(),(function(a){return b(a,c)}))}catch(a){return Promise.reject(a)}},f.messageSkipWaiting=function(){this.fn&&this.fn.waiting&&b(this.fn.waiting,L)},f.pn=function(){var c=navigator.serviceWorker.controller;return c&&y(c.scriptURL,this.sn.toString())?c:void 0},f.bn=function(){try{var c=this;return l((function(a,e){try{var i=a()}catch(u){return e(u)}return i&&i.then?i.then(void 0,e):i})((function(){return l(navigator.serviceWorker.register(c.sn,c.nn),(function(a){return c.un=performance.now(),a}))}),(function(a){throw a})))}catch(a){return Promise.reject(a)}},(function(c,a,e){return a&&j(c.prototype,a),Object.defineProperty(c,"prototype",{writable:!1}),c})(r,[{key:"active",get:function(){return this.en.promise}},{key:"controlling",get:function(){return this.on.promise}}])})((function(){function n(){this.Pn=new Map}var r=n.prototype;return r.addEventListener=function(t,o){this.jn(t).add(o)},r.removeEventListener=function(t,o){this.jn(t).delete(o)},r.dispatchEvent=function(t){t.target=this;for(var o,f=S(this.jn(t.type));!(o=f()).done;)(0,o.value)(t)},r.jn=function(t){return this.Pn.has(t)||this.Pn.set(t,new Set),this.Pn.get(t)},n})());export{O as Workbox,d as WorkboxEvent,b as messageSW};
Binary file
Binary file
Binary file
@@ -0,0 +1,18 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
2
+ <style>
3
+ .cyan { fill: rgba(145, 145, 145, 1); }
4
+ .purple { fill: rgba(100, 100, 100, 1); }
5
+ .inner { fill: white; }
6
+ .outer { fill: black; }
7
+ @media (prefers-color-scheme: dark) {
8
+ .outer { fill: white; }
9
+ .inner { fill: transparent; }
10
+ }
11
+ </style>
12
+ <path class="cyan" d=" M 4 4 L 1 4 C 0.448 4 0 4.448 0 5 L 0 8 L 4 8 L 4 4 Z " />
13
+ <path class="cyan" d=" M 12 4 L 15 4 C 15.552 4 16 4.448 16 5 L 16 8 L 12 8 L 12 4 Z " />
14
+ <path class="purple" d=" M 4 12 L 1 12 C 0.448 12 0 11.552 0 11 L 0 8 L 4 8 L 4 12 Z " />
15
+ <path class="purple" d=" M 12 12 L 15 12 C 15.552 12 16 11.552 16 11 L 16 8 L 12 8 L 12 12 Z " />
16
+ <rect class="inner" x="6" y="1" width="4" height="14" transform="matrix(1,0,0,1,0,0)" />
17
+ <path class="outer" d=" M 8 0 L 8 0 C 9.656 0 11 1.344 11 3 L 11 13 C 11 14.656 9.656 16 8 16 L 8 16 C 6.344 16 5 14.656 5 13 L 5 3 C 5 1.344 6.344 0 8 0 Z M 8 2 L 8 2 C 8.552 2 9 2.448 9 3 L 9 13 C 9 13.552 8.552 14 8 14 L 8 14 C 7.448 14 7 13.552 7 13 L 7 3 C 7 2.448 7.448 2 8 2 Z " fill-rule="evenodd" />
18
+ </svg>
@@ -2,11 +2,20 @@
2
2
  <html lang="en">
3
3
  <head>
4
4
  <meta charset="UTF-8" />
5
- <link rel="icon" type="image/svg+xml" href="/vite.svg" />
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
5
+
7
6
  <title>CoreQuery</title>
8
- <script type="module" crossorigin src="/assets/index-CAIeHOhe.js"></script>
9
- <link rel="manifest" href="/manifest.webmanifest"><script id="vite-plugin-pwa:register-sw" src="/registerSW.js"></script></head>
7
+ <meta
8
+ name="description"
9
+ content="A platform for building web apps serving transit information."
10
+ />
11
+
12
+ <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
13
+ <link rel="apple-touch-icon" href="/apple-touch-icon.png" sizes="180x180" />
14
+ <link rel="mask-icon" href="/favicon.svg" color="#FFFFFF" />
15
+ <meta name="theme-color" content="#242933" />
16
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
17
+ <script type="module" crossorigin src="/assets/index-LHb5BUSB.js"></script>
18
+ <link rel="manifest" href="/manifest.webmanifest"></head>
10
19
  <body>
11
20
  </body>
12
21
  </html>
@@ -1 +1 @@
1
- {"name":"CoreQuery Demo App","short_name":"corequery","description":"A platform for building web apps serving transit information.","start_url":"/","display":"standalone","background_color":"#ffffff","theme_color":"#42b883","lang":"en","scope":"/"}
1
+ {"name":"CoreQuery","short_name":"CoreQuery","description":"A platform for building web apps serving transit information.","start_url":"/","display":"standalone","background_color":"#242933","theme_color":"#242933","lang":"en","scope":"/","icons":[{"src":"/favicon-circle-192.png","sizes":"192x192","type":"image/png","purpose":"any"},{"src":"/favicon-circle-512.png","sizes":"512x512","type":"image/png","purpose":"any"},{"src":"/favicon-maskable-192.png","sizes":"192x192","type":"image/png","purpose":"maskable"},{"src":"/favicon-maskable-512.png","sizes":"512x512","type":"image/png","purpose":"maskable"}]}
@@ -0,0 +1,2 @@
1
+ User-agent: *
2
+ Allow: /
package/web/dist/sw.js CHANGED
@@ -1 +1 @@
1
- if(!self.define){let e,s={};const i=(i,n)=>(i=new URL(i+".js",n).href,s[i]||new Promise(s=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=s,document.head.appendChild(e)}else e=i,importScripts(i),s()}).then(()=>{let e=s[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e}));self.define=(n,r)=>{const t=e||("document"in self?document.currentScript.src:"")||location.href;if(s[t])return;let o={};const l=e=>i(e,t),u={module:{uri:t},exports:o,require:l};s[t]=Promise.all(n.map(e=>u[e]||l(e))).then(e=>(r(...e),o))}}define(["./workbox-1ef09536"],function(e){"use strict";self.addEventListener("message",e=>{e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()}),e.precacheAndRoute([{url:"registerSW.js",revision:"1872c500de691dce40960bb85481de07"},{url:"index.html",revision:"8087ccf519638fd03cc644ece1211841"},{url:"assets/index-CAIeHOhe.js",revision:null},{url:"assets/NotFound-vj1r1f4z.js",revision:null},{url:"assets/Nav-C2NVTyoC.js",revision:null},{url:"assets/Home-BduB8uYZ.js",revision:null},{url:"assets/About-CHls07V1.js",revision:null},{url:"manifest.webmanifest",revision:"48fd3cb91ed36b2bc127d102d508a762"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html")))});
1
+ if(!self.define){let e,s={};const i=(i,n)=>(i=new URL(i+".js",n).href,s[i]||new Promise(s=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=s,document.head.appendChild(e)}else e=i,importScripts(i),s()}).then(()=>{let e=s[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e}));self.define=(n,r)=>{const o=e||("document"in self?document.currentScript.src:"")||location.href;if(s[o])return;let l={};const t=e=>i(e,o),u={module:{uri:o},exports:l,require:t};s[o]=Promise.all(n.map(e=>u[e]||t(e))).then(e=>(r(...e),l))}}define(["./workbox-1ef09536"],function(e){"use strict";self.addEventListener("message",e=>{e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()}),e.precacheAndRoute([{url:"index.html",revision:"d6bdf87b060af37784a1273047e5c23e"},{url:"assets/workbox-window.prod.es5-BIl4cyR9.js",revision:null},{url:"assets/index-LHb5BUSB.js",revision:null},{url:"assets/NotFound-BvWaaeTy.js",revision:null},{url:"assets/Nav-BxBap7GO.js",revision:null},{url:"assets/Home-C_Vu2Pm9.js",revision:null},{url:"assets/About-B1OC_zE4.js",revision:null},{url:"favicon-circle-192.png",revision:"7a402c9d0a2294676fab97b3fb912e51"},{url:"favicon-circle-512.png",revision:"db3ee8e87586c10d1b8914b9b00ac670"},{url:"favicon-maskable-192.png",revision:"f3c7b9b24b8dfce90cb512fe5d55a275"},{url:"favicon-maskable-512.png",revision:"8928bafd5dbfeb2c0a72664e29ba5591"},{url:"manifest.webmanifest",revision:"3755ff955b3029cd3f7deea4ec0672e5"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html")))});
@@ -1 +0,0 @@
1
- import{u as r}from"./index-CAIeHOhe.js";import{N as o}from"./Nav-C2NVTyoC.js";function u(){return r("div",{children:[r("h1",{children:"CoreQuery - About"}),r(o,{})]})}export{u as default};
@@ -1 +0,0 @@
1
- import{y as r,u as o}from"./index-CAIeHOhe.js";import{N as e}from"./Nav-C2NVTyoC.js";function n(){console.log("This is shared code running!")}function u(){return r(()=>{n()},[]),o("div",{children:[o("h1",{children:"CoreQuery - Home"}),o(e,{})]})}export{u as default};
@@ -1 +0,0 @@
1
- import{u as o}from"./index-CAIeHOhe.js";import{N as r}from"./Nav-C2NVTyoC.js";function n(){return o("div",{children:[o("h1",{children:"CoreQuery - Not Found"}),o(r,{})]})}export{n as default};
@@ -1 +0,0 @@
1
- if('serviceWorker' in navigator) {window.addEventListener('load', () => {navigator.serviceWorker.register('/sw.js', { scope: '/' })})}