@intent-hq/web 2.333.0 → 2.334.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 (275) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{DFIsXmE_.js → 03PfIO_9.js} +1 -1
  3. package/web/app/immutable/chunks/{Dzei16j2.js → 072Tb_6D.js} +1 -1
  4. package/web/app/immutable/chunks/{QBrdUuj3.js → 1N54IjFy.js} +1 -1
  5. package/web/app/immutable/chunks/{DBPvj7yj.js → 2J-nekl4.js} +3 -3
  6. package/web/app/immutable/chunks/{DivUGPVj.js → 2cP0f-ZS.js} +1 -1
  7. package/web/app/immutable/chunks/{D5BJwiCX.js → 35OKERyz.js} +3 -3
  8. package/web/app/immutable/chunks/{BsXH6ASx.js → 4AVTvQlm.js} +1 -1
  9. package/web/app/immutable/chunks/{B832GCAy.js → 4doVsrTt.js} +1 -1
  10. package/web/app/immutable/chunks/{D3zprjIo.js → 5gyILap3.js} +1 -1
  11. package/web/app/immutable/chunks/{CsBfHq3z.js → 71wna1Z8.js} +1 -1
  12. package/web/app/immutable/chunks/{BTdEOciU.js → 7AKPDTqy.js} +1 -1
  13. package/web/app/immutable/chunks/{BB28H67K.js → 8ZRaDoDY.js} +1 -1
  14. package/web/app/immutable/chunks/{CKywtFzw.js → 9oNS7b_T.js} +1 -1
  15. package/web/app/immutable/chunks/{Dogvt2Uo.js → AMK506zb.js} +1 -1
  16. package/web/app/immutable/chunks/{HSKzTsh4.js → Az9OQ8Pw.js} +1 -1
  17. package/web/app/immutable/chunks/{BAzseDFu.js → B-1pTbth.js} +1 -1
  18. package/web/app/immutable/chunks/{DHj5Vli6.js → B-lr2mEf.js} +1 -1
  19. package/web/app/immutable/chunks/{BFjtbKU5.js → B0h3U-Yz.js} +1 -1
  20. package/web/app/immutable/chunks/{C66LITAl.js → B29HdkQh.js} +1 -1
  21. package/web/app/immutable/chunks/{7vJjNlp5.js → B3KrGqdQ.js} +1 -1
  22. package/web/app/immutable/chunks/{CVuCQwR4.js → B3RoFPrI.js} +1 -1
  23. package/web/app/immutable/chunks/{Dtby9LLe.js → B4egTWvZ.js} +1 -1
  24. package/web/app/immutable/chunks/{Dyx0lQpx.js → B6KMCDK3.js} +1 -1
  25. package/web/app/immutable/chunks/{BZ3Ae-4U.js → B77TCztV.js} +1 -1
  26. package/web/app/immutable/chunks/{Dnnm-5K1.js → B7_YNW7R.js} +1 -1
  27. package/web/app/immutable/chunks/{C_1dnC1X.js → B94CMzpV.js} +1 -1
  28. package/web/app/immutable/chunks/{aA6XO7Z6.js → BAOVYkFF.js} +1 -1
  29. package/web/app/immutable/chunks/{CE_FxgNs.js → BAzeccV1.js} +1 -1
  30. package/web/app/immutable/chunks/{DeLyGL9g.js → BBA4Bzbm.js} +1 -1
  31. package/web/app/immutable/chunks/{DD5ISNL6.js → BCGsV37m.js} +1 -1
  32. package/web/app/immutable/chunks/{d6WJXB_G.js → BE3xHJK-.js} +1 -1
  33. package/web/app/immutable/chunks/{LTdieHUf.js → BE_5EfDm.js} +4 -4
  34. package/web/app/immutable/chunks/{yjIqqlQ2.js → BFBxuHtI.js} +1 -1
  35. package/web/app/immutable/chunks/{BtxhSwaF.js → BHNjUi-M.js} +1 -1
  36. package/web/app/immutable/chunks/{9WOIFXVq.js → BHVl-WA3.js} +1 -1
  37. package/web/app/immutable/chunks/{CJqmLHCx.js → BHvVwiFl.js} +1 -1
  38. package/web/app/immutable/chunks/{Cf8id2rO.js → BIvp5Tt2.js} +1 -1
  39. package/web/app/immutable/chunks/{B56Mq91W.js → BJOBGHF6.js} +1 -1
  40. package/web/app/immutable/chunks/{DOW78mrl.js → BMFAZxzl.js} +1 -1
  41. package/web/app/immutable/chunks/{CHjnK8eD.js → BMMqOSaL.js} +1 -1
  42. package/web/app/immutable/chunks/{DX3DcnUQ.js → BNcmjmX0.js} +1 -1
  43. package/web/app/immutable/chunks/{DJvRJQDF.js → BNhmUsaA.js} +1 -1
  44. package/web/app/immutable/chunks/{C7ZRfZC1.js → BRJ8JwtZ.js} +2 -2
  45. package/web/app/immutable/chunks/{nISUgxKe.js → BW9zdIKM.js} +1 -1
  46. package/web/app/immutable/chunks/{BUxvwYCZ.js → BWLkc8Du.js} +1 -1
  47. package/web/app/immutable/chunks/{C8Ewc55B.js → BY2EZOH5.js} +1 -1
  48. package/web/app/immutable/chunks/{BfzrGa3A.js → BYS_XVzS.js} +1 -1
  49. package/web/app/immutable/chunks/{BlMN_W9c.js → B_sZwi21.js} +1 -1
  50. package/web/app/immutable/chunks/{CE3cTmuW.js → BaeUp1de.js} +1 -1
  51. package/web/app/immutable/chunks/{DlLRbNZR.js → BcRUrG7V.js} +1 -1
  52. package/web/app/immutable/chunks/{BIAzHfjL.js → BcvgmgBl.js} +1 -1
  53. package/web/app/immutable/chunks/{CoMudm58.js → Bd-UWJsU.js} +1 -1
  54. package/web/app/immutable/chunks/{K9qmyacm.js → BdYPHOrS.js} +1 -1
  55. package/web/app/immutable/chunks/{DY2uGuix.js → Bdtl8KA4.js} +1 -1
  56. package/web/app/immutable/chunks/{F7DwQcta.js → BduWPjcR.js} +1 -1
  57. package/web/app/immutable/chunks/BeA8kzlg.js +1 -0
  58. package/web/app/immutable/chunks/{CglC4HOM.js → BfDRfZ1x.js} +1 -1
  59. package/web/app/immutable/chunks/{CHyKyUzM.js → BfNeIJAh.js} +1 -1
  60. package/web/app/immutable/chunks/{DsuM61wf.js → BfiKUtfz.js} +1 -1
  61. package/web/app/immutable/chunks/{D9iOEcKX.js → BiRCgfI8.js} +1 -1
  62. package/web/app/immutable/chunks/{NoEKF6rx.js → BjWMcF7P.js} +1 -1
  63. package/web/app/immutable/chunks/{E1eRJOvk.js → BjdHDlxK.js} +1 -1
  64. package/web/app/immutable/chunks/{DxnpD-Cb.js → Bmyv2TKf.js} +1 -1
  65. package/web/app/immutable/chunks/{xbz74Y37.js → Bobasviv.js} +1 -1
  66. package/web/app/immutable/chunks/Bp1o3thS.js +1 -0
  67. package/web/app/immutable/chunks/{BKzrjZp1.js → BpidAqRA.js} +6 -6
  68. package/web/app/immutable/chunks/{BZCXNg5s.js → BpnwXy6U.js} +1 -1
  69. package/web/app/immutable/chunks/{DPgkHx8Z.js → BrK9k8X4.js} +1 -1
  70. package/web/app/immutable/chunks/{BfQcXH7l.js → BsYAGCCJ.js} +1 -1
  71. package/web/app/immutable/chunks/{CMQoknXV.js → BsbCFjWI.js} +1 -1
  72. package/web/app/immutable/chunks/{LD1u5ntr.js → BuCbZihK.js} +2 -2
  73. package/web/app/immutable/chunks/{COZF9anf.js → BuEytmbB.js} +1 -1
  74. package/web/app/immutable/chunks/{5BjH__qw.js → BuNYZSRv.js} +1 -1
  75. package/web/app/immutable/chunks/{BYJTJW1o.js → BuxSPewv.js} +1 -1
  76. package/web/app/immutable/chunks/{wYgYMVXC.js → Bv6lXJbF.js} +1 -1
  77. package/web/app/immutable/chunks/{B4EyOcMP.js → Bvt4TKMh.js} +1 -1
  78. package/web/app/immutable/chunks/{BMla283I.js → Bxd9OUMD.js} +1 -1
  79. package/web/app/immutable/chunks/{Bielx7or.js → BzOameBd.js} +1 -1
  80. package/web/app/immutable/chunks/{DKShYaIJ.js → C-tVLzji.js} +1 -1
  81. package/web/app/immutable/chunks/{D76tmIP3.js → C1MSnWt8.js} +1 -1
  82. package/web/app/immutable/chunks/{CkMfCuzz.js → C1ZTS4Sh.js} +1 -1
  83. package/web/app/immutable/chunks/{BsWB9YpI.js → C3KFiFcK.js} +1 -1
  84. package/web/app/immutable/chunks/{BrgKUa-G.js → C4RucMn0.js} +1 -1
  85. package/web/app/immutable/chunks/{C9IQsGTN.js → C5vuxPIj.js} +1 -1
  86. package/web/app/immutable/chunks/{CpMi3Pqw.js → C7Fm8r7x.js} +1 -1
  87. package/web/app/immutable/chunks/{Z2NV50FD.js → C7Ro1E0r.js} +1 -1
  88. package/web/app/immutable/chunks/C7wbrsvU.js +1 -0
  89. package/web/app/immutable/chunks/{HcYBxKPc.js → CArqGgyL.js} +1 -1
  90. package/web/app/immutable/chunks/{BWr9U17b.js → CBC7YFdV.js} +1 -1
  91. package/web/app/immutable/chunks/{m9iBAChf.js → CCGEGA0G.js} +1 -1
  92. package/web/app/immutable/chunks/CCPn5VZR.js +1 -0
  93. package/web/app/immutable/chunks/{D3E9Lwsk.js → CDSwBgYD.js} +1 -1
  94. package/web/app/immutable/chunks/{Bi2Qf6lk.js → CESOOiWP.js} +1 -1
  95. package/web/app/immutable/chunks/{EZSy0A04.js → CEboTiDi.js} +3 -3
  96. package/web/app/immutable/chunks/{NmEpUrvw.js → CFS-CWu3.js} +1 -1
  97. package/web/app/immutable/chunks/{CM28_vQq.js → CGVLIZz9.js} +1 -1
  98. package/web/app/immutable/chunks/{ClAv9h9H.js → CGiCL1Ov.js} +1 -1
  99. package/web/app/immutable/chunks/{ChNKlZtm.js → CIqnL4UD.js} +1 -1
  100. package/web/app/immutable/chunks/{Bk0QUQDW.js → CJB7cvC2.js} +1 -1
  101. package/web/app/immutable/chunks/{CeOYgNbD.js → CKJpktTE.js} +1 -1
  102. package/web/app/immutable/chunks/{60bkkSrP.js → CKrDMmMA.js} +1 -1
  103. package/web/app/immutable/chunks/{BRWLc5hQ.js → CMOnvdXp.js} +1 -1
  104. package/web/app/immutable/chunks/{ClouAezj.js → CMpcqAa4.js} +3 -3
  105. package/web/app/immutable/chunks/{CYp2pkXV.js → CO7hmy56.js} +1 -1
  106. package/web/app/immutable/chunks/{DgtU93Ce.js → CP_jYxTi.js} +1 -1
  107. package/web/app/immutable/chunks/{CnivRSyI.js → CRLRbkCn.js} +1 -1
  108. package/web/app/immutable/chunks/{B8OTnzCv.js → CSSojjBG.js} +1 -1
  109. package/web/app/immutable/chunks/{Bfc3D5MS.js → CWYYinAo.js} +1 -1
  110. package/web/app/immutable/chunks/{fUxAhSKl.js → CXKfuiUF.js} +1 -1
  111. package/web/app/immutable/chunks/{BpePMNve.js → CXzbClP6.js} +1 -1
  112. package/web/app/immutable/chunks/{DM0_7KAa.js → CYttmgAy.js} +2 -2
  113. package/web/app/immutable/chunks/CZ_kVWbN.js +4 -0
  114. package/web/app/immutable/chunks/{BP23sDOE.js → CZnrzyHp.js} +1 -1
  115. package/web/app/immutable/chunks/{XBT2FDUw.js → CfwVmHCf.js} +1 -1
  116. package/web/app/immutable/chunks/{DBZdNxOK.js → CgWmg0h0.js} +1 -1
  117. package/web/app/immutable/chunks/{Bmwe3v73.js → CiQ6prZ_.js} +1 -1
  118. package/web/app/immutable/chunks/{C2NjZei7.js → Ci__OGHt.js} +1 -1
  119. package/web/app/immutable/chunks/{BVV0KdYJ.js → Cil-vK29.js} +1 -1
  120. package/web/app/immutable/chunks/{9Hyeqhzq.js → CiqS40z1.js} +1 -1
  121. package/web/app/immutable/chunks/{CHz9NPSg.js → CjijEKrk.js} +1 -1
  122. package/web/app/immutable/chunks/{BRfIKJVK.js → Ckt4hpBJ.js} +1 -1
  123. package/web/app/immutable/chunks/{NpJ_H_lL.js → Cl-7Au8R.js} +1 -1
  124. package/web/app/immutable/chunks/{DNnl-ruw.js → ClZsJ0tq.js} +1 -1
  125. package/web/app/immutable/chunks/{eE1Ik_Y8.js → Cn1E5b8h.js} +1 -1
  126. package/web/app/immutable/chunks/{BEdXc2Cn.js → CnMdEUN9.js} +1 -1
  127. package/web/app/immutable/chunks/{wAlzdqKW.js → Co38dt7I.js} +1 -1
  128. package/web/app/immutable/chunks/{DUj2SOU7.js → CoVAqVcd.js} +1 -1
  129. package/web/app/immutable/chunks/{DyC0TlBU.js → Csi1v0mQ.js} +1 -1
  130. package/web/app/immutable/chunks/{CNKDyXfa.js → CuXSY9SQ.js} +2 -2
  131. package/web/app/immutable/chunks/{DhuL_LWc.js → CwKaV1IY.js} +1 -1
  132. package/web/app/immutable/chunks/{So805CPS.js → CwMAKc0Q.js} +1 -1
  133. package/web/app/immutable/chunks/{Coh-8FDf.js → CwMqpcMm.js} +1 -1
  134. package/web/app/immutable/chunks/{BRzkxjZ7.js → CwakGbfV.js} +1 -1
  135. package/web/app/immutable/chunks/{Cd6dNiWt.js → CwiXEybf.js} +1 -1
  136. package/web/app/immutable/chunks/{BPe3vmZW.js → Cxbk0QV6.js} +1 -1
  137. package/web/app/immutable/chunks/{BVlLHHIh.js → D-JSvqq2.js} +2 -2
  138. package/web/app/immutable/chunks/{Cpr9mNUv.js → D-Uzg_w_.js} +1 -1
  139. package/web/app/immutable/chunks/{1bpiYpBu.js → D-v3doGL.js} +1 -1
  140. package/web/app/immutable/chunks/{BkUS-e35.js → D0BUPqIH.js} +4 -4
  141. package/web/app/immutable/chunks/{DZQgWgP1.js → D0Nn2MSZ.js} +43 -43
  142. package/web/app/immutable/chunks/{01VYey36.js → D2laB2lQ.js} +1 -1
  143. package/web/app/immutable/chunks/{DYXF8P9g.js → D3DGxoeO.js} +1 -1
  144. package/web/app/immutable/chunks/{BmIdlkCY.js → D8UOq-cZ.js} +1 -1
  145. package/web/app/immutable/chunks/D9wogWMJ.js +1 -0
  146. package/web/app/immutable/chunks/{D-Mv0NgR.js → DAGiwOmW.js} +1 -1
  147. package/web/app/immutable/chunks/{CwOQgsIB.js → DANuQK8j.js} +1 -1
  148. package/web/app/immutable/chunks/{n9Al_b1R.js → DAxsY0Gj.js} +1 -1
  149. package/web/app/immutable/chunks/DCCFERAn.js +1 -0
  150. package/web/app/immutable/chunks/{Ct1y2X3-.js → DCD7Mz5K.js} +1 -1
  151. package/web/app/immutable/chunks/{BqgLlXte.js → DDRhcF_8.js} +1 -1
  152. package/web/app/immutable/chunks/{nfg7gMK0.js → DF71nvkU.js} +1 -1
  153. package/web/app/immutable/chunks/{BCR36ulI.js → DGUKdi7i.js} +1 -1
  154. package/web/app/immutable/chunks/{DgqSfEsd.js → DGcTdGo8.js} +2 -2
  155. package/web/app/immutable/chunks/{CPYy7Bl8.js → DJQSxFj4.js} +1 -1
  156. package/web/app/immutable/chunks/{COKOIhyC.js → DKNnPYeR.js} +1 -1
  157. package/web/app/immutable/chunks/{-Iq9nlAE.js → DKf1LSfP.js} +1 -1
  158. package/web/app/immutable/chunks/{31GDMDj9.js → DLtIqvYl.js} +2 -2
  159. package/web/app/immutable/chunks/{S8lIecOL.js → DMHPeP9b.js} +1 -1
  160. package/web/app/immutable/chunks/{1N4-_XNd.js → DMW_Ogh_.js} +1 -1
  161. package/web/app/immutable/chunks/{LU9o-VsR.js → DNEb71Dh.js} +1 -1
  162. package/web/app/immutable/chunks/DVNTCHDs.js +1 -0
  163. package/web/app/immutable/chunks/{BtQGF6MG.js → DVTVoVn3.js} +1 -1
  164. package/web/app/immutable/chunks/{5BpiFfqe.js → DVWbUaqE.js} +2 -2
  165. package/web/app/immutable/chunks/{DXKRxRra.js → DWLCZ9bk.js} +1 -1
  166. package/web/app/immutable/chunks/{DQa6YuyW.js → DXNrmOAj.js} +1 -1
  167. package/web/app/immutable/chunks/{DLI1aSNH.js → DXO_adPf.js} +1 -1
  168. package/web/app/immutable/chunks/{C0l2XLvP.js → DZTtqmYJ.js} +1 -1
  169. package/web/app/immutable/chunks/{CQ-f-CXn.js → D_i6tc5B.js} +1 -1
  170. package/web/app/immutable/chunks/{DQhpCQ8x.js → DbWOkCcI.js} +1 -1
  171. package/web/app/immutable/chunks/{uU0UH-Q4.js → DcZ6Y3e4.js} +1 -1
  172. package/web/app/immutable/chunks/DdWD_Vv3.js +1 -0
  173. package/web/app/immutable/chunks/{BQypG4-Z.js → Df-CfLbF.js} +1 -1
  174. package/web/app/immutable/chunks/{R4bwBwT_.js → DfBE7crq.js} +1 -1
  175. package/web/app/immutable/chunks/{uTT4_LLP.js → DhSqfFgd.js} +1 -1
  176. package/web/app/immutable/chunks/{BSHExHmB.js → DiUyyFSb.js} +1 -1
  177. package/web/app/immutable/chunks/{BkMLj_bt.js → Diees_tN.js} +1 -1
  178. package/web/app/immutable/chunks/{DenVKqrV.js → Dk1_0x0Q.js} +1 -1
  179. package/web/app/immutable/chunks/{bbeE_6so.js → DkPqbYEN.js} +1 -1
  180. package/web/app/immutable/chunks/{Bcxw4jL3.js → DqdGC4dy.js} +1 -1
  181. package/web/app/immutable/chunks/Dso1_H3c.js +1 -0
  182. package/web/app/immutable/chunks/{nhnbx7C0.js → DuD0elPz.js} +1 -1
  183. package/web/app/immutable/chunks/{DlMw3wRu.js → DvQkR2Is.js} +1 -1
  184. package/web/app/immutable/chunks/{DYod7WBg.js → DwLudbcs.js} +1 -1
  185. package/web/app/immutable/chunks/{DBwqw4Qu.js → DxFUSFjo.js} +1 -1
  186. package/web/app/immutable/chunks/{BnXfq0KH.js → DxGil5MD.js} +1 -1
  187. package/web/app/immutable/chunks/{WOtBW7MG.js → DxHHBDex.js} +1 -1
  188. package/web/app/immutable/chunks/{C7r-OuIg.js → DyEA97Ij.js} +1 -1
  189. package/web/app/immutable/chunks/{CdxfWnwV.js → DySSBJC4.js} +1 -1
  190. package/web/app/immutable/chunks/{CR7cFb79.js → DyrELBv-.js} +1 -1
  191. package/web/app/immutable/chunks/{BOXppFhx.js → Dzg-ll0I.js} +1 -1
  192. package/web/app/immutable/chunks/{DJhmhU0F.js → DziBVnxJ.js} +3 -3
  193. package/web/app/immutable/chunks/{DRFOuvia.js → FEnI6pqw.js} +1 -1
  194. package/web/app/immutable/chunks/{idgVmMSO.js → G3lcIaVb.js} +1 -1
  195. package/web/app/immutable/chunks/{DX0DDRCM.js → GY5YfSD1.js} +1 -1
  196. package/web/app/immutable/chunks/{Cq9yywqY.js → H6rH-O5e.js} +1 -1
  197. package/web/app/immutable/chunks/{BFLeHPtB.js → HZf189bi.js} +1 -1
  198. package/web/app/immutable/chunks/{B7UFQMCa.js → HjTnEK4j.js} +1 -1
  199. package/web/app/immutable/chunks/{Cyv_QpXG.js → MCnrQrjH.js} +1 -1
  200. package/web/app/immutable/chunks/{CFp19SMm.js → MItv5vwZ.js} +1 -1
  201. package/web/app/immutable/chunks/{BcU-Zn0b.js → N6ccAT9m.js} +3 -3
  202. package/web/app/immutable/chunks/{Ce-iGpTr.js → Ossh6uZu.js} +1 -1
  203. package/web/app/immutable/chunks/{B8vvVbvT.js → PA5tKchu.js} +1 -1
  204. package/web/app/immutable/chunks/{Ck4zrPgL.js → Qk-BsDf0.js} +1 -1
  205. package/web/app/immutable/chunks/{IjAEhEd_.js → RlWPb-l5.js} +1 -1
  206. package/web/app/immutable/chunks/{C-hzwobp.js → SpNk3-qf.js} +2 -2
  207. package/web/app/immutable/chunks/{BcgRdy5h.js → T2yA2AgY.js} +2 -2
  208. package/web/app/immutable/chunks/{BirwNQi3.js → Ug0dtdu2.js} +4 -4
  209. package/web/app/immutable/chunks/{CkyjResP.js → VLZW5k04.js} +1 -1
  210. package/web/app/immutable/chunks/{9REiaz4P.js → Wjuib0ag.js} +1 -1
  211. package/web/app/immutable/chunks/{DR0muAaQ.js → YkXzGZ8n.js} +1 -1
  212. package/web/app/immutable/chunks/{3ol3wj0q.js → Z1K5P4U2.js} +1 -1
  213. package/web/app/immutable/chunks/{CF-5Z7Xo.js → ayrFAfGH.js} +1 -1
  214. package/web/app/immutable/chunks/{C92p6Xk1.js → dLK087oD.js} +1 -1
  215. package/web/app/immutable/chunks/{VzU2yQD-.js → f7LaE2V_.js} +4 -4
  216. package/web/app/immutable/chunks/{C8XfwzHP.js → fJUF_fJi.js} +1 -1
  217. package/web/app/immutable/chunks/{DVUO3Tx5.js → fOffirGV.js} +1 -1
  218. package/web/app/immutable/chunks/{CH58YVSk.js → gVcm9LZ1.js} +1 -1
  219. package/web/app/immutable/chunks/{rz6OBXp5.js → jrcipDnr.js} +1 -1
  220. package/web/app/immutable/chunks/{OtDorjRa.js → k3FE0FJZ.js} +1 -1
  221. package/web/app/immutable/chunks/{D0BCTOi7.js → l8UFOWir.js} +3 -3
  222. package/web/app/immutable/chunks/{BY6hRbJf.js → m2BK1mVX.js} +1 -1
  223. package/web/app/immutable/chunks/m5UczIQR.js +18 -0
  224. package/web/app/immutable/chunks/{Cc3p9mKN.js → mdduA0pr.js} +1 -1
  225. package/web/app/immutable/chunks/{BKpbFIyR.js → nd4329YU.js} +1 -1
  226. package/web/app/immutable/chunks/{DHO1UrQa.js → oJD7n1Ce.js} +1 -1
  227. package/web/app/immutable/chunks/{BaoulGHD.js → rNW14wgI.js} +1 -1
  228. package/web/app/immutable/chunks/{CSAk4qZa.js → sT0KaY62.js} +1 -1
  229. package/web/app/immutable/chunks/{Ce6vcV0f.js → t1ZWo-I1.js} +1 -1
  230. package/web/app/immutable/chunks/{tE5q5HcJ.js → tO-hey33.js} +1 -1
  231. package/web/app/immutable/chunks/{nUyY273s.js → td5hg6sa.js} +1 -1
  232. package/web/app/immutable/chunks/{DvT1AhIX.js → tj2YkYbp.js} +1 -1
  233. package/web/app/immutable/chunks/{C4YSpHI_.js → wP6HsJDJ.js} +1 -1
  234. package/web/app/immutable/chunks/{C2q2h8LC.js → wylA95cI.js} +1 -1
  235. package/web/app/immutable/chunks/{Cr3SSyqj.js → xD874lNR.js} +2 -2
  236. package/web/app/immutable/chunks/{DjiG1aj4.js → xTKdEUQT.js} +1 -1
  237. package/web/app/immutable/chunks/{rKfhSL2S.js → zP9pbpMh.js} +1 -1
  238. package/web/app/immutable/chunks/{BJ8NXEMJ.js → zobwBhBP.js} +1 -1
  239. package/web/app/immutable/entry/{app.BvRxV6R1.js → app.DzJavKOz.js} +3 -3
  240. package/web/app/immutable/entry/start.D3-DqMWL.js +1 -0
  241. package/web/app/immutable/nodes/{0.DlMK7EKt.js → 0.DwHYAcJA.js} +1 -1
  242. package/web/app/immutable/nodes/{1.Bc43OCNt.js → 1.CNlxk-Wb.js} +1 -1
  243. package/web/app/immutable/nodes/{10.CRW4MxVn.js → 10.Bnp8Ru15.js} +1 -1
  244. package/web/app/immutable/nodes/{11.v3TvfIzF.js → 11.CVezrggv.js} +1 -1
  245. package/web/app/immutable/nodes/{12.DU8-Nmz-.js → 12.BPw8mLRI.js} +1 -1
  246. package/web/app/immutable/nodes/{13.pNrv4shY.js → 13.DEB8Wg7Z.js} +3 -3
  247. package/web/app/immutable/nodes/{14.fcMbdu6Z.js → 14.C5EP7pij.js} +1 -1
  248. package/web/app/immutable/nodes/{15.DBMm4pyM.js → 15.FeIesTUd.js} +1 -1
  249. package/web/app/immutable/nodes/{16.ClJoD8WH.js → 16.CxMj36A8.js} +1 -1
  250. package/web/app/immutable/nodes/{17.B3dCuKkH.js → 17.CWgUp0nx.js} +2 -2
  251. package/web/app/immutable/nodes/2.i3va2l-3.js +13 -0
  252. package/web/app/immutable/nodes/{3.tV7qLGeC.js → 3.TRZPY3g1.js} +1 -1
  253. package/web/app/immutable/nodes/{4.CLfVtjCR.js → 4.Q_cklVfx.js} +1 -1
  254. package/web/app/immutable/nodes/{5.DcQbRELp.js → 5.DQss9mOg.js} +1 -1
  255. package/web/app/immutable/nodes/{6.CS7SDYA7.js → 6.B1fe3H2i.js} +1 -1
  256. package/web/app/immutable/nodes/{7.D7iSydzH.js → 7.Bs2GT-JO.js} +1 -1
  257. package/web/app/immutable/nodes/8.Bhi1HY5b.js +14 -0
  258. package/web/app/immutable/nodes/{9.Daikd_tE.js → 9.BWi2XzAl.js} +5 -5
  259. package/web/app/version.json +1 -1
  260. package/web/generated/paraglide.js +49 -49
  261. package/web/index.html +19 -19
  262. package/web/app/immutable/chunks/-svebp9s.js +0 -18
  263. package/web/app/immutable/chunks/B3iZfhYu.js +0 -1
  264. package/web/app/immutable/chunks/Bap15j_Q.js +0 -4
  265. package/web/app/immutable/chunks/Brb5mMFP.js +0 -1
  266. package/web/app/immutable/chunks/C9Vu0azd.js +0 -1
  267. package/web/app/immutable/chunks/CCbp1hCi.js +0 -1
  268. package/web/app/immutable/chunks/CXgKrD4b.js +0 -1
  269. package/web/app/immutable/chunks/Coc7Z84W.js +0 -1
  270. package/web/app/immutable/chunks/D6H9qMAI.js +0 -1
  271. package/web/app/immutable/chunks/Nzi7bwxO.js +0 -1
  272. package/web/app/immutable/chunks/tjb4ezeK.js +0 -1
  273. package/web/app/immutable/entry/start.BrbYIb0p.js +0 -1
  274. package/web/app/immutable/nodes/2.XomcwXea.js +0 -13
  275. package/web/app/immutable/nodes/8.C7yThhga.js +0 -14
@@ -1 +1 @@
1
- import{t as Re,bq as i,a_ as Z,bo as n,by as Fe,bu as Oe,bs as Wt,b as Ue}from"./CXgKrD4b.js";import{ai as Kt,bo as Vt,bs as je,bV as $,br as Qt,ca as _e,aD as e,bj as Gt,bH as a,c5 as nt,a5 as z,bl as N,bS as c,bA as O,b_ as H,bO as h,W as m,bn as ze,c9 as _,aA as d,ay as V,a7 as Be,aB as B,bf as rt,aj as Jt,be as X,b$ as Y}from"./DYhIMPy1.js";import{b as Xt}from"./BaIAhI85.js";import{u as at,n as Yt,j as Zt,l as lt,v as en,p as tn}from"./BEdXc2Cn.js";import"./BYJTJW1o.js";import"./CKywtFzw.js";import"./CHyKyUzM.js";import{f as K}from"./-svebp9s.js";import"./CeOYgNbD.js";import{s as nn,c as rn}from"./HSKzTsh4.js";import{x as ve,Ik as W,hI as pe,s8 as an,hL as st}from"./DenVKqrV.js";import{C as ln,b as sn,T as on,c as cn,S as dn}from"./BOXppFhx.js";import{I as Ae}from"./C9IQsGTN.js";import"./DQa6YuyW.js";import"./aA6XO7Z6.js";import"./DX0DDRCM.js";import"./ChTqQfQN.js";import"./Ct1y2X3-.js";import{o as un}from"./DIP3ex32.js";import{ag as fn,aQ as _n,aH as pn,E as vn}from"./Bap15j_Q.js";import{i as bn,p as gn}from"./CsBfHq3z.js";var mn=B('<span class="size-4 rounded-full border border-muted-foreground/60 bg-background" aria-hidden="true"></span>'),hn=B('<span aria-hidden="true"></span>'),xn=B('<p class="text-xs text-subtle"> </p> <p class="text-xs text-subtle"> <a class="text-primary-ink hover:underline">github.com/intent-hq/intentd</a> </p>',1),yn=B('<div class="space-y-1"><label class="text-xs text-subtle" for="connect-name"> </label> <!></div> <div class="flex min-w-0 items-end gap-4" data-connect-appearance=""><fieldset class="min-w-0 flex-1 space-y-1"><legend class="text-xs text-subtle"> </legend> <div class="flex flex-wrap gap-1"></div></fieldset> <!></div> <div class="space-y-1"><label class="text-xs text-subtle" for="connect-host"> </label> <!> <!></div> <div class="space-y-1"><label class="text-xs text-subtle" for="connect-port"> </label> <!></div> <div class="space-y-1"><label class="text-xs text-subtle" for="connect-token"> </label> <!></div> <!> <!> <!>',1),kn=B('<div class="space-y-1"><span class="text-xs text-subtle"> </span> <p class="font-mono text-xs break-all bg-muted/50 rounded p-2"> </p></div>'),Cn=B('<p class="text-xs text-danger" role="alert"> </p>'),An=B('<div class="space-y-4"><p class="text-sm text-subtle" role="status" aria-live="polite"> </p> <!> <!></div>');function ct(q,l){const p=Vt();if(new.target)return Re({component:ct,...q});je(l,!0);const g=()=>Oe(dt,"$workflow$",T),R=()=>Oe(pt,"$hostManagesConnections$",T),w=()=>Oe(_t,"$syncState$",T),[T,F]=Wt(),M=(t,o=rt)=>{{const b=(de,ue=rt)=>{{let J=_(()=>({...ue(),entry:o(),controlId:o().id}));dn(de,{get entry(){return o()},get context(){return e(J)}})}};let ne=_(()=>`${o().id}-field`);nn(t,{get id(){return e(ne)},get label(){return o().label},get description(){return o().description},get htmlFor(){return o().id},get disabled(){return e(ce)},get busy(){return e(ce)},compact:!0,class:"grid-cols-[minmax(0,1fr)_auto] items-start py-0 first:pt-0 last:pb-0 [&_[data-field-control]]:w-auto",control:b,$$slots:{control:!0}})}};let D=i(l,"active",7),x=i(l,"step",15,"details"),U=i(l,"busy",15,!1),j=i(l,"canContinue",15,!1),L=i(l,"firstInput",15,null),s=i(l,"prefillHost",7,null),y=i(l,"prefillPort",7,null),I=i(l,"prefillLabel",7,null),P=i(l,"prefillAccent",7,void 0),r=i(l,"defaultAccent",7,ve),k=i(l,"showHelp",7,!0),C=i(l,"onDone",7);const v="5181",S="https://github.com/intent-hq/intentd";function qe(t){t.preventDefault(),un(S)}let A=$(""),ee=$(Qt(ve)),se=$("auto"),E=$(""),Q=$(v),G=$(""),te=$(null),be=$(!0),oe=$(!0),ge=$("");const dt=fn(p),ce=_(()=>!!g()&&g().phase!=="settled");_e(()=>{U(e(ce))});const Me=_(()=>{const t=g()?.outcome;return t?.kind==="error"||t?.kind==="syncError"?t.message:t?.kind==="secretUnavailable"?n.modals_connect_secretUnavailable_error():t?.kind==="captureRejected"?t.statusCode===403?n.modals_connect_wsApiDisabled_error():n.modals_connect_tokenRejected_error():null});Gt(()=>W.dispatch(pe(p))),_e(()=>{const t=g()?.outcome;t?.kind==="captured"?(a(ge,t.fingerprint,!0),x("confirm"),W.dispatch(pe(p))):t?.kind==="done"&&nt(()=>{we(),C()()})});const ut=_(()=>cn(P()===void 0?r():P())),ft=typeof window<"u"&&window.electronAPI?.platform==="darwin",_t=_n(),pt=pn(),Se=_(()=>!R()&&(w()?.supported??ft)),vt=_(()=>w()?.enabled??!1),bt=_(()=>({kind:"switch",id:"connect-detect-hosts",label:n.modals_connect_detectHosts_label(),description:n.modals_connect_detectHosts_description(),get:()=>e(be),set:t=>{a(be,t,!0)}})),gt=_(()=>({kind:"switch",id:"connect-save-to-icloud",label:n.modals_connect_saveToICloud_label(),description:n.modals_connect_saveToICloud_description(),get:()=>e(oe),set:t=>{a(oe,t,!0)}})),ie=_(()=>Number(e(Q).trim())),We=_(()=>e(A).trim().length>0&&e(E).trim().length>0&&Number.isInteger(e(ie))&&e(ie)>0&&e(ie)<=65535&&e(G).trim().length>0&&!e(ce));_e(()=>{j(e(We))});function we(){x("details"),a(A,""),a(ee,r(),!0),a(se,"auto"),a(E,""),a(Q,v),a(G,""),a(te,null),a(be,!0),a(oe,!0),a(ge,""),W.dispatch(pe(p))}function mt(t){const o=t.clipboardData?.getData("text")??"";if(!bn(o))return;const b=gn(o);b&&(t.preventDefault(),b.hosts.length>0&&a(E,b.hosts[0],!0),b.port!==null&&a(Q,String(b.port),!0),b.token&&a(G,b.token,!0),a(te,b.tcAddress,!0))}function ht(){a(te,vn(e(E))?e(E).trim():null,!0)}function xt(){e(We)&&W.dispatch(st(p,{kind:"capture",params:{host:e(E).trim(),port:e(ie),token:e(G).trim()}}))}function yt(){if(e(Se)&&!e(vt)&&e(oe)){W.dispatch(pe(p)),x("syncConfirm");return}Ie(e(Se)&&!e(oe))}function Ie(t,o={}){const b=e(E).trim();W.dispatch(st(p,{kind:"connect",enableSync:o.enableSyncAfterAdd===!0,params:{label:e(A).trim(),accent:e(ee),deviceIcon:e(se),host:b,port:e(ie),fingerprint:e(ge),token:e(G).trim(),...e(te)?{tcAddress:e(te)}:{},detectHosts:e(be),...t?{syncExcluded:!0}:{}}}))}function kt(){Ie(!1,{enableSyncAfterAdd:!0})}function Ct(){Ie(!0)}function At(){x("details"),W.dispatch(pe(p))}const me="w-full px-3 py-2 bg-background border border-border rounded text-foreground text-sm focus:outline-none focus:border-primary-ink";function St(t){return t===null?n.settings_devices_accentNone_label():{blue:n.settings_devices_accentBlue_label(),indigo:n.settings_devices_accentIndigo_label(),violet:n.settings_devices_accentViolet_label(),rose:n.settings_devices_accentRose_label(),orange:n.settings_devices_accentOrange_label(),emerald:n.settings_devices_accentEmerald_label(),teal:n.settings_devices_accentTeal_label()}[t]}_e(()=>{if(D()&&x()==="details"&&L()){const t=L();requestAnimationFrame(()=>t.focus())}});let Pe=!1;_e(()=>{const t=D()&&!Pe,o=!D()&&Pe;Pe=D(),o&&nt(we),t&&(I()&&e(A)===""&&a(A,I()),a(ee,P()===void 0?r():P(),!0),s()&&e(E)===""&&a(E,s()),y()!=null&&e(Q)===v&&a(Q,String(y()),!0),W.dispatch(an()))});var wt={reset:we,capture:xt,confirm:yt,enableSyncAndAdd:kt,declineSync:Ct,back:At,get active(){return D()},set active(t){D(t),d()},get step(){return x()},set step(t="details"){x(t),d()},get busy(){return U()},set busy(t=!1){U(t),d()},get canContinue(){return j()},set canContinue(t=!1){j(t),d()},get firstInput(){return L()},set firstInput(t=null){L(t),d()},get prefillHost(){return s()},set prefillHost(t=null){s(t),d()},get prefillPort(){return y()},set prefillPort(t=null){y(t),d()},get prefillLabel(){return I()},set prefillLabel(t=null){I(t),d()},get prefillAccent(){return P()},set prefillAccent(t=void 0){P(t),d()},get defaultAccent(){return r()},set defaultAccent(t=ve){r(t),d()},get showHelp(){return k()},set showHelp(t=!0){k(t),d()},get onDone(){return C()},set onDone(t){C(t),d()},$set:Fe,$on:(t,o)=>Ue(l,t,o)},he=An(),Ke=z(he),It=N(Ke,!0),Ve=c(Ke,2);{var Pt=t=>{var o=yn(),b=V(o),ne=z(b),de=N(ne,!0),ue=c(ne,2);{let u=_(()=>n.modals_connect_name_placeholder());Ae(ue,{id:"connect-name",type:"text",get placeholder(){return e(u)},class:me,autocomplete:"off",get ref(){return L()},set ref(f){L(f)},get value(){return e(A)},set value(f){a(A,f,!0)}})}O(b);var J=c(b,2),$e=z(J),Qe=z($e),Tt=N(Qe,!0),Ge=c(Qe,2);Yt(Ge,21,()=>e(ut),tn,(u,f)=>{{let re=_(()=>lt("flex size-8 cursor-pointer items-center justify-center rounded-full border bg-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",e(f)===e(ee)?"border-foreground shadow-[0_0_0_2px_var(--color-background),0_0_0_4px_var(--color-foreground)]":"border-border hover:border-input")),fe=_(()=>n.modals_connect_accentOption_ariaLabel({color:St(e(f))})),ae=_(()=>e(f)===e(ee));K(u,{type:"button",variant:"plain",get class(){return e(re)},get"aria-label"(){return e(fe)},get"aria-pressed"(){return e(ae)},onclick:()=>a(ee,e(f),!0),children:(xe,ye)=>{var ke=Be(),Te=V(ke);{var Ee=le=>{var Ce=mn();m(le,Ce)},Ne=le=>{var Ce=hn();H(Mt=>en(Ce,1,Mt),[()=>Zt(lt("size-4 rounded-full",ln[e(f)]))]),m(le,Ce)};Z(Te,le=>{e(f)===null?le(Ee):le(Ne,-1)})}m(xe,ke)},$$slots:{default:!0}})}}),O(Ge),O($e);var Et=c($e,2);{let u=_(()=>({deviceIcon:e(se)}));sn(Et,{get record(){return e(u)},portal:!0,contentClass:"z-[calc(var(--layer-modal)+1)]",get value(){return e(se)},set value(f){a(se,f,!0)}})}O(J);var De=c(J,2),Je=z(De),Nt=N(Je,!0),Xe=c(Je,2);{let u=_(()=>n.modals_connect_host_placeholder());Ae(Xe,{id:"connect-host",type:"text",get placeholder(){return e(u)},class:me,autocorrect:"off",autocapitalize:"off",spellcheck:"false",onpaste:mt,oninput:ht,get value(){return e(E)},set value(f){a(E,f,!0)}})}var Ot=c(Xe,2);{let u=_(()=>e(te)!==null);on(Ot,{get relevant(){return e(u)}})}O(De);var He=c(De,2),Ye=z(He),Rt=N(Ye,!0),Ft=c(Ye,2);{let u=_(()=>n.modals_connect_port_placeholder());Ae(Ft,{id:"connect-port",type:"text",inputmode:"numeric",get placeholder(){return e(u)},class:me,autocorrect:"off",autocapitalize:"off",spellcheck:"false",get value(){return e(Q)},set value(f){a(Q,f,!0)}})}O(He);var Le=c(He,2),Ze=z(Le),Ut=N(Ze,!0),jt=c(Ze,2);{let u=_(()=>n.modals_connect_token_placeholder());Ae(jt,{id:"connect-token",type:"password",get placeholder(){return e(u)},class:me,autocorrect:"off",autocapitalize:"off",spellcheck:"false",get value(){return e(G)},set value(f){a(G,f,!0)}})}O(Le);var et=c(Le,2);M(et,()=>e(bt));var tt=c(et,2);{var zt=u=>{M(u,()=>e(gt))};Z(tt,u=>{e(Se)&&u(zt)})}var Bt=c(tt,2);{var qt=u=>{var f=xn(),re=V(f),fe=N(re,!0),ae=c(re,2),xe=z(ae),ye=c(xe);at(ye,"href",S);var ke=c(ye);O(ae),H((Te,Ee,Ne)=>{h(fe,Te),h(xe,`${Ee??""} `),h(ke,` ${Ne??""}`)},[()=>n.modals_connect_whereToFind_help(),()=>n.modals_connect_headless_before(),()=>n.modals_connect_headless_after()]),Jt("click",ye,qe),m(u,f)};Z(Bt,u=>{k()&&u(qt)})}H((u,f,re,fe,ae)=>{h(de,u),h(Tt,f),h(Nt,re),h(Rt,fe),h(Ut,ae)},[()=>n.modals_connect_name_label(),()=>n.settings_devices_accent_label(),()=>n.modals_connect_host_label(),()=>n.modals_connect_port_label(),()=>n.modals_connect_token_label()]),m(t,o)},$t=t=>{var o=kn(),b=z(o),ne=N(b,!0),de=c(b,2),ue=N(de,!0);O(o),H(J=>{h(ne,J),h(ue,e(ge))},[()=>n.modals_connect_fingerprint_label()]),m(t,o)};Z(Ve,t=>{x()==="details"?t(Pt):x()==="confirm"&&t($t,1)})}var Dt=c(Ve,2);{var Ht=t=>{var o=Cn(),b=N(o,!0);H(()=>h(b,e(Me))),m(t,o)};Z(Dt,t=>{e(Me)&&t(Ht)})}O(he),H(t=>{at(he,"aria-busy",e(ce)),h(It,t)},[()=>x()==="details"?n.modals_connect_details_description():x()==="confirm"?n.modals_connect_confirmStep_description():n.modals_connect_enableSync_description()]),m(q,he);var Lt=ze(wt);return F(),Lt}Kt(["click"]);var ot=B("<!> <!>",1),Sn=B("<!> <!> <!>",1);function it(q,l){if(new.target)return Re({component:it,...q});je(l,!0);let p=i(l,"step",7),g=i(l,"busy",7),R=i(l,"canContinue",7),w=i(l,"form",7),T=i(l,"detailsSecondaryLabel",23,()=>n.modals_connect_cancel_label()),F=i(l,"onDetailsSecondary",7);var M={get step(){return p()},set step(s){p(s),d()},get busy(){return g()},set busy(s){g(s),d()},get canContinue(){return R()},set canContinue(s){R(s),d()},get form(){return w()},set form(s){w(s),d()},get detailsSecondaryLabel(){return T()},set detailsSecondaryLabel(s=n.modals_connect_cancel_label()){T(s),d()},get onDetailsSecondary(){return F()},set onDetailsSecondary(s){F(s),d()},$set:Fe,$on:(s,y)=>Ue(l,s,y)},D=Be(),x=V(D);{var U=s=>{var y=ot(),I=V(y);K(I,{variant:"ghost",get disabled(){return g()},get onclick(){return F()},children:(r,k)=>{X();var C=Y();H(()=>h(C,T())),m(r,C)},$$slots:{default:!0}});var P=c(I,2);{let r=_(()=>!R());K(P,{variant:"secondary",onclick:()=>w()?.capture(),get disabled(){return e(r)},children:(k,C)=>{X();var v=Y();H(S=>h(v,S),[()=>g()?n.modals_connect_connecting_label():n.modals_connect_continue_label()]),m(k,v)},$$slots:{default:!0}})}m(s,y)},j=s=>{var y=ot(),I=V(y);K(I,{variant:"ghost",onclick:()=>w()?.back(),get disabled(){return g()},children:(r,k)=>{X();var C=Y();H(v=>h(C,v),[()=>n.modals_connect_back_label()]),m(r,C)},$$slots:{default:!0}});var P=c(I,2);K(P,{variant:"secondary",onclick:()=>w()?.confirm(),get disabled(){return g()},children:(r,k)=>{X();var C=Y();H(v=>h(C,v),[()=>g()?n.modals_connect_connecting_label():n.modals_connect_confirm_label()]),m(r,C)},$$slots:{default:!0}}),m(s,y)},L=s=>{var y=Sn(),I=V(y);K(I,{variant:"ghost",onclick:()=>w()?.back(),get disabled(){return g()},children:(k,C)=>{X();var v=Y();H(S=>h(v,S),[()=>n.modals_connect_back_label()]),m(k,v)},$$slots:{default:!0}});var P=c(I,2);K(P,{variant:"ghost",onclick:()=>w()?.declineSync(),get disabled(){return g()},children:(k,C)=>{X();var v=Y();H(S=>h(v,S),[()=>n.modals_connect_enableSync_decline_label()]),m(k,v)},$$slots:{default:!0}});var r=c(P,2);K(r,{variant:"secondary",onclick:()=>w()?.enableSyncAndAdd(),get disabled(){return g()},children:(k,C)=>{X();var v=Y();H(S=>h(v,S),[()=>g()?n.modals_connect_connecting_label():n.modals_connect_enableSync_confirm_label()]),m(k,v)},$$slots:{default:!0}}),m(s,y)};Z(x,s=>{p()==="details"?s(U):p()==="confirm"?s(j,1):s(L,-1)})}return m(q,D),ze(M)}function wn(q,l){if(new.target)return Re({component:wn,...q});je(l,!0);let p=i(l,"open",15,!1),g=i(l,"prefillHost",7,null),R=i(l,"prefillPort",7,null),w=i(l,"prefillLabel",7,null),T=i(l,"prefillAccent",7,void 0),F=i(l,"defaultAccent",7,ve),M=$(void 0),D=$("details"),x=$(!1),U=$(!1),j=$(null);function L(){p(!1)}var s={get open(){return p()},set open(r=!1){p(r),d()},get prefillHost(){return g()},set prefillHost(r=null){g(r),d()},get prefillPort(){return R()},set prefillPort(r=null){R(r),d()},get prefillLabel(){return w()},set prefillLabel(r=null){w(r),d()},get prefillAccent(){return T()},set prefillAccent(r=void 0){T(r),d()},get defaultAccent(){return F()},set defaultAccent(r=ve){F(r),d()},$set:Fe,$on:(r,k)=>Ue(l,r,k)},y=Be(),I=V(y);{var P=r=>{{const k=S=>{it(S,{get step(){return e(D)},get busy(){return e(x)},get canContinue(){return e(U)},get form(){return e(M)},onDetailsSecondary:L})};let C=_(()=>n.modals_connect_title()),v=_(()=>n.modals_connect_close_ariaLabel());rn(r,{get title(){return e(C)},get closeLabel(){return e(v)},get busy(){return e(x)},get initialFocus(){return e(j)},onClose:L,dismissOnInteractOutside:!1,get open(){return p()},set open(S){p(S)},footer:k,children:(S,qe)=>{Xt(ct(S,{get active(){return p()},get prefillHost(){return g()},get prefillPort(){return R()},get prefillLabel(){return w()},get prefillAccent(){return T()},get defaultAccent(){return F()},onDone:L,get step(){return e(D)},set step(A){a(D,A,!0)},get busy(){return e(x)},set busy(A){a(x,A,!0)},get canContinue(){return e(U)},set canContinue(A){a(U,A,!0)},get firstInput(){return e(j)},set firstInput(A){a(j,A,!0)}}),A=>a(M,A,!0),()=>e(M))},$$slots:{footer:!0,default:!0}})}};Z(I,r=>{p()&&r(P)})}return m(q,y),ze(s)}export{it as C,ct as a,wn as b};
1
+ import{t as Re,bq as i,a_ as Z,bo as n,by as Fe,bu as Oe,bs as Wt,b as Ue}from"./Dso1_H3c.js";import{ai as Kt,bo as Vt,bs as je,bV as $,br as Qt,ca as _e,aD as e,bj as Gt,bH as a,c5 as nt,a5 as z,bl as N,bS as c,bA as O,b_ as H,bO as h,W as m,bn as ze,c9 as _,aA as d,ay as V,a7 as Be,aB as B,bf as rt,aj as Jt,be as X,b$ as Y}from"./DYhIMPy1.js";import{b as Xt}from"./BaIAhI85.js";import{u as at,n as Yt,j as Zt,l as lt,v as en,p as tn}from"./CnMdEUN9.js";import"./BuxSPewv.js";import"./9oNS7b_T.js";import"./BfNeIJAh.js";import{f as K}from"./m5UczIQR.js";import"./CKJpktTE.js";import{s as nn,c as rn}from"./Az9OQ8Pw.js";import{x as ve,Ik as W,hI as pe,s8 as an,hL as st}from"./Dk1_0x0Q.js";import{C as ln,b as sn,T as on,c as cn,S as dn}from"./Dzg-ll0I.js";import{I as Ae}from"./C5vuxPIj.js";import"./DXNrmOAj.js";import"./BAOVYkFF.js";import"./GY5YfSD1.js";import"./ChTqQfQN.js";import"./DCD7Mz5K.js";import{o as un}from"./DIP3ex32.js";import{ag as fn,aQ as _n,aH as pn,F as vn}from"./CZ_kVWbN.js";import{i as bn,p as gn}from"./71wna1Z8.js";var mn=B('<span class="size-4 rounded-full border border-muted-foreground/60 bg-background" aria-hidden="true"></span>'),hn=B('<span aria-hidden="true"></span>'),xn=B('<p class="text-xs text-subtle"> </p> <p class="text-xs text-subtle"> <a class="text-primary-ink hover:underline">github.com/intent-hq/intentd</a> </p>',1),yn=B('<div class="space-y-1"><label class="text-xs text-subtle" for="connect-name"> </label> <!></div> <div class="flex min-w-0 items-end gap-4" data-connect-appearance=""><fieldset class="min-w-0 flex-1 space-y-1"><legend class="text-xs text-subtle"> </legend> <div class="flex flex-wrap gap-1"></div></fieldset> <!></div> <div class="space-y-1"><label class="text-xs text-subtle" for="connect-host"> </label> <!> <!></div> <div class="space-y-1"><label class="text-xs text-subtle" for="connect-port"> </label> <!></div> <div class="space-y-1"><label class="text-xs text-subtle" for="connect-token"> </label> <!></div> <!> <!> <!>',1),kn=B('<div class="space-y-1"><span class="text-xs text-subtle"> </span> <p class="font-mono text-xs break-all bg-muted/50 rounded p-2"> </p></div>'),Cn=B('<p class="text-xs text-danger" role="alert"> </p>'),An=B('<div class="space-y-4"><p class="text-sm text-subtle" role="status" aria-live="polite"> </p> <!> <!></div>');function ct(q,l){const p=Vt();if(new.target)return Re({component:ct,...q});je(l,!0);const g=()=>Oe(dt,"$workflow$",T),R=()=>Oe(pt,"$hostManagesConnections$",T),w=()=>Oe(_t,"$syncState$",T),[T,F]=Wt(),M=(t,o=rt)=>{{const b=(de,ue=rt)=>{{let J=_(()=>({...ue(),entry:o(),controlId:o().id}));dn(de,{get entry(){return o()},get context(){return e(J)}})}};let ne=_(()=>`${o().id}-field`);nn(t,{get id(){return e(ne)},get label(){return o().label},get description(){return o().description},get htmlFor(){return o().id},get disabled(){return e(ce)},get busy(){return e(ce)},compact:!0,class:"grid-cols-[minmax(0,1fr)_auto] items-start py-0 first:pt-0 last:pb-0 [&_[data-field-control]]:w-auto",control:b,$$slots:{control:!0}})}};let D=i(l,"active",7),x=i(l,"step",15,"details"),U=i(l,"busy",15,!1),j=i(l,"canContinue",15,!1),L=i(l,"firstInput",15,null),s=i(l,"prefillHost",7,null),y=i(l,"prefillPort",7,null),I=i(l,"prefillLabel",7,null),P=i(l,"prefillAccent",7,void 0),r=i(l,"defaultAccent",7,ve),k=i(l,"showHelp",7,!0),C=i(l,"onDone",7);const v="5181",S="https://github.com/intent-hq/intentd";function qe(t){t.preventDefault(),un(S)}let A=$(""),ee=$(Qt(ve)),se=$("auto"),E=$(""),Q=$(v),G=$(""),te=$(null),be=$(!0),oe=$(!0),ge=$("");const dt=fn(p),ce=_(()=>!!g()&&g().phase!=="settled");_e(()=>{U(e(ce))});const Me=_(()=>{const t=g()?.outcome;return t?.kind==="error"||t?.kind==="syncError"?t.message:t?.kind==="secretUnavailable"?n.modals_connect_secretUnavailable_error():t?.kind==="captureRejected"?t.statusCode===403?n.modals_connect_wsApiDisabled_error():n.modals_connect_tokenRejected_error():null});Gt(()=>W.dispatch(pe(p))),_e(()=>{const t=g()?.outcome;t?.kind==="captured"?(a(ge,t.fingerprint,!0),x("confirm"),W.dispatch(pe(p))):t?.kind==="done"&&nt(()=>{we(),C()()})});const ut=_(()=>cn(P()===void 0?r():P())),ft=typeof window<"u"&&window.electronAPI?.platform==="darwin",_t=_n(),pt=pn(),Se=_(()=>!R()&&(w()?.supported??ft)),vt=_(()=>w()?.enabled??!1),bt=_(()=>({kind:"switch",id:"connect-detect-hosts",label:n.modals_connect_detectHosts_label(),description:n.modals_connect_detectHosts_description(),get:()=>e(be),set:t=>{a(be,t,!0)}})),gt=_(()=>({kind:"switch",id:"connect-save-to-icloud",label:n.modals_connect_saveToICloud_label(),description:n.modals_connect_saveToICloud_description(),get:()=>e(oe),set:t=>{a(oe,t,!0)}})),ie=_(()=>Number(e(Q).trim())),We=_(()=>e(A).trim().length>0&&e(E).trim().length>0&&Number.isInteger(e(ie))&&e(ie)>0&&e(ie)<=65535&&e(G).trim().length>0&&!e(ce));_e(()=>{j(e(We))});function we(){x("details"),a(A,""),a(ee,r(),!0),a(se,"auto"),a(E,""),a(Q,v),a(G,""),a(te,null),a(be,!0),a(oe,!0),a(ge,""),W.dispatch(pe(p))}function mt(t){const o=t.clipboardData?.getData("text")??"";if(!bn(o))return;const b=gn(o);b&&(t.preventDefault(),b.hosts.length>0&&a(E,b.hosts[0],!0),b.port!==null&&a(Q,String(b.port),!0),b.token&&a(G,b.token,!0),a(te,b.tcAddress,!0))}function ht(){a(te,vn(e(E))?e(E).trim():null,!0)}function xt(){e(We)&&W.dispatch(st(p,{kind:"capture",params:{host:e(E).trim(),port:e(ie),token:e(G).trim()}}))}function yt(){if(e(Se)&&!e(vt)&&e(oe)){W.dispatch(pe(p)),x("syncConfirm");return}Ie(e(Se)&&!e(oe))}function Ie(t,o={}){const b=e(E).trim();W.dispatch(st(p,{kind:"connect",enableSync:o.enableSyncAfterAdd===!0,params:{label:e(A).trim(),accent:e(ee),deviceIcon:e(se),host:b,port:e(ie),fingerprint:e(ge),token:e(G).trim(),...e(te)?{tcAddress:e(te)}:{},detectHosts:e(be),...t?{syncExcluded:!0}:{}}}))}function kt(){Ie(!1,{enableSyncAfterAdd:!0})}function Ct(){Ie(!0)}function At(){x("details"),W.dispatch(pe(p))}const me="w-full px-3 py-2 bg-background border border-border rounded text-foreground text-sm focus:outline-none focus:border-primary-ink";function St(t){return t===null?n.settings_devices_accentNone_label():{blue:n.settings_devices_accentBlue_label(),indigo:n.settings_devices_accentIndigo_label(),violet:n.settings_devices_accentViolet_label(),rose:n.settings_devices_accentRose_label(),orange:n.settings_devices_accentOrange_label(),emerald:n.settings_devices_accentEmerald_label(),teal:n.settings_devices_accentTeal_label()}[t]}_e(()=>{if(D()&&x()==="details"&&L()){const t=L();requestAnimationFrame(()=>t.focus())}});let Pe=!1;_e(()=>{const t=D()&&!Pe,o=!D()&&Pe;Pe=D(),o&&nt(we),t&&(I()&&e(A)===""&&a(A,I()),a(ee,P()===void 0?r():P(),!0),s()&&e(E)===""&&a(E,s()),y()!=null&&e(Q)===v&&a(Q,String(y()),!0),W.dispatch(an()))});var wt={reset:we,capture:xt,confirm:yt,enableSyncAndAdd:kt,declineSync:Ct,back:At,get active(){return D()},set active(t){D(t),d()},get step(){return x()},set step(t="details"){x(t),d()},get busy(){return U()},set busy(t=!1){U(t),d()},get canContinue(){return j()},set canContinue(t=!1){j(t),d()},get firstInput(){return L()},set firstInput(t=null){L(t),d()},get prefillHost(){return s()},set prefillHost(t=null){s(t),d()},get prefillPort(){return y()},set prefillPort(t=null){y(t),d()},get prefillLabel(){return I()},set prefillLabel(t=null){I(t),d()},get prefillAccent(){return P()},set prefillAccent(t=void 0){P(t),d()},get defaultAccent(){return r()},set defaultAccent(t=ve){r(t),d()},get showHelp(){return k()},set showHelp(t=!0){k(t),d()},get onDone(){return C()},set onDone(t){C(t),d()},$set:Fe,$on:(t,o)=>Ue(l,t,o)},he=An(),Ke=z(he),It=N(Ke,!0),Ve=c(Ke,2);{var Pt=t=>{var o=yn(),b=V(o),ne=z(b),de=N(ne,!0),ue=c(ne,2);{let u=_(()=>n.modals_connect_name_placeholder());Ae(ue,{id:"connect-name",type:"text",get placeholder(){return e(u)},class:me,autocomplete:"off",get ref(){return L()},set ref(f){L(f)},get value(){return e(A)},set value(f){a(A,f,!0)}})}O(b);var J=c(b,2),$e=z(J),Qe=z($e),Tt=N(Qe,!0),Ge=c(Qe,2);Yt(Ge,21,()=>e(ut),tn,(u,f)=>{{let re=_(()=>lt("flex size-8 cursor-pointer items-center justify-center rounded-full border bg-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",e(f)===e(ee)?"border-foreground shadow-[0_0_0_2px_var(--color-background),0_0_0_4px_var(--color-foreground)]":"border-border hover:border-input")),fe=_(()=>n.modals_connect_accentOption_ariaLabel({color:St(e(f))})),ae=_(()=>e(f)===e(ee));K(u,{type:"button",variant:"plain",get class(){return e(re)},get"aria-label"(){return e(fe)},get"aria-pressed"(){return e(ae)},onclick:()=>a(ee,e(f),!0),children:(xe,ye)=>{var ke=Be(),Te=V(ke);{var Ee=le=>{var Ce=mn();m(le,Ce)},Ne=le=>{var Ce=hn();H(Mt=>en(Ce,1,Mt),[()=>Zt(lt("size-4 rounded-full",ln[e(f)]))]),m(le,Ce)};Z(Te,le=>{e(f)===null?le(Ee):le(Ne,-1)})}m(xe,ke)},$$slots:{default:!0}})}}),O(Ge),O($e);var Et=c($e,2);{let u=_(()=>({deviceIcon:e(se)}));sn(Et,{get record(){return e(u)},portal:!0,contentClass:"z-[calc(var(--layer-modal)+1)]",get value(){return e(se)},set value(f){a(se,f,!0)}})}O(J);var De=c(J,2),Je=z(De),Nt=N(Je,!0),Xe=c(Je,2);{let u=_(()=>n.modals_connect_host_placeholder());Ae(Xe,{id:"connect-host",type:"text",get placeholder(){return e(u)},class:me,autocorrect:"off",autocapitalize:"off",spellcheck:"false",onpaste:mt,oninput:ht,get value(){return e(E)},set value(f){a(E,f,!0)}})}var Ot=c(Xe,2);{let u=_(()=>e(te)!==null);on(Ot,{get relevant(){return e(u)}})}O(De);var He=c(De,2),Ye=z(He),Rt=N(Ye,!0),Ft=c(Ye,2);{let u=_(()=>n.modals_connect_port_placeholder());Ae(Ft,{id:"connect-port",type:"text",inputmode:"numeric",get placeholder(){return e(u)},class:me,autocorrect:"off",autocapitalize:"off",spellcheck:"false",get value(){return e(Q)},set value(f){a(Q,f,!0)}})}O(He);var Le=c(He,2),Ze=z(Le),Ut=N(Ze,!0),jt=c(Ze,2);{let u=_(()=>n.modals_connect_token_placeholder());Ae(jt,{id:"connect-token",type:"password",get placeholder(){return e(u)},class:me,autocorrect:"off",autocapitalize:"off",spellcheck:"false",get value(){return e(G)},set value(f){a(G,f,!0)}})}O(Le);var et=c(Le,2);M(et,()=>e(bt));var tt=c(et,2);{var zt=u=>{M(u,()=>e(gt))};Z(tt,u=>{e(Se)&&u(zt)})}var Bt=c(tt,2);{var qt=u=>{var f=xn(),re=V(f),fe=N(re,!0),ae=c(re,2),xe=z(ae),ye=c(xe);at(ye,"href",S);var ke=c(ye);O(ae),H((Te,Ee,Ne)=>{h(fe,Te),h(xe,`${Ee??""} `),h(ke,` ${Ne??""}`)},[()=>n.modals_connect_whereToFind_help(),()=>n.modals_connect_headless_before(),()=>n.modals_connect_headless_after()]),Jt("click",ye,qe),m(u,f)};Z(Bt,u=>{k()&&u(qt)})}H((u,f,re,fe,ae)=>{h(de,u),h(Tt,f),h(Nt,re),h(Rt,fe),h(Ut,ae)},[()=>n.modals_connect_name_label(),()=>n.settings_devices_accent_label(),()=>n.modals_connect_host_label(),()=>n.modals_connect_port_label(),()=>n.modals_connect_token_label()]),m(t,o)},$t=t=>{var o=kn(),b=z(o),ne=N(b,!0),de=c(b,2),ue=N(de,!0);O(o),H(J=>{h(ne,J),h(ue,e(ge))},[()=>n.modals_connect_fingerprint_label()]),m(t,o)};Z(Ve,t=>{x()==="details"?t(Pt):x()==="confirm"&&t($t,1)})}var Dt=c(Ve,2);{var Ht=t=>{var o=Cn(),b=N(o,!0);H(()=>h(b,e(Me))),m(t,o)};Z(Dt,t=>{e(Me)&&t(Ht)})}O(he),H(t=>{at(he,"aria-busy",e(ce)),h(It,t)},[()=>x()==="details"?n.modals_connect_details_description():x()==="confirm"?n.modals_connect_confirmStep_description():n.modals_connect_enableSync_description()]),m(q,he);var Lt=ze(wt);return F(),Lt}Kt(["click"]);var ot=B("<!> <!>",1),Sn=B("<!> <!> <!>",1);function it(q,l){if(new.target)return Re({component:it,...q});je(l,!0);let p=i(l,"step",7),g=i(l,"busy",7),R=i(l,"canContinue",7),w=i(l,"form",7),T=i(l,"detailsSecondaryLabel",23,()=>n.modals_connect_cancel_label()),F=i(l,"onDetailsSecondary",7);var M={get step(){return p()},set step(s){p(s),d()},get busy(){return g()},set busy(s){g(s),d()},get canContinue(){return R()},set canContinue(s){R(s),d()},get form(){return w()},set form(s){w(s),d()},get detailsSecondaryLabel(){return T()},set detailsSecondaryLabel(s=n.modals_connect_cancel_label()){T(s),d()},get onDetailsSecondary(){return F()},set onDetailsSecondary(s){F(s),d()},$set:Fe,$on:(s,y)=>Ue(l,s,y)},D=Be(),x=V(D);{var U=s=>{var y=ot(),I=V(y);K(I,{variant:"ghost",get disabled(){return g()},get onclick(){return F()},children:(r,k)=>{X();var C=Y();H(()=>h(C,T())),m(r,C)},$$slots:{default:!0}});var P=c(I,2);{let r=_(()=>!R());K(P,{variant:"secondary",onclick:()=>w()?.capture(),get disabled(){return e(r)},children:(k,C)=>{X();var v=Y();H(S=>h(v,S),[()=>g()?n.modals_connect_connecting_label():n.modals_connect_continue_label()]),m(k,v)},$$slots:{default:!0}})}m(s,y)},j=s=>{var y=ot(),I=V(y);K(I,{variant:"ghost",onclick:()=>w()?.back(),get disabled(){return g()},children:(r,k)=>{X();var C=Y();H(v=>h(C,v),[()=>n.modals_connect_back_label()]),m(r,C)},$$slots:{default:!0}});var P=c(I,2);K(P,{variant:"secondary",onclick:()=>w()?.confirm(),get disabled(){return g()},children:(r,k)=>{X();var C=Y();H(v=>h(C,v),[()=>g()?n.modals_connect_connecting_label():n.modals_connect_confirm_label()]),m(r,C)},$$slots:{default:!0}}),m(s,y)},L=s=>{var y=Sn(),I=V(y);K(I,{variant:"ghost",onclick:()=>w()?.back(),get disabled(){return g()},children:(k,C)=>{X();var v=Y();H(S=>h(v,S),[()=>n.modals_connect_back_label()]),m(k,v)},$$slots:{default:!0}});var P=c(I,2);K(P,{variant:"ghost",onclick:()=>w()?.declineSync(),get disabled(){return g()},children:(k,C)=>{X();var v=Y();H(S=>h(v,S),[()=>n.modals_connect_enableSync_decline_label()]),m(k,v)},$$slots:{default:!0}});var r=c(P,2);K(r,{variant:"secondary",onclick:()=>w()?.enableSyncAndAdd(),get disabled(){return g()},children:(k,C)=>{X();var v=Y();H(S=>h(v,S),[()=>g()?n.modals_connect_connecting_label():n.modals_connect_enableSync_confirm_label()]),m(k,v)},$$slots:{default:!0}}),m(s,y)};Z(x,s=>{p()==="details"?s(U):p()==="confirm"?s(j,1):s(L,-1)})}return m(q,D),ze(M)}function wn(q,l){if(new.target)return Re({component:wn,...q});je(l,!0);let p=i(l,"open",15,!1),g=i(l,"prefillHost",7,null),R=i(l,"prefillPort",7,null),w=i(l,"prefillLabel",7,null),T=i(l,"prefillAccent",7,void 0),F=i(l,"defaultAccent",7,ve),M=$(void 0),D=$("details"),x=$(!1),U=$(!1),j=$(null);function L(){p(!1)}var s={get open(){return p()},set open(r=!1){p(r),d()},get prefillHost(){return g()},set prefillHost(r=null){g(r),d()},get prefillPort(){return R()},set prefillPort(r=null){R(r),d()},get prefillLabel(){return w()},set prefillLabel(r=null){w(r),d()},get prefillAccent(){return T()},set prefillAccent(r=void 0){T(r),d()},get defaultAccent(){return F()},set defaultAccent(r=ve){F(r),d()},$set:Fe,$on:(r,k)=>Ue(l,r,k)},y=Be(),I=V(y);{var P=r=>{{const k=S=>{it(S,{get step(){return e(D)},get busy(){return e(x)},get canContinue(){return e(U)},get form(){return e(M)},onDetailsSecondary:L})};let C=_(()=>n.modals_connect_title()),v=_(()=>n.modals_connect_close_ariaLabel());rn(r,{get title(){return e(C)},get closeLabel(){return e(v)},get busy(){return e(x)},get initialFocus(){return e(j)},onClose:L,dismissOnInteractOutside:!1,get open(){return p()},set open(S){p(S)},footer:k,children:(S,qe)=>{Xt(ct(S,{get active(){return p()},get prefillHost(){return g()},get prefillPort(){return R()},get prefillLabel(){return w()},get prefillAccent(){return T()},get defaultAccent(){return F()},onDone:L,get step(){return e(D)},set step(A){a(D,A,!0)},get busy(){return e(x)},set busy(A){a(x,A,!0)},get canContinue(){return e(U)},set canContinue(A){a(U,A,!0)},get firstInput(){return e(j)},set firstInput(A){a(j,A,!0)}}),A=>a(M,A,!0),()=>e(M))},$$slots:{footer:!0,default:!0}})}};Z(I,r=>{p()&&r(P)})}return m(q,y),ze(s)}export{it as C,ct as a,wn as b};
@@ -1 +1 @@
1
- import{b as i}from"./BkUS-e35.js";function t(c,e){c.accDescr&&e.setAccDescription?.(c.accDescr),c.accTitle&&e.setAccTitle?.(c.accTitle),c.title&&e.setDiagramTitle?.(c.title)}i(t,"populateCommonDb");export{t as p};
1
+ import{b as i}from"./D0BUPqIH.js";function t(c,e){c.accDescr&&e.setAccDescription?.(c.accDescr),c.accTitle&&e.setAccTitle?.(c.accTitle),c.title&&e.setDiagramTitle?.(c.title)}i(t,"populateCommonDb");export{t as p};
@@ -1,3 +1,3 @@
1
- import{l as c}from"./D5BJwiCX.js";const s=["assign","flush","ftl","return","global","import","include","break","continue","local","nested","nt","setting","stop","t","lt","rt","fallback"],d=["attempt","autoesc","autoEsc","compress","comment","escape","noescape","function","if","list","items","sep","macro","noparse","noParse","noautoesc","noAutoEsc","outputformat","switch","visit","recurse"],a={close:">",id:"angle",open:"<"},r={close:"\\]",id:"bracket",open:"\\["},F={close:"[>\\]]",id:"auto",open:"[<\\[]"},k={close:"\\}",id:"dollar",open1:"\\$",open2:"\\{"},p={close:"\\]",id:"bracket",open1:"\\[",open2:"="};function l(t){return{brackets:[["<",">"],["[","]"],["(",")"],["{","}"]],comments:{blockComment:[`${t.open}--`,`--${t.close}`]},autoCloseBefore:`
1
+ import{l as c}from"./35OKERyz.js";const s=["assign","flush","ftl","return","global","import","include","break","continue","local","nested","nt","setting","stop","t","lt","rt","fallback"],d=["attempt","autoesc","autoEsc","compress","comment","escape","noescape","function","if","list","items","sep","macro","noparse","noParse","noautoesc","noAutoEsc","outputformat","switch","visit","recurse"],a={close:">",id:"angle",open:"<"},r={close:"\\]",id:"bracket",open:"\\["},F={close:"[>\\]]",id:"auto",open:"[<\\[]"},k={close:"\\}",id:"dollar",open1:"\\$",open2:"\\{"},p={close:"\\]",id:"bracket",open1:"\\[",open2:"="};function l(t){return{brackets:[["<",">"],["[","]"],["(",")"],["{","}"]],comments:{blockComment:[`${t.open}--`,`--${t.close}`]},autoCloseBefore:`
2
2
  \r }]),.:;=`,autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],folding:{markers:{start:new RegExp(`${t.open}#(?:${d.join("|")})([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),end:new RegExp(`${t.open}/#(?:${d.join("|")})[\\r\\n\\t ]*>`)}},onEnterRules:[{beforeText:new RegExp(`${t.open}#(?!(?:${s.join("|")}))([a-zA-Z_]+)([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),afterText:new RegExp(`^${t.open}/#([a-zA-Z_]+)[\\r\\n\\t ]*${t.close}$`),action:{indentAction:c.IndentAction.IndentOutdent}},{beforeText:new RegExp(`${t.open}#(?!(?:${s.join("|")}))([a-zA-Z_]+)([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),action:{indentAction:c.IndentAction.Indent}}]}}function g(){return{brackets:[["<",">"],["[","]"],["(",")"],["{","}"]],autoCloseBefore:`
3
3
  \r }]),.:;=`,autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],folding:{markers:{start:new RegExp(`[<\\[]#(?:${d.join("|")})([^/>\\]]*(?!/)[>\\]])[^<\\[]*$`),end:new RegExp(`[<\\[]/#(?:${d.join("|")})[\\r\\n\\t ]*>`)}},onEnterRules:[{beforeText:new RegExp(`[<\\[]#(?!(?:${s.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),afterText:new RegExp("^[<\\[]/#([a-zA-Z_]+)[\\r\\n\\t ]*[>\\]]$"),action:{indentAction:c.IndentAction.IndentOutdent}},{beforeText:new RegExp(`[<\\[]#(?!(?:${s.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),action:{indentAction:c.IndentAction.Indent}}]}}function _(t,n){const i=`_${t.id}_${n.id}`,e=u=>u.replace(/__id__/g,i),o=u=>{const m=u.source.replace(/__id__/g,i);return new RegExp(m,u.flags)};return{unicode:!0,includeLF:!1,start:e("default__id__"),ignoreCase:!1,defaultToken:"invalid",tokenPostfix:".freemarker2",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],[e("open__id__")]:new RegExp(t.open),[e("close__id__")]:new RegExp(t.close),[e("iOpen1__id__")]:new RegExp(n.open1),[e("iOpen2__id__")]:new RegExp(n.open2),[e("iClose__id__")]:new RegExp(n.close),[e("startTag__id__")]:o(/(@open__id__)(#)/),[e("endTag__id__")]:o(/(@open__id__)(\/#)/),[e("startOrEndTag__id__")]:o(/(@open__id__)(\/?#)/),[e("closeTag1__id__")]:o(/((?:@blank)*)(@close__id__)/),[e("closeTag2__id__")]:o(/((?:@blank)*\/?)(@close__id__)/),blank:/[ \t\n\r]/,keywords:["false","true","in","as","using"],directiveStartCloseTag1:/attempt|recover|sep|auto[eE]sc|no(?:autoe|AutoE)sc|compress|default|no[eE]scape|comment|no[pP]arse/,directiveStartCloseTag2:/else|break|continue|return|stop|flush|t|lt|rt|nt|nested|recurse|fallback|ftl/,directiveStartBlank:/if|else[iI]f|list|for[eE]ach|switch|case|assign|global|local|include|import|function|macro|transform|visit|stop|return|call|setting|output[fF]ormat|nested|recurse|escape|ftl|items/,directiveEndCloseTag1:/if|list|items|sep|recover|attempt|for[eE]ach|local|global|assign|function|macro|output[fF]ormat|auto[eE]sc|no(?:autoe|AutoE)sc|compress|transform|switch|escape|no[eE]scape/,escapedChar:/\\(?:[ntrfbgla\\'"\{=]|(?:x[0-9A-Fa-f]{1,4}))/,asciiDigit:/[0-9]/,integer:/[0-9]+/,nonEscapedIdStartChar:/[\$@-Z_a-z\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u1FFF\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3040-\u318F\u31A0-\u31BA\u31F0-\u31FF\u3300-\u337F\u3400-\u4DB5\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,escapedIdChar:/\\[\-\.:#]/,idStartChar:/(?:@nonEscapedIdStartChar)|(?:@escapedIdChar)/,id:/(?:@idStartChar)(?:(?:@idStartChar)|(?:@asciiDigit))*/,specialHashKeys:/\*\*|\*|false|true|in|as|using/,namedSymbols:/&lt;=|&gt;=|\\lte|\\lt|&lt;|\\gte|\\gt|&gt;|&amp;&amp;|\\and|-&gt;|->|==|!=|\+=|-=|\*=|\/=|%=|\+\+|--|<=|&&|\|\||:|\.\.\.|\.\.\*|\.\.<|\.\.!|\?\?|=|<|\+|-|\*|\/|%|\||\.\.|\?|!|&|\.|,|;/,arrows:["->","-&gt;"],delimiters:[";",":",",","."],stringOperators:["lte","lt","gte","gt"],noParseTags:["noparse","noParse","comment"],tokenizer:{[e("default__id__")]:[{include:e("@directive_token__id__")},{include:e("@interpolation_and_text_token__id__")}],[e("fmExpression__id__.directive")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@directive_end_token__id__")},{include:e("@expression_token__id__")}],[e("fmExpression__id__.interpolation")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@expression_token__id__")},{include:e("@greater_operators_token__id__")}],[e("inParen__id__.plain")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@directive_end_token__id__")},{include:e("@expression_token__id__")}],[e("inParen__id__.gt")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@expression_token__id__")},{include:e("@greater_operators_token__id__")}],[e("noSpaceExpression__id__")]:[{include:e("@no_space_expression_end_token__id__")},{include:e("@directive_end_token__id__")},{include:e("@expression_token__id__")}],[e("unifiedCall__id__")]:[{include:e("@unified_call_token__id__")}],[e("singleString__id__")]:[{include:e("@string_single_token__id__")}],[e("doubleString__id__")]:[{include:e("@string_double_token__id__")}],[e("rawSingleString__id__")]:[{include:e("@string_single_raw_token__id__")}],[e("rawDoubleString__id__")]:[{include:e("@string_double_raw_token__id__")}],[e("expressionComment__id__")]:[{include:e("@expression_comment_token__id__")}],[e("noParse__id__")]:[{include:e("@no_parse_token__id__")}],[e("terseComment__id__")]:[{include:e("@terse_comment_token__id__")}],[e("directive_token__id__")]:[[o(/(?:@startTag__id__)(@directiveStartCloseTag1)(?:@closeTag1__id__)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{cases:{"@noParseTags":{token:"tag",next:e("@noParse__id__.$3")},"@default":{token:"tag"}}},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[o(/(?:@startTag__id__)(@directiveStartCloseTag2)(?:@closeTag2__id__)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[o(/(?:@startTag__id__)(@directiveStartBlank)(@blank)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"",next:e("@fmExpression__id__.directive")}]],[o(/(?:@endTag__id__)(@directiveEndCloseTag1)(?:@closeTag1__id__)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[o(/(@open__id__)(@)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive",next:e("@unifiedCall__id__")}]],[o(/(@open__id__)(\/@)((?:(?:@id)(?:\.(?:@id))*)?)(?:@closeTag1__id__)/),[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[o(/(@open__id__)#--/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:{token:"comment",next:e("@terseComment__id__")}],[o(/(?:@startOrEndTag__id__)([a-zA-Z_]+)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag.invalid",next:e("@fmExpression__id__.directive")}]]],[e("interpolation_and_text_token__id__")]:[[o(/(@iOpen1__id__)(@iOpen2__id__)/),[{token:n.id==="bracket"?"@brackets.interpolation":"delimiter.interpolation"},{token:n.id==="bracket"?"delimiter.interpolation":"@brackets.interpolation",next:e("@fmExpression__id__.interpolation")}]],[/[\$#<\[\{]|(?:@blank)+|[^\$<#\[\{\n\r\t ]+/,{token:"source"}]],[e("string_single_token__id__")]:[[/[^'\\]/,{token:"string"}],[/@escapedChar/,{token:"string.escape"}],[/'/,{token:"string",next:"@pop"}]],[e("string_double_token__id__")]:[[/[^"\\]/,{token:"string"}],[/@escapedChar/,{token:"string.escape"}],[/"/,{token:"string",next:"@pop"}]],[e("string_single_raw_token__id__")]:[[/[^']+/,{token:"string.raw"}],[/'/,{token:"string.raw",next:"@pop"}]],[e("string_double_raw_token__id__")]:[[/[^"]+/,{token:"string.raw"}],[/"/,{token:"string.raw",next:"@pop"}]],[e("expression_token__id__")]:[[/(r?)(['"])/,{cases:{"r'":[{token:"keyword"},{token:"string.raw",next:e("@rawSingleString__id__")}],'r"':[{token:"keyword"},{token:"string.raw",next:e("@rawDoubleString__id__")}],"'":[{token:"source"},{token:"string",next:e("@singleString__id__")}],'"':[{token:"source"},{token:"string",next:e("@doubleString__id__")}]}}],[/(?:@integer)(?:\.(?:@integer))?/,{cases:{"(?:@integer)":{token:"number"},"@default":{token:"number.float"}}}],[/(\.)(@blank*)(@specialHashKeys)/,[{token:"delimiter"},{token:""},{token:"identifier"}]],[/(?:@namedSymbols)/,{cases:{"@arrows":{token:"meta.arrow"},"@delimiters":{token:"delimiter"},"@default":{token:"operators"}}}],[/@id/,{cases:{"@keywords":{token:"keyword.$0"},"@stringOperators":{token:"operators"},"@default":{token:"identifier"}}}],[/[\[\]\(\)\{\}]/,{cases:{"\\[":{cases:{"$S2==gt":{token:"@brackets",next:e("@inParen__id__.gt")},"@default":{token:"@brackets",next:e("@inParen__id__.plain")}}},"\\]":{cases:{...n.id==="bracket"?{"$S2==interpolation":{token:"@brackets.interpolation",next:"@popall"}}:{},...t.id==="bracket"?{"$S2==directive":{token:"@brackets.directive",next:"@popall"}}:{},[e("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}},"\\(":{token:"@brackets",next:e("@inParen__id__.gt")},"\\)":{cases:{[e("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}},"\\{":{cases:{"$S2==gt":{token:"@brackets",next:e("@inParen__id__.gt")},"@default":{token:"@brackets",next:e("@inParen__id__.plain")}}},"\\}":{cases:{...n.id==="bracket"?{}:{"$S2==interpolation":{token:"@brackets.interpolation",next:"@popall"}},[e("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}}}}],[/\$\{/,{token:"delimiter.invalid"}]],[e("blank_and_expression_comment_token__id__")]:[[/(?:@blank)+/,{token:""}],[/[<\[][#!]--/,{token:"comment",next:e("@expressionComment__id__")}]],[e("directive_end_token__id__")]:[[/>/,t.id==="bracket"?{token:"operators"}:{token:"@brackets.directive",next:"@popall"}],[o(/(\/)(@close__id__)/),[{token:"delimiter.directive"},{token:"@brackets.directive",next:"@popall"}]]],[e("greater_operators_token__id__")]:[[/>/,{token:"operators"}],[/>=/,{token:"operators"}]],[e("no_space_expression_end_token__id__")]:[[/(?:@blank)+/,{token:"",switchTo:e("@fmExpression__id__.directive")}]],[e("unified_call_token__id__")]:[[/(@id)((?:@blank)+)/,[{token:"tag"},{token:"",next:e("@fmExpression__id__.directive")}]],[o(/(@id)(\/?)(@close__id__)/),[{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive",next:"@popall"}]],[/./,{token:"@rematch",next:e("@noSpaceExpression__id__")}]],[e("no_parse_token__id__")]:[[o(/(@open__id__)(\/#?)([a-zA-Z]+)((?:@blank)*)(@close__id__)/),{cases:{"$S2==$3":[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:""},{token:"@brackets.directive",next:"@popall"}],"$S2==comment":[{token:"comment"},{token:"comment"},{token:"comment"},{token:"comment"},{token:"comment"}],"@default":[{token:"source"},{token:"source"},{token:"source"},{token:"source"},{token:"source"}]}}],[/[^<\[\-]+|[<\[\-]/,{cases:{"$S2==comment":{token:"comment"},"@default":{token:"source"}}}]],[e("expression_comment_token__id__")]:[[/--[>\]]/,{token:"comment",next:"@pop"}],[/[^\->\]]+|[>\]\-]/,{token:"comment"}]],[e("terse_comment_token__id__")]:[[o(/--(?:@close__id__)/),{token:"comment",next:"@popall"}],[/[^<\[\-]+|[<\[\-]/,{token:"comment"}]]}}}function A(t){const n=_(a,t),i=_(r,t),e=_(F,t);return{...n,...i,...e,unicode:!0,includeLF:!1,start:`default_auto_${t.id}`,ignoreCase:!1,defaultToken:"invalid",tokenPostfix:".freemarker2",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{...n.tokenizer,...i.tokenizer,...e.tokenizer}}}const b={conf:l(a),language:_(a,k)},x={conf:l(r),language:_(r,k)},$={conf:l(a),language:_(a,p)},E={conf:l(r),language:_(r,p)},B={conf:g(),language:A(k)},D={conf:g(),language:A(p)};export{$ as TagAngleInterpolationBracket,b as TagAngleInterpolationDollar,D as TagAutoInterpolationBracket,B as TagAutoInterpolationDollar,E as TagBracketInterpolationBracket,x as TagBracketInterpolationDollar};
@@ -1 +1 @@
1
- import{Ik as s,lW as r,ny as o,nx as i}from"./DenVKqrV.js";const a=s.createSelector((e,t)=>e.files.byWorkspaceId[t]??r),F=s.createSelector((e,t)=>o(a.select(e,t).files)),c=s.createSelector((e,t,l)=>{if(l)return i(a.select(e,t).files,l)}),S=s.createSelector((e,t,l)=>c.select(e,t,l)?.localContent??null),f=s.createSelector((e,t,l)=>c.select(e,t,l)?.originalContent??null),g=s.createSelector((e,t,l)=>c.select(e,t,l)?.lastUpdated??0),u=s.createSelector((e,t,l)=>c.select(e,t,l)?.loading??!1),C=s.createSelector((e,t,l)=>c.select(e,t,l)?.saving??!1),y=s.createSelector((e,t,l)=>c.select(e,t,l)?.error??null),p=s.createSelector((e,t,l)=>c.select(e,t,l)?.notFoundCandidates??null),I=s.createSelector((e,t,l)=>c.select(e,t,l)?.isBinary??!1),m=s.createSelector((e,t,l)=>{const n=c.select(e,t,l);return n?n.localContent!==n.originalContent:!1});export{S as a,c as b,y as c,I as d,m as e,g as f,u as g,p as h,C as i,f as j,F as s};
1
+ import{Ik as s,lW as r,ny as o,nx as i}from"./Dk1_0x0Q.js";const a=s.createSelector((e,t)=>e.files.byWorkspaceId[t]??r),F=s.createSelector((e,t)=>o(a.select(e,t).files)),c=s.createSelector((e,t,l)=>{if(l)return i(a.select(e,t).files,l)}),S=s.createSelector((e,t,l)=>c.select(e,t,l)?.localContent??null),f=s.createSelector((e,t,l)=>c.select(e,t,l)?.originalContent??null),g=s.createSelector((e,t,l)=>c.select(e,t,l)?.lastUpdated??0),u=s.createSelector((e,t,l)=>c.select(e,t,l)?.loading??!1),C=s.createSelector((e,t,l)=>c.select(e,t,l)?.saving??!1),y=s.createSelector((e,t,l)=>c.select(e,t,l)?.error??null),p=s.createSelector((e,t,l)=>c.select(e,t,l)?.notFoundCandidates??null),I=s.createSelector((e,t,l)=>c.select(e,t,l)?.isBinary??!1),m=s.createSelector((e,t,l)=>{const n=c.select(e,t,l);return n?n.localContent!==n.originalContent:!1});export{S as a,c as b,y as c,I as d,m as e,g as f,u as g,p as h,C as i,f as j,F as s};
@@ -1 +1 @@
1
- import{Ik as s,i1 as a,lZ as S,nx as f,ma as m}from"./DenVKqrV.js";import{H as O}from"./F7DwQcta.js";import{dy as d,aV as k,dG as b}from"./HcYBxKPc.js";const v=s.createSelector((t,e)=>{if(k.select(t,e)&&b.select(t,e))return!1;const r=t.principal?.snapshot;return r?.capabilities.workspaceGuestRoles===!0&&(r.capabilities.hostMembership?r.principal.hostRole==="guest":!r.principal.isAdministrator)}),h=s.createSelector(t=>t.principal?.snapshot?.capabilities.remoteScripts===1),l=s.createSelector((t,e,r)=>!v.select(t,e)||!!d.select(t,e)&&r?.purpose==="saved");function o(t,e,r){return!!e&&!!r&&l.select(t,e,r)}function i(t,e){return e?t.scripts.byWorkspaceId[e]??m:m}const j=s.createSelector((t,e)=>i(t,e).initialized),W=s.createSelector((t,e)=>{const r=i(t,e);return r.activeScriptIds?r.activeScriptIds.flatMap(c=>o(t,e,r.scripts[c])?[r.scripts[c]]:[]):Object.values(r.scripts).filter(c=>!c.archivedAt&&o(t,e,c))}),C=s.createSelector((t,e)=>W.select(t,e).filter(r=>O((r.runtime??a()).status))),u=s.createSelector((t,e,r)=>{const c=i(t,e);return o(t,e,c.scripts[r])?c.scripts[r]:null}),x=s.createSelector((t,e,r)=>u.select(t,e,r)?.runtime??a()),E=s.createSelector((t,e,r)=>{const c=i(t,e);return l.select(t,e??"",c.scripts[r])?c.outputBuffers[r]??S:S}),M=s.createSelector((t,e,r,c)=>{const n=i(t,e).retainedOutputs?.[c];return n?.scriptId===r&&l.select(t,e,i(t,e).scripts[r])?n:void 0}),z=s.createSelector(t=>Object.entries(t.scripts?.byWorkspaceId??{}).filter(([,e])=>Object.keys(e.retainedOutputs??{}).length>0).map(([e])=>e).sort()),A=s.createSelector((t,e)=>!!t.scripts?.byWorkspaceId[e]?.outputStreamReady),D=s.createSelector((t,e)=>i(t,e).initialized),G=s.createSelector((t,e)=>{const r=i(t,e);return r.activeScriptIds?r.activeScriptIds.flatMap(c=>o(t,e,r.scripts[c])?[r.scripts[c]]:[]):Object.values(r.scripts).filter(c=>!c.archivedAt&&o(t,e,c))}),B=s.createSelector((t,e)=>{const r=i(t,e);return r.detectionOperation?.pending?{...r.operations,...Object.fromEntries(Object.keys(r.scripts).map(c=>[c,r.detectionOperation]))}:r.operations}),L=s.createSelector((t,e)=>i(t,e).detectionOperation),P=s.createSelector((t,e,r,c)=>{const n=i(t,r).workflowOutcomes,p=n?f(n,e):void 0;return p?.workspaceId===r&&p.resourceId===c?p:void 0}),V=s.createSelector((t,e,r)=>u.select(t,e,r)?.runtime??a()),H=s.createSelector((t,e)=>Object.values(i(t,e).scripts).filter(r=>o(t,e,r))),J=s.createSelector((t,e,r)=>i(t,e).pendingReads?.[r]),U=s.createSelector((t,e,r)=>!!u.select(t,e,r)&&!i(t,e).detectionOperation?.pending&&!i(t,e).operations[r]?.pending),Z=s.createSelector((t,e)=>({nextCursor:i(t,e).nextCursor,loading:i(t,e).loading,error:i(t,e).loadError}));export{H as selectAllWorkspaceScriptEntries,U as selectCanDeleteScript,l as selectCanReadScriptDefinition,h as selectRemoteScriptsSupported,C as selectRunningScripts,u as selectScriptById,L as selectScriptDetectionOperation,W as selectScriptEntries,Z as selectScriptListPageState,E as selectScriptOutput,A as selectScriptOutputStreamReady,z as selectScriptOutputViewerWorkspaceIds,J as selectScriptReadJournal,M as selectScriptRetainedOutput,x as selectScriptRuntime,P as selectScriptWorkflowOutcome,j as selectScriptsInitialized,v as selectUsesGuestScriptScope,G as selectWorkspaceScriptEntries,B as selectWorkspaceScriptOperations,V as selectWorkspaceScriptRuntime,D as selectWorkspaceScriptsInitialized};
1
+ import{Ik as s,i1 as a,lZ as S,nx as f,ma as m}from"./Dk1_0x0Q.js";import{H as O}from"./BduWPjcR.js";import{dy as d,aV as k,dG as b}from"./CArqGgyL.js";const v=s.createSelector((t,e)=>{if(k.select(t,e)&&b.select(t,e))return!1;const r=t.principal?.snapshot;return r?.capabilities.workspaceGuestRoles===!0&&(r.capabilities.hostMembership?r.principal.hostRole==="guest":!r.principal.isAdministrator)}),h=s.createSelector(t=>t.principal?.snapshot?.capabilities.remoteScripts===1),l=s.createSelector((t,e,r)=>!v.select(t,e)||!!d.select(t,e)&&r?.purpose==="saved");function o(t,e,r){return!!e&&!!r&&l.select(t,e,r)}function i(t,e){return e?t.scripts.byWorkspaceId[e]??m:m}const j=s.createSelector((t,e)=>i(t,e).initialized),W=s.createSelector((t,e)=>{const r=i(t,e);return r.activeScriptIds?r.activeScriptIds.flatMap(c=>o(t,e,r.scripts[c])?[r.scripts[c]]:[]):Object.values(r.scripts).filter(c=>!c.archivedAt&&o(t,e,c))}),C=s.createSelector((t,e)=>W.select(t,e).filter(r=>O((r.runtime??a()).status))),u=s.createSelector((t,e,r)=>{const c=i(t,e);return o(t,e,c.scripts[r])?c.scripts[r]:null}),x=s.createSelector((t,e,r)=>u.select(t,e,r)?.runtime??a()),E=s.createSelector((t,e,r)=>{const c=i(t,e);return l.select(t,e??"",c.scripts[r])?c.outputBuffers[r]??S:S}),M=s.createSelector((t,e,r,c)=>{const n=i(t,e).retainedOutputs?.[c];return n?.scriptId===r&&l.select(t,e,i(t,e).scripts[r])?n:void 0}),z=s.createSelector(t=>Object.entries(t.scripts?.byWorkspaceId??{}).filter(([,e])=>Object.keys(e.retainedOutputs??{}).length>0).map(([e])=>e).sort()),A=s.createSelector((t,e)=>!!t.scripts?.byWorkspaceId[e]?.outputStreamReady),D=s.createSelector((t,e)=>i(t,e).initialized),G=s.createSelector((t,e)=>{const r=i(t,e);return r.activeScriptIds?r.activeScriptIds.flatMap(c=>o(t,e,r.scripts[c])?[r.scripts[c]]:[]):Object.values(r.scripts).filter(c=>!c.archivedAt&&o(t,e,c))}),B=s.createSelector((t,e)=>{const r=i(t,e);return r.detectionOperation?.pending?{...r.operations,...Object.fromEntries(Object.keys(r.scripts).map(c=>[c,r.detectionOperation]))}:r.operations}),L=s.createSelector((t,e)=>i(t,e).detectionOperation),P=s.createSelector((t,e,r,c)=>{const n=i(t,r).workflowOutcomes,p=n?f(n,e):void 0;return p?.workspaceId===r&&p.resourceId===c?p:void 0}),V=s.createSelector((t,e,r)=>u.select(t,e,r)?.runtime??a()),H=s.createSelector((t,e)=>Object.values(i(t,e).scripts).filter(r=>o(t,e,r))),J=s.createSelector((t,e,r)=>i(t,e).pendingReads?.[r]),U=s.createSelector((t,e,r)=>!!u.select(t,e,r)&&!i(t,e).detectionOperation?.pending&&!i(t,e).operations[r]?.pending),Z=s.createSelector((t,e)=>({nextCursor:i(t,e).nextCursor,loading:i(t,e).loading,error:i(t,e).loadError}));export{H as selectAllWorkspaceScriptEntries,U as selectCanDeleteScript,l as selectCanReadScriptDefinition,h as selectRemoteScriptsSupported,C as selectRunningScripts,u as selectScriptById,L as selectScriptDetectionOperation,W as selectScriptEntries,Z as selectScriptListPageState,E as selectScriptOutput,A as selectScriptOutputStreamReady,z as selectScriptOutputViewerWorkspaceIds,J as selectScriptReadJournal,M as selectScriptRetainedOutput,x as selectScriptRuntime,P as selectScriptWorkflowOutcome,j as selectScriptsInitialized,v as selectUsesGuestScriptScope,G as selectWorkspaceScriptEntries,B as selectWorkspaceScriptOperations,V as selectWorkspaceScriptRuntime,D as selectWorkspaceScriptsInitialized};
@@ -1 +1 @@
1
- import{t as l,bq as i,by as m,b as u}from"./CXgKrD4b.js";import{bs as f,bI as _,c5 as b,a7 as g,ay as h,W as v,bn as y,aA as o}from"./DYhIMPy1.js";import{s as z}from"./CHyKyUzM.js";import{ac as C}from"./-svebp9s.js";function S(s,t){if(new.target)return l({component:S,...s});f(t,!0);let a=i(t,"size",7,"default"),r=i(t,"children",7);_(C,b(()=>a()));var c={get size(){return a()},set size(e="default"){a(e),o()},get children(){return r()},set children(e){r(e),o()},$set:m,$on:(e,d)=>u(t,e,d)},n=g(),p=h(n);return z(p,r),v(s,n),y(c)}export{S};
1
+ import{t as l,bq as i,by as m,b as u}from"./Dso1_H3c.js";import{bs as f,bI as _,c5 as b,a7 as g,ay as h,W as v,bn as y,aA as o}from"./DYhIMPy1.js";import{s as z}from"./BfNeIJAh.js";import{ac as C}from"./m5UczIQR.js";function S(s,t){if(new.target)return l({component:S,...s});f(t,!0);let a=i(t,"size",7,"default"),r=i(t,"children",7);_(C,b(()=>a()));var c={get size(){return a()},set size(e="default"){a(e),o()},get children(){return r()},set children(e){r(e),o()},$set:m,$on:(e,d)=>u(t,e,d)},n=g(),p=h(n);return z(p,r),v(s,n),y(c)}export{S};
@@ -1 +1 @@
1
- import{bo as n}from"./CXgKrD4b.js";import{Ik as t}from"./DenVKqrV.js";let c=1,i=null;const a=[],s=new Set;function l(){for(const e of s)e(i)}function h(){return typeof document<"u"&&document.activeElement instanceof HTMLElement?document.activeElement:null}function u(e){a.push({...e,id:c++,returnFocus:h()}),i||(i=a.shift()??null,l())}function _(e){return new Promise(r=>u({kind:"confirm",options:e,resolve:r}))}function S(e){return new Promise(r=>u({kind:"prompt",options:e,resolve:r}))}function p(e){return s.add(e),e(i),()=>s.delete(e)}function f(e,r){if(!i||i.id!==e)return;const o=i;i=a.shift()??null,o.resolve(r),o.returnFocus?.focus(),l()}const m={IS_AUTHENTICATED:"linear-auth:is-authenticated",START_AUTH:"linear-auth:start-auth",CANCEL_AUTH:"linear-auth:cancel-auth",LOGOUT:"linear-auth:logout",GET_AUTH_STATE:"linear-auth:get-auth-state",GET_STATUS:"linear-auth:get-status",FETCH_MY_ISSUES:"linear-auth:fetch-my-issues",SEARCH_ISSUES:"linear-auth:search-issues"},g=[{value:"assigned",get label(){return n.linearAuth_filter_assigned_label()},get description(){return n.linearAuth_filter_assigned_description()}},{value:"created",get label(){return n.linearAuth_filter_created_label()},get description(){return n.linearAuth_filter_created_description()}},{value:"subscribed",get label(){return n.linearAuth_filter_subscribed_label()},get description(){return n.linearAuth_filter_subscribed_description()}},{value:"team",get label(){return n.linearAuth_filter_team_label()},get description(){return n.linearAuth_filter_team_description()}},{value:"all",get label(){return n.linearAuth_filter_all_label()},get description(){return n.linearAuth_filter_all_description()}}],I=t.createSelector(e=>e.linearAuth.operation),E=t.createSelector((e,r)=>e.linearAuth.operation?.consumerId===r?e.linearAuth.operation:null),b=t.createSelector(e=>e.linearAuth.operation?.kind==="logout"&&e.linearAuth.operation.status==="pending"),T=t.createSelector(e=>e.linearAuth.isAuthenticated),y=t.createSelector(e=>e.linearAuth.requiresDaemonAuth),C=t.createSelector(e=>e.linearAuth.isAuthenticating),L=t.createSelector(e=>e.linearAuth.error),N=t.createSelector(e=>e.sentryAuth.operation),U=t.createSelector((e,r)=>e.sentryAuth.operation?.consumerId===r?e.sentryAuth.operation:null),v=t.createSelector(e=>e.sentryAuth.operation?.kind==="logout"&&e.sentryAuth.operation.status==="pending"),O=t.createSelector(e=>e.sentryAuth.isAuthenticated),H=t.createSelector(e=>e.sentryAuth.organization),R=t.createSelector(e=>e.sentryAuth.isConnecting),q=t.createSelector(e=>e.sentryAuth.error),D="npx not found — install Node.js (with npm) to use Claude Code";export{D as C,m as L,g as a,I as b,_ as c,L as d,T as e,C as f,b as g,y as h,U as i,N as j,q as k,O as l,R as m,v as n,H as o,S as p,f as q,p as r,E as s};
1
+ import{bo as n}from"./Dso1_H3c.js";import{Ik as t}from"./Dk1_0x0Q.js";let c=1,i=null;const a=[],s=new Set;function l(){for(const e of s)e(i)}function h(){return typeof document<"u"&&document.activeElement instanceof HTMLElement?document.activeElement:null}function u(e){a.push({...e,id:c++,returnFocus:h()}),i||(i=a.shift()??null,l())}function _(e){return new Promise(r=>u({kind:"confirm",options:e,resolve:r}))}function S(e){return new Promise(r=>u({kind:"prompt",options:e,resolve:r}))}function p(e){return s.add(e),e(i),()=>s.delete(e)}function f(e,r){if(!i||i.id!==e)return;const o=i;i=a.shift()??null,o.resolve(r),o.returnFocus?.focus(),l()}const m={IS_AUTHENTICATED:"linear-auth:is-authenticated",START_AUTH:"linear-auth:start-auth",CANCEL_AUTH:"linear-auth:cancel-auth",LOGOUT:"linear-auth:logout",GET_AUTH_STATE:"linear-auth:get-auth-state",GET_STATUS:"linear-auth:get-status",FETCH_MY_ISSUES:"linear-auth:fetch-my-issues",SEARCH_ISSUES:"linear-auth:search-issues"},g=[{value:"assigned",get label(){return n.linearAuth_filter_assigned_label()},get description(){return n.linearAuth_filter_assigned_description()}},{value:"created",get label(){return n.linearAuth_filter_created_label()},get description(){return n.linearAuth_filter_created_description()}},{value:"subscribed",get label(){return n.linearAuth_filter_subscribed_label()},get description(){return n.linearAuth_filter_subscribed_description()}},{value:"team",get label(){return n.linearAuth_filter_team_label()},get description(){return n.linearAuth_filter_team_description()}},{value:"all",get label(){return n.linearAuth_filter_all_label()},get description(){return n.linearAuth_filter_all_description()}}],I=t.createSelector(e=>e.linearAuth.operation),E=t.createSelector((e,r)=>e.linearAuth.operation?.consumerId===r?e.linearAuth.operation:null),b=t.createSelector(e=>e.linearAuth.operation?.kind==="logout"&&e.linearAuth.operation.status==="pending"),T=t.createSelector(e=>e.linearAuth.isAuthenticated),y=t.createSelector(e=>e.linearAuth.requiresDaemonAuth),C=t.createSelector(e=>e.linearAuth.isAuthenticating),L=t.createSelector(e=>e.linearAuth.error),N=t.createSelector(e=>e.sentryAuth.operation),U=t.createSelector((e,r)=>e.sentryAuth.operation?.consumerId===r?e.sentryAuth.operation:null),v=t.createSelector(e=>e.sentryAuth.operation?.kind==="logout"&&e.sentryAuth.operation.status==="pending"),O=t.createSelector(e=>e.sentryAuth.isAuthenticated),H=t.createSelector(e=>e.sentryAuth.organization),R=t.createSelector(e=>e.sentryAuth.isConnecting),q=t.createSelector(e=>e.sentryAuth.error),D="npx not found — install Node.js (with npm) to use Claude Code";export{D as C,m as L,g as a,I as b,_ as c,L as d,T as e,C as f,b as g,y as h,U as i,N as j,q as k,O as l,R as m,v as n,H as o,S as p,f as q,p as r,E as s};
@@ -1 +1 @@
1
- import{t as gt,bq as n,bo as a,by as Ct,b as bt,a_ as g}from"./CXgKrD4b.js";import{bs as pt,aD as C,bn as yt,aA as o,a5 as z,bS as A,bf as xt,bA as G,W as u,c9 as b,bl as D,b_ as h,bO as W,aB as P,b$ as kt}from"./DYhIMPy1.js";import{s as At}from"./CHyKyUzM.js";import"./BEdXc2Cn.js";import"./BYJTJW1o.js";import"./CKywtFzw.js";import{D as ht}from"./nhnbx7C0.js";import{t as l}from"./NpJ_H_lL.js";import"./-svebp9s.js";import"./CeOYgNbD.js";var Wt=P('<p class="type-body"> </p>'),X=P('<p class="type-body text-foreground font-medium"> </p>'),Pt=P('<p class="type-body text-muted-foreground font-normal"> </p>'),Rt=P('<p class="type-body text-muted-foreground font-normal"> <!></p>'),St=P('<div class="space-y-2"><!> <!> <!> <!></div>'),Bt=P('<div class="space-y-4"><!> <!> <!></div>');function Dt(J,e){if(new.target)return gt({component:Dt,...J});pt(e,!0);let p=n(e,"open",15,!1),F=n(e,"static",7,!1),H=n(e,"title",23,()=>a.modals_bulkActionConfirm_title()),S=n(e,"description",7,""),T=n(e,"confirmText",23,()=>a.modals_bulkActionConfirm_confirm_label()),w=n(e,"variant",7,"default"),y=n(e,"initialFocus",7,"confirm"),q=n(e,"body",7),c=n(e,"openPrCount",7,0),x=n(e,"preflightReady",7,!0),E=n(e,"mode",7,"delete"),d=n(e,"activeAgentCount",7,0),m=n(e,"activeHookCount",7,0),_=n(e,"guestCount",7,0),I=n(e,"onConfirm",7),K=n(e,"onCancel",7);const Y=b(()=>d()>0||m()>0||c()>0||_()>0);function Z(){p(!1),K()?.()}async function $(){await I()?.(),p(!1)}var tt={get open(){return p()},set open(t=!1){p(t),o()},get static(){return F()},set static(t=!1){F(t),o()},get title(){return H()},set title(t=a.modals_bulkActionConfirm_title()){H(t),o()},get description(){return S()},set description(t=""){S(t),o()},get confirmText(){return T()},set confirmText(t=a.modals_bulkActionConfirm_confirm_label()){T(t),o()},get variant(){return w()},set variant(t="default"){w(t),o()},get initialFocus(){return y()},set initialFocus(t="confirm"){y(t),o()},get body(){return q()},set body(t){q(t),o()},get openPrCount(){return c()},set openPrCount(t=0){c(t),o()},get preflightReady(){return x()},set preflightReady(t=!0){x(t),o()},get mode(){return E()},set mode(t="delete"){E(t),o()},get activeAgentCount(){return d()},set activeAgentCount(t=0){d(t),o()},get activeHookCount(){return m()},set activeHookCount(t=0){m(t),o()},get guestCount(){return _()},set guestCount(t=0){_(t),o()},get onConfirm(){return I()},set onConfirm(t){I(t),o()},get onCancel(){return K()},set onCancel(t){K(t),o()},$set:Ct,$on:(t,L)=>bt(e,t,L)};{const t=O=>{var j=Bt(),M=z(j);{var it=f=>{var k=Wt(),B=D(k,!0);h(()=>W(B,S())),u(f,k)};g(M,f=>{S()&&f(it)})}var N=A(M,2);{var st=f=>{var k=St(),B=z(k);{var lt=r=>{var i=X(),s=D(i,!0);h(v=>W(s,v),[()=>d()===1?a.modals_deleteWarning_agentsStopped_one({count:l(d())}):a.modals_deleteWarning_agentsStopped_many({count:l(d())})]),u(r,i)};g(B,r=>{d()>0&&r(lt)})}var Q=A(B,2);{var ct=r=>{var i=X(),s=D(i,!0);h(v=>W(s,v),[()=>m()===1?a.modals_deleteWarning_hooksCancelled_one({count:l(m())}):a.modals_deleteWarning_hooksCancelled_many({count:l(m())})]),u(r,i)};g(Q,r=>{m()>0&&r(ct)})}var U=A(Q,2);{var dt=r=>{var i=Pt(),s=D(i,!0);h(v=>W(s,v),[()=>c()===1?a.modals_deleteWarning_openPrs_one({count:l(c())}):a.modals_deleteWarning_openPrs_many({count:l(c())})]),u(r,i)};g(U,r=>{c()>0&&r(dt)})}var mt=A(U,2);{var _t=r=>{var i=Rt(),s=z(i),v=A(s);{var ft=R=>{var V=kt();h(vt=>W(V,vt),[()=>a.modals_bulkActionConfirm_guestsReinvite_description()]),u(R,V)};g(v,R=>{E()==="archive"&&R(ft)})}G(i),h(R=>W(s,`${R??""} `),[()=>_()===1?a.modals_bulkActionConfirm_guestsRemoved_one({count:l(_())}):a.modals_bulkActionConfirm_guestsRemoved_many({count:l(_())})]),u(r,i)};g(mt,r=>{_()>0&&r(_t)})}G(k),u(f,k)};g(N,f=>{C(Y)&&f(st)})}var ut=A(N,2);At(ut,()=>q()??xt),G(j),u(O,j)};let L=b(()=>!x()),et=b(()=>x()&&y()==="confirm"),nt=b(()=>!x()||y()==="cancel"),ot=b(()=>y()==="cancel"?"ignore":"submit"),rt=b(()=>y()==="cancel"?"ignore":"submit"),at=b(()=>w()==="destructive");ht(J,{get static(){return F()},get title(){return H()},get confirmLabel(){return T()},get submitBusy(){return C(L)},get canSubmit(){return x()},get focusSubmit(){return C(et)},get focusCancel(){return C(nt)},get enterKey(){return C(ot)},get modEnter(){return C(rt)},get destructive(){return C(at)},onConfirm:$,onCancel:Z,get open(){return p()},set open(O){p(O)},details:t,$$slots:{details:!0}})}return yt(tt)}export{Dt as B};
1
+ import{t as gt,bq as n,bo as a,by as Ct,b as bt,a_ as g}from"./Dso1_H3c.js";import{bs as pt,aD as C,bn as yt,aA as o,a5 as z,bS as A,bf as xt,bA as G,W as u,c9 as b,bl as D,b_ as h,bO as W,aB as P,b$ as kt}from"./DYhIMPy1.js";import{s as At}from"./BfNeIJAh.js";import"./CnMdEUN9.js";import"./BuxSPewv.js";import"./9oNS7b_T.js";import{D as ht}from"./DuD0elPz.js";import{t as l}from"./Cl-7Au8R.js";import"./m5UczIQR.js";import"./CKJpktTE.js";var Wt=P('<p class="type-body"> </p>'),X=P('<p class="type-body text-foreground font-medium"> </p>'),Pt=P('<p class="type-body text-muted-foreground font-normal"> </p>'),Rt=P('<p class="type-body text-muted-foreground font-normal"> <!></p>'),St=P('<div class="space-y-2"><!> <!> <!> <!></div>'),Bt=P('<div class="space-y-4"><!> <!> <!></div>');function Dt(J,e){if(new.target)return gt({component:Dt,...J});pt(e,!0);let p=n(e,"open",15,!1),F=n(e,"static",7,!1),H=n(e,"title",23,()=>a.modals_bulkActionConfirm_title()),S=n(e,"description",7,""),T=n(e,"confirmText",23,()=>a.modals_bulkActionConfirm_confirm_label()),w=n(e,"variant",7,"default"),y=n(e,"initialFocus",7,"confirm"),q=n(e,"body",7),c=n(e,"openPrCount",7,0),x=n(e,"preflightReady",7,!0),E=n(e,"mode",7,"delete"),d=n(e,"activeAgentCount",7,0),m=n(e,"activeHookCount",7,0),_=n(e,"guestCount",7,0),I=n(e,"onConfirm",7),K=n(e,"onCancel",7);const Y=b(()=>d()>0||m()>0||c()>0||_()>0);function Z(){p(!1),K()?.()}async function $(){await I()?.(),p(!1)}var tt={get open(){return p()},set open(t=!1){p(t),o()},get static(){return F()},set static(t=!1){F(t),o()},get title(){return H()},set title(t=a.modals_bulkActionConfirm_title()){H(t),o()},get description(){return S()},set description(t=""){S(t),o()},get confirmText(){return T()},set confirmText(t=a.modals_bulkActionConfirm_confirm_label()){T(t),o()},get variant(){return w()},set variant(t="default"){w(t),o()},get initialFocus(){return y()},set initialFocus(t="confirm"){y(t),o()},get body(){return q()},set body(t){q(t),o()},get openPrCount(){return c()},set openPrCount(t=0){c(t),o()},get preflightReady(){return x()},set preflightReady(t=!0){x(t),o()},get mode(){return E()},set mode(t="delete"){E(t),o()},get activeAgentCount(){return d()},set activeAgentCount(t=0){d(t),o()},get activeHookCount(){return m()},set activeHookCount(t=0){m(t),o()},get guestCount(){return _()},set guestCount(t=0){_(t),o()},get onConfirm(){return I()},set onConfirm(t){I(t),o()},get onCancel(){return K()},set onCancel(t){K(t),o()},$set:Ct,$on:(t,L)=>bt(e,t,L)};{const t=O=>{var j=Bt(),M=z(j);{var it=f=>{var k=Wt(),B=D(k,!0);h(()=>W(B,S())),u(f,k)};g(M,f=>{S()&&f(it)})}var N=A(M,2);{var st=f=>{var k=St(),B=z(k);{var lt=r=>{var i=X(),s=D(i,!0);h(v=>W(s,v),[()=>d()===1?a.modals_deleteWarning_agentsStopped_one({count:l(d())}):a.modals_deleteWarning_agentsStopped_many({count:l(d())})]),u(r,i)};g(B,r=>{d()>0&&r(lt)})}var Q=A(B,2);{var ct=r=>{var i=X(),s=D(i,!0);h(v=>W(s,v),[()=>m()===1?a.modals_deleteWarning_hooksCancelled_one({count:l(m())}):a.modals_deleteWarning_hooksCancelled_many({count:l(m())})]),u(r,i)};g(Q,r=>{m()>0&&r(ct)})}var U=A(Q,2);{var dt=r=>{var i=Pt(),s=D(i,!0);h(v=>W(s,v),[()=>c()===1?a.modals_deleteWarning_openPrs_one({count:l(c())}):a.modals_deleteWarning_openPrs_many({count:l(c())})]),u(r,i)};g(U,r=>{c()>0&&r(dt)})}var mt=A(U,2);{var _t=r=>{var i=Rt(),s=z(i),v=A(s);{var ft=R=>{var V=kt();h(vt=>W(V,vt),[()=>a.modals_bulkActionConfirm_guestsReinvite_description()]),u(R,V)};g(v,R=>{E()==="archive"&&R(ft)})}G(i),h(R=>W(s,`${R??""} `),[()=>_()===1?a.modals_bulkActionConfirm_guestsRemoved_one({count:l(_())}):a.modals_bulkActionConfirm_guestsRemoved_many({count:l(_())})]),u(r,i)};g(mt,r=>{_()>0&&r(_t)})}G(k),u(f,k)};g(N,f=>{C(Y)&&f(st)})}var ut=A(N,2);At(ut,()=>q()??xt),G(j),u(O,j)};let L=b(()=>!x()),et=b(()=>x()&&y()==="confirm"),nt=b(()=>!x()||y()==="cancel"),ot=b(()=>y()==="cancel"?"ignore":"submit"),rt=b(()=>y()==="cancel"?"ignore":"submit"),at=b(()=>w()==="destructive");ht(J,{get static(){return F()},get title(){return H()},get confirmLabel(){return T()},get submitBusy(){return C(L)},get canSubmit(){return x()},get focusSubmit(){return C(et)},get focusCancel(){return C(nt)},get enterKey(){return C(ot)},get modEnter(){return C(rt)},get destructive(){return C(at)},onConfirm:$,onCancel:Z,get open(){return p()},set open(O){p(O)},details:t,$$slots:{details:!0}})}return yt(tt)}export{Dt as B};
@@ -1,4 +1,4 @@
1
- import{g as Ni}from"./BSHExHmB.js";import{s as Ci}from"./CH58YVSk.js";import{U as Zs,aZ as jt,V as Qs,a_ as Gt,Y as bi,b0 as vi,b as h,aU as je,ay as _i,X as en,a1 as xi,aP as Mi,bh as wi,aV as Ui,r as Pi,O as Di,am as Fi,W as Bi,ab as $i,aG as ji,aA as Gi,aW as Wi}from"./BkUS-e35.js";function Wt(s){console&&console.error&&console.error(`Error: ${s}`)}function tn(s){console&&console.warn&&console.warn(`Warning: ${s}`)}function sn(s){const e=new Date().getTime(),t=s();return{time:new Date().getTime()-e,value:t}}function nn(s){function e(){}e.prototype=s;const t=new e;function n(){return typeof t.bar}return n(),n(),s}function Ki(s){return Vi(s)?s.LABEL:s.name}function Vi(s){return typeof s.LABEL=="string"&&s.LABEL!==""}class te{get definition(){return this._definition}set definition(e){this._definition=e}constructor(e){this._definition=e}accept(e){e.visit(this),this.definition.forEach(t=>{t.accept(e)})}}class K extends te{constructor(e){super([]),this.idx=1,Object.assign(this,ie(e))}set definition(e){}get definition(){return this.referencedRule!==void 0?this.referencedRule.definition:[]}accept(e){e.visit(this)}}class _e extends te{constructor(e){super(e.definition),this.orgText="",Object.assign(this,ie(e))}}class W extends te{constructor(e){super(e.definition),this.ignoreAmbiguities=!1,Object.assign(this,ie(e))}}class G extends te{constructor(e){super(e.definition),this.idx=1,Object.assign(this,ie(e))}}class se extends te{constructor(e){super(e.definition),this.idx=1,Object.assign(this,ie(e))}}class ne extends te{constructor(e){super(e.definition),this.idx=1,Object.assign(this,ie(e))}}class M extends te{constructor(e){super(e.definition),this.idx=1,Object.assign(this,ie(e))}}class q extends te{constructor(e){super(e.definition),this.idx=1,Object.assign(this,ie(e))}}class Z extends te{get definition(){return this._definition}set definition(e){this._definition=e}constructor(e){super(e.definition),this.idx=1,this.ignoreAmbiguities=!1,this.hasPredicates=!1,Object.assign(this,ie(e))}}class k{constructor(e){this.idx=1,Object.assign(this,ie(e))}accept(e){e.visit(this)}}function zi(s){return s.map(at)}function at(s){function e(t){return t.map(at)}if(s instanceof K){const t={type:"NonTerminal",name:s.nonTerminalName,idx:s.idx};return typeof s.label=="string"&&(t.label=s.label),t}else{if(s instanceof W)return{type:"Alternative",definition:e(s.definition)};if(s instanceof G)return{type:"Option",idx:s.idx,definition:e(s.definition)};if(s instanceof se)return{type:"RepetitionMandatory",idx:s.idx,definition:e(s.definition)};if(s instanceof ne)return{type:"RepetitionMandatoryWithSeparator",idx:s.idx,separator:at(new k({terminalType:s.separator})),definition:e(s.definition)};if(s instanceof q)return{type:"RepetitionWithSeparator",idx:s.idx,separator:at(new k({terminalType:s.separator})),definition:e(s.definition)};if(s instanceof M)return{type:"Repetition",idx:s.idx,definition:e(s.definition)};if(s instanceof Z)return{type:"Alternation",idx:s.idx,definition:e(s.definition)};if(s instanceof k){const t={type:"Terminal",name:s.terminalType.name,label:Ki(s.terminalType),idx:s.idx};typeof s.label=="string"&&(t.terminalLabel=s.label);const n=s.terminalType.PATTERN;return s.terminalType.PATTERN&&(t.pattern=n instanceof RegExp?n.source:n),t}else{if(s instanceof _e)return{type:"Rule",name:s.name,orgText:s.orgText,definition:e(s.definition)};throw Error("non exhaustive match")}}}function ie(s){return Object.fromEntries(Object.entries(s).filter(([,e])=>e!==void 0))}class xe{visit(e){const t=e;switch(t.constructor){case K:return this.visitNonTerminal(t);case W:return this.visitAlternative(t);case G:return this.visitOption(t);case se:return this.visitRepetitionMandatory(t);case ne:return this.visitRepetitionMandatoryWithSeparator(t);case q:return this.visitRepetitionWithSeparator(t);case M:return this.visitRepetition(t);case Z:return this.visitAlternation(t);case k:return this.visitTerminal(t);case _e:return this.visitRule(t);default:throw Error("non exhaustive match")}}visitNonTerminal(e){}visitAlternative(e){}visitOption(e){}visitRepetition(e){}visitRepetitionMandatory(e){}visitRepetitionMandatoryWithSeparator(e){}visitRepetitionWithSeparator(e){}visitAlternation(e){}visitTerminal(e){}visitRule(e){}}function Hi(s){return s instanceof W||s instanceof G||s instanceof M||s instanceof se||s instanceof ne||s instanceof q||s instanceof k||s instanceof _e}function Tt(s,e=[]){return s instanceof G||s instanceof M||s instanceof q?!0:s instanceof Z?s.definition.some(n=>Tt(n,e)):s instanceof K&&e.includes(s)?!1:s instanceof te?(s instanceof K&&e.push(s),s.definition.every(n=>Tt(n,e))):!1}function Xi(s){return s instanceof Z}function ee(s){if(s instanceof K)return"SUBRULE";if(s instanceof G)return"OPTION";if(s instanceof Z)return"OR";if(s instanceof se)return"AT_LEAST_ONE";if(s instanceof ne)return"AT_LEAST_ONE_SEP";if(s instanceof q)return"MANY_SEP";if(s instanceof M)return"MANY";if(s instanceof k)return"CONSUME";throw Error("non exhaustive match")}class kt{walk(e,t=[]){e.definition.forEach((n,i)=>{const a=e.definition.slice(i+1);if(n instanceof K)this.walkProdRef(n,a,t);else if(n instanceof k)this.walkTerminal(n,a,t);else if(n instanceof W)this.walkFlat(n,a,t);else if(n instanceof G)this.walkOption(n,a,t);else if(n instanceof se)this.walkAtLeastOne(n,a,t);else if(n instanceof ne)this.walkAtLeastOneSep(n,a,t);else if(n instanceof q)this.walkManySep(n,a,t);else if(n instanceof M)this.walkMany(n,a,t);else if(n instanceof Z)this.walkOr(n,a,t);else throw Error("non exhaustive match")})}walkTerminal(e,t,n){}walkProdRef(e,t,n){}walkFlat(e,t,n){const i=t.concat(n);this.walk(e,i)}walkOption(e,t,n){const i=t.concat(n);this.walk(e,i)}walkAtLeastOne(e,t,n){const i=[new G({definition:e.definition})].concat(t,n);this.walk(e,i)}walkAtLeastOneSep(e,t,n){const i=ys(e,t,n);this.walk(e,i)}walkMany(e,t,n){const i=[new G({definition:e.definition})].concat(t,n);this.walk(e,i)}walkManySep(e,t,n){const i=ys(e,t,n);this.walk(e,i)}walkOr(e,t,n){const i=t.concat(n);e.definition.forEach(a=>{const r=new W({definition:[a]});this.walk(r,i)})}}function ys(s,e,t){return[new G({definition:[new k({terminalType:s.separator})].concat(s.definition)})].concat(e,t)}function Je(s){if(s instanceof K)return Je(s.referencedRule);if(s instanceof k)return qi(s);if(Hi(s))return Yi(s);if(Xi(s))return Ji(s);throw Error("non exhaustive match")}function Yi(s){let e=[];const t=s.definition;let n=0,i=t.length>n,a,r=!0;for(;i&&r;)a=t[n],r=Tt(a),e=e.concat(Je(a)),n=n+1,i=t.length>n;return[...new Set(e)]}function Ji(s){const e=s.definition.map(t=>Je(t));return[...new Set(e.flat())]}function qi(s){return[s.terminalType]}const an="_~IN~_";class Zi extends kt{constructor(e){super(),this.topProd=e,this.follows={}}startWalking(){return this.walk(this.topProd),this.follows}walkTerminal(e,t,n){}walkProdRef(e,t,n){const i=ea(e.referencedRule,e.idx)+this.topProd.name,a=t.concat(n),r=new W({definition:a}),l=Je(r);this.follows[i]=l}}function Qi(s){const e={};return s.forEach(t=>{const n=new Zi(t).startWalking();Object.assign(e,n)}),e}function ea(s,e){return s.name+e+an}function S(s){return s.charCodeAt(0)}function Pt(s,e){Array.isArray(s)?s.forEach(function(t){e.push(t)}):e.push(s)}function Fe(s,e){if(s[e]===!0)throw"duplicate flag "+e;s[e],s[e]=!0}function Se(s){if(s===void 0)throw Error("Internal Error - Should never get here!");return!0}function ta(){throw Error("Internal Error - Should never get here!")}function Rs(s){return s.type==="Character"}const gt=[];for(let s=S("0");s<=S("9");s++)gt.push(s);const At=[S("_")].concat(gt);for(let s=S("a");s<=S("z");s++)At.push(s);for(let s=S("A");s<=S("Z");s++)At.push(s);const Os=[S(" "),S("\f"),S(`
1
+ import{g as Ni}from"./DiUyyFSb.js";import{s as Ci}from"./gVcm9LZ1.js";import{U as Zs,aZ as jt,V as Qs,a_ as Gt,Y as bi,b0 as vi,b as h,aU as je,ay as _i,X as en,a1 as xi,aP as Mi,bh as wi,aV as Ui,r as Pi,O as Di,am as Fi,W as Bi,ab as $i,aG as ji,aA as Gi,aW as Wi}from"./D0BUPqIH.js";function Wt(s){console&&console.error&&console.error(`Error: ${s}`)}function tn(s){console&&console.warn&&console.warn(`Warning: ${s}`)}function sn(s){const e=new Date().getTime(),t=s();return{time:new Date().getTime()-e,value:t}}function nn(s){function e(){}e.prototype=s;const t=new e;function n(){return typeof t.bar}return n(),n(),s}function Ki(s){return Vi(s)?s.LABEL:s.name}function Vi(s){return typeof s.LABEL=="string"&&s.LABEL!==""}class te{get definition(){return this._definition}set definition(e){this._definition=e}constructor(e){this._definition=e}accept(e){e.visit(this),this.definition.forEach(t=>{t.accept(e)})}}class K extends te{constructor(e){super([]),this.idx=1,Object.assign(this,ie(e))}set definition(e){}get definition(){return this.referencedRule!==void 0?this.referencedRule.definition:[]}accept(e){e.visit(this)}}class _e extends te{constructor(e){super(e.definition),this.orgText="",Object.assign(this,ie(e))}}class W extends te{constructor(e){super(e.definition),this.ignoreAmbiguities=!1,Object.assign(this,ie(e))}}class G extends te{constructor(e){super(e.definition),this.idx=1,Object.assign(this,ie(e))}}class se extends te{constructor(e){super(e.definition),this.idx=1,Object.assign(this,ie(e))}}class ne extends te{constructor(e){super(e.definition),this.idx=1,Object.assign(this,ie(e))}}class M extends te{constructor(e){super(e.definition),this.idx=1,Object.assign(this,ie(e))}}class q extends te{constructor(e){super(e.definition),this.idx=1,Object.assign(this,ie(e))}}class Z extends te{get definition(){return this._definition}set definition(e){this._definition=e}constructor(e){super(e.definition),this.idx=1,this.ignoreAmbiguities=!1,this.hasPredicates=!1,Object.assign(this,ie(e))}}class k{constructor(e){this.idx=1,Object.assign(this,ie(e))}accept(e){e.visit(this)}}function zi(s){return s.map(at)}function at(s){function e(t){return t.map(at)}if(s instanceof K){const t={type:"NonTerminal",name:s.nonTerminalName,idx:s.idx};return typeof s.label=="string"&&(t.label=s.label),t}else{if(s instanceof W)return{type:"Alternative",definition:e(s.definition)};if(s instanceof G)return{type:"Option",idx:s.idx,definition:e(s.definition)};if(s instanceof se)return{type:"RepetitionMandatory",idx:s.idx,definition:e(s.definition)};if(s instanceof ne)return{type:"RepetitionMandatoryWithSeparator",idx:s.idx,separator:at(new k({terminalType:s.separator})),definition:e(s.definition)};if(s instanceof q)return{type:"RepetitionWithSeparator",idx:s.idx,separator:at(new k({terminalType:s.separator})),definition:e(s.definition)};if(s instanceof M)return{type:"Repetition",idx:s.idx,definition:e(s.definition)};if(s instanceof Z)return{type:"Alternation",idx:s.idx,definition:e(s.definition)};if(s instanceof k){const t={type:"Terminal",name:s.terminalType.name,label:Ki(s.terminalType),idx:s.idx};typeof s.label=="string"&&(t.terminalLabel=s.label);const n=s.terminalType.PATTERN;return s.terminalType.PATTERN&&(t.pattern=n instanceof RegExp?n.source:n),t}else{if(s instanceof _e)return{type:"Rule",name:s.name,orgText:s.orgText,definition:e(s.definition)};throw Error("non exhaustive match")}}}function ie(s){return Object.fromEntries(Object.entries(s).filter(([,e])=>e!==void 0))}class xe{visit(e){const t=e;switch(t.constructor){case K:return this.visitNonTerminal(t);case W:return this.visitAlternative(t);case G:return this.visitOption(t);case se:return this.visitRepetitionMandatory(t);case ne:return this.visitRepetitionMandatoryWithSeparator(t);case q:return this.visitRepetitionWithSeparator(t);case M:return this.visitRepetition(t);case Z:return this.visitAlternation(t);case k:return this.visitTerminal(t);case _e:return this.visitRule(t);default:throw Error("non exhaustive match")}}visitNonTerminal(e){}visitAlternative(e){}visitOption(e){}visitRepetition(e){}visitRepetitionMandatory(e){}visitRepetitionMandatoryWithSeparator(e){}visitRepetitionWithSeparator(e){}visitAlternation(e){}visitTerminal(e){}visitRule(e){}}function Hi(s){return s instanceof W||s instanceof G||s instanceof M||s instanceof se||s instanceof ne||s instanceof q||s instanceof k||s instanceof _e}function Tt(s,e=[]){return s instanceof G||s instanceof M||s instanceof q?!0:s instanceof Z?s.definition.some(n=>Tt(n,e)):s instanceof K&&e.includes(s)?!1:s instanceof te?(s instanceof K&&e.push(s),s.definition.every(n=>Tt(n,e))):!1}function Xi(s){return s instanceof Z}function ee(s){if(s instanceof K)return"SUBRULE";if(s instanceof G)return"OPTION";if(s instanceof Z)return"OR";if(s instanceof se)return"AT_LEAST_ONE";if(s instanceof ne)return"AT_LEAST_ONE_SEP";if(s instanceof q)return"MANY_SEP";if(s instanceof M)return"MANY";if(s instanceof k)return"CONSUME";throw Error("non exhaustive match")}class kt{walk(e,t=[]){e.definition.forEach((n,i)=>{const a=e.definition.slice(i+1);if(n instanceof K)this.walkProdRef(n,a,t);else if(n instanceof k)this.walkTerminal(n,a,t);else if(n instanceof W)this.walkFlat(n,a,t);else if(n instanceof G)this.walkOption(n,a,t);else if(n instanceof se)this.walkAtLeastOne(n,a,t);else if(n instanceof ne)this.walkAtLeastOneSep(n,a,t);else if(n instanceof q)this.walkManySep(n,a,t);else if(n instanceof M)this.walkMany(n,a,t);else if(n instanceof Z)this.walkOr(n,a,t);else throw Error("non exhaustive match")})}walkTerminal(e,t,n){}walkProdRef(e,t,n){}walkFlat(e,t,n){const i=t.concat(n);this.walk(e,i)}walkOption(e,t,n){const i=t.concat(n);this.walk(e,i)}walkAtLeastOne(e,t,n){const i=[new G({definition:e.definition})].concat(t,n);this.walk(e,i)}walkAtLeastOneSep(e,t,n){const i=ys(e,t,n);this.walk(e,i)}walkMany(e,t,n){const i=[new G({definition:e.definition})].concat(t,n);this.walk(e,i)}walkManySep(e,t,n){const i=ys(e,t,n);this.walk(e,i)}walkOr(e,t,n){const i=t.concat(n);e.definition.forEach(a=>{const r=new W({definition:[a]});this.walk(r,i)})}}function ys(s,e,t){return[new G({definition:[new k({terminalType:s.separator})].concat(s.definition)})].concat(e,t)}function Je(s){if(s instanceof K)return Je(s.referencedRule);if(s instanceof k)return qi(s);if(Hi(s))return Yi(s);if(Xi(s))return Ji(s);throw Error("non exhaustive match")}function Yi(s){let e=[];const t=s.definition;let n=0,i=t.length>n,a,r=!0;for(;i&&r;)a=t[n],r=Tt(a),e=e.concat(Je(a)),n=n+1,i=t.length>n;return[...new Set(e)]}function Ji(s){const e=s.definition.map(t=>Je(t));return[...new Set(e.flat())]}function qi(s){return[s.terminalType]}const an="_~IN~_";class Zi extends kt{constructor(e){super(),this.topProd=e,this.follows={}}startWalking(){return this.walk(this.topProd),this.follows}walkTerminal(e,t,n){}walkProdRef(e,t,n){const i=ea(e.referencedRule,e.idx)+this.topProd.name,a=t.concat(n),r=new W({definition:a}),l=Je(r);this.follows[i]=l}}function Qi(s){const e={};return s.forEach(t=>{const n=new Zi(t).startWalking();Object.assign(e,n)}),e}function ea(s,e){return s.name+e+an}function S(s){return s.charCodeAt(0)}function Pt(s,e){Array.isArray(s)?s.forEach(function(t){e.push(t)}):e.push(s)}function Fe(s,e){if(s[e]===!0)throw"duplicate flag "+e;s[e],s[e]=!0}function Se(s){if(s===void 0)throw Error("Internal Error - Should never get here!");return!0}function ta(){throw Error("Internal Error - Should never get here!")}function Rs(s){return s.type==="Character"}const gt=[];for(let s=S("0");s<=S("9");s++)gt.push(s);const At=[S("_")].concat(gt);for(let s=S("a");s<=S("z");s++)At.push(s);for(let s=S("A");s<=S("Z");s++)At.push(s);const Os=[S(" "),S("\f"),S(`
2
2
  `),S("\r"),S(" "),S("\v"),S(" "),S(" "),S(" "),S(" "),S(" "),S(" "),S(" "),S(" "),S(" "),S(" "),S(" "),S(" "),S(" "),S(" "),S("\u2028"),S("\u2029"),S(" "),S(" "),S(" "),S("\uFEFF")],sa=/[0-9a-fA-F]/,tt=/[0-9]/,na=/[1-9]/;class ia{constructor(){this.idx=0,this.input="",this.groupIdx=0}saveState(){return{idx:this.idx,input:this.input,groupIdx:this.groupIdx}}restoreState(e){this.idx=e.idx,this.input=e.input,this.groupIdx=e.groupIdx}pattern(e){this.idx=0,this.input=e,this.groupIdx=0,this.consumeChar("/");const t=this.disjunction();this.consumeChar("/");const n={type:"Flags",loc:{begin:this.idx,end:e.length},global:!1,ignoreCase:!1,multiLine:!1,unicode:!1,sticky:!1};for(;this.isRegExpFlag();)switch(this.popChar()){case"g":Fe(n,"global");break;case"i":Fe(n,"ignoreCase");break;case"m":Fe(n,"multiLine");break;case"u":Fe(n,"unicode");break;case"y":Fe(n,"sticky");break}if(this.idx!==this.input.length)throw Error("Redundant input: "+this.input.substring(this.idx));return{type:"Pattern",flags:n,value:t,loc:this.loc(0)}}disjunction(){const e=[],t=this.idx;for(e.push(this.alternative());this.peekChar()==="|";)this.consumeChar("|"),e.push(this.alternative());return{type:"Disjunction",value:e,loc:this.loc(t)}}alternative(){const e=[],t=this.idx;for(;this.isTerm();)e.push(this.term());return{type:"Alternative",value:e,loc:this.loc(t)}}term(){return this.isAssertion()?this.assertion():this.atom()}assertion(){const e=this.idx;switch(this.popChar()){case"^":return{type:"StartAnchor",loc:this.loc(e)};case"$":return{type:"EndAnchor",loc:this.loc(e)};case"\\":switch(this.popChar()){case"b":return{type:"WordBoundary",loc:this.loc(e)};case"B":return{type:"NonWordBoundary",loc:this.loc(e)}}throw Error("Invalid Assertion Escape");case"(":this.consumeChar("?");let t;switch(this.popChar()){case"=":t="Lookahead";break;case"!":t="NegativeLookahead";break;case"<":{switch(this.popChar()){case"=":t="Lookbehind";break;case"!":t="NegativeLookbehind"}break}}Se(t);const n=this.disjunction();return this.consumeChar(")"),{type:t,value:n,loc:this.loc(e)}}return ta()}quantifier(e=!1){let t;const n=this.idx;switch(this.popChar()){case"*":t={atLeast:0,atMost:1/0};break;case"+":t={atLeast:1,atMost:1/0};break;case"?":t={atLeast:0,atMost:1};break;case"{":const i=this.integerIncludingZero();switch(this.popChar()){case"}":t={atLeast:i,atMost:i};break;case",":let a;this.isDigit()?(a=this.integerIncludingZero(),t={atLeast:i,atMost:a}):t={atLeast:i,atMost:1/0},this.consumeChar("}");break}if(e===!0&&t===void 0)return;Se(t);break}if(!(e===!0&&t===void 0)&&Se(t))return this.peekChar(0)==="?"?(this.consumeChar("?"),t.greedy=!1):t.greedy=!0,t.type="Quantifier",t.loc=this.loc(n),t}atom(){let e;const t=this.idx;switch(this.peekChar()){case".":e=this.dotAll();break;case"\\":e=this.atomEscape();break;case"[":e=this.characterClass();break;case"(":e=this.group();break}if(e===void 0&&this.isPatternCharacter()&&(e=this.patternCharacter()),Se(e))return e.loc=this.loc(t),this.isQuantifier()&&(e.quantifier=this.quantifier()),e}dotAll(){return this.consumeChar("."),{type:"Set",complement:!0,value:[S(`
3
3
  `),S("\r"),S("\u2028"),S("\u2029")]}}atomEscape(){switch(this.consumeChar("\\"),this.peekChar()){case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return this.decimalEscapeAtom();case"d":case"D":case"s":case"S":case"w":case"W":return this.characterClassEscape();case"f":case"n":case"r":case"t":case"v":return this.controlEscapeAtom();case"c":return this.controlLetterEscapeAtom();case"0":return this.nulCharacterAtom();case"x":return this.hexEscapeSequenceAtom();case"u":return this.regExpUnicodeEscapeSequenceAtom();default:return this.identityEscapeAtom()}}decimalEscapeAtom(){return{type:"GroupBackReference",value:this.positiveInteger()}}characterClassEscape(){let e,t=!1;switch(this.popChar()){case"d":e=gt;break;case"D":e=gt,t=!0;break;case"s":e=Os;break;case"S":e=Os,t=!0;break;case"w":e=At;break;case"W":e=At,t=!0;break}if(Se(e))return{type:"Set",value:e,complement:t}}controlEscapeAtom(){let e;switch(this.popChar()){case"f":e=S("\f");break;case"n":e=S(`
4
4
  `);break;case"r":e=S("\r");break;case"t":e=S(" ");break;case"v":e=S("\v");break}if(Se(e))return{type:"Character",value:e}}controlLetterEscapeAtom(){this.consumeChar("c");const e=this.popChar();if(/[a-zA-Z]/.test(e)===!1)throw Error("Invalid ");return{type:"Character",value:e.toUpperCase().charCodeAt(0)-64}}nulCharacterAtom(){return this.consumeChar("0"),{type:"Character",value:S("\0")}}hexEscapeSequenceAtom(){return this.consumeChar("x"),this.parseHexDigits(2)}regExpUnicodeEscapeSequenceAtom(){return this.consumeChar("u"),this.parseHexDigits(4)}identityEscapeAtom(){const e=this.popChar();return{type:"Character",value:S(e)}}classPatternCharacterAtom(){switch(this.peekChar()){case`
@@ -1 +1 @@
1
- import{b8 as te,aR as re,by as ne,ao as j,_ as q,ae as F,c0 as Ce,c5 as Oe,aG as se,bI as ae,bV as k,br as Ee,bH as L,aD as u,bs as oe,a5 as Pe,bA as Le,W as N,bn as ie,aA as g,aB as D,bo as Te,ay as ze,bS as Fe,c9 as z,be as Ne,b$ as Re,b_ as ke,bO as Ae}from"./DYhIMPy1.js";import{t as le,bq as m,by as de,br as ce,b as ue,a_ as H}from"./CXgKrD4b.js";import{i as W,l as R}from"./BEdXc2Cn.js";import{b as U}from"./BaIAhI85.js";import{s as Be}from"./CHyKyUzM.js";import{I as G,F as We,c as De}from"./NpJ_H_lL.js";import"./BYJTJW1o.js";import{bL as Me}from"./-svebp9s.js";function J(e,t,n=t){var o=new WeakSet;te(e,"input",async s=>{j&&e.type==="checkbox"&&q();var i=s?e.defaultValue:e.value;if(i=A(e)?B(i):i,n(i),F!==null&&o.add(F),await Ce(),i!==(i=t())){var f=e.selectionStart,c=e.selectionEnd,l=e.value.length;if(e.value=i??"",c!==null){var d=e.value.length;f===c&&c===l&&d>l?(e.selectionStart=d,e.selectionEnd=d):(e.selectionStart=f,e.selectionEnd=Math.min(c,d))}}}),(re&&e.defaultValue!==e.value||Oe(t)==null&&e.value)&&(n(A(e)?B(e.value):e.value),F!==null&&o.add(F)),ne(()=>{j&&e.type==="checkbox"&&q();var s=t();if(e===document.activeElement){var i=F;if(o.has(i))return}A(e)&&s===B(e.value)||e.type==="date"&&!s&&!e.value||s!==e.value&&(e.value=s??"")})}function A(e){var t=e.type;return t==="number"||t==="range"}function B(e){return e===""?null:+e}function Ve(e,t,n=t){te(e,"change",()=>{n(e.files)}),re&&e.files&&n(e.files),ne(()=>{e.files=t()})}const fe=Symbol("owned-popup-context"),ve=Symbol("owned-popup-close");function lt(e){ae(fe,e)}function Xe(){return se(fe)}function dt(e){ae(ve,e)}function Ye(){return se(ve)}function ct(e){const t=Xe(),n=e??Ye();return o=>({destroy:t?.register(o,n)})}function K(e,t,n){const o=t+n;return e<t?t-e:e>o?e-o:0}function je(e,t,n="y"){let o=null,s=Number.POSITIVE_INFINITY;for(let i=0;i<t.length;i+=1){const f=t[i];if(!f)continue;const c=K(e.x,f.left,f.width),l=K(e.y,f.top,f.height),d=n==="x"?c:n==="y"?l:Math.hypot(c,l);d<s&&(o=i,s=d)}return o}function ut(e,t={}){const n=t.axis??"y",o=new Map;let s=k(null),i=k(Ee([])),f=k(null),c=k(0),l;const d=()=>{u(f)&&L(s,je(u(f),u(i),n),!0)},p=b=>{const a=getComputedStyle(e),v=P=>Number.parseFloat(P)||0,_=a.boxSizing==="border-box",w=Number.parseFloat(a.width)+(_?0:v(a.paddingLeft)+v(a.paddingRight)+v(a.borderLeftWidth)+v(a.borderRightWidth)),E=Number.parseFloat(a.height)+(_?0:v(a.paddingTop)+v(a.paddingBottom)+v(a.borderTopWidth)+v(a.borderBottomWidth)),y=P=>Math.abs(P-1)<.001?1:P;return{x:y(w>0&&b.width/w||1),y:y(E>0&&b.height/E||1)}},I=()=>{const b=e.getBoundingClientRect(),{x:a,y:v}=p(b),_=[];for(const[w,E]of o){const y=E.getBoundingClientRect();_[w]={top:(y.top-b.top)/v-e.clientTop+e.scrollTop,left:(y.left-b.left)/a-e.clientLeft+e.scrollLeft,width:y.width/a,height:y.height/v}}L(i,_,!0),d()},S=typeof ResizeObserver>"u"?void 0:new ResizeObserver(()=>{I()});S?.observe(e);const C=()=>{L(c,u(c)+1)},O=b=>{const a=e.getBoundingClientRect(),{x:v,y:_}=p(a);L(f,{x:(b.clientX-a.left)/v-e.clientLeft+e.scrollLeft,y:(b.clientY-a.top)/_-e.clientTop+e.scrollTop},!0),l!==void 0&&cancelAnimationFrame(l),l=requestAnimationFrame(()=>{l=void 0,d()})},T=()=>{l!==void 0&&cancelAnimationFrame(l),l=void 0,L(f,null),L(s,null)};return e.addEventListener("pointerenter",C),e.addEventListener("pointermove",O),e.addEventListener("pointerleave",T),{get activeIndex(){return u(s)},get itemRects(){return u(i)},get pointerPosition(){return u(f)},get sessionId(){return u(c)},measure:I,setActiveIndex(b){L(s,b,!0)},registerItem(b,a){const v=o.get(b);v&&S?.unobserve?.(v),a?(o.set(b,a),S?.observe(a)):o.delete(b),I()},destroy(){l!==void 0&&cancelAnimationFrame(l),S?.disconnect(),e.removeEventListener("pointerenter",C),e.removeEventListener("pointermove",O),e.removeEventListener("pointerleave",T)}}}const ft=(e,t)=>{let n=t;return n.hover.registerItem(n.index,e),{update(o){(o.hover!==n.hover||o.index!==n.index)&&(n.hover.registerItem(n.index,null),o.hover.registerItem(o.index,e)),n=o},destroy(){n.hover.registerItem(n.index,null)}}},vt="p-1",bt="type-caption min-h-(--control-height-small) justify-start rounded-(--radius-row) px-2 py-1 text-left font-normal",gt="ml-auto first-line-icon w-(--menu-icon-size)";var qe=new Set(["$$slots","$$events","$$legacy","tone","children","class"]),He=D("<p><!></p>");function be(e,t){if(new.target)return le({component:be,...e});oe(t,!0);let n=m(t,"tone",7,"helper"),o=m(t,"children",7),s=m(t,"class",7),i=ce(t,qe);var f={get tone(){return n()},set tone(d="helper"){n(d),g()},get children(){return o()},set children(d){o(d),g()},get class(){return s()},set class(d){s(d),g()},$set:de,$on:(d,p)=>ue(t,d,p)},c=He();W(c,d=>({"data-slot":"input-message","data-tone":n(),role:n()==="error"?"alert":void 0,"aria-live":n()==="helper"?"polite":void 0,class:d,...i}),[()=>R("type-caption mt-1.5 pl-0.5 motion-reduce:transition-none",n()==="error"?"text-danger":"text-muted-foreground",s())]);var l=Pe(c);return Be(l,o),Le(c),G(1,c,()=>We,()=>({tier:"fast",y:-2,scale:1})),G(2,c,()=>De,()=>({tier:"fast"})),N(e,c),ie(f)}const ge="data-[state=hover]:bg-hover",Q=`border-border bg-transparent shadow-none transition-[background-color,border-color,box-shadow,color] duration-(--spring-fast) hover:bg-hover ${ge} read-only:text-muted-foreground disabled:cursor-not-allowed disabled:bg-transparent disabled:opacity-60 disabled:hover:bg-transparent aria-invalid:border-danger motion-reduce:transition-none`,mt=`border-border bg-transparent shadow-none outline-none transition-[background-color,border-color,box-shadow,color] duration-(--spring-fast) hover:bg-hover focus-within:outline-none focus-within:ring-0 ${ge} data-[disabled=true]:pointer-events-none data-[disabled=true]:bg-transparent data-[disabled=true]:opacity-60 data-[disabled=true]:hover:bg-transparent data-[invalid=true]:border-danger motion-reduce:transition-none`,Z="focus-visible:!bg-transparent focus-visible:!shadow-none focus-visible:outline-none",Ue="h-auto min-h-0 min-w-0 w-full rounded-none border-0 bg-transparent p-0 text-inherit placeholder:text-inherit! shadow-none outline-none ring-0 hover:bg-transparent focus-visible:bg-transparent focus-visible:shadow-none focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-60 aria-invalid:ring-1 aria-invalid:ring-danger",Ge="focus-visible:outline-none focus-visible:shadow-none";function $(e){return e==="compact"?"h-(--control-height-small)":"h-(--control-height-medium)"}const Je="type-caption h-9 w-full min-w-0 rounded-(--radius-medium) border-0 bg-transparent px-3 text-foreground placeholder:text-muted-foreground/60! shadow-none outline-none ring-0 hover:bg-transparent focus-visible:bg-transparent focus-visible:shadow-none focus-visible:outline-none focus-visible:ring-0 disabled:cursor-not-allowed disabled:opacity-60 aria-invalid:ring-1 aria-invalid:ring-danger";var Ke=new Set(["$$slots","$$events","$$legacy","ref","id","value","type","size","files","variant","noFocusStyle","message","error","messageId","aria-describedby","aria-invalid","class","data-slot"]),ee=D("<input/>"),Qe=D("<!> <!>",1);function Ze(e,t){const n=Te();if(new.target)return le({component:Ze,...e});oe(t,!0);const o=Me();let s=m(t,"ref",15),i=m(t,"id",7),f=m(t,"value",15),c=m(t,"type",7),l=m(t,"size",7),d=m(t,"files",15),p=m(t,"variant",7,"default"),I=m(t,"noFocusStyle",7,!1),S=m(t,"message",7),C=m(t,"error",7),O=m(t,"messageId",23,()=>`${n}-message`),T=m(t,"aria-describedby",7),b=m(t,"aria-invalid",7),a=m(t,"class",7),v=m(t,"data-slot",7,"input"),_=ce(t,Ke);const w=z(()=>typeof l()=="string"?l():o),E=z(()=>typeof l()=="number"?l():void 0),y=z(()=>C()??S()),P=z(()=>[T(),u(y)?O():void 0].filter(Boolean).join(" ")||void 0),M=z(()=>C()?!0:b());function me(){s()?.focus()}function he(){s()?.blur()}function pe(){s()?.select()}function ye(r,h,x){s()?.setSelectionRange(r,h,x)}var xe={focus:me,blur:he,select:pe,setSelectionRange:ye,get ref(){return s()},set ref(r){s(r),g()},get id(){return i()},set id(r){i(r),g()},get value(){return f()},set value(r){f(r),g()},get type(){return c()},set type(r){c(r),g()},get size(){return l()},set size(r){l(r),g()},get files(){return d()},set files(r){d(r),g()},get variant(){return p()},set variant(r="default"){p(r),g()},get noFocusStyle(){return I()},set noFocusStyle(r=!1){I(r),g()},get message(){return S()},set message(r){S(r),g()},get error(){return C()},set error(r){C(r),g()},get messageId(){return O()},set messageId(r=`${n}-message`){O(r),g()},get"aria-describedby"(){return T()},set"aria-describedby"(r){T(r),g()},get"aria-invalid"(){return b()},set"aria-invalid"(r){b(r),g()},get class(){return a()},set class(r){a(r),g()},get"data-slot"(){return v()},set"data-slot"(r="input"){v(r),g()},$set:de,$on:(r,h)=>ue(t,r,h)},V=Qe(),X=ze(V);{var _e=r=>{var h=ee();W(h,x=>({id:i(),"data-slot":v(),"data-size":u(w),class:x,type:"file",size:u(E),"aria-describedby":u(P),"aria-invalid":u(M),..._}),[()=>R("type-caption text-foreground selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground flex w-full min-w-0 rounded-(--radius-medium) border px-3 file:mr-3 file:border-0 file:bg-transparent file:font-medium file:text-foreground",Q,"focus-visible:-outline-offset-2",$(u(w)),I()&&Z,a())],void 0,void 0,void 0,!0),U(h,x=>s(x),()=>s()),Ve(h,d),J(h,f),N(r,h)},we=r=>{var h=ee();W(h,x=>({id:i(),"data-slot":v(),"data-size":u(w),"data-variant":p()==="default"?void 0:p(),class:x,type:c(),size:u(E),"aria-describedby":u(P),"aria-invalid":u(M),autocorrect:"off",autocapitalize:"off",spellcheck:"false",..._}),[()=>p()==="inline"?R("selection:bg-primary selection:text-primary-foreground",Ue,a()):p()==="search"?R("flex selection:bg-primary selection:text-primary-foreground",Je,a()):R("type-caption text-foreground selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground flex w-full min-w-0 rounded-(--radius-medium) border px-3 py-1",Q,Ge,$(u(w)),I()&&Z,a())],void 0,void 0,void 0,!0),U(h,x=>s(x),()=>s()),J(h,f),N(r,h)};H(X,r=>{c()==="file"?r(_e):r(we,-1)})}var Ie=Fe(X,2);{var Se=r=>{{let h=z(()=>C()?"error":"helper");be(r,{get id(){return O()},get tone(){return u(h)},children:(x,$e)=>{Ne();var Y=Re();ke(()=>Ae(Y,u(y))),N(x,Y)},$$slots:{default:!0}})}};H(Ie,r=>{u(y)&&r(Se)})}return N(e,V),ie(xe)}export{Ze as I,vt as O,be as a,gt as b,bt as c,Ve as d,J as e,ct as f,ut as g,Ye as h,Xe as i,lt as j,Q as k,Z as l,mt as m,$ as n,Ue as o,ft as p,Je as q,dt as s,Ge as t};
1
+ import{b8 as te,aR as re,by as ne,ao as j,_ as q,ae as F,c0 as Ce,c5 as Oe,aG as se,bI as ae,bV as k,br as Ee,bH as L,aD as u,bs as oe,a5 as Pe,bA as Le,W as N,bn as ie,aA as g,aB as D,bo as Te,ay as ze,bS as Fe,c9 as z,be as Ne,b$ as Re,b_ as ke,bO as Ae}from"./DYhIMPy1.js";import{t as le,bq as m,by as de,br as ce,b as ue,a_ as H}from"./Dso1_H3c.js";import{i as W,l as R}from"./CnMdEUN9.js";import{b as U}from"./BaIAhI85.js";import{s as Be}from"./BfNeIJAh.js";import{I as G,F as We,c as De}from"./Cl-7Au8R.js";import"./BuxSPewv.js";import{bL as Me}from"./m5UczIQR.js";function J(e,t,n=t){var o=new WeakSet;te(e,"input",async s=>{j&&e.type==="checkbox"&&q();var i=s?e.defaultValue:e.value;if(i=A(e)?B(i):i,n(i),F!==null&&o.add(F),await Ce(),i!==(i=t())){var f=e.selectionStart,c=e.selectionEnd,l=e.value.length;if(e.value=i??"",c!==null){var d=e.value.length;f===c&&c===l&&d>l?(e.selectionStart=d,e.selectionEnd=d):(e.selectionStart=f,e.selectionEnd=Math.min(c,d))}}}),(re&&e.defaultValue!==e.value||Oe(t)==null&&e.value)&&(n(A(e)?B(e.value):e.value),F!==null&&o.add(F)),ne(()=>{j&&e.type==="checkbox"&&q();var s=t();if(e===document.activeElement){var i=F;if(o.has(i))return}A(e)&&s===B(e.value)||e.type==="date"&&!s&&!e.value||s!==e.value&&(e.value=s??"")})}function A(e){var t=e.type;return t==="number"||t==="range"}function B(e){return e===""?null:+e}function Ve(e,t,n=t){te(e,"change",()=>{n(e.files)}),re&&e.files&&n(e.files),ne(()=>{e.files=t()})}const fe=Symbol("owned-popup-context"),ve=Symbol("owned-popup-close");function lt(e){ae(fe,e)}function Xe(){return se(fe)}function dt(e){ae(ve,e)}function Ye(){return se(ve)}function ct(e){const t=Xe(),n=e??Ye();return o=>({destroy:t?.register(o,n)})}function K(e,t,n){const o=t+n;return e<t?t-e:e>o?e-o:0}function je(e,t,n="y"){let o=null,s=Number.POSITIVE_INFINITY;for(let i=0;i<t.length;i+=1){const f=t[i];if(!f)continue;const c=K(e.x,f.left,f.width),l=K(e.y,f.top,f.height),d=n==="x"?c:n==="y"?l:Math.hypot(c,l);d<s&&(o=i,s=d)}return o}function ut(e,t={}){const n=t.axis??"y",o=new Map;let s=k(null),i=k(Ee([])),f=k(null),c=k(0),l;const d=()=>{u(f)&&L(s,je(u(f),u(i),n),!0)},p=b=>{const a=getComputedStyle(e),v=P=>Number.parseFloat(P)||0,_=a.boxSizing==="border-box",w=Number.parseFloat(a.width)+(_?0:v(a.paddingLeft)+v(a.paddingRight)+v(a.borderLeftWidth)+v(a.borderRightWidth)),E=Number.parseFloat(a.height)+(_?0:v(a.paddingTop)+v(a.paddingBottom)+v(a.borderTopWidth)+v(a.borderBottomWidth)),y=P=>Math.abs(P-1)<.001?1:P;return{x:y(w>0&&b.width/w||1),y:y(E>0&&b.height/E||1)}},I=()=>{const b=e.getBoundingClientRect(),{x:a,y:v}=p(b),_=[];for(const[w,E]of o){const y=E.getBoundingClientRect();_[w]={top:(y.top-b.top)/v-e.clientTop+e.scrollTop,left:(y.left-b.left)/a-e.clientLeft+e.scrollLeft,width:y.width/a,height:y.height/v}}L(i,_,!0),d()},S=typeof ResizeObserver>"u"?void 0:new ResizeObserver(()=>{I()});S?.observe(e);const C=()=>{L(c,u(c)+1)},O=b=>{const a=e.getBoundingClientRect(),{x:v,y:_}=p(a);L(f,{x:(b.clientX-a.left)/v-e.clientLeft+e.scrollLeft,y:(b.clientY-a.top)/_-e.clientTop+e.scrollTop},!0),l!==void 0&&cancelAnimationFrame(l),l=requestAnimationFrame(()=>{l=void 0,d()})},T=()=>{l!==void 0&&cancelAnimationFrame(l),l=void 0,L(f,null),L(s,null)};return e.addEventListener("pointerenter",C),e.addEventListener("pointermove",O),e.addEventListener("pointerleave",T),{get activeIndex(){return u(s)},get itemRects(){return u(i)},get pointerPosition(){return u(f)},get sessionId(){return u(c)},measure:I,setActiveIndex(b){L(s,b,!0)},registerItem(b,a){const v=o.get(b);v&&S?.unobserve?.(v),a?(o.set(b,a),S?.observe(a)):o.delete(b),I()},destroy(){l!==void 0&&cancelAnimationFrame(l),S?.disconnect(),e.removeEventListener("pointerenter",C),e.removeEventListener("pointermove",O),e.removeEventListener("pointerleave",T)}}}const ft=(e,t)=>{let n=t;return n.hover.registerItem(n.index,e),{update(o){(o.hover!==n.hover||o.index!==n.index)&&(n.hover.registerItem(n.index,null),o.hover.registerItem(o.index,e)),n=o},destroy(){n.hover.registerItem(n.index,null)}}},vt="p-1",bt="type-caption min-h-(--control-height-small) justify-start rounded-(--radius-row) px-2 py-1 text-left font-normal",gt="ml-auto first-line-icon w-(--menu-icon-size)";var qe=new Set(["$$slots","$$events","$$legacy","tone","children","class"]),He=D("<p><!></p>");function be(e,t){if(new.target)return le({component:be,...e});oe(t,!0);let n=m(t,"tone",7,"helper"),o=m(t,"children",7),s=m(t,"class",7),i=ce(t,qe);var f={get tone(){return n()},set tone(d="helper"){n(d),g()},get children(){return o()},set children(d){o(d),g()},get class(){return s()},set class(d){s(d),g()},$set:de,$on:(d,p)=>ue(t,d,p)},c=He();W(c,d=>({"data-slot":"input-message","data-tone":n(),role:n()==="error"?"alert":void 0,"aria-live":n()==="helper"?"polite":void 0,class:d,...i}),[()=>R("type-caption mt-1.5 pl-0.5 motion-reduce:transition-none",n()==="error"?"text-danger":"text-muted-foreground",s())]);var l=Pe(c);return Be(l,o),Le(c),G(1,c,()=>We,()=>({tier:"fast",y:-2,scale:1})),G(2,c,()=>De,()=>({tier:"fast"})),N(e,c),ie(f)}const ge="data-[state=hover]:bg-hover",Q=`border-border bg-transparent shadow-none transition-[background-color,border-color,box-shadow,color] duration-(--spring-fast) hover:bg-hover ${ge} read-only:text-muted-foreground disabled:cursor-not-allowed disabled:bg-transparent disabled:opacity-60 disabled:hover:bg-transparent aria-invalid:border-danger motion-reduce:transition-none`,mt=`border-border bg-transparent shadow-none outline-none transition-[background-color,border-color,box-shadow,color] duration-(--spring-fast) hover:bg-hover focus-within:outline-none focus-within:ring-0 ${ge} data-[disabled=true]:pointer-events-none data-[disabled=true]:bg-transparent data-[disabled=true]:opacity-60 data-[disabled=true]:hover:bg-transparent data-[invalid=true]:border-danger motion-reduce:transition-none`,Z="focus-visible:!bg-transparent focus-visible:!shadow-none focus-visible:outline-none",Ue="h-auto min-h-0 min-w-0 w-full rounded-none border-0 bg-transparent p-0 text-inherit placeholder:text-inherit! shadow-none outline-none ring-0 hover:bg-transparent focus-visible:bg-transparent focus-visible:shadow-none focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-60 aria-invalid:ring-1 aria-invalid:ring-danger",Ge="focus-visible:outline-none focus-visible:shadow-none";function $(e){return e==="compact"?"h-(--control-height-small)":"h-(--control-height-medium)"}const Je="type-caption h-9 w-full min-w-0 rounded-(--radius-medium) border-0 bg-transparent px-3 text-foreground placeholder:text-muted-foreground/60! shadow-none outline-none ring-0 hover:bg-transparent focus-visible:bg-transparent focus-visible:shadow-none focus-visible:outline-none focus-visible:ring-0 disabled:cursor-not-allowed disabled:opacity-60 aria-invalid:ring-1 aria-invalid:ring-danger";var Ke=new Set(["$$slots","$$events","$$legacy","ref","id","value","type","size","files","variant","noFocusStyle","message","error","messageId","aria-describedby","aria-invalid","class","data-slot"]),ee=D("<input/>"),Qe=D("<!> <!>",1);function Ze(e,t){const n=Te();if(new.target)return le({component:Ze,...e});oe(t,!0);const o=Me();let s=m(t,"ref",15),i=m(t,"id",7),f=m(t,"value",15),c=m(t,"type",7),l=m(t,"size",7),d=m(t,"files",15),p=m(t,"variant",7,"default"),I=m(t,"noFocusStyle",7,!1),S=m(t,"message",7),C=m(t,"error",7),O=m(t,"messageId",23,()=>`${n}-message`),T=m(t,"aria-describedby",7),b=m(t,"aria-invalid",7),a=m(t,"class",7),v=m(t,"data-slot",7,"input"),_=ce(t,Ke);const w=z(()=>typeof l()=="string"?l():o),E=z(()=>typeof l()=="number"?l():void 0),y=z(()=>C()??S()),P=z(()=>[T(),u(y)?O():void 0].filter(Boolean).join(" ")||void 0),M=z(()=>C()?!0:b());function me(){s()?.focus()}function he(){s()?.blur()}function pe(){s()?.select()}function ye(r,h,x){s()?.setSelectionRange(r,h,x)}var xe={focus:me,blur:he,select:pe,setSelectionRange:ye,get ref(){return s()},set ref(r){s(r),g()},get id(){return i()},set id(r){i(r),g()},get value(){return f()},set value(r){f(r),g()},get type(){return c()},set type(r){c(r),g()},get size(){return l()},set size(r){l(r),g()},get files(){return d()},set files(r){d(r),g()},get variant(){return p()},set variant(r="default"){p(r),g()},get noFocusStyle(){return I()},set noFocusStyle(r=!1){I(r),g()},get message(){return S()},set message(r){S(r),g()},get error(){return C()},set error(r){C(r),g()},get messageId(){return O()},set messageId(r=`${n}-message`){O(r),g()},get"aria-describedby"(){return T()},set"aria-describedby"(r){T(r),g()},get"aria-invalid"(){return b()},set"aria-invalid"(r){b(r),g()},get class(){return a()},set class(r){a(r),g()},get"data-slot"(){return v()},set"data-slot"(r="input"){v(r),g()},$set:de,$on:(r,h)=>ue(t,r,h)},V=Qe(),X=ze(V);{var _e=r=>{var h=ee();W(h,x=>({id:i(),"data-slot":v(),"data-size":u(w),class:x,type:"file",size:u(E),"aria-describedby":u(P),"aria-invalid":u(M),..._}),[()=>R("type-caption text-foreground selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground flex w-full min-w-0 rounded-(--radius-medium) border px-3 file:mr-3 file:border-0 file:bg-transparent file:font-medium file:text-foreground",Q,"focus-visible:-outline-offset-2",$(u(w)),I()&&Z,a())],void 0,void 0,void 0,!0),U(h,x=>s(x),()=>s()),Ve(h,d),J(h,f),N(r,h)},we=r=>{var h=ee();W(h,x=>({id:i(),"data-slot":v(),"data-size":u(w),"data-variant":p()==="default"?void 0:p(),class:x,type:c(),size:u(E),"aria-describedby":u(P),"aria-invalid":u(M),autocorrect:"off",autocapitalize:"off",spellcheck:"false",..._}),[()=>p()==="inline"?R("selection:bg-primary selection:text-primary-foreground",Ue,a()):p()==="search"?R("flex selection:bg-primary selection:text-primary-foreground",Je,a()):R("type-caption text-foreground selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground flex w-full min-w-0 rounded-(--radius-medium) border px-3 py-1",Q,Ge,$(u(w)),I()&&Z,a())],void 0,void 0,void 0,!0),U(h,x=>s(x),()=>s()),J(h,f),N(r,h)};H(X,r=>{c()==="file"?r(_e):r(we,-1)})}var Ie=Fe(X,2);{var Se=r=>{{let h=z(()=>C()?"error":"helper");be(r,{get id(){return O()},get tone(){return u(h)},children:(x,$e)=>{Ne();var Y=Re();ke(()=>Ae(Y,u(y))),N(x,Y)},$$slots:{default:!0}})}};H(Ie,r=>{u(y)&&r(Se)})}return N(e,V),ie(xe)}export{Ze as I,vt as O,be as a,gt as b,bt as c,Ve as d,J as e,ct as f,ut as g,Ye as h,Xe as i,lt as j,Q as k,Z as l,mt as m,$ as n,Ue as o,ft as p,Je as q,dt as s,Ge as t};
@@ -1 +1 @@
1
- import{aG as a,bI as l}from"./DYhIMPy1.js";import{Ik as t}from"./DenVKqrV.js";const s=Symbol("static-overlay");function n(e){l(s,e)}function b(){return a(s)??(()=>!1)}const r=["border-rose-500/30 bg-rose-500/15 text-rose-700 dark:text-rose-300","border-amber-500/30 bg-amber-500/15 text-amber-700 dark:text-amber-300","border-yellow-500/30 bg-yellow-500/15 text-yellow-700 dark:text-yellow-300","border-emerald-500/30 bg-emerald-500/15 text-emerald-700 dark:text-emerald-300","border-sky-500/30 bg-sky-500/15 text-sky-700 dark:text-sky-300","border-violet-500/30 bg-violet-500/15 text-violet-700 dark:text-violet-300"],o=["hover:bg-rose-500/25","hover:bg-amber-500/25","hover:bg-yellow-500/25","hover:bg-emerald-500/25","hover:bg-sky-500/25","hover:bg-violet-500/25"];function h(e){return r[e%r.length]}function d(e){return o[e%o.length]}const u=t.createSelector(e=>e.theme.preference),v=t.createSelector(e=>e.theme.name==="dark"),S=t.createSelector(e=>e.theme.hasCustomTheme),i=t.createSelector(e=>e.theme.customThemeName),g=t.createSelector(e=>e.theme.activePresetId),x=t.createSelector(e=>e.theme.error);export{i as a,S as b,v as c,x as d,u as e,h as f,d as g,n as p,g as s,b as u};
1
+ import{aG as a,bI as l}from"./DYhIMPy1.js";import{Ik as t}from"./Dk1_0x0Q.js";const s=Symbol("static-overlay");function n(e){l(s,e)}function b(){return a(s)??(()=>!1)}const r=["border-rose-500/30 bg-rose-500/15 text-rose-700 dark:text-rose-300","border-amber-500/30 bg-amber-500/15 text-amber-700 dark:text-amber-300","border-yellow-500/30 bg-yellow-500/15 text-yellow-700 dark:text-yellow-300","border-emerald-500/30 bg-emerald-500/15 text-emerald-700 dark:text-emerald-300","border-sky-500/30 bg-sky-500/15 text-sky-700 dark:text-sky-300","border-violet-500/30 bg-violet-500/15 text-violet-700 dark:text-violet-300"],o=["hover:bg-rose-500/25","hover:bg-amber-500/25","hover:bg-yellow-500/25","hover:bg-emerald-500/25","hover:bg-sky-500/25","hover:bg-violet-500/25"];function h(e){return r[e%r.length]}function d(e){return o[e%o.length]}const u=t.createSelector(e=>e.theme.preference),v=t.createSelector(e=>e.theme.name==="dark"),S=t.createSelector(e=>e.theme.hasCustomTheme),i=t.createSelector(e=>e.theme.customThemeName),g=t.createSelector(e=>e.theme.activePresetId),x=t.createSelector(e=>e.theme.error);export{i as a,S as b,v as c,x as d,u as e,h as f,d as g,n as p,g as s,b as u};
@@ -1 +1 @@
1
- import{l as e}from"./D5BJwiCX.js";const t={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{offSide:!0},onEnterRules:[{beforeText:/:\s*$/,action:{indentAction:e.IndentAction.Indent}}]},o={tokenPostfix:".yaml",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["true","True","TRUE","false","False","FALSE","null","Null","Null","~"],numberInteger:/(?:0|[+-]?[0-9]+)/,numberFloat:/(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,numberOctal:/0o[0-7]+/,numberHex:/0x[0-9a-fA-F]+/,numberInfinity:/[+-]?\.(?:inf|Inf|INF)/,numberNaN:/\.(?:nan|Nan|NAN)/,numberDate:/\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,escapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/%[^ ]+.*$/,"meta.directive"],[/---/,"operators.directivesEnd"],[/\.{3}/,"operators.documentEnd"],[/[-?:](?= )/,"operators"],{include:"@anchor"},{include:"@tagHandle"},{include:"@flowCollections"},{include:"@blockStyle"},[/@numberInteger(?![ \t]*\S+)/,"number"],[/@numberFloat(?![ \t]*\S+)/,"number.float"],[/@numberOctal(?![ \t]*\S+)/,"number.octal"],[/@numberHex(?![ \t]*\S+)/,"number.hex"],[/@numberInfinity(?![ \t]*\S+)/,"number.infinity"],[/@numberNaN(?![ \t]*\S+)/,"number.nan"],[/@numberDate(?![ \t]*\S+)/,"number.date"],[/(".*?"|'.*?'|[^#'"]*?)([ \t]*)(:)( |$)/,["type","white","operators","white"]],{include:"@flowScalars"},[/.+?(?=(\s+#|$))/,{cases:{"@keywords":"keyword","@default":"string"}}]],object:[{include:"@whitespace"},{include:"@comment"},[/\}/,"@brackets","@pop"],[/,/,"delimiter.comma"],[/:(?= )/,"operators"],[/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/,"type"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\},]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],array:[{include:"@whitespace"},{include:"@comment"},[/\]/,"@brackets","@pop"],[/,/,"delimiter.comma"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\],]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],multiString:[[/^( +).+$/,"string","@multiStringContinued.$1"]],multiStringContinued:[[/^( *).+$/,{cases:{"$1==$S2":"string","@default":{token:"@rematch",next:"@popall"}}}]],whitespace:[[/[ \t\r\n]+/,"white"]],comment:[[/#.*$/,"comment"]],flowCollections:[[/\[/,"@brackets","@array"],[/\{/,"@brackets","@object"]],flowScalars:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'[^']*'/,"string"],[/"/,"string","@doubleQuotedString"]],doubleQuotedString:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],blockStyle:[[/[>|][0-9]*[+-]?$/,"operators","@multiString"]],flowNumber:[[/@numberInteger(?=[ \t]*[,\]\}])/,"number"],[/@numberFloat(?=[ \t]*[,\]\}])/,"number.float"],[/@numberOctal(?=[ \t]*[,\]\}])/,"number.octal"],[/@numberHex(?=[ \t]*[,\]\}])/,"number.hex"],[/@numberInfinity(?=[ \t]*[,\]\}])/,"number.infinity"],[/@numberNaN(?=[ \t]*[,\]\}])/,"number.nan"],[/@numberDate(?=[ \t]*[,\]\}])/,"number.date"]],tagHandle:[[/\![^ ]*/,"tag"]],anchor:[[/[&*][^ ]+/,"namespace"]]}};export{t as conf,o as language};
1
+ import{l as e}from"./35OKERyz.js";const t={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{offSide:!0},onEnterRules:[{beforeText:/:\s*$/,action:{indentAction:e.IndentAction.Indent}}]},o={tokenPostfix:".yaml",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.square",open:"[",close:"]"}],keywords:["true","True","TRUE","false","False","FALSE","null","Null","Null","~"],numberInteger:/(?:0|[+-]?[0-9]+)/,numberFloat:/(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,numberOctal:/0o[0-7]+/,numberHex:/0x[0-9a-fA-F]+/,numberInfinity:/[+-]?\.(?:inf|Inf|INF)/,numberNaN:/\.(?:nan|Nan|NAN)/,numberDate:/\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,escapes:/\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/%[^ ]+.*$/,"meta.directive"],[/---/,"operators.directivesEnd"],[/\.{3}/,"operators.documentEnd"],[/[-?:](?= )/,"operators"],{include:"@anchor"},{include:"@tagHandle"},{include:"@flowCollections"},{include:"@blockStyle"},[/@numberInteger(?![ \t]*\S+)/,"number"],[/@numberFloat(?![ \t]*\S+)/,"number.float"],[/@numberOctal(?![ \t]*\S+)/,"number.octal"],[/@numberHex(?![ \t]*\S+)/,"number.hex"],[/@numberInfinity(?![ \t]*\S+)/,"number.infinity"],[/@numberNaN(?![ \t]*\S+)/,"number.nan"],[/@numberDate(?![ \t]*\S+)/,"number.date"],[/(".*?"|'.*?'|[^#'"]*?)([ \t]*)(:)( |$)/,["type","white","operators","white"]],{include:"@flowScalars"},[/.+?(?=(\s+#|$))/,{cases:{"@keywords":"keyword","@default":"string"}}]],object:[{include:"@whitespace"},{include:"@comment"},[/\}/,"@brackets","@pop"],[/,/,"delimiter.comma"],[/:(?= )/,"operators"],[/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/,"type"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\},]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],array:[{include:"@whitespace"},{include:"@comment"},[/\]/,"@brackets","@pop"],[/,/,"delimiter.comma"],{include:"@flowCollections"},{include:"@flowScalars"},{include:"@tagHandle"},{include:"@anchor"},{include:"@flowNumber"},[/[^\],]+/,{cases:{"@keywords":"keyword","@default":"string"}}]],multiString:[[/^( +).+$/,"string","@multiStringContinued.$1"]],multiStringContinued:[[/^( *).+$/,{cases:{"$1==$S2":"string","@default":{token:"@rematch",next:"@popall"}}}]],whitespace:[[/[ \t\r\n]+/,"white"]],comment:[[/#.*$/,"comment"]],flowCollections:[[/\[/,"@brackets","@array"],[/\{/,"@brackets","@object"]],flowScalars:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'[^']*'/,"string"],[/"/,"string","@doubleQuotedString"]],doubleQuotedString:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],blockStyle:[[/[>|][0-9]*[+-]?$/,"operators","@multiString"]],flowNumber:[[/@numberInteger(?=[ \t]*[,\]\}])/,"number"],[/@numberFloat(?=[ \t]*[,\]\}])/,"number.float"],[/@numberOctal(?=[ \t]*[,\]\}])/,"number.octal"],[/@numberHex(?=[ \t]*[,\]\}])/,"number.hex"],[/@numberInfinity(?=[ \t]*[,\]\}])/,"number.infinity"],[/@numberNaN(?=[ \t]*[,\]\}])/,"number.nan"],[/@numberDate(?=[ \t]*[,\]\}])/,"number.date"]],tagHandle:[[/\![^ ]*/,"tag"]],anchor:[[/[&*][^ ]+/,"namespace"]]}};export{t as conf,o as language};
@@ -0,0 +1 @@
1
+ import{oz as o}from"./Dk1_0x0Q.js";import{aC as r}from"./CArqGgyL.js";function c(n,e){if(!e)return!0;const t=r.select(n,e);return!!t&&!o(t)}export{c};
@@ -1,4 +1,4 @@
1
- import{m as us,j as ot}from"./uXuxG9cN.js";import{bo as c}from"./CXgKrD4b.js";import{HZ as lt,Ik as o,c as A,bW as ds,g as U,h$ as fs,ny as T,p$ as gs,lP as ps,xQ as hs,nx as W,rl as ms,xP as ct,rk as it,nk as ut,np as _s,m2 as bs,fF as dt,lL as Ss,md as ys,nO as $,iv as ks,aR as ye,aM as te}from"./DenVKqrV.js";import{bQ as Cs,cY as ws,a_ as vs,aF as As,ch as Ts,bI as Is,bk as Rs,bq as Ps,al as Es,cE as xs,cM as Ms,c2 as Ns,bf as $s}from"./D-Mv0NgR.js";import{a as Ls,g as Os,b as Ds,i as pe,C as le}from"./DypB-Dwi.js";import{bx as Ws}from"./-svebp9s.js";import{w as Us}from"./BPe3vmZW.js";import{d as Hs}from"./BFLeHPtB.js";import{t as C,u as Fs}from"./NpJ_H_lL.js";var he=(e=>(e.ACTIVATING="activating",e.ACTIVE="active",e.ERROR="error",e))(he||{});function sl(e){return e.isPending===!0||e.status==="pending"}function js(e,t){const s=e.provider||e.metadata?.provider||e.config?.provider;if(s)return s;if(e.model)return(lt(e.model).providerId??t)||void 0}function rl(e){return e.messages.length>0}function Bs(e){return e.filter(t=>t.type==="text").map(t=>t.text??"").join("")}function qs(e){return e.contentBlocks?Bs(e.contentBlocks):""}const nl=o.createSelector(e=>e.principal),V=o.createSelector(Ls),P=o.createSelector(e=>{const t=e.principal;return t?.status==="ready"&&t.context!==null&&t.context===V.select(e)?t.snapshot:null}),Gs=o.createSelector(e=>P.select(e)?.daemonMode??null),al=o.createSelector(e=>Gs.select(e)==="orchestrator"),ol=o.createSelector(e=>P.select(e)?.capabilities.agentPlugins===1),ll=o.createSelector(e=>P.select(e)?.capabilities.messageBlockPages===1),O=o.createSelector(e=>{const t=P.select(e);return t?t.capabilities.hostMembership?t.principal.hostRole??null:t.principal.isAdministrator?"owner":"guest":null}),X=o.createSelector(e=>O.select(e)==="owner"),ft=o.createSelector(e=>e.principal?.status==="revoked"&&e.principal.context!==null&&e.principal.context===V.select(e)),cl=o.createSelector(e=>{const t=O.select(e);return t==="member"||t==="guest"||ft.select(e)}),il=o.createSelector(e=>X.select(e)?V.select(e):null),zs=o.createSelector(e=>{const t=O.select(e);return t==="owner"||t==="member"}),ce=o.createSelector(e=>Us.select(e)===!0&&!!P.select(e)&&e.principal.refreshedPresentationVersion===e.principal.presentationVersion),ul=o.createSelector(e=>{const t=ce.select(e),s=P.select(e)?.capabilities;return{hostMembership:t&&s?.hostMembership===!0,manageHostMembers:t&&s?.hostMembership===!0&&X.select(e),personalPairing:t&&s?.personalPairing===!0,authenticatedDevices:t&&s?.authenticatedDevices===!0,collaborationIdentity:t&&s?.collaborationIdentity===!0}}),ie=o.createSelector(Os),dl=o.createSelector(Ds),fl=o.createSelector(e=>zs.select(e)&&(X.select(e)||ce.select(e)));function Zs(e,t){const s=e.indexOf("/"),r=s===-1?void 0:e.slice(0,s),n=s===-1?e:e.slice(s+1),a=t?.indexOf("/")??-1,i=t&&a!==-1?t.slice(0,a):void 0;return r&&i&&r.toLowerCase()===i.toLowerCase()?n:e}function gt(e,t,s){return`${Zs(e,s)} #${t}`}function ke(e){return e.resource?.repository.provider==="gitlab"}function gl(e,t){return`${ke(e)?"!":"#"}${t}`}function Ks(e){return e.url??(e.resource||e.monitorAvailability||e.url===null?"":`https://github.com/${e.repo}/pull/${e.prNumber}`)}function Vs(e,t){return ke(e)?`${e.repo} !${e.prNumber}`:gt(e.repo,e.prNumber,t)}function pl(e){return e.resource?us(e.resource):e.monitorAvailability?`unresolved:${e.monitorId}`:`${e.repo.toLowerCase()}#${e.prNumber}`}function hl(e){switch(e.monitorAvailability?.state){case void 0:case"available":return;case"pending":return c.chat_chatMessage_loading_label();case"reconnect-required":return c.chat_monitoredPrs_status_reconnect();case"restricted":return c.chat_monitoredPrs_status_restricted();case"unresolved":return c.chat_monitoredPrs_status_unresolved();default:return c.chat_monitoredPrs_status_unknown()}}function ml(e){return e.isDraft===null||e.hasConflicts===null||e.isBehind===null||Object.values(e.checks).some(t=>t===null)||e.approvals.have===null||e.approvals.changesRequested===null||e.availability!==void 0&&Object.values(e.availability).some(t=>t!=="available")}function _l(e,t){if(!ke(t)||!t.resource)return e;const s=new URL(t.resource.repository.instanceBaseUrl);return`${e} (${s.host}${s.pathname.replace(/\/$/,"")})`}function pt(e){return e===A.Halted||e===A.Completed||e===A.Error||e===A.Deleted||e==="completed"||e==="failed"||e==="error"||e==="deleted"}function ht(e){return e.status===A.Halted?!1:!!(e.turnInFlight||e.liveTurnOpen||e.isStreaming||e.isProcessing||e.isResponding||e.isWaitingOnTool||e.lastToolUse?.status?.toLowerCase()==="running")}function mt(e){return e.status===A.Resuming||pt(e.status)||ht(e)?!1:!!(e.isWaitingForOtherAgents||e.status===A.Waiting||e.status==="waiting")}function Qs(e){return pt(e.status)||mt(e)?!1:!!(ht(e)||e.activationState==="activating"||e.status===A.Resuming||e.status===A.Active||e.status===A.Processing||e.status==="active"||e.status==="processing"||e.status==="responding"||e.status==="streaming")}function bl(e){return{isStreaming:e.isStreaming,isProcessing:e.isProcessing,isResponding:e.isResponding,turnInFlight:e.turnInFlight,liveTurnOpen:e.liveTurnOpen,isWaitingOnTool:e.isWaitingOnTool,isWaitingForOtherAgents:e.isWaitingForOtherAgents,lastToolUse:e.lastToolUse,activationState:e.activationState,status:e.status}}function Ys(e){if(!e)return null;const t=e.lastUserMessage||"";let s=e.lastAgentResponse||"",r;const n=e.digest||void 0,a=e.lastMessageRole==="user"||e.lastMessageRole==="assistant"?e.lastMessageRole:void 0;e.isStreaming&&e.lastToolUse?.name?(r={type:"tool_use",id:`live-tool:${e.id}`,name:e.lastToolUse.name,input:{}},s=""):!s&&!e.isStreaming&&e.lastToolUse?.name&&(r={type:"tool_use",id:`wire-tool:${e.id}`,name:e.lastToolUse.name,input:e.lastToolUse.input??{}});const i=e.metadata?.completionReport||void 0,l=ds(e)??void 0;return{id:e.id,name:e.name||c.chat_chatHeader_newChat_fallback(),status:e.status,lastUserMessage:t,lastResponse:s,lastToolUse:r,fileChanges:(e.fileChanges||[]).map(u=>({path:u.path,action:u.type||u.action||"modify",timestamp:u.timestamp||new Date().toISOString()})),messages:e.messages||[],completionReport:i,digest:n,parentAgentId:l,lastMessageRole:a}}function Sl(e,t){if(!e)return"";const s=e.split(`
1
+ import{m as us,j as ot}from"./uXuxG9cN.js";import{bo as c}from"./Dso1_H3c.js";import{HZ as lt,Ik as o,c as A,bW as ds,g as U,h$ as fs,ny as T,p$ as gs,lP as ps,xQ as hs,nx as W,rl as ms,xP as ct,rk as it,nk as ut,np as _s,m2 as bs,fF as dt,lL as Ss,md as ys,nO as $,iv as ks,aR as ye,aM as te}from"./Dk1_0x0Q.js";import{bQ as Cs,cY as ws,a_ as vs,aF as As,ch as Ts,bI as Is,bk as Rs,bq as Ps,al as Es,cE as xs,cM as Ms,c2 as Ns,bf as $s}from"./DAGiwOmW.js";import{a as Ls,g as Os,b as Ds,i as pe,C as le}from"./DypB-Dwi.js";import{bx as Ws}from"./m5UczIQR.js";import{w as Us}from"./Cxbk0QV6.js";import{d as Hs}from"./HZf189bi.js";import{t as C,u as Fs}from"./Cl-7Au8R.js";var he=(e=>(e.ACTIVATING="activating",e.ACTIVE="active",e.ERROR="error",e))(he||{});function sl(e){return e.isPending===!0||e.status==="pending"}function js(e,t){const s=e.provider||e.metadata?.provider||e.config?.provider;if(s)return s;if(e.model)return(lt(e.model).providerId??t)||void 0}function rl(e){return e.messages.length>0}function Bs(e){return e.filter(t=>t.type==="text").map(t=>t.text??"").join("")}function qs(e){return e.contentBlocks?Bs(e.contentBlocks):""}const nl=o.createSelector(e=>e.principal),V=o.createSelector(Ls),P=o.createSelector(e=>{const t=e.principal;return t?.status==="ready"&&t.context!==null&&t.context===V.select(e)?t.snapshot:null}),Gs=o.createSelector(e=>P.select(e)?.daemonMode??null),al=o.createSelector(e=>Gs.select(e)==="orchestrator"),ol=o.createSelector(e=>P.select(e)?.capabilities.agentPlugins===1),ll=o.createSelector(e=>P.select(e)?.capabilities.messageBlockPages===1),O=o.createSelector(e=>{const t=P.select(e);return t?t.capabilities.hostMembership?t.principal.hostRole??null:t.principal.isAdministrator?"owner":"guest":null}),X=o.createSelector(e=>O.select(e)==="owner"),ft=o.createSelector(e=>e.principal?.status==="revoked"&&e.principal.context!==null&&e.principal.context===V.select(e)),cl=o.createSelector(e=>{const t=O.select(e);return t==="member"||t==="guest"||ft.select(e)}),il=o.createSelector(e=>X.select(e)?V.select(e):null),zs=o.createSelector(e=>{const t=O.select(e);return t==="owner"||t==="member"}),ce=o.createSelector(e=>Us.select(e)===!0&&!!P.select(e)&&e.principal.refreshedPresentationVersion===e.principal.presentationVersion),ul=o.createSelector(e=>{const t=ce.select(e),s=P.select(e)?.capabilities;return{hostMembership:t&&s?.hostMembership===!0,manageHostMembers:t&&s?.hostMembership===!0&&X.select(e),personalPairing:t&&s?.personalPairing===!0,authenticatedDevices:t&&s?.authenticatedDevices===!0,collaborationIdentity:t&&s?.collaborationIdentity===!0}}),ie=o.createSelector(Os),dl=o.createSelector(Ds),fl=o.createSelector(e=>zs.select(e)&&(X.select(e)||ce.select(e)));function Zs(e,t){const s=e.indexOf("/"),r=s===-1?void 0:e.slice(0,s),n=s===-1?e:e.slice(s+1),a=t?.indexOf("/")??-1,i=t&&a!==-1?t.slice(0,a):void 0;return r&&i&&r.toLowerCase()===i.toLowerCase()?n:e}function gt(e,t,s){return`${Zs(e,s)} #${t}`}function ke(e){return e.resource?.repository.provider==="gitlab"}function gl(e,t){return`${ke(e)?"!":"#"}${t}`}function Ks(e){return e.url??(e.resource||e.monitorAvailability||e.url===null?"":`https://github.com/${e.repo}/pull/${e.prNumber}`)}function Vs(e,t){return ke(e)?`${e.repo} !${e.prNumber}`:gt(e.repo,e.prNumber,t)}function pl(e){return e.resource?us(e.resource):e.monitorAvailability?`unresolved:${e.monitorId}`:`${e.repo.toLowerCase()}#${e.prNumber}`}function hl(e){switch(e.monitorAvailability?.state){case void 0:case"available":return;case"pending":return c.chat_chatMessage_loading_label();case"reconnect-required":return c.chat_monitoredPrs_status_reconnect();case"restricted":return c.chat_monitoredPrs_status_restricted();case"unresolved":return c.chat_monitoredPrs_status_unresolved();default:return c.chat_monitoredPrs_status_unknown()}}function ml(e){return e.isDraft===null||e.hasConflicts===null||e.isBehind===null||Object.values(e.checks).some(t=>t===null)||e.approvals.have===null||e.approvals.changesRequested===null||e.availability!==void 0&&Object.values(e.availability).some(t=>t!=="available")}function _l(e,t){if(!ke(t)||!t.resource)return e;const s=new URL(t.resource.repository.instanceBaseUrl);return`${e} (${s.host}${s.pathname.replace(/\/$/,"")})`}function pt(e){return e===A.Halted||e===A.Completed||e===A.Error||e===A.Deleted||e==="completed"||e==="failed"||e==="error"||e==="deleted"}function ht(e){return e.status===A.Halted?!1:!!(e.turnInFlight||e.liveTurnOpen||e.isStreaming||e.isProcessing||e.isResponding||e.isWaitingOnTool||e.lastToolUse?.status?.toLowerCase()==="running")}function mt(e){return e.status===A.Resuming||pt(e.status)||ht(e)?!1:!!(e.isWaitingForOtherAgents||e.status===A.Waiting||e.status==="waiting")}function Qs(e){return pt(e.status)||mt(e)?!1:!!(ht(e)||e.activationState==="activating"||e.status===A.Resuming||e.status===A.Active||e.status===A.Processing||e.status==="active"||e.status==="processing"||e.status==="responding"||e.status==="streaming")}function bl(e){return{isStreaming:e.isStreaming,isProcessing:e.isProcessing,isResponding:e.isResponding,turnInFlight:e.turnInFlight,liveTurnOpen:e.liveTurnOpen,isWaitingOnTool:e.isWaitingOnTool,isWaitingForOtherAgents:e.isWaitingForOtherAgents,lastToolUse:e.lastToolUse,activationState:e.activationState,status:e.status}}function Ys(e){if(!e)return null;const t=e.lastUserMessage||"";let s=e.lastAgentResponse||"",r;const n=e.digest||void 0,a=e.lastMessageRole==="user"||e.lastMessageRole==="assistant"?e.lastMessageRole:void 0;e.isStreaming&&e.lastToolUse?.name?(r={type:"tool_use",id:`live-tool:${e.id}`,name:e.lastToolUse.name,input:{}},s=""):!s&&!e.isStreaming&&e.lastToolUse?.name&&(r={type:"tool_use",id:`wire-tool:${e.id}`,name:e.lastToolUse.name,input:e.lastToolUse.input??{}});const i=e.metadata?.completionReport||void 0,l=ds(e)??void 0;return{id:e.id,name:e.name||c.chat_chatHeader_newChat_fallback(),status:e.status,lastUserMessage:t,lastResponse:s,lastToolUse:r,fileChanges:(e.fileChanges||[]).map(u=>({path:u.path,action:u.type||u.action||"modify",timestamp:u.timestamp||new Date().toISOString()})),messages:e.messages||[],completionReport:i,digest:n,parentAgentId:l,lastMessageRole:a}}function Sl(e,t){if(!e)return"";const s=e.split(`
2
2
  `);for(;s.length>0&&s[s.length-1].trim()==="";)s.pop();return s.length===0?"":s.length<=t?s.join(`
3
3
  `):`${s.slice(-t).join(`
4
4
  `)}...`}const Xs={prefix:"fas",iconName:"note-sticky",icon:[16,16,[],"e002","M2 3.75A.75.75 0 0 1 2.75 3h10.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 3.75ZM2 8a.75.75 0 0 1 .75-.75h10.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 8Zm0 4.25a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Z"]},m={"file-read":$s,"file-write":Ns,"file-delete":Ms,terminal:xs,search:Cs,"context-engine":Es,api:Ps,workspace:Rs,note:Xs,meta:Is,agent:Ts,task:As,browser:vs,generic:ws},Js=["workspace-mcp_","workspace_mcp_","filesystem_","browser-mcp_","browser_mcp_"],er=["_workspace-mcp","-workspace-mcp","_playwright","_browser_mcp","_context_7","_svelte","_npx","_sequential_thinking","_figma","_slack","_sentry","_github","_linear","_notion","_jira"];function _t(e){return!!e&&/^(mcp__|mcp\.)/i.test(e)}const Le=/select:\s*mcp(__|\.)/i,tr=/^select:\s*mcp(__|\.)/i;function sr(e,t={}){if(B(e).toLowerCase()==="toolsearch"||typeof t.query=="string"&&tr.test(t.query))return!0;const s=typeof t._acpTitle=="string"?t._acpTitle:"";return Le.test(e||"")||Le.test(s)}function B(e){if(!e)return"";const t=e.match(/\/\/local\/mcp\/(.+)$/);t&&(e=t[1]),e=e.replace(/^mcp__[^_]+__/,""),e=e.replace(/^mcp\.[^.]+\./,"");const s=e.toLowerCase();for(const n of Js)if(s.startsWith(n)){e=e.slice(n.length);break}let r=!0;for(;r;){r=!1;const n=e.toLowerCase();for(const a of er)if(n.endsWith(a)){e=e.slice(0,-a.length),r=!0;break}}return e}function bt(e){const t=e.trim();return/\s/.test(t)?/^[A-Za-z0-9._-]+:\s/.test(t)?!0:t.split(/\s+/).length>=3:!1}function St(e){const t=e.trim().match(/^List\s+directory\s+\x60([^\x60]+)\x60$/i);if(!t)return null;const s=t[1].trim();return s.length===0?null:{category:"file-read",icon:m["file-read"],verb:c.chat_toolClassifier_listContents_label(),subject:R(s)||s,path:N(s)||null,filePath:s||null,isDirectory:!0}}function yt(e){const t=e.toLowerCase(),s=t.includes("agent")?"agent":t.includes("note")?"note":t.includes("workspace")?"workspace":"generic";return{category:s,icon:m[s],verb:f(e.trim(),120),subject:null,path:null}}const rr=[{suffix:"_workspace-mcp",source:"workspace-mcp"},{suffix:"-workspace-mcp",source:"workspace-mcp"},{suffix:"_browser_mcp",source:"browser-mcp"},{suffix:"_playwright",source:"playwright"},{suffix:"_sequential_thinking",source:"sequential-thinking"},{suffix:"_context_7",source:"context7"},{suffix:"_figma",source:"figma"},{suffix:"_sentry",source:"sentry"},{suffix:"_github",source:"github"},{suffix:"_linear",source:"linear"},{suffix:"_slack",source:"slack"},{suffix:"_notion",source:"notion"},{suffix:"_jira",source:"jira"},{suffix:"_svelte",source:"svelte"},{suffix:"_npx",source:"npx"}],nr=[{prefix:"workspace-mcp_",source:"workspace-mcp"},{prefix:"workspace_mcp_",source:"workspace-mcp"},{prefix:"browser-mcp_",source:"browser-mcp"},{prefix:"browser_mcp_",source:"browser-mcp"},{prefix:"filesystem_",source:"filesystem"}],Oe={"github-api":"github",linear:"linear",glean:"glean"},ar=new Set(["view","codebase-retrieval","codebase_retrieval","launch-process","launch_process","read-process","read_process","write-process","write_process","kill-process","kill_process","list-processes","list_processes","str-replace-editor","str_replace_editor","save-file","save_file","remove-files","remove_files","web-search","web_search","web-fetch","web_fetch","conversation-retrieval","conversation_retrieval","git-commit-retrieval","git_commit_retrieval","bash","read","edit","run","find","grep"]);function or(e){if(!e)return;const t=e.match(/\/\/local\/mcp\/(.+)$/);t&&(e=t[1]);const s=e.match(/^mcp__([^_]+)__/);if(s)return s[1].toLowerCase();const r=e.match(/^mcp\.([^.]+)\./);if(r)return r[1].toLowerCase();const n=e.toLowerCase();for(const{prefix:a,source:i}of nr)if(n.startsWith(a))return i;for(const{suffix:a,source:i}of rr)if(n.endsWith(a))return i;if(Oe[n])return Oe[n];ar.has(n)}function x(e){return typeof e=="string"?e:e==null?"":String(e)}function f(e,t=50){const s=x(e);return s.length>t?`${s.substring(0,t)}...`:s}function Ce(e){if(e==null)return null;if(typeof e=="string")return e;if(Array.isArray(e)){const t=e.filter(s=>s&&typeof s=="object"&&s.type==="text"&&s.text).map(s=>s.text);return t.length>0?t.join(`