corequery 0.1.5 → 0.1.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "corequery",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "server/dist",
@@ -17,4 +17,5 @@ export declare class WebServerAssetPreparer {
17
17
  private _replaceWebManifest;
18
18
  private _replaceIndexHtmlTags;
19
19
  private _replaceIcons;
20
+ private _replaceServiceWorkerRevisionHashes;
20
21
  }
@@ -1,6 +1,7 @@
1
1
  import path from "path";
2
2
  import fsp from "fs/promises";
3
3
  import { parse } from "node-html-parser";
4
+ import crypto from "crypto";
4
5
  export class WebServerAssetPreparer {
5
6
  _config;
6
7
  constructor(_config) {
@@ -12,6 +13,9 @@ export class WebServerAssetPreparer {
12
13
  await this._replaceIndexHtmlTags(indexHtmlPath);
13
14
  await this._replaceWebManifest(webManifestPath);
14
15
  await this._replaceIcons(distFolderPath);
16
+ // Must come last, otherwise we'll calculate hashes before the file contents
17
+ // are swapped.
18
+ await this._replaceServiceWorkerRevisionHashes(distFolderPath);
15
19
  }
16
20
  async _replaceWebManifest(filePath) {
17
21
  const manifestStr = await fsp.readFile(filePath, "utf-8");
@@ -31,7 +35,7 @@ export class WebServerAssetPreparer {
31
35
  function requireTag(selector) {
32
36
  const tag = indexHtml.querySelector(selector);
33
37
  if (tag == null)
34
- throw new Error(`${selector}" tag not found.`);
38
+ throw new Error(`"${selector}" tag not found.`);
35
39
  return tag;
36
40
  }
37
41
  const titleTag = requireTag("title");
@@ -59,5 +63,37 @@ export class WebServerAssetPreparer {
59
63
  await fsp.copyFile(sourcePath, destPath);
60
64
  }
61
65
  }
66
+ async _replaceServiceWorkerRevisionHashes(distFolderPath) {
67
+ const serviceWorkerPath = path.join(distFolderPath, "sw.js");
68
+ const serviceWorkerStr = await fsp.readFile(serviceWorkerPath, "utf-8");
69
+ const filesRequiringRevisionUpdates = [
70
+ "index.html",
71
+ "manifest.webmanifest",
72
+ "favicon.svg",
73
+ "apple-touch-icon.png",
74
+ "pwa-192x192.png",
75
+ "pwa-512x512.png",
76
+ "pwa-maskable-192x192.png",
77
+ "pwa-maskable-512x512.png",
78
+ ];
79
+ const matches = Array.from(serviceWorkerStr.matchAll(/{url:"([^"]+)",revision:"[^"]+"}/g)).map((match) => ({
80
+ fullText: match[0],
81
+ url: match[1],
82
+ }));
83
+ let newServiceWorkerStr = serviceWorkerStr;
84
+ for (const file of filesRequiringRevisionUpdates) {
85
+ // Filter, as some assets (e.g. pwa-192x192.png) are in there twice.
86
+ const entries = matches.filter((m) => m.url === file);
87
+ if (entries.length === 0)
88
+ throw new Error(`"${file}" had no revisions.`);
89
+ const fullFilePath = path.join(distFolderPath, file);
90
+ const fileContent = await fsp.readFile(fullFilePath);
91
+ const hash = crypto.createHash("md5").update(fileContent).digest("hex");
92
+ for (const entry of entries) {
93
+ newServiceWorkerStr = newServiceWorkerStr.replace(entry.fullText, `{url:"${entry.url}",revision:"${hash}"}`);
94
+ }
95
+ }
96
+ await fsp.writeFile(serviceWorkerPath, newServiceWorkerStr);
97
+ }
62
98
  }
63
99
  //# sourceMappingURL=web-server-asset-preparer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"web-server-asset-preparer.js","sourceRoot":"","sources":["../../web-server-asset-preparer.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,GAAG,MAAM,aAAa,CAAC;AAC9B,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAgBzC,MAAM,OAAO,sBAAsB;IACJ;IAA7B,YAA6B,OAAoB;QAApB,YAAO,GAAP,OAAO,CAAa;IAAG,CAAC;IAErD,KAAK,CAAC,iBAAiB,CAAC,cAAsB;QAC5C,MAAM,aAAa,GAAG,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,YAAY,CAAC,CAA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,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;YAChB,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC;YAClB,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC;SACd,CAAC,CAAC,CAAC;QAEJ,IAAI,mBAAmB,GAAG,gBAAgB,CAAC;QAE3C,KAAK,MAAM,IAAI,IAAI,6BAA6B,EAAE,CAAC;YACjD,oEAAoE;YACpE,MAAM,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,KAAK,IAAI,CAAC,CAAC;YACtD,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC;gBAAE,MAAM,IAAI,KAAK,CAAC,IAAI,IAAI,qBAAqB,CAAC,CAAC;YAEzE,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;YACrD,MAAM,WAAW,GAAG,MAAM,GAAG,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;YACrD,MAAM,IAAI,GAAG,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YAExE,KAAK,MAAM,KAAK,IAAI,OAAO,EAAE,CAAC;gBAC5B,mBAAmB,GAAG,mBAAmB,CAAC,OAAO,CAC/C,KAAK,CAAC,QAAQ,EACd,SAAS,KAAK,CAAC,GAAG,eAAe,IAAI,IAAI,CAC1C,CAAC;YACJ,CAAC;QACH,CAAC;QAED,MAAM,GAAG,CAAC,SAAS,CAAC,iBAAiB,EAAE,mBAAmB,CAAC,CAAC;IAC9D,CAAC;CACF"}
Binary file
@@ -0,0 +1 @@
1
+ import{u as o,a}from"./index-DPgpp2iG.js";import{N as r}from"./Nav-BmJ5gVHE.js";function i(){const{appName:t}=o();return a("div",{children:[a("h1",{children:[t," - About"]}),a(r,{})]})}export{i as default};
@@ -0,0 +1 @@
1
+ import{_ as v,u,a as e,d as h,T as k,k as S,y as R}from"./index-DPgpp2iG.js";import{N as W}from"./Nav-BmJ5gVHE.js";function y(){console.log("This is shared code running!")}function x(r={}){const{immediate:l=!1,onNeedRefresh:d,onOfflineReady:a,onRegistered:c,onRegisteredSW:o,onRegisterError:s}=r;let i,p,f;const m=async(n=!0)=>{await p,f?.()};async function w(){if("serviceWorker"in navigator){if(i=await v(async()=>{const{Workbox:n}=await import("./workbox-window.prod.es5-BIl4cyR9.js");return{Workbox:n}},[]).then(({Workbox:n})=>new n("/sw.js",{scope:"/",type:"classic"})).catch(n=>{s?.(n)}),!i)return;f=()=>{i?.messageSkipWaiting()};{let n=!1;const g=()=>{n=!0,i?.addEventListener("controlling",t=>{t.isUpdate&&window.location.reload()}),d?.()};i.addEventListener("installed",t=>{typeof t.isUpdate>"u"?typeof t.isExternal<"u"&&t.isExternal?g():!n&&a?.():t.isUpdate||a?.()}),i.addEventListener("waiting",g)}i.register({immediate:l}).then(n=>{o?o("/sw.js",n):c?.(n)}).catch(n=>{s?.(n)})}}return p=w(),m}function A(){const{frontendVersion:r}=u();return e("div",{children:[e("span",{children:["Version: ",r]}),e("br",{}),e(P,{})]})}function P(){const[r,l]=h(!1),[d,a]=h(!1),c=k(()=>x({onRegisteredSW:()=>console.log("Service worker registered."),onRegisterError:s=>console.error("Service worker error:",s),onNeedRefresh:()=>l(!0),onOfflineReady:()=>a(!0)}),[]);async function o(){await c()}return r?e(S,{children:[e("span",{children:"Update available"}),e("button",{onClick:o,children:"Update"})]}):d?e("span",{children:"App ready to work offline"}):e("span",{children:"Nothing to report!"})}function _(){const{appName:r}=u();return R(()=>{y()},[]),e("div",{children:[e("h1",{children:[r," - Home"]}),e(W,{}),e("h2",{children:"PWA Status:"}),e(A,{}),e("h2",{children:"Assets:"}),e("h3",{children:"Favicon SVG"}),e("img",{src:"/favicon.svg",alt:`${r} logo`}),e("h3",{children:"Apple touch icon"}),e("img",{src:"/apple-touch-icon.png",alt:`${r} logo`}),e("h3",{children:"PWA 192x192"}),e("img",{src:"/pwa-192x192.png",alt:`${r} logo`}),e("h3",{children:"PWA 512x512"}),e("img",{src:"/pwa-512x512.png",alt:`${r} logo`}),e("h3",{children:"PWA maskable 192x192"}),e("img",{src:"/pwa-maskable-192x192.png",alt:`${r} logo`}),e("h3",{children:"PWA maskable 512x512"}),e("img",{src:"/pwa-maskable-512x512.png",alt:`${r} logo`})]})}export{_ as default};
@@ -1 +1 @@
1
- import{a as r}from"./index-CfFerU5x.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{a as r}from"./index-DPgpp2iG.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,a}from"./index-DPgpp2iG.js";import{N as r}from"./Nav-BmJ5gVHE.js";function e(){const{appName:t}=o();return a("div",{children:[a("h1",{children:[t," - Not Found"]}),a(r,{})]})}export{e as default};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Home-DexSIaMn.js","assets/Nav-HZTtzJid.js","assets/About-_McQvWnX.js","assets/NotFound-GQx5k3Tp.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 _ of o)if(_.type==="childList")for(const u of _.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&r(u)}).observe(document,{childList:!0,subtree:!0});function n(o){const _={};return o.integrity&&(_.integrity=o.integrity),o.referrerPolicy&&(_.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?_.credentials="include":o.crossOrigin==="anonymous"?_.credentials="omit":_.credentials="same-origin",_}function r(o){if(o.ep)return;o.ep=!0;const _=n(o);fetch(o.href,_)}})();const et="modulepreload",tt=function(t){return"/"+t},be={},se=function(e,n,r){let o=Promise.resolve();if(n&&n.length>0){let a=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=a(n.map(l=>{if(l=tt(l),l in be)return;be[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":et,p||(s.as="script"),s.crossOrigin="",s.href=l,c&&s.setAttribute("nonce",c),document.head.appendChild(s),p)return new Promise((f,v)=>{s.addEventListener("load",f),s.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${l}`)))})}))}function _(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"&&_(c.reason);return e().catch(_)})};var q,h,Ne,U,ke,Me,Oe,Fe,ae,oe,ie,Ie,W={},We=[],nt=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,j=Array.isArray;function $(t,e){for(var n in e)t[n]=e[n];return t}function fe(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function H(t,e,n){var r,o,_,u={};for(_ in e)_=="key"?r=e[_]:_=="ref"?o=e[_]:u[_]=e[_];if(arguments.length>2&&(u.children=arguments.length>3?q.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(_ in t.defaultProps)u[_]===void 0&&(u[_]=t.defaultProps[_]);return I(t,u,r,o,null)}function I(t,e,n,r,o){var _={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:o??++Ne,__i:-1,__u:0};return o==null&&h.vnode!=null&&h.vnode(_),_}function ee(t){return t.children}function Y(t,e){this.props=t,this.context=e}function O(t,e){if(e==null)return t.__?O(t.__,t.__i+1):null;for(var n;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null)return n.__e;return typeof t.type=="function"?O(t):null}function qe(t){var e,n;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null){t.__e=t.__c.base=n.__e;break}return qe(t)}}function ue(t){(!t.__d&&(t.__d=!0)&&U.push(t)&&!Z.__r++||ke!=h.debounceRendering)&&((ke=h.debounceRendering)||Me)(Z)}function Z(){for(var t,e,n,r,o,_,u,c=1;U.length;)U.length>c&&U.sort(Oe),t=U.shift(),c=U.length,t.__d&&(n=void 0,r=void 0,o=(r=(e=t).__v).__e,_=[],u=[],e.__P&&((n=$({},r)).__v=r.__v+1,h.vnode&&h.vnode(n),pe(e.__P,n,r,e.__n,e.__P.namespaceURI,32&r.__u?[o]:null,_,o??O(r),!!(32&r.__u),u),n.__v=r.__v,n.__.__k[n.__i]=n,Ke(_,n,u),r.__e=r.__=null,n.__e!=o&&qe(n)));Z.__r=0}function je(t,e,n,r,o,_,u,c,a,l,p){var i,s,f,v,E,g,d,m=r&&r.__k||We,P=e.length;for(a=rt(n,e,m,a,P),i=0;i<P;i++)(f=n.__k[i])!=null&&(s=f.__i==-1?W:m[f.__i]||W,f.__i=i,g=pe(t,f,s,o,_,u,c,a,l,p),v=f.__e,f.ref&&s.ref!=f.ref&&(s.ref&&he(s.ref,null,f),p.push(f.ref,f.__c||v,f)),E==null&&v!=null&&(E=v),(d=!!(4&f.__u))||s.__k===f.__k?a=Be(f,a,t,d):typeof f.type=="function"&&g!==void 0?a=g:v&&(a=v.nextSibling),f.__u&=-7);return n.__e=E,a}function rt(t,e,n,r,o){var _,u,c,a,l,p=n.length,i=p,s=0;for(t.__k=new Array(o),_=0;_<o;_++)(u=e[_])!=null&&typeof u!="boolean"&&typeof u!="function"?(a=_+s,(u=t.__k[_]=typeof u=="string"||typeof u=="number"||typeof u=="bigint"||u.constructor==String?I(null,u,null,null,null):j(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=_t(u,n,a,i))!=-1&&(i--,(c=n[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!=a&&(l==a-1?s--:l==a+1?s++:(l>a?s--:s++,u.__u|=4))):t.__k[_]=null;if(i)for(_=0;_<p;_++)(c=n[_])!=null&&(2&c.__u)==0&&(c.__e==r&&(r=O(c)),Je(c,c));return r}function Be(t,e,n,r){var o,_;if(typeof t.type=="function"){for(o=t.__k,_=0;o&&_<o.length;_++)o[_]&&(o[_].__=t,e=Be(o[_],e,n,r));return e}t.__e!=e&&(r&&(e&&t.type&&!e.parentNode&&(e=O(t)),n.insertBefore(t.__e,e||null)),e=t.__e);do e=e&&e.nextSibling;while(e!=null&&e.nodeType==8);return e}function ze(t,e){return e=e||[],t==null||typeof t=="boolean"||(j(t)?t.some(function(n){ze(n,e)}):e.push(t)),e}function _t(t,e,n,r){var o,_,u,c=t.key,a=t.type,l=e[n],p=l!=null&&(2&l.__u)==0;if(l===null&&t.key==null||p&&c==l.key&&a==l.type)return n;if(r>(p?1:0)){for(o=n-1,_=n+1;o>=0||_<e.length;)if((l=e[u=o>=0?o--:_++])!=null&&(2&l.__u)==0&&c==l.key&&a==l.type)return u}return-1}function Ee(t,e,n){e[0]=="-"?t.setProperty(e,n??""):t[e]=n==null?"":typeof n!="number"||nt.test(e)?n:n+"px"}function G(t,e,n,r,o){var _,u;e:if(e=="style")if(typeof n=="string")t.style.cssText=n;else{if(typeof r=="string"&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||Ee(t.style,e,"");if(n)for(e in n)r&&n[e]==r[e]||Ee(t.style,e,n[e])}else if(e[0]=="o"&&e[1]=="n")_=e!=(e=e.replace(Fe,"$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,n?r?n.u=r.u:(n.u=ae,t.addEventListener(e,_?ie:oe,_)):t.removeEventListener(e,_?ie:oe,_);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]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&e[4]!="-"?t.removeAttribute(e):t.setAttribute(e,e=="popover"&&n==1?"":n))}}function Pe(t){return function(e){if(this.l){var n=this.l[e.type+t];if(e.t==null)e.t=ae++;else if(e.t<n.u)return;return n(h.event?h.event(e):e)}}}function pe(t,e,n,r,o,_,u,c,a,l){var p,i,s,f,v,E,g,d,m,P,w,A,D,K,T,b,C,S=e.type;if(e.constructor!=null)return null;128&n.__u&&(a=!!(32&n.__u),_=[c=e.__e=n.__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,n.__c?g=(i=e.__c=n.__c).__=i.__E:(m?e.__c=i=new S(d,w):(e.__c=i=new Y(d,w),i.constructor=S,i.render=it),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))),f=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!==f&&i.componentWillReceiveProps!=null&&i.componentWillReceiveProps(d,w),!i.__e&&i.shouldComponentUpdate!=null&&i.shouldComponentUpdate(d,i.__s,w)===!1||e.__v==n.__v){for(e.__v!=n.__v&&(i.props=d,i.state=i.__s,i.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.some(function(N){N&&(N.__=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(f,v,E)})}if(i.context=w,i.props=d,i.__P=t,i.__e=!1,D=h.__r,K=0,m){for(i.state=i.__s,i.__d=!1,D&&D(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,D&&D(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(f,v)),b=p,p!=null&&p.type===ee&&p.key==null&&(b=Ge(p.props.children)),c=je(t,j(b)?b:[b],e,n,r,o,_,u,c,a,l),i.base=e.__e,e.__u&=-161,i.__h.length&&u.push(i),g&&(i.__E=i.__=null)}catch(N){if(e.__v=null,a||_!=null)if(N.then){for(e.__u|=a?160:128;c&&c.nodeType==8&&c.nextSibling;)c=c.nextSibling;_[_.indexOf(c)]=null,e.__e=c}else{for(C=_.length;C--;)fe(_[C]);ce(e)}else e.__e=n.__e,e.__k=n.__k,N.then||ce(e);h.__e(N,e,n)}else _==null&&e.__v==n.__v?(e.__k=n.__k,e.__e=n.__e):c=e.__e=ot(n.__e,e,n,r,o,_,u,a,l);return(p=h.diffed)&&p(e),128&e.__u?void 0:c}function ce(t){t&&t.__c&&(t.__c.__e=!0),t&&t.__k&&t.__k.forEach(ce)}function Ke(t,e,n){for(var r=0;r<n.length;r++)he(n[r],n[++r],n[++r]);h.__c&&h.__c(e,t),t.some(function(o){try{t=o.__h,o.__h=[],t.some(function(_){_.call(o)})}catch(_){h.__e(_,o.__v)}})}function Ge(t){return typeof t!="object"||t==null||t.__b&&t.__b>0?t:j(t)?t.map(Ge):$({},t)}function ot(t,e,n,r,o,_,u,c,a){var l,p,i,s,f,v,E,g=n.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"),_!=null){for(l=0;l<_.length;l++)if((f=_[l])&&"setAttribute"in f==!!m&&(m?f.localName==m:f.nodeType==3)){t=f,_[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,_),c=!1),_=null}if(m==null)g===d||c&&t.data==d||(t.data=d);else{if(_=_&&q.call(t.childNodes),g=n.props||W,!c&&_!=null)for(g={},l=0;l<t.attributes.length;l++)g[(f=t.attributes[l]).name]=f.value;for(l in g)if(f=g[l],l!="children"){if(l=="dangerouslySetInnerHTML")i=f;else if(!(l in d)){if(l=="value"&&"defaultValue"in d||l=="checked"&&"defaultChecked"in d)continue;G(t,l,null,f,o)}}for(l in d)f=d[l],l=="children"?s=f:l=="dangerouslySetInnerHTML"?p=f:l=="value"?v=f:l=="checked"?E=f:c&&typeof f!="function"||g[l]===f||G(t,l,f,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=""),je(e.type=="template"?t.content:t,j(s)?s:[s],e,n,r,m=="foreignObject"?"http://www.w3.org/1999/xhtml":o,_,u,_?_[0]:n.__k&&O(n,0),c,a),_!=null)for(l=_.length;l--;)fe(_[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 he(t,e,n){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,n)}}function Je(t,e,n){var r,o;if(h.unmount&&h.unmount(t),(r=t.ref)&&(r.current&&r.current!=t.__e||he(r,null,e)),(r=t.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(_){h.__e(_,e)}r.base=r.__P=null}if(r=t.__k)for(o=0;o<r.length;o++)r[o]&&Je(r[o],e,n||typeof t.type!="function");n||fe(t.__e),t.__c=t.__=t.__e=void 0}function it(t,e,n){return this.constructor(t,n)}function ut(t,e,n){var r,o,_,u;e==document&&(e=document.documentElement),h.__&&h.__(t,e),o=(r=!1)?null:e.__k,_=[],u=[],pe(e,t=e.__k=H(ee,null,[t]),o||W,W,e.namespaceURI,o?null:e.firstChild?q.call(e.childNodes):null,_,o?o.__e:e.firstChild,r,u),Ke(_,t,u)}function we(t,e,n){var r,o,_,u,c=$({},t.props);for(_ in t.type&&t.type.defaultProps&&(u=t.type.defaultProps),e)_=="key"?r=e[_]:_=="ref"?o=e[_]:c[_]=e[_]===void 0&&u!=null?u[_]:e[_];return arguments.length>2&&(c.children=arguments.length>3?q.call(arguments,2):n),I(t.type,c,r||t.key,o||t.ref,null)}function de(t){function e(n){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(_){this.props.value!=_.value&&r.forEach(function(u){u.__e=!0,ue(u)})},this.sub=function(_){r.add(_);var u=_.componentWillUnmount;_.componentWillUnmount=function(){r&&r.delete(_),u&&u.call(_)}}),n.children}return e.__c="__cC"+Ie++,e.__=t,e.Provider=e.__l=(e.Consumer=function(n,r){return n.children(r)}).contextType=e,e}q=We.slice,h={__e:function(t,e,n,r){for(var o,_,u;e=e.__;)if((o=e.__c)&&!o.__)try{if((_=o.constructor)&&_.getDerivedStateFromError!=null&&(o.setState(_.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}},Ne=0,Y.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=$({},this.state),typeof t=="function"&&(t=t($({},n),this.props)),t&&$(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),ue(this))},Y.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),ue(this))},Y.prototype.render=ee,U=[],Me=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Oe=function(t,e){return t.__v.__b-e.__v.__b},Z.__r=0,Fe=/(PointerCapture)$|Capture$/i,ae=0,oe=Pe(!1),ie=Pe(!0),Ie=0;var ct=0;function L(t,e,n,r,o,_){e||(e={});var u,c,a=e;if("ref"in a)for(c in a={},e)c=="ref"?u=e[c]:a[c]=e[c];var l={type:t,props:a,key:n,ref:u,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--ct,__i:-1,__u:0,__source:o,__self:_};if(typeof t=="function"&&(u=t.defaultProps))for(c in u)a[c]===void 0&&(a[c]=u[c]);return h.vnode&&h.vnode(l),l}var R,y,ne,Se,V=0,Qe=[],k=h,$e=k.__b,Ce=k.__r,xe=k.diffed,Le=k.__c,He=k.unmount,De=k.__;function B(t,e){k.__h&&k.__h(y,t,V||e),V=0;var n=y.__H||(y.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function lt(t){return V=1,me(Xe,t)}function me(t,e,n){var r=B(R++,2);if(r.t=t,!r.__c&&(r.__=[Xe(void 0,e),function(c){var a=r.__N?r.__N[0]:r.__[0],l=r.t(a,c);a!==l&&(r.__N=[l,r.__[1]],r.__c.setState({}))}],r.__c=y,!y.__f)){var o=function(c,a,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!_||_.call(this,c,a,l);var i=r.__c.props!==c;return p.forEach(function(s){if(s.__N){var f=s.__[0];s.__=s.__N,s.__N=void 0,f!==s.__[0]&&(i=!0)}}),_&&_.call(this,c,a,l)||i};y.__f=!0;var _=y.shouldComponentUpdate,u=y.componentWillUpdate;y.componentWillUpdate=function(c,a,l){if(this.__e){var p=_;_=void 0,o(c,a,l),_=p}u&&u.call(this,c,a,l)},y.shouldComponentUpdate=o}return r.__N||r.__}function St(t,e){var n=B(R++,3);!k.__s&&ye(n.__H,e)&&(n.__=t,n.u=e,y.__H.__h.push(n))}function Ye(t,e){var n=B(R++,4);!k.__s&&ye(n.__H,e)&&(n.__=t,n.u=e,y.__h.push(n))}function x(t){return V=5,te(function(){return{current:t}},[])}function te(t,e){var n=B(R++,7);return ye(n.__H,e)&&(n.__=t(),n.__H=e,n.__h=t),n.__}function ve(t){var e=y.context[t.__c],n=B(R++,9);return n.c=t,e?(n.__==null&&(n.__=!0,e.sub(y)),e.props.value):t.__}function st(){for(var t;t=Qe.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(X),t.__H.__h.forEach(le),t.__H.__h=[]}catch(e){t.__H.__h=[],k.__e(e,t.__v)}}k.__b=function(t){y=null,$e&&$e(t)},k.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),De&&De(t,e)},k.__r=function(t){Ce&&Ce(t),R=0;var e=(y=t.__c).__H;e&&(ne===y?(e.__h=[],y.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0})):(e.__h.forEach(X),e.__h.forEach(le),e.__h=[],R=0)),ne=y},k.diffed=function(t){xe&&xe(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(Qe.push(e)!==1&&Se===k.requestAnimationFrame||((Se=k.requestAnimationFrame)||at)(st)),e.__H.__.forEach(function(n){n.u&&(n.__H=n.u),n.u=void 0})),ne=y=null},k.__c=function(t,e){e.some(function(n){try{n.__h.forEach(X),n.__h=n.__h.filter(function(r){return!r.__||le(r)})}catch(r){e.some(function(o){o.__h&&(o.__h=[])}),e=[],k.__e(r,n.__v)}}),Le&&Le(t,e)},k.unmount=function(t){He&&He(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{X(r)}catch(o){e=o}}),n.__H=void 0,e&&k.__e(e,n.__v))};var Ue=typeof requestAnimationFrame=="function";function at(t){var e,n=function(){clearTimeout(r),Ue&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,35);Ue&&(e=requestAnimationFrame(n))}function X(t){var e=y,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),y=e}function le(t){var e=y;t.__c=t.__(),y=e}function ye(t,e){return!t||t.length!==e.length||e.some(function(n,r){return n!==t[r]})}function Xe(t,e){return typeof e=="function"?e(t):e}let M,F;function ft(t){return!F||(typeof F=="string"?t.startsWith(F):F.test(t))}function pt(t,e){let n="";if(M=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(_=>_.nodeName=="A"&&_.href),o=r&&r.getAttribute("href");if(!r||r.origin!=location.origin||/^#/.test(o)||!/^(_?self)?$/i.test(r.target)||!ft(o))return t;M=!0,e.preventDefault(),n=r.href.replace(location.origin,"")}else e&&e.url?(M=!e.replace,n=e.url):n=location.pathname+location.search;return M===!0?history.pushState(null,"",n):M===!1&&history.replaceState(null,"",n),n}const ht=(t,e,n={})=>{t=t.split("/").filter(Boolean),e=(e||"").split("/").filter(Boolean),n.params||(n.params={});for(let r=0,o,_;r<Math.max(t.length,e.length);r++){let[,u,c,a]=(e[r]||"").match(/^(:?)(.*?)([+*?]?)$/);if(o=t[r],!(!u&&c==o)){if(!u&&o&&a=="*"){n.rest="/"+t.slice(r).map(decodeURIComponent).join("/");break}if(!u||!o&&a!="?"&&a!="*")return;if(_=a=="+"||a=="*",_?o=t.slice(r).map(decodeURIComponent).join("/")||void 0:o&&(o=decodeURIComponent(o)),n.params[c]=o,c in n||(n[c]=o),_)break}}return n};function z(t){const[e,n]=me(pt,t.url||location.pathname+location.search);t.scope&&(F=t.scope);const r=M===!0,o=te(()=>{const _=new URL(e,location.origin),u=_.pathname.replace(/\/+$/g,"")||"/";return{url:e,path:u,query:Object.fromEntries(_.searchParams),route:(c,a)=>n({url:c,replace:a}),wasPush:r}},[e]);return Ye(()=>(addEventListener("click",n),addEventListener("popstate",n),()=>{removeEventListener("click",n),removeEventListener("popstate",n)}),[]),H(z.ctx.Provider,{value:o},t.children)}const dt=Promise.resolve();function Ze(t){const[e,n]=me(b=>b+1,0),{url:r,query:o,wasPush:_,path:u}=mt();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:a={}}=ve(Re),l=x(!1),p=x(u),i=x(0),s=x(),f=x(),v=x(),E=x(!1),g=x();g.current=!1;let d,m,P;ze(t.children).some(b=>{if(ht(c,b.props.path,P={...b.props,path:c,query:o,params:Object.assign({},a),rest:""}))return d=we(b,P);b.props.default&&(m=we(b,P))});let w=d||m;const A=s.current&&s.current.__u&J&&s.current.__u&Q,D=s.current&&s.current.__h,K=te(()=>{f.current=s.current,s.current=H(Re.Provider,{value:P},w);const b=f.current&&f.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):D&&(s.current.__h=!0);const T=f.current;return f.current=null,this.__c=(b,C)=>{g.current=!0,f.current=T,t.onLoadStart&&t.onLoadStart(r),l.current=!0;let S=i.current;b.then(()=>{S===i.current&&(f.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)),dt.then(n))})},Ye(()=>{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&&(_&&scrollTo(0,0),t.onRouteChange&&t.onRouteChange(r),p.current=u),t.onLoadEnd&&l.current&&t.onLoadEnd(r),l.current=!1},[u,_,e]),K?[H(re,{r:s}),H(re,{r:f})]:H(re,{r:s})}const J=32,Q=128,re=({r:t})=>t.current;Ze.Provider=z;z.ctx=de({});const Re=de({}),_e=t=>H(t.component,t),mt=()=>ve(z.ctx),Ae=h.__b;h.__b=t=>{t.type&&t.type._forwarded&&t.ref&&(t.props.ref=t.ref,t.ref=null),Ae&&Ae(t)};function ge(t){let e,n;const r=()=>t().then(_=>n=_&&_.default||_),o=_=>{const[,u]=lt(0),c=x(n);if(e||(e=r()),n!==void 0)return H(n,_);throw c.current||(c.current=e.then(()=>u(1))),e};return o.preload=()=>(e||(e=r()),e),o._forwarded=!0,o}const Te=h.__e;h.__e=(t,e,n)=>{if(t&&t.then){let r=e;for(;r=r.__;)if(r.__c&&r.__c.__c)return e.__e==null&&(e.__c.__z=[n.__e],e.__e=n.__e,e.__k=n.__k),e.__k||(e.__k=[]),r.__c.__c(t,e)}Te&&Te(t,e,n)};function vt(t){return this.__c=yt,this.componentDidCatch=t.onError,t.children}function yt(t){t.then(()=>this.forceUpdate())}const Ve=de({ready:!1,appName:"",frontendVersion:""});function $t(){const{ready:t,appName:e,frontendVersion:n}=ve(Ve);if(!t)throw new Error("Static data unavailable outside provider.");return{appName:e,frontendVersion:n}}function gt(t){function e(n){const r=t.querySelector(n);if(r==null)throw new Error(`${n} tag not found.`);const o=r.getAttribute("content");if(o==null)throw new Error(`${n} tag was empty.`);return o}return{appName:e('meta[name="corequery-app-name"]'),frontendVersion:e('meta[name="corequery-frontend-version"]')}}function bt(t){const{Provider:e}=Ve,n=te(()=>gt(document),[]);return L(e,{value:{ready:!0,...n},children:t.children})}const kt=ge(()=>se(()=>import("./Home-DexSIaMn.js"),__vite__mapDeps([0,1]))),Et=ge(()=>se(()=>import("./About-_McQvWnX.js"),__vite__mapDeps([2,1]))),Pt=ge(()=>se(()=>import("./NotFound-GQx5k3Tp.js"),__vite__mapDeps([3,1])));function wt(){return L(bt,{children:L(z,{children:L(vt,{children:L(Ze,{children:[L(_e,{path:"/",component:kt}),L(_e,{path:"/about",component:Et}),L(_e,{default:!0,component:Pt})]})})})})}ut(L(wt,{}),document.body);export{te as T,se as _,L as a,lt as d,ee as k,$t as u,St as y};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Home-h_rCrXOP.js","assets/Nav-BmJ5gVHE.js","assets/About-DPPma4Gx.js","assets/NotFound-iEZNehaH.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 _ of o)if(_.type==="childList")for(const u of _.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&r(u)}).observe(document,{childList:!0,subtree:!0});function n(o){const _={};return o.integrity&&(_.integrity=o.integrity),o.referrerPolicy&&(_.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?_.credentials="include":o.crossOrigin==="anonymous"?_.credentials="omit":_.credentials="same-origin",_}function r(o){if(o.ep)return;o.ep=!0;const _=n(o);fetch(o.href,_)}})();const et="modulepreload",tt=function(t){return"/"+t},be={},se=function(e,n,r){let o=Promise.resolve();if(n&&n.length>0){let a=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=a(n.map(l=>{if(l=tt(l),l in be)return;be[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":et,p||(s.as="script"),s.crossOrigin="",s.href=l,c&&s.setAttribute("nonce",c),document.head.appendChild(s),p)return new Promise((f,v)=>{s.addEventListener("load",f),s.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${l}`)))})}))}function _(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"&&_(c.reason);return e().catch(_)})};var q,h,Ne,U,ke,Me,Oe,Fe,ae,oe,ie,Ie,W={},We=[],nt=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,j=Array.isArray;function $(t,e){for(var n in e)t[n]=e[n];return t}function fe(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function H(t,e,n){var r,o,_,u={};for(_ in e)_=="key"?r=e[_]:_=="ref"?o=e[_]:u[_]=e[_];if(arguments.length>2&&(u.children=arguments.length>3?q.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(_ in t.defaultProps)u[_]===void 0&&(u[_]=t.defaultProps[_]);return I(t,u,r,o,null)}function I(t,e,n,r,o){var _={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:o??++Ne,__i:-1,__u:0};return o==null&&h.vnode!=null&&h.vnode(_),_}function ee(t){return t.children}function Y(t,e){this.props=t,this.context=e}function O(t,e){if(e==null)return t.__?O(t.__,t.__i+1):null;for(var n;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null)return n.__e;return typeof t.type=="function"?O(t):null}function qe(t){var e,n;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null){t.__e=t.__c.base=n.__e;break}return qe(t)}}function ue(t){(!t.__d&&(t.__d=!0)&&U.push(t)&&!Z.__r++||ke!=h.debounceRendering)&&((ke=h.debounceRendering)||Me)(Z)}function Z(){for(var t,e,n,r,o,_,u,c=1;U.length;)U.length>c&&U.sort(Oe),t=U.shift(),c=U.length,t.__d&&(n=void 0,r=void 0,o=(r=(e=t).__v).__e,_=[],u=[],e.__P&&((n=$({},r)).__v=r.__v+1,h.vnode&&h.vnode(n),pe(e.__P,n,r,e.__n,e.__P.namespaceURI,32&r.__u?[o]:null,_,o??O(r),!!(32&r.__u),u),n.__v=r.__v,n.__.__k[n.__i]=n,Ke(_,n,u),r.__e=r.__=null,n.__e!=o&&qe(n)));Z.__r=0}function je(t,e,n,r,o,_,u,c,a,l,p){var i,s,f,v,E,g,d,m=r&&r.__k||We,P=e.length;for(a=rt(n,e,m,a,P),i=0;i<P;i++)(f=n.__k[i])!=null&&(s=f.__i==-1?W:m[f.__i]||W,f.__i=i,g=pe(t,f,s,o,_,u,c,a,l,p),v=f.__e,f.ref&&s.ref!=f.ref&&(s.ref&&he(s.ref,null,f),p.push(f.ref,f.__c||v,f)),E==null&&v!=null&&(E=v),(d=!!(4&f.__u))||s.__k===f.__k?a=Be(f,a,t,d):typeof f.type=="function"&&g!==void 0?a=g:v&&(a=v.nextSibling),f.__u&=-7);return n.__e=E,a}function rt(t,e,n,r,o){var _,u,c,a,l,p=n.length,i=p,s=0;for(t.__k=new Array(o),_=0;_<o;_++)(u=e[_])!=null&&typeof u!="boolean"&&typeof u!="function"?(a=_+s,(u=t.__k[_]=typeof u=="string"||typeof u=="number"||typeof u=="bigint"||u.constructor==String?I(null,u,null,null,null):j(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=_t(u,n,a,i))!=-1&&(i--,(c=n[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!=a&&(l==a-1?s--:l==a+1?s++:(l>a?s--:s++,u.__u|=4))):t.__k[_]=null;if(i)for(_=0;_<p;_++)(c=n[_])!=null&&(2&c.__u)==0&&(c.__e==r&&(r=O(c)),Je(c,c));return r}function Be(t,e,n,r){var o,_;if(typeof t.type=="function"){for(o=t.__k,_=0;o&&_<o.length;_++)o[_]&&(o[_].__=t,e=Be(o[_],e,n,r));return e}t.__e!=e&&(r&&(e&&t.type&&!e.parentNode&&(e=O(t)),n.insertBefore(t.__e,e||null)),e=t.__e);do e=e&&e.nextSibling;while(e!=null&&e.nodeType==8);return e}function ze(t,e){return e=e||[],t==null||typeof t=="boolean"||(j(t)?t.some(function(n){ze(n,e)}):e.push(t)),e}function _t(t,e,n,r){var o,_,u,c=t.key,a=t.type,l=e[n],p=l!=null&&(2&l.__u)==0;if(l===null&&t.key==null||p&&c==l.key&&a==l.type)return n;if(r>(p?1:0)){for(o=n-1,_=n+1;o>=0||_<e.length;)if((l=e[u=o>=0?o--:_++])!=null&&(2&l.__u)==0&&c==l.key&&a==l.type)return u}return-1}function Ee(t,e,n){e[0]=="-"?t.setProperty(e,n??""):t[e]=n==null?"":typeof n!="number"||nt.test(e)?n:n+"px"}function G(t,e,n,r,o){var _,u;e:if(e=="style")if(typeof n=="string")t.style.cssText=n;else{if(typeof r=="string"&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||Ee(t.style,e,"");if(n)for(e in n)r&&n[e]==r[e]||Ee(t.style,e,n[e])}else if(e[0]=="o"&&e[1]=="n")_=e!=(e=e.replace(Fe,"$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,n?r?n.u=r.u:(n.u=ae,t.addEventListener(e,_?ie:oe,_)):t.removeEventListener(e,_?ie:oe,_);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]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&e[4]!="-"?t.removeAttribute(e):t.setAttribute(e,e=="popover"&&n==1?"":n))}}function Pe(t){return function(e){if(this.l){var n=this.l[e.type+t];if(e.t==null)e.t=ae++;else if(e.t<n.u)return;return n(h.event?h.event(e):e)}}}function pe(t,e,n,r,o,_,u,c,a,l){var p,i,s,f,v,E,g,d,m,P,w,A,D,K,T,b,C,S=e.type;if(e.constructor!=null)return null;128&n.__u&&(a=!!(32&n.__u),_=[c=e.__e=n.__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,n.__c?g=(i=e.__c=n.__c).__=i.__E:(m?e.__c=i=new S(d,w):(e.__c=i=new Y(d,w),i.constructor=S,i.render=it),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))),f=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!==f&&i.componentWillReceiveProps!=null&&i.componentWillReceiveProps(d,w),!i.__e&&i.shouldComponentUpdate!=null&&i.shouldComponentUpdate(d,i.__s,w)===!1||e.__v==n.__v){for(e.__v!=n.__v&&(i.props=d,i.state=i.__s,i.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.some(function(N){N&&(N.__=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(f,v,E)})}if(i.context=w,i.props=d,i.__P=t,i.__e=!1,D=h.__r,K=0,m){for(i.state=i.__s,i.__d=!1,D&&D(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,D&&D(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(f,v)),b=p,p!=null&&p.type===ee&&p.key==null&&(b=Ge(p.props.children)),c=je(t,j(b)?b:[b],e,n,r,o,_,u,c,a,l),i.base=e.__e,e.__u&=-161,i.__h.length&&u.push(i),g&&(i.__E=i.__=null)}catch(N){if(e.__v=null,a||_!=null)if(N.then){for(e.__u|=a?160:128;c&&c.nodeType==8&&c.nextSibling;)c=c.nextSibling;_[_.indexOf(c)]=null,e.__e=c}else{for(C=_.length;C--;)fe(_[C]);ce(e)}else e.__e=n.__e,e.__k=n.__k,N.then||ce(e);h.__e(N,e,n)}else _==null&&e.__v==n.__v?(e.__k=n.__k,e.__e=n.__e):c=e.__e=ot(n.__e,e,n,r,o,_,u,a,l);return(p=h.diffed)&&p(e),128&e.__u?void 0:c}function ce(t){t&&t.__c&&(t.__c.__e=!0),t&&t.__k&&t.__k.forEach(ce)}function Ke(t,e,n){for(var r=0;r<n.length;r++)he(n[r],n[++r],n[++r]);h.__c&&h.__c(e,t),t.some(function(o){try{t=o.__h,o.__h=[],t.some(function(_){_.call(o)})}catch(_){h.__e(_,o.__v)}})}function Ge(t){return typeof t!="object"||t==null||t.__b&&t.__b>0?t:j(t)?t.map(Ge):$({},t)}function ot(t,e,n,r,o,_,u,c,a){var l,p,i,s,f,v,E,g=n.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"),_!=null){for(l=0;l<_.length;l++)if((f=_[l])&&"setAttribute"in f==!!m&&(m?f.localName==m:f.nodeType==3)){t=f,_[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,_),c=!1),_=null}if(m==null)g===d||c&&t.data==d||(t.data=d);else{if(_=_&&q.call(t.childNodes),g=n.props||W,!c&&_!=null)for(g={},l=0;l<t.attributes.length;l++)g[(f=t.attributes[l]).name]=f.value;for(l in g)if(f=g[l],l!="children"){if(l=="dangerouslySetInnerHTML")i=f;else if(!(l in d)){if(l=="value"&&"defaultValue"in d||l=="checked"&&"defaultChecked"in d)continue;G(t,l,null,f,o)}}for(l in d)f=d[l],l=="children"?s=f:l=="dangerouslySetInnerHTML"?p=f:l=="value"?v=f:l=="checked"?E=f:c&&typeof f!="function"||g[l]===f||G(t,l,f,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=""),je(e.type=="template"?t.content:t,j(s)?s:[s],e,n,r,m=="foreignObject"?"http://www.w3.org/1999/xhtml":o,_,u,_?_[0]:n.__k&&O(n,0),c,a),_!=null)for(l=_.length;l--;)fe(_[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 he(t,e,n){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,n)}}function Je(t,e,n){var r,o;if(h.unmount&&h.unmount(t),(r=t.ref)&&(r.current&&r.current!=t.__e||he(r,null,e)),(r=t.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(_){h.__e(_,e)}r.base=r.__P=null}if(r=t.__k)for(o=0;o<r.length;o++)r[o]&&Je(r[o],e,n||typeof t.type!="function");n||fe(t.__e),t.__c=t.__=t.__e=void 0}function it(t,e,n){return this.constructor(t,n)}function ut(t,e,n){var r,o,_,u;e==document&&(e=document.documentElement),h.__&&h.__(t,e),o=(r=!1)?null:e.__k,_=[],u=[],pe(e,t=e.__k=H(ee,null,[t]),o||W,W,e.namespaceURI,o?null:e.firstChild?q.call(e.childNodes):null,_,o?o.__e:e.firstChild,r,u),Ke(_,t,u)}function we(t,e,n){var r,o,_,u,c=$({},t.props);for(_ in t.type&&t.type.defaultProps&&(u=t.type.defaultProps),e)_=="key"?r=e[_]:_=="ref"?o=e[_]:c[_]=e[_]===void 0&&u!=null?u[_]:e[_];return arguments.length>2&&(c.children=arguments.length>3?q.call(arguments,2):n),I(t.type,c,r||t.key,o||t.ref,null)}function de(t){function e(n){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(_){this.props.value!=_.value&&r.forEach(function(u){u.__e=!0,ue(u)})},this.sub=function(_){r.add(_);var u=_.componentWillUnmount;_.componentWillUnmount=function(){r&&r.delete(_),u&&u.call(_)}}),n.children}return e.__c="__cC"+Ie++,e.__=t,e.Provider=e.__l=(e.Consumer=function(n,r){return n.children(r)}).contextType=e,e}q=We.slice,h={__e:function(t,e,n,r){for(var o,_,u;e=e.__;)if((o=e.__c)&&!o.__)try{if((_=o.constructor)&&_.getDerivedStateFromError!=null&&(o.setState(_.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}},Ne=0,Y.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=$({},this.state),typeof t=="function"&&(t=t($({},n),this.props)),t&&$(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),ue(this))},Y.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),ue(this))},Y.prototype.render=ee,U=[],Me=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Oe=function(t,e){return t.__v.__b-e.__v.__b},Z.__r=0,Fe=/(PointerCapture)$|Capture$/i,ae=0,oe=Pe(!1),ie=Pe(!0),Ie=0;var ct=0;function L(t,e,n,r,o,_){e||(e={});var u,c,a=e;if("ref"in a)for(c in a={},e)c=="ref"?u=e[c]:a[c]=e[c];var l={type:t,props:a,key:n,ref:u,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--ct,__i:-1,__u:0,__source:o,__self:_};if(typeof t=="function"&&(u=t.defaultProps))for(c in u)a[c]===void 0&&(a[c]=u[c]);return h.vnode&&h.vnode(l),l}var R,y,ne,Se,V=0,Qe=[],k=h,$e=k.__b,Ce=k.__r,xe=k.diffed,Le=k.__c,He=k.unmount,De=k.__;function B(t,e){k.__h&&k.__h(y,t,V||e),V=0;var n=y.__H||(y.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function lt(t){return V=1,me(Xe,t)}function me(t,e,n){var r=B(R++,2);if(r.t=t,!r.__c&&(r.__=[Xe(void 0,e),function(c){var a=r.__N?r.__N[0]:r.__[0],l=r.t(a,c);a!==l&&(r.__N=[l,r.__[1]],r.__c.setState({}))}],r.__c=y,!y.__f)){var o=function(c,a,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!_||_.call(this,c,a,l);var i=r.__c.props!==c;return p.forEach(function(s){if(s.__N){var f=s.__[0];s.__=s.__N,s.__N=void 0,f!==s.__[0]&&(i=!0)}}),_&&_.call(this,c,a,l)||i};y.__f=!0;var _=y.shouldComponentUpdate,u=y.componentWillUpdate;y.componentWillUpdate=function(c,a,l){if(this.__e){var p=_;_=void 0,o(c,a,l),_=p}u&&u.call(this,c,a,l)},y.shouldComponentUpdate=o}return r.__N||r.__}function St(t,e){var n=B(R++,3);!k.__s&&ye(n.__H,e)&&(n.__=t,n.u=e,y.__H.__h.push(n))}function Ye(t,e){var n=B(R++,4);!k.__s&&ye(n.__H,e)&&(n.__=t,n.u=e,y.__h.push(n))}function x(t){return V=5,te(function(){return{current:t}},[])}function te(t,e){var n=B(R++,7);return ye(n.__H,e)&&(n.__=t(),n.__H=e,n.__h=t),n.__}function ve(t){var e=y.context[t.__c],n=B(R++,9);return n.c=t,e?(n.__==null&&(n.__=!0,e.sub(y)),e.props.value):t.__}function st(){for(var t;t=Qe.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(X),t.__H.__h.forEach(le),t.__H.__h=[]}catch(e){t.__H.__h=[],k.__e(e,t.__v)}}k.__b=function(t){y=null,$e&&$e(t)},k.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),De&&De(t,e)},k.__r=function(t){Ce&&Ce(t),R=0;var e=(y=t.__c).__H;e&&(ne===y?(e.__h=[],y.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0})):(e.__h.forEach(X),e.__h.forEach(le),e.__h=[],R=0)),ne=y},k.diffed=function(t){xe&&xe(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(Qe.push(e)!==1&&Se===k.requestAnimationFrame||((Se=k.requestAnimationFrame)||at)(st)),e.__H.__.forEach(function(n){n.u&&(n.__H=n.u),n.u=void 0})),ne=y=null},k.__c=function(t,e){e.some(function(n){try{n.__h.forEach(X),n.__h=n.__h.filter(function(r){return!r.__||le(r)})}catch(r){e.some(function(o){o.__h&&(o.__h=[])}),e=[],k.__e(r,n.__v)}}),Le&&Le(t,e)},k.unmount=function(t){He&&He(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{X(r)}catch(o){e=o}}),n.__H=void 0,e&&k.__e(e,n.__v))};var Ue=typeof requestAnimationFrame=="function";function at(t){var e,n=function(){clearTimeout(r),Ue&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,35);Ue&&(e=requestAnimationFrame(n))}function X(t){var e=y,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),y=e}function le(t){var e=y;t.__c=t.__(),y=e}function ye(t,e){return!t||t.length!==e.length||e.some(function(n,r){return n!==t[r]})}function Xe(t,e){return typeof e=="function"?e(t):e}let M,F;function ft(t){return!F||(typeof F=="string"?t.startsWith(F):F.test(t))}function pt(t,e){let n="";if(M=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(_=>_.nodeName=="A"&&_.href),o=r&&r.getAttribute("href");if(!r||r.origin!=location.origin||/^#/.test(o)||!/^(_?self)?$/i.test(r.target)||!ft(o))return t;M=!0,e.preventDefault(),n=r.href.replace(location.origin,"")}else e&&e.url?(M=!e.replace,n=e.url):n=location.pathname+location.search;return M===!0?history.pushState(null,"",n):M===!1&&history.replaceState(null,"",n),n}const ht=(t,e,n={})=>{t=t.split("/").filter(Boolean),e=(e||"").split("/").filter(Boolean),n.params||(n.params={});for(let r=0,o,_;r<Math.max(t.length,e.length);r++){let[,u,c,a]=(e[r]||"").match(/^(:?)(.*?)([+*?]?)$/);if(o=t[r],!(!u&&c==o)){if(!u&&o&&a=="*"){n.rest="/"+t.slice(r).map(decodeURIComponent).join("/");break}if(!u||!o&&a!="?"&&a!="*")return;if(_=a=="+"||a=="*",_?o=t.slice(r).map(decodeURIComponent).join("/")||void 0:o&&(o=decodeURIComponent(o)),n.params[c]=o,c in n||(n[c]=o),_)break}}return n};function z(t){const[e,n]=me(pt,t.url||location.pathname+location.search);t.scope&&(F=t.scope);const r=M===!0,o=te(()=>{const _=new URL(e,location.origin),u=_.pathname.replace(/\/+$/g,"")||"/";return{url:e,path:u,query:Object.fromEntries(_.searchParams),route:(c,a)=>n({url:c,replace:a}),wasPush:r}},[e]);return Ye(()=>(addEventListener("click",n),addEventListener("popstate",n),()=>{removeEventListener("click",n),removeEventListener("popstate",n)}),[]),H(z.ctx.Provider,{value:o},t.children)}const dt=Promise.resolve();function Ze(t){const[e,n]=me(b=>b+1,0),{url:r,query:o,wasPush:_,path:u}=mt();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:a={}}=ve(Re),l=x(!1),p=x(u),i=x(0),s=x(),f=x(),v=x(),E=x(!1),g=x();g.current=!1;let d,m,P;ze(t.children).some(b=>{if(ht(c,b.props.path,P={...b.props,path:c,query:o,params:Object.assign({},a),rest:""}))return d=we(b,P);b.props.default&&(m=we(b,P))});let w=d||m;const A=s.current&&s.current.__u&J&&s.current.__u&Q,D=s.current&&s.current.__h,K=te(()=>{f.current=s.current,s.current=H(Re.Provider,{value:P},w);const b=f.current&&f.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):D&&(s.current.__h=!0);const T=f.current;return f.current=null,this.__c=(b,C)=>{g.current=!0,f.current=T,t.onLoadStart&&t.onLoadStart(r),l.current=!0;let S=i.current;b.then(()=>{S===i.current&&(f.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)),dt.then(n))})},Ye(()=>{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&&(_&&scrollTo(0,0),t.onRouteChange&&t.onRouteChange(r),p.current=u),t.onLoadEnd&&l.current&&t.onLoadEnd(r),l.current=!1},[u,_,e]),K?[H(re,{r:s}),H(re,{r:f})]:H(re,{r:s})}const J=32,Q=128,re=({r:t})=>t.current;Ze.Provider=z;z.ctx=de({});const Re=de({}),_e=t=>H(t.component,t),mt=()=>ve(z.ctx),Ae=h.__b;h.__b=t=>{t.type&&t.type._forwarded&&t.ref&&(t.props.ref=t.ref,t.ref=null),Ae&&Ae(t)};function ge(t){let e,n;const r=()=>t().then(_=>n=_&&_.default||_),o=_=>{const[,u]=lt(0),c=x(n);if(e||(e=r()),n!==void 0)return H(n,_);throw c.current||(c.current=e.then(()=>u(1))),e};return o.preload=()=>(e||(e=r()),e),o._forwarded=!0,o}const Te=h.__e;h.__e=(t,e,n)=>{if(t&&t.then){let r=e;for(;r=r.__;)if(r.__c&&r.__c.__c)return e.__e==null&&(e.__c.__z=[n.__e],e.__e=n.__e,e.__k=n.__k),e.__k||(e.__k=[]),r.__c.__c(t,e)}Te&&Te(t,e,n)};function vt(t){return this.__c=yt,this.componentDidCatch=t.onError,t.children}function yt(t){t.then(()=>this.forceUpdate())}const Ve=de({ready:!1,appName:"",frontendVersion:""});function $t(){const{ready:t,appName:e,frontendVersion:n}=ve(Ve);if(!t)throw new Error("Static data unavailable outside provider.");return{appName:e,frontendVersion:n}}function gt(t){function e(n){const r=t.querySelector(n);if(r==null)throw new Error(`${n} tag not found.`);const o=r.getAttribute("content");if(o==null)throw new Error(`${n} tag was empty.`);return o}return{appName:e('meta[name="corequery-app-name"]'),frontendVersion:e('meta[name="corequery-frontend-version"]')}}function bt(t){const{Provider:e}=Ve,n=te(()=>gt(document),[]);return L(e,{value:{ready:!0,...n},children:t.children})}const kt=ge(()=>se(()=>import("./Home-h_rCrXOP.js"),__vite__mapDeps([0,1]))),Et=ge(()=>se(()=>import("./About-DPPma4Gx.js"),__vite__mapDeps([2,1]))),Pt=ge(()=>se(()=>import("./NotFound-iEZNehaH.js"),__vite__mapDeps([3,1])));function wt(){return L(bt,{children:L(z,{children:L(vt,{children:L(Ze,{children:[L(_e,{path:"/",component:kt}),L(_e,{path:"/about",component:Et}),L(_e,{default:!0,component:Pt})]})})})})}ut(L(wt,{}),document.body);export{te as T,se as _,L as a,lt as d,ee as k,$t as u,St as y};
@@ -1,7 +1,7 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16">
2
2
  <style>
3
- .top { fill: rgba(145, 145, 145, 1); }
4
- .bottom { fill: rgba(100, 100, 100, 1); }
3
+ .top { fill: rgba(90, 141, 152, 1); }
4
+ .bottom { fill: rgb(162, 54, 227); }
5
5
  .inner { fill: white; }
6
6
  .outer { fill: black; }
7
7
  @media (prefers-color-scheme: dark) {
@@ -1,19 +1,19 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
3
  <head>
4
- <meta charset="UTF-8" />
4
+ <meta charset="UTF-8" >
5
5
 
6
- <title>CoreQuery Demo App</title>
7
- <meta name="description" content="This is a CoreQuery demo app." />
8
- <meta name="corequery-app-name" content="CoreQuery Demo App" />
9
- <meta name="corequery-frontend-version" content="demo-app" />
6
+ <title>TrainQuery v4 (Beta)</title>
7
+ <meta name="description" content="Navigate Melbourne's train network with TrainQuery.">
8
+ <meta name="corequery-app-name" content="TrainQuery v4 (Beta)">
9
+ <meta name="corequery-frontend-version" content="dev">
10
10
 
11
- <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
12
- <link rel="apple-touch-icon" href="/apple-touch-icon.png" sizes="180x180" />
13
- <link rel="mask-icon" href="/favicon.svg" color="#FFFFFF" />
14
- <meta name="theme-color" content="#242933" />
15
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
16
- <script type="module" crossorigin src="/assets/index-CfFerU5x.js"></script>
11
+ <link rel="icon" type="image/svg+xml" href="/favicon.svg" >
12
+ <link rel="apple-touch-icon" href="/apple-touch-icon.png" sizes="180x180" >
13
+ <link rel="mask-icon" href="/favicon.svg" color="#FFFFFF" >
14
+ <meta name="theme-color" content="#242933" >
15
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" >
16
+ <script type="module" crossorigin src="/assets/index-DPgpp2iG.js"></script>
17
17
  <link rel="manifest" href="/manifest.webmanifest"></head>
18
18
  <body>
19
19
  </body>
@@ -1 +1 @@
1
- {"name":"CoreQuery Demo App","short_name":"CoreQuery","description":"This is a CoreQuery demo app.","start_url":"/","display":"standalone","background_color":"#242933","theme_color":"#242933","lang":"en","scope":"/","icons":[{"src":"/pwa-192x192.png","sizes":"192x192","type":"image/png","purpose":"any"},{"src":"/pwa-512x512.png","sizes":"512x512","type":"image/png","purpose":"any"},{"src":"/pwa-maskable-192x192.png","sizes":"192x192","type":"image/png","purpose":"maskable"},{"src":"/pwa-maskable-512x512.png","sizes":"512x512","type":"image/png","purpose":"maskable"}]}
1
+ {"name":"TrainQuery v4 (Beta)","short_name":"TQ4 (Beta)","description":"Navigate Melbourne's train network with TrainQuery.","start_url":"/","display":"standalone","background_color":"#242933","theme_color":"#242933","lang":"en","scope":"/","icons":[{"src":"/pwa-192x192.png","sizes":"192x192","type":"image/png","purpose":"any"},{"src":"/pwa-512x512.png","sizes":"512x512","type":"image/png","purpose":"any"},{"src":"/pwa-maskable-192x192.png","sizes":"192x192","type":"image/png","purpose":"maskable"},{"src":"/pwa-maskable-512x512.png","sizes":"512x512","type":"image/png","purpose":"maskable"}]}
Binary file
Binary file
Binary file
Binary file
package/web/dist/sw.js CHANGED
@@ -1 +1,92 @@
1
- if(!self.define){let e,s={};const n=(n,i)=>(n=new URL(n+".js",i).href,s[n]||new Promise(s=>{if("document"in self){const e=document.createElement("script");e.src=n,e.onload=s,document.head.appendChild(e)}else e=n,importScripts(n),s()}).then(()=>{let e=s[n];if(!e)throw new Error(`Module ${n} didn’t register its module`);return e}));self.define=(i,r)=>{const l=e||("document"in self?document.currentScript.src:"")||location.href;if(s[l])return;let o={};const t=e=>n(e,l),u={module:{uri:l},exports:o,require:t};s[l]=Promise.all(i.map(e=>u[e]||t(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:"index.html",revision:"14a28fc1d86cd169c04805e9dba2b26e"},{url:"assets/workbox-window.prod.es5-BIl4cyR9.js",revision:null},{url:"assets/index-CfFerU5x.js",revision:null},{url:"assets/NotFound-GQx5k3Tp.js",revision:null},{url:"assets/Nav-HZTtzJid.js",revision:null},{url:"assets/Home-DexSIaMn.js",revision:null},{url:"assets/About-_McQvWnX.js",revision:null},{url:"pwa-192x192.png",revision:"8b590313fc6296f57d609982dc21f302"},{url:"pwa-512x512.png",revision:"e5560dba9f85e2959637abbb546643cd"},{url:"pwa-maskable-192x192.png",revision:"f1e5f837a116221b26c9cb9447db5e92"},{url:"pwa-maskable-512x512.png",revision:"9e859d049e78f70ddb5872a3bce2622b"},{url:"manifest.webmanifest",revision:"209d92f34008caf0c68fc089a11e31f0"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html")))});
1
+ if (!self.define) {
2
+ let e,
3
+ s = {};
4
+ const i = (i, n) => (
5
+ (i = new URL(i + ".js", n).href),
6
+ s[i] ||
7
+ new Promise((s) => {
8
+ if ("document" in self) {
9
+ const e = document.createElement("script");
10
+ (e.src = i), (e.onload = s), document.head.appendChild(e);
11
+ } else (e = i), importScripts(i), s();
12
+ }).then(() => {
13
+ let e = s[i];
14
+ if (!e) throw new Error(`Module ${i} didn’t register its module`);
15
+ return e;
16
+ })
17
+ );
18
+ self.define = (n, r) => {
19
+ const l =
20
+ e ||
21
+ ("document" in self ? document.currentScript.src : "") ||
22
+ location.href;
23
+ if (s[l]) return;
24
+ let o = {};
25
+ const a = (e) => i(e, l),
26
+ d = { module: { uri: l }, exports: o, require: a };
27
+ s[l] = Promise.all(n.map((e) => d[e] || a(e))).then((e) => (r(...e), o));
28
+ };
29
+ }
30
+ define(["./workbox-1ef09536"], function (e) {
31
+ "use strict";
32
+ self.addEventListener("message", (e) => {
33
+ e.data && "SKIP_WAITING" === e.data.type && self.skipWaiting();
34
+ }),
35
+ e.precacheAndRoute(
36
+ [
37
+ {
38
+ url: "pwa-maskable-512x512.png",
39
+ revision: "3e9258e806845be2c5733ad7d036eb69",
40
+ },
41
+ {
42
+ url: "pwa-maskable-192x192.png",
43
+ revision: "237699b6e6c8431b835b9dd463704571",
44
+ },
45
+ {
46
+ url: "pwa-512x512.png",
47
+ revision: "1aabd45e2a3c4a3639916d0047174532",
48
+ },
49
+ {
50
+ url: "pwa-192x192.png",
51
+ revision: "f6533345ab23f07ecfc0510994c09216",
52
+ },
53
+ { url: "index.html", revision: "37d5e52f3271fae4d3e7c805249efc1a" },
54
+ { url: "favicon.svg", revision: "ab1138908b34eed237bbe8c845aa0293" },
55
+ {
56
+ url: "apple-touch-icon.png",
57
+ revision: "f249a943ebab995556223c95625d1be1",
58
+ },
59
+ { url: "assets/workbox-window.prod.es5-BIl4cyR9.js", revision: null },
60
+ { url: "assets/index-DPgpp2iG.js", revision: null },
61
+ { url: "assets/NotFound-iEZNehaH.js", revision: null },
62
+ { url: "assets/Nav-BmJ5gVHE.js", revision: null },
63
+ { url: "assets/Home-h_rCrXOP.js", revision: null },
64
+ { url: "assets/About-DPPma4Gx.js", revision: null },
65
+ {
66
+ url: "pwa-192x192.png",
67
+ revision: "f6533345ab23f07ecfc0510994c09216",
68
+ },
69
+ {
70
+ url: "pwa-512x512.png",
71
+ revision: "1aabd45e2a3c4a3639916d0047174532",
72
+ },
73
+ {
74
+ url: "pwa-maskable-192x192.png",
75
+ revision: "237699b6e6c8431b835b9dd463704571",
76
+ },
77
+ {
78
+ url: "pwa-maskable-512x512.png",
79
+ revision: "3e9258e806845be2c5733ad7d036eb69",
80
+ },
81
+ {
82
+ url: "manifest.webmanifest",
83
+ revision: "1d9fdaf607d4af5d12883a769d38bcd8",
84
+ },
85
+ ],
86
+ {}
87
+ ),
88
+ e.cleanupOutdatedCaches(),
89
+ e.registerRoute(
90
+ new e.NavigationRoute(e.createHandlerBoundToURL("index.html"))
91
+ );
92
+ });
@@ -1 +0,0 @@
1
- import{u as o,a}from"./index-CfFerU5x.js";import{N as r}from"./Nav-HZTtzJid.js";function i(){const{appName:t}=o();return a("div",{children:[a("h1",{children:[t," - About"]}),a(r,{})]})}export{i as default};
@@ -1 +0,0 @@
1
- import{_ as m,u as h,a as r,d as g,T as R,k as y,y as S}from"./index-CfFerU5x.js";import{N as k}from"./Nav-HZTtzJid.js";function W(){console.log("This is shared code running!")}function E(n={}){const{immediate:d=!1,onNeedRefresh:l,onOfflineReady:a,onRegistered:c,onRegisteredSW:o,onRegisterError:s}=n;let t,f,u;const w=async(e=!0)=>{await f,u?.()};async function v(){if("serviceWorker"in navigator){if(t=await m(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)}),!t)return;u=()=>{t?.messageSkipWaiting()};{let e=!1;const p=()=>{e=!0,t?.addEventListener("controlling",i=>{i.isUpdate&&window.location.reload()}),l?.()};t.addEventListener("installed",i=>{typeof i.isUpdate>"u"?typeof i.isExternal<"u"&&i.isExternal?p():!e&&a?.():i.isUpdate||a?.()}),t.addEventListener("waiting",p)}t.register({immediate:d}).then(e=>{o?o("/sw.js",e):c?.(e)}).catch(e=>{s?.(e)})}}return f=v(),w}function _(){const{frontendVersion:n}=h();return r("div",{children:[r("span",{children:["PWA version: ",n]}),r("br",{}),r(P,{})]})}function P(){const[n,d]=g(!1),[l,a]=g(!1),c=R(()=>E({onRegisteredSW:()=>console.log("Service worker registered."),onRegisterError:s=>console.error("Service worker error:",s),onNeedRefresh:()=>d(!0),onOfflineReady:()=>a(!0)}),[]);async function o(){await c()}return n?r(y,{children:[r("span",{children:"Update available"}),r("button",{onClick:o,children:"Update"})]}):l?r("span",{children:"App ready to work offline"}):r("span",{children:"Nothing to report!"})}function U(){const{appName:n}=h();return S(()=>{W()},[]),r("div",{children:[r("h1",{children:[n," - Home"]}),r(k,{}),r(_,{})]})}export{U as default};
@@ -1 +0,0 @@
1
- import{u as o,a}from"./index-CfFerU5x.js";import{N as r}from"./Nav-HZTtzJid.js";function e(){const{appName:t}=o();return a("div",{children:[a("h1",{children:[t," - Not Found"]}),a(r,{})]})}export{e as default};