screenreader-speech-capture 0.1.0 → 0.3.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 (206) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +4 -0
  3. package/dist/cli.mjs +15 -5
  4. package/dist/ui/adapter-node.js +4 -4
  5. package/dist/ui/client/ui/_app/immutable/assets/0.CeDGT9MW.css +1 -0
  6. package/dist/ui/client/ui/_app/immutable/assets/0.CeDGT9MW.css.br +0 -0
  7. package/dist/ui/client/ui/_app/immutable/assets/0.CeDGT9MW.css.gz +0 -0
  8. package/dist/ui/client/ui/_app/immutable/assets/2.DJfIfRJB.css +1 -0
  9. package/dist/ui/client/ui/_app/immutable/assets/2.DJfIfRJB.css.br +0 -0
  10. package/dist/ui/client/ui/_app/immutable/assets/2.DJfIfRJB.css.gz +0 -0
  11. package/dist/ui/client/ui/_app/immutable/assets/material-symbols-outlined-latin-400-normal.BhEvR8fk.woff2 +0 -0
  12. package/dist/ui/client/ui/_app/immutable/assets/roboto-flex-cyrillic-ext-opsz-normal.nDQikIyu.woff2 +0 -0
  13. package/dist/ui/client/ui/_app/immutable/assets/roboto-flex-cyrillic-opsz-normal.SjuC5rw5.woff2 +0 -0
  14. package/dist/ui/client/ui/_app/immutable/assets/roboto-flex-greek-opsz-normal.C14fFRny.woff2 +0 -0
  15. package/dist/ui/client/ui/_app/immutable/assets/roboto-flex-latin-ext-opsz-normal.xNclTVCo.woff2 +0 -0
  16. package/dist/ui/client/ui/_app/immutable/assets/roboto-flex-latin-opsz-normal.hy8fyBBC.woff2 +0 -0
  17. package/dist/ui/client/ui/_app/immutable/assets/roboto-flex-vietnamese-opsz-normal.C-H_yGOU.woff2 +0 -0
  18. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-cyrillic-400-normal.B3hIXASd.woff +0 -0
  19. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-cyrillic-400-normal.C-_K-ZCn.woff2 +0 -0
  20. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-cyrillic-500-normal.DGZ7-lUP.woff2 +0 -0
  21. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-cyrillic-500-normal.NpUJFYX7.woff +0 -0
  22. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-cyrillic-ext-400-normal.BHxv52bw.woff2 +0 -0
  23. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-cyrillic-ext-400-normal.W26xs1TL.woff +0 -0
  24. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-cyrillic-ext-500-normal.6xdwlG7p.woff +0 -0
  25. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-cyrillic-ext-500-normal.DC57U9n8.woff2 +0 -0
  26. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-greek-400-normal.CH_u3Aru.woff2 +0 -0
  27. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-greek-400-normal.P8xe1gs1.woff +0 -0
  28. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-greek-500-normal.C2M8jX6G.woff +0 -0
  29. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-greek-500-normal.DpRFkptA.woff2 +0 -0
  30. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-latin-400-normal.DBZPkcnn.woff +0 -0
  31. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-latin-400-normal.GekRknry.woff2 +0 -0
  32. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-latin-500-normal.D6j6AMzd.woff +0 -0
  33. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-latin-500-normal.pxIOXZmA.woff2 +0 -0
  34. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-latin-ext-400-normal.BwLXVYNz.woff +0 -0
  35. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-latin-ext-400-normal.DLAV9S_w.woff2 +0 -0
  36. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-latin-ext-500-normal.B1IjfbhL.woff +0 -0
  37. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-latin-ext-500-normal.Db3ge6Oe.woff2 +0 -0
  38. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-vietnamese-400-normal.CzWHQABp.woff +0 -0
  39. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-vietnamese-400-normal.yYTFiTTs.woff2 +0 -0
  40. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-vietnamese-500-normal.Cq-quQMu.woff2 +0 -0
  41. package/dist/ui/client/ui/_app/immutable/assets/roboto-mono-vietnamese-500-normal.IxzxMIj7.woff +0 -0
  42. package/dist/ui/client/ui/_app/immutable/chunks/BaD2EyfF.js +1 -0
  43. package/dist/ui/client/ui/_app/immutable/chunks/BaD2EyfF.js.br +1 -0
  44. package/dist/ui/client/ui/_app/immutable/chunks/BaD2EyfF.js.gz +0 -0
  45. package/dist/ui/client/ui/_app/immutable/chunks/CcBdu3S8.js +3 -0
  46. package/dist/ui/client/ui/_app/immutable/chunks/CcBdu3S8.js.br +0 -0
  47. package/dist/ui/client/ui/_app/immutable/chunks/CcBdu3S8.js.gz +0 -0
  48. package/dist/ui/client/ui/_app/immutable/chunks/DSHrAZZ8.js +37 -0
  49. package/dist/ui/client/ui/_app/immutable/chunks/DSHrAZZ8.js.br +0 -0
  50. package/dist/ui/client/ui/_app/immutable/chunks/DSHrAZZ8.js.gz +0 -0
  51. package/dist/ui/client/ui/_app/immutable/chunks/DbiAGPgw.js +1 -0
  52. package/dist/ui/client/ui/_app/immutable/chunks/DbiAGPgw.js.br +2 -0
  53. package/dist/ui/client/ui/_app/immutable/chunks/DbiAGPgw.js.gz +0 -0
  54. package/dist/ui/client/ui/_app/immutable/chunks/Dg9MaatX.js +1 -0
  55. package/dist/ui/client/ui/_app/immutable/chunks/Dg9MaatX.js.br +0 -0
  56. package/dist/ui/client/ui/_app/immutable/chunks/Dg9MaatX.js.gz +0 -0
  57. package/dist/ui/client/ui/_app/immutable/chunks/DvmLiMpQ.js +3 -0
  58. package/dist/ui/client/ui/_app/immutable/chunks/DvmLiMpQ.js.br +0 -0
  59. package/dist/ui/client/ui/_app/immutable/chunks/DvmLiMpQ.js.gz +0 -0
  60. package/dist/ui/client/ui/_app/immutable/entry/app.2mjWY9ga.js +2 -0
  61. package/dist/ui/client/ui/_app/immutable/entry/app.2mjWY9ga.js.br +0 -0
  62. package/dist/ui/client/ui/_app/immutable/entry/app.2mjWY9ga.js.gz +0 -0
  63. package/dist/ui/client/ui/_app/immutable/entry/start.BHpKgjPx.js +2 -0
  64. package/dist/ui/client/ui/_app/immutable/entry/start.BHpKgjPx.js.br +0 -0
  65. package/dist/ui/client/ui/_app/immutable/entry/start.BHpKgjPx.js.gz +0 -0
  66. package/dist/ui/client/ui/_app/immutable/nodes/0.CQ_XophD.js +1 -0
  67. package/dist/ui/client/ui/_app/immutable/nodes/0.CQ_XophD.js.br +0 -0
  68. package/dist/ui/client/ui/_app/immutable/nodes/0.CQ_XophD.js.gz +0 -0
  69. package/dist/ui/client/ui/_app/immutable/nodes/1.Bd-KoKuj.js +1 -0
  70. package/dist/ui/client/ui/_app/immutable/nodes/1.Bd-KoKuj.js.br +0 -0
  71. package/dist/ui/client/ui/_app/immutable/nodes/1.Bd-KoKuj.js.gz +0 -0
  72. package/dist/ui/client/ui/_app/immutable/nodes/2.BTJ1n3E7.js +224 -0
  73. package/dist/ui/client/ui/_app/immutable/nodes/2.BTJ1n3E7.js.br +0 -0
  74. package/dist/ui/client/ui/_app/immutable/nodes/2.BTJ1n3E7.js.gz +0 -0
  75. package/dist/ui/client/ui/_app/immutable/nodes/3.CsdEJLWJ.js +1 -0
  76. package/dist/ui/client/ui/_app/immutable/nodes/3.CsdEJLWJ.js.br +0 -0
  77. package/dist/ui/client/ui/_app/immutable/nodes/3.CsdEJLWJ.js.gz +0 -0
  78. package/dist/ui/client/ui/_app/immutable/nodes/4.CXVi2Rvi.js +1 -0
  79. package/dist/ui/client/ui/_app/immutable/nodes/4.CXVi2Rvi.js.br +0 -0
  80. package/dist/ui/client/ui/_app/immutable/nodes/4.CXVi2Rvi.js.gz +0 -0
  81. package/dist/ui/client/ui/_app/version.json +1 -0
  82. package/dist/ui/client/ui/_app/version.json.br +0 -0
  83. package/dist/ui/client/ui/_app/version.json.gz +0 -0
  84. package/dist/ui/server/.vite/manifest.json +269 -4
  85. package/dist/ui/server/_app/immutable/assets/_layout.CeDGT9MW.css +1 -0
  86. package/dist/ui/server/_app/immutable/assets/_page.DJfIfRJB.css +1 -0
  87. package/dist/ui/server/_app/immutable/assets/material-symbols-outlined-latin-400-normal.BhEvR8fk.woff2 +0 -0
  88. package/dist/ui/server/_app/immutable/assets/roboto-flex-cyrillic-ext-opsz-normal.nDQikIyu.woff2 +0 -0
  89. package/dist/ui/server/_app/immutable/assets/roboto-flex-cyrillic-opsz-normal.SjuC5rw5.woff2 +0 -0
  90. package/dist/ui/server/_app/immutable/assets/roboto-flex-greek-opsz-normal.C14fFRny.woff2 +0 -0
  91. package/dist/ui/server/_app/immutable/assets/roboto-flex-latin-ext-opsz-normal.xNclTVCo.woff2 +0 -0
  92. package/dist/ui/server/_app/immutable/assets/roboto-flex-latin-opsz-normal.hy8fyBBC.woff2 +0 -0
  93. package/dist/ui/server/_app/immutable/assets/roboto-flex-vietnamese-opsz-normal.C-H_yGOU.woff2 +0 -0
  94. package/dist/ui/server/_app/immutable/assets/roboto-mono-cyrillic-400-normal.B3hIXASd.woff +0 -0
  95. package/dist/ui/server/_app/immutable/assets/roboto-mono-cyrillic-400-normal.C-_K-ZCn.woff2 +0 -0
  96. package/dist/ui/server/_app/immutable/assets/roboto-mono-cyrillic-500-normal.DGZ7-lUP.woff2 +0 -0
  97. package/dist/ui/server/_app/immutable/assets/roboto-mono-cyrillic-500-normal.NpUJFYX7.woff +0 -0
  98. package/dist/ui/server/_app/immutable/assets/roboto-mono-cyrillic-ext-400-normal.BHxv52bw.woff2 +0 -0
  99. package/dist/ui/server/_app/immutable/assets/roboto-mono-cyrillic-ext-400-normal.W26xs1TL.woff +0 -0
  100. package/dist/ui/server/_app/immutable/assets/roboto-mono-cyrillic-ext-500-normal.6xdwlG7p.woff +0 -0
  101. package/dist/ui/server/_app/immutable/assets/roboto-mono-cyrillic-ext-500-normal.DC57U9n8.woff2 +0 -0
  102. package/dist/ui/server/_app/immutable/assets/roboto-mono-greek-400-normal.CH_u3Aru.woff2 +0 -0
  103. package/dist/ui/server/_app/immutable/assets/roboto-mono-greek-400-normal.P8xe1gs1.woff +0 -0
  104. package/dist/ui/server/_app/immutable/assets/roboto-mono-greek-500-normal.C2M8jX6G.woff +0 -0
  105. package/dist/ui/server/_app/immutable/assets/roboto-mono-greek-500-normal.DpRFkptA.woff2 +0 -0
  106. package/dist/ui/server/_app/immutable/assets/roboto-mono-latin-400-normal.DBZPkcnn.woff +0 -0
  107. package/dist/ui/server/_app/immutable/assets/roboto-mono-latin-400-normal.GekRknry.woff2 +0 -0
  108. package/dist/ui/server/_app/immutable/assets/roboto-mono-latin-500-normal.D6j6AMzd.woff +0 -0
  109. package/dist/ui/server/_app/immutable/assets/roboto-mono-latin-500-normal.pxIOXZmA.woff2 +0 -0
  110. package/dist/ui/server/_app/immutable/assets/roboto-mono-latin-ext-400-normal.BwLXVYNz.woff +0 -0
  111. package/dist/ui/server/_app/immutable/assets/roboto-mono-latin-ext-400-normal.DLAV9S_w.woff2 +0 -0
  112. package/dist/ui/server/_app/immutable/assets/roboto-mono-latin-ext-500-normal.B1IjfbhL.woff +0 -0
  113. package/dist/ui/server/_app/immutable/assets/roboto-mono-latin-ext-500-normal.Db3ge6Oe.woff2 +0 -0
  114. package/dist/ui/server/_app/immutable/assets/roboto-mono-vietnamese-400-normal.CzWHQABp.woff +0 -0
  115. package/dist/ui/server/_app/immutable/assets/roboto-mono-vietnamese-400-normal.yYTFiTTs.woff2 +0 -0
  116. package/dist/ui/server/_app/immutable/assets/roboto-mono-vietnamese-500-normal.Cq-quQMu.woff2 +0 -0
  117. package/dist/ui/server/_app/immutable/assets/roboto-mono-vietnamese-500-normal.IxzxMIj7.woff +0 -0
  118. package/dist/ui/server/chunks/bridge-api.js +61 -0
  119. package/dist/ui/server/chunks/bridge-api.js.map +1 -0
  120. package/dist/ui/server/chunks/composition.js +232 -0
  121. package/dist/ui/server/chunks/composition.js.map +1 -0
  122. package/dist/ui/server/chunks/exports.js +69 -1
  123. package/dist/ui/server/chunks/exports.js.map +1 -1
  124. package/dist/ui/server/chunks/instance.js +20 -26
  125. package/dist/ui/server/chunks/instance.js.map +1 -1
  126. package/dist/ui/server/chunks/internal.js +102 -7
  127. package/dist/ui/server/chunks/internal.js.map +1 -1
  128. package/dist/ui/server/chunks/navigation.js +15 -0
  129. package/dist/ui/server/chunks/navigation.js.map +1 -0
  130. package/dist/ui/server/chunks/server2.js +30 -1
  131. package/dist/ui/server/chunks/server2.js.map +1 -1
  132. package/dist/ui/server/chunks/src.js +968 -0
  133. package/dist/ui/server/chunks/src.js.map +1 -0
  134. package/dist/ui/server/chunks/state.js +38 -0
  135. package/dist/ui/server/chunks/state.js.map +1 -0
  136. package/dist/ui/server/entries/endpoints/api/sessions/_server.ts.js +18 -0
  137. package/dist/ui/server/entries/endpoints/api/sessions/_server.ts.js.map +1 -0
  138. package/dist/ui/server/entries/endpoints/api/sessions/end/_server.ts.js +10 -0
  139. package/dist/ui/server/entries/endpoints/api/sessions/end/_server.ts.js.map +1 -0
  140. package/dist/ui/server/entries/endpoints/api/status/_server.ts.js +10 -0
  141. package/dist/ui/server/entries/endpoints/api/status/_server.ts.js.map +1 -0
  142. package/dist/ui/server/entries/fallbacks/error.svelte.js +2 -35
  143. package/dist/ui/server/entries/fallbacks/error.svelte.js.map +1 -1
  144. package/dist/ui/server/entries/pages/_layout.server.ts.js +5 -980
  145. package/dist/ui/server/entries/pages/_layout.server.ts.js.map +1 -1
  146. package/dist/ui/server/entries/pages/_layout.svelte.js +194 -7
  147. package/dist/ui/server/entries/pages/_layout.svelte.js.map +1 -1
  148. package/dist/ui/server/entries/pages/_page.server.ts.js +18 -0
  149. package/dist/ui/server/entries/pages/_page.server.ts.js.map +1 -0
  150. package/dist/ui/server/entries/pages/_page.svelte.js +213 -2
  151. package/dist/ui/server/entries/pages/_page.svelte.js.map +1 -1
  152. package/dist/ui/server/entries/pages/settings/_page.svelte.js +8 -0
  153. package/dist/ui/server/entries/pages/settings/_page.svelte.js.map +1 -0
  154. package/dist/ui/server/entries/pages/setup/_page.svelte.js +8 -0
  155. package/dist/ui/server/entries/pages/setup/_page.svelte.js.map +1 -0
  156. package/dist/ui/server/index.js +2 -2
  157. package/dist/ui/server/manifest-full.js +40 -3
  158. package/dist/ui/server/manifest.js +40 -3
  159. package/dist/ui/server/nodes/0.js +3 -3
  160. package/dist/ui/server/nodes/1.js +1 -1
  161. package/dist/ui/server/nodes/2.js +5 -3
  162. package/dist/ui/server/nodes/3.js +8 -0
  163. package/dist/ui/server/nodes/4.js +8 -0
  164. package/dist/ui/server/remote-entry.js +3 -3
  165. package/dist/ui/server/remote-entry.js.map +1 -1
  166. package/dist/ui/server/server.js +40 -3
  167. package/package.json +2 -2
  168. package/dist/ui/client/_app/immutable/chunks/BMrJcSB7.js +0 -3
  169. package/dist/ui/client/_app/immutable/chunks/BMrJcSB7.js.br +0 -0
  170. package/dist/ui/client/_app/immutable/chunks/BMrJcSB7.js.gz +0 -0
  171. package/dist/ui/client/_app/immutable/chunks/BueZJg5y.js +0 -2
  172. package/dist/ui/client/_app/immutable/chunks/BueZJg5y.js.br +0 -0
  173. package/dist/ui/client/_app/immutable/chunks/BueZJg5y.js.gz +0 -0
  174. package/dist/ui/client/_app/immutable/chunks/ZzrMKdp0.js +0 -1
  175. package/dist/ui/client/_app/immutable/chunks/ZzrMKdp0.js.br +0 -0
  176. package/dist/ui/client/_app/immutable/chunks/ZzrMKdp0.js.gz +0 -0
  177. package/dist/ui/client/_app/immutable/entry/app.BGREpuCm.js +0 -2
  178. package/dist/ui/client/_app/immutable/entry/app.BGREpuCm.js.br +0 -0
  179. package/dist/ui/client/_app/immutable/entry/app.BGREpuCm.js.gz +0 -0
  180. package/dist/ui/client/_app/immutable/entry/start.Bj3y6VYi.js +0 -2
  181. package/dist/ui/client/_app/immutable/entry/start.Bj3y6VYi.js.br +0 -0
  182. package/dist/ui/client/_app/immutable/entry/start.Bj3y6VYi.js.gz +0 -0
  183. package/dist/ui/client/_app/immutable/nodes/0.BdmtdjrF.js +0 -1
  184. package/dist/ui/client/_app/immutable/nodes/0.BdmtdjrF.js.br +0 -0
  185. package/dist/ui/client/_app/immutable/nodes/0.BdmtdjrF.js.gz +0 -0
  186. package/dist/ui/client/_app/immutable/nodes/1.B76I_t5U.js +0 -1
  187. package/dist/ui/client/_app/immutable/nodes/1.B76I_t5U.js.br +0 -0
  188. package/dist/ui/client/_app/immutable/nodes/1.B76I_t5U.js.gz +0 -0
  189. package/dist/ui/client/_app/immutable/nodes/2.CpNTEXmI.js +0 -1
  190. package/dist/ui/client/_app/immutable/nodes/2.CpNTEXmI.js.br +0 -0
  191. package/dist/ui/client/_app/immutable/nodes/2.CpNTEXmI.js.gz +0 -0
  192. package/dist/ui/client/_app/version.json +0 -1
  193. package/dist/ui/client/_app/version.json.br +0 -0
  194. package/dist/ui/client/_app/version.json.gz +0 -0
  195. /package/dist/ui/client/{_app → ui/_app}/immutable/chunks/Bjy-W4x2.js +0 -0
  196. /package/dist/ui/client/{_app → ui/_app}/immutable/chunks/Bjy-W4x2.js.br +0 -0
  197. /package/dist/ui/client/{_app → ui/_app}/immutable/chunks/Bjy-W4x2.js.gz +0 -0
  198. /package/dist/ui/client/{_app → ui/_app}/immutable/chunks/DclECHGd.js +0 -0
  199. /package/dist/ui/client/{_app → ui/_app}/immutable/chunks/DclECHGd.js.br +0 -0
  200. /package/dist/ui/client/{_app → ui/_app}/immutable/chunks/DclECHGd.js.gz +0 -0
  201. /package/dist/ui/client/{_app → ui/_app}/immutable/entry/payload.DSmR2FwN.js +0 -0
  202. /package/dist/ui/client/{_app → ui/_app}/immutable/entry/payload.DSmR2FwN.js.br +0 -0
  203. /package/dist/ui/client/{_app → ui/_app}/immutable/entry/payload.DSmR2FwN.js.gz +0 -0
  204. /package/dist/ui/client/{robots.txt → ui/robots.txt} +0 -0
  205. /package/dist/ui/client/{robots.txt.br → ui/robots.txt.br} +0 -0
  206. /package/dist/ui/client/{robots.txt.gz → ui/robots.txt.gz} +0 -0
@@ -0,0 +1,37 @@
1
+ import{F as e,I as t,L as n,T as r}from"./CcBdu3S8.js";import{o as i}from"./Dg9MaatX.js";function a(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}var o=e=>(t,n)=>{n===void 0?customElements.define(e,t):n.addInitializer(()=>{customElements.define(e,t)})},s=globalThis,c=s.ShadowRoot&&(s.ShadyCSS===void 0||s.ShadyCSS.nativeShadow)&&`adoptedStyleSheets`in Document.prototype&&`replace`in CSSStyleSheet.prototype,l=Symbol(),u=new WeakMap,d=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==l)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(c&&e===void 0){let n=t!==void 0&&t.length===1;n&&(e=u.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&u.set(t,e))}return e}toString(){return this.cssText}},f=e=>new d(typeof e==`string`?e:e+``,void 0,l),p=(e,...t)=>new d(e.length===1?e[0]:t.reduce((t,n,r)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if(typeof e==`number`)return e;throw Error(`Value passed to 'css' function must be a 'css' function result: `+e+`. Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.`)})(n)+e[r+1],e[0]),e,l),ee=(e,t)=>{if(c)e.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let n of t){let t=document.createElement(`style`),r=s.litNonce;r!==void 0&&t.setAttribute(`nonce`,r),t.textContent=n.cssText,e.appendChild(t)}},te=c?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t=``;for(let n of e.cssRules)t+=n.cssText;return f(t)})(e):e,{is:ne,defineProperty:re,getOwnPropertyDescriptor:ie,getOwnPropertyNames:ae,getOwnPropertySymbols:oe,getPrototypeOf:se}=Object,m=globalThis,ce=m.trustedTypes,le=ce?ce.emptyScript:``,ue=m.reactiveElementPolyfillSupport,h=(e,t)=>e,de={toAttribute(e,t){switch(t){case Boolean:e=e?le:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let n=e;switch(t){case Boolean:n=e!==null;break;case Number:n=e===null?null:Number(e);break;case Object:case Array:try{n=JSON.parse(e)}catch{n=null}}return n}},fe=(e,t)=>!ne(e,t),pe={attribute:!0,type:String,converter:de,reflect:!1,useDefault:!1,hasChanged:fe};Symbol.metadata??=Symbol(`metadata`),m.litPropertyMetadata??=new WeakMap;var g=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=pe){if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){let n=Symbol(),r=this.getPropertyDescriptor(e,n,t);r!==void 0&&re(this.prototype,e,r)}}static getPropertyDescriptor(e,t,n){let{get:r,set:i}=ie(this.prototype,e)??{get(){return this[t]},set(e){this[t]=e}};return{get:r,set(t){let a=r?.call(this);i?.call(this,t),this.requestUpdate(e,a,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??pe}static _$Ei(){if(this.hasOwnProperty(h(`elementProperties`)))return;let e=se(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(h(`finalized`)))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(h(`properties`))){let e=this.properties,t=[...ae(e),...oe(e)];for(let n of t)this.createProperty(n,e[n])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[e,n]of t)this.elementProperties.set(e,n)}this._$Eh=new Map;for(let[e,t]of this.elementProperties){let n=this._$Eu(e,t);n!==void 0&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let e of n)t.unshift(te(e))}else e!==void 0&&t.push(te(e));return t}static _$Eu(e,t){let n=t.attribute;return!1===n?void 0:typeof n==`string`?n:typeof e==`string`?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,t=this.constructor.elementProperties;for(let n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ee(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$ET(e,t){let n=this.constructor.elementProperties.get(e),r=this.constructor._$Eu(e,n);if(r!==void 0&&!0===n.reflect){let i=(n.converter?.toAttribute===void 0?de:n.converter).toAttribute(t,n.type);this._$Em=e,i==null?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(e,t){let n=this.constructor,r=n._$Eh.get(e);if(r!==void 0&&this._$Em!==r){let e=n.getPropertyOptions(r),i=typeof e.converter==`function`?{fromAttribute:e.converter}:e.converter?.fromAttribute===void 0?de:e.converter;this._$Em=r;let a=i.fromAttribute(t,e.type);this[r]=a??this._$Ej?.get(r)??a,this._$Em=null}}requestUpdate(e,t,n,r=!1,i){if(e!==void 0){let a=this.constructor;if(!1===r&&(i=this[e]),n??=a.getPropertyOptions(e),!((n.hasChanged??fe)(i,t)||n.useDefault&&n.reflect&&i===this._$Ej?.get(e)&&!this.hasAttribute(a._$Eu(e,n))))return;this.C(e,t,n)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(e,t,{useDefault:n,reflect:r,wrapped:i},a){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,a??t??this[e]),!0!==i||a!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(t=void 0),this._$AL.set(e,t)),!0===r&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[e,t]of this._$Ep)this[e]=t;this._$Ep=void 0}let e=this.constructor.elementProperties;if(e.size>0)for(let[t,n]of e){let{wrapped:e}=n,r=this[t];!0!==e||this._$AL.has(t)||r===void 0||this.C(t,void 0,n,r)}}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$EO?.forEach(e=>e.hostUpdate?.()),this.update(t)):this._$EM()}catch(t){throw e=!1,this._$EM(),t}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(e){}firstUpdated(e){}};g.elementStyles=[],g.shadowRootOptions={mode:`open`},g[h(`elementProperties`)]=new Map,g[h(`finalized`)]=new Map,ue?.({ReactiveElement:g}),(m.reactiveElementVersions??=[]).push(`2.1.2`);var me={attribute:!0,type:String,converter:de,reflect:!1,hasChanged:fe},he=(e=me,t,n)=>{let{kind:r,metadata:i}=n,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),r===`setter`&&((e=Object.create(e)).wrapped=!0),a.set(n.name,e),r===`accessor`){let{name:r}=n;return{set(n){let i=t.get.call(this);t.set.call(this,n),this.requestUpdate(r,i,e,!0,n)},init(t){return t!==void 0&&this.C(r,void 0,e,t),t}}}if(r===`setter`){let{name:r}=n;return function(n){let i=this[r];t.call(this,n),this.requestUpdate(r,i,e,!0,n)}}throw Error(`Unsupported decorator location: `+r)};function _(e){return(t,n)=>typeof n==`object`?he(e,t,n):((e,t,n)=>{let r=t.hasOwnProperty(n);return t.constructor.createProperty(n,e),r?Object.getOwnPropertyDescriptor(t,n):void 0})(e,t,n)}function ge(e){return _({...e,state:!0,attribute:!1})}var _e=(e,t,n)=>(n.configurable=!0,n.enumerable=!0,Reflect.decorate&&typeof t!=`object`&&Object.defineProperty(e,t,n),n);function ve(e,t){return(n,r,i)=>{let a=t=>t.renderRoot?.querySelector(e)??null;if(t){let{get:e,set:t}=typeof r==`object`?n:i??(()=>{let e=Symbol();return{get(){return this[e]},set(t){this[e]=t}}})();return _e(n,r,{get(){let n=e.call(this);return n===void 0&&(n=a(this),(n!==null||this.hasUpdated)&&t.call(this,n)),n}})}return _e(n,r,{get(){return a(this)}})}}var ye=globalThis,be=e=>e,xe=ye.trustedTypes,Se=xe?xe.createPolicy(`lit-html`,{createHTML:e=>e}):void 0,Ce=`$lit$`,v=`lit$${Math.random().toFixed(9).slice(2)}$`,we=`?`+v,Te=`<${we}>`,y=document,b=()=>y.createComment(``),x=e=>e===null||typeof e!=`object`&&typeof e!=`function`,Ee=Array.isArray,De=e=>Ee(e)||typeof e?.[Symbol.iterator]==`function`,Oe=`[
2
+ \f\r]`,S=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ke=/-->/g,Ae=/>/g,C=RegExp(`>|${Oe}(?:([^\\s"'>=/]+)(${Oe}*=${Oe}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,`g`),je=/'/g,Me=/"/g,Ne=/^(?:script|style|textarea|title)$/i,w=(e=>(t,...n)=>({_$litType$:e,strings:t,values:n}))(1),T=Symbol.for(`lit-noChange`),E=Symbol.for(`lit-nothing`),Pe=new WeakMap,D=y.createTreeWalker(y,129);function Fe(e,t){if(!Ee(e)||!e.hasOwnProperty(`raw`))throw Error(`invalid template strings array`);return Se===void 0?t:Se.createHTML(t)}var Ie=(e,t)=>{let n=e.length-1,r=[],i,a=t===2?`<svg>`:t===3?`<math>`:``,o=S;for(let t=0;t<n;t++){let n=e[t],s,c,l=-1,u=0;for(;u<n.length&&(o.lastIndex=u,c=o.exec(n),c!==null);)u=o.lastIndex,o===S?c[1]===`!--`?o=ke:c[1]===void 0?c[2]===void 0?c[3]!==void 0&&(o=C):(Ne.test(c[2])&&(i=RegExp(`</`+c[2],`g`)),o=C):o=Ae:o===C?c[0]===`>`?(o=i??S,l=-1):c[1]===void 0?l=-2:(l=o.lastIndex-c[2].length,s=c[1],o=c[3]===void 0?C:c[3]===`"`?Me:je):o===Me||o===je?o=C:o===ke||o===Ae?o=S:(o=C,i=void 0);let d=o===C&&e[t+1].startsWith(`/>`)?` `:``;a+=o===S?n+Te:l>=0?(r.push(s),n.slice(0,l)+Ce+n.slice(l)+v+d):n+v+(l===-2?t:d)}return[Fe(e,a+(e[n]||`<?>`)+(t===2?`</svg>`:t===3?`</math>`:``)),r]},Le=class e{constructor({strings:t,_$litType$:n},r){let i;this.parts=[];let a=0,o=0,s=t.length-1,c=this.parts,[l,u]=Ie(t,n);if(this.el=e.createElement(l,r),D.currentNode=this.el.content,n===2||n===3){let e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;(i=D.nextNode())!==null&&c.length<s;){if(i.nodeType===1){if(i.hasAttributes())for(let e of i.getAttributeNames())if(e.endsWith(Ce)){let t=u[o++],n=i.getAttribute(e).split(v),r=/([.?@])?(.*)/.exec(t);c.push({type:1,index:a,name:r[2],strings:n,ctor:r[1]===`.`?ze:r[1]===`?`?Be:r[1]===`@`?Ve:A}),i.removeAttribute(e)}else e.startsWith(v)&&(c.push({type:6,index:a}),i.removeAttribute(e));if(Ne.test(i.tagName)){let e=i.textContent.split(v),t=e.length-1;if(t>0){i.textContent=xe?xe.emptyScript:``;for(let n=0;n<t;n++)i.append(e[n],b()),D.nextNode(),c.push({type:2,index:++a});i.append(e[t],b())}}}else if(i.nodeType===8){if(i.data===we)c.push({type:2,index:a});else{let e=-1;for(;(e=i.data.indexOf(v,e+1))!==-1;)c.push({type:7,index:a}),e+=v.length-1}}a++}}static createElement(e,t){let n=y.createElement(`template`);return n.innerHTML=e,n}};function O(e,t,n=e,r){if(t===T)return t;let i=r===void 0?n._$Cl:n._$Co?.[r],a=x(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,n,r)),r===void 0?n._$Cl=i:(n._$Co??=[])[r]=i),i!==void 0&&(t=O(e,i._$AS(e,t.values),i,r)),t}var Re=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:n}=this._$AD,r=(e?.creationScope??y).importNode(t,!0);D.currentNode=r;let i=D.nextNode(),a=0,o=0,s=n[0];for(;s!==void 0;){if(a===s.index){let t;s.type===2?t=new k(i,i.nextSibling,this,e):s.type===1?t=new s.ctor(i,s.name,s.strings,this,e):s.type===6&&(t=new He(i,this,e)),this._$AV.push(t),s=n[++o]}a!==s?.index&&(i=D.nextNode(),a++)}return D.currentNode=y,r}p(e){let t=0;for(let n of this._$AV)n!==void 0&&(n.strings===void 0?n._$AI(e[t]):(n._$AI(e,n,t),t+=n.strings.length-2)),t++}},k=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,n,r){this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=O(this,e,t),x(e)?e===E||e==null||e===``?(this._$AH!==E&&this._$AR(),this._$AH=E):e!==this._$AH&&e!==T&&this._(e):e._$litType$===void 0?e.nodeType===void 0?De(e)?this.k(e):this._(e):this.T(e):this.$(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==E&&x(this._$AH)?this._$AA.nextSibling.data=e:this.T(y.createTextNode(e)),this._$AH=e}$(e){let{values:t,_$litType$:n}=e,r=typeof n==`number`?this._$AC(e):(n.el===void 0&&(n.el=Le.createElement(Fe(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===r)this._$AH.p(t);else{let e=new Re(r,this),n=e.u(this.options);e.p(t),this.T(n),this._$AH=e}}_$AC(e){let t=Pe.get(e.strings);return t===void 0&&Pe.set(e.strings,t=new Le(e)),t}k(t){Ee(this._$AH)||(this._$AH=[],this._$AR());let n=this._$AH,r,i=0;for(let a of t)i===n.length?n.push(r=new e(this.O(b()),this.O(b()),this,this.options)):r=n[i],r._$AI(a),i++;i<n.length&&(this._$AR(r&&r._$AB.nextSibling,i),n.length=i)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e!==this._$AB;){let t=be(e).nextSibling;be(e).remove(),e=t}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},A=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,r,i){this.type=1,this._$AH=E,this._$AN=void 0,this.element=e,this.name=t,this._$AM=r,this.options=i,n.length>2||n[0]!==``||n[1]!==``?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=E}_$AI(e,t=this,n,r){let i=this.strings,a=!1;if(i===void 0)e=O(this,e,t,0),a=!x(e)||e!==this._$AH&&e!==T,a&&(this._$AH=e);else{let r=e,o,s;for(e=i[0],o=0;o<i.length-1;o++)s=O(this,r[n+o],t,o),s===T&&(s=this._$AH[o]),a||=!x(s)||s!==this._$AH[o],s===E?e=E:e!==E&&(e+=(s??``)+i[o+1]),this._$AH[o]=s}a&&!r&&this.j(e)}j(e){e===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??``)}},ze=class extends A{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===E?void 0:e}},Be=class extends A{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==E)}},Ve=class extends A{constructor(e,t,n,r,i){super(e,t,n,r,i),this.type=5}_$AI(e,t=this){if((e=O(this,e,t,0)??E)===T)return;let n=this._$AH,r=e===E&&n!==E||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==E&&(n===E||r);r&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH==`function`?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},He=class{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){O(this,e)}},Ue={M:Ce,P:v,A:we,C:1,L:Ie,R:Re,D:De,V:O,I:k,H:A,N:Be,U:Ve,B:ze,F:He},We=ye.litHtmlPolyfillSupport;We?.(Le,k),(ye.litHtmlVersions??=[]).push(`3.3.3`);var Ge=(e,t,n)=>{let r=n?.renderBefore??t,i=r._$litPart$;if(i===void 0){let e=n?.renderBefore??null;r._$litPart$=i=new k(t.insertBefore(b(),e),e,void 0,n??{})}return i._$AI(e),i},Ke=globalThis,j=class extends g{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Ge(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return T}};j._$litElement$=!0,j.finalized=!0,Ke.litElementHydrateSupport?.({LitElement:j});var qe=Ke.litElementPolyfillSupport;qe?.({LitElement:j}),(Ke.litElementVersions??=[]).push(`4.2.2`);var Je=class extends j{render(){return w`<slot></slot>`}connectedCallback(){super.connectedCallback(),this.getAttribute(`aria-hidden`)===`false`?this.removeAttribute(`aria-hidden`):this.setAttribute(`aria-hidden`,`true`)}},Ye=p`:host{font-size:var(--md-icon-size, 24px);width:var(--md-icon-size, 24px);height:var(--md-icon-size, 24px);color:inherit;font-variation-settings:inherit;font-weight:400;font-family:var(--md-icon-font, Material Symbols Outlined);display:inline-flex;font-style:normal;place-items:center;place-content:center;line-height:1;overflow:hidden;letter-spacing:normal;text-transform:none;user-select:none;white-space:nowrap;word-wrap:normal;flex-shrink:0;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}::slotted(svg){fill:currentColor}::slotted(*){height:100%;width:100%}
3
+ `;Ye.styleSheet;var Xe=class extends Je{};Xe.styles=[Ye],Xe=a([o(`md-icon`)],Xe);var Ze=Symbol(`attachableController`),Qe=new MutationObserver(e=>{for(let t of e)t.target[Ze]?.hostConnected()}),$e=class{get htmlFor(){return this.host.getAttribute(`for`)}set htmlFor(e){e===null?this.host.removeAttribute(`for`):this.host.setAttribute(`for`,e)}get control(){return this.host.hasAttribute(`for`)?!this.htmlFor||!this.host.isConnected?null:this.host.getRootNode().querySelector(`#${this.htmlFor}`):this.currentControl||this.host.parentElement}set control(e){e?this.attach(e):this.detach()}constructor(e,t){this.host=e,this.onControlChange=t,this.currentControl=null,e.addController(this),e[Ze]=this,Qe?.observe(e,{attributeFilter:[`for`]})}attach(e){e!==this.currentControl&&(this.setCurrentControl(e),this.host.removeAttribute(`for`))}detach(){this.setCurrentControl(null),this.host.setAttribute(`for`,``)}hostConnected(){this.setCurrentControl(this.control)}hostDisconnected(){this.setCurrentControl(null)}setCurrentControl(e){this.onControlChange(this.currentControl,e),this.currentControl=e}},et=[`focusin`,`focusout`,`pointerdown`],tt=class extends j{constructor(){super(...arguments),this.visible=!1,this.inward=!1,this.attachableController=new $e(this,this.onControlChange.bind(this))}get htmlFor(){return this.attachableController.htmlFor}set htmlFor(e){this.attachableController.htmlFor=e}get control(){return this.attachableController.control}set control(e){this.attachableController.control=e}attach(e){this.attachableController.attach(e)}detach(){this.attachableController.detach()}connectedCallback(){super.connectedCallback(),this.setAttribute(`aria-hidden`,`true`)}handleEvent(e){if(!e[nt]){switch(e.type){default:return;case`focusin`:this.visible=this.control?.matches(`:focus-visible`)??!1;break;case`focusout`:case`pointerdown`:this.visible=!1}e[nt]=!0}}onControlChange(e,t){for(let n of et)e?.removeEventListener(n,this),t?.addEventListener(n,this)}update(e){e.has(`visible`)&&this.dispatchEvent(new Event(`visibility-changed`)),super.update(e)}};a([_({type:Boolean,reflect:!0})],tt.prototype,`visible`,void 0),a([_({type:Boolean,reflect:!0})],tt.prototype,`inward`,void 0);var nt=Symbol(`handledByFocusRing`),rt=p`:host{animation-delay:0s,calc(var(--md-focus-ring-duration, 600ms)*.25);animation-duration:calc(var(--md-focus-ring-duration, 600ms)*.25),calc(var(--md-focus-ring-duration, 600ms)*.75);animation-timing-function:cubic-bezier(0.2, 0, 0, 1);box-sizing:border-box;color:var(--md-focus-ring-color, var(--md-sys-color-secondary, #625b71));display:none;pointer-events:none;position:absolute}:host([visible]){display:flex}:host(:not([inward])){animation-name:outward-grow,outward-shrink;border-end-end-radius:calc(var(--md-focus-ring-shape-end-end, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) + var(--md-focus-ring-outward-offset, 2px));border-end-start-radius:calc(var(--md-focus-ring-shape-end-start, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) + var(--md-focus-ring-outward-offset, 2px));border-start-end-radius:calc(var(--md-focus-ring-shape-start-end, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) + var(--md-focus-ring-outward-offset, 2px));border-start-start-radius:calc(var(--md-focus-ring-shape-start-start, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) + var(--md-focus-ring-outward-offset, 2px));inset:calc(-1*var(--md-focus-ring-outward-offset, 2px));outline:var(--md-focus-ring-width, 3px) solid currentColor}:host([inward]){animation-name:inward-grow,inward-shrink;border-end-end-radius:calc(var(--md-focus-ring-shape-end-end, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) - var(--md-focus-ring-inward-offset, 0px));border-end-start-radius:calc(var(--md-focus-ring-shape-end-start, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) - var(--md-focus-ring-inward-offset, 0px));border-start-end-radius:calc(var(--md-focus-ring-shape-start-end, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) - var(--md-focus-ring-inward-offset, 0px));border-start-start-radius:calc(var(--md-focus-ring-shape-start-start, var(--md-focus-ring-shape, var(--md-sys-shape-corner-full, 9999px))) - var(--md-focus-ring-inward-offset, 0px));border:var(--md-focus-ring-width, 3px) solid currentColor;inset:var(--md-focus-ring-inward-offset, 0px)}@keyframes outward-grow{from{outline-width:0}to{outline-width:var(--md-focus-ring-active-width, 8px)}}@keyframes outward-shrink{from{outline-width:var(--md-focus-ring-active-width, 8px)}}@keyframes inward-grow{from{border-width:0}to{border-width:var(--md-focus-ring-active-width, 8px)}}@keyframes inward-shrink{from{border-width:var(--md-focus-ring-active-width, 8px)}}@media(prefers-reduced-motion){:host{animation:none}}
4
+ `;rt.styleSheet;var it=class extends tt{};it.styles=[rt],it=a([o(`md-focus-ring`)],it);var at={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ot=e=>(...t)=>({_$litDirective$:e,values:t}),st=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,n){this._$Ct=e,this._$AM=t,this._$Ci=n}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}},ct=ot(class extends st{constructor(e){if(super(e),e.type!==at.ATTRIBUTE||e.name!==`class`||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return` `+Object.keys(e).filter(t=>e[t]).join(` `)+` `}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(` `).split(/\s/).filter(e=>e!==``)));for(let e in t)t[e]&&!this.nt?.has(e)&&this.st.add(e);return this.render(t)}let n=e.element.classList;for(let e of this.st)e in t||(n.remove(e),this.st.delete(e));for(let e in t){let r=!!t[e];r===this.st.has(e)||this.nt?.has(e)||(r?(n.add(e),this.st.add(e)):(n.remove(e),this.st.delete(e)))}return T}}),lt={STANDARD:`cubic-bezier(0.2, 0, 0, 1)`,STANDARD_ACCELERATE:`cubic-bezier(.3,0,1,1)`,STANDARD_DECELERATE:`cubic-bezier(0,0,0,1)`,EMPHASIZED:`cubic-bezier(.3,0,0,1)`,EMPHASIZED_ACCELERATE:`cubic-bezier(.3,0,.8,.15)`,EMPHASIZED_DECELERATE:`cubic-bezier(.05,.7,.1,1)`},ut=450,dt=225,ft=.2,pt=10,mt=75,ht=.35,gt=`::after`,_t=`forwards`,M;(function(e){e[e.INACTIVE=0]=`INACTIVE`,e[e.TOUCH_DELAY=1]=`TOUCH_DELAY`,e[e.HOLDING=2]=`HOLDING`,e[e.WAITING_FOR_CLICK=3]=`WAITING_FOR_CLICK`})(M||={});var vt=[`click`,`contextmenu`,`pointercancel`,`pointerdown`,`pointerenter`,`pointerleave`,`pointerup`],yt=150,bt=window.matchMedia(`(forced-colors: active)`),N=class extends j{constructor(){super(...arguments),this.disabled=!1,this.hovered=!1,this.pressed=!1,this.rippleSize=``,this.rippleScale=``,this.initialSize=0,this.state=M.INACTIVE,this.attachableController=new $e(this,this.onControlChange.bind(this))}get htmlFor(){return this.attachableController.htmlFor}set htmlFor(e){this.attachableController.htmlFor=e}get control(){return this.attachableController.control}set control(e){this.attachableController.control=e}attach(e){this.attachableController.attach(e)}detach(){this.attachableController.detach()}connectedCallback(){super.connectedCallback(),this.setAttribute(`aria-hidden`,`true`)}render(){return w`<div class="surface ${ct({hovered:this.hovered,pressed:this.pressed})}"></div>`}update(e){e.has(`disabled`)&&this.disabled&&(this.hovered=!1,this.pressed=!1),super.update(e)}handlePointerenter(e){this.shouldReactToEvent(e)&&(this.hovered=!0)}handlePointerleave(e){this.shouldReactToEvent(e)&&(this.hovered=!1,this.state!==M.INACTIVE&&this.endPressAnimation())}handlePointerup(e){this.shouldReactToEvent(e)&&(this.state===M.HOLDING?this.state=M.WAITING_FOR_CLICK:this.state===M.TOUCH_DELAY&&(this.state=M.WAITING_FOR_CLICK,this.startPressAnimation(this.rippleStartEvent)))}async handlePointerdown(e){this.shouldReactToEvent(e)&&(this.rippleStartEvent=e,this.isTouch(e)?(this.state=M.TOUCH_DELAY,await new Promise(e=>{setTimeout(e,yt)}),this.state===M.TOUCH_DELAY&&(this.state=M.HOLDING,this.startPressAnimation(e))):(this.state=M.WAITING_FOR_CLICK,this.startPressAnimation(e)))}handleClick(){this.disabled||(this.state===M.WAITING_FOR_CLICK?this.endPressAnimation():this.state===M.INACTIVE&&(this.startPressAnimation(),this.endPressAnimation()))}handlePointercancel(e){this.shouldReactToEvent(e)&&this.endPressAnimation()}handleContextmenu(){this.disabled||this.endPressAnimation()}determineRippleSize(){let{height:e,width:t}=this.getBoundingClientRect(),n=Math.max(e,t),r=Math.max(ht*n,mt),i=this.currentCSSZoom??1,a=Math.floor(n*ft/i),o=Math.sqrt(t**2+e**2)+pt;this.initialSize=a;let s=(o+r)/a;this.rippleScale=`${s/i}`,this.rippleSize=`${a}px`}getNormalizedPointerEventCoords(e){let{scrollX:t,scrollY:n}=window,{left:r,top:i}=this.getBoundingClientRect(),a=t+r,o=n+i,{pageX:s,pageY:c}=e,l=this.currentCSSZoom??1;return{x:(s-a)/l,y:(c-o)/l}}getTranslationCoordinates(e){let{height:t,width:n}=this.getBoundingClientRect(),r=this.currentCSSZoom??1,i={x:(n/r-this.initialSize)/2,y:(t/r-this.initialSize)/2},a;return a=e instanceof PointerEvent?this.getNormalizedPointerEventCoords(e):{x:n/r/2,y:t/r/2},a={x:a.x-this.initialSize/2,y:a.y-this.initialSize/2},{startPoint:a,endPoint:i}}startPressAnimation(e){if(!this.mdRoot)return;this.pressed=!0,this.growAnimation?.cancel(),this.determineRippleSize();let{startPoint:t,endPoint:n}=this.getTranslationCoordinates(e),r=`${t.x}px, ${t.y}px`,i=`${n.x}px, ${n.y}px`;this.growAnimation=this.mdRoot.animate({top:[0,0],left:[0,0],height:[this.rippleSize,this.rippleSize],width:[this.rippleSize,this.rippleSize],transform:[`translate(${r}) scale(1)`,`translate(${i}) scale(${this.rippleScale})`]},{pseudoElement:gt,duration:ut,easing:lt.STANDARD,fill:_t})}async endPressAnimation(){this.rippleStartEvent=void 0,this.state=M.INACTIVE;let e=this.growAnimation,t=1/0;typeof e?.currentTime==`number`?t=e.currentTime:e?.currentTime&&(t=e.currentTime.to(`ms`).value),t>=dt?this.pressed=!1:(await new Promise(e=>{setTimeout(e,dt-t)}),this.growAnimation===e&&(this.pressed=!1))}shouldReactToEvent(e){if(this.disabled||!e.isPrimary||this.rippleStartEvent&&this.rippleStartEvent.pointerId!==e.pointerId)return!1;if(e.type===`pointerenter`||e.type===`pointerleave`)return!this.isTouch(e);let t=e.buttons===1;return this.isTouch(e)||t}isTouch({pointerType:e}){return e===`touch`}async handleEvent(e){if(!bt?.matches)switch(e.type){case`click`:this.handleClick();break;case`contextmenu`:this.handleContextmenu();break;case`pointercancel`:this.handlePointercancel(e);break;case`pointerdown`:await this.handlePointerdown(e);break;case`pointerenter`:this.handlePointerenter(e);break;case`pointerleave`:this.handlePointerleave(e);break;case`pointerup`:this.handlePointerup(e)}}onControlChange(e,t){for(let n of vt)e?.removeEventListener(n,this),t?.addEventListener(n,this)}};a([_({type:Boolean,reflect:!0})],N.prototype,`disabled`,void 0),a([ge()],N.prototype,`hovered`,void 0),a([ge()],N.prototype,`pressed`,void 0),a([ve(`.surface`)],N.prototype,`mdRoot`,void 0);var xt=p`:host{display:flex;margin:auto;pointer-events:none}:host([disabled]){display:none}@media(forced-colors: active){:host{display:none}}:host,.surface{border-radius:inherit;position:absolute;inset:0;overflow:hidden}.surface{-webkit-tap-highlight-color:rgba(0,0,0,0)}.surface::before,.surface::after{content:"";opacity:0;position:absolute}.surface::before{background-color:var(--md-ripple-hover-color, var(--md-sys-color-on-surface, #1d1b20));inset:0;transition:opacity 15ms linear,background-color 15ms linear}.surface::after{background:radial-gradient(closest-side, var(--md-ripple-pressed-color, var(--md-sys-color-on-surface, #1d1b20)) max(100% - 70px, 65%), transparent 100%);transform-origin:center center;transition:opacity 375ms linear}.hovered::before{background-color:var(--md-ripple-hover-color, var(--md-sys-color-on-surface, #1d1b20));opacity:var(--md-ripple-hover-opacity, 0.08)}.pressed::after{opacity:var(--md-ripple-pressed-opacity, 0.12);transition-duration:105ms}
5
+ `;xt.styleSheet;var St=class extends N{};St.styles=[xt],St=a([o(`md-ripple`)],St);var Ct=Symbol.for(``),wt=e=>{if(e?.r===Ct)return e?._$litStatic$},Tt=(e,...t)=>({_$litStatic$:t.reduce((t,n,r)=>t+(e=>{if(e._$litStatic$!==void 0)return e._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${e}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(n)+e[r+1],e[0]),r:Ct}),Et=new Map,Dt=(e=>(t,...n)=>{let r=n.length,i,a,o=[],s=[],c,l=0,u=!1;for(;l<r;){for(c=t[l];l<r&&(a=n[l],(i=wt(a))!==void 0);)c+=i+t[++l],u=!0;l!==r&&s.push(a),o.push(c),l++}if(l===r&&o.push(t[r]),u){let e=o.join(`$$lit$$`);(t=Et.get(e))===void 0&&(o.raw=o,Et.set(e,t=o)),n=s}return e(t,...n)})(w),Ot=`role.ariaAtomic.ariaAutoComplete.ariaBusy.ariaChecked.ariaColCount.ariaColIndex.ariaColSpan.ariaCurrent.ariaDisabled.ariaExpanded.ariaHasPopup.ariaHidden.ariaInvalid.ariaKeyShortcuts.ariaLabel.ariaLevel.ariaLive.ariaModal.ariaMultiLine.ariaMultiSelectable.ariaOrientation.ariaPlaceholder.ariaPosInSet.ariaPressed.ariaReadOnly.ariaRequired.ariaRoleDescription.ariaRowCount.ariaRowIndex.ariaRowSpan.ariaSelected.ariaSetSize.ariaSort.ariaValueMax.ariaValueMin.ariaValueNow.ariaValueText`.split(`.`),kt=Ot.map(jt);function At(e){return kt.includes(e)}function jt(e){return e.replace(`aria`,`aria-`).replace(/Elements?/g,``).toLowerCase()}var P=Symbol(`privateIgnoreAttributeChangesFor`);function Mt(e){var t;class n extends e{constructor(){super(...arguments),this[t]=new Set}attributeChangedCallback(e,t,n){if(!At(e)){super.attributeChangedCallback(e,t,n);return}if(this[P].has(e))return;this[P].add(e),this.removeAttribute(e),this[P].delete(e);let r=Ft(e);n===null?delete this.dataset[r]:this.dataset[r]=n,this.requestUpdate(Ft(e),t)}getAttribute(e){return At(e)?super.getAttribute(Pt(e)):super.getAttribute(e)}removeAttribute(e){super.removeAttribute(e),At(e)&&(super.removeAttribute(Pt(e)),this.requestUpdate())}}return t=P,Nt(n),n}function Nt(e){for(let t of Ot){let n=jt(t),r=Pt(n),i=Ft(n);e.createProperty(t,{attribute:n,noAccessor:!0}),e.createProperty(Symbol(r),{attribute:r,noAccessor:!0}),Object.defineProperty(e.prototype,t,{configurable:!0,enumerable:!0,get(){return this.dataset[i]??null},set(e){let n=this.dataset[i]??null;e!==n&&(e===null?delete this.dataset[i]:this.dataset[i]=e,this.requestUpdate(t,n))}})}}function Pt(e){return`data-${e}`}function Ft(e){return e.replace(/-\w/,e=>e[1].toUpperCase())}function It(e,t=!0){return t&&getComputedStyle(e).getPropertyValue(`direction`).trim()===`rtl`}var Lt=Symbol(`dispatchHooks`);function Rt(e,t){let n=e[Lt];if(!n)throw Error(`'${e.type}' event needs setupDispatchHooks().`);n.addEventListener(`after`,t,{once:!0})}var zt=new WeakMap;function Bt(e,...t){let n=zt.get(e);n||(n=new Set,zt.set(e,n));for(let r of t)n.has(r)||(e.addEventListener(r,e=>{let t=new EventTarget;e[Lt]=t;let n=new AbortController,i=()=>{n.abort(),t.dispatchEvent(new Event(`after`))},a=e=>function(){e.call(this),i()};e.stopPropagation=a(e.stopPropagation),e.stopImmediatePropagation=a(e.stopImmediatePropagation);let o=e.composedPath(),s;s=e.composed&&e.bubbles?o[o.length-1]:e.bubbles?o[0].getRootNode():o[0],s.addEventListener(r,()=>{i()},{once:!0,signal:n.signal})},{capture:!0}),n.add(r))}var F=Symbol(`internals`),Vt=Symbol(`privateInternals`);function Ht(e){class t extends e{get[F](){return this[Vt]||(this[Vt]=this.attachInternals()),this[Vt]}}return t}var Ut=Symbol(`getFormValue`),Wt=Symbol(`getFormState`);function Gt(e){class t extends e{get form(){return this[F].form}get labels(){return this[F].labels}get name(){return this.getAttribute(`name`)??``}set name(e){this.setAttribute(`name`,e)}get disabled(){return this.hasAttribute(`disabled`)}set disabled(e){this.toggleAttribute(`disabled`,!!e)}attributeChangedCallback(e,t,n){if(e===`name`||e===`disabled`){let n=e===`disabled`?t!==null:t;this.requestUpdate(e,n)}else super.attributeChangedCallback(e,t,n)}requestUpdate(e,t,n){super.requestUpdate(e,t,n),this[F].setFormValue(this[Ut](),this[Wt]())}[Ut](){return this.getAttribute(`value`)}[Wt](){return this[Ut]()}formDisabledCallback(e){this.disabled=e}}return t.formAssociated=!0,a([_({noAccessor:!0})],t.prototype,`name`,null),a([_({type:Boolean,noAccessor:!0})],t.prototype,`disabled`,null),t}function Kt(e){class t extends e{get name(){return this.getAttribute(`name`)??``}set name(e){this.setAttribute(`name`,e)}constructor(...e){super(...e),this.type=`submit`,this.value=``,Bt(this,`click`),this.addEventListener(`click`,async e=>{let t=this.type===`reset`,n=this.type===`submit`,r=this[F],{form:i}=r;i&&(n||t)&&Rt(e,()=>{e.defaultPrevented||(t?i.reset():(i.addEventListener(`submit`,e=>{Object.defineProperty(e,"submitter",{configurable:!0,enumerable:!0,get:()=>this})},{capture:!0,once:!0}),r.setFormValue(this.value),i.requestSubmit()))})})}}return a([_()],t.prototype,`type`,void 0),a([_({reflect:!0})],t.prototype,`value`,void 0),t}var qt=Mt(Kt(Gt(Ht(j)))),I=class extends qt{constructor(){super(),this.softDisabled=!1,this.flipIconInRtl=!1,this.href=``,this.download=``,this.target=``,this.ariaLabelSelected=``,this.toggle=!1,this.selected=!1,this.flipIcon=It(this,this.flipIconInRtl),Bt(this,`click`),this.addEventListener(`click`,e=>{if(this.softDisabled||this.disabled&&this.href){e.stopImmediatePropagation(),e.preventDefault();return}let t=this.selected;Rt(e,()=>{!this.toggle||this.disabled||e.defaultPrevented||(this.selected=!t,this.dispatchEvent(new InputEvent(`input`,{bubbles:!0,composed:!0})),this.dispatchEvent(new Event(`change`,{bubbles:!0})))})})}willUpdate(){this.href&&(this.disabled=!1,this.softDisabled=!1)}render(){let e=this.href?Tt`div`:Tt`button`,{ariaLabel:t,ariaHasPopup:n,ariaExpanded:r}=this,i=t&&this.ariaLabelSelected,a=this.toggle?this.selected:E,o=E;return this.href||(o=i&&this.selected?this.ariaLabelSelected:t),Dt`<${e}
6
+ class="icon-button ${ct(this.getRenderClasses())}"
7
+ id="button"
8
+ aria-label="${o||E}"
9
+ aria-haspopup="${!this.href&&n||E}"
10
+ aria-expanded="${!this.href&&r||E}"
11
+ aria-pressed="${a}"
12
+ aria-disabled=${!this.href&&this.softDisabled||E}
13
+ ?disabled="${!this.href&&this.disabled}">
14
+ ${this.renderFocusRing()}
15
+ ${this.renderRipple()}
16
+ ${this.selected?E:this.renderIcon()}
17
+ ${this.selected?this.renderSelectedIcon():E}
18
+ ${this.href?this.renderLink():this.renderTouchTarget()}
19
+ </${e}>`}renderLink(){let{ariaLabel:e}=this;return w`
20
+ <a
21
+ class="link"
22
+ id="link"
23
+ href="${this.href}"
24
+ download="${this.download||E}"
25
+ target="${this.target||E}"
26
+ aria-label="${e||E}">
27
+ ${this.renderTouchTarget()}
28
+ </a>
29
+ `}getRenderClasses(){return{"flip-icon":this.flipIcon,selected:this.toggle&&this.selected}}renderIcon(){return w`<span class="icon"><slot></slot></span>`}renderSelectedIcon(){return w`<span class="icon icon--selected"
30
+ ><slot name="selected"><slot></slot></slot
31
+ ></span>`}renderTouchTarget(){return w`<span class="touch"></span>`}renderFocusRing(){return w`<md-focus-ring
32
+ part="focus-ring"
33
+ for=${this.href?`link`:`button`}></md-focus-ring>`}renderRipple(){let e=!this.href&&(this.disabled||this.softDisabled);return w`<md-ripple
34
+ for=${this.href?`link`:E}
35
+ ?disabled="${e}"></md-ripple>`}connectedCallback(){this.flipIcon=It(this,this.flipIconInRtl),super.connectedCallback()}};I.shadowRootOptions={mode:`open`,delegatesFocus:!0},a([_({type:Boolean,attribute:`soft-disabled`,reflect:!0})],I.prototype,`softDisabled`,void 0),a([_({type:Boolean,attribute:`flip-icon-in-rtl`})],I.prototype,`flipIconInRtl`,void 0),a([_()],I.prototype,`href`,void 0),a([_()],I.prototype,`download`,void 0),a([_()],I.prototype,`target`,void 0),a([_({attribute:`aria-label-selected`})],I.prototype,`ariaLabelSelected`,void 0),a([_({type:Boolean})],I.prototype,`toggle`,void 0),a([_({type:Boolean,reflect:!0})],I.prototype,`selected`,void 0),a([ge()],I.prototype,`flipIcon`,void 0);var Jt=p`:host{display:inline-flex;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0);height:var(--_container-height);width:var(--_container-width);justify-content:center}:host([touch-target=wrapper]){margin:max(0px,(48px - var(--_container-height))/2) max(0px,(48px - var(--_container-width))/2)}md-focus-ring{--md-focus-ring-shape-start-start: var(--_container-shape-start-start);--md-focus-ring-shape-start-end: var(--_container-shape-start-end);--md-focus-ring-shape-end-end: var(--_container-shape-end-end);--md-focus-ring-shape-end-start: var(--_container-shape-end-start)}:host(:is([disabled],[soft-disabled])){pointer-events:none}.icon-button{place-items:center;background:none;border:none;box-sizing:border-box;cursor:pointer;display:flex;place-content:center;outline:none;padding:0;position:relative;text-decoration:none;user-select:none;z-index:0;flex:1;border-start-start-radius:var(--_container-shape-start-start);border-start-end-radius:var(--_container-shape-start-end);border-end-start-radius:var(--_container-shape-end-start);border-end-end-radius:var(--_container-shape-end-end)}.icon ::slotted(*){font-size:var(--_icon-size);height:var(--_icon-size);width:var(--_icon-size);font-weight:inherit}md-ripple{z-index:-1;border-start-start-radius:var(--_container-shape-start-start);border-start-end-radius:var(--_container-shape-start-end);border-end-start-radius:var(--_container-shape-end-start);border-end-end-radius:var(--_container-shape-end-end)}.flip-icon .icon{transform:scaleX(-1)}.icon{display:inline-flex}.link{display:grid;height:100%;outline:none;place-items:center;position:absolute;width:100%}.touch{position:absolute;height:max(48px,100%);width:max(48px,100%)}:host([touch-target=none]) .touch{display:none}@media(forced-colors: active){:host(:is([disabled],[soft-disabled])){--_disabled-icon-color: GrayText;--_disabled-icon-opacity: 1}}
36
+ `;Jt.styleSheet;var Yt=p`:host{--_disabled-icon-color: var(--md-icon-button-disabled-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-icon-opacity: var(--md-icon-button-disabled-icon-opacity, 0.38);--_icon-size: var(--md-icon-button-icon-size, 24px);--_selected-focus-icon-color: var(--md-icon-button-selected-focus-icon-color, var(--md-sys-color-primary, #6750a4));--_selected-hover-icon-color: var(--md-icon-button-selected-hover-icon-color, var(--md-sys-color-primary, #6750a4));--_selected-hover-state-layer-color: var(--md-icon-button-selected-hover-state-layer-color, var(--md-sys-color-primary, #6750a4));--_selected-hover-state-layer-opacity: var(--md-icon-button-selected-hover-state-layer-opacity, 0.08);--_selected-icon-color: var(--md-icon-button-selected-icon-color, var(--md-sys-color-primary, #6750a4));--_selected-pressed-icon-color: var(--md-icon-button-selected-pressed-icon-color, var(--md-sys-color-primary, #6750a4));--_selected-pressed-state-layer-color: var(--md-icon-button-selected-pressed-state-layer-color, var(--md-sys-color-primary, #6750a4));--_selected-pressed-state-layer-opacity: var(--md-icon-button-selected-pressed-state-layer-opacity, 0.12);--_state-layer-height: var(--md-icon-button-state-layer-height, 40px);--_state-layer-shape: var(--md-icon-button-state-layer-shape, var(--md-sys-shape-corner-full, 9999px));--_state-layer-width: var(--md-icon-button-state-layer-width, 40px);--_focus-icon-color: var(--md-icon-button-focus-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-icon-color: var(--md-icon-button-hover-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-state-layer-color: var(--md-icon-button-hover-state-layer-color, var(--md-sys-color-on-surface-variant, #49454f));--_hover-state-layer-opacity: var(--md-icon-button-hover-state-layer-opacity, 0.08);--_icon-color: var(--md-icon-button-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_pressed-icon-color: var(--md-icon-button-pressed-icon-color, var(--md-sys-color-on-surface-variant, #49454f));--_pressed-state-layer-color: var(--md-icon-button-pressed-state-layer-color, var(--md-sys-color-on-surface-variant, #49454f));--_pressed-state-layer-opacity: var(--md-icon-button-pressed-state-layer-opacity, 0.12);--_container-shape-start-start: 0;--_container-shape-start-end: 0;--_container-shape-end-end: 0;--_container-shape-end-start: 0;--_container-height: 0;--_container-width: 0;height:var(--_state-layer-height);width:var(--_state-layer-width)}:host([touch-target=wrapper]){margin:max(0px,(48px - var(--_state-layer-height))/2) max(0px,(48px - var(--_state-layer-width))/2)}md-focus-ring{--md-focus-ring-shape-start-start: var(--_state-layer-shape);--md-focus-ring-shape-start-end: var(--_state-layer-shape);--md-focus-ring-shape-end-end: var(--_state-layer-shape);--md-focus-ring-shape-end-start: var(--_state-layer-shape)}.standard{background-color:rgba(0,0,0,0);color:var(--_icon-color);--md-ripple-hover-color: var(--_hover-state-layer-color);--md-ripple-hover-opacity: var(--_hover-state-layer-opacity);--md-ripple-pressed-color: var(--_pressed-state-layer-color);--md-ripple-pressed-opacity: var(--_pressed-state-layer-opacity)}.standard:hover{color:var(--_hover-icon-color)}.standard:focus{color:var(--_focus-icon-color)}.standard:active{color:var(--_pressed-icon-color)}.standard:is(:disabled,[aria-disabled=true]){color:var(--_disabled-icon-color)}md-ripple{border-radius:var(--_state-layer-shape)}.standard:is(:disabled,[aria-disabled=true]){opacity:var(--_disabled-icon-opacity)}.selected:not(:disabled,[aria-disabled=true]){color:var(--_selected-icon-color)}.selected:not(:disabled,[aria-disabled=true]):hover{color:var(--_selected-hover-icon-color)}.selected:not(:disabled,[aria-disabled=true]):focus{color:var(--_selected-focus-icon-color)}.selected:not(:disabled,[aria-disabled=true]):active{color:var(--_selected-pressed-icon-color)}.selected{--md-ripple-hover-color: var(--_selected-hover-state-layer-color);--md-ripple-hover-opacity: var(--_selected-hover-state-layer-opacity);--md-ripple-pressed-color: var(--_selected-pressed-state-layer-color);--md-ripple-pressed-opacity: var(--_selected-pressed-state-layer-opacity)}
37
+ `;Yt.styleSheet;var Xt=class extends I{getRenderClasses(){return{...super.getRenderClasses(),standard:!0}}};Xt.styles=[Jt,Yt],Xt=a([o(`md-icon-button`)],Xt);var Zt=`light`;function Qt(e){return e===`light`||e===`dark`?e:null}function $t(e){return e===`light`?`dark`:`light`}var en=`sr-theme`,tn=class{read(){try{return Qt(localStorage.getItem(en))}catch{return null}}write(e){document.documentElement.dataset.theme=e;try{localStorage.setItem(en,e)}catch{}}},nn={lang:void 0,message:void 0,abortEarly:void 0,abortPipeEarly:void 0};function rn(e){return e?{lang:e?.lang??void 0,message:e?.message,abortEarly:e?.abortEarly??void 0,abortPipeEarly:e?.abortPipeEarly??void 0}:nn}function L(e){let t=typeof e;return t===`string`?`"${e}"`:t===`number`||t===`bigint`||t===`boolean`?`${e}`:t===`object`||t===`function`?(e&&Object.getPrototypeOf(e)?.constructor?.name)??`null`:t}function R(e,t,n,r,i){let a=i&&`input`in i?i.input:n.value,o=i?.expected??e.expects??null,s=i?.received??L(a),c={kind:e.kind,type:e.type,input:a,expected:o,received:s,message:`Invalid ${t}: ${o?`Expected ${o} but r`:`R`}eceived ${s}`,requirement:e.requirement,path:i?.path,issues:i?.issues,lang:r.lang,abortEarly:r.abortEarly,abortPipeEarly:r.abortPipeEarly},l=e.kind===`schema`,u=i?.message??e.message??(e.reference,c.lang,void 0)??(l?(c.lang,void 0):null)??r.message??(c.lang,void 0);u!==void 0&&(c.message=typeof u==`function`?u(c):u),l&&(n.typed=!1),n.issues?n.issues.push(c):n.issues=[c]}function an(e,t){let n=[...new Set(e)];return n.length>1?`(${n.join(` ${t} `)})`:n[0]??`never`}function z(e){return e[`~standard`]={version:1,vendor:`valibot`,validate:t=>e[`~run`]({value:t},rn())},e}function on(e){if(e.path){let t=``;for(let n of e.path)if(typeof n.key==`string`||typeof n.key==`number`)t+=t?`.${n.key}`:n.key;else return null;return t}return null}var sn=/^\d{4}-(?:0[1-9]|1[0-2])-(?:[12]\d|0[1-9]|3[01])[T ](?:0\d|1\d|2[0-3])(?::[0-5]\d){2}(?:\.\d{1,9})?(?:Z| ?[+-](?:0\d|1\d|2[0-3])(?::?[0-5]\d)?)$/u;function cn(e,t){return{kind:`validation`,type:`check`,reference:cn,async:!1,expects:null,requirement:e,message:t,"~run"(e,t){return e.typed&&!this.requirement(e.value)&&R(this,`input`,e,t),e}}}function B(e){return{kind:`metadata`,type:`description`,reference:B,description:e}}function V(e){return{kind:`metadata`,type:`examples`,reference:V,examples:e}}function H(e){return{kind:`validation`,type:`integer`,reference:H,async:!1,expects:null,requirement:Number.isInteger,message:e,"~run"(e,t){return e.typed&&!this.requirement(e.value)&&R(this,`integer`,e,t),e}}}function ln(e){return{kind:`validation`,type:`iso_timestamp`,reference:ln,async:!1,expects:null,requirement:sn,message:e,"~run"(e,t){return e.typed&&!this.requirement.test(e.value)&&R(this,`timestamp`,e,t),e}}}function un(e,t){return{kind:`validation`,type:`max_value`,reference:un,async:!1,expects:`<=${e instanceof Date?e.toJSON():L(e)}`,requirement:e,message:t,"~run"(e,t){return e.typed&&!(e.value<=this.requirement)&&R(this,`value`,e,t,{received:e.value instanceof Date?e.value.toJSON():L(e.value)}),e}}}function dn(e,t){return{kind:`validation`,type:`min_value`,reference:dn,async:!1,expects:`>=${e instanceof Date?e.toJSON():L(e)}`,requirement:e,message:t,"~run"(e,t){return e.typed&&!(e.value>=this.requirement)&&R(this,`value`,e,t,{received:e.value instanceof Date?e.value.toJSON():L(e.value)}),e}}}function fn(e,t){return{kind:`validation`,type:`regex`,reference:fn,async:!1,expects:`${e}`,requirement:e,message:t,"~run"(e,t){return e.typed&&!this.requirement.test(e.value)&&R(this,`format`,e,t),e}}}function pn(e,t,n){return typeof e.fallback==`function`?e.fallback(t,n):e.fallback}function mn(e,t,n){return typeof e.default==`function`?e.default(t,n):e.default}function hn(e,t){return z({kind:`schema`,type:`array`,reference:hn,expects:`Array`,async:!1,item:e,message:t,"~run"(e,t){let n=e.value;if(Array.isArray(n)){e.typed=!0,e.value=[];for(let r=0;r<n.length;r++){let i=n[r],a=this.item[`~run`]({value:i},t);if(a.issues){let o={type:`array`,origin:`value`,input:n,key:r,value:i};for(let t of a.issues)t.path?t.path.unshift(o):t.path=[o],e.issues?.push(t);if(e.issues||=a.issues,t.abortEarly){e.typed=!1;break}}a.typed||(e.typed=!1),e.value.push(a.value)}}else R(this,`type`,e,t);return e}})}function U(e){return z({kind:`schema`,type:`boolean`,reference:U,expects:`boolean`,async:!1,message:e,"~run"(e,t){return typeof e.value==`boolean`?e.typed=!0:R(this,`type`,e,t),e}})}function W(e,t){return z({kind:`schema`,type:`nullable`,reference:W,expects:`(${e.expects} | null)`,async:!1,wrapped:e,default:t,"~run"(e,t){return e.value===null&&(this.default!==void 0&&(e.value=mn(this,e,t)),e.value===null)?(e.typed=!0,e):this.wrapped[`~run`](e,t)}})}function G(e){return z({kind:`schema`,type:`number`,reference:G,expects:`number`,async:!1,message:e,"~run"(e,t){return typeof e.value==`number`&&!isNaN(e.value)?e.typed=!0:R(this,`type`,e,t),e}})}function K(e,t){return z({kind:`schema`,type:`object`,reference:K,expects:`Object`,async:!1,entries:e,message:t,"~run"(e,t){let n=e.value;if(n&&typeof n==`object`){e.typed=!0,e.value={};for(let r in this.entries){let i=this.entries[r];if(r in n||(i.type===`exact_optional`||i.type===`optional`||i.type===`nullish`)&&i.default!==void 0){let a=r in n?n[r]:mn(i),o=i[`~run`]({value:a},t);if(o.issues){let i={type:`object`,origin:`value`,input:n,key:r,value:a};for(let t of o.issues)t.path?t.path.unshift(i):t.path=[i],e.issues?.push(t);if(e.issues||=o.issues,t.abortEarly){e.typed=!1;break}}o.typed||(e.typed=!1),e.value[r]=o.value}else if(i.fallback!==void 0)e.value[r]=pn(i);else if(i.type!==`exact_optional`&&i.type!==`optional`&&i.type!==`nullish`&&(R(this,`key`,e,t,{input:void 0,expected:`"${r}"`,path:[{type:`object`,origin:`key`,input:n,key:r,value:n[r]}]}),t.abortEarly))break}}else R(this,`type`,e,t);return e}})}function gn(e,t){return z({kind:`schema`,type:`optional`,reference:gn,expects:`(${e.expects} | undefined)`,async:!1,wrapped:e,default:t,"~run"(e,t){return e.value===void 0&&(this.default!==void 0&&(e.value=mn(this,e,t)),e.value===void 0)?(e.typed=!0,e):this.wrapped[`~run`](e,t)}})}function _n(e,t){return z({kind:`schema`,type:`picklist`,reference:_n,expects:an(e.map(L),`|`),async:!1,options:e,message:t,"~run"(e,t){return this.options.includes(e.value)?e.typed=!0:R(this,`type`,e,t),e}})}function vn(e,t){return z({kind:`schema`,type:`strict_object`,reference:vn,expects:`Object`,async:!1,entries:e,message:t,"~run"(e,t){let n=e.value;if(n&&typeof n==`object`){e.typed=!0,e.value={};for(let r in this.entries){let i=this.entries[r];if(r in n||(i.type===`exact_optional`||i.type===`optional`||i.type===`nullish`)&&i.default!==void 0){let a=r in n?n[r]:mn(i),o=i[`~run`]({value:a},t);if(o.issues){let i={type:`object`,origin:`value`,input:n,key:r,value:a};for(let t of o.issues)t.path?t.path.unshift(i):t.path=[i],e.issues?.push(t);if(e.issues||=o.issues,t.abortEarly){e.typed=!1;break}}o.typed||(e.typed=!1),e.value[r]=o.value}else if(i.fallback!==void 0)e.value[r]=pn(i);else if(i.type!==`exact_optional`&&i.type!==`optional`&&i.type!==`nullish`&&(R(this,`key`,e,t,{input:void 0,expected:`"${r}"`,path:[{type:`object`,origin:`key`,input:n,key:r,value:n[r]}]}),t.abortEarly))break}if(!e.issues||!t.abortEarly){for(let r in n)if(!Object.prototype.hasOwnProperty.call(this.entries,r)){R(this,`key`,e,t,{input:r,expected:`never`,path:[{type:`object`,origin:`key`,input:n,key:r,value:n[r]}]});break}}}else R(this,`type`,e,t);return e}})}function q(e){return z({kind:`schema`,type:`string`,reference:q,expects:`string`,async:!1,message:e,"~run"(e,t){return typeof e.value==`string`?e.typed=!0:R(this,`type`,e,t),e}})}function J(...e){return z({...e[0],pipe:e,"~run"(t,n){for(let r of e)if(r.kind!==`metadata`){if(t.issues&&(r.kind===`schema`||r.kind===`transformation`)){t.typed=!1;break}t.issues&&(n.abortEarly||n.abortPipeEarly)||(t=r[`~run`](t,n))}return t}})}function yn(e,t,n){let r=e[`~run`]({value:t},rn(n));return{typed:r.typed,success:!r.issues,output:r.value,issues:r.issues}}var Y={list:{default:1e3,max:1e4},wait:{timeoutMs:{default:5e3,max:3e5},seen:1e3,regexLength:500},markerLength:1e3,sessionLabelLength:1e3,input:{coordinate:1e5,delayMs:{default:50,max:1e4},maxKeys:100}},bn={port:{min:0,max:65535},maxLineBytes:{min:1024,max:16777216},maxEntries:{min:1,max:1e6}},xn=/^\d+\.\d+\.\d+(-[0-9A-Za-z.-]+)?$/,Sn=/^(\*|[A-Za-z0-9]([A-Za-z0-9.-]*[A-Za-z0-9])?)$/,Cn=(e,t)=>{let n=e.trim();return n!==``&&n.length<=t};function wn(e){try{return!new TextDecoder(e).encoding.startsWith(`utf-16`)}catch{return!1}}var Tn=[`error`,`warn`,`info`,`debug`],En=({min:e,max:t})=>J(G(),H(),dn(e),un(t)),Dn=En(bn.port),On=En({min:1,max:bn.port.max}),kn=J(q(),fn(/\S/),B(`Not empty or blank.`)),An=J(hn(J(q(),fn(Sn))),B('Host names the API answers to besides IP addresses, `localhost` and the machine\'s name. Without port or scheme. `["*"]` accepts any name. Added in API 1.5.')),jn=K({enabled:U(),port:On,version:J(W(J(q(),fn(xn))),B("`null` = bundled version. Otherwise an exact version like `1.65.0`."))}),X={tcp:{host:kn,port:Dn,encoding:J(q(),cn(wn),B("TextDecoder label of the socket voice's code page. Not `utf-16*`: lines are split on bytes.")),maxLineBytes:En(bn.maxLineBytes)},http:{host:kn,port:Dn,allowedHosts:An},buffer:{maxEntries:En(bn.maxEntries)},log:{level:_n(Tn),file:J(W(kn),B("Bridge log file, `null` = default path.")),consoleSpeech:J(U(),B(`Also write the speech text to the console.`))}};X.tcp,X.http,X.buffer,X.log;var Z=e=>vn(Object.fromEntries(Object.entries(e).map(([e,t])=>[e,gn(t)])));Z(jn.entries),Z({enabled:U(),port:On}),Z(X.tcp),Z(X.http),Z(X.buffer),Z(X.log);var{coordinate:Mn,delayMs:Nn,maxKeys:Pn}=Y.input;-Mn,-Mn,`${Pn}`,Nn.max,`${Nn.default}`;var Q=e=>J(G(),H(),dn(e)),Fn=J(q(),ln()),In=e=>J(q(),cn(e=>Cn(e,Y.sessionLabelLength)),B(`${e} Trimmed, must not be empty, at most ${Y.sessionLabelLength} characters.`)),Ln={id:J(Q(1),B(`Increasing, restarts at 1 with the bridge.`)),name:q(),run:J(W(q()),B(`Optional label that groups sessions.`)),client:J(W(q()),B("Who started it: the `X-SR-Speech-Client` header, `null` if it wasn't sent. Added in API 1.10.")),startedAt:Fn,endedAt:J(W(Fn),B("`null` while the session is current.")),startSeq:J(Q(0),B("The last `seq` given out before the session started: `since=startSeq` reads the session from its start. Added in API 1.9.")),firstSeq:J(W(Q(1)),B("First entry still in the buffer, `null` if none.")),lastSeq:J(W(Q(1)),B("Last entry still in the buffer, `null` if none.")),entries:J(Q(0),B(`Entries of this session still in the buffer.`))},Rn=J(K(Ln),B(`A session (docs/usage/speech-capture.md#sessions). Added in API 1.3.`),V([{id:7,name:`form › submit button is announced`,run:`nightly-42`,client:`ci-runner pid 4242`,startedAt:`2026-11-12T09:31:04.120Z`,endedAt:null,startSeq:339,firstSeq:340,lastSeq:342,entries:3}]));In(`For example the test title.`),In(`Optional label that groups sessions, for example one per test run.`);var zn=J(K({...Ln,replaced:J(W(Rn),B("The session this start ended if another client had started it, `null` otherwise. Added in API 1.10."))}),B("`POST /sessions`: the new session, plus `replaced`.")),Bn=J(K({sessions:hn(Rn),currentId:W(Q(1)),outsideEntries:J(Q(0),B("Entries in the buffer that were recorded outside any session (`session=none`). Added in API 1.15."))}),B("`GET /sessions`: the current session and the ended ones with entries in the buffer, newest first, and how many entries lie outside any session."));Y.wait.seen,`${Y.wait.seen}`,`${Y.markerLength}`;var $=e=>J(G(),H(),dn(e)),Vn=J(q(),ln()),Hn=[`starting`,`ready`,`stopping`],Un=J(K({state:J(_n([`stopped`,`starting`,`running`,`crashed`,`failed`]),B("`starting` includes the install. `crashed`: it exited and restarts after a delay. `failed`: 5 crashes in a row; restart the bridge (or change the service's settings).")),version:J(q(),B(`The version that runs (configured or bundled).`),V([`1.65.0`])),port:$(0),restarts:J($(0),B(`Restarts after crashes since the service was last started (bridge start or config change).`)),exitCode:J(W(J(G(),H())),B("Exit code of the last unexpected exit. `null` if none, or killed by a signal."))}),B(`A child service (docs/usage/operations.md#child-service-crashes).`)),Wn=K({id:$(1),voice:W(q()),connectedAt:Vn}),Gn=J(K({bridge:K({version:J(q(),B(`Package version of the bridge.`),V([`0.3.0`])),apiVersion:J(q(),B("`<major>.<minor>` of this API."),V([`1.13`])),state:_n(Hn),startedAt:J(Vn,B(`When this bridge run started. Added in API 1.4.`))}),tcp:K({listening:U(),host:q(),port:$(0),encoding:J(q(),B(`Code page used to decode the socket voice.`)),connections:J(hn(Wn),B(`Open connections, oldest first.`))}),buffer:K({size:$(0),maxEntries:$(1),firstSeq:W($(1)),lastSeq:W($(1))}),playwright:Un,mcp:Un,session:J(K({current:W(Rn),count:J($(0),B("Number of sessions `GET /sessions` lists."))}),B(`Added in API 1.3.`))}),B("`GET /status`. `playwright` since API 1.1, `mcp` since 1.2, `session` since 1.3."));function Kn(e,t){let n=yn(e,t);if(n.success)return{ok:!0,value:n.output};let[r]=n.issues;return{ok:!1,field:on(r)??`(body)`,message:r.message}}var qn=class{url;constructor(e){this.url=e}list(){return this.send(`GET`,this.url,void 0,Bn)}start(e,t){return this.send(`POST`,this.url,{name:e,run:t},zn)}async end(){await this.send(`POST`,`${this.url}/end`,void 0,void 0)}async send(e,t,n,r){let i=await fetch(t,{method:e,headers:{accept:`application/json`,...n===void 0?{}:{"content-type":`application/json`}},body:n===void 0?void 0:JSON.stringify(n)});if(!i.ok)throw Error(await Jn(i));if(r===void 0)return;let a=Kn(r,await i.json());if(!a.ok)throw Error(`Unexpected answer at ${a.field}: ${a.message}`);return a.value}};async function Jn(e){let t=await e.json().catch(()=>void 0);if(typeof t==`object`&&t&&`message`in t){let{message:e}=t;if(typeof e==`string`)return e}return`The request answered ${e.status}`}var Yn=class{url;constructor(e){this.url=e}async fetch(){let e=await fetch(this.url,{headers:{accept:`application/json`}});if(!e.ok)throw Error(`The status request answered ${e.status}`);let t=Kn(Gn,await e.json());if(!t.ok)throw Error(`Unexpected status at ${t.field}: ${t.message}`);return t.value}},Xn=3e3;function Zn(i){let a=n(e([])),o=n(null),s=n(!0),c=n(!1),l=n(e(Date.now())),u=null;function d(e){t(a,e.sessions,!0),t(o,e.currentId,!0),t(l,Date.now(),!0),t(c,!0)}function f(){return u||(u=i.list().then(e=>{d(e),t(s,!0)}).catch(()=>{t(s,!1)}).finally(()=>{u=null}),u)}async function p(){await u,await f()}return{get sessions(){return r(a)},get currentId(){return r(o)},get loaded(){return r(c)},get reachable(){return r(s)},get now(){return r(l)},init(e){e&&r(a).length===0&&d(e),f();let n=setInterval(()=>{r(o)!==null&&t(l,Date.now(),!0)},1e3),i=setInterval(()=>void f(),Xn);return()=>{clearInterval(n),clearInterval(i)}},async start(e,t){let n=await i.start(e,t);return await p(),n},async end(){await i.end(),await p()}}}function Qn(e){let i=n(null),a=n(!0),o=n(!1),s=null;function c(){return s||(t(o,!0),s=e.fetch().then(e=>{t(i,e,!0),t(a,!0)}).catch(()=>{t(a,!1)}).finally(()=>{t(o,!1),s=null}),s)}return{get status(){return r(i)},get reachable(){return r(a)},get loading(){return r(o)},init(e){e&&r(i)===null&&t(i,e,!0),c()},retry(){return c()}}}function $n(i){let a=n(e(Zt));return{get current(){return r(a)},init(){t(a,i.read()??`light`,!0)},toggle(){t(a,$t(r(a)),!0),i.write(r(a))}}}var er=$n(new tn),tr=Qn(new Yn(i(`/api/status`))),nr=Zn(new qn(i(`/api/sessions`)));export{a as A,Ue as C,_ as D,ge as E,p as O,w as S,_e as T,at as _,Kt as a,Ge as b,F as c,Tt as d,Dt as f,st as g,ot as h,Y as i,o as k,Ht as l,ct as m,tr as n,Ut as o,lt as p,er as r,Gt as s,nr as t,Mt as u,j as v,ve as w,T as x,E as y};
@@ -0,0 +1 @@
1
+ import"./Dg9MaatX.js";
@@ -0,0 +1,2 @@
1
+ �
2
+ �import"./Dg9MaatX.js";
@@ -0,0 +1 @@
1
+ import{I as e,L as t,O as n,T as r}from"./CcBdu3S8.js";import{payload as i}from"../entry/payload.DSmR2FwN.js";var a=`font-weight: bold`,o=`font-weight: normal`;function s(e,t,n){let r=Error(`${e}\n${t}\nhttps://svelte.dev/e/kit/${e}`);throw r.name=`SvelteKit error`,Error.captureStackTrace?.(r,n),r}function c(e){try{e()}catch(e){return e}}function l(e){throw Error(`https://svelte.dev/e/kit/invalid_export`)}function u(e){throw Error(`https://svelte.dev/e/kit/invalid_export_location`)}function d(e){throw Error(`https://svelte.dev/e/kit/param_matcher_async`)}function f(e){throw Error(`https://svelte.dev/e/kit/param_matcher_result_invalid`)}function p(e){throw Error(`https://svelte.dev/e/kit/resolve_params_missing`)}function m(e){throw Error(`https://svelte.dev/e/kit/resolve_url_input`)}function h(e){throw Error(`https://svelte.dev/e/kit/route_param_missing`)}function g(e){throw Error(`https://svelte.dev/e/kit/route_param_slash`)}function _(e){throw Error(`https://svelte.dev/e/kit/route_param_value_invalid`)}function v(e){throw Error(`https://svelte.dev/e/kit/router_hash_page_options`)}var y=i.base??`/ui`,b=i.assets??y??``;function x(e){}function S(e){return e.replace(/[.*+?^${}()|[\]\\]/g,e=>`\\`+e)}var C=/^(\[)?(\.\.\.)?([\w-]+)(?:=([\w-]+))?(\])?$/,ee=/^\/\((?:[^)]+)\)$/,w=/\[([ux])\+([^\]]+)\]/;function T(e){return String.fromCodePoint(...e.split(`-`).map(e=>parseInt(e,16)))}function E(e){return e.replace(/[%/?#]/g,e=>`%`+e.charCodeAt(0).toString(16).toUpperCase().padStart(2,`0`))}function D(e){let t=[];return{pattern:e===`/`||ee.test(e)?/^\/$/:RegExp(`^${k(e).map(e=>{let n=/^\[\.\.\.([\w-]+)(?:=([\w-]+))?\]$/.exec(e);if(n)return t.push({name:n[1],matcher:n[2],optional:!1,rest:!0,chained:!0}),`(?:/([^]*))?`;let r=/^\[\[([\w-]+)(?:=([\w-]+))?\]\]$/.exec(e);if(r)return t.push({name:r[1],matcher:r[2],optional:!0,rest:!1,chained:!0}),`(?:/([^/]+))?`;if(!e)return;let i=e.split(/\[(.+?)\](?!\])/);return`/`+i.map((e,n)=>{if(n%2){if(e.startsWith(`x+`)||e.startsWith(`u+`))return N(T(e.slice(2)));let[,r,a,o,s]=C.exec(e);return t.push({name:o,matcher:s,optional:!!r,rest:!!a,chained:a?n===1&&i[0]===``:!1}),a?`([^]*?)`:r?`([^/]*)?`:`([^/]+?)`}return N(e)}).join(``)}).join(``)}/?$`),params:t}}function O(e){return e!==``&&!/^\([^)]+\)$/.test(e)}function k(e){return e.slice(1).split(`/`).filter(O)}function A(e,t){let n=e[`~standard`].validate(t);if(n instanceof Promise&&d(),n.issues)return{success:!1};let r=n.value;return typeof r!=`string`&&typeof r!=`number`&&typeof r!=`boolean`&&typeof r!=`bigint`&&f(),{success:!0,value:r}}function j(e,t,n){let r={},i=e.slice(1),a=i.filter(e=>e!==void 0),o=0;for(let e=0;e<t.length;e+=1){let s=t[e],c=i[e-o];if(s.chained&&s.rest&&o&&(c=i.slice(e-o,e+1).filter(e=>e).join(`/`),o=0),c===void 0){if(s.rest)c=``;else continue}let l=decodeURIComponent(c);if(s.matcher){let e=A(n[s.matcher],l);if(!e.success){if(s.optional&&s.chained){o++;continue}return}r[s.name]=e.value}else r[s.name]=l;let u=t[e+1],d=i[e+1];u&&!u.rest&&u.optional&&d&&s.chained&&(o=0),!u&&!d&&Object.keys(r).length===a.length&&(o=0)}if(!o)return r}var M={"%":`%25`,"/":`%2[Ff]`,"?":`%3[Ff]`,"#":`%23`};function N(e){return e.normalize().split(/([%/?#])/).map((e,t)=>t%2?M[e]:S(e)).join(``)}var P=RegExp(`${w.source}|\\[(\\[)?(\\.\\.\\.)?([\\w-]+?)(?:=([\\w-]+))?\\]\\]?`,`g`);function F(e,t){let n=k(e),r=e!=`/`&&e.endsWith(`/`);return`/`+n.map(n=>n.replace(P,(n,r,i,a,o,s)=>{if(r)return E(T(i));let c=t[s];if(c===void 0||c===``){if(a||o&&c!==void 0)return``;h({name:s,id:e})}if(typeof c==`string`)return(c.startsWith(`/`)||c.endsWith(`/`))&&g({name:s,id:e}),c;if(typeof c==`number`||typeof c==`boolean`||typeof c==`bigint`)return String(c);_({name:s,id:e})})).filter(Boolean).join(`/`)+(r?`/`:``)}var I=/^[a-z][a-z\d+\-.]*:/i;function L(e){return I.test(e)||e.startsWith(`//`)}new URL(`a://`);function R(e,t){return e===`/`||t===`ignore`?e:t===`never`?e.endsWith(`/`)?e.slice(0,-1):e:t===`always`&&!e.endsWith(`/`)?e+`/`:e}function z(e){return e.split(`%25`).map(decodeURI).join(`%25`)}function B({href:e}){return e.split(`#`)[0]}var V=y;function H(...e){let[t,n]=e;return L(t)&&m({id:t}),t[0]===`/`?(t.includes(`[`)&&!n&&p({id:t}),V+F(t,n??{})):V+`/`+t}var U=i.version,W=new class{#e=t({});get data(){return r(this.#e)}set data(t){e(this.#e,t)}#t=t(null);get form(){return r(this.#t)}set form(t){e(this.#t,t)}#n=t(null);get error(){return r(this.#n)}set error(t){e(this.#n,t)}#r=t({});get params(){return r(this.#r)}set params(t){e(this.#r,t)}#i=t({id:null});get route(){return r(this.#i)}set route(t){e(this.#i,t)}#a=t(null);get shallow(){return r(this.#a)}set shallow(t){e(this.#a,t)}#o=t({});get state(){return r(this.#o)}set state(t){e(this.#o,t)}#s=t(-1);get status(){return r(this.#s)}set status(t){e(this.#s,t)}#c=t(new URL(`a:`));get url(){return r(this.#c)}set url(t){e(this.#c,t)}};function G(e){Object.assign(W,e)}var K={get data(){return W.data},get error(){return W.error},get form(){return W.form},get params(){return W.params},get route(){return W.route},get shallow(){return W.shallow},get state(){return W.state},get status(){return W.status},get url(){return W.url}},q=t(null);function J(t){e(q,t)}var Y=36e5,X,Z,Q=t(!1),$={get current(){return r(Q)},async check(){return window.clearTimeout(X),r(Q)?Promise.resolve(!0):Z??=(async()=>{try{let t=await fetch(`${b}/_app/version.json`,{headers:{"cache-control":`no-cache`}});if(!t.ok)return!1;let n=await t.json();return e(Q,r(Q)||n.version!==U)}catch{return!1}finally{Z=void 0,r(Q)||(X=window.setTimeout($.check,Y))}})()}};Y&&(X=window.setTimeout($.check,Y));function te(t){t&&n(()=>e(Q,r(Q)||t!==U))}export{a as _,$ as a,s as b,R as c,D as d,y as f,v as g,u as h,G as i,B as l,l as m,K as n,H as o,x as p,J as r,z as s,te as t,j as u,c as v,o as y};
@@ -0,0 +1,3 @@
1
+ import{payload as e}from"../entry/payload.DSmR2FwN.js";import{B as t,D as n,E as r,H as i,I as a,L as o,M as s,P as c,R as l,T as u,U as d,_ as f,b as p,d as m,f as h,g,h as _,j as v,k as y,l as b,m as x,n as S,t as ee,v as C,x as te,y as ne,z as re}from"./CcBdu3S8.js";import{a as w,c as ie,d as ae,f as T,i as oe,l as se,n as ce,p as le,r as E,s as ue,t as de,u as fe,v as pe}from"./Dg9MaatX.js";var me=class{constructor(e){this.status=e.status,this.body=e}toString(){return JSON.stringify(this.body)}},he=class extends me{},ge=class{constructor(e,t){try{new Headers({location:t})}catch{throw Error(`Invalid redirect location ${JSON.stringify(t)}: this string contains characters that cannot be used in HTTP headers`)}this.status=e,this.location=t}},_e=class extends Error{constructor(e,t,n){super(n),this.status=e,this.text=t}};function ve(...e){let t=5381;for(let n of e)if(typeof n==`string`){let e=n.length;for(;e;)t=t*33^n.charCodeAt(--e)}else if(ArrayBuffer.isView(n)){let e=new Uint8Array(n.buffer,n.byteOffset,n.byteLength),r=e.length;for(;r;)t=t*33^e[--r]}else throw TypeError(`value must be a string or TypedArray`);return(t>>>0).toString(36)}function ye(e,t){let n=[];return e&&n.push([...new Headers(e)].join(`,`)),t&&n.push(t),ve(...n)}new TextEncoder,new TextDecoder;function be(e){let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n}var xe=2**32-1,Se=xe-1,D=class extends Error{constructor(e,t,n,r){super(e),this.name=`DevalueError`,this.path=t.join(``),this.value=n,this.root=r}},Ce=Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);function we(e){let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null||Object.getPrototypeOf(t)===null||Object.getOwnPropertyNames(t).sort().join(`\0`)===Ce}function Te(e){return Object.prototype.toString.call(e).slice(8,-1)}function Ee(e){return typeof Buffer<`u`&&Buffer.isBuffer(e)}function De(e){switch(e){case`"`:return`\\"`;case`<`:return`\\u003C`;case`\\`:return`\\\\`;case`
2
+ `:return`\\n`;case`\r`:return`\\r`;case` `:return`\\t`;case`\b`:return`\\b`;case`\f`:return`\\f`;case`\u2028`:return`\\u2028`;case`\u2029`:return`\\u2029`;default:return e<` `?`\\u${e.charCodeAt(0).toString(16).padStart(4,`0`)}`:``}}function O(e){let t=``,n=0,r=e.length;for(let i=0;i<r;i+=1){let r=e[i],a=De(r);a&&(t+=e.slice(n,i)+a,n=i+1)}return`"${n===0?e:t+e.slice(n)}"`}function Oe(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.getOwnPropertyDescriptor(e,t).enumerable)}var ke=/^[a-zA-Z_$][a-zA-Z_$0-9]*$/;function Ae(e){return ke.test(e)?`.`+e:`[`+JSON.stringify(e)+`]`}function je(e){return!(!Number.isInteger(e)||e<0||e>Se)}function Me(e){return!(!Number.isInteger(e)||e<0||e>xe)}function Ne(e){if(e.length===0||e.length>1&&e.charCodeAt(0)===48)return!1;for(let t=0;t<e.length;t++){let n=e.charCodeAt(t);if(n<48||n>57)return!1}return je(+e)}function Pe(e){for(var t=e.length-1;t>=0&&!Ne(e[t]);t--);return t+1}function Fe(e){let t=Object.keys(e);return t.length=Pe(t),t}function Ie(e){return new Uint8Array(e).toBase64()}function Le(e){return Uint8Array.fromBase64(e).buffer}function Re(e){return Buffer.from(e).toString(`base64`)}function ze(e){return Uint8Array.from(Buffer.from(e,`base64`)).buffer}function Be(e){let t=new Uint8Array(e),n=``,r=32768;for(let e=0;e<t.length;e+=r){let i=t.subarray(e,e+r);n+=String.fromCharCode.apply(null,i)}return btoa(n)}function Ve(e){let t=atob(e),n=t.length,r=new Uint8Array(n);for(let e=0;e<n;e++)r[e]=t.charCodeAt(e);return r.buffer}var He=typeof Uint8Array.fromBase64==`function`,Ue=typeof process==`object`&&process.versions?.node!==void 0,We=He?Ie:Ue?Re:Be,Ge=He?Le:Ue?ze:Ve;function Ke(e,t){if(!t)return e;let n={};for(let r of Object.keys(e))n[r]=t[r]??e[r];return n}var qe=Object.freeze({kind:`not-plain`}),Je=Object.freeze({kind:`symbol-keys`}),Ye=Object.freeze({identify:e=>e,typeOf:e=>e===null?`null`:typeof e,toPrimitive:e=>e,tagOf:e=>Te(e),isThenable:e=>typeof e.then==`function`,toPromise:e=>Promise.resolve(e),unbox:e=>e.valueOf(),toISOString:e=>isNaN(e.getDate())?``:e.toISOString(),toStringValue:e=>e.toString(),regExpInfo:e=>({source:e.source,flags:e.flags}),valuesOf:e=>e,entriesOf:e=>e,viewInfo:e=>(Ee(e)&&(e=new Uint8Array(e)),{buffer:e.buffer,byteOffset:e.byteOffset,byteLength:e.byteLength,length:e.length,bufferByteLength:e.buffer.byteLength}),toArrayBuffer:e=>e,lengthOf:e=>e.length,hasOwn:(e,t)=>Object.hasOwn(e,t),indicesOf:e=>Fe(e),shapeOf:e=>we(e)?Oe(e).length>0?Je:{kind:Object.getPrototypeOf(e)===null?`null-proto`:`plain`,keys:Object.keys(e)}:qe,get:(e,t)=>e[t]}),Xe=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,`byteLength`).get,Ze=typeof SharedArrayBuffer>`u`?void 0:Object.getOwnPropertyDescriptor(SharedArrayBuffer.prototype,`byteLength`).get,Qe=Object.freeze({fromPrimitive:e=>e,fromISOString:e=>new Date(e),fromStringValue:(e,t)=>e===`URL`?new URL(t):e===`URLSearchParams`?new URLSearchParams(t):Temporal[e.slice(9)].from(t),fromArrayBuffer:e=>e,fromRegExpInfo:(e,t)=>new RegExp(e,t),fromViewInfo:(e,t,n,r)=>{try{Xe.call(t)}catch(e){if(!Ze)throw e;Ze.call(t)}let i=globalThis[e];return n===void 0?new i(t):new i(t,n,r)},box:e=>Object(e),createArray:e=>Array(e),createSparseArray:e=>{let t=[];return t[Se]=void 0,delete t[Se],t.length=e,t},createObject:()=>({}),createNullPrototypeObject:()=>Object.create(null),createSet:()=>new Set,createMap:()=>new Map,set:(e,t,n)=>{e[t]=n},addValue:(e,t)=>{e.add(t)},addEntry:(e,t,n)=>{e.set(t,n)}});function $e(e,t,n){return et(JSON.parse(e),t,n)}function et(e,t,n){let r=Ke(Qe,n?.operations);if(typeof e==`number`)return s(e,!0);if(!Array.isArray(e)||e.length===0)throw Error(`Invalid input`);let i=e,a=Array(i.length),o=null;function s(e,n=!1){if(e===-1)return r.fromPrimitive(void 0);if(e===-3)return r.fromPrimitive(NaN);if(e===-4)return r.fromPrimitive(1/0);if(e===-5)return r.fromPrimitive(-1/0);if(e===-6)return r.fromPrimitive(-0);if(n||typeof e!=`number`)throw Error(`Invalid input`);if(e in a)return a[e];if(e>=i.length)throw Error(`Invalid input`);let c=i[e];if(!c||typeof c!=`object`)a[e]=r.fromPrimitive(c);else if(Array.isArray(c)){if(typeof c[0]==`string`){let n=c[0],l=t&&Object.hasOwn(t,n)?t[n]:void 0;if(l){let t=c[1];if(typeof t!=`number`&&(t=i.push(c[1])-1),Object.hasOwn(a,t))return a[e]=l(a[t]);if(o??=new Set,o.has(t))throw Error(`Invalid circular reference`);return o.add(t),a[e]=l(s(t)),o.delete(t),a[e]}switch(n){case`Date`:a[e]=r.fromISOString(c[1]);break;case`Set`:let t=r.createSet();a[e]=t;for(let e=1;e<c.length;e+=1)r.addValue(t,s(c[e]));break;case`Map`:let o=r.createMap();a[e]=o;for(let e=1;e<c.length;e+=2)r.addEntry(o,s(c[e]),s(c[e+1]));break;case`RegExp`:a[e]=r.fromRegExpInfo(c[1],c[2]);break;case`Object`:{let t=c[1];if(typeof i[t]==`object`&&i[t][0]!==`BigInt`)throw Error(`Invalid input`);a[e]=r.box(s(t));break}case`BigInt`:a[e]=r.fromPrimitive(BigInt(c[1]));break;case`null`:let l=r.createNullPrototypeObject();a[e]=l;for(let e=1;e<c.length;e+=2){let t=c[e];if(typeof t!=`string`)throw Error(`Cannot parse an object with a non-string key`);if(t===`__proto__`)throw Error("Cannot parse an object with a `__proto__` property");r.set(l,t,s(c[e+1]))}break;case`Int8Array`:case`Uint8Array`:case`Uint8ClampedArray`:case`Int16Array`:case`Uint16Array`:case`Float16Array`:case`Int32Array`:case`Uint32Array`:case`Float32Array`:case`Float64Array`:case`BigInt64Array`:case`BigUint64Array`:case`DataView`:{if(i[c[1]][0]!==`ArrayBuffer`)throw Error(`Invalid data`);let t=s(c[1]);a[e]=r.fromViewInfo(n,t,c[2],c[3]);break}case`ArrayBuffer`:{let t=c[1];if(typeof t!=`string`)throw Error(`Invalid ArrayBuffer encoding`);a[e]=r.fromArrayBuffer(Ge(t));break}case`URL`:case`URLSearchParams`:case`Temporal.Duration`:case`Temporal.Instant`:case`Temporal.PlainDate`:case`Temporal.PlainTime`:case`Temporal.PlainDateTime`:case`Temporal.PlainMonthDay`:case`Temporal.PlainYearMonth`:case`Temporal.ZonedDateTime`:a[e]=r.fromStringValue(n,c[1]);break;default:throw Error(`Unknown type ${n}`)}}else if(c[0]===-7){let t=c[1];if(!Me(t))throw Error(`Invalid input`);let n=r.createSparseArray(t);a[e]=n;for(let e=2;e<c.length;e+=2){let i=c[e];if(!je(i)||i>=t)throw Error(`Invalid input`);r.set(n,i,s(c[e+1]))}}else{let t=r.createArray(c.length);a[e]=t;for(let e=0;e<c.length;e+=1){let n=c[e];n!==-2&&r.set(t,e,s(n))}}}else{let t=r.createObject();a[e]=t;for(let e of Object.keys(c)){if(e===`__proto__`)throw Error("Cannot parse an object with a `__proto__` property");r.set(t,e,s(c[e]))}}return a[e]}return s(0)}function tt(e,t,n){let r=nt(!1,e,t,n);return typeof r==`string`?r:`[${r.join(`,`)}]`}function nt(e,t,n,r){let i=Ke(Ye,r?.operations),a=[],o=new Map,s=[];if(n)for(let e of Object.getOwnPropertyNames(n))s.push({key:e,fn:n[e]});let c=[],l=0;function u(n,r){let d=i.typeOf(n);if(d===`undefined`)return-1;let f;if(d===`number`){if(f=i.toPrimitive(n),Number.isNaN(f))return-3;if(f===1/0)return-4;if(f===-1/0)return-5;if(f===0&&1/f<0)return-6}let p=i.identify(n);if(o.has(p))return o.get(p);r??=l++,o.set(p,r);for(let{key:e,fn:t}of s){let i=t(n);if(i)return a[r]=`["${e}",${u(i)}]`,r}if(d===`function`)throw new D(`Cannot stringify a function`,c,n,t);if(d===`symbol`)throw new D(`Cannot stringify a Symbol primitive`,c,n,t);let m=``;if(d!==`object`)m=rt(d===`number`?f:i.toPrimitive(n));else if(i.isThenable(n)){if(!e)throw new D(`Cannot stringify a Promise or thenable — use stringifyAsync instead`,c,n,t);m=i.toPromise(n).then(e=>{let t=u(e,r);t<0&&(a[r]=t)}),m.catch(()=>{})}else{let e=i.tagOf(n);switch(e){case`Number`:case`String`:case`Boolean`:case`BigInt`:m=`["Object",${u(i.unbox(n))}]`;break;case`Date`:m=`["Date","${i.toISOString(n)}"]`;break;case`URL`:m=`["URL",${O(i.toStringValue(n))}]`;break;case`URLSearchParams`:m=`["URLSearchParams",${O(i.toStringValue(n))}]`;break;case`RegExp`:let{source:r,flags:a}=i.regExpInfo(n);m=a?`["RegExp",${O(r)},"${a}"]`:`["RegExp",${O(r)}]`;break;case`Array`:{let e=!1,t=i.lengthOf(n);m=`[`;for(let r=0;r<t;r+=1)if(r>0&&(m+=`,`),i.hasOwn(n,r))c.push(`[${r}]`),m+=u(i.get(n,r)),c.pop();else if(e)m+=-2;else{let r=i.indicesOf(n),a=r.length,o=String(t).length;if((t-a)*3>4+o+a*(o+1)){m=`[-7,`+t;for(let e=0;e<r.length;e++){let t=r[e];c.push(`[${t}]`),m+=`,`+t+`,`+u(i.get(n,t)),c.pop()}break}e=!0,m+=-2}m+=`]`;break}case`Set`:m=`["Set"`;for(let e of i.valuesOf(n))m+=`,${u(e)}`;m+=`]`;break;case`Map`:m=`["Map"`;for(let[e,t]of i.entriesOf(n)){let n=i.typeOf(e),r=n!==`object`&&n!==`function`&&n!==`symbol`;c.push(`.get(${r?rt(i.toPrimitive(e)):`...`})`),m+=`,${u(e)},${u(t)}`,c.pop()}m+=`]`;break;case`Int8Array`:case`Uint8Array`:case`Uint8ClampedArray`:case`Int16Array`:case`Uint16Array`:case`Float16Array`:case`Int32Array`:case`Uint32Array`:case`Float32Array`:case`Float64Array`:case`BigInt64Array`:case`BigUint64Array`:{let t=i.viewInfo(n);m=`["`+e+`",`+u(t.buffer),t.byteLength!==t.bufferByteLength&&(m+=`,${t.byteOffset},${t.length}`),m+=`]`;break}case`DataView`:{let t=i.viewInfo(n);m=`["`+e+`",`+u(t.buffer),t.byteLength!==t.bufferByteLength&&(m+=`,${t.byteOffset},${t.byteLength}`),m+=`]`;break}case`ArrayBuffer`:m=`["ArrayBuffer","${We(i.toArrayBuffer(n))}"]`;break;case`Temporal.Duration`:case`Temporal.Instant`:case`Temporal.PlainDate`:case`Temporal.PlainTime`:case`Temporal.PlainDateTime`:case`Temporal.PlainMonthDay`:case`Temporal.PlainYearMonth`:case`Temporal.ZonedDateTime`:m=`["${e}",${O(i.toStringValue(n))}]`;break;default:{let e=i.shapeOf(n);if(e.kind===`not-plain`)throw new D(`Cannot stringify arbitrary non-POJOs`,c,n,t);if(e.kind===`symbol-keys`)throw new D(`Cannot stringify POJOs with symbolic keys`,c,n,t);if(e.kind===`null-proto`){m=`["null"`;for(let r of e.keys){if(r===`__proto__`)throw new D(`Cannot stringify objects with __proto__ keys`,c,n,t);c.push(Ae(r)),m+=`,${O(r)},${u(i.get(n,r))}`,c.pop()}m+=`]`}else{m=`{`;let r=!1;for(let a of e.keys){if(a===`__proto__`)throw new D(`Cannot stringify objects with __proto__ keys`,c,n,t);r&&(m+=`,`),r=!0,c.push(Ae(a)),m+=`${O(a)}:${u(i.get(n,a))}`,c.pop()}m+=`}`}}}}return a[r]=m,r}let d=u(t);return d<0?`${d}`:a}function rt(e){let t=typeof e;return t===`string`?O(e):e===void 0?`-1`:e===0&&1/e<0?`-6`:t===`bigint`?`["BigInt","${e}"]`:String(e)}var it=()=>{throw Error(``)},k=()=>{throw Error(``)},at={},ot={};function st(e){let t=Object.entries(e);t.length,at=Object.fromEntries(t.map(([e,t])=>[e,t.encode])),ot=Object.fromEntries(t.map(([e,t])=>[e,t.decode])),it=e=>tt(e,at),k=e=>$e(e,ot)}function ct(e,t){return e.origin===t.origin?e.href.slice(t.origin.length):e.href}var lt=`x-sveltekit-invalidated`,ut=`x-sveltekit-trailing-slash`;function dt(e,t){return e+`/`+t}var ft=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||`GET`)!==`GET`&&ht(e),ft(e,t));var A=new Map;function pt(e,t){let n=_t(e,t);if(n){let e=document.querySelector(n);if(e?.textContent){e.remove();let{body:t,...r}=JSON.parse(e.textContent);e.getAttribute(`data-b64`)!==null&&(t=be(t));let i=e.getAttribute(`data-ttl`);return i&&A.set(n,{body:t,init:r,ttl:1e3*Number(i)}),Promise.resolve(new Response(t,r))}}return window.fetch(e,t)}function mt(e,t,n){if(A.size>0){let t=_t(e,n),r=t&&A.get(t);if(r){if(performance.now()<r.ttl&&[`default`,`force-cache`,`only-if-cached`,void 0].includes(n?.cache))return new Response(r.body,r.init);A.delete(t)}}return window.fetch(t,n)}function ht(e){let t=_t(gt(e));for(let e of A.keys())e.startsWith(t)&&A.delete(e)}function gt(e){return ct(new URL(e instanceof Request?e.url:e,location.href),location)}function _t(e,t){let n=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){let e=t.body;if(e&&typeof e!=`string`&&!ArrayBuffer.isView(e))return null;n+=`[data-hash="${ye(t.headers,e)}"]`}return n}function vt({nodes:e,server_loads:t,dictionary:n,matchers:r}){let i=new Set(t);return Object.entries(n).map(([t,[n,i,s]])=>{let{pattern:c,params:l}=ae(t),u={id:t,exec:e=>{let t=c.exec(e);if(t)return fe(t,l,r)},errors:[1,...s||[]].map(t=>e[t]),layouts:[0,...i||[]].map(o),leaf:a(n)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});function a(t){let n=t<0;return n&&(t=~t),[n,e[t]]}function o(t){return t===void 0?t:[i.has(t),e[t]]}}function yt(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function bt(e,t,n=JSON.stringify){let r=n(t);try{sessionStorage[e]=r}catch{}}var xt=`sveltekit:snapshot`,St=`sveltekit:navigation-snapshot`,Ct=`sveltekit:history-info`,j=`sveltekit:metadata`,M={tap:1,hover:2,viewport:3,eager:4,false:-1},wt=location.origin;function Tt(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){let e=document.getElementsByTagName(`base`);t=e.length?e[0].href:document.URL}return new URL(e,t)}function Et(){return{x:pageXOffset,y:pageYOffset}}function Dt(e,t){return e.getAttribute(`data-sveltekit-${t}`)}var Ot={...M,"":M.hover};function kt(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function At(e,t){for(;e&&e!==t;){if((e instanceof HTMLAnchorElement||e instanceof SVGAElement)&&e.hasAttribute(`href`))return e;e=kt(e)}}function jt(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){let e=location.hash.split(`#`)[1]||`/`;r.hash=`#${e}${r.hash}`}}catch{}let i=e instanceof SVGAElement?e.target.baseVal:e.target,a=!r||!!i||Mt(r,t,n)||(e.getAttribute(`rel`)||``).split(/\s+/).includes(`external`),o=r?.origin===wt&&e.hasAttribute(`download`);return{url:r,external:a,target:i,download:o}}function N(e){let t=null,n=null,r=null,i=null,a=null,o=e;for(;o&&o!==document.documentElement;)t===null&&(t=Dt(o,`preload-code`)),n===null&&(n=Dt(o,`preload-data`)),r===null&&(r=Dt(o,`reload`)),i===null&&(i=Dt(o,`replacestate`)),a===null&&(a=Dt(o,`reset`)),o=kt(o);function s(e){switch(e){case``:case`true`:return!0;case`false`:return!1;default:return}}return{preload_code:Ot[t??`false`],preload_data:Ot[n??`false`],reload:s(r),replace_state:s(i),reset:s(a)??!0}}function Mt(e,t,n){return e.origin!==wt||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function Nt(e,t){let n=t?e.hash.split(`#`,3)[2]??``:e.hash.slice(1);return n?document.getElementById(decodeURIComponent(n)):null}function Pt(e){}function Ft(e){let t=document.activeElement;e&&(t instanceof HTMLElement||t instanceof SVGElement)&&t!==document.body&&t.blur()}function It(e){let t=e.getAttribute(`tabindex`);e.setAttribute(`tabindex`,`-1`),e.focus({preventScroll:!0,focusVisible:!1}),t===null?e.removeAttribute(`tabindex`):e.setAttribute(`tabindex`,t)}function Lt(e){let t=window.parent===window||document.hasFocus(),n=document.querySelector(`[autofocus]`);if(n)t&&n.focus();else{t&&It(Nt(e,!1)??document.body);let n=getSelection();if(n&&n.type!==`None`){let e=[];for(let t=0;t<n.rangeCount;t+=1)e.push(n.getRangeAt(t));setTimeout(()=>{if(n.rangeCount===e.length){for(let t=0;t<n.rangeCount;t+=1){let r=e[t],i=n.getRangeAt(t);if(r.commonAncestorContainer!==i.commonAncestorContainer||r.startContainer!==i.startContainer||r.endContainer!==i.endContainer||r.startOffset!==i.startOffset||r.endOffset!==i.endOffset)return}n.removeAllRanges()}})}}}var Rt=!0;function zt(e,t,n){if(t&&Rt){if(n)scrollTo(n.x,n.y);else{let t=Nt(e,!1);t?t.scrollIntoView():scrollTo(0,0)}}Rt=!0}function Bt(e){throw Error(`https://svelte.dev/e/kit/navigation_external_url`)}function Vt(e){throw Error(`https://svelte.dev/e/kit/navigation_route_missing`)}function Ht(e){throw Error(`https://svelte.dev/e/kit/redirect_loop`)}function Ut(e){throw Error(`https://svelte.dev/e/kit/reserved_query_parameter`)}var P=yt(`sveltekit:navigation-snapshot`)??{},Wt=new Set;function Gt(){return new Set(Wt)}function Kt(e){Wt.size===0?delete P[e]:P[e]=Object.fromEntries(Array.from(Wt,({id:e,capture:t})=>[e,it(t())]))}function qt(e,t){let n=P[e];for(let e of Wt)n&&Object.hasOwn(n,e.id)?e.restore(k(n[e.id])):t?.has(e)&&e.reset?.()}function Jt(e){delete P[e]}function Yt(e){Kt(e),bt(St,P)}var Xt=new Set([`load`,`prerender`,`csr`,`ssr`,`trailingSlash`,`config`]);[...Xt],[...new Set([...Xt])];function F(){}var Zt=`/__data.json`,Qt=`.html__data.json`;function $t(e){return e.endsWith(`.html`)?e.replace(/\.html$/,Qt):e.replace(/\/$/,``)+Zt}async function*en(e,t,n){let r=!1,i=[],a=``,o=new TextDecoder(void 0,n),s=t.length-1;for(;!r;){let n=await e.read();r=n.done;let c=a;n.value&&(c+=o.decode(n.value,{stream:!0})),r&&(c+=o.decode());let l=0,u=c.indexOf(t);for(;u!==-1;)i.length>0?(i.push(c.slice(l,u)),yield i.join(``),i=[]):yield c.slice(l,u),l=u+t.length,u=c.indexOf(t,l);let d=Math.max(l,c.length-s);d>l&&i.push(c.slice(l,d)),a=c.slice(d)}(i.length>0||a)&&(yield i.join(``)+a)}async function*tn(e){for await(let t of en(e,`
3
+ `,{fatal:!0})){let e=t.trim();e&&(yield JSON.parse(e))}}var nn=p(`<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>`),rn=p(`<!> <!>`,1);function an(e,n){t(n,!0);let r=(e,t=d,i=d)=>{let a=(e,t=d)=>{var n=ne(),r=s(n);b(r,()=>u(c),(e,n)=>{n(e,{get error(){return t()}})}),C(e,n)},o=l(()=>t().component),c=l(()=>t().error),h=l(()=>t().data);var g=ne(),_=s(g);f(_,{get failed(){return u(c)?a:void 0},get onerror(){return u(c)?n.onerror:void 0}},e=>{var a=ne(),c=s(a),l=e=>{var a=ne(),c=s(a);b(c,()=>u(o),(e,a)=>{S(a(e,{get data(){return u(h)},get form(){return n.form},get params(){return n.page.params},children:(e,n)=>{r(e,()=>t().child,()=>i()+1)},$$slots:{default:!0}}),e=>p()[i()]=e,()=>p()?.[i()])}),C(e,a)},d=e=>{var t=ne(),r=s(t);b(r,()=>u(o),(e,t)=>{S(t(e,{get data(){return u(h)},get form(){return n.form},get params(){return n.page.params},get error(){return n.error}}),e=>p()[i()]=e,()=>p()?.[i()])}),C(e,t)};m(c,e=>{t().child?e(l):e(d,-1)}),C(e,a)}),C(e,g)},p=ee(n,`components`,7),h=o(!1),_=o(!1),x=o(``);mr(()=>{u(h)?(a(_,!0),a(x,document.title||`untitled page`,!0)):a(h,!0)});var w=rn(),ie=s(w);r(ie,()=>n.tree,()=>0);var ae=c(ie,2),T=e=>{var t=nn(),n=v(t),r=e=>{var t=te();y(()=>g(t,u(x))),C(e,t)};m(n,e=>{u(_)&&e(r)}),i(t),C(e,t)};m(ae,e=>{u(h)&&e(T)}),C(e,w),re()}var on=class{#e;get form(){return u(this.#e)}set form(e){a(this.#e,e)}#t;get error(){return u(this.#t)}set error(e){a(this.#t,e)}page;components=[];tree;onerror;constructor({page:e,tree:t,form:n,error:r,onerror:i=F}){this.page=e,this.tree=t,this.onerror=i,this.#e=o(n),this.#t=o(r)}},sn=class{component;error;#e=o({});get data(){return u(this.#e)}set data(e){a(this.#e,e)}#t=o();get child(){return u(this.#t)}set child(e){a(this.#t,e)}constructor(e,t){this.component=e,this.error=t}};function cn(e,t,n){let r=[void 0],i=-1;for(let a=1;a<e.length;a+=1){if(!e[a])continue;let o=a-1;for(;o>i+1&&t[o]==null;)--o;i=o;let s=t[o];r.push(s==null?void 0:n(s)?.catch(()=>void 0))}return Promise.all(r)}function*ln(e,t,n){for(;e--;){let r=n[e];if(r!=null){let n=e;for(;!t[n];)--n;yield{error:r,idx:n+1}}}}var un=new Set([`icon`,`shortcut icon`,`apple-touch-icon`]),dn=new Set,I=yt(`sveltekit:history-info`)??{},fn=yt(`sveltekit:snapshot`)??{},L;function pn(e){I[e].scroll=Et()}function mn(e,t){I[e]={...I[e],resetIndex:t.resetIndex}}function hn(e,t){Jt(e);let n=e+1;for(;I[n];)delete I[n],Jt(n),n+=1;for(n=t+1;fn[n];)delete fn[n],n+=1}function R(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(F)}async function gn(){try{if(`serviceWorker`in navigator){let e=await navigator.serviceWorker.getRegistration(T||`/`);e&&await e.update()}}catch{}}var _n,vn,yn,z,bn,B,xn={},Sn={},Cn=[],V=null;function wn(){V?.fork?.then(e=>e?.discard()),V=null,Q={element:void 0,href:void 0}}var Tn=new Map,En=new Set,Dn=new Set,H=new Set,U={branch:[],error:null,url:null,nav:null},On=!1,kn=!1,W=!1,G=null,An=!1,jn=!1,K,q,J;function Mn(e=history.state){return e?.[j]}var Y,X,Nn=new Set,Pn=new Map,Fn=new Map;le(async e=>{typeof e==`string`&&(e=new URL(e,location.href));let t=await Z(e,!1);return t?{id:t.route.id,params:t.params}:null}),Promise.resolve();function In(e,t,n){return Rn(e,t,n)}function*Ln(e){for(let[t,n]of e)for(let[e,r]of n)yield[dt(t,e),r]}async function Rn(t,n,r){if(e.data){let{q:t={},p:n={},l:r={},f:i={}}=e.data;for(let e in t)xn[e]=t[e];for(let e in r)xn[e]=r[e];for(let e in i)xn[e]=i[e];for(let e in n)Sn[e]=n[e]}document.URL!==location.href&&(location.href=location.href),B=t,st(B.hooks.transport??{}),await t.hooks.init?.(),_n=vt(t),z=document.documentElement,bn=n,vn=t.nodes[0],yn=t.nodes[1];let[i]=await Promise.all([vn(),yn()]),a=new sn(i.component,void 0);L=new on({page:ce,tree:a,form:void 0,error:void 0,onerror:(e,t)=>dn.add(t)});let o=Mn();K=o?.historyIndex??0,q=o?.navigationIndex??0,J=o?.resetIndex??0,K||(K=q=J=Date.now(),history.replaceState({...history.state,[j]:{historyIndex:K,navigationIndex:q,state:it({}),persistState:!1,resetIndex:K}},``)),mn(K,Mn());let s=I[K]?.scroll;function c(){s&&(history.scrollRestoration=`manual`,scrollTo(s.x,s.y))}r?(c(),await br(bn,r)):(await cr({type:`enter`,url:Tt(B.hash?Tr(new URL(location.href)):location.href),replace_state:!0,state:o?.persistState?k(o.state):{},persist_state:o?.persistState??!1}),c()),yr()}function zn(){Cn.length=0,jn=!1}function Bn(e){L.components.some(e=>e?.snapshot)&&(fn[e]=L.components.map(e=>e?.snapshot?.capture()))}function Vn(e){fn[e]?.forEach((e,t)=>{L.components[t]?.snapshot?.restore(e)})}function Hn(){pn(K),bt(Ct,I),Bn(q),bt(xt,fn),Yt(K)}async function Un(e,t={},r=0,i={},a){let o,s;t.refreshAll&&wn(),await cr({type:t.type??`goto`,url:Tt(e),reset:t.reset,replace_state:t.replace,state:t.state,persist_state:t.persistState,event:t.event,action_result:t.action_result,redirect_count:r,nav_token:i,intent:a,accept:()=>{if(t.refreshAll){jn=!0,o=new Set;for(let[e,t]of Ln(Pn))t.resource?.reset(),o.add(e);s=new Set;for(let[e]of Ln(Fn))s.add(e)}t.invalidate&&t.invalidate.forEach(_r)}}),t.refreshAll&&n().then(n).then(()=>{for(let[e,{resource:t}]of Ln(Pn))o?.has(e)&&t.start();for(let[e,{resource:t}]of Ln(Fn))s?.has(e)&&t.reconnect()})}async function Wn(e){if(e.id!==V?.id){wn();let t={};Nn.add(t),V={id:e.id,token:t,promise:er({...e,preload:t}).finally(()=>{Nn.delete(t)}),fork:null},V.promise.catch(wn)}return V.promise}async function Gn(e){await Promise.all([...e.layouts,e.leaf].filter(Boolean).map(([,e])=>e()))}async function Kn(e){let t=(await Z(e,!1))?.route;t&&await Gn(t)}async function qn(e,t,n){let r={params:e.state.params,route:{id:e.state.route?.id??null},url:new URL(location.href)};if(U={...e.state,nav:r},Er(e),(n?x:_)(an,{target:t,props:L,transformError:async e=>{let t=await $(e,U.nav);return oe({error:t,status:t.status}),t}}),await Promise.resolve(),n){let e={from:null,to:{...r,scroll:I[K]?.scroll??Et()},willUnload:!1,type:`enter`,shallow:!1,complete:Promise.resolve()};H.forEach(t=>t(e))}Vn(q),On&&qt(K),kn=!0}async function Jn({url:e,params:t,branch:n,errors:r,status:i,error:a,route:o,form:s}){let c=`never`;if(T&&(e.pathname===T||e.pathname===T+`/`))c=`always`;else for(let e of n)e?.slash!==void 0&&(c=e.slash);e.pathname=ie(e.pathname,c),e.search=e.search;let l={type:`loaded`,state:{url:e,params:t,branch:n,error:a,route:o},props:{page:{...ce},tree:{}}};a&&(l.props.error=a),s!==void 0&&(l.props.form=s);let u={},d=!ce,f=r&&await cn(n,r,e=>e().then(e=>e.component)),p=l.props.tree,m=1,h=L.tree;for(let e=0;e<n.length;e+=1){let t=n[e],r=U.branch[e];if(t&&(d||!h||t?.data!==r?.data?(p.data={...u,...t.data},d=!0):p.data=h.data,u=p.data,e<n.length-1)){let t=e+1;for(;t<n.length&&!n[t];)t+=1;let r=n[t];r&&(p=p.child=new sn(r.node.component,f?.[m++]),h=h?.child)}}return(!U.url||e.href!==U.url.href||U.error!==a||s!==void 0&&s!==ce.form||d)&&(l.props.page={error:a,params:t,route:{id:o?.id??null},state:{},shallow:null,status:i??a?.status??200,url:new URL(e),form:s??null,data:u}),l}async function Yn({loader:e,parent:t,url:n,params:r,route:i,server_data_node:a}){let o={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},s=await e();return{node:s,loader:e,server:a,universal:s.universal?.load?{type:`data`,data:null,uses:o}:null,data:a?.data??null,slash:s.universal?.trailingSlash??a?.slash}}function Xn(e,t,n){let r=new URL(e instanceof Request?e.url:e,n),i=ct(r,n);return{resolved:r,promise:kn?mt(i,r.href,t):pt(i,t)}}function Zn(e,t,n,r,i,a){if(jn)return!0;if(!i)return!1;if(i.parent&&e||i.route&&t||i.url&&n)return!0;for(let e of i.search_params)if(r.has(e))return!0;for(let e of i.params)if(a[e]!==U.params[e])return!0;for(let e of i.dependencies)if(Cn.some(t=>t(new URL(e))))return!0;return!1}function Qn(e,t){return e?.type===`data`?e:e?.type===`skip`?t??null:null}function $n(e,t){if(!e)return new Set(t.searchParams.keys());let n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(let r of n){let i=e.searchParams.getAll(r).sort(),a=t.searchParams.getAll(r).sort();i.length===a.length&&i.every((e,t)=>e===a[t])&&n.delete(r)}return n}async function er({id:e,invalidating:t,url:n,params:r,route:i,preload:a,action_result:o}){if(!o&&V?.id===e)return Nn.delete(V.token),V.promise;let{errors:s,layouts:c,leaf:l}=i,u=[...c,l],d=u.length-1,f=o?.type===`error`;s.forEach(e=>e?.().catch(F)),u.forEach(e=>e?.[1]().catch(F));let p=null,m=U.url?e!==or(U.url):!1,h=!U.route||i.id!==U.route.id,g=$n(U.url,n),_=!1;{let t=u.map((e,t)=>{if(f&&t===d)return!1;let n=U.branch[t],i=!!e?.[0]&&(n?.loader!==e[1]||Zn(_,h,m,g,n.server?.uses,r));return i&&(_=!0),i});if(t.some(Boolean)){try{p=await xr(n,t)}catch(t){let o=await $(t,{url:n,params:r,route:{id:e}});if(a&&Nn.has(a))throw o;return rr({error:o,url:n,route:i})}if(p.type===`redirect`)return p}}let v=p?.nodes,y=!1,b=u.map(async(e,t)=>{if(!e||f&&t===d)return;let a=U.branch[t],o=v?.[t];if((!o||o.type===`skip`)&&e[1]===a?.loader&&!Zn(y,h,m,g,a.universal?.uses,r))return a;if(y=!0,o?.type===`error`)throw new he(o.error);return Yn({loader:e[1],url:n,params:r,route:i,parent:async()=>{let e={};for(let n=0;n<t;n+=1)Object.assign(e,(await b[n])?.data);return e},server_data_node:Qn(o===void 0&&e[0]?{type:`skip`}:o??null,e[0]?a?.server:void 0)})});for(let e of b)e.catch(F);let x=[];for(let e=0;e<u.length;e+=1)if(u[e])try{x.push(await b[e])}catch(t){if(t instanceof ge)return{type:`redirect`,status:t.status,location:t.location};if(a&&Nn.has(a))throw await $(t,{params:r,url:n,route:{id:i.id}});let o;if(v?.includes(t))o=t.error;else if(t instanceof me)o=await $(t,{params:r,url:n,route:{id:i.id}});else{if(await w.check())return await gn(),await R(n);o=await $(t,{params:r,url:n,route:{id:i.id}})}return nr({i:e,branch:x,errors:s,error:o,url:n,params:r,route:i})}else x.push(void 0);return o?.type===`error`?nr({i:u.length,branch:x,errors:s,error:o.error,status:o.status,url:n,params:r,route:i}):Jn({url:n,params:r,branch:x,errors:s,error:null,route:i,status:o?.status,form:o?.type===`success`||o?.type===`failure`?o.data??null:t?void 0:null})}async function tr(e,t,n){for(let{error:r,idx:i}of ln(e,t,n))try{return t.slice(0,i).concat({node:await r(),loader:r,data:{},server:null,universal:null})}catch{continue}}async function nr({i:e,branch:t,errors:n,error:r,status:i,url:a,params:o,route:s}){let c=await tr(e,t,n);return c?Jn({url:a,params:o,branch:c,errors:n,error:r,status:i,route:s}):dr(a,{id:s.id},r)}async function rr({error:e,url:t,route:n}){let r={},i=null;if(B.server_loads[0]===0)try{let e=await xr(t,[!0]);if(e.type!==`data`||e.nodes[0]&&e.nodes[0].type!==`data`)throw 0;i=e.nodes[0]??null}catch(e){if(!(e instanceof me&&e.status===404)&&(t.origin!==wt||t.pathname!==location.pathname||On))return await R(t)}try{return Jn({url:t,params:r,branch:[await Yn({loader:vn,url:t,params:r,route:n,parent:()=>Promise.resolve({}),server_data_node:Qn(i)}),{node:await yn(),loader:yn,universal:null,server:null,data:null}],error:e,errors:[],route:null})}catch(e){if(e instanceof ge){await Un(new URL(e.location,location.href));return}let i=await B.get_error_template(),a=await $(e,{url:t,params:r,route:n}),o=String(a?.message??``).replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`),s=i({status:a.status,message:o}),c=new DOMParser().parseFromString(s,`text/html`);throw document.documentElement.replaceChild(document.adoptNode(c.head),document.head),document.documentElement.replaceChild(document.adoptNode(c.body),document.body),e}}async function ir(e){let t=e.href;if(Tn.has(t))return Tn.get(t);let n;try{let r=(async()=>{let t=await B.hooks.reroute({url:new URL(e),fetch:async(t,n)=>Xn(t,n,e).promise})??e;if(typeof t==`string`){let n=new URL(e);B.hash?n.hash=t:n.pathname=t,t=n}return t})();Tn.set(t,r),n=await r}catch{Tn.delete(t);return}return n}async function Z(e,t){if(e&&!Mt(e,T,B.hash)){let n=await ir(e);if(!n)return;let r=ar(n);for(let n of _n){let i=n.exec(r);if(i)return{id:or(e),invalidating:t,route:n,params:i,url:e}}}}function ar(e){return ue(B.hash?e.hash.replace(/^#/,``).replace(/[?#].+/,``):e.pathname.slice(T.length))||`/`}function or(e){return(B.hash?e.hash.replace(/^#/,``):e.pathname)+e.search}function sr({url:e,type:t,intent:n,delta:r,event:i,scroll:a,shallow:o=!1,target:s}){let c=!1,l=wr(U,n,e,t,a??null,o,s);l.navigation.type===`popstate`&&r!==void 0&&(l.navigation.delta=r),i!==void 0&&(l.navigation.event=i);let u={...l.navigation,cancel:()=>{c=!0,l.reject(Error(`navigation cancelled`))}};return W||En.forEach(e=>e(u)),c?null:l}async function cr({type:e,url:t,popped:n,reset:i=!0,replace_state:a,state:o={},persist_state:s=!1,redirect_count:c=0,nav_token:l={},accept:u=F,block:d=F,event:f,intent:p,action_result:m}){let h=Y,g=X;Y=X=l,p??=await Z(t,!1);let _=e===`enter`?wr(U,p,t,e):sr({url:t,type:e,delta:n?.delta,intent:p,scroll:n?.scroll,shallow:!!n?.shallow,target:n?.shallow??void 0,event:f});if(!_){d(),Y===l&&(Y=h),X===l&&(X=g);return}let v=K,y=q,b=Gt();u(),W=!0,kn&&_.navigation.type!==`enter`&&E(_.navigation);let x=p&&await er({...p,action_result:m});if(!x){let e=Mt(t,T,B.hash),n=e&&!1;if(e&&!n)return await R(t,a);x=await dr(t,{id:null},await $(new _e(404,`Not Found`,`Not found: ${t.pathname}${n?` (did you forget the hash?)`:``}`),{url:t,params:{},route:{id:null}}),a)}if(t=p?.url||t,Y!==l){_.reject(Error(`navigation aborted`));return}if(!x)return;if(x.type===`redirect`){if(c<20){V?.id===p?.id&&wn(),await cr({type:e,url:new URL(x.location,t),popped:n,reset:i,replace_state:a,state:o,persist_state:s,redirect_count:c+1,nav_token:l}),_.fulfil(void 0);return}if(x=await rr({error:await $(pe(()=>Ht({url:t.href})),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}}),!x)return}else if(x.props.page.status>=400&&await w.check())return await gn(),await R(t,a);if(zn(),kn&&!n&&(pn(v),Bn(y),a?Jt(v):Kt(v)),x.props.page.url.pathname!==t.pathname&&(t.pathname=x.props.page.url.pathname),n)o=n.state;else{let n=it(o);o=k(n);let r=+!a;e!==`enter`&&i&&(J+=1);let c={[j]:{historyIndex:K+=r,navigationIndex:q+=r,state:n,persistState:s,resetIndex:J}};(a?history.replaceState:history.pushState).call(history,c,``,t),mn(K,c[j]),a||hn(K,q)}let S=p&&V?.id===p.id?V.fork:null;V?.fork&&!S?wn():(V=null,Q={element:void 0,href:void 0}),x.props.page.state=o,x.props.page.shallow=n?.shallow??null;let ee;if(kn){await lr(_.navigation);let e=n?.shallow?{params:x.state.params,route:{id:x.state.route?.id??null},url:x.state.url}:_.navigation.to;U={...x.state,nav:{params:e.params,route:e.route,url:e.url}},x.props.page&&(x.props.page.url=t),Ft(i);let a=S&&await S;if(a){ee=a.commit();for(let e of dn)e();dn.clear()}else Er(x),ee=r().then(()=>{for(let e of dn)e();dn.clear()});An=!0}else await qn(x,bn,!1);await ur(_,l,t,n?.scroll,i,ee)&&(e===`popstate`&&Vn(q),qt(K,b),E(null))}async function lr(e){let t=(await Promise.all(Array.from(Dn,t=>t(e)))).filter(e=>typeof e==`function`);if(t.length>0){function e(){t.forEach(e=>H.delete(e))}t.push(e),t.forEach(e=>H.add(e))}}async function ur(e,t,n,r,i,a){return await a,Y===t?(zt(n,i,r),i&&document.activeElement===document.body&&Lt(n),W=!1,e.fulfil(void 0),e.navigation.to&&(e.navigation.to.scroll=Et()),H.forEach(t=>t(e.navigation)),!0):(e.reject(Error(`navigation aborted`)),!1)}async function dr(e,t,n,r){return e.origin===wt&&e.pathname===location.pathname&&!On?await rr({error:n,url:e,route:t}):await R(e,r)}var Q={element:void 0,href:void 0};function fr(){let e,t,n;function r(){clearTimeout(e),t?.removeEventListener(`mousemove`,i),t?.removeEventListener(`mouseleave`,r),t=void 0}function i(){clearTimeout(e),e=setTimeout(()=>{t&&s(t,M.hover)},20)}z.addEventListener(`mouseover`,e=>{if(!(e.target instanceof Element))return;let n=At(e.target,z);if(!n||n===t)return;r(),t=n;let a=N(n);a.preload_code<M.hover&&a.preload_data<M.hover||(n.addEventListener(`mousemove`,i),n.addEventListener(`mouseleave`,r,{once:!0}),i())});function a(e){if(e.defaultPrevented)return;let t=At(e.composedPath()[0],z);t&&s(t,M.tap)}z.addEventListener(`mousedown`,a),z.addEventListener(`touchstart`,a,{passive:!0});let o=new IntersectionObserver(e=>{for(let t of e)t.isIntersecting&&(Kn(new URL(t.target.href)),o.unobserve(t.target))},{threshold:0});async function s(e,t){let r=e===Q.element&&e?.href===Q.href&&t>=n;if(!e||r)return;let{url:i,external:a,download:o}=jt(e,T,B.hash);if(a||o)return;let s=N(e),c=i&&or(U.url)===or(i);if(!(s.reload||c)){if(t<=s.preload_data){Q={element:e,href:e.href},n=M.tap;let t=await Z(i,!1);if(!t)return;Wn(t).catch(F)}else t<=s.preload_code&&(Q={element:e,href:e.href},n=t,Kn(i))}}function c(){o.disconnect();for(let e of z.querySelectorAll(`a`)){let{url:t,external:n,download:r}=jt(e,T,B.hash);if(n||r)continue;let i=N(e);i.reload||(i.preload_code===M.viewport&&o.observe(e),i.preload_code===M.eager&&Kn(t))}}H.add(c),c()}async function $(e,t){if(e instanceof he)return e.body;let n;n=e instanceof me?{kind:`app`,error:e.body}:e instanceof _e?{kind:`framework`,error:{status:e.status,message:e.text}}:{kind:`unknown`,error:e};let r=n.kind===`unknown`?{status:500,message:`Internal Error`}:n.error,i={...n,event:t},a=await B.hooks.handleError(i);return{...r,...a}}function pr(e,t){h(()=>(e.add(t),()=>{e.delete(t)}))}function mr(e){pr(H,e)}async function hr(e,t){let n=new URL(Tt(e));n.origin!==wt&&Bt({caller:t,url:String(e)});let r=await Z(n,!1);return r||Vt({caller:t,url:String(e)}),r}async function gr(e,t={}){let n=t.replace??t.replaceState??!1,r=await hr(e,`goto`);return t.shallow?vr(r,t.state??{},{replace:n,persist_state:t.persistState??!1,reset:t.reset??!1},`goto`):Un(r.url,{...t,replace:n,refreshAll:t.refreshAll??t.invalidateAll},0,{},r)}function _r(e){if(typeof e==`function`)Cn.push(e);else{let{href:t}=new URL(e,location.href);Cn.push(e=>e.href===t)}}async function vr(e,t,{replace:n,persist_state:i,reset:a},o){let s=e.url,c=Gt(),l=o===`goto`?sr({url:s,type:`goto`,intent:e,shallow:!0}):void 0;if(!l&&o===`goto`)return;let u={};l&&(Y=X=u,W=!0,E(l.navigation)),n?Jt(K):(pn(K),Kt(K)),a&&(J+=1);let d=it(t);t=k(d);let f={[j]:{historyIndex:K+=+!n,navigationIndex:q,pageUrl:ce.url.href,state:d,persistState:i,resetIndex:J}};(n?history.replaceState:history.pushState).call(history,f,``,s),mn(K,f[j]),n||(An=!0,hn(K,q)),l&&await lr(l.navigation),Ft(a),oe({state:t,shallow:{params:e?.params??null,route:e?{id:e.route.id}:null,url:s}}),(!l||await ur(l,u,s,null,a,r()))&&(qt(K,c),l&&E(null))}function yr(){history.scrollRestoration=`manual`,addEventListener(`beforeunload`,e=>{let t=!1;if(Hn(),!W){let e=wr(U,void 0,null,`leave`),n={...e.navigation,cancel:()=>{t=!0,e.reject(Error(`navigation cancelled`))}};En.forEach(e=>e(n))}t&&(e.preventDefault(),e.returnValue=``)}),addEventListener(`visibilitychange`,()=>{document.visibilityState===`hidden`?Hn():w.check()}),addEventListener(`focus`,()=>{w.check()}),navigator.connection?.saveData||fr(),z.addEventListener(`click`,async t=>{if(t.button||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;let n=At(t.composedPath()[0],z);if(!n)return;let{url:r,external:i,target:a,download:o}=jt(n,T,B.hash);if(!r)return;if(a===`_parent`||a===`_top`){if(window.parent!==window)return}else if(a&&a!==`_self`)return;let s=N(n);if(!(n instanceof SVGAElement)&&r.protocol!==location.protocol&&r.protocol!==`https:`&&r.protocol!==`http:`||o)return;let[c,l]=(B.hash?r.hash.replace(/^#/,``):r.href).split(`#`),u=c===se(location);if(i||s.reload&&(!u||!l)){sr({url:r,type:`link`,event:t})?W=!0:t.preventDefault();return}if(l!==void 0&&u){let[,i]=U.url.href.split(`#`);if(i===l){if(t.preventDefault(),l===``||l===`top`&&n.ownerDocument.getElementById(`top`)===null)scrollTo({top:0});else{let e=n.ownerDocument.getElementById(decodeURIComponent(l));e&&(e.scrollIntoView(),e.focus())}return}if(G={...Mn(),resetIndex:J+ +!!s.reset},pn(K),e(r),!s.replace_state)return;G=null}t.preventDefault(),await new Promise(e=>{requestAnimationFrame(()=>{setTimeout(e,0)}),setTimeout(e,100)});let d=r.href!==location.href;await Un(r,{type:`link`,reset:s.reset,replace:s.replace_state??!d,refreshAll:!d,event:t})}),z.addEventListener(`submit`,e=>{if(e.defaultPrevented)return;let t=HTMLFormElement.prototype.cloneNode.call(e.target),n=e.submitter;if((n?.formTarget||t.target)===`_blank`||(n?.formMethod||t.method)!==`get`)return;let r=new URL(n?.hasAttribute(`formaction`)&&n?.formAction||t.action);if(Mt(r,T,!1))return;let i=e.target,a=N(i);if(a.reload)return;e.preventDefault(),e.stopPropagation();let o=new FormData(i,n);r.search=new URLSearchParams(o).toString(),cr({type:`form`,url:r,reset:a.reset,replace_state:a.replace_state??r.href===location.href,event:e})}),addEventListener(`popstate`,async t=>{let n=Mn(t.state);if(n?.historyIndex){let r=n.historyIndex,i=I[K];if(r===K)return;Y=X={};let a=r-K,o=n.resetIndex,s=o!==(i?.resetIndex??J),c=I[r]?.scroll,l=k(n.state),u=new URL(n.pageUrl??location.href),d=n.navigationIndex,f=U.url&&(location.href+U.url.href).includes(`#`)?se(location)===se(U.url):!1,p=d===q&&(An&&(n.pageUrl===void 0||n.pageUrl===location.href)||f),m=n.pageUrl?new URL(location.href):null,h=K,g=q,_=J;pn(h),p||Bn(g),Kt(h),K=r,q=d,J=o;let v=Y,y=m?await Z(m,!1):void 0;if(Y!==v)return;let b=m?{params:y?.params??null,route:y?{id:y.route.id}:null,url:m}:null;if(p){Ft(s),oe({state:l,shallow:b}),e(u),s&&c&&scrollTo(c.x,c.y),qt(K,Gt()),W=!1,E(null);return}await cr({type:`popstate`,url:u,reset:s,popped:{state:l,scroll:c,delta:a,shallow:b},block:()=>{K=h,q=g,J=_,history.go(-a)},nav_token:v,event:t})}else G||(e(new URL(location.href)),B.hash&&location.reload())}),addEventListener(`hashchange`,()=>{if(G){let e=G;G=null,J=e.resetIndex,history.replaceState({...history.state,[j]:{...e,historyIndex:++K,navigationIndex:q}},``,location.href),mn(K,e)}});for(let e of document.querySelectorAll(`link`))un.has(e.rel)&&(e.href=e.href);addEventListener(`pageshow`,e=>{if(e.persisted){E(null);let e=I[K]?.scroll;e&&scrollTo(e.x,e.y)}});function e(e){U.url=e,oe({url:e})}}async function br(e,{status:t,error:n,node_ids:r,params:i,route:a,server_route:o,data:s,form:c}){On=!0;let l=new URL(location.href),u;({params:i={},route:a={id:null}}=await Z(l,!1)||{}),u=_n.find(({id:e})=>e===a.id);let d,f=!0;try{let e=r.map(async(t,n)=>{let r=s[n];return r?.uses&&(r.uses=Cr(r.uses)),Yn({loader:B.nodes[t],url:l,params:i,route:a,parent:async()=>{let t={};for(let r=0;r<n;r+=1)Object.assign(t,(await e[r]).data);return t},server_data_node:Qn(r)})}),o=await Promise.all(e);if(u){let e=u.layouts;for(let t=0;t<e.length;t++)e[t]||o.splice(t,0,void 0)}d=await Jn({url:l,params:i,branch:o,status:t,error:n,errors:u?.errors,form:c,route:u??null})}catch(t){if(t instanceof ge)return await R(new URL(t.location,location.href));d=await rr({error:await $(t,{url:l,params:i,route:a}),url:l,route:a}),e.textContent=``,f=!1}if(d){if(d.props.page){let e=Mn();d.props.page.state=e?.persistState?k(e.state):{}}await qn(d,e,f)}}async function xr(e,t){for(let t of e.searchParams.keys())t.startsWith(`x-sveltekit-`)&&Ut({key:t});let n=new URL(e);n.pathname=$t(e.pathname),e.pathname.endsWith(`/`)&&n.searchParams.append(ut,`1`),n.searchParams.append(lt,t.map(e=>e?`1`:`0`).join(``));let r=await(0,window.fetch)(n.href,{});if(de(r.headers.get(`x-sveltekit-version`)),!r.ok){let e={status:r.status,message:`Internal Error`};throw r.headers.get(`content-type`)?.includes(`application/json`)?e={status:r.status,...await r.json()}:r.status===404&&(e.message=`Not Found`),new he(e)}return new Promise((e,t)=>{Sr(e,r).catch(t)})}async function Sr(e,t){let n=t.body.getReader(),r=new Map;function i(e){return et(e,{...B.decoders,Promise:e=>new Promise((t,n)=>{r.set(e,{fulfil:t,reject:n})})})}for await(let t of tn(n)){if(t.type===`redirect`)return e(t);if(t.type===`data`)t.nodes?.forEach(e=>{e?.type===`data`&&(e.uses=Cr(e.uses),e.data=i(e.data))}),e(t);else if(t.type===`chunk`){let{id:e,data:n,error:a}=t,o=r.get(e);r.delete(e),a?o.reject(i(a)):o.fulfil(i(n))}}}function Cr(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}function wr(e,t,n,r,i=null,a=!1,o){let s,c,l=new Promise((e,t)=>{s=e,c=t});return l.catch(F),{navigation:{from:r===`enter`?null:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:Et()},to:n&&{params:o?o.params:t?.params??null,route:{id:o?o.route?.id??null:t?.route?.id??null},url:o?.url??n,scroll:i},willUnload:!a&&!t,type:r,shallow:a,complete:l},fulfil:s,reject:c}}function Tr(e){let t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function Er(e){oe(e.props.page),L.tree.data=e.props.tree.data,L.tree.child=e.props.tree.child,`form`in e.props&&(L.form=e.props.form),`error`in e.props&&(L.error=e.props.error)}export{In as n,Pt as r,gr as t};
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.CQ_XophD.js","../chunks/CcBdu3S8.js","../chunks/Dg9MaatX.js","./payload.DSmR2FwN.js","../chunks/DSHrAZZ8.js","../chunks/DbiAGPgw.js","../assets/0.CeDGT9MW.css","../nodes/1.Bd-KoKuj.js","../nodes/2.BTJ1n3E7.js","../chunks/DvmLiMpQ.js","../assets/2.DJfIfRJB.css","../nodes/3.CsdEJLWJ.js","../nodes/4.CXVi2Rvi.js"])))=>i.map(i=>d[i]);
2
+ import{t as e}from"../chunks/DclECHGd.js";var t={},n=[()=>e(()=>import(`../nodes/0.CQ_XophD.js`),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),()=>e(()=>import(`../nodes/1.Bd-KoKuj.js`),__vite__mapDeps([7,1,2,3,5]),import.meta.url),()=>e(()=>import(`../nodes/2.BTJ1n3E7.js`),__vite__mapDeps([8,1,2,3,9,4,5,10]),import.meta.url),()=>e(()=>import(`../nodes/3.CsdEJLWJ.js`),__vite__mapDeps([11,1]),import.meta.url),()=>e(()=>import(`../nodes/4.CXVi2Rvi.js`),__vite__mapDeps([12,1]),import.meta.url)],r=[0],i={"/":[-3],"/settings":[3],"/setup":[4]},a={handleError:(({kind:e,error:t})=>{e===`unknown`&&console.error(t)}),reroute:(()=>{}),transport:{}},o=Object.fromEntries(Object.entries(a.transport).map(([e,t])=>[e,t.decode])),s=Object.fromEntries(Object.entries(a.transport).map(([e,t])=>[e,t.encode])),c=!1,l=(e,t)=>o[e](t),u=()=>e(()=>import(`../chunks/Bjy-W4x2.js`).then(e=>e.default),[],import.meta.url);export{l as decode,o as decoders,i as dictionary,s as encoders,u as get_error_template,c as hash,a as hooks,t as matchers,n as nodes,r as server_loads};
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../chunks/BaD2EyfF.js","../chunks/DvmLiMpQ.js","./payload.DSmR2FwN.js","../chunks/CcBdu3S8.js","../chunks/Dg9MaatX.js"])))=>i.map(i=>d[i]);
2
+ import{set_payload as e}from"./payload.DSmR2FwN.js";import{t}from"../chunks/DclECHGd.js";var n;function r(r){e(r),n??=t(()=>import(`../chunks/BaD2EyfF.js`),__vite__mapDeps([0,1,2,3,4]),import.meta.url)}async function i(...e){return(await n).start(...e)}async function a(...e){return(await n).load_css(...e)}export{r as init,a as load_css,i as start};
@@ -0,0 +1 @@
1
+ import{B as e,C as t,H as n,M as r,N as i,P as a,R as o,S as s,T as c,V as l,b as u,c as d,f,g as p,i as m,j as h,k as g,o as _,p as v,r as y,s as b,u as x,v as S,z as C}from"../chunks/CcBdu3S8.js";import{n as w,o as T}from"../chunks/Dg9MaatX.js";import{n as E,r as D}from"../chunks/DSHrAZZ8.js";import"../chunks/DbiAGPgw.js";var O=`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='44'%20height='44'%20viewBox='0%200%2044%2044'%3e%3ctitle%3eSpeech%20Capture%3c/title%3e%3crect%20width='44'%20height='44'%20rx='14'%20fill='%23415f91'/%3e%3cpath%20d='M4%2010v4M8%206v12M12%203v18M16%208v8M20%2011v2'%20transform='translate(10%2010)'%20fill='none'%20stroke='%23fff'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e`,k=new URL(`../assets/material-symbols-outlined-latin-400-normal.BhEvR8fk.woff2`,import.meta.url).href,A=u(`<li><span aria-hidden="true"></span> <span aria-hidden="true" class="chip-label svelte-19wvxlf"> </span></li>`),j=u(`<ul aria-label="Bridge status" class="svelte-19wvxlf"></ul> <span class="sr-only svelte-19wvxlf" role="status"> </span>`,1);function M(e,t){var o=j(),s=r(o);x(s,21,()=>t.chips,e=>e.id,(e,t)=>{var r=A();let o;var s=h(r),l=a(s,2),u=i(l,!0);n(r),g(()=>{o=_(r,1,b(c(t).tone),`svelte-19wvxlf`,o,{down:c(t).down}),y(r,`aria-label`,c(t).description),y(r,`title`,c(t).text),_(s,1,`dot ${c(t).dot??``}`,`svelte-19wvxlf`),p(u,c(t).text)}),S(e,r)}),n(s);var l=a(s,2),u=i(l,!0);g(()=>p(u,t.announcement)),S(e,o)}var N=u(`<md-icon-button><md-icon>refresh</md-icon></md-icon-button>`,2);function P(e,r){var i=N();m(i,`title`,`Refresh status`),_(i,1,`svelte-5q7qd7`);var a=h(i);let o;n(i),g(()=>o=_(a,1,`svelte-5q7qd7`,null,o,{spin:r.loading})),t(`click`,i,function(...e){r.onRetry?.apply(this,e)}),S(e,i)}s([`click`]);var F=`24px "Material Symbols Outlined"`;async function I(){try{await document.fonts.load(F)}catch{}document.documentElement.setAttribute(`data-icons-ready`,``)}function L(e,t){if(e===null)return[R(`playwright`,`Playwright`),R(`mcp`,`MCP`),R(`session`,`Session`)];let n=[z(`playwright`,`Playwright`,e.playwright),z(`mcp`,`MCP`,e.mcp),B(e)];return t?n:n.map(e=>({...e,tone:`neutral`,down:!0}))}function R(e,t){return{id:e,text:t,tone:`neutral`,dot:`hollow`,description:`${t}, state unknown`,down:!0}}function z(e,t,n){let r=`${t} ${n.version}`;switch(n.state){case`running`:return{id:e,text:r,tone:`ok`,dot:`filled`,description:`${r}, running`};case`crashed`:case`failed`:return{id:e,text:`${r} · ${n.state}`,tone:`warning`,dot:`filled`,description:`${r}, ${n.state}`};case`starting`:return{id:e,text:r,tone:`neutral`,dot:`hollow`,description:`${r}, starting`,down:!0};case`stopped`:return{id:e,text:r,tone:`neutral`,dot:`hollow`,description:`${r}, stopped`,down:!0}}}function B({session:e}){if(e.current===null)return{id:`session`,text:`No session`,tone:`neutral`,dot:`hollow`,description:`No session is running`};let t=`Session #${e.current.id}`;return{id:`session`,text:t,tone:`ok`,dot:`filled`,description:`${t}, live`}}function V(e,t){return t?e.filter(e=>e.tone===`error`||e.tone===`warning`).map(e=>`${e.description}.`).join(` `):`Bridge unreachable.`}var H=u(`<!> <!>`,1);function U(t,n){e(n,!0);let i=o(()=>w.data.status),s=o(()=>E.status??c(i)),l=o(()=>L(c(s),E.reachable));f(()=>E.init(c(i)));var u=H(),d=r(u);{let e=o(()=>V(c(l),E.reachable));M(d,{get chips(){return c(l)},get announcement(){return c(e)}})}P(a(d,2),{get loading(){return E.loading},onRetry:()=>void E.retry()}),S(t,u),C()}var W=u(`<header class="svelte-4j9s4f"><div class="logo-slot svelte-4j9s4f"><div class="logo svelte-4j9s4f"><svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 10v4M8 6v12M12 3v18M16 8v8M20 11v2"></path></svg></div></div> <div class="title svelte-4j9s4f"><span class="name svelte-4j9s4f">Speech Capture</span> <span class="meta svelte-4j9s4f"> </span></div> <!></header>`);function G(e,t){var r=W(),o=a(h(r),2),s=a(h(o),2),c=i(s,!0);n(o),U(a(o,2),{}),n(r),g(()=>p(c,t.host)),S(e,r)}var K=e=>e.length>1?e.replace(/\/+$/,``):e;function q(e,t){let n=K(e.href),r=K(t);return e.exact?r===n:r===n||r.startsWith(`${n}/`)}var J=u(`<li><a class="svelte-sxtjmn"><span><md-icon> </md-icon></span> <span class="label svelte-sxtjmn"> </span></a></li>`,2),Y=u(`<nav aria-label="Pages" class="svelte-sxtjmn"><ul class="svelte-sxtjmn"></ul></nav>`);function X(t,r){e(r,!0);var s=Y(),l=h(s);x(l,21,()=>r.items,e=>e.href,(e,t)=>{let s=o(()=>q(c(t),r.currentPath));var l=J(),u=h(l),d=h(u);let f;var m=h(d),v=i(m,!0);n(d);var b=a(d,2),x=i(b,!0);n(u),n(l),g(()=>{y(u,`href`,c(t).href),y(u,`aria-current`,c(s)?`page`:void 0),f=_(d,1,`indicator svelte-sxtjmn`,null,f,{current:c(s)}),p(v,c(t).icon),p(x,c(t).label)}),S(e,l)}),n(l),n(s),S(t,s),C()}var Z=u(`<link rel="icon"/> <link rel="preload" as="font" type="font/woff2" crossorigin="anonymous"/> <meta name="color-scheme" content="light dark"/>`,1),Q=u(`<div class="app svelte-12qhfyh"><!> <div class="body svelte-12qhfyh"><!> <main class="svelte-12qhfyh"><!></main></div></div>`);function $(t,i){e(i,!0);let o=[{href:T(`/`),label:`Monitor`,icon:`monitor`,exact:!0},{href:T(`/settings`),label:`Settings`,icon:`settings`},{href:T(`/setup`),label:`Setup`,icon:`build`}];f(()=>{D.init(),I()});var s=Q();d(`12qhfyh`,e=>{var t=Z(),n=r(t),i=a(n,2);l(2),g(()=>{y(n,`href`,O),y(i,`href`,k)}),S(e,t)});var c=h(s);G(c,{get host(){return w.url.host}});var u=a(c,2),p=h(u);X(p,{get items(){return o},get currentPath(){return w.url.pathname}});var m=a(p,2),_=h(m);v(_,()=>i.children),n(m),n(u),n(s),S(t,s),C()}export{$ as component};
@@ -0,0 +1 @@
1
+ import{B as e,M as t,N as n,P as r,b as i,g as a,k as o,v as s,z as c}from"../chunks/CcBdu3S8.js";import{n as l}from"../chunks/Dg9MaatX.js";import"../chunks/DbiAGPgw.js";var u=i(`<h1> </h1> <p> </p>`,1);function d(i,d){e(d,!0);var f=u(),p=t(f),m=n(p,!0),h=r(p,2),g=n(h,!0);o(()=>{a(m,l.status),a(g,l.error?.message)}),s(i,f),c()}export{d as component};