corequery 0.17.0 → 0.18.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 (53) hide show
  1. package/package.json +8 -8
  2. package/server/dist/server/config/helpers/create-canonical-lines-serving-stop-algorithm.js.map +1 -1
  3. package/server/dist/server/config/helpers/extract-stops-from-line-diagram-shape.d.ts +2 -0
  4. package/server/dist/server/config/helpers/extract-stops-from-line-diagram-shape.js +20 -0
  5. package/server/dist/server/config/helpers/extract-stops-from-line-diagram-shape.js.map +1 -0
  6. package/server/dist/server/config/linting/line/diagram/entry-minimum-stops.js +28 -6
  7. package/server/dist/server/config/linting/line/diagram/entry-minimum-stops.js.map +1 -1
  8. package/server/dist/server/config/linting/line/diagram/stops-exist.js +3 -1
  9. package/server/dist/server/config/linting/line/diagram/stops-exist.js.map +1 -1
  10. package/server/dist/server/config/linting/line/diagram/stops-in-routes.js +3 -1
  11. package/server/dist/server/config/linting/line/diagram/stops-in-routes.js.map +1 -1
  12. package/server/dist/server/config/linting/types.d.ts +2 -1
  13. package/server/dist/server/config/types/line-config.d.ts +24 -6
  14. package/server/dist/server/data/line-diagram-entry.d.ts +3 -4
  15. package/server/dist/server/data/line-diagram-entry.js +18 -10
  16. package/server/dist/server/data/line-diagram-entry.js.map +1 -1
  17. package/server/dist/shared/apis/foundational-data/v1/foundational-data.d.ts +231 -0
  18. package/server/dist/shared/apis/foundational-data/v1/foundational-data.js +21 -7
  19. package/server/dist/shared/apis/foundational-data/v1/foundational-data.js.map +1 -1
  20. package/server/dist/shared/apis/foundational-data/v1/index.d.ts +56 -0
  21. package/web/dist/assets/{About-CaTBAYPV.js → About-DCZPSDgX.js} +1 -1
  22. package/web/dist/assets/AdminControls-CpAjDT3_.js +1 -0
  23. package/web/dist/assets/{Alert-ZeYzkS1G.js → Alert-DqAOXpg1.js} +1 -1
  24. package/web/dist/assets/{Debug-B4B1XWnL.js → Debug-CofWDu-3.js} +1 -1
  25. package/web/dist/assets/{Divider-dQCO5rFf.js → Divider-BcodRRFp.js} +1 -1
  26. package/web/dist/assets/Home-dNO-yO__.js +1 -0
  27. package/web/dist/assets/Line-Bmt5V-JG.js +1 -0
  28. package/web/dist/assets/{LinkText-BZEamFKR.js → LinkText-CuzmudpX.js} +1 -1
  29. package/web/dist/assets/{Markdown-CsYleoHG.js → Markdown-Cac8FRvA.js} +1 -1
  30. package/web/dist/assets/Nearby-C8uhAo0W.js +1 -0
  31. package/web/dist/assets/NotFound-cAXZYx-i.js +1 -0
  32. package/web/dist/assets/{NotFoundPage-CmT-cPq4.js → NotFoundPage-CjreacId.js} +1 -1
  33. package/web/dist/assets/{Page-14zdRXyE.js → Page-BISwM3fy.js} +1 -1
  34. package/web/dist/assets/{Picker-B_2kVnst.js → Picker-CNeXxMsu.js} +1 -1
  35. package/web/dist/assets/{Placeholder-Dg6ymgQL.js → Placeholder-CfWUL8Q7.js} +1 -1
  36. package/web/dist/assets/{Settings-DetCeQb0.js → Settings-DTkq0LPs.js} +1 -1
  37. package/web/dist/assets/Status-CHOcJQcX.js +1 -0
  38. package/web/dist/assets/{Stop-B_-mSd4e.js → Stop-BTYeBxkC.js} +1 -1
  39. package/web/dist/assets/{Strong-DQEYCa_y.js → Strong-BND8QD53.js} +1 -1
  40. package/web/dist/assets/ZenMode-DPheq9G5.js +1 -0
  41. package/web/dist/assets/index-BMguVN4e.css +1 -0
  42. package/web/dist/assets/{index-CLEhHuwG.js → index-jI1qL-AF.js} +6 -6
  43. package/web/dist/assets/{use-simple-headers-CdkDNHF3.js → use-simple-headers-CqMikxZC.js} +1 -1
  44. package/web/dist/index.html +2 -2
  45. package/web/dist/sw.js +1 -1
  46. package/web/dist/assets/AdminControls-z2-hx_Wi.js +0 -1
  47. package/web/dist/assets/Home-CrgHy4-U.js +0 -1
  48. package/web/dist/assets/Line-aTuN5Qn2.js +0 -1
  49. package/web/dist/assets/Nearby-D9fcPcO8.js +0 -1
  50. package/web/dist/assets/NotFound-s2u-0Rtl.js +0 -1
  51. package/web/dist/assets/Status-BZjxaB6p.js +0 -1
  52. package/web/dist/assets/ZenMode-BYFX2HyF.js +0 -1
  53. package/web/dist/assets/index-gUxgtCJY.css +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"foundational-data.js","sourceRoot":"","sources":["../../../../../../shared/apis/foundational-data/v1/foundational-data.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,6EAA6E;AAC7E,4EAA4E;AAC5E,6EAA6E;AAC7E,2EAA2E;AAC3E,8EAA8E;AAC9E,4EAA4E;AAC5E,yDAAyD;AACzD,EAAE;AACF,yEAAyE;AACzE,gFAAgF;AAChF,+EAA+E;AAC/E,gFAAgF;AAChF,8EAA8E;AAC9E,4BAA4B;AAC5B,EAAE;AACF,gFAAgF;AAChF,+EAA+E;AAC/E,6EAA6E;AAC7E,8EAA8E;AAC9E,6EAA6E;AAC7E,8EAA8E;AAC9E,kBAAkB;AAElB,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC;AAEH,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/B,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE;IAC5B,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;CAC5B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,yBAAyB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAExD,2EAA2E;IAC3E,wEAAwE;IACxE,QAAQ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EAAuE;IACvE,4EAA4E;IAC5E,6EAA6E;IAC7E,sBAAsB;IACtB,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;CAC5B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC;QACjB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;QAChB,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;KAC1B,CAAC;IAEF,KAAK,EAAE,cAAc,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IACxC,KAAK,EAAE,cAAc,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IACxC,WAAW,EAAE,iBAAiB;IAC9B,WAAW,EAAE,qBAAqB;IAClC,MAAM,EAAE,gBAAgB;CACzB,CAAC,CAAC"}
1
+ {"version":3,"file":"foundational-data.js","sourceRoot":"","sources":["../../../../../../shared/apis/foundational-data/v1/foundational-data.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,6EAA6E;AAC7E,4EAA4E;AAC5E,6EAA6E;AAC7E,2EAA2E;AAC3E,8EAA8E;AAC9E,4EAA4E;AAC5E,yDAAyD;AACzD,EAAE;AACF,yEAAyE;AACzE,gFAAgF;AAChF,+EAA+E;AAC/E,gFAAgF;AAChF,8EAA8E;AAC9E,4BAA4B;AAC5B,EAAE;AACF,gFAAgF;AAChF,+EAA+E;AAC/E,6EAA6E;AAC7E,8EAA8E;AAC9E,6EAA6E;AAC7E,8EAA8E;AAC9E,kBAAkB;AAElB,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC;AAEH,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/B,gBAAgB,EAAE,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E;IAC7E,uEAAuE;IACvE,4EAA4E;IAC5E,6EAA6E;IAC7E,sBAAsB;IACtB,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;CAC5B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,QAAQ,EAAE,CAAC,CAAC,MAAM,CAAC;QACjB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;QAChB,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;KAC1B,CAAC;IAEF,KAAK,EAAE,cAAc,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IACxC,KAAK,EAAE,cAAc,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IACxC,WAAW,EAAE,iBAAiB;IAC9B,WAAW,EAAE,qBAAqB;IAClC,MAAM,EAAE,gBAAgB;CACzB,CAAC,CAAC"}
@@ -43,6 +43,62 @@ declare const resultSchema: z.ZodUnion<readonly [z.ZodObject<{
43
43
  "always-express": "always-express";
44
44
  }>;
45
45
  }, z.z.core.$strip>>>;
46
+ }, z.z.core.$strip>, z.ZodObject<{
47
+ type: z.ZodLiteral<"branch">;
48
+ name: z.ZodNullable<z.ZodString>;
49
+ color: z.ZodNullable<z.ZodObject<{
50
+ lightModeHexCode: z.ZodString;
51
+ darkModeHexCode: z.ZodString;
52
+ }, z.z.core.$strip>>;
53
+ commonStops: z.ZodReadonly<z.ZodArray<z.ZodObject<{
54
+ stopId: z.ZodNumber;
55
+ type: z.ZodEnum<{
56
+ regular: "regular";
57
+ "always-express": "always-express";
58
+ }>;
59
+ }, z.z.core.$strip>>>;
60
+ branchAStops: z.ZodReadonly<z.ZodArray<z.ZodObject<{
61
+ stopId: z.ZodNumber;
62
+ type: z.ZodEnum<{
63
+ regular: "regular";
64
+ "always-express": "always-express";
65
+ }>;
66
+ }, z.z.core.$strip>>>;
67
+ branchBStops: z.ZodReadonly<z.ZodArray<z.ZodObject<{
68
+ stopId: z.ZodNumber;
69
+ type: z.ZodEnum<{
70
+ regular: "regular";
71
+ "always-express": "always-express";
72
+ }>;
73
+ }, z.z.core.$strip>>>;
74
+ }, z.z.core.$strip>, z.ZodObject<{
75
+ type: z.ZodLiteral<"loop">;
76
+ name: z.ZodNullable<z.ZodString>;
77
+ color: z.ZodNullable<z.ZodObject<{
78
+ lightModeHexCode: z.ZodString;
79
+ darkModeHexCode: z.ZodString;
80
+ }, z.z.core.$strip>>;
81
+ loopLeftStops: z.ZodReadonly<z.ZodArray<z.ZodObject<{
82
+ stopId: z.ZodNumber;
83
+ type: z.ZodEnum<{
84
+ regular: "regular";
85
+ "always-express": "always-express";
86
+ }>;
87
+ }, z.z.core.$strip>>>;
88
+ loopRightStops: z.ZodReadonly<z.ZodArray<z.ZodObject<{
89
+ stopId: z.ZodNumber;
90
+ type: z.ZodEnum<{
91
+ regular: "regular";
92
+ "always-express": "always-express";
93
+ }>;
94
+ }, z.z.core.$strip>>>;
95
+ mainStops: z.ZodReadonly<z.ZodArray<z.ZodObject<{
96
+ stopId: z.ZodNumber;
97
+ type: z.ZodEnum<{
98
+ regular: "regular";
99
+ "always-express": "always-express";
100
+ }>;
101
+ }, z.z.core.$strip>>>;
46
102
  }, z.z.core.$strip>]>, z.ZodObject<{
47
103
  type: z.ZodString;
48
104
  }, z.z.core.$strip>]>>>;
@@ -1 +1 @@
1
- import{u as m,a as p,b as u,c as h,d as s,C as l,T as d}from"./index-CLEhHuwG.js";import{T as a}from"./Placeholder-Dg6ymgQL.js";import{M as f,I as w}from"./Markdown-CsYleoHG.js";import{P as r}from"./Page-14zdRXyE.js";import{u as x}from"./use-simple-headers-CdkDNHF3.js";import{D as v}from"./Divider-dQCO5rFf.js";import{A as k}from"./Alert-ZeYzkS1G.js";import"./LinkText-BZEamFKR.js";import"./Strong-DQEYCa_y.js";function I(){const{appName:c}=m(),{foda:o}=p(),{data:e,loading:i,error:n}=u(h,{}),t=x({title:`About ${c}`});return i?s(r,{...t,children:s(l,{class:"px-4 py-8",children:[s(a,{class:"w-[30%] text-xl"}),s("div",{class:"h-8"}),s(a,{class:"w-full text-md"}),s("div",{class:"h-3"}),s(a,{class:"w-full text-md"}),s("div",{class:"h-3"}),s(a,{class:"w-[60%] text-md"}),s("div",{class:"h-12"}),s(a,{class:"w-[40%] text-lg"}),s("div",{class:"h-8"}),s(a,{class:"w-full text-md"}),s("div",{class:"h-3"}),s(a,{class:"w-full text-md"}),s("div",{class:"h-3"}),s(a,{class:"w-[20%] text-md"}),s("div",{class:"h-12"}),s(a,{class:"w-[50%] text-lg"}),s("div",{class:"h-8"}),s(a,{class:"w-full text-md"}),s("div",{class:"h-3"}),s(a,{class:"w-[80%] text-md"})]})}):n!=null||e==null?s(r,{...t,children:s(l,{class:"px-4 py-8",children:s(k,{type:"error",children:s(d,{children:"Unable to load the about page."})})})}):s(r,{...t,children:s(l,{class:"px-4 py-8 gap-12",children:[s(f,{markdown:e.primaryMarkdown}),s(l,{class:"gap-8",children:[s(v,{}),s(d,{as:"p",style:"small-weak",children:s(w,{markdown:o.footerPrimaryMarkdown})})]})]})})}export{I as default};
1
+ import{u as m,a as p,b as u,c as h,d as s,C as l,T as d}from"./index-jI1qL-AF.js";import{T as a}from"./Placeholder-CfWUL8Q7.js";import{M as f,I as w}from"./Markdown-Cac8FRvA.js";import{P as r}from"./Page-BISwM3fy.js";import{u as x}from"./use-simple-headers-CqMikxZC.js";import{D as v}from"./Divider-BcodRRFp.js";import{A as k}from"./Alert-DqAOXpg1.js";import"./LinkText-CuzmudpX.js";import"./Strong-BND8QD53.js";function I(){const{appName:c}=m(),{foda:o}=p(),{data:e,loading:i,error:n}=u(h,{}),t=x({title:`About ${c}`});return i?s(r,{...t,children:s(l,{class:"px-4 py-8",children:[s(a,{class:"w-[30%] text-xl"}),s("div",{class:"h-8"}),s(a,{class:"w-full text-md"}),s("div",{class:"h-3"}),s(a,{class:"w-full text-md"}),s("div",{class:"h-3"}),s(a,{class:"w-[60%] text-md"}),s("div",{class:"h-12"}),s(a,{class:"w-[40%] text-lg"}),s("div",{class:"h-8"}),s(a,{class:"w-full text-md"}),s("div",{class:"h-3"}),s(a,{class:"w-full text-md"}),s("div",{class:"h-3"}),s(a,{class:"w-[20%] text-md"}),s("div",{class:"h-12"}),s(a,{class:"w-[50%] text-lg"}),s("div",{class:"h-8"}),s(a,{class:"w-full text-md"}),s("div",{class:"h-3"}),s(a,{class:"w-[80%] text-md"})]})}):n!=null||e==null?s(r,{...t,children:s(l,{class:"px-4 py-8",children:s(k,{type:"error",children:s(d,{children:"Unable to load the about page."})})})}):s(r,{...t,children:s(l,{class:"px-4 py-8 gap-12",children:[s(f,{markdown:e.primaryMarkdown}),s(l,{class:"gap-8",children:[s(v,{}),s(d,{as:"p",style:"small-weak",children:s(w,{markdown:o.footerPrimaryMarkdown})})]})]})})}export{I as default};
@@ -0,0 +1 @@
1
+ import{d as e,C as r,T as a}from"./index-jI1qL-AF.js";import{P as o}from"./Page-BISwM3fy.js";import{u as t}from"./use-simple-headers-CqMikxZC.js";function i(){return e(o,{...t({title:"Admin controls"}),children:e(r,{class:"px-4 py-8 gap-8",children:e(a,{children:"Maybe the real admin controls were the friends we made along the way?"})})})}export{i as default};
@@ -1 +1 @@
1
- import{d as e,e as o,p as a,U as i,g as s,G as g}from"./index-CLEhHuwG.js";function f(l){return e("div",{class:o(l.class,"flex flex-col justify-center items-stretch"),style:{height:`${l.heightRem}rem`},children:l.children})}function h(l){return e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...l,children:e("g",{fill:"none",children:[e("path",{d:"m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"}),e("path",{fill:"currentColor",d:"m13.299 3.148l8.634 14.954a1.5 1.5 0 0 1-1.299 2.25H3.366a1.5 1.5 0 0 1-1.299-2.25l8.634-14.954c.577-1 2.02-1 2.598 0M12 4.898L4.232 18.352h15.536zM12 15a1 1 0 1 1 0 2a1 1 0 0 1 0-2m0-7a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0V9a1 1 0 0 1 1-1"})]})})}function d(l){return e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...l,children:e("g",{fill:"none",fillRule:"evenodd",children:[e("path",{d:"m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"}),e("path",{fill:"currentColor",d:"M21.192 5.465a1 1 0 0 1 0 1.414L9.95 18.122a1.1 1.1 0 0 1-1.556 0l-5.586-5.586a1 1 0 1 1 1.415-1.415l4.95 4.95L19.777 5.465a1 1 0 0 1 1.414 0Z"})]})})}function x(l){const t={info:i,error:a,warning:h,success:d}[l.type],r=l.icon!==void 0?l.icon:t,c={info:"bg-soft-accent",error:"bg-soft-error",warning:"bg-soft-warning",success:"bg-soft-success"}[l.type],n={info:["[--color-fg:var(--color-accent-text)]","[--color-fg-strong:var(--color-accent-text)]","[--color-fg-weak:var(--color-accent-text)]"],error:["[--color-fg:var(--color-error-text)]","[--color-fg-strong:var(--color-error-text)]","[--color-fg-weak:var(--color-error-text)]"],warning:["[--color-fg:var(--color-warning-text)]","[--color-fg-strong:var(--color-warning-text)]","[--color-fg-weak:var(--color-warning-text)]"],success:["[--color-fg:var(--color-success-text)]","[--color-fg-strong:var(--color-success-text)]","[--color-fg-weak:var(--color-success-text)]"]}[l.type];return e(g,{class:o(l.class,c,n,"px-4 py-4.5 rounded-sm gap-2 items-start",{"grid-cols-[auto_1fr]":r!=null}),children:[r!=null&&e(f,{heightRem:s("text-md"),children:e(r,{class:"text-fg text-icon-lg"})}),l.children]})}export{x as A,f as V};
1
+ import{d as e,e as o,p as a,U as i,g as s,G as g}from"./index-jI1qL-AF.js";function f(l){return e("div",{class:o(l.class,"flex flex-col justify-center items-stretch"),style:{height:`${l.heightRem}rem`},children:l.children})}function h(l){return e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...l,children:e("g",{fill:"none",children:[e("path",{d:"m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"}),e("path",{fill:"currentColor",d:"m13.299 3.148l8.634 14.954a1.5 1.5 0 0 1-1.299 2.25H3.366a1.5 1.5 0 0 1-1.299-2.25l8.634-14.954c.577-1 2.02-1 2.598 0M12 4.898L4.232 18.352h15.536zM12 15a1 1 0 1 1 0 2a1 1 0 0 1 0-2m0-7a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0V9a1 1 0 0 1 1-1"})]})})}function d(l){return e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",...l,children:e("g",{fill:"none",fillRule:"evenodd",children:[e("path",{d:"m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"}),e("path",{fill:"currentColor",d:"M21.192 5.465a1 1 0 0 1 0 1.414L9.95 18.122a1.1 1.1 0 0 1-1.556 0l-5.586-5.586a1 1 0 1 1 1.415-1.415l4.95 4.95L19.777 5.465a1 1 0 0 1 1.414 0Z"})]})})}function x(l){const t={info:i,error:a,warning:h,success:d}[l.type],r=l.icon!==void 0?l.icon:t,c={info:"bg-soft-accent",error:"bg-soft-error",warning:"bg-soft-warning",success:"bg-soft-success"}[l.type],n={info:["[--color-fg:var(--color-accent-text)]","[--color-fg-strong:var(--color-accent-text)]","[--color-fg-weak:var(--color-accent-text)]"],error:["[--color-fg:var(--color-error-text)]","[--color-fg-strong:var(--color-error-text)]","[--color-fg-weak:var(--color-error-text)]"],warning:["[--color-fg:var(--color-warning-text)]","[--color-fg-strong:var(--color-warning-text)]","[--color-fg-weak:var(--color-warning-text)]"],success:["[--color-fg:var(--color-success-text)]","[--color-fg-strong:var(--color-success-text)]","[--color-fg-weak:var(--color-success-text)]"]}[l.type];return e(g,{class:o(l.class,c,n,"px-4 py-4.5 rounded-sm gap-2 items-start",{"grid-cols-[auto_1fr]":r!=null}),children:[r!=null&&e(f,{heightRem:s("text-md"),children:e(r,{class:"text-fg text-icon-lg"})}),l.children]})}export{x as A,f as V};
@@ -1 +1 @@
1
- import{X as P,x as A,d as e,T as l,e as i,G as f,g as h,R as g,f as R,M as S,B as k,L as D,h as H,C as a,u as v,b as B,i as L,a as T}from"./index-CLEhHuwG.js";import{P as E}from"./Page-14zdRXyE.js";import{u as F}from"./use-simple-headers-CdkDNHF3.js";import{D as d}from"./Divider-dQCO5rFf.js";import{V as m,A as p}from"./Alert-ZeYzkS1G.js";import{T as x}from"./Placeholder-Dg6ymgQL.js";const y=P(null);function c(){const n=A(y);if(n==null)throw new Error("Foundational data unavailable outside provider.");return n}function U(n){const r={info:"bg-soft-accent",error:"bg-soft-error",warning:"bg-soft-warning",success:"bg-soft-success"}[n.type],t={info:"[--color-fg:var(--color-accent-text)]",error:"[--color-fg:var(--color-error-text)]",warning:"[--color-fg:var(--color-warning-text)]",success:"[--color-fg:var(--color-success-text)]"}[n.type];return e(f,{class:i(n.class,r,t,"px-2 py-1.5 rounded-full"),children:e(l,{style:"small",children:n.text})})}function C(n){return e(g,{class:i(n.class,"gap-x-2 gap-y-3"),wrap:!0,children:[e(l,{style:"strong",children:n.header}),n.loading&&e(x,{class:"w-[20%] text-md"}),!n.loading&&n.pillContent!=null&&e(m,{heightRem:h("text-md"),children:e(U,{type:n.pillContent.type,text:n.pillContent.text})})]})}function V(n){return e(C,{class:n.class,header:n.header,pillContent:M(n.currentValue,n.latestValue),loading:n.loading})}function M(n,r){return r==null?null:{text:n===r?"Up to date":"Outdated",type:n===r?"success":"error"}}function u(n){return n.loading?e(f,{class:n.class,children:e(x,{class:"w-[40%] text-md"})}):n.value==null?null:e(l,{class:n.class,children:[n.prefix,": ",n.value]})}function o(n){return n==null?null:n.length<32||!/^[0-9a-f]+$/.test(n)?n:n.slice(0,7)}function O(n){const{isUpdateAvailable:r,update:t}=R();return r?e(k,{theme:"accent",text:"Refresh & update",class:"self-start",icon:S,onClick:()=>{t()}}):e(g,{class:i(n.class,"gap-2"),children:[e(m,{heightRem:h("text-md"),children:e(D,{})}),e(l,{class:"min-w-0 shrink",children:"Waiting for service worker to install update..."})]})}function W(n){const{isHotReloadingEnabled:r}=H();return r?e(Q,{...n}):e(q,{...n})}function Q(n){const{data:r,loading:t}=c();return e(a,{class:i(n.class,"gap-6"),children:[e(C,{header:"App version",pillContent:{text:"Development",type:"info"},loading:!1}),e(l,{children:"All frontend code is being served with hot-reloading enabled, not through the PWA. (The below values are meaningless.)"}),e(w,{}),e(u,{prefix:"Latest version",value:r?.frontendVersion.slice(0,8)??null,loading:t})]})}function q(n){const{frontendVersion:r}=v(),{data:t,loading:s}=c(),b=!s&&t!=null&&t?.frontendVersion!==r;return e(a,{class:i(n.class,"gap-8"),children:e(a,{class:"gap-6",children:[e(V,{header:"App version",currentValue:r,latestValue:t?.frontendVersion??null,loading:s}),e(w,{}),e(u,{prefix:"Latest version",value:o(t?.frontendVersion),loading:s}),b&&e(O,{})]})})}function w(){const{frontendVersion:n,versionsOnLastUpdate:r}=v();return e(a,{class:"gap-4",children:[e(l,{children:["Current version: ",o(n)]}),e(a,{class:"gap-3",children:[e(l,{style:"small-weak",children:["Server version: ",o(r.serverVersion)]}),e(l,{style:"small-weak",children:["CoreQuery version: ",r.corequeryPackageVersion]})]})]})}function G(n){const r=B(L,{});return e(y.Provider,{value:r,children:n.children})}function $(n){const{data:r,loading:t}=c(),{foda:s}=T();return e(a,{class:i(n.class,"gap-6"),children:[e(V,{header:"Foundational data",currentValue:s.hash,latestValue:r?.foundationalDataHash??null,loading:t}),e(a,{class:"gap-4",children:[e(l,{children:["Current version: ",o(s.hash)]}),e(l,{style:"small-weak",children:["Server version: ",o(s.serverVersion)]})]}),e(u,{prefix:"Latest version",value:o(r?.foundationalDataHash),loading:t})]})}function I(n){const{data:r,loading:t}=c();return e(a,{class:i(n.class,"gap-8"),children:e(a,{class:"gap-6",children:[e(l,{style:"strong",children:"Server"}),e(X,{}),e(a,{class:"gap-4",children:[e(u,{prefix:"Server version",value:o(r?.serverVersion),loading:t}),e(u,{prefix:"CoreQuery version",value:r?.corequeryPackageVersion??null,loading:t})]})]})})}function X(){const{error:n}=c();return n==null?null:e(p,{type:"error",children:e(l,{children:"Unable to fetch the latest version info from the server."})})}function _(){return e(E,{...F({title:"Developer info"}),children:e(G,{children:e(a,{class:"px-4 py-8 gap-8",children:[e(j,{}),e(W,{}),e(d,{}),e($,{}),e(d,{}),e(I,{}),e(d,{})]})})})}function j(){const{error:n}=c();return n==null?null:e(p,{type:"error",children:e(l,{children:"Unable to fetch the latest version info from the server."})})}export{_ as default};
1
+ import{X as P,x as A,d as e,T as l,e as i,G as f,g as h,R as g,f as R,M as S,B as k,L as D,h as H,C as a,u as v,b as B,i as L,a as T}from"./index-jI1qL-AF.js";import{P as E}from"./Page-BISwM3fy.js";import{u as F}from"./use-simple-headers-CqMikxZC.js";import{D as d}from"./Divider-BcodRRFp.js";import{V as m,A as p}from"./Alert-DqAOXpg1.js";import{T as x}from"./Placeholder-CfWUL8Q7.js";const y=P(null);function c(){const n=A(y);if(n==null)throw new Error("Foundational data unavailable outside provider.");return n}function U(n){const r={info:"bg-soft-accent",error:"bg-soft-error",warning:"bg-soft-warning",success:"bg-soft-success"}[n.type],t={info:"[--color-fg:var(--color-accent-text)]",error:"[--color-fg:var(--color-error-text)]",warning:"[--color-fg:var(--color-warning-text)]",success:"[--color-fg:var(--color-success-text)]"}[n.type];return e(f,{class:i(n.class,r,t,"px-2 py-1.5 rounded-full"),children:e(l,{style:"small",children:n.text})})}function C(n){return e(g,{class:i(n.class,"gap-x-2 gap-y-3"),wrap:!0,children:[e(l,{style:"strong",children:n.header}),n.loading&&e(x,{class:"w-[20%] text-md"}),!n.loading&&n.pillContent!=null&&e(m,{heightRem:h("text-md"),children:e(U,{type:n.pillContent.type,text:n.pillContent.text})})]})}function V(n){return e(C,{class:n.class,header:n.header,pillContent:M(n.currentValue,n.latestValue),loading:n.loading})}function M(n,r){return r==null?null:{text:n===r?"Up to date":"Outdated",type:n===r?"success":"error"}}function u(n){return n.loading?e(f,{class:n.class,children:e(x,{class:"w-[40%] text-md"})}):n.value==null?null:e(l,{class:n.class,children:[n.prefix,": ",n.value]})}function o(n){return n==null?null:n.length<32||!/^[0-9a-f]+$/.test(n)?n:n.slice(0,7)}function O(n){const{isUpdateAvailable:r,update:t}=R();return r?e(k,{theme:"accent",text:"Refresh & update",class:"self-start",icon:S,onClick:()=>{t()}}):e(g,{class:i(n.class,"gap-2"),children:[e(m,{heightRem:h("text-md"),children:e(D,{})}),e(l,{class:"min-w-0 shrink",children:"Waiting for service worker to install update..."})]})}function W(n){const{isHotReloadingEnabled:r}=H();return r?e(Q,{...n}):e(q,{...n})}function Q(n){const{data:r,loading:t}=c();return e(a,{class:i(n.class,"gap-6"),children:[e(C,{header:"App version",pillContent:{text:"Development",type:"info"},loading:!1}),e(l,{children:"All frontend code is being served with hot-reloading enabled, not through the PWA. (The below values are meaningless.)"}),e(w,{}),e(u,{prefix:"Latest version",value:r?.frontendVersion.slice(0,8)??null,loading:t})]})}function q(n){const{frontendVersion:r}=v(),{data:t,loading:s}=c(),b=!s&&t!=null&&t?.frontendVersion!==r;return e(a,{class:i(n.class,"gap-8"),children:e(a,{class:"gap-6",children:[e(V,{header:"App version",currentValue:r,latestValue:t?.frontendVersion??null,loading:s}),e(w,{}),e(u,{prefix:"Latest version",value:o(t?.frontendVersion),loading:s}),b&&e(O,{})]})})}function w(){const{frontendVersion:n,versionsOnLastUpdate:r}=v();return e(a,{class:"gap-4",children:[e(l,{children:["Current version: ",o(n)]}),e(a,{class:"gap-3",children:[e(l,{style:"small-weak",children:["Server version: ",o(r.serverVersion)]}),e(l,{style:"small-weak",children:["CoreQuery version: ",r.corequeryPackageVersion]})]})]})}function G(n){const r=B(L,{});return e(y.Provider,{value:r,children:n.children})}function $(n){const{data:r,loading:t}=c(),{foda:s}=T();return e(a,{class:i(n.class,"gap-6"),children:[e(V,{header:"Foundational data",currentValue:s.hash,latestValue:r?.foundationalDataHash??null,loading:t}),e(a,{class:"gap-4",children:[e(l,{children:["Current version: ",o(s.hash)]}),e(l,{style:"small-weak",children:["Server version: ",o(s.serverVersion)]})]}),e(u,{prefix:"Latest version",value:o(r?.foundationalDataHash),loading:t})]})}function I(n){const{data:r,loading:t}=c();return e(a,{class:i(n.class,"gap-8"),children:e(a,{class:"gap-6",children:[e(l,{style:"strong",children:"Server"}),e(X,{}),e(a,{class:"gap-4",children:[e(u,{prefix:"Server version",value:o(r?.serverVersion),loading:t}),e(u,{prefix:"CoreQuery version",value:r?.corequeryPackageVersion??null,loading:t})]})]})})}function X(){const{error:n}=c();return n==null?null:e(p,{type:"error",children:e(l,{children:"Unable to fetch the latest version info from the server."})})}function _(){return e(E,{...F({title:"Developer info"}),children:e(G,{children:e(a,{class:"px-4 py-8 gap-8",children:[e(j,{}),e(W,{}),e(d,{}),e($,{}),e(d,{}),e(I,{}),e(d,{})]})})})}function j(){const{error:n}=c();return n==null?null:e(p,{type:"error",children:e(l,{children:"Unable to fetch the latest version info from the server."})})}export{_ as default};
@@ -1 +1 @@
1
- import{d as s,e as o}from"./index-CLEhHuwG.js";function d(r){return s("div",{class:o(r.class,"border-b border-soft-border")})}export{d as D};
1
+ import{d as s,e as o}from"./index-jI1qL-AF.js";function d(r){return s("div",{class:o(r.class,"border-b border-soft-border")})}export{d as D};
@@ -0,0 +1 @@
1
+ import{a as r,d as a,C as m}from"./index-jI1qL-AF.js";import{P as e}from"./Page-BISwM3fy.js";import{u as t}from"./use-simple-headers-CqMikxZC.js";import{M as i}from"./Markdown-Cac8FRvA.js";import"./LinkText-CuzmudpX.js";import"./Strong-BND8QD53.js";function f(){const{foda:o}=r();return a(e,{...t({title:"Home"}),children:a(m,{class:"px-4 py-8 gap-12",children:a(i,{markdown:o.landingPage.primaryMarkdown})})})}export{f as default};
@@ -0,0 +1 @@
1
+ import{a as D,u as X,j as w,d as n,T as v,C as f,e as d,A as B,m as N,y as Y,G as _,n as h,k as G,q as j,l as Q,o as Z}from"./index-jI1qL-AF.js";import{P as K}from"./Page-BISwM3fy.js";import{u as J}from"./use-simple-headers-CqMikxZC.js";import{N as tt}from"./NotFoundPage-CjreacId.js";import{L as P}from"./LinkText-CuzmudpX.js";import{A as et}from"./Alert-DqAOXpg1.js";import{P as ot}from"./Picker-CNeXxMsu.js";function R(t){throw new Error(`Unexpected value: ${String(t)}`)}function nt(t){if(!/^-?[0-9]+$/g.test(t))throw it(t);return parseInt(t,10)}const it=t=>new Error(`"${t}" is not an integer.`);function st(t){const{foda:e}=D(),{appName:o}=X(),i=w(()=>t.fallbackStopList.map(s=>e.stops.require(s)).sort((s,l)=>s.name.localeCompare(l.name)),[e.stops,t.fallbackStopList]);return n(f,{class:d(t.class,"gap-6"),children:[n(v,{style:"subtitle",children:"Stops"}),n(et,{type:"info",children:n(f,{class:"gap-6",children:[n(v,{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 ",o," to be able to view."," "]}),n(v,{style:"strong",children:n(P,{href:"/debug",children:"Help me update"})})]})}),n("ul",{class:"flex-col flex list-disc list-inside gap-4",children:i.map(s=>n(v,{children:n("li",{children:n(P,{href:`/stop/${s.urlPath}`,children:s.name})})}))})]})}class rt{constructor(e,o){this._canvasContainer=e,this._canvas=o;const i=this._canvas.getContext("2d");if(i==null)throw new Error("Failed to get 2D rendering context.");this.ctx=i,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}_canvasContainer;_canvas;ctx;_resizeListener;_resizeObserver;_data;_width;_height;_dpiRatio;_dirty;_running;get data(){if(this._data==null)throw new 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(){const e=this._canvasContainer.getBoundingClientRect();this._width=e.width,this._height=e.height;const o=window.devicePixelRatio??1,i=this.ctx.backingStorePixelRatio??1;this._dpiRatio=o/i,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 at(t){const{data:e,createController:o}=t,i=B(null),s=B(null),[l,r]=N(null),a=t.interceptTouches??!1?{touchAction:"none"}:void 0;return Y(()=>{if(i.current==null||s.current==null)return;const c=o(i.current,s.current);return r(c),()=>{c?.destroy()}},[o]),Y(()=>{l?.setData(e)},[l,e]),n("div",{ref:i,className:d(t.class,"relative overflow-hidden"),children:n("canvas",{className:"absolute top-0 left-0",ref:s,style:a})})}function lt(){const t=window.getComputedStyle(document.body);return{bg:t.getPropertyValue("--color-bg"),fg:t.getPropertyValue("--color-fg"),"fg-strong":t.getPropertyValue("--color-fg-strong"),"fg-weak":t.getPropertyValue("--color-fg-weak")}}const M="_diagram-common-stops",F="_diagram-branch-a-stops",W="_diagram-branch-b-stops";function ct(t){return n("div",{ref:t.contentParentRef,class:d(t.class,"grid grid-cols-[auto_auto_auto] grid-rows-[auto_auto] gap-y-8 gap-x-4"),children:[n(I,{class:"w-12 col-2 row-span-full",structure:t.structure,lightThemeColorHexCode:t.lightThemeColorHexCode,darkThemeColorHexCode:t.darkThemeColorHexCode,contentParent:t.contentParent}),n(f,{class:d("gap-6 col-3 row-1 -ml-4",M),xAlign:"left",children:t.structure.commonStops.map(e=>n(_,{children:e.content}))}),n(f,{class:d("gap-6 col-1 row-2",F),xAlign:"right",children:t.structure.branchAStops.map(e=>n(_,{children:e.content}))}),n(f,{class:d("gap-6 col-3 row-2",W),xAlign:"left",children:t.structure.branchBStops.map(e=>n(_,{children:e.content}))})]})}const $="_diagram-main-stops",V="_diagram-loop-left-stops",U="_diagram-loop-right-stops";function ht(t){return n("div",{ref:t.contentParentRef,class:d(t.class,"grid grid-cols-[auto_auto_auto] grid-rows-[auto_auto] gap-x-4"),children:[n(I,{class:"w-12 col-2 row-span-full",structure:t.structure,lightThemeColorHexCode:t.lightThemeColorHexCode,darkThemeColorHexCode:t.darkThemeColorHexCode,contentParent:t.contentParent}),n(f,{class:d("gap-6 col-1 row-1 py-4",V),xAlign:"right",yAlign:"center",children:t.structure.loopLeftStops.map(e=>n(_,{children:e.content}))}),n(f,{class:d("gap-6 col-3 row-1 py-4",U),xAlign:"left",yAlign:"center",children:t.structure.loopRightStops.map(e=>n(_,{children:e.content}))}),n(f,{class:d("gap-6 col-3 row-2 -ml-4",$,{"pt-4":t.structure.mainStops.length>0}),xAlign:"left",children:t.structure.mainStops.map(e=>n(_,{children:e.content}))})]})}const b=16,dt=6,p=6,C=10,T=15,H=24,L=1;class ut extends rt{_css;_prefersDark;constructor(e,o){super(e,o),this._css=lt(),this._prefersDark=window.matchMedia("(prefers-color-scheme: dark)").matches}onRender(){this.data.contentParent!=null&&(this.ctx.strokeStyle="#000000",this.data.structure.type==="linear"?this._renderLinear(this.data.structure,this.data.contentParent):this.data.structure.type==="branch"?this._renderBranch(this.data.structure,this.data.contentParent):this.data.structure.type==="loop"?this._renderLoop(this.data.structure,this.data.contentParent):R(this.data.structure),this.ctx.globalCompositeOperation="source-in",this.ctx.fillStyle=this._getDiagramColor(),this.ctx.fillRect(0,0,this.width,this.height))}_renderLinear(e,o){this._renderSection({stops:e.stops,x:this.width/2,yLevels:this._extractYLevels(e.stops,o),terminatesAtTop:!0,terminatesAtBottom:!0,notchSide:"right"})}_renderBranch(e,o){const i=this._extractYLevels(e.commonStops,o,M),s=this._extractYLevels(e.branchAStops,o,F),l=this._extractYLevels(e.branchBStops,o,W),r=this.width/2,a=b/2,c=this.width-b/2;this._renderSection({stops:e.commonStops,x:r,yLevels:i,terminatesAtTop:!0,terminatesAtBottom:!1,notchSide:"right"}),this._renderSection({stops:e.branchAStops,x:a,yLevels:s,terminatesAtTop:!1,terminatesAtBottom:!0,notchSide:"left"}),this._renderSection({stops:e.branchBStops,x:c,yLevels:l,terminatesAtTop:!1,terminatesAtBottom:!0,notchSide:"right"});const m=h(i[i.length-1]),S=h(s[0]),g=h(l[0]),u=Math.min(S,g);this.ctx.lineWidth=p,this.ctx.beginPath(),this.ctx.moveTo(r,m),this.ctx.lineTo(r,m+C),this.ctx.bezierCurveTo(r,m+T+C,a,u-T,a,u),this.ctx.lineTo(a,S),this.ctx.moveTo(r,m+C),this.ctx.bezierCurveTo(r,m+T+C,c,u-T,c,u),this.ctx.lineTo(c,g),this.ctx.stroke()}_renderLoop(e,o){const i=this._extractYLevels(e.loopLeftStops,o,V),s=this._extractYLevels(e.loopRightStops,o,U),l=this._extractYLevels(e.mainStops,o,$),r=b/2,a=this.width-b/2,c=this.width/2,m=i[i.length-1],S=s[s.length-1],g=h(m??S),u=h(S??m),k=i[0],z=s[0],E=h(k??z),O=h(z??k);e.loopLeftStops.length>0?this._renderSection({stops:e.loopLeftStops,x:r,yLevels:i,terminatesAtTop:!1,terminatesAtBottom:!1,notchSide:"left"}):(this.ctx.lineWidth=p,this.ctx.beginPath(),this.ctx.moveTo(r,E-L),this.ctx.lineTo(r,g+L),this.ctx.stroke()),e.loopRightStops.length>0?this._renderSection({stops:e.loopRightStops,x:a,yLevels:s,terminatesAtTop:!1,terminatesAtBottom:!1,notchSide:"right"}):(this.ctx.lineWidth=p,this.ctx.beginPath(),this.ctx.moveTo(a,O-L),this.ctx.lineTo(a,u+L),this.ctx.stroke());const x=Math.max(g,u);if(e.mainStops.length>0){const y=h(l[0]);this._renderSection({stops:e.mainStops,x:c,yLevels:l,terminatesAtTop:!1,terminatesAtBottom:!0,notchSide:"right"}),this.ctx.lineWidth=p,this.ctx.beginPath(),this.ctx.moveTo(c,y),this.ctx.lineTo(c,y-C),this.ctx.bezierCurveTo(c,y-T-C,r,x+T,r,x),this.ctx.lineTo(r,g),this.ctx.moveTo(c,y-C),this.ctx.bezierCurveTo(c,y-T-C,a,x+T,a,x),this.ctx.lineTo(a,u),this.ctx.stroke()}else this.ctx.lineWidth=p,this.ctx.beginPath(),this.ctx.moveTo(r,g),this.ctx.lineTo(r,x),this.ctx.bezierCurveTo(r,x+H,a,x+H,a,x),this.ctx.lineTo(a,u),this.ctx.stroke();const A=Math.min(E,O);this.ctx.lineWidth=p,this.ctx.beginPath(),this.ctx.moveTo(r,E),this.ctx.lineTo(r,A),this.ctx.bezierCurveTo(r,A-H,a,A-H,a,A),this.ctx.lineTo(a,O),this.ctx.stroke()}_renderSection({stops:e,x:o,yLevels:i,terminatesAtTop:s,terminatesAtBottom:l,notchSide:r}){if(e.length<1)throw new Error("Expecting at least one stop.");if(e.length!==i.length)throw new Error("Bad length.");const a=h(i[0]),c=h(i[i.length-1]);this.ctx.lineWidth=p,this.ctx.beginPath(),this.ctx.moveTo(o,a-L),this.ctx.lineTo(o,c+L),this.ctx.stroke();const m={left:-1,right:1}[r];e.forEach((S,g)=>{const u=h(i[g]),k=g===0&&s||g===e.length-1&&l;(S.drawMark??!0)&&(this.ctx.lineWidth=dt,this.ctx.beginPath(),this.ctx.moveTo(k?o-b/2*m:o,u),this.ctx.lineTo(o+b/2*m,u),this.ctx.stroke())})}_extractYLevels(e,o,i){const s=this._extractChildElements(o,i);if(e.length!==s.length)throw new Error("Bad length.");return e.map((l,r)=>{const a=h(s[r]);return l.getOverriddenMarkYPosition!=null?l.getOverriddenMarkYPosition(a):this._getDefaultMarkYPosition(a)})}_extractChildElements(e,o){const i=o==null?e:e.querySelector(`.${o}`);if(i==null)throw new Error(`Couldn't find "${o}".`);return Array.from(i.childNodes.values()).filter(s=>s instanceof HTMLElement)}_getDefaultMarkYPosition(e){const o=this._canvasContainer.getBoundingClientRect(),i=e.getBoundingClientRect();return i.top-o.top+i.height/2}_getDiagramColor(){const e={dark:"darkThemeColorHexCode",light:"lightThemeColorHexCode",auto:this._prefersDark?"darkThemeColorHexCode":"lightThemeColorHexCode"}[this.data.colorTheme];return this.data[e]??this._css.fg}}function I(t){const{settings:e}=G(),o=w(()=>({structure:t.structure,lightThemeColorHexCode:t.lightThemeColorHexCode,darkThemeColorHexCode:t.darkThemeColorHexCode,contentParent:t.contentParent,colorTheme:e.theme}),[t.darkThemeColorHexCode,t.contentParent,t.lightThemeColorHexCode,t.structure,e.theme]),i=j((s,l)=>new ut(s,l),[]);return n(at,{class:d(t.class),createController:i,data:o})}function mt(t){return n(_,{class:d(t.class,"grid-cols-[auto_1fr] gap-4"),children:[n(I,{class:"w-4",structure:t.structure,lightThemeColorHexCode:t.lightThemeColorHexCode,darkThemeColorHexCode:t.darkThemeColorHexCode,contentParent:t.contentParent}),n("div",{ref:t.contentParentRef,class:"flex flex-col gap-6",children:t.structure.stops.map(e=>n(_,{children:e.content}))})]})}function gt(t){const e=B(null),[o,i]=N(null);if(Y(()=>{i(e.current)},[]),t.structure.type==="linear")return n(mt,{class:t.class,structure:t.structure,lightThemeColorHexCode:t.lightThemeColorHexCode,darkThemeColorHexCode:t.darkThemeColorHexCode,contentParent:o,contentParentRef:e});if(t.structure.type==="branch")return n(ct,{class:t.class,structure:t.structure,lightThemeColorHexCode:t.lightThemeColorHexCode,darkThemeColorHexCode:t.darkThemeColorHexCode,contentParent:o,contentParentRef:e});if(t.structure.type==="loop")return n(ht,{class:t.class,structure:t.structure,lightThemeColorHexCode:t.lightThemeColorHexCode,darkThemeColorHexCode:t.darkThemeColorHexCode,contentParent:o,contentParentRef:e});R(t.structure)}function q(t){const{foda:e}=D(),o=w(()=>ft(e,t.diagram),[e,t.diagram]);return n(_,{class:d(t.class,"bg-bg-raised px-4 py-8 justify-center rounded-sm border border-soft-border"),children:n(gt,{structure:o,lightThemeColorHexCode:t.diagram.color?.lightModeHexCode??null,darkThemeColorHexCode:t.diagram.color?.darkModeHexCode??null})})}function ft(t,e){function o(i){return i.map(s=>_t(t,s.stopId,s.type))}if(e.type==="linear")return{type:"linear",stops:o(e.stops)};if(e.type==="branch")return{type:"branch",commonStops:o(e.commonStops),branchAStops:o(e.branchAStops),branchBStops:o(e.branchBStops)};if(e.type==="loop")return{type:"loop",loopLeftStops:o(e.loopLeftStops),loopRightStops:o(e.loopRightStops),mainStops:o(e.mainStops)};R(e)}function _t(t,e,o){const i=t.stops.require(e),s=`/stop/${i.urlPath}`;if(o==="regular")return{content:n(v,{style:"strong",children:n(P,{href:s,style:"subtle",children:i.name})})};if(o==="always-express")return{content:n(v,{style:"small-weak",children:n(P,{href:s,style:"subtle",children:["Skips ",i.name]})}),drawMark:!1};R(o)}const xt={linear:!0,branch:!0,loop:!0},Ct=Object.keys(xt);function Tt(t){const e=t.diagram.entries.filter(o=>Ct.includes(o.type));return e.length<t.diagram.entries.length?n(st,{fallbackStopList:t.diagram.fallbackStopList}):n(f,{class:d(t.class,"gap-6"),children:[n(v,{style:"subtitle",children:"Diagram"}),e.length===1?n(q,{diagram:h(e[0])}):n(St,{entries:e},e.length)]})}function St(t){const[e,o]=N(0),i=w(()=>t.entries.map((s,l)=>({value:l.toFixed(),label:s.name??`Route ${l+1}`})),[t.entries]);return n(f,{class:"gap-4",children:[n(ot,{class:"self-start",value:e.toFixed(),options:i,onChange:s=>{o(nt(s))}}),n(q,{diagram:h(t.entries[e])},e)]})}function Ht(){const{params:{id:t}}=Q(),{foda:e}=D(),o=w(()=>e.lines.getByUrlPath(t??""),[e.lines,t]);return o===null?n(tt,{afterConfirming:"foundational-data-version"}):n(pt,{line:o})}function pt(t){const{formatLine:e}=Z();return n(K,{...J({title:e(t.line.name)}),children:n(f,{class:"px-4 py-8 gap-8",children:t.line.diagram.entries.length>0&&n(Tt,{diagram:t.line.diagram})})})}export{Ht as default};
@@ -1 +1 @@
1
- import{e as t,d as n}from"./index-CLEhHuwG.js";const i={default:"text-accent-text underline",subtle:"hover:underline"};function a(e){const c=i[e.style??"default"],l=t(c,"inline",e.class);return e.onClick!=null?n("span",{class:l,onClick:e.onClick,children:e.children}):e.href!=null?n("a",{class:l,href:e.href,children:e.children}):n("span",{class:l,children:e.children})}export{a as L};
1
+ import{e as t,d as n}from"./index-jI1qL-AF.js";const i={default:"text-accent-text underline",subtle:"hover:underline"};function a(e){const c=i[e.style??"default"],l=t(c,"inline",e.class);return e.onClick!=null?n("span",{class:l,onClick:e.onClick,children:e.children}):e.href!=null?n("a",{class:l,href:e.href,children:e.children}):n("span",{class:l,children:e.children})}export{a as L};
@@ -1,2 +1,2 @@
1
- import{d as i,S as u,e as d,T as a,j as h,C as k}from"./index-CLEhHuwG.js";import{L as p}from"./LinkText-BZEamFKR.js";import{S as x}from"./Strong-DQEYCa_y.js";const g=/\[([^[\]]+)\]\(([^()]+)\)/,w=/\*\*(.+?)\*\*/,T=/\*([^*]+)\*/,y=/_([^_]+)_/;function m(t,n){const l=[];let e=t;for(;e.length>0;){const r=b(e);if(r==null){l.push(e);break}r.index>0&&l.push(e.slice(0,r.index));const c=m(r.innerContent,n);l.push(r.wrap(i(u,{children:c}),n)),e=e.slice(r.index+r.fullMatch.length)}return l}function b(t){const n=[M(t),I(t),s(t,T),s(t,y)];let l=null;for(const e of n)e!=null&&(l==null||e.index<l.index)&&(l=e);return l}function M(t){const n=t.match(g);if(n==null||n.index==null||n[1]==null||n[2]==null)return null;const l=n[2];return!l.startsWith("https://")&&!l.startsWith("/")?null:{index:n.index,fullMatch:n[0],innerContent:n[1],wrap:(e,r)=>r.link(e,l)}}function I(t){const n=t.match(w);return n==null||n.index==null||n[1]==null?null:{index:n.index,fullMatch:n[0],innerContent:n[1],wrap:(l,e)=>e.bold(l)}}function s(t,n){const l=t.match(n);return l==null||l.index==null||l[1]==null?null:{index:l.index,fullMatch:l[0],innerContent:l[1],wrap:(e,r)=>r.italic(e)}}function C(t){return i("em",{class:d(t.class),children:t.children})}const o={bold:t=>i(x,{children:t}),italic:t=>i(C,{children:t}),link:(t,n)=>i(p,{href:n,children:t})},S={h1:{render:(t,n)=>i(a,{as:"h1",style:"title",children:t},n),marginTop:"mt-12"},h2:{render:(t,n)=>i(a,{as:"h2",style:"subtitle",children:t},n),marginTop:"mt-12"},h3:{render:(t,n)=>i(a,{as:"h3",style:"strong",children:t},n),marginTop:"mt-12"},p:{render:(t,n)=>i(a,{as:"p",children:t},n),marginTop:"mt-8"},bold:o.bold,italic:o.italic,link:o.link};function P(t){const n=t.style??o,l=h(()=>m(t.markdown,n),[t.markdown,n]);return i(u,{children:l})}function B(t){return t.split(`
1
+ import{d as i,S as u,e as d,T as a,j as h,C as k}from"./index-jI1qL-AF.js";import{L as p}from"./LinkText-CuzmudpX.js";import{S as x}from"./Strong-BND8QD53.js";const g=/\[([^[\]]+)\]\(([^()]+)\)/,w=/\*\*(.+?)\*\*/,T=/\*([^*]+)\*/,y=/_([^_]+)_/;function m(t,n){const l=[];let e=t;for(;e.length>0;){const r=b(e);if(r==null){l.push(e);break}r.index>0&&l.push(e.slice(0,r.index));const c=m(r.innerContent,n);l.push(r.wrap(i(u,{children:c}),n)),e=e.slice(r.index+r.fullMatch.length)}return l}function b(t){const n=[M(t),I(t),s(t,T),s(t,y)];let l=null;for(const e of n)e!=null&&(l==null||e.index<l.index)&&(l=e);return l}function M(t){const n=t.match(g);if(n==null||n.index==null||n[1]==null||n[2]==null)return null;const l=n[2];return!l.startsWith("https://")&&!l.startsWith("/")?null:{index:n.index,fullMatch:n[0],innerContent:n[1],wrap:(e,r)=>r.link(e,l)}}function I(t){const n=t.match(w);return n==null||n.index==null||n[1]==null?null:{index:n.index,fullMatch:n[0],innerContent:n[1],wrap:(l,e)=>e.bold(l)}}function s(t,n){const l=t.match(n);return l==null||l.index==null||l[1]==null?null:{index:l.index,fullMatch:l[0],innerContent:l[1],wrap:(e,r)=>r.italic(e)}}function C(t){return i("em",{class:d(t.class),children:t.children})}const o={bold:t=>i(x,{children:t}),italic:t=>i(C,{children:t}),link:(t,n)=>i(p,{href:n,children:t})},S={h1:{render:(t,n)=>i(a,{as:"h1",style:"title",children:t},n),marginTop:"mt-12"},h2:{render:(t,n)=>i(a,{as:"h2",style:"subtitle",children:t},n),marginTop:"mt-12"},h3:{render:(t,n)=>i(a,{as:"h3",style:"strong",children:t},n),marginTop:"mt-12"},p:{render:(t,n)=>i(a,{as:"p",children:t},n),marginTop:"mt-8"},bold:o.bold,italic:o.italic,link:o.link};function P(t){const n=t.style??o,l=h(()=>m(t.markdown,n),[t.markdown,n]);return i(u,{children:l})}function B(t){return t.split(`
2
2
  `).map(n=>n.replace(/[\r\t]/g,"").trim()).filter(n=>n.length>0).map(n=>{const l=n.match(/^### (.+)$/);if(l!=null&&l[1]!=null)return{kind:"h3",content:l[1]};const e=n.match(/^## (.+)$/);if(e!=null&&e[1]!=null)return{kind:"h2",content:e[1]};const r=n.match(/^# (.+)$/);return r!=null&&r[1]!=null?{kind:"h1",content:r[1]}:{kind:"p",content:n}})}function W(t){const n=t.style??S,l=h(()=>B(t.markdown).map((e,r)=>{const c=n[e.kind],f=r===0?"":c.marginTop;return i("div",{class:f,children:c.render(i(P,{style:n,markdown:e.content}),r)},r)}),[t.markdown,n]);return i(k,{class:d(t.class),children:l})}export{P as I,W as M};
@@ -0,0 +1 @@
1
+ import{d as e,C as r,T as a}from"./index-jI1qL-AF.js";import{P as l}from"./Page-BISwM3fy.js";function n(){return e(l,{mobileHeader:null,desktopHeader:null,children:e(r,{class:"px-4 py-8 gap-8",children:e(a,{children:"Idk"})})})}export{n as default};
@@ -0,0 +1 @@
1
+ import{d as o}from"./index-jI1qL-AF.js";import{N as r}from"./NotFoundPage-CjreacId.js";import"./Page-BISwM3fy.js";function f(){return o(r,{afterConfirming:"frontend-version"})}export{f as default};
@@ -1 +1 @@
1
- import{h as F,u as H,f as A,a as D,b,i as k,m as P,y as g,s as B,F as L,d as n,C as p,L as S,T as m,B as T,v as E,w as I}from"./index-CLEhHuwG.js";import{P as y}from"./Page-14zdRXyE.js";function R({afterConfirming:i}){const{isHotReloadingEnabled:v}=F(),{frontendVersion:w}=H(),{unregister:r}=A(),{foda:e,updateFoda:l}=D(),{callApi:d}=I(),{data:a,loading:t,error:u}=b(k,{}),[x,c]=P(!1),o=i==="frontend-version"&&!v&&!t&&u==null&&a!=null&&a.frontendVersion!==w,f=i==="foundational-data-version"&&!t&&u==null&&a!=null&&a.foundationalDataHash!==e.hash;return g(()=>{if(!o)return;async function s(){await r(),window.location.reload()}s()},[o,r]),g(()=>{if(!f)return;async function s(){c(!0);try{const h=await d(B,{hash:e.hash});h.result==="outdated"&&l(new L(h.foundationalData))}catch{}finally{c(!1)}}s()},[f,d,e.hash,l]),t||o||x?n(y,{mobileHeader:null,desktopHeader:null,children:n(p,{xAlign:"center",yAlign:"center",children:n(S,{})})}):n(y,{mobileHeader:null,desktopHeader:null,children:n(p,{class:"px-4 py-8 gap-8",xAlign:"center",yAlign:"center",children:[n(m,{style:"title",align:"center",children:"Page not found"}),n(m,{align:"center",children:"This page doesn't exist, at least not anymore!"}),n(T,{href:"/",text:"Go home",icon:E})]})})}export{R as N};
1
+ import{h as F,u as H,f as A,a as D,b,i as k,m as P,y as g,s as B,F as L,d as n,C as p,L as S,T as m,B as T,v as E,w as I}from"./index-jI1qL-AF.js";import{P as y}from"./Page-BISwM3fy.js";function R({afterConfirming:i}){const{isHotReloadingEnabled:v}=F(),{frontendVersion:w}=H(),{unregister:r}=A(),{foda:e,updateFoda:l}=D(),{callApi:d}=I(),{data:a,loading:t,error:u}=b(k,{}),[x,c]=P(!1),o=i==="frontend-version"&&!v&&!t&&u==null&&a!=null&&a.frontendVersion!==w,f=i==="foundational-data-version"&&!t&&u==null&&a!=null&&a.foundationalDataHash!==e.hash;return g(()=>{if(!o)return;async function s(){await r(),window.location.reload()}s()},[o,r]),g(()=>{if(!f)return;async function s(){c(!0);try{const h=await d(B,{hash:e.hash});h.result==="outdated"&&l(new L(h.foundationalData))}catch{}finally{c(!1)}}s()},[f,d,e.hash,l]),t||o||x?n(y,{mobileHeader:null,desktopHeader:null,children:n(p,{xAlign:"center",yAlign:"center",children:n(S,{})})}):n(y,{mobileHeader:null,desktopHeader:null,children:n(p,{class:"px-4 py-8 gap-8",xAlign:"center",yAlign:"center",children:[n(m,{style:"title",align:"center",children:"Page not found"}),n(m,{align:"center",children:"This page doesn't exist, at least not anymore!"}),n(T,{href:"/",text:"Go home",icon:E})]})})}export{R as N};
@@ -1 +1 @@
1
- import{d,e as r,G as n,z as a,P as i}from"./index-CLEhHuwG.js";function s(e){return d(n,{class:r(e.class,"not-desktop:hidden"),children:e.children})}function c(e){return d(n,{class:r(e.class,"fixed top-0 left-0 right-0 bg-bg-navbar border-b border-soft-border desktop:hidden"),children:e.children})}function h(e){const{showMobileNav:l}=a(),t=e.centered??!0;return d(n,{class:r("bg-bg min-h-svh relative",{"pt-14":e.mobileHeader!=null,"not-desktop:pb-18":l,"desktop:grid-rows-[auto_1fr]":e.desktopHeader!=null},"desktop:pt-12"),children:[e.desktopHeader!=null&&d(s,{children:e.desktopHeader}),e.mobileHeader!=null&&d(c,{class:"h-14 z-1",children:e.mobileHeader}),d(n,{class:"z-0",children:t?d(i,{children:e.children}):e.children})]})}export{h as P};
1
+ import{d,e as r,G as n,z as a,P as i}from"./index-jI1qL-AF.js";function s(e){return d(n,{class:r(e.class,"not-desktop:hidden"),children:e.children})}function c(e){return d(n,{class:r(e.class,"fixed top-0 left-0 right-0 bg-bg-navbar border-b border-soft-border desktop:hidden"),children:e.children})}function h(e){const{showMobileNav:l}=a(),t=e.centered??!0;return d(n,{class:r("bg-bg min-h-svh relative",{"pt-14":e.mobileHeader!=null,"not-desktop:pb-18":l,"desktop:grid-rows-[auto_1fr]":e.desktopHeader!=null},"desktop:pt-12"),children:[e.desktopHeader!=null&&d(s,{children:e.desktopHeader}),e.mobileHeader!=null&&d(c,{class:"h-14 z-1",children:e.mobileHeader}),d(n,{class:"z-0",children:t?d(i,{children:e.children}):e.children})]})}export{h as P};
@@ -1 +1 @@
1
- import{d as c,e as a,R as t,T as o,r}from"./index-CLEhHuwG.js";const s=["bg-transparent","group-hover:bg-soft-hover","group-active:bg-soft-active"],i=["bg-accent","group-hover:bg-accent-hover","group-active:bg-accent-active"],v=["[--color-fg:var(--color-on-accent)]","[--color-fg-strong:var(--color-on-accent)]","[--color-fg-weak:var(--color-on-accent)]"],g=a(s),u=a(i),d=a(v);function k(e){return c(t,{class:a(e.class,"overflow-hidden rounded-sm border border-accent max-w-full"),children:e.options.map((n,l)=>c(b,{class:"shrink",label:n.label,active:n.value===e.value,last:l===e.options.length-1,onClick:()=>e.onChange(n.value)},n.value))})}function b(e){return c(r,{class:a(e.class,"relative group min-h-8",{[d]:e.active,"border-r border-accent":!e.last}),onClick:e.onClick,children:[c("div",{class:a("absolute z-0 top-0 bottom-0 left-0 right-0",{[g]:!e.active,[u]:e.active})}),c(t,{class:"relative z-1 px-6 py-2 min-w-0",xAlign:"center",yAlign:"center",children:c(o,{class:"shrink min-w-min",align:"center",children:e.label})})]})}export{k as P};
1
+ import{d as c,e as a,R as t,T as o,r}from"./index-jI1qL-AF.js";const s=["bg-transparent","group-hover:bg-soft-hover","group-active:bg-soft-active"],i=["bg-accent","group-hover:bg-accent-hover","group-active:bg-accent-active"],v=["[--color-fg:var(--color-on-accent)]","[--color-fg-strong:var(--color-on-accent)]","[--color-fg-weak:var(--color-on-accent)]"],g=a(s),u=a(i),d=a(v);function k(e){return c(t,{class:a(e.class,"overflow-hidden rounded-sm border border-accent max-w-full"),children:e.options.map((n,l)=>c(b,{class:"shrink",label:n.label,active:n.value===e.value,last:l===e.options.length-1,onClick:()=>e.onChange(n.value)},n.value))})}function b(e){return c(r,{class:a(e.class,"relative group min-h-8",{[d]:e.active,"border-r border-accent":!e.last}),onClick:e.onClick,children:[c("div",{class:a("absolute z-0 top-0 bottom-0 left-0 right-0",{[g]:!e.active,[u]:e.active})}),c(t,{class:"relative z-1 px-6 py-2 min-w-0",xAlign:"center",yAlign:"center",children:c(o,{class:"shrink min-w-min",align:"center",children:e.label})})]})}export{k as P};
@@ -1 +1 @@
1
- import{d as l,e as a}from"./index-CLEhHuwG.js";function s(e){return l("div",{class:a(e.class,"bg-placeholder animate-placeholder-pulse")})}function r(e){return l(s,{...e,class:a(e.class,"h-[1em] -my-[0.13em]")})}export{r as T};
1
+ import{d as l,e as a}from"./index-jI1qL-AF.js";function s(e){return l("div",{class:a(e.class,"bg-placeholder animate-placeholder-pulse")})}function r(e){return l(s,{...e,class:a(e.class,"h-[1em] -my-[0.13em]")})}export{r as T};
@@ -1 +1 @@
1
- import{k as n,d as e,t as c,C as o,T as t}from"./index-CLEhHuwG.js";import{P as m}from"./Picker-B_2kVnst.js";import{P as u}from"./Page-14zdRXyE.js";import{u as h}from"./use-simple-headers-CdkDNHF3.js";import{D as d}from"./Divider-dQCO5rFf.js";const g={auto:"Auto",light:"Light",dark:"Dark"},p=c.map(s=>({value:s,label:g[s]}));function f(s){const{settings:r,updateSettings:a}=n();return e(m,{class:s.class,value:r.theme,options:p,onChange:i=>{a(l=>l.with({theme:i}))}})}function P(){return e(u,{...h({title:"Settings"}),children:e(o,{class:"px-4 py-8 gap-8",children:[e(o,{class:"gap-6",children:[e(t,{style:"strong",children:"Theme"}),e(t,{children:`"Auto" means the colour theme should follow your device's/browser's settings.`}),e(f,{class:"self-start"})]}),e(d,{}),e(t,{style:"small-weak",children:"(Settings are saved to your device's/browser's local storage.)"})]})})}export{P as default};
1
+ import{k as n,d as e,t as c,C as o,T as t}from"./index-jI1qL-AF.js";import{P as m}from"./Picker-CNeXxMsu.js";import{P as u}from"./Page-BISwM3fy.js";import{u as h}from"./use-simple-headers-CqMikxZC.js";import{D as d}from"./Divider-BcodRRFp.js";const g={auto:"Auto",light:"Light",dark:"Dark"},p=c.map(s=>({value:s,label:g[s]}));function f(s){const{settings:r,updateSettings:a}=n();return e(m,{class:s.class,value:r.theme,options:p,onChange:i=>{a(l=>l.with({theme:i}))}})}function P(){return e(u,{...h({title:"Settings"}),children:e(o,{class:"px-4 py-8 gap-8",children:[e(o,{class:"gap-6",children:[e(t,{style:"strong",children:"Theme"}),e(t,{children:`"Auto" means the colour theme should follow your device's/browser's settings.`}),e(f,{class:"self-start"})]}),e(d,{}),e(t,{style:"small-weak",children:"(Settings are saved to your device's/browser's local storage.)"})]})})}export{P as default};
@@ -0,0 +1 @@
1
+ import{d as t,C as a,T as e}from"./index-jI1qL-AF.js";import{P as r}from"./Page-BISwM3fy.js";import{u as s}from"./use-simple-headers-CqMikxZC.js";function u(){return t(r,{...s({title:"Status"}),children:t(a,{class:"px-4 py-8 gap-8",children:t(e,{children:"LGTM"})})})}export{u as default};
@@ -1 +1 @@
1
- import{l as u,a as r,j as l,d as o,C as c,T as f}from"./index-CLEhHuwG.js";import{P as p}from"./Page-14zdRXyE.js";import{u as d}from"./use-simple-headers-CdkDNHF3.js";import{N as m}from"./NotFoundPage-CmT-cPq4.js";function g(n,e,t,a){if(n.length===0)return"";if(n.length===1)return n[0];if(n.length===2)return`${n[0]}${a}${n[1]}`;const s=n.slice(0,-1).join(e),i=n[n.length-1];return`${s}${t}${i}`}function h(n){return g(n,", ",", and "," and ")}function y(){const{params:{id:n}}=u(),{foda:e}=r(),t=l(()=>e.stops.getByUrlPath(n??""),[e.stops,n]);return t===null?o(m,{afterConfirming:"foundational-data-version"}):o(S,{stop:t})}function S(n){const{foda:e}=r();return o(p,{...d({title:n.stop.name}),children:o(c,{class:"px-4 py-8 gap-8",children:o(f,{children:[h(n.stop.canonicalLinesServingStop.map(t=>e.lines.require(t).name).sort((t,a)=>t.localeCompare(a)))," ",n.stop.canonicalLinesServingStop.length===1?"Line":"lines"]})})})}export{y as default};
1
+ import{l as u,a as r,j as l,d as o,C as c,T as f}from"./index-jI1qL-AF.js";import{P as p}from"./Page-BISwM3fy.js";import{u as d}from"./use-simple-headers-CqMikxZC.js";import{N as m}from"./NotFoundPage-CjreacId.js";function g(n,e,t,a){if(n.length===0)return"";if(n.length===1)return n[0];if(n.length===2)return`${n[0]}${a}${n[1]}`;const s=n.slice(0,-1).join(e),i=n[n.length-1];return`${s}${t}${i}`}function h(n){return g(n,", ",", and "," and ")}function y(){const{params:{id:n}}=u(),{foda:e}=r(),t=l(()=>e.stops.getByUrlPath(n??""),[e.stops,n]);return t===null?o(m,{afterConfirming:"foundational-data-version"}):o(S,{stop:t})}function S(n){const{foda:e}=r();return o(p,{...d({title:n.stop.name}),children:o(c,{class:"px-4 py-8 gap-8",children:o(f,{children:[h(n.stop.canonicalLinesServingStop.map(t=>e.lines.require(t).name).sort((t,a)=>t.localeCompare(a)))," ",n.stop.canonicalLinesServingStop.length===1?"Line":"lines"]})})})}export{y as default};
@@ -1 +1 @@
1
- import{d as s,e as t}from"./index-CLEhHuwG.js";function c(r){return s("strong",{class:t(r.class,"text-fg-strong"),children:r.children})}export{c as S};
1
+ import{d as s,e as t}from"./index-jI1qL-AF.js";function c(r){return s("strong",{class:t(r.class,"text-fg-strong"),children:r.children})}export{c as S};
@@ -0,0 +1 @@
1
+ import{d as e,C as o,T as n}from"./index-jI1qL-AF.js";import{P as a}from"./Page-BISwM3fy.js";import{u as i}from"./use-simple-headers-CqMikxZC.js";import{S as r}from"./Strong-BND8QD53.js";function d(){return e(a,{...i({title:"Zen mode"}),children:e(o,{class:"px-4 py-8 gap-8",children:e(n,{children:[e(r,{children:"✨"})," Zen! ",e(r,{children:"✨"})]})})})}export{d as default};
@@ -0,0 +1 @@
1
+ @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-border-style:solid;--tw-font-weight:initial;--tw-duration:initial}}}@layer theme{:root,:host{--default-font-family:"Mona Sans", sans-serif;--spacing:.25rem;--text-sm:.75rem;--text-md:.9rem;--text-mdlg:1rem;--text-lg:1.1rem;--text-xl:1.25rem;--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;--color-bg:#e9edf3;--color-bg-raised:#f5f6fa;--color-bg-navbar:#fff;--color-fg:#000714cc;--color-fg-strong:#000;--color-fg-weak:#000e2999;--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:#001b5233;--color-soft-border-disabled:#001e5a1f;--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,ui-sans-serif, system-ui, 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;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{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)}}*{flex-shrink:0}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.end{inset-inline-end:var(--spacing)}.top-0{top:calc(var(--spacing) * 0)}.top-1{top:calc(var(--spacing) * 1)}.top-\[50\%\]{top:50%}.right-0{right:calc(var(--spacing) * 0)}.right-3{right:calc(var(--spacing) * 3)}.bottom-0{bottom:calc(var(--spacing) * 0)}.left-0{left:calc(var(--spacing) * 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(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}.mx-4{margin-inline:calc(var(--spacing) * 4)}.-my-\[0\.13em\]{margin-block:-.13em}.-mt-\[0\.38em\]{margin-top:-.38em}.mt-8{margin-top:calc(var(--spacing) * 8)}.mt-12{margin-top:calc(var(--spacing) * 12)}.-mb-\[0\.38em\]{margin-bottom:-.38em}.-ml-4{margin-left:calc(var(--spacing) * -4)}.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-8{height:calc(var(--spacing) * 8)}.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-54{height:calc(var(--spacing) * 54)}.h-\[1em\]{height:1em}.h-full{height:100%}.h-svh{height:100svh}.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:calc(var(--spacing) * 0)}.min-w-8{min-width:calc(var(--spacing) * 8)}.min-w-min{min-width:min-content}.shrink{flex-shrink: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-\[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:calc(var(--spacing) * 1)}.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)}.self-center{align-self:center}.self-start{align-self:flex-start}.overflow-hidden{overflow:hidden}.rounded-full{border-radius:3.40282e38px}.rounded-sm{border-radius:var(--radius-sm)}.border{border-style:var(--tw-border-style);border-width:1px}.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)}.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:calc(var(--spacing) * 1)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-4\.5{padding-block:calc(var(--spacing) * 4.5)}.py-8{padding-block:calc(var(--spacing) * 8)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-8{padding-top:calc(var(--spacing) * 8)}.pt-12{padding-top:calc(var(--spacing) * 12)}.pt-14{padding-top:calc(var(--spacing) * 14)}.pb-1\.5{padding-bottom:calc(var(--spacing) * 1.5)}.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-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-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)}.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-fg{color:var(--color-fg)}.text-fg-strong{color:var(--color-fg-strong)}.text-fg-weak{color:var(--color-fg-weak)}.italic{font-style:italic}.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)}.duration-100{--tw-duration:.1s;transition-duration:.1s}.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 (min-width:48rem){.not-desktop\:bottom-0{bottom:calc(var(--spacing) * 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-t{border-top-style:var(--tw-border-style);border-top-width:1px}.not-desktop\:bg-bg-navbar{background-color:var(--color-bg-navbar)}.not-desktop\:pb-18{padding-bottom:calc(var(--spacing) * 18)}}.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(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(min-width:48rem){.desktop\:top-0{top:calc(var(--spacing) * 0)}.desktop\:row-2{grid-row:2}.desktop\:hidden{display:none}.desktop\:h-8{height:calc(var(--spacing) * 8)}.desktop\:-translate-y-4{--tw-translate-y:calc(var(--spacing) * -4);translate:var(--tw-translate-x) var(--tw-translate-y)}.desktop\:grid-rows-\[auto_1fr\]{grid-template-rows:auto 1fr}.desktop\:flex-col-reverse{flex-direction:column-reverse}.desktop\:border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.desktop\:pt-12{padding-top:calc(var(--spacing) * 12)}.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(min-width:64rem){.widescreen\:grid-cols-\[1fr_64rem_1fr\]{grid-template-columns:1fr 64rem 1fr}}}body{background-color:var(--color-bg-navbar)}body.light,body.light dialog{color-scheme:light}@media(prefers-color-scheme:dark){body:not(.light),body:not(.light) dialog{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-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:#adc9ff33;--color-soft-border-disabled:#a5c3ff1f;--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{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-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:#adc9ff33;--color-soft-border-disabled:#a5c3ff1f;--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-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}}