@intent-hq/web 2.370.0 → 2.370.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 (250) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{CyWgrZMk.js → 1BRHaRmm.js} +5 -5
  3. package/web/app/immutable/chunks/{CbRNm5he.js → 2CvTs4Gl.js} +1 -1
  4. package/web/app/immutable/chunks/{CCrwZkau.js → 2IbSEmAW.js} +1 -1
  5. package/web/app/immutable/chunks/{BwtGEQS3.js → 2kcdsiKR.js} +1 -1
  6. package/web/app/immutable/chunks/{DrOwYgbZ.js → 3bNhkT-J.js} +1 -1
  7. package/web/app/immutable/chunks/{BEV9WkWU.js → 5kePy1TE.js} +1 -1
  8. package/web/app/immutable/chunks/{1pIqWRUk.js → 711s5WU0.js} +1 -1
  9. package/web/app/immutable/chunks/{CRY4aELR.js → 7aKXh--T.js} +4 -4
  10. package/web/app/immutable/chunks/{BSsEOl8-.js → 7i9XTDuo.js} +1 -1
  11. package/web/app/immutable/chunks/{DcUCHDGY.js → AsFm-iq9.js} +1 -1
  12. package/web/app/immutable/chunks/{ZIOU9Sxd.js → B1tKRs9e.js} +1 -1
  13. package/web/app/immutable/chunks/{C_E26DWe.js → B2_coen2.js} +1 -1
  14. package/web/app/immutable/chunks/{BulBKnVz.js → B3hSlB6y.js} +1 -1
  15. package/web/app/immutable/chunks/{CaHds95Q.js → B3s08q4i.js} +1 -1
  16. package/web/app/immutable/chunks/{vLtMR-kj.js → B4rTQlY3.js} +1 -1
  17. package/web/app/immutable/chunks/{B8_Ff8zl.js → B5LyNSS1.js} +7 -7
  18. package/web/app/immutable/chunks/{B3Gso1ut.js → B7CIdOn0.js} +1 -1
  19. package/web/app/immutable/chunks/{CwWm64yZ.js → BBvc0xcX.js} +1 -1
  20. package/web/app/immutable/chunks/{Cq4X6ptS.js → BE3ifD-D.js} +1 -1
  21. package/web/app/immutable/chunks/{BSfkjlLx.js → BHCTYYXY.js} +1 -1
  22. package/web/app/immutable/chunks/{CQ_NwL45.js → BHe6JG_C.js} +2 -2
  23. package/web/app/immutable/chunks/{DSacn4II.js → BIDxyGuw.js} +1 -1
  24. package/web/app/immutable/chunks/{DJFAYXyc.js → BIH1E0JD.js} +1 -1
  25. package/web/app/immutable/chunks/{CYKOPxuJ.js → BIY9btQv.js} +1 -1
  26. package/web/app/immutable/chunks/{gySpGbnA.js → BJDeJSt-.js} +1 -1
  27. package/web/app/immutable/chunks/{jG-4Z8qH.js → BKq-hmnE.js} +1 -1
  28. package/web/app/immutable/chunks/{CCsCF1Mh.js → BKzqt9uo.js} +1 -1
  29. package/web/app/immutable/chunks/{5lieSvED.js → BL5h9RCy.js} +1 -1
  30. package/web/app/immutable/chunks/{D6dNunKo.js → BLb6jd9K.js} +1 -1
  31. package/web/app/immutable/chunks/{BVLa_5Le.js → BNv5miK-.js} +1 -1
  32. package/web/app/immutable/chunks/{gHT8Z5q-.js → BOHkf2gI.js} +1 -1
  33. package/web/app/immutable/chunks/{bb5Wjkri.js → BOROIf_S.js} +1 -1
  34. package/web/app/immutable/chunks/{C2Vj5Vs6.js → BR75pcGU.js} +1 -1
  35. package/web/app/immutable/chunks/{THdp5Vpk.js → BROVvkEL.js} +1 -1
  36. package/web/app/immutable/chunks/{BDA31WCY.js → BR_GHabc.js} +1 -1
  37. package/web/app/immutable/chunks/{DeE0yn_3.js → BSwUOmEO.js} +1 -1
  38. package/web/app/immutable/chunks/{uCQEgTob.js → BTBYrxZV.js} +1 -1
  39. package/web/app/immutable/chunks/{Bi0vr71w.js → BU9a7SkD.js} +1 -1
  40. package/web/app/immutable/chunks/{CQHtdg39.js → BVDDJIsV.js} +1 -1
  41. package/web/app/immutable/chunks/{CSBGusi9.js → BWn2FCdq.js} +1 -1
  42. package/web/app/immutable/chunks/{CmW3Zqh6.js → BZWU4mlm.js} +2 -2
  43. package/web/app/immutable/chunks/Ba5gf06c.js +1 -0
  44. package/web/app/immutable/chunks/{DZIz7Wk9.js → BaGw_bDr.js} +1 -1
  45. package/web/app/immutable/chunks/{1GrJvO3a.js → Baepgj8b.js} +1 -1
  46. package/web/app/immutable/chunks/{CqVZxU_G.js → BalxhI2Q.js} +1 -1
  47. package/web/app/immutable/chunks/{wgljT0D3.js → Bb3w2fM6.js} +1 -1
  48. package/web/app/immutable/chunks/{DgMr61cU.js → BeVAskuR.js} +1 -1
  49. package/web/app/immutable/chunks/{BSD34ZVo.js → Beg3arHH.js} +1 -1
  50. package/web/app/immutable/chunks/{DtfuSWPd.js → BgnxwWhQ.js} +1 -1
  51. package/web/app/immutable/chunks/{DIukqb9l.js → BhA_kLCx.js} +1 -1
  52. package/web/app/immutable/chunks/{DB9n2KBT.js → Bj-9TYLg.js} +1 -1
  53. package/web/app/immutable/chunks/{BzFy3u2D.js → BlQvrYPa.js} +1 -1
  54. package/web/app/immutable/chunks/{FtGWFokI.js → BldeOF88.js} +1 -1
  55. package/web/app/immutable/chunks/{CdOh_Fmv.js → BnA9v3pc.js} +1 -1
  56. package/web/app/immutable/chunks/{Bg7YNbVH.js → Bo89tkt2.js} +1 -1
  57. package/web/app/immutable/chunks/{CnztNSaN.js → BoQ8Q7zJ.js} +1 -1
  58. package/web/app/immutable/chunks/{CiZzqOpk.js → BpyEBWKW.js} +1 -1
  59. package/web/app/immutable/chunks/{CgS_FiQI.js → BqOLTDDX.js} +1 -1
  60. package/web/app/immutable/chunks/{Caqml6gj.js → BtrJwCgg.js} +1 -1
  61. package/web/app/immutable/chunks/{Chnr0_jK.js → Bvf6gH6c.js} +1 -1
  62. package/web/app/immutable/chunks/{Dekzflbl.js → BxQi83db.js} +1 -1
  63. package/web/app/immutable/chunks/{CKnpbRTh.js → C-5vE6yh.js} +9 -9
  64. package/web/app/immutable/chunks/{DUGztmZo.js → C0jW3ncX.js} +1 -1
  65. package/web/app/immutable/chunks/{Bc7pHsTy.js → C1YR8Gnj.js} +1 -1
  66. package/web/app/immutable/chunks/{Blu9C_Vv.js → C289w7fG.js} +1 -1
  67. package/web/app/immutable/chunks/{TE7UDCh6.js → C29Jqwzt.js} +1 -1
  68. package/web/app/immutable/chunks/{C0wua3Vt.js → C2UYU20O.js} +1 -1
  69. package/web/app/immutable/chunks/{CgwFGLCK.js → C2wWLl1x.js} +1 -1
  70. package/web/app/immutable/chunks/{CH7fgKro.js → C6P_twJN.js} +1 -1
  71. package/web/app/immutable/chunks/{UQXXh4U7.js → C6ROKFdp.js} +1 -1
  72. package/web/app/immutable/chunks/{YcqSYZ1W.js → C96BAoIR.js} +1 -1
  73. package/web/app/immutable/chunks/{BnNJN3Ls.js → C9AWL-_E.js} +1 -1
  74. package/web/app/immutable/chunks/{CzW29tkb.js → CAV1CzzW.js} +1 -1
  75. package/web/app/immutable/chunks/{CblB0zCN.js → CC-xReBN.js} +1 -1
  76. package/web/app/immutable/chunks/{DRy2oEmj.js → CC4-q0Fm.js} +1 -1
  77. package/web/app/immutable/chunks/{CfUtc4-L.js → CDsbSWM0.js} +1 -1
  78. package/web/app/immutable/chunks/{DZRLhNnQ.js → CENbvXsw.js} +1 -1
  79. package/web/app/immutable/chunks/{BX9hgO_H.js → CFcZXBVA.js} +6 -6
  80. package/web/app/immutable/chunks/{eCVtubQ8.js → CFq9q-gu.js} +1 -1
  81. package/web/app/immutable/chunks/{d1EmVp98.js → CGLbiObk.js} +1 -1
  82. package/web/app/immutable/chunks/{CbRsc9i4.js → CI4_aI7e.js} +5 -5
  83. package/web/app/immutable/chunks/{BvZfa6RH.js → CIvyT4T_.js} +1 -1
  84. package/web/app/immutable/chunks/{C_-WdiR8.js → CKf0K7iH.js} +1 -1
  85. package/web/app/immutable/chunks/{CBRZjI7P.js → CKfVT02n.js} +2 -2
  86. package/web/app/immutable/chunks/{BG2RPA7A.js → CNkmihEX.js} +2 -2
  87. package/web/app/immutable/chunks/{f686-QUd.js → CO9mOa2z.js} +1 -1
  88. package/web/app/immutable/chunks/CQIdhUGs.js +1 -0
  89. package/web/app/immutable/chunks/{B-_ROixI.js → CQWMr-uu.js} +2 -2
  90. package/web/app/immutable/chunks/{MifrdpDQ.js → CT012uiB.js} +1 -1
  91. package/web/app/immutable/chunks/{B2AfKG58.js → CTKKTfh5.js} +2 -2
  92. package/web/app/immutable/chunks/{WlqVlpOk.js → CVXKL6ab.js} +1 -1
  93. package/web/app/immutable/chunks/{Dv0Jc2Nv.js → CVpnQG0j.js} +1 -1
  94. package/web/app/immutable/chunks/{BinPWBvt.js → C_V6o9Il.js} +1 -1
  95. package/web/app/immutable/chunks/{DELYEsRi.js → Ca6eVlSm.js} +2 -2
  96. package/web/app/immutable/chunks/{BhZDGIfe.js → CdYt8dgZ.js} +1 -1
  97. package/web/app/immutable/chunks/{CmVXj6KK.js → Ce83awb2.js} +2 -2
  98. package/web/app/immutable/chunks/{ir8Qz45r.js → CkoG9STP.js} +1 -1
  99. package/web/app/immutable/chunks/{BDcauMkX.js → CllirvEK.js} +1 -1
  100. package/web/app/immutable/chunks/{BmjF1SON.js → Cmj0JylI.js} +2 -2
  101. package/web/app/immutable/chunks/{Bvo32SXP.js → CnS7dtdu.js} +1 -1
  102. package/web/app/immutable/chunks/{9sCF_0su.js → Cnfa9ycD.js} +1 -1
  103. package/web/app/immutable/chunks/{Db8-C0Zq.js → CoDlIYWp.js} +1 -1
  104. package/web/app/immutable/chunks/{DwXKCf3Q.js → CplGG62F.js} +1 -1
  105. package/web/app/immutable/chunks/{1DKpnRTj.js → Cum1dYpM.js} +1 -1
  106. package/web/app/immutable/chunks/{BHaE4286.js → CvqKGiPA.js} +1 -1
  107. package/web/app/immutable/chunks/{BCQ1W7zT.js → CxJ0MhK_.js} +3 -3
  108. package/web/app/immutable/chunks/{BAymCgEX.js → Cz-HgbT1.js} +1 -1
  109. package/web/app/immutable/chunks/{Cv2YUgTX.js → CzMPk75T.js} +1 -1
  110. package/web/app/immutable/chunks/{B0SoVMRS.js → Czc9XxQH.js} +1 -1
  111. package/web/app/immutable/chunks/{BnhOIUmr.js → Czz4CkiM.js} +1 -1
  112. package/web/app/immutable/chunks/{D9MwZkzV.js → D1_IbOsX.js} +1 -1
  113. package/web/app/immutable/chunks/{YV53nLSc.js → D2CiBsJQ.js} +1 -1
  114. package/web/app/immutable/chunks/{DxyI4IUi.js → D2jpdqLS.js} +1 -1
  115. package/web/app/immutable/chunks/{CQAAihrI.js → D3VYu5tL.js} +1 -1
  116. package/web/app/immutable/chunks/{CR2m4w2U.js → D4hsFsw4.js} +1 -1
  117. package/web/app/immutable/chunks/{BqxcrzZH.js → D5CXAAzn.js} +1 -1
  118. package/web/app/immutable/chunks/{DCW2c0FY.js → D5xUDbUx.js} +1 -1
  119. package/web/app/immutable/chunks/{BUA7BUyu.js → D6vwIrtC.js} +1 -1
  120. package/web/app/immutable/chunks/{CUdMuhJF.js → D8Nxo4aC.js} +1 -1
  121. package/web/app/immutable/chunks/{CRNfAyhd.js → DAfOI1BG.js} +1 -1
  122. package/web/app/immutable/chunks/{CCSbqNiH.js → DExi1WR7.js} +1 -1
  123. package/web/app/immutable/chunks/{NqK_XT0y.js → DFrynV0u.js} +1 -1
  124. package/web/app/immutable/chunks/{EzpfJOSe.js → DG-AKB01.js} +1 -1
  125. package/web/app/immutable/chunks/{Dawt227W.js → DGQoqGp4.js} +1 -1
  126. package/web/app/immutable/chunks/{Ev5lig9W.js → DIhsiUIT.js} +1 -1
  127. package/web/app/immutable/chunks/{DC_1j_gh.js → DM71GnMx.js} +3 -3
  128. package/web/app/immutable/chunks/{D1V2Et17.js → DMH0w6el.js} +1 -1
  129. package/web/app/immutable/chunks/{CzS5ny-g.js → DMzReQ-5.js} +1 -1
  130. package/web/app/immutable/chunks/{B9BjyTgZ.js → DOIzLCtE.js} +1 -1
  131. package/web/app/immutable/chunks/{Dp9fBXaC.js → DOwDDYVN.js} +1 -1
  132. package/web/app/immutable/chunks/{C2YH0P-B.js → DPvT-ATr.js} +1 -1
  133. package/web/app/immutable/chunks/{BRRvOx4M.js → DQLMO9xD.js} +2 -2
  134. package/web/app/immutable/chunks/{sS3MW5B6.js → DQZlstPH.js} +1 -1
  135. package/web/app/immutable/chunks/DRRKH4VP.js +1 -0
  136. package/web/app/immutable/chunks/{qHChsLZZ.js → DRWqzfiQ.js} +1 -1
  137. package/web/app/immutable/chunks/{CUMRLgxB.js → DSCqJfZ-.js} +1 -1
  138. package/web/app/immutable/chunks/{zye35u-t.js → DSjbk-ao.js} +1 -1
  139. package/web/app/immutable/chunks/{B9mj0qwd.js → DUO0KBjx.js} +1 -1
  140. package/web/app/immutable/chunks/{D6VfSAVQ.js → DUfE7lx2.js} +1 -1
  141. package/web/app/immutable/chunks/{DkJkWZTE.js → DUl-h1p3.js} +1 -1
  142. package/web/app/immutable/chunks/{CbyU6cEf.js → DVu7tZ67.js} +1 -1
  143. package/web/app/immutable/chunks/{CBafvv8h.js → DWC3_76J.js} +1 -1
  144. package/web/app/immutable/chunks/{BpEHjU4g.js → DXtdMDwl.js} +1 -1
  145. package/web/app/immutable/chunks/{Bus1Z5ou.js → DYzJKeX7.js} +1 -1
  146. package/web/app/immutable/chunks/{D-NrCL67.js → D_pS9hme.js} +1 -1
  147. package/web/app/immutable/chunks/{Cj_UUgNI.js → DaqXt9wp.js} +1 -1
  148. package/web/app/immutable/chunks/{_EqQOSVK.js → Dax7ITFa.js} +2 -2
  149. package/web/app/immutable/chunks/{fr0BmHL-.js → DbIuIgjV.js} +1 -1
  150. package/web/app/immutable/chunks/{R1s5ARST.js → DbN2kVX-.js} +1 -1
  151. package/web/app/immutable/chunks/{R2N5eDxY.js → Dbrv6RE-.js} +2 -2
  152. package/web/app/immutable/chunks/{A4nvdmL6.js → DcsxLfDg.js} +1 -1
  153. package/web/app/immutable/chunks/{CylWx-GB.js → DfJwQVW8.js} +1 -1
  154. package/web/app/immutable/chunks/{CADQyVDS.js → DfT1buZq.js} +2 -2
  155. package/web/app/immutable/chunks/{BGT9uvaQ.js → Dg9ZuAkk.js} +5 -5
  156. package/web/app/immutable/chunks/{BR2t5nsF.js → DhWcN4bx.js} +2 -2
  157. package/web/app/immutable/chunks/{rB5UfCey.js → DiD2Cn17.js} +1 -1
  158. package/web/app/immutable/chunks/{B-kUJzil.js → Dk-rIzdO.js} +1 -1
  159. package/web/app/immutable/chunks/{B1hj1DGj.js → DkL69EQl.js} +1 -1
  160. package/web/app/immutable/chunks/{BmBa9vQp.js → DkkmguuG.js} +1 -1
  161. package/web/app/immutable/chunks/{DtHX0_aW.js → DmC2lRsL.js} +2 -2
  162. package/web/app/immutable/chunks/{D1bivTve.js → DnsVLkb8.js} +2 -2
  163. package/web/app/immutable/chunks/{CA2ANaNj.js → Dnz4szur.js} +1 -1
  164. package/web/app/immutable/chunks/{Df-HaYIr.js → Do5lDWBq.js} +1 -1
  165. package/web/app/immutable/chunks/{D_hG-oZK.js → Dp08eKy3.js} +1 -1
  166. package/web/app/immutable/chunks/{Bqm2Rf6d.js → Dq9sK6wY.js} +1 -1
  167. package/web/app/immutable/chunks/{CMLBE7U6.js → DqMtaSxK.js} +1 -1
  168. package/web/app/immutable/chunks/{D2dAlclh.js → DqZnld6x.js} +3 -3
  169. package/web/app/immutable/chunks/{DFr6bn5t.js → DqaHaAl1.js} +4 -4
  170. package/web/app/immutable/chunks/{9-nUCsGi.js → Dr6C4F1X.js} +1 -1
  171. package/web/app/immutable/chunks/{D0DIS-cT.js → DrMbcJpA.js} +1 -1
  172. package/web/app/immutable/chunks/{CPlH-52U.js → Ds4DhRwW.js} +7 -7
  173. package/web/app/immutable/chunks/{qvt-0QTi.js → DsGwNgOu.js} +3 -3
  174. package/web/app/immutable/chunks/{B_IEMfS6.js → DteD0Nal.js} +3 -3
  175. package/web/app/immutable/chunks/DwEChUMY.js +1 -0
  176. package/web/app/immutable/chunks/{Iq8JI4_0.js → ENlRNbf0.js} +1 -1
  177. package/web/app/immutable/chunks/{UN8KT7fR.js → FhXVX7Hi.js} +1 -1
  178. package/web/app/immutable/chunks/{Bp098-aN.js → JMqHRN1q.js} +1 -1
  179. package/web/app/immutable/chunks/{CGzD6XfW.js → JZ27Qh_j.js} +1 -1
  180. package/web/app/immutable/chunks/{DL1CE4TH.js → JvjGgKob.js} +1 -1
  181. package/web/app/immutable/chunks/{B-1iBpaq.js → Jx0QEit0.js} +1 -1
  182. package/web/app/immutable/chunks/{DWEA_zul.js → K2mnFSgK.js} +1 -1
  183. package/web/app/immutable/chunks/{BgPtjifd.js → KEjNxHSN.js} +1 -1
  184. package/web/app/immutable/chunks/{CjTGc2Y5.js → KSJAkSbC.js} +2 -2
  185. package/web/app/immutable/chunks/KvL2D8eF.js +1 -0
  186. package/web/app/immutable/chunks/L-jTlD15.js +4 -0
  187. package/web/app/immutable/chunks/{D_r5h8IL.js → NgjMs0r6.js} +1 -1
  188. package/web/app/immutable/chunks/{DFBd8tOh.js → OK80LzXp.js} +1 -1
  189. package/web/app/immutable/chunks/{DISyGoja.js → OltbXq5G.js} +1 -1
  190. package/web/app/immutable/chunks/{cFozej4U.js → PtFvwTVZ.js} +3 -3
  191. package/web/app/immutable/chunks/{VdR0DXlW.js → Q1s61YDh.js} +47 -47
  192. package/web/app/immutable/chunks/{tDUnXf7O.js → QFEvVzf2.js} +1 -1
  193. package/web/app/immutable/chunks/{D_-ztW_Y.js → SLPWQR3F.js} +1 -1
  194. package/web/app/immutable/chunks/{C1AEP5wW.js → SxNO1NUM.js} +1 -1
  195. package/web/app/immutable/chunks/{qjcf4Gb9.js → Tygff_sj.js} +1 -1
  196. package/web/app/immutable/chunks/{CFNJHO2G.js → UO171Id4.js} +1 -1
  197. package/web/app/immutable/chunks/{CY-vjmpy.js → VcOG8L0Z.js} +1 -1
  198. package/web/app/immutable/chunks/{BYMXwcID.js → W2c1MO7q.js} +1 -1
  199. package/web/app/immutable/chunks/{t7yAUuZn.js → XagMlRFc.js} +2 -2
  200. package/web/app/immutable/chunks/{DbCFTbwM.js → Z-hUD4Ap.js} +1 -1
  201. package/web/app/immutable/chunks/{CUNx-_2d.js → aitTA173.js} +4 -4
  202. package/web/app/immutable/chunks/{qi41b1Ac.js → bLKIt_n4.js} +1 -1
  203. package/web/app/immutable/chunks/{Hd1u2Z-S.js → eNRNxfO0.js} +3 -3
  204. package/web/app/immutable/chunks/{VJkCr9xp.js → eRIG79tn.js} +1 -1
  205. package/web/app/immutable/chunks/{1GGKXNxU.js → e_K38tqB.js} +1 -1
  206. package/web/app/immutable/chunks/{Dsn82AW0.js → gTjyNX6h.js} +1 -1
  207. package/web/app/immutable/chunks/{D69ZLPjW.js → hSiYrZoo.js} +1 -1
  208. package/web/app/immutable/chunks/{DvATy2o1.js → hqZSbKVs.js} +1 -1
  209. package/web/app/immutable/chunks/{DksUdusM.js → nrAGmqbi.js} +2 -2
  210. package/web/app/immutable/chunks/{BimRiD6s.js → nxYQz1Bp.js} +1 -1
  211. package/web/app/immutable/chunks/{D5_auhOU.js → pehcYFWW.js} +2 -2
  212. package/web/app/immutable/chunks/{Cgn_eC9-.js → rIUowGAi.js} +2 -2
  213. package/web/app/immutable/chunks/{DvrEye74.js → rei1qYSi.js} +1 -1
  214. package/web/app/immutable/chunks/{BkFHmpuY.js → wK4T9_HO.js} +1 -1
  215. package/web/app/immutable/chunks/weHhj1in.js +1 -0
  216. package/web/app/immutable/chunks/{BvKqDQXM.js → xCaPmms8.js} +1 -1
  217. package/web/app/immutable/chunks/{CqwiFk32.js → yGw_3prC.js} +1 -1
  218. package/web/app/immutable/chunks/{NQru5r2h.js → yScsjjST.js} +1 -1
  219. package/web/app/immutable/entry/{app.jT7Rd2u4.js → app.De5C2NS7.js} +2 -2
  220. package/web/app/immutable/entry/start.BbOZiO5_.js +1 -0
  221. package/web/app/immutable/nodes/{0.9lwWQtfB.js → 0.D8lcICdy.js} +1 -1
  222. package/web/app/immutable/nodes/{1.Ck4yEk2l.js → 1.Bcr9Ac6T.js} +1 -1
  223. package/web/app/immutable/nodes/{10.C4FEQjC7.js → 10.CdYxZNRv.js} +17 -17
  224. package/web/app/immutable/nodes/{11.C-vXNNmX.js → 11.DTALKQkg.js} +4 -4
  225. package/web/app/immutable/nodes/{13.DhKVmEQi.js → 13.DTamgdFN.js} +1 -1
  226. package/web/app/immutable/nodes/{14.INZu_e5k.js → 14.CzznX4mY.js} +1 -1
  227. package/web/app/immutable/nodes/{15.DdKSdQ-h.js → 15.BuZ5Ykpn.js} +1 -1
  228. package/web/app/immutable/nodes/{16.Ad-t6nft.js → 16.D1WCmH9D.js} +1 -1
  229. package/web/app/immutable/nodes/{17.pLS5JsPi.js → 17.DXnAkOJb.js} +1 -1
  230. package/web/app/immutable/nodes/{18.DIVxEUeB.js → 18.BBYG39nr.js} +1 -1
  231. package/web/app/immutable/nodes/{19.BB9LuT5j.js → 19.Bwna1DuW.js} +2 -2
  232. package/web/app/immutable/nodes/{2.Bp80wZmn.js → 2.BCkphmFm.js} +11 -11
  233. package/web/app/immutable/nodes/{20.BGTcjiLa.js → 20.DyC7cckU.js} +1 -1
  234. package/web/app/immutable/nodes/{3.DRJnaOSe.js → 3.CJlWKIE-.js} +1 -1
  235. package/web/app/immutable/nodes/{4.p67SnElB.js → 4.CDSfo4Q5.js} +1 -1
  236. package/web/app/immutable/nodes/{5.DRmIJA2c.js → 5.B6hsM1cw.js} +1 -1
  237. package/web/app/immutable/nodes/{6.Bjeibumi.js → 6.DCm27sfe.js} +2 -2
  238. package/web/app/immutable/nodes/{7.CjIaxqZ1.js → 7.Dd2x1_y1.js} +1 -1
  239. package/web/app/immutable/nodes/{8.DAlxovqG.js → 8.C0jzmTGW.js} +1 -1
  240. package/web/app/immutable/nodes/{9.BKQZzsCi.js → 9.Bj88iDsv.js} +11 -11
  241. package/web/app/version.json +1 -1
  242. package/web/index.html +12 -12
  243. package/web/app/immutable/chunks/-7AqlW5j.js +0 -1
  244. package/web/app/immutable/chunks/B1lYPzEU.js +0 -1
  245. package/web/app/immutable/chunks/C14Hgf8a.js +0 -1
  246. package/web/app/immutable/chunks/CK4eAyad.js +0 -1
  247. package/web/app/immutable/chunks/DBdkAKrm.js +0 -4
  248. package/web/app/immutable/chunks/UGr2VEtG.js +0 -1
  249. package/web/app/immutable/chunks/i8PKWJT0.js +0 -1
  250. package/web/app/immutable/entry/start.CSuXA93h.js +0 -1
@@ -1,4 +1,4 @@
1
- import{I as pr}from"./DISyGoja.js";import{b as f,a$ as Er,X as j,aW as Kt,ay as nt,P as Ue,B as ur,h as fr,z as N,a_ as Ke,aZ as _r,b0 as gr,V as xr,U as yr,Y as Ir,ax as Rr,J as Or,r as Lr,aV as Ft,bh as Q,aa as tt,l as vt,aH as Ge,Z as br,W as zt,a7 as mr,aQ as Xe}from"./CUNx-_2d.js";import{d as Sr,h as le,g as pt,e as Ar,a as he,b as de}from"./BulBKnVz.js";var ne=(function(){var e=f(function(_t,w,C,D){for(C=C||{},D=_t.length;D--;C[_t[D]]=w);return C},"o"),t=[1,2],a=[1,3],r=[1,4],i=[2,4],o=[1,9],s=[1,11],n=[1,12],h=[1,14],d=[1,15],E=[1,17],u=[1,18],_=[1,19],L=[1,25],g=[1,26],R=[1,27],T=[1,28],O=[1,29],x=[1,30],m=[1,31],S=[1,32],b=[1,33],P=[1,34],k=[1,35],B=[1,36],V=[1,37],H=[1,38],z=[1,39],X=[1,40],et=[1,42],rt=[1,43],U=[1,44],ot=[1,45],at=[1,46],W=[1,47],M=[1,4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,49,50,51,53,54,56,61,62,63,64,73],Z=[1,56],Mt=[1,75],A=[1,81],v=[1,82],dt=[1,83],st=[1,84],K=[1,85],mt=[1,86],pe=[1,87],Ee=[1,88],ue=[1,89],fe=[1,90],_e=[1,91],ge=[1,92],xe=[1,93],ye=[1,94],Ie=[1,95],Re=[1,96],Oe=[1,97],Le=[1,98],be=[1,99],me=[1,100],Se=[1,101],Ae=[1,102],we=[1,103],Ne=[1,104],Pe=[1,105],ke=[1,106],De=[2,79],ve=[2,78],Pt=[4,5,17,51,53,54],Bt=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],Ce=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,50,51,53,54,56,61,62,63,64,73],$t=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,49,51,53,54,56,61,62,63,64,73],Me=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,51,53,54,56,61,62,63,64,73],jt=[5,52],F=[62,70,71,72,73],Be=[62,73],lt=[1,152],te={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,INVALID:10,box_section:11,box_line:12,participant_statement:13,create:14,box:15,restOfLine:16,end:17,signal:18,autonumber:19,NUM:20,off:21,activate:22,actor:23,deactivate:24,note_statement:25,links_statement:26,link_statement:27,properties_statement:28,details_statement:29,title:30,legacy_title:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,loop:37,rect:38,opt:39,alt:40,else_sections:41,par:42,par_sections:43,par_over:44,critical:45,option_sections:46,break:47,option:48,and:49,else:50,participant:51,AS:52,participant_actor:53,destroy:54,actor_with_config:55,note:56,placement:57,text2:58,over:59,actor_pair:60,links:61,link:62,properties:63,details:64,spaceList:65,",":66,left_of:67,right_of:68,signaltype:69,"+":70,"-":71,"()":72,ACTOR:73,config_object:74,CONFIG_START:75,CONFIG_CONTENT:76,CONFIG_END:77,SOLID_OPEN_ARROW:78,DOTTED_OPEN_ARROW:79,SOLID_ARROW:80,SOLID_ARROW_TOP:81,SOLID_ARROW_BOTTOM:82,STICK_ARROW_TOP:83,STICK_ARROW_BOTTOM:84,SOLID_ARROW_TOP_DOTTED:85,SOLID_ARROW_BOTTOM_DOTTED:86,STICK_ARROW_TOP_DOTTED:87,STICK_ARROW_BOTTOM_DOTTED:88,SOLID_ARROW_TOP_REVERSE:89,SOLID_ARROW_BOTTOM_REVERSE:90,STICK_ARROW_TOP_REVERSE:91,STICK_ARROW_BOTTOM_REVERSE:92,SOLID_ARROW_TOP_REVERSE_DOTTED:93,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:94,STICK_ARROW_TOP_REVERSE_DOTTED:95,STICK_ARROW_BOTTOM_REVERSE_DOTTED:96,BIDIRECTIONAL_SOLID_ARROW:97,DOTTED_ARROW:98,BIDIRECTIONAL_DOTTED_ARROW:99,SOLID_CROSS:100,DOTTED_CROSS:101,SOLID_POINT:102,DOTTED_POINT:103,TXT:104,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",10:"INVALID",14:"create",15:"box",16:"restOfLine",17:"end",19:"autonumber",20:"NUM",21:"off",22:"activate",24:"deactivate",30:"title",31:"legacy_title",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"loop",38:"rect",39:"opt",40:"alt",42:"par",44:"par_over",45:"critical",47:"break",48:"option",49:"and",50:"else",51:"participant",52:"AS",53:"participant_actor",54:"destroy",56:"note",59:"over",61:"links",62:"link",63:"properties",64:"details",66:",",67:"left_of",68:"right_of",70:"+",71:"-",72:"()",73:"ACTOR",75:"CONFIG_START",76:"CONFIG_CONTENT",77:"CONFIG_END",78:"SOLID_OPEN_ARROW",79:"DOTTED_OPEN_ARROW",80:"SOLID_ARROW",81:"SOLID_ARROW_TOP",82:"SOLID_ARROW_BOTTOM",83:"STICK_ARROW_TOP",84:"STICK_ARROW_BOTTOM",85:"SOLID_ARROW_TOP_DOTTED",86:"SOLID_ARROW_BOTTOM_DOTTED",87:"STICK_ARROW_TOP_DOTTED",88:"STICK_ARROW_BOTTOM_DOTTED",89:"SOLID_ARROW_TOP_REVERSE",90:"SOLID_ARROW_BOTTOM_REVERSE",91:"STICK_ARROW_TOP_REVERSE",92:"STICK_ARROW_BOTTOM_REVERSE",93:"SOLID_ARROW_TOP_REVERSE_DOTTED",94:"SOLID_ARROW_BOTTOM_REVERSE_DOTTED",95:"STICK_ARROW_TOP_REVERSE_DOTTED",96:"STICK_ARROW_BOTTOM_REVERSE_DOTTED",97:"BIDIRECTIONAL_SOLID_ARROW",98:"DOTTED_ARROW",99:"BIDIRECTIONAL_DOTTED_ARROW",100:"SOLID_CROSS",101:"DOTTED_CROSS",102:"SOLID_POINT",103:"DOTTED_POINT",104:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[8,1],[11,0],[11,2],[12,2],[12,1],[12,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[46,1],[46,4],[43,1],[43,4],[41,1],[41,4],[13,5],[13,3],[13,5],[13,3],[13,3],[13,5],[13,3],[13,5],[13,3],[25,4],[25,4],[26,3],[27,3],[28,3],[29,3],[65,2],[65,1],[60,3],[60,1],[57,1],[57,1],[18,5],[18,5],[18,5],[18,5],[18,6],[18,4],[55,2],[74,3],[23,1],[23,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[58,1]],performAction:f(function(w,C,D,y,G,c,kt){var p=c.length-1;switch(G){case 3:return y.apply(c[p]),c[p];case 4:case 10:this.$=[];break;case 5:case 11:c[p-1].push(c[p]),this.$=c[p-1];break;case 6:case 7:case 12:case 13:this.$=c[p];break;case 8:case 9:case 14:this.$=[];break;case 16:c[p].type="createParticipant",this.$=c[p];break;case 17:c[p-1].unshift({type:"boxStart",boxData:y.parseBoxData(c[p-2])}),c[p-1].push({type:"boxEnd",boxText:c[p-2]}),this.$=c[p-1];break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(c[p-2]),sequenceIndexStep:Number(c[p-1]),sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(c[p-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:y.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"activeStart",signalType:y.LINETYPE.ACTIVE_START,actor:c[p-1].actor};break;case 24:this.$={type:"activeEnd",signalType:y.LINETYPE.ACTIVE_END,actor:c[p-1].actor};break;case 30:y.setDiagramTitle(c[p].substring(6)),this.$=c[p].substring(6);break;case 31:y.setDiagramTitle(c[p].substring(7)),this.$=c[p].substring(7);break;case 32:this.$=c[p].trim(),y.setAccTitle(this.$);break;case 33:case 34:this.$=c[p].trim(),y.setAccDescription(this.$);break;case 35:c[p-1].unshift({type:"loopStart",loopText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.LOOP_START}),c[p-1].push({type:"loopEnd",loopText:c[p-2],signalType:y.LINETYPE.LOOP_END}),this.$=c[p-1];break;case 36:c[p-1].unshift({type:"rectStart",color:y.parseMessage(c[p-2]),signalType:y.LINETYPE.RECT_START}),c[p-1].push({type:"rectEnd",color:y.parseMessage(c[p-2]),signalType:y.LINETYPE.RECT_END}),this.$=c[p-1];break;case 37:c[p-1].unshift({type:"optStart",optText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.OPT_START}),c[p-1].push({type:"optEnd",optText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.OPT_END}),this.$=c[p-1];break;case 38:c[p-1].unshift({type:"altStart",altText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.ALT_START}),c[p-1].push({type:"altEnd",signalType:y.LINETYPE.ALT_END}),this.$=c[p-1];break;case 39:c[p-1].unshift({type:"parStart",parText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.PAR_START}),c[p-1].push({type:"parEnd",signalType:y.LINETYPE.PAR_END}),this.$=c[p-1];break;case 40:c[p-1].unshift({type:"parStart",parText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.PAR_OVER_START}),c[p-1].push({type:"parEnd",signalType:y.LINETYPE.PAR_END}),this.$=c[p-1];break;case 41:c[p-1].unshift({type:"criticalStart",criticalText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.CRITICAL_START}),c[p-1].push({type:"criticalEnd",signalType:y.LINETYPE.CRITICAL_END}),this.$=c[p-1];break;case 42:c[p-1].unshift({type:"breakStart",breakText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.BREAK_START}),c[p-1].push({type:"breakEnd",optText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.BREAK_END}),this.$=c[p-1];break;case 44:this.$=c[p-3].concat([{type:"option",optionText:y.parseMessage(c[p-1]),signalType:y.LINETYPE.CRITICAL_OPTION},c[p]]);break;case 46:this.$=c[p-3].concat([{type:"and",parText:y.parseMessage(c[p-1]),signalType:y.LINETYPE.PAR_AND},c[p]]);break;case 48:this.$=c[p-3].concat([{type:"else",altText:y.parseMessage(c[p-1]),signalType:y.LINETYPE.ALT_ELSE},c[p]]);break;case 49:c[p-3].draw="participant",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 50:c[p-1].draw="participant",c[p-1].type="addParticipant",this.$=c[p-1];break;case 51:c[p-3].draw="actor",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 52:case 57:c[p-1].draw="actor",c[p-1].type="addParticipant",this.$=c[p-1];break;case 53:c[p-1].type="destroyParticipant",this.$=c[p-1];break;case 54:c[p-3].draw="participant",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 55:c[p-1].draw="participant",c[p-1].type="addParticipant",this.$=c[p-1];break;case 56:c[p-3].draw="actor",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 58:this.$=[c[p-1],{type:"addNote",placement:c[p-2],actor:c[p-1].actor,text:c[p]}];break;case 59:c[p-2]=[].concat(c[p-1],c[p-1]).slice(0,2),c[p-2][0]=c[p-2][0].actor,c[p-2][1]=c[p-2][1].actor,this.$=[c[p-1],{type:"addNote",placement:y.PLACEMENT.OVER,actor:c[p-2].slice(0,2),text:c[p]}];break;case 60:this.$=[c[p-1],{type:"addLinks",actor:c[p-1].actor,text:c[p]}];break;case 61:this.$=[c[p-1],{type:"addALink",actor:c[p-1].actor,text:c[p]}];break;case 62:this.$=[c[p-1],{type:"addProperties",actor:c[p-1].actor,text:c[p]}];break;case 63:this.$=[c[p-1],{type:"addDetails",actor:c[p-1].actor,text:c[p]}];break;case 66:this.$=[c[p-2],c[p]];break;case 67:this.$=c[p];break;case 68:this.$=y.PLACEMENT.LEFTOF;break;case 69:this.$=y.PLACEMENT.RIGHTOF;break;case 70:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0},{type:"activeStart",signalType:y.LINETYPE.ACTIVE_START,actor:c[p-1].actor}];break;case 71:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p]},{type:"activeEnd",signalType:y.LINETYPE.ACTIVE_END,actor:c[p-4].actor}];break;case 72:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0,centralConnection:y.LINETYPE.CENTRAL_CONNECTION},{type:"centralConnection",signalType:y.LINETYPE.CENTRAL_CONNECTION,actor:c[p-1].actor}];break;case 73:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-2],msg:c[p],activate:!1,centralConnection:y.LINETYPE.CENTRAL_CONNECTION_REVERSE},{type:"centralConnectionReverse",signalType:y.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:c[p-4].actor}];break;case 74:this.$=[c[p-5],c[p-1],{type:"addMessage",from:c[p-5].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0,centralConnection:y.LINETYPE.CENTRAL_CONNECTION_DUAL},{type:"centralConnection",signalType:y.LINETYPE.CENTRAL_CONNECTION,actor:c[p-1].actor},{type:"centralConnectionReverse",signalType:y.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:c[p-5].actor}];break;case 75:this.$=[c[p-3],c[p-1],{type:"addMessage",from:c[p-3].actor,to:c[p-1].actor,signalType:c[p-2],msg:c[p]}];break;case 76:this.$={type:"addParticipant",actor:c[p-1],config:c[p]};break;case 77:this.$=c[p-1].trim();break;case 78:case 79:this.$={type:"addParticipant",actor:c[p]};break;case 80:this.$=y.LINETYPE.SOLID_OPEN;break;case 81:this.$=y.LINETYPE.DOTTED_OPEN;break;case 82:this.$=y.LINETYPE.SOLID;break;case 83:this.$=y.LINETYPE.SOLID_TOP;break;case 84:this.$=y.LINETYPE.SOLID_BOTTOM;break;case 85:this.$=y.LINETYPE.STICK_TOP;break;case 86:this.$=y.LINETYPE.STICK_BOTTOM;break;case 87:this.$=y.LINETYPE.SOLID_TOP_DOTTED;break;case 88:this.$=y.LINETYPE.SOLID_BOTTOM_DOTTED;break;case 89:this.$=y.LINETYPE.STICK_TOP_DOTTED;break;case 90:this.$=y.LINETYPE.STICK_BOTTOM_DOTTED;break;case 91:this.$=y.LINETYPE.SOLID_ARROW_TOP_REVERSE;break;case 92:this.$=y.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE;break;case 93:this.$=y.LINETYPE.STICK_ARROW_TOP_REVERSE;break;case 94:this.$=y.LINETYPE.STICK_ARROW_BOTTOM_REVERSE;break;case 95:this.$=y.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED;break;case 96:this.$=y.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED;break;case 97:this.$=y.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED;break;case 98:this.$=y.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED;break;case 99:this.$=y.LINETYPE.BIDIRECTIONAL_SOLID;break;case 100:this.$=y.LINETYPE.DOTTED;break;case 101:this.$=y.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 102:this.$=y.LINETYPE.SOLID_CROSS;break;case 103:this.$=y.LINETYPE.DOTTED_CROSS;break;case 104:this.$=y.LINETYPE.SOLID_POINT;break;case 105:this.$=y.LINETYPE.DOTTED_POINT;break;case 106:this.$=y.parseMessage(c[p].trim().substring(1));break}},"anonymous"),table:[{3:1,4:t,5:a,6:r},{1:[3]},{3:5,4:t,5:a,6:r},{3:6,4:t,5:a,6:r},e([1,4,5,10,14,15,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},e(M,[2,5]),{9:48,13:13,14:h,15:d,18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},e(M,[2,7]),e(M,[2,8]),e(M,[2,9]),e(M,[2,15]),{13:49,51:H,53:z,54:X},{16:[1,50]},{5:[1,51]},{5:[1,54],20:[1,52],21:[1,53]},{23:55,62:Z,73:W},{23:57,62:Z,73:W},{5:[1,58]},{5:[1,59]},{5:[1,60]},{5:[1,61]},{5:[1,62]},e(M,[2,30]),e(M,[2,31]),{33:[1,63]},{35:[1,64]},e(M,[2,34]),{16:[1,65]},{16:[1,66]},{16:[1,67]},{16:[1,68]},{16:[1,69]},{16:[1,70]},{16:[1,71]},{16:[1,72]},{23:73,55:74,62:Z,73:Mt},{23:76,55:77,62:Z,73:Mt},{23:78,62:Z,73:W},{69:79,72:[1,80],78:A,79:v,80:dt,81:st,82:K,83:mt,84:pe,85:Ee,86:ue,87:fe,88:_e,89:ge,90:xe,91:ye,92:Ie,93:Re,94:Oe,95:Le,96:be,97:me,98:Se,99:Ae,100:we,101:Ne,102:Pe,103:ke},{57:107,59:[1,108],67:[1,109],68:[1,110]},{23:111,62:Z,73:W},e([72,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],De,{23:112,62:Z,73:W}),{23:113,62:Z,73:W},{23:114,62:Z,73:W},e([5,66,72,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],ve),e(M,[2,6]),e(M,[2,16]),e(Pt,[2,10],{11:115}),e(M,[2,18]),{5:[1,117],20:[1,116]},{5:[1,118]},e(M,[2,22]),{5:[1,119]},e([5,52,66,104],De),{5:[1,120]},e(M,[2,25]),e(M,[2,26]),e(M,[2,27]),e(M,[2,28]),e(M,[2,29]),e(M,[2,32]),e(M,[2,33]),e(Bt,i,{7:121}),e(Bt,i,{7:122}),e(Bt,i,{7:123}),e(Ce,i,{41:124,7:125}),e($t,i,{43:126,7:127}),e($t,i,{7:127,43:128}),e(Me,i,{46:129,7:130}),e(Bt,i,{7:131}),{5:[1,133],52:[1,132]},{5:[1,135],52:[1,134]},e(jt,ve,{74:136,75:[1,137]}),{5:[1,139],52:[1,138]},{5:[1,141],52:[1,140]},{5:[1,142]},{23:146,62:Z,70:[1,143],71:[1,144],72:[1,145],73:W},{69:147,78:A,79:v,80:dt,81:st,82:K,83:mt,84:pe,85:Ee,86:ue,87:fe,88:_e,89:ge,90:xe,91:ye,92:Ie,93:Re,94:Oe,95:Le,96:be,97:me,98:Se,99:Ae,100:we,101:Ne,102:Pe,103:ke},e(F,[2,80]),e(F,[2,81]),e(F,[2,82]),e(F,[2,83]),e(F,[2,84]),e(F,[2,85]),e(F,[2,86]),e(F,[2,87]),e(F,[2,88]),e(F,[2,89]),e(F,[2,90]),e(F,[2,91]),e(F,[2,92]),e(F,[2,93]),e(F,[2,94]),e(F,[2,95]),e(F,[2,96]),e(F,[2,97]),e(F,[2,98]),e(F,[2,99]),e(F,[2,100]),e(F,[2,101]),e(F,[2,102]),e(F,[2,103]),e(F,[2,104]),e(F,[2,105]),{23:148,62:Z,73:W},{23:150,60:149,62:Z,73:W},e(Be,[2,68]),e(Be,[2,69]),{58:151,104:lt},{58:153,104:lt},{58:154,104:lt},{58:155,104:lt},{4:[1,158],5:[1,160],12:157,13:159,17:[1,156],51:H,53:z,54:X},{5:[1,161]},e(M,[2,20]),e(M,[2,21]),e(M,[2,23]),e(M,[2,24]),{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,162],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,163],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,164],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{17:[1,165]},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[2,47],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,50:[1,166],51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{17:[1,167]},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[2,45],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,49:[1,168],51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{17:[1,169]},{17:[1,170]},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[2,43],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,48:[1,171],51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,172],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{16:[1,173]},e(M,[2,50]),{16:[1,174]},e(M,[2,55]),e(jt,[2,76]),{76:[1,175]},{16:[1,176]},e(M,[2,52]),{16:[1,177]},e(M,[2,57]),e(M,[2,53]),{23:178,62:Z,73:W},{23:179,62:Z,73:W},{23:180,62:Z,73:W},{58:181,104:lt},{23:182,62:Z,72:[1,183],73:W},{58:184,104:lt},{58:185,104:lt},{66:[1,186],104:[2,67]},{5:[2,60]},{5:[2,106]},{5:[2,61]},{5:[2,62]},{5:[2,63]},e(M,[2,17]),e(Pt,[2,11]),{13:187,51:H,53:z,54:X},e(Pt,[2,13]),e(Pt,[2,14]),e(M,[2,19]),e(M,[2,35]),e(M,[2,36]),e(M,[2,37]),e(M,[2,38]),{16:[1,188]},e(M,[2,39]),{16:[1,189]},e(M,[2,40]),e(M,[2,41]),{16:[1,190]},e(M,[2,42]),{5:[1,191]},{5:[1,192]},{77:[1,193]},{5:[1,194]},{5:[1,195]},{58:196,104:lt},{58:197,104:lt},{58:198,104:lt},{5:[2,75]},{58:199,104:lt},{23:200,62:Z,73:W},{5:[2,58]},{5:[2,59]},{23:201,62:Z,73:W},e(Pt,[2,12]),e(Ce,i,{7:125,41:202}),e($t,i,{7:127,43:203}),e(Me,i,{7:130,46:204}),e(M,[2,49]),e(M,[2,54]),e(jt,[2,77]),e(M,[2,51]),e(M,[2,56]),{5:[2,70]},{5:[2,71]},{5:[2,72]},{5:[2,73]},{58:205,104:lt},{104:[2,66]},{17:[2,48]},{17:[2,46]},{17:[2,44]},{5:[2,74]}],defaultActions:{5:[2,1],6:[2,2],151:[2,60],152:[2,106],153:[2,61],154:[2,62],155:[2,63],181:[2,75],184:[2,58],185:[2,59],196:[2,70],197:[2,71],198:[2,72],199:[2,73],201:[2,66],202:[2,48],203:[2,46],204:[2,44],205:[2,74]},parseError:f(function(w,C){if(C.recoverable)this.trace(w);else{var D=new Error(w);throw D.hash=C,D}},"parseError"),parse:f(function(w){var C=this,D=[0],y=[],G=[null],c=[],kt=this.table,p="",Vt=0,Ye=0,lr=2,Ve=1,hr=c.slice.call(arguments,1),$=Object.create(this.lexer),It={yy:{}};for(var ee in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ee)&&(It.yy[ee]=this.yy[ee]);$.setInput(w,It.yy),It.yy.lexer=$,It.yy.parser=this,typeof $.yylloc>"u"&&($.yylloc={});var re=$.yylloc;c.push(re);var dr=$.options&&$.options.ranges;typeof It.yy.parseError=="function"?this.parseError=It.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Tr(ct){D.length=D.length-2*ct,G.length=G.length-ct,c.length=c.length-ct}f(Tr,"popStack");function We(){var ct;return ct=y.pop()||$.lex()||Ve,typeof ct!="number"&&(ct instanceof Array&&(y=ct,ct=y.pop()),ct=C.symbols_[ct]||ct),ct}f(We,"lex");for(var it,Rt,ht,ae,St={},Wt,Et,He,Ht;;){if(Rt=D[D.length-1],this.defaultActions[Rt]?ht=this.defaultActions[Rt]:((it===null||typeof it>"u")&&(it=We()),ht=kt[Rt]&&kt[Rt][it]),typeof ht>"u"||!ht.length||!ht[0]){var se="";Ht=[];for(Wt in kt[Rt])this.terminals_[Wt]&&Wt>lr&&Ht.push("'"+this.terminals_[Wt]+"'");$.showPosition?se="Parse error on line "+(Vt+1)+`:
1
+ import{I as pr}from"./OltbXq5G.js";import{b as f,a$ as Er,X as j,aW as Kt,ay as nt,P as Ue,B as ur,h as fr,z as N,a_ as Ke,aZ as _r,b0 as gr,V as xr,U as yr,Y as Ir,ax as Rr,J as Or,r as Lr,aV as Ft,bh as Q,aa as tt,l as vt,aH as Ge,Z as br,W as zt,a7 as mr,aQ as Xe}from"./aitTA173.js";import{d as Sr,h as le,g as pt,e as Ar,a as he,b as de}from"./B3hSlB6y.js";var ne=(function(){var e=f(function(_t,w,C,D){for(C=C||{},D=_t.length;D--;C[_t[D]]=w);return C},"o"),t=[1,2],a=[1,3],r=[1,4],i=[2,4],o=[1,9],s=[1,11],n=[1,12],h=[1,14],d=[1,15],E=[1,17],u=[1,18],_=[1,19],L=[1,25],g=[1,26],R=[1,27],T=[1,28],O=[1,29],x=[1,30],m=[1,31],S=[1,32],b=[1,33],P=[1,34],k=[1,35],B=[1,36],V=[1,37],H=[1,38],z=[1,39],X=[1,40],et=[1,42],rt=[1,43],U=[1,44],ot=[1,45],at=[1,46],W=[1,47],M=[1,4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,49,50,51,53,54,56,61,62,63,64,73],Z=[1,56],Mt=[1,75],A=[1,81],v=[1,82],dt=[1,83],st=[1,84],K=[1,85],mt=[1,86],pe=[1,87],Ee=[1,88],ue=[1,89],fe=[1,90],_e=[1,91],ge=[1,92],xe=[1,93],ye=[1,94],Ie=[1,95],Re=[1,96],Oe=[1,97],Le=[1,98],be=[1,99],me=[1,100],Se=[1,101],Ae=[1,102],we=[1,103],Ne=[1,104],Pe=[1,105],ke=[1,106],De=[2,79],ve=[2,78],Pt=[4,5,17,51,53,54],Bt=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],Ce=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,50,51,53,54,56,61,62,63,64,73],$t=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,49,51,53,54,56,61,62,63,64,73],Me=[4,5,10,14,15,17,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,48,51,53,54,56,61,62,63,64,73],jt=[5,52],F=[62,70,71,72,73],Be=[62,73],lt=[1,152],te={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,INVALID:10,box_section:11,box_line:12,participant_statement:13,create:14,box:15,restOfLine:16,end:17,signal:18,autonumber:19,NUM:20,off:21,activate:22,actor:23,deactivate:24,note_statement:25,links_statement:26,link_statement:27,properties_statement:28,details_statement:29,title:30,legacy_title:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,loop:37,rect:38,opt:39,alt:40,else_sections:41,par:42,par_sections:43,par_over:44,critical:45,option_sections:46,break:47,option:48,and:49,else:50,participant:51,AS:52,participant_actor:53,destroy:54,actor_with_config:55,note:56,placement:57,text2:58,over:59,actor_pair:60,links:61,link:62,properties:63,details:64,spaceList:65,",":66,left_of:67,right_of:68,signaltype:69,"+":70,"-":71,"()":72,ACTOR:73,config_object:74,CONFIG_START:75,CONFIG_CONTENT:76,CONFIG_END:77,SOLID_OPEN_ARROW:78,DOTTED_OPEN_ARROW:79,SOLID_ARROW:80,SOLID_ARROW_TOP:81,SOLID_ARROW_BOTTOM:82,STICK_ARROW_TOP:83,STICK_ARROW_BOTTOM:84,SOLID_ARROW_TOP_DOTTED:85,SOLID_ARROW_BOTTOM_DOTTED:86,STICK_ARROW_TOP_DOTTED:87,STICK_ARROW_BOTTOM_DOTTED:88,SOLID_ARROW_TOP_REVERSE:89,SOLID_ARROW_BOTTOM_REVERSE:90,STICK_ARROW_TOP_REVERSE:91,STICK_ARROW_BOTTOM_REVERSE:92,SOLID_ARROW_TOP_REVERSE_DOTTED:93,SOLID_ARROW_BOTTOM_REVERSE_DOTTED:94,STICK_ARROW_TOP_REVERSE_DOTTED:95,STICK_ARROW_BOTTOM_REVERSE_DOTTED:96,BIDIRECTIONAL_SOLID_ARROW:97,DOTTED_ARROW:98,BIDIRECTIONAL_DOTTED_ARROW:99,SOLID_CROSS:100,DOTTED_CROSS:101,SOLID_POINT:102,DOTTED_POINT:103,TXT:104,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",10:"INVALID",14:"create",15:"box",16:"restOfLine",17:"end",19:"autonumber",20:"NUM",21:"off",22:"activate",24:"deactivate",30:"title",31:"legacy_title",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"loop",38:"rect",39:"opt",40:"alt",42:"par",44:"par_over",45:"critical",47:"break",48:"option",49:"and",50:"else",51:"participant",52:"AS",53:"participant_actor",54:"destroy",56:"note",59:"over",61:"links",62:"link",63:"properties",64:"details",66:",",67:"left_of",68:"right_of",70:"+",71:"-",72:"()",73:"ACTOR",75:"CONFIG_START",76:"CONFIG_CONTENT",77:"CONFIG_END",78:"SOLID_OPEN_ARROW",79:"DOTTED_OPEN_ARROW",80:"SOLID_ARROW",81:"SOLID_ARROW_TOP",82:"SOLID_ARROW_BOTTOM",83:"STICK_ARROW_TOP",84:"STICK_ARROW_BOTTOM",85:"SOLID_ARROW_TOP_DOTTED",86:"SOLID_ARROW_BOTTOM_DOTTED",87:"STICK_ARROW_TOP_DOTTED",88:"STICK_ARROW_BOTTOM_DOTTED",89:"SOLID_ARROW_TOP_REVERSE",90:"SOLID_ARROW_BOTTOM_REVERSE",91:"STICK_ARROW_TOP_REVERSE",92:"STICK_ARROW_BOTTOM_REVERSE",93:"SOLID_ARROW_TOP_REVERSE_DOTTED",94:"SOLID_ARROW_BOTTOM_REVERSE_DOTTED",95:"STICK_ARROW_TOP_REVERSE_DOTTED",96:"STICK_ARROW_BOTTOM_REVERSE_DOTTED",97:"BIDIRECTIONAL_SOLID_ARROW",98:"DOTTED_ARROW",99:"BIDIRECTIONAL_DOTTED_ARROW",100:"SOLID_CROSS",101:"DOTTED_CROSS",102:"SOLID_POINT",103:"DOTTED_POINT",104:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[8,1],[11,0],[11,2],[12,2],[12,1],[12,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[46,1],[46,4],[43,1],[43,4],[41,1],[41,4],[13,5],[13,3],[13,5],[13,3],[13,3],[13,5],[13,3],[13,5],[13,3],[25,4],[25,4],[26,3],[27,3],[28,3],[29,3],[65,2],[65,1],[60,3],[60,1],[57,1],[57,1],[18,5],[18,5],[18,5],[18,5],[18,6],[18,4],[55,2],[74,3],[23,1],[23,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[69,1],[58,1]],performAction:f(function(w,C,D,y,G,c,kt){var p=c.length-1;switch(G){case 3:return y.apply(c[p]),c[p];case 4:case 10:this.$=[];break;case 5:case 11:c[p-1].push(c[p]),this.$=c[p-1];break;case 6:case 7:case 12:case 13:this.$=c[p];break;case 8:case 9:case 14:this.$=[];break;case 16:c[p].type="createParticipant",this.$=c[p];break;case 17:c[p-1].unshift({type:"boxStart",boxData:y.parseBoxData(c[p-2])}),c[p-1].push({type:"boxEnd",boxText:c[p-2]}),this.$=c[p-1];break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(c[p-2]),sequenceIndexStep:Number(c[p-1]),sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(c[p-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:y.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:y.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"activeStart",signalType:y.LINETYPE.ACTIVE_START,actor:c[p-1].actor};break;case 24:this.$={type:"activeEnd",signalType:y.LINETYPE.ACTIVE_END,actor:c[p-1].actor};break;case 30:y.setDiagramTitle(c[p].substring(6)),this.$=c[p].substring(6);break;case 31:y.setDiagramTitle(c[p].substring(7)),this.$=c[p].substring(7);break;case 32:this.$=c[p].trim(),y.setAccTitle(this.$);break;case 33:case 34:this.$=c[p].trim(),y.setAccDescription(this.$);break;case 35:c[p-1].unshift({type:"loopStart",loopText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.LOOP_START}),c[p-1].push({type:"loopEnd",loopText:c[p-2],signalType:y.LINETYPE.LOOP_END}),this.$=c[p-1];break;case 36:c[p-1].unshift({type:"rectStart",color:y.parseMessage(c[p-2]),signalType:y.LINETYPE.RECT_START}),c[p-1].push({type:"rectEnd",color:y.parseMessage(c[p-2]),signalType:y.LINETYPE.RECT_END}),this.$=c[p-1];break;case 37:c[p-1].unshift({type:"optStart",optText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.OPT_START}),c[p-1].push({type:"optEnd",optText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.OPT_END}),this.$=c[p-1];break;case 38:c[p-1].unshift({type:"altStart",altText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.ALT_START}),c[p-1].push({type:"altEnd",signalType:y.LINETYPE.ALT_END}),this.$=c[p-1];break;case 39:c[p-1].unshift({type:"parStart",parText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.PAR_START}),c[p-1].push({type:"parEnd",signalType:y.LINETYPE.PAR_END}),this.$=c[p-1];break;case 40:c[p-1].unshift({type:"parStart",parText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.PAR_OVER_START}),c[p-1].push({type:"parEnd",signalType:y.LINETYPE.PAR_END}),this.$=c[p-1];break;case 41:c[p-1].unshift({type:"criticalStart",criticalText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.CRITICAL_START}),c[p-1].push({type:"criticalEnd",signalType:y.LINETYPE.CRITICAL_END}),this.$=c[p-1];break;case 42:c[p-1].unshift({type:"breakStart",breakText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.BREAK_START}),c[p-1].push({type:"breakEnd",optText:y.parseMessage(c[p-2]),signalType:y.LINETYPE.BREAK_END}),this.$=c[p-1];break;case 44:this.$=c[p-3].concat([{type:"option",optionText:y.parseMessage(c[p-1]),signalType:y.LINETYPE.CRITICAL_OPTION},c[p]]);break;case 46:this.$=c[p-3].concat([{type:"and",parText:y.parseMessage(c[p-1]),signalType:y.LINETYPE.PAR_AND},c[p]]);break;case 48:this.$=c[p-3].concat([{type:"else",altText:y.parseMessage(c[p-1]),signalType:y.LINETYPE.ALT_ELSE},c[p]]);break;case 49:c[p-3].draw="participant",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 50:c[p-1].draw="participant",c[p-1].type="addParticipant",this.$=c[p-1];break;case 51:c[p-3].draw="actor",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 52:case 57:c[p-1].draw="actor",c[p-1].type="addParticipant",this.$=c[p-1];break;case 53:c[p-1].type="destroyParticipant",this.$=c[p-1];break;case 54:c[p-3].draw="participant",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 55:c[p-1].draw="participant",c[p-1].type="addParticipant",this.$=c[p-1];break;case 56:c[p-3].draw="actor",c[p-3].type="addParticipant",c[p-3].description=y.parseMessage(c[p-1]),this.$=c[p-3];break;case 58:this.$=[c[p-1],{type:"addNote",placement:c[p-2],actor:c[p-1].actor,text:c[p]}];break;case 59:c[p-2]=[].concat(c[p-1],c[p-1]).slice(0,2),c[p-2][0]=c[p-2][0].actor,c[p-2][1]=c[p-2][1].actor,this.$=[c[p-1],{type:"addNote",placement:y.PLACEMENT.OVER,actor:c[p-2].slice(0,2),text:c[p]}];break;case 60:this.$=[c[p-1],{type:"addLinks",actor:c[p-1].actor,text:c[p]}];break;case 61:this.$=[c[p-1],{type:"addALink",actor:c[p-1].actor,text:c[p]}];break;case 62:this.$=[c[p-1],{type:"addProperties",actor:c[p-1].actor,text:c[p]}];break;case 63:this.$=[c[p-1],{type:"addDetails",actor:c[p-1].actor,text:c[p]}];break;case 66:this.$=[c[p-2],c[p]];break;case 67:this.$=c[p];break;case 68:this.$=y.PLACEMENT.LEFTOF;break;case 69:this.$=y.PLACEMENT.RIGHTOF;break;case 70:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0},{type:"activeStart",signalType:y.LINETYPE.ACTIVE_START,actor:c[p-1].actor}];break;case 71:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p]},{type:"activeEnd",signalType:y.LINETYPE.ACTIVE_END,actor:c[p-4].actor}];break;case 72:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0,centralConnection:y.LINETYPE.CENTRAL_CONNECTION},{type:"centralConnection",signalType:y.LINETYPE.CENTRAL_CONNECTION,actor:c[p-1].actor}];break;case 73:this.$=[c[p-4],c[p-1],{type:"addMessage",from:c[p-4].actor,to:c[p-1].actor,signalType:c[p-2],msg:c[p],activate:!1,centralConnection:y.LINETYPE.CENTRAL_CONNECTION_REVERSE},{type:"centralConnectionReverse",signalType:y.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:c[p-4].actor}];break;case 74:this.$=[c[p-5],c[p-1],{type:"addMessage",from:c[p-5].actor,to:c[p-1].actor,signalType:c[p-3],msg:c[p],activate:!0,centralConnection:y.LINETYPE.CENTRAL_CONNECTION_DUAL},{type:"centralConnection",signalType:y.LINETYPE.CENTRAL_CONNECTION,actor:c[p-1].actor},{type:"centralConnectionReverse",signalType:y.LINETYPE.CENTRAL_CONNECTION_REVERSE,actor:c[p-5].actor}];break;case 75:this.$=[c[p-3],c[p-1],{type:"addMessage",from:c[p-3].actor,to:c[p-1].actor,signalType:c[p-2],msg:c[p]}];break;case 76:this.$={type:"addParticipant",actor:c[p-1],config:c[p]};break;case 77:this.$=c[p-1].trim();break;case 78:case 79:this.$={type:"addParticipant",actor:c[p]};break;case 80:this.$=y.LINETYPE.SOLID_OPEN;break;case 81:this.$=y.LINETYPE.DOTTED_OPEN;break;case 82:this.$=y.LINETYPE.SOLID;break;case 83:this.$=y.LINETYPE.SOLID_TOP;break;case 84:this.$=y.LINETYPE.SOLID_BOTTOM;break;case 85:this.$=y.LINETYPE.STICK_TOP;break;case 86:this.$=y.LINETYPE.STICK_BOTTOM;break;case 87:this.$=y.LINETYPE.SOLID_TOP_DOTTED;break;case 88:this.$=y.LINETYPE.SOLID_BOTTOM_DOTTED;break;case 89:this.$=y.LINETYPE.STICK_TOP_DOTTED;break;case 90:this.$=y.LINETYPE.STICK_BOTTOM_DOTTED;break;case 91:this.$=y.LINETYPE.SOLID_ARROW_TOP_REVERSE;break;case 92:this.$=y.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE;break;case 93:this.$=y.LINETYPE.STICK_ARROW_TOP_REVERSE;break;case 94:this.$=y.LINETYPE.STICK_ARROW_BOTTOM_REVERSE;break;case 95:this.$=y.LINETYPE.SOLID_ARROW_TOP_REVERSE_DOTTED;break;case 96:this.$=y.LINETYPE.SOLID_ARROW_BOTTOM_REVERSE_DOTTED;break;case 97:this.$=y.LINETYPE.STICK_ARROW_TOP_REVERSE_DOTTED;break;case 98:this.$=y.LINETYPE.STICK_ARROW_BOTTOM_REVERSE_DOTTED;break;case 99:this.$=y.LINETYPE.BIDIRECTIONAL_SOLID;break;case 100:this.$=y.LINETYPE.DOTTED;break;case 101:this.$=y.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 102:this.$=y.LINETYPE.SOLID_CROSS;break;case 103:this.$=y.LINETYPE.DOTTED_CROSS;break;case 104:this.$=y.LINETYPE.SOLID_POINT;break;case 105:this.$=y.LINETYPE.DOTTED_POINT;break;case 106:this.$=y.parseMessage(c[p].trim().substring(1));break}},"anonymous"),table:[{3:1,4:t,5:a,6:r},{1:[3]},{3:5,4:t,5:a,6:r},{3:6,4:t,5:a,6:r},e([1,4,5,10,14,15,19,22,24,30,31,32,34,36,37,38,39,40,42,44,45,47,51,53,54,56,61,62,63,64,73],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},e(M,[2,5]),{9:48,13:13,14:h,15:d,18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},e(M,[2,7]),e(M,[2,8]),e(M,[2,9]),e(M,[2,15]),{13:49,51:H,53:z,54:X},{16:[1,50]},{5:[1,51]},{5:[1,54],20:[1,52],21:[1,53]},{23:55,62:Z,73:W},{23:57,62:Z,73:W},{5:[1,58]},{5:[1,59]},{5:[1,60]},{5:[1,61]},{5:[1,62]},e(M,[2,30]),e(M,[2,31]),{33:[1,63]},{35:[1,64]},e(M,[2,34]),{16:[1,65]},{16:[1,66]},{16:[1,67]},{16:[1,68]},{16:[1,69]},{16:[1,70]},{16:[1,71]},{16:[1,72]},{23:73,55:74,62:Z,73:Mt},{23:76,55:77,62:Z,73:Mt},{23:78,62:Z,73:W},{69:79,72:[1,80],78:A,79:v,80:dt,81:st,82:K,83:mt,84:pe,85:Ee,86:ue,87:fe,88:_e,89:ge,90:xe,91:ye,92:Ie,93:Re,94:Oe,95:Le,96:be,97:me,98:Se,99:Ae,100:we,101:Ne,102:Pe,103:ke},{57:107,59:[1,108],67:[1,109],68:[1,110]},{23:111,62:Z,73:W},e([72,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],De,{23:112,62:Z,73:W}),{23:113,62:Z,73:W},{23:114,62:Z,73:W},e([5,66,72,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],ve),e(M,[2,6]),e(M,[2,16]),e(Pt,[2,10],{11:115}),e(M,[2,18]),{5:[1,117],20:[1,116]},{5:[1,118]},e(M,[2,22]),{5:[1,119]},e([5,52,66,104],De),{5:[1,120]},e(M,[2,25]),e(M,[2,26]),e(M,[2,27]),e(M,[2,28]),e(M,[2,29]),e(M,[2,32]),e(M,[2,33]),e(Bt,i,{7:121}),e(Bt,i,{7:122}),e(Bt,i,{7:123}),e(Ce,i,{41:124,7:125}),e($t,i,{43:126,7:127}),e($t,i,{7:127,43:128}),e(Me,i,{46:129,7:130}),e(Bt,i,{7:131}),{5:[1,133],52:[1,132]},{5:[1,135],52:[1,134]},e(jt,ve,{74:136,75:[1,137]}),{5:[1,139],52:[1,138]},{5:[1,141],52:[1,140]},{5:[1,142]},{23:146,62:Z,70:[1,143],71:[1,144],72:[1,145],73:W},{69:147,78:A,79:v,80:dt,81:st,82:K,83:mt,84:pe,85:Ee,86:ue,87:fe,88:_e,89:ge,90:xe,91:ye,92:Ie,93:Re,94:Oe,95:Le,96:be,97:me,98:Se,99:Ae,100:we,101:Ne,102:Pe,103:ke},e(F,[2,80]),e(F,[2,81]),e(F,[2,82]),e(F,[2,83]),e(F,[2,84]),e(F,[2,85]),e(F,[2,86]),e(F,[2,87]),e(F,[2,88]),e(F,[2,89]),e(F,[2,90]),e(F,[2,91]),e(F,[2,92]),e(F,[2,93]),e(F,[2,94]),e(F,[2,95]),e(F,[2,96]),e(F,[2,97]),e(F,[2,98]),e(F,[2,99]),e(F,[2,100]),e(F,[2,101]),e(F,[2,102]),e(F,[2,103]),e(F,[2,104]),e(F,[2,105]),{23:148,62:Z,73:W},{23:150,60:149,62:Z,73:W},e(Be,[2,68]),e(Be,[2,69]),{58:151,104:lt},{58:153,104:lt},{58:154,104:lt},{58:155,104:lt},{4:[1,158],5:[1,160],12:157,13:159,17:[1,156],51:H,53:z,54:X},{5:[1,161]},e(M,[2,20]),e(M,[2,21]),e(M,[2,23]),e(M,[2,24]),{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,162],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,163],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,164],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{17:[1,165]},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[2,47],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,50:[1,166],51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{17:[1,167]},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[2,45],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,49:[1,168],51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{17:[1,169]},{17:[1,170]},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[2,43],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,48:[1,171],51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{4:o,5:s,8:8,9:10,10:n,13:13,14:h,15:d,17:[1,172],18:16,19:E,22:u,23:41,24:_,25:20,26:21,27:22,28:23,29:24,30:L,31:g,32:R,34:T,36:O,37:x,38:m,39:S,40:b,42:P,44:k,45:B,47:V,51:H,53:z,54:X,56:et,61:rt,62:U,63:ot,64:at,73:W},{16:[1,173]},e(M,[2,50]),{16:[1,174]},e(M,[2,55]),e(jt,[2,76]),{76:[1,175]},{16:[1,176]},e(M,[2,52]),{16:[1,177]},e(M,[2,57]),e(M,[2,53]),{23:178,62:Z,73:W},{23:179,62:Z,73:W},{23:180,62:Z,73:W},{58:181,104:lt},{23:182,62:Z,72:[1,183],73:W},{58:184,104:lt},{58:185,104:lt},{66:[1,186],104:[2,67]},{5:[2,60]},{5:[2,106]},{5:[2,61]},{5:[2,62]},{5:[2,63]},e(M,[2,17]),e(Pt,[2,11]),{13:187,51:H,53:z,54:X},e(Pt,[2,13]),e(Pt,[2,14]),e(M,[2,19]),e(M,[2,35]),e(M,[2,36]),e(M,[2,37]),e(M,[2,38]),{16:[1,188]},e(M,[2,39]),{16:[1,189]},e(M,[2,40]),e(M,[2,41]),{16:[1,190]},e(M,[2,42]),{5:[1,191]},{5:[1,192]},{77:[1,193]},{5:[1,194]},{5:[1,195]},{58:196,104:lt},{58:197,104:lt},{58:198,104:lt},{5:[2,75]},{58:199,104:lt},{23:200,62:Z,73:W},{5:[2,58]},{5:[2,59]},{23:201,62:Z,73:W},e(Pt,[2,12]),e(Ce,i,{7:125,41:202}),e($t,i,{7:127,43:203}),e(Me,i,{7:130,46:204}),e(M,[2,49]),e(M,[2,54]),e(jt,[2,77]),e(M,[2,51]),e(M,[2,56]),{5:[2,70]},{5:[2,71]},{5:[2,72]},{5:[2,73]},{58:205,104:lt},{104:[2,66]},{17:[2,48]},{17:[2,46]},{17:[2,44]},{5:[2,74]}],defaultActions:{5:[2,1],6:[2,2],151:[2,60],152:[2,106],153:[2,61],154:[2,62],155:[2,63],181:[2,75],184:[2,58],185:[2,59],196:[2,70],197:[2,71],198:[2,72],199:[2,73],201:[2,66],202:[2,48],203:[2,46],204:[2,44],205:[2,74]},parseError:f(function(w,C){if(C.recoverable)this.trace(w);else{var D=new Error(w);throw D.hash=C,D}},"parseError"),parse:f(function(w){var C=this,D=[0],y=[],G=[null],c=[],kt=this.table,p="",Vt=0,Ye=0,lr=2,Ve=1,hr=c.slice.call(arguments,1),$=Object.create(this.lexer),It={yy:{}};for(var ee in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ee)&&(It.yy[ee]=this.yy[ee]);$.setInput(w,It.yy),It.yy.lexer=$,It.yy.parser=this,typeof $.yylloc>"u"&&($.yylloc={});var re=$.yylloc;c.push(re);var dr=$.options&&$.options.ranges;typeof It.yy.parseError=="function"?this.parseError=It.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Tr(ct){D.length=D.length-2*ct,G.length=G.length-ct,c.length=c.length-ct}f(Tr,"popStack");function We(){var ct;return ct=y.pop()||$.lex()||Ve,typeof ct!="number"&&(ct instanceof Array&&(y=ct,ct=y.pop()),ct=C.symbols_[ct]||ct),ct}f(We,"lex");for(var it,Rt,ht,ae,St={},Wt,Et,He,Ht;;){if(Rt=D[D.length-1],this.defaultActions[Rt]?ht=this.defaultActions[Rt]:((it===null||typeof it>"u")&&(it=We()),ht=kt[Rt]&&kt[Rt][it]),typeof ht>"u"||!ht.length||!ht[0]){var se="";Ht=[];for(Wt in kt[Rt])this.terminals_[Wt]&&Wt>lr&&Ht.push("'"+this.terminals_[Wt]+"'");$.showPosition?se="Parse error on line "+(Vt+1)+`:
2
2
  `+$.showPosition()+`
3
3
  Expecting `+Ht.join(", ")+", got '"+(this.terminals_[it]||it)+"'":se="Parse error on line "+(Vt+1)+": Unexpected "+(it==Ve?"end of input":"'"+(this.terminals_[it]||it)+"'"),this.parseError(se,{text:$.match,token:this.terminals_[it]||it,line:$.yylineno,loc:re,expected:Ht})}if(ht[0]instanceof Array&&ht.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Rt+", token: "+it);switch(ht[0]){case 1:D.push(it),G.push($.yytext),c.push($.yylloc),D.push(ht[1]),it=null,Ye=$.yyleng,p=$.yytext,Vt=$.yylineno,re=$.yylloc;break;case 2:if(Et=this.productions_[ht[1]][1],St.$=G[G.length-Et],St._$={first_line:c[c.length-(Et||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(Et||1)].first_column,last_column:c[c.length-1].last_column},dr&&(St._$.range=[c[c.length-(Et||1)].range[0],c[c.length-1].range[1]]),ae=this.performAction.apply(St,[p,Ye,Vt,It.yy,ht[1],G,c].concat(hr)),typeof ae<"u")return ae;Et&&(D=D.slice(0,-1*Et*2),G=G.slice(0,-1*Et),c=c.slice(0,-1*Et)),D.push(this.productions_[ht[1]][0]),G.push(St.$),c.push(St._$),He=kt[D[D.length-2]][D[D.length-1]],D.push(He);break;case 3:return!0}}return!0},"parse")},cr=(function(){var _t={EOF:1,parseError:f(function(C,D){if(this.yy.parser)this.yy.parser.parseError(C,D);else throw new Error(C)},"parseError"),setInput:f(function(w,C){return this.yy=C||this.yy||{},this._input=w,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:f(function(){var w=this._input[0];this.yytext+=w,this.yyleng++,this.offset++,this.match+=w,this.matched+=w;var C=w.match(/(?:\r\n?|\n).*/g);return C?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),w},"input"),unput:f(function(w){var C=w.length,D=w.split(/(?:\r\n?|\n)/g);this._input=w+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-C),this.offset-=C;var y=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),D.length-1&&(this.yylineno-=D.length-1);var G=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:D?(D.length===y.length?this.yylloc.first_column:0)+y[y.length-D.length].length-D[0].length:this.yylloc.first_column-C},this.options.ranges&&(this.yylloc.range=[G[0],G[0]+this.yyleng-C]),this.yyleng=this.yytext.length,this},"unput"),more:f(function(){return this._more=!0,this},"more"),reject:f(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:f(function(w){this.unput(this.match.slice(w))},"less"),pastInput:f(function(){var w=this.matched.substr(0,this.matched.length-this.match.length);return(w.length>20?"...":"")+w.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:f(function(){var w=this.match;return w.length<20&&(w+=this._input.substr(0,20-w.length)),(w.substr(0,20)+(w.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:f(function(){var w=this.pastInput(),C=new Array(w.length+1).join("-");return w+this.upcomingInput()+`
@@ -1,4 +1,4 @@
1
- import{bm as y,t as wt,bo as H,bw as Tt,bq as xt,b as kt,bs as D}from"./51_h0jm2.js";import{bs as It,ca as Q,aD as t,a7 as At,ay as X,W as w,bn as Pt,bS as N,c9 as f,aA as M,aB as x,a5 as I,bA as A,bl as P,b_ as F,bO as S}from"./CJxGDkBm.js";import{i as E}from"./PXCFrn2V.js";import{k as St}from"./C9UsZ4re.js";import{c as Wt}from"./DGmOjLYi.js";import{C as q}from"./DypB-Dwi.js";import{L as $t}from"./CSiaiLHL.js";import"./ir8Qz45r.js";import"./CpPNoOk-.js";import"./DxvSggY5.js";import{bg as Dt}from"./DSQT151l.js";import"./Cgn_eC9-.js";/* empty css */import{J4 as B,JE as Nt,JT as Ft,JJ as Et,vg as Bt}from"./CbRsc9i4.js";import{T as Lt}from"./BX9hgO_H.js";import{g as Ut}from"./BrMXrCxP.js";import{dE as Ot}from"./CgwFGLCK.js";import{bT as Jt,bN as jt,b8 as Ht}from"./CMLBE7U6.js";import"./THdp5Vpk.js";import{M as Mt}from"./C0wua3Vt.js";import{V as Vt}from"./Chnr0_jK.js";import{O as qt}from"./CY-vjmpy.js";import{c as Rt}from"./ChTqQfQN.js";import{i as Gt}from"./H2jLkRRS.js";const T=new $t({category:"change-converters"});function V(e,n){return e.path||e.file||e.filePath||e.relativePath||n?.filePath}function Y(e,n){return{additions:e.additions??n?.additions??0,deletions:e.deletions??n?.deletions??0,binary:e.binary??!1}}function zt(e,n){if(n.actor?.type==="agent"&&n.actor.id){const r=n.actor;return{agentId:r.id,agentName:r.name||y.fileTracking_changeTimeline_agent_fallback(),sessionId:r.sessionId||e.sessionId||"",turnNumber:r.turnNumber??e.turnNumber??0,messageId:r.messageId,timestamp:new Date(n.timestamp).getTime()}}if(e.agentId)return{agentId:e.agentId,agentName:e.agentName||y.fileTracking_changeTimeline_agent_fallback(),sessionId:e.sessionId||"",turnNumber:e.turnNumber||0,timestamp:new Date(n.timestamp).getTime()}}function Z(e,n){return{timestamp:new Date(e.timestamp).getTime(),manual:e.actor?.type==="user",agent:zt(n,e)}}function tt(e,n){return{oldContent:n?.oldContent??e.oldContent,newContent:n?.newContent??e.newContent,diff:e.diff??n?.diff}}function et(e,n,r){return r!==void 0?`${e}-${n}-${r}`:`${e}-${n}`}function Kt(e){try{const n=e.data||{},r=e.codeChange;T.debug("Converting event to TrackedChange",{eventType:e.type,eventId:e.id,hasData:!!n,hasCodeChange:!!r});const c=V(n,r);if(e.type.startsWith("file:")&&c){const d=Y(n,r);return T.debug("Creating TrackedChange for file event",{filePath:c,stats:d,hasDiff:!!(n.diff||r?.diff)}),[{id:et("event",e.id),file:c,relativePath:c,stage:q.Unstaged,stats:d,attribution:Z(e,n),content:tt(n,r)}]}return(e.type==="agent:completed"||e.type.startsWith("agent:"))&&n.fileChanges&&Array.isArray(n.fileChanges)?(T.debug("Creating TrackedChanges for agent event",{eventType:e.type,fileChangesCount:n.fileChanges.length,agentId:n.agentId}),n.fileChanges.filter(d=>V(d)?!0:(T.warn("Skipping file change without path",{change:d}),!1)).map((d,s)=>{const v=V(d);if(!v)throw new Error("file change without path");return{id:et("event",e.id,s),file:v,relativePath:v,stage:q.Unstaged,stats:Y(d),attribution:Z(e,n),content:tt(d)}})):(T.debug("No TrackedChanges created for event",{eventType:e.type,eventId:e.id,hasFilePath:!!c,hasFileChanges:!!(n.fileChanges&&Array.isArray(n.fileChanges))}),[])}catch(n){return T.error("Error converting event to TrackedChange",n instanceof Error?n:new Error(String(n)),{eventType:e.type,eventId:e.id}),[]}}function Qt(e){if(!e)return{oldContent:"",newContent:""};const n=[],r=[],c=e.split(`
1
+ import{bm as y,t as wt,bo as H,bw as Tt,bq as xt,b as kt,bs as D}from"./51_h0jm2.js";import{bs as It,ca as Q,aD as t,a7 as At,ay as X,W as w,bn as Pt,bS as N,c9 as f,aA as M,aB as x,a5 as I,bA as A,bl as P,b_ as F,bO as S}from"./CJxGDkBm.js";import{i as E}from"./PXCFrn2V.js";import{k as St}from"./C9UsZ4re.js";import{c as Wt}from"./DGmOjLYi.js";import{C as q}from"./DypB-Dwi.js";import{L as $t}from"./CSiaiLHL.js";import"./CkoG9STP.js";import"./CpPNoOk-.js";import"./DxvSggY5.js";import{bg as Dt}from"./DSQT151l.js";import"./rIUowGAi.js";/* empty css */import{J5 as U,JF as Nt,JU as Ft,JK as Et,vh as Ut}from"./CI4_aI7e.js";import{T as Bt}from"./CFcZXBVA.js";import{g as Lt}from"./BrMXrCxP.js";import{dE as Ot}from"./C2wWLl1x.js";import{bT as jt,bN as Jt,b8 as Ht}from"./DqMtaSxK.js";import"./BROVvkEL.js";import{M as Mt}from"./C2UYU20O.js";import{V as Vt}from"./Bvf6gH6c.js";import{O as qt}from"./VcOG8L0Z.js";import{c as Rt}from"./ChTqQfQN.js";import{i as Gt}from"./H2jLkRRS.js";const T=new $t({category:"change-converters"});function V(e,n){return e.path||e.file||e.filePath||e.relativePath||n?.filePath}function Y(e,n){return{additions:e.additions??n?.additions??0,deletions:e.deletions??n?.deletions??0,binary:e.binary??!1}}function Kt(e,n){if(n.actor?.type==="agent"&&n.actor.id){const r=n.actor;return{agentId:r.id,agentName:r.name||y.fileTracking_changeTimeline_agent_fallback(),sessionId:r.sessionId||e.sessionId||"",turnNumber:r.turnNumber??e.turnNumber??0,messageId:r.messageId,timestamp:new Date(n.timestamp).getTime()}}if(e.agentId)return{agentId:e.agentId,agentName:e.agentName||y.fileTracking_changeTimeline_agent_fallback(),sessionId:e.sessionId||"",turnNumber:e.turnNumber||0,timestamp:new Date(n.timestamp).getTime()}}function Z(e,n){return{timestamp:new Date(e.timestamp).getTime(),manual:e.actor?.type==="user",agent:Kt(n,e)}}function tt(e,n){return{oldContent:n?.oldContent??e.oldContent,newContent:n?.newContent??e.newContent,diff:e.diff??n?.diff}}function et(e,n,r){return r!==void 0?`${e}-${n}-${r}`:`${e}-${n}`}function zt(e){try{const n=e.data||{},r=e.codeChange;T.debug("Converting event to TrackedChange",{eventType:e.type,eventId:e.id,hasData:!!n,hasCodeChange:!!r});const c=V(n,r);if(e.type.startsWith("file:")&&c){const d=Y(n,r);return T.debug("Creating TrackedChange for file event",{filePath:c,stats:d,hasDiff:!!(n.diff||r?.diff)}),[{id:et("event",e.id),file:c,relativePath:c,stage:q.Unstaged,stats:d,attribution:Z(e,n),content:tt(n,r)}]}return(e.type==="agent:completed"||e.type.startsWith("agent:"))&&n.fileChanges&&Array.isArray(n.fileChanges)?(T.debug("Creating TrackedChanges for agent event",{eventType:e.type,fileChangesCount:n.fileChanges.length,agentId:n.agentId}),n.fileChanges.filter(d=>V(d)?!0:(T.warn("Skipping file change without path",{change:d}),!1)).map((d,s)=>{const v=V(d);if(!v)throw new Error("file change without path");return{id:et("event",e.id,s),file:v,relativePath:v,stage:q.Unstaged,stats:Y(d),attribution:Z(e,n),content:tt(d)}})):(T.debug("No TrackedChanges created for event",{eventType:e.type,eventId:e.id,hasFilePath:!!c,hasFileChanges:!!(n.fileChanges&&Array.isArray(n.fileChanges))}),[])}catch(n){return T.error("Error converting event to TrackedChange",n instanceof Error?n:new Error(String(n)),{eventType:e.type,eventId:e.id}),[]}}function Qt(e){if(!e)return{oldContent:"",newContent:""};const n=[],r=[],c=e.split(`
2
2
  `);c.length>0&&c[c.length-1]===""&&c.pop();let d=!1;for(const s of c)if(!(s.startsWith("diff --git")||s.startsWith("index ")||s.startsWith("--- ")||s.startsWith("+++ ")||s.startsWith("\"))){if(s.startsWith("@@")){d=!0;continue}d&&(s.startsWith("+")?r.push(s.slice(1)):s.startsWith("-")?n.push(s.slice(1)):s.startsWith(" ")?(n.push(s.slice(1)),r.push(s.slice(1))):s===""&&(n.push(""),r.push("")))}return{oldContent:n.join(`
3
3
  `),newContent:r.join(`
4
- `)}}var Xt=x("<!> <!>",1),Yt=x('<div class="flex items-center gap-1.5 px-3 py-1.5 text-xs text-subtle bg-muted/50 border-b border-border"><span> </span></div>'),Zt=x('<div class="flex flex-col h-full"><!> <div class="flex-1 min-h-0"><!></div></div>'),te=x('<div class="flex flex-col items-center justify-center h-full text-subtle gap-4"><p class="text-sm"> </p> <p class="text-xs opacity-70"> </p></div>'),ee=x('<p class="text-xs opacity-70"> </p>'),ne=x('<div class="flex flex-col items-center justify-center h-full text-subtle gap-4"><p class="text-sm"> </p> <!></div>');function ae(e,n){if(new.target)return wt({component:ae,...e});It(n,!0);const r=()=>D(lt,"$workspace",v),c=()=>D(st,"$foldUnchanged",v),d=()=>D(rt,"$lineWrapping",v),s=()=>D(ot,"$diffSideBySide",v),[v,nt]=xt(),at=a=>{Vt(a,{embedded:!0,get foldEnabled(){return c()},onToggleFold:()=>B.dispatch(Et()),get wrapEnabled(){return d()},onToggleWrap:()=>B.dispatch(Ft()),get splitEnabled(){return s()},onToggleSplit:()=>B.dispatch(Nt())})},it=a=>{var i=Xt(),g=X(i);{let m=f(()=>y.layout_diffHeader_goToFile_tooltip());Wt(g,()=>Mt,(l,h)=>{h(l,{get icon(){return Dt},get label(){return t(m)},onclick:$=>ut()})})}var C=N(g,2);{var b=m=>{qt(m,{get filePath(){return t(G)},get workspaceId(){return _()},isDirectory:!1,embedded:!0,get workspaceFolderPath(){return t(O)}})};E(C,m=>{t(G)&&m(b)})}w(a,i)},rt=Jt(),st=jt(),ot=Ht(),dt=Rt("ActivityChangesTabType");let L=H(n,"tab",7),_=H(n,"workspaceId",7),U=H(n,"isActive",7);const R=Ut(),lt=Ot(_()),O=f(()=>r()?.worktreePath||r()?.repositoryPath||void 0),o=f(()=>L().data?.event),ct=f(()=>t(o)?Kt(t(o)):[]),u=f(()=>t(ct)[0]),p=f(()=>t(u)?.relativePath||t(u)?.file||null),G=f(()=>t(p)&&t(O)?Gt(t(p))?t(p):`${t(O)}/${t(p)}`:null),J=f(()=>()=>{if(!t(o))return null;const a=t(o).data,i=t(o).codeChange;return a?.diff||i?.diff||t(u)?.content?.diff||null}),z=f(()=>()=>t(u)?.content?!!(t(u).content.oldContent&&t(u).content.newContent):!1);function ft(a){if(!a)return;const i=a.match(/@@ -(\d+)/);return i?parseInt(i[1],10):void 0}const k=f(()=>{if(t(z)()&&t(u)?.content)return{oldContent:t(u).content.oldContent??"",newContent:t(u).content.newContent??""};const a=t(J)();return a?Qt(a):null}),W=f(()=>ft(t(J)())),pt=f(()=>t(W)!==void 0&&t(W)>1),gt=f(()=>{const a=t(p)||"",i=t(o)?.data||{};return{id:`activity-${t(o)?.id||"unknown"}-${a}`,file:a,relativePath:a,stage:q.Committed,status:t(u)?.status||"modified",stats:{additions:i?.additions||t(u)?.stats?.additions||0,deletions:i?.deletions||t(u)?.stats?.deletions||0},attribution:{timestamp:t(o)?.timestamp?new Date(t(o).timestamp).getTime():Date.now()},content:t(k)?{oldContent:t(k).oldContent,newContent:t(k).newContent}:void 0}});function ut(a){if(!t(p))return;const g={type:"file",title:t(p).split("/").pop()||t(p),closable:!0,filePath:t(p),workspaceId:_()};B.dispatch(Bt(_(),g))}Q(()=>{!R||!U()||R.registerActions({display:at,actions:it})}),Q(()=>{if(t(o)){const a=t(o).data;dt.debug("Activity event diff info",{eventType:t(o).type,eventId:t(o).id,filePath:t(p),hasDiffString:!!t(J)(),hasOldNewContent:t(z)(),hasDiffContents:!!t(k),dataAdditions:a?.additions,dataDeletions:a?.deletions})}});var ht={get tab(){return L()},set tab(a){L(a),M()},get workspaceId(){return _()},set workspaceId(a){_(a),M()},get isActive(){return U()},set isActive(a){U(a),M()},$set:Tt,$on:(a,i)=>kt(n,a,i)},K=At(),mt=X(K);{var vt=a=>{var i=Zt(),g=I(i);{var C=l=>{var h=Yt(),$=I(h),j=P($,!0);A(h),F(_t=>S(j,_t),[()=>y.layout_activityChanges_partialDiff_label({line:t(W)??0})]),w(l,h)};E(g,l=>{t(pt)&&l(C)})}var b=N(g,2),m=I(b);St(m,()=>`${t(o)?.id}-${t(p)}`,l=>{{let h=f(()=>s()?"split":"unified");Lt(l,{get change(){return t(gt)},get workspaceId(){return _()},get viewMode(){return t(h)},get foldUnchanged(){return c()},get lineWrapping(){return d()},get lineOffset(){return t(W)}})}}),A(b),A(i),w(a,i)},Ct=a=>{var i=te(),g=I(i),C=P(g,!0),b=N(g,2),m=P(b,!0);A(i),F((l,h)=>{S(C,l),S(m,h)},[()=>y.layout_activityChanges_noDiffStored_label(),()=>y.layout_activityChanges_diffNotCaptured_description()]),w(a,i)},bt=a=>{var i=ne(),g=I(i),C=P(g,!0),b=N(g,2);{var m=l=>{var h=ee(),$=P(h,!0);F(j=>S($,j),[()=>y.layout_activityChanges_eventType_label({type:t(o).type})]),w(l,h)};E(b,l=>{t(o)&&l(m)})}A(i),F(l=>S(C,l),[()=>y.layout_activityChanges_noChanges_label()]),w(a,i)};E(mt,a=>{t(p)&&t(k)?a(vt):t(p)?a(Ct,1):a(bt,-1)})}w(e,K);var yt=Pt(ht);return nt(),yt}export{ae as default};
4
+ `)}}var Xt=x("<!> <!>",1),Yt=x('<div class="flex items-center gap-1.5 px-3 py-1.5 text-xs text-subtle bg-muted/50 border-b border-border"><span> </span></div>'),Zt=x('<div class="flex flex-col h-full"><!> <div class="flex-1 min-h-0"><!></div></div>'),te=x('<div class="flex flex-col items-center justify-center h-full text-subtle gap-4"><p class="text-sm"> </p> <p class="text-xs opacity-70"> </p></div>'),ee=x('<p class="text-xs opacity-70"> </p>'),ne=x('<div class="flex flex-col items-center justify-center h-full text-subtle gap-4"><p class="text-sm"> </p> <!></div>');function ae(e,n){if(new.target)return wt({component:ae,...e});It(n,!0);const r=()=>D(lt,"$workspace",v),c=()=>D(st,"$foldUnchanged",v),d=()=>D(rt,"$lineWrapping",v),s=()=>D(ot,"$diffSideBySide",v),[v,nt]=xt(),at=a=>{Vt(a,{embedded:!0,get foldEnabled(){return c()},onToggleFold:()=>U.dispatch(Et()),get wrapEnabled(){return d()},onToggleWrap:()=>U.dispatch(Ft()),get splitEnabled(){return s()},onToggleSplit:()=>U.dispatch(Nt())})},it=a=>{var i=Xt(),g=X(i);{let m=f(()=>y.layout_diffHeader_goToFile_tooltip());Wt(g,()=>Mt,(l,h)=>{h(l,{get icon(){return Dt},get label(){return t(m)},onclick:$=>ut()})})}var C=N(g,2);{var b=m=>{qt(m,{get filePath(){return t(G)},get workspaceId(){return _()},isDirectory:!1,embedded:!0,get workspaceFolderPath(){return t(O)}})};E(C,m=>{t(G)&&m(b)})}w(a,i)},rt=jt(),st=Jt(),ot=Ht(),dt=Rt("ActivityChangesTabType");let B=H(n,"tab",7),_=H(n,"workspaceId",7),L=H(n,"isActive",7);const R=Lt(),lt=Ot(_()),O=f(()=>r()?.worktreePath||r()?.repositoryPath||void 0),o=f(()=>B().data?.event),ct=f(()=>t(o)?zt(t(o)):[]),u=f(()=>t(ct)[0]),p=f(()=>t(u)?.relativePath||t(u)?.file||null),G=f(()=>t(p)&&t(O)?Gt(t(p))?t(p):`${t(O)}/${t(p)}`:null),j=f(()=>()=>{if(!t(o))return null;const a=t(o).data,i=t(o).codeChange;return a?.diff||i?.diff||t(u)?.content?.diff||null}),K=f(()=>()=>t(u)?.content?!!(t(u).content.oldContent&&t(u).content.newContent):!1);function ft(a){if(!a)return;const i=a.match(/@@ -(\d+)/);return i?parseInt(i[1],10):void 0}const k=f(()=>{if(t(K)()&&t(u)?.content)return{oldContent:t(u).content.oldContent??"",newContent:t(u).content.newContent??""};const a=t(j)();return a?Qt(a):null}),W=f(()=>ft(t(j)())),pt=f(()=>t(W)!==void 0&&t(W)>1),gt=f(()=>{const a=t(p)||"",i=t(o)?.data||{};return{id:`activity-${t(o)?.id||"unknown"}-${a}`,file:a,relativePath:a,stage:q.Committed,status:t(u)?.status||"modified",stats:{additions:i?.additions||t(u)?.stats?.additions||0,deletions:i?.deletions||t(u)?.stats?.deletions||0},attribution:{timestamp:t(o)?.timestamp?new Date(t(o).timestamp).getTime():Date.now()},content:t(k)?{oldContent:t(k).oldContent,newContent:t(k).newContent}:void 0}});function ut(a){if(!t(p))return;const g={type:"file",title:t(p).split("/").pop()||t(p),closable:!0,filePath:t(p),workspaceId:_()};U.dispatch(Ut(_(),g))}Q(()=>{!R||!L()||R.registerActions({display:at,actions:it})}),Q(()=>{if(t(o)){const a=t(o).data;dt.debug("Activity event diff info",{eventType:t(o).type,eventId:t(o).id,filePath:t(p),hasDiffString:!!t(j)(),hasOldNewContent:t(K)(),hasDiffContents:!!t(k),dataAdditions:a?.additions,dataDeletions:a?.deletions})}});var ht={get tab(){return B()},set tab(a){B(a),M()},get workspaceId(){return _()},set workspaceId(a){_(a),M()},get isActive(){return L()},set isActive(a){L(a),M()},$set:Tt,$on:(a,i)=>kt(n,a,i)},z=At(),mt=X(z);{var vt=a=>{var i=Zt(),g=I(i);{var C=l=>{var h=Yt(),$=I(h),J=P($,!0);A(h),F(_t=>S(J,_t),[()=>y.layout_activityChanges_partialDiff_label({line:t(W)??0})]),w(l,h)};E(g,l=>{t(pt)&&l(C)})}var b=N(g,2),m=I(b);St(m,()=>`${t(o)?.id}-${t(p)}`,l=>{{let h=f(()=>s()?"split":"unified");Bt(l,{get change(){return t(gt)},get workspaceId(){return _()},get viewMode(){return t(h)},get foldUnchanged(){return c()},get lineWrapping(){return d()},get lineOffset(){return t(W)}})}}),A(b),A(i),w(a,i)},Ct=a=>{var i=te(),g=I(i),C=P(g,!0),b=N(g,2),m=P(b,!0);A(i),F((l,h)=>{S(C,l),S(m,h)},[()=>y.layout_activityChanges_noDiffStored_label(),()=>y.layout_activityChanges_diffNotCaptured_description()]),w(a,i)},bt=a=>{var i=ne(),g=I(i),C=P(g,!0),b=N(g,2);{var m=l=>{var h=ee(),$=P(h,!0);F(J=>S($,J),[()=>y.layout_activityChanges_eventType_label({type:t(o).type})]),w(l,h)};E(b,l=>{t(o)&&l(m)})}A(i),F(l=>S(C,l),[()=>y.layout_activityChanges_noChanges_label()]),w(a,i)};E(mt,a=>{t(p)&&t(k)?a(vt):t(p)?a(Ct,1):a(bt,-1)})}w(e,z);var yt=Pt(ht);return nt(),yt}export{ae as default};
@@ -1 +1 @@
1
- import{aG as r}from"./CJxGDkBm.js";import{bl as e}from"./CbRsc9i4.js";const n=Symbol("workspace-route-context");function s(t){return t&&t!=="new"?e(t):null}function u(t,o){return t?.startsWith("/workspace/")?s(o):null}function p(){try{return r(n)}catch{return}}export{n as W,s as a,p as g,u as w};
1
+ import{aG as r}from"./CJxGDkBm.js";import{bl as e}from"./CI4_aI7e.js";const n=Symbol("workspace-route-context");function s(t){return t&&t!=="new"?e(t):null}function u(t,o){return t?.startsWith("/workspace/")?s(o):null}function p(){try{return r(n)}catch{return}}export{n as W,s as a,p as g,u as w};
@@ -1 +1 @@
1
- import{g_ as O,gG as H,Ji as P,K6 as K,Dc as N,tQ as U,uN as q,AI as Q,AJ as V,Jg as j,Jh as z,AK as X}from"./CbRsc9i4.js";import{selectWorkspaceTabOrder as f,selectCurrentWorkspaceTabId as S,selectLastClosedWorkspaceTab as Y}from"./Bqm2Rf6d.js";import{i as Z,q as M,b as ee,j as te,l as ae}from"./BRRvOx4M.js";import{g as ne}from"./D6VfSAVQ.js";import{bm as l}from"./51_h0jm2.js";import{z as oe,S as y}from"./Cgn_eC9-.js";import{B as h,S as C,Q as ce}from"./Bqd7fdCF.js";import{ab as le,a9 as E}from"./CmVXj6KK.js";import{g as se}from"./C2YH0P-B.js";function A(e,a){const n=f.select(e.state),o=S.select(e.state);if(!o)return null;const c=n.indexOf(o),s=c+(a==="left"?-1:1),p=n[s];return c<0||!p?null:(e.dispatch(U(o,p,a==="left"?"before":"after")),o)}function B(e){const a=S.select(e);return a&&f.select(e).includes(a)?a:null}function m(e,a,n){const o=B(e.state),c=o?`/workspace/${o}`:ne(e.state);return a!==c&&n(c),o}function ie(e,a,n,o){return e.dispatch(O(a)),m(e,n,o),a}function I(e,a){const o=a.match(/^\/workspace\/([^/]+)/)?.[1];return o?o==="new"?null:o:null}function R(e,a,n,o){if(n==="/")return D(e,a==="next"?0:"last",n,o);e.dispatch(a==="next"?j():z());const c=S.select(e.state);if(!c)return null;const s=`/workspace/${c}`;return n!==s&&o(s),c}function re(e,a,n){const o=I(e,a);return o?ie(e,o,a,n):null}function pe(e,a,n){const o=I(e,a);if(!o)return null;const c=Z.select(e.state,o);if(!c)return null;const s=c.tabs.find(v=>v.id===c.activeTabId),p=c.tabs.length===0&&c.activeTabId===null,g=M.select(e.state,o)>1&&(p||c.tabs.length===1&&s!==void 0&&s.closable!==!1);if((!s||s.closable===!1)&&!g)return null;const T=n??se(o)?.availableCanvasWidth??void 0;return e.dispatch(H(o,void 0,T)),s?.id??c.id}function ue(e,a){const n=e.state.panelLayout.byWorkspaceId[a];return!n||n.restoreStatus==="pending"?!1:ee.select(e.state,a).length===0}function de(e,a,n){B(e.state)||e.dispatch(P(0)),m(e,a,n)}function L(e,a,{navigate:n,closeWindow:o}){return o?(o(),"window"):(m(e,a,n),null)}function be(e,a,n){const o=I(e,a);return o?pe(e,a,n.availableCanvasWidth)!==null?"panel":ue(e,o)?(e.dispatch(O(o)),f.select(e.state).length>0?(de(e,a,n.navigate),"workspace"):L(e,a,n)??"workspace"):null:f.select(e.state).length>0?null:L(e,a,n)}function fe(e,a,n){return e.dispatch(X()),m(e,a,n)}function ke(e,a,n){const o=a.match(/^\/workspace\/([^/]+)/),c=o&&o[1]!=="new"?o[1]:null,s=Y.select(e.state),p=c?ae.select(e.state,c):null;return c&&p&&(!s||p.closedAt>=s.closedAt)?p.kind==="column"?(e.dispatch(Q(c)),"column"):(e.dispatch(V(c)),p.kind):s?(fe(e,a,n),"workspace"):null}function _e(e,a){const n=a.match(/^\/workspace\/([^/]+)/),o=n&&n[1]!=="new"?n[1]:null;if(!o)return null;const c=q(o);return e.dispatch(c),te.select(e.state,o)}function D(e,a,n,o){const c=f.select(e.state),s=a==="last"?c.length-1:a;return s<0||s>=c.length?null:(e.dispatch(P(s)),m(e,n,o))}function We({isMac:e,register:a,store:n,getCurrentPath:o,navigate:c,openNewWorkspace:s,getRailMachineIds:p,onCreateAgent:g,onCreateNote:T,onCreateTerminal:v,onCreateBrowser:G,onWorkspaceTabMoved:W,closeWindow:F,resolveBinding:w}){const r=e?{meta:!0}:{ctrl:!0},$=oe("TOGGLE_SIDEBAR",e),k=t=>()=>t(o()),J=t=>()=>{const i=o().match(/^\/workspace\/([^/]+)/);i?.[1]&&i[1]!=="new"&&t(i[1])},u=t=>w?{binding:()=>w(t)}:{},_=t=>w?.(t)??ce(t);a({...u("global.new-space"),...r,key:"n",global:!0,description:l.workspace_shortcuts_newSpace_description(),action:s}),a({...u("panel.toggle-sidebar"),...$,global:!0,description:y.TOGGLE_SIDEBAR.label,action:()=>n.dispatch(K())}),a({...u("navigation.new-tab"),...r,key:"t",global:!0,description:l.workspace_shortcuts_newPanel_description(),action:k(t=>_e(n,t))});for(const[t,i,b,d]of[["workspace.new-agent","a",l.ui_shortcuts_newAgent_label(),g],["workspace.new-note","n",l.layout_panelEmptyState_newItem_tooltip({label:l.layout_panelEmptyState_note_label()}),T],["workspace.new-terminal","t",l.layout_panelEmptyState_newItem_tooltip({label:l.layout_panelEmptyState_terminal_label()}),v],["workspace.new-browser","b",l.layout_panelEmptyState_newItem_tooltip({label:l.layout_panelEmptyState_browser_label()}),G]])d&&a({...u(t),...r,key:i,alt:!0,global:!0,allowInTerminal:!0,description:b,action:J(d)});a({...u("navigation.close-tab"),...r,key:"w",global:!0,description:l.workspace_shortcuts_closePanelTab_description(),action:k(t=>be(n,t,{navigate:c,closeWindow:F}))}),a({...u("navigation.close-space-tab"),...r,key:"w",shift:!0,global:!0,description:l.workspace_shortcuts_closeSpaceTab_description(),action:k(t=>re(n,t,c))}),a({...u("navigation.reopen-tab"),...r,key:"t",shift:!0,global:!0,description:l.workspace_shortcuts_reopenClosedTabOrSpace_description(),action:k(t=>ke(n,t,c))}),a({...u("navigation.move-space-tab-left"),...r,key:"ArrowLeft",alt:!0,shift:!0,global:!0,description:y.MOVE_SPACE_TAB_LEFT.label,action:()=>{const t=A(n,"left");t&&W?.({workspaceId:t,position:f.select(n.state).indexOf(t)+1})}}),a({...u("navigation.move-space-tab-right"),...r,key:"ArrowRight",alt:!0,shift:!0,global:!0,description:y.MOVE_SPACE_TAB_RIGHT.label,action:()=>{const t=A(n,"right");t&&W?.({workspaceId:t,position:f.select(n.state).indexOf(t)+1})}});for(const[t,i]of[["next",!1],["previous",!0]]){a({...u(t==="next"?"global.next-space":"global.previous-space"),key:"Tab",ctrl:!0,shift:i,global:!0,description:t==="next"?l.workspace_shortcuts_nextSpaceTab_description():l.workspace_shortcuts_previousSpaceTab_description(),action:k(d=>R(n,t,d,c))});const b=t==="next"?"global.next-space-alt":"global.previous-space-alt";a({...u(b),...r,key:t==="next"?"}":"{",shift:!0,global:!0,allowInTerminal:!0,preferLocal:!0,enabled:d=>!w||!h(b,d,w,e),description:t==="next"?l.workspace_shortcuts_nextSpaceTab_description():l.workspace_shortcuts_previousSpaceTab_description(),action:k(d=>R(n,t,d,c))})}const x=t=>{t===1?c("/"):D(n,t===9?"last":t-2,o(),c)};for(let t=1;t<=9;t++)a({...r,key:String(t),binding:()=>_("navigation.go-to-device").replace(/([1-8])-9$/,String(t)),global:!0,allowInTerminal:!0,enabled:i=>E.select(n.state)&&!h("navigation.go-to-device",i,_,e),description:l.machineRail_nav_ariaLabel(),action:()=>{const i=p?.()??le.select(n.state).map(d=>d.id),b=i[t===9?i.length-1:t-1];b&&n.dispatch(N(b))}});for(let t=1;t<=9;t++)a({...r,key:String(t),binding:()=>C["navigation.go-to-device"].replace(/([1-8])-9$/,String(t)),global:!0,allowInTerminal:!0,enabled:i=>!E.select(n.state)&&_("navigation.go-to-tab")===C["navigation.go-to-tab"]&&!h("navigation.go-to-device",i,_,e),description:l.ui_shortcuts_goToTab_label(),action:()=>x(t)});for(let t=1;t<=9;t++)a({binding:()=>_("navigation.go-to-tab").replace(/([1-8])-9$/,String(t)),...r,alt:!0,key:String(t),global:!0,allowInTerminal:!0,enabled:i=>!h("navigation.go-to-tab",i,_,e),description:t===1?l.home_navigation_description():t===9?l.workspace_shortcuts_selectLastSpaceTab_description():l.workspace_shortcuts_selectSpaceTab_description({digit:t}),action:()=>x(t)})}export{be as c,We as r};
1
+ import{g_ as O,gG as H,Jj as P,K7 as K,Dd as U,tR as j,uO as q,AJ as N,AK as V,Jh as z,Ji as Q,AL as X}from"./CI4_aI7e.js";import{selectWorkspaceTabOrder as f,selectCurrentWorkspaceTabId as S,selectLastClosedWorkspaceTab as Y}from"./Dq9sK6wY.js";import{i as Z,q as M,b as ee,j as te,l as ae}from"./DQLMO9xD.js";import{g as ne}from"./DUfE7lx2.js";import{bm as l}from"./51_h0jm2.js";import{z as oe,S as y}from"./rIUowGAi.js";import{B as h,S as C,Q as ce}from"./Bqd7fdCF.js";import{ab as le,a9 as E}from"./Ce83awb2.js";import{g as se}from"./DPvT-ATr.js";function A(e,a){const n=f.select(e.state),o=S.select(e.state);if(!o)return null;const c=n.indexOf(o),s=c+(a==="left"?-1:1),p=n[s];return c<0||!p?null:(e.dispatch(j(o,p,a==="left"?"before":"after")),o)}function B(e){const a=S.select(e);return a&&f.select(e).includes(a)?a:null}function m(e,a,n){const o=B(e.state),c=o?`/workspace/${o}`:ne(e.state);return a!==c&&n(c),o}function ie(e,a,n,o){return e.dispatch(O(a)),m(e,n,o),a}function I(e,a){const o=a.match(/^\/workspace\/([^/]+)/)?.[1];return o?o==="new"?null:o:null}function R(e,a,n,o){if(n==="/")return D(e,a==="next"?0:"last",n,o);e.dispatch(a==="next"?z():Q());const c=S.select(e.state);if(!c)return null;const s=`/workspace/${c}`;return n!==s&&o(s),c}function re(e,a,n){const o=I(e,a);return o?ie(e,o,a,n):null}function pe(e,a,n){const o=I(e,a);if(!o)return null;const c=Z.select(e.state,o);if(!c)return null;const s=c.tabs.find(v=>v.id===c.activeTabId),p=c.tabs.length===0&&c.activeTabId===null,g=M.select(e.state,o)>1&&(p||c.tabs.length===1&&s!==void 0&&s.closable!==!1);if((!s||s.closable===!1)&&!g)return null;const T=n??se(o)?.availableCanvasWidth??void 0;return e.dispatch(H(o,void 0,T)),s?.id??c.id}function ue(e,a){const n=e.state.panelLayout.byWorkspaceId[a];return!n||n.restoreStatus==="pending"?!1:ee.select(e.state,a).length===0}function de(e,a,n){B(e.state)||e.dispatch(P(0)),m(e,a,n)}function L(e,a,{navigate:n,closeWindow:o}){return o?(o(),"window"):(m(e,a,n),null)}function be(e,a,n){const o=I(e,a);return o?pe(e,a,n.availableCanvasWidth)!==null?"panel":ue(e,o)?(e.dispatch(O(o)),f.select(e.state).length>0?(de(e,a,n.navigate),"workspace"):L(e,a,n)??"workspace"):null:f.select(e.state).length>0?null:L(e,a,n)}function fe(e,a,n){return e.dispatch(X()),m(e,a,n)}function ke(e,a,n){const o=a.match(/^\/workspace\/([^/]+)/),c=o&&o[1]!=="new"?o[1]:null,s=Y.select(e.state),p=c?ae.select(e.state,c):null;return c&&p&&(!s||p.closedAt>=s.closedAt)?p.kind==="column"?(e.dispatch(N(c)),"column"):(e.dispatch(V(c)),p.kind):s?(fe(e,a,n),"workspace"):null}function _e(e,a){const n=a.match(/^\/workspace\/([^/]+)/),o=n&&n[1]!=="new"?n[1]:null;if(!o)return null;const c=q(o);return e.dispatch(c),te.select(e.state,o)}function D(e,a,n,o){const c=f.select(e.state),s=a==="last"?c.length-1:a;return s<0||s>=c.length?null:(e.dispatch(P(s)),m(e,n,o))}function We({isMac:e,register:a,store:n,getCurrentPath:o,navigate:c,openNewWorkspace:s,getRailMachineIds:p,onCreateAgent:g,onCreateNote:T,onCreateTerminal:v,onCreateBrowser:G,onWorkspaceTabMoved:W,closeWindow:F,resolveBinding:w}){const r=e?{meta:!0}:{ctrl:!0},$=oe("TOGGLE_SIDEBAR",e),k=t=>()=>t(o()),J=t=>()=>{const i=o().match(/^\/workspace\/([^/]+)/);i?.[1]&&i[1]!=="new"&&t(i[1])},u=t=>w?{binding:()=>w(t)}:{},_=t=>w?.(t)??ce(t);a({...u("global.new-space"),...r,key:"n",global:!0,description:l.workspace_shortcuts_newSpace_description(),action:s}),a({...u("panel.toggle-sidebar"),...$,global:!0,description:y.TOGGLE_SIDEBAR.label,action:()=>n.dispatch(K())}),a({...u("navigation.new-tab"),...r,key:"t",global:!0,description:l.workspace_shortcuts_newPanel_description(),action:k(t=>_e(n,t))});for(const[t,i,b,d]of[["workspace.new-agent","a",l.ui_shortcuts_newAgent_label(),g],["workspace.new-note","n",l.layout_panelEmptyState_newItem_tooltip({label:l.layout_panelEmptyState_note_label()}),T],["workspace.new-terminal","t",l.layout_panelEmptyState_newItem_tooltip({label:l.layout_panelEmptyState_terminal_label()}),v],["workspace.new-browser","b",l.layout_panelEmptyState_newItem_tooltip({label:l.layout_panelEmptyState_browser_label()}),G]])d&&a({...u(t),...r,key:i,alt:!0,global:!0,allowInTerminal:!0,description:b,action:J(d)});a({...u("navigation.close-tab"),...r,key:"w",global:!0,description:l.workspace_shortcuts_closePanelTab_description(),action:k(t=>be(n,t,{navigate:c,closeWindow:F}))}),a({...u("navigation.close-space-tab"),...r,key:"w",shift:!0,global:!0,description:l.workspace_shortcuts_closeSpaceTab_description(),action:k(t=>re(n,t,c))}),a({...u("navigation.reopen-tab"),...r,key:"t",shift:!0,global:!0,description:l.workspace_shortcuts_reopenClosedTabOrSpace_description(),action:k(t=>ke(n,t,c))}),a({...u("navigation.move-space-tab-left"),...r,key:"ArrowLeft",alt:!0,shift:!0,global:!0,description:y.MOVE_SPACE_TAB_LEFT.label,action:()=>{const t=A(n,"left");t&&W?.({workspaceId:t,position:f.select(n.state).indexOf(t)+1})}}),a({...u("navigation.move-space-tab-right"),...r,key:"ArrowRight",alt:!0,shift:!0,global:!0,description:y.MOVE_SPACE_TAB_RIGHT.label,action:()=>{const t=A(n,"right");t&&W?.({workspaceId:t,position:f.select(n.state).indexOf(t)+1})}});for(const[t,i]of[["next",!1],["previous",!0]]){a({...u(t==="next"?"global.next-space":"global.previous-space"),key:"Tab",ctrl:!0,shift:i,global:!0,description:t==="next"?l.workspace_shortcuts_nextSpaceTab_description():l.workspace_shortcuts_previousSpaceTab_description(),action:k(d=>R(n,t,d,c))});const b=t==="next"?"global.next-space-alt":"global.previous-space-alt";a({...u(b),...r,key:t==="next"?"}":"{",shift:!0,global:!0,allowInTerminal:!0,preferLocal:!0,enabled:d=>!w||!h(b,d,w,e),description:t==="next"?l.workspace_shortcuts_nextSpaceTab_description():l.workspace_shortcuts_previousSpaceTab_description(),action:k(d=>R(n,t,d,c))})}const x=t=>{t===1?c("/"):D(n,t===9?"last":t-2,o(),c)};for(let t=1;t<=9;t++)a({...r,key:String(t),binding:()=>_("navigation.go-to-device").replace(/([1-8])-9$/,String(t)),global:!0,allowInTerminal:!0,enabled:i=>E.select(n.state)&&!h("navigation.go-to-device",i,_,e),description:l.machineRail_nav_ariaLabel(),action:()=>{const i=p?.()??le.select(n.state).map(d=>d.id),b=i[t===9?i.length-1:t-1];b&&n.dispatch(U(b))}});for(let t=1;t<=9;t++)a({...r,key:String(t),binding:()=>C["navigation.go-to-device"].replace(/([1-8])-9$/,String(t)),global:!0,allowInTerminal:!0,enabled:i=>!E.select(n.state)&&_("navigation.go-to-tab")===C["navigation.go-to-tab"]&&!h("navigation.go-to-device",i,_,e),description:l.ui_shortcuts_goToTab_label(),action:()=>x(t)});for(let t=1;t<=9;t++)a({binding:()=>_("navigation.go-to-tab").replace(/([1-8])-9$/,String(t)),...r,alt:!0,key:String(t),global:!0,allowInTerminal:!0,enabled:i=>!h("navigation.go-to-tab",i,_,e),description:t===1?l.home_navigation_description():t===9?l.workspace_shortcuts_selectLastSpaceTab_description():l.workspace_shortcuts_selectSpaceTab_description({digit:t}),action:()=>x(t)})}export{be as c,We as r};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/BhZDGIfe.js","/app/immutable/chunks/51_h0jm2.js","/app/immutable/chunks/CJxGDkBm.js","/app/immutable/chunks/PXCFrn2V.js","/app/immutable/chunks/C9UsZ4re.js","/app/immutable/chunks/B9mj0qwd.js","/app/immutable/chunks/Bjy4ygfJ.js","/app/immutable/chunks/DxvSggY5.js","/app/immutable/chunks/CpPNoOk-.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/DGmOjLYi.js","/app/immutable/chunks/BAymCgEX.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/CdOh_Fmv.js","/app/immutable/chunks/NtFyWdpR.js","/app/immutable/chunks/Cgn_eC9-.js","/app/immutable/chunks/BQDGTBxC.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/DqFWZ_g1.js","/app/immutable/chunks/D6dNunKo.js","/app/immutable/chunks/CbRsc9i4.js","/app/immutable/chunks/PVXvIyE8.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/BEklUrxK.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/DJfJ5NWH.js","/app/immutable/chunks/DSQT151l.js","/app/immutable/chunks/BxwkoIbZ.js","/app/immutable/chunks/BoIfXiRv.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.B1j5oT2y.css","/app/immutable/chunks/DvrEye74.js","/app/immutable/chunks/DxyI4IUi.js","/app/immutable/chunks/DZIz7Wk9.js","/app/immutable/chunks/DKn1sQ32.js","/app/immutable/chunks/BpEHjU4g.js","/app/immutable/chunks/THdp5Vpk.js","/app/immutable/assets/menu-footer.Ck5GCpgU.css","/app/immutable/chunks/CN-6Tr26.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/chunks/BGP1lrgu.js","/app/immutable/assets/confirm.UE5obH5A.css","/app/immutable/chunks/DFBd8tOh.js","/app/immutable/chunks/BCBNqT5t.js","/app/immutable/chunks/CYKOPxuJ.js","/app/immutable/chunks/DB9n2KBT.js","/app/immutable/chunks/D-g0wh54.js","/app/immutable/chunks/CfUtc4-L.js","/app/immutable/chunks/DAsc1V4f.js","/app/immutable/chunks/BsieX9dN.js","/app/immutable/chunks/Dukt1CUc.js","/app/immutable/assets/SettingsPage.CKvEnOAL.css","/app/immutable/chunks/fr0BmHL-.js","/app/immutable/chunks/DfTSMq0b.js","/app/immutable/chunks/CRY4aELR.js","/app/immutable/chunks/CgwFGLCK.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/CnztNSaN.js","/app/immutable/chunks/D-62MVd3.js","/app/immutable/chunks/BgPtjifd.js","/app/immutable/chunks/CL3a4Hm1.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/CQHtdg39.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/CC7to1B5.js","/app/immutable/chunks/BSsEOl8-.js","/app/immutable/chunks/t7yAUuZn.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/CzW29tkb.js","/app/immutable/chunks/Bqm2Rf6d.js","/app/immutable/chunks/BSfkjlLx.js","/app/immutable/chunks/BRRvOx4M.js","/app/immutable/chunks/sS3MW5B6.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/D0DIS-cT.js","/app/immutable/assets/slider.kL-wkHnx.css","/app/immutable/chunks/KAO5AtPr.js","/app/immutable/chunks/D5_auhOU.js","/app/immutable/chunks/CjswKKTa.js","/app/immutable/chunks/CQcEqK4G.js","/app/immutable/chunks/Dv0Jc2Nv.js","/app/immutable/chunks/Bc7pHsTy.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/1q0xL14K.js","/app/immutable/chunks/CRNfAyhd.js","/app/immutable/chunks/DCv0ZqUq.js","/app/immutable/assets/DockScreenshotEditorWindow.DNkBhnHK.css","/app/immutable/assets/dock-tokens.C3wiNkmL.css","/app/immutable/chunks/CMLBE7U6.js","/app/immutable/chunks/Cj_UUgNI.js","/app/immutable/chunks/DBdkAKrm.js","/app/immutable/chunks/Bvo32SXP.js","/app/immutable/chunks/CH7fgKro.js","/app/immutable/assets/select-viewport.CV-KWLNP.css","/app/immutable/chunks/DvATy2o1.js","/app/immutable/chunks/B-1iBpaq.js","/app/immutable/chunks/tDUnXf7O.js","/app/immutable/chunks/BEV9WkWU.js","/app/immutable/chunks/DWcAR6Dh.js","/app/immutable/chunks/_EqQOSVK.js","/app/immutable/chunks/C3-0e__R.js","/app/immutable/chunks/CSBGusi9.js","/app/immutable/chunks/UQXXh4U7.js","/app/immutable/assets/checkbox.D429NJZk.css","/app/immutable/chunks/VJkCr9xp.js","/app/immutable/chunks/D6VfSAVQ.js","/app/immutable/chunks/BGT9uvaQ.js","/app/immutable/chunks/BDA31WCY.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/CGzD6XfW.js","/app/immutable/chunks/CbyU6cEf.js","/app/immutable/chunks/DUctnn_k.js","/app/immutable/assets/directory-picker-service.Eai7L_H2.css","/app/immutable/chunks/B_IEMfS6.js","/app/immutable/chunks/A4nvdmL6.js","/app/immutable/chunks/CQ_NwL45.js","/app/immutable/chunks/C2Vj5Vs6.js","/app/immutable/chunks/FmBB5PWm.js","/app/immutable/assets/AgentAvatar.CZKKHyEm.css","/app/immutable/assets/avatar-state.BzFIexJN.css","/app/immutable/chunks/BzFy3u2D.js","/app/immutable/assets/TipTapEditor.BLRSTYT-.css","/app/immutable/chunks/vLtMR-kj.js","/app/immutable/chunks/Cl7NoY6M.js","/app/immutable/chunks/BHaE4286.js","/app/immutable/assets/AttachmentPreview.D_hsaikk.css","/app/immutable/chunks/EzpfJOSe.js","/app/immutable/chunks/BqkCNgyL.js","/app/immutable/assets/DictationStopButton.DWUPhcKi.css","/app/immutable/chunks/D2dAlclh.js","/app/immutable/chunks/CjTGc2Y5.js","/app/immutable/chunks/Cv2YUgTX.js","/app/immutable/chunks/Bu13V5mO.js","/app/immutable/chunks/C0wua3Vt.js","/app/immutable/chunks/Hd1u2Z-S.js","/app/immutable/chunks/BG2RPA7A.js","/app/immutable/chunks/BW94gUhQ.js","/app/immutable/chunks/BigcqNWS.js","/app/immutable/assets/TaskStatusIcon.sfU2TZ7a.css","/app/immutable/chunks/CmW3Zqh6.js","/app/immutable/chunks/BmBa9vQp.js","/app/immutable/chunks/FLNU8xuu.js","/app/immutable/assets/AgentCard.Cna0hri3.css","/app/immutable/chunks/ir8Qz45r.js","/app/immutable/chunks/DL1CE4TH.js","/app/immutable/assets/TrackedChangeDiffViewer.CveSjyPc.css","/app/immutable/chunks/D_r5h8IL.js","/app/immutable/chunks/1GGKXNxU.js","/app/immutable/chunks/CcNhqKh5.js","/app/immutable/assets/syntax-highlighting.CrQGLq0X.css","/app/immutable/assets/CodeBlock.BezhEtUo.css","/app/immutable/chunks/CUNx-_2d.js","/app/immutable/chunks/BbIcudMY.js","/app/immutable/chunks/B0v5Qiob.js","/app/immutable/assets/DiagramPresentation.C2GLYoBN.css","/app/immutable/chunks/i8PKWJT0.js","/app/immutable/chunks/B-_ROixI.js","/app/immutable/chunks/D0H3cACA.js","/app/immutable/chunks/D2MmXC4A.js","/app/immutable/chunks/DC_1j_gh.js","/app/immutable/assets/MarkdownViewer.D2MexjjT.css","/app/immutable/chunks/DtHX0_aW.js","/app/immutable/chunks/D-NrCL67.js","/app/immutable/chunks/CR2m4w2U.js","/app/immutable/chunks/BCQ1W7zT.js","/app/immutable/assets/workspace-key-menu.DrT-Fxqq.css","/app/immutable/chunks/BOXv-Vsz.js","/app/immutable/chunks/YqTahsxp.js","/app/immutable/chunks/D69ZLPjW.js","/app/immutable/chunks/BnNJN3Ls.js","/app/immutable/chunks/1DKpnRTj.js","/app/immutable/assets/StreamingDiagramRenderer.BShsSvPz.css","/app/immutable/assets/chat-search.Cjb73igJ.css","/app/immutable/chunks/CyWgrZMk.js","/app/immutable/chunks/Dz5-AChV.js","/app/immutable/chunks/CQkTODWA.js","/app/immutable/chunks/BR2t5nsF.js","/app/immutable/chunks/CkrbZXJF.js","/app/immutable/chunks/DeE0yn_3.js","/app/immutable/chunks/DksUdusM.js","/app/immutable/chunks/DwXKCf3Q.js","/app/immutable/chunks/CblB0zCN.js","/app/immutable/chunks/Dp9fBXaC.js","/app/immutable/assets/AgentAvatarStack.DOhClFuX.css","/app/immutable/chunks/bb5Wjkri.js","/app/immutable/assets/conversation-turns.BHHyRLdd.css","/app/immutable/chunks/B3Gso1ut.js","/app/immutable/chunks/CqwiFk32.js","/app/immutable/chunks/YV53nLSc.js","/app/immutable/chunks/7Uk2VvOl.js","/app/immutable/chunks/BqxcrzZH.js","/app/immutable/chunks/BwtGEQS3.js","/app/immutable/chunks/CY-vjmpy.js","/app/immutable/chunks/CatLGfTW.js","/app/immutable/chunks/H2jLkRRS.js","/app/immutable/chunks/UN8KT7fR.js","/app/immutable/assets/WorkspaceSetupCard.DNLkSKZg.css","/app/immutable/chunks/ZIOU9Sxd.js","/app/immutable/chunks/DL6gGkHp.js","/app/immutable/assets/DockRecordingEditor.BX1NXczK.css","/app/immutable/chunks/Blu9C_Vv.js","/app/immutable/chunks/CzS5ny-g.js","/app/immutable/assets/ChatPanel.B73KM22O.css","/app/immutable/assets/HomeWorkspaceDetail.Dp5EWw2P.css","/app/immutable/chunks/gySpGbnA.js","/app/immutable/chunks/C1AEP5wW.js","/app/immutable/chunks/CQ409-Pj.js","/app/immutable/chunks/CBafvv8h.js","/app/immutable/chunks/CXXVPWBH.js","/app/immutable/chunks/BrMXrCxP.js","/app/immutable/chunks/DFr6bn5t.js","/app/immutable/chunks/BimRiD6s.js","/app/immutable/assets/BrowserTabType.DojB6H-_.css","/app/immutable/chunks/eCVtubQ8.js","/app/immutable/chunks/D1bivTve.js","/app/immutable/chunks/5vm8eILD.js","/app/immutable/chunks/qvt-0QTi.js","/app/immutable/chunks/CCSbqNiH.js","/app/immutable/chunks/BX9VoS92.js","/app/immutable/chunks/ByfLGh4b.js","/app/immutable/chunks/DyHCBf0T.js","/app/immutable/assets/register.CUyDR59i.css","/app/immutable/assets/terminal-manager.MhP_vFvK.css","/app/immutable/chunks/DgMr61cU.js","/app/immutable/assets/confirm-script-deletion.CqNa5NIC.css","/app/immutable/chunks/NqK_XT0y.js","/app/immutable/assets/Terminal.Ddek5eNE.css","/app/immutable/chunks/Dekzflbl.js","/app/immutable/chunks/YcqSYZ1W.js","/app/immutable/chunks/B8_Ff8zl.js","/app/immutable/chunks/VdR0DXlW.js","/app/immutable/chunks/Df-HaYIr.js","/app/immutable/chunks/CmVXj6KK.js","/app/immutable/chunks/CQAAihrI.js","/app/immutable/chunks/D9MwZkzV.js","/app/immutable/chunks/CSiaiLHL.js","/app/immutable/chunks/rB5UfCey.js","/app/immutable/chunks/DWDPOFkL.js","/app/immutable/chunks/DcUCHDGY.js","/app/immutable/chunks/BIv0yV05.js","/app/immutable/chunks/CoeUPp7o.js","/app/immutable/chunks/BYMXwcID.js","/app/immutable/assets/AgentOverviewTabType.DU1WpoFR.css","/app/immutable/chunks/zye35u-t.js","/app/immutable/chunks/wgljT0D3.js","/app/immutable/chunks/b-bXytVF.js","/app/immutable/chunks/BmjF1SON.js","/app/immutable/chunks/gHT8Z5q-.js","/app/immutable/assets/DiscussionTabType.D3Laoutn.css","/app/immutable/chunks/cFozej4U.js","/app/immutable/chunks/CiZzqOpk.js","/app/immutable/chunks/Gr7b8MIr.js","/app/immutable/assets/CodeEditor.Bq04Rj-N.css","/app/immutable/chunks/DYmzWBEk.js","/app/immutable/assets/LineChangesBadge.CJ0J_Z0k.css","/app/immutable/chunks/L3AlUw84.js","/app/immutable/assets/NoteTabType.AG_iwaNn.css","/app/immutable/chunks/DELYEsRi.js","/app/immutable/chunks/wEnqV1Ol.js","/app/immutable/chunks/Chnr0_jK.js","/app/immutable/chunks/BUA7BUyu.js","/app/immutable/assets/FileTabType.BUKcoHE1.css","/app/immutable/chunks/BvKqDQXM.js","/app/immutable/chunks/BX9hgO_H.js","/app/immutable/chunks/B1lYPzEU.js","/app/immutable/chunks/CPlH-52U.js","/app/immutable/assets/ChatChangesPanel.BQqG1JnE.css","/app/immutable/chunks/C14Hgf8a.js","/app/immutable/chunks/TE7UDCh6.js","/app/immutable/chunks/R2N5eDxY.js","/app/immutable/chunks/1pIqWRUk.js","/app/immutable/chunks/DPPtpHwn.js","/app/immutable/chunks/CMMep18j.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"./51_h0jm2.js";import{t as u}from"./Dawt227W.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"./DSQT151l.js";import{R as H}from"./CJCoBdox.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"./CJxGDkBm.js";import{i as D}from"./PXCFrn2V.js";import{s as fe}from"./CpPNoOk-.js";import{L as me}from"./BHaE4286.js";import{C as Xe,L as be}from"./DvrEye74.js";import{I as Ze}from"./DZIz7Wk9.js";import"./DKn1sQ32.js";import"./BGP1lrgu.js";import{f as le}from"./CdOh_Fmv.js";import{v as Ie}from"./Cgn_eC9-.js";import"./CN-6Tr26.js";import"./DxvSggY5.js";import{I as ve}from"./Bjy4ygfJ.js";import{I as et}from"./Bqd7fdCF.js";import"./BQDGTBxC.js";import{a as tt}from"./BdWqymET.js";function xt(){u.register({type:"workspace",loadComponent:()=>c(()=>import("./BhZDGIfe.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]),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("./gySpGbnA.js"),__vite__mapDeps([207,1,2,3,11,6,7,8,9,10,15,208,22,23,24,25,26,18,13,4,67,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,76,68,57,58,59,62,63,64,69,70,71,72,73,74,75,179,91,92,85,180,209,123,210,125,52,136,84,211,99,100,212,108,109,110,111,112,213,214,113,215]),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("./eCVtubQ8.js"),__vite__mapDeps([216,1,2,3,4,11,28,7,8,9,10,6,57,18,22,23,24,25,26,13,58,16,17,19,59,20,217,15,218,219,64,63,92,76,85,73,220,221,222,223,224,111,209,189,225,14,12,21,27,29,30,31,32,210,226,68,62,69,70,71,72,74,75,36,42,43,40,41,214,227,38,35,39,136,33,34,37,44,45,46,212,228,147,229,230,113,231]),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("./B8_Ff8zl.js"),__vite__mapDeps([232,1,2,22,23,24,25,9,7,26,18,13,3,29,6,8,10,57,28,11,58,16,17,19,59,20,213,72,73,75,91,68,12,14,15,4,21,27,30,31,32,62,63,64,69,70,71,74,76,92,85,214,179,180,113,233,234,176,82,86,177,178,130,132,133,142,226,165,235,231,236,36,42,43,40,41,112,111,170,189,210,143,135,67,237,238,239,240,241,197,149,108,109,110,242,243,220,221,222,223,224,140,151,152,35,162,80,65,66,33,34,37,38,39,44,45,46,77,78,79,50,51,117,163,125,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("./BYMXwcID.js"),__vite__mapDeps([244,1,2,3,6,7,8,9,10,15,14,16,13,17,18,19,11,4,119,120,121,71,22,23,24,25,26,72,73,74,57,28,58,59,20,75,76,122,12,21,27,29,30,31,32,156,79,51,176,82,86,62,63,64,177,178,130,91,68,69,70,92,85,132,133,142,108,109,110,111,112,245]),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("./zye35u-t.js"),__vite__mapDeps([246,1,2,3,4,6,7,8,9,10,11,15,68,12,13,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,57,58,59,62,63,64,69,70,71,72,73,74,75,76,247,248,235,234,113,92,85,133,203,44,45,212,237,132,91,238,102,35,36,47,48,49,42,43,50,51,52,53,103,38,39,104,84,34,37,40,41,67,80,33,46,105,106,79,107,95,96,108,109,110,111,112,114,115,192,54,55,56,60,61,65,66,77,78,81,82,83,86,87,88,89,90,93,94,97,98,99,100,101,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,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,193,194,195,196,197,198,199,200,201,202,204,205,214,213]),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("./BmjF1SON.js"),__vite__mapDeps([249,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,214,12,20,30,32,57,58,59,68,62,63,64,69,70,71,72,73,74,75,76,91,92,85,192,87,88,60,114,120,121,125,52,159,80,162,140,65,66,67,77,78,79,50,51,117,163,99,100,48,233,213,179,180,113,234,176,82,86,177,178,130,132,133,142,226,165,235,231,236,112,111,170,189,210,143,135,237,238,239,240,241,197,149,108,109,110,242,243,220,221,222,223,224,129,131,250,98,94,95,49,96,97,118,212,251]),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("./cFozej4U.js"),__vite__mapDeps([252,1,2,3,11,57,18,9,22,23,24,25,7,26,13,28,8,10,6,58,16,17,19,59,20,212,179,91,68,12,14,15,4,21,27,29,30,31,32,62,63,64,69,70,71,72,73,74,75,76,92,85,180,35,36,79,87,88,50,51,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,138,139,140,141,116,67,52,65,66,77,78,80,61,118,114,119,122,123,100,124,233,213,214,113,234,176,82,86,177,178,130,132,133,142,226,165,235,231,236,112,111,170,189,210,143,135,237,238,239,240,241,197,149,108,109,110,242,243,220,221,222,223,224,146,55,147,148,253,254,255,107,95,49,96,161,193,256,257,151,152,105,48,106,258,154,155,156,157,150,153,160,182,190,136,195,196,172,162,163,259]),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("./DELYEsRi.js"),__vite__mapDeps([260,1,2,3,4,6,7,8,9,10,11,15,22,23,24,25,26,18,13,212,149,57,28,58,16,17,19,59,20,261,62,63,64,197,74,12,14,21,27,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,233,85,92,76,73,91,68,69,70,71,72,75,213,214,179,180,113,234,176,82,86,177,178,130,132,133,142,226,165,235,231,236,112,111,170,189,210,143,135,67,237,238,239,240,241,108,109,110,242,243,220,221,222,223,224,253,254,117,255,162,140,80,65,66,77,78,79,50,51,163,136,262,123,263,230,264]),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("./BvKqDQXM.js"),__vite__mapDeps([265,1,2,3,4,11,161,22,23,24,25,9,7,26,18,13,212,57,28,8,10,6,58,16,17,19,59,20,146,55,15,132,64,91,68,12,14,21,27,29,30,31,32,62,63,69,70,71,72,73,74,75,76,92,85,133,147,35,36,148,266,149,33,34,37,38,39,40,41,42,43,44,45,46,117,136,262,195,196,172,197,121]),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("./B1lYPzEU.js"),__vite__mapDeps([267,1,2,4,15,22,23,24,25,9,7,26,18,13,161,212,57,28,11,3,8,10,6,58,16,17,19,59,20,213,72,73,75,91,68,12,14,21,27,29,30,31,32,62,63,64,69,70,71,74,76,92,85,214,179,180,113,268,158,256,257,146,55,132,133,147,35,36,148,266,149,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,105,48,49,106,134,135,67,126,143,176,82,86,177,178,130,142,233,234,226,165,235,231,236,112,111,170,189,210,237,238,239,240,241,197,108,109,110,242,243,220,221,222,223,224,269,262]),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("./C14Hgf8a.js"),__vite__mapDeps([270,1,2,15,22,23,24,25,9,7,26,18,13,161,212,57,28,11,3,8,10,6,58,16,17,19,59,20,268,29,158,256,257,91,68,12,14,4,21,27,30,31,32,62,63,64,69,70,71,72,73,74,75,76,92,85,146,55,132,133,147,35,36,148,266,149,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,105,48,49,106,134,135,67,126,143,179,180,213,214,113,176,82,86,177,178,130,142,233,234,226,165,235,231,236,112,111,170,189,210,237,238,239,240,241,197,108,109,110,242,243,220,221,222,223,224,269,262]),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("./TE7UDCh6.js"),__vite__mapDeps([271,1,2,3,268,6,7,8,9,10,29,15,22,23,24,25,26,18,13,158,57,28,11,58,16,17,19,59,20,256,257,91,68,12,14,4,21,27,30,31,32,62,63,64,69,70,71,72,73,74,75,76,92,85,146,55,132,133,147,35,36,148,266,149,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,105,48,49,106,134,135,67,126,143,179,180,213,214,113,176,82,86,177,178,130,142,233,234,226,165,235,231,236,112,111,170,189,210,237,238,239,240,241,197,108,109,110,242,243,220,221,222,223,224,269]),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("./R2N5eDxY.js"),__vite__mapDeps([272,1,2,3,4,11,58,238,24,64,146,8,9,7,10,55,15,132,16,13,17,18,19,22,23,25,26,91,57,28,6,59,20,68,12,14,21,27,29,30,31,32,62,63,69,70,71,72,73,74,75,76,92,85,133,147,35,36,148,266,149,33,34,37,38,39,40,41,42,43,44,45,46,117,212,136,262,195,196,172,197,121]),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("./1pIqWRUk.js"),__vite__mapDeps([273,1,2,3,150,6,7,8,9,10,140,151,64,152,12,13,14,15,16,17,18,19,11,4,20,21,22,23,24,25,26,27,28,29,30,31,32,153,165,57,58,59,72,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("./DPPtpHwn.js"),__vite__mapDeps([274,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("./CMMep18j.js"),__vite__mapDeps([275,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([276,64]),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/CdYt8dgZ.js","/app/immutable/chunks/51_h0jm2.js","/app/immutable/chunks/CJxGDkBm.js","/app/immutable/chunks/PXCFrn2V.js","/app/immutable/chunks/C9UsZ4re.js","/app/immutable/chunks/DUO0KBjx.js","/app/immutable/chunks/Bjy4ygfJ.js","/app/immutable/chunks/DxvSggY5.js","/app/immutable/chunks/CpPNoOk-.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/DGmOjLYi.js","/app/immutable/chunks/Cz-HgbT1.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/BnA9v3pc.js","/app/immutable/chunks/NtFyWdpR.js","/app/immutable/chunks/rIUowGAi.js","/app/immutable/chunks/BQDGTBxC.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/DqFWZ_g1.js","/app/immutable/chunks/BLb6jd9K.js","/app/immutable/chunks/CI4_aI7e.js","/app/immutable/chunks/PVXvIyE8.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/BEklUrxK.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/DJfJ5NWH.js","/app/immutable/chunks/DSQT151l.js","/app/immutable/chunks/BxwkoIbZ.js","/app/immutable/chunks/BoIfXiRv.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.B1j5oT2y.css","/app/immutable/chunks/rei1qYSi.js","/app/immutable/chunks/D2jpdqLS.js","/app/immutable/chunks/BaGw_bDr.js","/app/immutable/chunks/DKn1sQ32.js","/app/immutable/chunks/DXtdMDwl.js","/app/immutable/chunks/BROVvkEL.js","/app/immutable/assets/menu-footer.Ck5GCpgU.css","/app/immutable/chunks/CN-6Tr26.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/chunks/BGP1lrgu.js","/app/immutable/assets/confirm.UE5obH5A.css","/app/immutable/chunks/OK80LzXp.js","/app/immutable/chunks/BCBNqT5t.js","/app/immutable/chunks/BIY9btQv.js","/app/immutable/chunks/Bj-9TYLg.js","/app/immutable/chunks/D-g0wh54.js","/app/immutable/chunks/CDsbSWM0.js","/app/immutable/chunks/DAsc1V4f.js","/app/immutable/chunks/BsieX9dN.js","/app/immutable/chunks/Dukt1CUc.js","/app/immutable/assets/SettingsPage.CKvEnOAL.css","/app/immutable/chunks/DbIuIgjV.js","/app/immutable/chunks/DfTSMq0b.js","/app/immutable/chunks/7aKXh--T.js","/app/immutable/chunks/C2wWLl1x.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/BoQ8Q7zJ.js","/app/immutable/chunks/D-62MVd3.js","/app/immutable/chunks/KEjNxHSN.js","/app/immutable/chunks/CL3a4Hm1.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/BVDDJIsV.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/CC7to1B5.js","/app/immutable/chunks/7i9XTDuo.js","/app/immutable/chunks/XagMlRFc.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/CAV1CzzW.js","/app/immutable/chunks/Dq9sK6wY.js","/app/immutable/chunks/BHCTYYXY.js","/app/immutable/chunks/DQLMO9xD.js","/app/immutable/chunks/DQZlstPH.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/DrMbcJpA.js","/app/immutable/assets/slider.kL-wkHnx.css","/app/immutable/chunks/KAO5AtPr.js","/app/immutable/chunks/pehcYFWW.js","/app/immutable/chunks/CjswKKTa.js","/app/immutable/chunks/CQcEqK4G.js","/app/immutable/chunks/CVpnQG0j.js","/app/immutable/chunks/C1YR8Gnj.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/1q0xL14K.js","/app/immutable/chunks/DAfOI1BG.js","/app/immutable/chunks/DCv0ZqUq.js","/app/immutable/assets/DockScreenshotEditorWindow.DNkBhnHK.css","/app/immutable/assets/dock-tokens.C3wiNkmL.css","/app/immutable/chunks/DqMtaSxK.js","/app/immutable/chunks/DaqXt9wp.js","/app/immutable/chunks/L-jTlD15.js","/app/immutable/chunks/CnS7dtdu.js","/app/immutable/chunks/C6P_twJN.js","/app/immutable/assets/select-viewport.CV-KWLNP.css","/app/immutable/chunks/hqZSbKVs.js","/app/immutable/chunks/Jx0QEit0.js","/app/immutable/chunks/QFEvVzf2.js","/app/immutable/chunks/5kePy1TE.js","/app/immutable/chunks/DWcAR6Dh.js","/app/immutable/chunks/Dax7ITFa.js","/app/immutable/chunks/C3-0e__R.js","/app/immutable/chunks/BWn2FCdq.js","/app/immutable/chunks/C6ROKFdp.js","/app/immutable/assets/checkbox.D429NJZk.css","/app/immutable/chunks/eRIG79tn.js","/app/immutable/chunks/DUfE7lx2.js","/app/immutable/chunks/Dg9ZuAkk.js","/app/immutable/chunks/BR_GHabc.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/JZ27Qh_j.js","/app/immutable/chunks/DVu7tZ67.js","/app/immutable/chunks/DUctnn_k.js","/app/immutable/assets/directory-picker-service.Eai7L_H2.css","/app/immutable/chunks/DteD0Nal.js","/app/immutable/chunks/DcsxLfDg.js","/app/immutable/chunks/BHe6JG_C.js","/app/immutable/chunks/BR75pcGU.js","/app/immutable/chunks/FmBB5PWm.js","/app/immutable/assets/AgentAvatar.CZKKHyEm.css","/app/immutable/assets/avatar-state.BzFIexJN.css","/app/immutable/chunks/BlQvrYPa.js","/app/immutable/assets/TipTapEditor.BLRSTYT-.css","/app/immutable/chunks/B4rTQlY3.js","/app/immutable/chunks/Cl7NoY6M.js","/app/immutable/chunks/CvqKGiPA.js","/app/immutable/assets/AttachmentPreview.D_hsaikk.css","/app/immutable/chunks/DG-AKB01.js","/app/immutable/chunks/BqkCNgyL.js","/app/immutable/assets/DictationStopButton.DWUPhcKi.css","/app/immutable/chunks/DqZnld6x.js","/app/immutable/chunks/KSJAkSbC.js","/app/immutable/chunks/CzMPk75T.js","/app/immutable/chunks/Bu13V5mO.js","/app/immutable/chunks/C2UYU20O.js","/app/immutable/chunks/eNRNxfO0.js","/app/immutable/chunks/CNkmihEX.js","/app/immutable/chunks/BW94gUhQ.js","/app/immutable/chunks/BigcqNWS.js","/app/immutable/assets/TaskStatusIcon.sfU2TZ7a.css","/app/immutable/chunks/BZWU4mlm.js","/app/immutable/chunks/DkkmguuG.js","/app/immutable/chunks/FLNU8xuu.js","/app/immutable/assets/AgentCard.Cna0hri3.css","/app/immutable/chunks/CkoG9STP.js","/app/immutable/chunks/JvjGgKob.js","/app/immutable/assets/TrackedChangeDiffViewer.CveSjyPc.css","/app/immutable/chunks/NgjMs0r6.js","/app/immutable/chunks/e_K38tqB.js","/app/immutable/chunks/CcNhqKh5.js","/app/immutable/assets/syntax-highlighting.CrQGLq0X.css","/app/immutable/assets/CodeBlock.BezhEtUo.css","/app/immutable/chunks/aitTA173.js","/app/immutable/chunks/BbIcudMY.js","/app/immutable/chunks/B0v5Qiob.js","/app/immutable/assets/DiagramPresentation.C2GLYoBN.css","/app/immutable/chunks/CQIdhUGs.js","/app/immutable/chunks/CQWMr-uu.js","/app/immutable/chunks/D0H3cACA.js","/app/immutable/chunks/D2MmXC4A.js","/app/immutable/chunks/DM71GnMx.js","/app/immutable/assets/MarkdownViewer.D2MexjjT.css","/app/immutable/chunks/DmC2lRsL.js","/app/immutable/chunks/D_pS9hme.js","/app/immutable/chunks/D4hsFsw4.js","/app/immutable/chunks/CxJ0MhK_.js","/app/immutable/assets/workspace-key-menu.DrT-Fxqq.css","/app/immutable/chunks/BOXv-Vsz.js","/app/immutable/chunks/YqTahsxp.js","/app/immutable/chunks/hSiYrZoo.js","/app/immutable/chunks/C9AWL-_E.js","/app/immutable/chunks/Cum1dYpM.js","/app/immutable/assets/StreamingDiagramRenderer.BShsSvPz.css","/app/immutable/assets/chat-search.Cjb73igJ.css","/app/immutable/chunks/1BRHaRmm.js","/app/immutable/chunks/Dz5-AChV.js","/app/immutable/chunks/CQkTODWA.js","/app/immutable/chunks/DhWcN4bx.js","/app/immutable/chunks/CkrbZXJF.js","/app/immutable/chunks/BSwUOmEO.js","/app/immutable/chunks/nrAGmqbi.js","/app/immutable/chunks/CplGG62F.js","/app/immutable/chunks/CC-xReBN.js","/app/immutable/chunks/DOwDDYVN.js","/app/immutable/assets/AgentAvatarStack.DOhClFuX.css","/app/immutable/chunks/BOROIf_S.js","/app/immutable/assets/conversation-turns.BHHyRLdd.css","/app/immutable/chunks/B7CIdOn0.js","/app/immutable/chunks/yGw_3prC.js","/app/immutable/chunks/D2CiBsJQ.js","/app/immutable/chunks/7Uk2VvOl.js","/app/immutable/chunks/D5CXAAzn.js","/app/immutable/chunks/2kcdsiKR.js","/app/immutable/chunks/VcOG8L0Z.js","/app/immutable/chunks/CatLGfTW.js","/app/immutable/chunks/H2jLkRRS.js","/app/immutable/chunks/FhXVX7Hi.js","/app/immutable/assets/WorkspaceSetupCard.DNLkSKZg.css","/app/immutable/chunks/B1tKRs9e.js","/app/immutable/chunks/DL6gGkHp.js","/app/immutable/assets/DockRecordingEditor.BX1NXczK.css","/app/immutable/chunks/C289w7fG.js","/app/immutable/chunks/DMzReQ-5.js","/app/immutable/assets/ChatPanel.B73KM22O.css","/app/immutable/assets/HomeWorkspaceDetail.Dp5EWw2P.css","/app/immutable/chunks/BJDeJSt-.js","/app/immutable/chunks/SxNO1NUM.js","/app/immutable/chunks/CQ409-Pj.js","/app/immutable/chunks/DWC3_76J.js","/app/immutable/chunks/CXXVPWBH.js","/app/immutable/chunks/BrMXrCxP.js","/app/immutable/chunks/DqaHaAl1.js","/app/immutable/chunks/nxYQz1Bp.js","/app/immutable/assets/BrowserTabType.DojB6H-_.css","/app/immutable/chunks/CFq9q-gu.js","/app/immutable/chunks/DnsVLkb8.js","/app/immutable/chunks/5vm8eILD.js","/app/immutable/chunks/DsGwNgOu.js","/app/immutable/chunks/DExi1WR7.js","/app/immutable/chunks/BX9VoS92.js","/app/immutable/chunks/ByfLGh4b.js","/app/immutable/chunks/DyHCBf0T.js","/app/immutable/assets/register.CUyDR59i.css","/app/immutable/assets/terminal-manager.MhP_vFvK.css","/app/immutable/chunks/BeVAskuR.js","/app/immutable/assets/confirm-script-deletion.CqNa5NIC.css","/app/immutable/chunks/DFrynV0u.js","/app/immutable/assets/Terminal.Ddek5eNE.css","/app/immutable/chunks/BxQi83db.js","/app/immutable/chunks/C96BAoIR.js","/app/immutable/chunks/B5LyNSS1.js","/app/immutable/chunks/Q1s61YDh.js","/app/immutable/chunks/Do5lDWBq.js","/app/immutable/chunks/Ce83awb2.js","/app/immutable/chunks/D3VYu5tL.js","/app/immutable/chunks/D1_IbOsX.js","/app/immutable/chunks/CSiaiLHL.js","/app/immutable/chunks/DiD2Cn17.js","/app/immutable/chunks/DWDPOFkL.js","/app/immutable/chunks/AsFm-iq9.js","/app/immutable/chunks/BIv0yV05.js","/app/immutable/chunks/CoeUPp7o.js","/app/immutable/chunks/W2c1MO7q.js","/app/immutable/assets/AgentOverviewTabType.DU1WpoFR.css","/app/immutable/chunks/DSjbk-ao.js","/app/immutable/chunks/Bb3w2fM6.js","/app/immutable/chunks/b-bXytVF.js","/app/immutable/chunks/Cmj0JylI.js","/app/immutable/chunks/BOHkf2gI.js","/app/immutable/assets/DiscussionTabType.D3Laoutn.css","/app/immutable/chunks/PtFvwTVZ.js","/app/immutable/chunks/BpyEBWKW.js","/app/immutable/chunks/Gr7b8MIr.js","/app/immutable/assets/CodeEditor.Bq04Rj-N.css","/app/immutable/chunks/DYmzWBEk.js","/app/immutable/assets/LineChangesBadge.CJ0J_Z0k.css","/app/immutable/chunks/L3AlUw84.js","/app/immutable/assets/NoteTabType.AG_iwaNn.css","/app/immutable/chunks/Ca6eVlSm.js","/app/immutable/chunks/wEnqV1Ol.js","/app/immutable/chunks/Bvf6gH6c.js","/app/immutable/chunks/D6vwIrtC.js","/app/immutable/assets/FileTabType.BUKcoHE1.css","/app/immutable/chunks/xCaPmms8.js","/app/immutable/chunks/CFcZXBVA.js","/app/immutable/chunks/weHhj1in.js","/app/immutable/chunks/Ds4DhRwW.js","/app/immutable/assets/ChatChangesPanel.BQqG1JnE.css","/app/immutable/chunks/DRRKH4VP.js","/app/immutable/chunks/C29Jqwzt.js","/app/immutable/chunks/Dbrv6RE-.js","/app/immutable/chunks/711s5WU0.js","/app/immutable/chunks/DPPtpHwn.js","/app/immutable/chunks/CMMep18j.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"./51_h0jm2.js";import{t as u}from"./DGQoqGp4.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"./DSQT151l.js";import{R as H}from"./CJCoBdox.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"./CJxGDkBm.js";import{i as D}from"./PXCFrn2V.js";import{s as fe}from"./CpPNoOk-.js";import{L as me}from"./CvqKGiPA.js";import{C as Xe,L as be}from"./rei1qYSi.js";import{I as Ze}from"./BaGw_bDr.js";import"./DKn1sQ32.js";import"./BGP1lrgu.js";import{f as le}from"./BnA9v3pc.js";import{v as Ie}from"./rIUowGAi.js";import"./CN-6Tr26.js";import"./DxvSggY5.js";import{I as ve}from"./Bjy4ygfJ.js";import{I as et}from"./Bqd7fdCF.js";import"./BQDGTBxC.js";import{a as tt}from"./BdWqymET.js";function xt(){u.register({type:"workspace",loadComponent:()=>c(()=>import("./CdYt8dgZ.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]),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("./BJDeJSt-.js"),__vite__mapDeps([207,1,2,3,11,6,7,8,9,10,15,208,22,23,24,25,26,18,13,4,67,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,76,68,57,58,59,62,63,64,69,70,71,72,73,74,75,179,91,92,85,180,209,123,210,125,52,136,84,211,99,100,212,108,109,110,111,112,213,214,113,215]),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("./CFq9q-gu.js"),__vite__mapDeps([216,1,2,3,4,11,28,7,8,9,10,6,57,18,22,23,24,25,26,13,58,16,17,19,59,20,217,15,218,219,64,63,92,76,85,73,220,221,222,223,224,111,209,189,225,14,12,21,27,29,30,31,32,210,226,68,62,69,70,71,72,74,75,36,42,43,40,41,214,227,38,35,39,136,33,34,37,44,45,46,212,228,147,229,230,113,231]),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("./B5LyNSS1.js"),__vite__mapDeps([232,1,2,22,23,24,25,9,7,26,18,13,3,29,6,8,10,57,28,11,58,16,17,19,59,20,213,72,73,75,91,68,12,14,15,4,21,27,30,31,32,62,63,64,69,70,71,74,76,92,85,214,179,180,113,233,234,176,82,86,177,178,130,132,133,142,226,165,235,231,236,36,42,43,40,41,112,111,170,189,210,143,135,67,237,238,239,240,241,197,149,108,109,110,242,243,220,221,222,223,224,140,151,152,35,162,80,65,66,33,34,37,38,39,44,45,46,77,78,79,50,51,117,163,125,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("./W2c1MO7q.js"),__vite__mapDeps([244,1,2,3,6,7,8,9,10,15,14,16,13,17,18,19,11,4,119,120,121,71,22,23,24,25,26,72,73,74,57,28,58,59,20,75,76,122,12,21,27,29,30,31,32,156,79,51,176,82,86,62,63,64,177,178,130,91,68,69,70,92,85,132,133,142,108,109,110,111,112,245]),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("./DSjbk-ao.js"),__vite__mapDeps([246,1,2,3,4,6,7,8,9,10,11,15,68,12,13,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,57,58,59,62,63,64,69,70,71,72,73,74,75,76,247,248,235,234,113,92,85,133,203,44,45,212,237,132,91,238,102,35,36,47,48,49,42,43,50,51,52,53,103,38,39,104,84,34,37,40,41,67,80,33,46,105,106,79,107,95,96,108,109,110,111,112,114,115,192,54,55,56,60,61,65,66,77,78,81,82,83,86,87,88,89,90,93,94,97,98,99,100,101,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,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,193,194,195,196,197,198,199,200,201,202,204,205,214,213]),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("./Cmj0JylI.js"),__vite__mapDeps([249,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,214,12,20,30,32,57,58,59,68,62,63,64,69,70,71,72,73,74,75,76,91,92,85,192,87,88,60,114,120,121,125,52,159,80,162,140,65,66,67,77,78,79,50,51,117,163,99,100,48,233,213,179,180,113,234,176,82,86,177,178,130,132,133,142,226,165,235,231,236,112,111,170,189,210,143,135,237,238,239,240,241,197,149,108,109,110,242,243,220,221,222,223,224,129,131,250,98,94,95,49,96,97,118,212,251]),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("./PtFvwTVZ.js"),__vite__mapDeps([252,1,2,3,11,57,18,9,22,23,24,25,7,26,13,28,8,10,6,58,16,17,19,59,20,212,179,91,68,12,14,15,4,21,27,29,30,31,32,62,63,64,69,70,71,72,73,74,75,76,92,85,180,35,36,79,87,88,50,51,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,138,139,140,141,116,67,52,65,66,77,78,80,61,118,114,119,122,123,100,124,233,213,214,113,234,176,82,86,177,178,130,132,133,142,226,165,235,231,236,112,111,170,189,210,143,135,237,238,239,240,241,197,149,108,109,110,242,243,220,221,222,223,224,146,55,147,148,253,254,255,107,95,49,96,161,193,256,257,151,152,105,48,106,258,154,155,156,157,150,153,160,182,190,136,195,196,172,162,163,259]),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("./Ca6eVlSm.js"),__vite__mapDeps([260,1,2,3,4,6,7,8,9,10,11,15,22,23,24,25,26,18,13,212,149,57,28,58,16,17,19,59,20,261,62,63,64,197,74,12,14,21,27,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,233,85,92,76,73,91,68,69,70,71,72,75,213,214,179,180,113,234,176,82,86,177,178,130,132,133,142,226,165,235,231,236,112,111,170,189,210,143,135,67,237,238,239,240,241,108,109,110,242,243,220,221,222,223,224,253,254,117,255,162,140,80,65,66,77,78,79,50,51,163,136,262,123,263,230,264]),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("./xCaPmms8.js"),__vite__mapDeps([265,1,2,3,4,11,161,22,23,24,25,9,7,26,18,13,212,57,28,8,10,6,58,16,17,19,59,20,146,55,15,132,64,91,68,12,14,21,27,29,30,31,32,62,63,69,70,71,72,73,74,75,76,92,85,133,147,35,36,148,266,149,33,34,37,38,39,40,41,42,43,44,45,46,117,136,262,195,196,172,197,121]),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("./weHhj1in.js"),__vite__mapDeps([267,1,2,4,15,22,23,24,25,9,7,26,18,13,161,212,57,28,11,3,8,10,6,58,16,17,19,59,20,213,72,73,75,91,68,12,14,21,27,29,30,31,32,62,63,64,69,70,71,74,76,92,85,214,179,180,113,268,158,256,257,146,55,132,133,147,35,36,148,266,149,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,105,48,49,106,134,135,67,126,143,176,82,86,177,178,130,142,233,234,226,165,235,231,236,112,111,170,189,210,237,238,239,240,241,197,108,109,110,242,243,220,221,222,223,224,269,262]),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("./DRRKH4VP.js"),__vite__mapDeps([270,1,2,15,22,23,24,25,9,7,26,18,13,161,212,57,28,11,3,8,10,6,58,16,17,19,59,20,268,29,158,256,257,91,68,12,14,4,21,27,30,31,32,62,63,64,69,70,71,72,73,74,75,76,92,85,146,55,132,133,147,35,36,148,266,149,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,105,48,49,106,134,135,67,126,143,179,180,213,214,113,176,82,86,177,178,130,142,233,234,226,165,235,231,236,112,111,170,189,210,237,238,239,240,241,197,108,109,110,242,243,220,221,222,223,224,269,262]),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("./C29Jqwzt.js"),__vite__mapDeps([271,1,2,3,268,6,7,8,9,10,29,15,22,23,24,25,26,18,13,158,57,28,11,58,16,17,19,59,20,256,257,91,68,12,14,4,21,27,30,31,32,62,63,64,69,70,71,72,73,74,75,76,92,85,146,55,132,133,147,35,36,148,266,149,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,105,48,49,106,134,135,67,126,143,179,180,213,214,113,176,82,86,177,178,130,142,233,234,226,165,235,231,236,112,111,170,189,210,237,238,239,240,241,197,108,109,110,242,243,220,221,222,223,224,269]),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("./Dbrv6RE-.js"),__vite__mapDeps([272,1,2,3,4,11,58,238,24,64,146,8,9,7,10,55,15,132,16,13,17,18,19,22,23,25,26,91,57,28,6,59,20,68,12,14,21,27,29,30,31,32,62,63,69,70,71,72,73,74,75,76,92,85,133,147,35,36,148,266,149,33,34,37,38,39,40,41,42,43,44,45,46,117,212,136,262,195,196,172,197,121]),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("./711s5WU0.js"),__vite__mapDeps([273,1,2,3,150,6,7,8,9,10,140,151,64,152,12,13,14,15,16,17,18,19,11,4,20,21,22,23,24,25,26,27,28,29,30,31,32,153,165,57,58,59,72,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("./DPPtpHwn.js"),__vite__mapDeps([274,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("./CMMep18j.js"),__vite__mapDeps([275,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([276,64]),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};