@intent-hq/web 2.390.1 → 2.391.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (326) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{caKZ9Z4U.js → -CpNnXIW.js} +1 -1
  3. package/web/app/immutable/chunks/{DRDYIFn4.js → 0R5VEpaM.js} +4 -4
  4. package/web/app/immutable/chunks/{Cp5royN1.js → 1-MeqddK.js} +1 -1
  5. package/web/app/immutable/chunks/{BYpep93f.js → 23FyIn6O.js} +1 -1
  6. package/web/app/immutable/chunks/{xfg66reS.js → 5az3n8fR.js} +1 -1
  7. package/web/app/immutable/chunks/{DCLLUF6K.js → 6JlgfFWd.js} +1 -1
  8. package/web/app/immutable/chunks/{BOmWUtDJ.js → 7-WRRruG.js} +1 -1
  9. package/web/app/immutable/chunks/{Cfr2GX8P.js → 9GL-RXJZ.js} +1 -1
  10. package/web/app/immutable/chunks/{DxyD9o0t.js → 9eqoPT_C.js} +1 -1
  11. package/web/app/immutable/chunks/{DvNAieWn.js → 9qqz3Jr0.js} +1 -1
  12. package/web/app/immutable/chunks/{D672CX3Y.js → Ao0jjYj2.js} +1 -1
  13. package/web/app/immutable/chunks/{_UjuBCOJ.js → B1lpukIv.js} +1 -1
  14. package/web/app/immutable/chunks/{CcJmuwXr.js → B26ZHg3s.js} +1 -1
  15. package/web/app/immutable/chunks/{CrpG0ldr.js → B28HQLvX.js} +1 -1
  16. package/web/app/immutable/chunks/{BIFBPuAO.js → B2Ny2uiy.js} +1 -1
  17. package/web/app/immutable/chunks/{DC_9qNLq.js → B2Q_FC4n.js} +3 -3
  18. package/web/app/immutable/chunks/{DfheqyY9.js → B2awO10u.js} +1 -1
  19. package/web/app/immutable/chunks/{C4jSaPCg.js → B3T1oiJl.js} +1 -1
  20. package/web/app/immutable/chunks/{BtmHyUSg.js → B4Yz29Q3.js} +1 -1
  21. package/web/app/immutable/chunks/{BxmKCIlL.js → B5-Plsom.js} +1 -1
  22. package/web/app/immutable/chunks/{CZfxrP3m.js → B6m0Dypi.js} +1 -1
  23. package/web/app/immutable/chunks/{BEP4JwDJ.js → B7hGbqIM.js} +1 -1
  24. package/web/app/immutable/chunks/{DxKtLuP2.js → B7hWIBzm.js} +1 -1
  25. package/web/app/immutable/chunks/{9YT9B_ti.js → B7pblHOt.js} +1 -1
  26. package/web/app/immutable/chunks/B9Nn4kQr.js +3 -0
  27. package/web/app/immutable/chunks/{CXP7dPfG.js → BAMJ8Hnj.js} +1 -1
  28. package/web/app/immutable/chunks/{DrA_ZV1y.js → BB2vaoZ2.js} +3 -3
  29. package/web/app/immutable/chunks/{BhiYNovM.js → BBcnUEuQ.js} +1 -1
  30. package/web/app/immutable/chunks/{CkmDctRH.js → BCLYeYwk.js} +1 -1
  31. package/web/app/immutable/chunks/{CLJCnlVH.js → BDeGl6ee.js} +1 -1
  32. package/web/app/immutable/chunks/{BPcIfv-A.js → BFHmbbvG.js} +2 -2
  33. package/web/app/immutable/chunks/{BbYWP3Ow.js → BFfRQORP.js} +1 -1
  34. package/web/app/immutable/chunks/{BrMDTgLg.js → BGeImWEk.js} +1 -1
  35. package/web/app/immutable/chunks/{BksTLNI4.js → BHgSQJqT.js} +1 -1
  36. package/web/app/immutable/chunks/{BJEoqPJ5.js → BJCm9MUD.js} +1 -1
  37. package/web/app/immutable/chunks/{BBPVt-9A.js → BKKCpqXK.js} +2 -2
  38. package/web/app/immutable/chunks/{CHW1UVsO.js → BLfqsc2a.js} +1 -1
  39. package/web/app/immutable/chunks/{Dc4V5sMu.js → BLtLj2yz.js} +1 -1
  40. package/web/app/immutable/chunks/{958SNXkw.js → BM2ubpAw.js} +1 -1
  41. package/web/app/immutable/chunks/{D36C5UHH.js → BM39k1x6.js} +1 -1
  42. package/web/app/immutable/chunks/{CjPEI4fg.js → BMTanQ2Z.js} +1 -1
  43. package/web/app/immutable/chunks/{BtNlG0Qg.js → BNYZa6GV.js} +1 -1
  44. package/web/app/immutable/chunks/{Cn4A9AjR.js → BOPrepKH.js} +1 -1
  45. package/web/app/immutable/chunks/{BB9aoG-e.js → BOVldAsb.js} +1 -1
  46. package/web/app/immutable/chunks/{BNs9wOFa.js → BQCtWEZ2.js} +1 -1
  47. package/web/app/immutable/chunks/{Dp8b1GoU.js → BRScUzfU.js} +1 -1
  48. package/web/app/immutable/chunks/{CgrVbtN0.js → BS9WBIBb.js} +1 -1
  49. package/web/app/immutable/chunks/{DuaPhBil.js → BSKVcPN7.js} +1 -1
  50. package/web/app/immutable/chunks/{s6kPQOkv.js → BSZu3BUb.js} +1 -1
  51. package/web/app/immutable/chunks/{D7b2VLAz.js → BT5iyspK.js} +1 -1
  52. package/web/app/immutable/chunks/{CJsEZbta.js → BT8mEFV6.js} +1 -1
  53. package/web/app/immutable/chunks/{DBAONTYG.js → BTXzEcFX.js} +2 -2
  54. package/web/app/immutable/chunks/{DZzwt3PA.js → BTvJ4T_4.js} +1 -1
  55. package/web/app/immutable/chunks/{aZdb_rCN.js → BU3y3Xes.js} +1 -1
  56. package/web/app/immutable/chunks/{BYpFXq6h.js → BU9me3Pg.js} +1 -1
  57. package/web/app/immutable/chunks/{DCs992HX.js → BUSErGiB.js} +1 -1
  58. package/web/app/immutable/chunks/{B557jpav.js → BVUW22uN.js} +1 -1
  59. package/web/app/immutable/chunks/{CXz-0Ag_.js → BVwQph9_.js} +1 -1
  60. package/web/app/immutable/chunks/{p1zR6qAw.js → BWQPB65O.js} +1 -1
  61. package/web/app/immutable/chunks/{DzDSM2LC.js → BXwdb0J5.js} +3 -3
  62. package/web/app/immutable/chunks/{BwH4Bvte.js → BZ27qIg1.js} +1 -1
  63. package/web/app/immutable/chunks/{C4iFTj8I.js → BZCcX8wj.js} +2 -2
  64. package/web/app/immutable/chunks/{CDwhmkPo.js → B_JGVEqN.js} +1 -1
  65. package/web/app/immutable/chunks/BaXq2aUL.js +411 -0
  66. package/web/app/immutable/chunks/{BNCKMxAC.js → Bb-kpHQF.js} +1 -1
  67. package/web/app/immutable/chunks/{BObTlShq.js → BcdTbj6d.js} +1 -1
  68. package/web/app/immutable/chunks/{k55njABd.js → BczcQRsN.js} +1 -1
  69. package/web/app/immutable/chunks/{B5N8LmEF.js → BdhKX9ZN.js} +1 -1
  70. package/web/app/immutable/chunks/Bheykcr9.js +1 -0
  71. package/web/app/immutable/chunks/{uvhZkGDU.js → Bhq56Jsu.js} +1 -1
  72. package/web/app/immutable/chunks/{Bviyt-Xy.js → Bhyo7hBL.js} +1 -1
  73. package/web/app/immutable/chunks/{DdNhEgdc.js → BjGqF2I6.js} +1 -1
  74. package/web/app/immutable/chunks/{BPQFiQQc.js → BkcCJyDK.js} +1 -1
  75. package/web/app/immutable/chunks/{Bq2Q6gce.js → BlzuDW6O.js} +1 -1
  76. package/web/app/immutable/chunks/{BqMJVUEP.js → BmaG8vdR.js} +1 -1
  77. package/web/app/immutable/chunks/{UTM5G-w-.js → BpezAJRw.js} +1 -1
  78. package/web/app/immutable/chunks/{Dcy1uNRG.js → Bpi8OSTE.js} +1 -1
  79. package/web/app/immutable/chunks/{goTVlBLf.js → BrL12o40.js} +1 -1
  80. package/web/app/immutable/chunks/{D8xPzBy1.js → BuyrOC4V.js} +1 -1
  81. package/web/app/immutable/chunks/{CfNIzRu8.js → Bx1P9uW7.js} +1 -1
  82. package/web/app/immutable/chunks/{BhCMc9G0.js → By2YlE-l.js} +1 -1
  83. package/web/app/immutable/chunks/{BB3L0Ahp.js → ByP-EusE.js} +1 -1
  84. package/web/app/immutable/chunks/{CSjV3uYy.js → Byobtdo1.js} +1 -1
  85. package/web/app/immutable/chunks/{CEE0831H.js → Bz80vYvX.js} +1 -1
  86. package/web/app/immutable/chunks/{pfX_M-aK.js → C-nTKxY9.js} +1 -1
  87. package/web/app/immutable/chunks/{CwxM4cLW.js → C00PRSTi.js} +1 -1
  88. package/web/app/immutable/chunks/{CiCk9_hF.js → C1MYTxgW.js} +1 -1
  89. package/web/app/immutable/chunks/{CVWwz1Ss.js → C22cBcHz.js} +1 -1
  90. package/web/app/immutable/chunks/{CpIiMADc.js → C2tSFTTb.js} +1 -1
  91. package/web/app/immutable/chunks/{D9CNxngf.js → C3JJkOFb.js} +1 -1
  92. package/web/app/immutable/chunks/{96V4v2iI.js → C3jMXj_V.js} +1 -1
  93. package/web/app/immutable/chunks/{DRND1Lha.js → C4l6men1.js} +1 -1
  94. package/web/app/immutable/chunks/{9mJbO8Tf.js → C5fxud9g.js} +1 -1
  95. package/web/app/immutable/chunks/{llldKyz-.js → C5tJUrGJ.js} +1 -1
  96. package/web/app/immutable/chunks/C8E14ldW.js +1 -0
  97. package/web/app/immutable/chunks/{mfOfLDEg.js → C9N7yhqm.js} +1 -1
  98. package/web/app/immutable/chunks/{CEpPVlB6.js → C9wxB2bb.js} +2 -2
  99. package/web/app/immutable/chunks/{CgwVRyOb.js → CA-b7pAY.js} +2 -2
  100. package/web/app/immutable/chunks/{BId1zNus.js → CAGrRNbp.js} +1 -1
  101. package/web/app/immutable/chunks/{BOVEEbKv.js → CAUJiTuz.js} +1 -1
  102. package/web/app/immutable/chunks/{CyBTM61A.js → CAUle5iU.js} +1 -1
  103. package/web/app/immutable/chunks/{BEQVnLdV.js → CCzPC_cB.js} +1 -1
  104. package/web/app/immutable/chunks/{BR1TNOav.js → CDUYzZ2W.js} +1 -1
  105. package/web/app/immutable/chunks/CDVPwJHE.js +1 -0
  106. package/web/app/immutable/chunks/{CiRuCsUo.js → CDh2mZdS.js} +1 -1
  107. package/web/app/immutable/chunks/{DpCic98X.js → CEA7jD1C.js} +1 -1
  108. package/web/app/immutable/chunks/{Dp7Hm0g0.js → CEyWnfg4.js} +1 -1
  109. package/web/app/immutable/chunks/{BwNrQXlF.js → CGmYraIa.js} +1 -1
  110. package/web/app/immutable/chunks/{yofTuS8P.js → CH6Im5iM.js} +1 -1
  111. package/web/app/immutable/chunks/{BBFoj-dS.js → CHIxjTWu.js} +1 -1
  112. package/web/app/immutable/chunks/{BQh5T3Ji.js → CHUYHKuh.js} +1 -1
  113. package/web/app/immutable/chunks/{DuiDS_zT.js → CIxnaBAb.js} +2 -2
  114. package/web/app/immutable/chunks/{UuRFnpzE.js → CK543FRe.js} +1 -1
  115. package/web/app/immutable/chunks/{D2YgP7DB.js → CKTB5KRw.js} +1 -1
  116. package/web/app/immutable/chunks/{M9xgh-VN.js → CLMwPQBQ.js} +1 -1
  117. package/web/app/immutable/chunks/{TyAuxp07.js → CLvqghA8.js} +1 -1
  118. package/web/app/immutable/chunks/{D9y3xvsP.js → COo5pTrI.js} +1 -1
  119. package/web/app/immutable/chunks/{DPttSllj.js → COofQgO0.js} +1 -1
  120. package/web/app/immutable/chunks/{Bub6uL1r.js → CPnqf2bo.js} +1 -1
  121. package/web/app/immutable/chunks/{Bcb_9iMJ.js → CR5XXYcE.js} +1 -1
  122. package/web/app/immutable/chunks/{Lai6pqjy.js → CREbzS7Z.js} +1 -1
  123. package/web/app/immutable/chunks/{DtXgUHCj.js → CRXlvdEs.js} +1 -1
  124. package/web/app/immutable/chunks/{TB9r2XJy.js → CT8vPg_p.js} +2 -2
  125. package/web/app/immutable/chunks/{hkJYqn41.js → CTgYTdXw.js} +1 -1
  126. package/web/app/immutable/chunks/{o0-ObNWE.js → CU15H7o_.js} +1 -1
  127. package/web/app/immutable/chunks/{C3dytrTL.js → CUZpLDKB.js} +1 -1
  128. package/web/app/immutable/chunks/{2q3SGbtI.js → CUgl7USU.js} +1 -1
  129. package/web/app/immutable/chunks/{DMrzeQEi.js → CV17KbhT.js} +1 -1
  130. package/web/app/immutable/chunks/{BbhtQrkZ.js → CVtLV3_x.js} +1 -1
  131. package/web/app/immutable/chunks/{etz9IKpr.js → CWXVdpgZ.js} +1 -1
  132. package/web/app/immutable/chunks/{BZYS48ON.js → CaX8Mme7.js} +1 -1
  133. package/web/app/immutable/chunks/{BNJ3edFz.js → CbB6SI0i.js} +1 -1
  134. package/web/app/immutable/chunks/{B1bJpz3G.js → Cd-qmx8U.js} +1 -1
  135. package/web/app/immutable/chunks/{zGyI6qOq.js → CdTSfppl.js} +1 -1
  136. package/web/app/immutable/chunks/{B6U9KgKY.js → CedswVQA.js} +1 -1
  137. package/web/app/immutable/chunks/{B6dUCFoz.js → CeoBhFo7.js} +1 -1
  138. package/web/app/immutable/chunks/{BJ_X8eP6.js → CfDqTHT1.js} +1 -1
  139. package/web/app/immutable/chunks/{CwEjDuJ3.js → Cgz4dZpP.js} +1 -1
  140. package/web/app/immutable/chunks/{BGniv2IE.js → ChYLETZB.js} +1 -1
  141. package/web/app/immutable/chunks/{vj8NdGWd.js → Chbrtg19.js} +1 -1
  142. package/web/app/immutable/chunks/{D54MIPdF.js → Ci6PI5sn.js} +1 -1
  143. package/web/app/immutable/chunks/{TBtn8giw.js → CiHhUIjb.js} +1 -1
  144. package/web/app/immutable/chunks/{B9vHutcJ.js → CiKoEJ2m.js} +1 -1
  145. package/web/app/immutable/chunks/{D8rVwrWL.js → CiRkFhK8.js} +1 -1
  146. package/web/app/immutable/chunks/{D4ytz2EC.js → CjpWOZGa.js} +1 -1
  147. package/web/app/immutable/chunks/{CfQcMKZg.js → CktgkomQ.js} +1 -1
  148. package/web/app/immutable/chunks/{D99jSct3.js → ClaP_sir.js} +1 -1
  149. package/web/app/immutable/chunks/{KZwZoyIt.js → Cn-Afla1.js} +1 -1
  150. package/web/app/immutable/chunks/{C3L0F6Xc.js → Cn4-Fvkn.js} +1 -1
  151. package/web/app/immutable/chunks/{z3SZgGAK.js → CnDgS0vt.js} +1 -1
  152. package/web/app/immutable/chunks/{B1CKzIA2.js → CnFZbWXv.js} +1 -1
  153. package/web/app/immutable/chunks/{GgbLp4i9.js → Cnkux63v.js} +1 -1
  154. package/web/app/immutable/chunks/{DrgHk1UN.js → CoSEZL3s.js} +1 -1
  155. package/web/app/immutable/chunks/{BB6LoQke.js → Cp-4w4r1.js} +1 -1
  156. package/web/app/immutable/chunks/{hk_M7mFx.js → CpwS8V1F.js} +1 -1
  157. package/web/app/immutable/chunks/{FXkLEPTk.js → Cq8_4net.js} +1 -1
  158. package/web/app/immutable/chunks/{C9_ZEBkB.js → Cr5mKkdD.js} +1 -1
  159. package/web/app/immutable/chunks/{VTkMkEPR.js → Cr9C4VDu.js} +1 -1
  160. package/web/app/immutable/chunks/{D7QZQ0zf.js → Crey45Oa.js} +1 -1
  161. package/web/app/immutable/chunks/{DJ9ILql1.js → Csqi0oV3.js} +1 -1
  162. package/web/app/immutable/chunks/CtfEuoOH.js +1 -0
  163. package/web/app/immutable/chunks/{ClxyT-Se.js → CwCvyVGi.js} +1 -1
  164. package/web/app/immutable/chunks/{iOLvSy8g.js → CwOdvmTo.js} +3 -3
  165. package/web/app/immutable/chunks/{BIU3Z0JX.js → CwqJ7uz4.js} +1 -1
  166. package/web/app/immutable/chunks/{Ctp-YfoS.js → CwqyVbqi.js} +3 -3
  167. package/web/app/immutable/chunks/{B_vpadVO.js → Cxc8q3rR.js} +1 -1
  168. package/web/app/immutable/chunks/{vpQRVk8F.js → Cxmepjfl.js} +1 -1
  169. package/web/app/immutable/chunks/{CzJm3Kxa.js → CyinuwPx.js} +1 -1
  170. package/web/app/immutable/chunks/{C4fj9uDh.js → CyvzL5p8.js} +3 -3
  171. package/web/app/immutable/chunks/{X0RLj3lE.js → CzxEKNiF.js} +1 -1
  172. package/web/app/immutable/chunks/{GnUYJfg_.js → D3JNbQ4D.js} +1 -1
  173. package/web/app/immutable/chunks/{TsuJPtsq.js → D3pRyooW.js} +1 -1
  174. package/web/app/immutable/chunks/{Dfp6ssYD.js → D3tqOSzT.js} +1 -1
  175. package/web/app/immutable/chunks/{Ch_2itxw.js → D49mWFig.js} +1 -1
  176. package/web/app/immutable/chunks/{CMdo0m6e.js → D59tCG3q.js} +2 -2
  177. package/web/app/immutable/chunks/{D8EcsS7V.js → D5Jk5CWk.js} +2 -2
  178. package/web/app/immutable/chunks/{BNu1GhJn.js → D5al-p9o.js} +1 -1
  179. package/web/app/immutable/chunks/{BzWT_wQw.js → D5tDAzIo.js} +1 -1
  180. package/web/app/immutable/chunks/{Jg5r77fy.js → D7QFmXLb.js} +1 -1
  181. package/web/app/immutable/chunks/{nxtepGjE.js → D9R5fzn8.js} +1 -1
  182. package/web/app/immutable/chunks/{pTmKTjdu.js → D9T_0Eev.js} +3 -3
  183. package/web/app/immutable/chunks/{DhSY0ZEq.js → DBYe3Dcp.js} +2 -2
  184. package/web/app/immutable/chunks/{Cio-rWcY.js → DDvFH8QS.js} +1 -1
  185. package/web/app/immutable/chunks/{BRaBCoIn.js → DE8II0cx.js} +1 -1
  186. package/web/app/immutable/chunks/{BVXKWrt4.js → DEr2A_-h.js} +2 -2
  187. package/web/app/immutable/chunks/{BT9lzXEu.js → DF15jnSX.js} +1 -1
  188. package/web/app/immutable/chunks/{CXEn_RGs.js → DF54qNJU.js} +1 -1
  189. package/web/app/immutable/chunks/{CIbfGsF-.js → DFKhOU69.js} +1 -1
  190. package/web/app/immutable/chunks/{BpMXdC4H.js → DG3-me8H.js} +1 -1
  191. package/web/app/immutable/chunks/{nIshZjK_.js → DGU9U1O6.js} +1 -1
  192. package/web/app/immutable/chunks/{Ll0WtNFW.js → DHkcvVzr.js} +1 -1
  193. package/web/app/immutable/chunks/{da_tvSiq.js → DHvVAxAW.js} +1 -1
  194. package/web/app/immutable/chunks/{tCg_s90g.js → DIIj7EWA.js} +1 -1
  195. package/web/app/immutable/chunks/{BI0SpAnv.js → DISm8kek.js} +1 -1
  196. package/web/app/immutable/chunks/{DZOkhMcO.js → DJSvqrCI.js} +1 -1
  197. package/web/app/immutable/chunks/{D0qNo7Oy.js → DJcR4XQR.js} +1 -1
  198. package/web/app/immutable/chunks/{BYHw69-J.js → DJqiMUht.js} +1 -1
  199. package/web/app/immutable/chunks/{i5FUlYpy.js → DLqZuVvj.js} +1 -1
  200. package/web/app/immutable/chunks/{KqqODIKw.js → DLt9OoMP.js} +1 -1
  201. package/web/app/immutable/chunks/{Cu5e4npY.js → DMEIbJII.js} +1 -1
  202. package/web/app/immutable/chunks/{BgXuXJpo.js → DMudvlKI.js} +4 -4
  203. package/web/app/immutable/chunks/{D1BvOU2l.js → DOhHP999.js} +1 -1
  204. package/web/app/immutable/chunks/{BniyCzQ9.js → DPk2fLxi.js} +1 -1
  205. package/web/app/immutable/chunks/{Dj-KLToz.js → DQNtbVVY.js} +3 -3
  206. package/web/app/immutable/chunks/{BnV9CBUH.js → DQpGArF7.js} +1 -1
  207. package/web/app/immutable/chunks/{OyqO3fO-.js → DR_b4dt8.js} +1 -1
  208. package/web/app/immutable/chunks/{R-UFG3MB.js → DRuLniWc.js} +1 -1
  209. package/web/app/immutable/chunks/{z5FcOXD5.js → DSZbBNDD.js} +1 -1
  210. package/web/app/immutable/chunks/{DFFA_QTd.js → DSs6r6NG.js} +1 -1
  211. package/web/app/immutable/chunks/{DtzJzV-4.js → DUTvR2si.js} +1 -1
  212. package/web/app/immutable/chunks/{D2YDfFKv.js → DW8fwVBf.js} +1 -1
  213. package/web/app/immutable/chunks/{CpTvA0xC.js → DWBUvNGh.js} +1 -1
  214. package/web/app/immutable/chunks/{MakwazGY.js → DWRtOXBU.js} +1 -1
  215. package/web/app/immutable/chunks/{u4iPyMwH.js → DXCHCOFX.js} +1 -1
  216. package/web/app/immutable/chunks/{Bq7odTLd.js → DXXFBdjF.js} +1 -1
  217. package/web/app/immutable/chunks/{Cn9MHQyc.js → D__sU8Ug.js} +1 -1
  218. package/web/app/immutable/chunks/{CvLVVi8w.js → DcPZfWKB.js} +1 -1
  219. package/web/app/immutable/chunks/{WoMkq5ac.js → DcU8bi_n.js} +2 -2
  220. package/web/app/immutable/chunks/{DaWmj23r.js → DcraaizU.js} +1 -1
  221. package/web/app/immutable/chunks/{C6RhewOE.js → Dd_KPYBw.js} +1 -1
  222. package/web/app/immutable/chunks/{BAAIhuts.js → DeFlL2nh.js} +1 -1
  223. package/web/app/immutable/chunks/{CWsj4Hb7.js → Dgo57zmq.js} +1 -1
  224. package/web/app/immutable/chunks/{C8tk9ZQ3.js → Dh-DCh2Y.js} +1 -1
  225. package/web/app/immutable/chunks/{CvorDgLi.js → Dh1j4V0b.js} +1 -1
  226. package/web/app/immutable/chunks/{29xygHrF.js → DhTLwmro.js} +1 -1
  227. package/web/app/immutable/chunks/{CkkpCaXs.js → Di3gErxh.js} +1 -1
  228. package/web/app/immutable/chunks/{WdSh5fl1.js → DidHgSQp.js} +2 -2
  229. package/web/app/immutable/chunks/{DogIXhAJ.js → Dk7Kxi97.js} +1 -1
  230. package/web/app/immutable/chunks/{BESb5QC3.js → Dl1AOLZu.js} +1 -1
  231. package/web/app/immutable/chunks/{CZr8f1ch.js → DlljGo_I.js} +1 -1
  232. package/web/app/immutable/chunks/{BOwgyiCF.js → DmQ5G_6J.js} +1 -1
  233. package/web/app/immutable/chunks/{7pl09QeT.js → DnzDw_9l.js} +1 -1
  234. package/web/app/immutable/chunks/{ByyFoG6W.js → DoB-G8kB.js} +1 -1
  235. package/web/app/immutable/chunks/{Dqi2LMpO.js → DoJ49Zrl.js} +1 -1
  236. package/web/app/immutable/chunks/{CFs3R4lt.js → DqtLBCnq.js} +1 -1
  237. package/web/app/immutable/chunks/{DpIgdPs7.js → Dr6-g-BO.js} +1 -1
  238. package/web/app/immutable/chunks/{Crz8kvLc.js → Drn9m8Tp.js} +1 -1
  239. package/web/app/immutable/chunks/{BWmW9W02.js → Dt_7lHy8.js} +1 -1
  240. package/web/app/immutable/chunks/{kjO__HeE.js → DuZtgB5V.js} +1 -1
  241. package/web/app/immutable/chunks/{xvadpoNC.js → DupTZXsI.js} +1 -1
  242. package/web/app/immutable/chunks/{Tt-VDGAY.js → DvUsJK3H.js} +1 -1
  243. package/web/app/immutable/chunks/{CbTbQhqy.js → DxmPtFKv.js} +1 -1
  244. package/web/app/immutable/chunks/{BFgvMDua.js → DynUeYUu.js} +1 -1
  245. package/web/app/immutable/chunks/{BjE6fvlI.js → DyreqWqr.js} +1 -1
  246. package/web/app/immutable/chunks/{vIaOEmEw.js → Em5CdgqH.js} +4 -4
  247. package/web/app/immutable/chunks/{DQ75EkSY.js → FM3MDwzB.js} +1 -1
  248. package/web/app/immutable/chunks/{B8lliwzm.js → GwtGeFMJ.js} +1 -1
  249. package/web/app/immutable/chunks/{DWH71rGR.js → HiIoMspb.js} +1 -1
  250. package/web/app/immutable/chunks/{Drl447ub.js → IxxdIKNN.js} +1 -1
  251. package/web/app/immutable/chunks/{DX2vfFPI.js → JiW1DfLK.js} +1 -1
  252. package/web/app/immutable/chunks/{DQw0Iiac.js → JvFe2B29.js} +1 -1
  253. package/web/app/immutable/chunks/{DmrchYzR.js → K0WiFC8Y.js} +1 -1
  254. package/web/app/immutable/chunks/{C3EKiijc.js → KWtYfwVq.js} +1 -1
  255. package/web/app/immutable/chunks/{CYxt6gzD.js → KaOLys0u.js} +1 -1
  256. package/web/app/immutable/chunks/{1rpeT4f8.js → OsJD3pkm.js} +1 -1
  257. package/web/app/immutable/chunks/{CfYmMj5F.js → P7zPRuFC.js} +1 -1
  258. package/web/app/immutable/chunks/{CqKjG3GQ.js → Q1bO23Hj.js} +1 -1
  259. package/web/app/immutable/chunks/{BRc67QBD.js → QeZhJHLb.js} +1 -1
  260. package/web/app/immutable/chunks/{BGrimfDs.js → QzxpbvSo.js} +1 -1
  261. package/web/app/immutable/chunks/{qhd9g-fv.js → RV6uszBL.js} +1 -1
  262. package/web/app/immutable/chunks/{LXflBOtX.js → S3jMTv3a.js} +1 -1
  263. package/web/app/immutable/chunks/{Bh9phZlQ.js → SdVpHK7d.js} +1 -1
  264. package/web/app/immutable/chunks/{l0vFyEGM.js → T9rMC0YB.js} +1 -1
  265. package/web/app/immutable/chunks/{D4d1iyeR.js → TPru2I57.js} +1 -1
  266. package/web/app/immutable/chunks/{Rzyk45bZ.js → WYNXUtt9.js} +1 -1
  267. package/web/app/immutable/chunks/{Chj-azz7.js → Xgzr3BTD.js} +1 -1
  268. package/web/app/immutable/chunks/{1B7vLvp_.js → YQwkPi_0.js} +1 -1
  269. package/web/app/immutable/chunks/{Cm0Qloca.js → ZX798KkU.js} +1 -1
  270. package/web/app/immutable/chunks/{Dd-LQrG1.js → aWBSU8IQ.js} +1 -1
  271. package/web/app/immutable/chunks/{CgGsxeG7.js → axwUS21u.js} +1 -1
  272. package/web/app/immutable/chunks/{F__rjLBg.js → bJK6npyT.js} +1 -1
  273. package/web/app/immutable/chunks/{iXPhOXJa.js → fCtMtGYt.js} +1 -1
  274. package/web/app/immutable/chunks/{C-HR_nje.js → g5QqP-QE.js} +1 -1
  275. package/web/app/immutable/chunks/{BTaBiqZj.js → gQ8VFuWN.js} +2 -2
  276. package/web/app/immutable/chunks/{C2UL5Ler.js → iQDlfKDR.js} +1 -1
  277. package/web/app/immutable/chunks/jlu1ZSD8.js +1 -0
  278. package/web/app/immutable/chunks/{CnN8HXjd.js → jyQWudgn.js} +1 -1
  279. package/web/app/immutable/chunks/{BWfc0sSK.js → k48f0Jn8.js} +1 -1
  280. package/web/app/immutable/chunks/{BiYZcl7D.js → kkKMJ9w9.js} +1 -1
  281. package/web/app/immutable/chunks/{BHy9cRzo.js → l7sDKa65.js} +1 -1
  282. package/web/app/immutable/chunks/{D7AN7xLp.js → mFWmuyR-.js} +1 -1
  283. package/web/app/immutable/chunks/{CdGOAvU7.js → n0_jgWL7.js} +1 -1
  284. package/web/app/immutable/chunks/{IXIWcEcs.js → pXrAh3i2.js} +1 -1
  285. package/web/app/immutable/chunks/{DWF5uerC.js → qWgJ-CUF.js} +2 -2
  286. package/web/app/immutable/chunks/{BsY6roFy.js → rwibDzZr.js} +1 -1
  287. package/web/app/immutable/chunks/{BtmBRuf6.js → sFief-xo.js} +1 -1
  288. package/web/app/immutable/chunks/{D6txwX4Y.js → uyQciu7h.js} +4 -4
  289. package/web/app/immutable/chunks/{Bw9XtMey.js → z0xDttNV.js} +3 -3
  290. package/web/app/immutable/chunks/{CZ9ViN3z.js → z4O7yNZ6.js} +1 -1
  291. package/web/app/immutable/chunks/zXLHCuiE.js +1 -0
  292. package/web/app/immutable/entry/{app.qraxYAYk.js → app.B0HiWR5T.js} +3 -3
  293. package/web/app/immutable/entry/start.BFcXwo9Y.js +1 -0
  294. package/web/app/immutable/nodes/{0.DJcM2RkQ.js → 0.5oa9JC3V.js} +1 -1
  295. package/web/app/immutable/nodes/{1.Jq1-N2Pd.js → 1.dLY473QL.js} +1 -1
  296. package/web/app/immutable/nodes/{10.C_zzc0gt.js → 10.Dg3iEVmH.js} +6 -6
  297. package/web/app/immutable/nodes/{11.6gj6bfPq.js → 11.PFTrUEsb.js} +1 -1
  298. package/web/app/immutable/nodes/{12.Dwdqbt9T.js → 12.DUMat2GN.js} +1 -1
  299. package/web/app/immutable/nodes/{13.jK1i4wo4.js → 13.BEiznOPk.js} +1 -1
  300. package/web/app/immutable/nodes/{14.DdHtnE9x.js → 14.DFolVj6c.js} +3 -3
  301. package/web/app/immutable/nodes/{15.DzaMQCp_.js → 15.CGEsAjgd.js} +1 -1
  302. package/web/app/immutable/nodes/{16.DFPLVaTv.js → 16.cptOJ-f9.js} +1 -1
  303. package/web/app/immutable/nodes/{17.Dylz7DBe.js → 17.BVn1LtfR.js} +1 -1
  304. package/web/app/immutable/nodes/{18.CxblUMg0.js → 18.BLC8YWHJ.js} +1 -1
  305. package/web/app/immutable/nodes/{19.cFDk8lfW.js → 19.CqJycQsd.js} +2 -2
  306. package/web/app/immutable/nodes/{2.ByMlaGl6.js → 2.BaR1WF3o.js} +4 -4
  307. package/web/app/immutable/nodes/{20.CXw8Twm7.js → 20.g9As4rvG.js} +1 -1
  308. package/web/app/immutable/nodes/{3.9JGSdcGo.js → 3.DwF_25Xt.js} +1 -1
  309. package/web/app/immutable/nodes/{4.CBjeaWO7.js → 4.ttOSy2Tq.js} +1 -1
  310. package/web/app/immutable/nodes/{5.rzCmecJm.js → 5.BVpoghsD.js} +1 -1
  311. package/web/app/immutable/nodes/{6.ltNDZwKc.js → 6.D6pOrTxH.js} +1 -1
  312. package/web/app/immutable/nodes/{7.KOkYCHHg.js → 7.BO56ByN2.js} +1 -1
  313. package/web/app/immutable/nodes/{8.DAi8MaAi.js → 8.CPtVgnSI.js} +1 -1
  314. package/web/app/immutable/nodes/{9.BzVFDUkR.js → 9.cl9L6J-I.js} +5 -5
  315. package/web/app/version.json +1 -1
  316. package/web/generated/paraglide.js +45 -45
  317. package/web/index.html +18 -18
  318. package/web/app/immutable/chunks/C8rJ090F.js +0 -1
  319. package/web/app/immutable/chunks/CL3wj1V-.js +0 -1
  320. package/web/app/immutable/chunks/CLAmm_T1.js +0 -1
  321. package/web/app/immutable/chunks/CRSiOiSR.js +0 -1
  322. package/web/app/immutable/chunks/DFh0CfhB.js +0 -1
  323. package/web/app/immutable/chunks/DmapvbAr.js +0 -3
  324. package/web/app/immutable/chunks/KnkAG0HD.js +0 -1
  325. package/web/app/immutable/chunks/fAzcgPHK.js +0 -411
  326. package/web/app/immutable/entry/start.BWAelo_H.js +0 -1
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/DfheqyY9.js","/app/immutable/chunks/B9vHutcJ.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/BBFoj-dS.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/BwNrQXlF.js","/app/immutable/chunks/CLAmm_T1.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/BPQFiQQc.js"])))=>i.map(i=>d[i]);
2
- import{t as Zt,bo as J,bw as te,bs as W,bq as ee,b as re,bm as i,_ as se}from"./CLAmm_T1.js";import{bo as ae,bs as ne,ca as C,bH as N,c5 as yt,aD as F,bj as ie,a5 as O,bS as p,bA as D,b_ as x,W as f,bn as oe,cd as lt,bV as kt,c9 as G,aA as Q,bl as R,bO as h,ay as wt,aB as y}from"./3SdAC2_C.js";import{i as L}from"./BFgvMDua.js";import{f as St,g as le,s as ce}from"./CcJmuwXr.js";import{b as ue}from"./Dn334wJv.js";import{b as de}from"./D3yXvqwY.js";import{JH as m,Dc as pe,D2 as me,D1 as fe,JB as _e,CP as ve,iA as be,i_ as ge}from"./B9vHutcJ.js";import{d as xe,T as he,D as ye,L as ke,o as we}from"./Ctp-YfoS.js";import{F as ct,d3 as Se,cb as $e,c$ as Ae}from"./DPttSllj.js";import{f as $t}from"./nxtepGjE.js";import{m as rt}from"./96V4v2iI.js";import"./TB9r2XJy.js";import"./BwNrQXlF.js";import"./ChTqQfQN.js";import"./BbYWP3Ow.js";import{r as Ce}from"./KZwZoyIt.js";import{selectScriptById as ut,selectScriptRuntime as Fe,selectScriptOutput as At,selectScriptRetainedOutput as Oe,selectCanDeleteScript as Ct}from"./D0qNo7Oy.js";import{g as De}from"./BGrimfDs.js";import{c4 as Re,e0 as Le,dD as Ft}from"./C2UL5Ler.js";import"./C4jSaPCg.js";import"./CEE0831H.js";import"./CgrVbtN0.js";import{e as Ie}from"./R-UFG3MB.js";import{u as Ot}from"./BVXKWrt4.js";var Dt=y("<!> ",1),Be=y('<div class="bg-danger-background/20 border-y border-danger/20 px-3 py-1.5 flex items-center justify-between"><div class="flex items-center gap-2 text-sm text-danger font-medium"><div class="w-4 h-4 rounded-full bg-danger-background flex items-center justify-center"><!></div> <span> </span></div> <!></div>'),Pe=y('<pre class="retained-text px-3 pb-3 text-xs svelte-115p4sl"> </pre>'),Te=y('<p class="px-3 pb-3 text-xs text-muted-foreground" role="status"> </p>'),qe=y('<details class="retained-output border-b border-border svelte-115p4sl"><summary class="cursor-pointer px-3 py-2 text-xs text-muted-foreground"> </summary> <p class="px-3 pb-2 text-xs text-muted-foreground"> </p> <!></details>'),Ee=y('<div class="px-3 py-1 text-xs text-muted-foreground"> </div>'),Me=y('<code class="text-muted-foreground font-mono text-xs"> </code>'),We=y('<span class="sr-only"> </span>'),je=y('<div class="flex-1 flex items-center justify-center px-4 py-8"><div class="flex items-center gap-3 text-sm"><span class="text-subtle font-mono">$</span> <!> <!> <!></div></div>'),ze=y('<div><!> <!> <!> <!> <div><div class="xterm-output svelte-115p4sl"></div></div></div>');function Ue(_,c){const z=ae();if(new.target)return Zt({component:Ue,..._});ne(c,!0);const I=()=>W(Mt,"$outputAuthority",B),u=()=>W(Bt,"$runtime$",B),v=()=>W(Pt,"$output$",B),S=()=>W(Et,"$codeFontFamilyCSS",B),j=()=>W(Tt,"$retainedOutput$",B),Rt=()=>W(qt,"$hidesAgentLifecycleActions$",B),dt=()=>W(It,"$script$",B),[B,Lt]=ee();let $=J(c,"scriptId",7),b=J(c,"workspaceId",7),st=J(c,"class",7,""),at=J(c,"runDisabled",7,!1),P=J(c,"runDisabledReason",7,null);const pt=G(()=>at()||P()!==null),T=lt(""),U=lt(""),mt=lt("");let nt=kt(!1);C(()=>T.set(b())),C(()=>U.set($()));let q,o=null,H=null,Y=null,V=null,E=null,X=null;const It=ut(T,U),Bt=Fe(T,U),Pt=At(T,U),Tt=Oe(T,U,mt),qt=Re(T),Et=De(),Mt=Le(T),ft=crypto.randomUUID();C(()=>{const t=b();return $(),()=>{t&&m.dispatch(pe(t,ft))}}),C(()=>{const t=b(),e=$(),n=I(),r=u();if(!n||!t||!e)return;r.status,r.startedAt;const a=crypto.randomUUID();return mt.set(a),N(nt,yt(()=>v().chunks.length===0),!0),m.dispatch(me(t,e,a)),()=>m.dispatch(fe(t,e,a))});let Z=kt(0);const Wt=G(()=>u().status==="exited"&&u().exitCode!=null&&u().exitCode!==0&&u().exitCode<128);function jt(){if(!q||o)return;V=new he(q);const t=V.getCurrentTheme();o=new ye({allowProposedApi:!0,linkHandler:{activate:(r,a)=>e(a)},fontFamily:S(),fontSize:13,lineHeight:1.2,letterSpacing:0,cursorBlink:!1,cursorStyle:"underline",cursorWidth:1,scrollback:1e4,allowTransparency:!0,convertEol:!0,disableStdin:!0,drawBoldTextInBrightColors:!0,theme:t}),o.attachCustomKeyEventHandler(r=>{const a=r.metaKey||r.ctrlKey;return!(a&&r.key==="`"||a&&r.key==="j"||a&&r.key==="k")}),H=new we,o.loadAddon(H);function e(r){try{const a=new URL(r);a.hostname==="localhost"||a.hostname==="127.0.0.1"?Ce(r).then(g=>{se(async()=>{const{getPanelLayoutManager:k}=await import("./DfheqyY9.js").then(A=>A.p);return{getPanelLayoutManager:k}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]),import.meta.url).then(({getPanelLayoutManager:k})=>{k(b()).openBrowserPanel(g.url,void 0,void 0,g.requestedUrl)}).catch(()=>{window.open(g.url,"_blank")})}):window.open(r,"_blank")}catch{window.open(r,"_blank")}}const n=new ke((r,a)=>e(a));o.loadAddon(n),o.open(q),V.applyTheme(o),X=requestAnimationFrame(()=>{X=null,H?.fit()}),Y=new ResizeObserver(()=>{H?.fit()}),Y.observe(q),zt()}function zt(){if(!o)return;const t=At.select(m.state,b(),$());t.chunks.length>0&&o.write(t.chunks.map(e=>e.text).join("")),N(Z,t.dropped+t.chunks.length)}function _t(){E!==null&&(cancelAnimationFrame(E),E=null),X!==null&&(cancelAnimationFrame(X),X=null),Y?.disconnect(),Y=null,V?.dispose(),V=null;const t=o;o=null,H=null,N(Z,0),t&&xe(t)}C(()=>{const t=v(),e=yt(()=>F(Z)),n=t.dropped+t.chunks.length;if(!o||n<=e)return;const r=Math.max(e-t.dropped,0);o.write(t.chunks.slice(r).map(a=>a.text).join("")),N(Z,n)}),C(()=>{const t=S();o&&o.options.fontFamily!==t&&(o.options.fontFamily=t)});function Ut(){F(pt)||m.dispatch(_e(b(),$()))}function Ht(){if(!b()){rt.error(i.terminal_scriptOutput_noWorkspace_error());return}m.dispatch(be(b(),$(),j()?.text,ft))}C(()=>{u().status==="idle"&&v().chunks.length===0&&_t()}),C(()=>{!(u().status==="idle"&&v().chunks.length===0)&&q&&!o&&(E!==null&&cancelAnimationFrame(E),E=requestAnimationFrame(()=>{E=null,jt()}))}),ie(()=>{_t()});var Vt={get scriptId(){return $()},set scriptId(t){$(t),Q()},get workspaceId(){return b()},set workspaceId(t){b(t),Q()},get class(){return st()},set class(t=""){st(t),Q()},get runDisabled(){return at()},set runDisabled(t=!1){at(t),Q()},get runDisabledReason(){return P()},set runDisabledReason(t=null){P(t),Q()},$set:te,$on:(t,e)=>re(c,t,e)},tt=ze(),vt=O(tt);{var Xt=t=>{var e=Be(),n=O(e),r=O(n),a=O(r);ct(a,{get icon(){return Se},size:"xs"}),D(r);var g=p(r,2),k=R(g,!0);D(n);var A=p(n,2);{var d=s=>{$t(s,{variant:"outline",size:"sm",class:"h-7 text-xs bg-background border border-border text-danger",onclick:Ht,children:(l,w)=>{var M=Dt(),K=wt(M);ct(K,{get icon(){return Ae},size:"sm",class:"mr-1.5"});var et=p(K);x(ot=>h(et,` ${ot??""}`),[()=>i.terminal_scriptOutput_askAiToFix_label()]),f(l,M)},$$slots:{default:!0}})};L(A,s=>{Rt()||s(d)})}D(e),x(s=>h(k,s),[()=>i.terminal_scriptOutput_buildFailed_label({exitCode:u().exitCode??0})]),f(t,e)};L(vt,t=>{F(Wt)&&t(Xt)})}var bt=p(vt,2);{var Kt=t=>{var e=qe(),n=O(e),r=R(n,!0),a=p(n,2),g=R(a,!0),k=p(a,2);{var A=s=>{var l=Pe();let w;var M=R(l,!0);x(()=>{w=le(l,"",w,{"font-family":S()}),h(M,j().text)}),f(s,l)},d=s=>{var l=Te(),w=R(l,!0);x(M=>h(w,M),[()=>j().status==="loading"?i.terminal_scriptOutput_retainedLoading_label():i.terminal_scriptOutput_retainedUnavailable_label()]),f(s,l)};L(k,s=>{j().status==="available"?s(A):s(d,-1)})}D(e),x((s,l)=>{h(r,s),h(g,l)},[()=>i.terminal_scriptOutput_retained_label(),()=>i.terminal_scriptOutput_retained_description()]),de("open","toggle",e,s=>N(nt,s),()=>F(nt)),f(t,e)};L(bt,t=>{j()&&t(Kt)})}var gt=p(bt,2);{var Jt=t=>{var e=Ee(),n=R(e,!0);x(r=>h(n,r),[()=>i.terminal_scriptOutput_live_label()]),f(t,e)};L(gt,t=>{v().chunks.length>0&&j()&&t(Jt)})}var xt=p(gt,2);{var Nt=t=>{var e=je(),n=O(e),r=p(O(n),2);{var a=d=>{var s=Me(),l=R(s,!0);x(w=>h(l,w),[()=>ve(dt())]),f(d,s)};L(r,d=>{dt()&&d(a)})}var g=p(r,2);{let d=G(()=>P()??void 0),s=G(()=>i.terminal_scriptOutput_run_label()),l=G(()=>P()?z:void 0);$t(g,{variant:"ghost",size:"xs",get disabled(){return F(pt)},get tooltip(){return F(d)},get"aria-label"(){return F(s)},get"aria-describedby"(){return F(l)},onclick:Ut,class:"text-muted-foreground hover:text-foreground",children:(w,M)=>{var K=Dt(),et=wt(K);ct(et,{get icon(){return $e},class:"h-3 w-3 mr-1"});var ot=p(et);x(Yt=>h(ot,` ${Yt??""}`),[()=>i.terminal_scriptOutput_run_label()]),f(w,K)},$$slots:{default:!0}})}var k=p(g,2);{var A=d=>{var s=We(),l=R(s,!0);x(()=>{ce(s,"id",z),h(l,P())}),f(d,s)};L(k,d=>{P()&&d(A)})}D(n),D(e),f(t,e)};L(xt,t=>{u().status==="idle"&&v().chunks.length===0&&t(Nt)})}var it=p(xt,2);let ht;var Gt=O(it);ue(Gt,t=>q=t,()=>q),D(it),D(tt),x(()=>{St(tt,1,`script-output-viewer ${st()??""}`,"svelte-115p4sl"),ht=St(it,1,"flex-1 relative overflow-hidden",null,ht,{hidden:u().status==="idle"&&v().chunks.length===0})}),f(_,tt);var Qt=oe(Vt);return Lt(),Qt}async function fr(_,c,z){const I=ut.select(m.state,_,c);if(!I||!z()||!Ct.select(m.state,_,c))return;const u=Ot(I.runtime?.status),v=Ft.select(m.state,_);if(!v){rt.error(i.workspace_client_accessChanged_error());return}if(!await Ie({title:i.scripts_delete_title({name:I.name}),description:u?i.scripts_delete_running_description():i.scripts_delete_description(),confirmLabel:i.scripts_delete_label(),destructive:!0}))return;if(v!==Ft.select(m.state,_)){rt.error(i.workspace_client_accessChanged_error());return}const S=ut.select(m.state,_,c);if(!z()||!S||S.createdAt!==I.createdAt||S.name!==I.name||!u&&Ot(S.runtime?.status)||!Ct.select(m.state,_,c)){rt.error(i.scripts_delete_changed_error());return}m.dispatch(ge(_,c,i.terminal_quakeOverlay_deleteScriptFailed_error()))}export{Ue as S,fr as c};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/B2awO10u.js","/app/immutable/chunks/CiKoEJ2m.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/CHIxjTWu.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/CGmYraIa.js","/app/immutable/chunks/CtfEuoOH.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/BkcCJyDK.js"])))=>i.map(i=>d[i]);
2
+ import{t as Zt,bo as J,bw as te,bs as W,bq as ee,b as re,bm as i,_ as se}from"./CtfEuoOH.js";import{bo as ae,bs as ne,ca as C,bH as N,c5 as yt,aD as F,bj as ie,a5 as O,bS as p,bA as D,b_ as x,W as f,bn as oe,cd as lt,bV as kt,c9 as G,aA as Q,bl as R,bO as h,ay as wt,aB as y}from"./3SdAC2_C.js";import{i as L}from"./DynUeYUu.js";import{f as St,g as le,s as ce}from"./B26ZHg3s.js";import{b as ue}from"./Dn334wJv.js";import{b as de}from"./D3yXvqwY.js";import{JH as m,Dc as pe,D2 as me,D1 as fe,JB as _e,CP as ve,iA as be,i_ as ge}from"./CiKoEJ2m.js";import{d as xe,T as he,D as ye,L as ke,o as we}from"./CwqyVbqi.js";import{F as ct,d3 as Se,cb as $e,c$ as Ae}from"./COofQgO0.js";import{f as $t}from"./D9R5fzn8.js";import{m as rt}from"./C3jMXj_V.js";import"./CT8vPg_p.js";import"./CGmYraIa.js";import"./ChTqQfQN.js";import"./BFfRQORP.js";import{r as Ce}from"./Cn-Afla1.js";import{selectScriptById as ut,selectScriptRuntime as Fe,selectScriptOutput as At,selectScriptRetainedOutput as Oe,selectCanDeleteScript as Ct}from"./DJcR4XQR.js";import{g as De}from"./QzxpbvSo.js";import{c4 as Re,e0 as Le,dD as Ft}from"./iQDlfKDR.js";import"./B3T1oiJl.js";import"./Bz80vYvX.js";import"./BS9WBIBb.js";import{e as Ie}from"./DRuLniWc.js";import{u as Ot}from"./DEr2A_-h.js";var Dt=y("<!> ",1),Be=y('<div class="bg-danger-background/20 border-y border-danger/20 px-3 py-1.5 flex items-center justify-between"><div class="flex items-center gap-2 text-sm text-danger font-medium"><div class="w-4 h-4 rounded-full bg-danger-background flex items-center justify-center"><!></div> <span> </span></div> <!></div>'),Pe=y('<pre class="retained-text px-3 pb-3 text-xs svelte-115p4sl"> </pre>'),Te=y('<p class="px-3 pb-3 text-xs text-muted-foreground" role="status"> </p>'),qe=y('<details class="retained-output border-b border-border svelte-115p4sl"><summary class="cursor-pointer px-3 py-2 text-xs text-muted-foreground"> </summary> <p class="px-3 pb-2 text-xs text-muted-foreground"> </p> <!></details>'),Ee=y('<div class="px-3 py-1 text-xs text-muted-foreground"> </div>'),Me=y('<code class="text-muted-foreground font-mono text-xs"> </code>'),We=y('<span class="sr-only"> </span>'),je=y('<div class="flex-1 flex items-center justify-center px-4 py-8"><div class="flex items-center gap-3 text-sm"><span class="text-subtle font-mono">$</span> <!> <!> <!></div></div>'),ze=y('<div><!> <!> <!> <!> <div><div class="xterm-output svelte-115p4sl"></div></div></div>');function Ue(_,c){const z=ae();if(new.target)return Zt({component:Ue,..._});ne(c,!0);const I=()=>W(Mt,"$outputAuthority",B),u=()=>W(Bt,"$runtime$",B),v=()=>W(Pt,"$output$",B),S=()=>W(Et,"$codeFontFamilyCSS",B),j=()=>W(Tt,"$retainedOutput$",B),Rt=()=>W(qt,"$hidesAgentLifecycleActions$",B),dt=()=>W(It,"$script$",B),[B,Lt]=ee();let $=J(c,"scriptId",7),b=J(c,"workspaceId",7),st=J(c,"class",7,""),at=J(c,"runDisabled",7,!1),P=J(c,"runDisabledReason",7,null);const pt=G(()=>at()||P()!==null),T=lt(""),U=lt(""),mt=lt("");let nt=kt(!1);C(()=>T.set(b())),C(()=>U.set($()));let q,o=null,H=null,Y=null,V=null,E=null,X=null;const It=ut(T,U),Bt=Fe(T,U),Pt=At(T,U),Tt=Oe(T,U,mt),qt=Re(T),Et=De(),Mt=Le(T),ft=crypto.randomUUID();C(()=>{const t=b();return $(),()=>{t&&m.dispatch(pe(t,ft))}}),C(()=>{const t=b(),e=$(),n=I(),r=u();if(!n||!t||!e)return;r.status,r.startedAt;const a=crypto.randomUUID();return mt.set(a),N(nt,yt(()=>v().chunks.length===0),!0),m.dispatch(me(t,e,a)),()=>m.dispatch(fe(t,e,a))});let Z=kt(0);const Wt=G(()=>u().status==="exited"&&u().exitCode!=null&&u().exitCode!==0&&u().exitCode<128);function jt(){if(!q||o)return;V=new he(q);const t=V.getCurrentTheme();o=new ye({allowProposedApi:!0,linkHandler:{activate:(r,a)=>e(a)},fontFamily:S(),fontSize:13,lineHeight:1.2,letterSpacing:0,cursorBlink:!1,cursorStyle:"underline",cursorWidth:1,scrollback:1e4,allowTransparency:!0,convertEol:!0,disableStdin:!0,drawBoldTextInBrightColors:!0,theme:t}),o.attachCustomKeyEventHandler(r=>{const a=r.metaKey||r.ctrlKey;return!(a&&r.key==="`"||a&&r.key==="j"||a&&r.key==="k")}),H=new we,o.loadAddon(H);function e(r){try{const a=new URL(r);a.hostname==="localhost"||a.hostname==="127.0.0.1"?Ce(r).then(g=>{se(async()=>{const{getPanelLayoutManager:k}=await import("./B2awO10u.js").then(A=>A.p);return{getPanelLayoutManager:k}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]),import.meta.url).then(({getPanelLayoutManager:k})=>{k(b()).openBrowserPanel(g.url,void 0,void 0,g.requestedUrl)}).catch(()=>{window.open(g.url,"_blank")})}):window.open(r,"_blank")}catch{window.open(r,"_blank")}}const n=new ke((r,a)=>e(a));o.loadAddon(n),o.open(q),V.applyTheme(o),X=requestAnimationFrame(()=>{X=null,H?.fit()}),Y=new ResizeObserver(()=>{H?.fit()}),Y.observe(q),zt()}function zt(){if(!o)return;const t=At.select(m.state,b(),$());t.chunks.length>0&&o.write(t.chunks.map(e=>e.text).join("")),N(Z,t.dropped+t.chunks.length)}function _t(){E!==null&&(cancelAnimationFrame(E),E=null),X!==null&&(cancelAnimationFrame(X),X=null),Y?.disconnect(),Y=null,V?.dispose(),V=null;const t=o;o=null,H=null,N(Z,0),t&&xe(t)}C(()=>{const t=v(),e=yt(()=>F(Z)),n=t.dropped+t.chunks.length;if(!o||n<=e)return;const r=Math.max(e-t.dropped,0);o.write(t.chunks.slice(r).map(a=>a.text).join("")),N(Z,n)}),C(()=>{const t=S();o&&o.options.fontFamily!==t&&(o.options.fontFamily=t)});function Ut(){F(pt)||m.dispatch(_e(b(),$()))}function Ht(){if(!b()){rt.error(i.terminal_scriptOutput_noWorkspace_error());return}m.dispatch(be(b(),$(),j()?.text,ft))}C(()=>{u().status==="idle"&&v().chunks.length===0&&_t()}),C(()=>{!(u().status==="idle"&&v().chunks.length===0)&&q&&!o&&(E!==null&&cancelAnimationFrame(E),E=requestAnimationFrame(()=>{E=null,jt()}))}),ie(()=>{_t()});var Vt={get scriptId(){return $()},set scriptId(t){$(t),Q()},get workspaceId(){return b()},set workspaceId(t){b(t),Q()},get class(){return st()},set class(t=""){st(t),Q()},get runDisabled(){return at()},set runDisabled(t=!1){at(t),Q()},get runDisabledReason(){return P()},set runDisabledReason(t=null){P(t),Q()},$set:te,$on:(t,e)=>re(c,t,e)},tt=ze(),vt=O(tt);{var Xt=t=>{var e=Be(),n=O(e),r=O(n),a=O(r);ct(a,{get icon(){return Se},size:"xs"}),D(r);var g=p(r,2),k=R(g,!0);D(n);var A=p(n,2);{var d=s=>{$t(s,{variant:"outline",size:"sm",class:"h-7 text-xs bg-background border border-border text-danger",onclick:Ht,children:(l,w)=>{var M=Dt(),K=wt(M);ct(K,{get icon(){return Ae},size:"sm",class:"mr-1.5"});var et=p(K);x(ot=>h(et,` ${ot??""}`),[()=>i.terminal_scriptOutput_askAiToFix_label()]),f(l,M)},$$slots:{default:!0}})};L(A,s=>{Rt()||s(d)})}D(e),x(s=>h(k,s),[()=>i.terminal_scriptOutput_buildFailed_label({exitCode:u().exitCode??0})]),f(t,e)};L(vt,t=>{F(Wt)&&t(Xt)})}var bt=p(vt,2);{var Kt=t=>{var e=qe(),n=O(e),r=R(n,!0),a=p(n,2),g=R(a,!0),k=p(a,2);{var A=s=>{var l=Pe();let w;var M=R(l,!0);x(()=>{w=le(l,"",w,{"font-family":S()}),h(M,j().text)}),f(s,l)},d=s=>{var l=Te(),w=R(l,!0);x(M=>h(w,M),[()=>j().status==="loading"?i.terminal_scriptOutput_retainedLoading_label():i.terminal_scriptOutput_retainedUnavailable_label()]),f(s,l)};L(k,s=>{j().status==="available"?s(A):s(d,-1)})}D(e),x((s,l)=>{h(r,s),h(g,l)},[()=>i.terminal_scriptOutput_retained_label(),()=>i.terminal_scriptOutput_retained_description()]),de("open","toggle",e,s=>N(nt,s),()=>F(nt)),f(t,e)};L(bt,t=>{j()&&t(Kt)})}var gt=p(bt,2);{var Jt=t=>{var e=Ee(),n=R(e,!0);x(r=>h(n,r),[()=>i.terminal_scriptOutput_live_label()]),f(t,e)};L(gt,t=>{v().chunks.length>0&&j()&&t(Jt)})}var xt=p(gt,2);{var Nt=t=>{var e=je(),n=O(e),r=p(O(n),2);{var a=d=>{var s=Me(),l=R(s,!0);x(w=>h(l,w),[()=>ve(dt())]),f(d,s)};L(r,d=>{dt()&&d(a)})}var g=p(r,2);{let d=G(()=>P()??void 0),s=G(()=>i.terminal_scriptOutput_run_label()),l=G(()=>P()?z:void 0);$t(g,{variant:"ghost",size:"xs",get disabled(){return F(pt)},get tooltip(){return F(d)},get"aria-label"(){return F(s)},get"aria-describedby"(){return F(l)},onclick:Ut,class:"text-muted-foreground hover:text-foreground",children:(w,M)=>{var K=Dt(),et=wt(K);ct(et,{get icon(){return $e},class:"h-3 w-3 mr-1"});var ot=p(et);x(Yt=>h(ot,` ${Yt??""}`),[()=>i.terminal_scriptOutput_run_label()]),f(w,K)},$$slots:{default:!0}})}var k=p(g,2);{var A=d=>{var s=We(),l=R(s,!0);x(()=>{ce(s,"id",z),h(l,P())}),f(d,s)};L(k,d=>{P()&&d(A)})}D(n),D(e),f(t,e)};L(xt,t=>{u().status==="idle"&&v().chunks.length===0&&t(Nt)})}var it=p(xt,2);let ht;var Gt=O(it);ue(Gt,t=>q=t,()=>q),D(it),D(tt),x(()=>{St(tt,1,`script-output-viewer ${st()??""}`,"svelte-115p4sl"),ht=St(it,1,"flex-1 relative overflow-hidden",null,ht,{hidden:u().status==="idle"&&v().chunks.length===0})}),f(_,tt);var Qt=oe(Vt);return Lt(),Qt}async function fr(_,c,z){const I=ut.select(m.state,_,c);if(!I||!z()||!Ct.select(m.state,_,c))return;const u=Ot(I.runtime?.status),v=Ft.select(m.state,_);if(!v){rt.error(i.workspace_client_accessChanged_error());return}if(!await Ie({title:i.scripts_delete_title({name:I.name}),description:u?i.scripts_delete_running_description():i.scripts_delete_description(),confirmLabel:i.scripts_delete_label(),destructive:!0}))return;if(v!==Ft.select(m.state,_)){rt.error(i.workspace_client_accessChanged_error());return}const S=ut.select(m.state,_,c);if(!z()||!S||S.createdAt!==I.createdAt||S.name!==I.name||!u&&Ot(S.runtime?.status)||!Ct.select(m.state,_,c)){rt.error(i.scripts_delete_changed_error());return}m.dispatch(ge(_,c,i.terminal_quakeOverlay_deleteScriptFailed_error()))}export{Ue as S,fr as c};
@@ -1,4 +1,4 @@
1
- var Cr=Object.defineProperty;var xr=(e,t,n)=>t in e?Cr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var b=(e,t,n)=>xr(e,typeof t!="symbol"?t+"":t,n);import{t as oo,bo as M,bw as ro,b as so,bs as di,bq as Lr,bm as $e}from"./CLAmm_T1.js";import{bs as ao,a5 as Me,ay as ui,bS as Xe,aD as C,bA as ke,b_ as Ie,bO as it,W as de,bl as Xt,be as Dn,bn as lo,c9 as oe,aA as I,b$ as uo,aB as ge,ai as wr,bV as Te,br as kr,ca as je,bH as Q,c5 as dt,bk as Er,bj as Rr,aj as Ar,c0 as ci}from"./3SdAC2_C.js";import{i as we}from"./BFgvMDua.js";import{f as hi,g as mn,s as fi}from"./CcJmuwXr.js";import{b as Hr}from"./goTpbPhD.js";import{b as pi}from"./Dn334wJv.js";import{h as Dr,c as rt,J as co,Y as B,Z as Zt,a as ho,k as fo,_ as Je,H as po,j as go,aW as Tr,ak as mo,U as Mr,f as Ir,e as vo,T as Fr,g as Nr,S as Pr,ad as Qe,ac as Ve,C as zr,G as bo,F as Ur,I as _r,N as mt,ar as Or,a8 as Ht,am as Dt,x as K,w as Ue,ax as wt,ay as So,D as Br,d as Vr,aj as yo,aa as ct,l as Tn,b as gi,B as mi,z as vi,aU as Wr,aA as ft,al as Gr,V as Le,X as Ut,W as $r,a9 as Tt,E as jr,i as qr,av as Co,af as Kr,ab as bi,y as xo,ap as kt,ae as Et,an as ot,aq as Lo,O as vn,ao as Si,ai as bn,n as Xr,aS as yi}from"./D6txwX4Y.js";import{h as Ye}from"./DEB8jcix.js";import{g as Yr,i as Jr}from"./B1CKzIA2.js";import{F as Sn,c9 as Qr,bi as Zr,ax as es,aw as ts}from"./DPttSllj.js";import{f as Mn}from"./nxtepGjE.js";import"./TB9r2XJy.js";import{g as ns}from"./BGrimfDs.js";import{c as is}from"./BbYWP3Ow.js";import{P as os}from"./TBtn8giw.js";import{l as Ci}from"./Cu5e4npY.js";class rs extends Dr{constructor(){super(...arguments),this.tokenize=as}equals(t,n,i){return i.ignoreWhitespace?((!i.newlineIsToken||!t.includes(`
1
+ var Cr=Object.defineProperty;var xr=(e,t,n)=>t in e?Cr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var b=(e,t,n)=>xr(e,typeof t!="symbol"?t+"":t,n);import{t as oo,bo as M,bw as ro,b as so,bs as di,bq as Lr,bm as $e}from"./CtfEuoOH.js";import{bs as ao,a5 as Me,ay as ui,bS as Xe,aD as C,bA as ke,b_ as Ie,bO as it,W as de,bl as Xt,be as Dn,bn as lo,c9 as oe,aA as I,b$ as uo,aB as ge,ai as wr,bV as Te,br as kr,ca as je,bH as Q,c5 as dt,bk as Er,bj as Rr,aj as Ar,c0 as ci}from"./3SdAC2_C.js";import{i as we}from"./DynUeYUu.js";import{f as hi,g as mn,s as fi}from"./B26ZHg3s.js";import{b as Hr}from"./goTpbPhD.js";import{b as pi}from"./Dn334wJv.js";import{h as Dr,c as rt,J as co,Y as B,Z as Zt,a as ho,k as fo,_ as Je,H as po,j as go,aW as Tr,ak as mo,U as Mr,f as Ir,e as vo,T as Fr,g as Nr,S as Pr,ad as Qe,ac as Ve,C as zr,G as bo,F as Ur,I as _r,N as mt,ar as Or,a8 as Ht,am as Dt,x as K,w as Ue,ax as wt,ay as So,D as Br,d as Vr,aj as yo,aa as ct,l as Tn,b as gi,B as mi,z as vi,aU as Wr,aA as ft,al as Gr,V as Le,X as Ut,W as $r,a9 as Tt,E as jr,i as qr,av as Co,af as Kr,ab as bi,y as xo,ap as kt,ae as Et,an as ot,aq as Lo,O as vn,ao as Si,ai as bn,n as Xr,aS as yi}from"./uyQciu7h.js";import{h as Ye}from"./DEB8jcix.js";import{g as Yr,i as Jr}from"./CnFZbWXv.js";import{F as Sn,c9 as Qr,bi as Zr,ax as es,aw as ts}from"./COofQgO0.js";import{f as Mn}from"./D9R5fzn8.js";import"./CT8vPg_p.js";import{g as ns}from"./QzxpbvSo.js";import{c as is}from"./BFfRQORP.js";import{P as os}from"./CiHhUIjb.js";import{l as Ci}from"./DMEIbJII.js";class rs extends Dr{constructor(){super(...arguments),this.tokenize=as}equals(t,n,i){return i.ignoreWhitespace?((!i.newlineIsToken||!t.includes(`
2
2
  `))&&(t=t.trim()),(!i.newlineIsToken||!n.includes(`
3
3
  `))&&(n=n.trim())):i.ignoreNewlineAtEof&&!i.newlineIsToken&&(t.endsWith(`
4
4
  `)&&(t=t.slice(0,-1)),n.endsWith(`
@@ -1,4 +1,4 @@
1
- import{g as st}from"./9mJbO8Tf.js";import{g as it}from"./BNs9wOFa.js";import{s as at}from"./BQh5T3Ji.js";import{b as f,ay as we,X as F,a1 as rt,aP as nt,bh as Ve,aW as fe,a_ as lt,V as ut,aZ as ot,U as ct,b0 as ht,Y as dt,z as I,r as pt,$ as At,am as ft,aU as gt,ab as mt,x as Ct,aV as bt,aI as U}from"./BgXuXJpo.js";import{c as kt}from"./BT9lzXEu.js";import{aR as Et}from"./DBAONTYG.js";var Me=(function(){var t=f(function(O,c,d,p){for(d=d||{},p=O.length;p--;d[O[p]]=c);return d},"o"),i=[1,18],a=[1,19],r=[1,20],n=[1,41],u=[1,26],h=[1,42],o=[1,24],g=[1,25],m=[1,32],_=[1,33],Y=[1,34],b=[1,45],me=[1,35],Ce=[1,36],be=[1,37],ke=[1,38],Ee=[1,27],Te=[1,28],ye=[1,29],De=[1,30],Fe=[1,31],k=[1,44],E=[1,46],T=[1,43],y=[1,47],Be=[1,9],A=[1,8,9],te=[1,58],se=[1,59],ie=[1,60],ae=[1,61],re=[1,62],_e=[1,63],Se=[1,64],S=[1,8,9,41],Pe=[1,77],R=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],ne=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],le=[13,60,86,100,102,103],K=[13,60,73,74,86,100,102,103],Re=[13,60,68,69,70,71,72,86,100,102,103],ue=[1,103],W=[1,121],Q=[1,117],X=[1,113],j=[1,119],H=[1,114],q=[1,115],J=[1,116],Z=[1,118],$=[1,120],Ge=[22,50,60,61,82,86,87,88,89,90],Ue=[1,128],oe=[12,39],Ne=[1,8,9,39,41,44,46],ce=[1,8,9,22],ze=[1,153],Ye=[1,8,9,61],x=[1,8,9,22,50,60,61,82,86,87,88,89,90],Le={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"ANNOTATION_START",47:"ANNOTATION_END",48:"CLASS",50:"SPACE",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[38,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:f(function(c,d,p,l,C,e,ee){var s=e.length-1;switch(C){case 8:this.$=e[s-1];break;case 9:case 10:case 13:case 15:this.$=e[s];break;case 11:case 14:this.$=e[s-2]+"."+e[s];break;case 12:case 16:this.$=e[s-1]+e[s];break;case 17:case 18:this.$=e[s-1]+"~"+e[s]+"~";break;case 19:l.addRelation(e[s]);break;case 20:e[s-1].title=l.cleanupLabel(e[s]),l.addRelation(e[s-1]);break;case 31:this.$=e[s].trim(),l.setAccTitle(this.$);break;case 32:case 33:this.$=e[s].trim(),l.setAccDescription(this.$);break;case 34:l.addClassesToNamespace(e[s-3],e[s-1][0],e[s-1][1]),l.popNamespace();break;case 35:l.addClassesToNamespace(e[s-4],e[s-1][0],e[s-1][1]),l.popNamespace();break;case 36:this.$=l.addNamespace(e[s]);break;case 37:this.$=l.addNamespace(e[s-1],e[s]);break;case 38:this.$=[[e[s]],[]];break;case 39:this.$=[[e[s-1]],[]];break;case 40:e[s][0].unshift(e[s-2]),this.$=e[s];break;case 41:this.$=[[],[e[s]]];break;case 42:this.$=[[],[e[s-1]]];break;case 43:e[s][1].unshift(e[s-2]),this.$=e[s];break;case 44:case 45:this.$=[[],[]];break;case 46:this.$=e[s];break;case 48:l.setCssClass(e[s-2],e[s]);break;case 49:l.addMembers(e[s-3],e[s-1]);break;case 51:l.setCssClass(e[s-5],e[s-3]),l.addMembers(e[s-5],e[s-1]);break;case 52:l.addAnnotation(e[s-3],e[s-1]);break;case 53:l.addAnnotation(e[s-6],e[s-4]),l.addMembers(e[s-6],e[s-1]);break;case 54:l.addAnnotation(e[s-5],e[s-3]);break;case 55:this.$=e[s],l.addClass(e[s]);break;case 56:this.$=e[s-1],l.addClass(e[s-1]),l.setClassLabel(e[s-1],e[s]);break;case 60:l.addAnnotation(e[s],e[s-2]);break;case 61:case 74:this.$=[e[s]];break;case 62:e[s].push(e[s-1]),this.$=e[s];break;case 63:break;case 64:l.addMember(e[s-1],l.cleanupLabel(e[s]));break;case 65:break;case 66:break;case 67:this.$={id1:e[s-2],id2:e[s],relation:e[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 68:this.$={id1:e[s-3],id2:e[s],relation:e[s-1],relationTitle1:e[s-2],relationTitle2:"none"};break;case 69:this.$={id1:e[s-3],id2:e[s],relation:e[s-2],relationTitle1:"none",relationTitle2:e[s-1]};break;case 70:this.$={id1:e[s-4],id2:e[s],relation:e[s-2],relationTitle1:e[s-3],relationTitle2:e[s-1]};break;case 71:this.$=l.addNote(e[s],e[s-1]);break;case 72:this.$=l.addNote(e[s]);break;case 73:this.$=e[s-2],l.defineClass(e[s-1],e[s]);break;case 75:this.$=e[s-2].concat([e[s]]);break;case 76:l.setDirection("TB");break;case 77:l.setDirection("BT");break;case 78:l.setDirection("RL");break;case 79:l.setDirection("LR");break;case 80:this.$={type1:e[s-2],type2:e[s],lineType:e[s-1]};break;case 81:this.$={type1:"none",type2:e[s],lineType:e[s-1]};break;case 82:this.$={type1:e[s-1],type2:"none",lineType:e[s]};break;case 83:this.$={type1:"none",type2:"none",lineType:e[s]};break;case 84:this.$=l.relationType.AGGREGATION;break;case 85:this.$=l.relationType.EXTENSION;break;case 86:this.$=l.relationType.COMPOSITION;break;case 87:this.$=l.relationType.DEPENDENCY;break;case 88:this.$=l.relationType.LOLLIPOP;break;case 89:this.$=l.lineType.LINE;break;case 90:this.$=l.lineType.DOTTED_LINE;break;case 91:case 97:this.$=e[s-2],l.setClickEvent(e[s-1],e[s]);break;case 92:case 98:this.$=e[s-3],l.setClickEvent(e[s-2],e[s-1]),l.setTooltip(e[s-2],e[s]);break;case 93:this.$=e[s-2],l.setLink(e[s-1],e[s]);break;case 94:this.$=e[s-3],l.setLink(e[s-2],e[s-1],e[s]);break;case 95:this.$=e[s-3],l.setLink(e[s-2],e[s-1]),l.setTooltip(e[s-2],e[s]);break;case 96:this.$=e[s-4],l.setLink(e[s-3],e[s-2],e[s]),l.setTooltip(e[s-3],e[s-1]);break;case 99:this.$=e[s-3],l.setClickEvent(e[s-2],e[s-1],e[s]);break;case 100:this.$=e[s-4],l.setClickEvent(e[s-3],e[s-2],e[s-1]),l.setTooltip(e[s-3],e[s]);break;case 101:this.$=e[s-3],l.setLink(e[s-2],e[s]);break;case 102:this.$=e[s-4],l.setLink(e[s-3],e[s-1],e[s]);break;case 103:this.$=e[s-4],l.setLink(e[s-3],e[s-1]),l.setTooltip(e[s-3],e[s]);break;case 104:this.$=e[s-5],l.setLink(e[s-4],e[s-2],e[s]),l.setTooltip(e[s-4],e[s-1]);break;case 105:this.$=e[s-2],l.setCssStyle(e[s-1],e[s]);break;case 106:l.setCssClass(e[s-1],e[s]);break;case 107:this.$=[e[s]];break;case 108:e[s-2].push(e[s]),this.$=e[s-2];break;case 110:this.$=e[s-1]+e[s];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:r,38:22,42:n,43:23,46:u,48:h,51:o,52:g,54:m,56:_,57:Y,60:b,62:me,63:Ce,64:be,65:ke,75:Ee,76:Te,78:ye,82:De,83:Fe,86:k,100:E,102:T,103:y},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},t(Be,[2,5],{8:[1,48]}),{8:[1,49]},t(A,[2,19],{22:[1,50]}),t(A,[2,21]),t(A,[2,22]),t(A,[2,23]),t(A,[2,24]),t(A,[2,25]),t(A,[2,26]),t(A,[2,27]),t(A,[2,28]),t(A,[2,29]),t(A,[2,30]),{34:[1,51]},{36:[1,52]},t(A,[2,33]),t(A,[2,63],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:te,69:se,70:ie,71:ae,72:re,73:_e,74:Se}),{39:[1,65]},t(S,[2,47],{39:[1,67],44:[1,66],46:[1,68]}),t(A,[2,65]),t(A,[2,66]),{16:69,60:b,86:k,100:E,102:T},{16:39,17:40,19:70,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:71,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:72,60:b,86:k,100:E,102:T,103:y},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:b,86:k,100:E,102:T,103:y},{13:Pe,55:76},{58:78,60:[1,79]},t(A,[2,76]),t(A,[2,77]),t(A,[2,78]),t(A,[2,79]),t(R,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:b,86:k,100:E,102:T,103:y}),t(R,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:87,60:b,86:k,100:E,102:T,103:y},t(ne,[2,133]),t(ne,[2,134]),t(ne,[2,135]),t(ne,[2,136]),t([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,137]),t(Be,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:88,33:i,35:a,37:r,42:n,46:u,48:h,51:o,52:g,54:m,56:_,57:Y,60:b,62:me,63:Ce,64:be,65:ke,75:Ee,76:Te,78:ye,82:De,83:Fe,86:k,100:E,102:T,103:y}),{5:89,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:r,38:22,42:n,43:23,46:u,48:h,51:o,52:g,54:m,56:_,57:Y,60:b,62:me,63:Ce,64:be,65:ke,75:Ee,76:Te,78:ye,82:De,83:Fe,86:k,100:E,102:T,103:y},t(A,[2,20]),t(A,[2,31]),t(A,[2,32]),{13:[1,91],16:39,17:40,19:90,60:b,86:k,100:E,102:T,103:y},{53:92,66:56,67:57,68:te,69:se,70:ie,71:ae,72:re,73:_e,74:Se},t(A,[2,64]),{67:93,73:_e,74:Se},t(le,[2,83],{66:94,68:te,69:se,70:ie,71:ae,72:re}),t(K,[2,84]),t(K,[2,85]),t(K,[2,86]),t(K,[2,87]),t(K,[2,88]),t(Re,[2,89]),t(Re,[2,90]),{8:[1,96],23:99,24:97,30:98,38:22,40:95,42:n,43:23,48:h,54:m,56:_},{16:100,60:b,86:k,100:E,102:T},{41:[1,102],45:101,51:ue},{16:104,60:b,86:k,100:E,102:T},{47:[1,105]},{13:[1,106]},{13:[1,107]},{79:[1,108],81:[1,109]},{22:W,50:Q,59:110,60:X,82:j,84:111,85:112,86:H,87:q,88:J,89:Z,90:$},{60:[1,122]},{13:Pe,55:123},t(S,[2,72]),t(S,[2,138]),{22:W,50:Q,59:124,60:X,61:[1,125],82:j,84:111,85:112,86:H,87:q,88:J,89:Z,90:$},t(Ge,[2,74]),{16:39,17:40,19:126,60:b,86:k,100:E,102:T,103:y},t(R,[2,16]),t(R,[2,17]),t(R,[2,18]),{11:127,12:Ue,39:[2,36]},t(oe,[2,9],{16:85,17:86,15:130,18:[1,129],60:b,86:k,100:E,102:T,103:y}),t(oe,[2,10]),t(Ne,[2,55],{11:131,12:Ue}),t(Be,[2,7]),{9:[1,132]},t(ce,[2,67]),{16:39,17:40,19:133,60:b,86:k,100:E,102:T,103:y},{13:[1,135],16:39,17:40,19:134,60:b,86:k,100:E,102:T,103:y},t(le,[2,82],{66:136,68:te,69:se,70:ie,71:ae,72:re}),t(le,[2,81]),{41:[1,137]},{23:99,24:97,30:98,38:22,40:138,42:n,43:23,48:h,54:m,56:_},{8:[1,139],41:[2,38]},{8:[1,140],41:[2,41]},{8:[1,141],41:[2,44]},t(S,[2,48],{39:[1,142]}),{41:[1,143]},t(S,[2,50]),{41:[2,61],45:144,51:ue},{47:[1,145]},{16:39,17:40,19:146,60:b,86:k,100:E,102:T,103:y},t(A,[2,91],{13:[1,147]}),t(A,[2,93],{13:[1,149],77:[1,148]}),t(A,[2,97],{13:[1,150],80:[1,151]}),{13:[1,152]},t(A,[2,105],{61:ze}),t(Ye,[2,107],{85:154,22:W,50:Q,60:X,82:j,86:H,87:q,88:J,89:Z,90:$}),t(x,[2,109]),t(x,[2,111]),t(x,[2,112]),t(x,[2,113]),t(x,[2,114]),t(x,[2,115]),t(x,[2,116]),t(x,[2,117]),t(x,[2,118]),t(x,[2,119]),t(A,[2,106]),t(S,[2,71]),t(A,[2,73],{61:ze}),{60:[1,155]},t(R,[2,14]),{39:[2,37]},{13:[1,156]},{15:157,16:85,17:86,60:b,86:k,100:E,102:T,103:y},t(oe,[2,12]),t(Ne,[2,56]),{1:[2,4]},t(ce,[2,69]),t(ce,[2,68]),{16:39,17:40,19:158,60:b,86:k,100:E,102:T,103:y},t(le,[2,80]),t(S,[2,34]),{41:[1,159]},{23:99,24:97,30:98,38:22,40:160,41:[2,39],42:n,43:23,48:h,54:m,56:_},{23:99,24:97,30:98,38:22,40:161,41:[2,42],42:n,43:23,48:h,54:m,56:_},{23:99,24:97,30:98,38:22,40:162,41:[2,45],42:n,43:23,48:h,54:m,56:_},{45:163,51:ue},t(S,[2,49]),{41:[2,62]},t(S,[2,52],{39:[1,164]}),t(A,[2,60]),t(A,[2,92]),t(A,[2,94]),t(A,[2,95],{77:[1,165]}),t(A,[2,98]),t(A,[2,99],{13:[1,166]}),t(A,[2,101],{13:[1,168],77:[1,167]}),{22:W,50:Q,60:X,82:j,84:169,85:112,86:H,87:q,88:J,89:Z,90:$},t(x,[2,110]),t(Ge,[2,75]),{14:[1,170]},t(oe,[2,11]),t(ce,[2,70]),t(S,[2,35]),{41:[2,40]},{41:[2,43]},{41:[2,46]},{41:[1,171]},{41:[1,173],45:172,51:ue},t(A,[2,96]),t(A,[2,100]),t(A,[2,102]),t(A,[2,103],{77:[1,174]}),t(Ye,[2,108],{85:154,22:W,50:Q,60:X,82:j,86:H,87:q,88:J,89:Z,90:$}),t(Ne,[2,8]),t(S,[2,51]),{41:[1,175]},t(S,[2,54]),t(A,[2,104]),t(S,[2,53])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],127:[2,37],132:[2,4],144:[2,62],160:[2,40],161:[2,43],162:[2,46]},parseError:f(function(c,d){if(d.recoverable)this.trace(c);else{var p=new Error(c);throw p.hash=d,p}},"parseError"),parse:f(function(c){var d=this,p=[0],l=[],C=[null],e=[],ee=this.table,s="",de=0,Ke=0,Ze=2,We=1,$e=e.slice.call(arguments,1),D=Object.create(this.lexer),V={yy:{}};for(var xe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,xe)&&(V.yy[xe]=this.yy[xe]);D.setInput(c,V.yy),V.yy.lexer=D,V.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var ve=D.yylloc;e.push(ve);var et=D.options&&D.options.ranges;typeof V.yy.parseError=="function"?this.parseError=V.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function tt(N){p.length=p.length-2*N,C.length=C.length-N,e.length=e.length-N}f(tt,"popStack");function Qe(){var N;return N=l.pop()||D.lex()||We,typeof N!="number"&&(N instanceof Array&&(l=N,N=l.pop()),N=d.symbols_[N]||N),N}f(Qe,"lex");for(var B,M,L,Ie,G={},pe,v,Xe,Ae;;){if(M=p[p.length-1],this.defaultActions[M]?L=this.defaultActions[M]:((B===null||typeof B>"u")&&(B=Qe()),L=ee[M]&&ee[M][B]),typeof L>"u"||!L.length||!L[0]){var Oe="";Ae=[];for(pe in ee[M])this.terminals_[pe]&&pe>Ze&&Ae.push("'"+this.terminals_[pe]+"'");D.showPosition?Oe="Parse error on line "+(de+1)+`:
1
+ import{g as st}from"./C5fxud9g.js";import{g as it}from"./BQCtWEZ2.js";import{s as at}from"./CHUYHKuh.js";import{b as f,ay as we,X as F,a1 as rt,aP as nt,bh as Ve,aW as fe,a_ as lt,V as ut,aZ as ot,U as ct,b0 as ht,Y as dt,z as I,r as pt,$ as At,am as ft,aU as gt,ab as mt,x as Ct,aV as bt,aI as U}from"./DMudvlKI.js";import{c as kt}from"./DF15jnSX.js";import{aR as Et}from"./BTXzEcFX.js";var Me=(function(){var t=f(function(O,c,d,p){for(d=d||{},p=O.length;p--;d[O[p]]=c);return d},"o"),i=[1,18],a=[1,19],r=[1,20],n=[1,41],u=[1,26],h=[1,42],o=[1,24],g=[1,25],m=[1,32],_=[1,33],Y=[1,34],b=[1,45],me=[1,35],Ce=[1,36],be=[1,37],ke=[1,38],Ee=[1,27],Te=[1,28],ye=[1,29],De=[1,30],Fe=[1,31],k=[1,44],E=[1,46],T=[1,43],y=[1,47],Be=[1,9],A=[1,8,9],te=[1,58],se=[1,59],ie=[1,60],ae=[1,61],re=[1,62],_e=[1,63],Se=[1,64],S=[1,8,9,41],Pe=[1,77],R=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],ne=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],le=[13,60,86,100,102,103],K=[13,60,73,74,86,100,102,103],Re=[13,60,68,69,70,71,72,86,100,102,103],ue=[1,103],W=[1,121],Q=[1,117],X=[1,113],j=[1,119],H=[1,114],q=[1,115],J=[1,116],Z=[1,118],$=[1,120],Ge=[22,50,60,61,82,86,87,88,89,90],Ue=[1,128],oe=[12,39],Ne=[1,8,9,39,41,44,46],ce=[1,8,9,22],ze=[1,153],Ye=[1,8,9,61],x=[1,8,9,22,50,60,61,82,86,87,88,89,90],Le={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"ANNOTATION_START",47:"ANNOTATION_END",48:"CLASS",50:"SPACE",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[38,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:f(function(c,d,p,l,C,e,ee){var s=e.length-1;switch(C){case 8:this.$=e[s-1];break;case 9:case 10:case 13:case 15:this.$=e[s];break;case 11:case 14:this.$=e[s-2]+"."+e[s];break;case 12:case 16:this.$=e[s-1]+e[s];break;case 17:case 18:this.$=e[s-1]+"~"+e[s]+"~";break;case 19:l.addRelation(e[s]);break;case 20:e[s-1].title=l.cleanupLabel(e[s]),l.addRelation(e[s-1]);break;case 31:this.$=e[s].trim(),l.setAccTitle(this.$);break;case 32:case 33:this.$=e[s].trim(),l.setAccDescription(this.$);break;case 34:l.addClassesToNamespace(e[s-3],e[s-1][0],e[s-1][1]),l.popNamespace();break;case 35:l.addClassesToNamespace(e[s-4],e[s-1][0],e[s-1][1]),l.popNamespace();break;case 36:this.$=l.addNamespace(e[s]);break;case 37:this.$=l.addNamespace(e[s-1],e[s]);break;case 38:this.$=[[e[s]],[]];break;case 39:this.$=[[e[s-1]],[]];break;case 40:e[s][0].unshift(e[s-2]),this.$=e[s];break;case 41:this.$=[[],[e[s]]];break;case 42:this.$=[[],[e[s-1]]];break;case 43:e[s][1].unshift(e[s-2]),this.$=e[s];break;case 44:case 45:this.$=[[],[]];break;case 46:this.$=e[s];break;case 48:l.setCssClass(e[s-2],e[s]);break;case 49:l.addMembers(e[s-3],e[s-1]);break;case 51:l.setCssClass(e[s-5],e[s-3]),l.addMembers(e[s-5],e[s-1]);break;case 52:l.addAnnotation(e[s-3],e[s-1]);break;case 53:l.addAnnotation(e[s-6],e[s-4]),l.addMembers(e[s-6],e[s-1]);break;case 54:l.addAnnotation(e[s-5],e[s-3]);break;case 55:this.$=e[s],l.addClass(e[s]);break;case 56:this.$=e[s-1],l.addClass(e[s-1]),l.setClassLabel(e[s-1],e[s]);break;case 60:l.addAnnotation(e[s],e[s-2]);break;case 61:case 74:this.$=[e[s]];break;case 62:e[s].push(e[s-1]),this.$=e[s];break;case 63:break;case 64:l.addMember(e[s-1],l.cleanupLabel(e[s]));break;case 65:break;case 66:break;case 67:this.$={id1:e[s-2],id2:e[s],relation:e[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 68:this.$={id1:e[s-3],id2:e[s],relation:e[s-1],relationTitle1:e[s-2],relationTitle2:"none"};break;case 69:this.$={id1:e[s-3],id2:e[s],relation:e[s-2],relationTitle1:"none",relationTitle2:e[s-1]};break;case 70:this.$={id1:e[s-4],id2:e[s],relation:e[s-2],relationTitle1:e[s-3],relationTitle2:e[s-1]};break;case 71:this.$=l.addNote(e[s],e[s-1]);break;case 72:this.$=l.addNote(e[s]);break;case 73:this.$=e[s-2],l.defineClass(e[s-1],e[s]);break;case 75:this.$=e[s-2].concat([e[s]]);break;case 76:l.setDirection("TB");break;case 77:l.setDirection("BT");break;case 78:l.setDirection("RL");break;case 79:l.setDirection("LR");break;case 80:this.$={type1:e[s-2],type2:e[s],lineType:e[s-1]};break;case 81:this.$={type1:"none",type2:e[s],lineType:e[s-1]};break;case 82:this.$={type1:e[s-1],type2:"none",lineType:e[s]};break;case 83:this.$={type1:"none",type2:"none",lineType:e[s]};break;case 84:this.$=l.relationType.AGGREGATION;break;case 85:this.$=l.relationType.EXTENSION;break;case 86:this.$=l.relationType.COMPOSITION;break;case 87:this.$=l.relationType.DEPENDENCY;break;case 88:this.$=l.relationType.LOLLIPOP;break;case 89:this.$=l.lineType.LINE;break;case 90:this.$=l.lineType.DOTTED_LINE;break;case 91:case 97:this.$=e[s-2],l.setClickEvent(e[s-1],e[s]);break;case 92:case 98:this.$=e[s-3],l.setClickEvent(e[s-2],e[s-1]),l.setTooltip(e[s-2],e[s]);break;case 93:this.$=e[s-2],l.setLink(e[s-1],e[s]);break;case 94:this.$=e[s-3],l.setLink(e[s-2],e[s-1],e[s]);break;case 95:this.$=e[s-3],l.setLink(e[s-2],e[s-1]),l.setTooltip(e[s-2],e[s]);break;case 96:this.$=e[s-4],l.setLink(e[s-3],e[s-2],e[s]),l.setTooltip(e[s-3],e[s-1]);break;case 99:this.$=e[s-3],l.setClickEvent(e[s-2],e[s-1],e[s]);break;case 100:this.$=e[s-4],l.setClickEvent(e[s-3],e[s-2],e[s-1]),l.setTooltip(e[s-3],e[s]);break;case 101:this.$=e[s-3],l.setLink(e[s-2],e[s]);break;case 102:this.$=e[s-4],l.setLink(e[s-3],e[s-1],e[s]);break;case 103:this.$=e[s-4],l.setLink(e[s-3],e[s-1]),l.setTooltip(e[s-3],e[s]);break;case 104:this.$=e[s-5],l.setLink(e[s-4],e[s-2],e[s]),l.setTooltip(e[s-4],e[s-1]);break;case 105:this.$=e[s-2],l.setCssStyle(e[s-1],e[s]);break;case 106:l.setCssClass(e[s-1],e[s]);break;case 107:this.$=[e[s]];break;case 108:e[s-2].push(e[s]),this.$=e[s-2];break;case 110:this.$=e[s-1]+e[s];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:r,38:22,42:n,43:23,46:u,48:h,51:o,52:g,54:m,56:_,57:Y,60:b,62:me,63:Ce,64:be,65:ke,75:Ee,76:Te,78:ye,82:De,83:Fe,86:k,100:E,102:T,103:y},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},t(Be,[2,5],{8:[1,48]}),{8:[1,49]},t(A,[2,19],{22:[1,50]}),t(A,[2,21]),t(A,[2,22]),t(A,[2,23]),t(A,[2,24]),t(A,[2,25]),t(A,[2,26]),t(A,[2,27]),t(A,[2,28]),t(A,[2,29]),t(A,[2,30]),{34:[1,51]},{36:[1,52]},t(A,[2,33]),t(A,[2,63],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:te,69:se,70:ie,71:ae,72:re,73:_e,74:Se}),{39:[1,65]},t(S,[2,47],{39:[1,67],44:[1,66],46:[1,68]}),t(A,[2,65]),t(A,[2,66]),{16:69,60:b,86:k,100:E,102:T},{16:39,17:40,19:70,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:71,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:72,60:b,86:k,100:E,102:T,103:y},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:b,86:k,100:E,102:T,103:y},{13:Pe,55:76},{58:78,60:[1,79]},t(A,[2,76]),t(A,[2,77]),t(A,[2,78]),t(A,[2,79]),t(R,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:b,86:k,100:E,102:T,103:y}),t(R,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:87,60:b,86:k,100:E,102:T,103:y},t(ne,[2,133]),t(ne,[2,134]),t(ne,[2,135]),t(ne,[2,136]),t([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,137]),t(Be,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:88,33:i,35:a,37:r,42:n,46:u,48:h,51:o,52:g,54:m,56:_,57:Y,60:b,62:me,63:Ce,64:be,65:ke,75:Ee,76:Te,78:ye,82:De,83:Fe,86:k,100:E,102:T,103:y}),{5:89,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:r,38:22,42:n,43:23,46:u,48:h,51:o,52:g,54:m,56:_,57:Y,60:b,62:me,63:Ce,64:be,65:ke,75:Ee,76:Te,78:ye,82:De,83:Fe,86:k,100:E,102:T,103:y},t(A,[2,20]),t(A,[2,31]),t(A,[2,32]),{13:[1,91],16:39,17:40,19:90,60:b,86:k,100:E,102:T,103:y},{53:92,66:56,67:57,68:te,69:se,70:ie,71:ae,72:re,73:_e,74:Se},t(A,[2,64]),{67:93,73:_e,74:Se},t(le,[2,83],{66:94,68:te,69:se,70:ie,71:ae,72:re}),t(K,[2,84]),t(K,[2,85]),t(K,[2,86]),t(K,[2,87]),t(K,[2,88]),t(Re,[2,89]),t(Re,[2,90]),{8:[1,96],23:99,24:97,30:98,38:22,40:95,42:n,43:23,48:h,54:m,56:_},{16:100,60:b,86:k,100:E,102:T},{41:[1,102],45:101,51:ue},{16:104,60:b,86:k,100:E,102:T},{47:[1,105]},{13:[1,106]},{13:[1,107]},{79:[1,108],81:[1,109]},{22:W,50:Q,59:110,60:X,82:j,84:111,85:112,86:H,87:q,88:J,89:Z,90:$},{60:[1,122]},{13:Pe,55:123},t(S,[2,72]),t(S,[2,138]),{22:W,50:Q,59:124,60:X,61:[1,125],82:j,84:111,85:112,86:H,87:q,88:J,89:Z,90:$},t(Ge,[2,74]),{16:39,17:40,19:126,60:b,86:k,100:E,102:T,103:y},t(R,[2,16]),t(R,[2,17]),t(R,[2,18]),{11:127,12:Ue,39:[2,36]},t(oe,[2,9],{16:85,17:86,15:130,18:[1,129],60:b,86:k,100:E,102:T,103:y}),t(oe,[2,10]),t(Ne,[2,55],{11:131,12:Ue}),t(Be,[2,7]),{9:[1,132]},t(ce,[2,67]),{16:39,17:40,19:133,60:b,86:k,100:E,102:T,103:y},{13:[1,135],16:39,17:40,19:134,60:b,86:k,100:E,102:T,103:y},t(le,[2,82],{66:136,68:te,69:se,70:ie,71:ae,72:re}),t(le,[2,81]),{41:[1,137]},{23:99,24:97,30:98,38:22,40:138,42:n,43:23,48:h,54:m,56:_},{8:[1,139],41:[2,38]},{8:[1,140],41:[2,41]},{8:[1,141],41:[2,44]},t(S,[2,48],{39:[1,142]}),{41:[1,143]},t(S,[2,50]),{41:[2,61],45:144,51:ue},{47:[1,145]},{16:39,17:40,19:146,60:b,86:k,100:E,102:T,103:y},t(A,[2,91],{13:[1,147]}),t(A,[2,93],{13:[1,149],77:[1,148]}),t(A,[2,97],{13:[1,150],80:[1,151]}),{13:[1,152]},t(A,[2,105],{61:ze}),t(Ye,[2,107],{85:154,22:W,50:Q,60:X,82:j,86:H,87:q,88:J,89:Z,90:$}),t(x,[2,109]),t(x,[2,111]),t(x,[2,112]),t(x,[2,113]),t(x,[2,114]),t(x,[2,115]),t(x,[2,116]),t(x,[2,117]),t(x,[2,118]),t(x,[2,119]),t(A,[2,106]),t(S,[2,71]),t(A,[2,73],{61:ze}),{60:[1,155]},t(R,[2,14]),{39:[2,37]},{13:[1,156]},{15:157,16:85,17:86,60:b,86:k,100:E,102:T,103:y},t(oe,[2,12]),t(Ne,[2,56]),{1:[2,4]},t(ce,[2,69]),t(ce,[2,68]),{16:39,17:40,19:158,60:b,86:k,100:E,102:T,103:y},t(le,[2,80]),t(S,[2,34]),{41:[1,159]},{23:99,24:97,30:98,38:22,40:160,41:[2,39],42:n,43:23,48:h,54:m,56:_},{23:99,24:97,30:98,38:22,40:161,41:[2,42],42:n,43:23,48:h,54:m,56:_},{23:99,24:97,30:98,38:22,40:162,41:[2,45],42:n,43:23,48:h,54:m,56:_},{45:163,51:ue},t(S,[2,49]),{41:[2,62]},t(S,[2,52],{39:[1,164]}),t(A,[2,60]),t(A,[2,92]),t(A,[2,94]),t(A,[2,95],{77:[1,165]}),t(A,[2,98]),t(A,[2,99],{13:[1,166]}),t(A,[2,101],{13:[1,168],77:[1,167]}),{22:W,50:Q,60:X,82:j,84:169,85:112,86:H,87:q,88:J,89:Z,90:$},t(x,[2,110]),t(Ge,[2,75]),{14:[1,170]},t(oe,[2,11]),t(ce,[2,70]),t(S,[2,35]),{41:[2,40]},{41:[2,43]},{41:[2,46]},{41:[1,171]},{41:[1,173],45:172,51:ue},t(A,[2,96]),t(A,[2,100]),t(A,[2,102]),t(A,[2,103],{77:[1,174]}),t(Ye,[2,108],{85:154,22:W,50:Q,60:X,82:j,86:H,87:q,88:J,89:Z,90:$}),t(Ne,[2,8]),t(S,[2,51]),{41:[1,175]},t(S,[2,54]),t(A,[2,104]),t(S,[2,53])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],127:[2,37],132:[2,4],144:[2,62],160:[2,40],161:[2,43],162:[2,46]},parseError:f(function(c,d){if(d.recoverable)this.trace(c);else{var p=new Error(c);throw p.hash=d,p}},"parseError"),parse:f(function(c){var d=this,p=[0],l=[],C=[null],e=[],ee=this.table,s="",de=0,Ke=0,Ze=2,We=1,$e=e.slice.call(arguments,1),D=Object.create(this.lexer),V={yy:{}};for(var xe in this.yy)Object.prototype.hasOwnProperty.call(this.yy,xe)&&(V.yy[xe]=this.yy[xe]);D.setInput(c,V.yy),V.yy.lexer=D,V.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var ve=D.yylloc;e.push(ve);var et=D.options&&D.options.ranges;typeof V.yy.parseError=="function"?this.parseError=V.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function tt(N){p.length=p.length-2*N,C.length=C.length-N,e.length=e.length-N}f(tt,"popStack");function Qe(){var N;return N=l.pop()||D.lex()||We,typeof N!="number"&&(N instanceof Array&&(l=N,N=l.pop()),N=d.symbols_[N]||N),N}f(Qe,"lex");for(var B,M,L,Ie,G={},pe,v,Xe,Ae;;){if(M=p[p.length-1],this.defaultActions[M]?L=this.defaultActions[M]:((B===null||typeof B>"u")&&(B=Qe()),L=ee[M]&&ee[M][B]),typeof L>"u"||!L.length||!L[0]){var Oe="";Ae=[];for(pe in ee[M])this.terminals_[pe]&&pe>Ze&&Ae.push("'"+this.terminals_[pe]+"'");D.showPosition?Oe="Parse error on line "+(de+1)+`:
2
2
  `+D.showPosition()+`
3
3
  Expecting `+Ae.join(", ")+", got '"+(this.terminals_[B]||B)+"'":Oe="Parse error on line "+(de+1)+": Unexpected "+(B==We?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(Oe,{text:D.match,token:this.terminals_[B]||B,line:D.yylineno,loc:ve,expected:Ae})}if(L[0]instanceof Array&&L.length>1)throw new Error("Parse Error: multiple actions possible at state: "+M+", token: "+B);switch(L[0]){case 1:p.push(B),C.push(D.yytext),e.push(D.yylloc),p.push(L[1]),B=null,Ke=D.yyleng,s=D.yytext,de=D.yylineno,ve=D.yylloc;break;case 2:if(v=this.productions_[L[1]][1],G.$=C[C.length-v],G._$={first_line:e[e.length-(v||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(v||1)].first_column,last_column:e[e.length-1].last_column},et&&(G._$.range=[e[e.length-(v||1)].range[0],e[e.length-1].range[1]]),Ie=this.performAction.apply(G,[s,Ke,de,V.yy,L[1],C,e].concat($e)),typeof Ie<"u")return Ie;v&&(p=p.slice(0,-1*v*2),C=C.slice(0,-1*v),e=e.slice(0,-1*v)),p.push(this.productions_[L[1]][0]),C.push(G.$),e.push(G._$),Xe=ee[p[p.length-2]][p[p.length-1]],p.push(Xe);break;case 3:return!0}}return!0},"parse")},Je=(function(){var O={EOF:1,parseError:f(function(d,p){if(this.yy.parser)this.yy.parser.parseError(d,p);else throw new Error(d)},"parseError"),setInput:f(function(c,d){return this.yy=d||this.yy||{},this._input=c,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:f(function(){var c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var d=c.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),c},"input"),unput:f(function(c){var d=c.length,p=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var l=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),p.length-1&&(this.yylineno-=p.length-1);var C=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:p?(p.length===l.length?this.yylloc.first_column:0)+l[l.length-p.length].length-p[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[C[0],C[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:f(function(){return this._more=!0,this},"more"),reject:f(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:f(function(c){this.unput(this.match.slice(c))},"less"),pastInput:f(function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:f(function(){var c=this.match;return c.length<20&&(c+=this._input.substr(0,20-c.length)),(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:f(function(){var c=this.pastInput(),d=new Array(c.length+1).join("-");return c+this.upcomingInput()+`
@@ -1,4 +1,4 @@
1
- var Ar=Object.defineProperty;var cr=s=>{throw TypeError(s)};var Hr=(s,t,e)=>t in s?Ar(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e;var m=(s,t,e)=>Hr(s,typeof t!="symbol"?t+"":t,e),Ce=(s,t,e)=>t.has(s)||cr("Cannot "+e);var n=(s,t,e)=>(Ce(s,t,"read from private field"),e?e.call(s):t.get(s)),d=(s,t,e)=>t.has(s)?cr("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(s):t.set(s,e),F=(s,t,e,r)=>(Ce(s,t,"write to private field"),r?r.call(s,e):t.set(s,e),e),et=(s,t,e)=>(Ce(s,t,"access private method"),e);import{t as V,bo as v,bw as M,b as W,bp as k,br as L}from"./CLAmm_T1.js";import{aD as o,bH as f,bV as T,c9 as y,ca as X,c5 as ht,bs as A,a7 as O,ay as E,W as z,bn as H,aA as S,bf as J,bi as ut,cb as Lr,bo as ie,a5 as nt,bA as it,aB as tt,bS as fe}from"./3SdAC2_C.js";import{i as B}from"./BFgvMDua.js";import{t as U}from"./BwNrQXlF.js";import{c as ct}from"./BwH4Bvte.js";import{aL as Or,e as kr,aU as Xr,a$ as ur,av as D,aX as ze,h as le,aZ as Ur,an as K,D as Yr,ay as $r,aA as Ir,aQ as Y,aJ as Fr,az as j}from"./nxtepGjE.js";import{b as lt,e as Br,p as jr}from"./CcJmuwXr.js";function qr(s,t){if(Or(s)){const r=s();return r===void 0?t:r}return s===void 0?t:s}function we(s,t){let e=T(null);const r=y(()=>qr(t,250));function i(...l){if(o(e))o(e).timeout&&clearTimeout(o(e).timeout);else{let a,c;const u=new Promise((p,h)=>{a=p,c=h});f(e,{timeout:null,runner:null,promise:u,resolve:a,reject:c},!0)}return o(e).runner=async()=>{if(!o(e))return;const a=o(e);f(e,null);try{a.resolve(await s.apply(this,l))}catch(c){a.reject(c)}},o(e).timeout=setTimeout(o(e).runner,o(r)),o(e).promise}return i.cancel=async()=>{(!o(e)||o(e).timeout===null)&&(await new Promise(l=>setTimeout(l,0)),!o(e)||o(e).timeout===null)||(clearTimeout(o(e).timeout),o(e).reject("Cancelled"),f(e,null))},i.runScheduledNow=async()=>{(!o(e)||!o(e).timeout)&&(await new Promise(l=>setTimeout(l,0)),!o(e)||!o(e).timeout)||(clearTimeout(o(e).timeout),o(e).timeout=null,await o(e).runner?.())},Object.defineProperty(i,"pending",{enumerable:!0,get(){return!!o(e)?.timeout}}),i}var rt;class $e{constructor(){d(this,rt,T(!1));X(()=>(ht(()=>f(n(this,rt),!0)),()=>{f(n(this,rt),!1)}))}get current(){return o(n(this,rt))}}rt=new WeakMap;var dt,ft;class at{constructor(t,e){d(this,dt);d(this,ft);F(this,dt,t),F(this,ft,e),this.handler=this.handler.bind(this),X(this.handler)}handler(){let t=0;const e=n(this,dt).call(this);if(!e)return;const r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n(this,ft))});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}}dt=new WeakMap,ft=new WeakMap;var pt,Q,bt,Z,q,mt,gt,De;class Gr{constructor(t){d(this,gt);m(this,"opts");m(this,"present");d(this,pt);d(this,Q,T(!1));d(this,bt,!1);d(this,Z,T(void 0));d(this,q,null);d(this,mt,y(()=>o(n(this,Q))));this.opts=t,this.present=this.opts.open,f(n(this,Q),t.open.current,!0),F(this,pt,new kr({ref:this.opts.ref,afterTick:this.opts.open})),Xr(()=>et(this,gt,De).call(this)),ur(()=>this.present.current,e=>{if(!n(this,bt)){F(this,bt,!0);return}et(this,gt,De).call(this),e&&f(n(this,Q),!0),f(n(this,Z),e?"starting":"ending",!0),e&&F(this,q,window.requestAnimationFrame(()=>{F(this,q,null),this.present.current&&f(n(this,Z),void 0)})),n(this,pt).run(()=>{e===this.present.current&&(e||f(n(this,Q),!1),f(n(this,Z),void 0))})})}get isPresent(){return o(n(this,mt))}set isPresent(t){f(n(this,mt),t)}get transitionStatus(){return o(n(this,Z))}}pt=new WeakMap,Q=new WeakMap,bt=new WeakMap,Z=new WeakMap,q=new WeakMap,mt=new WeakMap,gt=new WeakSet,De=function(){n(this,q)!==null&&(window.cancelAnimationFrame(n(this,q)),F(this,q,null))};function ae(s,t){if(new.target)return V({component:ae,...s});A(t,!0);let e=v(t,"open",7),r=v(t,"forceMount",7),i=v(t,"presence",7),l=v(t,"ref",7);const a=new Gr({open:D(()=>e()),ref:l()});var c={get open(){return e()},set open(P){e(P),S()},get forceMount(){return r()},set forceMount(P){r(P),S()},get presence(){return i()},set presence(P){i(P),S()},get ref(){return l()},set ref(P){l(P),S()},$set:M,$on:(P,w)=>W(t,P,w)},u=O(),p=E(u);{var h=P=>{var w=O(),x=E(w);U(x,()=>i()??J,()=>({present:a.isPresent,transitionStatus:a.transitionStatus})),z(P,w)};B(p,P=>{(r()||e()||a.isPresent)&&P(h)})}return z(s,u),H(c)}function Jr(s,t,e){return Math.min(e,Math.max(t,s))}var vt,me,dr;class Qr{constructor(t,e){d(this,me);m(this,"state");d(this,vt);this.state=ze(t),F(this,vt,e),this.dispatch=this.dispatch.bind(this)}dispatch(t){this.state.current=et(this,me,dr).call(this,t)}}vt=new WeakMap,me=new WeakSet,dr=function(t){return n(this,vt)[this.state.current][t]??this.state.current};const ce=$r({component:"scroll-area",parts:["root","viewport","corner","thumb","scrollbar"]}),he=new le("ScrollArea.Root"),ue=new le("ScrollArea.Scrollbar"),Pe=new le("ScrollArea.ScrollbarVisible"),Ie=new le("ScrollArea.ScrollbarAxis"),fr=new le("ScrollArea.ScrollbarShared");var St,wt,Pt,yt,xt,_t,Tt,Nt,Ct,zt;const Be=class Be{constructor(t){m(this,"opts");m(this,"attachment");d(this,St,T(null));d(this,wt,T(null));d(this,Pt,T(null));d(this,yt,T(null));d(this,xt,T(null));d(this,_t,T(0));d(this,Tt,T(0));d(this,Nt,T(!1));d(this,Ct,T(!1));m(this,"domContext");d(this,zt,y(()=>({id:this.opts.id.current,dir:this.opts.dir.current,style:{position:"relative","--bits-scroll-area-corner-height":`${this.cornerHeight}px`,"--bits-scroll-area-corner-width":`${this.cornerWidth}px`},[ce.root]:"",...this.attachment})));this.opts=t,this.attachment=K(t.ref,e=>this.scrollAreaNode=e),this.domContext=new Yr(t.ref)}static create(t){return he.set(new Be(t))}get scrollAreaNode(){return o(n(this,St))}set scrollAreaNode(t){f(n(this,St),t,!0)}get viewportNode(){return o(n(this,wt))}set viewportNode(t){f(n(this,wt),t,!0)}get contentNode(){return o(n(this,Pt))}set contentNode(t){f(n(this,Pt),t,!0)}get scrollbarXNode(){return o(n(this,yt))}set scrollbarXNode(t){f(n(this,yt),t,!0)}get scrollbarYNode(){return o(n(this,xt))}set scrollbarYNode(t){f(n(this,xt),t,!0)}get cornerWidth(){return o(n(this,_t))}set cornerWidth(t){f(n(this,_t),t,!0)}get cornerHeight(){return o(n(this,Tt))}set cornerHeight(t){f(n(this,Tt),t,!0)}get scrollbarXEnabled(){return o(n(this,Nt))}set scrollbarXEnabled(t){f(n(this,Nt),t,!0)}get scrollbarYEnabled(){return o(n(this,Ct))}set scrollbarYEnabled(t){f(n(this,Ct),t,!0)}get props(){return o(n(this,zt))}set props(t){f(n(this,zt),t)}};St=new WeakMap,wt=new WeakMap,Pt=new WeakMap,yt=new WeakMap,xt=new WeakMap,_t=new WeakMap,Tt=new WeakMap,Nt=new WeakMap,Ct=new WeakMap,zt=new WeakMap;let Ee=Be;var ge,ve,Dt,Et;const je=class je{constructor(t,e){m(this,"opts");m(this,"root");m(this,"attachment");d(this,ge,ze(Ur()));d(this,ve,ze(null));m(this,"contentAttachment",K(n(this,ve),t=>this.root.contentNode=t));d(this,Dt,y(()=>({id:this.opts.id.current,style:{overflowX:this.root.scrollbarXEnabled?"scroll":"hidden",overflowY:this.root.scrollbarYEnabled?"scroll":"hidden"},[ce.viewport]:"",...this.attachment})));d(this,Et,y(()=>({id:n(this,ge).current,"data-scroll-area-content":"",style:{minWidth:this.root.scrollbarXEnabled?"fit-content":void 0},...this.contentAttachment})));this.opts=t,this.root=e,this.attachment=K(t.ref,r=>this.root.viewportNode=r)}static create(t){return new je(t,he.get())}get props(){return o(n(this,Dt))}set props(t){f(n(this,Dt),t)}get contentProps(){return o(n(this,Et))}set contentProps(t){f(n(this,Et),t)}};ge=new WeakMap,ve=new WeakMap,Dt=new WeakMap,Et=new WeakMap;let Re=je;var Rt,Vt;const qe=class qe{constructor(t,e){m(this,"opts");m(this,"root");d(this,Rt,y(()=>this.opts.orientation.current==="horizontal"));d(this,Vt,T(!1));this.opts=t,this.root=e,ur(()=>this.isHorizontal,r=>r?(this.root.scrollbarXEnabled=!0,()=>{this.root.scrollbarXEnabled=!1}):(this.root.scrollbarYEnabled=!0,()=>{this.root.scrollbarYEnabled=!1}))}static create(t){return ue.set(new qe(t,he.get()))}get isHorizontal(){return o(n(this,Rt))}set isHorizontal(t){f(n(this,Rt),t)}get hasThumb(){return o(n(this,Vt))}set hasThumb(t){f(n(this,Vt),t,!0)}};Rt=new WeakMap,Vt=new WeakMap;let Ve=qe;var Mt,Wt;const Ge=class Ge{constructor(t){m(this,"scrollbar");m(this,"root");d(this,Mt,T(!1));d(this,Wt,y(()=>({"data-state":this.isVisible?"visible":"hidden"})));this.scrollbar=t,this.root=t.root,X(()=>{const e=this.root.scrollAreaNode,r=this.root.opts.scrollHideDelay.current;let i=0;if(!e)return;const l=()=>{this.root.domContext.clearTimeout(i),ht(()=>this.isVisible=!0)},a=()=>{i&&this.root.domContext.clearTimeout(i),i=this.root.domContext.setTimeout(()=>{ht(()=>{this.scrollbar.hasThumb=!1,this.isVisible=!1})},r)},c=Ir(ut(e,"pointerenter",l),ut(e,"pointerleave",a));return()=>{this.root.domContext.getWindow().clearTimeout(i),c()}})}static create(){return new Ge(ue.get())}get isVisible(){return o(n(this,Mt))}set isVisible(t){f(n(this,Mt),t,!0)}get props(){return o(n(this,Wt))}set props(t){f(n(this,Wt),t)}};Mt=new WeakMap,Wt=new WeakMap;let Me=Ge;var At,Ht;const Je=class Je{constructor(t){m(this,"scrollbar");m(this,"root");m(this,"machine",new Qr("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}}));d(this,At,y(()=>this.machine.state.current==="hidden"));d(this,Ht,y(()=>({"data-state":this.machine.state.current==="hidden"?"hidden":"visible",onpointerenter:this.onpointerenter,onpointerleave:this.onpointerleave})));this.scrollbar=t,this.root=t.root;const e=we(()=>this.machine.dispatch("SCROLL_END"),100);X(()=>{const r=this.machine.state.current,i=this.root.opts.scrollHideDelay.current;if(r==="idle"){const l=this.root.domContext.setTimeout(()=>this.machine.dispatch("HIDE"),i);return()=>this.root.domContext.clearTimeout(l)}}),X(()=>{const r=this.root.viewportNode;if(!r)return;const i=this.scrollbar.isHorizontal?"scrollLeft":"scrollTop";let l=r[i];return ut(r,"scroll",()=>{const u=r[i];l!==u&&(this.machine.dispatch("SCROLL"),e()),l=u})}),this.onpointerenter=this.onpointerenter.bind(this),this.onpointerleave=this.onpointerleave.bind(this)}static create(){return new Je(ue.get())}get isHidden(){return o(n(this,At))}set isHidden(t){f(n(this,At),t)}onpointerenter(t){this.machine.dispatch("POINTER_ENTER")}onpointerleave(t){this.machine.dispatch("POINTER_LEAVE")}get props(){return o(n(this,Ht))}set props(t){f(n(this,Ht),t)}};At=new WeakMap,Ht=new WeakMap;let We=Je;var Lt,Ot;const Qe=class Qe{constructor(t){m(this,"scrollbar");m(this,"root");d(this,Lt,T(!1));d(this,Ot,y(()=>({"data-state":this.isVisible?"visible":"hidden"})));this.scrollbar=t,this.root=t.root;const e=we(()=>{const r=this.root.viewportNode;if(!r)return;const i=r.offsetWidth<r.scrollWidth,l=r.offsetHeight<r.scrollHeight;this.isVisible=this.scrollbar.isHorizontal?i:l},10);new at(()=>this.root.viewportNode,e),new at(()=>this.root.contentNode,e)}static create(){return new Qe(ue.get())}get isVisible(){return o(n(this,Lt))}set isVisible(t){f(n(this,Lt),t,!0)}get props(){return o(n(this,Ot))}set props(t){f(n(this,Ot),t)}};Lt=new WeakMap,Ot=new WeakMap;let pe=Qe;var kt,Xt,Ut,Yt,$t,It;const Ze=class Ze{constructor(t){m(this,"scrollbar");m(this,"root");d(this,kt,T(null));d(this,Xt,T(0));d(this,Ut,T({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}));d(this,Yt,y(()=>pr(this.sizes.viewport,this.sizes.content)));d(this,$t,y(()=>this.thumbRatio>0&&this.thumbRatio<1));d(this,It,T(""));this.scrollbar=t,this.root=t.root,X(()=>{this.scrollbar.hasThumb=this.hasThumb}),X(()=>{!this.scrollbar.hasThumb&&this.thumbNode&&(this.prevTransformStyle=this.thumbNode.style.transform)})}static create(){return Pe.set(new Ze(ue.get()))}get thumbNode(){return o(n(this,kt))}set thumbNode(t){f(n(this,kt),t,!0)}get pointerOffset(){return o(n(this,Xt))}set pointerOffset(t){f(n(this,Xt),t,!0)}get sizes(){return o(n(this,Ut))}set sizes(t){f(n(this,Ut),t)}get thumbRatio(){return o(n(this,Yt))}set thumbRatio(t){f(n(this,Yt),t)}get hasThumb(){return o(n(this,$t))}set hasThumb(t){f(n(this,$t),t)}get prevTransformStyle(){return o(n(this,It))}set prevTransformStyle(t){f(n(this,It),t,!0)}setSizes(t){this.sizes=t}getScrollPosition(t,e){return Zr({pointerPos:t,pointerOffset:this.pointerOffset,sizes:this.sizes,dir:e})}onThumbPointerUp(){this.pointerOffset=0}onThumbPointerDown(t){this.pointerOffset=t}xOnThumbPositionChange(){if(!(this.root.viewportNode&&this.thumbNode))return;const t=this.root.viewportNode.scrollLeft,r=`translate3d(${hr({scrollPos:t,sizes:this.sizes,dir:this.root.opts.dir.current})}px, 0, 0)`;this.thumbNode.style.transform=r,this.prevTransformStyle=r}xOnWheelScroll(t){this.root.viewportNode&&(this.root.viewportNode.scrollLeft=t)}xOnDragScroll(t){this.root.viewportNode&&(this.root.viewportNode.scrollLeft=this.getScrollPosition(t,this.root.opts.dir.current))}yOnThumbPositionChange(){if(!(this.root.viewportNode&&this.thumbNode))return;const t=this.root.viewportNode.scrollTop,r=`translate3d(0, ${hr({scrollPos:t,sizes:this.sizes})}px, 0)`;this.thumbNode.style.transform=r,this.prevTransformStyle=r}yOnWheelScroll(t){this.root.viewportNode&&(this.root.viewportNode.scrollTop=t)}yOnDragScroll(t){this.root.viewportNode&&(this.root.viewportNode.scrollTop=this.getScrollPosition(t,this.root.opts.dir.current))}};kt=new WeakMap,Xt=new WeakMap,Ut=new WeakMap,Yt=new WeakMap,$t=new WeakMap,It=new WeakMap;let Ae=Ze;var Ft,Bt,jt;const Ke=class Ke{constructor(t,e){m(this,"opts");m(this,"scrollbarVis");m(this,"root");m(this,"scrollbar");m(this,"attachment");d(this,Ft,T());m(this,"onThumbPointerDown",t=>{this.scrollbarVis.onThumbPointerDown(t.x)});m(this,"onDragScroll",t=>{this.scrollbarVis.xOnDragScroll(t.x)});m(this,"onThumbPointerUp",()=>{this.scrollbarVis.onThumbPointerUp()});m(this,"onThumbPositionChange",()=>{this.scrollbarVis.xOnThumbPositionChange()});m(this,"onWheelScroll",(t,e)=>{if(!this.root.viewportNode)return;const r=this.root.viewportNode.scrollLeft+t.deltaX;this.scrollbarVis.xOnWheelScroll(r),mr(r,e)&&t.preventDefault()});m(this,"onResize",()=>{this.scrollbar.opts.ref.current&&this.root.viewportNode&&this.computedStyle&&this.scrollbarVis.setSizes({content:this.root.viewportNode.scrollWidth,viewport:this.root.viewportNode.offsetWidth,scrollbar:{size:this.scrollbar.opts.ref.current.clientWidth,paddingStart:be(this.computedStyle.paddingLeft),paddingEnd:be(this.computedStyle.paddingRight)}})});d(this,Bt,y(()=>ye(this.scrollbarVis.sizes)));d(this,jt,y(()=>({id:this.scrollbar.opts.id.current,"data-orientation":"horizontal",style:{bottom:0,left:this.root.opts.dir.current==="rtl"?"var(--bits-scroll-area-corner-width)":0,right:this.root.opts.dir.current==="ltr"?"var(--bits-scroll-area-corner-width)":0,"--bits-scroll-area-thumb-width":`${this.thumbSize}px`},...this.attachment})));this.opts=t,this.scrollbarVis=e,this.root=e.root,this.scrollbar=e.scrollbar,this.attachment=K(this.scrollbar.opts.ref,r=>this.root.scrollbarXNode=r),X(()=>{this.scrollbar.opts.ref.current&&this.opts.mounted.current&&(this.computedStyle=getComputedStyle(this.scrollbar.opts.ref.current))}),X(()=>{this.onResize()})}static create(t){return Ie.set(new Ke(t,Pe.get()))}get computedStyle(){return o(n(this,Ft))}set computedStyle(t){f(n(this,Ft),t,!0)}get thumbSize(){return o(n(this,Bt))}set thumbSize(t){f(n(this,Bt),t)}get props(){return o(n(this,jt))}set props(t){f(n(this,jt),t)}};Ft=new WeakMap,Bt=new WeakMap,jt=new WeakMap;let He=Ke;var qt,Gt,Jt;const tr=class tr{constructor(t,e){m(this,"opts");m(this,"scrollbarVis");m(this,"root");m(this,"scrollbar");m(this,"attachment");d(this,qt,T());d(this,Gt,y(()=>ye(this.scrollbarVis.sizes)));d(this,Jt,y(()=>({id:this.scrollbar.opts.id.current,"data-orientation":"vertical",style:{top:0,right:this.root.opts.dir.current==="ltr"?0:void 0,left:this.root.opts.dir.current==="rtl"?0:void 0,bottom:"var(--bits-scroll-area-corner-height)","--bits-scroll-area-thumb-height":`${this.thumbSize}px`},...this.attachment})));this.opts=t,this.scrollbarVis=e,this.root=e.root,this.scrollbar=e.scrollbar,this.attachment=K(this.scrollbar.opts.ref,r=>this.root.scrollbarYNode=r),X(()=>{this.scrollbar.opts.ref.current&&this.opts.mounted.current&&(this.computedStyle=getComputedStyle(this.scrollbar.opts.ref.current))}),X(()=>{this.onResize()}),this.onThumbPointerDown=this.onThumbPointerDown.bind(this),this.onDragScroll=this.onDragScroll.bind(this),this.onThumbPointerUp=this.onThumbPointerUp.bind(this),this.onThumbPositionChange=this.onThumbPositionChange.bind(this),this.onWheelScroll=this.onWheelScroll.bind(this),this.onResize=this.onResize.bind(this)}static create(t){return Ie.set(new tr(t,Pe.get()))}get computedStyle(){return o(n(this,qt))}set computedStyle(t){f(n(this,qt),t,!0)}onThumbPointerDown(t){this.scrollbarVis.onThumbPointerDown(t.y)}onDragScroll(t){this.scrollbarVis.yOnDragScroll(t.y)}onThumbPointerUp(){this.scrollbarVis.onThumbPointerUp()}onThumbPositionChange(){this.scrollbarVis.yOnThumbPositionChange()}onWheelScroll(t,e){if(!this.root.viewportNode)return;const r=this.root.viewportNode.scrollTop+t.deltaY;this.scrollbarVis.yOnWheelScroll(r),mr(r,e)&&t.preventDefault()}onResize(){this.scrollbar.opts.ref.current&&this.root.viewportNode&&this.computedStyle&&this.scrollbarVis.setSizes({content:this.root.viewportNode.scrollHeight,viewport:this.root.viewportNode.offsetHeight,scrollbar:{size:this.scrollbar.opts.ref.current.clientHeight,paddingStart:be(this.computedStyle.paddingTop),paddingEnd:be(this.computedStyle.paddingBottom)}})}get thumbSize(){return o(n(this,Gt))}set thumbSize(t){f(n(this,Gt),t)}get props(){return o(n(this,Jt))}set props(t){f(n(this,Jt),t)}};qt=new WeakMap,Gt=new WeakMap,Jt=new WeakMap;let Le=tr;var Qt,Zt,Kt,te,ke,ee;const er=class er{constructor(t){d(this,te);m(this,"scrollbarState");m(this,"root");m(this,"scrollbarVis");m(this,"scrollbar");d(this,Qt,T(null));d(this,Zt,T(""));m(this,"handleResize");m(this,"handleThumbPositionChange");m(this,"handleWheelScroll");m(this,"handleThumbPointerDown");m(this,"handleThumbPointerUp");d(this,Kt,y(()=>this.scrollbarVis.sizes.content-this.scrollbarVis.sizes.viewport));d(this,ee,y(()=>Y({...this.scrollbarState.props,style:{position:"absolute",...this.scrollbarState.props.style},[ce.scrollbar]:"",onpointerdown:this.onpointerdown,onpointermove:this.onpointermove,onpointerup:this.onpointerup,onlostpointercapture:this.onlostpointercapture})));this.scrollbarState=t,this.root=t.root,this.scrollbarVis=t.scrollbarVis,this.scrollbar=t.scrollbarVis.scrollbar,this.handleResize=we(()=>this.scrollbarState.onResize(),10),this.handleThumbPositionChange=this.scrollbarState.onThumbPositionChange,this.handleWheelScroll=this.scrollbarState.onWheelScroll,this.handleThumbPointerDown=this.scrollbarState.onThumbPointerDown,this.handleThumbPointerUp=this.scrollbarState.onThumbPointerUp,X(()=>{const e=this.maxScrollPos,r=this.scrollbar.opts.ref.current;this.root.viewportNode;const i=a=>{const c=a.target;r?.contains(c)&&this.handleWheelScroll(a,e)};return ut(this.root.domContext.getDocument(),"wheel",i,{passive:!1})}),Lr(()=>{this.scrollbarVis.sizes,ht(()=>this.handleThumbPositionChange())}),new at(()=>this.scrollbar.opts.ref.current,this.handleResize),new at(()=>this.root.contentNode,this.handleResize),this.onpointerdown=this.onpointerdown.bind(this),this.onpointermove=this.onpointermove.bind(this),this.onpointerup=this.onpointerup.bind(this),this.onlostpointercapture=this.onlostpointercapture.bind(this)}static create(){return fr.set(new er(Ie.get()))}get rect(){return o(n(this,Qt))}set rect(t){f(n(this,Qt),t)}get prevWebkitUserSelect(){return o(n(this,Zt))}set prevWebkitUserSelect(t){f(n(this,Zt),t,!0)}get maxScrollPos(){return o(n(this,Kt))}set maxScrollPos(t){f(n(this,Kt),t)}handleDragScroll(t){if(!this.rect)return;const e=t.clientX-this.rect.left,r=t.clientY-this.rect.top;this.scrollbarState.onDragScroll({x:e,y:r})}onpointerdown(t){if(t.button!==0)return;t.target.setPointerCapture(t.pointerId),this.rect=this.scrollbar.opts.ref.current?.getBoundingClientRect()??null,this.prevWebkitUserSelect=this.root.domContext.getDocument().body.style.webkitUserSelect,this.root.domContext.getDocument().body.style.webkitUserSelect="none",this.root.viewportNode&&(this.root.viewportNode.style.scrollBehavior="auto"),this.handleDragScroll(t)}onpointermove(t){this.handleDragScroll(t)}onpointerup(t){const e=t.target;e.hasPointerCapture(t.pointerId)&&e.releasePointerCapture(t.pointerId),et(this,te,ke).call(this)}onlostpointercapture(t){et(this,te,ke).call(this)}get props(){return o(n(this,ee))}set props(t){f(n(this,ee),t)}};Qt=new WeakMap,Zt=new WeakMap,Kt=new WeakMap,te=new WeakSet,ke=function(){this.rect!==null&&(this.root.domContext.getDocument().body.style.webkitUserSelect=this.prevWebkitUserSelect,this.root.viewportNode&&(this.root.viewportNode.style.scrollBehavior=""),this.rect=null)},ee=new WeakMap;let Oe=er;var re,G,Se,oe;const rr=class rr{constructor(t,e){m(this,"opts");m(this,"scrollbarState");m(this,"attachment");d(this,re);d(this,G,T());d(this,Se,we(()=>{o(n(this,G))&&(o(n(this,G))(),f(n(this,G),void 0))},100));d(this,oe,y(()=>({id:this.opts.id.current,"data-state":this.scrollbarState.scrollbarVis.hasThumb?"visible":"hidden",style:{width:"var(--bits-scroll-area-thumb-width)",height:"var(--bits-scroll-area-thumb-height)",transform:this.scrollbarState.scrollbarVis.prevTransformStyle},onpointerdowncapture:this.onpointerdowncapture,onpointerup:this.onpointerup,[ce.thumb]:"",...this.attachment})));this.opts=t,this.scrollbarState=e,F(this,re,e.root),this.attachment=K(this.opts.ref,r=>this.scrollbarState.scrollbarVis.thumbNode=r),X(()=>{const r=n(this,re).viewportNode;if(!r)return;const i=()=>{if(n(this,Se).call(this),!o(n(this,G))){const a=Kr(r,this.scrollbarState.handleThumbPositionChange);f(n(this,G),a,!0),this.scrollbarState.handleThumbPositionChange()}};return ht(()=>this.scrollbarState.handleThumbPositionChange()),ut(r,"scroll",i)}),this.onpointerdowncapture=this.onpointerdowncapture.bind(this),this.onpointerup=this.onpointerup.bind(this)}static create(t){return new rr(t,fr.get())}onpointerdowncapture(t){const e=t.target;if(!e)return;const r=e.getBoundingClientRect(),i=t.clientX-r.left,l=t.clientY-r.top;this.scrollbarState.handleThumbPointerDown({x:i,y:l})}onpointerup(t){this.scrollbarState.handleThumbPointerUp()}get props(){return o(n(this,oe))}set props(t){f(n(this,oe),t)}};re=new WeakMap,G=new WeakMap,Se=new WeakMap,oe=new WeakMap;let Xe=rr;var ot,st,se,ne;const or=class or{constructor(t,e){m(this,"opts");m(this,"root");m(this,"attachment");d(this,ot,T(0));d(this,st,T(0));d(this,se,y(()=>!!(o(n(this,ot))&&o(n(this,st)))));d(this,ne,y(()=>({id:this.opts.id.current,style:{width:o(n(this,ot)),height:o(n(this,st)),position:"absolute",right:this.root.opts.dir.current==="ltr"?0:void 0,left:this.root.opts.dir.current==="rtl"?0:void 0,bottom:0},[ce.corner]:"",...this.attachment})));this.opts=t,this.root=e,this.attachment=K(this.opts.ref),new at(()=>this.root.scrollbarXNode,()=>{const r=this.root.scrollbarXNode?.offsetHeight||0;this.root.cornerHeight=r,f(n(this,st),r,!0)}),new at(()=>this.root.scrollbarYNode,()=>{const r=this.root.scrollbarYNode?.offsetWidth||0;this.root.cornerWidth=r,f(n(this,ot),r,!0)})}static create(t){return new or(t,he.get())}get hasSize(){return o(n(this,se))}set hasSize(t){f(n(this,se),t)}get props(){return o(n(this,ne))}set props(t){f(n(this,ne),t)}};ot=new WeakMap,st=new WeakMap,se=new WeakMap,ne=new WeakMap;let Ue=or;function be(s){return s?Number.parseInt(s,10):0}function pr(s,t){const e=s/t;return Number.isNaN(e)?0:e}function ye(s){const t=pr(s.viewport,s.content),e=s.scrollbar.paddingStart+s.scrollbar.paddingEnd,r=(s.scrollbar.size-e)*t;return Math.max(r,18)}function Zr({pointerPos:s,pointerOffset:t,sizes:e,dir:r="ltr"}){const i=ye(e),l=i/2,a=t||l,c=i-a,u=e.scrollbar.paddingStart+a,p=e.scrollbar.size-e.scrollbar.paddingEnd-c,h=e.content-e.viewport,P=r==="ltr"?[0,h]:[h*-1,0];return br([u,p],P)(s)}function hr({scrollPos:s,sizes:t,dir:e="ltr"}){const r=ye(t),i=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,l=t.scrollbar.size-i,a=t.content-t.viewport,c=l-r,u=e==="ltr"?[0,a]:[a*-1,0],p=Jr(s,u[0],u[1]);return br([0,a],[0,c])(p)}function br(s,t){return e=>{if(s[0]===s[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(s[1]-s[0]);return t[0]+r*(e-s[0])}}function mr(s,t){return s>0&&s<t}function Kr(s,t){let e={left:s.scrollLeft,top:s.scrollTop},r=0;const i=Fr(s);return(function l(){const a={left:s.scrollLeft,top:s.scrollTop},c=e.left!==a.left,u=e.top!==a.top;(c||u)&&t(),e=a,r=i.requestAnimationFrame(l)})(),()=>i.cancelAnimationFrame(r)}var to=new Set(["$$slots","$$events","$$legacy","ref","id","type","dir","scrollHideDelay","children","child"]),eo=tt("<div><!></div>");function gr(s,t){const e=ie();if(new.target)return V({component:gr,...s});A(t,!0);let r=v(t,"ref",15,null),i=v(t,"id",23,()=>j(e)),l=v(t,"type",7,"hover"),a=v(t,"dir",7,"ltr"),c=v(t,"scrollHideDelay",7,600),u=v(t,"children",7),p=v(t,"child",7),h=k(t,to);const P=Ee.create({type:D(()=>l()),dir:D(()=>a()),scrollHideDelay:D(()=>c()),id:D(()=>i()),ref:D(()=>r(),_=>r(_))}),w=y(()=>Y(h,P.props));var x={get ref(){return r()},set ref(_=null){r(_),S()},get id(){return i()},set id(_=j(e)){i(_),S()},get type(){return l()},set type(_="hover"){l(_),S()},get dir(){return a()},set dir(_="ltr"){a(_),S()},get scrollHideDelay(){return c()},set scrollHideDelay(_=600){c(_),S()},get children(){return u()},set children(_){u(_),S()},get child(){return p()},set child(_){p(_),S()},$set:M,$on:(_,$)=>W(t,_,$)},g=O(),C=E(g);{var b=_=>{var $=O(),N=E($);U(N,p,()=>({props:o(w)})),z(_,$)},R=_=>{var $=eo();lt($,()=>({...o(w)}));var N=nt($);U(N,()=>u()??J),it($),z(_,$)};B(C,_=>{p()?_(b):_(R,-1)})}return z(s,g),H(x)}var ro=new Set(["$$slots","$$events","$$legacy","ref","id","children"]),oo=tt("<div><div><!></div></div>");function vr(s,t){const e=ie();if(new.target)return V({component:vr,...s});A(t,!0);let r=v(t,"ref",15,null),i=v(t,"id",23,()=>j(e)),l=v(t,"children",7),a=k(t,ro);const c=Re.create({id:D(()=>i()),ref:D(()=>r(),g=>r(g))}),u=y(()=>Y(a,c.props)),p=y(()=>Y({},c.contentProps));var h={get ref(){return r()},set ref(g=null){r(g),S()},get id(){return i()},set id(g=j(e)){i(g),S()},get children(){return l()},set children(g){l(g),S()},$set:M,$on:(g,C)=>W(t,g,C)},P=oo();lt(P,()=>({...o(u)}));var w=nt(P);lt(w,()=>({...o(p)}));var x=nt(w);return U(x,()=>l()??J),it(w),it(P),z(s,P),H(h)}var so=new Set(["$$slots","$$events","$$legacy","child","children"]),no=tt("<div><!></div>");function Fe(s,t){if(new.target)return V({component:Fe,...s});A(t,!0);let e=v(t,"child",7),r=v(t,"children",7),i=k(t,so);const l=Oe.create(),a=y(()=>Y(i,l.props));var c={get child(){return e()},set child(w){e(w),S()},get children(){return r()},set children(w){r(w),S()},$set:M,$on:(w,x)=>W(t,w,x)},u=O(),p=E(u);{var h=w=>{var x=O(),g=E(x);U(g,e,()=>({props:o(a)})),z(w,x)},P=w=>{var x=no();lt(x,()=>({...o(a)}));var g=nt(x);U(g,()=>r()??J),it(x),z(w,x)};B(p,w=>{e()?w(h):w(P,-1)})}return z(s,u),H(c)}var io=new Set(["$$slots","$$events","$$legacy"]);function Sr(s,t){if(new.target)return V({component:Sr,...s});A(t,!0);let e=k(t,io);const r=new $e,i=He.create({mounted:D(()=>r.current)}),l=y(()=>Y(e,i.props));var a={$set:M,$on:(c,u)=>W(t,c,u)};return Fe(s,L(()=>o(l))),H(a)}var lo=new Set(["$$slots","$$events","$$legacy"]);function wr(s,t){if(new.target)return V({component:wr,...s});A(t,!0);let e=k(t,lo);const r=new $e,i=Le.create({mounted:D(()=>r.current)}),l=y(()=>Y(e,i.props));var a={$set:M,$on:(c,u)=>W(t,c,u)};return Fe(s,L(()=>o(l))),H(a)}var ao=new Set(["$$slots","$$events","$$legacy"]);function de(s,t){if(new.target)return V({component:de,...s});A(t,!0);let e=k(t,ao);const r=Ae.create();var i={$set:M,$on:(p,h)=>W(t,p,h)},l=O(),a=E(l);{var c=p=>{Sr(p,L(()=>e))},u=p=>{wr(p,L(()=>e))};B(a,p=>{r.scrollbar.opts.orientation.current==="horizontal"?p(c):p(u,-1)})}return z(s,l),H(i)}var co=new Set(["$$slots","$$events","$$legacy","forceMount"]);function Pr(s,t){if(new.target)return V({component:Pr,...s});A(t,!0);let e=v(t,"forceMount",7,!1),r=k(t,co);const i=pe.create(),l=y(()=>Y(r,i.props));var a={get forceMount(){return e()},set forceMount(c=!1){e(c),S()},$set:M,$on:(c,u)=>W(t,c,u)};{const c=p=>{de(p,L(()=>o(l)))};let u=y(()=>e()||i.isVisible);ae(s,{get open(){return o(u)},get ref(){return i.scrollbar.opts.ref},presence:c,$$slots:{presence:!0}})}return H(a)}var ho=new Set(["$$slots","$$events","$$legacy","forceMount"]);function yr(s,t){if(new.target)return V({component:yr,...s});A(t,!0);let e=v(t,"forceMount",7,!1),r=k(t,ho);const i=We.create(),l=y(()=>Y(r,i.props));var a={get forceMount(){return e()},set forceMount(c=!1){e(c),S()},$set:M,$on:(c,u)=>W(t,c,u)};{const c=p=>{de(p,L(()=>o(l)))};let u=y(()=>e()||!i.isHidden);ae(s,L(()=>o(l),{get open(){return o(u)},get ref(){return i.scrollbar.opts.ref},presence:c,$$slots:{presence:!0}}))}return H(a)}var uo=new Set(["$$slots","$$events","$$legacy","forceMount"]);function xr(s,t){if(new.target)return V({component:xr,...s});A(t,!0);let e=v(t,"forceMount",7,!1),r=k(t,uo);const i=Me.create(),l=pe.create(),a=y(()=>Y(r,i.props,l.props,{"data-state":i.isVisible?"visible":"hidden"})),c=y(()=>e()||i.isVisible&&l.isVisible);var u={get forceMount(){return e()},set forceMount(p=!1){e(p),S()},$set:M,$on:(p,h)=>W(t,p,h)};return ae(s,{get open(){return o(c)},get ref(){return l.scrollbar.opts.ref},presence:h=>{de(h,L(()=>o(a)))},$$slots:{presence:!0}}),H(u)}var fo=new Set(["$$slots","$$events","$$legacy","ref","id","orientation"]);function _r(s,t){const e=ie();if(new.target)return V({component:_r,...s});A(t,!0);let r=v(t,"ref",15,null),i=v(t,"id",23,()=>j(e)),l=v(t,"orientation",7),a=k(t,fo);const c=Ve.create({orientation:D(()=>l()),id:D(()=>i()),ref:D(()=>r(),b=>r(b))}),u=y(()=>c.root.opts.type.current);var p={get ref(){return r()},set ref(b=null){r(b),S()},get id(){return i()},set id(b=j(e)){i(b),S()},get orientation(){return l()},set orientation(b){l(b),S()},$set:M,$on:(b,R)=>W(t,b,R)},h=O(),P=E(h);{var w=b=>{xr(b,L(()=>a,{get id(){return i()}}))},x=b=>{yr(b,L(()=>a,{get id(){return i()}}))},g=b=>{Pr(b,L(()=>a,{get id(){return i()}}))},C=b=>{de(b,L(()=>a,{get id(){return i()}}))};B(P,b=>{o(u)==="hover"?b(w):o(u)==="scroll"?b(x,1):o(u)==="auto"?b(g,2):o(u)==="always"&&b(C,3)})}return z(s,h),H(p)}var po=new Set(["$$slots","$$events","$$legacy","ref","id","child","children","present"]),bo=tt("<div><!></div>");function Tr(s,t){if(new.target)return V({component:Tr,...s});A(t,!0);let e=v(t,"ref",15,null),r=v(t,"id",7),i=v(t,"child",7),l=v(t,"children",7),a=v(t,"present",7),c=k(t,po);const u=new $e,p=Xe.create({id:D(()=>r()),ref:D(()=>e(),b=>e(b)),mounted:D(()=>u.current)}),h=y(()=>Y(c,p.props,{style:{hidden:!a()}}));var P={get ref(){return e()},set ref(b=null){e(b),S()},get id(){return r()},set id(b){r(b),S()},get child(){return i()},set child(b){i(b),S()},get children(){return l()},set children(b){l(b),S()},get present(){return a()},set present(b){a(b),S()},$set:M,$on:(b,R)=>W(t,b,R)},w=O(),x=E(w);{var g=b=>{var R=O(),_=E(R);U(_,i,()=>({props:o(h)})),z(b,R)},C=b=>{var R=bo();lt(R,()=>({...o(h)}));var _=nt(R);U(_,()=>l()??J),it(R),z(b,R)};B(x,b=>{i()?b(g):b(C,-1)})}return z(s,w),H(P)}var mo=new Set(["$$slots","$$events","$$legacy","id","ref","forceMount"]);function Nr(s,t){const e=ie();if(new.target)return V({component:Nr,...s});A(t,!0);let r=v(t,"id",23,()=>j(e)),i=v(t,"ref",15,null),l=v(t,"forceMount",7,!1),a=k(t,mo);const c=Pe.get();var u={get id(){return r()},set id(p=j(e)){r(p),S()},get ref(){return i()},set ref(p=null){i(p),S()},get forceMount(){return l()},set forceMount(p=!1){l(p),S()},$set:M,$on:(p,h)=>W(t,p,h)};{const p=(P,w)=>{let x=()=>(w?.()).present;Tr(P,L(()=>a,{get id(){return r()},get present(){return x()},get ref(){return i()},set ref(g){i(g)}}))};let h=y(()=>l()||c.hasThumb);ae(s,{get open(){return o(h)},get ref(){return c.scrollbar.opts.ref},presence:p,$$slots:{presence:!0}})}return H(u)}var go=new Set(["$$slots","$$events","$$legacy","ref","id","children","child"]),vo=tt("<div><!></div>");function Cr(s,t){if(new.target)return V({component:Cr,...s});A(t,!0);let e=v(t,"ref",15,null),r=v(t,"id",7),i=v(t,"children",7),l=v(t,"child",7),a=k(t,go);const c=Ue.create({id:D(()=>r()),ref:D(()=>e(),g=>e(g))}),u=y(()=>Y(a,c.props));var p={get ref(){return e()},set ref(g=null){e(g),S()},get id(){return r()},set id(g){r(g),S()},get children(){return i()},set children(g){i(g),S()},get child(){return l()},set child(g){l(g),S()},$set:M,$on:(g,C)=>W(t,g,C)},h=O(),P=E(h);{var w=g=>{var C=O(),b=E(C);U(b,l,()=>({props:o(u)})),z(g,C)},x=g=>{var C=vo();lt(C,()=>({...o(u)}));var b=nt(C);U(b,()=>i()??J),it(C),z(g,C)};B(P,g=>{l()?g(w):g(x,-1)})}return z(s,h),H(p)}var So=new Set(["$$slots","$$events","$$legacy","ref","id"]);function zr(s,t){const e=ie();if(new.target)return V({component:zr,...s});A(t,!0);let r=v(t,"ref",15,null),i=v(t,"id",23,()=>j(e)),l=k(t,So);const a=he.get(),c=y(()=>!!(a.scrollbarXNode&&a.scrollbarYNode)),u=y(()=>a.opts.type.current!=="scroll"&&o(c));var p={get ref(){return r()},set ref(x=null){r(x),S()},get id(){return i()},set id(x=j(e)){i(x),S()},$set:M,$on:(x,g)=>W(t,x,g)},h=O(),P=E(h);{var w=x=>{Cr(x,L(()=>l,{get id(){return i()},get ref(){return r()},set ref(g){r(g)}}))};B(P,x=>{o(u)&&x(w)})}return z(s,h),H(p)}var wo=new Set(["$$slots","$$events","$$legacy","ref","class","orientation","children"]),Po=tt("<!> <!>",1);function Ye(s,t){if(new.target)return V({component:Ye,...s});A(t,!0);let e=v(t,"ref",15,null),r=v(t,"class",7),i=v(t,"orientation",7,"vertical"),l=v(t,"children",7),a=k(t,wo);var c={get ref(){return e()},set ref(h=null){e(h),S()},get class(){return r()},set class(h){r(h),S()},get orientation(){return i()},set orientation(h="vertical"){i(h),S()},get children(){return l()},set children(h){l(h),S()},$set:M,$on:(h,P)=>W(t,h,P)},u=O(),p=E(u);return ct(p,()=>_r,(h,P)=>{P(h,L({"data-slot":"scroll-area-scrollbar",get orientation(){return i()},get class(){return r()},forceMount:!0},()=>a,{get ref(){return e()},set ref(w){e(w)},children:(w,x)=>{var g=Po(),C=E(g);U(C,()=>l()??J);var b=fe(C,2);ct(b,()=>Nr,(R,_)=>{_(R,{"data-slot":"scroll-area-thumb"})}),z(w,g)},$$slots:{default:!0}}))}),z(s,u),H(c)}var yo=new Set(["$$slots","$$events","$$legacy","ref","class","orientation","scrollbarXClasses","scrollbarYClasses","fadeEdges","children"]),xo=tt("<!> <!> <!> <!>",1);function _o(s,t){if(new.target)return V({component:_o,...s});A(t,!0);let e=v(t,"ref",15,null),r=v(t,"class",7),i=v(t,"orientation",7,"vertical"),l=v(t,"scrollbarXClasses",7,""),a=v(t,"scrollbarYClasses",7,""),c=v(t,"fadeEdges",7,!0),u=v(t,"children",7),p=k(t,yo),h=T(null),P=T(!0),w=T(!0),x=T(!0),g=T(!0);function C(){o(h)&&(f(P,o(h).scrollTop<=0),f(w,o(h).scrollTop+o(h).clientHeight>=o(h).scrollHeight-1),f(x,o(h).scrollLeft<=0),f(g,o(h).scrollLeft+o(h).clientWidth>=o(h).scrollWidth-1))}let b=y(()=>{if(!c())return;const N=[];return i()!=="horizontal"&&(!o(P)||!o(w))&&N.push(`linear-gradient(to bottom, ${o(P)?"black 0":"transparent 0, black 12px"}, ${o(w)?"black 100%":"black calc(100% - 12px), transparent 100%"})`),i()!=="vertical"&&(!o(x)||!o(g))&&N.push(`linear-gradient(to right, ${o(x)?"black 0":"transparent 0, black 12px"}, ${o(g)?"black 100%":"black calc(100% - 12px), transparent 100%"})`),N.length?N.join(", "):void 0});X(()=>{if(!o(h))return;C();const N=new ResizeObserver(C);return N.observe(o(h)),o(h).firstElementChild&&N.observe(o(h).firstElementChild),()=>N.disconnect()});var R={get ref(){return e()},set ref(N=null){e(N),S()},get class(){return r()},set class(N){r(N),S()},get orientation(){return i()},set orientation(N="vertical"){i(N),S()},get scrollbarXClasses(){return l()},set scrollbarXClasses(N=""){l(N),S()},get scrollbarYClasses(){return a()},set scrollbarYClasses(N=""){a(N),S()},get fadeEdges(){return c()},set fadeEdges(N=!0){c(N),S()},get children(){return u()},set children(N){u(N),S()},$set:M,$on:(N,xe)=>W(t,N,xe)},_=O(),$=E(_);{let N=y(()=>Br("relative overflow-hidden",r()));ct($,()=>gr,(xe,Dr)=>{Dr(xe,L({"data-slot":"scroll-area",get"data-orientation"(){return i()},get class(){return o(N)},type:"scroll"},()=>p,{get ref(){return e()},set ref(_e){e(_e)},children:(_e,No)=>{var sr=xo(),nr=E(sr);{let I=y(()=>o(b)?`mask-image: ${o(b)}; -webkit-mask-image: ${o(b)};`:void 0);ct(nr,()=>vr,(Te,Mr)=>{Mr(Te,{"data-slot":"scroll-area-viewport",tabindex:0,class:"size-full rounded-[inherit] transition-[mask-image] duration-(--motion-fast) focus-visible:outline focus-visible:-outline-offset-1 motion-reduce:transition-none",get style(){return o(I)},onscroll:C,get ref(){return o(h)},set ref(Ne){f(h,Ne,!0)},children:(Ne,Co)=>{var ar=O(),Wr=E(ar);U(Wr,()=>u()??J),z(Ne,ar)},$$slots:{default:!0}})})}var ir=fe(nr,2);{var Er=I=>{Ye(I,{orientation:"vertical",get class(){return a()}})};B(ir,I=>{(i()==="vertical"||i()==="both")&&I(Er)})}var lr=fe(ir,2);{var Rr=I=>{Ye(I,{orientation:"horizontal",get class(){return l()}})};B(lr,I=>{(i()==="horizontal"||i()==="both")&&I(Rr)})}var Vr=fe(lr,2);ct(Vr,()=>zr,(I,Te)=>{Te(I,{})}),z(_e,sr)},$$slots:{default:!0}}))})}return z(s,_),H(R)}const To=[{id:"scroll-area-orientations",title:"Scroll area orientations and overflow",states:["vertical","horizontal","both","keyboard-focus","long-content","no-overflow","scrollbar-resting","scrollbar-scrolling","scrollbar-hover","native-opt-out","compact","zoom-200","light","dark","reduced-motion"],themes:["light","dark"],viewport:"both",reducedMotion:!0}];jr({id:"scroll-area",source:"src/lib/components/ui/scroll-area/index.ts",publicImport:"$lib/components/ui/scroll-area",legacyImports:[],exports:["Root","ScrollArea","ScrollAreaScrollbar","Scrollbar","scrollAreaMetadata"],usage:`<script lang="ts">
1
+ var Ar=Object.defineProperty;var cr=s=>{throw TypeError(s)};var Hr=(s,t,e)=>t in s?Ar(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e;var m=(s,t,e)=>Hr(s,typeof t!="symbol"?t+"":t,e),Ce=(s,t,e)=>t.has(s)||cr("Cannot "+e);var n=(s,t,e)=>(Ce(s,t,"read from private field"),e?e.call(s):t.get(s)),d=(s,t,e)=>t.has(s)?cr("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(s):t.set(s,e),F=(s,t,e,r)=>(Ce(s,t,"write to private field"),r?r.call(s,e):t.set(s,e),e),et=(s,t,e)=>(Ce(s,t,"access private method"),e);import{t as V,bo as v,bw as M,b as W,bp as k,br as L}from"./CtfEuoOH.js";import{aD as o,bH as f,bV as T,c9 as y,ca as X,c5 as ht,bs as A,a7 as O,ay as E,W as z,bn as H,aA as S,bf as J,bi as ut,cb as Lr,bo as ie,a5 as nt,bA as it,aB as tt,bS as fe}from"./3SdAC2_C.js";import{i as B}from"./DynUeYUu.js";import{t as U}from"./CGmYraIa.js";import{c as ct}from"./BZ27qIg1.js";import{aL as Or,e as kr,aU as Xr,a$ as ur,av as D,aX as ze,h as le,aZ as Ur,an as K,D as Yr,ay as $r,aA as Ir,aQ as Y,aJ as Fr,az as j}from"./D9R5fzn8.js";import{b as lt,e as Br,p as jr}from"./B26ZHg3s.js";function qr(s,t){if(Or(s)){const r=s();return r===void 0?t:r}return s===void 0?t:s}function we(s,t){let e=T(null);const r=y(()=>qr(t,250));function i(...l){if(o(e))o(e).timeout&&clearTimeout(o(e).timeout);else{let a,c;const u=new Promise((p,h)=>{a=p,c=h});f(e,{timeout:null,runner:null,promise:u,resolve:a,reject:c},!0)}return o(e).runner=async()=>{if(!o(e))return;const a=o(e);f(e,null);try{a.resolve(await s.apply(this,l))}catch(c){a.reject(c)}},o(e).timeout=setTimeout(o(e).runner,o(r)),o(e).promise}return i.cancel=async()=>{(!o(e)||o(e).timeout===null)&&(await new Promise(l=>setTimeout(l,0)),!o(e)||o(e).timeout===null)||(clearTimeout(o(e).timeout),o(e).reject("Cancelled"),f(e,null))},i.runScheduledNow=async()=>{(!o(e)||!o(e).timeout)&&(await new Promise(l=>setTimeout(l,0)),!o(e)||!o(e).timeout)||(clearTimeout(o(e).timeout),o(e).timeout=null,await o(e).runner?.())},Object.defineProperty(i,"pending",{enumerable:!0,get(){return!!o(e)?.timeout}}),i}var rt;class $e{constructor(){d(this,rt,T(!1));X(()=>(ht(()=>f(n(this,rt),!0)),()=>{f(n(this,rt),!1)}))}get current(){return o(n(this,rt))}}rt=new WeakMap;var dt,ft;class at{constructor(t,e){d(this,dt);d(this,ft);F(this,dt,t),F(this,ft,e),this.handler=this.handler.bind(this),X(this.handler)}handler(){let t=0;const e=n(this,dt).call(this);if(!e)return;const r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n(this,ft))});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}}dt=new WeakMap,ft=new WeakMap;var pt,Q,bt,Z,q,mt,gt,De;class Gr{constructor(t){d(this,gt);m(this,"opts");m(this,"present");d(this,pt);d(this,Q,T(!1));d(this,bt,!1);d(this,Z,T(void 0));d(this,q,null);d(this,mt,y(()=>o(n(this,Q))));this.opts=t,this.present=this.opts.open,f(n(this,Q),t.open.current,!0),F(this,pt,new kr({ref:this.opts.ref,afterTick:this.opts.open})),Xr(()=>et(this,gt,De).call(this)),ur(()=>this.present.current,e=>{if(!n(this,bt)){F(this,bt,!0);return}et(this,gt,De).call(this),e&&f(n(this,Q),!0),f(n(this,Z),e?"starting":"ending",!0),e&&F(this,q,window.requestAnimationFrame(()=>{F(this,q,null),this.present.current&&f(n(this,Z),void 0)})),n(this,pt).run(()=>{e===this.present.current&&(e||f(n(this,Q),!1),f(n(this,Z),void 0))})})}get isPresent(){return o(n(this,mt))}set isPresent(t){f(n(this,mt),t)}get transitionStatus(){return o(n(this,Z))}}pt=new WeakMap,Q=new WeakMap,bt=new WeakMap,Z=new WeakMap,q=new WeakMap,mt=new WeakMap,gt=new WeakSet,De=function(){n(this,q)!==null&&(window.cancelAnimationFrame(n(this,q)),F(this,q,null))};function ae(s,t){if(new.target)return V({component:ae,...s});A(t,!0);let e=v(t,"open",7),r=v(t,"forceMount",7),i=v(t,"presence",7),l=v(t,"ref",7);const a=new Gr({open:D(()=>e()),ref:l()});var c={get open(){return e()},set open(P){e(P),S()},get forceMount(){return r()},set forceMount(P){r(P),S()},get presence(){return i()},set presence(P){i(P),S()},get ref(){return l()},set ref(P){l(P),S()},$set:M,$on:(P,w)=>W(t,P,w)},u=O(),p=E(u);{var h=P=>{var w=O(),x=E(w);U(x,()=>i()??J,()=>({present:a.isPresent,transitionStatus:a.transitionStatus})),z(P,w)};B(p,P=>{(r()||e()||a.isPresent)&&P(h)})}return z(s,u),H(c)}function Jr(s,t,e){return Math.min(e,Math.max(t,s))}var vt,me,dr;class Qr{constructor(t,e){d(this,me);m(this,"state");d(this,vt);this.state=ze(t),F(this,vt,e),this.dispatch=this.dispatch.bind(this)}dispatch(t){this.state.current=et(this,me,dr).call(this,t)}}vt=new WeakMap,me=new WeakSet,dr=function(t){return n(this,vt)[this.state.current][t]??this.state.current};const ce=$r({component:"scroll-area",parts:["root","viewport","corner","thumb","scrollbar"]}),he=new le("ScrollArea.Root"),ue=new le("ScrollArea.Scrollbar"),Pe=new le("ScrollArea.ScrollbarVisible"),Ie=new le("ScrollArea.ScrollbarAxis"),fr=new le("ScrollArea.ScrollbarShared");var St,wt,Pt,yt,xt,_t,Tt,Nt,Ct,zt;const Be=class Be{constructor(t){m(this,"opts");m(this,"attachment");d(this,St,T(null));d(this,wt,T(null));d(this,Pt,T(null));d(this,yt,T(null));d(this,xt,T(null));d(this,_t,T(0));d(this,Tt,T(0));d(this,Nt,T(!1));d(this,Ct,T(!1));m(this,"domContext");d(this,zt,y(()=>({id:this.opts.id.current,dir:this.opts.dir.current,style:{position:"relative","--bits-scroll-area-corner-height":`${this.cornerHeight}px`,"--bits-scroll-area-corner-width":`${this.cornerWidth}px`},[ce.root]:"",...this.attachment})));this.opts=t,this.attachment=K(t.ref,e=>this.scrollAreaNode=e),this.domContext=new Yr(t.ref)}static create(t){return he.set(new Be(t))}get scrollAreaNode(){return o(n(this,St))}set scrollAreaNode(t){f(n(this,St),t,!0)}get viewportNode(){return o(n(this,wt))}set viewportNode(t){f(n(this,wt),t,!0)}get contentNode(){return o(n(this,Pt))}set contentNode(t){f(n(this,Pt),t,!0)}get scrollbarXNode(){return o(n(this,yt))}set scrollbarXNode(t){f(n(this,yt),t,!0)}get scrollbarYNode(){return o(n(this,xt))}set scrollbarYNode(t){f(n(this,xt),t,!0)}get cornerWidth(){return o(n(this,_t))}set cornerWidth(t){f(n(this,_t),t,!0)}get cornerHeight(){return o(n(this,Tt))}set cornerHeight(t){f(n(this,Tt),t,!0)}get scrollbarXEnabled(){return o(n(this,Nt))}set scrollbarXEnabled(t){f(n(this,Nt),t,!0)}get scrollbarYEnabled(){return o(n(this,Ct))}set scrollbarYEnabled(t){f(n(this,Ct),t,!0)}get props(){return o(n(this,zt))}set props(t){f(n(this,zt),t)}};St=new WeakMap,wt=new WeakMap,Pt=new WeakMap,yt=new WeakMap,xt=new WeakMap,_t=new WeakMap,Tt=new WeakMap,Nt=new WeakMap,Ct=new WeakMap,zt=new WeakMap;let Ee=Be;var ge,ve,Dt,Et;const je=class je{constructor(t,e){m(this,"opts");m(this,"root");m(this,"attachment");d(this,ge,ze(Ur()));d(this,ve,ze(null));m(this,"contentAttachment",K(n(this,ve),t=>this.root.contentNode=t));d(this,Dt,y(()=>({id:this.opts.id.current,style:{overflowX:this.root.scrollbarXEnabled?"scroll":"hidden",overflowY:this.root.scrollbarYEnabled?"scroll":"hidden"},[ce.viewport]:"",...this.attachment})));d(this,Et,y(()=>({id:n(this,ge).current,"data-scroll-area-content":"",style:{minWidth:this.root.scrollbarXEnabled?"fit-content":void 0},...this.contentAttachment})));this.opts=t,this.root=e,this.attachment=K(t.ref,r=>this.root.viewportNode=r)}static create(t){return new je(t,he.get())}get props(){return o(n(this,Dt))}set props(t){f(n(this,Dt),t)}get contentProps(){return o(n(this,Et))}set contentProps(t){f(n(this,Et),t)}};ge=new WeakMap,ve=new WeakMap,Dt=new WeakMap,Et=new WeakMap;let Re=je;var Rt,Vt;const qe=class qe{constructor(t,e){m(this,"opts");m(this,"root");d(this,Rt,y(()=>this.opts.orientation.current==="horizontal"));d(this,Vt,T(!1));this.opts=t,this.root=e,ur(()=>this.isHorizontal,r=>r?(this.root.scrollbarXEnabled=!0,()=>{this.root.scrollbarXEnabled=!1}):(this.root.scrollbarYEnabled=!0,()=>{this.root.scrollbarYEnabled=!1}))}static create(t){return ue.set(new qe(t,he.get()))}get isHorizontal(){return o(n(this,Rt))}set isHorizontal(t){f(n(this,Rt),t)}get hasThumb(){return o(n(this,Vt))}set hasThumb(t){f(n(this,Vt),t,!0)}};Rt=new WeakMap,Vt=new WeakMap;let Ve=qe;var Mt,Wt;const Ge=class Ge{constructor(t){m(this,"scrollbar");m(this,"root");d(this,Mt,T(!1));d(this,Wt,y(()=>({"data-state":this.isVisible?"visible":"hidden"})));this.scrollbar=t,this.root=t.root,X(()=>{const e=this.root.scrollAreaNode,r=this.root.opts.scrollHideDelay.current;let i=0;if(!e)return;const l=()=>{this.root.domContext.clearTimeout(i),ht(()=>this.isVisible=!0)},a=()=>{i&&this.root.domContext.clearTimeout(i),i=this.root.domContext.setTimeout(()=>{ht(()=>{this.scrollbar.hasThumb=!1,this.isVisible=!1})},r)},c=Ir(ut(e,"pointerenter",l),ut(e,"pointerleave",a));return()=>{this.root.domContext.getWindow().clearTimeout(i),c()}})}static create(){return new Ge(ue.get())}get isVisible(){return o(n(this,Mt))}set isVisible(t){f(n(this,Mt),t,!0)}get props(){return o(n(this,Wt))}set props(t){f(n(this,Wt),t)}};Mt=new WeakMap,Wt=new WeakMap;let Me=Ge;var At,Ht;const Je=class Je{constructor(t){m(this,"scrollbar");m(this,"root");m(this,"machine",new Qr("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}}));d(this,At,y(()=>this.machine.state.current==="hidden"));d(this,Ht,y(()=>({"data-state":this.machine.state.current==="hidden"?"hidden":"visible",onpointerenter:this.onpointerenter,onpointerleave:this.onpointerleave})));this.scrollbar=t,this.root=t.root;const e=we(()=>this.machine.dispatch("SCROLL_END"),100);X(()=>{const r=this.machine.state.current,i=this.root.opts.scrollHideDelay.current;if(r==="idle"){const l=this.root.domContext.setTimeout(()=>this.machine.dispatch("HIDE"),i);return()=>this.root.domContext.clearTimeout(l)}}),X(()=>{const r=this.root.viewportNode;if(!r)return;const i=this.scrollbar.isHorizontal?"scrollLeft":"scrollTop";let l=r[i];return ut(r,"scroll",()=>{const u=r[i];l!==u&&(this.machine.dispatch("SCROLL"),e()),l=u})}),this.onpointerenter=this.onpointerenter.bind(this),this.onpointerleave=this.onpointerleave.bind(this)}static create(){return new Je(ue.get())}get isHidden(){return o(n(this,At))}set isHidden(t){f(n(this,At),t)}onpointerenter(t){this.machine.dispatch("POINTER_ENTER")}onpointerleave(t){this.machine.dispatch("POINTER_LEAVE")}get props(){return o(n(this,Ht))}set props(t){f(n(this,Ht),t)}};At=new WeakMap,Ht=new WeakMap;let We=Je;var Lt,Ot;const Qe=class Qe{constructor(t){m(this,"scrollbar");m(this,"root");d(this,Lt,T(!1));d(this,Ot,y(()=>({"data-state":this.isVisible?"visible":"hidden"})));this.scrollbar=t,this.root=t.root;const e=we(()=>{const r=this.root.viewportNode;if(!r)return;const i=r.offsetWidth<r.scrollWidth,l=r.offsetHeight<r.scrollHeight;this.isVisible=this.scrollbar.isHorizontal?i:l},10);new at(()=>this.root.viewportNode,e),new at(()=>this.root.contentNode,e)}static create(){return new Qe(ue.get())}get isVisible(){return o(n(this,Lt))}set isVisible(t){f(n(this,Lt),t,!0)}get props(){return o(n(this,Ot))}set props(t){f(n(this,Ot),t)}};Lt=new WeakMap,Ot=new WeakMap;let pe=Qe;var kt,Xt,Ut,Yt,$t,It;const Ze=class Ze{constructor(t){m(this,"scrollbar");m(this,"root");d(this,kt,T(null));d(this,Xt,T(0));d(this,Ut,T({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}));d(this,Yt,y(()=>pr(this.sizes.viewport,this.sizes.content)));d(this,$t,y(()=>this.thumbRatio>0&&this.thumbRatio<1));d(this,It,T(""));this.scrollbar=t,this.root=t.root,X(()=>{this.scrollbar.hasThumb=this.hasThumb}),X(()=>{!this.scrollbar.hasThumb&&this.thumbNode&&(this.prevTransformStyle=this.thumbNode.style.transform)})}static create(){return Pe.set(new Ze(ue.get()))}get thumbNode(){return o(n(this,kt))}set thumbNode(t){f(n(this,kt),t,!0)}get pointerOffset(){return o(n(this,Xt))}set pointerOffset(t){f(n(this,Xt),t,!0)}get sizes(){return o(n(this,Ut))}set sizes(t){f(n(this,Ut),t)}get thumbRatio(){return o(n(this,Yt))}set thumbRatio(t){f(n(this,Yt),t)}get hasThumb(){return o(n(this,$t))}set hasThumb(t){f(n(this,$t),t)}get prevTransformStyle(){return o(n(this,It))}set prevTransformStyle(t){f(n(this,It),t,!0)}setSizes(t){this.sizes=t}getScrollPosition(t,e){return Zr({pointerPos:t,pointerOffset:this.pointerOffset,sizes:this.sizes,dir:e})}onThumbPointerUp(){this.pointerOffset=0}onThumbPointerDown(t){this.pointerOffset=t}xOnThumbPositionChange(){if(!(this.root.viewportNode&&this.thumbNode))return;const t=this.root.viewportNode.scrollLeft,r=`translate3d(${hr({scrollPos:t,sizes:this.sizes,dir:this.root.opts.dir.current})}px, 0, 0)`;this.thumbNode.style.transform=r,this.prevTransformStyle=r}xOnWheelScroll(t){this.root.viewportNode&&(this.root.viewportNode.scrollLeft=t)}xOnDragScroll(t){this.root.viewportNode&&(this.root.viewportNode.scrollLeft=this.getScrollPosition(t,this.root.opts.dir.current))}yOnThumbPositionChange(){if(!(this.root.viewportNode&&this.thumbNode))return;const t=this.root.viewportNode.scrollTop,r=`translate3d(0, ${hr({scrollPos:t,sizes:this.sizes})}px, 0)`;this.thumbNode.style.transform=r,this.prevTransformStyle=r}yOnWheelScroll(t){this.root.viewportNode&&(this.root.viewportNode.scrollTop=t)}yOnDragScroll(t){this.root.viewportNode&&(this.root.viewportNode.scrollTop=this.getScrollPosition(t,this.root.opts.dir.current))}};kt=new WeakMap,Xt=new WeakMap,Ut=new WeakMap,Yt=new WeakMap,$t=new WeakMap,It=new WeakMap;let Ae=Ze;var Ft,Bt,jt;const Ke=class Ke{constructor(t,e){m(this,"opts");m(this,"scrollbarVis");m(this,"root");m(this,"scrollbar");m(this,"attachment");d(this,Ft,T());m(this,"onThumbPointerDown",t=>{this.scrollbarVis.onThumbPointerDown(t.x)});m(this,"onDragScroll",t=>{this.scrollbarVis.xOnDragScroll(t.x)});m(this,"onThumbPointerUp",()=>{this.scrollbarVis.onThumbPointerUp()});m(this,"onThumbPositionChange",()=>{this.scrollbarVis.xOnThumbPositionChange()});m(this,"onWheelScroll",(t,e)=>{if(!this.root.viewportNode)return;const r=this.root.viewportNode.scrollLeft+t.deltaX;this.scrollbarVis.xOnWheelScroll(r),mr(r,e)&&t.preventDefault()});m(this,"onResize",()=>{this.scrollbar.opts.ref.current&&this.root.viewportNode&&this.computedStyle&&this.scrollbarVis.setSizes({content:this.root.viewportNode.scrollWidth,viewport:this.root.viewportNode.offsetWidth,scrollbar:{size:this.scrollbar.opts.ref.current.clientWidth,paddingStart:be(this.computedStyle.paddingLeft),paddingEnd:be(this.computedStyle.paddingRight)}})});d(this,Bt,y(()=>ye(this.scrollbarVis.sizes)));d(this,jt,y(()=>({id:this.scrollbar.opts.id.current,"data-orientation":"horizontal",style:{bottom:0,left:this.root.opts.dir.current==="rtl"?"var(--bits-scroll-area-corner-width)":0,right:this.root.opts.dir.current==="ltr"?"var(--bits-scroll-area-corner-width)":0,"--bits-scroll-area-thumb-width":`${this.thumbSize}px`},...this.attachment})));this.opts=t,this.scrollbarVis=e,this.root=e.root,this.scrollbar=e.scrollbar,this.attachment=K(this.scrollbar.opts.ref,r=>this.root.scrollbarXNode=r),X(()=>{this.scrollbar.opts.ref.current&&this.opts.mounted.current&&(this.computedStyle=getComputedStyle(this.scrollbar.opts.ref.current))}),X(()=>{this.onResize()})}static create(t){return Ie.set(new Ke(t,Pe.get()))}get computedStyle(){return o(n(this,Ft))}set computedStyle(t){f(n(this,Ft),t,!0)}get thumbSize(){return o(n(this,Bt))}set thumbSize(t){f(n(this,Bt),t)}get props(){return o(n(this,jt))}set props(t){f(n(this,jt),t)}};Ft=new WeakMap,Bt=new WeakMap,jt=new WeakMap;let He=Ke;var qt,Gt,Jt;const tr=class tr{constructor(t,e){m(this,"opts");m(this,"scrollbarVis");m(this,"root");m(this,"scrollbar");m(this,"attachment");d(this,qt,T());d(this,Gt,y(()=>ye(this.scrollbarVis.sizes)));d(this,Jt,y(()=>({id:this.scrollbar.opts.id.current,"data-orientation":"vertical",style:{top:0,right:this.root.opts.dir.current==="ltr"?0:void 0,left:this.root.opts.dir.current==="rtl"?0:void 0,bottom:"var(--bits-scroll-area-corner-height)","--bits-scroll-area-thumb-height":`${this.thumbSize}px`},...this.attachment})));this.opts=t,this.scrollbarVis=e,this.root=e.root,this.scrollbar=e.scrollbar,this.attachment=K(this.scrollbar.opts.ref,r=>this.root.scrollbarYNode=r),X(()=>{this.scrollbar.opts.ref.current&&this.opts.mounted.current&&(this.computedStyle=getComputedStyle(this.scrollbar.opts.ref.current))}),X(()=>{this.onResize()}),this.onThumbPointerDown=this.onThumbPointerDown.bind(this),this.onDragScroll=this.onDragScroll.bind(this),this.onThumbPointerUp=this.onThumbPointerUp.bind(this),this.onThumbPositionChange=this.onThumbPositionChange.bind(this),this.onWheelScroll=this.onWheelScroll.bind(this),this.onResize=this.onResize.bind(this)}static create(t){return Ie.set(new tr(t,Pe.get()))}get computedStyle(){return o(n(this,qt))}set computedStyle(t){f(n(this,qt),t,!0)}onThumbPointerDown(t){this.scrollbarVis.onThumbPointerDown(t.y)}onDragScroll(t){this.scrollbarVis.yOnDragScroll(t.y)}onThumbPointerUp(){this.scrollbarVis.onThumbPointerUp()}onThumbPositionChange(){this.scrollbarVis.yOnThumbPositionChange()}onWheelScroll(t,e){if(!this.root.viewportNode)return;const r=this.root.viewportNode.scrollTop+t.deltaY;this.scrollbarVis.yOnWheelScroll(r),mr(r,e)&&t.preventDefault()}onResize(){this.scrollbar.opts.ref.current&&this.root.viewportNode&&this.computedStyle&&this.scrollbarVis.setSizes({content:this.root.viewportNode.scrollHeight,viewport:this.root.viewportNode.offsetHeight,scrollbar:{size:this.scrollbar.opts.ref.current.clientHeight,paddingStart:be(this.computedStyle.paddingTop),paddingEnd:be(this.computedStyle.paddingBottom)}})}get thumbSize(){return o(n(this,Gt))}set thumbSize(t){f(n(this,Gt),t)}get props(){return o(n(this,Jt))}set props(t){f(n(this,Jt),t)}};qt=new WeakMap,Gt=new WeakMap,Jt=new WeakMap;let Le=tr;var Qt,Zt,Kt,te,ke,ee;const er=class er{constructor(t){d(this,te);m(this,"scrollbarState");m(this,"root");m(this,"scrollbarVis");m(this,"scrollbar");d(this,Qt,T(null));d(this,Zt,T(""));m(this,"handleResize");m(this,"handleThumbPositionChange");m(this,"handleWheelScroll");m(this,"handleThumbPointerDown");m(this,"handleThumbPointerUp");d(this,Kt,y(()=>this.scrollbarVis.sizes.content-this.scrollbarVis.sizes.viewport));d(this,ee,y(()=>Y({...this.scrollbarState.props,style:{position:"absolute",...this.scrollbarState.props.style},[ce.scrollbar]:"",onpointerdown:this.onpointerdown,onpointermove:this.onpointermove,onpointerup:this.onpointerup,onlostpointercapture:this.onlostpointercapture})));this.scrollbarState=t,this.root=t.root,this.scrollbarVis=t.scrollbarVis,this.scrollbar=t.scrollbarVis.scrollbar,this.handleResize=we(()=>this.scrollbarState.onResize(),10),this.handleThumbPositionChange=this.scrollbarState.onThumbPositionChange,this.handleWheelScroll=this.scrollbarState.onWheelScroll,this.handleThumbPointerDown=this.scrollbarState.onThumbPointerDown,this.handleThumbPointerUp=this.scrollbarState.onThumbPointerUp,X(()=>{const e=this.maxScrollPos,r=this.scrollbar.opts.ref.current;this.root.viewportNode;const i=a=>{const c=a.target;r?.contains(c)&&this.handleWheelScroll(a,e)};return ut(this.root.domContext.getDocument(),"wheel",i,{passive:!1})}),Lr(()=>{this.scrollbarVis.sizes,ht(()=>this.handleThumbPositionChange())}),new at(()=>this.scrollbar.opts.ref.current,this.handleResize),new at(()=>this.root.contentNode,this.handleResize),this.onpointerdown=this.onpointerdown.bind(this),this.onpointermove=this.onpointermove.bind(this),this.onpointerup=this.onpointerup.bind(this),this.onlostpointercapture=this.onlostpointercapture.bind(this)}static create(){return fr.set(new er(Ie.get()))}get rect(){return o(n(this,Qt))}set rect(t){f(n(this,Qt),t)}get prevWebkitUserSelect(){return o(n(this,Zt))}set prevWebkitUserSelect(t){f(n(this,Zt),t,!0)}get maxScrollPos(){return o(n(this,Kt))}set maxScrollPos(t){f(n(this,Kt),t)}handleDragScroll(t){if(!this.rect)return;const e=t.clientX-this.rect.left,r=t.clientY-this.rect.top;this.scrollbarState.onDragScroll({x:e,y:r})}onpointerdown(t){if(t.button!==0)return;t.target.setPointerCapture(t.pointerId),this.rect=this.scrollbar.opts.ref.current?.getBoundingClientRect()??null,this.prevWebkitUserSelect=this.root.domContext.getDocument().body.style.webkitUserSelect,this.root.domContext.getDocument().body.style.webkitUserSelect="none",this.root.viewportNode&&(this.root.viewportNode.style.scrollBehavior="auto"),this.handleDragScroll(t)}onpointermove(t){this.handleDragScroll(t)}onpointerup(t){const e=t.target;e.hasPointerCapture(t.pointerId)&&e.releasePointerCapture(t.pointerId),et(this,te,ke).call(this)}onlostpointercapture(t){et(this,te,ke).call(this)}get props(){return o(n(this,ee))}set props(t){f(n(this,ee),t)}};Qt=new WeakMap,Zt=new WeakMap,Kt=new WeakMap,te=new WeakSet,ke=function(){this.rect!==null&&(this.root.domContext.getDocument().body.style.webkitUserSelect=this.prevWebkitUserSelect,this.root.viewportNode&&(this.root.viewportNode.style.scrollBehavior=""),this.rect=null)},ee=new WeakMap;let Oe=er;var re,G,Se,oe;const rr=class rr{constructor(t,e){m(this,"opts");m(this,"scrollbarState");m(this,"attachment");d(this,re);d(this,G,T());d(this,Se,we(()=>{o(n(this,G))&&(o(n(this,G))(),f(n(this,G),void 0))},100));d(this,oe,y(()=>({id:this.opts.id.current,"data-state":this.scrollbarState.scrollbarVis.hasThumb?"visible":"hidden",style:{width:"var(--bits-scroll-area-thumb-width)",height:"var(--bits-scroll-area-thumb-height)",transform:this.scrollbarState.scrollbarVis.prevTransformStyle},onpointerdowncapture:this.onpointerdowncapture,onpointerup:this.onpointerup,[ce.thumb]:"",...this.attachment})));this.opts=t,this.scrollbarState=e,F(this,re,e.root),this.attachment=K(this.opts.ref,r=>this.scrollbarState.scrollbarVis.thumbNode=r),X(()=>{const r=n(this,re).viewportNode;if(!r)return;const i=()=>{if(n(this,Se).call(this),!o(n(this,G))){const a=Kr(r,this.scrollbarState.handleThumbPositionChange);f(n(this,G),a,!0),this.scrollbarState.handleThumbPositionChange()}};return ht(()=>this.scrollbarState.handleThumbPositionChange()),ut(r,"scroll",i)}),this.onpointerdowncapture=this.onpointerdowncapture.bind(this),this.onpointerup=this.onpointerup.bind(this)}static create(t){return new rr(t,fr.get())}onpointerdowncapture(t){const e=t.target;if(!e)return;const r=e.getBoundingClientRect(),i=t.clientX-r.left,l=t.clientY-r.top;this.scrollbarState.handleThumbPointerDown({x:i,y:l})}onpointerup(t){this.scrollbarState.handleThumbPointerUp()}get props(){return o(n(this,oe))}set props(t){f(n(this,oe),t)}};re=new WeakMap,G=new WeakMap,Se=new WeakMap,oe=new WeakMap;let Xe=rr;var ot,st,se,ne;const or=class or{constructor(t,e){m(this,"opts");m(this,"root");m(this,"attachment");d(this,ot,T(0));d(this,st,T(0));d(this,se,y(()=>!!(o(n(this,ot))&&o(n(this,st)))));d(this,ne,y(()=>({id:this.opts.id.current,style:{width:o(n(this,ot)),height:o(n(this,st)),position:"absolute",right:this.root.opts.dir.current==="ltr"?0:void 0,left:this.root.opts.dir.current==="rtl"?0:void 0,bottom:0},[ce.corner]:"",...this.attachment})));this.opts=t,this.root=e,this.attachment=K(this.opts.ref),new at(()=>this.root.scrollbarXNode,()=>{const r=this.root.scrollbarXNode?.offsetHeight||0;this.root.cornerHeight=r,f(n(this,st),r,!0)}),new at(()=>this.root.scrollbarYNode,()=>{const r=this.root.scrollbarYNode?.offsetWidth||0;this.root.cornerWidth=r,f(n(this,ot),r,!0)})}static create(t){return new or(t,he.get())}get hasSize(){return o(n(this,se))}set hasSize(t){f(n(this,se),t)}get props(){return o(n(this,ne))}set props(t){f(n(this,ne),t)}};ot=new WeakMap,st=new WeakMap,se=new WeakMap,ne=new WeakMap;let Ue=or;function be(s){return s?Number.parseInt(s,10):0}function pr(s,t){const e=s/t;return Number.isNaN(e)?0:e}function ye(s){const t=pr(s.viewport,s.content),e=s.scrollbar.paddingStart+s.scrollbar.paddingEnd,r=(s.scrollbar.size-e)*t;return Math.max(r,18)}function Zr({pointerPos:s,pointerOffset:t,sizes:e,dir:r="ltr"}){const i=ye(e),l=i/2,a=t||l,c=i-a,u=e.scrollbar.paddingStart+a,p=e.scrollbar.size-e.scrollbar.paddingEnd-c,h=e.content-e.viewport,P=r==="ltr"?[0,h]:[h*-1,0];return br([u,p],P)(s)}function hr({scrollPos:s,sizes:t,dir:e="ltr"}){const r=ye(t),i=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,l=t.scrollbar.size-i,a=t.content-t.viewport,c=l-r,u=e==="ltr"?[0,a]:[a*-1,0],p=Jr(s,u[0],u[1]);return br([0,a],[0,c])(p)}function br(s,t){return e=>{if(s[0]===s[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(s[1]-s[0]);return t[0]+r*(e-s[0])}}function mr(s,t){return s>0&&s<t}function Kr(s,t){let e={left:s.scrollLeft,top:s.scrollTop},r=0;const i=Fr(s);return(function l(){const a={left:s.scrollLeft,top:s.scrollTop},c=e.left!==a.left,u=e.top!==a.top;(c||u)&&t(),e=a,r=i.requestAnimationFrame(l)})(),()=>i.cancelAnimationFrame(r)}var to=new Set(["$$slots","$$events","$$legacy","ref","id","type","dir","scrollHideDelay","children","child"]),eo=tt("<div><!></div>");function gr(s,t){const e=ie();if(new.target)return V({component:gr,...s});A(t,!0);let r=v(t,"ref",15,null),i=v(t,"id",23,()=>j(e)),l=v(t,"type",7,"hover"),a=v(t,"dir",7,"ltr"),c=v(t,"scrollHideDelay",7,600),u=v(t,"children",7),p=v(t,"child",7),h=k(t,to);const P=Ee.create({type:D(()=>l()),dir:D(()=>a()),scrollHideDelay:D(()=>c()),id:D(()=>i()),ref:D(()=>r(),_=>r(_))}),w=y(()=>Y(h,P.props));var x={get ref(){return r()},set ref(_=null){r(_),S()},get id(){return i()},set id(_=j(e)){i(_),S()},get type(){return l()},set type(_="hover"){l(_),S()},get dir(){return a()},set dir(_="ltr"){a(_),S()},get scrollHideDelay(){return c()},set scrollHideDelay(_=600){c(_),S()},get children(){return u()},set children(_){u(_),S()},get child(){return p()},set child(_){p(_),S()},$set:M,$on:(_,$)=>W(t,_,$)},g=O(),C=E(g);{var b=_=>{var $=O(),N=E($);U(N,p,()=>({props:o(w)})),z(_,$)},R=_=>{var $=eo();lt($,()=>({...o(w)}));var N=nt($);U(N,()=>u()??J),it($),z(_,$)};B(C,_=>{p()?_(b):_(R,-1)})}return z(s,g),H(x)}var ro=new Set(["$$slots","$$events","$$legacy","ref","id","children"]),oo=tt("<div><div><!></div></div>");function vr(s,t){const e=ie();if(new.target)return V({component:vr,...s});A(t,!0);let r=v(t,"ref",15,null),i=v(t,"id",23,()=>j(e)),l=v(t,"children",7),a=k(t,ro);const c=Re.create({id:D(()=>i()),ref:D(()=>r(),g=>r(g))}),u=y(()=>Y(a,c.props)),p=y(()=>Y({},c.contentProps));var h={get ref(){return r()},set ref(g=null){r(g),S()},get id(){return i()},set id(g=j(e)){i(g),S()},get children(){return l()},set children(g){l(g),S()},$set:M,$on:(g,C)=>W(t,g,C)},P=oo();lt(P,()=>({...o(u)}));var w=nt(P);lt(w,()=>({...o(p)}));var x=nt(w);return U(x,()=>l()??J),it(w),it(P),z(s,P),H(h)}var so=new Set(["$$slots","$$events","$$legacy","child","children"]),no=tt("<div><!></div>");function Fe(s,t){if(new.target)return V({component:Fe,...s});A(t,!0);let e=v(t,"child",7),r=v(t,"children",7),i=k(t,so);const l=Oe.create(),a=y(()=>Y(i,l.props));var c={get child(){return e()},set child(w){e(w),S()},get children(){return r()},set children(w){r(w),S()},$set:M,$on:(w,x)=>W(t,w,x)},u=O(),p=E(u);{var h=w=>{var x=O(),g=E(x);U(g,e,()=>({props:o(a)})),z(w,x)},P=w=>{var x=no();lt(x,()=>({...o(a)}));var g=nt(x);U(g,()=>r()??J),it(x),z(w,x)};B(p,w=>{e()?w(h):w(P,-1)})}return z(s,u),H(c)}var io=new Set(["$$slots","$$events","$$legacy"]);function Sr(s,t){if(new.target)return V({component:Sr,...s});A(t,!0);let e=k(t,io);const r=new $e,i=He.create({mounted:D(()=>r.current)}),l=y(()=>Y(e,i.props));var a={$set:M,$on:(c,u)=>W(t,c,u)};return Fe(s,L(()=>o(l))),H(a)}var lo=new Set(["$$slots","$$events","$$legacy"]);function wr(s,t){if(new.target)return V({component:wr,...s});A(t,!0);let e=k(t,lo);const r=new $e,i=Le.create({mounted:D(()=>r.current)}),l=y(()=>Y(e,i.props));var a={$set:M,$on:(c,u)=>W(t,c,u)};return Fe(s,L(()=>o(l))),H(a)}var ao=new Set(["$$slots","$$events","$$legacy"]);function de(s,t){if(new.target)return V({component:de,...s});A(t,!0);let e=k(t,ao);const r=Ae.create();var i={$set:M,$on:(p,h)=>W(t,p,h)},l=O(),a=E(l);{var c=p=>{Sr(p,L(()=>e))},u=p=>{wr(p,L(()=>e))};B(a,p=>{r.scrollbar.opts.orientation.current==="horizontal"?p(c):p(u,-1)})}return z(s,l),H(i)}var co=new Set(["$$slots","$$events","$$legacy","forceMount"]);function Pr(s,t){if(new.target)return V({component:Pr,...s});A(t,!0);let e=v(t,"forceMount",7,!1),r=k(t,co);const i=pe.create(),l=y(()=>Y(r,i.props));var a={get forceMount(){return e()},set forceMount(c=!1){e(c),S()},$set:M,$on:(c,u)=>W(t,c,u)};{const c=p=>{de(p,L(()=>o(l)))};let u=y(()=>e()||i.isVisible);ae(s,{get open(){return o(u)},get ref(){return i.scrollbar.opts.ref},presence:c,$$slots:{presence:!0}})}return H(a)}var ho=new Set(["$$slots","$$events","$$legacy","forceMount"]);function yr(s,t){if(new.target)return V({component:yr,...s});A(t,!0);let e=v(t,"forceMount",7,!1),r=k(t,ho);const i=We.create(),l=y(()=>Y(r,i.props));var a={get forceMount(){return e()},set forceMount(c=!1){e(c),S()},$set:M,$on:(c,u)=>W(t,c,u)};{const c=p=>{de(p,L(()=>o(l)))};let u=y(()=>e()||!i.isHidden);ae(s,L(()=>o(l),{get open(){return o(u)},get ref(){return i.scrollbar.opts.ref},presence:c,$$slots:{presence:!0}}))}return H(a)}var uo=new Set(["$$slots","$$events","$$legacy","forceMount"]);function xr(s,t){if(new.target)return V({component:xr,...s});A(t,!0);let e=v(t,"forceMount",7,!1),r=k(t,uo);const i=Me.create(),l=pe.create(),a=y(()=>Y(r,i.props,l.props,{"data-state":i.isVisible?"visible":"hidden"})),c=y(()=>e()||i.isVisible&&l.isVisible);var u={get forceMount(){return e()},set forceMount(p=!1){e(p),S()},$set:M,$on:(p,h)=>W(t,p,h)};return ae(s,{get open(){return o(c)},get ref(){return l.scrollbar.opts.ref},presence:h=>{de(h,L(()=>o(a)))},$$slots:{presence:!0}}),H(u)}var fo=new Set(["$$slots","$$events","$$legacy","ref","id","orientation"]);function _r(s,t){const e=ie();if(new.target)return V({component:_r,...s});A(t,!0);let r=v(t,"ref",15,null),i=v(t,"id",23,()=>j(e)),l=v(t,"orientation",7),a=k(t,fo);const c=Ve.create({orientation:D(()=>l()),id:D(()=>i()),ref:D(()=>r(),b=>r(b))}),u=y(()=>c.root.opts.type.current);var p={get ref(){return r()},set ref(b=null){r(b),S()},get id(){return i()},set id(b=j(e)){i(b),S()},get orientation(){return l()},set orientation(b){l(b),S()},$set:M,$on:(b,R)=>W(t,b,R)},h=O(),P=E(h);{var w=b=>{xr(b,L(()=>a,{get id(){return i()}}))},x=b=>{yr(b,L(()=>a,{get id(){return i()}}))},g=b=>{Pr(b,L(()=>a,{get id(){return i()}}))},C=b=>{de(b,L(()=>a,{get id(){return i()}}))};B(P,b=>{o(u)==="hover"?b(w):o(u)==="scroll"?b(x,1):o(u)==="auto"?b(g,2):o(u)==="always"&&b(C,3)})}return z(s,h),H(p)}var po=new Set(["$$slots","$$events","$$legacy","ref","id","child","children","present"]),bo=tt("<div><!></div>");function Tr(s,t){if(new.target)return V({component:Tr,...s});A(t,!0);let e=v(t,"ref",15,null),r=v(t,"id",7),i=v(t,"child",7),l=v(t,"children",7),a=v(t,"present",7),c=k(t,po);const u=new $e,p=Xe.create({id:D(()=>r()),ref:D(()=>e(),b=>e(b)),mounted:D(()=>u.current)}),h=y(()=>Y(c,p.props,{style:{hidden:!a()}}));var P={get ref(){return e()},set ref(b=null){e(b),S()},get id(){return r()},set id(b){r(b),S()},get child(){return i()},set child(b){i(b),S()},get children(){return l()},set children(b){l(b),S()},get present(){return a()},set present(b){a(b),S()},$set:M,$on:(b,R)=>W(t,b,R)},w=O(),x=E(w);{var g=b=>{var R=O(),_=E(R);U(_,i,()=>({props:o(h)})),z(b,R)},C=b=>{var R=bo();lt(R,()=>({...o(h)}));var _=nt(R);U(_,()=>l()??J),it(R),z(b,R)};B(x,b=>{i()?b(g):b(C,-1)})}return z(s,w),H(P)}var mo=new Set(["$$slots","$$events","$$legacy","id","ref","forceMount"]);function Nr(s,t){const e=ie();if(new.target)return V({component:Nr,...s});A(t,!0);let r=v(t,"id",23,()=>j(e)),i=v(t,"ref",15,null),l=v(t,"forceMount",7,!1),a=k(t,mo);const c=Pe.get();var u={get id(){return r()},set id(p=j(e)){r(p),S()},get ref(){return i()},set ref(p=null){i(p),S()},get forceMount(){return l()},set forceMount(p=!1){l(p),S()},$set:M,$on:(p,h)=>W(t,p,h)};{const p=(P,w)=>{let x=()=>(w?.()).present;Tr(P,L(()=>a,{get id(){return r()},get present(){return x()},get ref(){return i()},set ref(g){i(g)}}))};let h=y(()=>l()||c.hasThumb);ae(s,{get open(){return o(h)},get ref(){return c.scrollbar.opts.ref},presence:p,$$slots:{presence:!0}})}return H(u)}var go=new Set(["$$slots","$$events","$$legacy","ref","id","children","child"]),vo=tt("<div><!></div>");function Cr(s,t){if(new.target)return V({component:Cr,...s});A(t,!0);let e=v(t,"ref",15,null),r=v(t,"id",7),i=v(t,"children",7),l=v(t,"child",7),a=k(t,go);const c=Ue.create({id:D(()=>r()),ref:D(()=>e(),g=>e(g))}),u=y(()=>Y(a,c.props));var p={get ref(){return e()},set ref(g=null){e(g),S()},get id(){return r()},set id(g){r(g),S()},get children(){return i()},set children(g){i(g),S()},get child(){return l()},set child(g){l(g),S()},$set:M,$on:(g,C)=>W(t,g,C)},h=O(),P=E(h);{var w=g=>{var C=O(),b=E(C);U(b,l,()=>({props:o(u)})),z(g,C)},x=g=>{var C=vo();lt(C,()=>({...o(u)}));var b=nt(C);U(b,()=>i()??J),it(C),z(g,C)};B(P,g=>{l()?g(w):g(x,-1)})}return z(s,h),H(p)}var So=new Set(["$$slots","$$events","$$legacy","ref","id"]);function zr(s,t){const e=ie();if(new.target)return V({component:zr,...s});A(t,!0);let r=v(t,"ref",15,null),i=v(t,"id",23,()=>j(e)),l=k(t,So);const a=he.get(),c=y(()=>!!(a.scrollbarXNode&&a.scrollbarYNode)),u=y(()=>a.opts.type.current!=="scroll"&&o(c));var p={get ref(){return r()},set ref(x=null){r(x),S()},get id(){return i()},set id(x=j(e)){i(x),S()},$set:M,$on:(x,g)=>W(t,x,g)},h=O(),P=E(h);{var w=x=>{Cr(x,L(()=>l,{get id(){return i()},get ref(){return r()},set ref(g){r(g)}}))};B(P,x=>{o(u)&&x(w)})}return z(s,h),H(p)}var wo=new Set(["$$slots","$$events","$$legacy","ref","class","orientation","children"]),Po=tt("<!> <!>",1);function Ye(s,t){if(new.target)return V({component:Ye,...s});A(t,!0);let e=v(t,"ref",15,null),r=v(t,"class",7),i=v(t,"orientation",7,"vertical"),l=v(t,"children",7),a=k(t,wo);var c={get ref(){return e()},set ref(h=null){e(h),S()},get class(){return r()},set class(h){r(h),S()},get orientation(){return i()},set orientation(h="vertical"){i(h),S()},get children(){return l()},set children(h){l(h),S()},$set:M,$on:(h,P)=>W(t,h,P)},u=O(),p=E(u);return ct(p,()=>_r,(h,P)=>{P(h,L({"data-slot":"scroll-area-scrollbar",get orientation(){return i()},get class(){return r()},forceMount:!0},()=>a,{get ref(){return e()},set ref(w){e(w)},children:(w,x)=>{var g=Po(),C=E(g);U(C,()=>l()??J);var b=fe(C,2);ct(b,()=>Nr,(R,_)=>{_(R,{"data-slot":"scroll-area-thumb"})}),z(w,g)},$$slots:{default:!0}}))}),z(s,u),H(c)}var yo=new Set(["$$slots","$$events","$$legacy","ref","class","orientation","scrollbarXClasses","scrollbarYClasses","fadeEdges","children"]),xo=tt("<!> <!> <!> <!>",1);function _o(s,t){if(new.target)return V({component:_o,...s});A(t,!0);let e=v(t,"ref",15,null),r=v(t,"class",7),i=v(t,"orientation",7,"vertical"),l=v(t,"scrollbarXClasses",7,""),a=v(t,"scrollbarYClasses",7,""),c=v(t,"fadeEdges",7,!0),u=v(t,"children",7),p=k(t,yo),h=T(null),P=T(!0),w=T(!0),x=T(!0),g=T(!0);function C(){o(h)&&(f(P,o(h).scrollTop<=0),f(w,o(h).scrollTop+o(h).clientHeight>=o(h).scrollHeight-1),f(x,o(h).scrollLeft<=0),f(g,o(h).scrollLeft+o(h).clientWidth>=o(h).scrollWidth-1))}let b=y(()=>{if(!c())return;const N=[];return i()!=="horizontal"&&(!o(P)||!o(w))&&N.push(`linear-gradient(to bottom, ${o(P)?"black 0":"transparent 0, black 12px"}, ${o(w)?"black 100%":"black calc(100% - 12px), transparent 100%"})`),i()!=="vertical"&&(!o(x)||!o(g))&&N.push(`linear-gradient(to right, ${o(x)?"black 0":"transparent 0, black 12px"}, ${o(g)?"black 100%":"black calc(100% - 12px), transparent 100%"})`),N.length?N.join(", "):void 0});X(()=>{if(!o(h))return;C();const N=new ResizeObserver(C);return N.observe(o(h)),o(h).firstElementChild&&N.observe(o(h).firstElementChild),()=>N.disconnect()});var R={get ref(){return e()},set ref(N=null){e(N),S()},get class(){return r()},set class(N){r(N),S()},get orientation(){return i()},set orientation(N="vertical"){i(N),S()},get scrollbarXClasses(){return l()},set scrollbarXClasses(N=""){l(N),S()},get scrollbarYClasses(){return a()},set scrollbarYClasses(N=""){a(N),S()},get fadeEdges(){return c()},set fadeEdges(N=!0){c(N),S()},get children(){return u()},set children(N){u(N),S()},$set:M,$on:(N,xe)=>W(t,N,xe)},_=O(),$=E(_);{let N=y(()=>Br("relative overflow-hidden",r()));ct($,()=>gr,(xe,Dr)=>{Dr(xe,L({"data-slot":"scroll-area",get"data-orientation"(){return i()},get class(){return o(N)},type:"scroll"},()=>p,{get ref(){return e()},set ref(_e){e(_e)},children:(_e,No)=>{var sr=xo(),nr=E(sr);{let I=y(()=>o(b)?`mask-image: ${o(b)}; -webkit-mask-image: ${o(b)};`:void 0);ct(nr,()=>vr,(Te,Mr)=>{Mr(Te,{"data-slot":"scroll-area-viewport",tabindex:0,class:"size-full rounded-[inherit] transition-[mask-image] duration-(--motion-fast) focus-visible:outline focus-visible:-outline-offset-1 motion-reduce:transition-none",get style(){return o(I)},onscroll:C,get ref(){return o(h)},set ref(Ne){f(h,Ne,!0)},children:(Ne,Co)=>{var ar=O(),Wr=E(ar);U(Wr,()=>u()??J),z(Ne,ar)},$$slots:{default:!0}})})}var ir=fe(nr,2);{var Er=I=>{Ye(I,{orientation:"vertical",get class(){return a()}})};B(ir,I=>{(i()==="vertical"||i()==="both")&&I(Er)})}var lr=fe(ir,2);{var Rr=I=>{Ye(I,{orientation:"horizontal",get class(){return l()}})};B(lr,I=>{(i()==="horizontal"||i()==="both")&&I(Rr)})}var Vr=fe(lr,2);ct(Vr,()=>zr,(I,Te)=>{Te(I,{})}),z(_e,sr)},$$slots:{default:!0}}))})}return z(s,_),H(R)}const To=[{id:"scroll-area-orientations",title:"Scroll area orientations and overflow",states:["vertical","horizontal","both","keyboard-focus","long-content","no-overflow","scrollbar-resting","scrollbar-scrolling","scrollbar-hover","native-opt-out","compact","zoom-200","light","dark","reduced-motion"],themes:["light","dark"],viewport:"both",reducedMotion:!0}];jr({id:"scroll-area",source:"src/lib/components/ui/scroll-area/index.ts",publicImport:"$lib/components/ui/scroll-area",legacyImports:[],exports:["Root","ScrollArea","ScrollAreaScrollbar","Scrollbar","scrollAreaMetadata"],usage:`<script lang="ts">
2
2
  import { ScrollArea } from '$lib/components/ui/scroll-area';
3
3
  <\/script>
4
4
 
@@ -1 +1 @@
1
- import{t as C,bo as s,bw as A,b as G}from"./CLAmm_T1.js";import{bs as H,cb as B,aD as u,bH as p,a7 as y,ay as h,W as v,bn as D,bV as I,c9 as N,aA as r,bf as R,b_ as S,aw as V,bz as W,aB as j}from"./3SdAC2_C.js";import{i as q}from"./BFgvMDua.js";import{t as E}from"./BwNrQXlF.js";import{s as n,f as F,c as J}from"./CcJmuwXr.js";var K=j('<img loading="lazy"/>');function L(b,t){if(new.target)return C({component:L,...b});H(t,!0);let l=s(t,"identity",7),f=s(t,"avatarUrl",7),i=s(t,"size",7,16),c=s(t,"class",7,""),o=s(t,"alt",7),d=s(t,"fallback",7),m=I(!1);const g=N(()=>f()||`https://github.com/${encodeURIComponent(l())}.png?size=${i()*2}`);B(()=>{l(),u(g),p(m,!1)});var z={get identity(){return l()},set identity(a){l(a),r()},get avatarUrl(){return f()},set avatarUrl(a){f(a),r()},get size(){return i()},set size(a=16){i(a),r()},get class(){return c()},set class(a=""){c(a),r()},get alt(){return o()},set alt(a){o(a),r()},get fallback(){return d()},set fallback(a){d(a),r()},$set:A,$on:(a,e)=>G(t,a,e)},_=y(),k=h(_);{var U=a=>{var e=y(),x=h(e);E(x,()=>d()??R),v(a,e)},w=a=>{var e=K();S(()=>{n(e,"src",u(g)),n(e,"width",i()),n(e,"height",i()),n(e,"alt",o()??""),n(e,"aria-hidden",o()===void 0?"true":void 0),F(e,1,J(c()))}),V("error",e,()=>{p(m,!0)}),W(e),v(a,e)};q(k,a=>{u(m)?a(U):a(w,-1)})}return v(b,_),D(z)}export{L as G};
1
+ import{t as C,bo as s,bw as A,b as G}from"./CtfEuoOH.js";import{bs as H,cb as B,aD as u,bH as p,a7 as y,ay as h,W as v,bn as D,bV as I,c9 as N,aA as r,bf as R,b_ as S,aw as V,bz as W,aB as j}from"./3SdAC2_C.js";import{i as q}from"./DynUeYUu.js";import{t as E}from"./CGmYraIa.js";import{s as n,f as F,c as J}from"./B26ZHg3s.js";var K=j('<img loading="lazy"/>');function L(b,t){if(new.target)return C({component:L,...b});H(t,!0);let l=s(t,"identity",7),f=s(t,"avatarUrl",7),i=s(t,"size",7,16),c=s(t,"class",7,""),o=s(t,"alt",7),d=s(t,"fallback",7),m=I(!1);const g=N(()=>f()||`https://github.com/${encodeURIComponent(l())}.png?size=${i()*2}`);B(()=>{l(),u(g),p(m,!1)});var z={get identity(){return l()},set identity(a){l(a),r()},get avatarUrl(){return f()},set avatarUrl(a){f(a),r()},get size(){return i()},set size(a=16){i(a),r()},get class(){return c()},set class(a=""){c(a),r()},get alt(){return o()},set alt(a){o(a),r()},get fallback(){return d()},set fallback(a){d(a),r()},$set:A,$on:(a,e)=>G(t,a,e)},_=y(),k=h(_);{var U=a=>{var e=y(),x=h(e);E(x,()=>d()??R),v(a,e)},w=a=>{var e=K();S(()=>{n(e,"src",u(g)),n(e,"width",i()),n(e,"height",i()),n(e,"alt",o()??""),n(e,"aria-hidden",o()===void 0?"true":void 0),F(e,1,J(c()))}),V("error",e,()=>{p(m,!0)}),W(e),v(a,e)};q(k,a=>{u(m)?a(U):a(w,-1)})}return v(b,_),D(z)}export{L as G};
@@ -1 +1 @@
1
- import{t as R,bo as r,bm as T,bw as U,b as X}from"./CLAmm_T1.js";import{bs as Y,ca as L,bj as Z,aw as $,$ as ee,a5 as te,ay as q,bS as ne,a7 as j,bf as N,W as m,aD as f,c9 as re,bA as oe,bH as ae,b_ as se,bn as le,bV as ie,aA as o,aB as W}from"./3SdAC2_C.js";import{t as V}from"./BwNrQXlF.js";import{c as S}from"./BwH4Bvte.js";import{f as ue}from"./CcJmuwXr.js";import{b as ge}from"./Dn334wJv.js";import{q as ce,l as de,d as me,M as fe}from"./Dd-LQrG1.js";import"./hkJYqn41.js";let l=null;var pe=W("<!> <!>",1),Ce=W("<div><!></div>");function be(A,t){if(new.target)return R({component:be,...A});Y(t,!0);let n=r(t,"open",15,!1),p=r(t,"align",7,"start"),C=r(t,"side",7,"bottom"),b=r(t,"portal",7,!0),_=r(t,"collisionPadding",7,8),h=r(t,"alignIconColumn",7,!0),v=r(t,"trigger",7),M=r(t,"content",7),w=r(t,"contentClass",7,""),P=r(t,"subContentClass",7),x=r(t,"contentMaxHeight",7),y=r(t,"onOpenChangeComplete",7),D=r(t,"class",7,""),c=ie(null);function z(){const e=n();queueMicrotask(()=>{n()===e&&n(!e)})}function s(){n(!1)}function F(e){if(!n()||e.button!==0)return;const a=e.target;a instanceof Element&&(f(c)?.contains(a)||a.closest('[role="menu"]')||(s(),a.closest("[data-dropdown-menu-trigger]")||queueMicrotask(()=>{n()||f(c)?.querySelector("[data-dropdown-menu-trigger]")?.focus()})))}L(()=>{if(!n()){l===s&&(l=null);return}const e=l;l=s,e&&e!==s&&e()}),L(()=>{if(n())return ce(()=>!1)}),Z(()=>{l===s&&(l=null)});var G={get open(){return n()},set open(e=!1){n(e),o()},get align(){return p()},set align(e="start"){p(e),o()},get side(){return C()},set side(e="bottom"){C(e),o()},get portal(){return b()},set portal(e=!0){b(e),o()},get collisionPadding(){return _()},set collisionPadding(e=8){_(e),o()},get alignIconColumn(){return h()},set alignIconColumn(e=!0){h(e),o()},get trigger(){return v()},set trigger(e){v(e),o()},get content(){return M()},set content(e){M(e),o()},get contentClass(){return w()},set contentClass(e=""){w(e),o()},get subContentClass(){return P()},set subContentClass(e){P(e),o()},get contentMaxHeight(){return x()},set contentMaxHeight(e){x(e),o()},get onOpenChangeComplete(){return y()},set onOpenChangeComplete(e){y(e),o()},get class(){return D()},set class(e=""){D(e),o()},$set:U,$on:(e,a)=>X(t,e,a)},i=Ce();$("pointerdown",ee,F);var J=te(i);return S(J,()=>fe,(e,a)=>{a(e,{get onOpenChangeComplete(){return y()},get open(){return n()},set open(H){n(H)},children:(H,_e)=>{var E=pe(),B=q(E);{const I=(u,g)=>{let O=()=>(g?.()).props;var k=j(),d=q(k);V(d,()=>v()??N,()=>({toggle:z,open:n(),props:O()})),m(u,k)};S(B,()=>de,(u,g)=>{g(u,{child:I,$$slots:{child:!0}})})}var K=ne(B,2);{let I=re(()=>T.ui_dropdownMenu_ariaLabel());S(K,()=>me,(u,g)=>{g(u,{get align(){return p()},get side(){return C()},get portal(){return b()},get collisionPadding(){return _()},get alignIconColumn(){return h()},get subContentClass(){return P()},preventScroll:!1,get class(){return w()},get maxHeight(){return x()},get"aria-label"(){return f(I)},children:(O,k)=>{var d=j(),Q=q(d);V(Q,()=>M()??N,()=>({close:s})),m(O,d)},$$slots:{default:!0}})})}m(H,E)},$$slots:{default:!0}})}),oe(i),ge(i,e=>ae(c,e),()=>f(c)),se(()=>ue(i,1,`relative inline-block ${D()??""}`)),m(A,i),le(G)}export{be as D};
1
+ import{t as R,bo as r,bm as T,bw as U,b as X}from"./CtfEuoOH.js";import{bs as Y,ca as L,bj as Z,aw as $,$ as ee,a5 as te,ay as q,bS as ne,a7 as j,bf as N,W as m,aD as f,c9 as re,bA as oe,bH as ae,b_ as se,bn as le,bV as ie,aA as o,aB as W}from"./3SdAC2_C.js";import{t as V}from"./CGmYraIa.js";import{c as S}from"./BZ27qIg1.js";import{f as ue}from"./B26ZHg3s.js";import{b as ge}from"./Dn334wJv.js";import{q as ce,l as de,d as me,M as fe}from"./aWBSU8IQ.js";import"./CTgYTdXw.js";let l=null;var pe=W("<!> <!>",1),Ce=W("<div><!></div>");function be(A,t){if(new.target)return R({component:be,...A});Y(t,!0);let n=r(t,"open",15,!1),p=r(t,"align",7,"start"),C=r(t,"side",7,"bottom"),b=r(t,"portal",7,!0),_=r(t,"collisionPadding",7,8),h=r(t,"alignIconColumn",7,!0),v=r(t,"trigger",7),M=r(t,"content",7),w=r(t,"contentClass",7,""),P=r(t,"subContentClass",7),x=r(t,"contentMaxHeight",7),y=r(t,"onOpenChangeComplete",7),D=r(t,"class",7,""),c=ie(null);function z(){const e=n();queueMicrotask(()=>{n()===e&&n(!e)})}function s(){n(!1)}function F(e){if(!n()||e.button!==0)return;const a=e.target;a instanceof Element&&(f(c)?.contains(a)||a.closest('[role="menu"]')||(s(),a.closest("[data-dropdown-menu-trigger]")||queueMicrotask(()=>{n()||f(c)?.querySelector("[data-dropdown-menu-trigger]")?.focus()})))}L(()=>{if(!n()){l===s&&(l=null);return}const e=l;l=s,e&&e!==s&&e()}),L(()=>{if(n())return ce(()=>!1)}),Z(()=>{l===s&&(l=null)});var G={get open(){return n()},set open(e=!1){n(e),o()},get align(){return p()},set align(e="start"){p(e),o()},get side(){return C()},set side(e="bottom"){C(e),o()},get portal(){return b()},set portal(e=!0){b(e),o()},get collisionPadding(){return _()},set collisionPadding(e=8){_(e),o()},get alignIconColumn(){return h()},set alignIconColumn(e=!0){h(e),o()},get trigger(){return v()},set trigger(e){v(e),o()},get content(){return M()},set content(e){M(e),o()},get contentClass(){return w()},set contentClass(e=""){w(e),o()},get subContentClass(){return P()},set subContentClass(e){P(e),o()},get contentMaxHeight(){return x()},set contentMaxHeight(e){x(e),o()},get onOpenChangeComplete(){return y()},set onOpenChangeComplete(e){y(e),o()},get class(){return D()},set class(e=""){D(e),o()},$set:U,$on:(e,a)=>X(t,e,a)},i=Ce();$("pointerdown",ee,F);var J=te(i);return S(J,()=>fe,(e,a)=>{a(e,{get onOpenChangeComplete(){return y()},get open(){return n()},set open(H){n(H)},children:(H,_e)=>{var E=pe(),B=q(E);{const I=(u,g)=>{let O=()=>(g?.()).props;var k=j(),d=q(k);V(d,()=>v()??N,()=>({toggle:z,open:n(),props:O()})),m(u,k)};S(B,()=>de,(u,g)=>{g(u,{child:I,$$slots:{child:!0}})})}var K=ne(B,2);{let I=re(()=>T.ui_dropdownMenu_ariaLabel());S(K,()=>me,(u,g)=>{g(u,{get align(){return p()},get side(){return C()},get portal(){return b()},get collisionPadding(){return _()},get alignIconColumn(){return h()},get subContentClass(){return P()},preventScroll:!1,get class(){return w()},get maxHeight(){return x()},get"aria-label"(){return f(I)},children:(O,k)=>{var d=j(),Q=q(d);V(Q,()=>M()??N,()=>({close:s})),m(O,d)},$$slots:{default:!0}})})}m(H,E)},$$slots:{default:!0}})}),oe(i),ge(i,e=>ae(c,e),()=>f(c)),se(()=>ue(i,1,`relative inline-block ${D()??""}`)),m(A,i),le(G)}export{be as D};
@@ -1 +1 @@
1
- import{_ as c}from"./CLAmm_T1.js";import{g as m,R as M,C as E,E as _,K as S,a as T,M as P,b as $,P as I,e as R,f as C,T as A,U as z,r as j,h as D,k as O,l as i,i as V,m as w,j as u,J as f,c as k,d as h,S as b,t as p}from"./C4fj9uDh.js";import{l as t}from"./ChTqQfQN.js";const W=Object.freeze(Object.defineProperty({__proto__:null,CancellationTokenSource:E,Emitter:_,KeyCode:S,KeyMod:T,MarkerSeverity:P,MarkerTag:$,Position:I,Range:M,Selection:R,SelectionDirection:C,Token:A,Uri:z,css:j,editor:m,html:D,json:O,languages:i,lsp:V,typescript:w},Symbol.toStringTag,{value:"Module"}));let y=!1,g=null,v=!1,r=null;async function B(){if(!(typeof window>"u")&&!v)try{const[o,s,a,d,l]=await Promise.all([c(()=>import("./DvZ3DwdW.js"),[],import.meta.url),c(()=>import("./Cpgzc53H.js"),[],import.meta.url),c(()=>import("./CG-QPs-0.js"),[],import.meta.url),c(()=>import("./BluJBxCM.js"),[],import.meta.url),c(()=>import("./BW7ZDjCt.js"),[],import.meta.url)]);r={editor:o,json:s,css:a,html:d,ts:l},self.MonacoEnvironment={getWorker(n,e){if(!r)return t.error("[Monaco] Workers not loaded yet"),{postMessage:()=>{},terminate:()=>{}};try{return e==="json"?new r.json.default:e==="css"||e==="scss"||e==="less"?new r.css.default:e==="html"||e==="handlebars"||e==="razor"?new r.html.default:e==="typescript"||e==="javascript"?new r.ts.default:new r.editor.default}catch(x){return t.error("[Monaco] Failed to create worker for",e,x),{postMessage:()=>{},terminate:()=>{}}}},globalAPI:!1},v=!0,t.info("[Monaco] Workers configured successfully (lazy loaded)")}catch(o){throw t.error("[Monaco] Failed to configure Monaco workers",{error:o}),o}}async function J(){return y?Promise.resolve():g||(g=new Promise((o,s)=>{let a=0;const d=100,l=()=>{a++;try{if(W&&m&&i&&m.createModel&&typeof m.createModel=="function")m.createModel("test","plaintext").dispose(),y=!0,t.info("[Monaco] Monaco Editor initialized successfully"),o();else if(a>=d){const n=new Error("[Monaco] Monaco Editor failed to initialize after 5 seconds");t.error(n.message),s(n)}else setTimeout(l,50)}catch(n){a>=d?(t.error("[Monaco] Monaco Editor initialization error:",n),s(n)):setTimeout(l,50)}};l()}),g)}async function U(){try{if(await J(),!w){t.warn("[Monaco] TypeScript language service not available yet");return}u&&(u.setDiagnosticsOptions({noSemanticValidation:!1,noSyntaxValidation:!1}),u.setCompilerOptions({target:b.ES2020,allowNonTsExtensions:!0,moduleResolution:h.NodeJs,module:k.CommonJS,noEmit:!0,esModuleInterop:!0,jsx:f.React,reactNamespace:"React",allowJs:!0,typeRoots:["node_modules/@types"]}),u.setEagerModelSync(!0)),p&&(p.setDiagnosticsOptions({noSemanticValidation:!1,noSyntaxValidation:!1}),p.setCompilerOptions({target:b.ES2020,allowNonTsExtensions:!0,moduleResolution:h.NodeJs,module:k.CommonJS,noEmit:!0,esModuleInterop:!0,jsx:f.React,reactNamespace:"React",allowJs:!0,typeRoots:["node_modules/@types"]}),p.setEagerModelSync(!0)),L()}catch(o){t.warn("[Monaco] Error configuring Monaco languages:",o)}}function L(){i.getLanguages().some(s=>s.id==="svelte")||(i.register({id:"svelte",extensions:[".svelte"],aliases:["Svelte","svelte"],mimetypes:["text/x-svelte"]}),i.setLanguageConfiguration("svelte",{comments:{lineComment:"//",blockComment:["<!--","-->"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"<!--",close:"-->",notIn:["comment","string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'},{open:"`",close:"`"}],folding:{markers:{start:/^\s*<!--\s*#region\b.*-->/,end:/^\s*<!--\s*#endregion\b.*-->/}},wordPattern:/(-?\d*\.\d\w*)|([^`~!@#%^&*()\-=+[{\]}\\|;:'",.<>/?\s]+)/g,indentationRules:{increaseIndentPattern:/<(?!(?:area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)\b)[a-zA-Z][^/>]*>|{[^}]*$/,decreaseIndentPattern:/^\s*(<\/|}<)/}}),i.setMonarchTokensProvider("svelte",{defaultToken:"",tokenPostfix:".svelte",svelteKeywords:["#if","/if",":else",":else if","#each","/each","#await","/await",":then",":catch","#key","/key","#snippet","/snippet","@render","@html","@debug","@const"],keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","interface","let","new","null","return","set","static","super","switch","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of","as","type"],runes:["$state","$derived","$effect","$props","$bindable","$inspect","$host"],tagNames:["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","menu","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<","</",">>",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@","..."],symbols:/[=><!~?:&|+\-*\/^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/(<)(script)(\s+)(lang)(=)("ts"|'ts')/,["delimiter.html","tag.html","","attribute.name.html","delimiter.html","attribute.value.html"]],[/<script/,{token:"tag.html",next:"@script"}],[/<style/,{token:"tag.html",next:"@style"}],[/{#/,{token:"keyword.svelte",next:"@svelteBlock"}],[/{:/,{token:"keyword.svelte",next:"@svelteBlock"}],[/{\//,{token:"keyword.svelte",next:"@svelteBlock"}],[/{@/,{token:"keyword.svelte",next:"@svelteExpression"}],[/{/,{token:"delimiter.bracket",next:"@svelteExpression"}],[/<!--/,{token:"comment.html",next:"@htmlComment"}],[/(<)(\w+)/,["delimiter.html",{token:"tag.html",next:"@tag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@tag"}]],[/[^<{]+/,"text.html"]],script:[[/<\/script>/,{token:"tag.html",next:"@pop"}],{include:"@typescript"}],style:[[/<\/style>/,{token:"tag.html",next:"@pop"}],[/./,"source.css"]],tag:[[/\s+/,""],[/(\w+)(=)/,["attribute.name.html",{token:"delimiter.html",next:"@attributeValue"}]],[/\w+/,"attribute.name.html"],[/on:\w+/,"attribute.name.event.svelte"],[/bind:\w+/,"attribute.name.binding.svelte"],[/class:\w+/,"attribute.name.class.svelte"],[/use:\w+/,"attribute.name.action.svelte"],[/transition:\w+/,"attribute.name.transition.svelte"],[/in:\w+/,"attribute.name.transition.svelte"],[/out:\w+/,"attribute.name.transition.svelte"],[/animate:\w+/,"attribute.name.animation.svelte"],[/\/>/,{token:"delimiter.html",next:"@pop"}],[/>/,{token:"delimiter.html",next:"@pop"}]],attributeValue:[[/"[^"]*"/,{token:"attribute.value.html",next:"@pop"}],[/'[^']*'/,{token:"attribute.value.html",next:"@pop"}],[/{/,{token:"delimiter.bracket",next:"@svelteExpressionInAttr"}],[/\w+/,{token:"attribute.value.html",next:"@pop"}]],svelteBlock:[[/}/,{token:"keyword.svelte",next:"@pop"}],[/\b(if|else|each|await|then|catch|key|snippet|as)\b/,"keyword.control.svelte"],{include:"@typescript"}],svelteExpression:[[/}/,{token:"delimiter.bracket",next:"@pop"}],[/@(html|debug|const|render)/,"keyword.svelte"],{include:"@typescript"}],svelteExpressionInAttr:[[/}/,{token:"delimiter.bracket",next:"@pop"}],{include:"@typescript"}],htmlComment:[[/-->/,{token:"comment.html",next:"@pop"}],[/./,"comment.html"]],typescript:[[/\$(?:state|derived|effect|props|bindable|inspect|host)\b/,"variable.language.svelte"],[/\/\/.*$/,"comment"],[/\/\*/,{token:"comment",next:"@tsComment"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@tsDoubleString"],[/'/,"string","@tsSingleString"],[/`/,"string","@tsTemplateString"],[/\d*\.\d+([eE][-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+/,"number"],[/\b(break|case|catch|class|continue|const|constructor|debugger|default|delete|do|else|export|extends|false|finally|for|from|function|get|if|import|in|instanceof|interface|let|new|null|return|set|static|super|switch|this|throw|true|try|typeof|undefined|var|void|while|with|yield|async|await|of|as|type)\b/,"keyword"],[/[a-zA-Z_$][\w$]*/,"identifier"],[/@symbols/,"operator"],[/[{}()[\]]/,"delimiter.bracket"],[/[;,.]/,"delimiter"]],tsComment:[[/\*\//,{token:"comment",next:"@pop"}],[/./,"comment"]],tsDoubleString:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],tsSingleString:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],tsTemplateString:[[/\$\{/,{token:"delimiter.bracket",next:"@tsTemplateStringExpression"}],[/[^`$]+/,"string"],[/`/,"string","@pop"]],tsTemplateStringExpression:[[/}/,{token:"delimiter.bracket",next:"@pop"}],{include:"@typescript"}]}}),t.info("[Monaco] Svelte language registered"))}export{B as configureMonacoWorkers,J as ensureMonacoInitialized,U as initializeMonaco,W as monaco};
1
+ import{_ as c}from"./CtfEuoOH.js";import{g as m,R as M,C as E,E as _,K as S,a as T,M as P,b as $,P as I,e as R,f as C,T as A,U as z,r as j,h as D,k as O,l as i,i as V,m as w,j as u,J as f,c as k,d as h,S as b,t as p}from"./CyvzL5p8.js";import{l as t}from"./ChTqQfQN.js";const W=Object.freeze(Object.defineProperty({__proto__:null,CancellationTokenSource:E,Emitter:_,KeyCode:S,KeyMod:T,MarkerSeverity:P,MarkerTag:$,Position:I,Range:M,Selection:R,SelectionDirection:C,Token:A,Uri:z,css:j,editor:m,html:D,json:O,languages:i,lsp:V,typescript:w},Symbol.toStringTag,{value:"Module"}));let y=!1,g=null,v=!1,r=null;async function B(){if(!(typeof window>"u")&&!v)try{const[o,s,a,d,l]=await Promise.all([c(()=>import("./DvZ3DwdW.js"),[],import.meta.url),c(()=>import("./Cpgzc53H.js"),[],import.meta.url),c(()=>import("./CG-QPs-0.js"),[],import.meta.url),c(()=>import("./BluJBxCM.js"),[],import.meta.url),c(()=>import("./BW7ZDjCt.js"),[],import.meta.url)]);r={editor:o,json:s,css:a,html:d,ts:l},self.MonacoEnvironment={getWorker(n,e){if(!r)return t.error("[Monaco] Workers not loaded yet"),{postMessage:()=>{},terminate:()=>{}};try{return e==="json"?new r.json.default:e==="css"||e==="scss"||e==="less"?new r.css.default:e==="html"||e==="handlebars"||e==="razor"?new r.html.default:e==="typescript"||e==="javascript"?new r.ts.default:new r.editor.default}catch(x){return t.error("[Monaco] Failed to create worker for",e,x),{postMessage:()=>{},terminate:()=>{}}}},globalAPI:!1},v=!0,t.info("[Monaco] Workers configured successfully (lazy loaded)")}catch(o){throw t.error("[Monaco] Failed to configure Monaco workers",{error:o}),o}}async function J(){return y?Promise.resolve():g||(g=new Promise((o,s)=>{let a=0;const d=100,l=()=>{a++;try{if(W&&m&&i&&m.createModel&&typeof m.createModel=="function")m.createModel("test","plaintext").dispose(),y=!0,t.info("[Monaco] Monaco Editor initialized successfully"),o();else if(a>=d){const n=new Error("[Monaco] Monaco Editor failed to initialize after 5 seconds");t.error(n.message),s(n)}else setTimeout(l,50)}catch(n){a>=d?(t.error("[Monaco] Monaco Editor initialization error:",n),s(n)):setTimeout(l,50)}};l()}),g)}async function U(){try{if(await J(),!w){t.warn("[Monaco] TypeScript language service not available yet");return}u&&(u.setDiagnosticsOptions({noSemanticValidation:!1,noSyntaxValidation:!1}),u.setCompilerOptions({target:b.ES2020,allowNonTsExtensions:!0,moduleResolution:h.NodeJs,module:k.CommonJS,noEmit:!0,esModuleInterop:!0,jsx:f.React,reactNamespace:"React",allowJs:!0,typeRoots:["node_modules/@types"]}),u.setEagerModelSync(!0)),p&&(p.setDiagnosticsOptions({noSemanticValidation:!1,noSyntaxValidation:!1}),p.setCompilerOptions({target:b.ES2020,allowNonTsExtensions:!0,moduleResolution:h.NodeJs,module:k.CommonJS,noEmit:!0,esModuleInterop:!0,jsx:f.React,reactNamespace:"React",allowJs:!0,typeRoots:["node_modules/@types"]}),p.setEagerModelSync(!0)),L()}catch(o){t.warn("[Monaco] Error configuring Monaco languages:",o)}}function L(){i.getLanguages().some(s=>s.id==="svelte")||(i.register({id:"svelte",extensions:[".svelte"],aliases:["Svelte","svelte"],mimetypes:["text/x-svelte"]}),i.setLanguageConfiguration("svelte",{comments:{lineComment:"//",blockComment:["<!--","-->"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"<!--",close:"-->",notIn:["comment","string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'},{open:"`",close:"`"}],folding:{markers:{start:/^\s*<!--\s*#region\b.*-->/,end:/^\s*<!--\s*#endregion\b.*-->/}},wordPattern:/(-?\d*\.\d\w*)|([^`~!@#%^&*()\-=+[{\]}\\|;:'",.<>/?\s]+)/g,indentationRules:{increaseIndentPattern:/<(?!(?:area|base|br|col|embed|hr|img|input|keygen|link|menuitem|meta|param|source|track|wbr)\b)[a-zA-Z][^/>]*>|{[^}]*$/,decreaseIndentPattern:/^\s*(<\/|}<)/}}),i.setMonarchTokensProvider("svelte",{defaultToken:"",tokenPostfix:".svelte",svelteKeywords:["#if","/if",":else",":else if","#each","/each","#await","/await",":then",":catch","#key","/key","#snippet","/snippet","@render","@html","@debug","@const"],keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","interface","let","new","null","return","set","static","super","switch","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of","as","type"],runes:["$state","$derived","$effect","$props","$bindable","$inspect","$host"],tagNames:["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","menu","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<","</",">>",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@","..."],symbols:/[=><!~?:&|+\-*\/^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/(<)(script)(\s+)(lang)(=)("ts"|'ts')/,["delimiter.html","tag.html","","attribute.name.html","delimiter.html","attribute.value.html"]],[/<script/,{token:"tag.html",next:"@script"}],[/<style/,{token:"tag.html",next:"@style"}],[/{#/,{token:"keyword.svelte",next:"@svelteBlock"}],[/{:/,{token:"keyword.svelte",next:"@svelteBlock"}],[/{\//,{token:"keyword.svelte",next:"@svelteBlock"}],[/{@/,{token:"keyword.svelte",next:"@svelteExpression"}],[/{/,{token:"delimiter.bracket",next:"@svelteExpression"}],[/<!--/,{token:"comment.html",next:"@htmlComment"}],[/(<)(\w+)/,["delimiter.html",{token:"tag.html",next:"@tag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@tag"}]],[/[^<{]+/,"text.html"]],script:[[/<\/script>/,{token:"tag.html",next:"@pop"}],{include:"@typescript"}],style:[[/<\/style>/,{token:"tag.html",next:"@pop"}],[/./,"source.css"]],tag:[[/\s+/,""],[/(\w+)(=)/,["attribute.name.html",{token:"delimiter.html",next:"@attributeValue"}]],[/\w+/,"attribute.name.html"],[/on:\w+/,"attribute.name.event.svelte"],[/bind:\w+/,"attribute.name.binding.svelte"],[/class:\w+/,"attribute.name.class.svelte"],[/use:\w+/,"attribute.name.action.svelte"],[/transition:\w+/,"attribute.name.transition.svelte"],[/in:\w+/,"attribute.name.transition.svelte"],[/out:\w+/,"attribute.name.transition.svelte"],[/animate:\w+/,"attribute.name.animation.svelte"],[/\/>/,{token:"delimiter.html",next:"@pop"}],[/>/,{token:"delimiter.html",next:"@pop"}]],attributeValue:[[/"[^"]*"/,{token:"attribute.value.html",next:"@pop"}],[/'[^']*'/,{token:"attribute.value.html",next:"@pop"}],[/{/,{token:"delimiter.bracket",next:"@svelteExpressionInAttr"}],[/\w+/,{token:"attribute.value.html",next:"@pop"}]],svelteBlock:[[/}/,{token:"keyword.svelte",next:"@pop"}],[/\b(if|else|each|await|then|catch|key|snippet|as)\b/,"keyword.control.svelte"],{include:"@typescript"}],svelteExpression:[[/}/,{token:"delimiter.bracket",next:"@pop"}],[/@(html|debug|const|render)/,"keyword.svelte"],{include:"@typescript"}],svelteExpressionInAttr:[[/}/,{token:"delimiter.bracket",next:"@pop"}],{include:"@typescript"}],htmlComment:[[/-->/,{token:"comment.html",next:"@pop"}],[/./,"comment.html"]],typescript:[[/\$(?:state|derived|effect|props|bindable|inspect|host)\b/,"variable.language.svelte"],[/\/\/.*$/,"comment"],[/\/\*/,{token:"comment",next:"@tsComment"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@tsDoubleString"],[/'/,"string","@tsSingleString"],[/`/,"string","@tsTemplateString"],[/\d*\.\d+([eE][-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+/,"number"],[/\b(break|case|catch|class|continue|const|constructor|debugger|default|delete|do|else|export|extends|false|finally|for|from|function|get|if|import|in|instanceof|interface|let|new|null|return|set|static|super|switch|this|throw|true|try|typeof|undefined|var|void|while|with|yield|async|await|of|as|type)\b/,"keyword"],[/[a-zA-Z_$][\w$]*/,"identifier"],[/@symbols/,"operator"],[/[{}()[\]]/,"delimiter.bracket"],[/[;,.]/,"delimiter"]],tsComment:[[/\*\//,{token:"comment",next:"@pop"}],[/./,"comment"]],tsDoubleString:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],tsSingleString:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],tsTemplateString:[[/\$\{/,{token:"delimiter.bracket",next:"@tsTemplateStringExpression"}],[/[^`$]+/,"string"],[/`/,"string","@pop"]],tsTemplateStringExpression:[[/}/,{token:"delimiter.bracket",next:"@pop"}],{include:"@typescript"}]}}),t.info("[Monaco] Svelte language registered"))}export{B as configureMonacoWorkers,J as ensureMonacoInitialized,U as initializeMonaco,W as monaco};
@@ -1 +1 @@
1
- import{t as G,bo as n,bw as H,b as W,bp as k}from"./CLAmm_T1.js";import{bo as z,bs as B,a7 as m,ay as p,W as c,bn as D,aA as d,aD as h,a5 as I,bf as Q,bA as j,c9 as q,aB as E}from"./3SdAC2_C.js";import{i as F}from"./BFgvMDua.js";import{t as _}from"./BwNrQXlF.js";import{b as J}from"./CcJmuwXr.js";import{a as L,S as M}from"./Dp7Hm0g0.js";import{az as b,av as S,aQ as K}from"./nxtepGjE.js";var N=new Set(["$$slots","$$events","$$legacy","id","ref","children","child"]),O=E("<div><!></div>");function R(f,t){const u=z();if(new.target)return G({component:R,...f});B(t,!0);let o=n(t,"id",23,()=>b(u)),a=n(t,"ref",15,null),s=n(t,"children",7),i=n(t,"child",7),x=k(t,N);const y=L.create({id:S(()=>o()),ref:S(()=>a(),e=>a(e))}),v=q(()=>K(x,y.props));var w={get id(){return o()},set id(e=b(u)){o(e),d()},get ref(){return a()},set ref(e=null){a(e),d()},get children(){return s()},set children(e){s(e),d()},get child(){return i()},set child(e){i(e),d()},$set:H,$on:(e,r)=>W(t,e,r)},g=m(),P=p(g);{var A=e=>{var r=m(),l=p(r);_(l,i,()=>({props:h(v)})),c(e,r)},C=e=>{var r=O();J(r,()=>({...h(v)}));var l=I(r);_(l,()=>s()??Q),j(r),c(e,r)};F(P,e=>{i()?e(A):e(C,-1)})}return c(f,g),D(w)}var T=new Set(["$$slots","$$events","$$legacy","id","ref","child","children"]),U=E("<div><!></div>");function V(f,t){const u=z();if(new.target)return G({component:V,...f});B(t,!0);let o=n(t,"id",23,()=>b(u)),a=n(t,"ref",15,null),s=n(t,"child",7),i=n(t,"children",7),x=k(t,T);const y=M.create({id:S(()=>o()),ref:S(()=>a(),e=>a(e))}),v=q(()=>K(x,y.props));var w={get id(){return o()},set id(e=b(u)){o(e),d()},get ref(){return a()},set ref(e=null){a(e),d()},get child(){return s()},set child(e){s(e),d()},get children(){return i()},set children(e){i(e),d()},$set:H,$on:(e,r)=>W(t,e,r)},g=m(),P=p(g);{var A=e=>{var r=m(),l=p(r);_(l,s,()=>({props:h(v)})),c(e,r)},C=e=>{var r=U();J(r,()=>({...h(v)}));var l=I(r);_(l,()=>i()??Q),j(r),c(e,r)};F(P,e=>{s()?e(A):e(C,-1)})}return c(f,g),D(w)}export{R as S,V as a};
1
+ import{t as G,bo as n,bw as H,b as W,bp as k}from"./CtfEuoOH.js";import{bo as z,bs as B,a7 as m,ay as p,W as c,bn as D,aA as d,aD as h,a5 as I,bf as Q,bA as j,c9 as q,aB as E}from"./3SdAC2_C.js";import{i as F}from"./DynUeYUu.js";import{t as _}from"./CGmYraIa.js";import{b as J}from"./B26ZHg3s.js";import{a as L,S as M}from"./CEyWnfg4.js";import{az as b,av as S,aQ as K}from"./D9R5fzn8.js";var N=new Set(["$$slots","$$events","$$legacy","id","ref","children","child"]),O=E("<div><!></div>");function R(f,t){const u=z();if(new.target)return G({component:R,...f});B(t,!0);let o=n(t,"id",23,()=>b(u)),a=n(t,"ref",15,null),s=n(t,"children",7),i=n(t,"child",7),x=k(t,N);const y=L.create({id:S(()=>o()),ref:S(()=>a(),e=>a(e))}),v=q(()=>K(x,y.props));var w={get id(){return o()},set id(e=b(u)){o(e),d()},get ref(){return a()},set ref(e=null){a(e),d()},get children(){return s()},set children(e){s(e),d()},get child(){return i()},set child(e){i(e),d()},$set:H,$on:(e,r)=>W(t,e,r)},g=m(),P=p(g);{var A=e=>{var r=m(),l=p(r);_(l,i,()=>({props:h(v)})),c(e,r)},C=e=>{var r=O();J(r,()=>({...h(v)}));var l=I(r);_(l,()=>s()??Q),j(r),c(e,r)};F(P,e=>{i()?e(A):e(C,-1)})}return c(f,g),D(w)}var T=new Set(["$$slots","$$events","$$legacy","id","ref","child","children"]),U=E("<div><!></div>");function V(f,t){const u=z();if(new.target)return G({component:V,...f});B(t,!0);let o=n(t,"id",23,()=>b(u)),a=n(t,"ref",15,null),s=n(t,"child",7),i=n(t,"children",7),x=k(t,T);const y=M.create({id:S(()=>o()),ref:S(()=>a(),e=>a(e))}),v=q(()=>K(x,y.props));var w={get id(){return o()},set id(e=b(u)){o(e),d()},get ref(){return a()},set ref(e=null){a(e),d()},get child(){return s()},set child(e){s(e),d()},get children(){return i()},set children(e){i(e),d()},$set:H,$on:(e,r)=>W(t,e,r)},g=m(),P=p(g);{var A=e=>{var r=m(),l=p(r);_(l,s,()=>({props:h(v)})),c(e,r)},C=e=>{var r=U();J(r,()=>({...h(v)}));var l=I(r);_(l,()=>i()??Q),j(r),c(e,r)};F(P,e=>{s()?e(A):e(C,-1)})}return c(f,g),D(w)}export{R as S,V as a};
@@ -1 +1 @@
1
- import{i as r}from"./CL3a4Hm1.js";import{w as a,I as e}from"./Bqd7fdCF.js";import{JH as s}from"./B9vHutcJ.js";import{c as t}from"./CpTvA0xC.js";function C(o,i){return t(s,o,{navigate:i,...a("windowChrome")?{closeWindow:()=>r(e.WINDOW.CLOSE)}:{}})}export{C as closeActiveTab};
1
+ import{i as r}from"./CL3a4Hm1.js";import{w as a,I as e}from"./Bqd7fdCF.js";import{JH as s}from"./CiKoEJ2m.js";import{c as t}from"./DWBUvNGh.js";function C(o,i){return t(s,o,{navigate:i,...a("windowChrome")?{closeWindow:()=>r(e.WINDOW.CLOSE)}:{}})}export{C as closeActiveTab};
@@ -1 +1 @@
1
- import{b as a,aW as o}from"./BgXuXJpo.js";var g=a((t,e)=>{let n;return e==="sandbox"&&(n=o("#i"+t)),(e==="sandbox"?o(n.nodes()[0].contentDocument.body):o("body")).select(`[id="${t}"]`)},"getDiagramElement");export{g};
1
+ import{b as a,aW as o}from"./DMudvlKI.js";var g=a((t,e)=>{let n;return e==="sandbox"&&(n=o("#i"+t)),(e==="sandbox"?o(n.nodes()[0].contentDocument.body):o("body")).select(`[id="${t}"]`)},"getDiagramElement");export{g};
@@ -1,4 +1,4 @@
1
- import{p as z}from"./BJ_X8eP6.js";import{b as f,q as B,aX as E,B as F,ay as $,a_ as P,V as A,b0 as W,Y as _,U as N,aZ as Y,W as L,O as M,r as O}from"./BgXuXJpo.js";import{p as I}from"./nIshZjK_.js";var U=M.packet,u,C=(u=class{constructor(){this.packet=[],this.setAccTitle=P,this.getAccTitle=A,this.setDiagramTitle=W,this.getDiagramTitle=_,this.getAccDescription=N,this.setAccDescription=Y}getConfig(){const t=B({...U,...L().packet});return t.showBits&&(t.paddingY+=10),t}getPacket(){return this.packet}pushWord(t){t.length>0&&this.packet.push(t)}clear(){O(),this.packet=[]}},f(u,"PacketDB"),u),X=1e4,j=f((e,t)=>{z(e,t);let r=-1,s=[],i=1;const{bitsPerRow:l}=t.getConfig();for(let{start:a,end:o,bits:d,label:g}of e.blocks){if(a!==void 0&&o!==void 0&&o<a)throw new Error(`Packet block ${a} - ${o} is invalid. End must be greater than start.`);if(a??=r+1,a!==r+1)throw new Error(`Packet block ${a} - ${o??a} is not contiguous. It should start from ${r+1}.`);if(d===0)throw new Error(`Packet block ${a} is invalid. Cannot have a zero bit field.`);for(o??=a+(d??1)-1,d??=o-a+1,r=o,$.debug(`Packet block ${a} - ${r} with label ${g}`);s.length<=l+1&&t.getPacket().length<X;){const[c,p]=q({start:a,end:o,bits:d,label:g},i,l);if(s.push(c),c.end+1===i*l&&(t.pushWord(s),s=[],i++),!p)break;({start:a,end:o,bits:d,label:g}=p)}}t.pushWord(s)},"populate"),q=f((e,t,r)=>{if(e.start===void 0)throw new Error("start should have been set during first phase");if(e.end===void 0)throw new Error("end should have been set during first phase");if(e.start>e.end)throw new Error(`Block start ${e.start} is greater than block end ${e.end}.`);if(e.end+1<=t*r)return[e,void 0];const s=t*r-1,i=t*r;return[{start:e.start,end:s,label:e.label,bits:s-e.start},{start:i,end:e.end,label:e.label,bits:e.end-i}]},"getNextFittingBlock"),S={parser:{yy:void 0},parse:f(async e=>{const t=await I("packet",e),r=S.parser?.yy;if(!(r instanceof C))throw new Error("parser.parser?.yy was not a PacketDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");$.debug(t),j(t,r)},"parse")},G=f((e,t,r,s)=>{const i=s.db,l=i.getConfig(),{rowHeight:a,paddingY:o,bitWidth:d,bitsPerRow:g}=l,c=i.getPacket(),p=i.getDiagramTitle(),m=a+o,n=m*(c.length+1)-(p?0:a),h=d*g+2,k=E(t);k.attr("viewBox",`0 0 ${h} ${n}`),F(k,n,h,l.useMaxWidth);for(const[x,b]of c.entries())H(k,b,x,l);k.append("text").text(p).attr("x",h/2).attr("y",n-m/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),H=f((e,t,r,{rowHeight:s,paddingX:i,paddingY:l,bitWidth:a,bitsPerRow:o,showBits:d,bitOrder:g})=>{const c=e.append("g"),p=r*(s+l)+l,m=g==="descending";for(const n of t){const h=n.end-n.start+1,k=n.start%o,b=(m?o-k-h:k)*a+1,w=h*a-i;if(c.append("rect").attr("x",b).attr("y",p).attr("width",w).attr("height",s).attr("class","packetBlock"),c.append("text").attr("x",b+w/2).attr("y",p+s/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(n.label),!d)continue;const[D,T]=m?[n.end,n.start]:[n.start,n.end],v=h===1,y=p-2;c.append("text").attr("x",b+(v?w/2:0)).attr("y",y).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",v?"middle":"start").text(D),v||c.append("text").attr("x",b+w).attr("y",y).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(T)}},"drawWord"),K={draw:G},V={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},Z=f(({packet:e}={})=>{const t=B(V,e);return`
1
+ import{p as z}from"./CfDqTHT1.js";import{b as f,q as B,aX as E,B as F,ay as $,a_ as P,V as A,b0 as W,Y as _,U as N,aZ as Y,W as L,O as M,r as O}from"./DMudvlKI.js";import{p as I}from"./DGU9U1O6.js";var U=M.packet,u,C=(u=class{constructor(){this.packet=[],this.setAccTitle=P,this.getAccTitle=A,this.setDiagramTitle=W,this.getDiagramTitle=_,this.getAccDescription=N,this.setAccDescription=Y}getConfig(){const t=B({...U,...L().packet});return t.showBits&&(t.paddingY+=10),t}getPacket(){return this.packet}pushWord(t){t.length>0&&this.packet.push(t)}clear(){O(),this.packet=[]}},f(u,"PacketDB"),u),X=1e4,j=f((e,t)=>{z(e,t);let r=-1,s=[],i=1;const{bitsPerRow:l}=t.getConfig();for(let{start:a,end:o,bits:d,label:g}of e.blocks){if(a!==void 0&&o!==void 0&&o<a)throw new Error(`Packet block ${a} - ${o} is invalid. End must be greater than start.`);if(a??=r+1,a!==r+1)throw new Error(`Packet block ${a} - ${o??a} is not contiguous. It should start from ${r+1}.`);if(d===0)throw new Error(`Packet block ${a} is invalid. Cannot have a zero bit field.`);for(o??=a+(d??1)-1,d??=o-a+1,r=o,$.debug(`Packet block ${a} - ${r} with label ${g}`);s.length<=l+1&&t.getPacket().length<X;){const[c,p]=q({start:a,end:o,bits:d,label:g},i,l);if(s.push(c),c.end+1===i*l&&(t.pushWord(s),s=[],i++),!p)break;({start:a,end:o,bits:d,label:g}=p)}}t.pushWord(s)},"populate"),q=f((e,t,r)=>{if(e.start===void 0)throw new Error("start should have been set during first phase");if(e.end===void 0)throw new Error("end should have been set during first phase");if(e.start>e.end)throw new Error(`Block start ${e.start} is greater than block end ${e.end}.`);if(e.end+1<=t*r)return[e,void 0];const s=t*r-1,i=t*r;return[{start:e.start,end:s,label:e.label,bits:s-e.start},{start:i,end:e.end,label:e.label,bits:e.end-i}]},"getNextFittingBlock"),S={parser:{yy:void 0},parse:f(async e=>{const t=await I("packet",e),r=S.parser?.yy;if(!(r instanceof C))throw new Error("parser.parser?.yy was not a PacketDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");$.debug(t),j(t,r)},"parse")},G=f((e,t,r,s)=>{const i=s.db,l=i.getConfig(),{rowHeight:a,paddingY:o,bitWidth:d,bitsPerRow:g}=l,c=i.getPacket(),p=i.getDiagramTitle(),m=a+o,n=m*(c.length+1)-(p?0:a),h=d*g+2,k=E(t);k.attr("viewBox",`0 0 ${h} ${n}`),F(k,n,h,l.useMaxWidth);for(const[x,b]of c.entries())H(k,b,x,l);k.append("text").text(p).attr("x",h/2).attr("y",n-m/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),H=f((e,t,r,{rowHeight:s,paddingX:i,paddingY:l,bitWidth:a,bitsPerRow:o,showBits:d,bitOrder:g})=>{const c=e.append("g"),p=r*(s+l)+l,m=g==="descending";for(const n of t){const h=n.end-n.start+1,k=n.start%o,b=(m?o-k-h:k)*a+1,w=h*a-i;if(c.append("rect").attr("x",b).attr("y",p).attr("width",w).attr("height",s).attr("class","packetBlock"),c.append("text").attr("x",b+w/2).attr("y",p+s/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(n.label),!d)continue;const[D,T]=m?[n.end,n.start]:[n.start,n.end],v=h===1,y=p-2;c.append("text").attr("x",b+(v?w/2:0)).attr("y",y).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",v?"middle":"start").text(D),v||c.append("text").attr("x",b+w).attr("y",y).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(T)}},"drawWord"),K={draw:G},V={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},Z=f(({packet:e}={})=>{const t=B(V,e);return`
2
2
  .packetByte {
3
3
  font-size: ${t.byteFontSize};
4
4
  }
@@ -1,4 +1,4 @@
1
- import{p as e}from"./CcJmuwXr.js";const o=[{id:"dialog-state-matrix",title:"Dialog states",states:["closed","open","entering","exiting","focused","disabled-close","destructive-flow","nested-content","long-content","scrolling","compact","zoom-200","outside-dismiss","escape-dismiss","focus-return","reduced-motion"],themes:["light","dark"],viewport:"both",reducedMotion:!0},{id:"dialog-open-state",title:"Dialog open state",states:["open-on-mount","focused","escape-dismiss","focus-return"],themes:["light","dark"],viewport:"both",reducedMotion:!0}];e({id:"dialog",source:"src/lib/components/ui/dialog/index.ts",publicImport:"$lib/components/ui/dialog",legacyImports:[],exports:["Close","Content","Description","Dialog","DialogClose","DialogContent","DialogDescription","DialogFooter","DialogHeader","DialogOverlay","DialogPortal","DialogTitle","DialogTrigger","Footer","Header","Overlay","Portal","Root","Title","Trigger","escapeBelongsToOpenPopup","useDialogPortalTarget"],usage:`<script lang="ts">
1
+ import{p as e}from"./B26ZHg3s.js";const o=[{id:"dialog-state-matrix",title:"Dialog states",states:["closed","open","entering","exiting","focused","disabled-close","destructive-flow","nested-content","long-content","scrolling","compact","zoom-200","outside-dismiss","escape-dismiss","focus-return","reduced-motion"],themes:["light","dark"],viewport:"both",reducedMotion:!0},{id:"dialog-open-state",title:"Dialog open state",states:["open-on-mount","focused","escape-dismiss","focus-return"],themes:["light","dark"],viewport:"both",reducedMotion:!0}];e({id:"dialog",source:"src/lib/components/ui/dialog/index.ts",publicImport:"$lib/components/ui/dialog",legacyImports:[],exports:["Close","Content","Description","Dialog","DialogClose","DialogContent","DialogDescription","DialogFooter","DialogHeader","DialogOverlay","DialogPortal","DialogTitle","DialogTrigger","Footer","Header","Overlay","Portal","Root","Title","Trigger","escapeBelongsToOpenPopup","useDialogPortalTarget"],usage:`<script lang="ts">
2
2
  import * as Dialog from '$lib/components/ui/dialog';
3
3
  <\/script>
4
4
 
@@ -1 +1 @@
1
- import{JH as t}from"./B9vHutcJ.js";const c=t.createSelector(e=>e.autocompleteSettings),a=t.createSelector(e=>e.autocompleteSettings.available&&e.autocompleteSettings.enabled);export{c as a,a as s};
1
+ import{JH as t}from"./CiKoEJ2m.js";const c=t.createSelector(e=>e.autocompleteSettings),a=t.createSelector(e=>e.autocompleteSettings.available&&e.autocompleteSettings.enabled);export{c as a,a as s};