@intent-hq/web 2.373.0 → 2.374.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (326) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{CGf2gpvp.js → 0Xr6eOOE.js} +1 -1
  3. package/web/app/immutable/chunks/{BKN8g-SH.js → 1e1uSG0B.js} +1 -1
  4. package/web/app/immutable/chunks/{B16R3gcp.js → 49cgEwsv.js} +1 -1
  5. package/web/app/immutable/chunks/{dIHmpCQU.js → 4aIDpPwE.js} +1 -1
  6. package/web/app/immutable/chunks/{DKfX0H_n.js → 50l-lj9m.js} +1 -1
  7. package/web/app/immutable/chunks/{mvlVGSeb.js → 5kmlNoKC.js} +4 -4
  8. package/web/app/immutable/chunks/{CP45YnfV.js → 5rvkVpHO.js} +1 -1
  9. package/web/app/immutable/chunks/{Cd-cZZzm.js → 6svm3ALY.js} +1 -1
  10. package/web/app/immutable/chunks/{ewVf6PIZ.js → 78vu4B3v.js} +1 -1
  11. package/web/app/immutable/chunks/{DD146Q03.js → 89cPEaN9.js} +1 -1
  12. package/web/app/immutable/chunks/{BQ8qAv7M.js → 8un-1yF0.js} +1 -1
  13. package/web/app/immutable/chunks/{CErePAlp.js → 9sLim_4t.js} +1 -1
  14. package/web/app/immutable/chunks/{D3ndslw4.js → Ax2B7QQh.js} +1 -1
  15. package/web/app/immutable/chunks/{C35YmXbg.js → B-W7deES.js} +1 -1
  16. package/web/app/immutable/chunks/{Coutr3Mi.js → B0zwGZ_O.js} +1 -1
  17. package/web/app/immutable/chunks/{Bx9jW2hM.js → B3pPpWYK.js} +1 -1
  18. package/web/app/immutable/chunks/{CA8MYKPh.js → B4LvWoln.js} +1 -1
  19. package/web/app/immutable/chunks/{CETwR3pL.js → B4Pcyup-.js} +1 -1
  20. package/web/app/immutable/chunks/{BZEL244B.js → B4on2wzU.js} +1 -1
  21. package/web/app/immutable/chunks/{kLX0oQjt.js → B55Lo0FS.js} +1 -1
  22. package/web/app/immutable/chunks/{n-7qZfot.js → B5L_fzQJ.js} +1 -1
  23. package/web/app/immutable/chunks/{Cuea3cpS.js → B5yEHkSy.js} +1 -1
  24. package/web/app/immutable/chunks/{BoOU7UK-.js → B6z9N_8y.js} +1 -1
  25. package/web/app/immutable/chunks/{szZ8pRnr.js → B7FRjLIO.js} +2 -2
  26. package/web/app/immutable/chunks/{By3d2aKb.js → B7v8ICP4.js} +1 -1
  27. package/web/app/immutable/chunks/{CWJC1lxP.js → B8BkT7-k.js} +1 -1
  28. package/web/app/immutable/chunks/{CYALE4XC.js → B94otgnH.js} +1 -1
  29. package/web/app/immutable/chunks/{CO4Rte0G.js → BE1cGlQD.js} +1 -1
  30. package/web/app/immutable/chunks/{H95XSLd_.js → BEtv8tBy.js} +1 -1
  31. package/web/app/immutable/chunks/{CIG7_Ars.js → BGL-uifv.js} +1 -1
  32. package/web/app/immutable/chunks/{qim_Ct3_.js → BHhpe04T.js} +1 -1
  33. package/web/app/immutable/chunks/{DM4j5ANN.js → BHrccWS6.js} +1 -1
  34. package/web/app/immutable/chunks/{CQzabfN4.js → BIXB2sEM.js} +4 -4
  35. package/web/app/immutable/chunks/{6w617QdY.js → BIzGfV52.js} +1 -1
  36. package/web/app/immutable/chunks/{gF4jlhhn.js → BJkBPBON.js} +2 -2
  37. package/web/app/immutable/chunks/{BmDq-uhT.js → BJs6L98H.js} +1 -1
  38. package/web/app/immutable/chunks/{mFH5JSTn.js → BLKGmMKH.js} +1 -1
  39. package/web/app/immutable/chunks/{B-gBT6Wp.js → BLM5WEkv.js} +1 -1
  40. package/web/app/immutable/chunks/{DoSi2n5h.js → BLub_WLN.js} +3 -3
  41. package/web/app/immutable/chunks/{DkNt2yt8.js → BMT3BZWc.js} +1 -1
  42. package/web/app/immutable/chunks/{DFvB5yOL.js → BMfEzUyf.js} +1 -1
  43. package/web/app/immutable/chunks/{BylMfQ8a.js → BNlcBg5q.js} +1 -1
  44. package/web/app/immutable/chunks/{CzlyzR5w.js → BOABr5iA.js} +1 -1
  45. package/web/app/immutable/chunks/{DYdDF6N_.js → BOImXhxR.js} +1 -1
  46. package/web/app/immutable/chunks/{BjxfkKmH.js → BOijq64j.js} +1 -1
  47. package/web/app/immutable/chunks/{BycCRh1U.js → BQMaTSUT.js} +1 -1
  48. package/web/app/immutable/chunks/{DJbFr8xM.js → BUT4El0L.js} +1 -1
  49. package/web/app/immutable/chunks/{DGjX-g5M.js → BUTJbFoT.js} +1 -1
  50. package/web/app/immutable/chunks/{cplLJoH8.js → BWsFbeUj.js} +1 -1
  51. package/web/app/immutable/chunks/{BGHJsG8l.js → BWtNXuH3.js} +1 -1
  52. package/web/app/immutable/chunks/{5lMMsSad.js → BWxQ5UZF.js} +1 -1
  53. package/web/app/immutable/chunks/{DSK8O9Vd.js → BXwdEeCG.js} +1 -1
  54. package/web/app/immutable/chunks/{DlxIFfaX.js → BYqiRSP_.js} +1 -1
  55. package/web/app/immutable/chunks/{Bps-K7_G.js → BZSpcC6v.js} +1 -1
  56. package/web/app/immutable/chunks/{D6H0b5RP.js → B_fuDTJc.js} +1 -1
  57. package/web/app/immutable/chunks/{-x2KiTdv.js → Bb4KDW-H.js} +1 -1
  58. package/web/app/immutable/chunks/{4kjAauCt.js → BbRVqgQZ.js} +1 -1
  59. package/web/app/immutable/chunks/{c8-6qMPD.js → BcubO1aW.js} +1 -1
  60. package/web/app/immutable/chunks/{BdpnQog4.js → BeTiPXK7.js} +1 -1
  61. package/web/app/immutable/chunks/{6_rpMdx6.js → BeigtvFK.js} +1 -1
  62. package/web/app/immutable/chunks/{Dk2HcklO.js → BfQPFCP7.js} +2 -2
  63. package/web/app/immutable/chunks/{CReqoCJu.js → BfdTnj-p.js} +1 -1
  64. package/web/app/immutable/chunks/{CSEth5B8.js → BfmZaG-s.js} +3 -3
  65. package/web/app/immutable/chunks/{CzlfnNwB.js → BgsG3ZiB.js} +1 -1
  66. package/web/app/immutable/chunks/{DSF6kjeh.js → Bi-OoqI4.js} +3 -3
  67. package/web/app/immutable/chunks/{UWZjMttV.js → Bi08_5Fn.js} +1 -1
  68. package/web/app/immutable/chunks/{CCt5EXjV.js → BiByqANf.js} +1 -1
  69. package/web/app/immutable/chunks/{rPhSJlXw.js → BjC_rKsH.js} +1 -1
  70. package/web/app/immutable/chunks/{QulM8iJe.js → BkB7PRB0.js} +1 -1
  71. package/web/app/immutable/chunks/{aJuiKWzg.js → BlEa7UsU.js} +1 -1
  72. package/web/app/immutable/chunks/{xMwKWjB7.js → BlTs1zAy.js} +1 -1
  73. package/web/app/immutable/chunks/{DGLC3mk9.js → BmO6NekI.js} +1 -1
  74. package/web/app/immutable/chunks/{EP05ckdk.js → BnVNvux0.js} +1 -1
  75. package/web/app/immutable/chunks/{DiNPchhP.js → BoDtRDem.js} +1 -1
  76. package/web/app/immutable/chunks/{BgTFeyrq.js → BoaqP5ET.js} +1 -1
  77. package/web/app/immutable/chunks/{CncWt3O6.js → BpM87Usm.js} +1 -1
  78. package/web/app/immutable/chunks/{DQLfBH7I.js → Bq5w_10y.js} +1 -1
  79. package/web/app/immutable/chunks/{B0r15Yat.js → BqB2D1x5.js} +9 -9
  80. package/web/app/immutable/chunks/{2EufkTRJ.js → BqJSWZOr.js} +1 -1
  81. package/web/app/immutable/chunks/{CT1vJyZh.js → BrfF5NLx.js} +1 -1
  82. package/web/app/immutable/chunks/{DhbWoWDC.js → BrrhiHyd.js} +1 -1
  83. package/web/app/immutable/chunks/{Cbbfu3DD.js → BtLlD_LO.js} +1 -1
  84. package/web/app/immutable/chunks/{Fzjn8DZE.js → BtdtsPJb.js} +1 -1
  85. package/web/app/immutable/chunks/{DfX9QhMz.js → Btxass_5.js} +1 -1
  86. package/web/app/immutable/chunks/{t6t3mdUn.js → BuXfbkCo.js} +1 -1
  87. package/web/app/immutable/chunks/{_e4xep-2.js → ByAetY4P.js} +1 -1
  88. package/web/app/immutable/chunks/{CljKdpeo.js → BymgwXRn.js} +1 -1
  89. package/web/app/immutable/chunks/{DWiL9mAL.js → BzL9Egzq.js} +1 -1
  90. package/web/app/immutable/chunks/{7aQTBNpP.js → BzPBikEv.js} +1 -1
  91. package/web/app/immutable/chunks/{BGMke03b.js → C-MW647h.js} +1 -1
  92. package/web/app/immutable/chunks/{xfUYUYD5.js → C-hRvbpj.js} +3 -3
  93. package/web/app/immutable/chunks/{D_G-1JiF.js → C0_snm4j.js} +1 -1
  94. package/web/app/immutable/chunks/{CiSv5u8J.js → C2eOYH_G.js} +1 -1
  95. package/web/app/immutable/chunks/{BaeKUSxM.js → C33vrAzQ.js} +1 -1
  96. package/web/app/immutable/chunks/{-pTsRhwv.js → C3XalDjV.js} +1 -1
  97. package/web/app/immutable/chunks/{C20fDEam.js → C4ERaDtS.js} +1 -1
  98. package/web/app/immutable/chunks/{DDdcGQT_.js → C5DeEaYP.js} +1 -1
  99. package/web/app/immutable/chunks/{FJqzUSSZ.js → C600Ggsz.js} +1 -1
  100. package/web/app/immutable/chunks/{DkH5cZvV.js → C6a1-Err.js} +1 -1
  101. package/web/app/immutable/chunks/{DH7M58MP.js → C7CeFFBU.js} +1 -1
  102. package/web/app/immutable/chunks/{C-ip9N1T.js → C7PhRIIZ.js} +1 -1
  103. package/web/app/immutable/chunks/{R0qfr5ax.js → C7QIVjEh.js} +1 -1
  104. package/web/app/immutable/chunks/{DbEXn4_y.js → C8hkzPoK.js} +2 -2
  105. package/web/app/immutable/chunks/{CDCE6oTg.js → CAeNUoVv.js} +1 -1
  106. package/web/app/immutable/chunks/{Bb1Qji_z.js → CCK5TGK5.js} +1 -1
  107. package/web/app/immutable/chunks/{DMTCts09.js → CD-hT3fi.js} +1 -1
  108. package/web/app/immutable/chunks/{IHRvbath.js → CGCLUZ3o.js} +1 -1
  109. package/web/app/immutable/chunks/{B0Vj4qoa.js → CGDwhMyu.js} +3 -3
  110. package/web/app/immutable/chunks/{nhnuI90y.js → CGvpPKXI.js} +1 -1
  111. package/web/app/immutable/chunks/{D5haHDwG.js → CIFNI35-.js} +1 -1
  112. package/web/app/immutable/chunks/{D-q4DlJb.js → CLMgFYIH.js} +1 -1
  113. package/web/app/immutable/chunks/{C6qzokod.js → CN1fsMHu.js} +1 -1
  114. package/web/app/immutable/chunks/{C8IMuGeP.js → CPUsWCCN.js} +1 -1
  115. package/web/app/immutable/chunks/{BsRM8yjb.js → CPc9hi45.js} +1 -1
  116. package/web/app/immutable/chunks/{DOHVP8r1.js → CPthbtAR.js} +1 -1
  117. package/web/app/immutable/chunks/{DanM5oR1.js → CSiViQVW.js} +1 -1
  118. package/web/app/immutable/chunks/{DwyFrp4u.js → CSrI4A-Z.js} +1 -1
  119. package/web/app/immutable/chunks/{CYIfyDKk.js → CVKwip72.js} +1 -1
  120. package/web/app/immutable/chunks/{CQ_L8AeY.js → CW2YUdJi.js} +1 -1
  121. package/web/app/immutable/chunks/{C81hO4Na.js → CWplqerm.js} +1 -1
  122. package/web/app/immutable/chunks/{KT1ygtoE.js → CXwkFfQD.js} +1 -1
  123. package/web/app/immutable/chunks/{DNjgbEGg.js → CYk_a71f.js} +1 -1
  124. package/web/app/immutable/chunks/{ZawOZTIQ.js → CZoORueB.js} +1 -1
  125. package/web/app/immutable/chunks/{DnzGwHHz.js → C_-1lZIi.js} +1 -1
  126. package/web/app/immutable/chunks/{CZL5vFO8.js → CaAd_cyY.js} +1 -1
  127. package/web/app/immutable/chunks/{B7kAC2QO.js → CbMctCk2.js} +1 -1
  128. package/web/app/immutable/chunks/{DJFHa_93.js → CddxYcvS.js} +1 -1
  129. package/web/app/immutable/chunks/{DYUZxGEP.js → Cdgx1q8N.js} +1 -1
  130. package/web/app/immutable/chunks/{D14WwGOw.js → CeNk7AI9.js} +1 -1
  131. package/web/app/immutable/chunks/{DqFPqj_c.js → Cf5H5FW2.js} +1 -1
  132. package/web/app/immutable/chunks/{C7HVlmGs.js → Cf6Y8_8o.js} +1 -1
  133. package/web/app/immutable/chunks/{EF-B7qSv.js → Cft5DaOC.js} +1 -1
  134. package/web/app/immutable/chunks/{D41qh-5f.js → Ch-D6DCZ.js} +1 -1
  135. package/web/app/immutable/chunks/{2m_u3bgL.js → Chgxj7dA.js} +1 -1
  136. package/web/app/immutable/chunks/{DRhcvZ9X.js → CiEru0ce.js} +1 -1
  137. package/web/app/immutable/chunks/{CinOJOVh.js → Cij6f88k.js} +1 -1
  138. package/web/app/immutable/chunks/Ciub7-gv.js +1 -0
  139. package/web/app/immutable/chunks/{Ym_4xzmH.js → CivTzCBV.js} +1 -1
  140. package/web/app/immutable/chunks/CkJd-nyM.js +1 -0
  141. package/web/app/immutable/chunks/{DjwaFIuf.js → CkbzWFJM.js} +1 -1
  142. package/web/app/immutable/chunks/{DM9LmF5j.js → CmHh0Wvy.js} +1 -1
  143. package/web/app/immutable/chunks/{BiYllXNK.js → CnLJ_N14.js} +1 -1
  144. package/web/app/immutable/chunks/{DjNq-V1x.js → Cncxuk-H.js} +1 -1
  145. package/web/app/immutable/chunks/{DIcqfvJD.js → Co5Wv5vC.js} +1 -1
  146. package/web/app/immutable/chunks/{02YUL-k8.js → CoVtH1zm.js} +1 -1
  147. package/web/app/immutable/chunks/{CB4UdDb9.js → CruJ4jyB.js} +1 -1
  148. package/web/app/immutable/chunks/{Do5F-HPE.js → CsFzjSWo.js} +1 -1
  149. package/web/app/immutable/chunks/{DHuSm3be.js → CsI7oUrd.js} +1 -1
  150. package/web/app/immutable/chunks/{D4lamhem.js → CsaKmxO_.js} +2 -2
  151. package/web/app/immutable/chunks/{D4dQaEzK.js → CtVskF6o.js} +1 -1
  152. package/web/app/immutable/chunks/{CSp7X79w.js → CttZcTQ2.js} +1 -1
  153. package/web/app/immutable/chunks/{DunKT6dS.js → CuLrgEBU.js} +2 -2
  154. package/web/app/immutable/chunks/{OnVz_1Np.js → CvP7-iXZ.js} +1 -1
  155. package/web/app/immutable/chunks/{DKfvgKdK.js → D--r5mHa.js} +1 -1
  156. package/web/app/immutable/chunks/{CXEOyFq9.js → D-zxS9tA.js} +1 -1
  157. package/web/app/immutable/chunks/{Dv4BYa-Z.js → D1E_1zhz.js} +1 -1
  158. package/web/app/immutable/chunks/{BA-uukBX.js → D1F-b1I5.js} +1 -1
  159. package/web/app/immutable/chunks/{BCG-StgC.js → D1ZkKLqt.js} +1 -1
  160. package/web/app/immutable/chunks/{BJT5G4Vv.js → D208CAsp.js} +1 -1
  161. package/web/app/immutable/chunks/{CXS-R8zY.js → D5D__L6c.js} +1 -1
  162. package/web/app/immutable/chunks/{BaUOI4IK.js → D5XjMLtX.js} +1 -1
  163. package/web/app/immutable/chunks/{CHVFOL-2.js → D5eCb9SA.js} +1 -1
  164. package/web/app/immutable/chunks/{DfZDDoxc.js → D7metssC.js} +1 -1
  165. package/web/app/immutable/chunks/{0LGjiHaB.js → D8IZMM7C.js} +1 -1
  166. package/web/app/immutable/chunks/{0iM-y8KY.js → DBEo2Y3v.js} +1 -1
  167. package/web/app/immutable/chunks/{BvxuCpa1.js → DBI9dTMM.js} +1 -1
  168. package/web/app/immutable/chunks/{Bs8Uk6ug.js → DCEkJXus.js} +1 -1
  169. package/web/app/immutable/chunks/{DQPJa1PL.js → DCwrIUyt.js} +1 -1
  170. package/web/app/immutable/chunks/{DxVSJQW2.js → DGK1iojf.js} +1 -1
  171. package/web/app/immutable/chunks/{k2cU06qa.js → DH2xXdI1.js} +1 -1
  172. package/web/app/immutable/chunks/{CYmtPuTl.js → DH7vXXdq.js} +1 -1
  173. package/web/app/immutable/chunks/{CevGDj0_.js → DHyTxmrF.js} +1 -1
  174. package/web/app/immutable/chunks/{C-AAKukn.js → DJsRid9i.js} +1 -1
  175. package/web/app/immutable/chunks/{CVbN130s.js → DKBM0Gj4.js} +1 -1
  176. package/web/app/immutable/chunks/{XgcRf2OO.js → DKOHx2a9.js} +2 -2
  177. package/web/app/immutable/chunks/{DhCgtN_p.js → DLJOBEeO.js} +3 -3
  178. package/web/app/immutable/chunks/{8SiHtB72.js → DM5MJ3Sn.js} +1 -1
  179. package/web/app/immutable/chunks/{B7ubb8f-.js → DMnVAzAI.js} +1 -1
  180. package/web/app/immutable/chunks/{BWMQtsIY.js → DNvCdh98.js} +1 -1
  181. package/web/app/immutable/chunks/{CwsVBSUF.js → DP6Xlts5.js} +1 -1
  182. package/web/app/immutable/chunks/{5x3ldUtC.js → DQPV9Jid.js} +1 -1
  183. package/web/app/immutable/chunks/{BYe7PWsd.js → DQQg-_Fv.js} +1 -1
  184. package/web/app/immutable/chunks/{DQvYqUjR.js → DQbaQwzY.js} +1 -1
  185. package/web/app/immutable/chunks/{8-vxLh_H.js → DQjZPSYr.js} +1 -1
  186. package/web/app/immutable/chunks/{CMdAOXEb.js → DQvmr3ea.js} +1 -1
  187. package/web/app/immutable/chunks/{hGZqfbJu.js → DSjVYlVX.js} +1 -1
  188. package/web/app/immutable/chunks/{CksX9wbO.js → DT6jGD_v.js} +2 -2
  189. package/web/app/immutable/chunks/{DeXfipOI.js → DTXx_iLa.js} +1 -1
  190. package/web/app/immutable/chunks/{C-QKLo6O.js → DUGzdx5G.js} +1 -1
  191. package/web/app/immutable/chunks/{CBNJqQCc.js → DUaNnRvN.js} +1 -1
  192. package/web/app/immutable/chunks/{DcvRBAV3.js → DUmGlkcv.js} +1 -1
  193. package/web/app/immutable/chunks/{BoBZ73YE.js → DVK3tNru.js} +1 -1
  194. package/web/app/immutable/chunks/{D-_v7kDk.js → DWBuWaVE.js} +1 -1
  195. package/web/app/immutable/chunks/{8gAO4rBm.js → DXFg1wKa.js} +1 -1
  196. package/web/app/immutable/chunks/{DJE_dF7Z.js → DYME5vl6.js} +1 -1
  197. package/web/app/immutable/chunks/{B9YvG8aT.js → DZLkwu2T.js} +1 -1
  198. package/web/app/immutable/chunks/{Vg0EpBe7.js → DZc-gQMq.js} +1 -1
  199. package/web/app/immutable/chunks/{DppUFX6O.js → Da8jWysx.js} +1 -1
  200. package/web/app/immutable/chunks/{CCgl5yNk.js → DcPZVozd.js} +1 -1
  201. package/web/app/immutable/chunks/{BOv3_02t.js → Dd92kFdo.js} +1 -1
  202. package/web/app/immutable/chunks/{DjrbQ2JE.js → DeREMpl2.js} +1 -1
  203. package/web/app/immutable/chunks/{DZ1MmJsG.js → DeaknxEN.js} +1 -1
  204. package/web/app/immutable/chunks/{DC4EvC84.js → Dep4c5m-.js} +1 -1
  205. package/web/app/immutable/chunks/{Bd7wm9ou.js → Df8V6WlA.js} +1 -1
  206. package/web/app/immutable/chunks/{BaKHwctr.js → DgNmFGXj.js} +1 -1
  207. package/web/app/immutable/chunks/{DkE1KcNT.js → DgboVgd_.js} +1 -1
  208. package/web/app/immutable/chunks/{BIW6jxDi.js → Dgmf4O3-.js} +1 -1
  209. package/web/app/immutable/chunks/{DGaBtrvB.js → DhNEeuS_.js} +1 -1
  210. package/web/app/immutable/chunks/{1KkdIMQF.js → DhezPe3y.js} +1 -1
  211. package/web/app/immutable/chunks/{CFxELBeY.js → DiE8v_X5.js} +1 -1
  212. package/web/app/immutable/chunks/{hR-DaH6k.js → DkkzFfYK.js} +1 -1
  213. package/web/app/immutable/chunks/{DnT_wkoM.js → Dl3FDpKM.js} +1 -1
  214. package/web/app/immutable/chunks/{D7thg7Ha.js → Dlu7eNjM.js} +1 -1
  215. package/web/app/immutable/chunks/{BSTl1RvT.js → DmmbYbmC.js} +2 -2
  216. package/web/app/immutable/chunks/{CHxdiRFz.js → Do2AbdMZ.js} +1 -1
  217. package/web/app/immutable/chunks/{wQ32vU9q.js → DoA8ABAE.js} +1 -1
  218. package/web/app/immutable/chunks/{cYKcpEeG.js → DoEVipUF.js} +1 -1
  219. package/web/app/immutable/chunks/{DzveesLa.js → Dotp5YRU.js} +1 -1
  220. package/web/app/immutable/chunks/{BlBb1keW.js → DreYzK2d.js} +1 -1
  221. package/web/app/immutable/chunks/DsRXAU7N.js +1 -0
  222. package/web/app/immutable/chunks/{GnS8SMtq.js → Dt0cEsoV.js} +2 -2
  223. package/web/app/immutable/chunks/{Dcl67lxX.js → DtVS2Hpo.js} +1 -1
  224. package/web/app/immutable/chunks/{CG456d1E.js → DtYEnzBU.js} +1 -1
  225. package/web/app/immutable/chunks/{DXXCttvN.js → Dtfq8wlv.js} +1 -1
  226. package/web/app/immutable/chunks/{DWGCjk6V.js → Dw2_URl8.js} +1 -1
  227. package/web/app/immutable/chunks/{BfXbOT8i.js → DxXHN0Kd.js} +1 -1
  228. package/web/app/immutable/chunks/{BBQsIbOZ.js → Dxc-KEkE.js} +3 -3
  229. package/web/app/immutable/chunks/DxxarOOi.js +1 -0
  230. package/web/app/immutable/chunks/{D2YGMA8q.js → Dyo489Aj.js} +4 -4
  231. package/web/app/immutable/chunks/{BL2ujNK_.js → Dz150vD0.js} +1 -1
  232. package/web/app/immutable/chunks/{D6XIvyP3.js → DzAQQ1i-.js} +1 -1
  233. package/web/app/immutable/chunks/{D9rf8Jdd.js → EKAiX2GI.js} +1 -1
  234. package/web/app/immutable/chunks/{CT9j94JK.js → FC-pHBfg.js} +2 -2
  235. package/web/app/immutable/chunks/{BvIER3hk.js → GfYLoKaL.js} +1 -1
  236. package/web/app/immutable/chunks/{C_92InJL.js → HP6Cq9rf.js} +1 -1
  237. package/web/app/immutable/chunks/{Dw9M83Lw.js → HjJJbdN8.js} +1 -1
  238. package/web/app/immutable/chunks/{Dt5BioTS.js → Hxdz4eYy.js} +1 -1
  239. package/web/app/immutable/chunks/I7PibMUG.js +1 -0
  240. package/web/app/immutable/chunks/{frim2Lpk.js → IcK2O8wN.js} +1 -1
  241. package/web/app/immutable/chunks/{B3Xs1bS2.js → IfuzSDQC.js} +1 -1
  242. package/web/app/immutable/chunks/{ChI9mvUS.js → Jd-PTJBp.js} +3 -3
  243. package/web/app/immutable/chunks/{BNGx8qtU.js → LIjxNVmo.js} +1 -1
  244. package/web/app/immutable/chunks/{B-Km1hE1.js → MncpPyA-.js} +1 -1
  245. package/web/app/immutable/chunks/{DeAaK3tO.js → OjneFxUj.js} +1 -1
  246. package/web/app/immutable/chunks/{CDPoeQz1.js → Opn_u-ak.js} +1 -1
  247. package/web/app/immutable/chunks/{Ctelf0jH.js → Or6TlXVc.js} +1 -1
  248. package/web/app/immutable/chunks/{ckTlOLII.js → PoxwHYkO.js} +1 -1
  249. package/web/app/immutable/chunks/{BhIqqwku.js → PrLg-ksP.js} +1 -1
  250. package/web/app/immutable/chunks/{4PwdPd7u.js → Qk2Uvykz.js} +1 -1
  251. package/web/app/immutable/chunks/{B-k5wsvC.js → QpoIgRGw.js} +1 -1
  252. package/web/app/immutable/chunks/{BwQ4aQNw.js → SqcDn3FF.js} +1 -1
  253. package/web/app/immutable/chunks/{70EoeQTk.js → Tsg7Rikm.js} +1 -1
  254. package/web/app/immutable/chunks/{DzibEiL0.js → U7PCJ0KW.js} +1 -1
  255. package/web/app/immutable/chunks/{BIMyMsOv.js → UCKuBGVM.js} +1 -1
  256. package/web/app/immutable/chunks/{B41DOn_L.js → VfcZjJDU.js} +1 -1
  257. package/web/app/immutable/chunks/{gkFzY6r7.js → VlOW_lom.js} +1 -1
  258. package/web/app/immutable/chunks/{BfrXK-ZU.js → Wu03VY_-.js} +1 -1
  259. package/web/app/immutable/chunks/{QL_pZGWA.js → ZQWbYglS.js} +1 -1
  260. package/web/app/immutable/chunks/{CmlGvxmu.js → Z_Zl_SfR.js} +1 -1
  261. package/web/app/immutable/chunks/Zas8kAKr.js +1 -0
  262. package/web/app/immutable/chunks/{_LMIM985.js → ZdR-PTAn.js} +1 -1
  263. package/web/app/immutable/chunks/{CKmtKxD0.js → Zs30783q.js} +1 -1
  264. package/web/app/immutable/chunks/{Q8JNttIh.js → ZyBOjDmf.js} +1 -1
  265. package/web/app/immutable/chunks/{Bah_ExD8.js → _NdZi_dM.js} +1 -1
  266. package/web/app/immutable/chunks/{8s1d6VlB.js → _rr6nsRq.js} +1 -1
  267. package/web/app/immutable/chunks/{BHRpMLDk.js → b7K3kFDW.js} +1 -1
  268. package/web/app/immutable/chunks/{C1q0hSky.js → dLGWDtiP.js} +1 -1
  269. package/web/app/immutable/chunks/{CniNJafb.js → eO_Y6Zjh.js} +1 -1
  270. package/web/app/immutable/chunks/{DHeLwLtz.js → euI_ACTK.js} +1 -1
  271. package/web/app/immutable/chunks/{BLlTtC--.js → fvPmV5Gi.js} +2 -2
  272. package/web/app/immutable/chunks/{Bm7RRc9h.js → ggBdElOR.js} +1 -1
  273. package/web/app/immutable/chunks/{DTCoCNln.js → hjdg1APe.js} +2 -2
  274. package/web/app/immutable/chunks/{lHD19ydf.js → hsWXTUXg.js} +1 -1
  275. package/web/app/immutable/chunks/{BRE1DYz5.js → mln4aKyz.js} +1 -1
  276. package/web/app/immutable/chunks/{CmeuXd0X.js → mzRkGv5m.js} +1 -1
  277. package/web/app/immutable/chunks/{Bup3f7j4.js → o6BZHHo-.js} +1 -1
  278. package/web/app/immutable/chunks/{qRbd1ibI.js → oHriEIAi.js} +2 -2
  279. package/web/app/immutable/chunks/{B72JTqS_.js → ow3T0tN7.js} +1 -1
  280. package/web/app/immutable/chunks/{ChAOamky.js → qM_0Sky2.js} +1 -1
  281. package/web/app/immutable/chunks/{R00Ksy_g.js → sX1SzO2T.js} +1 -1
  282. package/web/app/immutable/chunks/{C7eBooB_.js → v1GNktmz.js} +3 -3
  283. package/web/app/immutable/chunks/{DWoh9eLQ.js → vE_bc7tB.js} +1 -1
  284. package/web/app/immutable/chunks/{h0nUJIdx.js → w8yC-37t.js} +1 -1
  285. package/web/app/immutable/chunks/{DiJpPQTH.js → wWw37-Ke.js} +1 -1
  286. package/web/app/immutable/chunks/{MGCpuCf0.js → wouXHNlM.js} +13 -13
  287. package/web/app/immutable/chunks/{Bjnv-7Ay.js → wrK6ZRyS.js} +1 -1
  288. package/web/app/immutable/chunks/{BY3bBVx0.js → xOVHBiMd.js} +1 -1
  289. package/web/app/immutable/chunks/{D5N-4pZG.js → xzC0xG4O.js} +1 -1
  290. package/web/app/immutable/chunks/{Clbflwy_.js → ygVTpe0W.js} +1 -1
  291. package/web/app/immutable/chunks/{DQyVwHJA.js → yglMjm12.js} +1 -1
  292. package/web/app/immutable/entry/{app.B8U18HSQ.js → app.C3_ct89H.js} +3 -3
  293. package/web/app/immutable/entry/start.BIOjq307.js +1 -0
  294. package/web/app/immutable/nodes/{0.DLYOUyU1.js → 0.B60cY-E8.js} +1 -1
  295. package/web/app/immutable/nodes/{1.v44QLmv3.js → 1.Fg7YybpB.js} +1 -1
  296. package/web/app/immutable/nodes/10.CGBrSCkB.js +39 -0
  297. package/web/app/immutable/nodes/{11.zviYRL3w.js → 11.CxV9uXd7.js} +1 -1
  298. package/web/app/immutable/nodes/{12.BjGJ5mRG.js → 12.Chwv84gV.js} +1 -1
  299. package/web/app/immutable/nodes/{13.D6Me5QTp.js → 13.BT6BhMtf.js} +1 -1
  300. package/web/app/immutable/nodes/{14.CfuetyXy.js → 14.CYMJv-a-.js} +3 -3
  301. package/web/app/immutable/nodes/{15.LEAnwNjt.js → 15.Bh_nopxE.js} +1 -1
  302. package/web/app/immutable/nodes/{16.DaihUhp2.js → 16.7rbyrDeT.js} +1 -1
  303. package/web/app/immutable/nodes/{17.Cfmxzlp8.js → 17.DrMiOxPX.js} +1 -1
  304. package/web/app/immutable/nodes/{18.DMndf1DM.js → 18.BfN58CyI.js} +1 -1
  305. package/web/app/immutable/nodes/{19.D5f5Zs_m.js → 19.0bOGZuAY.js} +2 -2
  306. package/web/app/immutable/nodes/{2.DSNu5875.js → 2.DREuwjqg.js} +4 -4
  307. package/web/app/immutable/nodes/{20.B5_24cng.js → 20.BiFgSIxy.js} +1 -1
  308. package/web/app/immutable/nodes/{3.D7crSQQY.js → 3.DSIPMWPB.js} +1 -1
  309. package/web/app/immutable/nodes/{4.BQ4kX-MO.js → 4.CZVyJ7C4.js} +1 -1
  310. package/web/app/immutable/nodes/{5.CNI4QIY6.js → 5.DND6GJwF.js} +1 -1
  311. package/web/app/immutable/nodes/{6.aqqkkpU3.js → 6.Bk5k_Omu.js} +1 -1
  312. package/web/app/immutable/nodes/{7.31uDDPNB.js → 7.DCF-Fawn.js} +1 -1
  313. package/web/app/immutable/nodes/{8.WLZs12tR.js → 8.aBszzfhj.js} +1 -1
  314. package/web/app/immutable/nodes/9.Bs6CVTCT.js +12 -0
  315. package/web/app/version.json +1 -1
  316. package/web/generated/paraglide.js +49 -49
  317. package/web/index.html +18 -18
  318. package/web/app/immutable/chunks/7HKQ-XDk.js +0 -1
  319. package/web/app/immutable/chunks/BLAU86XX.js +0 -1
  320. package/web/app/immutable/chunks/BpsIzxWJ.js +0 -1
  321. package/web/app/immutable/chunks/C8Ie7Deo.js +0 -1
  322. package/web/app/immutable/chunks/CmpHo399.js +0 -1
  323. package/web/app/immutable/chunks/DNGlU1yL.js +0 -1
  324. package/web/app/immutable/entry/start.C8nrElOF.js +0 -1
  325. package/web/app/immutable/nodes/10.CBX5mYGD.js +0 -39
  326. package/web/app/immutable/nodes/9.XMp3gBDl.js +0 -12
@@ -1,4 +1,4 @@
1
- import{t as Ge,bo as w,bm as c,bw as qe,b as He,br as ir,bs as mt,bq as zr}from"./C8Ie7Deo.js";import{bs as Ke,ay as X,be as wt,b$ as lt,b_ as H,bO as Q,W as k,bS as y,aD as e,a7 as ht,bl as Ie,bn as je,c9 as f,aA as p,aB as te,ca as Re,c0 as xt,bH as l,a5 as ae,bA as ie,bV as q,br as Lt,bk as Wr,bj as Gr,bf as Do,bo as qr,c5 as gt,aw as tr,bz as Mo,cd as Zt}from"./3SdAC2_C.js";import{i as be}from"./D6XIvyP3.js";import{c as ee}from"./CB4UdDb9.js";import{g as Ir,i as Vo,e as yt,I as zo}from"./DJbFr8xM.js";import{f as _t,s as Oe,g as Wo}from"./D41qh-5f.js";import{b as Ct}from"./Dn334wJv.js";import{b as kr}from"./xMwKWjB7.js";import{k as Go}from"./_e4xep-2.js";import{c as Ot}from"./ChTqQfQN.js";import{a as qo}from"./CC7to1B5.js";import{f as Ne}from"./CHVFOL-2.js";import{F as Ho}from"./Dk2HcklO.js";import{m as ct}from"./hR-DaH6k.js";import{s as Ko}from"./FJqzUSSZ.js";import{cp as Hr,F as ye,a8 as jo,aZ as Zo,ar as Xo,cK as Jo,aM as Yo,a_ as rr,a0 as sr,a2 as lr,b1 as Kr,aw as Qo,aC as jr,cT as en,ci as Zr,bS as Xr,cn as tn}from"./Cuea3cpS.js";import"./cplLJoH8.js";import{Jq as Se,f$ as rn,bD as on,z_ as nn,zg as an,Lr as Pr,dU as sn,bX as ln,Lq as dn,uZ as un,Lo as Er,gH as cn,uj as fn,Lp as gn,L4 as Lr,Ln as Fr}from"./CKmtKxD0.js";import"./kLX0oQjt.js";import{R as vn,g as Xt,h as vt,f as wn,e as et,l as Jr,d as Yr,K as pn,i as bn,k as mn,j as hn,M as Qr,E as _n}from"./OnVz_1Np.js";import{a as eo,B as Ft}from"./B5aYN90J.js";import{bL as yn}from"./BsRM8yjb.js";import{a5 as xn,w as Cn}from"./DunKT6dS.js";import{m as In,z as kn}from"./DGaBtrvB.js";import{I as At}from"./gkFzY6r7.js";import{d as Pn}from"./CQ409-Pj.js";import{H as En,I as Ln}from"./Bqd7fdCF.js";import{a as Fn,e as Sn,h as Rn,g as $n,k as Tn,p as Un,b as An}from"./D4WPlvMg.js";import{e as Bn}from"./DJFHa_93.js";import{i as or}from"./CL3a4Hm1.js";import{i as On,a as Nn}from"./DDdcGQT_.js";import{B as Dn}from"./D14WwGOw.js";import"./CT1vJyZh.js";import{l as Ve}from"./2EufkTRJ.js";import{M as to}from"./8s1d6VlB.js";import"./DjNq-V1x.js";import"./DHeLwLtz.js";import{b as Mn}from"./qim_Ct3_.js";import"./BvxuCpa1.js";import{t as Vn,b as zn}from"./CXXVPWBH.js";import{T as Wn}from"./BfXbOT8i.js";import{c as Gn,d as qn}from"./BoBZ73YE.js";import{o as Sr,s as ft,n as Tt}from"./CIyUrgF0.js";import{g as Hn}from"./DWGXN6Nr.js";import{f as Kn}from"./BylMfQ8a.js";import{ay as jn,$ as Zn}from"./ChI9mvUS.js";import{aZ as Xn}from"./CReqoCJu.js";function Jn(o,t){return o.loadURL(t)}function Yn(o){return{previousUrlProp:o||null}}function Rr(o,t){o.previousUrlProp=t}function Qn(o,t,n){const v=n||t;return o.previousUrlProp===v?null:(o.previousUrlProp=v,v)}function ea(o,t,n){return t?o.previousUrlProp===null?(o.previousUrlProp=t,{shouldLoad:!1,targetUrl:null}):t===o.previousUrlProp?{shouldLoad:!1,targetUrl:null}:n.webviewReady?(o.previousUrlProp=t,n.isValidBrowserUrl(t)?{shouldLoad:!0,targetUrl:t}:{shouldLoad:!1,targetUrl:null}):{shouldLoad:!1,targetUrl:null}:{shouldLoad:!1,targetUrl:null}}const ro=Ot("TabBoundsReporter"),ta=150;function Jt(o,t,n){!(t>0)||!(n>0)||window.electronAPI?.invoke("browser:report-tab-bounds",{tabId:o,width:t,height:n}).catch(v=>{ro.debug("Failed to report tab bounds",{tabId:o,error:v})})}function $r(o){window.electronAPI?.invoke("browser:report-tab-bounds",{tabId:o}).catch(t=>{ro.debug("Failed to clear tab bounds",{tabId:o,error:t})})}function oo(o,t){let n=t,v;const h=typeof ResizeObserver>"u"?void 0:new ResizeObserver(E=>{if(!n)return;const b=E[E.length-1]?.contentRect;if(!b)return;const S=n;clearTimeout(v),v=setTimeout(()=>{Jt(S,b.width,b.height)},ta)});if(h?.observe(o),n){const E=o.getBoundingClientRect();Jt(n,E.width,E.height)}return{update(E){if(E!==n&&(clearTimeout(v),n&&$r(n),n=E,n)){const b=o.getBoundingClientRect();Jt(n,b.width,b.height)}},destroy(){clearTimeout(v),h?.disconnect(),n&&$r(n)}}}function no(o){let t=o.trim();if(!t)return null;/^[a-z][a-z0-9+.-]*:\/\//i.test(t)||(t=(t.includes("localhost")||t.includes("127.0.0.1")||t.includes("0.0.0.0")?"http://":"https://")+t);try{return new URL(t),t}catch{return null}}function st(o,t=typeof window<"u"?window.location.origin:""){return o==="about:blank"||ao(o,t)}function ao(o,t=typeof window<"u"?window.location.origin:""){if(!o)return!1;try{const n=new URL(o);return eo.NAVIGATION_ALLOWED.includes(n.protocol)&&n.origin!==t}catch{return!1}}const Bt=[{id:"iphone-se",name:"iPhone SE",category:"phone",width:375,height:667},{id:"iphone-15",name:"iPhone 15",category:"phone",width:393,height:852},{id:"pixel-8",name:"Pixel 8",category:"phone",width:412,height:915},{id:"ipad-mini",name:"iPad Mini",category:"tablet",width:768,height:1024},{id:"ipad-pro-11",name:"iPad Pro 11″",category:"tablet",width:834,height:1194},{id:"desktop-1280x800",name:"1280 × 800",category:"desktop",width:1280,height:800},{id:"desktop-1440x900",name:"1440 × 900",category:"desktop",width:1440,height:900}];function ra(o){return{...o,width:o.height,height:o.width}}var oa=te('<span class="min-w-0 flex-1 truncate"> </span> <span class="type-caption ml-3 text-muted-foreground"> </span>',1),Yt=te("<!> <!> <!>",1),na=te('<span class="min-w-0 flex-1"> </span> <span class="type-caption text-muted-foreground"> </span>',1),Qt=te("<!> <!>",1);function dr(o,t){if(new.target)return Ge({component:dr,...o});Ke(t,!0);let n=w(t,"viewport",7),v=w(t,"onViewportChange",7),h=w(t,"onCustom",7);const E=["phone","tablet","desktop"],b=f(()=>n().mode==="fit"?"fit":n().mode==="preset"?n().presetId:"custom");function S(u){if(u==="fit")return v()({mode:"fit"});const P=Bt.find(Z=>Z.id===u);P&&v()({mode:"preset",presetId:P.id,width:P.width,height:P.height})}var A={get viewport(){return n()},set viewport(u){n(u),p()},get onViewportChange(){return v()},set onViewportChange(u){v(u),p()},get onCustom(){return h()},set onCustom(u){h(u),p()},$set:qe,$on:(u,P)=>He(t,u,P)},g=Yt(),s=X(g);ee(s,()=>vn,(u,P)=>{P(u,{get value(){return e(b)},onValueChange:S,children:(Z,C)=>{var I=Yt(),L=X(I);ee(L,()=>Xt,(N,z)=>{z(N,{value:"fit",children:(oe,ce)=>{wt();var M=lt();H(J=>Q(M,J),[()=>c.browser_viewport_fitPanel_label()]),k(oe,M)},$$slots:{default:!0}})});var U=y(L,2);Ir(U,17,()=>E,Vo,(N,z)=>{var oe=Yt(),ce=X(oe);ee(ce,()=>vt,(d,V)=>{V(d,{})});var M=y(ce,2);ee(M,()=>wn,(d,V)=>{V(d,{children:(i,R)=>{wt();var Y=lt();H(ue=>Q(Y,ue),[()=>e(z)==="phone"?c.browser_viewport_phoneGroup_label():e(z)==="tablet"?c.browser_viewport_tabletGroup_label():c.browser_viewport_desktopGroup_label()]),k(i,Y)},$$slots:{default:!0}})});var J=y(M,2);Ir(J,17,()=>Bt.filter(d=>d.category===e(z)),d=>d.id,(d,V)=>{var i=ht(),R=X(i);ee(R,()=>Xt,(Y,ue)=>{ue(Y,{get value(){return e(V).id},children:(W,K)=>{var pe=oa(),_=X(pe),$=Ie(_,!0),F=y(_,2),we=Ie(F,!0);H(x=>{Q($,e(V).name),Q(we,x)},[()=>c.browser_viewport_dimensions_label({width:Ve(e(V).width),height:Ve(e(V).height)})]),k(W,pe)},$$slots:{default:!0}})}),k(d,i)}),k(N,oe)});var re=y(U,2);{var de=N=>{var z=Qt(),oe=X(z);ee(oe,()=>vt,(M,J)=>{J(M,{})});var ce=y(oe,2);ee(ce,()=>Xt,(M,J)=>{J(M,{value:"custom",get onSelect(){return h()},children:(d,V)=>{var i=na(),R=X(i),Y=Ie(R,!0),ue=y(R,2),W=Ie(ue,!0);H((K,pe)=>{Q(Y,K),Q(W,pe)},[()=>c.browser_viewport_custom_label(),()=>c.browser_viewport_dimensions_label({width:Ve(n().width),height:Ve(n().height)})]),k(d,i)},$$slots:{default:!0}})}),k(N,z)};be(re,N=>{n().mode==="custom"&&N(de)})}k(Z,I)},$$slots:{default:!0}})});var O=y(s,2);{var j=u=>{var P=Qt(),Z=X(P);ee(Z,()=>vt,(I,L)=>{L(I,{})});var C=y(Z,2);ee(C,()=>et,(I,L)=>{L(I,{get onSelect(){return h()},children:(U,re)=>{wt();var de=lt();H(N=>Q(de,N),[()=>c.browser_viewport_custom_label()]),k(U,de)},$$slots:{default:!0}})}),k(u,P)};be(O,u=>{n().mode!=="custom"&&u(j)})}var B=y(O,2);{var T=u=>{var P=Qt(),Z=X(P);ee(Z,()=>vt,(I,L)=>{L(I,{})});var C=y(Z,2);{let I=f(()=>c.browser_viewport_rotate_label());ee(C,()=>to,(L,U)=>{U(L,{get icon(){return Hr},get label(){return e(I)},onSelect:()=>v()(ra(n()))})})}k(u,P)};be(B,u=>{n().mode!=="fit"&&u(T)})}return k(o,g),je(A)}var aa=te('<div class="grid grid-cols-2 gap-3"><label class="space-y-1 type-caption"><span> </span> <!></label> <label class="space-y-1 type-caption"><span> </span> <!></label></div>');function ur(o,t){if(new.target)return Ge({component:ur,...o});Ke(t,!0);let n=w(t,"open",15,!1),v=w(t,"viewport",7),h=w(t,"onViewportChange",7),E=w(t,"returnFocus",7);const b=320,S=3840;let A=q(1280),g=q(800),s=q(null);function O(u){return typeof u=="number"&&Number.isInteger(u)&&u>=b&&u<=S}const j=f(()=>O(e(A))&&O(e(g)));Re(()=>{if(n())return()=>{xt().then(()=>{E()?.isConnected&&E().focus()})}}),Re(()=>{n()||(l(A,v().mode==="fit"?1280:v().width,!0),l(g,v().mode==="fit"?800:v().height,!0))});function B(){!e(j)||e(A)===null||e(g)===null||(h()({mode:"custom",width:e(A),height:e(g)}),n(!1))}var T={get open(){return n()},set open(u=!1){n(u),p()},get viewport(){return v()},set viewport(u){v(u),p()},get onViewportChange(){return h()},set onViewportChange(u){h(u),p()},get returnFocus(){return E()},set returnFocus(u){E(u),p()},$set:qe,$on:(u,P)=>He(t,u,P)};{let u=f(()=>c.browser_viewport_custom_label()),P=f(()=>c.browser_viewport_sizeRange_description({min:Ve(b),max:Ve(S)})),Z=f(()=>c.browser_viewport_apply_label());Mn(o,{get title(){return e(u)},get description(){return e(P)},get submitLabel(){return e(Z)},get canSubmit(){return e(j)},onSubmit:B,get initialFocus(){return e(s)},get open(){return n()},set open(C){n(C)},children:(C,I)=>{var L=aa(),U=ae(L),re=ae(U),de=Ie(re,!0),N=y(re,2);{let J=f(()=>!O(e(A)));At(N,{type:"number",min:b,max:S,step:"1",get"aria-invalid"(){return e(J)},get value(){return e(A)},set value(d){l(A,d,!0)},get ref(){return e(s)},set ref(d){l(s,d,!0)}})}ie(U);var z=y(U,2),oe=ae(z),ce=Ie(oe,!0),M=y(oe,2);{let J=f(()=>!O(e(g)));At(M,{type:"number",min:b,max:S,step:"1",get"aria-invalid"(){return e(J)},get value(){return e(g)},set value(d){l(g,d,!0)}})}ie(z),ie(L),H((J,d)=>{Q(de,J),Q(ce,d)},[()=>c.browser_viewport_width_label(),()=>c.browser_viewport_height_label()]),k(C,L)},$$slots:{default:!0}})}return je(T)}var Ut=te("<!> <!>",1),it=te("<!> ",1),ia=te('<!> <span class="min-w-0 flex-1 truncate"> </span>',1),sa=te("<!> <!> <!> <!> <!>",1),la=te('<!> <span class="min-w-0 flex-1"> </span> <kbd class="type-caption ml-5 text-muted-foreground" aria-hidden="true">⌘⌥I</kbd>',1),da=te("<!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!>",1);function io(o,t){if(new.target)return Ge({component:io,...o});Ke(t,!0);let n=w(t,"errorCount",7,0),v=w(t,"disabled",7,!1),h=w(t,"collapsed",7,!1),E=w(t,"canGoBack",7,!1),b=w(t,"canGoForward",7,!1),S=w(t,"canSelectElement",7,!1),A=w(t,"selectingElement",7,!1),g=w(t,"viewport",23,()=>({mode:"fit"})),s=w(t,"onGoBack",7),O=w(t,"onGoForward",7),j=w(t,"onToggleElementPicker",7),B=w(t,"onViewportChange",7),T=w(t,"onOpenExternal",7),u=w(t,"onCopyUrl",7),P=w(t,"onScreenshot",7),Z=w(t,"onOpenConsole",7),C=w(t,"onOpenSource",7),I=w(t,"onOpenInspector",7),L=w(t,"onReloadWithoutCache",7);const U=f(()=>n()>0?c.browser_overflow_triggerWithErrors_ariaLabel({count:Ve(n())}):c.browser_overflow_trigger_ariaLabel()),re=f(()=>g().mode==="preset"?Bt.find(i=>i.id===g().presetId):void 0),de=f(()=>g().mode==="fit"?c.browser_viewport_fitPanel_label():e(re)?.name??c.browser_viewport_dimensions_label({width:Ve(g().width),height:Ve(g().height)}));let N=q(!1),z=q(null),oe=q(!1);async function ce(){l(oe,!1),await xt(),l(N,!0)}var M={get errorCount(){return n()},set errorCount(i=0){n(i),p()},get disabled(){return v()},set disabled(i=!1){v(i),p()},get collapsed(){return h()},set collapsed(i=!1){h(i),p()},get canGoBack(){return E()},set canGoBack(i=!1){E(i),p()},get canGoForward(){return b()},set canGoForward(i=!1){b(i),p()},get canSelectElement(){return S()},set canSelectElement(i=!1){S(i),p()},get selectingElement(){return A()},set selectingElement(i=!1){A(i),p()},get viewport(){return g()},set viewport(i={mode:"fit"}){g(i),p()},get onGoBack(){return s()},set onGoBack(i){s(i),p()},get onGoForward(){return O()},set onGoForward(i){O(i),p()},get onToggleElementPicker(){return j()},set onToggleElementPicker(i){j(i),p()},get onViewportChange(){return B()},set onViewportChange(i){B(i),p()},get onOpenExternal(){return T()},set onOpenExternal(i){T(i),p()},get onCopyUrl(){return u()},set onCopyUrl(i){u(i),p()},get onScreenshot(){return P()},set onScreenshot(i){P(i),p()},get onOpenConsole(){return Z()},set onOpenConsole(i){Z(i),p()},get onOpenSource(){return C()},set onOpenSource(i){C(i),p()},get onOpenInspector(){return I()},set onOpenInspector(i){I(i),p()},get onReloadWithoutCache(){return L()},set onReloadWithoutCache(i){L(i),p()},$set:qe,$on:(i,R)=>He(t,i,R)},J=Ut(),d=X(J);ee(d,()=>Qr,(i,R)=>{R(i,{get open(){return e(oe)},set open(Y){l(oe,Y,!0)},children:(Y,ue)=>{var W=Ut(),K=X(W);{const _=($,F)=>{let we=()=>(F?.()).props;{let x=f(()=>c.browser_overflow_trigger_tooltip());Ne($,ir(we,{variant:"ghost-light",size:"icon-xs",class:"relative",get disabled(){return v()},get tooltip(){return e(x)},tooltipSide:"bottom",get"aria-label"(){return e(U)},"data-testid":"browser-overflow-trigger",get ref(){return e(z)},set ref(se){l(z,se,!0)},children:(se,G)=>{var ke=Ut(),Pe=X(ke);pn(Pe,{class:"size-3.5"});var ze=y(Pe,2);{var Ze=Be=>{Dn(Be,{variant:"destructive",class:"absolute -right-1.5 -top-1.5 h-4 min-w-4 px-1 text-xs leading-none","data-testid":"browser-console-error-badge",children:(Ee,tt)=>{wt();var $e=lt();H(Me=>Q($e,Me),[()=>n()>9?"9+":Ve(n())]),k(Ee,$e)},$$slots:{default:!0}})};be(ze,Be=>{n()>0&&Be(Ze)})}k(se,ke)},$$slots:{default:!0}}))}};ee(K,()=>Jr,($,F)=>{F($,{child:_,$$slots:{child:!0}})})}var pe=y(K,2);ee(pe,()=>Yr,(_,$)=>{$(_,{align:"end",class:"w-56",onCloseAutoFocus:F=>e(N)&&F.preventDefault(),children:(F,we)=>{var x=da(),se=X(x);{var G=fe=>{var me=sa(),xe=X(me);{let he=f(()=>!E());ee(xe,()=>et,(Ae,We)=>{We(Ae,{get disabled(){return e(he)},get onSelect(){return s()},children:(nt,rt)=>{var De=it(),Ce=X(De);ye(Ce,{get icon(){return sr},size:"xs",class:"w-4 text-muted-foreground"});var Je=y(Ce);H(Ye=>Q(Je,` ${Ye??""}`),[()=>c.browser_embedded_goBack_ariaLabel()]),k(nt,De)},$$slots:{default:!0}})})}var Xe=y(xe,2);{let he=f(()=>!b());ee(Xe,()=>et,(Ae,We)=>{We(Ae,{get disabled(){return e(he)},get onSelect(){return O()},children:(nt,rt)=>{var De=it(),Ce=X(De);ye(Ce,{get icon(){return lr},size:"xs",class:"w-4 text-muted-foreground"});var Je=y(Ce);H(Ye=>Q(Je,` ${Ye??""}`),[()=>c.browser_embedded_goForward_ariaLabel()]),k(nt,De)},$$slots:{default:!0}})})}var ge=y(Xe,2);{let he=f(()=>!S());ee(ge,()=>et,(Ae,We)=>{We(Ae,{get disabled(){return e(he)},onSelect:()=>void j()?.(),children:(nt,rt)=>{var De=it(),Ce=X(De);ye(Ce,{get icon(){return rr},size:"xs",class:"w-4 text-muted-foreground"});var Je=y(Ce);H(Ye=>Q(Je,` ${Ye??""}`),[()=>A()?c.browser_embedded_cancelElementSelection_ariaLabel():c.browser_embedded_selectElement_ariaLabel()]),k(nt,De)},$$slots:{default:!0}})})}var ve=y(ge,2);ee(ve,()=>bn,(he,Ae)=>{Ae(he,{children:(We,nt)=>{var rt=Ut(),De=X(rt);{let Je=f(()=>!B());ee(De,()=>mn,(Ye,dt)=>{dt(Ye,{get disabled(){return e(Je)},children:(pt,Pt)=>{var ut=ia(),It=X(ut);ye(It,{get icon(){return Kr},size:"xs",class:"w-4 text-muted-foreground"});var Et=y(It,2),kt=Ie(Et,!0);H(Rt=>Q(kt,Rt),[()=>c.browser_viewport_trigger_ariaLabel({mode:e(de)})]),k(pt,ut)},$$slots:{default:!0}})})}var Ce=y(De,2);ee(Ce,()=>hn,(Je,Ye)=>{Ye(Je,{class:"w-64",children:(dt,pt)=>{dr(dt,{get viewport(){return g()},onViewportChange:Pt=>B()?.(Pt),onCustom:ce})},$$slots:{default:!0}})}),k(We,rt)},$$slots:{default:!0}})});var Ue=y(ve,2);ee(Ue,()=>vt,(he,Ae)=>{Ae(he,{})}),k(fe,me)};be(se,fe=>{h()&&fe(G)})}var ke=y(se,2);ee(ke,()=>et,(fe,me)=>{me(fe,{onSelect:()=>void T()(),children:(xe,Xe)=>{var ge=it(),ve=X(ge);ye(ve,{get icon(){return jo},size:"xs",class:"w-4 text-muted-foreground"});var Ue=y(ve);H(he=>Q(Ue,` ${he??""}`),[()=>c.browser_overflow_openExternal_label()]),k(xe,ge)},$$slots:{default:!0}})});var Pe=y(ke,2);ee(Pe,()=>et,(fe,me)=>{me(fe,{onSelect:()=>void u()(),children:(xe,Xe)=>{var ge=it(),ve=X(ge);ye(ve,{get icon(){return Zo},size:"xs",class:"w-4 text-muted-foreground"});var Ue=y(ve);H(he=>Q(Ue,` ${he??""}`),[()=>c.browser_overflow_copyUrl_label()]),k(xe,ge)},$$slots:{default:!0}})});var ze=y(Pe,2);ee(ze,()=>vt,(fe,me)=>{me(fe,{})});var Ze=y(ze,2);ee(Ze,()=>et,(fe,me)=>{me(fe,{onSelect:()=>void P()(),children:(xe,Xe)=>{var ge=it(),ve=X(ge);ye(ve,{get icon(){return Xo},size:"xs",class:"w-4 text-muted-foreground"});var Ue=y(ve);H(he=>Q(Ue,` ${he??""}`),[()=>c.browser_overflow_screenshot_label()]),k(xe,ge)},$$slots:{default:!0}})});var Be=y(Ze,2);ee(Be,()=>vt,(fe,me)=>{me(fe,{})});var Ee=y(Be,2);ee(Ee,()=>et,(fe,me)=>{me(fe,{onSelect:()=>void Z()(),children:(xe,Xe)=>{var ge=it(),ve=X(ge);ye(ve,{get icon(){return Jo},size:"xs",class:"w-4 text-muted-foreground"});var Ue=y(ve);H(he=>Q(Ue,` ${he??""}`),[()=>c.browser_overflow_console_label()]),k(xe,ge)},$$slots:{default:!0}})});var tt=y(Ee,2);ee(tt,()=>et,(fe,me)=>{me(fe,{onSelect:()=>void C()(),children:(xe,Xe)=>{var ge=it(),ve=X(ge);ye(ve,{get icon(){return Yo},size:"xs",class:"w-4 text-muted-foreground"});var Ue=y(ve);H(he=>Q(Ue,` ${he??""}`),[()=>c.browser_overflow_source_label()]),k(xe,ge)},$$slots:{default:!0}})});var $e=y(tt,2);ee($e,()=>et,(fe,me)=>{me(fe,{onSelect:()=>void I()(),children:(xe,Xe)=>{var ge=la(),ve=X(ge);ye(ve,{get icon(){return rr},size:"xs",class:"w-4 text-muted-foreground"});var Ue=y(ve,2),he=Ie(Ue,!0);wt(2),H(Ae=>Q(he,Ae),[()=>c.browser_overflow_inspector_label()]),k(xe,ge)},$$slots:{default:!0}})});var Me=y($e,2);ee(Me,()=>vt,(fe,me)=>{me(fe,{})});var Te=y(Me,2);ee(Te,()=>et,(fe,me)=>{me(fe,{onSelect:()=>void L()(),children:(xe,Xe)=>{var ge=it(),ve=X(ge);ye(ve,{get icon(){return Hr},size:"xs",class:"w-4 text-muted-foreground"});var Ue=y(ve);H(he=>Q(Ue,` ${he??""}`),[()=>c.browser_overflow_reloadWithoutCache_label()]),k(xe,ge)},$$slots:{default:!0}})}),k(F,x)},$$slots:{default:!0}})}),k(Y,W)},$$slots:{default:!0}})});var V=y(d,2);return ur(V,{get viewport(){return g()},onViewportChange:i=>B()?.(i),get returnFocus(){return e(z)},get open(){return e(N)},set open(i){l(N,i,!0)}}),k(o,J),je(M)}var ua=te('<span class="truncate"> </span> <!>',1),Tr=te("<!> <!>",1);function so(o,t){if(new.target)return Ge({component:so,...o});Ke(t,!0);let n=w(t,"viewport",7),v=w(t,"onViewportChange",7),h=q(!1),E=q(!1),b=q(null);const S=f(()=>n().mode==="preset"?Bt.find(P=>P.id===n().presetId):void 0),A=f(()=>n().mode==="fit"?"":c.browser_viewport_dimensions_label({width:Ve(n().width),height:Ve(n().height)})),g=f(()=>n().mode==="fit"?c.browser_viewport_fit_short_label():n().mode==="preset"&&e(S)?e(S).name:e(A)),s=f(()=>n().mode==="fit"?c.browser_viewport_fitPanel_label():e(g));async function O(){l(h,!1),await xt(),l(E,!0)}var j={get viewport(){return n()},set viewport(P){n(P),p()},get onViewportChange(){return v()},set onViewportChange(P){v(P),p()},$set:qe,$on:(P,Z)=>He(t,P,Z)},B=Tr(),T=X(B);ee(T,()=>Qr,(P,Z)=>{Z(P,{get open(){return e(h)},set open(C){l(h,C,!0)},children:(C,I)=>{var L=Tr(),U=X(L);{const de=(N,z)=>{let oe=()=>(z?.()).props;{let ce=f(()=>c.browser_viewport_trigger_ariaLabel({mode:e(s)}));Ne(N,ir(oe,{variant:"ghost-light",size:"xs",class:"h-6 max-w-36 gap-1 rounded-full bg-muted px-2 text-xs hover:bg-muted/80",get"aria-label"(){return e(ce)},"data-testid":"browser-viewport-trigger",get ref(){return e(b)},set ref(M){l(b,M,!0)},children:(M,J)=>{var d=ua(),V=X(d),i=Ie(V,!0),R=y(V,2);ye(R,{get icon(){return Qo},size:"xs",class:"shrink-0"}),H(()=>Q(i,e(g))),k(M,d)},$$slots:{default:!0}}))}};ee(U,()=>Jr,(N,z)=>{z(N,{child:de,$$slots:{child:!0}})})}var re=y(U,2);ee(re,()=>Yr,(de,N)=>{N(de,{align:"end",class:"w-64",onCloseAutoFocus:z=>e(E)&&z.preventDefault(),children:(z,oe)=>{dr(z,{get viewport(){return n()},get onViewportChange(){return v()},onCustom:O})},$$slots:{default:!0}})}),k(C,L)},$$slots:{default:!0}})});var u=y(T,2);return ur(u,{get viewport(){return n()},get onViewportChange(){return v()},get returnFocus(){return e(b)},get open(){return e(E)},set open(P){l(E,P,!0)}}),k(o,B),je(j)}var ca=te('<span data-browser-viewport-readout=""> </span> <!>',1),fa=te('<div data-browser-device-frame-container=""><div><div><!> <!></div> <!></div></div>');function lo(o,t){if(new.target)return Ge({component:lo,...o});Ke(t,!0);const n=320,v=3840,h=150,E=24;let b=w(t,"viewport",7),S=w(t,"onViewportChange",7),A=w(t,"chromeOutside",7,!1),g=w(t,"children",7),s=q(Lt(b().mode==="fit"?n:b().width)),O=q(Lt(b().mode==="fit"?n:b().height)),j,B=q(0),T=q(0),u=q(!1),P=null,Z=0,C=0,I=0,L=0,U;const re=f(()=>b().mode==="fit"),de=f(()=>c.browser_viewport_dimensions_label({width:Ve(e(s)),height:Ve(e(O))})),N=f(()=>A()?Math.max(0,e(T)-E):e(T)),z=f(()=>!e(re)&&e(B)>0&&e(N)>0?Math.min(1,e(B)/e(s),e(N)/e(O)):1),oe=f(()=>e(s)*e(z)),ce=f(()=>e(O)*e(z));Re(()=>{e(u)||b().mode==="fit"||(l(s,b().width,!0),l(O,b().height,!0))});function M(x){return Math.min(v,Math.max(n,Math.round(x)))}function J(){S()({mode:"custom",width:e(s),height:e(O)})}function d(){clearTimeout(U),U=setTimeout(J,h)}function V(x){e(re)||x.button!==0||(x.preventDefault(),l(u,!0),P=x.pointerId,Z=x.clientX,C=x.clientY,I=e(s),L=e(O),x.currentTarget instanceof HTMLElement&&x.currentTarget.setPointerCapture?.(x.pointerId))}function i(x){!e(u)||x.pointerId!==P||(l(s,M(I+x.clientX-Z),!0),l(O,M(L+x.clientY-C),!0),d())}function R(x){if(!e(u)||x.pointerId!==P)return;clearTimeout(U),l(u,!1),P=null;const se=x.currentTarget;se instanceof HTMLElement&&se.hasPointerCapture?.(x.pointerId)&&se.releasePointerCapture&&se.releasePointerCapture(x.pointerId),J()}Wr(()=>{const x=(G,ke)=>{l(B,G,!0),l(T,ke,!0)};x(j.clientWidth,j.clientHeight);const se=typeof ResizeObserver>"u"?void 0:new ResizeObserver(([G])=>{x(G?.contentRect.width??j.clientWidth,G?.contentRect.height??j.clientHeight)});return se?.observe(j),()=>se?.disconnect()}),Gr(()=>clearTimeout(U));var Y={get viewport(){return b()},set viewport(x){b(x),p()},get onViewportChange(){return S()},set onViewportChange(x){S(x),p()},get chromeOutside(){return A()},set chromeOutside(x=!1){A(x),p()},get children(){return g()},set children(x){g(x),p()},$set:qe,$on:(x,se)=>He(t,x,se)},ue=fa();{const x=G=>{var ke=ca(),Pe=X(ke),ze=Ie(Pe,!0),Ze=y(Pe,2);{let Be=f(()=>A()?"top-full":"bottom-0"),Ee=f(()=>c.browser_viewport_resizeHandle_ariaLabel());Ne(Ze,{type:"button",variant:"ghost",size:"icon-xs",iconOnly:!0,get class(){return`absolute right-0 z-20 size-5 cursor-nwse-resize touch-none border-0 bg-transparent p-0 after:absolute after:bottom-1 after:right-1 after:size-2 after:border-b-2 after:border-r-2 after:border-muted-foreground ${e(Be)??""}`},get"aria-label"(){return e(Ee)},"data-testid":"browser-device-resize-handle",onpointerdown:V,onpointermove:i,onpointerup:R,onpointercancel:R})}H(()=>{_t(Pe,1,`pointer-events-none absolute left-1/2 z-10 -translate-x-1/2 rounded bg-background/90 px-1.5 py-0.5 text-xs text-muted-foreground shadow-sm backdrop-blur ${A()?"top-full mt-0.5":"bottom-1"}`),Q(ze,e(de))}),k(G,ke)};var W=ae(ue),K=ae(W);let se;var pe=ae(K);Ko(pe,()=>g()??Do);var _=y(pe,2);{var $=G=>{x(G)};be(_,G=>{!e(re)&&!A()&&G($)})}ie(K);var F=y(K,2);{var we=G=>{x(G)};be(F,G=>{!e(re)&&A()&&G(we)})}ie(W),ie(ue),Ct(ue,G=>j=G,()=>j),H(()=>{_t(W,1,`relative ${e(re)?"h-full w-full":""} ${A()&&!e(re)?"mb-6":""}`),_t(K,1,`relative overflow-hidden bg-background ${e(re)?"h-full w-full":e(u)?"ring-2 ring-primary/30":""}`),Oe(K,"data-browser-device-frame",e(re)?void 0:""),Oe(K,"data-width",e(re)?void 0:e(s)),Oe(K,"data-height",e(re)?void 0:e(O)),se=Wo(K,"",se,{width:e(re)?void 0:`${e(oe)}px`,height:e(re)?void 0:`${e(ce)}px`})})}return H(()=>_t(ue,1,`flex h-full w-full items-center justify-center overflow-hidden ${e(re)?"bg-background":"bg-muted/40"}`)),k(o,ue),je(Y)}const er=Ot("BrowserViewSlot"),Ur=()=>new Promise(o=>requestAnimationFrame(()=>o())),Ar=async()=>{await Ur(),await Ur()};function Br(o,t){return o===t?!0:!o||!t?!1:o.x===t.x&&o.y===t.y&&o.width===t.width&&o.height===t.height}function Or(o){const t=o.getBoundingClientRect();return t.width<=0||t.height<=0?null:{x:t.left,y:t.top,width:t.width,height:t.height}}function ga(o){return o.isConnected?typeof o.checkVisibility=="function"?o.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0}):!0:!1}function va(o,t){let n=Nr(o,t),v=`${t.workspaceId}\0${t.tabId}`;return{update(h){const E=`${h.workspaceId}\0${h.tabId}`;if(E===v){n.update(h);return}n.destroy(),v=E,n=Nr(o,h)},destroy(){n.destroy()}}}function Nr(o,t){let n=t;const v=Fn(o,{tabId:n.tabId,workspaceId:n.workspaceId,url:n.url,...n.pinned===void 0?{}:{pinned:n.pinned}});n.onWebview?.(v.webview);let h=null,E=Promise.resolve(),b="live",S=0,A=null,g=null,s=!1;const O=()=>{A?.remove(),A=null},j=C=>{h=C;const I=n.tabId;return E=Rn(I,C.rect,C.visible).catch(L=>er.debug("Could not place the browser page",{tabId:I,error:L})),E},B=()=>{if(g=null,s)return;const C=Or(o),I=n.visible&&C!==null&&ga(o)&&b!=="frozen"&&v.ready;v.ready&&(!h||h.visible!==I||C&&!Br(h.rect,C))&&(Br(h?.rect??null,C)||zn(),j({rect:C??h?.rect??null,visible:I})),g=requestAnimationFrame(B)};g=requestAnimationFrame(B);const T=async C=>{if(b="freezing",v.ready&&h?.visible)try{const I=await v.webview.capturePage?.();if(C!==S||s)return;const L=I?.toDataURL()??"";if(L){const U=document.createElement("img");if(U.alt="",U.setAttribute("aria-hidden","true"),U.dataset.browserViewSnapshot="",U.style.cssText="position:absolute;inset:0;width:100%;height:100%;pointer-events:none;",U.src=L,await U.decode().catch(()=>{}),C!==S||s||(O(),o.append(U),A=U,await Ar(),C!==S||s))return}}catch(I){er.debug("Could not snapshot the browser page",{tabId:n.tabId,error:I})}C!==S||s||(b="frozen")},u=async C=>{if(b="thawing",v.ready&&n.visible){const I=Or(o);I&&await j({rect:I,visible:!0}),await Ar()}C!==S||s||(O(),b="live")},P=Vn({element:o,onCoveredChange(C){const I=++S;C?T(I):u(I)}});return{update(C){n=C},destroy:()=>{const C=n.tabId;s=!0,g!==null&&cancelAnimationFrame(g),g=null,P(),O(),v.dispose(),n.onWebview?.(null),E.then(()=>Sn(C).catch(I=>er.debug("Could not take the browser page off screen",{tabId:C,error:I})))}}}var wa=te('<div class="relative h-full w-full overflow-hidden"></div>');function uo(o,t){if(new.target)return Ge({component:uo,...o});Ke(t,!0);let n=w(t,"tabId",7),v=w(t,"workspaceId",7),h=w(t,"url",7),E=w(t,"pinned",7),b=w(t,"visible",7),S=w(t,"webview",15,null);var A={get tabId(){return n()},set tabId(s){n(s),p()},get workspaceId(){return v()},set workspaceId(s){v(s),p()},get url(){return h()},set url(s){h(s),p()},get pinned(){return E()},set pinned(s){E(s),p()},get visible(){return b()},set visible(s){b(s),p()},get webview(){return S()},set webview(s=null){S(s),p()},$set:qe,$on:(s,O)=>He(t,s,O)},g=wa();return yt(g,(s,O)=>va?.(s,O),()=>({tabId:n(),workspaceId:v(),url:h(),...E()===void 0?{}:{pinned:E()},visible:b(),onWebview:s=>S(s)})),yt(g,(s,O)=>oo?.(s,O),n),H(()=>Oe(g,"data-browser-view-slot",n())),k(o,g),je(A)}function co(o,t){if(new.target)return Ge({component:co,...o});Ke(t,!0);let n=w(t,"active",7),v=w(t,"disabled",7),h=w(t,"onToggle",7);var E={get active(){return n()},set active(b){n(b),p()},get disabled(){return v()},set disabled(b){v(b),p()},get onToggle(){return h()},set onToggle(b){h(b),p()},$set:qe,$on:(b,S)=>He(t,b,S)};{let b=f(()=>n()?"bg-muted text-foreground":""),S=f(()=>n()?c.browser_embedded_cancelElementSelection_tooltip():c.browser_embedded_selectElement_tooltip()),A=f(()=>n()?c.browser_embedded_cancelElementSelection_ariaLabel():c.browser_embedded_selectElement_ariaLabel());Ne(o,{variant:"ghost-light",size:"icon-xs",get class(){return e(b)},get onclick(){return h()},get disabled(){return v()},get tooltip(){return e(S)},tooltipSide:"bottom",get"aria-label"(){return e(A)},get"aria-pressed"(){return n()},"data-testid":"browser-select-element",children:(g,s)=>{ye(g,{get icon(){return rr},size:"xs"})},$$slots:{default:!0}})}return je(E)}var pa=te('<span class="sr-only"> </span>'),ba=te('<p class="min-h-0 overflow-y-auto text-sm text-foreground [overflow-wrap:anywhere]"> </p> <!>',1),ma=te("<!> <!>",1),ha=te('<span class="inline-flex shrink-0"><!> <!></span>');function cr(o,t){const n=qr();if(new.target)return Ge({component:cr,...o});Ke(t,!0);let v=w(t,"label",7),h=w(t,"description",7),E=w(t,"ariaLabel",23,v),b=w(t,"tone",7,"info"),S=w(t,"actionLabel",7),A=w(t,"onAction",7),g=w(t,"actionFocusTarget",7),s=w(t,"descriptionId",7),O=q(!1),j=!1;async function B(){j=!0,l(O,!1),await xt(),g()?.focus(),A()?.()}var T={get label(){return v()},set label(I){v(I),p()},get description(){return h()},set description(I){h(I),p()},get ariaLabel(){return E()},set ariaLabel(I=v){E(I),p()},get tone(){return b()},set tone(I="info"){b(I),p()},get actionLabel(){return S()},set actionLabel(I){S(I),p()},get onAction(){return A()},set onAction(I){A(I),p()},get actionFocusTarget(){return g()},set actionFocusTarget(I){g(I),p()},get descriptionId(){return s()},set descriptionId(I){s(I),p()},$set:qe,$on:(I,L)=>He(t,I,L)},u=ha(),P=ae(u);{var Z=I=>{var L=pa(),U=Ie(L,!0);H(()=>{Oe(L,"id",n),Oe(L,"role",b()==="error"?"alert":"status"),Q(U,h())}),k(I,L)};be(P,I=>{s()||I(Z)})}var C=y(P,2);return ee(C,()=>qn,(I,L)=>{L(I,{get open(){return e(O)},set open(U){l(O,U,!0)},children:(U,re)=>{var de=ma(),N=X(de);{const oe=(ce,M)=>{let J=()=>(M?.()).props;{let d=f(()=>b()==="error"?"text-danger":b()==="warning"?"text-warning-ink":"text-muted-foreground"),V=f(()=>s()??n);Ne(ce,ir(J,{variant:"ghost-light",size:"icon-compact",wrapContent:!1,get class(){return e(d)},get"aria-label"(){return E()},get"aria-describedby"(){return e(V)},get tooltip(){return h()},get tooltipDisabled(){return e(O)},tooltipSide:"bottom",tooltipDelayDuration:300,children:(i,R)=>{{let Y=f(()=>b()==="error"?jr:b()==="warning"?en:Kr);ye(i,{get icon(){return e(Y)},size:"xs",class:"shrink-0"})}},$$slots:{default:!0}}))}};ee(N,()=>Wn,(ce,M)=>{M(ce,{child:oe,$$slots:{child:!0}})})}var z=y(N,2);ee(z,()=>Gn,(oe,ce)=>{ce(oe,{align:"end",class:"flex max-h-[var(--bits-popover-content-available-height,calc(100dvh-1rem))] w-72 max-w-[calc(100vw-1rem)] flex-col gap-3 p-3",get"aria-label"(){return E()},onCloseAutoFocus:M=>{j&&g()&&(M.preventDefault(),g().focus()),j=!1},children:(M,J)=>{var d=ba(),V=X(d),i=Ie(V,!0),R=y(V,2);{var Y=ue=>{Ne(ue,{variant:"secondary",size:"sm",class:"self-start",onclick:()=>void B(),children:(W,K)=>{wt();var pe=lt();H(()=>Q(pe,S())),k(W,pe)},$$slots:{default:!0}})};be(R,ue=>{S()&&A()&&ue(Y)})}H(()=>Q(i,h())),k(M,d)},$$slots:{default:!0}})}),k(U,de)},$$slots:{default:!0}})}),ie(u),H(()=>Oe(u,"data-browser-status",b())),k(o,u),je(T)}function _a(o,t,n){const v=n.width>0?t.width/n.width:1,h=n.height>0?t.height/n.height:1,E=Math.max(0,Math.floor(o.x*v)),b=Math.max(0,Math.floor(o.y*h)),S=Math.min(t.width,Math.ceil((o.x+o.width)*v)),A=Math.min(t.height,Math.ceil((o.y+o.height)*h));return{x:E,y:b,width:Math.max(0,S-E),height:Math.max(0,A-b)}}const ya=Sr({selector:ft().min(1),domPath:ft().min(1),tagName:ft().min(1),id:ft(),className:ft(),textSnippet:ft().max(120),rect:Sr({x:Tt().finite(),y:Tt().finite(),width:Tt().finite().nonnegative(),height:Tt().finite().nonnegative()}).strict(),pageUrl:ft().min(1),sourceRef:ft().min(1).optional()}).strict(),Dr="__INTENT_ELEMENT_PICKED__:";function xa(o){if(o==="__INTENT_ELEMENT_PICK_CANCELLED__")return{type:"cancelled"};if(!o.startsWith(Dr))return null;let t;try{t=JSON.parse(o.slice(Dr.length))}catch{t=null}const n=ya.safeParse(t);return n.success?{type:"picked",element:n.data}:{type:"malformed",issues:n.error.issues}}const Ca=String.raw`
1
+ import{t as Ge,bo as w,bm as c,bw as qe,b as He,br as ir,bs as mt,bq as zr}from"./DxxarOOi.js";import{bs as Ke,ay as X,be as wt,b$ as lt,b_ as H,bO as Q,W as k,bS as y,aD as e,a7 as ht,bl as Ie,bn as je,c9 as f,aA as p,aB as te,ca as Re,c0 as xt,bH as l,a5 as ae,bA as ie,bV as q,br as Lt,bk as Wr,bj as Gr,bf as Do,bo as qr,c5 as gt,aw as tr,bz as Mo,cd as Zt}from"./3SdAC2_C.js";import{i as be}from"./DzAQQ1i-.js";import{c as ee}from"./CruJ4jyB.js";import{g as Ir,i as Vo,e as yt,I as zo}from"./BUT4El0L.js";import{f as _t,s as Oe,g as Wo}from"./Ch-D6DCZ.js";import{b as Ct}from"./Dn334wJv.js";import{b as kr}from"./BlTs1zAy.js";import{k as Go}from"./ByAetY4P.js";import{c as Ot}from"./ChTqQfQN.js";import{a as qo}from"./CC7to1B5.js";import{f as Ne}from"./D5eCb9SA.js";import{F as Ho}from"./BfQPFCP7.js";import{m as ct}from"./DkkzFfYK.js";import{s as Ko}from"./C600Ggsz.js";import{cp as Hr,F as ye,a8 as jo,aZ as Zo,ar as Xo,cK as Jo,aM as Yo,a_ as rr,a0 as sr,a2 as lr,b1 as Kr,aw as Qo,aC as jr,cT as en,ci as Zr,bS as Xr,cn as tn}from"./B5yEHkSy.js";import"./BWsFbeUj.js";import{Jq as Se,f$ as rn,bD as on,z_ as nn,zg as an,Lr as Pr,dU as sn,bX as ln,Lq as dn,uZ as un,Lo as Er,gH as cn,uj as fn,Lp as gn,L4 as Lr,Ln as Fr}from"./Zs30783q.js";import"./B55Lo0FS.js";import{R as vn,g as Xt,h as vt,f as wn,e as et,l as Jr,d as Yr,K as pn,i as bn,k as mn,j as hn,M as Qr,E as _n}from"./CvP7-iXZ.js";import{a as eo,B as Ft}from"./B5aYN90J.js";import{bL as yn}from"./CPc9hi45.js";import{a5 as xn,w as Cn}from"./CuLrgEBU.js";import{m as In,z as kn}from"./DhNEeuS_.js";import{I as At}from"./VlOW_lom.js";import{d as Pn}from"./CQ409-Pj.js";import{H as En,I as Ln}from"./Bqd7fdCF.js";import{a as Fn,e as Sn,h as Rn,g as $n,k as Tn,p as Un,b as An}from"./D4WPlvMg.js";import{e as Bn}from"./CddxYcvS.js";import{i as or}from"./CL3a4Hm1.js";import{i as On,a as Nn}from"./C5DeEaYP.js";import{B as Dn}from"./CeNk7AI9.js";import"./BrfF5NLx.js";import{l as Ve}from"./BqJSWZOr.js";import{M as to}from"./_rr6nsRq.js";import"./Cncxuk-H.js";import"./euI_ACTK.js";import{b as Mn}from"./BHhpe04T.js";import"./DBI9dTMM.js";import{t as Vn,b as zn}from"./CXXVPWBH.js";import{T as Wn}from"./DxXHN0Kd.js";import{c as Gn,d as qn}from"./DVK3tNru.js";import{o as Sr,s as ft,n as Tt}from"./CIyUrgF0.js";import{g as Hn}from"./DWGXN6Nr.js";import{f as Kn}from"./BNlcBg5q.js";import{ay as jn,$ as Zn}from"./Jd-PTJBp.js";import{aZ as Xn}from"./BfdTnj-p.js";function Jn(o,t){return o.loadURL(t)}function Yn(o){return{previousUrlProp:o||null}}function Rr(o,t){o.previousUrlProp=t}function Qn(o,t,n){const v=n||t;return o.previousUrlProp===v?null:(o.previousUrlProp=v,v)}function ea(o,t,n){return t?o.previousUrlProp===null?(o.previousUrlProp=t,{shouldLoad:!1,targetUrl:null}):t===o.previousUrlProp?{shouldLoad:!1,targetUrl:null}:n.webviewReady?(o.previousUrlProp=t,n.isValidBrowserUrl(t)?{shouldLoad:!0,targetUrl:t}:{shouldLoad:!1,targetUrl:null}):{shouldLoad:!1,targetUrl:null}:{shouldLoad:!1,targetUrl:null}}const ro=Ot("TabBoundsReporter"),ta=150;function Jt(o,t,n){!(t>0)||!(n>0)||window.electronAPI?.invoke("browser:report-tab-bounds",{tabId:o,width:t,height:n}).catch(v=>{ro.debug("Failed to report tab bounds",{tabId:o,error:v})})}function $r(o){window.electronAPI?.invoke("browser:report-tab-bounds",{tabId:o}).catch(t=>{ro.debug("Failed to clear tab bounds",{tabId:o,error:t})})}function oo(o,t){let n=t,v;const h=typeof ResizeObserver>"u"?void 0:new ResizeObserver(E=>{if(!n)return;const b=E[E.length-1]?.contentRect;if(!b)return;const S=n;clearTimeout(v),v=setTimeout(()=>{Jt(S,b.width,b.height)},ta)});if(h?.observe(o),n){const E=o.getBoundingClientRect();Jt(n,E.width,E.height)}return{update(E){if(E!==n&&(clearTimeout(v),n&&$r(n),n=E,n)){const b=o.getBoundingClientRect();Jt(n,b.width,b.height)}},destroy(){clearTimeout(v),h?.disconnect(),n&&$r(n)}}}function no(o){let t=o.trim();if(!t)return null;/^[a-z][a-z0-9+.-]*:\/\//i.test(t)||(t=(t.includes("localhost")||t.includes("127.0.0.1")||t.includes("0.0.0.0")?"http://":"https://")+t);try{return new URL(t),t}catch{return null}}function st(o,t=typeof window<"u"?window.location.origin:""){return o==="about:blank"||ao(o,t)}function ao(o,t=typeof window<"u"?window.location.origin:""){if(!o)return!1;try{const n=new URL(o);return eo.NAVIGATION_ALLOWED.includes(n.protocol)&&n.origin!==t}catch{return!1}}const Bt=[{id:"iphone-se",name:"iPhone SE",category:"phone",width:375,height:667},{id:"iphone-15",name:"iPhone 15",category:"phone",width:393,height:852},{id:"pixel-8",name:"Pixel 8",category:"phone",width:412,height:915},{id:"ipad-mini",name:"iPad Mini",category:"tablet",width:768,height:1024},{id:"ipad-pro-11",name:"iPad Pro 11″",category:"tablet",width:834,height:1194},{id:"desktop-1280x800",name:"1280 × 800",category:"desktop",width:1280,height:800},{id:"desktop-1440x900",name:"1440 × 900",category:"desktop",width:1440,height:900}];function ra(o){return{...o,width:o.height,height:o.width}}var oa=te('<span class="min-w-0 flex-1 truncate"> </span> <span class="type-caption ml-3 text-muted-foreground"> </span>',1),Yt=te("<!> <!> <!>",1),na=te('<span class="min-w-0 flex-1"> </span> <span class="type-caption text-muted-foreground"> </span>',1),Qt=te("<!> <!>",1);function dr(o,t){if(new.target)return Ge({component:dr,...o});Ke(t,!0);let n=w(t,"viewport",7),v=w(t,"onViewportChange",7),h=w(t,"onCustom",7);const E=["phone","tablet","desktop"],b=f(()=>n().mode==="fit"?"fit":n().mode==="preset"?n().presetId:"custom");function S(u){if(u==="fit")return v()({mode:"fit"});const P=Bt.find(Z=>Z.id===u);P&&v()({mode:"preset",presetId:P.id,width:P.width,height:P.height})}var A={get viewport(){return n()},set viewport(u){n(u),p()},get onViewportChange(){return v()},set onViewportChange(u){v(u),p()},get onCustom(){return h()},set onCustom(u){h(u),p()},$set:qe,$on:(u,P)=>He(t,u,P)},g=Yt(),s=X(g);ee(s,()=>vn,(u,P)=>{P(u,{get value(){return e(b)},onValueChange:S,children:(Z,C)=>{var I=Yt(),L=X(I);ee(L,()=>Xt,(N,z)=>{z(N,{value:"fit",children:(oe,ce)=>{wt();var M=lt();H(J=>Q(M,J),[()=>c.browser_viewport_fitPanel_label()]),k(oe,M)},$$slots:{default:!0}})});var U=y(L,2);Ir(U,17,()=>E,Vo,(N,z)=>{var oe=Yt(),ce=X(oe);ee(ce,()=>vt,(d,V)=>{V(d,{})});var M=y(ce,2);ee(M,()=>wn,(d,V)=>{V(d,{children:(i,R)=>{wt();var Y=lt();H(ue=>Q(Y,ue),[()=>e(z)==="phone"?c.browser_viewport_phoneGroup_label():e(z)==="tablet"?c.browser_viewport_tabletGroup_label():c.browser_viewport_desktopGroup_label()]),k(i,Y)},$$slots:{default:!0}})});var J=y(M,2);Ir(J,17,()=>Bt.filter(d=>d.category===e(z)),d=>d.id,(d,V)=>{var i=ht(),R=X(i);ee(R,()=>Xt,(Y,ue)=>{ue(Y,{get value(){return e(V).id},children:(W,K)=>{var pe=oa(),_=X(pe),$=Ie(_,!0),F=y(_,2),we=Ie(F,!0);H(x=>{Q($,e(V).name),Q(we,x)},[()=>c.browser_viewport_dimensions_label({width:Ve(e(V).width),height:Ve(e(V).height)})]),k(W,pe)},$$slots:{default:!0}})}),k(d,i)}),k(N,oe)});var re=y(U,2);{var de=N=>{var z=Qt(),oe=X(z);ee(oe,()=>vt,(M,J)=>{J(M,{})});var ce=y(oe,2);ee(ce,()=>Xt,(M,J)=>{J(M,{value:"custom",get onSelect(){return h()},children:(d,V)=>{var i=na(),R=X(i),Y=Ie(R,!0),ue=y(R,2),W=Ie(ue,!0);H((K,pe)=>{Q(Y,K),Q(W,pe)},[()=>c.browser_viewport_custom_label(),()=>c.browser_viewport_dimensions_label({width:Ve(n().width),height:Ve(n().height)})]),k(d,i)},$$slots:{default:!0}})}),k(N,z)};be(re,N=>{n().mode==="custom"&&N(de)})}k(Z,I)},$$slots:{default:!0}})});var O=y(s,2);{var j=u=>{var P=Qt(),Z=X(P);ee(Z,()=>vt,(I,L)=>{L(I,{})});var C=y(Z,2);ee(C,()=>et,(I,L)=>{L(I,{get onSelect(){return h()},children:(U,re)=>{wt();var de=lt();H(N=>Q(de,N),[()=>c.browser_viewport_custom_label()]),k(U,de)},$$slots:{default:!0}})}),k(u,P)};be(O,u=>{n().mode!=="custom"&&u(j)})}var B=y(O,2);{var T=u=>{var P=Qt(),Z=X(P);ee(Z,()=>vt,(I,L)=>{L(I,{})});var C=y(Z,2);{let I=f(()=>c.browser_viewport_rotate_label());ee(C,()=>to,(L,U)=>{U(L,{get icon(){return Hr},get label(){return e(I)},onSelect:()=>v()(ra(n()))})})}k(u,P)};be(B,u=>{n().mode!=="fit"&&u(T)})}return k(o,g),je(A)}var aa=te('<div class="grid grid-cols-2 gap-3"><label class="space-y-1 type-caption"><span> </span> <!></label> <label class="space-y-1 type-caption"><span> </span> <!></label></div>');function ur(o,t){if(new.target)return Ge({component:ur,...o});Ke(t,!0);let n=w(t,"open",15,!1),v=w(t,"viewport",7),h=w(t,"onViewportChange",7),E=w(t,"returnFocus",7);const b=320,S=3840;let A=q(1280),g=q(800),s=q(null);function O(u){return typeof u=="number"&&Number.isInteger(u)&&u>=b&&u<=S}const j=f(()=>O(e(A))&&O(e(g)));Re(()=>{if(n())return()=>{xt().then(()=>{E()?.isConnected&&E().focus()})}}),Re(()=>{n()||(l(A,v().mode==="fit"?1280:v().width,!0),l(g,v().mode==="fit"?800:v().height,!0))});function B(){!e(j)||e(A)===null||e(g)===null||(h()({mode:"custom",width:e(A),height:e(g)}),n(!1))}var T={get open(){return n()},set open(u=!1){n(u),p()},get viewport(){return v()},set viewport(u){v(u),p()},get onViewportChange(){return h()},set onViewportChange(u){h(u),p()},get returnFocus(){return E()},set returnFocus(u){E(u),p()},$set:qe,$on:(u,P)=>He(t,u,P)};{let u=f(()=>c.browser_viewport_custom_label()),P=f(()=>c.browser_viewport_sizeRange_description({min:Ve(b),max:Ve(S)})),Z=f(()=>c.browser_viewport_apply_label());Mn(o,{get title(){return e(u)},get description(){return e(P)},get submitLabel(){return e(Z)},get canSubmit(){return e(j)},onSubmit:B,get initialFocus(){return e(s)},get open(){return n()},set open(C){n(C)},children:(C,I)=>{var L=aa(),U=ae(L),re=ae(U),de=Ie(re,!0),N=y(re,2);{let J=f(()=>!O(e(A)));At(N,{type:"number",min:b,max:S,step:"1",get"aria-invalid"(){return e(J)},get value(){return e(A)},set value(d){l(A,d,!0)},get ref(){return e(s)},set ref(d){l(s,d,!0)}})}ie(U);var z=y(U,2),oe=ae(z),ce=Ie(oe,!0),M=y(oe,2);{let J=f(()=>!O(e(g)));At(M,{type:"number",min:b,max:S,step:"1",get"aria-invalid"(){return e(J)},get value(){return e(g)},set value(d){l(g,d,!0)}})}ie(z),ie(L),H((J,d)=>{Q(de,J),Q(ce,d)},[()=>c.browser_viewport_width_label(),()=>c.browser_viewport_height_label()]),k(C,L)},$$slots:{default:!0}})}return je(T)}var Ut=te("<!> <!>",1),it=te("<!> ",1),ia=te('<!> <span class="min-w-0 flex-1 truncate"> </span>',1),sa=te("<!> <!> <!> <!> <!>",1),la=te('<!> <span class="min-w-0 flex-1"> </span> <kbd class="type-caption ml-5 text-muted-foreground" aria-hidden="true">⌘⌥I</kbd>',1),da=te("<!> <!> <!> <!> <!> <!> <!> <!> <!> <!> <!>",1);function io(o,t){if(new.target)return Ge({component:io,...o});Ke(t,!0);let n=w(t,"errorCount",7,0),v=w(t,"disabled",7,!1),h=w(t,"collapsed",7,!1),E=w(t,"canGoBack",7,!1),b=w(t,"canGoForward",7,!1),S=w(t,"canSelectElement",7,!1),A=w(t,"selectingElement",7,!1),g=w(t,"viewport",23,()=>({mode:"fit"})),s=w(t,"onGoBack",7),O=w(t,"onGoForward",7),j=w(t,"onToggleElementPicker",7),B=w(t,"onViewportChange",7),T=w(t,"onOpenExternal",7),u=w(t,"onCopyUrl",7),P=w(t,"onScreenshot",7),Z=w(t,"onOpenConsole",7),C=w(t,"onOpenSource",7),I=w(t,"onOpenInspector",7),L=w(t,"onReloadWithoutCache",7);const U=f(()=>n()>0?c.browser_overflow_triggerWithErrors_ariaLabel({count:Ve(n())}):c.browser_overflow_trigger_ariaLabel()),re=f(()=>g().mode==="preset"?Bt.find(i=>i.id===g().presetId):void 0),de=f(()=>g().mode==="fit"?c.browser_viewport_fitPanel_label():e(re)?.name??c.browser_viewport_dimensions_label({width:Ve(g().width),height:Ve(g().height)}));let N=q(!1),z=q(null),oe=q(!1);async function ce(){l(oe,!1),await xt(),l(N,!0)}var M={get errorCount(){return n()},set errorCount(i=0){n(i),p()},get disabled(){return v()},set disabled(i=!1){v(i),p()},get collapsed(){return h()},set collapsed(i=!1){h(i),p()},get canGoBack(){return E()},set canGoBack(i=!1){E(i),p()},get canGoForward(){return b()},set canGoForward(i=!1){b(i),p()},get canSelectElement(){return S()},set canSelectElement(i=!1){S(i),p()},get selectingElement(){return A()},set selectingElement(i=!1){A(i),p()},get viewport(){return g()},set viewport(i={mode:"fit"}){g(i),p()},get onGoBack(){return s()},set onGoBack(i){s(i),p()},get onGoForward(){return O()},set onGoForward(i){O(i),p()},get onToggleElementPicker(){return j()},set onToggleElementPicker(i){j(i),p()},get onViewportChange(){return B()},set onViewportChange(i){B(i),p()},get onOpenExternal(){return T()},set onOpenExternal(i){T(i),p()},get onCopyUrl(){return u()},set onCopyUrl(i){u(i),p()},get onScreenshot(){return P()},set onScreenshot(i){P(i),p()},get onOpenConsole(){return Z()},set onOpenConsole(i){Z(i),p()},get onOpenSource(){return C()},set onOpenSource(i){C(i),p()},get onOpenInspector(){return I()},set onOpenInspector(i){I(i),p()},get onReloadWithoutCache(){return L()},set onReloadWithoutCache(i){L(i),p()},$set:qe,$on:(i,R)=>He(t,i,R)},J=Ut(),d=X(J);ee(d,()=>Qr,(i,R)=>{R(i,{get open(){return e(oe)},set open(Y){l(oe,Y,!0)},children:(Y,ue)=>{var W=Ut(),K=X(W);{const _=($,F)=>{let we=()=>(F?.()).props;{let x=f(()=>c.browser_overflow_trigger_tooltip());Ne($,ir(we,{variant:"ghost-light",size:"icon-xs",class:"relative",get disabled(){return v()},get tooltip(){return e(x)},tooltipSide:"bottom",get"aria-label"(){return e(U)},"data-testid":"browser-overflow-trigger",get ref(){return e(z)},set ref(se){l(z,se,!0)},children:(se,G)=>{var ke=Ut(),Pe=X(ke);pn(Pe,{class:"size-3.5"});var ze=y(Pe,2);{var Ze=Be=>{Dn(Be,{variant:"destructive",class:"absolute -right-1.5 -top-1.5 h-4 min-w-4 px-1 text-xs leading-none","data-testid":"browser-console-error-badge",children:(Ee,tt)=>{wt();var $e=lt();H(Me=>Q($e,Me),[()=>n()>9?"9+":Ve(n())]),k(Ee,$e)},$$slots:{default:!0}})};be(ze,Be=>{n()>0&&Be(Ze)})}k(se,ke)},$$slots:{default:!0}}))}};ee(K,()=>Jr,($,F)=>{F($,{child:_,$$slots:{child:!0}})})}var pe=y(K,2);ee(pe,()=>Yr,(_,$)=>{$(_,{align:"end",class:"w-56",onCloseAutoFocus:F=>e(N)&&F.preventDefault(),children:(F,we)=>{var x=da(),se=X(x);{var G=fe=>{var me=sa(),xe=X(me);{let he=f(()=>!E());ee(xe,()=>et,(Ae,We)=>{We(Ae,{get disabled(){return e(he)},get onSelect(){return s()},children:(nt,rt)=>{var De=it(),Ce=X(De);ye(Ce,{get icon(){return sr},size:"xs",class:"w-4 text-muted-foreground"});var Je=y(Ce);H(Ye=>Q(Je,` ${Ye??""}`),[()=>c.browser_embedded_goBack_ariaLabel()]),k(nt,De)},$$slots:{default:!0}})})}var Xe=y(xe,2);{let he=f(()=>!b());ee(Xe,()=>et,(Ae,We)=>{We(Ae,{get disabled(){return e(he)},get onSelect(){return O()},children:(nt,rt)=>{var De=it(),Ce=X(De);ye(Ce,{get icon(){return lr},size:"xs",class:"w-4 text-muted-foreground"});var Je=y(Ce);H(Ye=>Q(Je,` ${Ye??""}`),[()=>c.browser_embedded_goForward_ariaLabel()]),k(nt,De)},$$slots:{default:!0}})})}var ge=y(Xe,2);{let he=f(()=>!S());ee(ge,()=>et,(Ae,We)=>{We(Ae,{get disabled(){return e(he)},onSelect:()=>void j()?.(),children:(nt,rt)=>{var De=it(),Ce=X(De);ye(Ce,{get icon(){return rr},size:"xs",class:"w-4 text-muted-foreground"});var Je=y(Ce);H(Ye=>Q(Je,` ${Ye??""}`),[()=>A()?c.browser_embedded_cancelElementSelection_ariaLabel():c.browser_embedded_selectElement_ariaLabel()]),k(nt,De)},$$slots:{default:!0}})})}var ve=y(ge,2);ee(ve,()=>bn,(he,Ae)=>{Ae(he,{children:(We,nt)=>{var rt=Ut(),De=X(rt);{let Je=f(()=>!B());ee(De,()=>mn,(Ye,dt)=>{dt(Ye,{get disabled(){return e(Je)},children:(pt,Pt)=>{var ut=ia(),It=X(ut);ye(It,{get icon(){return Kr},size:"xs",class:"w-4 text-muted-foreground"});var Et=y(It,2),kt=Ie(Et,!0);H(Rt=>Q(kt,Rt),[()=>c.browser_viewport_trigger_ariaLabel({mode:e(de)})]),k(pt,ut)},$$slots:{default:!0}})})}var Ce=y(De,2);ee(Ce,()=>hn,(Je,Ye)=>{Ye(Je,{class:"w-64",children:(dt,pt)=>{dr(dt,{get viewport(){return g()},onViewportChange:Pt=>B()?.(Pt),onCustom:ce})},$$slots:{default:!0}})}),k(We,rt)},$$slots:{default:!0}})});var Ue=y(ve,2);ee(Ue,()=>vt,(he,Ae)=>{Ae(he,{})}),k(fe,me)};be(se,fe=>{h()&&fe(G)})}var ke=y(se,2);ee(ke,()=>et,(fe,me)=>{me(fe,{onSelect:()=>void T()(),children:(xe,Xe)=>{var ge=it(),ve=X(ge);ye(ve,{get icon(){return jo},size:"xs",class:"w-4 text-muted-foreground"});var Ue=y(ve);H(he=>Q(Ue,` ${he??""}`),[()=>c.browser_overflow_openExternal_label()]),k(xe,ge)},$$slots:{default:!0}})});var Pe=y(ke,2);ee(Pe,()=>et,(fe,me)=>{me(fe,{onSelect:()=>void u()(),children:(xe,Xe)=>{var ge=it(),ve=X(ge);ye(ve,{get icon(){return Zo},size:"xs",class:"w-4 text-muted-foreground"});var Ue=y(ve);H(he=>Q(Ue,` ${he??""}`),[()=>c.browser_overflow_copyUrl_label()]),k(xe,ge)},$$slots:{default:!0}})});var ze=y(Pe,2);ee(ze,()=>vt,(fe,me)=>{me(fe,{})});var Ze=y(ze,2);ee(Ze,()=>et,(fe,me)=>{me(fe,{onSelect:()=>void P()(),children:(xe,Xe)=>{var ge=it(),ve=X(ge);ye(ve,{get icon(){return Xo},size:"xs",class:"w-4 text-muted-foreground"});var Ue=y(ve);H(he=>Q(Ue,` ${he??""}`),[()=>c.browser_overflow_screenshot_label()]),k(xe,ge)},$$slots:{default:!0}})});var Be=y(Ze,2);ee(Be,()=>vt,(fe,me)=>{me(fe,{})});var Ee=y(Be,2);ee(Ee,()=>et,(fe,me)=>{me(fe,{onSelect:()=>void Z()(),children:(xe,Xe)=>{var ge=it(),ve=X(ge);ye(ve,{get icon(){return Jo},size:"xs",class:"w-4 text-muted-foreground"});var Ue=y(ve);H(he=>Q(Ue,` ${he??""}`),[()=>c.browser_overflow_console_label()]),k(xe,ge)},$$slots:{default:!0}})});var tt=y(Ee,2);ee(tt,()=>et,(fe,me)=>{me(fe,{onSelect:()=>void C()(),children:(xe,Xe)=>{var ge=it(),ve=X(ge);ye(ve,{get icon(){return Yo},size:"xs",class:"w-4 text-muted-foreground"});var Ue=y(ve);H(he=>Q(Ue,` ${he??""}`),[()=>c.browser_overflow_source_label()]),k(xe,ge)},$$slots:{default:!0}})});var $e=y(tt,2);ee($e,()=>et,(fe,me)=>{me(fe,{onSelect:()=>void I()(),children:(xe,Xe)=>{var ge=la(),ve=X(ge);ye(ve,{get icon(){return rr},size:"xs",class:"w-4 text-muted-foreground"});var Ue=y(ve,2),he=Ie(Ue,!0);wt(2),H(Ae=>Q(he,Ae),[()=>c.browser_overflow_inspector_label()]),k(xe,ge)},$$slots:{default:!0}})});var Me=y($e,2);ee(Me,()=>vt,(fe,me)=>{me(fe,{})});var Te=y(Me,2);ee(Te,()=>et,(fe,me)=>{me(fe,{onSelect:()=>void L()(),children:(xe,Xe)=>{var ge=it(),ve=X(ge);ye(ve,{get icon(){return Hr},size:"xs",class:"w-4 text-muted-foreground"});var Ue=y(ve);H(he=>Q(Ue,` ${he??""}`),[()=>c.browser_overflow_reloadWithoutCache_label()]),k(xe,ge)},$$slots:{default:!0}})}),k(F,x)},$$slots:{default:!0}})}),k(Y,W)},$$slots:{default:!0}})});var V=y(d,2);return ur(V,{get viewport(){return g()},onViewportChange:i=>B()?.(i),get returnFocus(){return e(z)},get open(){return e(N)},set open(i){l(N,i,!0)}}),k(o,J),je(M)}var ua=te('<span class="truncate"> </span> <!>',1),Tr=te("<!> <!>",1);function so(o,t){if(new.target)return Ge({component:so,...o});Ke(t,!0);let n=w(t,"viewport",7),v=w(t,"onViewportChange",7),h=q(!1),E=q(!1),b=q(null);const S=f(()=>n().mode==="preset"?Bt.find(P=>P.id===n().presetId):void 0),A=f(()=>n().mode==="fit"?"":c.browser_viewport_dimensions_label({width:Ve(n().width),height:Ve(n().height)})),g=f(()=>n().mode==="fit"?c.browser_viewport_fit_short_label():n().mode==="preset"&&e(S)?e(S).name:e(A)),s=f(()=>n().mode==="fit"?c.browser_viewport_fitPanel_label():e(g));async function O(){l(h,!1),await xt(),l(E,!0)}var j={get viewport(){return n()},set viewport(P){n(P),p()},get onViewportChange(){return v()},set onViewportChange(P){v(P),p()},$set:qe,$on:(P,Z)=>He(t,P,Z)},B=Tr(),T=X(B);ee(T,()=>Qr,(P,Z)=>{Z(P,{get open(){return e(h)},set open(C){l(h,C,!0)},children:(C,I)=>{var L=Tr(),U=X(L);{const de=(N,z)=>{let oe=()=>(z?.()).props;{let ce=f(()=>c.browser_viewport_trigger_ariaLabel({mode:e(s)}));Ne(N,ir(oe,{variant:"ghost-light",size:"xs",class:"h-6 max-w-36 gap-1 rounded-full bg-muted px-2 text-xs hover:bg-muted/80",get"aria-label"(){return e(ce)},"data-testid":"browser-viewport-trigger",get ref(){return e(b)},set ref(M){l(b,M,!0)},children:(M,J)=>{var d=ua(),V=X(d),i=Ie(V,!0),R=y(V,2);ye(R,{get icon(){return Qo},size:"xs",class:"shrink-0"}),H(()=>Q(i,e(g))),k(M,d)},$$slots:{default:!0}}))}};ee(U,()=>Jr,(N,z)=>{z(N,{child:de,$$slots:{child:!0}})})}var re=y(U,2);ee(re,()=>Yr,(de,N)=>{N(de,{align:"end",class:"w-64",onCloseAutoFocus:z=>e(E)&&z.preventDefault(),children:(z,oe)=>{dr(z,{get viewport(){return n()},get onViewportChange(){return v()},onCustom:O})},$$slots:{default:!0}})}),k(C,L)},$$slots:{default:!0}})});var u=y(T,2);return ur(u,{get viewport(){return n()},get onViewportChange(){return v()},get returnFocus(){return e(b)},get open(){return e(E)},set open(P){l(E,P,!0)}}),k(o,B),je(j)}var ca=te('<span data-browser-viewport-readout=""> </span> <!>',1),fa=te('<div data-browser-device-frame-container=""><div><div><!> <!></div> <!></div></div>');function lo(o,t){if(new.target)return Ge({component:lo,...o});Ke(t,!0);const n=320,v=3840,h=150,E=24;let b=w(t,"viewport",7),S=w(t,"onViewportChange",7),A=w(t,"chromeOutside",7,!1),g=w(t,"children",7),s=q(Lt(b().mode==="fit"?n:b().width)),O=q(Lt(b().mode==="fit"?n:b().height)),j,B=q(0),T=q(0),u=q(!1),P=null,Z=0,C=0,I=0,L=0,U;const re=f(()=>b().mode==="fit"),de=f(()=>c.browser_viewport_dimensions_label({width:Ve(e(s)),height:Ve(e(O))})),N=f(()=>A()?Math.max(0,e(T)-E):e(T)),z=f(()=>!e(re)&&e(B)>0&&e(N)>0?Math.min(1,e(B)/e(s),e(N)/e(O)):1),oe=f(()=>e(s)*e(z)),ce=f(()=>e(O)*e(z));Re(()=>{e(u)||b().mode==="fit"||(l(s,b().width,!0),l(O,b().height,!0))});function M(x){return Math.min(v,Math.max(n,Math.round(x)))}function J(){S()({mode:"custom",width:e(s),height:e(O)})}function d(){clearTimeout(U),U=setTimeout(J,h)}function V(x){e(re)||x.button!==0||(x.preventDefault(),l(u,!0),P=x.pointerId,Z=x.clientX,C=x.clientY,I=e(s),L=e(O),x.currentTarget instanceof HTMLElement&&x.currentTarget.setPointerCapture?.(x.pointerId))}function i(x){!e(u)||x.pointerId!==P||(l(s,M(I+x.clientX-Z),!0),l(O,M(L+x.clientY-C),!0),d())}function R(x){if(!e(u)||x.pointerId!==P)return;clearTimeout(U),l(u,!1),P=null;const se=x.currentTarget;se instanceof HTMLElement&&se.hasPointerCapture?.(x.pointerId)&&se.releasePointerCapture&&se.releasePointerCapture(x.pointerId),J()}Wr(()=>{const x=(G,ke)=>{l(B,G,!0),l(T,ke,!0)};x(j.clientWidth,j.clientHeight);const se=typeof ResizeObserver>"u"?void 0:new ResizeObserver(([G])=>{x(G?.contentRect.width??j.clientWidth,G?.contentRect.height??j.clientHeight)});return se?.observe(j),()=>se?.disconnect()}),Gr(()=>clearTimeout(U));var Y={get viewport(){return b()},set viewport(x){b(x),p()},get onViewportChange(){return S()},set onViewportChange(x){S(x),p()},get chromeOutside(){return A()},set chromeOutside(x=!1){A(x),p()},get children(){return g()},set children(x){g(x),p()},$set:qe,$on:(x,se)=>He(t,x,se)},ue=fa();{const x=G=>{var ke=ca(),Pe=X(ke),ze=Ie(Pe,!0),Ze=y(Pe,2);{let Be=f(()=>A()?"top-full":"bottom-0"),Ee=f(()=>c.browser_viewport_resizeHandle_ariaLabel());Ne(Ze,{type:"button",variant:"ghost",size:"icon-xs",iconOnly:!0,get class(){return`absolute right-0 z-20 size-5 cursor-nwse-resize touch-none border-0 bg-transparent p-0 after:absolute after:bottom-1 after:right-1 after:size-2 after:border-b-2 after:border-r-2 after:border-muted-foreground ${e(Be)??""}`},get"aria-label"(){return e(Ee)},"data-testid":"browser-device-resize-handle",onpointerdown:V,onpointermove:i,onpointerup:R,onpointercancel:R})}H(()=>{_t(Pe,1,`pointer-events-none absolute left-1/2 z-10 -translate-x-1/2 rounded bg-background/90 px-1.5 py-0.5 text-xs text-muted-foreground shadow-sm backdrop-blur ${A()?"top-full mt-0.5":"bottom-1"}`),Q(ze,e(de))}),k(G,ke)};var W=ae(ue),K=ae(W);let se;var pe=ae(K);Ko(pe,()=>g()??Do);var _=y(pe,2);{var $=G=>{x(G)};be(_,G=>{!e(re)&&!A()&&G($)})}ie(K);var F=y(K,2);{var we=G=>{x(G)};be(F,G=>{!e(re)&&A()&&G(we)})}ie(W),ie(ue),Ct(ue,G=>j=G,()=>j),H(()=>{_t(W,1,`relative ${e(re)?"h-full w-full":""} ${A()&&!e(re)?"mb-6":""}`),_t(K,1,`relative overflow-hidden bg-background ${e(re)?"h-full w-full":e(u)?"ring-2 ring-primary/30":""}`),Oe(K,"data-browser-device-frame",e(re)?void 0:""),Oe(K,"data-width",e(re)?void 0:e(s)),Oe(K,"data-height",e(re)?void 0:e(O)),se=Wo(K,"",se,{width:e(re)?void 0:`${e(oe)}px`,height:e(re)?void 0:`${e(ce)}px`})})}return H(()=>_t(ue,1,`flex h-full w-full items-center justify-center overflow-hidden ${e(re)?"bg-background":"bg-muted/40"}`)),k(o,ue),je(Y)}const er=Ot("BrowserViewSlot"),Ur=()=>new Promise(o=>requestAnimationFrame(()=>o())),Ar=async()=>{await Ur(),await Ur()};function Br(o,t){return o===t?!0:!o||!t?!1:o.x===t.x&&o.y===t.y&&o.width===t.width&&o.height===t.height}function Or(o){const t=o.getBoundingClientRect();return t.width<=0||t.height<=0?null:{x:t.left,y:t.top,width:t.width,height:t.height}}function ga(o){return o.isConnected?typeof o.checkVisibility=="function"?o.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0}):!0:!1}function va(o,t){let n=Nr(o,t),v=`${t.workspaceId}\0${t.tabId}`;return{update(h){const E=`${h.workspaceId}\0${h.tabId}`;if(E===v){n.update(h);return}n.destroy(),v=E,n=Nr(o,h)},destroy(){n.destroy()}}}function Nr(o,t){let n=t;const v=Fn(o,{tabId:n.tabId,workspaceId:n.workspaceId,url:n.url,...n.pinned===void 0?{}:{pinned:n.pinned}});n.onWebview?.(v.webview);let h=null,E=Promise.resolve(),b="live",S=0,A=null,g=null,s=!1;const O=()=>{A?.remove(),A=null},j=C=>{h=C;const I=n.tabId;return E=Rn(I,C.rect,C.visible).catch(L=>er.debug("Could not place the browser page",{tabId:I,error:L})),E},B=()=>{if(g=null,s)return;const C=Or(o),I=n.visible&&C!==null&&ga(o)&&b!=="frozen"&&v.ready;v.ready&&(!h||h.visible!==I||C&&!Br(h.rect,C))&&(Br(h?.rect??null,C)||zn(),j({rect:C??h?.rect??null,visible:I})),g=requestAnimationFrame(B)};g=requestAnimationFrame(B);const T=async C=>{if(b="freezing",v.ready&&h?.visible)try{const I=await v.webview.capturePage?.();if(C!==S||s)return;const L=I?.toDataURL()??"";if(L){const U=document.createElement("img");if(U.alt="",U.setAttribute("aria-hidden","true"),U.dataset.browserViewSnapshot="",U.style.cssText="position:absolute;inset:0;width:100%;height:100%;pointer-events:none;",U.src=L,await U.decode().catch(()=>{}),C!==S||s||(O(),o.append(U),A=U,await Ar(),C!==S||s))return}}catch(I){er.debug("Could not snapshot the browser page",{tabId:n.tabId,error:I})}C!==S||s||(b="frozen")},u=async C=>{if(b="thawing",v.ready&&n.visible){const I=Or(o);I&&await j({rect:I,visible:!0}),await Ar()}C!==S||s||(O(),b="live")},P=Vn({element:o,onCoveredChange(C){const I=++S;C?T(I):u(I)}});return{update(C){n=C},destroy:()=>{const C=n.tabId;s=!0,g!==null&&cancelAnimationFrame(g),g=null,P(),O(),v.dispose(),n.onWebview?.(null),E.then(()=>Sn(C).catch(I=>er.debug("Could not take the browser page off screen",{tabId:C,error:I})))}}}var wa=te('<div class="relative h-full w-full overflow-hidden"></div>');function uo(o,t){if(new.target)return Ge({component:uo,...o});Ke(t,!0);let n=w(t,"tabId",7),v=w(t,"workspaceId",7),h=w(t,"url",7),E=w(t,"pinned",7),b=w(t,"visible",7),S=w(t,"webview",15,null);var A={get tabId(){return n()},set tabId(s){n(s),p()},get workspaceId(){return v()},set workspaceId(s){v(s),p()},get url(){return h()},set url(s){h(s),p()},get pinned(){return E()},set pinned(s){E(s),p()},get visible(){return b()},set visible(s){b(s),p()},get webview(){return S()},set webview(s=null){S(s),p()},$set:qe,$on:(s,O)=>He(t,s,O)},g=wa();return yt(g,(s,O)=>va?.(s,O),()=>({tabId:n(),workspaceId:v(),url:h(),...E()===void 0?{}:{pinned:E()},visible:b(),onWebview:s=>S(s)})),yt(g,(s,O)=>oo?.(s,O),n),H(()=>Oe(g,"data-browser-view-slot",n())),k(o,g),je(A)}function co(o,t){if(new.target)return Ge({component:co,...o});Ke(t,!0);let n=w(t,"active",7),v=w(t,"disabled",7),h=w(t,"onToggle",7);var E={get active(){return n()},set active(b){n(b),p()},get disabled(){return v()},set disabled(b){v(b),p()},get onToggle(){return h()},set onToggle(b){h(b),p()},$set:qe,$on:(b,S)=>He(t,b,S)};{let b=f(()=>n()?"bg-muted text-foreground":""),S=f(()=>n()?c.browser_embedded_cancelElementSelection_tooltip():c.browser_embedded_selectElement_tooltip()),A=f(()=>n()?c.browser_embedded_cancelElementSelection_ariaLabel():c.browser_embedded_selectElement_ariaLabel());Ne(o,{variant:"ghost-light",size:"icon-xs",get class(){return e(b)},get onclick(){return h()},get disabled(){return v()},get tooltip(){return e(S)},tooltipSide:"bottom",get"aria-label"(){return e(A)},get"aria-pressed"(){return n()},"data-testid":"browser-select-element",children:(g,s)=>{ye(g,{get icon(){return rr},size:"xs"})},$$slots:{default:!0}})}return je(E)}var pa=te('<span class="sr-only"> </span>'),ba=te('<p class="min-h-0 overflow-y-auto text-sm text-foreground [overflow-wrap:anywhere]"> </p> <!>',1),ma=te("<!> <!>",1),ha=te('<span class="inline-flex shrink-0"><!> <!></span>');function cr(o,t){const n=qr();if(new.target)return Ge({component:cr,...o});Ke(t,!0);let v=w(t,"label",7),h=w(t,"description",7),E=w(t,"ariaLabel",23,v),b=w(t,"tone",7,"info"),S=w(t,"actionLabel",7),A=w(t,"onAction",7),g=w(t,"actionFocusTarget",7),s=w(t,"descriptionId",7),O=q(!1),j=!1;async function B(){j=!0,l(O,!1),await xt(),g()?.focus(),A()?.()}var T={get label(){return v()},set label(I){v(I),p()},get description(){return h()},set description(I){h(I),p()},get ariaLabel(){return E()},set ariaLabel(I=v){E(I),p()},get tone(){return b()},set tone(I="info"){b(I),p()},get actionLabel(){return S()},set actionLabel(I){S(I),p()},get onAction(){return A()},set onAction(I){A(I),p()},get actionFocusTarget(){return g()},set actionFocusTarget(I){g(I),p()},get descriptionId(){return s()},set descriptionId(I){s(I),p()},$set:qe,$on:(I,L)=>He(t,I,L)},u=ha(),P=ae(u);{var Z=I=>{var L=pa(),U=Ie(L,!0);H(()=>{Oe(L,"id",n),Oe(L,"role",b()==="error"?"alert":"status"),Q(U,h())}),k(I,L)};be(P,I=>{s()||I(Z)})}var C=y(P,2);return ee(C,()=>qn,(I,L)=>{L(I,{get open(){return e(O)},set open(U){l(O,U,!0)},children:(U,re)=>{var de=ma(),N=X(de);{const oe=(ce,M)=>{let J=()=>(M?.()).props;{let d=f(()=>b()==="error"?"text-danger":b()==="warning"?"text-warning-ink":"text-muted-foreground"),V=f(()=>s()??n);Ne(ce,ir(J,{variant:"ghost-light",size:"icon-compact",wrapContent:!1,get class(){return e(d)},get"aria-label"(){return E()},get"aria-describedby"(){return e(V)},get tooltip(){return h()},get tooltipDisabled(){return e(O)},tooltipSide:"bottom",tooltipDelayDuration:300,children:(i,R)=>{{let Y=f(()=>b()==="error"?jr:b()==="warning"?en:Kr);ye(i,{get icon(){return e(Y)},size:"xs",class:"shrink-0"})}},$$slots:{default:!0}}))}};ee(N,()=>Wn,(ce,M)=>{M(ce,{child:oe,$$slots:{child:!0}})})}var z=y(N,2);ee(z,()=>Gn,(oe,ce)=>{ce(oe,{align:"end",class:"flex max-h-[var(--bits-popover-content-available-height,calc(100dvh-1rem))] w-72 max-w-[calc(100vw-1rem)] flex-col gap-3 p-3",get"aria-label"(){return E()},onCloseAutoFocus:M=>{j&&g()&&(M.preventDefault(),g().focus()),j=!1},children:(M,J)=>{var d=ba(),V=X(d),i=Ie(V,!0),R=y(V,2);{var Y=ue=>{Ne(ue,{variant:"secondary",size:"sm",class:"self-start",onclick:()=>void B(),children:(W,K)=>{wt();var pe=lt();H(()=>Q(pe,S())),k(W,pe)},$$slots:{default:!0}})};be(R,ue=>{S()&&A()&&ue(Y)})}H(()=>Q(i,h())),k(M,d)},$$slots:{default:!0}})}),k(U,de)},$$slots:{default:!0}})}),ie(u),H(()=>Oe(u,"data-browser-status",b())),k(o,u),je(T)}function _a(o,t,n){const v=n.width>0?t.width/n.width:1,h=n.height>0?t.height/n.height:1,E=Math.max(0,Math.floor(o.x*v)),b=Math.max(0,Math.floor(o.y*h)),S=Math.min(t.width,Math.ceil((o.x+o.width)*v)),A=Math.min(t.height,Math.ceil((o.y+o.height)*h));return{x:E,y:b,width:Math.max(0,S-E),height:Math.max(0,A-b)}}const ya=Sr({selector:ft().min(1),domPath:ft().min(1),tagName:ft().min(1),id:ft(),className:ft(),textSnippet:ft().max(120),rect:Sr({x:Tt().finite(),y:Tt().finite(),width:Tt().finite().nonnegative(),height:Tt().finite().nonnegative()}).strict(),pageUrl:ft().min(1),sourceRef:ft().min(1).optional()}).strict(),Dr="__INTENT_ELEMENT_PICKED__:";function xa(o){if(o==="__INTENT_ELEMENT_PICK_CANCELLED__")return{type:"cancelled"};if(!o.startsWith(Dr))return null;let t;try{t=JSON.parse(o.slice(Dr.length))}catch{t=null}const n=ya.safeParse(t);return n.success?{type:"picked",element:n.data}:{type:"malformed",issues:n.error.issues}}const Ca=String.raw`
2
2
  (function() {
3
3
  var PICKED_PREFIX = '__INTENT_ELEMENT_PICKED__:';
4
4
  var CANCELLED = '__INTENT_ELEMENT_PICK_CANCELLED__';
@@ -1 +1 @@
1
- import{d as O}from"./hGZqfbJu.js";function b(a,{from:t,to:r},p={}){var{delay:u=0,duration:n=i=>Math.sqrt(i)*120,easing:y=O}=p,s=getComputedStyle(a),d=s.transform==="none"?"":s.transform,[h,v]=s.transformOrigin.split(" ").map(parseFloat);h/=a.clientWidth,v/=a.clientHeight;var c=W(a),f=a.clientWidth/r.width/c,g=a.clientHeight/r.height/c,x=t.left+t.width*h,m=t.top+t.height*v,w=r.left+r.width*h,S=r.top+r.height*v,l=(x-w)*f,o=(m-S)*g,$=t.width/r.width,z=t.height/r.height;return{delay:u,duration:typeof n=="function"?n(Math.sqrt(l*l+o*o)):n,easing:y,css:(i,e)=>{var C=e*l,q=e*o,H=i+e*$,M=i+e*z;return`transform: ${d} translate(${C}px, ${q}px) scale(${H}, ${M});`}}}function W(a){if("currentCSSZoom"in a)return a.currentCSSZoom;for(var t=a,r=1;t!==null;)r*=+getComputedStyle(t).zoom,t=t.parentElement;return r}export{b as f};
1
+ import{d as O}from"./DSjVYlVX.js";function b(a,{from:t,to:r},p={}){var{delay:u=0,duration:n=i=>Math.sqrt(i)*120,easing:y=O}=p,s=getComputedStyle(a),d=s.transform==="none"?"":s.transform,[h,v]=s.transformOrigin.split(" ").map(parseFloat);h/=a.clientWidth,v/=a.clientHeight;var c=W(a),f=a.clientWidth/r.width/c,g=a.clientHeight/r.height/c,x=t.left+t.width*h,m=t.top+t.height*v,w=r.left+r.width*h,S=r.top+r.height*v,l=(x-w)*f,o=(m-S)*g,$=t.width/r.width,z=t.height/r.height;return{delay:u,duration:typeof n=="function"?n(Math.sqrt(l*l+o*o)):n,easing:y,css:(i,e)=>{var C=e*l,q=e*o,H=i+e*$,M=i+e*z;return`transform: ${d} translate(${C}px, ${q}px) scale(${H}, ${M});`}}}function W(a){if("currentCSSZoom"in a)return a.currentCSSZoom;for(var t=a,r=1;t!==null;)r*=+getComputedStyle(t).zoom,t=t.parentElement;return r}export{b as f};
@@ -1,4 +1,4 @@
1
- import{Jq as N}from"./CKmtKxD0.js";const z=N.createSelector((t,e,o)=>Object.values(t.taskAgentAssociations?.byWorkspaceId[e]?.byNoteId[o]??{})),D=N.createSelector((t,e,o)=>{const n=t.taskAgentAssociations?.byWorkspaceId[e]?.byNoteId??{};return Object.values(n).flatMap(s=>Object.values(s)).filter(s=>s.agentId===o)});let b=1;const I=new WeakMap;function $(t){let e=I.get(t);return e||(e=b++,I.set(t,e)),e}function m(t){if(t==null)return"";if(typeof t=="string")return`s:${t.length}:${t.slice(0,16)}:${t.slice(-16)}`;if(typeof t!="object")return`${typeof t}:${String(t)}`;if(Array.isArray(t))return`a:${$(t)}:${t.length}`;const e=Object.keys(t).sort();return`o:${$(t)}:${e.map(o=>`${o}=${m(t[o])}`).join(",")}`}function K(t){const e=[`message:${t.id||""}:${t.appMessageId||""}:${t.role}`];for(const o of t.toolCalls||[])e.push(`call:${o.id}:${o.status||""}:${o.error||""}`);for(const o of t.toolResults||[])e.push(`result:${o.toolCallId}:${o.isError?"1":"0"}:${m(o.content)}`);for(const[o,n]of(t.contentBlocks||[]).entries())if(n.type==="tool_use"){const s=n.metadata;e.push(`use:${o}:${n.id||""}:${n.tool_use_id||""}:${n.toolCallId||""}:${s?.toolId||""}:${n.name||""}:${n.toolName||""}:${m(n.input)}:${m(s?.toolInput)}`)}else n.type==="tool_result"&&e.push(`result-block:${o}:${n.id||""}:${n.tool_use_id||""}:${n.toolCallId||""}:${n.is_error?"1":"0"}:${n.isError?"1":"0"}:${m(n.content||n.text)}`);return e.join("|")}function y(t){if(!t)return!1;const e=typeof t=="string"?t:JSON.stringify(t);return[/tool .* not found/i,/tool .* not available/i,/unknown tool/i,/invalid tool/i,/tool execution failed/i,/failed to execute tool/i,/tool error:/i].some(n=>n.test(e))}const S=new WeakMap;function k(t){const e=S.get(t);if(e)return e;const o=new Set;if(t.toolResults)for(const n of t.toolResults)(n.isError||y(n.content))&&n.toolCallId&&o.add(n.toolCallId);if(t.toolCalls)for(const n of t.toolCalls)(n.status==="failed"||n.error)&&n.id&&o.add(n.id);if(t.contentBlocks){const n=t.contentBlocks;for(let s=0;s<n.length;s++){const i=n[s];if(i.type==="tool_result"){const r=i.is_error||i.isError,l=y(i.content||i.text);if(r||l){let a=i.tool_use_id||i.toolCallId||i.id;if(!a&&s>0){const f=n[s-1];f.type==="tool_use"&&(a=f.id||f.tool_use_id||f.toolCallId)}a&&o.add(a)}}}}return S.set(t,o),o}function J(t){const e=new Map;if(t.role!=="assistant"||!t.contentBlocks)return{changes:[],totalFiles:0,totalAdditions:0,totalDeletions:0};const o=k(t);for(const s of t.contentBlocks){if(s.type!=="tool_use")continue;const i=s.id||s.tool_use_id||s.toolCallId;if(i&&o.has(i))continue;const r=A(s);if(r){const l=e.get(r.filePath);l?(l.additions+=r.additions,l.deletions+=r.deletions,l.action=r.action,l.newContent=r.newContent,l.toolCallId=r.toolCallId,l.toolName=r.toolName):e.set(r.filePath,{...r})}}const n=Array.from(e.values()).filter(s=>!(s.oldContent!==void 0&&s.newContent!==void 0&&s.oldContent===s.newContent));return{changes:n,totalFiles:n.length,totalAdditions:n.reduce((s,i)=>s+i.additions,0),totalDeletions:n.reduce((s,i)=>s+i.deletions,0)}}function F(t){const e=new Map,o=new Set;for(const s of t){const i=k(s);for(const r of i)o.add(r)}for(const s of t)if(!(s.role!=="assistant"||!s.contentBlocks))for(const i of s.contentBlocks){if(i.type!=="tool_use")continue;const r=i.id||i.tool_use_id||i.toolCallId;if(r&&o.has(r))continue;const l=A(i);if(l){const a=e.get(l.filePath);a?(a.additions+=l.additions,a.deletions+=l.deletions,a.action=l.action,a.newContent=l.newContent,a.toolCallId=l.toolCallId,a.toolName=l.toolName):e.set(l.filePath,{...l})}}const n=Array.from(e.values()).filter(s=>!(s.oldContent!==void 0&&s.newContent!==void 0&&s.oldContent===s.newContent));return{changes:n,totalFiles:n.length,totalAdditions:n.reduce((s,i)=>s+i.additions,0),totalDeletions:n.reduce((s,i)=>s+i.deletions,0)}}function M(t){const e=[];for(let o=t.length-1;o>=0;o--){const n=t[o];if(n.role==="user")break;n.role==="assistant"&&e.unshift(n)}return e}function U(t){const e=F(t).changes.map(n=>n.filePath),o=new Set(F(M(t)).changes.map(n=>n.filePath));return e.length===o.size&&e.every(n=>o.has(n))}const T=new Set(["spec","notes","tasks","readme","todo","changelog"]),O=new Set(["workspace_api","get_note","create_note","update_note","add_to_note","edit_note","delegate_task","create_agent"]);function E(t){let e=t.toLowerCase();const o=e.match(/\/\/local\/mcp\/(.+)$/);for(o&&(e=o[1]),e=e.replace(/^mcp__[^_]+__/,""),e=e.replace(/^workspace[-_]mcp[-_]/,"");/[-_]workspace-mcp$/.test(e);)e=e.replace(/[-_]workspace-mcp$/,"");return e}function L(t){const e=t.metadata;return[t.name,t.toolName,e?.toolName].some(n=>typeof n=="string"&&O.has(E(n)))}function x(t){if(/\s/.test(t))return!1;const e=t.includes("."),o=t.includes("/")||t.includes("\\");return e||o}function C(t){if(!t)return!1;const e=t.toLowerCase().trim();if(T.has(e)||e.includes(".workspace/notes/"))return!0;const o=e.includes("."),n=e.includes("/")||e.includes("\\");return!!(!o&&!n&&/^[a-z][a-z0-9-_]*$/.test(e))}function A(t){if(L(t))return null;if(t.inputTruncated===!0){const e=P(t);return e?{...e,additions:0,deletions:0,oldContent:void 0,newContent:void 0,startLineNumber:void 0}:null}return P(t)}function P(t){const e=typeof t.name=="string"&&t.name?t.name:typeof t.toolName=="string"?t.toolName:"",o=t.input||t.metadata?.toolInput||{},n=t.id||t.tool_use_id||t.metadata?.toolId||"",s=e.toLowerCase();if(s==="str_replace_editor"||s==="str-replace-editor"||s.startsWith("edit ")){const r=j(n,e,o);return r&&C(r.filePath)?null:r}const i=s==="save_file"||s==="save-file"||s==="write_file"||s==="write-file"||s==="create_file"||s==="create-file";if(i||s.startsWith("save ")||s.startsWith("create ")){const r=W(n,e,o,i);return r&&C(r.filePath)?null:r}if(s==="remove_files"||s==="remove-files"){const r=B(n,e,o);return r&&C(r.filePath)?null:r}return null}function p(t){if(t==null||typeof t=="object")return"";const e=typeof t=="string"?t:String(t);return e&&e.replace(/\\n/g,`
1
+ import{Jq as N}from"./Zs30783q.js";const z=N.createSelector((t,e,o)=>Object.values(t.taskAgentAssociations?.byWorkspaceId[e]?.byNoteId[o]??{})),D=N.createSelector((t,e,o)=>{const n=t.taskAgentAssociations?.byWorkspaceId[e]?.byNoteId??{};return Object.values(n).flatMap(s=>Object.values(s)).filter(s=>s.agentId===o)});let b=1;const I=new WeakMap;function $(t){let e=I.get(t);return e||(e=b++,I.set(t,e)),e}function m(t){if(t==null)return"";if(typeof t=="string")return`s:${t.length}:${t.slice(0,16)}:${t.slice(-16)}`;if(typeof t!="object")return`${typeof t}:${String(t)}`;if(Array.isArray(t))return`a:${$(t)}:${t.length}`;const e=Object.keys(t).sort();return`o:${$(t)}:${e.map(o=>`${o}=${m(t[o])}`).join(",")}`}function K(t){const e=[`message:${t.id||""}:${t.appMessageId||""}:${t.role}`];for(const o of t.toolCalls||[])e.push(`call:${o.id}:${o.status||""}:${o.error||""}`);for(const o of t.toolResults||[])e.push(`result:${o.toolCallId}:${o.isError?"1":"0"}:${m(o.content)}`);for(const[o,n]of(t.contentBlocks||[]).entries())if(n.type==="tool_use"){const s=n.metadata;e.push(`use:${o}:${n.id||""}:${n.tool_use_id||""}:${n.toolCallId||""}:${s?.toolId||""}:${n.name||""}:${n.toolName||""}:${m(n.input)}:${m(s?.toolInput)}`)}else n.type==="tool_result"&&e.push(`result-block:${o}:${n.id||""}:${n.tool_use_id||""}:${n.toolCallId||""}:${n.is_error?"1":"0"}:${n.isError?"1":"0"}:${m(n.content||n.text)}`);return e.join("|")}function y(t){if(!t)return!1;const e=typeof t=="string"?t:JSON.stringify(t);return[/tool .* not found/i,/tool .* not available/i,/unknown tool/i,/invalid tool/i,/tool execution failed/i,/failed to execute tool/i,/tool error:/i].some(n=>n.test(e))}const S=new WeakMap;function k(t){const e=S.get(t);if(e)return e;const o=new Set;if(t.toolResults)for(const n of t.toolResults)(n.isError||y(n.content))&&n.toolCallId&&o.add(n.toolCallId);if(t.toolCalls)for(const n of t.toolCalls)(n.status==="failed"||n.error)&&n.id&&o.add(n.id);if(t.contentBlocks){const n=t.contentBlocks;for(let s=0;s<n.length;s++){const i=n[s];if(i.type==="tool_result"){const r=i.is_error||i.isError,l=y(i.content||i.text);if(r||l){let a=i.tool_use_id||i.toolCallId||i.id;if(!a&&s>0){const f=n[s-1];f.type==="tool_use"&&(a=f.id||f.tool_use_id||f.toolCallId)}a&&o.add(a)}}}}return S.set(t,o),o}function J(t){const e=new Map;if(t.role!=="assistant"||!t.contentBlocks)return{changes:[],totalFiles:0,totalAdditions:0,totalDeletions:0};const o=k(t);for(const s of t.contentBlocks){if(s.type!=="tool_use")continue;const i=s.id||s.tool_use_id||s.toolCallId;if(i&&o.has(i))continue;const r=A(s);if(r){const l=e.get(r.filePath);l?(l.additions+=r.additions,l.deletions+=r.deletions,l.action=r.action,l.newContent=r.newContent,l.toolCallId=r.toolCallId,l.toolName=r.toolName):e.set(r.filePath,{...r})}}const n=Array.from(e.values()).filter(s=>!(s.oldContent!==void 0&&s.newContent!==void 0&&s.oldContent===s.newContent));return{changes:n,totalFiles:n.length,totalAdditions:n.reduce((s,i)=>s+i.additions,0),totalDeletions:n.reduce((s,i)=>s+i.deletions,0)}}function F(t){const e=new Map,o=new Set;for(const s of t){const i=k(s);for(const r of i)o.add(r)}for(const s of t)if(!(s.role!=="assistant"||!s.contentBlocks))for(const i of s.contentBlocks){if(i.type!=="tool_use")continue;const r=i.id||i.tool_use_id||i.toolCallId;if(r&&o.has(r))continue;const l=A(i);if(l){const a=e.get(l.filePath);a?(a.additions+=l.additions,a.deletions+=l.deletions,a.action=l.action,a.newContent=l.newContent,a.toolCallId=l.toolCallId,a.toolName=l.toolName):e.set(l.filePath,{...l})}}const n=Array.from(e.values()).filter(s=>!(s.oldContent!==void 0&&s.newContent!==void 0&&s.oldContent===s.newContent));return{changes:n,totalFiles:n.length,totalAdditions:n.reduce((s,i)=>s+i.additions,0),totalDeletions:n.reduce((s,i)=>s+i.deletions,0)}}function M(t){const e=[];for(let o=t.length-1;o>=0;o--){const n=t[o];if(n.role==="user")break;n.role==="assistant"&&e.unshift(n)}return e}function U(t){const e=F(t).changes.map(n=>n.filePath),o=new Set(F(M(t)).changes.map(n=>n.filePath));return e.length===o.size&&e.every(n=>o.has(n))}const T=new Set(["spec","notes","tasks","readme","todo","changelog"]),O=new Set(["workspace_api","get_note","create_note","update_note","add_to_note","edit_note","delegate_task","create_agent"]);function E(t){let e=t.toLowerCase();const o=e.match(/\/\/local\/mcp\/(.+)$/);for(o&&(e=o[1]),e=e.replace(/^mcp__[^_]+__/,""),e=e.replace(/^workspace[-_]mcp[-_]/,"");/[-_]workspace-mcp$/.test(e);)e=e.replace(/[-_]workspace-mcp$/,"");return e}function L(t){const e=t.metadata;return[t.name,t.toolName,e?.toolName].some(n=>typeof n=="string"&&O.has(E(n)))}function x(t){if(/\s/.test(t))return!1;const e=t.includes("."),o=t.includes("/")||t.includes("\\");return e||o}function C(t){if(!t)return!1;const e=t.toLowerCase().trim();if(T.has(e)||e.includes(".workspace/notes/"))return!0;const o=e.includes("."),n=e.includes("/")||e.includes("\\");return!!(!o&&!n&&/^[a-z][a-z0-9-_]*$/.test(e))}function A(t){if(L(t))return null;if(t.inputTruncated===!0){const e=P(t);return e?{...e,additions:0,deletions:0,oldContent:void 0,newContent:void 0,startLineNumber:void 0}:null}return P(t)}function P(t){const e=typeof t.name=="string"&&t.name?t.name:typeof t.toolName=="string"?t.toolName:"",o=t.input||t.metadata?.toolInput||{},n=t.id||t.tool_use_id||t.metadata?.toolId||"",s=e.toLowerCase();if(s==="str_replace_editor"||s==="str-replace-editor"||s.startsWith("edit ")){const r=j(n,e,o);return r&&C(r.filePath)?null:r}const i=s==="save_file"||s==="save-file"||s==="write_file"||s==="write-file"||s==="create_file"||s==="create-file";if(i||s.startsWith("save ")||s.startsWith("create ")){const r=W(n,e,o,i);return r&&C(r.filePath)?null:r}if(s==="remove_files"||s==="remove-files"){const r=B(n,e,o);return r&&C(r.filePath)?null:r}return null}function p(t){if(t==null||typeof t=="object")return"";const e=typeof t=="string"?t:String(t);return e&&e.replace(/\\n/g,`
2
2
  `).replace(/\\t/g," ").replace(/\\r/g,"\r")}function _(t){return typeof t!="string"?null:t.trim()||null}function v(t){if(Array.isArray(t)){for(const e of t){const o=_(e);if(o)return o}return null}return _(t)}function j(t,e,o){let n=_(o.path);if(!n&&typeof e=="string"&&e.toLowerCase().startsWith("edit ")){const c=_(e.substring(5));n=c&&x(c)?c:null}if(!n)return null;if(o.command==="create"){const c=o.file_text??"",d=p(c),u=d?d.split(`
3
3
  `):[];return{filePath:n,action:"create",additions:u.length,deletions:0,toolName:e,toolCallId:t,oldContent:"",newContent:d}}let s=0,i=0;const r=[],l=[];let a;if(Array.isArray(o.str_replace_entries))for(const c of o.str_replace_entries){const d=c.old_str,u=c.new_str,h=c.old_str_start_line_number;if(d!==void 0&&u!==void 0){const g=p(d),w=p(u);i+=g?g.split(`
4
4
  `).length:0,s+=w?w.split(`