corequery 0.20.0 → 0.21.0
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 +17 -16
- package/server/dist/server/config/config.d.ts +2 -0
- package/server/dist/server/config/types/index.d.ts +1 -0
- package/server/dist/server/config/types/index.js +1 -0
- package/server/dist/server/config/types/index.js.map +1 -1
- package/server/dist/server/config/types/service-sources-config.d.ts +2 -0
- package/server/dist/server/config/types/service-sources-config.js +2 -0
- package/server/dist/server/config/types/service-sources-config.js.map +1 -0
- package/server/dist/server/data/index.d.ts +1 -0
- package/server/dist/server/data/index.js +1 -0
- package/server/dist/server/data/index.js.map +1 -1
- package/server/dist/server/data/service/departure.d.ts +14 -0
- package/server/dist/server/data/service/departure.js +19 -0
- package/server/dist/server/data/service/departure.js.map +1 -0
- package/server/dist/server/data/service/index.d.ts +10 -0
- package/server/dist/server/data/service/index.js +11 -0
- package/server/dist/server/data/service/index.js.map +1 -0
- package/server/dist/server/data/service/service-connection.d.ts +21 -0
- package/server/dist/server/data/service/service-connection.js +24 -0
- package/server/dist/server/data/service/service-connection.js.map +1 -0
- package/server/dist/server/data/service/service-movement.d.ts +6 -0
- package/server/dist/server/data/service/service-movement.js +2 -0
- package/server/dist/server/data/service/service-movement.js.map +1 -0
- package/server/dist/server/data/service/service-originating-movement.d.ts +23 -0
- package/server/dist/server/data/service/service-originating-movement.js +29 -0
- package/server/dist/server/data/service/service-originating-movement.js.map +1 -0
- package/server/dist/server/data/service/service-passing-movement.d.ts +12 -0
- package/server/dist/server/data/service/service-passing-movement.js +19 -0
- package/server/dist/server/data/service/service-passing-movement.js.map +1 -0
- package/server/dist/server/data/service/service-regular-movement.d.ts +33 -0
- package/server/dist/server/data/service/service-regular-movement.js +39 -0
- package/server/dist/server/data/service/service-regular-movement.js.map +1 -0
- package/server/dist/server/data/service/service-source.d.ts +12 -0
- package/server/dist/server/data/service/service-source.js +2 -0
- package/server/dist/server/data/service/service-source.js.map +1 -0
- package/server/dist/server/data/service/service-terminating-movement.d.ts +23 -0
- package/server/dist/server/data/service/service-terminating-movement.js +29 -0
- package/server/dist/server/data/service/service-terminating-movement.js.map +1 -0
- package/server/dist/server/data/service/service-time-type.d.ts +1 -0
- package/server/dist/server/data/service/service-time-type.js +2 -0
- package/server/dist/server/data/service/service-time-type.js.map +1 -0
- package/server/dist/server/data/service/service.d.ts +36 -0
- package/server/dist/server/data/service/service.js +54 -0
- package/server/dist/server/data/service/service.js.map +1 -0
- package/server/dist/server/index.d.ts +1 -0
- package/server/dist/server/index.js +1 -0
- package/server/dist/server/index.js.map +1 -1
- package/web/dist/assets/About-Ox_VHZSH.js +1 -0
- package/web/dist/assets/AdminControls-T82I_J0H.js +1 -0
- package/web/dist/assets/{Alert-COfF0dqk.js → Alert-DdYsBO4M.js} +1 -1
- package/web/dist/assets/Debug-BCwT0ejz.js +1 -0
- package/web/dist/assets/Divider-CaLjEkYe.js +1 -0
- package/web/dist/assets/Home-DLW2yF_Y.js +1 -0
- package/web/dist/assets/{Line-DDn61jmK.js → Line-CqR10xU6.js} +1 -1
- package/web/dist/assets/{LinkText-DEVIS-r6.js → LinkText-B0hg25AL.js} +1 -1
- package/web/dist/assets/{Markdown-BNlKVHJ4.js → Markdown-mEZJYyxY.js} +2 -2
- package/web/dist/assets/Nearby-CviKUhza.js +1 -0
- package/web/dist/assets/NotFound-RPjPQRng.js +1 -0
- package/web/dist/assets/NotFoundPage-DVDEdASu.js +1 -0
- package/web/dist/assets/Page-waBiyr-H.js +1 -0
- package/web/dist/assets/{Picker-CWKqRwiO.js → Picker-BBuQ4CDJ.js} +1 -1
- package/web/dist/assets/Placeholder-DVm4pq0L.js +1 -0
- package/web/dist/assets/{Settings-DxbhdpKP.js → Settings-BXFuXEkQ.js} +1 -1
- package/web/dist/assets/Status-rl4TTMi0.js +1 -0
- package/web/dist/assets/Stop-Bal6GMIZ.js +1 -0
- package/web/dist/assets/Strong-Ct5Lg6YN.js +1 -0
- package/web/dist/assets/ZenMode-DrqD2L8i.js +1 -0
- package/web/dist/assets/index-DdDab3g7.css +1 -0
- package/web/dist/assets/index-Dk2v2v0A.js +66 -0
- package/web/dist/assets/{use-simple-headers-C1tKvNnG.js → use-simple-headers-L7e4rL0b.js} +1 -1
- package/web/dist/assets/workbox-window.prod.es5-BBnX5xw4.js +2 -0
- package/web/dist/index.html +2 -2
- package/web/dist/sw.js +1 -1
- package/web/dist/workbox-2fbc6a65.js +1 -0
- package/web/dist/assets/About-BVLvPMvX.js +0 -1
- package/web/dist/assets/AdminControls-CgsRGeDX.js +0 -1
- package/web/dist/assets/Debug-_oa8VCYK.js +0 -1
- package/web/dist/assets/Divider-gld0_leQ.js +0 -1
- package/web/dist/assets/Home-B1Mu_eQf.js +0 -1
- package/web/dist/assets/Nearby-DYG2r84l.js +0 -1
- package/web/dist/assets/NotFound-Cfqv8QM4.js +0 -1
- package/web/dist/assets/NotFoundPage-fCz3glss.js +0 -1
- package/web/dist/assets/Page-CU2ljT5t.js +0 -1
- package/web/dist/assets/Placeholder-DoJPWttg.js +0 -1
- package/web/dist/assets/Status-D2ejp5fp.js +0 -1
- package/web/dist/assets/Stop-DFG4DJkO.js +0 -1
- package/web/dist/assets/Strong-D7PTULU1.js +0 -1
- package/web/dist/assets/ZenMode-DNUH1QCc.js +0 -1
- package/web/dist/assets/index-DAObBCDG.js +0 -41
- package/web/dist/assets/index-DuGn0vvC.css +0 -1
- package/web/dist/assets/workbox-window.prod.es5-BIl4cyR9.js +0 -2
- package/web/dist/workbox-1ef09536.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{u as e,R as t,d as l,P as i}from"./index-Dk2v2v0A.js";function s(r){return{mobileHeader:e(t,{class:"px-4",yAlign:"center",children:e(l,{style:"title",children:r.title})}),desktopHeader:e(i,{children:e(t,{class:"mx-4 py-4 pt-8 border-b border-soft-border",children:e(l,{style:"title",children:r.title})})})}}export{s as u};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
try{self["workbox:window:7.4.0"]&&_()}catch{}function b(t,r){return new Promise((function(n){var u=new MessageChannel;u.port1.onmessage=function(s){n(s.data)},t.postMessage(r,[u.port2])}))}function P(t,r){(r==null||r>t.length)&&(r=t.length);for(var n=0,u=Array(r);n<r;n++)u[n]=t[n];return u}function j(t,r,n){return r&&(function(u,s){for(var c=0;c<s.length;c++){var o=s[c];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(u,W(o.key),o)}})(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function S(t,r){var n=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=(function(s,c){if(s){if(typeof s=="string")return P(s,c);var o={}.toString.call(s).slice(8,-1);return o==="Object"&&s.constructor&&(o=s.constructor.name),o==="Map"||o==="Set"?Array.from(s):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?P(s,c):void 0}})(t))||r){n&&(t=n);var u=0;return function(){return u>=t.length?{done:!0}:{done:!1,value:t[u++]}}}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(t,r){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,u){return n.__proto__=u,n},w(t,r)}function W(t){var r=(function(n,u){if(typeof n!="object"||!n)return n;var s=n[Symbol.toPrimitive];if(s!==void 0){var c=s.call(n,u);if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)})(t,"string");return typeof r=="symbol"?r:r+""}try{self["workbox:core:7.4.0"]&&_()}catch{}var m=function(){var t=this;this.promise=new Promise((function(r,n){t.resolve=r,t.reject=n}))};function y(t,r){var n=location.href;return new URL(t,n).href===new URL(r,n).href}var d=function(t,r){this.type=t,Object.assign(this,r)};function l(t,r,n){return t&&t.then||(t=Promise.resolve(t)),r?t.then(r):t}function k(){}var L={type:"SKIP_WAITING"};function E(t,r){return t&&t.then?t.then(k):Promise.resolve()}var O=(function(t){function r(c,o){var e,i;return o===void 0&&(o={}),(e=t.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 f=e.fn,a=f.installing;e.tn>0||!y(a.scriptURL,e.sn.toString())||performance.now()>e.un+6e4?(e.vn=a,f.removeEventListener("updatefound",e.cn)):(e.hn=a,e.an.add(a),e.rn.resolve(a)),++e.tn,a.addEventListener("statechange",e.ln)},e.ln=function(f){var a=e.fn,v=f.target,h=v.state,p=v===e.vn,g={sw:v,isExternal:p,originalEvent:f};!p&&e.mn&&(g.isUpdate=!0),e.dispatchEvent(new d(h,g)),h==="installed"?e.wn=self.setTimeout((function(){h==="installed"&&a.waiting===v&&e.dispatchEvent(new d("waiting",g))}),200):h==="activating"&&(clearTimeout(e.wn),p||e.en.resolve(v))},e.yn=function(f){var a=e.hn,v=a!==navigator.serviceWorker.controller;e.dispatchEvent(new d("controlling",{isExternal:v,originalEvent:f,sw:a,isUpdate:e.mn})),v||e.on.resolve(a)},e.gn=(i=function(f){var a=f.data,v=f.ports,h=f.source;return l(e.getSW(),(function(){e.an.has(h)&&e.dispatchEvent(new d("message",{data:a,originalEvent:f,ports:v,sw:h}))}))},function(){for(var f=[],a=0;a<arguments.length;a++)f[a]=arguments[a];try{return Promise.resolve(i.apply(this,f))}catch(v){return Promise.reject(v)}}),e.sn=c,e.nn=o,navigator.serviceWorker.addEventListener("message",e.gn),e}var n,u;u=t,(n=r).prototype=Object.create(u.prototype),n.prototype.constructor=n,w(n,u);var s=r.prototype;return s.register=function(c){var o=(c===void 0?{}:c).immediate,e=o!==void 0&&o;try{var i=this;return l((function(f,a){var v=f();return v&&v.then?v.then(a):a(v)})((function(){if(!e&&document.readyState!=="complete")return E(new Promise((function(f){return window.addEventListener("load",f)})))}),(function(){return i.mn=!!navigator.serviceWorker.controller,i.dn=i.pn(),l(i.bn(),(function(f){i.fn=f,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 a=i.fn.waiting;return a&&y(a.scriptURL,i.sn.toString())&&(i.hn=a,Promise.resolve().then((function(){i.dispatchEvent(new d("waiting",{sw:a,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(f){return Promise.reject(f)}},s.update=function(){try{return this.fn?l(E(this.fn.update())):l()}catch(c){return Promise.reject(c)}},s.getSW=function(){return this.hn!==void 0?Promise.resolve(this.hn):this.rn.promise},s.messageSW=function(c){try{return l(this.getSW(),(function(o){return b(o,c)}))}catch(o){return Promise.reject(o)}},s.messageSkipWaiting=function(){this.fn&&this.fn.waiting&&b(this.fn.waiting,L)},s.pn=function(){var c=navigator.serviceWorker.controller;return c&&y(c.scriptURL,this.sn.toString())?c:void 0},s.bn=function(){try{var c=this;return l((function(o,e){try{var i=o()}catch(f){return e(f)}return i&&i.then?i.then(void 0,e):i})((function(){return l(navigator.serviceWorker.register(c.sn,c.nn),(function(o){return c.un=performance.now(),o}))}),(function(o){throw o})))}catch(o){return Promise.reject(o)}},j(r,[{key:"active",get:function(){return this.en.promise}},{key:"controlling",get:function(){return this.on.promise}}])})((function(){function t(){this.Pn=new Map}var r=t.prototype;return r.addEventListener=function(n,u){this.jn(n).add(u)},r.removeEventListener=function(n,u){this.jn(n).delete(u)},r.dispatchEvent=function(n){n.target=this;for(var u,s=S(this.jn(n.type));!(u=s()).done;)(0,u.value)(n)},r.jn=function(n){return this.Pn.has(n)||this.Pn.set(n,new Set),this.Pn.get(n)},t})());export{O as Workbox,d as WorkboxEvent,b as messageSW};
|
package/web/dist/index.html
CHANGED
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
<link rel="mask-icon" href="/favicon.svg" color="#FFFFFF" />
|
|
16
16
|
<meta name="theme-color" content="#242933" />
|
|
17
17
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
18
|
-
<script type="module" crossorigin src="/assets/index-
|
|
19
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
18
|
+
<script type="module" crossorigin src="/assets/index-Dk2v2v0A.js"></script>
|
|
19
|
+
<link rel="stylesheet" crossorigin href="/assets/index-DdDab3g7.css">
|
|
20
20
|
<link rel="manifest" href="/manifest.webmanifest"></head>
|
|
21
21
|
<body>
|
|
22
22
|
<script>
|
package/web/dist/sw.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
if(!self.define){let s,e={};const
|
|
1
|
+
if(!self.define){let s,e={};const i=(i,n)=>(i=new URL(i+".js",n).href,e[i]||new Promise(e=>{if("document"in self){const s=document.createElement("script");s.src=i,s.onload=e,document.head.appendChild(s)}else s=i,importScripts(i),e()}).then(()=>{let s=e[i];if(!s)throw new Error(`Module ${i} didn’t register its module`);return s}));self.define=(n,l)=>{const r=s||("document"in self?document.currentScript.src:"")||location.href;if(e[r])return;let u={};const a=s=>i(s,r),o={module:{uri:r},exports:u,require:a};e[r]=Promise.all(n.map(s=>o[s]||a(s))).then(s=>(l(...s),u))}}define(["./workbox-2fbc6a65"],function(s){"use strict";self.addEventListener("message",s=>{s.data&&"SKIP_WAITING"===s.data.type&&self.skipWaiting()}),s.precacheAndRoute([{url:"pwa-maskable-512x512.png",revision:"9e859d049e78f70ddb5872a3bce2622b"},{url:"pwa-maskable-192x192.png",revision:"f1e5f837a116221b26c9cb9447db5e92"},{url:"pwa-512x512.png",revision:"e5560dba9f85e2959637abbb546643cd"},{url:"pwa-192x192.png",revision:"8b590313fc6296f57d609982dc21f302"},{url:"mona-sans.woff2",revision:"b96cc834af467cf02885a067356abae7"},{url:"index.html",revision:"916fde2df0fff89fe2547a8da8edee16"},{url:"favicon.svg",revision:"570c2a249bbd511b386a843cd96545e7"},{url:"apple-touch-icon.png",revision:"d5d6ea39bc40ffd5b045b9593da0c890"},{url:"assets/workbox-window.prod.es5-BBnX5xw4.js",revision:null},{url:"assets/use-simple-headers-L7e4rL0b.js",revision:null},{url:"assets/index-Dk2v2v0A.js",revision:null},{url:"assets/index-DdDab3g7.css",revision:null},{url:"assets/ZenMode-DrqD2L8i.js",revision:null},{url:"assets/Strong-Ct5Lg6YN.js",revision:null},{url:"assets/Stop-Bal6GMIZ.js",revision:null},{url:"assets/Status-rl4TTMi0.js",revision:null},{url:"assets/Settings-BXFuXEkQ.js",revision:null},{url:"assets/Placeholder-DVm4pq0L.js",revision:null},{url:"assets/Picker-BBuQ4CDJ.js",revision:null},{url:"assets/Page-waBiyr-H.js",revision:null},{url:"assets/NotFoundPage-DVDEdASu.js",revision:null},{url:"assets/NotFound-RPjPQRng.js",revision:null},{url:"assets/Nearby-CviKUhza.js",revision:null},{url:"assets/Markdown-mEZJYyxY.js",revision:null},{url:"assets/LinkText-B0hg25AL.js",revision:null},{url:"assets/Line-CqR10xU6.js",revision:null},{url:"assets/Home-DLW2yF_Y.js",revision:null},{url:"assets/Divider-CaLjEkYe.js",revision:null},{url:"assets/Debug-BCwT0ejz.js",revision:null},{url:"assets/Alert-DdYsBO4M.js",revision:null},{url:"assets/AdminControls-T82I_J0H.js",revision:null},{url:"assets/About-Ox_VHZSH.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:"a39f5f893f233a6eed74e0ab828a668b"}],{}),s.cleanupOutdatedCaches(),s.registerRoute(new s.NavigationRoute(s.createHandlerBoundToURL("index.html"),{denylist:[/^\/reset\/?$/]}))});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
define(["exports"],function(t){"use strict";try{self["workbox:core:7.4.0"]&&_()}catch(t){}const e=(t,...e)=>{let s=t;return e.length>0&&(s+=` :: ${JSON.stringify(e)}`),s};class s extends Error{constructor(t,s){super(e(t,s)),this.name=t,this.details=s}}try{self["workbox:routing:7.4.0"]&&_()}catch(t){}const n=t=>t&&"object"==typeof t?t:{handle:t};class i{constructor(t,e,s="GET"){this.handler=n(e),this.match=t,this.method=s}setCatchHandler(t){this.catchHandler=n(t)}}class r extends i{constructor(t,e,s){super(({url:e})=>{const s=t.exec(e.href);if(s&&(e.origin===location.origin||0===s.index))return s.slice(1)},e,s)}}class o{constructor(){this.t=new Map,this.i=new Map}get routes(){return this.t}addFetchListener(){self.addEventListener("fetch",t=>{const{request:e}=t,s=this.handleRequest({request:e,event:t});s&&t.respondWith(s)})}addCacheListener(){self.addEventListener("message",t=>{if(t.data&&"CACHE_URLS"===t.data.type){const{payload:e}=t.data,s=Promise.all(e.urlsToCache.map(e=>{"string"==typeof e&&(e=[e]);const s=new Request(...e);return this.handleRequest({request:s,event:t})}));t.waitUntil(s),t.ports&&t.ports[0]&&s.then(()=>t.ports[0].postMessage(!0))}})}handleRequest({request:t,event:e}){const s=new URL(t.url,location.href);if(!s.protocol.startsWith("http"))return;const n=s.origin===location.origin,{params:i,route:r}=this.findMatchingRoute({event:e,request:t,sameOrigin:n,url:s});let o=r&&r.handler;const c=t.method;if(!o&&this.i.has(c)&&(o=this.i.get(c)),!o)return;let a;try{a=o.handle({url:s,request:t,event:e,params:i})}catch(t){a=Promise.reject(t)}const h=r&&r.catchHandler;return a instanceof Promise&&(this.o||h)&&(a=a.catch(async n=>{if(h)try{return await h.handle({url:s,request:t,event:e,params:i})}catch(t){t instanceof Error&&(n=t)}if(this.o)return this.o.handle({url:s,request:t,event:e});throw n})),a}findMatchingRoute({url:t,sameOrigin:e,request:s,event:n}){const i=this.t.get(s.method)||[];for(const r of i){let i;const o=r.match({url:t,sameOrigin:e,request:s,event:n});if(o)return i=o,(Array.isArray(i)&&0===i.length||o.constructor===Object&&0===Object.keys(o).length||"boolean"==typeof o)&&(i=void 0),{route:r,params:i}}return{}}setDefaultHandler(t,e="GET"){this.i.set(e,n(t))}setCatchHandler(t){this.o=n(t)}registerRoute(t){this.t.has(t.method)||this.t.set(t.method,[]),this.t.get(t.method).push(t)}unregisterRoute(t){if(!this.t.has(t.method))throw new s("unregister-route-but-not-found-with-method",{method:t.method});const e=this.t.get(t.method).indexOf(t);if(!(e>-1))throw new s("unregister-route-route-not-registered");this.t.get(t.method).splice(e,1)}}let c;const a=()=>(c||(c=new o,c.addFetchListener(),c.addCacheListener()),c);function h(t,e,n){let o;if("string"==typeof t){const s=new URL(t,location.href);o=new i(({url:t})=>t.href===s.href,e,n)}else if(t instanceof RegExp)o=new r(t,e,n);else if("function"==typeof t)o=new i(t,e,n);else{if(!(t instanceof i))throw new s("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});o=t}return a().registerRoute(o),o}const u={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},l=t=>[u.prefix,t,u.suffix].filter(t=>t&&t.length>0).join("-"),f=t=>t||l(u.precache),w=t=>t||l(u.runtime);function d(t,e){const s=e();return t.waitUntil(s),s}try{self["workbox:precaching:7.4.0"]&&_()}catch(t){}function p(t){if(!t)throw new s("add-to-cache-list-unexpected-type",{entry:t});if("string"==typeof t){const e=new URL(t,location.href);return{cacheKey:e.href,url:e.href}}const{revision:e,url:n}=t;if(!n)throw new s("add-to-cache-list-unexpected-type",{entry:t});if(!e){const t=new URL(n,location.href);return{cacheKey:t.href,url:t.href}}const i=new URL(n,location.href),r=new URL(n,location.href);return i.searchParams.set("__WB_REVISION__",e),{cacheKey:i.href,url:r.href}}class y{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:t,state:e})=>{e&&(e.originalRequest=t)},this.cachedResponseWillBeUsed=async({event:t,state:e,cachedResponse:s})=>{if("install"===t.type&&e&&e.originalRequest&&e.originalRequest instanceof Request){const t=e.originalRequest.url;s?this.notUpdatedURLs.push(t):this.updatedURLs.push(t)}return s}}}class g{constructor({precacheController:t}){this.cacheKeyWillBeUsed=async({request:t,params:e})=>{const s=(null==e?void 0:e.cacheKey)||this.h.getCacheKeyForURL(t.url);return s?new Request(s,{headers:t.headers}):t},this.h=t}}let R;async function m(t,e){let n=null;if(t.url){n=new URL(t.url).origin}if(n!==self.location.origin)throw new s("cross-origin-copy-response",{origin:n});const i=t.clone(),r={headers:new Headers(i.headers),status:i.status,statusText:i.statusText},o=function(){if(void 0===R){const t=new Response("");if("body"in t)try{new Response(t.body),R=!0}catch(t){R=!1}R=!1}return R}()?i.body:await i.blob();return new Response(o,r)}function v(t,e){const s=new URL(t);for(const t of e)s.searchParams.delete(t);return s.href}class q{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}}const U=new Set;try{self["workbox:strategies:7.4.0"]&&_()}catch(t){}function L(t){return"string"==typeof t?new Request(t):t}class b{constructor(t,e){this.u={},Object.assign(this,e),this.event=e.event,this.l=t,this.p=new q,this.R=[],this.m=[...t.plugins],this.v=new Map;for(const t of this.m)this.v.set(t,{});this.event.waitUntil(this.p.promise)}async fetch(t){const{event:e}=this;let n=L(t);if("navigate"===n.mode&&e instanceof FetchEvent&&e.preloadResponse){const t=await e.preloadResponse;if(t)return t}const i=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const t of this.iterateCallbacks("requestWillFetch"))n=await t({request:n.clone(),event:e})}catch(t){if(t instanceof Error)throw new s("plugin-error-request-will-fetch",{thrownErrorMessage:t.message})}const r=n.clone();try{let t;t=await fetch(n,"navigate"===n.mode?void 0:this.l.fetchOptions);for(const s of this.iterateCallbacks("fetchDidSucceed"))t=await s({event:e,request:r,response:t});return t}catch(t){throw i&&await this.runCallbacks("fetchDidFail",{error:t,event:e,originalRequest:i.clone(),request:r.clone()}),t}}async fetchAndCachePut(t){const e=await this.fetch(t),s=e.clone();return this.waitUntil(this.cachePut(t,s)),e}async cacheMatch(t){const e=L(t);let s;const{cacheName:n,matchOptions:i}=this.l,r=await this.getCacheKey(e,"read"),o=Object.assign(Object.assign({},i),{cacheName:n});s=await caches.match(r,o);for(const t of this.iterateCallbacks("cachedResponseWillBeUsed"))s=await t({cacheName:n,matchOptions:i,cachedResponse:s,request:r,event:this.event})||void 0;return s}async cachePut(t,e){const n=L(t);var i;await(i=0,new Promise(t=>setTimeout(t,i)));const r=await this.getCacheKey(n,"write");if(!e)throw new s("cache-put-with-no-response",{url:(o=r.url,new URL(String(o),location.href).href.replace(new RegExp(`^${location.origin}`),""))});var o;const c=await this.q(e);if(!c)return!1;const{cacheName:a,matchOptions:h}=this.l,u=await self.caches.open(a),l=this.hasCallback("cacheDidUpdate"),f=l?await async function(t,e,s,n){const i=v(e.url,s);if(e.url===i)return t.match(e,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),o=await t.keys(e,r);for(const e of o)if(i===v(e.url,s))return t.match(e,n)}(u,r.clone(),["__WB_REVISION__"],h):null;try{await u.put(r,l?c.clone():c)}catch(t){if(t instanceof Error)throw"QuotaExceededError"===t.name&&await async function(){for(const t of U)await t()}(),t}for(const t of this.iterateCallbacks("cacheDidUpdate"))await t({cacheName:a,oldResponse:f,newResponse:c.clone(),request:r,event:this.event});return!0}async getCacheKey(t,e){const s=`${t.url} | ${e}`;if(!this.u[s]){let n=t;for(const t of this.iterateCallbacks("cacheKeyWillBeUsed"))n=L(await t({mode:e,request:n,event:this.event,params:this.params}));this.u[s]=n}return this.u[s]}hasCallback(t){for(const e of this.l.plugins)if(t in e)return!0;return!1}async runCallbacks(t,e){for(const s of this.iterateCallbacks(t))await s(e)}*iterateCallbacks(t){for(const e of this.l.plugins)if("function"==typeof e[t]){const s=this.v.get(e),n=n=>{const i=Object.assign(Object.assign({},n),{state:s});return e[t](i)};yield n}}waitUntil(t){return this.R.push(t),t}async doneWaiting(){for(;this.R.length;){const t=this.R.splice(0),e=(await Promise.allSettled(t)).find(t=>"rejected"===t.status);if(e)throw e.reason}}destroy(){this.p.resolve(null)}async q(t){let e=t,s=!1;for(const t of this.iterateCallbacks("cacheWillUpdate"))if(e=await t({request:this.request,response:e,event:this.event})||void 0,s=!0,!e)break;return s||e&&200!==e.status&&(e=void 0),e}}class C{constructor(t={}){this.cacheName=w(t.cacheName),this.plugins=t.plugins||[],this.fetchOptions=t.fetchOptions,this.matchOptions=t.matchOptions}handle(t){const[e]=this.handleAll(t);return e}handleAll(t){t instanceof FetchEvent&&(t={event:t,request:t.request});const e=t.event,s="string"==typeof t.request?new Request(t.request):t.request,n="params"in t?t.params:void 0,i=new b(this,{event:e,request:s,params:n}),r=this.U(i,s,e);return[r,this.L(r,i,s,e)]}async U(t,e,n){let i;await t.runCallbacks("handlerWillStart",{event:n,request:e});try{if(i=await this._(e,t),!i||"error"===i.type)throw new s("no-response",{url:e.url})}catch(s){if(s instanceof Error)for(const r of t.iterateCallbacks("handlerDidError"))if(i=await r({error:s,event:n,request:e}),i)break;if(!i)throw s}for(const s of t.iterateCallbacks("handlerWillRespond"))i=await s({event:n,request:e,response:i});return i}async L(t,e,s,n){let i,r;try{i=await t}catch(r){}try{await e.runCallbacks("handlerDidRespond",{event:n,request:s,response:i}),await e.doneWaiting()}catch(t){t instanceof Error&&(r=t)}if(await e.runCallbacks("handlerDidComplete",{event:n,request:s,response:i,error:r}),e.destroy(),r)throw r}}class E extends C{constructor(t={}){t.cacheName=f(t.cacheName),super(t),this.C=!1!==t.fallbackToNetwork,this.plugins.push(E.copyRedirectedCacheableResponsesPlugin)}async _(t,e){const s=await e.cacheMatch(t);return s||(e.event&&"install"===e.event.type?await this.O(t,e):await this.N(t,e))}async N(t,e){let n;const i=e.params||{};if(!this.C)throw new s("missing-precache-entry",{cacheName:this.cacheName,url:t.url});{const s=i.integrity,r=t.integrity,o=!r||r===s;n=await e.fetch(new Request(t,{integrity:"no-cors"!==t.mode?r||s:void 0})),s&&o&&"no-cors"!==t.mode&&(this.P(),await e.cachePut(t,n.clone()))}return n}async O(t,e){this.P();const n=await e.fetch(t);if(!await e.cachePut(t,n.clone()))throw new s("bad-precaching-response",{url:t.url,status:n.status});return n}P(){let t=null,e=0;for(const[s,n]of this.plugins.entries())n!==E.copyRedirectedCacheableResponsesPlugin&&(n===E.defaultPrecacheCacheabilityPlugin&&(t=s),n.cacheWillUpdate&&e++);0===e?this.plugins.push(E.defaultPrecacheCacheabilityPlugin):e>1&&null!==t&&this.plugins.splice(t,1)}}E.defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:t})=>!t||t.status>=400?null:t},E.copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:t})=>t.redirected?await m(t):t};class O{constructor({cacheName:t,plugins:e=[],fallbackToNetwork:s=!0}={}){this.j=new Map,this.k=new Map,this.K=new Map,this.l=new E({cacheName:f(t),plugins:[...e,new g({precacheController:this})],fallbackToNetwork:s}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this.l}precache(t){this.addToCacheList(t),this.T||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this.T=!0)}addToCacheList(t){const e=[];for(const n of t){"string"==typeof n?e.push(n):n&&void 0===n.revision&&e.push(n.url);const{cacheKey:t,url:i}=p(n),r="string"!=typeof n&&n.revision?"reload":"default";if(this.j.has(i)&&this.j.get(i)!==t)throw new s("add-to-cache-list-conflicting-entries",{firstEntry:this.j.get(i),secondEntry:t});if("string"!=typeof n&&n.integrity){if(this.K.has(t)&&this.K.get(t)!==n.integrity)throw new s("add-to-cache-list-conflicting-integrities",{url:i});this.K.set(t,n.integrity)}if(this.j.set(i,t),this.k.set(i,r),e.length>0){const t=`Workbox is precaching URLs without revision info: ${e.join(", ")}\nThis is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(t)}}}install(t){return d(t,async()=>{const e=new y;this.strategy.plugins.push(e);for(const[e,s]of this.j){const n=this.K.get(s),i=this.k.get(e),r=new Request(e,{integrity:n,cache:i,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:s},request:r,event:t}))}const{updatedURLs:s,notUpdatedURLs:n}=e;return{updatedURLs:s,notUpdatedURLs:n}})}activate(t){return d(t,async()=>{const t=await self.caches.open(this.strategy.cacheName),e=await t.keys(),s=new Set(this.j.values()),n=[];for(const i of e)s.has(i.url)||(await t.delete(i),n.push(i.url));return{deletedURLs:n}})}getURLsToCacheKeys(){return this.j}getCachedURLs(){return[...this.j.keys()]}getCacheKeyForURL(t){const e=new URL(t,location.href);return this.j.get(e.href)}getIntegrityForCacheKey(t){return this.K.get(t)}async matchPrecache(t){const e=t instanceof Request?t.url:t,s=this.getCacheKeyForURL(e);if(s){return(await self.caches.open(this.strategy.cacheName)).match(s)}}createHandlerBoundToURL(t){const e=this.getCacheKeyForURL(t);if(!e)throw new s("non-precached-url",{url:t});return s=>(s.request=new Request(t),s.params=Object.assign({cacheKey:e},s.params),this.strategy.handle(s))}}let x;const N=()=>(x||(x=new O),x);class P extends i{constructor(t,e){super(({request:s})=>{const n=t.getURLsToCacheKeys();for(const i of function*(t,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:s="index.html",cleanURLs:n=!0,urlManipulation:i}={}){const r=new URL(t,location.href);r.hash="",yield r.href;const o=function(t,e=[]){for(const s of[...t.searchParams.keys()])e.some(t=>t.test(s))&&t.searchParams.delete(s);return t}(r,e);if(yield o.href,s&&o.pathname.endsWith("/")){const t=new URL(o.href);t.pathname+=s,yield t.href}if(n){const t=new URL(o.href);t.pathname+=".html",yield t.href}if(i){const t=i({url:r});for(const e of t)yield e.href}}(s.url,e)){const e=n.get(i);if(e){return{cacheKey:e,integrity:t.getIntegrityForCacheKey(e)}}}},t.strategy)}}t.NavigationRoute=class extends i{constructor(t,{allowlist:e=[/./],denylist:s=[]}={}){super(t=>this.W(t),t),this.M=e,this.S=s}W({url:t,request:e}){if(e&&"navigate"!==e.mode)return!1;const s=t.pathname+t.search;for(const t of this.S)if(t.test(s))return!1;return!!this.M.some(t=>t.test(s))}},t.cleanupOutdatedCaches=function(){self.addEventListener("activate",t=>{const e=f();t.waitUntil((async(t,e="-precache-")=>{const s=(await self.caches.keys()).filter(s=>s.includes(e)&&s.includes(self.registration.scope)&&s!==t);return await Promise.all(s.map(t=>self.caches.delete(t))),s})(e).then(t=>{}))})},t.createHandlerBoundToURL=function(t){return N().createHandlerBoundToURL(t)},t.precacheAndRoute=function(t,e){!function(t){N().precache(t)}(t),function(t){const e=N();h(new P(e,t))}(e)},t.registerRoute=h});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{u as m,a as p,b as u,c as h,d as s,C as l,T as d}from"./index-DAObBCDG.js";import{T as a}from"./Placeholder-DoJPWttg.js";import{M as f,I as w}from"./Markdown-BNlKVHJ4.js";import{P as r}from"./Page-CU2ljT5t.js";import{u as x}from"./use-simple-headers-C1tKvNnG.js";import{D as v}from"./Divider-gld0_leQ.js";import{A as k}from"./Alert-COfF0dqk.js";import"./LinkText-DEVIS-r6.js";import"./Strong-D7PTULU1.js";function I(){const{appName:c}=m(),{foda:o}=p(),{data:e,loading:i,error:n}=u(h,{}),t=x({title:`About ${c}`});return i?s(r,{...t,children:s(l,{class:"px-4 py-8",children:[s(a,{class:"w-[30%] text-xl"}),s("div",{class:"h-8"}),s(a,{class:"w-full text-md"}),s("div",{class:"h-3"}),s(a,{class:"w-full text-md"}),s("div",{class:"h-3"}),s(a,{class:"w-[60%] text-md"}),s("div",{class:"h-12"}),s(a,{class:"w-[40%] text-lg"}),s("div",{class:"h-8"}),s(a,{class:"w-full text-md"}),s("div",{class:"h-3"}),s(a,{class:"w-full text-md"}),s("div",{class:"h-3"}),s(a,{class:"w-[20%] text-md"}),s("div",{class:"h-12"}),s(a,{class:"w-[50%] text-lg"}),s("div",{class:"h-8"}),s(a,{class:"w-full text-md"}),s("div",{class:"h-3"}),s(a,{class:"w-[80%] text-md"})]})}):n!=null||e==null?s(r,{...t,children:s(l,{class:"px-4 py-8",children:s(k,{type:"error",children:s(d,{children:"Unable to load the about page."})})})}):s(r,{...t,children:s(l,{class:"px-4 py-8 gap-12",children:[s(f,{markdown:e.primaryMarkdown}),s(l,{class:"gap-8",children:[s(v,{}),s(d,{as:"p",style:"small-weak",children:s(w,{markdown:o.footerPrimaryMarkdown})})]})]})})}export{I as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as e,C as r,T as a}from"./index-DAObBCDG.js";import{P as o}from"./Page-CU2ljT5t.js";import{u as t}from"./use-simple-headers-C1tKvNnG.js";function i(){return e(o,{...t({title:"Admin controls"}),children:e(r,{class:"px-4 py-8 gap-8",children:e(a,{children:"Maybe the real admin controls were the friends we made along the way?"})})})}export{i as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{X as P,x as A,d as e,T as l,e as i,G as f,g as h,R as g,f as R,M as S,B as k,L as D,h as H,C as a,u as v,b as B,i as L,a as T}from"./index-DAObBCDG.js";import{P as E}from"./Page-CU2ljT5t.js";import{u as F}from"./use-simple-headers-C1tKvNnG.js";import{D as d}from"./Divider-gld0_leQ.js";import{V as m,A as p}from"./Alert-COfF0dqk.js";import{T as x}from"./Placeholder-DoJPWttg.js";const y=P(null);function c(){const n=A(y);if(n==null)throw new Error("Foundational data unavailable outside provider.");return n}function U(n){const r={info:"bg-soft-accent",error:"bg-soft-error",warning:"bg-soft-warning",success:"bg-soft-success"}[n.type],t={info:"[--color-fg:var(--color-accent-text)]",error:"[--color-fg:var(--color-error-text)]",warning:"[--color-fg:var(--color-warning-text)]",success:"[--color-fg:var(--color-success-text)]"}[n.type];return e(f,{class:i(n.class,r,t,"px-2 py-1.5 rounded-full"),children:e(l,{style:"small",children:n.text})})}function C(n){return e(g,{class:i(n.class,"gap-x-2 gap-y-3"),wrap:!0,children:[e(l,{style:"strong",children:n.header}),n.loading&&e(x,{class:"w-[20%] text-md"}),!n.loading&&n.pillContent!=null&&e(m,{heightRem:h("text-md"),children:e(U,{type:n.pillContent.type,text:n.pillContent.text})})]})}function V(n){return e(C,{class:n.class,header:n.header,pillContent:M(n.currentValue,n.latestValue),loading:n.loading})}function M(n,r){return r==null?null:{text:n===r?"Up to date":"Outdated",type:n===r?"success":"error"}}function u(n){return n.loading?e(f,{class:n.class,children:e(x,{class:"w-[40%] text-md"})}):n.value==null?null:e(l,{class:n.class,children:[n.prefix,": ",n.value]})}function o(n){return n==null?null:n.length<32||!/^[0-9a-f]+$/.test(n)?n:n.slice(0,7)}function O(n){const{isUpdateAvailable:r,update:t}=R();return r?e(k,{theme:"accent",text:"Refresh & update",class:"self-start",icon:S,onClick:()=>{t()}}):e(g,{class:i(n.class,"gap-2"),children:[e(m,{heightRem:h("text-md"),children:e(D,{})}),e(l,{class:"min-w-0 shrink",children:"Waiting for service worker to install update..."})]})}function W(n){const{isHotReloadingEnabled:r}=H();return r?e(Q,{...n}):e(q,{...n})}function Q(n){const{data:r,loading:t}=c();return e(a,{class:i(n.class,"gap-6"),children:[e(C,{header:"App version",pillContent:{text:"Development",type:"info"},loading:!1}),e(l,{children:"All frontend code is being served with hot-reloading enabled, not through the PWA. (The below values are meaningless.)"}),e(w,{}),e(u,{prefix:"Latest version",value:r?.frontendVersion.slice(0,8)??null,loading:t})]})}function q(n){const{frontendVersion:r}=v(),{data:t,loading:s}=c(),b=!s&&t!=null&&t?.frontendVersion!==r;return e(a,{class:i(n.class,"gap-8"),children:e(a,{class:"gap-6",children:[e(V,{header:"App version",currentValue:r,latestValue:t?.frontendVersion??null,loading:s}),e(w,{}),e(u,{prefix:"Latest version",value:o(t?.frontendVersion),loading:s}),b&&e(O,{})]})})}function w(){const{frontendVersion:n,versionsOnLastUpdate:r}=v();return e(a,{class:"gap-4",children:[e(l,{children:["Current version: ",o(n)]}),e(a,{class:"gap-3",children:[e(l,{style:"small-weak",children:["Server version: ",o(r.serverVersion)]}),e(l,{style:"small-weak",children:["CoreQuery version: ",r.corequeryPackageVersion]})]})]})}function G(n){const r=B(L,{});return e(y.Provider,{value:r,children:n.children})}function $(n){const{data:r,loading:t}=c(),{foda:s}=T();return e(a,{class:i(n.class,"gap-6"),children:[e(V,{header:"Foundational data",currentValue:s.hash,latestValue:r?.foundationalDataHash??null,loading:t}),e(a,{class:"gap-4",children:[e(l,{children:["Current version: ",o(s.hash)]}),e(l,{style:"small-weak",children:["Server version: ",o(s.serverVersion)]})]}),e(u,{prefix:"Latest version",value:o(r?.foundationalDataHash),loading:t})]})}function I(n){const{data:r,loading:t}=c();return e(a,{class:i(n.class,"gap-8"),children:e(a,{class:"gap-6",children:[e(l,{style:"strong",children:"Server"}),e(X,{}),e(a,{class:"gap-4",children:[e(u,{prefix:"Server version",value:o(r?.serverVersion),loading:t}),e(u,{prefix:"CoreQuery version",value:r?.corequeryPackageVersion??null,loading:t})]})]})})}function X(){const{error:n}=c();return n==null?null:e(p,{type:"error",children:e(l,{children:"Unable to fetch the latest version info from the server."})})}function _(){return e(E,{...F({title:"Developer info"}),children:e(G,{children:e(a,{class:"px-4 py-8 gap-8",children:[e(j,{}),e(W,{}),e(d,{}),e($,{}),e(d,{}),e(I,{}),e(d,{})]})})})}function j(){const{error:n}=c();return n==null?null:e(p,{type:"error",children:e(l,{children:"Unable to fetch the latest version info from the server."})})}export{_ as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as s,e as o}from"./index-DAObBCDG.js";function d(r){return s("div",{class:o(r.class,"border-b border-soft-border")})}export{d as D};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as r,d as a,C as m}from"./index-DAObBCDG.js";import{P as e}from"./Page-CU2ljT5t.js";import{u as t}from"./use-simple-headers-C1tKvNnG.js";import{M as i}from"./Markdown-BNlKVHJ4.js";import"./LinkText-DEVIS-r6.js";import"./Strong-D7PTULU1.js";function f(){const{foda:o}=r();return a(e,{...t({title:"Home"}),children:a(m,{class:"px-4 py-8 gap-12",children:a(i,{markdown:o.landingPage.primaryMarkdown})})})}export{f as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as e,C as r,T as a}from"./index-DAObBCDG.js";import{P as l}from"./Page-CU2ljT5t.js";function n(){return e(l,{mobileHeader:null,desktopHeader:null,children:e(r,{class:"px-4 py-8 gap-8",children:e(a,{children:"Idk"})})})}export{n as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as o}from"./index-DAObBCDG.js";import{N as r}from"./NotFoundPage-fCz3glss.js";import"./Page-CU2ljT5t.js";function f(){return o(r,{afterConfirming:"frontend-version"})}export{f as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as F,u as H,f as A,a as D,b,i as k,m as P,y as g,v as B,F as L,d as n,C as p,L as S,T as m,B as T,w as E,z as I}from"./index-DAObBCDG.js";import{P as y}from"./Page-CU2ljT5t.js";function R({afterConfirming:i}){const{isHotReloadingEnabled:v}=F(),{frontendVersion:w}=H(),{unregister:r}=A(),{foda:e,updateFoda:l}=D(),{callApi:d}=I(),{data:a,loading:t,error:u}=b(k,{}),[x,c]=P(!1),o=i==="frontend-version"&&!v&&!t&&u==null&&a!=null&&a.frontendVersion!==w,f=i==="foundational-data-version"&&!t&&u==null&&a!=null&&a.foundationalDataHash!==e.hash;return g(()=>{if(!o)return;async function s(){await r(),window.location.reload()}s()},[o,r]),g(()=>{if(!f)return;async function s(){c(!0);try{const h=await d(B,{hash:e.hash});h.result==="outdated"&&l(new L(h.foundationalData))}catch{}finally{c(!1)}}s()},[f,d,e.hash,l]),t||o||x?n(y,{mobileHeader:null,desktopHeader:null,children:n(p,{xAlign:"center",yAlign:"center",children:n(S,{})})}):n(y,{mobileHeader:null,desktopHeader:null,children:n(p,{class:"px-4 py-8 gap-8",xAlign:"center",yAlign:"center",children:[n(m,{style:"title",align:"center",children:"Page not found"}),n(m,{align:"center",children:"This page doesn't exist, at least not anymore!"}),n(T,{href:"/",text:"Go home",icon:E})]})})}export{R as N};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d,e as r,G as n,D as a,P as i}from"./index-DAObBCDG.js";function s(e){return d(n,{class:r(e.class,"not-desktop:hidden"),children:e.children})}function c(e){return d(n,{class:r(e.class,"fixed top-0 left-0 right-0 bg-bg-navbar border-b border-soft-border desktop:hidden"),children:e.children})}function h(e){const{showMobileNav:l}=a(),t=e.centered??!0;return d(n,{class:r("bg-bg min-h-svh relative",{"pt-14":e.mobileHeader!=null,"not-desktop:pb-18":l,"desktop:grid-rows-[auto_1fr]":e.desktopHeader!=null},"desktop:pt-12"),children:[e.desktopHeader!=null&&d(s,{children:e.desktopHeader}),e.mobileHeader!=null&&d(c,{class:"h-14 z-1",children:e.mobileHeader}),d(n,{class:"z-0",children:t?d(i,{children:e.children}):e.children})]})}export{h as P};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as l,e as a}from"./index-DAObBCDG.js";function s(e){return l("div",{class:a(e.class,"bg-placeholder animate-placeholder-pulse")})}function r(e){return l(s,{...e,class:a(e.class,"h-[1em] -my-[0.13em]")})}export{r as T};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as t,C as a,T as e}from"./index-DAObBCDG.js";import{P as r}from"./Page-CU2ljT5t.js";import{u as s}from"./use-simple-headers-C1tKvNnG.js";function u(){return t(r,{...s({title:"Status"}),children:t(a,{class:"px-4 py-8 gap-8",children:t(e,{children:"LGTM"})})})}export{u as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{l as u,a as r,j as l,d as o,C as c,T as f}from"./index-DAObBCDG.js";import{P as p}from"./Page-CU2ljT5t.js";import{u as d}from"./use-simple-headers-C1tKvNnG.js";import{N as m}from"./NotFoundPage-fCz3glss.js";function g(n,e,t,a){if(n.length===0)return"";if(n.length===1)return n[0];if(n.length===2)return`${n[0]}${a}${n[1]}`;const s=n.slice(0,-1).join(e),i=n[n.length-1];return`${s}${t}${i}`}function h(n){return g(n,", ",", and "," and ")}function y(){const{params:{id:n}}=u(),{foda:e}=r(),t=l(()=>e.stops.getByUrlPath(n??""),[e.stops,n]);return t===null?o(m,{afterConfirming:"foundational-data-version"}):o(S,{stop:t})}function S(n){const{foda:e}=r();return o(p,{...d({title:n.stop.name}),children:o(c,{class:"px-4 py-8 gap-8",children:o(f,{children:[h(n.stop.canonicalLinesServingStop.map(t=>e.lines.require(t).name).sort((t,a)=>t.localeCompare(a)))," ",n.stop.canonicalLinesServingStop.length===1?"Line":"lines"]})})})}export{y as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as s,e as t}from"./index-DAObBCDG.js";function c(r){return s("strong",{class:t(r.class,"text-fg-strong"),children:r.children})}export{c as S};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as e,C as o,T as n}from"./index-DAObBCDG.js";import{P as a}from"./Page-CU2ljT5t.js";import{u as i}from"./use-simple-headers-C1tKvNnG.js";import{S as r}from"./Strong-D7PTULU1.js";function d(){return e(a,{...i({title:"Zen mode"}),children:e(o,{class:"px-4 py-8 gap-8",children:e(n,{children:[e(r,{children:"✨"})," Zen! ",e(r,{children:"✨"})]})})})}export{d as default};
|