screenreader-speech-capture 0.9.0 → 0.10.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 (240) hide show
  1. package/README.md +17 -0
  2. package/dist/cli.mjs +1 -1
  3. package/dist/ui/adapter-node.js +1 -1
  4. package/dist/ui/client/ui/_app/immutable/assets/{0.CnPCLsGJ.css → 0.DH3e8XLu.css} +1 -1
  5. package/dist/ui/client/ui/_app/immutable/assets/0.DH3e8XLu.css.br +0 -0
  6. package/dist/ui/client/ui/_app/immutable/assets/0.DH3e8XLu.css.gz +0 -0
  7. package/dist/ui/client/ui/_app/immutable/assets/2.DSVNnDlO.css +1 -0
  8. package/dist/ui/client/ui/_app/immutable/assets/2.DSVNnDlO.css.br +3 -0
  9. package/dist/ui/client/ui/_app/immutable/assets/2.DSVNnDlO.css.gz +0 -0
  10. package/dist/ui/client/ui/_app/immutable/assets/4.DIE1qdmp.css +1 -0
  11. package/dist/ui/client/ui/_app/immutable/assets/4.DIE1qdmp.css.br +0 -0
  12. package/dist/ui/client/ui/_app/immutable/assets/4.DIE1qdmp.css.gz +0 -0
  13. package/dist/ui/client/ui/_app/immutable/assets/5.DCMlxwLh.css +1 -0
  14. package/dist/ui/client/ui/_app/immutable/assets/5.DCMlxwLh.css.br +0 -0
  15. package/dist/ui/client/ui/_app/immutable/assets/5.DCMlxwLh.css.gz +0 -0
  16. package/dist/ui/client/ui/_app/immutable/assets/6.C0Nhvs_m.css +1 -0
  17. package/dist/ui/client/ui/_app/immutable/assets/6.C0Nhvs_m.css.br +0 -0
  18. package/dist/ui/client/ui/_app/immutable/assets/6.C0Nhvs_m.css.gz +0 -0
  19. package/dist/ui/client/ui/_app/immutable/assets/ExternalLink.CYXazpKA.css +1 -0
  20. package/dist/ui/client/ui/_app/immutable/assets/ExternalLink.CYXazpKA.css.br +0 -0
  21. package/dist/ui/client/ui/_app/immutable/assets/ExternalLink.CYXazpKA.css.gz +0 -0
  22. package/dist/ui/client/ui/_app/immutable/assets/Pane.Co7gxzxw.css +1 -0
  23. package/dist/ui/client/ui/_app/immutable/assets/Pane.Co7gxzxw.css.br +0 -0
  24. package/dist/ui/client/ui/_app/immutable/assets/Pane.Co7gxzxw.css.gz +0 -0
  25. package/dist/ui/client/ui/_app/immutable/chunks/{Cba3ZwaX.js → 4R6qUa-I.js} +12 -13
  26. package/dist/ui/client/ui/_app/immutable/chunks/4R6qUa-I.js.br +0 -0
  27. package/dist/ui/client/ui/_app/immutable/chunks/4R6qUa-I.js.gz +0 -0
  28. package/dist/ui/client/ui/_app/immutable/chunks/BC9D66S_.js +2 -0
  29. package/dist/ui/client/ui/_app/immutable/chunks/BC9D66S_.js.br +0 -0
  30. package/dist/ui/client/ui/_app/immutable/chunks/BC9D66S_.js.gz +0 -0
  31. package/dist/ui/client/ui/_app/immutable/chunks/BCiTXg3M.js +138 -0
  32. package/dist/ui/client/ui/_app/immutable/chunks/BCiTXg3M.js.br +0 -0
  33. package/dist/ui/client/ui/_app/immutable/chunks/BCiTXg3M.js.gz +0 -0
  34. package/dist/ui/client/ui/_app/immutable/chunks/BGgW64O2.js +1 -0
  35. package/dist/ui/client/ui/_app/immutable/chunks/BGgW64O2.js.br +2 -0
  36. package/dist/ui/client/ui/_app/immutable/chunks/BGgW64O2.js.gz +0 -0
  37. package/dist/ui/client/ui/_app/immutable/chunks/Bvlvl8SZ.js +1 -0
  38. package/dist/ui/client/ui/_app/immutable/chunks/Bvlvl8SZ.js.br +0 -0
  39. package/dist/ui/client/ui/_app/immutable/chunks/Bvlvl8SZ.js.gz +0 -0
  40. package/dist/ui/client/ui/_app/immutable/chunks/ByQTEKOy.js +3 -0
  41. package/dist/ui/client/ui/_app/immutable/chunks/ByQTEKOy.js.br +0 -0
  42. package/dist/ui/client/ui/_app/immutable/chunks/ByQTEKOy.js.gz +0 -0
  43. package/dist/ui/client/ui/_app/immutable/chunks/C-UVUBR9.js +3 -0
  44. package/dist/ui/client/ui/_app/immutable/chunks/C-UVUBR9.js.br +0 -0
  45. package/dist/ui/client/ui/_app/immutable/chunks/C-UVUBR9.js.gz +0 -0
  46. package/dist/ui/client/ui/_app/immutable/chunks/C1Z3Vlq6.js +3 -0
  47. package/dist/ui/client/ui/_app/immutable/chunks/C1Z3Vlq6.js.br +11 -0
  48. package/dist/ui/client/ui/_app/immutable/chunks/C1Z3Vlq6.js.gz +0 -0
  49. package/dist/ui/client/ui/_app/immutable/chunks/CSj31z2g.js +1 -0
  50. package/dist/ui/client/ui/_app/immutable/chunks/CSj31z2g.js.br +2 -0
  51. package/dist/ui/client/ui/_app/immutable/chunks/CSj31z2g.js.gz +0 -0
  52. package/dist/ui/client/ui/_app/immutable/chunks/D7Lf2nU5.js +48 -0
  53. package/dist/ui/client/ui/_app/immutable/chunks/D7Lf2nU5.js.br +0 -0
  54. package/dist/ui/client/ui/_app/immutable/chunks/D7Lf2nU5.js.gz +0 -0
  55. package/dist/ui/client/ui/_app/immutable/chunks/D8AQra8V.js +3 -0
  56. package/dist/ui/client/ui/_app/immutable/chunks/D8AQra8V.js.br +0 -0
  57. package/dist/ui/client/ui/_app/immutable/chunks/D8AQra8V.js.gz +0 -0
  58. package/dist/ui/client/ui/_app/immutable/chunks/DLBNPxq0.js +1 -0
  59. package/dist/ui/client/ui/_app/immutable/chunks/DLBNPxq0.js.br +3 -0
  60. package/dist/ui/client/ui/_app/immutable/chunks/DLBNPxq0.js.gz +0 -0
  61. package/dist/ui/client/ui/_app/immutable/chunks/DMXmTTni.js +1 -0
  62. package/dist/ui/client/ui/_app/immutable/chunks/DMXmTTni.js.br +0 -0
  63. package/dist/ui/client/ui/_app/immutable/chunks/DMXmTTni.js.gz +0 -0
  64. package/dist/ui/client/ui/_app/immutable/chunks/DVjfBgOA.js +1 -0
  65. package/dist/ui/client/ui/_app/immutable/chunks/DVjfBgOA.js.br +0 -0
  66. package/dist/ui/client/ui/_app/immutable/chunks/DVjfBgOA.js.gz +0 -0
  67. package/dist/ui/client/ui/_app/immutable/chunks/EBfbaSFC.js +40 -0
  68. package/dist/ui/client/ui/_app/immutable/chunks/EBfbaSFC.js.br +0 -0
  69. package/dist/ui/client/ui/_app/immutable/chunks/EBfbaSFC.js.gz +0 -0
  70. package/dist/ui/client/ui/_app/immutable/chunks/HjKxdHgL.js +4 -0
  71. package/dist/ui/client/ui/_app/immutable/chunks/HjKxdHgL.js.br +0 -0
  72. package/dist/ui/client/ui/_app/immutable/chunks/HjKxdHgL.js.gz +0 -0
  73. package/dist/ui/client/ui/_app/immutable/chunks/y62iQtQV.js +1 -0
  74. package/dist/ui/client/ui/_app/immutable/chunks/y62iQtQV.js.br +1 -0
  75. package/dist/ui/client/ui/_app/immutable/chunks/y62iQtQV.js.gz +0 -0
  76. package/dist/ui/client/ui/_app/immutable/entry/app.BRCyy_aP.js +2 -0
  77. package/dist/ui/client/ui/_app/immutable/entry/app.BRCyy_aP.js.br +0 -0
  78. package/dist/ui/client/ui/_app/immutable/entry/app.BRCyy_aP.js.gz +0 -0
  79. package/dist/ui/client/ui/_app/immutable/entry/start.ujo8oI9U.js +2 -0
  80. package/dist/ui/client/ui/_app/immutable/entry/start.ujo8oI9U.js.br +5 -0
  81. package/dist/ui/client/ui/_app/immutable/entry/start.ujo8oI9U.js.gz +0 -0
  82. package/dist/ui/client/ui/_app/immutable/nodes/0.CYE8I_uA.js +1 -0
  83. package/dist/ui/client/ui/_app/immutable/nodes/0.CYE8I_uA.js.br +0 -0
  84. package/dist/ui/client/ui/_app/immutable/nodes/0.CYE8I_uA.js.gz +0 -0
  85. package/dist/ui/client/ui/_app/immutable/nodes/1.DTsysZRk.js +1 -0
  86. package/dist/ui/client/ui/_app/immutable/nodes/1.DTsysZRk.js.br +0 -0
  87. package/dist/ui/client/ui/_app/immutable/nodes/1.DTsysZRk.js.gz +0 -0
  88. package/dist/ui/client/ui/_app/immutable/nodes/2.hev1nfuM.js +1 -0
  89. package/dist/ui/client/ui/_app/immutable/nodes/2.hev1nfuM.js.br +0 -0
  90. package/dist/ui/client/ui/_app/immutable/nodes/2.hev1nfuM.js.gz +0 -0
  91. package/dist/ui/client/ui/_app/immutable/nodes/3.CApflji6.js +5 -0
  92. package/dist/ui/client/ui/_app/immutable/nodes/3.CApflji6.js.br +0 -0
  93. package/dist/ui/client/ui/_app/immutable/nodes/3.CApflji6.js.gz +0 -0
  94. package/dist/ui/client/ui/_app/immutable/nodes/4.BkefkGQL.js +160 -0
  95. package/dist/ui/client/ui/_app/immutable/nodes/4.BkefkGQL.js.br +0 -0
  96. package/dist/ui/client/ui/_app/immutable/nodes/4.BkefkGQL.js.gz +0 -0
  97. package/dist/ui/client/ui/_app/immutable/nodes/5.CDYh05RH.js +6 -0
  98. package/dist/ui/client/ui/_app/immutable/nodes/5.CDYh05RH.js.br +0 -0
  99. package/dist/ui/client/ui/_app/immutable/nodes/5.CDYh05RH.js.gz +0 -0
  100. package/dist/ui/client/ui/_app/immutable/nodes/6.DwISzDQO.js +6 -0
  101. package/dist/ui/client/ui/_app/immutable/nodes/6.DwISzDQO.js.br +0 -0
  102. package/dist/ui/client/ui/_app/immutable/nodes/6.DwISzDQO.js.gz +0 -0
  103. package/dist/ui/client/ui/_app/version.json +1 -1
  104. package/dist/ui/client/ui/_app/version.json.br +0 -0
  105. package/dist/ui/client/ui/_app/version.json.gz +0 -0
  106. package/dist/ui/server/.vite/manifest.json +193 -10
  107. package/dist/ui/server/_app/immutable/assets/ExternalLink.CYXazpKA.css +1 -0
  108. package/dist/ui/server/_app/immutable/assets/Pane.Co7gxzxw.css +1 -0
  109. package/dist/ui/server/_app/immutable/assets/{_layout.CnPCLsGJ.css → _layout.DH3e8XLu.css} +1 -1
  110. package/dist/ui/server/_app/immutable/assets/_layout.DSVNnDlO.css +1 -0
  111. package/dist/ui/server/_app/immutable/assets/_page.C0Nhvs_m.css +1 -0
  112. package/dist/ui/server/_app/immutable/assets/_page.DCMlxwLh.css +1 -0
  113. package/dist/ui/server/_app/immutable/assets/_page.DIE1qdmp.css +1 -0
  114. package/dist/ui/server/chunks/ExternalLink.js +12 -0
  115. package/dist/ui/server/chunks/ExternalLink.js.map +1 -0
  116. package/dist/ui/server/chunks/Pane.js +13 -0
  117. package/dist/ui/server/chunks/Pane.js.map +1 -0
  118. package/dist/ui/server/chunks/composition.js +462 -120
  119. package/dist/ui/server/chunks/composition.js.map +1 -1
  120. package/dist/ui/server/chunks/config-state.js +21 -0
  121. package/dist/ui/server/chunks/config-state.js.map +1 -0
  122. package/dist/ui/server/chunks/dialog.js +592 -0
  123. package/dist/ui/server/chunks/dialog.js.map +1 -0
  124. package/dist/ui/server/chunks/filled-button.js +116 -0
  125. package/dist/ui/server/chunks/filled-button.js.map +1 -0
  126. package/dist/ui/server/chunks/icon-button.js +2 -46
  127. package/dist/ui/server/chunks/icon-button.js.map +1 -1
  128. package/dist/ui/server/chunks/icon.js +49 -0
  129. package/dist/ui/server/chunks/icon.js.map +1 -0
  130. package/dist/ui/server/chunks/index-server.js +5 -1
  131. package/dist/ui/server/chunks/index-server.js.map +1 -0
  132. package/dist/ui/server/chunks/instance.js +5 -5
  133. package/dist/ui/server/chunks/internal.js +1 -1
  134. package/dist/ui/server/chunks/navigation.js +9 -13
  135. package/dist/ui/server/chunks/navigation.js.map +1 -1
  136. package/dist/ui/server/chunks/navigation2.js +15 -0
  137. package/dist/ui/server/chunks/navigation2.js.map +1 -0
  138. package/dist/ui/server/chunks/outlined-text-field.js +11 -398
  139. package/dist/ui/server/chunks/outlined-text-field.js.map +1 -1
  140. package/dist/ui/server/chunks/paths.js +2 -0
  141. package/dist/ui/server/chunks/redispatch-event.js +91 -0
  142. package/dist/ui/server/chunks/redispatch-event.js.map +1 -0
  143. package/dist/ui/server/chunks/server2.js +11 -1
  144. package/dist/ui/server/chunks/server2.js.map +1 -1
  145. package/dist/ui/server/chunks/src.js +112 -3
  146. package/dist/ui/server/chunks/src.js.map +1 -1
  147. package/dist/ui/server/chunks/state.js +1 -1
  148. package/dist/ui/server/chunks/static-html.js +38 -0
  149. package/dist/ui/server/chunks/static-html.js.map +1 -0
  150. package/dist/ui/server/chunks/text-button.js +307 -0
  151. package/dist/ui/server/chunks/text-button.js.map +1 -0
  152. package/dist/ui/server/entries/endpoints/api/config/_server.ts.js +4 -17
  153. package/dist/ui/server/entries/endpoints/api/config/_server.ts.js.map +1 -1
  154. package/dist/ui/server/entries/endpoints/api/input/keys/_server.ts.js +14 -0
  155. package/dist/ui/server/entries/endpoints/api/input/keys/_server.ts.js.map +1 -0
  156. package/dist/ui/server/entries/endpoints/api/markers/_server.ts.js +1 -1
  157. package/dist/ui/server/entries/endpoints/api/speech/_server.ts.js +1 -1
  158. package/dist/ui/server/entries/fallbacks/error.svelte.js +1 -1
  159. package/dist/ui/server/entries/hooks.server.js +4 -1
  160. package/dist/ui/server/entries/hooks.server.js.map +1 -1
  161. package/dist/ui/server/entries/pages/_layout.svelte.js +5 -10
  162. package/dist/ui/server/entries/pages/_layout.svelte.js.map +1 -1
  163. package/dist/ui/server/entries/pages/_page.svelte.js +15 -597
  164. package/dist/ui/server/entries/pages/_page.svelte.js.map +1 -1
  165. package/dist/ui/server/entries/pages/settings/_page.server.ts.js +12 -0
  166. package/dist/ui/server/entries/pages/settings/_page.server.ts.js.map +1 -0
  167. package/dist/ui/server/entries/pages/settings/_page.svelte.js +3470 -70
  168. package/dist/ui/server/entries/pages/settings/_page.svelte.js.map +1 -1
  169. package/dist/ui/server/entries/pages/setup/_layout.svelte.js +51 -0
  170. package/dist/ui/server/entries/pages/setup/_layout.svelte.js.map +1 -0
  171. package/dist/ui/server/entries/pages/setup/_page.svelte.js +225 -3
  172. package/dist/ui/server/entries/pages/setup/_page.svelte.js.map +1 -1
  173. package/dist/ui/server/entries/pages/setup/instructions/_page.server.ts.js +12 -0
  174. package/dist/ui/server/entries/pages/setup/instructions/_page.server.ts.js.map +1 -0
  175. package/dist/ui/server/entries/pages/setup/instructions/_page.svelte.js +271 -0
  176. package/dist/ui/server/entries/pages/setup/instructions/_page.svelte.js.map +1 -0
  177. package/dist/ui/server/manifest-full.js +21 -5
  178. package/dist/ui/server/manifest.js +21 -5
  179. package/dist/ui/server/nodes/0.js +2 -2
  180. package/dist/ui/server/nodes/1.js +1 -1
  181. package/dist/ui/server/nodes/2.js +4 -6
  182. package/dist/ui/server/nodes/3.js +6 -4
  183. package/dist/ui/server/nodes/4.js +6 -4
  184. package/dist/ui/server/nodes/5.js +8 -0
  185. package/dist/ui/server/nodes/6.js +10 -0
  186. package/dist/ui/server/server.js +21 -5
  187. package/package.json +1 -1
  188. package/dist/ui/client/ui/_app/immutable/assets/0.CnPCLsGJ.css.br +0 -0
  189. package/dist/ui/client/ui/_app/immutable/assets/0.CnPCLsGJ.css.gz +0 -0
  190. package/dist/ui/client/ui/_app/immutable/assets/3.CK2Biket.css +0 -1
  191. package/dist/ui/client/ui/_app/immutable/assets/3.CK2Biket.css.br +0 -0
  192. package/dist/ui/client/ui/_app/immutable/assets/3.CK2Biket.css.gz +0 -0
  193. package/dist/ui/client/ui/_app/immutable/chunks/0YgL1EU2.js +0 -179
  194. package/dist/ui/client/ui/_app/immutable/chunks/0YgL1EU2.js.br +0 -0
  195. package/dist/ui/client/ui/_app/immutable/chunks/0YgL1EU2.js.gz +0 -0
  196. package/dist/ui/client/ui/_app/immutable/chunks/BYvlzyV8.js +0 -1
  197. package/dist/ui/client/ui/_app/immutable/chunks/BYvlzyV8.js.br +0 -2
  198. package/dist/ui/client/ui/_app/immutable/chunks/BYvlzyV8.js.gz +0 -0
  199. package/dist/ui/client/ui/_app/immutable/chunks/BfvDkxmG.js +0 -3
  200. package/dist/ui/client/ui/_app/immutable/chunks/BfvDkxmG.js.br +0 -0
  201. package/dist/ui/client/ui/_app/immutable/chunks/BfvDkxmG.js.gz +0 -0
  202. package/dist/ui/client/ui/_app/immutable/chunks/Cba3ZwaX.js.br +0 -0
  203. package/dist/ui/client/ui/_app/immutable/chunks/Cba3ZwaX.js.gz +0 -0
  204. package/dist/ui/client/ui/_app/immutable/chunks/DErxe_FC.js +0 -3
  205. package/dist/ui/client/ui/_app/immutable/chunks/DErxe_FC.js.br +0 -0
  206. package/dist/ui/client/ui/_app/immutable/chunks/DErxe_FC.js.gz +0 -0
  207. package/dist/ui/client/ui/_app/immutable/chunks/Dqufijaz.js +0 -1
  208. package/dist/ui/client/ui/_app/immutable/chunks/Dqufijaz.js.br +0 -0
  209. package/dist/ui/client/ui/_app/immutable/chunks/Dqufijaz.js.gz +0 -0
  210. package/dist/ui/client/ui/_app/immutable/chunks/WpCriteK.js +0 -1
  211. package/dist/ui/client/ui/_app/immutable/chunks/WpCriteK.js.br +0 -1
  212. package/dist/ui/client/ui/_app/immutable/chunks/WpCriteK.js.gz +0 -0
  213. package/dist/ui/client/ui/_app/immutable/chunks/wbLSPbHY.js +0 -4
  214. package/dist/ui/client/ui/_app/immutable/chunks/wbLSPbHY.js.br +0 -0
  215. package/dist/ui/client/ui/_app/immutable/chunks/wbLSPbHY.js.gz +0 -0
  216. package/dist/ui/client/ui/_app/immutable/entry/app.B6hhDf4F.js +0 -2
  217. package/dist/ui/client/ui/_app/immutable/entry/app.B6hhDf4F.js.br +0 -0
  218. package/dist/ui/client/ui/_app/immutable/entry/app.B6hhDf4F.js.gz +0 -0
  219. package/dist/ui/client/ui/_app/immutable/entry/start.Dluk7nQO.js +0 -2
  220. package/dist/ui/client/ui/_app/immutable/entry/start.Dluk7nQO.js.br +0 -0
  221. package/dist/ui/client/ui/_app/immutable/entry/start.Dluk7nQO.js.gz +0 -0
  222. package/dist/ui/client/ui/_app/immutable/nodes/0.D-lhv0Us.js +0 -1
  223. package/dist/ui/client/ui/_app/immutable/nodes/0.D-lhv0Us.js.br +0 -0
  224. package/dist/ui/client/ui/_app/immutable/nodes/0.D-lhv0Us.js.gz +0 -0
  225. package/dist/ui/client/ui/_app/immutable/nodes/1.Cs4GAsCO.js +0 -1
  226. package/dist/ui/client/ui/_app/immutable/nodes/1.Cs4GAsCO.js.br +0 -2
  227. package/dist/ui/client/ui/_app/immutable/nodes/1.Cs4GAsCO.js.gz +0 -0
  228. package/dist/ui/client/ui/_app/immutable/nodes/2.CmuzlN_T.js +0 -52
  229. package/dist/ui/client/ui/_app/immutable/nodes/2.CmuzlN_T.js.br +0 -0
  230. package/dist/ui/client/ui/_app/immutable/nodes/2.CmuzlN_T.js.gz +0 -0
  231. package/dist/ui/client/ui/_app/immutable/nodes/3.DMXXeBbC.js +0 -5
  232. package/dist/ui/client/ui/_app/immutable/nodes/3.DMXXeBbC.js.br +0 -0
  233. package/dist/ui/client/ui/_app/immutable/nodes/3.DMXXeBbC.js.gz +0 -0
  234. package/dist/ui/client/ui/_app/immutable/nodes/4.CMHCNMDn.js +0 -1
  235. package/dist/ui/client/ui/_app/immutable/nodes/4.CMHCNMDn.js.br +0 -0
  236. package/dist/ui/client/ui/_app/immutable/nodes/4.CMHCNMDn.js.gz +0 -0
  237. package/dist/ui/server/_app/immutable/assets/_page.CK2Biket.css +0 -1
  238. /package/dist/ui/client/ui/_app/immutable/assets/{2.ChCvyBVk.css → 3.ChCvyBVk.css} +0 -0
  239. /package/dist/ui/client/ui/_app/immutable/assets/{2.ChCvyBVk.css.br → 3.ChCvyBVk.css.br} +0 -0
  240. /package/dist/ui/client/ui/_app/immutable/assets/{2.ChCvyBVk.css.gz → 3.ChCvyBVk.css.gz} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dialog.js","names":["LitElement","property","styles","styles","customElement","LitElement","classMap","nothing","property","query","state","customElement"],"sources":["../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/divider/internal/divider.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/divider/internal/divider-styles.cssresult.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/divider/divider.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/dialog/internal/animations.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/dialog/internal/dialog.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/dialog/internal/dialog-styles.cssresult.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/dialog/dialog.js"],"sourcesContent":["/**\n * @license\n * Copyright 2023 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { __decorate } from \"tslib\";\nimport { LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\n/**\n * A divider component.\n */\nexport class Divider extends LitElement {\n constructor() {\n super(...arguments);\n /**\n * Indents the divider with equal padding on both sides.\n */\n this.inset = false;\n /**\n * Indents the divider with padding on the leading side.\n */\n this.insetStart = false;\n /**\n * Indents the divider with padding on the trailing side.\n */\n this.insetEnd = false;\n }\n}\n__decorate([\n property({ type: Boolean, reflect: true })\n], Divider.prototype, \"inset\", void 0);\n__decorate([\n property({ type: Boolean, reflect: true, attribute: 'inset-start' })\n], Divider.prototype, \"insetStart\", void 0);\n__decorate([\n property({ type: Boolean, reflect: true, attribute: 'inset-end' })\n], Divider.prototype, \"insetEnd\", void 0);\n//# sourceMappingURL=divider.js.map","/**\n * @license\n * Copyright 2026 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n// Generated stylesheet for ./divider/internal/divider-styles.css.\nimport { css } from 'lit';\nexport const styles = css `:host{box-sizing:border-box;color:var(--md-divider-color, var(--md-sys-color-outline-variant, #cac4d0));display:flex;height:var(--md-divider-thickness, 1px);width:100%}:host([inset]),:host([inset-start]){padding-inline-start:16px}:host([inset]),:host([inset-end]){padding-inline-end:16px}:host::before{background:currentColor;content:\"\";height:100%;width:100%}@media(forced-colors: active){:host::before{background:CanvasText}}\n`;\nexport default styles.styleSheet;\n//# sourceMappingURL=divider-styles.cssresult.js.map","/**\n * @license\n * Copyright 2023 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { __decorate } from \"tslib\";\nimport { customElement } from 'lit/decorators.js';\nimport { Divider } from './internal/divider.js';\nimport { styles } from './internal/divider-styles.cssresult.js';\n/**\n * @summary A divider is a thin line that groups content in lists and\n * containers.\n *\n * @description Dividers can reinforce tapability, such as when used to separate\n * list items or define tappable regions in an accordion.\n *\n * @final\n * @suppress {visibility}\n */\nlet MdDivider = class MdDivider extends Divider {\n};\nMdDivider.styles = [styles];\nMdDivider = __decorate([\n customElement('md-divider')\n], MdDivider);\nexport { MdDivider };\n//# sourceMappingURL=divider.js.map","/**\n * @license\n * Copyright 2023 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { EASING } from '../../internal/motion/animation.js';\n/**\n * The default dialog open animation.\n */\nexport const DIALOG_DEFAULT_OPEN_ANIMATION = {\n dialog: [\n [\n // Dialog slide down\n [{ 'transform': 'translateY(-50px)' }, { 'transform': 'translateY(0)' }],\n { duration: 500, easing: EASING.EMPHASIZED },\n ],\n ],\n scrim: [\n [\n // Scrim fade in\n [{ 'opacity': 0 }, { 'opacity': 0.32 }],\n { duration: 500, easing: 'linear' },\n ],\n ],\n container: [\n [\n // Container fade in\n [{ 'opacity': 0 }, { 'opacity': 1 }],\n { duration: 50, easing: 'linear', pseudoElement: '::before' },\n ],\n [\n // Container grow\n // Note: current spec says to grow from 0dp->100% and shrink from\n // 100%->35%. We change this to 35%->100% to simplify the animation that\n // is supposed to clip content as it grows. From 0dp it's possible to see\n // text/actions appear before the container has fully grown.\n [{ 'height': '35%' }, { 'height': '100%' }],\n { duration: 500, easing: EASING.EMPHASIZED, pseudoElement: '::before' },\n ],\n ],\n headline: [\n [\n // Headline fade in\n [{ 'opacity': 0 }, { 'opacity': 0, offset: 0.2 }, { 'opacity': 1 }],\n { duration: 250, easing: 'linear', fill: 'forwards' },\n ],\n ],\n content: [\n [\n // Content fade in\n [{ 'opacity': 0 }, { 'opacity': 0, offset: 0.2 }, { 'opacity': 1 }],\n { duration: 250, easing: 'linear', fill: 'forwards' },\n ],\n ],\n actions: [\n [\n // Actions fade in\n [{ 'opacity': 0 }, { 'opacity': 0, offset: 0.5 }, { 'opacity': 1 }],\n { duration: 300, easing: 'linear', fill: 'forwards' },\n ],\n ],\n};\n/**\n * The default dialog close animation.\n */\nexport const DIALOG_DEFAULT_CLOSE_ANIMATION = {\n dialog: [\n [\n // Dialog slide up\n [{ 'transform': 'translateY(0)' }, { 'transform': 'translateY(-50px)' }],\n { duration: 150, easing: EASING.EMPHASIZED_ACCELERATE },\n ],\n ],\n scrim: [\n [\n // Scrim fade out\n [{ 'opacity': 0.32 }, { 'opacity': 0 }],\n { duration: 150, easing: 'linear' },\n ],\n ],\n container: [\n [\n // Container shrink\n [{ 'height': '100%' }, { 'height': '35%' }],\n {\n duration: 150,\n easing: EASING.EMPHASIZED_ACCELERATE,\n pseudoElement: '::before',\n },\n ],\n [\n // Container fade out\n [{ 'opacity': '1' }, { 'opacity': '0' }],\n { delay: 100, duration: 50, easing: 'linear', pseudoElement: '::before' },\n ],\n ],\n headline: [\n [\n // Headline fade out\n [{ 'opacity': 1 }, { 'opacity': 0 }],\n { duration: 100, easing: 'linear', fill: 'forwards' },\n ],\n ],\n content: [\n [\n // Content fade out\n [{ 'opacity': 1 }, { 'opacity': 0 }],\n { duration: 100, easing: 'linear', fill: 'forwards' },\n ],\n ],\n actions: [\n [\n // Actions fade out\n [{ 'opacity': 1 }, { 'opacity': 0 }],\n { duration: 100, easing: 'linear', fill: 'forwards' },\n ],\n ],\n};\n//# sourceMappingURL=animations.js.map","/**\n * @license\n * Copyright 2023 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { __decorate } from \"tslib\";\nimport '../../divider/divider.js';\nimport { html, isServer, LitElement, nothing } from 'lit';\nimport { property, query, state } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { mixinDelegatesAria } from '../../internal/aria/delegate.js';\nimport { redispatchEvent } from '../../internal/events/redispatch-event.js';\nimport { DIALOG_DEFAULT_CLOSE_ANIMATION, DIALOG_DEFAULT_OPEN_ANIMATION, } from './animations.js';\n// Separate variable needed for closure.\nconst dialogBaseClass = mixinDelegatesAria(LitElement);\n/**\n * A dialog component.\n *\n * @fires open {Event} Dispatched when the dialog is opening before any animations.\n * @fires opened {Event} Dispatched when the dialog has opened after any animations.\n * @fires close {Event} Dispatched when the dialog is closing before any animations.\n * @fires closed {Event} Dispatched when the dialog has closed after any animations.\n * @fires cancel {Event} Dispatched when the dialog has been canceled by clicking\n * on the scrim or pressing Escape.\n */\nexport class Dialog extends dialogBaseClass {\n // We do not use `delegatesFocus: true` due to a Chromium bug with\n // selecting text.\n // See https://bugs.chromium.org/p/chromium/issues/detail?id=950357\n /**\n * Opens the dialog when set to `true` and closes it when set to `false`.\n */\n get open() {\n return this.isOpen;\n }\n set open(open) {\n if (open === this.isOpen) {\n return;\n }\n this.isOpen = open;\n if (open) {\n this.setAttribute('open', '');\n this.show();\n }\n else {\n this.removeAttribute('open');\n this.close();\n }\n }\n constructor() {\n super();\n /**\n * Skips the opening and closing animations.\n */\n this.quick = false;\n /**\n * Gets or sets the dialog's return value, usually to indicate which button\n * a user pressed to close it.\n *\n * https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/returnValue\n */\n this.returnValue = '';\n /**\n * Disables focus trapping, which by default keeps keyboard Tab navigation\n * within the dialog.\n *\n * When disabled, after focusing the last element of a dialog, pressing Tab\n * again will release focus from the window back to the browser (such as the\n * URL bar).\n *\n * Focus trapping is recommended for accessibility, and should not typically\n * be disabled. Only turn this off if the use case of a dialog is more\n * accessible without focus trapping.\n */\n this.noFocusTrap = false;\n /**\n * Gets the opening animation for a dialog. Set to a new function to customize\n * the animation.\n */\n this.getOpenAnimation = () => DIALOG_DEFAULT_OPEN_ANIMATION;\n /**\n * Gets the closing animation for a dialog. Set to a new function to customize\n * the animation.\n */\n this.getCloseAnimation = () => DIALOG_DEFAULT_CLOSE_ANIMATION;\n this.isOpen = false;\n this.isOpening = false;\n this.isConnectedPromise = this.getIsConnectedPromise();\n this.isAtScrollTop = false;\n this.isAtScrollBottom = false;\n this.nextClickIsFromContent = false;\n // Dialogs should not be SSR'd while open, so we can just use runtime checks.\n this.hasHeadline = false;\n this.hasActions = false;\n this.hasIcon = false;\n // See https://bugs.chromium.org/p/chromium/issues/detail?id=1512224\n // Chrome v120 has a bug where escape keys do not trigger cancels. If we get\n // a dialog \"close\" event that is triggered without a \"cancel\" after an escape\n // keydown, then we need to manually trigger our closing logic.\n //\n // This bug occurs when pressing escape to close a dialog without first\n // interacting with the dialog's content.\n //\n // Cleanup tracking:\n // https://github.com/material-components/material-web/issues/5330\n // This can be removed when full CloseWatcher support added and the above bug\n // in Chromium is fixed to fire 'cancel' with one escape press and close with\n // multiple.\n this.escapePressedWithoutCancel = false;\n // This TreeWalker is used to walk through a dialog's children to find\n // focusable elements. TreeWalker is faster than `querySelectorAll('*')`.\n // We check for isServer because there isn't a \"document\" during an SSR\n // run.\n this.treewalker = isServer\n ? null\n : document.createTreeWalker(this, NodeFilter.SHOW_ELEMENT);\n if (!isServer) {\n this.addEventListener('submit', this.handleSubmit);\n }\n }\n /**\n * Opens the dialog and fires a cancelable `open` event. After a dialog's\n * animation, an `opened` event is fired.\n *\n * Add an `autofocus` attribute to a child of the dialog that should\n * receive focus after opening.\n *\n * @return A Promise that resolves after the animation is finished and the\n * `opened` event was fired.\n */\n async show() {\n this.isOpening = true;\n // Dialogs can be opened before being attached to the DOM, so we need to\n // wait until we're connected before calling `showModal()`.\n await this.isConnectedPromise;\n await this.updateComplete;\n const dialog = this.dialog;\n // Check if already opened or if `dialog.close()` was called while awaiting.\n if (dialog.open || !this.isOpening) {\n this.isOpening = false;\n return;\n }\n const preventOpen = !this.dispatchEvent(new Event('open', { cancelable: true }));\n if (preventOpen) {\n this.open = false;\n this.isOpening = false;\n return;\n }\n // All Material dialogs are modal.\n dialog.showModal();\n this.open = true;\n // Reset scroll position if re-opening a dialog with the same content.\n if (this.scroller) {\n this.scroller.scrollTop = 0;\n }\n // Native modal dialogs ignore autofocus and instead force focus to the\n // first focusable child. Override this behavior if there is a child with\n // an autofocus attribute.\n this.querySelector('[autofocus]')?.focus();\n await this.animateDialog(this.getOpenAnimation());\n this.dispatchEvent(new Event('opened'));\n this.isOpening = false;\n }\n /**\n * Closes the dialog and fires a cancelable `close` event. After a dialog's\n * animation, a `closed` event is fired.\n *\n * @param returnValue A return value usually indicating which button was used\n * to close a dialog. If a dialog is canceled by clicking the scrim or\n * pressing Escape, it will not change the return value after closing.\n * @return A Promise that resolves after the animation is finished and the\n * `closed` event was fired.\n */\n async close(returnValue = this.returnValue) {\n this.isOpening = false;\n if (!this.isConnected) {\n // Disconnected dialogs do not fire close events or animate.\n this.open = false;\n return;\n }\n await this.updateComplete;\n const dialog = this.dialog;\n // Check if already closed or if `dialog.show()` was called while awaiting.\n if (!dialog.open || this.isOpening) {\n this.open = false;\n return;\n }\n const prevReturnValue = this.returnValue;\n this.returnValue = returnValue;\n const preventClose = !this.dispatchEvent(new Event('close', { cancelable: true }));\n if (preventClose) {\n this.returnValue = prevReturnValue;\n return;\n }\n await this.animateDialog(this.getCloseAnimation());\n dialog.close(returnValue);\n this.open = false;\n this.dispatchEvent(new Event('closed'));\n }\n connectedCallback() {\n super.connectedCallback();\n this.isConnectedPromiseResolve();\n }\n disconnectedCallback() {\n super.disconnectedCallback();\n this.isConnectedPromise = this.getIsConnectedPromise();\n }\n render() {\n const scrollable = this.open && !(this.isAtScrollTop && this.isAtScrollBottom);\n const classes = {\n 'has-headline': this.hasHeadline,\n 'has-actions': this.hasActions,\n 'has-icon': this.hasIcon,\n 'scrollable': scrollable,\n 'show-top-divider': scrollable && !this.isAtScrollTop,\n 'show-bottom-divider': scrollable && !this.isAtScrollBottom,\n };\n // The focus trap sentinels are only added after the dialog opens, since\n // dialog.showModal() will try to autofocus them, even with tabindex=\"-1\".\n const showFocusTrap = this.open && !this.noFocusTrap;\n const focusTrap = html `\n <div\n class=\"focus-trap\"\n tabindex=\"0\"\n aria-hidden=\"true\"\n @focus=${this.handleFocusTrapFocus}></div>\n `;\n const { ariaLabel } = this;\n return html `\n <div class=\"scrim\"></div>\n <dialog\n class=${classMap(classes)}\n aria-label=${ariaLabel || nothing}\n aria-labelledby=${this.hasHeadline ? 'headline' : nothing}\n role=${this.type === 'alert' ? 'alertdialog' : nothing}\n @cancel=${this.handleCancel}\n @click=${this.handleDialogClick}\n @close=${this.handleClose}\n @keydown=${this.handleKeydown}\n .returnValue=${this.returnValue || nothing}>\n ${showFocusTrap ? focusTrap : nothing}\n <div class=\"container\" @click=${this.handleContentClick}>\n <div class=\"headline\">\n <div class=\"icon\" aria-hidden=\"true\">\n <slot name=\"icon\" @slotchange=${this.handleIconChange}></slot>\n </div>\n <h2 id=\"headline\" aria-hidden=${!this.hasHeadline || nothing}>\n <slot\n name=\"headline\"\n @slotchange=${this.handleHeadlineChange}></slot>\n </h2>\n <md-divider></md-divider>\n </div>\n <div class=\"scroller\">\n <div class=\"content\">\n <div class=\"top anchor\"></div>\n <slot name=\"content\"></slot>\n <div class=\"bottom anchor\"></div>\n </div>\n </div>\n <div class=\"actions\">\n <md-divider></md-divider>\n <slot name=\"actions\" @slotchange=${this.handleActionsChange}></slot>\n </div>\n </div>\n ${showFocusTrap ? focusTrap : nothing}\n </dialog>\n `;\n }\n firstUpdated() {\n this.intersectionObserver = new IntersectionObserver((entries) => {\n for (const entry of entries) {\n this.handleAnchorIntersection(entry);\n }\n }, { root: this.scroller });\n this.intersectionObserver.observe(this.topAnchor);\n this.intersectionObserver.observe(this.bottomAnchor);\n }\n handleDialogClick() {\n if (this.nextClickIsFromContent) {\n // Avoid doing a layout calculation below if we know the click came from\n // content.\n this.nextClickIsFromContent = false;\n return;\n }\n // Click originated on the backdrop. Native `<dialog>`s will not cancel,\n // but Material dialogs do.\n const preventDefault = !this.dispatchEvent(new Event('cancel', { cancelable: true }));\n if (preventDefault) {\n return;\n }\n this.close();\n }\n handleContentClick() {\n this.nextClickIsFromContent = true;\n }\n handleSubmit(event) {\n const form = event.target;\n const { submitter } = event;\n if (form.getAttribute('method') !== 'dialog' || !submitter) {\n return;\n }\n // Close reason is the submitter's value attribute, or the dialog's\n // `returnValue` if there is no attribute.\n this.close(submitter.getAttribute('value') ?? this.returnValue);\n }\n handleCancel(event) {\n if (event.target !== this.dialog) {\n // Ignore any cancel events dispatched by content.\n return;\n }\n this.escapePressedWithoutCancel = false;\n const preventDefault = !redispatchEvent(this, event);\n // We always prevent default on the original dialog event since we'll\n // animate closing it before it actually closes.\n event.preventDefault();\n if (preventDefault) {\n return;\n }\n this.close();\n }\n handleClose() {\n if (!this.escapePressedWithoutCancel) {\n return;\n }\n this.escapePressedWithoutCancel = false;\n this.dialog?.dispatchEvent(new Event('cancel', { cancelable: true }));\n }\n handleKeydown(event) {\n if (event.key !== 'Escape') {\n return;\n }\n // An escape key was pressed. If a \"close\" event fires next without a\n // \"cancel\" event first, then we know we're in the Chrome v120 bug.\n this.escapePressedWithoutCancel = true;\n // Wait a full task for the cancel/close event listeners to fire, then\n // reset the flag.\n setTimeout(() => {\n this.escapePressedWithoutCancel = false;\n });\n }\n async animateDialog(animation) {\n // Always cancel the previous animations. Animations can include `fill`\n // modes that need to be cleared when `quick` is toggled. If not, content\n // that faded out will remain hidden when a `quick` dialog re-opens after\n // previously opening and closing without `quick`.\n this.cancelAnimations?.abort();\n this.cancelAnimations = new AbortController();\n if (this.quick) {\n return;\n }\n const { dialog, scrim, container, headline, content, actions } = this;\n if (!dialog || !scrim || !container || !headline || !content || !actions) {\n return;\n }\n const { container: containerAnimate, dialog: dialogAnimate, scrim: scrimAnimate, headline: headlineAnimate, content: contentAnimate, actions: actionsAnimate, } = animation;\n const elementAndAnimation = [\n [dialog, dialogAnimate ?? []],\n [scrim, scrimAnimate ?? []],\n [container, containerAnimate ?? []],\n [headline, headlineAnimate ?? []],\n [content, contentAnimate ?? []],\n [actions, actionsAnimate ?? []],\n ];\n const animations = [];\n for (const [element, animation] of elementAndAnimation) {\n for (const animateArgs of animation) {\n const animation = element.animate(...animateArgs);\n this.cancelAnimations.signal.addEventListener('abort', () => {\n animation.cancel();\n });\n animations.push(animation);\n }\n }\n await Promise.all(animations.map((animation) => animation.finished.catch(() => {\n // Ignore intentional AbortErrors when calling `animation.cancel()`.\n })));\n }\n handleHeadlineChange(event) {\n const slot = event.target;\n this.hasHeadline = slot.assignedElements().length > 0;\n }\n handleActionsChange(event) {\n const slot = event.target;\n this.hasActions = slot.assignedElements().length > 0;\n }\n handleIconChange(event) {\n const slot = event.target;\n this.hasIcon = slot.assignedElements().length > 0;\n }\n handleAnchorIntersection(entry) {\n const { target, isIntersecting } = entry;\n if (target === this.topAnchor) {\n this.isAtScrollTop = isIntersecting;\n }\n if (target === this.bottomAnchor) {\n this.isAtScrollBottom = isIntersecting;\n }\n }\n getIsConnectedPromise() {\n return new Promise((resolve) => {\n this.isConnectedPromiseResolve = resolve;\n });\n }\n handleFocusTrapFocus(event) {\n const [firstFocusableChild, lastFocusableChild] = this.getFirstAndLastFocusableChildren();\n if (!firstFocusableChild || !lastFocusableChild) {\n // When a dialog does not have focusable children, the dialog itself\n // receives focus.\n this.dialog?.focus();\n return;\n }\n // To determine which child to focus, we need to know which focus trap\n // received focus...\n const isFirstFocusTrap = event.target === this.firstFocusTrap;\n const isLastFocusTrap = !isFirstFocusTrap;\n // ...and where the focus came from (what was previously focused).\n const focusCameFromFirstChild = event.relatedTarget === firstFocusableChild;\n const focusCameFromLastChild = event.relatedTarget === lastFocusableChild;\n // Although this is a focus trap, focus can come from outside the trap.\n // This can happen when elements are programmatically `focus()`'d. It also\n // happens when focus leaves and returns to the window, such as clicking on\n // the browser's URL bar and pressing Tab, or switching focus between\n // iframes.\n const focusCameFromOutsideDialog = !focusCameFromFirstChild && !focusCameFromLastChild;\n // Focus the dialog's first child when we reach the end of the dialog and\n // focus is moving forward. Or, when focus is moving forwards into the\n // dialog from outside of the window.\n const shouldFocusFirstChild = (isLastFocusTrap && focusCameFromLastChild) ||\n (isFirstFocusTrap && focusCameFromOutsideDialog);\n if (shouldFocusFirstChild) {\n firstFocusableChild.focus();\n return;\n }\n // Focus the dialog's last child when we reach the beginning of the dialog\n // and focus is moving backward. Or, when focus is moving backwards into the\n // dialog from outside of the window.\n const shouldFocusLastChild = (isFirstFocusTrap && focusCameFromFirstChild) ||\n (isLastFocusTrap && focusCameFromOutsideDialog);\n if (shouldFocusLastChild) {\n lastFocusableChild.focus();\n return;\n }\n // The booleans above are verbose for readability, but code executation\n // won't actually reach here.\n }\n getFirstAndLastFocusableChildren() {\n if (!this.treewalker) {\n return [null, null];\n }\n let firstFocusableChild = null;\n let lastFocusableChild = null;\n // Reset the current node back to the root host element.\n this.treewalker.currentNode = this.treewalker.root;\n while (this.treewalker.nextNode()) {\n // Cast as Element since the TreeWalker filter only accepts Elements.\n const nextChild = this.treewalker.currentNode;\n if (!isFocusable(nextChild)) {\n continue;\n }\n if (!firstFocusableChild) {\n firstFocusableChild = nextChild;\n }\n lastFocusableChild = nextChild;\n }\n // We set lastFocusableChild immediately after finding a\n // firstFocusableChild, which means the pair is either both null or both\n // non-null. Cast since TypeScript does not recognize this.\n return [firstFocusableChild, lastFocusableChild];\n }\n}\n__decorate([\n property({ type: Boolean })\n], Dialog.prototype, \"open\", null);\n__decorate([\n property({ type: Boolean })\n], Dialog.prototype, \"quick\", void 0);\n__decorate([\n property({ attribute: false })\n], Dialog.prototype, \"returnValue\", void 0);\n__decorate([\n property()\n], Dialog.prototype, \"type\", void 0);\n__decorate([\n property({ type: Boolean, attribute: 'no-focus-trap' })\n], Dialog.prototype, \"noFocusTrap\", void 0);\n__decorate([\n query('dialog')\n], Dialog.prototype, \"dialog\", void 0);\n__decorate([\n query('.scrim')\n], Dialog.prototype, \"scrim\", void 0);\n__decorate([\n query('.container')\n], Dialog.prototype, \"container\", void 0);\n__decorate([\n query('.headline')\n], Dialog.prototype, \"headline\", void 0);\n__decorate([\n query('.content')\n], Dialog.prototype, \"content\", void 0);\n__decorate([\n query('.actions')\n], Dialog.prototype, \"actions\", void 0);\n__decorate([\n state()\n], Dialog.prototype, \"isAtScrollTop\", void 0);\n__decorate([\n state()\n], Dialog.prototype, \"isAtScrollBottom\", void 0);\n__decorate([\n query('.scroller')\n], Dialog.prototype, \"scroller\", void 0);\n__decorate([\n query('.top.anchor')\n], Dialog.prototype, \"topAnchor\", void 0);\n__decorate([\n query('.bottom.anchor')\n], Dialog.prototype, \"bottomAnchor\", void 0);\n__decorate([\n query('.focus-trap')\n], Dialog.prototype, \"firstFocusTrap\", void 0);\n__decorate([\n state()\n], Dialog.prototype, \"hasHeadline\", void 0);\n__decorate([\n state()\n], Dialog.prototype, \"hasActions\", void 0);\n__decorate([\n state()\n], Dialog.prototype, \"hasIcon\", void 0);\nfunction isFocusable(element) {\n // Check if the element is a known built-in focusable element:\n // - <a> and <area> with `href` attributes.\n // - Form controls that are not disabled.\n // - `contenteditable` elements.\n // - Anything with a non-negative `tabindex`.\n const knownFocusableElements = ':is(button,input,select,textarea,object,:is(a,area)[href],[tabindex],[contenteditable=true])';\n const notDisabled = ':not(:disabled,[disabled])';\n const notNegativeTabIndex = ':not([tabindex^=\"-\"])';\n if (element.matches(knownFocusableElements + notDisabled + notNegativeTabIndex)) {\n return true;\n }\n const isCustomElement = element.localName.includes('-');\n if (!isCustomElement) {\n return false;\n }\n // If a custom element does not have a tabindex, it may still be focusable\n // if it delegates focus with a shadow root. We also need to check again if\n // the custom element is a disabled form control.\n if (!element.matches(notDisabled)) {\n return false;\n }\n return element.shadowRoot?.delegatesFocus ?? false;\n}\n//# sourceMappingURL=dialog.js.map","/**\n * @license\n * Copyright 2026 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n// Generated stylesheet for ./dialog/internal/dialog-styles.css.\nimport { css } from 'lit';\nexport const styles = css `:host{border-start-start-radius:var(--md-dialog-container-shape-start-start, var(--md-dialog-container-shape, var(--md-sys-shape-corner-extra-large, 28px)));border-start-end-radius:var(--md-dialog-container-shape-start-end, var(--md-dialog-container-shape, var(--md-sys-shape-corner-extra-large, 28px)));border-end-end-radius:var(--md-dialog-container-shape-end-end, var(--md-dialog-container-shape, var(--md-sys-shape-corner-extra-large, 28px)));border-end-start-radius:var(--md-dialog-container-shape-end-start, var(--md-dialog-container-shape, var(--md-sys-shape-corner-extra-large, 28px)));display:contents;margin:auto;max-height:min(560px,100% - 48px);max-width:min(560px,100% - 48px);min-height:140px;min-width:280px;position:fixed;height:fit-content;width:fit-content}dialog{background:rgba(0,0,0,0);border:none;border-radius:inherit;flex-direction:column;height:inherit;margin:inherit;max-height:inherit;max-width:inherit;min-height:inherit;min-width:inherit;outline:none;overflow:visible;padding:0;width:inherit}dialog[open]{display:flex}::backdrop{background:none}.scrim{background:var(--md-sys-color-scrim, #000);display:none;inset:0;opacity:32%;pointer-events:none;position:fixed;z-index:1}:host([open]) .scrim{display:flex}h2{all:unset;align-self:stretch}.headline{align-items:center;color:var(--md-dialog-headline-color, var(--md-sys-color-on-surface, #1d1b20));display:flex;flex-direction:column;font-family:var(--md-dialog-headline-font, var(--md-sys-typescale-headline-small-font, var(--md-ref-typeface-brand, Roboto)));font-size:var(--md-dialog-headline-size, var(--md-sys-typescale-headline-small-size, 1.5rem));line-height:var(--md-dialog-headline-line-height, var(--md-sys-typescale-headline-small-line-height, 2rem));font-weight:var(--md-dialog-headline-weight, var(--md-sys-typescale-headline-small-weight, var(--md-ref-typeface-weight-regular, 400)));position:relative}slot[name=headline]::slotted(*){align-items:center;align-self:stretch;box-sizing:border-box;display:flex;gap:8px;padding:24px 24px 0}.icon{display:flex}slot[name=icon]::slotted(*){color:var(--md-dialog-icon-color, var(--md-sys-color-secondary, #625b71));fill:currentColor;font-size:var(--md-dialog-icon-size, 24px);margin-top:24px;height:var(--md-dialog-icon-size, 24px);width:var(--md-dialog-icon-size, 24px)}.has-icon slot[name=headline]::slotted(*){justify-content:center;padding-top:16px}.scrollable slot[name=headline]::slotted(*){padding-bottom:16px}.scrollable.has-headline slot[name=content]::slotted(*){padding-top:8px}.container{border-radius:inherit;display:flex;flex-direction:column;flex-grow:1;overflow:hidden;position:relative;transform-origin:top}.container::before{background:var(--md-dialog-container-color, var(--md-sys-color-surface-container-high, #ece6f0));border-radius:inherit;content:\"\";inset:0;position:absolute}.scroller{display:flex;flex:1;flex-direction:column;overflow:hidden;z-index:1}.scrollable .scroller{overflow-y:scroll}.content{color:var(--md-dialog-supporting-text-color, var(--md-sys-color-on-surface-variant, #49454f));font-family:var(--md-dialog-supporting-text-font, var(--md-sys-typescale-body-medium-font, var(--md-ref-typeface-plain, Roboto)));font-size:var(--md-dialog-supporting-text-size, var(--md-sys-typescale-body-medium-size, 0.875rem));line-height:var(--md-dialog-supporting-text-line-height, var(--md-sys-typescale-body-medium-line-height, 1.25rem));flex:1;font-weight:var(--md-dialog-supporting-text-weight, var(--md-sys-typescale-body-medium-weight, var(--md-ref-typeface-weight-regular, 400)));height:min-content;position:relative}slot[name=content]::slotted(*){box-sizing:border-box;padding:24px}.anchor{position:absolute}.top.anchor{top:0}.bottom.anchor{bottom:0}.actions{position:relative}slot[name=actions]::slotted(*){box-sizing:border-box;display:flex;gap:8px;justify-content:flex-end;padding:16px 24px 24px}.has-actions slot[name=content]::slotted(*){padding-bottom:8px}md-divider{display:none;position:absolute}.has-headline.show-top-divider .headline md-divider,.has-actions.show-bottom-divider .actions md-divider{display:flex}.headline md-divider{bottom:0}.actions md-divider{top:0}@media(forced-colors: active){dialog{outline:2px solid WindowText}}\n`;\nexport default styles.styleSheet;\n//# sourceMappingURL=dialog-styles.cssresult.js.map","/**\n * @license\n * Copyright 2023 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { __decorate } from \"tslib\";\nimport { customElement } from 'lit/decorators.js';\nimport { Dialog } from './internal/dialog.js';\nimport { styles } from './internal/dialog-styles.cssresult.js';\n/**\n * @summary Dialogs can require an action, communicate information, or help\n * users accomplish a task. There are two types of dialogs: basic and\n * full-screen.\n *\n * @description\n * A dialog is a modal window that appears in front of app content to provide\n * critical information or ask for a decision. Dialogs disable all app\n * functionality when they appear, and remain on screen until confirmed,\n * dismissed, or a required action has been taken.\n *\n * Dialogs are purposefully interruptive, so they should be used sparingly.\n * A less disruptive alternative is to use a menu, which provides options\n * without interrupting a user’s experience.\n *\n * On mobile devices only, complex dialogs should be displayed fullscreen.\n *\n * __Example usages:__\n * - Common use cases for basic dialogs include alerts, quick selection, and\n * confirmation.\n * - More complex dialogs may contain actions that require a series of tasks\n * to complete. One example is creating a calendar entry with the event title,\n * date, location, and time.\n *\n * @final\n * @suppress {visibility}\n */\nlet MdDialog = class MdDialog extends Dialog {\n};\nMdDialog.styles = [styles];\nMdDialog = __decorate([\n customElement('md-dialog')\n], MdDialog);\nexport { MdDialog };\n//# sourceMappingURL=dialog.js.map"],"ignoreList":[0,1,2,3,4,5,6],"mappings":";;;;;;;;;;;AAWA,IAAa,UAAb,cAA6BA,EAAW;CACpC,cAAc;EACV,MAAM,GAAG,SAAS;;;;EAIlB,KAAK,QAAQ;;;;EAIb,KAAK,aAAa;;;;EAIlB,KAAK,WAAW;CACpB;AACJ;AACA,WAAW,CACPC,EAAS;CAAE,MAAM;CAAS,SAAS;AAAK,CAAC,CAC7C,GAAG,QAAQ,WAAW,SAAS,KAAK,CAAC;AACrC,WAAW,CACPA,EAAS;CAAE,MAAM;CAAS,SAAS;CAAM,WAAW;AAAc,CAAC,CACvE,GAAG,QAAQ,WAAW,cAAc,KAAK,CAAC;AAC1C,WAAW,CACPA,EAAS;CAAE,MAAM;CAAS,SAAS;CAAM,WAAW;AAAY,CAAC,CACrE,GAAG,QAAQ,WAAW,YAAY,KAAK,CAAC;;;;;;;AC7BxC,IAAaC,WAAS,GAAI;;AAEXA,SAAO;;;;;;;;;;;;;;;;;ACUtB,IAAI,YAAY,MAAM,kBAAkB,QAAQ,CAChD;AACA,UAAU,SAAS,CAACC,QAAM;AAC1B,YAAY,WAAW,CACnBC,EAAc,YAAY,CAC9B,GAAG,SAAS;;;;;;;;;;ACfZ,IAAa,gCAAgC;CACzC,QAAQ,CACJ,CAEI,CAAC,EAAE,aAAa,oBAAoB,GAAG,EAAE,aAAa,gBAAgB,CAAC,GACvE;EAAE,UAAU;EAAK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OAAO,QAAQ,YAAY,kBAAkB;AACjD;;;;;;;ACniBA,IAAa,SAAS,GAAI;;AAEX,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC2BtB,IAAI,WAAW,MAAM,iBAAiB,OAAO,CAC7C;AACA,SAAS,SAAS,CAAC,MAAM;AACzB,WAAW,WAAW,CAClBC,EAAc,WAAW,CAC7B,GAAG,QAAQ"}
@@ -0,0 +1,116 @@
1
+ import { G as t, I as T, K as __decorate, W as i } from "./composition.js";
2
+ import { n as Button, t as styles$2 } from "./text-button.js";
3
+ import { n as styles$3 } from "./redispatch-event.js";
4
+ // ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/button/internal/outlined-button.js
5
+ /**
6
+ * @license
7
+ * Copyright 2021 Google LLC
8
+ * SPDX-License-Identifier: Apache-2.0
9
+ */
10
+ /**
11
+ * An outlined button component.
12
+ */
13
+ var OutlinedButton = class extends Button {
14
+ renderElevationOrOutline() {
15
+ return T`<div class="outline"></div>`;
16
+ }
17
+ };
18
+ // ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/button/internal/outlined-styles.cssresult.js
19
+ /**
20
+ * @license
21
+ * Copyright 2026 Google LLC
22
+ * SPDX-License-Identifier: Apache-2.0
23
+ */
24
+ var styles$1 = i`:host{--_container-height: var(--md-outlined-button-container-height, 40px);--_disabled-label-text-color: var(--md-outlined-button-disabled-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-label-text-opacity: var(--md-outlined-button-disabled-label-text-opacity, 0.38);--_disabled-outline-color: var(--md-outlined-button-disabled-outline-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-outline-opacity: var(--md-outlined-button-disabled-outline-opacity, 0.12);--_focus-label-text-color: var(--md-outlined-button-focus-label-text-color, var(--md-sys-color-primary, #6750a4));--_hover-label-text-color: var(--md-outlined-button-hover-label-text-color, var(--md-sys-color-primary, #6750a4));--_hover-state-layer-color: var(--md-outlined-button-hover-state-layer-color, var(--md-sys-color-primary, #6750a4));--_hover-state-layer-opacity: var(--md-outlined-button-hover-state-layer-opacity, 0.08);--_label-text-color: var(--md-outlined-button-label-text-color, var(--md-sys-color-primary, #6750a4));--_label-text-font: var(--md-outlined-button-label-text-font, var(--md-sys-typescale-label-large-font, var(--md-ref-typeface-plain, Roboto)));--_label-text-line-height: var(--md-outlined-button-label-text-line-height, var(--md-sys-typescale-label-large-line-height, 1.25rem));--_label-text-size: var(--md-outlined-button-label-text-size, var(--md-sys-typescale-label-large-size, 0.875rem));--_label-text-weight: var(--md-outlined-button-label-text-weight, var(--md-sys-typescale-label-large-weight, var(--md-ref-typeface-weight-medium, 500)));--_outline-color: var(--md-outlined-button-outline-color, var(--md-sys-color-outline, #79747e));--_outline-width: var(--md-outlined-button-outline-width, 1px);--_pressed-label-text-color: var(--md-outlined-button-pressed-label-text-color, var(--md-sys-color-primary, #6750a4));--_pressed-outline-color: var(--md-outlined-button-pressed-outline-color, var(--md-sys-color-outline, #79747e));--_pressed-state-layer-color: var(--md-outlined-button-pressed-state-layer-color, var(--md-sys-color-primary, #6750a4));--_pressed-state-layer-opacity: var(--md-outlined-button-pressed-state-layer-opacity, 0.12);--_disabled-icon-color: var(--md-outlined-button-disabled-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-icon-opacity: var(--md-outlined-button-disabled-icon-opacity, 0.38);--_focus-icon-color: var(--md-outlined-button-focus-icon-color, var(--md-sys-color-primary, #6750a4));--_hover-icon-color: var(--md-outlined-button-hover-icon-color, var(--md-sys-color-primary, #6750a4));--_icon-color: var(--md-outlined-button-icon-color, var(--md-sys-color-primary, #6750a4));--_icon-size: var(--md-outlined-button-icon-size, 18px);--_pressed-icon-color: var(--md-outlined-button-pressed-icon-color, var(--md-sys-color-primary, #6750a4));--_container-shape-start-start: var(--md-outlined-button-container-shape-start-start, var(--md-outlined-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-start-end: var(--md-outlined-button-container-shape-start-end, var(--md-outlined-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-end-end: var(--md-outlined-button-container-shape-end-end, var(--md-outlined-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-end-start: var(--md-outlined-button-container-shape-end-start, var(--md-outlined-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_leading-space: var(--md-outlined-button-leading-space, 24px);--_trailing-space: var(--md-outlined-button-trailing-space, 24px);--_with-leading-icon-leading-space: var(--md-outlined-button-with-leading-icon-leading-space, 16px);--_with-leading-icon-trailing-space: var(--md-outlined-button-with-leading-icon-trailing-space, 24px);--_with-trailing-icon-leading-space: var(--md-outlined-button-with-trailing-icon-leading-space, 24px);--_with-trailing-icon-trailing-space: var(--md-outlined-button-with-trailing-icon-trailing-space, 16px);--_container-color: none;--_disabled-container-color: none;--_disabled-container-opacity: 0}.outline{inset:0;border-style:solid;position:absolute;box-sizing:border-box;border-color:var(--_outline-color);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)}:host(:active) .outline{border-color:var(--_pressed-outline-color)}:host(:is([disabled],[soft-disabled])) .outline{border-color:var(--_disabled-outline-color);opacity:var(--_disabled-outline-opacity)}@media(forced-colors: active){:host(:is([disabled],[soft-disabled])) .background{border-color:GrayText}:host(:is([disabled],[soft-disabled])) .outline{opacity:1}}.outline,md-ripple{border-width:var(--_outline-width)}md-ripple{inline-size:calc(100% - 2*var(--_outline-width));block-size:calc(100% - 2*var(--_outline-width));border-style:solid;border-color:rgba(0,0,0,0)}
25
+ `;
26
+ styles$1.styleSheet;
27
+ // ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/button/outlined-button.js
28
+ /**
29
+ * @license
30
+ * Copyright 2021 Google LLC
31
+ * SPDX-License-Identifier: Apache-2.0
32
+ */
33
+ /**
34
+ * @summary Buttons help people take action, such as sending an email, sharing a
35
+ * document, or liking a comment.
36
+ *
37
+ * @description
38
+ * __Emphasis:__ Medium emphasis – For important actions that don’t distract
39
+ * from other onscreen elements.
40
+ *
41
+ * __Rationale:__ Use an outlined button for actions that need attention but
42
+ * aren’t the primary action, such as “See all” or “Add to cart.” This is also
43
+ * the button to use for giving someone the opportunity to change their mind or
44
+ * escape a flow.
45
+ *
46
+ * __Example usages:__
47
+ * - Reply
48
+ * - View all
49
+ * - Add to cart
50
+ * - Take out of trash
51
+ *
52
+ * @final
53
+ * @suppress {visibility}
54
+ */
55
+ var MdOutlinedButton = class MdOutlinedButton extends OutlinedButton {};
56
+ MdOutlinedButton.styles = [styles$2, styles$1];
57
+ MdOutlinedButton = __decorate([t("md-outlined-button")], MdOutlinedButton);
58
+ // ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/button/internal/filled-button.js
59
+ /**
60
+ * @license
61
+ * Copyright 2021 Google LLC
62
+ * SPDX-License-Identifier: Apache-2.0
63
+ */
64
+ /**
65
+ * A filled button component.
66
+ */
67
+ var FilledButton = class extends Button {
68
+ renderElevationOrOutline() {
69
+ return T`<md-elevation part="elevation"></md-elevation>`;
70
+ }
71
+ };
72
+ // ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/button/internal/filled-styles.cssresult.js
73
+ /**
74
+ * @license
75
+ * Copyright 2026 Google LLC
76
+ * SPDX-License-Identifier: Apache-2.0
77
+ */
78
+ var styles = i`:host{--_container-color: var(--md-filled-button-container-color, var(--md-sys-color-primary, #6750a4));--_container-elevation: var(--md-filled-button-container-elevation, 0);--_container-height: var(--md-filled-button-container-height, 40px);--_container-shadow-color: var(--md-filled-button-container-shadow-color, var(--md-sys-color-shadow, #000));--_disabled-container-color: var(--md-filled-button-disabled-container-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-container-elevation: var(--md-filled-button-disabled-container-elevation, 0);--_disabled-container-opacity: var(--md-filled-button-disabled-container-opacity, 0.12);--_disabled-label-text-color: var(--md-filled-button-disabled-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-label-text-opacity: var(--md-filled-button-disabled-label-text-opacity, 0.38);--_focus-container-elevation: var(--md-filled-button-focus-container-elevation, 0);--_focus-label-text-color: var(--md-filled-button-focus-label-text-color, var(--md-sys-color-on-primary, #fff));--_hover-container-elevation: var(--md-filled-button-hover-container-elevation, 1);--_hover-label-text-color: var(--md-filled-button-hover-label-text-color, var(--md-sys-color-on-primary, #fff));--_hover-state-layer-color: var(--md-filled-button-hover-state-layer-color, var(--md-sys-color-on-primary, #fff));--_hover-state-layer-opacity: var(--md-filled-button-hover-state-layer-opacity, 0.08);--_label-text-color: var(--md-filled-button-label-text-color, var(--md-sys-color-on-primary, #fff));--_label-text-font: var(--md-filled-button-label-text-font, var(--md-sys-typescale-label-large-font, var(--md-ref-typeface-plain, Roboto)));--_label-text-line-height: var(--md-filled-button-label-text-line-height, var(--md-sys-typescale-label-large-line-height, 1.25rem));--_label-text-size: var(--md-filled-button-label-text-size, var(--md-sys-typescale-label-large-size, 0.875rem));--_label-text-weight: var(--md-filled-button-label-text-weight, var(--md-sys-typescale-label-large-weight, var(--md-ref-typeface-weight-medium, 500)));--_pressed-container-elevation: var(--md-filled-button-pressed-container-elevation, 0);--_pressed-label-text-color: var(--md-filled-button-pressed-label-text-color, var(--md-sys-color-on-primary, #fff));--_pressed-state-layer-color: var(--md-filled-button-pressed-state-layer-color, var(--md-sys-color-on-primary, #fff));--_pressed-state-layer-opacity: var(--md-filled-button-pressed-state-layer-opacity, 0.12);--_disabled-icon-color: var(--md-filled-button-disabled-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-icon-opacity: var(--md-filled-button-disabled-icon-opacity, 0.38);--_focus-icon-color: var(--md-filled-button-focus-icon-color, var(--md-sys-color-on-primary, #fff));--_hover-icon-color: var(--md-filled-button-hover-icon-color, var(--md-sys-color-on-primary, #fff));--_icon-color: var(--md-filled-button-icon-color, var(--md-sys-color-on-primary, #fff));--_icon-size: var(--md-filled-button-icon-size, 18px);--_pressed-icon-color: var(--md-filled-button-pressed-icon-color, var(--md-sys-color-on-primary, #fff));--_container-shape-start-start: var(--md-filled-button-container-shape-start-start, var(--md-filled-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-start-end: var(--md-filled-button-container-shape-start-end, var(--md-filled-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-end-end: var(--md-filled-button-container-shape-end-end, var(--md-filled-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-end-start: var(--md-filled-button-container-shape-end-start, var(--md-filled-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_leading-space: var(--md-filled-button-leading-space, 24px);--_trailing-space: var(--md-filled-button-trailing-space, 24px);--_with-leading-icon-leading-space: var(--md-filled-button-with-leading-icon-leading-space, 16px);--_with-leading-icon-trailing-space: var(--md-filled-button-with-leading-icon-trailing-space, 24px);--_with-trailing-icon-leading-space: var(--md-filled-button-with-trailing-icon-leading-space, 24px);--_with-trailing-icon-trailing-space: var(--md-filled-button-with-trailing-icon-trailing-space, 16px)}
79
+ `;
80
+ styles.styleSheet;
81
+ // ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/button/filled-button.js
82
+ /**
83
+ * @license
84
+ * Copyright 2021 Google LLC
85
+ * SPDX-License-Identifier: Apache-2.0
86
+ */
87
+ /**
88
+ * @summary Buttons help people take action, such as sending an email, sharing a
89
+ * document, or liking a comment.
90
+ *
91
+ * @description
92
+ * __Emphasis:__ High emphasis – For the primary, most important, or most common
93
+ * action on a screen
94
+ *
95
+ * __Rationale:__ The filled button’s contrasting surface color makes it the
96
+ * most prominent button after the FAB. It’s used for final or unblocking
97
+ * actions in a flow.
98
+ *
99
+ * __Example usages:__
100
+ * - Save
101
+ * - Confirm
102
+ * - Done
103
+ *
104
+ * @final
105
+ * @suppress {visibility}
106
+ */
107
+ var MdFilledButton = class MdFilledButton extends FilledButton {};
108
+ MdFilledButton.styles = [
109
+ styles$2,
110
+ styles$3,
111
+ styles
112
+ ];
113
+ MdFilledButton = __decorate([t("md-filled-button")], MdFilledButton);
114
+ export {};
115
+
116
+ //# sourceMappingURL=filled-button.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filled-button.js","names":["styles","sharedStyles","outlinedStyles","customElement","sharedStyles","sharedElevationStyles","filledStyles","customElement"],"sources":["../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/button/internal/outlined-button.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/button/internal/outlined-styles.cssresult.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/button/outlined-button.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/button/internal/filled-button.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/button/internal/filled-styles.cssresult.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/button/filled-button.js"],"sourcesContent":["/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { html } from 'lit';\nimport { Button } from './button.js';\n/**\n * An outlined button component.\n */\nexport class OutlinedButton extends Button {\n renderElevationOrOutline() {\n return html `<div class=\"outline\"></div>`;\n }\n}\n//# sourceMappingURL=outlined-button.js.map","/**\n * @license\n * Copyright 2026 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n// Generated stylesheet for ./button/internal/outlined-styles.css.\nimport { css } from 'lit';\nexport const styles = css `:host{--_container-height: var(--md-outlined-button-container-height, 40px);--_disabled-label-text-color: var(--md-outlined-button-disabled-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-label-text-opacity: var(--md-outlined-button-disabled-label-text-opacity, 0.38);--_disabled-outline-color: var(--md-outlined-button-disabled-outline-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-outline-opacity: var(--md-outlined-button-disabled-outline-opacity, 0.12);--_focus-label-text-color: var(--md-outlined-button-focus-label-text-color, var(--md-sys-color-primary, #6750a4));--_hover-label-text-color: var(--md-outlined-button-hover-label-text-color, var(--md-sys-color-primary, #6750a4));--_hover-state-layer-color: var(--md-outlined-button-hover-state-layer-color, var(--md-sys-color-primary, #6750a4));--_hover-state-layer-opacity: var(--md-outlined-button-hover-state-layer-opacity, 0.08);--_label-text-color: var(--md-outlined-button-label-text-color, var(--md-sys-color-primary, #6750a4));--_label-text-font: var(--md-outlined-button-label-text-font, var(--md-sys-typescale-label-large-font, var(--md-ref-typeface-plain, Roboto)));--_label-text-line-height: var(--md-outlined-button-label-text-line-height, var(--md-sys-typescale-label-large-line-height, 1.25rem));--_label-text-size: var(--md-outlined-button-label-text-size, var(--md-sys-typescale-label-large-size, 0.875rem));--_label-text-weight: var(--md-outlined-button-label-text-weight, var(--md-sys-typescale-label-large-weight, var(--md-ref-typeface-weight-medium, 500)));--_outline-color: var(--md-outlined-button-outline-color, var(--md-sys-color-outline, #79747e));--_outline-width: var(--md-outlined-button-outline-width, 1px);--_pressed-label-text-color: var(--md-outlined-button-pressed-label-text-color, var(--md-sys-color-primary, #6750a4));--_pressed-outline-color: var(--md-outlined-button-pressed-outline-color, var(--md-sys-color-outline, #79747e));--_pressed-state-layer-color: var(--md-outlined-button-pressed-state-layer-color, var(--md-sys-color-primary, #6750a4));--_pressed-state-layer-opacity: var(--md-outlined-button-pressed-state-layer-opacity, 0.12);--_disabled-icon-color: var(--md-outlined-button-disabled-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-icon-opacity: var(--md-outlined-button-disabled-icon-opacity, 0.38);--_focus-icon-color: var(--md-outlined-button-focus-icon-color, var(--md-sys-color-primary, #6750a4));--_hover-icon-color: var(--md-outlined-button-hover-icon-color, var(--md-sys-color-primary, #6750a4));--_icon-color: var(--md-outlined-button-icon-color, var(--md-sys-color-primary, #6750a4));--_icon-size: var(--md-outlined-button-icon-size, 18px);--_pressed-icon-color: var(--md-outlined-button-pressed-icon-color, var(--md-sys-color-primary, #6750a4));--_container-shape-start-start: var(--md-outlined-button-container-shape-start-start, var(--md-outlined-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-start-end: var(--md-outlined-button-container-shape-start-end, var(--md-outlined-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-end-end: var(--md-outlined-button-container-shape-end-end, var(--md-outlined-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-end-start: var(--md-outlined-button-container-shape-end-start, var(--md-outlined-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_leading-space: var(--md-outlined-button-leading-space, 24px);--_trailing-space: var(--md-outlined-button-trailing-space, 24px);--_with-leading-icon-leading-space: var(--md-outlined-button-with-leading-icon-leading-space, 16px);--_with-leading-icon-trailing-space: var(--md-outlined-button-with-leading-icon-trailing-space, 24px);--_with-trailing-icon-leading-space: var(--md-outlined-button-with-trailing-icon-leading-space, 24px);--_with-trailing-icon-trailing-space: var(--md-outlined-button-with-trailing-icon-trailing-space, 16px);--_container-color: none;--_disabled-container-color: none;--_disabled-container-opacity: 0}.outline{inset:0;border-style:solid;position:absolute;box-sizing:border-box;border-color:var(--_outline-color);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)}:host(:active) .outline{border-color:var(--_pressed-outline-color)}:host(:is([disabled],[soft-disabled])) .outline{border-color:var(--_disabled-outline-color);opacity:var(--_disabled-outline-opacity)}@media(forced-colors: active){:host(:is([disabled],[soft-disabled])) .background{border-color:GrayText}:host(:is([disabled],[soft-disabled])) .outline{opacity:1}}.outline,md-ripple{border-width:var(--_outline-width)}md-ripple{inline-size:calc(100% - 2*var(--_outline-width));block-size:calc(100% - 2*var(--_outline-width));border-style:solid;border-color:rgba(0,0,0,0)}\n`;\nexport default styles.styleSheet;\n//# sourceMappingURL=outlined-styles.cssresult.js.map","/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { __decorate } from \"tslib\";\nimport { customElement } from 'lit/decorators.js';\nimport { OutlinedButton } from './internal/outlined-button.js';\nimport { styles as outlinedStyles } from './internal/outlined-styles.cssresult.js';\nimport { styles as sharedStyles } from './internal/shared-styles.cssresult.js';\n/**\n * @summary Buttons help people take action, such as sending an email, sharing a\n * document, or liking a comment.\n *\n * @description\n * __Emphasis:__ Medium emphasis – For important actions that don’t distract\n * from other onscreen elements.\n *\n * __Rationale:__ Use an outlined button for actions that need attention but\n * aren’t the primary action, such as “See all” or “Add to cart.” This is also\n * the button to use for giving someone the opportunity to change their mind or\n * escape a flow.\n *\n * __Example usages:__\n * - Reply\n * - View all\n * - Add to cart\n * - Take out of trash\n *\n * @final\n * @suppress {visibility}\n */\nlet MdOutlinedButton = class MdOutlinedButton extends OutlinedButton {\n};\nMdOutlinedButton.styles = [sharedStyles, outlinedStyles];\nMdOutlinedButton = __decorate([\n customElement('md-outlined-button')\n], MdOutlinedButton);\nexport { MdOutlinedButton };\n//# sourceMappingURL=outlined-button.js.map","/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport '../../elevation/elevation.js';\nimport { html } from 'lit';\nimport { Button } from './button.js';\n/**\n * A filled button component.\n */\nexport class FilledButton extends Button {\n renderElevationOrOutline() {\n return html `<md-elevation part=\"elevation\"></md-elevation>`;\n }\n}\n//# sourceMappingURL=filled-button.js.map","/**\n * @license\n * Copyright 2026 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n// Generated stylesheet for ./button/internal/filled-styles.css.\nimport { css } from 'lit';\nexport const styles = css `:host{--_container-color: var(--md-filled-button-container-color, var(--md-sys-color-primary, #6750a4));--_container-elevation: var(--md-filled-button-container-elevation, 0);--_container-height: var(--md-filled-button-container-height, 40px);--_container-shadow-color: var(--md-filled-button-container-shadow-color, var(--md-sys-color-shadow, #000));--_disabled-container-color: var(--md-filled-button-disabled-container-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-container-elevation: var(--md-filled-button-disabled-container-elevation, 0);--_disabled-container-opacity: var(--md-filled-button-disabled-container-opacity, 0.12);--_disabled-label-text-color: var(--md-filled-button-disabled-label-text-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-label-text-opacity: var(--md-filled-button-disabled-label-text-opacity, 0.38);--_focus-container-elevation: var(--md-filled-button-focus-container-elevation, 0);--_focus-label-text-color: var(--md-filled-button-focus-label-text-color, var(--md-sys-color-on-primary, #fff));--_hover-container-elevation: var(--md-filled-button-hover-container-elevation, 1);--_hover-label-text-color: var(--md-filled-button-hover-label-text-color, var(--md-sys-color-on-primary, #fff));--_hover-state-layer-color: var(--md-filled-button-hover-state-layer-color, var(--md-sys-color-on-primary, #fff));--_hover-state-layer-opacity: var(--md-filled-button-hover-state-layer-opacity, 0.08);--_label-text-color: var(--md-filled-button-label-text-color, var(--md-sys-color-on-primary, #fff));--_label-text-font: var(--md-filled-button-label-text-font, var(--md-sys-typescale-label-large-font, var(--md-ref-typeface-plain, Roboto)));--_label-text-line-height: var(--md-filled-button-label-text-line-height, var(--md-sys-typescale-label-large-line-height, 1.25rem));--_label-text-size: var(--md-filled-button-label-text-size, var(--md-sys-typescale-label-large-size, 0.875rem));--_label-text-weight: var(--md-filled-button-label-text-weight, var(--md-sys-typescale-label-large-weight, var(--md-ref-typeface-weight-medium, 500)));--_pressed-container-elevation: var(--md-filled-button-pressed-container-elevation, 0);--_pressed-label-text-color: var(--md-filled-button-pressed-label-text-color, var(--md-sys-color-on-primary, #fff));--_pressed-state-layer-color: var(--md-filled-button-pressed-state-layer-color, var(--md-sys-color-on-primary, #fff));--_pressed-state-layer-opacity: var(--md-filled-button-pressed-state-layer-opacity, 0.12);--_disabled-icon-color: var(--md-filled-button-disabled-icon-color, var(--md-sys-color-on-surface, #1d1b20));--_disabled-icon-opacity: var(--md-filled-button-disabled-icon-opacity, 0.38);--_focus-icon-color: var(--md-filled-button-focus-icon-color, var(--md-sys-color-on-primary, #fff));--_hover-icon-color: var(--md-filled-button-hover-icon-color, var(--md-sys-color-on-primary, #fff));--_icon-color: var(--md-filled-button-icon-color, var(--md-sys-color-on-primary, #fff));--_icon-size: var(--md-filled-button-icon-size, 18px);--_pressed-icon-color: var(--md-filled-button-pressed-icon-color, var(--md-sys-color-on-primary, #fff));--_container-shape-start-start: var(--md-filled-button-container-shape-start-start, var(--md-filled-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-start-end: var(--md-filled-button-container-shape-start-end, var(--md-filled-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-end-end: var(--md-filled-button-container-shape-end-end, var(--md-filled-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_container-shape-end-start: var(--md-filled-button-container-shape-end-start, var(--md-filled-button-container-shape, var(--md-sys-shape-corner-full, 9999px)));--_leading-space: var(--md-filled-button-leading-space, 24px);--_trailing-space: var(--md-filled-button-trailing-space, 24px);--_with-leading-icon-leading-space: var(--md-filled-button-with-leading-icon-leading-space, 16px);--_with-leading-icon-trailing-space: var(--md-filled-button-with-leading-icon-trailing-space, 24px);--_with-trailing-icon-leading-space: var(--md-filled-button-with-trailing-icon-leading-space, 24px);--_with-trailing-icon-trailing-space: var(--md-filled-button-with-trailing-icon-trailing-space, 16px)}\n`;\nexport default styles.styleSheet;\n//# sourceMappingURL=filled-styles.cssresult.js.map","/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { __decorate } from \"tslib\";\nimport { customElement } from 'lit/decorators.js';\nimport { FilledButton } from './internal/filled-button.js';\nimport { styles as filledStyles } from './internal/filled-styles.cssresult.js';\nimport { styles as sharedElevationStyles } from './internal/shared-elevation-styles.cssresult.js';\nimport { styles as sharedStyles } from './internal/shared-styles.cssresult.js';\n/**\n * @summary Buttons help people take action, such as sending an email, sharing a\n * document, or liking a comment.\n *\n * @description\n * __Emphasis:__ High emphasis – For the primary, most important, or most common\n * action on a screen\n *\n * __Rationale:__ The filled button’s contrasting surface color makes it the\n * most prominent button after the FAB. It’s used for final or unblocking\n * actions in a flow.\n *\n * __Example usages:__\n * - Save\n * - Confirm\n * - Done\n *\n * @final\n * @suppress {visibility}\n */\nlet MdFilledButton = class MdFilledButton extends FilledButton {\n};\nMdFilledButton.styles = [\n sharedStyles,\n sharedElevationStyles,\n filledStyles,\n];\nMdFilledButton = __decorate([\n customElement('md-filled-button')\n], MdFilledButton);\nexport { MdFilledButton };\n//# sourceMappingURL=filled-button.js.map"],"ignoreList":[0,1,2,3,4,5],"mappings":";;;;;;;;;;;;AAUA,IAAa,iBAAb,cAAoC,OAAO;CACvC,2BAA2B;EACvB,OAAO,CAAK;CAChB;AACJ;;;;;;;ACPA,IAAaA,WAAS,CAAI;;AAEXA,SAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACuBtB,IAAI,mBAAmB,MAAM,yBAAyB,eAAe,CACrE;AACA,iBAAiB,SAAS,CAACC,UAAcC,QAAc;AACvD,mBAAmB,WAAW,CAC1BC,EAAc,oBAAoB,CACtC,GAAG,gBAAgB;;;;;;;;;;AC1BnB,IAAa,eAAb,cAAkC,OAAO;CACrC,2BAA2B;EACvB,OAAO,CAAK;CAChB;AACJ;;;;;;;ACRA,IAAa,SAAS,CAAI;;AAEX,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;ACsBtB,IAAI,iBAAiB,MAAM,uBAAuB,aAAa,CAC/D;AACA,eAAe,SAAS;CACpBC;CACAC;CACAC;AACJ;AACA,iBAAiB,WAAW,CACxBC,EAAc,kBAAkB,CACpC,GAAG,cAAc"}
@@ -1,49 +1,5 @@
1
- import { F as t, I as __decorate, M as r, N as n, O as T, P as i$1, T as A, _ as i$2, b as e, d as mixinFormAssociated, g as mixinDelegatesAria, l as mixinFormSubmitter, p as mixinElementInternals, v as u, w as i } from "./composition.js";
2
- // ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/icon/internal/icon.js
3
- /**
4
- * @license
5
- * Copyright 2022 Google LLC
6
- * SPDX-License-Identifier: Apache-2.0
7
- */
8
- /**
9
- * An icon element.
10
- */
11
- var Icon = class extends i {
12
- render() {
13
- return T`<slot></slot>`;
14
- }
15
- connectedCallback() {
16
- super.connectedCallback();
17
- if (this.getAttribute("aria-hidden") === "false") {
18
- this.removeAttribute("aria-hidden");
19
- return;
20
- }
21
- this.setAttribute("aria-hidden", "true");
22
- }
23
- };
24
- // ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/icon/internal/icon-styles.cssresult.js
25
- /**
26
- * @license
27
- * Copyright 2026 Google LLC
28
- * SPDX-License-Identifier: Apache-2.0
29
- */
30
- var styles$2 = i$1`: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%}
31
- `;
32
- styles$2.styleSheet;
33
- // ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/icon/icon.js
34
- /**
35
- * @license
36
- * Copyright 2022 Google LLC
37
- * SPDX-License-Identifier: Apache-2.0
38
- */
39
- /**
40
- * @final
41
- * @suppress {visibility}
42
- */
43
- var MdIcon = class MdIcon extends Icon {};
44
- /** @nocollapse */
45
- MdIcon.styles = [styles$2];
46
- MdIcon = __decorate([t("md-icon")], MdIcon);
1
+ import { G as t, H as r, I as T, K as __decorate, M as i, N as A, O as e, S as mixinElementInternals, T as mixinDelegatesAria, U as n, W as i$1, b as mixinFormAssociated, v as mixinFormSubmitter } from "./composition.js";
2
+ import { n as u, t as i$2 } from "./static-html.js";
47
3
  // ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/internal/controller/is-rtl.js
48
4
  /**
49
5
  * @license
@@ -1 +1 @@
1
- {"version":3,"file":"icon-button.js","names":["LitElement","styles","styles","customElement","LitElement","nothing","classMap","property","state","styles","sharedStyles","customElement"],"sources":["../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/icon/internal/icon.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/icon/internal/icon-styles.cssresult.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/icon/icon.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/internal/controller/is-rtl.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/iconbutton/internal/icon-button.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/iconbutton/internal/shared-styles.cssresult.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/iconbutton/internal/standard-styles.cssresult.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/iconbutton/icon-button.js"],"sourcesContent":["/**\n * @license\n * Copyright 2022 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { html, LitElement } from 'lit';\n/**\n * An icon element.\n */\nexport class Icon extends LitElement {\n render() {\n return html `<slot></slot>`;\n }\n connectedCallback() {\n super.connectedCallback();\n const ariaHidden = this.getAttribute('aria-hidden');\n if (ariaHidden === 'false') {\n // Allow the user to set `aria-hidden=\"false\"` to create an icon that is\n // announced by screenreaders.\n this.removeAttribute('aria-hidden');\n return;\n }\n // Needed for VoiceOver, which will create a \"group\" if the element is a\n // sibling to other content.\n this.setAttribute('aria-hidden', 'true');\n }\n}\n//# sourceMappingURL=icon.js.map","/**\n * @license\n * Copyright 2026 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n// Generated stylesheet for ./icon/internal/icon-styles.css.\nimport { css } from 'lit';\nexport const styles = css `: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%}\n`;\nexport default styles.styleSheet;\n//# sourceMappingURL=icon-styles.cssresult.js.map","/**\n * @license\n * Copyright 2022 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { __decorate } from \"tslib\";\nimport { customElement } from 'lit/decorators.js';\nimport { Icon } from './internal/icon.js';\nimport { styles } from './internal/icon-styles.cssresult.js';\n/**\n * @final\n * @suppress {visibility}\n */\nlet MdIcon = class MdIcon extends Icon {\n};\n/** @nocollapse */\nMdIcon.styles = [styles];\nMdIcon = __decorate([\n customElement('md-icon')\n], MdIcon);\nexport { MdIcon };\n//# sourceMappingURL=icon.js.map","/**\n * @license\n * Copyright 2022 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n/**\n * Returns `true` if the given element is in a right-to-left direction.\n *\n * @param el Element to determine direction from\n * @param shouldCheck Optional. If `false`, return `false` without checking\n * direction. Determining the direction of `el` is somewhat expensive, so\n * this parameter can be used as a conditional guard. Defaults to `true`.\n */\nexport function isRtl(el, shouldCheck = true) {\n return (shouldCheck &&\n getComputedStyle(el).getPropertyValue('direction').trim() === 'rtl');\n}\n//# sourceMappingURL=is-rtl.js.map","/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { __decorate } from \"tslib\";\nimport '../../focus/md-focus-ring.js';\nimport '../../ripple/ripple.js';\nimport { html, isServer, LitElement, nothing } from 'lit';\nimport { property, state } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { literal, html as staticHtml } from 'lit/static-html.js';\nimport { mixinDelegatesAria } from '../../internal/aria/delegate.js';\nimport { isRtl } from '../../internal/controller/is-rtl.js';\nimport { afterDispatch, setupDispatchHooks, } from '../../internal/events/dispatch-hooks.js';\nimport { mixinElementInternals } from '../../labs/behaviors/element-internals.js';\nimport { mixinFormAssociated } from '../../labs/behaviors/form-associated.js';\nimport { mixinFormSubmitter } from '../../labs/behaviors/form-submitter.js';\n// Separate variable needed for closure.\nconst iconButtonBaseClass = mixinDelegatesAria(mixinFormSubmitter(mixinFormAssociated(mixinElementInternals(LitElement))));\n/**\n * A button for rendering icons.\n *\n * @fires input {InputEvent} Dispatched when a toggle button toggles --bubbles\n * --composed\n * @fires change {Event} Dispatched when a toggle button toggles --bubbles\n */\nexport class IconButton extends iconButtonBaseClass {\n constructor() {\n super();\n /**\n * \"Soft-disables\" the icon button (disabled but still focusable).\n *\n * Use this when an icon button needs increased visibility when disabled. See\n * https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\n * for more guidance on when this is needed.\n */\n this.softDisabled = false;\n /**\n * Flips the icon if it is in an RTL context at startup.\n */\n this.flipIconInRtl = false;\n /**\n * Sets the underlying `HTMLAnchorElement`'s `href` resource attribute.\n */\n this.href = '';\n /**\n * The filename to use when downloading the linked resource.\n * If not specified, the browser will determine a filename.\n * This is only applicable when the icon button is used as a link (`href` is set).\n */\n this.download = '';\n /**\n * Sets the underlying `HTMLAnchorElement`'s `target` attribute.\n */\n this.target = '';\n /**\n * The `aria-label` of the button when the button is toggleable and selected.\n */\n this.ariaLabelSelected = '';\n /**\n * When true, the button will toggle between selected and unselected\n * states\n */\n this.toggle = false;\n /**\n * Sets the selected state. When false, displays the default icon. When true,\n * displays the selected icon, or the default icon If no `slot=\"selected\"`\n * icon is provided.\n */\n this.selected = false;\n this.flipIcon = isRtl(this, this.flipIconInRtl);\n if (isServer)\n return;\n setupDispatchHooks(this, 'click');\n this.addEventListener('click', (event) => {\n // If the button is soft-disabled or a disabled link, we need to\n // explicitly prevent the click from propagating to other event listeners\n // as well as prevent the default action. This is because the underlying\n // `<button>` or `<a>` element is not actually `:disabled`.\n if (this.softDisabled || (this.disabled && this.href)) {\n event.stopImmediatePropagation();\n event.preventDefault();\n return;\n }\n // Save current selected state to toggle, since an external event listener\n // may also change the selected state on click.\n const wasSelected = this.selected;\n afterDispatch(event, () => {\n if (!this.toggle || this.disabled || event.defaultPrevented) {\n return;\n }\n this.selected = !wasSelected;\n this.dispatchEvent(new InputEvent('input', { bubbles: true, composed: true }));\n // Bubbles but does not compose to mimic native browser <input> & <select>\n // Additionally, native change event is not an InputEvent.\n this.dispatchEvent(new Event('change', { bubbles: true }));\n });\n });\n }\n willUpdate() {\n // Link buttons cannot be disabled or soft-disabled.\n if (this.href) {\n this.disabled = false;\n this.softDisabled = false;\n }\n }\n render() {\n const tag = this.href ? literal `div` : literal `button`;\n // Needed for closure conformance\n const { ariaLabel, ariaHasPopup, ariaExpanded } = this;\n const hasToggledAriaLabel = ariaLabel && this.ariaLabelSelected;\n const ariaPressedValue = !this.toggle ? nothing : this.selected;\n let ariaLabelValue = nothing;\n if (!this.href) {\n ariaLabelValue =\n hasToggledAriaLabel && this.selected\n ? this.ariaLabelSelected\n : ariaLabel;\n }\n return staticHtml `<${tag}\n class=\"icon-button ${classMap(this.getRenderClasses())}\"\n id=\"button\"\n aria-label=\"${ariaLabelValue || nothing}\"\n aria-haspopup=\"${(!this.href && ariaHasPopup) || nothing}\"\n aria-expanded=\"${(!this.href && ariaExpanded) || nothing}\"\n aria-pressed=\"${ariaPressedValue}\"\n aria-disabled=${(!this.href && this.softDisabled) || nothing}\n ?disabled=\"${!this.href && this.disabled}\">\n ${this.renderFocusRing()}\n ${this.renderRipple()}\n ${!this.selected ? this.renderIcon() : nothing}\n ${this.selected ? this.renderSelectedIcon() : nothing}\n ${this.href ? this.renderLink() : this.renderTouchTarget()}\n </${tag}>`;\n }\n renderLink() {\n // Needed for closure conformance\n const { ariaLabel } = this;\n return html `\n <a\n class=\"link\"\n id=\"link\"\n href=\"${this.href}\"\n download=\"${this.download || nothing}\"\n target=\"${this.target || nothing}\"\n aria-label=\"${ariaLabel || nothing}\">\n ${this.renderTouchTarget()}\n </a>\n `;\n }\n getRenderClasses() {\n return {\n 'flip-icon': this.flipIcon,\n 'selected': this.toggle && this.selected,\n };\n }\n renderIcon() {\n return html `<span class=\"icon\"><slot></slot></span>`;\n }\n renderSelectedIcon() {\n // Use default slot as fallback to not require specifying multiple icons\n return html `<span class=\"icon icon--selected\"\n ><slot name=\"selected\"><slot></slot></slot\n ></span>`;\n }\n renderTouchTarget() {\n return html `<span class=\"touch\"></span>`;\n }\n renderFocusRing() {\n // TODO(b/310046938): use the same id for both elements\n return html `<md-focus-ring\n part=\"focus-ring\"\n for=${this.href ? 'link' : 'button'}></md-focus-ring>`;\n }\n renderRipple() {\n const isRippleDisabled = !this.href && (this.disabled || this.softDisabled);\n // TODO(b/310046938): use the same id for both elements\n return html `<md-ripple\n for=${this.href ? 'link' : nothing}\n ?disabled=\"${isRippleDisabled}\"></md-ripple>`;\n }\n connectedCallback() {\n this.flipIcon = isRtl(this, this.flipIconInRtl);\n super.connectedCallback();\n }\n}\n/** @nocollapse */\nIconButton.shadowRootOptions = {\n mode: 'open',\n delegatesFocus: true,\n};\n__decorate([\n property({ type: Boolean, attribute: 'soft-disabled', reflect: true })\n], IconButton.prototype, \"softDisabled\", void 0);\n__decorate([\n property({ type: Boolean, attribute: 'flip-icon-in-rtl' })\n], IconButton.prototype, \"flipIconInRtl\", void 0);\n__decorate([\n property()\n], IconButton.prototype, \"href\", void 0);\n__decorate([\n property()\n], IconButton.prototype, \"download\", void 0);\n__decorate([\n property()\n], IconButton.prototype, \"target\", void 0);\n__decorate([\n property({ attribute: 'aria-label-selected' })\n], IconButton.prototype, \"ariaLabelSelected\", void 0);\n__decorate([\n property({ type: Boolean })\n], IconButton.prototype, \"toggle\", void 0);\n__decorate([\n property({ type: Boolean, reflect: true })\n], IconButton.prototype, \"selected\", void 0);\n__decorate([\n state()\n], IconButton.prototype, \"flipIcon\", void 0);\n//# sourceMappingURL=icon-button.js.map","/**\n * @license\n * Copyright 2026 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n// Generated stylesheet for ./iconbutton/internal/shared-styles.css.\nimport { css } from 'lit';\nexport const styles = css `: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}}\n`;\nexport default styles.styleSheet;\n//# sourceMappingURL=shared-styles.cssresult.js.map","/**\n * @license\n * Copyright 2026 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n// Generated stylesheet for ./iconbutton/internal/standard-styles.css.\nimport { css } from 'lit';\nexport const styles = css `: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)}\n`;\nexport default styles.styleSheet;\n//# sourceMappingURL=standard-styles.cssresult.js.map","/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { __decorate } from \"tslib\";\nimport { customElement } from 'lit/decorators.js';\nimport { IconButton } from './internal/icon-button.js';\nimport { styles as sharedStyles } from './internal/shared-styles.cssresult.js';\nimport { styles } from './internal/standard-styles.cssresult.js';\n/**\n * @summary Icon buttons help people take supplementary actions with a single\n * tap.\n *\n * @description\n * __Emphasis:__ Low emphasis – For optional or supplementary actions with the\n * least amount of prominence.\n *\n * __Rationale:__ The most compact and unobtrusive type of button, icon buttons\n * are used for optional supplementary actions such as \"Bookmark\" or \"Star.\"\n *\n * __Example usages:__\n * - Add to Favorites\n * - Print\n *\n * @final\n * @suppress {visibility}\n */\nlet MdIconButton = class MdIconButton extends IconButton {\n getRenderClasses() {\n return {\n ...super.getRenderClasses(),\n 'standard': true,\n };\n }\n};\nMdIconButton.styles = [sharedStyles, styles];\nMdIconButton = __decorate([\n customElement('md-icon-button')\n], MdIconButton);\nexport { MdIconButton };\n//# sourceMappingURL=icon-button.js.map"],"ignoreList":[0,1,2,3,4,5,6,7],"mappings":";;;;;;;;;;AASA,IAAa,OAAb,cAA0BA,EAAW;CACjC,SAAS;EACL,OAAO,CAAK;CAChB;CACA,oBAAoB;EAChB,MAAM,kBAAkB;EAExB,IADmB,KAAK,aAAa,aACxB,MAAM,SAAS;GAGxB,KAAK,gBAAgB,aAAa;GAClC;EACJ;EAGA,KAAK,aAAa,eAAe,MAAM;CAC3C;AACJ;;;;;;;ACnBA,IAAaC,WAAS,GAAI;;AAEXA,SAAO;;;;;;;;;;;ACItB,IAAI,SAAS,MAAM,eAAe,KAAK,CACvC;;AAEA,OAAO,SAAS,CAACC,QAAM;AACvB,SAAS,WAAW,CAChBC,EAAc,SAAS,CAC3B,GAAG,MAAM;;;;;;;;;;;;;;;ACNT,SAAgB,MAAM,IAAI,cAAc,MAAM;CAC1C,OAAQ,eACJ,iBAAiB,EAAE,CAAC,CAAC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AACzC,WAAW,CACPA,EAAS,EAAE,WAAW,sBAAsB,CAAC,CACjD,GAAG,WAAW,WAAW,qBAAqB,KAAK,CAAC;AACpD,WAAW,CACPA,EAAS,EAAE,MAAM,QAAQ,CAAC,CAC9B,GAAG,WAAW,WAAW,UAAU,KAAK,CAAC;AACzC,WAAW,CACPA,EAAS;CAAE,MAAM;CAAS,SAAS;AAAK,CAAC,CAC7C,GAAG,WAAW,WAAW,YAAY,KAAK,CAAC;AAC3C,WAAW,CACPC,EAAM,CACV,GAAG,WAAW,WAAW,YAAY,KAAK,CAAC;;;;;;;ACnN3C,IAAaC,WAAS,GAAI;;AAEXA,SAAO;;;;;;;ACFtB,IAAa,SAAS,GAAI;;AAEX,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;ACmBtB,IAAI,eAAe,MAAM,qBAAqB,WAAW;CACrD,mBAAmB;EACf,OAAO;GACH,GAAG,MAAM,iBAAiB;GAC1B,YAAY;EAChB;CACJ;AACJ;AACA,aAAa,SAAS,CAACC,UAAc,MAAM;AAC3C,eAAe,WAAW,CACtBC,EAAc,gBAAgB,CAClC,GAAG,YAAY"}
1
+ {"version":3,"file":"icon-button.js","names":["LitElement","nothing","classMap","property","state","styles","sharedStyles","customElement"],"sources":["../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/internal/controller/is-rtl.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/iconbutton/internal/icon-button.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/iconbutton/internal/shared-styles.cssresult.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/iconbutton/internal/standard-styles.cssresult.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/iconbutton/icon-button.js"],"sourcesContent":["/**\n * @license\n * Copyright 2022 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n/**\n * Returns `true` if the given element is in a right-to-left direction.\n *\n * @param el Element to determine direction from\n * @param shouldCheck Optional. If `false`, return `false` without checking\n * direction. Determining the direction of `el` is somewhat expensive, so\n * this parameter can be used as a conditional guard. Defaults to `true`.\n */\nexport function isRtl(el, shouldCheck = true) {\n return (shouldCheck &&\n getComputedStyle(el).getPropertyValue('direction').trim() === 'rtl');\n}\n//# sourceMappingURL=is-rtl.js.map","/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { __decorate } from \"tslib\";\nimport '../../focus/md-focus-ring.js';\nimport '../../ripple/ripple.js';\nimport { html, isServer, LitElement, nothing } from 'lit';\nimport { property, state } from 'lit/decorators.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { literal, html as staticHtml } from 'lit/static-html.js';\nimport { mixinDelegatesAria } from '../../internal/aria/delegate.js';\nimport { isRtl } from '../../internal/controller/is-rtl.js';\nimport { afterDispatch, setupDispatchHooks, } from '../../internal/events/dispatch-hooks.js';\nimport { mixinElementInternals } from '../../labs/behaviors/element-internals.js';\nimport { mixinFormAssociated } from '../../labs/behaviors/form-associated.js';\nimport { mixinFormSubmitter } from '../../labs/behaviors/form-submitter.js';\n// Separate variable needed for closure.\nconst iconButtonBaseClass = mixinDelegatesAria(mixinFormSubmitter(mixinFormAssociated(mixinElementInternals(LitElement))));\n/**\n * A button for rendering icons.\n *\n * @fires input {InputEvent} Dispatched when a toggle button toggles --bubbles\n * --composed\n * @fires change {Event} Dispatched when a toggle button toggles --bubbles\n */\nexport class IconButton extends iconButtonBaseClass {\n constructor() {\n super();\n /**\n * \"Soft-disables\" the icon button (disabled but still focusable).\n *\n * Use this when an icon button needs increased visibility when disabled. See\n * https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls\n * for more guidance on when this is needed.\n */\n this.softDisabled = false;\n /**\n * Flips the icon if it is in an RTL context at startup.\n */\n this.flipIconInRtl = false;\n /**\n * Sets the underlying `HTMLAnchorElement`'s `href` resource attribute.\n */\n this.href = '';\n /**\n * The filename to use when downloading the linked resource.\n * If not specified, the browser will determine a filename.\n * This is only applicable when the icon button is used as a link (`href` is set).\n */\n this.download = '';\n /**\n * Sets the underlying `HTMLAnchorElement`'s `target` attribute.\n */\n this.target = '';\n /**\n * The `aria-label` of the button when the button is toggleable and selected.\n */\n this.ariaLabelSelected = '';\n /**\n * When true, the button will toggle between selected and unselected\n * states\n */\n this.toggle = false;\n /**\n * Sets the selected state. When false, displays the default icon. When true,\n * displays the selected icon, or the default icon If no `slot=\"selected\"`\n * icon is provided.\n */\n this.selected = false;\n this.flipIcon = isRtl(this, this.flipIconInRtl);\n if (isServer)\n return;\n setupDispatchHooks(this, 'click');\n this.addEventListener('click', (event) => {\n // If the button is soft-disabled or a disabled link, we need to\n // explicitly prevent the click from propagating to other event listeners\n // as well as prevent the default action. This is because the underlying\n // `<button>` or `<a>` element is not actually `:disabled`.\n if (this.softDisabled || (this.disabled && this.href)) {\n event.stopImmediatePropagation();\n event.preventDefault();\n return;\n }\n // Save current selected state to toggle, since an external event listener\n // may also change the selected state on click.\n const wasSelected = this.selected;\n afterDispatch(event, () => {\n if (!this.toggle || this.disabled || event.defaultPrevented) {\n return;\n }\n this.selected = !wasSelected;\n this.dispatchEvent(new InputEvent('input', { bubbles: true, composed: true }));\n // Bubbles but does not compose to mimic native browser <input> & <select>\n // Additionally, native change event is not an InputEvent.\n this.dispatchEvent(new Event('change', { bubbles: true }));\n });\n });\n }\n willUpdate() {\n // Link buttons cannot be disabled or soft-disabled.\n if (this.href) {\n this.disabled = false;\n this.softDisabled = false;\n }\n }\n render() {\n const tag = this.href ? literal `div` : literal `button`;\n // Needed for closure conformance\n const { ariaLabel, ariaHasPopup, ariaExpanded } = this;\n const hasToggledAriaLabel = ariaLabel && this.ariaLabelSelected;\n const ariaPressedValue = !this.toggle ? nothing : this.selected;\n let ariaLabelValue = nothing;\n if (!this.href) {\n ariaLabelValue =\n hasToggledAriaLabel && this.selected\n ? this.ariaLabelSelected\n : ariaLabel;\n }\n return staticHtml `<${tag}\n class=\"icon-button ${classMap(this.getRenderClasses())}\"\n id=\"button\"\n aria-label=\"${ariaLabelValue || nothing}\"\n aria-haspopup=\"${(!this.href && ariaHasPopup) || nothing}\"\n aria-expanded=\"${(!this.href && ariaExpanded) || nothing}\"\n aria-pressed=\"${ariaPressedValue}\"\n aria-disabled=${(!this.href && this.softDisabled) || nothing}\n ?disabled=\"${!this.href && this.disabled}\">\n ${this.renderFocusRing()}\n ${this.renderRipple()}\n ${!this.selected ? this.renderIcon() : nothing}\n ${this.selected ? this.renderSelectedIcon() : nothing}\n ${this.href ? this.renderLink() : this.renderTouchTarget()}\n </${tag}>`;\n }\n renderLink() {\n // Needed for closure conformance\n const { ariaLabel } = this;\n return html `\n <a\n class=\"link\"\n id=\"link\"\n href=\"${this.href}\"\n download=\"${this.download || nothing}\"\n target=\"${this.target || nothing}\"\n aria-label=\"${ariaLabel || nothing}\">\n ${this.renderTouchTarget()}\n </a>\n `;\n }\n getRenderClasses() {\n return {\n 'flip-icon': this.flipIcon,\n 'selected': this.toggle && this.selected,\n };\n }\n renderIcon() {\n return html `<span class=\"icon\"><slot></slot></span>`;\n }\n renderSelectedIcon() {\n // Use default slot as fallback to not require specifying multiple icons\n return html `<span class=\"icon icon--selected\"\n ><slot name=\"selected\"><slot></slot></slot\n ></span>`;\n }\n renderTouchTarget() {\n return html `<span class=\"touch\"></span>`;\n }\n renderFocusRing() {\n // TODO(b/310046938): use the same id for both elements\n return html `<md-focus-ring\n part=\"focus-ring\"\n for=${this.href ? 'link' : 'button'}></md-focus-ring>`;\n }\n renderRipple() {\n const isRippleDisabled = !this.href && (this.disabled || this.softDisabled);\n // TODO(b/310046938): use the same id for both elements\n return html `<md-ripple\n for=${this.href ? 'link' : nothing}\n ?disabled=\"${isRippleDisabled}\"></md-ripple>`;\n }\n connectedCallback() {\n this.flipIcon = isRtl(this, this.flipIconInRtl);\n super.connectedCallback();\n }\n}\n/** @nocollapse */\nIconButton.shadowRootOptions = {\n mode: 'open',\n delegatesFocus: true,\n};\n__decorate([\n property({ type: Boolean, attribute: 'soft-disabled', reflect: true })\n], IconButton.prototype, \"softDisabled\", void 0);\n__decorate([\n property({ type: Boolean, attribute: 'flip-icon-in-rtl' })\n], IconButton.prototype, \"flipIconInRtl\", void 0);\n__decorate([\n property()\n], IconButton.prototype, \"href\", void 0);\n__decorate([\n property()\n], IconButton.prototype, \"download\", void 0);\n__decorate([\n property()\n], IconButton.prototype, \"target\", void 0);\n__decorate([\n property({ attribute: 'aria-label-selected' })\n], IconButton.prototype, \"ariaLabelSelected\", void 0);\n__decorate([\n property({ type: Boolean })\n], IconButton.prototype, \"toggle\", void 0);\n__decorate([\n property({ type: Boolean, reflect: true })\n], IconButton.prototype, \"selected\", void 0);\n__decorate([\n state()\n], IconButton.prototype, \"flipIcon\", void 0);\n//# sourceMappingURL=icon-button.js.map","/**\n * @license\n * Copyright 2026 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n// Generated stylesheet for ./iconbutton/internal/shared-styles.css.\nimport { css } from 'lit';\nexport const styles = css `: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}}\n`;\nexport default styles.styleSheet;\n//# sourceMappingURL=shared-styles.cssresult.js.map","/**\n * @license\n * Copyright 2026 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n// Generated stylesheet for ./iconbutton/internal/standard-styles.css.\nimport { css } from 'lit';\nexport const styles = css `: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)}\n`;\nexport default styles.styleSheet;\n//# sourceMappingURL=standard-styles.cssresult.js.map","/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { __decorate } from \"tslib\";\nimport { customElement } from 'lit/decorators.js';\nimport { IconButton } from './internal/icon-button.js';\nimport { styles as sharedStyles } from './internal/shared-styles.cssresult.js';\nimport { styles } from './internal/standard-styles.cssresult.js';\n/**\n * @summary Icon buttons help people take supplementary actions with a single\n * tap.\n *\n * @description\n * __Emphasis:__ Low emphasis – For optional or supplementary actions with the\n * least amount of prominence.\n *\n * __Rationale:__ The most compact and unobtrusive type of button, icon buttons\n * are used for optional supplementary actions such as \"Bookmark\" or \"Star.\"\n *\n * __Example usages:__\n * - Add to Favorites\n * - Print\n *\n * @final\n * @suppress {visibility}\n */\nlet MdIconButton = class MdIconButton extends IconButton {\n getRenderClasses() {\n return {\n ...super.getRenderClasses(),\n 'standard': true,\n };\n }\n};\nMdIconButton.styles = [sharedStyles, styles];\nMdIconButton = __decorate([\n customElement('md-icon-button')\n], MdIconButton);\nexport { MdIconButton };\n//# sourceMappingURL=icon-button.js.map"],"ignoreList":[0,1,2,3,4],"mappings":";;;;;;;;;;;;;;;;AAaA,SAAgB,MAAM,IAAI,cAAc,MAAM;CAC1C,OAAQ,eAC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AAW,WAAW,UAAU,KAAK,CAAC;AACzC,WAAW,CACPA,EAAS,EAAE,WAAW,sBAAsB,CAAC,CACjD,GAAG,WAAW,WAAW,qBAAqB,KAAK,CAAC;AACpD,WAAW,CACPA,EAAS,EAAE,MAAM,QAAQ,CAAC,CAC9B,GAAG,WAAW,WAAW,UAAU,KAAK,CAAC;AACzC,WAAW,CACPA,EAAS;CAAE,MAAM;CAAS,SAAS;AAAK,CAAC,CAC7C,GAAG,WAAW,WAAW,YAAY,KAAK,CAAC;AAC3C,WAAW,CACPC,EAAM,CACV,GAAG,WAAW,WAAW,YAAY,KAAK,CAAC;;;;;;;ACnN3C,IAAaC,WAAS,GAAI;;AAEXA,SAAO;;;;;;;ACFtB,IAAa,SAAS,GAAI;;AAEX,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;ACmBtB,IAAI,eAAe,MAAM,qBAAqB,WAAW;CACrD,mBAAmB;EACf,OAAO;GACH,GAAG,MAAM,iBAAiB;GAC1B,YAAY;EAChB;CACJ;AACJ;AACA,aAAa,SAAS,CAACC,UAAc,MAAM;AAC3C,eAAe,WAAW,CACtBC,EAAc,gBAAgB,CAClC,GAAG,YAAY"}
@@ -0,0 +1,49 @@
1
+ import { G as t, I as T, K as __decorate, M as i, W as i$1 } from "./composition.js";
2
+ // ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/icon/internal/icon.js
3
+ /**
4
+ * @license
5
+ * Copyright 2022 Google LLC
6
+ * SPDX-License-Identifier: Apache-2.0
7
+ */
8
+ /**
9
+ * An icon element.
10
+ */
11
+ var Icon = class extends i {
12
+ render() {
13
+ return T`<slot></slot>`;
14
+ }
15
+ connectedCallback() {
16
+ super.connectedCallback();
17
+ if (this.getAttribute("aria-hidden") === "false") {
18
+ this.removeAttribute("aria-hidden");
19
+ return;
20
+ }
21
+ this.setAttribute("aria-hidden", "true");
22
+ }
23
+ };
24
+ // ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/icon/internal/icon-styles.cssresult.js
25
+ /**
26
+ * @license
27
+ * Copyright 2026 Google LLC
28
+ * SPDX-License-Identifier: Apache-2.0
29
+ */
30
+ var styles = i$1`: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%}
31
+ `;
32
+ styles.styleSheet;
33
+ // ../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/icon/icon.js
34
+ /**
35
+ * @license
36
+ * Copyright 2022 Google LLC
37
+ * SPDX-License-Identifier: Apache-2.0
38
+ */
39
+ /**
40
+ * @final
41
+ * @suppress {visibility}
42
+ */
43
+ var MdIcon = class MdIcon extends Icon {};
44
+ /** @nocollapse */
45
+ MdIcon.styles = [styles];
46
+ MdIcon = __decorate([t("md-icon")], MdIcon);
47
+ export {};
48
+
49
+ //# sourceMappingURL=icon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon.js","names":["LitElement","customElement"],"sources":["../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/icon/internal/icon.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/icon/internal/icon-styles.cssresult.js","../../../../../node_modules/.pnpm/@material+web@2.5.0/node_modules/@material/web/icon/icon.js"],"sourcesContent":["/**\n * @license\n * Copyright 2022 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { html, LitElement } from 'lit';\n/**\n * An icon element.\n */\nexport class Icon extends LitElement {\n render() {\n return html `<slot></slot>`;\n }\n connectedCallback() {\n super.connectedCallback();\n const ariaHidden = this.getAttribute('aria-hidden');\n if (ariaHidden === 'false') {\n // Allow the user to set `aria-hidden=\"false\"` to create an icon that is\n // announced by screenreaders.\n this.removeAttribute('aria-hidden');\n return;\n }\n // Needed for VoiceOver, which will create a \"group\" if the element is a\n // sibling to other content.\n this.setAttribute('aria-hidden', 'true');\n }\n}\n//# sourceMappingURL=icon.js.map","/**\n * @license\n * Copyright 2026 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n// Generated stylesheet for ./icon/internal/icon-styles.css.\nimport { css } from 'lit';\nexport const styles = css `: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%}\n`;\nexport default styles.styleSheet;\n//# sourceMappingURL=icon-styles.cssresult.js.map","/**\n * @license\n * Copyright 2022 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nimport { __decorate } from \"tslib\";\nimport { customElement } from 'lit/decorators.js';\nimport { Icon } from './internal/icon.js';\nimport { styles } from './internal/icon-styles.cssresult.js';\n/**\n * @final\n * @suppress {visibility}\n */\nlet MdIcon = class MdIcon extends Icon {\n};\n/** @nocollapse */\nMdIcon.styles = [styles];\nMdIcon = __decorate([\n customElement('md-icon')\n], MdIcon);\nexport { MdIcon };\n//# sourceMappingURL=icon.js.map"],"ignoreList":[0,1,2],"mappings":";;;;;;;;;;AASA,IAAa,OAAb,cAA0BA,EAAW;CACjC,SAAS;EACL,OAAO,CAAK;CAChB;CACA,oBAAoB;EAChB,MAAM,kBAAkB;EAExB,IADmB,KAAK,aAAa,aACxB,MAAM,SAAS;GAGxB,KAAK,gBAAgB,aAAa;GAClC;EACJ;EAGA,KAAK,aAAa,eAAe,MAAM;CAC3C;AACJ;;;;;;;ACnBA,IAAa,SAAS,GAAI;;AAEX,OAAO;;;;;;;;;;;ACItB,IAAI,SAAS,MAAM,eAAe,KAAK,CACvC;;AAEA,OAAO,SAAS,CAAC,MAAM;AACvB,SAAS,WAAW,CAChBC,EAAc,SAAS,CAC3B,GAAG,MAAM"}
@@ -1,2 +1,6 @@
1
1
  import "./server2.js";
2
- export {};
2
+ // ../../node_modules/.pnpm/svelte@5.57.3_@typescript-eslint+types@8.72.1/node_modules/svelte/src/index-server.js
3
+ async function tick() {}
4
+ export { tick as t };
5
+
6
+ //# sourceMappingURL=index-server.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-server.js","names":[],"sources":["../../../../../node_modules/.pnpm/svelte@5.57.3_@typescript-eslint+types@8.72.1/node_modules/svelte/src/index-server.js"],"sourcesContent":["/** @import { SSRContext } from '#server' */\n/** @import { Renderer } from './internal/server/renderer.js' */\nimport { ssr_context } from './internal/server/context.js';\nimport { noop } from './internal/shared/utils.js';\nimport * as e from './internal/server/errors.js';\n\n/** @param {() => void} fn */\nexport function onDestroy(fn) {\n\t/** @type {Renderer} */ (/** @type {SSRContext} */ (ssr_context).r).on_destroy(fn);\n}\n\nexport {\n\tnoop as beforeUpdate,\n\tnoop as afterUpdate,\n\tnoop as onMount,\n\tnoop as flushSync,\n\trun as untrack\n} from './internal/shared/utils.js';\n\nexport function createEventDispatcher() {\n\treturn noop;\n}\n\nexport function mount() {\n\te.lifecycle_function_unavailable('mount');\n}\n\nexport function hydrate() {\n\te.lifecycle_function_unavailable('hydrate');\n}\n\nexport function unmount() {\n\te.lifecycle_function_unavailable('unmount');\n}\n\nexport function fork() {\n\te.lifecycle_function_unavailable('fork');\n}\n\nexport async function tick() {}\n\nexport async function settled() {}\n\nexport { getAbortSignal } from './internal/server/abort-signal.js';\n\nexport {\n\tcreateContext,\n\tgetAllContexts,\n\tgetContext,\n\thasContext,\n\tsetContext\n} from './internal/server/context.js';\n\nexport { hydratable } from './internal/server/hydratable.js';\n\nexport { createRawSnippet } from './internal/server/blocks/snippet.js';\n"],"ignoreList":[0],"mappings":";;AAuCA,eAAsB,OAAO,CAAC"}
@@ -5,8 +5,8 @@ import { $ as has_custom_transporters, A as default_handle_error, C as has_prere
5
5
  import { C as prerender_actions, D as prerender_template_nonce, E as prerender_nonce, Q as set_headers_cookie, S as load_response_header_not_serialized, T as prerender_endpoint_not_prerenderable, Z as set_headers_after_response, _ as header_already_set, c as client_address_unsupported, d as cookies_set_after_response, f as csp_report_only_missing_report, nt as capture_error, p as endpoint_invalid_response, u as cookies_serialize_before_route, v as load_fetch_cors, w as prerender_endpoint_methods, x as load_promise_not_serializable } from "./server-errors.js";
6
6
  import { t as uneval$1 } from "./uneval.js";
7
7
  import { a as join_or, i as set_env, n as explicit_public_env, r as rendered_env } from "./config.js";
8
- import { m as escape_html$1, o as render, r as derived } from "./server2.js";
9
- import { t as afterNavigate } from "./navigation.js";
8
+ import { h as escape_html$1, r as derived, s as render } from "./server2.js";
9
+ import { t as afterNavigate } from "./navigation2.js";
10
10
  import { c as invalid_export, l as invalid_export_location } from "./shared-errors.js";
11
11
  // ../../node_modules/.pnpm/@sveltejs+kit@3.2.0_@sveltejs+vite-plugin-svelte@7.3.1_svelte@5.57.3_@typescript-eslint_ccfe35d88efff66f949c986fae0769d3/node_modules/@sveltejs/kit/src/runtime/server/endpoint.js
12
12
  /**
@@ -213,7 +213,7 @@ function server_data_serializer(event, state) {
213
213
  let promise_id = 1;
214
214
  let max_nodes = -1;
215
215
  const iterator = create_async_iterator();
216
- const global = "__sveltekit_olw25z";
216
+ const global = "__sveltekit_canwmx";
217
217
  /** @param {number} index */
218
218
  function get_replacer(index) {
219
219
  /** @param {any} thing */
@@ -1442,7 +1442,7 @@ async function render_response({ branch, fetched, page_config, status, error = n
1442
1442
  "crossorigin"
1443
1443
  ]);
1444
1444
  }
1445
- const global = "__sveltekit_olw25z";
1445
+ const global = "__sveltekit_canwmx";
1446
1446
  const { data, chunks } = data_serializer.get_data(csp);
1447
1447
  if (page_config.ssr && page_config.csr) body += `\n\t\t\t${fetched.map((item) => serialize_data(item, resolve_opts.filterSerializedResponseHeaders, is_prerendering(state))).join("\n ")}`;
1448
1448
  if (page_config.csr && client) {
@@ -1466,7 +1466,7 @@ async function render_response({ branch, fetched, page_config, status, error = n
1466
1466
  }
1467
1467
  }
1468
1468
  const blocks = [];
1469
- const properties = [`base: ${base_expression}`, `version: ${s("1795540023080")}`];
1469
+ const properties = [`base: ${base_expression}`, `version: ${s("1795864469421")}`];
1470
1470
  if (assets) properties.push(`assets: ${s(assets)}`);
1471
1471
  if (client.uses_env_dynamic_public) properties.push(`env: ${load_env_eagerly ? "null" : uneval$1(rendered_env)}`);
1472
1472
  if (chunks) {
@@ -2173,7 +2173,7 @@ function is_prerendering(state) {
2173
2173
  * @param {Response} response
2174
2174
  */
2175
2175
  function with_version_header(response) {
2176
- response.headers.set("x-sveltekit-version", "1795540023080");
2176
+ response.headers.set("x-sveltekit-version", "1795864469421");
2177
2177
  return response;
2178
2178
  }
2179
2179
  /**
@@ -1,15 +1,11 @@
1
- import { n as noop, t as disallow_on_server } from "./functions.js";
2
- // ../../node_modules/.pnpm/@sveltejs+kit@3.2.0_@sveltejs+vite-plugin-svelte@7.3.1_svelte@5.57.3_@typescript-eslint_ccfe35d88efff66f949c986fae0769d3/node_modules/@sveltejs/kit/src/runtime/app/navigation/server.js
3
- var afterNavigate = noop;
4
- disallow_on_server("disableScrollHandling", "()");
5
- var goto = disallow_on_server("goto");
6
- disallow_on_server("invalidate");
7
- disallow_on_server("invalidateAll", "()");
8
- disallow_on_server("refreshAll", "()");
9
- disallow_on_server("preloadCode");
10
- disallow_on_server("preloadData");
11
- disallow_on_server("pushState");
12
- disallow_on_server("replaceState");
13
- export { goto as n, afterNavigate as t };
1
+ // src/lib/core/navigation.ts
2
+ var trimSlash = (path) => path.length > 1 ? path.replace(/\/+$/, "") : path;
3
+ /** Whether `href` is the page shown at `currentPath` (a trailing slash doesn't matter). */
4
+ function isCurrent(item, currentPath) {
5
+ const href = trimSlash(item.href);
6
+ const path = trimSlash(currentPath);
7
+ return item.exact ? path === href : path === href || path.startsWith(`${href}/`);
8
+ }
9
+ export { isCurrent as t };
14
10
 
15
11
  //# sourceMappingURL=navigation.js.map