corequery 0.36.0 → 0.37.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.
Files changed (56) hide show
  1. package/package.json +1 -1
  2. package/web/dist/assets/{About-CuBfNcQd.js → About-C3wnI7Tt.js} +1 -1
  3. package/web/dist/assets/AdminControls-DrThgKnx.js +1 -0
  4. package/web/dist/assets/{Alert-CNaalIbn.js → Alert-DztxgpkO.js} +1 -1
  5. package/web/dist/assets/Debug-Bj0JQBuG.js +1 -0
  6. package/web/dist/assets/Divider-DoDjWpxt.js +1 -0
  7. package/web/dist/assets/ErrorMessage-C9JxifQk.js +1 -0
  8. package/web/dist/assets/Home-Dh99ZtY6.js +1 -0
  9. package/web/dist/assets/Line-DAVFWc_l.js +1 -0
  10. package/web/dist/assets/{LinkText-Co4qc0dx.js → LinkText-oghSfaf2.js} +1 -1
  11. package/web/dist/assets/{Markdown-BY6JcM-Z.js → Markdown-Ds6uHrmO.js} +1 -1
  12. package/web/dist/assets/{MingcuteAlertLine-DxgntDGK.js → MingcuteAlertLine-Cp5hrd7X.js} +1 -1
  13. package/web/dist/assets/Nearby-DV_tFaX_.js +1 -0
  14. package/web/dist/assets/NotFound-CySH3zss.js +1 -0
  15. package/web/dist/assets/NotFoundPage-BsfQWwp9.js +1 -0
  16. package/web/dist/assets/{Page-eZ-IZNxm.js → Page-B2FZWIBP.js} +1 -1
  17. package/web/dist/assets/{Picker-k_4eWvu2.js → Picker-B95kmKwR.js} +1 -1
  18. package/web/dist/assets/{Placeholder-B5DNAGHP.js → Placeholder-CCHaFkJj.js} +1 -1
  19. package/web/dist/assets/Service-CETSSNTt.js +1 -0
  20. package/web/dist/assets/Settings-7eYiXBh4.js +1 -0
  21. package/web/dist/assets/{SimpleMobileHeaderContent-BZ-z0X3U.js → SimpleMobileHeaderContent-CvSCYR3o.js} +1 -1
  22. package/web/dist/assets/Status-DYPebws5.js +1 -0
  23. package/web/dist/assets/Stop-WWINwzYk.js +11 -0
  24. package/web/dist/assets/Strong--F1YzYdg.js +1 -0
  25. package/web/dist/assets/ZenMode-DmkrZopO.js +1 -0
  26. package/web/dist/assets/corequery-urls-78N8ADzG.js +1 -0
  27. package/web/dist/assets/index-CYVVbfmA.js +2 -0
  28. package/web/dist/assets/index-Duc7TGHj.css +2 -0
  29. package/web/dist/assets/linear-71VpCPEr.js +1 -0
  30. package/web/dist/assets/{use-api-DL13FmNZ.js → use-api-qDZl9CKn.js} +1 -1
  31. package/web/dist/assets/{use-foda-synced-query-Df-foxd8.js → use-foda-synced-query-CIfQETe2.js} +1 -1
  32. package/web/dist/assets/{use-foundational-data-DyAlFXWG.js → use-foundational-data-0jB3Jf9I.js} +1 -1
  33. package/web/dist/assets/{use-nav-exemptions-Daz3EeSR.js → use-nav-exemptions-D8bA5W60.js} +1 -1
  34. package/web/dist/assets/{use-simple-headers-BE9SwcPx.js → use-simple-headers-BpV0B8HW.js} +1 -1
  35. package/web/dist/assets/use-terminology-BNoP6KZJ.js +1 -0
  36. package/web/dist/index.html +8 -7
  37. package/web/dist/sw.js +1 -1
  38. package/web/dist/assets/AdminControls-CVGbS_5e.js +0 -1
  39. package/web/dist/assets/Debug-B9JffuQ7.js +0 -1
  40. package/web/dist/assets/Divider-C465PGQW.js +0 -1
  41. package/web/dist/assets/ErrorMessage-Mp0VVnTj.js +0 -1
  42. package/web/dist/assets/Home-BZXUmeh8.js +0 -1
  43. package/web/dist/assets/Line-DNbLEU4Y.js +0 -1
  44. package/web/dist/assets/Nearby-CqDDKuYT.js +0 -1
  45. package/web/dist/assets/NotFound-5qV_DZRA.js +0 -1
  46. package/web/dist/assets/NotFoundPage-rabdgx0c.js +0 -1
  47. package/web/dist/assets/Service-BNcdDmTR.js +0 -1
  48. package/web/dist/assets/Settings-ZUDsiG47.js +0 -1
  49. package/web/dist/assets/Status-CRAvAMxM.js +0 -1
  50. package/web/dist/assets/Stop-C3WdbHTc.js +0 -11
  51. package/web/dist/assets/Strong-DYvq_eAK.js +0 -1
  52. package/web/dist/assets/ZenMode-BRnT2IgH.js +0 -1
  53. package/web/dist/assets/index-Bku-5Rho.css +0 -2
  54. package/web/dist/assets/index-uA8YIkaf.js +0 -2
  55. package/web/dist/assets/linear-Ddr4Wd6S.js +0 -1
  56. package/web/dist/assets/scope-B-e4l8Dr.js +0 -1
@@ -0,0 +1 @@
1
+ import{_ as e,c as t,g as n,h as r,l as i,r as a,s as o,v as s,y as c}from"./use-nav-exemptions-D8bA5W60.js";import"./use-api-qDZl9CKn.js";import{n as l}from"./use-terminology-BNoP6KZJ.js";import{d as u}from"./index-CYVVbfmA.js";import{t as d}from"./ErrorMessage-C9JxifQk.js";function f(e){if(!/^-?[0-9]+$/g.test(e))throw m(e);return parseInt(e,10)}function p(e){return/^-?[0-9]+$/g.test(e)?parseInt(e,10):null}var m=e=>Error(`"${e}" is not an integer.`),h=class{_canvasContainer;_canvas;ctx;_resizeListener;_resizeObserver;_data;_width;_height;_dpiRatio;_dirty;_running;constructor(e,t){this._canvasContainer=e,this._canvas=t;let n=this._canvas.getContext(`2d`);if(n==null)throw Error(`Failed to get 2D rendering context.`);this.ctx=n,this._resizeListener=this._onResize.bind(this),this._resizeObserver=new ResizeObserver(this._resizeListener),this._data=null,this._width=1,this._height=1,this._dpiRatio=1,this._dirty=!0,this._running=!1}get data(){if(this._data==null)throw Error(`Data not set.`);return this._data}get width(){return this._width}get height(){return this._height}setData(e){this._data=e,this.onDataUpdated(),this._dirty=!0,this._running||this._start()}_start(){this._fitCanvas(),this._running=!0,this._render(),window.addEventListener(`resize`,this._resizeListener),this._resizeObserver.observe(this._canvasContainer),this.onStart()}destroy(){this._running=!1,window.removeEventListener(`resize`,this._resizeListener),this._resizeObserver.unobserve(this._canvasContainer),this.onDestroy()}_render(){this._running&&(requestAnimationFrame(()=>{this._render()}),this._dirty&&(this._dirty=!1,this.ctx.save(),this.ctx.clearRect(0,0,this._width*this._dpiRatio,this._height*this._dpiRatio),this.ctx.scale(this._dpiRatio,this._dpiRatio),this.onRender(),this.ctx.restore()))}onStart(){}onDestroy(){}onDataUpdated(){}_onResize(){this._fitCanvas()}_fitCanvas(){let e=this._canvasContainer.getBoundingClientRect();this._width=e.width,this._height=e.height;let t=window.devicePixelRatio??1,n=this.ctx.backingStorePixelRatio??1;this._dpiRatio=t/n,this._canvas.style.width=`${this._width}px`,this._canvas.style.height=`${this._height}px`,this._canvas.width=this._width*this._dpiRatio,this._canvas.height=this._height*this._dpiRatio,this._dirty=!0}markDirty(){this._dirty=!0}};function g(e){let{data:a,createController:o}=e,c=n(null),l=n(null),[u,d]=s(null),f=e.interceptTouches??!1?{touchAction:`none`}:void 0;return r(()=>{if(c.current==null||l.current==null)return;let e=o(c.current,l.current);return d(e),()=>{e?.destroy()}},[o]),r(()=>{u?.setData(a)},[u,a]),i(`div`,{ref:c,className:t(e.class,`relative overflow-hidden`),children:i(`canvas`,{className:`absolute top-0 left-0`,ref:l,style:f})})}function _(){let e=window.getComputedStyle(document.body);return{bg:e.getPropertyValue(`--color-bg`),fg:e.getPropertyValue(`--color-fg`),"fg-strong":e.getPropertyValue(`--color-fg-strong`),"fg-weak":e.getPropertyValue(`--color-fg-weak`)}}var v=6,y=6,b=1,x=class extends h{_css;_prefersDark;constructor(e,t){super(e,t),this._css=_(),this._prefersDark=window.matchMedia(`(prefers-color-scheme: dark)`).matches}onRender(){this.ctx.strokeStyle=`#000000`,this._onRenderStructure(),this.ctx.globalCompositeOperation=`source-in`,this.ctx.fillStyle=this._getDiagramColor(),this.ctx.fillRect(0,0,this.width,this.height)}_renderSection({stops:e,x:t,yLevels:n,terminatesAtTop:r,terminatesAtBottom:i,notchSide:a}){if(e.length<1)throw Error(`Expecting at least one stop.`);if(e.length!==n.length)throw Error(`Bad length.`);let o=l(n[0]),s=l(n[n.length-1]);this._drawLine(e=>{e.moveTo(t,o-b),e.lineTo(t,s+b)}),e.forEach((o,s)=>{let c=l(n[s]),u=s===0&&r||s===e.length-1&&i;(o.drawMark??!0)&&this._drawMark(t,c,u,a)})}_drawLine(e){this.ctx.lineWidth=y,this.ctx.beginPath(),e(this.ctx),this.ctx.stroke()}_drawMark(e,t,n,r){let i={left:-1,right:1}[r];this.ctx.lineWidth=v,this.ctx.beginPath(),this.ctx.moveTo(n?e-8*i:e,t),this.ctx.lineTo(e+8*i,t),this.ctx.stroke()}_extractYLevels(e,t){let n=this._extractChildElements(t);if(e.length!==n.length)throw Error(`Bad length.`);return e.map((e,t)=>{let r=l(n[t]);return e.getOverriddenMarkYPosition==null?this._getDefaultMarkYPosition(r):e.getOverriddenMarkYPosition(r)})}_extractChildElements(e){let t=this._canvasContainer.parentElement?.querySelector(`.${e}`);if(t==null)throw Error(`Couldn't find "${e}".`);return Array.from(t.childNodes.values()).filter(e=>e instanceof HTMLElement)}_getDefaultMarkYPosition(e){let t=this._canvasContainer.getBoundingClientRect(),n=e.getBoundingClientRect();return n.top-t.top+n.height/2}_getDiagramColor(){let e={dark:`darkThemeColorHexCode`,light:`lightThemeColorHexCode`,auto:this._prefersDark?`darkThemeColorHexCode`:`lightThemeColorHexCode`}[this.data.colorTheme];return this.data[e]??this._css.fg}},S=class extends x{_onRenderStructure(){let e=this.data.structure;this._renderSection({stops:e.stops,x:this.width/2,yLevels:this._extractYLevels(e.stops,w),terminatesAtTop:!0,terminatesAtBottom:!0,notchSide:`right`})}};function C(e){return i(d,{class:e.class,text:`An error occurred while rendering this diagram`})}var w=`_diagram-stops`;function T(n){let{settings:r}=u(),s=e(()=>({structure:n.structure,lightThemeColorHexCode:n.lightThemeColorHexCode,darkThemeColorHexCode:n.darkThemeColorHexCode,colorTheme:r.theme}),[n.darkThemeColorHexCode,n.lightThemeColorHexCode,n.structure,r.theme]),l=c((e,t)=>new S(e,t),[]);return s.structure.stops.length<2?i(C,{}):i(o,{class:t(n.class,`grid-cols-[auto_1fr] gap-4`),children:[i(g,{class:`w-4`,createController:l,data:s}),i(a,{class:t(`gap-6`,w),children:n.structure.stops.map((e,t)=>i(o,{children:e.content},t))})]})}export{p as a,g as i,C as n,f as o,x as r,T as t};
@@ -1,4 +1,4 @@
1
- import{g as e,h as t}from"./use-nav-exemptions-Daz3EeSR.js";function n(e){let t=Object.values(e).filter(e=>typeof e==`number`);return Object.entries(e).filter(([e,n])=>t.indexOf(+e)===-1).map(([e,t])=>t)}function r(e,t=`|`){return e.map(e=>ce(e)).join(t)}function i(e,t){return typeof t==`bigint`?t.toString():t}var a=class{constructor(e){this._getter=e,this._value=void 0}get value(){let e=this._getter;return e!==void 0&&(this._value=e(),this._getter=void 0),this._value}};function o(e){return new a(e)}function s(e){return e==null}function c(e){let t=+!!e.startsWith(`^`),n=e.endsWith(`$`)?e.length-1:e.length;return e.slice(t,n)}function l(e,t){let n=e/t,r=Math.round(n),i=4*2**-52*Math.max(Math.abs(n),1);return Math.abs(n-r)<i?0:n-r}function u(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function d(e){let t=Object.getOwnPropertyDescriptor(e,`shape`);return t?.get?t.get.raw:t?.value}function f(e){return d(e._zod.def)??e._zod.def.shape}function p(e,t,n){Object.defineProperty(e,t,{get(){let e=n();return u(this,t,e),e},enumerable:!0,configurable:!0})}function m(e,t,n){t in e?u(e,t,n):e[t]=n}function h(e,t,n,r){let i=f(t);for(let a of n){let n=Object.getOwnPropertyDescriptor(i,a);n.enumerable&&(n.get?p(e,a,()=>{let e=t._zod.def.shape[a];return r?r(e,a):e}):m(e,a,r?r(n.value,a):n.value))}}function ee(e,t){for(let n of Reflect.ownKeys(t)){let r=Object.getOwnPropertyDescriptor(t,n);r.enumerable&&(r.get?p(e,n,()=>t[n]):m(e,n,r.value))}}function g(...e){let t={};for(let n of e){let e=Object.getOwnPropertyDescriptors(n);Object.assign(t,e)}return Object.defineProperties({},t)}function te(e){return JSON.stringify(e)}function ne(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,``).replace(/[\s_-]+/g,`-`).replace(/^-+|-+$/g,``)}var re=`captureStackTrace`in Error?Error.captureStackTrace:(...e)=>{};function ie(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}var ae=o(()=>{if(k.jitless||typeof navigator<`u`&&navigator?.userAgent?.includes(`Cloudflare`))return!1;try{return Function(``),!0}catch{return!1}});function _(e){if(ie(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!=`function`)return!0;let n=t.prototype;return ie(n)!==!1&&Object.prototype.hasOwnProperty.call(n,`isPrototypeOf`)!==!1}function oe(e){return _(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}var se=new Set([`string`,`number`,`symbol`]);function v(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function y(e,t,n){let r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function b(e){let t=e;if(!t)return{};if(typeof t==`string`)return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error==`string`?{...t,error:()=>t.error}:t}function ce(e){return typeof e==`bigint`?e.toString()+`n`:typeof e==`string`?`"${e}"`:`${e}`}function le(e){return Object.keys(e).filter(t=>e[t]._zod.optin!==void 0&&e[t]._zod.optout===`optional`)}var ue={safeint:[-(2**53-1),2**53-1],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},de={int64:[BigInt(`-9223372036854775808`),BigInt(`9223372036854775807`)],uint64:[BigInt(0),BigInt(`18446744073709551615`)]};function fe(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.pick() cannot be used on object schemas containing refinements`);let i={};return h(i,e,pe(e,t)),y(e,g(n,{shape:i,checks:[]}))}function pe(e,t){let n=f(e),r=[];for(let e of Reflect.ownKeys(t)){if(!Object.getOwnPropertyDescriptor(n,e)?.enumerable)throw Error(`Unrecognized key: "${String(e)}"`);t[e]&&r.push(e)}return r}function me(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.omit() cannot be used on object schemas containing refinements`);let i=new Set(pe(e,t)),a={};return h(a,e,Reflect.ownKeys(f(e)).filter(e=>!i.has(e))),y(e,g(n,{shape:a,checks:[]}))}function he(e,t){if(!_(t))throw Error(`Invalid input to extend: expected a plain object`);let n=e._zod.def.checks;if(n&&n.length>0){let n=f(e);for(let e of Reflect.ownKeys(t))if(Object.getOwnPropertyDescriptor(n,e)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return y(e,g(e._zod.def,{shape:ge(e,t)}))}function ge(e,t){let n={};return h(n,e,Reflect.ownKeys(f(e))),ee(n,t),n}function _e(e,t){if(!_(t))throw Error(`Invalid input to safeExtend: expected a plain object`);return y(e,g(e._zod.def,{shape:ge(e,t)}))}function ve(e,t){if(!t?._zod?.def)throw Error("Invalid input to merge: expected an object schema. To merge a plain shape, use `.extend()`.");if(e._zod.def.checks?.length)throw Error(`.merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.`);let n={};return h(n,e,Reflect.ownKeys(f(e))),h(n,t,Reflect.ownKeys(f(t))),y(e,g(e._zod.def,{shape:n,get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]}))}function ye(e,t,n,r=`partial`){let i=t._zod.def.checks;if(i&&i.length>0)throw Error(`.${r}() cannot be used on object schemas containing refinements`);let a=n?new Set(pe(t,n)):void 0,o={};return h(o,t,Reflect.ownKeys(f(t)),e&&((t,n)=>a&&!a.has(n)?t:new e({type:`optional`,innerType:t}))),y(t,g(t._zod.def,{shape:o,checks:[]}))}function be(e,t,n){let r=n?new Set(pe(t,n)):void 0,i={};return h(i,t,Reflect.ownKeys(f(t)),(t,n)=>r&&!r.has(n)?t:new e({type:`nonoptional`,innerType:t})),y(t,g(t._zod.def,{shape:i}))}function x(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function xe(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue===!1)return!0;return!1}function Se(e,t){return t.map(t=>{var n;return(n=t).path??(n.path=[]),t.path.unshift(e),t})}function S(e){return typeof e==`string`?e:e?.message}function Ce(e){let t=[];for(let n of e??[]){let e=n._zod.def;if(!/_(length|size)$|_equals$/.test(e.check))break;let r=e.maximum??e.length??e.size;r>=0&&t.push([r,n])}return t}function we(e,t,n){var r;for(let i=t;i<e.length;i++)(r=e[i]).schema??(r.schema=n)}function C(e,t,n){var r;let i=e.inst?._zod?.traits;i?.has(`$ZodType`)&&(i.has(`$ZodCheck`)?(r=e).schema??(r.schema=e.inst):e.schema=e.inst);let a=e.schema===e.inst?void 0:e.schema?._zod.def?.error,o=e.message?e.message:S(e.inst?._zod.def?.error?.(e))??S(a?.(e))??S(t?.error?.(e))??S(n.customError?.(e))??S(n.localeError?.(e))??`Invalid input`,s={};for(let t of Object.keys(e))t!==`inst`&&t!==`schema`&&t!==`continue`&&t!==`input`&&t!==`__proto__`&&(s[t]=e[t]);return s.path??=[],s.message=o,t?.reportInput&&(s.input=e.input),s}var Te=/[\uD800-\uDBFF]/;function Ee(e){let t=e.length;if(!Te.test(e))return t;let n=t;for(let r=0;r<t-1;r++)(e.charCodeAt(r)&64512)==55296&&(e.charCodeAt(r+1)&64512)==56320&&(n--,r++);return n}function De(e){return Array.isArray(e)?`array`:typeof e==`string`?`string`:`unknown`}function Oe(e){let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`nan`:`number`;case`object`:{if(e===null)return`null`;if(Array.isArray(e))return`array`;let t=e;if(t&&Object.getPrototypeOf(t)!==Object.prototype&&`constructor`in t&&t.constructor)return t.constructor.name}}return t}function ke(...e){let[t,n,r]=e;return typeof t==`string`?{message:t,code:`custom`,input:n,inst:r}:{...t}}function Ae(e,t){for(let n in t){let r=Object.getOwnPropertyDescriptor(t,n);r.get?Object.defineProperty(e,n,{...r,enumerable:!1}):Ne(e,n,r.value)}}function w(e,t,n,r=!0){return Object.defineProperty(e,t,{configurable:!0,writable:!0,enumerable:r,value:n}),n}function je(e,t,n){return w(e,t,n,!1)}function Me(e,t){for(let n in e){let r=e[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!0,get(){return w(this,n,r(this))},set(e){w(this,n,e)}})}return t}function Ne(e,t,n){Object.defineProperty(e,t,{configurable:!0,get(){return this==null?n:w(this,t,n.bind(this))},set(e){w(this,t,e)}})}function Pe(e,t){let n=Object.getPrototypeOf(e);return t in n?void 0:n}var Fe,T=!1,Ie={configurable:!0,get(){T=!0}};function E(e,t,n){let r=Object.getPrototypeOf(e._zod);t in r&&Fe!==e._zod?Fe=void 0:(Fe=e._zod,Object.defineProperty(r,t,{configurable:!0,get(){Object.defineProperty(this,t,Ie);let e=T;T=!1;try{let r=n(this);return T?delete this[t]:Object.defineProperty(this,t,{configurable:!0,writable:!0,value:r}),T||=e,r}catch(n){throw delete this[t],T||=e,n}},set(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}}))}function Le(e,t,n,r){let i=Pe(e,t);i&&Object.defineProperty(i,t,{configurable:!0,get(){let e={configurable:!0,writable:!0,enumerable:r,value:void 0};return Object.defineProperty(this,t,e),e.value=n(this),Object.defineProperty(this,t,e),e.value},set(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,enumerable:r,value:e})}})}var Re=`~constantCatch`;function ze(e){let t=()=>e;return t[Re]=!0,t}var Be,Ve={value:void 0,enumerable:!1},He=`captureStackTrace`in Error?Error:null;function Ue(e){let t=He;if(t){let n=t.stackTraceLimit;if(typeof n==`number`){try{t.stackTraceLimit=0}catch{return He=null,new e}try{return new e}finally{t.stackTraceLimit=n}}}return new e}function D(e,t,n,r){let i={};function a(e){this.def=e,this.constr=d,this.traits=new Set}a.prototype=i;let o=n,s=o&&new WeakSet;function c(n,r){if(!n._zod){Ve.value=new a(r);try{Object.defineProperty(n,"_zod",Ve)}finally{Ve.value=void 0}}else if(n._zod.traits.has(e))return;if(n._zod.traits.add(e),t(n,r),s){let e=Object.getPrototypeOf(n),t=n._zod.constr.prototype,r=e;for(;r&&r!==t;)r=Object.getPrototypeOf(r);let i=r??e;s.has(i)||(s.add(i),Ae(i,o))}let i=d.prototype;for(let e in i)Object.prototype.hasOwnProperty.call(i,e)&&(e in n||(n[e]=i[e].bind(n)))}let l=r?.Parent??Object;class u extends l{}Object.defineProperty(u,"name",{value:e});function d(e){let t=r?.Parent?Ue(u):this;c(t,e);let n=t._zod.deferred;if(n){for(let e of n)e();t._zod.deferred=void 0}let i=globalThis.__zod_globalConfig?.postProcessor;return i&&i(t),t}return Object.defineProperty(d,"init",{value:c}),Object.defineProperty(d,Symbol.hasInstance,{value:t=>r?.Parent&&t instanceof r.Parent?!0:t?._zod?.traits?.has(e)}),Object.defineProperty(d,"name",{value:e}),d}var O=class extends Error{constructor(){super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`)}},We=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name=`ZodEncodeError`}};(Be=globalThis).__zod_globalConfig??(Be.__zod_globalConfig={});var k=globalThis.__zod_globalConfig;function A(e){return e&&Object.assign(k,e),k}function Ge(){let e=this._zod;return e.message??=JSON.stringify(e.def,i,2),e.message}function Ke(e){this._zod.message=e}var qe={get:Ge,set:Ke,enumerable:!0,configurable:!0},Je={value:void 0,enumerable:!1},Ye=new WeakSet([Object.prototype,Error.prototype]),Xe=D(`$ZodError`,(e,t)=>{e.name=`$ZodError`,Je.value=t,Object.defineProperty(e,"issues",Je),Je.value=void 0,Object.defineProperty(e,"message",qe);let n=Object.getPrototypeOf(e);Ye.has(n)||(Ye.add(n),Object.defineProperty(n,"toString",{configurable:!0,enumerable:!1,get(){let e=()=>this.message;return Object.defineProperty(this,"toString",{value:e,configurable:!0,writable:!0}),e},set(e){Object.defineProperty(this,"toString",{value:e,configurable:!0,writable:!0})}}))});function Ze(e,t,n){return Object.prototype.hasOwnProperty.call(e,t)||(t===`__proto__`?Object.defineProperty(e,t,{value:n(),writable:!0,enumerable:!0,configurable:!0}):e[t]=n()),e[t]}function Qe(e,t=e=>e.message){let n={},r=[];for(let i of e.issues)i.path.length>0?Ze(n,i.path[0],()=>[]).push(t(i)):r.push(t(i));return{formErrors:r,fieldErrors:n}}function $e(e,t=e=>e.message){let n={_errors:[]},r=(e,i=[])=>{for(let a of e.issues)if(a.code===`invalid_union`&&a.errors.length)a.errors.map(e=>r({issues:e},[...i,...a.path]));else if(a.code===`invalid_key`)r({issues:a.issues},[...i,...a.path]);else if(a.code===`invalid_element`)r({issues:a.issues},[...i,...a.path]);else{let e=[...i,...a.path];if(e.length===0)n._errors.push(t(a));else{let r=n,i=0;for(;i<e.length;){let n=e[i],o=i===e.length-1;if(n===`_errors`){o&&r._errors.push(t(a)),i++;continue}Object.prototype.hasOwnProperty.call(r,n)||Object.defineProperty(r,n,{value:{_errors:[]},enumerable:!0,writable:!0,configurable:!0});let s=r[n];o&&s._errors.push(t(a)),r=s,i++}}}};return r(e),n}function et(e,t){return{callee:t?.callee??e,Err:t?.Err}}var tt=e=>{let t=(n,r,i,a)=>{let o=i?{...i,async:!1}:{async:!1},s=n._zod.run({value:r,issues:[]},o);if(s instanceof Promise)throw new O;if(s.issues.length){let n=new((a?.Err)??e)(s.issues.map(e=>C(e,o,A())));throw re(n,a?.callee??t),n}return s.value};return t},nt=e=>{let t=async(n,r,i,a)=>{let o=i?{...i,async:!0}:{async:!0},s=n._zod.run({value:r,issues:[]},o);if(s instanceof Promise&&(s=await s),s.issues.length){let n=new((a?.Err)??e)(s.issues.map(e=>C(e,o,A())));throw re(n,a?.callee??t),n}return s.value};return t},rt=e=>(t,n,r)=>{let i=r?{...r,async:!1}:{async:!1},a=t._zod.run({value:n,issues:[]},i);if(a instanceof Promise)throw new O;return a.issues.length?it(e,a.issues,i):{success:!0,data:a.value}};function it(e,t,n){let r;return{success:!1,get error(){return r||(r=new e(t.map(e=>C(e,n,A()))),t=void 0,n=void 0),r},set error(e){r=e,t=void 0,n=void 0}}}var at=e=>async(t,n,r)=>{let i=r?{...r,async:!0}:{async:!0},a=t._zod.run({value:n,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length?it(e,a.issues,i):{success:!0,data:a.value}},ot=Symbol.for(`zod.compile.invalid`),st=Symbol.for(`zod.compile.fallback`),ct=((e,t,n)=>{let r=e._zod.bag.validator;if(r!==void 0){if(r(t)!==ot)return!0;if(r.definite===!0&&n===void 0)return!1}return lt(e,t,n)});function lt(e,t,n){let r=n?{...n,async:!1,abortEarly:!0}:{async:!1,abortEarly:!0},i=e._zod.bag.fallbackRun,a;if(i?(r[st]=!0,a=i({value:t,issues:[]},r)):a=e._zod.run({value:t,issues:[]},r),a instanceof Promise)throw new O;return a.issues.length===0}var ut=async(e,t,n)=>{let r=n?{...n,async:!0,abortEarly:!0}:{async:!0,abortEarly:!0},i=e._zod.run({value:t,issues:[]},r);return i instanceof Promise&&(i=await i),i.issues.length===0},dt=e=>{let t=tt(e),n=(e,r,i,a)=>{let o=i?{...i,direction:`backward`}:{direction:`backward`};return t(e,r,o,et(n,a))};return n},ft=e=>{let t=tt(e),n=(e,r,i,a)=>t(e,r,i,et(n,a));return n},pt=e=>{let t=nt(e),n=async(e,r,i,a)=>{let o=i?{...i,direction:`backward`}:{direction:`backward`};return await t(e,r,o,et(n,a))};return n},mt=e=>{let t=nt(e),n=async(e,r,i,a)=>await t(e,r,i,et(n,a));return n},ht=e=>(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return rt(e)(t,n,i)},gt=e=>(t,n,r)=>rt(e)(t,n,r),_t=e=>async(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return at(e)(t,n,i)},vt=e=>async(t,n,r)=>at(e)(t,n,r),yt=/^[cC][0-9a-z]{6,}$/,bt=/^[0-9a-z]+$/,xt=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,St=/^[0-9a-vA-V]{20}$/,Ct=/^[A-Za-z0-9]{27}$/,wt=/^[a-zA-Z0-9_-]{21}$/;function Tt(e){return RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}var Et=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,Dt=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Ot=e=>e?RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,kt=/^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,At=`^(?=[\\s\\S]*[\\p{Extended_Pictographic}\\p{Regional_Indicator}\\u20E3])[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$`;function jt(){return new RegExp(At,`u`)}var Mt=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Nt=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,Pt=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,Ft=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,It=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Lt=/^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$/,Rt=/^https?$/,zt=/^\+[1-9]\d{6,14}$/,Bt=`(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))`;function Vt(e){return RegExp(`^${e}$`)}var Ht=Vt(Bt);function Ut(e){let t=`(?:[01]\\d|2[0-3]):[0-5]\\d`;return typeof e.precision==`number`?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:e.seconds?`${t}:[0-5]\\d(?:\\.\\d+)?`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function Wt(e){return RegExp(`^${Ut(e)}$`)}function Gt(e){let t=[`Z`];e.offset&&t.push(`([+-](?:[01]\\d|2[0-3]):[0-5]\\d)`);let n=`${Ut({precision:e.precision,seconds:!0})}(?:${t.join(`|`)})`,r=e.local?`${n}|${Ut({precision:e.precision})}`:n;return RegExp(`^${Bt}T(?:${r})$`)}var Kt=/^[\s\S]{0,}$/,qt=/^-?\d+(?:\.\d+)?$/,Jt=/^(?:true|false)$/i,Yt=/^[^A-Z]*$/,Xt=/^[^a-z]*$/,j=D(`$ZodCheck`,(e,t)=>{var n;e._zod??={},e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),Zt=e=>{let t=e.value;return!s(t)&&t.length!==void 0},Qt={number:`number`,bigint:`bigint`,object:`date`},$t=D(`$ZodCheckLessThan`,(e,t)=>{j.init(e,t);let n=Qt[typeof t.value];e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:Qt[typeof r.value]??n,code:`too_big`,maximum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),en=D(`$ZodCheckGreaterThan`,(e,t)=>{j.init(e,t);let n=Qt[typeof t.value];e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:Qt[typeof r.value]??n,code:`too_small`,minimum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),tn=D(`$ZodCheckMultipleOf`,(e,t)=>{j.init(e,t),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw Error(`Cannot mix number and bigint in multiple_of check.`);(typeof n.value==`bigint`?t.value!==BigInt(0)&&n.value%t.value===BigInt(0):l(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:`not_multiple_of`,divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),nn=D(`$ZodCheckNumberFormat`,(e,t)=>{j.init(e,t),t.format=t.format||`float64`;let n=t.format?.includes(`int`),r=n?`int`:`number`,[i,a]=ue[t.format];e._zod.check=o=>{let s=o.value;if(n){if(!Number.isInteger(s)){o.issues.push({expected:r,format:t.format,code:`invalid_type`,continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?o.issues.push({input:s,code:`too_big`,maximum:2**53-1,note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort}):o.issues.push({input:s,code:`too_small`,minimum:-(2**53-1),note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort});return}}s<i&&o.issues.push({origin:`number`,input:s,code:`too_small`,minimum:i,inclusive:!0,inst:e,continue:!t.abort}),s>a&&o.issues.push({origin:`number`,input:s,code:`too_big`,maximum:a,inclusive:!0,inst:e,continue:!t.abort})}}),rn=D(`$ZodCheckMaxLength`,(e,t)=>{var n;j.init(e,t),(n=e._zod.def).when??(n.when=Zt),e._zod.check=n=>{let r=n.value,i=r.length;if((typeof r==`string`&&i>t.maximum?Ee(r):i)<=t.maximum)return;let a=De(r);n.issues.push({origin:a,code:`too_big`,maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),an=D(`$ZodCheckMinLength`,(e,t)=>{var n;j.init(e,t),(n=e._zod.def).when??(n.when=Zt),e._zod.check=n=>{let r=n.value,i=r.length;if((typeof r==`string`&&i>=t.minimum&&i<t.minimum*2?Ee(r):i)>=t.minimum)return;let a=De(r);n.issues.push({origin:a,code:`too_small`,minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),on=D(`$ZodCheckLengthEquals`,(e,t)=>{var n;j.init(e,t),(n=e._zod.def).when??(n.when=Zt),e._zod.check=n=>{let r=n.value,i=r.length,a=typeof r==`string`&&i>=t.length&&i<=t.length*2?Ee(r):i;if(a===t.length)return;let o=De(r),s=a>t.length;n.issues.push({origin:o,...s?{code:`too_big`,maximum:t.length}:{code:`too_small`,minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),sn=D(`$ZodCheckStringFormat`,(e,t)=>{var n,r;j.init(e,t),t.pattern?(n=e._zod).check??(n.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),cn=D(`$ZodCheckRegex`,(e,t)=>{sn.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:`regex`,input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),ln=D(`$ZodCheckLowerCase`,(e,t)=>{t.pattern??=Yt,sn.init(e,t)}),un=D(`$ZodCheckUpperCase`,(e,t)=>{t.pattern??=Xt,sn.init(e,t)}),dn=D(`$ZodCheckIncludes`,(e,t)=>{j.init(e,t);let n=v(t.includes);t.pattern=new RegExp(typeof t.position==`number`?`^.{${t.position},}${n}`:n),e._zod.check=n=>{n.value.includes(t.includes,t.position)||n.issues.push({origin:`string`,code:`invalid_format`,format:`includes`,includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),fn=D(`$ZodCheckStartsWith`,(e,t)=>{j.init(e,t);let n=RegExp(`^${v(t.prefix)}.*`);t.pattern??=n,e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`starts_with`,prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),pn=D(`$ZodCheckEndsWith`,(e,t)=>{j.init(e,t);let n=RegExp(`.*${v(t.suffix)}$`);t.pattern??=n,e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`ends_with`,suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}}),mn=D(`$ZodCheckOverwrite`,(e,t)=>{j.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}}),hn=class{constructor(e=[],t={}){this.content=[],this.indent=0,this.args=e,this.closed=t}indented(e){this.indent+=1;try{e(this)}finally{--this.indent}}write(e){if(typeof e==`function`){e(this,{execution:`sync`}),e(this,{execution:`async`});return}let t=e.split(`
1
+ import{g as e,h as t}from"./use-nav-exemptions-D8bA5W60.js";function n(e){let t=Object.values(e).filter(e=>typeof e==`number`);return Object.entries(e).filter(([e,n])=>t.indexOf(+e)===-1).map(([e,t])=>t)}function r(e,t=`|`){return e.map(e=>ce(e)).join(t)}function i(e,t){return typeof t==`bigint`?t.toString():t}var a=class{constructor(e){this._getter=e,this._value=void 0}get value(){let e=this._getter;return e!==void 0&&(this._value=e(),this._getter=void 0),this._value}};function o(e){return new a(e)}function s(e){return e==null}function c(e){let t=+!!e.startsWith(`^`),n=e.endsWith(`$`)?e.length-1:e.length;return e.slice(t,n)}function l(e,t){let n=e/t,r=Math.round(n),i=4*2**-52*Math.max(Math.abs(n),1);return Math.abs(n-r)<i?0:n-r}function u(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function d(e){let t=Object.getOwnPropertyDescriptor(e,`shape`);return t?.get?t.get.raw:t?.value}function f(e){return d(e._zod.def)??e._zod.def.shape}function p(e,t,n){Object.defineProperty(e,t,{get(){let e=n();return u(this,t,e),e},enumerable:!0,configurable:!0})}function m(e,t,n){t in e?u(e,t,n):e[t]=n}function h(e,t,n,r){let i=f(t);for(let a of n){let n=Object.getOwnPropertyDescriptor(i,a);n.enumerable&&(n.get?p(e,a,()=>{let e=t._zod.def.shape[a];return r?r(e,a):e}):m(e,a,r?r(n.value,a):n.value))}}function ee(e,t){for(let n of Reflect.ownKeys(t)){let r=Object.getOwnPropertyDescriptor(t,n);r.enumerable&&(r.get?p(e,n,()=>t[n]):m(e,n,r.value))}}function g(...e){let t={};for(let n of e){let e=Object.getOwnPropertyDescriptors(n);Object.assign(t,e)}return Object.defineProperties({},t)}function te(e){return JSON.stringify(e)}function ne(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,``).replace(/[\s_-]+/g,`-`).replace(/^-+|-+$/g,``)}var re=`captureStackTrace`in Error?Error.captureStackTrace:(...e)=>{};function ie(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}var ae=o(()=>{if(k.jitless||typeof navigator<`u`&&navigator?.userAgent?.includes(`Cloudflare`))return!1;try{return Function(``),!0}catch{return!1}});function _(e){if(ie(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!=`function`)return!0;let n=t.prototype;return ie(n)!==!1&&Object.prototype.hasOwnProperty.call(n,`isPrototypeOf`)!==!1}function oe(e){return _(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}var se=new Set([`string`,`number`,`symbol`]);function v(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function y(e,t,n){let r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function b(e){let t=e;if(!t)return{};if(typeof t==`string`)return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error==`string`?{...t,error:()=>t.error}:t}function ce(e){return typeof e==`bigint`?e.toString()+`n`:typeof e==`string`?`"${e}"`:`${e}`}function le(e){return Object.keys(e).filter(t=>e[t]._zod.optin!==void 0&&e[t]._zod.optout===`optional`)}var ue={safeint:[-(2**53-1),2**53-1],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},de={int64:[BigInt(`-9223372036854775808`),BigInt(`9223372036854775807`)],uint64:[BigInt(0),BigInt(`18446744073709551615`)]};function fe(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.pick() cannot be used on object schemas containing refinements`);let i={};return h(i,e,pe(e,t)),y(e,g(n,{shape:i,checks:[]}))}function pe(e,t){let n=f(e),r=[];for(let e of Reflect.ownKeys(t)){if(!Object.getOwnPropertyDescriptor(n,e)?.enumerable)throw Error(`Unrecognized key: "${String(e)}"`);t[e]&&r.push(e)}return r}function me(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.omit() cannot be used on object schemas containing refinements`);let i=new Set(pe(e,t)),a={};return h(a,e,Reflect.ownKeys(f(e)).filter(e=>!i.has(e))),y(e,g(n,{shape:a,checks:[]}))}function he(e,t){if(!_(t))throw Error(`Invalid input to extend: expected a plain object`);let n=e._zod.def.checks;if(n&&n.length>0){let n=f(e);for(let e of Reflect.ownKeys(t))if(Object.getOwnPropertyDescriptor(n,e)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return y(e,g(e._zod.def,{shape:ge(e,t)}))}function ge(e,t){let n={};return h(n,e,Reflect.ownKeys(f(e))),ee(n,t),n}function _e(e,t){if(!_(t))throw Error(`Invalid input to safeExtend: expected a plain object`);return y(e,g(e._zod.def,{shape:ge(e,t)}))}function ve(e,t){if(!t?._zod?.def)throw Error("Invalid input to merge: expected an object schema. To merge a plain shape, use `.extend()`.");if(e._zod.def.checks?.length)throw Error(`.merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.`);let n={};return h(n,e,Reflect.ownKeys(f(e))),h(n,t,Reflect.ownKeys(f(t))),y(e,g(e._zod.def,{shape:n,get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]}))}function ye(e,t,n,r=`partial`){let i=t._zod.def.checks;if(i&&i.length>0)throw Error(`.${r}() cannot be used on object schemas containing refinements`);let a=n?new Set(pe(t,n)):void 0,o={};return h(o,t,Reflect.ownKeys(f(t)),e&&((t,n)=>a&&!a.has(n)?t:new e({type:`optional`,innerType:t}))),y(t,g(t._zod.def,{shape:o,checks:[]}))}function be(e,t,n){let r=n?new Set(pe(t,n)):void 0,i={};return h(i,t,Reflect.ownKeys(f(t)),(t,n)=>r&&!r.has(n)?t:new e({type:`nonoptional`,innerType:t})),y(t,g(t._zod.def,{shape:i}))}function x(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function xe(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue===!1)return!0;return!1}function Se(e,t){return t.map(t=>{var n;return(n=t).path??(n.path=[]),t.path.unshift(e),t})}function S(e){return typeof e==`string`?e:e?.message}function Ce(e){let t=[];for(let n of e??[]){let e=n._zod.def;if(!/_(length|size)$|_equals$/.test(e.check))break;let r=e.maximum??e.length??e.size;r>=0&&t.push([r,n])}return t}function we(e,t,n){var r;for(let i=t;i<e.length;i++)(r=e[i]).schema??(r.schema=n)}function C(e,t,n){var r;let i=e.inst?._zod?.traits;i?.has(`$ZodType`)&&(i.has(`$ZodCheck`)?(r=e).schema??(r.schema=e.inst):e.schema=e.inst);let a=e.schema===e.inst?void 0:e.schema?._zod.def?.error,o=e.message?e.message:S(e.inst?._zod.def?.error?.(e))??S(a?.(e))??S(t?.error?.(e))??S(n.customError?.(e))??S(n.localeError?.(e))??`Invalid input`,s={};for(let t of Object.keys(e))t!==`inst`&&t!==`schema`&&t!==`continue`&&t!==`input`&&t!==`__proto__`&&(s[t]=e[t]);return s.path??=[],s.message=o,t?.reportInput&&(s.input=e.input),s}var Te=/[\uD800-\uDBFF]/;function Ee(e){let t=e.length;if(!Te.test(e))return t;let n=t;for(let r=0;r<t-1;r++)(e.charCodeAt(r)&64512)==55296&&(e.charCodeAt(r+1)&64512)==56320&&(n--,r++);return n}function De(e){return Array.isArray(e)?`array`:typeof e==`string`?`string`:`unknown`}function Oe(e){let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`nan`:`number`;case`object`:{if(e===null)return`null`;if(Array.isArray(e))return`array`;let t=e;if(t&&Object.getPrototypeOf(t)!==Object.prototype&&`constructor`in t&&t.constructor)return t.constructor.name}}return t}function ke(...e){let[t,n,r]=e;return typeof t==`string`?{message:t,code:`custom`,input:n,inst:r}:{...t}}function Ae(e,t){for(let n in t){let r=Object.getOwnPropertyDescriptor(t,n);r.get?Object.defineProperty(e,n,{...r,enumerable:!1}):Ne(e,n,r.value)}}function w(e,t,n,r=!0){return Object.defineProperty(e,t,{configurable:!0,writable:!0,enumerable:r,value:n}),n}function je(e,t,n){return w(e,t,n,!1)}function Me(e,t){for(let n in e){let r=e[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!0,get(){return w(this,n,r(this))},set(e){w(this,n,e)}})}return t}function Ne(e,t,n){Object.defineProperty(e,t,{configurable:!0,get(){return this==null?n:w(this,t,n.bind(this))},set(e){w(this,t,e)}})}function Pe(e,t){let n=Object.getPrototypeOf(e);return t in n?void 0:n}var Fe,T=!1,Ie={configurable:!0,get(){T=!0}};function E(e,t,n){let r=Object.getPrototypeOf(e._zod);t in r&&Fe!==e._zod?Fe=void 0:(Fe=e._zod,Object.defineProperty(r,t,{configurable:!0,get(){Object.defineProperty(this,t,Ie);let e=T;T=!1;try{let r=n(this);return T?delete this[t]:Object.defineProperty(this,t,{configurable:!0,writable:!0,value:r}),T||=e,r}catch(n){throw delete this[t],T||=e,n}},set(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}}))}function Le(e,t,n,r){let i=Pe(e,t);i&&Object.defineProperty(i,t,{configurable:!0,get(){let e={configurable:!0,writable:!0,enumerable:r,value:void 0};return Object.defineProperty(this,t,e),e.value=n(this),Object.defineProperty(this,t,e),e.value},set(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,enumerable:r,value:e})}})}var Re=`~constantCatch`;function ze(e){let t=()=>e;return t[Re]=!0,t}var Be,Ve={value:void 0,enumerable:!1},He=`captureStackTrace`in Error?Error:null;function Ue(e){let t=He;if(t){let n=t.stackTraceLimit;if(typeof n==`number`){try{t.stackTraceLimit=0}catch{return He=null,new e}try{return new e}finally{t.stackTraceLimit=n}}}return new e}function D(e,t,n,r){let i={};function a(e){this.def=e,this.constr=d,this.traits=new Set}a.prototype=i;let o=n,s=o&&new WeakSet;function c(n,r){if(!n._zod){Ve.value=new a(r);try{Object.defineProperty(n,"_zod",Ve)}finally{Ve.value=void 0}}else if(n._zod.traits.has(e))return;if(n._zod.traits.add(e),t(n,r),s){let e=Object.getPrototypeOf(n),t=n._zod.constr.prototype,r=e;for(;r&&r!==t;)r=Object.getPrototypeOf(r);let i=r??e;s.has(i)||(s.add(i),Ae(i,o))}let i=d.prototype;for(let e in i)Object.prototype.hasOwnProperty.call(i,e)&&(e in n||(n[e]=i[e].bind(n)))}let l=r?.Parent??Object;class u extends l{}Object.defineProperty(u,"name",{value:e});function d(e){let t=r?.Parent?Ue(u):this;c(t,e);let n=t._zod.deferred;if(n){for(let e of n)e();t._zod.deferred=void 0}let i=globalThis.__zod_globalConfig?.postProcessor;return i&&i(t),t}return Object.defineProperty(d,"init",{value:c}),Object.defineProperty(d,Symbol.hasInstance,{value:t=>r?.Parent&&t instanceof r.Parent?!0:t?._zod?.traits?.has(e)}),Object.defineProperty(d,"name",{value:e}),d}var O=class extends Error{constructor(){super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`)}},We=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name=`ZodEncodeError`}};(Be=globalThis).__zod_globalConfig??(Be.__zod_globalConfig={});var k=globalThis.__zod_globalConfig;function A(e){return e&&Object.assign(k,e),k}function Ge(){let e=this._zod;return e.message??=JSON.stringify(e.def,i,2),e.message}function Ke(e){this._zod.message=e}var qe={get:Ge,set:Ke,enumerable:!0,configurable:!0},Je={value:void 0,enumerable:!1},Ye=new WeakSet([Object.prototype,Error.prototype]),Xe=D(`$ZodError`,(e,t)=>{e.name=`$ZodError`,Je.value=t,Object.defineProperty(e,"issues",Je),Je.value=void 0,Object.defineProperty(e,"message",qe);let n=Object.getPrototypeOf(e);Ye.has(n)||(Ye.add(n),Object.defineProperty(n,"toString",{configurable:!0,enumerable:!1,get(){let e=()=>this.message;return Object.defineProperty(this,"toString",{value:e,configurable:!0,writable:!0}),e},set(e){Object.defineProperty(this,"toString",{value:e,configurable:!0,writable:!0})}}))});function Ze(e,t,n){return Object.prototype.hasOwnProperty.call(e,t)||(t===`__proto__`?Object.defineProperty(e,t,{value:n(),writable:!0,enumerable:!0,configurable:!0}):e[t]=n()),e[t]}function Qe(e,t=e=>e.message){let n={},r=[];for(let i of e.issues)i.path.length>0?Ze(n,i.path[0],()=>[]).push(t(i)):r.push(t(i));return{formErrors:r,fieldErrors:n}}function $e(e,t=e=>e.message){let n={_errors:[]},r=(e,i=[])=>{for(let a of e.issues)if(a.code===`invalid_union`&&a.errors.length)a.errors.map(e=>r({issues:e},[...i,...a.path]));else if(a.code===`invalid_key`)r({issues:a.issues},[...i,...a.path]);else if(a.code===`invalid_element`)r({issues:a.issues},[...i,...a.path]);else{let e=[...i,...a.path];if(e.length===0)n._errors.push(t(a));else{let r=n,i=0;for(;i<e.length;){let n=e[i],o=i===e.length-1;if(n===`_errors`){o&&r._errors.push(t(a)),i++;continue}Object.prototype.hasOwnProperty.call(r,n)||Object.defineProperty(r,n,{value:{_errors:[]},enumerable:!0,writable:!0,configurable:!0});let s=r[n];o&&s._errors.push(t(a)),r=s,i++}}}};return r(e),n}function et(e,t){return{callee:t?.callee??e,Err:t?.Err}}var tt=e=>{let t=(n,r,i,a)=>{let o=i?{...i,async:!1}:{async:!1},s=n._zod.run({value:r,issues:[]},o);if(s instanceof Promise)throw new O;if(s.issues.length){let n=new((a?.Err)??e)(s.issues.map(e=>C(e,o,A())));throw re(n,a?.callee??t),n}return s.value};return t},nt=e=>{let t=async(n,r,i,a)=>{let o=i?{...i,async:!0}:{async:!0},s=n._zod.run({value:r,issues:[]},o);if(s instanceof Promise&&(s=await s),s.issues.length){let n=new((a?.Err)??e)(s.issues.map(e=>C(e,o,A())));throw re(n,a?.callee??t),n}return s.value};return t},rt=e=>(t,n,r)=>{let i=r?{...r,async:!1}:{async:!1},a=t._zod.run({value:n,issues:[]},i);if(a instanceof Promise)throw new O;return a.issues.length?it(e,a.issues,i):{success:!0,data:a.value}};function it(e,t,n){let r;return{success:!1,get error(){return r||(r=new e(t.map(e=>C(e,n,A()))),t=void 0,n=void 0),r},set error(e){r=e,t=void 0,n=void 0}}}var at=e=>async(t,n,r)=>{let i=r?{...r,async:!0}:{async:!0},a=t._zod.run({value:n,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length?it(e,a.issues,i):{success:!0,data:a.value}},ot=Symbol.for(`zod.compile.invalid`),st=Symbol.for(`zod.compile.fallback`),ct=((e,t,n)=>{let r=e._zod.bag.validator;if(r!==void 0){if(r(t)!==ot)return!0;if(r.definite===!0&&n===void 0)return!1}return lt(e,t,n)});function lt(e,t,n){let r=n?{...n,async:!1,abortEarly:!0}:{async:!1,abortEarly:!0},i=e._zod.bag.fallbackRun,a;if(i?(r[st]=!0,a=i({value:t,issues:[]},r)):a=e._zod.run({value:t,issues:[]},r),a instanceof Promise)throw new O;return a.issues.length===0}var ut=async(e,t,n)=>{let r=n?{...n,async:!0,abortEarly:!0}:{async:!0,abortEarly:!0},i=e._zod.run({value:t,issues:[]},r);return i instanceof Promise&&(i=await i),i.issues.length===0},dt=e=>{let t=tt(e),n=(e,r,i,a)=>{let o=i?{...i,direction:`backward`}:{direction:`backward`};return t(e,r,o,et(n,a))};return n},ft=e=>{let t=tt(e),n=(e,r,i,a)=>t(e,r,i,et(n,a));return n},pt=e=>{let t=nt(e),n=async(e,r,i,a)=>{let o=i?{...i,direction:`backward`}:{direction:`backward`};return await t(e,r,o,et(n,a))};return n},mt=e=>{let t=nt(e),n=async(e,r,i,a)=>await t(e,r,i,et(n,a));return n},ht=e=>(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return rt(e)(t,n,i)},gt=e=>(t,n,r)=>rt(e)(t,n,r),_t=e=>async(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return at(e)(t,n,i)},vt=e=>async(t,n,r)=>at(e)(t,n,r),yt=/^[cC][0-9a-z]{6,}$/,bt=/^[0-9a-z]+$/,xt=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,St=/^[0-9a-vA-V]{20}$/,Ct=/^[A-Za-z0-9]{27}$/,wt=/^[a-zA-Z0-9_-]{21}$/;function Tt(e){return RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}var Et=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,Dt=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Ot=e=>e?RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,kt=/^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,At=`^(?=[\\s\\S]*[\\p{Extended_Pictographic}\\p{Regional_Indicator}\\u20E3])[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$`;function jt(){return new RegExp(At,`u`)}var Mt=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Nt=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,Pt=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,Ft=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,It=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Lt=/^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$/,Rt=/^https?$/,zt=/^\+[1-9]\d{6,14}$/,Bt=`(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))`;function Vt(e){return RegExp(`^${e}$`)}var Ht=Vt(Bt);function Ut(e){let t=`(?:[01]\\d|2[0-3]):[0-5]\\d`;return typeof e.precision==`number`?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:e.seconds?`${t}:[0-5]\\d(?:\\.\\d+)?`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function Wt(e){return RegExp(`^${Ut(e)}$`)}function Gt(e){let t=[`Z`];e.offset&&t.push(`([+-](?:[01]\\d|2[0-3]):[0-5]\\d)`);let n=`${Ut({precision:e.precision,seconds:!0})}(?:${t.join(`|`)})`,r=e.local?`${n}|${Ut({precision:e.precision})}`:n;return RegExp(`^${Bt}T(?:${r})$`)}var Kt=/^[\s\S]{0,}$/,qt=/^-?\d+(?:\.\d+)?$/,Jt=/^(?:true|false)$/i,Yt=/^[^A-Z]*$/,Xt=/^[^a-z]*$/,j=D(`$ZodCheck`,(e,t)=>{var n;e._zod??={},e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),Zt=e=>{let t=e.value;return!s(t)&&t.length!==void 0},Qt={number:`number`,bigint:`bigint`,object:`date`},$t=D(`$ZodCheckLessThan`,(e,t)=>{j.init(e,t);let n=Qt[typeof t.value];e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:Qt[typeof r.value]??n,code:`too_big`,maximum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),en=D(`$ZodCheckGreaterThan`,(e,t)=>{j.init(e,t);let n=Qt[typeof t.value];e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:Qt[typeof r.value]??n,code:`too_small`,minimum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),tn=D(`$ZodCheckMultipleOf`,(e,t)=>{j.init(e,t),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw Error(`Cannot mix number and bigint in multiple_of check.`);(typeof n.value==`bigint`?t.value!==BigInt(0)&&n.value%t.value===BigInt(0):l(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:`not_multiple_of`,divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),nn=D(`$ZodCheckNumberFormat`,(e,t)=>{j.init(e,t),t.format=t.format||`float64`;let n=t.format?.includes(`int`),r=n?`int`:`number`,[i,a]=ue[t.format];e._zod.check=o=>{let s=o.value;if(n){if(!Number.isInteger(s)){o.issues.push({expected:r,format:t.format,code:`invalid_type`,continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?o.issues.push({input:s,code:`too_big`,maximum:2**53-1,note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort}):o.issues.push({input:s,code:`too_small`,minimum:-(2**53-1),note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort});return}}s<i&&o.issues.push({origin:`number`,input:s,code:`too_small`,minimum:i,inclusive:!0,inst:e,continue:!t.abort}),s>a&&o.issues.push({origin:`number`,input:s,code:`too_big`,maximum:a,inclusive:!0,inst:e,continue:!t.abort})}}),rn=D(`$ZodCheckMaxLength`,(e,t)=>{var n;j.init(e,t),(n=e._zod.def).when??(n.when=Zt),e._zod.check=n=>{let r=n.value,i=r.length;if((typeof r==`string`&&i>t.maximum?Ee(r):i)<=t.maximum)return;let a=De(r);n.issues.push({origin:a,code:`too_big`,maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),an=D(`$ZodCheckMinLength`,(e,t)=>{var n;j.init(e,t),(n=e._zod.def).when??(n.when=Zt),e._zod.check=n=>{let r=n.value,i=r.length;if((typeof r==`string`&&i>=t.minimum&&i<t.minimum*2?Ee(r):i)>=t.minimum)return;let a=De(r);n.issues.push({origin:a,code:`too_small`,minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),on=D(`$ZodCheckLengthEquals`,(e,t)=>{var n;j.init(e,t),(n=e._zod.def).when??(n.when=Zt),e._zod.check=n=>{let r=n.value,i=r.length,a=typeof r==`string`&&i>=t.length&&i<=t.length*2?Ee(r):i;if(a===t.length)return;let o=De(r),s=a>t.length;n.issues.push({origin:o,...s?{code:`too_big`,maximum:t.length}:{code:`too_small`,minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),sn=D(`$ZodCheckStringFormat`,(e,t)=>{var n,r;j.init(e,t),t.pattern?(n=e._zod).check??(n.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),cn=D(`$ZodCheckRegex`,(e,t)=>{sn.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:`regex`,input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),ln=D(`$ZodCheckLowerCase`,(e,t)=>{t.pattern??=Yt,sn.init(e,t)}),un=D(`$ZodCheckUpperCase`,(e,t)=>{t.pattern??=Xt,sn.init(e,t)}),dn=D(`$ZodCheckIncludes`,(e,t)=>{j.init(e,t);let n=v(t.includes);t.pattern=new RegExp(typeof t.position==`number`?`^.{${t.position},}${n}`:n),e._zod.check=n=>{n.value.includes(t.includes,t.position)||n.issues.push({origin:`string`,code:`invalid_format`,format:`includes`,includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),fn=D(`$ZodCheckStartsWith`,(e,t)=>{j.init(e,t);let n=RegExp(`^${v(t.prefix)}.*`);t.pattern??=n,e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`starts_with`,prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),pn=D(`$ZodCheckEndsWith`,(e,t)=>{j.init(e,t);let n=RegExp(`.*${v(t.suffix)}$`);t.pattern??=n,e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`ends_with`,suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}}),mn=D(`$ZodCheckOverwrite`,(e,t)=>{j.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}}),hn=class{constructor(e=[],t={}){this.content=[],this.indent=0,this.args=e,this.closed=t}indented(e){this.indent+=1;try{e(this)}finally{--this.indent}}write(e){if(typeof e==`function`){e(this,{execution:`sync`}),e(this,{execution:`async`});return}let t=e.split(`
2
2
  `).filter(e=>e),n=Math.min(...t.map(e=>e.length-e.trimStart().length)),r=t.map(e=>e.slice(n)).map(e=>` `.repeat(this.indent*2)+e);for(let e of r)this.content.push(e)}compile(){let e=Function,t=this?.content??[``];return new e(...Object.keys(this.closed),`return function (${this.args.join(`, `)}) {\n${t.join(`
3
3
  `)}\n};`)(...Object.values(this.closed))}},gn={major:4,minor:6,patch:7},M=D(`$ZodType`,(e,t)=>{var n;e??={},e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=gn;let r=e._zod.def.checks,i=e._zod.traits.has(`$ZodCheck`)?[e,...r??[]]:r?.length?[...r]:[];for(let t of i)for(let n of t._zod.onattach)n(e);if(i.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=(t,n,r)=>{if(t.memo)return t;let i=x(t),a;for(let o of n){if(o._zod.def.when){if(xe(t)||!o._zod.def.when(t))continue}else if(i)continue;let n=t.issues.length,s=o._zod.check(t);if(s instanceof Promise&&r?.async===!1)throw new O;if(a||s instanceof Promise)a=(a??Promise.resolve()).then(async()=>{await s,t.issues.length!==n&&(we(t.issues,n,e),i||=x(t,n))});else{if(t.issues.length===n)continue;we(t.issues,n,e),i||=x(t,n)}}return a?a.then(()=>t):t},n=(n,r,a)=>{if(x(n))return n.aborted=!0,n;let o=t(r,i,a);if(o instanceof Promise){if(a.async===!1)throw new O;return o.then(t=>e._zod.parse(t,a))}return e._zod.parse(o,a)};e._zod.run=(r,a)=>{if(a.skipChecks)return e._zod.parse(r,a);if(a.direction===`backward`){let t=e._zod.parse({value:r.value,issues:[]},{...a,skipChecks:!0});return t instanceof Promise?t.then(e=>n(e,r,a)):n(t,r,a)}let o=e._zod.parse(r,a);if(o instanceof Promise){if(a.async===!1)throw new O;return o.then(e=>t(e,i,a))}return t(o,i,a)}}},{get"~standard"(){return je(this,`~standard`,yn(this))},set"~standard"(e){w(this,`~standard`,e)}}),_n=(e,t)=>e.issues.length?{issues:e.issues.map(e=>C(e,t,A()))}:{value:e.value};async function vn(e,t){let n={async:!0};return _n(await e._zod.run({value:t,issues:[]},n),n)}function yn(e){return{validate:t=>{let n={async:!1};try{let r=e._zod.run({value:t,issues:[]},n);if(!(r instanceof Promise))return _n(r,n)}catch{}return vn(e,t)},vendor:`zod`,version:1}}var bn=D(`$ZodString`,(e,t)=>{M.init(e,t),e._zod.pattern=t.pattern??Kt,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value==`string`||n.issues.push({expected:`string`,code:`invalid_type`,input:n.value,inst:e}),n}}),N=D(`$ZodStringFormat`,(e,t)=>{sn.init(e,t),bn.init(e,t)}),xn=D(`$ZodGUID`,(e,t)=>{t.pattern??=Dt,N.init(e,t)}),Sn=D(`$ZodUUID`,(e,t)=>{if(t.version){let e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(e===void 0)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??=Ot(e)}else t.pattern??=Ot();N.init(e,t)}),Cn=D(`$ZodEmail`,(e,t)=>{t.pattern??=kt,N.init(e,t)});function wn(e){try{return typeof URL<`u`&&typeof URL.canParse==`function`?URL.canParse(e):(new URL(e),!0)}catch{return!1}}function Tn(e,t){return!(`normalize`in t)&&!(`hostname`in t)&&!(`protocol`in t)?wn(e)||2:En(e,t)}function En(e,t){if(!t.normalize&&t.protocol?.source===Rt.source&&!/^https?:\/\//i.test(e))return 1;try{if(typeof URL<`u`){let t=URL;if(typeof t.parse==`function`)return t.parse(e)??2}return new URL(e)}catch{return 2}}var Dn=/[\t\n\r]/g;function On(e){return e.replace(Dn,``)}function kn(e,t){return t.lastIndex=0,t.test(e.hostname)}function An(e,t){return t.lastIndex=0,t.test(e.protocol.endsWith(`:`)?e.protocol.slice(0,-1):e.protocol)}var jn=D(`$ZodURL`,(e,t)=>{N.init(e,t),e._zod.check=n=>{try{let r=n.value.trim(),i=Tn(r,t);if(i===1){n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid URL format`,input:n.value,inst:e,continue:!t.abort});return}if(i===2){n.issues.push({code:`invalid_format`,format:`url`,input:n.value,inst:e,continue:!t.abort});return}if(i===!0){n.value=On(r);return}t.hostname&&!kn(i,t.hostname)&&n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid hostname`,pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort}),t.protocol&&!An(i,t.protocol)&&n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid protocol`,pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort}),n.value=t.normalize?i.href:On(r);return}catch{n.issues.push({code:`invalid_format`,format:`url`,input:n.value,inst:e,continue:!t.abort})}}}),Mn=D(`$ZodEmoji`,(e,t)=>{t.pattern??=jt(),N.init(e,t)}),Nn=D(`$ZodNanoID`,(e,t)=>{if(t.length!==void 0&&(!Number.isInteger(t.length)||t.length<1))throw Error(`Invalid nanoid length: ${t.length}`);t.pattern??=t.length===void 0?wt:Tt(t.length),N.init(e,t)}),Pn=D(`$ZodCUID`,(e,t)=>{t.pattern??=yt,N.init(e,t)}),Fn=D(`$ZodCUID2`,(e,t)=>{t.pattern??=bt,N.init(e,t)}),In=D(`$ZodULID`,(e,t)=>{t.pattern??=xt,N.init(e,t)}),Ln=D(`$ZodXID`,(e,t)=>{t.pattern??=St,N.init(e,t)}),Rn=D(`$ZodKSUID`,(e,t)=>{t.pattern??=Ct,N.init(e,t)}),zn=D(`$ZodISODateTime`,(e,t)=>{t.pattern??=Gt(t),N.init(e,t)}),Bn=D(`$ZodISODate`,(e,t)=>{t.pattern??=Ht,N.init(e,t)}),Vn=D(`$ZodISOTime`,(e,t)=>{t.pattern??=Wt(t),N.init(e,t)}),Hn=D(`$ZodISODuration`,(e,t)=>{t.pattern??=Et,N.init(e,t)}),Un=D(`$ZodIPv4`,(e,t)=>{t.pattern??=Mt,N.init(e,t)}),Wn=/^[0-9a-fA-F:.]+$/;function Gn(e){return Wn.test(e)?wn(`http://[${e}]`):!1}var Kn=D(`$ZodIPv6`,(e,t)=>{t.pattern??=Nt,N.init(e,t),e._zod.check=n=>{Gn(n.value)||n.issues.push({code:`invalid_format`,format:`ipv6`,input:n.value,inst:e,continue:!t.abort})}}),qn=D(`$ZodCIDRv4`,(e,t)=>{t.pattern??=Pt,N.init(e,t)});function Jn(e){let t=e.split(`/`);if(t.length!==2)return!1;let[n,r]=t;if(!r)return!1;let i=Number(r);return`${i}`!==r||i<0||i>128?!1:Gn(n)}var Yn=D(`$ZodCIDRv6`,(e,t)=>{t.pattern??=Ft,N.init(e,t),e._zod.check=n=>{Jn(n.value)||n.issues.push({code:`invalid_format`,format:`cidrv6`,input:n.value,inst:e,continue:!t.abort})}});function Xn(e){if(e===``)return!0;if(/\s/.test(e)||e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}var Zn=/^[0-9a-zA-Z+/]*={0,2}$/,Qn=D(`$ZodBase64`,(e,t)=>{t.pattern??=Zn,N.init(e,t),e._zod.check=n=>{Xn(n.value)||n.issues.push({code:`invalid_format`,format:`base64`,input:n.value,inst:e,continue:!t.abort})}}),$n=/^[A-Za-z0-9_-]*$/;function er(e){if(!$n.test(e))return!1;let t=e.replace(/[-_]/g,e=>e===`-`?`+`:`/`);return Xn(t.padEnd(Math.ceil(t.length/4)*4,`=`))}var tr=D(`$ZodBase64URL`,(e,t)=>{t.pattern??=$n,N.init(e,t),e._zod.check=n=>{er(n.value)||n.issues.push({code:`invalid_format`,format:`base64url`,input:n.value,inst:e,continue:!t.abort})}}),nr=D(`$ZodE164`,(e,t)=>{t.pattern??=zt,N.init(e,t)});function rr(e,t=null){try{let n=e.split(`.`);if(n.length!==3)return!1;let[r]=n;if(!r)return!1;let i=JSON.parse(atob(r));return!(`typ`in i&&i?.typ!==`JWT`||!i.alg||t&&(!(`alg`in i)||i.alg!==t))}catch{return!1}}var ir=D(`$ZodJWT`,(e,t)=>{N.init(e,t),e._zod.check=n=>{rr(n.value,t.alg)||n.issues.push({code:`invalid_format`,format:`jwt`,input:n.value,inst:e,continue:!t.abort})}}),ar=D(`$ZodNumber`,(e,t)=>{M.init(e,t),e._zod.pattern=qt,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}let i=n.value;if(typeof i==`number`&&!Number.isNaN(i)&&Number.isFinite(i))return n;let a=typeof i==`number`?Number.isNaN(i)?`NaN`:Number.isFinite(i)?void 0:String(i):void 0;return n.issues.push({expected:`number`,code:`invalid_type`,input:i,inst:e,...a?{received:a}:{}}),n}}),or=D(`$ZodNumberFormat`,(e,t)=>{nn.init(e,t),ar.init(e,t)}),sr=D(`$ZodBoolean`,(e,t)=>{M.init(e,t),e._zod.pattern=Jt,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch{}let i=n.value;return typeof i==`boolean`||n.issues.push({expected:`boolean`,code:`invalid_type`,input:i,inst:e}),n}}),cr=D(`$ZodUnknown`,(e,t)=>{M.init(e,t),e._zod.parse=e=>e}),lr=D(`$ZodNever`,(e,t)=>{M.init(e,t),e._zod.parse=(t,n)=>(t.issues.push({expected:`never`,code:`invalid_type`,input:t.value,inst:e}),t)});function ur(e,t){let n=Ce(e._zod.def.checks);if(!n.length)return;let r=Math.min(...n.map(e=>e[0])),i=e._zod.parse;e._zod.parse=(n,a)=>{let o=t(n.value);if(o>r&&!a?.skipChecks&&a?.direction!==`backward`){for(let[t,r]of Ce(e._zod.def.checks))if(o>t&&r._zod.def.when(n)){let t=n.issues.length;return r._zod.check(n),n.issues[t].continue=!1,we(n.issues,t,e),n}}return i(n,a)}}var dr=e=>Array.isArray(e)?e.length:-1;function fr(e,t,n){e.issues.length&&t.issues.push(...Se(n,e.issues)),t.value[n]=e.value}var pr=D(`$ZodArray`,(e,t)=>{M.init(e,t);let n=k.memoizer;n?.attach(e),e._zod.parse=(r,i)=>{let a=r.value;if(!Array.isArray(a))return r.issues.push({expected:`array`,code:`invalid_type`,input:a,inst:e}),r;r.value=n?n.alloc(e,r,Array(a.length),i):Array(a.length);let o=[],s=i?.abortEarly;for(let e=0;e<a.length;e++){let n=a[e],c=t.element._zod.run({value:n,issues:[]},i);if(c instanceof Promise)o.push(c.then(t=>fr(t,r,e)));else if(fr(c,r,e),s&&c.issues.length!==0&&x(c))break}return o.length?Promise.all(o).then(()=>r):r},ur(e,dr)});function mr(e,t,n,r,i,a){let o=n in r,s=a===`optional`;if(o||!s||i!==`optional`){if(e.issues.length){if(i!==void 0&&s&&!o)return;t.issues.push(...Se(n,e.issues))}!o&&i===void 0?e.issues.length||t.issues.push({code:`invalid_type`,expected:`nonoptional`,input:void 0,path:[n]}):e.value===void 0?(o||i===`defaulted`&&!s)&&(t.value[n]=void 0):t.value[n]=e.value}}var hr=[];function gr(e){let t=Object.keys(e.shape),n=Object.getOwnPropertySymbols(e.shape),r=n.length?n:hr,i=r.length?[...t,...r]:t;for(let t of i)if(!e.shape?.[t]?._zod?.traits?.has(`$ZodType`))throw Error(`Invalid element at key "${String(t)}": expected a Zod schema`);let a=le(e.shape);return{...e,allKeys:i,symbolKeys:r,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(a)}}function _r(e,t,n,r,i,a,o){let s=[],c=i.keySet,l=i.catchall._zod,u=l.def.type,d=l.optin,f=l.optout,p=0;for(let i in t){if(o&&n.issues.length!==p){if(x(n,p))break;p=n.issues.length}if(c.has(i))continue;if(i===`__proto__`){u===`never`&&s.push(i);continue}if(u===`never`){s.push(i);continue}let a=l.run({value:t[i],issues:[]},r);a instanceof Promise?e.push(a.then(e=>mr(e,n,i,t,d,f))):mr(a,n,i,t,d,f)}return s.length&&n.issues.push({code:`unrecognized_keys`,keys:s,input:t,inst:a,continue:!0}),e.length?Promise.all(e).then(()=>n):n}var vr=D(`$ZodObject`,(e,t)=>{M.init(e,t);let n=Object.getOwnPropertyDescriptor(t,`shape`),r=n?.get?n.get.raw:t.shape??{};if(r){let e=()=>{let n={...r};return Object.defineProperty(t,"shape",{value:n}),e.raw=n,n};e.raw=r,Object.defineProperty(t,"shape",{get:e})}let i=o(()=>gr(t));E(e,`propValues`,e=>{let t=e.def.shape,n={};for(let e in t){let r=t[e]._zod;if(r.values){Object.prototype.hasOwnProperty.call(n,e)||u(n,e,new Set);for(let t of r.values)n[e].add(t);r.optin!==void 0&&n[e].add(void 0)}}return n});let a=ie,s=t.catchall,c,l=k.memoizer;l?.attach(e),e._zod.parse=(t,n)=>{c??=i.value;let r=t.value;if(!a(r))return t.issues.push({expected:`object`,code:`invalid_type`,input:r,inst:e}),t;t.value=l?l.alloc(e,t,{},n):{};let o=[],u=c.shape,d=n?.abortEarly,f=t.issues.length;for(let e of c.allKeys){if(d&&t.issues.length!==f){if(x(t,f))break;f=t.issues.length}if(e===`__proto__`)continue;let i=u[e],a=i._zod.optin,s=i._zod.optout,c=i._zod.run({value:r[e],issues:[]},n);c instanceof Promise?o.push(c.then(n=>mr(n,t,e,r,a,s))):mr(c,t,e,r,a,s)}return s?_r(o,r,t,n,i.value,e,d===!0):o.length?Promise.all(o).then(()=>t):t}}),yr=D(`$ZodObjectJIT`,(e,t)=>{vr.init(e,t);let n=e._zod.parse,r=o(()=>gr(t)),i=k.memoizer,a=t=>{let n=r.value,a=n.symbolKeys,o=new hn([`payload`,`ctx`],{shape:t,inst:e,memo:i,syms:a}),s=e=>`shape[${e}]._zod.run({ value: input[${e}], issues: [] }, ctx)`,c=(e,t)=>`
4
4
  let ${e}_ab = false;
@@ -1 +1 @@
1
- import{v as e}from"./use-nav-exemptions-Daz3EeSR.js";import{n as t,t as n}from"./use-api-DL13FmNZ.js";import{n as r}from"./use-foundational-data-DyAlFXWG.js";function i(i,a,o={}){let{callApi:s}=n(),{foda:c,forceFodaUpdate:l}=r(),[u,d]=e(null),[f,p]=e(!0),[m,h]=e(null);return t(()=>{let e=!1;async function t(){try{p(!0),h(null);let t=await s(i,a,o);if(e)return;let n=c.hash;if(t.foundationalDataHash!==n&&(n=await l(),e))return;if(t.foundationalDataHash!==n)throw Error(`Foundational data hash still mismatches after forced update.`);d(t.innerResult)}catch(t){if(e)return;console.warn(t),h(t)}finally{e||p(!1)}}return t(),()=>{e=!0}},[i,a,o]),{data:u,loading:f,error:m}}export{i as t};
1
+ import{v as e}from"./use-nav-exemptions-D8bA5W60.js";import{n as t,t as n}from"./use-api-qDZl9CKn.js";import{n as r}from"./use-foundational-data-0jB3Jf9I.js";function i(i,a,o={}){let{callApi:s}=n(),{foda:c,forceFodaUpdate:l}=r(),[u,d]=e(null),[f,p]=e(!0),[m,h]=e(null);return t(()=>{let e=!1;async function t(){try{p(!0),h(null);let t=await s(i,a,o);if(e)return;let n=c.hash;if(t.foundationalDataHash!==n&&(n=await l(),e))return;if(t.foundationalDataHash!==n)throw Error(`Foundational data hash still mismatches after forced update.`);d(t.innerResult)}catch(t){if(e)return;console.warn(t),h(t)}finally{e||p(!1)}}return t(),()=>{e=!0}},[i,a,o]),{data:u,loading:f,error:m}}export{i as t};
@@ -1 +1 @@
1
- import{S as e,b as t}from"./use-nav-exemptions-Daz3EeSR.js";var n=e(null);function r(){let e=t(n);if(e==null)throw Error(`Foundational data unavailable outside provider.`);return e}export{r as n,n as t};
1
+ import{S as e,b as t}from"./use-nav-exemptions-D8bA5W60.js";var n=e(null);function r(){let e=t(n);if(e==null)throw Error(`Foundational data unavailable outside provider.`);return e}export{r as n,n as t};
@@ -1 +1 @@
1
- var e,t,n,r,i,a,o,s,c,l,u,d={},f=[],p=/^m(i|n|o|s|text|space)$/,m=Array.isArray,h=f.slice,g=Object.assign;function _(e){e&&e.parentNode&&e.remove()}function v(e,t,n){var r,i,a,o={},s=arguments.length;for(a in t)a==`key`?r=t[a]:a==`ref`&&typeof e!=`function`?i=t[a]:o[a]=t[a];return s>2&&(o.children=s>3?h.call(arguments,2):n),b(e,o,r,i,null)}function y(e,t,n){var r,i,a,o=g({},e.props),s=arguments.length;for(a in t)a==`key`?r=t[a]:a==`ref`&&typeof e.type!=`function`?i=t[a]:o[a]=t[a];return s>2&&(o.children=s>3?h.call(arguments,2):n),b(e.type,o,r===void 0?e.key:r,i===void 0?e.ref:i,null)}function b(n,r,i,a,o){var s={type:n,props:r,key:i,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:o||++t,__i:-1,__u:0};return!o&&e.vnode&&e.vnode(s),s}function x(e){return e.children}function S(e,t){this.props=e,this.context=t,this.__g=0}function C(e,t){if(t==null)return e.__?C(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])&&n.__e)return n.__e;return typeof e.type!=`function`||e.props.__P?null:C(e)}function w(e){if((e=e.__)&&e.__c&&!e.props.__P)return e.__e=null,e.__k.some(function(t){return t&&(e.__e=t.__e)}),w(e)}function T(t){(8&t.__g||!(t.__g|=8)||!n.push(t)||i++)&&r==e.debounceRendering||((r=e.debounceRendering)||queueMicrotask)(E)}function E(){var t,r,o,s,c,l,u,d,f;try{for(r=1;n.length;)n.length>r&&n.sort(a),t=n.shift(),r=n.length,8&t.__g&&(s=void 0,c=void 0,l=(c=(o=t).__v).__e,u=[],d=[],(f=o.__P)&&((s=g({constructor:void 0},c)).__v=c.__v+1,e.vnode&&e.vnode(s),P(f,s,c,o.__n,f.namespaceURI,32&c.__u?[l]:null,u,l||C(c),32&c.__u,d),s.__v=c.__v,s.__.__k[s.__i]=s,F(u,s,d),c.__=c.__e=null,s.__e!=l&&w(s)))}finally{n.length=i=0}}function ee(e,t,n,r,i,a,o,s,c,l,u){var p,m,h,g,_,v,y=r.__k||f,b=t.length;for(c=D(n,t,y,c,b),p=0;p<b;p++)(h=n.__k[p])!=null&&(m=~h.__i&&y[h.__i]||d,h.__i=p,v=P(e,h,m,i,a,o,s,c,l,u),g=h.__e,(m.ref!=h.ref||8&m.__u)&&(m.ref&&I(m.ref,null,h,m),h.ref&&u.push(h.ref,h.__c||g,h)),_||=g,4&h.__u?(c=O(h,c,e,!m.__v),m.__e&&(m.__e=null)):typeof h.type==`function`&&v!==void 0?c=v:g&&(c=g.nextSibling),h.__u&=-7);return n.__e=_,c}function D(e,t,n,r,i){var a,o,s,c,l,u,d,f,p,h,g=n.length,_=g,v=0,y=!1,S=e.__k=Array(i);for(a=0;a<i;a++)(o=t[a])!=null&&typeof o!=`boolean`&&typeof o!=`function`?(typeof o!=`object`||o.constructor==String?o=S[a]=b(null,o):m(o)?o=S[a]=b(x,{children:o}):o.constructor===void 0&&o.__b?o=S[a]=b(o.type,o.props,o.key,o.ref,o.__v):S[a]=o,c=a+v,o.__=e,o.__b=e.__b+1,s=null,~(l=o.__i=A(o,n,c,_))&&(_--,(s=n[l])&&(s.__u|=2)),s&&s.__v?(o.__u|=2,l==c-1?v--:l==c+1?v++:l!=c&&(l>c?v--:v++,y=!0)):(~l||(i>g?v--:i<g&&v++),typeof o.type!=`function`&&(o.__u|=4))):S[a]=null;if(y){for(u=[],d=[],a=0;a<i;a++)if((o=S[a])&&2&o.__u){for(f=0,p=u.length;f<p;)u[h=f+p>>1]<o.__i?f=h+1:p=h;u[f]=o.__i,d[a]=f+1}for(v=u.length;a--;)d[a]&&(d[a]==v?v--:S[a].__u|=4)}if(_)for(a=0;a<g;a++)!(s=n[a])||2&s.__u||(s.__e==r&&(r=C(s)),re(s,s));return r}function O(e,t,n,r){var i,a,o;if(typeof e.type==`function`){if(e.props.__P)return t;if(i=e.__k)for(a=0;a<i.length;a++)i[a]&&(i[a].__=e,t=O(i[a],t,n,!1));return t}for(t&&!t.parentNode&&(t=C(e))&&!t.parentNode&&(t=null),o=t;o&&o.nodeType==8;)o=o.nextSibling;for(e.__e!=o&&(!r&&n.moveBefore&&e.__e.parentNode?n.moveBefore(e.__e,t):n.insertBefore(e.__e,t||null)),t=e.__e;(t&&=t.nextSibling)&&t.nodeType==8;);return t}function k(e,t){return t||=[],e!=null&&typeof e!=`boolean`&&(m(e)?e.some(function(e){k(e,t)}):t.push(e)),t}function A(e,t,n,r){var i,a,o,s=e.key,c=e.type,l=t[n],u=l&&!(2&l.__u);if(l===null&&s==null||u&&s==l.key&&c==l.type)return n;if(r>+!!u){for(i=n-1,a=n+1;i>=0||a<t.length;)if((l=t[o=i>=0?i--:a++])&&!(2&l.__u)&&s==l.key&&c==l.type)return o}return-1}function j(e,t,n){n??=``,t[0]==`-`?e.setProperty(t,n):e[t]=n}function M(e,t,n,r,i){var a,o;n:if(t==`style`){if(typeof n==`string`)e.style.cssText=n;else{if(typeof r==`string`&&(e.style.cssText=r=``),r)for(t in r)n&&t in n||j(e.style,t,``);if(n)for(t in n)r&&n[t]==r[t]||j(e.style,t,n[t])}}else if(t[0]==`o`&&t[1]==`n`)(e.__e||={})[t]=n,n&&r||(o=l[t]||(l[t]=N(t)),(e.__a||={})[t]=c,a=t!=(t=t.replace(s,`$1`)),(t=t.slice(2))[0]<`a`&&(t=t.toLowerCase()),n?e.addEventListener(t,o,a):e.removeEventListener(t,o,a));else{if(i==`http://www.w3.org/2000/svg`)t=t.replace(/xlink(H|:h)/,`h`).replace(/sName$/,`s`);else if(t!=`width`&&t!=`height`&&t!=`href`&&t!=`list`&&t!=`form`&&t!=`tabIndex`&&t!=`download`&&t!=`rowSpan`&&t!=`colSpan`&&t!=`role`&&t!=`popover`&&t in e)try{e[t]=n??``;break n}catch{}typeof n==`function`||(n==null||!1===n&&t[4]!=`-`?e.removeAttribute(t):e.setAttribute(t,t==`popover`&&n==1?``:n))}}function N(t){return function(n){if(this.__e){var r=this.__e[t];if(n[o]==null)n[o]=c++;else if(n[o]<this.__a[t])return;return r(e.event?e.event(n):n)}}}function P(t,n,r,i,a,o,s,c,l,u){var d,p,h,v,y,b,w,T,E,D,O,k,A,j,M,N,P,F,I,L,R=n.type;if(n.constructor!==void 0)return null;if(128&r.__u&&(l=32&r.__u,d=r.__c.__z)){if(n.__u|=l,p=o=[],d.nodeType==8)for(h=1,v=d.nextSibling;v;v=v.nextSibling){if(v.nodeType==8){if(v.data.startsWith(`$s`))h++;else if(v.data.startsWith(`/$s`)&&!--h)break}o.push(v)}else o.push(d);c=o[0]}(d=e.__b)&&d(n);n:if(typeof R==`function`){y=s.length;try{if(D=n.props,O=(d=R.prototype)&&d.render,k=(d=R.contextType)&&i[d.__c],A=d?k?k.props.value:d.__:i,r.__c?2&(b=n.__c=r.__c).__g&&(b.__g|=1):(O?n.__c=b=new R(D,A):(n.__c=b=new S(D,A),b.constructor=R,b.render=ie),k&&k.sub(b),b.state||(b.state={}),b.__n=i,b.__g|=8,b.__h=[],b.__k=[]),O&&(b.__s||(b.__s=b.state),R.getDerivedStateFromProps&&(b.__s==b.state&&(b.__s=g({},b.__s)),g(b.__s,R.getDerivedStateFromProps(D,b.__s)))),w=b.props,T=b.state,b.__v=n,r.__c){if(O&&!R.getDerivedStateFromProps&&D!==w&&b.componentWillReceiveProps&&b.componentWillReceiveProps(D,A),n.__v==r.__v&&!(8&b.__g)||!(4&b.__g)&&b.shouldComponentUpdate&&!1===b.shouldComponentUpdate(D,b.__s,A)){n.__v!=r.__v&&(b.props=D,b.state=b.__s,b.__g&=-9),n.__e=r.__e,n.__k=r.__k,n.__k.some(function(e){e&&(e.__=n)}),f.push.apply(b.__h,b.__k),b.__k=[],b.__h.length&&s.push(b),c=C(r);break n}b.componentWillUpdate&&b.componentWillUpdate(D,b.__s,A),O&&b.componentDidUpdate&&b.__h.push(function(){b.componentDidUpdate(w,T,E)})}else O&&!R.getDerivedStateFromProps&&b.componentWillMount&&b.componentWillMount(),O&&b.componentDidMount&&b.__h.push(b.componentDidMount);if(b.context=A,b.props=D,b.__P=t,b.__g&=-5,j=e.__r,M=0,O)b.state=b.__s,b.__g&=-9,j&&j(n),d=b.render(b.props,b.state,b.context),f.push.apply(b.__h,b.__k),b.__k=[];else do b.__g&=-9,j&&j(n),d=b.render(b.props,b.state,b.context),b.state=b.__s;while(8&b.__g&&++M<25);b.state=b.__s,b.getChildContext&&(i=g({},i,b.getChildContext())),O&&r.__c&&b.getSnapshotBeforeUpdate&&(E=b.getSnapshotBeforeUpdate(w,T)),N=d&&d.type===x&&d.key==null?d.props.children:d,D.__P&&(d=c,a=(t=D.__P).namespaceURI,l=o=null,r.props&&r.props.__P!=t&&(r.__k.some(function(e){e&&re(e,e)}),r.__k=null),c=r.__k?C(r,0):null),c=ee(t,m(N)?N:[N],n,r,i,a,o,s,c,l,u),D.__P&&(n.__e=null,c=d),n.__u&=-161,128&r.__u&&(b.__z=null),p&&p.some(_),b.__h.length&&s.push(b),1&b.__g&&(b.__g&=-4)}catch(t){if(s.length=y,n.__v=null,l||o){if(t.then){if(P=0,n.__u|=l?160:128,o){for(~(I=o.indexOf(c||void 0))||(I=o.length);(L=o[I-1])&&L.nodeType==8;)I--;for(;I<o.length;I++)if(L=o[I]){if(o[I]=null,L.nodeType==8){if(L.data.startsWith(`$s`))P++||(F=L);else if(P&&L.data.startsWith(`/$s`)&&!--P){c=L;break}}else if(!P)break}}if(!F){for(;c&&c.nodeType==8&&c.nextSibling;)c=c.nextSibling;F=c}n.__c.__z||(n.__c.__z=F),n.__e=c}else o&&o.some(_)}else n.__e=r.__e;n.__k||=r.__k||[],t.then||te(n),e.__e(t,n,r)}}else c=n.__e=ne(r.__e,n,r,i,a,o,s,l,u,t);return(d=e.diffed)&&d(n),128&n.__u?void 0:c}function te(e){e&&(e.__c&&(e.__c.__g|=4),e.__k&&e.__k.some(te))}function F(t,n,r){for(var i=0;i<r.length;)I(r[i++],r[i++],r[i++]);e.__c&&e.__c(n,t),t.some(function(n){try{t=n.__h,n.__h=[],t.some(function(e){e.call(n)})}catch(t){e.__e(t,n.__v)}})}function ne(t,n,r,i,a,o,s,c,l,u){var f,g,v,y,b,x,S,w,T,E=r.props||d,D=n.props,O=n.type;if(O==`svg`?a=`http://www.w3.org/2000/svg`:O==`math`?a=`http://www.w3.org/1998/Math/MathML`:a||=`http://www.w3.org/1999/xhtml`,o){for(f=0;f<o.length;f++)if((b=o[f])&&(O?b.localName==O:b.nodeType==3)){t=b,o[f]=null;break}}if(!t){if(w=u.ownerDocument||document,!O)return w.createTextNode(D);t=w.createElementNS(a,O,D.is&&D),c&&=(e.__m&&e.__m(n,o),!1),o=null}if(O){if(u=O==`template`?t.content:t,o=O==`textarea`&&D.defaultValue!=null?null:o&&h.call(u.childNodes),!c&&o)for(E={},f=0;f<t.attributes.length;f++)E[(b=t.attributes[f]).name]=b.value;for(f in E)b=E[f],f==`dangerouslySetInnerHTML`?v=b:f==`children`||f in D||f==`value`&&`defaultValue`in D||f==`checked`&&`defaultChecked`in D||M(t,f,null,b,a);for(f in T=1&r.__u,D)b=D[f],f==`children`?y=b:f==`dangerouslySetInnerHTML`?g=b:f==`value`?x=b:f==`checked`?S=b:c&&typeof b!=`function`||!(E[f]!==b||T&&b!=null)||M(t,f,b,E[f],a);g?(c||v&&(g.__html==v.__html||g.__html==t.innerHTML)||(t.innerHTML=g.__html),n.__k=[]):(v&&(t.textContent=``),(O==`foreignObject`||a==`http://www.w3.org/1998/Math/MathML`&&p.test(O))&&(a=`http://www.w3.org/1999/xhtml`),ee(u,m(y)?y:[y],n,r,i,a,o,s,o?o[0]:r.__k&&C(r,0),c,l),o&&o.some(_)),c&&O!=`textarea`||(f=`value`,O==`progress`&&x==null?t.removeAttribute(f):x==null||x===t[f]&&(O!=`progress`||x)||M(t,f,x,E[f],a),f=`checked`,S!=null&&S!=t[f]&&M(t,f,S,E[f],a))}else E===D||c&&t.data==D||(t.data=D);return t}function I(t,n,r,i){try{typeof t==`function`?n?n.__x=t(n)||1:(i&&=i.__c||i.__e)&&(n=i.__x)&&(i.__x=null,typeof n==`function`?n():t(null)):t.current=n}catch(t){e.__e(t,r)}}function re(t,n,r){var i,a;if(e.unmount&&e.unmount(t),!(i=t.ref)||i.current&&i.current!=t.__e||I(i,null,n,t),i=t.__c){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(t){e.__e(t,n)}i.__P=i.__n=null}if(i=t.__k)for(a=0;a<i.length;a++)i[a]&&re(i[a],n,typeof t.type!=`function`||r&&!t.props.__P);(i=t.__e)&&(r||_(i),i.__e&&(i.__e=null)),t.__e=t.__c=t.__=null}function ie(e,t,n){return this.constructor(e,n)}function L(t,n){var r,i,a,o;e.__&&e.__(t,n),n.nodeType==9&&(n=n.documentElement),i=(r=t&&32&t.__u)?null:n.__k,n.__k=b(x,{children:[t]}),a=[],o=[],P(n,n.__k,i||d,d,n.namespaceURI,i?null:n.firstChild?h.call(n.childNodes):null,a,i?i.__e:n.firstChild,r,o),F(a,n.__k,o),n.__k.props.children=null}function R(e){function t(e){var n,r;return this.getChildContext||(n=new Set,(r={})[t.__c]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&n.forEach(function(e){e.__g|=4,T(e)})},this.sub=function(e){n.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.delete(e),t&&t.call(e)}}),e.children}return t.__c=`__cC`+u++,t.__=e,t.Provider=(t.Consumer=function(e,t){return e.children(t)}).contextType=t,t}e={__e:function(e,t,n,r){for(var a,o,s;t=t.__;)if((a=t.__c)&&!(1&a.__g)){a.__g|=4;try{if((o=a.constructor)&&o.getDerivedStateFromError&&(a.setState(o.getDerivedStateFromError(e)),s=8&a.__g),a.componentDidCatch&&(a.componentDidCatch(e,r||{}),s=8&a.__g),s)return void(a.__g|=2)}catch(t){e=t,s=0}}throw i=0,e}},t=0,S.prototype.setState=function(e,t){var n=this.__s;n&&n!=this.state||(n=this.__s=g({},this.state)),typeof e==`function`&&(e=e(g({},n),this.props)),e&&(g(n,e),this.__v&&(t&&this.__k.push(t),T(this)))},S.prototype.forceUpdate=function(e){this.__v&&(this.__g|=4,e&&this.__h.push(e),T(this))},S.prototype.render=x,n=[],i=0,a=function(e,t){return e.__v.__b-t.__v.__b},o=Symbol(),s=/(PointerCapture)$|Capture$/i,c=0,l={},u=0;var z,B,ae,oe,se=Object.is,V=0,ce=[],le=[],H=e,ue=H.__b,de=H.__r,fe=H.diffed,pe=H.__c,me=H.unmount,he=H.__;function U(e,t){H.__h&&H.__h(B,e,V||t),V=0;var n=B.__H||(B.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function ge(e){return V=1,_e(De,e)}function _e(e,t,n){var r=U(z++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):De(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);se(t,n)||(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=B,!B.__f)){B.__f=!0;var i=B.shouldComponentUpdate;B.shouldComponentUpdate=function(e,t,n){var r=this.__H;if(!r)return!0;var a=!1,o=this.props!=e;if(r.__.some(function(e){e.__N&&(a=!0,se(e.__[0],e.__N[0])||(o=!0))}),i){var s=i.call(this,e,t,n);return a?s||o:s}return!a||o}}return r.__}function ve(e,t){var n=U(z++,3);!H.__s&&Ee(n.__H,t)&&(n.__P=!0,n.__=e,n.u=t,B.__H.__h.push(n))}function ye(e,t){var n=U(z++,4);!H.__s&&Ee(n.__H,t)&&(n.__P=!1,n.__=e,n.u=t,B.__h.push(n))}function W(e){return V=5,G(function(){return{current:e}},[])}function G(e,t){var n=U(z++,7);return Ee(n.__H,t)&&(n.__=e(),n.__H=t),n.__}function be(e,t){return V=8,G(function(){return e},t)}function K(e){var t=B.context[e.__c],n=U(z++,9);return n.c=e,t?(n.__??(n.__=!0,t.sub(B)),t.props.value):e.__}function xe(){var e;do{for(;e=le.shift();)try{q(e)}catch(t){H.__e(t,{__:(e=e.__P)&&e.__v})}for(;e=ce.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(q),t.__h.some(Te),t.__h=[]}catch(n){t.__h=[],H.__e(n,e.__v)}}}while(le.length)}H.__b=function(e){B=null,ue&&ue(e)},H.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),he&&he(e,t)},H.__r=function(e){de&&de(e),z=0;var t=(B=e.__c).__H;t&&(ae==B?B.__h=[]:(t.__h.some(q),t.__h.some(Te),z=0),t.__h=[],t.__.some(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})),ae=B},H.diffed=function(e){fe&&fe(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&we(ce.push(t)),t.__H.__.some(function(e){e.u&&(e.__H=e.u)})),ae=B=null},H.__c=function(e,t){t.some(function(e){try{e.__h.some(q),e.__h=e.__h.filter(function(e){return!e.__||Te(e)})}catch(n){t.some(function(e){e.__h&&=[]}),t=[],H.__e(n,e.__v)}}),pe&&pe(e,t)},H.unmount=function(e){me&&me(e);var t,n,r=e.__c;r&&r.__H&&(r.__H.__.some(function(r){try{if(r.__P&&r.__c){if(n===void 0){for(n=e.__;n&&(!n.__c||!n.__c.__P);)n=n.__;n&&=n.__c}r.__P=n,we(le.push(r))}else q(r)}catch(e){t=e}}),r.__H=void 0,t&&H.__e(t,r.__v))};var Se=typeof requestAnimationFrame==`function`;function Ce(e){var t,n=function(){clearTimeout(r),Se&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,35);Se&&(t=requestAnimationFrame(n))}function we(e){e!=1&&oe==H.requestAnimationFrame||((oe=H.requestAnimationFrame)||Ce)(xe)}function q(e){var t=B,n=e.__c;typeof n==`function`&&(e.__c=void 0,n()),B=t}function Te(e){var t=B;e.__c=e.__(),B=t}function Ee(e,t){return!e||e.length!=t.length||t.some(function(t,n){return!se(t,e[n])})}function De(e,t){return typeof t==`function`?t(e):t}var J,Y;function Oe(e){return!Y||(typeof Y==`string`?e.startsWith(Y):Y.test(e))}function ke(e,t){let n=``;if(J=void 0,t&&t.type===`click`){if(t.ctrlKey||t.metaKey||t.altKey||t.shiftKey||t.button!==0)return e;let r=t.composedPath().find(e=>e.nodeName==`A`&&e.href),i=r&&r.getAttribute(`href`);if(!r||r.origin!=location.origin||/^#/.test(i)||!/^(_?self)?$/i.test(r.target)||!Oe(i)||r.download)return e;J=!0,t.preventDefault(),n=r.href.replace(location.origin,``)}else t&&t.url?(J=!t.replace,n=t.url):n=location.pathname+location.search;return J===!0?history.pushState(null,``,n):J===!1&&history.replaceState(null,``,n),n}var Ae=(e,t,n={})=>{e=e.split(`/`).filter(Boolean),t=(t||``).split(`/`).filter(Boolean),n.params||={};for(let r=0,i,a;r<Math.max(e.length,t.length);r++){let[,o,s,c]=(t[r]||``).match(/^(:?)(.*?)([+*?]?)$/);if(i=e[r],o||s!=i){if(!o&&i&&c==`*`){n.rest=`/`+e.slice(r).join(`/`);break}if(!o||!i&&c!=`?`&&c!=`*`)return;if(a=c==`+`||c==`*`,a?i=e.slice(r).map(decodeURIComponent).join(`/`)||void 0:i&&=decodeURIComponent(i),n.params[s]=i,s in n||(n[s]=i),a)break}}return n};function X(e){let[t,n]=_e(ke,e.url||location.pathname+location.search);e.scope&&(Y=e.scope);let r=J===!0,i=G(()=>{let e=new URL(t,location.origin),i=e.pathname.replace(/\/+$/g,``)||`/`;return{url:t,path:i,query:Object.fromEntries(e.searchParams),route:(e,t)=>n({url:e,replace:t}),back:()=>{history.back()},forward:()=>{history.forward()},wasPush:r}},[t]);return ye(()=>(addEventListener(`click`,n),addEventListener(`popstate`,n),()=>{removeEventListener(`click`,n),removeEventListener(`popstate`,n)}),[]),v(X.ctx.Provider,{value:i},e.children)}var je=Promise.resolve();function Me(e){let[t,n]=_e(e=>e+1,0),{url:r,query:i,wasPush:a,path:o}=Le();if(!r)throw Error(`preact-iso's <Router> must be used within a <LocationProvider>, see: https://github.com/preactjs/preact-iso#locationprovider`);let{rest:s=o,params:c={}}=K(Fe),l=W(!1),u=W(o),d=W(1),f=W(),p=W(),m=W(),h=W(!1),g=W();g.current=!1;let _,b,x;k(e.children).some(e=>{if(Ae(s,e.props.path,x={...e.props,path:s,query:i,params:Object.assign({},c),rest:``}))return _=y(e,x);e.props.default&&(b=y(e,x))});let S=_||b,C=f.current&&f.current.__u&Z&&f.current.__u&Ne,w=f.current&&f.current.__h,T=G(()=>{p.current=f.current,f.current=v(Fe.Provider,{value:x},S);let e=p.current&&p.current.props.children;return!e||!S||S.type!==e.type||S.props.component!==e.props.component?(d.current++,!0):!1},[r,JSON.stringify(x)]);C?(f.current.__u|=Z,f.current.__u|=Ne):w&&(f.current.__h=!0);let E=p.current;return p.current=null,this.__c=(t,i)=>{g.current=!0,p.current=E,e.onLoadStart&&e.onLoadStart(r),l.current=!0;let a=d.current;t.then(()=>{a===d.current&&(p.current=null,f.current&&(i.__h&&(f.current.__h=i.__h),i.__u&Ne&&(f.current.__u|=Ne),i.__u&Z&&(f.current.__u|=Z)),je.then(n))})},ye(()=>{let t=this.__v&&this.__v.__e;g.current?!h.current&&!m.current&&(m.current=t):(!h.current&&m.current&&(m.current!==t&&m.current.remove(),m.current=null),h.current=!0,u.current!==o&&(a&&scrollTo(0,0),e.onRouteChange&&e.onRouteChange(r),u.current=o),e.onLoadEnd&&l.current&&e.onLoadEnd(r),l.current=!1)},[o,a,t]),T?[v(Pe,{r:f,key:d.current}),v(Pe,{r:p,key:d.current-1})]:v(Pe,{r:f,key:d.current})}var Z=32,Ne=128,Pe=({r:e})=>e.current;Me.Provider=X,X.ctx=R({});var Fe=R({}),Ie=e=>v(e.component,e),Le=()=>K(X.ctx),Re=()=>K(Fe),ze=0;Array.isArray;function Q(t,n,r,i,a,o){n||={};var s,c,l=n;if(`ref`in l&&typeof t!=`function`)for(c in l={},n)c==`ref`?s=n[c]:l[c]=n[c];var u={type:t,props:l,key:r,ref:s,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--ze,__i:-1,__u:0};return(a||o)&&(u.__source=a,u.__self=o),e.vnode&&e.vnode(u),u}function Be(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Be(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function $(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Be(e))&&(r&&(r+=` `),r+=t);return r}function Ve(e){return Q(e.as??`div`,{class:$(`grid`,e.class),children:e.children})}function He(e){return Q(`span`,{class:`block mt-[-0.38em] mb-[-0.38em]`,children:e.children})}var Ue={"text-xs":.6,"text-sm":.75,"text-md":.9,"text-mdlg":1,"text-lg":1.1,"text-xl":1.25,"text-2xl":1.75};function We(e){let t=typeof e==`number`?e:Ue[e];return t*1.5-.76*t}function Ge(e){if(e!=null)return{color:`light-dark(${e.lightModeHexCode}, ${e.darkModeHexCode})`}}var Ke={small:`text-sm text-fg`,"small-weak":`text-sm text-fg-weak`,"small-strong-accent":`text-sm text-accent-text font-bold`,"small-narrow":`text-sm text-fg font-stretch-semi-condensed`,"tiny-narrow":`text-xs text-fg font-stretch-semi-condensed`,regular:`text-md text-fg`,weak:`text-md text-fg-weak`,strong:`text-md font-bold text-fg-strong`,"struckout-on-raised":`text-md text-fg-weak-on-raised line-through`,"strong-accent":`text-md font-bold text-accent-text`,wordmark:`text-mdlg font-bold text-fg-strong`,subtitle:`text-lg font-bold text-fg-strong`,title:`text-xl font-bold text-fg-strong`,megatitle:`text-2xl font-bold text-fg-strong`,"weak-struckout":`text-md text-fg-weak line-through`,"small-narrow-strong-success":`text-sm text-success-text font-bold font-stretch-semi-condensed`,"small-narrow-strong-warning":`text-sm text-warning-text font-bold font-stretch-semi-condensed`,"small-narrow-strong-error":`text-sm text-error-text font-bold font-stretch-semi-condensed`},qe={left:`text-left`,center:`text-center`,right:`text-right`,justify:`text-justify`};function Je(e){let t=e.as??`span`,n=qe[e.align??`left`],r=Ke[e.style??`regular`],i=e.oneLine??!1?Q(`span`,{class:`whitespace-nowrap overflow-hidden block text-ellipsis`,children:e.children}):e.children;return Q(t,{class:$(e.class,r,n),style:Ge(e.dynamicColor),children:Q(He,{children:i})})}var Ye={left:`items-start`,center:`items-center`,right:`items-end`,stretch:`items-stretch`},Xe={top:`justify-start`,center:`justify-center`,bottom:`justify-end`,"space-between":`justify-between`};function Ze(e){let t=e.as??`div`,n=Ye[e.xAlign??`stretch`],r=Xe[e.yAlign??`top`];return Q(t,{class:$(`flex flex-col`,r,n,{"flex-wrap":e.wrap},e.class),style:Qe(e),children:e.children})}function Qe(e){if(e.dynamicMinHeightRem!=null)return{minHeight:`${e.dynamicMinHeightRem}rem`}}function $e(e){return Q(Ve,{class:$(e.class,`grid-cols-[0px_1fr_0px] widescreen:grid-cols-[1fr_64rem_1fr]`),children:Q(Ve,{class:`col-start-2`,children:e.children})})}function et(){let{url:e}=Le();return G(()=>({showMobileNav:e!==`askdjflhasdfjklhasdflkjhasdflkjhasdlfkjhasdfa`,showDesktopNav:e!==`askdjflhasdfjklhasdflkjhasdflkjhasdlfkjhasdfa`}),[e])}export{x as C,R as S,e as T,G as _,Ge as a,K as b,$ as c,Ie as d,Me as f,W as g,ve as h,Je as i,Q as l,Re as m,$e as n,We as o,Le as p,Ze as r,Ve as s,et as t,X as u,ge as v,v as w,L as x,be as y};
1
+ var e,t,n,r,i,a,o,s,c,l,u,d={},f=[],p=/^m(i|n|o|s|text|space)$/,m=Array.isArray,h=f.slice,g=Object.assign;function _(e){e&&e.parentNode&&e.remove()}function v(e,t,n){var r,i,a,o={},s=arguments.length;for(a in t)a==`key`?r=t[a]:a==`ref`&&typeof e!=`function`?i=t[a]:o[a]=t[a];return s>2&&(o.children=s>3?h.call(arguments,2):n),b(e,o,r,i,null)}function y(e,t,n){var r,i,a,o=g({},e.props),s=arguments.length;for(a in t)a==`key`?r=t[a]:a==`ref`&&typeof e.type!=`function`?i=t[a]:o[a]=t[a];return s>2&&(o.children=s>3?h.call(arguments,2):n),b(e.type,o,r===void 0?e.key:r,i===void 0?e.ref:i,null)}function b(n,r,i,a,o){var s={type:n,props:r,key:i,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:o||++t,__i:-1,__u:0};return!o&&e.vnode&&e.vnode(s),s}function x(e){return e.children}function S(e,t){this.props=e,this.context=t,this.__g=0}function C(e,t){if(t==null)return e.__?C(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])&&n.__e)return n.__e;return typeof e.type!=`function`||e.props.__P?null:C(e)}function w(e){if((e=e.__)&&e.__c&&!e.props.__P)return e.__e=null,e.__k.some(function(t){return t&&(e.__e=t.__e)}),w(e)}function T(t){(8&t.__g||!(t.__g|=8)||!n.push(t)||i++)&&r==e.debounceRendering||((r=e.debounceRendering)||queueMicrotask)(E)}function E(){var t,r,o,s,c,l,u,d,f;try{for(r=1;n.length;)n.length>r&&n.sort(a),t=n.shift(),r=n.length,8&t.__g&&(s=void 0,c=void 0,l=(c=(o=t).__v).__e,u=[],d=[],(f=o.__P)&&((s=g({constructor:void 0},c)).__v=c.__v+1,e.vnode&&e.vnode(s),P(f,s,c,o.__n,f.namespaceURI,32&c.__u?[l]:null,u,l||C(c),32&c.__u,d),s.__v=c.__v,s.__.__k[s.__i]=s,F(u,s,d),c.__=c.__e=null,s.__e!=l&&w(s)))}finally{n.length=i=0}}function ee(e,t,n,r,i,a,o,s,c,l,u){var p,m,h,g,_,v,y=r.__k||f,b=t.length;for(c=D(n,t,y,c,b),p=0;p<b;p++)(h=n.__k[p])!=null&&(m=~h.__i&&y[h.__i]||d,h.__i=p,v=P(e,h,m,i,a,o,s,c,l,u),g=h.__e,(m.ref!=h.ref||8&m.__u)&&(m.ref&&I(m.ref,null,h,m),h.ref&&u.push(h.ref,h.__c||g,h)),_||=g,4&h.__u?(c=O(h,c,e,!m.__v),m.__e&&(m.__e=null)):typeof h.type==`function`&&v!==void 0?c=v:g&&(c=g.nextSibling),h.__u&=-7);return n.__e=_,c}function D(e,t,n,r,i){var a,o,s,c,l,u,d,f,p,h,g=n.length,_=g,v=0,y=!1,S=e.__k=Array(i);for(a=0;a<i;a++)(o=t[a])!=null&&typeof o!=`boolean`&&typeof o!=`function`?(typeof o!=`object`||o.constructor==String?o=S[a]=b(null,o):m(o)?o=S[a]=b(x,{children:o}):o.constructor===void 0&&o.__b?o=S[a]=b(o.type,o.props,o.key,o.ref,o.__v):S[a]=o,c=a+v,o.__=e,o.__b=e.__b+1,s=null,~(l=o.__i=A(o,n,c,_))&&(_--,(s=n[l])&&(s.__u|=2)),s&&s.__v?(o.__u|=2,l==c-1?v--:l==c+1?v++:l!=c&&(l>c?v--:v++,y=!0)):(~l||(i>g?v--:i<g&&v++),typeof o.type!=`function`&&(o.__u|=4))):S[a]=null;if(y){for(u=[],d=[],a=0;a<i;a++)if((o=S[a])&&2&o.__u){for(f=0,p=u.length;f<p;)u[h=f+p>>1]<o.__i?f=h+1:p=h;u[f]=o.__i,d[a]=f+1}for(v=u.length;a--;)d[a]&&(d[a]==v?v--:S[a].__u|=4)}if(_)for(a=0;a<g;a++)!(s=n[a])||2&s.__u||(s.__e==r&&(r=C(s)),re(s,s));return r}function O(e,t,n,r){var i,a,o;if(typeof e.type==`function`){if(e.props.__P)return t;if(i=e.__k)for(a=0;a<i.length;a++)i[a]&&(i[a].__=e,t=O(i[a],t,n,!1));return t}for(t&&!t.parentNode&&(t=C(e))&&!t.parentNode&&(t=null),o=t;o&&o.nodeType==8;)o=o.nextSibling;for(e.__e!=o&&(!r&&n.moveBefore&&e.__e.parentNode?n.moveBefore(e.__e,t):n.insertBefore(e.__e,t||null)),t=e.__e;(t&&=t.nextSibling)&&t.nodeType==8;);return t}function k(e,t){return t||=[],e!=null&&typeof e!=`boolean`&&(m(e)?e.some(function(e){k(e,t)}):t.push(e)),t}function A(e,t,n,r){var i,a,o,s=e.key,c=e.type,l=t[n],u=l&&!(2&l.__u);if(l===null&&s==null||u&&s==l.key&&c==l.type)return n;if(r>+!!u){for(i=n-1,a=n+1;i>=0||a<t.length;)if((l=t[o=i>=0?i--:a++])&&!(2&l.__u)&&s==l.key&&c==l.type)return o}return-1}function j(e,t,n){n??=``,t[0]==`-`?e.setProperty(t,n):e[t]=n}function M(e,t,n,r,i){var a,o;n:if(t==`style`){if(typeof n==`string`)e.style.cssText=n;else{if(typeof r==`string`&&(e.style.cssText=r=``),r)for(t in r)n&&t in n||j(e.style,t,``);if(n)for(t in n)r&&n[t]==r[t]||j(e.style,t,n[t])}}else if(t[0]==`o`&&t[1]==`n`)(e.__e||={})[t]=n,n&&r||(o=l[t]||(l[t]=N(t)),(e.__a||={})[t]=c,a=t!=(t=t.replace(s,`$1`)),(t=t.slice(2))[0]<`a`&&(t=t.toLowerCase()),n?e.addEventListener(t,o,a):e.removeEventListener(t,o,a));else{if(i==`http://www.w3.org/2000/svg`)t=t.replace(/xlink(H|:h)/,`h`).replace(/sName$/,`s`);else if(t!=`width`&&t!=`height`&&t!=`href`&&t!=`list`&&t!=`form`&&t!=`tabIndex`&&t!=`download`&&t!=`rowSpan`&&t!=`colSpan`&&t!=`role`&&t!=`popover`&&t in e)try{e[t]=n??``;break n}catch{}typeof n==`function`||(n==null||!1===n&&t[4]!=`-`?e.removeAttribute(t):e.setAttribute(t,t==`popover`&&n==1?``:n))}}function N(t){return function(n){if(this.__e){var r=this.__e[t];if(n[o]==null)n[o]=c++;else if(n[o]<this.__a[t])return;return r(e.event?e.event(n):n)}}}function P(t,n,r,i,a,o,s,c,l,u){var d,p,h,v,y,b,w,T,E,D,O,k,A,j,M,N,P,F,I,L,R=n.type;if(n.constructor!==void 0)return null;if(128&r.__u&&(l=32&r.__u,d=r.__c.__z)){if(n.__u|=l,p=o=[],d.nodeType==8)for(h=1,v=d.nextSibling;v;v=v.nextSibling){if(v.nodeType==8){if(v.data.startsWith(`$s`))h++;else if(v.data.startsWith(`/$s`)&&!--h)break}o.push(v)}else o.push(d);c=o[0]}(d=e.__b)&&d(n);n:if(typeof R==`function`){y=s.length;try{if(D=n.props,O=(d=R.prototype)&&d.render,k=(d=R.contextType)&&i[d.__c],A=d?k?k.props.value:d.__:i,r.__c?2&(b=n.__c=r.__c).__g&&(b.__g|=1):(O?n.__c=b=new R(D,A):(n.__c=b=new S(D,A),b.constructor=R,b.render=ie),k&&k.sub(b),b.state||(b.state={}),b.__n=i,b.__g|=8,b.__h=[],b.__k=[]),O&&(b.__s||(b.__s=b.state),R.getDerivedStateFromProps&&(b.__s==b.state&&(b.__s=g({},b.__s)),g(b.__s,R.getDerivedStateFromProps(D,b.__s)))),w=b.props,T=b.state,b.__v=n,r.__c){if(O&&!R.getDerivedStateFromProps&&D!==w&&b.componentWillReceiveProps&&b.componentWillReceiveProps(D,A),n.__v==r.__v&&!(8&b.__g)||!(4&b.__g)&&b.shouldComponentUpdate&&!1===b.shouldComponentUpdate(D,b.__s,A)){n.__v!=r.__v&&(b.props=D,b.state=b.__s,b.__g&=-9),n.__e=r.__e,n.__k=r.__k,n.__k.some(function(e){e&&(e.__=n)}),f.push.apply(b.__h,b.__k),b.__k=[],b.__h.length&&s.push(b),c=C(r);break n}b.componentWillUpdate&&b.componentWillUpdate(D,b.__s,A),O&&b.componentDidUpdate&&b.__h.push(function(){b.componentDidUpdate(w,T,E)})}else O&&!R.getDerivedStateFromProps&&b.componentWillMount&&b.componentWillMount(),O&&b.componentDidMount&&b.__h.push(b.componentDidMount);if(b.context=A,b.props=D,b.__P=t,b.__g&=-5,j=e.__r,M=0,O)b.state=b.__s,b.__g&=-9,j&&j(n),d=b.render(b.props,b.state,b.context),f.push.apply(b.__h,b.__k),b.__k=[];else do b.__g&=-9,j&&j(n),d=b.render(b.props,b.state,b.context),b.state=b.__s;while(8&b.__g&&++M<25);b.state=b.__s,b.getChildContext&&(i=g({},i,b.getChildContext())),O&&r.__c&&b.getSnapshotBeforeUpdate&&(E=b.getSnapshotBeforeUpdate(w,T)),N=d&&d.type===x&&d.key==null?d.props.children:d,D.__P&&(d=c,a=(t=D.__P).namespaceURI,l=o=null,r.props&&r.props.__P!=t&&(r.__k.some(function(e){e&&re(e,e)}),r.__k=null),c=r.__k?C(r,0):null),c=ee(t,m(N)?N:[N],n,r,i,a,o,s,c,l,u),D.__P&&(n.__e=null,c=d),n.__u&=-161,128&r.__u&&(b.__z=null),p&&p.some(_),b.__h.length&&s.push(b),1&b.__g&&(b.__g&=-4)}catch(t){if(s.length=y,n.__v=null,l||o){if(t.then){if(P=0,n.__u|=l?160:128,o){for(~(I=o.indexOf(c||void 0))||(I=o.length);(L=o[I-1])&&L.nodeType==8;)I--;for(;I<o.length;I++)if(L=o[I]){if(o[I]=null,L.nodeType==8){if(L.data.startsWith(`$s`))P++||(F=L);else if(P&&L.data.startsWith(`/$s`)&&!--P){c=L;break}}else if(!P)break}}if(!F){for(;c&&c.nodeType==8&&c.nextSibling;)c=c.nextSibling;F=c}n.__c.__z||(n.__c.__z=F),n.__e=c}else o&&o.some(_)}else n.__e=r.__e;n.__k||=r.__k||[],t.then||te(n),e.__e(t,n,r)}}else c=n.__e=ne(r.__e,n,r,i,a,o,s,l,u,t);return(d=e.diffed)&&d(n),128&n.__u?void 0:c}function te(e){e&&(e.__c&&(e.__c.__g|=4),e.__k&&e.__k.some(te))}function F(t,n,r){for(var i=0;i<r.length;)I(r[i++],r[i++],r[i++]);e.__c&&e.__c(n,t),t.some(function(n){try{t=n.__h,n.__h=[],t.some(function(e){e.call(n)})}catch(t){e.__e(t,n.__v)}})}function ne(t,n,r,i,a,o,s,c,l,u){var f,g,v,y,b,x,S,w,T,E=r.props||d,D=n.props,O=n.type;if(O==`svg`?a=`http://www.w3.org/2000/svg`:O==`math`?a=`http://www.w3.org/1998/Math/MathML`:a||=`http://www.w3.org/1999/xhtml`,o){for(f=0;f<o.length;f++)if((b=o[f])&&(O?b.localName==O:b.nodeType==3)){t=b,o[f]=null;break}}if(!t){if(w=u.ownerDocument||document,!O)return w.createTextNode(D);t=w.createElementNS(a,O,D.is&&D),c&&=(e.__m&&e.__m(n,o),!1),o=null}if(O){if(u=O==`template`?t.content:t,o=O==`textarea`&&D.defaultValue!=null?null:o&&h.call(u.childNodes),!c&&o)for(E={},f=0;f<t.attributes.length;f++)E[(b=t.attributes[f]).name]=b.value;for(f in E)b=E[f],f==`dangerouslySetInnerHTML`?v=b:f==`children`||f in D||f==`value`&&`defaultValue`in D||f==`checked`&&`defaultChecked`in D||M(t,f,null,b,a);for(f in T=1&r.__u,D)b=D[f],f==`children`?y=b:f==`dangerouslySetInnerHTML`?g=b:f==`value`?x=b:f==`checked`?S=b:c&&typeof b!=`function`||!(E[f]!==b||T&&b!=null)||M(t,f,b,E[f],a);g?(c||v&&(g.__html==v.__html||g.__html==t.innerHTML)||(t.innerHTML=g.__html),n.__k=[]):(v&&(t.textContent=``),(O==`foreignObject`||a==`http://www.w3.org/1998/Math/MathML`&&p.test(O))&&(a=`http://www.w3.org/1999/xhtml`),ee(u,m(y)?y:[y],n,r,i,a,o,s,o?o[0]:r.__k&&C(r,0),c,l),o&&o.some(_)),c&&O!=`textarea`||(f=`value`,O==`progress`&&x==null?t.removeAttribute(f):x==null||x===t[f]&&(O!=`progress`||x)||M(t,f,x,E[f],a),f=`checked`,S!=null&&S!=t[f]&&M(t,f,S,E[f],a))}else E===D||c&&t.data==D||(t.data=D);return t}function I(t,n,r,i){try{typeof t==`function`?n?n.__x=t(n)||1:(i&&=i.__c||i.__e)&&(n=i.__x)&&(i.__x=null,typeof n==`function`?n():t(null)):t.current=n}catch(t){e.__e(t,r)}}function re(t,n,r){var i,a;if(e.unmount&&e.unmount(t),!(i=t.ref)||i.current&&i.current!=t.__e||I(i,null,n,t),i=t.__c){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(t){e.__e(t,n)}i.__P=i.__n=null}if(i=t.__k)for(a=0;a<i.length;a++)i[a]&&re(i[a],n,typeof t.type!=`function`||r&&!t.props.__P);(i=t.__e)&&(r||_(i),i.__e&&(i.__e=null)),t.__e=t.__c=t.__=null}function ie(e,t,n){return this.constructor(e,n)}function L(t,n){var r,i,a,o;e.__&&e.__(t,n),n.nodeType==9&&(n=n.documentElement),i=(r=t&&32&t.__u)?null:n.__k,n.__k=b(x,{children:[t]}),a=[],o=[],P(n,n.__k,i||d,d,n.namespaceURI,i?null:n.firstChild?h.call(n.childNodes):null,a,i?i.__e:n.firstChild,r,o),F(a,n.__k,o),n.__k.props.children=null}function R(e){function t(e){var n,r;return this.getChildContext||(n=new Set,(r={})[t.__c]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&n.forEach(function(e){e.__g|=4,T(e)})},this.sub=function(e){n.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.delete(e),t&&t.call(e)}}),e.children}return t.__c=`__cC`+u++,t.__=e,t.Provider=(t.Consumer=function(e,t){return e.children(t)}).contextType=t,t}e={__e:function(e,t,n,r){for(var a,o,s;t=t.__;)if((a=t.__c)&&!(1&a.__g)){a.__g|=4;try{if((o=a.constructor)&&o.getDerivedStateFromError&&(a.setState(o.getDerivedStateFromError(e)),s=8&a.__g),a.componentDidCatch&&(a.componentDidCatch(e,r||{}),s=8&a.__g),s)return void(a.__g|=2)}catch(t){e=t,s=0}}throw i=0,e}},t=0,S.prototype.setState=function(e,t){var n=this.__s;n&&n!=this.state||(n=this.__s=g({},this.state)),typeof e==`function`&&(e=e(g({},n),this.props)),e&&(g(n,e),this.__v&&(t&&this.__k.push(t),T(this)))},S.prototype.forceUpdate=function(e){this.__v&&(this.__g|=4,e&&this.__h.push(e),T(this))},S.prototype.render=x,n=[],i=0,a=function(e,t){return e.__v.__b-t.__v.__b},o=Symbol(),s=/(PointerCapture)$|Capture$/i,c=0,l={},u=0;var z,B,ae,oe,se=Object.is,V=0,ce=[],le=[],H=e,ue=H.__b,de=H.__r,fe=H.diffed,pe=H.__c,me=H.unmount,he=H.__;function U(e,t){H.__h&&H.__h(B,e,V||t),V=0;var n=B.__H||(B.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function ge(e){return V=1,_e(De,e)}function _e(e,t,n){var r=U(z++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):De(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);se(t,n)||(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=B,!B.__f)){B.__f=!0;var i=B.shouldComponentUpdate;B.shouldComponentUpdate=function(e,t,n){var r=this.__H;if(!r)return!0;var a=!1,o=this.props!=e;if(r.__.some(function(e){e.__N&&(a=!0,se(e.__[0],e.__N[0])||(o=!0))}),i){var s=i.call(this,e,t,n);return a?s||o:s}return!a||o}}return r.__}function ve(e,t){var n=U(z++,3);!H.__s&&Ee(n.__H,t)&&(n.__P=!0,n.__=e,n.u=t,B.__H.__h.push(n))}function ye(e,t){var n=U(z++,4);!H.__s&&Ee(n.__H,t)&&(n.__P=!1,n.__=e,n.u=t,B.__h.push(n))}function W(e){return V=5,G(function(){return{current:e}},[])}function G(e,t){var n=U(z++,7);return Ee(n.__H,t)&&(n.__=e(),n.__H=t),n.__}function be(e,t){return V=8,G(function(){return e},t)}function K(e){var t=B.context[e.__c],n=U(z++,9);return n.c=e,t?(n.__??(n.__=!0,t.sub(B)),t.props.value):e.__}function xe(){var e;do{for(;e=le.shift();)try{q(e)}catch(t){H.__e(t,{__:(e=e.__P)&&e.__v})}for(;e=ce.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(q),t.__h.some(Te),t.__h=[]}catch(n){t.__h=[],H.__e(n,e.__v)}}}while(le.length)}H.__b=function(e){B=null,ue&&ue(e)},H.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),he&&he(e,t)},H.__r=function(e){de&&de(e),z=0;var t=(B=e.__c).__H;t&&(ae==B?B.__h=[]:(t.__h.some(q),t.__h.some(Te),z=0),t.__h=[],t.__.some(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})),ae=B},H.diffed=function(e){fe&&fe(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&we(ce.push(t)),t.__H.__.some(function(e){e.u&&(e.__H=e.u)})),ae=B=null},H.__c=function(e,t){t.some(function(e){try{e.__h.some(q),e.__h=e.__h.filter(function(e){return!e.__||Te(e)})}catch(n){t.some(function(e){e.__h&&=[]}),t=[],H.__e(n,e.__v)}}),pe&&pe(e,t)},H.unmount=function(e){me&&me(e);var t,n,r=e.__c;r&&r.__H&&(r.__H.__.some(function(r){try{if(r.__P&&r.__c){if(n===void 0){for(n=e.__;n&&(!n.__c||!n.__c.__P);)n=n.__;n&&=n.__c}r.__P=n,we(le.push(r))}else q(r)}catch(e){t=e}}),r.__H=void 0,t&&H.__e(t,r.__v))};var Se=typeof requestAnimationFrame==`function`;function Ce(e){var t,n=function(){clearTimeout(r),Se&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,35);Se&&(t=requestAnimationFrame(n))}function we(e){e!=1&&oe==H.requestAnimationFrame||((oe=H.requestAnimationFrame)||Ce)(xe)}function q(e){var t=B,n=e.__c;typeof n==`function`&&(e.__c=void 0,n()),B=t}function Te(e){var t=B;e.__c=e.__(),B=t}function Ee(e,t){return!e||e.length!=t.length||t.some(function(t,n){return!se(t,e[n])})}function De(e,t){return typeof t==`function`?t(e):t}var J,Y;function Oe(e){return!Y||(typeof Y==`string`?e.startsWith(Y):Y.test(e))}function ke(e,t){let n=``;if(J=void 0,t&&t.type===`click`){if(t.ctrlKey||t.metaKey||t.altKey||t.shiftKey||t.button!==0)return e;let r=t.composedPath().find(e=>e.nodeName==`A`&&e.href),i=r&&r.getAttribute(`href`);if(!r||r.origin!=location.origin||/^#/.test(i)||!/^(_?self)?$/i.test(r.target)||!Oe(i)||r.download)return e;J=!0,t.preventDefault(),n=r.href.replace(location.origin,``)}else t&&t.url?(J=!t.replace,n=t.url):n=location.pathname+location.search;return J===!0?history.pushState(null,``,n):J===!1&&history.replaceState(null,``,n),n}var Ae=(e,t,n={})=>{e=e.split(`/`).filter(Boolean),t=(t||``).split(`/`).filter(Boolean),n.params||={};for(let r=0,i,a;r<Math.max(e.length,t.length);r++){let[,o,s,c]=(t[r]||``).match(/^(:?)(.*?)([+*?]?)$/);if(i=e[r],o||s!=i){if(!o&&i&&c==`*`){n.rest=`/`+e.slice(r).join(`/`);break}if(!o||!i&&c!=`?`&&c!=`*`)return;if(a=c==`+`||c==`*`,a?i=e.slice(r).map(decodeURIComponent).join(`/`)||void 0:i&&=decodeURIComponent(i),n.params[s]=i,s in n||(n[s]=i),a)break}}return n};function X(e){let[t,n]=_e(ke,e.url||location.pathname+location.search);e.scope&&(Y=e.scope);let r=J===!0,i=G(()=>{let e=new URL(t,location.origin),i=e.pathname.replace(/\/+$/g,``)||`/`;return{url:t,path:i,query:Object.fromEntries(e.searchParams),route:(e,t)=>n({url:e,replace:t}),back:()=>{history.back()},forward:()=>{history.forward()},wasPush:r}},[t]);return ye(()=>(addEventListener(`click`,n),addEventListener(`popstate`,n),()=>{removeEventListener(`click`,n),removeEventListener(`popstate`,n)}),[]),v(X.ctx.Provider,{value:i},e.children)}var je=Promise.resolve();function Me(e){let[t,n]=_e(e=>e+1,0),{url:r,query:i,wasPush:a,path:o}=Le();if(!r)throw Error(`preact-iso's <Router> must be used within a <LocationProvider>, see: https://github.com/preactjs/preact-iso#locationprovider`);let{rest:s=o,params:c={}}=K(Fe),l=W(!1),u=W(o),d=W(1),f=W(),p=W(),m=W(),h=W(!1),g=W();g.current=!1;let _,b,x;k(e.children).some(e=>{if(Ae(s,e.props.path,x={...e.props,path:s,query:i,params:Object.assign({},c),rest:``}))return _=y(e,x);e.props.default&&(b=y(e,x))});let S=_||b,C=f.current&&f.current.__u&Z&&f.current.__u&Ne,w=f.current&&f.current.__h,T=G(()=>{p.current=f.current,f.current=v(Fe.Provider,{value:x},S);let e=p.current&&p.current.props.children;return!e||!S||S.type!==e.type||S.props.component!==e.props.component?(d.current++,!0):!1},[r,JSON.stringify(x)]);C?(f.current.__u|=Z,f.current.__u|=Ne):w&&(f.current.__h=!0);let E=p.current;return p.current=null,this.__c=(t,i)=>{g.current=!0,p.current=E,e.onLoadStart&&e.onLoadStart(r),l.current=!0;let a=d.current;t.then(()=>{a===d.current&&(p.current=null,f.current&&(i.__h&&(f.current.__h=i.__h),i.__u&Ne&&(f.current.__u|=Ne),i.__u&Z&&(f.current.__u|=Z)),je.then(n))})},ye(()=>{let t=this.__v&&this.__v.__e;g.current?!h.current&&!m.current&&(m.current=t):(!h.current&&m.current&&(m.current!==t&&m.current.remove(),m.current=null),h.current=!0,u.current!==o&&(a&&scrollTo(0,0),e.onRouteChange&&e.onRouteChange(r),u.current=o),e.onLoadEnd&&l.current&&e.onLoadEnd(r),l.current=!1)},[o,a,t]),T?[v(Pe,{r:f,key:d.current}),v(Pe,{r:p,key:d.current-1})]:v(Pe,{r:f,key:d.current})}var Z=32,Ne=128,Pe=({r:e})=>e.current;Me.Provider=X,X.ctx=R({});var Fe=R({}),Ie=e=>v(e.component,e),Le=()=>K(X.ctx),Re=()=>K(Fe),ze=0;Array.isArray;function Q(t,n,r,i,a,o){n||={};var s,c,l=n;if(`ref`in l&&typeof t!=`function`)for(c in l={},n)c==`ref`?s=n[c]:l[c]=n[c];var u={type:t,props:l,key:r,ref:s,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--ze,__i:-1,__u:0};return(a||o)&&(u.__source=a,u.__self=o),e.vnode&&e.vnode(u),u}function Be(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Be(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function $(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Be(e))&&(r&&(r+=` `),r+=t);return r}function Ve(e){return Q(e.as??`div`,{class:$(`grid`,e.class),children:e.children})}function He(e){return Q(`span`,{class:`block mt-[-0.38em] mb-[-0.38em]`,children:e.children})}var Ue={"text-xs":.6,"text-sm":.8,"text-md":.9,"text-mdlg":1,"text-lg":1.1,"text-xl":1.25,"text-2xl":1.75};function We(e){let t=typeof e==`number`?e:Ue[e];return t*1.5-.76*t}function Ge(e){if(e!=null)return{color:`light-dark(${e.lightModeHexCode}, ${e.darkModeHexCode})`}}var Ke={regular:`text-md text-fg`,weak:`text-md text-fg-weak`,strong:`text-md font-bold text-fg-strong`,subtitle:`text-lg font-bold text-fg-strong`,title:`text-xl font-bold text-fg-strong`,megatitle:`text-2xl font-bold text-fg-strong`,small:`text-sm text-fg`,"small-weak":`text-sm text-fg-weak`,"small-strong-accent":`text-sm text-accent-text font-bold`,"tiny-narrow":`text-xs text-fg font-stretch-semi-condensed`,wordmark:`text-mdlg font-bold text-fg-strong`,disclaimer:`text-xs text-fg font-stretch-semi-condensed`,"departure-headline":`text-mdlg font-bold text-fg-strong`,"departure-headline-struckout":`text-mdlg text-fg-weak-on-raised line-through`,"departure-info":`text-sm text-fg font-stretch-semi-condensed`,"departure-info-struckout":`text-sm text-fg-weak-on-raised font-stretch-semi-condensed line-through`,"departure-info-success":`text-sm text-success-text font-bold font-stretch-semi-condensed`,"departure-info-warning":`text-sm text-warning-text font-bold font-stretch-semi-condensed`,"departure-info-error":`text-sm text-error-text font-bold font-stretch-semi-condensed`},qe={left:`text-left`,center:`text-center`,right:`text-right`,justify:`text-justify`};function Je(e){let t=e.as??`span`,n=qe[e.align??`left`],r=Ke[e.style??`regular`],i=e.oneLine??!1?Q(`span`,{class:`whitespace-nowrap overflow-hidden block text-ellipsis`,children:e.children}):e.children;return Q(t,{class:$(e.class,r,n),style:Ge(e.dynamicColor),children:Q(He,{children:i})})}var Ye={left:`items-start`,center:`items-center`,right:`items-end`,stretch:`items-stretch`},Xe={top:`justify-start`,center:`justify-center`,bottom:`justify-end`,"space-between":`justify-between`};function Ze(e){let t=e.as??`div`,n=Ye[e.xAlign??`stretch`],r=Xe[e.yAlign??`top`];return Q(t,{class:$(`flex flex-col`,r,n,{"flex-wrap":e.wrap},e.class),style:Qe(e),children:e.children})}function Qe(e){if(e.dynamicMinHeightRem!=null)return{minHeight:`${e.dynamicMinHeightRem}rem`}}function $e(e){return Q(Ve,{class:$(e.class,`grid-cols-[0px_1fr_0px] widescreen:grid-cols-[1fr_64rem_1fr]`),children:Q(Ve,{class:`col-start-2`,children:e.children})})}function et(){let{url:e}=Le();return G(()=>({showMobileNav:e!==`askdjflhasdfjklhasdflkjhasdflkjhasdlfkjhasdfa`,showDesktopNav:e!==`askdjflhasdfjklhasdflkjhasdflkjhasdlfkjhasdfa`}),[e])}export{x as C,R as S,e as T,G as _,Ge as a,K as b,$ as c,Ie as d,Me as f,W as g,ve as h,Je as i,Q as l,Re as m,$e as n,We as o,Le as p,Ze as r,Ve as s,et as t,X as u,ge as v,v as w,L as x,be as y};
@@ -1 +1 @@
1
- import{c as e,i as t,l as n,n as r,r as i}from"./use-nav-exemptions-Daz3EeSR.js";import{m as a}from"./index-uA8YIkaf.js";import{n as o,t as s}from"./SimpleMobileHeaderContent-BZ-z0X3U.js";function c(c){return{mobileHeader:n(s,{title:c.title,backHref:c.back?.href??null}),desktopHeader:n(r,{children:n(i,{class:e(`mx-4 py-4 gap-8 border-b border-soft-border`,{"pt-8":c.back==null,"pt-6":c.back!=null}),children:[c.back!=null&&n(a,{text:c.back.text,href:c.back.href,icon:o,class:`self-start`,layout:`narrow-icon`}),n(t,{style:`megatitle`,children:c.title})]})})}}export{c as t};
1
+ import{c as e,i as t,l as n,n as r,r as i}from"./use-nav-exemptions-D8bA5W60.js";import{f as a}from"./index-CYVVbfmA.js";import{n as o,t as s}from"./SimpleMobileHeaderContent-CvSCYR3o.js";function c(c){return{mobileHeader:n(s,{title:c.title,backHref:c.back?.href??null}),desktopHeader:n(r,{children:n(i,{class:e(`mx-4 py-4 gap-8 border-b border-soft-border`,{"pt-8":c.back==null,"pt-6":c.back!=null}),children:[c.back!=null&&n(a,{text:c.back.text,href:c.back.href,icon:o,class:`self-start`,layout:`narrow-icon`}),n(t,{style:`megatitle`,children:c.title})]})})}}export{c as t};
@@ -0,0 +1 @@
1
+ import{_ as e}from"./use-nav-exemptions-D8bA5W60.js";import{n as t}from"./use-foundational-data-0jB3Jf9I.js";function n(e){return e!=null}function r(e){if(e==null)throw Error(`Expected non-null value.`);return e}var i={stop:e=>e,station:e=>`${e} Station`},a={line:e=>`${e} Line`,route:e=>`Route ${e}`},o={stop:`stops`,station:`stations`},s={line:`lines`,route:`routes`},c={service:`service`,trip:`trip`,train:`train`,tram:`tram`,bus:`bus`},l={service:`services`,trip:`trips`,train:`trains`,tram:`trams`,bus:`buses`},u={platform:`Platform`,track:`Track`,bay:`Bay`,wharf:`Wharf`,"wharf-and-side":`Wharf/Side`,stand:`Stand`};function d(){let{foda:n}=t();return e(()=>({formatStop:i[n.terminology.stop],formatLine:a[n.terminology.line],pluralStopsTerm:o[n.terminology.stop],pluralLinesTerm:s[n.terminology.line],singularServiceTerm:c[n.terminology.service],pluralServicesTerm:l[n.terminology.service],positionIndicatorHeader:u[n.terminology.stopPosition]}),[n.terminology])}export{r as n,n as r,d as t};
@@ -15,13 +15,14 @@
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-uA8YIkaf.js"></script>
19
- <link rel="modulepreload" crossorigin href="/assets/use-nav-exemptions-Daz3EeSR.js">
20
- <link rel="modulepreload" crossorigin href="/assets/use-api-DL13FmNZ.js">
21
- <link rel="modulepreload" crossorigin href="/assets/use-foundational-data-DyAlFXWG.js">
22
- <link rel="modulepreload" crossorigin href="/assets/scope-B-e4l8Dr.js">
23
- <link rel="modulepreload" crossorigin href="/assets/LinkText-Co4qc0dx.js">
24
- <link rel="stylesheet" crossorigin href="/assets/index-Bku-5Rho.css">
18
+ <script type="module" crossorigin src="/assets/index-CYVVbfmA.js"></script>
19
+ <link rel="modulepreload" crossorigin href="/assets/use-nav-exemptions-D8bA5W60.js">
20
+ <link rel="modulepreload" crossorigin href="/assets/use-api-qDZl9CKn.js">
21
+ <link rel="modulepreload" crossorigin href="/assets/use-foundational-data-0jB3Jf9I.js">
22
+ <link rel="modulepreload" crossorigin href="/assets/use-terminology-BNoP6KZJ.js">
23
+ <link rel="modulepreload" crossorigin href="/assets/corequery-urls-78N8ADzG.js">
24
+ <link rel="modulepreload" crossorigin href="/assets/LinkText-oghSfaf2.js">
25
+ <link rel="stylesheet" crossorigin href="/assets/index-Duc7TGHj.css">
25
26
  <link rel="manifest" href="/manifest.webmanifest"></head>
26
27
  <body>
27
28
  <script>
package/web/dist/sw.js CHANGED
@@ -1 +1 @@
1
- if(!self.define){let s,e={};const l=(l,n)=>(l=new URL(l+".js",n).href,e[l]||new Promise(e=>{if("document"in self){const s=document.createElement("script");s.src=l,s.onload=e,document.head.appendChild(s)}else s=l,importScripts(l),e()}).then(()=>{let s=e[l];if(!s)throw new Error(`Module ${l} didn’t register its module`);return s}));self.define=(n,i)=>{const r=s||("document"in self?document.currentScript.src:"")||location.href;if(e[r])return;let u={};const a=s=>l(s,r),o={module:{uri:r},exports:u,require:a};e[r]=Promise.all(n.map(s=>o[s]||a(s))).then(s=>(i(...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:"fa0f1a147216153af26da14fc49a165a"},{url:"favicon.svg",revision:"570c2a249bbd511b386a843cd96545e7"},{url:"apple-touch-icon.png",revision:"d5d6ea39bc40ffd5b045b9593da0c890"},{url:"assets/workbox-window.prod.es5-Bd17z0YL.js",revision:null},{url:"assets/use-simple-headers-BE9SwcPx.js",revision:null},{url:"assets/use-nav-exemptions-Daz3EeSR.js",revision:null},{url:"assets/use-foundational-data-DyAlFXWG.js",revision:null},{url:"assets/use-foda-synced-query-Df-foxd8.js",revision:null},{url:"assets/use-api-DL13FmNZ.js",revision:null},{url:"assets/scope-B-e4l8Dr.js",revision:null},{url:"assets/linear-Ddr4Wd6S.js",revision:null},{url:"assets/index-uA8YIkaf.js",revision:null},{url:"assets/index-Bku-5Rho.css",revision:null},{url:"assets/ZenMode-BRnT2IgH.js",revision:null},{url:"assets/Strong-DYvq_eAK.js",revision:null},{url:"assets/Stop-C3WdbHTc.js",revision:null},{url:"assets/Status-CRAvAMxM.js",revision:null},{url:"assets/SimpleMobileHeaderContent-BZ-z0X3U.js",revision:null},{url:"assets/Settings-ZUDsiG47.js",revision:null},{url:"assets/Service-BNcdDmTR.js",revision:null},{url:"assets/Placeholder-B5DNAGHP.js",revision:null},{url:"assets/Picker-k_4eWvu2.js",revision:null},{url:"assets/Page-eZ-IZNxm.js",revision:null},{url:"assets/NotFoundPage-rabdgx0c.js",revision:null},{url:"assets/NotFound-5qV_DZRA.js",revision:null},{url:"assets/Nearby-CqDDKuYT.js",revision:null},{url:"assets/MingcuteAlertLine-DxgntDGK.js",revision:null},{url:"assets/Markdown-BY6JcM-Z.js",revision:null},{url:"assets/LinkText-Co4qc0dx.js",revision:null},{url:"assets/Line-DNbLEU4Y.js",revision:null},{url:"assets/Home-BZXUmeh8.js",revision:null},{url:"assets/ErrorMessage-Mp0VVnTj.js",revision:null},{url:"assets/Divider-C465PGQW.js",revision:null},{url:"assets/Debug-B9JffuQ7.js",revision:null},{url:"assets/Alert-CNaalIbn.js",revision:null},{url:"assets/AdminControls-CVGbS_5e.js",revision:null},{url:"assets/About-CuBfNcQd.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\/?$/]}))});
1
+ if(!self.define){let s,e={};const l=(l,n)=>(l=new URL(l+".js",n).href,e[l]||new Promise(e=>{if("document"in self){const s=document.createElement("script");s.src=l,s.onload=e,document.head.appendChild(s)}else s=l,importScripts(l),e()}).then(()=>{let s=e[l];if(!s)throw new Error(`Module ${l} didn’t register its module`);return s}));self.define=(n,i)=>{const r=s||("document"in self?document.currentScript.src:"")||location.href;if(e[r])return;let u={};const o=s=>l(s,r),a={module:{uri:r},exports:u,require:o};e[r]=Promise.all(n.map(s=>a[s]||o(s))).then(s=>(i(...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:"64761e5e10b360746584308cf9bf54f7"},{url:"favicon.svg",revision:"570c2a249bbd511b386a843cd96545e7"},{url:"apple-touch-icon.png",revision:"d5d6ea39bc40ffd5b045b9593da0c890"},{url:"assets/workbox-window.prod.es5-Bd17z0YL.js",revision:null},{url:"assets/use-terminology-BNoP6KZJ.js",revision:null},{url:"assets/use-simple-headers-BpV0B8HW.js",revision:null},{url:"assets/use-nav-exemptions-D8bA5W60.js",revision:null},{url:"assets/use-foundational-data-0jB3Jf9I.js",revision:null},{url:"assets/use-foda-synced-query-CIfQETe2.js",revision:null},{url:"assets/use-api-qDZl9CKn.js",revision:null},{url:"assets/linear-71VpCPEr.js",revision:null},{url:"assets/index-Duc7TGHj.css",revision:null},{url:"assets/index-CYVVbfmA.js",revision:null},{url:"assets/corequery-urls-78N8ADzG.js",revision:null},{url:"assets/ZenMode-DmkrZopO.js",revision:null},{url:"assets/Strong--F1YzYdg.js",revision:null},{url:"assets/Stop-WWINwzYk.js",revision:null},{url:"assets/Status-DYPebws5.js",revision:null},{url:"assets/SimpleMobileHeaderContent-CvSCYR3o.js",revision:null},{url:"assets/Settings-7eYiXBh4.js",revision:null},{url:"assets/Service-CETSSNTt.js",revision:null},{url:"assets/Placeholder-CCHaFkJj.js",revision:null},{url:"assets/Picker-B95kmKwR.js",revision:null},{url:"assets/Page-B2FZWIBP.js",revision:null},{url:"assets/NotFoundPage-BsfQWwp9.js",revision:null},{url:"assets/NotFound-CySH3zss.js",revision:null},{url:"assets/Nearby-DV_tFaX_.js",revision:null},{url:"assets/MingcuteAlertLine-Cp5hrd7X.js",revision:null},{url:"assets/Markdown-Ds6uHrmO.js",revision:null},{url:"assets/LinkText-oghSfaf2.js",revision:null},{url:"assets/Line-DAVFWc_l.js",revision:null},{url:"assets/Home-Dh99ZtY6.js",revision:null},{url:"assets/ErrorMessage-C9JxifQk.js",revision:null},{url:"assets/Divider-DoDjWpxt.js",revision:null},{url:"assets/Debug-Bj0JQBuG.js",revision:null},{url:"assets/Alert-DztxgpkO.js",revision:null},{url:"assets/AdminControls-DrThgKnx.js",revision:null},{url:"assets/About-C3wnI7Tt.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\/?$/]}))});
@@ -1 +0,0 @@
1
- import{i as e,l as t,r as n}from"./use-nav-exemptions-Daz3EeSR.js";import{t as r}from"./Page-eZ-IZNxm.js";import{t as i}from"./use-simple-headers-BE9SwcPx.js";function a(){return t(r,{...i({title:`Admin controls`}),children:t(n,{class:`px-4 py-8 gap-8`,children:t(e,{children:`Maybe the real admin controls were the friends we made along the way?`})})})}export{a as default};
@@ -1 +0,0 @@
1
- import{c as e,h as t,i as n,l as r,o as i,r as a,s as o,v as s}from"./use-nav-exemptions-Daz3EeSR.js";import{i as c}from"./use-api-DL13FmNZ.js";import{n as l}from"./use-foundational-data-DyAlFXWG.js";import{a as u,b as d,c as f,g as p,m,n as h,r as g,v as _,y as v}from"./index-uA8YIkaf.js";import{t as y}from"./Placeholder-B5DNAGHP.js";import{t as b}from"./Page-eZ-IZNxm.js";import{t as x}from"./use-simple-headers-BE9SwcPx.js";import{t as S}from"./Divider-C465PGQW.js";import{t as C}from"./Alert-CNaalIbn.js";function w(t){let i={info:`bg-soft-accent`,error:`bg-soft-error`,warning:`bg-soft-warning`,success:`bg-soft-success`}[t.type],a={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)]`}[t.type];return r(o,{class:e(t.class,i,a,`px-2 py-1.5 rounded-full`),children:r(n,{style:`small`,children:t.text})})}function T(t){return r(p,{class:e(t.class,`gap-x-2 gap-y-3`),wrap:!0,children:[r(n,{style:`strong`,children:t.header}),t.loading&&r(y,{class:`w-[20%] text-md`}),!t.loading&&t.pillContent!=null&&r(u,{heightRem:i(`text-md`),children:r(w,{type:t.pillContent.type,text:t.pillContent.text})})]})}function E(e){return r(T,{class:e.class,header:e.header,pillContent:D(e.currentValue,e.latestValue),loading:e.loading})}function D(e,t){return t==null?null:{text:e===t?`Up to date`:`Outdated`,type:e===t?`success`:`error`}}function O(e){return e.loading?r(o,{class:e.class,children:r(y,{class:`w-[40%] text-md`})}):e.value==null?null:r(n,{class:e.class,children:[e.prefix,`: `,e.value]})}function k(e){return e==null?null:e.length<32||!/^[0-9a-f]+$/.test(e)?e:e.slice(0,7)}function A(t){let{isUpdateAvailable:a,update:o}=f();return a?r(m,{theme:`accent`,text:`Refresh & update`,class:`self-start`,icon:_,onClick:()=>void o()}):r(p,{class:e(t.class,`gap-2`),children:[r(u,{heightRem:i(`text-md`),children:r(v,{})}),r(n,{class:`min-w-0 shrink`,children:`Waiting for service worker to install update...`})]})}function j(e){let{isHotReloadingEnabled:t}=h();return r(t?M:N,{...e})}function M(t){return r(a,{class:e(t.class,`gap-6`),children:[r(T,{header:`App version`,pillContent:{text:`Development`,type:`info`},loading:!1}),r(n,{children:`All frontend code is being served with hot-reloading enabled, not through the PWA. (The below values are meaningless.)`}),r(P,{}),r(O,{prefix:`Latest version`,value:t.latestVersion?.slice(0,8)??null,loading:t.loading})]})}function N(t){let{frontendVersion:n}=d(),i=!t.loading&&t.latestVersion!=null&&t.latestVersion!==n;return r(a,{class:e(t.class,`gap-6`),children:[r(E,{header:`App version`,currentValue:n,latestValue:t.latestVersion,loading:t.loading}),r(P,{}),r(O,{prefix:`Latest version`,value:k(t.latestVersion),loading:t.loading}),i&&r(A,{})]})}function P(){let{frontendVersion:e,versionsOnLastUpdate:t}=d();return r(a,{class:`gap-4`,children:[r(n,{children:[`Current version: `,k(e)]}),r(a,{class:`gap-3`,children:[r(n,{style:`small-weak`,children:[`Server version: `,k(t.serverVersion)]}),r(n,{style:`small-weak`,children:[`CoreQuery version: `,t.corequeryPackageVersion]})]})]})}function F(t){let{foda:i}=l();return r(a,{class:e(t.class,`gap-6`),children:[r(E,{header:`Foundational data`,currentValue:i.hash,latestValue:t.latestVersion,loading:t.loading}),r(a,{class:`gap-4`,children:[r(n,{children:[`Current version: `,k(i.hash)]}),r(n,{style:`small-weak`,children:[`Server version: `,k(i.serverVersion)]})]}),r(O,{prefix:`Latest version`,value:k(t.latestVersion),loading:t.loading})]})}function I(t){return r(a,{class:e(t.class,`gap-6`),children:[r(n,{style:`strong`,children:`Server`}),t.error!=null&&r(C,{type:`error`,children:r(n,{children:`An error occurred while fetching the latest version info from the server.`})}),r(a,{class:`gap-4 empty:hidden`,children:[r(O,{prefix:`Server version`,value:k(t.serverVersion),loading:t.loading}),r(O,{prefix:`CoreQuery version`,value:t.corequeryPackageVersion,loading:t.loading})]})]})}function L(e){return e<2e3?`${e.toFixed(0)} bytes`:e<2e6?`${(e/1e3).toFixed(2)} KB`:e<2e9?`${(e/1e6).toFixed(2)} MB`:e<2e12?`${(e/1e9).toFixed(2)} GB`:`${(e/0xe8d4a51000).toFixed(2)} TB`}function R(){let[e,i]=s(null),[o,c]=s(!0),[l,u]=s(!1);t(()=>{async function e(){c(!0),u(!1);try{let e=await navigator.storage.estimate();i(e)}catch(e){console.warn(`An error occurred while retrieving storage metrics.`,e),u(!0)}finally{c(!1)}}e()},[]);let d=e?.usage==null?null:L(e.usage),f=e?.quota==null?null:L(e.quota);return r(a,{class:`gap-6`,children:[r(n,{style:`strong`,children:`On-device storage`}),l&&r(C,{type:`error`,children:r(n,{children:`An error occurred while retrieving storage metrics.`})}),r(a,{class:`gap-4 empty:hidden`,children:[r(O,{prefix:`Storage used`,value:d,loading:o}),r(O,{prefix:`Storage quota`,value:f,loading:o})]})]})}function z(){let{data:e,loading:t,error:i}=g(c,{});return r(b,{...x({title:`Developer info`}),children:r(a,{class:`px-4 py-8 gap-8`,children:[i!=null&&r(C,{type:`error`,children:r(n,{children:`An error occurred while fetching the latest version info from the server.`})}),r(j,{latestVersion:e?.frontendVersion??null,loading:t}),r(S,{}),r(F,{latestVersion:e?.foundationalDataHash??null,loading:t}),r(S,{}),r(I,{serverVersion:e?.serverVersion??null,corequeryPackageVersion:e?.corequeryPackageVersion??null,loading:t,error:i}),r(S,{}),r(R,{}),r(S,{})]})})}export{z as default};
@@ -1 +0,0 @@
1
- import{c as e,l as t}from"./use-nav-exemptions-Daz3EeSR.js";function n(n){return t(`div`,{class:e(n.class,`border-b border-soft-border`)})}export{n as t};
@@ -1 +0,0 @@
1
- import{c as e,i as t,l as n,r}from"./use-nav-exemptions-Daz3EeSR.js";import{t as i}from"./MingcuteAlertLine-DxgntDGK.js";function a(a){let o=a.icon??i;return n(r,{class:e(a.class,`gap-3`),xAlign:`center`,children:[n(o,{class:`text-icon-xl text-fg`}),n(t,{align:`center`,children:a.text})]})}export{a as t};
@@ -1 +0,0 @@
1
- import{l as e,r as t}from"./use-nav-exemptions-Daz3EeSR.js";import{n}from"./use-foundational-data-DyAlFXWG.js";import{t as r}from"./Markdown-BY6JcM-Z.js";import{t as i}from"./Page-eZ-IZNxm.js";import{t as a}from"./use-simple-headers-BE9SwcPx.js";function o(){let{foda:o}=n();return e(i,{...a({title:`Home`}),children:e(t,{class:`px-4 py-8 gap-12`,children:e(r,{markdown:o.landingPage.primaryMarkdown})})})}export{o as default};
@@ -1 +0,0 @@
1
- import{_ as e,c as t,i as n,l as r,m as i,r as a,s as o,v as s,y as c}from"./use-nav-exemptions-Daz3EeSR.js";import{l}from"./use-api-DL13FmNZ.js";import{n as u}from"./use-foundational-data-DyAlFXWG.js";import{t as d}from"./scope-B-e4l8Dr.js";import{i as f,n as p,o as m,r as h,t as g}from"./linear-Ddr4Wd6S.js";import{t as _}from"./LinkText-Co4qc0dx.js";import{b as v,p as y,s as b}from"./index-uA8YIkaf.js";import{t as x}from"./Page-eZ-IZNxm.js";import{t as S}from"./use-simple-headers-BE9SwcPx.js";import{t as C}from"./Alert-CNaalIbn.js";import{t as w}from"./NotFoundPage-rabdgx0c.js";import{t as T}from"./Picker-k_4eWvu2.js";function E(e){throw Error(`Unexpected value: ${String(e)}`)}function D(i){let{foda:o}=u(),{appName:s}=v(),c=e(()=>i.fallbackStopList.map(e=>o.stops.require(e)).sort((e,t)=>e.name.localeCompare(t.name)),[o.stops,i.fallbackStopList]);return r(a,{class:t(i.class,`gap-6`),children:[r(n,{style:`subtitle`,children:`Stops`}),r(C,{type:`info`,children:r(a,{class:`gap-6`,children:[r(n,{children:[`A neat little diagram is also available for this line, but it's of a new type, and so requires a newer version of `,s,` to be able to view.`,` `]}),r(n,{style:`strong`,children:r(_,{href:`/debug`,children:`Help me update`})})]})}),r(`ul`,{class:`flex-col flex list-disc list-inside gap-4`,children:c.map((e,t)=>r(n,{children:r(`li`,{children:r(_,{href:`/stop/${e.urlPath}`,children:e.name})})},t))})]})}function O(e,t){return t.map(t=>{let i=e.stops.require(t.stopId),a=`/stop/${i.urlPath}`;if(t.type===`regular`)return{content:r(n,{style:`strong`,children:r(_,{href:a,style:`subtle`,children:i.name})})};if(t.type===`always-express`)return{content:r(n,{style:`small-weak`,children:r(_,{href:a,style:`subtle`,children:[`Skips `,i.name]})}),drawMark:!1};E(t.type)})}function k(t){let{foda:n}=u(),i=e(()=>({type:`linear`,stops:O(n,t.diagram.stops)}),[n,t.diagram.stops]);return r(g,{class:t.class,structure:i,lightThemeColorHexCode:t.diagram.color?.lightModeHexCode??null,darkThemeColorHexCode:t.diagram.color?.darkModeHexCode??null})}var A=10,j=15,M=class extends h{_onRenderStructure(){let{commonStops:e,branchAStops:t,branchBStops:n}=this.data.structure,{x:r,y:i}=this._measure();this._renderSection({stops:e,x:r.common,yLevels:i.common.all,terminatesAtTop:!0,terminatesAtBottom:!1,notchSide:`right`}),this._renderSection({stops:t,x:r.branchA,yLevels:i.branchA.all,terminatesAtTop:!1,terminatesAtBottom:!0,notchSide:`left`}),this._renderSection({stops:n,x:r.branchB,yLevels:i.branchB.all,terminatesAtTop:!1,terminatesAtBottom:!0,notchSide:`right`}),this._drawLine(e=>{e.moveTo(r.common,i.common.bottom),e.lineTo(r.common,i.common.bottom+A),e.bezierCurveTo(r.common,i.common.bottom+j+A,r.branchA,i.branches.top-j,r.branchA,i.branches.top),e.lineTo(r.branchA,i.branchA.top),e.moveTo(r.common,i.common.bottom+A),e.bezierCurveTo(r.common,i.common.bottom+j+A,r.branchB,i.branches.top-j,r.branchB,i.branches.top),e.lineTo(r.branchB,i.branchA.top)})}_measure(){let{commonStops:e,branchAStops:t,branchBStops:n}=this.data.structure,r=this._extractYLevels(e,N),i=d(r[0]),a=d(r[r.length-1]),o=this._extractYLevels(t,P),s=d(o[0]),c=d(o[o.length-1]),l=this._extractYLevels(n,F),u=d(l[0]),f=d(l[l.length-1]);return{x:{common:this.width/2,branchA:8,branchB:this.width-8},y:{common:{all:r,top:i,bottom:a},branchA:{all:o,top:s,bottom:c},branchB:{all:l,top:u,bottom:f},branches:{top:Math.min(s,u),bottom:Math.max(c,f)}}}}},N=`_diagram-common-stops`,P=`_diagram-branch-a-stops`,F=`_diagram-branch-b-stops`;function I(n){let{settings:i}=y(),s=e(()=>({structure:n.structure,lightThemeColorHexCode:n.lightThemeColorHexCode,darkThemeColorHexCode:n.darkThemeColorHexCode,colorTheme:i.theme}),[n.darkThemeColorHexCode,n.lightThemeColorHexCode,n.structure,i.theme]),l=c((e,t)=>new M(e,t),[]);return s.structure.commonStops.length<1||s.structure.branchAStops.length<1||s.structure.branchBStops.length<1?r(p,{}):r(o,{class:t(n.class,`grid-cols-[auto_auto_auto] grid-rows-[auto_auto] gap-y-8 gap-x-4`),children:[r(f,{class:`w-12 col-2 row-span-full`,createController:l,data:s}),r(a,{class:t(`gap-6 col-3 row-1 -ml-4`,N),xAlign:`left`,children:n.structure.commonStops.map((e,t)=>r(o,{children:e.content},t))}),r(a,{class:t(`gap-6 col-1 row-2`,P),xAlign:`right`,children:n.structure.branchAStops.map((e,t)=>r(o,{children:e.content},t))}),r(a,{class:t(`gap-6 col-3 row-2`,F),xAlign:`left`,children:n.structure.branchBStops.map((e,t)=>r(o,{children:e.content},t))})]})}function L(t){let{foda:n}=u(),i=e(()=>({type:`branch`,commonStops:O(n,t.diagram.commonStops),branchAStops:O(n,t.diagram.branchAStops),branchBStops:O(n,t.diagram.branchBStops)}),[n,t.diagram]);return r(I,{class:t.class,structure:i,lightThemeColorHexCode:t.diagram.color?.lightModeHexCode??null,darkThemeColorHexCode:t.diagram.color?.darkModeHexCode??null})}var R=10,z=15,B=24,V=1,H=class extends h{_onRenderStructure(){let{loopLeftStops:e,loopRightStops:t,mainStops:n}=this.data.structure,{x:r,y:i}=this._measure();if(e.length>0?this._renderSection({stops:e,x:r.loopLeft,yLevels:i.loopLeft.all,terminatesAtTop:!1,terminatesAtBottom:!1,notchSide:`left`}):this._drawLine(e=>{e.moveTo(r.loopLeft,i.loopLeft.top-V),e.lineTo(r.loopLeft,i.loopLeft.bottom+V)}),t.length>0?this._renderSection({stops:t,x:r.loopRight,yLevels:i.loopRight.all,terminatesAtTop:!1,terminatesAtBottom:!1,notchSide:`right`}):this._drawLine(e=>{e.moveTo(r.loopRight,i.loopRight.top-V),e.lineTo(r.loopRight,i.loopRight.bottom+V)}),n.length>0){let e=d(i.main.top);this._renderSection({stops:n,x:r.main,yLevels:i.main.all,terminatesAtTop:!1,terminatesAtBottom:!0,notchSide:`right`}),this._drawLine(t=>{t.moveTo(r.main,e),t.lineTo(r.main,e-R),t.bezierCurveTo(r.main,e-z-R,r.loopLeft,i.loop.bottom+z,r.loopLeft,i.loop.bottom),t.lineTo(r.loopLeft,i.loopLeft.bottom),t.moveTo(r.main,e-R),t.bezierCurveTo(r.main,e-z-R,r.loopRight,i.loop.bottom+z,r.loopRight,i.loop.bottom),t.lineTo(r.loopRight,i.loopRight.bottom)}),this.ctx.stroke()}else this._drawLine(e=>{e.moveTo(r.loopLeft,i.loopLeft.bottom),e.lineTo(r.loopLeft,i.loop.bottom),e.bezierCurveTo(r.loopLeft,i.loop.bottom+B,r.loopRight,i.loop.bottom+B,r.loopRight,i.loop.bottom),e.lineTo(r.loopRight,i.loopRight.bottom)});this._drawLine(e=>{e.moveTo(r.loopLeft,i.loopLeft.top),e.lineTo(r.loopLeft,i.loop.top),e.bezierCurveTo(r.loopLeft,i.loop.top-B,r.loopRight,i.loop.top-B,r.loopRight,i.loop.top),e.lineTo(r.loopRight,i.loopRight.top)})}_measure(){let{loopLeftStops:e,loopRightStops:t,mainStops:n}=this.data.structure,r=this._extractYLevels(e,W),i=this._extractYLevels(t,G),a=this._extractYLevels(n,U),o=r[0],s=i[0],c=r[r.length-1],l=i[i.length-1],u=d(o??s),f=d(s??o),p=d(c??l),m=d(l??c);return{x:{loopLeft:8,loopRight:this.width-8,main:this.width/2},y:{loopLeft:{all:r,top:u,bottom:p},loopRight:{all:i,top:f,bottom:m},main:{all:a,top:a[0]??null,bottom:a[a.length-1]??null},loop:{top:Math.min(u,f),bottom:Math.max(p,m)}}}}},U=`_diagram-main-stops`,W=`_diagram-loop-left-stops`,G=`_diagram-loop-right-stops`;function K(n){let{settings:i}=y(),s=e(()=>({structure:n.structure,lightThemeColorHexCode:n.lightThemeColorHexCode,darkThemeColorHexCode:n.darkThemeColorHexCode,colorTheme:i.theme}),[n.darkThemeColorHexCode,n.lightThemeColorHexCode,n.structure,i.theme]),l=c((e,t)=>new H(e,t),[]),{loopLeftStops:u,loopRightStops:d}=s.structure;return u.length+d.length<1?r(p,{}):r(o,{class:t(n.class,`grid-cols-[auto_auto_auto] grid-rows-[auto_auto] gap-x-4`),children:[r(f,{class:`w-12 col-2 row-span-full`,createController:l,data:s}),r(a,{class:t(`gap-6 col-1 row-1 py-4`,W),xAlign:`right`,yAlign:`center`,children:n.structure.loopLeftStops.map((e,t)=>r(o,{children:e.content},t))}),r(a,{class:t(`gap-6 col-3 row-1 py-4`,G),xAlign:`left`,yAlign:`center`,children:n.structure.loopRightStops.map((e,t)=>r(o,{children:e.content},t))}),r(a,{class:t(`gap-6 col-3 row-2 -ml-4`,U,{"pt-4":n.structure.mainStops.length>0}),xAlign:`left`,children:n.structure.mainStops.map((e,t)=>r(o,{children:e.content},t))})]})}function q(t){let{foda:n}=u(),i=e(()=>({type:`loop`,loopLeftStops:O(n,t.diagram.loopLeftStops),loopRightStops:O(n,t.diagram.loopRightStops),mainStops:O(n,t.diagram.mainStops)}),[n,t.diagram]);return r(K,{class:t.class,structure:i,lightThemeColorHexCode:t.diagram.color?.lightModeHexCode??null,darkThemeColorHexCode:t.diagram.color?.darkModeHexCode??null})}function J(e){return r(o,{class:t(e.class,`bg-bg-raised px-4 py-8 justify-center rounded-sm border border-soft-border`),children:r(Y,{diagram:e.diagram})})}function Y(e){if(e.diagram.type===`linear`)return r(k,{diagram:e.diagram});if(e.diagram.type===`branch`)return r(L,{diagram:e.diagram});if(e.diagram.type===`loop`)return r(q,{diagram:e.diagram});E(e.diagram)}function X(e){let i=e.diagram.entries.filter(e=>l(e.type));return i.length<e.diagram.entries.length?r(D,{fallbackStopList:e.diagram.fallbackStopList}):r(a,{class:t(e.class,`gap-6`),children:[r(n,{style:`subtitle`,children:`Diagram`}),i.length===1?r(J,{diagram:d(i[0])}):r(Z,{entries:i},i.length)]})}function Z(t){let[n,i]=s(0),o=e(()=>t.entries.map((e,t)=>({value:t.toFixed(),label:e.name??`Route ${t+1}`})),[t.entries]);return r(a,{class:`gap-4`,children:[r(T,{class:`self-start`,value:n.toFixed(),options:o,onChange:e=>{i(m(e))}}),r(J,{diagram:d(t.entries[n])})]})}function Q(){let{params:{id:t}}=i(),{foda:n}=u(),a=e(()=>n.lines.getByUrlPath(t??``),[n.lines,t]);return a==null?r(w,{afterConfirming:`foundational-data-version`}):r($,{line:a},a.id)}function $(e){let{formatLine:t}=b();return r(x,{...S({title:t(e.line.name),back:{href:`/`,text:`Home`}}),children:r(a,{class:`px-4 py-8 gap-8`,children:e.line.diagram.entries.length>0&&r(X,{diagram:e.line.diagram})})})}export{Q as default};
@@ -1 +0,0 @@
1
- import{i as e,l as t,r as n}from"./use-nav-exemptions-Daz3EeSR.js";import{t as r}from"./Page-eZ-IZNxm.js";function i(){return t(r,{mobileHeader:null,desktopHeader:null,children:t(n,{class:`px-4 py-8 gap-8`,children:t(e,{children:`Idk`})})})}export{i as default};
@@ -1 +0,0 @@
1
- import{l as e}from"./use-nav-exemptions-Daz3EeSR.js";import{t}from"./NotFoundPage-rabdgx0c.js";function n(){return e(t,{afterConfirming:`frontend-version`})}export{n as default};
@@ -1 +0,0 @@
1
- import{h as e,i as t,l as n,r,v as i}from"./use-nav-exemptions-Daz3EeSR.js";import{i as a}from"./use-api-DL13FmNZ.js";import{n as o}from"./use-foundational-data-DyAlFXWG.js";import{b as s,c,m as l,n as u,r as d,u as f,y as p}from"./index-uA8YIkaf.js";import{t as m}from"./Page-eZ-IZNxm.js";function h(e){let t=d(a,{}),n=g(e===`frontend-version`,t),r=_(e===`foundational-data-version`,t);return t.loading||n||r}function g(t,n){let{isHotReloadingEnabled:r}=u(),{frontendVersion:i}=s(),{unregister:a}=c(),o=t&&!r&&!n.loading&&n.error==null&&n.data!=null&&n.data.frontendVersion!==i;return e(()=>{if(!o)return;async function e(){await a(),window.location.reload()}e()},[o,a]),o}function _(t,n){let{foda:r,forceFodaUpdate:a}=o(),[s,c]=i(!1),[l,u]=i(!1),d=t&&!n.loading&&n.error==null&&n.data!=null&&n.data.foundationalDataHash!==r.hash;return e(()=>{if(!d)return;async function e(){u(!0);try{await a()}catch{console.warn(`Foundational data is outdated, but force update failed.`)}finally{c(!0),u(!1)}}e()},[d,a]),d&&!s||l}function v({afterConfirming:e}){return h(e)?n(m,{mobileHeader:null,desktopHeader:null,children:n(r,{xAlign:`center`,yAlign:`center`,children:n(p,{})})}):n(m,{mobileHeader:null,desktopHeader:null,children:n(r,{class:`px-4 py-8 gap-8`,xAlign:`center`,yAlign:`center`,children:[n(t,{style:`title`,align:`center`,children:`Page not found`}),n(t,{align:`center`,children:`This page doesn't exist, at least not anymore!`}),n(l,{href:`/`,text:`Go home`,icon:f})]})})}export{v as t};
@@ -1 +0,0 @@
1
- import{_ as e,c as t,i as n,l as r,m as i,r as a,s as o}from"./use-nav-exemptions-Daz3EeSR.js";import{o as s}from"./use-api-DL13FmNZ.js";import{n as c}from"./use-foundational-data-DyAlFXWG.js";import{a as l,t as u}from"./linear-Ddr4Wd6S.js";import{t as d}from"./LinkText-Co4qc0dx.js";import{g as f,m as p,u as m,y as h}from"./index-uA8YIkaf.js";import{t as g}from"./Page-eZ-IZNxm.js";import{t as _}from"./use-simple-headers-BE9SwcPx.js";import{t as v}from"./use-foda-synced-query-Df-foxd8.js";function y(n){let{foda:i}=c(),a=e(()=>({type:`linear`,stops:b(i,n.service.movements)}),[i,n.service.movements]);return r(o,{class:t(n.class),children:r(u,{class:n.class,structure:a,lightThemeColorHexCode:n.service.color?.lightModeHexCode??null,darkThemeColorHexCode:n.service.color?.darkModeHexCode??null})})}function b(e,t){return t.map(t=>{let i=e.stops.require(t.stopId),a=`/stop/${i.urlPath}`,o=t.arrivalTime==null?null:new Date(Date.parse(t.arrivalTime)).toLocaleString(),s=t.departureTime==null?null:new Date(Date.parse(t.departureTime)).toLocaleString();if(o==null&&s==null)return{content:r(n,{style:`small-weak`,children:r(d,{href:a,style:`subtle`,children:[`Skips `,i.name]})}),drawMark:!1};let c=s??o;return{content:r(f,{class:`gap-2 min-w-0`,children:[r(n,{style:`strong`,children:r(d,{href:a,style:`subtle`,children:i.name})}),r(n,{children:`•`}),r(n,{class:`shrink min-w-0`,oneLine:!0,children:c})]})}})}function x(){let{params:{sourceId:e,intrasourceId:t},query:{from:n}}=i(),{data:a,loading:o,error:c}=v(s,{sourceId:e??``,intrasourceId:t??``}),u=l(n??``);return o?r(C,{}):c!=null||a==null||u==null||u<0||a.service!=null&&u>a.service.movements.length-1?r(w,{}):a.service==null?r(T,{}):r(S,{service:a.service,movementIndex:u},`${e}/${t}`)}function S(e){return r(g,{..._({title:`${e.service.primaryDestinationText} service`,back:{href:`/`,text:`Home`}}),children:r(a,{class:`px-4 py-8 gap-8`,children:[r(y,{service:e.service}),r(n,{style:`small-narrow`,children:`(Real-time data has not been provided for all stops. Times marked with * are estimates, extrapolated from the available data.)`})]})})}function C(){return r(g,{..._({title:`Loading...`,back:{href:`/`,text:`Home`}}),children:r(h,{})})}function w(){return r(g,{..._({title:`Error`,back:{href:`/`,text:`Home`}}),children:r(n,{children:`Failed to load service.`})})}function T(){return r(g,{mobileHeader:null,desktopHeader:null,children:r(a,{class:`px-4 py-8 gap-8`,xAlign:`center`,yAlign:`center`,children:[r(n,{style:`title`,align:`center`,children:`Service not found`}),r(n,{align:`center`,children:`This can happen if the service was cancelled, or the timetable changed since this link was generated. You might be able to find it again by searching for one of the stops it departed from.`}),r(p,{href:`/`,text:`Go home`,icon:m})]})})}export{x as default};
@@ -1 +0,0 @@
1
- import{i as e,l as t,r as n}from"./use-nav-exemptions-Daz3EeSR.js";import{f as r,p as i}from"./index-uA8YIkaf.js";import{t as a}from"./Page-eZ-IZNxm.js";import{t as o}from"./use-simple-headers-BE9SwcPx.js";import{t as s}from"./Divider-C465PGQW.js";import{t as c}from"./Picker-k_4eWvu2.js";var l={auto:`Auto`,light:`Light`,dark:`Dark`},u=r.map(e=>({value:e,label:l[e]}));function d(e){let{settings:n,updateSettings:r}=i();return t(c,{class:e.class,value:n.theme,options:u,onChange:e=>{r(t=>t.with({theme:e}))}})}function f(){return t(a,{...o({title:`Settings`}),children:t(n,{class:`px-4 py-8 gap-8`,children:[t(n,{class:`gap-6`,children:[t(e,{style:`strong`,children:`Theme`}),t(e,{children:`"Auto" means the colour theme should follow your device's/browser's settings.`}),t(d,{class:`self-start`})]}),t(s,{}),t(e,{style:`small-weak`,children:`(Settings are saved to your device's/browser's local storage.)`})]})})}export{f as default};
@@ -1 +0,0 @@
1
- import{i as e,l as t,r as n}from"./use-nav-exemptions-Daz3EeSR.js";import{t as r}from"./Page-eZ-IZNxm.js";import{t as i}from"./use-simple-headers-BE9SwcPx.js";function a(){return t(r,{...i({title:`Status`}),children:t(n,{class:`px-4 py-8 gap-8`,children:t(e,{children:`LGTM`})})})}export{a as default};
@@ -1,11 +0,0 @@
1
- import{C as e,_ as t,a as n,c as r,i,l as a,m as o,n as s,o as c,r as l,s as u}from"./use-nav-exemptions-Daz3EeSR.js";import{u as d}from"./use-api-DL13FmNZ.js";import{n as f}from"./use-foundational-data-DyAlFXWG.js";import{a as p,g as m,h,m as g,o as _,s as v,t as y,y as b}from"./index-uA8YIkaf.js";import{t as x}from"./Page-eZ-IZNxm.js";import{n as S,t as C}from"./SimpleMobileHeaderContent-BZ-z0X3U.js";import{t as w}from"./NotFoundPage-rabdgx0c.js";import{t as T}from"./ErrorMessage-Mp0VVnTj.js";import{t as E}from"./use-foda-synced-query-Df-foxd8.js";function D(e,t){return(e%t+t)%t}function O(e){return{hour:D(e-1,12)+1,half:e<12?`am`:`pm`}}function k(e){return{hideMobileHeaderWhenScrolledToTop:!0,mobileHeader:a(C,{title:e.title,backHref:e.back?.href??null}),agnosticHeader:a(u,{class:`not-desktop:bg-bg-navbar not-desktop:border-b not-desktop:border-soft-border`,children:a(s,{children:a(u,{class:`not-desktop:px-4 desktop:mx-4 desktop:border-b desktop:border-soft-border`,children:a(l,{class:r(`gap-8`,{"pt-4 pb-6 desktop:pt-6":e.back!=null,"py-6 desktop:pt-8":e.back==null,"desktop:pb-4":e.additionalContent==null}),children:[e.back!=null&&a(g,{text:e.back.text,href:e.back.href,icon:S,class:`self-start`,layout:`narrow-icon`}),a(l,{class:`gap-4`,children:[a(i,{style:`megatitle`,children:e.title}),e.additionalContent]})]})})})})}}function A(e){return a(`svg`,{class:r(e.class,`text-fg _dynamic-live-icon`),style:n(e.dynamicColor),xmlns:`http://www.w3.org/2000/svg`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,children:[a(`path`,{style:`
2
- fill: none;
3
- stroke: currentColor;
4
- stroke-width: 4;
5
- stroke-linecap: round;
6
- `,d:`M 4,4 A 16,16 0 0 1 20,20`,class:`outer`}),a(`path`,{style:`
7
- fill: none;
8
- stroke: currentColor;
9
- stroke-width: 4;
10
- stroke-linecap: round;
11
- `,d:`M 4,12 A 8,8 0 0 1 12,20`,class:`inner`})]})}function j(e){return a(m,{class:r(e.class,`relative gap-1`),children:[e.timeStrings.struckout!=null&&a(i,{style:`struckout-on-raised`,children:e.timeStrings.struckout}),a(i,{style:`strong`,dynamicColor:e.serviceColor,children:e.timeStrings.primary}),e.timeType!==`scheduled-time`&&a(A,{dynamicColor:e.serviceColor,class:`absolute -right-2.5 -top-1.75 text-icon-xs`})]})}function M(t){return a(m,{class:r(t.class,`gap-1`),children:[t.timeStrings.delay!=null&&a(e,{children:[a(N,{delay:t.timeStrings.delay}),a(i,{style:`small-narrow`,children:`•`})]}),t.timeStrings.schedule==null?a(_,{style:`small-narrow`,lineIds:t.lineIds}):a(i,{style:`small-narrow`,class:`shrink min-w-0`,oneLine:!0,children:[`Scheduled for `,t.timeStrings.schedule]})]})}function N(e){let t={green:`small-narrow-strong-success`,yellow:`small-narrow-strong-warning`,red:`small-narrow-strong-error`}[e.delay.color];return a(i,{style:t,children:e.delay.text})}function P(e){let{foda:n}=f(),{positionIndicatorHeader:o}=v(),s=t(()=>e.positionId==null?null:n.stops.require(e.stopId).positions.require(e.positionId).name,[n,e.stopId,e.positionId]);return s==null?null:a(l,{yAlign:`space-between`,class:r(e.class,`border-2 px-1.5 py-1 border-soft-border rounded-sm h-8.5 min-w-10`),children:[a(i,{style:`tiny-narrow`,align:`center`,children:o}),a(i,{style:`strong`,align:`center`,children:s})]})}var F=3.5;function I(e){let{currentMinute:n}=y(),{foda:o}=f(),s=t(()=>e.departure.getTimeStrings(n,o.formatTimezone),[e.departure,n,o.formatTimezone]);return a(l,{class:r(e.class,`h-14 min-w-0`),yAlign:`space-between`,children:[a(m,{xAlign:`space-between`,class:`gap-2 `,children:[a(m,{yAlign:`bottom`,class:`gap-1 shrink min-w-0`,children:[a(i,{style:`strong`,dynamicColor:e.departure.color,children:e.departure.primaryDestinationText}),e.departure.secondaryDestinationText!=null&&a(i,{style:`small-narrow`,class:`shrink min-w-0`,dynamicColor:e.departure.color,oneLine:!0,children:e.departure.secondaryDestinationText})]}),a(j,{timeType:e.departure.timeType,timeStrings:s,serviceColor:e.departure.color})]}),a(m,{xAlign:`space-between`,yAlign:`bottom`,children:[a(l,{class:`gap-3 min-w-0 shrink`,children:[a(i,{style:`small-narrow`,oneLine:!0,children:`The stopping pattern goes here`}),a(M,{timeStrings:s,lineIds:e.departure.lineIds})]}),a(P,{class:`-mb-0.5`,stopId:e.departure.stopId,positionId:e.departure.positionId})]})]})}function L(e){return a(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,...e,children:a(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`,d:`M9.343 6.343L15 12l-5.657 5.657`})})}var R=F+2;function z(e){return a(h,{class:r(e.class),href:e.departure.servicePageUrl,children:a(u,{class:`grid-cols-[1fr_auto] p-4 items-center pr-2 gap-2`,children:[a(I,{departure:e.departure}),a(L,{class:`text-icon-lg text-fg`})]})})}function B(e){return a(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,...e,children:a(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`,d:`M11 20H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v4H4m12-7v2M8 4v2m12.121 9.879L18 18m0 0l-2.121 2.121M18 18l-2.121-2.121M18 18l2.121 2.121`})})}function ee(e){let{pluralServicesTerm:t}=v();return e.loading?a(V,{class:e.class,queryCount:e.queryCount,centerContent:!0,children:a(b,{})}):e.hadError?a(V,{class:r(e.class,`gap-2`),queryCount:e.queryCount,centerContent:!0,children:a(T,{text:`An error occurred while retrieving departures`})}):e.departures.length===0?a(V,{class:e.class,queryCount:e.queryCount,centerContent:!0,children:a(T,{text:`No ${t} scheduled`,icon:B})}):a(V,{class:e.class,queryCount:e.queryCount,children:e.departures.map((t,n)=>a(u,{class:`relative`,children:[a(z,{departure:t}),n<e.queryCount-1&&a(`hr`,{class:`border-soft-border absolute bottom-0 left-0 right-0 mx-4`})]},H(t)))})}function V(e){let t=e.centerContent??!1;return a(l,{class:e.class,xAlign:t?`center`:`stretch`,yAlign:t?`center`:`top`,dynamicMinHeightRem:R*e.queryCount,children:e.children})}function H(e){return`${e.sourceId}/${e.intrasourceId}/${e.movementIndex}`}function U(e){return a(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,...e,children:a(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`,d:`m4 20l5-5m0 0l3.956 3.956a1 1 0 0 0 1.626-.314l2.255-5.261a1 1 0 0 1 .548-.535l3.207-1.283a1 1 0 0 0 .336-1.635l-6.856-6.856a1 1 0 0 0-1.635.336l-1.283 3.207a1 1 0 0 1-.535.548L5.358 9.418a1 1 0 0 0-.314 1.626z`})})}function W(e){return a(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,...e,children:a(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`,d:`M9 20H4v-5m0 5l6.5-6.5M15 4h5v5m0-5l-6.5 6.5`})})}function G(e){return a(l,{class:r(e.class,`min-w-0`),children:[a(m,{xAlign:`space-between`,yAlign:`center`,class:`gap-2 not-desktop:pl-4 not-desktop:pr-2 not-desktop:pt-6 pb-2`,children:[a(i,{style:`subtitle`,class:`shrink min-w-0`,oneLine:!0,children:e.feed.title}),a(m,{class:`gap-2`,children:[a(g,{theme:`hover`,icon:U}),a(g,{theme:`hover`,icon:W})]})]}),a(ee,{class:`bg-bg-raised desktop:border not-desktop:border-y border-soft-border desktop:rounded-lg overflow-hidden box-content`,departures:e.departures,queryCount:e.feed.desiredCount,loading:e.loading,hadError:e.hadError})]})}function K(e,{includeSeconds:t=!1}={}){let n=O(e.hour),r=n.hour.toFixed(),i=e.minute.toFixed().padStart(2,`0`),a=n.half;return t?`${r}:${i}:${e.second.toFixed().padStart(2,`0`)}${a}`:`${r}:${i}${a}`}function q(e,{suppressAgo:t=!1}={}){let n=e.sign===-1,{days:r,hours:i,minutes:a,seconds:o}=e.abs().round({largestUnit:`day`,smallestUnit:`second`}),s=[];r!==0&&s.push(r===1?`1 day`:`${r.toFixed()} days`),i!==0&&s.push(i===1?`1 hr`:`${i.toFixed()} hrs`),a!==0&&s.push(a===1?`1 min`:`${a.toFixed()} mins`),(o!==0||s.length===0)&&s.push(o===1?`1 sec`:`${o.toFixed()} secs`);let c=n&&!t;return s.join(`, `)+(c?` ago`:``)}function J(e,{includeYear:t=!1}={}){let n=e.toLocaleString(`en-US`,{weekday:`short`}),r=e.toLocaleString(`en-US`,{month:`short`});return`${n}, ${e.day.toFixed()} ${r}${t?` ${e.year.toFixed()}`:``}`}function Y(e,t,{suppressEarlierToday:n=!1}={}){let r=e.toPlainTime(),i=e.toPlainDate(),a=t.toPlainTime(),o=t.toPlainDate(),s=K(r),c=i.since(o).days;return c===0?Temporal.PlainTime.compare(r,a)<=0&&!n?`${s} earlier today`:s:c===1?r.hour<=2?`${s} tonight`:`${s} tomorrow`:c===-1?`${s} yesterday`:c>1&&c<7?`${s} ${i.toLocaleString(`en-US`,{weekday:`long`})}`:c<-1&&c>=-7?`${s} last ${i.toLocaleString(`en-US`,{weekday:`long`})}`:`${s} (${J(i)})`}var X=class e{primary;struckout;delay;schedule;constructor(e){this.primary=e.primary,this.struckout=e.struckout,this.delay=e.delay,this.schedule=e.schedule}static build(t,n,r){let{time:i,formerTime:a,timeType:o}=t,s=Y(this._inFormatTimezone(i,r),this._inFormatTimezone(n,r));if(o===`scheduled-time`||a==null)return new e({primary:s,struckout:null,delay:null,schedule:null});let c=i.since(n),l=this._getDelay(i.since(a));if(c.total({unit:`minutes`})>60)return new e({primary:s,struckout:null,delay:l,schedule:null});let u=a.since(n),d=this._formatDurationWithNow(c),f=this._formatDurationWithNow(u);return new e({primary:d,struckout:d===f?null:f,delay:l,schedule:s})}static _getDelay(e){let t=e.total({unit:`minutes`}),n=q(e,{suppressAgo:!0});return t<0?{text:`${n} early`,color:`green`}:t===0?{text:`On time`,color:`green`}:{text:`${n} late`,color:this._getDelayColor(t)}}static _getDelayColor(e){return e<3?`green`:e<15?`yellow`:`red`}static _formatDurationWithNow(e){return e.sign>=0&&e.total({unit:`minutes`})<1?`Now`:q(e)}static _inFormatTimezone(e,t){return e.toZonedDateTimeISO(t).toPlainDateTime()}},Z=class e{sourceId;intrasourceId;lineIds;primaryDestinationText;secondaryDestinationText;color;stopId;positionId;timeType;time;formerTime;movementIndex;constructor(e){this.sourceId=e.sourceId,this.intrasourceId=e.intrasourceId,this.lineIds=e.lineIds,this.primaryDestinationText=e.primaryDestinationText,this.secondaryDestinationText=e.secondaryDestinationText,this.color=e.color,this.stopId=e.stopId,this.positionId=e.positionId,this.timeType=e.timeType,this.time=e.time,this.formerTime=e.formerTime,this.movementIndex=e.movementIndex}get servicePageUrl(){return`/service/${encodeURIComponent(this.sourceId)}/${encodeURIComponent(this.intrasourceId)}?from=${encodeURIComponent(this.movementIndex.toString())}`}getTimeStrings(e,t){return X.build(this,e,t)}static wrap(t,n){return new e({sourceId:n.sourceId,intrasourceId:n.intrasourceId,lineIds:n.lineIds,primaryDestinationText:n.primaryDestinationText,secondaryDestinationText:n.secondaryDestinationText,color:n.color,stopId:t,positionId:n.movement.positionId??null,timeType:n.movement.timeType,time:Temporal.Instant.from(n.movement.time),formerTime:n.movement.formerTime==null?null:Temporal.Instant.from(n.movement.formerTime),movementIndex:n.movement.index})}static wrapAll(t,n){return n?.map(n=>e.wrap(t,n))??[]}};function Q(e){let{data:n,loading:i,error:o}=E(d,{instant:e.instant.toString(),direction:`forwards`,feeds:e.feeds.map(e=>({...e,skips:[]}))}),s=t(()=>e.feeds.map((e,t)=>({feed:e,departures:Z.wrapAll(e.stopId,n?.feeds[t]?.departures)})),[e.feeds,n]);return a(u,{class:r(e.class,`desktop:grid-cols-[1fr_1fr] desktop:gap-6 desktop:px-4 desktop:py-8`),children:s.map((e,t)=>a(G,{feed:e.feed,departures:e.departures,loading:i,hadError:o!=null,class:`not-desktop:last:-mb-px`},t))})}function $(e){return a(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,...e,children:a(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`,d:`M17.657 9.343L12 15L6.343 9.343`})})}function te(e){return a(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,...e,children:a(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`,d:`M12 7v5l3 3m6-3a9 9 0 1 1-18 0a9 9 0 0 1 18 0`})})}function ne(e){return a(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`1em`,height:`1em`,viewBox:`0 0 24 24`,...e,children:a(`path`,{fill:`none`,stroke:`currentColor`,"stroke-linejoin":`round`,"stroke-width":`2`,d:`M19.5 4h-15a.5.5 0 0 0-.5.5v2.086a1 1 0 0 0 .293.707L10 13v5.691a.5.5 0 0 0 .276.447L14 21v-8l5.707-5.707A1 1 0 0 0 20 6.586V4.5a.5.5 0 0 0-.5-.5Z`})})}function re(e){return a(u,{class:`desktop:pt-6 desktop:px-4`,children:a(u,{class:r(e.class,`grid-cols-[1fr_1fr] desktop:max-w-150 bg-bg-raised divide-x divide-soft-border desktop:border not-desktop:border-b border-soft-border desktop:rounded-lg overflow-hidden`),children:[a(h,{children:a(m,{xAlign:`space-between`,yAlign:`center`,class:`p-4`,children:[a(m,{yAlign:`center`,class:`gap-2`,children:[a(p,{heightRem:c(`text-md`),children:a(te,{class:`text-icon-lg text-fg`})}),a(i,{children:`Now`})]}),a(p,{heightRem:c(`text-md`),children:a($,{class:`text-icon-lg text-fg`})})]})}),a(h,{children:a(m,{xAlign:`space-between`,yAlign:`center`,class:`p-4`,children:[a(m,{yAlign:`center`,class:`gap-2`,children:[a(p,{heightRem:c(`text-md`),children:a(ne,{class:`text-icon-lg text-fg`})}),a(i,{children:`All trains`})]}),a(p,{heightRem:c(`text-md`),children:a($,{class:`text-icon-lg text-fg`})})]})})]})})}function ie(){let{params:{id:e}}=o(),{foda:n}=f(),r=t(()=>n.stops.getByUrlPath(e??``),[n.stops,e]);return r==null?a(w,{afterConfirming:`foundational-data-version`}):a(ae,{stop:r},r.id)}function ae(e){let{currentMinute:t}=y(),n=e.stop.defaultDepartureFeeds.map(t=>({title:t.name,stopId:e.stop.id,desiredCount:t.desiredCount,filterExpression:`${t.filterExpression} !arr !sdo`.trim()}));return a(x,{...k({title:e.stop.name,back:{href:`/`,text:`Home`},additionalContent:a(_,{lineIds:e.stop.canonicalLinesServingStop,withLinks:!0})}),children:a(l,{children:[a(re,{}),a(Q,{feeds:n,instant:t})]})})}export{ie as default};
@@ -1 +0,0 @@
1
- import{c as e,l as t}from"./use-nav-exemptions-Daz3EeSR.js";function n(n){return t(`strong`,{class:e(n.class,`text-fg-strong`),children:n.children})}export{n as t};
@@ -1 +0,0 @@
1
- import{i as e,l as t,r as n}from"./use-nav-exemptions-Daz3EeSR.js";import{t as r}from"./Strong-DYvq_eAK.js";import{t as i}from"./Page-eZ-IZNxm.js";import{t as a}from"./use-simple-headers-BE9SwcPx.js";function o(){return t(i,{...a({title:`Zen mode`}),children:t(n,{class:`px-4 py-8 gap-8`,children:t(e,{children:[t(r,{children:`✨`}),` Zen! `,t(r,{children:`✨`})]})})})}export{o as default};
@@ -1,2 +0,0 @@
1
- /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
2
- @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-x-reverse:0;--tw-border-style:solid;--tw-font-weight:initial;--tw-duration:initial}}}@layer theme{:root,:host{--default-font-family:"Mona Sans", system-ui, sans-serif;--spacing:.25rem;--text-xs:.6rem;--text-sm:.75rem;--text-md:.9rem;--text-mdlg:1rem;--text-lg:1.1rem;--text-xl:1.25rem;--text-2xl:1.75rem;--text-icon-xs:.7rem;--text-icon-md:1rem;--text-icon-lg:1.25rem;--text-icon-xl:1.5rem;--font-weight-normal:400;--font-weight-bold:700;--radius-sm:.25rem;--radius-lg:.75rem;--color-bg:#e9edf3;--color-bg-raised:#f5f6fa;--color-bg-navbar:#fff;--color-fg:#000714cc;--color-fg-strong:#000;--color-fg-weak:#000e2999;--color-fg-weak-on-raised:#626a7d;--color-accent:#1773cf;--color-accent-hover:#1a80e6;--color-accent-active:#1466b8;--color-accent-text:#06c;--color-soft-accent:#1773cf26;--color-on-accent:#fff;--color-soft:#001e5a1f;--color-soft-hover:#001f5e14;--color-soft-active:#001d5629;--color-soft-border:#c2c9d6;--color-soft-border-disabled:#d1d6e0;--color-placeholder:#0018474d;--color-error:#a11212;--color-error-hover:#b81414;--color-error-active:#8a0f0f;--color-error-text:#b30000;--color-soft-error:#b3000026;--color-on-error:#fff;--color-warning:#b88114;--color-warning-hover:#cf9117;--color-warning-active:#a17112;--color-warning-text:#b37700;--color-soft-warning:#e6990033;--color-on-warning:#fff;--color-success:#1f7a2e;--color-success-hover:#248f36;--color-success-active:#196626;--color-success-text:#1f7a2e;--color-soft-success:#00991926;--color-on-success:#fff;--animate-placeholder-pulse:placeholder-pulse 1s ease-in-out infinite}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}svg._loading-spinner{animation:1s ease-out infinite loading-spinner-flip}._loading-spinner>circle:nth-child(2){transform-origin:25% 25%;animation:1s linear infinite loading-spinner-pulse}._loading-spinner>circle:nth-child(3){transform-origin:75% 25%;animation:1s linear .1s infinite loading-spinner-pulse}._loading-spinner>circle:nth-child(4){transform-origin:75% 75%;animation:1s linear .2s infinite loading-spinner-pulse}._loading-spinner>circle:nth-child(5){transform-origin:25% 75%;animation:1s linear .3s infinite loading-spinner-pulse}@keyframes loading-spinner-pulse{0%{transform:scale(1)}10%{transform:scale(2)}30%{transform:scale(1)}}@keyframes loading-spinner-flip{0%{transform:rotate(0)}60%{transform:rotate(0)}to{transform:rotate(180deg)}}._dynamic-live-icon>:first-child{stroke-opacity:0;animation:2s linear .25s infinite dynamic-live-icon-pulse}._dynamic-live-icon>:nth-child(2){stroke-opacity:0;animation:2s linear infinite dynamic-live-icon-pulse}@keyframes dynamic-live-icon-pulse{0%{stroke-opacity:0}20%{stroke-opacity:1}40%{stroke-opacity:0}to{stroke-opacity:0}}*{flex-shrink:0}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.-top-1\.75{top:calc(var(--spacing) * -1.75)}.top-0{top:0}.top-1{top:var(--spacing)}.top-\[50\%\]{top:50%}.-right-2\.5{right:calc(var(--spacing) * -2.5)}.right-0{right:0}.right-3{right:calc(var(--spacing) * 3)}.bottom-0{bottom:0}.left-0{left:0}.left-4{left:calc(var(--spacing) * 4)}.z-0{z-index:0}.z-1{z-index:1}.col-1{grid-column:1}.col-2{grid-column:2}.col-3{grid-column:3}.col-start-2{grid-column-start:2}.row-1{grid-row:1}.row-2{grid-row:2}.row-span-full{grid-row:1/-1}.container{width:100%}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}.mx-4{margin-inline:calc(var(--spacing) * 4)}.-my-\[0\.13em\]{margin-block:-.13em}.mt-8{margin-top:calc(var(--spacing) * 8)}.mt-12{margin-top:calc(var(--spacing) * 12)}.mt-\[-0\.38em\]{margin-top:-.38em}.mr-4{margin-right:calc(var(--spacing) * 4)}.-mb-0\.5{margin-bottom:calc(var(--spacing) * -.5)}.mb-\[-0\.38em\]{margin-bottom:-.38em}.-ml-4{margin-left:calc(var(--spacing) * -4)}.box-content{box-sizing:content-box}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.h-2{height:calc(var(--spacing) * 2)}.h-3{height:calc(var(--spacing) * 3)}.h-5{height:calc(var(--spacing) * 5)}.h-8{height:calc(var(--spacing) * 8)}.h-8\.5{height:calc(var(--spacing) * 8.5)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-14{height:calc(var(--spacing) * 14)}.h-18{height:calc(var(--spacing) * 18)}.h-24{height:calc(var(--spacing) * 24)}.h-32{height:calc(var(--spacing) * 32)}.h-\[1em\]{height:1em}.h-full{height:100%}.h-svh{height:100svh}.max-h-\[calc\(100vh-12rem\)\]{max-height:calc(100vh - 12rem)}.min-h-8{min-height:calc(var(--spacing) * 8)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-svh{min-height:100svh}.w-2{width:calc(var(--spacing) * 2)}.w-4{width:calc(var(--spacing) * 4)}.w-12{width:calc(var(--spacing) * 12)}.w-24{width:calc(var(--spacing) * 24)}.w-\[1em\]{width:1em}.w-\[20\%\]{width:20%}.w-\[30\%\]{width:30%}.w-\[40\%\]{width:40%}.w-\[50\%\]{width:50%}.w-\[60\%\]{width:60%}.w-\[80\%\]{width:80%}.w-full{width:100%}.w-svw{width:100svw}.max-w-full{max-width:100%}.min-w-0{min-width:0}.min-w-5{min-width:calc(var(--spacing) * 5)}.min-w-8{min-width:calc(var(--spacing) * 8)}.min-w-10{min-width:calc(var(--spacing) * 10)}.min-w-min{min-width:min-content}.shrink{flex-shrink:1}.grow{flex-grow:1}.-translate-y-4{--tw-translate-y:calc(var(--spacing) * -4);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-\[-50\%\]{--tw-translate-y:-50%;translate:var(--tw-translate-x) var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-placeholder-pulse{animation:var(--animate-placeholder-pulse)}.resize{resize:both}.list-inside{list-style-position:inside}.list-disc{list-style-type:disc}.grid-cols-\[0px_1fr_0px\]{grid-template-columns:0 1fr 0}.grid-cols-\[1fr_1fr\]{grid-template-columns:1fr 1fr}.grid-cols-\[1fr_auto\]{grid-template-columns:1fr auto}.grid-cols-\[auto_1fr\]{grid-template-columns:auto 1fr}.grid-cols-\[auto_auto_auto\]{grid-template-columns:auto auto auto}.grid-cols-\[repeat\(auto-fit\,minmax\(0\,1fr\)\)\]{grid-template-columns:repeat(auto-fit,minmax(0,1fr))}.grid-rows-\[auto_auto\]{grid-template-rows:auto auto}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-1{gap:var(--spacing)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-12{gap:calc(var(--spacing) * 12)}.gap-16{gap:calc(var(--spacing) * 16)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-8{row-gap:calc(var(--spacing) * 8)}:where(.divide-x>:not(:last-child)){--tw-divide-x-reverse:0;border-inline-style:var(--tw-border-style);border-inline-start-width:calc(1px * var(--tw-divide-x-reverse));border-inline-end-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}:where(.divide-soft-border>:not(:last-child)){border-color:var(--color-soft-border)}.self-center{align-self:center}.self-start{align-self:flex-start}.overflow-hidden{overflow:hidden}.overflow-y-scroll{overflow-y:scroll}.rounded-full{border-radius:2147483647px}.rounded-sm{border-radius:var(--radius-sm)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-y-2{border-block-style:var(--tw-border-style);border-block-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-none{--tw-border-style:none;border-style:none}.border-accent{border-color:var(--color-accent)}.border-soft-border{border-color:var(--color-soft-border)}.border-y-transparent{border-block-color:#0000}.border-b-accent{border-bottom-color:var(--color-accent)}.border-b-soft-border{border-bottom-color:var(--color-soft-border)}.bg-accent{background-color:var(--color-accent)}.bg-bg{background-color:var(--color-bg)}.bg-bg-navbar{background-color:var(--color-bg-navbar)}.bg-bg-raised{background-color:var(--color-bg-raised)}.bg-error-text{background-color:var(--color-error-text)}.bg-placeholder{background-color:var(--color-placeholder)}.bg-soft-accent{background-color:var(--color-soft-accent)}.bg-soft-error{background-color:var(--color-soft-error)}.bg-soft-success{background-color:var(--color-soft-success)}.bg-soft-warning{background-color:var(--color-soft-warning)}.bg-success-text{background-color:var(--color-success-text)}.bg-transparent{background-color:#0000}.bg-warning-text{background-color:var(--color-warning-text)}.p-4{padding:calc(var(--spacing) * 4)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-6{padding-inline:calc(var(--spacing) * 6)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-4\.5{padding-block:calc(var(--spacing) * 4.5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-8{padding-block:calc(var(--spacing) * 8)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-6{padding-top:calc(var(--spacing) * 6)}.pt-8{padding-top:calc(var(--spacing) * 8)}.pt-14{padding-top:calc(var(--spacing) * 14)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pr-4{padding-right:calc(var(--spacing) * 4)}.pb-1\.5{padding-bottom:calc(var(--spacing) * 1.5)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-6{padding-bottom:calc(var(--spacing) * 6)}.pl-2{padding-left:calc(var(--spacing) * 2)}.pl-12{padding-left:calc(var(--spacing) * 12)}.text-center{text-align:center}.text-justify{text-align:justify}.text-left{text-align:left}.text-right{text-align:right}.text-2xl{font-size:var(--text-2xl)}.text-icon-lg{font-size:var(--text-icon-lg)}.text-icon-md{font-size:var(--text-icon-md)}.text-icon-xl{font-size:var(--text-icon-xl)}.text-icon-xs{font-size:var(--text-icon-xs)}.text-lg{font-size:var(--text-lg)}.text-md{font-size:var(--text-md)}.text-mdlg{font-size:var(--text-mdlg)}.text-sm{font-size:var(--text-sm)}.text-xl{font-size:var(--text-xl)}.text-xs{font-size:var(--text-xs)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.text-accent-text{color:var(--color-accent-text)}.text-error-text{color:var(--color-error-text)}.text-fg{color:var(--color-fg)}.text-fg-strong{color:var(--color-fg-strong)}.text-fg-weak{color:var(--color-fg-weak)}.text-fg-weak-on-raised{color:var(--color-fg-weak-on-raised)}.text-success-text{color:var(--color-success-text)}.text-warning-text{color:var(--color-warning-text)}.italic{font-style:italic}.font-stretch-semi-condensed{font-stretch:87.5%}.line-through{text-decoration-line:line-through}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-97{opacity:.97}.transition-\[opacity\,visibility\,translate\]{transition-property:opacity,visibility,translate;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-\[opacity\,visibility\]{transition-property:opacity,visibility;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.\[--color-fg-strong\:var\(--color-accent-text\)\]{--color-fg-strong:var(--color-accent-text)}.\[--color-fg-strong\:var\(--color-error-text\)\]{--color-fg-strong:var(--color-error-text)}.\[--color-fg-strong\:var\(--color-on-accent\)\]{--color-fg-strong:var(--color-on-accent)}.\[--color-fg-strong\:var\(--color-success-text\)\]{--color-fg-strong:var(--color-success-text)}.\[--color-fg-strong\:var\(--color-warning-text\)\]{--color-fg-strong:var(--color-warning-text)}.\[--color-fg-weak\:var\(--color-accent-text\)\]{--color-fg-weak:var(--color-accent-text)}.\[--color-fg-weak\:var\(--color-error-text\)\]{--color-fg-weak:var(--color-error-text)}.\[--color-fg-weak\:var\(--color-on-accent\)\]{--color-fg-weak:var(--color-on-accent)}.\[--color-fg-weak\:var\(--color-success-text\)\]{--color-fg-weak:var(--color-success-text)}.\[--color-fg-weak\:var\(--color-warning-text\)\]{--color-fg-weak:var(--color-warning-text)}.\[--color-fg\:var\(--color-accent-text\)\]{--color-fg:var(--color-accent-text)}.\[--color-fg\:var\(--color-error-text\)\]{--color-fg:var(--color-error-text)}.\[--color-fg\:var\(--color-on-accent\)\]{--color-fg:var(--color-on-accent)}.\[--color-fg\:var\(--color-success-text\)\]{--color-fg:var(--color-success-text)}.\[--color-fg\:var\(--color-warning-text\)\]{--color-fg:var(--color-warning-text)}.not-disabled\:cursor-pointer:not(:disabled){cursor:pointer}.not-disabled\:\[--color-fg-strong\:var\(--color-on-accent\)\]:not(:disabled){--color-fg-strong:var(--color-on-accent)}.not-disabled\:\[--color-fg-strong\:var\(--color-on-error\)\]:not(:disabled){--color-fg-strong:var(--color-on-error)}.not-disabled\:\[--color-fg-strong\:var\(--color-on-success\)\]:not(:disabled){--color-fg-strong:var(--color-on-success)}.not-disabled\:\[--color-fg-strong\:var\(--color-on-warning\)\]:not(:disabled){--color-fg-strong:var(--color-on-warning)}.not-disabled\:\[--color-fg-weak\:var\(--color-on-accent\)\]:not(:disabled){--color-fg-weak:var(--color-on-accent)}.not-disabled\:\[--color-fg-weak\:var\(--color-on-error\)\]:not(:disabled){--color-fg-weak:var(--color-on-error)}.not-disabled\:\[--color-fg-weak\:var\(--color-on-success\)\]:not(:disabled){--color-fg-weak:var(--color-on-success)}.not-disabled\:\[--color-fg-weak\:var\(--color-on-warning\)\]:not(:disabled){--color-fg-weak:var(--color-on-warning)}.not-disabled\:\[--color-fg\:var\(--color-on-accent\)\]:not(:disabled){--color-fg:var(--color-on-accent)}.not-disabled\:\[--color-fg\:var\(--color-on-error\)\]:not(:disabled){--color-fg:var(--color-on-error)}.not-disabled\:\[--color-fg\:var\(--color-on-success\)\]:not(:disabled){--color-fg:var(--color-on-success)}.not-disabled\:\[--color-fg\:var\(--color-on-warning\)\]:not(:disabled){--color-fg:var(--color-on-warning)}@media not all and (width>=48rem){.not-desktop\:bottom-0{bottom:0}.not-desktop\:row-1{grid-row:1}.not-desktop\:hidden{display:none}.not-desktop\:translate-y-4{--tw-translate-y:calc(var(--spacing) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.not-desktop\:grid-rows-\[1fr_auto\]{grid-template-rows:1fr auto}.not-desktop\:border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.not-desktop\:border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.not-desktop\:border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.not-desktop\:border-soft-border{border-color:var(--color-soft-border)}.not-desktop\:bg-bg-navbar{background-color:var(--color-bg-navbar)}.not-desktop\:px-4{padding-inline:calc(var(--spacing) * 4)}.not-desktop\:pt-6{padding-top:calc(var(--spacing) * 6)}.not-desktop\:pr-2{padding-right:calc(var(--spacing) * 2)}.not-desktop\:pb-18{padding-bottom:calc(var(--spacing) * 18)}.not-desktop\:pl-4{padding-left:calc(var(--spacing) * 4)}}.group-not-disabled\:border-soft-border:is(:where(.group):not(:disabled) *){border-color:var(--color-soft-border)}.group-not-disabled\:border-transparent:is(:where(.group):not(:disabled) *){border-color:#0000}.group-not-disabled\:bg-accent:is(:where(.group):not(:disabled) *){background-color:var(--color-accent)}.group-not-disabled\:bg-error:is(:where(.group):not(:disabled) *){background-color:var(--color-error)}.group-not-disabled\:bg-soft:is(:where(.group):not(:disabled) *){background-color:var(--color-soft)}.group-not-disabled\:bg-success:is(:where(.group):not(:disabled) *){background-color:var(--color-success)}.group-not-disabled\:bg-transparent:is(:where(.group):not(:disabled) *){background-color:#0000}.group-not-disabled\:bg-warning:is(:where(.group):not(:disabled) *){background-color:var(--color-warning)}@media (hover:hover){.group-hover\:bg-accent-hover:is(:where(.group):hover *){background-color:var(--color-accent-hover)}.group-hover\:bg-soft:is(:where(.group):hover *){background-color:var(--color-soft)}.group-hover\:bg-soft-hover:is(:where(.group):hover *){background-color:var(--color-soft-hover)}.group-not-disabled\:group-hover\:bg-accent-hover:is(:where(.group):not(:disabled) *):is(:where(.group):hover *){background-color:var(--color-accent-hover)}.group-not-disabled\:group-hover\:bg-error-hover:is(:where(.group):not(:disabled) *):is(:where(.group):hover *){background-color:var(--color-error-hover)}.group-not-disabled\:group-hover\:bg-soft-hover:is(:where(.group):not(:disabled) *):is(:where(.group):hover *){background-color:var(--color-soft-hover)}.group-not-disabled\:group-hover\:bg-success-hover:is(:where(.group):not(:disabled) *):is(:where(.group):hover *){background-color:var(--color-success-hover)}.group-not-disabled\:group-hover\:bg-warning-hover:is(:where(.group):not(:disabled) *):is(:where(.group):hover *){background-color:var(--color-warning-hover)}}.group-active\:bg-accent-active:is(:where(.group):active *){background-color:var(--color-accent-active)}.group-active\:bg-soft-active:is(:where(.group):active *){background-color:var(--color-soft-active)}.group-not-disabled\:group-active\:bg-accent-active:is(:where(.group):not(:disabled) *):is(:where(.group):active *){background-color:var(--color-accent-active)}.group-not-disabled\:group-active\:bg-error-active:is(:where(.group):not(:disabled) *):is(:where(.group):active *){background-color:var(--color-error-active)}.group-not-disabled\:group-active\:bg-soft-active:is(:where(.group):not(:disabled) *):is(:where(.group):active *){background-color:var(--color-soft-active)}.group-not-disabled\:group-active\:bg-success-active:is(:where(.group):not(:disabled) *):is(:where(.group):active *){background-color:var(--color-success-active)}.group-not-disabled\:group-active\:bg-warning-active:is(:where(.group):not(:disabled) *):is(:where(.group):active *){background-color:var(--color-warning-active)}.group-disabled\:border-soft-border-disabled:is(:where(.group):disabled *){border-color:var(--color-soft-border-disabled)}.placeholder\:font-normal::placeholder{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.placeholder\:text-fg-weak::placeholder{color:var(--color-fg-weak)}@media not all and (width>=48rem){.not-desktop\:last\:-mb-px:last-child{margin-bottom:-1px}}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:underline:hover{text-decoration-line:underline}}.disabled\:\[--color-fg-strong\:var\(--color-fg-weak\)\]:disabled{--color-fg-strong:var(--color-fg-weak)}.disabled\:\[--color-fg\:var\(--color-fg-weak\)\]:disabled{--color-fg:var(--color-fg-weak)}@media (width>=48rem){.desktop\:top-0{top:0}.desktop\:row-2{grid-row:2}.desktop\:mx-4{margin-inline:calc(var(--spacing) * 4)}.desktop\:hidden{display:none}.desktop\:h-8{height:calc(var(--spacing) * 8)}.desktop\:max-w-150{max-width:calc(var(--spacing) * 150)}.desktop\:-translate-y-4{--tw-translate-y:calc(var(--spacing) * -4);translate:var(--tw-translate-x) var(--tw-translate-y)}.desktop\:grid-cols-\[1fr_1fr\]{grid-template-columns:1fr 1fr}.desktop\:grid-rows-\[auto_1fr\]{grid-template-rows:auto 1fr}.desktop\:flex-col-reverse{flex-direction:column-reverse}.desktop\:gap-2{gap:calc(var(--spacing) * 2)}.desktop\:gap-6{gap:calc(var(--spacing) * 6)}.desktop\:rounded-lg{border-radius:var(--radius-lg)}.desktop\:border{border-style:var(--tw-border-style);border-width:1px}.desktop\:border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.desktop\:border-soft-border{border-color:var(--color-soft-border)}.desktop\:px-4{padding-inline:calc(var(--spacing) * 4)}.desktop\:py-8{padding-block:calc(var(--spacing) * 8)}.desktop\:pt-6{padding-top:calc(var(--spacing) * 6)}.desktop\:pt-8{padding-top:calc(var(--spacing) * 8)}.desktop\:pt-12{padding-top:calc(var(--spacing) * 12)}.desktop\:pb-4{padding-bottom:calc(var(--spacing) * 4)}.desktop\:pl-11{padding-left:calc(var(--spacing) * 11)}.desktop\:text-icon-lg{font-size:var(--text-icon-lg)}.desktop\:text-md{font-size:var(--text-md)}}@media (width>=64rem){.widescreen\:grid-cols-\[1fr_64rem_1fr\]{grid-template-columns:1fr 64rem 1fr}}}body{background-color:var(--color-bg-navbar);font-synthesis:none;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility}body.light,body.light dialog{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){body:not(.light),body:not(.light) dialog{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-bg:#0f1115;--color-bg-raised:#191d24;--color-bg-dialog:#242933;--color-bg-navbar:#242933;--color-fg:#ebf1ffcc;--color-fg-strong:#fff;--color-fg-weak:#d6e4ff99;--color-fg-weak-on-raised:#8a94a7;--color-accent:#5ea6ed;--color-accent-hover:#75b3f0;--color-accent-active:#4799eb;--color-accent-text:#80bfff;--color-soft-accent:#4ca6ff26;--color-on-accent:#000;--color-soft:#a5c3ff1f;--color-soft-hover:#a9c6ff29;--color-soft-active:#a1c0ff14;--color-soft-border:#3f485a;--color-soft-border-disabled:#343c4b;--color-placeholder:#b8cfff4d;--color-field-border:#ccddff80;--color-shadow:#0009;--color-shadow-weak:#0003;--color-error:#e46767;--color-error-hover:#e87d7d;--color-error-active:#e05252;--color-error-text:#ff8080;--color-soft-error:#ff4c4c26;--color-on-error:#000;--color-warning:#e0b152;--color-warning-hover:#e8c47d;--color-warning-active:#dda73c;--color-warning-text:#ffd580;--color-soft-warning:#ffc44c26;--color-on-warning:#000;--color-success:#5cd670;--color-success-hover:#85e094;--color-success-active:#47d15e;--color-success-text:#99e6a6;--color-soft-success:#33ff551a;--color-on-success:#000}}body.dark,body.dark dialog{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--color-bg:#0f1115;--color-bg-raised:#191d24;--color-bg-dialog:#242933;--color-bg-navbar:#242933;--color-fg:#ebf1ffcc;--color-fg-strong:#fff;--color-fg-weak:#d6e4ff99;--color-fg-weak-on-raised:#8a94a7;--color-accent:#5ea6ed;--color-accent-hover:#75b3f0;--color-accent-active:#4799eb;--color-accent-text:#80bfff;--color-soft-accent:#4ca6ff26;--color-on-accent:#000;--color-soft:#a5c3ff1f;--color-soft-hover:#a9c6ff29;--color-soft-active:#a1c0ff14;--color-soft-border:#3f485a;--color-soft-border-disabled:#343c4b;--color-placeholder:#b8cfff4d;--color-field-border:#ccddff80;--color-shadow:#0009;--color-shadow-weak:#0003;--color-error:#e46767;--color-error-hover:#e87d7d;--color-error-active:#e05252;--color-error-text:#ff8080;--color-soft-error:#ff4c4c26;--color-on-error:#000;--color-warning:#e0b152;--color-warning-hover:#e8c47d;--color-warning-active:#dda73c;--color-warning-text:#ffd580;--color-soft-warning:#ffc44c26;--color-on-warning:#000;--color-success:#5cd670;--color-success-hover:#85e094;--color-success-active:#47d15e;--color-success-text:#99e6a6;--color-soft-success:#33ff551a;--color-on-success:#000}@font-face{font-family:Mona Sans;font-weight:200 900;font-display:swap;src:url(/mona-sans.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@keyframes placeholder-pulse{0%,to{opacity:.5}50%{opacity:1}}