@intent-hq/web 2.334.2 → 2.334.4

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 (280) hide show
  1. package/bin/intent-web.mjs +4 -0
  2. package/package.json +1 -1
  3. package/web/app/immutable/chunks/{Cfb3Qeug.js → -TOEU8_A.js} +1 -1
  4. package/web/app/immutable/chunks/-cH4Kg6N.js +271 -0
  5. package/web/app/immutable/chunks/1hAIZvxV.js +1 -0
  6. package/web/app/immutable/chunks/{ayrFAfGH.js → 41-5FPAW.js} +1 -1
  7. package/web/app/immutable/chunks/{CZ_kVWbN.js → 50HPeG9s.js} +2 -2
  8. package/web/app/immutable/chunks/{Bobasviv.js → 5VMy_i47.js} +1 -1
  9. package/web/app/immutable/chunks/{Bdtl8KA4.js → 66MF_whg.js} +1 -1
  10. package/web/app/immutable/chunks/{CfcCegh1.js → B--DS5uB.js} +1 -1
  11. package/web/app/immutable/chunks/{Dye-X7T_.js → B-Y3a_F8.js} +1 -1
  12. package/web/app/immutable/chunks/{35OKERyz.js → B1mjFyJY.js} +3 -3
  13. package/web/app/immutable/chunks/{Ct1LOYoS.js → B25gpTlR.js} +7 -7
  14. package/web/app/immutable/chunks/{Dzg-ll0I.js → B2MOO6xN.js} +1 -1
  15. package/web/app/immutable/chunks/{D9qxaQL5.js → B2g0crjj.js} +1 -1
  16. package/web/app/immutable/chunks/{DGUKdi7i.js → B3fQCNI5.js} +1 -1
  17. package/web/app/immutable/chunks/{B3KrGqdQ.js → B4USm-wY.js} +1 -1
  18. package/web/app/immutable/chunks/{HZf189bi.js → B5PFzC2T.js} +1 -1
  19. package/web/app/immutable/chunks/B8IlgGpJ.js +2 -0
  20. package/web/app/immutable/chunks/{DxGil5MD.js → B8gqvCgY.js} +1 -1
  21. package/web/app/immutable/chunks/{DYNXYjAR.js → BAJMpiJG.js} +2 -2
  22. package/web/app/immutable/chunks/{BuxSPewv.js → BAnLxjCI.js} +1 -1
  23. package/web/app/immutable/chunks/{cryzjV1m.js → BB8HM8Ay.js} +1 -1
  24. package/web/app/immutable/chunks/{DJ_QkvrV.js → BBQmqbzc.js} +2 -2
  25. package/web/app/immutable/chunks/{Bv6lXJbF.js → BC2HtpIa.js} +1 -1
  26. package/web/app/immutable/chunks/{Az9OQ8Pw.js → BCF9Fm7Q.js} +3 -3
  27. package/web/app/immutable/chunks/{D8UOq-cZ.js → BCGyPRue.js} +1 -1
  28. package/web/app/immutable/chunks/{Dk-fSG07.js → BCvW5fLL.js} +1 -1
  29. package/web/app/immutable/chunks/{Df-CfLbF.js → BD9hiuYU.js} +1 -1
  30. package/web/app/immutable/chunks/{CHfzOEVZ.js → BI3Qf00U.js} +1 -1
  31. package/web/app/immutable/chunks/{CO7hmy56.js → BMSasEAE.js} +1 -1
  32. package/web/app/immutable/chunks/{V_REijln.js → BOE4Qfjf.js} +1 -1
  33. package/web/app/immutable/chunks/{BxMH5MYD.js → BOSe_KRq.js} +1 -1
  34. package/web/app/immutable/chunks/{DTEa5xLA.js → BOWbyG8Q.js} +1 -1
  35. package/web/app/immutable/chunks/{D-v3doGL.js → BRmUBbbw.js} +1 -1
  36. package/web/app/immutable/chunks/{CXKfuiUF.js → BUpQz-Qr.js} +1 -1
  37. package/web/app/immutable/chunks/{BdiB84y6.js → BVA72xzt.js} +1 -1
  38. package/web/app/immutable/chunks/{uNB-15BN.js → BVVMn1l6.js} +1 -1
  39. package/web/app/immutable/chunks/{BV7IkfLg.js → BWJ-0D-2.js} +1 -1
  40. package/web/app/immutable/chunks/{D9wogWMJ.js → BWpYhzs2.js} +1 -1
  41. package/web/app/immutable/chunks/{BsbCFjWI.js → BYSg53cw.js} +1 -1
  42. package/web/app/immutable/chunks/{CKJpktTE.js → BYddvidz.js} +1 -1
  43. package/web/app/immutable/chunks/{CxObU6mx.js → BZGUu0nU.js} +3 -3
  44. package/web/app/immutable/chunks/{SQzrn-hj.js → Ba7P2HkQ.js} +1 -1
  45. package/web/app/immutable/chunks/{D3DGxoeO.js → BbOFhOMi.js} +1 -1
  46. package/web/app/immutable/chunks/{CXzbClP6.js → BbWjr_LM.js} +1 -1
  47. package/web/app/immutable/chunks/{CP_jYxTi.js → Bbj-7Bri.js} +1 -1
  48. package/web/app/immutable/chunks/{D4_SdDSY.js → BcBl1qMn.js} +2 -2
  49. package/web/app/immutable/chunks/{BB4mIFvl.js → BdpYl7Gv.js} +2 -2
  50. package/web/app/immutable/chunks/{CjijEKrk.js → BfL2wXdk.js} +1 -1
  51. package/web/app/immutable/chunks/{DyBxytvu.js → Bfwh7fx_.js} +1 -1
  52. package/web/app/immutable/chunks/{84oPQ-Z5.js → Bgmz76v7.js} +1 -1
  53. package/web/app/immutable/chunks/{CNG639uN.js → BiWS3oN6.js} +2 -2
  54. package/web/app/immutable/chunks/{DkPqbYEN.js → Bj6JKTal.js} +1 -1
  55. package/web/app/immutable/chunks/{Qk-BsDf0.js → BmywI7Lw.js} +1 -1
  56. package/web/app/immutable/chunks/{CqrY9mln.js → BnZxq056.js} +1 -1
  57. package/web/app/immutable/chunks/{BIsYlFzn.js → BnsMMXeG.js} +1 -1
  58. package/web/app/immutable/chunks/{BE3xHJK-.js → Bny-l-GH.js} +1 -1
  59. package/web/app/immutable/chunks/{BHNjUi-M.js → BpLDGdQv.js} +1 -1
  60. package/web/app/immutable/chunks/{PA5tKchu.js → BrB3whqv.js} +1 -1
  61. package/web/app/immutable/chunks/{EuR2YZ_C.js → BrH3hKEJ.js} +1 -1
  62. package/web/app/immutable/chunks/{BrfSOvfx.js → Bs3DdycY.js} +1 -1
  63. package/web/app/immutable/chunks/{9oNS7b_T.js → Bsy-6OEk.js} +1 -1
  64. package/web/app/immutable/chunks/{B-1pTbth.js → Bt0YZiXp.js} +1 -1
  65. package/web/app/immutable/chunks/{BQvAnzVz.js → BvK0-XNr.js} +1 -1
  66. package/web/app/immutable/chunks/{CSSojjBG.js → BvO0fAmb.js} +1 -1
  67. package/web/app/immutable/chunks/{RRAwtvUd.js → BvZf2Y4o.js} +1 -1
  68. package/web/app/immutable/chunks/{xTKdEUQT.js → BvwTVYo5.js} +1 -1
  69. package/web/app/immutable/chunks/{B4egTWvZ.js → BwgDMBNS.js} +1 -1
  70. package/web/app/immutable/chunks/BwwEJ73s.js +1 -0
  71. package/web/app/immutable/chunks/{BcKZevFv.js → BwxmdpQk.js} +1 -1
  72. package/web/app/immutable/chunks/{BJGFYlGb.js → BxmfBtHG.js} +1 -1
  73. package/web/app/immutable/chunks/{tj2YkYbp.js → Bxnl9yMf.js} +1 -1
  74. package/web/app/immutable/chunks/{DXmtjPbD.js → BzP4gCLt.js} +1 -1
  75. package/web/app/immutable/chunks/{DO346qNj.js → C0IuX8Tw.js} +1 -1
  76. package/web/app/immutable/chunks/{GcxLTXiO.js → C0fLKaB9.js} +1 -1
  77. package/web/app/immutable/chunks/{B7TKG7Bc.js → C1wyQWdd.js} +2 -2
  78. package/web/app/immutable/chunks/{CIqnL4UD.js → C3cmIhWo.js} +1 -1
  79. package/web/app/immutable/chunks/{tO-hey33.js → C3vze1oW.js} +1 -1
  80. package/web/app/immutable/chunks/{C4w7bKuP.js → C4-YEGNY.js} +1 -1
  81. package/web/app/immutable/chunks/{DzQlISID.js → C4Yfp_TG.js} +1 -1
  82. package/web/app/immutable/chunks/{Bg69H70_.js → C58MXMyI.js} +1 -1
  83. package/web/app/immutable/chunks/{BKPhrwG0.js → C6KqUwgB.js} +1 -1
  84. package/web/app/immutable/chunks/{Ci__OGHt.js → C6zJgX6A.js} +1 -1
  85. package/web/app/immutable/chunks/{BqvnKOi9.js → C7MBFDJp.js} +1 -1
  86. package/web/app/immutable/chunks/{BjWMcF7P.js → C8688obU.js} +1 -1
  87. package/web/app/immutable/chunks/{D_i6tc5B.js → C8fRBF3p.js} +1 -1
  88. package/web/app/immutable/chunks/{P0G8SF-C.js → CBHhz236.js} +1 -1
  89. package/web/app/immutable/chunks/{H6rH-O5e.js → CDuldEDb.js} +1 -1
  90. package/web/app/immutable/chunks/CEL6QztG.js +1 -0
  91. package/web/app/immutable/chunks/{YQg_WR6M.js → CFuCenWl.js} +1 -1
  92. package/web/app/immutable/chunks/{C3KFiFcK.js → CGSth7XF.js} +1 -1
  93. package/web/app/immutable/chunks/{h_b6HIC4.js → CGgST5OQ.js} +1 -1
  94. package/web/app/immutable/chunks/{BAOVYkFF.js → CGjjowC8.js} +1 -1
  95. package/web/app/immutable/chunks/{C02vDFWb.js → CGlMnf5q.js} +1 -1
  96. package/web/app/immutable/chunks/{Cd_9iDaC.js → CI3pmd4G.js} +1 -1
  97. package/web/app/immutable/chunks/{C1ZTS4Sh.js → CJ-BFgZd.js} +1 -1
  98. package/web/app/immutable/chunks/{Ckm2No1k.js → CJDCNDP4.js} +1 -1
  99. package/web/app/immutable/chunks/{CnrqTlrs.js → CJsd_APB.js} +1 -1
  100. package/web/app/immutable/chunks/{Wjuib0ag.js → CLBCoidh.js} +1 -1
  101. package/web/app/immutable/chunks/{FEnI6pqw.js → CSYmlQ7_.js} +1 -1
  102. package/web/app/immutable/chunks/CSf8qtlt.js +1 -0
  103. package/web/app/immutable/chunks/{CKaKgIKD.js → CSvJVg_I.js} +4 -4
  104. package/web/app/immutable/chunks/CV0Fs-12.js +1 -0
  105. package/web/app/immutable/chunks/{5gyILap3.js → CWLZOeon.js} +1 -1
  106. package/web/app/immutable/chunks/{Dmoe9MK3.js → CXqkKZxQ.js} +1 -1
  107. package/web/app/immutable/chunks/{DEz9kFbW.js → CY6nFc9b.js} +1 -1
  108. package/web/app/immutable/chunks/{BC6AKL03.js → CYgoZYHa.js} +1 -1
  109. package/web/app/immutable/chunks/{q6xIsTef.js → CaEWxG5p.js} +2 -2
  110. package/web/app/immutable/chunks/{DuD0elPz.js → CbM8k2mZ.js} +1 -1
  111. package/web/app/immutable/chunks/{O8s5IMhm.js → CcOMWwsU.js} +1 -1
  112. package/web/app/immutable/chunks/{Cxbk0QV6.js → CcXckLs7.js} +1 -1
  113. package/web/app/immutable/chunks/{m5UczIQR.js → Cd_8r4jJ.js} +3 -3
  114. package/web/app/immutable/chunks/{CMXoRP_2.js → Ced3NNcG.js} +1 -1
  115. package/web/app/immutable/chunks/{DbbZJ-ci.js → Ceq7cv95.js} +9 -9
  116. package/web/app/immutable/chunks/{DbWOkCcI.js → CgU9RNu2.js} +1 -1
  117. package/web/app/immutable/chunks/{BfNeIJAh.js → CiSnSGvU.js} +1 -1
  118. package/web/app/immutable/chunks/{Bxd9OUMD.js → Cjx3j-9r.js} +1 -1
  119. package/web/app/immutable/chunks/{Bm8WkBC5.js → ClCRB_mv.js} +1 -1
  120. package/web/app/immutable/chunks/{BuNYZSRv.js → Cn76YSbd.js} +1 -1
  121. package/web/app/immutable/chunks/{DMW_Ogh_.js → CqHS-vG9.js} +1 -1
  122. package/web/app/immutable/chunks/{D7R04yQS.js → CqdcwUul.js} +1 -1
  123. package/web/app/immutable/chunks/{CmSOlSZC.js → CqpFmLF1.js} +1 -1
  124. package/web/app/immutable/chunks/{DgEbpU39.js → CrrEv2rL.js} +1 -1
  125. package/web/app/immutable/chunks/{C5sAinDF.js → CsBjcw-w.js} +1 -1
  126. package/web/app/immutable/chunks/{BfDRfZ1x.js → CsUbymBr.js} +1 -1
  127. package/web/app/immutable/chunks/{D8NIsfN6.js → CtspFCnO.js} +1 -1
  128. package/web/app/immutable/chunks/CuAWwBFc.js +1 -0
  129. package/web/app/immutable/chunks/{DCCFERAn.js → CuEQVba7.js} +1 -1
  130. package/web/app/immutable/chunks/{Dv8x14z4.js → CuWBzd-F.js} +1 -1
  131. package/web/app/immutable/chunks/{DyrELBv-.js → CwDVmyxq.js} +1 -1
  132. package/web/app/immutable/chunks/CxJbFBxw.js +1 -0
  133. package/web/app/immutable/chunks/{1a35li_H.js → Cz2XOG-L.js} +1 -1
  134. package/web/app/immutable/chunks/{C7Fm8r7x.js → D-Brs8OV.js} +1 -1
  135. package/web/app/immutable/chunks/{CGn9WrVN.js → D2mgiwW6.js} +1 -1
  136. package/web/app/immutable/chunks/{D6yTIC5N.js → D3LGlsX3.js} +1 -1
  137. package/web/app/immutable/chunks/{Co38dt7I.js → D3u1ZDXs.js} +1 -1
  138. package/web/app/immutable/chunks/{CRc5ctc6.js → D4jQS0eM.js} +1 -1
  139. package/web/app/immutable/chunks/{pQONxOXo.js → D51IE5D2.js} +1 -1
  140. package/web/app/immutable/chunks/{CaLGGtgx.js → D5JZ5TDM.js} +3 -3
  141. package/web/app/immutable/chunks/{C1mdnBVP.js → D613d4CE.js} +1 -1
  142. package/web/app/immutable/chunks/{CQBJXrfq.js → D81SHt2l.js} +1 -1
  143. package/web/app/immutable/chunks/{C0FI_9IJ.js → D9eQxumT.js} +2 -2
  144. package/web/app/immutable/chunks/{DKw2ZZkQ.js → DDugF1XE.js} +2 -2
  145. package/web/app/immutable/chunks/{71wna1Z8.js → DEr3f155.js} +1 -1
  146. package/web/app/immutable/chunks/{sT0KaY62.js → DEy3an7K.js} +1 -1
  147. package/web/app/immutable/chunks/{MXIhoqMp.js → DFWkFU6G.js} +1 -1
  148. package/web/app/immutable/chunks/DHM67VRx.js +1 -0
  149. package/web/app/immutable/chunks/{DGi2Fba3.js → DIwBqoFo.js} +1 -1
  150. package/web/app/immutable/chunks/{BIq2Xhur.js → DJbDjFTs.js} +1 -1
  151. package/web/app/immutable/chunks/{BzOameBd.js → DJuQfCSS.js} +1 -1
  152. package/web/app/immutable/chunks/{CGVLIZz9.js → DN6L1ZrJ.js} +1 -1
  153. package/web/app/immutable/chunks/{CQYxiSKc.js → DNc3c430.js} +2 -2
  154. package/web/app/immutable/chunks/{DE2wtizW.js → DPkE3Irc.js} +1 -1
  155. package/web/app/immutable/chunks/{CfwVmHCf.js → DRRip4Qe.js} +1 -1
  156. package/web/app/immutable/chunks/{oJD7n1Ce.js → DR_tn5Kl.js} +1 -1
  157. package/web/app/immutable/chunks/DS8-U49C.js +1 -0
  158. package/web/app/immutable/chunks/DSLbxDPz.js +1 -0
  159. package/web/app/immutable/chunks/{k3FE0FJZ.js → DTClNSVs.js} +1 -1
  160. package/web/app/immutable/chunks/{D71eQlAo.js → DUMFiDJG.js} +1 -1
  161. package/web/app/immutable/chunks/{CoVAqVcd.js → DVGdl5mM.js} +1 -1
  162. package/web/app/immutable/chunks/{DPw7hFRN.js → DXA93DnF.js} +2 -2
  163. package/web/app/immutable/chunks/{C5vuxPIj.js → DXDNvQ8c.js} +1 -1
  164. package/web/app/immutable/chunks/DXyCbCG4.js +1 -0
  165. package/web/app/immutable/chunks/{Diees_tN.js → DY6owuVr.js} +1 -1
  166. package/web/app/immutable/chunks/{Dk1_0x0Q.js → DYfeeu3f.js} +1 -1
  167. package/web/app/immutable/chunks/{DGcTdGo8.js → DYizsZut.js} +1 -1
  168. package/web/app/immutable/chunks/{BLxkwNki.js → DZWmQz5X.js} +1 -1
  169. package/web/app/immutable/chunks/{RlWPb-l5.js → DZo9MSm2.js} +1 -1
  170. package/web/app/immutable/chunks/{DwfTQh-H.js → Da5ikdTd.js} +1 -1
  171. package/web/app/immutable/chunks/{w1vzEwno.js → DanU7KQt.js} +1 -1
  172. package/web/app/immutable/chunks/{CEboTiDi.js → DbXcLBX5.js} +3 -3
  173. package/web/app/immutable/chunks/{DxFUSFjo.js → Dbpx98ZW.js} +1 -1
  174. package/web/app/immutable/chunks/{td5hg6sa.js → DcegHVv8.js} +1 -1
  175. package/web/app/immutable/chunks/{BAzeccV1.js → DcqkXn9i.js} +1 -1
  176. package/web/app/immutable/chunks/{AatSgrMY.js → DeRdhkHZ.js} +1 -1
  177. package/web/app/immutable/chunks/{BHVl-WA3.js → DebBES3M.js} +1 -1
  178. package/web/app/immutable/chunks/{DcZ6Y3e4.js → DhqOVtmg.js} +1 -1
  179. package/web/app/immutable/chunks/{CE0qVU3E.js → DiQPrKdw.js} +1 -1
  180. package/web/app/immutable/chunks/{98zeaLhZ.js → DistMkl2.js} +4 -4
  181. package/web/app/immutable/chunks/{tJ85SevO.js → Dl2HfqsO.js} +1 -1
  182. package/web/app/immutable/chunks/{CArqGgyL.js → Dml826jn.js} +1 -1
  183. package/web/app/immutable/chunks/{DAGiwOmW.js → DnKg2UsP.js} +1 -1
  184. package/web/app/immutable/chunks/{BB_nvikr.js → Do-q4-tL.js} +3 -3
  185. package/web/app/immutable/chunks/{2cP0f-ZS.js → DrFCxV5f.js} +1 -1
  186. package/web/app/immutable/chunks/{BWLkc8Du.js → DsgX6aFj.js} +1 -1
  187. package/web/app/immutable/chunks/{BF68vBH8.js → DwovkWl8.js} +1 -1
  188. package/web/app/immutable/chunks/{CgWmg0h0.js → Dz2X4bjq.js} +1 -1
  189. package/web/app/immutable/chunks/{mdduA0pr.js → FjbzmN5N.js} +1 -1
  190. package/web/app/immutable/chunks/{yLsotFg8.js → G3hahPKG.js} +1 -1
  191. package/web/app/immutable/chunks/{DoF4MEp9.js → Iv4WzslT.js} +1 -1
  192. package/web/app/immutable/chunks/{D9-PpMwq.js → J08yAvVE.js} +1 -1
  193. package/web/app/immutable/chunks/{DFGudu4t.js → L9gWdMu_.js} +1 -1
  194. package/web/app/immutable/chunks/{d3gRw0Do.js → LF6JrNMn.js} +2 -2
  195. package/web/app/immutable/chunks/{CSpV9hdy.js → MohDaz1W.js} +2 -2
  196. package/web/app/immutable/chunks/{zMvJMha7.js → PotN_tv7.js} +1 -1
  197. package/web/app/immutable/chunks/{BU9Iey12.js → QiVjRpIE.js} +1 -1
  198. package/web/app/immutable/chunks/{CiQ6prZ_.js → SFie6UfG.js} +1 -1
  199. package/web/app/immutable/chunks/{DfBE7crq.js → T4aQylmi.js} +1 -1
  200. package/web/app/immutable/chunks/{DaaWvDkX.js → UdI8St87.js} +1 -1
  201. package/web/app/immutable/chunks/{BVL9duQ5.js → W61kh8fv.js} +6 -6
  202. package/web/app/immutable/chunks/{GY5YfSD1.js → WAMpa_Dp.js} +1 -1
  203. package/web/app/immutable/chunks/{CDSwBgYD.js → YWYRemCe.js} +1 -1
  204. package/web/app/immutable/chunks/{CMOnvdXp.js → Z33USrkv.js} +1 -1
  205. package/web/app/immutable/chunks/{BxlBk-YD.js → ZBqfJekw.js} +1 -1
  206. package/web/app/immutable/chunks/{Bcj40e95.js → ZQGx2tXF.js} +1 -1
  207. package/web/app/immutable/chunks/{Dw5VqvaP.js → _HObNlpG.js} +1 -1
  208. package/web/app/immutable/chunks/{CzM51AXZ.js → _UdqBB2L.js} +1 -1
  209. package/web/app/immutable/chunks/{ByJNkQwF.js → _sWyQxbQ.js} +2 -2
  210. package/web/app/immutable/chunks/{Cmu_2tL6.js → aS0Ledp-.js} +1 -1
  211. package/web/app/immutable/chunks/{BCGsV37m.js → ax0jsJgC.js} +1 -1
  212. package/web/app/immutable/chunks/{CmyB5JxB.js → bUGfWLiY.js} +1 -1
  213. package/web/app/immutable/chunks/{BTnJmaeL.js → by2sennB.js} +1 -1
  214. package/web/app/immutable/chunks/{DR6Ht6M1.js → cKtqmo72.js} +3 -3
  215. package/web/app/immutable/chunks/{mCK8DuNp.js → eydIaLOC.js} +1 -1
  216. package/web/app/immutable/chunks/{nd4329YU.js → fnykVBc7.js} +1 -1
  217. package/web/app/immutable/chunks/gPgah2l4.js +1 -0
  218. package/web/app/immutable/chunks/{4doVsrTt.js → hNHk4Bez.js} +1 -1
  219. package/web/app/immutable/chunks/{D2laB2lQ.js → hf8xs0et.js} +1 -1
  220. package/web/app/immutable/chunks/{Bd-UWJsU.js → iEpqOaep.js} +1 -1
  221. package/web/app/immutable/chunks/{5lryxeCY.js → jQoVJUan.js} +4 -4
  222. package/web/app/immutable/chunks/{C7Ro1E0r.js → k4xkU4Qm.js} +1 -1
  223. package/web/app/immutable/chunks/{7AKPDTqy.js → kzOxdO3b.js} +1 -1
  224. package/web/app/immutable/chunks/{CCPn5VZR.js → mGS2HqB-.js} +1 -1
  225. package/web/app/immutable/chunks/{O-buqhJY.js → ms_dJmyn.js} +1 -1
  226. package/web/app/immutable/chunks/{CESOOiWP.js → noMaO2Xd.js} +1 -1
  227. package/web/app/immutable/chunks/{DJlAXimI.js → pBwXi0xp.js} +12 -12
  228. package/web/app/immutable/chunks/{DXO_adPf.js → pU8ZyAzb.js} +1 -1
  229. package/web/app/immutable/chunks/{DCD7Mz5K.js → q1Qi1tRJ.js} +1 -1
  230. package/web/app/immutable/chunks/{G3lcIaVb.js → qy2N5-_J.js} +1 -1
  231. package/web/app/immutable/chunks/{LRsTXnWs.js → rVFNKqUq.js} +1 -1
  232. package/web/app/immutable/chunks/{BhJWXUqD.js → tCQts2qZ.js} +1 -1
  233. package/web/app/immutable/chunks/{DFEZjAED.js → uRN7AKow.js} +1 -1
  234. package/web/app/immutable/chunks/{Z1K5P4U2.js → vHSQX6dH.js} +1 -1
  235. package/web/app/immutable/chunks/{Cl-7Au8R.js → wwtnRh6M.js} +1 -1
  236. package/web/app/immutable/chunks/{MCnrQrjH.js → xqulUQTc.js} +1 -1
  237. package/web/app/immutable/chunks/{CnMdEUN9.js → yn6WWSq8.js} +1 -1
  238. package/web/app/immutable/chunks/{DXNrmOAj.js → zKAv0Iid.js} +1 -1
  239. package/web/app/immutable/chunks/{DpeaMqro.js → znAltH1L.js} +4 -4
  240. package/web/app/immutable/entry/{app.BAAMRv7O.js → app.DVdz1aQK.js} +3 -3
  241. package/web/app/immutable/entry/start.CP_dOJoI.js +1 -0
  242. package/web/app/immutable/nodes/{0.DyD0fi7b.js → 0.1qBEgFWI.js} +1 -1
  243. package/web/app/immutable/nodes/{1.BRJugl3H.js → 1.iJqMO56i.js} +1 -1
  244. package/web/app/immutable/nodes/{10.DU8LBbo3.js → 10.Dtdcvc6-.js} +1 -1
  245. package/web/app/immutable/nodes/{11.CVezrggv.js → 11.wyckreZw.js} +1 -1
  246. package/web/app/immutable/nodes/{12.BPw8mLRI.js → 12.-lyhlsld.js} +1 -1
  247. package/web/app/immutable/nodes/{13.DEB8Wg7Z.js → 13.BEDgKBg7.js} +3 -3
  248. package/web/app/immutable/nodes/{14.lTJrp1kU.js → 14.BRod9dtf.js} +1 -1
  249. package/web/app/immutable/nodes/{15.FeIesTUd.js → 15.BOsyruq5.js} +1 -1
  250. package/web/app/immutable/nodes/{16.CxMj36A8.js → 16.Dep56xFc.js} +2 -2
  251. package/web/app/immutable/nodes/{17.UWmox1Xi.js → 17.B-vrsgfn.js} +2 -2
  252. package/web/app/immutable/nodes/{2.CvCIoPSO.js → 2.BLWWZTlf.js} +12 -12
  253. package/web/app/immutable/nodes/{3.CiC6Pfn1.js → 3.DGf0u_3o.js} +2 -2
  254. package/web/app/immutable/nodes/4.B1fIfTX2.js +1 -0
  255. package/web/app/immutable/nodes/{5.BLr7NlgQ.js → 5.CJgBMBBF.js} +1 -1
  256. package/web/app/immutable/nodes/{6.D5uxDNVM.js → 6.CUqou9xf.js} +1 -1
  257. package/web/app/immutable/nodes/7.DBynvHNx.js +1 -0
  258. package/web/app/immutable/nodes/{8.YvvNLxxs.js → 8.BFuKMy6D.js} +4 -4
  259. package/web/app/immutable/nodes/{9.BiG9XKa-.js → 9.CVLLynGu.js} +5 -5
  260. package/web/app/version.json +1 -1
  261. package/web/generated/paraglide.js +49 -49
  262. package/web/index.html +19 -19
  263. package/web/inline-html-sandbox.html +33 -0
  264. package/web/app/immutable/chunks/B-lr2mEf.js +0 -1
  265. package/web/app/immutable/chunks/BG8GLROv.js +0 -1
  266. package/web/app/immutable/chunks/BTKF7gxr.js +0 -2
  267. package/web/app/immutable/chunks/BeA8kzlg.js +0 -1
  268. package/web/app/immutable/chunks/C1MSnWt8.js +0 -1
  269. package/web/app/immutable/chunks/C7wbrsvU.js +0 -1
  270. package/web/app/immutable/chunks/Ckt4hpBJ.js +0 -1
  271. package/web/app/immutable/chunks/Ctfb1OGa.js +0 -271
  272. package/web/app/immutable/chunks/DDh9M6q9.js +0 -1
  273. package/web/app/immutable/chunks/DTKQLf-J.js +0 -1
  274. package/web/app/immutable/chunks/Dso1_H3c.js +0 -1
  275. package/web/app/immutable/chunks/Ld5BQbYA.js +0 -1
  276. package/web/app/immutable/chunks/jrcipDnr.js +0 -1
  277. package/web/app/immutable/chunks/o_iWJsCl.js +0 -1
  278. package/web/app/immutable/entry/start.BEVcXDol.js +0 -1
  279. package/web/app/immutable/nodes/4.BOU-eZjM.js +0 -1
  280. package/web/app/immutable/nodes/7.CDiSYs4g.js +0 -1
@@ -1 +1 @@
1
- import{bo as t}from"./Dso1_H3c.js";function _(e){return e.hostRole?e.hostRole:e.owner?"owner":e.online===!1?"offline":e.online===!0?"member":null}function s(e){return e.displayName?.trim()||e.login?.trim()||t.presence_person_unknown_label()}function i(e){const n=e.identity;if(!n)return null;const r=e.login?.trim();return n.provider==="gitlab"?r?t.presence_person_gitlabHandle_label({login:`@${r}`,host:n.host}):t.workspace_share_pinProvider_gitlab_label({host:n.host}):r?t.presence_person_githubHandle_label({login:`@${r}`}):t.workspace_share_pinProvider_github_label()}function a(e){const n=i(e);if(!n)return s(e);const r=e.displayName?.trim(),o=e.login?.trim();return r&&r.replace(/^@/,"").toLowerCase()!==o?.toLowerCase()?t.presence_person_forge_label({name:r,handle:n}):n}function u(e){const n=a(e),r=e.self?t.presence_person_you_label({name:n}):n;if(!e.hostRole)return r;const o=e.hostRole==="owner"?t.presence_role_owner():e.hostRole==="member"?t.presence_role_member():t.presence_role_guest(),l=e.online?e.viewing?t.presence_status_viewing():t.presence_status_online():t.presence_status_offline();return t.presence_person_roleStatus({name:r,role:o,status:l})}function g(e){let n=0;for(let r=0;r<e.length;r++)n=n*31+e.charCodeAt(r)|0;return`hsl(${Math.abs(n)%360} 55% 45%)`}function f(e){if(e.length===0)return null;const[n,r]=e.map(s);return e.length===1?t.presence_typing_one({name:n}):e.length===2?t.presence_typing_two_label({first:n,second:r}):t.presence_typing_many({first:n,count:e.length-1})}export{u as a,s as b,a as c,_ as d,f as e,g as p};
1
+ import{bp as t}from"./CEL6QztG.js";function _(e){return e.hostRole?e.hostRole:e.owner?"owner":e.online===!1?"offline":e.online===!0?"member":null}function s(e){return e.displayName?.trim()||e.login?.trim()||t.presence_person_unknown_label()}function i(e){const n=e.identity;if(!n)return null;const r=e.login?.trim();return n.provider==="gitlab"?r?t.presence_person_gitlabHandle_label({login:`@${r}`,host:n.host}):t.workspace_share_pinProvider_gitlab_label({host:n.host}):r?t.presence_person_githubHandle_label({login:`@${r}`}):t.workspace_share_pinProvider_github_label()}function a(e){const n=i(e);if(!n)return s(e);const r=e.displayName?.trim(),o=e.login?.trim();return r&&r.replace(/^@/,"").toLowerCase()!==o?.toLowerCase()?t.presence_person_forge_label({name:r,handle:n}):n}function u(e){const n=a(e),r=e.self?t.presence_person_you_label({name:n}):n;if(!e.hostRole)return r;const o=e.hostRole==="owner"?t.presence_role_owner():e.hostRole==="member"?t.presence_role_member():t.presence_role_guest(),l=e.online?e.viewing?t.presence_status_viewing():t.presence_status_online():t.presence_status_offline();return t.presence_person_roleStatus({name:r,role:o,status:l})}function g(e){let n=0;for(let r=0;r<e.length;r++)n=n*31+e.charCodeAt(r)|0;return`hsl(${Math.abs(n)%360} 55% 45%)`}function f(e){if(e.length===0)return null;const[n,r]=e.map(s);return e.length===1?t.presence_typing_one({name:n}):e.length===2?t.presence_typing_two_label({first:n,second:r}):t.presence_typing_many({first:n,count:e.length-1})}export{u as a,s as b,a as c,_ as d,f as e,g as p};
@@ -1,4 +1,4 @@
1
- import{g as ze}from"./BqvnKOi9.js";import{s as Xe}from"./AatSgrMY.js";import{b as m,W as Be,a_ as Je,V as Ze,aZ as et,U as tt,b0 as st,Y as it,X as Ne,ay as qe,r as rt,am as nt,aU as at,ab as lt,aG as ct,_ as ot,a1 as ht,aP as ut,bh as ft}from"./98zeaLhZ.js";var Ce=(function(){var e=m(function($,i,n,o){for(n=n||{},o=$.length;o--;n[$[o]]=i);return n},"o"),r=[1,3],u=[1,4],h=[1,5],f=[1,6],a=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],c=[1,22],S=[2,7],d=[1,26],_=[1,27],b=[1,28],q=[1,29],C=[1,33],A=[1,34],V=[1,35],v=[1,36],L=[1,37],x=[1,38],w=[1,24],D=[1,31],O=[1,32],M=[1,30],R=[1,39],g=[1,40],p=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],P=[1,61],X=[89,90],Ae=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Ee=[27,29],Ve=[1,70],ve=[1,71],Le=[1,72],xe=[1,73],we=[1,74],De=[1,75],Oe=[1,76],ee=[1,83],U=[1,80],te=[1,84],se=[1,85],ie=[1,86],re=[1,87],ne=[1,88],ae=[1,89],le=[1,90],ce=[1,91],oe=[1,92],pe=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Y=[63,64],Me=[1,101],Fe=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],T=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],B=[1,110],Q=[1,106],H=[1,107],K=[1,108],W=[1,109],j=[1,111],he=[1,116],ue=[1,117],fe=[1,114],me=[1,115],Se={trace:m(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:m(function(i,n,o,s,E,t,de){var l=t.length-1;switch(E){case 4:this.$=t[l].trim(),s.setAccTitle(this.$);break;case 5:case 6:this.$=t[l].trim(),s.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:s.setDirection("TB");break;case 18:s.setDirection("BT");break;case 19:s.setDirection("RL");break;case 20:s.setDirection("LR");break;case 21:s.addRequirement(t[l-3],t[l-4]);break;case 22:s.addRequirement(t[l-5],t[l-6]),s.setClass([t[l-5]],t[l-3]);break;case 23:s.setNewReqId(t[l-2]);break;case 24:s.setNewReqText(t[l-2]);break;case 25:s.setNewReqRisk(t[l-2]);break;case 26:s.setNewReqVerifyMethod(t[l-2]);break;case 29:this.$=s.RequirementType.REQUIREMENT;break;case 30:this.$=s.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=s.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=s.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=s.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=s.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=s.RiskLevel.LOW_RISK;break;case 36:this.$=s.RiskLevel.MED_RISK;break;case 37:this.$=s.RiskLevel.HIGH_RISK;break;case 38:this.$=s.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=s.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=s.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=s.VerifyType.VERIFY_TEST;break;case 42:s.addElement(t[l-3]);break;case 43:s.addElement(t[l-5]),s.setClass([t[l-5]],t[l-3]);break;case 44:s.setNewElementType(t[l-2]);break;case 45:s.setNewElementDocRef(t[l-2]);break;case 48:s.addRelationship(t[l-2],t[l],t[l-4]);break;case 49:s.addRelationship(t[l-2],t[l-4],t[l]);break;case 50:this.$=s.Relationships.CONTAINS;break;case 51:this.$=s.Relationships.COPIES;break;case 52:this.$=s.Relationships.DERIVES;break;case 53:this.$=s.Relationships.SATISFIES;break;case 54:this.$=s.Relationships.VERIFIES;break;case 55:this.$=s.Relationships.REFINES;break;case 56:this.$=s.Relationships.TRACES;break;case 57:this.$=t[l-2],s.defineClass(t[l-1],t[l]);break;case 58:s.setClass(t[l-1],t[l]);break;case 59:s.setClass([t[l-2]],t[l]);break;case 60:case 62:this.$=[t[l]];break;case 61:case 63:this.$=t[l-2].concat([t[l]]);break;case 64:this.$=t[l-2],s.setCssStyle(t[l-1],t[l]);break;case 65:this.$=[t[l]];break;case 66:t[l-2].push(t[l]),this.$=t[l-2];break;case 68:this.$=t[l-1]+t[l];break}},"anonymous"),table:[{3:1,4:2,6:r,9:u,11:h,13:f},{1:[3]},{3:8,4:2,5:[1,7],6:r,9:u,11:h,13:f},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(a,[2,6]),{3:12,4:2,6:r,9:u,11:h,13:f},{1:[2,2]},{4:17,5:c,7:13,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},e(a,[2,4]),e(a,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:c,7:42,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:43,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:44,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:45,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:46,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:47,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:48,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:49,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:50,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},e(p,[2,17]),e(p,[2,18]),e(p,[2,19]),e(p,[2,20]),{30:60,33:62,75:P,89:R,90:g},{30:63,33:62,75:P,89:R,90:g},{30:64,33:62,75:P,89:R,90:g},e(X,[2,29]),e(X,[2,30]),e(X,[2,31]),e(X,[2,32]),e(X,[2,33]),e(X,[2,34]),e(Ae,[2,81]),e(Ae,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},e(Ee,[2,79]),e(Ee,[2,80]),{27:[1,67],29:[1,68]},e(Ee,[2,85]),e(Ee,[2,86]),{62:69,65:Ve,66:ve,67:Le,68:xe,69:we,70:De,71:Oe},{62:77,65:Ve,66:ve,67:Le,68:xe,69:we,70:De,71:Oe},{30:78,33:62,75:P,89:R,90:g},{73:79,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(pe,[2,60]),e(pe,[2,62]),{73:93,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},{30:94,33:62,75:P,76:U,89:R,90:g},{5:[1,95]},{30:96,33:62,75:P,89:R,90:g},{5:[1,97]},{30:98,33:62,75:P,89:R,90:g},{63:[1,99]},e(Y,[2,50]),e(Y,[2,51]),e(Y,[2,52]),e(Y,[2,53]),e(Y,[2,54]),e(Y,[2,55]),e(Y,[2,56]),{64:[1,100]},e(p,[2,59],{76:U}),e(p,[2,64],{76:Me}),{33:103,75:[1,102],89:R,90:g},e(Fe,[2,65],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),e(T,[2,67]),e(T,[2,69]),e(T,[2,70]),e(T,[2,71]),e(T,[2,72]),e(T,[2,73]),e(T,[2,74]),e(T,[2,75]),e(T,[2,76]),e(T,[2,77]),e(T,[2,78]),e(p,[2,57],{76:Me}),e(p,[2,58],{76:U}),{5:B,28:105,31:Q,34:H,36:K,38:W,40:j},{27:[1,112],76:U},{5:he,40:ue,56:113,57:fe,59:me},{27:[1,118],76:U},{33:119,89:R,90:g},{33:120,89:R,90:g},{75:ee,78:121,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(pe,[2,61]),e(pe,[2,63]),e(T,[2,68]),e(p,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:B,28:126,31:Q,34:H,36:K,38:W,40:j},e(p,[2,28]),{5:[1,127]},e(p,[2,42]),{32:[1,128]},{32:[1,129]},{5:he,40:ue,56:130,57:fe,59:me},e(p,[2,47]),{5:[1,131]},e(p,[2,48]),e(p,[2,49]),e(Fe,[2,66],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),{33:132,89:R,90:g},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},e(p,[2,27]),{5:B,28:145,31:Q,34:H,36:K,38:W,40:j},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(p,[2,46]),{5:he,40:ue,56:152,57:fe,59:me},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},e(p,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(p,[2,43]),{5:B,28:159,31:Q,34:H,36:K,38:W,40:j},{5:B,28:160,31:Q,34:H,36:K,38:W,40:j},{5:B,28:161,31:Q,34:H,36:K,38:W,40:j},{5:B,28:162,31:Q,34:H,36:K,38:W,40:j},{5:he,40:ue,56:163,57:fe,59:me},{5:he,40:ue,56:164,57:fe,59:me},e(p,[2,23]),e(p,[2,24]),e(p,[2,25]),e(p,[2,26]),e(p,[2,44]),e(p,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:m(function(i,n){if(n.recoverable)this.trace(i);else{var o=new Error(i);throw o.hash=n,o}},"parseError"),parse:m(function(i){var n=this,o=[0],s=[],E=[null],t=[],de=this.table,l="",ge=0,$e=0,Ke=2,Pe=1,We=t.slice.call(arguments,1),y=Object.create(this.lexer),G={yy:{}};for(var be in this.yy)Object.prototype.hasOwnProperty.call(this.yy,be)&&(G.yy[be]=this.yy[be]);y.setInput(i,G.yy),G.yy.lexer=y,G.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var Ie=y.yylloc;t.push(Ie);var je=y.options&&y.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ge(k){o.length=o.length-2*k,E.length=E.length-k,t.length=t.length-k}m(Ge,"popStack");function Ue(){var k;return k=s.pop()||y.lex()||Pe,typeof k!="number"&&(k instanceof Array&&(s=k,k=s.pop()),k=n.symbols_[k]||k),k}m(Ue,"lex");for(var I,z,N,ke,J={},ye,F,Ye,_e;;){if(z=o[o.length-1],this.defaultActions[z]?N=this.defaultActions[z]:((I===null||typeof I>"u")&&(I=Ue()),N=de[z]&&de[z][I]),typeof N>"u"||!N.length||!N[0]){var Te="";_e=[];for(ye in de[z])this.terminals_[ye]&&ye>Ke&&_e.push("'"+this.terminals_[ye]+"'");y.showPosition?Te="Parse error on line "+(ge+1)+`:
1
+ import{g as ze}from"./C7MBFDJp.js";import{s as Xe}from"./DeRdhkHZ.js";import{b as m,W as Be,a_ as Je,V as Ze,aZ as et,U as tt,b0 as st,Y as it,X as Ne,ay as qe,r as rt,am as nt,aU as at,ab as lt,aG as ct,_ as ot,a1 as ht,aP as ut,bh as ft}from"./DistMkl2.js";var Ce=(function(){var e=m(function($,i,n,o){for(n=n||{},o=$.length;o--;n[$[o]]=i);return n},"o"),r=[1,3],u=[1,4],h=[1,5],f=[1,6],a=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],c=[1,22],S=[2,7],d=[1,26],_=[1,27],b=[1,28],q=[1,29],C=[1,33],A=[1,34],V=[1,35],v=[1,36],L=[1,37],x=[1,38],w=[1,24],D=[1,31],O=[1,32],M=[1,30],R=[1,39],g=[1,40],p=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],P=[1,61],X=[89,90],Ae=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Ee=[27,29],Ve=[1,70],ve=[1,71],Le=[1,72],xe=[1,73],we=[1,74],De=[1,75],Oe=[1,76],ee=[1,83],U=[1,80],te=[1,84],se=[1,85],ie=[1,86],re=[1,87],ne=[1,88],ae=[1,89],le=[1,90],ce=[1,91],oe=[1,92],pe=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Y=[63,64],Me=[1,101],Fe=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],T=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],B=[1,110],Q=[1,106],H=[1,107],K=[1,108],W=[1,109],j=[1,111],he=[1,116],ue=[1,117],fe=[1,114],me=[1,115],Se={trace:m(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:m(function(i,n,o,s,E,t,de){var l=t.length-1;switch(E){case 4:this.$=t[l].trim(),s.setAccTitle(this.$);break;case 5:case 6:this.$=t[l].trim(),s.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:s.setDirection("TB");break;case 18:s.setDirection("BT");break;case 19:s.setDirection("RL");break;case 20:s.setDirection("LR");break;case 21:s.addRequirement(t[l-3],t[l-4]);break;case 22:s.addRequirement(t[l-5],t[l-6]),s.setClass([t[l-5]],t[l-3]);break;case 23:s.setNewReqId(t[l-2]);break;case 24:s.setNewReqText(t[l-2]);break;case 25:s.setNewReqRisk(t[l-2]);break;case 26:s.setNewReqVerifyMethod(t[l-2]);break;case 29:this.$=s.RequirementType.REQUIREMENT;break;case 30:this.$=s.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=s.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=s.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=s.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=s.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=s.RiskLevel.LOW_RISK;break;case 36:this.$=s.RiskLevel.MED_RISK;break;case 37:this.$=s.RiskLevel.HIGH_RISK;break;case 38:this.$=s.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=s.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=s.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=s.VerifyType.VERIFY_TEST;break;case 42:s.addElement(t[l-3]);break;case 43:s.addElement(t[l-5]),s.setClass([t[l-5]],t[l-3]);break;case 44:s.setNewElementType(t[l-2]);break;case 45:s.setNewElementDocRef(t[l-2]);break;case 48:s.addRelationship(t[l-2],t[l],t[l-4]);break;case 49:s.addRelationship(t[l-2],t[l-4],t[l]);break;case 50:this.$=s.Relationships.CONTAINS;break;case 51:this.$=s.Relationships.COPIES;break;case 52:this.$=s.Relationships.DERIVES;break;case 53:this.$=s.Relationships.SATISFIES;break;case 54:this.$=s.Relationships.VERIFIES;break;case 55:this.$=s.Relationships.REFINES;break;case 56:this.$=s.Relationships.TRACES;break;case 57:this.$=t[l-2],s.defineClass(t[l-1],t[l]);break;case 58:s.setClass(t[l-1],t[l]);break;case 59:s.setClass([t[l-2]],t[l]);break;case 60:case 62:this.$=[t[l]];break;case 61:case 63:this.$=t[l-2].concat([t[l]]);break;case 64:this.$=t[l-2],s.setCssStyle(t[l-1],t[l]);break;case 65:this.$=[t[l]];break;case 66:t[l-2].push(t[l]),this.$=t[l-2];break;case 68:this.$=t[l-1]+t[l];break}},"anonymous"),table:[{3:1,4:2,6:r,9:u,11:h,13:f},{1:[3]},{3:8,4:2,5:[1,7],6:r,9:u,11:h,13:f},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(a,[2,6]),{3:12,4:2,6:r,9:u,11:h,13:f},{1:[2,2]},{4:17,5:c,7:13,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},e(a,[2,4]),e(a,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:c,7:42,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:43,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:44,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:45,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:46,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:47,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:48,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:49,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{4:17,5:c,7:50,8:S,9:u,11:h,13:f,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:d,22:_,23:b,24:q,25:23,33:25,41:C,42:A,43:V,44:v,45:L,46:x,54:w,72:D,74:O,77:M,89:R,90:g},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},e(p,[2,17]),e(p,[2,18]),e(p,[2,19]),e(p,[2,20]),{30:60,33:62,75:P,89:R,90:g},{30:63,33:62,75:P,89:R,90:g},{30:64,33:62,75:P,89:R,90:g},e(X,[2,29]),e(X,[2,30]),e(X,[2,31]),e(X,[2,32]),e(X,[2,33]),e(X,[2,34]),e(Ae,[2,81]),e(Ae,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},e(Ee,[2,79]),e(Ee,[2,80]),{27:[1,67],29:[1,68]},e(Ee,[2,85]),e(Ee,[2,86]),{62:69,65:Ve,66:ve,67:Le,68:xe,69:we,70:De,71:Oe},{62:77,65:Ve,66:ve,67:Le,68:xe,69:we,70:De,71:Oe},{30:78,33:62,75:P,89:R,90:g},{73:79,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(pe,[2,60]),e(pe,[2,62]),{73:93,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},{30:94,33:62,75:P,76:U,89:R,90:g},{5:[1,95]},{30:96,33:62,75:P,89:R,90:g},{5:[1,97]},{30:98,33:62,75:P,89:R,90:g},{63:[1,99]},e(Y,[2,50]),e(Y,[2,51]),e(Y,[2,52]),e(Y,[2,53]),e(Y,[2,54]),e(Y,[2,55]),e(Y,[2,56]),{64:[1,100]},e(p,[2,59],{76:U}),e(p,[2,64],{76:Me}),{33:103,75:[1,102],89:R,90:g},e(Fe,[2,65],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),e(T,[2,67]),e(T,[2,69]),e(T,[2,70]),e(T,[2,71]),e(T,[2,72]),e(T,[2,73]),e(T,[2,74]),e(T,[2,75]),e(T,[2,76]),e(T,[2,77]),e(T,[2,78]),e(p,[2,57],{76:Me}),e(p,[2,58],{76:U}),{5:B,28:105,31:Q,34:H,36:K,38:W,40:j},{27:[1,112],76:U},{5:he,40:ue,56:113,57:fe,59:me},{27:[1,118],76:U},{33:119,89:R,90:g},{33:120,89:R,90:g},{75:ee,78:121,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(pe,[2,61]),e(pe,[2,63]),e(T,[2,68]),e(p,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:B,28:126,31:Q,34:H,36:K,38:W,40:j},e(p,[2,28]),{5:[1,127]},e(p,[2,42]),{32:[1,128]},{32:[1,129]},{5:he,40:ue,56:130,57:fe,59:me},e(p,[2,47]),{5:[1,131]},e(p,[2,48]),e(p,[2,49]),e(Fe,[2,66],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),{33:132,89:R,90:g},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},e(p,[2,27]),{5:B,28:145,31:Q,34:H,36:K,38:W,40:j},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(p,[2,46]),{5:he,40:ue,56:152,57:fe,59:me},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},e(p,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(p,[2,43]),{5:B,28:159,31:Q,34:H,36:K,38:W,40:j},{5:B,28:160,31:Q,34:H,36:K,38:W,40:j},{5:B,28:161,31:Q,34:H,36:K,38:W,40:j},{5:B,28:162,31:Q,34:H,36:K,38:W,40:j},{5:he,40:ue,56:163,57:fe,59:me},{5:he,40:ue,56:164,57:fe,59:me},e(p,[2,23]),e(p,[2,24]),e(p,[2,25]),e(p,[2,26]),e(p,[2,44]),e(p,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:m(function(i,n){if(n.recoverable)this.trace(i);else{var o=new Error(i);throw o.hash=n,o}},"parseError"),parse:m(function(i){var n=this,o=[0],s=[],E=[null],t=[],de=this.table,l="",ge=0,$e=0,Ke=2,Pe=1,We=t.slice.call(arguments,1),y=Object.create(this.lexer),G={yy:{}};for(var be in this.yy)Object.prototype.hasOwnProperty.call(this.yy,be)&&(G.yy[be]=this.yy[be]);y.setInput(i,G.yy),G.yy.lexer=y,G.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var Ie=y.yylloc;t.push(Ie);var je=y.options&&y.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ge(k){o.length=o.length-2*k,E.length=E.length-k,t.length=t.length-k}m(Ge,"popStack");function Ue(){var k;return k=s.pop()||y.lex()||Pe,typeof k!="number"&&(k instanceof Array&&(s=k,k=s.pop()),k=n.symbols_[k]||k),k}m(Ue,"lex");for(var I,z,N,ke,J={},ye,F,Ye,_e;;){if(z=o[o.length-1],this.defaultActions[z]?N=this.defaultActions[z]:((I===null||typeof I>"u")&&(I=Ue()),N=de[z]&&de[z][I]),typeof N>"u"||!N.length||!N[0]){var Te="";_e=[];for(ye in de[z])this.terminals_[ye]&&ye>Ke&&_e.push("'"+this.terminals_[ye]+"'");y.showPosition?Te="Parse error on line "+(ge+1)+`:
2
2
  `+y.showPosition()+`
3
3
  Expecting `+_e.join(", ")+", got '"+(this.terminals_[I]||I)+"'":Te="Parse error on line "+(ge+1)+": Unexpected "+(I==Pe?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(Te,{text:y.match,token:this.terminals_[I]||I,line:y.yylineno,loc:Ie,expected:_e})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+I);switch(N[0]){case 1:o.push(I),E.push(y.yytext),t.push(y.yylloc),o.push(N[1]),I=null,$e=y.yyleng,l=y.yytext,ge=y.yylineno,Ie=y.yylloc;break;case 2:if(F=this.productions_[N[1]][1],J.$=E[E.length-F],J._$={first_line:t[t.length-(F||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(F||1)].first_column,last_column:t[t.length-1].last_column},je&&(J._$.range=[t[t.length-(F||1)].range[0],t[t.length-1].range[1]]),ke=this.performAction.apply(J,[l,$e,ge,G.yy,N[1],E,t].concat(We)),typeof ke<"u")return ke;F&&(o=o.slice(0,-1*F*2),E=E.slice(0,-1*F),t=t.slice(0,-1*F)),o.push(this.productions_[N[1]][0]),E.push(J.$),t.push(J._$),Ye=de[o[o.length-2]][o[o.length-1]],o.push(Ye);break;case 3:return!0}}return!0},"parse")},He=(function(){var $={EOF:1,parseError:m(function(n,o){if(this.yy.parser)this.yy.parser.parseError(n,o);else throw new Error(n)},"parseError"),setInput:m(function(i,n){return this.yy=n||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:m(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var n=i.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:m(function(i){var n=i.length,o=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),o.length-1&&(this.yylineno-=o.length-1);var E=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:o?(o.length===s.length?this.yylloc.first_column:0)+s[s.length-o.length].length-o[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:m(function(){return this._more=!0,this},"more"),reject:m(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:m(function(i){this.unput(this.match.slice(i))},"less"),pastInput:m(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:m(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:m(function(){var i=this.pastInput(),n=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
@@ -1 +1 @@
1
- import{Ik as o,ny as d,nx as n,oo as i,be as a,rw as S,p5 as p,ol as k}from"./Dk1_0x0Q.js";import{ba as g,aV as m,dD as v,dq as W,c as h,cG as I,c1 as w}from"./CArqGgyL.js";const R={status:"loading",members:[]},u=o.createSelector(e=>d(e.guestSessions.sessions)),K=o.createSelector(e=>e.guestSessions.hasReceivedList),l=o.createSelector(e=>n(e.guestSessions.sessions,e.connections.windowBackendId)??null);o.createSelector(e=>l.select(e)!==null);const M=o.createSelector(e=>e.guestSessions.openIds),F=o.createSelector(e=>e.guestSessions.connectedIds),x=o.createSelector(e=>e.guestSessions.leavingIds),O=o.createSelector(e=>e.guestSessions.leavingWorkspaceKeys),P=o.createSelector(e=>u.select(e).filter(s=>e.guestSessions.failedLeaveIds.includes(s.id))),B=o.createSelector(e=>u.select(e).flatMap(s=>(s.workspaces??[]).filter(t=>e.guestSessions.failedLeaveWorkspaceKeys.includes(i(s.id,t.id))).map(t=>({session:s,workspace:t})))),A=o.createSelector(e=>e.guestSessions.failedLeaveIds),N=o.createSelector(e=>d(e.guestSessions.sweepReports)),$=o.createSelector((e,s)=>n(e.guestSessions.sweepReports,s)),j=o.createSelector(e=>e.guestSessions.clearingWorkspaceIds),q=o.createSelector((e,s)=>n(e.workspace.workspaces,a(s))!==void 0),L=o.createSelector((e,s)=>e.guestSessions.hostedRosters[s]?.status==="withheld"?!1:n(e.workspace.workspaces,a(s))!==void 0&&g.select(e)&&m.select(e,s)),y=o.createSelector((e,s)=>{const t=n(e.workspace.workspaces,a(s));if(t?.openInviteCount!=null)return t.openInviteCount;const c=e.guestSessions.hostedRosters[s];return c?.guestCount!=null?Math.max(0,c.guestCount-c.members.filter(S).length):null}),D=o.createSelector(e=>e.workspace.error?"error":v.select(e,e.connections.windowBackendId)?"loaded":"loading"),E=o.createSelector(e=>{const s=W.select(e);return d(e.workspace.workspaces).filter(t=>{if(!s.collaborationReady||!h(s,t.id,()=>t))return!1;const c=y.select(e,t.id);if((t.memberCount??1/0)<=1&&c===0)return!1;const r=e.guestSessions.hostedRosters[t.id];return!r||r.status!=="loaded"?!0:r.members.some(S)||c===null||c>0})}),f=o.createSelector(e=>{const s=l.select(e),t=I.select(e);return u.select(e).filter(c=>{const r=s?.id===c.id&&t?.principal.id===c.principalId?w.select(e):null;return r?r!=="guest":c.hostRole==="member"})}),J=o.createSelector(e=>{const s=new Set(f.select(e).map(t=>t.id));return u.select(e).filter(t=>!s.has(t.id))}),U=o.createSelector(e=>e.guestSessions.listUnavailable),b=o.createSelector((e,s)=>e.guestSessions.hostedRosters[s]??R),V=o.createSelector((e,s)=>b.select(e,s).members.filter(t=>e.guestSessions.failedMemberKeys.includes(p(s,t.principalId)))),C=[],_=o.createSelector((e,s)=>{const t=p(s,""),c=e.guestSessions.removingMemberKeys.filter(r=>r.startsWith(t)).map(r=>r.slice(t.length));return c.length===0?C:c}),z=o.createSelector((e,s)=>e.guestSessions.clearingWorkspaceIds.includes(s)),T=o.createSelector(e=>{const s=[];for(const[t,c]of Object.entries(e.guestSessions.hostedRosters)){if(c.status==="withheld")continue;const r=n(e.workspace.workspaces,a(t));!r||!L.select(e,t)||s.push(`${t}:${r.memberCount??0},${c.invalidation??0}`)}return s.sort()}),Q=o.createSelector(e=>e.guestSessions.inheritedWorkspaceKeys),X=o.createSelector(e=>e.guestSessions.leaveConfirmations),Y=o.createSelector((e,s)=>k(n(e.guestSessions.sessions,s))),Z=o.createSelector((e,s)=>{if(!s||!g.select(e))return!1;const t=l.select(e);return!t||!(t.workspaces??[]).some(c=>c.id===s)||f.select(e).some(c=>c.id===t.id)||e.guestSessions.inheritedWorkspaceKeys.includes(i(t.id,s))?!1:n(e.workspace.workspaces,a(s))?.myRole!=="owner"}),ee=o.createSelector((e,s)=>{const t=l.select(e);return!!t&&e.guestSessions.selfLeaveWorkspaceKeys.includes(i(t.id,s))}),se=o.createSelector((e,s)=>{const t=l.select(e);return!!t&&e.guestSessions.leavingWorkspaceKeys.includes(i(t.id,s))});export{q as A,se as B,ee as C,f as D,J as E,l as F,L as a,P as b,B as c,X as d,A as e,x as f,O as g,Y as h,u as i,F as j,K as k,M as l,U as m,j as n,V as o,y as p,_ as q,b as r,Z as s,T as t,D as u,$ as v,N as w,E as x,Q as y,z};
1
+ import{Ik as o,ny as d,nx as n,oo as i,be as a,rw as S,p5 as p,ol as k}from"./DYfeeu3f.js";import{ba as g,aV as m,dD as v,dq as W,c as h,cG as I,c1 as w}from"./Dml826jn.js";const R={status:"loading",members:[]},u=o.createSelector(e=>d(e.guestSessions.sessions)),K=o.createSelector(e=>e.guestSessions.hasReceivedList),l=o.createSelector(e=>n(e.guestSessions.sessions,e.connections.windowBackendId)??null);o.createSelector(e=>l.select(e)!==null);const M=o.createSelector(e=>e.guestSessions.openIds),F=o.createSelector(e=>e.guestSessions.connectedIds),x=o.createSelector(e=>e.guestSessions.leavingIds),O=o.createSelector(e=>e.guestSessions.leavingWorkspaceKeys),P=o.createSelector(e=>u.select(e).filter(s=>e.guestSessions.failedLeaveIds.includes(s.id))),B=o.createSelector(e=>u.select(e).flatMap(s=>(s.workspaces??[]).filter(t=>e.guestSessions.failedLeaveWorkspaceKeys.includes(i(s.id,t.id))).map(t=>({session:s,workspace:t})))),A=o.createSelector(e=>e.guestSessions.failedLeaveIds),N=o.createSelector(e=>d(e.guestSessions.sweepReports)),$=o.createSelector((e,s)=>n(e.guestSessions.sweepReports,s)),j=o.createSelector(e=>e.guestSessions.clearingWorkspaceIds),q=o.createSelector((e,s)=>n(e.workspace.workspaces,a(s))!==void 0),L=o.createSelector((e,s)=>e.guestSessions.hostedRosters[s]?.status==="withheld"?!1:n(e.workspace.workspaces,a(s))!==void 0&&g.select(e)&&m.select(e,s)),y=o.createSelector((e,s)=>{const t=n(e.workspace.workspaces,a(s));if(t?.openInviteCount!=null)return t.openInviteCount;const c=e.guestSessions.hostedRosters[s];return c?.guestCount!=null?Math.max(0,c.guestCount-c.members.filter(S).length):null}),D=o.createSelector(e=>e.workspace.error?"error":v.select(e,e.connections.windowBackendId)?"loaded":"loading"),E=o.createSelector(e=>{const s=W.select(e);return d(e.workspace.workspaces).filter(t=>{if(!s.collaborationReady||!h(s,t.id,()=>t))return!1;const c=y.select(e,t.id);if((t.memberCount??1/0)<=1&&c===0)return!1;const r=e.guestSessions.hostedRosters[t.id];return!r||r.status!=="loaded"?!0:r.members.some(S)||c===null||c>0})}),f=o.createSelector(e=>{const s=l.select(e),t=I.select(e);return u.select(e).filter(c=>{const r=s?.id===c.id&&t?.principal.id===c.principalId?w.select(e):null;return r?r!=="guest":c.hostRole==="member"})}),J=o.createSelector(e=>{const s=new Set(f.select(e).map(t=>t.id));return u.select(e).filter(t=>!s.has(t.id))}),U=o.createSelector(e=>e.guestSessions.listUnavailable),b=o.createSelector((e,s)=>e.guestSessions.hostedRosters[s]??R),V=o.createSelector((e,s)=>b.select(e,s).members.filter(t=>e.guestSessions.failedMemberKeys.includes(p(s,t.principalId)))),C=[],_=o.createSelector((e,s)=>{const t=p(s,""),c=e.guestSessions.removingMemberKeys.filter(r=>r.startsWith(t)).map(r=>r.slice(t.length));return c.length===0?C:c}),z=o.createSelector((e,s)=>e.guestSessions.clearingWorkspaceIds.includes(s)),T=o.createSelector(e=>{const s=[];for(const[t,c]of Object.entries(e.guestSessions.hostedRosters)){if(c.status==="withheld")continue;const r=n(e.workspace.workspaces,a(t));!r||!L.select(e,t)||s.push(`${t}:${r.memberCount??0},${c.invalidation??0}`)}return s.sort()}),Q=o.createSelector(e=>e.guestSessions.inheritedWorkspaceKeys),X=o.createSelector(e=>e.guestSessions.leaveConfirmations),Y=o.createSelector((e,s)=>k(n(e.guestSessions.sessions,s))),Z=o.createSelector((e,s)=>{if(!s||!g.select(e))return!1;const t=l.select(e);return!t||!(t.workspaces??[]).some(c=>c.id===s)||f.select(e).some(c=>c.id===t.id)||e.guestSessions.inheritedWorkspaceKeys.includes(i(t.id,s))?!1:n(e.workspace.workspaces,a(s))?.myRole!=="owner"}),ee=o.createSelector((e,s)=>{const t=l.select(e);return!!t&&e.guestSessions.selfLeaveWorkspaceKeys.includes(i(t.id,s))}),se=o.createSelector((e,s)=>{const t=l.select(e);return!!t&&e.guestSessions.leavingWorkspaceKeys.includes(i(t.id,s))});export{q as A,se as B,ee as C,f as D,J as E,l as F,L as a,P as b,B as c,X as d,A as e,x as f,O as g,Y as h,u as i,F as j,K as k,M as l,U as m,j as n,V as o,y as p,_ as q,b as r,Z as s,T as t,D as u,$ as v,N as w,E as x,Q as y,z};
@@ -1 +1 @@
1
- import{d as p}from"./DfBE7crq.js";import{x as s,w as l}from"./C0FI_9IJ.js";import{selectScriptOutput as o,selectScriptById as f,selectCanReadScriptDefinition as m}from"./CqrY9mln.js";async function a(i,t,e,r=100){const n=s(o.select(i,t,e)).slice(-r);if(!t||!e)return n;const u=f.select(i,t,e);if(!m.select(i,t,u))return[];try{const c=l(await p.scripts.output(t,e,r));return c.length>0?c.slice(-r):n}catch{return n}}export{a as readScriptContextOutputLines};
1
+ import{d as p}from"./T4aQylmi.js";import{x as s,w as l}from"./D9eQxumT.js";import{selectScriptOutput as o,selectScriptById as f,selectCanReadScriptDefinition as m}from"./BnZxq056.js";async function a(i,t,e,r=100){const n=s(o.select(i,t,e)).slice(-r);if(!t||!e)return n;const u=f.select(i,t,e);if(!m.select(i,t,u))return[];try{const c=l(await p.scripts.output(t,e,r));return c.length>0?c.slice(-r):n}catch{return n}}export{a as readScriptContextOutputLines};
@@ -1 +1 @@
1
- import{Ik as o,lV as C,nx as E,nb as L,Ip as W}from"./Dk1_0x0Q.js";import{w as z}from"./WFvSJ9zU.js";import{dr as b,dv as f}from"./CArqGgyL.js";const a=o.createSelector((t,e)=>t.fileExplorer.byWorkspaceId[e]??C),G=o.createSelector((t,e,s)=>{const n=E(t.fileExplorer.searches,s);return n?.workspaceId===e?n:void 0}),M=o.createSelector((t,e)=>{const s=a.select(t,e);return s.rootPath?E(s.nodes,s.rootPath)??null:null}),R=o.createSelector((t,e)=>a.select(t,e).nodes.map),V=o.createSelector((t,e)=>a.select(t,e).isLoading),q=o.createSelector((t,e)=>a.select(t,e).isInitialized),B=o.createSelector((t,e)=>a.select(t,e).error),K=o.createSelector((t,e)=>a.select(t,e).fileCount),O=o.createSelector((t,e)=>a.select(t,e).gitStatus),g=o.createSelector((t,e)=>{const s=b.select(t,e);return s?.worktreePath||s?.repositoryPath||s?.path||""}),A=o.createSelector((t,e)=>{const s=a.select(t,e);return{workspacePath:g.select(t,e),currentWorkspacePath:s.workspacePath,isLoading:s.isLoading,isInitialized:s.isInitialized}});o.createSelector((t,e)=>e?{wsId:e,workspacePath:g.select(t,e),workspaceEnvironmentConfig:f.select(t,e)}:{wsId:null,workspacePath:"",workspaceEnvironmentConfig:void 0});const J=o.createSelector((t,e,s)=>a.select(t,e).expandedPaths.includes(s)),Q=o.createSelector((t,e,s)=>a.select(t,e).loadingPaths.includes(s)),T=o.createSelector((t,e)=>{const s=a.select(t,e);return s.expandedPaths.some(n=>n!==s.workspacePath)}),U=o.createSelector((t,e)=>{const s=g.select(t,e);if(!s)return!1;const n=a.select(t,e),d=f.select(t,e);return n.workspacePath!==s?!0:n.isLoading?!1:n.isInitialized?d?.type==="remote"&&!n.isRemoteInitialized:!0}),F=new WeakMap,X=o.createSelector((t,e)=>{const s=a.select(t,e);if(!s.rootPath)return[];const n=E(s.nodes,s.rootPath);if(!n)return[];const d=new Set(s.expandedPaths),I=new Set(s.loadingPaths),y=L(s.nodes,n.children,d,I),{agentFileEdits:v,workspacePath:P,gitStatus:x}=s,S=new Set;for(const r of Object.keys(x)){const i=r.split("/");for(let l=1;l<i.length;l++)S.add(i.slice(0,l).join("/"))}return y.map(r=>{let i=r.node.path;if(P){const w=W(r.node.path,P);w!==r.node.path&&(i=w)}const l=r.node.type==="file",c=v[i],p=l?x[i]:void 0,h=!l&&S.has(i),k={isExpanded:r.isExpanded,isLoading:r.isLoading,agentEdits:c&&c.length>0?c:void 0,gitStatus:p,directoryHasChanges:h,displayPath:r.displayPath,compactedExpandedPathsKey:r.compactedExpandedPaths?.join("\0"),depth:r.depth},u=F.get(r.node);if(u&&z(u.inputs,k))return u.result;const m=c&&c.length>0||p!==void 0||h?{node:r.node,depth:r.depth,displayPath:r.displayPath,...r.compactedExpandedPaths?{compactedExpandedPaths:r.compactedExpandedPaths}:{},isExpanded:r.isExpanded,isLoading:r.isLoading,...c&&c.length>0?{agentEdits:c}:{},...p!==void 0?{gitStatus:p}:{},...h?{directoryHasChanges:!0}:{}}:r;return F.set(r.node,{inputs:k,result:m}),m})});export{B as a,K as b,O as c,A as d,q as e,V as f,R as g,M as h,G as i,a as j,X as k,T as l,J as m,Q as n,U as o,g as s};
1
+ import{Ik as o,lV as C,nx as E,nb as L,Ip as W}from"./DYfeeu3f.js";import{w as z}from"./WFvSJ9zU.js";import{dr as b,dv as f}from"./Dml826jn.js";const a=o.createSelector((t,e)=>t.fileExplorer.byWorkspaceId[e]??C),G=o.createSelector((t,e,s)=>{const n=E(t.fileExplorer.searches,s);return n?.workspaceId===e?n:void 0}),M=o.createSelector((t,e)=>{const s=a.select(t,e);return s.rootPath?E(s.nodes,s.rootPath)??null:null}),R=o.createSelector((t,e)=>a.select(t,e).nodes.map),V=o.createSelector((t,e)=>a.select(t,e).isLoading),q=o.createSelector((t,e)=>a.select(t,e).isInitialized),B=o.createSelector((t,e)=>a.select(t,e).error),K=o.createSelector((t,e)=>a.select(t,e).fileCount),O=o.createSelector((t,e)=>a.select(t,e).gitStatus),g=o.createSelector((t,e)=>{const s=b.select(t,e);return s?.worktreePath||s?.repositoryPath||s?.path||""}),A=o.createSelector((t,e)=>{const s=a.select(t,e);return{workspacePath:g.select(t,e),currentWorkspacePath:s.workspacePath,isLoading:s.isLoading,isInitialized:s.isInitialized}});o.createSelector((t,e)=>e?{wsId:e,workspacePath:g.select(t,e),workspaceEnvironmentConfig:f.select(t,e)}:{wsId:null,workspacePath:"",workspaceEnvironmentConfig:void 0});const J=o.createSelector((t,e,s)=>a.select(t,e).expandedPaths.includes(s)),Q=o.createSelector((t,e,s)=>a.select(t,e).loadingPaths.includes(s)),T=o.createSelector((t,e)=>{const s=a.select(t,e);return s.expandedPaths.some(n=>n!==s.workspacePath)}),U=o.createSelector((t,e)=>{const s=g.select(t,e);if(!s)return!1;const n=a.select(t,e),d=f.select(t,e);return n.workspacePath!==s?!0:n.isLoading?!1:n.isInitialized?d?.type==="remote"&&!n.isRemoteInitialized:!0}),F=new WeakMap,X=o.createSelector((t,e)=>{const s=a.select(t,e);if(!s.rootPath)return[];const n=E(s.nodes,s.rootPath);if(!n)return[];const d=new Set(s.expandedPaths),I=new Set(s.loadingPaths),y=L(s.nodes,n.children,d,I),{agentFileEdits:v,workspacePath:P,gitStatus:x}=s,S=new Set;for(const r of Object.keys(x)){const i=r.split("/");for(let l=1;l<i.length;l++)S.add(i.slice(0,l).join("/"))}return y.map(r=>{let i=r.node.path;if(P){const w=W(r.node.path,P);w!==r.node.path&&(i=w)}const l=r.node.type==="file",c=v[i],p=l?x[i]:void 0,h=!l&&S.has(i),k={isExpanded:r.isExpanded,isLoading:r.isLoading,agentEdits:c&&c.length>0?c:void 0,gitStatus:p,directoryHasChanges:h,displayPath:r.displayPath,compactedExpandedPathsKey:r.compactedExpandedPaths?.join("\0"),depth:r.depth},u=F.get(r.node);if(u&&z(u.inputs,k))return u.result;const m=c&&c.length>0||p!==void 0||h?{node:r.node,depth:r.depth,displayPath:r.displayPath,...r.compactedExpandedPaths?{compactedExpandedPaths:r.compactedExpandedPaths}:{},isExpanded:r.isExpanded,isLoading:r.isLoading,...c&&c.length>0?{agentEdits:c}:{},...p!==void 0?{gitStatus:p}:{},...h?{directoryHasChanges:!0}:{}}:r;return F.set(r.node,{inputs:k,result:m}),m})});export{B as a,K as b,O as c,A as d,q as e,V as f,R as g,M as h,G as i,a as j,X as k,T as l,J as m,Q as n,U as o,g as s};
@@ -1,4 +1,4 @@
1
- import{g as Jt}from"./tJ85SevO.js";import{g as Zt}from"./BqvnKOi9.js";import{s as $t}from"./AatSgrMY.js";import{b as C,a$ as e1,ay as Z,X as Ae,a1 as t1,aP as s1,bh as at,a_ as i1,aZ as r1,b0 as a1,V as n1,U as u1,Y as o1,z as l1,ax as c1,J as h1,aq as st,as as d1,$ as it,aW as rt,r as p1,a2 as f1,N as g1,am as b1,aU as k1,ab as A1,x as m1,aT as C1,p as S1}from"./98zeaLhZ.js";import{c as D1}from"./C02vDFWb.js";import{aO as T1}from"./yLsotFg8.js";var E1="flowchart-",y1=["laneRole","laneIndex","drawnExtent"];function Wt(s){if(!s||typeof s!="object")return s;const i={...s};for(const a of y1)Reflect.deleteProperty(i,a);return i}C(Wt,"withoutInternalKeys");var Pe,x1=(Pe=class{constructor(){this.vertexCounter=0,this.config=Ae(),this.diagramId="",this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.droppedSubGraphMembers=[],this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.funs=[],this.setAccTitle=i1,this.setAccDescription=r1,this.setDiagramTitle=a1,this.getAccTitle=n1,this.getAccDescription=u1,this.getDiagramTitle=o1,this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}sanitizeText(i){return l1.sanitizeText(i,this.config)}sanitizeNodeLabelType(i){switch(i){case"markdown":case"string":case"text":return i;default:return"markdown"}}setDiagramId(i){this.diagramId=i}lookUpDomId(i){for(const a of this.vertices.values())if(a.id===i)return this.diagramId?`${this.diagramId}-${a.domId}`:a.domId;return this.diagramId?`${this.diagramId}-${i}`:i}addVertex(i,a,n,r,l,g,o={},m){if(!i||i.trim().length===0)return;let d;if(m!==void 0){let f;m.includes(`
1
+ import{g as Jt}from"./Dl2HfqsO.js";import{g as Zt}from"./C7MBFDJp.js";import{s as $t}from"./DeRdhkHZ.js";import{b as C,a$ as e1,ay as Z,X as Ae,a1 as t1,aP as s1,bh as at,a_ as i1,aZ as r1,b0 as a1,V as n1,U as u1,Y as o1,z as l1,ax as c1,J as h1,aq as st,as as d1,$ as it,aW as rt,r as p1,a2 as f1,N as g1,am as b1,aU as k1,ab as A1,x as m1,aT as C1,p as S1}from"./DistMkl2.js";import{c as D1}from"./CGlMnf5q.js";import{aO as T1}from"./G3hahPKG.js";var E1="flowchart-",y1=["laneRole","laneIndex","drawnExtent"];function Wt(s){if(!s||typeof s!="object")return s;const i={...s};for(const a of y1)Reflect.deleteProperty(i,a);return i}C(Wt,"withoutInternalKeys");var Pe,x1=(Pe=class{constructor(){this.vertexCounter=0,this.config=Ae(),this.diagramId="",this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.droppedSubGraphMembers=[],this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.funs=[],this.setAccTitle=i1,this.setAccDescription=r1,this.setDiagramTitle=a1,this.getAccTitle=n1,this.getAccDescription=u1,this.getDiagramTitle=o1,this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}sanitizeText(i){return l1.sanitizeText(i,this.config)}sanitizeNodeLabelType(i){switch(i){case"markdown":case"string":case"text":return i;default:return"markdown"}}setDiagramId(i){this.diagramId=i}lookUpDomId(i){for(const a of this.vertices.values())if(a.id===i)return this.diagramId?`${this.diagramId}-${a.domId}`:a.domId;return this.diagramId?`${this.diagramId}-${i}`:i}addVertex(i,a,n,r,l,g,o={},m){if(!i||i.trim().length===0)return;let d;if(m!==void 0){let f;m.includes(`
2
2
  `)?f=m+`
3
3
  `:f=`{
4
4
  `+m+`
@@ -1,4 +1,4 @@
1
- import{t as He,bq as p,bo as d,a_ as ye,by as je,b as Ze,bt as or,bu as ht,bs as Tr}from"./Dso1_H3c.js";import{bs as Xe,ay as Z,be as at,b$ as Qe,b_ as z,bO as X,W as k,bS as m,aD as e,a7 as yt,bl as ke,bn as Ye,c9 as f,aA as w,aB as te,ca as Fe,c0 as pt,bH as s,a5 as oe,bA as ne,bV as O,br as Ct,bk as $r,bj as Ur,bf as ko,bo as Io,c5 as kt,aw as Yt,bz as Eo,cd as qt}from"./DYhIMPy1.js";import{c as Y}from"./B3KrGqdQ.js";import{n as _r,p as Po,v as Lt,u as Ve,w as Lo,I as Fo,g as It}from"./CnMdEUN9.js";import{b as wt}from"./BaIAhI85.js";import{d as hr}from"./CKaKgIKD.js";import{H as Ro,G as So,I as To}from"./DCCFERAn.js";import{c as nr}from"./ChTqQfQN.js";import{a as $o}from"./CC7to1B5.js";import{f as Te,bc as Uo}from"./m5UczIQR.js";import{k as lt}from"./BuNYZSRv.js";import{s as Ao}from"./BfNeIJAh.js";import{cj as Ar,F as he,a4 as Bo,aV as No,an as Oo,cE as Mo,aI as Do,aW as Jt,Y as ar,_ as ir,aZ as Br,as as Ko,ay as Vo,cN as Wo,cc as Nr,bN as Or,ch as zo}from"./DAGiwOmW.js";import"./C7Fm8r7x.js";import{Ik as Le,fL as Go,br as qo,z2 as Ho,yq as jo,Kj as yr,dI as Zo,bL as Xo,Ki as Yo,ua as Jo,Kg as xr,gr as Qo,tx as en,Kh as tn,JY as Cr,Kf as kr}from"./Dk1_0x0Q.js";import"./DXNrmOAj.js";import{R as rn,k as Ht,l as ut,j as on,i as qe,p as Mr,h as Dr,K as nn,m as an,o as sn,n as ln,M as Kr,d as dn}from"./Az9OQ8Pw.js";import{a as Vr,B as Et}from"./BvFAWM27.js";import{cq as un}from"./SQzrn-hj.js";import{a2 as cn,t as fn}from"./C0FI_9IJ.js";import{w as gn,K as vn}from"./CIqnL4UD.js";import{I as Ut}from"./C5vuxPIj.js";import{d as pn}from"./CEboTiDi.js";import{a2 as wn,ab as bn}from"./DpeaMqro.js";import{i as Qt}from"./BfDRfZ1x.js";import{i as mn,a as _n}from"./BWLkc8Du.js";import{B as hn,m as yn,n as xn}from"./CSpV9hdy.js";import"./BAOVYkFF.js";import{t as Oe}from"./Cl-7Au8R.js";import{M as Wr}from"./B-lr2mEf.js";import"./BuxSPewv.js";import"./9oNS7b_T.js";import{b as Cn}from"./DuD0elPz.js";import"./CKJpktTE.js";import{o as Ir,s as dt,n as Tt}from"./CIyUrgF0.js";import{g as kn}from"./DfN8_dcw.js";import{f as In}from"./BQvAnzVz.js";import{ax as En,$ as Pn}from"./BB_nvikr.js";import{aO as Ln}from"./CArqGgyL.js";function Fn(o,r){return o.loadURL(r)}function Rn(o){return{previousUrlProp:o||null}}function Er(o,r){o.previousUrlProp=r}function Sn(o,r,i){const b=i||r;return o.previousUrlProp===b?null:(o.previousUrlProp=b,b)}function Tn(o,r,i){return r?o.previousUrlProp===null?(o.previousUrlProp=r,{shouldLoad:!1,targetUrl:null}):r===o.previousUrlProp?{shouldLoad:!1,targetUrl:null}:i.webviewReady?(o.previousUrlProp=r,i.isValidBrowserUrl(r)?{shouldLoad:!0,targetUrl:r}:{shouldLoad:!1,targetUrl:null}):{shouldLoad:!1,targetUrl:null}:{shouldLoad:!1,targetUrl:null}}const zr=nr("TabBoundsReporter"),$n=150;function jt(o,r,i){!(r>0)||!(i>0)||window.electronAPI?.invoke("browser:report-tab-bounds",{tabId:o,width:r,height:i}).catch(b=>{zr.debug("Failed to report tab bounds",{tabId:o,error:b})})}function Pr(o){window.electronAPI?.invoke("browser:report-tab-bounds",{tabId:o}).catch(r=>{zr.debug("Failed to clear tab bounds",{tabId:o,error:r})})}function Un(o,r){let i=r,b;const C=typeof ResizeObserver>"u"?void 0:new ResizeObserver(E=>{if(!i)return;const y=E[E.length-1]?.contentRect;if(!y)return;const v=i;clearTimeout(b),b=setTimeout(()=>{jt(v,y.width,y.height)},$n)});if(C?.observe(o),i){const E=o.getBoundingClientRect();jt(i,E.width,E.height)}return{update(E){if(E!==i&&(clearTimeout(b),i&&Pr(i),i=E,i)){const y=o.getBoundingClientRect();jt(i,y.width,y.height)}},destroy(){clearTimeout(b),C?.disconnect(),i&&Pr(i)}}}function Gr(o){let r=o.trim();if(!r)return null;/^[a-z][a-z0-9+.-]*:\/\//i.test(r)||(r=(r.includes("localhost")||r.includes("127.0.0.1")||r.includes("0.0.0.0")?"http://":"https://")+r);try{return new URL(r),r}catch{return null}}function nt(o,r=typeof window<"u"?window.location.origin:""){return o==="about:blank"||qr(o,r)}function qr(o,r=typeof window<"u"?window.location.origin:""){if(!o)return!1;try{const i=new URL(o);return Vr.NAVIGATION_ALLOWED.includes(i.protocol)&&i.origin!==r}catch{return!1}}const er="__INTENT_PANEL_BRACKET__:",An=`
1
+ import{t as He,br as p,bp as d,a_ as ye,bz as je,b as Ze,bu as or,bv as ht,bt as Tr}from"./CEL6QztG.js";import{bs as Xe,ay as Z,be as at,b$ as Qe,b_ as z,bO as X,W as k,bS as m,aD as e,a7 as yt,bl as ke,bn as Ye,c9 as f,aA as w,aB as te,ca as Fe,c0 as pt,bH as s,a5 as oe,bA as ne,bV as O,br as Ct,bk as $r,bj as Ur,bf as ko,bo as Io,c5 as kt,aw as Yt,bz as Eo,cd as qt}from"./DYhIMPy1.js";import{c as Y}from"./B4USm-wY.js";import{n as _r,p as Po,v as Lt,u as Ve,w as Lo,I as Fo,g as It}from"./yn6WWSq8.js";import{b as wt}from"./BaIAhI85.js";import{d as hr}from"./CSvJVg_I.js";import{H as Ro,G as So,I as To}from"./CuEQVba7.js";import{c as nr}from"./ChTqQfQN.js";import{a as $o}from"./CC7to1B5.js";import{f as Te,bc as Uo}from"./Cd_8r4jJ.js";import{k as lt}from"./Cn76YSbd.js";import{s as Ao}from"./CiSnSGvU.js";import{cj as Ar,F as he,a4 as Bo,aV as No,an as Oo,cE as Mo,aI as Do,aW as Jt,Y as ar,_ as ir,aZ as Br,as as Ko,ay as Vo,cN as Wo,cc as Nr,bN as Or,ch as zo}from"./DnKg2UsP.js";import"./D-Brs8OV.js";import{Ik as Le,fL as Go,br as qo,z2 as Ho,yq as jo,Kj as yr,dI as Zo,bL as Xo,Ki as Yo,ua as Jo,Kg as xr,gr as Qo,tx as en,Kh as tn,JY as Cr,Kf as kr}from"./DYfeeu3f.js";import"./zKAv0Iid.js";import{R as rn,k as Ht,l as ut,j as on,i as qe,p as Mr,h as Dr,K as nn,m as an,o as sn,n as ln,M as Kr,d as dn}from"./BCF9Fm7Q.js";import{a as Vr,B as Et}from"./BvFAWM27.js";import{cq as un}from"./Ba7P2HkQ.js";import{a2 as cn,t as fn}from"./D9eQxumT.js";import{w as gn,K as vn}from"./C3cmIhWo.js";import{I as Ut}from"./DXDNvQ8c.js";import{d as pn}from"./DbXcLBX5.js";import{a2 as wn,ab as bn}from"./znAltH1L.js";import{i as Qt}from"./CsUbymBr.js";import{i as mn,a as _n}from"./DsgX6aFj.js";import{B as hn,m as yn,n as xn}from"./MohDaz1W.js";import"./CGjjowC8.js";import{t as Oe}from"./wwtnRh6M.js";import{M as Wr}from"./DSLbxDPz.js";import"./BAnLxjCI.js";import"./Bsy-6OEk.js";import{b as Cn}from"./CbM8k2mZ.js";import"./BYddvidz.js";import{o as Ir,s as dt,n as Tt}from"./CIyUrgF0.js";import{g as kn}from"./DfN8_dcw.js";import{f as In}from"./BvK0-XNr.js";import{ax as En,$ as Pn}from"./Do-q4-tL.js";import{aO as Ln}from"./Dml826jn.js";function Fn(o,r){return o.loadURL(r)}function Rn(o){return{previousUrlProp:o||null}}function Er(o,r){o.previousUrlProp=r}function Sn(o,r,i){const b=i||r;return o.previousUrlProp===b?null:(o.previousUrlProp=b,b)}function Tn(o,r,i){return r?o.previousUrlProp===null?(o.previousUrlProp=r,{shouldLoad:!1,targetUrl:null}):r===o.previousUrlProp?{shouldLoad:!1,targetUrl:null}:i.webviewReady?(o.previousUrlProp=r,i.isValidBrowserUrl(r)?{shouldLoad:!0,targetUrl:r}:{shouldLoad:!1,targetUrl:null}):{shouldLoad:!1,targetUrl:null}:{shouldLoad:!1,targetUrl:null}}const zr=nr("TabBoundsReporter"),$n=150;function jt(o,r,i){!(r>0)||!(i>0)||window.electronAPI?.invoke("browser:report-tab-bounds",{tabId:o,width:r,height:i}).catch(b=>{zr.debug("Failed to report tab bounds",{tabId:o,error:b})})}function Pr(o){window.electronAPI?.invoke("browser:report-tab-bounds",{tabId:o}).catch(r=>{zr.debug("Failed to clear tab bounds",{tabId:o,error:r})})}function Un(o,r){let i=r,b;const C=typeof ResizeObserver>"u"?void 0:new ResizeObserver(E=>{if(!i)return;const y=E[E.length-1]?.contentRect;if(!y)return;const v=i;clearTimeout(b),b=setTimeout(()=>{jt(v,y.width,y.height)},$n)});if(C?.observe(o),i){const E=o.getBoundingClientRect();jt(i,E.width,E.height)}return{update(E){if(E!==i&&(clearTimeout(b),i&&Pr(i),i=E,i)){const y=o.getBoundingClientRect();jt(i,y.width,y.height)}},destroy(){clearTimeout(b),C?.disconnect(),i&&Pr(i)}}}function Gr(o){let r=o.trim();if(!r)return null;/^[a-z][a-z0-9+.-]*:\/\//i.test(r)||(r=(r.includes("localhost")||r.includes("127.0.0.1")||r.includes("0.0.0.0")?"http://":"https://")+r);try{return new URL(r),r}catch{return null}}function nt(o,r=typeof window<"u"?window.location.origin:""){return o==="about:blank"||qr(o,r)}function qr(o,r=typeof window<"u"?window.location.origin:""){if(!o)return!1;try{const i=new URL(o);return Vr.NAVIGATION_ALLOWED.includes(i.protocol)&&i.origin!==r}catch{return!1}}const er="__INTENT_PANEL_BRACKET__:",An=`
2
2
  (function() {
3
3
  if (window.__augmentKeyboardInterceptorInstalled) return;
4
4
  window.__augmentKeyboardInterceptorInstalled = true;
@@ -1,2 +1,2 @@
1
- import{b as e,ay as s,aX as o,B as i}from"./98zeaLhZ.js";import{p as g}from"./CgWmg0h0.js";var p={parse:e(async r=>{const a=await g("info",r);s.debug(a)},"parse")},v={version:"12.3.0"},d=e(()=>v.version,"getVersion"),m={getVersion:d},c=e((r,a,n)=>{s.debug(`rendering info diagram
1
+ import{b as e,ay as s,aX as o,B as i}from"./DistMkl2.js";import{p as g}from"./Dz2X4bjq.js";var p={parse:e(async r=>{const a=await g("info",r);s.debug(a)},"parse")},v={version:"12.3.0"},d=e(()=>v.version,"getVersion"),m={getVersion:d},c=e((r,a,n)=>{s.debug(`rendering info diagram
2
2
  `+r);const t=o(a);i(t,100,400,!0),t.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${n}`)},"draw"),f={draw:c},b={parser:p,db:m,renderer:f};export{b as diagram};
@@ -1 +1 @@
1
- var dt=Object.defineProperty;var He=n=>{throw TypeError(n)};var ct=(n,e,r)=>e in n?dt(n,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[e]=r;var y=(n,e,r)=>ct(n,typeof e!="symbol"?e+"":e,r),ut=(n,e,r)=>e.has(n)||He("Cannot "+r);var l=(n,e,r)=>(ut(n,e,"read from private field"),r?r.call(n):e.get(n)),O=(n,e,r)=>e.has(n)?He("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(n):e.set(n,r);import{t as q,bq as i,a_ as W,by as z,b as G,br as Q,bt as Ne}from"./Dso1_H3c.js";import{bV as M,aD as c,bH as b,c9 as N,bo as be,bs as H,a7 as A,ay as x,W as C,bn as J,aA as a,a5 as Ce,bf as U,bA as Oe,aB as Y,bS as Je,aG as Ye,br as ht,ca as pt,bI as Ze}from"./DYhIMPy1.js";import{s as k}from"./BfNeIJAh.js";import{i as Pe}from"./CnMdEUN9.js";import{h as gt,a6 as Ue,aJ as _,bM as Re,bu as ft,b1 as vt,av as _e,aS as mt,b2 as $e,aE as Ie,ad as yt,l as bt,aT as T,bn as B,bp as F,I as Ct,n as Ot,j as Pt,al as _t,ag as Ve}from"./m5UczIQR.js";import{c as wt}from"./B3KrGqdQ.js";import{s as St}from"./C5vuxPIj.js";import{f as xt,E as Nt}from"./Cl-7Au8R.js";const It=mt({component:"dialog",parts:["content","trigger","overlay","title","description","close","cancel","action"]}),j=new gt("Dialog.Root | AlertDialog.Root");var te,re,ne,oe,se,ie,ae,le,de,ce,ue;const Be=class Be{constructor(e,r){y(this,"opts");O(this,te,M(null));O(this,re,M(null));O(this,ne,M(null));O(this,oe,M(null));O(this,se,M(void 0));O(this,ie,M(void 0));O(this,ae,M(void 0));O(this,le,M(void 0));O(this,de,M(null));O(this,ce,M(0));y(this,"depth");y(this,"parent");y(this,"contentPresence");y(this,"overlayPresence");y(this,"getBitsAttr",e=>It.getAttr(e,this.opts.variant.current));O(this,ue,N(()=>({"data-state":vt(this.opts.open.current)})));this.opts=e,this.parent=r,this.depth=r?r.depth+1:0,this.handleOpen=this.handleOpen.bind(this),this.handleClose=this.handleClose.bind(this),this.contentPresence=new Ue({ref:_(()=>this.contentNode),open:this.opts.open,enabled:!0,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new Ue({ref:_(()=>this.overlayNode),open:this.opts.open,enabled:!0}),Re(()=>this.opts.open.current,s=>{this.parent&&(s?this.parent.incrementNested():this.parent.decrementNested())},{lazy:!0}),ft(()=>{this.opts.open.current&&this.parent?.decrementNested()})}static create(e){const r=j.getOr(null);return j.set(new Be(e,r))}get triggerNode(){return c(l(this,te))}set triggerNode(e){b(l(this,te),e,!0)}get contentNode(){return c(l(this,re))}set contentNode(e){b(l(this,re),e,!0)}get overlayNode(){return c(l(this,ne))}set overlayNode(e){b(l(this,ne),e,!0)}get descriptionNode(){return c(l(this,oe))}set descriptionNode(e){b(l(this,oe),e,!0)}get contentId(){return c(l(this,se))}set contentId(e){b(l(this,se),e,!0)}get titleId(){return c(l(this,ie))}set titleId(e){b(l(this,ie),e,!0)}get triggerId(){return c(l(this,ae))}set triggerId(e){b(l(this,ae),e,!0)}get descriptionId(){return c(l(this,le))}set descriptionId(e){b(l(this,le),e,!0)}get cancelNode(){return c(l(this,de))}set cancelNode(e){b(l(this,de),e,!0)}get nestedOpenCount(){return c(l(this,ce))}set nestedOpenCount(e){b(l(this,ce),e,!0)}handleOpen(){this.opts.open.current||(this.opts.open.current=!0)}handleClose(){this.opts.open.current&&(this.opts.open.current=!1)}incrementNested(){this.nestedOpenCount++,this.parent?.incrementNested()}decrementNested(){this.nestedOpenCount!==0&&(this.nestedOpenCount--,this.parent?.decrementNested())}get sharedProps(){return c(l(this,ue))}set sharedProps(e){b(l(this,ue),e)}};te=new WeakMap,re=new WeakMap,ne=new WeakMap,oe=new WeakMap,se=new WeakMap,ie=new WeakMap,ae=new WeakMap,le=new WeakMap,de=new WeakMap,ce=new WeakMap,ue=new WeakMap;let Ee=Be;var he;const Ke=class Ke{constructor(e,r){y(this,"opts");y(this,"root");y(this,"attachment");O(this,he,N(()=>({id:this.opts.id.current,[this.root.getBitsAttr(this.opts.variant.current)]:"",onclick:this.onclick,onkeydown:this.onkeydown,disabled:this.opts.disabled.current?!0:void 0,tabindex:0,...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.attachment=_e(this.opts.ref),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this)}static create(e){return new Ke(e,j.get())}onclick(e){this.opts.disabled.current||e.button>0||this.root.handleClose()}onkeydown(e){this.opts.disabled.current||(e.key===yt||e.key===bt)&&(e.preventDefault(),this.root.handleClose())}get props(){return c(l(this,he))}set props(e){b(l(this,he),e)}};he=new WeakMap;let Fe=Ke;var pe;const We=class We{constructor(e,r){y(this,"opts");y(this,"root");y(this,"attachment");O(this,pe,N(()=>({id:this.opts.id.current,role:"heading","aria-level":this.opts.level.current,[this.root.getBitsAttr("title")]:"",...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.root.titleId=this.opts.id.current,this.attachment=_e(this.opts.ref),Re.pre(()=>this.opts.id.current,s=>{this.root.titleId=s})}static create(e){return new We(e,j.get())}get props(){return c(l(this,pe))}set props(e){b(l(this,pe),e)}};pe=new WeakMap;let ke=We;var ge;const Xe=class Xe{constructor(e,r){y(this,"opts");y(this,"root");y(this,"attachment");O(this,ge,N(()=>({id:this.opts.id.current,[this.root.getBitsAttr("description")]:"",...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.root.descriptionId=this.opts.id.current,this.attachment=_e(this.opts.ref,s=>{this.root.descriptionNode=s}),Re.pre(()=>this.opts.id.current,s=>{this.root.descriptionId=s})}static create(e){return new Xe(e,j.get())}get props(){return c(l(this,ge))}set props(e){b(l(this,ge),e)}};ge=new WeakMap;let De=Xe;var fe,ve;const je=class je{constructor(e,r){y(this,"opts");y(this,"root");y(this,"attachment");O(this,fe,N(()=>({open:this.root.opts.open.current})));O(this,ve,N(()=>({id:this.opts.id.current,role:this.root.opts.variant.current==="alert-dialog"?"alertdialog":"dialog","aria-modal":"true","aria-describedby":this.root.descriptionId,"aria-labelledby":this.root.titleId,[this.root.getBitsAttr("content")]:"",style:{pointerEvents:"auto",outline:this.root.opts.variant.current==="alert-dialog"?"none":void 0,"--bits-dialog-depth":this.root.depth,"--bits-dialog-nested-count":this.root.nestedOpenCount,contain:"layout style"},tabindex:this.root.opts.variant.current==="alert-dialog"?-1:void 0,"data-nested-open":Ie(this.root.nestedOpenCount>0),"data-nested":Ie(this.root.parent!==null),...$e(this.root.contentPresence.transitionStatus),...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.attachment=_e(this.opts.ref,s=>{this.root.contentNode=s,this.root.contentId=s?.id})}static create(e){return new je(e,j.get())}get snippetProps(){return c(l(this,fe))}set snippetProps(e){b(l(this,fe),e)}get props(){return c(l(this,ve))}set props(e){b(l(this,ve),e)}get shouldRender(){return this.root.contentPresence.shouldRender}};fe=new WeakMap,ve=new WeakMap;let Me=je;var me,ye;const qe=class qe{constructor(e,r){y(this,"opts");y(this,"root");y(this,"attachment");O(this,me,N(()=>({open:this.root.opts.open.current})));O(this,ye,N(()=>({id:this.opts.id.current,[this.root.getBitsAttr("overlay")]:"",style:{pointerEvents:"auto","--bits-dialog-depth":this.root.depth,"--bits-dialog-nested-count":this.root.nestedOpenCount},"data-nested-open":Ie(this.root.nestedOpenCount>0),"data-nested":Ie(this.root.parent!==null),...$e(this.root.overlayPresence.transitionStatus),...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.attachment=_e(this.opts.ref,s=>this.root.overlayNode=s)}static create(e){return new qe(e,j.get())}get snippetProps(){return c(l(this,me))}set snippetProps(e){b(l(this,me),e)}get props(){return c(l(this,ye))}set props(e){b(l(this,ye),e)}get shouldRender(){return this.root.overlayPresence.shouldRender}};me=new WeakMap,ye=new WeakMap;let Te=qe;var At=new Set(["$$slots","$$events","$$legacy","id","ref","child","children","level"]),Et=Y("<div><!></div>");function Ft(n,e){const r=be();if(new.target)return q({component:Ft,...n});H(e,!0);let s=i(e,"id",23,()=>T(r)),g=i(e,"ref",15,null),u=i(e,"child",7),v=i(e,"children",7),m=i(e,"level",7,2),w=Q(e,At);const p=ke.create({id:_(()=>s()),level:_(()=>m()),ref:_(()=>g(),t=>g(t))}),f=N(()=>B(w,p.props));var S={get id(){return s()},set id(t=T(r)){s(t),a()},get ref(){return g()},set ref(t=null){g(t),a()},get child(){return u()},set child(t){u(t),a()},get children(){return v()},set children(t){v(t),a()},get level(){return m()},set level(t=2){m(t),a()},$set:z,$on:(t,h)=>G(e,t,h)},P=A(),E=x(P);{var I=t=>{var h=A(),D=x(h);k(D,u,()=>({props:c(f)})),C(t,h)},o=t=>{var h=Et();Pe(h,()=>({...c(f)}));var D=Ce(h);k(D,()=>v()??U),Oe(h),C(t,h)};W(E,t=>{u()?t(I):t(o,-1)})}return C(n,P),J(S)}var kt=new Set(["$$slots","$$events","$$legacy","id","forceMount","child","children","ref"]),Dt=Y("<div><!></div>");function Mt(n,e){const r=be();if(new.target)return q({component:Mt,...n});H(e,!0);let s=i(e,"id",23,()=>T(r)),g=i(e,"forceMount",7,!1),u=i(e,"child",7),v=i(e,"children",7),m=i(e,"ref",15,null),w=Q(e,kt);const p=Te.create({id:_(()=>s()),ref:_(()=>m(),o=>m(o))}),f=N(()=>B(w,p.props));var S={get id(){return s()},set id(o=T(r)){s(o),a()},get forceMount(){return g()},set forceMount(o=!1){g(o),a()},get child(){return u()},set child(o){u(o),a()},get children(){return v()},set children(o){v(o),a()},get ref(){return m()},set ref(o=null){m(o),a()},$set:z,$on:(o,t)=>G(e,o,t)},P=A(),E=x(P);{var I=o=>{var t=A(),h=x(t);{var D=K=>{var R=A(),d=x(R);{let V=N(()=>({props:B(c(f)),...p.snippetProps}));k(d,u,()=>c(V))}C(K,R)},we=K=>{var R=Dt();Pe(R,V=>({...V}),[()=>B(c(f))]);var d=Ce(R);k(d,()=>v()??U,()=>p.snippetProps),Oe(R),C(K,R)};W(h,K=>{u()?K(D):K(we,-1)})}C(o,t)};W(E,o=>{(p.shouldRender||g())&&o(I)})}return C(n,P),J(S)}var Tt=new Set(["$$slots","$$events","$$legacy","id","children","child","ref"]),Rt=Y("<div><!></div>");function Bt(n,e){const r=be();if(new.target)return q({component:Bt,...n});H(e,!0);let s=i(e,"id",23,()=>T(r)),g=i(e,"children",7),u=i(e,"child",7),v=i(e,"ref",15,null),m=Q(e,Tt);const w=De.create({id:_(()=>s()),ref:_(()=>v(),o=>v(o))}),p=N(()=>B(m,w.props));var f={get id(){return s()},set id(o=T(r)){s(o),a()},get children(){return g()},set children(o){g(o),a()},get child(){return u()},set child(o){u(o),a()},get ref(){return v()},set ref(o=null){v(o),a()},$set:z,$on:(o,t)=>G(e,o,t)},S=A(),P=x(S);{var E=o=>{var t=A(),h=x(t);k(h,u,()=>({props:c(p)})),C(o,t)},I=o=>{var t=Rt();Pe(t,()=>({...c(p)}));var h=Ce(t);k(h,()=>g()??U),Oe(t),C(o,t)};W(P,o=>{u()?o(E):o(I,-1)})}return C(n,S),J(f)}function et(n,e){if(new.target)return q({component:et,...n});H(e,!0);let r=i(e,"open",15,!1),s=i(e,"onOpenChange",7,F),g=i(e,"onOpenChangeComplete",7,F),u=i(e,"children",7);Ee.create({variant:_(()=>"dialog"),open:_(()=>r(),p=>{r(p),s()(p)}),onOpenChangeComplete:_(()=>g())});var v={get open(){return r()},set open(p=!1){r(p),a()},get onOpenChange(){return s()},set onOpenChange(p=F){s(p),a()},get onOpenChangeComplete(){return g()},set onOpenChangeComplete(p=F){g(p),a()},get children(){return u()},set children(p){u(p),a()},$set:z,$on:(p,f)=>G(e,p,f)},m=A(),w=x(m);return k(w,()=>u()??U),C(n,m),J(v)}var Kt=new Set(["$$slots","$$events","$$legacy","children","child","id","ref","disabled"]),Wt=Y("<button><!></button>");function Xt(n,e){const r=be();if(new.target)return q({component:Xt,...n});H(e,!0);let s=i(e,"children",7),g=i(e,"child",7),u=i(e,"id",23,()=>T(r)),v=i(e,"ref",15,null),m=i(e,"disabled",7,!1),w=Q(e,Kt);const p=Fe.create({variant:_(()=>"close"),id:_(()=>u()),ref:_(()=>v(),t=>v(t)),disabled:_(()=>!!m())}),f=N(()=>B(w,p.props));var S={get children(){return s()},set children(t){s(t),a()},get child(){return g()},set child(t){g(t),a()},get id(){return u()},set id(t=T(r)){u(t),a()},get ref(){return v()},set ref(t=null){v(t),a()},get disabled(){return m()},set disabled(t=!1){m(t),a()},$set:z,$on:(t,h)=>G(e,t,h)},P=A(),E=x(P);{var I=t=>{var h=A(),D=x(h);k(D,g,()=>({props:c(f)})),C(t,h)},o=t=>{var h=Wt();Pe(h,()=>({...c(f)}));var D=Ce(h);k(D,()=>s()??U),Oe(h),C(t,h)};W(E,t=>{g()?t(I):t(o,-1)})}return C(n,P),J(S)}var jt=new Set(["$$slots","$$events","$$legacy","id","children","child","ref","forceMount","onCloseAutoFocus","onOpenAutoFocus","onEscapeKeydown","onInteractOutside","trapFocus","preventScroll","restoreScrollDelay"]),qt=Y("<!> <!>",1),zt=Y("<!> <div><!></div>",1);function Gt(n,e){const r=be();if(new.target)return q({component:Gt,...n});H(e,!0);let s=i(e,"id",23,()=>T(r)),g=i(e,"children",7),u=i(e,"child",7),v=i(e,"ref",15,null),m=i(e,"forceMount",7,!1),w=i(e,"onCloseAutoFocus",7,F),p=i(e,"onOpenAutoFocus",7,F),f=i(e,"onEscapeKeydown",7,F),S=i(e,"onInteractOutside",7,F),P=i(e,"trapFocus",7,!0),E=i(e,"preventScroll",7,!0),I=i(e,"restoreScrollDelay",7,null),o=Q(e,jt);const t=Me.create({id:_(()=>s()),ref:_(()=>v(),d=>v(d))}),h=N(()=>B(o,t.props));var D={get id(){return s()},set id(d=T(r)){s(d),a()},get children(){return g()},set children(d){g(d),a()},get child(){return u()},set child(d){u(d),a()},get ref(){return v()},set ref(d=null){v(d),a()},get forceMount(){return m()},set forceMount(d=!1){m(d),a()},get onCloseAutoFocus(){return w()},set onCloseAutoFocus(d=F){w(d),a()},get onOpenAutoFocus(){return p()},set onOpenAutoFocus(d=F){p(d),a()},get onEscapeKeydown(){return f()},set onEscapeKeydown(d=F){f(d),a()},get onInteractOutside(){return S()},set onInteractOutside(d=F){S(d),a()},get trapFocus(){return P()},set trapFocus(d=!0){P(d),a()},get preventScroll(){return E()},set preventScroll(d=!0){E(d),a()},get restoreScrollDelay(){return I()},set restoreScrollDelay(d=null){I(d),a()},$set:z,$on:(d,V)=>G(e,d,V)},we=A(),K=x(we);{var R=d=>{Ct(d,{get ref(){return t.opts.ref},loop:!0,get trapFocus(){return P()},get enabled(){return t.root.opts.open.current},get onOpenAutoFocus(){return p()},get onCloseAutoFocus(){return w()},focusScope:(nt,ot)=>{let ze=()=>(ot?.()).props;Ot(nt,Ne(()=>c(h),{get enabled(){return t.root.opts.open.current},get ref(){return t.opts.ref},onEscapeKeydown:Se=>{f()(Se),!Se.defaultPrevented&&t.root.handleClose()},children:(Se,Qt)=>{Pt(Se,Ne(()=>c(h),{get ref(){return t.opts.ref},get enabled(){return t.root.opts.open.current},onInteractOutside:xe=>{S()(xe),!xe.defaultPrevented&&t.root.handleClose()},children:(xe,Yt)=>{_t(xe,Ne(()=>c(h),{get ref(){return t.opts.ref},get enabled(){return t.root.opts.open.current},children:(st,Zt)=>{var Ge=A(),it=x(Ge);{var at=L=>{var Z=qt(),$=x(Z);{var ee=X=>{Ve(X,{get preventScroll(){return E()},get restoreScrollDelay(){return I()}})};W($,X=>{t.root.opts.open.current&&X(ee)})}var Ae=Je($,2);{let X=N(()=>({props:B(c(h),ze()),...t.snippetProps}));k(Ae,u,()=>c(X))}C(L,Z)},lt=L=>{var Z=zt(),$=x(Z);Ve($,{get preventScroll(){return E()}});var ee=Je($,2);Pe(ee,X=>({...X}),[()=>B(c(h),ze())]);var Ae=Ce(ee);k(Ae,()=>g()??U),Oe(ee),C(L,Z)};W(it,L=>{u()?L(at):L(lt,-1)})}C(st,Ge)},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{focusScope:!0}})};W(K,d=>{(t.shouldRender||m())&&d(R)})}return C(n,we),J(D)}const tt=Symbol("overlay-open"),rt=Symbol("overlay-static"),Le={tier:"moderate",x:0,y:0,scale:1,opacity:0},Qe={tier:"slow",x:0,y:8,scale:.97,opacity:0},Ht={top:{x:0,y:"-100%"},right:{x:"100%",y:0},bottom:{x:0,y:"100%"},left:{x:"-100%",y:0}},lr={backdrop:{enter:Le,exit:Le},dialog:{enter:Qe,exit:Qe},sheet(n){const e={tier:"slow",scale:1,opacity:1,...Ht[n]};return{enter:e,exit:e}}};function Jt(n){Ze(tt,n)}function dr(){const n=Ye(tt);if(!n)throw new Error("Dialog or Sheet Content must be nested inside its Root.");return n}function Ut(n){Ze(rt,n)}function cr(){return Ye(rt)??(()=>!1)}function ur(n){let e=M(ht(n()));return pt(()=>{if(n()){b(e,!0);return}if(!c(e))return;const r=window.setTimeout(()=>b(e,!1),xt(Nt.slow));return()=>window.clearTimeout(r)}),{get mounted(){return c(e)},finishExit(){n()||b(e,!1)}}}var Vt=new Set(["$$slots","$$events","$$legacy","open","staticPosition","children","onOpenChange"]);function Lt(n,e){if(new.target)return q({component:Lt,...n});H(e,!0);let r=i(e,"open",15,!1),s=i(e,"staticPosition",7,!1),g=i(e,"children",7),u=i(e,"onOpenChange",7),v=Q(e,Vt);Jt(()=>r()),Ut(()=>s()),St(()=>{r(!1),u()?.(!1)});var m={get open(){return r()},set open(f=!1){r(f),a()},get staticPosition(){return s()},set staticPosition(f=!1){s(f),a()},get children(){return g()},set children(f){g(f),a()},get onOpenChange(){return u()},set onOpenChange(f){u(f),a()},$set:z,$on:(f,S)=>G(e,f,S)},w=A(),p=x(w);return wt(p,()=>et,(f,S)=>{S(f,Ne({get onOpenChange(){return u()}},()=>v,{get open(){return r()},set open(P){r(P)},children:(P,E)=>{var I=A(),o=x(I);k(o,()=>g()??U),C(P,I)},$$slots:{default:!0}}))}),C(n,w),J(m)}export{Xt as D,Lt as O,Gt as a,Bt as b,Mt as c,Ft as d,ur as e,cr as f,lr as o,dr as u};
1
+ var dt=Object.defineProperty;var Je=n=>{throw TypeError(n)};var ct=(n,e,r)=>e in n?dt(n,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[e]=r;var y=(n,e,r)=>ct(n,typeof e!="symbol"?e+"":e,r),ut=(n,e,r)=>e.has(n)||Je("Cannot "+r);var l=(n,e,r)=>(ut(n,e,"read from private field"),r?r.call(n):e.get(n)),O=(n,e,r)=>e.has(n)?Je("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(n):e.set(n,r);import{t as j,br as i,a_ as z,bz as G,b as H,bs as Q,bu as Ne}from"./CEL6QztG.js";import{bV as M,aD as c,bH as b,c9 as N,bo as be,bs as J,a7 as A,ay as x,W as C,bn as U,aA as a,a5 as Ce,bf as V,bA as Oe,aB as Y,bS as Ue,aG as Ye,br as ht,ca as pt,bI as Ze}from"./DYhIMPy1.js";import{s as k}from"./CiSnSGvU.js";import{i as Pe}from"./yn6WWSq8.js";import{h as gt,a6 as Ve,aJ as _,bM as Re,bu as ft,b1 as vt,av as _e,aS as mt,b2 as $e,aE as Ie,ad as yt,l as bt,aT as T,bn as B,bp as F,I as Ct,n as Ot,j as Pt,al as _t,ag as qe}from"./Cd_8r4jJ.js";import{c as wt}from"./B4USm-wY.js";import{s as St}from"./DXDNvQ8c.js";import{f as xt,E as Nt}from"./wwtnRh6M.js";const It=mt({component:"dialog",parts:["content","trigger","overlay","title","description","close","cancel","action"]}),X=new gt("Dialog.Root | AlertDialog.Root");var te,re,ne,oe,se,ie,ae,le,de,ce,ue;const Be=class Be{constructor(e,r){y(this,"opts");O(this,te,M(null));O(this,re,M(null));O(this,ne,M(null));O(this,oe,M(null));O(this,se,M(void 0));O(this,ie,M(void 0));O(this,ae,M(void 0));O(this,le,M(void 0));O(this,de,M(null));O(this,ce,M(0));y(this,"depth");y(this,"parent");y(this,"contentPresence");y(this,"overlayPresence");y(this,"getBitsAttr",e=>It.getAttr(e,this.opts.variant.current));O(this,ue,N(()=>({"data-state":vt(this.opts.open.current)})));this.opts=e,this.parent=r,this.depth=r?r.depth+1:0,this.handleOpen=this.handleOpen.bind(this),this.handleClose=this.handleClose.bind(this),this.contentPresence=new Ve({ref:_(()=>this.contentNode),open:this.opts.open,enabled:!0,onComplete:()=>{this.opts.onOpenChangeComplete.current(this.opts.open.current)}}),this.overlayPresence=new Ve({ref:_(()=>this.overlayNode),open:this.opts.open,enabled:!0}),Re(()=>this.opts.open.current,s=>{this.parent&&(s?this.parent.incrementNested():this.parent.decrementNested())},{lazy:!0}),ft(()=>{this.opts.open.current&&this.parent?.decrementNested()})}static create(e){const r=X.getOr(null);return X.set(new Be(e,r))}get triggerNode(){return c(l(this,te))}set triggerNode(e){b(l(this,te),e,!0)}get contentNode(){return c(l(this,re))}set contentNode(e){b(l(this,re),e,!0)}get overlayNode(){return c(l(this,ne))}set overlayNode(e){b(l(this,ne),e,!0)}get descriptionNode(){return c(l(this,oe))}set descriptionNode(e){b(l(this,oe),e,!0)}get contentId(){return c(l(this,se))}set contentId(e){b(l(this,se),e,!0)}get titleId(){return c(l(this,ie))}set titleId(e){b(l(this,ie),e,!0)}get triggerId(){return c(l(this,ae))}set triggerId(e){b(l(this,ae),e,!0)}get descriptionId(){return c(l(this,le))}set descriptionId(e){b(l(this,le),e,!0)}get cancelNode(){return c(l(this,de))}set cancelNode(e){b(l(this,de),e,!0)}get nestedOpenCount(){return c(l(this,ce))}set nestedOpenCount(e){b(l(this,ce),e,!0)}handleOpen(){this.opts.open.current||(this.opts.open.current=!0)}handleClose(){this.opts.open.current&&(this.opts.open.current=!1)}incrementNested(){this.nestedOpenCount++,this.parent?.incrementNested()}decrementNested(){this.nestedOpenCount!==0&&(this.nestedOpenCount--,this.parent?.decrementNested())}get sharedProps(){return c(l(this,ue))}set sharedProps(e){b(l(this,ue),e)}};te=new WeakMap,re=new WeakMap,ne=new WeakMap,oe=new WeakMap,se=new WeakMap,ie=new WeakMap,ae=new WeakMap,le=new WeakMap,de=new WeakMap,ce=new WeakMap,ue=new WeakMap;let Ee=Be;var he;const Ke=class Ke{constructor(e,r){y(this,"opts");y(this,"root");y(this,"attachment");O(this,he,N(()=>({id:this.opts.id.current,[this.root.getBitsAttr(this.opts.variant.current)]:"",onclick:this.onclick,onkeydown:this.onkeydown,disabled:this.opts.disabled.current?!0:void 0,tabindex:0,...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.attachment=_e(this.opts.ref),this.onclick=this.onclick.bind(this),this.onkeydown=this.onkeydown.bind(this)}static create(e){return new Ke(e,X.get())}onclick(e){this.opts.disabled.current||e.button>0||this.root.handleClose()}onkeydown(e){this.opts.disabled.current||(e.key===yt||e.key===bt)&&(e.preventDefault(),this.root.handleClose())}get props(){return c(l(this,he))}set props(e){b(l(this,he),e)}};he=new WeakMap;let Fe=Ke;var pe;const ze=class ze{constructor(e,r){y(this,"opts");y(this,"root");y(this,"attachment");O(this,pe,N(()=>({id:this.opts.id.current,role:"heading","aria-level":this.opts.level.current,[this.root.getBitsAttr("title")]:"",...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.root.titleId=this.opts.id.current,this.attachment=_e(this.opts.ref),Re.pre(()=>this.opts.id.current,s=>{this.root.titleId=s})}static create(e){return new ze(e,X.get())}get props(){return c(l(this,pe))}set props(e){b(l(this,pe),e)}};pe=new WeakMap;let ke=ze;var ge;const We=class We{constructor(e,r){y(this,"opts");y(this,"root");y(this,"attachment");O(this,ge,N(()=>({id:this.opts.id.current,[this.root.getBitsAttr("description")]:"",...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.root.descriptionId=this.opts.id.current,this.attachment=_e(this.opts.ref,s=>{this.root.descriptionNode=s}),Re.pre(()=>this.opts.id.current,s=>{this.root.descriptionId=s})}static create(e){return new We(e,X.get())}get props(){return c(l(this,ge))}set props(e){b(l(this,ge),e)}};ge=new WeakMap;let De=We;var fe,ve;const Xe=class Xe{constructor(e,r){y(this,"opts");y(this,"root");y(this,"attachment");O(this,fe,N(()=>({open:this.root.opts.open.current})));O(this,ve,N(()=>({id:this.opts.id.current,role:this.root.opts.variant.current==="alert-dialog"?"alertdialog":"dialog","aria-modal":"true","aria-describedby":this.root.descriptionId,"aria-labelledby":this.root.titleId,[this.root.getBitsAttr("content")]:"",style:{pointerEvents:"auto",outline:this.root.opts.variant.current==="alert-dialog"?"none":void 0,"--bits-dialog-depth":this.root.depth,"--bits-dialog-nested-count":this.root.nestedOpenCount,contain:"layout style"},tabindex:this.root.opts.variant.current==="alert-dialog"?-1:void 0,"data-nested-open":Ie(this.root.nestedOpenCount>0),"data-nested":Ie(this.root.parent!==null),...$e(this.root.contentPresence.transitionStatus),...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.attachment=_e(this.opts.ref,s=>{this.root.contentNode=s,this.root.contentId=s?.id})}static create(e){return new Xe(e,X.get())}get snippetProps(){return c(l(this,fe))}set snippetProps(e){b(l(this,fe),e)}get props(){return c(l(this,ve))}set props(e){b(l(this,ve),e)}get shouldRender(){return this.root.contentPresence.shouldRender}};fe=new WeakMap,ve=new WeakMap;let Me=Xe;var me,ye;const je=class je{constructor(e,r){y(this,"opts");y(this,"root");y(this,"attachment");O(this,me,N(()=>({open:this.root.opts.open.current})));O(this,ye,N(()=>({id:this.opts.id.current,[this.root.getBitsAttr("overlay")]:"",style:{pointerEvents:"auto","--bits-dialog-depth":this.root.depth,"--bits-dialog-nested-count":this.root.nestedOpenCount},"data-nested-open":Ie(this.root.nestedOpenCount>0),"data-nested":Ie(this.root.parent!==null),...$e(this.root.overlayPresence.transitionStatus),...this.root.sharedProps,...this.attachment})));this.opts=e,this.root=r,this.attachment=_e(this.opts.ref,s=>this.root.overlayNode=s)}static create(e){return new je(e,X.get())}get snippetProps(){return c(l(this,me))}set snippetProps(e){b(l(this,me),e)}get props(){return c(l(this,ye))}set props(e){b(l(this,ye),e)}get shouldRender(){return this.root.overlayPresence.shouldRender}};me=new WeakMap,ye=new WeakMap;let Te=je;var At=new Set(["$$slots","$$events","$$legacy","id","ref","child","children","level"]),Et=Y("<div><!></div>");function Ft(n,e){const r=be();if(new.target)return j({component:Ft,...n});J(e,!0);let s=i(e,"id",23,()=>T(r)),g=i(e,"ref",15,null),u=i(e,"child",7),v=i(e,"children",7),m=i(e,"level",7,2),w=Q(e,At);const p=ke.create({id:_(()=>s()),level:_(()=>m()),ref:_(()=>g(),t=>g(t))}),f=N(()=>B(w,p.props));var S={get id(){return s()},set id(t=T(r)){s(t),a()},get ref(){return g()},set ref(t=null){g(t),a()},get child(){return u()},set child(t){u(t),a()},get children(){return v()},set children(t){v(t),a()},get level(){return m()},set level(t=2){m(t),a()},$set:G,$on:(t,h)=>H(e,t,h)},P=A(),E=x(P);{var I=t=>{var h=A(),D=x(h);k(D,u,()=>({props:c(f)})),C(t,h)},o=t=>{var h=Et();Pe(h,()=>({...c(f)}));var D=Ce(h);k(D,()=>v()??V),Oe(h),C(t,h)};z(E,t=>{u()?t(I):t(o,-1)})}return C(n,P),U(S)}var kt=new Set(["$$slots","$$events","$$legacy","id","forceMount","child","children","ref"]),Dt=Y("<div><!></div>");function Mt(n,e){const r=be();if(new.target)return j({component:Mt,...n});J(e,!0);let s=i(e,"id",23,()=>T(r)),g=i(e,"forceMount",7,!1),u=i(e,"child",7),v=i(e,"children",7),m=i(e,"ref",15,null),w=Q(e,kt);const p=Te.create({id:_(()=>s()),ref:_(()=>m(),o=>m(o))}),f=N(()=>B(w,p.props));var S={get id(){return s()},set id(o=T(r)){s(o),a()},get forceMount(){return g()},set forceMount(o=!1){g(o),a()},get child(){return u()},set child(o){u(o),a()},get children(){return v()},set children(o){v(o),a()},get ref(){return m()},set ref(o=null){m(o),a()},$set:G,$on:(o,t)=>H(e,o,t)},P=A(),E=x(P);{var I=o=>{var t=A(),h=x(t);{var D=K=>{var R=A(),d=x(R);{let q=N(()=>({props:B(c(f)),...p.snippetProps}));k(d,u,()=>c(q))}C(K,R)},we=K=>{var R=Dt();Pe(R,q=>({...q}),[()=>B(c(f))]);var d=Ce(R);k(d,()=>v()??V,()=>p.snippetProps),Oe(R),C(K,R)};z(h,K=>{u()?K(D):K(we,-1)})}C(o,t)};z(E,o=>{(p.shouldRender||g())&&o(I)})}return C(n,P),U(S)}var Tt=new Set(["$$slots","$$events","$$legacy","id","children","child","ref"]),Rt=Y("<div><!></div>");function Bt(n,e){const r=be();if(new.target)return j({component:Bt,...n});J(e,!0);let s=i(e,"id",23,()=>T(r)),g=i(e,"children",7),u=i(e,"child",7),v=i(e,"ref",15,null),m=Q(e,Tt);const w=De.create({id:_(()=>s()),ref:_(()=>v(),o=>v(o))}),p=N(()=>B(m,w.props));var f={get id(){return s()},set id(o=T(r)){s(o),a()},get children(){return g()},set children(o){g(o),a()},get child(){return u()},set child(o){u(o),a()},get ref(){return v()},set ref(o=null){v(o),a()},$set:G,$on:(o,t)=>H(e,o,t)},S=A(),P=x(S);{var E=o=>{var t=A(),h=x(t);k(h,u,()=>({props:c(p)})),C(o,t)},I=o=>{var t=Rt();Pe(t,()=>({...c(p)}));var h=Ce(t);k(h,()=>g()??V),Oe(t),C(o,t)};z(P,o=>{u()?o(E):o(I,-1)})}return C(n,S),U(f)}function et(n,e){if(new.target)return j({component:et,...n});J(e,!0);let r=i(e,"open",15,!1),s=i(e,"onOpenChange",7,F),g=i(e,"onOpenChangeComplete",7,F),u=i(e,"children",7);Ee.create({variant:_(()=>"dialog"),open:_(()=>r(),p=>{r(p),s()(p)}),onOpenChangeComplete:_(()=>g())});var v={get open(){return r()},set open(p=!1){r(p),a()},get onOpenChange(){return s()},set onOpenChange(p=F){s(p),a()},get onOpenChangeComplete(){return g()},set onOpenChangeComplete(p=F){g(p),a()},get children(){return u()},set children(p){u(p),a()},$set:G,$on:(p,f)=>H(e,p,f)},m=A(),w=x(m);return k(w,()=>u()??V),C(n,m),U(v)}var Kt=new Set(["$$slots","$$events","$$legacy","children","child","id","ref","disabled"]),zt=Y("<button><!></button>");function Wt(n,e){const r=be();if(new.target)return j({component:Wt,...n});J(e,!0);let s=i(e,"children",7),g=i(e,"child",7),u=i(e,"id",23,()=>T(r)),v=i(e,"ref",15,null),m=i(e,"disabled",7,!1),w=Q(e,Kt);const p=Fe.create({variant:_(()=>"close"),id:_(()=>u()),ref:_(()=>v(),t=>v(t)),disabled:_(()=>!!m())}),f=N(()=>B(w,p.props));var S={get children(){return s()},set children(t){s(t),a()},get child(){return g()},set child(t){g(t),a()},get id(){return u()},set id(t=T(r)){u(t),a()},get ref(){return v()},set ref(t=null){v(t),a()},get disabled(){return m()},set disabled(t=!1){m(t),a()},$set:G,$on:(t,h)=>H(e,t,h)},P=A(),E=x(P);{var I=t=>{var h=A(),D=x(h);k(D,g,()=>({props:c(f)})),C(t,h)},o=t=>{var h=zt();Pe(h,()=>({...c(f)}));var D=Ce(h);k(D,()=>s()??V),Oe(h),C(t,h)};z(E,t=>{g()?t(I):t(o,-1)})}return C(n,P),U(S)}var Xt=new Set(["$$slots","$$events","$$legacy","id","children","child","ref","forceMount","onCloseAutoFocus","onOpenAutoFocus","onEscapeKeydown","onInteractOutside","trapFocus","preventScroll","restoreScrollDelay"]),jt=Y("<!> <!>",1),Gt=Y("<!> <div><!></div>",1);function Ht(n,e){const r=be();if(new.target)return j({component:Ht,...n});J(e,!0);let s=i(e,"id",23,()=>T(r)),g=i(e,"children",7),u=i(e,"child",7),v=i(e,"ref",15,null),m=i(e,"forceMount",7,!1),w=i(e,"onCloseAutoFocus",7,F),p=i(e,"onOpenAutoFocus",7,F),f=i(e,"onEscapeKeydown",7,F),S=i(e,"onInteractOutside",7,F),P=i(e,"trapFocus",7,!0),E=i(e,"preventScroll",7,!0),I=i(e,"restoreScrollDelay",7,null),o=Q(e,Xt);const t=Me.create({id:_(()=>s()),ref:_(()=>v(),d=>v(d))}),h=N(()=>B(o,t.props));var D={get id(){return s()},set id(d=T(r)){s(d),a()},get children(){return g()},set children(d){g(d),a()},get child(){return u()},set child(d){u(d),a()},get ref(){return v()},set ref(d=null){v(d),a()},get forceMount(){return m()},set forceMount(d=!1){m(d),a()},get onCloseAutoFocus(){return w()},set onCloseAutoFocus(d=F){w(d),a()},get onOpenAutoFocus(){return p()},set onOpenAutoFocus(d=F){p(d),a()},get onEscapeKeydown(){return f()},set onEscapeKeydown(d=F){f(d),a()},get onInteractOutside(){return S()},set onInteractOutside(d=F){S(d),a()},get trapFocus(){return P()},set trapFocus(d=!0){P(d),a()},get preventScroll(){return E()},set preventScroll(d=!0){E(d),a()},get restoreScrollDelay(){return I()},set restoreScrollDelay(d=null){I(d),a()},$set:G,$on:(d,q)=>H(e,d,q)},we=A(),K=x(we);{var R=d=>{Ct(d,{get ref(){return t.opts.ref},loop:!0,get trapFocus(){return P()},get enabled(){return t.root.opts.open.current},get onOpenAutoFocus(){return p()},get onCloseAutoFocus(){return w()},focusScope:(nt,ot)=>{let Ge=()=>(ot?.()).props;Ot(nt,Ne(()=>c(h),{get enabled(){return t.root.opts.open.current},get ref(){return t.opts.ref},onEscapeKeydown:Se=>{f()(Se),!Se.defaultPrevented&&t.root.handleClose()},children:(Se,Qt)=>{Pt(Se,Ne(()=>c(h),{get ref(){return t.opts.ref},get enabled(){return t.root.opts.open.current},onInteractOutside:xe=>{S()(xe),!xe.defaultPrevented&&t.root.handleClose()},children:(xe,Yt)=>{_t(xe,Ne(()=>c(h),{get ref(){return t.opts.ref},get enabled(){return t.root.opts.open.current},children:(st,Zt)=>{var He=A(),it=x(He);{var at=L=>{var Z=jt(),$=x(Z);{var ee=W=>{qe(W,{get preventScroll(){return E()},get restoreScrollDelay(){return I()}})};z($,W=>{t.root.opts.open.current&&W(ee)})}var Ae=Ue($,2);{let W=N(()=>({props:B(c(h),Ge()),...t.snippetProps}));k(Ae,u,()=>c(W))}C(L,Z)},lt=L=>{var Z=Gt(),$=x(Z);qe($,{get preventScroll(){return E()}});var ee=Ue($,2);Pe(ee,W=>({...W}),[()=>B(c(h),Ge())]);var Ae=Ce(ee);k(Ae,()=>g()??V),Oe(ee),C(L,Z)};z(it,L=>{u()?L(at):L(lt,-1)})}C(st,He)},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{default:!0}}))},$$slots:{focusScope:!0}})};z(K,d=>{(t.shouldRender||m())&&d(R)})}return C(n,we),U(D)}const tt=Symbol("overlay-open"),rt=Symbol("overlay-static"),Le={tier:"moderate",x:0,y:0,scale:1,opacity:0},Qe={tier:"slow",x:0,y:8,scale:.97,opacity:0},Jt={top:{x:0,y:"-100%"},right:{x:"100%",y:0},bottom:{x:0,y:"100%"},left:{x:"-100%",y:0}},lr={backdrop:{enter:Le,exit:Le},dialog:{enter:Qe,exit:Qe},sheet(n){const e={tier:"slow",scale:1,opacity:1,...Jt[n]};return{enter:e,exit:e}}};function Ut(n){Ze(tt,n)}function dr(){const n=Ye(tt);if(!n)throw new Error("Dialog or Sheet Content must be nested inside its Root.");return n}function Vt(n){Ze(rt,n)}function cr(){return Ye(rt)??(()=>!1)}function ur(n){let e=M(ht(n()));return pt(()=>{if(n()){b(e,!0);return}if(!c(e))return;const r=window.setTimeout(()=>b(e,!1),xt(Nt.slow));return()=>window.clearTimeout(r)}),{get mounted(){return c(e)},finishExit(){n()||b(e,!1)}}}var qt=new Set(["$$slots","$$events","$$legacy","open","staticPosition","children","onOpenChange"]);function Lt(n,e){if(new.target)return j({component:Lt,...n});J(e,!0);let r=i(e,"open",15,!1),s=i(e,"staticPosition",7,!1),g=i(e,"children",7),u=i(e,"onOpenChange",7),v=Q(e,qt);Ut(()=>r()),Vt(()=>s()),St(()=>{r(!1),u()?.(!1)});var m={get open(){return r()},set open(f=!1){r(f),a()},get staticPosition(){return s()},set staticPosition(f=!1){s(f),a()},get children(){return g()},set children(f){g(f),a()},get onOpenChange(){return u()},set onOpenChange(f){u(f),a()},$set:G,$on:(f,S)=>H(e,f,S)},w=A(),p=x(w);return wt(p,()=>et,(f,S)=>{S(f,Ne({get onOpenChange(){return u()}},()=>v,{get open(){return r()},set open(P){r(P)},children:(P,E)=>{var I=A(),o=x(I);k(o,()=>g()??V),C(P,I)},$$slots:{default:!0}}))}),C(n,w),U(m)}export{Wt as D,Lt as O,Ht as a,Bt as b,Mt as c,Ft as d,ur as e,cr as f,lr as o,dr as u};
@@ -1 +1 @@
1
- import{Ik as r,nx as p,ny as i,mb as s,J as S}from"./Dk1_0x0Q.js";import{bo as o}from"./Dso1_H3c.js";const u={"Setup Script":()=>o.terminal_daemonName_setupScript_label(),Terminal:()=>o.terminal_quakeOverlay_terminal_fallback()};function T(e){if(e)return Object.hasOwn(u,e)?u[e]():e}function d(e){return e.customName||T(e.name)||o.terminal_quakeOverlay_terminal_fallback()}const f=r.createSelector((e,t,a,l)=>{const n=p(e.terminals.creationOutcomes,t);return n?.workspaceId===a&&n.resourceId===l?n:void 0});function m(e,t){return t?e.terminals.workspaces[t]||s:s}function c(e,t){return e.terminals.workspaces[t]||s}function k(e){return(e.customName||e.name)==="Setup"}const _=r.createSelector((e,t)=>e.terminals.workspaceHeights[t]??e.terminals.height),v=r.createSelector((e,t)=>m(e,t).activeTerminalId),I=r.createSelector((e,t)=>i(m(e,t).terminals)),O=r.createSelector((e,t)=>{if(!t)return null;const a=c(e,t).selectedScriptId;return a||null}),g=r.createSelector((e,t)=>c(e,t).isOpen),y=r.createSelector((e,t)=>c(e,t).activeTerminalId),N=r.createSelector((e,t)=>i(c(e,t).terminals)),b=r.createSelector((e,t)=>i(c(e,t).terminals).find(k)),A=r.createSelector((e,t)=>e.terminals.workspaces[t]||s),W=r.createSelector((e,t,a)=>c(e,t).placements[a]??e.terminals.workspacePlacements[t]?.[a]??S),P=r.createSelector((e,t)=>e.terminals.workspacePlacements[t]),E=r.createSelector((e,t,a)=>{const l=m(e,t),n=p(l.terminals,a);return e.userPreferences?.languagePreference,d(n??{})}),M=Object.freeze(Object.defineProperty({__proto__:null,selectActiveTerminalId:v,selectActiveTerminalIdForWorkspace:y,selectHydratedWorkspacePlacements:P,selectIsTerminalOverlayOpenForWorkspace:g,selectSelectedScriptId:O,selectTerminalCreationOutcome:f,selectTerminalDisplayName:E,selectTerminalOverlayHeight:_,selectTerminalPlacement:W,selectTerminals:I,selectTerminalsForWorkspace:N,selectWorkspaceSetupTerminal:b,selectWorkspaceTerminalState:A},Symbol.toStringTag,{value:"Module"}));export{P as a,g as b,f as c,E as d,_ as e,N as f,b as g,A as h,M as i,T as l,y as s,d as t};
1
+ import{Ik as r,nx as p,ny as i,mb as s,J as S}from"./DYfeeu3f.js";import{bp as o}from"./CEL6QztG.js";const u={"Setup Script":()=>o.terminal_daemonName_setupScript_label(),Terminal:()=>o.terminal_quakeOverlay_terminal_fallback()};function T(e){if(e)return Object.hasOwn(u,e)?u[e]():e}function d(e){return e.customName||T(e.name)||o.terminal_quakeOverlay_terminal_fallback()}const f=r.createSelector((e,t,a,l)=>{const n=p(e.terminals.creationOutcomes,t);return n?.workspaceId===a&&n.resourceId===l?n:void 0});function m(e,t){return t?e.terminals.workspaces[t]||s:s}function c(e,t){return e.terminals.workspaces[t]||s}function k(e){return(e.customName||e.name)==="Setup"}const _=r.createSelector((e,t)=>e.terminals.workspaceHeights[t]??e.terminals.height),v=r.createSelector((e,t)=>m(e,t).activeTerminalId),I=r.createSelector((e,t)=>i(m(e,t).terminals)),O=r.createSelector((e,t)=>{if(!t)return null;const a=c(e,t).selectedScriptId;return a||null}),g=r.createSelector((e,t)=>c(e,t).isOpen),y=r.createSelector((e,t)=>c(e,t).activeTerminalId),N=r.createSelector((e,t)=>i(c(e,t).terminals)),b=r.createSelector((e,t)=>i(c(e,t).terminals).find(k)),A=r.createSelector((e,t)=>e.terminals.workspaces[t]||s),W=r.createSelector((e,t,a)=>c(e,t).placements[a]??e.terminals.workspacePlacements[t]?.[a]??S),P=r.createSelector((e,t)=>e.terminals.workspacePlacements[t]),E=r.createSelector((e,t,a)=>{const l=m(e,t),n=p(l.terminals,a);return e.userPreferences?.languagePreference,d(n??{})}),M=Object.freeze(Object.defineProperty({__proto__:null,selectActiveTerminalId:v,selectActiveTerminalIdForWorkspace:y,selectHydratedWorkspacePlacements:P,selectIsTerminalOverlayOpenForWorkspace:g,selectSelectedScriptId:O,selectTerminalCreationOutcome:f,selectTerminalDisplayName:E,selectTerminalOverlayHeight:_,selectTerminalPlacement:W,selectTerminals:I,selectTerminalsForWorkspace:N,selectWorkspaceSetupTerminal:b,selectWorkspaceTerminalState:A},Symbol.toStringTag,{value:"Module"}));export{P as a,g as b,f as c,E as d,_ as e,N as f,b as g,A as h,M as i,T as l,y as s,d as t};
@@ -1,4 +1,4 @@
1
- import{b as o,W as pt,x as nt,am as Wt,an as Rt,au as Pt,H as Bt,X as ft,ay as E,aX as Vt,aH as Ft,b3 as yt,aW as U,d as ct,_ as zt,y as Ot,r as Gt}from"./98zeaLhZ.js";var tt=(function(){var e=o(function(k,a,d,l){for(d=d||{},l=k.length;l--;d[k[l]]=a);return d},"o"),t=[6,11,13,14,15,17,19,20,23,24],s=[1,12],r=[1,13],n=[1,14],h=[1,15],c=[1,16],i=[1,19],y=[1,20],p={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline_header:4,document:5,EOF:6,timeline:7,timeline_lr:8,timeline_td:9,line:10,SPACE:11,statement:12,NEWLINE:13,title:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,period_statement:21,event_statement:22,period:23,event:24,$accept:0,$end:1},terminals_:{2:"error",6:"EOF",7:"timeline",8:"timeline_lr",9:"timeline_td",11:"SPACE",13:"NEWLINE",14:"title",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",23:"period",24:"event"},productions_:[0,[3,3],[4,1],[4,1],[4,1],[5,0],[5,2],[10,2],[10,1],[10,1],[10,1],[12,1],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[21,1],[22,1]],performAction:o(function(a,d,l,g,x,u,S){var v=u.length-1;switch(x){case 1:return u[v-1];case 3:g.setDirection("LR");break;case 4:g.setDirection("TD");break;case 5:this.$=[];break;case 6:u[v-1].push(u[v]),this.$=u[v-1];break;case 7:case 8:this.$=u[v];break;case 9:case 10:this.$=[];break;case 11:g.getCommonDb().setDiagramTitle(u[v].substr(6)),this.$=u[v].substr(6);break;case 12:this.$=u[v].trim(),g.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=u[v].trim(),g.getCommonDb().setAccDescription(this.$);break;case 15:g.addSection(u[v].substr(8)),this.$=u[v].substr(8);break;case 18:g.addTask(u[v],0,""),this.$=u[v];break;case 19:g.addEvent(u[v].substr(2)),this.$=u[v];break}},"anonymous"),table:[{3:1,4:2,7:[1,3],8:[1,4],9:[1,5]},{1:[3]},e(t,[2,5],{5:6}),e(t,[2,2]),e(t,[2,3]),e(t,[2,4]),{6:[1,7],10:8,11:[1,9],12:10,13:[1,11],14:s,15:r,17:n,19:h,20:c,21:17,22:18,23:i,24:y},e(t,[2,10],{1:[2,1]}),e(t,[2,6]),{12:21,14:s,15:r,17:n,19:h,20:c,21:17,22:18,23:i,24:y},e(t,[2,8]),e(t,[2,9]),e(t,[2,11]),{16:[1,22]},{18:[1,23]},e(t,[2,14]),e(t,[2,15]),e(t,[2,16]),e(t,[2,17]),e(t,[2,18]),e(t,[2,19]),e(t,[2,7]),e(t,[2,12]),e(t,[2,13])],defaultActions:{},parseError:o(function(a,d){if(d.recoverable)this.trace(a);else{var l=new Error(a);throw l.hash=d,l}},"parseError"),parse:o(function(a){var d=this,l=[0],g=[],x=[null],u=[],S=this.table,v="",I=0,C=0,R=2,O=1,L=u.slice.call(arguments,1),w=Object.create(this.lexer),H={yy:{}};for(var V in this.yy)Object.prototype.hasOwnProperty.call(this.yy,V)&&(H.yy[V]=this.yy[V]);w.setInput(a,H.yy),H.yy.lexer=w,H.yy.parser=this,typeof w.yylloc>"u"&&(w.yylloc={});var F=w.yylloc;u.push(F);var K=w.options&&w.options.ranges;typeof H.yy.parseError=="function"?this.parseError=H.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function N(A){l.length=l.length-2*A,x.length=x.length-A,u.length=u.length-A}o(N,"popStack");function b(){var A;return A=g.pop()||w.lex()||O,typeof A!="number"&&(A instanceof Array&&(g=A,A=g.pop()),A=d.symbols_[A]||A),A}o(b,"lex");for(var _,$,T,P,W={},G,B,Z,j;;){if($=l[l.length-1],this.defaultActions[$]?T=this.defaultActions[$]:((_===null||typeof _>"u")&&(_=b()),T=S[$]&&S[$][_]),typeof T>"u"||!T.length||!T[0]){var Y="";j=[];for(G in S[$])this.terminals_[G]&&G>R&&j.push("'"+this.terminals_[G]+"'");w.showPosition?Y="Parse error on line "+(I+1)+`:
1
+ import{b as o,W as pt,x as nt,am as Wt,an as Rt,au as Pt,H as Bt,X as ft,ay as E,aX as Vt,aH as Ft,b3 as yt,aW as U,d as ct,_ as zt,y as Ot,r as Gt}from"./DistMkl2.js";var tt=(function(){var e=o(function(k,a,d,l){for(d=d||{},l=k.length;l--;d[k[l]]=a);return d},"o"),t=[6,11,13,14,15,17,19,20,23,24],s=[1,12],r=[1,13],n=[1,14],h=[1,15],c=[1,16],i=[1,19],y=[1,20],p={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline_header:4,document:5,EOF:6,timeline:7,timeline_lr:8,timeline_td:9,line:10,SPACE:11,statement:12,NEWLINE:13,title:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,period_statement:21,event_statement:22,period:23,event:24,$accept:0,$end:1},terminals_:{2:"error",6:"EOF",7:"timeline",8:"timeline_lr",9:"timeline_td",11:"SPACE",13:"NEWLINE",14:"title",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",23:"period",24:"event"},productions_:[0,[3,3],[4,1],[4,1],[4,1],[5,0],[5,2],[10,2],[10,1],[10,1],[10,1],[12,1],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[21,1],[22,1]],performAction:o(function(a,d,l,g,x,u,S){var v=u.length-1;switch(x){case 1:return u[v-1];case 3:g.setDirection("LR");break;case 4:g.setDirection("TD");break;case 5:this.$=[];break;case 6:u[v-1].push(u[v]),this.$=u[v-1];break;case 7:case 8:this.$=u[v];break;case 9:case 10:this.$=[];break;case 11:g.getCommonDb().setDiagramTitle(u[v].substr(6)),this.$=u[v].substr(6);break;case 12:this.$=u[v].trim(),g.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=u[v].trim(),g.getCommonDb().setAccDescription(this.$);break;case 15:g.addSection(u[v].substr(8)),this.$=u[v].substr(8);break;case 18:g.addTask(u[v],0,""),this.$=u[v];break;case 19:g.addEvent(u[v].substr(2)),this.$=u[v];break}},"anonymous"),table:[{3:1,4:2,7:[1,3],8:[1,4],9:[1,5]},{1:[3]},e(t,[2,5],{5:6}),e(t,[2,2]),e(t,[2,3]),e(t,[2,4]),{6:[1,7],10:8,11:[1,9],12:10,13:[1,11],14:s,15:r,17:n,19:h,20:c,21:17,22:18,23:i,24:y},e(t,[2,10],{1:[2,1]}),e(t,[2,6]),{12:21,14:s,15:r,17:n,19:h,20:c,21:17,22:18,23:i,24:y},e(t,[2,8]),e(t,[2,9]),e(t,[2,11]),{16:[1,22]},{18:[1,23]},e(t,[2,14]),e(t,[2,15]),e(t,[2,16]),e(t,[2,17]),e(t,[2,18]),e(t,[2,19]),e(t,[2,7]),e(t,[2,12]),e(t,[2,13])],defaultActions:{},parseError:o(function(a,d){if(d.recoverable)this.trace(a);else{var l=new Error(a);throw l.hash=d,l}},"parseError"),parse:o(function(a){var d=this,l=[0],g=[],x=[null],u=[],S=this.table,v="",I=0,C=0,R=2,O=1,L=u.slice.call(arguments,1),w=Object.create(this.lexer),H={yy:{}};for(var V in this.yy)Object.prototype.hasOwnProperty.call(this.yy,V)&&(H.yy[V]=this.yy[V]);w.setInput(a,H.yy),H.yy.lexer=w,H.yy.parser=this,typeof w.yylloc>"u"&&(w.yylloc={});var F=w.yylloc;u.push(F);var K=w.options&&w.options.ranges;typeof H.yy.parseError=="function"?this.parseError=H.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function N(A){l.length=l.length-2*A,x.length=x.length-A,u.length=u.length-A}o(N,"popStack");function b(){var A;return A=g.pop()||w.lex()||O,typeof A!="number"&&(A instanceof Array&&(g=A,A=g.pop()),A=d.symbols_[A]||A),A}o(b,"lex");for(var _,$,T,P,W={},G,B,Z,j;;){if($=l[l.length-1],this.defaultActions[$]?T=this.defaultActions[$]:((_===null||typeof _>"u")&&(_=b()),T=S[$]&&S[$][_]),typeof T>"u"||!T.length||!T[0]){var Y="";j=[];for(G in S[$])this.terminals_[G]&&G>R&&j.push("'"+this.terminals_[G]+"'");w.showPosition?Y="Parse error on line "+(I+1)+`:
2
2
  `+w.showPosition()+`
3
3
  Expecting `+j.join(", ")+", got '"+(this.terminals_[_]||_)+"'":Y="Parse error on line "+(I+1)+": Unexpected "+(_==O?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(Y,{text:w.match,token:this.terminals_[_]||_,line:w.yylineno,loc:F,expected:j})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+$+", token: "+_);switch(T[0]){case 1:l.push(_),x.push(w.yytext),u.push(w.yylloc),l.push(T[1]),_=null,C=w.yyleng,v=w.yytext,I=w.yylineno,F=w.yylloc;break;case 2:if(B=this.productions_[T[1]][1],W.$=x[x.length-B],W._$={first_line:u[u.length-(B||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(B||1)].first_column,last_column:u[u.length-1].last_column},K&&(W._$.range=[u[u.length-(B||1)].range[0],u[u.length-1].range[1]]),P=this.performAction.apply(W,[v,C,I,H.yy,T[1],x,u].concat(L)),typeof P<"u")return P;B&&(l=l.slice(0,-1*B*2),x=x.slice(0,-1*B),u=u.slice(0,-1*B)),l.push(this.productions_[T[1]][0]),x.push(W.$),u.push(W._$),Z=S[l[l.length-2]][l[l.length-1]],l.push(Z);break;case 3:return!0}}return!0},"parse")},m=(function(){var k={EOF:1,parseError:o(function(d,l){if(this.yy.parser)this.yy.parser.parseError(d,l);else throw new Error(d)},"parseError"),setInput:o(function(a,d){return this.yy=d||this.yy||{},this._input=a,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var d=a.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},"input"),unput:o(function(a){var d=a.length,l=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var g=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var x=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===g.length?this.yylloc.first_column:0)+g[g.length-l.length].length-l[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[x[0],x[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(a){this.unput(this.match.slice(a))},"less"),pastInput:o(function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var a=this.pastInput(),d=new Array(a.length+1).join("-");return a+this.upcomingInput()+`
@@ -1 +1 @@
1
- import{t as le,bq as u,a_ as D,by as ce,b as ve}from"./Dso1_H3c.js";import{bs as de,ca as fe,aD as e,a5 as H,bS as ue,bA as L,bH as K,b_ as S,W as T,bn as ge,bV as P,c9 as x,aA as g,a7 as me,ay as he,bl as pe,bO as be,aB as F}from"./DYhIMPy1.js";import{v as X,u as c,n as _e,w as R}from"./CnMdEUN9.js";import{s as ke}from"./BfNeIJAh.js";import{b as we}from"./BaIAhI85.js";import{t as j}from"./Cl-7Au8R.js";import{A as xe}from"./DpeaMqro.js";import{s as We}from"./CSpV9hdy.js";function ye(W){const{itemCount:a,maxVisible:v,availableWidth:r,surface:s,overlap:b,overflowOverlap:d}=W;if(r<=0)return 0;const _=s-b,m=Math.min(a,Math.max(0,v)),I=i=>i===0?0:s+(i-1)*_;if(a<=m&&I(a)<=r)return a;for(let i=m;i>=0;i-=1){const A=a-i;if(I(i)+(A>0?W.measureOverflowText(A)-(i>0?d:0):0)<=r)return i}return 0}function Ie(W,a=r=>requestAnimationFrame(r),v=r=>cancelAnimationFrame(r)){let r,s;return{set(b){if(r=b,s!==void 0)return;let d=!1;const _=a(()=>{d=!0,s=void 0;const m=r;r=void 0,W(m)});d||(s=_)},cancel(){s!==void 0&&(v(s),s=void 0),r=void 0}}}const Ae=20,Ce=12;let O,J;const Q=new Map;var Te=F('<span data-agent-avatar-stack-item=""><!></span>'),Oe=F('<span class="agent-avatar-stack-track svelte-1nk9fhe"></span>'),Ve=F('<span class="agent-avatar-stack-overflow svelte-1nk9fhe" data-agent-avatar-overflow=""> </span>'),Me=F('<span data-agent-avatar-stack="" data-agent-avatar-stack-overlap="later-on-top"><!> <!></span>');function Se(W,a){if(new.target)return le({component:Se,...W});de(a,!0);let v=u(a,"items",7),r=u(a,"maxVisible",7,3),s=u(a,"adaptive",7,!1),b=u(a,"align",7,"end"),d=u(a,"variant",7,"card-stack"),_=u(a,"interactive",7,!1),m=u(a,"overflowId",7),I=u(a,"overflowTestId",7),i=u(a,"itemContent",7),A=u(a,"class",7,""),y=P(void 0),z=P(void 0);const h=x(()=>We[d()]),U=x(()=>s()&&e(z)!==void 0?ye({itemCount:v().length,maxVisible:r(),availableWidth:e(z),surface:e(h).surface,overlap:e(h).overlap,overflowOverlap:e(h).overlap,measureOverflowText:t=>Math.max(e(h).surface,$(t)+Ce)}):void 0),Y=x(()=>Math.min(v().length,Math.max(0,s()?e(U)??r():r()))),k=x(()=>v().slice(0,e(Y))),E=x(()=>Math.max(0,v().length-e(k).length)),q=x(()=>e(h).surface-e(h).overlap),Z=x(()=>e(k).length===0?0:e(h).surface+(e(k).length-1)*e(q));function $(t){const n=`+${j(t)}`,o=Q.get(n);if(o!==void 0)return o;if(O===void 0&&(O=document.createElement("canvas").getContext("2d")),!O||!e(y))return Ae;J??=`500 12px ${getComputedStyle(e(y)).fontFamily}`,O.font=J;const l=O.measureText(n).width;return Q.set(n,l),l}fe(()=>{if(!s()||!e(y)||typeof ResizeObserver>"u")return;const t=Ie(o=>{K(z,o,!0)}),n=new ResizeObserver(o=>{const l=o[o.length-1];t.set(l.borderBoxSize?.[0]?.inlineSize??l.contentRect.width)});return n.observe(e(y)),()=>{n.disconnect(),t.cancel()}});var ee={get items(){return v()},set items(t){v(t),g()},get maxVisible(){return r()},set maxVisible(t=3){r(t),g()},get adaptive(){return s()},set adaptive(t=!1){s(t),g()},get align(){return b()},set align(t="end"){b(t),g()},get variant(){return d()},set variant(t="card-stack"){d(t),g()},get interactive(){return _()},set interactive(t=!1){_(t),g()},get overflowId(){return m()},set overflowId(t){m(t),g()},get overflowTestId(){return I()},set overflowTestId(t){I(t),g()},get itemContent(){return i()},set itemContent(t){i(t),g()},get class(){return A()},set class(t=""){A(t),g()},$set:ce,$on:(t,n)=>ve(a,t,n)},p=Me();let N;var B=H(p);{var te=t=>{var n=Oe();let o;_e(n,23,()=>e(k),l=>l.key,(l,w,V)=>{var f=Te();let G;var re=H(f);{var se=C=>{var M=me(),oe=he(M);ke(oe,i,()=>e(w)),T(C,M)},ie=C=>{{let M=x(()=>e(w).state??"idle");xe(C,{get agentId(){return e(w).agentId},get specialist(){return e(w).specialist},get icon(){return e(w).icon},get state(){return e(M)},get variant(){return d()},class:"agent-avatar-stack-surface"})}};D(re,C=>{i()?C(se):C(ie,-1)})}L(f),S(()=>{G=X(f,1,"agent-avatar-stack-item svelte-1nk9fhe",null,G,{"agent-avatar-stack-item--before-overflow":e(E)>0&&e(V)===e(k).length-1}),R(f,`inset-inline-start: ${e(V)*e(q)}px; z-index: ${e(V)+1};`),c(f,"data-agent-avatar-stack-index",e(V)),c(f,"data-agent-avatar-stack-key",e(w).key),c(f,"data-agent-avatar-stack-agent-id",e(w).agentId),c(f,"data-agent-avatar-stack-specialist",e(w).specialist??void 0),c(f,"aria-hidden",_()?void 0:"true")}),T(l,f)}),L(n),S(()=>o=R(n,"",o,{width:`${e(Z)}px`})),T(t,n)};D(B,t=>{e(k).length>0&&t(te)})}var ae=ue(B,2);{var ne=t=>{var n=Ve(),o=pe(n);S(l=>{c(n,"id",m()),R(n,`margin-inline-start: ${e(k).length>0?-e(h).overlap:0}px; z-index: ${e(k).length+1};`),c(n,"data-testid",I()),be(o,`+${l??""}`)},[()=>j(e(E))]),T(t,n)};D(ae,t=>{e(E)>0&&t(ne)})}return L(p),we(p,t=>K(y,t),()=>e(y)),S(()=>{N=X(p,1,`agent-avatar-stack ${A()??""}`,"svelte-1nk9fhe",N,{"agent-avatar-stack--adaptive":s(),"agent-avatar-stack--start":b()==="start"}),c(p,"data-agent-avatar-stack-align",b()),c(p,"data-avatar-variant",d()),c(p,"data-agent-avatar-stack-clear-space",e(h).ring),c(p,"aria-hidden",!_()&&!m()?"true":void 0)}),T(W,p),ge(ee)}export{Se as A};
1
+ import{t as le,br as u,a_ as D,bz as ce,b as ve}from"./CEL6QztG.js";import{bs as de,ca as fe,aD as e,a5 as H,bS as ue,bA as L,bH as K,b_ as S,W as T,bn as ge,bV as P,c9 as x,aA as g,a7 as me,ay as he,bl as pe,bO as be,aB as z}from"./DYhIMPy1.js";import{v as X,u as c,n as _e,w as R}from"./yn6WWSq8.js";import{s as ke}from"./CiSnSGvU.js";import{b as we}from"./BaIAhI85.js";import{t as j}from"./wwtnRh6M.js";import{A as xe}from"./znAltH1L.js";import{s as We}from"./MohDaz1W.js";function Ie(W){const{itemCount:a,maxVisible:v,availableWidth:r,surface:s,overlap:b,overflowOverlap:d}=W;if(r<=0)return 0;const _=s-b,m=Math.min(a,Math.max(0,v)),y=i=>i===0?0:s+(i-1)*_;if(a<=m&&y(a)<=r)return a;for(let i=m;i>=0;i-=1){const A=a-i;if(y(i)+(A>0?W.measureOverflowText(A)-(i>0?d:0):0)<=r)return i}return 0}function ye(W,a=r=>requestAnimationFrame(r),v=r=>cancelAnimationFrame(r)){let r,s;return{set(b){if(r=b,s!==void 0)return;let d=!1;const _=a(()=>{d=!0,s=void 0;const m=r;r=void 0,W(m)});d||(s=_)},cancel(){s!==void 0&&(v(s),s=void 0),r=void 0}}}const Ae=20,Ce=12;let O,J;const Q=new Map;var Te=z('<span data-agent-avatar-stack-item=""><!></span>'),Oe=z('<span class="agent-avatar-stack-track svelte-1nk9fhe"></span>'),Ve=z('<span class="agent-avatar-stack-overflow svelte-1nk9fhe" data-agent-avatar-overflow=""> </span>'),Me=z('<span data-agent-avatar-stack="" data-agent-avatar-stack-overlap="later-on-top"><!> <!></span>');function Se(W,a){if(new.target)return le({component:Se,...W});de(a,!0);let v=u(a,"items",7),r=u(a,"maxVisible",7,3),s=u(a,"adaptive",7,!1),b=u(a,"align",7,"end"),d=u(a,"variant",7,"card-stack"),_=u(a,"interactive",7,!1),m=u(a,"overflowId",7),y=u(a,"overflowTestId",7),i=u(a,"itemContent",7),A=u(a,"class",7,""),I=P(void 0),F=P(void 0);const h=x(()=>We[d()]),U=x(()=>s()&&e(F)!==void 0?Ie({itemCount:v().length,maxVisible:r(),availableWidth:e(F),surface:e(h).surface,overlap:e(h).overlap,overflowOverlap:e(h).overlap,measureOverflowText:t=>Math.max(e(h).surface,$(t)+Ce)}):void 0),Y=x(()=>Math.min(v().length,Math.max(0,s()?e(U)??r():r()))),k=x(()=>v().slice(0,e(Y))),E=x(()=>Math.max(0,v().length-e(k).length)),N=x(()=>e(h).surface-e(h).overlap),Z=x(()=>e(k).length===0?0:e(h).surface+(e(k).length-1)*e(N));function $(t){const n=`+${j(t)}`,o=Q.get(n);if(o!==void 0)return o;if(O===void 0&&(O=document.createElement("canvas").getContext("2d")),!O||!e(I))return Ae;J??=`500 12px ${getComputedStyle(e(I)).fontFamily}`,O.font=J;const l=O.measureText(n).width;return Q.set(n,l),l}fe(()=>{if(!s()||!e(I)||typeof ResizeObserver>"u")return;const t=ye(o=>{K(F,o,!0)}),n=new ResizeObserver(o=>{const l=o[o.length-1];t.set(l.borderBoxSize?.[0]?.inlineSize??l.contentRect.width)});return n.observe(e(I)),()=>{n.disconnect(),t.cancel()}});var ee={get items(){return v()},set items(t){v(t),g()},get maxVisible(){return r()},set maxVisible(t=3){r(t),g()},get adaptive(){return s()},set adaptive(t=!1){s(t),g()},get align(){return b()},set align(t="end"){b(t),g()},get variant(){return d()},set variant(t="card-stack"){d(t),g()},get interactive(){return _()},set interactive(t=!1){_(t),g()},get overflowId(){return m()},set overflowId(t){m(t),g()},get overflowTestId(){return y()},set overflowTestId(t){y(t),g()},get itemContent(){return i()},set itemContent(t){i(t),g()},get class(){return A()},set class(t=""){A(t),g()},$set:ce,$on:(t,n)=>ve(a,t,n)},p=Me();let q;var B=H(p);{var te=t=>{var n=Oe();let o;_e(n,23,()=>e(k),l=>l.key,(l,w,V)=>{var f=Te();let G;var re=H(f);{var se=C=>{var M=me(),oe=he(M);ke(oe,i,()=>e(w)),T(C,M)},ie=C=>{{let M=x(()=>e(w).state??"idle");xe(C,{get agentId(){return e(w).agentId},get specialist(){return e(w).specialist},get icon(){return e(w).icon},get state(){return e(M)},get variant(){return d()},class:"agent-avatar-stack-surface"})}};D(re,C=>{i()?C(se):C(ie,-1)})}L(f),S(()=>{G=X(f,1,"agent-avatar-stack-item svelte-1nk9fhe",null,G,{"agent-avatar-stack-item--before-overflow":e(E)>0&&e(V)===e(k).length-1}),R(f,`inset-inline-start: ${e(V)*e(N)}px; z-index: ${e(V)+1};`),c(f,"data-agent-avatar-stack-index",e(V)),c(f,"data-agent-avatar-stack-key",e(w).key),c(f,"data-agent-avatar-stack-agent-id",e(w).agentId),c(f,"data-agent-avatar-stack-specialist",e(w).specialist??void 0),c(f,"aria-hidden",_()?void 0:"true")}),T(l,f)}),L(n),S(()=>o=R(n,"",o,{width:`${e(Z)}px`})),T(t,n)};D(B,t=>{e(k).length>0&&t(te)})}var ae=ue(B,2);{var ne=t=>{var n=Ve(),o=pe(n);S(l=>{c(n,"id",m()),R(n,`margin-inline-start: ${e(k).length>0?-e(h).overlap:0}px; z-index: ${e(k).length+1};`),c(n,"data-testid",y()),be(o,`+${l??""}`)},[()=>j(e(E))]),T(t,n)};D(ae,t=>{e(E)>0&&t(ne)})}return L(p),we(p,t=>K(I,t),()=>e(I)),S(()=>{q=X(p,1,`agent-avatar-stack ${A()??""}`,"svelte-1nk9fhe",q,{"agent-avatar-stack--adaptive":s(),"agent-avatar-stack--start":b()==="start"}),c(p,"data-agent-avatar-stack-align",b()),c(p,"data-avatar-variant",d()),c(p,"data-agent-avatar-stack-clear-space",e(h).ring),c(p,"aria-hidden",!_()&&!m()?"true":void 0)}),T(W,p),ge(ee)}export{Se as A};
@@ -1 +1 @@
1
- import{t as F,bq as l,a_ as q,bo as u,by as G,b as H,bu as re,bs as se}from"./Dso1_H3c.js";import{bs as J,a5 as P,bl as I,bS as _,bA as $,be as z,b$ as N,b_ as k,bO as m,W as v,aD as ae,bn as K,aA as p,c9 as ne,aB as B,c5 as T,a7 as oe,ay as ie}from"./DYhIMPy1.js";import{u as W}from"./CnMdEUN9.js";import{f as A}from"./m5UczIQR.js";import{D as ce}from"./CP_jYxTi.js";import{a5 as de}from"./BTKF7gxr.js";import{Ik as ue,iM as le}from"./Dk1_0x0Q.js";var pe=B('<p class="text-sm text-muted-foreground"> </p>'),j=B('<p role="status" class="text-sm"> </p>'),ge=B('<div class="flex max-h-[min(calc(100dvh-8rem),calc(var(--toast-max-height,100dvh)-2rem))] min-h-0 min-w-0 flex-col gap-3" role="group"><div class="min-h-0 space-y-3 overflow-y-auto break-words" role="region" tabindex="0"><p class="font-medium break-words"> </p> <p class="text-sm text-muted-foreground"> </p> <!> <!> <!> <!></div> <div class="flex shrink-0 flex-wrap gap-2"><!> <!> <!></div></div>');function L(y,r){if(new.target)return F({component:L,...y});J(r,!0);let a=l(r,"request",7),g=l(r,"pending",7,!1),b=l(r,"settingUp",7,!1),c=l(r,"guidance",7),d=l(r,"checklist",7),i=l(r,"onDecision",7);var C={get request(){return a()},set request(e){a(e),p()},get pending(){return g()},set pending(e=!1){g(e),p()},get settingUp(){return b()},set settingUp(e=!1){b(e),p()},get guidance(){return c()},set guidance(e){c(e),p()},get checklist(){return d()},set checklist(e){d(e),p()},get onDecision(){return i()},set onDecision(e){i(e),p()},$set:G,$on:(e,t)=>H(r,e,t)},x=ge(),f=P(x),w=P(f),U=I(w,!0),D=_(w,2),n=I(D,!0),h=_(D,2);{var Q=e=>{var t=pe(),s=I(t,!0);k(o=>m(s,o),[()=>u.desktop_consent_claimPrimary({computer:a().computerName})]),v(e,t)};q(h,e=>{a().claimsPrimary&&e(Q)})}var O=_(h,2);{var V=e=>{ce(e,{get checklist(){return d()}})};q(O,e=>{d()&&e(V)})}var S=_(O,2);{var X=e=>{var t=j(),s=I(t,!0);k(()=>m(s,c())),v(e,t)};q(S,e=>{c()&&e(X)})}var Y=_(S,2);{var Z=e=>{var t=j(),s=I(t,!0);k(o=>m(s,o),[()=>u.desktop_consent_pending()]),v(e,t)};q(Y,e=>{g()&&!b()&&e(Z)})}$(f);var E=_(f,2),M=P(E);A(M,{size:"compact",variant:"primary",get disabled(){return g()},onclick:()=>i()("allow_once"),children:(e,t)=>{z();var s=N();k(o=>m(s,o),[()=>u.desktop_consent_once()]),v(e,s)},$$slots:{default:!0}});var R=_(M,2);A(R,{size:"compact",variant:"outline",get disabled(){return g()},onclick:()=>i()("allow_future"),children:(e,t)=>{z();var s=N();k(o=>m(s,o),[()=>u.desktop_consent_future()]),v(e,s)},$$slots:{default:!0}});var ee=_(R,2);{let e=ne(()=>g()&&!b());A(ee,{size:"compact",variant:"ghost",get disabled(){return ae(e)},onclick:()=>i()("deny"),children:(t,s)=>{z();var o=N();k(te=>m(o,te),[()=>u.desktop_consent_deny()]),v(t,o)},$$slots:{default:!0}})}return $(E),$(x),k((e,t,s,o)=>{W(x,"aria-label",e),W(f,"aria-label",t),m(U,s),m(n,o)},[()=>u.desktop_consent_title(),()=>u.desktop_consent_title(),()=>u.desktop_consent_request({agent:a().agentName,computer:a().computerName}),()=>u.desktop_consent_description()]),v(y,x),K(C)}function _e(y,r){if(new.target)return F({component:_e,...y});J(r,!0);const a=()=>re(C,"$entry",g),[g,b]=se();let c=l(r,"workspaceId",7),d=l(r,"agentId",7),i=l(r,"requestId",7);const C=de(T(()=>c()),T(()=>d()));var x={get workspaceId(){return c()},set workspaceId(n){c(n),p()},get agentId(){return d()},set agentId(n){d(n),p()},get requestId(){return i()},set requestId(n){i(n),p()},$set:G,$on:(n,h)=>H(r,n,h)},f=oe(),w=ie(f);{var U=n=>{L(n,{get request(){return a().pending},get pending(){return a().submitting},get settingUp(){return a().settingUp},get guidance(){return a().error},get checklist(){return a().osChecklist},onDecision:h=>ue.dispatch(le(c(),d(),i(),h))})};q(w,n=>{a()?.pending?.requestId===i()&&n(U)})}v(y,f);var D=K(x);return b(),D}export{_e as default};
1
+ import{t as F,br as l,a_ as w,bp as u,bz as G,b as H,bv as re,bt as se}from"./CEL6QztG.js";import{bs as J,a5 as P,bl as I,bS as _,bA as $,be as z,b$ as N,b_ as k,bO as m,W as v,aD as ae,bn as K,aA as p,c9 as ne,aB as B,c5 as T,a7 as oe,ay as ie}from"./DYhIMPy1.js";import{u as W}from"./yn6WWSq8.js";import{f as A}from"./Cd_8r4jJ.js";import{D as ce}from"./Bbj-7Bri.js";import{a5 as de}from"./B8IlgGpJ.js";import{Ik as ue,iM as le}from"./DYfeeu3f.js";var pe=B('<p class="text-sm text-muted-foreground"> </p>'),j=B('<p role="status" class="text-sm"> </p>'),ge=B('<div class="flex max-h-[min(calc(100dvh-8rem),calc(var(--toast-max-height,100dvh)-2rem))] min-h-0 min-w-0 flex-col gap-3" role="group"><div class="min-h-0 space-y-3 overflow-y-auto break-words" role="region" tabindex="0"><p class="font-medium break-words"> </p> <p class="text-sm text-muted-foreground"> </p> <!> <!> <!> <!></div> <div class="flex shrink-0 flex-wrap gap-2"><!> <!> <!></div></div>');function L(y,r){if(new.target)return F({component:L,...y});J(r,!0);let a=l(r,"request",7),g=l(r,"pending",7,!1),b=l(r,"settingUp",7,!1),c=l(r,"guidance",7),d=l(r,"checklist",7),i=l(r,"onDecision",7);var C={get request(){return a()},set request(e){a(e),p()},get pending(){return g()},set pending(e=!1){g(e),p()},get settingUp(){return b()},set settingUp(e=!1){b(e),p()},get guidance(){return c()},set guidance(e){c(e),p()},get checklist(){return d()},set checklist(e){d(e),p()},get onDecision(){return i()},set onDecision(e){i(e),p()},$set:G,$on:(e,t)=>H(r,e,t)},x=ge(),f=P(x),q=P(f),U=I(q,!0),D=_(q,2),n=I(D,!0),h=_(D,2);{var Q=e=>{var t=pe(),s=I(t,!0);k(o=>m(s,o),[()=>u.desktop_consent_claimPrimary({computer:a().computerName})]),v(e,t)};w(h,e=>{a().claimsPrimary&&e(Q)})}var O=_(h,2);{var V=e=>{ce(e,{get checklist(){return d()}})};w(O,e=>{d()&&e(V)})}var S=_(O,2);{var X=e=>{var t=j(),s=I(t,!0);k(()=>m(s,c())),v(e,t)};w(S,e=>{c()&&e(X)})}var Y=_(S,2);{var Z=e=>{var t=j(),s=I(t,!0);k(o=>m(s,o),[()=>u.desktop_consent_pending()]),v(e,t)};w(Y,e=>{g()&&!b()&&e(Z)})}$(f);var E=_(f,2),M=P(E);A(M,{size:"compact",variant:"primary",get disabled(){return g()},onclick:()=>i()("allow_once"),children:(e,t)=>{z();var s=N();k(o=>m(s,o),[()=>u.desktop_consent_once()]),v(e,s)},$$slots:{default:!0}});var R=_(M,2);A(R,{size:"compact",variant:"outline",get disabled(){return g()},onclick:()=>i()("allow_future"),children:(e,t)=>{z();var s=N();k(o=>m(s,o),[()=>u.desktop_consent_future()]),v(e,s)},$$slots:{default:!0}});var ee=_(R,2);{let e=ne(()=>g()&&!b());A(ee,{size:"compact",variant:"ghost",get disabled(){return ae(e)},onclick:()=>i()("deny"),children:(t,s)=>{z();var o=N();k(te=>m(o,te),[()=>u.desktop_consent_deny()]),v(t,o)},$$slots:{default:!0}})}return $(E),$(x),k((e,t,s,o)=>{W(x,"aria-label",e),W(f,"aria-label",t),m(U,s),m(n,o)},[()=>u.desktop_consent_title(),()=>u.desktop_consent_title(),()=>u.desktop_consent_request({agent:a().agentName,computer:a().computerName}),()=>u.desktop_consent_description()]),v(y,x),K(C)}function _e(y,r){if(new.target)return F({component:_e,...y});J(r,!0);const a=()=>re(C,"$entry",g),[g,b]=se();let c=l(r,"workspaceId",7),d=l(r,"agentId",7),i=l(r,"requestId",7);const C=de(T(()=>c()),T(()=>d()));var x={get workspaceId(){return c()},set workspaceId(n){c(n),p()},get agentId(){return d()},set agentId(n){d(n),p()},get requestId(){return i()},set requestId(n){i(n),p()},$set:G,$on:(n,h)=>H(r,n,h)},f=oe(),q=ie(f);{var U=n=>{L(n,{get request(){return a().pending},get pending(){return a().submitting},get settingUp(){return a().settingUp},get guidance(){return a().error},get checklist(){return a().osChecklist},onDecision:h=>ue.dispatch(le(c(),d(),i(),h))})};w(q,n=>{a()?.pending?.requestId===i()&&n(U)})}v(y,f);var D=K(x);return b(),D}export{_e as default};
@@ -1 +1 @@
1
- import{bo as e}from"./Dso1_H3c.js";import{hc as d,Kv as _,i as h,my as p}from"./Dk1_0x0Q.js";const m="https://e2b.dev/dashboard",f="https://app.northflank.com";function v(r="e2b"){return r==="northflank"?f:m}const M=/^E2B\s*·\s*/u;function R(r,o){const n=o?`${o} · `:null;return(n&&r.name.startsWith(n)?r.name.slice(n.length):r.name.replace(M,"")).trim()||r.name}function q(r){const o=d(r);return o?e.cloudMachines_size_label({vcpu:String(o.vcpu),memory:String(o.memoryGiB)}):r}function x(r,o,n){const t=r.cloud;if(!t)return 0;const c=t.state==="running"&&o>0?Math.max(0,(n-o)/1e3):0;return Math.floor(t.runningSeconds+c)}function S(r){const o=Math.floor(r/60);if(o<1)return e.cloudMachines_uptime_underMinute();if(o<60)return e.cloudMachines_uptime_minutes({minutes:String(o)});const n=Math.floor(o/60),t=o%60;return t===0?e.cloudMachines_uptime_hours({hours:String(n)}):e.cloudMachines_uptime_hoursMinutes({hours:String(n),minutes:String(t)})}const k=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:2,maximumFractionDigits:2});function C(r){const o=p(r,3600);return o===null?null:e.cloudMachines_size_hourly({amount:k.format(o)})}function L(r,o){const n=new Map;for(const i of r){const s=i.cloud?.workspaceId,a=s?o(s):null,u=s&&a?s:"";let l=n.get(u);l||(l={key:u,name:a??e.cloudMachines_sandboxes_otherWorkspace(),sandboxes:[]},n.set(u,l)),l.sandboxes.push(i)}const t=i=>+(i.cloud?.state==="paused"),c=i=>Number(i.sandboxes.every(s=>t(s)));for(const i of n.values())i.sandboxes.sort((s,a)=>t(s)-t(a)||(a.cloud?.startedAt??"").localeCompare(s.cloud?.startedAt??"")||s.id.localeCompare(a.id));return[...n.values()].sort((i,s)=>c(i)-c(s)||+(i.key==="")-+(s.key==="")||i.name.localeCompare(s.name,void 0,{sensitivity:"base"})||i.key.localeCompare(s.key))}function b(r){switch(r.code){case"cloud-profile-required":return{title:e.cloudMachines_northflank_error_profileRequired_title(),description:e.cloudMachines_northflank_error_profileRequired_description()};case"cloud-quota":return{title:e.cloudMachines_northflank_error_quota_title(),description:r.limit==="plan"?e.cloudMachines_northflank_error_quotaPlan_description():r.limit==="rate"?e.cloudMachines_northflank_error_quotaRate_description():e.cloudMachines_northflank_error_quotaConcurrency_description()};case"cloud-machine-unavailable":{const o=n=>({title:e.cloudMachines_northflank_error_unavailable_title(),description:n});switch(r.reason){case"not-configured":return o(e.cloudMachines_northflank_error_notConfigured_description());case"key-rejected":return{title:e.cloudMachines_northflank_error_tokenRejected_title(),description:e.cloudMachines_northflank_error_tokenRejected_description()};case"project-missing":return o(e.cloudMachines_northflank_error_projectMissing_description());case"permission-denied":return{title:e.cloudMachines_northflank_error_permissionDenied_title(),description:e.cloudMachines_northflank_error_permissionDenied_description()};case"template-missing":return o(e.cloudMachines_northflank_error_imageMissing_description());case"sandbox-lost":return{title:e.cloudMachines_northflank_error_serviceLost_title(),description:e.cloudMachines_northflank_error_serviceLost_description()};case"bootstrap-failed":return o(e.cloudMachines_northflank_error_bootstrapFailed_description());default:return o(e.cloudMachines_northflank_error_apiError_description())}}}}function E(r,o){if((r.provider??o)==="northflank")return b(r);switch(r.code){case"cloud-profile-required":return{title:e.cloudMachines_error_profileRequired_title(),description:e.cloudMachines_error_profileRequired_description()};case"cloud-quota":return{title:e.cloudMachines_error_quota_title(),description:r.limit==="plan"?e.cloudMachines_error_quotaPlan_description():r.limit==="rate"?e.cloudMachines_error_quotaRate_description():e.cloudMachines_error_quotaConcurrency_description()};case"cloud-machine-unavailable":switch(r.reason){case"not-configured":return{title:e.cloudMachines_error_unavailable_title(),description:e.cloudMachines_error_notConfigured_description()};case"key-rejected":return{title:e.cloudMachines_error_keyRejected_title(),description:e.cloudMachines_error_keyRejected_description()};case"template-missing":return{title:e.cloudMachines_error_unavailable_title(),description:e.cloudMachines_error_templateMissing_description()};case"sandbox-lost":return{title:e.cloudMachines_error_sandboxLost_title(),description:e.cloudMachines_error_sandboxLost_description()};case"bootstrap-failed":return{title:e.cloudMachines_error_unavailable_title(),description:e.cloudMachines_error_bootstrapFailed_description()};default:return{title:e.cloudMachines_error_unavailable_title(),description:e.cloudMachines_error_apiError_description()}}}}function D(r,o,n){const t=r.trim();if(!t)return e.cloudMachines_form_name_required();if(_(t)>h||/[\u0000-\u001f\u007f]/u.test(t))return e.cloudMachines_form_name_invalid();const c=t.toLowerCase();return o.some(i=>i.id!==n&&i.name.trim().toLowerCase()===c)?e.cloudMachines_form_name_taken():null}export{D as a,E as b,v as c,q as d,S as f,L as g,C as h,x as l,R as s};
1
+ import{bp as e}from"./CEL6QztG.js";import{hc as d,Kv as _,i as h,my as p}from"./DYfeeu3f.js";const m="https://e2b.dev/dashboard",f="https://app.northflank.com";function v(r="e2b"){return r==="northflank"?f:m}const M=/^E2B\s*·\s*/u;function R(r,o){const n=o?`${o} · `:null;return(n&&r.name.startsWith(n)?r.name.slice(n.length):r.name.replace(M,"")).trim()||r.name}function q(r){const o=d(r);return o?e.cloudMachines_size_label({vcpu:String(o.vcpu),memory:String(o.memoryGiB)}):r}function x(r,o,n){const t=r.cloud;if(!t)return 0;const c=t.state==="running"&&o>0?Math.max(0,(n-o)/1e3):0;return Math.floor(t.runningSeconds+c)}function S(r){const o=Math.floor(r/60);if(o<1)return e.cloudMachines_uptime_underMinute();if(o<60)return e.cloudMachines_uptime_minutes({minutes:String(o)});const n=Math.floor(o/60),t=o%60;return t===0?e.cloudMachines_uptime_hours({hours:String(n)}):e.cloudMachines_uptime_hoursMinutes({hours:String(n),minutes:String(t)})}const k=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:2,maximumFractionDigits:2});function C(r){const o=p(r,3600);return o===null?null:e.cloudMachines_size_hourly({amount:k.format(o)})}function L(r,o){const n=new Map;for(const i of r){const s=i.cloud?.workspaceId,a=s?o(s):null,u=s&&a?s:"";let l=n.get(u);l||(l={key:u,name:a??e.cloudMachines_sandboxes_otherWorkspace(),sandboxes:[]},n.set(u,l)),l.sandboxes.push(i)}const t=i=>+(i.cloud?.state==="paused"),c=i=>Number(i.sandboxes.every(s=>t(s)));for(const i of n.values())i.sandboxes.sort((s,a)=>t(s)-t(a)||(a.cloud?.startedAt??"").localeCompare(s.cloud?.startedAt??"")||s.id.localeCompare(a.id));return[...n.values()].sort((i,s)=>c(i)-c(s)||+(i.key==="")-+(s.key==="")||i.name.localeCompare(s.name,void 0,{sensitivity:"base"})||i.key.localeCompare(s.key))}function b(r){switch(r.code){case"cloud-profile-required":return{title:e.cloudMachines_northflank_error_profileRequired_title(),description:e.cloudMachines_northflank_error_profileRequired_description()};case"cloud-quota":return{title:e.cloudMachines_northflank_error_quota_title(),description:r.limit==="plan"?e.cloudMachines_northflank_error_quotaPlan_description():r.limit==="rate"?e.cloudMachines_northflank_error_quotaRate_description():e.cloudMachines_northflank_error_quotaConcurrency_description()};case"cloud-machine-unavailable":{const o=n=>({title:e.cloudMachines_northflank_error_unavailable_title(),description:n});switch(r.reason){case"not-configured":return o(e.cloudMachines_northflank_error_notConfigured_description());case"key-rejected":return{title:e.cloudMachines_northflank_error_tokenRejected_title(),description:e.cloudMachines_northflank_error_tokenRejected_description()};case"project-missing":return o(e.cloudMachines_northflank_error_projectMissing_description());case"permission-denied":return{title:e.cloudMachines_northflank_error_permissionDenied_title(),description:e.cloudMachines_northflank_error_permissionDenied_description()};case"template-missing":return o(e.cloudMachines_northflank_error_imageMissing_description());case"sandbox-lost":return{title:e.cloudMachines_northflank_error_serviceLost_title(),description:e.cloudMachines_northflank_error_serviceLost_description()};case"bootstrap-failed":return o(e.cloudMachines_northflank_error_bootstrapFailed_description());default:return o(e.cloudMachines_northflank_error_apiError_description())}}}}function E(r,o){if((r.provider??o)==="northflank")return b(r);switch(r.code){case"cloud-profile-required":return{title:e.cloudMachines_error_profileRequired_title(),description:e.cloudMachines_error_profileRequired_description()};case"cloud-quota":return{title:e.cloudMachines_error_quota_title(),description:r.limit==="plan"?e.cloudMachines_error_quotaPlan_description():r.limit==="rate"?e.cloudMachines_error_quotaRate_description():e.cloudMachines_error_quotaConcurrency_description()};case"cloud-machine-unavailable":switch(r.reason){case"not-configured":return{title:e.cloudMachines_error_unavailable_title(),description:e.cloudMachines_error_notConfigured_description()};case"key-rejected":return{title:e.cloudMachines_error_keyRejected_title(),description:e.cloudMachines_error_keyRejected_description()};case"template-missing":return{title:e.cloudMachines_error_unavailable_title(),description:e.cloudMachines_error_templateMissing_description()};case"sandbox-lost":return{title:e.cloudMachines_error_sandboxLost_title(),description:e.cloudMachines_error_sandboxLost_description()};case"bootstrap-failed":return{title:e.cloudMachines_error_unavailable_title(),description:e.cloudMachines_error_bootstrapFailed_description()};default:return{title:e.cloudMachines_error_unavailable_title(),description:e.cloudMachines_error_apiError_description()}}}}function D(r,o,n){const t=r.trim();if(!t)return e.cloudMachines_form_name_required();if(_(t)>h||/[\u0000-\u001f\u007f]/u.test(t))return e.cloudMachines_form_name_invalid();const c=t.toLowerCase();return o.some(i=>i.id!==n&&i.name.trim().toLowerCase()===c)?e.cloudMachines_form_name_taken():null}export{D as a,E as b,v as c,q as d,S as f,L as g,C as h,x as l,R as s};
@@ -1 +1 @@
1
- import{K as G,T as F,_ as N,a0 as A,d as J,f as X,X as Q,Q as Y,n as _,e as Z,c as q,m as W,h as K,l as O}from"./Bdtl8KA4.js";import{D as P,a as tt,d as et}from"./CQcEqK4G.js";import{o as m,b as B,s as l,n as h,l as v,_ as M,c as U,u as nt}from"./CIyUrgF0.js";import{I as at}from"./DCCFERAn.js";const it="/app/immutable/assets/PatrickHand-Regular.CyLOmwMC.ttf";let D=null,R=null;const L=P.badgeFontFamily;function $(){return R??L}function H(){return D||(D=(async()=>{let t;try{const i=typeof document<"u"?document.fonts:globalThis.fonts;if(!i||typeof FontFace>"u")throw new Error("font-api-unavailable");const a=await Promise.race([new FontFace("Intent Annotation Hand",`url("${it}")`,{style:"normal",weight:"400",display:"block"}).load(),new Promise((s,r)=>{t=setTimeout(()=>r(new Error("font-load-timeout")),2e3)})]);i.add(a),R=P.fontFamily}catch{R=L}finally{clearTimeout(t)}})(),D)}let y=null;function ot(t){const i=G(t);if(t.kind!=="text"||t.style==="sticky"||(y||(y=typeof OffscreenCanvas<"u"?new OffscreenCanvas(1,1).getContext("2d"):typeof document<"u"?document.createElement("canvas").getContext("2d"):null),!y))return i;y.font=`${t.fontSize}px ${$()}`,y.textAlign="left",y.textBaseline="top",y.letterSpacing="0px",y.wordSpacing="0px";let a=1/0,s=1/0,r=-1/0,n=-1/0;const{lines:u,lineHeight:c}=F(t);for(const[o,g]of u.entries()){if(!g.trim())continue;const p=y.measureText(g),b=o*c,f=[-p.actualBoundingBoxLeft,b-p.actualBoundingBoxAscent,p.actualBoundingBoxRight,b+p.actualBoundingBoxDescent];if(!f.every(Number.isFinite))return i;a=Math.min(a,f[0]),s=Math.min(s,f[1]),r=Math.max(r,f[2]),n=Math.max(n,f[3])}if(!(r>a&&n>s))return i;const e=Math.max(1,t.fontSize/24);return{x:t.x+a-e,y:t.y+s-e,w:r-a+2*e,h:n-s+2*e}}function gt(t,i){const a=N(i,t,null),s=new Set([0,t.durationMs,...t.batches.flatMap(e=>e.clearAtMs===null?[]:[e.clearAtMs]),...a.marks.flatMap(e=>[e.frameAtMs,e.visibleUntilMs,...A(t,e.mark)?[A(t,e.mark).completedAtMs]:[]])]),r=[...new Set(a.marks.flatMap(e=>A(t,e.mark)?.samples.map(g=>g.atMs)??[]))].filter(e=>!s.has(e)&&e>=0&&e<=t.durationMs).sort((e,o)=>e-o),n=Math.max(0,1001-s.size),u=n>=r.length?r:Array.from({length:n},(e,o)=>r[Math.floor(o*r.length/n)]),c=[...new Set([...s,...u])].filter(e=>e>=0&&e<=t.durationMs).sort((e,o)=>e-o);return c.slice(0,-1).map((e,o)=>({atMs:e,endMs:c[o+1]})).filter(e=>e.endMs>e.atMs&&a.marks.some(o=>e.atMs>=o.frameAtMs&&e.atMs<o.visibleUntilMs))}function pt(t,i,a){const s=A(t,i);return!s||a>=s.completedAtMs}const E=16e3;function rt(t,i){const s=t.length*2,r=new ArrayBuffer(44+s),n=new DataView(r),u=(e,o)=>{for(let g=0;g<o.length;g+=1)n.setUint8(e+g,o.charCodeAt(g))};u(0,"RIFF"),n.setUint32(4,36+s,!0),u(8,"WAVE"),u(12,"fmt "),n.setUint32(16,16,!0),n.setUint16(20,1,!0),n.setUint16(22,1,!0),n.setUint32(24,i,!0),n.setUint32(28,i*2,!0),n.setUint16(32,2,!0),n.setUint16(34,16,!0),u(36,"data"),n.setUint32(40,s,!0);let c=44;for(let e=0;e<t.length;e+=1){const o=Math.max(-1,Math.min(1,t[e]));n.setInt16(c,o<0?o*32768:o*32767,!0),c+=2}return r}function st(t){const i=new Float32Array(t.length);for(let a=0;a<t.numberOfChannels;a+=1){const s=t.getChannelData(a);for(let r=0;r<s.length;r+=1)i[r]+=s[r]/t.numberOfChannels}return i}async function kt(t){const i=new AudioContext;try{const a=await i.decodeAudioData(await t.arrayBuffer()),s=Math.max(1,Math.ceil(a.length*E/a.sampleRate)),r=new OfflineAudioContext(1,s,E),n=r.createBufferSource();n.buffer=a,n.connect(r.destination),n.start();const u=await r.startRendering();return rt(st(u),E)}finally{await i.close().catch(()=>{})}}function j(t){const i=new Uint8Array(t),a=32768;let s="";for(let r=0;r<i.length;r+=a)s+=String.fromCharCode(...i.subarray(r,r+a));return btoa(s)}const d={...P,get fontFamily(){return $()},blurRadius:J};function z(t,i,a=0,s){const r=t.crop??{x:0,y:0,w:i.width,h:i.height},n=Math.max(1,Math.max(i.width,i.height)/1440),u=Math.min(d.badgeRadius*n,r.w/2,r.h/2);return Q(t,i).filter(c=>i.kind==="screenshot"||a>=c.mark.atMs&&a<c.visibleUntilMs).flatMap(({n:c,mark:e})=>{const o=i.kind==="recording"?Y(e.geometry,A(i,e),a):e.geometry;if(!o)return[];const g=ot(o),p=et(g,r,n,u);return[...e.id===s&&o.kind==="text"?[]:[{kind:"geometry",geometry:o,unit:n}],...d.showNumbers?[{kind:"badge",...p,radius:u,label:String(c),unit:n}]:[]]})}function V(t,i){t.save(),t.letterSpacing="0px",t.wordSpacing="0px",t.strokeStyle=d.accent,t.fillStyle=d.accent,t.lineCap="round",t.lineJoin="round";for(const a of i){const s=a.unit??1,r=(c,e)=>{t.strokeStyle=d.halo,t.lineWidth=c+d.haloWidth*s,e?t.stroke(e):t.stroke(),t.strokeStyle=d.accent,t.lineWidth=c,e?t.stroke(e):t.stroke()};if(a.kind==="badge"){t.fillStyle=d.paper,t.beginPath(),t.arc(a.x,a.y,a.radius,0,Math.PI*2),t.fill(),t.strokeStyle=d.accent,t.lineWidth=d.badgeOutline*s,t.stroke(),t.fillStyle=d.ink,t.font=`600 ${a.radius*d.badgeTextScale}px ${d.badgeFontFamily}`,t.textAlign="center",t.textBaseline="middle",t.fillText(a.label,a.x,a.y);continue}const n=a.geometry;t.fillStyle=d.accent;const u=(n.kind==="path"?d.pen:d.stroke)*s;if(n.kind==="rect")t.beginPath(),t.rect(n.x,n.y,n.w,n.h),r(u);else if(n.kind==="text"){const c=F(n);t.fillStyle=d.accent,t.textAlign="left",t.textBaseline="top",t.font=`${n.fontSize}px ${d.fontFamily}`,c.lines.forEach((e,o)=>{const g=n.x+c.padding,p=n.y+c.padding+o*c.lineHeight;t.strokeStyle=d.halo,t.lineWidth=d.haloWidth*s;const b=n.style==="sticky"?c.width-2*c.padding:void 0;t.strokeText(e,g,p,b),t.fillText(e,g,p,b)})}else if(n.kind==="point")t.beginPath(),t.arc(n.x,n.y,X,0,Math.PI*2),r(u);else if(n.kind==="path")r(u,new Path2D(tt(n.points)));else{const c=[n.from,n.to];if(t.beginPath(),c.forEach((e,o)=>o?t.lineTo(e.x,e.y):t.moveTo(e.x,e.y)),n.kind==="arrow"){const e=Math.atan2(n.to.y-n.from.y,n.to.x-n.from.x),o=d.arrowHead*s;t.moveTo(n.to.x-o*Math.cos(e-d.arrowSpread),n.to.y-o*Math.sin(e-d.arrowSpread)),t.lineTo(n.to.x,n.to.y),t.lineTo(n.to.x-o*Math.cos(e+d.arrowSpread),n.to.y-o*Math.sin(e+d.arrowSpread))}r(u)}}t.restore()}function I(t,i){const a=new OffscreenCanvas(Math.max(1,Math.round(t)),Math.max(1,Math.round(i))),s=a.getContext("2d");if(!s)throw new Error("capture-render-unavailable");return{image:a,context:s}}async function yt(t,i,a){if(t.visuals!=="clean")throw new Error("legacy-baked-marks");await H();const{image:s,context:r}=I(t.width,t.height);return V(r,z(i,t,a)),j(await(await s.convertToBlob({type:"image/png"})).arrayBuffer())}async function wt(t,i,a,s){const r=N(i,t,null);if(t.kind!=="screenshot"||r.errors.length)throw new Error(r.errors[0]??"not-a-screenshot");if(t.visuals!=="clean")throw new Error("legacy-baked-marks");await H();const n=Uint8Array.from(atob(a.base64),c=>c.charCodeAt(0)),u=await createImageBitmap(new Blob([n],{type:a.mimeType}));try{if(u.width!==t.width||u.height!==t.height)throw new Error("stale-source-pixels");const c=I(t.width,t.height);if(c.context.drawImage(u,0,0),i.blurRegions.length||i.blurStrokes?.length){const p=I(t.width,t.height);p.context.fillStyle="#000000",p.context.fillRect(0,0,t.width,t.height);const b=`blur(${d.blurRadius}px)`;if(p.context.filter=b,p.context.filter!==b)throw new Error("capture-blur-unavailable");p.context.drawImage(u,0,0);const f=I(t.width,t.height);f.context.fillStyle="#ffffff",f.context.strokeStyle="#ffffff",f.context.lineCap="round",f.context.lineJoin="round";for(const k of i.blurRegions)f.context.fillRect(k.x,k.y,k.w,k.h);for(const k of i.blurStrokes??[]){const S=k.points.filter((x,C)=>C===0||x.x!==k.points[C-1].x||x.y!==k.points[C-1].y);if(f.context.beginPath(),S.length===1){const x=S[0];f.context.arc(x.x,x.y,k.radius,0,Math.PI*2),f.context.fill()}else{f.context.lineWidth=k.radius*2,f.context.moveTo(S[0].x,S[0].y);for(const x of S.slice(1))f.context.lineTo(x.x,x.y);f.context.stroke()}}const T=I(t.width,t.height);T.context.drawImage(p.image,0,0),T.context.globalCompositeOperation="destination-in",T.context.drawImage(f.image,0,0),c.context.drawImage(T.image,0,0)}const e=i.crop??{x:0,y:0,w:t.width,h:t.height},o=I(e.w,e.h);o.context.drawImage(c.image,e.x,e.y,e.w,e.h,0,0,o.image.width,o.image.height),o.context.scale(o.image.width/e.w,o.image.height/e.h),o.context.translate(-e.x,-e.y),V(o.context,z(i,t,0,s?.hiddenTextMarkId));const g=await o.image.convertToBlob({type:"image/png"});return{data:j(await g.arrayBuffer()),mimeType:"image/png",width:o.image.width,height:o.image.height}}finally{u.close()}}const Mt=m({outputVersion:v(Z),jobId:l().uuid(),media:_,layers:B(m({atMs:h().finite().nonnegative(),endMs:h().finite().nonnegative(),png:l().min(1).max(48*1024*1024)}).strict()).max(1e4)}).strict(),bt=m({jobId:l().uuid(),media:_,locale:l().min(1).max(80).optional()}).strict(),lt=m({sourceId:l().min(1),sourceRevision:h().int().nonnegative(),durationMs:h().finite().positive().max(120001),intervalMs:v(50),peaks:B(h().finite().min(0).max(1)).max(2401)}).strict().refine(t=>t.peaks.length===Math.ceil(t.durationMs/t.intervalMs),"Incomplete waveform");m({jobId:l().uuid(),media:_}).strict();m({sourceId:l().min(1),sourceRevision:h().int().nonnegative(),trackCount:h().int().nonnegative().max(128),populatedTrackCount:h().int().nonnegative().max(128)}).strict().refine(t=>t.populatedTrackCount<=t.trackCount);const xt=at.DOCK_CAPTURE_EDITOR,w=l().min(1).max(200),ct=m({id:w,tool:M(q),atMs:h().finite().min(0).max(1440*60*1e3).nullable(),label:l().max(200).optional()}).strict();m({kind:M(["recording","screenshot"]),workspaceId:w,agentId:w,attachmentId:w,sourceRevision:l().min(1).max(512),attachmentPath:l().min(1).max(1024),title:l().max(200),durationMs:h().finite().min(0).max(1440*60*1e3).optional(),width:h().int().positive().max(32768).optional(),height:h().int().positive().max(32768).optional(),marks:B(ct).max(500),provenance:m({captureApi:l().max(100).optional(),hasMicAudio:U().optional(),visuals:M(["clean","baked-marks"])}).strict(),source:O.optional(),originalSource:O.optional(),saved:K.nullable().optional(),transcript:W.nullable().optional(),holdToken:l().uuid().optional()}).strict().refine(t=>!t.source||t.source.path===t.attachmentPath&&t.source.attachmentId===t.attachmentId&&t.source.kind===t.kind,"Source does not match the attachment").refine(t=>!t.saved||!!t.source&&t.saved.sourceId===t.source.id&&t.saved.sourceRevision===t.source.revision,"Edit does not match the source").refine(t=>!t.originalSource||t.source?.kind==="screenshot"&&t.originalSource.kind==="screenshot"&&t.originalSource.id!==t.source.id,"Original source does not precede this source");m({openId:l().uuid(),intent:v("attach").optional()}).strict();m({openId:l().uuid(),accept:U()}).strict();m({token:l().uuid(),hide:v(!0).optional()}).strict();m({openId:l().uuid(),requestId:l().uuid()}).strict();m({requestId:l().uuid(),result:M(["saved","stale-source","revision-conflict","failed"]),saved:K.optional()}).strict().refine(t=>t.result==="saved"==!!t.saved,"Saved edit missing");m({pair:m({workspaceId:l().min(1).max(200),agentId:l().min(1).max(200)}).strict(),sourceId:l().min(1).max(512),sourceRevision:h().int().nonnegative(),transcript:W}).strict();nt([m({requestId:l().uuid(),ok:v(!0),source:O}).strict(),m({requestId:l().uuid(),ok:v(!1),error:M(["cancelled","permission","failed"])}).strict()]);const dt=2e4;m({openId:l().uuid(),markId:l().min(1).max(512),generation:h().int().nonnegative(),phase:M(["start","stop"])}).strict();m({requestId:l().uuid(),generation:h().int().nonnegative(),text:l().max(dt),final:U(),error:M(["busy","unavailable","failed","permission"]).optional()}).strict().refine(t=>!t.error||t.final,"An error is final");m({pair:m({workspaceId:l().min(1).max(200),agentId:l().min(1).max(200)}).strict(),sourceId:l().min(1).max(512),sourceRevision:h().int().nonnegative(),waveform:lt}).strict();const It=m({requestId:l().uuid(),openId:w,pair:m({workspaceId:w,agentId:w}).strict(),kind:M(["screenshot","recording"]),attachmentId:w,sourceId:w.optional(),sourceRevision:h().int().nonnegative().optional(),expectedEditRevision:h().int().nonnegative().optional()}).strict();m({requestId:l().uuid(),result:M(["deleted","stale-source","failed"])}).strict();const vt=m({endedOpenId:l().uuid()}).strict();export{xt as D,d as a,dt as b,It as c,vt as d,Mt as e,bt as f,j as g,kt as h,ot as i,$ as j,pt as k,gt as l,H as m,z as n,yt as o,V as p,wt as r};
1
+ import{K as G,T as F,_ as N,a0 as A,d as J,f as X,X as Q,Q as Y,n as _,e as Z,c as q,m as W,h as K,l as O}from"./66MF_whg.js";import{D as P,a as tt,d as et}from"./CQcEqK4G.js";import{o as m,b as B,s as l,n as h,l as v,_ as M,c as U,u as nt}from"./CIyUrgF0.js";import{I as at}from"./CuEQVba7.js";const it="/app/immutable/assets/PatrickHand-Regular.CyLOmwMC.ttf";let D=null,R=null;const L=P.badgeFontFamily;function $(){return R??L}function H(){return D||(D=(async()=>{let t;try{const i=typeof document<"u"?document.fonts:globalThis.fonts;if(!i||typeof FontFace>"u")throw new Error("font-api-unavailable");const a=await Promise.race([new FontFace("Intent Annotation Hand",`url("${it}")`,{style:"normal",weight:"400",display:"block"}).load(),new Promise((s,r)=>{t=setTimeout(()=>r(new Error("font-load-timeout")),2e3)})]);i.add(a),R=P.fontFamily}catch{R=L}finally{clearTimeout(t)}})(),D)}let y=null;function ot(t){const i=G(t);if(t.kind!=="text"||t.style==="sticky"||(y||(y=typeof OffscreenCanvas<"u"?new OffscreenCanvas(1,1).getContext("2d"):typeof document<"u"?document.createElement("canvas").getContext("2d"):null),!y))return i;y.font=`${t.fontSize}px ${$()}`,y.textAlign="left",y.textBaseline="top",y.letterSpacing="0px",y.wordSpacing="0px";let a=1/0,s=1/0,r=-1/0,n=-1/0;const{lines:u,lineHeight:c}=F(t);for(const[o,g]of u.entries()){if(!g.trim())continue;const p=y.measureText(g),b=o*c,f=[-p.actualBoundingBoxLeft,b-p.actualBoundingBoxAscent,p.actualBoundingBoxRight,b+p.actualBoundingBoxDescent];if(!f.every(Number.isFinite))return i;a=Math.min(a,f[0]),s=Math.min(s,f[1]),r=Math.max(r,f[2]),n=Math.max(n,f[3])}if(!(r>a&&n>s))return i;const e=Math.max(1,t.fontSize/24);return{x:t.x+a-e,y:t.y+s-e,w:r-a+2*e,h:n-s+2*e}}function gt(t,i){const a=N(i,t,null),s=new Set([0,t.durationMs,...t.batches.flatMap(e=>e.clearAtMs===null?[]:[e.clearAtMs]),...a.marks.flatMap(e=>[e.frameAtMs,e.visibleUntilMs,...A(t,e.mark)?[A(t,e.mark).completedAtMs]:[]])]),r=[...new Set(a.marks.flatMap(e=>A(t,e.mark)?.samples.map(g=>g.atMs)??[]))].filter(e=>!s.has(e)&&e>=0&&e<=t.durationMs).sort((e,o)=>e-o),n=Math.max(0,1001-s.size),u=n>=r.length?r:Array.from({length:n},(e,o)=>r[Math.floor(o*r.length/n)]),c=[...new Set([...s,...u])].filter(e=>e>=0&&e<=t.durationMs).sort((e,o)=>e-o);return c.slice(0,-1).map((e,o)=>({atMs:e,endMs:c[o+1]})).filter(e=>e.endMs>e.atMs&&a.marks.some(o=>e.atMs>=o.frameAtMs&&e.atMs<o.visibleUntilMs))}function pt(t,i,a){const s=A(t,i);return!s||a>=s.completedAtMs}const E=16e3;function rt(t,i){const s=t.length*2,r=new ArrayBuffer(44+s),n=new DataView(r),u=(e,o)=>{for(let g=0;g<o.length;g+=1)n.setUint8(e+g,o.charCodeAt(g))};u(0,"RIFF"),n.setUint32(4,36+s,!0),u(8,"WAVE"),u(12,"fmt "),n.setUint32(16,16,!0),n.setUint16(20,1,!0),n.setUint16(22,1,!0),n.setUint32(24,i,!0),n.setUint32(28,i*2,!0),n.setUint16(32,2,!0),n.setUint16(34,16,!0),u(36,"data"),n.setUint32(40,s,!0);let c=44;for(let e=0;e<t.length;e+=1){const o=Math.max(-1,Math.min(1,t[e]));n.setInt16(c,o<0?o*32768:o*32767,!0),c+=2}return r}function st(t){const i=new Float32Array(t.length);for(let a=0;a<t.numberOfChannels;a+=1){const s=t.getChannelData(a);for(let r=0;r<s.length;r+=1)i[r]+=s[r]/t.numberOfChannels}return i}async function kt(t){const i=new AudioContext;try{const a=await i.decodeAudioData(await t.arrayBuffer()),s=Math.max(1,Math.ceil(a.length*E/a.sampleRate)),r=new OfflineAudioContext(1,s,E),n=r.createBufferSource();n.buffer=a,n.connect(r.destination),n.start();const u=await r.startRendering();return rt(st(u),E)}finally{await i.close().catch(()=>{})}}function j(t){const i=new Uint8Array(t),a=32768;let s="";for(let r=0;r<i.length;r+=a)s+=String.fromCharCode(...i.subarray(r,r+a));return btoa(s)}const d={...P,get fontFamily(){return $()},blurRadius:J};function z(t,i,a=0,s){const r=t.crop??{x:0,y:0,w:i.width,h:i.height},n=Math.max(1,Math.max(i.width,i.height)/1440),u=Math.min(d.badgeRadius*n,r.w/2,r.h/2);return Q(t,i).filter(c=>i.kind==="screenshot"||a>=c.mark.atMs&&a<c.visibleUntilMs).flatMap(({n:c,mark:e})=>{const o=i.kind==="recording"?Y(e.geometry,A(i,e),a):e.geometry;if(!o)return[];const g=ot(o),p=et(g,r,n,u);return[...e.id===s&&o.kind==="text"?[]:[{kind:"geometry",geometry:o,unit:n}],...d.showNumbers?[{kind:"badge",...p,radius:u,label:String(c),unit:n}]:[]]})}function V(t,i){t.save(),t.letterSpacing="0px",t.wordSpacing="0px",t.strokeStyle=d.accent,t.fillStyle=d.accent,t.lineCap="round",t.lineJoin="round";for(const a of i){const s=a.unit??1,r=(c,e)=>{t.strokeStyle=d.halo,t.lineWidth=c+d.haloWidth*s,e?t.stroke(e):t.stroke(),t.strokeStyle=d.accent,t.lineWidth=c,e?t.stroke(e):t.stroke()};if(a.kind==="badge"){t.fillStyle=d.paper,t.beginPath(),t.arc(a.x,a.y,a.radius,0,Math.PI*2),t.fill(),t.strokeStyle=d.accent,t.lineWidth=d.badgeOutline*s,t.stroke(),t.fillStyle=d.ink,t.font=`600 ${a.radius*d.badgeTextScale}px ${d.badgeFontFamily}`,t.textAlign="center",t.textBaseline="middle",t.fillText(a.label,a.x,a.y);continue}const n=a.geometry;t.fillStyle=d.accent;const u=(n.kind==="path"?d.pen:d.stroke)*s;if(n.kind==="rect")t.beginPath(),t.rect(n.x,n.y,n.w,n.h),r(u);else if(n.kind==="text"){const c=F(n);t.fillStyle=d.accent,t.textAlign="left",t.textBaseline="top",t.font=`${n.fontSize}px ${d.fontFamily}`,c.lines.forEach((e,o)=>{const g=n.x+c.padding,p=n.y+c.padding+o*c.lineHeight;t.strokeStyle=d.halo,t.lineWidth=d.haloWidth*s;const b=n.style==="sticky"?c.width-2*c.padding:void 0;t.strokeText(e,g,p,b),t.fillText(e,g,p,b)})}else if(n.kind==="point")t.beginPath(),t.arc(n.x,n.y,X,0,Math.PI*2),r(u);else if(n.kind==="path")r(u,new Path2D(tt(n.points)));else{const c=[n.from,n.to];if(t.beginPath(),c.forEach((e,o)=>o?t.lineTo(e.x,e.y):t.moveTo(e.x,e.y)),n.kind==="arrow"){const e=Math.atan2(n.to.y-n.from.y,n.to.x-n.from.x),o=d.arrowHead*s;t.moveTo(n.to.x-o*Math.cos(e-d.arrowSpread),n.to.y-o*Math.sin(e-d.arrowSpread)),t.lineTo(n.to.x,n.to.y),t.lineTo(n.to.x-o*Math.cos(e+d.arrowSpread),n.to.y-o*Math.sin(e+d.arrowSpread))}r(u)}}t.restore()}function I(t,i){const a=new OffscreenCanvas(Math.max(1,Math.round(t)),Math.max(1,Math.round(i))),s=a.getContext("2d");if(!s)throw new Error("capture-render-unavailable");return{image:a,context:s}}async function yt(t,i,a){if(t.visuals!=="clean")throw new Error("legacy-baked-marks");await H();const{image:s,context:r}=I(t.width,t.height);return V(r,z(i,t,a)),j(await(await s.convertToBlob({type:"image/png"})).arrayBuffer())}async function wt(t,i,a,s){const r=N(i,t,null);if(t.kind!=="screenshot"||r.errors.length)throw new Error(r.errors[0]??"not-a-screenshot");if(t.visuals!=="clean")throw new Error("legacy-baked-marks");await H();const n=Uint8Array.from(atob(a.base64),c=>c.charCodeAt(0)),u=await createImageBitmap(new Blob([n],{type:a.mimeType}));try{if(u.width!==t.width||u.height!==t.height)throw new Error("stale-source-pixels");const c=I(t.width,t.height);if(c.context.drawImage(u,0,0),i.blurRegions.length||i.blurStrokes?.length){const p=I(t.width,t.height);p.context.fillStyle="#000000",p.context.fillRect(0,0,t.width,t.height);const b=`blur(${d.blurRadius}px)`;if(p.context.filter=b,p.context.filter!==b)throw new Error("capture-blur-unavailable");p.context.drawImage(u,0,0);const f=I(t.width,t.height);f.context.fillStyle="#ffffff",f.context.strokeStyle="#ffffff",f.context.lineCap="round",f.context.lineJoin="round";for(const k of i.blurRegions)f.context.fillRect(k.x,k.y,k.w,k.h);for(const k of i.blurStrokes??[]){const S=k.points.filter((x,C)=>C===0||x.x!==k.points[C-1].x||x.y!==k.points[C-1].y);if(f.context.beginPath(),S.length===1){const x=S[0];f.context.arc(x.x,x.y,k.radius,0,Math.PI*2),f.context.fill()}else{f.context.lineWidth=k.radius*2,f.context.moveTo(S[0].x,S[0].y);for(const x of S.slice(1))f.context.lineTo(x.x,x.y);f.context.stroke()}}const T=I(t.width,t.height);T.context.drawImage(p.image,0,0),T.context.globalCompositeOperation="destination-in",T.context.drawImage(f.image,0,0),c.context.drawImage(T.image,0,0)}const e=i.crop??{x:0,y:0,w:t.width,h:t.height},o=I(e.w,e.h);o.context.drawImage(c.image,e.x,e.y,e.w,e.h,0,0,o.image.width,o.image.height),o.context.scale(o.image.width/e.w,o.image.height/e.h),o.context.translate(-e.x,-e.y),V(o.context,z(i,t,0,s?.hiddenTextMarkId));const g=await o.image.convertToBlob({type:"image/png"});return{data:j(await g.arrayBuffer()),mimeType:"image/png",width:o.image.width,height:o.image.height}}finally{u.close()}}const Mt=m({outputVersion:v(Z),jobId:l().uuid(),media:_,layers:B(m({atMs:h().finite().nonnegative(),endMs:h().finite().nonnegative(),png:l().min(1).max(48*1024*1024)}).strict()).max(1e4)}).strict(),bt=m({jobId:l().uuid(),media:_,locale:l().min(1).max(80).optional()}).strict(),lt=m({sourceId:l().min(1),sourceRevision:h().int().nonnegative(),durationMs:h().finite().positive().max(120001),intervalMs:v(50),peaks:B(h().finite().min(0).max(1)).max(2401)}).strict().refine(t=>t.peaks.length===Math.ceil(t.durationMs/t.intervalMs),"Incomplete waveform");m({jobId:l().uuid(),media:_}).strict();m({sourceId:l().min(1),sourceRevision:h().int().nonnegative(),trackCount:h().int().nonnegative().max(128),populatedTrackCount:h().int().nonnegative().max(128)}).strict().refine(t=>t.populatedTrackCount<=t.trackCount);const xt=at.DOCK_CAPTURE_EDITOR,w=l().min(1).max(200),ct=m({id:w,tool:M(q),atMs:h().finite().min(0).max(1440*60*1e3).nullable(),label:l().max(200).optional()}).strict();m({kind:M(["recording","screenshot"]),workspaceId:w,agentId:w,attachmentId:w,sourceRevision:l().min(1).max(512),attachmentPath:l().min(1).max(1024),title:l().max(200),durationMs:h().finite().min(0).max(1440*60*1e3).optional(),width:h().int().positive().max(32768).optional(),height:h().int().positive().max(32768).optional(),marks:B(ct).max(500),provenance:m({captureApi:l().max(100).optional(),hasMicAudio:U().optional(),visuals:M(["clean","baked-marks"])}).strict(),source:O.optional(),originalSource:O.optional(),saved:K.nullable().optional(),transcript:W.nullable().optional(),holdToken:l().uuid().optional()}).strict().refine(t=>!t.source||t.source.path===t.attachmentPath&&t.source.attachmentId===t.attachmentId&&t.source.kind===t.kind,"Source does not match the attachment").refine(t=>!t.saved||!!t.source&&t.saved.sourceId===t.source.id&&t.saved.sourceRevision===t.source.revision,"Edit does not match the source").refine(t=>!t.originalSource||t.source?.kind==="screenshot"&&t.originalSource.kind==="screenshot"&&t.originalSource.id!==t.source.id,"Original source does not precede this source");m({openId:l().uuid(),intent:v("attach").optional()}).strict();m({openId:l().uuid(),accept:U()}).strict();m({token:l().uuid(),hide:v(!0).optional()}).strict();m({openId:l().uuid(),requestId:l().uuid()}).strict();m({requestId:l().uuid(),result:M(["saved","stale-source","revision-conflict","failed"]),saved:K.optional()}).strict().refine(t=>t.result==="saved"==!!t.saved,"Saved edit missing");m({pair:m({workspaceId:l().min(1).max(200),agentId:l().min(1).max(200)}).strict(),sourceId:l().min(1).max(512),sourceRevision:h().int().nonnegative(),transcript:W}).strict();nt([m({requestId:l().uuid(),ok:v(!0),source:O}).strict(),m({requestId:l().uuid(),ok:v(!1),error:M(["cancelled","permission","failed"])}).strict()]);const dt=2e4;m({openId:l().uuid(),markId:l().min(1).max(512),generation:h().int().nonnegative(),phase:M(["start","stop"])}).strict();m({requestId:l().uuid(),generation:h().int().nonnegative(),text:l().max(dt),final:U(),error:M(["busy","unavailable","failed","permission"]).optional()}).strict().refine(t=>!t.error||t.final,"An error is final");m({pair:m({workspaceId:l().min(1).max(200),agentId:l().min(1).max(200)}).strict(),sourceId:l().min(1).max(512),sourceRevision:h().int().nonnegative(),waveform:lt}).strict();const It=m({requestId:l().uuid(),openId:w,pair:m({workspaceId:w,agentId:w}).strict(),kind:M(["screenshot","recording"]),attachmentId:w,sourceId:w.optional(),sourceRevision:h().int().nonnegative().optional(),expectedEditRevision:h().int().nonnegative().optional()}).strict();m({requestId:l().uuid(),result:M(["deleted","stale-source","failed"])}).strict();const vt=m({endedOpenId:l().uuid()}).strict();export{xt as D,d as a,dt as b,It as c,vt as d,Mt as e,bt as f,j as g,kt as h,ot as i,$ as j,pt as k,gt as l,H as m,z as n,yt as o,V as p,wt as r};
@@ -1,4 +1,4 @@
1
- import{r as e}from"./CnMdEUN9.js";const o=[{id:"dialog-state-matrix",title:"Dialog states",states:["closed","open","entering","exiting","focused","disabled-close","destructive-flow","nested-content","long-content","scrolling","compact","zoom-200","outside-dismiss","escape-dismiss","focus-return","reduced-motion"],themes:["light","dark"],viewport:"both",reducedMotion:!0},{id:"dialog-open-state",title:"Dialog open state",states:["open-on-mount","focused","escape-dismiss","focus-return"],themes:["light","dark"],viewport:"both",reducedMotion:!0}];e({id:"dialog",source:"src/lib/components/ui/dialog/index.ts",publicImport:"$lib/components/ui/dialog",legacyImports:[],exports:["Close","Content","Description","Dialog","DialogClose","DialogContent","DialogDescription","DialogFooter","DialogHeader","DialogOverlay","DialogPortal","DialogTitle","DialogTrigger","Footer","Header","Overlay","Portal","Root","Title","Trigger","escapeBelongsToOpenPopup","useDialogPortalTarget"],usage:`<script lang="ts">
1
+ import{r as e}from"./yn6WWSq8.js";const o=[{id:"dialog-state-matrix",title:"Dialog states",states:["closed","open","entering","exiting","focused","disabled-close","destructive-flow","nested-content","long-content","scrolling","compact","zoom-200","outside-dismiss","escape-dismiss","focus-return","reduced-motion"],themes:["light","dark"],viewport:"both",reducedMotion:!0},{id:"dialog-open-state",title:"Dialog open state",states:["open-on-mount","focused","escape-dismiss","focus-return"],themes:["light","dark"],viewport:"both",reducedMotion:!0}];e({id:"dialog",source:"src/lib/components/ui/dialog/index.ts",publicImport:"$lib/components/ui/dialog",legacyImports:[],exports:["Close","Content","Description","Dialog","DialogClose","DialogContent","DialogDescription","DialogFooter","DialogHeader","DialogOverlay","DialogPortal","DialogTitle","DialogTrigger","Footer","Header","Overlay","Portal","Root","Title","Trigger","escapeBelongsToOpenPopup","useDialogPortalTarget"],usage:`<script lang="ts">
2
2
  import * as Dialog from '$lib/components/ui/dialog';
3
3
  <\/script>
4
4