@intent-hq/web 2.391.1 → 2.392.1

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 (328) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{gQ8VFuWN.js → 0TbppU-W.js} +2 -2
  3. package/web/app/immutable/chunks/{B2awO10u.js → 2OP7IVCM.js} +1 -1
  4. package/web/app/immutable/chunks/{BZ27qIg1.js → 2z64ELW5.js} +1 -1
  5. package/web/app/immutable/chunks/{Cr9C4VDu.js → 3rqOYBi3.js} +1 -1
  6. package/web/app/immutable/chunks/{z0xDttNV.js → 50HYkjWD.js} +3 -3
  7. package/web/app/immutable/chunks/{DLqZuVvj.js → 52kdRKiP.js} +1 -1
  8. package/web/app/immutable/chunks/{Dh1j4V0b.js → 7zxUzaYz.js} +1 -1
  9. package/web/app/immutable/chunks/{Drn9m8Tp.js → 9AKr1UyY.js} +1 -1
  10. package/web/app/immutable/chunks/{DXCHCOFX.js → 9ryMZ44V.js} +1 -1
  11. package/web/app/immutable/chunks/{B7hGbqIM.js → AlO3r9jV.js} +1 -1
  12. package/web/app/immutable/chunks/{CVtLV3_x.js → B0SSzYpD.js} +1 -1
  13. package/web/app/immutable/chunks/{DuZtgB5V.js → B0oQ37UY.js} +1 -1
  14. package/web/app/immutable/chunks/{9eqoPT_C.js → B2-ooCTr.js} +1 -1
  15. package/web/app/immutable/chunks/{C1MYTxgW.js → B2frqTj8.js} +1 -1
  16. package/web/app/immutable/chunks/{CedswVQA.js → B36ccT8S.js} +1 -1
  17. package/web/app/immutable/chunks/{g5QqP-QE.js → B6Qz5J1y.js} +1 -1
  18. package/web/app/immutable/chunks/{DHvVAxAW.js → B6wkNYPs.js} +1 -1
  19. package/web/app/immutable/chunks/{DG3-me8H.js → B8m3-qrW.js} +1 -1
  20. package/web/app/immutable/chunks/{YQwkPi_0.js → B97l6Xkk.js} +1 -1
  21. package/web/app/immutable/chunks/{Cp-4w4r1.js → B9NjB9vD.js} +1 -1
  22. package/web/app/immutable/chunks/{DPk2fLxi.js → B9R2bql6.js} +1 -1
  23. package/web/app/immutable/chunks/{Cr5mKkdD.js → B9ZgGXDm.js} +1 -1
  24. package/web/app/immutable/chunks/{CT8vPg_p.js → BAtAwQ72.js} +2 -2
  25. package/web/app/immutable/chunks/{D5Jk5CWk.js → BB5TUToP.js} +2 -2
  26. package/web/app/immutable/chunks/{DGU9U1O6.js → BBfR26V0.js} +1 -1
  27. package/web/app/immutable/chunks/{C4l6men1.js → BCw-LKCu.js} +1 -1
  28. package/web/app/immutable/chunks/{WYNXUtt9.js → BDQvAsU6.js} +1 -1
  29. package/web/app/immutable/chunks/{DDvFH8QS.js → BDRM-DVo.js} +1 -1
  30. package/web/app/immutable/chunks/{D9T_0Eev.js → BE3g5vcj.js} +3 -3
  31. package/web/app/immutable/chunks/{KWtYfwVq.js → BE4DZU9i.js} +1 -1
  32. package/web/app/immutable/chunks/{C3JJkOFb.js → BEGGqaof.js} +1 -1
  33. package/web/app/immutable/chunks/{CyvzL5p8.js → BFO-Le8U.js} +3 -3
  34. package/web/app/immutable/chunks/BGSmaq6H.js +1 -0
  35. package/web/app/immutable/chunks/{K0WiFC8Y.js → BJEFEyAm.js} +1 -1
  36. package/web/app/immutable/chunks/{CEyWnfg4.js → BJIUXUAo.js} +1 -1
  37. package/web/app/immutable/chunks/{B_JGVEqN.js → BKGQPtRi.js} +1 -1
  38. package/web/app/immutable/chunks/BPFSAjsd.js +411 -0
  39. package/web/app/immutable/chunks/{CV17KbhT.js → BQ5x_RaT.js} +1 -1
  40. package/web/app/immutable/chunks/{B26ZHg3s.js → BRCr02in.js} +1 -1
  41. package/web/app/immutable/chunks/{CHIxjTWu.js → BS1zON0P.js} +1 -1
  42. package/web/app/immutable/chunks/{kkKMJ9w9.js → BS5e_kKu.js} +1 -1
  43. package/web/app/immutable/chunks/{CpwS8V1F.js → BS9LmSp_.js} +1 -1
  44. package/web/app/immutable/chunks/{CwqJ7uz4.js → BSMi55yC.js} +1 -1
  45. package/web/app/immutable/chunks/{BBcnUEuQ.js → BSpgPPjp.js} +1 -1
  46. package/web/app/immutable/chunks/{6JlgfFWd.js → BT6sDnDt.js} +1 -1
  47. package/web/app/immutable/chunks/{BmaG8vdR.js → BTE0066U.js} +1 -1
  48. package/web/app/immutable/chunks/{BRScUzfU.js → BUF0WvAS.js} +1 -1
  49. package/web/app/immutable/chunks/{CUgl7USU.js → BUPWY1pO.js} +1 -1
  50. package/web/app/immutable/chunks/{Cnkux63v.js → BVBh582U.js} +1 -1
  51. package/web/app/immutable/chunks/{BSKVcPN7.js → BVhnyyZ7.js} +1 -1
  52. package/web/app/immutable/chunks/{CH6Im5iM.js → BYfDvU8j.js} +1 -1
  53. package/web/app/immutable/chunks/{Ci6PI5sn.js → Bc4EBjSN.js} +1 -1
  54. package/web/app/immutable/chunks/{CiHhUIjb.js → BdWMbiFk.js} +1 -1
  55. package/web/app/immutable/chunks/{7-WRRruG.js → BdlwjSpf.js} +1 -1
  56. package/web/app/immutable/chunks/{D9R5fzn8.js → Beq_QLuz.js} +1 -1
  57. package/web/app/immutable/chunks/{B2Ny2uiy.js → Bh3yfjRP.js} +1 -1
  58. package/web/app/immutable/chunks/{DynUeYUu.js → BhYXv0ZM.js} +1 -1
  59. package/web/app/immutable/chunks/{D3pRyooW.js → Bhul7r_Y.js} +1 -1
  60. package/web/app/immutable/chunks/{OsJD3pkm.js → Bky3Gaqa.js} +1 -1
  61. package/web/app/immutable/chunks/{B5-Plsom.js → BlVpCoL1.js} +1 -1
  62. package/web/app/immutable/chunks/{CwCvyVGi.js → BmqZzhgO.js} +1 -1
  63. package/web/app/immutable/chunks/{Chbrtg19.js → BnnKw3Va.js} +1 -1
  64. package/web/app/immutable/chunks/{DmQ5G_6J.js → Bo0PodRV.js} +1 -1
  65. package/web/app/immutable/chunks/{Cxc8q3rR.js → BonA_mfc.js} +1 -1
  66. package/web/app/immutable/chunks/{BuyrOC4V.js → Bp6DusVC.js} +1 -1
  67. package/web/app/immutable/chunks/{DIIj7EWA.js → BpFxCD0b.js} +1 -1
  68. package/web/app/immutable/chunks/{DqtLBCnq.js → BqRQBnTW.js} +1 -1
  69. package/web/app/immutable/chunks/{JvFe2B29.js → BuM8LV7z.js} +1 -1
  70. package/web/app/immutable/chunks/{BM39k1x6.js → BusD2v6a.js} +1 -1
  71. package/web/app/immutable/chunks/{DF15jnSX.js → BvByaKKp.js} +1 -1
  72. package/web/app/immutable/chunks/{z4O7yNZ6.js → BvvIG-FE.js} +1 -1
  73. package/web/app/immutable/chunks/{Bhyo7hBL.js → Bvwrya09.js} +1 -1
  74. package/web/app/immutable/chunks/{RV6uszBL.js → Bw-Zu1Zf.js} +1 -1
  75. package/web/app/immutable/chunks/{Dl1AOLZu.js → BwFe8eI9.js} +1 -1
  76. package/web/app/immutable/chunks/{Dr6-g-BO.js → Bwa2n5jC.js} +1 -1
  77. package/web/app/immutable/chunks/{QzxpbvSo.js → BwweojP5.js} +1 -1
  78. package/web/app/immutable/chunks/{CnDgS0vt.js → ByaJIEgQ.js} +1 -1
  79. package/web/app/immutable/chunks/{BZCcX8wj.js → ByvcSsIj.js} +2 -2
  80. package/web/app/immutable/chunks/{Bz80vYvX.js → BzXQ5SMs.js} +1 -1
  81. package/web/app/immutable/chunks/{CPnqf2bo.js → C13CRqsS.js} +1 -1
  82. package/web/app/immutable/chunks/{CAGrRNbp.js → C1SGWBXH.js} +1 -1
  83. package/web/app/immutable/chunks/{B4Yz29Q3.js → C2RnxEnO.js} +1 -1
  84. package/web/app/immutable/chunks/{DcraaizU.js → C3KgmGxd.js} +1 -1
  85. package/web/app/immutable/chunks/{Dd_KPYBw.js → C6Af0QaF.js} +1 -1
  86. package/web/app/immutable/chunks/{sFief-xo.js → C7MFACZg.js} +1 -1
  87. package/web/app/immutable/chunks/{DMEIbJII.js → C7b3vXLD.js} +1 -1
  88. package/web/app/immutable/chunks/{BMTanQ2Z.js → C8OXQeb2.js} +1 -1
  89. package/web/app/immutable/chunks/{Bb-kpHQF.js → C8PR5GO9.js} +1 -1
  90. package/web/app/immutable/chunks/C9DStJW1.js +1 -0
  91. package/web/app/immutable/chunks/{5az3n8fR.js → C9iwh4F-.js} +1 -1
  92. package/web/app/immutable/chunks/{CwOdvmTo.js → CA5vNvRD.js} +3 -3
  93. package/web/app/immutable/chunks/{CnFZbWXv.js → CA6H1-bp.js} +1 -1
  94. package/web/app/immutable/chunks/{B6m0Dypi.js → CBQrOO2t.js} +1 -1
  95. package/web/app/immutable/chunks/{Bhq56Jsu.js → CCAtqaSn.js} +1 -1
  96. package/web/app/immutable/chunks/{CREbzS7Z.js → CCSQmeuF.js} +1 -1
  97. package/web/app/immutable/chunks/{CCzPC_cB.js → CCyGGl6b.js} +1 -1
  98. package/web/app/immutable/chunks/{CoSEZL3s.js → CDcxODgf.js} +1 -1
  99. package/web/app/immutable/chunks/{CAUJiTuz.js → CDtaIFAl.js} +1 -1
  100. package/web/app/immutable/chunks/{Csqi0oV3.js → CEqrck_t.js} +1 -1
  101. package/web/app/immutable/chunks/{B2Q_FC4n.js → CGJ5yTzR.js} +3 -3
  102. package/web/app/immutable/chunks/{BkcCJyDK.js → CH7HNVC2.js} +1 -1
  103. package/web/app/immutable/chunks/{DLt9OoMP.js → CJItvMq2.js} +1 -1
  104. package/web/app/immutable/chunks/{By2YlE-l.js → CLX81MHV.js} +1 -1
  105. package/web/app/immutable/chunks/{BOPrepKH.js → COmspkQo.js} +1 -1
  106. package/web/app/immutable/chunks/{9qqz3Jr0.js → CPNOsHfj.js} +1 -1
  107. package/web/app/immutable/chunks/{CA-b7pAY.js → CPav-V5t.js} +2 -2
  108. package/web/app/immutable/chunks/{C5fxud9g.js → CPmXQBUf.js} +1 -1
  109. package/web/app/immutable/chunks/{BrL12o40.js → CQClkuxa.js} +1 -1
  110. package/web/app/immutable/chunks/{BQCtWEZ2.js → CRFyRwf-.js} +1 -1
  111. package/web/app/immutable/chunks/{CHUYHKuh.js → CRIoGx5T.js} +1 -1
  112. package/web/app/immutable/chunks/{CbB6SI0i.js → CRm25OCR.js} +1 -1
  113. package/web/app/immutable/chunks/{mFWmuyR-.js → CS6als-f.js} +1 -1
  114. package/web/app/immutable/chunks/{CfDqTHT1.js → CSzXeH2S.js} +1 -1
  115. package/web/app/immutable/chunks/{DHkcvVzr.js → CTkkv_Ih.js} +1 -1
  116. package/web/app/immutable/chunks/{DSs6r6NG.js → CUiYYsIq.js} +1 -1
  117. package/web/app/immutable/chunks/{DR_b4dt8.js → CUmvnJK5.js} +1 -1
  118. package/web/app/immutable/chunks/{DQpGArF7.js → CVx5OKWy.js} +1 -1
  119. package/web/app/immutable/chunks/{DISm8kek.js → CWS5g6aA.js} +1 -1
  120. package/web/app/immutable/chunks/{CGmYraIa.js → CWfjuhY2.js} +1 -1
  121. package/web/app/immutable/chunks/{CRXlvdEs.js → CWtyXmQ4.js} +1 -1
  122. package/web/app/immutable/chunks/{CWXVdpgZ.js → CXygwMkb.js} +1 -1
  123. package/web/app/immutable/chunks/{pXrAh3i2.js → CY56l_5k.js} +1 -1
  124. package/web/app/immutable/chunks/{B1lpukIv.js → CZfU7DE3.js} +1 -1
  125. package/web/app/immutable/chunks/{Ao0jjYj2.js → CbSZGuz9.js} +1 -1
  126. package/web/app/immutable/chunks/{DFKhOU69.js → Cc0763mU.js} +1 -1
  127. package/web/app/immutable/chunks/{DidHgSQp.js → CcBmcC9f.js} +2 -2
  128. package/web/app/immutable/chunks/{D59tCG3q.js → CcMCIG6E.js} +2 -2
  129. package/web/app/immutable/chunks/{qWgJ-CUF.js → CccfsETL.js} +2 -2
  130. package/web/app/immutable/chunks/{BDeGl6ee.js → CdLJ0-dH.js} +1 -1
  131. package/web/app/immutable/chunks/{-CpNnXIW.js → CdtwTpzR.js} +1 -1
  132. package/web/app/immutable/chunks/{DQNtbVVY.js → Cdw7QKyr.js} +3 -3
  133. package/web/app/immutable/chunks/{C9N7yhqm.js → Ce-va2I0.js} +1 -1
  134. package/web/app/immutable/chunks/{CK543FRe.js → CeHL-3WK.js} +1 -1
  135. package/web/app/immutable/chunks/{D5al-p9o.js → CewZlXwy.js} +1 -1
  136. package/web/app/immutable/chunks/{C22cBcHz.js → Ch9YoFhc.js} +1 -1
  137. package/web/app/immutable/chunks/{COofQgO0.js → ChHRVjww.js} +1 -1
  138. package/web/app/immutable/chunks/{D__sU8Ug.js → CiNmS1jZ.js} +1 -1
  139. package/web/app/immutable/chunks/{BlzuDW6O.js → CjrqEuvI.js} +1 -1
  140. package/web/app/immutable/chunks/{D49mWFig.js → CnPYlvZC.js} +1 -1
  141. package/web/app/immutable/chunks/{ByP-EusE.js → CngTEvgU.js} +1 -1
  142. package/web/app/immutable/chunks/{DeFlL2nh.js → CorT7tdR.js} +1 -1
  143. package/web/app/immutable/chunks/{9GL-RXJZ.js → Cp4SiU7R.js} +1 -1
  144. package/web/app/immutable/chunks/{DUTvR2si.js → CpK0xLH4.js} +1 -1
  145. package/web/app/immutable/chunks/CpT48V2z.js +1 -0
  146. package/web/app/immutable/chunks/{jyQWudgn.js → Cq97NFfR.js} +1 -1
  147. package/web/app/immutable/chunks/{BczcQRsN.js → CqRvL4xi.js} +1 -1
  148. package/web/app/immutable/chunks/{DvUsJK3H.js → Ct0fN4Lt.js} +1 -1
  149. package/web/app/immutable/chunks/{DJcR4XQR.js → CtzbB_EQ.js} +1 -1
  150. package/web/app/immutable/chunks/{CjpWOZGa.js → Cu9dGfYE.js} +1 -1
  151. package/web/app/immutable/chunks/{DJqiMUht.js → Cv-fAWZf.js} +1 -1
  152. package/web/app/immutable/chunks/{CU15H7o_.js → Cx394IAH.js} +1 -1
  153. package/web/app/immutable/chunks/{Bx1P9uW7.js → CxR-pcVt.js} +1 -1
  154. package/web/app/immutable/chunks/{CTgYTdXw.js → Cz3WzTlQ.js} +1 -1
  155. package/web/app/immutable/chunks/{23FyIn6O.js → CzK_7_Jd.js} +1 -1
  156. package/web/app/immutable/chunks/{BTXzEcFX.js → D-j7vD5Z.js} +1 -1
  157. package/web/app/immutable/chunks/{CAUle5iU.js → D0DIeAXH.js} +1 -1
  158. package/web/app/immutable/chunks/{CiKoEJ2m.js → D0qhIm1r.js} +1 -1
  159. package/web/app/immutable/chunks/{CeoBhFo7.js → D179JMBI.js} +1 -1
  160. package/web/app/immutable/chunks/{Cgz4dZpP.js → D5ocbEo-.js} +1 -1
  161. package/web/app/immutable/chunks/{fCtMtGYt.js → D6EyZ2rd.js} +1 -1
  162. package/web/app/immutable/chunks/{DoB-G8kB.js → D6H34kDj.js} +1 -1
  163. package/web/app/immutable/chunks/{aWBSU8IQ.js → D7KhILhs.js} +1 -1
  164. package/web/app/immutable/chunks/{CR5XXYcE.js → D8MIwtpL.js} +1 -1
  165. package/web/app/immutable/chunks/{DyreqWqr.js → D8cNe_33.js} +1 -1
  166. package/web/app/immutable/chunks/{CzxEKNiF.js → D9gMMVdB.js} +1 -1
  167. package/web/app/immutable/chunks/{JiW1DfLK.js → DA3tGWzX.js} +1 -1
  168. package/web/app/immutable/chunks/{CLMwPQBQ.js → DDDvNwR-.js} +1 -1
  169. package/web/app/immutable/chunks/{CDh2mZdS.js → DEQnE_KB.js} +1 -1
  170. package/web/app/immutable/chunks/{DcU8bi_n.js → DEsM7h8K.js} +2 -2
  171. package/web/app/immutable/chunks/{DMudvlKI.js → DFNKkiho.js} +4 -4
  172. package/web/app/immutable/chunks/{DcPZfWKB.js → DFRVxmWf.js} +1 -1
  173. package/web/app/immutable/chunks/{Dgo57zmq.js → DHMxSQaO.js} +1 -1
  174. package/web/app/immutable/chunks/{CIxnaBAb.js → DIME5LWK.js} +2 -2
  175. package/web/app/immutable/chunks/{BLtLj2yz.js → DIxibpTv.js} +1 -1
  176. package/web/app/immutable/chunks/{KaOLys0u.js → DJZIHUd7.js} +1 -1
  177. package/web/app/immutable/chunks/{HiIoMspb.js → DLPlXnVY.js} +1 -1
  178. package/web/app/immutable/chunks/{1-MeqddK.js → DL__HI6l.js} +1 -1
  179. package/web/app/immutable/chunks/{k48f0Jn8.js → DMOXpjfz.js} +1 -1
  180. package/web/app/immutable/chunks/{BLfqsc2a.js → DNup87JQ.js} +1 -1
  181. package/web/app/immutable/chunks/{B7pblHOt.js → DON9zoQ1.js} +1 -1
  182. package/web/app/immutable/chunks/{CwqyVbqi.js → DP31pjuo.js} +3 -3
  183. package/web/app/immutable/chunks/{Bpi8OSTE.js → DQe_5JbW.js} +1 -1
  184. package/web/app/immutable/chunks/{BFfRQORP.js → DRMe5Ypb.js} +1 -1
  185. package/web/app/immutable/chunks/{DoJ49Zrl.js → DTNrtzyx.js} +1 -1
  186. package/web/app/immutable/chunks/{Q1bO23Hj.js → DTbyG794.js} +1 -1
  187. package/web/app/immutable/chunks/{DWRtOXBU.js → DTco_120.js} +1 -1
  188. package/web/app/immutable/chunks/{S3jMTv3a.js → DUcJILSg.js} +1 -1
  189. package/web/app/immutable/chunks/{Cxmepjfl.js → DWjpzYNk.js} +1 -1
  190. package/web/app/immutable/chunks/{BFHmbbvG.js → DY9w61PC.js} +6 -6
  191. package/web/app/immutable/chunks/{CiRkFhK8.js → DYzxLuOL.js} +1 -1
  192. package/web/app/immutable/chunks/{CKTB5KRw.js → D_R1vNH8.js} +1 -1
  193. package/web/app/immutable/chunks/{DF54qNJU.js → D_YMc8vN.js} +1 -1
  194. package/web/app/immutable/chunks/{BGeImWEk.js → D_jEt7ej.js} +1 -1
  195. package/web/app/immutable/chunks/{BVwQph9_.js → DaTkisKB.js} +1 -1
  196. package/web/app/immutable/chunks/{DxmPtFKv.js → DaTwSOqs.js} +1 -1
  197. package/web/app/immutable/chunks/{DE8II0cx.js → DbB491_u.js} +1 -1
  198. package/web/app/immutable/chunks/{BWQPB65O.js → DbPBKS19.js} +1 -1
  199. package/web/app/immutable/chunks/{BHgSQJqT.js → Dbqo6rfT.js} +1 -1
  200. package/web/app/immutable/chunks/{TPru2I57.js → DcrCEeFN.js} +1 -1
  201. package/web/app/immutable/chunks/{0R5VEpaM.js → DdU2snxg.js} +4 -4
  202. package/web/app/immutable/chunks/{CUZpLDKB.js → DdYVblGk.js} +1 -1
  203. package/web/app/immutable/chunks/DejjV5ft.js +1 -0
  204. package/web/app/immutable/chunks/{D3tqOSzT.js → DepS1LOg.js} +1 -1
  205. package/web/app/immutable/chunks/{DW8fwVBf.js → DfINI0LK.js} +1 -1
  206. package/web/app/immutable/chunks/{QeZhJHLb.js → Dgvdn_ax.js} +1 -1
  207. package/web/app/immutable/chunks/{CktgkomQ.js → DhXSKt_a.js} +1 -1
  208. package/web/app/immutable/chunks/{B7hWIBzm.js → Dhs7RSq9.js} +1 -1
  209. package/web/app/immutable/chunks/{CyinuwPx.js → DivmpPFQ.js} +1 -1
  210. package/web/app/immutable/chunks/{DOhHP999.js → DjAFd7Fr.js} +1 -1
  211. package/web/app/immutable/chunks/{l7sDKa65.js → Dk9lUzSs.js} +1 -1
  212. package/web/app/immutable/chunks/{C3jMXj_V.js → DkQdSPDN.js} +1 -1
  213. package/web/app/immutable/chunks/{DEr2A_-h.js → DlnCrS3y.js} +2 -2
  214. package/web/app/immutable/chunks/{DBYe3Dcp.js → DmtYsVlu.js} +2 -2
  215. package/web/app/immutable/chunks/{BM2ubpAw.js → DoFGyuPK.js} +1 -1
  216. package/web/app/immutable/chunks/{C5tJUrGJ.js → DotCIVLI.js} +1 -1
  217. package/web/app/immutable/chunks/{BOVldAsb.js → Dp0kLnIL.js} +1 -1
  218. package/web/app/immutable/chunks/{Dk7Kxi97.js → DqCgFTqN.js} +1 -1
  219. package/web/app/immutable/chunks/{uyQciu7h.js → DuFY1gwd.js} +4 -4
  220. package/web/app/immutable/chunks/{BT8mEFV6.js → DuYgHIqV.js} +1 -1
  221. package/web/app/immutable/chunks/{BJCm9MUD.js → Dusq2uGc.js} +1 -1
  222. package/web/app/immutable/chunks/{zXLHCuiE.js → DvEcqVUt.js} +1 -1
  223. package/web/app/immutable/chunks/{B28HQLvX.js → DvdITStP.js} +1 -1
  224. package/web/app/immutable/chunks/{Dt_7lHy8.js → Dvzvnzzu.js} +1 -1
  225. package/web/app/immutable/chunks/{Cq8_4net.js → DznISJQO.js} +1 -1
  226. package/web/app/immutable/chunks/{DhTLwmro.js → EK8GFErl.js} +1 -1
  227. package/web/app/immutable/chunks/{C2tSFTTb.js → FS0kRzLP.js} +1 -1
  228. package/web/app/immutable/chunks/Fcr7AvC-.js +1 -0
  229. package/web/app/immutable/chunks/{Byobtdo1.js → G_kSYo3Y.js} +1 -1
  230. package/web/app/immutable/chunks/{BKKCpqXK.js → H8hIaDaV.js} +2 -2
  231. package/web/app/immutable/chunks/{CaX8Mme7.js → KPBWxwIA.js} +1 -1
  232. package/web/app/immutable/chunks/{GwtGeFMJ.js → KRACSBb9.js} +1 -1
  233. package/web/app/immutable/chunks/{DupTZXsI.js → KvfW-q1N.js} +1 -1
  234. package/web/app/immutable/chunks/{D5tDAzIo.js → MFTfhUYi.js} +1 -1
  235. package/web/app/immutable/chunks/{BS9WBIBb.js → O5ZlQHf9.js} +1 -1
  236. package/web/app/immutable/chunks/{ChYLETZB.js → OqslD7bF.js} +1 -1
  237. package/web/app/immutable/chunks/{DXXFBdjF.js → OuI4JmWC.js} +1 -1
  238. package/web/app/immutable/chunks/{BXwdb0J5.js → PejVYY2W.js} +3 -3
  239. package/web/app/immutable/chunks/{C9wxB2bb.js → QKQvZF-2.js} +2 -2
  240. package/web/app/immutable/chunks/R3fZBk-k.js +1 -0
  241. package/web/app/immutable/chunks/{BNYZa6GV.js → Rq6GuI3F.js} +1 -1
  242. package/web/app/immutable/chunks/{BcdTbj6d.js → RqSv1iWX.js} +1 -1
  243. package/web/app/immutable/chunks/{Xgzr3BTD.js → T6UBEOFc.js} +1 -1
  244. package/web/app/immutable/chunks/{BpezAJRw.js → TdGvVwuC.js} +1 -1
  245. package/web/app/immutable/chunks/{DSZbBNDD.js → Tgw7Kdvt.js} +1 -1
  246. package/web/app/immutable/chunks/{P7zPRuFC.js → U5o8u-di.js} +1 -1
  247. package/web/app/immutable/chunks/{BUSErGiB.js → UWtWVoQE.js} +1 -1
  248. package/web/app/immutable/chunks/{BCLYeYwk.js → W7uazUja.js} +1 -1
  249. package/web/app/immutable/chunks/{CDUYzZ2W.js → WWDClKTE.js} +1 -1
  250. package/web/app/immutable/chunks/{DJSvqrCI.js → WWq3hijy.js} +1 -1
  251. package/web/app/immutable/chunks/{B9Nn4kQr.js → Xr-aTNRN.js} +1 -1
  252. package/web/app/immutable/chunks/{DlljGo_I.js → Y8hdNZSZ.js} +1 -1
  253. package/web/app/immutable/chunks/{Dh-DCh2Y.js → YsAO4v_N.js} +1 -1
  254. package/web/app/immutable/chunks/{BB2vaoZ2.js → ZIePA90q.js} +3 -3
  255. package/web/app/immutable/chunks/{C-nTKxY9.js → ZfkZCfTr.js} +1 -1
  256. package/web/app/immutable/chunks/{CLvqghA8.js → ZmAQurQV.js} +1 -1
  257. package/web/app/immutable/chunks/{BU3y3Xes.js → _IjN0Lbt.js} +1 -1
  258. package/web/app/immutable/chunks/{DnzDw_9l.js → a3O-Ns1M.js} +1 -1
  259. package/web/app/immutable/chunks/{Em5CdgqH.js → aoX2v33V.js} +4 -4
  260. package/web/app/immutable/chunks/{C00PRSTi.js → b7gnFN68.js} +1 -1
  261. package/web/app/immutable/chunks/{iQDlfKDR.js → cD292w1o.js} +1 -1
  262. package/web/app/immutable/chunks/{COo5pTrI.js → ciQFmiC4.js} +1 -1
  263. package/web/app/immutable/chunks/{ClaP_sir.js → dvKmN4h6.js} +1 -1
  264. package/web/app/immutable/chunks/{D7QFmXLb.js → f0WUpIfB.js} +1 -1
  265. package/web/app/immutable/chunks/{Crey45Oa.js → f5b-J-bi.js} +1 -1
  266. package/web/app/immutable/chunks/{ZX798KkU.js → gKdztwD8.js} +1 -1
  267. package/web/app/immutable/chunks/{BdhKX9ZN.js → gNR_yDDX.js} +1 -1
  268. package/web/app/immutable/chunks/{BAMJ8Hnj.js → gX9ZnDRD.js} +1 -1
  269. package/web/app/immutable/chunks/{BVUW22uN.js → gXHlCg5O.js} +1 -1
  270. package/web/app/immutable/chunks/{axwUS21u.js → ghzRmqKs.js} +1 -1
  271. package/web/app/immutable/chunks/{FM3MDwzB.js → gocm4HZf.js} +1 -1
  272. package/web/app/immutable/chunks/{SdVpHK7d.js → i2Q0D3-m.js} +1 -1
  273. package/web/app/immutable/chunks/{CdTSfppl.js → iCTyujt5.js} +1 -1
  274. package/web/app/immutable/chunks/{IxxdIKNN.js → iMqZaR5X.js} +1 -1
  275. package/web/app/immutable/chunks/{BT5iyspK.js → iNacp7Sr.js} +1 -1
  276. package/web/app/immutable/chunks/{BjGqF2I6.js → iViWtmHm.js} +1 -1
  277. package/web/app/immutable/chunks/{D3JNbQ4D.js → jphlY6bT.js} +1 -1
  278. package/web/app/immutable/chunks/{CEA7jD1C.js → koUs6Gjt.js} +1 -1
  279. package/web/app/immutable/chunks/{rwibDzZr.js → l3Y4i65_.js} +1 -1
  280. package/web/app/immutable/chunks/{BTvJ4T_4.js → lK1e5NlM.js} +1 -1
  281. package/web/app/immutable/chunks/{Cd-qmx8U.js → oM2TfoNE.js} +1 -1
  282. package/web/app/immutable/chunks/{Di3gErxh.js → pQalwNsE.js} +1 -1
  283. package/web/app/immutable/chunks/{DWBUvNGh.js → r4dmBxo_.js} +1 -1
  284. package/web/app/immutable/chunks/{BU9me3Pg.js → rmHQzJ1a.js} +1 -1
  285. package/web/app/immutable/chunks/s_T1Uukt.js +1 -0
  286. package/web/app/immutable/chunks/{Cn-Afla1.js → u_H5ILVa.js} +1 -1
  287. package/web/app/immutable/chunks/{bJK6npyT.js → vJJtTADX.js} +1 -1
  288. package/web/app/immutable/chunks/{BSZu3BUb.js → vq6mxGLA.js} +1 -1
  289. package/web/app/immutable/chunks/{B3T1oiJl.js → x4bPxhVW.js} +1 -1
  290. package/web/app/immutable/chunks/{Cn4-Fvkn.js → x9IQ_8UO.js} +1 -1
  291. package/web/app/immutable/chunks/{n0_jgWL7.js → z2uEgbos.js} +1 -1
  292. package/web/app/immutable/entry/{app.B0HiWR5T.js → app.Dh0FLLBd.js} +3 -3
  293. package/web/app/immutable/entry/start.IMZH36aM.js +1 -0
  294. package/web/app/immutable/nodes/{0.5oa9JC3V.js → 0.BlcS-Hyh.js} +1 -1
  295. package/web/app/immutable/nodes/{1.dLY473QL.js → 1.BMTchPFq.js} +1 -1
  296. package/web/app/immutable/nodes/{10.Dg3iEVmH.js → 10.CfDNhRgU.js} +14 -14
  297. package/web/app/immutable/nodes/{11.PFTrUEsb.js → 11.CxSRkGHD.js} +1 -1
  298. package/web/app/immutable/nodes/{12.DUMat2GN.js → 12.B8s5KuaN.js} +1 -1
  299. package/web/app/immutable/nodes/{13.BEiznOPk.js → 13.J8EpPA9A.js} +1 -1
  300. package/web/app/immutable/nodes/{14.DFolVj6c.js → 14.C5TLXVit.js} +3 -3
  301. package/web/app/immutable/nodes/{15.CGEsAjgd.js → 15.DCpm4k7K.js} +1 -1
  302. package/web/app/immutable/nodes/{16.cptOJ-f9.js → 16.T0PyvW1V.js} +1 -1
  303. package/web/app/immutable/nodes/{17.BVn1LtfR.js → 17.pi-yfOoM.js} +1 -1
  304. package/web/app/immutable/nodes/{18.BLC8YWHJ.js → 18.CTVha2lA.js} +1 -1
  305. package/web/app/immutable/nodes/{19.CqJycQsd.js → 19.C2T81__z.js} +2 -2
  306. package/web/app/immutable/nodes/{2.BaR1WF3o.js → 2.1iJIAnw5.js} +4 -4
  307. package/web/app/immutable/nodes/{20.g9As4rvG.js → 20.BHRuLw4-.js} +1 -1
  308. package/web/app/immutable/nodes/{3.DwF_25Xt.js → 3.BDDby9Gq.js} +1 -1
  309. package/web/app/immutable/nodes/{4.ttOSy2Tq.js → 4.utfN0vdd.js} +1 -1
  310. package/web/app/immutable/nodes/{5.BVpoghsD.js → 5.Z6w8za6J.js} +1 -1
  311. package/web/app/immutable/nodes/6.w_k_ibWb.js +5 -0
  312. package/web/app/immutable/nodes/{7.BO56ByN2.js → 7.I-q-I1bs.js} +1 -1
  313. package/web/app/immutable/nodes/{8.CPtVgnSI.js → 8.BgjULPKU.js} +1 -1
  314. package/web/app/immutable/nodes/9.DOkmR0cl.js +14 -0
  315. package/web/app/version.json +1 -1
  316. package/web/generated/paraglide.js +49 -49
  317. package/web/index.html +18 -18
  318. package/web/app/immutable/chunks/BaXq2aUL.js +0 -411
  319. package/web/app/immutable/chunks/Bheykcr9.js +0 -1
  320. package/web/app/immutable/chunks/C8E14ldW.js +0 -1
  321. package/web/app/immutable/chunks/CDVPwJHE.js +0 -1
  322. package/web/app/immutable/chunks/CtfEuoOH.js +0 -1
  323. package/web/app/immutable/chunks/DRuLniWc.js +0 -1
  324. package/web/app/immutable/chunks/T9rMC0YB.js +0 -1
  325. package/web/app/immutable/chunks/jlu1ZSD8.js +0 -1
  326. package/web/app/immutable/entry/start.BFcXwo9Y.js +0 -1
  327. package/web/app/immutable/nodes/6.D6pOrTxH.js +0 -5
  328. package/web/app/immutable/nodes/9.cl9L6J-I.js +0 -14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intent-hq/web",
3
- "version": "2.391.1",
3
+ "version": "2.392.1",
4
4
  "description": "Intent in the browser: a standalone web server for Intent machines.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/QeZhJHLb.js","/app/immutable/chunks/CtfEuoOH.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/chunks/DynUeYUu.js","/app/immutable/chunks/DFKhOU69.js","/app/immutable/chunks/Dr6-g-BO.js","/app/immutable/chunks/CnFZbWXv.js","/app/immutable/chunks/CGmYraIa.js","/app/immutable/chunks/B26ZHg3s.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/BZ27qIg1.js","/app/immutable/chunks/C3jMXj_V.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/D9R5fzn8.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/CT8vPg_p.js","/app/immutable/chunks/BpezAJRw.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/DMEIbJII.js","/app/immutable/chunks/BFfRQORP.js","/app/immutable/chunks/CiKoEJ2m.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/CHIxjTWu.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/COofQgO0.js","/app/immutable/chunks/Bx1P9uW7.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.DylRFR3N.css","/app/immutable/chunks/aWBSU8IQ.js","/app/immutable/chunks/DW8fwVBf.js","/app/immutable/chunks/DcraaizU.js","/app/immutable/chunks/B3T1oiJl.js","/app/immutable/chunks/CRXlvdEs.js","/app/immutable/chunks/CTgYTdXw.js","/app/immutable/assets/menu-footer.Ck5GCpgU.css","/app/immutable/chunks/BS9WBIBb.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/chunks/Bz80vYvX.js","/app/immutable/assets/confirm.UE5obH5A.css","/app/immutable/chunks/DG3-me8H.js","/app/immutable/chunks/DUTvR2si.js","/app/immutable/chunks/B4Yz29Q3.js","/app/immutable/chunks/BdhKX9ZN.js","/app/immutable/chunks/BjLb7AHW.js","/app/immutable/chunks/BUSErGiB.js","/app/immutable/chunks/DAsc1V4f.js","/app/immutable/chunks/BsieX9dN.js","/app/immutable/chunks/IxxdIKNN.js","/app/immutable/assets/SettingsPage.CKvEnOAL.css","/app/immutable/chunks/9GL-RXJZ.js","/app/immutable/chunks/goTpbPhD.js","/app/immutable/chunks/CwOdvmTo.js","/app/immutable/chunks/CVtLV3_x.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/B1lpukIv.js","/app/immutable/chunks/iQDlfKDR.js","/app/immutable/chunks/QzxpbvSo.js","/app/immutable/chunks/D-62MVd3.js","/app/immutable/chunks/B2Ny2uiy.js","/app/immutable/chunks/CL3a4Hm1.js","/app/immutable/chunks/DE8II0cx.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/CC7to1B5.js","/app/immutable/chunks/DEr2A_-h.js","/app/immutable/chunks/JvFe2B29.js","/app/immutable/chunks/BU3y3Xes.js","/app/immutable/chunks/BkcCJyDK.js","/app/immutable/chunks/C8E14ldW.js","/app/immutable/chunks/qWgJ-CUF.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/CEA7jD1C.js","/app/immutable/assets/slider.kL-wkHnx.css","/app/immutable/chunks/DQpGArF7.js","/app/immutable/chunks/CIxnaBAb.js","/app/immutable/chunks/ClaP_sir.js","/app/immutable/chunks/CQcEqK4G.js","/app/immutable/chunks/Crey45Oa.js","/app/immutable/chunks/C22cBcHz.js","/app/immutable/chunks/DlljGo_I.js","/app/immutable/chunks/CV17KbhT.js","/app/immutable/chunks/BTvJ4T_4.js","/app/immutable/assets/DockScreenshotEditorWindow.DNkBhnHK.css","/app/immutable/assets/dock-tokens.C3wiNkmL.css","/app/immutable/chunks/BTXzEcFX.js","/app/immutable/chunks/BXwdb0J5.js","/app/immutable/chunks/DHkcvVzr.js","/app/immutable/chunks/CEyWnfg4.js","/app/immutable/assets/select-viewport.CV-KWLNP.css","/app/immutable/chunks/BOPrepKH.js","/app/immutable/chunks/Cxmepjfl.js","/app/immutable/chunks/9eqoPT_C.js","/app/immutable/chunks/BHgSQJqT.js","/app/immutable/chunks/BzW_moTi.js","/app/immutable/chunks/D5tDAzIo.js","/app/immutable/chunks/B9Nn4kQr.js","/app/immutable/chunks/DSZbBNDD.js","/app/immutable/chunks/TPru2I57.js","/app/immutable/chunks/Chbrtg19.js","/app/immutable/chunks/DXXFBdjF.js","/app/immutable/chunks/BFHmbbvG.js","/app/immutable/chunks/C5tJUrGJ.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/CoSEZL3s.js","/app/immutable/chunks/CLvqghA8.js","/app/immutable/chunks/B_JGVEqN.js","/app/immutable/assets/checkbox.D429NJZk.css","/app/immutable/assets/directory-picker-service.uzk1xoHg.css","/app/immutable/chunks/BB2vaoZ2.js","/app/immutable/chunks/BGeImWEk.js","/app/immutable/chunks/DcU8bi_n.js","/app/immutable/chunks/By2YlE-l.js","/app/immutable/chunks/B7pblHOt.js","/app/immutable/assets/AgentAvatar.CZKKHyEm.css","/app/immutable/assets/avatar-state.BzFIexJN.css","/app/immutable/chunks/KaOLys0u.js","/app/immutable/assets/TipTapEditor.BmeA7Qtk.css","/app/immutable/chunks/D3JNbQ4D.js","/app/immutable/chunks/BM39k1x6.js","/app/immutable/chunks/DIIj7EWA.js","/app/immutable/assets/image-context-items.D_hsaikk.css","/app/immutable/chunks/S3jMTv3a.js","/app/immutable/chunks/DXCHCOFX.js","/app/immutable/assets/AttachmentPreview.DWUPhcKi.css","/app/immutable/chunks/uyQciu7h.js","/app/immutable/chunks/sFief-xo.js","/app/immutable/chunks/BSZu3BUb.js","/app/immutable/chunks/Bu13V5mO.js","/app/immutable/chunks/CeoBhFo7.js","/app/immutable/chunks/23FyIn6O.js","/app/immutable/chunks/CA-b7pAY.js","/app/immutable/chunks/Bb-kpHQF.js","/app/immutable/chunks/BKD7o1lQ.js","/app/immutable/assets/TaskStatusIcon.sfU2TZ7a.css","/app/immutable/chunks/DoJ49Zrl.js","/app/immutable/chunks/B2awO10u.js","/app/immutable/chunks/WYNXUtt9.js","/app/immutable/assets/AgentCard.Cna0hri3.css","/app/immutable/chunks/BLfqsc2a.js","/app/immutable/chunks/DEB8jcix.js","/app/immutable/chunks/lwn02icp.js","/app/immutable/chunks/CiHhUIjb.js","/app/immutable/assets/TrackedChangeDiffViewer.CveSjyPc.css","/app/immutable/chunks/DoB-G8kB.js","/app/immutable/chunks/CAGrRNbp.js","/app/immutable/chunks/CcNhqKh5.js","/app/immutable/assets/syntax-highlighting.CrQGLq0X.css","/app/immutable/assets/CodeBlock.BezhEtUo.css","/app/immutable/chunks/DMudvlKI.js","/app/immutable/chunks/BbIcudMY.js","/app/immutable/chunks/CktgkomQ.js","/app/immutable/assets/DiagramPresentation.C2GLYoBN.css","/app/immutable/chunks/CDVPwJHE.js","/app/immutable/chunks/DidHgSQp.js","/app/immutable/chunks/DgAgTFcK.js","/app/immutable/chunks/C-BsEdGZ.js","/app/immutable/chunks/DQNtbVVY.js","/app/immutable/assets/MarkdownViewer.D2MexjjT.css","/app/immutable/chunks/C9wxB2bb.js","/app/immutable/chunks/Bhq56Jsu.js","/app/immutable/chunks/GwtGeFMJ.js","/app/immutable/chunks/B2Q_FC4n.js","/app/immutable/assets/workspace-key-menu.DrT-Fxqq.css","/app/immutable/chunks/A0p6PvBn.js","/app/immutable/chunks/YqTahsxp.js","/app/immutable/chunks/k48f0Jn8.js","/app/immutable/chunks/BMTanQ2Z.js","/app/immutable/chunks/CLMwPQBQ.js","/app/immutable/assets/StreamingDiagramRenderer.BShsSvPz.css","/app/immutable/assets/chat-search.Cjb73igJ.css","/app/immutable/chunks/0R5VEpaM.js","/app/immutable/chunks/CwCvyVGi.js","/app/immutable/chunks/Cxc8q3rR.js","/app/immutable/chunks/BZCcX8wj.js","/app/immutable/chunks/D4WPlvMg.js","/app/immutable/chunks/SdVpHK7d.js","/app/immutable/chunks/DSs6r6NG.js","/app/immutable/chunks/ChYLETZB.js","/app/immutable/chunks/DuZtgB5V.js","/app/immutable/chunks/Dd_KPYBw.js","/app/immutable/assets/AgentAvatarStack.DOhClFuX.css","/app/immutable/chunks/Xgzr3BTD.js","/app/immutable/assets/conversation-turns.P_pkAsRX.css","/app/immutable/chunks/axwUS21u.js","/app/immutable/chunks/CzxEKNiF.js","/app/immutable/chunks/BjGqF2I6.js","/app/immutable/chunks/ZX798KkU.js","/app/immutable/chunks/Dgo57zmq.js","/app/immutable/chunks/CK543FRe.js","/app/immutable/chunks/DnzDw_9l.js","/app/immutable/chunks/C9N7yhqm.js","/app/immutable/chunks/H2jLkRRS.js","/app/immutable/chunks/l7sDKa65.js","/app/immutable/assets/WorkspaceSetupCard.DNLkSKZg.css","/app/immutable/chunks/DLqZuVvj.js","/app/immutable/chunks/DL6gGkHp.js","/app/immutable/assets/DockRecordingEditor.BX1NXczK.css","/app/immutable/chunks/CWXVdpgZ.js","/app/immutable/chunks/BSKVcPN7.js","/app/immutable/chunks/5az3n8fR.js","/app/immutable/assets/ChatPanel.B73KM22O.css","/app/immutable/assets/HomeWorkspaceDetail.Dp5EWw2P.css","/app/immutable/chunks/CKTB5KRw.js","/app/immutable/chunks/BT5iyspK.js","/app/immutable/chunks/CQ409-Pj.js","/app/immutable/chunks/Cn-Afla1.js","/app/immutable/chunks/CXXVPWBH.js","/app/immutable/chunks/DWGXN6Nr.js","/app/immutable/chunks/z0xDttNV.js","/app/immutable/chunks/DRuLniWc.js","/app/immutable/chunks/CUZpLDKB.js","/app/immutable/assets/BrowserTabType.DojB6H-_.css","/app/immutable/chunks/CwqJ7uz4.js","/app/immutable/chunks/BKKCpqXK.js","/app/immutable/chunks/D3yXvqwY.js","/app/immutable/chunks/CwqyVbqi.js","/app/immutable/chunks/RV6uszBL.js","/app/immutable/chunks/CH6Im5iM.js","/app/immutable/chunks/DyreqWqr.js","/app/immutable/chunks/CyvzL5p8.js","/app/immutable/assets/register.CUyDR59i.css","/app/immutable/assets/terminal-manager.MhP_vFvK.css","/app/immutable/chunks/DJcR4XQR.js","/app/immutable/assets/confirm-script-deletion.CqNa5NIC.css","/app/immutable/chunks/Cgz4dZpP.js","/app/immutable/assets/Terminal.Ddek5eNE.css","/app/immutable/chunks/1-MeqddK.js","/app/immutable/chunks/CPnqf2bo.js","/app/immutable/chunks/BaXq2aUL.js","/app/immutable/chunks/C-nTKxY9.js","/app/immutable/chunks/D5Jk5CWk.js","/app/immutable/chunks/Bhyo7hBL.js","/app/immutable/chunks/BVwQph9_.js","/app/immutable/chunks/CSiaiLHL.js","/app/immutable/chunks/D3tqOSzT.js","/app/immutable/chunks/B_QPRXJ5.js","/app/immutable/chunks/CDUYzZ2W.js","/app/immutable/chunks/BIv0yV05.js","/app/immutable/chunks/BO4HougN.js","/app/immutable/chunks/Cp-4w4r1.js","/app/immutable/assets/AgentOverviewTabType.DU1WpoFR.css","/app/immutable/chunks/DxmPtFKv.js","/app/immutable/chunks/B5-Plsom.js","/app/immutable/chunks/-CpNnXIW.js","/app/immutable/chunks/7-WRRruG.js","/app/immutable/chunks/P7zPRuFC.js","/app/immutable/assets/DiscussionTabType.D3Laoutn.css","/app/immutable/chunks/D9T_0Eev.js","/app/immutable/chunks/CbB6SI0i.js","/app/immutable/chunks/BNYZa6GV.js","/app/immutable/assets/CodeEditor.Bq04Rj-N.css","/app/immutable/chunks/DOhHP999.js","/app/immutable/assets/LineChangesBadge.CJ0J_Z0k.css","/app/immutable/chunks/CnDgS0vt.js","/app/immutable/assets/NoteTabType.AG_iwaNn.css","/app/immutable/chunks/JiW1DfLK.js","/app/immutable/chunks/wEnqV1Ol.js","/app/immutable/chunks/CAUJiTuz.js","/app/immutable/chunks/D7QFmXLb.js","/app/immutable/assets/FileTabType.BUKcoHE1.css","/app/immutable/chunks/DupTZXsI.js","/app/immutable/chunks/BmaG8vdR.js","/app/immutable/chunks/DHvVAxAW.js","/app/immutable/chunks/Cnkux63v.js","/app/immutable/assets/ChatChangesPanel.BQqG1JnE.css","/app/immutable/chunks/B7hWIBzm.js","/app/immutable/chunks/BVUW22uN.js","/app/immutable/chunks/D5al-p9o.js","/app/immutable/chunks/g5QqP-QE.js","/app/immutable/chunks/BCLYeYwk.js","/app/immutable/chunks/Dh-DCh2Y.js","/app/immutable/chunks/BZ9svoQk.js"])))=>i.map(i=>d[i]);
2
- import{bm as e,_ as c,t as Te,bo as ie,bw as he,b as ke}from"./CtfEuoOH.js";import{t as u}from"./C4l6men1.js";import{bD as ue,bv as Ve,cK as Ne,aO as $e,cn as Me,aV as ge,bg as Ke,aN as Be,aM as Ge,bs as He,bL as qe,b_ as Fe,bJ as je,F as Ue}from"./COofQgO0.js";import{R as H}from"./CREbzS7Z.js";import{bs as we,ca as Q,bH as v,aD as t,bV as K,br as ze,a7 as q,ay as M,W as p,bn as Le,c9 as b,aA as ne,a5 as X,bA as Z,bS as ye,aw as Ye,aB as W,be as F,b$ as x,b_ as I,bO as E,bl as Je,bk as Qe}from"./3SdAC2_C.js";import{i as D}from"./DynUeYUu.js";import{s as fe}from"./B26ZHg3s.js";import{L as me}from"./DIIj7EWA.js";import{C as Xe,L as be}from"./aWBSU8IQ.js";import{I as Ze}from"./DcraaizU.js";import"./B3T1oiJl.js";import"./Bz80vYvX.js";import{f as le}from"./D9R5fzn8.js";import{v as Ie}from"./CT8vPg_p.js";import"./BS9WBIBb.js";import"./CGmYraIa.js";import{I as ve}from"./CnFZbWXv.js";import{I as et}from"./Bqd7fdCF.js";import"./BpezAJRw.js";import{a as tt}from"./BdWqymET.js";function xt(){u.register({type:"workspace",loadComponent:()=>c(()=>import("./QeZhJHLb.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208]),import.meta.url),defaultWidthTier:"wide",icon:ue,get defaultTitle(){return e.workspace_page_workspaceResource_label()},get categoryLabel(){return e.workspace_page_workspaceResource_label()},renameable:!1}),u.register({type:"browser",loadComponent:()=>c(()=>import("./CKTB5KRw.js"),__vite__mapDeps([209,1,2,3,11,6,7,8,9,10,15,210,22,23,24,25,26,18,13,4,70,14,16,17,19,12,20,21,27,28,29,30,31,32,45,33,34,35,36,37,38,39,40,41,42,43,44,46,58,71,63,62,64,67,60,59,72,73,74,75,76,77,180,91,57,61,181,211,122,212,124,52,135,85,213,98,99,214,106,107,108,109,110,215,216,101,217,218]),import.meta.url),defaultWidthTier:"wide",icon:Ve,get defaultTitle(){return e.layout_tabTypes_browser_title()},get categoryLabel(){return e.layout_tabTypes_browser_category()},sidebarTabId:"browser",renameable:!1}),u.register({type:"terminal",loadComponent:()=>c(()=>import("./CwqJ7uz4.js"),__vite__mapDeps([219,1,2,3,4,11,28,7,8,9,10,6,63,18,22,23,24,25,26,13,62,16,17,19,64,20,220,15,221,222,59,60,57,58,61,223,224,225,226,227,109,211,190,228,14,12,21,27,29,30,31,32,212,229,71,67,72,73,74,75,76,77,36,42,43,40,41,216,230,38,35,39,135,33,34,37,44,45,46,214,231,148,232,233,101,217]),import.meta.url),defaultWidthTier:"medium",icon:Ne,get defaultTitle(){return e.layout_tabTypes_terminal_title()},get categoryLabel(){return e.layout_tabTypes_terminal_category()},sidebarTabId:"terminals",renameable:!1}),u.register({type:"code-review",loadComponent:()=>c(()=>import("./CPnqf2bo.js"),__vite__mapDeps([234,1,2,22,23,24,25,9,7,26,18,13,3,29,6,8,10,63,62,28,11,16,17,19,64,20,215,73,75,91,71,67,60,59,72,74,58,76,77,57,61,216,180,12,14,15,4,21,27,30,31,32,181,101,235,236,177,83,86,178,179,129,131,132,141,229,166,237,217,238,36,42,43,40,41,110,109,171,205,190,212,142,134,70,239,240,241,242,243,198,150,106,107,108,244,245,223,224,225,226,227,139,152,153,35,163,81,68,69,33,34,37,38,39,44,45,46,78,79,80,50,51,116,164,124,52]),import.meta.url),defaultWidthTier:"wide",icon:$e,get defaultTitle(){return e.layout_tabTypes_codeReview_title()},get categoryLabel(){return e.layout_tabTypes_codeReview_category()},renameable:!1}),u.register({type:"agent-overview",loadComponent:()=>c(()=>import("./Cp-4w4r1.js"),__vite__mapDeps([246,1,2,3,6,7,8,9,10,15,14,16,13,17,18,19,11,4,118,119,120,72,22,23,24,25,26,73,62,74,63,28,64,20,75,58,121,12,21,27,29,30,31,32,157,80,51,177,83,86,67,60,59,178,179,129,91,71,76,77,57,61,131,132,141,106,107,108,109,110,247]),import.meta.url),defaultWidthTier:"narrow",icon:Me,get defaultTitle(){return e.layout_tabTypes_agentOverview_title()},get categoryLabel(){return e.layout_tabTypes_agents_category()},renameable:!1}),u.register({type:"agent",loadComponent:()=>c(()=>import("./DxmPtFKv.js"),__vite__mapDeps([248,1,2,3,4,6,7,8,9,10,11,15,71,22,23,24,25,26,18,13,63,62,28,16,17,19,64,20,67,60,59,72,73,74,75,58,76,77,249,14,250,237,12,21,27,29,30,31,32,236,101,57,61,132,204,44,45,214,239,131,91,240,102,35,36,47,48,49,42,43,50,51,52,53,103,38,39,104,85,34,37,40,41,70,81,105,94,95,46,80,33,106,107,108,109,110,111,112,113,114,193,54,55,56,65,66,68,69,78,79,82,83,84,86,87,88,89,90,92,93,96,97,98,99,100,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,194,195,196,197,198,199,200,201,202,203,205,206,207,216,215]),import.meta.url),defaultWidthTier:"chat",icon:ge,get defaultTitle(){return e.layout_tabTypes_agent_title()},get categoryLabel(){return e.layout_tabTypes_agents_category()},sidebarTabId:"agents",renameable:!0}),u.register({type:"discussion",loadComponent:()=>c(()=>import("./7-WRRruG.js"),__vite__mapDeps([251,1,2,3,4,11,8,9,7,10,16,13,17,18,19,38,6,29,35,15,36,14,39,33,34,37,27,40,41,28,42,31,43,44,45,46,21,22,23,24,25,26,216,12,20,30,32,63,62,64,71,67,60,59,72,73,74,75,58,76,77,91,57,61,193,87,88,65,111,119,120,124,52,160,81,163,139,68,69,70,78,79,80,50,51,116,164,98,99,48,235,215,180,181,101,236,177,83,86,178,179,129,131,132,141,229,166,237,217,238,110,109,171,205,190,212,142,134,239,240,241,242,243,198,150,106,107,108,244,245,223,224,225,226,227,128,130,252,97,93,94,49,95,96,117,214,253]),import.meta.url),defaultWidthTier:"chat",icon:ge,get defaultTitle(){return e.workspace_discussion_title()},get categoryLabel(){return e.workspace_discussion_list_label()},sidebarTabId:"people",renameable:!1}),u.register({type:"note",loadComponent:()=>c(()=>import("./D9T_0Eev.js"),__vite__mapDeps([254,1,2,3,11,63,18,9,22,23,24,25,7,26,13,62,28,8,10,6,16,17,19,64,20,214,180,91,71,67,60,59,72,73,74,75,58,76,77,57,61,12,14,15,4,21,27,29,30,31,32,181,35,36,80,87,88,50,51,33,34,37,38,39,40,41,42,43,44,45,46,116,119,120,137,138,139,140,115,70,52,68,69,78,79,81,66,117,111,118,121,122,99,123,235,215,216,101,236,177,83,86,178,179,129,131,132,141,229,166,237,217,238,110,109,171,205,190,212,142,134,239,240,241,242,243,198,150,106,107,108,244,245,223,224,225,226,227,145,55,146,147,148,149,255,256,257,105,94,49,95,162,194,258,259,152,153,112,48,113,260,155,156,157,158,151,154,161,183,191,135,196,197,173,163,164,261]),import.meta.url),defaultWidthTier:"medium",icon:H.note,get defaultTitle(){return e.layout_tabTypes_note_title()},get categoryLabel(){return e.layout_tabTypes_context_category()},sidebarTabId:"notes",renameable:!0}),u.register({type:"file",loadComponent:()=>c(()=>import("./JiW1DfLK.js"),__vite__mapDeps([262,1,2,3,4,6,7,8,9,10,11,15,22,23,24,25,26,18,13,214,150,63,62,28,16,17,19,64,20,263,67,60,59,198,74,12,14,21,27,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,235,61,57,58,91,71,72,73,75,76,77,215,216,180,181,101,236,177,83,86,178,179,129,131,132,141,229,166,237,217,238,110,109,171,205,190,212,142,134,70,239,240,241,242,243,106,107,108,244,245,223,224,225,226,227,255,256,116,257,163,139,81,68,69,78,79,80,50,51,164,135,264,122,265,233,266]),import.meta.url),defaultWidthTier:"wide",icon:Ke,get defaultTitle(){return e.layout_tabTypes_file_title()},get categoryLabel(){return e.layout_tabTypes_files_category()},sidebarTabId:"files",renameable:!0}),u.register({type:"diff",loadComponent:()=>c(()=>import("./DupTZXsI.js"),__vite__mapDeps([267,1,2,3,4,11,162,22,23,24,25,9,7,26,18,13,214,63,62,28,8,10,6,16,17,19,64,20,145,55,15,131,59,91,71,67,60,72,73,74,75,58,76,77,57,61,21,132,146,147,14,148,35,29,36,149,268,150,33,34,37,27,38,39,40,41,42,31,43,44,45,46,116,135,264,196,197,173,12,30,32,198,120]),import.meta.url),defaultWidthTier:"wide",icon:Be,get defaultTitle(){return e.layout_tabTypes_diff_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"files",renameable:!1}),u.register({type:"changes",loadComponent:()=>c(()=>import("./DHvVAxAW.js"),__vite__mapDeps([269,1,2,4,15,22,23,24,25,9,7,26,18,13,162,214,63,62,28,11,3,8,10,6,16,17,19,64,20,215,73,75,91,71,67,60,59,72,74,58,76,77,57,61,216,180,12,14,21,27,29,30,31,32,181,101,270,159,258,259,145,55,131,132,146,147,148,35,36,149,268,150,33,34,37,38,39,40,41,42,43,44,45,46,116,119,120,112,48,49,113,133,134,70,125,142,177,83,86,178,179,129,141,235,236,229,166,237,217,238,110,109,171,205,190,212,239,240,241,242,243,198,106,107,108,244,245,223,224,225,226,227,271,264]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_changes_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"changes",renameable:!1}),u.register({type:"local-changes",loadComponent:()=>c(()=>import("./B7hWIBzm.js"),__vite__mapDeps([272,1,2,15,22,23,24,25,9,7,26,18,13,162,214,63,62,28,11,3,8,10,6,16,17,19,64,20,270,29,159,258,259,91,71,67,60,59,72,73,74,75,58,76,77,57,61,145,55,131,21,132,146,147,14,4,148,35,36,149,268,150,33,34,37,27,38,39,40,41,42,31,43,44,45,46,116,119,120,112,30,48,49,113,12,32,133,134,70,125,142,180,181,215,216,101,177,83,86,178,179,129,141,235,236,229,166,237,217,238,110,109,171,205,190,212,239,240,241,242,243,198,106,107,108,244,245,223,224,225,226,227,271,264]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_localChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"changes",renameable:!1}),u.register({type:"chat-changes",loadComponent:()=>c(()=>import("./BVUW22uN.js"),__vite__mapDeps([273,1,2,3,270,6,7,8,9,10,29,15,22,23,24,25,26,18,13,159,63,62,28,11,16,17,19,64,20,258,259,91,71,67,60,59,72,73,74,75,58,76,77,57,61,145,55,131,21,132,146,147,14,4,148,35,36,149,268,150,33,34,37,27,38,39,40,41,42,31,43,44,45,46,116,119,120,112,30,48,49,113,12,32,133,134,70,125,142,180,181,215,216,101,177,83,86,178,179,129,141,235,236,229,166,237,217,238,110,109,171,205,190,212,239,240,241,242,243,198,106,107,108,244,245,223,224,225,226,227,271]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_chatChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},renameable:!1}),u.register({type:"activity-changes",loadComponent:()=>c(()=>import("./D5al-p9o.js"),__vite__mapDeps([274,1,2,3,4,11,62,23,22,24,25,9,7,26,18,13,240,59,145,8,10,55,15,131,16,17,19,91,63,28,6,64,20,71,67,60,72,73,74,75,58,76,77,57,61,21,132,146,147,14,148,35,29,36,149,268,150,33,34,37,27,38,39,40,41,42,31,43,44,45,46,116,214,135,264,196,197,173,12,30,32,198,120]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_activityChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},renameable:!1}),u.register({type:"hook-script",loadComponent:()=>c(()=>import("./g5QqP-QE.js"),__vite__mapDeps([275,1,2,3,151,6,7,8,9,10,139,152,59,153,12,13,14,15,16,17,18,19,11,4,20,21,22,23,24,25,26,27,28,29,30,31,32,154,166,63,62,64,73,74]),import.meta.url),defaultWidthTier:"medium",icon:Ge,get defaultTitle(){return e.chat_backgroundHooks_viewScript_label()},get categoryLabel(){return e.layout_tabTypes_panel_category()},renameable:!1}),u.register({type:"settings",loadComponent:()=>c(()=>import("./BCLYeYwk.js"),__vite__mapDeps([276,1,2]),import.meta.url),defaultWidthTier:"narrow",icon:He,get defaultTitle(){return e.layout_tabTypes_settings_title()},get categoryLabel(){return e.layout_tabTypes_settings_category()},renameable:!1}),u.register({type:"overview",loadComponent:()=>c(()=>import("./Dh-DCh2Y.js"),__vite__mapDeps([277,1,2]),import.meta.url),defaultWidthTier:"narrow",icon:ue,get defaultTitle(){return e.layout_tabTypes_overview_title()},get categoryLabel(){return e.layout_tabTypes_overview_category()},renameable:!1})}async function Wt(y){if(y?.restoreStatus!=="restored")return;const _=new Set(Object.values(y.panels).flatMap(r=>{const k=r.tabs.find(l=>l.id===r.activeTabId);return k?[k.type]:[]}));await Promise.allSettled([..._].map(r=>u.loadComponent(r)))}var at=W("<!> <!>",1),rt=W('<img class="h-auto w-full max-w-64 rounded-lg" width="512" height="512"/>'),ot=W('<div class="flex aspect-square w-full max-w-64 items-center justify-center"><!></div>'),st=W('<div class="flex justify-center" data-testid="passkey-qr"><!></div>'),it=W('<div class="flex justify-center py-4 text-muted-foreground"><!></div>'),nt=W('<p class="type-caption text-muted-foreground" data-testid="passkey-pin-advice"> </p>'),lt=W('<form id="passkey-pin-form" class="flex flex-col gap-3"><!> <!></form>');function Pe(y,_){if(new.target)return Te({component:Pe,...y});we(_,!0);let r=ie(_,"payload",7),k=ie(_,"static",7,!1),l=ie(_,"onRespond",7),f=K(!1),A=K(""),U=K("");const a=b(()=>r()?.view??null);Q(()=>{v(f,r()!==null)}),Q(()=>{t(a)?.step!=="pin"&&v(A,"")});let z=K(0),Y=K(ze(Date.now()));Q(()=>{const i=t(a)?.step==="pin"&&t(a).kind==="device"?t(a).retryAfterMs:void 0;if(typeof i!="number"){v(z,0);return}const T=Date.now();v(Y,T,!0),v(z,T+i);const w=setInterval(()=>{v(Y,Date.now(),!0),t(Y)>=t(z)&&clearInterval(w)},250);return()=>clearInterval(w)});const ee=b(()=>Math.max(0,Math.ceil((t(z)-t(Y))/1e3))),_e=b(()=>t(a)?.step==="pin"&&(t(a).kind==="device"?t(ee)>0:typeof t(a).retryAfterMs=="number"));Q(()=>{const i=t(a)?.step==="qr"?t(a).data:"";if(!i){v(U,"");return}let T=!0;return c(async()=>{const{default:w}=await import("./BZ9svoQk.js").then(C=>C.b);return{default:w}},__vite__mapDeps([278,59]),import.meta.url).then(({default:w})=>w.toDataURL(i,{width:512,margin:2})).then(w=>{T&&v(U,w,!0)}),()=>{T=!1}});const Ee=b(()=>r()?r().kind==="create"?e.passkeys_dialog_createTitle_label({site:r().rpId}):e.passkeys_dialog_getTitle_label({site:r().rpId}):"");function De(i){switch(i){case"bluetooth-off":return e.passkeys_dialog_bluetoothOff_error();case"bluetooth-missing":return e.passkeys_dialog_bluetoothMissing_error();case"pin-locked":return e.passkeys_dialog_pinLocked_error();case"timeout":return e.passkeys_dialog_timeout_error();case"already-registered":return e.passkeys_dialog_alreadyRegistered_error();case"unavailable":return e.passkeys_dialog_unavailable_error();case"device-locked":return e.passkeys_dialog_deviceLocked_error();case"device-already-registered":return e.passkeys_dialog_deviceAlreadyRegistered_error();case"device-no-passkey":return e.passkeys_dialog_deviceNoPasskey_error({site:r()?.rpId??""});case"device-old-pin-wrong":return e.passkeys_dialog_deviceOldPinWrong_error();case"device-failed":return e.passkeys_dialog_deviceFailed_error();default:return e.passkeys_dialog_failed_error()}}const Ae=b(()=>{if(!(!t(a)||!r()))switch(t(a).step){case"choose-transport":return r().kind==="create"?e.passkeys_dialog_chooseCreate_description():e.passkeys_dialog_chooseGet_description();case"qr":case"progress":switch(t(a).progress){case"waiting-for-phone":return e.passkeys_dialog_waitingForPhone_description();case"connecting":return e.passkeys_dialog_connecting_description();case"waiting-for-approval":return e.passkeys_dialog_waitingForApproval_description();case"touch-key":return e.passkeys_dialog_touchKey_description();case"processing":return e.passkeys_dialog_processing_description();default:return t(a).step==="progress"&&t(a).transport==="usb"?e.passkeys_dialog_insertKey_description():e.passkeys_dialog_starting_description()}case"pin":return t(a).kind==="usb"?e.passkeys_dialog_pin_description():t(a).oldPin?e.passkeys_dialog_deviceOldPin_description():e.passkeys_dialog_devicePin_description();case"choose-account":return e.passkeys_dialog_chooseAccount_description();case"error":return De(t(a).reason)}}),de=b(()=>t(a)?.step==="pin"&&t(a).kind==="device"?t(a).oldPin?e.passkeys_dialog_deviceOldPin_label():e.passkeys_dialog_devicePin_label():e.passkeys_dialog_pin_label()),Ce=b(()=>{if(t(a)?.step==="pin"){if(t(a).kind==="device"){if(t(ee)>0)return e.passkeys_dialog_devicePinWait_error({seconds:t(ee)})}else if(typeof t(a).retryAfterMs=="number")return e.passkeys_dialog_pinRetryAfter_error();if(t(a).wrongPin)return typeof t(a).attemptsLeft=="number"?t(a).attemptsLeft===1?e.passkeys_dialog_wrongPinAttempts_one({count:t(a).attemptsLeft}):e.passkeys_dialog_wrongPinAttempts_many({count:t(a).attemptsLeft}):e.passkeys_dialog_wrongPin_error()}}),Oe=b(()=>{if(t(a)?.step!=="choose-transport")return[];const i=t(a).hybrid==="bluetooth-off"?e.passkeys_dialog_bluetoothOff_description():t(a).hybrid==="bluetooth-missing"?e.passkeys_dialog_bluetoothMissing_description():void 0;return[...t(a).device?[{id:"device",label:e.passkeys_dialog_thisDevice_label(),note:void 0,icon:qe}]:[],{id:"hybrid",label:e.passkeys_dialog_phone_label(),note:i,icon:Fe},{id:"usb",label:e.passkeys_dialog_securityKey_label(),note:void 0,icon:je}]});function te(){l()({action:"cancel"})}function Re(i){if(i.preventDefault(),!t(A))return;const T=t(A);v(A,""),l()({action:"pin",pin:T})}var xe={get payload(){return r()},set payload(i){r(i),ne()},get static(){return k()},set static(i=!1){k(i),ne()},get onRespond(){return l()},set onRespond(i){l(i),ne()},$set:he,$on:(i,T)=>ke(_,i,T)},pe=q(),We=M(pe);{var Se=i=>{{const T=C=>{var ae=q(),J=M(ae);{var re=P=>{le(P,{variant:"secondary",onclick:te,children:(S,B)=>{F();var V=x();I(d=>E(V,d),[()=>e.passkeys_dialog_close_label()]),p(S,V)},$$slots:{default:!0}})},oe=P=>{var S=at(),B=M(S);le(B,{variant:"ghost",onclick:te,children:(n,m)=>{F();var s=x();I(L=>E(s,L),[()=>e.passkeys_dialog_cancel_label()]),p(n,s)},$$slots:{default:!0}});var V=ye(B,2);{var d=n=>{{let m=b(()=>!t(A)||t(_e));le(n,{variant:"primary",type:"submit",form:"passkey-pin-form",get disabled(){return t(m)},children:(s,L)=>{F();var o=x();I(g=>E(o,g),[()=>e.passkeys_dialog_continue_label()]),p(s,o)},$$slots:{default:!0}})}};D(V,n=>{t(a).step==="pin"&&n(d)})}p(P,S)};D(J,P=>{t(a).step==="error"?P(re):P(oe,-1)})}p(C,ae)};let w=b(()=>t(a).step==="error"?e.passkeys_dialog_close_label():e.passkeys_dialog_cancel_label());Xe(i,{get static(){return k()},get title(){return t(Ee)},get description(){return t(Ae)},size:"sm",dismissOnInteractOutside:!1,get closeLabel(){return t(w)},onClose:te,get open(){return t(f)},set open(C){v(f,C,!0)},footer:T,children:(C,ae)=>{var J=q(),re=M(J);{var oe=d=>{{const n=(s,L)=>{let o=()=>(L?.()).item;me(s,{leading:h=>{Ue(h,{get icon(){return o().icon},fw:!0})},title:h=>{F();var R=x();I(()=>E(R,o().label)),p(h,R)},description:h=>{var R=q(),se=M(R);{var G=$=>{var ce=x();I(()=>E(ce,o().note)),p($,ce)};D(se,$=>{o().note&&$(G)})}p(h,R)},$$slots:{leading:!0,title:!0,description:!0}})};let m=b(()=>e.passkeys_dialog_transports_ariaLabel());be(d,{get items(){return t(Oe)},getKey:s=>s.id,getText:s=>s.label,get ariaLabel(){return t(m)},onActivate:s=>l()({action:"transport",transport:s.id}),row:n,$$slots:{row:!0}})}},P=d=>{var n=st(),m=X(n);{var s=o=>{var g=rt();I(O=>{fe(g,"src",t(U)),fe(g,"alt",O)},[()=>e.passkeys_dialog_qrImage_ariaLabel()]),p(o,g)},L=o=>{var g=ot(),O=X(g);ve(O,{size:20}),Z(g),p(o,g)};D(m,o=>{t(U)?o(s):o(L,-1)})}Z(n),p(d,n)},S=d=>{var n=it(),m=X(n);ve(m,{size:20}),Z(n),p(d,n)},B=d=>{var n=lt(),m=X(n);{let o=b(()=>t(a).kind==="device"?"numeric":void 0);Ze(m,{type:"password",get inputmode(){return t(o)},autocomplete:"off",get"aria-label"(){return t(de)},get placeholder(){return t(de)},get error(){return t(Ce)},get disabled(){return t(_e)},autofocus:!0,get value(){return t(A)},set value(g){v(A,g,!0)}})}var s=ye(m,2);{var L=o=>{var g=nt(),O=Je(g,!0);I(N=>E(O,N),[()=>e.passkeys_dialog_devicePinAdvice_description()]),p(o,g)};D(s,o=>{t(a).firstPasskey&&o(L)})}Z(n),Ye("submit",n,Re),p(d,n)},V=d=>{{const n=(s,L)=>{let o=()=>(L?.()).item;me(s,{title:N=>{F();var h=x();I(()=>E(h,o().userDisplayName||o().userName)),p(N,h)},description:N=>{var h=q(),R=M(h);{var se=G=>{var $=x();I(()=>E($,o().userName)),p(G,$)};D(R,G=>{o().userDisplayName&&o().userName&&G(se)})}p(N,h)},$$slots:{title:!0,description:!0}})};let m=b(()=>e.passkeys_dialog_accounts_ariaLabel());be(d,{get items(){return t(a).accounts},getKey:s=>s.index,getText:s=>s.userDisplayName||s.userName,get ariaLabel(){return t(m)},onActivate:s=>l()({action:"choose",index:s.index}),row:n,$$slots:{row:!0}})}};D(re,d=>{t(a).step==="choose-transport"?d(oe):t(a).step==="qr"?d(P,1):t(a).step==="progress"?d(S,2):t(a).step==="pin"?d(B,3):t(a).step==="choose-account"&&d(V,4)})}p(C,J)},$$slots:{footer:!0,default:!0}})}};D(We,i=>{r()&&t(a)&&i(Se)})}return p(y,pe),Le(xe)}const _t=new tt("PasskeyDialog"),j=et.PASSKEYS;function dt(y){const _=Ie();if(!_)return()=>{};const r=_.on(j.DIALOG_SHOW,l=>{const f=l;!f||typeof f.ceremonyId!="string"||!f.view||y.onShow(f)}),k=_.on(j.DIALOG_CLOSE,l=>{const f=l;f&&typeof f.ceremonyId=="string"&&y.onClose(f.ceremonyId)});return()=>{_.offById(j.DIALOG_SHOW,r),_.offById(j.DIALOG_CLOSE,k)}}function pt(y){const _=Ie();_&&_.invoke(j.DIALOG_RESPOND,y).catch(()=>{_t.warn("Passkey dialog response failed",{action:y.action})})}function ct(y,_){if(new.target)return Te({component:ct,...y});we(_,!0);let r=K(null);Qe(()=>dt({onShow:l=>{v(r,l,!0)},onClose:l=>{t(r)?.ceremonyId===l&&v(r,null)}}));var k={$set:he,$on:(l,f)=>ke(_,l,f)};return Pe(y,{get payload(){return t(r)},onRespond:l=>{t(r)&&pt({...l,ceremonyId:t(r).ceremonyId})}}),Le(k)}export{ct as P,Wt as p,xt as r};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/Dgvdn_ax.js","/app/immutable/chunks/Fcr7AvC-.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/chunks/BhYXv0ZM.js","/app/immutable/chunks/Cc0763mU.js","/app/immutable/chunks/Bwa2n5jC.js","/app/immutable/chunks/CA6H1-bp.js","/app/immutable/chunks/CWfjuhY2.js","/app/immutable/chunks/BRCr02in.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/2z64ELW5.js","/app/immutable/chunks/DkQdSPDN.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/Beq_QLuz.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/BAtAwQ72.js","/app/immutable/chunks/TdGvVwuC.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/C7b3vXLD.js","/app/immutable/chunks/DRMe5Ypb.js","/app/immutable/chunks/D0qhIm1r.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/BS1zON0P.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/ChHRVjww.js","/app/immutable/chunks/CxR-pcVt.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.DylRFR3N.css","/app/immutable/chunks/D7KhILhs.js","/app/immutable/chunks/DfINI0LK.js","/app/immutable/chunks/C3KgmGxd.js","/app/immutable/chunks/x4bPxhVW.js","/app/immutable/chunks/CWtyXmQ4.js","/app/immutable/chunks/Cz3WzTlQ.js","/app/immutable/assets/menu-footer.Ck5GCpgU.css","/app/immutable/chunks/O5ZlQHf9.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/chunks/BzXQ5SMs.js","/app/immutable/assets/confirm.UE5obH5A.css","/app/immutable/chunks/B8m3-qrW.js","/app/immutable/chunks/CpK0xLH4.js","/app/immutable/chunks/C2RnxEnO.js","/app/immutable/chunks/gNR_yDDX.js","/app/immutable/chunks/BjLb7AHW.js","/app/immutable/chunks/UWtWVoQE.js","/app/immutable/chunks/DAsc1V4f.js","/app/immutable/chunks/BsieX9dN.js","/app/immutable/chunks/iMqZaR5X.js","/app/immutable/assets/SettingsPage.CKvEnOAL.css","/app/immutable/chunks/Cp4SiU7R.js","/app/immutable/chunks/goTpbPhD.js","/app/immutable/chunks/CA5vNvRD.js","/app/immutable/chunks/B0SSzYpD.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/CZfU7DE3.js","/app/immutable/chunks/cD292w1o.js","/app/immutable/chunks/BwweojP5.js","/app/immutable/chunks/D-62MVd3.js","/app/immutable/chunks/Bh3yfjRP.js","/app/immutable/chunks/CL3a4Hm1.js","/app/immutable/chunks/DbB491_u.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/CC7to1B5.js","/app/immutable/chunks/DlnCrS3y.js","/app/immutable/chunks/BuM8LV7z.js","/app/immutable/chunks/_IjN0Lbt.js","/app/immutable/chunks/CH7HNVC2.js","/app/immutable/chunks/DejjV5ft.js","/app/immutable/chunks/CccfsETL.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/koUs6Gjt.js","/app/immutable/assets/slider.kL-wkHnx.css","/app/immutable/chunks/CVx5OKWy.js","/app/immutable/chunks/DIME5LWK.js","/app/immutable/chunks/dvKmN4h6.js","/app/immutable/chunks/CQcEqK4G.js","/app/immutable/chunks/f5b-J-bi.js","/app/immutable/chunks/Ch9YoFhc.js","/app/immutable/chunks/Y8hdNZSZ.js","/app/immutable/chunks/BQ5x_RaT.js","/app/immutable/chunks/lK1e5NlM.js","/app/immutable/assets/DockScreenshotEditorWindow.DNkBhnHK.css","/app/immutable/assets/dock-tokens.C3wiNkmL.css","/app/immutable/chunks/D-j7vD5Z.js","/app/immutable/chunks/PejVYY2W.js","/app/immutable/chunks/CTkkv_Ih.js","/app/immutable/chunks/BJIUXUAo.js","/app/immutable/assets/select-viewport.CV-KWLNP.css","/app/immutable/chunks/COmspkQo.js","/app/immutable/chunks/DWjpzYNk.js","/app/immutable/chunks/B2-ooCTr.js","/app/immutable/chunks/Dbqo6rfT.js","/app/immutable/chunks/BzW_moTi.js","/app/immutable/chunks/MFTfhUYi.js","/app/immutable/chunks/Xr-aTNRN.js","/app/immutable/chunks/Tgw7Kdvt.js","/app/immutable/chunks/DcrCEeFN.js","/app/immutable/chunks/BnnKw3Va.js","/app/immutable/chunks/OuI4JmWC.js","/app/immutable/chunks/DY9w61PC.js","/app/immutable/chunks/DotCIVLI.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/CDcxODgf.js","/app/immutable/chunks/ZmAQurQV.js","/app/immutable/chunks/BKGQPtRi.js","/app/immutable/assets/checkbox.D429NJZk.css","/app/immutable/assets/directory-picker-service.uzk1xoHg.css","/app/immutable/chunks/ZIePA90q.js","/app/immutable/chunks/D_jEt7ej.js","/app/immutable/chunks/DEsM7h8K.js","/app/immutable/chunks/CLX81MHV.js","/app/immutable/chunks/DON9zoQ1.js","/app/immutable/assets/AgentAvatar.CZKKHyEm.css","/app/immutable/assets/avatar-state.BzFIexJN.css","/app/immutable/chunks/DJZIHUd7.js","/app/immutable/assets/TipTapEditor.BmeA7Qtk.css","/app/immutable/chunks/jphlY6bT.js","/app/immutable/chunks/BusD2v6a.js","/app/immutable/chunks/BpFxCD0b.js","/app/immutable/assets/image-context-items.D_hsaikk.css","/app/immutable/chunks/DUcJILSg.js","/app/immutable/chunks/9ryMZ44V.js","/app/immutable/assets/AttachmentPreview.DWUPhcKi.css","/app/immutable/chunks/DuFY1gwd.js","/app/immutable/chunks/C7MFACZg.js","/app/immutable/chunks/vq6mxGLA.js","/app/immutable/chunks/Bu13V5mO.js","/app/immutable/chunks/D179JMBI.js","/app/immutable/chunks/CzK_7_Jd.js","/app/immutable/chunks/CPav-V5t.js","/app/immutable/chunks/C8PR5GO9.js","/app/immutable/chunks/BKD7o1lQ.js","/app/immutable/assets/TaskStatusIcon.sfU2TZ7a.css","/app/immutable/chunks/DTNrtzyx.js","/app/immutable/chunks/2OP7IVCM.js","/app/immutable/chunks/BDQvAsU6.js","/app/immutable/assets/AgentCard.Cna0hri3.css","/app/immutable/chunks/DNup87JQ.js","/app/immutable/chunks/DEB8jcix.js","/app/immutable/chunks/lwn02icp.js","/app/immutable/chunks/BdWMbiFk.js","/app/immutable/assets/TrackedChangeDiffViewer.CveSjyPc.css","/app/immutable/chunks/D6H34kDj.js","/app/immutable/chunks/C1SGWBXH.js","/app/immutable/chunks/CcNhqKh5.js","/app/immutable/assets/syntax-highlighting.CrQGLq0X.css","/app/immutable/assets/CodeBlock.BezhEtUo.css","/app/immutable/chunks/DFNKkiho.js","/app/immutable/chunks/BbIcudMY.js","/app/immutable/chunks/DhXSKt_a.js","/app/immutable/assets/DiagramPresentation.C2GLYoBN.css","/app/immutable/chunks/BGSmaq6H.js","/app/immutable/chunks/CcBmcC9f.js","/app/immutable/chunks/DgAgTFcK.js","/app/immutable/chunks/C-BsEdGZ.js","/app/immutable/chunks/Cdw7QKyr.js","/app/immutable/assets/MarkdownViewer.D2MexjjT.css","/app/immutable/chunks/QKQvZF-2.js","/app/immutable/chunks/CCAtqaSn.js","/app/immutable/chunks/KRACSBb9.js","/app/immutable/chunks/CGJ5yTzR.js","/app/immutable/assets/workspace-key-menu.DrT-Fxqq.css","/app/immutable/chunks/A0p6PvBn.js","/app/immutable/chunks/YqTahsxp.js","/app/immutable/chunks/DMOXpjfz.js","/app/immutable/chunks/C8OXQeb2.js","/app/immutable/chunks/DDDvNwR-.js","/app/immutable/assets/StreamingDiagramRenderer.BShsSvPz.css","/app/immutable/assets/chat-search.Cjb73igJ.css","/app/immutable/chunks/DdU2snxg.js","/app/immutable/chunks/BmqZzhgO.js","/app/immutable/chunks/BonA_mfc.js","/app/immutable/chunks/ByvcSsIj.js","/app/immutable/chunks/D4WPlvMg.js","/app/immutable/chunks/i2Q0D3-m.js","/app/immutable/chunks/CUiYYsIq.js","/app/immutable/chunks/OqslD7bF.js","/app/immutable/chunks/B0oQ37UY.js","/app/immutable/chunks/C6Af0QaF.js","/app/immutable/assets/AgentAvatarStack.DOhClFuX.css","/app/immutable/chunks/T6UBEOFc.js","/app/immutable/assets/conversation-turns.P_pkAsRX.css","/app/immutable/chunks/ghzRmqKs.js","/app/immutable/chunks/D9gMMVdB.js","/app/immutable/chunks/iViWtmHm.js","/app/immutable/chunks/gKdztwD8.js","/app/immutable/chunks/DHMxSQaO.js","/app/immutable/chunks/CeHL-3WK.js","/app/immutable/chunks/a3O-Ns1M.js","/app/immutable/chunks/Ce-va2I0.js","/app/immutable/chunks/H2jLkRRS.js","/app/immutable/chunks/Dk9lUzSs.js","/app/immutable/assets/WorkspaceSetupCard.DNLkSKZg.css","/app/immutable/chunks/52kdRKiP.js","/app/immutable/chunks/DL6gGkHp.js","/app/immutable/assets/DockRecordingEditor.BX1NXczK.css","/app/immutable/chunks/CXygwMkb.js","/app/immutable/chunks/BVhnyyZ7.js","/app/immutable/chunks/C9iwh4F-.js","/app/immutable/assets/ChatPanel.B73KM22O.css","/app/immutable/assets/HomeWorkspaceDetail.Dp5EWw2P.css","/app/immutable/chunks/D_R1vNH8.js","/app/immutable/chunks/iNacp7Sr.js","/app/immutable/chunks/CQ409-Pj.js","/app/immutable/chunks/u_H5ILVa.js","/app/immutable/chunks/CXXVPWBH.js","/app/immutable/chunks/DWGXN6Nr.js","/app/immutable/chunks/50HYkjWD.js","/app/immutable/chunks/s_T1Uukt.js","/app/immutable/chunks/DdYVblGk.js","/app/immutable/assets/BrowserTabType.DojB6H-_.css","/app/immutable/chunks/BSMi55yC.js","/app/immutable/chunks/H8hIaDaV.js","/app/immutable/chunks/D3yXvqwY.js","/app/immutable/chunks/DP31pjuo.js","/app/immutable/chunks/Bw-Zu1Zf.js","/app/immutable/chunks/BYfDvU8j.js","/app/immutable/chunks/D8cNe_33.js","/app/immutable/chunks/BFO-Le8U.js","/app/immutable/assets/register.CUyDR59i.css","/app/immutable/assets/terminal-manager.MhP_vFvK.css","/app/immutable/chunks/CtzbB_EQ.js","/app/immutable/assets/confirm-script-deletion.CqNa5NIC.css","/app/immutable/chunks/D5ocbEo-.js","/app/immutable/assets/Terminal.Ddek5eNE.css","/app/immutable/chunks/DL__HI6l.js","/app/immutable/chunks/C13CRqsS.js","/app/immutable/chunks/BPFSAjsd.js","/app/immutable/chunks/ZfkZCfTr.js","/app/immutable/chunks/BB5TUToP.js","/app/immutable/chunks/Bvwrya09.js","/app/immutable/chunks/DaTkisKB.js","/app/immutable/chunks/CSiaiLHL.js","/app/immutable/chunks/DepS1LOg.js","/app/immutable/chunks/B_QPRXJ5.js","/app/immutable/chunks/WWDClKTE.js","/app/immutable/chunks/BIv0yV05.js","/app/immutable/chunks/BO4HougN.js","/app/immutable/chunks/B9NjB9vD.js","/app/immutable/assets/AgentOverviewTabType.DU1WpoFR.css","/app/immutable/chunks/DaTwSOqs.js","/app/immutable/chunks/BlVpCoL1.js","/app/immutable/chunks/CdtwTpzR.js","/app/immutable/chunks/BdlwjSpf.js","/app/immutable/chunks/U5o8u-di.js","/app/immutable/assets/DiscussionTabType.D3Laoutn.css","/app/immutable/chunks/BE3g5vcj.js","/app/immutable/chunks/CRm25OCR.js","/app/immutable/chunks/Rq6GuI3F.js","/app/immutable/assets/CodeEditor.Bq04Rj-N.css","/app/immutable/chunks/DjAFd7Fr.js","/app/immutable/assets/LineChangesBadge.CJ0J_Z0k.css","/app/immutable/chunks/ByaJIEgQ.js","/app/immutable/assets/NoteTabType.AG_iwaNn.css","/app/immutable/chunks/DA3tGWzX.js","/app/immutable/chunks/wEnqV1Ol.js","/app/immutable/chunks/CDtaIFAl.js","/app/immutable/chunks/f0WUpIfB.js","/app/immutable/assets/FileTabType.BUKcoHE1.css","/app/immutable/chunks/KvfW-q1N.js","/app/immutable/chunks/BTE0066U.js","/app/immutable/chunks/B6wkNYPs.js","/app/immutable/chunks/BVBh582U.js","/app/immutable/assets/ChatChangesPanel.BQqG1JnE.css","/app/immutable/chunks/Dhs7RSq9.js","/app/immutable/chunks/gXHlCg5O.js","/app/immutable/chunks/CewZlXwy.js","/app/immutable/chunks/B6Qz5J1y.js","/app/immutable/chunks/W7uazUja.js","/app/immutable/chunks/YsAO4v_N.js","/app/immutable/chunks/BZ9svoQk.js"])))=>i.map(i=>d[i]);
2
+ import{bm as e,_ as c,t as Te,bo as ie,bw as he,b as ke}from"./Fcr7AvC-.js";import{t as u}from"./BCw-LKCu.js";import{bD as ue,bv as Ve,cK as Ne,aO as $e,cn as Me,aV as ge,bg as Ke,aN as Be,aM as Ge,bs as He,bL as qe,b_ as Fe,bJ as je,F as Ue}from"./ChHRVjww.js";import{R as H}from"./CCSQmeuF.js";import{bs as we,ca as Q,bH as v,aD as t,bV as K,br as ze,a7 as q,ay as M,W as p,bn as Le,c9 as b,aA as ne,a5 as X,bA as Z,bS as ye,aw as Ye,aB as W,be as F,b$ as x,b_ as I,bO as E,bl as Je,bk as Qe}from"./3SdAC2_C.js";import{i as D}from"./BhYXv0ZM.js";import{s as fe}from"./BRCr02in.js";import{L as me}from"./BpFxCD0b.js";import{C as Xe,L as be}from"./D7KhILhs.js";import{I as Ze}from"./C3KgmGxd.js";import"./x4bPxhVW.js";import"./BzXQ5SMs.js";import{f as le}from"./Beq_QLuz.js";import{v as Ie}from"./BAtAwQ72.js";import"./O5ZlQHf9.js";import"./CWfjuhY2.js";import{I as ve}from"./CA6H1-bp.js";import{I as et}from"./Bqd7fdCF.js";import"./TdGvVwuC.js";import{a as tt}from"./BdWqymET.js";function xt(){u.register({type:"workspace",loadComponent:()=>c(()=>import("./Dgvdn_ax.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208]),import.meta.url),defaultWidthTier:"wide",icon:ue,get defaultTitle(){return e.workspace_page_workspaceResource_label()},get categoryLabel(){return e.workspace_page_workspaceResource_label()},renameable:!1}),u.register({type:"browser",loadComponent:()=>c(()=>import("./D_R1vNH8.js"),__vite__mapDeps([209,1,2,3,11,6,7,8,9,10,15,210,22,23,24,25,26,18,13,4,70,14,16,17,19,12,20,21,27,28,29,30,31,32,45,33,34,35,36,37,38,39,40,41,42,43,44,46,58,71,63,62,64,67,60,59,72,73,74,75,76,77,180,91,57,61,181,211,122,212,124,52,135,85,213,98,99,214,106,107,108,109,110,215,216,101,217,218]),import.meta.url),defaultWidthTier:"wide",icon:Ve,get defaultTitle(){return e.layout_tabTypes_browser_title()},get categoryLabel(){return e.layout_tabTypes_browser_category()},sidebarTabId:"browser",renameable:!1}),u.register({type:"terminal",loadComponent:()=>c(()=>import("./BSMi55yC.js"),__vite__mapDeps([219,1,2,3,4,11,28,7,8,9,10,6,63,18,22,23,24,25,26,13,62,16,17,19,64,20,220,15,221,222,59,60,57,58,61,223,224,225,226,227,109,211,190,228,14,12,21,27,29,30,31,32,212,229,71,67,72,73,74,75,76,77,36,42,43,40,41,216,230,38,35,39,135,33,34,37,44,45,46,214,231,148,232,233,101,217]),import.meta.url),defaultWidthTier:"medium",icon:Ne,get defaultTitle(){return e.layout_tabTypes_terminal_title()},get categoryLabel(){return e.layout_tabTypes_terminal_category()},sidebarTabId:"terminals",renameable:!1}),u.register({type:"code-review",loadComponent:()=>c(()=>import("./C13CRqsS.js"),__vite__mapDeps([234,1,2,22,23,24,25,9,7,26,18,13,3,29,6,8,10,63,62,28,11,16,17,19,64,20,215,73,75,91,71,67,60,59,72,74,58,76,77,57,61,216,180,12,14,15,4,21,27,30,31,32,181,101,235,236,177,83,86,178,179,129,131,132,141,229,166,237,217,238,36,42,43,40,41,110,109,171,205,190,212,142,134,70,239,240,241,242,243,198,150,106,107,108,244,245,223,224,225,226,227,139,152,153,35,163,81,68,69,33,34,37,38,39,44,45,46,78,79,80,50,51,116,164,124,52]),import.meta.url),defaultWidthTier:"wide",icon:$e,get defaultTitle(){return e.layout_tabTypes_codeReview_title()},get categoryLabel(){return e.layout_tabTypes_codeReview_category()},renameable:!1}),u.register({type:"agent-overview",loadComponent:()=>c(()=>import("./B9NjB9vD.js"),__vite__mapDeps([246,1,2,3,6,7,8,9,10,15,14,16,13,17,18,19,11,4,118,119,120,72,22,23,24,25,26,73,62,74,63,28,64,20,75,58,121,12,21,27,29,30,31,32,157,80,51,177,83,86,67,60,59,178,179,129,91,71,76,77,57,61,131,132,141,106,107,108,109,110,247]),import.meta.url),defaultWidthTier:"narrow",icon:Me,get defaultTitle(){return e.layout_tabTypes_agentOverview_title()},get categoryLabel(){return e.layout_tabTypes_agents_category()},renameable:!1}),u.register({type:"agent",loadComponent:()=>c(()=>import("./DaTwSOqs.js"),__vite__mapDeps([248,1,2,3,4,6,7,8,9,10,11,15,71,22,23,24,25,26,18,13,63,62,28,16,17,19,64,20,67,60,59,72,73,74,75,58,76,77,249,14,250,237,12,21,27,29,30,31,32,236,101,57,61,132,204,44,45,214,239,131,91,240,102,35,36,47,48,49,42,43,50,51,52,53,103,38,39,104,85,34,37,40,41,70,81,105,94,95,46,80,33,106,107,108,109,110,111,112,113,114,193,54,55,56,65,66,68,69,78,79,82,83,84,86,87,88,89,90,92,93,96,97,98,99,100,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,194,195,196,197,198,199,200,201,202,203,205,206,207,216,215]),import.meta.url),defaultWidthTier:"chat",icon:ge,get defaultTitle(){return e.layout_tabTypes_agent_title()},get categoryLabel(){return e.layout_tabTypes_agents_category()},sidebarTabId:"agents",renameable:!0}),u.register({type:"discussion",loadComponent:()=>c(()=>import("./BdlwjSpf.js"),__vite__mapDeps([251,1,2,3,4,11,8,9,7,10,16,13,17,18,19,38,6,29,35,15,36,14,39,33,34,37,27,40,41,28,42,31,43,44,45,46,21,22,23,24,25,26,216,12,20,30,32,63,62,64,71,67,60,59,72,73,74,75,58,76,77,91,57,61,193,87,88,65,111,119,120,124,52,160,81,163,139,68,69,70,78,79,80,50,51,116,164,98,99,48,235,215,180,181,101,236,177,83,86,178,179,129,131,132,141,229,166,237,217,238,110,109,171,205,190,212,142,134,239,240,241,242,243,198,150,106,107,108,244,245,223,224,225,226,227,128,130,252,97,93,94,49,95,96,117,214,253]),import.meta.url),defaultWidthTier:"chat",icon:ge,get defaultTitle(){return e.workspace_discussion_title()},get categoryLabel(){return e.workspace_discussion_list_label()},sidebarTabId:"people",renameable:!1}),u.register({type:"note",loadComponent:()=>c(()=>import("./BE3g5vcj.js"),__vite__mapDeps([254,1,2,3,11,63,18,9,22,23,24,25,7,26,13,62,28,8,10,6,16,17,19,64,20,214,180,91,71,67,60,59,72,73,74,75,58,76,77,57,61,12,14,15,4,21,27,29,30,31,32,181,35,36,80,87,88,50,51,33,34,37,38,39,40,41,42,43,44,45,46,116,119,120,137,138,139,140,115,70,52,68,69,78,79,81,66,117,111,118,121,122,99,123,235,215,216,101,236,177,83,86,178,179,129,131,132,141,229,166,237,217,238,110,109,171,205,190,212,142,134,239,240,241,242,243,198,150,106,107,108,244,245,223,224,225,226,227,145,55,146,147,148,149,255,256,257,105,94,49,95,162,194,258,259,152,153,112,48,113,260,155,156,157,158,151,154,161,183,191,135,196,197,173,163,164,261]),import.meta.url),defaultWidthTier:"medium",icon:H.note,get defaultTitle(){return e.layout_tabTypes_note_title()},get categoryLabel(){return e.layout_tabTypes_context_category()},sidebarTabId:"notes",renameable:!0}),u.register({type:"file",loadComponent:()=>c(()=>import("./DA3tGWzX.js"),__vite__mapDeps([262,1,2,3,4,6,7,8,9,10,11,15,22,23,24,25,26,18,13,214,150,63,62,28,16,17,19,64,20,263,67,60,59,198,74,12,14,21,27,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,235,61,57,58,91,71,72,73,75,76,77,215,216,180,181,101,236,177,83,86,178,179,129,131,132,141,229,166,237,217,238,110,109,171,205,190,212,142,134,70,239,240,241,242,243,106,107,108,244,245,223,224,225,226,227,255,256,116,257,163,139,81,68,69,78,79,80,50,51,164,135,264,122,265,233,266]),import.meta.url),defaultWidthTier:"wide",icon:Ke,get defaultTitle(){return e.layout_tabTypes_file_title()},get categoryLabel(){return e.layout_tabTypes_files_category()},sidebarTabId:"files",renameable:!0}),u.register({type:"diff",loadComponent:()=>c(()=>import("./KvfW-q1N.js"),__vite__mapDeps([267,1,2,3,4,11,162,22,23,24,25,9,7,26,18,13,214,63,62,28,8,10,6,16,17,19,64,20,145,55,15,131,59,91,71,67,60,72,73,74,75,58,76,77,57,61,21,132,146,147,14,148,35,29,36,149,268,150,33,34,37,27,38,39,40,41,42,31,43,44,45,46,116,135,264,196,197,173,12,30,32,198,120]),import.meta.url),defaultWidthTier:"wide",icon:Be,get defaultTitle(){return e.layout_tabTypes_diff_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"files",renameable:!1}),u.register({type:"changes",loadComponent:()=>c(()=>import("./B6wkNYPs.js"),__vite__mapDeps([269,1,2,4,15,22,23,24,25,9,7,26,18,13,162,214,63,62,28,11,3,8,10,6,16,17,19,64,20,215,73,75,91,71,67,60,59,72,74,58,76,77,57,61,216,180,12,14,21,27,29,30,31,32,181,101,270,159,258,259,145,55,131,132,146,147,148,35,36,149,268,150,33,34,37,38,39,40,41,42,43,44,45,46,116,119,120,112,48,49,113,133,134,70,125,142,177,83,86,178,179,129,141,235,236,229,166,237,217,238,110,109,171,205,190,212,239,240,241,242,243,198,106,107,108,244,245,223,224,225,226,227,271,264]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_changes_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"changes",renameable:!1}),u.register({type:"local-changes",loadComponent:()=>c(()=>import("./Dhs7RSq9.js"),__vite__mapDeps([272,1,2,15,22,23,24,25,9,7,26,18,13,162,214,63,62,28,11,3,8,10,6,16,17,19,64,20,270,29,159,258,259,91,71,67,60,59,72,73,74,75,58,76,77,57,61,145,55,131,21,132,146,147,14,4,148,35,36,149,268,150,33,34,37,27,38,39,40,41,42,31,43,44,45,46,116,119,120,112,30,48,49,113,12,32,133,134,70,125,142,180,181,215,216,101,177,83,86,178,179,129,141,235,236,229,166,237,217,238,110,109,171,205,190,212,239,240,241,242,243,198,106,107,108,244,245,223,224,225,226,227,271,264]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_localChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"changes",renameable:!1}),u.register({type:"chat-changes",loadComponent:()=>c(()=>import("./gXHlCg5O.js"),__vite__mapDeps([273,1,2,3,270,6,7,8,9,10,29,15,22,23,24,25,26,18,13,159,63,62,28,11,16,17,19,64,20,258,259,91,71,67,60,59,72,73,74,75,58,76,77,57,61,145,55,131,21,132,146,147,14,4,148,35,36,149,268,150,33,34,37,27,38,39,40,41,42,31,43,44,45,46,116,119,120,112,30,48,49,113,12,32,133,134,70,125,142,180,181,215,216,101,177,83,86,178,179,129,141,235,236,229,166,237,217,238,110,109,171,205,190,212,239,240,241,242,243,198,106,107,108,244,245,223,224,225,226,227,271]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_chatChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},renameable:!1}),u.register({type:"activity-changes",loadComponent:()=>c(()=>import("./CewZlXwy.js"),__vite__mapDeps([274,1,2,3,4,11,62,23,22,24,25,9,7,26,18,13,240,59,145,8,10,55,15,131,16,17,19,91,63,28,6,64,20,71,67,60,72,73,74,75,58,76,77,57,61,21,132,146,147,14,148,35,29,36,149,268,150,33,34,37,27,38,39,40,41,42,31,43,44,45,46,116,214,135,264,196,197,173,12,30,32,198,120]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_activityChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},renameable:!1}),u.register({type:"hook-script",loadComponent:()=>c(()=>import("./B6Qz5J1y.js"),__vite__mapDeps([275,1,2,3,151,6,7,8,9,10,139,152,59,153,12,13,14,15,16,17,18,19,11,4,20,21,22,23,24,25,26,27,28,29,30,31,32,154,166,63,62,64,73,74]),import.meta.url),defaultWidthTier:"medium",icon:Ge,get defaultTitle(){return e.chat_backgroundHooks_viewScript_label()},get categoryLabel(){return e.layout_tabTypes_panel_category()},renameable:!1}),u.register({type:"settings",loadComponent:()=>c(()=>import("./W7uazUja.js"),__vite__mapDeps([276,1,2]),import.meta.url),defaultWidthTier:"narrow",icon:He,get defaultTitle(){return e.layout_tabTypes_settings_title()},get categoryLabel(){return e.layout_tabTypes_settings_category()},renameable:!1}),u.register({type:"overview",loadComponent:()=>c(()=>import("./YsAO4v_N.js"),__vite__mapDeps([277,1,2]),import.meta.url),defaultWidthTier:"narrow",icon:ue,get defaultTitle(){return e.layout_tabTypes_overview_title()},get categoryLabel(){return e.layout_tabTypes_overview_category()},renameable:!1})}async function Wt(y){if(y?.restoreStatus!=="restored")return;const _=new Set(Object.values(y.panels).flatMap(r=>{const k=r.tabs.find(l=>l.id===r.activeTabId);return k?[k.type]:[]}));await Promise.allSettled([..._].map(r=>u.loadComponent(r)))}var at=W("<!> <!>",1),rt=W('<img class="h-auto w-full max-w-64 rounded-lg" width="512" height="512"/>'),ot=W('<div class="flex aspect-square w-full max-w-64 items-center justify-center"><!></div>'),st=W('<div class="flex justify-center" data-testid="passkey-qr"><!></div>'),it=W('<div class="flex justify-center py-4 text-muted-foreground"><!></div>'),nt=W('<p class="type-caption text-muted-foreground" data-testid="passkey-pin-advice"> </p>'),lt=W('<form id="passkey-pin-form" class="flex flex-col gap-3"><!> <!></form>');function Pe(y,_){if(new.target)return Te({component:Pe,...y});we(_,!0);let r=ie(_,"payload",7),k=ie(_,"static",7,!1),l=ie(_,"onRespond",7),f=K(!1),A=K(""),U=K("");const a=b(()=>r()?.view??null);Q(()=>{v(f,r()!==null)}),Q(()=>{t(a)?.step!=="pin"&&v(A,"")});let z=K(0),Y=K(ze(Date.now()));Q(()=>{const i=t(a)?.step==="pin"&&t(a).kind==="device"?t(a).retryAfterMs:void 0;if(typeof i!="number"){v(z,0);return}const T=Date.now();v(Y,T,!0),v(z,T+i);const w=setInterval(()=>{v(Y,Date.now(),!0),t(Y)>=t(z)&&clearInterval(w)},250);return()=>clearInterval(w)});const ee=b(()=>Math.max(0,Math.ceil((t(z)-t(Y))/1e3))),_e=b(()=>t(a)?.step==="pin"&&(t(a).kind==="device"?t(ee)>0:typeof t(a).retryAfterMs=="number"));Q(()=>{const i=t(a)?.step==="qr"?t(a).data:"";if(!i){v(U,"");return}let T=!0;return c(async()=>{const{default:w}=await import("./BZ9svoQk.js").then(C=>C.b);return{default:w}},__vite__mapDeps([278,59]),import.meta.url).then(({default:w})=>w.toDataURL(i,{width:512,margin:2})).then(w=>{T&&v(U,w,!0)}),()=>{T=!1}});const Ee=b(()=>r()?r().kind==="create"?e.passkeys_dialog_createTitle_label({site:r().rpId}):e.passkeys_dialog_getTitle_label({site:r().rpId}):"");function De(i){switch(i){case"bluetooth-off":return e.passkeys_dialog_bluetoothOff_error();case"bluetooth-missing":return e.passkeys_dialog_bluetoothMissing_error();case"pin-locked":return e.passkeys_dialog_pinLocked_error();case"timeout":return e.passkeys_dialog_timeout_error();case"already-registered":return e.passkeys_dialog_alreadyRegistered_error();case"unavailable":return e.passkeys_dialog_unavailable_error();case"device-locked":return e.passkeys_dialog_deviceLocked_error();case"device-already-registered":return e.passkeys_dialog_deviceAlreadyRegistered_error();case"device-no-passkey":return e.passkeys_dialog_deviceNoPasskey_error({site:r()?.rpId??""});case"device-old-pin-wrong":return e.passkeys_dialog_deviceOldPinWrong_error();case"device-failed":return e.passkeys_dialog_deviceFailed_error();default:return e.passkeys_dialog_failed_error()}}const Ae=b(()=>{if(!(!t(a)||!r()))switch(t(a).step){case"choose-transport":return r().kind==="create"?e.passkeys_dialog_chooseCreate_description():e.passkeys_dialog_chooseGet_description();case"qr":case"progress":switch(t(a).progress){case"waiting-for-phone":return e.passkeys_dialog_waitingForPhone_description();case"connecting":return e.passkeys_dialog_connecting_description();case"waiting-for-approval":return e.passkeys_dialog_waitingForApproval_description();case"touch-key":return e.passkeys_dialog_touchKey_description();case"processing":return e.passkeys_dialog_processing_description();default:return t(a).step==="progress"&&t(a).transport==="usb"?e.passkeys_dialog_insertKey_description():e.passkeys_dialog_starting_description()}case"pin":return t(a).kind==="usb"?e.passkeys_dialog_pin_description():t(a).oldPin?e.passkeys_dialog_deviceOldPin_description():e.passkeys_dialog_devicePin_description();case"choose-account":return e.passkeys_dialog_chooseAccount_description();case"error":return De(t(a).reason)}}),de=b(()=>t(a)?.step==="pin"&&t(a).kind==="device"?t(a).oldPin?e.passkeys_dialog_deviceOldPin_label():e.passkeys_dialog_devicePin_label():e.passkeys_dialog_pin_label()),Ce=b(()=>{if(t(a)?.step==="pin"){if(t(a).kind==="device"){if(t(ee)>0)return e.passkeys_dialog_devicePinWait_error({seconds:t(ee)})}else if(typeof t(a).retryAfterMs=="number")return e.passkeys_dialog_pinRetryAfter_error();if(t(a).wrongPin)return typeof t(a).attemptsLeft=="number"?t(a).attemptsLeft===1?e.passkeys_dialog_wrongPinAttempts_one({count:t(a).attemptsLeft}):e.passkeys_dialog_wrongPinAttempts_many({count:t(a).attemptsLeft}):e.passkeys_dialog_wrongPin_error()}}),Oe=b(()=>{if(t(a)?.step!=="choose-transport")return[];const i=t(a).hybrid==="bluetooth-off"?e.passkeys_dialog_bluetoothOff_description():t(a).hybrid==="bluetooth-missing"?e.passkeys_dialog_bluetoothMissing_description():void 0;return[...t(a).device?[{id:"device",label:e.passkeys_dialog_thisDevice_label(),note:void 0,icon:qe}]:[],{id:"hybrid",label:e.passkeys_dialog_phone_label(),note:i,icon:Fe},{id:"usb",label:e.passkeys_dialog_securityKey_label(),note:void 0,icon:je}]});function te(){l()({action:"cancel"})}function Re(i){if(i.preventDefault(),!t(A))return;const T=t(A);v(A,""),l()({action:"pin",pin:T})}var xe={get payload(){return r()},set payload(i){r(i),ne()},get static(){return k()},set static(i=!1){k(i),ne()},get onRespond(){return l()},set onRespond(i){l(i),ne()},$set:he,$on:(i,T)=>ke(_,i,T)},pe=q(),We=M(pe);{var Se=i=>{{const T=C=>{var ae=q(),J=M(ae);{var re=P=>{le(P,{variant:"secondary",onclick:te,children:(S,B)=>{F();var V=x();I(d=>E(V,d),[()=>e.passkeys_dialog_close_label()]),p(S,V)},$$slots:{default:!0}})},oe=P=>{var S=at(),B=M(S);le(B,{variant:"ghost",onclick:te,children:(n,m)=>{F();var s=x();I(L=>E(s,L),[()=>e.passkeys_dialog_cancel_label()]),p(n,s)},$$slots:{default:!0}});var V=ye(B,2);{var d=n=>{{let m=b(()=>!t(A)||t(_e));le(n,{variant:"primary",type:"submit",form:"passkey-pin-form",get disabled(){return t(m)},children:(s,L)=>{F();var o=x();I(g=>E(o,g),[()=>e.passkeys_dialog_continue_label()]),p(s,o)},$$slots:{default:!0}})}};D(V,n=>{t(a).step==="pin"&&n(d)})}p(P,S)};D(J,P=>{t(a).step==="error"?P(re):P(oe,-1)})}p(C,ae)};let w=b(()=>t(a).step==="error"?e.passkeys_dialog_close_label():e.passkeys_dialog_cancel_label());Xe(i,{get static(){return k()},get title(){return t(Ee)},get description(){return t(Ae)},size:"sm",dismissOnInteractOutside:!1,get closeLabel(){return t(w)},onClose:te,get open(){return t(f)},set open(C){v(f,C,!0)},footer:T,children:(C,ae)=>{var J=q(),re=M(J);{var oe=d=>{{const n=(s,L)=>{let o=()=>(L?.()).item;me(s,{leading:h=>{Ue(h,{get icon(){return o().icon},fw:!0})},title:h=>{F();var R=x();I(()=>E(R,o().label)),p(h,R)},description:h=>{var R=q(),se=M(R);{var G=$=>{var ce=x();I(()=>E(ce,o().note)),p($,ce)};D(se,$=>{o().note&&$(G)})}p(h,R)},$$slots:{leading:!0,title:!0,description:!0}})};let m=b(()=>e.passkeys_dialog_transports_ariaLabel());be(d,{get items(){return t(Oe)},getKey:s=>s.id,getText:s=>s.label,get ariaLabel(){return t(m)},onActivate:s=>l()({action:"transport",transport:s.id}),row:n,$$slots:{row:!0}})}},P=d=>{var n=st(),m=X(n);{var s=o=>{var g=rt();I(O=>{fe(g,"src",t(U)),fe(g,"alt",O)},[()=>e.passkeys_dialog_qrImage_ariaLabel()]),p(o,g)},L=o=>{var g=ot(),O=X(g);ve(O,{size:20}),Z(g),p(o,g)};D(m,o=>{t(U)?o(s):o(L,-1)})}Z(n),p(d,n)},S=d=>{var n=it(),m=X(n);ve(m,{size:20}),Z(n),p(d,n)},B=d=>{var n=lt(),m=X(n);{let o=b(()=>t(a).kind==="device"?"numeric":void 0);Ze(m,{type:"password",get inputmode(){return t(o)},autocomplete:"off",get"aria-label"(){return t(de)},get placeholder(){return t(de)},get error(){return t(Ce)},get disabled(){return t(_e)},autofocus:!0,get value(){return t(A)},set value(g){v(A,g,!0)}})}var s=ye(m,2);{var L=o=>{var g=nt(),O=Je(g,!0);I(N=>E(O,N),[()=>e.passkeys_dialog_devicePinAdvice_description()]),p(o,g)};D(s,o=>{t(a).firstPasskey&&o(L)})}Z(n),Ye("submit",n,Re),p(d,n)},V=d=>{{const n=(s,L)=>{let o=()=>(L?.()).item;me(s,{title:N=>{F();var h=x();I(()=>E(h,o().userDisplayName||o().userName)),p(N,h)},description:N=>{var h=q(),R=M(h);{var se=G=>{var $=x();I(()=>E($,o().userName)),p(G,$)};D(R,G=>{o().userDisplayName&&o().userName&&G(se)})}p(N,h)},$$slots:{title:!0,description:!0}})};let m=b(()=>e.passkeys_dialog_accounts_ariaLabel());be(d,{get items(){return t(a).accounts},getKey:s=>s.index,getText:s=>s.userDisplayName||s.userName,get ariaLabel(){return t(m)},onActivate:s=>l()({action:"choose",index:s.index}),row:n,$$slots:{row:!0}})}};D(re,d=>{t(a).step==="choose-transport"?d(oe):t(a).step==="qr"?d(P,1):t(a).step==="progress"?d(S,2):t(a).step==="pin"?d(B,3):t(a).step==="choose-account"&&d(V,4)})}p(C,J)},$$slots:{footer:!0,default:!0}})}};D(We,i=>{r()&&t(a)&&i(Se)})}return p(y,pe),Le(xe)}const _t=new tt("PasskeyDialog"),j=et.PASSKEYS;function dt(y){const _=Ie();if(!_)return()=>{};const r=_.on(j.DIALOG_SHOW,l=>{const f=l;!f||typeof f.ceremonyId!="string"||!f.view||y.onShow(f)}),k=_.on(j.DIALOG_CLOSE,l=>{const f=l;f&&typeof f.ceremonyId=="string"&&y.onClose(f.ceremonyId)});return()=>{_.offById(j.DIALOG_SHOW,r),_.offById(j.DIALOG_CLOSE,k)}}function pt(y){const _=Ie();_&&_.invoke(j.DIALOG_RESPOND,y).catch(()=>{_t.warn("Passkey dialog response failed",{action:y.action})})}function ct(y,_){if(new.target)return Te({component:ct,...y});we(_,!0);let r=K(null);Qe(()=>dt({onShow:l=>{v(r,l,!0)},onClose:l=>{t(r)?.ceremonyId===l&&v(r,null)}}));var k={$set:he,$on:(l,f)=>ke(_,l,f)};return Pe(y,{get payload(){return t(r)},onRespond:l=>{t(r)&&pt({...l,ceremonyId:t(r).ceremonyId})}}),Le(k)}export{ct as P,Wt as p,xt as r};
@@ -1 +1 @@
1
- import{nX as P,o6 as g,JH as h,vt as d,vy as p,vv as y,h0 as v,gD as f,h2 as m,h1 as L,Ba as u,B9 as A,E0 as F,DC as S,DF as B,Bd as C,u3 as z,Cb as O,tY as x,u4 as D,u5 as M,gU as R,h3 as _,gG as j,gF as E,LG as G,LE as H,LF as V,Ln as U,nG as J,Jl as N,gW as W,u1 as q,LB as K,LD as X,C1 as Y,Ki as Q,BV as Z,dc as $,oG as ss,oI as es,oH as ts,oJ as as,ER as is,i8 as os,zG as rs,gg as T,ip as cs,ii as hs,r9 as ls}from"./CiKoEJ2m.js";import{bm as ns}from"./CtfEuoOH.js";import{u as ds,b as ps,n as us,j as b,l as bs,v as I,y as Is}from"./BkcCJyDK.js";function ws(i,s,e,t){const a=s?.activeTabId;if(!s||!a||!s.tabs.some(r=>r.id===a))return null;const o=t?P(t).map(g):i.map(r=>[r]),c=o.findIndex(r=>r.includes(s.id));if(c<0)return null;const n=o[c+(e==="next"?1:-1)]?.[0];return n?{kind:"neighbor",tabId:a,targetPanelId:n}:o.length>=4||s.tabs.length<2&&o[c].length<2?null:{kind:"edge",tabId:a,position:e==="next"?"after":"before"}}class k{constructor(s){this.workspaceId=s}get state(){return h.state}dispatch(s){h.dispatch(s)}getPanelIds(){return ds.select(this.state,this.workspaceId)}getAllTabs(){return ps.select(this.state,this.workspaceId)}getPanel(s){return us.select(this.state,this.workspaceId,s)??null}getOtherPanelId(){const s=this.getPanelIds();if(s.length<2)return null;const e=b.select(this.state,this.workspaceId);return s.find(t=>t!==e)??null}openTab(s,e){if(e){this.dispatch(d(this.workspaceId,s,e));return}this.dispatch(p(this.workspaceId,s))}openUserTab(s,e){const t=e??b.select(this.state,this.workspaceId)??void 0;if(t){this.dispatch(d(this.workspaceId,s,t,void 0,!0));return}this.dispatch(p(this.workspaceId,s,{force:!0}))}openTabInAdjacentOrSplit(s,e,t){this.dispatch(y(this.workspaceId,s,e,t))}openBrowserPanel(s,e,t,a){const o={type:"browser",title:ns.layout_tabTypes_browser_title(),browserUrl:s??"about:blank",...a===void 0?{}:{browserRequestedUrl:a},contextItemId:e,closable:!0};this.openTabInAdjacentOrSplit(o,t)}closeTab(s,e){this.dispatch(v(this.workspaceId,s,e))}closeActiveTab(s){this.dispatch(f(this.workspaceId,s))}closeTabsByType(s,e,t){this.dispatch(m(this.workspaceId,s,e,t))}closeTabsByAgentId(s){this.dispatch(L(this.workspaceId,s))}reopenClosedTab(s,e){this.dispatch(u(this.workspaceId,void 0,s,e))}reopenLastClosed(){const s=bs.select(this.state,this.workspaceId);s?.kind==="column"?this.dispatch(A(this.workspaceId)):s?.kind==="tab"&&this.dispatch(u(this.workspaceId))}setActiveTab(s,e){this.dispatch(F(this.workspaceId,s,e))}selectNextTab(s){this.dispatch(S(this.workspaceId,s))}selectPreviousTab(s){this.dispatch(B(this.workspaceId,s))}reorderTabs(s,e,t){this.dispatch(C(this.workspaceId,s,e,t))}moveTabToPanel(s,e,t,a){this.dispatch(z(this.workspaceId,s,e,t,a))}moveActivePaneToColumn(s,e){const t=ws(this.getPanelIds(),this.getPanel(s),e,I.select(this.state,this.workspaceId));return t?(t.kind==="neighbor"?this.moveTabToPanel(t.tabId,s,t.targetPanelId):this.moveTabToSplitLevel(t.tabId,s,[],t.position,"horizontal"),!0):!1}canMoveActivePaneVertically(s,e){return O(I.select(this.state,this.workspaceId),this.getPanel(s),e)!==null}moveActivePaneVertically(s,e){return this.canMoveActivePaneVertically(s,e)?(this.dispatch(x(this.workspaceId,s,e)),!0):!1}moveTabToSplit(s,e,t,a){this.dispatch(D(this.workspaceId,s,e,t,a))}moveTabToSplitLevel(s,e,t,a,o){this.dispatch(M(this.workspaceId,s,e,t,a,o))}closeOtherTabs(s,e){this.dispatch(R(this.workspaceId,s,e))}closeTabsToRight(s,e){this.dispatch(_(this.workspaceId,s,e))}closeAllTabs(s){this.dispatch(j(this.workspaceId,s))}closeAllOthersEverywhere(s,e){this.dispatch(E(this.workspaceId,s,e))}updateTabTitle(s,e){this.dispatch(G(this.workspaceId,s,e))}updateTabBrowserUrl(s,e){this.dispatch(H(this.workspaceId,s,e))}updateTabFavicon(s,e){this.dispatch(V(this.workspaceId,s,e))}updateFileTabPath(s,e){this.dispatch(U(this.workspaceId,s,e))}focusPanel(s){this.dispatch(J(this.workspaceId,s))}splitPanel(s,e,t){this.dispatch(N(this.workspaceId,s,e,t))}closePanel(s){this.dispatch(W(this.workspaceId,s))}movePanel(s,e,t){this.dispatch(q(this.workspaceId,s,e,t))}updateSizes(s,e){this.dispatch(K(this.workspaceId,s,e))}updateSplitSizes(s,e){this.dispatch(X(this.workspaceId,s,e))}resizeRootDivider(s,e){this.dispatch(Y(this.workspaceId,s,e))}toggleExpandPanel(s){this.dispatch(Q(this.workspaceId,s))}resetLayout(){this.dispatch(Z(this.workspaceId))}applyPreset(s){this.dispatch($(this.workspaceId,s))}goBack(){this.dispatch(ss(this.workspaceId))}goForward(){this.dispatch(es(this.workspaceId))}goBackInFocusHistory(){this.dispatch(ts(this.workspaceId))}goForwardInFocusHistory(){this.dispatch(as(this.workspaceId))}setDeferSpecTab(s){this.dispatch(is(this.workspaceId,s))}consumePendingFocus(s){this.dispatch(os(this.workspaceId,s))}reconcileStaleAgentTabs(s,e,t){const a=Array.isArray(s)?s:Array.from(s);this.dispatch(rs(this.workspaceId,a,e,t))}clearLayout(){this.dispatch(T(this.workspaceId))}createGridLayout(s){return this.dispatch(cs(this.workspaceId,s)),this.getPanelIds()}batchMutations(s){return s()}initializeLayout(s){const e=s??hs();this.dispatch(ls(this.workspaceId,e))}cyclePresets(){const s=Is.select(this.state,this.workspaceId),e=Object.keys(s).length;e<=1?this.applyPreset("split-horizontal"):e===2?this.applyPreset("three-column"):this.applyPreset("single")}}const l=new Map;function Ts(i){let s=l.get(i);return s||(s=new k(i),l.set(i,s)),s}function ks(i){return!0}function Ps(i){l.delete(i)}function w(i){h.dispatch(T(i))}const fs=Object.freeze(Object.defineProperty({__proto__:null,PanelLayoutAdapter:k,clearPanelLayoutAdapter:Ps,clearPanelLayoutFn:w,clearPanelLayoutForWorkspace:w,getPanelLayoutManager:Ts,hasPanelLayoutManager:ks},Symbol.toStringTag,{value:"Module"}));export{Ps as c,Ts as g,ks as h,fs as p,ws as r};
1
+ import{nX as P,o6 as g,JH as h,vt as d,vy as p,vv as y,h0 as v,gD as f,h2 as m,h1 as L,Ba as u,B9 as A,E0 as F,DC as S,DF as B,Bd as C,u3 as z,Cb as O,tY as x,u4 as D,u5 as M,gU as R,h3 as _,gG as j,gF as E,LG as G,LE as H,LF as V,Ln as U,nG as J,Jl as N,gW as W,u1 as q,LB as K,LD as X,C1 as Y,Ki as Q,BV as Z,dc as $,oG as ss,oI as es,oH as ts,oJ as as,ER as is,i8 as os,zG as rs,gg as T,ip as cs,ii as hs,r9 as ls}from"./D0qhIm1r.js";import{bm as ns}from"./Fcr7AvC-.js";import{u as ds,b as ps,n as us,j as b,l as bs,v as I,y as Is}from"./CH7HNVC2.js";function ws(i,s,e,t){const a=s?.activeTabId;if(!s||!a||!s.tabs.some(r=>r.id===a))return null;const o=t?P(t).map(g):i.map(r=>[r]),c=o.findIndex(r=>r.includes(s.id));if(c<0)return null;const n=o[c+(e==="next"?1:-1)]?.[0];return n?{kind:"neighbor",tabId:a,targetPanelId:n}:o.length>=4||s.tabs.length<2&&o[c].length<2?null:{kind:"edge",tabId:a,position:e==="next"?"after":"before"}}class k{constructor(s){this.workspaceId=s}get state(){return h.state}dispatch(s){h.dispatch(s)}getPanelIds(){return ds.select(this.state,this.workspaceId)}getAllTabs(){return ps.select(this.state,this.workspaceId)}getPanel(s){return us.select(this.state,this.workspaceId,s)??null}getOtherPanelId(){const s=this.getPanelIds();if(s.length<2)return null;const e=b.select(this.state,this.workspaceId);return s.find(t=>t!==e)??null}openTab(s,e){if(e){this.dispatch(d(this.workspaceId,s,e));return}this.dispatch(p(this.workspaceId,s))}openUserTab(s,e){const t=e??b.select(this.state,this.workspaceId)??void 0;if(t){this.dispatch(d(this.workspaceId,s,t,void 0,!0));return}this.dispatch(p(this.workspaceId,s,{force:!0}))}openTabInAdjacentOrSplit(s,e,t){this.dispatch(y(this.workspaceId,s,e,t))}openBrowserPanel(s,e,t,a){const o={type:"browser",title:ns.layout_tabTypes_browser_title(),browserUrl:s??"about:blank",...a===void 0?{}:{browserRequestedUrl:a},contextItemId:e,closable:!0};this.openTabInAdjacentOrSplit(o,t)}closeTab(s,e){this.dispatch(v(this.workspaceId,s,e))}closeActiveTab(s){this.dispatch(f(this.workspaceId,s))}closeTabsByType(s,e,t){this.dispatch(m(this.workspaceId,s,e,t))}closeTabsByAgentId(s){this.dispatch(L(this.workspaceId,s))}reopenClosedTab(s,e){this.dispatch(u(this.workspaceId,void 0,s,e))}reopenLastClosed(){const s=bs.select(this.state,this.workspaceId);s?.kind==="column"?this.dispatch(A(this.workspaceId)):s?.kind==="tab"&&this.dispatch(u(this.workspaceId))}setActiveTab(s,e){this.dispatch(F(this.workspaceId,s,e))}selectNextTab(s){this.dispatch(S(this.workspaceId,s))}selectPreviousTab(s){this.dispatch(B(this.workspaceId,s))}reorderTabs(s,e,t){this.dispatch(C(this.workspaceId,s,e,t))}moveTabToPanel(s,e,t,a){this.dispatch(z(this.workspaceId,s,e,t,a))}moveActivePaneToColumn(s,e){const t=ws(this.getPanelIds(),this.getPanel(s),e,I.select(this.state,this.workspaceId));return t?(t.kind==="neighbor"?this.moveTabToPanel(t.tabId,s,t.targetPanelId):this.moveTabToSplitLevel(t.tabId,s,[],t.position,"horizontal"),!0):!1}canMoveActivePaneVertically(s,e){return O(I.select(this.state,this.workspaceId),this.getPanel(s),e)!==null}moveActivePaneVertically(s,e){return this.canMoveActivePaneVertically(s,e)?(this.dispatch(x(this.workspaceId,s,e)),!0):!1}moveTabToSplit(s,e,t,a){this.dispatch(D(this.workspaceId,s,e,t,a))}moveTabToSplitLevel(s,e,t,a,o){this.dispatch(M(this.workspaceId,s,e,t,a,o))}closeOtherTabs(s,e){this.dispatch(R(this.workspaceId,s,e))}closeTabsToRight(s,e){this.dispatch(_(this.workspaceId,s,e))}closeAllTabs(s){this.dispatch(j(this.workspaceId,s))}closeAllOthersEverywhere(s,e){this.dispatch(E(this.workspaceId,s,e))}updateTabTitle(s,e){this.dispatch(G(this.workspaceId,s,e))}updateTabBrowserUrl(s,e){this.dispatch(H(this.workspaceId,s,e))}updateTabFavicon(s,e){this.dispatch(V(this.workspaceId,s,e))}updateFileTabPath(s,e){this.dispatch(U(this.workspaceId,s,e))}focusPanel(s){this.dispatch(J(this.workspaceId,s))}splitPanel(s,e,t){this.dispatch(N(this.workspaceId,s,e,t))}closePanel(s){this.dispatch(W(this.workspaceId,s))}movePanel(s,e,t){this.dispatch(q(this.workspaceId,s,e,t))}updateSizes(s,e){this.dispatch(K(this.workspaceId,s,e))}updateSplitSizes(s,e){this.dispatch(X(this.workspaceId,s,e))}resizeRootDivider(s,e){this.dispatch(Y(this.workspaceId,s,e))}toggleExpandPanel(s){this.dispatch(Q(this.workspaceId,s))}resetLayout(){this.dispatch(Z(this.workspaceId))}applyPreset(s){this.dispatch($(this.workspaceId,s))}goBack(){this.dispatch(ss(this.workspaceId))}goForward(){this.dispatch(es(this.workspaceId))}goBackInFocusHistory(){this.dispatch(ts(this.workspaceId))}goForwardInFocusHistory(){this.dispatch(as(this.workspaceId))}setDeferSpecTab(s){this.dispatch(is(this.workspaceId,s))}consumePendingFocus(s){this.dispatch(os(this.workspaceId,s))}reconcileStaleAgentTabs(s,e,t){const a=Array.isArray(s)?s:Array.from(s);this.dispatch(rs(this.workspaceId,a,e,t))}clearLayout(){this.dispatch(T(this.workspaceId))}createGridLayout(s){return this.dispatch(cs(this.workspaceId,s)),this.getPanelIds()}batchMutations(s){return s()}initializeLayout(s){const e=s??hs();this.dispatch(ls(this.workspaceId,e))}cyclePresets(){const s=Is.select(this.state,this.workspaceId),e=Object.keys(s).length;e<=1?this.applyPreset("split-horizontal"):e===2?this.applyPreset("three-column"):this.applyPreset("single")}}const l=new Map;function Ts(i){let s=l.get(i);return s||(s=new k(i),l.set(i,s)),s}function ks(i){return!0}function Ps(i){l.delete(i)}function w(i){h.dispatch(T(i))}const fs=Object.freeze(Object.defineProperty({__proto__:null,PanelLayoutAdapter:k,clearPanelLayoutAdapter:Ps,clearPanelLayoutFn:w,clearPanelLayoutForWorkspace:w,getPanelLayoutManager:Ts,hasPanelLayoutManager:ks},Symbol.toStringTag,{value:"Module"}));export{Ps as c,Ts as g,ks as h,fs as p,ws as r};
@@ -1 +1 @@
1
- import{aR as o,aP as l,a0 as v,l as y,bu as T,bT as b,bL as f,bM as i,r as m,aQ as p}from"./3SdAC2_C.js";import{B as R}from"./CtfEuoOH.js";function E(d,_,e){var s;o&&(s=p,l());var r=new R(d);v(()=>{var a=_()??null;if(o){var h=T(s),u=h===m,c=a!==null;if(u!==c){var t=b();f(t),r.anchor=t,i(!1),r.ensure(a,a&&(n=>e(n,a))),i(!0);return}}r.ensure(a,a&&(n=>e(n,a)))},y)}export{E as c};
1
+ import{aR as o,aP as l,a0 as v,l as y,bu as T,bT as b,bL as f,bM as i,r as m,aQ as p}from"./3SdAC2_C.js";import{B as R}from"./Fcr7AvC-.js";function E(d,_,e){var s;o&&(s=p,l());var r=new R(d);v(()=>{var a=_()??null;if(o){var h=T(s),u=h===m,c=a!==null;if(u!==c){var t=b();f(t),r.anchor=t,i(!1),r.ensure(a,a&&(n=>e(n,a))),i(!0);return}}r.ensure(a,a&&(n=>e(n,a)))},y)}export{E as c};
@@ -1,4 +1,4 @@
1
- import{e as Ie}from"./DF15jnSX.js";import{aZ as Me,U as Be,V as Ve,a_ as Ye,b as d,X as Ot,ay as de,B as Fe,h as Ue,al as je,o as Nt,b5 as ze,aV as me,aW as Jt,bi as We,z as te,n as pe}from"./DMudvlKI.js";var jt=(function(){var t=d(function(_t,m,x,E){for(x=x||{},E=_t.length;E--;x[_t[E]]=m);return x},"o"),e=[1,24],a=[1,25],i=[1,26],u=[1,27],r=[1,28],n=[1,63],l=[1,64],s=[1,65],h=[1,66],y=[1,67],p=[1,68],g=[1,69],v=[1,29],w=[1,30],N=[1,31],O=[1,32],P=[1,33],I=[1,34],X=[1,35],q=[1,36],H=[1,37],Q=[1,38],K=[1,39],G=[1,40],Z=[1,41],J=[1,42],$=[1,43],tt=[1,44],et=[1,45],nt=[1,46],st=[1,47],at=[1,48],rt=[1,50],it=[1,51],ot=[1,52],lt=[1,53],ct=[1,54],ut=[1,55],ht=[1,56],dt=[1,57],pt=[1,58],ft=[1,59],yt=[1,60],kt=[14,42],Xt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Pt=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],S=[1,82],T=[1,83],k=[1,84],C=[1,85],R=[12,14,42],oe=[12,14,33,42],Bt=[12,14,33,42,76,77,79,80],xt=[12,33],qt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ht={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:d(function(m,x,E,_,D,o,Dt){var f=o.length-1;switch(D){case 3:_.setDirection("TB");break;case 4:_.setDirection("BT");break;case 5:_.setDirection("RL");break;case 6:_.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:_.setC4Type(o[f-3]);break;case 19:_.setTitle(o[f].substring(6)),this.$=o[f].substring(6);break;case 20:_.setAccDescription(o[f].substring(15)),this.$=o[f].substring(15);break;case 21:this.$=o[f].trim(),_.setTitle(this.$);break;case 22:case 23:this.$=o[f].trim(),_.setAccDescription(this.$);break;case 28:o[f].splice(2,0,"ENTERPRISE"),_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 29:o[f].splice(2,0,"SYSTEM"),_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 30:_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 31:o[f].splice(2,0,"CONTAINER"),_.addContainerBoundary(...o[f]),this.$=o[f];break;case 32:_.addDeploymentNode("node",...o[f]),this.$=o[f];break;case 33:_.addDeploymentNode("nodeL",...o[f]),this.$=o[f];break;case 34:_.addDeploymentNode("nodeR",...o[f]),this.$=o[f];break;case 35:_.popBoundaryParseStack();break;case 39:_.addPersonOrSystem("person",...o[f]),this.$=o[f];break;case 40:_.addPersonOrSystem("external_person",...o[f]),this.$=o[f];break;case 41:_.addPersonOrSystem("system",...o[f]),this.$=o[f];break;case 42:_.addPersonOrSystem("system_db",...o[f]),this.$=o[f];break;case 43:_.addPersonOrSystem("system_queue",...o[f]),this.$=o[f];break;case 44:_.addPersonOrSystem("external_system",...o[f]),this.$=o[f];break;case 45:_.addPersonOrSystem("external_system_db",...o[f]),this.$=o[f];break;case 46:_.addPersonOrSystem("external_system_queue",...o[f]),this.$=o[f];break;case 47:_.addContainer("container",...o[f]),this.$=o[f];break;case 48:_.addContainer("container_db",...o[f]),this.$=o[f];break;case 49:_.addContainer("container_queue",...o[f]),this.$=o[f];break;case 50:_.addContainer("external_container",...o[f]),this.$=o[f];break;case 51:_.addContainer("external_container_db",...o[f]),this.$=o[f];break;case 52:_.addContainer("external_container_queue",...o[f]),this.$=o[f];break;case 53:_.addComponent("component",...o[f]),this.$=o[f];break;case 54:_.addComponent("component_db",...o[f]),this.$=o[f];break;case 55:_.addComponent("component_queue",...o[f]),this.$=o[f];break;case 56:_.addComponent("external_component",...o[f]),this.$=o[f];break;case 57:_.addComponent("external_component_db",...o[f]),this.$=o[f];break;case 58:_.addComponent("external_component_queue",...o[f]),this.$=o[f];break;case 60:_.addRel("rel",...o[f]),this.$=o[f];break;case 61:_.addRel("birel",...o[f]),this.$=o[f];break;case 62:_.addRel("rel_u",...o[f]),this.$=o[f];break;case 63:_.addRel("rel_d",...o[f]),this.$=o[f];break;case 64:_.addRel("rel_l",...o[f]),this.$=o[f];break;case 65:_.addRel("rel_r",...o[f]),this.$=o[f];break;case 66:_.addRel("rel_b",...o[f]),this.$=o[f];break;case 67:o[f].splice(0,1),_.addRel("rel",...o[f]),this.$=o[f];break;case 68:_.updateElStyle("update_el_style",...o[f]),this.$=o[f];break;case 69:_.updateRelStyle("update_rel_style",...o[f]),this.$=o[f];break;case 70:_.updateLayoutConfig("update_layout_config",...o[f]),this.$=o[f];break;case 71:this.$=[o[f]];break;case 72:o[f].unshift(o[f-1]),this.$=o[f];break;case 73:case 75:this.$=o[f].trim();break;case 74:let vt={};vt[o[f-1].trim()]=o[f].trim(),this.$=vt;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:70,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:71,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:72,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:73,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{14:[1,74]},t(kt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:n,36:l,37:s,38:h,39:y,40:p,41:g,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(kt,[2,14]),t(Xt,[2,16],{12:[1,76]}),t(kt,[2,36],{12:[1,77]}),t(Pt,[2,19]),t(Pt,[2,20]),{25:[1,78]},{27:[1,79]},t(Pt,[2,23]),{35:80,75:81,76:S,77:T,79:k,80:C},{35:86,75:81,76:S,77:T,79:k,80:C},{35:87,75:81,76:S,77:T,79:k,80:C},{35:88,75:81,76:S,77:T,79:k,80:C},{35:89,75:81,76:S,77:T,79:k,80:C},{35:90,75:81,76:S,77:T,79:k,80:C},{35:91,75:81,76:S,77:T,79:k,80:C},{35:92,75:81,76:S,77:T,79:k,80:C},{35:93,75:81,76:S,77:T,79:k,80:C},{35:94,75:81,76:S,77:T,79:k,80:C},{35:95,75:81,76:S,77:T,79:k,80:C},{35:96,75:81,76:S,77:T,79:k,80:C},{35:97,75:81,76:S,77:T,79:k,80:C},{35:98,75:81,76:S,77:T,79:k,80:C},{35:99,75:81,76:S,77:T,79:k,80:C},{35:100,75:81,76:S,77:T,79:k,80:C},{35:101,75:81,76:S,77:T,79:k,80:C},{35:102,75:81,76:S,77:T,79:k,80:C},{35:103,75:81,76:S,77:T,79:k,80:C},{35:104,75:81,76:S,77:T,79:k,80:C},t(R,[2,59]),{35:105,75:81,76:S,77:T,79:k,80:C},{35:106,75:81,76:S,77:T,79:k,80:C},{35:107,75:81,76:S,77:T,79:k,80:C},{35:108,75:81,76:S,77:T,79:k,80:C},{35:109,75:81,76:S,77:T,79:k,80:C},{35:110,75:81,76:S,77:T,79:k,80:C},{35:111,75:81,76:S,77:T,79:k,80:C},{35:112,75:81,76:S,77:T,79:k,80:C},{35:113,75:81,76:S,77:T,79:k,80:C},{35:114,75:81,76:S,77:T,79:k,80:C},{35:115,75:81,76:S,77:T,79:k,80:C},{20:116,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{12:[1,118],33:[1,117]},{35:119,75:81,76:S,77:T,79:k,80:C},{35:120,75:81,76:S,77:T,79:k,80:C},{35:121,75:81,76:S,77:T,79:k,80:C},{35:122,75:81,76:S,77:T,79:k,80:C},{35:123,75:81,76:S,77:T,79:k,80:C},{35:124,75:81,76:S,77:T,79:k,80:C},{35:125,75:81,76:S,77:T,79:k,80:C},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(kt,[2,15]),t(Xt,[2,17],{21:22,19:130,22:e,23:a,24:i,26:u,28:r}),t(kt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:a,24:i,26:u,28:r,34:n,36:l,37:s,38:h,39:y,40:p,41:g,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(Pt,[2,21]),t(Pt,[2,22]),t(R,[2,39]),t(oe,[2,71],{75:81,35:132,76:S,77:T,79:k,80:C}),t(Bt,[2,73]),{78:[1,133]},t(Bt,[2,75]),t(Bt,[2,76]),t(R,[2,40]),t(R,[2,41]),t(R,[2,42]),t(R,[2,43]),t(R,[2,44]),t(R,[2,45]),t(R,[2,46]),t(R,[2,47]),t(R,[2,48]),t(R,[2,49]),t(R,[2,50]),t(R,[2,51]),t(R,[2,52]),t(R,[2,53]),t(R,[2,54]),t(R,[2,55]),t(R,[2,56]),t(R,[2,57]),t(R,[2,58]),t(R,[2,60]),t(R,[2,61]),t(R,[2,62]),t(R,[2,63]),t(R,[2,64]),t(R,[2,65]),t(R,[2,66]),t(R,[2,67]),t(R,[2,68]),t(R,[2,69]),t(R,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(xt,[2,28]),t(xt,[2,29]),t(xt,[2,30]),t(xt,[2,31]),t(xt,[2,32]),t(xt,[2,33]),t(xt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(Xt,[2,18]),t(kt,[2,38]),t(oe,[2,72]),t(Bt,[2,74]),t(R,[2,24]),t(R,[2,35]),t(qt,[2,25]),t(qt,[2,26],{12:[1,138]}),t(qt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:d(function(m,x){if(x.recoverable)this.trace(m);else{var E=new Error(m);throw E.hash=x,E}},"parseError"),parse:d(function(m){var x=this,E=[0],_=[],D=[null],o=[],Dt=this.table,f="",vt=0,le=0,De=2,ce=1,Ne=o.slice.call(arguments,1),A=Object.create(this.lexer),Et={yy:{}};for(var Qt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Qt)&&(Et.yy[Qt]=this.yy[Qt]);A.setInput(m,Et.yy),Et.yy.lexer=A,Et.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var Kt=A.yylloc;o.push(Kt);var Ae=A.options&&A.options.ranges;typeof Et.yy.parseError=="function"?this.parseError=Et.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Le(B){E.length=E.length-2*B,D.length=D.length-B,o.length=o.length-B}d(Le,"popStack");function ue(){var B;return B=_.pop()||A.lex()||ce,typeof B!="number"&&(B instanceof Array&&(_=B,B=_.pop()),B=x.symbols_[B]||B),B}d(ue,"lex");for(var M,St,V,Gt,Ct={},Yt,z,he,Ft;;){if(St=E[E.length-1],this.defaultActions[St]?V=this.defaultActions[St]:((M===null||typeof M>"u")&&(M=ue()),V=Dt[St]&&Dt[St][M]),typeof V>"u"||!V.length||!V[0]){var Zt="";Ft=[];for(Yt in Dt[St])this.terminals_[Yt]&&Yt>De&&Ft.push("'"+this.terminals_[Yt]+"'");A.showPosition?Zt="Parse error on line "+(vt+1)+`:
1
+ import{e as Ie}from"./BvByaKKp.js";import{aZ as Me,U as Be,V as Ve,a_ as Ye,b as d,X as Ot,ay as de,B as Fe,h as Ue,al as je,o as Nt,b5 as ze,aV as me,aW as Jt,bi as We,z as te,n as pe}from"./DFNKkiho.js";var jt=(function(){var t=d(function(_t,m,x,E){for(x=x||{},E=_t.length;E--;x[_t[E]]=m);return x},"o"),e=[1,24],a=[1,25],i=[1,26],u=[1,27],r=[1,28],n=[1,63],l=[1,64],s=[1,65],h=[1,66],y=[1,67],p=[1,68],g=[1,69],v=[1,29],w=[1,30],N=[1,31],O=[1,32],P=[1,33],I=[1,34],X=[1,35],q=[1,36],H=[1,37],Q=[1,38],K=[1,39],G=[1,40],Z=[1,41],J=[1,42],$=[1,43],tt=[1,44],et=[1,45],nt=[1,46],st=[1,47],at=[1,48],rt=[1,50],it=[1,51],ot=[1,52],lt=[1,53],ct=[1,54],ut=[1,55],ht=[1,56],dt=[1,57],pt=[1,58],ft=[1,59],yt=[1,60],kt=[14,42],Xt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Pt=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],S=[1,82],T=[1,83],k=[1,84],C=[1,85],R=[12,14,42],oe=[12,14,33,42],Bt=[12,14,33,42,76,77,79,80],xt=[12,33],qt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ht={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:d(function(m,x,E,_,D,o,Dt){var f=o.length-1;switch(D){case 3:_.setDirection("TB");break;case 4:_.setDirection("BT");break;case 5:_.setDirection("RL");break;case 6:_.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:_.setC4Type(o[f-3]);break;case 19:_.setTitle(o[f].substring(6)),this.$=o[f].substring(6);break;case 20:_.setAccDescription(o[f].substring(15)),this.$=o[f].substring(15);break;case 21:this.$=o[f].trim(),_.setTitle(this.$);break;case 22:case 23:this.$=o[f].trim(),_.setAccDescription(this.$);break;case 28:o[f].splice(2,0,"ENTERPRISE"),_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 29:o[f].splice(2,0,"SYSTEM"),_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 30:_.addPersonOrSystemBoundary(...o[f]),this.$=o[f];break;case 31:o[f].splice(2,0,"CONTAINER"),_.addContainerBoundary(...o[f]),this.$=o[f];break;case 32:_.addDeploymentNode("node",...o[f]),this.$=o[f];break;case 33:_.addDeploymentNode("nodeL",...o[f]),this.$=o[f];break;case 34:_.addDeploymentNode("nodeR",...o[f]),this.$=o[f];break;case 35:_.popBoundaryParseStack();break;case 39:_.addPersonOrSystem("person",...o[f]),this.$=o[f];break;case 40:_.addPersonOrSystem("external_person",...o[f]),this.$=o[f];break;case 41:_.addPersonOrSystem("system",...o[f]),this.$=o[f];break;case 42:_.addPersonOrSystem("system_db",...o[f]),this.$=o[f];break;case 43:_.addPersonOrSystem("system_queue",...o[f]),this.$=o[f];break;case 44:_.addPersonOrSystem("external_system",...o[f]),this.$=o[f];break;case 45:_.addPersonOrSystem("external_system_db",...o[f]),this.$=o[f];break;case 46:_.addPersonOrSystem("external_system_queue",...o[f]),this.$=o[f];break;case 47:_.addContainer("container",...o[f]),this.$=o[f];break;case 48:_.addContainer("container_db",...o[f]),this.$=o[f];break;case 49:_.addContainer("container_queue",...o[f]),this.$=o[f];break;case 50:_.addContainer("external_container",...o[f]),this.$=o[f];break;case 51:_.addContainer("external_container_db",...o[f]),this.$=o[f];break;case 52:_.addContainer("external_container_queue",...o[f]),this.$=o[f];break;case 53:_.addComponent("component",...o[f]),this.$=o[f];break;case 54:_.addComponent("component_db",...o[f]),this.$=o[f];break;case 55:_.addComponent("component_queue",...o[f]),this.$=o[f];break;case 56:_.addComponent("external_component",...o[f]),this.$=o[f];break;case 57:_.addComponent("external_component_db",...o[f]),this.$=o[f];break;case 58:_.addComponent("external_component_queue",...o[f]),this.$=o[f];break;case 60:_.addRel("rel",...o[f]),this.$=o[f];break;case 61:_.addRel("birel",...o[f]),this.$=o[f];break;case 62:_.addRel("rel_u",...o[f]),this.$=o[f];break;case 63:_.addRel("rel_d",...o[f]),this.$=o[f];break;case 64:_.addRel("rel_l",...o[f]),this.$=o[f];break;case 65:_.addRel("rel_r",...o[f]),this.$=o[f];break;case 66:_.addRel("rel_b",...o[f]),this.$=o[f];break;case 67:o[f].splice(0,1),_.addRel("rel",...o[f]),this.$=o[f];break;case 68:_.updateElStyle("update_el_style",...o[f]),this.$=o[f];break;case 69:_.updateRelStyle("update_rel_style",...o[f]),this.$=o[f];break;case 70:_.updateLayoutConfig("update_layout_config",...o[f]),this.$=o[f];break;case 71:this.$=[o[f]];break;case 72:o[f].unshift(o[f-1]),this.$=o[f];break;case 73:case 75:this.$=o[f].trim();break;case 74:let vt={};vt[o[f-1].trim()]=o[f].trim(),this.$=vt;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:70,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:71,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:72,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{13:73,19:20,20:21,21:22,22:e,23:a,24:i,26:u,28:r,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{14:[1,74]},t(kt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:n,36:l,37:s,38:h,39:y,40:p,41:g,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(kt,[2,14]),t(Xt,[2,16],{12:[1,76]}),t(kt,[2,36],{12:[1,77]}),t(Pt,[2,19]),t(Pt,[2,20]),{25:[1,78]},{27:[1,79]},t(Pt,[2,23]),{35:80,75:81,76:S,77:T,79:k,80:C},{35:86,75:81,76:S,77:T,79:k,80:C},{35:87,75:81,76:S,77:T,79:k,80:C},{35:88,75:81,76:S,77:T,79:k,80:C},{35:89,75:81,76:S,77:T,79:k,80:C},{35:90,75:81,76:S,77:T,79:k,80:C},{35:91,75:81,76:S,77:T,79:k,80:C},{35:92,75:81,76:S,77:T,79:k,80:C},{35:93,75:81,76:S,77:T,79:k,80:C},{35:94,75:81,76:S,77:T,79:k,80:C},{35:95,75:81,76:S,77:T,79:k,80:C},{35:96,75:81,76:S,77:T,79:k,80:C},{35:97,75:81,76:S,77:T,79:k,80:C},{35:98,75:81,76:S,77:T,79:k,80:C},{35:99,75:81,76:S,77:T,79:k,80:C},{35:100,75:81,76:S,77:T,79:k,80:C},{35:101,75:81,76:S,77:T,79:k,80:C},{35:102,75:81,76:S,77:T,79:k,80:C},{35:103,75:81,76:S,77:T,79:k,80:C},{35:104,75:81,76:S,77:T,79:k,80:C},t(R,[2,59]),{35:105,75:81,76:S,77:T,79:k,80:C},{35:106,75:81,76:S,77:T,79:k,80:C},{35:107,75:81,76:S,77:T,79:k,80:C},{35:108,75:81,76:S,77:T,79:k,80:C},{35:109,75:81,76:S,77:T,79:k,80:C},{35:110,75:81,76:S,77:T,79:k,80:C},{35:111,75:81,76:S,77:T,79:k,80:C},{35:112,75:81,76:S,77:T,79:k,80:C},{35:113,75:81,76:S,77:T,79:k,80:C},{35:114,75:81,76:S,77:T,79:k,80:C},{35:115,75:81,76:S,77:T,79:k,80:C},{20:116,29:49,30:61,32:62,34:n,36:l,37:s,38:h,39:y,40:p,41:g,43:23,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt},{12:[1,118],33:[1,117]},{35:119,75:81,76:S,77:T,79:k,80:C},{35:120,75:81,76:S,77:T,79:k,80:C},{35:121,75:81,76:S,77:T,79:k,80:C},{35:122,75:81,76:S,77:T,79:k,80:C},{35:123,75:81,76:S,77:T,79:k,80:C},{35:124,75:81,76:S,77:T,79:k,80:C},{35:125,75:81,76:S,77:T,79:k,80:C},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(kt,[2,15]),t(Xt,[2,17],{21:22,19:130,22:e,23:a,24:i,26:u,28:r}),t(kt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:a,24:i,26:u,28:r,34:n,36:l,37:s,38:h,39:y,40:p,41:g,44:v,45:w,46:N,47:O,48:P,49:I,50:X,51:q,52:H,53:Q,54:K,55:G,56:Z,57:J,58:$,59:tt,60:et,61:nt,62:st,63:at,64:rt,65:it,66:ot,67:lt,68:ct,69:ut,70:ht,71:dt,72:pt,73:ft,74:yt}),t(Pt,[2,21]),t(Pt,[2,22]),t(R,[2,39]),t(oe,[2,71],{75:81,35:132,76:S,77:T,79:k,80:C}),t(Bt,[2,73]),{78:[1,133]},t(Bt,[2,75]),t(Bt,[2,76]),t(R,[2,40]),t(R,[2,41]),t(R,[2,42]),t(R,[2,43]),t(R,[2,44]),t(R,[2,45]),t(R,[2,46]),t(R,[2,47]),t(R,[2,48]),t(R,[2,49]),t(R,[2,50]),t(R,[2,51]),t(R,[2,52]),t(R,[2,53]),t(R,[2,54]),t(R,[2,55]),t(R,[2,56]),t(R,[2,57]),t(R,[2,58]),t(R,[2,60]),t(R,[2,61]),t(R,[2,62]),t(R,[2,63]),t(R,[2,64]),t(R,[2,65]),t(R,[2,66]),t(R,[2,67]),t(R,[2,68]),t(R,[2,69]),t(R,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(xt,[2,28]),t(xt,[2,29]),t(xt,[2,30]),t(xt,[2,31]),t(xt,[2,32]),t(xt,[2,33]),t(xt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(Xt,[2,18]),t(kt,[2,38]),t(oe,[2,72]),t(Bt,[2,74]),t(R,[2,24]),t(R,[2,35]),t(qt,[2,25]),t(qt,[2,26],{12:[1,138]}),t(qt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:d(function(m,x){if(x.recoverable)this.trace(m);else{var E=new Error(m);throw E.hash=x,E}},"parseError"),parse:d(function(m){var x=this,E=[0],_=[],D=[null],o=[],Dt=this.table,f="",vt=0,le=0,De=2,ce=1,Ne=o.slice.call(arguments,1),A=Object.create(this.lexer),Et={yy:{}};for(var Qt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Qt)&&(Et.yy[Qt]=this.yy[Qt]);A.setInput(m,Et.yy),Et.yy.lexer=A,Et.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var Kt=A.yylloc;o.push(Kt);var Ae=A.options&&A.options.ranges;typeof Et.yy.parseError=="function"?this.parseError=Et.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Le(B){E.length=E.length-2*B,D.length=D.length-B,o.length=o.length-B}d(Le,"popStack");function ue(){var B;return B=_.pop()||A.lex()||ce,typeof B!="number"&&(B instanceof Array&&(_=B,B=_.pop()),B=x.symbols_[B]||B),B}d(ue,"lex");for(var M,St,V,Gt,Ct={},Yt,z,he,Ft;;){if(St=E[E.length-1],this.defaultActions[St]?V=this.defaultActions[St]:((M===null||typeof M>"u")&&(M=ue()),V=Dt[St]&&Dt[St][M]),typeof V>"u"||!V.length||!V[0]){var Zt="";Ft=[];for(Yt in Dt[St])this.terminals_[Yt]&&Yt>De&&Ft.push("'"+this.terminals_[Yt]+"'");A.showPosition?Zt="Parse error on line "+(vt+1)+`:
2
2
  `+A.showPosition()+`
3
3
  Expecting `+Ft.join(", ")+", got '"+(this.terminals_[M]||M)+"'":Zt="Parse error on line "+(vt+1)+": Unexpected "+(M==ce?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(Zt,{text:A.match,token:this.terminals_[M]||M,line:A.yylineno,loc:Kt,expected:Ft})}if(V[0]instanceof Array&&V.length>1)throw new Error("Parse Error: multiple actions possible at state: "+St+", token: "+M);switch(V[0]){case 1:E.push(M),D.push(A.yytext),o.push(A.yylloc),E.push(V[1]),M=null,le=A.yyleng,f=A.yytext,vt=A.yylineno,Kt=A.yylloc;break;case 2:if(z=this.productions_[V[1]][1],Ct.$=D[D.length-z],Ct._$={first_line:o[o.length-(z||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(z||1)].first_column,last_column:o[o.length-1].last_column},Ae&&(Ct._$.range=[o[o.length-(z||1)].range[0],o[o.length-1].range[1]]),Gt=this.performAction.apply(Ct,[f,le,vt,Et.yy,V[1],D,o].concat(Ne)),typeof Gt<"u")return Gt;z&&(E=E.slice(0,-1*z*2),D=D.slice(0,-1*z),o=o.slice(0,-1*z)),E.push(this.productions_[V[1]][0]),D.push(Ct.$),o.push(Ct._$),he=Dt[E[E.length-2]][E[E.length-1]],E.push(he);break;case 3:return!0}}return!0},"parse")},Pe=(function(){var _t={EOF:1,parseError:d(function(x,E){if(this.yy.parser)this.yy.parser.parseError(x,E);else throw new Error(x)},"parseError"),setInput:d(function(m,x){return this.yy=x||this.yy||{},this._input=m,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:d(function(){var m=this._input[0];this.yytext+=m,this.yyleng++,this.offset++,this.match+=m,this.matched+=m;var x=m.match(/(?:\r\n?|\n).*/g);return x?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),m},"input"),unput:d(function(m){var x=m.length,E=m.split(/(?:\r\n?|\n)/g);this._input=m+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-x),this.offset-=x;var _=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),E.length-1&&(this.yylineno-=E.length-1);var D=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:E?(E.length===_.length?this.yylloc.first_column:0)+_[_.length-E.length].length-E[0].length:this.yylloc.first_column-x},this.options.ranges&&(this.yylloc.range=[D[0],D[0]+this.yyleng-x]),this.yyleng=this.yytext.length,this},"unput"),more:d(function(){return this._more=!0,this},"more"),reject:d(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:d(function(m){this.unput(this.match.slice(m))},"less"),pastInput:d(function(){var m=this.matched.substr(0,this.matched.length-this.match.length);return(m.length>20?"...":"")+m.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:d(function(){var m=this.match;return m.length<20&&(m+=this._input.substr(0,20-m.length)),(m.substr(0,20)+(m.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:d(function(){var m=this.pastInput(),x=new Array(m.length+1).join("-");return m+this.upcomingInput()+`
@@ -1,8 +1,8 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/CVtLV3_x.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/CtfEuoOH.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/chunks/CiKoEJ2m.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/CHIxjTWu.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/CGmYraIa.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/CT8vPg_p.js","/app/immutable/chunks/BpezAJRw.js","/app/immutable/chunks/B26ZHg3s.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/B1lpukIv.js","/app/immutable/chunks/CwqyVbqi.js","/app/immutable/chunks/RV6uszBL.js","/app/immutable/chunks/CH6Im5iM.js","/app/immutable/chunks/DyreqWqr.js","/app/immutable/chunks/CyvzL5p8.js","/app/immutable/assets/register.CUyDR59i.css","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/CQ409-Pj.js","/app/immutable/chunks/QzxpbvSo.js","/app/immutable/chunks/axwUS21u.js","/app/immutable/assets/terminal-manager.MhP_vFvK.css","/app/immutable/chunks/DJcR4XQR.js","/app/immutable/chunks/DEr2A_-h.js","/app/immutable/chunks/iQDlfKDR.js","/app/immutable/chunks/COofQgO0.js","/app/immutable/chunks/BZ27qIg1.js","/app/immutable/chunks/DynUeYUu.js","/app/immutable/chunks/CnFZbWXv.js","/app/immutable/chunks/DMEIbJII.js","/app/immutable/chunks/CL3a4Hm1.js","/app/immutable/chunks/JvFe2B29.js","/app/immutable/chunks/BU3y3Xes.js","/app/immutable/chunks/BkcCJyDK.js","/app/immutable/chunks/C8E14ldW.js","/app/immutable/chunks/qWgJ-CUF.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/C00PRSTi.js","/app/immutable/chunks/BZCcX8wj.js","/app/immutable/chunks/BTXzEcFX.js","/app/immutable/chunks/C3jMXj_V.js","/app/immutable/chunks/D9R5fzn8.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/DFKhOU69.js","/app/immutable/chunks/BFfRQORP.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/Bx1P9uW7.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.DylRFR3N.css","/app/immutable/chunks/D4WPlvMg.js"])))=>i.map(i=>d[i]);
2
- import{JH as n,o8 as I,n_ as g,nZ as k,ms as Z,r1 as Q,iq as ee,of as Ce,mv as te,vY as He,jY as $e,E0 as Be,vt as Ve,qA as ze,mu as Ke,m7 as Je,aU as le,mh as Ye,mn as Xe,yJ as Ze,GD as Qe,D_ as et,Ag as tt,od as st,mx as rt}from"./CiKoEJ2m.js";import{selectActiveWorkspaceIds as nt}from"./BU3y3Xes.js";import{b8 as V,b3 as se,cR as v,cU as ue,cC as at,dI as M,cx as ot,b4 as ct,cS as it,dD as lt,v as de,Z as ut,dF as dt,ch as pt,aw as mt,aG as ht,ao as ft,bQ as St,cO as gt,db as yt,cA as bt,bR as kt}from"./iQDlfKDR.js";import{x as wt}from"./C8E14ldW.js";import{ag as It,cQ as _t,aZ as vt,av as Ct,p as At}from"./BTXzEcFX.js";import{h as Rt}from"./CVtLV3_x.js";import{bm as p,_ as q}from"./CtfEuoOH.js";import{i as w}from"./CL3a4Hm1.js";import{I as Et}from"./Bqd7fdCF.js";import{L as P}from"./DRuLniWc.js";import{ag as Tt,l as Pt,i as O,a9 as Ot,q as Wt}from"./BZCcX8wj.js";import{c as Nt}from"./ChTqQfQN.js";import{r as x}from"./uXuxG9cN.js";import{j as xt,u as Mt,n as Lt}from"./BkcCJyDK.js";import{u as Dt}from"./QzxpbvSo.js";import{aq as Ut,p as jt}from"./DEr2A_-h.js";import{M as pe,O as me,h as Ae}from"./CT8vPg_p.js";import{d as Gt,o as he,l as fe,s as Se}from"./CIyUrgF0.js";import{m as qt,p as Ft}from"./D5tDAzIo.js";const ur=n.createSelector(e=>e.workspaceShare.open),dr=n.createSelector(e=>e.workspaceShare.workspaceId),pr=n.createSelector(e=>{const{open:t,workspaceId:s,session:r}=e.workspaceShare;return t&&s?{workspaceId:s,session:r}:null}),re=n.createSelector(e=>{const{open:t,workspaceId:s,withheld:r}=e.workspaceShare;return!t||!s||r||I(e.workspaceShare,s).inviteWithheld?!1:V.select(e,s)}),mr=n.createSelector(e=>e.workspaceShare.createRequest),hr=n.createSelector(e=>e.workspaceShare.mutationGeneration),fr=n.createSelector(e=>e.workspaceShare.workspaceTitle),Sr=n.createSelector(e=>g(e.workspaceShare.members)),gr=n.createSelector((e,t)=>k(e.workspaceShare.members,t)!==void 0),yr=n.createSelector(e=>e.workspaceShare.open&&e.workspaceShare.workspaceId&&!e.workspaceShare.withheld&&!I(e.workspaceShare,e.workspaceShare.workspaceId).inviteWithheld?g(e.workspaceShare.invites).filter(t=>t.workspaceId===e.workspaceShare.workspaceId):[]),br=n.createSelector(e=>{const{principals:t,members:s}=e.workspaceShare;return g(t).filter(r=>!k(s,r.principalId)&&(r.hostRole===void 0||r.hostRole==="guest"))}),kr=n.createSelector(e=>e.workspaceShare.guestCount),wr=n.createSelector(e=>e.workspaceShare.guestLimit),Ir=n.createSelector(e=>e.workspaceShare.loadStatus==="loading"),_r=n.createSelector(e=>e.workspaceShare.loadError),vr=n.createSelector(e=>e.workspaceShare.creating),Cr=n.createSelector(e=>e.workspaceShare.createError),Ar=n.createSelector(e=>e.workspaceShare.createdLink),Rr=n.createSelector(e=>e.workspaceShare.revokingInviteId),Er=n.createSelector(e=>e.workspaceShare.removingPrincipalId),Tr=n.createSelector(e=>e.workspaceShare.addingPrincipalId),Pr=n.createSelector(e=>e.workspaceShare.actionError),Or=n.createSelector((e,t)=>I(e.workspaceShare,t).loadStatus!=="idle"),Wr=n.createSelector((e,t)=>t?g(I(e.workspaceShare,t).members):[]),Nr=n.createSelector((e,t)=>!!t&&!I(e.workspaceShare,t).withheld&&V.select(e,t));n.createSelector((e,t)=>!!t&&I(e.workspaceShare,t).withheld);const xr=n.createSelector((e,t)=>t?I(e.workspaceShare,t).removingPrincipalId:null);n.createSelector((e,t)=>t?I(e.workspaceShare,t).removeError:null);const Mr=n.createSelector(e=>e.workspaceShare.integrationAuth),Lr=n.createSelector(e=>e.workspaceShare.ownerForgeMissing),z=n.createSelector(e=>re.select(e)&&se.select(e)&&e.workspaceShare.sharingContext!==null&&e.workspaceShare.sharingContext===v.select(e)),Ht=n.createSelector(e=>z.select(e)?e.workspaceShare.sharingEnabled:null),Dr=n.createSelector(e=>z.select(e)&&e.workspaceShare.sharingChecking),$t=n.createSelector(e=>z.select(e)&&e.workspaceShare.sharingEnabling),Bt=n.createSelector(e=>z.select(e)?e.workspaceShare.sharingError:null),Ur=n.createSelector(e=>{if(!re.select(e))return!1;const t=e.workspaceShare;return!t.integrationAuthLoaded||se.select(e)&&Ht.select(e)===null&&Bt.select(e)===null&&!$t.select(e)?!0:g(t.members).length===0&&(t.loadStatus==="idle"||t.loadStatus==="loading")}),jr=n.createSelector(e=>re.select(e)&&!!e.workspaceShare.workspaceId&&(se.select(e)||(ge.select(e)?ge.select(e)===ue.select(e)?.principal.id:at.select(e,e.workspaceShare.workspaceId)))&&ue.select(e)?.capabilities.workspaceGuestRoles===!0),Gr=n.createSelector(e=>e.workspaceShare.pendingRolePrincipalIds),qr=n.createSelector(e=>e.workspaceShare.roleErrors),ge=n.createSelector(e=>{const t=e.workspaceShare.workspaceId;return t?M.select(e,t)?.ownerPrincipalId??null:null}),Vt=n.createSelector(e=>{const t=v.select(e),s=nt.select(e);return{context:t,workspaceIds:t?s.filter(r=>V.select(e,r)):[]}}),Fr=n.createSelector((e,t)=>{const s=I(e.workspaceShare,t);return{context:s.inviteContext,generation:s.inviteGeneration,withheld:s.inviteWithheld}}),zt=[],Kt=n.createSelector((e,t)=>{const s=v.select(e),r=I(e.workspaceShare,t);if(!s||r.inviteContext!==s||r.inviteWithheld||!V.select(e,t))return zt;const a=e.presence?.context===s?e.presence.members[t]:void 0,o=new Set(a?g(a).flatMap(i=>i.identity?[JSON.stringify([i.identity.provider,i.identity.host.toLowerCase(),i.identity.externalUserId])]:[]):[]),c=new Set;return g(e.workspaceShare.invites).filter(i=>{if(i.workspaceId!==t||!i.pinLogin?.trim()||i.revokedAt||i.redeemedAt&&!i.reusable||!(Date.parse(i.expiresAt)>r.inviteReceivedAt))return!1;const l=i.pinIdentity??(i.pinGithubUserId!==void 0?{provider:"github",host:"github.com",externalUserId:String(i.pinGithubUserId)}:null);if(a&&i.redeemedByPrincipalId&&k(a,i.redeemedByPrincipalId))return!1;if(!l)return!0;const m=JSON.stringify([l.provider,l.host.toLowerCase(),l.externalUserId]);return o.has(m)||c.has(m)?!1:(c.add(m),!0)})}),Hr=n.createSelector(e=>{const s=Vt.select(e).workspaceIds.flatMap(r=>Kt.select(e,r).map(a=>Date.parse(a.expiresAt)));return s.length?Math.min(...s):null});function $r(e){return Object.entries(e).some(([t,s])=>s.available&&wt(t,s.authenticated))}const Br=n.createSelector(e=>e.hostRequirements.git),Vr=n.createSelector(e=>e.hostRequirements.node),zr=n.createSelector(e=>e.hostRequirements.gh),Kr=n.createSelector(e=>e.hostRequirements.checking),Jr=n.createSelector(e=>e.hostRequirements.hasCheckedOnce);function Re(e){const t=e.gitlabAuth?.statusFailed===!0;return It({labsEnabled:e.userPreferences?.labsPlainFolderWorkspacesEnabled===!0,protocolVersion:e.daemonHealth?.stats?.protocolVersion,githubConnected:e.githubAuth?.isAuthenticated===!0,githubSettled:e.githubAuth?.statusSettled===!0,githubFailed:e.githubAuth?.statusFailed===!0,gitlabConnected:e.gitlabAuth?.isConfigured===!0,gitlabSettled:e.gitlabAuth?.statusReady===!0||t,gitlabFailed:t})}const Yr=n.createSelector(Re),Jt=n.createSelector(e=>!ot.select(e)),Xr=n.createSelector(e=>(e.hostRequirements.node.ok||!Jt.select(e))&&(e.hostRequirements.git.available||Re(e))),Zr=n.createSelector(e=>{const t=e.hostRequirements.providerCli;return t?{context:t.context,warnings:g(t.warnings)}:void 0}),Qr="22.0.0";function Yt(e){return e.length>15?`${e.slice(0,15)}…`:e}function H(e){return e.name?.trim()||Yt(e.clientId)}function en(e){const{eligibleClients:t,ownClientId:s,driving:r,pinnedClientId:a}=e,o=t.find(l=>l.clientId===s&&l.connected),c=r!==null&&!r.connected,i=!r||r.clientId===s;return{mode:c?"offline":i?"here":"elsewhere",hostName:r?H(r):o?H(o):"",canSwitchHere:!!(o&&a!==s)}}const tn=n.createSelector(e=>e?.browserClients?.ownClientId??null),sn=n.createSelector(e=>e?.browserClients?.ownClientIdConfirmed===!0);n.createSelector(e=>g(e.browserClients.liveClients));const rn=n.createSelector((e,t)=>t?e?.browserClients?.byWorkspaceId[t]?.liveClientsLoaded??!1:e?.browserClients?.liveClientsLoaded??!1);n.createSelector((e,t)=>k(e.browserClients.liveClients,t));const nn=n.createSelector((e,t)=>(e?.browserClients?.byWorkspaceId[t]??Z).browserClient),an=n.createSelector((e,t)=>{const s=e?.browserClients?.byWorkspaceId[t];return s?.pinnedClientId!==void 0||s?.browserClient!=null});function X(e){const t=e.prettyHostname??e.hostname??e.name;return{clientId:e.clientId,...t!==void 0?{name:t}:{},connected:!0}}const on=n.createSelector((e,t)=>{const s=e?.browserClients??Q,r=s.byWorkspaceId[t]?.liveClients??ee(),a=g(r).filter(y=>y.capabilities.browserExec===!0).map(X),o=(s.byWorkspaceId[t]??Z).browserClient,c=s.byWorkspaceId[t],i=c?.pinnedClientId!==void 0?c.pinnedClientId:o?.source==="workspace"?o.clientId:null,l=i===null?Rt(o):void 0;let m=null;if(o?.resolved){const y=k(r,o.resolved.clientId);m=y?X(y):{...o.resolved,connected:!0}}else o?.source==="workspace"?m={clientId:o.clientId,connected:!1}:l&&(m={clientId:l.clientId,connected:!1});return{eligibleClients:a,ownClientId:s.ownClientId??"",routedVia:o?.source==="default"?l?.via:void 0,driving:m,pinnedClientId:i}}),cn=n.createSelector((e,t)=>{const s=e?.browserClients??Q;if(!s.ownClientId||!s.ownClientIdConfirmed)return!1;const r=s.byWorkspaceId[t]?.liveClients??ee(),a=k(r,s.ownClientId);return a!==void 0&&a.capabilities.browserExec!==!0}),ln=n.createSelector((e,t,s)=>{const r=e?.browserClients??Q,a=s?r.byWorkspaceId[s]?.liveClients??ee():r.liveClients,o=s?r.byWorkspaceId[s]?.liveClientsLoaded:r.liveClientsLoaded,c=k(a,t);return c?{name:H(X(c)),connected:!0}:{name:H({clientId:t}),connected:!o}}),un=n.createSelector((e,t)=>(e?.browserClients?.byWorkspaceId[t]??Z).tabsRevision),dn=n.createSelector(e=>Object.entries(e.browserClients?.byWorkspaceId??{}).filter(([,t])=>Object.keys(t.consumers??{}).length>0).map(([t])=>t)),N=new Map;function pn(e,t){return N.set(e,t),()=>{N.get(e)===t&&N.delete(e)}}async function mn(e){const t=N.get(e);return t?t():null}function hn(e){N.delete(e)}const Ee="From repo config",fn="repo-config";function Sn(e,t){return t==="repo-config"?p.workspace_setupScriptEditor_fromRepoConfig_name():t==="custom"?p.workspace_setupScriptEditor_custom_name():e}function Te(e){if(!e||typeof e!="object"||Array.isArray(e))return{setupScript:null};const t=e.setupScript;return{setupScript:typeof t=="string"&&t.trim().length>0?t:null}}function Xt(e){let t;try{t=JSON.parse(e)}catch{return null}return Te(t).setupScript}async function gn(e){if(!e)return null;try{const t=await w(Et.SETUP_SCRIPTS.READ_REPO_CONFIG,{repoPath:e}),s=t?.success?t.data?.content:null;return typeof s=="string"?Xt(s):null}catch{return null}}async function yn(e,t,s){if(!e||!t)return null;try{const{appClient:r}=await q(async()=>{const{appClient:o}=await import("./CVtLV3_x.js").then(c=>c.s);return{appClient:o}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21]),import.meta.url),a=await r.integrations.githubRepoConfig(e,t,s);return Te(a.config).setupScript}catch{return null}}function bn(e){const t=e.setupScript.trim();return t?e.setupScriptNameSource==="repo-config"&&e.setupScriptName===Ee&&e.repoConfigScriptRepo===e.repoPath&&t===(e.repoConfigScript??"").trim()?void 0:t:e.explicitChoice?"cd .":void 0}function kn(e){const{repoConfigScript:t,lastUsed:s,genericTemplate:r}=e;return t?{content:t,name:Ee,source:"repo-config"}:s?{content:s.content,name:s.nameSource==="repo-config"?"Custom":s.name,source:s.nameSource==="repo-config"?"custom":s.nameSource??"named"}:r?{content:r.content,name:r.name,source:"named"}:{content:"",name:"Custom",source:"custom"}}const Pe="setup-scripts:last-used-by-repo",Oe="setup-scripts:recent-by-repo",$=20,We=10,Zt=["repo-config","custom","named"];function ne(e,t){return t?`${e}\0${t}`:e}function Ne(e){if(!e||typeof e!="object"||Array.isArray(e))return!1;const t=e;return typeof t.name=="string"&&typeof t.content=="string"&&t.content.trim().length>0&&typeof t.usedAt=="string"&&(t.nameSource===void 0||Zt.includes(t.nameSource))}function B(){try{const e=localStorage.getItem(Pe);if(!e)return{};const t=JSON.parse(e);if(!t||typeof t!="object"||Array.isArray(t))return{};const s={};for(const[r,a]of Object.entries(t))r&&Ne(a)&&(s[r]=a);return s}catch{return{}}}function xe(){try{const e=localStorage.getItem(Oe);if(!e)return{};const t=JSON.parse(e);if(!t||typeof t!="object"||Array.isArray(t))return{};const s={};for(const[r,a]of Object.entries(t)){if(!r||!Array.isArray(a))continue;const o=a.filter(Ne);o.length>0&&(s[r]=o)}return s}catch{return{}}}function Qt(e,t){return e.name===t.name&&(e.nameSource??"named")===(t.nameSource??"named")&&e.content.trim()===t.content.trim()}function Me(e){return[...e].sort((t,s)=>s.usedAt.localeCompare(t.usedAt))}function Le(e){const t=[];for(const s of e)t.some(r=>Qt(r,s))||t.push(s);return t}function wn(e,t){if(!e)return[];const s=ne(e,t),r=xe()[s]??[],a=B()[s];return Le(Me(a?[...r,a]:r)).slice(0,We).map(c=>({name:c.name,content:c.content,nameSource:c.nameSource??"named",usedAt:c.usedAt}))}function es(e,t,s){try{const r=xe(),a=r[e]??(s?[s]:[]);r[e]=Le([t,...Me(a)]).slice(0,We);const o=Object.entries(r);o.length>$&&(o.sort(([,c],[,i])=>i[0].usedAt.localeCompare(c[0].usedAt)),o.length=$),localStorage.setItem(Oe,JSON.stringify(Object.fromEntries(o)))}catch{}}function In(e,t){if(!e)return;const s=B()[ne(e,t)];return s?{name:s.name,content:s.content,nameSource:s.nameSource??"named"}:void 0}function _n(e,t,s){const r=t.content.trim();if(!e||!r)return;const a=ne(e,s),o={name:t.name,content:r,usedAt:new Date().toISOString(),nameSource:t.nameSource??"named"};es(a,o,B()[a]);try{const c=B();c[a]=o;const i=Object.entries(c);i.length>$&&(i.sort(([,l],[,m])=>m.usedAt.localeCompare(l.usedAt)),i.length=$),localStorage.setItem(Pe,JSON.stringify(Object.fromEntries(i)))}catch{}}const ts={async isAuthenticated(e){try{return await w(P.IS_AUTHENTICATED,...e===void 0?[]:[{workspaceId:e}])}catch{return!1}},async getAuthState(e=!1,t){try{return await w(P.GET_AUTH_STATE,e,...t===void 0?[]:[{workspaceId:t}])}catch{return{isAuthenticated:!1,requiresDaemonAuth:!0}}},async getStatus(e){try{return await w(P.GET_STATUS,...e===void 0?[]:[{workspaceId:e}])}catch{return{isConfigured:!1,oauthUrl:""}}},async fetchMyIssues(e="assigned",t){return(await this.fetchMyIssuesPage(e,t===void 0?void 0:{workspaceId:t})).issues},async fetchMyIssuesPage(e="assigned",t){try{return await w(P.FETCH_MY_ISSUES,e,t)}catch{return{issues:[],nextToken:null}}},async searchIssues(e,t){return(await this.searchIssuesPage(e,t===void 0?void 0:{workspaceId:t})).issues},async searchIssuesPage(e,t){try{return await w(P.SEARCH_ISSUES,e,t)}catch{return{issues:[],nextToken:null}}}},vn=Object.freeze(Object.defineProperty({__proto__:null,linearAuthClient:ts},Symbol.toStringTag,{value:"Module"})),_={IS_AUTHENTICATED:"sentry-auth:is-authenticated",SAVE_CONFIG:"sentry-auth:save-config",GET_AUTH_STATE:"sentry-auth:get-auth-state",LOGOUT:"sentry-auth:logout",FETCH_PROJECTS:"sentry-auth:fetch-projects",FETCH_ISSUES:"sentry-auth:fetch-issues",SEARCH_ISSUES:"sentry-auth:search-issues",GET_ISSUE:"sentry-auth:get-issue"},ss={async isAuthenticated(e){try{return await w(_.IS_AUTHENTICATED,...e===void 0?[]:[{workspaceId:e}])}catch{return!1}},async saveConfig(e,t){return await w(_.SAVE_CONFIG,{organization:e,apiToken:t})},async getAuthState(e){try{return await w(_.GET_AUTH_STATE,...e===void 0?[]:[{workspaceId:e}])}catch{return{isAuthenticated:!1}}},async logout(){await w(_.LOGOUT)},async fetchProjects(e){try{return await w(_.FETCH_PROJECTS,...e===void 0?[]:[{workspaceId:e}])}catch{return[]}},async fetchIssues(e){return(await this.fetchIssuesPage(e)).issues},async fetchIssuesPage(e){try{return await w(_.FETCH_ISSUES,e)}catch{return{issues:[],nextToken:null}}},async searchIssues(e,t){return(await this.searchIssuesPage(e,t)).issues},async searchIssuesPage(e,t,s){try{return await w(_.SEARCH_ISSUES,{query:e,project:t,...s})}catch{return{issues:[],nextToken:null}}},async getIssue(e,t){try{return await w(_.GET_ISSUE,e,...t===void 0?[]:[{workspaceId:t}])}catch{return null}}},Cn=Object.freeze(Object.defineProperty({__proto__:null,sentryAuthClient:ss},Symbol.toStringTag,{value:"Module"})),ae=n.createSelector(e=>{const t=v.select(e);return!t||!ct.select(e)?null:JSON.stringify([t,e.hostExecution.generation,e.repositoryCheckout.authorityGeneration,e.gitlabAuth.host,e.gitlabAuth.instanceBaseUrl,e.gitlabAuth.statusReady,e.gitlabAuth.isConfigured,e.gitlabAuth.user])}),K=n.createSelector((e,t)=>k(e.repositoryCheckout.forms,t)??null),An=n.createSelector((e,t)=>{const s=K.select(e,t);return s?.admission===ae.select(e)&&s.status==="ready"?g(s.projects):[]}),Rn=n.createSelector((e,t)=>{const s=K.select(e,t);return s?.admission===ae.select(e)&&s.status==="ready"?g(s.branches):[]}),rs=n.createSelector((e,t)=>{const s=K.select(e,t);return!s||s.status!=="ready"||s.admission!==ae.select(e)||!s.capture||!s.project||!s.branch?null:{checkoutId:s.capture.checkoutId,revision:s.capture.revision,projectPath:s.project.projectPath,branch:s.branch.name,commitSha:s.branch.commitSha,mode:s.mode}}),En=n.createSelector((e,t)=>{const s=rs.select(e,t);return!!s&&(s.mode==="direct"||K.select(e,t)?.warmStatus==="ready")}),Tn="__new-workspace__",Pn="__initializer__",On="compact-workspace-initializer-state-prompt",Wn="onboarding-prompt",U=20*1024*1024,ye=Nt("NewWorkspaceDraft");function Nn(e,t){if(e.length>U)return ye.warn("Draft text exceeds the size guard; skipping persistence",{textLength:e.length,limit:U}),null;const s=Tt(t);if(s.length===0)return{text:e};const r=[];let a=e.length+2,o=0;for(const c of s){const i=JSON.stringify(c).length+1;if(a+i>U){o+=1;continue}r.push(c),a+=i}return o>0&&ye.warn("Draft attachments exceed the size guard; persisting the ones that fit",{limit:U,attachmentCount:s.length,droppedCount:o}),r.length>0?{text:e,attachments:r}:{text:e}}const ns="host.providerAuthStatus";function as(e={}){const t={};return e.workspaceId&&(t.workspaceId=e.workspaceId),typeof e.providerId=="string"&&e.providerId.length>0&&(t.providerId=e.providerId),typeof e.force=="boolean"&&(t.force=e.force),t}function os(e,t){const s=t.toLowerCase(),r=e.toLowerCase();return s.startsWith(r)?/^(['’]s\s+organization)?$/.test(s.slice(r.length)):!1}function cs(e){const{email:t,orgName:s}=e??{};return t&&s?os(t,s)?t:`${t} · ${s}`:t||s||void 0}function is(e){const t={};for(const s of e?.providers??[]){const r={authenticated:s.authenticated??void 0},a=cs(s.identity);a!==void 0&&(r.authDetails=a),s.identity?.email&&(r.email=s.identity.email),t[s.id]=r}return t}const ls=6e4,R=new Map,j=new Map,A=new Map;let F=0,De=0;const us=e=>JSON.stringify([it.select(n.state),De,e.workspaceId??null,e.providerId??"*"]);function ds(e){if(e.method!=="events.event"||!e.params)return;const t=e.params,r=(t.event&&typeof t.event=="object"?t.event:t).type;return typeof r=="string"?r:void 0}function J(e){if(F+=1,e)for(const t of R.keys()){const[,,,s]=JSON.parse(t);(s===e||s==="*")&&R.delete(t)}else R.clear()}typeof pe=="function"&&pe(e=>{["provider:auth-changed","host:execution-context-changed"].includes(ds(e)??"")&&J()});typeof me=="function"&&me(()=>{De+=1,J()});function ps(e={}){const t=us(e);if(e.force)J(e.providerId);else{const o=R.get(t);if(o&&o.expiresAt>Date.now())return Promise.resolve(o.verdicts);o&&R.delete(t)}const s=j.get(t);if(!e.force&&s?.generation===F)return s.promise;if(s){const o=A.get(t);if(o)return o.force||=e.force===!0,o.promise;let c;const i=s.promise.catch(()=>({})).then(()=>(A.get(t)===c&&A.delete(t),ps({...e,force:c.force}))).finally(()=>{A.get(t)===c&&A.delete(t)});return c={force:e.force===!0,promise:i},A.set(t,c),i}const r=F,a=Ae(ns,as(e)).then(is).then(o=>(r===F&&R.set(t,{verdicts:o,expiresAt:Date.now()+ls}),o)).finally(()=>{j.get(t)?.promise===a&&j.delete(t)});return j.set(t,{generation:r,promise:a}),a}function xn(e,t){return e.name?.trim()?e.name.trim():e.kind==="workspace"?e.id&&e.id!=="default"?p.workspace_discussion_conversation_title():p.workspace_discussion_title():e.participants.filter(r=>r.principalId!==t).map(r=>r.displayName||r.login||p.workspace_discussion_unknownAuthor_label()).join(", ")||p.workspace_discussion_group_title()}const ms=n.createSelector((e,t,s)=>{const r=Ce(e.repositoryContext,t);return s!==null&&r.binding===s?r:null});n.createSelector((e,t,s)=>{const r=ms.select(e,t.workspaceId,s);return r?.status==="ready"?k(r.roots,x(t))?.context:void 0});const Mn=n.createSelector((e,t)=>{if(t.admission===null||v.select(e)!==t.admission)return null;const s=Ce(e.repositoryContext,t.workspaceId),r=s.ownership;return!r||r.demandId!==t.demandId||r.admission!==t.admission||r.request.workspaceId!==t.workspaceId?null:{status:s.status,scope:s.scope,revision:s.revision,roots:s.status==="ready"?g(s.roots).map(a=>a.context):[],unavailableReason:s.unavailableReason}}),Ln=n.createSelector((e,t)=>{if(t.admission===null||v.select(e)!==t.admission)return null;const s=e.repositoryContext.selectionEdits,r=s?k(s,t.editId):void 0;return r&&r.status!=="closed"&&r.owner.admission===t.admission&&x(r.owner.root)===x(t.root)?r:null}),Dn=n.createSelector((e,t)=>{const s=e.repositoryContext.selectionEdits;return!!s&&g(s).some(r=>r.owner.root.workspaceId===t&&r.owner.admission===v.select(e)&&(r.status==="capturing"||r.status==="pending"&&(!r.observation||r.observation.attempt?.status==="pending")))}),Un=n.createSelector((e,t)=>{if(t.admission===null||v.select(e)!==t.admission||t.hostContext===null||lt.select(e,t.root.workspaceId)!==t.hostContext)return null;const s=e.repositoryContext.nativeReviewAttempts,r=s?k(s,t.attemptId):void 0;return r&&r.status!=="closed"&&r.owner.admission===t.admission&&r.owner.hostContext===t.hostContext&&x(r.owner.root)===x(t.root)?r:null}),jn=n.createSelector((e,t)=>e.repositoryContext.nativeReviewAttempts?k(e.repositoryContext.nativeReviewAttempts,t):void 0),be={auggie:"npm install -g @augmentcode/auggie","claude-code":"curl -fsSL https://claude.ai/install.sh | bash",codex:"npm i -g @openai/codex",opencode:"curl -fsSL https://opencode.ai/install | bash",droid:"curl -fsSL https://app.factory.ai/cli | sh",grok:"npm i -g @xai-official/grok",cursor:"curl https://cursor.com/install -fsS | bash",dsh:"npm i -g @deepseek-ai/dsh",cortex:"curl -LsS https://ai.snowflake.com/static/cc-scripts/install.sh | sh"};function Gn(e){return Object.hasOwn(be,e)?be[e]:void 0}const hs=["venv",".venv","virtualenv","node_modules","google-cloud-sdk","__pycache__",".pytest_cache",".mypy_cache",".ruff_cache",".tox",".nox"];function fs(e){return e.replace(/\\/g,"/").split("/").filter(t=>t.length>0&&t!==".")}function Ss(e){const t=new Set(hs);return fs(e).some(s=>t.has(s))}const gs=new Set(["lastActivity","statusMessage","statusImageAssetId"]),ys=new Set([".git",".playwright-cli",".svelte-kit",".vite",".turbo",".cache",".parcel-cache",".next",".nuxt",".output","build","coverage","dist","playwright-report","target","test-results"]);function bs(e){return e.replace(/\\/g,"/").split("/").filter(t=>t.length>0&&t!==".")}function ks(e){if(!e.type.startsWith("file:"))return null;const t=e.data,s=t?.relativePath??t?.path??t?.filePath;return typeof s=="string"&&s.length>0?s:null}function ws(e){const t=ks(e);return!t||Ss(t)?!1:!bs(t).some(s=>ys.has(s))}function Is(e){if(e.type==="workspace:displayStatus-changed")return!0;if(e.type!=="workspace:updated")return!1;const t=e.data;if(!t?.changes||typeof t.changes!="object"||Array.isArray(t.changes))return!1;const s=Object.keys(t.changes).filter(r=>r!=="workspaceId");return s.length>0&&s.every(r=>gs.has(r))}function h(e){return typeof e=="string"?e.trim():""}function E(e){return e&&typeof e=="object"&&!Array.isArray(e)?e:{}}function ke(e){const t=E(e.data),s=h(t.agentId)||h(e.sessionId),r=h(t.messageId);return s&&r?JSON.stringify([s,r]):""}function _s(e){const t=E(e.data),s={workspaceId:e.workspaceId,closable:!0},r=a=>a?{...s,type:"note",noteId:a,title:h(t.title)||h(t.noteTitle)||p.layout_tabTypes_note_title()}:null;switch(e.type){case"note:created":case"note:updated":case"comment:added":case"comment:resolved":return r(h(t.noteId));case"task:status-changed":return r(h(t.noteId)||h(t.linkedNoteId));case"spec:updated":case"goal:updated":return r("spec");case"agent:created":case"agent:renamed":case"agent:restored":case"agent:updated":case"agent:message":case"agent:user-message:sent":{const a=h(t.agentId)||h(e.sessionId);return a?{...s,type:"agent",agentId:a,title:h(t.agentName)||p.layout_tabTypes_agent_title()}:null}case"file:changed":{const a=h(t.path)||h(t.relativePath);return a&&t.action!=="delete"?{...s,type:"file",filePath:a,title:a.split(/[\\/]/).pop()||a}:null}case"git:commit":{const a=h(t.commit),o=h(t.gitRootId);return a?{...s,type:"changes",title:p.layout_tabTypes_changes_title(),data:{commitHash:a,...o?{gitRootId:o}:{}}}:null}default:return null}}function we(e,t){const s=E(e.data),r=Object.fromEntries(Object.entries(s).filter(([,c])=>typeof c=="string")),a=c=>t?p.workspace_peopleActivity_actorAction_label({name:t,action:c}):c;switch(e.type){case"note:created":case"note:updated":case"note:deleted":case"spec:updated":case"goal:updated":return O({...e,actor:{...e.actor,name:t},data:r});case"agent:created":case"agent:renamed":case"agent:deleted":case"agent:restored":case"git:commit":case"git:push":case"git:pull":case"git:branch":case"git:merge":return a(O({...e,actor:{...e.actor,name:void 0},data:r}));case"agent:updated":return h(s.modelId)||s.completionReportCleared===!0?a(O({...e,actor:{...e.actor,name:void 0},data:s})):null;case"file:changed":return ws(e)?O({...e,actor:{...e.actor,name:t},data:{path:h(s.path)||h(s.relativePath),action:h(s.action)}}):null;case"comment:added":return t?p.events_activity_authorCommented_label({author:t}):p.workspace_peopleActivity_commented_label();case"comment:resolved":return s.resolved===!1?a(p.events_activity_reopenedCommentThread_label()):s.resolved===!0?a(p.events_activity_resolvedCommentThread_label()):null;case"agent:message":case"agent:user-message:sent":{const c=h(s.agentName)||h(s.toAgentName);return a(c?p.workspace_peopleActivity_messagedAgent_label({agent:c}):p.workspace_peopleActivity_sentMessage_label())}case"task:status-changed":return a(O({...e,actor:{...e.actor,name:void 0},data:{taskName:h(s.taskName)||h(s.noteTitle),newStatus:h(s.newStatus)||h(s.status)}}));case"workspace:created":return a(p.events_activity_createdWorkspace_label());case"workspace:updated":{if(Is(e))return null;const c=E(s.changes);if(Object.keys(c).filter(l=>l!=="workspaceId").length===0)return null;const i=h(c.title);return a(i?p.events_activity_renamedWorkspaceTo_label({title:i}):p.events_activity_updatedWorkspace_label())}default:return null}}function W(e,t){const s=h(e);return s===t||/^(user|you|system|unknown|anonymous|local user)$/i.test(s)?"":s}function vs(e,t,s,r){const a=new Map(s.map(u=>[u.principalId,u])),o=new Map;for(const u of t){if(u.workspaceId!==e||u.type!=="agent:last-message")continue;const d=E(u.data),f=de({role:d.role==="user"?"user":"system",author:d.author,metadata:d.metadata}),S=ke(u);if(!f||!S||typeof d.lastUserMessage!="string")continue;const b=Pt({id:h(d.messageId),role:"user",timestamp:u.timestamp,contentBlocks:[{type:"text",text:d.lastUserMessage}],author:f,metadata:d.metadata},r);b&&o.set(S,b)}const c=new Set,i=new Set,l=[];let m=0;for(const u of t){if(u.workspaceId!==e||!h(u.id)||c.has(u.id))continue;const d=Date.parse(u.timestamp);if(!Number.isFinite(d)){m++;continue}const f=E(u.data),S=u.type==="agent:message",b=S?de({role:f.role==="user"?"user":"system",author:f.author,metadata:f.metadata}):null;if(S?!b:u.actor?.type!=="user"){S&&f.role==="user"&&u.actor?.type==="user"&&ut(f.metadata)&&l.push({row:null,timestamp:d,segment:m});continue}const Fe=S?h(f.messageId):"",T=S?ke(u):"";if(T&&i.has(T))continue;const C=h(u.actor?.id),Y=C?a.get(C):void 0,L=b?W(b.displayName,b.principalId??"")||W(b.login,b.principalId??""):W(u.actor.name,C)||W(Y?.displayName,C)||W(Y?.login,C),ce=we(u,"");if(!ce)continue;if(!L){l.push({row:null,timestamp:d,segment:m});continue}const D=S?o.get(T)??null:null,ie=D?p.workspace_peopleActivity_actorAction_label({name:L,action:D}):we(u,L);ie&&(c.add(u.id),T&&i.add(T),l.push({timestamp:d,segment:m,row:{id:u.id,name:L,principalId:b?h(b.principalId)||null:C||null,avatarUrl:b?b.avatarUrl:Y?.avatarUrl??null,label:ie,actionLabel:D??ce,continuation:!1,timestamp:u.timestamp,destination:_s(u),messageId:Fe||null,messagePreview:D}}))}l.sort((u,d)=>d.timestamp-u.timestamp);const y=[];for(const[u,d]of l.entries()){if(!d.row)continue;const f=l[u-1],S=f?f.timestamp-d.timestamp:NaN;d.row.continuation=!!(d.row.principalId&&f?.row?.principalId===d.row.principalId&&f.segment===d.segment&&Number.isFinite(S)&&S>=0&&S<=15*6e4),y.push(d.row)}return y}const qn=n.createSelector(e=>e.workspaceEvents.subscriptionAttempt),Fn=n.createSelector(e=>e.workspaceEvents.subscriptionGeneration),Cs=n.createSelector((e,t)=>(e.workspaceEvents.byWorkspaceId[t]??te).events),Hn=n.createSelector((e,t)=>(e.workspaceEvents.byWorkspaceId[t]??te).nextToken),$n=n.createSelector((e,t)=>(e.workspaceEvents.byWorkspaceId[t]?.peopleRequestId??null)!==null),Bn=n.createSelector((e,t)=>e.workspaceEvents.byWorkspaceId[t]?.peopleError??null),Vn=n.createSelector((e,t)=>e.workspaceEvents.byWorkspaceId[t]?.peopleInitialized??!1),Ue=n.createSelector((e,t)=>(e.workspaceEvents.byWorkspaceId[t]??te).peopleStreams),zn=n.createSelector((e,t)=>Object.values(Ue.select(e,t)).every(s=>s.initialized&&s.nextToken===null)),Kn=n.createSelector((e,t,s)=>{const r=Cs.select(e,t),o=vs(t,r,_t.select(e,t),M.select(e,t)?.ownerPrincipalId)[s-1]?.timestamp,c=Ue.select(e,t);return["user","message"].filter(i=>{const l=c[i];if(!l.initialized)return!0;if(l.nextToken===null)return!1;const m=r.find(y=>y.id===l.oldestEventId)?.timestamp;return!o||!m||!(Date.parse(m)<=Date.parse(o))})});function Jn(e,t=e,s="default",r,a){if(!Dt.select(n.state))return;const o=a??xt.select(n.state,t)??Mt.select(n.state,t)[0];if(!o)return;const c=Lt.select(n.state,t,o),i={type:"discussion",title:r??(s==="new"?p.workspace_discussion_new_title():p.workspace_discussion_title()),workspaceId:e,closable:!0,data:{conversationId:s}},l=c?.tabs.find(m=>He(m,i));s==="new"&&n.dispatch($e(e)),n.dispatch(l?Be(t,l.id,o):Ve(t,i,o,void 0,!0,void 0,!0))}const Yn=n.createSelector((e,t)=>{const s=[],r=new Set,a=new Set,o=c=>{const i=c.block.attachmentId??c.id;if(!r.has(i)){if(!c.block.attachmentId&&c.block.data&&!c.block.dataTruncated){const l=`${c.block.mimeType}/${c.block.data}`;if(a.has(l))return;a.add(l)}r.add(i),s.push(c)}};for(const[c,i]of Object.entries(Ot.select(e,t)))for(const l of g(i))l.imageData&&l.imageMimeType?o({id:`draft/${c}/${l.id}`,name:l.label,block:{type:"image",data:l.imageData,mimeType:l.imageMimeType}}):l.type==="file"&&(l.attachmentId||l.placementStatus)&&o({id:`draft/${c}/${l.id}`,name:l.label,placementStatus:l.placementStatus,block:{type:l.attachmentMimeType?.startsWith("image/")?"image":"file",attachmentId:l.attachmentId,mimeType:l.attachmentMimeType,fileName:l.label,size:l.attachmentSize}});for(const c of dt.select(e,t)){const i=pt.select(e,c),l=[...mt.select(e,c),...ht.select(e,c)];for(const m of l)if(m.role==="user")for(const[y,u]of(m.contentBlocks??[]).entries()){if(u.type!=="image"&&!Wt(u))continue;const d=u.id?i?.[ze(m.id,u.id)]:void 0,f=d?.status==="loaded"?d.block:u;o({id:`${c}/${m.id}/${u.id??y}`,name:f.fileName,block:f,agentId:c,messageId:m.id,hydration:d})}}return s}),As=n.createSelector((e,t)=>e.context.byWorkspaceId[t]??Ke),Rs=n.createSelector((e,t)=>g(As.select(e,t).items)),Xn=n.createSelector((e,t)=>Rs.select(e,t).filter(s=>!s.parentNoteId)),Zn=n.createSelector((e,t)=>e.agentLock.byWorkspaceId[t]?.lockedAgentIds??je),Qn=n.createSelector((e,t)=>e.agentLock.byWorkspaceId[t]?.lockedFilePaths??je),je={},ea=n.createSelector((e,t,s)=>{const r=e.gitWrite.byWorkspaceId[t]?.operations;return r?k(r,s):void 0}),Ge=n.createSelector((e,t)=>{const s=e.gitWrite.byWorkspaceId[t]?.operations;return s?g(s):[]}),ta=n.createSelector((e,t)=>Ge.select(e,t).some(s=>s.status==="queued"||s.status==="running")),sa=n.createSelector((e,t)=>Ge.select(e,t).filter(s=>s.operation.kind==="partialCommit"&&(s.status==="queued"||s.status==="running")));function Ie(e){return e.title||`PR #${e.number}`}const oe=n.createSelector((e,t)=>{const s=e.gitRoots?.byWorkspaceId?.[t];return s?g(s.gitRoots):[]});function Es(e){return{key:"primary",isPrimary:!0,path:e.worktreePath??e.path,branch:e.branch,repoOwner:e.repositoryOwner,repoName:e.repositoryName,prNumber:e.prNumber,prUrl:e.prUrl,prStatus:e.prStatus,pullRequests:e.pullRequests}}function Ts(e){return{key:e.id,isPrimary:!1,path:e.path,branch:e.branch,repoOwner:e.repoOwner,repoName:e.repoName,prNumber:e.prNumber,prUrl:e.prUrl,prStatus:e.prStatus,pullRequests:e.pullRequests,gitRoot:e}}const ra=n.createSelector((e,t)=>{const s=M.select(e,t),r=oe.select(e,t).map(Ts);return s?[Es(s),...r]:r}),na=n.createSelector((e,t)=>oe.select(e,t).length>0),aa=n.createSelector(e=>Object.entries(e.gitRoots?.byWorkspaceId??{}).filter(([,t])=>Object.keys(t.consumers??{}).length>0).map(([t])=>t)),Ps=n.createSelector((e,t,s)=>k((e.acceptWorkflow.byWorkspaceId[t]??Je).operations,s)),oa=n.createSelector((e,t,s)=>Ps.select(e,t,s)?.status==="running"),ca=n.createSelector((e,t)=>e.acceptWorkflow.byWorkspaceId[t]?.mergeDrawerOpen??!1),ia=n.createSelector((e,t)=>{const s=ft.select(e,t)?.hasRemote??!1,r=M.select(e,t)?.pullRequests?.some(a=>a.status===le.Open||a.status===le.Draft)??!1;return{squash:!1,viaPR:s&&r,pushAfter:s,...e.acceptWorkflow.byWorkspaceId[t]?.mergeOptions}}),la=n.createSelector(e=>Object.keys(e.acceptWorkflow.byWorkspaceId).filter(t=>e.acceptWorkflow.byWorkspaceId[t].observerRequested)),ua=n.createSelector((e,t)=>{const s=M.select(e,t),r=St.select(e,t),a=gt.select(e,t),o=s?.repositoryOwner&&s.repositoryName?`${s.repositoryOwner}/${s.repositoryName}`:void 0,c=vt(Ct(s?.pullRequests,s?.activePullRequest,(i,l)=>At(i,s?.repositoryOwner,s?.repositoryName,l),Ie,o),yt.select(e,t),o,oe.select(e,t),Ie).own;return{visible:(e.acceptWorkflow.byWorkspaceId[t]?.consumerCount??0)>0,ready:kt.select(e,t),owner:!bt.select(e,t),authenticated:Ut.select(e),pushedCount:r.filter(i=>i.isPushed).length,hasRemote:a.hasRemote,clearReset:a.hasResetToTrunk&&c.some(i=>i.status!=="merged"),clearMerge:!!(a.mergeHeadSha&&r[0]?.hash&&a.mergeHeadSha!==r[0].hash)}}),da=n.createSelector((e,t,s)=>e.bgExecutor?.byWorkspaceId[t]?.executors[s]??Ye),Os=n.createSelector((e,t)=>e.prWorkflow.byWorkspaceId[t]??Xe);n.createSelector((e,t,s)=>Os.select(e,t).operations[s]);const pa=n.createSelector(e=>Object.keys(e.noteReadTracking.unreadNoteIds)),ma=n.createSelector(e=>e.noteReadTracking.readRecords),Ws="host.providerTestPrompt",Ns=Gt("ok",[he({ok:fe(!0)}).passthrough(),he({ok:fe(!1),reason:Se().min(1),message:Se()}).passthrough()]),xs=3e5;async function ha(e){const t=await Ae(Ws,{providerId:e.providerId,...e.model?{model:e.model}:{}},{timeoutMs:xs}),s=Ns.parse(t);return(s.ok||s.reason==="auth-required")&&J(e.providerId),s}const Ms=-1,Ls=/^remote-script-lost:\s*/,Ds=["idle","starting","running","restarting","exited"],_e=e=>!!e&&typeof e=="object"&&!Array.isArray(e),ve=e=>typeof e=="string"&&e.trim().length>0;function Us(e){return _e(e)&&ve(e.remoteAgentId)&&ve(e.nodeId)&&_e(e.runtime)&&Ds.includes(e.runtime.status)}function fa(e){return Array.isArray(e.machineRuns)?e.machineRuns.filter(Us):[]}function Sa(e,t,s){const r=qt(e.nodeId,s)??{nodeId:e.nodeId,name:p.remoteAgent_location_unknownMachine(),platform:null,state:"ready"};if(s&&s.id===e.nodeId)return r;const a=t?.nodeId===e.nodeId?t:null;return{...r,name:a?.nodeName?.trim()||r.name,platform:Ft(a?.placement?.os,a?.placement?.arch)}}function js(e){return e.status==="exited"&&e.exitCode===Ms}function Gs(e){const t=e.error?.trim().replace(Ls,"").trim();switch(t){case"the machine disconnected":return p.scripts_remote_lostDisconnected_label();case"the machine was removed":return p.scripts_remote_lostRemoved_label();case"the agent was deleted":return p.scripts_remote_lostAgentDeleted_label();case"the agent was stopped for good":return p.scripts_remote_lostAgentStopped_label();default:return t||p.scripts_remote_lostReason_fallback()}}function ga(e){if(js(e))return{kind:"lost",label:p.scripts_remote_lost_tooltip({reason:Gs(e)})};const t=jt(e);switch(t){case"running":return{kind:t,label:p.terminal_quakeOverlay_status_running()};case"restarting":return{kind:t,label:p.workspace_devScripts_restarting_label()};case"idle":return{kind:t,label:p.terminal_quakeOverlay_status_idle()};case"succeeded":return{kind:t,label:p.terminal_quakeOverlay_status_exitedZero()};case"failed":return{kind:t,label:p.terminal_quakeOverlay_status_errorCode({code:e.exitCode??1})};case"stopped":return{kind:t,label:p.terminal_quakeOverlay_status_stoppedSignal({signal:(e.exitCode??128)-128})};default:return{kind:t,label:p.terminal_quakeOverlay_status_exited()}}}const G=e=>typeof e=="string"&&e.length>0,qs=/\bremote-script-agent-ending:/;function ya(e){return!!e&&qs.test(e)}function ba(e){if(!e||typeof e!="object")return null;const t=e.data;if(!t||typeof t!="object")return null;const s=t,r=e instanceof Error&&e.message?{message:e.message}:{};return s.code==="machine-update-required"?{success:!1,code:"machine-update-required",update:s.update==="backend"?"backend":"machine",...G(s.machineVersion)?{machineVersion:s.machineVersion}:{},...G(s.backendVersion)?{backendVersion:s.backendVersion}:{},...r}:s.code==="machine-unreachable"?{success:!1,code:"machine-unreachable",attempts:Array.isArray(s.attempts)?s.attempts.flatMap(o=>{const c=o??{};return G(c.route)&&G(c.error)?[{route:c.route,error:c.error}]:[]}):[],...r}:null}function ka(e){const s=e.filter(a=>a.runtime.status==="running"&&a.runtime.detectedUrl?.trim()).sort((a,o)=>(o.runtime.startedAt??"").localeCompare(a.runtime.startedAt??""))[0],r=s?.runtime.detectedUrl?.trim();return!s||!r?null:{scriptId:s.id,name:s.name,url:r}}const Fs={status:"idle",error:null},Hs=n.createSelector((e,t)=>e.workspaceLifecycle.loadByWorkspaceId[t]??Fs);n.createSelector((e,t)=>Hs.select(e,t).error);const wa=n.createSelector((e,t)=>k(e.workspace.workspaces,t)??e.workspace.pendingCreations[t]),qe=n.createSelector((e,t)=>e.workspaceLifecycle.sessionPhaseByWorkspaceId[t]),$s=e=>e==="hydrated"||e==="live",Ia=n.createSelector((e,t)=>{const s=qe.select(e,t);return s==="hydrated"||s==="live"}),_a=n.createSelector(e=>{const t=e.workspaceLifecycle.sessionPhaseByWorkspaceId;return Object.keys(t).filter(s=>$s(t[s]))}),va=n.createSelector((e,t)=>qe.select(e,t)==="live");function Ca(e){const{selectedProviderId:t,activeProviderId:s,recommitActive:r,dispatch:a}=e;if(!t)return;const o=s&&Ze(s)===t?s:t;if(!(!r&&o===s))return a(Qe({providerId:t,enabled:!0})),a(et(o)),a(tt()),t}function Aa(e){const t=[];for(const s of e){let r={};if(s.metadata)try{r=JSON.parse(s.metadata)}catch{}const a=[];if(a.push(`[${s.identifier}] ${s.title}`),s.url&&a.push(`URL: ${s.url}`),s.description&&a.push(`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/B0SSzYpD.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/Fcr7AvC-.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/chunks/D0qhIm1r.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/BS1zON0P.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/CWfjuhY2.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/BAtAwQ72.js","/app/immutable/chunks/TdGvVwuC.js","/app/immutable/chunks/BRCr02in.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/CZfU7DE3.js","/app/immutable/chunks/DP31pjuo.js","/app/immutable/chunks/Bw-Zu1Zf.js","/app/immutable/chunks/BYfDvU8j.js","/app/immutable/chunks/D8cNe_33.js","/app/immutable/chunks/BFO-Le8U.js","/app/immutable/assets/register.CUyDR59i.css","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/CQ409-Pj.js","/app/immutable/chunks/BwweojP5.js","/app/immutable/chunks/ghzRmqKs.js","/app/immutable/assets/terminal-manager.MhP_vFvK.css","/app/immutable/chunks/CtzbB_EQ.js","/app/immutable/chunks/DlnCrS3y.js","/app/immutable/chunks/cD292w1o.js","/app/immutable/chunks/ChHRVjww.js","/app/immutable/chunks/2z64ELW5.js","/app/immutable/chunks/BhYXv0ZM.js","/app/immutable/chunks/CA6H1-bp.js","/app/immutable/chunks/C7b3vXLD.js","/app/immutable/chunks/CL3a4Hm1.js","/app/immutable/chunks/BuM8LV7z.js","/app/immutable/chunks/_IjN0Lbt.js","/app/immutable/chunks/CH7HNVC2.js","/app/immutable/chunks/DejjV5ft.js","/app/immutable/chunks/CccfsETL.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/b7gnFN68.js","/app/immutable/chunks/ByvcSsIj.js","/app/immutable/chunks/D-j7vD5Z.js","/app/immutable/chunks/DkQdSPDN.js","/app/immutable/chunks/Beq_QLuz.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/Cc0763mU.js","/app/immutable/chunks/DRMe5Ypb.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/CxR-pcVt.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.DylRFR3N.css","/app/immutable/chunks/D4WPlvMg.js"])))=>i.map(i=>d[i]);
2
+ import{JH as n,o8 as I,n_ as g,nZ as k,ms as Z,r1 as Q,iq as ee,of as Ce,mv as te,vY as He,jY as $e,E0 as Be,vt as Ve,qA as ze,mu as Ke,m7 as Je,aU as le,mh as Ye,mn as Xe,yJ as Ze,GD as Qe,D_ as et,Ag as tt,od as st,mx as rt}from"./D0qhIm1r.js";import{selectActiveWorkspaceIds as nt}from"./_IjN0Lbt.js";import{b8 as V,b3 as se,cR as v,cU as ue,cC as at,dI as M,cx as ot,b4 as ct,cS as it,dD as lt,v as de,Z as ut,dF as dt,ch as pt,aw as mt,aG as ht,ao as ft,bQ as St,cO as gt,db as yt,cA as bt,bR as kt}from"./cD292w1o.js";import{x as wt}from"./DejjV5ft.js";import{ag as It,cQ as _t,aZ as vt,av as Ct,p as At}from"./D-j7vD5Z.js";import{h as Rt}from"./B0SSzYpD.js";import{bm as p,_ as q}from"./Fcr7AvC-.js";import{i as w}from"./CL3a4Hm1.js";import{I as Et}from"./Bqd7fdCF.js";import{L as P}from"./s_T1Uukt.js";import{ag as Tt,l as Pt,i as O,a9 as Ot,q as Wt}from"./ByvcSsIj.js";import{c as Nt}from"./ChTqQfQN.js";import{r as x}from"./uXuxG9cN.js";import{j as xt,u as Mt,n as Lt}from"./CH7HNVC2.js";import{u as Dt}from"./BwweojP5.js";import{aq as Ut,p as jt}from"./DlnCrS3y.js";import{M as pe,O as me,h as Ae}from"./BAtAwQ72.js";import{d as Gt,o as he,l as fe,s as Se}from"./CIyUrgF0.js";import{m as qt,p as Ft}from"./MFTfhUYi.js";const ur=n.createSelector(e=>e.workspaceShare.open),dr=n.createSelector(e=>e.workspaceShare.workspaceId),pr=n.createSelector(e=>{const{open:t,workspaceId:s,session:r}=e.workspaceShare;return t&&s?{workspaceId:s,session:r}:null}),re=n.createSelector(e=>{const{open:t,workspaceId:s,withheld:r}=e.workspaceShare;return!t||!s||r||I(e.workspaceShare,s).inviteWithheld?!1:V.select(e,s)}),mr=n.createSelector(e=>e.workspaceShare.createRequest),hr=n.createSelector(e=>e.workspaceShare.mutationGeneration),fr=n.createSelector(e=>e.workspaceShare.workspaceTitle),Sr=n.createSelector(e=>g(e.workspaceShare.members)),gr=n.createSelector((e,t)=>k(e.workspaceShare.members,t)!==void 0),yr=n.createSelector(e=>e.workspaceShare.open&&e.workspaceShare.workspaceId&&!e.workspaceShare.withheld&&!I(e.workspaceShare,e.workspaceShare.workspaceId).inviteWithheld?g(e.workspaceShare.invites).filter(t=>t.workspaceId===e.workspaceShare.workspaceId):[]),br=n.createSelector(e=>{const{principals:t,members:s}=e.workspaceShare;return g(t).filter(r=>!k(s,r.principalId)&&(r.hostRole===void 0||r.hostRole==="guest"))}),kr=n.createSelector(e=>e.workspaceShare.guestCount),wr=n.createSelector(e=>e.workspaceShare.guestLimit),Ir=n.createSelector(e=>e.workspaceShare.loadStatus==="loading"),_r=n.createSelector(e=>e.workspaceShare.loadError),vr=n.createSelector(e=>e.workspaceShare.creating),Cr=n.createSelector(e=>e.workspaceShare.createError),Ar=n.createSelector(e=>e.workspaceShare.createdLink),Rr=n.createSelector(e=>e.workspaceShare.revokingInviteId),Er=n.createSelector(e=>e.workspaceShare.removingPrincipalId),Tr=n.createSelector(e=>e.workspaceShare.addingPrincipalId),Pr=n.createSelector(e=>e.workspaceShare.actionError),Or=n.createSelector((e,t)=>I(e.workspaceShare,t).loadStatus!=="idle"),Wr=n.createSelector((e,t)=>t?g(I(e.workspaceShare,t).members):[]),Nr=n.createSelector((e,t)=>!!t&&!I(e.workspaceShare,t).withheld&&V.select(e,t));n.createSelector((e,t)=>!!t&&I(e.workspaceShare,t).withheld);const xr=n.createSelector((e,t)=>t?I(e.workspaceShare,t).removingPrincipalId:null);n.createSelector((e,t)=>t?I(e.workspaceShare,t).removeError:null);const Mr=n.createSelector(e=>e.workspaceShare.integrationAuth),Lr=n.createSelector(e=>e.workspaceShare.ownerForgeMissing),z=n.createSelector(e=>re.select(e)&&se.select(e)&&e.workspaceShare.sharingContext!==null&&e.workspaceShare.sharingContext===v.select(e)),Ht=n.createSelector(e=>z.select(e)?e.workspaceShare.sharingEnabled:null),Dr=n.createSelector(e=>z.select(e)&&e.workspaceShare.sharingChecking),$t=n.createSelector(e=>z.select(e)&&e.workspaceShare.sharingEnabling),Bt=n.createSelector(e=>z.select(e)?e.workspaceShare.sharingError:null),Ur=n.createSelector(e=>{if(!re.select(e))return!1;const t=e.workspaceShare;return!t.integrationAuthLoaded||se.select(e)&&Ht.select(e)===null&&Bt.select(e)===null&&!$t.select(e)?!0:g(t.members).length===0&&(t.loadStatus==="idle"||t.loadStatus==="loading")}),jr=n.createSelector(e=>re.select(e)&&!!e.workspaceShare.workspaceId&&(se.select(e)||(ge.select(e)?ge.select(e)===ue.select(e)?.principal.id:at.select(e,e.workspaceShare.workspaceId)))&&ue.select(e)?.capabilities.workspaceGuestRoles===!0),Gr=n.createSelector(e=>e.workspaceShare.pendingRolePrincipalIds),qr=n.createSelector(e=>e.workspaceShare.roleErrors),ge=n.createSelector(e=>{const t=e.workspaceShare.workspaceId;return t?M.select(e,t)?.ownerPrincipalId??null:null}),Vt=n.createSelector(e=>{const t=v.select(e),s=nt.select(e);return{context:t,workspaceIds:t?s.filter(r=>V.select(e,r)):[]}}),Fr=n.createSelector((e,t)=>{const s=I(e.workspaceShare,t);return{context:s.inviteContext,generation:s.inviteGeneration,withheld:s.inviteWithheld}}),zt=[],Kt=n.createSelector((e,t)=>{const s=v.select(e),r=I(e.workspaceShare,t);if(!s||r.inviteContext!==s||r.inviteWithheld||!V.select(e,t))return zt;const a=e.presence?.context===s?e.presence.members[t]:void 0,o=new Set(a?g(a).flatMap(i=>i.identity?[JSON.stringify([i.identity.provider,i.identity.host.toLowerCase(),i.identity.externalUserId])]:[]):[]),c=new Set;return g(e.workspaceShare.invites).filter(i=>{if(i.workspaceId!==t||!i.pinLogin?.trim()||i.revokedAt||i.redeemedAt&&!i.reusable||!(Date.parse(i.expiresAt)>r.inviteReceivedAt))return!1;const l=i.pinIdentity??(i.pinGithubUserId!==void 0?{provider:"github",host:"github.com",externalUserId:String(i.pinGithubUserId)}:null);if(a&&i.redeemedByPrincipalId&&k(a,i.redeemedByPrincipalId))return!1;if(!l)return!0;const m=JSON.stringify([l.provider,l.host.toLowerCase(),l.externalUserId]);return o.has(m)||c.has(m)?!1:(c.add(m),!0)})}),Hr=n.createSelector(e=>{const s=Vt.select(e).workspaceIds.flatMap(r=>Kt.select(e,r).map(a=>Date.parse(a.expiresAt)));return s.length?Math.min(...s):null});function $r(e){return Object.entries(e).some(([t,s])=>s.available&&wt(t,s.authenticated))}const Br=n.createSelector(e=>e.hostRequirements.git),Vr=n.createSelector(e=>e.hostRequirements.node),zr=n.createSelector(e=>e.hostRequirements.gh),Kr=n.createSelector(e=>e.hostRequirements.checking),Jr=n.createSelector(e=>e.hostRequirements.hasCheckedOnce);function Re(e){const t=e.gitlabAuth?.statusFailed===!0;return It({labsEnabled:e.userPreferences?.labsPlainFolderWorkspacesEnabled===!0,protocolVersion:e.daemonHealth?.stats?.protocolVersion,githubConnected:e.githubAuth?.isAuthenticated===!0,githubSettled:e.githubAuth?.statusSettled===!0,githubFailed:e.githubAuth?.statusFailed===!0,gitlabConnected:e.gitlabAuth?.isConfigured===!0,gitlabSettled:e.gitlabAuth?.statusReady===!0||t,gitlabFailed:t})}const Yr=n.createSelector(Re),Jt=n.createSelector(e=>!ot.select(e)),Xr=n.createSelector(e=>(e.hostRequirements.node.ok||!Jt.select(e))&&(e.hostRequirements.git.available||Re(e))),Zr=n.createSelector(e=>{const t=e.hostRequirements.providerCli;return t?{context:t.context,warnings:g(t.warnings)}:void 0}),Qr="22.0.0";function Yt(e){return e.length>15?`${e.slice(0,15)}…`:e}function H(e){return e.name?.trim()||Yt(e.clientId)}function en(e){const{eligibleClients:t,ownClientId:s,driving:r,pinnedClientId:a}=e,o=t.find(l=>l.clientId===s&&l.connected),c=r!==null&&!r.connected,i=!r||r.clientId===s;return{mode:c?"offline":i?"here":"elsewhere",hostName:r?H(r):o?H(o):"",canSwitchHere:!!(o&&a!==s)}}const tn=n.createSelector(e=>e?.browserClients?.ownClientId??null),sn=n.createSelector(e=>e?.browserClients?.ownClientIdConfirmed===!0);n.createSelector(e=>g(e.browserClients.liveClients));const rn=n.createSelector((e,t)=>t?e?.browserClients?.byWorkspaceId[t]?.liveClientsLoaded??!1:e?.browserClients?.liveClientsLoaded??!1);n.createSelector((e,t)=>k(e.browserClients.liveClients,t));const nn=n.createSelector((e,t)=>(e?.browserClients?.byWorkspaceId[t]??Z).browserClient),an=n.createSelector((e,t)=>{const s=e?.browserClients?.byWorkspaceId[t];return s?.pinnedClientId!==void 0||s?.browserClient!=null});function X(e){const t=e.prettyHostname??e.hostname??e.name;return{clientId:e.clientId,...t!==void 0?{name:t}:{},connected:!0}}const on=n.createSelector((e,t)=>{const s=e?.browserClients??Q,r=s.byWorkspaceId[t]?.liveClients??ee(),a=g(r).filter(y=>y.capabilities.browserExec===!0).map(X),o=(s.byWorkspaceId[t]??Z).browserClient,c=s.byWorkspaceId[t],i=c?.pinnedClientId!==void 0?c.pinnedClientId:o?.source==="workspace"?o.clientId:null,l=i===null?Rt(o):void 0;let m=null;if(o?.resolved){const y=k(r,o.resolved.clientId);m=y?X(y):{...o.resolved,connected:!0}}else o?.source==="workspace"?m={clientId:o.clientId,connected:!1}:l&&(m={clientId:l.clientId,connected:!1});return{eligibleClients:a,ownClientId:s.ownClientId??"",routedVia:o?.source==="default"?l?.via:void 0,driving:m,pinnedClientId:i}}),cn=n.createSelector((e,t)=>{const s=e?.browserClients??Q;if(!s.ownClientId||!s.ownClientIdConfirmed)return!1;const r=s.byWorkspaceId[t]?.liveClients??ee(),a=k(r,s.ownClientId);return a!==void 0&&a.capabilities.browserExec!==!0}),ln=n.createSelector((e,t,s)=>{const r=e?.browserClients??Q,a=s?r.byWorkspaceId[s]?.liveClients??ee():r.liveClients,o=s?r.byWorkspaceId[s]?.liveClientsLoaded:r.liveClientsLoaded,c=k(a,t);return c?{name:H(X(c)),connected:!0}:{name:H({clientId:t}),connected:!o}}),un=n.createSelector((e,t)=>(e?.browserClients?.byWorkspaceId[t]??Z).tabsRevision),dn=n.createSelector(e=>Object.entries(e.browserClients?.byWorkspaceId??{}).filter(([,t])=>Object.keys(t.consumers??{}).length>0).map(([t])=>t)),N=new Map;function pn(e,t){return N.set(e,t),()=>{N.get(e)===t&&N.delete(e)}}async function mn(e){const t=N.get(e);return t?t():null}function hn(e){N.delete(e)}const Ee="From repo config",fn="repo-config";function Sn(e,t){return t==="repo-config"?p.workspace_setupScriptEditor_fromRepoConfig_name():t==="custom"?p.workspace_setupScriptEditor_custom_name():e}function Te(e){if(!e||typeof e!="object"||Array.isArray(e))return{setupScript:null};const t=e.setupScript;return{setupScript:typeof t=="string"&&t.trim().length>0?t:null}}function Xt(e){let t;try{t=JSON.parse(e)}catch{return null}return Te(t).setupScript}async function gn(e){if(!e)return null;try{const t=await w(Et.SETUP_SCRIPTS.READ_REPO_CONFIG,{repoPath:e}),s=t?.success?t.data?.content:null;return typeof s=="string"?Xt(s):null}catch{return null}}async function yn(e,t,s){if(!e||!t)return null;try{const{appClient:r}=await q(async()=>{const{appClient:o}=await import("./B0SSzYpD.js").then(c=>c.s);return{appClient:o}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21]),import.meta.url),a=await r.integrations.githubRepoConfig(e,t,s);return Te(a.config).setupScript}catch{return null}}function bn(e){const t=e.setupScript.trim();return t?e.setupScriptNameSource==="repo-config"&&e.setupScriptName===Ee&&e.repoConfigScriptRepo===e.repoPath&&t===(e.repoConfigScript??"").trim()?void 0:t:e.explicitChoice?"cd .":void 0}function kn(e){const{repoConfigScript:t,lastUsed:s,genericTemplate:r}=e;return t?{content:t,name:Ee,source:"repo-config"}:s?{content:s.content,name:s.nameSource==="repo-config"?"Custom":s.name,source:s.nameSource==="repo-config"?"custom":s.nameSource??"named"}:r?{content:r.content,name:r.name,source:"named"}:{content:"",name:"Custom",source:"custom"}}const Pe="setup-scripts:last-used-by-repo",Oe="setup-scripts:recent-by-repo",$=20,We=10,Zt=["repo-config","custom","named"];function ne(e,t){return t?`${e}\0${t}`:e}function Ne(e){if(!e||typeof e!="object"||Array.isArray(e))return!1;const t=e;return typeof t.name=="string"&&typeof t.content=="string"&&t.content.trim().length>0&&typeof t.usedAt=="string"&&(t.nameSource===void 0||Zt.includes(t.nameSource))}function B(){try{const e=localStorage.getItem(Pe);if(!e)return{};const t=JSON.parse(e);if(!t||typeof t!="object"||Array.isArray(t))return{};const s={};for(const[r,a]of Object.entries(t))r&&Ne(a)&&(s[r]=a);return s}catch{return{}}}function xe(){try{const e=localStorage.getItem(Oe);if(!e)return{};const t=JSON.parse(e);if(!t||typeof t!="object"||Array.isArray(t))return{};const s={};for(const[r,a]of Object.entries(t)){if(!r||!Array.isArray(a))continue;const o=a.filter(Ne);o.length>0&&(s[r]=o)}return s}catch{return{}}}function Qt(e,t){return e.name===t.name&&(e.nameSource??"named")===(t.nameSource??"named")&&e.content.trim()===t.content.trim()}function Me(e){return[...e].sort((t,s)=>s.usedAt.localeCompare(t.usedAt))}function Le(e){const t=[];for(const s of e)t.some(r=>Qt(r,s))||t.push(s);return t}function wn(e,t){if(!e)return[];const s=ne(e,t),r=xe()[s]??[],a=B()[s];return Le(Me(a?[...r,a]:r)).slice(0,We).map(c=>({name:c.name,content:c.content,nameSource:c.nameSource??"named",usedAt:c.usedAt}))}function es(e,t,s){try{const r=xe(),a=r[e]??(s?[s]:[]);r[e]=Le([t,...Me(a)]).slice(0,We);const o=Object.entries(r);o.length>$&&(o.sort(([,c],[,i])=>i[0].usedAt.localeCompare(c[0].usedAt)),o.length=$),localStorage.setItem(Oe,JSON.stringify(Object.fromEntries(o)))}catch{}}function In(e,t){if(!e)return;const s=B()[ne(e,t)];return s?{name:s.name,content:s.content,nameSource:s.nameSource??"named"}:void 0}function _n(e,t,s){const r=t.content.trim();if(!e||!r)return;const a=ne(e,s),o={name:t.name,content:r,usedAt:new Date().toISOString(),nameSource:t.nameSource??"named"};es(a,o,B()[a]);try{const c=B();c[a]=o;const i=Object.entries(c);i.length>$&&(i.sort(([,l],[,m])=>m.usedAt.localeCompare(l.usedAt)),i.length=$),localStorage.setItem(Pe,JSON.stringify(Object.fromEntries(i)))}catch{}}const ts={async isAuthenticated(e){try{return await w(P.IS_AUTHENTICATED,...e===void 0?[]:[{workspaceId:e}])}catch{return!1}},async getAuthState(e=!1,t){try{return await w(P.GET_AUTH_STATE,e,...t===void 0?[]:[{workspaceId:t}])}catch{return{isAuthenticated:!1,requiresDaemonAuth:!0}}},async getStatus(e){try{return await w(P.GET_STATUS,...e===void 0?[]:[{workspaceId:e}])}catch{return{isConfigured:!1,oauthUrl:""}}},async fetchMyIssues(e="assigned",t){return(await this.fetchMyIssuesPage(e,t===void 0?void 0:{workspaceId:t})).issues},async fetchMyIssuesPage(e="assigned",t){try{return await w(P.FETCH_MY_ISSUES,e,t)}catch{return{issues:[],nextToken:null}}},async searchIssues(e,t){return(await this.searchIssuesPage(e,t===void 0?void 0:{workspaceId:t})).issues},async searchIssuesPage(e,t){try{return await w(P.SEARCH_ISSUES,e,t)}catch{return{issues:[],nextToken:null}}}},vn=Object.freeze(Object.defineProperty({__proto__:null,linearAuthClient:ts},Symbol.toStringTag,{value:"Module"})),_={IS_AUTHENTICATED:"sentry-auth:is-authenticated",SAVE_CONFIG:"sentry-auth:save-config",GET_AUTH_STATE:"sentry-auth:get-auth-state",LOGOUT:"sentry-auth:logout",FETCH_PROJECTS:"sentry-auth:fetch-projects",FETCH_ISSUES:"sentry-auth:fetch-issues",SEARCH_ISSUES:"sentry-auth:search-issues",GET_ISSUE:"sentry-auth:get-issue"},ss={async isAuthenticated(e){try{return await w(_.IS_AUTHENTICATED,...e===void 0?[]:[{workspaceId:e}])}catch{return!1}},async saveConfig(e,t){return await w(_.SAVE_CONFIG,{organization:e,apiToken:t})},async getAuthState(e){try{return await w(_.GET_AUTH_STATE,...e===void 0?[]:[{workspaceId:e}])}catch{return{isAuthenticated:!1}}},async logout(){await w(_.LOGOUT)},async fetchProjects(e){try{return await w(_.FETCH_PROJECTS,...e===void 0?[]:[{workspaceId:e}])}catch{return[]}},async fetchIssues(e){return(await this.fetchIssuesPage(e)).issues},async fetchIssuesPage(e){try{return await w(_.FETCH_ISSUES,e)}catch{return{issues:[],nextToken:null}}},async searchIssues(e,t){return(await this.searchIssuesPage(e,t)).issues},async searchIssuesPage(e,t,s){try{return await w(_.SEARCH_ISSUES,{query:e,project:t,...s})}catch{return{issues:[],nextToken:null}}},async getIssue(e,t){try{return await w(_.GET_ISSUE,e,...t===void 0?[]:[{workspaceId:t}])}catch{return null}}},Cn=Object.freeze(Object.defineProperty({__proto__:null,sentryAuthClient:ss},Symbol.toStringTag,{value:"Module"})),ae=n.createSelector(e=>{const t=v.select(e);return!t||!ct.select(e)?null:JSON.stringify([t,e.hostExecution.generation,e.repositoryCheckout.authorityGeneration,e.gitlabAuth.host,e.gitlabAuth.instanceBaseUrl,e.gitlabAuth.statusReady,e.gitlabAuth.isConfigured,e.gitlabAuth.user])}),K=n.createSelector((e,t)=>k(e.repositoryCheckout.forms,t)??null),An=n.createSelector((e,t)=>{const s=K.select(e,t);return s?.admission===ae.select(e)&&s.status==="ready"?g(s.projects):[]}),Rn=n.createSelector((e,t)=>{const s=K.select(e,t);return s?.admission===ae.select(e)&&s.status==="ready"?g(s.branches):[]}),rs=n.createSelector((e,t)=>{const s=K.select(e,t);return!s||s.status!=="ready"||s.admission!==ae.select(e)||!s.capture||!s.project||!s.branch?null:{checkoutId:s.capture.checkoutId,revision:s.capture.revision,projectPath:s.project.projectPath,branch:s.branch.name,commitSha:s.branch.commitSha,mode:s.mode}}),En=n.createSelector((e,t)=>{const s=rs.select(e,t);return!!s&&(s.mode==="direct"||K.select(e,t)?.warmStatus==="ready")}),Tn="__new-workspace__",Pn="__initializer__",On="compact-workspace-initializer-state-prompt",Wn="onboarding-prompt",U=20*1024*1024,ye=Nt("NewWorkspaceDraft");function Nn(e,t){if(e.length>U)return ye.warn("Draft text exceeds the size guard; skipping persistence",{textLength:e.length,limit:U}),null;const s=Tt(t);if(s.length===0)return{text:e};const r=[];let a=e.length+2,o=0;for(const c of s){const i=JSON.stringify(c).length+1;if(a+i>U){o+=1;continue}r.push(c),a+=i}return o>0&&ye.warn("Draft attachments exceed the size guard; persisting the ones that fit",{limit:U,attachmentCount:s.length,droppedCount:o}),r.length>0?{text:e,attachments:r}:{text:e}}const ns="host.providerAuthStatus";function as(e={}){const t={};return e.workspaceId&&(t.workspaceId=e.workspaceId),typeof e.providerId=="string"&&e.providerId.length>0&&(t.providerId=e.providerId),typeof e.force=="boolean"&&(t.force=e.force),t}function os(e,t){const s=t.toLowerCase(),r=e.toLowerCase();return s.startsWith(r)?/^(['’]s\s+organization)?$/.test(s.slice(r.length)):!1}function cs(e){const{email:t,orgName:s}=e??{};return t&&s?os(t,s)?t:`${t} · ${s}`:t||s||void 0}function is(e){const t={};for(const s of e?.providers??[]){const r={authenticated:s.authenticated??void 0},a=cs(s.identity);a!==void 0&&(r.authDetails=a),s.identity?.email&&(r.email=s.identity.email),t[s.id]=r}return t}const ls=6e4,R=new Map,j=new Map,A=new Map;let F=0,De=0;const us=e=>JSON.stringify([it.select(n.state),De,e.workspaceId??null,e.providerId??"*"]);function ds(e){if(e.method!=="events.event"||!e.params)return;const t=e.params,r=(t.event&&typeof t.event=="object"?t.event:t).type;return typeof r=="string"?r:void 0}function J(e){if(F+=1,e)for(const t of R.keys()){const[,,,s]=JSON.parse(t);(s===e||s==="*")&&R.delete(t)}else R.clear()}typeof pe=="function"&&pe(e=>{["provider:auth-changed","host:execution-context-changed"].includes(ds(e)??"")&&J()});typeof me=="function"&&me(()=>{De+=1,J()});function ps(e={}){const t=us(e);if(e.force)J(e.providerId);else{const o=R.get(t);if(o&&o.expiresAt>Date.now())return Promise.resolve(o.verdicts);o&&R.delete(t)}const s=j.get(t);if(!e.force&&s?.generation===F)return s.promise;if(s){const o=A.get(t);if(o)return o.force||=e.force===!0,o.promise;let c;const i=s.promise.catch(()=>({})).then(()=>(A.get(t)===c&&A.delete(t),ps({...e,force:c.force}))).finally(()=>{A.get(t)===c&&A.delete(t)});return c={force:e.force===!0,promise:i},A.set(t,c),i}const r=F,a=Ae(ns,as(e)).then(is).then(o=>(r===F&&R.set(t,{verdicts:o,expiresAt:Date.now()+ls}),o)).finally(()=>{j.get(t)?.promise===a&&j.delete(t)});return j.set(t,{generation:r,promise:a}),a}function xn(e,t){return e.name?.trim()?e.name.trim():e.kind==="workspace"?e.id&&e.id!=="default"?p.workspace_discussion_conversation_title():p.workspace_discussion_title():e.participants.filter(r=>r.principalId!==t).map(r=>r.displayName||r.login||p.workspace_discussion_unknownAuthor_label()).join(", ")||p.workspace_discussion_group_title()}const ms=n.createSelector((e,t,s)=>{const r=Ce(e.repositoryContext,t);return s!==null&&r.binding===s?r:null});n.createSelector((e,t,s)=>{const r=ms.select(e,t.workspaceId,s);return r?.status==="ready"?k(r.roots,x(t))?.context:void 0});const Mn=n.createSelector((e,t)=>{if(t.admission===null||v.select(e)!==t.admission)return null;const s=Ce(e.repositoryContext,t.workspaceId),r=s.ownership;return!r||r.demandId!==t.demandId||r.admission!==t.admission||r.request.workspaceId!==t.workspaceId?null:{status:s.status,scope:s.scope,revision:s.revision,roots:s.status==="ready"?g(s.roots).map(a=>a.context):[],unavailableReason:s.unavailableReason}}),Ln=n.createSelector((e,t)=>{if(t.admission===null||v.select(e)!==t.admission)return null;const s=e.repositoryContext.selectionEdits,r=s?k(s,t.editId):void 0;return r&&r.status!=="closed"&&r.owner.admission===t.admission&&x(r.owner.root)===x(t.root)?r:null}),Dn=n.createSelector((e,t)=>{const s=e.repositoryContext.selectionEdits;return!!s&&g(s).some(r=>r.owner.root.workspaceId===t&&r.owner.admission===v.select(e)&&(r.status==="capturing"||r.status==="pending"&&(!r.observation||r.observation.attempt?.status==="pending")))}),Un=n.createSelector((e,t)=>{if(t.admission===null||v.select(e)!==t.admission||t.hostContext===null||lt.select(e,t.root.workspaceId)!==t.hostContext)return null;const s=e.repositoryContext.nativeReviewAttempts,r=s?k(s,t.attemptId):void 0;return r&&r.status!=="closed"&&r.owner.admission===t.admission&&r.owner.hostContext===t.hostContext&&x(r.owner.root)===x(t.root)?r:null}),jn=n.createSelector((e,t)=>e.repositoryContext.nativeReviewAttempts?k(e.repositoryContext.nativeReviewAttempts,t):void 0),be={auggie:"npm install -g @augmentcode/auggie","claude-code":"curl -fsSL https://claude.ai/install.sh | bash",codex:"npm i -g @openai/codex",opencode:"curl -fsSL https://opencode.ai/install | bash",droid:"curl -fsSL https://app.factory.ai/cli | sh",grok:"npm i -g @xai-official/grok",cursor:"curl https://cursor.com/install -fsS | bash",dsh:"npm i -g @deepseek-ai/dsh",cortex:"curl -LsS https://ai.snowflake.com/static/cc-scripts/install.sh | sh"};function Gn(e){return Object.hasOwn(be,e)?be[e]:void 0}const hs=["venv",".venv","virtualenv","node_modules","google-cloud-sdk","__pycache__",".pytest_cache",".mypy_cache",".ruff_cache",".tox",".nox"];function fs(e){return e.replace(/\\/g,"/").split("/").filter(t=>t.length>0&&t!==".")}function Ss(e){const t=new Set(hs);return fs(e).some(s=>t.has(s))}const gs=new Set(["lastActivity","statusMessage","statusImageAssetId"]),ys=new Set([".git",".playwright-cli",".svelte-kit",".vite",".turbo",".cache",".parcel-cache",".next",".nuxt",".output","build","coverage","dist","playwright-report","target","test-results"]);function bs(e){return e.replace(/\\/g,"/").split("/").filter(t=>t.length>0&&t!==".")}function ks(e){if(!e.type.startsWith("file:"))return null;const t=e.data,s=t?.relativePath??t?.path??t?.filePath;return typeof s=="string"&&s.length>0?s:null}function ws(e){const t=ks(e);return!t||Ss(t)?!1:!bs(t).some(s=>ys.has(s))}function Is(e){if(e.type==="workspace:displayStatus-changed")return!0;if(e.type!=="workspace:updated")return!1;const t=e.data;if(!t?.changes||typeof t.changes!="object"||Array.isArray(t.changes))return!1;const s=Object.keys(t.changes).filter(r=>r!=="workspaceId");return s.length>0&&s.every(r=>gs.has(r))}function h(e){return typeof e=="string"?e.trim():""}function E(e){return e&&typeof e=="object"&&!Array.isArray(e)?e:{}}function ke(e){const t=E(e.data),s=h(t.agentId)||h(e.sessionId),r=h(t.messageId);return s&&r?JSON.stringify([s,r]):""}function _s(e){const t=E(e.data),s={workspaceId:e.workspaceId,closable:!0},r=a=>a?{...s,type:"note",noteId:a,title:h(t.title)||h(t.noteTitle)||p.layout_tabTypes_note_title()}:null;switch(e.type){case"note:created":case"note:updated":case"comment:added":case"comment:resolved":return r(h(t.noteId));case"task:status-changed":return r(h(t.noteId)||h(t.linkedNoteId));case"spec:updated":case"goal:updated":return r("spec");case"agent:created":case"agent:renamed":case"agent:restored":case"agent:updated":case"agent:message":case"agent:user-message:sent":{const a=h(t.agentId)||h(e.sessionId);return a?{...s,type:"agent",agentId:a,title:h(t.agentName)||p.layout_tabTypes_agent_title()}:null}case"file:changed":{const a=h(t.path)||h(t.relativePath);return a&&t.action!=="delete"?{...s,type:"file",filePath:a,title:a.split(/[\\/]/).pop()||a}:null}case"git:commit":{const a=h(t.commit),o=h(t.gitRootId);return a?{...s,type:"changes",title:p.layout_tabTypes_changes_title(),data:{commitHash:a,...o?{gitRootId:o}:{}}}:null}default:return null}}function we(e,t){const s=E(e.data),r=Object.fromEntries(Object.entries(s).filter(([,c])=>typeof c=="string")),a=c=>t?p.workspace_peopleActivity_actorAction_label({name:t,action:c}):c;switch(e.type){case"note:created":case"note:updated":case"note:deleted":case"spec:updated":case"goal:updated":return O({...e,actor:{...e.actor,name:t},data:r});case"agent:created":case"agent:renamed":case"agent:deleted":case"agent:restored":case"git:commit":case"git:push":case"git:pull":case"git:branch":case"git:merge":return a(O({...e,actor:{...e.actor,name:void 0},data:r}));case"agent:updated":return h(s.modelId)||s.completionReportCleared===!0?a(O({...e,actor:{...e.actor,name:void 0},data:s})):null;case"file:changed":return ws(e)?O({...e,actor:{...e.actor,name:t},data:{path:h(s.path)||h(s.relativePath),action:h(s.action)}}):null;case"comment:added":return t?p.events_activity_authorCommented_label({author:t}):p.workspace_peopleActivity_commented_label();case"comment:resolved":return s.resolved===!1?a(p.events_activity_reopenedCommentThread_label()):s.resolved===!0?a(p.events_activity_resolvedCommentThread_label()):null;case"agent:message":case"agent:user-message:sent":{const c=h(s.agentName)||h(s.toAgentName);return a(c?p.workspace_peopleActivity_messagedAgent_label({agent:c}):p.workspace_peopleActivity_sentMessage_label())}case"task:status-changed":return a(O({...e,actor:{...e.actor,name:void 0},data:{taskName:h(s.taskName)||h(s.noteTitle),newStatus:h(s.newStatus)||h(s.status)}}));case"workspace:created":return a(p.events_activity_createdWorkspace_label());case"workspace:updated":{if(Is(e))return null;const c=E(s.changes);if(Object.keys(c).filter(l=>l!=="workspaceId").length===0)return null;const i=h(c.title);return a(i?p.events_activity_renamedWorkspaceTo_label({title:i}):p.events_activity_updatedWorkspace_label())}default:return null}}function W(e,t){const s=h(e);return s===t||/^(user|you|system|unknown|anonymous|local user)$/i.test(s)?"":s}function vs(e,t,s,r){const a=new Map(s.map(u=>[u.principalId,u])),o=new Map;for(const u of t){if(u.workspaceId!==e||u.type!=="agent:last-message")continue;const d=E(u.data),f=de({role:d.role==="user"?"user":"system",author:d.author,metadata:d.metadata}),S=ke(u);if(!f||!S||typeof d.lastUserMessage!="string")continue;const b=Pt({id:h(d.messageId),role:"user",timestamp:u.timestamp,contentBlocks:[{type:"text",text:d.lastUserMessage}],author:f,metadata:d.metadata},r);b&&o.set(S,b)}const c=new Set,i=new Set,l=[];let m=0;for(const u of t){if(u.workspaceId!==e||!h(u.id)||c.has(u.id))continue;const d=Date.parse(u.timestamp);if(!Number.isFinite(d)){m++;continue}const f=E(u.data),S=u.type==="agent:message",b=S?de({role:f.role==="user"?"user":"system",author:f.author,metadata:f.metadata}):null;if(S?!b:u.actor?.type!=="user"){S&&f.role==="user"&&u.actor?.type==="user"&&ut(f.metadata)&&l.push({row:null,timestamp:d,segment:m});continue}const Fe=S?h(f.messageId):"",T=S?ke(u):"";if(T&&i.has(T))continue;const C=h(u.actor?.id),Y=C?a.get(C):void 0,L=b?W(b.displayName,b.principalId??"")||W(b.login,b.principalId??""):W(u.actor.name,C)||W(Y?.displayName,C)||W(Y?.login,C),ce=we(u,"");if(!ce)continue;if(!L){l.push({row:null,timestamp:d,segment:m});continue}const D=S?o.get(T)??null:null,ie=D?p.workspace_peopleActivity_actorAction_label({name:L,action:D}):we(u,L);ie&&(c.add(u.id),T&&i.add(T),l.push({timestamp:d,segment:m,row:{id:u.id,name:L,principalId:b?h(b.principalId)||null:C||null,avatarUrl:b?b.avatarUrl:Y?.avatarUrl??null,label:ie,actionLabel:D??ce,continuation:!1,timestamp:u.timestamp,destination:_s(u),messageId:Fe||null,messagePreview:D}}))}l.sort((u,d)=>d.timestamp-u.timestamp);const y=[];for(const[u,d]of l.entries()){if(!d.row)continue;const f=l[u-1],S=f?f.timestamp-d.timestamp:NaN;d.row.continuation=!!(d.row.principalId&&f?.row?.principalId===d.row.principalId&&f.segment===d.segment&&Number.isFinite(S)&&S>=0&&S<=15*6e4),y.push(d.row)}return y}const qn=n.createSelector(e=>e.workspaceEvents.subscriptionAttempt),Fn=n.createSelector(e=>e.workspaceEvents.subscriptionGeneration),Cs=n.createSelector((e,t)=>(e.workspaceEvents.byWorkspaceId[t]??te).events),Hn=n.createSelector((e,t)=>(e.workspaceEvents.byWorkspaceId[t]??te).nextToken),$n=n.createSelector((e,t)=>(e.workspaceEvents.byWorkspaceId[t]?.peopleRequestId??null)!==null),Bn=n.createSelector((e,t)=>e.workspaceEvents.byWorkspaceId[t]?.peopleError??null),Vn=n.createSelector((e,t)=>e.workspaceEvents.byWorkspaceId[t]?.peopleInitialized??!1),Ue=n.createSelector((e,t)=>(e.workspaceEvents.byWorkspaceId[t]??te).peopleStreams),zn=n.createSelector((e,t)=>Object.values(Ue.select(e,t)).every(s=>s.initialized&&s.nextToken===null)),Kn=n.createSelector((e,t,s)=>{const r=Cs.select(e,t),o=vs(t,r,_t.select(e,t),M.select(e,t)?.ownerPrincipalId)[s-1]?.timestamp,c=Ue.select(e,t);return["user","message"].filter(i=>{const l=c[i];if(!l.initialized)return!0;if(l.nextToken===null)return!1;const m=r.find(y=>y.id===l.oldestEventId)?.timestamp;return!o||!m||!(Date.parse(m)<=Date.parse(o))})});function Jn(e,t=e,s="default",r,a){if(!Dt.select(n.state))return;const o=a??xt.select(n.state,t)??Mt.select(n.state,t)[0];if(!o)return;const c=Lt.select(n.state,t,o),i={type:"discussion",title:r??(s==="new"?p.workspace_discussion_new_title():p.workspace_discussion_title()),workspaceId:e,closable:!0,data:{conversationId:s}},l=c?.tabs.find(m=>He(m,i));s==="new"&&n.dispatch($e(e)),n.dispatch(l?Be(t,l.id,o):Ve(t,i,o,void 0,!0,void 0,!0))}const Yn=n.createSelector((e,t)=>{const s=[],r=new Set,a=new Set,o=c=>{const i=c.block.attachmentId??c.id;if(!r.has(i)){if(!c.block.attachmentId&&c.block.data&&!c.block.dataTruncated){const l=`${c.block.mimeType}/${c.block.data}`;if(a.has(l))return;a.add(l)}r.add(i),s.push(c)}};for(const[c,i]of Object.entries(Ot.select(e,t)))for(const l of g(i))l.imageData&&l.imageMimeType?o({id:`draft/${c}/${l.id}`,name:l.label,block:{type:"image",data:l.imageData,mimeType:l.imageMimeType}}):l.type==="file"&&(l.attachmentId||l.placementStatus)&&o({id:`draft/${c}/${l.id}`,name:l.label,placementStatus:l.placementStatus,block:{type:l.attachmentMimeType?.startsWith("image/")?"image":"file",attachmentId:l.attachmentId,mimeType:l.attachmentMimeType,fileName:l.label,size:l.attachmentSize}});for(const c of dt.select(e,t)){const i=pt.select(e,c),l=[...mt.select(e,c),...ht.select(e,c)];for(const m of l)if(m.role==="user")for(const[y,u]of(m.contentBlocks??[]).entries()){if(u.type!=="image"&&!Wt(u))continue;const d=u.id?i?.[ze(m.id,u.id)]:void 0,f=d?.status==="loaded"?d.block:u;o({id:`${c}/${m.id}/${u.id??y}`,name:f.fileName,block:f,agentId:c,messageId:m.id,hydration:d})}}return s}),As=n.createSelector((e,t)=>e.context.byWorkspaceId[t]??Ke),Rs=n.createSelector((e,t)=>g(As.select(e,t).items)),Xn=n.createSelector((e,t)=>Rs.select(e,t).filter(s=>!s.parentNoteId)),Zn=n.createSelector((e,t)=>e.agentLock.byWorkspaceId[t]?.lockedAgentIds??je),Qn=n.createSelector((e,t)=>e.agentLock.byWorkspaceId[t]?.lockedFilePaths??je),je={},ea=n.createSelector((e,t,s)=>{const r=e.gitWrite.byWorkspaceId[t]?.operations;return r?k(r,s):void 0}),Ge=n.createSelector((e,t)=>{const s=e.gitWrite.byWorkspaceId[t]?.operations;return s?g(s):[]}),ta=n.createSelector((e,t)=>Ge.select(e,t).some(s=>s.status==="queued"||s.status==="running")),sa=n.createSelector((e,t)=>Ge.select(e,t).filter(s=>s.operation.kind==="partialCommit"&&(s.status==="queued"||s.status==="running")));function Ie(e){return e.title||`PR #${e.number}`}const oe=n.createSelector((e,t)=>{const s=e.gitRoots?.byWorkspaceId?.[t];return s?g(s.gitRoots):[]});function Es(e){return{key:"primary",isPrimary:!0,path:e.worktreePath??e.path,branch:e.branch,repoOwner:e.repositoryOwner,repoName:e.repositoryName,prNumber:e.prNumber,prUrl:e.prUrl,prStatus:e.prStatus,pullRequests:e.pullRequests}}function Ts(e){return{key:e.id,isPrimary:!1,path:e.path,branch:e.branch,repoOwner:e.repoOwner,repoName:e.repoName,prNumber:e.prNumber,prUrl:e.prUrl,prStatus:e.prStatus,pullRequests:e.pullRequests,gitRoot:e}}const ra=n.createSelector((e,t)=>{const s=M.select(e,t),r=oe.select(e,t).map(Ts);return s?[Es(s),...r]:r}),na=n.createSelector((e,t)=>oe.select(e,t).length>0),aa=n.createSelector(e=>Object.entries(e.gitRoots?.byWorkspaceId??{}).filter(([,t])=>Object.keys(t.consumers??{}).length>0).map(([t])=>t)),Ps=n.createSelector((e,t,s)=>k((e.acceptWorkflow.byWorkspaceId[t]??Je).operations,s)),oa=n.createSelector((e,t,s)=>Ps.select(e,t,s)?.status==="running"),ca=n.createSelector((e,t)=>e.acceptWorkflow.byWorkspaceId[t]?.mergeDrawerOpen??!1),ia=n.createSelector((e,t)=>{const s=ft.select(e,t)?.hasRemote??!1,r=M.select(e,t)?.pullRequests?.some(a=>a.status===le.Open||a.status===le.Draft)??!1;return{squash:!1,viaPR:s&&r,pushAfter:s,...e.acceptWorkflow.byWorkspaceId[t]?.mergeOptions}}),la=n.createSelector(e=>Object.keys(e.acceptWorkflow.byWorkspaceId).filter(t=>e.acceptWorkflow.byWorkspaceId[t].observerRequested)),ua=n.createSelector((e,t)=>{const s=M.select(e,t),r=St.select(e,t),a=gt.select(e,t),o=s?.repositoryOwner&&s.repositoryName?`${s.repositoryOwner}/${s.repositoryName}`:void 0,c=vt(Ct(s?.pullRequests,s?.activePullRequest,(i,l)=>At(i,s?.repositoryOwner,s?.repositoryName,l),Ie,o),yt.select(e,t),o,oe.select(e,t),Ie).own;return{visible:(e.acceptWorkflow.byWorkspaceId[t]?.consumerCount??0)>0,ready:kt.select(e,t),owner:!bt.select(e,t),authenticated:Ut.select(e),pushedCount:r.filter(i=>i.isPushed).length,hasRemote:a.hasRemote,clearReset:a.hasResetToTrunk&&c.some(i=>i.status!=="merged"),clearMerge:!!(a.mergeHeadSha&&r[0]?.hash&&a.mergeHeadSha!==r[0].hash)}}),da=n.createSelector((e,t,s)=>e.bgExecutor?.byWorkspaceId[t]?.executors[s]??Ye),Os=n.createSelector((e,t)=>e.prWorkflow.byWorkspaceId[t]??Xe);n.createSelector((e,t,s)=>Os.select(e,t).operations[s]);const pa=n.createSelector(e=>Object.keys(e.noteReadTracking.unreadNoteIds)),ma=n.createSelector(e=>e.noteReadTracking.readRecords),Ws="host.providerTestPrompt",Ns=Gt("ok",[he({ok:fe(!0)}).passthrough(),he({ok:fe(!1),reason:Se().min(1),message:Se()}).passthrough()]),xs=3e5;async function ha(e){const t=await Ae(Ws,{providerId:e.providerId,...e.model?{model:e.model}:{}},{timeoutMs:xs}),s=Ns.parse(t);return(s.ok||s.reason==="auth-required")&&J(e.providerId),s}const Ms=-1,Ls=/^remote-script-lost:\s*/,Ds=["idle","starting","running","restarting","exited"],_e=e=>!!e&&typeof e=="object"&&!Array.isArray(e),ve=e=>typeof e=="string"&&e.trim().length>0;function Us(e){return _e(e)&&ve(e.remoteAgentId)&&ve(e.nodeId)&&_e(e.runtime)&&Ds.includes(e.runtime.status)}function fa(e){return Array.isArray(e.machineRuns)?e.machineRuns.filter(Us):[]}function Sa(e,t,s){const r=qt(e.nodeId,s)??{nodeId:e.nodeId,name:p.remoteAgent_location_unknownMachine(),platform:null,state:"ready"};if(s&&s.id===e.nodeId)return r;const a=t?.nodeId===e.nodeId?t:null;return{...r,name:a?.nodeName?.trim()||r.name,platform:Ft(a?.placement?.os,a?.placement?.arch)}}function js(e){return e.status==="exited"&&e.exitCode===Ms}function Gs(e){const t=e.error?.trim().replace(Ls,"").trim();switch(t){case"the machine disconnected":return p.scripts_remote_lostDisconnected_label();case"the machine was removed":return p.scripts_remote_lostRemoved_label();case"the agent was deleted":return p.scripts_remote_lostAgentDeleted_label();case"the agent was stopped for good":return p.scripts_remote_lostAgentStopped_label();default:return t||p.scripts_remote_lostReason_fallback()}}function ga(e){if(js(e))return{kind:"lost",label:p.scripts_remote_lost_tooltip({reason:Gs(e)})};const t=jt(e);switch(t){case"running":return{kind:t,label:p.terminal_quakeOverlay_status_running()};case"restarting":return{kind:t,label:p.workspace_devScripts_restarting_label()};case"idle":return{kind:t,label:p.terminal_quakeOverlay_status_idle()};case"succeeded":return{kind:t,label:p.terminal_quakeOverlay_status_exitedZero()};case"failed":return{kind:t,label:p.terminal_quakeOverlay_status_errorCode({code:e.exitCode??1})};case"stopped":return{kind:t,label:p.terminal_quakeOverlay_status_stoppedSignal({signal:(e.exitCode??128)-128})};default:return{kind:t,label:p.terminal_quakeOverlay_status_exited()}}}const G=e=>typeof e=="string"&&e.length>0,qs=/\bremote-script-agent-ending:/;function ya(e){return!!e&&qs.test(e)}function ba(e){if(!e||typeof e!="object")return null;const t=e.data;if(!t||typeof t!="object")return null;const s=t,r=e instanceof Error&&e.message?{message:e.message}:{};return s.code==="machine-update-required"?{success:!1,code:"machine-update-required",update:s.update==="backend"?"backend":"machine",...G(s.machineVersion)?{machineVersion:s.machineVersion}:{},...G(s.backendVersion)?{backendVersion:s.backendVersion}:{},...r}:s.code==="machine-unreachable"?{success:!1,code:"machine-unreachable",attempts:Array.isArray(s.attempts)?s.attempts.flatMap(o=>{const c=o??{};return G(c.route)&&G(c.error)?[{route:c.route,error:c.error}]:[]}):[],...r}:null}function ka(e){const s=e.filter(a=>a.runtime.status==="running"&&a.runtime.detectedUrl?.trim()).sort((a,o)=>(o.runtime.startedAt??"").localeCompare(a.runtime.startedAt??""))[0],r=s?.runtime.detectedUrl?.trim();return!s||!r?null:{scriptId:s.id,name:s.name,url:r}}const Fs={status:"idle",error:null},Hs=n.createSelector((e,t)=>e.workspaceLifecycle.loadByWorkspaceId[t]??Fs);n.createSelector((e,t)=>Hs.select(e,t).error);const wa=n.createSelector((e,t)=>k(e.workspace.workspaces,t)??e.workspace.pendingCreations[t]),qe=n.createSelector((e,t)=>e.workspaceLifecycle.sessionPhaseByWorkspaceId[t]),$s=e=>e==="hydrated"||e==="live",Ia=n.createSelector((e,t)=>{const s=qe.select(e,t);return s==="hydrated"||s==="live"}),_a=n.createSelector(e=>{const t=e.workspaceLifecycle.sessionPhaseByWorkspaceId;return Object.keys(t).filter(s=>$s(t[s]))}),va=n.createSelector((e,t)=>qe.select(e,t)==="live");function Ca(e){const{selectedProviderId:t,activeProviderId:s,recommitActive:r,dispatch:a}=e;if(!t)return;const o=s&&Ze(s)===t?s:t;if(!(!r&&o===s))return a(Qe({providerId:t,enabled:!0})),a(et(o)),a(tt()),t}function Aa(e){const t=[];for(const s of e){let r={};if(s.metadata)try{r=JSON.parse(s.metadata)}catch{}const a=[];if(a.push(`[${s.identifier}] ${s.title}`),s.url&&a.push(`URL: ${s.url}`),s.description&&a.push(`
3
3
  Description:
4
4
  ${s.description}`),r.state&&a.push(`Status: ${r.state}`),r.teamName&&a.push(`Team: ${r.teamName}`),r.priority!==void 0){const o=["No priority","Urgent","High","Medium","Low"];a.push(`Priority: ${o[r.priority]||r.priority}`)}r.assignee&&a.push(`Assignee: ${r.assignee}`),t.push({type:s.itemType||"unknown",provider:s.provider,identifier:s.identifier,title:s.title,url:s.url,content:a.join(`
5
- `),metadata:r})}return t}function Ra(e){const t=[];for(const s of e){if(s.type!=="file")continue;let r=s.meta?.fullPath||s.meta?.path||"";if(!r&&s.id?.startsWith("file-")){const a=s.id.slice(5);(a.startsWith("/")||/^[A-Za-z]:/.test(a))&&(r=a)}if(!r&&s.uri)if(s.uri.startsWith("devspace://file/"))try{r=decodeURIComponent(s.uri.slice(16))}catch{}else s.uri.startsWith("file:")&&(r=s.uri.slice(5));r||(r=s.label||s.meta?.name||""),t.push({type:"file",path:r,title:s.label})}return t}async function Ea(e,t){const s=[];for(const r of e){if(r.type==="terminal")try{const{terminalManager:a}=await q(async()=>{const{terminalManager:l}=await import("./CwqyVbqi.js").then(m=>m.b);return{terminalManager:l}},__vite__mapDeps([22,3,2,18,19,12,8,0,1,4,5,6,7,9,10,11,13,14,15,16,17,20,21,23,24,25,26,27,28,29,30,31,32]),import.meta.url),o=r.meta?.workspaceId||"",c=r.id??"",i=await a.getBufferContent(c,o);i&&s.push({type:"terminal",content:i,title:r.label,metadata:{terminalName:r.label,terminalId:c}})}catch(a){t?.warn("[OnboardingContext] Failed to read terminal buffer:",a)}if(r.type==="script")try{const{selectScriptById:a,selectScriptRuntime:o}=await q(async()=>{const{selectScriptById:S,selectScriptRuntime:b}=await import("./DJcR4XQR.js");return{selectScriptById:S,selectScriptRuntime:b}},__vite__mapDeps([33,4,5,3,6,7,8,9,2,10,11,12,34,35,21,36,37,38,15,16,39,13,14,17,30,40,41,19,18,42,43,44,45,1,46,47]),import.meta.url),{readScriptContextOutputLines:c}=await q(async()=>{const{readScriptContextOutputLines:S}=await import("./C00PRSTi.js");return{readScriptContextOutputLines:S}},__vite__mapDeps([48,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,35,36,37,38,39,30,40,50,34,41,42,43,44,45,46,47,51,52,53,54,55,56,57,58,59,60,61,33]),import.meta.url),i=r.meta?.workspaceId||"",l=r.id??"",m=n.state,y=await c(m,i,l),u=a.select(m,i,l),d=o.select(m,i,l);let f=`Script: ${u?.name||r.label}
5
+ `),metadata:r})}return t}function Ra(e){const t=[];for(const s of e){if(s.type!=="file")continue;let r=s.meta?.fullPath||s.meta?.path||"";if(!r&&s.id?.startsWith("file-")){const a=s.id.slice(5);(a.startsWith("/")||/^[A-Za-z]:/.test(a))&&(r=a)}if(!r&&s.uri)if(s.uri.startsWith("devspace://file/"))try{r=decodeURIComponent(s.uri.slice(16))}catch{}else s.uri.startsWith("file:")&&(r=s.uri.slice(5));r||(r=s.label||s.meta?.name||""),t.push({type:"file",path:r,title:s.label})}return t}async function Ea(e,t){const s=[];for(const r of e){if(r.type==="terminal")try{const{terminalManager:a}=await q(async()=>{const{terminalManager:l}=await import("./DP31pjuo.js").then(m=>m.b);return{terminalManager:l}},__vite__mapDeps([22,3,2,18,19,12,8,0,1,4,5,6,7,9,10,11,13,14,15,16,17,20,21,23,24,25,26,27,28,29,30,31,32]),import.meta.url),o=r.meta?.workspaceId||"",c=r.id??"",i=await a.getBufferContent(c,o);i&&s.push({type:"terminal",content:i,title:r.label,metadata:{terminalName:r.label,terminalId:c}})}catch(a){t?.warn("[OnboardingContext] Failed to read terminal buffer:",a)}if(r.type==="script")try{const{selectScriptById:a,selectScriptRuntime:o}=await q(async()=>{const{selectScriptById:S,selectScriptRuntime:b}=await import("./CtzbB_EQ.js");return{selectScriptById:S,selectScriptRuntime:b}},__vite__mapDeps([33,4,5,3,6,7,8,9,2,10,11,12,34,35,21,36,37,38,15,16,39,13,14,17,30,40,41,19,18,42,43,44,45,1,46,47]),import.meta.url),{readScriptContextOutputLines:c}=await q(async()=>{const{readScriptContextOutputLines:S}=await import("./b7gnFN68.js");return{readScriptContextOutputLines:S}},__vite__mapDeps([48,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,49,35,36,37,38,39,30,40,50,34,41,42,43,44,45,46,47,51,52,53,54,55,56,57,58,59,60,61,33]),import.meta.url),i=r.meta?.workspaceId||"",l=r.id??"",m=n.state,y=await c(m,i,l),u=a.select(m,i,l),d=o.select(m,i,l);let f=`Script: ${u?.name||r.label}
6
6
  `;if(f+=`Command: ${u?.command||"unknown"}
7
7
  `,f+=`Status: ${d.status}`,d.exitCode!==null&&d.exitCode!==void 0&&(f+=` (exit code: ${d.exitCode})`),f+=`
8
8
  `,d.detectedUrl&&(f+=`URL: ${d.detectedUrl}