claude-mux 0.30.12 → 0.30.13

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 (205) hide show
  1. package/CLAUDE.md +4 -1
  2. package/dist/utils/version.d.ts +1 -1
  3. package/dist/utils/version.js +1 -1
  4. package/dist/web/client/_app/immutable/chunks/{BvumWaKv.js → BQQ3-rqs.js} +2 -2
  5. package/dist/web/client/_app/immutable/chunks/{BvumWaKv.js.map → BQQ3-rqs.js.map} +1 -1
  6. package/dist/web/client/_app/immutable/chunks/{CuqNMNCh.js → BQzv8cqz.js} +2 -2
  7. package/{web/.svelte-kit/output/client/_app/immutable/chunks/CuqNMNCh.js.map → dist/web/client/_app/immutable/chunks/BQzv8cqz.js.map} +1 -1
  8. package/dist/web/client/_app/immutable/chunks/{Djib3OX9.js → BvX4FYxp.js} +2 -2
  9. package/{web/.svelte-kit/output/client/_app/immutable/chunks/Djib3OX9.js.map → dist/web/client/_app/immutable/chunks/BvX4FYxp.js.map} +1 -1
  10. package/dist/web/client/_app/immutable/chunks/CM0CI9GL.js +3 -0
  11. package/{web/.svelte-kit/output/client/_app/immutable/chunks/CFx1X5dv.js.map → dist/web/client/_app/immutable/chunks/CM0CI9GL.js.map} +1 -1
  12. package/dist/web/client/_app/immutable/chunks/{CgY8CVMX.js → CiU8KBun.js} +2 -2
  13. package/dist/web/client/_app/immutable/chunks/{CgY8CVMX.js.map → CiU8KBun.js.map} +1 -1
  14. package/{web/.svelte-kit/output/client/_app/immutable/chunks/CFKTes94.js → dist/web/client/_app/immutable/chunks/CtjkAirr.js} +2 -2
  15. package/dist/web/client/_app/immutable/chunks/{CFKTes94.js.map → CtjkAirr.js.map} +1 -1
  16. package/{web/.svelte-kit/output/client/_app/immutable/chunks/CZ0xQL03.js → dist/web/client/_app/immutable/chunks/CtlIfY1C.js} +2 -2
  17. package/dist/web/client/_app/immutable/chunks/{CZ0xQL03.js.map → CtlIfY1C.js.map} +1 -1
  18. package/{web/.svelte-kit/output/client/_app/immutable/chunks/BMdeNATU.js → dist/web/client/_app/immutable/chunks/Dck--FBb.js} +2 -2
  19. package/{web/.svelte-kit/output/client/_app/immutable/chunks/BMdeNATU.js.map → dist/web/client/_app/immutable/chunks/Dck--FBb.js.map} +1 -1
  20. package/dist/web/client/_app/immutable/chunks/{CBFZAP-M.js → DlENCZqZ.js} +2 -2
  21. package/{web/.svelte-kit/output/client/_app/immutable/chunks/CBFZAP-M.js.map → dist/web/client/_app/immutable/chunks/DlENCZqZ.js.map} +1 -1
  22. package/{web/.svelte-kit/output/client/_app/immutable/chunks/C_d6SvJ2.js → dist/web/client/_app/immutable/chunks/Q5yhzux8.js} +2 -2
  23. package/{web/.svelte-kit/output/client/_app/immutable/chunks/C_d6SvJ2.js.map → dist/web/client/_app/immutable/chunks/Q5yhzux8.js.map} +1 -1
  24. package/{web/.svelte-kit/output/client/_app/immutable/chunks/DMKEzxnc.js → dist/web/client/_app/immutable/chunks/VceCNUd7.js} +2 -2
  25. package/dist/web/client/_app/immutable/chunks/{DMKEzxnc.js.map → VceCNUd7.js.map} +1 -1
  26. package/dist/web/client/_app/immutable/chunks/{DATxby6u.js → W5_HMZ5E.js} +2 -2
  27. package/dist/web/client/_app/immutable/chunks/{DATxby6u.js.map → W5_HMZ5E.js.map} +1 -1
  28. package/dist/web/client/_app/immutable/chunks/{BY5WGGQP.js → XgSsj0QY.js} +2 -2
  29. package/dist/web/client/_app/immutable/chunks/{BY5WGGQP.js.map → XgSsj0QY.js.map} +1 -1
  30. package/dist/web/client/_app/immutable/chunks/{BwPDlhmz.js → cvsGFvDx.js} +2 -2
  31. package/dist/web/client/_app/immutable/chunks/{BwPDlhmz.js.map → cvsGFvDx.js.map} +1 -1
  32. package/dist/web/client/_app/immutable/chunks/{B3wFHwBp.js → sULMfRFG.js} +10 -10
  33. package/dist/web/client/_app/immutable/chunks/{B3wFHwBp.js.map → sULMfRFG.js.map} +1 -1
  34. package/dist/web/client/_app/immutable/entry/{app.D6ZoWARI.js → app.BwTbN8wB.js} +3 -3
  35. package/{web/.svelte-kit/output/client/_app/immutable/entry/app.D6ZoWARI.js.map → dist/web/client/_app/immutable/entry/app.BwTbN8wB.js.map} +1 -1
  36. package/dist/web/client/_app/immutable/entry/start.B2ZPizAt.js +2 -0
  37. package/dist/web/client/_app/immutable/entry/start.B2ZPizAt.js.map +1 -0
  38. package/{web/.svelte-kit/output/client/_app/immutable/nodes/0.DQpEqRwc.js → dist/web/client/_app/immutable/nodes/0.BnHV-ElR.js} +2 -2
  39. package/{web/.svelte-kit/output/client/_app/immutable/nodes/0.DQpEqRwc.js.map → dist/web/client/_app/immutable/nodes/0.BnHV-ElR.js.map} +1 -1
  40. package/dist/web/client/_app/immutable/nodes/{1.DZtqO_vJ.js → 1.Dc3ryOCf.js} +2 -2
  41. package/dist/web/client/_app/immutable/nodes/{1.DZtqO_vJ.js.map → 1.Dc3ryOCf.js.map} +1 -1
  42. package/dist/web/client/_app/immutable/nodes/{2.C5Qs1_oy.js → 2.DUrpAceY.js} +2 -2
  43. package/dist/web/client/_app/immutable/nodes/{2.C5Qs1_oy.js.map → 2.DUrpAceY.js.map} +1 -1
  44. package/dist/web/client/_app/immutable/nodes/{3.BU0CxqHT.js → 3.BaCofjAn.js} +2 -2
  45. package/dist/web/client/_app/immutable/nodes/{3.BU0CxqHT.js.map → 3.BaCofjAn.js.map} +1 -1
  46. package/dist/web/client/_app/immutable/nodes/{4.DUZfcDfX.js → 4.v1wYkrvS.js} +2 -2
  47. package/dist/web/client/_app/immutable/nodes/{4.DUZfcDfX.js.map → 4.v1wYkrvS.js.map} +1 -1
  48. package/dist/web/client/_app/immutable/nodes/{5.BUR8dPHU.js → 5.Bn4A77jK.js} +2 -2
  49. package/dist/web/client/_app/immutable/nodes/{5.BUR8dPHU.js.map → 5.Bn4A77jK.js.map} +1 -1
  50. package/dist/web/client/_app/immutable/nodes/{6.C0sXY_AI.js → 6.C2hEoITj.js} +2 -2
  51. package/dist/web/client/_app/immutable/nodes/{6.C0sXY_AI.js.map → 6.C2hEoITj.js.map} +1 -1
  52. package/dist/web/client/_app/immutable/nodes/{7.BwxdLqVN.js → 7.BcHOjWdp.js} +2 -2
  53. package/dist/web/client/_app/immutable/nodes/{7.BwxdLqVN.js.map → 7.BcHOjWdp.js.map} +1 -1
  54. package/dist/web/client/_app/immutable/nodes/{8.D7XNfIoQ.js → 8.D7NtqIYy.js} +2 -2
  55. package/dist/web/client/_app/immutable/nodes/{8.D7XNfIoQ.js.map → 8.D7NtqIYy.js.map} +1 -1
  56. package/dist/web/client/_app/immutable/nodes/{9.DK1PnFTi.js → 9.D-211z9-.js} +2 -2
  57. package/dist/web/client/_app/immutable/nodes/{9.DK1PnFTi.js.map → 9.D-211z9-.js.map} +1 -1
  58. package/dist/web/client/_app/version.json +1 -1
  59. package/dist/web/server/chunks/{0-C3qbHxYN.js → 0-CvglVGCY.js} +14 -14
  60. package/dist/web/server/chunks/{0-C3qbHxYN.js.map → 0-CvglVGCY.js.map} +1 -1
  61. package/dist/web/server/chunks/{1-D8Dnq6A4.js → 1-D-gJDFrG.js} +4 -4
  62. package/dist/web/server/chunks/{1-D8Dnq6A4.js.map → 1-D-gJDFrG.js.map} +1 -1
  63. package/dist/web/server/chunks/{2-D-erc0ov.js → 2-BCmEU5Qq.js} +13 -13
  64. package/dist/web/server/chunks/{2-D-erc0ov.js.map → 2-BCmEU5Qq.js.map} +1 -1
  65. package/dist/web/server/chunks/{3-DiIyiFTh.js → 3-CHn5Kw-T.js} +10 -10
  66. package/dist/web/server/chunks/{3-DiIyiFTh.js.map → 3-CHn5Kw-T.js.map} +1 -1
  67. package/dist/web/server/chunks/{4-C9dfruxJ.js → 4-Cxg7VcZ7.js} +12 -12
  68. package/dist/web/server/chunks/{4-C9dfruxJ.js.map → 4-Cxg7VcZ7.js.map} +1 -1
  69. package/dist/web/server/chunks/{5-CNxH6-gY.js → 5-DSgvnHF_.js} +9 -9
  70. package/dist/web/server/chunks/{5-CNxH6-gY.js.map → 5-DSgvnHF_.js.map} +1 -1
  71. package/dist/web/server/chunks/{6-DZFHsFC1.js → 6-B0rymWRR.js} +5 -5
  72. package/dist/web/server/chunks/{6-DZFHsFC1.js.map → 6-B0rymWRR.js.map} +1 -1
  73. package/dist/web/server/chunks/{7-BrAqYzww.js → 7-CNomBJux.js} +10 -10
  74. package/dist/web/server/chunks/{7-BrAqYzww.js.map → 7-CNomBJux.js.map} +1 -1
  75. package/dist/web/server/chunks/{8-hNuZYHp2.js → 8-TYbX-1bO.js} +12 -12
  76. package/dist/web/server/chunks/{8-hNuZYHp2.js.map → 8-TYbX-1bO.js.map} +1 -1
  77. package/dist/web/server/chunks/{9-KM8ukvws.js → 9-XGQQvTLc.js} +9 -9
  78. package/dist/web/server/chunks/{9-KM8ukvws.js.map → 9-XGQQvTLc.js.map} +1 -1
  79. package/dist/web/server/chunks/{_layout.svelte-DTdVhWSL.js → _layout.svelte-yrPX5VFm.js} +4 -4
  80. package/dist/web/server/chunks/{_layout.svelte-DTdVhWSL.js.map → _layout.svelte-yrPX5VFm.js.map} +1 -1
  81. package/dist/web/server/chunks/{_page.svelte-DlJs45B3.js → _page.svelte-C_kFA0Lq.js} +3 -3
  82. package/dist/web/server/chunks/{_page.svelte-DlJs45B3.js.map → _page.svelte-C_kFA0Lq.js.map} +1 -1
  83. package/dist/web/server/chunks/{_page.svelte-Bmge0Cj4.js → _page.svelte-DvxpwsgS.js} +5 -5
  84. package/dist/web/server/chunks/{_page.svelte-Bmge0Cj4.js.map → _page.svelte-DvxpwsgS.js.map} +1 -1
  85. package/dist/web/server/chunks/{_server.ts-DFw1dZh6.js → _server.ts-CNBy2p2U.js} +2 -2
  86. package/dist/web/server/chunks/{_server.ts-DFw1dZh6.js.map → _server.ts-CNBy2p2U.js.map} +1 -1
  87. package/dist/web/server/chunks/{_server.ts-C837tDPt.js → _server.ts-KbQyErIR.js} +2 -2
  88. package/dist/web/server/chunks/{_server.ts-C837tDPt.js.map → _server.ts-KbQyErIR.js.map} +1 -1
  89. package/dist/web/server/chunks/{checkbox-DEKquZNV.js → checkbox-DiJTAtHi.js} +2 -2
  90. package/dist/web/server/chunks/{checkbox-DEKquZNV.js.map → checkbox-DiJTAtHi.js.map} +1 -1
  91. package/dist/web/server/chunks/{create-id-CGB-ZsMW.js → create-id-DpoSQWrl.js} +2 -2
  92. package/dist/web/server/chunks/{create-id-CGB-ZsMW.js.map → create-id-DpoSQWrl.js.map} +1 -1
  93. package/dist/web/server/chunks/{drafts.svelte-DoF8wcyh.js → drafts.svelte-DsFAtH-s.js} +2 -2
  94. package/dist/web/server/chunks/{drafts.svelte-DoF8wcyh.js.map → drafts.svelte-DsFAtH-s.js.map} +1 -1
  95. package/dist/web/server/chunks/{version-Clbh-EaZ.js → version-BqEJmw2g.js} +2 -2
  96. package/dist/web/server/chunks/version-BqEJmw2g.js.map +1 -0
  97. package/dist/web/server/index.js +1 -1
  98. package/dist/web/server/index.js.map +1 -1
  99. package/dist/web/server/manifest.js +17 -17
  100. package/dist/web/server/manifest.js.map +1 -1
  101. package/package.json +1 -1
  102. package/src/utils/version.ts +1 -1
  103. package/web/.svelte-kit/adapter-bun/chunks/internal2.js +1 -1
  104. package/web/.svelte-kit/adapter-bun/chunks/internal2.js.map +1 -1
  105. package/web/.svelte-kit/adapter-bun/chunks/version.js +1 -1
  106. package/web/.svelte-kit/adapter-bun/chunks/version.js.map +1 -1
  107. package/web/.svelte-kit/adapter-bun/entries/pages/session/_target_/_page.svelte.js.map +1 -1
  108. package/web/.svelte-kit/adapter-bun/manifest-full.js +1 -1
  109. package/web/.svelte-kit/adapter-bun/manifest.js +1 -1
  110. package/web/.svelte-kit/adapter-bun/nodes/0.js +1 -1
  111. package/web/.svelte-kit/adapter-bun/nodes/1.js +1 -1
  112. package/web/.svelte-kit/adapter-bun/nodes/2.js +1 -1
  113. package/web/.svelte-kit/adapter-bun/nodes/3.js +1 -1
  114. package/web/.svelte-kit/adapter-bun/nodes/4.js +1 -1
  115. package/web/.svelte-kit/adapter-bun/nodes/5.js +1 -1
  116. package/web/.svelte-kit/adapter-bun/nodes/6.js +1 -1
  117. package/web/.svelte-kit/adapter-bun/nodes/7.js +1 -1
  118. package/web/.svelte-kit/adapter-bun/nodes/8.js +1 -1
  119. package/web/.svelte-kit/adapter-bun/nodes/9.js +1 -1
  120. package/web/.svelte-kit/generated/server/internal.js +1 -1
  121. package/web/.svelte-kit/output/client/.vite/manifest.json +206 -206
  122. package/web/.svelte-kit/output/client/_app/immutable/chunks/{BvumWaKv.js → BQQ3-rqs.js} +2 -2
  123. package/web/.svelte-kit/output/client/_app/immutable/chunks/{BvumWaKv.js.map → BQQ3-rqs.js.map} +1 -1
  124. package/web/.svelte-kit/output/client/_app/immutable/chunks/{CuqNMNCh.js → BQzv8cqz.js} +2 -2
  125. package/{dist/web/client/_app/immutable/chunks/CuqNMNCh.js.map → web/.svelte-kit/output/client/_app/immutable/chunks/BQzv8cqz.js.map} +1 -1
  126. package/web/.svelte-kit/output/client/_app/immutable/chunks/{Djib3OX9.js → BvX4FYxp.js} +2 -2
  127. package/{dist/web/client/_app/immutable/chunks/Djib3OX9.js.map → web/.svelte-kit/output/client/_app/immutable/chunks/BvX4FYxp.js.map} +1 -1
  128. package/web/.svelte-kit/output/client/_app/immutable/chunks/CM0CI9GL.js +3 -0
  129. package/{dist/web/client/_app/immutable/chunks/CFx1X5dv.js.map → web/.svelte-kit/output/client/_app/immutable/chunks/CM0CI9GL.js.map} +1 -1
  130. package/web/.svelte-kit/output/client/_app/immutable/chunks/{CgY8CVMX.js → CiU8KBun.js} +2 -2
  131. package/web/.svelte-kit/output/client/_app/immutable/chunks/{CgY8CVMX.js.map → CiU8KBun.js.map} +1 -1
  132. package/{dist/web/client/_app/immutable/chunks/CFKTes94.js → web/.svelte-kit/output/client/_app/immutable/chunks/CtjkAirr.js} +2 -2
  133. package/web/.svelte-kit/output/client/_app/immutable/chunks/{CFKTes94.js.map → CtjkAirr.js.map} +1 -1
  134. package/{dist/web/client/_app/immutable/chunks/CZ0xQL03.js → web/.svelte-kit/output/client/_app/immutable/chunks/CtlIfY1C.js} +2 -2
  135. package/web/.svelte-kit/output/client/_app/immutable/chunks/{CZ0xQL03.js.map → CtlIfY1C.js.map} +1 -1
  136. package/{dist/web/client/_app/immutable/chunks/BMdeNATU.js → web/.svelte-kit/output/client/_app/immutable/chunks/Dck--FBb.js} +2 -2
  137. package/{dist/web/client/_app/immutable/chunks/BMdeNATU.js.map → web/.svelte-kit/output/client/_app/immutable/chunks/Dck--FBb.js.map} +1 -1
  138. package/web/.svelte-kit/output/client/_app/immutable/chunks/{CBFZAP-M.js → DlENCZqZ.js} +2 -2
  139. package/{dist/web/client/_app/immutable/chunks/CBFZAP-M.js.map → web/.svelte-kit/output/client/_app/immutable/chunks/DlENCZqZ.js.map} +1 -1
  140. package/{dist/web/client/_app/immutable/chunks/C_d6SvJ2.js → web/.svelte-kit/output/client/_app/immutable/chunks/Q5yhzux8.js} +2 -2
  141. package/{dist/web/client/_app/immutable/chunks/C_d6SvJ2.js.map → web/.svelte-kit/output/client/_app/immutable/chunks/Q5yhzux8.js.map} +1 -1
  142. package/{dist/web/client/_app/immutable/chunks/DMKEzxnc.js → web/.svelte-kit/output/client/_app/immutable/chunks/VceCNUd7.js} +2 -2
  143. package/web/.svelte-kit/output/client/_app/immutable/chunks/{DMKEzxnc.js.map → VceCNUd7.js.map} +1 -1
  144. package/web/.svelte-kit/output/client/_app/immutable/chunks/{DATxby6u.js → W5_HMZ5E.js} +2 -2
  145. package/web/.svelte-kit/output/client/_app/immutable/chunks/{DATxby6u.js.map → W5_HMZ5E.js.map} +1 -1
  146. package/web/.svelte-kit/output/client/_app/immutable/chunks/{BY5WGGQP.js → XgSsj0QY.js} +2 -2
  147. package/web/.svelte-kit/output/client/_app/immutable/chunks/{BY5WGGQP.js.map → XgSsj0QY.js.map} +1 -1
  148. package/web/.svelte-kit/output/client/_app/immutable/chunks/{BwPDlhmz.js → cvsGFvDx.js} +2 -2
  149. package/web/.svelte-kit/output/client/_app/immutable/chunks/{BwPDlhmz.js.map → cvsGFvDx.js.map} +1 -1
  150. package/web/.svelte-kit/output/client/_app/immutable/chunks/{B3wFHwBp.js → sULMfRFG.js} +10 -10
  151. package/web/.svelte-kit/output/client/_app/immutable/chunks/{B3wFHwBp.js.map → sULMfRFG.js.map} +1 -1
  152. package/web/.svelte-kit/output/client/_app/immutable/entry/{app.D6ZoWARI.js → app.BwTbN8wB.js} +3 -3
  153. package/{dist/web/client/_app/immutable/entry/app.D6ZoWARI.js.map → web/.svelte-kit/output/client/_app/immutable/entry/app.BwTbN8wB.js.map} +1 -1
  154. package/web/.svelte-kit/output/client/_app/immutable/entry/start.B2ZPizAt.js +2 -0
  155. package/web/.svelte-kit/output/client/_app/immutable/entry/start.B2ZPizAt.js.map +1 -0
  156. package/{dist/web/client/_app/immutable/nodes/0.DQpEqRwc.js → web/.svelte-kit/output/client/_app/immutable/nodes/0.BnHV-ElR.js} +2 -2
  157. package/{dist/web/client/_app/immutable/nodes/0.DQpEqRwc.js.map → web/.svelte-kit/output/client/_app/immutable/nodes/0.BnHV-ElR.js.map} +1 -1
  158. package/web/.svelte-kit/output/client/_app/immutable/nodes/{1.DZtqO_vJ.js → 1.Dc3ryOCf.js} +2 -2
  159. package/web/.svelte-kit/output/client/_app/immutable/nodes/{1.DZtqO_vJ.js.map → 1.Dc3ryOCf.js.map} +1 -1
  160. package/web/.svelte-kit/output/client/_app/immutable/nodes/{2.C5Qs1_oy.js → 2.DUrpAceY.js} +2 -2
  161. package/web/.svelte-kit/output/client/_app/immutable/nodes/{2.C5Qs1_oy.js.map → 2.DUrpAceY.js.map} +1 -1
  162. package/web/.svelte-kit/output/client/_app/immutable/nodes/{3.BU0CxqHT.js → 3.BaCofjAn.js} +2 -2
  163. package/web/.svelte-kit/output/client/_app/immutable/nodes/{3.BU0CxqHT.js.map → 3.BaCofjAn.js.map} +1 -1
  164. package/web/.svelte-kit/output/client/_app/immutable/nodes/4.v1wYkrvS.js +2 -0
  165. package/web/.svelte-kit/output/client/_app/immutable/nodes/{4.DUZfcDfX.js.map → 4.v1wYkrvS.js.map} +1 -1
  166. package/web/.svelte-kit/output/client/_app/immutable/nodes/5.Bn4A77jK.js +2 -0
  167. package/web/.svelte-kit/output/client/_app/immutable/nodes/{5.BUR8dPHU.js.map → 5.Bn4A77jK.js.map} +1 -1
  168. package/web/.svelte-kit/output/client/_app/immutable/nodes/{6.C0sXY_AI.js → 6.C2hEoITj.js} +2 -2
  169. package/web/.svelte-kit/output/client/_app/immutable/nodes/{6.C0sXY_AI.js.map → 6.C2hEoITj.js.map} +1 -1
  170. package/web/.svelte-kit/output/client/_app/immutable/nodes/{7.BwxdLqVN.js → 7.BcHOjWdp.js} +2 -2
  171. package/web/.svelte-kit/output/client/_app/immutable/nodes/{7.BwxdLqVN.js.map → 7.BcHOjWdp.js.map} +1 -1
  172. package/web/.svelte-kit/output/client/_app/immutable/nodes/8.D7NtqIYy.js +2 -0
  173. package/web/.svelte-kit/output/client/_app/immutable/nodes/{8.D7XNfIoQ.js.map → 8.D7NtqIYy.js.map} +1 -1
  174. package/web/.svelte-kit/output/client/_app/immutable/nodes/9.D-211z9-.js +2 -0
  175. package/web/.svelte-kit/output/client/_app/immutable/nodes/{9.DK1PnFTi.js.map → 9.D-211z9-.js.map} +1 -1
  176. package/web/.svelte-kit/output/client/_app/version.json +1 -1
  177. package/web/.svelte-kit/output/server/chunks/internal2.js +1 -1
  178. package/web/.svelte-kit/output/server/chunks/internal2.js.map +1 -1
  179. package/web/.svelte-kit/output/server/chunks/version.js +1 -1
  180. package/web/.svelte-kit/output/server/chunks/version.js.map +1 -1
  181. package/web/.svelte-kit/output/server/entries/pages/session/_target_/_page.svelte.js.map +1 -1
  182. package/web/.svelte-kit/output/server/manifest-full.js +1 -1
  183. package/web/.svelte-kit/output/server/manifest.js +1 -1
  184. package/web/.svelte-kit/output/server/nodes/0.js +1 -1
  185. package/web/.svelte-kit/output/server/nodes/1.js +1 -1
  186. package/web/.svelte-kit/output/server/nodes/2.js +1 -1
  187. package/web/.svelte-kit/output/server/nodes/3.js +1 -1
  188. package/web/.svelte-kit/output/server/nodes/4.js +1 -1
  189. package/web/.svelte-kit/output/server/nodes/5.js +1 -1
  190. package/web/.svelte-kit/output/server/nodes/6.js +1 -1
  191. package/web/.svelte-kit/output/server/nodes/7.js +1 -1
  192. package/web/.svelte-kit/output/server/nodes/8.js +1 -1
  193. package/web/.svelte-kit/output/server/nodes/9.js +1 -1
  194. package/web/src/routes/session/[target]/+page.svelte +24 -1
  195. package/dist/web/client/_app/immutable/chunks/CFx1X5dv.js +0 -3
  196. package/dist/web/client/_app/immutable/entry/start.CGC2zRGN.js +0 -2
  197. package/dist/web/client/_app/immutable/entry/start.CGC2zRGN.js.map +0 -1
  198. package/dist/web/server/chunks/version-Clbh-EaZ.js.map +0 -1
  199. package/web/.svelte-kit/output/client/_app/immutable/chunks/CFx1X5dv.js +0 -3
  200. package/web/.svelte-kit/output/client/_app/immutable/entry/start.CGC2zRGN.js +0 -2
  201. package/web/.svelte-kit/output/client/_app/immutable/entry/start.CGC2zRGN.js.map +0 -1
  202. package/web/.svelte-kit/output/client/_app/immutable/nodes/4.DUZfcDfX.js +0 -2
  203. package/web/.svelte-kit/output/client/_app/immutable/nodes/5.BUR8dPHU.js +0 -2
  204. package/web/.svelte-kit/output/client/_app/immutable/nodes/8.D7XNfIoQ.js +0 -2
  205. package/web/.svelte-kit/output/client/_app/immutable/nodes/9.DK1PnFTi.js +0 -2
@@ -1 +1 @@
1
- {"version":3,"file":"_layout.svelte-DTdVhWSL.js","names":["Context","Dialog_title","Dialog_overlay","Dialog_description","Context","getter","cn$1"],"sources":["../../../../web/.svelte-kit/adapter-bun/chunks/SessionStateIndicator.js","../../../../web/.svelte-kit/adapter-bun/chunks/alert-dialog-description.js","../../../../web/.svelte-kit/adapter-bun/chunks/ResizeDivider.js","../../../../web/.svelte-kit/adapter-bun/chunks/subagents.js","../../../../web/.svelte-kit/adapter-bun/chunks/past-resume.js","../../../../web/.svelte-kit/adapter-bun/entries/pages/_layout.svelte.js"],"sourcesContent":["import \"clsx\";\nimport \"@sveltejs/kit/internal\";\nimport \"./exports.js\";\nimport \"./utils2.js\";\nimport \"@sveltejs/kit/internal/server\";\nimport \"./root.js\";\nimport \"./state.svelte.js\";\nimport { g as getContext, b as browser, f as attr, k as attr_style, j as stringify, l as attr_class, d as derived } from \"./index.js\";\nimport { O as sessionApi, t as createPersisted } from \"./button.js\";\nimport { s as sessionStateVisual } from \"./session-notifications.js\";\nimport \"./badge.js\";\nfunction goto(url, opts = {}) {\n {\n throw new Error(\"Cannot call goto(...) on the server\");\n }\n}\nconst getStores = () => {\n const stores = getContext(\"__svelte__\");\n return {\n /** @type {typeof page} */\n page: {\n subscribe: stores.page.subscribe\n },\n /** @type {typeof navigating} */\n navigating: {\n subscribe: stores.navigating.subscribe\n },\n /** @type {typeof updated} */\n updated: stores.updated\n };\n};\nconst page = {\n subscribe(fn) {\n const store = getStores().page;\n return store.subscribe(fn);\n }\n};\nconst DRAWER_MEDIA_QUERY = \"(max-width: 768px)\";\nclass DrawerStore {\n open = false;\n toggle() {\n this.open = !this.open;\n }\n close() {\n this.open = false;\n }\n}\nconst drawer = new DrawerStore();\nconst PREFERRED_MIME = [\n \"audio/webm;codecs=opus\",\n \"audio/webm\",\n \"audio/ogg;codecs=opus\",\n \"audio/mp4\"\n];\nfunction pickMimeType() {\n if (typeof MediaRecorder === \"undefined\") return \"\";\n for (const m of PREFERRED_MIME) {\n if (MediaRecorder.isTypeSupported(m)) return m;\n }\n return \"\";\n}\nclass VoiceRecorder {\n stream = null;\n recorder = null;\n chunks = [];\n startedAt = 0;\n pending = null;\n audioCtx = null;\n analyser = null;\n timeBuf = null;\n gainNode = null;\n async start(deviceId, opts = {}) {\n if (this.recorder && this.recorder.state === \"recording\") {\n throw new Error(\"Already recording\");\n }\n const gain = Math.max(0.1, Math.min(10, opts.gain ?? 1));\n const useGainStage = gain !== 1;\n const noiseSuppression = opts.noiseSuppression ?? true;\n const audio = {\n echoCancellation: true,\n noiseSuppression,\n autoGainControl: true\n };\n if (deviceId) audio.deviceId = { exact: deviceId };\n let fellBackToDefault = false;\n try {\n this.stream = await navigator.mediaDevices.getUserMedia({ audio });\n } catch (err) {\n if (deviceId && err instanceof Error && err.name === \"OverconstrainedError\") {\n delete audio.deviceId;\n this.stream = await navigator.mediaDevices.getUserMedia({ audio });\n fellBackToDefault = true;\n } else {\n throw err;\n }\n }\n let recordStream = this.stream;\n try {\n const Ctor = window.AudioContext ?? window.webkitAudioContext;\n if (Ctor) {\n this.audioCtx = new Ctor();\n const source = this.audioCtx.createMediaStreamSource(this.stream);\n const analyser = this.audioCtx.createAnalyser();\n analyser.fftSize = 1024;\n analyser.smoothingTimeConstant = 0.4;\n if (useGainStage) {\n const gainNode = this.audioCtx.createGain();\n gainNode.gain.value = gain;\n const dest = this.audioCtx.createMediaStreamDestination();\n source.connect(gainNode);\n gainNode.connect(analyser);\n gainNode.connect(dest);\n this.gainNode = gainNode;\n recordStream = dest.stream;\n } else {\n source.connect(analyser);\n }\n this.analyser = analyser;\n this.timeBuf = new Float32Array(analyser.fftSize);\n }\n } catch {\n this.audioCtx = null;\n this.analyser = null;\n this.timeBuf = null;\n this.gainNode = null;\n recordStream = this.stream;\n }\n const mimeType = pickMimeType();\n const options = mimeType ? { mimeType } : {};\n this.recorder = new MediaRecorder(recordStream, options);\n this.chunks = [];\n this.startedAt = performance.now();\n this.recorder.ondataavailable = (e) => {\n if (e.data && e.data.size > 0) this.chunks.push(e.data);\n };\n this.recorder.onstop = () => {\n const used = this.recorder?.mimeType || mimeType || \"audio/webm\";\n const blob = new Blob(this.chunks, { type: used });\n const durationMs = performance.now() - this.startedAt;\n this.releaseStream();\n this.pending?.resolve({ blob, mimeType: used, durationMs });\n this.pending = null;\n };\n this.recorder.onerror = (ev) => {\n const err = ev.error ?? new Error(\"MediaRecorder error\");\n this.releaseStream();\n this.pending?.reject(err);\n this.pending = null;\n };\n this.recorder.start();\n return { fellBackToDefault };\n }\n async stop() {\n const rec = this.recorder;\n if (!rec || rec.state === \"inactive\") {\n throw new Error(\"Not recording\");\n }\n return new Promise((resolve, reject) => {\n this.pending = { resolve, reject };\n rec.stop();\n });\n }\n getLevel() {\n if (!this.analyser || !this.timeBuf) return null;\n this.analyser.getFloatTimeDomainData(this.timeBuf);\n let sumSq = 0;\n let peak = 0;\n for (let i = 0; i < this.timeBuf.length; i++) {\n const v = this.timeBuf[i];\n sumSq += v * v;\n const a = v < 0 ? -v : v;\n if (a > peak) peak = a;\n }\n const rms = Math.sqrt(sumSq / this.timeBuf.length);\n return { rms, peak };\n }\n releaseStream() {\n if (this.stream) {\n for (const t of this.stream.getTracks()) t.stop();\n this.stream = null;\n }\n if (this.audioCtx) {\n void this.audioCtx.close().catch(() => {\n });\n this.audioCtx = null;\n }\n this.analyser = null;\n this.timeBuf = null;\n this.gainNode = null;\n }\n}\nconst MIN_UTTERANCE_MS = 200;\nconst persisted = createPersisted(\"claude-mux-voice-settings\", {\n language: \"auto\",\n autoSubmit: true,\n deviceId: null,\n gain: 1,\n noiseSuppression: true\n});\nclass VoiceStore {\n status = \"idle\";\n error = null;\n startedAt = null;\n level = { rms: 0, peak: 0 };\n /** The session a take is for, as a ref: its target here, `host@target` on another machine. */\n ownerTarget = null;\n /**\n * Which field of that session asked for the take: null for the composer,\n * otherwise the id a question's own microphone gave itself. Only the field\n * that started a take may stop it, since the words are its to receive.\n */\n ownerField = null;\n prefs = persisted.load();\n recorder = null;\n inflightAbort = null;\n levelRaf = null;\n get supported() {\n return browser;\n }\n get unsupportedReason() {\n return null;\n }\n get isActive() {\n return this.status === \"recording\" || this.status === \"transcribing\";\n }\n isOwnedBy(target, field = null) {\n return target != null && this.ownerTarget === target && this.ownerField === field;\n }\n get language() {\n return this.prefs.language;\n }\n set language(v) {\n if (this.prefs.language === v) return;\n this.prefs.language = v;\n persisted.save(this.prefs);\n }\n get autoSubmit() {\n return this.prefs.autoSubmit;\n }\n set autoSubmit(v) {\n if (this.prefs.autoSubmit === v) return;\n this.prefs.autoSubmit = v;\n persisted.save(this.prefs);\n }\n get deviceId() {\n return this.prefs.deviceId;\n }\n set deviceId(v) {\n if (this.prefs.deviceId === v) return;\n this.prefs.deviceId = v;\n persisted.save(this.prefs);\n }\n get gain() {\n return this.prefs.gain;\n }\n set gain(v) {\n const clamped = Math.max(0.1, Math.min(10, v));\n if (this.prefs.gain === clamped) return;\n this.prefs.gain = clamped;\n persisted.save(this.prefs);\n }\n get noiseSuppression() {\n return this.prefs.noiseSuppression;\n }\n set noiseSuppression(v) {\n if (this.prefs.noiseSuppression === v) return;\n this.prefs.noiseSuppression = v;\n persisted.save(this.prefs);\n }\n async startRecording(target, field = null) {\n if (this.isActive) return;\n if (!this.supported) {\n this.fail(\"Voice not supported in this browser\");\n return;\n }\n if (!target) {\n this.fail(\"No target for voice recording\");\n return;\n }\n try {\n if (!this.recorder) this.recorder = new VoiceRecorder();\n const result = await this.recorder.start(this.deviceId, { gain: this.gain, noiseSuppression: this.noiseSuppression });\n if (result.fellBackToDefault && this.deviceId !== null) {\n this.deviceId = null;\n }\n this.ownerTarget = target;\n this.ownerField = field;\n this.status = \"recording\";\n this.error = null;\n this.startedAt = Date.now();\n this.startLevelLoop();\n } catch (err) {\n this.fail(err instanceof Error ? err.message : \"Microphone access denied\");\n }\n }\n startLevelLoop() {\n this.stopLevelLoop();\n const tick = () => {\n if (this.status !== \"recording\" || !this.recorder) {\n this.levelRaf = null;\n return;\n }\n const lvl = this.recorder.getLevel();\n if (lvl) this.level = lvl;\n this.levelRaf = requestAnimationFrame(tick);\n };\n this.levelRaf = requestAnimationFrame(tick);\n }\n stopLevelLoop() {\n if (this.levelRaf !== null) {\n cancelAnimationFrame(this.levelRaf);\n this.levelRaf = null;\n }\n this.level = { rms: 0, peak: 0 };\n }\n /**\n * End the take and resolve with what was said, or null when there is\n * nothing to show for it (too short, cancelled, or failed, in which case\n * `error` says why). The words are the caller's to place: this store\n * records and transcribes, and delivers nothing.\n */\n async stop() {\n if (this.status !== \"recording\" || !this.recorder) return null;\n const target = this.ownerTarget;\n if (!target) {\n this.fail(\"Voice owner missing\");\n return null;\n }\n this.stopLevelLoop();\n let result;\n try {\n result = await this.recorder.stop();\n } catch (err) {\n this.fail(err instanceof Error ? err.message : \"Recording failed\");\n return null;\n }\n if (this.status !== \"recording\") return null;\n if (result.blob.size === 0 || result.durationMs < MIN_UTTERANCE_MS) {\n this.release();\n return null;\n }\n this.status = \"transcribing\";\n this.startedAt = null;\n const ac = new AbortController();\n this.inflightAbort = ac;\n const qs = this.language === \"auto\" ? \"\" : `?lang=${this.language}`;\n try {\n const api = sessionApi(target);\n if (!api) throw new Error(\"Not a session\");\n const res = await fetch(`${api}/voice${qs}`, {\n method: \"POST\",\n headers: { \"Content-Type\": result.mimeType },\n body: result.blob,\n signal: ac.signal\n });\n if (!res.ok) {\n const body = await res.text().catch(() => \"\");\n throw new Error(body || `HTTP ${res.status}`);\n }\n const data = await res.json();\n this.release();\n const text = (data.text ?? \"\").trim();\n return text ? { text, command: data.command === true } : null;\n } catch (err) {\n if (ac.signal.aborted) {\n this.error = null;\n return null;\n }\n this.fail(err instanceof Error ? err.message : \"Transcription failed\");\n return null;\n } finally {\n if (this.inflightAbort === ac) this.inflightAbort = null;\n }\n }\n release() {\n this.status = \"idle\";\n this.startedAt = null;\n this.ownerTarget = null;\n this.ownerField = null;\n }\n cancelTranscribing() {\n if (this.status !== \"transcribing\" || !this.inflightAbort) return;\n this.release();\n this.inflightAbort.abort();\n }\n async cancelRecording() {\n if (this.status !== \"recording\" || !this.recorder) return;\n this.release();\n this.stopLevelLoop();\n try {\n await this.recorder.stop();\n } catch {\n }\n }\n async cancel() {\n if (this.status === \"recording\") {\n await this.cancelRecording();\n } else if (this.status === \"transcribing\") {\n this.cancelTranscribing();\n }\n }\n fail(message) {\n this.release();\n this.status = \"error\";\n this.error = message;\n }\n}\nconst voiceStore = new VoiceStore();\nfunction SessionStateIndicator($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { state, size = \"md\", title = null } = $$props;\n const visual = derived(() => sessionStateVisual(state));\n const px = derived(() => ({\n sm: { dot: 7, icon: 13 },\n md: { dot: 8, icon: 15 },\n lg: { dot: 12, icon: 18 }\n })[size]);\n const label = derived(() => title || visual().label);\n const phase = derived(() => visual().pulse ? -(Date.now() % 1600) : 0);\n if (visual().icon) {\n $$renderer2.push(`<!--[0--><iconify-icon class=\"state-icon svelte-hy3pce\"${attr(\"icon\", visual().icon)}${attr_style(`color: ${stringify(visual().color)}; font-size: ${stringify(px().icon)}px;`)} role=\"img\"${attr(\"aria-label\", label())}${attr(\"title\", title)}></iconify-icon>`);\n } else {\n $$renderer2.push(`<!--[-1--><span${attr_class(\"state-dot svelte-hy3pce\", void 0, { \"pulse-dot\": visual().pulse })}${attr_style(`background: ${stringify(visual().color)}; width: ${stringify(px().dot)}px; height: ${stringify(px().dot)}px; animation-delay: ${stringify(phase())}ms;`)} role=\"img\"${attr(\"aria-label\", label())}${attr(\"title\", title)}></span>`);\n }\n $$renderer2.push(`<!--]-->`);\n });\n}\nexport {\n DRAWER_MEDIA_QUERY as D,\n SessionStateIndicator as S,\n drawer as d,\n goto as g,\n page as p,\n voiceStore as v\n};\n//# sourceMappingURL=SessionStateIndicator.js.map\n","import { d as derived, c as bind_props, p as props_id, a as attributes, h as spread_props, m as clsx } from \"./index.js\";\nimport { P as PresenceManager, n as noop, F as Focus_scope, E as Escape_layer, c as Dismissible_layer, T as Text_selection_layer, S as Scroll_lock, h as Portal } from \"./scroll-lock.js\";\nimport { C as Context, d as boxWith, w as watch, Q as getDataOpenClosed, a as attachRef, V as getDataTransitionAttrs, f as boolToEmptyStrOrUndef, t as SPACE, E as ENTER, c as createBitsAttrs, b as createId, m as mergeProps } from \"./create-id.js\";\nimport { c as cn, Q as buttonVariants } from \"./button.js\";\nfunction afterSleep(ms, cb) {\n return setTimeout(cb, ms);\n}\nconst dialogAttrs = createBitsAttrs({\n component: \"dialog\",\n parts: [\n \"content\",\n \"trigger\",\n \"overlay\",\n \"title\",\n \"description\",\n \"close\",\n \"cancel\",\n \"action\"\n ]\n});\nconst DialogRootContext = new Context(\"Dialog.Root | AlertDialog.Root\");\nclass DialogRootState {\n static create(opts) {\n const parent = DialogRootContext.getOr(null);\n return DialogRootContext.set(new DialogRootState(opts, parent));\n }\n opts;\n triggerNode = null;\n contentNode = null;\n overlayNode = null;\n descriptionNode = null;\n contentId = void 0;\n titleId = void 0;\n triggerId = void 0;\n descriptionId = void 0;\n cancelNode = null;\n nestedOpenCount = 0;\n depth;\n parent;\n contentPresence;\n overlayPresence;\n constructor(opts, parent) {\n this.opts = opts;\n this.parent = parent;\n this.depth = parent ? parent.depth + 1 : 0;\n this.handleOpen = this.handleOpen.bind(this);\n this.handleClose = this.handleClose.bind(this);\n this.contentPresence = new PresenceManager({\n ref: boxWith(() => this.contentNode),\n open: this.opts.open,\n enabled: true,\n onComplete: () => {\n this.opts.onOpenChangeComplete.current(this.opts.open.current);\n }\n });\n this.overlayPresence = new PresenceManager({\n ref: boxWith(() => this.overlayNode),\n open: this.opts.open,\n enabled: true\n });\n watch(\n () => this.opts.open.current,\n (isOpen) => {\n if (!this.parent) return;\n if (isOpen) {\n this.parent.incrementNested();\n } else {\n this.parent.decrementNested();\n }\n },\n { lazy: true }\n );\n }\n handleOpen() {\n if (this.opts.open.current) return;\n this.opts.open.current = true;\n }\n handleClose() {\n if (!this.opts.open.current) return;\n this.opts.open.current = false;\n }\n getBitsAttr = (part) => {\n return dialogAttrs.getAttr(part, this.opts.variant.current);\n };\n incrementNested() {\n this.nestedOpenCount++;\n this.parent?.incrementNested();\n }\n decrementNested() {\n if (this.nestedOpenCount === 0) return;\n this.nestedOpenCount--;\n this.parent?.decrementNested();\n }\n #sharedProps = derived(() => ({ \"data-state\": getDataOpenClosed(this.opts.open.current) }));\n get sharedProps() {\n return this.#sharedProps();\n }\n set sharedProps($$value) {\n return this.#sharedProps($$value);\n }\n}\nclass DialogCloseState {\n static create(opts) {\n return new DialogCloseState(opts, DialogRootContext.get());\n }\n opts;\n root;\n attachment;\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.attachment = attachRef(this.opts.ref);\n this.onclick = this.onclick.bind(this);\n this.onkeydown = this.onkeydown.bind(this);\n }\n onclick(e) {\n if (this.opts.disabled.current) return;\n if (e.button > 0) return;\n this.root.handleClose();\n }\n onkeydown(e) {\n if (this.opts.disabled.current) return;\n if (e.key === SPACE || e.key === ENTER) {\n e.preventDefault();\n this.root.handleClose();\n }\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n [this.root.getBitsAttr(this.opts.variant.current)]: \"\",\n onclick: this.onclick,\n onkeydown: this.onkeydown,\n disabled: this.opts.disabled.current ? true : void 0,\n tabindex: 0,\n ...this.root.sharedProps,\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass DialogActionState {\n static create(opts) {\n return new DialogActionState(opts, DialogRootContext.get());\n }\n opts;\n root;\n attachment;\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.attachment = attachRef(this.opts.ref);\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n [this.root.getBitsAttr(\"action\")]: \"\",\n ...this.root.sharedProps,\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass DialogTitleState {\n static create(opts) {\n return new DialogTitleState(opts, DialogRootContext.get());\n }\n opts;\n root;\n attachment;\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.root.titleId = this.opts.id.current;\n this.attachment = attachRef(this.opts.ref);\n watch.pre(() => this.opts.id.current, (id) => {\n this.root.titleId = id;\n });\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n role: \"heading\",\n \"aria-level\": this.opts.level.current,\n [this.root.getBitsAttr(\"title\")]: \"\",\n ...this.root.sharedProps,\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass DialogDescriptionState {\n static create(opts) {\n return new DialogDescriptionState(opts, DialogRootContext.get());\n }\n opts;\n root;\n attachment;\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.root.descriptionId = this.opts.id.current;\n this.attachment = attachRef(this.opts.ref, (v) => {\n this.root.descriptionNode = v;\n });\n watch.pre(() => this.opts.id.current, (id) => {\n this.root.descriptionId = id;\n });\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n [this.root.getBitsAttr(\"description\")]: \"\",\n ...this.root.sharedProps,\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass DialogContentState {\n static create(opts) {\n return new DialogContentState(opts, DialogRootContext.get());\n }\n opts;\n root;\n attachment;\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.attachment = attachRef(this.opts.ref, (v) => {\n this.root.contentNode = v;\n this.root.contentId = v?.id;\n });\n }\n #snippetProps = derived(() => ({ open: this.root.opts.open.current }));\n get snippetProps() {\n return this.#snippetProps();\n }\n set snippetProps($$value) {\n return this.#snippetProps($$value);\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n role: this.root.opts.variant.current === \"alert-dialog\" ? \"alertdialog\" : \"dialog\",\n \"aria-modal\": \"true\",\n \"aria-describedby\": this.root.descriptionId,\n \"aria-labelledby\": this.root.titleId,\n [this.root.getBitsAttr(\"content\")]: \"\",\n style: {\n pointerEvents: \"auto\",\n outline: this.root.opts.variant.current === \"alert-dialog\" ? \"none\" : void 0,\n \"--bits-dialog-depth\": this.root.depth,\n \"--bits-dialog-nested-count\": this.root.nestedOpenCount,\n contain: \"layout style\"\n },\n tabindex: this.root.opts.variant.current === \"alert-dialog\" ? -1 : void 0,\n \"data-nested-open\": boolToEmptyStrOrUndef(this.root.nestedOpenCount > 0),\n \"data-nested\": boolToEmptyStrOrUndef(this.root.parent !== null),\n ...getDataTransitionAttrs(this.root.contentPresence.transitionStatus),\n ...this.root.sharedProps,\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n get shouldRender() {\n return this.root.contentPresence.shouldRender;\n }\n}\nclass DialogOverlayState {\n static create(opts) {\n return new DialogOverlayState(opts, DialogRootContext.get());\n }\n opts;\n root;\n attachment;\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.attachment = attachRef(this.opts.ref, (v) => this.root.overlayNode = v);\n }\n #snippetProps = derived(() => ({ open: this.root.opts.open.current }));\n get snippetProps() {\n return this.#snippetProps();\n }\n set snippetProps($$value) {\n return this.#snippetProps($$value);\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n [this.root.getBitsAttr(\"overlay\")]: \"\",\n style: {\n pointerEvents: \"auto\",\n \"--bits-dialog-depth\": this.root.depth,\n \"--bits-dialog-nested-count\": this.root.nestedOpenCount\n },\n \"data-nested-open\": boolToEmptyStrOrUndef(this.root.nestedOpenCount > 0),\n \"data-nested\": boolToEmptyStrOrUndef(this.root.parent !== null),\n ...getDataTransitionAttrs(this.root.overlayPresence.transitionStatus),\n ...this.root.sharedProps,\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n get shouldRender() {\n return this.root.overlayPresence.shouldRender;\n }\n}\nclass AlertDialogCancelState {\n static create(opts) {\n return new AlertDialogCancelState(opts, DialogRootContext.get());\n }\n opts;\n root;\n attachment;\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.attachment = attachRef(this.opts.ref, (v) => this.root.cancelNode = v);\n this.onclick = this.onclick.bind(this);\n this.onkeydown = this.onkeydown.bind(this);\n }\n onclick(e) {\n if (this.opts.disabled.current) return;\n if (e.button > 0) return;\n this.root.handleClose();\n }\n onkeydown(e) {\n if (this.opts.disabled.current) return;\n if (e.key === SPACE || e.key === ENTER) {\n e.preventDefault();\n this.root.handleClose();\n }\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n [this.root.getBitsAttr(\"cancel\")]: \"\",\n onclick: this.onclick,\n onkeydown: this.onkeydown,\n tabindex: 0,\n disabled: this.opts.disabled.current,\n ...this.root.sharedProps,\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nfunction Alert_dialog$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n open = false,\n onOpenChange = noop,\n onOpenChangeComplete = noop,\n children\n } = $$props;\n DialogRootState.create({\n variant: boxWith(() => \"alert-dialog\"),\n open: boxWith(() => open, (v) => {\n open = v;\n onOpenChange(v);\n }),\n onOpenChangeComplete: boxWith(() => onOpenChangeComplete)\n });\n children?.($$renderer2);\n $$renderer2.push(`<!---->`);\n bind_props($$props, { open });\n });\n}\nfunction Dialog_title($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n id = createId(uid),\n ref = null,\n child,\n children,\n level = 2,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const titleState = DialogTitleState.create({\n id: boxWith(() => id),\n level: boxWith(() => level),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, titleState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Alert_dialog_action$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n children,\n child,\n id = createId(uid),\n ref = null,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const actionState = DialogActionState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, actionState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><button${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></button>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Alert_dialog_cancel$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n id = createId(uid),\n ref = null,\n children,\n child,\n disabled = false,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const cancelState = AlertDialogCancelState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v),\n disabled: boxWith(() => Boolean(disabled))\n });\n const mergedProps = derived(() => mergeProps(restProps, cancelState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><button${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></button>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Alert_dialog_content$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n id = createId(uid),\n children,\n child,\n ref = null,\n forceMount = false,\n interactOutsideBehavior = \"ignore\",\n onCloseAutoFocus = noop,\n onEscapeKeydown = noop,\n onOpenAutoFocus = noop,\n onInteractOutside = noop,\n preventScroll = true,\n preventOverflowTextSelection = true,\n trapFocus = true,\n restoreScrollDelay = null,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const contentState = DialogContentState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, contentState.props));\n if (contentState.shouldRender || forceMount) {\n $$renderer2.push(\"<!--[0-->\");\n {\n let focusScope = function($$renderer3, { props: focusScopeProps }) {\n Escape_layer($$renderer3, spread_props([\n mergedProps(),\n {\n enabled: contentState.root.opts.open.current,\n ref: contentState.opts.ref,\n onEscapeKeydown: (e) => {\n onEscapeKeydown(e);\n if (e.defaultPrevented) return;\n contentState.root.handleClose();\n },\n children: ($$renderer4) => {\n Dismissible_layer($$renderer4, spread_props([\n mergedProps(),\n {\n ref: contentState.opts.ref,\n enabled: contentState.root.opts.open.current,\n interactOutsideBehavior,\n onInteractOutside: (e) => {\n onInteractOutside(e);\n if (e.defaultPrevented) return;\n contentState.root.handleClose();\n },\n children: ($$renderer5) => {\n Text_selection_layer($$renderer5, spread_props([\n mergedProps(),\n {\n preventOverflowTextSelection,\n ref: contentState.opts.ref,\n enabled: contentState.root.opts.open.current,\n children: ($$renderer6) => {\n if (child) {\n $$renderer6.push(\"<!--[0-->\");\n if (contentState.root.opts.open.current) {\n $$renderer6.push(\"<!--[0-->\");\n Scroll_lock($$renderer6, { preventScroll, restoreScrollDelay });\n } else {\n $$renderer6.push(\"<!--[-1-->\");\n }\n $$renderer6.push(`<!--]--> `);\n child($$renderer6, {\n props: mergeProps(mergedProps(), focusScopeProps),\n ...contentState.snippetProps\n });\n $$renderer6.push(`<!---->`);\n } else {\n $$renderer6.push(\"<!--[-1-->\");\n Scroll_lock($$renderer6, { preventScroll });\n $$renderer6.push(`<!----> <div${attributes({ ...mergeProps(mergedProps(), focusScopeProps) })}>`);\n children?.($$renderer6);\n $$renderer6.push(`<!----></div>`);\n }\n $$renderer6.push(`<!--]-->`);\n },\n $$slots: { default: true }\n }\n ]));\n },\n $$slots: { default: true }\n }\n ]));\n },\n $$slots: { default: true }\n }\n ]));\n };\n Focus_scope($$renderer2, {\n ref: contentState.opts.ref,\n loop: true,\n trapFocus,\n enabled: contentState.root.opts.open.current,\n onCloseAutoFocus,\n onOpenAutoFocus: (e) => {\n onOpenAutoFocus(e);\n if (e.defaultPrevented) return;\n e.preventDefault();\n const node = contentState.opts.ref.current;\n afterSleep(0, () => {\n if (node?.isConnected) node.focus();\n });\n },\n focusScope\n });\n }\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Dialog_overlay($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n id = createId(uid),\n forceMount = false,\n child,\n children,\n ref = null,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const overlayState = DialogOverlayState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, overlayState.props));\n if (overlayState.shouldRender || forceMount) {\n $$renderer2.push(\"<!--[0-->\");\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, {\n props: mergeProps(mergedProps()),\n ...overlayState.snippetProps\n });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergeProps(mergedProps()) })}>`);\n children?.($$renderer2, overlayState.snippetProps);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Dialog_description($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n id = createId(uid),\n children,\n child,\n ref = null,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const descriptionState = DialogDescriptionState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, descriptionState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Alert_dialog($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { open = false, $$slots, $$events, ...restProps } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Alert_dialog$1) {\n $$renderer3.push(\"<!--[-->\");\n Alert_dialog$1($$renderer3, spread_props([\n restProps,\n {\n get open() {\n return open;\n },\n set open($$value) {\n open = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { open });\n });\n}\nfunction Alert_dialog_portal($$renderer, $$props) {\n let { $$slots, $$events, ...restProps } = $$props;\n if (Portal) {\n $$renderer.push(\"<!--[-->\");\n Portal($$renderer, spread_props([restProps]));\n $$renderer.push(\"<!--]-->\");\n } else {\n $$renderer.push(\"<!--[!-->\");\n $$renderer.push(\"<!--]-->\");\n }\n}\nfunction Alert_dialog_title($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Dialog_title) {\n $$renderer3.push(\"<!--[-->\");\n Dialog_title($$renderer3, spread_props([\n {\n \"data-slot\": \"alert-dialog-title\",\n class: cn(\"text-lg font-semibold\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Alert_dialog_action($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Alert_dialog_action$1) {\n $$renderer3.push(\"<!--[-->\");\n Alert_dialog_action$1($$renderer3, spread_props([\n {\n \"data-slot\": \"alert-dialog-action\",\n class: cn(buttonVariants(), className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Alert_dialog_cancel($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Alert_dialog_cancel$1) {\n $$renderer3.push(\"<!--[-->\");\n Alert_dialog_cancel$1($$renderer3, spread_props([\n {\n \"data-slot\": \"alert-dialog-cancel\",\n class: cn(buttonVariants({ variant: \"outline\" }), className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Alert_dialog_footer($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n children,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n $$renderer2.push(`<div${attributes({\n \"data-slot\": \"alert-dialog-footer\",\n class: clsx(cn(\"flex flex-col-reverse gap-2 sm:flex-row sm:justify-end\", className)),\n ...restProps\n })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n bind_props($$props, { ref });\n });\n}\nfunction Alert_dialog_header($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n children,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n $$renderer2.push(`<div${attributes({\n \"data-slot\": \"alert-dialog-header\",\n class: clsx(cn(\"flex flex-col gap-2 text-center sm:text-start\", className)),\n ...restProps\n })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n bind_props($$props, { ref });\n });\n}\nfunction Alert_dialog_overlay($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Dialog_overlay) {\n $$renderer3.push(\"<!--[-->\");\n Dialog_overlay($$renderer3, spread_props([\n {\n \"data-slot\": \"alert-dialog-overlay\",\n class: cn(\"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-(--z-modal) bg-black/50\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Alert_dialog_content($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n portalProps,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n Alert_dialog_portal($$renderer3, spread_props([\n portalProps,\n {\n children: ($$renderer4) => {\n Alert_dialog_overlay($$renderer4, {});\n $$renderer4.push(`<!----> `);\n if (Alert_dialog_content$1) {\n $$renderer4.push(\"<!--[-->\");\n Alert_dialog_content$1($$renderer4, spread_props([\n {\n \"data-slot\": \"alert-dialog-content\",\n class: cn(\"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-(--z-modal) grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n }\n ]));\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Alert_dialog_description($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Dialog_description) {\n $$renderer3.push(\"<!--[-->\");\n Dialog_description($$renderer3, spread_props([\n {\n \"data-slot\": \"alert-dialog-description\",\n class: cn(\"text-muted-foreground text-sm\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nexport {\n Alert_dialog as A,\n DialogRootState as D,\n afterSleep as a,\n Alert_dialog_content as b,\n Alert_dialog_header as c,\n Alert_dialog_title as d,\n Alert_dialog_description as e,\n Alert_dialog_footer as f,\n Alert_dialog_cancel as g,\n Alert_dialog_action as h,\n DialogCloseState as i,\n DialogContentState as j,\n Dialog_title as k,\n Dialog_overlay as l,\n Dialog_description as m\n};\n//# sourceMappingURL=alert-dialog-description.js.map\n","import { d as derived, p as props_id, a as attributes, c as bind_props, h as spread_props, f as attr, j as stringify, e as escape_html, m as clsx, l as attr_class } from \"./index.js\";\nimport \"./panes.js\";\nimport \"clsx\";\nimport { D as DialogRootState, i as DialogCloseState, j as DialogContentState, k as Dialog_title$1, l as Dialog_overlay$1, m as Dialog_description$1 } from \"./alert-dialog-description.js\";\nimport { P as PresenceManager, a as afterTick, n as noop, F as Focus_scope, E as Escape_layer, c as Dismissible_layer, T as Text_selection_layer, S as Scroll_lock, h as Portal } from \"./scroll-lock.js\";\nimport { w as watch, C as Context, a as attachRef, d as boxWith, f as boolToEmptyStrOrUndef, Q as getDataOpenClosed, t as SPACE, E as ENTER, e as boolToStr, V as getDataTransitionAttrs, c as createBitsAttrs, b as createId, m as mergeProps } from \"./create-id.js\";\nimport { c as cn, B as Button, u as sessionStore } from \"./button.js\";\nimport { I as Icon } from \"./Icon.js\";\nimport { I as Input } from \"./badge.js\";\nimport { o as on } from \"./root.js\";\nimport { h as hostTimeZone, m as makeDayFormatter } from \"./day.js\";\nconst blockedAnimationStyle = { animationName: \"none\", transitionDuration: \"0s\" };\nclass MountAnimationGuard {\n #prevented = false;\n constructor(open) {\n this.#prevented = open();\n watch.pre(\n open,\n () => {\n this.#prevented = false;\n },\n { lazy: true }\n );\n }\n get style() {\n return this.#prevented ? blockedAnimationStyle : void 0;\n }\n}\nfunction measureWithoutAnimation(node) {\n const { animationName, transitionDuration } = node.style;\n node.style.animationName = blockedAnimationStyle.animationName;\n node.style.transitionDuration = blockedAnimationStyle.transitionDuration;\n const rect = node.getBoundingClientRect();\n node.style.animationName = animationName;\n node.style.transitionDuration = transitionDuration;\n return rect;\n}\nconst collapsibleAttrs = createBitsAttrs({\n component: \"collapsible\",\n parts: [\"root\", \"content\", \"trigger\"]\n});\nconst CollapsibleRootContext = new Context(\"Collapsible.Root\");\nclass CollapsibleRootState {\n static create(opts) {\n return CollapsibleRootContext.set(new CollapsibleRootState(opts));\n }\n opts;\n attachment;\n contentNode = null;\n contentPresence;\n contentId = void 0;\n constructor(opts) {\n this.opts = opts;\n this.toggleOpen = this.toggleOpen.bind(this);\n this.attachment = attachRef(this.opts.ref);\n this.contentPresence = new PresenceManager({\n ref: boxWith(() => this.contentNode),\n open: this.opts.open,\n onComplete: () => {\n this.opts.onOpenChangeComplete.current(this.opts.open.current);\n }\n });\n }\n toggleOpen() {\n this.opts.open.current = !this.opts.open.current;\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n \"data-state\": getDataOpenClosed(this.opts.open.current),\n \"data-disabled\": boolToEmptyStrOrUndef(this.opts.disabled.current),\n [collapsibleAttrs.root]: \"\",\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass CollapsibleContentState {\n static create(opts) {\n return new CollapsibleContentState(opts, CollapsibleRootContext.get());\n }\n opts;\n root;\n attachment;\n #present = derived(() => {\n if (this.opts.hiddenUntilFound.current) return this.root.opts.open.current;\n return this.opts.forceMount.current || this.root.opts.open.current;\n });\n get present() {\n return this.#present();\n }\n set present($$value) {\n return this.#present($$value);\n }\n #mountAnimationGuard;\n #width = 0;\n #height = 0;\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.#mountAnimationGuard = new MountAnimationGuard(() => this.root.opts.open.current);\n this.root.contentId = this.opts.id.current;\n this.attachment = attachRef(this.opts.ref, (v) => this.root.contentNode = v);\n watch.pre(() => this.opts.id.current, (id) => {\n this.root.contentId = id;\n });\n watch.pre(\n [\n () => this.opts.ref.current,\n () => this.opts.hiddenUntilFound.current\n ],\n ([node, hiddenUntilFound]) => {\n if (!node || !hiddenUntilFound) return;\n const handleBeforeMatch = () => {\n if (this.root.opts.open.current) return;\n requestAnimationFrame(() => {\n this.root.opts.open.current = true;\n });\n };\n return on(node, \"beforematch\", handleBeforeMatch);\n }\n );\n watch([() => this.opts.ref.current, () => this.present], ([node]) => {\n if (!node) return;\n let active = true;\n afterTick(() => {\n if (!active) return;\n if (!this.opts.ref.current) return;\n const rect = measureWithoutAnimation(node);\n this.#height = rect.height;\n this.#width = rect.width;\n });\n return () => {\n active = false;\n };\n });\n }\n get shouldRender() {\n return this.root.contentPresence.shouldRender;\n }\n #snippetProps = derived(() => ({ open: this.root.opts.open.current }));\n get snippetProps() {\n return this.#snippetProps();\n }\n set snippetProps($$value) {\n return this.#snippetProps($$value);\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n style: {\n \"--bits-collapsible-content-height\": this.#height ? `${this.#height}px` : void 0,\n \"--bits-collapsible-content-width\": this.#width ? `${this.#width}px` : void 0,\n ...this.#mountAnimationGuard.style\n },\n hidden: this.opts.hiddenUntilFound.current && !this.root.opts.open.current ? \"until-found\" : void 0,\n \"data-state\": getDataOpenClosed(this.root.opts.open.current),\n ...getDataTransitionAttrs(this.root.contentPresence.transitionStatus),\n \"data-disabled\": boolToEmptyStrOrUndef(this.root.opts.disabled.current),\n [collapsibleAttrs.content]: \"\",\n ...this.opts.hiddenUntilFound.current && !this.shouldRender ? {} : {\n hidden: this.opts.hiddenUntilFound.current ? !this.shouldRender : this.opts.forceMount.current ? void 0 : !this.shouldRender\n },\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass CollapsibleTriggerState {\n static create(opts) {\n return new CollapsibleTriggerState(opts, CollapsibleRootContext.get());\n }\n opts;\n root;\n attachment;\n #isDisabled = derived(() => this.opts.disabled.current || this.root.opts.disabled.current);\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.attachment = attachRef(this.opts.ref);\n this.onclick = this.onclick.bind(this);\n this.onkeydown = this.onkeydown.bind(this);\n }\n onclick(e) {\n if (this.#isDisabled()) return;\n if (e.button !== 0) return e.preventDefault();\n this.root.toggleOpen();\n }\n onkeydown(e) {\n if (this.#isDisabled()) return;\n if (e.key === SPACE || e.key === ENTER) {\n e.preventDefault();\n this.root.toggleOpen();\n }\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n type: \"button\",\n disabled: this.#isDisabled(),\n \"aria-controls\": this.root.contentId,\n \"aria-expanded\": boolToStr(this.root.opts.open.current),\n \"data-state\": getDataOpenClosed(this.root.opts.open.current),\n \"data-disabled\": boolToEmptyStrOrUndef(this.#isDisabled()),\n [collapsibleAttrs.trigger]: \"\",\n //\n onclick: this.onclick,\n onkeydown: this.onkeydown,\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nfunction Collapsible$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n children,\n child,\n id = createId(uid),\n ref = null,\n open = false,\n disabled = false,\n onOpenChange = noop,\n onOpenChangeComplete = noop,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const rootState = CollapsibleRootState.create({\n open: boxWith(() => open, (v) => {\n open = v;\n onOpenChange(v);\n }),\n disabled: boxWith(() => disabled),\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v),\n onOpenChangeComplete: boxWith(() => onOpenChangeComplete)\n });\n const mergedProps = derived(() => mergeProps(restProps, rootState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref, open });\n });\n}\nfunction Collapsible_content$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n child,\n ref = null,\n forceMount = false,\n hiddenUntilFound = false,\n children,\n id = createId(uid),\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const contentState = CollapsibleContentState.create({\n id: boxWith(() => id),\n forceMount: boxWith(() => forceMount),\n hiddenUntilFound: boxWith(() => hiddenUntilFound),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, contentState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { ...contentState.snippetProps, props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Collapsible_trigger$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n children,\n child,\n ref = null,\n id = createId(uid),\n disabled = false,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const triggerState = CollapsibleTriggerState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v),\n disabled: boxWith(() => disabled)\n });\n const mergedProps = derived(() => mergeProps(restProps, triggerState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><button${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></button>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Dialog$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n open = false,\n onOpenChange = noop,\n onOpenChangeComplete = noop,\n children\n } = $$props;\n DialogRootState.create({\n variant: boxWith(() => \"dialog\"),\n open: boxWith(() => open, (v) => {\n open = v;\n onOpenChange(v);\n }),\n onOpenChangeComplete: boxWith(() => onOpenChangeComplete)\n });\n children?.($$renderer2);\n $$renderer2.push(`<!---->`);\n bind_props($$props, { open });\n });\n}\nfunction Dialog_close($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n children,\n child,\n id = createId(uid),\n ref = null,\n disabled = false,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const closeState = DialogCloseState.create({\n variant: boxWith(() => \"close\"),\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v),\n disabled: boxWith(() => Boolean(disabled))\n });\n const mergedProps = derived(() => mergeProps(restProps, closeState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><button${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></button>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Dialog_content$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n id = createId(uid),\n children,\n child,\n ref = null,\n forceMount = false,\n onCloseAutoFocus = noop,\n onOpenAutoFocus = noop,\n onEscapeKeydown = noop,\n onInteractOutside = noop,\n trapFocus = true,\n preventScroll = true,\n preventOverflowTextSelection = true,\n restoreScrollDelay = null,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const contentState = DialogContentState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, contentState.props));\n if (contentState.shouldRender || forceMount) {\n $$renderer2.push(\"<!--[0-->\");\n {\n let focusScope = function($$renderer3, { props: focusScopeProps }) {\n Escape_layer($$renderer3, spread_props([\n mergedProps(),\n {\n enabled: contentState.root.opts.open.current,\n ref: contentState.opts.ref,\n onEscapeKeydown: (e) => {\n onEscapeKeydown(e);\n if (e.defaultPrevented) return;\n contentState.root.handleClose();\n },\n children: ($$renderer4) => {\n Dismissible_layer($$renderer4, spread_props([\n mergedProps(),\n {\n ref: contentState.opts.ref,\n enabled: contentState.root.opts.open.current,\n onInteractOutside: (e) => {\n onInteractOutside(e);\n if (e.defaultPrevented) return;\n contentState.root.handleClose();\n },\n children: ($$renderer5) => {\n Text_selection_layer($$renderer5, spread_props([\n mergedProps(),\n {\n preventOverflowTextSelection,\n ref: contentState.opts.ref,\n enabled: contentState.root.opts.open.current,\n children: ($$renderer6) => {\n if (child) {\n $$renderer6.push(\"<!--[0-->\");\n if (contentState.root.opts.open.current) {\n $$renderer6.push(\"<!--[0-->\");\n Scroll_lock($$renderer6, { preventScroll, restoreScrollDelay });\n } else {\n $$renderer6.push(\"<!--[-1-->\");\n }\n $$renderer6.push(`<!--]--> `);\n child($$renderer6, {\n props: mergeProps(mergedProps(), focusScopeProps),\n ...contentState.snippetProps\n });\n $$renderer6.push(`<!---->`);\n } else {\n $$renderer6.push(\"<!--[-1-->\");\n Scroll_lock($$renderer6, { preventScroll });\n $$renderer6.push(`<!----> <div${attributes({ ...mergeProps(mergedProps(), focusScopeProps) })}>`);\n children?.($$renderer6);\n $$renderer6.push(`<!----></div>`);\n }\n $$renderer6.push(`<!--]-->`);\n },\n $$slots: { default: true }\n }\n ]));\n },\n $$slots: { default: true }\n }\n ]));\n },\n $$slots: { default: true }\n }\n ]));\n };\n Focus_scope($$renderer2, {\n ref: contentState.opts.ref,\n loop: true,\n trapFocus,\n enabled: contentState.root.opts.open.current,\n onOpenAutoFocus,\n onCloseAutoFocus,\n focusScope\n });\n }\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction DiffBadge($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { changes } = $$props;\n if (changes && (changes.additions > 0 || changes.deletions > 0)) {\n $$renderer2.push(`<!--[0--><span class=\"diff svelte-yz18w2\"${attr(\"title\", `${stringify(changes.files)} ${changes.files === 1 ? \"file\" : \"files\"} changed (${changes.source === \"git\" ? \"git\" : \"this session\"})`)}><span class=\"add svelte-yz18w2\">+${escape_html(changes.additions)}</span> <span class=\"del svelte-yz18w2\">−${escape_html(changes.deletions)}</span></span>`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]-->`);\n });\n}\nconst NONE = [];\nfunction release(chip) {\n chip.abort?.abort();\n if (chip.thumb) URL.revokeObjectURL(chip.thumb);\n}\nclass AttachmentsStore {\n state = {};\n get(target) {\n if (!target) return NONE;\n return this.state[target] ?? NONE;\n }\n count(target) {\n return this.get(target).length;\n }\n add(target, chip) {\n if (!target) return;\n this.state[target] = [...this.get(target), chip];\n }\n /** Patch a chip in its own target's list; a no-op once it has been removed. */\n patch(target, localId, changes) {\n const list = this.state[target];\n if (!list?.some((a) => a.localId === localId)) return;\n this.state[target] = list.map((a) => a.localId === localId ? { ...a, ...changes } : a);\n }\n /** Drop one chip, aborting its upload and revoking its blob URL. */\n remove(target, localId) {\n const list = target ? this.state[target] : void 0;\n const chip = list?.find((a) => a.localId === localId);\n if (!target || !list || !chip) return void 0;\n release(chip);\n const rest = list.filter((a) => a.localId !== localId);\n if (rest.length) this.state[target] = rest;\n else delete this.state[target];\n return chip;\n }\n clear(target) {\n const list = target ? this.state[target] : void 0;\n if (!target || !list) return;\n list.forEach(release);\n delete this.state[target];\n }\n}\nconst attachmentsStore = new AttachmentsStore();\nfunction Dialog($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { open = false, $$slots, $$events, ...restProps } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Dialog$1) {\n $$renderer3.push(\"<!--[-->\");\n Dialog$1($$renderer3, spread_props([\n restProps,\n {\n get open() {\n return open;\n },\n set open($$value) {\n open = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { open });\n });\n}\nfunction Dialog_portal($$renderer, $$props) {\n let { $$slots, $$events, ...restProps } = $$props;\n if (Portal) {\n $$renderer.push(\"<!--[-->\");\n Portal($$renderer, spread_props([restProps]));\n $$renderer.push(\"<!--]-->\");\n } else {\n $$renderer.push(\"<!--[!-->\");\n $$renderer.push(\"<!--]-->\");\n }\n}\nfunction Dialog_title($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Dialog_title$1) {\n $$renderer3.push(\"<!--[-->\");\n Dialog_title$1($$renderer3, spread_props([\n {\n \"data-slot\": \"dialog-title\",\n class: cn(\"text-lg leading-none font-semibold\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Dialog_footer($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n children,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n $$renderer2.push(`<div${attributes({\n \"data-slot\": \"dialog-footer\",\n class: clsx(cn(\"flex flex-col-reverse gap-2 sm:flex-row sm:justify-end\", className)),\n ...restProps\n })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n bind_props($$props, { ref });\n });\n}\nfunction Dialog_header($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n children,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n $$renderer2.push(`<div${attributes({\n \"data-slot\": \"dialog-header\",\n class: clsx(cn(\"flex flex-col gap-2 text-center sm:text-start\", className)),\n ...restProps\n })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n bind_props($$props, { ref });\n });\n}\nfunction Dialog_overlay($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Dialog_overlay$1) {\n $$renderer3.push(\"<!--[-->\");\n Dialog_overlay$1($$renderer3, spread_props([\n {\n \"data-slot\": \"dialog-overlay\",\n class: cn(\"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-(--z-modal) bg-black/50\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction X($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { $$slots, $$events, ...props } = $$props;\n const iconNode = [\n [\"path\", { \"d\": \"M18 6 6 18\" }],\n [\"path\", { \"d\": \"m6 6 12 12\" }]\n ];\n Icon($$renderer2, spread_props([\n { name: \"x\" },\n /**\n * @component @name X\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTggNiA2IDE4IiAvPgogIDxwYXRoIGQ9Im02IDYgMTIgMTIiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/x\n * @see https://lucide.dev/guide/packages/lucide-svelte - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {FunctionalComponent} Svelte component\n *\n */\n props,\n {\n iconNode,\n children: ($$renderer3) => {\n props.children?.($$renderer3);\n $$renderer3.push(`<!---->`);\n },\n $$slots: { default: true }\n }\n ]));\n });\n}\nfunction Dialog_content($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n portalProps,\n children,\n showCloseButton = true,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n Dialog_portal($$renderer3, spread_props([\n portalProps,\n {\n children: ($$renderer4) => {\n if (Dialog_overlay) {\n $$renderer4.push(\"<!--[-->\");\n Dialog_overlay($$renderer4, {});\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n $$renderer4.push(` `);\n if (Dialog_content$1) {\n $$renderer4.push(\"<!--[-->\");\n Dialog_content$1($$renderer4, spread_props([\n {\n \"data-slot\": \"dialog-content\",\n class: cn(\"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-(--z-modal) grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n },\n children: ($$renderer5) => {\n children?.($$renderer5);\n $$renderer5.push(`<!----> `);\n if (showCloseButton) {\n $$renderer5.push(\"<!--[0-->\");\n if (Dialog_close) {\n $$renderer5.push(\"<!--[-->\");\n Dialog_close($$renderer5, {\n class: \"ring-offset-background focus:ring-ring absolute end-4 top-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n children: ($$renderer6) => {\n X($$renderer6, {});\n $$renderer6.push(`<!----> <span class=\"sr-only\">Close</span>`);\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]-->`);\n },\n $$slots: { default: true }\n }\n ]));\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n }\n ]));\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Dialog_description($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Dialog_description$1) {\n $$renderer3.push(\"<!--[-->\");\n Dialog_description$1($$renderer3, spread_props([\n {\n \"data-slot\": \"dialog-description\",\n class: cn(\"text-muted-foreground text-sm\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction RenameSessionDialog($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { sessionId, onClose, sessions, base = \"\" } = $$props;\n const session = derived(() => {\n if (!sessionId) return null;\n if (sessions) return sessions.find((s) => s.id === sessionId) ?? null;\n return sessionStore.sessionById.get(sessionId) ?? null;\n });\n let value = \"\";\n let inputEl = null;\n let killArmed = false;\n let positionStyle = void 0;\n async function commit() {\n const target = session();\n const next = value.trim();\n onClose();\n if (!target || next === (target.display_name ?? \"\")) return;\n try {\n await fetch(`${base}/api/sessions/${encodeURIComponent(target.id)}/rename`, {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n body: JSON.stringify({ name: next || null })\n });\n } catch {\n }\n }\n async function kill() {\n const target = session();\n if (!target) return;\n if (!killArmed) {\n killArmed = true;\n return;\n }\n onClose();\n try {\n await fetch(`${base}/api/sessions/${encodeURIComponent(target.id)}/kill`, {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n body: JSON.stringify({ pid: target.pid, tmux_target: target.tmux_target })\n });\n } catch {\n }\n }\n function onKeydown(e) {\n if (e.key === \"Enter\") {\n e.preventDefault();\n void commit();\n }\n }\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Dialog) {\n $$renderer3.push(\"<!--[-->\");\n Dialog($$renderer3, {\n open: session() !== null,\n onOpenChange: (open) => {\n if (!open) onClose();\n },\n children: ($$renderer4) => {\n if (Dialog_content) {\n $$renderer4.push(\"<!--[-->\");\n Dialog_content($$renderer4, {\n class: \"max-w-sm\",\n style: positionStyle,\n onOpenAutoFocus: (e) => {\n e.preventDefault();\n inputEl?.focus();\n inputEl?.select();\n },\n children: ($$renderer5) => {\n if (Dialog_header) {\n $$renderer5.push(\"<!--[-->\");\n Dialog_header($$renderer5, {\n children: ($$renderer6) => {\n if (Dialog_title) {\n $$renderer6.push(\"<!--[-->\");\n Dialog_title($$renderer6, {\n children: ($$renderer7) => {\n $$renderer7.push(`<!---->Rename session`);\n },\n $$slots: { default: true }\n });\n $$renderer6.push(\"<!--]-->\");\n } else {\n $$renderer6.push(\"<!--[!-->\");\n $$renderer6.push(\"<!--]-->\");\n }\n $$renderer6.push(` `);\n if (Dialog_description) {\n $$renderer6.push(\"<!--[-->\");\n Dialog_description($$renderer6, {\n children: ($$renderer7) => {\n $$renderer7.push(`<!---->Also sent to the agent as <code>/rename</code>, once its pane is back at a prompt. Leave\n\t\t\t\tblank to fall back to the tmux target.`);\n },\n $$slots: { default: true }\n });\n $$renderer6.push(\"<!--]-->\");\n } else {\n $$renderer6.push(\"<!--[!-->\");\n $$renderer6.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n $$renderer5.push(` `);\n Input($$renderer5, {\n onkeydown: onKeydown,\n class: \"font-mono\",\n type: \"text\",\n placeholder: session()?.tmux_target ?? session()?.id ?? \"session name\",\n \"aria-label\": \"Session name\",\n autocomplete: \"off\",\n autocapitalize: \"off\",\n spellcheck: \"false\",\n enterkeyhint: \"done\",\n maxlength: 120,\n get ref() {\n return inputEl;\n },\n set ref($$value) {\n inputEl = $$value;\n $$settled = false;\n },\n get value() {\n return value;\n },\n set value($$value) {\n value = $$value;\n $$settled = false;\n }\n });\n $$renderer5.push(`<!----> `);\n if (Dialog_footer) {\n $$renderer5.push(\"<!--[-->\");\n Dialog_footer($$renderer5, {\n children: ($$renderer6) => {\n Button($$renderer6, {\n variant: \"ghost\",\n class: \"min-h-11 text-destructive hover:text-destructive sm:mr-auto\",\n onclick: kill,\n children: ($$renderer7) => {\n $$renderer7.push(`<!---->${escape_html(killArmed ? \"Confirm kill\" : \"Kill session\")}`);\n },\n $$slots: { default: true }\n });\n $$renderer6.push(`<!----> `);\n Button($$renderer6, {\n variant: \"ghost\",\n class: \"min-h-11\",\n onclick: onClose,\n children: ($$renderer7) => {\n $$renderer7.push(`<!---->Cancel`);\n },\n $$slots: { default: true }\n });\n $$renderer6.push(`<!----> `);\n Button($$renderer6, {\n class: \"min-h-11\",\n onclick: commit,\n children: ($$renderer7) => {\n $$renderer7.push(`<!---->Rename`);\n },\n $$slots: { default: true }\n });\n $$renderer6.push(`<!---->`);\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n });\n}\nfunction Collapsible_content($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { ref = null, $$slots, $$events, ...restProps } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Collapsible_content$1) {\n $$renderer3.push(\"<!--[-->\");\n Collapsible_content$1($$renderer3, spread_props([\n { \"data-slot\": \"collapsible-content\" },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Collapsible_trigger($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { ref = null, $$slots, $$events, ...restProps } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Collapsible_trigger$1) {\n $$renderer3.push(\"<!--[-->\");\n Collapsible_trigger$1($$renderer3, spread_props([\n { \"data-slot\": \"collapsible-trigger\" },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Collapsible($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { ref = null, open = false, $$slots, $$events, ...restProps } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Collapsible$1) {\n $$renderer3.push(\"<!--[-->\");\n Collapsible$1($$renderer3, spread_props([\n { \"data-slot\": \"collapsible\" },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n },\n get open() {\n return open;\n },\n set open($$value) {\n open = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref, open });\n });\n}\nclass UsageStore {\n summary = null;\n quota = null;\n subscribers = 0;\n timer = null;\n zone = hostTimeZone();\n dayOf = makeDayFormatter(hostTimeZone());\n /**\n * Today's spend, looked up by the host's own day boundary — the last row of\n * `days` is only today if today has spend on it.\n */\n get today() {\n if (!this.summary) return null;\n const key = this.dayOf(Date.now());\n return this.summary.days.find((d) => d.date === key)?.costUsd ?? 0;\n }\n /** Returns the matching stop, for an effect's cleanup. */\n subscribe() {\n return () => {\n };\n }\n async load() {\n await Promise.all([this.loadSummary(), this.loadQuota()]);\n }\n async loadSummary() {\n try {\n const res = await fetch(`/api/usage/all?days=30&tz=${encodeURIComponent(this.zone)}`);\n if (!res.ok) throw new Error(`HTTP ${res.status}`);\n this.summary = await res.json();\n } catch {\n }\n }\n async loadQuota() {\n try {\n const res = await fetch(\"/api/usage/quota\");\n if (res.ok) this.quota = await res.json();\n } catch {\n }\n }\n}\nconst usageStore = new UsageStore();\nconst SEVERITY = {\n normal: { color: \"#0ca30c\", icon: \"mdi:check-circle-outline\", word: \"ok\" },\n warning: { color: \"#fab219\", icon: \"mdi:alert-outline\", word: \"high\" },\n critical: { color: \"#d03b3b\", icon: \"mdi:alert-octagon-outline\", word: \"at limit\" }\n};\nconst THRESHOLDS = {\n panel: { warning: 70, critical: 90 },\n edge: { warning: 80, critical: 95 },\n disk: { warning: 80, critical: 90 }\n};\nfunction severityForPercent(percent, scale = \"panel\") {\n const { warning, critical } = THRESHOLDS[scale];\n if (percent >= critical) return \"critical\";\n if (percent >= warning) return \"warning\";\n return \"normal\";\n}\nfunction edgeColor(percent) {\n const severity = severityForPercent(percent, \"edge\");\n return severity === \"normal\" ? \"#78716c\" : SEVERITY[severity].color;\n}\nfunction ResizeDivider($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n resizing = false,\n title,\n onmove,\n onend,\n onreset\n /** The pointer moved during a drag. */\n /** The drag ended. */\n /** Double-click: back to the default size. */\n } = $$props;\n $$renderer2.push(`<div${attr_class(\"divider svelte-usglgd\", void 0, { \"resizing\": resizing })} role=\"separator\" aria-orientation=\"vertical\"${attr(\"title\", title)}></div>`);\n bind_props($$props, { resizing });\n });\n}\nexport {\n Collapsible as C,\n Dialog as D,\n RenameSessionDialog as R,\n SEVERITY as S,\n X,\n Dialog_content as a,\n Dialog_title as b,\n Dialog_description as c,\n Collapsible_trigger as d,\n Collapsible_content as e,\n Dialog_header as f,\n attachmentsStore as g,\n DiffBadge as h,\n ResizeDivider as i,\n edgeColor as j,\n Dialog_content$1 as k,\n Dialog_close as l,\n Dialog$1 as m,\n severityForPercent as s,\n usageStore as u\n};\n//# sourceMappingURL=ResizeDivider.js.map\n","const AGENT_COUNT_MS = 60 * 60 * 1e3;\nfunction agentView(agents, now, opened) {\n const rows = [];\n let running = 0;\n let folded = 0;\n for (const agent of agents ?? []) {\n if (agent.state === \"running\") running++;\n if (agent.state === \"running\" || agent.state === \"failed\" && !opened.has(agent.id)) rows.push(agent);\n else if (agent.state === \"done\" && (agent.ended_at ?? now) > now - AGENT_COUNT_MS) folded++;\n }\n rows.sort((a, b) => a.started_at - b.started_at);\n return { rows, running, folded };\n}\nfunction childSummary(workers, view) {\n const count = (n, noun) => `${n} ${noun}${n === 1 ? \"\" : \"s\"}`;\n const parts = [];\n if (workers) parts.push(count(workers, \"worker\"));\n if (view.running) parts.push(count(view.running, \"agent\"));\n if (view.folded) parts.push(`${count(view.folded, \"agent\")} done`);\n return parts.length ? parts.join(\" · \") : null;\n}\nfunction agentTypeLabel(type) {\n return type.replace(/-purpose$/, \"\");\n}\nexport {\n agentTypeLabel as a,\n agentView as b,\n childSummary as c\n};\n//# sourceMappingURL=subagents.js.map\n","import { A as isSettled, C as setSettled } from \"./button.js\";\nasync function requestResume(base, id, cwd) {\n let res;\n try {\n res = await fetch(`${base}/api/past/${encodeURIComponent(id)}/resume`, {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n body: JSON.stringify(cwd ? { cwd } : {})\n });\n } catch {\n return { kind: \"error\", message: \"The machine did not answer.\" };\n }\n const data = await res.json().catch(() => ({}));\n if (res.ok && typeof data.tmuxTarget === \"string\") return { kind: \"ok\", tmuxTarget: data.tmuxTarget, live: !!data.live };\n if (res.status === 409) return { kind: \"folder-gone\", cwd: data.cwd ?? null, root: data.root ?? null };\n return { kind: \"error\", message: [data.error, data.detail].filter(Boolean).join(\": \") || `Resume failed (${res.status}).` };\n}\nasync function resumePast(machine, base, id, cwd) {\n const result = await requestResume(base, id, cwd);\n if (result.kind === \"folder-gone\") {\n if (result.root && !cwd) return { kind: \"offer-root\", cwd: result.cwd, root: result.root };\n return { kind: \"error\", message: `${result.cwd ?? \"The folder it ran in\"} is gone, and no project folder holds it.` };\n }\n if (result.kind === \"error\") return result;\n if (machine && isSettled(machine, id)) setSettled(machine, id, false);\n return { kind: \"ok\", tmuxTarget: result.tmuxTarget };\n}\nexport {\n resumePast as r\n};\n//# sourceMappingURL=past-resume.js.map\n","import { d as derived, p as props_id, a as attributes, c as bind_props, e as escape_html, f as attr, r as run, h as spread_props, i as ensure_array_like, j as stringify, k as attr_style, l as attr_class, m as clsx, o as hasContext, g as getContext, q as setContext, t as store_get, u as unsubscribe_stores, b as browser, v as head } from \"../../chunks/index.js\";\nimport { S as SessionStateIndicator, g as goto, D as DRAWER_MEDIA_QUERY, d as drawer, p as page } from \"../../chunks/SessionStateIndicator.js\";\nimport { t as tick, I as Input, o as onDestroy } from \"../../chunks/badge.js\";\nimport \"@sveltejs/kit/internal\";\nimport \"../../chunks/exports.js\";\nimport \"../../chunks/utils2.js\";\nimport \"@sveltejs/kit/internal/server\";\nimport \"../../chunks/root.js\";\nimport \"../../chunks/state.svelte.js\";\nimport { c as cn, n as needsHelp, f as formatAgo, a as clock, w as wantsHuman, b as formatSpinnerElapsed, d as formatElapsed, e as fleetStore, o as offlineReason, m as machineName, g as offlineLabel, v as versionDrifts, h as blockedReason, i as machineKey, B as Button, j as apiBase, k as getSessionDisplayName, s as sameRef, l as splitUrl, p as singleUrl, q as selfName, r as formatRef, t as createPersisted, u as sessionStore, x as reachable, y as fleetPrefsStore, z as groupSessions, A as isSettled, C as setSettled, D as postVisit, E as sessionPath, F as pastPath, G as parseSessionPath, H as localRef, I as liveCount, J as money, K as paneUrl, L as parseRef, M as isPastPath } from \"../../chunks/button.js\";\nimport { i as isFunction, M as MenuItemState, C as Context_menu, a as Context_menu_trigger, b as Context_menu_content, c as cn$1, t as toastState, S as SonnerState, P as Popover, d as Popover_trigger, e as Popover_content, f as PANES, p as preferences } from \"../../chunks/panes.js\";\nimport { i as indicatorStateOf, a as isUnread, r as recedes, b as asking, s as sessionStateVisual, m as mostUrgent } from \"../../chunks/session-notifications.js\";\nimport \"clsx\";\nimport { C as Context$1, a as attachRef, w as watch, c as createBitsAttrs, b as createId, d as boxWith, m as mergeProps, e as boolToStr, f as boolToEmptyStrOrUndef, E as ENTER, g as END, H as HOME, A as ARROW_LEFT, h as ARROW_UP, i as h, k, p, j as ARROW_RIGHT, l as ARROW_DOWN, n as l, o as j, q as n, s as simpleBox, r as createSubscriber, M as MediaQuery } from \"../../chunks/create-id.js\";\nimport { D as DOMContext, a as afterTick, g as getFirstNonCommentChild, n as noop, A as AnimationsComplete, u as useId } from \"../../chunks/scroll-lock.js\";\nimport { T as TabsRootState, a as TabsTriggerState, b as Tabs_list, I as Input_group_addon } from \"../../chunks/AllSessionsPanel.svelte_svelte_type_style_lang.js\";\nimport { D as Dialog, a as Dialog_content, b as Dialog_title, c as Dialog_description, C as Collapsible, d as Collapsible_trigger, e as Collapsible_content, f as Dialog_header, R as RenameSessionDialog, g as attachmentsStore, h as DiffBadge, u as usageStore, S as SEVERITY, s as severityForPercent, i as ResizeDivider } from \"../../chunks/ResizeDivider.js\";\nimport { a as agentTypeLabel, b as agentView, c as childSummary } from \"../../chunks/subagents.js\";\nimport { d as draftsStore } from \"../../chunks/drafts.svelte.js\";\nimport { A as AGENT_IDS, a as AGENTS } from \"../../chunks/agents.js\";\nimport { N as NO_FOLDER, R as RAIL_ORDER, p as pastLabel, S as SETTLED_SHOWN, r as rootOf, a as pastByRoot, b as panesByRoot, c as projectRoots } from \"../../chunks/ws-messages.js\";\nimport { a as afterSleep, A as Alert_dialog, b as Alert_dialog_content, c as Alert_dialog_header, d as Alert_dialog_title, e as Alert_dialog_description, f as Alert_dialog_footer, g as Alert_dialog_cancel, h as Alert_dialog_action } from \"../../chunks/alert-dialog-description.js\";\nimport { f as fuzzyMatch, h as highlightRuns } from \"../../chunks/fuzzy.js\";\nimport { g as guessReport, m as mergeProjects, i as isHomeDir, p as projectHue, a as projectInitials } from \"../../chunks/fleet-projects.js\";\nimport { f as folderNameProblem } from \"../../chunks/folder-name.js\";\nimport { s as snapshot, a as srOnlyStyles, C as Checkbox, b as Check } from \"../../chunks/checkbox.js\";\nimport { S as STORAGE_KEYS } from \"../../chunks/constants.js\";\nimport { r as resumePast } from \"../../chunks/past-resume.js\";\nimport { I as Icon } from \"../../chunks/Icon.js\";\nimport { m as makeDayFormatter, h as hostTimeZone } from \"../../chunks/day.js\";\nfunction extract(value, defaultValue) {\n if (isFunction(value)) {\n const getter = value;\n const gotten = getter();\n if (gotten === void 0) return defaultValue;\n return gotten;\n }\n return value;\n}\nfunction useDebounce(callback, wait) {\n let context = null;\n const wait$ = derived(() => extract(wait, 250));\n function debounced(...args) {\n if (context) {\n if (context.timeout) {\n clearTimeout(context.timeout);\n }\n } else {\n let resolve;\n let reject;\n const promise = new Promise((res, rej) => {\n resolve = res;\n reject = rej;\n });\n context = { timeout: null, runner: null, promise, resolve, reject };\n }\n context.runner = async () => {\n if (!context) return;\n const ctx = context;\n context = null;\n try {\n ctx.resolve(await callback.apply(this, args));\n } catch (error) {\n ctx.reject(error);\n }\n };\n context.timeout = setTimeout(context.runner, wait$());\n return context.promise;\n }\n debounced.cancel = async () => {\n if (!context || context.timeout === null) {\n await new Promise((resolve) => setTimeout(resolve, 0));\n if (!context || context.timeout === null) return;\n }\n clearTimeout(context.timeout);\n context.reject(\"Cancelled\");\n context = null;\n };\n debounced.runScheduledNow = async () => {\n if (!context || !context.timeout) {\n await new Promise((resolve) => setTimeout(resolve, 0));\n if (!context || !context.timeout) return;\n }\n clearTimeout(context.timeout);\n context.timeout = null;\n await context.runner?.();\n };\n Object.defineProperty(debounced, \"pending\", {\n enumerable: true,\n get() {\n return !!context?.timeout;\n }\n });\n return debounced;\n}\nclass IsMounted {\n #isMounted = false;\n constructor() {\n }\n get current() {\n return this.#isMounted;\n }\n}\nconst avatarAttrs = createBitsAttrs({ component: \"avatar\", parts: [\"root\", \"image\", \"fallback\"] });\nconst AvatarRootContext = new Context$1(\"Avatar.Root\");\nclass AvatarRootState {\n static create(opts) {\n return AvatarRootContext.set(new AvatarRootState(opts));\n }\n opts;\n domContext;\n attachment;\n constructor(opts) {\n this.opts = opts;\n this.domContext = new DOMContext(this.opts.ref);\n this.loadImage = this.loadImage.bind(this);\n this.attachment = attachRef(this.opts.ref);\n }\n loadImage(src, crossorigin, referrerPolicy) {\n if (this.opts.loadingStatus.current === \"loaded\") return;\n let imageTimerId;\n const image = new Image();\n image.src = src;\n if (crossorigin !== void 0) image.crossOrigin = crossorigin;\n if (referrerPolicy) image.referrerPolicy = referrerPolicy;\n this.opts.loadingStatus.current = \"loading\";\n image.onload = () => {\n imageTimerId = this.domContext.setTimeout(\n () => {\n this.opts.loadingStatus.current = \"loaded\";\n },\n this.opts.delayMs.current\n );\n };\n image.onerror = () => {\n this.opts.loadingStatus.current = \"error\";\n };\n return () => {\n image.onload = null;\n image.onerror = null;\n if (!imageTimerId) return;\n this.domContext.clearTimeout(imageTimerId);\n };\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n [avatarAttrs.root]: \"\",\n \"data-status\": this.opts.loadingStatus.current,\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass AvatarImageState {\n static create(opts) {\n return new AvatarImageState(opts, AvatarRootContext.get());\n }\n opts;\n root;\n attachment;\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.attachment = attachRef(this.opts.ref);\n watch.pre(\n [\n () => this.opts.src.current,\n () => this.opts.crossOrigin.current\n ],\n ([src, crossOrigin]) => {\n if (!src) {\n this.root.opts.loadingStatus.current = \"error\";\n return;\n }\n return this.root.loadImage(src, crossOrigin, this.opts.referrerPolicy.current);\n }\n );\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n style: {\n display: this.root.opts.loadingStatus.current === \"loaded\" ? \"block\" : \"none\"\n },\n \"data-status\": this.root.opts.loadingStatus.current,\n [avatarAttrs.image]: \"\",\n src: this.opts.src.current,\n crossorigin: this.opts.crossOrigin.current,\n referrerpolicy: this.opts.referrerPolicy.current,\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass AvatarFallbackState {\n static create(opts) {\n return new AvatarFallbackState(opts, AvatarRootContext.get());\n }\n opts;\n root;\n attachment;\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.attachment = attachRef(this.opts.ref);\n }\n #style = derived(() => this.root.opts.loadingStatus.current === \"loaded\" ? { display: \"none\" } : void 0);\n get style() {\n return this.#style();\n }\n set style($$value) {\n return this.#style($$value);\n }\n #props = derived(() => ({\n style: this.style,\n \"data-status\": this.root.opts.loadingStatus.current,\n [avatarAttrs.fallback]: \"\",\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nfunction Avatar$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n delayMs = 0,\n loadingStatus = \"loading\",\n onLoadingStatusChange,\n child,\n children,\n id = createId(uid),\n ref = null,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const rootState = AvatarRootState.create({\n delayMs: boxWith(() => delayMs),\n loadingStatus: boxWith(() => loadingStatus, (v) => {\n if (loadingStatus !== v) {\n loadingStatus = v;\n onLoadingStatusChange?.(v);\n }\n }),\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, rootState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { loadingStatus, ref });\n });\n}\nfunction Avatar_image$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n src,\n child,\n id = createId(uid),\n ref = null,\n crossorigin = void 0,\n referrerpolicy = void 0,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const imageState = AvatarImageState.create({\n src: boxWith(() => src),\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v),\n crossOrigin: boxWith(() => crossorigin),\n referrerPolicy: boxWith(() => referrerpolicy)\n });\n const mergedProps = derived(() => mergeProps(restProps, imageState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><img${attributes({ ...mergedProps(), src })} onload=\"this.__e=event\" onerror=\"this.__e=event\"/>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Avatar_fallback$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n children,\n child,\n id = createId(uid),\n ref = null,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const fallbackState = AvatarFallbackState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, fallbackState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><span${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></span>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction findNextSibling(el, selector) {\n let sibling = el.nextElementSibling;\n while (sibling) {\n if (sibling.matches(selector))\n return sibling;\n sibling = sibling.nextElementSibling;\n }\n}\nfunction findPreviousSibling(el, selector) {\n let sibling = el.previousElementSibling;\n while (sibling) {\n if (sibling.matches(selector))\n return sibling;\n sibling = sibling.previousElementSibling;\n }\n}\nfunction cssEscape(value) {\n if (typeof CSS !== \"undefined\" && typeof CSS.escape === \"function\") {\n return CSS.escape(value);\n }\n const length = value.length;\n let index = -1;\n let codeUnit;\n let result = \"\";\n const firstCodeUnit = value.charCodeAt(0);\n if (length === 1 && firstCodeUnit === 45)\n return \"\\\\\" + value;\n while (++index < length) {\n codeUnit = value.charCodeAt(index);\n if (codeUnit === 0) {\n result += \"�\";\n continue;\n }\n if (\n // If the character is in the range [\\1-\\1F] (U+0001 to U+001F) or is U+007F\n codeUnit >= 1 && codeUnit <= 31 || codeUnit === 127 || // If the character is the first character and is in the range [0-9] (U+0030 to U+0039)\n index === 0 && codeUnit >= 48 && codeUnit <= 57 || // If the character is the second character and is in the range [0-9] (U+0030 to U+0039)\n // and the first character is a `-` (U+002D)\n index === 1 && codeUnit >= 48 && codeUnit <= 57 && firstCodeUnit === 45\n ) {\n result += \"\\\\\" + codeUnit.toString(16) + \" \";\n continue;\n }\n if (codeUnit >= 128 || codeUnit === 45 || codeUnit === 95 || codeUnit >= 48 && codeUnit <= 57 || codeUnit >= 65 && codeUnit <= 90 || codeUnit >= 97 && codeUnit <= 122) {\n result += value.charAt(index);\n continue;\n }\n result += \"\\\\\" + value.charAt(index);\n }\n return result;\n}\nconst COMMAND_VALUE_ATTR = \"data-value\";\nconst commandAttrs = createBitsAttrs({\n component: \"command\",\n parts: [\n \"root\",\n \"list\",\n \"input\",\n \"separator\",\n \"loading\",\n \"empty\",\n \"group\",\n \"group-items\",\n \"group-heading\",\n \"item\",\n \"viewport\",\n \"input-label\"\n ]\n});\nconst COMMAND_GROUP_SELECTOR = commandAttrs.selector(\"group\");\nconst COMMAND_GROUP_ITEMS_SELECTOR = commandAttrs.selector(\"group-items\");\nconst COMMAND_GROUP_HEADING_SELECTOR = commandAttrs.selector(\"group-heading\");\nconst COMMAND_ITEM_SELECTOR = commandAttrs.selector(\"item\");\nconst COMMAND_VALID_ITEM_SELECTOR = `${commandAttrs.selector(\"item\")}:not([aria-disabled=\"true\"])`;\nconst CommandRootContext = new Context$1(\"Command.Root\");\nconst CommandListContext = new Context$1(\"Command.List\");\nconst CommandGroupContainerContext = new Context$1(\"Command.Group\");\nconst defaultState = {\n search: \"\",\n value: \"\",\n filtered: { count: 0, items: /* @__PURE__ */ new Map(), groups: /* @__PURE__ */ new Set() }\n};\nclass CommandRootState {\n static create(opts) {\n return CommandRootContext.set(new CommandRootState(opts));\n }\n opts;\n attachment;\n #updateScheduled = false;\n #isInitialMount = true;\n #isDestroyed = false;\n sortAfterTick = false;\n sortAndFilterAfterTick = false;\n allItems = /* @__PURE__ */ new Set();\n allGroups = /* @__PURE__ */ new Map();\n allIds = /* @__PURE__ */ new Map();\n // attempt to prevent the harsh delay when user is typing fast\n key = 0;\n viewportNode = null;\n inputNode = null;\n labelNode = null;\n // published state that the components and other things can react to\n commandState = defaultState;\n // internal state that we mutate in batches and publish to the `state` at once\n _commandState = defaultState;\n #snapshot() {\n return snapshot(this._commandState);\n }\n /** `afterTick` that skips `fn` if the root was destroyed in the meantime. */\n #afterTick(fn) {\n afterTick(() => {\n if (this.#isDestroyed) return;\n fn();\n });\n }\n #scheduleUpdate() {\n if (this.#updateScheduled) return;\n this.#updateScheduled = true;\n this.#afterTick(() => {\n this.#updateScheduled = false;\n const currentState = this.#snapshot();\n const hasStateChanged = !Object.is(this.commandState, currentState);\n if (hasStateChanged) {\n this.commandState = currentState;\n this.opts.onStateChange?.current?.(currentState);\n }\n });\n }\n setState(key, value, preventScroll) {\n if (Object.is(this._commandState[key], value)) return;\n this._commandState[key] = value;\n if (key === \"search\") {\n this.#filterItems();\n this.#sort({ forceSelectFirst: !this.#isInitialMount });\n } else if (key === \"value\") {\n if (!preventScroll) this.#scrollSelectedIntoView();\n }\n this.#scheduleUpdate();\n }\n constructor(opts) {\n this.opts = opts;\n this.attachment = attachRef(this.opts.ref);\n const defaults = { ...this._commandState, value: this.opts.value.current ?? \"\" };\n this._commandState = defaults;\n this.commandState = defaults;\n this.onkeydown = this.onkeydown.bind(this);\n }\n /**\n * Calculates score for an item based on search text and keywords.\n * Higher score = better match.\n *\n * @param value - Item's display text\n * @param keywords - Optional keywords to boost scoring\n * @returns Score from 0-1, where 0 = no match\n */\n #score(value, keywords) {\n const filter = this.opts.filter.current ?? computeCommandScore;\n const score = value ? filter(value, this._commandState.search, keywords) : 0;\n return score;\n }\n /**\n * Sorts items and groups based on search scores.\n * Groups are sorted by their highest scoring item.\n * When no search is active, preserves the current item unless a reset is requested.\n */\n #sort(opts = {}) {\n if (!this._commandState.search || this.opts.shouldFilter.current === false) {\n if (!this._commandState.value || opts.forceSelectFirst) {\n this.#selectFirstItem();\n } else if (this.#isInitialMount && this._commandState.value) {\n this.#scrollInitialValue();\n }\n return;\n }\n const scores = this._commandState.filtered.items;\n const groups = [];\n for (const value of this._commandState.filtered.groups) {\n const items = this.allGroups.get(value);\n let max = 0;\n if (!items) {\n groups.push([value, max]);\n continue;\n }\n for (const item of items) {\n const score = scores.get(item);\n max = Math.max(score ?? 0, max);\n }\n groups.push([value, max]);\n }\n const listInsertionElement = this.viewportNode;\n const sorted = this.getValidItems().sort((a, b) => {\n const valueA = a.getAttribute(\"data-value\");\n const valueB = b.getAttribute(\"data-value\");\n const scoresA = scores.get(valueA) ?? 0;\n const scoresB = scores.get(valueB) ?? 0;\n return scoresB - scoresA;\n });\n for (const item of sorted) {\n const group = item.closest(COMMAND_GROUP_ITEMS_SELECTOR);\n if (group) {\n const itemToAppend = item.parentElement === group ? item : item.closest(`${COMMAND_GROUP_ITEMS_SELECTOR} > *`);\n if (itemToAppend) {\n group.appendChild(itemToAppend);\n }\n } else {\n const itemToAppend = item.parentElement === listInsertionElement ? item : item.closest(`${COMMAND_GROUP_ITEMS_SELECTOR} > *`);\n if (itemToAppend) {\n listInsertionElement?.appendChild(itemToAppend);\n }\n }\n }\n const sortedGroups = groups.sort((a, b) => b[1] - a[1]);\n for (const group of sortedGroups) {\n const element = listInsertionElement?.querySelector(`${COMMAND_GROUP_SELECTOR}[${COMMAND_VALUE_ATTR}=\"${cssEscape(group[0])}\"]`);\n element?.parentElement?.appendChild(element);\n }\n this.#selectFirstItem();\n }\n /**\n * Sets current value and triggers re-render if cleared.\n *\n * @param value - New value to set\n */\n setValue(value, opts) {\n if (value !== this.opts.value.current && value === \"\") {\n this.#afterTick(() => {\n this.key++;\n });\n }\n this.setState(\"value\", value, opts);\n this.opts.value.current = value;\n }\n /**\n * Selects first non-disabled item on next tick.\n */\n #selectFirstItem() {\n this.#afterTick(() => {\n const item = this.getValidItems().find((item2) => item2.getAttribute(\"aria-disabled\") !== \"true\");\n const value = item?.getAttribute(COMMAND_VALUE_ATTR);\n const shouldPreventScroll = this.#isInitialMount && this.opts.disableInitialScroll.current;\n this.setValue(value ?? \"\", shouldPreventScroll);\n this.#isInitialMount = false;\n });\n }\n #selectFirstItemIfValueMissing(value) {\n afterTick(() => {\n if (this._commandState.value !== value) return;\n const selectedItemExists = this.getValidItems().some((item) => item.getAttribute(COMMAND_VALUE_ATTR) === value);\n if (!selectedItemExists) {\n this.#selectFirstItem();\n }\n });\n }\n /**\n * Scrolls the initial value into view if it exists and is not the first item.\n * Called during initial mount when a value is provided.\n */\n #scrollInitialValue() {\n this.#afterTick(() => {\n const shouldPreventScroll = this.opts.disableInitialScroll.current;\n if (!shouldPreventScroll) {\n this.#scrollSelectedIntoView();\n }\n this.#isInitialMount = false;\n });\n }\n /**\n * Updates filtered items/groups based on search.\n * Recalculates scores and filtered count.\n */\n #filterItems() {\n if (!this._commandState.search || this.opts.shouldFilter.current === false) {\n this._commandState.filtered.count = this.allItems.size;\n return;\n }\n this._commandState.filtered.groups = /* @__PURE__ */ new Set();\n let itemCount = 0;\n for (const id of this.allItems) {\n const value = this.allIds.get(id)?.value ?? \"\";\n const keywords = this.allIds.get(id)?.keywords ?? [];\n const rank = this.#score(value, keywords);\n this._commandState.filtered.items.set(id, rank);\n if (rank > 0) itemCount++;\n }\n for (const [groupId, group] of this.allGroups) {\n for (const itemId of group) {\n const currItem = this._commandState.filtered.items.get(itemId);\n if (currItem && currItem > 0) {\n this._commandState.filtered.groups.add(groupId);\n break;\n }\n }\n }\n this._commandState.filtered.count = itemCount;\n }\n /**\n * Gets all non-disabled, visible command items.\n *\n * @returns Array of valid item elements\n * @remarks Exposed for direct item access and bound checking\n */\n getValidItems() {\n const node = this.opts.ref.current;\n if (!node) return [];\n const validItems = Array.from(node.querySelectorAll(COMMAND_VALID_ITEM_SELECTOR)).filter((el) => !!el);\n return validItems;\n }\n /**\n * Gets all visible command items.\n *\n * @returns Array of valid item elements\n * @remarks Exposed for direct item access and bound checking\n */\n getVisibleItems() {\n const node = this.opts.ref.current;\n if (!node) return [];\n const visibleItems = Array.from(node.querySelectorAll(COMMAND_ITEM_SELECTOR)).filter((el) => !!el);\n return visibleItems;\n }\n /** Returns all visible items in a matrix structure\n *\n * @remarks Returns empty if the command isn't configured as a grid\n *\n * @returns\n */\n get itemsGrid() {\n if (!this.isGrid) return [];\n const columns = this.opts.columns.current ?? 1;\n const items = this.getVisibleItems();\n const grid = [[]];\n let currentGroup = items[0]?.getAttribute(\"data-group\");\n let column = 0;\n let row = 0;\n for (let i = 0; i < items.length; i++) {\n const item = items[i];\n const itemGroup = item?.getAttribute(\"data-group\");\n if (currentGroup !== itemGroup) {\n currentGroup = itemGroup;\n column = 1;\n row++;\n grid.push([{ index: i, firstRowOfGroup: true, ref: item }]);\n } else {\n column++;\n if (column > columns) {\n row++;\n column = 1;\n grid.push([]);\n }\n grid[row]?.push({\n index: i,\n firstRowOfGroup: grid[row]?.[0]?.firstRowOfGroup ?? i === 0,\n ref: item\n });\n }\n }\n return grid;\n }\n /**\n * Gets currently selected command item.\n *\n * @returns Selected element or undefined\n */\n #getSelectedItem() {\n const node = this.opts.ref.current;\n if (!node) return;\n const selectedNode = node.querySelector(`${COMMAND_VALID_ITEM_SELECTOR}[data-selected]`);\n if (!selectedNode) return;\n return selectedNode;\n }\n /**\n * Scrolls selected item into view.\n * Special handling for first items in groups.\n */\n #scrollSelectedIntoView() {\n this.#afterTick(() => {\n const item = this.#getSelectedItem();\n if (!item) return;\n const grandparent = item.parentElement?.parentElement;\n if (!grandparent) return;\n if (this.isGrid) {\n const isFirstRowOfGroup = this.#itemIsFirstRowOfGroup(item);\n item.scrollIntoView({ block: \"nearest\" });\n if (isFirstRowOfGroup) {\n const closestGroupHeader = item?.closest(COMMAND_GROUP_SELECTOR)?.querySelector(COMMAND_GROUP_HEADING_SELECTOR);\n closestGroupHeader?.scrollIntoView({ block: \"nearest\" });\n return;\n }\n } else {\n const firstChildOfParent = getFirstNonCommentChild(grandparent);\n if (firstChildOfParent && firstChildOfParent.dataset?.value === item.dataset?.value) {\n const closestGroupHeader = item?.closest(COMMAND_GROUP_SELECTOR)?.querySelector(COMMAND_GROUP_HEADING_SELECTOR);\n if (closestGroupHeader) {\n closestGroupHeader.scrollIntoView({ block: \"nearest\" });\n return;\n }\n }\n }\n item.scrollIntoView({ block: \"nearest\" });\n });\n }\n #itemIsFirstRowOfGroup(item) {\n const grid = this.itemsGrid;\n if (grid.length === 0) return false;\n for (let r = 0; r < grid.length; r++) {\n const row = grid[r];\n if (row === void 0) continue;\n for (let c = 0; c < row.length; c++) {\n const column = row[c];\n if (column === void 0 || column.ref !== item) continue;\n return column.firstRowOfGroup;\n }\n }\n return false;\n }\n /**\n * Sets selection to item at specified index in valid items array.\n * If index is out of bounds, does nothing.\n *\n * @param index - Zero-based index of item to select\n * @remarks\n * Uses `getValidItems()` to get selectable items, filtering out disabled/hidden ones.\n * Access valid items directly via `getValidItems()` to check bounds before calling.\n *\n * @example\n * // get valid items length for bounds check\n * const items = getValidItems()\n * if (index < items.length) {\n * updateSelectedToIndex(index)\n * }\n */\n updateSelectedToIndex(index) {\n const item = this.getValidItems()[index];\n if (!item) return;\n this.setValue(item.getAttribute(COMMAND_VALUE_ATTR) ?? \"\");\n }\n /**\n * Updates selected item by moving up/down relative to current selection.\n * Handles wrapping when loop option is enabled.\n *\n * @param change - Direction to move: 1 for next item, -1 for previous item\n * @remarks\n * The loop behavior wraps:\n * - From last item to first when moving next\n * - From first item to last when moving previous\n *\n * Uses `getValidItems()` to get all selectable items, which filters out disabled/hidden items.\n * You can call `getValidItems()` directly to get the current valid items array.\n *\n * @example\n * // select next item\n * updateSelectedByItem(1)\n *\n * // get all valid items\n * const items = getValidItems()\n */\n updateSelectedByItem(change) {\n const selected = this.#getSelectedItem();\n const items = this.getValidItems();\n const index = items.findIndex((item) => item === selected);\n let newSelected = items[index + change];\n if (this.opts.loop.current) {\n newSelected = index + change < 0 ? items[items.length - 1] : index + change === items.length ? items[0] : items[index + change];\n }\n if (newSelected) {\n this.setValue(newSelected.getAttribute(COMMAND_VALUE_ATTR) ?? \"\");\n }\n }\n /**\n * Moves selection to the first valid item in the next/previous group.\n * If no group is found, falls back to selecting the next/previous item globally.\n *\n * @param change - Direction to move: 1 for next group, -1 for previous group\n * @example\n * // move to first item in next group\n * updateSelectedByGroup(1)\n *\n * // move to first item in previous group\n * updateSelectedByGroup(-1)\n */\n updateSelectedByGroup(change) {\n const selected = this.#getSelectedItem();\n let group = selected?.closest(COMMAND_GROUP_SELECTOR);\n let item;\n while (group && !item) {\n group = change > 0 ? findNextSibling(group, COMMAND_GROUP_SELECTOR) : findPreviousSibling(group, COMMAND_GROUP_SELECTOR);\n item = group?.querySelector(COMMAND_VALID_ITEM_SELECTOR);\n }\n if (item) {\n this.setValue(item.getAttribute(COMMAND_VALUE_ATTR) ?? \"\");\n } else {\n this.updateSelectedByItem(change);\n }\n }\n /**\n * Maps item id to display value and search keywords.\n * Returns cleanup function to remove mapping.\n *\n * @param id - Unique item identifier\n * @param value - Display text\n * @param keywords - Optional search boost terms\n * @returns Cleanup function\n */\n registerValue(value, keywords) {\n if (!(value && value === this.allIds.get(value)?.value)) {\n this.allIds.set(value, { value, keywords });\n }\n this._commandState.filtered.items.set(value, this.#score(value, keywords));\n if (!this.sortAfterTick) {\n this.sortAfterTick = true;\n this.#afterTick(() => {\n this.#sort();\n this.sortAfterTick = false;\n });\n }\n return () => {\n this.allIds.delete(value);\n };\n }\n /**\n * Registers item in command list and its group.\n * Handles filtering, sorting and selection updates.\n *\n * @param id - Item identifier\n * @param groupId - Optional group to add item to\n * @returns Cleanup function that handles selection\n */\n registerItem(id, groupId) {\n this.allItems.add(id);\n if (groupId) {\n if (!this.allGroups.has(groupId)) {\n this.allGroups.set(groupId, /* @__PURE__ */ new Set([id]));\n } else {\n this.allGroups.get(groupId).add(id);\n }\n }\n if (!this.sortAndFilterAfterTick) {\n this.sortAndFilterAfterTick = true;\n this.#afterTick(() => {\n this.#filterItems();\n this.#sort();\n this.sortAndFilterAfterTick = false;\n });\n }\n this.#scheduleUpdate();\n return () => {\n const selectedItem = this.#getSelectedItem();\n this.allItems.delete(id);\n this.commandState.filtered.items.delete(id);\n this.#filterItems();\n if (selectedItem?.getAttribute(\"id\") === id) {\n const selectedValue = selectedItem.getAttribute(COMMAND_VALUE_ATTR);\n if (selectedValue) {\n this.#selectFirstItemIfValueMissing(selectedValue);\n } else {\n this.#selectFirstItem();\n }\n }\n this.#scheduleUpdate();\n };\n }\n /**\n * Creates empty group if not exists.\n *\n * @param id - Group identifier\n * @returns Cleanup function\n */\n registerGroup(id) {\n if (!this.allGroups.has(id)) {\n this.allGroups.set(id, /* @__PURE__ */ new Set());\n }\n return () => {\n this.allIds.delete(id);\n this.allGroups.delete(id);\n };\n }\n get isGrid() {\n return this.opts.columns.current !== null;\n }\n /**\n * Selects last valid item.\n */\n #last() {\n return this.updateSelectedToIndex(this.getValidItems().length - 1);\n }\n /**\n * Handles next item selection:\n * - Meta: Jump to last\n * - Alt: Next group\n * - Default: Next item\n *\n * @param e - Keyboard event\n */\n #next(e) {\n e.preventDefault();\n if (e.metaKey) {\n this.#last();\n } else if (e.altKey) {\n this.updateSelectedByGroup(1);\n } else {\n this.updateSelectedByItem(1);\n }\n }\n #down(e) {\n if (this.opts.columns.current === null) return;\n e.preventDefault();\n if (e.metaKey) {\n this.updateSelectedByGroup(1);\n } else {\n this.updateSelectedByItem(this.#nextRowColumnOffset(e));\n }\n }\n #getColumn(item, grid) {\n if (grid.length === 0) return null;\n for (let r = 0; r < grid.length; r++) {\n const row = grid[r];\n if (row === void 0) continue;\n for (let c = 0; c < row.length; c++) {\n const column = row[c];\n if (column === void 0 || column.ref !== item) continue;\n return { columnIndex: c, rowIndex: r };\n }\n }\n return null;\n }\n #nextRowColumnOffset(e) {\n const grid = this.itemsGrid;\n const selected = this.#getSelectedItem();\n if (!selected) return 0;\n const column = this.#getColumn(selected, grid);\n if (!column) return 0;\n let newItem = null;\n const skipRows = e.altKey ? 1 : 0;\n if (e.altKey && column.rowIndex === grid.length - 2 && !this.opts.loop.current) {\n newItem = this.#findNextNonDisabledItem({\n start: grid.length - 1,\n end: grid.length,\n expectedColumnIndex: column.columnIndex,\n grid\n });\n } else if (column.rowIndex === grid.length - 1) {\n if (!this.opts.loop.current) return 0;\n newItem = this.#findNextNonDisabledItem({\n start: 0 + skipRows,\n end: column.rowIndex,\n expectedColumnIndex: column.columnIndex,\n grid\n });\n } else {\n newItem = this.#findNextNonDisabledItem({\n start: column.rowIndex + 1 + skipRows,\n end: grid.length,\n expectedColumnIndex: column.columnIndex,\n grid\n });\n if (newItem === null && this.opts.loop.current) {\n newItem = this.#findNextNonDisabledItem({\n start: 0,\n end: column.rowIndex,\n expectedColumnIndex: column.columnIndex,\n grid\n });\n }\n }\n return this.#calculateOffset(selected, newItem);\n }\n /** Attempts to find the next non-disabled column that matches the expected column.\n *\n * @remarks\n * - Skips over disabled columns\n * - When a row is shorter than the expected column it defaults to the last item in the row\n *\n * @param param0\n * @returns\n */\n #findNextNonDisabledItem({ start, end, grid, expectedColumnIndex }) {\n let newItem = null;\n for (let r = start; r < end; r++) {\n const row = grid[r];\n newItem = row[expectedColumnIndex]?.ref ?? null;\n if (newItem !== null && itemIsDisabled(newItem)) {\n newItem = null;\n continue;\n }\n if (newItem === null) {\n for (let i = row.length - 1; i >= 0; i--) {\n const item = row[row.length - 1];\n if (item === void 0 || itemIsDisabled(item.ref)) continue;\n newItem = item.ref;\n break;\n }\n }\n break;\n }\n return newItem;\n }\n #calculateOffset(selected, newSelected) {\n if (newSelected === null) return 0;\n const items = this.getValidItems();\n const ogIndex = items.findIndex((item) => item === selected);\n const newIndex = items.findIndex((item) => item === newSelected);\n return newIndex - ogIndex;\n }\n #up(e) {\n if (this.opts.columns.current === null) return;\n e.preventDefault();\n if (e.metaKey) {\n this.updateSelectedByGroup(-1);\n } else {\n this.updateSelectedByItem(this.#previousRowColumnOffset(e));\n }\n }\n #previousRowColumnOffset(e) {\n const grid = this.itemsGrid;\n const selected = this.#getSelectedItem();\n if (selected === void 0) return 0;\n const column = this.#getColumn(selected, grid);\n if (column === null) return 0;\n let newItem = null;\n const skipRows = e.altKey ? 1 : 0;\n if (e.altKey && column.rowIndex === 1 && this.opts.loop.current === false) {\n newItem = this.#findNextNonDisabledItemDesc({\n start: 0,\n end: 0,\n expectedColumnIndex: column.columnIndex,\n grid\n });\n } else if (column.rowIndex === 0) {\n if (this.opts.loop.current === false) return 0;\n newItem = this.#findNextNonDisabledItemDesc({\n start: grid.length - 1 - skipRows,\n end: column.rowIndex + 1,\n expectedColumnIndex: column.columnIndex,\n grid\n });\n } else {\n newItem = this.#findNextNonDisabledItemDesc({\n start: column.rowIndex - 1 - skipRows,\n end: 0,\n expectedColumnIndex: column.columnIndex,\n grid\n });\n if (newItem === null && this.opts.loop.current) {\n newItem = this.#findNextNonDisabledItemDesc({\n start: grid.length - 1,\n end: column.rowIndex + 1,\n expectedColumnIndex: column.columnIndex,\n grid\n });\n }\n }\n return this.#calculateOffset(selected, newItem);\n }\n /**\n * Attempts to find the next non-disabled column that matches the expected column.\n *\n * @remarks\n * - Skips over disabled columns\n * - When a row is shorter than the expected column it defaults to the last item in the row\n */\n #findNextNonDisabledItemDesc({ start, end, grid, expectedColumnIndex }) {\n let newItem = null;\n for (let r = start; r >= end; r--) {\n const row = grid[r];\n if (row === void 0) continue;\n newItem = row[expectedColumnIndex]?.ref ?? null;\n if (newItem !== null && itemIsDisabled(newItem)) {\n newItem = null;\n continue;\n }\n if (newItem === null) {\n for (let i = row.length - 1; i >= 0; i--) {\n const item = row[row.length - 1];\n if (item === void 0 || itemIsDisabled(item.ref)) continue;\n newItem = item.ref;\n break;\n }\n }\n break;\n }\n return newItem;\n }\n /**\n * Handles previous item selection:\n * - Meta: Jump to first\n * - Alt: Previous group\n * - Default: Previous item\n *\n * @param e - Keyboard event\n */\n #prev(e) {\n e.preventDefault();\n if (e.metaKey) {\n this.updateSelectedToIndex(0);\n } else if (e.altKey) {\n this.updateSelectedByGroup(-1);\n } else {\n this.updateSelectedByItem(-1);\n }\n }\n onkeydown(e) {\n const isVim = this.opts.vimBindings.current && e.ctrlKey;\n switch (e.key) {\n case n:\n case j: {\n if (isVim) {\n if (this.isGrid) {\n this.#down(e);\n } else {\n this.#next(e);\n }\n }\n break;\n }\n case l: {\n if (isVim) {\n if (this.isGrid) {\n this.#next(e);\n }\n }\n break;\n }\n case ARROW_DOWN:\n if (this.isGrid) {\n this.#down(e);\n } else {\n this.#next(e);\n }\n break;\n case ARROW_RIGHT:\n if (!this.isGrid) break;\n this.#next(e);\n break;\n case p:\n case k: {\n if (isVim) {\n if (this.isGrid) {\n this.#up(e);\n } else {\n this.#prev(e);\n }\n }\n break;\n }\n case h: {\n if (isVim && this.isGrid) {\n this.#prev(e);\n }\n break;\n }\n case ARROW_UP:\n if (this.isGrid) {\n this.#up(e);\n } else {\n this.#prev(e);\n }\n break;\n case ARROW_LEFT:\n if (!this.isGrid) break;\n this.#prev(e);\n break;\n case HOME:\n e.preventDefault();\n this.updateSelectedToIndex(0);\n break;\n case END:\n e.preventDefault();\n this.#last();\n break;\n case ENTER: {\n if (!e.isComposing && e.keyCode !== 229) {\n e.preventDefault();\n const item = this.#getSelectedItem();\n if (item) {\n item?.click();\n }\n }\n }\n }\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n role: \"application\",\n [commandAttrs.root]: \"\",\n tabindex: -1,\n onkeydown: this.onkeydown,\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nfunction itemIsDisabled(item) {\n return item.getAttribute(\"aria-disabled\") === \"true\";\n}\nclass CommandEmptyState {\n static create(opts) {\n return new CommandEmptyState(opts, CommandRootContext.get());\n }\n opts;\n root;\n attachment;\n #shouldRender = derived(() => {\n return this.root._commandState.filtered.count === 0 && this.#isInitialRender === false || this.opts.forceMount.current;\n });\n get shouldRender() {\n return this.#shouldRender();\n }\n set shouldRender($$value) {\n return this.#shouldRender($$value);\n }\n #isInitialRender = true;\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.attachment = attachRef(this.opts.ref);\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n role: \"presentation\",\n [commandAttrs.empty]: \"\",\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass CommandGroupContainerState {\n static create(opts) {\n return CommandGroupContainerContext.set(new CommandGroupContainerState(opts, CommandRootContext.get()));\n }\n opts;\n root;\n attachment;\n #shouldRender = derived(() => {\n if (this.opts.forceMount.current) return true;\n if (this.root.opts.shouldFilter.current === false) return true;\n if (!this.root.commandState.search) return true;\n return this.root._commandState.filtered.groups.has(this.trueValue);\n });\n get shouldRender() {\n return this.#shouldRender();\n }\n set shouldRender($$value) {\n return this.#shouldRender($$value);\n }\n headingNode = null;\n trueValue = \"\";\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.attachment = attachRef(this.opts.ref);\n this.trueValue = opts.value.current ?? opts.id.current;\n watch(() => this.trueValue, () => {\n return this.root.registerGroup(this.trueValue);\n });\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n role: \"presentation\",\n hidden: this.shouldRender ? void 0 : true,\n \"data-value\": this.trueValue,\n [commandAttrs.group]: \"\",\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass CommandGroupHeadingState {\n static create(opts) {\n return new CommandGroupHeadingState(opts, CommandGroupContainerContext.get());\n }\n opts;\n group;\n attachment;\n constructor(opts, group) {\n this.opts = opts;\n this.group = group;\n this.attachment = attachRef(this.opts.ref, (v) => this.group.headingNode = v);\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n [commandAttrs[\"group-heading\"]]: \"\",\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass CommandGroupItemsState {\n static create(opts) {\n return new CommandGroupItemsState(opts, CommandGroupContainerContext.get());\n }\n opts;\n group;\n attachment;\n constructor(opts, group) {\n this.opts = opts;\n this.group = group;\n this.attachment = attachRef(this.opts.ref);\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n role: \"group\",\n [commandAttrs[\"group-items\"]]: \"\",\n \"aria-labelledby\": this.group.headingNode?.id ?? void 0,\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass CommandInputState {\n static create(opts) {\n return new CommandInputState(opts, CommandRootContext.get());\n }\n opts;\n root;\n attachment;\n #selectedItemId = derived(() => {\n const item = this.root.viewportNode?.querySelector(`${COMMAND_ITEM_SELECTOR}[${COMMAND_VALUE_ATTR}=\"${cssEscape(this.root.opts.value.current)}\"]`);\n if (item === void 0 || item === null) return;\n return item.getAttribute(\"id\") ?? void 0;\n });\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.attachment = attachRef(this.opts.ref, (v) => this.root.inputNode = v);\n watch(() => this.opts.ref.current, () => {\n const node = this.opts.ref.current;\n if (node && this.opts.autofocus.current) {\n afterSleep(10, () => node.focus());\n }\n });\n watch(() => this.opts.value.current, () => {\n if (this.root.commandState.search !== this.opts.value.current) {\n this.root.setState(\"search\", this.opts.value.current);\n }\n });\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n type: \"text\",\n [commandAttrs.input]: \"\",\n autocomplete: \"off\",\n autocorrect: \"off\",\n spellcheck: false,\n \"aria-autocomplete\": \"list\",\n role: \"combobox\",\n \"aria-expanded\": boolToStr(true),\n \"aria-controls\": this.root.viewportNode?.id ?? void 0,\n \"aria-labelledby\": this.root.labelNode?.id ?? void 0,\n \"aria-activedescendant\": this.#selectedItemId(),\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass CommandItemState {\n static create(opts) {\n const group = CommandGroupContainerContext.getOr(null);\n return new CommandItemState({ ...opts, group }, CommandRootContext.get());\n }\n opts;\n root;\n attachment;\n #group = null;\n #trueForceMount = derived(() => {\n return this.opts.forceMount.current || this.#group?.opts.forceMount.current === true;\n });\n #shouldRender = derived(() => {\n this.opts.ref.current;\n if (this.#trueForceMount() || this.root.opts.shouldFilter.current === false || !this.root.commandState.search) {\n return true;\n }\n const currentScore = this.root.commandState.filtered.items.get(this.trueValue);\n if (currentScore === void 0) return false;\n return currentScore > 0;\n });\n get shouldRender() {\n return this.#shouldRender();\n }\n set shouldRender($$value) {\n return this.#shouldRender($$value);\n }\n #isSelected = derived(() => this.root.opts.value.current === this.trueValue && this.trueValue !== \"\");\n get isSelected() {\n return this.#isSelected();\n }\n set isSelected($$value) {\n return this.#isSelected($$value);\n }\n trueValue = \"\";\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.#group = CommandGroupContainerContext.getOr(null);\n this.trueValue = opts.value.current;\n this.attachment = attachRef(this.opts.ref);\n watch(\n [\n () => this.trueValue,\n () => this.#group?.trueValue,\n () => this.opts.forceMount.current\n ],\n () => {\n if (this.opts.forceMount.current || !this.trueValue) return;\n return this.root.registerItem(this.trueValue, this.#group?.trueValue);\n }\n );\n watch([() => this.opts.value.current, () => this.opts.ref.current], () => {\n if (this.opts.value.current) {\n this.trueValue = this.opts.value.current;\n } else if (this.opts.ref.current?.textContent) {\n this.trueValue = this.opts.ref.current.textContent.trim();\n }\n if (this.trueValue) {\n this.root.registerValue(this.trueValue, opts.keywords.current.map((kw) => kw.trim()));\n this.opts.ref.current?.setAttribute(COMMAND_VALUE_ATTR, this.trueValue);\n }\n });\n this.onclick = this.onclick.bind(this);\n this.onpointermove = this.onpointermove.bind(this);\n }\n #onSelect() {\n if (this.opts.disabled.current) return;\n this.#select();\n this.opts.onSelect?.current();\n }\n #select() {\n if (this.opts.disabled.current) return;\n this.root.setValue(this.trueValue, true);\n }\n onpointermove(_) {\n if (this.opts.disabled.current || this.root.opts.disablePointerSelection.current) return;\n this.#select();\n }\n onclick(_) {\n if (this.opts.disabled.current) return;\n this.#onSelect();\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n \"aria-disabled\": boolToStr(this.opts.disabled.current),\n \"aria-selected\": boolToStr(this.isSelected),\n \"data-disabled\": boolToEmptyStrOrUndef(this.opts.disabled.current),\n \"data-selected\": boolToEmptyStrOrUndef(this.isSelected),\n \"data-value\": this.trueValue,\n \"data-group\": this.#group?.trueValue,\n [commandAttrs.item]: \"\",\n role: \"option\",\n onpointermove: this.onpointermove,\n onclick: this.onclick,\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass CommandListState {\n static create(opts) {\n return CommandListContext.set(new CommandListState(opts, CommandRootContext.get()));\n }\n opts;\n root;\n attachment;\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.attachment = attachRef(this.opts.ref);\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n role: \"listbox\",\n \"aria-label\": this.opts.ariaLabel.current,\n [commandAttrs.list]: \"\",\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass CommandLabelState {\n static create(opts) {\n return new CommandLabelState(opts, CommandRootContext.get());\n }\n opts;\n root;\n attachment;\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.attachment = attachRef(this.opts.ref, (v) => this.root.labelNode = v);\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n [commandAttrs[\"input-label\"]]: \"\",\n for: this.opts.for?.current,\n style: srOnlyStyles,\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nfunction _command_label($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n id = createId(uid),\n ref = null,\n children,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const labelState = CommandLabelState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, labelState.props));\n $$renderer2.push(`<label${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></label>`);\n bind_props($$props, { ref });\n });\n}\nfunction Command$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n id = createId(uid),\n ref = null,\n value = \"\",\n onValueChange = noop,\n onStateChange = noop,\n loop = false,\n shouldFilter = true,\n filter = computeCommandScore,\n label = \"\",\n vimBindings = true,\n disablePointerSelection = false,\n disableInitialScroll = false,\n columns = null,\n children,\n child,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const rootState = CommandRootState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v),\n filter: boxWith(() => filter),\n shouldFilter: boxWith(() => shouldFilter),\n loop: boxWith(() => loop),\n value: boxWith(() => value, (v) => {\n if (value !== v) {\n value = v;\n onValueChange(v);\n }\n }),\n vimBindings: boxWith(() => vimBindings),\n disablePointerSelection: boxWith(() => disablePointerSelection),\n disableInitialScroll: boxWith(() => disableInitialScroll),\n onStateChange: boxWith(() => onStateChange),\n columns: boxWith(() => columns)\n });\n const updateSelectedToIndex = (i) => rootState.updateSelectedToIndex(i);\n const updateSelectedByGroup = (c) => rootState.updateSelectedByGroup(c);\n const updateSelectedByItem = (c) => rootState.updateSelectedByItem(c);\n const getValidItems = () => rootState.getValidItems();\n const mergedProps = derived(() => mergeProps(restProps, rootState.props));\n function Label($$renderer3) {\n _command_label($$renderer3, {\n children: ($$renderer4) => {\n $$renderer4.push(`<!---->${escape_html(label)}`);\n },\n $$slots: { default: true }\n });\n }\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n Label($$renderer2);\n $$renderer2.push(`<!----> `);\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n Label($$renderer2);\n $$renderer2.push(`<!----> `);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, {\n ref,\n value,\n updateSelectedToIndex,\n updateSelectedByGroup,\n updateSelectedByItem,\n getValidItems\n });\n });\n}\nfunction Command_empty$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n id = createId(uid),\n ref = null,\n children,\n child,\n forceMount = false,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const emptyState = CommandEmptyState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v),\n forceMount: boxWith(() => forceMount)\n });\n const mergedProps = derived(() => mergeProps(emptyState.props, restProps));\n if (emptyState.shouldRender) {\n $$renderer2.push(\"<!--[0-->\");\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Command_group$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n id = createId(uid),\n ref = null,\n value = \"\",\n forceMount = false,\n children,\n child,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const groupState = CommandGroupContainerState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v),\n forceMount: boxWith(() => forceMount),\n value: boxWith(() => value)\n });\n const mergedProps = derived(() => mergeProps(restProps, groupState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Command_group_heading($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n id = createId(uid),\n ref = null,\n children,\n child,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const headingState = CommandGroupHeadingState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, headingState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Command_group_items($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n id = createId(uid),\n ref = null,\n children,\n child,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const groupItemsState = CommandGroupItemsState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, groupItemsState.props));\n $$renderer2.push(`<div style=\"display: contents;\">`);\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]--></div>`);\n bind_props($$props, { ref });\n });\n}\nfunction Command_input$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n value = \"\",\n autofocus = false,\n id = createId(uid),\n ref = null,\n child,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const inputState = CommandInputState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v),\n value: boxWith(() => value, (v) => {\n value = v;\n }),\n autofocus: boxWith(() => autofocus ?? false)\n });\n const mergedProps = derived(() => mergeProps(restProps, inputState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><input${attributes({ ...mergedProps(), value }, void 0, void 0, void 0, 4)}/>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { value, ref });\n });\n}\nfunction Command_item$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n id = createId(uid),\n ref = null,\n value = \"\",\n disabled = false,\n children,\n child,\n onSelect = noop,\n forceMount = false,\n keywords = [],\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const itemState = CommandItemState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v),\n value: boxWith(() => value),\n disabled: boxWith(() => disabled),\n onSelect: boxWith(() => onSelect),\n forceMount: boxWith(() => forceMount),\n keywords: boxWith(() => keywords)\n });\n const mergedProps = derived(() => mergeProps(restProps, itemState.props));\n $$renderer2.push(`<!---->`);\n {\n $$renderer2.push(`<div style=\"display: contents;\" data-item-wrapper=\"\"${attr(\"data-value\", itemState.trueValue)}>`);\n if (itemState.shouldRender) {\n $$renderer2.push(\"<!--[0-->\");\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--></div>`);\n }\n $$renderer2.push(`<!---->`);\n bind_props($$props, { ref });\n });\n}\nfunction Command_list$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n id = createId(uid),\n ref = null,\n child,\n children,\n \"aria-label\": ariaLabel,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const listState = CommandListState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v),\n ariaLabel: boxWith(() => ariaLabel ?? \"Suggestions...\")\n });\n const mergedProps = derived(() => mergeProps(restProps, listState.props));\n $$renderer2.push(`<!---->`);\n {\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n }\n $$renderer2.push(`<!---->`);\n bind_props($$props, { ref });\n });\n}\nconst SCORE_CONTINUE_MATCH = 1;\nconst SCORE_SPACE_WORD_JUMP = 0.9;\nconst SCORE_NON_SPACE_WORD_JUMP = 0.8;\nconst SCORE_CHARACTER_JUMP = 0.17;\nconst SCORE_TRANSPOSITION = 0.1;\nconst PENALTY_SKIPPED = 0.999;\nconst PENALTY_CASE_MISMATCH = 0.9999;\nconst PENALTY_NOT_COMPLETE = 0.99;\nconst IS_GAP_REGEXP = /[\\\\/_+.#\"@[({&]/;\nconst COUNT_GAPS_REGEXP = /[\\\\/_+.#\"@[({&]/g;\nconst IS_SPACE_REGEXP = /[\\s-]/;\nconst COUNT_SPACE_REGEXP = /[\\s-]/g;\nfunction computeCommandScoreInner(string, abbreviation, lowerString, lowerAbbreviation, stringIndex, abbreviationIndex, memoizedResults) {\n if (abbreviationIndex === abbreviation.length) {\n if (stringIndex === string.length)\n return SCORE_CONTINUE_MATCH;\n return PENALTY_NOT_COMPLETE;\n }\n const memoizeKey = `${stringIndex},${abbreviationIndex}`;\n if (memoizedResults[memoizeKey] !== void 0)\n return memoizedResults[memoizeKey];\n const abbreviationChar = lowerAbbreviation.charAt(abbreviationIndex);\n let index = lowerString.indexOf(abbreviationChar, stringIndex);\n let highScore = 0;\n let score, transposedScore, wordBreaks, spaceBreaks;\n while (index >= 0) {\n score = computeCommandScoreInner(string, abbreviation, lowerString, lowerAbbreviation, index + 1, abbreviationIndex + 1, memoizedResults);\n if (score > highScore) {\n if (index === stringIndex) {\n score *= SCORE_CONTINUE_MATCH;\n } else if (IS_GAP_REGEXP.test(string.charAt(index - 1))) {\n score *= SCORE_NON_SPACE_WORD_JUMP;\n wordBreaks = string.slice(stringIndex, index - 1).match(COUNT_GAPS_REGEXP);\n if (wordBreaks && stringIndex > 0) {\n score *= PENALTY_SKIPPED ** wordBreaks.length;\n }\n } else if (IS_SPACE_REGEXP.test(string.charAt(index - 1))) {\n score *= SCORE_SPACE_WORD_JUMP;\n spaceBreaks = string.slice(stringIndex, index - 1).match(COUNT_SPACE_REGEXP);\n if (spaceBreaks && stringIndex > 0) {\n score *= PENALTY_SKIPPED ** spaceBreaks.length;\n }\n } else {\n score *= SCORE_CHARACTER_JUMP;\n if (stringIndex > 0) {\n score *= PENALTY_SKIPPED ** (index - stringIndex);\n }\n }\n if (string.charAt(index) !== abbreviation.charAt(abbreviationIndex)) {\n score *= PENALTY_CASE_MISMATCH;\n }\n }\n if (score < SCORE_TRANSPOSITION && lowerString.charAt(index - 1) === lowerAbbreviation.charAt(abbreviationIndex + 1) || lowerAbbreviation.charAt(abbreviationIndex + 1) === lowerAbbreviation.charAt(abbreviationIndex) && lowerString.charAt(index - 1) !== lowerAbbreviation.charAt(abbreviationIndex)) {\n transposedScore = computeCommandScoreInner(string, abbreviation, lowerString, lowerAbbreviation, index + 1, abbreviationIndex + 2, memoizedResults);\n if (transposedScore * SCORE_TRANSPOSITION > score) {\n score = transposedScore * SCORE_TRANSPOSITION;\n }\n }\n if (score > highScore) {\n highScore = score;\n }\n index = lowerString.indexOf(abbreviationChar, index + 1);\n }\n memoizedResults[memoizeKey] = highScore;\n return highScore;\n}\nfunction formatInput(string) {\n return string.toLowerCase().replace(COUNT_SPACE_REGEXP, \" \");\n}\nfunction computeCommandScore(command, search, commandKeywords) {\n command = commandKeywords && commandKeywords.length > 0 ? `${`${command} ${commandKeywords?.join(\" \")}`}` : command;\n return computeCommandScoreInner(command, search, formatInput(command), formatInput(search), 0, 0, {});\n}\nfunction Menu_item($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n child,\n children,\n ref = null,\n id = createId(uid),\n disabled = false,\n onSelect = noop,\n closeOnSelect = true,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const itemState = MenuItemState.create({\n id: boxWith(() => id),\n disabled: boxWith(() => disabled),\n onSelect: boxWith(() => onSelect),\n ref: boxWith(() => ref, (v) => ref = v),\n closeOnSelect: boxWith(() => closeOnSelect)\n });\n const mergedProps = derived(() => mergeProps(restProps, itemState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nlet sharedObserver = null;\nconst observedNodes = /* @__PURE__ */ new WeakMap();\nfunction getSharedObserver() {\n sharedObserver ??= new ResizeObserver((entries) => {\n for (const entry of entries) {\n const callbacks = observedNodes.get(entry.target);\n if (!callbacks) continue;\n for (const callback of [...callbacks]) callback();\n }\n });\n return sharedObserver;\n}\nfunction observeResize(node, callback) {\n let callbacks = observedNodes.get(node);\n if (callbacks === void 0) {\n callbacks = /* @__PURE__ */ new Set();\n observedNodes.set(node, callbacks);\n callbacks.add(callback);\n getSharedObserver().observe(node);\n } else {\n callbacks.add(callback);\n callback();\n }\n return () => {\n const current = observedNodes.get(node);\n if (!current) return;\n current.delete(callback);\n if (current.size) return;\n observedNodes.delete(node);\n sharedObserver?.unobserve(node);\n };\n}\nclass SvelteResizeObserver {\n #node;\n #onResize;\n constructor(node, onResize) {\n this.#node = node;\n this.#onResize = onResize;\n this.handler = this.handler.bind(this);\n }\n handler() {\n let rAF = 0;\n const _node = this.#node();\n if (!_node) return;\n const unobserve = observeResize(_node, () => {\n cancelAnimationFrame(rAF);\n rAF = window.requestAnimationFrame(this.#onResize);\n });\n return () => {\n window.cancelAnimationFrame(rAF);\n unobserve();\n };\n }\n}\nclass Presence {\n opts;\n present;\n #afterAnimations;\n #isPresent = false;\n #hasMounted = false;\n #transitionStatus = void 0;\n #transitionFrame = null;\n constructor(opts) {\n this.opts = opts;\n this.present = this.opts.open;\n this.#isPresent = opts.open.current;\n this.#afterAnimations = new AnimationsComplete({ ref: this.opts.ref, afterTick: this.opts.open });\n watch(() => this.present.current, (isOpen) => {\n if (!this.#hasMounted) {\n this.#hasMounted = true;\n return;\n }\n this.#clearTransitionFrame();\n if (isOpen) {\n this.#isPresent = true;\n }\n this.#transitionStatus = isOpen ? \"starting\" : \"ending\";\n if (isOpen) {\n this.#transitionFrame = window.requestAnimationFrame(() => {\n this.#transitionFrame = null;\n if (this.present.current) {\n this.#transitionStatus = void 0;\n }\n });\n }\n this.#afterAnimations.run(() => {\n if (isOpen !== this.present.current) return;\n if (!isOpen) {\n this.#isPresent = false;\n }\n this.#transitionStatus = void 0;\n });\n });\n }\n #_isPresent = derived(() => {\n return this.#isPresent;\n });\n get isPresent() {\n return this.#_isPresent();\n }\n set isPresent($$value) {\n return this.#_isPresent($$value);\n }\n get transitionStatus() {\n return this.#transitionStatus;\n }\n #clearTransitionFrame() {\n if (this.#transitionFrame === null) return;\n window.cancelAnimationFrame(this.#transitionFrame);\n this.#transitionFrame = null;\n }\n}\nfunction Presence_layer($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { open, forceMount, presence, ref } = $$props;\n const presenceState = new Presence({ open: boxWith(() => open), ref: run(() => ref) });\n if (forceMount || open || presenceState.isPresent) {\n $$renderer2.push(\"<!--[0-->\");\n presence?.($$renderer2, {\n present: presenceState.isPresent,\n transitionStatus: presenceState.transitionStatus\n });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]-->`);\n });\n}\nfunction clamp(n2, min, max) {\n return Math.min(max, Math.max(min, n2));\n}\nclass StateMachine {\n state;\n #machine;\n constructor(initialState, machine) {\n this.state = simpleBox(initialState);\n this.#machine = machine;\n this.dispatch = this.dispatch.bind(this);\n }\n #reducer(event) {\n const nextState = this.#machine[this.state.current][event];\n return nextState ?? this.state.current;\n }\n dispatch(event) {\n this.state.current = this.#reducer(event);\n }\n}\nconst scrollAreaAttrs = createBitsAttrs({\n component: \"scroll-area\",\n parts: [\"root\", \"viewport\", \"corner\", \"thumb\", \"scrollbar\"]\n});\nconst ScrollAreaRootContext = new Context$1(\"ScrollArea.Root\");\nconst ScrollAreaScrollbarContext = new Context$1(\"ScrollArea.Scrollbar\");\nconst ScrollAreaScrollbarVisibleContext = new Context$1(\"ScrollArea.ScrollbarVisible\");\nconst ScrollAreaScrollbarAxisContext = new Context$1(\"ScrollArea.ScrollbarAxis\");\nconst ScrollAreaScrollbarSharedContext = new Context$1(\"ScrollArea.ScrollbarShared\");\nclass ScrollAreaRootState {\n static create(opts) {\n return ScrollAreaRootContext.set(new ScrollAreaRootState(opts));\n }\n opts;\n attachment;\n scrollAreaNode = null;\n viewportNode = null;\n contentNode = null;\n scrollbarXNode = null;\n scrollbarYNode = null;\n cornerWidth = 0;\n cornerHeight = 0;\n scrollbarXEnabled = false;\n scrollbarYEnabled = false;\n domContext;\n constructor(opts) {\n this.opts = opts;\n this.attachment = attachRef(opts.ref, (v) => this.scrollAreaNode = v);\n this.domContext = new DOMContext(opts.ref);\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n dir: this.opts.dir.current,\n style: {\n position: \"relative\",\n \"--bits-scroll-area-corner-height\": `${this.cornerHeight}px`,\n \"--bits-scroll-area-corner-width\": `${this.cornerWidth}px`\n },\n [scrollAreaAttrs.root]: \"\",\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass ScrollAreaViewportState {\n static create(opts) {\n return new ScrollAreaViewportState(opts, ScrollAreaRootContext.get());\n }\n opts;\n root;\n attachment;\n #contentId = simpleBox(useId());\n #contentRef = simpleBox(null);\n contentAttachment = attachRef(this.#contentRef, (v) => this.root.contentNode = v);\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.attachment = attachRef(opts.ref, (v) => this.root.viewportNode = v);\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n style: {\n overflowX: this.root.scrollbarXEnabled ? \"scroll\" : \"hidden\",\n overflowY: this.root.scrollbarYEnabled ? \"scroll\" : \"hidden\"\n },\n [scrollAreaAttrs.viewport]: \"\",\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n #contentProps = derived(() => ({\n id: this.#contentId.current,\n \"data-scroll-area-content\": \"\",\n style: {\n minWidth: this.root.scrollbarXEnabled ? \"fit-content\" : void 0\n },\n ...this.contentAttachment\n }));\n get contentProps() {\n return this.#contentProps();\n }\n set contentProps($$value) {\n return this.#contentProps($$value);\n }\n}\nclass ScrollAreaScrollbarState {\n static create(opts) {\n return ScrollAreaScrollbarContext.set(new ScrollAreaScrollbarState(opts, ScrollAreaRootContext.get()));\n }\n opts;\n root;\n #isHorizontal = derived(() => this.opts.orientation.current === \"horizontal\");\n get isHorizontal() {\n return this.#isHorizontal();\n }\n set isHorizontal($$value) {\n return this.#isHorizontal($$value);\n }\n hasThumb = false;\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n watch(() => this.isHorizontal, (isHorizontal) => {\n if (isHorizontal) {\n this.root.scrollbarXEnabled = true;\n return () => {\n this.root.scrollbarXEnabled = false;\n };\n } else {\n this.root.scrollbarYEnabled = true;\n return () => {\n this.root.scrollbarYEnabled = false;\n };\n }\n });\n }\n}\nclass ScrollAreaScrollbarHoverState {\n static create() {\n return new ScrollAreaScrollbarHoverState(ScrollAreaScrollbarContext.get());\n }\n scrollbar;\n root;\n isVisible = false;\n constructor(scrollbar) {\n this.scrollbar = scrollbar;\n this.root = scrollbar.root;\n }\n #props = derived(() => ({ \"data-state\": this.isVisible ? \"visible\" : \"hidden\" }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass ScrollAreaScrollbarScrollState {\n static create() {\n return new ScrollAreaScrollbarScrollState(ScrollAreaScrollbarContext.get());\n }\n scrollbar;\n root;\n machine = new StateMachine(\"hidden\", {\n hidden: { SCROLL: \"scrolling\" },\n scrolling: { SCROLL_END: \"idle\", POINTER_ENTER: \"interacting\" },\n interacting: { SCROLL: \"interacting\", POINTER_LEAVE: \"idle\" },\n idle: {\n HIDE: \"hidden\",\n SCROLL: \"scrolling\",\n POINTER_ENTER: \"interacting\"\n }\n });\n #isHidden = derived(() => this.machine.state.current === \"hidden\");\n get isHidden() {\n return this.#isHidden();\n }\n set isHidden($$value) {\n return this.#isHidden($$value);\n }\n constructor(scrollbar) {\n this.scrollbar = scrollbar;\n this.root = scrollbar.root;\n useDebounce(() => this.machine.dispatch(\"SCROLL_END\"), 100);\n this.onpointerenter = this.onpointerenter.bind(this);\n this.onpointerleave = this.onpointerleave.bind(this);\n }\n onpointerenter(_) {\n this.machine.dispatch(\"POINTER_ENTER\");\n }\n onpointerleave(_) {\n this.machine.dispatch(\"POINTER_LEAVE\");\n }\n #props = derived(() => ({\n \"data-state\": this.machine.state.current === \"hidden\" ? \"hidden\" : \"visible\",\n onpointerenter: this.onpointerenter,\n onpointerleave: this.onpointerleave\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass ScrollAreaScrollbarAutoState {\n static create() {\n return new ScrollAreaScrollbarAutoState(ScrollAreaScrollbarContext.get());\n }\n scrollbar;\n root;\n isVisible = false;\n constructor(scrollbar) {\n this.scrollbar = scrollbar;\n this.root = scrollbar.root;\n const handleResize = () => {\n const viewportNode = this.root.viewportNode;\n if (!viewportNode) return;\n const isOverflowX = viewportNode.offsetWidth < viewportNode.scrollWidth;\n const isOverflowY = viewportNode.offsetHeight < viewportNode.scrollHeight;\n this.isVisible = this.scrollbar.isHorizontal ? isOverflowX : isOverflowY;\n };\n new SvelteResizeObserver(() => this.root.viewportNode, handleResize);\n new SvelteResizeObserver(() => this.root.contentNode, handleResize);\n }\n #props = derived(() => ({ \"data-state\": this.isVisible ? \"visible\" : \"hidden\" }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass ScrollAreaScrollbarVisibleState {\n static create() {\n return ScrollAreaScrollbarVisibleContext.set(new ScrollAreaScrollbarVisibleState(ScrollAreaScrollbarContext.get()));\n }\n scrollbar;\n root;\n thumbNode = null;\n pointerOffset = 0;\n sizes = {\n content: 0,\n viewport: 0,\n scrollbar: { size: 0, paddingStart: 0, paddingEnd: 0 }\n };\n #thumbRatio = derived(() => getThumbRatio(this.sizes.viewport, this.sizes.content));\n get thumbRatio() {\n return this.#thumbRatio();\n }\n set thumbRatio($$value) {\n return this.#thumbRatio($$value);\n }\n #hasThumb = derived(() => Boolean(this.thumbRatio > 0 && this.thumbRatio < 1));\n get hasThumb() {\n return this.#hasThumb();\n }\n set hasThumb($$value) {\n return this.#hasThumb($$value);\n }\n prevTransformStyle = \"\";\n constructor(scrollbar) {\n this.scrollbar = scrollbar;\n this.root = scrollbar.root;\n }\n setSizes(sizes) {\n this.sizes = sizes;\n }\n getScrollPosition(pointerPos, dir) {\n return getScrollPositionFromPointer({\n pointerPos,\n pointerOffset: this.pointerOffset,\n sizes: this.sizes,\n dir\n });\n }\n onThumbPointerUp() {\n this.pointerOffset = 0;\n }\n onThumbPointerDown(pointerPos) {\n this.pointerOffset = pointerPos;\n }\n xOnThumbPositionChange() {\n if (!(this.root.viewportNode && this.thumbNode)) return;\n const scrollPos = this.root.viewportNode.scrollLeft;\n const offset = getThumbOffsetFromScroll({\n scrollPos,\n sizes: this.sizes,\n dir: this.root.opts.dir.current\n });\n const transformStyle = `translate3d(${offset}px, 0, 0)`;\n this.thumbNode.style.transform = transformStyle;\n this.prevTransformStyle = transformStyle;\n }\n xOnWheelScroll(scrollPos) {\n if (!this.root.viewportNode) return;\n this.root.viewportNode.scrollLeft = scrollPos;\n }\n xOnDragScroll(pointerPos) {\n if (!this.root.viewportNode) return;\n this.root.viewportNode.scrollLeft = this.getScrollPosition(pointerPos, this.root.opts.dir.current);\n }\n yOnThumbPositionChange() {\n if (!(this.root.viewportNode && this.thumbNode)) return;\n const scrollPos = this.root.viewportNode.scrollTop;\n const offset = getThumbOffsetFromScroll({ scrollPos, sizes: this.sizes });\n const transformStyle = `translate3d(0, ${offset}px, 0)`;\n this.thumbNode.style.transform = transformStyle;\n this.prevTransformStyle = transformStyle;\n }\n yOnWheelScroll(scrollPos) {\n if (!this.root.viewportNode) return;\n this.root.viewportNode.scrollTop = scrollPos;\n }\n yOnDragScroll(pointerPos) {\n if (!this.root.viewportNode) return;\n this.root.viewportNode.scrollTop = this.getScrollPosition(pointerPos, this.root.opts.dir.current);\n }\n}\nclass ScrollAreaScrollbarXState {\n static create(opts) {\n return ScrollAreaScrollbarAxisContext.set(new ScrollAreaScrollbarXState(opts, ScrollAreaScrollbarVisibleContext.get()));\n }\n opts;\n scrollbarVis;\n root;\n scrollbar;\n attachment;\n computedStyle;\n constructor(opts, scrollbarVis) {\n this.opts = opts;\n this.scrollbarVis = scrollbarVis;\n this.root = scrollbarVis.root;\n this.scrollbar = scrollbarVis.scrollbar;\n this.attachment = attachRef(this.scrollbar.opts.ref, (v) => this.root.scrollbarXNode = v);\n }\n onThumbPointerDown = (pointerPos) => {\n this.scrollbarVis.onThumbPointerDown(pointerPos.x);\n };\n onDragScroll = (pointerPos) => {\n this.scrollbarVis.xOnDragScroll(pointerPos.x);\n };\n onThumbPointerUp = () => {\n this.scrollbarVis.onThumbPointerUp();\n };\n onThumbPositionChange = () => {\n this.scrollbarVis.xOnThumbPositionChange();\n };\n onWheelScroll = (e, maxScrollPos) => {\n if (!this.root.viewportNode) return;\n const scrollPos = this.root.viewportNode.scrollLeft + e.deltaX;\n this.scrollbarVis.xOnWheelScroll(scrollPos);\n if (isScrollingWithinScrollbarBounds(scrollPos, maxScrollPos)) {\n e.preventDefault();\n }\n };\n onResize = () => {\n if (!(this.scrollbar.opts.ref.current && this.root.viewportNode && this.computedStyle)) return;\n this.scrollbarVis.setSizes({\n content: this.root.viewportNode.scrollWidth,\n viewport: this.root.viewportNode.offsetWidth,\n scrollbar: {\n size: this.scrollbar.opts.ref.current.clientWidth,\n paddingStart: toInt(this.computedStyle.paddingLeft),\n paddingEnd: toInt(this.computedStyle.paddingRight)\n }\n });\n };\n #thumbSize = derived(() => {\n return getThumbSize(this.scrollbarVis.sizes);\n });\n get thumbSize() {\n return this.#thumbSize();\n }\n set thumbSize($$value) {\n return this.#thumbSize($$value);\n }\n #props = derived(() => ({\n id: this.scrollbar.opts.id.current,\n \"data-orientation\": \"horizontal\",\n style: {\n bottom: 0,\n left: this.root.opts.dir.current === \"rtl\" ? \"var(--bits-scroll-area-corner-width)\" : 0,\n right: this.root.opts.dir.current === \"ltr\" ? \"var(--bits-scroll-area-corner-width)\" : 0,\n \"--bits-scroll-area-thumb-width\": `${this.thumbSize}px`\n },\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass ScrollAreaScrollbarYState {\n static create(opts) {\n return ScrollAreaScrollbarAxisContext.set(new ScrollAreaScrollbarYState(opts, ScrollAreaScrollbarVisibleContext.get()));\n }\n opts;\n scrollbarVis;\n root;\n scrollbar;\n attachment;\n computedStyle;\n constructor(opts, scrollbarVis) {\n this.opts = opts;\n this.scrollbarVis = scrollbarVis;\n this.root = scrollbarVis.root;\n this.scrollbar = scrollbarVis.scrollbar;\n this.attachment = attachRef(this.scrollbar.opts.ref, (v) => this.root.scrollbarYNode = v);\n this.onThumbPointerDown = this.onThumbPointerDown.bind(this);\n this.onDragScroll = this.onDragScroll.bind(this);\n this.onThumbPointerUp = this.onThumbPointerUp.bind(this);\n this.onThumbPositionChange = this.onThumbPositionChange.bind(this);\n this.onWheelScroll = this.onWheelScroll.bind(this);\n this.onResize = this.onResize.bind(this);\n }\n onThumbPointerDown(pointerPos) {\n this.scrollbarVis.onThumbPointerDown(pointerPos.y);\n }\n onDragScroll(pointerPos) {\n this.scrollbarVis.yOnDragScroll(pointerPos.y);\n }\n onThumbPointerUp() {\n this.scrollbarVis.onThumbPointerUp();\n }\n onThumbPositionChange() {\n this.scrollbarVis.yOnThumbPositionChange();\n }\n onWheelScroll(e, maxScrollPos) {\n if (!this.root.viewportNode) return;\n const scrollPos = this.root.viewportNode.scrollTop + e.deltaY;\n this.scrollbarVis.yOnWheelScroll(scrollPos);\n if (isScrollingWithinScrollbarBounds(scrollPos, maxScrollPos)) {\n e.preventDefault();\n }\n }\n onResize() {\n if (!(this.scrollbar.opts.ref.current && this.root.viewportNode && this.computedStyle)) return;\n this.scrollbarVis.setSizes({\n content: this.root.viewportNode.scrollHeight,\n viewport: this.root.viewportNode.offsetHeight,\n scrollbar: {\n size: this.scrollbar.opts.ref.current.clientHeight,\n paddingStart: toInt(this.computedStyle.paddingTop),\n paddingEnd: toInt(this.computedStyle.paddingBottom)\n }\n });\n }\n #thumbSize = derived(() => {\n return getThumbSize(this.scrollbarVis.sizes);\n });\n get thumbSize() {\n return this.#thumbSize();\n }\n set thumbSize($$value) {\n return this.#thumbSize($$value);\n }\n #props = derived(() => ({\n id: this.scrollbar.opts.id.current,\n \"data-orientation\": \"vertical\",\n style: {\n top: 0,\n right: this.root.opts.dir.current === \"ltr\" ? 0 : void 0,\n left: this.root.opts.dir.current === \"rtl\" ? 0 : void 0,\n bottom: \"var(--bits-scroll-area-corner-height)\",\n \"--bits-scroll-area-thumb-height\": `${this.thumbSize}px`\n },\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass ScrollAreaScrollbarSharedState {\n static create() {\n return ScrollAreaScrollbarSharedContext.set(new ScrollAreaScrollbarSharedState(ScrollAreaScrollbarAxisContext.get()));\n }\n scrollbarState;\n root;\n scrollbarVis;\n scrollbar;\n rect = null;\n prevWebkitUserSelect = \"\";\n handleResize;\n handleThumbPositionChange;\n handleWheelScroll;\n handleThumbPointerDown;\n handleThumbPointerUp;\n #maxScrollPos = derived(() => this.scrollbarVis.sizes.content - this.scrollbarVis.sizes.viewport);\n get maxScrollPos() {\n return this.#maxScrollPos();\n }\n set maxScrollPos($$value) {\n return this.#maxScrollPos($$value);\n }\n constructor(scrollbarState) {\n this.scrollbarState = scrollbarState;\n this.root = scrollbarState.root;\n this.scrollbarVis = scrollbarState.scrollbarVis;\n this.scrollbar = scrollbarState.scrollbarVis.scrollbar;\n this.handleResize = () => this.scrollbarState.onResize();\n this.handleThumbPositionChange = this.scrollbarState.onThumbPositionChange;\n this.handleWheelScroll = this.scrollbarState.onWheelScroll;\n this.handleThumbPointerDown = this.scrollbarState.onThumbPointerDown;\n this.handleThumbPointerUp = this.scrollbarState.onThumbPointerUp;\n new SvelteResizeObserver(() => this.scrollbar.opts.ref.current, this.handleResize);\n new SvelteResizeObserver(() => this.root.contentNode, this.handleResize);\n this.onpointerdown = this.onpointerdown.bind(this);\n this.onpointermove = this.onpointermove.bind(this);\n this.onpointerup = this.onpointerup.bind(this);\n this.onlostpointercapture = this.onlostpointercapture.bind(this);\n }\n handleDragScroll(e) {\n if (!this.rect) return;\n const x = e.clientX - this.rect.left;\n const y = e.clientY - this.rect.top;\n this.scrollbarState.onDragScroll({ x, y });\n }\n #cleanupPointerState() {\n if (this.rect === null) return;\n this.root.domContext.getDocument().body.style.webkitUserSelect = this.prevWebkitUserSelect;\n if (this.root.viewportNode) this.root.viewportNode.style.scrollBehavior = \"\";\n this.rect = null;\n }\n onpointerdown(e) {\n if (e.button !== 0) return;\n const target = e.target;\n target.setPointerCapture(e.pointerId);\n this.rect = this.scrollbar.opts.ref.current?.getBoundingClientRect() ?? null;\n this.prevWebkitUserSelect = this.root.domContext.getDocument().body.style.webkitUserSelect;\n this.root.domContext.getDocument().body.style.webkitUserSelect = \"none\";\n if (this.root.viewportNode) this.root.viewportNode.style.scrollBehavior = \"auto\";\n this.handleDragScroll(e);\n }\n onpointermove(e) {\n this.handleDragScroll(e);\n }\n onpointerup(e) {\n const target = e.target;\n if (target.hasPointerCapture(e.pointerId)) {\n target.releasePointerCapture(e.pointerId);\n }\n this.#cleanupPointerState();\n }\n onlostpointercapture(_) {\n this.#cleanupPointerState();\n }\n #props = derived(() => mergeProps({\n ...this.scrollbarState.props,\n style: { position: \"absolute\", ...this.scrollbarState.props.style },\n [scrollAreaAttrs.scrollbar]: \"\",\n onpointerdown: this.onpointerdown,\n onpointermove: this.onpointermove,\n onpointerup: this.onpointerup,\n onlostpointercapture: this.onlostpointercapture\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass ScrollAreaThumbImplState {\n static create(opts) {\n return new ScrollAreaThumbImplState(opts, ScrollAreaScrollbarSharedContext.get());\n }\n opts;\n scrollbarState;\n attachment;\n #root;\n #removeUnlinkedScrollListener;\n #debounceScrollEnd = useDebounce(\n () => {\n if (this.#removeUnlinkedScrollListener) {\n this.#removeUnlinkedScrollListener();\n this.#removeUnlinkedScrollListener = void 0;\n }\n },\n 100\n );\n constructor(opts, scrollbarState) {\n this.opts = opts;\n this.scrollbarState = scrollbarState;\n this.#root = scrollbarState.root;\n this.attachment = attachRef(this.opts.ref, (v) => this.scrollbarState.scrollbarVis.thumbNode = v);\n this.onpointerdowncapture = this.onpointerdowncapture.bind(this);\n this.onpointerup = this.onpointerup.bind(this);\n }\n onpointerdowncapture(e) {\n const thumb = e.target;\n if (!thumb) return;\n const thumbRect = thumb.getBoundingClientRect();\n const x = e.clientX - thumbRect.left;\n const y = e.clientY - thumbRect.top;\n this.scrollbarState.handleThumbPointerDown({ x, y });\n }\n onpointerup(_) {\n this.scrollbarState.handleThumbPointerUp();\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n \"data-state\": this.scrollbarState.scrollbarVis.hasThumb ? \"visible\" : \"hidden\",\n style: {\n width: \"var(--bits-scroll-area-thumb-width)\",\n height: \"var(--bits-scroll-area-thumb-height)\",\n transform: this.scrollbarState.scrollbarVis.prevTransformStyle\n },\n onpointerdowncapture: this.onpointerdowncapture,\n onpointerup: this.onpointerup,\n [scrollAreaAttrs.thumb]: \"\",\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass ScrollAreaCornerImplState {\n static create(opts) {\n return new ScrollAreaCornerImplState(opts, ScrollAreaRootContext.get());\n }\n opts;\n root;\n attachment;\n #width = 0;\n #height = 0;\n #hasSize = derived(() => Boolean(this.#width && this.#height));\n get hasSize() {\n return this.#hasSize();\n }\n set hasSize($$value) {\n return this.#hasSize($$value);\n }\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.attachment = attachRef(this.opts.ref);\n new SvelteResizeObserver(() => this.root.scrollbarXNode, () => {\n const height = this.root.scrollbarXNode?.offsetHeight || 0;\n this.root.cornerHeight = height;\n this.#height = height;\n });\n new SvelteResizeObserver(() => this.root.scrollbarYNode, () => {\n const width = this.root.scrollbarYNode?.offsetWidth || 0;\n this.root.cornerWidth = width;\n this.#width = width;\n });\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n style: {\n width: this.#width,\n height: this.#height,\n position: \"absolute\",\n right: this.root.opts.dir.current === \"ltr\" ? 0 : void 0,\n left: this.root.opts.dir.current === \"rtl\" ? 0 : void 0,\n bottom: 0\n },\n [scrollAreaAttrs.corner]: \"\",\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nfunction toInt(value) {\n return value ? Number.parseInt(value, 10) : 0;\n}\nfunction getThumbRatio(viewportSize, contentSize) {\n const ratio = viewportSize / contentSize;\n return Number.isNaN(ratio) ? 0 : ratio;\n}\nfunction getThumbSize(sizes) {\n const ratio = getThumbRatio(sizes.viewport, sizes.content);\n const scrollbarPadding = sizes.scrollbar.paddingStart + sizes.scrollbar.paddingEnd;\n const thumbSize = (sizes.scrollbar.size - scrollbarPadding) * ratio;\n return Math.max(thumbSize, 18);\n}\nfunction getScrollPositionFromPointer({ pointerPos, pointerOffset, sizes, dir = \"ltr\" }) {\n const thumbSizePx = getThumbSize(sizes);\n const thumbCenter = thumbSizePx / 2;\n const offset = pointerOffset || thumbCenter;\n const thumbOffsetFromEnd = thumbSizePx - offset;\n const minPointerPos = sizes.scrollbar.paddingStart + offset;\n const maxPointerPos = sizes.scrollbar.size - sizes.scrollbar.paddingEnd - thumbOffsetFromEnd;\n const maxScrollPos = sizes.content - sizes.viewport;\n const scrollRange = dir === \"ltr\" ? [0, maxScrollPos] : [maxScrollPos * -1, 0];\n const interpolate = linearScale([minPointerPos, maxPointerPos], scrollRange);\n return interpolate(pointerPos);\n}\nfunction getThumbOffsetFromScroll({ scrollPos, sizes, dir = \"ltr\" }) {\n const thumbSizePx = getThumbSize(sizes);\n const scrollbarPadding = sizes.scrollbar.paddingStart + sizes.scrollbar.paddingEnd;\n const scrollbar = sizes.scrollbar.size - scrollbarPadding;\n const maxScrollPos = sizes.content - sizes.viewport;\n const maxThumbPos = scrollbar - thumbSizePx;\n const scrollClampRange = dir === \"ltr\" ? [0, maxScrollPos] : [maxScrollPos * -1, 0];\n const scrollWithoutMomentum = clamp(scrollPos, scrollClampRange[0], scrollClampRange[1]);\n const interpolate = linearScale([0, maxScrollPos], [0, maxThumbPos]);\n return interpolate(scrollWithoutMomentum);\n}\nfunction linearScale(input, output) {\n return (value) => {\n if (input[0] === input[1] || output[0] === output[1]) return output[0];\n const ratio = (output[1] - output[0]) / (input[1] - input[0]);\n return output[0] + ratio * (value - input[0]);\n };\n}\nfunction isScrollingWithinScrollbarBounds(scrollPos, maxScrollPos) {\n return scrollPos > 0 && scrollPos < maxScrollPos;\n}\nfunction Scroll_area$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n ref = null,\n id = createId(uid),\n type = \"hover\",\n dir = \"ltr\",\n scrollHideDelay = 600,\n children,\n child,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const rootState = ScrollAreaRootState.create({\n type: boxWith(() => type),\n dir: boxWith(() => dir),\n scrollHideDelay: boxWith(() => scrollHideDelay),\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, rootState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Scroll_area_viewport($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n ref = null,\n id = createId(uid),\n children,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const viewportState = ScrollAreaViewportState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, viewportState.props));\n const mergedContentProps = derived(() => mergeProps({}, viewportState.contentProps));\n $$renderer2.push(`<div${attributes({ ...mergedProps() })}><div${attributes({ ...mergedContentProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div></div>`);\n bind_props($$props, { ref });\n });\n}\nfunction Scroll_area_scrollbar_shared($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { child, children, $$slots, $$events, ...restProps } = $$props;\n const scrollbarSharedState = ScrollAreaScrollbarSharedState.create();\n const mergedProps = derived(() => mergeProps(restProps, scrollbarSharedState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n });\n}\nfunction Scroll_area_scrollbar_x($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { $$slots, $$events, ...restProps } = $$props;\n const isMounted = new IsMounted();\n const scrollbarXState = ScrollAreaScrollbarXState.create({ mounted: boxWith(() => isMounted.current) });\n const mergedProps = derived(() => mergeProps(restProps, scrollbarXState.props));\n Scroll_area_scrollbar_shared($$renderer2, spread_props([mergedProps()]));\n });\n}\nfunction Scroll_area_scrollbar_y($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { $$slots, $$events, ...restProps } = $$props;\n const isMounted = new IsMounted();\n const scrollbarYState = ScrollAreaScrollbarYState.create({ mounted: boxWith(() => isMounted.current) });\n const mergedProps = derived(() => mergeProps(restProps, scrollbarYState.props));\n Scroll_area_scrollbar_shared($$renderer2, spread_props([mergedProps()]));\n });\n}\nfunction Scroll_area_scrollbar_visible($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { $$slots, $$events, ...restProps } = $$props;\n const scrollbarVisibleState = ScrollAreaScrollbarVisibleState.create();\n if (scrollbarVisibleState.scrollbar.opts.orientation.current === \"horizontal\") {\n $$renderer2.push(\"<!--[0-->\");\n Scroll_area_scrollbar_x($$renderer2, spread_props([restProps]));\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n Scroll_area_scrollbar_y($$renderer2, spread_props([restProps]));\n }\n $$renderer2.push(`<!--]-->`);\n });\n}\nfunction Scroll_area_scrollbar_auto($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { forceMount = false, $$slots, $$events, ...restProps } = $$props;\n const scrollbarAutoState = ScrollAreaScrollbarAutoState.create();\n const mergedProps = derived(() => mergeProps(restProps, scrollbarAutoState.props));\n {\n let presence = function($$renderer3) {\n Scroll_area_scrollbar_visible($$renderer3, spread_props([mergedProps()]));\n };\n Presence_layer($$renderer2, {\n open: forceMount || scrollbarAutoState.isVisible,\n ref: scrollbarAutoState.scrollbar.opts.ref,\n presence\n });\n }\n });\n}\nfunction Scroll_area_scrollbar_scroll($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { forceMount = false, $$slots, $$events, ...restProps } = $$props;\n const scrollbarScrollState = ScrollAreaScrollbarScrollState.create();\n const mergedProps = derived(() => mergeProps(restProps, scrollbarScrollState.props));\n {\n let presence = function($$renderer3) {\n Scroll_area_scrollbar_visible($$renderer3, spread_props([mergedProps()]));\n };\n Presence_layer($$renderer2, spread_props([\n mergedProps(),\n {\n open: forceMount || !scrollbarScrollState.isHidden,\n ref: scrollbarScrollState.scrollbar.opts.ref,\n presence,\n $$slots: { presence: true }\n }\n ]));\n }\n });\n}\nfunction Scroll_area_scrollbar_hover($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { forceMount = false, $$slots, $$events, ...restProps } = $$props;\n const scrollbarHoverState = ScrollAreaScrollbarHoverState.create();\n const scrollbarAutoState = ScrollAreaScrollbarAutoState.create();\n const mergedProps = derived(() => mergeProps(restProps, scrollbarHoverState.props, scrollbarAutoState.props, {\n \"data-state\": scrollbarHoverState.isVisible ? \"visible\" : \"hidden\"\n }));\n const open = derived(() => forceMount || scrollbarHoverState.isVisible && scrollbarAutoState.isVisible);\n {\n let presence = function($$renderer3) {\n Scroll_area_scrollbar_visible($$renderer3, spread_props([mergedProps()]));\n };\n Presence_layer($$renderer2, {\n open: open(),\n ref: scrollbarAutoState.scrollbar.opts.ref,\n presence\n });\n }\n });\n}\nfunction Scroll_area_scrollbar$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n ref = null,\n id = createId(uid),\n orientation,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const scrollbarState = ScrollAreaScrollbarState.create({\n orientation: boxWith(() => orientation),\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const type = derived(() => scrollbarState.root.opts.type.current);\n if (type() === \"hover\") {\n $$renderer2.push(\"<!--[0-->\");\n Scroll_area_scrollbar_hover($$renderer2, spread_props([restProps, { id }]));\n } else if (type() === \"scroll\") {\n $$renderer2.push(\"<!--[1-->\");\n Scroll_area_scrollbar_scroll($$renderer2, spread_props([restProps, { id }]));\n } else if (type() === \"auto\") {\n $$renderer2.push(\"<!--[2-->\");\n Scroll_area_scrollbar_auto($$renderer2, spread_props([restProps, { id }]));\n } else if (type() === \"always\") {\n $$renderer2.push(\"<!--[3-->\");\n Scroll_area_scrollbar_visible($$renderer2, spread_props([restProps, { id }]));\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Scroll_area_thumb_impl($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n id,\n child,\n children,\n present,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const isMounted = new IsMounted();\n const thumbState = ScrollAreaThumbImplState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v),\n mounted: boxWith(() => isMounted.current)\n });\n const mergedProps = derived(() => mergeProps(restProps, thumbState.props, { style: { hidden: !present } }));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Scroll_area_thumb($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n id = createId(uid),\n ref = null,\n forceMount = false,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const scrollbarState = ScrollAreaScrollbarVisibleContext.get();\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n {\n let presence = function($$renderer4, { present }) {\n Scroll_area_thumb_impl($$renderer4, spread_props([\n restProps,\n {\n id,\n present,\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n };\n Presence_layer($$renderer3, {\n open: forceMount || scrollbarState.hasThumb,\n ref: scrollbarState.scrollbar.opts.ref,\n presence\n });\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Scroll_area_corner_impl($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n id,\n children,\n child,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const cornerState = ScrollAreaCornerImplState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, cornerState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Scroll_area_corner($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n ref = null,\n id = createId(uid),\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const scrollAreaState = ScrollAreaRootContext.get();\n const hasBothScrollbarsVisible = derived(() => Boolean(scrollAreaState.scrollbarXNode && scrollAreaState.scrollbarYNode));\n const hasCorner = derived(() => scrollAreaState.opts.type.current !== \"scroll\" && hasBothScrollbarsVisible());\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (hasCorner()) {\n $$renderer3.push(\"<!--[0-->\");\n Scroll_area_corner_impl($$renderer3, spread_props([\n restProps,\n {\n id,\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]-->`);\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Tabs$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n id = createId(uid),\n ref = null,\n value = \"\",\n onValueChange = noop,\n orientation = \"horizontal\",\n loop = true,\n activationMode = \"automatic\",\n disabled = false,\n children,\n child,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const rootState = TabsRootState.create({\n id: boxWith(() => id),\n value: boxWith(() => value, (v) => {\n value = v;\n onValueChange(v);\n }),\n orientation: boxWith(() => orientation),\n loop: boxWith(() => loop),\n activationMode: boxWith(() => activationMode),\n disabled: boxWith(() => disabled),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, rootState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref, value });\n });\n}\nfunction Tabs_trigger$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n child,\n children,\n disabled = false,\n id = createId(uid),\n type = \"button\",\n value,\n ref = null,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const triggerState = TabsTriggerState.create({\n id: boxWith(() => id),\n disabled: boxWith(() => disabled ?? false),\n value: boxWith(() => value),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, triggerState.props, { type }));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><button${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></button>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Context_menu_item($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n inset,\n variant = \"default\",\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Menu_item) {\n $$renderer3.push(\"<!--[-->\");\n Menu_item($$renderer3, spread_props([\n {\n \"data-slot\": \"context-menu-item\",\n \"data-inset\": inset,\n \"data-variant\": variant,\n class: cn(\"focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:text-destructive focus:*:[svg]:text-accent-foreground gap-1.5 rounded-md px-1.5 py-1 text-sm data-inset:pl-7 [&_svg:not([class*='size-'])]:size-4 group/context-menu-item relative flex cursor-default items-center outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction SessionRow($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n session: s,\n title,\n where,\n href,\n hint,\n active,\n tag,\n orchestrator = false,\n worker = false,\n draft = \"\",\n staged = 0,\n draggable,\n onkill = null,\n onmarkunread = null,\n onclick,\n onlongpress,\n ondragstart,\n ondragend,\n menu = [],\n machine = null,\n offline = null,\n meta,\n children\n } = $$props;\n const shown = derived(() => indicatorStateOf(s));\n const wants = derived(() => wantsHuman(s));\n const quiet = derived(() => recedes(shown()) && !wants() && !active);\n const running = derived(() => s.state === \"busy\" && s.turn_started_at != null);\n const showSub = derived(() => wants() || s.state === \"busy\" || !!offline || active || tag !== null || !!draft || staged > 0);\n const canMarkUnread = derived(() => !!onmarkunread && s.state === \"idle\" && !!s.turn_completed_at && !isUnread(s));\n const elapsed = derived(() => running() ? formatSpinnerElapsed(Math.max(0, Math.floor((clock.now - s.turn_started_at) / 1e3))) : null);\n if (Context_menu) {\n $$renderer2.push(\"<!--[-->\");\n Context_menu($$renderer2, {\n children: ($$renderer3) => {\n {\n let child = function($$renderer4, { props }) {\n $$renderer4.push(`<a${attributes(\n {\n ...props,\n tabindex: void 0,\n href,\n class: \"row\",\n draggable: draggable ? \"true\" : \"false\",\n title: hint\n },\n \"svelte-kqdvb4\",\n {\n cur: active || tag !== null,\n orch: orchestrator,\n worker,\n quiet,\n one: !showSub(),\n inA: tag === \"A\",\n inB: tag === \"B\"\n }\n )}>`);\n if (worker) {\n $$renderer4.push(`<!--[0--><span class=\"tile svelte-kqdvb4\" aria-hidden=\"true\"><svg viewBox=\"0 0 24 24\" class=\"svelte-kqdvb4\"><rect x=\"3\" y=\"4\" width=\"18\" height=\"14\" rx=\"2\"></rect><path d=\"M7 9l3 3-3 3M13 15h4\"></path></svg></span>`);\n } else {\n $$renderer4.push(`<!--[-1--><span class=\"st svelte-kqdvb4\">`);\n SessionStateIndicator($$renderer4, { state: shown(), size: \"sm\", title: s.current_action });\n $$renderer4.push(`<!----></span>`);\n }\n $$renderer4.push(`<!--]--> <span class=\"name svelte-kqdvb4\"${attr(\"title\", s.cwd)}>${escape_html(title)}</span> <span class=\"meta svelte-kqdvb4\">`);\n if (tag) {\n $$renderer4.push(`<!--[0--><span class=\"ptag svelte-kqdvb4\"${attr(\"title\", `Open in pane ${stringify(tag)}`)}>${escape_html(tag)}</span>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--> `);\n if (s.rc_url) {\n $$renderer4.push(`<!--[0--><iconify-icon icon=\"mdi:cellphone-link\" class=\"rc svelte-kqdvb4\" title=\"Remote Control active\"></iconify-icon>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--> `);\n if (wants()) {\n $$renderer4.push(`<!--[0--><span class=\"pill svelte-kqdvb4\">${escape_html(needsHelp(s) ? \"needs help\" : \"wants you\")}</span>`);\n } else if (worker && s.maestro_issue) {\n $$renderer4.push(`<!--[1--><span class=\"issue svelte-kqdvb4\">#${escape_html(s.maestro_issue)}</span>`);\n } else if (elapsed()) {\n $$renderer4.push(`<!--[2--><span class=\"when run svelte-kqdvb4\"${attr(\"title\", `Working for ${stringify(elapsed())}`)}>${escape_html(elapsed())}</span>`);\n } else {\n $$renderer4.push(`<!--[-1--><span class=\"when svelte-kqdvb4\">${escape_html(formatAgo(shown() === \"done\" ? s.turn_completed_at : s.last_update, clock.now))}</span>`);\n }\n $$renderer4.push(`<!--]--> `);\n meta?.($$renderer4);\n $$renderer4.push(`<!----> `);\n if (!showSub() && where) {\n $$renderer4.push(`<!--[0--><span class=\"path svelte-kqdvb4\"${attr(\"title\", s.cwd)}>${escape_html(where)}</span>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--> `);\n if (machine) {\n $$renderer4.push(`<!--[0--><span class=\"mach svelte-kqdvb4\"${attr_style(`--m:${stringify(machine.color)}`)}${attr(\"title\", machine.name)}>${escape_html(machine.letter)}</span>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--></span> `);\n if (s.context_pct !== null && s.context_pct !== void 0) {\n $$renderer4.push(`<!--[0--><span${attr_class(\"ctx svelte-kqdvb4\", void 0, {\n \"warn\": s.context_pct >= 70 && s.context_pct < 90,\n \"hot\": s.context_pct >= 90\n })}${attr_style(`--p: ${stringify(Math.min(100, Math.max(0, s.context_pct)))}`)}${attr(\"title\", `${stringify(s.context_pct)}% of the context window`)}></span>`);\n } else {\n $$renderer4.push(`<!--[-1--><span class=\"ctx none svelte-kqdvb4\"></span>`);\n }\n $$renderer4.push(`<!--]--> `);\n if (canMarkUnread() || onkill) {\n $$renderer4.push(`<!--[0--><span class=\"acts svelte-kqdvb4\">`);\n if (canMarkUnread()) {\n $$renderer4.push(`<!--[0--><button type=\"button\" title=\"Mark unread\" class=\"svelte-kqdvb4\"><iconify-icon icon=\"mdi:email-mark-as-unread\" class=\"svelte-kqdvb4\"></iconify-icon></button>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--> `);\n if (onkill) {\n $$renderer4.push(`<!--[0--><button type=\"button\" class=\"kill svelte-kqdvb4\" title=\"Kill session\"><iconify-icon icon=\"mdi:power\" class=\"svelte-kqdvb4\"></iconify-icon></button>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--></span>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--> `);\n if (showSub()) {\n $$renderer4.push(`<!--[0--><span${attr_class(\"sub svelte-kqdvb4\", void 0, { \"draft\": !!draft, \"off\": !!offline })}${attr(\"title\", offline || draft || s.current_action || s.state)}>`);\n if (staged) {\n $$renderer4.push(`<!--[0--><span class=\"staged svelte-kqdvb4\"${attr(\"title\", `${stringify(staged)} attachment${staged === 1 ? \"\" : \"s\"} staged`)}><iconify-icon icon=\"mdi:paperclip\" class=\"svelte-kqdvb4\"></iconify-icon>${escape_html(staged)}</span>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--> `);\n if (worker) {\n $$renderer4.push(`<!--[0--><span class=\"wst svelte-kqdvb4\">`);\n SessionStateIndicator($$renderer4, { state: shown(), size: \"sm\", title: s.current_action });\n $$renderer4.push(`<!----></span>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--> `);\n if (offline) {\n $$renderer4.push(`<!--[0-->${escape_html(offline)} · was ${escape_html(shown())}`);\n } else if (draft) {\n $$renderer4.push(`<!--[1--><iconify-icon icon=\"mdi:pencil-outline\" class=\"svelte-kqdvb4\"></iconify-icon>${escape_html(draft)}`);\n } else if (worker) {\n $$renderer4.push(`<!--[2-->${escape_html([\"worker\", shown(), s.current_action].filter(Boolean).join(\" · \"))}`);\n } else {\n $$renderer4.push(`<!--[-1-->${escape_html(s.current_action || (shown() === \"done\" ? \"done\" : s.state))}`);\n }\n $$renderer4.push(`<!--]--> `);\n if (!draft && where) {\n $$renderer4.push(`<!--[0--><span class=\"path svelte-kqdvb4\"${attr(\"title\", s.cwd)}>${escape_html(where)}</span>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--></span>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--></a>`);\n };\n if (Context_menu_trigger) {\n $$renderer3.push(\"<!--[-->\");\n Context_menu_trigger($$renderer3, { disabled: menu.length === 0, child, $$slots: { child: true } });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n $$renderer3.push(` `);\n if (menu.length > 0) {\n $$renderer3.push(\"<!--[0-->\");\n if (Context_menu_content) {\n $$renderer3.push(\"<!--[-->\");\n Context_menu_content($$renderer3, {\n class: \"min-w-44\",\n children: ($$renderer4) => {\n $$renderer4.push(`<!--[-->`);\n const each_array = ensure_array_like(menu);\n for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n let item = each_array[$$index];\n if (Context_menu_item) {\n $$renderer4.push(\"<!--[-->\");\n Context_menu_item($$renderer4, {\n onSelect: item.run,\n children: ($$renderer5) => {\n $$renderer5.push(`<iconify-icon${attr(\"icon\", item.icon)}></iconify-icon> ${escape_html(item.label)}`);\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n }\n $$renderer4.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n $$renderer2.push(\"<!--]-->\");\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(\"<!--]-->\");\n }\n $$renderer2.push(` `);\n children?.($$renderer2);\n $$renderer2.push(`<!---->`);\n });\n}\nconst bars = Array(12).fill(0);\nfunction Loader($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { visible, class: className } = $$props;\n $$renderer2.push(`<div${attr_class(clsx([\"sonner-loading-wrapper\", className].filter(Boolean).join(\" \")))}${attr(\"data-visible\", visible)}><div class=\"sonner-spinner\"><!--[-->`);\n const each_array = ensure_array_like(bars);\n for (let i = 0, $$length = each_array.length; i < $$length; i++) {\n each_array[i];\n $$renderer2.push(`<div class=\"sonner-loading-bar\"></div>`);\n }\n $$renderer2.push(`<!--]--></div></div>`);\n });\n}\nconst defaultWindow = void 0;\nfunction getActiveElement(document2) {\n let activeElement = document2.activeElement;\n while (activeElement?.shadowRoot) {\n const node = activeElement.shadowRoot.activeElement;\n if (node === activeElement)\n break;\n else\n activeElement = node;\n }\n return activeElement;\n}\nclass ActiveElement {\n #document;\n #subscribe;\n constructor(options = {}) {\n const { window: window2 = defaultWindow, document: document2 = window2?.document } = options;\n if (window2 === void 0) return;\n this.#document = document2;\n this.#subscribe = createSubscriber();\n }\n get current() {\n this.#subscribe?.();\n if (!this.#document) return null;\n return getActiveElement(this.#document);\n }\n}\nnew ActiveElement();\nclass Context {\n #name;\n #key;\n /**\n * @param name The name of the context.\n * This is used for generating the context key and error messages.\n */\n constructor(name) {\n this.#name = name;\n this.#key = Symbol(name);\n }\n /**\n * The key used to get and set the context.\n *\n * It is not recommended to use this value directly.\n * Instead, use the methods provided by this class.\n */\n get key() {\n return this.#key;\n }\n /**\n * Checks whether this has been set in the context of a parent component.\n *\n * Must be called during component initialisation.\n */\n exists() {\n return hasContext(this.#key);\n }\n /**\n * Retrieves the context that belongs to the closest parent component.\n *\n * Must be called during component initialisation.\n *\n * @throws An error if the context does not exist.\n */\n get() {\n const context = getContext(this.#key);\n if (context === void 0) {\n throw new Error(`Context \"${this.#name}\" not found`);\n }\n return context;\n }\n /**\n * Retrieves the context that belongs to the closest parent component,\n * or the given fallback value if the context does not exist.\n *\n * Must be called during component initialisation.\n */\n getOr(fallback) {\n const context = getContext(this.#key);\n if (context === void 0) {\n return fallback;\n }\n return context;\n }\n /**\n * Associates the given value with the current component and returns it.\n *\n * Must be called during component initialisation.\n */\n set(context) {\n return setContext(this.#key, context);\n }\n}\nconst sonnerContext = new Context(\"<Toaster/>\");\nfunction isAction(action) {\n return action.label !== void 0;\n}\nconst TOAST_LIFETIME$1 = 4e3;\nconst GAP$1 = 14;\nconst TIME_BEFORE_UNMOUNT = 200;\nconst DEFAULT_TOAST_CLASSES = {\n toast: \"\",\n title: \"\",\n description: \"\",\n loader: \"\",\n closeButton: \"\",\n cancelButton: \"\",\n actionButton: \"\",\n action: \"\",\n warning: \"\",\n error: \"\",\n success: \"\",\n default: \"\",\n info: \"\",\n loading: \"\"\n};\nfunction Toast($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n toast,\n index,\n expanded,\n invert: invertFromToaster,\n position,\n visibleToasts,\n expandByDefault,\n closeButton: closeButtonFromToaster,\n interacting,\n cancelButtonStyle = \"\",\n actionButtonStyle = \"\",\n duration: durationFromToaster,\n descriptionClass = \"\",\n classes: classesProp,\n unstyled = false,\n loadingIcon,\n successIcon,\n errorIcon,\n warningIcon,\n closeIcon,\n infoIcon,\n defaultRichColors = false,\n gap = GAP$1,\n swipeDirections: swipeDirectionsProp,\n closeButtonAriaLabel,\n pauseWhenPageIsHidden,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const defaultClasses = { ...DEFAULT_TOAST_CLASSES };\n let mounted = false;\n let removed = false;\n let swiping = false;\n let swipeOut = false;\n let isSwiped = false;\n let offsetBeforeRemove = 0;\n let initialHeight = 0;\n toast.duration || durationFromToaster || TOAST_LIFETIME$1;\n let swipeOutDirection = null;\n const isFront = derived(() => index === 0);\n const isVisible = derived(() => index + 1 <= visibleToasts);\n const toastType = derived(() => toast.type);\n const dismissible = derived(() => toast.dismissible !== void 0 ? toast.dismissible !== false : toast.dismissable !== false);\n const toastClass = derived(() => toast.class || \"\");\n const toastDescriptionClass = derived(() => toast.descriptionClass || \"\");\n const relevantHeights = derived(() => toastState.heights.filter((height) => height.toasterId === toast.toasterId && height.position === position));\n const heightIndex = derived(() => {\n const idx = relevantHeights().findIndex((height) => height.toastId === toast.id);\n return idx === -1 ? 0 : idx;\n });\n const closeButton = derived(() => toast.closeButton ?? closeButtonFromToaster);\n const coords = derived(() => position.split(\"-\"));\n const toastsHeightBefore = derived(() => relevantHeights().reduce(\n (prev, curr, reducerIndex) => {\n if (reducerIndex >= heightIndex()) return prev;\n return prev + curr.height;\n },\n 0\n ));\n const invert = derived(() => toast.invert || invertFromToaster);\n const disabled = derived(() => toastType() === \"loading\");\n const classes = derived(() => ({ ...defaultClasses, ...classesProp }));\n const offset = derived(() => Math.round(heightIndex() * gap + toastsHeightBefore()));\n function deleteToast() {\n removed = true;\n offsetBeforeRemove = offset();\n toastState.removeHeight(toast.id);\n toastState.markDismissed(toast.id);\n toastState.scheduleRemoval(toast.id, TIME_BEFORE_UNMOUNT);\n }\n const icon = derived(() => {\n if (toast.icon) return toast.icon;\n if (toastType() === \"success\") return successIcon;\n if (toastType() === \"error\") return errorIcon;\n if (toastType() === \"warning\") return warningIcon;\n if (toastType() === \"info\") return infoIcon;\n if (toastType() === \"loading\") return loadingIcon;\n return null;\n });\n function LoadingIcon($$renderer3) {\n if (loadingIcon) {\n $$renderer3.push(`<!--[0--><div${attr_class(clsx(cn$1(classes()?.loader, toast?.classes?.loader, \"sonner-loader\")))}${attr(\"data-visible\", toastType() === \"loading\")}>`);\n loadingIcon($$renderer3);\n $$renderer3.push(`<!----></div>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n Loader($$renderer3, {\n class: cn$1(classes()?.loader, toast.classes?.loader),\n visible: toastType() === \"loading\"\n });\n }\n $$renderer3.push(`<!--]-->`);\n }\n $$renderer2.push(`<li${attr(\"tabindex\", 0)}${attr_class(clsx(cn$1(restProps.class, toastClass(), classes()?.toast, toast?.classes?.toast, classes()?.[toastType()], toast?.classes?.[toastType()])))}${attr(\"aria-live\", toast.important ? \"assertive\" : \"polite\")} aria-atomic=\"true\" data-sonner-toast=\"\"${attr(\"data-rich-colors\", toast.richColors ?? defaultRichColors)}${attr(\"data-styled\", !(toast.component || toast.unstyled || unstyled))}${attr(\"data-mounted\", mounted)}${attr(\"data-promise\", Boolean(toast.promise))}${attr(\"data-swiped\", isSwiped)}${attr(\"data-removed\", removed)}${attr(\"data-visible\", isVisible())}${attr(\"data-y-position\", coords()[0])}${attr(\"data-x-position\", coords()[1])}${attr(\"data-index\", index)}${attr(\"data-front\", isFront())}${attr(\"data-swiping\", swiping)}${attr(\"data-dismissible\", dismissible())}${attr(\"data-type\", toastType())}${attr(\"data-invert\", invert())}${attr(\"data-swipe-out\", swipeOut)}${attr(\"data-swipe-direction\", swipeOutDirection)}${attr(\"data-expanded\", Boolean(expanded || expandByDefault && mounted))}${attr_style(`${restProps.style} ${toast.style}`, {\n \"--index\": index,\n \"--toasts-before\": index,\n \"--z-index\": toastState.toasts.length - index,\n \"--offset\": `${removed ? offsetBeforeRemove : offset()}px`,\n \"--initial-height\": expandByDefault ? \"auto\" : `${initialHeight}px`\n })}>`);\n if (closeButton() && !toast.component && toastType() !== \"loading\" && closeIcon !== null) {\n $$renderer2.push(`<!--[0--><button${attr(\"aria-label\", closeButtonAriaLabel)}${attr(\"data-disabled\", disabled())} data-close-button=\"\"${attr_class(clsx(cn$1(classes()?.closeButton, toast?.classes?.closeButton)))}>`);\n closeIcon?.($$renderer2);\n $$renderer2.push(`<!----></button>`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--> `);\n if (toast.component) {\n $$renderer2.push(\"<!--[0-->\");\n const Component = toast.component;\n if (Component) {\n $$renderer2.push(\"<!--[-->\");\n Component($$renderer2, spread_props([toast.componentProps, { closeToast: deleteToast }]));\n $$renderer2.push(\"<!--]-->\");\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(\"<!--]-->\");\n }\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n if ((toastType() || toast.icon || toast.promise) && toast.icon !== null && (icon() !== null || toast.icon)) {\n $$renderer2.push(`<!--[0--><div data-icon=\"\"${attr_class(clsx(cn$1(classes()?.icon, toast?.classes?.icon)))}>`);\n if (toastType() === \"loading\") {\n $$renderer2.push(\"<!--[0-->\");\n if (toast.icon) {\n $$renderer2.push(\"<!--[0-->\");\n if (toast.icon) {\n $$renderer2.push(\"<!--[-->\");\n toast.icon($$renderer2, {});\n $$renderer2.push(\"<!--]-->\");\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(\"<!--]-->\");\n }\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n LoadingIcon($$renderer2);\n }\n $$renderer2.push(`<!--]-->`);\n } else if (toast.promise) {\n $$renderer2.push(\"<!--[1-->\");\n LoadingIcon($$renderer2);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--> `);\n if (toastType() !== \"loading\") {\n $$renderer2.push(\"<!--[0-->\");\n if (toast.icon) {\n $$renderer2.push(\"<!--[0-->\");\n if (toast.icon) {\n $$renderer2.push(\"<!--[-->\");\n toast.icon($$renderer2, {});\n $$renderer2.push(\"<!--]-->\");\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(\"<!--]-->\");\n }\n } else if (toastType() === \"success\") {\n $$renderer2.push(\"<!--[1-->\");\n successIcon?.($$renderer2);\n $$renderer2.push(`<!---->`);\n } else if (toastType() === \"error\") {\n $$renderer2.push(\"<!--[2-->\");\n errorIcon?.($$renderer2);\n $$renderer2.push(`<!---->`);\n } else if (toastType() === \"warning\") {\n $$renderer2.push(\"<!--[3-->\");\n warningIcon?.($$renderer2);\n $$renderer2.push(`<!---->`);\n } else if (toastType() === \"info\") {\n $$renderer2.push(\"<!--[4-->\");\n infoIcon?.($$renderer2);\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]-->`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--></div>`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--> <div data-content=\"\"${attr_class(clsx(cn$1(classes()?.content, toast?.classes?.content)))}><div data-title=\"\"${attr_class(clsx(cn$1(classes()?.title, toast?.classes?.title)))}>`);\n if (toast.title) {\n $$renderer2.push(\"<!--[0-->\");\n if (typeof toast.title !== \"string\") {\n $$renderer2.push(\"<!--[0-->\");\n const Title = toast.title;\n if (Title) {\n $$renderer2.push(\"<!--[-->\");\n Title($$renderer2, spread_props([toast.componentProps]));\n $$renderer2.push(\"<!--]-->\");\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(\"<!--]-->\");\n }\n } else {\n $$renderer2.push(`<!--[-1-->${escape_html(toast.title)}`);\n }\n $$renderer2.push(`<!--]-->`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--></div> `);\n if (toast.description) {\n $$renderer2.push(`<!--[0--><div data-description=\"\"${attr_class(clsx(cn$1(descriptionClass, toastDescriptionClass(), classes()?.description, toast.classes?.description)))}>`);\n if (typeof toast.description !== \"string\") {\n $$renderer2.push(\"<!--[0-->\");\n const Description = toast.description;\n if (Description) {\n $$renderer2.push(\"<!--[-->\");\n Description($$renderer2, spread_props([toast.componentProps]));\n $$renderer2.push(\"<!--]-->\");\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(\"<!--]-->\");\n }\n } else {\n $$renderer2.push(`<!--[-1-->${escape_html(toast.description)}`);\n }\n $$renderer2.push(`<!--]--></div>`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--></div> `);\n if (toast.cancel) {\n $$renderer2.push(\"<!--[0-->\");\n if (typeof toast.cancel === \"function\") {\n $$renderer2.push(\"<!--[0-->\");\n if (toast.cancel) {\n $$renderer2.push(\"<!--[-->\");\n toast.cancel($$renderer2, {});\n $$renderer2.push(\"<!--]-->\");\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(\"<!--]-->\");\n }\n } else if (isAction(toast.cancel)) {\n $$renderer2.push(`<!--[1--><button data-button=\"\" data-cancel=\"\"${attr_style(toast.cancelButtonStyle ?? cancelButtonStyle)}${attr_class(clsx(cn$1(classes()?.cancelButton, toast?.classes?.cancelButton)))}>${escape_html(toast.cancel.label)}</button>`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]-->`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--> `);\n if (toast.action) {\n $$renderer2.push(\"<!--[0-->\");\n if (typeof toast.action === \"function\") {\n $$renderer2.push(\"<!--[0-->\");\n if (toast.action) {\n $$renderer2.push(\"<!--[-->\");\n toast.action($$renderer2, {});\n $$renderer2.push(\"<!--]-->\");\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(\"<!--]-->\");\n }\n } else if (isAction(toast.action)) {\n $$renderer2.push(`<!--[1--><button data-button=\"\"${attr_style(toast.actionButtonStyle ?? actionButtonStyle)}${attr_class(clsx(cn$1(classes()?.actionButton, toast?.classes?.actionButton)))}>${escape_html(toast.action.label)}</button>`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]-->`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]-->`);\n }\n $$renderer2.push(`<!--]--></li>`);\n });\n}\nfunction SuccessIcon($$renderer) {\n $$renderer.push(`<svg aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\" height=\"20\" width=\"20\" data-sonner-success-icon=\"\"><path fill-rule=\"evenodd\" d=\"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z\" clip-rule=\"evenodd\"></path></svg>`);\n}\nfunction ErrorIcon($$renderer) {\n $$renderer.push(`<svg aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\" height=\"20\" width=\"20\" data-sonner-error-icon=\"\"><path fill-rule=\"evenodd\" d=\"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z\" clip-rule=\"evenodd\"></path></svg>`);\n}\nfunction WarningIcon($$renderer) {\n $$renderer.push(`<svg aria-hidden=\"true\" viewBox=\"0 0 64 64\" fill=\"currentColor\" height=\"20\" width=\"20\" data-sonner-warning-icon=\"\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M32.427,7.987c2.183,0.124 4,1.165 5.096,3.281l17.936,36.208c1.739,3.66 -0.954,8.585 -5.373,8.656l-36.119,0c-4.022,-0.064 -7.322,-4.631 -5.352,-8.696l18.271,-36.207c0.342,-0.65 0.498,-0.838 0.793,-1.179c1.186,-1.375 2.483,-2.111 4.748,-2.063Zm-0.295,3.997c-0.687,0.034 -1.316,0.419 -1.659,1.017c-6.312,11.979 -12.397,24.081 -18.301,36.267c-0.546,1.225 0.391,2.797 1.762,2.863c12.06,0.195 24.125,0.195 36.185,0c1.325,-0.064 2.321,-1.584 1.769,-2.85c-5.793,-12.184 -11.765,-24.286 -17.966,-36.267c-0.366,-0.651 -0.903,-1.042 -1.79,-1.03Z\"></path><path d=\"M33.631,40.581l-3.348,0l-0.368,-16.449l4.1,0l-0.384,16.449Zm-3.828,5.03c0,-0.609 0.197,-1.113 0.592,-1.514c0.396,-0.4 0.935,-0.601 1.618,-0.601c0.684,0 1.223,0.201 1.618,0.601c0.395,0.401 0.593,0.905 0.593,1.514c0,0.587 -0.193,1.078 -0.577,1.473c-0.385,0.395 -0.929,0.593 -1.634,0.593c-0.705,0 -1.249,-0.198 -1.634,-0.593c-0.384,-0.395 -0.576,-0.886 -0.576,-1.473Z\"></path></svg>`);\n}\nfunction InfoIcon($$renderer) {\n $$renderer.push(`<svg aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\" height=\"20\" width=\"20\" data-sonner-info-icon=\"\"><path fill-rule=\"evenodd\" d=\"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z\" clip-rule=\"evenodd\"></path></svg>`);\n}\nfunction CloseIcon($$renderer) {\n $$renderer.push(`<svg aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"12\" height=\"12\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" data-sonner-close-icon=\"\"><line x1=\"18\" y1=\"6\" x2=\"6\" y2=\"18\"></line><line x1=\"6\" y1=\"6\" x2=\"18\" y2=\"18\"></line></svg>`);\n}\nconst VISIBLE_TOASTS_AMOUNT = 3;\nconst VIEWPORT_OFFSET = \"24px\";\nconst MOBILE_VIEWPORT_OFFSET = \"16px\";\nconst TOAST_LIFETIME = 4e3;\nconst TOAST_WIDTH = 356;\nconst GAP = 14;\nconst DARK = \"dark\";\nconst LIGHT = \"light\";\nfunction getOffsetObject(defaultOffset, mobileOffset) {\n const styles = {};\n [defaultOffset, mobileOffset].forEach((offset, index) => {\n const isMobile = index === 1;\n const prefix = isMobile ? \"--mobile-offset\" : \"--offset\";\n const defaultValue = isMobile ? MOBILE_VIEWPORT_OFFSET : VIEWPORT_OFFSET;\n function assignAll(offset2) {\n [\"top\", \"right\", \"bottom\", \"left\"].forEach((key) => {\n styles[`${prefix}-${key}`] = typeof offset2 === \"number\" ? `${offset2}px` : offset2;\n });\n }\n if (typeof offset === \"number\" || typeof offset === \"string\") {\n assignAll(offset);\n } else if (typeof offset === \"object\") {\n [\"top\", \"right\", \"bottom\", \"left\"].forEach((key) => {\n const value = offset[key];\n if (value === void 0) {\n styles[`${prefix}-${key}`] = defaultValue;\n } else {\n styles[`${prefix}-${key}`] = typeof value === \"number\" ? `${value}px` : value;\n }\n });\n } else {\n assignAll(defaultValue);\n }\n });\n return styles;\n}\nfunction Toaster($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n function getInitialTheme(t) {\n if (t !== \"system\") return t;\n if (typeof window !== \"undefined\") {\n if (window.matchMedia && window.matchMedia(\"(prefers-color-scheme: dark)\").matches) {\n return DARK;\n }\n return LIGHT;\n }\n return LIGHT;\n }\n let {\n id,\n invert = false,\n position = \"bottom-right\",\n hotkey = [\"altKey\", \"KeyT\"],\n expand = false,\n closeButton = false,\n offset = VIEWPORT_OFFSET,\n mobileOffset = MOBILE_VIEWPORT_OFFSET,\n theme = \"light\",\n richColors = false,\n duration = TOAST_LIFETIME,\n visibleToasts = VISIBLE_TOASTS_AMOUNT,\n toastOptions = {},\n dir = \"auto\",\n gap = GAP,\n swipeDirections,\n pauseWhenPageIsHidden = false,\n loadingIcon: loadingIconProp,\n successIcon: successIconProp,\n errorIcon: errorIconProp,\n warningIcon: warningIconProp,\n closeIcon: closeIconProp,\n infoIcon: infoIconProp,\n containerAriaLabel = \"Notifications\",\n class: className,\n closeButtonAriaLabel = \"Close toast\",\n onblur,\n onfocus,\n onmouseenter,\n onmousemove,\n onmouseleave,\n ondragend,\n onpointerdown,\n onpointerup,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n function getDocumentDirection() {\n if (dir !== \"auto\") return dir;\n if (typeof window === \"undefined\") return \"ltr\";\n if (typeof document === \"undefined\") return \"ltr\";\n const dirAttribute = document.documentElement.getAttribute(\"dir\");\n if (dirAttribute === \"auto\" || !dirAttribute) {\n run(() => dir = window.getComputedStyle(document.documentElement).direction ?? \"ltr\");\n return dir;\n }\n run(() => dir = dirAttribute);\n return dirAttribute;\n }\n const filteredToasts = derived(() => id ? toastState.toasts.filter((toast) => toast.toasterId === id) : toastState.toasts.filter((toast) => !toast.toasterId));\n const possiblePositions = derived(() => Array.from(new Set([\n position,\n ...filteredToasts().filter((toast) => toast.position).map((toast) => toast.position)\n ].filter(Boolean))));\n let expanded = false;\n let interacting = false;\n let actualTheme = getInitialTheme(theme);\n const hotkeyLabel = derived(() => hotkey.join(\"+\").replace(/Key/g, \"\").replace(/Digit/g, \"\"));\n sonnerContext.set(new SonnerState());\n $$renderer2.push(`<section${attr(\"aria-label\", `${stringify(containerAriaLabel)} ${stringify(hotkeyLabel())}`)}${attr(\"tabindex\", -1)} aria-live=\"polite\" aria-relevant=\"additions text\" aria-atomic=\"false\">`);\n if (filteredToasts().length > 0) {\n $$renderer2.push(`<!--[0--><!--[-->`);\n const each_array = ensure_array_like(possiblePositions());\n for (let index = 0, $$length = each_array.length; index < $$length; index++) {\n let position2 = each_array[index];\n const [y, x] = position2.split(\"-\");\n const offsetObject = getOffsetObject(offset, mobileOffset);\n const frontHeight = toastState.heights.find((height) => height.toasterId === id && height.position === position2)?.height ?? 0;\n $$renderer2.push(`<ol${attributes(\n {\n tabindex: -1,\n dir: getDocumentDirection(),\n class: clsx(className),\n \"data-sonner-toaster\": true,\n \"data-sonner-theme\": actualTheme,\n \"data-y-position\": y,\n \"data-x-position\": x,\n style: restProps.style,\n ...restProps\n },\n void 0,\n void 0,\n {\n \"--front-toast-height\": `${frontHeight}px`,\n \"--width\": `${TOAST_WIDTH}px`,\n \"--gap\": `${gap}px`,\n \"--offset-top\": offsetObject[\"--offset-top\"],\n \"--offset-right\": offsetObject[\"--offset-right\"],\n \"--offset-bottom\": offsetObject[\"--offset-bottom\"],\n \"--offset-left\": offsetObject[\"--offset-left\"],\n \"--mobile-offset-top\": offsetObject[\"--mobile-offset-top\"],\n \"--mobile-offset-right\": offsetObject[\"--mobile-offset-right\"],\n \"--mobile-offset-bottom\": offsetObject[\"--mobile-offset-bottom\"],\n \"--mobile-offset-left\": offsetObject[\"--mobile-offset-left\"]\n }\n )}><!--[-->`);\n const each_array_1 = ensure_array_like(filteredToasts().filter((toast) => !toast.position && index === 0 || toast.position === position2));\n for (let index2 = 0, $$length2 = each_array_1.length; index2 < $$length2; index2++) {\n let toast = each_array_1[index2];\n {\n let successIcon = function($$renderer3) {\n if (successIconProp) {\n $$renderer3.push(\"<!--[0-->\");\n successIconProp?.($$renderer3);\n $$renderer3.push(`<!---->`);\n } else if (successIconProp !== null) {\n $$renderer3.push(\"<!--[1-->\");\n SuccessIcon($$renderer3);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]-->`);\n }, errorIcon = function($$renderer3) {\n if (errorIconProp) {\n $$renderer3.push(\"<!--[0-->\");\n errorIconProp?.($$renderer3);\n $$renderer3.push(`<!---->`);\n } else if (errorIconProp !== null) {\n $$renderer3.push(\"<!--[1-->\");\n ErrorIcon($$renderer3);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]-->`);\n }, warningIcon = function($$renderer3) {\n if (warningIconProp) {\n $$renderer3.push(\"<!--[0-->\");\n warningIconProp?.($$renderer3);\n $$renderer3.push(`<!---->`);\n } else if (warningIconProp !== null) {\n $$renderer3.push(\"<!--[1-->\");\n WarningIcon($$renderer3);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]-->`);\n }, infoIcon = function($$renderer3) {\n if (infoIconProp) {\n $$renderer3.push(\"<!--[0-->\");\n infoIconProp?.($$renderer3);\n $$renderer3.push(`<!---->`);\n } else if (infoIconProp !== null) {\n $$renderer3.push(\"<!--[1-->\");\n InfoIcon($$renderer3);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]-->`);\n }, closeIcon = function($$renderer3) {\n if (closeIconProp) {\n $$renderer3.push(\"<!--[0-->\");\n closeIconProp?.($$renderer3);\n $$renderer3.push(`<!---->`);\n } else if (closeIconProp !== null) {\n $$renderer3.push(\"<!--[1-->\");\n CloseIcon($$renderer3);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]-->`);\n };\n Toast($$renderer2, {\n index: index2,\n toast,\n defaultRichColors: richColors,\n duration: toastOptions?.duration ?? duration,\n class: toastOptions?.class ?? \"\",\n descriptionClass: toastOptions?.descriptionClass || \"\",\n invert,\n visibleToasts,\n closeButton: toastOptions?.closeButton ?? closeButton,\n interacting,\n position: position2,\n gap,\n style: toastOptions?.style ?? \"\",\n classes: toastOptions.classes || {},\n unstyled: toastOptions.unstyled ?? false,\n cancelButtonStyle: toastOptions?.cancelButtonStyle ?? \"\",\n actionButtonStyle: toastOptions?.actionButtonStyle ?? \"\",\n closeButtonAriaLabel: toastOptions?.closeButtonAriaLabel ?? closeButtonAriaLabel,\n expandByDefault: expand,\n expanded,\n swipeDirections,\n pauseWhenPageIsHidden,\n loadingIcon: loadingIconProp,\n successIcon,\n errorIcon,\n warningIcon,\n infoIcon,\n closeIcon,\n $$slots: {\n successIcon: true,\n errorIcon: true,\n warningIcon: true,\n infoIcon: true,\n closeIcon: true\n }\n });\n }\n }\n $$renderer2.push(`<!--]--></ol>`);\n }\n $$renderer2.push(`<!--]-->`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--></section>`);\n });\n}\nfunction SubagentRow($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { agent, href, active } = $$props;\n const running = derived(() => agent.state === \"running\");\n const status = derived(() => {\n if (running()) {\n const elapsed = formatElapsed((clock.now - agent.started_at) / 1e3);\n return [\"running\", elapsed, agent.current_tool].filter(Boolean).join(\" · \");\n }\n const ago = formatAgo(agent.ended_at, clock.now);\n return `${agent.state} ${ago === \"now\" ? \"just now\" : `${ago} ago`}`;\n });\n const title = derived(() => agent.description || agentTypeLabel(agent.type));\n $$renderer2.push(`<a${attr(\"href\", href)}${attr_class(\"agent svelte-ktcgml\", void 0, {\n \"cur\": active,\n \"done\": agent.state === \"done\",\n \"failed\": agent.state === \"failed\"\n })}${attr(\"title\", title())}><span class=\"glyph svelte-ktcgml\" aria-hidden=\"true\">`);\n if (agent.state === \"done\") {\n $$renderer2.push(`<!--[0--><svg viewBox=\"0 0 24 24\" class=\"svelte-ktcgml\"><path d=\"M5 12l5 5L20 7\"></path></svg>`);\n } else {\n $$renderer2.push(`<!--[-1--><svg viewBox=\"0 0 24 24\" class=\"svelte-ktcgml\"><path d=\"M12 3l9 9-9 9-9-9z\"></path></svg>`);\n }\n $$renderer2.push(`<!--]--></span> <span class=\"desc svelte-ktcgml\">${escape_html(title())}</span> <span class=\"type svelte-ktcgml\">${escape_html(agentTypeLabel(agent.type))}</span> <span class=\"status svelte-ktcgml\">${escape_html(status())}</span></a>`);\n });\n}\nfunction MachineFilter($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n live,\n wants\n /** Live sessions on a machine. */\n /** Whether a session on a machine wants a person. */\n } = $$props;\n let open = false;\n const chosen = derived(() => fleetStore.visible.length === 1 ? fleetStore.visible[0] : null);\n const label = derived(() => fleetStore.fleet ? chosen() ? machineName(chosen()) : \"Fleet\" : fleetStore.machines[0]?.server.hostname || \"claude-mux\");\n const wantsElsewhere = derived(() => fleetStore.selected !== \"all\" && fleetStore.machines.some((m) => m.server.id !== fleetStore.selected && wants(m)));\n const drifting = derived(() => fleetStore.machines.filter(versionDrifts).length);\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Popover) {\n $$renderer3.push(\"<!--[-->\");\n Popover($$renderer3, {\n get open() {\n return open;\n },\n set open($$value) {\n open = $$value;\n $$settled = false;\n },\n children: ($$renderer4) => {\n if (Popover_trigger) {\n $$renderer4.push(\"<!--[-->\");\n Popover_trigger($$renderer4, {\n class: \"machine-filter-trigger\",\n \"aria-label\": \"Filter by machine\",\n children: ($$renderer5) => {\n $$renderer5.push(`<span${attr_class(\"dot svelte-5wr9rz\", void 0, {\n \"off\": chosen() ? !chosen().online : false,\n \"all\": !chosen() && fleetStore.fleet\n })}></span> <span class=\"hostname\">${escape_html(label())}</span> `);\n if (wantsElsewhere()) {\n $$renderer5.push(`<!--[0--><span class=\"elsewhere svelte-5wr9rz\" title=\"A machine not shown wants you\"></span>`);\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--> <iconify-icon icon=\"mdi:chevron-down\" class=\"chev\"></iconify-icon>`);\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n $$renderer4.push(` `);\n if (Popover_content) {\n $$renderer4.push(\"<!--[-->\");\n Popover_content($$renderer4, {\n class: \"machine-filter\",\n align: \"start\",\n sideOffset: 6,\n children: ($$renderer5) => {\n $$renderer5.push(`<button type=\"button\"${attr_class(\"row svelte-5wr9rz\", void 0, { \"on\": fleetStore.selected === \"all\" })}><iconify-icon icon=\"mdi:monitor-multiple\" class=\"lead svelte-5wr9rz\"></iconify-icon> <span class=\"name svelte-5wr9rz\">All machines</span> `);\n if (fleetStore.selected === \"all\") {\n $$renderer5.push(`<!--[0--><iconify-icon icon=\"mdi:check\" class=\"check svelte-5wr9rz\"></iconify-icon>`);\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--></button> <div class=\"rule svelte-5wr9rz\"></div> <!--[-->`);\n const each_array = ensure_array_like(fleetStore.machines);\n for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n let machine = each_array[$$index];\n const reason = offlineReason(machine, clock.now);\n const on = fleetStore.selected === machine.server.id;\n const n2 = live(machine);\n $$renderer5.push(`<button type=\"button\"${attr_class(\"row svelte-5wr9rz\", void 0, { \"on\": on })}${attr(\"disabled\", !machine.server.id, true)}${attr(\"title\", reason ?? void 0)}><span${attr_class(\"dot lead svelte-5wr9rz\", void 0, { \"off\": !machine.online })}></span> <span class=\"name svelte-5wr9rz\">${escape_html(machineName(machine))} `);\n if (reason) {\n $$renderer5.push(`<!--[0--><span class=\"sub svelte-5wr9rz\">${escape_html(offlineLabel(machine, clock.now))}</span>`);\n } else if (versionDrifts(machine)) {\n $$renderer5.push(`<!--[1--><span class=\"sub svelte-5wr9rz\">${escape_html(machine.version ?? \"older\")}, update</span>`);\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--></span> `);\n if (wants(machine)) {\n $$renderer5.push(`<!--[0--><span class=\"pill svelte-5wr9rz\">wants you</span>`);\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--> `);\n if (n2 > 0) {\n $$renderer5.push(`<!--[0--><span class=\"n svelte-5wr9rz\">${escape_html(n2)}</span>`);\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--> `);\n if (on) {\n $$renderer5.push(`<!--[0--><iconify-icon icon=\"mdi:check\" class=\"check svelte-5wr9rz\"></iconify-icon>`);\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--></button>`);\n }\n $$renderer5.push(`<!--]--> <div class=\"rule svelte-5wr9rz\"></div> <a class=\"row svelte-5wr9rz\" href=\"/machines\"><iconify-icon icon=\"mdi:server-network\" class=\"lead svelte-5wr9rz\"></iconify-icon> <span class=\"name svelte-5wr9rz\">Machines and updates</span> `);\n if (drifting() > 0) {\n $$renderer5.push(`<!--[0--><span class=\"n svelte-5wr9rz\" title=\"Machines on another version than this page\">${escape_html(drifting())} differ</span>`);\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--></a>`);\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n });\n}\nfunction isRepo(project) {\n return project.startsWith(\"git:\");\n}\nfunction folderMarker(machineId, open) {\n const folders = open.filter((f) => f.root !== NO_FOLDER);\n const mine = folders.filter((f) => f.machineId === machineId);\n const byRoot = new Map(mine.map((f) => [f.root, f]));\n const others = /* @__PURE__ */ new Map();\n for (const f of folders) {\n if (f.machineId !== machineId) others.set(f.project, [...others.get(f.project) ?? [], f]);\n }\n const byHome = /* @__PURE__ */ new Map();\n const claim = (key, project) => byHome.set(key, (byHome.get(key) ?? /* @__PURE__ */ new Set()).add(project));\n for (const [, list] of others) {\n for (const f of list) {\n const home = guessReport(f.root).home;\n if (home) claim(home, f.project);\n if (isRepo(f.project)) claim(f.name, f.project);\n }\n }\n return (path) => {\n const here = byRoot.get(path) ?? null;\n const home = guessReport(path).home;\n const guessed = home && !(here && isRepo(here.project)) ? byHome.get(home) : void 0;\n const projects = /* @__PURE__ */ new Set([here?.project, guessed?.size === 1 ? [...guessed][0] : void 0]);\n const elsewhere = [...projects].flatMap((p2) => p2 ? others.get(p2) ?? [] : []).sort((a, b) => Number(b.live > 0) - Number(a.live > 0));\n const prefix = path === \"/\" ? \"/\" : `${path}/`;\n const below = mine.filter((f) => f.root.startsWith(prefix)).length;\n return { here, elsewhere, below };\n };\n}\nfunction openOn(machineId, open) {\n const rank = (f) => f.wants ? 0 : f.live > 0 ? 1 : 2;\n return open.filter((f) => f.machineId === machineId && f.root !== NO_FOLDER).sort((a, b) => rank(a) - rank(b) || a.root.localeCompare(b.root));\n}\nfunction carryPath(path, home) {\n if (!home || home === \"/\") return path;\n if (path === home) return \"~\";\n return path.startsWith(`${home}/`) ? `~${path.slice(home.length)}` : path;\n}\nfunction Scroll_area_scrollbar($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n orientation = \"vertical\",\n children,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Scroll_area_scrollbar$1) {\n $$renderer3.push(\"<!--[-->\");\n Scroll_area_scrollbar$1($$renderer3, spread_props([\n {\n \"data-slot\": \"scroll-area-scrollbar\",\n orientation,\n class: cn(\"flex touch-none p-px transition-colors select-none\", orientation === \"vertical\" && \"h-full w-2.5 border-s border-s-transparent\", orientation === \"horizontal\" && \"h-2.5 flex-col border-t border-t-transparent\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n },\n children: ($$renderer4) => {\n children?.($$renderer4);\n $$renderer4.push(`<!----> `);\n if (Scroll_area_thumb) {\n $$renderer4.push(\"<!--[-->\");\n Scroll_area_thumb($$renderer4, {\n \"data-slot\": \"scroll-area-thumb\",\n class: \"bg-border relative flex-1 rounded-full\"\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Scroll_area($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n viewportRef = null,\n class: className,\n orientation = \"vertical\",\n scrollbarXClasses = \"\",\n scrollbarYClasses = \"\",\n children,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Scroll_area$1) {\n $$renderer3.push(\"<!--[-->\");\n Scroll_area$1($$renderer3, spread_props([\n { \"data-slot\": \"scroll-area\", class: cn(\"relative\", className) },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n },\n children: ($$renderer4) => {\n if (Scroll_area_viewport) {\n $$renderer4.push(\"<!--[-->\");\n Scroll_area_viewport($$renderer4, {\n \"data-slot\": \"scroll-area-viewport\",\n class: \"ring-ring/10 dark:ring-ring/20 dark:outline-ring/40 outline-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] focus-visible:ring-4 focus-visible:outline-1\",\n get ref() {\n return viewportRef;\n },\n set ref($$value) {\n viewportRef = $$value;\n $$settled = false;\n },\n children: ($$renderer5) => {\n children?.($$renderer5);\n $$renderer5.push(`<!---->`);\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n $$renderer4.push(` `);\n if (orientation === \"vertical\" || orientation === \"both\") {\n $$renderer4.push(\"<!--[0-->\");\n Scroll_area_scrollbar($$renderer4, { orientation: \"vertical\", class: scrollbarYClasses });\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--> `);\n if (orientation === \"horizontal\" || orientation === \"both\") {\n $$renderer4.push(\"<!--[0-->\");\n Scroll_area_scrollbar($$renderer4, { orientation: \"horizontal\", class: scrollbarXClasses });\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--> `);\n if (Scroll_area_corner) {\n $$renderer4.push(\"<!--[-->\");\n Scroll_area_corner($$renderer4, {});\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref, viewportRef });\n });\n}\nfunction Tabs_trigger($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Tabs_trigger$1) {\n $$renderer3.push(\"<!--[-->\");\n Tabs_trigger$1($$renderer3, spread_props([\n {\n \"data-slot\": \"tabs-trigger\",\n class: cn(\"gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg:not([class*='size-'])]:size-4 has-data-[icon=inline-end]:pr-1 has-data-[icon=inline-start]:pl-1 relative inline-flex h-[calc(100%_-_1px)] flex-1 items-center justify-center whitespace-nowrap text-foreground/60 transition-all group-data-vertical/tabs:w-full group-data-vertical/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 dark:text-muted-foreground dark:hover:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0\", \"group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent\", \"data-active:bg-background data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 dark:data-active:text-foreground\", \"after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-horizontal/tabs:after:inset-x-0 group-data-horizontal/tabs:after:bottom-[-5px] group-data-horizontal/tabs:after:h-0.5 group-data-vertical/tabs:after:inset-y-0 group-data-vertical/tabs:after:-right-1 group-data-vertical/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Tabs($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n value = \"\",\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Tabs$1) {\n $$renderer3.push(\"<!--[-->\");\n Tabs$1($$renderer3, spread_props([\n {\n \"data-slot\": \"tabs\",\n class: cn(\"gap-2 group/tabs flex data-horizontal:flex-col\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n },\n get value() {\n return value;\n },\n set value($$value) {\n value = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref, value });\n });\n}\nfunction Avatar_fallback($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Avatar_fallback$1) {\n $$renderer3.push(\"<!--[-->\");\n Avatar_fallback$1($$renderer3, spread_props([\n {\n \"data-slot\": \"avatar-fallback\",\n class: cn(\"bg-muted text-muted-foreground rounded-full flex size-full items-center justify-center text-sm group-data-[size=sm]/avatar:text-xs\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Avatar_image($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Avatar_image$1) {\n $$renderer3.push(\"<!--[-->\");\n Avatar_image$1($$renderer3, spread_props([\n {\n \"data-slot\": \"avatar-image\",\n class: cn(\"rounded-full aspect-square size-full object-cover\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Avatar($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n loadingStatus = \"loading\",\n size = \"default\",\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Avatar$1) {\n $$renderer3.push(\"<!--[-->\");\n Avatar$1($$renderer3, spread_props([\n {\n \"data-slot\": \"avatar\",\n \"data-size\": size,\n class: cn(\"size-8 rounded-full after:rounded-full data-[size=lg]:size-10 data-[size=sm]:size-6 group/avatar relative flex shrink-0 select-none after:absolute after:inset-0 after:border after:border-border after:mix-blend-darken dark:after:mix-blend-lighten\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n },\n get loadingStatus() {\n return loadingStatus;\n },\n set loadingStatus($$value) {\n loadingStatus = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref, loadingStatus });\n });\n}\nfunction ProjectTile($$renderer, $$props) {\n let {\n initials,\n hue,\n icon,\n size = 20\n /** The icon's URL; null draws the initials. */\n } = $$props;\n if (Avatar) {\n $$renderer.push(\"<!--[-->\");\n Avatar($$renderer, {\n class: \"ptile\",\n style: `--h:${stringify(hue)}; --s:${stringify(size)}px`,\n children: ($$renderer2) => {\n if (icon) {\n $$renderer2.push(\"<!--[0-->\");\n if (Avatar_image) {\n $$renderer2.push(\"<!--[-->\");\n Avatar_image($$renderer2, { src: icon, alt: \"\", class: \"ptile-img\", draggable: \"false\" });\n $$renderer2.push(\"<!--]-->\");\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(\"<!--]-->\");\n }\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--> `);\n if (Avatar_fallback) {\n $$renderer2.push(\"<!--[-->\");\n Avatar_fallback($$renderer2, {\n class: \"ptile-init\",\n children: ($$renderer3) => {\n $$renderer3.push(`<!---->${escape_html(initials)}`);\n },\n $$slots: { default: true }\n });\n $$renderer2.push(\"<!--]-->\");\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer.push(\"<!--]-->\");\n } else {\n $$renderer.push(\"<!--[!-->\");\n $$renderer.push(\"<!--]-->\");\n }\n}\nfunction FolderPicker($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n open = void 0,\n machines,\n folders: openFolders,\n markOf,\n onpick,\n ongoto\n } = $$props;\n let tab = \"\";\n let chosen = null;\n const machine = derived(() => machines.find((m) => machineKey(m) === tab) ?? chosen);\n const base = derived(() => machine() ? apiBase(machine()) : \"\");\n let path = \"\";\n let home = \"\";\n let folders = [];\n let showHidden = false;\n let error = \"\";\n let query = \"\";\n let active = 0;\n let gitInit = false;\n let creating = false;\n const newName = derived(() => {\n const name = query.trim();\n if (folderNameProblem(name) || folders.some((f) => f.name === name)) return null;\n return name;\n });\n const matches = derived(() => {\n const q = query.trim();\n return folders.flatMap((folder) => {\n const m = fuzzyMatch(folder.name, q);\n if (!m) return [];\n return [\n {\n folder,\n score: m.score,\n runs: q ? highlightRuns(folder.name, m.positions) : null\n }\n ];\n }).sort((a, b) => b.score - a.score);\n });\n const crumbs = derived(() => {\n if (!path) return [];\n const usesHome = home !== \"\" && `${path}/`.startsWith(`${home}/`);\n const parts = (usesHome ? path.slice(home.length) : path).split(\"/\").filter(Boolean);\n const list = usesHome ? [{ label: \"~\", path: home }] : [{ label: \"/\", path: \"/\" }];\n let acc = usesHome ? home : \"\";\n for (const part of parts) {\n acc = `${acc}/${part}`;\n list.push({ label: part, path: acc });\n }\n return list;\n });\n const mark = derived(() => folderMarker(tab, openFolders));\n const openHere = derived(() => openOn(tab, openFolders));\n async function openAt(start, on) {\n const usable = blockedReason(on, clock.now) ? machines[0] ?? on : on;\n tab = machineKey(usable);\n chosen = usable;\n open = true;\n await browseTo(start);\n if (!window.matchMedia?.(\"(pointer: coarse)\").matches) ;\n }\n async function switchTo(id) {\n const next = machines.find((m) => machineKey(m) === id);\n if (!next || id === tab || blockedReason(next, clock.now)) return;\n const carried = carryPath(path, home);\n const [was, wasChosen] = [tab, chosen];\n tab = id;\n chosen = next;\n let shown = await browseTo(carried, true);\n if (shown === false && carried !== \"~\") shown = await browseTo(\"~\", true);\n if (shown === false) [tab, chosen] = [was, wasChosen];\n }\n let browsing = 0;\n async function browseTo(to, keepQuery = false) {\n const ask = ++browsing;\n error = \"\";\n const data = await fetch(`${base()}/api/browse?path=${encodeURIComponent(to)}&showHidden=${showHidden}`).then((res) => res.json()).catch(() => ({ error: \"Could not reach the machine\" }));\n if (ask !== browsing) return null;\n if (data.error) {\n error = data.error;\n return false;\n }\n path = data.current;\n home = data.home;\n data.parent;\n folders = data.folders;\n if (!keepQuery) query = \"\";\n await tick();\n return true;\n }\n function pickCurrent() {\n if (!machine()) return;\n open = false;\n onpick(machine(), path);\n }\n function goto2($$renderer3, folder) {\n $$renderer3.push(`<button class=\"fb-goto svelte-57drpi\"${attr(\"title\", folder.only ? \"Open its session\" : \"Open the project\")}>Go to</button>`);\n }\n function marks($$renderer3, m) {\n $$renderer3.push(`<span class=\"fb-marks svelte-57drpi\">`);\n if (m.here?.state) {\n $$renderer3.push(`<!--[0--><span${attr_class(\"fb-live svelte-57drpi\", void 0, { \"wants\": m.here.wants })}>`);\n SessionStateIndicator($$renderer3, { state: m.here.state, size: \"sm\" });\n $$renderer3.push(`<!----> ${escape_html(m.here.live)} session${escape_html(m.here.live === 1 ? \"\" : \"s\")}</span>`);\n } else if (m.here) {\n $$renderer3.push(`<!--[1--><span class=\"fb-rail svelte-57drpi\"${attr(\"title\", `${stringify(m.here.name)} is on the rail`)}>`);\n ProjectTile($$renderer3, {\n initials: m.here.tile.initials,\n hue: m.here.tile.hue,\n icon: m.here.tile.icon,\n size: 14\n });\n $$renderer3.push(`<!----></span>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--> <!--[-->`);\n const each_array = ensure_array_like(m.elsewhere);\n for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n let other = each_array[$$index];\n const letter = markOf(other.machineId);\n $$renderer3.push(`<span${attr_class(\"fb-mach svelte-57drpi\", void 0, { \"quiet\": other.live === 0 })}${attr_style(`--m:${stringify(letter?.color ?? \"#a8a29e\")}`)}${attr(\"title\", other.live > 0 ? `Open on ${machineName(other.machine)}: ${other.live} session${other.live === 1 ? \"\" : \"s\"}` : `On the rail on ${machineName(other.machine)}`)}>${escape_html(letter?.letter ?? \"?\")}</span>`);\n }\n $$renderer3.push(`<!--]--> `);\n if (m.below > 0) {\n $$renderer3.push(`<!--[0--><span class=\"fb-below svelte-57drpi\"${attr(\"title\", `${stringify(m.below)} open folder${m.below === 1 ? \"\" : \"s\"} below`)}>${escape_html(m.below)} open</span>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--></span>`);\n }\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Dialog) {\n $$renderer3.push(\"<!--[-->\");\n Dialog($$renderer3, {\n get open() {\n return open;\n },\n set open($$value) {\n open = $$value;\n $$settled = false;\n },\n children: ($$renderer4) => {\n if (Dialog_content) {\n $$renderer4.push(\"<!--[-->\");\n Dialog_content($$renderer4, {\n class: \"w-[calc(100%-1.5rem)] max-w-lg grid-cols-[minmax(0,1fr)] gap-0 overflow-hidden border-[#333] bg-[#161616] p-0 sm:max-w-lg\",\n style: \"--fb-accent: #e8b35c;\",\n showCloseButton: false,\n onOpenAutoFocus: (e) => {\n e.preventDefault();\n },\n children: ($$renderer5) => {\n if (Dialog_title) {\n $$renderer5.push(\"<!--[-->\");\n Dialog_title($$renderer5, {\n class: \"px-4 pt-3 pb-2.5 font-mono text-[11px] font-medium tracking-[0.14em] text-[#6f6f6f] uppercase\",\n children: ($$renderer6) => {\n $$renderer6.push(`<!---->open project`);\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n $$renderer5.push(` `);\n if (Dialog_description) {\n $$renderer5.push(\"<!--[-->\");\n Dialog_description($$renderer5, {\n class: \"sr-only\",\n children: ($$renderer6) => {\n $$renderer6.push(`<!---->Browse to a folder and start a session in it. Type to filter this folder.`);\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n $$renderer5.push(` `);\n if (machines.length > 1) {\n $$renderer5.push(\"<!--[0-->\");\n if (Tabs) {\n $$renderer5.push(\"<!--[-->\");\n Tabs($$renderer5, {\n value: tab,\n onValueChange: (id) => void switchTo(id),\n class: \"fb-tabs\",\n children: ($$renderer6) => {\n if (Tabs_list) {\n $$renderer6.push(\"<!--[-->\");\n Tabs_list($$renderer6, {\n class: \"fb-tablist\",\n \"aria-label\": \"Machine\",\n children: ($$renderer7) => {\n $$renderer7.push(`<!--[-->`);\n const each_array_1 = ensure_array_like(machines);\n for (let $$index_1 = 0, $$length = each_array_1.length; $$index_1 < $$length; $$index_1++) {\n let m = each_array_1[$$index_1];\n const why = blockedReason(m, clock.now);\n const letter = markOf(machineKey(m));\n if (Tabs_trigger) {\n $$renderer7.push(\"<!--[-->\");\n Tabs_trigger($$renderer7, {\n value: machineKey(m),\n disabled: !!why,\n title: why ?? `Browse ${machineName(m)}`,\n class: \"fb-tab\",\n children: ($$renderer8) => {\n if (letter) {\n $$renderer8.push(`<!--[0--><span class=\"fb-mach svelte-57drpi\"${attr_style(`--m:${stringify(letter.color)}`)}>${escape_html(letter.letter)}</span>`);\n } else {\n $$renderer8.push(\"<!--[-1-->\");\n }\n $$renderer8.push(`<!--]--> <span>${escape_html(machineName(m))}</span> `);\n if (why) {\n $$renderer8.push(`<!--[0--><span class=\"fb-tabwhy svelte-57drpi\">${escape_html(m.online ? \"too old\" : offlineLabel(m, clock.now))}</span>`);\n } else {\n $$renderer8.push(\"<!--[-1-->\");\n }\n $$renderer8.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n $$renderer7.push(\"<!--]-->\");\n } else {\n $$renderer7.push(\"<!--[!-->\");\n $$renderer7.push(\"<!--]-->\");\n }\n }\n $$renderer7.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n $$renderer6.push(\"<!--]-->\");\n } else {\n $$renderer6.push(\"<!--[!-->\");\n $$renderer6.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--> <nav class=\"fb-crumbs svelte-57drpi\" aria-label=\"Current path\"><!--[-->`);\n const each_array_2 = ensure_array_like(crumbs());\n for (let i = 0, $$length = each_array_2.length; i < $$length; i++) {\n let crumb = each_array_2[i];\n const here = i === crumbs().length - 1;\n if (i > 0) {\n $$renderer5.push(`<!--[0--><span class=\"fb-sep svelte-57drpi\" aria-hidden=\"true\">/</span>`);\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--> <button${attr_class(\"fb-crumb svelte-57drpi\", void 0, { \"here\": here })}${attr(\"aria-current\", here ? \"location\" : void 0)}>${escape_html(crumb.label)}</button>`);\n }\n $$renderer5.push(`<!--]--></nav> <div class=\"fb-prompt svelte-57drpi\"><span class=\"fb-caret svelte-57drpi\" aria-hidden=\"true\">❯</span> <input${attr(\"value\", query)} type=\"text\" placeholder=\"type to filter\" aria-label=\"Filter folders in this directory\" autocomplete=\"off\" autocapitalize=\"off\" spellcheck=\"false\" enterkeyhint=\"go\" class=\"svelte-57drpi\"/> <span class=\"fb-count svelte-57drpi\">${escape_html(query ? `${matches().length}/${folders.length}` : folders.length)}</span></div> `);\n if (error) {\n $$renderer5.push(`<!--[0--><p class=\"fb-error svelte-57drpi\">${escape_html(error)}</p>`);\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--> `);\n Scroll_area($$renderer5, {\n class: \"max-h-80 min-h-24 border-y border-[#333]\",\n children: ($$renderer6) => {\n if (!query && openHere().length > 0) {\n $$renderer6.push(`<!--[0--><section class=\"fb-open\" aria-label=\"Open on this machine\"><h3 class=\"fb-head svelte-57drpi\">Open on this machine</h3> <!--[-->`);\n const each_array_3 = ensure_array_like(openHere());\n for (let $$index_3 = 0, $$length = each_array_3.length; $$index_3 < $$length; $$index_3++) {\n let folder = each_array_3[$$index_3];\n $$renderer6.push(`<div class=\"fb-item svelte-57drpi\"><button class=\"fb-main svelte-57drpi\"${attr(\"title\", folder.root)}><span class=\"fb-name svelte-57drpi\">${escape_html(carryPath(folder.root, home))}</span> `);\n marks($$renderer6, { ...mark()(folder.root), below: 0 });\n $$renderer6.push(`<!----></button> `);\n goto2($$renderer6, folder);\n $$renderer6.push(`<!----></div>`);\n }\n $$renderer6.push(`<!--]--> <h3 class=\"fb-head svelte-57drpi\">In ${escape_html(carryPath(path, home))}</h3></section>`);\n } else {\n $$renderer6.push(\"<!--[-1-->\");\n }\n $$renderer6.push(`<!--]--> <div><!--[-->`);\n const each_array_4 = ensure_array_like(matches());\n for (let i = 0, $$length = each_array_4.length; i < $$length; i++) {\n let match = each_array_4[i];\n const m = mark()(match.folder.path);\n $$renderer6.push(`<div${attr_class(\"fb-item svelte-57drpi\", void 0, { \"active\": i === active })} role=\"presentation\"><button class=\"fb-main svelte-57drpi\"><span class=\"fb-name svelte-57drpi\">`);\n if (match.runs) {\n $$renderer6.push(`<!--[0--><!--[-->`);\n const each_array_5 = ensure_array_like(match.runs);\n for (let $$index_4 = 0, $$length2 = each_array_5.length; $$index_4 < $$length2; $$index_4++) {\n let run2 = each_array_5[$$index_4];\n if (run2.hit) {\n $$renderer6.push(`<!--[0--><mark class=\"svelte-57drpi\">${escape_html(run2.text)}</mark>`);\n } else {\n $$renderer6.push(`<!--[-1-->${escape_html(run2.text)}`);\n }\n $$renderer6.push(`<!--]-->`);\n }\n $$renderer6.push(`<!--]-->`);\n } else {\n $$renderer6.push(`<!--[-1-->${escape_html(match.folder.name)}`);\n }\n $$renderer6.push(`<!--]--></span> `);\n marks($$renderer6, m);\n $$renderer6.push(`<!----> `);\n if (match.folder.git) {\n $$renderer6.push(`<!--[0--><span class=\"fb-tag svelte-57drpi\">git</span>`);\n } else {\n $$renderer6.push(\"<!--[-1-->\");\n }\n $$renderer6.push(`<!--]--></button> `);\n if (m.here) {\n $$renderer6.push(\"<!--[0-->\");\n goto2($$renderer6, m.here);\n } else {\n $$renderer6.push(\"<!--[-1-->\");\n }\n $$renderer6.push(`<!--]--></div>`);\n }\n $$renderer6.push(`<!--]--> `);\n if (newName()) {\n $$renderer6.push(`<!--[0--><div${attr_class(\"fb-item fb-create svelte-57drpi\", void 0, { \"active\": active === matches().length })} role=\"presentation\"><button class=\"fb-main svelte-57drpi\"${attr(\"disabled\", creating, true)}><iconify-icon icon=\"mdi:folder-plus-outline\" aria-hidden=\"true\"></iconify-icon> <span class=\"fb-name svelte-57drpi\">${escape_html(\"Create folder\")} <q class=\"svelte-57drpi\">${escape_html(newName())}</q></span> `);\n if (gitInit) {\n $$renderer6.push(`<!--[0--><span class=\"fb-tag svelte-57drpi\">git</span>`);\n } else {\n $$renderer6.push(\"<!--[-1-->\");\n }\n $$renderer6.push(`<!--]--></button></div>`);\n } else if (matches().length === 0) {\n $$renderer6.push(`<!--[1--><p class=\"fb-empty svelte-57drpi\">`);\n if (query) {\n $$renderer6.push(`<!--[0-->No folder here matches <span class=\"fb-empty-q svelte-57drpi\">${escape_html(query)}</span>. Backspace to clear.`);\n } else {\n $$renderer6.push(`<!--[-1-->No folders here. Open this one, go up a level, or type a name to make one.`);\n }\n $$renderer6.push(`<!--]--></p>`);\n } else {\n $$renderer6.push(\"<!--[-1-->\");\n }\n $$renderer6.push(`<!--]--></div>`);\n },\n $$slots: { default: true }\n });\n $$renderer5.push(`<!----> <div class=\"fb-keys svelte-57drpi\"><span class=\"fb-hints svelte-57drpi\">↑↓ move · ⏎ enter folder · ⌫ go up · ⌘⏎ open here</span> <div class=\"fb-hidden svelte-57drpi\">`);\n Checkbox($$renderer5, {\n id: \"fb-show-hidden\",\n checked: showHidden,\n onCheckedChange: (v) => {\n showHidden = !!v;\n browseTo(path, true);\n }\n });\n $$renderer5.push(`<!----> <label for=\"fb-show-hidden\" class=\"svelte-57drpi\">hidden</label></div> `);\n if (newName()) {\n $$renderer5.push(`<!--[0--><div class=\"fb-hidden svelte-57drpi\">`);\n Checkbox($$renderer5, {\n id: \"fb-git-init\",\n checked: gitInit,\n onCheckedChange: (v) => gitInit = !!v\n });\n $$renderer5.push(`<!----> <label for=\"fb-git-init\" class=\"svelte-57drpi\">git init</label></div>`);\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--></div> <div class=\"fb-footer svelte-57drpi\">`);\n Button($$renderer5, {\n variant: \"ghost\",\n size: \"sm\",\n onclick: () => open = false,\n children: ($$renderer6) => {\n $$renderer6.push(`<!---->Cancel`);\n },\n $$slots: { default: true }\n });\n $$renderer5.push(`<!----> `);\n Button($$renderer5, {\n size: \"sm\",\n onclick: pickCurrent,\n children: ($$renderer6) => {\n $$renderer6.push(`<!---->Open here`);\n },\n $$slots: { default: true }\n });\n $$renderer5.push(`<!----></div>`);\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { open, openAt });\n });\n}\nfunction NeedsYou($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { machines, fleet = false } = $$props;\n const waiting = derived(() => {\n const out = [];\n for (const machine of machines) {\n const host = machine.server.hostname;\n for (const s of machine.sessions) {\n if (s.pane_alive === false) continue;\n if (s.state !== \"waiting\" && s.state !== \"permission\") continue;\n out.push({\n kind: \"session\",\n key: `${host}/s/${s.id}`,\n machine,\n session: s,\n since: s.last_update\n });\n }\n for (const t of machine.inbox) {\n if (t.kind !== \"needs-help\") continue;\n const session = machine.sessions.find((s) => s.pane_alive !== false && s.maestro_issue === t.number && s.git_root === t.git_root) ?? null;\n if (session && (session.state === \"waiting\" || session.state === \"permission\")) continue;\n out.push({\n kind: \"help\",\n key: `${host}/h/${t.repo}#${t.number}`,\n machine,\n ticket: t,\n session,\n since: t.since\n });\n }\n }\n return out.sort((a, b) => a.since - b.since);\n });\n const ready = derived(() => {\n const out = [];\n for (const machine of machines) {\n for (const t of machine.inbox) {\n if (t.kind === \"needs-help\") continue;\n out.push({\n key: `${machine.server.hostname}/t/${t.repo}#${t.number}`,\n machine,\n ticket: t\n });\n }\n }\n return out.sort((a, b) => a.ticket.since - b.ticket.since);\n });\n const FOLD_KEY = \"claude-mux:needs-you-collapsed\";\n function readFold() {\n try {\n const raw = localStorage.getItem(FOLD_KEY);\n return raw === null ? null : new Set(JSON.parse(raw));\n } catch {\n return null;\n }\n }\n let foldedWith = readFold();\n const allKeys = derived(() => [...waiting().map((w) => w.key), ...ready().map((r) => r.key)]);\n const arrived = derived(() => foldedWith ? allKeys().filter((k2) => !foldedWith.has(k2)).length : 0);\n function setOpen(open) {\n foldedWith = open ? null : new Set(allKeys());\n try {\n if (open) localStorage.removeItem(FOLD_KEY);\n else localStorage.setItem(FOLD_KEY, JSON.stringify(allKeys()));\n } catch {\n }\n }\n const READY_SHOWN = 3;\n const readyShown = derived(() => ready().slice(0, READY_SHOWN));\n const multiHost = derived(() => fleet);\n function repoName(t) {\n return t.repo.split(\"/\").pop() ?? t.repo;\n }\n const KIND_ICON = {\n \"needs-help\": \"mdi:hand-back-right-outline\",\n grilling: \"mdi:signpost-outline\",\n prototype: \"mdi:shape-outline\"\n };\n if (waiting().length > 0 || ready().length > 0) {\n $$renderer2.push(\"<!--[0-->\");\n if (Collapsible) {\n $$renderer2.push(\"<!--[-->\");\n Collapsible($$renderer2, {\n open: foldedWith === null,\n onOpenChange: setOpen,\n class: `needs ${waiting().length > 0 ? \"urgent\" : \"\"} ${foldedWith ? \"folded\" : \"\"}`,\n role: \"region\",\n \"aria-label\": \"Needs you\",\n children: ($$renderer3) => {\n if (Collapsible_trigger) {\n $$renderer3.push(\"<!--[-->\");\n Collapsible_trigger($$renderer3, {\n class: \"h\",\n title: foldedWith ? \"Show the list\" : \"Fold the list away for now\",\n children: ($$renderer4) => {\n $$renderer4.push(`<iconify-icon class=\"chev svelte-1ps2dls\" icon=\"mdi:chevron-down\" aria-hidden=\"true\"></iconify-icon> <span class=\"t svelte-1ps2dls\">Needs you</span> <span class=\"line svelte-1ps2dls\"></span> `);\n if (arrived() > 0) {\n $$renderer4.push(`<!--[0--><span class=\"new svelte-1ps2dls\">+${escape_html(arrived())} new</span>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--> `);\n if (waiting().length > 0) {\n $$renderer4.push(`<!--[0--><span class=\"n svelte-1ps2dls\">${escape_html(waiting().length)}</span>`);\n } else if (foldedWith) {\n $$renderer4.push(`<!--[1--><span class=\"n quiet svelte-1ps2dls\">${escape_html(ready().length)}</span>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n $$renderer3.push(` `);\n if (Collapsible_content) {\n $$renderer3.push(\"<!--[-->\");\n Collapsible_content($$renderer3, {\n children: ($$renderer4) => {\n $$renderer4.push(`<!--[-->`);\n const each_array = ensure_array_like(waiting());\n for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n let item = each_array[$$index];\n if (item.kind === \"session\") {\n $$renderer4.push(\"<!--[0-->\");\n const s = item.session;\n const off = blockedReason(item.machine, clock.now);\n $$renderer4.push(`<button type=\"button\"${attr_class(\"it svelte-1ps2dls\", void 0, { \"off\": !!off })}${attr(\"disabled\", !!off, true)}${attr(\"title\", off ?? s.cwd)}><span class=\"ic svelte-1ps2dls\">`);\n SessionStateIndicator($$renderer4, { state: s.state, size: \"sm\" });\n $$renderer4.push(`<!----></span> <span class=\"name svelte-1ps2dls\">${escape_html(getSessionDisplayName(s))}</span> <span class=\"when svelte-1ps2dls\">${escape_html(formatAgo(item.since, clock.now))}</span> <span class=\"sub svelte-1ps2dls\">${escape_html(asking(s))}`);\n if (multiHost()) {\n $$renderer4.push(`<!--[0--><span class=\"host svelte-1ps2dls\">${escape_html(item.machine.server.hostname)}</span>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--></span></button>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n const t = item.ticket;\n const off = blockedReason(item.machine, clock.now);\n $$renderer4.push(`<button type=\"button\"${attr_class(\"it svelte-1ps2dls\", void 0, { \"off\": !!off })}${attr(\"disabled\", !!off, true)}${attr(\"title\", off ?? t.url)}><span class=\"ic help svelte-1ps2dls\"><iconify-icon${attr(\"icon\", KIND_ICON[\"needs-help\"])}></iconify-icon></span> <span class=\"name svelte-1ps2dls\">${escape_html(item.session && needsHelp(item.session) ? getSessionDisplayName(item.session) : t.title)}</span> <span class=\"when svelte-1ps2dls\">${escape_html(formatAgo(item.since, clock.now))}</span> <span class=\"sub note svelte-1ps2dls\"><span class=\"num svelte-1ps2dls\">#${escape_html(t.number)}</span>${escape_html(t.note ?? \"Worker asked for a decision\")}`);\n if (multiHost()) {\n $$renderer4.push(`<!--[0--><span class=\"host svelte-1ps2dls\">${escape_html(item.machine.server.hostname)}</span>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--></span></button>`);\n }\n $$renderer4.push(`<!--]-->`);\n }\n $$renderer4.push(`<!--]--> `);\n if (ready().length > 0) {\n $$renderer4.push(`<!--[0--><div${attr_class(\"ready-h svelte-1ps2dls\", void 0, { \"first\": waiting().length === 0 })}>Ready to decide `);\n if (ready().length > READY_SHOWN) {\n $$renderer4.push(`<!--[0--><button type=\"button\" class=\"more svelte-1ps2dls\">${escape_html(`all ${ready().length}`)}</button>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--></div> <!--[-->`);\n const each_array_1 = ensure_array_like(readyShown());\n for (let $$index_1 = 0, $$length = each_array_1.length; $$index_1 < $$length; $$index_1++) {\n let item = each_array_1[$$index_1];\n const t = item.ticket;\n const off = blockedReason(item.machine, clock.now);\n $$renderer4.push(`<div${attr_class(\"it ticket svelte-1ps2dls\", void 0, { \"off\": !!off })}><span class=\"ic svelte-1ps2dls\"><iconify-icon${attr(\"icon\", KIND_ICON[t.kind])}></iconify-icon></span> <a class=\"name svelte-1ps2dls\"${attr(\"href\", t.url)} target=\"_blank\" rel=\"noopener\" title=\"Open on GitHub\">${escape_html(t.title)}</a> <button type=\"button\" class=\"start svelte-1ps2dls\"${attr(\"title\", off ?? `Open a Claude session in ${repoName(t)} that works this ticket with you`)}${attr(\"disabled\", !!off, true)}>Start</button> <span class=\"sub svelte-1ps2dls\"><span class=\"num svelte-1ps2dls\">#${escape_html(t.number)}</span>${escape_html(t.kind)} in ${escape_html(repoName(t))}`);\n if (multiHost()) {\n $$renderer4.push(`<!--[0--><span class=\"host svelte-1ps2dls\">${escape_html(item.machine.server.hostname)}</span>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--></span></div>`);\n }\n $$renderer4.push(`<!--]-->`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer2.push(\"<!--]-->\");\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(\"<!--]-->\");\n }\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]-->`);\n });\n}\nfunction savedKeys(saved) {\n if (!Array.isArray(saved)) return [];\n return saved.filter((k2) => typeof k2 === \"string\");\n}\nfunction railOrder(saved, keys) {\n const known = savedKeys(saved);\n const present = new Set(keys);\n const seen = new Set(known);\n return [...keys.filter((k2) => !seen.has(k2)), ...known.filter((k2) => present.has(k2))];\n}\nfunction matchesQuery(query, fields) {\n const q = query.trim().toLowerCase().replace(/^#/, \"\");\n if (!q) return true;\n return fields.some((f) => f != null && String(f).toLowerCase().includes(q));\n}\nconst MACHINE_COLORS = [\"#7dd3fc\", \"#f0abfc\", \"#bef264\", \"#fda4af\", \"#cbd5e1\"];\nfunction machineMarks(machines) {\n const first = (name) => (name.match(/[a-z0-9]/i)?.[0] ?? \"?\").toUpperCase();\n const counts = /* @__PURE__ */ new Map();\n for (const m of machines) counts.set(first(m.name), (counts.get(first(m.name)) ?? 0) + 1);\n const ids = [...new Set(machines.map((m) => m.id))].sort();\n const marks = /* @__PURE__ */ new Map();\n for (const m of machines) {\n const one = first(m.name);\n const two = m.name.replace(/[^a-z0-9]/gi, \"\").slice(0, 2);\n const letter = counts.get(one) > 1 && two.length === 2 ? one + two[1].toLowerCase() : one;\n marks.set(m.id, { name: m.name, letter, color: MACHINE_COLORS[ids.indexOf(m.id) % MACHINE_COLORS.length] });\n }\n return marks;\n}\nfunction ProjectRail($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { tiles, selected, activeBadge } = $$props;\n const BADGE_COLORS = {\n wants: sessionStateVisual(\"waiting\").color,\n working: sessionStateVisual(\"busy\").color\n };\n let dragging = null;\n $$renderer2.push(`<nav${attr_class(\"rail svelte-y9hlb1\", void 0, {\n \"lifting\": (\n /**\n * While a tile is lifted the finger must not scroll the rail, nor swipe the\n * drawer shut; a touchmove is the only place either can be stopped.\n */\n false\n )\n })} aria-label=\"Projects\"><button type=\"button\"${attr_class(\"rt all svelte-y9hlb1\", void 0, { \"sel\": selected === \"active\" })} title=\"Active: what wants you, what is working, what just finished\"><span class=\"bolt svelte-y9hlb1\"><iconify-icon icon=\"mdi:lightning-bolt-outline\" class=\"svelte-y9hlb1\"></iconify-icon></span> `);\n if (activeBadge) {\n $$renderer2.push(`<!--[0--><span class=\"bdg svelte-y9hlb1\"${attr_style(`--c:${stringify(BADGE_COLORS[activeBadge])}`)}></span>`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--></button> <span class=\"rsep svelte-y9hlb1\"></span> <!--[-->`);\n const each_array = ensure_array_like(tiles);\n for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n let tile = each_array[$$index];\n $$renderer2.push(`<button type=\"button\"${attr(\"data-tile\", tile.key)}${attr_class(\"rt svelte-y9hlb1\", void 0, {\n \"sel\": selected === tile.key,\n \"quiet\": tile.quiet,\n \"dragging\": dragging === tile.key,\n \"drop\": dragging\n })}${attr(\"title\", `${stringify(tile.name)}${tile.where ? `\n${tile.where}` : \"\"}\\\\nDrag to reorder`)}${attr(\"aria-current\", selected === tile.key ? \"true\" : void 0)}>`);\n ProjectTile($$renderer2, {\n initials: tile.initials,\n hue: tile.hue,\n icon: tile.icon,\n size: 34\n });\n $$renderer2.push(`<!----> `);\n if (tile.badge) {\n $$renderer2.push(`<!--[0--><span class=\"bdg svelte-y9hlb1\"${attr_style(`--c:${stringify(BADGE_COLORS[tile.badge])}`)}></span>`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--></button>`);\n }\n $$renderer2.push(`<!--]--> `);\n {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--></nav>`);\n });\n}\nfunction Command($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n api = null,\n ref = null,\n value = \"\",\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Command$1) {\n $$renderer3.push(\"<!--[-->\");\n Command$1($$renderer3, spread_props([\n {\n \"data-slot\": \"command\",\n class: cn(\"bg-popover text-popover-foreground rounded-xl! p-1 flex size-full flex-col overflow-hidden\", className)\n },\n restProps,\n {\n get value() {\n return value;\n },\n set value($$value) {\n value = $$value;\n $$settled = false;\n },\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { api, ref, value });\n });\n}\nfunction Command_dialog($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n open = false,\n ref = null,\n value = \"\",\n title = \"Command Palette\",\n description = \"Search for a command to run...\",\n showCloseButton = false,\n portalProps,\n children,\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Dialog) {\n $$renderer3.push(\"<!--[-->\");\n Dialog($$renderer3, spread_props([\n restProps,\n {\n get open() {\n return open;\n },\n set open($$value) {\n open = $$value;\n $$settled = false;\n },\n children: ($$renderer4) => {\n if (Dialog_header) {\n $$renderer4.push(\"<!--[-->\");\n Dialog_header($$renderer4, {\n class: \"sr-only\",\n children: ($$renderer5) => {\n if (Dialog_title) {\n $$renderer5.push(\"<!--[-->\");\n Dialog_title($$renderer5, {\n children: ($$renderer6) => {\n $$renderer6.push(`<!---->${escape_html(title)}`);\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n $$renderer5.push(` `);\n if (Dialog_description) {\n $$renderer5.push(\"<!--[-->\");\n Dialog_description($$renderer5, {\n children: ($$renderer6) => {\n $$renderer6.push(`<!---->${escape_html(description)}`);\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n $$renderer4.push(` `);\n if (Dialog_content) {\n $$renderer4.push(\"<!--[-->\");\n Dialog_content($$renderer4, {\n class: cn(\"rounded-xl! top-1/3 translate-y-0 overflow-hidden p-0\", className),\n showCloseButton,\n portalProps,\n children: ($$renderer5) => {\n Command($$renderer5, spread_props([\n restProps,\n {\n children,\n get value() {\n return value;\n },\n set value($$value) {\n value = $$value;\n $$settled = false;\n },\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { open, ref, value });\n });\n}\nfunction Command_empty($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Command_empty$1) {\n $$renderer3.push(\"<!--[-->\");\n Command_empty$1($$renderer3, spread_props([\n {\n \"data-slot\": \"command-empty\",\n class: cn(\"py-6 text-center text-sm\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Command_group($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n children,\n heading,\n value,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Command_group$1) {\n $$renderer3.push(\"<!--[-->\");\n Command_group$1($$renderer3, spread_props([\n {\n \"data-slot\": \"command-group\",\n class: cn(\"text-foreground **:[[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:py-1.5 **:[[cmdk-group-heading]]:text-xs **:[[cmdk-group-heading]]:font-medium\", className),\n value: value ?? heading ?? `----${useId()}`\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n },\n children: ($$renderer4) => {\n if (heading) {\n $$renderer4.push(\"<!--[0-->\");\n if (Command_group_heading) {\n $$renderer4.push(\"<!--[-->\");\n Command_group_heading($$renderer4, {\n class: \"px-2 py-1.5 text-xs font-medium text-muted-foreground\",\n children: ($$renderer5) => {\n $$renderer5.push(`<!---->${escape_html(heading)}`);\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--> `);\n if (Command_group_items) {\n $$renderer4.push(\"<!--[-->\");\n Command_group_items($$renderer4, { children });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Input_group_input($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n value = void 0,\n class: className,\n $$slots,\n $$events,\n ...props\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n Input($$renderer3, spread_props([\n {\n \"data-slot\": \"input-group-control\",\n class: cn(\"rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent flex-1\", className)\n },\n props,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n },\n get value() {\n return value;\n },\n set value($$value) {\n value = $$value;\n $$settled = false;\n }\n }\n ]));\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref, value });\n });\n}\nfunction Input_group($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n children,\n $$slots,\n $$events,\n ...props\n } = $$props;\n $$renderer2.push(`<div${attributes({\n \"data-slot\": \"input-group\",\n role: \"group\",\n class: clsx(cn(\"group/input-group border-input dark:bg-input/30 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[[data-slot][aria-invalid=true]]:border-destructive dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 has-disabled:bg-input/50 dark:has-disabled:bg-input/80 h-8 rounded-lg border transition-colors in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-disabled:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot][aria-invalid=true]]:ring-3 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5 relative flex w-full min-w-0 items-center outline-none has-[>textarea]:h-auto\", className)),\n ...props\n })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n bind_props($$props, { ref });\n });\n}\nfunction Search($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { $$slots, $$events, ...props } = $$props;\n const iconNode = [\n [\"path\", { \"d\": \"m21 21-4.34-4.34\" }],\n [\"circle\", { \"cx\": \"11\", \"cy\": \"11\", \"r\": \"8\" }]\n ];\n Icon($$renderer2, spread_props([\n { name: \"search\" },\n /**\n * @component @name Search\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMjEgMjEtNC4zNC00LjM0IiAvPgogIDxjaXJjbGUgY3g9IjExIiBjeT0iMTEiIHI9IjgiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/search\n * @see https://lucide.dev/guide/packages/lucide-svelte - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {FunctionalComponent} Svelte component\n *\n */\n props,\n {\n iconNode,\n children: ($$renderer3) => {\n props.children?.($$renderer3);\n $$renderer3.push(`<!---->`);\n },\n $$slots: { default: true }\n }\n ]));\n });\n}\nfunction Command_input($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n value = \"\",\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n $$renderer3.push(`<div data-slot=\"command-input-wrapper\" class=\"p-1 pb-0\">`);\n if (Input_group) {\n $$renderer3.push(\"<!--[-->\");\n Input_group($$renderer3, {\n class: \"bg-input/30 border-input/30 h-8! rounded-lg! shadow-none! *:data-[slot=input-group-addon]:pl-2!\",\n children: ($$renderer4) => {\n {\n let child = function($$renderer5, { props }) {\n if (Input_group_input) {\n $$renderer5.push(\"<!--[-->\");\n Input_group_input($$renderer5, spread_props([\n props,\n {\n get value() {\n return value;\n },\n set value($$value) {\n value = $$value;\n $$settled = false;\n },\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n };\n if (Command_input$1) {\n $$renderer4.push(\"<!--[-->\");\n Command_input$1($$renderer4, spread_props([\n {\n value,\n \"data-slot\": \"command-input\",\n class: cn(\"w-full text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50\", className)\n },\n restProps,\n { child, $$slots: { child: true } }\n ]));\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n }\n $$renderer4.push(` `);\n if (Input_group_addon) {\n $$renderer4.push(\"<!--[-->\");\n Input_group_addon($$renderer4, {\n children: ($$renderer5) => {\n Search($$renderer5, { class: \"size-4 shrink-0 opacity-50\" });\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n $$renderer3.push(`</div>`);\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref, value });\n });\n}\nfunction Command_item($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n children,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Command_item$1) {\n $$renderer3.push(\"<!--[-->\");\n Command_item$1($$renderer3, spread_props([\n {\n \"data-slot\": \"command-item\",\n class: cn(\"data-selected:bg-muted data-selected:text-foreground data-selected:*:[svg]:text-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none in-data-[slot=dialog-content]:rounded-lg! [&_svg:not([class*='size-'])]:size-4 group/command-item [&_svg]:pointer-events-none [&_svg]:shrink-0\", \"data-disabled:pointer-events-none data-disabled:opacity-50\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n },\n children: ($$renderer4) => {\n children?.($$renderer4);\n $$renderer4.push(`<!----> `);\n Check($$renderer4, {\n class: \"ml-auto opacity-0 group-has-data-[slot=command-shortcut]/command-item:hidden group-data-[checked=true]/command-item:opacity-100\"\n });\n $$renderer4.push(`<!---->`);\n },\n $$slots: { default: true }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Command_list($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Command_list$1) {\n $$renderer3.push(\"<!--[-->\");\n Command_list$1($$renderer3, spread_props([\n {\n \"data-slot\": \"command-list\",\n class: cn(\"no-scrollbar max-h-72 scroll-py-1 outline-none overflow-x-hidden overflow-y-auto\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction QuickSwitch($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { open = false, items } = $$props;\n let query = \"\";\n const LIMIT = 50;\n const hits = derived(() => items.filter((it) => matchesQuery(query, [it.title, ...it.fields])).slice(0, LIMIT));\n const sessions = derived(() => hits().filter((it) => it.kind === \"session\"));\n const projects = derived(() => hits().filter((it) => it.kind === \"project\"));\n const past = derived(() => hits().filter((it) => it.kind === \"past\"));\n function pick(item) {\n open = false;\n item.run();\n }\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Command_dialog) {\n $$renderer3.push(\"<!--[-->\");\n Command_dialog($$renderer3, {\n shouldFilter: false,\n title: \"Jump to\",\n description: \"Find a session, project or past session anywhere in the fleet\",\n class: \"quick-switch\",\n get open() {\n return open;\n },\n set open($$value) {\n open = $$value;\n $$settled = false;\n },\n children: ($$renderer4) => {\n if (Command_input) {\n $$renderer4.push(\"<!--[-->\");\n Command_input($$renderer4, {\n placeholder: \"Jump to a session, project or past session…\",\n get value() {\n return query;\n },\n set value($$value) {\n query = $$value;\n $$settled = false;\n }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n $$renderer4.push(` `);\n if (Command_list) {\n $$renderer4.push(\"<!--[-->\");\n Command_list($$renderer4, {\n class: \"max-h-[60dvh]\",\n children: ($$renderer5) => {\n if (Command_empty) {\n $$renderer5.push(\"<!--[-->\");\n Command_empty($$renderer5, {\n children: ($$renderer6) => {\n $$renderer6.push(`<!---->Nothing matches.`);\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n $$renderer5.push(` `);\n if (sessions().length > 0) {\n $$renderer5.push(\"<!--[0-->\");\n if (Command_group) {\n $$renderer5.push(\"<!--[-->\");\n Command_group($$renderer5, {\n heading: \"Sessions\",\n children: ($$renderer6) => {\n $$renderer6.push(`<!--[-->`);\n const each_array = ensure_array_like(sessions());\n for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n let item = each_array[$$index];\n if (Command_item) {\n $$renderer6.push(\"<!--[-->\");\n Command_item($$renderer6, {\n value: item.id,\n onSelect: () => pick(item),\n class: item.off ? \"opacity-50\" : \"\",\n children: ($$renderer7) => {\n $$renderer7.push(`<span class=\"qs-st svelte-apcra3\">`);\n if (item.state) {\n $$renderer7.push(\"<!--[0-->\");\n SessionStateIndicator($$renderer7, { state: item.state, size: \"sm\" });\n } else {\n $$renderer7.push(\"<!--[-1-->\");\n }\n $$renderer7.push(`<!--]--></span> <span class=\"qs-title svelte-apcra3\">${escape_html(item.title)}</span> <span class=\"qs-detail svelte-apcra3\">${escape_html(item.detail)}</span> `);\n if (item.machine) {\n $$renderer7.push(`<!--[0--><span class=\"qs-mach svelte-apcra3\"${attr_style(`--m:${stringify(item.machine.color)}`)}${attr(\"title\", item.machine.name)}>${escape_html(item.machine.letter)}</span>`);\n } else {\n $$renderer7.push(\"<!--[-1-->\");\n }\n $$renderer7.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n $$renderer6.push(\"<!--]-->\");\n } else {\n $$renderer6.push(\"<!--[!-->\");\n $$renderer6.push(\"<!--]-->\");\n }\n }\n $$renderer6.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--> `);\n if (projects().length > 0) {\n $$renderer5.push(\"<!--[0-->\");\n if (Command_group) {\n $$renderer5.push(\"<!--[-->\");\n Command_group($$renderer5, {\n heading: \"Projects\",\n children: ($$renderer6) => {\n $$renderer6.push(`<!--[-->`);\n const each_array_1 = ensure_array_like(projects());\n for (let $$index_1 = 0, $$length = each_array_1.length; $$index_1 < $$length; $$index_1++) {\n let item = each_array_1[$$index_1];\n if (Command_item) {\n $$renderer6.push(\"<!--[-->\");\n Command_item($$renderer6, {\n value: item.id,\n onSelect: () => pick(item),\n children: ($$renderer7) => {\n if (item.tile) {\n $$renderer7.push(\"<!--[0-->\");\n ProjectTile($$renderer7, spread_props([item.tile, { size: 18 }]));\n } else {\n $$renderer7.push(\"<!--[-1-->\");\n }\n $$renderer7.push(`<!--]--> <span class=\"qs-title svelte-apcra3\">${escape_html(item.title)}</span> <span class=\"qs-detail svelte-apcra3\">${escape_html(item.detail)}</span>`);\n },\n $$slots: { default: true }\n });\n $$renderer6.push(\"<!--]-->\");\n } else {\n $$renderer6.push(\"<!--[!-->\");\n $$renderer6.push(\"<!--]-->\");\n }\n }\n $$renderer6.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--> `);\n if (past().length > 0) {\n $$renderer5.push(\"<!--[0-->\");\n if (Command_group) {\n $$renderer5.push(\"<!--[-->\");\n Command_group($$renderer5, {\n heading: \"Past sessions\",\n children: ($$renderer6) => {\n $$renderer6.push(`<!--[-->`);\n const each_array_2 = ensure_array_like(past());\n for (let $$index_2 = 0, $$length = each_array_2.length; $$index_2 < $$length; $$index_2++) {\n let item = each_array_2[$$index_2];\n if (Command_item) {\n $$renderer6.push(\"<!--[-->\");\n Command_item($$renderer6, {\n value: item.id,\n onSelect: () => pick(item),\n class: item.off ? \"opacity-50\" : \"\",\n children: ($$renderer7) => {\n $$renderer7.push(`<span class=\"qs-st svelte-apcra3\"><iconify-icon icon=\"mdi:history\"></iconify-icon></span> <span class=\"qs-title svelte-apcra3\">${escape_html(item.title)}</span> <span class=\"qs-detail svelte-apcra3\">${escape_html(item.detail)}</span> `);\n if (item.machine) {\n $$renderer7.push(`<!--[0--><span class=\"qs-mach svelte-apcra3\"${attr_style(`--m:${stringify(item.machine.color)}`)}${attr(\"title\", item.machine.name)}>${escape_html(item.machine.letter)}</span>`);\n } else {\n $$renderer7.push(\"<!--[-1-->\");\n }\n $$renderer7.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n $$renderer6.push(\"<!--]-->\");\n } else {\n $$renderer6.push(\"<!--[!-->\");\n $$renderer6.push(\"<!--]-->\");\n }\n }\n $$renderer6.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { open });\n });\n}\nclass QuickSwitchStore {\n open = false;\n}\nconst quickSwitch = new QuickSwitchStore();\nconst ratioStore = createPersisted(\"claude-mux-split-ratio\", 0.5);\nfunction navigate(url) {\n void goto();\n}\nclass SplitStore {\n a = null;\n b = null;\n focus = \"a\";\n zoom = null;\n ratio = 0.5;\n /** A sidebar row is mid-drag: the panes show their drop targets. */\n dragging = false;\n #active = derived(() => this.a !== null && this.b !== null);\n get active() {\n return this.#active();\n }\n set active($$value) {\n return this.#active($$value);\n }\n constructor() {\n }\n /** Called by the layout whenever the URL changes. */\n setPanes(a, b) {\n if (!sameRef(this.a, a)) this.a = a;\n if (!sameRef(this.b, b)) this.b = b;\n if (!this.active) this.zoom = null;\n }\n pane(side) {\n return side === \"a\" ? this.a : this.b;\n }\n /** Which pane holds this session, if any. */\n sideOf(ref) {\n if (sameRef(this.a, ref)) return \"a\";\n if (sameRef(this.b, ref)) return \"b\";\n return null;\n }\n setFocus(side) {\n this.focus = side;\n }\n other(side) {\n return side === \"a\" ? \"b\" : \"a\";\n }\n /**\n * Open a session in a pane. With no split on, the focused pane is the page\n * itself and the other pane is the right half that does not exist yet:\n * opening there is what starts a split.\n */\n openIn(side, ref, current) {\n const target = side === \"focus\" ? this.focus : side === \"other\" ? this.other(this.focus) : side;\n if (this.active && this.a && this.b) {\n const a = target === \"a\" ? ref : this.a;\n const b = target === \"b\" ? ref : this.b;\n if (sameRef(a, b)) return;\n navigate(splitUrl(a, b));\n this.focus = target;\n return;\n }\n if (target === \"b\" && current && !sameRef(current, ref)) {\n navigate(splitUrl(current, ref));\n this.focus = \"b\";\n return;\n }\n navigate(singleUrl(ref, fleetStore.servers(), selfName()));\n }\n /** Start a split with `ref` beside the session on the page. */\n splitWith(ref, current) {\n if (!current || sameRef(current, ref)) return;\n navigate(splitUrl(current, ref));\n this.focus = \"b\";\n }\n /** Close one pane; the other takes the whole width. */\n close(side) {\n const keep = this.pane(this.other(side));\n if (!keep) return;\n this.zoom = null;\n this.focus = \"a\";\n navigate(singleUrl(keep, fleetStore.servers(), selfName()));\n }\n swap() {\n if (!this.a || !this.b) return;\n this.focus = this.other(this.focus);\n if (this.zoom) this.zoom = this.other(this.zoom);\n navigate(splitUrl(this.b, this.a));\n }\n toggleZoom(side) {\n this.zoom = this.zoom === side ? null : side;\n this.focus = side;\n }\n setRatio(ratio) {\n this.ratio = Math.min(0.8, Math.max(0.2, ratio));\n ratioStore.save(this.ratio);\n }\n /** For the sidebar's A/B tags and titles. */\n label(ref) {\n return formatRef(ref);\n }\n}\nconst splitStore = new SplitStore();\nfunction AllSessionsPanel($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n var $$store_subs;\n let opened = /* @__PURE__ */ new Set();\n const NO_AGENTS = { rows: [], running: 0, folded: 0 };\n function agentsOf(s) {\n return s.subagents?.length ? agentView(s.subagents, clock.now, opened) : NO_AGENTS;\n }\n let { onSessionSelect, compact = false } = $$props;\n let showFolderBrowser = false;\n let alertOpen = false;\n let alertTitle = \"\";\n let alertMessage = \"\";\n let alertOnConfirm = () => {\n };\n let renameId = null;\n let menuOpen = false;\n let query = \"\";\n let projectMenu = null;\n let selected = \"active\";\n function showConfirm(title, message, onConfirm) {\n alertTitle = title;\n alertMessage = message;\n alertOnConfirm = onConfirm;\n alertOpen = true;\n }\n let agentPicker = null;\n const current = derived(() => {\n const ref = parseSessionPath(store_get($$store_subs ??= {}, \"$page\", page).url.pathname)?.ref;\n return ref ? localRef(ref, fleetStore.servers(), selfName()) : null;\n });\n function isCurrent(machine, tmuxTarget) {\n if (!current() || !tmuxTarget || current().target !== tmuxTarget) return false;\n return machine.local ? current().host === null : current().host?.toLowerCase() === machine.server.hostname.toLowerCase();\n }\n function rootsOf(machine) {\n return projectRoots(machine.projects, [\n ...machine.sessions.map((s) => s.cwd),\n ...machine.panes.map((p2) => p2.cwd)\n ]);\n }\n function relPath(cwd, root) {\n if (cwd === root) return null;\n return cwd.slice(root.length + 1).replace(/^\\.worktrees?\\//, \"\");\n }\n function rowTitle(row) {\n const s = row.session;\n if (!s.issue && !s.display_name && row.rel && !row.orchestrator) return row.rel;\n return getSessionDisplayName(s);\n }\n function rowWhere(row, agents) {\n if (row.orchestrator) return \"orch\";\n const children = childSummary(row.workers ?? 0, agents);\n if (children) return children;\n return !row.worker && row.session.display_name && row.rel ? row.rel : null;\n }\n function agentHref(machine, target, agentId) {\n return sessionPath(refOf(machine, target), `/agent/${encodeURIComponent(agentId)}`);\n }\n function tmuxSessionOf(s) {\n return s.tmux_target?.split(\":\")[0] ?? null;\n }\n function nestWorkers(rows) {\n const workersOf = /* @__PURE__ */ new Map();\n const placed = /* @__PURE__ */ new Set();\n for (const row of rows) {\n if (row.session.maestro_role !== \"worker\") continue;\n const home = tmuxSessionOf(row.session);\n const master = rows.find((r) => r !== row && !r.orchestrator && r.session.maestro_role !== \"worker\" && tmuxSessionOf(r.session) === home);\n if (!master) continue;\n row.worker = true;\n workersOf.set(master, [...workersOf.get(master) ?? [], row]);\n placed.add(row);\n }\n if (placed.size === 0) return rows;\n const out = [];\n for (const row of rows) {\n if (placed.has(row)) continue;\n const workers = workersOf.get(row);\n out.push(workers ? { ...row, workers: workers.length } : row);\n if (workers) {\n workers.sort((a, b) => (a.session.maestro_issue ?? 0) - (b.session.maestro_issue ?? 0));\n out.push(...workers.slice(0, -1), { ...workers.at(-1), trailing: row.session });\n }\n }\n return out;\n }\n function rowsFor(sessions, root) {\n const rows = [];\n for (const item of groupSessions(sessions)) {\n if (item.type === \"pair\") {\n rows.push({\n session: item.main,\n rel: relPath(item.main.cwd, root),\n orchestrator: false\n });\n rows.push({ session: item.orchestrator, rel: null, orchestrator: true });\n } else {\n rows.push({\n session: item.session,\n rel: relPath(item.session.cwd, root),\n orchestrator: false\n });\n }\n }\n return nestWorkers(rows);\n }\n function attention(s) {\n if (wantsHuman(s)) return \"wants\";\n return s.state === \"busy\" || indicatorStateOf(s) === \"done\" ? \"working\" : null;\n }\n function isActive(machine, s) {\n return attention(s) !== null || isCurrent(machine, s.tmux_target);\n }\n function placesOf(machine, roots) {\n const byRoot = /* @__PURE__ */ new Map();\n for (const root of roots) byRoot.set(root, { live: [], dead: [], settled: [] });\n for (const s of machine.sessions) {\n const root = rootOf(s.cwd, roots);\n if (root === null) continue;\n const bucket = byRoot.get(root);\n (s.pane_alive === false ? bucket.dead : isSettled(machine, s.id) ? bucket.settled : bucket.live).push(s);\n }\n const past = pastByRoot(machine.past, roots, new Set(machine.sessions.filter((s) => s.pane_alive !== false).map((s) => s.id)));\n const panes = panesByRoot(machine.panes, roots);\n const places = /* @__PURE__ */ new Map();\n for (const [root, bucket] of byRoot) {\n places.set(root, {\n key: placeKey(machine, root),\n machine,\n root,\n label: machineLabel(machine),\n rows: rowsFor(bucket.live, root),\n live: bucket.live,\n dead: bucket.dead,\n panes: panes.get(root) ?? [],\n settled: bucket.settled,\n past: past.get(root) ?? []\n });\n }\n return places;\n }\n function machineLabel(machine) {\n return machine.server.hostname || \"this machine\";\n }\n function placeKey(machine, root) {\n return `${machineKey(machine)}\\0${root}`;\n }\n function settle(machine, id) {\n setSettled(machine, id, true);\n void fetch(`${apiBase(machine)}/api/sessions/${encodeURIComponent(id)}/settle`, { method: \"POST\" }).catch(() => {\n });\n }\n let settledOpen = /* @__PURE__ */ new Set();\n let settledAll = /* @__PURE__ */ new Set();\n let dragged = null;\n let dropOn = null;\n function pastHref(machine, p2) {\n return pastPath(machine.local ? null : machine.server.hostname, p2.id);\n }\n function openPast(machine, p2) {\n goto(pastHref(machine, p2));\n onSessionSelect?.();\n }\n async function resume(machine, p2, cwd) {\n const result = await resumePast(machine, apiBase(machine), p2.id, cwd);\n if (result.kind === \"offer-root\") {\n const root = result.root;\n showConfirm(\"Folder is gone\", `${result.cwd} no longer exists. Resume “${pastLabel(p2)}” in ${root}?`, () => void resume(machine, p2, root));\n return;\n }\n if (result.kind === \"error\") {\n alert(result.message);\n return;\n }\n goToSession(machine, result.tmuxTarget);\n }\n function iconUrl(machine, root, token) {\n return `${apiBase(machine)}/api/projects/icon?root=${encodeURIComponent(root)}&v=${encodeURIComponent(token)}`;\n }\n const fleetRoots = derived(() => new Map(fleetStore.machines.map((machine) => [machineKey(machine), rootsOf(machine)])));\n const fleetPlaces = derived(() => new Map(fleetStore.machines.map((machine) => [\n machineKey(machine),\n placesOf(machine, fleetRoots().get(machineKey(machine)))\n ])));\n const fleetProjects = derived(() => mergeProjects(fleetStore.machines.map((machine) => {\n const known = new Map(machine.projectReports.map((r) => [r.root, r]));\n const id = machineKey(machine);\n return {\n id,\n reports: fleetRoots().get(id).map((root) => known.get(root) ?? guessReport(root))\n };\n })));\n function projectTile(project, roots) {\n const home = roots.length === 1 && isHomeDir(roots[0]);\n const name = home ? \"~\" : roots.every((r) => r === NO_FOLDER) ? \"no folder\" : project.name;\n const icon = project.icon;\n const iconAt = icon && fleetStore.machines.find((m) => machineKey(m) === icon.machineId);\n return {\n name,\n initials: home ? \"~\" : projectInitials(name),\n hue: projectHue(name),\n icon: iconAt ? iconUrl(iconAt, icon.root, icon.token) : null\n };\n }\n const cards = derived(() => {\n const visible = new Set(fleetStore.visible.map(machineKey));\n const out = [];\n for (const project of fleetProjects()) {\n const shown = project.places.filter((p2) => visible.has(p2.machineId)).map((p2) => fleetPlaces().get(p2.machineId).get(p2.root));\n if (shown.length === 0) continue;\n const places = shown.map((p2) => shown.some((o) => o !== p2 && o.machine === p2.machine) ? { ...p2, label: `${p2.label} · ${p2.root.split(\"/\").pop()}` } : p2);\n const tile = projectTile(project, places.map((p2) => p2.root));\n const seen = places.filter((p2) => p2.machine.online).flatMap((p2) => [\n ...p2.rows.map((r) => attention(r.session)),\n ...p2.settled.filter(wantsHuman).map(() => \"wants\")\n ]);\n out.push({\n key: project.key,\n ...tile,\n badge: seen.includes(\"wants\") ? \"wants\" : seen.includes(\"working\") ? \"working\" : null,\n quiet: places.every((p2) => p2.rows.length === 0 && p2.panes.length === 0),\n places,\n reachable: places.filter((p2) => reachable(p2.machine)),\n spans: new Set(places.map((p2) => p2.machine)).size > 1,\n live: places.reduce((n2, p2) => n2 + p2.rows.filter((r) => !r.orchestrator).length, 0),\n where: places.map((p2) => `${p2.machine.server.hostname}:${p2.root}`).join(\"\\n\"),\n past: places.flatMap((place) => place.past.map((past) => ({ place, past }))).sort((a, b) => b.past.lastActivity - a.past.lastActivity)\n });\n }\n out.sort((a, b) => a.name.localeCompare(b.name));\n const byProject = new Map(out.map((c) => [c.key, c]));\n return railOrder(fleetPrefsStore.get(RAIL_ORDER, null), out.map((c) => c.key)).map((k2) => byProject.get(k2));\n });\n function openProject(key) {\n query = \"\";\n selected = key;\n }\n const chosen = derived(() => selected === \"active\" ? null : cards().find((c) => c.key === selected) ?? null);\n const marks = derived(() => machineMarks(fleetStore.machines.map((m) => ({ id: machineKey(m), name: machineLabel(m) }))));\n function markOf(machine) {\n return marks().get(machineKey(machine)) ?? { letter: \"?\", color: \"#a8a29e\", name: machineLabel(machine) };\n }\n function rowMatches(machine, row) {\n const s = row.session;\n return matchesQuery(query, [\n rowTitle(row),\n getSessionDisplayName(s),\n s.cwd,\n machine.server.hostname,\n s.maestro_issue,\n s.issue?.title\n ]);\n }\n const found = derived(() => {\n if (!query.trim()) return [];\n const out = [];\n for (const card of cards()) {\n const whole = matchesQuery(query, [card.name, ...card.places.map((p2) => p2.root)]);\n const places = card.places.map((p2) => whole || matchesQuery(query, [p2.machine.server.hostname]) ? p2 : {\n ...p2,\n rows: p2.rows.filter((r) => rowMatches(p2.machine, r)),\n panes: [],\n dead: []\n }).filter((p2) => whole || p2.rows.length > 0 || p2.panes.length > 0);\n if (places.length > 0) out.push({ card, places });\n }\n return out;\n });\n const activeGroups = derived(() => cards().map((card) => ({\n card,\n places: card.places.map((p2) => ({\n ...p2,\n rows: rowsFor(p2.live.filter((s) => isActive(p2.machine, s)), p2.root)\n })).filter((p2) => p2.rows.length > 0)\n })).filter((g) => g.places.length > 0));\n const activeBadge = derived(() => cards().some((c) => c.badge === \"wants\") ? \"wants\" : cards().some((c) => c.badge === \"working\") ? \"working\" : null);\n const tiles = derived(() => query.trim() ? found().map((f) => f.card) : cards());\n const offlineMachines = derived(() => fleetStore.visible.filter((m) => offlineReason(m, clock.now)));\n const tooOldMachines = derived(() => fleetStore.visible.filter((m) => !offlineReason(m, clock.now) && blockedReason(m, clock.now)));\n const switchItems = derived(() => {\n const items = [];\n for (const card of cards()) {\n for (const place of card.places) {\n for (const row of place.rows) {\n const s = row.session;\n if (row.orchestrator || !s.tmux_target) continue;\n const target = s.tmux_target;\n items.push({\n id: `s:${place.key}:${s.id}`,\n kind: \"session\",\n title: rowTitle(row),\n detail: card.name,\n fields: [\n getSessionDisplayName(s),\n card.name,\n s.cwd,\n place.machine.server.hostname,\n s.maestro_issue\n ],\n machine: fleetStore.fleet ? markOf(place.machine) : null,\n state: indicatorStateOf(s),\n off: !reachable(place.machine),\n run: () => openSession(place.machine, target)\n });\n }\n }\n }\n for (const card of cards()) {\n items.push({\n id: `p:${card.key}`,\n kind: \"project\",\n title: card.name,\n detail: [\n ...new Set(card.places.map((p2) => p2.machine.server.hostname))\n ].join(\", \"),\n fields: [\n ...card.places.map((p2) => p2.root),\n ...card.places.map((p2) => p2.machine.server.hostname)\n ],\n tile: { initials: card.initials, hue: card.hue, icon: card.icon },\n run: () => {\n openProject(card.key);\n if (window.matchMedia(DRAWER_MEDIA_QUERY).matches) drawer.open = true;\n }\n });\n }\n for (const card of cards()) {\n for (const { place, past } of card.past) {\n items.push({\n id: `past:${place.key}:${past.id}`,\n kind: \"past\",\n title: pastLabel(past),\n // A getter, so only the rows drawn read the clock, not the whole list each second.\n get detail() {\n return `${card.name} · ${formatAgo(past.lastActivity, clock.now)}`;\n },\n fields: [\n past.prompt,\n past.title,\n past.cwd,\n past.branch,\n card.name,\n place.machine.server.hostname\n ],\n machine: fleetStore.fleet ? markOf(place.machine) : null,\n off: !reachable(place.machine),\n run: () => openPast(place.machine, past)\n });\n }\n }\n const rank = (it) => it.kind === \"past\" ? 4 : it.kind === \"project\" ? 3 : it.state === \"waiting\" || it.state === \"permission\" ? 0 : it.state === \"busy\" || it.state === \"done\" ? 1 : 2;\n return items.sort((a, b) => rank(a) - rank(b));\n });\n function machineWants(machine) {\n if (!machine.online) return false;\n return machine.sessions.some((s) => s.pane_alive !== false && wantsHuman(s));\n }\n function detectPaneAgent(command) {\n const cmd = command.toLowerCase();\n for (const id of AGENT_IDS) if (cmd.includes(id)) return id;\n return null;\n }\n function refOf(machine, tmuxTarget) {\n return {\n host: machine.local ? null : machine.server.hostname,\n target: tmuxTarget\n };\n }\n function currentRef() {\n if (splitStore.active) return splitStore.pane(splitStore.focus);\n return current();\n }\n function openSession(machine, tmuxTarget, other = false) {\n const ref = refOf(machine, tmuxTarget);\n if (splitStore.active) {\n splitStore.openIn(other ? \"other\" : \"focus\", ref, currentRef());\n onSessionSelect?.();\n return;\n }\n if (other && current()) {\n splitStore.splitWith(ref, currentRef());\n onSessionSelect?.();\n return;\n }\n goToSession(machine, tmuxTarget);\n }\n function goToSession(machine, tmuxTarget, query2 = \"\") {\n goto(`${sessionPath(refOf(machine, tmuxTarget))}${query2}`);\n onSessionSelect?.();\n }\n function panelMenu(machine, tmuxTarget) {\n return PANES.map((pane) => ({\n label: `Open ${pane.label.toLowerCase()}`,\n icon: pane.icon,\n run: () => goToSession(machine, tmuxTarget, `?panel=${pane.kind}`)\n }));\n }\n function handleRowClick(e, machine, session) {\n e.preventDefault();\n if (e.detail >= 2 && machine.local) {\n renameId = session.id;\n return;\n }\n if (session.tmux_target) openSession(machine, session.tmux_target, e.altKey);\n }\n function paneTag(machine, tmuxTarget) {\n if (!tmuxTarget || !splitStore.active) return null;\n const side = splitStore.sideOf(refOf(machine, tmuxTarget));\n return side === \"a\" ? \"A\" : side === \"b\" ? \"B\" : null;\n }\n const canDrag = browser;\n function dragStart(e, machine, tmuxTarget) {\n if (!e.dataTransfer) return;\n e.dataTransfer.setData(\"text/claude-mux-session\", formatRef(refOf(machine, tmuxTarget)));\n e.dataTransfer.effectAllowed = \"link\";\n splitStore.dragging = true;\n }\n function dragEnd() {\n splitStore.dragging = false;\n }\n function killSessionReq(machine, s) {\n return fetch(`${apiBase(machine)}/api/sessions/${encodeURIComponent(s.id)}/kill`, {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n body: JSON.stringify({ pid: s.pid, tmux_target: s.tmux_target })\n });\n }\n function killSession(machine, s) {\n showConfirm(\"Kill session\", `Kill “${getSessionDisplayName(s)}”?`, () => {\n void killSessionReq(machine, s);\n });\n }\n async function newSessionInProject(machine, cwd, agent = \"claude\", prompt) {\n const res = await fetch(`${apiBase(machine)}/api/projects/new-session`, {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n body: JSON.stringify({ cwd, agent, prompt })\n });\n const data = await res.json();\n if (!data.ok) {\n alert(`Failed to create session: ${data.detail || data.error || \"Unknown error\"}`);\n return;\n }\n if (machine.local) {\n sessionStore.saveProject(cwd);\n if (data.record) sessionStore.optimisticAdd(data.record);\n }\n const tmuxTarget = data.tmuxTarget || data.session + \":0.0\";\n if (!machine.local && agent !== \"claude\") {\n window.location.href = `${machine.server.url}/session/${encodeURIComponent(tmuxTarget)}`;\n return;\n }\n openSession(machine, tmuxTarget);\n }\n const pickerFolders = derived(() => {\n if (!showFolderBrowser) return [];\n const out = [];\n for (const project of fleetProjects()) {\n for (const { machineId, root } of project.places) {\n const place = fleetPlaces().get(machineId).get(root);\n const live = place.rows.filter((r) => !r.orchestrator).map((r) => r.session);\n const { name, ...tile } = projectTile(project, [root]);\n out.push({\n machineId,\n root,\n project: project.key,\n name,\n live: live.length,\n // A settled session can still come to want a person, as its tile says.\n wants: [...live, ...place.settled].some(wantsHuman),\n machine: place.machine,\n state: mostUrgent(live.map(indicatorStateOf)),\n only: live.length === 1 ? live[0].tmux_target : null,\n tile\n });\n }\n }\n return out;\n });\n function goToFolder(folder) {\n if (folder.only) {\n openSession(folder.machine, folder.only);\n return;\n }\n if (!cards().some((c) => c.key === folder.project)) fleetStore.select(\"all\");\n openProject(folder.project);\n if (window.matchMedia(DRAWER_MEDIA_QUERY).matches) drawer.open = true;\n }\n async function closeChrome() {\n await fetch(\"/api/chrome\", { method: \"DELETE\" });\n }\n const RESET_KEEP_KEYS = /* @__PURE__ */ new Set([STORAGE_KEYS.lastSession]);\n function resetLocalStorage() {\n showConfirm(\"Reset local data\", \"This clears preferences and cached data in this browser. Your projects stay on the server. The page will reload.\", () => {\n for (let i = localStorage.length - 1; i >= 0; i--) {\n const key = localStorage.key(i);\n if (key && key.startsWith(\"claude-mux-\") && !RESET_KEEP_KEYS.has(key)) {\n localStorage.removeItem(key);\n }\n }\n window.location.reload();\n });\n }\n const menuActions = derived(() => [\n {\n label: \"Usage\",\n icon: \"mdi:chart-line\",\n run: () => void goto()\n },\n {\n label: \"Close Chrome\",\n icon: \"mdi:google-chrome\",\n run: () => void closeChrome()\n },\n {\n label: \"Refresh\",\n icon: \"mdi:refresh\",\n run: () => location.reload()\n },\n {\n label: sessionStore.paused ? \"Resume updates\" : \"Pause updates\",\n icon: sessionStore.paused ? \"mdi:play\" : \"mdi:pause\",\n run: () => sessionStore.togglePause(),\n variant: sessionStore.paused ? \"destructive\" : \"secondary\"\n },\n // Only offered when the server says where it stands; an older one does not.\n ...sessionStore.settings ? [\n {\n label: sessionStore.settings.autoRemoteControl ? \"Remote Control on new sessions: on\" : \"Remote Control on new sessions: off\",\n icon: sessionStore.settings.autoRemoteControl ? \"mdi:cellphone-link\" : \"mdi:cellphone-link-off\",\n run: () => sessionStore.setSetting({ autoRemoteControl: !sessionStore.settings?.autoRemoteControl })\n }\n ] : [],\n {\n label: \"Reset data\",\n icon: \"mdi:database-refresh\",\n run: () => resetLocalStorage(),\n danger: true\n }\n ]);\n function sessionRow($$renderer3, machine, row, marked, offline) {\n if (row.worker) {\n $$renderer3.push(`<!--[0--><div class=\"thread worker svelte-183q6rw\">`);\n rowWithAgents($$renderer3, machine, row, marked, offline);\n $$renderer3.push(`<!----></div> `);\n if (row.trailing) {\n $$renderer3.push(\"<!--[0-->\");\n agentThread($$renderer3, machine, row.trailing, agentsOf(row.trailing));\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]-->`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n rowWithAgents($$renderer3, machine, row, marked, offline);\n }\n $$renderer3.push(`<!--]-->`);\n }\n function agentThread($$renderer3, machine, s, agents) {\n if (agents.rows.length > 0 && s.tmux_target) {\n $$renderer3.push(`<!--[0--><div class=\"thread agents svelte-183q6rw\"><!--[-->`);\n const each_array = ensure_array_like(agents.rows);\n for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n let agent = each_array[$$index];\n const href = agentHref(machine, s.tmux_target, agent.id);\n SubagentRow($$renderer3, {\n agent,\n href,\n active: store_get($$store_subs ??= {}, \"$page\", page).url.pathname === href\n });\n }\n $$renderer3.push(`<!--]--></div>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]-->`);\n }\n function rowWithAgents($$renderer3, machine, row, marked, offline) {\n const s = row.session;\n const agents = agentsOf(s);\n const isActive2 = isCurrent(machine, s.tmux_target);\n const draftKey = s.tmux_target && !isActive2 ? formatRef(refOf(machine, s.tmux_target)) : null;\n {\n let meta = function($$renderer4) {\n DiffBadge($$renderer4, { changes: s.changes });\n };\n SessionRow($$renderer3, {\n session: s,\n title: rowTitle(row),\n where: rowWhere(row, agents),\n href: sessionPath(refOf(machine, s.tmux_target ?? \"\")),\n hint: machine.local ? \"Double-click or long-press to rename\" : `On ${machine.server.hostname}`,\n active: isActive2,\n tag: paneTag(machine, s.tmux_target),\n orchestrator: row.orchestrator,\n worker: row.worker,\n draft: draftKey ? draftsStore.preview(draftKey) : \"\",\n staged: draftKey ? attachmentsStore.count(draftKey) : 0,\n draggable: canDrag,\n onkill: machine.local && !compact ? () => killSession(machine, s) : null,\n onmarkunread: isActive2 || paneTag(machine, s.tmux_target) ? null : () => postVisit(apiBase(machine), s.id, true),\n onclick: (e) => handleRowClick(e, machine, s),\n onlongpress: () => {\n if (machine.local) renameId = s.id;\n },\n ondragstart: (e) => {\n dragged = { machine, session: s };\n if (s.tmux_target) dragStart(e, machine, s.tmux_target);\n },\n ondragend: () => {\n dragged = null;\n dropOn = null;\n dragEnd();\n },\n menu: [\n ...s.tmux_target && !splitStore.active ? panelMenu(machine, s.tmux_target) : [],\n isSettled(machine, s.id) ? {\n label: \"Un-settle\",\n icon: \"mdi:tray-arrow-up\",\n run: () => setSettled(machine, s.id, false)\n } : {\n label: \"Settle\",\n icon: \"mdi:tray-arrow-down\",\n run: () => settle(machine, s.id)\n }\n ],\n machine: marked ? markOf(machine) : null,\n offline,\n meta\n });\n }\n $$renderer3.push(`<!----> `);\n if (!row.workers) {\n $$renderer3.push(\"<!--[0-->\");\n agentThread($$renderer3, machine, s, agents);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]-->`);\n }\n function paneRow($$renderer3, machine, pane, marked, offline) {\n const isActive2 = isCurrent(machine, pane.target);\n const detected = detectPaneAgent(pane.command || \"\");\n const meta = detected ? AGENTS[detected] : null;\n const mark = marked ? markOf(machine) : null;\n $$renderer3.push(`<a${attr(\"href\", sessionPath(refOf(machine, pane.target)))}${attr_class(\"row svelte-183q6rw\", void 0, { \"cur\": isActive2 })}${attr(\"title\", [\n pane.title,\n pane.cwd,\n machine.local ? null : `On ${machine.server.hostname}`\n ].filter(Boolean).join(\" · \"))}${attr(\"draggable\", \"false\")}><span class=\"st svelte-183q6rw\"><iconify-icon${attr(\"icon\", meta?.icon ?? \"mdi:console-line\")}${attr_style(meta ? `color:${meta.color}` : \"\")} class=\"svelte-183q6rw\"></iconify-icon></span> <span class=\"name mono svelte-183q6rw\">${escape_html(pane.target)}</span> <span class=\"meta svelte-183q6rw\">`);\n if (mark) {\n $$renderer3.push(`<!--[0--><span class=\"mach svelte-183q6rw\"${attr_style(`--m:${stringify(mark.color)}`)}${attr(\"title\", mark.name)}>${escape_html(mark.letter)}</span>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--> <span class=\"when svelte-183q6rw\">${escape_html(offline ?? meta?.label ?? pane.command)}</span></span> <span class=\"ctx none svelte-183q6rw\"></span></a>`);\n }\n function placeRows($$renderer3, place, marked, extras) {\n const offline = blockedReason(place.machine, clock.now);\n $$renderer3.push(`<div${attr_class(\"place svelte-183q6rw\", void 0, { \"off\": !!offline })}${attr(\"inert\", !!offline, true)}><!--[-->`);\n const each_array_1 = ensure_array_like(place.rows);\n for (let $$index_1 = 0, $$length = each_array_1.length; $$index_1 < $$length; $$index_1++) {\n let row = each_array_1[$$index_1];\n sessionRow($$renderer3, place.machine, row, marked, offline);\n }\n $$renderer3.push(`<!--]--> `);\n if (extras) {\n $$renderer3.push(`<!--[0--><!--[-->`);\n const each_array_2 = ensure_array_like(place.panes);\n for (let $$index_2 = 0, $$length = each_array_2.length; $$index_2 < $$length; $$index_2++) {\n let pane = each_array_2[$$index_2];\n paneRow($$renderer3, place.machine, pane, marked, offline);\n }\n $$renderer3.push(`<!--]--> `);\n if (place.dead.length > 0) {\n $$renderer3.push(`<!--[0--><div class=\"dead svelte-183q6rw\"><span class=\"n svelte-183q6rw\">${escape_html(place.dead.length)}</span> ${escape_html(place.dead.length === 1 ? \"closed session\" : \"closed sessions\")}`);\n if (marked) {\n $$renderer3.push(`<!--[0-->on ${escape_html(place.label)}`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--> `);\n if (place.machine.local) {\n $$renderer3.push(`<!--[0--><button type=\"button\" class=\"sweep svelte-183q6rw\">clear</button>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--></div>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]-->`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--></div>`);\n }\n function groupHead($$renderer3, card) {\n $$renderer3.push(`<button type=\"button\" class=\"ghead svelte-183q6rw\"${attr(\"title\", card.where)}>`);\n ProjectTile($$renderer3, {\n initials: card.initials,\n hue: card.hue,\n icon: card.icon,\n size: 18\n });\n $$renderer3.push(`<!----> <span class=\"gname svelte-183q6rw\">${escape_html(card.name)}</span></button>`);\n }\n function offlineLines($$renderer3, machines) {\n $$renderer3.push(`<!--[-->`);\n const each_array_3 = ensure_array_like(machines.filter((m) => tooOldMachines().includes(m)));\n for (let $$index_3 = 0, $$length = each_array_3.length; $$index_3 < $$length; $$index_3++) {\n let machine = each_array_3[$$index_3];\n const why = blockedReason(machine, clock.now);\n $$renderer3.push(`<div class=\"offline svelte-183q6rw\" role=\"status\"><iconify-icon icon=\"mdi:update\" class=\"svelte-183q6rw\"></iconify-icon> <span class=\"why svelte-183q6rw\"${attr(\"title\", why)}>${escape_html(why)}</span> `);\n Button($$renderer3, {\n variant: \"outline\",\n size: \"sm\",\n class: \"try\",\n href: \"/machines\",\n children: ($$renderer4) => {\n $$renderer4.push(`<!---->Machines`);\n },\n $$slots: { default: true }\n });\n $$renderer3.push(`<!----></div>`);\n }\n $$renderer3.push(`<!--]--> <!--[-->`);\n const each_array_4 = ensure_array_like(machines.filter((m) => offlineMachines().includes(m)));\n for (let $$index_4 = 0, $$length = each_array_4.length; $$index_4 < $$length; $$index_4++) {\n let machine = each_array_4[$$index_4];\n $$renderer3.push(`<div class=\"offline svelte-183q6rw\" role=\"status\"><iconify-icon icon=\"mdi:lan-disconnect\" class=\"svelte-183q6rw\"></iconify-icon> <span class=\"why svelte-183q6rw\">${escape_html(offlineReason(machine, clock.now))}</span> `);\n if (machine.retryAt && machine.retryAt > clock.now) {\n $$renderer3.push(`<!--[0--><span class=\"next svelte-183q6rw\">retry in ${escape_html(Math.ceil((machine.retryAt - clock.now) / 1e3))}s</span>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--> `);\n Button($$renderer3, {\n variant: \"outline\",\n size: \"sm\",\n class: \"try\",\n onclick: () => void fleetStore.retry(machine),\n children: ($$renderer4) => {\n $$renderer4.push(`<!---->Try now`);\n },\n $$slots: { default: true }\n });\n $$renderer3.push(`<!----></div>`);\n }\n $$renderer3.push(`<!--]-->`);\n }\n function newSessions($$renderer3, card) {\n $$renderer3.push(`<div class=\"newrow svelte-183q6rw\"><!--[-->`);\n const each_array_5 = ensure_array_like(card.places.filter((p2) => p2.root !== NO_FOLDER));\n for (let $$index_5 = 0, $$length = each_array_5.length; $$index_5 < $$length; $$index_5++) {\n let place = each_array_5[$$index_5];\n const off = blockedReason(place.machine, clock.now);\n $$renderer3.push(`<button type=\"button\" class=\"newbtn svelte-183q6rw\"${attr(\"disabled\", !!off, true)}${attr(\"title\", off ?? `${place.root} · right-click or hold for another agent`)}><iconify-icon icon=\"mdi:plus\" class=\"svelte-183q6rw\"></iconify-icon> New session `);\n if (card.places.length > 1) {\n $$renderer3.push(`<!--[0--><span class=\"on svelte-183q6rw\">on</span> `);\n if (card.spans) {\n $$renderer3.push(\"<!--[0-->\");\n const m = markOf(place.machine);\n $$renderer3.push(`<span class=\"mach svelte-183q6rw\"${attr_style(`--m:${stringify(m.color)}`)}>${escape_html(m.letter)}</span>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--> <span class=\"where svelte-183q6rw\">${escape_html(place.label)}</span>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--></button>`);\n }\n $$renderer3.push(`<!--]--></div>`);\n }\n function projectView($$renderer3, card) {\n const closed = card.places.filter((p2) => p2.machine.local).reduce((n2, p2) => n2 + p2.dead.length, 0);\n $$renderer3.push(`<div class=\"rhead svelte-183q6rw\">`);\n ProjectTile($$renderer3, {\n initials: card.initials,\n hue: card.hue,\n icon: card.icon,\n size: 30\n });\n $$renderer3.push(`<!----> <div class=\"rtext svelte-183q6rw\"><div class=\"rname svelte-183q6rw\"${attr(\"title\", card.where)}>${escape_html(card.name)}</div> <div class=\"rsub svelte-183q6rw\">${escape_html([\n card.live > 0 ? `${card.live} session${card.live === 1 ? \"\" : \"s\"}` : \"\",\n [...new Set(card.places.map((p2) => machineLabel(p2.machine)))].join(\", \")\n ].filter(Boolean).join(\" · \"))}</div></div> `);\n if (Popover) {\n $$renderer3.push(\"<!--[-->\");\n Popover($$renderer3, {\n open: projectMenu === card.key,\n onOpenChange: (o) => projectMenu = o ? card.key : null,\n children: ($$renderer4) => {\n if (Popover_trigger) {\n $$renderer4.push(\"<!--[-->\");\n Popover_trigger($$renderer4, {\n class: \"ghost\",\n title: \"Project actions\",\n children: ($$renderer5) => {\n $$renderer5.push(`<iconify-icon icon=\"mdi:dots-horizontal\" class=\"svelte-183q6rw\"></iconify-icon>`);\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n $$renderer4.push(` `);\n if (Popover_content) {\n $$renderer4.push(\"<!--[-->\");\n Popover_content($$renderer4, {\n class: \"menu pmenu\",\n align: \"end\",\n sideOffset: 6,\n children: ($$renderer5) => {\n $$renderer5.push(`<div class=\"qhead svelte-183q6rw\"><b class=\"svelte-183q6rw\">${escape_html(card.name)}</b> <!--[-->`);\n const each_array_6 = ensure_array_like(card.places);\n for (let $$index_6 = 0, $$length = each_array_6.length; $$index_6 < $$length; $$index_6++) {\n let place = each_array_6[$$index_6];\n $$renderer5.push(`<span class=\"qpath svelte-183q6rw\">${escape_html(place.root)}`);\n if (card.spans || !place.machine.local) {\n $$renderer5.push(`<!--[0-->· ${escape_html(place.machine.server.hostname)}`);\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--></span>`);\n }\n $$renderer5.push(`<!--]--></div> <!--[-->`);\n const each_array_7 = ensure_array_like(card.reachable);\n for (let $$index_8 = 0, $$length = each_array_7.length; $$index_8 < $$length; $$index_8++) {\n let place = each_array_7[$$index_8];\n $$renderer5.push(`<!--[-->`);\n const each_array_8 = ensure_array_like(AGENT_IDS.filter((id) => id !== \"claude\"));\n for (let $$index_7 = 0, $$length2 = each_array_8.length; $$index_7 < $$length2; $$index_7++) {\n let id = each_array_8[$$index_7];\n const meta = AGENTS[id];\n $$renderer5.push(`<button type=\"button\" class=\"mitem svelte-183q6rw\"><iconify-icon${attr(\"icon\", meta.icon)}${attr_style(`color: ${stringify(meta.color)};`)} class=\"svelte-183q6rw\"></iconify-icon>New ${escape_html(meta.label)} session`);\n if (card.places.length > 1) {\n $$renderer5.push(`<!--[0-->on ${escape_html(place.label)}`);\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--></button>`);\n }\n $$renderer5.push(`<!--]-->`);\n }\n $$renderer5.push(`<!--]--> <span class=\"msep svelte-183q6rw\"></span> `);\n if (closed > 0) {\n $$renderer5.push(`<!--[0--><button type=\"button\" class=\"mitem svelte-183q6rw\"><iconify-icon icon=\"mdi:broom\" class=\"svelte-183q6rw\"></iconify-icon>Clear ${escape_html(closed)} closed session${escape_html(closed === 1 ? \"\" : \"s\")}</button>`);\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--> <button type=\"button\" class=\"mitem svelte-183q6rw\"><iconify-icon icon=\"mdi:content-copy\" class=\"svelte-183q6rw\"></iconify-icon>Copy path</button> <button type=\"button\" class=\"mitem danger svelte-183q6rw\"><iconify-icon icon=\"mdi:close\" class=\"svelte-183q6rw\"></iconify-icon>Close project</button>`);\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n $$renderer3.push(`</div> `);\n offlineLines($$renderer3, [...new Set(card.places.map((p2) => p2.machine))]);\n $$renderer3.push(`<!----> <div${attr_class(\"livezone svelte-183q6rw\", void 0, { \"drop\": dropOn === \"live\" })} role=\"list\"><!--[-->`);\n const each_array_9 = ensure_array_like(card.places);\n for (let $$index_9 = 0, $$length = each_array_9.length; $$index_9 < $$length; $$index_9++) {\n let place = each_array_9[$$index_9];\n placeRows($$renderer3, place, card.spans, true);\n }\n $$renderer3.push(`<!--]--> `);\n if (card.quiet) {\n $$renderer3.push(`<!--[0--><div class=\"nothing svelte-183q6rw\">Nothing running here.</div>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--></div> `);\n newSessions($$renderer3, card);\n $$renderer3.push(`<!----> `);\n settledSection($$renderer3, card);\n $$renderer3.push(`<!---->`);\n }\n function settledSection($$renderer3, card) {\n const settledRows = card.places.flatMap((place) => place.settled.map((session) => ({ place, session })));\n const past = card.past;\n const open = settledOpen.has(card.key);\n const shown = settledAll.has(card.key) ? past : past.slice(0, SETTLED_SHOWN);\n if (settledRows.length + past.length > 0 || dragged) {\n $$renderer3.push(`<!--[0--><section class=\"settled svelte-183q6rw\" aria-label=\"Settled\"><button type=\"button\"${attr_class(\"shead svelte-183q6rw\", void 0, { \"drop\": dropOn === \"settled\" })}${attr(\"aria-expanded\", open)}><iconify-icon${attr_class(\"chev svelte-183q6rw\", void 0, { \"open\": open })} icon=\"mdi:chevron-right\"></iconify-icon> Settled <span class=\"n svelte-183q6rw\">${escape_html(settledRows.length + past.length)}</span> `);\n if (dropOn === \"settled\") {\n $$renderer3.push(`<!--[0--><span class=\"hint svelte-183q6rw\">Drop to settle</span>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--></button> `);\n if (open) {\n $$renderer3.push(`<!--[0--><!--[-->`);\n const each_array_10 = ensure_array_like(settledRows);\n for (let $$index_10 = 0, $$length = each_array_10.length; $$index_10 < $$length; $$index_10++) {\n let { place, session } = each_array_10[$$index_10];\n const offline = blockedReason(place.machine, clock.now);\n $$renderer3.push(`<div${attr_class(\"place svelte-183q6rw\", void 0, { \"off\": !!offline })}${attr(\"inert\", !!offline, true)}>`);\n rowWithAgents(\n $$renderer3,\n place.machine,\n {\n session,\n rel: relPath(session.cwd, place.root),\n orchestrator: false\n },\n card.spans,\n offline\n );\n $$renderer3.push(`<!----></div>`);\n }\n $$renderer3.push(`<!--]--> <!--[-->`);\n const each_array_11 = ensure_array_like(shown);\n for (let $$index_11 = 0, $$length = each_array_11.length; $$index_11 < $$length; $$index_11++) {\n let { place, past: p2 } = each_array_11[$$index_11];\n const off = !reachable(place.machine);\n const m = markOf(place.machine);\n if (Context_menu) {\n $$renderer3.push(\"<!--[-->\");\n Context_menu($$renderer3, {\n children: ($$renderer4) => {\n {\n let child = function($$renderer5, { props }) {\n $$renderer5.push(`<a${attributes(\n {\n ...props,\n href: pastHref(place.machine, p2),\n class: \"row past\",\n title: off ? `${pastLabel(p2)} · resume when ${machineLabel(place.machine)} is back` : `${pastLabel(p2)}${p2.branch ? ` · ${p2.branch}` : \"\"}`\n },\n \"svelte-183q6rw\",\n { off }\n )}><span class=\"st svelte-183q6rw\"><iconify-icon icon=\"mdi:history\" class=\"svelte-183q6rw\"></iconify-icon></span> <span class=\"name svelte-183q6rw\">${escape_html(pastLabel(p2))}</span> <span class=\"meta svelte-183q6rw\">`);\n if (card.spans || !place.machine.local) {\n $$renderer5.push(`<!--[0--><span class=\"mach svelte-183q6rw\"${attr_style(`--m:${stringify(m.color)}`)}${attr(\"title\", m.name)}>${escape_html(m.letter)}</span>`);\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--> <span class=\"when svelte-183q6rw\">${escape_html(formatAgo(p2.lastActivity, clock.now))}</span></span> <span class=\"ctx none svelte-183q6rw\"></span> `);\n if (off) {\n $$renderer5.push(`<!--[0--><span class=\"later svelte-183q6rw\">resume when it's back</span>`);\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--></a>`);\n };\n if (Context_menu_trigger) {\n $$renderer4.push(\"<!--[-->\");\n Context_menu_trigger($$renderer4, { child, $$slots: { child: true } });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n }\n $$renderer4.push(` `);\n if (Context_menu_content) {\n $$renderer4.push(\"<!--[-->\");\n Context_menu_content($$renderer4, {\n children: ($$renderer5) => {\n if (Context_menu_item) {\n $$renderer5.push(\"<!--[-->\");\n Context_menu_item($$renderer5, {\n onSelect: () => openPast(place.machine, p2),\n children: ($$renderer6) => {\n $$renderer6.push(`<iconify-icon icon=\"mdi:text-box-outline\" class=\"svelte-183q6rw\"></iconify-icon>Read`);\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n $$renderer5.push(` `);\n if (Context_menu_item) {\n $$renderer5.push(\"<!--[-->\");\n Context_menu_item($$renderer5, {\n disabled: off,\n onSelect: () => void resume(place.machine, p2),\n children: ($$renderer6) => {\n $$renderer6.push(`<iconify-icon icon=\"mdi:play-outline\" class=\"svelte-183q6rw\"></iconify-icon>Resume`);\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n $$renderer3.push(`<!--]--> `);\n if (past.length > shown.length) {\n $$renderer3.push(`<!--[0--><button type=\"button\" class=\"more svelte-183q6rw\">${escape_html(past.length - shown.length)} more</button>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]-->`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--></section>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]-->`);\n }\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n $$renderer3.push(`<div${attr_class(\"panel svelte-183q6rw\", void 0, { \"compact\": compact })}><header class=\"head svelte-183q6rw\">`);\n MachineFilter($$renderer3, { live: liveCount, wants: machineWants });\n $$renderer3.push(`<!----> `);\n if (Popover) {\n $$renderer3.push(\"<!--[-->\");\n Popover($$renderer3, {\n get open() {\n return menuOpen;\n },\n set open($$value) {\n menuOpen = $$value;\n $$settled = false;\n },\n children: ($$renderer4) => {\n if (Popover_trigger) {\n $$renderer4.push(\"<!--[-->\");\n Popover_trigger($$renderer4, {\n class: \"ghost\",\n title: \"More\",\n children: ($$renderer5) => {\n $$renderer5.push(`<iconify-icon icon=\"mdi:dots-horizontal\"></iconify-icon>`);\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n $$renderer4.push(` `);\n if (Popover_content) {\n $$renderer4.push(\"<!--[-->\");\n Popover_content($$renderer4, {\n class: \"menu\",\n align: \"end\",\n sideOffset: 6,\n children: ($$renderer5) => {\n $$renderer5.push(`<!--[-->`);\n const each_array_12 = ensure_array_like(menuActions());\n for (let $$index_12 = 0, $$length = each_array_12.length; $$index_12 < $$length; $$index_12++) {\n let action = each_array_12[$$index_12];\n $$renderer5.push(`<button type=\"button\"${attr_class(\"mitem svelte-183q6rw\", void 0, { \"danger\": action.danger })}><iconify-icon${attr(\"icon\", action.icon)} class=\"svelte-183q6rw\"></iconify-icon>${escape_html(action.label)}</button>`);\n }\n $$renderer5.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n $$renderer3.push(` <button type=\"button\" class=\"new svelte-183q6rw\" title=\"Open a folder as a project\"><iconify-icon icon=\"mdi:plus\" class=\"svelte-183q6rw\"></iconify-icon>New</button></header> <label class=\"search svelte-183q6rw\"><iconify-icon icon=\"mdi:magnify\" class=\"svelte-183q6rw\"></iconify-icon> <input${attr(\"value\", query)} type=\"search\" placeholder=\"Filter sessions, projects, machines, #issues\" autocomplete=\"off\" class=\"svelte-183q6rw\"/> <button type=\"button\" class=\"kbd svelte-183q6rw\" title=\"Jump to a session or project\">Ctrl K</button></label> <div class=\"railwrap svelte-183q6rw\">`);\n ProjectRail($$renderer3, {\n tiles: tiles(),\n selected: query.trim() ? \"\" : chosen() ? chosen().key : \"active\",\n activeBadge: activeBadge()\n });\n $$renderer3.push(`<!----> <div class=\"railmain svelte-183q6rw\">`);\n if (query.trim()) {\n $$renderer3.push(\"<!--[0-->\");\n if (found().length === 0) {\n $$renderer3.push(`<!--[0--><div class=\"empty svelte-183q6rw\">Nothing matches “${escape_html(query)}”.</div>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--> <!--[-->`);\n const each_array_13 = ensure_array_like(found());\n for (let $$index_14 = 0, $$length = each_array_13.length; $$index_14 < $$length; $$index_14++) {\n let { card, places } = each_array_13[$$index_14];\n $$renderer3.push(`<section class=\"group svelte-183q6rw\">`);\n groupHead($$renderer3, card);\n $$renderer3.push(`<!----> <!--[-->`);\n const each_array_14 = ensure_array_like(places);\n for (let $$index_13 = 0, $$length2 = each_array_14.length; $$index_13 < $$length2; $$index_13++) {\n let place = each_array_14[$$index_13];\n placeRows($$renderer3, place, card.spans, false);\n }\n $$renderer3.push(`<!--]--></section>`);\n }\n $$renderer3.push(`<!--]-->`);\n } else if (chosen()) {\n $$renderer3.push(\"<!--[1-->\");\n projectView($$renderer3, chosen());\n } else {\n $$renderer3.push(`<!--[-1--><div class=\"rhead svelte-183q6rw\"><span class=\"bolt svelte-183q6rw\"><iconify-icon icon=\"mdi:lightning-bolt-outline\"></iconify-icon></span> <div class=\"rtext svelte-183q6rw\"><div class=\"rname svelte-183q6rw\">Active</div> <div class=\"rsub svelte-183q6rw\">wants you, working, just finished</div></div></div> `);\n NeedsYou($$renderer3, {\n machines: fleetStore.visible,\n fleet: fleetStore.fleet\n });\n $$renderer3.push(`<!----> `);\n offlineLines($$renderer3, fleetStore.visible);\n $$renderer3.push(`<!----> <!--[-->`);\n const each_array_15 = ensure_array_like(activeGroups());\n for (let $$index_16 = 0, $$length = each_array_15.length; $$index_16 < $$length; $$index_16++) {\n let { card, places } = each_array_15[$$index_16];\n $$renderer3.push(`<section class=\"group svelte-183q6rw\">`);\n groupHead($$renderer3, card);\n $$renderer3.push(`<!----> <!--[-->`);\n const each_array_16 = ensure_array_like(places);\n for (let $$index_15 = 0, $$length2 = each_array_16.length; $$index_15 < $$length2; $$index_15++) {\n let place = each_array_16[$$index_15];\n placeRows($$renderer3, place, card.spans, false);\n }\n $$renderer3.push(`<!--]--></section>`);\n }\n $$renderer3.push(`<!--]--> `);\n if (activeGroups().length === 0) {\n $$renderer3.push(`<!--[0--><div class=\"empty svelte-183q6rw\">`);\n if (cards().length === 0) {\n $$renderer3.push(`<!--[0-->No projects yet. <button type=\"button\" class=\"link svelte-183q6rw\">Open a folder</button> to start.`);\n } else {\n $$renderer3.push(`<!--[-1-->Nothing is going on. Pick a project on the rail.`);\n }\n $$renderer3.push(`<!--]--></div>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]-->`);\n }\n $$renderer3.push(`<!--]--></div></div></div> `);\n QuickSwitch($$renderer3, {\n items: switchItems(),\n get open() {\n return quickSwitch.open;\n },\n set open($$value) {\n quickSwitch.open = $$value;\n $$settled = false;\n }\n });\n $$renderer3.push(`<!----> `);\n FolderPicker($$renderer3, {\n machines: fleetStore.machines,\n folders: pickerFolders(),\n markOf: (id) => marks().get(id) ?? null,\n onpick: (machine, cwd) => void newSessionInProject(machine, cwd),\n ongoto: goToFolder,\n get open() {\n return showFolderBrowser;\n },\n set open($$value) {\n showFolderBrowser = $$value;\n $$settled = false;\n }\n });\n $$renderer3.push(`<!----> `);\n if (Dialog) {\n $$renderer3.push(\"<!--[-->\");\n Dialog($$renderer3, {\n open: agentPicker !== null,\n onOpenChange: (o) => {\n if (!o) agentPicker = null;\n },\n children: ($$renderer4) => {\n if (Dialog_content) {\n $$renderer4.push(\"<!--[-->\");\n Dialog_content($$renderer4, {\n class: \"max-w-sm\",\n children: ($$renderer5) => {\n if (Dialog_header) {\n $$renderer5.push(\"<!--[-->\");\n Dialog_header($$renderer5, {\n children: ($$renderer6) => {\n if (Dialog_title) {\n $$renderer6.push(\"<!--[-->\");\n Dialog_title($$renderer6, {\n children: ($$renderer7) => {\n $$renderer7.push(`<!---->New session`);\n },\n $$slots: { default: true }\n });\n $$renderer6.push(\"<!--]-->\");\n } else {\n $$renderer6.push(\"<!--[!-->\");\n $$renderer6.push(\"<!--]-->\");\n }\n $$renderer6.push(` `);\n if (Dialog_description) {\n $$renderer6.push(\"<!--[-->\");\n Dialog_description($$renderer6, {\n children: ($$renderer7) => {\n if (agentPicker) {\n $$renderer7.push(`<!--[0-->In ${escape_html(agentPicker.cwd)}`);\n if (!agentPicker.machine.local) {\n $$renderer7.push(`<!--[0-->on ${escape_html(agentPicker.machine.server.hostname)}`);\n } else {\n $$renderer7.push(\"<!--[-1-->\");\n }\n $$renderer7.push(`<!--]-->.`);\n } else {\n $$renderer7.push(\"<!--[-1-->\");\n }\n $$renderer7.push(`<!--]--> Choose which agent to launch.`);\n },\n $$slots: { default: true }\n });\n $$renderer6.push(\"<!--]-->\");\n } else {\n $$renderer6.push(\"<!--[!-->\");\n $$renderer6.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n $$renderer5.push(` <div class=\"agent-choices svelte-183q6rw\"><!--[-->`);\n const each_array_17 = ensure_array_like(AGENT_IDS);\n for (let $$index_17 = 0, $$length = each_array_17.length; $$index_17 < $$length; $$index_17++) {\n let id = each_array_17[$$index_17];\n const meta = AGENTS[id];\n $$renderer5.push(`<button class=\"agent-choice svelte-183q6rw\"><iconify-icon${attr(\"icon\", meta.icon)}${attr_style(`color: ${stringify(meta.color)};`)} class=\"svelte-183q6rw\"></iconify-icon> <div class=\"agent-choice-text\"><div class=\"agent-choice-name svelte-183q6rw\">${escape_html(meta.label)}</div> <div class=\"agent-choice-cmd svelte-183q6rw\">${escape_html(meta.command)}</div></div></button>`);\n }\n $$renderer5.push(`<!--]--></div> `);\n if (agentPicker?.card) {\n $$renderer5.push(`<!--[0--><button type=\"button\" class=\"agent-remove svelte-183q6rw\"><iconify-icon icon=\"mdi:close\"></iconify-icon> Remove ${escape_html(agentPicker.card.name)} from the list</button>`);\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n $$renderer3.push(` `);\n RenameSessionDialog($$renderer3, { sessionId: renameId, onClose: () => renameId = null });\n $$renderer3.push(`<!----> `);\n if (Alert_dialog) {\n $$renderer3.push(\"<!--[-->\");\n Alert_dialog($$renderer3, {\n get open() {\n return alertOpen;\n },\n set open($$value) {\n alertOpen = $$value;\n $$settled = false;\n },\n children: ($$renderer4) => {\n if (Alert_dialog_content) {\n $$renderer4.push(\"<!--[-->\");\n Alert_dialog_content($$renderer4, {\n children: ($$renderer5) => {\n if (Alert_dialog_header) {\n $$renderer5.push(\"<!--[-->\");\n Alert_dialog_header($$renderer5, {\n children: ($$renderer6) => {\n if (Alert_dialog_title) {\n $$renderer6.push(\"<!--[-->\");\n Alert_dialog_title($$renderer6, {\n children: ($$renderer7) => {\n $$renderer7.push(`<!---->${escape_html(alertTitle)}`);\n },\n $$slots: { default: true }\n });\n $$renderer6.push(\"<!--]-->\");\n } else {\n $$renderer6.push(\"<!--[!-->\");\n $$renderer6.push(\"<!--]-->\");\n }\n $$renderer6.push(` `);\n if (Alert_dialog_description) {\n $$renderer6.push(\"<!--[-->\");\n Alert_dialog_description($$renderer6, {\n children: ($$renderer7) => {\n $$renderer7.push(`<!---->${escape_html(alertMessage)}`);\n },\n $$slots: { default: true }\n });\n $$renderer6.push(\"<!--]-->\");\n } else {\n $$renderer6.push(\"<!--[!-->\");\n $$renderer6.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n $$renderer5.push(` `);\n if (Alert_dialog_footer) {\n $$renderer5.push(\"<!--[-->\");\n Alert_dialog_footer($$renderer5, {\n children: ($$renderer6) => {\n if (Alert_dialog_cancel) {\n $$renderer6.push(\"<!--[-->\");\n Alert_dialog_cancel($$renderer6, {\n children: ($$renderer7) => {\n $$renderer7.push(`<!---->Cancel`);\n },\n $$slots: { default: true }\n });\n $$renderer6.push(\"<!--]-->\");\n } else {\n $$renderer6.push(\"<!--[!-->\");\n $$renderer6.push(\"<!--]-->\");\n }\n $$renderer6.push(` `);\n if (Alert_dialog_action) {\n $$renderer6.push(\"<!--[-->\");\n Alert_dialog_action($$renderer6, {\n onclick: () => {\n alertOnConfirm();\n alertOpen = false;\n },\n class: \"bg-destructive text-destructive-foreground hover:bg-destructive/90\",\n children: ($$renderer7) => {\n $$renderer7.push(`<!---->Confirm`);\n },\n $$slots: { default: true }\n });\n $$renderer6.push(\"<!--]-->\");\n } else {\n $$renderer6.push(\"<!--[!-->\");\n $$renderer6.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n if ($$store_subs) unsubscribe_stores($$store_subs);\n });\n}\nfunction ScreenshotsPanel($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { sessionId, screenshots } = $$props;\n let viewingScreenshot = null;\n let touchStartX = 0;\n let touchCurrentX = 0;\n let isSwiping = false;\n async function dismissScreenshot(path) {\n await fetch(`/api/sessions/${encodeURIComponent(sessionId)}/screenshots?path=${encodeURIComponent(path)}`, { method: \"DELETE\" });\n if (viewingScreenshot === path) {\n viewingScreenshot = null;\n }\n }\n function closeModal() {\n viewingScreenshot = null;\n resetSwipe();\n }\n function getFilename(path) {\n return path.split(\"/\").pop() || path;\n }\n function resetSwipe() {\n isSwiping = false;\n touchStartX = 0;\n touchCurrentX = 0;\n }\n const swipeOffset = derived(() => isSwiping ? Math.min(0, touchCurrentX - touchStartX) : 0);\n if (Popover) {\n $$renderer2.push(\"<!--[-->\");\n Popover($$renderer2, {\n children: ($$renderer3) => {\n if (Popover_trigger) {\n $$renderer3.push(\"<!--[-->\");\n Popover_trigger($$renderer3, {\n class: \"icon-button shots-trigger\",\n title: \"Screenshots of this session\",\n \"aria-label\": `Screenshots: ${stringify(screenshots.length)}`,\n children: ($$renderer4) => {\n $$renderer4.push(`<iconify-icon icon=\"mdi:image-multiple-outline\"></iconify-icon> <span class=\"shots-count\">${escape_html(screenshots.length)}</span>`);\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n $$renderer3.push(` `);\n if (Popover_content) {\n $$renderer3.push(\"<!--[-->\");\n Popover_content($$renderer3, {\n side: \"top\",\n align: \"start\",\n sideOffset: 8,\n class: \"w-64 max-w-[85vw] border-[#333] bg-[#1a1a1a] p-2\",\n children: ($$renderer4) => {\n if (screenshots.length === 0) {\n $$renderer4.push(`<!--[0--><p class=\"empty svelte-i8iwb7\">No screenshots</p>`);\n } else {\n $$renderer4.push(`<!--[-1--><div class=\"screenshots-grid svelte-i8iwb7\"><!--[-->`);\n const each_array = ensure_array_like(screenshots);\n for (let i = 0, $$length = each_array.length; i < $$length; i++) {\n let screenshot = each_array[i];\n $$renderer4.push(`<div class=\"screenshot-item svelte-i8iwb7\"><button class=\"thumbnail svelte-i8iwb7\"${attr(\"title\", getFilename(screenshot.path))}><img${attr(\"src\", `/api/files/image?path=${stringify(encodeURIComponent(screenshot.path))}`)}${attr(\"alt\", getFilename(screenshot.path))} loading=\"lazy\" class=\"svelte-i8iwb7\"/></button> `);\n Button($$renderer4, {\n variant: \"ghost\",\n size: \"icon-sm\",\n class: \"dismiss-btn\",\n onclick: () => dismissScreenshot(screenshot.path),\n title: \"Dismiss screenshot\",\n children: ($$renderer5) => {\n $$renderer5.push(`<iconify-icon icon=\"mdi:close\"></iconify-icon>`);\n },\n $$slots: { default: true }\n });\n $$renderer4.push(`<!----></div>`);\n }\n $$renderer4.push(`<!--]--></div>`);\n }\n $$renderer4.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer2.push(\"<!--]-->\");\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(\"<!--]-->\");\n }\n $$renderer2.push(` `);\n if (viewingScreenshot) {\n $$renderer2.push(`<!--[0--><div class=\"modal-overlay svelte-i8iwb7\" role=\"dialog\" aria-modal=\"true\" tabindex=\"-1\"><div class=\"modal-content svelte-i8iwb7\"${attr_style(`transform: translateX(${stringify(swipeOffset())}px)`)} role=\"document\"><img${attr(\"src\", `/api/files/image?path=${stringify(encodeURIComponent(viewingScreenshot))}`)}${attr(\"alt\", getFilename(viewingScreenshot))} class=\"modal-image svelte-i8iwb7\"/> <div class=\"modal-actions svelte-i8iwb7\">`);\n Button($$renderer2, {\n variant: \"secondary\",\n size: \"sm\",\n onclick: (e) => e.target === e.currentTarget && closeModal(),\n class: \"modal-btn\",\n children: ($$renderer3) => {\n $$renderer3.push(`<iconify-icon icon=\"mdi:close\"></iconify-icon> <span>Close</span>`);\n },\n $$slots: { default: true }\n });\n $$renderer2.push(`<!----> `);\n Button($$renderer2, {\n variant: \"destructive\",\n size: \"sm\",\n onclick: () => dismissScreenshot(viewingScreenshot),\n class: \"modal-btn\",\n children: ($$renderer3) => {\n $$renderer3.push(`<iconify-icon icon=\"mdi:delete\"></iconify-icon> <span>Delete</span>`);\n },\n $$slots: { default: true }\n });\n $$renderer2.push(`<!----></div> <div class=\"swipe-hint svelte-i8iwb7\"><iconify-icon icon=\"mdi:gesture-swipe-left\"></iconify-icon> <span>Swipe left to close</span></div></div></div>`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]-->`);\n });\n}\nfunction spendCoverage(machines) {\n const missing = machines.filter((m) => !m.ok).map((m) => m.hostname);\n return { answered: machines.length - missing.length, total: machines.length, missing };\n}\nfunction pushUnavailable() {\n if (!window.isSecureContext) return \"Push needs HTTPS. Open claude-mux through tailscale serve.\";\n const ios = /iPhone|iPad|iPod/.test(navigator.userAgent);\n const standalone = window.matchMedia(\"(display-mode: standalone)\").matches;\n if (ios && !standalone) return \"On iPhone and iPad, add claude-mux to the Home Screen (Share → Add to Home Screen) and open it from there.\";\n if (!(\"serviceWorker\" in navigator) || !(\"PushManager\" in window) || typeof Notification === \"undefined\") {\n return \"This browser has no Web Push.\";\n }\n return null;\n}\nfunction bar($$renderer, meter) {\n $$renderer.push(`<span class=\"meter svelte-uooa92\"${attr(\"title\", meter.title)}><span class=\"reading svelte-uooa92\"><span class=\"tag svelte-uooa92\">${escape_html(meter.tag)}</span> <span class=\"val svelte-uooa92\"${attr_style(\"\", { color: meter.color })}>${escape_html(Math.round(meter.percent))}%</span></span> <span class=\"track svelte-uooa92\" role=\"img\"${attr(\"aria-label\", meter.title)}><span class=\"fill svelte-uooa92\"${attr_style(`width: ${stringify(Math.min(100, Math.max(0, meter.percent)))}%; background: ${stringify(meter.color)}`)}></span></span></span>`);\n}\nfunction SidebarMeters($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { lead } = $$props;\n const SPARK_DAYS = 14;\n const PLAN_UNAVAILABLE = \"Plan limits unavailable. Open Usage for the reason.\";\n const dayOf = makeDayFormatter(hostTimeZone());\n const summary = derived(() => usageStore.summary);\n const quota = derived(() => usageStore.quota);\n const today = derived(() => usageStore.today);\n const stats = derived(() => sessionStore.systemStats);\n function shortLabel(label) {\n const text = label.toLowerCase();\n if (text.includes(\"session\")) return \"5h\";\n const model = text.match(/(opus|sonnet|haiku|fable|mythos)/)?.[1];\n if (model) return model.slice(0, 3);\n if (text.includes(\"week\")) return \"wk\";\n return text.replace(/\\s*limit$/, \"\").split(/\\s+/)[0];\n }\n const plan = derived(() => (quota()?.available ? quota().limits : []).map((limit) => ({\n key: limit.kind,\n tag: shortLabel(limit.label),\n percent: limit.percent,\n // The server grades plan limits itself, and the sidebar shows that\n // grade: recomputing here is how the two start disagreeing.\n color: SEVERITY[limit.severity].color,\n title: `${limit.label}: ${Math.round(limit.percent)}%`\n })));\n const system = derived(() => {\n const rows = [\n [\"cpu\", stats().cpu, severityForPercent(stats().cpu)],\n [\"ram\", stats().ram, severityForPercent(stats().ram)]\n ];\n if (stats().disk !== null) rows.push([\n \"dsk\",\n stats().disk,\n severityForPercent(stats().disk, \"disk\")\n ]);\n if (stats().swapTotal > 0) rows.push([\"swp\", stats().swap, severityForPercent(stats().swap)]);\n return rows.map(([tag, percent, severity]) => ({\n key: tag,\n tag,\n percent,\n color: SEVERITY[severity].color,\n title: `${tag === \"dsk\" ? \"Disk (home)\" : tag.toUpperCase()}: ${Math.round(percent)}%`\n }));\n });\n const origin = derived(() => {\n const marks = machineMarks(fleetStore.machines.map((m) => ({ id: machineKey(m), name: machineName(m) })));\n const self = fleetStore.machines.find((m) => m.local);\n return self ? marks.get(machineKey(self)) : void 0;\n });\n const coverage = derived(() => summary() ? spendCoverage(summary().machines) : null);\n function dayKey(offset) {\n return dayOf(Date.now() - offset * 864e5);\n }\n const spark = derived(() => {\n if (!summary()) return [];\n const byDate = new Map(summary().days.map((d) => [d.date, d.costUsd]));\n const out = [];\n for (let i = SPARK_DAYS - 1; i >= 0; i--) {\n const date = dayKey(i);\n out.push({ date, cost: byDate.get(date) ?? 0 });\n }\n return out;\n });\n const peak = derived(() => Math.max(1e-9, ...spark().map((d) => d.cost)));\n const MODES = [\n {\n value: \"off\",\n label: \"Off\",\n title: \"No system notifications or sounds\"\n },\n {\n value: \"notifications\",\n label: \"Notify\",\n title: \"System notifications while this window is in the background\"\n },\n {\n value: \"sound\",\n label: \"Sound\",\n title: \"A sound when a session needs you or finishes\"\n },\n {\n value: \"both\",\n label: \"Both\",\n title: \"System notifications and sounds\"\n }\n ];\n let requesting = false;\n const pushBlocked = typeof window === \"undefined\" ? null : pushUnavailable();\n function settings($$renderer3) {\n $$renderer3.push(`<div class=\"settings svelte-uooa92\"><div class=\"alerts-row svelte-uooa92\"><span class=\"alerts-label\" id=\"alerts-label\">Alerts</span> <div class=\"segmented svelte-uooa92\" role=\"radiogroup\" aria-labelledby=\"alerts-label\"><!--[-->`);\n const each_array = ensure_array_like(MODES);\n for (let $$index_3 = 0, $$length = each_array.length; $$index_3 < $$length; $$index_3++) {\n let m = each_array[$$index_3];\n $$renderer3.push(`<button type=\"button\" role=\"radio\"${attr(\"aria-checked\", preferences.notificationMode === m.value)}${attr(\"title\", m.title)}${attr(\"disabled\", requesting, true)}${attr_class(\"svelte-uooa92\", void 0, { \"on\": preferences.notificationMode === m.value })}>${escape_html(m.label)}</button>`);\n }\n $$renderer3.push(`<!--]--></div></div> `);\n {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--> <div class=\"alerts-row svelte-uooa92\"><span class=\"alerts-label\" id=\"push-label\" title=\"Notifications on this device with claude-mux closed, sent by the server\">Push</span> <div class=\"segmented svelte-uooa92\" role=\"radiogroup\" aria-labelledby=\"push-label\"><!--[-->`);\n const each_array_1 = ensure_array_like([false, true]);\n for (let $$index_4 = 0, $$length = each_array_1.length; $$index_4 < $$length; $$index_4++) {\n let on = each_array_1[$$index_4];\n $$renderer3.push(`<button type=\"button\" role=\"radio\"${attr(\"aria-checked\", false === on)}${attr(\"disabled\", !!pushBlocked, true)}${attr_class(\"svelte-uooa92\", void 0, { \"on\": false === on })}>${escape_html(on ? \"This device\" : \"Off\")}</button>`);\n }\n $$renderer3.push(`<!--]--></div></div> `);\n if (pushBlocked) {\n $$renderer3.push(`<!--[0--><p class=\"alerts-note svelte-uooa92\">${escape_html(pushBlocked)}</p>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--> `);\n {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--> <div class=\"toggles svelte-uooa92\"><label class=\"toggle-row svelte-uooa92\" title=\"A toast in this page when another session needs you or finishes\"><input type=\"checkbox\"${attr(\"checked\", preferences.inAppToasts, true)} class=\"svelte-uooa92\"/> <span>In-page toasts</span></label> `);\n {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--></div></div>`);\n }\n $$renderer2.push(`<div class=\"sidebar-meters svelte-uooa92\"><div class=\"top svelte-uooa92\">`);\n lead?.($$renderer2);\n $$renderer2.push(`<!----> <span class=\"top-end svelte-uooa92\"><a class=\"icon-button\" href=\"/usage\" title=\"Usage\" aria-label=\"Usage\"><iconify-icon icon=\"mdi:chart-box-outline\"></iconify-icon></a> `);\n if (Popover) {\n $$renderer2.push(\"<!--[-->\");\n Popover($$renderer2, {\n children: ($$renderer3) => {\n if (Popover_trigger) {\n $$renderer3.push(\"<!--[-->\");\n Popover_trigger($$renderer3, {\n class: \"icon-button\",\n title: \"Alerts and this device\",\n \"aria-label\": \"Alerts and this device\",\n children: ($$renderer4) => {\n $$renderer4.push(`<iconify-icon icon=\"mdi:cog-outline\"></iconify-icon> `);\n {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n $$renderer3.push(` `);\n if (Popover_content) {\n $$renderer3.push(\"<!--[-->\");\n Popover_content($$renderer3, {\n side: \"top\",\n align: \"end\",\n sideOffset: 8,\n class: \"w-72 max-w-[90vw] border-[#333] bg-[#1a1a1a] p-3\",\n children: ($$renderer4) => {\n settings($$renderer4);\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer2.push(\"<!--]-->\");\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(\"<!--]-->\");\n }\n $$renderer2.push(`</span></div> <div class=\"row svelte-uooa92\"><span class=\"label svelte-uooa92\">Plan</span> `);\n if (plan().length > 0) {\n $$renderer2.push(`<!--[0--><span class=\"bars svelte-uooa92\"><!--[-->`);\n const each_array_2 = ensure_array_like(plan());\n for (let $$index = 0, $$length = each_array_2.length; $$index < $$length; $$index++) {\n let meter = each_array_2[$$index];\n bar($$renderer2, meter);\n }\n $$renderer2.push(`<!--]--></span>`);\n } else if (quota() && !quota().available) {\n $$renderer2.push(`<!--[1--><a class=\"quiet svelte-uooa92\" href=\"/usage\"${attr(\"title\", PLAN_UNAVAILABLE)}>unavailable</a>`);\n } else {\n $$renderer2.push(`<!--[-1--><span class=\"quiet svelte-uooa92\">—</span>`);\n }\n $$renderer2.push(`<!--]--></div> <div class=\"row svelte-uooa92\"><span class=\"label machine svelte-uooa92\" title=\"The machine that served this page\"${attr_style(\"\", { color: origin()?.color })}>${escape_html(origin()?.name ?? \"this machine\")}</span> <span class=\"bars svelte-uooa92\"><!--[-->`);\n const each_array_3 = ensure_array_like(system());\n for (let $$index_1 = 0, $$length = each_array_3.length; $$index_1 < $$length; $$index_1++) {\n let meter = each_array_3[$$index_1];\n bar($$renderer2, meter);\n }\n $$renderer2.push(`<!--]--></span></div> `);\n if (spark().length > 0) {\n $$renderer2.push(`<!--[0--><div class=\"row spend-row svelte-uooa92\"><span class=\"label svelte-uooa92\">Spend</span> <span class=\"spend svelte-uooa92\"><span class=\"line svelte-uooa92\"><span class=\"figure svelte-uooa92\">${escape_html(today() === null ? \"—\" : money(today(), true))} <span class=\"tag svelte-uooa92\">today</span></span> `);\n if (coverage() && coverage().total > 1) {\n $$renderer2.push(`<!--[0--><span${attr_class(\"coverage svelte-uooa92\", void 0, { \"short\": coverage().answered < coverage().total })}${attr(\"title\", coverage().missing.length ? `No answer from ${coverage().missing.join(\", \")}` : \"Every machine answered\")}>${escape_html(coverage().answered)} of ${escape_html(coverage().total)} ${escape_html(coverage().total === 1 ? \"machine\" : \"machines\")}</span>`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--> <span class=\"figure svelte-uooa92\">${escape_html(money(summary().costUsd, true))} <span class=\"tag svelte-uooa92\">30d</span></span></span> <span class=\"ticks svelte-uooa92\" aria-hidden=\"true\"><!--[-->`);\n const each_array_4 = ensure_array_like(spark());\n for (let $$index_2 = 0, $$length = each_array_4.length; $$index_2 < $$length; $$index_2++) {\n let day = each_array_4[$$index_2];\n $$renderer2.push(`<span class=\"tick svelte-uooa92\"${attr(\"title\", `${stringify(day.date)}: ${stringify(money(day.cost, true))}`)}><span class=\"tick-fill svelte-uooa92\"${attr_style(`height: ${stringify(Math.max(8, day.cost / peak() * 100))}%`)}></span></span>`);\n }\n $$renderer2.push(`<!--]--></span></span></div>`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--></div>`);\n });\n}\nfunction SplitView($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { a, b } = $$props;\n const urlA = derived(() => paneUrl(a, fleetStore.servers(), selfName()));\n const urlB = derived(() => paneUrl(b, fleetStore.servers(), selfName()));\n const columns = derived(() => {\n if (splitStore.zoom === \"a\") return \"1fr 0 0\";\n if (splitStore.zoom === \"b\") return \"0 0 1fr\";\n const pct = Math.round(splitStore.ratio * 1e3) / 10;\n return `${pct}fr 6px ${100 - pct}fr`;\n });\n let resizing = false;\n function moveResize(e) {\n return;\n }\n function pane($$renderer3, side, ref, url, frame) {\n $$renderer3.push(`<section${attr_class(\"pane svelte-qscfzl\", void 0, {\n \"hidden\": splitStore.zoom !== null && splitStore.zoom !== side\n })}>`);\n if (frame === \"a\") {\n $$renderer3.push(`<!--[0--><iframe${attr(\"src\", url)}${attr(\"title\", ref.target)} allow=\"microphone; clipboard-read; clipboard-write\" class=\"svelte-qscfzl\"></iframe>`);\n } else {\n $$renderer3.push(`<!--[-1--><iframe${attr(\"src\", url)}${attr(\"title\", ref.target)} allow=\"microphone; clipboard-read; clipboard-write\" class=\"svelte-qscfzl\"></iframe>`);\n }\n $$renderer3.push(`<!--]--> `);\n if (splitStore.dragging) {\n $$renderer3.push(`<!--[0--><div class=\"drop svelte-qscfzl\" role=\"region\" aria-label=\"Drop a session here\">Replace this pane</div>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--> `);\n if (resizing) {\n $$renderer3.push(`<!--[0--><div class=\"shield svelte-qscfzl\"></div>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--></section>`);\n }\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n $$renderer3.push(`<div${attr_class(\"split svelte-qscfzl\", void 0, { \"dragging\": splitStore.dragging })}${attr_style(`grid-template-columns: ${stringify(columns())}`)}>`);\n pane($$renderer3, \"a\", a, urlA(), \"a\");\n $$renderer3.push(`<!----> <div${attr_class(\"divider-slot svelte-qscfzl\", void 0, { \"hidden\": splitStore.zoom !== null })}>`);\n ResizeDivider($$renderer3, {\n title: \"Drag to resize · double-click for 50/50\",\n onmove: moveResize,\n onreset: () => splitStore.setRatio(0.5),\n get resizing() {\n return resizing;\n },\n set resizing($$value) {\n resizing = $$value;\n $$settled = false;\n }\n });\n $$renderer3.push(`<!----></div> `);\n pane($$renderer3, \"b\", b, urlB(), \"b\");\n $$renderer3.push(`<!----></div>`);\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n });\n}\nfunction NotificationCoordinator($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n });\n}\nfunction Loader_circle($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { $$slots, $$events, ...props } = $$props;\n const iconNode = [[\"path\", { \"d\": \"M21 12a9 9 0 1 1-6.219-8.56\" }]];\n Icon($$renderer2, spread_props([\n { name: \"loader-circle\" },\n /**\n * @component @name LoaderCircle\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjEgMTJhOSA5IDAgMSAxLTYuMjE5LTguNTYiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/loader-circle\n * @see https://lucide.dev/guide/packages/lucide-svelte - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {FunctionalComponent} Svelte component\n *\n */\n props,\n {\n iconNode,\n children: ($$renderer3) => {\n props.children?.($$renderer3);\n $$renderer3.push(`<!---->`);\n },\n $$slots: { default: true }\n }\n ]));\n });\n}\nfunction Circle_check($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { $$slots, $$events, ...props } = $$props;\n const iconNode = [\n [\"circle\", { \"cx\": \"12\", \"cy\": \"12\", \"r\": \"10\" }],\n [\"path\", { \"d\": \"m9 12 2 2 4-4\" }]\n ];\n Icon($$renderer2, spread_props([\n { name: \"circle-check\" },\n /**\n * @component @name CircleCheck\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8cGF0aCBkPSJtOSAxMiAyIDIgNC00IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/circle-check\n * @see https://lucide.dev/guide/packages/lucide-svelte - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {FunctionalComponent} Svelte component\n *\n */\n props,\n {\n iconNode,\n children: ($$renderer3) => {\n props.children?.($$renderer3);\n $$renderer3.push(`<!---->`);\n },\n $$slots: { default: true }\n }\n ]));\n });\n}\nfunction Octagon_x($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { $$slots, $$events, ...props } = $$props;\n const iconNode = [\n [\"path\", { \"d\": \"m15 9-6 6\" }],\n [\n \"path\",\n {\n \"d\": \"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z\"\n }\n ],\n [\"path\", { \"d\": \"m9 9 6 6\" }]\n ];\n Icon($$renderer2, spread_props([\n { name: \"octagon-x\" },\n /**\n * @component @name OctagonX\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMTUgOS02IDYiIC8+CiAgPHBhdGggZD0iTTIuNTg2IDE2LjcyNkEyIDIgMCAwIDEgMiAxNS4zMTJWOC42ODhhMiAyIDAgMCAxIC41ODYtMS40MTRsNC42ODgtNC42ODhBMiAyIDAgMCAxIDguNjg4IDJoNi42MjRhMiAyIDAgMCAxIDEuNDE0LjU4Nmw0LjY4OCA0LjY4OEEyIDIgMCAwIDEgMjIgOC42ODh2Ni42MjRhMiAyIDAgMCAxLS41ODYgMS40MTRsLTQuNjg4IDQuNjg4YTIgMiAwIDAgMS0xLjQxNC41ODZIOC42ODhhMiAyIDAgMCAxLTEuNDE0LS41ODZ6IiAvPgogIDxwYXRoIGQ9Im05IDkgNiA2IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/octagon-x\n * @see https://lucide.dev/guide/packages/lucide-svelte - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {FunctionalComponent} Svelte component\n *\n */\n props,\n {\n iconNode,\n children: ($$renderer3) => {\n props.children?.($$renderer3);\n $$renderer3.push(`<!---->`);\n },\n $$slots: { default: true }\n }\n ]));\n });\n}\nfunction Info($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { $$slots, $$events, ...props } = $$props;\n const iconNode = [\n [\"circle\", { \"cx\": \"12\", \"cy\": \"12\", \"r\": \"10\" }],\n [\"path\", { \"d\": \"M12 16v-4\" }],\n [\"path\", { \"d\": \"M12 8h.01\" }]\n ];\n Icon($$renderer2, spread_props([\n { name: \"info\" },\n /**\n * @component @name Info\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8cGF0aCBkPSJNMTIgMTZ2LTQiIC8+CiAgPHBhdGggZD0iTTEyIDhoLjAxIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/info\n * @see https://lucide.dev/guide/packages/lucide-svelte - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {FunctionalComponent} Svelte component\n *\n */\n props,\n {\n iconNode,\n children: ($$renderer3) => {\n props.children?.($$renderer3);\n $$renderer3.push(`<!---->`);\n },\n $$slots: { default: true }\n }\n ]));\n });\n}\nfunction Triangle_alert($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { $$slots, $$events, ...props } = $$props;\n const iconNode = [\n [\n \"path\",\n {\n \"d\": \"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3\"\n }\n ],\n [\"path\", { \"d\": \"M12 9v4\" }],\n [\"path\", { \"d\": \"M12 17h.01\" }]\n ];\n Icon($$renderer2, spread_props([\n { name: \"triangle-alert\" },\n /**\n * @component @name TriangleAlert\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMjEuNzMgMTgtOC0xNGEyIDIgMCAwIDAtMy40OCAwbC04IDE0QTIgMiAwIDAgMCA0IDIxaDE2YTIgMiAwIDAgMCAxLjczLTMiIC8+CiAgPHBhdGggZD0iTTEyIDl2NCIgLz4KICA8cGF0aCBkPSJNMTIgMTdoLjAxIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/triangle-alert\n * @see https://lucide.dev/guide/packages/lucide-svelte - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {FunctionalComponent} Svelte component\n *\n */\n props,\n {\n iconNode,\n children: ($$renderer3) => {\n props.children?.($$renderer3);\n $$renderer3.push(`<!---->`);\n },\n $$slots: { default: true }\n }\n ]));\n });\n}\nfunction Sonner_1($$renderer, $$props) {\n let { $$slots, $$events, ...restProps } = $$props;\n {\n let loadingIcon = function($$renderer2) {\n Loader_circle($$renderer2, { class: \"size-4 animate-spin\" });\n }, successIcon = function($$renderer2) {\n Circle_check($$renderer2, { class: \"size-4 text-emerald-400\" });\n }, errorIcon = function($$renderer2) {\n Octagon_x($$renderer2, { class: \"size-4\" });\n }, infoIcon = function($$renderer2) {\n Info($$renderer2, { class: \"size-4\" });\n }, warningIcon = function($$renderer2) {\n Triangle_alert($$renderer2, { class: \"size-4 text-amber-400\" });\n };\n Toaster($$renderer, spread_props([\n {\n theme: \"dark\",\n class: \"toaster group\",\n style: \"--normal-bg: #151516; --normal-text: hsl(var(--foreground)); --normal-border: #2a2a2c; --border-radius: 14px;\"\n },\n restProps,\n {\n loadingIcon,\n successIcon,\n errorIcon,\n infoIcon,\n warningIcon,\n $$slots: {\n loadingIcon: true,\n successIcon: true,\n errorIcon: true,\n infoIcon: true,\n warningIcon: true\n }\n }\n ]));\n }\n}\nfunction _layout($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n var $$store_subs;\n let { children } = $$props;\n const embed = derived(() => store_get($$store_subs ??= {}, \"$page\", page).url.searchParams.has(\"embed\"));\n const route = derived(() => {\n const parsed = parseSessionPath(store_get($$store_subs ??= {}, \"$page\", page).url.pathname);\n return parsed && {\n ...parsed,\n ref: localRef(parsed.ref, fleetStore.servers(), selfName())\n };\n });\n const splitA = derived(() => route() && !route().ref.host ? parseRef(route().ref.target) : null);\n const splitB = derived(() => {\n const raw = store_get($$store_subs ??= {}, \"$page\", page).url.searchParams.get(\"with\");\n return raw ? parseRef(raw) : null;\n });\n const splitOn = derived(() => !embed() && splitA() !== null && splitB() !== null);\n const drawerOpen = derived(() => drawer.open);\n const narrow = new MediaQuery(DRAWER_MEDIA_QUERY);\n const drawerCovers = derived(() => drawerOpen() && narrow.current);\n const DEFAULT_WIDTH = 300;\n let sidebarWidth = DEFAULT_WIDTH;\n let isResizing = false;\n const showSidebar = derived(() => route() !== null || isPastPath(store_get($$store_subs ??= {}, \"$page\", page).url.pathname));\n const currentTarget = derived(() => route() && !route().ref.host && !route().rest ? route().ref.target : null);\n const viewing = derived(() => {\n if (splitOn()) return [\n splitA(),\n localRef(splitB(), fleetStore.servers(), selfName())\n ];\n return route() && !route().rest ? [route().ref] : [];\n });\n const currentSession = derived(() => sessionStore.sessions.find((s) => s.tmux_target === currentTarget() || s.id === currentTarget()));\n onDestroy(() => {\n sessionStore.disconnect();\n });\n function closeDrawer() {\n drawer.close();\n }\n head(\"12qhfyh\", $$renderer2, ($$renderer3) => {\n $$renderer3.push(`<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalable=no, viewport-fit=cover\"/> `);\n $$renderer3.push(`<script src=\"https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js\"><\\/script>`);\n });\n if (!embed()) {\n $$renderer2.push(\"<!--[0-->\");\n NotificationCoordinator($$renderer2, { viewing: viewing() });\n $$renderer2.push(`<!----> `);\n Sonner_1($$renderer2, { position: \"top-right\", closeButton: true });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--> `);\n if (showSidebar() && !embed()) {\n $$renderer2.push(`<!--[0--><div${attr_class(\"app-shell svelte-12qhfyh\", void 0, { \"resizing-any\": isResizing })}><aside${attr_class(\"sidebar svelte-12qhfyh\", void 0, { \"open\": drawerOpen(), \"resizing\": isResizing })}${attr_style(`--sidebar-width: ${stringify(sidebarWidth)}px`)}><div class=\"sidebar-content svelte-12qhfyh\">`);\n AllSessionsPanel($$renderer2, { compact: true, onSessionSelect: closeDrawer });\n $$renderer2.push(`<!----></div> `);\n {\n let lead = function($$renderer3) {\n if (currentSession()) {\n $$renderer3.push(\"<!--[0-->\");\n ScreenshotsPanel($$renderer3, {\n sessionId: currentSession().id,\n screenshots: currentSession().screenshots ?? []\n });\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]-->`);\n };\n SidebarMeters($$renderer2, { lead });\n }\n $$renderer2.push(`<!----> <div class=\"resize-handle svelte-12qhfyh\" role=\"separator\" aria-orientation=\"vertical\"></div></aside> <main class=\"content svelte-12qhfyh\"${attr(\"inert\", drawerCovers(), true)}>`);\n if (splitOn() && splitA() && splitB()) {\n $$renderer2.push(\"<!--[0-->\");\n SplitView($$renderer2, { a: splitA(), b: splitB() });\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n children($$renderer2);\n $$renderer2.push(`<!----> `);\n if (splitStore.dragging && splitA()) {\n $$renderer2.push(`<!--[0--><div class=\"split-drop svelte-12qhfyh\" role=\"region\" aria-label=\"Drop to open side by side\"><span>Open side by side</span></div>`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]-->`);\n }\n $$renderer2.push(`<!--]--></main> `);\n if (drawerOpen()) {\n $$renderer2.push(`<!--[0--><button class=\"backdrop svelte-12qhfyh\" aria-label=\"Close menu\"></button>`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--></div>`);\n } else if (embed()) {\n $$renderer2.push(`<!--[1--><div class=\"embed-shell svelte-12qhfyh\">`);\n children($$renderer2);\n $$renderer2.push(`<!----></div>`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n children($$renderer2);\n $$renderer2.push(`<!---->`);\n }\n $$renderer2.push(`<!--]-->`);\n if ($$store_subs) unsubscribe_stores($$store_subs);\n });\n}\nexport {\n _layout as default\n};\n//# sourceMappingURL=_layout.svelte.js.map\n"],"mappings":";;;;;;;;;;;;;;;AAWA,SAAS,KAAK,KAAK,OAAO,CAAC,GAAG;CAE1B,MAAM,IAAI,MAAM,qCAAqC;AAEzD;AACA,MAAM,kBAAkB;CACtB,MAAM,SAAS,WAAW,YAAY;CACtC,OAAO;;EAEL,MAAM,EACJ,WAAW,OAAO,KAAK,UACzB;;EAEA,YAAY,EACV,WAAW,OAAO,WAAW,UAC/B;;EAEA,SAAS,OAAO;CAClB;AACF;AACA,MAAM,OAAO,EACX,UAAU,IAAI;CAEZ,OADc,UAAU,CAAC,CAAC,KACb,UAAU,EAAE;AAC3B,EACF;AACA,MAAM,qBAAqB;AAC3B,IAAM,cAAN,MAAkB;CAChB,OAAO;CACP,SAAS;EACP,KAAK,OAAO,CAAC,KAAK;CACpB;CACA,QAAQ;EACN,KAAK,OAAO;CACd;AACF;AACA,MAAM,SAAS,IAAI,YAAY;AAC/B,MAAM,iBAAiB;CACrB;CACA;CACA;CACA;AACF;AACA,SAAS,eAAe;CACtB,IAAI,OAAO,kBAAkB,aAAa,OAAO;CACjD,KAAK,MAAM,KAAK,gBACd,IAAI,cAAc,gBAAgB,CAAC,GAAG,OAAO;CAE/C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AC;OAC5B,aAAa,eAAe,CAAC,CAAC,eAAe,CAAC;MAChD,CAAC;KACH,OACE,YAAY,KAAK,YAAY;KAE/B,YAAY,KAAK,UAAU;IAC7B;IACA,cAAc,aAAa,EAAE,KAAK,CAAC;GACrC;GACA,YAAY,KAAK,qJAAqJ,KAAK,SAAS,aAAa,GAAG,IAAI,EAAE,EAAE;GAC5M,IAAI,QAAQ,KAAK,OAAO,KAAK,OAAO,GAAG;IACrC,YAAY,KAAK,WAAW;IAC5B,UAAU,aAAa;KAAE,GAAG,OAAO;KAAG,GAAG,OAAO;IAAE,CAAC;GACrD,OAAO;IACL,YAAY,KAAK,YAAY;IAC7B,SAAS,WAAW;IACpB,YAAY,KAAK,UAAU;IAC3B,IAAI,WAAW,YAAY,OAAO,GAChC,YAAY,KAAK,2IAA2I;SAE5J,YAAY,KAAK,YAAY;IAE/B,YAAY,KAAK,UAAU;GAC7B;GACA,YAAY,KAAK,kBAAkB;GACnC,IAAI,WAAW,GACb,YAAY,KAAK,oFAAoF;QAErG,YAAY,KAAK,YAAY;GAE/B,YAAY,KAAK,gBAAgB;EACnC,OAAO,IAAI,MAAM,GAAG;GAClB,YAAY,KAAK,mDAAmD;GACpE,SAAS,WAAW;GACpB,YAAY,KAAK,eAAe;EAClC,OAAO;GACL,YAAY,KAAK,YAAY;GAC7B,SAAS,WAAW;GACpB,YAAY,KAAK,SAAS;EAC5B;EACA,YAAY,KAAK,UAAU;EAC3B,IAAI,cAAc,mBAAmB,YAAY;CACnD,CAAC;AACH"}
1
+ {"version":3,"file":"_layout.svelte-yrPX5VFm.js","names":["Context","Dialog_title","Dialog_overlay","Dialog_description","Context","getter","cn$1"],"sources":["../../../../web/.svelte-kit/adapter-bun/chunks/SessionStateIndicator.js","../../../../web/.svelte-kit/adapter-bun/chunks/alert-dialog-description.js","../../../../web/.svelte-kit/adapter-bun/chunks/ResizeDivider.js","../../../../web/.svelte-kit/adapter-bun/chunks/subagents.js","../../../../web/.svelte-kit/adapter-bun/chunks/past-resume.js","../../../../web/.svelte-kit/adapter-bun/entries/pages/_layout.svelte.js"],"sourcesContent":["import \"clsx\";\nimport \"@sveltejs/kit/internal\";\nimport \"./exports.js\";\nimport \"./utils2.js\";\nimport \"@sveltejs/kit/internal/server\";\nimport \"./root.js\";\nimport \"./state.svelte.js\";\nimport { g as getContext, b as browser, f as attr, k as attr_style, j as stringify, l as attr_class, d as derived } from \"./index.js\";\nimport { O as sessionApi, t as createPersisted } from \"./button.js\";\nimport { s as sessionStateVisual } from \"./session-notifications.js\";\nimport \"./badge.js\";\nfunction goto(url, opts = {}) {\n {\n throw new Error(\"Cannot call goto(...) on the server\");\n }\n}\nconst getStores = () => {\n const stores = getContext(\"__svelte__\");\n return {\n /** @type {typeof page} */\n page: {\n subscribe: stores.page.subscribe\n },\n /** @type {typeof navigating} */\n navigating: {\n subscribe: stores.navigating.subscribe\n },\n /** @type {typeof updated} */\n updated: stores.updated\n };\n};\nconst page = {\n subscribe(fn) {\n const store = getStores().page;\n return store.subscribe(fn);\n }\n};\nconst DRAWER_MEDIA_QUERY = \"(max-width: 768px)\";\nclass DrawerStore {\n open = false;\n toggle() {\n this.open = !this.open;\n }\n close() {\n this.open = false;\n }\n}\nconst drawer = new DrawerStore();\nconst PREFERRED_MIME = [\n \"audio/webm;codecs=opus\",\n \"audio/webm\",\n \"audio/ogg;codecs=opus\",\n \"audio/mp4\"\n];\nfunction pickMimeType() {\n if (typeof MediaRecorder === \"undefined\") return \"\";\n for (const m of PREFERRED_MIME) {\n if (MediaRecorder.isTypeSupported(m)) return m;\n }\n return \"\";\n}\nclass VoiceRecorder {\n stream = null;\n recorder = null;\n chunks = [];\n startedAt = 0;\n pending = null;\n audioCtx = null;\n analyser = null;\n timeBuf = null;\n gainNode = null;\n async start(deviceId, opts = {}) {\n if (this.recorder && this.recorder.state === \"recording\") {\n throw new Error(\"Already recording\");\n }\n const gain = Math.max(0.1, Math.min(10, opts.gain ?? 1));\n const useGainStage = gain !== 1;\n const noiseSuppression = opts.noiseSuppression ?? true;\n const audio = {\n echoCancellation: true,\n noiseSuppression,\n autoGainControl: true\n };\n if (deviceId) audio.deviceId = { exact: deviceId };\n let fellBackToDefault = false;\n try {\n this.stream = await navigator.mediaDevices.getUserMedia({ audio });\n } catch (err) {\n if (deviceId && err instanceof Error && err.name === \"OverconstrainedError\") {\n delete audio.deviceId;\n this.stream = await navigator.mediaDevices.getUserMedia({ audio });\n fellBackToDefault = true;\n } else {\n throw err;\n }\n }\n let recordStream = this.stream;\n try {\n const Ctor = window.AudioContext ?? window.webkitAudioContext;\n if (Ctor) {\n this.audioCtx = new Ctor();\n const source = this.audioCtx.createMediaStreamSource(this.stream);\n const analyser = this.audioCtx.createAnalyser();\n analyser.fftSize = 1024;\n analyser.smoothingTimeConstant = 0.4;\n if (useGainStage) {\n const gainNode = this.audioCtx.createGain();\n gainNode.gain.value = gain;\n const dest = this.audioCtx.createMediaStreamDestination();\n source.connect(gainNode);\n gainNode.connect(analyser);\n gainNode.connect(dest);\n this.gainNode = gainNode;\n recordStream = dest.stream;\n } else {\n source.connect(analyser);\n }\n this.analyser = analyser;\n this.timeBuf = new Float32Array(analyser.fftSize);\n }\n } catch {\n this.audioCtx = null;\n this.analyser = null;\n this.timeBuf = null;\n this.gainNode = null;\n recordStream = this.stream;\n }\n const mimeType = pickMimeType();\n const options = mimeType ? { mimeType } : {};\n this.recorder = new MediaRecorder(recordStream, options);\n this.chunks = [];\n this.startedAt = performance.now();\n this.recorder.ondataavailable = (e) => {\n if (e.data && e.data.size > 0) this.chunks.push(e.data);\n };\n this.recorder.onstop = () => {\n const used = this.recorder?.mimeType || mimeType || \"audio/webm\";\n const blob = new Blob(this.chunks, { type: used });\n const durationMs = performance.now() - this.startedAt;\n this.releaseStream();\n this.pending?.resolve({ blob, mimeType: used, durationMs });\n this.pending = null;\n };\n this.recorder.onerror = (ev) => {\n const err = ev.error ?? new Error(\"MediaRecorder error\");\n this.releaseStream();\n this.pending?.reject(err);\n this.pending = null;\n };\n this.recorder.start();\n return { fellBackToDefault };\n }\n async stop() {\n const rec = this.recorder;\n if (!rec || rec.state === \"inactive\") {\n throw new Error(\"Not recording\");\n }\n return new Promise((resolve, reject) => {\n this.pending = { resolve, reject };\n rec.stop();\n });\n }\n getLevel() {\n if (!this.analyser || !this.timeBuf) return null;\n this.analyser.getFloatTimeDomainData(this.timeBuf);\n let sumSq = 0;\n let peak = 0;\n for (let i = 0; i < this.timeBuf.length; i++) {\n const v = this.timeBuf[i];\n sumSq += v * v;\n const a = v < 0 ? -v : v;\n if (a > peak) peak = a;\n }\n const rms = Math.sqrt(sumSq / this.timeBuf.length);\n return { rms, peak };\n }\n releaseStream() {\n if (this.stream) {\n for (const t of this.stream.getTracks()) t.stop();\n this.stream = null;\n }\n if (this.audioCtx) {\n void this.audioCtx.close().catch(() => {\n });\n this.audioCtx = null;\n }\n this.analyser = null;\n this.timeBuf = null;\n this.gainNode = null;\n }\n}\nconst MIN_UTTERANCE_MS = 200;\nconst persisted = createPersisted(\"claude-mux-voice-settings\", {\n language: \"auto\",\n autoSubmit: true,\n deviceId: null,\n gain: 1,\n noiseSuppression: true\n});\nclass VoiceStore {\n status = \"idle\";\n error = null;\n startedAt = null;\n level = { rms: 0, peak: 0 };\n /** The session a take is for, as a ref: its target here, `host@target` on another machine. */\n ownerTarget = null;\n /**\n * Which field of that session asked for the take: null for the composer,\n * otherwise the id a question's own microphone gave itself. Only the field\n * that started a take may stop it, since the words are its to receive.\n */\n ownerField = null;\n prefs = persisted.load();\n recorder = null;\n inflightAbort = null;\n levelRaf = null;\n get supported() {\n return browser;\n }\n get unsupportedReason() {\n return null;\n }\n get isActive() {\n return this.status === \"recording\" || this.status === \"transcribing\";\n }\n isOwnedBy(target, field = null) {\n return target != null && this.ownerTarget === target && this.ownerField === field;\n }\n get language() {\n return this.prefs.language;\n }\n set language(v) {\n if (this.prefs.language === v) return;\n this.prefs.language = v;\n persisted.save(this.prefs);\n }\n get autoSubmit() {\n return this.prefs.autoSubmit;\n }\n set autoSubmit(v) {\n if (this.prefs.autoSubmit === v) return;\n this.prefs.autoSubmit = v;\n persisted.save(this.prefs);\n }\n get deviceId() {\n return this.prefs.deviceId;\n }\n set deviceId(v) {\n if (this.prefs.deviceId === v) return;\n this.prefs.deviceId = v;\n persisted.save(this.prefs);\n }\n get gain() {\n return this.prefs.gain;\n }\n set gain(v) {\n const clamped = Math.max(0.1, Math.min(10, v));\n if (this.prefs.gain === clamped) return;\n this.prefs.gain = clamped;\n persisted.save(this.prefs);\n }\n get noiseSuppression() {\n return this.prefs.noiseSuppression;\n }\n set noiseSuppression(v) {\n if (this.prefs.noiseSuppression === v) return;\n this.prefs.noiseSuppression = v;\n persisted.save(this.prefs);\n }\n async startRecording(target, field = null) {\n if (this.isActive) return;\n if (!this.supported) {\n this.fail(\"Voice not supported in this browser\");\n return;\n }\n if (!target) {\n this.fail(\"No target for voice recording\");\n return;\n }\n try {\n if (!this.recorder) this.recorder = new VoiceRecorder();\n const result = await this.recorder.start(this.deviceId, { gain: this.gain, noiseSuppression: this.noiseSuppression });\n if (result.fellBackToDefault && this.deviceId !== null) {\n this.deviceId = null;\n }\n this.ownerTarget = target;\n this.ownerField = field;\n this.status = \"recording\";\n this.error = null;\n this.startedAt = Date.now();\n this.startLevelLoop();\n } catch (err) {\n this.fail(err instanceof Error ? err.message : \"Microphone access denied\");\n }\n }\n startLevelLoop() {\n this.stopLevelLoop();\n const tick = () => {\n if (this.status !== \"recording\" || !this.recorder) {\n this.levelRaf = null;\n return;\n }\n const lvl = this.recorder.getLevel();\n if (lvl) this.level = lvl;\n this.levelRaf = requestAnimationFrame(tick);\n };\n this.levelRaf = requestAnimationFrame(tick);\n }\n stopLevelLoop() {\n if (this.levelRaf !== null) {\n cancelAnimationFrame(this.levelRaf);\n this.levelRaf = null;\n }\n this.level = { rms: 0, peak: 0 };\n }\n /**\n * End the take and resolve with what was said, or null when there is\n * nothing to show for it (too short, cancelled, or failed, in which case\n * `error` says why). The words are the caller's to place: this store\n * records and transcribes, and delivers nothing.\n */\n async stop() {\n if (this.status !== \"recording\" || !this.recorder) return null;\n const target = this.ownerTarget;\n if (!target) {\n this.fail(\"Voice owner missing\");\n return null;\n }\n this.stopLevelLoop();\n let result;\n try {\n result = await this.recorder.stop();\n } catch (err) {\n this.fail(err instanceof Error ? err.message : \"Recording failed\");\n return null;\n }\n if (this.status !== \"recording\") return null;\n if (result.blob.size === 0 || result.durationMs < MIN_UTTERANCE_MS) {\n this.release();\n return null;\n }\n this.status = \"transcribing\";\n this.startedAt = null;\n const ac = new AbortController();\n this.inflightAbort = ac;\n const qs = this.language === \"auto\" ? \"\" : `?lang=${this.language}`;\n try {\n const api = sessionApi(target);\n if (!api) throw new Error(\"Not a session\");\n const res = await fetch(`${api}/voice${qs}`, {\n method: \"POST\",\n headers: { \"Content-Type\": result.mimeType },\n body: result.blob,\n signal: ac.signal\n });\n if (!res.ok) {\n const body = await res.text().catch(() => \"\");\n throw new Error(body || `HTTP ${res.status}`);\n }\n const data = await res.json();\n this.release();\n const text = (data.text ?? \"\").trim();\n return text ? { text, command: data.command === true } : null;\n } catch (err) {\n if (ac.signal.aborted) {\n this.error = null;\n return null;\n }\n this.fail(err instanceof Error ? err.message : \"Transcription failed\");\n return null;\n } finally {\n if (this.inflightAbort === ac) this.inflightAbort = null;\n }\n }\n release() {\n this.status = \"idle\";\n this.startedAt = null;\n this.ownerTarget = null;\n this.ownerField = null;\n }\n cancelTranscribing() {\n if (this.status !== \"transcribing\" || !this.inflightAbort) return;\n this.release();\n this.inflightAbort.abort();\n }\n async cancelRecording() {\n if (this.status !== \"recording\" || !this.recorder) return;\n this.release();\n this.stopLevelLoop();\n try {\n await this.recorder.stop();\n } catch {\n }\n }\n async cancel() {\n if (this.status === \"recording\") {\n await this.cancelRecording();\n } else if (this.status === \"transcribing\") {\n this.cancelTranscribing();\n }\n }\n fail(message) {\n this.release();\n this.status = \"error\";\n this.error = message;\n }\n}\nconst voiceStore = new VoiceStore();\nfunction SessionStateIndicator($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { state, size = \"md\", title = null } = $$props;\n const visual = derived(() => sessionStateVisual(state));\n const px = derived(() => ({\n sm: { dot: 7, icon: 13 },\n md: { dot: 8, icon: 15 },\n lg: { dot: 12, icon: 18 }\n })[size]);\n const label = derived(() => title || visual().label);\n const phase = derived(() => visual().pulse ? -(Date.now() % 1600) : 0);\n if (visual().icon) {\n $$renderer2.push(`<!--[0--><iconify-icon class=\"state-icon svelte-hy3pce\"${attr(\"icon\", visual().icon)}${attr_style(`color: ${stringify(visual().color)}; font-size: ${stringify(px().icon)}px;`)} role=\"img\"${attr(\"aria-label\", label())}${attr(\"title\", title)}></iconify-icon>`);\n } else {\n $$renderer2.push(`<!--[-1--><span${attr_class(\"state-dot svelte-hy3pce\", void 0, { \"pulse-dot\": visual().pulse })}${attr_style(`background: ${stringify(visual().color)}; width: ${stringify(px().dot)}px; height: ${stringify(px().dot)}px; animation-delay: ${stringify(phase())}ms;`)} role=\"img\"${attr(\"aria-label\", label())}${attr(\"title\", title)}></span>`);\n }\n $$renderer2.push(`<!--]-->`);\n });\n}\nexport {\n DRAWER_MEDIA_QUERY as D,\n SessionStateIndicator as S,\n drawer as d,\n goto as g,\n page as p,\n voiceStore as v\n};\n//# sourceMappingURL=SessionStateIndicator.js.map\n","import { d as derived, c as bind_props, p as props_id, a as attributes, h as spread_props, m as clsx } from \"./index.js\";\nimport { P as PresenceManager, n as noop, F as Focus_scope, E as Escape_layer, c as Dismissible_layer, T as Text_selection_layer, S as Scroll_lock, h as Portal } from \"./scroll-lock.js\";\nimport { C as Context, d as boxWith, w as watch, Q as getDataOpenClosed, a as attachRef, V as getDataTransitionAttrs, f as boolToEmptyStrOrUndef, t as SPACE, E as ENTER, c as createBitsAttrs, b as createId, m as mergeProps } from \"./create-id.js\";\nimport { c as cn, Q as buttonVariants } from \"./button.js\";\nfunction afterSleep(ms, cb) {\n return setTimeout(cb, ms);\n}\nconst dialogAttrs = createBitsAttrs({\n component: \"dialog\",\n parts: [\n \"content\",\n \"trigger\",\n \"overlay\",\n \"title\",\n \"description\",\n \"close\",\n \"cancel\",\n \"action\"\n ]\n});\nconst DialogRootContext = new Context(\"Dialog.Root | AlertDialog.Root\");\nclass DialogRootState {\n static create(opts) {\n const parent = DialogRootContext.getOr(null);\n return DialogRootContext.set(new DialogRootState(opts, parent));\n }\n opts;\n triggerNode = null;\n contentNode = null;\n overlayNode = null;\n descriptionNode = null;\n contentId = void 0;\n titleId = void 0;\n triggerId = void 0;\n descriptionId = void 0;\n cancelNode = null;\n nestedOpenCount = 0;\n depth;\n parent;\n contentPresence;\n overlayPresence;\n constructor(opts, parent) {\n this.opts = opts;\n this.parent = parent;\n this.depth = parent ? parent.depth + 1 : 0;\n this.handleOpen = this.handleOpen.bind(this);\n this.handleClose = this.handleClose.bind(this);\n this.contentPresence = new PresenceManager({\n ref: boxWith(() => this.contentNode),\n open: this.opts.open,\n enabled: true,\n onComplete: () => {\n this.opts.onOpenChangeComplete.current(this.opts.open.current);\n }\n });\n this.overlayPresence = new PresenceManager({\n ref: boxWith(() => this.overlayNode),\n open: this.opts.open,\n enabled: true\n });\n watch(\n () => this.opts.open.current,\n (isOpen) => {\n if (!this.parent) return;\n if (isOpen) {\n this.parent.incrementNested();\n } else {\n this.parent.decrementNested();\n }\n },\n { lazy: true }\n );\n }\n handleOpen() {\n if (this.opts.open.current) return;\n this.opts.open.current = true;\n }\n handleClose() {\n if (!this.opts.open.current) return;\n this.opts.open.current = false;\n }\n getBitsAttr = (part) => {\n return dialogAttrs.getAttr(part, this.opts.variant.current);\n };\n incrementNested() {\n this.nestedOpenCount++;\n this.parent?.incrementNested();\n }\n decrementNested() {\n if (this.nestedOpenCount === 0) return;\n this.nestedOpenCount--;\n this.parent?.decrementNested();\n }\n #sharedProps = derived(() => ({ \"data-state\": getDataOpenClosed(this.opts.open.current) }));\n get sharedProps() {\n return this.#sharedProps();\n }\n set sharedProps($$value) {\n return this.#sharedProps($$value);\n }\n}\nclass DialogCloseState {\n static create(opts) {\n return new DialogCloseState(opts, DialogRootContext.get());\n }\n opts;\n root;\n attachment;\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.attachment = attachRef(this.opts.ref);\n this.onclick = this.onclick.bind(this);\n this.onkeydown = this.onkeydown.bind(this);\n }\n onclick(e) {\n if (this.opts.disabled.current) return;\n if (e.button > 0) return;\n this.root.handleClose();\n }\n onkeydown(e) {\n if (this.opts.disabled.current) return;\n if (e.key === SPACE || e.key === ENTER) {\n e.preventDefault();\n this.root.handleClose();\n }\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n [this.root.getBitsAttr(this.opts.variant.current)]: \"\",\n onclick: this.onclick,\n onkeydown: this.onkeydown,\n disabled: this.opts.disabled.current ? true : void 0,\n tabindex: 0,\n ...this.root.sharedProps,\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass DialogActionState {\n static create(opts) {\n return new DialogActionState(opts, DialogRootContext.get());\n }\n opts;\n root;\n attachment;\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.attachment = attachRef(this.opts.ref);\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n [this.root.getBitsAttr(\"action\")]: \"\",\n ...this.root.sharedProps,\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass DialogTitleState {\n static create(opts) {\n return new DialogTitleState(opts, DialogRootContext.get());\n }\n opts;\n root;\n attachment;\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.root.titleId = this.opts.id.current;\n this.attachment = attachRef(this.opts.ref);\n watch.pre(() => this.opts.id.current, (id) => {\n this.root.titleId = id;\n });\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n role: \"heading\",\n \"aria-level\": this.opts.level.current,\n [this.root.getBitsAttr(\"title\")]: \"\",\n ...this.root.sharedProps,\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass DialogDescriptionState {\n static create(opts) {\n return new DialogDescriptionState(opts, DialogRootContext.get());\n }\n opts;\n root;\n attachment;\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.root.descriptionId = this.opts.id.current;\n this.attachment = attachRef(this.opts.ref, (v) => {\n this.root.descriptionNode = v;\n });\n watch.pre(() => this.opts.id.current, (id) => {\n this.root.descriptionId = id;\n });\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n [this.root.getBitsAttr(\"description\")]: \"\",\n ...this.root.sharedProps,\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass DialogContentState {\n static create(opts) {\n return new DialogContentState(opts, DialogRootContext.get());\n }\n opts;\n root;\n attachment;\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.attachment = attachRef(this.opts.ref, (v) => {\n this.root.contentNode = v;\n this.root.contentId = v?.id;\n });\n }\n #snippetProps = derived(() => ({ open: this.root.opts.open.current }));\n get snippetProps() {\n return this.#snippetProps();\n }\n set snippetProps($$value) {\n return this.#snippetProps($$value);\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n role: this.root.opts.variant.current === \"alert-dialog\" ? \"alertdialog\" : \"dialog\",\n \"aria-modal\": \"true\",\n \"aria-describedby\": this.root.descriptionId,\n \"aria-labelledby\": this.root.titleId,\n [this.root.getBitsAttr(\"content\")]: \"\",\n style: {\n pointerEvents: \"auto\",\n outline: this.root.opts.variant.current === \"alert-dialog\" ? \"none\" : void 0,\n \"--bits-dialog-depth\": this.root.depth,\n \"--bits-dialog-nested-count\": this.root.nestedOpenCount,\n contain: \"layout style\"\n },\n tabindex: this.root.opts.variant.current === \"alert-dialog\" ? -1 : void 0,\n \"data-nested-open\": boolToEmptyStrOrUndef(this.root.nestedOpenCount > 0),\n \"data-nested\": boolToEmptyStrOrUndef(this.root.parent !== null),\n ...getDataTransitionAttrs(this.root.contentPresence.transitionStatus),\n ...this.root.sharedProps,\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n get shouldRender() {\n return this.root.contentPresence.shouldRender;\n }\n}\nclass DialogOverlayState {\n static create(opts) {\n return new DialogOverlayState(opts, DialogRootContext.get());\n }\n opts;\n root;\n attachment;\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.attachment = attachRef(this.opts.ref, (v) => this.root.overlayNode = v);\n }\n #snippetProps = derived(() => ({ open: this.root.opts.open.current }));\n get snippetProps() {\n return this.#snippetProps();\n }\n set snippetProps($$value) {\n return this.#snippetProps($$value);\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n [this.root.getBitsAttr(\"overlay\")]: \"\",\n style: {\n pointerEvents: \"auto\",\n \"--bits-dialog-depth\": this.root.depth,\n \"--bits-dialog-nested-count\": this.root.nestedOpenCount\n },\n \"data-nested-open\": boolToEmptyStrOrUndef(this.root.nestedOpenCount > 0),\n \"data-nested\": boolToEmptyStrOrUndef(this.root.parent !== null),\n ...getDataTransitionAttrs(this.root.overlayPresence.transitionStatus),\n ...this.root.sharedProps,\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n get shouldRender() {\n return this.root.overlayPresence.shouldRender;\n }\n}\nclass AlertDialogCancelState {\n static create(opts) {\n return new AlertDialogCancelState(opts, DialogRootContext.get());\n }\n opts;\n root;\n attachment;\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.attachment = attachRef(this.opts.ref, (v) => this.root.cancelNode = v);\n this.onclick = this.onclick.bind(this);\n this.onkeydown = this.onkeydown.bind(this);\n }\n onclick(e) {\n if (this.opts.disabled.current) return;\n if (e.button > 0) return;\n this.root.handleClose();\n }\n onkeydown(e) {\n if (this.opts.disabled.current) return;\n if (e.key === SPACE || e.key === ENTER) {\n e.preventDefault();\n this.root.handleClose();\n }\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n [this.root.getBitsAttr(\"cancel\")]: \"\",\n onclick: this.onclick,\n onkeydown: this.onkeydown,\n tabindex: 0,\n disabled: this.opts.disabled.current,\n ...this.root.sharedProps,\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nfunction Alert_dialog$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n open = false,\n onOpenChange = noop,\n onOpenChangeComplete = noop,\n children\n } = $$props;\n DialogRootState.create({\n variant: boxWith(() => \"alert-dialog\"),\n open: boxWith(() => open, (v) => {\n open = v;\n onOpenChange(v);\n }),\n onOpenChangeComplete: boxWith(() => onOpenChangeComplete)\n });\n children?.($$renderer2);\n $$renderer2.push(`<!---->`);\n bind_props($$props, { open });\n });\n}\nfunction Dialog_title($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n id = createId(uid),\n ref = null,\n child,\n children,\n level = 2,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const titleState = DialogTitleState.create({\n id: boxWith(() => id),\n level: boxWith(() => level),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, titleState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Alert_dialog_action$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n children,\n child,\n id = createId(uid),\n ref = null,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const actionState = DialogActionState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, actionState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><button${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></button>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Alert_dialog_cancel$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n id = createId(uid),\n ref = null,\n children,\n child,\n disabled = false,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const cancelState = AlertDialogCancelState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v),\n disabled: boxWith(() => Boolean(disabled))\n });\n const mergedProps = derived(() => mergeProps(restProps, cancelState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><button${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></button>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Alert_dialog_content$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n id = createId(uid),\n children,\n child,\n ref = null,\n forceMount = false,\n interactOutsideBehavior = \"ignore\",\n onCloseAutoFocus = noop,\n onEscapeKeydown = noop,\n onOpenAutoFocus = noop,\n onInteractOutside = noop,\n preventScroll = true,\n preventOverflowTextSelection = true,\n trapFocus = true,\n restoreScrollDelay = null,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const contentState = DialogContentState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, contentState.props));\n if (contentState.shouldRender || forceMount) {\n $$renderer2.push(\"<!--[0-->\");\n {\n let focusScope = function($$renderer3, { props: focusScopeProps }) {\n Escape_layer($$renderer3, spread_props([\n mergedProps(),\n {\n enabled: contentState.root.opts.open.current,\n ref: contentState.opts.ref,\n onEscapeKeydown: (e) => {\n onEscapeKeydown(e);\n if (e.defaultPrevented) return;\n contentState.root.handleClose();\n },\n children: ($$renderer4) => {\n Dismissible_layer($$renderer4, spread_props([\n mergedProps(),\n {\n ref: contentState.opts.ref,\n enabled: contentState.root.opts.open.current,\n interactOutsideBehavior,\n onInteractOutside: (e) => {\n onInteractOutside(e);\n if (e.defaultPrevented) return;\n contentState.root.handleClose();\n },\n children: ($$renderer5) => {\n Text_selection_layer($$renderer5, spread_props([\n mergedProps(),\n {\n preventOverflowTextSelection,\n ref: contentState.opts.ref,\n enabled: contentState.root.opts.open.current,\n children: ($$renderer6) => {\n if (child) {\n $$renderer6.push(\"<!--[0-->\");\n if (contentState.root.opts.open.current) {\n $$renderer6.push(\"<!--[0-->\");\n Scroll_lock($$renderer6, { preventScroll, restoreScrollDelay });\n } else {\n $$renderer6.push(\"<!--[-1-->\");\n }\n $$renderer6.push(`<!--]--> `);\n child($$renderer6, {\n props: mergeProps(mergedProps(), focusScopeProps),\n ...contentState.snippetProps\n });\n $$renderer6.push(`<!---->`);\n } else {\n $$renderer6.push(\"<!--[-1-->\");\n Scroll_lock($$renderer6, { preventScroll });\n $$renderer6.push(`<!----> <div${attributes({ ...mergeProps(mergedProps(), focusScopeProps) })}>`);\n children?.($$renderer6);\n $$renderer6.push(`<!----></div>`);\n }\n $$renderer6.push(`<!--]-->`);\n },\n $$slots: { default: true }\n }\n ]));\n },\n $$slots: { default: true }\n }\n ]));\n },\n $$slots: { default: true }\n }\n ]));\n };\n Focus_scope($$renderer2, {\n ref: contentState.opts.ref,\n loop: true,\n trapFocus,\n enabled: contentState.root.opts.open.current,\n onCloseAutoFocus,\n onOpenAutoFocus: (e) => {\n onOpenAutoFocus(e);\n if (e.defaultPrevented) return;\n e.preventDefault();\n const node = contentState.opts.ref.current;\n afterSleep(0, () => {\n if (node?.isConnected) node.focus();\n });\n },\n focusScope\n });\n }\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Dialog_overlay($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n id = createId(uid),\n forceMount = false,\n child,\n children,\n ref = null,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const overlayState = DialogOverlayState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, overlayState.props));\n if (overlayState.shouldRender || forceMount) {\n $$renderer2.push(\"<!--[0-->\");\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, {\n props: mergeProps(mergedProps()),\n ...overlayState.snippetProps\n });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergeProps(mergedProps()) })}>`);\n children?.($$renderer2, overlayState.snippetProps);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Dialog_description($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n id = createId(uid),\n children,\n child,\n ref = null,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const descriptionState = DialogDescriptionState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, descriptionState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Alert_dialog($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { open = false, $$slots, $$events, ...restProps } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Alert_dialog$1) {\n $$renderer3.push(\"<!--[-->\");\n Alert_dialog$1($$renderer3, spread_props([\n restProps,\n {\n get open() {\n return open;\n },\n set open($$value) {\n open = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { open });\n });\n}\nfunction Alert_dialog_portal($$renderer, $$props) {\n let { $$slots, $$events, ...restProps } = $$props;\n if (Portal) {\n $$renderer.push(\"<!--[-->\");\n Portal($$renderer, spread_props([restProps]));\n $$renderer.push(\"<!--]-->\");\n } else {\n $$renderer.push(\"<!--[!-->\");\n $$renderer.push(\"<!--]-->\");\n }\n}\nfunction Alert_dialog_title($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Dialog_title) {\n $$renderer3.push(\"<!--[-->\");\n Dialog_title($$renderer3, spread_props([\n {\n \"data-slot\": \"alert-dialog-title\",\n class: cn(\"text-lg font-semibold\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Alert_dialog_action($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Alert_dialog_action$1) {\n $$renderer3.push(\"<!--[-->\");\n Alert_dialog_action$1($$renderer3, spread_props([\n {\n \"data-slot\": \"alert-dialog-action\",\n class: cn(buttonVariants(), className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Alert_dialog_cancel($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Alert_dialog_cancel$1) {\n $$renderer3.push(\"<!--[-->\");\n Alert_dialog_cancel$1($$renderer3, spread_props([\n {\n \"data-slot\": \"alert-dialog-cancel\",\n class: cn(buttonVariants({ variant: \"outline\" }), className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Alert_dialog_footer($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n children,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n $$renderer2.push(`<div${attributes({\n \"data-slot\": \"alert-dialog-footer\",\n class: clsx(cn(\"flex flex-col-reverse gap-2 sm:flex-row sm:justify-end\", className)),\n ...restProps\n })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n bind_props($$props, { ref });\n });\n}\nfunction Alert_dialog_header($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n children,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n $$renderer2.push(`<div${attributes({\n \"data-slot\": \"alert-dialog-header\",\n class: clsx(cn(\"flex flex-col gap-2 text-center sm:text-start\", className)),\n ...restProps\n })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n bind_props($$props, { ref });\n });\n}\nfunction Alert_dialog_overlay($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Dialog_overlay) {\n $$renderer3.push(\"<!--[-->\");\n Dialog_overlay($$renderer3, spread_props([\n {\n \"data-slot\": \"alert-dialog-overlay\",\n class: cn(\"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-(--z-modal) bg-black/50\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Alert_dialog_content($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n portalProps,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n Alert_dialog_portal($$renderer3, spread_props([\n portalProps,\n {\n children: ($$renderer4) => {\n Alert_dialog_overlay($$renderer4, {});\n $$renderer4.push(`<!----> `);\n if (Alert_dialog_content$1) {\n $$renderer4.push(\"<!--[-->\");\n Alert_dialog_content$1($$renderer4, spread_props([\n {\n \"data-slot\": \"alert-dialog-content\",\n class: cn(\"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-(--z-modal) grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n }\n ]));\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Alert_dialog_description($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Dialog_description) {\n $$renderer3.push(\"<!--[-->\");\n Dialog_description($$renderer3, spread_props([\n {\n \"data-slot\": \"alert-dialog-description\",\n class: cn(\"text-muted-foreground text-sm\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nexport {\n Alert_dialog as A,\n DialogRootState as D,\n afterSleep as a,\n Alert_dialog_content as b,\n Alert_dialog_header as c,\n Alert_dialog_title as d,\n Alert_dialog_description as e,\n Alert_dialog_footer as f,\n Alert_dialog_cancel as g,\n Alert_dialog_action as h,\n DialogCloseState as i,\n DialogContentState as j,\n Dialog_title as k,\n Dialog_overlay as l,\n Dialog_description as m\n};\n//# sourceMappingURL=alert-dialog-description.js.map\n","import { d as derived, p as props_id, a as attributes, c as bind_props, h as spread_props, f as attr, j as stringify, e as escape_html, m as clsx, l as attr_class } from \"./index.js\";\nimport \"./panes.js\";\nimport \"clsx\";\nimport { D as DialogRootState, i as DialogCloseState, j as DialogContentState, k as Dialog_title$1, l as Dialog_overlay$1, m as Dialog_description$1 } from \"./alert-dialog-description.js\";\nimport { P as PresenceManager, a as afterTick, n as noop, F as Focus_scope, E as Escape_layer, c as Dismissible_layer, T as Text_selection_layer, S as Scroll_lock, h as Portal } from \"./scroll-lock.js\";\nimport { w as watch, C as Context, a as attachRef, d as boxWith, f as boolToEmptyStrOrUndef, Q as getDataOpenClosed, t as SPACE, E as ENTER, e as boolToStr, V as getDataTransitionAttrs, c as createBitsAttrs, b as createId, m as mergeProps } from \"./create-id.js\";\nimport { c as cn, B as Button, u as sessionStore } from \"./button.js\";\nimport { I as Icon } from \"./Icon.js\";\nimport { I as Input } from \"./badge.js\";\nimport { o as on } from \"./root.js\";\nimport { h as hostTimeZone, m as makeDayFormatter } from \"./day.js\";\nconst blockedAnimationStyle = { animationName: \"none\", transitionDuration: \"0s\" };\nclass MountAnimationGuard {\n #prevented = false;\n constructor(open) {\n this.#prevented = open();\n watch.pre(\n open,\n () => {\n this.#prevented = false;\n },\n { lazy: true }\n );\n }\n get style() {\n return this.#prevented ? blockedAnimationStyle : void 0;\n }\n}\nfunction measureWithoutAnimation(node) {\n const { animationName, transitionDuration } = node.style;\n node.style.animationName = blockedAnimationStyle.animationName;\n node.style.transitionDuration = blockedAnimationStyle.transitionDuration;\n const rect = node.getBoundingClientRect();\n node.style.animationName = animationName;\n node.style.transitionDuration = transitionDuration;\n return rect;\n}\nconst collapsibleAttrs = createBitsAttrs({\n component: \"collapsible\",\n parts: [\"root\", \"content\", \"trigger\"]\n});\nconst CollapsibleRootContext = new Context(\"Collapsible.Root\");\nclass CollapsibleRootState {\n static create(opts) {\n return CollapsibleRootContext.set(new CollapsibleRootState(opts));\n }\n opts;\n attachment;\n contentNode = null;\n contentPresence;\n contentId = void 0;\n constructor(opts) {\n this.opts = opts;\n this.toggleOpen = this.toggleOpen.bind(this);\n this.attachment = attachRef(this.opts.ref);\n this.contentPresence = new PresenceManager({\n ref: boxWith(() => this.contentNode),\n open: this.opts.open,\n onComplete: () => {\n this.opts.onOpenChangeComplete.current(this.opts.open.current);\n }\n });\n }\n toggleOpen() {\n this.opts.open.current = !this.opts.open.current;\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n \"data-state\": getDataOpenClosed(this.opts.open.current),\n \"data-disabled\": boolToEmptyStrOrUndef(this.opts.disabled.current),\n [collapsibleAttrs.root]: \"\",\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass CollapsibleContentState {\n static create(opts) {\n return new CollapsibleContentState(opts, CollapsibleRootContext.get());\n }\n opts;\n root;\n attachment;\n #present = derived(() => {\n if (this.opts.hiddenUntilFound.current) return this.root.opts.open.current;\n return this.opts.forceMount.current || this.root.opts.open.current;\n });\n get present() {\n return this.#present();\n }\n set present($$value) {\n return this.#present($$value);\n }\n #mountAnimationGuard;\n #width = 0;\n #height = 0;\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.#mountAnimationGuard = new MountAnimationGuard(() => this.root.opts.open.current);\n this.root.contentId = this.opts.id.current;\n this.attachment = attachRef(this.opts.ref, (v) => this.root.contentNode = v);\n watch.pre(() => this.opts.id.current, (id) => {\n this.root.contentId = id;\n });\n watch.pre(\n [\n () => this.opts.ref.current,\n () => this.opts.hiddenUntilFound.current\n ],\n ([node, hiddenUntilFound]) => {\n if (!node || !hiddenUntilFound) return;\n const handleBeforeMatch = () => {\n if (this.root.opts.open.current) return;\n requestAnimationFrame(() => {\n this.root.opts.open.current = true;\n });\n };\n return on(node, \"beforematch\", handleBeforeMatch);\n }\n );\n watch([() => this.opts.ref.current, () => this.present], ([node]) => {\n if (!node) return;\n let active = true;\n afterTick(() => {\n if (!active) return;\n if (!this.opts.ref.current) return;\n const rect = measureWithoutAnimation(node);\n this.#height = rect.height;\n this.#width = rect.width;\n });\n return () => {\n active = false;\n };\n });\n }\n get shouldRender() {\n return this.root.contentPresence.shouldRender;\n }\n #snippetProps = derived(() => ({ open: this.root.opts.open.current }));\n get snippetProps() {\n return this.#snippetProps();\n }\n set snippetProps($$value) {\n return this.#snippetProps($$value);\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n style: {\n \"--bits-collapsible-content-height\": this.#height ? `${this.#height}px` : void 0,\n \"--bits-collapsible-content-width\": this.#width ? `${this.#width}px` : void 0,\n ...this.#mountAnimationGuard.style\n },\n hidden: this.opts.hiddenUntilFound.current && !this.root.opts.open.current ? \"until-found\" : void 0,\n \"data-state\": getDataOpenClosed(this.root.opts.open.current),\n ...getDataTransitionAttrs(this.root.contentPresence.transitionStatus),\n \"data-disabled\": boolToEmptyStrOrUndef(this.root.opts.disabled.current),\n [collapsibleAttrs.content]: \"\",\n ...this.opts.hiddenUntilFound.current && !this.shouldRender ? {} : {\n hidden: this.opts.hiddenUntilFound.current ? !this.shouldRender : this.opts.forceMount.current ? void 0 : !this.shouldRender\n },\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass CollapsibleTriggerState {\n static create(opts) {\n return new CollapsibleTriggerState(opts, CollapsibleRootContext.get());\n }\n opts;\n root;\n attachment;\n #isDisabled = derived(() => this.opts.disabled.current || this.root.opts.disabled.current);\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.attachment = attachRef(this.opts.ref);\n this.onclick = this.onclick.bind(this);\n this.onkeydown = this.onkeydown.bind(this);\n }\n onclick(e) {\n if (this.#isDisabled()) return;\n if (e.button !== 0) return e.preventDefault();\n this.root.toggleOpen();\n }\n onkeydown(e) {\n if (this.#isDisabled()) return;\n if (e.key === SPACE || e.key === ENTER) {\n e.preventDefault();\n this.root.toggleOpen();\n }\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n type: \"button\",\n disabled: this.#isDisabled(),\n \"aria-controls\": this.root.contentId,\n \"aria-expanded\": boolToStr(this.root.opts.open.current),\n \"data-state\": getDataOpenClosed(this.root.opts.open.current),\n \"data-disabled\": boolToEmptyStrOrUndef(this.#isDisabled()),\n [collapsibleAttrs.trigger]: \"\",\n //\n onclick: this.onclick,\n onkeydown: this.onkeydown,\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nfunction Collapsible$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n children,\n child,\n id = createId(uid),\n ref = null,\n open = false,\n disabled = false,\n onOpenChange = noop,\n onOpenChangeComplete = noop,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const rootState = CollapsibleRootState.create({\n open: boxWith(() => open, (v) => {\n open = v;\n onOpenChange(v);\n }),\n disabled: boxWith(() => disabled),\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v),\n onOpenChangeComplete: boxWith(() => onOpenChangeComplete)\n });\n const mergedProps = derived(() => mergeProps(restProps, rootState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref, open });\n });\n}\nfunction Collapsible_content$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n child,\n ref = null,\n forceMount = false,\n hiddenUntilFound = false,\n children,\n id = createId(uid),\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const contentState = CollapsibleContentState.create({\n id: boxWith(() => id),\n forceMount: boxWith(() => forceMount),\n hiddenUntilFound: boxWith(() => hiddenUntilFound),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, contentState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { ...contentState.snippetProps, props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Collapsible_trigger$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n children,\n child,\n ref = null,\n id = createId(uid),\n disabled = false,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const triggerState = CollapsibleTriggerState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v),\n disabled: boxWith(() => disabled)\n });\n const mergedProps = derived(() => mergeProps(restProps, triggerState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><button${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></button>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Dialog$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n open = false,\n onOpenChange = noop,\n onOpenChangeComplete = noop,\n children\n } = $$props;\n DialogRootState.create({\n variant: boxWith(() => \"dialog\"),\n open: boxWith(() => open, (v) => {\n open = v;\n onOpenChange(v);\n }),\n onOpenChangeComplete: boxWith(() => onOpenChangeComplete)\n });\n children?.($$renderer2);\n $$renderer2.push(`<!---->`);\n bind_props($$props, { open });\n });\n}\nfunction Dialog_close($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n children,\n child,\n id = createId(uid),\n ref = null,\n disabled = false,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const closeState = DialogCloseState.create({\n variant: boxWith(() => \"close\"),\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v),\n disabled: boxWith(() => Boolean(disabled))\n });\n const mergedProps = derived(() => mergeProps(restProps, closeState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><button${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></button>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Dialog_content$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n id = createId(uid),\n children,\n child,\n ref = null,\n forceMount = false,\n onCloseAutoFocus = noop,\n onOpenAutoFocus = noop,\n onEscapeKeydown = noop,\n onInteractOutside = noop,\n trapFocus = true,\n preventScroll = true,\n preventOverflowTextSelection = true,\n restoreScrollDelay = null,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const contentState = DialogContentState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, contentState.props));\n if (contentState.shouldRender || forceMount) {\n $$renderer2.push(\"<!--[0-->\");\n {\n let focusScope = function($$renderer3, { props: focusScopeProps }) {\n Escape_layer($$renderer3, spread_props([\n mergedProps(),\n {\n enabled: contentState.root.opts.open.current,\n ref: contentState.opts.ref,\n onEscapeKeydown: (e) => {\n onEscapeKeydown(e);\n if (e.defaultPrevented) return;\n contentState.root.handleClose();\n },\n children: ($$renderer4) => {\n Dismissible_layer($$renderer4, spread_props([\n mergedProps(),\n {\n ref: contentState.opts.ref,\n enabled: contentState.root.opts.open.current,\n onInteractOutside: (e) => {\n onInteractOutside(e);\n if (e.defaultPrevented) return;\n contentState.root.handleClose();\n },\n children: ($$renderer5) => {\n Text_selection_layer($$renderer5, spread_props([\n mergedProps(),\n {\n preventOverflowTextSelection,\n ref: contentState.opts.ref,\n enabled: contentState.root.opts.open.current,\n children: ($$renderer6) => {\n if (child) {\n $$renderer6.push(\"<!--[0-->\");\n if (contentState.root.opts.open.current) {\n $$renderer6.push(\"<!--[0-->\");\n Scroll_lock($$renderer6, { preventScroll, restoreScrollDelay });\n } else {\n $$renderer6.push(\"<!--[-1-->\");\n }\n $$renderer6.push(`<!--]--> `);\n child($$renderer6, {\n props: mergeProps(mergedProps(), focusScopeProps),\n ...contentState.snippetProps\n });\n $$renderer6.push(`<!---->`);\n } else {\n $$renderer6.push(\"<!--[-1-->\");\n Scroll_lock($$renderer6, { preventScroll });\n $$renderer6.push(`<!----> <div${attributes({ ...mergeProps(mergedProps(), focusScopeProps) })}>`);\n children?.($$renderer6);\n $$renderer6.push(`<!----></div>`);\n }\n $$renderer6.push(`<!--]-->`);\n },\n $$slots: { default: true }\n }\n ]));\n },\n $$slots: { default: true }\n }\n ]));\n },\n $$slots: { default: true }\n }\n ]));\n };\n Focus_scope($$renderer2, {\n ref: contentState.opts.ref,\n loop: true,\n trapFocus,\n enabled: contentState.root.opts.open.current,\n onOpenAutoFocus,\n onCloseAutoFocus,\n focusScope\n });\n }\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction DiffBadge($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { changes } = $$props;\n if (changes && (changes.additions > 0 || changes.deletions > 0)) {\n $$renderer2.push(`<!--[0--><span class=\"diff svelte-yz18w2\"${attr(\"title\", `${stringify(changes.files)} ${changes.files === 1 ? \"file\" : \"files\"} changed (${changes.source === \"git\" ? \"git\" : \"this session\"})`)}><span class=\"add svelte-yz18w2\">+${escape_html(changes.additions)}</span> <span class=\"del svelte-yz18w2\">−${escape_html(changes.deletions)}</span></span>`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]-->`);\n });\n}\nconst NONE = [];\nfunction release(chip) {\n chip.abort?.abort();\n if (chip.thumb) URL.revokeObjectURL(chip.thumb);\n}\nclass AttachmentsStore {\n state = {};\n get(target) {\n if (!target) return NONE;\n return this.state[target] ?? NONE;\n }\n count(target) {\n return this.get(target).length;\n }\n add(target, chip) {\n if (!target) return;\n this.state[target] = [...this.get(target), chip];\n }\n /** Patch a chip in its own target's list; a no-op once it has been removed. */\n patch(target, localId, changes) {\n const list = this.state[target];\n if (!list?.some((a) => a.localId === localId)) return;\n this.state[target] = list.map((a) => a.localId === localId ? { ...a, ...changes } : a);\n }\n /** Drop one chip, aborting its upload and revoking its blob URL. */\n remove(target, localId) {\n const list = target ? this.state[target] : void 0;\n const chip = list?.find((a) => a.localId === localId);\n if (!target || !list || !chip) return void 0;\n release(chip);\n const rest = list.filter((a) => a.localId !== localId);\n if (rest.length) this.state[target] = rest;\n else delete this.state[target];\n return chip;\n }\n clear(target) {\n const list = target ? this.state[target] : void 0;\n if (!target || !list) return;\n list.forEach(release);\n delete this.state[target];\n }\n}\nconst attachmentsStore = new AttachmentsStore();\nfunction Dialog($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { open = false, $$slots, $$events, ...restProps } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Dialog$1) {\n $$renderer3.push(\"<!--[-->\");\n Dialog$1($$renderer3, spread_props([\n restProps,\n {\n get open() {\n return open;\n },\n set open($$value) {\n open = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { open });\n });\n}\nfunction Dialog_portal($$renderer, $$props) {\n let { $$slots, $$events, ...restProps } = $$props;\n if (Portal) {\n $$renderer.push(\"<!--[-->\");\n Portal($$renderer, spread_props([restProps]));\n $$renderer.push(\"<!--]-->\");\n } else {\n $$renderer.push(\"<!--[!-->\");\n $$renderer.push(\"<!--]-->\");\n }\n}\nfunction Dialog_title($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Dialog_title$1) {\n $$renderer3.push(\"<!--[-->\");\n Dialog_title$1($$renderer3, spread_props([\n {\n \"data-slot\": \"dialog-title\",\n class: cn(\"text-lg leading-none font-semibold\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Dialog_footer($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n children,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n $$renderer2.push(`<div${attributes({\n \"data-slot\": \"dialog-footer\",\n class: clsx(cn(\"flex flex-col-reverse gap-2 sm:flex-row sm:justify-end\", className)),\n ...restProps\n })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n bind_props($$props, { ref });\n });\n}\nfunction Dialog_header($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n children,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n $$renderer2.push(`<div${attributes({\n \"data-slot\": \"dialog-header\",\n class: clsx(cn(\"flex flex-col gap-2 text-center sm:text-start\", className)),\n ...restProps\n })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n bind_props($$props, { ref });\n });\n}\nfunction Dialog_overlay($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Dialog_overlay$1) {\n $$renderer3.push(\"<!--[-->\");\n Dialog_overlay$1($$renderer3, spread_props([\n {\n \"data-slot\": \"dialog-overlay\",\n class: cn(\"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-(--z-modal) bg-black/50\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction X($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { $$slots, $$events, ...props } = $$props;\n const iconNode = [\n [\"path\", { \"d\": \"M18 6 6 18\" }],\n [\"path\", { \"d\": \"m6 6 12 12\" }]\n ];\n Icon($$renderer2, spread_props([\n { name: \"x\" },\n /**\n * @component @name X\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMTggNiA2IDE4IiAvPgogIDxwYXRoIGQ9Im02IDYgMTIgMTIiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/x\n * @see https://lucide.dev/guide/packages/lucide-svelte - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {FunctionalComponent} Svelte component\n *\n */\n props,\n {\n iconNode,\n children: ($$renderer3) => {\n props.children?.($$renderer3);\n $$renderer3.push(`<!---->`);\n },\n $$slots: { default: true }\n }\n ]));\n });\n}\nfunction Dialog_content($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n portalProps,\n children,\n showCloseButton = true,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n Dialog_portal($$renderer3, spread_props([\n portalProps,\n {\n children: ($$renderer4) => {\n if (Dialog_overlay) {\n $$renderer4.push(\"<!--[-->\");\n Dialog_overlay($$renderer4, {});\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n $$renderer4.push(` `);\n if (Dialog_content$1) {\n $$renderer4.push(\"<!--[-->\");\n Dialog_content$1($$renderer4, spread_props([\n {\n \"data-slot\": \"dialog-content\",\n class: cn(\"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-(--z-modal) grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n },\n children: ($$renderer5) => {\n children?.($$renderer5);\n $$renderer5.push(`<!----> `);\n if (showCloseButton) {\n $$renderer5.push(\"<!--[0-->\");\n if (Dialog_close) {\n $$renderer5.push(\"<!--[-->\");\n Dialog_close($$renderer5, {\n class: \"ring-offset-background focus:ring-ring absolute end-4 top-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",\n children: ($$renderer6) => {\n X($$renderer6, {});\n $$renderer6.push(`<!----> <span class=\"sr-only\">Close</span>`);\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]-->`);\n },\n $$slots: { default: true }\n }\n ]));\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n }\n ]));\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Dialog_description($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Dialog_description$1) {\n $$renderer3.push(\"<!--[-->\");\n Dialog_description$1($$renderer3, spread_props([\n {\n \"data-slot\": \"dialog-description\",\n class: cn(\"text-muted-foreground text-sm\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction RenameSessionDialog($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { sessionId, onClose, sessions, base = \"\" } = $$props;\n const session = derived(() => {\n if (!sessionId) return null;\n if (sessions) return sessions.find((s) => s.id === sessionId) ?? null;\n return sessionStore.sessionById.get(sessionId) ?? null;\n });\n let value = \"\";\n let inputEl = null;\n let killArmed = false;\n let positionStyle = void 0;\n async function commit() {\n const target = session();\n const next = value.trim();\n onClose();\n if (!target || next === (target.display_name ?? \"\")) return;\n try {\n await fetch(`${base}/api/sessions/${encodeURIComponent(target.id)}/rename`, {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n body: JSON.stringify({ name: next || null })\n });\n } catch {\n }\n }\n async function kill() {\n const target = session();\n if (!target) return;\n if (!killArmed) {\n killArmed = true;\n return;\n }\n onClose();\n try {\n await fetch(`${base}/api/sessions/${encodeURIComponent(target.id)}/kill`, {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n body: JSON.stringify({ pid: target.pid, tmux_target: target.tmux_target })\n });\n } catch {\n }\n }\n function onKeydown(e) {\n if (e.key === \"Enter\") {\n e.preventDefault();\n void commit();\n }\n }\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Dialog) {\n $$renderer3.push(\"<!--[-->\");\n Dialog($$renderer3, {\n open: session() !== null,\n onOpenChange: (open) => {\n if (!open) onClose();\n },\n children: ($$renderer4) => {\n if (Dialog_content) {\n $$renderer4.push(\"<!--[-->\");\n Dialog_content($$renderer4, {\n class: \"max-w-sm\",\n style: positionStyle,\n onOpenAutoFocus: (e) => {\n e.preventDefault();\n inputEl?.focus();\n inputEl?.select();\n },\n children: ($$renderer5) => {\n if (Dialog_header) {\n $$renderer5.push(\"<!--[-->\");\n Dialog_header($$renderer5, {\n children: ($$renderer6) => {\n if (Dialog_title) {\n $$renderer6.push(\"<!--[-->\");\n Dialog_title($$renderer6, {\n children: ($$renderer7) => {\n $$renderer7.push(`<!---->Rename session`);\n },\n $$slots: { default: true }\n });\n $$renderer6.push(\"<!--]-->\");\n } else {\n $$renderer6.push(\"<!--[!-->\");\n $$renderer6.push(\"<!--]-->\");\n }\n $$renderer6.push(` `);\n if (Dialog_description) {\n $$renderer6.push(\"<!--[-->\");\n Dialog_description($$renderer6, {\n children: ($$renderer7) => {\n $$renderer7.push(`<!---->Also sent to the agent as <code>/rename</code>, once its pane is back at a prompt. Leave\n\t\t\t\tblank to fall back to the tmux target.`);\n },\n $$slots: { default: true }\n });\n $$renderer6.push(\"<!--]-->\");\n } else {\n $$renderer6.push(\"<!--[!-->\");\n $$renderer6.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n $$renderer5.push(` `);\n Input($$renderer5, {\n onkeydown: onKeydown,\n class: \"font-mono\",\n type: \"text\",\n placeholder: session()?.tmux_target ?? session()?.id ?? \"session name\",\n \"aria-label\": \"Session name\",\n autocomplete: \"off\",\n autocapitalize: \"off\",\n spellcheck: \"false\",\n enterkeyhint: \"done\",\n maxlength: 120,\n get ref() {\n return inputEl;\n },\n set ref($$value) {\n inputEl = $$value;\n $$settled = false;\n },\n get value() {\n return value;\n },\n set value($$value) {\n value = $$value;\n $$settled = false;\n }\n });\n $$renderer5.push(`<!----> `);\n if (Dialog_footer) {\n $$renderer5.push(\"<!--[-->\");\n Dialog_footer($$renderer5, {\n children: ($$renderer6) => {\n Button($$renderer6, {\n variant: \"ghost\",\n class: \"min-h-11 text-destructive hover:text-destructive sm:mr-auto\",\n onclick: kill,\n children: ($$renderer7) => {\n $$renderer7.push(`<!---->${escape_html(killArmed ? \"Confirm kill\" : \"Kill session\")}`);\n },\n $$slots: { default: true }\n });\n $$renderer6.push(`<!----> `);\n Button($$renderer6, {\n variant: \"ghost\",\n class: \"min-h-11\",\n onclick: onClose,\n children: ($$renderer7) => {\n $$renderer7.push(`<!---->Cancel`);\n },\n $$slots: { default: true }\n });\n $$renderer6.push(`<!----> `);\n Button($$renderer6, {\n class: \"min-h-11\",\n onclick: commit,\n children: ($$renderer7) => {\n $$renderer7.push(`<!---->Rename`);\n },\n $$slots: { default: true }\n });\n $$renderer6.push(`<!---->`);\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n });\n}\nfunction Collapsible_content($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { ref = null, $$slots, $$events, ...restProps } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Collapsible_content$1) {\n $$renderer3.push(\"<!--[-->\");\n Collapsible_content$1($$renderer3, spread_props([\n { \"data-slot\": \"collapsible-content\" },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Collapsible_trigger($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { ref = null, $$slots, $$events, ...restProps } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Collapsible_trigger$1) {\n $$renderer3.push(\"<!--[-->\");\n Collapsible_trigger$1($$renderer3, spread_props([\n { \"data-slot\": \"collapsible-trigger\" },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Collapsible($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { ref = null, open = false, $$slots, $$events, ...restProps } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Collapsible$1) {\n $$renderer3.push(\"<!--[-->\");\n Collapsible$1($$renderer3, spread_props([\n { \"data-slot\": \"collapsible\" },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n },\n get open() {\n return open;\n },\n set open($$value) {\n open = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref, open });\n });\n}\nclass UsageStore {\n summary = null;\n quota = null;\n subscribers = 0;\n timer = null;\n zone = hostTimeZone();\n dayOf = makeDayFormatter(hostTimeZone());\n /**\n * Today's spend, looked up by the host's own day boundary — the last row of\n * `days` is only today if today has spend on it.\n */\n get today() {\n if (!this.summary) return null;\n const key = this.dayOf(Date.now());\n return this.summary.days.find((d) => d.date === key)?.costUsd ?? 0;\n }\n /** Returns the matching stop, for an effect's cleanup. */\n subscribe() {\n return () => {\n };\n }\n async load() {\n await Promise.all([this.loadSummary(), this.loadQuota()]);\n }\n async loadSummary() {\n try {\n const res = await fetch(`/api/usage/all?days=30&tz=${encodeURIComponent(this.zone)}`);\n if (!res.ok) throw new Error(`HTTP ${res.status}`);\n this.summary = await res.json();\n } catch {\n }\n }\n async loadQuota() {\n try {\n const res = await fetch(\"/api/usage/quota\");\n if (res.ok) this.quota = await res.json();\n } catch {\n }\n }\n}\nconst usageStore = new UsageStore();\nconst SEVERITY = {\n normal: { color: \"#0ca30c\", icon: \"mdi:check-circle-outline\", word: \"ok\" },\n warning: { color: \"#fab219\", icon: \"mdi:alert-outline\", word: \"high\" },\n critical: { color: \"#d03b3b\", icon: \"mdi:alert-octagon-outline\", word: \"at limit\" }\n};\nconst THRESHOLDS = {\n panel: { warning: 70, critical: 90 },\n edge: { warning: 80, critical: 95 },\n disk: { warning: 80, critical: 90 }\n};\nfunction severityForPercent(percent, scale = \"panel\") {\n const { warning, critical } = THRESHOLDS[scale];\n if (percent >= critical) return \"critical\";\n if (percent >= warning) return \"warning\";\n return \"normal\";\n}\nfunction edgeColor(percent) {\n const severity = severityForPercent(percent, \"edge\");\n return severity === \"normal\" ? \"#78716c\" : SEVERITY[severity].color;\n}\nfunction ResizeDivider($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n resizing = false,\n title,\n onmove,\n onend,\n onreset\n /** The pointer moved during a drag. */\n /** The drag ended. */\n /** Double-click: back to the default size. */\n } = $$props;\n $$renderer2.push(`<div${attr_class(\"divider svelte-usglgd\", void 0, { \"resizing\": resizing })} role=\"separator\" aria-orientation=\"vertical\"${attr(\"title\", title)}></div>`);\n bind_props($$props, { resizing });\n });\n}\nexport {\n Collapsible as C,\n Dialog as D,\n RenameSessionDialog as R,\n SEVERITY as S,\n X,\n Dialog_content as a,\n Dialog_title as b,\n Dialog_description as c,\n Collapsible_trigger as d,\n Collapsible_content as e,\n Dialog_header as f,\n attachmentsStore as g,\n DiffBadge as h,\n ResizeDivider as i,\n edgeColor as j,\n Dialog_content$1 as k,\n Dialog_close as l,\n Dialog$1 as m,\n severityForPercent as s,\n usageStore as u\n};\n//# sourceMappingURL=ResizeDivider.js.map\n","const AGENT_COUNT_MS = 60 * 60 * 1e3;\nfunction agentView(agents, now, opened) {\n const rows = [];\n let running = 0;\n let folded = 0;\n for (const agent of agents ?? []) {\n if (agent.state === \"running\") running++;\n if (agent.state === \"running\" || agent.state === \"failed\" && !opened.has(agent.id)) rows.push(agent);\n else if (agent.state === \"done\" && (agent.ended_at ?? now) > now - AGENT_COUNT_MS) folded++;\n }\n rows.sort((a, b) => a.started_at - b.started_at);\n return { rows, running, folded };\n}\nfunction childSummary(workers, view) {\n const count = (n, noun) => `${n} ${noun}${n === 1 ? \"\" : \"s\"}`;\n const parts = [];\n if (workers) parts.push(count(workers, \"worker\"));\n if (view.running) parts.push(count(view.running, \"agent\"));\n if (view.folded) parts.push(`${count(view.folded, \"agent\")} done`);\n return parts.length ? parts.join(\" · \") : null;\n}\nfunction agentTypeLabel(type) {\n return type.replace(/-purpose$/, \"\");\n}\nexport {\n agentTypeLabel as a,\n agentView as b,\n childSummary as c\n};\n//# sourceMappingURL=subagents.js.map\n","import { A as isSettled, C as setSettled } from \"./button.js\";\nasync function requestResume(base, id, cwd) {\n let res;\n try {\n res = await fetch(`${base}/api/past/${encodeURIComponent(id)}/resume`, {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n body: JSON.stringify(cwd ? { cwd } : {})\n });\n } catch {\n return { kind: \"error\", message: \"The machine did not answer.\" };\n }\n const data = await res.json().catch(() => ({}));\n if (res.ok && typeof data.tmuxTarget === \"string\") return { kind: \"ok\", tmuxTarget: data.tmuxTarget, live: !!data.live };\n if (res.status === 409) return { kind: \"folder-gone\", cwd: data.cwd ?? null, root: data.root ?? null };\n return { kind: \"error\", message: [data.error, data.detail].filter(Boolean).join(\": \") || `Resume failed (${res.status}).` };\n}\nasync function resumePast(machine, base, id, cwd) {\n const result = await requestResume(base, id, cwd);\n if (result.kind === \"folder-gone\") {\n if (result.root && !cwd) return { kind: \"offer-root\", cwd: result.cwd, root: result.root };\n return { kind: \"error\", message: `${result.cwd ?? \"The folder it ran in\"} is gone, and no project folder holds it.` };\n }\n if (result.kind === \"error\") return result;\n if (machine && isSettled(machine, id)) setSettled(machine, id, false);\n return { kind: \"ok\", tmuxTarget: result.tmuxTarget };\n}\nexport {\n resumePast as r\n};\n//# sourceMappingURL=past-resume.js.map\n","import { d as derived, p as props_id, a as attributes, c as bind_props, e as escape_html, f as attr, r as run, h as spread_props, i as ensure_array_like, j as stringify, k as attr_style, l as attr_class, m as clsx, o as hasContext, g as getContext, q as setContext, t as store_get, u as unsubscribe_stores, b as browser, v as head } from \"../../chunks/index.js\";\nimport { S as SessionStateIndicator, g as goto, D as DRAWER_MEDIA_QUERY, d as drawer, p as page } from \"../../chunks/SessionStateIndicator.js\";\nimport { t as tick, I as Input, o as onDestroy } from \"../../chunks/badge.js\";\nimport \"@sveltejs/kit/internal\";\nimport \"../../chunks/exports.js\";\nimport \"../../chunks/utils2.js\";\nimport \"@sveltejs/kit/internal/server\";\nimport \"../../chunks/root.js\";\nimport \"../../chunks/state.svelte.js\";\nimport { c as cn, n as needsHelp, f as formatAgo, a as clock, w as wantsHuman, b as formatSpinnerElapsed, d as formatElapsed, e as fleetStore, o as offlineReason, m as machineName, g as offlineLabel, v as versionDrifts, h as blockedReason, i as machineKey, B as Button, j as apiBase, k as getSessionDisplayName, s as sameRef, l as splitUrl, p as singleUrl, q as selfName, r as formatRef, t as createPersisted, u as sessionStore, x as reachable, y as fleetPrefsStore, z as groupSessions, A as isSettled, C as setSettled, D as postVisit, E as sessionPath, F as pastPath, G as parseSessionPath, H as localRef, I as liveCount, J as money, K as paneUrl, L as parseRef, M as isPastPath } from \"../../chunks/button.js\";\nimport { i as isFunction, M as MenuItemState, C as Context_menu, a as Context_menu_trigger, b as Context_menu_content, c as cn$1, t as toastState, S as SonnerState, P as Popover, d as Popover_trigger, e as Popover_content, f as PANES, p as preferences } from \"../../chunks/panes.js\";\nimport { i as indicatorStateOf, a as isUnread, r as recedes, b as asking, s as sessionStateVisual, m as mostUrgent } from \"../../chunks/session-notifications.js\";\nimport \"clsx\";\nimport { C as Context$1, a as attachRef, w as watch, c as createBitsAttrs, b as createId, d as boxWith, m as mergeProps, e as boolToStr, f as boolToEmptyStrOrUndef, E as ENTER, g as END, H as HOME, A as ARROW_LEFT, h as ARROW_UP, i as h, k, p, j as ARROW_RIGHT, l as ARROW_DOWN, n as l, o as j, q as n, s as simpleBox, r as createSubscriber, M as MediaQuery } from \"../../chunks/create-id.js\";\nimport { D as DOMContext, a as afterTick, g as getFirstNonCommentChild, n as noop, A as AnimationsComplete, u as useId } from \"../../chunks/scroll-lock.js\";\nimport { T as TabsRootState, a as TabsTriggerState, b as Tabs_list, I as Input_group_addon } from \"../../chunks/AllSessionsPanel.svelte_svelte_type_style_lang.js\";\nimport { D as Dialog, a as Dialog_content, b as Dialog_title, c as Dialog_description, C as Collapsible, d as Collapsible_trigger, e as Collapsible_content, f as Dialog_header, R as RenameSessionDialog, g as attachmentsStore, h as DiffBadge, u as usageStore, S as SEVERITY, s as severityForPercent, i as ResizeDivider } from \"../../chunks/ResizeDivider.js\";\nimport { a as agentTypeLabel, b as agentView, c as childSummary } from \"../../chunks/subagents.js\";\nimport { d as draftsStore } from \"../../chunks/drafts.svelte.js\";\nimport { A as AGENT_IDS, a as AGENTS } from \"../../chunks/agents.js\";\nimport { N as NO_FOLDER, R as RAIL_ORDER, p as pastLabel, S as SETTLED_SHOWN, r as rootOf, a as pastByRoot, b as panesByRoot, c as projectRoots } from \"../../chunks/ws-messages.js\";\nimport { a as afterSleep, A as Alert_dialog, b as Alert_dialog_content, c as Alert_dialog_header, d as Alert_dialog_title, e as Alert_dialog_description, f as Alert_dialog_footer, g as Alert_dialog_cancel, h as Alert_dialog_action } from \"../../chunks/alert-dialog-description.js\";\nimport { f as fuzzyMatch, h as highlightRuns } from \"../../chunks/fuzzy.js\";\nimport { g as guessReport, m as mergeProjects, i as isHomeDir, p as projectHue, a as projectInitials } from \"../../chunks/fleet-projects.js\";\nimport { f as folderNameProblem } from \"../../chunks/folder-name.js\";\nimport { s as snapshot, a as srOnlyStyles, C as Checkbox, b as Check } from \"../../chunks/checkbox.js\";\nimport { S as STORAGE_KEYS } from \"../../chunks/constants.js\";\nimport { r as resumePast } from \"../../chunks/past-resume.js\";\nimport { I as Icon } from \"../../chunks/Icon.js\";\nimport { m as makeDayFormatter, h as hostTimeZone } from \"../../chunks/day.js\";\nfunction extract(value, defaultValue) {\n if (isFunction(value)) {\n const getter = value;\n const gotten = getter();\n if (gotten === void 0) return defaultValue;\n return gotten;\n }\n return value;\n}\nfunction useDebounce(callback, wait) {\n let context = null;\n const wait$ = derived(() => extract(wait, 250));\n function debounced(...args) {\n if (context) {\n if (context.timeout) {\n clearTimeout(context.timeout);\n }\n } else {\n let resolve;\n let reject;\n const promise = new Promise((res, rej) => {\n resolve = res;\n reject = rej;\n });\n context = { timeout: null, runner: null, promise, resolve, reject };\n }\n context.runner = async () => {\n if (!context) return;\n const ctx = context;\n context = null;\n try {\n ctx.resolve(await callback.apply(this, args));\n } catch (error) {\n ctx.reject(error);\n }\n };\n context.timeout = setTimeout(context.runner, wait$());\n return context.promise;\n }\n debounced.cancel = async () => {\n if (!context || context.timeout === null) {\n await new Promise((resolve) => setTimeout(resolve, 0));\n if (!context || context.timeout === null) return;\n }\n clearTimeout(context.timeout);\n context.reject(\"Cancelled\");\n context = null;\n };\n debounced.runScheduledNow = async () => {\n if (!context || !context.timeout) {\n await new Promise((resolve) => setTimeout(resolve, 0));\n if (!context || !context.timeout) return;\n }\n clearTimeout(context.timeout);\n context.timeout = null;\n await context.runner?.();\n };\n Object.defineProperty(debounced, \"pending\", {\n enumerable: true,\n get() {\n return !!context?.timeout;\n }\n });\n return debounced;\n}\nclass IsMounted {\n #isMounted = false;\n constructor() {\n }\n get current() {\n return this.#isMounted;\n }\n}\nconst avatarAttrs = createBitsAttrs({ component: \"avatar\", parts: [\"root\", \"image\", \"fallback\"] });\nconst AvatarRootContext = new Context$1(\"Avatar.Root\");\nclass AvatarRootState {\n static create(opts) {\n return AvatarRootContext.set(new AvatarRootState(opts));\n }\n opts;\n domContext;\n attachment;\n constructor(opts) {\n this.opts = opts;\n this.domContext = new DOMContext(this.opts.ref);\n this.loadImage = this.loadImage.bind(this);\n this.attachment = attachRef(this.opts.ref);\n }\n loadImage(src, crossorigin, referrerPolicy) {\n if (this.opts.loadingStatus.current === \"loaded\") return;\n let imageTimerId;\n const image = new Image();\n image.src = src;\n if (crossorigin !== void 0) image.crossOrigin = crossorigin;\n if (referrerPolicy) image.referrerPolicy = referrerPolicy;\n this.opts.loadingStatus.current = \"loading\";\n image.onload = () => {\n imageTimerId = this.domContext.setTimeout(\n () => {\n this.opts.loadingStatus.current = \"loaded\";\n },\n this.opts.delayMs.current\n );\n };\n image.onerror = () => {\n this.opts.loadingStatus.current = \"error\";\n };\n return () => {\n image.onload = null;\n image.onerror = null;\n if (!imageTimerId) return;\n this.domContext.clearTimeout(imageTimerId);\n };\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n [avatarAttrs.root]: \"\",\n \"data-status\": this.opts.loadingStatus.current,\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass AvatarImageState {\n static create(opts) {\n return new AvatarImageState(opts, AvatarRootContext.get());\n }\n opts;\n root;\n attachment;\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.attachment = attachRef(this.opts.ref);\n watch.pre(\n [\n () => this.opts.src.current,\n () => this.opts.crossOrigin.current\n ],\n ([src, crossOrigin]) => {\n if (!src) {\n this.root.opts.loadingStatus.current = \"error\";\n return;\n }\n return this.root.loadImage(src, crossOrigin, this.opts.referrerPolicy.current);\n }\n );\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n style: {\n display: this.root.opts.loadingStatus.current === \"loaded\" ? \"block\" : \"none\"\n },\n \"data-status\": this.root.opts.loadingStatus.current,\n [avatarAttrs.image]: \"\",\n src: this.opts.src.current,\n crossorigin: this.opts.crossOrigin.current,\n referrerpolicy: this.opts.referrerPolicy.current,\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass AvatarFallbackState {\n static create(opts) {\n return new AvatarFallbackState(opts, AvatarRootContext.get());\n }\n opts;\n root;\n attachment;\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.attachment = attachRef(this.opts.ref);\n }\n #style = derived(() => this.root.opts.loadingStatus.current === \"loaded\" ? { display: \"none\" } : void 0);\n get style() {\n return this.#style();\n }\n set style($$value) {\n return this.#style($$value);\n }\n #props = derived(() => ({\n style: this.style,\n \"data-status\": this.root.opts.loadingStatus.current,\n [avatarAttrs.fallback]: \"\",\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nfunction Avatar$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n delayMs = 0,\n loadingStatus = \"loading\",\n onLoadingStatusChange,\n child,\n children,\n id = createId(uid),\n ref = null,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const rootState = AvatarRootState.create({\n delayMs: boxWith(() => delayMs),\n loadingStatus: boxWith(() => loadingStatus, (v) => {\n if (loadingStatus !== v) {\n loadingStatus = v;\n onLoadingStatusChange?.(v);\n }\n }),\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, rootState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { loadingStatus, ref });\n });\n}\nfunction Avatar_image$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n src,\n child,\n id = createId(uid),\n ref = null,\n crossorigin = void 0,\n referrerpolicy = void 0,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const imageState = AvatarImageState.create({\n src: boxWith(() => src),\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v),\n crossOrigin: boxWith(() => crossorigin),\n referrerPolicy: boxWith(() => referrerpolicy)\n });\n const mergedProps = derived(() => mergeProps(restProps, imageState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><img${attributes({ ...mergedProps(), src })} onload=\"this.__e=event\" onerror=\"this.__e=event\"/>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Avatar_fallback$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n children,\n child,\n id = createId(uid),\n ref = null,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const fallbackState = AvatarFallbackState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, fallbackState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><span${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></span>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction findNextSibling(el, selector) {\n let sibling = el.nextElementSibling;\n while (sibling) {\n if (sibling.matches(selector))\n return sibling;\n sibling = sibling.nextElementSibling;\n }\n}\nfunction findPreviousSibling(el, selector) {\n let sibling = el.previousElementSibling;\n while (sibling) {\n if (sibling.matches(selector))\n return sibling;\n sibling = sibling.previousElementSibling;\n }\n}\nfunction cssEscape(value) {\n if (typeof CSS !== \"undefined\" && typeof CSS.escape === \"function\") {\n return CSS.escape(value);\n }\n const length = value.length;\n let index = -1;\n let codeUnit;\n let result = \"\";\n const firstCodeUnit = value.charCodeAt(0);\n if (length === 1 && firstCodeUnit === 45)\n return \"\\\\\" + value;\n while (++index < length) {\n codeUnit = value.charCodeAt(index);\n if (codeUnit === 0) {\n result += \"�\";\n continue;\n }\n if (\n // If the character is in the range [\\1-\\1F] (U+0001 to U+001F) or is U+007F\n codeUnit >= 1 && codeUnit <= 31 || codeUnit === 127 || // If the character is the first character and is in the range [0-9] (U+0030 to U+0039)\n index === 0 && codeUnit >= 48 && codeUnit <= 57 || // If the character is the second character and is in the range [0-9] (U+0030 to U+0039)\n // and the first character is a `-` (U+002D)\n index === 1 && codeUnit >= 48 && codeUnit <= 57 && firstCodeUnit === 45\n ) {\n result += \"\\\\\" + codeUnit.toString(16) + \" \";\n continue;\n }\n if (codeUnit >= 128 || codeUnit === 45 || codeUnit === 95 || codeUnit >= 48 && codeUnit <= 57 || codeUnit >= 65 && codeUnit <= 90 || codeUnit >= 97 && codeUnit <= 122) {\n result += value.charAt(index);\n continue;\n }\n result += \"\\\\\" + value.charAt(index);\n }\n return result;\n}\nconst COMMAND_VALUE_ATTR = \"data-value\";\nconst commandAttrs = createBitsAttrs({\n component: \"command\",\n parts: [\n \"root\",\n \"list\",\n \"input\",\n \"separator\",\n \"loading\",\n \"empty\",\n \"group\",\n \"group-items\",\n \"group-heading\",\n \"item\",\n \"viewport\",\n \"input-label\"\n ]\n});\nconst COMMAND_GROUP_SELECTOR = commandAttrs.selector(\"group\");\nconst COMMAND_GROUP_ITEMS_SELECTOR = commandAttrs.selector(\"group-items\");\nconst COMMAND_GROUP_HEADING_SELECTOR = commandAttrs.selector(\"group-heading\");\nconst COMMAND_ITEM_SELECTOR = commandAttrs.selector(\"item\");\nconst COMMAND_VALID_ITEM_SELECTOR = `${commandAttrs.selector(\"item\")}:not([aria-disabled=\"true\"])`;\nconst CommandRootContext = new Context$1(\"Command.Root\");\nconst CommandListContext = new Context$1(\"Command.List\");\nconst CommandGroupContainerContext = new Context$1(\"Command.Group\");\nconst defaultState = {\n search: \"\",\n value: \"\",\n filtered: { count: 0, items: /* @__PURE__ */ new Map(), groups: /* @__PURE__ */ new Set() }\n};\nclass CommandRootState {\n static create(opts) {\n return CommandRootContext.set(new CommandRootState(opts));\n }\n opts;\n attachment;\n #updateScheduled = false;\n #isInitialMount = true;\n #isDestroyed = false;\n sortAfterTick = false;\n sortAndFilterAfterTick = false;\n allItems = /* @__PURE__ */ new Set();\n allGroups = /* @__PURE__ */ new Map();\n allIds = /* @__PURE__ */ new Map();\n // attempt to prevent the harsh delay when user is typing fast\n key = 0;\n viewportNode = null;\n inputNode = null;\n labelNode = null;\n // published state that the components and other things can react to\n commandState = defaultState;\n // internal state that we mutate in batches and publish to the `state` at once\n _commandState = defaultState;\n #snapshot() {\n return snapshot(this._commandState);\n }\n /** `afterTick` that skips `fn` if the root was destroyed in the meantime. */\n #afterTick(fn) {\n afterTick(() => {\n if (this.#isDestroyed) return;\n fn();\n });\n }\n #scheduleUpdate() {\n if (this.#updateScheduled) return;\n this.#updateScheduled = true;\n this.#afterTick(() => {\n this.#updateScheduled = false;\n const currentState = this.#snapshot();\n const hasStateChanged = !Object.is(this.commandState, currentState);\n if (hasStateChanged) {\n this.commandState = currentState;\n this.opts.onStateChange?.current?.(currentState);\n }\n });\n }\n setState(key, value, preventScroll) {\n if (Object.is(this._commandState[key], value)) return;\n this._commandState[key] = value;\n if (key === \"search\") {\n this.#filterItems();\n this.#sort({ forceSelectFirst: !this.#isInitialMount });\n } else if (key === \"value\") {\n if (!preventScroll) this.#scrollSelectedIntoView();\n }\n this.#scheduleUpdate();\n }\n constructor(opts) {\n this.opts = opts;\n this.attachment = attachRef(this.opts.ref);\n const defaults = { ...this._commandState, value: this.opts.value.current ?? \"\" };\n this._commandState = defaults;\n this.commandState = defaults;\n this.onkeydown = this.onkeydown.bind(this);\n }\n /**\n * Calculates score for an item based on search text and keywords.\n * Higher score = better match.\n *\n * @param value - Item's display text\n * @param keywords - Optional keywords to boost scoring\n * @returns Score from 0-1, where 0 = no match\n */\n #score(value, keywords) {\n const filter = this.opts.filter.current ?? computeCommandScore;\n const score = value ? filter(value, this._commandState.search, keywords) : 0;\n return score;\n }\n /**\n * Sorts items and groups based on search scores.\n * Groups are sorted by their highest scoring item.\n * When no search is active, preserves the current item unless a reset is requested.\n */\n #sort(opts = {}) {\n if (!this._commandState.search || this.opts.shouldFilter.current === false) {\n if (!this._commandState.value || opts.forceSelectFirst) {\n this.#selectFirstItem();\n } else if (this.#isInitialMount && this._commandState.value) {\n this.#scrollInitialValue();\n }\n return;\n }\n const scores = this._commandState.filtered.items;\n const groups = [];\n for (const value of this._commandState.filtered.groups) {\n const items = this.allGroups.get(value);\n let max = 0;\n if (!items) {\n groups.push([value, max]);\n continue;\n }\n for (const item of items) {\n const score = scores.get(item);\n max = Math.max(score ?? 0, max);\n }\n groups.push([value, max]);\n }\n const listInsertionElement = this.viewportNode;\n const sorted = this.getValidItems().sort((a, b) => {\n const valueA = a.getAttribute(\"data-value\");\n const valueB = b.getAttribute(\"data-value\");\n const scoresA = scores.get(valueA) ?? 0;\n const scoresB = scores.get(valueB) ?? 0;\n return scoresB - scoresA;\n });\n for (const item of sorted) {\n const group = item.closest(COMMAND_GROUP_ITEMS_SELECTOR);\n if (group) {\n const itemToAppend = item.parentElement === group ? item : item.closest(`${COMMAND_GROUP_ITEMS_SELECTOR} > *`);\n if (itemToAppend) {\n group.appendChild(itemToAppend);\n }\n } else {\n const itemToAppend = item.parentElement === listInsertionElement ? item : item.closest(`${COMMAND_GROUP_ITEMS_SELECTOR} > *`);\n if (itemToAppend) {\n listInsertionElement?.appendChild(itemToAppend);\n }\n }\n }\n const sortedGroups = groups.sort((a, b) => b[1] - a[1]);\n for (const group of sortedGroups) {\n const element = listInsertionElement?.querySelector(`${COMMAND_GROUP_SELECTOR}[${COMMAND_VALUE_ATTR}=\"${cssEscape(group[0])}\"]`);\n element?.parentElement?.appendChild(element);\n }\n this.#selectFirstItem();\n }\n /**\n * Sets current value and triggers re-render if cleared.\n *\n * @param value - New value to set\n */\n setValue(value, opts) {\n if (value !== this.opts.value.current && value === \"\") {\n this.#afterTick(() => {\n this.key++;\n });\n }\n this.setState(\"value\", value, opts);\n this.opts.value.current = value;\n }\n /**\n * Selects first non-disabled item on next tick.\n */\n #selectFirstItem() {\n this.#afterTick(() => {\n const item = this.getValidItems().find((item2) => item2.getAttribute(\"aria-disabled\") !== \"true\");\n const value = item?.getAttribute(COMMAND_VALUE_ATTR);\n const shouldPreventScroll = this.#isInitialMount && this.opts.disableInitialScroll.current;\n this.setValue(value ?? \"\", shouldPreventScroll);\n this.#isInitialMount = false;\n });\n }\n #selectFirstItemIfValueMissing(value) {\n afterTick(() => {\n if (this._commandState.value !== value) return;\n const selectedItemExists = this.getValidItems().some((item) => item.getAttribute(COMMAND_VALUE_ATTR) === value);\n if (!selectedItemExists) {\n this.#selectFirstItem();\n }\n });\n }\n /**\n * Scrolls the initial value into view if it exists and is not the first item.\n * Called during initial mount when a value is provided.\n */\n #scrollInitialValue() {\n this.#afterTick(() => {\n const shouldPreventScroll = this.opts.disableInitialScroll.current;\n if (!shouldPreventScroll) {\n this.#scrollSelectedIntoView();\n }\n this.#isInitialMount = false;\n });\n }\n /**\n * Updates filtered items/groups based on search.\n * Recalculates scores and filtered count.\n */\n #filterItems() {\n if (!this._commandState.search || this.opts.shouldFilter.current === false) {\n this._commandState.filtered.count = this.allItems.size;\n return;\n }\n this._commandState.filtered.groups = /* @__PURE__ */ new Set();\n let itemCount = 0;\n for (const id of this.allItems) {\n const value = this.allIds.get(id)?.value ?? \"\";\n const keywords = this.allIds.get(id)?.keywords ?? [];\n const rank = this.#score(value, keywords);\n this._commandState.filtered.items.set(id, rank);\n if (rank > 0) itemCount++;\n }\n for (const [groupId, group] of this.allGroups) {\n for (const itemId of group) {\n const currItem = this._commandState.filtered.items.get(itemId);\n if (currItem && currItem > 0) {\n this._commandState.filtered.groups.add(groupId);\n break;\n }\n }\n }\n this._commandState.filtered.count = itemCount;\n }\n /**\n * Gets all non-disabled, visible command items.\n *\n * @returns Array of valid item elements\n * @remarks Exposed for direct item access and bound checking\n */\n getValidItems() {\n const node = this.opts.ref.current;\n if (!node) return [];\n const validItems = Array.from(node.querySelectorAll(COMMAND_VALID_ITEM_SELECTOR)).filter((el) => !!el);\n return validItems;\n }\n /**\n * Gets all visible command items.\n *\n * @returns Array of valid item elements\n * @remarks Exposed for direct item access and bound checking\n */\n getVisibleItems() {\n const node = this.opts.ref.current;\n if (!node) return [];\n const visibleItems = Array.from(node.querySelectorAll(COMMAND_ITEM_SELECTOR)).filter((el) => !!el);\n return visibleItems;\n }\n /** Returns all visible items in a matrix structure\n *\n * @remarks Returns empty if the command isn't configured as a grid\n *\n * @returns\n */\n get itemsGrid() {\n if (!this.isGrid) return [];\n const columns = this.opts.columns.current ?? 1;\n const items = this.getVisibleItems();\n const grid = [[]];\n let currentGroup = items[0]?.getAttribute(\"data-group\");\n let column = 0;\n let row = 0;\n for (let i = 0; i < items.length; i++) {\n const item = items[i];\n const itemGroup = item?.getAttribute(\"data-group\");\n if (currentGroup !== itemGroup) {\n currentGroup = itemGroup;\n column = 1;\n row++;\n grid.push([{ index: i, firstRowOfGroup: true, ref: item }]);\n } else {\n column++;\n if (column > columns) {\n row++;\n column = 1;\n grid.push([]);\n }\n grid[row]?.push({\n index: i,\n firstRowOfGroup: grid[row]?.[0]?.firstRowOfGroup ?? i === 0,\n ref: item\n });\n }\n }\n return grid;\n }\n /**\n * Gets currently selected command item.\n *\n * @returns Selected element or undefined\n */\n #getSelectedItem() {\n const node = this.opts.ref.current;\n if (!node) return;\n const selectedNode = node.querySelector(`${COMMAND_VALID_ITEM_SELECTOR}[data-selected]`);\n if (!selectedNode) return;\n return selectedNode;\n }\n /**\n * Scrolls selected item into view.\n * Special handling for first items in groups.\n */\n #scrollSelectedIntoView() {\n this.#afterTick(() => {\n const item = this.#getSelectedItem();\n if (!item) return;\n const grandparent = item.parentElement?.parentElement;\n if (!grandparent) return;\n if (this.isGrid) {\n const isFirstRowOfGroup = this.#itemIsFirstRowOfGroup(item);\n item.scrollIntoView({ block: \"nearest\" });\n if (isFirstRowOfGroup) {\n const closestGroupHeader = item?.closest(COMMAND_GROUP_SELECTOR)?.querySelector(COMMAND_GROUP_HEADING_SELECTOR);\n closestGroupHeader?.scrollIntoView({ block: \"nearest\" });\n return;\n }\n } else {\n const firstChildOfParent = getFirstNonCommentChild(grandparent);\n if (firstChildOfParent && firstChildOfParent.dataset?.value === item.dataset?.value) {\n const closestGroupHeader = item?.closest(COMMAND_GROUP_SELECTOR)?.querySelector(COMMAND_GROUP_HEADING_SELECTOR);\n if (closestGroupHeader) {\n closestGroupHeader.scrollIntoView({ block: \"nearest\" });\n return;\n }\n }\n }\n item.scrollIntoView({ block: \"nearest\" });\n });\n }\n #itemIsFirstRowOfGroup(item) {\n const grid = this.itemsGrid;\n if (grid.length === 0) return false;\n for (let r = 0; r < grid.length; r++) {\n const row = grid[r];\n if (row === void 0) continue;\n for (let c = 0; c < row.length; c++) {\n const column = row[c];\n if (column === void 0 || column.ref !== item) continue;\n return column.firstRowOfGroup;\n }\n }\n return false;\n }\n /**\n * Sets selection to item at specified index in valid items array.\n * If index is out of bounds, does nothing.\n *\n * @param index - Zero-based index of item to select\n * @remarks\n * Uses `getValidItems()` to get selectable items, filtering out disabled/hidden ones.\n * Access valid items directly via `getValidItems()` to check bounds before calling.\n *\n * @example\n * // get valid items length for bounds check\n * const items = getValidItems()\n * if (index < items.length) {\n * updateSelectedToIndex(index)\n * }\n */\n updateSelectedToIndex(index) {\n const item = this.getValidItems()[index];\n if (!item) return;\n this.setValue(item.getAttribute(COMMAND_VALUE_ATTR) ?? \"\");\n }\n /**\n * Updates selected item by moving up/down relative to current selection.\n * Handles wrapping when loop option is enabled.\n *\n * @param change - Direction to move: 1 for next item, -1 for previous item\n * @remarks\n * The loop behavior wraps:\n * - From last item to first when moving next\n * - From first item to last when moving previous\n *\n * Uses `getValidItems()` to get all selectable items, which filters out disabled/hidden items.\n * You can call `getValidItems()` directly to get the current valid items array.\n *\n * @example\n * // select next item\n * updateSelectedByItem(1)\n *\n * // get all valid items\n * const items = getValidItems()\n */\n updateSelectedByItem(change) {\n const selected = this.#getSelectedItem();\n const items = this.getValidItems();\n const index = items.findIndex((item) => item === selected);\n let newSelected = items[index + change];\n if (this.opts.loop.current) {\n newSelected = index + change < 0 ? items[items.length - 1] : index + change === items.length ? items[0] : items[index + change];\n }\n if (newSelected) {\n this.setValue(newSelected.getAttribute(COMMAND_VALUE_ATTR) ?? \"\");\n }\n }\n /**\n * Moves selection to the first valid item in the next/previous group.\n * If no group is found, falls back to selecting the next/previous item globally.\n *\n * @param change - Direction to move: 1 for next group, -1 for previous group\n * @example\n * // move to first item in next group\n * updateSelectedByGroup(1)\n *\n * // move to first item in previous group\n * updateSelectedByGroup(-1)\n */\n updateSelectedByGroup(change) {\n const selected = this.#getSelectedItem();\n let group = selected?.closest(COMMAND_GROUP_SELECTOR);\n let item;\n while (group && !item) {\n group = change > 0 ? findNextSibling(group, COMMAND_GROUP_SELECTOR) : findPreviousSibling(group, COMMAND_GROUP_SELECTOR);\n item = group?.querySelector(COMMAND_VALID_ITEM_SELECTOR);\n }\n if (item) {\n this.setValue(item.getAttribute(COMMAND_VALUE_ATTR) ?? \"\");\n } else {\n this.updateSelectedByItem(change);\n }\n }\n /**\n * Maps item id to display value and search keywords.\n * Returns cleanup function to remove mapping.\n *\n * @param id - Unique item identifier\n * @param value - Display text\n * @param keywords - Optional search boost terms\n * @returns Cleanup function\n */\n registerValue(value, keywords) {\n if (!(value && value === this.allIds.get(value)?.value)) {\n this.allIds.set(value, { value, keywords });\n }\n this._commandState.filtered.items.set(value, this.#score(value, keywords));\n if (!this.sortAfterTick) {\n this.sortAfterTick = true;\n this.#afterTick(() => {\n this.#sort();\n this.sortAfterTick = false;\n });\n }\n return () => {\n this.allIds.delete(value);\n };\n }\n /**\n * Registers item in command list and its group.\n * Handles filtering, sorting and selection updates.\n *\n * @param id - Item identifier\n * @param groupId - Optional group to add item to\n * @returns Cleanup function that handles selection\n */\n registerItem(id, groupId) {\n this.allItems.add(id);\n if (groupId) {\n if (!this.allGroups.has(groupId)) {\n this.allGroups.set(groupId, /* @__PURE__ */ new Set([id]));\n } else {\n this.allGroups.get(groupId).add(id);\n }\n }\n if (!this.sortAndFilterAfterTick) {\n this.sortAndFilterAfterTick = true;\n this.#afterTick(() => {\n this.#filterItems();\n this.#sort();\n this.sortAndFilterAfterTick = false;\n });\n }\n this.#scheduleUpdate();\n return () => {\n const selectedItem = this.#getSelectedItem();\n this.allItems.delete(id);\n this.commandState.filtered.items.delete(id);\n this.#filterItems();\n if (selectedItem?.getAttribute(\"id\") === id) {\n const selectedValue = selectedItem.getAttribute(COMMAND_VALUE_ATTR);\n if (selectedValue) {\n this.#selectFirstItemIfValueMissing(selectedValue);\n } else {\n this.#selectFirstItem();\n }\n }\n this.#scheduleUpdate();\n };\n }\n /**\n * Creates empty group if not exists.\n *\n * @param id - Group identifier\n * @returns Cleanup function\n */\n registerGroup(id) {\n if (!this.allGroups.has(id)) {\n this.allGroups.set(id, /* @__PURE__ */ new Set());\n }\n return () => {\n this.allIds.delete(id);\n this.allGroups.delete(id);\n };\n }\n get isGrid() {\n return this.opts.columns.current !== null;\n }\n /**\n * Selects last valid item.\n */\n #last() {\n return this.updateSelectedToIndex(this.getValidItems().length - 1);\n }\n /**\n * Handles next item selection:\n * - Meta: Jump to last\n * - Alt: Next group\n * - Default: Next item\n *\n * @param e - Keyboard event\n */\n #next(e) {\n e.preventDefault();\n if (e.metaKey) {\n this.#last();\n } else if (e.altKey) {\n this.updateSelectedByGroup(1);\n } else {\n this.updateSelectedByItem(1);\n }\n }\n #down(e) {\n if (this.opts.columns.current === null) return;\n e.preventDefault();\n if (e.metaKey) {\n this.updateSelectedByGroup(1);\n } else {\n this.updateSelectedByItem(this.#nextRowColumnOffset(e));\n }\n }\n #getColumn(item, grid) {\n if (grid.length === 0) return null;\n for (let r = 0; r < grid.length; r++) {\n const row = grid[r];\n if (row === void 0) continue;\n for (let c = 0; c < row.length; c++) {\n const column = row[c];\n if (column === void 0 || column.ref !== item) continue;\n return { columnIndex: c, rowIndex: r };\n }\n }\n return null;\n }\n #nextRowColumnOffset(e) {\n const grid = this.itemsGrid;\n const selected = this.#getSelectedItem();\n if (!selected) return 0;\n const column = this.#getColumn(selected, grid);\n if (!column) return 0;\n let newItem = null;\n const skipRows = e.altKey ? 1 : 0;\n if (e.altKey && column.rowIndex === grid.length - 2 && !this.opts.loop.current) {\n newItem = this.#findNextNonDisabledItem({\n start: grid.length - 1,\n end: grid.length,\n expectedColumnIndex: column.columnIndex,\n grid\n });\n } else if (column.rowIndex === grid.length - 1) {\n if (!this.opts.loop.current) return 0;\n newItem = this.#findNextNonDisabledItem({\n start: 0 + skipRows,\n end: column.rowIndex,\n expectedColumnIndex: column.columnIndex,\n grid\n });\n } else {\n newItem = this.#findNextNonDisabledItem({\n start: column.rowIndex + 1 + skipRows,\n end: grid.length,\n expectedColumnIndex: column.columnIndex,\n grid\n });\n if (newItem === null && this.opts.loop.current) {\n newItem = this.#findNextNonDisabledItem({\n start: 0,\n end: column.rowIndex,\n expectedColumnIndex: column.columnIndex,\n grid\n });\n }\n }\n return this.#calculateOffset(selected, newItem);\n }\n /** Attempts to find the next non-disabled column that matches the expected column.\n *\n * @remarks\n * - Skips over disabled columns\n * - When a row is shorter than the expected column it defaults to the last item in the row\n *\n * @param param0\n * @returns\n */\n #findNextNonDisabledItem({ start, end, grid, expectedColumnIndex }) {\n let newItem = null;\n for (let r = start; r < end; r++) {\n const row = grid[r];\n newItem = row[expectedColumnIndex]?.ref ?? null;\n if (newItem !== null && itemIsDisabled(newItem)) {\n newItem = null;\n continue;\n }\n if (newItem === null) {\n for (let i = row.length - 1; i >= 0; i--) {\n const item = row[row.length - 1];\n if (item === void 0 || itemIsDisabled(item.ref)) continue;\n newItem = item.ref;\n break;\n }\n }\n break;\n }\n return newItem;\n }\n #calculateOffset(selected, newSelected) {\n if (newSelected === null) return 0;\n const items = this.getValidItems();\n const ogIndex = items.findIndex((item) => item === selected);\n const newIndex = items.findIndex((item) => item === newSelected);\n return newIndex - ogIndex;\n }\n #up(e) {\n if (this.opts.columns.current === null) return;\n e.preventDefault();\n if (e.metaKey) {\n this.updateSelectedByGroup(-1);\n } else {\n this.updateSelectedByItem(this.#previousRowColumnOffset(e));\n }\n }\n #previousRowColumnOffset(e) {\n const grid = this.itemsGrid;\n const selected = this.#getSelectedItem();\n if (selected === void 0) return 0;\n const column = this.#getColumn(selected, grid);\n if (column === null) return 0;\n let newItem = null;\n const skipRows = e.altKey ? 1 : 0;\n if (e.altKey && column.rowIndex === 1 && this.opts.loop.current === false) {\n newItem = this.#findNextNonDisabledItemDesc({\n start: 0,\n end: 0,\n expectedColumnIndex: column.columnIndex,\n grid\n });\n } else if (column.rowIndex === 0) {\n if (this.opts.loop.current === false) return 0;\n newItem = this.#findNextNonDisabledItemDesc({\n start: grid.length - 1 - skipRows,\n end: column.rowIndex + 1,\n expectedColumnIndex: column.columnIndex,\n grid\n });\n } else {\n newItem = this.#findNextNonDisabledItemDesc({\n start: column.rowIndex - 1 - skipRows,\n end: 0,\n expectedColumnIndex: column.columnIndex,\n grid\n });\n if (newItem === null && this.opts.loop.current) {\n newItem = this.#findNextNonDisabledItemDesc({\n start: grid.length - 1,\n end: column.rowIndex + 1,\n expectedColumnIndex: column.columnIndex,\n grid\n });\n }\n }\n return this.#calculateOffset(selected, newItem);\n }\n /**\n * Attempts to find the next non-disabled column that matches the expected column.\n *\n * @remarks\n * - Skips over disabled columns\n * - When a row is shorter than the expected column it defaults to the last item in the row\n */\n #findNextNonDisabledItemDesc({ start, end, grid, expectedColumnIndex }) {\n let newItem = null;\n for (let r = start; r >= end; r--) {\n const row = grid[r];\n if (row === void 0) continue;\n newItem = row[expectedColumnIndex]?.ref ?? null;\n if (newItem !== null && itemIsDisabled(newItem)) {\n newItem = null;\n continue;\n }\n if (newItem === null) {\n for (let i = row.length - 1; i >= 0; i--) {\n const item = row[row.length - 1];\n if (item === void 0 || itemIsDisabled(item.ref)) continue;\n newItem = item.ref;\n break;\n }\n }\n break;\n }\n return newItem;\n }\n /**\n * Handles previous item selection:\n * - Meta: Jump to first\n * - Alt: Previous group\n * - Default: Previous item\n *\n * @param e - Keyboard event\n */\n #prev(e) {\n e.preventDefault();\n if (e.metaKey) {\n this.updateSelectedToIndex(0);\n } else if (e.altKey) {\n this.updateSelectedByGroup(-1);\n } else {\n this.updateSelectedByItem(-1);\n }\n }\n onkeydown(e) {\n const isVim = this.opts.vimBindings.current && e.ctrlKey;\n switch (e.key) {\n case n:\n case j: {\n if (isVim) {\n if (this.isGrid) {\n this.#down(e);\n } else {\n this.#next(e);\n }\n }\n break;\n }\n case l: {\n if (isVim) {\n if (this.isGrid) {\n this.#next(e);\n }\n }\n break;\n }\n case ARROW_DOWN:\n if (this.isGrid) {\n this.#down(e);\n } else {\n this.#next(e);\n }\n break;\n case ARROW_RIGHT:\n if (!this.isGrid) break;\n this.#next(e);\n break;\n case p:\n case k: {\n if (isVim) {\n if (this.isGrid) {\n this.#up(e);\n } else {\n this.#prev(e);\n }\n }\n break;\n }\n case h: {\n if (isVim && this.isGrid) {\n this.#prev(e);\n }\n break;\n }\n case ARROW_UP:\n if (this.isGrid) {\n this.#up(e);\n } else {\n this.#prev(e);\n }\n break;\n case ARROW_LEFT:\n if (!this.isGrid) break;\n this.#prev(e);\n break;\n case HOME:\n e.preventDefault();\n this.updateSelectedToIndex(0);\n break;\n case END:\n e.preventDefault();\n this.#last();\n break;\n case ENTER: {\n if (!e.isComposing && e.keyCode !== 229) {\n e.preventDefault();\n const item = this.#getSelectedItem();\n if (item) {\n item?.click();\n }\n }\n }\n }\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n role: \"application\",\n [commandAttrs.root]: \"\",\n tabindex: -1,\n onkeydown: this.onkeydown,\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nfunction itemIsDisabled(item) {\n return item.getAttribute(\"aria-disabled\") === \"true\";\n}\nclass CommandEmptyState {\n static create(opts) {\n return new CommandEmptyState(opts, CommandRootContext.get());\n }\n opts;\n root;\n attachment;\n #shouldRender = derived(() => {\n return this.root._commandState.filtered.count === 0 && this.#isInitialRender === false || this.opts.forceMount.current;\n });\n get shouldRender() {\n return this.#shouldRender();\n }\n set shouldRender($$value) {\n return this.#shouldRender($$value);\n }\n #isInitialRender = true;\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.attachment = attachRef(this.opts.ref);\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n role: \"presentation\",\n [commandAttrs.empty]: \"\",\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass CommandGroupContainerState {\n static create(opts) {\n return CommandGroupContainerContext.set(new CommandGroupContainerState(opts, CommandRootContext.get()));\n }\n opts;\n root;\n attachment;\n #shouldRender = derived(() => {\n if (this.opts.forceMount.current) return true;\n if (this.root.opts.shouldFilter.current === false) return true;\n if (!this.root.commandState.search) return true;\n return this.root._commandState.filtered.groups.has(this.trueValue);\n });\n get shouldRender() {\n return this.#shouldRender();\n }\n set shouldRender($$value) {\n return this.#shouldRender($$value);\n }\n headingNode = null;\n trueValue = \"\";\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.attachment = attachRef(this.opts.ref);\n this.trueValue = opts.value.current ?? opts.id.current;\n watch(() => this.trueValue, () => {\n return this.root.registerGroup(this.trueValue);\n });\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n role: \"presentation\",\n hidden: this.shouldRender ? void 0 : true,\n \"data-value\": this.trueValue,\n [commandAttrs.group]: \"\",\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass CommandGroupHeadingState {\n static create(opts) {\n return new CommandGroupHeadingState(opts, CommandGroupContainerContext.get());\n }\n opts;\n group;\n attachment;\n constructor(opts, group) {\n this.opts = opts;\n this.group = group;\n this.attachment = attachRef(this.opts.ref, (v) => this.group.headingNode = v);\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n [commandAttrs[\"group-heading\"]]: \"\",\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass CommandGroupItemsState {\n static create(opts) {\n return new CommandGroupItemsState(opts, CommandGroupContainerContext.get());\n }\n opts;\n group;\n attachment;\n constructor(opts, group) {\n this.opts = opts;\n this.group = group;\n this.attachment = attachRef(this.opts.ref);\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n role: \"group\",\n [commandAttrs[\"group-items\"]]: \"\",\n \"aria-labelledby\": this.group.headingNode?.id ?? void 0,\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass CommandInputState {\n static create(opts) {\n return new CommandInputState(opts, CommandRootContext.get());\n }\n opts;\n root;\n attachment;\n #selectedItemId = derived(() => {\n const item = this.root.viewportNode?.querySelector(`${COMMAND_ITEM_SELECTOR}[${COMMAND_VALUE_ATTR}=\"${cssEscape(this.root.opts.value.current)}\"]`);\n if (item === void 0 || item === null) return;\n return item.getAttribute(\"id\") ?? void 0;\n });\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.attachment = attachRef(this.opts.ref, (v) => this.root.inputNode = v);\n watch(() => this.opts.ref.current, () => {\n const node = this.opts.ref.current;\n if (node && this.opts.autofocus.current) {\n afterSleep(10, () => node.focus());\n }\n });\n watch(() => this.opts.value.current, () => {\n if (this.root.commandState.search !== this.opts.value.current) {\n this.root.setState(\"search\", this.opts.value.current);\n }\n });\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n type: \"text\",\n [commandAttrs.input]: \"\",\n autocomplete: \"off\",\n autocorrect: \"off\",\n spellcheck: false,\n \"aria-autocomplete\": \"list\",\n role: \"combobox\",\n \"aria-expanded\": boolToStr(true),\n \"aria-controls\": this.root.viewportNode?.id ?? void 0,\n \"aria-labelledby\": this.root.labelNode?.id ?? void 0,\n \"aria-activedescendant\": this.#selectedItemId(),\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass CommandItemState {\n static create(opts) {\n const group = CommandGroupContainerContext.getOr(null);\n return new CommandItemState({ ...opts, group }, CommandRootContext.get());\n }\n opts;\n root;\n attachment;\n #group = null;\n #trueForceMount = derived(() => {\n return this.opts.forceMount.current || this.#group?.opts.forceMount.current === true;\n });\n #shouldRender = derived(() => {\n this.opts.ref.current;\n if (this.#trueForceMount() || this.root.opts.shouldFilter.current === false || !this.root.commandState.search) {\n return true;\n }\n const currentScore = this.root.commandState.filtered.items.get(this.trueValue);\n if (currentScore === void 0) return false;\n return currentScore > 0;\n });\n get shouldRender() {\n return this.#shouldRender();\n }\n set shouldRender($$value) {\n return this.#shouldRender($$value);\n }\n #isSelected = derived(() => this.root.opts.value.current === this.trueValue && this.trueValue !== \"\");\n get isSelected() {\n return this.#isSelected();\n }\n set isSelected($$value) {\n return this.#isSelected($$value);\n }\n trueValue = \"\";\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.#group = CommandGroupContainerContext.getOr(null);\n this.trueValue = opts.value.current;\n this.attachment = attachRef(this.opts.ref);\n watch(\n [\n () => this.trueValue,\n () => this.#group?.trueValue,\n () => this.opts.forceMount.current\n ],\n () => {\n if (this.opts.forceMount.current || !this.trueValue) return;\n return this.root.registerItem(this.trueValue, this.#group?.trueValue);\n }\n );\n watch([() => this.opts.value.current, () => this.opts.ref.current], () => {\n if (this.opts.value.current) {\n this.trueValue = this.opts.value.current;\n } else if (this.opts.ref.current?.textContent) {\n this.trueValue = this.opts.ref.current.textContent.trim();\n }\n if (this.trueValue) {\n this.root.registerValue(this.trueValue, opts.keywords.current.map((kw) => kw.trim()));\n this.opts.ref.current?.setAttribute(COMMAND_VALUE_ATTR, this.trueValue);\n }\n });\n this.onclick = this.onclick.bind(this);\n this.onpointermove = this.onpointermove.bind(this);\n }\n #onSelect() {\n if (this.opts.disabled.current) return;\n this.#select();\n this.opts.onSelect?.current();\n }\n #select() {\n if (this.opts.disabled.current) return;\n this.root.setValue(this.trueValue, true);\n }\n onpointermove(_) {\n if (this.opts.disabled.current || this.root.opts.disablePointerSelection.current) return;\n this.#select();\n }\n onclick(_) {\n if (this.opts.disabled.current) return;\n this.#onSelect();\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n \"aria-disabled\": boolToStr(this.opts.disabled.current),\n \"aria-selected\": boolToStr(this.isSelected),\n \"data-disabled\": boolToEmptyStrOrUndef(this.opts.disabled.current),\n \"data-selected\": boolToEmptyStrOrUndef(this.isSelected),\n \"data-value\": this.trueValue,\n \"data-group\": this.#group?.trueValue,\n [commandAttrs.item]: \"\",\n role: \"option\",\n onpointermove: this.onpointermove,\n onclick: this.onclick,\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass CommandListState {\n static create(opts) {\n return CommandListContext.set(new CommandListState(opts, CommandRootContext.get()));\n }\n opts;\n root;\n attachment;\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.attachment = attachRef(this.opts.ref);\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n role: \"listbox\",\n \"aria-label\": this.opts.ariaLabel.current,\n [commandAttrs.list]: \"\",\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass CommandLabelState {\n static create(opts) {\n return new CommandLabelState(opts, CommandRootContext.get());\n }\n opts;\n root;\n attachment;\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.attachment = attachRef(this.opts.ref, (v) => this.root.labelNode = v);\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n [commandAttrs[\"input-label\"]]: \"\",\n for: this.opts.for?.current,\n style: srOnlyStyles,\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nfunction _command_label($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n id = createId(uid),\n ref = null,\n children,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const labelState = CommandLabelState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, labelState.props));\n $$renderer2.push(`<label${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></label>`);\n bind_props($$props, { ref });\n });\n}\nfunction Command$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n id = createId(uid),\n ref = null,\n value = \"\",\n onValueChange = noop,\n onStateChange = noop,\n loop = false,\n shouldFilter = true,\n filter = computeCommandScore,\n label = \"\",\n vimBindings = true,\n disablePointerSelection = false,\n disableInitialScroll = false,\n columns = null,\n children,\n child,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const rootState = CommandRootState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v),\n filter: boxWith(() => filter),\n shouldFilter: boxWith(() => shouldFilter),\n loop: boxWith(() => loop),\n value: boxWith(() => value, (v) => {\n if (value !== v) {\n value = v;\n onValueChange(v);\n }\n }),\n vimBindings: boxWith(() => vimBindings),\n disablePointerSelection: boxWith(() => disablePointerSelection),\n disableInitialScroll: boxWith(() => disableInitialScroll),\n onStateChange: boxWith(() => onStateChange),\n columns: boxWith(() => columns)\n });\n const updateSelectedToIndex = (i) => rootState.updateSelectedToIndex(i);\n const updateSelectedByGroup = (c) => rootState.updateSelectedByGroup(c);\n const updateSelectedByItem = (c) => rootState.updateSelectedByItem(c);\n const getValidItems = () => rootState.getValidItems();\n const mergedProps = derived(() => mergeProps(restProps, rootState.props));\n function Label($$renderer3) {\n _command_label($$renderer3, {\n children: ($$renderer4) => {\n $$renderer4.push(`<!---->${escape_html(label)}`);\n },\n $$slots: { default: true }\n });\n }\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n Label($$renderer2);\n $$renderer2.push(`<!----> `);\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n Label($$renderer2);\n $$renderer2.push(`<!----> `);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, {\n ref,\n value,\n updateSelectedToIndex,\n updateSelectedByGroup,\n updateSelectedByItem,\n getValidItems\n });\n });\n}\nfunction Command_empty$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n id = createId(uid),\n ref = null,\n children,\n child,\n forceMount = false,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const emptyState = CommandEmptyState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v),\n forceMount: boxWith(() => forceMount)\n });\n const mergedProps = derived(() => mergeProps(emptyState.props, restProps));\n if (emptyState.shouldRender) {\n $$renderer2.push(\"<!--[0-->\");\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Command_group$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n id = createId(uid),\n ref = null,\n value = \"\",\n forceMount = false,\n children,\n child,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const groupState = CommandGroupContainerState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v),\n forceMount: boxWith(() => forceMount),\n value: boxWith(() => value)\n });\n const mergedProps = derived(() => mergeProps(restProps, groupState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Command_group_heading($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n id = createId(uid),\n ref = null,\n children,\n child,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const headingState = CommandGroupHeadingState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, headingState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Command_group_items($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n id = createId(uid),\n ref = null,\n children,\n child,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const groupItemsState = CommandGroupItemsState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, groupItemsState.props));\n $$renderer2.push(`<div style=\"display: contents;\">`);\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]--></div>`);\n bind_props($$props, { ref });\n });\n}\nfunction Command_input$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n value = \"\",\n autofocus = false,\n id = createId(uid),\n ref = null,\n child,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const inputState = CommandInputState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v),\n value: boxWith(() => value, (v) => {\n value = v;\n }),\n autofocus: boxWith(() => autofocus ?? false)\n });\n const mergedProps = derived(() => mergeProps(restProps, inputState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><input${attributes({ ...mergedProps(), value }, void 0, void 0, void 0, 4)}/>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { value, ref });\n });\n}\nfunction Command_item$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n id = createId(uid),\n ref = null,\n value = \"\",\n disabled = false,\n children,\n child,\n onSelect = noop,\n forceMount = false,\n keywords = [],\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const itemState = CommandItemState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v),\n value: boxWith(() => value),\n disabled: boxWith(() => disabled),\n onSelect: boxWith(() => onSelect),\n forceMount: boxWith(() => forceMount),\n keywords: boxWith(() => keywords)\n });\n const mergedProps = derived(() => mergeProps(restProps, itemState.props));\n $$renderer2.push(`<!---->`);\n {\n $$renderer2.push(`<div style=\"display: contents;\" data-item-wrapper=\"\"${attr(\"data-value\", itemState.trueValue)}>`);\n if (itemState.shouldRender) {\n $$renderer2.push(\"<!--[0-->\");\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--></div>`);\n }\n $$renderer2.push(`<!---->`);\n bind_props($$props, { ref });\n });\n}\nfunction Command_list$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n id = createId(uid),\n ref = null,\n child,\n children,\n \"aria-label\": ariaLabel,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const listState = CommandListState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v),\n ariaLabel: boxWith(() => ariaLabel ?? \"Suggestions...\")\n });\n const mergedProps = derived(() => mergeProps(restProps, listState.props));\n $$renderer2.push(`<!---->`);\n {\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n }\n $$renderer2.push(`<!---->`);\n bind_props($$props, { ref });\n });\n}\nconst SCORE_CONTINUE_MATCH = 1;\nconst SCORE_SPACE_WORD_JUMP = 0.9;\nconst SCORE_NON_SPACE_WORD_JUMP = 0.8;\nconst SCORE_CHARACTER_JUMP = 0.17;\nconst SCORE_TRANSPOSITION = 0.1;\nconst PENALTY_SKIPPED = 0.999;\nconst PENALTY_CASE_MISMATCH = 0.9999;\nconst PENALTY_NOT_COMPLETE = 0.99;\nconst IS_GAP_REGEXP = /[\\\\/_+.#\"@[({&]/;\nconst COUNT_GAPS_REGEXP = /[\\\\/_+.#\"@[({&]/g;\nconst IS_SPACE_REGEXP = /[\\s-]/;\nconst COUNT_SPACE_REGEXP = /[\\s-]/g;\nfunction computeCommandScoreInner(string, abbreviation, lowerString, lowerAbbreviation, stringIndex, abbreviationIndex, memoizedResults) {\n if (abbreviationIndex === abbreviation.length) {\n if (stringIndex === string.length)\n return SCORE_CONTINUE_MATCH;\n return PENALTY_NOT_COMPLETE;\n }\n const memoizeKey = `${stringIndex},${abbreviationIndex}`;\n if (memoizedResults[memoizeKey] !== void 0)\n return memoizedResults[memoizeKey];\n const abbreviationChar = lowerAbbreviation.charAt(abbreviationIndex);\n let index = lowerString.indexOf(abbreviationChar, stringIndex);\n let highScore = 0;\n let score, transposedScore, wordBreaks, spaceBreaks;\n while (index >= 0) {\n score = computeCommandScoreInner(string, abbreviation, lowerString, lowerAbbreviation, index + 1, abbreviationIndex + 1, memoizedResults);\n if (score > highScore) {\n if (index === stringIndex) {\n score *= SCORE_CONTINUE_MATCH;\n } else if (IS_GAP_REGEXP.test(string.charAt(index - 1))) {\n score *= SCORE_NON_SPACE_WORD_JUMP;\n wordBreaks = string.slice(stringIndex, index - 1).match(COUNT_GAPS_REGEXP);\n if (wordBreaks && stringIndex > 0) {\n score *= PENALTY_SKIPPED ** wordBreaks.length;\n }\n } else if (IS_SPACE_REGEXP.test(string.charAt(index - 1))) {\n score *= SCORE_SPACE_WORD_JUMP;\n spaceBreaks = string.slice(stringIndex, index - 1).match(COUNT_SPACE_REGEXP);\n if (spaceBreaks && stringIndex > 0) {\n score *= PENALTY_SKIPPED ** spaceBreaks.length;\n }\n } else {\n score *= SCORE_CHARACTER_JUMP;\n if (stringIndex > 0) {\n score *= PENALTY_SKIPPED ** (index - stringIndex);\n }\n }\n if (string.charAt(index) !== abbreviation.charAt(abbreviationIndex)) {\n score *= PENALTY_CASE_MISMATCH;\n }\n }\n if (score < SCORE_TRANSPOSITION && lowerString.charAt(index - 1) === lowerAbbreviation.charAt(abbreviationIndex + 1) || lowerAbbreviation.charAt(abbreviationIndex + 1) === lowerAbbreviation.charAt(abbreviationIndex) && lowerString.charAt(index - 1) !== lowerAbbreviation.charAt(abbreviationIndex)) {\n transposedScore = computeCommandScoreInner(string, abbreviation, lowerString, lowerAbbreviation, index + 1, abbreviationIndex + 2, memoizedResults);\n if (transposedScore * SCORE_TRANSPOSITION > score) {\n score = transposedScore * SCORE_TRANSPOSITION;\n }\n }\n if (score > highScore) {\n highScore = score;\n }\n index = lowerString.indexOf(abbreviationChar, index + 1);\n }\n memoizedResults[memoizeKey] = highScore;\n return highScore;\n}\nfunction formatInput(string) {\n return string.toLowerCase().replace(COUNT_SPACE_REGEXP, \" \");\n}\nfunction computeCommandScore(command, search, commandKeywords) {\n command = commandKeywords && commandKeywords.length > 0 ? `${`${command} ${commandKeywords?.join(\" \")}`}` : command;\n return computeCommandScoreInner(command, search, formatInput(command), formatInput(search), 0, 0, {});\n}\nfunction Menu_item($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n child,\n children,\n ref = null,\n id = createId(uid),\n disabled = false,\n onSelect = noop,\n closeOnSelect = true,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const itemState = MenuItemState.create({\n id: boxWith(() => id),\n disabled: boxWith(() => disabled),\n onSelect: boxWith(() => onSelect),\n ref: boxWith(() => ref, (v) => ref = v),\n closeOnSelect: boxWith(() => closeOnSelect)\n });\n const mergedProps = derived(() => mergeProps(restProps, itemState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nlet sharedObserver = null;\nconst observedNodes = /* @__PURE__ */ new WeakMap();\nfunction getSharedObserver() {\n sharedObserver ??= new ResizeObserver((entries) => {\n for (const entry of entries) {\n const callbacks = observedNodes.get(entry.target);\n if (!callbacks) continue;\n for (const callback of [...callbacks]) callback();\n }\n });\n return sharedObserver;\n}\nfunction observeResize(node, callback) {\n let callbacks = observedNodes.get(node);\n if (callbacks === void 0) {\n callbacks = /* @__PURE__ */ new Set();\n observedNodes.set(node, callbacks);\n callbacks.add(callback);\n getSharedObserver().observe(node);\n } else {\n callbacks.add(callback);\n callback();\n }\n return () => {\n const current = observedNodes.get(node);\n if (!current) return;\n current.delete(callback);\n if (current.size) return;\n observedNodes.delete(node);\n sharedObserver?.unobserve(node);\n };\n}\nclass SvelteResizeObserver {\n #node;\n #onResize;\n constructor(node, onResize) {\n this.#node = node;\n this.#onResize = onResize;\n this.handler = this.handler.bind(this);\n }\n handler() {\n let rAF = 0;\n const _node = this.#node();\n if (!_node) return;\n const unobserve = observeResize(_node, () => {\n cancelAnimationFrame(rAF);\n rAF = window.requestAnimationFrame(this.#onResize);\n });\n return () => {\n window.cancelAnimationFrame(rAF);\n unobserve();\n };\n }\n}\nclass Presence {\n opts;\n present;\n #afterAnimations;\n #isPresent = false;\n #hasMounted = false;\n #transitionStatus = void 0;\n #transitionFrame = null;\n constructor(opts) {\n this.opts = opts;\n this.present = this.opts.open;\n this.#isPresent = opts.open.current;\n this.#afterAnimations = new AnimationsComplete({ ref: this.opts.ref, afterTick: this.opts.open });\n watch(() => this.present.current, (isOpen) => {\n if (!this.#hasMounted) {\n this.#hasMounted = true;\n return;\n }\n this.#clearTransitionFrame();\n if (isOpen) {\n this.#isPresent = true;\n }\n this.#transitionStatus = isOpen ? \"starting\" : \"ending\";\n if (isOpen) {\n this.#transitionFrame = window.requestAnimationFrame(() => {\n this.#transitionFrame = null;\n if (this.present.current) {\n this.#transitionStatus = void 0;\n }\n });\n }\n this.#afterAnimations.run(() => {\n if (isOpen !== this.present.current) return;\n if (!isOpen) {\n this.#isPresent = false;\n }\n this.#transitionStatus = void 0;\n });\n });\n }\n #_isPresent = derived(() => {\n return this.#isPresent;\n });\n get isPresent() {\n return this.#_isPresent();\n }\n set isPresent($$value) {\n return this.#_isPresent($$value);\n }\n get transitionStatus() {\n return this.#transitionStatus;\n }\n #clearTransitionFrame() {\n if (this.#transitionFrame === null) return;\n window.cancelAnimationFrame(this.#transitionFrame);\n this.#transitionFrame = null;\n }\n}\nfunction Presence_layer($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { open, forceMount, presence, ref } = $$props;\n const presenceState = new Presence({ open: boxWith(() => open), ref: run(() => ref) });\n if (forceMount || open || presenceState.isPresent) {\n $$renderer2.push(\"<!--[0-->\");\n presence?.($$renderer2, {\n present: presenceState.isPresent,\n transitionStatus: presenceState.transitionStatus\n });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]-->`);\n });\n}\nfunction clamp(n2, min, max) {\n return Math.min(max, Math.max(min, n2));\n}\nclass StateMachine {\n state;\n #machine;\n constructor(initialState, machine) {\n this.state = simpleBox(initialState);\n this.#machine = machine;\n this.dispatch = this.dispatch.bind(this);\n }\n #reducer(event) {\n const nextState = this.#machine[this.state.current][event];\n return nextState ?? this.state.current;\n }\n dispatch(event) {\n this.state.current = this.#reducer(event);\n }\n}\nconst scrollAreaAttrs = createBitsAttrs({\n component: \"scroll-area\",\n parts: [\"root\", \"viewport\", \"corner\", \"thumb\", \"scrollbar\"]\n});\nconst ScrollAreaRootContext = new Context$1(\"ScrollArea.Root\");\nconst ScrollAreaScrollbarContext = new Context$1(\"ScrollArea.Scrollbar\");\nconst ScrollAreaScrollbarVisibleContext = new Context$1(\"ScrollArea.ScrollbarVisible\");\nconst ScrollAreaScrollbarAxisContext = new Context$1(\"ScrollArea.ScrollbarAxis\");\nconst ScrollAreaScrollbarSharedContext = new Context$1(\"ScrollArea.ScrollbarShared\");\nclass ScrollAreaRootState {\n static create(opts) {\n return ScrollAreaRootContext.set(new ScrollAreaRootState(opts));\n }\n opts;\n attachment;\n scrollAreaNode = null;\n viewportNode = null;\n contentNode = null;\n scrollbarXNode = null;\n scrollbarYNode = null;\n cornerWidth = 0;\n cornerHeight = 0;\n scrollbarXEnabled = false;\n scrollbarYEnabled = false;\n domContext;\n constructor(opts) {\n this.opts = opts;\n this.attachment = attachRef(opts.ref, (v) => this.scrollAreaNode = v);\n this.domContext = new DOMContext(opts.ref);\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n dir: this.opts.dir.current,\n style: {\n position: \"relative\",\n \"--bits-scroll-area-corner-height\": `${this.cornerHeight}px`,\n \"--bits-scroll-area-corner-width\": `${this.cornerWidth}px`\n },\n [scrollAreaAttrs.root]: \"\",\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass ScrollAreaViewportState {\n static create(opts) {\n return new ScrollAreaViewportState(opts, ScrollAreaRootContext.get());\n }\n opts;\n root;\n attachment;\n #contentId = simpleBox(useId());\n #contentRef = simpleBox(null);\n contentAttachment = attachRef(this.#contentRef, (v) => this.root.contentNode = v);\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.attachment = attachRef(opts.ref, (v) => this.root.viewportNode = v);\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n style: {\n overflowX: this.root.scrollbarXEnabled ? \"scroll\" : \"hidden\",\n overflowY: this.root.scrollbarYEnabled ? \"scroll\" : \"hidden\"\n },\n [scrollAreaAttrs.viewport]: \"\",\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n #contentProps = derived(() => ({\n id: this.#contentId.current,\n \"data-scroll-area-content\": \"\",\n style: {\n minWidth: this.root.scrollbarXEnabled ? \"fit-content\" : void 0\n },\n ...this.contentAttachment\n }));\n get contentProps() {\n return this.#contentProps();\n }\n set contentProps($$value) {\n return this.#contentProps($$value);\n }\n}\nclass ScrollAreaScrollbarState {\n static create(opts) {\n return ScrollAreaScrollbarContext.set(new ScrollAreaScrollbarState(opts, ScrollAreaRootContext.get()));\n }\n opts;\n root;\n #isHorizontal = derived(() => this.opts.orientation.current === \"horizontal\");\n get isHorizontal() {\n return this.#isHorizontal();\n }\n set isHorizontal($$value) {\n return this.#isHorizontal($$value);\n }\n hasThumb = false;\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n watch(() => this.isHorizontal, (isHorizontal) => {\n if (isHorizontal) {\n this.root.scrollbarXEnabled = true;\n return () => {\n this.root.scrollbarXEnabled = false;\n };\n } else {\n this.root.scrollbarYEnabled = true;\n return () => {\n this.root.scrollbarYEnabled = false;\n };\n }\n });\n }\n}\nclass ScrollAreaScrollbarHoverState {\n static create() {\n return new ScrollAreaScrollbarHoverState(ScrollAreaScrollbarContext.get());\n }\n scrollbar;\n root;\n isVisible = false;\n constructor(scrollbar) {\n this.scrollbar = scrollbar;\n this.root = scrollbar.root;\n }\n #props = derived(() => ({ \"data-state\": this.isVisible ? \"visible\" : \"hidden\" }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass ScrollAreaScrollbarScrollState {\n static create() {\n return new ScrollAreaScrollbarScrollState(ScrollAreaScrollbarContext.get());\n }\n scrollbar;\n root;\n machine = new StateMachine(\"hidden\", {\n hidden: { SCROLL: \"scrolling\" },\n scrolling: { SCROLL_END: \"idle\", POINTER_ENTER: \"interacting\" },\n interacting: { SCROLL: \"interacting\", POINTER_LEAVE: \"idle\" },\n idle: {\n HIDE: \"hidden\",\n SCROLL: \"scrolling\",\n POINTER_ENTER: \"interacting\"\n }\n });\n #isHidden = derived(() => this.machine.state.current === \"hidden\");\n get isHidden() {\n return this.#isHidden();\n }\n set isHidden($$value) {\n return this.#isHidden($$value);\n }\n constructor(scrollbar) {\n this.scrollbar = scrollbar;\n this.root = scrollbar.root;\n useDebounce(() => this.machine.dispatch(\"SCROLL_END\"), 100);\n this.onpointerenter = this.onpointerenter.bind(this);\n this.onpointerleave = this.onpointerleave.bind(this);\n }\n onpointerenter(_) {\n this.machine.dispatch(\"POINTER_ENTER\");\n }\n onpointerleave(_) {\n this.machine.dispatch(\"POINTER_LEAVE\");\n }\n #props = derived(() => ({\n \"data-state\": this.machine.state.current === \"hidden\" ? \"hidden\" : \"visible\",\n onpointerenter: this.onpointerenter,\n onpointerleave: this.onpointerleave\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass ScrollAreaScrollbarAutoState {\n static create() {\n return new ScrollAreaScrollbarAutoState(ScrollAreaScrollbarContext.get());\n }\n scrollbar;\n root;\n isVisible = false;\n constructor(scrollbar) {\n this.scrollbar = scrollbar;\n this.root = scrollbar.root;\n const handleResize = () => {\n const viewportNode = this.root.viewportNode;\n if (!viewportNode) return;\n const isOverflowX = viewportNode.offsetWidth < viewportNode.scrollWidth;\n const isOverflowY = viewportNode.offsetHeight < viewportNode.scrollHeight;\n this.isVisible = this.scrollbar.isHorizontal ? isOverflowX : isOverflowY;\n };\n new SvelteResizeObserver(() => this.root.viewportNode, handleResize);\n new SvelteResizeObserver(() => this.root.contentNode, handleResize);\n }\n #props = derived(() => ({ \"data-state\": this.isVisible ? \"visible\" : \"hidden\" }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass ScrollAreaScrollbarVisibleState {\n static create() {\n return ScrollAreaScrollbarVisibleContext.set(new ScrollAreaScrollbarVisibleState(ScrollAreaScrollbarContext.get()));\n }\n scrollbar;\n root;\n thumbNode = null;\n pointerOffset = 0;\n sizes = {\n content: 0,\n viewport: 0,\n scrollbar: { size: 0, paddingStart: 0, paddingEnd: 0 }\n };\n #thumbRatio = derived(() => getThumbRatio(this.sizes.viewport, this.sizes.content));\n get thumbRatio() {\n return this.#thumbRatio();\n }\n set thumbRatio($$value) {\n return this.#thumbRatio($$value);\n }\n #hasThumb = derived(() => Boolean(this.thumbRatio > 0 && this.thumbRatio < 1));\n get hasThumb() {\n return this.#hasThumb();\n }\n set hasThumb($$value) {\n return this.#hasThumb($$value);\n }\n prevTransformStyle = \"\";\n constructor(scrollbar) {\n this.scrollbar = scrollbar;\n this.root = scrollbar.root;\n }\n setSizes(sizes) {\n this.sizes = sizes;\n }\n getScrollPosition(pointerPos, dir) {\n return getScrollPositionFromPointer({\n pointerPos,\n pointerOffset: this.pointerOffset,\n sizes: this.sizes,\n dir\n });\n }\n onThumbPointerUp() {\n this.pointerOffset = 0;\n }\n onThumbPointerDown(pointerPos) {\n this.pointerOffset = pointerPos;\n }\n xOnThumbPositionChange() {\n if (!(this.root.viewportNode && this.thumbNode)) return;\n const scrollPos = this.root.viewportNode.scrollLeft;\n const offset = getThumbOffsetFromScroll({\n scrollPos,\n sizes: this.sizes,\n dir: this.root.opts.dir.current\n });\n const transformStyle = `translate3d(${offset}px, 0, 0)`;\n this.thumbNode.style.transform = transformStyle;\n this.prevTransformStyle = transformStyle;\n }\n xOnWheelScroll(scrollPos) {\n if (!this.root.viewportNode) return;\n this.root.viewportNode.scrollLeft = scrollPos;\n }\n xOnDragScroll(pointerPos) {\n if (!this.root.viewportNode) return;\n this.root.viewportNode.scrollLeft = this.getScrollPosition(pointerPos, this.root.opts.dir.current);\n }\n yOnThumbPositionChange() {\n if (!(this.root.viewportNode && this.thumbNode)) return;\n const scrollPos = this.root.viewportNode.scrollTop;\n const offset = getThumbOffsetFromScroll({ scrollPos, sizes: this.sizes });\n const transformStyle = `translate3d(0, ${offset}px, 0)`;\n this.thumbNode.style.transform = transformStyle;\n this.prevTransformStyle = transformStyle;\n }\n yOnWheelScroll(scrollPos) {\n if (!this.root.viewportNode) return;\n this.root.viewportNode.scrollTop = scrollPos;\n }\n yOnDragScroll(pointerPos) {\n if (!this.root.viewportNode) return;\n this.root.viewportNode.scrollTop = this.getScrollPosition(pointerPos, this.root.opts.dir.current);\n }\n}\nclass ScrollAreaScrollbarXState {\n static create(opts) {\n return ScrollAreaScrollbarAxisContext.set(new ScrollAreaScrollbarXState(opts, ScrollAreaScrollbarVisibleContext.get()));\n }\n opts;\n scrollbarVis;\n root;\n scrollbar;\n attachment;\n computedStyle;\n constructor(opts, scrollbarVis) {\n this.opts = opts;\n this.scrollbarVis = scrollbarVis;\n this.root = scrollbarVis.root;\n this.scrollbar = scrollbarVis.scrollbar;\n this.attachment = attachRef(this.scrollbar.opts.ref, (v) => this.root.scrollbarXNode = v);\n }\n onThumbPointerDown = (pointerPos) => {\n this.scrollbarVis.onThumbPointerDown(pointerPos.x);\n };\n onDragScroll = (pointerPos) => {\n this.scrollbarVis.xOnDragScroll(pointerPos.x);\n };\n onThumbPointerUp = () => {\n this.scrollbarVis.onThumbPointerUp();\n };\n onThumbPositionChange = () => {\n this.scrollbarVis.xOnThumbPositionChange();\n };\n onWheelScroll = (e, maxScrollPos) => {\n if (!this.root.viewportNode) return;\n const scrollPos = this.root.viewportNode.scrollLeft + e.deltaX;\n this.scrollbarVis.xOnWheelScroll(scrollPos);\n if (isScrollingWithinScrollbarBounds(scrollPos, maxScrollPos)) {\n e.preventDefault();\n }\n };\n onResize = () => {\n if (!(this.scrollbar.opts.ref.current && this.root.viewportNode && this.computedStyle)) return;\n this.scrollbarVis.setSizes({\n content: this.root.viewportNode.scrollWidth,\n viewport: this.root.viewportNode.offsetWidth,\n scrollbar: {\n size: this.scrollbar.opts.ref.current.clientWidth,\n paddingStart: toInt(this.computedStyle.paddingLeft),\n paddingEnd: toInt(this.computedStyle.paddingRight)\n }\n });\n };\n #thumbSize = derived(() => {\n return getThumbSize(this.scrollbarVis.sizes);\n });\n get thumbSize() {\n return this.#thumbSize();\n }\n set thumbSize($$value) {\n return this.#thumbSize($$value);\n }\n #props = derived(() => ({\n id: this.scrollbar.opts.id.current,\n \"data-orientation\": \"horizontal\",\n style: {\n bottom: 0,\n left: this.root.opts.dir.current === \"rtl\" ? \"var(--bits-scroll-area-corner-width)\" : 0,\n right: this.root.opts.dir.current === \"ltr\" ? \"var(--bits-scroll-area-corner-width)\" : 0,\n \"--bits-scroll-area-thumb-width\": `${this.thumbSize}px`\n },\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass ScrollAreaScrollbarYState {\n static create(opts) {\n return ScrollAreaScrollbarAxisContext.set(new ScrollAreaScrollbarYState(opts, ScrollAreaScrollbarVisibleContext.get()));\n }\n opts;\n scrollbarVis;\n root;\n scrollbar;\n attachment;\n computedStyle;\n constructor(opts, scrollbarVis) {\n this.opts = opts;\n this.scrollbarVis = scrollbarVis;\n this.root = scrollbarVis.root;\n this.scrollbar = scrollbarVis.scrollbar;\n this.attachment = attachRef(this.scrollbar.opts.ref, (v) => this.root.scrollbarYNode = v);\n this.onThumbPointerDown = this.onThumbPointerDown.bind(this);\n this.onDragScroll = this.onDragScroll.bind(this);\n this.onThumbPointerUp = this.onThumbPointerUp.bind(this);\n this.onThumbPositionChange = this.onThumbPositionChange.bind(this);\n this.onWheelScroll = this.onWheelScroll.bind(this);\n this.onResize = this.onResize.bind(this);\n }\n onThumbPointerDown(pointerPos) {\n this.scrollbarVis.onThumbPointerDown(pointerPos.y);\n }\n onDragScroll(pointerPos) {\n this.scrollbarVis.yOnDragScroll(pointerPos.y);\n }\n onThumbPointerUp() {\n this.scrollbarVis.onThumbPointerUp();\n }\n onThumbPositionChange() {\n this.scrollbarVis.yOnThumbPositionChange();\n }\n onWheelScroll(e, maxScrollPos) {\n if (!this.root.viewportNode) return;\n const scrollPos = this.root.viewportNode.scrollTop + e.deltaY;\n this.scrollbarVis.yOnWheelScroll(scrollPos);\n if (isScrollingWithinScrollbarBounds(scrollPos, maxScrollPos)) {\n e.preventDefault();\n }\n }\n onResize() {\n if (!(this.scrollbar.opts.ref.current && this.root.viewportNode && this.computedStyle)) return;\n this.scrollbarVis.setSizes({\n content: this.root.viewportNode.scrollHeight,\n viewport: this.root.viewportNode.offsetHeight,\n scrollbar: {\n size: this.scrollbar.opts.ref.current.clientHeight,\n paddingStart: toInt(this.computedStyle.paddingTop),\n paddingEnd: toInt(this.computedStyle.paddingBottom)\n }\n });\n }\n #thumbSize = derived(() => {\n return getThumbSize(this.scrollbarVis.sizes);\n });\n get thumbSize() {\n return this.#thumbSize();\n }\n set thumbSize($$value) {\n return this.#thumbSize($$value);\n }\n #props = derived(() => ({\n id: this.scrollbar.opts.id.current,\n \"data-orientation\": \"vertical\",\n style: {\n top: 0,\n right: this.root.opts.dir.current === \"ltr\" ? 0 : void 0,\n left: this.root.opts.dir.current === \"rtl\" ? 0 : void 0,\n bottom: \"var(--bits-scroll-area-corner-height)\",\n \"--bits-scroll-area-thumb-height\": `${this.thumbSize}px`\n },\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass ScrollAreaScrollbarSharedState {\n static create() {\n return ScrollAreaScrollbarSharedContext.set(new ScrollAreaScrollbarSharedState(ScrollAreaScrollbarAxisContext.get()));\n }\n scrollbarState;\n root;\n scrollbarVis;\n scrollbar;\n rect = null;\n prevWebkitUserSelect = \"\";\n handleResize;\n handleThumbPositionChange;\n handleWheelScroll;\n handleThumbPointerDown;\n handleThumbPointerUp;\n #maxScrollPos = derived(() => this.scrollbarVis.sizes.content - this.scrollbarVis.sizes.viewport);\n get maxScrollPos() {\n return this.#maxScrollPos();\n }\n set maxScrollPos($$value) {\n return this.#maxScrollPos($$value);\n }\n constructor(scrollbarState) {\n this.scrollbarState = scrollbarState;\n this.root = scrollbarState.root;\n this.scrollbarVis = scrollbarState.scrollbarVis;\n this.scrollbar = scrollbarState.scrollbarVis.scrollbar;\n this.handleResize = () => this.scrollbarState.onResize();\n this.handleThumbPositionChange = this.scrollbarState.onThumbPositionChange;\n this.handleWheelScroll = this.scrollbarState.onWheelScroll;\n this.handleThumbPointerDown = this.scrollbarState.onThumbPointerDown;\n this.handleThumbPointerUp = this.scrollbarState.onThumbPointerUp;\n new SvelteResizeObserver(() => this.scrollbar.opts.ref.current, this.handleResize);\n new SvelteResizeObserver(() => this.root.contentNode, this.handleResize);\n this.onpointerdown = this.onpointerdown.bind(this);\n this.onpointermove = this.onpointermove.bind(this);\n this.onpointerup = this.onpointerup.bind(this);\n this.onlostpointercapture = this.onlostpointercapture.bind(this);\n }\n handleDragScroll(e) {\n if (!this.rect) return;\n const x = e.clientX - this.rect.left;\n const y = e.clientY - this.rect.top;\n this.scrollbarState.onDragScroll({ x, y });\n }\n #cleanupPointerState() {\n if (this.rect === null) return;\n this.root.domContext.getDocument().body.style.webkitUserSelect = this.prevWebkitUserSelect;\n if (this.root.viewportNode) this.root.viewportNode.style.scrollBehavior = \"\";\n this.rect = null;\n }\n onpointerdown(e) {\n if (e.button !== 0) return;\n const target = e.target;\n target.setPointerCapture(e.pointerId);\n this.rect = this.scrollbar.opts.ref.current?.getBoundingClientRect() ?? null;\n this.prevWebkitUserSelect = this.root.domContext.getDocument().body.style.webkitUserSelect;\n this.root.domContext.getDocument().body.style.webkitUserSelect = \"none\";\n if (this.root.viewportNode) this.root.viewportNode.style.scrollBehavior = \"auto\";\n this.handleDragScroll(e);\n }\n onpointermove(e) {\n this.handleDragScroll(e);\n }\n onpointerup(e) {\n const target = e.target;\n if (target.hasPointerCapture(e.pointerId)) {\n target.releasePointerCapture(e.pointerId);\n }\n this.#cleanupPointerState();\n }\n onlostpointercapture(_) {\n this.#cleanupPointerState();\n }\n #props = derived(() => mergeProps({\n ...this.scrollbarState.props,\n style: { position: \"absolute\", ...this.scrollbarState.props.style },\n [scrollAreaAttrs.scrollbar]: \"\",\n onpointerdown: this.onpointerdown,\n onpointermove: this.onpointermove,\n onpointerup: this.onpointerup,\n onlostpointercapture: this.onlostpointercapture\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass ScrollAreaThumbImplState {\n static create(opts) {\n return new ScrollAreaThumbImplState(opts, ScrollAreaScrollbarSharedContext.get());\n }\n opts;\n scrollbarState;\n attachment;\n #root;\n #removeUnlinkedScrollListener;\n #debounceScrollEnd = useDebounce(\n () => {\n if (this.#removeUnlinkedScrollListener) {\n this.#removeUnlinkedScrollListener();\n this.#removeUnlinkedScrollListener = void 0;\n }\n },\n 100\n );\n constructor(opts, scrollbarState) {\n this.opts = opts;\n this.scrollbarState = scrollbarState;\n this.#root = scrollbarState.root;\n this.attachment = attachRef(this.opts.ref, (v) => this.scrollbarState.scrollbarVis.thumbNode = v);\n this.onpointerdowncapture = this.onpointerdowncapture.bind(this);\n this.onpointerup = this.onpointerup.bind(this);\n }\n onpointerdowncapture(e) {\n const thumb = e.target;\n if (!thumb) return;\n const thumbRect = thumb.getBoundingClientRect();\n const x = e.clientX - thumbRect.left;\n const y = e.clientY - thumbRect.top;\n this.scrollbarState.handleThumbPointerDown({ x, y });\n }\n onpointerup(_) {\n this.scrollbarState.handleThumbPointerUp();\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n \"data-state\": this.scrollbarState.scrollbarVis.hasThumb ? \"visible\" : \"hidden\",\n style: {\n width: \"var(--bits-scroll-area-thumb-width)\",\n height: \"var(--bits-scroll-area-thumb-height)\",\n transform: this.scrollbarState.scrollbarVis.prevTransformStyle\n },\n onpointerdowncapture: this.onpointerdowncapture,\n onpointerup: this.onpointerup,\n [scrollAreaAttrs.thumb]: \"\",\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nclass ScrollAreaCornerImplState {\n static create(opts) {\n return new ScrollAreaCornerImplState(opts, ScrollAreaRootContext.get());\n }\n opts;\n root;\n attachment;\n #width = 0;\n #height = 0;\n #hasSize = derived(() => Boolean(this.#width && this.#height));\n get hasSize() {\n return this.#hasSize();\n }\n set hasSize($$value) {\n return this.#hasSize($$value);\n }\n constructor(opts, root) {\n this.opts = opts;\n this.root = root;\n this.attachment = attachRef(this.opts.ref);\n new SvelteResizeObserver(() => this.root.scrollbarXNode, () => {\n const height = this.root.scrollbarXNode?.offsetHeight || 0;\n this.root.cornerHeight = height;\n this.#height = height;\n });\n new SvelteResizeObserver(() => this.root.scrollbarYNode, () => {\n const width = this.root.scrollbarYNode?.offsetWidth || 0;\n this.root.cornerWidth = width;\n this.#width = width;\n });\n }\n #props = derived(() => ({\n id: this.opts.id.current,\n style: {\n width: this.#width,\n height: this.#height,\n position: \"absolute\",\n right: this.root.opts.dir.current === \"ltr\" ? 0 : void 0,\n left: this.root.opts.dir.current === \"rtl\" ? 0 : void 0,\n bottom: 0\n },\n [scrollAreaAttrs.corner]: \"\",\n ...this.attachment\n }));\n get props() {\n return this.#props();\n }\n set props($$value) {\n return this.#props($$value);\n }\n}\nfunction toInt(value) {\n return value ? Number.parseInt(value, 10) : 0;\n}\nfunction getThumbRatio(viewportSize, contentSize) {\n const ratio = viewportSize / contentSize;\n return Number.isNaN(ratio) ? 0 : ratio;\n}\nfunction getThumbSize(sizes) {\n const ratio = getThumbRatio(sizes.viewport, sizes.content);\n const scrollbarPadding = sizes.scrollbar.paddingStart + sizes.scrollbar.paddingEnd;\n const thumbSize = (sizes.scrollbar.size - scrollbarPadding) * ratio;\n return Math.max(thumbSize, 18);\n}\nfunction getScrollPositionFromPointer({ pointerPos, pointerOffset, sizes, dir = \"ltr\" }) {\n const thumbSizePx = getThumbSize(sizes);\n const thumbCenter = thumbSizePx / 2;\n const offset = pointerOffset || thumbCenter;\n const thumbOffsetFromEnd = thumbSizePx - offset;\n const minPointerPos = sizes.scrollbar.paddingStart + offset;\n const maxPointerPos = sizes.scrollbar.size - sizes.scrollbar.paddingEnd - thumbOffsetFromEnd;\n const maxScrollPos = sizes.content - sizes.viewport;\n const scrollRange = dir === \"ltr\" ? [0, maxScrollPos] : [maxScrollPos * -1, 0];\n const interpolate = linearScale([minPointerPos, maxPointerPos], scrollRange);\n return interpolate(pointerPos);\n}\nfunction getThumbOffsetFromScroll({ scrollPos, sizes, dir = \"ltr\" }) {\n const thumbSizePx = getThumbSize(sizes);\n const scrollbarPadding = sizes.scrollbar.paddingStart + sizes.scrollbar.paddingEnd;\n const scrollbar = sizes.scrollbar.size - scrollbarPadding;\n const maxScrollPos = sizes.content - sizes.viewport;\n const maxThumbPos = scrollbar - thumbSizePx;\n const scrollClampRange = dir === \"ltr\" ? [0, maxScrollPos] : [maxScrollPos * -1, 0];\n const scrollWithoutMomentum = clamp(scrollPos, scrollClampRange[0], scrollClampRange[1]);\n const interpolate = linearScale([0, maxScrollPos], [0, maxThumbPos]);\n return interpolate(scrollWithoutMomentum);\n}\nfunction linearScale(input, output) {\n return (value) => {\n if (input[0] === input[1] || output[0] === output[1]) return output[0];\n const ratio = (output[1] - output[0]) / (input[1] - input[0]);\n return output[0] + ratio * (value - input[0]);\n };\n}\nfunction isScrollingWithinScrollbarBounds(scrollPos, maxScrollPos) {\n return scrollPos > 0 && scrollPos < maxScrollPos;\n}\nfunction Scroll_area$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n ref = null,\n id = createId(uid),\n type = \"hover\",\n dir = \"ltr\",\n scrollHideDelay = 600,\n children,\n child,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const rootState = ScrollAreaRootState.create({\n type: boxWith(() => type),\n dir: boxWith(() => dir),\n scrollHideDelay: boxWith(() => scrollHideDelay),\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, rootState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Scroll_area_viewport($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n ref = null,\n id = createId(uid),\n children,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const viewportState = ScrollAreaViewportState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, viewportState.props));\n const mergedContentProps = derived(() => mergeProps({}, viewportState.contentProps));\n $$renderer2.push(`<div${attributes({ ...mergedProps() })}><div${attributes({ ...mergedContentProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div></div>`);\n bind_props($$props, { ref });\n });\n}\nfunction Scroll_area_scrollbar_shared($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { child, children, $$slots, $$events, ...restProps } = $$props;\n const scrollbarSharedState = ScrollAreaScrollbarSharedState.create();\n const mergedProps = derived(() => mergeProps(restProps, scrollbarSharedState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n });\n}\nfunction Scroll_area_scrollbar_x($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { $$slots, $$events, ...restProps } = $$props;\n const isMounted = new IsMounted();\n const scrollbarXState = ScrollAreaScrollbarXState.create({ mounted: boxWith(() => isMounted.current) });\n const mergedProps = derived(() => mergeProps(restProps, scrollbarXState.props));\n Scroll_area_scrollbar_shared($$renderer2, spread_props([mergedProps()]));\n });\n}\nfunction Scroll_area_scrollbar_y($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { $$slots, $$events, ...restProps } = $$props;\n const isMounted = new IsMounted();\n const scrollbarYState = ScrollAreaScrollbarYState.create({ mounted: boxWith(() => isMounted.current) });\n const mergedProps = derived(() => mergeProps(restProps, scrollbarYState.props));\n Scroll_area_scrollbar_shared($$renderer2, spread_props([mergedProps()]));\n });\n}\nfunction Scroll_area_scrollbar_visible($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { $$slots, $$events, ...restProps } = $$props;\n const scrollbarVisibleState = ScrollAreaScrollbarVisibleState.create();\n if (scrollbarVisibleState.scrollbar.opts.orientation.current === \"horizontal\") {\n $$renderer2.push(\"<!--[0-->\");\n Scroll_area_scrollbar_x($$renderer2, spread_props([restProps]));\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n Scroll_area_scrollbar_y($$renderer2, spread_props([restProps]));\n }\n $$renderer2.push(`<!--]-->`);\n });\n}\nfunction Scroll_area_scrollbar_auto($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { forceMount = false, $$slots, $$events, ...restProps } = $$props;\n const scrollbarAutoState = ScrollAreaScrollbarAutoState.create();\n const mergedProps = derived(() => mergeProps(restProps, scrollbarAutoState.props));\n {\n let presence = function($$renderer3) {\n Scroll_area_scrollbar_visible($$renderer3, spread_props([mergedProps()]));\n };\n Presence_layer($$renderer2, {\n open: forceMount || scrollbarAutoState.isVisible,\n ref: scrollbarAutoState.scrollbar.opts.ref,\n presence\n });\n }\n });\n}\nfunction Scroll_area_scrollbar_scroll($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { forceMount = false, $$slots, $$events, ...restProps } = $$props;\n const scrollbarScrollState = ScrollAreaScrollbarScrollState.create();\n const mergedProps = derived(() => mergeProps(restProps, scrollbarScrollState.props));\n {\n let presence = function($$renderer3) {\n Scroll_area_scrollbar_visible($$renderer3, spread_props([mergedProps()]));\n };\n Presence_layer($$renderer2, spread_props([\n mergedProps(),\n {\n open: forceMount || !scrollbarScrollState.isHidden,\n ref: scrollbarScrollState.scrollbar.opts.ref,\n presence,\n $$slots: { presence: true }\n }\n ]));\n }\n });\n}\nfunction Scroll_area_scrollbar_hover($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { forceMount = false, $$slots, $$events, ...restProps } = $$props;\n const scrollbarHoverState = ScrollAreaScrollbarHoverState.create();\n const scrollbarAutoState = ScrollAreaScrollbarAutoState.create();\n const mergedProps = derived(() => mergeProps(restProps, scrollbarHoverState.props, scrollbarAutoState.props, {\n \"data-state\": scrollbarHoverState.isVisible ? \"visible\" : \"hidden\"\n }));\n const open = derived(() => forceMount || scrollbarHoverState.isVisible && scrollbarAutoState.isVisible);\n {\n let presence = function($$renderer3) {\n Scroll_area_scrollbar_visible($$renderer3, spread_props([mergedProps()]));\n };\n Presence_layer($$renderer2, {\n open: open(),\n ref: scrollbarAutoState.scrollbar.opts.ref,\n presence\n });\n }\n });\n}\nfunction Scroll_area_scrollbar$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n ref = null,\n id = createId(uid),\n orientation,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const scrollbarState = ScrollAreaScrollbarState.create({\n orientation: boxWith(() => orientation),\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const type = derived(() => scrollbarState.root.opts.type.current);\n if (type() === \"hover\") {\n $$renderer2.push(\"<!--[0-->\");\n Scroll_area_scrollbar_hover($$renderer2, spread_props([restProps, { id }]));\n } else if (type() === \"scroll\") {\n $$renderer2.push(\"<!--[1-->\");\n Scroll_area_scrollbar_scroll($$renderer2, spread_props([restProps, { id }]));\n } else if (type() === \"auto\") {\n $$renderer2.push(\"<!--[2-->\");\n Scroll_area_scrollbar_auto($$renderer2, spread_props([restProps, { id }]));\n } else if (type() === \"always\") {\n $$renderer2.push(\"<!--[3-->\");\n Scroll_area_scrollbar_visible($$renderer2, spread_props([restProps, { id }]));\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Scroll_area_thumb_impl($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n id,\n child,\n children,\n present,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const isMounted = new IsMounted();\n const thumbState = ScrollAreaThumbImplState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v),\n mounted: boxWith(() => isMounted.current)\n });\n const mergedProps = derived(() => mergeProps(restProps, thumbState.props, { style: { hidden: !present } }));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Scroll_area_thumb($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n id = createId(uid),\n ref = null,\n forceMount = false,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const scrollbarState = ScrollAreaScrollbarVisibleContext.get();\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n {\n let presence = function($$renderer4, { present }) {\n Scroll_area_thumb_impl($$renderer4, spread_props([\n restProps,\n {\n id,\n present,\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n };\n Presence_layer($$renderer3, {\n open: forceMount || scrollbarState.hasThumb,\n ref: scrollbarState.scrollbar.opts.ref,\n presence\n });\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Scroll_area_corner_impl($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n id,\n children,\n child,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const cornerState = ScrollAreaCornerImplState.create({\n id: boxWith(() => id),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, cornerState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Scroll_area_corner($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n ref = null,\n id = createId(uid),\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const scrollAreaState = ScrollAreaRootContext.get();\n const hasBothScrollbarsVisible = derived(() => Boolean(scrollAreaState.scrollbarXNode && scrollAreaState.scrollbarYNode));\n const hasCorner = derived(() => scrollAreaState.opts.type.current !== \"scroll\" && hasBothScrollbarsVisible());\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (hasCorner()) {\n $$renderer3.push(\"<!--[0-->\");\n Scroll_area_corner_impl($$renderer3, spread_props([\n restProps,\n {\n id,\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]-->`);\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Tabs$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n id = createId(uid),\n ref = null,\n value = \"\",\n onValueChange = noop,\n orientation = \"horizontal\",\n loop = true,\n activationMode = \"automatic\",\n disabled = false,\n children,\n child,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const rootState = TabsRootState.create({\n id: boxWith(() => id),\n value: boxWith(() => value, (v) => {\n value = v;\n onValueChange(v);\n }),\n orientation: boxWith(() => orientation),\n loop: boxWith(() => loop),\n activationMode: boxWith(() => activationMode),\n disabled: boxWith(() => disabled),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, rootState.props));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><div${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref, value });\n });\n}\nfunction Tabs_trigger$1($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n const uid = props_id($$renderer2);\n let {\n child,\n children,\n disabled = false,\n id = createId(uid),\n type = \"button\",\n value,\n ref = null,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const triggerState = TabsTriggerState.create({\n id: boxWith(() => id),\n disabled: boxWith(() => disabled ?? false),\n value: boxWith(() => value),\n ref: boxWith(() => ref, (v) => ref = v)\n });\n const mergedProps = derived(() => mergeProps(restProps, triggerState.props, { type }));\n if (child) {\n $$renderer2.push(\"<!--[0-->\");\n child($$renderer2, { props: mergedProps() });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(`<!--[-1--><button${attributes({ ...mergedProps() })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></button>`);\n }\n $$renderer2.push(`<!--]-->`);\n bind_props($$props, { ref });\n });\n}\nfunction Context_menu_item($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n inset,\n variant = \"default\",\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Menu_item) {\n $$renderer3.push(\"<!--[-->\");\n Menu_item($$renderer3, spread_props([\n {\n \"data-slot\": \"context-menu-item\",\n \"data-inset\": inset,\n \"data-variant\": variant,\n class: cn(\"focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:text-destructive focus:*:[svg]:text-accent-foreground gap-1.5 rounded-md px-1.5 py-1 text-sm data-inset:pl-7 [&_svg:not([class*='size-'])]:size-4 group/context-menu-item relative flex cursor-default items-center outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction SessionRow($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n session: s,\n title,\n where,\n href,\n hint,\n active,\n tag,\n orchestrator = false,\n worker = false,\n draft = \"\",\n staged = 0,\n draggable,\n onkill = null,\n onmarkunread = null,\n onclick,\n onlongpress,\n ondragstart,\n ondragend,\n menu = [],\n machine = null,\n offline = null,\n meta,\n children\n } = $$props;\n const shown = derived(() => indicatorStateOf(s));\n const wants = derived(() => wantsHuman(s));\n const quiet = derived(() => recedes(shown()) && !wants() && !active);\n const running = derived(() => s.state === \"busy\" && s.turn_started_at != null);\n const showSub = derived(() => wants() || s.state === \"busy\" || !!offline || active || tag !== null || !!draft || staged > 0);\n const canMarkUnread = derived(() => !!onmarkunread && s.state === \"idle\" && !!s.turn_completed_at && !isUnread(s));\n const elapsed = derived(() => running() ? formatSpinnerElapsed(Math.max(0, Math.floor((clock.now - s.turn_started_at) / 1e3))) : null);\n if (Context_menu) {\n $$renderer2.push(\"<!--[-->\");\n Context_menu($$renderer2, {\n children: ($$renderer3) => {\n {\n let child = function($$renderer4, { props }) {\n $$renderer4.push(`<a${attributes(\n {\n ...props,\n tabindex: void 0,\n href,\n class: \"row\",\n draggable: draggable ? \"true\" : \"false\",\n title: hint\n },\n \"svelte-kqdvb4\",\n {\n cur: active || tag !== null,\n orch: orchestrator,\n worker,\n quiet,\n one: !showSub(),\n inA: tag === \"A\",\n inB: tag === \"B\"\n }\n )}>`);\n if (worker) {\n $$renderer4.push(`<!--[0--><span class=\"tile svelte-kqdvb4\" aria-hidden=\"true\"><svg viewBox=\"0 0 24 24\" class=\"svelte-kqdvb4\"><rect x=\"3\" y=\"4\" width=\"18\" height=\"14\" rx=\"2\"></rect><path d=\"M7 9l3 3-3 3M13 15h4\"></path></svg></span>`);\n } else {\n $$renderer4.push(`<!--[-1--><span class=\"st svelte-kqdvb4\">`);\n SessionStateIndicator($$renderer4, { state: shown(), size: \"sm\", title: s.current_action });\n $$renderer4.push(`<!----></span>`);\n }\n $$renderer4.push(`<!--]--> <span class=\"name svelte-kqdvb4\"${attr(\"title\", s.cwd)}>${escape_html(title)}</span> <span class=\"meta svelte-kqdvb4\">`);\n if (tag) {\n $$renderer4.push(`<!--[0--><span class=\"ptag svelte-kqdvb4\"${attr(\"title\", `Open in pane ${stringify(tag)}`)}>${escape_html(tag)}</span>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--> `);\n if (s.rc_url) {\n $$renderer4.push(`<!--[0--><iconify-icon icon=\"mdi:cellphone-link\" class=\"rc svelte-kqdvb4\" title=\"Remote Control active\"></iconify-icon>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--> `);\n if (wants()) {\n $$renderer4.push(`<!--[0--><span class=\"pill svelte-kqdvb4\">${escape_html(needsHelp(s) ? \"needs help\" : \"wants you\")}</span>`);\n } else if (worker && s.maestro_issue) {\n $$renderer4.push(`<!--[1--><span class=\"issue svelte-kqdvb4\">#${escape_html(s.maestro_issue)}</span>`);\n } else if (elapsed()) {\n $$renderer4.push(`<!--[2--><span class=\"when run svelte-kqdvb4\"${attr(\"title\", `Working for ${stringify(elapsed())}`)}>${escape_html(elapsed())}</span>`);\n } else {\n $$renderer4.push(`<!--[-1--><span class=\"when svelte-kqdvb4\">${escape_html(formatAgo(shown() === \"done\" ? s.turn_completed_at : s.last_update, clock.now))}</span>`);\n }\n $$renderer4.push(`<!--]--> `);\n meta?.($$renderer4);\n $$renderer4.push(`<!----> `);\n if (!showSub() && where) {\n $$renderer4.push(`<!--[0--><span class=\"path svelte-kqdvb4\"${attr(\"title\", s.cwd)}>${escape_html(where)}</span>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--> `);\n if (machine) {\n $$renderer4.push(`<!--[0--><span class=\"mach svelte-kqdvb4\"${attr_style(`--m:${stringify(machine.color)}`)}${attr(\"title\", machine.name)}>${escape_html(machine.letter)}</span>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--></span> `);\n if (s.context_pct !== null && s.context_pct !== void 0) {\n $$renderer4.push(`<!--[0--><span${attr_class(\"ctx svelte-kqdvb4\", void 0, {\n \"warn\": s.context_pct >= 70 && s.context_pct < 90,\n \"hot\": s.context_pct >= 90\n })}${attr_style(`--p: ${stringify(Math.min(100, Math.max(0, s.context_pct)))}`)}${attr(\"title\", `${stringify(s.context_pct)}% of the context window`)}></span>`);\n } else {\n $$renderer4.push(`<!--[-1--><span class=\"ctx none svelte-kqdvb4\"></span>`);\n }\n $$renderer4.push(`<!--]--> `);\n if (canMarkUnread() || onkill) {\n $$renderer4.push(`<!--[0--><span class=\"acts svelte-kqdvb4\">`);\n if (canMarkUnread()) {\n $$renderer4.push(`<!--[0--><button type=\"button\" title=\"Mark unread\" class=\"svelte-kqdvb4\"><iconify-icon icon=\"mdi:email-mark-as-unread\" class=\"svelte-kqdvb4\"></iconify-icon></button>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--> `);\n if (onkill) {\n $$renderer4.push(`<!--[0--><button type=\"button\" class=\"kill svelte-kqdvb4\" title=\"Kill session\"><iconify-icon icon=\"mdi:power\" class=\"svelte-kqdvb4\"></iconify-icon></button>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--></span>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--> `);\n if (showSub()) {\n $$renderer4.push(`<!--[0--><span${attr_class(\"sub svelte-kqdvb4\", void 0, { \"draft\": !!draft, \"off\": !!offline })}${attr(\"title\", offline || draft || s.current_action || s.state)}>`);\n if (staged) {\n $$renderer4.push(`<!--[0--><span class=\"staged svelte-kqdvb4\"${attr(\"title\", `${stringify(staged)} attachment${staged === 1 ? \"\" : \"s\"} staged`)}><iconify-icon icon=\"mdi:paperclip\" class=\"svelte-kqdvb4\"></iconify-icon>${escape_html(staged)}</span>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--> `);\n if (worker) {\n $$renderer4.push(`<!--[0--><span class=\"wst svelte-kqdvb4\">`);\n SessionStateIndicator($$renderer4, { state: shown(), size: \"sm\", title: s.current_action });\n $$renderer4.push(`<!----></span>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--> `);\n if (offline) {\n $$renderer4.push(`<!--[0-->${escape_html(offline)} · was ${escape_html(shown())}`);\n } else if (draft) {\n $$renderer4.push(`<!--[1--><iconify-icon icon=\"mdi:pencil-outline\" class=\"svelte-kqdvb4\"></iconify-icon>${escape_html(draft)}`);\n } else if (worker) {\n $$renderer4.push(`<!--[2-->${escape_html([\"worker\", shown(), s.current_action].filter(Boolean).join(\" · \"))}`);\n } else {\n $$renderer4.push(`<!--[-1-->${escape_html(s.current_action || (shown() === \"done\" ? \"done\" : s.state))}`);\n }\n $$renderer4.push(`<!--]--> `);\n if (!draft && where) {\n $$renderer4.push(`<!--[0--><span class=\"path svelte-kqdvb4\"${attr(\"title\", s.cwd)}>${escape_html(where)}</span>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--></span>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--></a>`);\n };\n if (Context_menu_trigger) {\n $$renderer3.push(\"<!--[-->\");\n Context_menu_trigger($$renderer3, { disabled: menu.length === 0, child, $$slots: { child: true } });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n $$renderer3.push(` `);\n if (menu.length > 0) {\n $$renderer3.push(\"<!--[0-->\");\n if (Context_menu_content) {\n $$renderer3.push(\"<!--[-->\");\n Context_menu_content($$renderer3, {\n class: \"min-w-44\",\n children: ($$renderer4) => {\n $$renderer4.push(`<!--[-->`);\n const each_array = ensure_array_like(menu);\n for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n let item = each_array[$$index];\n if (Context_menu_item) {\n $$renderer4.push(\"<!--[-->\");\n Context_menu_item($$renderer4, {\n onSelect: item.run,\n children: ($$renderer5) => {\n $$renderer5.push(`<iconify-icon${attr(\"icon\", item.icon)}></iconify-icon> ${escape_html(item.label)}`);\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n }\n $$renderer4.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n $$renderer2.push(\"<!--]-->\");\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(\"<!--]-->\");\n }\n $$renderer2.push(` `);\n children?.($$renderer2);\n $$renderer2.push(`<!---->`);\n });\n}\nconst bars = Array(12).fill(0);\nfunction Loader($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { visible, class: className } = $$props;\n $$renderer2.push(`<div${attr_class(clsx([\"sonner-loading-wrapper\", className].filter(Boolean).join(\" \")))}${attr(\"data-visible\", visible)}><div class=\"sonner-spinner\"><!--[-->`);\n const each_array = ensure_array_like(bars);\n for (let i = 0, $$length = each_array.length; i < $$length; i++) {\n each_array[i];\n $$renderer2.push(`<div class=\"sonner-loading-bar\"></div>`);\n }\n $$renderer2.push(`<!--]--></div></div>`);\n });\n}\nconst defaultWindow = void 0;\nfunction getActiveElement(document2) {\n let activeElement = document2.activeElement;\n while (activeElement?.shadowRoot) {\n const node = activeElement.shadowRoot.activeElement;\n if (node === activeElement)\n break;\n else\n activeElement = node;\n }\n return activeElement;\n}\nclass ActiveElement {\n #document;\n #subscribe;\n constructor(options = {}) {\n const { window: window2 = defaultWindow, document: document2 = window2?.document } = options;\n if (window2 === void 0) return;\n this.#document = document2;\n this.#subscribe = createSubscriber();\n }\n get current() {\n this.#subscribe?.();\n if (!this.#document) return null;\n return getActiveElement(this.#document);\n }\n}\nnew ActiveElement();\nclass Context {\n #name;\n #key;\n /**\n * @param name The name of the context.\n * This is used for generating the context key and error messages.\n */\n constructor(name) {\n this.#name = name;\n this.#key = Symbol(name);\n }\n /**\n * The key used to get and set the context.\n *\n * It is not recommended to use this value directly.\n * Instead, use the methods provided by this class.\n */\n get key() {\n return this.#key;\n }\n /**\n * Checks whether this has been set in the context of a parent component.\n *\n * Must be called during component initialisation.\n */\n exists() {\n return hasContext(this.#key);\n }\n /**\n * Retrieves the context that belongs to the closest parent component.\n *\n * Must be called during component initialisation.\n *\n * @throws An error if the context does not exist.\n */\n get() {\n const context = getContext(this.#key);\n if (context === void 0) {\n throw new Error(`Context \"${this.#name}\" not found`);\n }\n return context;\n }\n /**\n * Retrieves the context that belongs to the closest parent component,\n * or the given fallback value if the context does not exist.\n *\n * Must be called during component initialisation.\n */\n getOr(fallback) {\n const context = getContext(this.#key);\n if (context === void 0) {\n return fallback;\n }\n return context;\n }\n /**\n * Associates the given value with the current component and returns it.\n *\n * Must be called during component initialisation.\n */\n set(context) {\n return setContext(this.#key, context);\n }\n}\nconst sonnerContext = new Context(\"<Toaster/>\");\nfunction isAction(action) {\n return action.label !== void 0;\n}\nconst TOAST_LIFETIME$1 = 4e3;\nconst GAP$1 = 14;\nconst TIME_BEFORE_UNMOUNT = 200;\nconst DEFAULT_TOAST_CLASSES = {\n toast: \"\",\n title: \"\",\n description: \"\",\n loader: \"\",\n closeButton: \"\",\n cancelButton: \"\",\n actionButton: \"\",\n action: \"\",\n warning: \"\",\n error: \"\",\n success: \"\",\n default: \"\",\n info: \"\",\n loading: \"\"\n};\nfunction Toast($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n toast,\n index,\n expanded,\n invert: invertFromToaster,\n position,\n visibleToasts,\n expandByDefault,\n closeButton: closeButtonFromToaster,\n interacting,\n cancelButtonStyle = \"\",\n actionButtonStyle = \"\",\n duration: durationFromToaster,\n descriptionClass = \"\",\n classes: classesProp,\n unstyled = false,\n loadingIcon,\n successIcon,\n errorIcon,\n warningIcon,\n closeIcon,\n infoIcon,\n defaultRichColors = false,\n gap = GAP$1,\n swipeDirections: swipeDirectionsProp,\n closeButtonAriaLabel,\n pauseWhenPageIsHidden,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n const defaultClasses = { ...DEFAULT_TOAST_CLASSES };\n let mounted = false;\n let removed = false;\n let swiping = false;\n let swipeOut = false;\n let isSwiped = false;\n let offsetBeforeRemove = 0;\n let initialHeight = 0;\n toast.duration || durationFromToaster || TOAST_LIFETIME$1;\n let swipeOutDirection = null;\n const isFront = derived(() => index === 0);\n const isVisible = derived(() => index + 1 <= visibleToasts);\n const toastType = derived(() => toast.type);\n const dismissible = derived(() => toast.dismissible !== void 0 ? toast.dismissible !== false : toast.dismissable !== false);\n const toastClass = derived(() => toast.class || \"\");\n const toastDescriptionClass = derived(() => toast.descriptionClass || \"\");\n const relevantHeights = derived(() => toastState.heights.filter((height) => height.toasterId === toast.toasterId && height.position === position));\n const heightIndex = derived(() => {\n const idx = relevantHeights().findIndex((height) => height.toastId === toast.id);\n return idx === -1 ? 0 : idx;\n });\n const closeButton = derived(() => toast.closeButton ?? closeButtonFromToaster);\n const coords = derived(() => position.split(\"-\"));\n const toastsHeightBefore = derived(() => relevantHeights().reduce(\n (prev, curr, reducerIndex) => {\n if (reducerIndex >= heightIndex()) return prev;\n return prev + curr.height;\n },\n 0\n ));\n const invert = derived(() => toast.invert || invertFromToaster);\n const disabled = derived(() => toastType() === \"loading\");\n const classes = derived(() => ({ ...defaultClasses, ...classesProp }));\n const offset = derived(() => Math.round(heightIndex() * gap + toastsHeightBefore()));\n function deleteToast() {\n removed = true;\n offsetBeforeRemove = offset();\n toastState.removeHeight(toast.id);\n toastState.markDismissed(toast.id);\n toastState.scheduleRemoval(toast.id, TIME_BEFORE_UNMOUNT);\n }\n const icon = derived(() => {\n if (toast.icon) return toast.icon;\n if (toastType() === \"success\") return successIcon;\n if (toastType() === \"error\") return errorIcon;\n if (toastType() === \"warning\") return warningIcon;\n if (toastType() === \"info\") return infoIcon;\n if (toastType() === \"loading\") return loadingIcon;\n return null;\n });\n function LoadingIcon($$renderer3) {\n if (loadingIcon) {\n $$renderer3.push(`<!--[0--><div${attr_class(clsx(cn$1(classes()?.loader, toast?.classes?.loader, \"sonner-loader\")))}${attr(\"data-visible\", toastType() === \"loading\")}>`);\n loadingIcon($$renderer3);\n $$renderer3.push(`<!----></div>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n Loader($$renderer3, {\n class: cn$1(classes()?.loader, toast.classes?.loader),\n visible: toastType() === \"loading\"\n });\n }\n $$renderer3.push(`<!--]-->`);\n }\n $$renderer2.push(`<li${attr(\"tabindex\", 0)}${attr_class(clsx(cn$1(restProps.class, toastClass(), classes()?.toast, toast?.classes?.toast, classes()?.[toastType()], toast?.classes?.[toastType()])))}${attr(\"aria-live\", toast.important ? \"assertive\" : \"polite\")} aria-atomic=\"true\" data-sonner-toast=\"\"${attr(\"data-rich-colors\", toast.richColors ?? defaultRichColors)}${attr(\"data-styled\", !(toast.component || toast.unstyled || unstyled))}${attr(\"data-mounted\", mounted)}${attr(\"data-promise\", Boolean(toast.promise))}${attr(\"data-swiped\", isSwiped)}${attr(\"data-removed\", removed)}${attr(\"data-visible\", isVisible())}${attr(\"data-y-position\", coords()[0])}${attr(\"data-x-position\", coords()[1])}${attr(\"data-index\", index)}${attr(\"data-front\", isFront())}${attr(\"data-swiping\", swiping)}${attr(\"data-dismissible\", dismissible())}${attr(\"data-type\", toastType())}${attr(\"data-invert\", invert())}${attr(\"data-swipe-out\", swipeOut)}${attr(\"data-swipe-direction\", swipeOutDirection)}${attr(\"data-expanded\", Boolean(expanded || expandByDefault && mounted))}${attr_style(`${restProps.style} ${toast.style}`, {\n \"--index\": index,\n \"--toasts-before\": index,\n \"--z-index\": toastState.toasts.length - index,\n \"--offset\": `${removed ? offsetBeforeRemove : offset()}px`,\n \"--initial-height\": expandByDefault ? \"auto\" : `${initialHeight}px`\n })}>`);\n if (closeButton() && !toast.component && toastType() !== \"loading\" && closeIcon !== null) {\n $$renderer2.push(`<!--[0--><button${attr(\"aria-label\", closeButtonAriaLabel)}${attr(\"data-disabled\", disabled())} data-close-button=\"\"${attr_class(clsx(cn$1(classes()?.closeButton, toast?.classes?.closeButton)))}>`);\n closeIcon?.($$renderer2);\n $$renderer2.push(`<!----></button>`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--> `);\n if (toast.component) {\n $$renderer2.push(\"<!--[0-->\");\n const Component = toast.component;\n if (Component) {\n $$renderer2.push(\"<!--[-->\");\n Component($$renderer2, spread_props([toast.componentProps, { closeToast: deleteToast }]));\n $$renderer2.push(\"<!--]-->\");\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(\"<!--]-->\");\n }\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n if ((toastType() || toast.icon || toast.promise) && toast.icon !== null && (icon() !== null || toast.icon)) {\n $$renderer2.push(`<!--[0--><div data-icon=\"\"${attr_class(clsx(cn$1(classes()?.icon, toast?.classes?.icon)))}>`);\n if (toastType() === \"loading\") {\n $$renderer2.push(\"<!--[0-->\");\n if (toast.icon) {\n $$renderer2.push(\"<!--[0-->\");\n if (toast.icon) {\n $$renderer2.push(\"<!--[-->\");\n toast.icon($$renderer2, {});\n $$renderer2.push(\"<!--]-->\");\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(\"<!--]-->\");\n }\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n LoadingIcon($$renderer2);\n }\n $$renderer2.push(`<!--]-->`);\n } else if (toast.promise) {\n $$renderer2.push(\"<!--[1-->\");\n LoadingIcon($$renderer2);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--> `);\n if (toastType() !== \"loading\") {\n $$renderer2.push(\"<!--[0-->\");\n if (toast.icon) {\n $$renderer2.push(\"<!--[0-->\");\n if (toast.icon) {\n $$renderer2.push(\"<!--[-->\");\n toast.icon($$renderer2, {});\n $$renderer2.push(\"<!--]-->\");\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(\"<!--]-->\");\n }\n } else if (toastType() === \"success\") {\n $$renderer2.push(\"<!--[1-->\");\n successIcon?.($$renderer2);\n $$renderer2.push(`<!---->`);\n } else if (toastType() === \"error\") {\n $$renderer2.push(\"<!--[2-->\");\n errorIcon?.($$renderer2);\n $$renderer2.push(`<!---->`);\n } else if (toastType() === \"warning\") {\n $$renderer2.push(\"<!--[3-->\");\n warningIcon?.($$renderer2);\n $$renderer2.push(`<!---->`);\n } else if (toastType() === \"info\") {\n $$renderer2.push(\"<!--[4-->\");\n infoIcon?.($$renderer2);\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]-->`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--></div>`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--> <div data-content=\"\"${attr_class(clsx(cn$1(classes()?.content, toast?.classes?.content)))}><div data-title=\"\"${attr_class(clsx(cn$1(classes()?.title, toast?.classes?.title)))}>`);\n if (toast.title) {\n $$renderer2.push(\"<!--[0-->\");\n if (typeof toast.title !== \"string\") {\n $$renderer2.push(\"<!--[0-->\");\n const Title = toast.title;\n if (Title) {\n $$renderer2.push(\"<!--[-->\");\n Title($$renderer2, spread_props([toast.componentProps]));\n $$renderer2.push(\"<!--]-->\");\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(\"<!--]-->\");\n }\n } else {\n $$renderer2.push(`<!--[-1-->${escape_html(toast.title)}`);\n }\n $$renderer2.push(`<!--]-->`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--></div> `);\n if (toast.description) {\n $$renderer2.push(`<!--[0--><div data-description=\"\"${attr_class(clsx(cn$1(descriptionClass, toastDescriptionClass(), classes()?.description, toast.classes?.description)))}>`);\n if (typeof toast.description !== \"string\") {\n $$renderer2.push(\"<!--[0-->\");\n const Description = toast.description;\n if (Description) {\n $$renderer2.push(\"<!--[-->\");\n Description($$renderer2, spread_props([toast.componentProps]));\n $$renderer2.push(\"<!--]-->\");\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(\"<!--]-->\");\n }\n } else {\n $$renderer2.push(`<!--[-1-->${escape_html(toast.description)}`);\n }\n $$renderer2.push(`<!--]--></div>`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--></div> `);\n if (toast.cancel) {\n $$renderer2.push(\"<!--[0-->\");\n if (typeof toast.cancel === \"function\") {\n $$renderer2.push(\"<!--[0-->\");\n if (toast.cancel) {\n $$renderer2.push(\"<!--[-->\");\n toast.cancel($$renderer2, {});\n $$renderer2.push(\"<!--]-->\");\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(\"<!--]-->\");\n }\n } else if (isAction(toast.cancel)) {\n $$renderer2.push(`<!--[1--><button data-button=\"\" data-cancel=\"\"${attr_style(toast.cancelButtonStyle ?? cancelButtonStyle)}${attr_class(clsx(cn$1(classes()?.cancelButton, toast?.classes?.cancelButton)))}>${escape_html(toast.cancel.label)}</button>`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]-->`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--> `);\n if (toast.action) {\n $$renderer2.push(\"<!--[0-->\");\n if (typeof toast.action === \"function\") {\n $$renderer2.push(\"<!--[0-->\");\n if (toast.action) {\n $$renderer2.push(\"<!--[-->\");\n toast.action($$renderer2, {});\n $$renderer2.push(\"<!--]-->\");\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(\"<!--]-->\");\n }\n } else if (isAction(toast.action)) {\n $$renderer2.push(`<!--[1--><button data-button=\"\"${attr_style(toast.actionButtonStyle ?? actionButtonStyle)}${attr_class(clsx(cn$1(classes()?.actionButton, toast?.classes?.actionButton)))}>${escape_html(toast.action.label)}</button>`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]-->`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]-->`);\n }\n $$renderer2.push(`<!--]--></li>`);\n });\n}\nfunction SuccessIcon($$renderer) {\n $$renderer.push(`<svg aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\" height=\"20\" width=\"20\" data-sonner-success-icon=\"\"><path fill-rule=\"evenodd\" d=\"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z\" clip-rule=\"evenodd\"></path></svg>`);\n}\nfunction ErrorIcon($$renderer) {\n $$renderer.push(`<svg aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\" height=\"20\" width=\"20\" data-sonner-error-icon=\"\"><path fill-rule=\"evenodd\" d=\"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z\" clip-rule=\"evenodd\"></path></svg>`);\n}\nfunction WarningIcon($$renderer) {\n $$renderer.push(`<svg aria-hidden=\"true\" viewBox=\"0 0 64 64\" fill=\"currentColor\" height=\"20\" width=\"20\" data-sonner-warning-icon=\"\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M32.427,7.987c2.183,0.124 4,1.165 5.096,3.281l17.936,36.208c1.739,3.66 -0.954,8.585 -5.373,8.656l-36.119,0c-4.022,-0.064 -7.322,-4.631 -5.352,-8.696l18.271,-36.207c0.342,-0.65 0.498,-0.838 0.793,-1.179c1.186,-1.375 2.483,-2.111 4.748,-2.063Zm-0.295,3.997c-0.687,0.034 -1.316,0.419 -1.659,1.017c-6.312,11.979 -12.397,24.081 -18.301,36.267c-0.546,1.225 0.391,2.797 1.762,2.863c12.06,0.195 24.125,0.195 36.185,0c1.325,-0.064 2.321,-1.584 1.769,-2.85c-5.793,-12.184 -11.765,-24.286 -17.966,-36.267c-0.366,-0.651 -0.903,-1.042 -1.79,-1.03Z\"></path><path d=\"M33.631,40.581l-3.348,0l-0.368,-16.449l4.1,0l-0.384,16.449Zm-3.828,5.03c0,-0.609 0.197,-1.113 0.592,-1.514c0.396,-0.4 0.935,-0.601 1.618,-0.601c0.684,0 1.223,0.201 1.618,0.601c0.395,0.401 0.593,0.905 0.593,1.514c0,0.587 -0.193,1.078 -0.577,1.473c-0.385,0.395 -0.929,0.593 -1.634,0.593c-0.705,0 -1.249,-0.198 -1.634,-0.593c-0.384,-0.395 -0.576,-0.886 -0.576,-1.473Z\"></path></svg>`);\n}\nfunction InfoIcon($$renderer) {\n $$renderer.push(`<svg aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\" height=\"20\" width=\"20\" data-sonner-info-icon=\"\"><path fill-rule=\"evenodd\" d=\"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z\" clip-rule=\"evenodd\"></path></svg>`);\n}\nfunction CloseIcon($$renderer) {\n $$renderer.push(`<svg aria-hidden=\"true\" xmlns=\"http://www.w3.org/2000/svg\" width=\"12\" height=\"12\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" data-sonner-close-icon=\"\"><line x1=\"18\" y1=\"6\" x2=\"6\" y2=\"18\"></line><line x1=\"6\" y1=\"6\" x2=\"18\" y2=\"18\"></line></svg>`);\n}\nconst VISIBLE_TOASTS_AMOUNT = 3;\nconst VIEWPORT_OFFSET = \"24px\";\nconst MOBILE_VIEWPORT_OFFSET = \"16px\";\nconst TOAST_LIFETIME = 4e3;\nconst TOAST_WIDTH = 356;\nconst GAP = 14;\nconst DARK = \"dark\";\nconst LIGHT = \"light\";\nfunction getOffsetObject(defaultOffset, mobileOffset) {\n const styles = {};\n [defaultOffset, mobileOffset].forEach((offset, index) => {\n const isMobile = index === 1;\n const prefix = isMobile ? \"--mobile-offset\" : \"--offset\";\n const defaultValue = isMobile ? MOBILE_VIEWPORT_OFFSET : VIEWPORT_OFFSET;\n function assignAll(offset2) {\n [\"top\", \"right\", \"bottom\", \"left\"].forEach((key) => {\n styles[`${prefix}-${key}`] = typeof offset2 === \"number\" ? `${offset2}px` : offset2;\n });\n }\n if (typeof offset === \"number\" || typeof offset === \"string\") {\n assignAll(offset);\n } else if (typeof offset === \"object\") {\n [\"top\", \"right\", \"bottom\", \"left\"].forEach((key) => {\n const value = offset[key];\n if (value === void 0) {\n styles[`${prefix}-${key}`] = defaultValue;\n } else {\n styles[`${prefix}-${key}`] = typeof value === \"number\" ? `${value}px` : value;\n }\n });\n } else {\n assignAll(defaultValue);\n }\n });\n return styles;\n}\nfunction Toaster($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n function getInitialTheme(t) {\n if (t !== \"system\") return t;\n if (typeof window !== \"undefined\") {\n if (window.matchMedia && window.matchMedia(\"(prefers-color-scheme: dark)\").matches) {\n return DARK;\n }\n return LIGHT;\n }\n return LIGHT;\n }\n let {\n id,\n invert = false,\n position = \"bottom-right\",\n hotkey = [\"altKey\", \"KeyT\"],\n expand = false,\n closeButton = false,\n offset = VIEWPORT_OFFSET,\n mobileOffset = MOBILE_VIEWPORT_OFFSET,\n theme = \"light\",\n richColors = false,\n duration = TOAST_LIFETIME,\n visibleToasts = VISIBLE_TOASTS_AMOUNT,\n toastOptions = {},\n dir = \"auto\",\n gap = GAP,\n swipeDirections,\n pauseWhenPageIsHidden = false,\n loadingIcon: loadingIconProp,\n successIcon: successIconProp,\n errorIcon: errorIconProp,\n warningIcon: warningIconProp,\n closeIcon: closeIconProp,\n infoIcon: infoIconProp,\n containerAriaLabel = \"Notifications\",\n class: className,\n closeButtonAriaLabel = \"Close toast\",\n onblur,\n onfocus,\n onmouseenter,\n onmousemove,\n onmouseleave,\n ondragend,\n onpointerdown,\n onpointerup,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n function getDocumentDirection() {\n if (dir !== \"auto\") return dir;\n if (typeof window === \"undefined\") return \"ltr\";\n if (typeof document === \"undefined\") return \"ltr\";\n const dirAttribute = document.documentElement.getAttribute(\"dir\");\n if (dirAttribute === \"auto\" || !dirAttribute) {\n run(() => dir = window.getComputedStyle(document.documentElement).direction ?? \"ltr\");\n return dir;\n }\n run(() => dir = dirAttribute);\n return dirAttribute;\n }\n const filteredToasts = derived(() => id ? toastState.toasts.filter((toast) => toast.toasterId === id) : toastState.toasts.filter((toast) => !toast.toasterId));\n const possiblePositions = derived(() => Array.from(new Set([\n position,\n ...filteredToasts().filter((toast) => toast.position).map((toast) => toast.position)\n ].filter(Boolean))));\n let expanded = false;\n let interacting = false;\n let actualTheme = getInitialTheme(theme);\n const hotkeyLabel = derived(() => hotkey.join(\"+\").replace(/Key/g, \"\").replace(/Digit/g, \"\"));\n sonnerContext.set(new SonnerState());\n $$renderer2.push(`<section${attr(\"aria-label\", `${stringify(containerAriaLabel)} ${stringify(hotkeyLabel())}`)}${attr(\"tabindex\", -1)} aria-live=\"polite\" aria-relevant=\"additions text\" aria-atomic=\"false\">`);\n if (filteredToasts().length > 0) {\n $$renderer2.push(`<!--[0--><!--[-->`);\n const each_array = ensure_array_like(possiblePositions());\n for (let index = 0, $$length = each_array.length; index < $$length; index++) {\n let position2 = each_array[index];\n const [y, x] = position2.split(\"-\");\n const offsetObject = getOffsetObject(offset, mobileOffset);\n const frontHeight = toastState.heights.find((height) => height.toasterId === id && height.position === position2)?.height ?? 0;\n $$renderer2.push(`<ol${attributes(\n {\n tabindex: -1,\n dir: getDocumentDirection(),\n class: clsx(className),\n \"data-sonner-toaster\": true,\n \"data-sonner-theme\": actualTheme,\n \"data-y-position\": y,\n \"data-x-position\": x,\n style: restProps.style,\n ...restProps\n },\n void 0,\n void 0,\n {\n \"--front-toast-height\": `${frontHeight}px`,\n \"--width\": `${TOAST_WIDTH}px`,\n \"--gap\": `${gap}px`,\n \"--offset-top\": offsetObject[\"--offset-top\"],\n \"--offset-right\": offsetObject[\"--offset-right\"],\n \"--offset-bottom\": offsetObject[\"--offset-bottom\"],\n \"--offset-left\": offsetObject[\"--offset-left\"],\n \"--mobile-offset-top\": offsetObject[\"--mobile-offset-top\"],\n \"--mobile-offset-right\": offsetObject[\"--mobile-offset-right\"],\n \"--mobile-offset-bottom\": offsetObject[\"--mobile-offset-bottom\"],\n \"--mobile-offset-left\": offsetObject[\"--mobile-offset-left\"]\n }\n )}><!--[-->`);\n const each_array_1 = ensure_array_like(filteredToasts().filter((toast) => !toast.position && index === 0 || toast.position === position2));\n for (let index2 = 0, $$length2 = each_array_1.length; index2 < $$length2; index2++) {\n let toast = each_array_1[index2];\n {\n let successIcon = function($$renderer3) {\n if (successIconProp) {\n $$renderer3.push(\"<!--[0-->\");\n successIconProp?.($$renderer3);\n $$renderer3.push(`<!---->`);\n } else if (successIconProp !== null) {\n $$renderer3.push(\"<!--[1-->\");\n SuccessIcon($$renderer3);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]-->`);\n }, errorIcon = function($$renderer3) {\n if (errorIconProp) {\n $$renderer3.push(\"<!--[0-->\");\n errorIconProp?.($$renderer3);\n $$renderer3.push(`<!---->`);\n } else if (errorIconProp !== null) {\n $$renderer3.push(\"<!--[1-->\");\n ErrorIcon($$renderer3);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]-->`);\n }, warningIcon = function($$renderer3) {\n if (warningIconProp) {\n $$renderer3.push(\"<!--[0-->\");\n warningIconProp?.($$renderer3);\n $$renderer3.push(`<!---->`);\n } else if (warningIconProp !== null) {\n $$renderer3.push(\"<!--[1-->\");\n WarningIcon($$renderer3);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]-->`);\n }, infoIcon = function($$renderer3) {\n if (infoIconProp) {\n $$renderer3.push(\"<!--[0-->\");\n infoIconProp?.($$renderer3);\n $$renderer3.push(`<!---->`);\n } else if (infoIconProp !== null) {\n $$renderer3.push(\"<!--[1-->\");\n InfoIcon($$renderer3);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]-->`);\n }, closeIcon = function($$renderer3) {\n if (closeIconProp) {\n $$renderer3.push(\"<!--[0-->\");\n closeIconProp?.($$renderer3);\n $$renderer3.push(`<!---->`);\n } else if (closeIconProp !== null) {\n $$renderer3.push(\"<!--[1-->\");\n CloseIcon($$renderer3);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]-->`);\n };\n Toast($$renderer2, {\n index: index2,\n toast,\n defaultRichColors: richColors,\n duration: toastOptions?.duration ?? duration,\n class: toastOptions?.class ?? \"\",\n descriptionClass: toastOptions?.descriptionClass || \"\",\n invert,\n visibleToasts,\n closeButton: toastOptions?.closeButton ?? closeButton,\n interacting,\n position: position2,\n gap,\n style: toastOptions?.style ?? \"\",\n classes: toastOptions.classes || {},\n unstyled: toastOptions.unstyled ?? false,\n cancelButtonStyle: toastOptions?.cancelButtonStyle ?? \"\",\n actionButtonStyle: toastOptions?.actionButtonStyle ?? \"\",\n closeButtonAriaLabel: toastOptions?.closeButtonAriaLabel ?? closeButtonAriaLabel,\n expandByDefault: expand,\n expanded,\n swipeDirections,\n pauseWhenPageIsHidden,\n loadingIcon: loadingIconProp,\n successIcon,\n errorIcon,\n warningIcon,\n infoIcon,\n closeIcon,\n $$slots: {\n successIcon: true,\n errorIcon: true,\n warningIcon: true,\n infoIcon: true,\n closeIcon: true\n }\n });\n }\n }\n $$renderer2.push(`<!--]--></ol>`);\n }\n $$renderer2.push(`<!--]-->`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--></section>`);\n });\n}\nfunction SubagentRow($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { agent, href, active } = $$props;\n const running = derived(() => agent.state === \"running\");\n const status = derived(() => {\n if (running()) {\n const elapsed = formatElapsed((clock.now - agent.started_at) / 1e3);\n return [\"running\", elapsed, agent.current_tool].filter(Boolean).join(\" · \");\n }\n const ago = formatAgo(agent.ended_at, clock.now);\n return `${agent.state} ${ago === \"now\" ? \"just now\" : `${ago} ago`}`;\n });\n const title = derived(() => agent.description || agentTypeLabel(agent.type));\n $$renderer2.push(`<a${attr(\"href\", href)}${attr_class(\"agent svelte-ktcgml\", void 0, {\n \"cur\": active,\n \"done\": agent.state === \"done\",\n \"failed\": agent.state === \"failed\"\n })}${attr(\"title\", title())}><span class=\"glyph svelte-ktcgml\" aria-hidden=\"true\">`);\n if (agent.state === \"done\") {\n $$renderer2.push(`<!--[0--><svg viewBox=\"0 0 24 24\" class=\"svelte-ktcgml\"><path d=\"M5 12l5 5L20 7\"></path></svg>`);\n } else {\n $$renderer2.push(`<!--[-1--><svg viewBox=\"0 0 24 24\" class=\"svelte-ktcgml\"><path d=\"M12 3l9 9-9 9-9-9z\"></path></svg>`);\n }\n $$renderer2.push(`<!--]--></span> <span class=\"desc svelte-ktcgml\">${escape_html(title())}</span> <span class=\"type svelte-ktcgml\">${escape_html(agentTypeLabel(agent.type))}</span> <span class=\"status svelte-ktcgml\">${escape_html(status())}</span></a>`);\n });\n}\nfunction MachineFilter($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n live,\n wants\n /** Live sessions on a machine. */\n /** Whether a session on a machine wants a person. */\n } = $$props;\n let open = false;\n const chosen = derived(() => fleetStore.visible.length === 1 ? fleetStore.visible[0] : null);\n const label = derived(() => fleetStore.fleet ? chosen() ? machineName(chosen()) : \"Fleet\" : fleetStore.machines[0]?.server.hostname || \"claude-mux\");\n const wantsElsewhere = derived(() => fleetStore.selected !== \"all\" && fleetStore.machines.some((m) => m.server.id !== fleetStore.selected && wants(m)));\n const drifting = derived(() => fleetStore.machines.filter(versionDrifts).length);\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Popover) {\n $$renderer3.push(\"<!--[-->\");\n Popover($$renderer3, {\n get open() {\n return open;\n },\n set open($$value) {\n open = $$value;\n $$settled = false;\n },\n children: ($$renderer4) => {\n if (Popover_trigger) {\n $$renderer4.push(\"<!--[-->\");\n Popover_trigger($$renderer4, {\n class: \"machine-filter-trigger\",\n \"aria-label\": \"Filter by machine\",\n children: ($$renderer5) => {\n $$renderer5.push(`<span${attr_class(\"dot svelte-5wr9rz\", void 0, {\n \"off\": chosen() ? !chosen().online : false,\n \"all\": !chosen() && fleetStore.fleet\n })}></span> <span class=\"hostname\">${escape_html(label())}</span> `);\n if (wantsElsewhere()) {\n $$renderer5.push(`<!--[0--><span class=\"elsewhere svelte-5wr9rz\" title=\"A machine not shown wants you\"></span>`);\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--> <iconify-icon icon=\"mdi:chevron-down\" class=\"chev\"></iconify-icon>`);\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n $$renderer4.push(` `);\n if (Popover_content) {\n $$renderer4.push(\"<!--[-->\");\n Popover_content($$renderer4, {\n class: \"machine-filter\",\n align: \"start\",\n sideOffset: 6,\n children: ($$renderer5) => {\n $$renderer5.push(`<button type=\"button\"${attr_class(\"row svelte-5wr9rz\", void 0, { \"on\": fleetStore.selected === \"all\" })}><iconify-icon icon=\"mdi:monitor-multiple\" class=\"lead svelte-5wr9rz\"></iconify-icon> <span class=\"name svelte-5wr9rz\">All machines</span> `);\n if (fleetStore.selected === \"all\") {\n $$renderer5.push(`<!--[0--><iconify-icon icon=\"mdi:check\" class=\"check svelte-5wr9rz\"></iconify-icon>`);\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--></button> <div class=\"rule svelte-5wr9rz\"></div> <!--[-->`);\n const each_array = ensure_array_like(fleetStore.machines);\n for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n let machine = each_array[$$index];\n const reason = offlineReason(machine, clock.now);\n const on = fleetStore.selected === machine.server.id;\n const n2 = live(machine);\n $$renderer5.push(`<button type=\"button\"${attr_class(\"row svelte-5wr9rz\", void 0, { \"on\": on })}${attr(\"disabled\", !machine.server.id, true)}${attr(\"title\", reason ?? void 0)}><span${attr_class(\"dot lead svelte-5wr9rz\", void 0, { \"off\": !machine.online })}></span> <span class=\"name svelte-5wr9rz\">${escape_html(machineName(machine))} `);\n if (reason) {\n $$renderer5.push(`<!--[0--><span class=\"sub svelte-5wr9rz\">${escape_html(offlineLabel(machine, clock.now))}</span>`);\n } else if (versionDrifts(machine)) {\n $$renderer5.push(`<!--[1--><span class=\"sub svelte-5wr9rz\">${escape_html(machine.version ?? \"older\")}, update</span>`);\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--></span> `);\n if (wants(machine)) {\n $$renderer5.push(`<!--[0--><span class=\"pill svelte-5wr9rz\">wants you</span>`);\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--> `);\n if (n2 > 0) {\n $$renderer5.push(`<!--[0--><span class=\"n svelte-5wr9rz\">${escape_html(n2)}</span>`);\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--> `);\n if (on) {\n $$renderer5.push(`<!--[0--><iconify-icon icon=\"mdi:check\" class=\"check svelte-5wr9rz\"></iconify-icon>`);\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--></button>`);\n }\n $$renderer5.push(`<!--]--> <div class=\"rule svelte-5wr9rz\"></div> <a class=\"row svelte-5wr9rz\" href=\"/machines\"><iconify-icon icon=\"mdi:server-network\" class=\"lead svelte-5wr9rz\"></iconify-icon> <span class=\"name svelte-5wr9rz\">Machines and updates</span> `);\n if (drifting() > 0) {\n $$renderer5.push(`<!--[0--><span class=\"n svelte-5wr9rz\" title=\"Machines on another version than this page\">${escape_html(drifting())} differ</span>`);\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--></a>`);\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n });\n}\nfunction isRepo(project) {\n return project.startsWith(\"git:\");\n}\nfunction folderMarker(machineId, open) {\n const folders = open.filter((f) => f.root !== NO_FOLDER);\n const mine = folders.filter((f) => f.machineId === machineId);\n const byRoot = new Map(mine.map((f) => [f.root, f]));\n const others = /* @__PURE__ */ new Map();\n for (const f of folders) {\n if (f.machineId !== machineId) others.set(f.project, [...others.get(f.project) ?? [], f]);\n }\n const byHome = /* @__PURE__ */ new Map();\n const claim = (key, project) => byHome.set(key, (byHome.get(key) ?? /* @__PURE__ */ new Set()).add(project));\n for (const [, list] of others) {\n for (const f of list) {\n const home = guessReport(f.root).home;\n if (home) claim(home, f.project);\n if (isRepo(f.project)) claim(f.name, f.project);\n }\n }\n return (path) => {\n const here = byRoot.get(path) ?? null;\n const home = guessReport(path).home;\n const guessed = home && !(here && isRepo(here.project)) ? byHome.get(home) : void 0;\n const projects = /* @__PURE__ */ new Set([here?.project, guessed?.size === 1 ? [...guessed][0] : void 0]);\n const elsewhere = [...projects].flatMap((p2) => p2 ? others.get(p2) ?? [] : []).sort((a, b) => Number(b.live > 0) - Number(a.live > 0));\n const prefix = path === \"/\" ? \"/\" : `${path}/`;\n const below = mine.filter((f) => f.root.startsWith(prefix)).length;\n return { here, elsewhere, below };\n };\n}\nfunction openOn(machineId, open) {\n const rank = (f) => f.wants ? 0 : f.live > 0 ? 1 : 2;\n return open.filter((f) => f.machineId === machineId && f.root !== NO_FOLDER).sort((a, b) => rank(a) - rank(b) || a.root.localeCompare(b.root));\n}\nfunction carryPath(path, home) {\n if (!home || home === \"/\") return path;\n if (path === home) return \"~\";\n return path.startsWith(`${home}/`) ? `~${path.slice(home.length)}` : path;\n}\nfunction Scroll_area_scrollbar($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n orientation = \"vertical\",\n children,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Scroll_area_scrollbar$1) {\n $$renderer3.push(\"<!--[-->\");\n Scroll_area_scrollbar$1($$renderer3, spread_props([\n {\n \"data-slot\": \"scroll-area-scrollbar\",\n orientation,\n class: cn(\"flex touch-none p-px transition-colors select-none\", orientation === \"vertical\" && \"h-full w-2.5 border-s border-s-transparent\", orientation === \"horizontal\" && \"h-2.5 flex-col border-t border-t-transparent\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n },\n children: ($$renderer4) => {\n children?.($$renderer4);\n $$renderer4.push(`<!----> `);\n if (Scroll_area_thumb) {\n $$renderer4.push(\"<!--[-->\");\n Scroll_area_thumb($$renderer4, {\n \"data-slot\": \"scroll-area-thumb\",\n class: \"bg-border relative flex-1 rounded-full\"\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Scroll_area($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n viewportRef = null,\n class: className,\n orientation = \"vertical\",\n scrollbarXClasses = \"\",\n scrollbarYClasses = \"\",\n children,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Scroll_area$1) {\n $$renderer3.push(\"<!--[-->\");\n Scroll_area$1($$renderer3, spread_props([\n { \"data-slot\": \"scroll-area\", class: cn(\"relative\", className) },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n },\n children: ($$renderer4) => {\n if (Scroll_area_viewport) {\n $$renderer4.push(\"<!--[-->\");\n Scroll_area_viewport($$renderer4, {\n \"data-slot\": \"scroll-area-viewport\",\n class: \"ring-ring/10 dark:ring-ring/20 dark:outline-ring/40 outline-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] focus-visible:ring-4 focus-visible:outline-1\",\n get ref() {\n return viewportRef;\n },\n set ref($$value) {\n viewportRef = $$value;\n $$settled = false;\n },\n children: ($$renderer5) => {\n children?.($$renderer5);\n $$renderer5.push(`<!---->`);\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n $$renderer4.push(` `);\n if (orientation === \"vertical\" || orientation === \"both\") {\n $$renderer4.push(\"<!--[0-->\");\n Scroll_area_scrollbar($$renderer4, { orientation: \"vertical\", class: scrollbarYClasses });\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--> `);\n if (orientation === \"horizontal\" || orientation === \"both\") {\n $$renderer4.push(\"<!--[0-->\");\n Scroll_area_scrollbar($$renderer4, { orientation: \"horizontal\", class: scrollbarXClasses });\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--> `);\n if (Scroll_area_corner) {\n $$renderer4.push(\"<!--[-->\");\n Scroll_area_corner($$renderer4, {});\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref, viewportRef });\n });\n}\nfunction Tabs_trigger($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Tabs_trigger$1) {\n $$renderer3.push(\"<!--[-->\");\n Tabs_trigger$1($$renderer3, spread_props([\n {\n \"data-slot\": \"tabs-trigger\",\n class: cn(\"gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg:not([class*='size-'])]:size-4 has-data-[icon=inline-end]:pr-1 has-data-[icon=inline-start]:pl-1 relative inline-flex h-[calc(100%_-_1px)] flex-1 items-center justify-center whitespace-nowrap text-foreground/60 transition-all group-data-vertical/tabs:w-full group-data-vertical/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 dark:text-muted-foreground dark:hover:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0\", \"group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent\", \"data-active:bg-background data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 dark:data-active:text-foreground\", \"after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-horizontal/tabs:after:inset-x-0 group-data-horizontal/tabs:after:bottom-[-5px] group-data-horizontal/tabs:after:h-0.5 group-data-vertical/tabs:after:inset-y-0 group-data-vertical/tabs:after:-right-1 group-data-vertical/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Tabs($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n value = \"\",\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Tabs$1) {\n $$renderer3.push(\"<!--[-->\");\n Tabs$1($$renderer3, spread_props([\n {\n \"data-slot\": \"tabs\",\n class: cn(\"gap-2 group/tabs flex data-horizontal:flex-col\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n },\n get value() {\n return value;\n },\n set value($$value) {\n value = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref, value });\n });\n}\nfunction Avatar_fallback($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Avatar_fallback$1) {\n $$renderer3.push(\"<!--[-->\");\n Avatar_fallback$1($$renderer3, spread_props([\n {\n \"data-slot\": \"avatar-fallback\",\n class: cn(\"bg-muted text-muted-foreground rounded-full flex size-full items-center justify-center text-sm group-data-[size=sm]/avatar:text-xs\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Avatar_image($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Avatar_image$1) {\n $$renderer3.push(\"<!--[-->\");\n Avatar_image$1($$renderer3, spread_props([\n {\n \"data-slot\": \"avatar-image\",\n class: cn(\"rounded-full aspect-square size-full object-cover\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Avatar($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n loadingStatus = \"loading\",\n size = \"default\",\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Avatar$1) {\n $$renderer3.push(\"<!--[-->\");\n Avatar$1($$renderer3, spread_props([\n {\n \"data-slot\": \"avatar\",\n \"data-size\": size,\n class: cn(\"size-8 rounded-full after:rounded-full data-[size=lg]:size-10 data-[size=sm]:size-6 group/avatar relative flex shrink-0 select-none after:absolute after:inset-0 after:border after:border-border after:mix-blend-darken dark:after:mix-blend-lighten\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n },\n get loadingStatus() {\n return loadingStatus;\n },\n set loadingStatus($$value) {\n loadingStatus = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref, loadingStatus });\n });\n}\nfunction ProjectTile($$renderer, $$props) {\n let {\n initials,\n hue,\n icon,\n size = 20\n /** The icon's URL; null draws the initials. */\n } = $$props;\n if (Avatar) {\n $$renderer.push(\"<!--[-->\");\n Avatar($$renderer, {\n class: \"ptile\",\n style: `--h:${stringify(hue)}; --s:${stringify(size)}px`,\n children: ($$renderer2) => {\n if (icon) {\n $$renderer2.push(\"<!--[0-->\");\n if (Avatar_image) {\n $$renderer2.push(\"<!--[-->\");\n Avatar_image($$renderer2, { src: icon, alt: \"\", class: \"ptile-img\", draggable: \"false\" });\n $$renderer2.push(\"<!--]-->\");\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(\"<!--]-->\");\n }\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--> `);\n if (Avatar_fallback) {\n $$renderer2.push(\"<!--[-->\");\n Avatar_fallback($$renderer2, {\n class: \"ptile-init\",\n children: ($$renderer3) => {\n $$renderer3.push(`<!---->${escape_html(initials)}`);\n },\n $$slots: { default: true }\n });\n $$renderer2.push(\"<!--]-->\");\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer.push(\"<!--]-->\");\n } else {\n $$renderer.push(\"<!--[!-->\");\n $$renderer.push(\"<!--]-->\");\n }\n}\nfunction FolderPicker($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n open = void 0,\n machines,\n folders: openFolders,\n markOf,\n onpick,\n ongoto\n } = $$props;\n let tab = \"\";\n let chosen = null;\n const machine = derived(() => machines.find((m) => machineKey(m) === tab) ?? chosen);\n const base = derived(() => machine() ? apiBase(machine()) : \"\");\n let path = \"\";\n let home = \"\";\n let folders = [];\n let showHidden = false;\n let error = \"\";\n let query = \"\";\n let active = 0;\n let gitInit = false;\n let creating = false;\n const newName = derived(() => {\n const name = query.trim();\n if (folderNameProblem(name) || folders.some((f) => f.name === name)) return null;\n return name;\n });\n const matches = derived(() => {\n const q = query.trim();\n return folders.flatMap((folder) => {\n const m = fuzzyMatch(folder.name, q);\n if (!m) return [];\n return [\n {\n folder,\n score: m.score,\n runs: q ? highlightRuns(folder.name, m.positions) : null\n }\n ];\n }).sort((a, b) => b.score - a.score);\n });\n const crumbs = derived(() => {\n if (!path) return [];\n const usesHome = home !== \"\" && `${path}/`.startsWith(`${home}/`);\n const parts = (usesHome ? path.slice(home.length) : path).split(\"/\").filter(Boolean);\n const list = usesHome ? [{ label: \"~\", path: home }] : [{ label: \"/\", path: \"/\" }];\n let acc = usesHome ? home : \"\";\n for (const part of parts) {\n acc = `${acc}/${part}`;\n list.push({ label: part, path: acc });\n }\n return list;\n });\n const mark = derived(() => folderMarker(tab, openFolders));\n const openHere = derived(() => openOn(tab, openFolders));\n async function openAt(start, on) {\n const usable = blockedReason(on, clock.now) ? machines[0] ?? on : on;\n tab = machineKey(usable);\n chosen = usable;\n open = true;\n await browseTo(start);\n if (!window.matchMedia?.(\"(pointer: coarse)\").matches) ;\n }\n async function switchTo(id) {\n const next = machines.find((m) => machineKey(m) === id);\n if (!next || id === tab || blockedReason(next, clock.now)) return;\n const carried = carryPath(path, home);\n const [was, wasChosen] = [tab, chosen];\n tab = id;\n chosen = next;\n let shown = await browseTo(carried, true);\n if (shown === false && carried !== \"~\") shown = await browseTo(\"~\", true);\n if (shown === false) [tab, chosen] = [was, wasChosen];\n }\n let browsing = 0;\n async function browseTo(to, keepQuery = false) {\n const ask = ++browsing;\n error = \"\";\n const data = await fetch(`${base()}/api/browse?path=${encodeURIComponent(to)}&showHidden=${showHidden}`).then((res) => res.json()).catch(() => ({ error: \"Could not reach the machine\" }));\n if (ask !== browsing) return null;\n if (data.error) {\n error = data.error;\n return false;\n }\n path = data.current;\n home = data.home;\n data.parent;\n folders = data.folders;\n if (!keepQuery) query = \"\";\n await tick();\n return true;\n }\n function pickCurrent() {\n if (!machine()) return;\n open = false;\n onpick(machine(), path);\n }\n function goto2($$renderer3, folder) {\n $$renderer3.push(`<button class=\"fb-goto svelte-57drpi\"${attr(\"title\", folder.only ? \"Open its session\" : \"Open the project\")}>Go to</button>`);\n }\n function marks($$renderer3, m) {\n $$renderer3.push(`<span class=\"fb-marks svelte-57drpi\">`);\n if (m.here?.state) {\n $$renderer3.push(`<!--[0--><span${attr_class(\"fb-live svelte-57drpi\", void 0, { \"wants\": m.here.wants })}>`);\n SessionStateIndicator($$renderer3, { state: m.here.state, size: \"sm\" });\n $$renderer3.push(`<!----> ${escape_html(m.here.live)} session${escape_html(m.here.live === 1 ? \"\" : \"s\")}</span>`);\n } else if (m.here) {\n $$renderer3.push(`<!--[1--><span class=\"fb-rail svelte-57drpi\"${attr(\"title\", `${stringify(m.here.name)} is on the rail`)}>`);\n ProjectTile($$renderer3, {\n initials: m.here.tile.initials,\n hue: m.here.tile.hue,\n icon: m.here.tile.icon,\n size: 14\n });\n $$renderer3.push(`<!----></span>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--> <!--[-->`);\n const each_array = ensure_array_like(m.elsewhere);\n for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n let other = each_array[$$index];\n const letter = markOf(other.machineId);\n $$renderer3.push(`<span${attr_class(\"fb-mach svelte-57drpi\", void 0, { \"quiet\": other.live === 0 })}${attr_style(`--m:${stringify(letter?.color ?? \"#a8a29e\")}`)}${attr(\"title\", other.live > 0 ? `Open on ${machineName(other.machine)}: ${other.live} session${other.live === 1 ? \"\" : \"s\"}` : `On the rail on ${machineName(other.machine)}`)}>${escape_html(letter?.letter ?? \"?\")}</span>`);\n }\n $$renderer3.push(`<!--]--> `);\n if (m.below > 0) {\n $$renderer3.push(`<!--[0--><span class=\"fb-below svelte-57drpi\"${attr(\"title\", `${stringify(m.below)} open folder${m.below === 1 ? \"\" : \"s\"} below`)}>${escape_html(m.below)} open</span>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--></span>`);\n }\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Dialog) {\n $$renderer3.push(\"<!--[-->\");\n Dialog($$renderer3, {\n get open() {\n return open;\n },\n set open($$value) {\n open = $$value;\n $$settled = false;\n },\n children: ($$renderer4) => {\n if (Dialog_content) {\n $$renderer4.push(\"<!--[-->\");\n Dialog_content($$renderer4, {\n class: \"w-[calc(100%-1.5rem)] max-w-lg grid-cols-[minmax(0,1fr)] gap-0 overflow-hidden border-[#333] bg-[#161616] p-0 sm:max-w-lg\",\n style: \"--fb-accent: #e8b35c;\",\n showCloseButton: false,\n onOpenAutoFocus: (e) => {\n e.preventDefault();\n },\n children: ($$renderer5) => {\n if (Dialog_title) {\n $$renderer5.push(\"<!--[-->\");\n Dialog_title($$renderer5, {\n class: \"px-4 pt-3 pb-2.5 font-mono text-[11px] font-medium tracking-[0.14em] text-[#6f6f6f] uppercase\",\n children: ($$renderer6) => {\n $$renderer6.push(`<!---->open project`);\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n $$renderer5.push(` `);\n if (Dialog_description) {\n $$renderer5.push(\"<!--[-->\");\n Dialog_description($$renderer5, {\n class: \"sr-only\",\n children: ($$renderer6) => {\n $$renderer6.push(`<!---->Browse to a folder and start a session in it. Type to filter this folder.`);\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n $$renderer5.push(` `);\n if (machines.length > 1) {\n $$renderer5.push(\"<!--[0-->\");\n if (Tabs) {\n $$renderer5.push(\"<!--[-->\");\n Tabs($$renderer5, {\n value: tab,\n onValueChange: (id) => void switchTo(id),\n class: \"fb-tabs\",\n children: ($$renderer6) => {\n if (Tabs_list) {\n $$renderer6.push(\"<!--[-->\");\n Tabs_list($$renderer6, {\n class: \"fb-tablist\",\n \"aria-label\": \"Machine\",\n children: ($$renderer7) => {\n $$renderer7.push(`<!--[-->`);\n const each_array_1 = ensure_array_like(machines);\n for (let $$index_1 = 0, $$length = each_array_1.length; $$index_1 < $$length; $$index_1++) {\n let m = each_array_1[$$index_1];\n const why = blockedReason(m, clock.now);\n const letter = markOf(machineKey(m));\n if (Tabs_trigger) {\n $$renderer7.push(\"<!--[-->\");\n Tabs_trigger($$renderer7, {\n value: machineKey(m),\n disabled: !!why,\n title: why ?? `Browse ${machineName(m)}`,\n class: \"fb-tab\",\n children: ($$renderer8) => {\n if (letter) {\n $$renderer8.push(`<!--[0--><span class=\"fb-mach svelte-57drpi\"${attr_style(`--m:${stringify(letter.color)}`)}>${escape_html(letter.letter)}</span>`);\n } else {\n $$renderer8.push(\"<!--[-1-->\");\n }\n $$renderer8.push(`<!--]--> <span>${escape_html(machineName(m))}</span> `);\n if (why) {\n $$renderer8.push(`<!--[0--><span class=\"fb-tabwhy svelte-57drpi\">${escape_html(m.online ? \"too old\" : offlineLabel(m, clock.now))}</span>`);\n } else {\n $$renderer8.push(\"<!--[-1-->\");\n }\n $$renderer8.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n $$renderer7.push(\"<!--]-->\");\n } else {\n $$renderer7.push(\"<!--[!-->\");\n $$renderer7.push(\"<!--]-->\");\n }\n }\n $$renderer7.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n $$renderer6.push(\"<!--]-->\");\n } else {\n $$renderer6.push(\"<!--[!-->\");\n $$renderer6.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--> <nav class=\"fb-crumbs svelte-57drpi\" aria-label=\"Current path\"><!--[-->`);\n const each_array_2 = ensure_array_like(crumbs());\n for (let i = 0, $$length = each_array_2.length; i < $$length; i++) {\n let crumb = each_array_2[i];\n const here = i === crumbs().length - 1;\n if (i > 0) {\n $$renderer5.push(`<!--[0--><span class=\"fb-sep svelte-57drpi\" aria-hidden=\"true\">/</span>`);\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--> <button${attr_class(\"fb-crumb svelte-57drpi\", void 0, { \"here\": here })}${attr(\"aria-current\", here ? \"location\" : void 0)}>${escape_html(crumb.label)}</button>`);\n }\n $$renderer5.push(`<!--]--></nav> <div class=\"fb-prompt svelte-57drpi\"><span class=\"fb-caret svelte-57drpi\" aria-hidden=\"true\">❯</span> <input${attr(\"value\", query)} type=\"text\" placeholder=\"type to filter\" aria-label=\"Filter folders in this directory\" autocomplete=\"off\" autocapitalize=\"off\" spellcheck=\"false\" enterkeyhint=\"go\" class=\"svelte-57drpi\"/> <span class=\"fb-count svelte-57drpi\">${escape_html(query ? `${matches().length}/${folders.length}` : folders.length)}</span></div> `);\n if (error) {\n $$renderer5.push(`<!--[0--><p class=\"fb-error svelte-57drpi\">${escape_html(error)}</p>`);\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--> `);\n Scroll_area($$renderer5, {\n class: \"max-h-80 min-h-24 border-y border-[#333]\",\n children: ($$renderer6) => {\n if (!query && openHere().length > 0) {\n $$renderer6.push(`<!--[0--><section class=\"fb-open\" aria-label=\"Open on this machine\"><h3 class=\"fb-head svelte-57drpi\">Open on this machine</h3> <!--[-->`);\n const each_array_3 = ensure_array_like(openHere());\n for (let $$index_3 = 0, $$length = each_array_3.length; $$index_3 < $$length; $$index_3++) {\n let folder = each_array_3[$$index_3];\n $$renderer6.push(`<div class=\"fb-item svelte-57drpi\"><button class=\"fb-main svelte-57drpi\"${attr(\"title\", folder.root)}><span class=\"fb-name svelte-57drpi\">${escape_html(carryPath(folder.root, home))}</span> `);\n marks($$renderer6, { ...mark()(folder.root), below: 0 });\n $$renderer6.push(`<!----></button> `);\n goto2($$renderer6, folder);\n $$renderer6.push(`<!----></div>`);\n }\n $$renderer6.push(`<!--]--> <h3 class=\"fb-head svelte-57drpi\">In ${escape_html(carryPath(path, home))}</h3></section>`);\n } else {\n $$renderer6.push(\"<!--[-1-->\");\n }\n $$renderer6.push(`<!--]--> <div><!--[-->`);\n const each_array_4 = ensure_array_like(matches());\n for (let i = 0, $$length = each_array_4.length; i < $$length; i++) {\n let match = each_array_4[i];\n const m = mark()(match.folder.path);\n $$renderer6.push(`<div${attr_class(\"fb-item svelte-57drpi\", void 0, { \"active\": i === active })} role=\"presentation\"><button class=\"fb-main svelte-57drpi\"><span class=\"fb-name svelte-57drpi\">`);\n if (match.runs) {\n $$renderer6.push(`<!--[0--><!--[-->`);\n const each_array_5 = ensure_array_like(match.runs);\n for (let $$index_4 = 0, $$length2 = each_array_5.length; $$index_4 < $$length2; $$index_4++) {\n let run2 = each_array_5[$$index_4];\n if (run2.hit) {\n $$renderer6.push(`<!--[0--><mark class=\"svelte-57drpi\">${escape_html(run2.text)}</mark>`);\n } else {\n $$renderer6.push(`<!--[-1-->${escape_html(run2.text)}`);\n }\n $$renderer6.push(`<!--]-->`);\n }\n $$renderer6.push(`<!--]-->`);\n } else {\n $$renderer6.push(`<!--[-1-->${escape_html(match.folder.name)}`);\n }\n $$renderer6.push(`<!--]--></span> `);\n marks($$renderer6, m);\n $$renderer6.push(`<!----> `);\n if (match.folder.git) {\n $$renderer6.push(`<!--[0--><span class=\"fb-tag svelte-57drpi\">git</span>`);\n } else {\n $$renderer6.push(\"<!--[-1-->\");\n }\n $$renderer6.push(`<!--]--></button> `);\n if (m.here) {\n $$renderer6.push(\"<!--[0-->\");\n goto2($$renderer6, m.here);\n } else {\n $$renderer6.push(\"<!--[-1-->\");\n }\n $$renderer6.push(`<!--]--></div>`);\n }\n $$renderer6.push(`<!--]--> `);\n if (newName()) {\n $$renderer6.push(`<!--[0--><div${attr_class(\"fb-item fb-create svelte-57drpi\", void 0, { \"active\": active === matches().length })} role=\"presentation\"><button class=\"fb-main svelte-57drpi\"${attr(\"disabled\", creating, true)}><iconify-icon icon=\"mdi:folder-plus-outline\" aria-hidden=\"true\"></iconify-icon> <span class=\"fb-name svelte-57drpi\">${escape_html(\"Create folder\")} <q class=\"svelte-57drpi\">${escape_html(newName())}</q></span> `);\n if (gitInit) {\n $$renderer6.push(`<!--[0--><span class=\"fb-tag svelte-57drpi\">git</span>`);\n } else {\n $$renderer6.push(\"<!--[-1-->\");\n }\n $$renderer6.push(`<!--]--></button></div>`);\n } else if (matches().length === 0) {\n $$renderer6.push(`<!--[1--><p class=\"fb-empty svelte-57drpi\">`);\n if (query) {\n $$renderer6.push(`<!--[0-->No folder here matches <span class=\"fb-empty-q svelte-57drpi\">${escape_html(query)}</span>. Backspace to clear.`);\n } else {\n $$renderer6.push(`<!--[-1-->No folders here. Open this one, go up a level, or type a name to make one.`);\n }\n $$renderer6.push(`<!--]--></p>`);\n } else {\n $$renderer6.push(\"<!--[-1-->\");\n }\n $$renderer6.push(`<!--]--></div>`);\n },\n $$slots: { default: true }\n });\n $$renderer5.push(`<!----> <div class=\"fb-keys svelte-57drpi\"><span class=\"fb-hints svelte-57drpi\">↑↓ move · ⏎ enter folder · ⌫ go up · ⌘⏎ open here</span> <div class=\"fb-hidden svelte-57drpi\">`);\n Checkbox($$renderer5, {\n id: \"fb-show-hidden\",\n checked: showHidden,\n onCheckedChange: (v) => {\n showHidden = !!v;\n browseTo(path, true);\n }\n });\n $$renderer5.push(`<!----> <label for=\"fb-show-hidden\" class=\"svelte-57drpi\">hidden</label></div> `);\n if (newName()) {\n $$renderer5.push(`<!--[0--><div class=\"fb-hidden svelte-57drpi\">`);\n Checkbox($$renderer5, {\n id: \"fb-git-init\",\n checked: gitInit,\n onCheckedChange: (v) => gitInit = !!v\n });\n $$renderer5.push(`<!----> <label for=\"fb-git-init\" class=\"svelte-57drpi\">git init</label></div>`);\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--></div> <div class=\"fb-footer svelte-57drpi\">`);\n Button($$renderer5, {\n variant: \"ghost\",\n size: \"sm\",\n onclick: () => open = false,\n children: ($$renderer6) => {\n $$renderer6.push(`<!---->Cancel`);\n },\n $$slots: { default: true }\n });\n $$renderer5.push(`<!----> `);\n Button($$renderer5, {\n size: \"sm\",\n onclick: pickCurrent,\n children: ($$renderer6) => {\n $$renderer6.push(`<!---->Open here`);\n },\n $$slots: { default: true }\n });\n $$renderer5.push(`<!----></div>`);\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { open, openAt });\n });\n}\nfunction NeedsYou($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { machines, fleet = false } = $$props;\n const waiting = derived(() => {\n const out = [];\n for (const machine of machines) {\n const host = machine.server.hostname;\n for (const s of machine.sessions) {\n if (s.pane_alive === false) continue;\n if (s.state !== \"waiting\" && s.state !== \"permission\") continue;\n out.push({\n kind: \"session\",\n key: `${host}/s/${s.id}`,\n machine,\n session: s,\n since: s.last_update\n });\n }\n for (const t of machine.inbox) {\n if (t.kind !== \"needs-help\") continue;\n const session = machine.sessions.find((s) => s.pane_alive !== false && s.maestro_issue === t.number && s.git_root === t.git_root) ?? null;\n if (session && (session.state === \"waiting\" || session.state === \"permission\")) continue;\n out.push({\n kind: \"help\",\n key: `${host}/h/${t.repo}#${t.number}`,\n machine,\n ticket: t,\n session,\n since: t.since\n });\n }\n }\n return out.sort((a, b) => a.since - b.since);\n });\n const ready = derived(() => {\n const out = [];\n for (const machine of machines) {\n for (const t of machine.inbox) {\n if (t.kind === \"needs-help\") continue;\n out.push({\n key: `${machine.server.hostname}/t/${t.repo}#${t.number}`,\n machine,\n ticket: t\n });\n }\n }\n return out.sort((a, b) => a.ticket.since - b.ticket.since);\n });\n const FOLD_KEY = \"claude-mux:needs-you-collapsed\";\n function readFold() {\n try {\n const raw = localStorage.getItem(FOLD_KEY);\n return raw === null ? null : new Set(JSON.parse(raw));\n } catch {\n return null;\n }\n }\n let foldedWith = readFold();\n const allKeys = derived(() => [...waiting().map((w) => w.key), ...ready().map((r) => r.key)]);\n const arrived = derived(() => foldedWith ? allKeys().filter((k2) => !foldedWith.has(k2)).length : 0);\n function setOpen(open) {\n foldedWith = open ? null : new Set(allKeys());\n try {\n if (open) localStorage.removeItem(FOLD_KEY);\n else localStorage.setItem(FOLD_KEY, JSON.stringify(allKeys()));\n } catch {\n }\n }\n const READY_SHOWN = 3;\n const readyShown = derived(() => ready().slice(0, READY_SHOWN));\n const multiHost = derived(() => fleet);\n function repoName(t) {\n return t.repo.split(\"/\").pop() ?? t.repo;\n }\n const KIND_ICON = {\n \"needs-help\": \"mdi:hand-back-right-outline\",\n grilling: \"mdi:signpost-outline\",\n prototype: \"mdi:shape-outline\"\n };\n if (waiting().length > 0 || ready().length > 0) {\n $$renderer2.push(\"<!--[0-->\");\n if (Collapsible) {\n $$renderer2.push(\"<!--[-->\");\n Collapsible($$renderer2, {\n open: foldedWith === null,\n onOpenChange: setOpen,\n class: `needs ${waiting().length > 0 ? \"urgent\" : \"\"} ${foldedWith ? \"folded\" : \"\"}`,\n role: \"region\",\n \"aria-label\": \"Needs you\",\n children: ($$renderer3) => {\n if (Collapsible_trigger) {\n $$renderer3.push(\"<!--[-->\");\n Collapsible_trigger($$renderer3, {\n class: \"h\",\n title: foldedWith ? \"Show the list\" : \"Fold the list away for now\",\n children: ($$renderer4) => {\n $$renderer4.push(`<iconify-icon class=\"chev svelte-1ps2dls\" icon=\"mdi:chevron-down\" aria-hidden=\"true\"></iconify-icon> <span class=\"t svelte-1ps2dls\">Needs you</span> <span class=\"line svelte-1ps2dls\"></span> `);\n if (arrived() > 0) {\n $$renderer4.push(`<!--[0--><span class=\"new svelte-1ps2dls\">+${escape_html(arrived())} new</span>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--> `);\n if (waiting().length > 0) {\n $$renderer4.push(`<!--[0--><span class=\"n svelte-1ps2dls\">${escape_html(waiting().length)}</span>`);\n } else if (foldedWith) {\n $$renderer4.push(`<!--[1--><span class=\"n quiet svelte-1ps2dls\">${escape_html(ready().length)}</span>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n $$renderer3.push(` `);\n if (Collapsible_content) {\n $$renderer3.push(\"<!--[-->\");\n Collapsible_content($$renderer3, {\n children: ($$renderer4) => {\n $$renderer4.push(`<!--[-->`);\n const each_array = ensure_array_like(waiting());\n for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n let item = each_array[$$index];\n if (item.kind === \"session\") {\n $$renderer4.push(\"<!--[0-->\");\n const s = item.session;\n const off = blockedReason(item.machine, clock.now);\n $$renderer4.push(`<button type=\"button\"${attr_class(\"it svelte-1ps2dls\", void 0, { \"off\": !!off })}${attr(\"disabled\", !!off, true)}${attr(\"title\", off ?? s.cwd)}><span class=\"ic svelte-1ps2dls\">`);\n SessionStateIndicator($$renderer4, { state: s.state, size: \"sm\" });\n $$renderer4.push(`<!----></span> <span class=\"name svelte-1ps2dls\">${escape_html(getSessionDisplayName(s))}</span> <span class=\"when svelte-1ps2dls\">${escape_html(formatAgo(item.since, clock.now))}</span> <span class=\"sub svelte-1ps2dls\">${escape_html(asking(s))}`);\n if (multiHost()) {\n $$renderer4.push(`<!--[0--><span class=\"host svelte-1ps2dls\">${escape_html(item.machine.server.hostname)}</span>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--></span></button>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n const t = item.ticket;\n const off = blockedReason(item.machine, clock.now);\n $$renderer4.push(`<button type=\"button\"${attr_class(\"it svelte-1ps2dls\", void 0, { \"off\": !!off })}${attr(\"disabled\", !!off, true)}${attr(\"title\", off ?? t.url)}><span class=\"ic help svelte-1ps2dls\"><iconify-icon${attr(\"icon\", KIND_ICON[\"needs-help\"])}></iconify-icon></span> <span class=\"name svelte-1ps2dls\">${escape_html(item.session && needsHelp(item.session) ? getSessionDisplayName(item.session) : t.title)}</span> <span class=\"when svelte-1ps2dls\">${escape_html(formatAgo(item.since, clock.now))}</span> <span class=\"sub note svelte-1ps2dls\"><span class=\"num svelte-1ps2dls\">#${escape_html(t.number)}</span>${escape_html(t.note ?? \"Worker asked for a decision\")}`);\n if (multiHost()) {\n $$renderer4.push(`<!--[0--><span class=\"host svelte-1ps2dls\">${escape_html(item.machine.server.hostname)}</span>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--></span></button>`);\n }\n $$renderer4.push(`<!--]-->`);\n }\n $$renderer4.push(`<!--]--> `);\n if (ready().length > 0) {\n $$renderer4.push(`<!--[0--><div${attr_class(\"ready-h svelte-1ps2dls\", void 0, { \"first\": waiting().length === 0 })}>Ready to decide `);\n if (ready().length > READY_SHOWN) {\n $$renderer4.push(`<!--[0--><button type=\"button\" class=\"more svelte-1ps2dls\">${escape_html(`all ${ready().length}`)}</button>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--></div> <!--[-->`);\n const each_array_1 = ensure_array_like(readyShown());\n for (let $$index_1 = 0, $$length = each_array_1.length; $$index_1 < $$length; $$index_1++) {\n let item = each_array_1[$$index_1];\n const t = item.ticket;\n const off = blockedReason(item.machine, clock.now);\n $$renderer4.push(`<div${attr_class(\"it ticket svelte-1ps2dls\", void 0, { \"off\": !!off })}><span class=\"ic svelte-1ps2dls\"><iconify-icon${attr(\"icon\", KIND_ICON[t.kind])}></iconify-icon></span> <a class=\"name svelte-1ps2dls\"${attr(\"href\", t.url)} target=\"_blank\" rel=\"noopener\" title=\"Open on GitHub\">${escape_html(t.title)}</a> <button type=\"button\" class=\"start svelte-1ps2dls\"${attr(\"title\", off ?? `Open a Claude session in ${repoName(t)} that works this ticket with you`)}${attr(\"disabled\", !!off, true)}>Start</button> <span class=\"sub svelte-1ps2dls\"><span class=\"num svelte-1ps2dls\">#${escape_html(t.number)}</span>${escape_html(t.kind)} in ${escape_html(repoName(t))}`);\n if (multiHost()) {\n $$renderer4.push(`<!--[0--><span class=\"host svelte-1ps2dls\">${escape_html(item.machine.server.hostname)}</span>`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--></span></div>`);\n }\n $$renderer4.push(`<!--]-->`);\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer2.push(\"<!--]-->\");\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(\"<!--]-->\");\n }\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]-->`);\n });\n}\nfunction savedKeys(saved) {\n if (!Array.isArray(saved)) return [];\n return saved.filter((k2) => typeof k2 === \"string\");\n}\nfunction railOrder(saved, keys) {\n const known = savedKeys(saved);\n const present = new Set(keys);\n const seen = new Set(known);\n return [...keys.filter((k2) => !seen.has(k2)), ...known.filter((k2) => present.has(k2))];\n}\nfunction matchesQuery(query, fields) {\n const q = query.trim().toLowerCase().replace(/^#/, \"\");\n if (!q) return true;\n return fields.some((f) => f != null && String(f).toLowerCase().includes(q));\n}\nconst MACHINE_COLORS = [\"#7dd3fc\", \"#f0abfc\", \"#bef264\", \"#fda4af\", \"#cbd5e1\"];\nfunction machineMarks(machines) {\n const first = (name) => (name.match(/[a-z0-9]/i)?.[0] ?? \"?\").toUpperCase();\n const counts = /* @__PURE__ */ new Map();\n for (const m of machines) counts.set(first(m.name), (counts.get(first(m.name)) ?? 0) + 1);\n const ids = [...new Set(machines.map((m) => m.id))].sort();\n const marks = /* @__PURE__ */ new Map();\n for (const m of machines) {\n const one = first(m.name);\n const two = m.name.replace(/[^a-z0-9]/gi, \"\").slice(0, 2);\n const letter = counts.get(one) > 1 && two.length === 2 ? one + two[1].toLowerCase() : one;\n marks.set(m.id, { name: m.name, letter, color: MACHINE_COLORS[ids.indexOf(m.id) % MACHINE_COLORS.length] });\n }\n return marks;\n}\nfunction ProjectRail($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { tiles, selected, activeBadge } = $$props;\n const BADGE_COLORS = {\n wants: sessionStateVisual(\"waiting\").color,\n working: sessionStateVisual(\"busy\").color\n };\n let dragging = null;\n $$renderer2.push(`<nav${attr_class(\"rail svelte-y9hlb1\", void 0, {\n \"lifting\": (\n /**\n * While a tile is lifted the finger must not scroll the rail, nor swipe the\n * drawer shut; a touchmove is the only place either can be stopped.\n */\n false\n )\n })} aria-label=\"Projects\"><button type=\"button\"${attr_class(\"rt all svelte-y9hlb1\", void 0, { \"sel\": selected === \"active\" })} title=\"Active: what wants you, what is working, what just finished\"><span class=\"bolt svelte-y9hlb1\"><iconify-icon icon=\"mdi:lightning-bolt-outline\" class=\"svelte-y9hlb1\"></iconify-icon></span> `);\n if (activeBadge) {\n $$renderer2.push(`<!--[0--><span class=\"bdg svelte-y9hlb1\"${attr_style(`--c:${stringify(BADGE_COLORS[activeBadge])}`)}></span>`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--></button> <span class=\"rsep svelte-y9hlb1\"></span> <!--[-->`);\n const each_array = ensure_array_like(tiles);\n for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n let tile = each_array[$$index];\n $$renderer2.push(`<button type=\"button\"${attr(\"data-tile\", tile.key)}${attr_class(\"rt svelte-y9hlb1\", void 0, {\n \"sel\": selected === tile.key,\n \"quiet\": tile.quiet,\n \"dragging\": dragging === tile.key,\n \"drop\": dragging\n })}${attr(\"title\", `${stringify(tile.name)}${tile.where ? `\n${tile.where}` : \"\"}\\\\nDrag to reorder`)}${attr(\"aria-current\", selected === tile.key ? \"true\" : void 0)}>`);\n ProjectTile($$renderer2, {\n initials: tile.initials,\n hue: tile.hue,\n icon: tile.icon,\n size: 34\n });\n $$renderer2.push(`<!----> `);\n if (tile.badge) {\n $$renderer2.push(`<!--[0--><span class=\"bdg svelte-y9hlb1\"${attr_style(`--c:${stringify(BADGE_COLORS[tile.badge])}`)}></span>`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--></button>`);\n }\n $$renderer2.push(`<!--]--> `);\n {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--></nav>`);\n });\n}\nfunction Command($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n api = null,\n ref = null,\n value = \"\",\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Command$1) {\n $$renderer3.push(\"<!--[-->\");\n Command$1($$renderer3, spread_props([\n {\n \"data-slot\": \"command\",\n class: cn(\"bg-popover text-popover-foreground rounded-xl! p-1 flex size-full flex-col overflow-hidden\", className)\n },\n restProps,\n {\n get value() {\n return value;\n },\n set value($$value) {\n value = $$value;\n $$settled = false;\n },\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { api, ref, value });\n });\n}\nfunction Command_dialog($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n open = false,\n ref = null,\n value = \"\",\n title = \"Command Palette\",\n description = \"Search for a command to run...\",\n showCloseButton = false,\n portalProps,\n children,\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Dialog) {\n $$renderer3.push(\"<!--[-->\");\n Dialog($$renderer3, spread_props([\n restProps,\n {\n get open() {\n return open;\n },\n set open($$value) {\n open = $$value;\n $$settled = false;\n },\n children: ($$renderer4) => {\n if (Dialog_header) {\n $$renderer4.push(\"<!--[-->\");\n Dialog_header($$renderer4, {\n class: \"sr-only\",\n children: ($$renderer5) => {\n if (Dialog_title) {\n $$renderer5.push(\"<!--[-->\");\n Dialog_title($$renderer5, {\n children: ($$renderer6) => {\n $$renderer6.push(`<!---->${escape_html(title)}`);\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n $$renderer5.push(` `);\n if (Dialog_description) {\n $$renderer5.push(\"<!--[-->\");\n Dialog_description($$renderer5, {\n children: ($$renderer6) => {\n $$renderer6.push(`<!---->${escape_html(description)}`);\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n $$renderer4.push(` `);\n if (Dialog_content) {\n $$renderer4.push(\"<!--[-->\");\n Dialog_content($$renderer4, {\n class: cn(\"rounded-xl! top-1/3 translate-y-0 overflow-hidden p-0\", className),\n showCloseButton,\n portalProps,\n children: ($$renderer5) => {\n Command($$renderer5, spread_props([\n restProps,\n {\n children,\n get value() {\n return value;\n },\n set value($$value) {\n value = $$value;\n $$settled = false;\n },\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { open, ref, value });\n });\n}\nfunction Command_empty($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Command_empty$1) {\n $$renderer3.push(\"<!--[-->\");\n Command_empty$1($$renderer3, spread_props([\n {\n \"data-slot\": \"command-empty\",\n class: cn(\"py-6 text-center text-sm\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Command_group($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n children,\n heading,\n value,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Command_group$1) {\n $$renderer3.push(\"<!--[-->\");\n Command_group$1($$renderer3, spread_props([\n {\n \"data-slot\": \"command-group\",\n class: cn(\"text-foreground **:[[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:py-1.5 **:[[cmdk-group-heading]]:text-xs **:[[cmdk-group-heading]]:font-medium\", className),\n value: value ?? heading ?? `----${useId()}`\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n },\n children: ($$renderer4) => {\n if (heading) {\n $$renderer4.push(\"<!--[0-->\");\n if (Command_group_heading) {\n $$renderer4.push(\"<!--[-->\");\n Command_group_heading($$renderer4, {\n class: \"px-2 py-1.5 text-xs font-medium text-muted-foreground\",\n children: ($$renderer5) => {\n $$renderer5.push(`<!---->${escape_html(heading)}`);\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n } else {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]--> `);\n if (Command_group_items) {\n $$renderer4.push(\"<!--[-->\");\n Command_group_items($$renderer4, { children });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Input_group_input($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n value = void 0,\n class: className,\n $$slots,\n $$events,\n ...props\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n Input($$renderer3, spread_props([\n {\n \"data-slot\": \"input-group-control\",\n class: cn(\"rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent flex-1\", className)\n },\n props,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n },\n get value() {\n return value;\n },\n set value($$value) {\n value = $$value;\n $$settled = false;\n }\n }\n ]));\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref, value });\n });\n}\nfunction Input_group($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n children,\n $$slots,\n $$events,\n ...props\n } = $$props;\n $$renderer2.push(`<div${attributes({\n \"data-slot\": \"input-group\",\n role: \"group\",\n class: clsx(cn(\"group/input-group border-input dark:bg-input/30 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[[data-slot][aria-invalid=true]]:border-destructive dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 has-disabled:bg-input/50 dark:has-disabled:bg-input/80 h-8 rounded-lg border transition-colors in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-disabled:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot][aria-invalid=true]]:ring-3 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5 relative flex w-full min-w-0 items-center outline-none has-[>textarea]:h-auto\", className)),\n ...props\n })}>`);\n children?.($$renderer2);\n $$renderer2.push(`<!----></div>`);\n bind_props($$props, { ref });\n });\n}\nfunction Search($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { $$slots, $$events, ...props } = $$props;\n const iconNode = [\n [\"path\", { \"d\": \"m21 21-4.34-4.34\" }],\n [\"circle\", { \"cx\": \"11\", \"cy\": \"11\", \"r\": \"8\" }]\n ];\n Icon($$renderer2, spread_props([\n { name: \"search\" },\n /**\n * @component @name Search\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMjEgMjEtNC4zNC00LjM0IiAvPgogIDxjaXJjbGUgY3g9IjExIiBjeT0iMTEiIHI9IjgiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/search\n * @see https://lucide.dev/guide/packages/lucide-svelte - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {FunctionalComponent} Svelte component\n *\n */\n props,\n {\n iconNode,\n children: ($$renderer3) => {\n props.children?.($$renderer3);\n $$renderer3.push(`<!---->`);\n },\n $$slots: { default: true }\n }\n ]));\n });\n}\nfunction Command_input($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n value = \"\",\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n $$renderer3.push(`<div data-slot=\"command-input-wrapper\" class=\"p-1 pb-0\">`);\n if (Input_group) {\n $$renderer3.push(\"<!--[-->\");\n Input_group($$renderer3, {\n class: \"bg-input/30 border-input/30 h-8! rounded-lg! shadow-none! *:data-[slot=input-group-addon]:pl-2!\",\n children: ($$renderer4) => {\n {\n let child = function($$renderer5, { props }) {\n if (Input_group_input) {\n $$renderer5.push(\"<!--[-->\");\n Input_group_input($$renderer5, spread_props([\n props,\n {\n get value() {\n return value;\n },\n set value($$value) {\n value = $$value;\n $$settled = false;\n },\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n };\n if (Command_input$1) {\n $$renderer4.push(\"<!--[-->\");\n Command_input$1($$renderer4, spread_props([\n {\n value,\n \"data-slot\": \"command-input\",\n class: cn(\"w-full text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50\", className)\n },\n restProps,\n { child, $$slots: { child: true } }\n ]));\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n }\n $$renderer4.push(` `);\n if (Input_group_addon) {\n $$renderer4.push(\"<!--[-->\");\n Input_group_addon($$renderer4, {\n children: ($$renderer5) => {\n Search($$renderer5, { class: \"size-4 shrink-0 opacity-50\" });\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n $$renderer3.push(`</div>`);\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref, value });\n });\n}\nfunction Command_item($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n children,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Command_item$1) {\n $$renderer3.push(\"<!--[-->\");\n Command_item$1($$renderer3, spread_props([\n {\n \"data-slot\": \"command-item\",\n class: cn(\"data-selected:bg-muted data-selected:text-foreground data-selected:*:[svg]:text-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none in-data-[slot=dialog-content]:rounded-lg! [&_svg:not([class*='size-'])]:size-4 group/command-item [&_svg]:pointer-events-none [&_svg]:shrink-0\", \"data-disabled:pointer-events-none data-disabled:opacity-50\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n },\n children: ($$renderer4) => {\n children?.($$renderer4);\n $$renderer4.push(`<!----> `);\n Check($$renderer4, {\n class: \"ml-auto opacity-0 group-has-data-[slot=command-shortcut]/command-item:hidden group-data-[checked=true]/command-item:opacity-100\"\n });\n $$renderer4.push(`<!---->`);\n },\n $$slots: { default: true }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction Command_list($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let {\n ref = null,\n class: className,\n $$slots,\n $$events,\n ...restProps\n } = $$props;\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Command_list$1) {\n $$renderer3.push(\"<!--[-->\");\n Command_list$1($$renderer3, spread_props([\n {\n \"data-slot\": \"command-list\",\n class: cn(\"no-scrollbar max-h-72 scroll-py-1 outline-none overflow-x-hidden overflow-y-auto\", className)\n },\n restProps,\n {\n get ref() {\n return ref;\n },\n set ref($$value) {\n ref = $$value;\n $$settled = false;\n }\n }\n ]));\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { ref });\n });\n}\nfunction QuickSwitch($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { open = false, items } = $$props;\n let query = \"\";\n const LIMIT = 50;\n const hits = derived(() => items.filter((it) => matchesQuery(query, [it.title, ...it.fields])).slice(0, LIMIT));\n const sessions = derived(() => hits().filter((it) => it.kind === \"session\"));\n const projects = derived(() => hits().filter((it) => it.kind === \"project\"));\n const past = derived(() => hits().filter((it) => it.kind === \"past\"));\n function pick(item) {\n open = false;\n item.run();\n }\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n if (Command_dialog) {\n $$renderer3.push(\"<!--[-->\");\n Command_dialog($$renderer3, {\n shouldFilter: false,\n title: \"Jump to\",\n description: \"Find a session, project or past session anywhere in the fleet\",\n class: \"quick-switch\",\n get open() {\n return open;\n },\n set open($$value) {\n open = $$value;\n $$settled = false;\n },\n children: ($$renderer4) => {\n if (Command_input) {\n $$renderer4.push(\"<!--[-->\");\n Command_input($$renderer4, {\n placeholder: \"Jump to a session, project or past session…\",\n get value() {\n return query;\n },\n set value($$value) {\n query = $$value;\n $$settled = false;\n }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n $$renderer4.push(` `);\n if (Command_list) {\n $$renderer4.push(\"<!--[-->\");\n Command_list($$renderer4, {\n class: \"max-h-[60dvh]\",\n children: ($$renderer5) => {\n if (Command_empty) {\n $$renderer5.push(\"<!--[-->\");\n Command_empty($$renderer5, {\n children: ($$renderer6) => {\n $$renderer6.push(`<!---->Nothing matches.`);\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n $$renderer5.push(` `);\n if (sessions().length > 0) {\n $$renderer5.push(\"<!--[0-->\");\n if (Command_group) {\n $$renderer5.push(\"<!--[-->\");\n Command_group($$renderer5, {\n heading: \"Sessions\",\n children: ($$renderer6) => {\n $$renderer6.push(`<!--[-->`);\n const each_array = ensure_array_like(sessions());\n for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n let item = each_array[$$index];\n if (Command_item) {\n $$renderer6.push(\"<!--[-->\");\n Command_item($$renderer6, {\n value: item.id,\n onSelect: () => pick(item),\n class: item.off ? \"opacity-50\" : \"\",\n children: ($$renderer7) => {\n $$renderer7.push(`<span class=\"qs-st svelte-apcra3\">`);\n if (item.state) {\n $$renderer7.push(\"<!--[0-->\");\n SessionStateIndicator($$renderer7, { state: item.state, size: \"sm\" });\n } else {\n $$renderer7.push(\"<!--[-1-->\");\n }\n $$renderer7.push(`<!--]--></span> <span class=\"qs-title svelte-apcra3\">${escape_html(item.title)}</span> <span class=\"qs-detail svelte-apcra3\">${escape_html(item.detail)}</span> `);\n if (item.machine) {\n $$renderer7.push(`<!--[0--><span class=\"qs-mach svelte-apcra3\"${attr_style(`--m:${stringify(item.machine.color)}`)}${attr(\"title\", item.machine.name)}>${escape_html(item.machine.letter)}</span>`);\n } else {\n $$renderer7.push(\"<!--[-1-->\");\n }\n $$renderer7.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n $$renderer6.push(\"<!--]-->\");\n } else {\n $$renderer6.push(\"<!--[!-->\");\n $$renderer6.push(\"<!--]-->\");\n }\n }\n $$renderer6.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--> `);\n if (projects().length > 0) {\n $$renderer5.push(\"<!--[0-->\");\n if (Command_group) {\n $$renderer5.push(\"<!--[-->\");\n Command_group($$renderer5, {\n heading: \"Projects\",\n children: ($$renderer6) => {\n $$renderer6.push(`<!--[-->`);\n const each_array_1 = ensure_array_like(projects());\n for (let $$index_1 = 0, $$length = each_array_1.length; $$index_1 < $$length; $$index_1++) {\n let item = each_array_1[$$index_1];\n if (Command_item) {\n $$renderer6.push(\"<!--[-->\");\n Command_item($$renderer6, {\n value: item.id,\n onSelect: () => pick(item),\n children: ($$renderer7) => {\n if (item.tile) {\n $$renderer7.push(\"<!--[0-->\");\n ProjectTile($$renderer7, spread_props([item.tile, { size: 18 }]));\n } else {\n $$renderer7.push(\"<!--[-1-->\");\n }\n $$renderer7.push(`<!--]--> <span class=\"qs-title svelte-apcra3\">${escape_html(item.title)}</span> <span class=\"qs-detail svelte-apcra3\">${escape_html(item.detail)}</span>`);\n },\n $$slots: { default: true }\n });\n $$renderer6.push(\"<!--]-->\");\n } else {\n $$renderer6.push(\"<!--[!-->\");\n $$renderer6.push(\"<!--]-->\");\n }\n }\n $$renderer6.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--> `);\n if (past().length > 0) {\n $$renderer5.push(\"<!--[0-->\");\n if (Command_group) {\n $$renderer5.push(\"<!--[-->\");\n Command_group($$renderer5, {\n heading: \"Past sessions\",\n children: ($$renderer6) => {\n $$renderer6.push(`<!--[-->`);\n const each_array_2 = ensure_array_like(past());\n for (let $$index_2 = 0, $$length = each_array_2.length; $$index_2 < $$length; $$index_2++) {\n let item = each_array_2[$$index_2];\n if (Command_item) {\n $$renderer6.push(\"<!--[-->\");\n Command_item($$renderer6, {\n value: item.id,\n onSelect: () => pick(item),\n class: item.off ? \"opacity-50\" : \"\",\n children: ($$renderer7) => {\n $$renderer7.push(`<span class=\"qs-st svelte-apcra3\"><iconify-icon icon=\"mdi:history\"></iconify-icon></span> <span class=\"qs-title svelte-apcra3\">${escape_html(item.title)}</span> <span class=\"qs-detail svelte-apcra3\">${escape_html(item.detail)}</span> `);\n if (item.machine) {\n $$renderer7.push(`<!--[0--><span class=\"qs-mach svelte-apcra3\"${attr_style(`--m:${stringify(item.machine.color)}`)}${attr(\"title\", item.machine.name)}>${escape_html(item.machine.letter)}</span>`);\n } else {\n $$renderer7.push(\"<!--[-1-->\");\n }\n $$renderer7.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n $$renderer6.push(\"<!--]-->\");\n } else {\n $$renderer6.push(\"<!--[!-->\");\n $$renderer6.push(\"<!--]-->\");\n }\n }\n $$renderer6.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n bind_props($$props, { open });\n });\n}\nclass QuickSwitchStore {\n open = false;\n}\nconst quickSwitch = new QuickSwitchStore();\nconst ratioStore = createPersisted(\"claude-mux-split-ratio\", 0.5);\nfunction navigate(url) {\n void goto();\n}\nclass SplitStore {\n a = null;\n b = null;\n focus = \"a\";\n zoom = null;\n ratio = 0.5;\n /** A sidebar row is mid-drag: the panes show their drop targets. */\n dragging = false;\n #active = derived(() => this.a !== null && this.b !== null);\n get active() {\n return this.#active();\n }\n set active($$value) {\n return this.#active($$value);\n }\n constructor() {\n }\n /** Called by the layout whenever the URL changes. */\n setPanes(a, b) {\n if (!sameRef(this.a, a)) this.a = a;\n if (!sameRef(this.b, b)) this.b = b;\n if (!this.active) this.zoom = null;\n }\n pane(side) {\n return side === \"a\" ? this.a : this.b;\n }\n /** Which pane holds this session, if any. */\n sideOf(ref) {\n if (sameRef(this.a, ref)) return \"a\";\n if (sameRef(this.b, ref)) return \"b\";\n return null;\n }\n setFocus(side) {\n this.focus = side;\n }\n other(side) {\n return side === \"a\" ? \"b\" : \"a\";\n }\n /**\n * Open a session in a pane. With no split on, the focused pane is the page\n * itself and the other pane is the right half that does not exist yet:\n * opening there is what starts a split.\n */\n openIn(side, ref, current) {\n const target = side === \"focus\" ? this.focus : side === \"other\" ? this.other(this.focus) : side;\n if (this.active && this.a && this.b) {\n const a = target === \"a\" ? ref : this.a;\n const b = target === \"b\" ? ref : this.b;\n if (sameRef(a, b)) return;\n navigate(splitUrl(a, b));\n this.focus = target;\n return;\n }\n if (target === \"b\" && current && !sameRef(current, ref)) {\n navigate(splitUrl(current, ref));\n this.focus = \"b\";\n return;\n }\n navigate(singleUrl(ref, fleetStore.servers(), selfName()));\n }\n /** Start a split with `ref` beside the session on the page. */\n splitWith(ref, current) {\n if (!current || sameRef(current, ref)) return;\n navigate(splitUrl(current, ref));\n this.focus = \"b\";\n }\n /** Close one pane; the other takes the whole width. */\n close(side) {\n const keep = this.pane(this.other(side));\n if (!keep) return;\n this.zoom = null;\n this.focus = \"a\";\n navigate(singleUrl(keep, fleetStore.servers(), selfName()));\n }\n swap() {\n if (!this.a || !this.b) return;\n this.focus = this.other(this.focus);\n if (this.zoom) this.zoom = this.other(this.zoom);\n navigate(splitUrl(this.b, this.a));\n }\n toggleZoom(side) {\n this.zoom = this.zoom === side ? null : side;\n this.focus = side;\n }\n setRatio(ratio) {\n this.ratio = Math.min(0.8, Math.max(0.2, ratio));\n ratioStore.save(this.ratio);\n }\n /** For the sidebar's A/B tags and titles. */\n label(ref) {\n return formatRef(ref);\n }\n}\nconst splitStore = new SplitStore();\nfunction AllSessionsPanel($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n var $$store_subs;\n let opened = /* @__PURE__ */ new Set();\n const NO_AGENTS = { rows: [], running: 0, folded: 0 };\n function agentsOf(s) {\n return s.subagents?.length ? agentView(s.subagents, clock.now, opened) : NO_AGENTS;\n }\n let { onSessionSelect, compact = false } = $$props;\n let showFolderBrowser = false;\n let alertOpen = false;\n let alertTitle = \"\";\n let alertMessage = \"\";\n let alertOnConfirm = () => {\n };\n let renameId = null;\n let menuOpen = false;\n let query = \"\";\n let projectMenu = null;\n let selected = \"active\";\n function showConfirm(title, message, onConfirm) {\n alertTitle = title;\n alertMessage = message;\n alertOnConfirm = onConfirm;\n alertOpen = true;\n }\n let agentPicker = null;\n const current = derived(() => {\n const ref = parseSessionPath(store_get($$store_subs ??= {}, \"$page\", page).url.pathname)?.ref;\n return ref ? localRef(ref, fleetStore.servers(), selfName()) : null;\n });\n function isCurrent(machine, tmuxTarget) {\n if (!current() || !tmuxTarget || current().target !== tmuxTarget) return false;\n return machine.local ? current().host === null : current().host?.toLowerCase() === machine.server.hostname.toLowerCase();\n }\n function rootsOf(machine) {\n return projectRoots(machine.projects, [\n ...machine.sessions.map((s) => s.cwd),\n ...machine.panes.map((p2) => p2.cwd)\n ]);\n }\n function relPath(cwd, root) {\n if (cwd === root) return null;\n return cwd.slice(root.length + 1).replace(/^\\.worktrees?\\//, \"\");\n }\n function rowTitle(row) {\n const s = row.session;\n if (!s.issue && !s.display_name && row.rel && !row.orchestrator) return row.rel;\n return getSessionDisplayName(s);\n }\n function rowWhere(row, agents) {\n if (row.orchestrator) return \"orch\";\n const children = childSummary(row.workers ?? 0, agents);\n if (children) return children;\n return !row.worker && row.session.display_name && row.rel ? row.rel : null;\n }\n function agentHref(machine, target, agentId) {\n return sessionPath(refOf(machine, target), `/agent/${encodeURIComponent(agentId)}`);\n }\n function tmuxSessionOf(s) {\n return s.tmux_target?.split(\":\")[0] ?? null;\n }\n function nestWorkers(rows) {\n const workersOf = /* @__PURE__ */ new Map();\n const placed = /* @__PURE__ */ new Set();\n for (const row of rows) {\n if (row.session.maestro_role !== \"worker\") continue;\n const home = tmuxSessionOf(row.session);\n const master = rows.find((r) => r !== row && !r.orchestrator && r.session.maestro_role !== \"worker\" && tmuxSessionOf(r.session) === home);\n if (!master) continue;\n row.worker = true;\n workersOf.set(master, [...workersOf.get(master) ?? [], row]);\n placed.add(row);\n }\n if (placed.size === 0) return rows;\n const out = [];\n for (const row of rows) {\n if (placed.has(row)) continue;\n const workers = workersOf.get(row);\n out.push(workers ? { ...row, workers: workers.length } : row);\n if (workers) {\n workers.sort((a, b) => (a.session.maestro_issue ?? 0) - (b.session.maestro_issue ?? 0));\n out.push(...workers.slice(0, -1), { ...workers.at(-1), trailing: row.session });\n }\n }\n return out;\n }\n function rowsFor(sessions, root) {\n const rows = [];\n for (const item of groupSessions(sessions)) {\n if (item.type === \"pair\") {\n rows.push({\n session: item.main,\n rel: relPath(item.main.cwd, root),\n orchestrator: false\n });\n rows.push({ session: item.orchestrator, rel: null, orchestrator: true });\n } else {\n rows.push({\n session: item.session,\n rel: relPath(item.session.cwd, root),\n orchestrator: false\n });\n }\n }\n return nestWorkers(rows);\n }\n function attention(s) {\n if (wantsHuman(s)) return \"wants\";\n return s.state === \"busy\" || indicatorStateOf(s) === \"done\" ? \"working\" : null;\n }\n function isActive(machine, s) {\n return attention(s) !== null || isCurrent(machine, s.tmux_target);\n }\n function placesOf(machine, roots) {\n const byRoot = /* @__PURE__ */ new Map();\n for (const root of roots) byRoot.set(root, { live: [], dead: [], settled: [] });\n for (const s of machine.sessions) {\n const root = rootOf(s.cwd, roots);\n if (root === null) continue;\n const bucket = byRoot.get(root);\n (s.pane_alive === false ? bucket.dead : isSettled(machine, s.id) ? bucket.settled : bucket.live).push(s);\n }\n const past = pastByRoot(machine.past, roots, new Set(machine.sessions.filter((s) => s.pane_alive !== false).map((s) => s.id)));\n const panes = panesByRoot(machine.panes, roots);\n const places = /* @__PURE__ */ new Map();\n for (const [root, bucket] of byRoot) {\n places.set(root, {\n key: placeKey(machine, root),\n machine,\n root,\n label: machineLabel(machine),\n rows: rowsFor(bucket.live, root),\n live: bucket.live,\n dead: bucket.dead,\n panes: panes.get(root) ?? [],\n settled: bucket.settled,\n past: past.get(root) ?? []\n });\n }\n return places;\n }\n function machineLabel(machine) {\n return machine.server.hostname || \"this machine\";\n }\n function placeKey(machine, root) {\n return `${machineKey(machine)}\\0${root}`;\n }\n function settle(machine, id) {\n setSettled(machine, id, true);\n void fetch(`${apiBase(machine)}/api/sessions/${encodeURIComponent(id)}/settle`, { method: \"POST\" }).catch(() => {\n });\n }\n let settledOpen = /* @__PURE__ */ new Set();\n let settledAll = /* @__PURE__ */ new Set();\n let dragged = null;\n let dropOn = null;\n function pastHref(machine, p2) {\n return pastPath(machine.local ? null : machine.server.hostname, p2.id);\n }\n function openPast(machine, p2) {\n goto(pastHref(machine, p2));\n onSessionSelect?.();\n }\n async function resume(machine, p2, cwd) {\n const result = await resumePast(machine, apiBase(machine), p2.id, cwd);\n if (result.kind === \"offer-root\") {\n const root = result.root;\n showConfirm(\"Folder is gone\", `${result.cwd} no longer exists. Resume “${pastLabel(p2)}” in ${root}?`, () => void resume(machine, p2, root));\n return;\n }\n if (result.kind === \"error\") {\n alert(result.message);\n return;\n }\n goToSession(machine, result.tmuxTarget);\n }\n function iconUrl(machine, root, token) {\n return `${apiBase(machine)}/api/projects/icon?root=${encodeURIComponent(root)}&v=${encodeURIComponent(token)}`;\n }\n const fleetRoots = derived(() => new Map(fleetStore.machines.map((machine) => [machineKey(machine), rootsOf(machine)])));\n const fleetPlaces = derived(() => new Map(fleetStore.machines.map((machine) => [\n machineKey(machine),\n placesOf(machine, fleetRoots().get(machineKey(machine)))\n ])));\n const fleetProjects = derived(() => mergeProjects(fleetStore.machines.map((machine) => {\n const known = new Map(machine.projectReports.map((r) => [r.root, r]));\n const id = machineKey(machine);\n return {\n id,\n reports: fleetRoots().get(id).map((root) => known.get(root) ?? guessReport(root))\n };\n })));\n function projectTile(project, roots) {\n const home = roots.length === 1 && isHomeDir(roots[0]);\n const name = home ? \"~\" : roots.every((r) => r === NO_FOLDER) ? \"no folder\" : project.name;\n const icon = project.icon;\n const iconAt = icon && fleetStore.machines.find((m) => machineKey(m) === icon.machineId);\n return {\n name,\n initials: home ? \"~\" : projectInitials(name),\n hue: projectHue(name),\n icon: iconAt ? iconUrl(iconAt, icon.root, icon.token) : null\n };\n }\n const cards = derived(() => {\n const visible = new Set(fleetStore.visible.map(machineKey));\n const out = [];\n for (const project of fleetProjects()) {\n const shown = project.places.filter((p2) => visible.has(p2.machineId)).map((p2) => fleetPlaces().get(p2.machineId).get(p2.root));\n if (shown.length === 0) continue;\n const places = shown.map((p2) => shown.some((o) => o !== p2 && o.machine === p2.machine) ? { ...p2, label: `${p2.label} · ${p2.root.split(\"/\").pop()}` } : p2);\n const tile = projectTile(project, places.map((p2) => p2.root));\n const seen = places.filter((p2) => p2.machine.online).flatMap((p2) => [\n ...p2.rows.map((r) => attention(r.session)),\n ...p2.settled.filter(wantsHuman).map(() => \"wants\")\n ]);\n out.push({\n key: project.key,\n ...tile,\n badge: seen.includes(\"wants\") ? \"wants\" : seen.includes(\"working\") ? \"working\" : null,\n quiet: places.every((p2) => p2.rows.length === 0 && p2.panes.length === 0),\n places,\n reachable: places.filter((p2) => reachable(p2.machine)),\n spans: new Set(places.map((p2) => p2.machine)).size > 1,\n live: places.reduce((n2, p2) => n2 + p2.rows.filter((r) => !r.orchestrator).length, 0),\n where: places.map((p2) => `${p2.machine.server.hostname}:${p2.root}`).join(\"\\n\"),\n past: places.flatMap((place) => place.past.map((past) => ({ place, past }))).sort((a, b) => b.past.lastActivity - a.past.lastActivity)\n });\n }\n out.sort((a, b) => a.name.localeCompare(b.name));\n const byProject = new Map(out.map((c) => [c.key, c]));\n return railOrder(fleetPrefsStore.get(RAIL_ORDER, null), out.map((c) => c.key)).map((k2) => byProject.get(k2));\n });\n function openProject(key) {\n query = \"\";\n selected = key;\n }\n const chosen = derived(() => selected === \"active\" ? null : cards().find((c) => c.key === selected) ?? null);\n const marks = derived(() => machineMarks(fleetStore.machines.map((m) => ({ id: machineKey(m), name: machineLabel(m) }))));\n function markOf(machine) {\n return marks().get(machineKey(machine)) ?? { letter: \"?\", color: \"#a8a29e\", name: machineLabel(machine) };\n }\n function rowMatches(machine, row) {\n const s = row.session;\n return matchesQuery(query, [\n rowTitle(row),\n getSessionDisplayName(s),\n s.cwd,\n machine.server.hostname,\n s.maestro_issue,\n s.issue?.title\n ]);\n }\n const found = derived(() => {\n if (!query.trim()) return [];\n const out = [];\n for (const card of cards()) {\n const whole = matchesQuery(query, [card.name, ...card.places.map((p2) => p2.root)]);\n const places = card.places.map((p2) => whole || matchesQuery(query, [p2.machine.server.hostname]) ? p2 : {\n ...p2,\n rows: p2.rows.filter((r) => rowMatches(p2.machine, r)),\n panes: [],\n dead: []\n }).filter((p2) => whole || p2.rows.length > 0 || p2.panes.length > 0);\n if (places.length > 0) out.push({ card, places });\n }\n return out;\n });\n const activeGroups = derived(() => cards().map((card) => ({\n card,\n places: card.places.map((p2) => ({\n ...p2,\n rows: rowsFor(p2.live.filter((s) => isActive(p2.machine, s)), p2.root)\n })).filter((p2) => p2.rows.length > 0)\n })).filter((g) => g.places.length > 0));\n const activeBadge = derived(() => cards().some((c) => c.badge === \"wants\") ? \"wants\" : cards().some((c) => c.badge === \"working\") ? \"working\" : null);\n const tiles = derived(() => query.trim() ? found().map((f) => f.card) : cards());\n const offlineMachines = derived(() => fleetStore.visible.filter((m) => offlineReason(m, clock.now)));\n const tooOldMachines = derived(() => fleetStore.visible.filter((m) => !offlineReason(m, clock.now) && blockedReason(m, clock.now)));\n const switchItems = derived(() => {\n const items = [];\n for (const card of cards()) {\n for (const place of card.places) {\n for (const row of place.rows) {\n const s = row.session;\n if (row.orchestrator || !s.tmux_target) continue;\n const target = s.tmux_target;\n items.push({\n id: `s:${place.key}:${s.id}`,\n kind: \"session\",\n title: rowTitle(row),\n detail: card.name,\n fields: [\n getSessionDisplayName(s),\n card.name,\n s.cwd,\n place.machine.server.hostname,\n s.maestro_issue\n ],\n machine: fleetStore.fleet ? markOf(place.machine) : null,\n state: indicatorStateOf(s),\n off: !reachable(place.machine),\n run: () => openSession(place.machine, target)\n });\n }\n }\n }\n for (const card of cards()) {\n items.push({\n id: `p:${card.key}`,\n kind: \"project\",\n title: card.name,\n detail: [\n ...new Set(card.places.map((p2) => p2.machine.server.hostname))\n ].join(\", \"),\n fields: [\n ...card.places.map((p2) => p2.root),\n ...card.places.map((p2) => p2.machine.server.hostname)\n ],\n tile: { initials: card.initials, hue: card.hue, icon: card.icon },\n run: () => {\n openProject(card.key);\n if (window.matchMedia(DRAWER_MEDIA_QUERY).matches) drawer.open = true;\n }\n });\n }\n for (const card of cards()) {\n for (const { place, past } of card.past) {\n items.push({\n id: `past:${place.key}:${past.id}`,\n kind: \"past\",\n title: pastLabel(past),\n // A getter, so only the rows drawn read the clock, not the whole list each second.\n get detail() {\n return `${card.name} · ${formatAgo(past.lastActivity, clock.now)}`;\n },\n fields: [\n past.prompt,\n past.title,\n past.cwd,\n past.branch,\n card.name,\n place.machine.server.hostname\n ],\n machine: fleetStore.fleet ? markOf(place.machine) : null,\n off: !reachable(place.machine),\n run: () => openPast(place.machine, past)\n });\n }\n }\n const rank = (it) => it.kind === \"past\" ? 4 : it.kind === \"project\" ? 3 : it.state === \"waiting\" || it.state === \"permission\" ? 0 : it.state === \"busy\" || it.state === \"done\" ? 1 : 2;\n return items.sort((a, b) => rank(a) - rank(b));\n });\n function machineWants(machine) {\n if (!machine.online) return false;\n return machine.sessions.some((s) => s.pane_alive !== false && wantsHuman(s));\n }\n function detectPaneAgent(command) {\n const cmd = command.toLowerCase();\n for (const id of AGENT_IDS) if (cmd.includes(id)) return id;\n return null;\n }\n function refOf(machine, tmuxTarget) {\n return {\n host: machine.local ? null : machine.server.hostname,\n target: tmuxTarget\n };\n }\n function currentRef() {\n if (splitStore.active) return splitStore.pane(splitStore.focus);\n return current();\n }\n function openSession(machine, tmuxTarget, other = false) {\n const ref = refOf(machine, tmuxTarget);\n if (splitStore.active) {\n splitStore.openIn(other ? \"other\" : \"focus\", ref, currentRef());\n onSessionSelect?.();\n return;\n }\n if (other && current()) {\n splitStore.splitWith(ref, currentRef());\n onSessionSelect?.();\n return;\n }\n goToSession(machine, tmuxTarget);\n }\n function goToSession(machine, tmuxTarget, query2 = \"\") {\n goto(`${sessionPath(refOf(machine, tmuxTarget))}${query2}`);\n onSessionSelect?.();\n }\n function panelMenu(machine, tmuxTarget) {\n return PANES.map((pane) => ({\n label: `Open ${pane.label.toLowerCase()}`,\n icon: pane.icon,\n run: () => goToSession(machine, tmuxTarget, `?panel=${pane.kind}`)\n }));\n }\n function handleRowClick(e, machine, session) {\n e.preventDefault();\n if (e.detail >= 2 && machine.local) {\n renameId = session.id;\n return;\n }\n if (session.tmux_target) openSession(machine, session.tmux_target, e.altKey);\n }\n function paneTag(machine, tmuxTarget) {\n if (!tmuxTarget || !splitStore.active) return null;\n const side = splitStore.sideOf(refOf(machine, tmuxTarget));\n return side === \"a\" ? \"A\" : side === \"b\" ? \"B\" : null;\n }\n const canDrag = browser;\n function dragStart(e, machine, tmuxTarget) {\n if (!e.dataTransfer) return;\n e.dataTransfer.setData(\"text/claude-mux-session\", formatRef(refOf(machine, tmuxTarget)));\n e.dataTransfer.effectAllowed = \"link\";\n splitStore.dragging = true;\n }\n function dragEnd() {\n splitStore.dragging = false;\n }\n function killSessionReq(machine, s) {\n return fetch(`${apiBase(machine)}/api/sessions/${encodeURIComponent(s.id)}/kill`, {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n body: JSON.stringify({ pid: s.pid, tmux_target: s.tmux_target })\n });\n }\n function killSession(machine, s) {\n showConfirm(\"Kill session\", `Kill “${getSessionDisplayName(s)}”?`, () => {\n void killSessionReq(machine, s);\n });\n }\n async function newSessionInProject(machine, cwd, agent = \"claude\", prompt) {\n const res = await fetch(`${apiBase(machine)}/api/projects/new-session`, {\n method: \"POST\",\n headers: { \"Content-Type\": \"application/json\" },\n body: JSON.stringify({ cwd, agent, prompt })\n });\n const data = await res.json();\n if (!data.ok) {\n alert(`Failed to create session: ${data.detail || data.error || \"Unknown error\"}`);\n return;\n }\n if (machine.local) {\n sessionStore.saveProject(cwd);\n if (data.record) sessionStore.optimisticAdd(data.record);\n }\n const tmuxTarget = data.tmuxTarget || data.session + \":0.0\";\n if (!machine.local && agent !== \"claude\") {\n window.location.href = `${machine.server.url}/session/${encodeURIComponent(tmuxTarget)}`;\n return;\n }\n openSession(machine, tmuxTarget);\n }\n const pickerFolders = derived(() => {\n if (!showFolderBrowser) return [];\n const out = [];\n for (const project of fleetProjects()) {\n for (const { machineId, root } of project.places) {\n const place = fleetPlaces().get(machineId).get(root);\n const live = place.rows.filter((r) => !r.orchestrator).map((r) => r.session);\n const { name, ...tile } = projectTile(project, [root]);\n out.push({\n machineId,\n root,\n project: project.key,\n name,\n live: live.length,\n // A settled session can still come to want a person, as its tile says.\n wants: [...live, ...place.settled].some(wantsHuman),\n machine: place.machine,\n state: mostUrgent(live.map(indicatorStateOf)),\n only: live.length === 1 ? live[0].tmux_target : null,\n tile\n });\n }\n }\n return out;\n });\n function goToFolder(folder) {\n if (folder.only) {\n openSession(folder.machine, folder.only);\n return;\n }\n if (!cards().some((c) => c.key === folder.project)) fleetStore.select(\"all\");\n openProject(folder.project);\n if (window.matchMedia(DRAWER_MEDIA_QUERY).matches) drawer.open = true;\n }\n async function closeChrome() {\n await fetch(\"/api/chrome\", { method: \"DELETE\" });\n }\n const RESET_KEEP_KEYS = /* @__PURE__ */ new Set([STORAGE_KEYS.lastSession]);\n function resetLocalStorage() {\n showConfirm(\"Reset local data\", \"This clears preferences and cached data in this browser. Your projects stay on the server. The page will reload.\", () => {\n for (let i = localStorage.length - 1; i >= 0; i--) {\n const key = localStorage.key(i);\n if (key && key.startsWith(\"claude-mux-\") && !RESET_KEEP_KEYS.has(key)) {\n localStorage.removeItem(key);\n }\n }\n window.location.reload();\n });\n }\n const menuActions = derived(() => [\n {\n label: \"Usage\",\n icon: \"mdi:chart-line\",\n run: () => void goto()\n },\n {\n label: \"Close Chrome\",\n icon: \"mdi:google-chrome\",\n run: () => void closeChrome()\n },\n {\n label: \"Refresh\",\n icon: \"mdi:refresh\",\n run: () => location.reload()\n },\n {\n label: sessionStore.paused ? \"Resume updates\" : \"Pause updates\",\n icon: sessionStore.paused ? \"mdi:play\" : \"mdi:pause\",\n run: () => sessionStore.togglePause(),\n variant: sessionStore.paused ? \"destructive\" : \"secondary\"\n },\n // Only offered when the server says where it stands; an older one does not.\n ...sessionStore.settings ? [\n {\n label: sessionStore.settings.autoRemoteControl ? \"Remote Control on new sessions: on\" : \"Remote Control on new sessions: off\",\n icon: sessionStore.settings.autoRemoteControl ? \"mdi:cellphone-link\" : \"mdi:cellphone-link-off\",\n run: () => sessionStore.setSetting({ autoRemoteControl: !sessionStore.settings?.autoRemoteControl })\n }\n ] : [],\n {\n label: \"Reset data\",\n icon: \"mdi:database-refresh\",\n run: () => resetLocalStorage(),\n danger: true\n }\n ]);\n function sessionRow($$renderer3, machine, row, marked, offline) {\n if (row.worker) {\n $$renderer3.push(`<!--[0--><div class=\"thread worker svelte-183q6rw\">`);\n rowWithAgents($$renderer3, machine, row, marked, offline);\n $$renderer3.push(`<!----></div> `);\n if (row.trailing) {\n $$renderer3.push(\"<!--[0-->\");\n agentThread($$renderer3, machine, row.trailing, agentsOf(row.trailing));\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]-->`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n rowWithAgents($$renderer3, machine, row, marked, offline);\n }\n $$renderer3.push(`<!--]-->`);\n }\n function agentThread($$renderer3, machine, s, agents) {\n if (agents.rows.length > 0 && s.tmux_target) {\n $$renderer3.push(`<!--[0--><div class=\"thread agents svelte-183q6rw\"><!--[-->`);\n const each_array = ensure_array_like(agents.rows);\n for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {\n let agent = each_array[$$index];\n const href = agentHref(machine, s.tmux_target, agent.id);\n SubagentRow($$renderer3, {\n agent,\n href,\n active: store_get($$store_subs ??= {}, \"$page\", page).url.pathname === href\n });\n }\n $$renderer3.push(`<!--]--></div>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]-->`);\n }\n function rowWithAgents($$renderer3, machine, row, marked, offline) {\n const s = row.session;\n const agents = agentsOf(s);\n const isActive2 = isCurrent(machine, s.tmux_target);\n const draftKey = s.tmux_target && !isActive2 ? formatRef(refOf(machine, s.tmux_target)) : null;\n {\n let meta = function($$renderer4) {\n DiffBadge($$renderer4, { changes: s.changes });\n };\n SessionRow($$renderer3, {\n session: s,\n title: rowTitle(row),\n where: rowWhere(row, agents),\n href: sessionPath(refOf(machine, s.tmux_target ?? \"\")),\n hint: machine.local ? \"Double-click or long-press to rename\" : `On ${machine.server.hostname}`,\n active: isActive2,\n tag: paneTag(machine, s.tmux_target),\n orchestrator: row.orchestrator,\n worker: row.worker,\n draft: draftKey ? draftsStore.preview(draftKey) : \"\",\n staged: draftKey ? attachmentsStore.count(draftKey) : 0,\n draggable: canDrag,\n onkill: machine.local && !compact ? () => killSession(machine, s) : null,\n onmarkunread: isActive2 || paneTag(machine, s.tmux_target) ? null : () => postVisit(apiBase(machine), s.id, true),\n onclick: (e) => handleRowClick(e, machine, s),\n onlongpress: () => {\n if (machine.local) renameId = s.id;\n },\n ondragstart: (e) => {\n dragged = { machine, session: s };\n if (s.tmux_target) dragStart(e, machine, s.tmux_target);\n },\n ondragend: () => {\n dragged = null;\n dropOn = null;\n dragEnd();\n },\n menu: [\n ...s.tmux_target && !splitStore.active ? panelMenu(machine, s.tmux_target) : [],\n isSettled(machine, s.id) ? {\n label: \"Un-settle\",\n icon: \"mdi:tray-arrow-up\",\n run: () => setSettled(machine, s.id, false)\n } : {\n label: \"Settle\",\n icon: \"mdi:tray-arrow-down\",\n run: () => settle(machine, s.id)\n }\n ],\n machine: marked ? markOf(machine) : null,\n offline,\n meta\n });\n }\n $$renderer3.push(`<!----> `);\n if (!row.workers) {\n $$renderer3.push(\"<!--[0-->\");\n agentThread($$renderer3, machine, s, agents);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]-->`);\n }\n function paneRow($$renderer3, machine, pane, marked, offline) {\n const isActive2 = isCurrent(machine, pane.target);\n const detected = detectPaneAgent(pane.command || \"\");\n const meta = detected ? AGENTS[detected] : null;\n const mark = marked ? markOf(machine) : null;\n $$renderer3.push(`<a${attr(\"href\", sessionPath(refOf(machine, pane.target)))}${attr_class(\"row svelte-183q6rw\", void 0, { \"cur\": isActive2 })}${attr(\"title\", [\n pane.title,\n pane.cwd,\n machine.local ? null : `On ${machine.server.hostname}`\n ].filter(Boolean).join(\" · \"))}${attr(\"draggable\", \"false\")}><span class=\"st svelte-183q6rw\"><iconify-icon${attr(\"icon\", meta?.icon ?? \"mdi:console-line\")}${attr_style(meta ? `color:${meta.color}` : \"\")} class=\"svelte-183q6rw\"></iconify-icon></span> <span class=\"name mono svelte-183q6rw\">${escape_html(pane.target)}</span> <span class=\"meta svelte-183q6rw\">`);\n if (mark) {\n $$renderer3.push(`<!--[0--><span class=\"mach svelte-183q6rw\"${attr_style(`--m:${stringify(mark.color)}`)}${attr(\"title\", mark.name)}>${escape_html(mark.letter)}</span>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--> <span class=\"when svelte-183q6rw\">${escape_html(offline ?? meta?.label ?? pane.command)}</span></span> <span class=\"ctx none svelte-183q6rw\"></span></a>`);\n }\n function placeRows($$renderer3, place, marked, extras) {\n const offline = blockedReason(place.machine, clock.now);\n $$renderer3.push(`<div${attr_class(\"place svelte-183q6rw\", void 0, { \"off\": !!offline })}${attr(\"inert\", !!offline, true)}><!--[-->`);\n const each_array_1 = ensure_array_like(place.rows);\n for (let $$index_1 = 0, $$length = each_array_1.length; $$index_1 < $$length; $$index_1++) {\n let row = each_array_1[$$index_1];\n sessionRow($$renderer3, place.machine, row, marked, offline);\n }\n $$renderer3.push(`<!--]--> `);\n if (extras) {\n $$renderer3.push(`<!--[0--><!--[-->`);\n const each_array_2 = ensure_array_like(place.panes);\n for (let $$index_2 = 0, $$length = each_array_2.length; $$index_2 < $$length; $$index_2++) {\n let pane = each_array_2[$$index_2];\n paneRow($$renderer3, place.machine, pane, marked, offline);\n }\n $$renderer3.push(`<!--]--> `);\n if (place.dead.length > 0) {\n $$renderer3.push(`<!--[0--><div class=\"dead svelte-183q6rw\"><span class=\"n svelte-183q6rw\">${escape_html(place.dead.length)}</span> ${escape_html(place.dead.length === 1 ? \"closed session\" : \"closed sessions\")}`);\n if (marked) {\n $$renderer3.push(`<!--[0-->on ${escape_html(place.label)}`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--> `);\n if (place.machine.local) {\n $$renderer3.push(`<!--[0--><button type=\"button\" class=\"sweep svelte-183q6rw\">clear</button>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--></div>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]-->`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--></div>`);\n }\n function groupHead($$renderer3, card) {\n $$renderer3.push(`<button type=\"button\" class=\"ghead svelte-183q6rw\"${attr(\"title\", card.where)}>`);\n ProjectTile($$renderer3, {\n initials: card.initials,\n hue: card.hue,\n icon: card.icon,\n size: 18\n });\n $$renderer3.push(`<!----> <span class=\"gname svelte-183q6rw\">${escape_html(card.name)}</span></button>`);\n }\n function offlineLines($$renderer3, machines) {\n $$renderer3.push(`<!--[-->`);\n const each_array_3 = ensure_array_like(machines.filter((m) => tooOldMachines().includes(m)));\n for (let $$index_3 = 0, $$length = each_array_3.length; $$index_3 < $$length; $$index_3++) {\n let machine = each_array_3[$$index_3];\n const why = blockedReason(machine, clock.now);\n $$renderer3.push(`<div class=\"offline svelte-183q6rw\" role=\"status\"><iconify-icon icon=\"mdi:update\" class=\"svelte-183q6rw\"></iconify-icon> <span class=\"why svelte-183q6rw\"${attr(\"title\", why)}>${escape_html(why)}</span> `);\n Button($$renderer3, {\n variant: \"outline\",\n size: \"sm\",\n class: \"try\",\n href: \"/machines\",\n children: ($$renderer4) => {\n $$renderer4.push(`<!---->Machines`);\n },\n $$slots: { default: true }\n });\n $$renderer3.push(`<!----></div>`);\n }\n $$renderer3.push(`<!--]--> <!--[-->`);\n const each_array_4 = ensure_array_like(machines.filter((m) => offlineMachines().includes(m)));\n for (let $$index_4 = 0, $$length = each_array_4.length; $$index_4 < $$length; $$index_4++) {\n let machine = each_array_4[$$index_4];\n $$renderer3.push(`<div class=\"offline svelte-183q6rw\" role=\"status\"><iconify-icon icon=\"mdi:lan-disconnect\" class=\"svelte-183q6rw\"></iconify-icon> <span class=\"why svelte-183q6rw\">${escape_html(offlineReason(machine, clock.now))}</span> `);\n if (machine.retryAt && machine.retryAt > clock.now) {\n $$renderer3.push(`<!--[0--><span class=\"next svelte-183q6rw\">retry in ${escape_html(Math.ceil((machine.retryAt - clock.now) / 1e3))}s</span>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--> `);\n Button($$renderer3, {\n variant: \"outline\",\n size: \"sm\",\n class: \"try\",\n onclick: () => void fleetStore.retry(machine),\n children: ($$renderer4) => {\n $$renderer4.push(`<!---->Try now`);\n },\n $$slots: { default: true }\n });\n $$renderer3.push(`<!----></div>`);\n }\n $$renderer3.push(`<!--]-->`);\n }\n function newSessions($$renderer3, card) {\n $$renderer3.push(`<div class=\"newrow svelte-183q6rw\"><!--[-->`);\n const each_array_5 = ensure_array_like(card.places.filter((p2) => p2.root !== NO_FOLDER));\n for (let $$index_5 = 0, $$length = each_array_5.length; $$index_5 < $$length; $$index_5++) {\n let place = each_array_5[$$index_5];\n const off = blockedReason(place.machine, clock.now);\n $$renderer3.push(`<button type=\"button\" class=\"newbtn svelte-183q6rw\"${attr(\"disabled\", !!off, true)}${attr(\"title\", off ?? `${place.root} · right-click or hold for another agent`)}><iconify-icon icon=\"mdi:plus\" class=\"svelte-183q6rw\"></iconify-icon> New session `);\n if (card.places.length > 1) {\n $$renderer3.push(`<!--[0--><span class=\"on svelte-183q6rw\">on</span> `);\n if (card.spans) {\n $$renderer3.push(\"<!--[0-->\");\n const m = markOf(place.machine);\n $$renderer3.push(`<span class=\"mach svelte-183q6rw\"${attr_style(`--m:${stringify(m.color)}`)}>${escape_html(m.letter)}</span>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--> <span class=\"where svelte-183q6rw\">${escape_html(place.label)}</span>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--></button>`);\n }\n $$renderer3.push(`<!--]--></div>`);\n }\n function projectView($$renderer3, card) {\n const closed = card.places.filter((p2) => p2.machine.local).reduce((n2, p2) => n2 + p2.dead.length, 0);\n $$renderer3.push(`<div class=\"rhead svelte-183q6rw\">`);\n ProjectTile($$renderer3, {\n initials: card.initials,\n hue: card.hue,\n icon: card.icon,\n size: 30\n });\n $$renderer3.push(`<!----> <div class=\"rtext svelte-183q6rw\"><div class=\"rname svelte-183q6rw\"${attr(\"title\", card.where)}>${escape_html(card.name)}</div> <div class=\"rsub svelte-183q6rw\">${escape_html([\n card.live > 0 ? `${card.live} session${card.live === 1 ? \"\" : \"s\"}` : \"\",\n [...new Set(card.places.map((p2) => machineLabel(p2.machine)))].join(\", \")\n ].filter(Boolean).join(\" · \"))}</div></div> `);\n if (Popover) {\n $$renderer3.push(\"<!--[-->\");\n Popover($$renderer3, {\n open: projectMenu === card.key,\n onOpenChange: (o) => projectMenu = o ? card.key : null,\n children: ($$renderer4) => {\n if (Popover_trigger) {\n $$renderer4.push(\"<!--[-->\");\n Popover_trigger($$renderer4, {\n class: \"ghost\",\n title: \"Project actions\",\n children: ($$renderer5) => {\n $$renderer5.push(`<iconify-icon icon=\"mdi:dots-horizontal\" class=\"svelte-183q6rw\"></iconify-icon>`);\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n $$renderer4.push(` `);\n if (Popover_content) {\n $$renderer4.push(\"<!--[-->\");\n Popover_content($$renderer4, {\n class: \"menu pmenu\",\n align: \"end\",\n sideOffset: 6,\n children: ($$renderer5) => {\n $$renderer5.push(`<div class=\"qhead svelte-183q6rw\"><b class=\"svelte-183q6rw\">${escape_html(card.name)}</b> <!--[-->`);\n const each_array_6 = ensure_array_like(card.places);\n for (let $$index_6 = 0, $$length = each_array_6.length; $$index_6 < $$length; $$index_6++) {\n let place = each_array_6[$$index_6];\n $$renderer5.push(`<span class=\"qpath svelte-183q6rw\">${escape_html(place.root)}`);\n if (card.spans || !place.machine.local) {\n $$renderer5.push(`<!--[0-->· ${escape_html(place.machine.server.hostname)}`);\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--></span>`);\n }\n $$renderer5.push(`<!--]--></div> <!--[-->`);\n const each_array_7 = ensure_array_like(card.reachable);\n for (let $$index_8 = 0, $$length = each_array_7.length; $$index_8 < $$length; $$index_8++) {\n let place = each_array_7[$$index_8];\n $$renderer5.push(`<!--[-->`);\n const each_array_8 = ensure_array_like(AGENT_IDS.filter((id) => id !== \"claude\"));\n for (let $$index_7 = 0, $$length2 = each_array_8.length; $$index_7 < $$length2; $$index_7++) {\n let id = each_array_8[$$index_7];\n const meta = AGENTS[id];\n $$renderer5.push(`<button type=\"button\" class=\"mitem svelte-183q6rw\"><iconify-icon${attr(\"icon\", meta.icon)}${attr_style(`color: ${stringify(meta.color)};`)} class=\"svelte-183q6rw\"></iconify-icon>New ${escape_html(meta.label)} session`);\n if (card.places.length > 1) {\n $$renderer5.push(`<!--[0-->on ${escape_html(place.label)}`);\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--></button>`);\n }\n $$renderer5.push(`<!--]-->`);\n }\n $$renderer5.push(`<!--]--> <span class=\"msep svelte-183q6rw\"></span> `);\n if (closed > 0) {\n $$renderer5.push(`<!--[0--><button type=\"button\" class=\"mitem svelte-183q6rw\"><iconify-icon icon=\"mdi:broom\" class=\"svelte-183q6rw\"></iconify-icon>Clear ${escape_html(closed)} closed session${escape_html(closed === 1 ? \"\" : \"s\")}</button>`);\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--> <button type=\"button\" class=\"mitem svelte-183q6rw\"><iconify-icon icon=\"mdi:content-copy\" class=\"svelte-183q6rw\"></iconify-icon>Copy path</button> <button type=\"button\" class=\"mitem danger svelte-183q6rw\"><iconify-icon icon=\"mdi:close\" class=\"svelte-183q6rw\"></iconify-icon>Close project</button>`);\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n $$renderer3.push(`</div> `);\n offlineLines($$renderer3, [...new Set(card.places.map((p2) => p2.machine))]);\n $$renderer3.push(`<!----> <div${attr_class(\"livezone svelte-183q6rw\", void 0, { \"drop\": dropOn === \"live\" })} role=\"list\"><!--[-->`);\n const each_array_9 = ensure_array_like(card.places);\n for (let $$index_9 = 0, $$length = each_array_9.length; $$index_9 < $$length; $$index_9++) {\n let place = each_array_9[$$index_9];\n placeRows($$renderer3, place, card.spans, true);\n }\n $$renderer3.push(`<!--]--> `);\n if (card.quiet) {\n $$renderer3.push(`<!--[0--><div class=\"nothing svelte-183q6rw\">Nothing running here.</div>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--></div> `);\n newSessions($$renderer3, card);\n $$renderer3.push(`<!----> `);\n settledSection($$renderer3, card);\n $$renderer3.push(`<!---->`);\n }\n function settledSection($$renderer3, card) {\n const settledRows = card.places.flatMap((place) => place.settled.map((session) => ({ place, session })));\n const past = card.past;\n const open = settledOpen.has(card.key);\n const shown = settledAll.has(card.key) ? past : past.slice(0, SETTLED_SHOWN);\n if (settledRows.length + past.length > 0 || dragged) {\n $$renderer3.push(`<!--[0--><section class=\"settled svelte-183q6rw\" aria-label=\"Settled\"><button type=\"button\"${attr_class(\"shead svelte-183q6rw\", void 0, { \"drop\": dropOn === \"settled\" })}${attr(\"aria-expanded\", open)}><iconify-icon${attr_class(\"chev svelte-183q6rw\", void 0, { \"open\": open })} icon=\"mdi:chevron-right\"></iconify-icon> Settled <span class=\"n svelte-183q6rw\">${escape_html(settledRows.length + past.length)}</span> `);\n if (dropOn === \"settled\") {\n $$renderer3.push(`<!--[0--><span class=\"hint svelte-183q6rw\">Drop to settle</span>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--></button> `);\n if (open) {\n $$renderer3.push(`<!--[0--><!--[-->`);\n const each_array_10 = ensure_array_like(settledRows);\n for (let $$index_10 = 0, $$length = each_array_10.length; $$index_10 < $$length; $$index_10++) {\n let { place, session } = each_array_10[$$index_10];\n const offline = blockedReason(place.machine, clock.now);\n $$renderer3.push(`<div${attr_class(\"place svelte-183q6rw\", void 0, { \"off\": !!offline })}${attr(\"inert\", !!offline, true)}>`);\n rowWithAgents(\n $$renderer3,\n place.machine,\n {\n session,\n rel: relPath(session.cwd, place.root),\n orchestrator: false\n },\n card.spans,\n offline\n );\n $$renderer3.push(`<!----></div>`);\n }\n $$renderer3.push(`<!--]--> <!--[-->`);\n const each_array_11 = ensure_array_like(shown);\n for (let $$index_11 = 0, $$length = each_array_11.length; $$index_11 < $$length; $$index_11++) {\n let { place, past: p2 } = each_array_11[$$index_11];\n const off = !reachable(place.machine);\n const m = markOf(place.machine);\n if (Context_menu) {\n $$renderer3.push(\"<!--[-->\");\n Context_menu($$renderer3, {\n children: ($$renderer4) => {\n {\n let child = function($$renderer5, { props }) {\n $$renderer5.push(`<a${attributes(\n {\n ...props,\n href: pastHref(place.machine, p2),\n class: \"row past\",\n title: off ? `${pastLabel(p2)} · resume when ${machineLabel(place.machine)} is back` : `${pastLabel(p2)}${p2.branch ? ` · ${p2.branch}` : \"\"}`\n },\n \"svelte-183q6rw\",\n { off }\n )}><span class=\"st svelte-183q6rw\"><iconify-icon icon=\"mdi:history\" class=\"svelte-183q6rw\"></iconify-icon></span> <span class=\"name svelte-183q6rw\">${escape_html(pastLabel(p2))}</span> <span class=\"meta svelte-183q6rw\">`);\n if (card.spans || !place.machine.local) {\n $$renderer5.push(`<!--[0--><span class=\"mach svelte-183q6rw\"${attr_style(`--m:${stringify(m.color)}`)}${attr(\"title\", m.name)}>${escape_html(m.letter)}</span>`);\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--> <span class=\"when svelte-183q6rw\">${escape_html(formatAgo(p2.lastActivity, clock.now))}</span></span> <span class=\"ctx none svelte-183q6rw\"></span> `);\n if (off) {\n $$renderer5.push(`<!--[0--><span class=\"later svelte-183q6rw\">resume when it's back</span>`);\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]--></a>`);\n };\n if (Context_menu_trigger) {\n $$renderer4.push(\"<!--[-->\");\n Context_menu_trigger($$renderer4, { child, $$slots: { child: true } });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n }\n $$renderer4.push(` `);\n if (Context_menu_content) {\n $$renderer4.push(\"<!--[-->\");\n Context_menu_content($$renderer4, {\n children: ($$renderer5) => {\n if (Context_menu_item) {\n $$renderer5.push(\"<!--[-->\");\n Context_menu_item($$renderer5, {\n onSelect: () => openPast(place.machine, p2),\n children: ($$renderer6) => {\n $$renderer6.push(`<iconify-icon icon=\"mdi:text-box-outline\" class=\"svelte-183q6rw\"></iconify-icon>Read`);\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n $$renderer5.push(` `);\n if (Context_menu_item) {\n $$renderer5.push(\"<!--[-->\");\n Context_menu_item($$renderer5, {\n disabled: off,\n onSelect: () => void resume(place.machine, p2),\n children: ($$renderer6) => {\n $$renderer6.push(`<iconify-icon icon=\"mdi:play-outline\" class=\"svelte-183q6rw\"></iconify-icon>Resume`);\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n $$renderer3.push(`<!--]--> `);\n if (past.length > shown.length) {\n $$renderer3.push(`<!--[0--><button type=\"button\" class=\"more svelte-183q6rw\">${escape_html(past.length - shown.length)} more</button>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]-->`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--></section>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]-->`);\n }\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n $$renderer3.push(`<div${attr_class(\"panel svelte-183q6rw\", void 0, { \"compact\": compact })}><header class=\"head svelte-183q6rw\">`);\n MachineFilter($$renderer3, { live: liveCount, wants: machineWants });\n $$renderer3.push(`<!----> `);\n if (Popover) {\n $$renderer3.push(\"<!--[-->\");\n Popover($$renderer3, {\n get open() {\n return menuOpen;\n },\n set open($$value) {\n menuOpen = $$value;\n $$settled = false;\n },\n children: ($$renderer4) => {\n if (Popover_trigger) {\n $$renderer4.push(\"<!--[-->\");\n Popover_trigger($$renderer4, {\n class: \"ghost\",\n title: \"More\",\n children: ($$renderer5) => {\n $$renderer5.push(`<iconify-icon icon=\"mdi:dots-horizontal\"></iconify-icon>`);\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n $$renderer4.push(` `);\n if (Popover_content) {\n $$renderer4.push(\"<!--[-->\");\n Popover_content($$renderer4, {\n class: \"menu\",\n align: \"end\",\n sideOffset: 6,\n children: ($$renderer5) => {\n $$renderer5.push(`<!--[-->`);\n const each_array_12 = ensure_array_like(menuActions());\n for (let $$index_12 = 0, $$length = each_array_12.length; $$index_12 < $$length; $$index_12++) {\n let action = each_array_12[$$index_12];\n $$renderer5.push(`<button type=\"button\"${attr_class(\"mitem svelte-183q6rw\", void 0, { \"danger\": action.danger })}><iconify-icon${attr(\"icon\", action.icon)} class=\"svelte-183q6rw\"></iconify-icon>${escape_html(action.label)}</button>`);\n }\n $$renderer5.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n $$renderer3.push(` <button type=\"button\" class=\"new svelte-183q6rw\" title=\"Open a folder as a project\"><iconify-icon icon=\"mdi:plus\" class=\"svelte-183q6rw\"></iconify-icon>New</button></header> <label class=\"search svelte-183q6rw\"><iconify-icon icon=\"mdi:magnify\" class=\"svelte-183q6rw\"></iconify-icon> <input${attr(\"value\", query)} type=\"search\" placeholder=\"Filter sessions, projects, machines, #issues\" autocomplete=\"off\" class=\"svelte-183q6rw\"/> <button type=\"button\" class=\"kbd svelte-183q6rw\" title=\"Jump to a session or project\">Ctrl K</button></label> <div class=\"railwrap svelte-183q6rw\">`);\n ProjectRail($$renderer3, {\n tiles: tiles(),\n selected: query.trim() ? \"\" : chosen() ? chosen().key : \"active\",\n activeBadge: activeBadge()\n });\n $$renderer3.push(`<!----> <div class=\"railmain svelte-183q6rw\">`);\n if (query.trim()) {\n $$renderer3.push(\"<!--[0-->\");\n if (found().length === 0) {\n $$renderer3.push(`<!--[0--><div class=\"empty svelte-183q6rw\">Nothing matches “${escape_html(query)}”.</div>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--> <!--[-->`);\n const each_array_13 = ensure_array_like(found());\n for (let $$index_14 = 0, $$length = each_array_13.length; $$index_14 < $$length; $$index_14++) {\n let { card, places } = each_array_13[$$index_14];\n $$renderer3.push(`<section class=\"group svelte-183q6rw\">`);\n groupHead($$renderer3, card);\n $$renderer3.push(`<!----> <!--[-->`);\n const each_array_14 = ensure_array_like(places);\n for (let $$index_13 = 0, $$length2 = each_array_14.length; $$index_13 < $$length2; $$index_13++) {\n let place = each_array_14[$$index_13];\n placeRows($$renderer3, place, card.spans, false);\n }\n $$renderer3.push(`<!--]--></section>`);\n }\n $$renderer3.push(`<!--]-->`);\n } else if (chosen()) {\n $$renderer3.push(\"<!--[1-->\");\n projectView($$renderer3, chosen());\n } else {\n $$renderer3.push(`<!--[-1--><div class=\"rhead svelte-183q6rw\"><span class=\"bolt svelte-183q6rw\"><iconify-icon icon=\"mdi:lightning-bolt-outline\"></iconify-icon></span> <div class=\"rtext svelte-183q6rw\"><div class=\"rname svelte-183q6rw\">Active</div> <div class=\"rsub svelte-183q6rw\">wants you, working, just finished</div></div></div> `);\n NeedsYou($$renderer3, {\n machines: fleetStore.visible,\n fleet: fleetStore.fleet\n });\n $$renderer3.push(`<!----> `);\n offlineLines($$renderer3, fleetStore.visible);\n $$renderer3.push(`<!----> <!--[-->`);\n const each_array_15 = ensure_array_like(activeGroups());\n for (let $$index_16 = 0, $$length = each_array_15.length; $$index_16 < $$length; $$index_16++) {\n let { card, places } = each_array_15[$$index_16];\n $$renderer3.push(`<section class=\"group svelte-183q6rw\">`);\n groupHead($$renderer3, card);\n $$renderer3.push(`<!----> <!--[-->`);\n const each_array_16 = ensure_array_like(places);\n for (let $$index_15 = 0, $$length2 = each_array_16.length; $$index_15 < $$length2; $$index_15++) {\n let place = each_array_16[$$index_15];\n placeRows($$renderer3, place, card.spans, false);\n }\n $$renderer3.push(`<!--]--></section>`);\n }\n $$renderer3.push(`<!--]--> `);\n if (activeGroups().length === 0) {\n $$renderer3.push(`<!--[0--><div class=\"empty svelte-183q6rw\">`);\n if (cards().length === 0) {\n $$renderer3.push(`<!--[0-->No projects yet. <button type=\"button\" class=\"link svelte-183q6rw\">Open a folder</button> to start.`);\n } else {\n $$renderer3.push(`<!--[-1-->Nothing is going on. Pick a project on the rail.`);\n }\n $$renderer3.push(`<!--]--></div>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]-->`);\n }\n $$renderer3.push(`<!--]--></div></div></div> `);\n QuickSwitch($$renderer3, {\n items: switchItems(),\n get open() {\n return quickSwitch.open;\n },\n set open($$value) {\n quickSwitch.open = $$value;\n $$settled = false;\n }\n });\n $$renderer3.push(`<!----> `);\n FolderPicker($$renderer3, {\n machines: fleetStore.machines,\n folders: pickerFolders(),\n markOf: (id) => marks().get(id) ?? null,\n onpick: (machine, cwd) => void newSessionInProject(machine, cwd),\n ongoto: goToFolder,\n get open() {\n return showFolderBrowser;\n },\n set open($$value) {\n showFolderBrowser = $$value;\n $$settled = false;\n }\n });\n $$renderer3.push(`<!----> `);\n if (Dialog) {\n $$renderer3.push(\"<!--[-->\");\n Dialog($$renderer3, {\n open: agentPicker !== null,\n onOpenChange: (o) => {\n if (!o) agentPicker = null;\n },\n children: ($$renderer4) => {\n if (Dialog_content) {\n $$renderer4.push(\"<!--[-->\");\n Dialog_content($$renderer4, {\n class: \"max-w-sm\",\n children: ($$renderer5) => {\n if (Dialog_header) {\n $$renderer5.push(\"<!--[-->\");\n Dialog_header($$renderer5, {\n children: ($$renderer6) => {\n if (Dialog_title) {\n $$renderer6.push(\"<!--[-->\");\n Dialog_title($$renderer6, {\n children: ($$renderer7) => {\n $$renderer7.push(`<!---->New session`);\n },\n $$slots: { default: true }\n });\n $$renderer6.push(\"<!--]-->\");\n } else {\n $$renderer6.push(\"<!--[!-->\");\n $$renderer6.push(\"<!--]-->\");\n }\n $$renderer6.push(` `);\n if (Dialog_description) {\n $$renderer6.push(\"<!--[-->\");\n Dialog_description($$renderer6, {\n children: ($$renderer7) => {\n if (agentPicker) {\n $$renderer7.push(`<!--[0-->In ${escape_html(agentPicker.cwd)}`);\n if (!agentPicker.machine.local) {\n $$renderer7.push(`<!--[0-->on ${escape_html(agentPicker.machine.server.hostname)}`);\n } else {\n $$renderer7.push(\"<!--[-1-->\");\n }\n $$renderer7.push(`<!--]-->.`);\n } else {\n $$renderer7.push(\"<!--[-1-->\");\n }\n $$renderer7.push(`<!--]--> Choose which agent to launch.`);\n },\n $$slots: { default: true }\n });\n $$renderer6.push(\"<!--]-->\");\n } else {\n $$renderer6.push(\"<!--[!-->\");\n $$renderer6.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n $$renderer5.push(` <div class=\"agent-choices svelte-183q6rw\"><!--[-->`);\n const each_array_17 = ensure_array_like(AGENT_IDS);\n for (let $$index_17 = 0, $$length = each_array_17.length; $$index_17 < $$length; $$index_17++) {\n let id = each_array_17[$$index_17];\n const meta = AGENTS[id];\n $$renderer5.push(`<button class=\"agent-choice svelte-183q6rw\"><iconify-icon${attr(\"icon\", meta.icon)}${attr_style(`color: ${stringify(meta.color)};`)} class=\"svelte-183q6rw\"></iconify-icon> <div class=\"agent-choice-text\"><div class=\"agent-choice-name svelte-183q6rw\">${escape_html(meta.label)}</div> <div class=\"agent-choice-cmd svelte-183q6rw\">${escape_html(meta.command)}</div></div></button>`);\n }\n $$renderer5.push(`<!--]--></div> `);\n if (agentPicker?.card) {\n $$renderer5.push(`<!--[0--><button type=\"button\" class=\"agent-remove svelte-183q6rw\"><iconify-icon icon=\"mdi:close\"></iconify-icon> Remove ${escape_html(agentPicker.card.name)} from the list</button>`);\n } else {\n $$renderer5.push(\"<!--[-1-->\");\n }\n $$renderer5.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n $$renderer3.push(` `);\n RenameSessionDialog($$renderer3, { sessionId: renameId, onClose: () => renameId = null });\n $$renderer3.push(`<!----> `);\n if (Alert_dialog) {\n $$renderer3.push(\"<!--[-->\");\n Alert_dialog($$renderer3, {\n get open() {\n return alertOpen;\n },\n set open($$value) {\n alertOpen = $$value;\n $$settled = false;\n },\n children: ($$renderer4) => {\n if (Alert_dialog_content) {\n $$renderer4.push(\"<!--[-->\");\n Alert_dialog_content($$renderer4, {\n children: ($$renderer5) => {\n if (Alert_dialog_header) {\n $$renderer5.push(\"<!--[-->\");\n Alert_dialog_header($$renderer5, {\n children: ($$renderer6) => {\n if (Alert_dialog_title) {\n $$renderer6.push(\"<!--[-->\");\n Alert_dialog_title($$renderer6, {\n children: ($$renderer7) => {\n $$renderer7.push(`<!---->${escape_html(alertTitle)}`);\n },\n $$slots: { default: true }\n });\n $$renderer6.push(\"<!--]-->\");\n } else {\n $$renderer6.push(\"<!--[!-->\");\n $$renderer6.push(\"<!--]-->\");\n }\n $$renderer6.push(` `);\n if (Alert_dialog_description) {\n $$renderer6.push(\"<!--[-->\");\n Alert_dialog_description($$renderer6, {\n children: ($$renderer7) => {\n $$renderer7.push(`<!---->${escape_html(alertMessage)}`);\n },\n $$slots: { default: true }\n });\n $$renderer6.push(\"<!--]-->\");\n } else {\n $$renderer6.push(\"<!--[!-->\");\n $$renderer6.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n $$renderer5.push(` `);\n if (Alert_dialog_footer) {\n $$renderer5.push(\"<!--[-->\");\n Alert_dialog_footer($$renderer5, {\n children: ($$renderer6) => {\n if (Alert_dialog_cancel) {\n $$renderer6.push(\"<!--[-->\");\n Alert_dialog_cancel($$renderer6, {\n children: ($$renderer7) => {\n $$renderer7.push(`<!---->Cancel`);\n },\n $$slots: { default: true }\n });\n $$renderer6.push(\"<!--]-->\");\n } else {\n $$renderer6.push(\"<!--[!-->\");\n $$renderer6.push(\"<!--]-->\");\n }\n $$renderer6.push(` `);\n if (Alert_dialog_action) {\n $$renderer6.push(\"<!--[-->\");\n Alert_dialog_action($$renderer6, {\n onclick: () => {\n alertOnConfirm();\n alertOpen = false;\n },\n class: \"bg-destructive text-destructive-foreground hover:bg-destructive/90\",\n children: ($$renderer7) => {\n $$renderer7.push(`<!---->Confirm`);\n },\n $$slots: { default: true }\n });\n $$renderer6.push(\"<!--]-->\");\n } else {\n $$renderer6.push(\"<!--[!-->\");\n $$renderer6.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer5.push(\"<!--]-->\");\n } else {\n $$renderer5.push(\"<!--[!-->\");\n $$renderer5.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer4.push(\"<!--]-->\");\n } else {\n $$renderer4.push(\"<!--[!-->\");\n $$renderer4.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n if ($$store_subs) unsubscribe_stores($$store_subs);\n });\n}\nfunction ScreenshotsPanel($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { sessionId, screenshots } = $$props;\n let viewingScreenshot = null;\n let touchStartX = 0;\n let touchCurrentX = 0;\n let isSwiping = false;\n async function dismissScreenshot(path) {\n await fetch(`/api/sessions/${encodeURIComponent(sessionId)}/screenshots?path=${encodeURIComponent(path)}`, { method: \"DELETE\" });\n if (viewingScreenshot === path) {\n viewingScreenshot = null;\n }\n }\n function closeModal() {\n viewingScreenshot = null;\n resetSwipe();\n }\n function getFilename(path) {\n return path.split(\"/\").pop() || path;\n }\n function resetSwipe() {\n isSwiping = false;\n touchStartX = 0;\n touchCurrentX = 0;\n }\n const swipeOffset = derived(() => isSwiping ? Math.min(0, touchCurrentX - touchStartX) : 0);\n if (Popover) {\n $$renderer2.push(\"<!--[-->\");\n Popover($$renderer2, {\n children: ($$renderer3) => {\n if (Popover_trigger) {\n $$renderer3.push(\"<!--[-->\");\n Popover_trigger($$renderer3, {\n class: \"icon-button shots-trigger\",\n title: \"Screenshots of this session\",\n \"aria-label\": `Screenshots: ${stringify(screenshots.length)}`,\n children: ($$renderer4) => {\n $$renderer4.push(`<iconify-icon icon=\"mdi:image-multiple-outline\"></iconify-icon> <span class=\"shots-count\">${escape_html(screenshots.length)}</span>`);\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n $$renderer3.push(` `);\n if (Popover_content) {\n $$renderer3.push(\"<!--[-->\");\n Popover_content($$renderer3, {\n side: \"top\",\n align: \"start\",\n sideOffset: 8,\n class: \"w-64 max-w-[85vw] border-[#333] bg-[#1a1a1a] p-2\",\n children: ($$renderer4) => {\n if (screenshots.length === 0) {\n $$renderer4.push(`<!--[0--><p class=\"empty svelte-i8iwb7\">No screenshots</p>`);\n } else {\n $$renderer4.push(`<!--[-1--><div class=\"screenshots-grid svelte-i8iwb7\"><!--[-->`);\n const each_array = ensure_array_like(screenshots);\n for (let i = 0, $$length = each_array.length; i < $$length; i++) {\n let screenshot = each_array[i];\n $$renderer4.push(`<div class=\"screenshot-item svelte-i8iwb7\"><button class=\"thumbnail svelte-i8iwb7\"${attr(\"title\", getFilename(screenshot.path))}><img${attr(\"src\", `/api/files/image?path=${stringify(encodeURIComponent(screenshot.path))}`)}${attr(\"alt\", getFilename(screenshot.path))} loading=\"lazy\" class=\"svelte-i8iwb7\"/></button> `);\n Button($$renderer4, {\n variant: \"ghost\",\n size: \"icon-sm\",\n class: \"dismiss-btn\",\n onclick: () => dismissScreenshot(screenshot.path),\n title: \"Dismiss screenshot\",\n children: ($$renderer5) => {\n $$renderer5.push(`<iconify-icon icon=\"mdi:close\"></iconify-icon>`);\n },\n $$slots: { default: true }\n });\n $$renderer4.push(`<!----></div>`);\n }\n $$renderer4.push(`<!--]--></div>`);\n }\n $$renderer4.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer2.push(\"<!--]-->\");\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(\"<!--]-->\");\n }\n $$renderer2.push(` `);\n if (viewingScreenshot) {\n $$renderer2.push(`<!--[0--><div class=\"modal-overlay svelte-i8iwb7\" role=\"dialog\" aria-modal=\"true\" tabindex=\"-1\"><div class=\"modal-content svelte-i8iwb7\"${attr_style(`transform: translateX(${stringify(swipeOffset())}px)`)} role=\"document\"><img${attr(\"src\", `/api/files/image?path=${stringify(encodeURIComponent(viewingScreenshot))}`)}${attr(\"alt\", getFilename(viewingScreenshot))} class=\"modal-image svelte-i8iwb7\"/> <div class=\"modal-actions svelte-i8iwb7\">`);\n Button($$renderer2, {\n variant: \"secondary\",\n size: \"sm\",\n onclick: (e) => e.target === e.currentTarget && closeModal(),\n class: \"modal-btn\",\n children: ($$renderer3) => {\n $$renderer3.push(`<iconify-icon icon=\"mdi:close\"></iconify-icon> <span>Close</span>`);\n },\n $$slots: { default: true }\n });\n $$renderer2.push(`<!----> `);\n Button($$renderer2, {\n variant: \"destructive\",\n size: \"sm\",\n onclick: () => dismissScreenshot(viewingScreenshot),\n class: \"modal-btn\",\n children: ($$renderer3) => {\n $$renderer3.push(`<iconify-icon icon=\"mdi:delete\"></iconify-icon> <span>Delete</span>`);\n },\n $$slots: { default: true }\n });\n $$renderer2.push(`<!----></div> <div class=\"swipe-hint svelte-i8iwb7\"><iconify-icon icon=\"mdi:gesture-swipe-left\"></iconify-icon> <span>Swipe left to close</span></div></div></div>`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]-->`);\n });\n}\nfunction spendCoverage(machines) {\n const missing = machines.filter((m) => !m.ok).map((m) => m.hostname);\n return { answered: machines.length - missing.length, total: machines.length, missing };\n}\nfunction pushUnavailable() {\n if (!window.isSecureContext) return \"Push needs HTTPS. Open claude-mux through tailscale serve.\";\n const ios = /iPhone|iPad|iPod/.test(navigator.userAgent);\n const standalone = window.matchMedia(\"(display-mode: standalone)\").matches;\n if (ios && !standalone) return \"On iPhone and iPad, add claude-mux to the Home Screen (Share → Add to Home Screen) and open it from there.\";\n if (!(\"serviceWorker\" in navigator) || !(\"PushManager\" in window) || typeof Notification === \"undefined\") {\n return \"This browser has no Web Push.\";\n }\n return null;\n}\nfunction bar($$renderer, meter) {\n $$renderer.push(`<span class=\"meter svelte-uooa92\"${attr(\"title\", meter.title)}><span class=\"reading svelte-uooa92\"><span class=\"tag svelte-uooa92\">${escape_html(meter.tag)}</span> <span class=\"val svelte-uooa92\"${attr_style(\"\", { color: meter.color })}>${escape_html(Math.round(meter.percent))}%</span></span> <span class=\"track svelte-uooa92\" role=\"img\"${attr(\"aria-label\", meter.title)}><span class=\"fill svelte-uooa92\"${attr_style(`width: ${stringify(Math.min(100, Math.max(0, meter.percent)))}%; background: ${stringify(meter.color)}`)}></span></span></span>`);\n}\nfunction SidebarMeters($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { lead } = $$props;\n const SPARK_DAYS = 14;\n const PLAN_UNAVAILABLE = \"Plan limits unavailable. Open Usage for the reason.\";\n const dayOf = makeDayFormatter(hostTimeZone());\n const summary = derived(() => usageStore.summary);\n const quota = derived(() => usageStore.quota);\n const today = derived(() => usageStore.today);\n const stats = derived(() => sessionStore.systemStats);\n function shortLabel(label) {\n const text = label.toLowerCase();\n if (text.includes(\"session\")) return \"5h\";\n const model = text.match(/(opus|sonnet|haiku|fable|mythos)/)?.[1];\n if (model) return model.slice(0, 3);\n if (text.includes(\"week\")) return \"wk\";\n return text.replace(/\\s*limit$/, \"\").split(/\\s+/)[0];\n }\n const plan = derived(() => (quota()?.available ? quota().limits : []).map((limit) => ({\n key: limit.kind,\n tag: shortLabel(limit.label),\n percent: limit.percent,\n // The server grades plan limits itself, and the sidebar shows that\n // grade: recomputing here is how the two start disagreeing.\n color: SEVERITY[limit.severity].color,\n title: `${limit.label}: ${Math.round(limit.percent)}%`\n })));\n const system = derived(() => {\n const rows = [\n [\"cpu\", stats().cpu, severityForPercent(stats().cpu)],\n [\"ram\", stats().ram, severityForPercent(stats().ram)]\n ];\n if (stats().disk !== null) rows.push([\n \"dsk\",\n stats().disk,\n severityForPercent(stats().disk, \"disk\")\n ]);\n if (stats().swapTotal > 0) rows.push([\"swp\", stats().swap, severityForPercent(stats().swap)]);\n return rows.map(([tag, percent, severity]) => ({\n key: tag,\n tag,\n percent,\n color: SEVERITY[severity].color,\n title: `${tag === \"dsk\" ? \"Disk (home)\" : tag.toUpperCase()}: ${Math.round(percent)}%`\n }));\n });\n const origin = derived(() => {\n const marks = machineMarks(fleetStore.machines.map((m) => ({ id: machineKey(m), name: machineName(m) })));\n const self = fleetStore.machines.find((m) => m.local);\n return self ? marks.get(machineKey(self)) : void 0;\n });\n const coverage = derived(() => summary() ? spendCoverage(summary().machines) : null);\n function dayKey(offset) {\n return dayOf(Date.now() - offset * 864e5);\n }\n const spark = derived(() => {\n if (!summary()) return [];\n const byDate = new Map(summary().days.map((d) => [d.date, d.costUsd]));\n const out = [];\n for (let i = SPARK_DAYS - 1; i >= 0; i--) {\n const date = dayKey(i);\n out.push({ date, cost: byDate.get(date) ?? 0 });\n }\n return out;\n });\n const peak = derived(() => Math.max(1e-9, ...spark().map((d) => d.cost)));\n const MODES = [\n {\n value: \"off\",\n label: \"Off\",\n title: \"No system notifications or sounds\"\n },\n {\n value: \"notifications\",\n label: \"Notify\",\n title: \"System notifications while this window is in the background\"\n },\n {\n value: \"sound\",\n label: \"Sound\",\n title: \"A sound when a session needs you or finishes\"\n },\n {\n value: \"both\",\n label: \"Both\",\n title: \"System notifications and sounds\"\n }\n ];\n let requesting = false;\n const pushBlocked = typeof window === \"undefined\" ? null : pushUnavailable();\n function settings($$renderer3) {\n $$renderer3.push(`<div class=\"settings svelte-uooa92\"><div class=\"alerts-row svelte-uooa92\"><span class=\"alerts-label\" id=\"alerts-label\">Alerts</span> <div class=\"segmented svelte-uooa92\" role=\"radiogroup\" aria-labelledby=\"alerts-label\"><!--[-->`);\n const each_array = ensure_array_like(MODES);\n for (let $$index_3 = 0, $$length = each_array.length; $$index_3 < $$length; $$index_3++) {\n let m = each_array[$$index_3];\n $$renderer3.push(`<button type=\"button\" role=\"radio\"${attr(\"aria-checked\", preferences.notificationMode === m.value)}${attr(\"title\", m.title)}${attr(\"disabled\", requesting, true)}${attr_class(\"svelte-uooa92\", void 0, { \"on\": preferences.notificationMode === m.value })}>${escape_html(m.label)}</button>`);\n }\n $$renderer3.push(`<!--]--></div></div> `);\n {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--> <div class=\"alerts-row svelte-uooa92\"><span class=\"alerts-label\" id=\"push-label\" title=\"Notifications on this device with claude-mux closed, sent by the server\">Push</span> <div class=\"segmented svelte-uooa92\" role=\"radiogroup\" aria-labelledby=\"push-label\"><!--[-->`);\n const each_array_1 = ensure_array_like([false, true]);\n for (let $$index_4 = 0, $$length = each_array_1.length; $$index_4 < $$length; $$index_4++) {\n let on = each_array_1[$$index_4];\n $$renderer3.push(`<button type=\"button\" role=\"radio\"${attr(\"aria-checked\", false === on)}${attr(\"disabled\", !!pushBlocked, true)}${attr_class(\"svelte-uooa92\", void 0, { \"on\": false === on })}>${escape_html(on ? \"This device\" : \"Off\")}</button>`);\n }\n $$renderer3.push(`<!--]--></div></div> `);\n if (pushBlocked) {\n $$renderer3.push(`<!--[0--><p class=\"alerts-note svelte-uooa92\">${escape_html(pushBlocked)}</p>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--> `);\n {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--> <div class=\"toggles svelte-uooa92\"><label class=\"toggle-row svelte-uooa92\" title=\"A toast in this page when another session needs you or finishes\"><input type=\"checkbox\"${attr(\"checked\", preferences.inAppToasts, true)} class=\"svelte-uooa92\"/> <span>In-page toasts</span></label> `);\n {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--></div></div>`);\n }\n $$renderer2.push(`<div class=\"sidebar-meters svelte-uooa92\"><div class=\"top svelte-uooa92\">`);\n lead?.($$renderer2);\n $$renderer2.push(`<!----> <span class=\"top-end svelte-uooa92\"><a class=\"icon-button\" href=\"/usage\" title=\"Usage\" aria-label=\"Usage\"><iconify-icon icon=\"mdi:chart-box-outline\"></iconify-icon></a> `);\n if (Popover) {\n $$renderer2.push(\"<!--[-->\");\n Popover($$renderer2, {\n children: ($$renderer3) => {\n if (Popover_trigger) {\n $$renderer3.push(\"<!--[-->\");\n Popover_trigger($$renderer3, {\n class: \"icon-button\",\n title: \"Alerts and this device\",\n \"aria-label\": \"Alerts and this device\",\n children: ($$renderer4) => {\n $$renderer4.push(`<iconify-icon icon=\"mdi:cog-outline\"></iconify-icon> `);\n {\n $$renderer4.push(\"<!--[-1-->\");\n }\n $$renderer4.push(`<!--]-->`);\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n $$renderer3.push(` `);\n if (Popover_content) {\n $$renderer3.push(\"<!--[-->\");\n Popover_content($$renderer3, {\n side: \"top\",\n align: \"end\",\n sideOffset: 8,\n class: \"w-72 max-w-[90vw] border-[#333] bg-[#1a1a1a] p-3\",\n children: ($$renderer4) => {\n settings($$renderer4);\n },\n $$slots: { default: true }\n });\n $$renderer3.push(\"<!--]-->\");\n } else {\n $$renderer3.push(\"<!--[!-->\");\n $$renderer3.push(\"<!--]-->\");\n }\n },\n $$slots: { default: true }\n });\n $$renderer2.push(\"<!--]-->\");\n } else {\n $$renderer2.push(\"<!--[!-->\");\n $$renderer2.push(\"<!--]-->\");\n }\n $$renderer2.push(`</span></div> <div class=\"row svelte-uooa92\"><span class=\"label svelte-uooa92\">Plan</span> `);\n if (plan().length > 0) {\n $$renderer2.push(`<!--[0--><span class=\"bars svelte-uooa92\"><!--[-->`);\n const each_array_2 = ensure_array_like(plan());\n for (let $$index = 0, $$length = each_array_2.length; $$index < $$length; $$index++) {\n let meter = each_array_2[$$index];\n bar($$renderer2, meter);\n }\n $$renderer2.push(`<!--]--></span>`);\n } else if (quota() && !quota().available) {\n $$renderer2.push(`<!--[1--><a class=\"quiet svelte-uooa92\" href=\"/usage\"${attr(\"title\", PLAN_UNAVAILABLE)}>unavailable</a>`);\n } else {\n $$renderer2.push(`<!--[-1--><span class=\"quiet svelte-uooa92\">—</span>`);\n }\n $$renderer2.push(`<!--]--></div> <div class=\"row svelte-uooa92\"><span class=\"label machine svelte-uooa92\" title=\"The machine that served this page\"${attr_style(\"\", { color: origin()?.color })}>${escape_html(origin()?.name ?? \"this machine\")}</span> <span class=\"bars svelte-uooa92\"><!--[-->`);\n const each_array_3 = ensure_array_like(system());\n for (let $$index_1 = 0, $$length = each_array_3.length; $$index_1 < $$length; $$index_1++) {\n let meter = each_array_3[$$index_1];\n bar($$renderer2, meter);\n }\n $$renderer2.push(`<!--]--></span></div> `);\n if (spark().length > 0) {\n $$renderer2.push(`<!--[0--><div class=\"row spend-row svelte-uooa92\"><span class=\"label svelte-uooa92\">Spend</span> <span class=\"spend svelte-uooa92\"><span class=\"line svelte-uooa92\"><span class=\"figure svelte-uooa92\">${escape_html(today() === null ? \"—\" : money(today(), true))} <span class=\"tag svelte-uooa92\">today</span></span> `);\n if (coverage() && coverage().total > 1) {\n $$renderer2.push(`<!--[0--><span${attr_class(\"coverage svelte-uooa92\", void 0, { \"short\": coverage().answered < coverage().total })}${attr(\"title\", coverage().missing.length ? `No answer from ${coverage().missing.join(\", \")}` : \"Every machine answered\")}>${escape_html(coverage().answered)} of ${escape_html(coverage().total)} ${escape_html(coverage().total === 1 ? \"machine\" : \"machines\")}</span>`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--> <span class=\"figure svelte-uooa92\">${escape_html(money(summary().costUsd, true))} <span class=\"tag svelte-uooa92\">30d</span></span></span> <span class=\"ticks svelte-uooa92\" aria-hidden=\"true\"><!--[-->`);\n const each_array_4 = ensure_array_like(spark());\n for (let $$index_2 = 0, $$length = each_array_4.length; $$index_2 < $$length; $$index_2++) {\n let day = each_array_4[$$index_2];\n $$renderer2.push(`<span class=\"tick svelte-uooa92\"${attr(\"title\", `${stringify(day.date)}: ${stringify(money(day.cost, true))}`)}><span class=\"tick-fill svelte-uooa92\"${attr_style(`height: ${stringify(Math.max(8, day.cost / peak() * 100))}%`)}></span></span>`);\n }\n $$renderer2.push(`<!--]--></span></span></div>`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--></div>`);\n });\n}\nfunction SplitView($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { a, b } = $$props;\n const urlA = derived(() => paneUrl(a, fleetStore.servers(), selfName()));\n const urlB = derived(() => paneUrl(b, fleetStore.servers(), selfName()));\n const columns = derived(() => {\n if (splitStore.zoom === \"a\") return \"1fr 0 0\";\n if (splitStore.zoom === \"b\") return \"0 0 1fr\";\n const pct = Math.round(splitStore.ratio * 1e3) / 10;\n return `${pct}fr 6px ${100 - pct}fr`;\n });\n let resizing = false;\n function moveResize(e) {\n return;\n }\n function pane($$renderer3, side, ref, url, frame) {\n $$renderer3.push(`<section${attr_class(\"pane svelte-qscfzl\", void 0, {\n \"hidden\": splitStore.zoom !== null && splitStore.zoom !== side\n })}>`);\n if (frame === \"a\") {\n $$renderer3.push(`<!--[0--><iframe${attr(\"src\", url)}${attr(\"title\", ref.target)} allow=\"microphone; clipboard-read; clipboard-write\" class=\"svelte-qscfzl\"></iframe>`);\n } else {\n $$renderer3.push(`<!--[-1--><iframe${attr(\"src\", url)}${attr(\"title\", ref.target)} allow=\"microphone; clipboard-read; clipboard-write\" class=\"svelte-qscfzl\"></iframe>`);\n }\n $$renderer3.push(`<!--]--> `);\n if (splitStore.dragging) {\n $$renderer3.push(`<!--[0--><div class=\"drop svelte-qscfzl\" role=\"region\" aria-label=\"Drop a session here\">Replace this pane</div>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--> `);\n if (resizing) {\n $$renderer3.push(`<!--[0--><div class=\"shield svelte-qscfzl\"></div>`);\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]--></section>`);\n }\n let $$settled = true;\n let $$inner_renderer;\n function $$render_inner($$renderer3) {\n $$renderer3.push(`<div${attr_class(\"split svelte-qscfzl\", void 0, { \"dragging\": splitStore.dragging })}${attr_style(`grid-template-columns: ${stringify(columns())}`)}>`);\n pane($$renderer3, \"a\", a, urlA(), \"a\");\n $$renderer3.push(`<!----> <div${attr_class(\"divider-slot svelte-qscfzl\", void 0, { \"hidden\": splitStore.zoom !== null })}>`);\n ResizeDivider($$renderer3, {\n title: \"Drag to resize · double-click for 50/50\",\n onmove: moveResize,\n onreset: () => splitStore.setRatio(0.5),\n get resizing() {\n return resizing;\n },\n set resizing($$value) {\n resizing = $$value;\n $$settled = false;\n }\n });\n $$renderer3.push(`<!----></div> `);\n pane($$renderer3, \"b\", b, urlB(), \"b\");\n $$renderer3.push(`<!----></div>`);\n }\n do {\n $$settled = true;\n $$inner_renderer = $$renderer2.copy();\n $$render_inner($$inner_renderer);\n } while (!$$settled);\n $$renderer2.subsume($$inner_renderer);\n });\n}\nfunction NotificationCoordinator($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n });\n}\nfunction Loader_circle($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { $$slots, $$events, ...props } = $$props;\n const iconNode = [[\"path\", { \"d\": \"M21 12a9 9 0 1 1-6.219-8.56\" }]];\n Icon($$renderer2, spread_props([\n { name: \"loader-circle\" },\n /**\n * @component @name LoaderCircle\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJNMjEgMTJhOSA5IDAgMSAxLTYuMjE5LTguNTYiIC8+Cjwvc3ZnPgo=) - https://lucide.dev/icons/loader-circle\n * @see https://lucide.dev/guide/packages/lucide-svelte - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {FunctionalComponent} Svelte component\n *\n */\n props,\n {\n iconNode,\n children: ($$renderer3) => {\n props.children?.($$renderer3);\n $$renderer3.push(`<!---->`);\n },\n $$slots: { default: true }\n }\n ]));\n });\n}\nfunction Circle_check($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { $$slots, $$events, ...props } = $$props;\n const iconNode = [\n [\"circle\", { \"cx\": \"12\", \"cy\": \"12\", \"r\": \"10\" }],\n [\"path\", { \"d\": \"m9 12 2 2 4-4\" }]\n ];\n Icon($$renderer2, spread_props([\n { name: \"circle-check\" },\n /**\n * @component @name CircleCheck\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8cGF0aCBkPSJtOSAxMiAyIDIgNC00IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/circle-check\n * @see https://lucide.dev/guide/packages/lucide-svelte - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {FunctionalComponent} Svelte component\n *\n */\n props,\n {\n iconNode,\n children: ($$renderer3) => {\n props.children?.($$renderer3);\n $$renderer3.push(`<!---->`);\n },\n $$slots: { default: true }\n }\n ]));\n });\n}\nfunction Octagon_x($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { $$slots, $$events, ...props } = $$props;\n const iconNode = [\n [\"path\", { \"d\": \"m15 9-6 6\" }],\n [\n \"path\",\n {\n \"d\": \"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z\"\n }\n ],\n [\"path\", { \"d\": \"m9 9 6 6\" }]\n ];\n Icon($$renderer2, spread_props([\n { name: \"octagon-x\" },\n /**\n * @component @name OctagonX\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMTUgOS02IDYiIC8+CiAgPHBhdGggZD0iTTIuNTg2IDE2LjcyNkEyIDIgMCAwIDEgMiAxNS4zMTJWOC42ODhhMiAyIDAgMCAxIC41ODYtMS40MTRsNC42ODgtNC42ODhBMiAyIDAgMCAxIDguNjg4IDJoNi42MjRhMiAyIDAgMCAxIDEuNDE0LjU4Nmw0LjY4OCA0LjY4OEEyIDIgMCAwIDEgMjIgOC42ODh2Ni42MjRhMiAyIDAgMCAxLS41ODYgMS40MTRsLTQuNjg4IDQuNjg4YTIgMiAwIDAgMS0xLjQxNC41ODZIOC42ODhhMiAyIDAgMCAxLTEuNDE0LS41ODZ6IiAvPgogIDxwYXRoIGQ9Im05IDkgNiA2IiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/octagon-x\n * @see https://lucide.dev/guide/packages/lucide-svelte - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {FunctionalComponent} Svelte component\n *\n */\n props,\n {\n iconNode,\n children: ($$renderer3) => {\n props.children?.($$renderer3);\n $$renderer3.push(`<!---->`);\n },\n $$slots: { default: true }\n }\n ]));\n });\n}\nfunction Info($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { $$slots, $$events, ...props } = $$props;\n const iconNode = [\n [\"circle\", { \"cx\": \"12\", \"cy\": \"12\", \"r\": \"10\" }],\n [\"path\", { \"d\": \"M12 16v-4\" }],\n [\"path\", { \"d\": \"M12 8h.01\" }]\n ];\n Icon($$renderer2, spread_props([\n { name: \"info\" },\n /**\n * @component @name Info\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSIxMCIgLz4KICA8cGF0aCBkPSJNMTIgMTZ2LTQiIC8+CiAgPHBhdGggZD0iTTEyIDhoLjAxIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/info\n * @see https://lucide.dev/guide/packages/lucide-svelte - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {FunctionalComponent} Svelte component\n *\n */\n props,\n {\n iconNode,\n children: ($$renderer3) => {\n props.children?.($$renderer3);\n $$renderer3.push(`<!---->`);\n },\n $$slots: { default: true }\n }\n ]));\n });\n}\nfunction Triangle_alert($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n let { $$slots, $$events, ...props } = $$props;\n const iconNode = [\n [\n \"path\",\n {\n \"d\": \"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3\"\n }\n ],\n [\"path\", { \"d\": \"M12 9v4\" }],\n [\"path\", { \"d\": \"M12 17h.01\" }]\n ];\n Icon($$renderer2, spread_props([\n { name: \"triangle-alert\" },\n /**\n * @component @name TriangleAlert\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview ![img](data:image/svg+xml;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogIHdpZHRoPSIyNCIKICBoZWlnaHQ9IjI0IgogIHZpZXdCb3g9IjAgMCAyNCAyNCIKICBmaWxsPSJub25lIgogIHN0cm9rZT0iIzAwMCIgc3R5bGU9ImJhY2tncm91bmQtY29sb3I6ICNmZmY7IGJvcmRlci1yYWRpdXM6IDJweCIKICBzdHJva2Utd2lkdGg9IjIiCiAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIgogIHN0cm9rZS1saW5lam9pbj0icm91bmQiCj4KICA8cGF0aCBkPSJtMjEuNzMgMTgtOC0xNGEyIDIgMCAwIDAtMy40OCAwbC04IDE0QTIgMiAwIDAgMCA0IDIxaDE2YTIgMiAwIDAgMCAxLjczLTMiIC8+CiAgPHBhdGggZD0iTTEyIDl2NCIgLz4KICA8cGF0aCBkPSJNMTIgMTdoLjAxIiAvPgo8L3N2Zz4K) - https://lucide.dev/icons/triangle-alert\n * @see https://lucide.dev/guide/packages/lucide-svelte - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {FunctionalComponent} Svelte component\n *\n */\n props,\n {\n iconNode,\n children: ($$renderer3) => {\n props.children?.($$renderer3);\n $$renderer3.push(`<!---->`);\n },\n $$slots: { default: true }\n }\n ]));\n });\n}\nfunction Sonner_1($$renderer, $$props) {\n let { $$slots, $$events, ...restProps } = $$props;\n {\n let loadingIcon = function($$renderer2) {\n Loader_circle($$renderer2, { class: \"size-4 animate-spin\" });\n }, successIcon = function($$renderer2) {\n Circle_check($$renderer2, { class: \"size-4 text-emerald-400\" });\n }, errorIcon = function($$renderer2) {\n Octagon_x($$renderer2, { class: \"size-4\" });\n }, infoIcon = function($$renderer2) {\n Info($$renderer2, { class: \"size-4\" });\n }, warningIcon = function($$renderer2) {\n Triangle_alert($$renderer2, { class: \"size-4 text-amber-400\" });\n };\n Toaster($$renderer, spread_props([\n {\n theme: \"dark\",\n class: \"toaster group\",\n style: \"--normal-bg: #151516; --normal-text: hsl(var(--foreground)); --normal-border: #2a2a2c; --border-radius: 14px;\"\n },\n restProps,\n {\n loadingIcon,\n successIcon,\n errorIcon,\n infoIcon,\n warningIcon,\n $$slots: {\n loadingIcon: true,\n successIcon: true,\n errorIcon: true,\n infoIcon: true,\n warningIcon: true\n }\n }\n ]));\n }\n}\nfunction _layout($$renderer, $$props) {\n $$renderer.component(($$renderer2) => {\n var $$store_subs;\n let { children } = $$props;\n const embed = derived(() => store_get($$store_subs ??= {}, \"$page\", page).url.searchParams.has(\"embed\"));\n const route = derived(() => {\n const parsed = parseSessionPath(store_get($$store_subs ??= {}, \"$page\", page).url.pathname);\n return parsed && {\n ...parsed,\n ref: localRef(parsed.ref, fleetStore.servers(), selfName())\n };\n });\n const splitA = derived(() => route() && !route().ref.host ? parseRef(route().ref.target) : null);\n const splitB = derived(() => {\n const raw = store_get($$store_subs ??= {}, \"$page\", page).url.searchParams.get(\"with\");\n return raw ? parseRef(raw) : null;\n });\n const splitOn = derived(() => !embed() && splitA() !== null && splitB() !== null);\n const drawerOpen = derived(() => drawer.open);\n const narrow = new MediaQuery(DRAWER_MEDIA_QUERY);\n const drawerCovers = derived(() => drawerOpen() && narrow.current);\n const DEFAULT_WIDTH = 300;\n let sidebarWidth = DEFAULT_WIDTH;\n let isResizing = false;\n const showSidebar = derived(() => route() !== null || isPastPath(store_get($$store_subs ??= {}, \"$page\", page).url.pathname));\n const currentTarget = derived(() => route() && !route().ref.host && !route().rest ? route().ref.target : null);\n const viewing = derived(() => {\n if (splitOn()) return [\n splitA(),\n localRef(splitB(), fleetStore.servers(), selfName())\n ];\n return route() && !route().rest ? [route().ref] : [];\n });\n const currentSession = derived(() => sessionStore.sessions.find((s) => s.tmux_target === currentTarget() || s.id === currentTarget()));\n onDestroy(() => {\n sessionStore.disconnect();\n });\n function closeDrawer() {\n drawer.close();\n }\n head(\"12qhfyh\", $$renderer2, ($$renderer3) => {\n $$renderer3.push(`<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalable=no, viewport-fit=cover\"/> `);\n $$renderer3.push(`<script src=\"https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js\"><\\/script>`);\n });\n if (!embed()) {\n $$renderer2.push(\"<!--[0-->\");\n NotificationCoordinator($$renderer2, { viewing: viewing() });\n $$renderer2.push(`<!----> `);\n Sonner_1($$renderer2, { position: \"top-right\", closeButton: true });\n $$renderer2.push(`<!---->`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--> `);\n if (showSidebar() && !embed()) {\n $$renderer2.push(`<!--[0--><div${attr_class(\"app-shell svelte-12qhfyh\", void 0, { \"resizing-any\": isResizing })}><aside${attr_class(\"sidebar svelte-12qhfyh\", void 0, { \"open\": drawerOpen(), \"resizing\": isResizing })}${attr_style(`--sidebar-width: ${stringify(sidebarWidth)}px`)}><div class=\"sidebar-content svelte-12qhfyh\">`);\n AllSessionsPanel($$renderer2, { compact: true, onSessionSelect: closeDrawer });\n $$renderer2.push(`<!----></div> `);\n {\n let lead = function($$renderer3) {\n if (currentSession()) {\n $$renderer3.push(\"<!--[0-->\");\n ScreenshotsPanel($$renderer3, {\n sessionId: currentSession().id,\n screenshots: currentSession().screenshots ?? []\n });\n } else {\n $$renderer3.push(\"<!--[-1-->\");\n }\n $$renderer3.push(`<!--]-->`);\n };\n SidebarMeters($$renderer2, { lead });\n }\n $$renderer2.push(`<!----> <div class=\"resize-handle svelte-12qhfyh\" role=\"separator\" aria-orientation=\"vertical\"></div></aside> <main class=\"content svelte-12qhfyh\"${attr(\"inert\", drawerCovers(), true)}>`);\n if (splitOn() && splitA() && splitB()) {\n $$renderer2.push(\"<!--[0-->\");\n SplitView($$renderer2, { a: splitA(), b: splitB() });\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n children($$renderer2);\n $$renderer2.push(`<!----> `);\n if (splitStore.dragging && splitA()) {\n $$renderer2.push(`<!--[0--><div class=\"split-drop svelte-12qhfyh\" role=\"region\" aria-label=\"Drop to open side by side\"><span>Open side by side</span></div>`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]-->`);\n }\n $$renderer2.push(`<!--]--></main> `);\n if (drawerOpen()) {\n $$renderer2.push(`<!--[0--><button class=\"backdrop svelte-12qhfyh\" aria-label=\"Close menu\"></button>`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n }\n $$renderer2.push(`<!--]--></div>`);\n } else if (embed()) {\n $$renderer2.push(`<!--[1--><div class=\"embed-shell svelte-12qhfyh\">`);\n children($$renderer2);\n $$renderer2.push(`<!----></div>`);\n } else {\n $$renderer2.push(\"<!--[-1-->\");\n children($$renderer2);\n $$renderer2.push(`<!---->`);\n }\n $$renderer2.push(`<!--]-->`);\n if ($$store_subs) unsubscribe_stores($$store_subs);\n });\n}\nexport {\n _layout as default\n};\n//# sourceMappingURL=_layout.svelte.js.map\n"],"mappings":";;;;;;;;;;;;;;;AAWA,SAAS,KAAK,KAAK,OAAO,CAAC,GAAG;CAE1B,MAAM,IAAI,MAAM,qCAAqC;AAEzD;AACA,MAAM,kBAAkB;CACtB,MAAM,SAAS,WAAW,YAAY;CACtC,OAAO;;EAEL,MAAM,EACJ,WAAW,OAAO,KAAK,UACzB;;EAEA,YAAY,EACV,WAAW,OAAO,WAAW,UAC/B;;EAEA,SAAS,OAAO;CAClB;AACF;AACA,MAAM,OAAO,EACX,UAAU,IAAI;CAEZ,OADc,UAAU,CAAC,CAAC,KACb,UAAU,EAAE;AAC3B,EACF;AACA,MAAM,qBAAqB;AAC3B,IAAM,cAAN,MAAkB;CAChB,OAAO;CACP,SAAS;EACP,KAAK,OAAO,CAAC,KAAK;CACpB;CACA,QAAQ;EACN,KAAK,OAAO;CACd;AACF;AACA,MAAM,SAAS,IAAI,YAAY;AAC/B,MAAM,iBAAiB;CACrB;CACA;CACA;CACA;AACF;AACA,SAAS,eAAe;CACtB,IAAI,OAAO,kBAAkB,aAAa,OAAO;CACjD,KAAK,MAAM,KAAK,gBACd,IAAI,cAAc,gBAAgB,CAAC,GAAG,OAAO;CAE/C,OAAO;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