@tequila99/githuman 0.5.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (360) hide show
  1. package/README.md +24 -2
  2. package/dist/server/errors/git.js +2 -0
  3. package/dist/server/routes/agent.js +8 -2
  4. package/dist/server/routes/git.js +5 -2
  5. package/dist/server/services/agent/agent-session.js +2 -1
  6. package/dist/server/services/agent/context-builder.js +49 -2
  7. package/dist/server/services/agent/file-index.js +7 -4
  8. package/dist/server/services/git.service.js +44 -4
  9. package/dist/server/utils/sse.js +76 -5
  10. package/dist/shared/agents/file-search.js +19 -7
  11. package/dist/shared/agents/mention-paths.js +40 -0
  12. package/dist/shared/agents/schemas.js +13 -4
  13. package/dist/shared/git/schemas.js +4 -1
  14. package/dist/shared/utils/guards.js +3 -0
  15. package/dist/web/assets/{AppPage-D_OHhrKS.js → AppPage-BGcEFW_o.js} +2 -2
  16. package/dist/web/assets/CreateReviewFabButton-CdUXVriU.js +1 -0
  17. package/dist/web/assets/{ErrorNotFound-jc5_L_-4.js → ErrorNotFound-CYOZg8yN.js} +1 -1
  18. package/dist/web/assets/IndexPage-CYFIGWy9.css +1 -0
  19. package/dist/web/assets/IndexPage-OqgW0yH8.js +1 -0
  20. package/dist/web/assets/MainLayout-Bi0JE3ER.js +11 -0
  21. package/dist/web/assets/MainLayout-DPkSlqMr.css +1 -0
  22. package/dist/web/assets/PdfPreview-CIiKnzQN.js +54 -0
  23. package/dist/web/assets/PdfPreview-Cb0xawi0.css +1 -0
  24. package/dist/web/assets/{QBtn-Bgm40omM.js → QBtn-CzrOO1zA.js} +1 -1
  25. package/dist/web/assets/{QBadge-BY-jTQ8w.js → QScrollArea-C4BKutrt.js} +1 -1
  26. package/dist/web/assets/QSelect-BXUaq4ky.js +1 -0
  27. package/dist/web/assets/QSpace-BMpRu3a-.js +13 -0
  28. package/dist/web/assets/ReviewDetailPage-CkCilMNW.css +1 -0
  29. package/dist/web/assets/ReviewDetailPage-DlR7Vxkw.js +1 -0
  30. package/dist/web/assets/ReviewsPage-DM8XtlUK.js +1 -0
  31. package/dist/web/assets/StatusSwitcher-Blg5JmAa.js +1 -0
  32. package/dist/web/assets/StatusSwitcher-DTD5inU1.css +1 -0
  33. package/dist/web/assets/{TerminalView-B11UHZv3.css → TerminalView-BurzSD2L.css} +1 -1
  34. package/dist/web/assets/TerminalView-Ch-ndYr6.js +19 -0
  35. package/dist/web/assets/{abnfDiagram-O67JEVCF-4qpB0CGh.js → abnfDiagram-O67JEVCF-Cab71FlB.js} +1 -1
  36. package/dist/web/assets/agent-store-CDuiBhST.js +1 -0
  37. package/dist/web/assets/app-info-store-BmD_P8q2.js +1 -0
  38. package/dist/web/assets/architecture-7GRP2DOG-DMgDJZyQ.js +1 -0
  39. package/dist/web/assets/{architectureDiagram-NJMV4G6O-CEL-_i5O.js → architectureDiagram-NJMV4G6O-Dl1WKOEi.js} +1 -1
  40. package/dist/web/assets/{blockDiagram-BEXU5L5S-bMrUf1GU.js → blockDiagram-BEXU5L5S-CZ3Lxybj.js} +1 -1
  41. package/dist/web/assets/{c4Diagram-YGBWAQC7-C54mp6dl.js → c4Diagram-YGBWAQC7-ULi06PEd.js} +1 -1
  42. package/dist/web/assets/channel-BnUyOMnk.js +1 -0
  43. package/dist/web/assets/{chunk-3FUC2YCW-BtIughAT.js → chunk-3FUC2YCW-B1f60wx3.js} +1 -1
  44. package/dist/web/assets/{chunk-5DYCD2WN-BhyMEDuJ.js → chunk-5DYCD2WN-f6Pcl3dF.js} +1 -1
  45. package/dist/web/assets/{chunk-742MDFTN-8MczzxE2.js → chunk-742MDFTN-szX1QirW.js} +1 -1
  46. package/dist/web/assets/{chunk-7INBJB4K-BdS9oIIG.js → chunk-7INBJB4K-CP_ynmAQ.js} +1 -1
  47. package/dist/web/assets/{chunk-7M6MHVWA-BU5_UwaZ.js → chunk-7M6MHVWA-DPL74uZE.js} +5 -5
  48. package/dist/web/assets/{chunk-7PRAP22T-BaAw-gEj.js → chunk-7PRAP22T-DH9TawZY.js} +1 -1
  49. package/dist/web/assets/{chunk-GTNCS2PH-DNpH8E_x.js → chunk-GTNCS2PH-CKAuGvnf.js} +1 -1
  50. package/dist/web/assets/{chunk-GWA4HPMP-BvG5tXy2.js → chunk-GWA4HPMP-DTbHCHSN.js} +1 -1
  51. package/dist/web/assets/{chunk-MBY4JIJT-B8XJMHG2.js → chunk-MBY4JIJT-ClgvJMtC.js} +1 -1
  52. package/dist/web/assets/{chunk-NETBCI7D-ClCXW1dx.js → chunk-NETBCI7D-Dq5Z7z8S.js} +1 -1
  53. package/dist/web/assets/{chunk-O7XYJQB3-BNcB0oiZ.js → chunk-O7XYJQB3-C0By5mcm.js} +1 -1
  54. package/dist/web/assets/{chunk-UA2S7LBM-CS5CtIsj.js → chunk-UA2S7LBM-BtquYpxe.js} +1 -1
  55. package/dist/web/assets/{chunk-WEXAMYUT-CJaZJWKF.js → chunk-WEXAMYUT-BlZL42XJ.js} +1 -1
  56. package/dist/web/assets/{chunk-Z7XXMR3K-DP2k1Ci5.js → chunk-Z7XXMR3K-BbtQbAvv.js} +1 -1
  57. package/dist/web/assets/{chunk-ZIGJFQKS-y4KHfdEv.js → chunk-ZIGJFQKS-tC_YdRrm.js} +1 -1
  58. package/dist/web/assets/{classDiagram-v2-NBCMYWYE-C-kWcloV.js → classDiagram-v2-NBCMYWYE-CvlA_A4N.js} +4 -4
  59. package/dist/web/assets/create-BSmXD9Zr.js +1 -0
  60. package/dist/web/assets/{cynefin-OW5HDTMX-C3AwH_vU.js → cynefin-OW5HDTMX-DFbhKkIi.js} +1 -1
  61. package/dist/web/assets/{cynefinDiagram-VND7K2PF-DYF_CoB8.js → cynefinDiagram-VND7K2PF-DHGaLNQN.js} +1 -1
  62. package/dist/web/assets/{dagre-6A5THRUB-DWCEmsd1.js → dagre-6A5THRUB-Bk3Po5o5.js} +1 -1
  63. package/dist/web/assets/{diagram-22UHCM2B-oBFhSpao.js → diagram-22UHCM2B-Djjo5ftL.js} +8 -8
  64. package/dist/web/assets/{diagram-3UASUU5V-Cj9rB07y.js → diagram-3UASUU5V-BcP7pJru.js} +1 -1
  65. package/dist/web/assets/{diagram-ATOU4E4O-D4H9BqUQ.js → diagram-ATOU4E4O-o_vsc8em.js} +1 -1
  66. package/dist/web/assets/{diagram-CDSNMT55-qLgJBiIs.js → diagram-CDSNMT55-eyN9Aru8.js} +1 -1
  67. package/dist/web/assets/{diagram-MLGK6HIB-Bhhvtx0A.js → diagram-MLGK6HIB-Dfjipnvb.js} +1 -1
  68. package/dist/web/assets/{diagram-MPIPVDR6-O4wokd54.js → diagram-MPIPVDR6-C2chocRe.js} +1 -1
  69. package/dist/web/assets/{ebnfDiagram-ZINNZB2B-BRU7SszO.js → ebnfDiagram-ZINNZB2B-CE58dwC-.js} +1 -1
  70. package/dist/web/assets/{elk-276RUBZZ-r0X8f7Sv.js → elk-276RUBZZ-KyTn9aJi.js} +1 -1
  71. package/dist/web/assets/{erDiagram-OPXOYQCR-DbgjsGkX.js → erDiagram-OPXOYQCR-D9aOi7ZD.js} +1 -1
  72. package/dist/web/assets/eventmodeling-NTZA5JFV-7YdTAmVS.js +1 -0
  73. package/dist/web/assets/flowDiagram-KWPJA3E3-eOIiY2oF.js +1 -0
  74. package/dist/web/assets/{ganttDiagram-FUAMR5RP-BwhUglGo.js → ganttDiagram-FUAMR5RP-DRAI6xWM.js} +1 -1
  75. package/dist/web/assets/{gitGraph-4MIJSDKK-DA11BsSo.js → gitGraph-4MIJSDKK-D1lAB6tr.js} +1 -1
  76. package/dist/web/assets/{gitGraphDiagram-X574FWY7-BdG7d-11.js → gitGraphDiagram-X574FWY7-77GVnwya.js} +1 -1
  77. package/dist/web/assets/i18n-C5Xnmkwe.js +1 -0
  78. package/dist/web/assets/index-BqedItFI.js +2 -0
  79. package/dist/web/assets/{index-BatRsx0U.css → index-Dma-RXBR.css} +1 -1
  80. package/dist/web/assets/{info-A6RAGUB7-BxzfvGqu.js → info-A6RAGUB7-Di1qRpwO.js} +1 -1
  81. package/dist/web/assets/{infoDiagram-VRGFBTTK-veq817ut.js → infoDiagram-VRGFBTTK-gceHneJ0.js} +1 -1
  82. package/dist/web/assets/init-app-IHgDyoRH.js +1 -0
  83. package/dist/web/assets/{is-EbmiuVzv.js → is-DssfAlMe.js} +1 -1
  84. package/dist/web/assets/{ishikawaDiagram-OU5B5YK6-DMuzkArR.js → ishikawaDiagram-OU5B5YK6-B9QDQoSG.js} +1 -1
  85. package/dist/web/assets/{journeyDiagram-ZHPQQLJL-Cqj0kbKe.js → journeyDiagram-ZHPQQLJL-CVTMW0pg.js} +1 -1
  86. package/dist/web/assets/{kanban-definition-PNTS6WVX-DUvral0v.js → kanban-definition-PNTS6WVX-TNoWYrUr.js} +1 -1
  87. package/dist/web/assets/{line-DcLaUOyJ.js → line-B_1CHIjZ.js} +1 -1
  88. package/dist/web/assets/{mermaid-parser.core-CY7nVQ2O.js → mermaid-parser.core-LAeoGxkL.js} +3 -3
  89. package/dist/web/assets/{mermaid.core-Cz083qmW.js → mermaid.core-DMppSzfM.js} +7 -7
  90. package/dist/web/assets/{mindmap-definition-NLK3R4M7--Twjhxcv.js → mindmap-definition-NLK3R4M7-DJ-6nTWg.js} +1 -1
  91. package/dist/web/assets/{packet-AYTQ26CC-Csf3Pf50.js → packet-AYTQ26CC-B4tvN4nf.js} +1 -1
  92. package/dist/web/assets/pdf.worker-C2cQdohj.js +48 -0
  93. package/dist/web/assets/{pegDiagram-GJSIUBJH-vVjFUYc4.js → pegDiagram-GJSIUBJH-BwQ6jaVw.js} +1 -1
  94. package/dist/web/assets/{pie-WAS4IAKB-CyUE71ZQ.js → pie-WAS4IAKB-ZwlyCxls.js} +1 -1
  95. package/dist/web/assets/{pieDiagram-5QR66LMP-CV24sdEs.js → pieDiagram-5QR66LMP-BDYLBnB1.js} +1 -1
  96. package/dist/web/assets/pinia-BKoxNmoW.js +1 -0
  97. package/dist/web/assets/{pinia-ri8AYppz.js → pinia-DCsnCHsH.js} +1 -1
  98. package/dist/web/assets/{quadrantDiagram-O4NWA36T-GVAUaTqf.js → quadrantDiagram-O4NWA36T-CkmLCxOG.js} +1 -1
  99. package/dist/web/assets/{radar-RG4KPBEZ-D7YGMFYX.js → radar-RG4KPBEZ-Ca7H5QOY.js} +1 -1
  100. package/dist/web/assets/{railroad-74A4TZTK-BYsDf4cg.js → railroad-74A4TZTK-CX3Z2QYJ.js} +1 -1
  101. package/dist/web/assets/railroad-abnf-HS5TGJTU-DZSn8MK2.js +1 -0
  102. package/dist/web/assets/railroad-ebnf-LZEXJU2U-BVTJtDBq.js +1 -0
  103. package/dist/web/assets/railroad-peg-WCYAUIDC-DMzsNGzj.js +1 -0
  104. package/dist/web/assets/{railroadDiagram-XR7U4H2S-DOyP7Y6B.js → railroadDiagram-XR7U4H2S-D8ii6sM4.js} +1 -1
  105. package/dist/web/assets/{requirementDiagram-PLB6GJNP-C2CJ05_O.js → requirementDiagram-PLB6GJNP-iHY-tE7c.js} +1 -1
  106. package/dist/web/assets/{runtime-core.esm-bundler-CF89Lyp2.js → runtime-core.esm-bundler-BKFI1w28.js} +1 -1
  107. package/dist/web/assets/{safe-storage-BpHrcFXl.js → safe-storage-BCP757jk.js} +1 -1
  108. package/dist/web/assets/{sankeyDiagram-IPEJSGJF-rYUTxo-7.js → sankeyDiagram-IPEJSGJF-CBprSUZk.js} +1 -1
  109. package/dist/web/assets/{sequenceDiagram-PO4LG4MO-Dy-NGv9K.js → sequenceDiagram-PO4LG4MO-BkphpOQ_.js} +1 -1
  110. package/dist/web/assets/{stateDiagram-v2-GCMORJYK-_uEXf3B4.js → stateDiagram-v2-GCMORJYK-HN1RwAPZ.js} +2 -2
  111. package/dist/web/assets/{swimlanes-2SLR337P-CcejXyI9.js → swimlanes-2SLR337P-Cc8jyETz.js} +1 -1
  112. package/dist/web/assets/swimlanesDiagram-TC7HE7FX-BxXXHQ70.js +8 -0
  113. package/dist/web/assets/theme-CPoPdFci.js +1 -0
  114. package/dist/web/assets/{timeline-definition-EJHVYXUP-CSry3jW1.js → timeline-definition-EJHVYXUP-Bas0Ksw6.js} +1 -1
  115. package/dist/web/assets/{treeView-Q6P3EWNA-CUCgNMVi.js → treeView-Q6P3EWNA-Ck-xt3KO.js} +1 -1
  116. package/dist/web/assets/{treemap-WGGIJYW6-BtG_xZt4.js → treemap-WGGIJYW6-k9Ay9d-c.js} +1 -1
  117. package/dist/web/assets/use-app-theme-BfRqhHi_.js +1 -0
  118. package/dist/web/assets/use-panel-width-C9dWftsJ.js +1 -0
  119. package/dist/web/assets/use-server-events-znzHKZZx.js +1 -0
  120. package/dist/web/assets/{use-virtual-scroll-DTEGubei.js → use-virtual-scroll-CIwaJCUj.js} +1 -1
  121. package/dist/web/assets/{usecaseDiagram-POWQR4AR-BY2X6VR2.js → usecaseDiagram-POWQR4AR-BlzYgvXB.js} +1 -1
  122. package/dist/web/assets/{vennDiagram-UO4OBE2U-D-khbRsr.js → vennDiagram-UO4OBE2U-gjloIQdf.js} +1 -1
  123. package/dist/web/assets/{vue-i18n.runtime-BTqPc4vG.js → vue-i18n.runtime-BpRrzZrT.js} +2 -2
  124. package/dist/web/assets/{wardley-WFR3VGLG-BwwTtxgX.js → wardley-WFR3VGLG-BnsYd7B2.js} +1 -1
  125. package/dist/web/assets/{wardleyDiagram-VNRHLVJA-N4eN_Mx8.js → wardleyDiagram-VNRHLVJA-ktflnFLZ.js} +1 -1
  126. package/dist/web/assets/{xychartDiagram-PMCCYNJV-Bp3do5lv.js → xychartDiagram-PMCCYNJV-Ch5MYgz0.js} +1 -1
  127. package/dist/web/index.html +6 -6
  128. package/dist/web/pdfjs/cmaps/78-EUC-H.bcmap +0 -0
  129. package/dist/web/pdfjs/cmaps/78-EUC-V.bcmap +0 -0
  130. package/dist/web/pdfjs/cmaps/78-H.bcmap +0 -0
  131. package/dist/web/pdfjs/cmaps/78-RKSJ-H.bcmap +0 -0
  132. package/dist/web/pdfjs/cmaps/78-RKSJ-V.bcmap +0 -0
  133. package/dist/web/pdfjs/cmaps/78-V.bcmap +0 -0
  134. package/dist/web/pdfjs/cmaps/78ms-RKSJ-H.bcmap +0 -0
  135. package/dist/web/pdfjs/cmaps/78ms-RKSJ-V.bcmap +0 -0
  136. package/dist/web/pdfjs/cmaps/83pv-RKSJ-H.bcmap +0 -0
  137. package/dist/web/pdfjs/cmaps/90ms-RKSJ-H.bcmap +0 -0
  138. package/dist/web/pdfjs/cmaps/90ms-RKSJ-V.bcmap +0 -0
  139. package/dist/web/pdfjs/cmaps/90msp-RKSJ-H.bcmap +0 -0
  140. package/dist/web/pdfjs/cmaps/90msp-RKSJ-V.bcmap +0 -0
  141. package/dist/web/pdfjs/cmaps/90pv-RKSJ-H.bcmap +0 -0
  142. package/dist/web/pdfjs/cmaps/90pv-RKSJ-V.bcmap +0 -0
  143. package/dist/web/pdfjs/cmaps/Add-H.bcmap +0 -0
  144. package/dist/web/pdfjs/cmaps/Add-RKSJ-H.bcmap +0 -0
  145. package/dist/web/pdfjs/cmaps/Add-RKSJ-V.bcmap +0 -0
  146. package/dist/web/pdfjs/cmaps/Add-V.bcmap +0 -0
  147. package/dist/web/pdfjs/cmaps/Adobe-CNS1-0.bcmap +0 -0
  148. package/dist/web/pdfjs/cmaps/Adobe-CNS1-1.bcmap +0 -0
  149. package/dist/web/pdfjs/cmaps/Adobe-CNS1-2.bcmap +0 -0
  150. package/dist/web/pdfjs/cmaps/Adobe-CNS1-3.bcmap +0 -0
  151. package/dist/web/pdfjs/cmaps/Adobe-CNS1-4.bcmap +0 -0
  152. package/dist/web/pdfjs/cmaps/Adobe-CNS1-5.bcmap +0 -0
  153. package/dist/web/pdfjs/cmaps/Adobe-CNS1-6.bcmap +0 -0
  154. package/dist/web/pdfjs/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
  155. package/dist/web/pdfjs/cmaps/Adobe-GB1-0.bcmap +0 -0
  156. package/dist/web/pdfjs/cmaps/Adobe-GB1-1.bcmap +0 -0
  157. package/dist/web/pdfjs/cmaps/Adobe-GB1-2.bcmap +0 -0
  158. package/dist/web/pdfjs/cmaps/Adobe-GB1-3.bcmap +0 -0
  159. package/dist/web/pdfjs/cmaps/Adobe-GB1-4.bcmap +0 -0
  160. package/dist/web/pdfjs/cmaps/Adobe-GB1-5.bcmap +0 -0
  161. package/dist/web/pdfjs/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
  162. package/dist/web/pdfjs/cmaps/Adobe-Japan1-0.bcmap +0 -0
  163. package/dist/web/pdfjs/cmaps/Adobe-Japan1-1.bcmap +0 -0
  164. package/dist/web/pdfjs/cmaps/Adobe-Japan1-2.bcmap +0 -0
  165. package/dist/web/pdfjs/cmaps/Adobe-Japan1-3.bcmap +0 -0
  166. package/dist/web/pdfjs/cmaps/Adobe-Japan1-4.bcmap +0 -0
  167. package/dist/web/pdfjs/cmaps/Adobe-Japan1-5.bcmap +0 -0
  168. package/dist/web/pdfjs/cmaps/Adobe-Japan1-6.bcmap +0 -0
  169. package/dist/web/pdfjs/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
  170. package/dist/web/pdfjs/cmaps/Adobe-Korea1-0.bcmap +0 -0
  171. package/dist/web/pdfjs/cmaps/Adobe-Korea1-1.bcmap +0 -0
  172. package/dist/web/pdfjs/cmaps/Adobe-Korea1-2.bcmap +0 -0
  173. package/dist/web/pdfjs/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
  174. package/dist/web/pdfjs/cmaps/B5-H.bcmap +0 -0
  175. package/dist/web/pdfjs/cmaps/B5-V.bcmap +0 -0
  176. package/dist/web/pdfjs/cmaps/B5pc-H.bcmap +0 -0
  177. package/dist/web/pdfjs/cmaps/B5pc-V.bcmap +0 -0
  178. package/dist/web/pdfjs/cmaps/CNS-EUC-H.bcmap +0 -0
  179. package/dist/web/pdfjs/cmaps/CNS-EUC-V.bcmap +0 -0
  180. package/dist/web/pdfjs/cmaps/CNS1-H.bcmap +0 -0
  181. package/dist/web/pdfjs/cmaps/CNS1-V.bcmap +0 -0
  182. package/dist/web/pdfjs/cmaps/CNS2-H.bcmap +0 -0
  183. package/dist/web/pdfjs/cmaps/CNS2-V.bcmap +3 -0
  184. package/dist/web/pdfjs/cmaps/ETHK-B5-H.bcmap +0 -0
  185. package/dist/web/pdfjs/cmaps/ETHK-B5-V.bcmap +0 -0
  186. package/dist/web/pdfjs/cmaps/ETen-B5-H.bcmap +0 -0
  187. package/dist/web/pdfjs/cmaps/ETen-B5-V.bcmap +0 -0
  188. package/dist/web/pdfjs/cmaps/ETenms-B5-H.bcmap +3 -0
  189. package/dist/web/pdfjs/cmaps/ETenms-B5-V.bcmap +0 -0
  190. package/dist/web/pdfjs/cmaps/EUC-H.bcmap +0 -0
  191. package/dist/web/pdfjs/cmaps/EUC-V.bcmap +0 -0
  192. package/dist/web/pdfjs/cmaps/Ext-H.bcmap +0 -0
  193. package/dist/web/pdfjs/cmaps/Ext-RKSJ-H.bcmap +0 -0
  194. package/dist/web/pdfjs/cmaps/Ext-RKSJ-V.bcmap +0 -0
  195. package/dist/web/pdfjs/cmaps/Ext-V.bcmap +0 -0
  196. package/dist/web/pdfjs/cmaps/GB-EUC-H.bcmap +0 -0
  197. package/dist/web/pdfjs/cmaps/GB-EUC-V.bcmap +0 -0
  198. package/dist/web/pdfjs/cmaps/GB-H.bcmap +4 -0
  199. package/dist/web/pdfjs/cmaps/GB-V.bcmap +0 -0
  200. package/dist/web/pdfjs/cmaps/GBK-EUC-H.bcmap +0 -0
  201. package/dist/web/pdfjs/cmaps/GBK-EUC-V.bcmap +0 -0
  202. package/dist/web/pdfjs/cmaps/GBK2K-H.bcmap +0 -0
  203. package/dist/web/pdfjs/cmaps/GBK2K-V.bcmap +0 -0
  204. package/dist/web/pdfjs/cmaps/GBKp-EUC-H.bcmap +0 -0
  205. package/dist/web/pdfjs/cmaps/GBKp-EUC-V.bcmap +0 -0
  206. package/dist/web/pdfjs/cmaps/GBT-EUC-H.bcmap +0 -0
  207. package/dist/web/pdfjs/cmaps/GBT-EUC-V.bcmap +0 -0
  208. package/dist/web/pdfjs/cmaps/GBT-H.bcmap +0 -0
  209. package/dist/web/pdfjs/cmaps/GBT-V.bcmap +0 -0
  210. package/dist/web/pdfjs/cmaps/GBTpc-EUC-H.bcmap +0 -0
  211. package/dist/web/pdfjs/cmaps/GBTpc-EUC-V.bcmap +0 -0
  212. package/dist/web/pdfjs/cmaps/GBpc-EUC-H.bcmap +0 -0
  213. package/dist/web/pdfjs/cmaps/GBpc-EUC-V.bcmap +0 -0
  214. package/dist/web/pdfjs/cmaps/H.bcmap +0 -0
  215. package/dist/web/pdfjs/cmaps/HKdla-B5-H.bcmap +0 -0
  216. package/dist/web/pdfjs/cmaps/HKdla-B5-V.bcmap +0 -0
  217. package/dist/web/pdfjs/cmaps/HKdlb-B5-H.bcmap +0 -0
  218. package/dist/web/pdfjs/cmaps/HKdlb-B5-V.bcmap +0 -0
  219. package/dist/web/pdfjs/cmaps/HKgccs-B5-H.bcmap +0 -0
  220. package/dist/web/pdfjs/cmaps/HKgccs-B5-V.bcmap +0 -0
  221. package/dist/web/pdfjs/cmaps/HKm314-B5-H.bcmap +0 -0
  222. package/dist/web/pdfjs/cmaps/HKm314-B5-V.bcmap +0 -0
  223. package/dist/web/pdfjs/cmaps/HKm471-B5-H.bcmap +0 -0
  224. package/dist/web/pdfjs/cmaps/HKm471-B5-V.bcmap +0 -0
  225. package/dist/web/pdfjs/cmaps/HKscs-B5-H.bcmap +0 -0
  226. package/dist/web/pdfjs/cmaps/HKscs-B5-V.bcmap +0 -0
  227. package/dist/web/pdfjs/cmaps/Hankaku.bcmap +0 -0
  228. package/dist/web/pdfjs/cmaps/Hiragana.bcmap +0 -0
  229. package/dist/web/pdfjs/cmaps/KSC-EUC-H.bcmap +0 -0
  230. package/dist/web/pdfjs/cmaps/KSC-EUC-V.bcmap +0 -0
  231. package/dist/web/pdfjs/cmaps/KSC-H.bcmap +0 -0
  232. package/dist/web/pdfjs/cmaps/KSC-Johab-H.bcmap +0 -0
  233. package/dist/web/pdfjs/cmaps/KSC-Johab-V.bcmap +0 -0
  234. package/dist/web/pdfjs/cmaps/KSC-V.bcmap +0 -0
  235. package/dist/web/pdfjs/cmaps/KSCms-UHC-H.bcmap +0 -0
  236. package/dist/web/pdfjs/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
  237. package/dist/web/pdfjs/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
  238. package/dist/web/pdfjs/cmaps/KSCms-UHC-V.bcmap +0 -0
  239. package/dist/web/pdfjs/cmaps/KSCpc-EUC-H.bcmap +0 -0
  240. package/dist/web/pdfjs/cmaps/KSCpc-EUC-V.bcmap +0 -0
  241. package/dist/web/pdfjs/cmaps/Katakana.bcmap +0 -0
  242. package/dist/web/pdfjs/cmaps/LICENSE +36 -0
  243. package/dist/web/pdfjs/cmaps/NWP-H.bcmap +0 -0
  244. package/dist/web/pdfjs/cmaps/NWP-V.bcmap +0 -0
  245. package/dist/web/pdfjs/cmaps/RKSJ-H.bcmap +0 -0
  246. package/dist/web/pdfjs/cmaps/RKSJ-V.bcmap +0 -0
  247. package/dist/web/pdfjs/cmaps/Roman.bcmap +0 -0
  248. package/dist/web/pdfjs/cmaps/UniCNS-UCS2-H.bcmap +0 -0
  249. package/dist/web/pdfjs/cmaps/UniCNS-UCS2-V.bcmap +0 -0
  250. package/dist/web/pdfjs/cmaps/UniCNS-UTF16-H.bcmap +0 -0
  251. package/dist/web/pdfjs/cmaps/UniCNS-UTF16-V.bcmap +0 -0
  252. package/dist/web/pdfjs/cmaps/UniCNS-UTF32-H.bcmap +0 -0
  253. package/dist/web/pdfjs/cmaps/UniCNS-UTF32-V.bcmap +0 -0
  254. package/dist/web/pdfjs/cmaps/UniCNS-UTF8-H.bcmap +0 -0
  255. package/dist/web/pdfjs/cmaps/UniCNS-UTF8-V.bcmap +0 -0
  256. package/dist/web/pdfjs/cmaps/UniGB-UCS2-H.bcmap +0 -0
  257. package/dist/web/pdfjs/cmaps/UniGB-UCS2-V.bcmap +0 -0
  258. package/dist/web/pdfjs/cmaps/UniGB-UTF16-H.bcmap +0 -0
  259. package/dist/web/pdfjs/cmaps/UniGB-UTF16-V.bcmap +0 -0
  260. package/dist/web/pdfjs/cmaps/UniGB-UTF32-H.bcmap +0 -0
  261. package/dist/web/pdfjs/cmaps/UniGB-UTF32-V.bcmap +0 -0
  262. package/dist/web/pdfjs/cmaps/UniGB-UTF8-H.bcmap +0 -0
  263. package/dist/web/pdfjs/cmaps/UniGB-UTF8-V.bcmap +0 -0
  264. package/dist/web/pdfjs/cmaps/UniJIS-UCS2-H.bcmap +0 -0
  265. package/dist/web/pdfjs/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
  266. package/dist/web/pdfjs/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
  267. package/dist/web/pdfjs/cmaps/UniJIS-UCS2-V.bcmap +0 -0
  268. package/dist/web/pdfjs/cmaps/UniJIS-UTF16-H.bcmap +0 -0
  269. package/dist/web/pdfjs/cmaps/UniJIS-UTF16-V.bcmap +0 -0
  270. package/dist/web/pdfjs/cmaps/UniJIS-UTF32-H.bcmap +0 -0
  271. package/dist/web/pdfjs/cmaps/UniJIS-UTF32-V.bcmap +0 -0
  272. package/dist/web/pdfjs/cmaps/UniJIS-UTF8-H.bcmap +0 -0
  273. package/dist/web/pdfjs/cmaps/UniJIS-UTF8-V.bcmap +0 -0
  274. package/dist/web/pdfjs/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
  275. package/dist/web/pdfjs/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
  276. package/dist/web/pdfjs/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
  277. package/dist/web/pdfjs/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
  278. package/dist/web/pdfjs/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
  279. package/dist/web/pdfjs/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
  280. package/dist/web/pdfjs/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
  281. package/dist/web/pdfjs/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
  282. package/dist/web/pdfjs/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
  283. package/dist/web/pdfjs/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
  284. package/dist/web/pdfjs/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
  285. package/dist/web/pdfjs/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
  286. package/dist/web/pdfjs/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
  287. package/dist/web/pdfjs/cmaps/UniKS-UCS2-H.bcmap +0 -0
  288. package/dist/web/pdfjs/cmaps/UniKS-UCS2-V.bcmap +0 -0
  289. package/dist/web/pdfjs/cmaps/UniKS-UTF16-H.bcmap +0 -0
  290. package/dist/web/pdfjs/cmaps/UniKS-UTF16-V.bcmap +0 -0
  291. package/dist/web/pdfjs/cmaps/UniKS-UTF32-H.bcmap +0 -0
  292. package/dist/web/pdfjs/cmaps/UniKS-UTF32-V.bcmap +0 -0
  293. package/dist/web/pdfjs/cmaps/UniKS-UTF8-H.bcmap +0 -0
  294. package/dist/web/pdfjs/cmaps/UniKS-UTF8-V.bcmap +0 -0
  295. package/dist/web/pdfjs/cmaps/V.bcmap +0 -0
  296. package/dist/web/pdfjs/cmaps/WP-Symbol.bcmap +0 -0
  297. package/dist/web/pdfjs/standard_fonts/FoxitDingbats.pfb +0 -0
  298. package/dist/web/pdfjs/standard_fonts/FoxitFixed.pfb +0 -0
  299. package/dist/web/pdfjs/standard_fonts/FoxitFixedBold.pfb +0 -0
  300. package/dist/web/pdfjs/standard_fonts/FoxitFixedBoldItalic.pfb +0 -0
  301. package/dist/web/pdfjs/standard_fonts/FoxitFixedItalic.pfb +0 -0
  302. package/dist/web/pdfjs/standard_fonts/FoxitSerif.pfb +0 -0
  303. package/dist/web/pdfjs/standard_fonts/FoxitSerifBold.pfb +0 -0
  304. package/dist/web/pdfjs/standard_fonts/FoxitSerifBoldItalic.pfb +0 -0
  305. package/dist/web/pdfjs/standard_fonts/FoxitSerifItalic.pfb +0 -0
  306. package/dist/web/pdfjs/standard_fonts/FoxitSymbol.pfb +0 -0
  307. package/dist/web/pdfjs/standard_fonts/LICENSE_FOXIT +27 -0
  308. package/dist/web/pdfjs/standard_fonts/LICENSE_LIBERATION +363 -0
  309. package/dist/web/pdfjs/standard_fonts/LiberationSans-Bold.ttf +0 -0
  310. package/dist/web/pdfjs/standard_fonts/LiberationSans-BoldItalic.ttf +0 -0
  311. package/dist/web/pdfjs/standard_fonts/LiberationSans-Italic.ttf +0 -0
  312. package/dist/web/pdfjs/standard_fonts/LiberationSans-Regular.ttf +0 -0
  313. package/dist/web/pdfjs/wasm/LICENSE_JBIG2 +196 -0
  314. package/dist/web/pdfjs/wasm/LICENSE_OPENJPEG +39 -0
  315. package/dist/web/pdfjs/wasm/LICENSE_PDFJS_JBIG2 +13 -0
  316. package/dist/web/pdfjs/wasm/LICENSE_PDFJS_OPENJPEG +22 -0
  317. package/dist/web/pdfjs/wasm/LICENSE_PDFJS_QCMS +19 -0
  318. package/dist/web/pdfjs/wasm/LICENSE_QCMS +21 -0
  319. package/dist/web/pdfjs/wasm/jbig2.wasm +0 -0
  320. package/dist/web/pdfjs/wasm/jbig2_nowasm_fallback.js +15 -0
  321. package/dist/web/pdfjs/wasm/openjpeg.wasm +0 -0
  322. package/dist/web/pdfjs/wasm/openjpeg_nowasm_fallback.js +17 -0
  323. package/dist/web/pdfjs/wasm/qcms_bg.wasm +0 -0
  324. package/dist/web/pdfjs/wasm/quickjs-eval.js +16 -0
  325. package/dist/web/pdfjs/wasm/quickjs-eval.wasm +0 -0
  326. package/package.json +3 -1
  327. package/dist/web/assets/CreateReviewFabButton-B737aIvn.js +0 -1
  328. package/dist/web/assets/IndexPage-DzlFTw_b.js +0 -1
  329. package/dist/web/assets/IndexPage-u_qqIPRL.css +0 -1
  330. package/dist/web/assets/MainLayout-DaSyo22r.js +0 -8
  331. package/dist/web/assets/MainLayout-DoniW026.css +0 -1
  332. package/dist/web/assets/QSelect-713AWDd_.js +0 -1
  333. package/dist/web/assets/QSpace-BLu5AyZv.css +0 -1
  334. package/dist/web/assets/QSpace-BVBU-0oC.js +0 -17
  335. package/dist/web/assets/ReviewDetailPage-CLM6aU4u.js +0 -1
  336. package/dist/web/assets/ReviewDetailPage-CP6YqXPT.css +0 -1
  337. package/dist/web/assets/ReviewsPage-bllnaoOS.js +0 -1
  338. package/dist/web/assets/StatusSwitcher-BZ4FYVnY.js +0 -2
  339. package/dist/web/assets/StatusSwitcher-BxRuEHHQ.css +0 -1
  340. package/dist/web/assets/TerminalView-Ci9CNTyY.js +0 -19
  341. package/dist/web/assets/agent-store-DIma0R4U.js +0 -1
  342. package/dist/web/assets/app-info-store-BzsJOxVc.js +0 -1
  343. package/dist/web/assets/architecture-7GRP2DOG-DG6nf_hE.js +0 -1
  344. package/dist/web/assets/channel-CS4rbjhf.js +0 -1
  345. package/dist/web/assets/create-CSUVwdx4.js +0 -1
  346. package/dist/web/assets/eventmodeling-NTZA5JFV-1Q8-FsiO.js +0 -1
  347. package/dist/web/assets/export-file-Di_2jvjP.js +0 -1
  348. package/dist/web/assets/flowDiagram-KWPJA3E3-BbwsRPsv.js +0 -1
  349. package/dist/web/assets/i18n-D1K2AGeW.js +0 -1
  350. package/dist/web/assets/index-DuCIKkvf.js +0 -2
  351. package/dist/web/assets/init-app-DKRVN8HV.js +0 -1
  352. package/dist/web/assets/pinia-UjhgYLzw.js +0 -1
  353. package/dist/web/assets/railroad-abnf-HS5TGJTU-Bg7f5Sbu.js +0 -1
  354. package/dist/web/assets/railroad-ebnf-LZEXJU2U-ufUodNib.js +0 -1
  355. package/dist/web/assets/railroad-peg-WCYAUIDC-YvUtEf_g.js +0 -1
  356. package/dist/web/assets/swimlanesDiagram-TC7HE7FX-I9_cJ2VX.js +0 -8
  357. package/dist/web/assets/theme-Dv0yhgRD.js +0 -1
  358. package/dist/web/assets/use-app-theme-CSRcIN0e.js +0 -1
  359. package/dist/web/assets/use-panel-width-DNg6NE2M.js +0 -1
  360. package/dist/web/assets/use-server-events-CYiRauy1.js +0 -1
@@ -1,17 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/mermaid.core-Cz083qmW.js","assets/index-DuCIKkvf.js","assets/runtime-core.esm-bundler-CF89Lyp2.js","assets/QBtn-Bgm40omM.js","assets/event-rR76ioXz.js","assets/create-CSUVwdx4.js","assets/is-EbmiuVzv.js","assets/debounce-rZaFFwsz.js","assets/index-BatRsx0U.css","assets/chunk-Y2CYZVJY-DsF7k-Jl.js","assets/src-oBChb5qS.js","assets/rolldown-runtime-Dd_uD5pT.js","assets/chunk-O7XYJQB3-BNcB0oiZ.js","assets/chunk-ZIGJFQKS-y4KHfdEv.js","assets/dist-B_J_HbC0.js","assets/chunk-742MDFTN-8MczzxE2.js","assets/chunk-MBY4JIJT-B8XJMHG2.js","assets/chunk-DUW6YSOI-Dgx8z5s3.js","assets/chunk-7PRAP22T-BaAw-gEj.js","assets/chunk-7INBJB4K-BdS9oIIG.js","assets/chunk-J5ZVWO5B-oDCd-gWO.js","assets/rough.esm-Dy-Kn_BL.js","assets/chunk-5DYCD2WN-BhyMEDuJ.js","assets/chunk-Z7XXMR3K-DP2k1Ci5.js","assets/line-DcLaUOyJ.js","assets/path-fybaL0A-.js","assets/array-BifhSqXX.js","assets/chunk-UA2S7LBM-CS5CtIsj.js"])))=>i.map(i=>d[i]);
2
- import{n as e}from"./rolldown-runtime-Dd_uD5pT.js";import{A as t,C as n,Et as r,J as i,K as a,L as o,O as s,Ot as c,P as l,T as u,U as d,W as f,Y as p,_ as m,b as h,c as g,d as _,dt as v,ft as y,h as b,j as x,l as S,m as C,s as ee,st as w,v as te}from"./runtime-core.esm-bundler-CF89Lyp2.js";import{D as ne,H as re,_ as ie,t as ae}from"./QBtn-Bgm40omM.js";import{a as oe}from"./event-rR76ioXz.js";import{t as se}from"./create-CSUVwdx4.js";import{t as ce}from"./debounce-rZaFFwsz.js";import{F as le,R as ue,X as de,_ as fe,g as pe,h as me,m as T,v as he,y as ge}from"./index-DuCIKkvf.js";import{n as _e}from"./vue-i18n.runtime-BTqPc4vG.js";import{s as ve}from"./use-server-events-CYiRauy1.js";import{f as ye,r as be}from"./QBadge-BY-jTQ8w.js";import{t as xe}from"./_plugin-vue_export-helper-BDNMzG2s.js";function Se(e,t){this.v=e,this.k=t}function Ce(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function E(e){if(Array.isArray(e))return e}function we(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function D(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
3
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Te(e,t){return E(e)||we(e,t)||O(e,t)||D()}function O(e,t){if(e){if(typeof e==`string`)return Ce(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ce(e,t):void 0}}function Ee(e){var t,n;function r(t,n){try{var a=e[t](n),o=a.value,s=o instanceof Se;Promise.resolve(s?o.v:o).then(function(n){if(s){var c=t===`return`&&o.k?t:`next`;if(!o.k||n.done)return r(c,n);n=e[c](n).value}i(!!a.done,n)},function(e){r(`throw`,e)})}catch(e){i(2,e)}}function i(e,i){e===2?t.reject(i):t.resolve({value:i,done:e}),(t=t.next)?r(t.key,t.arg):n=null}this._invoke=function(e,i){return new Promise(function(a,o){var s={key:e,arg:i,resolve:a,reject:o,next:null};n?n=n.next=s:(t=n=s,r(e,i))})},typeof e.return!=`function`&&(this.return=void 0)}Ee.prototype[typeof Symbol==`function`&&Symbol.asyncIterator||`@@asyncIterator`]=function(){return this},Ee.prototype.next=function(e){return this._invoke(`next`,e)},Ee.prototype.throw=function(e){return this._invoke(`throw`,e)},Ee.prototype.return=function(e){return this._invoke(`return`,e)};var De=Object.entries,Oe=Object.setPrototypeOf,ke=Object.isFrozen,Ae=Object.getPrototypeOf,je=Object.getOwnPropertyDescriptor,k=Object.freeze,A=Object.seal,Me=Object.create,Ne=typeof Reflect<`u`&&Reflect,Pe=Ne.apply,j=Ne.construct;k||=function(e){return e},A||=function(e){return e},Pe||=function(e,t){var n=[...arguments].slice(2);return e.apply(t,n)},j||=function(e){return new e(...[...arguments].slice(1))};var Fe=F(Array.prototype.forEach);Array.prototype.indexOf;var Ie=F(Array.prototype.lastIndexOf),Le=F(Array.prototype.pop),Re=F(Array.prototype.push);Array.prototype.slice;var ze=F(Array.prototype.splice),Be=Array.isArray,Ve=F(String.prototype.toLowerCase),He=F(String.prototype.toString),Ue=F(String.prototype.match),We=F(String.prototype.replace),Ge=F(String.prototype.indexOf),Ke=F(String.prototype.trim),qe=F(Number.prototype.toString),Je=F(Boolean.prototype.toString),Ye=typeof BigInt>`u`?null:F(BigInt.prototype.toString),Xe=typeof Symbol>`u`?null:F(Symbol.prototype.toString),M=F(Object.prototype.hasOwnProperty),N=F(Object.prototype.toString),P=F(RegExp.prototype.test),Ze=Qe(TypeError);function F(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);var n=[...arguments].slice(1);return Pe(e,t,n)}}function Qe(e){return function(){return j(e,[...arguments])}}function I(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ve;if(Oe&&Oe(e,null),!Be(t))return e;let r=t.length;for(;r--;){let i=t[r];if(typeof i==`string`){let e=n(i);e!==i&&(ke(t)||(t[r]=e),i=e)}e[i]=!0}return e}function $e(e){for(let t=0;t<e.length;t++)M(e,t)||(e[t]=null);return e}function L(e){let t=Me(null);for(let r of De(e)){var n=Te(r,2);let i=n[0],a=n[1];M(e,i)&&(t[i]=Be(a)?$e(a):a&&typeof a==`object`&&a.constructor===Object?L(a):a)}return t}function et(e){switch(typeof e){case`string`:return e;case`number`:return qe(e);case`boolean`:return Je(e);case`bigint`:return Ye?Ye(e):`0`;case`symbol`:return Xe?Xe(e):`Symbol()`;case`undefined`:return N(e);case`function`:case`object`:{if(e===null)return N(e);let t=e,n=R(t,`toString`);if(typeof n==`function`){let e=n(t);return typeof e==`string`?e:N(e)}return N(e)}default:return N(e)}}function R(e,t){for(;e!==null;){let n=je(e,t);if(n){if(n.get)return F(n.get);if(typeof n.value==`function`)return F(n.value)}e=Ae(e)}function n(){return null}return n}function tt(e){try{return P(e,``),!0}catch{return!1}}var nt=k(`a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr`.split(`.`)),rt=k(`svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern`.split(`.`)),it=k([`feBlend`,`feColorMatrix`,`feComponentTransfer`,`feComposite`,`feConvolveMatrix`,`feDiffuseLighting`,`feDisplacementMap`,`feDistantLight`,`feDropShadow`,`feFlood`,`feFuncA`,`feFuncB`,`feFuncG`,`feFuncR`,`feGaussianBlur`,`feImage`,`feMerge`,`feMergeNode`,`feMorphology`,`feOffset`,`fePointLight`,`feSpecularLighting`,`feSpotLight`,`feTile`,`feTurbulence`]),at=k([`animate`,`color-profile`,`cursor`,`discard`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`foreignobject`,`hatch`,`hatchpath`,`mesh`,`meshgradient`,`meshpatch`,`meshrow`,`missing-glyph`,`script`,`set`,`solidcolor`,`unknown`,`use`]),ot=k(`math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts`.split(`.`)),st=k([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),ct=k([`#text`]),lt=k(`accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns`.split(`.`)),ut=k(`accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dominant-baseline.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.pointer-events.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-orientation.text-rendering.textlength.type.u1.u2.unicode.values.vector-effect.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan`.split(`.`)),dt=k(`accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns`.split(`.`)),ft=k([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),pt=A(/{{[\w\W]*|^[\w\W]*}}/g),mt=A(/<%[\w\W]*|^[\w\W]*%>/g),ht=A(/\${[\w\W]*/g),gt=A(/^data-[\-\w.\u00B7-\uFFFF]+$/),_t=A(/^aria-[\-\w]+$/),vt=A(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),yt=A(/^(?:\w+script|data):/i),bt=A(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),xt=A(/^html$/i),St=A(/^[a-z][.\w]*(-[.\w]+)+$/i),Ct=A(/<[/\w!]/g),wt=A(/<[/\w]/g),Tt=A(/<\/no(script|embed|frames)/i),Et=A(/\/>/i),z={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Dt=[`style`,`script`,`xmp`,`iframe`,`noembed`,`noframes`,`plaintext`,`noscript`],Ot=k(I({},Dt)),kt=function(){let e={};return Fe(Dt,t=>{e[t]=A(RegExp(`</`+t+`(?=[\\t\\n\\f\\r />])`,`i`))}),k(e)}(),At=function(){return typeof window>`u`?null:window},jt=function(e,t){if(typeof e!=`object`||typeof e.createPolicy!=`function`)return null;let n=null,r=`data-tt-policy-suffix`;t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i=`dompurify`+(n?`#`+n:``);try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch{return console.warn(`TrustedTypes policy `+i+` could not be created.`),null}},Mt=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},Nt=function(e,t,n,r){return M(e,t)&&Be(e[t])?I(r.base?L(r.base):{},e[t],r.transform):n},Pt=function(e,t,n){let r=M(e,t)?e[t]:void 0;return r&&typeof r==`object`?L(r):n()};function Ft(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:At(),t=e=>Ft(e);if(t.version=`3.4.16`,t.removed=[],!e||!e.document||e.document.nodeType!==z.document||!e.Element)return t.isSupported=!1,t;let n=e.document,r=n,i=r.currentScript;e.DocumentFragment;let a=e.HTMLTemplateElement,o=e.Node,s=e.Element,c=e.NodeFilter;e.NamedNodeMap===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;let l=e.DOMParser,u=e.trustedTypes,d=s.prototype,f=R(d,`cloneNode`),p=R(d,`remove`),m=R(d,`removeAttributeNode`),h=R(d,`nextSibling`),g=R(d,`childNodes`),_=R(d,`parentNode`),v=R(d,`shadowRoot`),y=R(d,`attributes`),b=o&&o.prototype?R(o.prototype,`nodeType`):null,x=o&&o.prototype?R(o.prototype,`nodeName`):null,S=o&&o.prototype?R(o.prototype,`ownerDocument`):null,C=function(e){return b?b(e):e.nodeType},ee=function(e){return x?x(e):e.nodeName};if(typeof a==`function`){let e=n.createElement(`template`);e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let w,te=``,ne,re=!1,ie=0,ae=function(){if(ie>0)throw Ze(`A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.`)},oe=function(e){ae(),ie++;try{return w.createHTML(e)}finally{ie--}},se=function(e){ae(),ie++;try{return w.createScriptURL(e)}finally{ie--}},ce=function(){return re||=(ne=jt(u,i),!0),ne},le=n,ue=le.implementation,de=le.createNodeIterator,fe=le.createDocumentFragment,pe=le.getElementsByTagName,me=r.importNode,T=Mt();t.isSupported=typeof De==`function`&&typeof _==`function`&&ue&&ue.createHTMLDocument!==void 0;let he=pt,ge=mt,_e=ht,ve=gt,ye=_t,be=yt,xe=bt,Se=St,Ce=vt,E=null,we=I({},[...nt,...rt,...it,...ot,...ct]),D=null,Te=I({},[...lt,...ut,...dt,...ft]),O=Object.seal(Me(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ee=null,Oe=null,ke=Object.seal(Me(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),Ae=!0,je=!0,Ne=!1,Pe=!0,j=!1,qe=!0,Je=!1,Ye=!1,Xe=null,N=null,F=!1,Qe=!1,$e=!1,Dt=!1,It=!0,Lt=!1,Rt=`user-content-`,zt=!0,Bt=!1,Vt={},Ht=null,Ut=I({},`annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp`.split(`.`)),Wt=null,Gt=I({},[`audio`,`video`,`img`,`source`,`image`,`track`]),Kt=null,qt=I({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),Jt=`http://www.w3.org/1998/Math/MathML`,Yt=`http://www.w3.org/2000/svg`,B=`http://www.w3.org/1999/xhtml`,Xt=B,Zt=!1,Qt=null,$t=I({},[Jt,Yt,B],He),en=k([`mi`,`mo`,`mn`,`ms`,`mtext`]),tn=I({},en),nn=k([`annotation-xml`]),V=I({},nn),rn=I({},[`title`,`style`,`font`,`a`,`script`]),an=null,H=[`application/xhtml+xml`,`text/html`],U=null,W=null,on=n.createElement(`form`),sn=function(e){return e instanceof RegExp||e instanceof Function},cn=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(W&&W===e)return;(!e||typeof e!=`object`)&&(e={}),e=L(e),an=H.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,U=an===`application/xhtml+xml`?He:Ve,E=Nt(e,`ALLOWED_TAGS`,we,{transform:U}),D=Nt(e,`ALLOWED_ATTR`,Te,{transform:U}),Qt=Nt(e,`ALLOWED_NAMESPACES`,$t,{transform:He}),Kt=Nt(e,`ADD_URI_SAFE_ATTR`,qt,{transform:U,base:qt}),Wt=Nt(e,`ADD_DATA_URI_TAGS`,Gt,{transform:U,base:Gt}),Ht=Nt(e,`FORBID_CONTENTS`,Ut,{transform:U}),Ee=Nt(e,`FORBID_TAGS`,L({}),{transform:U}),Oe=Nt(e,`FORBID_ATTR`,L({}),{transform:U}),Vt=M(e,`USE_PROFILES`)?e.USE_PROFILES&&typeof e.USE_PROFILES==`object`?L(e.USE_PROFILES):e.USE_PROFILES:!1,Ae=e.ALLOW_ARIA_ATTR!==!1,je=e.ALLOW_DATA_ATTR!==!1,Ne=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Pe=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,j=e.SAFE_FOR_TEMPLATES||!1,qe=e.SAFE_FOR_XML!==!1,Je=e.WHOLE_DOCUMENT||!1,Qe=e.RETURN_DOM||!1,$e=e.RETURN_DOM_FRAGMENT||!1,Dt=e.RETURN_TRUSTED_TYPE||!1,F=e.FORCE_BODY||!1,It=e.SANITIZE_DOM!==!1,Lt=e.SANITIZE_NAMED_PROPS||!1,zt=e.KEEP_CONTENT!==!1,Bt=e.IN_PLACE||!1,Ce=tt(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:vt,Xt=typeof e.NAMESPACE==`string`?e.NAMESPACE:B,tn=Pt(e,`MATHML_TEXT_INTEGRATION_POINTS`,()=>I({},en)),V=Pt(e,`HTML_INTEGRATION_POINTS`,()=>I({},nn));let t=Pt(e,`CUSTOM_ELEMENT_HANDLING`,()=>Me(null));if(O=Me(null),M(t,`tagNameCheck`)&&sn(t.tagNameCheck)&&(O.tagNameCheck=t.tagNameCheck),M(t,`attributeNameCheck`)&&sn(t.attributeNameCheck)&&(O.attributeNameCheck=t.attributeNameCheck),M(t,`allowCustomizedBuiltInElements`)&&typeof t.allowCustomizedBuiltInElements==`boolean`&&(O.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),A(O),j&&(je=!1),$e&&(Qe=!0),Vt&&(E=I({},ct),D=Me(null),Vt.html===!0&&(I(E,nt),I(D,lt)),Vt.svg===!0&&(I(E,rt),I(D,ut),I(D,ft)),Vt.svgFilters===!0&&(I(E,it),I(D,ut),I(D,ft)),Vt.mathMl===!0&&(I(E,ot),I(D,dt),I(D,ft))),ke.tagCheck=null,ke.attributeCheck=null,M(e,`ADD_TAGS`)&&(typeof e.ADD_TAGS==`function`?ke.tagCheck=e.ADD_TAGS:Be(e.ADD_TAGS)&&(E===we&&(E=L(E)),I(E,e.ADD_TAGS,U))),M(e,`ADD_ATTR`)&&(typeof e.ADD_ATTR==`function`?ke.attributeCheck=e.ADD_ATTR:Be(e.ADD_ATTR)&&(D===Te&&(D=L(D)),I(D,e.ADD_ATTR,U))),M(e,`ADD_FORBID_CONTENTS`)&&Be(e.ADD_FORBID_CONTENTS)&&(Ht===Ut&&(Ht=L(Ht)),I(Ht,e.ADD_FORBID_CONTENTS,U)),zt&&(E[`#text`]=!0),Je&&I(E,[`html`,`head`,`body`]),E.table&&(I(E,[`tbody`]),delete Ee.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw Ze(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw Ze(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);let t=w;w=e.TRUSTED_TYPES_POLICY;try{te=oe(``)}catch(e){throw w=t,e}}else e.TRUSTED_TYPES_POLICY===null?(w=void 0,te=``):(w===void 0&&(w=ce()),w&&typeof te==`string`&&(te=oe(``)));k&&k(e),W=e},ln=I({},[...rt,...it,...at]),un=I({},[...ot,...st]),dn=function(e,t,n){return t.namespaceURI===B?e===`svg`:t.namespaceURI===Jt?e===`svg`&&(n===`annotation-xml`||tn[n]):!!ln[e]},fn=function(e,t,n){return t.namespaceURI===B?e===`math`:t.namespaceURI===Yt?e===`math`&&V[n]:!!un[e]},pn=function(e,t,n){return t.namespaceURI===Yt&&!V[n]||t.namespaceURI===Jt&&!tn[n]?!1:!un[e]&&(rn[e]||!ln[e])},mn=function(e){let t=_(e);(!t||!t.tagName)&&(t={namespaceURI:Xt,tagName:`template`});let n=Ve(e.tagName),r=Ve(t.tagName);return Qt[e.namespaceURI]?e.namespaceURI===Yt?dn(n,t,r):e.namespaceURI===Jt?fn(n,t,r):e.namespaceURI===B?pn(n,t,r):!!(an===`application/xhtml+xml`&&Qt[e.namespaceURI]):!1},hn=function(e){Re(t.removed,{element:e});try{_(e).removeChild(e)}catch{if(p(e),!_(e))throw Ze(`a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place`)}},gn=function(e,t,n){try{m(e,t)}catch{try{e.removeAttribute(n)}catch{}}},_n=function(e){bn(e);let t=g(e);if(t){let e=[];Fe(t,t=>{Re(e,t)}),Fe(e,e=>{try{p(e)}catch{}})}let n=y(e);if(n)for(let t=n.length-1;t>=0;--t){let r=n[t],i=r&&r.name;typeof i==`string`&&gn(e,r,i)}},vn=function(e,n,r){if(!r)try{r=n.getAttributeNode(e)}catch{r=null}Re(t.removed,{attribute:r||null,from:n});try{r?m(n,r):n.removeAttribute(e)}catch{try{n.removeAttribute(e)}catch{}}if(e===`is`){if(Qe||$e)try{hn(n)}catch{}else try{n.setAttribute(e,``)}catch{}}},yn=function(e){let t=y(e);if(t)for(let n=t.length-1;n>=0;--n){let r=t[n],i=r&&r.name;typeof i!=`string`||D[U(i)]||gn(e,r,i)}},bn=function(e){let t=[e];for(;t.length>0;){let e=t.pop();C(e)===z.element&&yn(e);let n=g(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},xn=function(e,t){return qe?e===`patchsrc`||e===`for`&&t!==`label`&&t!==`output`:!1},Sn=function(e){if(!qe)return;let t=[e];for(;t.length>0;){let e=t.pop(),n=C(e);if(n===z.processingInstruction||n===z.comment&&P(wt,e.data)){try{p(e)}catch{}continue}if(n===z.element){let t=e,n=U(ee(e));try{t.hasAttribute&&t.hasAttribute(`patchsrc`)&&t.removeAttribute(`patchsrc`),t.hasAttribute&&t.hasAttribute(`for`)&&xn(`for`,n)&&t.removeAttribute(`for`)}catch{}}let r=g(e);if(r)for(let e=r.length-1;e>=0;--e)t.push(r[e])}},Cn=function(e){let t=null,r=null;if(F)e=`<remove></remove>`+e;else{let t=Ue(e,/^[\r\n\t ]+/);r=t&&t[0]}an===`application/xhtml+xml`&&Xt===B&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=w?oe(e):e;if(Xt===B)try{t=new l().parseFromString(i,an)}catch{}if(!t||!t.documentElement){t=ue.createDocument(Xt,`template`,null);try{t.documentElement.innerHTML=Zt?te:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),Xt===B?pe.call(t,Je?`html`:`body`)[0]:Je?t.documentElement:a},wn=function(e){let t=S?S(e):e.ownerDocument;return de.call(t||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Tn=function(e){return e=We(e,he,` `),e=We(e,ge,` `),e=We(e,_e,` `),e},En=function(e){e.normalize();let t=S?S(e):e.ownerDocument,n=de.call(t||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null),r=n.nextNode();for(;r;)r.data=Tn(r.data),r=n.nextNode();let i=e.querySelectorAll?.call(e,`template`);i&&Fe(i,e=>{On(e.content)&&En(e.content)})},Dn=function(e){let t=x?x(e):null;return typeof t!=`string`||U(t)!==`form`?!1:typeof e.nodeName!=`string`||typeof e.textContent!=`string`||typeof e.removeChild!=`function`||e.attributes!==y(e)||typeof e.removeAttribute!=`function`||typeof e.removeAttributeNode!=`function`||typeof e.getAttributeNode!=`function`||typeof e.setAttribute!=`function`||typeof e.namespaceURI!=`string`||typeof e.insertBefore!=`function`||typeof e.hasChildNodes!=`function`||e.nodeType!==b(e)||e.childNodes!==g(e)},On=function(e){if(!b||typeof e!=`object`||!e)return!1;try{return b(e)===z.documentFragment}catch{return!1}},G=function(e){if(!b||typeof e!=`object`||!e)return!1;try{return typeof b(e)==`number`}catch{return!1}};function K(e,n,r){e.length!==0&&Fe(e,e=>{e.call(t,n,r,W)})}let kn=function(e,t){return!!(qe&&e.hasChildNodes()&&!G(e.firstElementChild)&&P(Ct,e.textContent)&&P(Ct,e.innerHTML)||qe&&e.namespaceURI===B&&Ot[t]&&(G(e.firstElementChild)||typeof e.textContent==`string`&&P(kt[t],e.textContent))||e.nodeType===z.processingInstruction||qe&&e.nodeType===z.comment&&P(wt,e.data))},q=function(e,t){return e instanceof RegExp?P(e,t):e instanceof Function&&!!e(t,...[...arguments].slice(2))},J=function(e,t,n){if(!Ee[t]&&Fn(t)&&q(O.tagNameCheck,t))return!1;if(zt&&!Ht[t]){let t=_(e),r=g(e);if(r&&t){let i=r.length;for(let a=i-1;a>=0;--a){let i=e===n?f(r[a],!0):r[a];t.insertBefore(i,h(e))}}}return hn(e),!0},An=function(e,t,n,r){return e.length===0?t:t===n||t===r?L(t):t},jn=function(e,t){return e===t||_(e)!==null?!1:(Bt&&bn(e),!0)},Mn=function(e,n){if(K(T.beforeSanitizeElements,e,null),jn(e,n))return!0;if(Dn(e))return hn(e),!0;let r=U(ee(e));if(E=An(T.uponSanitizeElement,E,we,Xe),K(T.uponSanitizeElement,e,{tagName:r,allowedTags:E}),jn(e,n))return!0;if(kn(e,r))return hn(e),!0;if(Ee[r]||!(ke.tagCheck instanceof Function&&ke.tagCheck(r))&&!E[r]){let t=J(e,r,n);return t===!1&&(K(T.afterSanitizeElements,e,null),jn(e,n))?!0:t}if(C(e)===z.element&&!mn(e)||(r===`noscript`||r===`noembed`||r===`noframes`)&&P(Tt,e.innerHTML))return hn(e),!0;if(j&&e.nodeType===z.text){let n=Tn(e.textContent);e.textContent!==n&&(Re(t.removed,{element:e.cloneNode()}),e.textContent=n)}return K(T.afterSanitizeElements,e,null),jn(e,n)},Nn=function(e,t,r){if(Oe[t]||xn(t,e)||It&&(t===`id`||t===`name`)&&(r in n||r in on))return!1;let i=D[t]||ke.attributeCheck instanceof Function&&ke.attributeCheck(t,e);return je&&P(ve,t)||Ae&&P(ye,t)?!0:i?Kt[t]||P(Ce,We(r,xe,``))||(t===`src`||t===`xlink:href`||t===`href`)&&e!==`script`&&Ge(r,`data:`)===0&&Wt[e]||Ne&&!P(be,We(r,xe,``))?!0:!r:Fn(e)&&q(O.tagNameCheck,e)&&q(O.attributeNameCheck,t,e)||t===`is`&&O.allowCustomizedBuiltInElements&&q(O.tagNameCheck,r)},Pn=I({},[`annotation-xml`,`color-profile`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`missing-glyph`]),Fn=function(e){return!Pn[Ve(e)]&&P(Se,e)},In=function(e,t,n,r){if(w&&typeof u==`object`&&typeof u.getAttributeType==`function`&&!n)switch(u.getAttributeType(e,t)){case`TrustedHTML`:return oe(r);case`TrustedScriptURL`:return se(r)}return r},Ln=function(e,t,n,r){try{return n?e.setAttributeNS(n,t,r):e.setAttribute(t,r),!Dn(e)||(hn(e),!1)}catch{return vn(t,e),!1}},Rn=function(e,n){if(K(T.beforeSanitizeAttributes,e,null),jn(e,n))return;let r=e.attributes;if(!r||Dn(e))return;D=An(T.uponSanitizeAttribute,D,Te,N);let i={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:D,forceKeepAttr:void 0},a=r.length,o=U(e.nodeName);for(;a--;){let n=r[a],s=n.name,c=n.namespaceURI,l=n.value,u=U(s),d=l,f=s===`value`?d:Ke(d),p=!1;if(i.attrName=u,i.attrValue=f,i.keepAttr=!0,i.forceKeepAttr=void 0,K(T.uponSanitizeAttribute,e,i),f=i.attrValue,Lt&&(u===`id`||u===`name`)&&Ge(f,Rt)!==0&&(vn(s,e,n),f=Rt+f,p=!0),qe&&P(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,f)){vn(s,e,n);continue}if(u===`attributename`&&Ue(f,`href`)){vn(s,e,n);continue}if(!i.forceKeepAttr){if(!i.keepAttr){vn(s,e,n);continue}if(!Pe&&P(Et,f)){vn(s,e,n);continue}if(j&&(f=Tn(f)),!Nn(o,u,f)){vn(s,e,n);continue}f=In(o,u,c,f),f!==d&&Ln(e,s,c,f)&&p&&Le(t.removed)}}K(T.afterSanitizeAttributes,e,null),jn(e,n)},zn=function(e){let t=null,n=wn(e);for(K(T.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(K(T.uponSanitizeShadowNode,t,null),Mn(t,e),Rn(t,e),On(t.content)&&zn(t.content),C(t)===z.element){let e=v(t);On(e)&&(Bn(e),zn(e))}K(T.afterSanitizeShadowDOM,e,null)},Bn=function(e){let t=[{node:e,shadow:null}];for(;t.length>0;){let e=t.pop();if(e.shadow){zn(e.shadow);continue}let n=e.node,r=C(n)===z.element,i=g(n);if(i)for(let e=i.length-1;e>=0;--e)t.push({node:i[e],shadow:null});if(r){let e=x?x(n):null;if(typeof e==`string`&&U(e)===`template`){let e=n.content;On(e)&&t.push({node:e,shadow:null})}}if(r){let e=v(n);On(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return t.sanitize=function(e){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=null,a=null,o=null,s=null;if(Zt=!e,Zt&&(e=`<!-->`),typeof e!=`string`&&!G(e)&&(e=et(e),typeof e!=`string`))throw Ze(`dirty is not a string, aborting`);if(!t.isSupported)return e;Ye?(E=Xe,D=N):cn(n),(T.uponSanitizeElement.length>0||T.uponSanitizeAttribute.length>0)&&(E=L(E)),T.uponSanitizeAttribute.length>0&&(D=L(D)),t.removed=[];let c=Bt&&typeof e!=`string`&&G(e);if(c){Sn(e);let t=ee(e);if(typeof t==`string`){let n=U(t);if(!E[n]||Ee[n])throw _n(e),Ze(`root node is forbidden and cannot be sanitized in-place`)}if(Dn(e))throw _n(e),Ze(`root node is clobbered and cannot be sanitized in-place`);try{Bn(e)}catch(t){throw _n(e),t}}else if(G(e))i=Cn(`<!---->`),a=i.ownerDocument.importNode(e,!0),a.nodeType===z.element&&a.nodeName===`BODY`||a.nodeName===`HTML`?i=a:i.appendChild(a),Bn(i);else{if(!Qe&&!j&&!Je&&e.indexOf(`<`)===-1)return w&&Dt?oe(e):e;if(i=Cn(e),!i)return Qe?null:Dt?te:``}i&&F&&hn(i.firstChild);let l=c?e:i;try{let e=wn(l);for(;o=e.nextNode();)Mn(o,l),Rn(o,l),On(o.content)&&zn(o.content)}catch(n){throw c&&(_n(e),Fe(t.removed,e=>{e.element&&bn(e.element)})),n}if(c){let n=!1;if(Fe(t.removed,t=>{t.element&&(t.element===e&&(n=!0),bn(t.element))}),n)throw Ze(`a node selected for removal could not be safely returned; refusing to sanitize in place`);return j&&En(e),e}if(Qe){if(j&&En(i),$e)for(s=fe.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(D.shadowroot||D.shadowrootmode)&&(s=me.call(r,s,!0)),s}let u=Je?i.outerHTML:i.innerHTML;return Je&&E[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&P(xt,i.ownerDocument.doctype.name)&&(u=`<!DOCTYPE `+i.ownerDocument.doctype.name+`>
4
- `+u),j&&(u=Tn(u)),w&&Dt?oe(u):u},t.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};cn(e),Ye=!0,Xe=E,N=D},t.clearConfig=function(){W=null,Ye=!1,Xe=null,N=null,w=ne,te=``},t.isValidAttribute=function(e,t,n){W||cn({});let r=U(e),i=U(t);return Nn(r,i,n)},t.addHook=function(e,t){typeof t==`function`&&M(T,e)&&Re(T[e],t)},t.removeHook=function(e,t){if(M(T,e)){if(t!==void 0){let n=Ie(T[e],t);return n===-1?void 0:ze(T[e],n,1)[0]}return Le(T[e])}},t.removeHooks=function(e){M(T,e)&&(T[e]=[])},t.removeAllHooks=function(){T=Mt()},t}var It=Ft(),Lt=se({name:`QBanner`,props:{...pe,inlineActions:Boolean,dense:Boolean,rounded:Boolean},setup(e,{slots:t}){let n=ne(),r=me(e,n),i=ee(()=>`q-banner row items-center`+(e.dense?` q-banner--dense`:``)+(r()?` q-banner--dark q-dark`:``)+(e.rounded?` rounded-borders`:``)),a=ee(()=>`q-banner__actions row items-center justify-end col-${e.inlineActions?`auto`:`all`}`);return()=>{let n=[h(`div`,{class:`q-banner__avatar col-auto row items-center self-start`},ie(t.avatar)),h(`div`,{class:`q-banner__content col text-body2`},ie(t.default))],r=ie(t.action);return r!==void 0&&n.push(h(`div`,{class:a.value},r)),h(`div`,{class:i.value+(!e.inlineActions&&r!==void 0?` q-banner--top-padding`:``),role:`alert`},n)}}}),Rt=se({name:`QResizeObserver`,props:{debounce:{type:[String,Number],default:100}},emits:[`resize`],setup(e,{emit:t}){let{proxy:n}=te(),r=w(null),{refreshElementSize:i}=ye(()=>({target:r,debounce:e.debounce,onResize(e){t(`resize`,e)}})),{registerTimeout:a,isTimeoutPending:o}=de();n.trigger=t=>{t===!0||e.debounce===0||e.debounce===`0`?i():o.value||a(i,e.debounce)};let s=e=>{r.value=n.$el.parentNode,r.value===null&&!e&&u(()=>{s(!0)})};return x(()=>{s()}),oe}}),zt={class:`window-header row no-wrap items-center`},Bt={class:`window-header__title col ellipsis`},Vt={class:`preview-dialog__body col`},Ht=xe(m({__name:`PreviewDialog`,props:n({title:{},size:{}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:n([`before-show`,`hide`],[`update:modelValue`]),setup(e,{emit:t}){let n=t,a=d(e,`modelValue`),{t:s}=_e();return(t,u)=>(l(),S(fe,{modelValue:a.value,"onUpdate:modelValue":u[0]||=e=>a.value=e,onBeforeShow:u[1]||=e=>n(`before-show`),onHide:u[2]||=e=>n(`hide`)},{default:i(()=>[b(T,{bordered:``,class:r([`preview-dialog column no-wrap`,`preview-dialog--${e.size??`fit`}`])},{default:i(()=>[g(`div`,zt,[g(`span`,Bt,[C(c(e.title)+` `,1),b(ue,{delay:y(500)},{default:i(()=>[C(c(e.title),1)]),_:1},8,[`delay`])]),p(b(ae,{flat:``,dense:``,size:`sm`,class:`window-header__control`,icon:`close`,"aria-label":y(s)(`changes.closePreview`)},null,8,[`aria-label`]),[[be]])]),g(`div`,Vt,[o(t.$slots,`default`,{},void 0,!0)])]),_:3},8,[`class`])]),_:3},8,[`modelValue`]))}}),[[`__scopeId`,`data-v-5e92c709`]]);function Ut(e){let t=document.createElement(`textarea`);t.value=e,t.contentEditable=`true`,t.style.position=`fixed`;let n=()=>{};he(n),document.body.append(t),t.focus(),t.select();let r=document.execCommand(`copy`);return t.remove(),ge(n),r}function Wt(e){if(navigator.clipboard)return navigator.clipboard.writeText(e);let t=Ut(e);return t?Promise.resolve(!0):Promise.reject(t)}var Gt=1500;function Kt(e=Wt){let t=new Map,n=0;function r(){n++;for(let e of t.values())e.cancel(),e.restore();t.clear()}async function i(r,i){let a=n,o=r.closest(`.agent-code`)?.querySelector(`pre`)?.textContent;try{await e(o??``)}catch{return!1}if(a!==n)return!0;let s=t.get(r);s&&s.cancel(),r.dataset.copied=`true`,r.setAttribute(`aria-label`,i.copied);let c=()=>{delete r.dataset.copied,r.setAttribute(`aria-label`,i.copy)},l=ce(()=>{t.delete(r),c()},Gt);return t.set(r,{cancel:()=>l.cancel(),restore:c}),l(),!0}return{copyCodeBlock:i,reset:r}}function qt(e){let n=Kt();return a(e,n.reset,{flush:`sync`}),s(n.reset),t(n.reset),n}var Jt=50;function Yt(e){let t=new Map,n=Promise.resolve(),r=null,i=0;async function a(t,n){let a=await e(),o=n?`dark`:`default`;r!==o&&(a.initialize({startOnLoad:!1,securityLevel:`strict`,suppressErrorRendering:!0,theme:o,look:`classic`,fontSize:12,themeVariables:{fontSize:`12px`},themeCSS:`.label div, .label span, .label p { line-height: 1.25 !important; }`}),r=o),i+=1;let{svg:s}=await a.render(`agent-mermaid-${i}`,t);return s}return{render(e,r){let i=`${r?`dark`:`light`}\n${e}`,o=t.get(i);if(o)return t.delete(i),t.set(i,o),o;let s=n.then(()=>a(e,r));if(n=s.catch(()=>void 0),t.set(i,s),t.size>Jt){let e=t.keys().next();e.done||t.delete(e.value)}return s}}}async function B(){let{default:e}=await le(async()=>{let{default:e}=await import(`./mermaid.core-Cz083qmW.js`);return{default:e}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27]));return{initialize:t=>e.initialize(t),async render(t,n){try{return await e.render(t,n)}catch(e){throw document.getElementById(`d${t}`)?.remove(),e}}}}var Xt=Yt(B);function Zt(e){return It.sanitize(e,{USE_PROFILES:{svg:!0,svgFilters:!0,html:!0},ADD_TAGS:[`foreignObject`],FORBID_TAGS:[`img`,`picture`,`source`,`video`,`audio`,`iframe`,`form`,`input`,`button`,`a`],HTML_INTEGRATION_POINTS:{foreignobject:!0}})}function Qt(e){let t=e.querySelector(`svg`),n=t?.getAttribute(`viewBox`)?.split(/[\s,]+/).map(Number)?.[2];!t||n===void 0||!Number.isFinite(n)||n<=0||(t.style.maxWidth=`none`,t.style.width=`${Math.round(n)}px`,t.style.height=`auto`)}async function $t(e,t,n=Xt,r=`Could not draw the diagram`,i=()=>!0){let a=t?`dark`:`light`,o=[];for(let t of e.querySelectorAll(`pre > code.language-mermaid`)){let e=t.parentElement;e&&o.push({el:e,source:t.textContent??``})}for(let t of e.querySelectorAll(`.agent-mermaid`))t.dataset.theme!==a&&o.push({el:t,source:t.dataset.source??``});await Promise.all(o.map(async({el:o,source:s})=>{if(s.trim()!==``)try{let r=await n.render(s,t);if(!o.isConnected||!e.contains(o)||!i())return;let c=document.createElement(`div`);c.className=`agent-mermaid`,c.dataset.source=s,c.dataset.theme=a,c.innerHTML=Zt(r),Qt(c),c.tabIndex=0,c.setAttribute(`role`,`button`),o.replaceWith(c)}catch(t){if(!o.isConnected||!e.contains(o)||!i())return;if(o.classList.add(`agent-mermaid--invalid`),!o.nextElementSibling?.classList.contains(`agent-mermaid-error`)){let e=document.createElement(`div`);e.className=`agent-mermaid-error`;let n=t instanceof Error?t.message.split(`
5
- `)[0]:``;e.textContent=n?`${r}: ${n.slice(0,200)}`:r,o.after(e)}}}))}function en(e,t,n,r,i=0){let{registerTimeout:o,removeTimeout:s}=de();a(()=>[v(e),v(t),v(n),v(r),v(i)],([r,i,a,c,l],u,d)=>{s();let f=!0;d(()=>{f=!1,s()}),r&&(i.includes(`language-mermaid`)||r.querySelector(`.agent-mermaid`))&&o(()=>{$t(r,a,void 0,c,()=>f&&v(e)===r&&v(t)===i&&v(n)===a)},l)},{flush:`post`,immediate:!0})}var tn={};function nn(e){let t=tn[e];if(t)return t;t=tn[e]=[];for(let e=0;e<128;e++){let n=String.fromCharCode(e);t.push(n)}for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);t[r]=`%`+(`0`+r.toString(16).toUpperCase()).slice(-2)}return t}function V(e,t){typeof t!=`string`&&(t=V.defaultChars);let n=nn(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(e){let t=``;for(let r=0,i=e.length;r<i;r+=3){let a=parseInt(e.slice(r+1,r+3),16);if(a<128){t+=n[a];continue}if((a&224)==192&&r+3<i){let n=parseInt(e.slice(r+4,r+6),16);if((n&192)==128){let e=a<<6&1984|n&63;t+=e<128?`��`:String.fromCharCode(e),r+=3;continue}}if((a&240)==224&&r+6<i){let n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16);if((n&192)==128&&(i&192)==128){let e=a<<12&61440|n<<6&4032|i&63;t+=e<2048||e>=55296&&e<=57343?`���`:String.fromCharCode(e),r+=6;continue}}if((a&248)==240&&r+9<i){let n=parseInt(e.slice(r+4,r+6),16),i=parseInt(e.slice(r+7,r+9),16),o=parseInt(e.slice(r+10,r+12),16);if((n&192)==128&&(i&192)==128&&(o&192)==128){let e=a<<18&1835008|n<<12&258048|i<<6&4032|o&63;e<65536||e>1114111?t+=`����`:(e-=65536,t+=String.fromCharCode(55296+(e>>10),56320+(e&1023))),r+=9;continue}}t+=`�`}return t})}V.defaultChars=`;/?:@&=+$,#`,V.componentChars=``;var rn={};function an(e){let t=rn[e];if(t)return t;t=rn[e]=[];for(let e=0;e<128;e++){let n=String.fromCharCode(e);/^[0-9a-z]$/i.test(n)?t.push(n):t.push(`%`+(`0`+e.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}function H(e,t,n){typeof t!=`string`&&(n=t,t=H.defaultChars),n===void 0&&(n=!0);let r=an(t),i=``;for(let t=0,a=e.length;t<a;t++){let o=e.charCodeAt(t);if(n&&o===37&&t+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(t+1,t+3))){i+=e.slice(t,t+3),t+=2;continue}if(o<128){i+=r[o];continue}if(o>=55296&&o<=57343){if(o>=55296&&o<=56319&&t+1<a){let n=e.charCodeAt(t+1);if(n>=56320&&n<=57343){i+=encodeURIComponent(e[t]+e[t+1]),t++;continue}}i+=`%EF%BF%BD`;continue}i+=encodeURIComponent(e[t])}return i}H.defaultChars=`;/?:@&=+$,-_.!~*'()#`,H.componentChars=`-_.!~*'()`;function U(e){let t=``;return t+=e.protocol||``,t+=e.slashes?`//`:``,t+=e.auth?e.auth+`@`:``,e.hostname&&e.hostname.indexOf(`:`)!==-1?t+=`[`+e.hostname+`]`:t+=e.hostname||``,t+=e.port?`:`+e.port:``,t+=e.pathname||``,t+=e.search||``,t+=e.hash||``,t}function W(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var on=/^([a-z0-9.+-]+:)/i,sn=/:[0-9]*$/,cn=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,ln=[`%`,`/`,`?`,`;`,`#`,`'`,`{`,`}`,`|`,`\\`,`^`,"`",`<`,`>`,`"`,"`",` `,`\r`,`
6
- `,` `],un=[`/`,`?`,`#`],dn=255,fn=/^[+a-z0-9A-Z_-]{0,63}$/,pn=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,mn={javascript:!0,"javascript:":!0},hn={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function gn(e,t){if(e&&e instanceof W)return e;let n=new W;return n.parse(e,t),n}W.prototype.parse=function(e,t){let n,r,i,a=e;if(a=a.trim(),!t&&e.split(`#`).length===1){let e=cn.exec(a);if(e)return this.pathname=e[1],e[2]&&(this.search=e[2]),this}let o=on.exec(a);if(o&&(o=o[0],n=o.toLowerCase(),this.protocol=o,a=a.substr(o.length)),(t||o||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=a.substr(0,2)===`//`,i&&!(o&&mn[o])&&(a=a.substr(2),this.slashes=!0)),!mn[o]&&(i||o&&!hn[o])){let e=-1;for(let t=0;t<un.length;t++)r=a.indexOf(un[t]),r!==-1&&(e===-1||r<e)&&(e=r);let t,n;n=e===-1?a.lastIndexOf(`@`):a.lastIndexOf(`@`,e),n!==-1&&(t=a.slice(0,n),a=a.slice(n+1),this.auth=t),e=-1;for(let t=0;t<ln.length;t++)r=a.indexOf(ln[t]),r!==-1&&(e===-1||r<e)&&(e=r);e===-1&&(e=a.length),a[e-1]===`:`&&e--;let i=a.slice(0,e);a=a.slice(e),this.parseHost(i),this.hostname=this.hostname||``;let o=this.hostname[0]===`[`&&this.hostname[this.hostname.length-1]===`]`;if(!o){let e=this.hostname.split(/\./);for(let t=0,n=e.length;t<n;t++){let n=e[t];if(n&&!n.match(fn)){let r=``;for(let e=0,t=n.length;e<t;e++)n.charCodeAt(e)>127?r+=`x`:r+=n[e];if(!r.match(fn)){let r=e.slice(0,t),i=e.slice(t+1),o=n.match(pn);o&&(r.push(o[1]),i.unshift(o[2])),i.length&&(a=i.join(`.`)+a),this.hostname=r.join(`.`);break}}}}this.hostname.length>dn&&(this.hostname=``),o&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}let s=a.indexOf(`#`);s!==-1&&(this.hash=a.substr(s),a=a.slice(0,s));let c=a.indexOf(`?`);return c!==-1&&(this.search=a.substr(c),a=a.slice(0,c)),a&&(this.pathname=a),hn[n]&&this.hostname&&!this.pathname&&(this.pathname=``),this},W.prototype.parseHost=function(e){let t=sn.exec(e);t&&(t=t[0],t!==`:`&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var _n=e({decode:()=>V,encode:()=>H,format:()=>U,parse:()=>gn}),vn=e({Any:()=>yn,Cc:()=>bn,Cf:()=>xn,P:()=>Sn,S:()=>Cn,Z:()=>wn}),yn=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,bn=/[\0-\x1F\x7F-\x9F]/,xn=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Sn=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B4E\u1B4F\u1B5A-\u1B60\u1B7D-\u1B7F\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDD6E\uDEAD\uDED0\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9\uDFD4\uDFD5\uDFD7\uDFD8]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09\uDFE1]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDD6D-\uDD6F\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD839\uDDFF|\uD83A[\uDD5E\uDD5F]/,Cn=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C1\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E5\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBD2\uFD40-\uFD4F\uFD90\uFD91\uFDC8-\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3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A\uDE8E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8\uDF00-\uDF92\uDF94-\uDFEF\uDFFA]/,wn=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Tn=[8364,0,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,0,381,0,0,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,0,382,376];function En(e){return e===0||e>=55296&&e<=57343||e>1114111}function Dn(e){return En(e)?65533:e>=128&&e<=159&&Tn[e-128]||e}function On(e){return e-1>>>0<127||e-160>>>0<55136?String.fromCharCode(e):String.fromCodePoint(Dn(e))}var G=(()=>{let e=new Uint8Array(127),t=0;for(let n=33;n<=126;n++)n!==34&&n!==36&&n!==92&&(e[n]=t++);return e})();function K(e,t,n,r,i,a){let o=e.length,s=a*90,c=0,l=()=>{let t=G[e.charCodeAt(c++)];return t<a?t:t*91-s+G[e.charCodeAt(c++)]},u=n-r,d=n+i,f=new Int32Array(d);f.fill(-1,r,a),f.fill(-1,a+u,d);let p=new Int32Array(d),m=new Int32Array(d);function h(t,n){let r=0,i=n,a=n+t;for(;i<a;){let t=G[e.charCodeAt(c++)];if(t<89)r+=t,f[i++]=r;else if(t===89){let t=G[e.charCodeAt(c++)]+2;for(;t--;)f[i++]=++r}else{let t=G[e.charCodeAt(c++)];r+=89+(t<90?t*91+G[e.charCodeAt(c++)]:G[e.charCodeAt(c++)]*8281+G[e.charCodeAt(c++)]*91+G[e.charCodeAt(c++)]),f[i++]=r}}}h(r,0),h(u,a);let g=new Int32Array(i*2),_=0,v=0;function y(e,t){for(let n=0;n<e;n++){let e=t+n,r=l(),i=l();g[v*2]=r,g[v*2+1]=i,v+=1,p[e]=_;let a=(f[r]<0?m[r]:1)+(f[i]<0?m[i]:1);m[e]=a,_+=a}}y(i-a+r,a+u),y(a-r,r);let b=new Uint16Array(_),x=0;for(let e=0;e<v;e++)for(let t=0;t<2;t++){let n=g[e*2+t],r=f[n];if(r<0){let e=p[n],t=e+m[n];for(;e<t;)b[x++]=b[e++]}else b[x++]=r}let S=new Uint16Array(t),C=0;for(;c<o;){let t=G[e.charCodeAt(c++)];t>=a&&(t=t*91-s+G[e.charCodeAt(c++)]);let n=f[t];if(n<0){let e=p[t],n=e+m[t];for(;e<n;)S[C++]=b[e++]}else S[C++]=n}return S}var kn=K("!}.&u%}'&}*'~!6*)%&,~!J~!J~%L~y<~!R,~~%Lu~~#GD~~#|)1#%}^%}2%+#.##%##%}&%##%'#%##&%#%#'%#&#%#&#'#%%#&#%##%#)%''%&%#%#'%#%%#%%}%%%#%#&(23#%%#&-%0%('1#(##%#'##+%'*.:1}#%#6-+(%'%%#%%%}#L'2351&('%}&/N'(0(/*-%(%%}#'+&T%7.2}#&%&#%#36/5##%&%%#&#%%#))2%%##%&&'0~!#*+&'%1~!%).'3q?&%'1~!.##%6(~!+%%%(Gw'rT~!E#<nA%#jZ~!H%(~!42##~!*31&~!G%U~#)5~#`3~!J~!Z~%]~%Y~%C~!q~!u~#kz~%#~!6'~!D~!U~!?~#T~!c%~!G#'~%7|~!G~!J~!G&~#pb~(Df}#%}*&}#%##%##%##&#-}&'#'&%#.++}%mI,#,@&(}*%}*'%&##&#%##%}&0}#.},U},%}+%}&%}#%##&}B%(}(%}+%)})%##%#&}&%##%&}<%}>%#%&}*%}(%}9%}/%})%}*%}*%}?&}&%}3%}&*#%})%#%#)}#&#-#+*%E%%'%'#%}#*V##&##I}#&&##%&%#&&Qf%%))w/0+&%#(#.%-''''++++7}>%4'',##1,#%#&%##&#'##&#*#9)%&%}#*}%,#+P(%A&%#'&##wSD',9E00#y#@}(+}&%&>~!#~!X}#*}(&&}(&}(,%}%&#+&}#&}I%#%}%)#(},'%#*}4%%#%}(''}#/##(##),%-##%%)#&}(.}&%#&}%%}*&#%},&&}&%}#%*'#%})%}D&}&%}-&}6&#&}-,%}#%})-(~+`~,=?~I9'9%~!,#%})%})%}@%}?%}(~!?~#<~#pP~#BG~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Jv~vYrquJu3x4ib#T)2@SmZM?C2F|Bj:rmu9@xPhI(a*a#U#`a3-5Abb|L~@:RhK9:4E|0@52B5G|#C::aY?C2F|-:2<BaY?C2F|.5Jvk!a)javYrquJu3x4ia#T)2@SmYM?C2F|HAxPhH(!a#U#`a*-5Abb|4~@:RhJ9:4E|R@52B5G|F:2<BaY?C2F|Sc^#Xa2j=Qq5CJvB!-g<v{z;hhM?C2F|Zi[vrv{z;hiM?C2F|XKsA>!a)-g<v{z;h[eb?C2F|]i[vrv{z;h]eb?C2F|^iZu.vix,hZq3ah!.(?C2F|QOu!5ShXM:2<BaY?C2F|P",13494,2713,49,25,61),q;(function(e){e[e.VALUE_LENGTH=49152]=`VALUE_LENGTH`,e[e.FLAG13=8192]=`FLAG13`,e[e.BRANCH_LENGTH=8064]=`BRANCH_LENGTH`,e[e.JUMP_TABLE=127]=`JUMP_TABLE`,e[e.VALUE_MASK=8191]=`VALUE_MASK`})(q||={});var J;(function(e){e[e.AMP=38]=`AMP`,e[e.NUM=35]=`NUM`,e[e.SEMI=59]=`SEMI`,e[e.EQUALS=61]=`EQUALS`,e[e.ZERO=48]=`ZERO`,e[e.NINE=57]=`NINE`,e[e.LOWER_A=97]=`LOWER_A`,e[e.LOWER_X=120]=`LOWER_X`})(J||={});var An=32,jn=21,Mn=2097151,Nn=2047,Pn=0;function Fn(e){let t=e>>>jn;return t===Nn?Pn:t}function In(e){return e-J.ZERO>>>0<=9}function Ln(e){return(e|An)-J.LOWER_A>>>0<=5}function Rn(e){return(e|An)-J.LOWER_A>>>0<=25}function zn(e){return e===J.EQUALS||Rn(e)||In(e)}var Bn;(function(e){e[e.EntityStart=0]=`EntityStart`,e[e.NumericStart=1]=`NumericStart`,e[e.NumericDecimal=2]=`NumericDecimal`,e[e.NumericHex=3]=`NumericHex`,e[e.NamedEntity=4]=`NamedEntity`})(Bn||={});var Vn;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(Vn||={});function Hn(e,t,n,r){let i=(t&q.BRANCH_LENGTH)>>7,a=t&q.JUMP_TABLE;if(a){if(i===0)return r===a?n:-1;let t=r-a;if(t>>>0>=i)return-1;let o=e[n+t];return o===0?-1:n+i+o-1&65535}if(i===0)return-1;let o=i+1>>1,s=n+o+i;for(let t=0;t<i;t++){let i=e[n+(t>>1)]>>((t&1)<<3)&255;if(i===r)return s+e[n+o+t]&65535;if(i>r)return-1}return-1}function Un(e,t,n){return n===1?String.fromCharCode(e[t]&q.VALUE_MASK):n===2?String.fromCharCode(e[t+1]):String.fromCharCode(e[t+1],e[t+2])}function Wn(e,t,n){let r=t+1,i=0,a=r;if(r<n&&(e.charCodeAt(r)|An)===J.LOWER_X)for(r+=1,a=r;r<n;){let t=e.charCodeAt(r);if(In(t))i=i*16+(t-J.ZERO);else if(Ln(t))i=i*16+((t|An)-J.LOWER_A+10);else break;r+=1}else for(;r<n;){let t=e.charCodeAt(r)-J.ZERO;if(t>>>0>9)break;i=i*10+t,r+=1}if(r===a)return 0;r<n&&e.charCodeAt(r)===J.SEMI&&(r+=1),i>1114111&&(i=1114112);let o=r-t;return o>=Nn&&(Pn=o,o=Nn),o<<jn|i}function Gn(e,t,n){let r=kn,i=e.indexOf(`&`);if(i<0)return e;let a=e.length,o=0,s=``,c=r[0],l=c&q.JUMP_TABLE,u=(c&q.BRANCH_LENGTH)>>7;do{let c=i+1,d=e.charCodeAt(c),f,p;if(d===J.NUM){let n=Wn(e,c,a);f=Fn(n),t&&f>0&&e.charCodeAt(c+f-1)!==J.SEMI&&(f=0),p=f===0?``:On(n&Mn)}else if(Rn(d)){f=0,p=``;let n=d-l,i;if(n>>>0<u){let e=r[1+n];i=e===0?-1:u+e&65535}else i=-1;let o=0,s=0,m=i<0?0:r[i],h=c+1;trie:for(;h<a;){for(;(m&(q.VALUE_LENGTH|q.FLAG13))===0&&(m&q.JUMP_TABLE)!==0;){let t=m&q.JUMP_TABLE,n=(m&q.BRANCH_LENGTH)>>7;if(n===0){if(e.charCodeAt(h)!==t)break trie;i+=1}else{let a=e.charCodeAt(h)-t;if(a>>>0>=n)break trie;let o=r[i+1+a];if(o===0)break trie;i=i+n+o&65535}if(m=r[i],h+=1,h>=a)break trie}if((m&(q.VALUE_LENGTH|q.FLAG13))===q.FLAG13){let t=(m&q.BRANCH_LENGTH)>>7;if(e.charCodeAt(h)!==(m&q.JUMP_TABLE))break;h+=1;let n=t-1,a=i+1,o=0;for(;o+1<n;o+=2){let t=r[a];if(e.charCodeAt(h)!==(t&255)||(h+=1,e.charCodeAt(h)!==(t>>8&255)))break trie;h+=1,a+=1}if(o<n){if(e.charCodeAt(h)!==(r[a]&255))break;h+=1}i+=1+(t>>1),m=r[i];continue}let n=m>>>14,l=e.charCodeAt(h);if(n!==0){if(l===J.SEMI){f=h-c+1,p=n===1?String.fromCharCode(m&q.VALUE_MASK):Un(r,i,n);break}if(!t&&(m&q.FLAG13)===0&&(f=h-c,o=i,s=n),n===1)break}let u=Hn(r,m,i+(n||1),l);if(u<0)break;i=u,m=r[i],h+=1}if(p===``){let e=m>>>14;e!==0&&!t&&(m&q.FLAG13)===0&&(f=h-c,o=i,s=e),f>0&&(p=Un(r,o,s))}}else f=0,p=``;f===0||n&&d!==J.NUM&&e.charCodeAt(c+f-1)!==J.SEMI&&c+f<a&&zn(e.charCodeAt(c+f))?i=c:(o<i&&(s+=e.slice(o,i)),s+=p,i=o=c+f),e.charCodeAt(i)!==J.AMP&&(i=e.indexOf(`&`,i))}while(i>=0);return s+e.slice(o)}function Kn(e){return Gn(e,!0,!1)}var qn=class{src_Any=yn.source;src_Cc=bn.source;src_Z=wn.source;src_P=Sn.source;src_ZPCc=[this.src_Z,this.src_P,this.src_Cc].join(`|`);src_ZCc=[this.src_Z,this.src_Cc].join(`|`);cache={};opts={maxLength:1e4,urlAuth:!1,schema_names:[]};constructor(e={}){this.opts={...this.opts,...e}}set(e={}){return this.opts={...this.opts,...e},this.cache={},this}escapeRE(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,`\\$&`)}nestedPairRE(e,t,n=4){let r=this.escapeRE(e),i=this.escapeRE(t),a=`(?:(?!${this.src_ZCc}|${r}|${i}).)`,o=`${r}${a}{0,1000}${i}`;for(let e=2;e<=n;e++)o=`${r}(?:${a}|${o}){0,1000}${i}`;return o}get_text_separators(){return this.cache.text_separators??=/[><\uff5c]/}get_pseudo_letter(){return this.cache.src_pseudo_letter??=RegExp(`(?:(?!${this.get_text_separators().source}|${this.src_ZPCc})${this.src_Any})`)}get_ipv4_addr(){return this.cache.src_ip4??=RegExp(`(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])[.]){3}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])`)}get_ipv6_addr(){let e=`[0-9A-Fa-f]{1,4}`,t=`(?:(?:${e}:${e})|${this.get_ipv4_addr().source})`;return this.cache.src_ip6_addr??=RegExp(`(?:(?:${e}:){6}${t}|::(?:${e}:){5}${t}|(?:${e})?::(?:${e}:){4}${t}|(?:(?:${e}:){0,1}${e})?::(?:${e}:){3}${t}|(?:(?:${e}:){0,2}${e})?::(?:${e}:){2}${t}|(?:(?:${e}:){0,3}${e})?::${e}:${t}|(?:(?:${e}:){0,4}${e})?::${t}|(?:(?:${e}:){0,5}${e})?::${e}|(?:(?:${e}:){0,6}${e})?::)`)}get_ipv6_url_host(){return this.cache.src_ip6_host??=RegExp(`\\[${this.get_ipv6_addr().source}\\]`)}get_ipv6_mail_host(){return this.cache.src_ipv6_mail_host??=RegExp(`\\[IPv6:${this.get_ipv6_addr().source}\\]`)}get_auth(){return this.cache.src_auth??=RegExp(`(?:(?:(?!${this.src_ZCc}|[@/\\[\\]()]).){1,50}@)?`)}get_port(){return this.cache.src_port??=RegExp(`(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?`)}get_host_terminator(){return this.cache.src_host_terminator??=RegExp(`(?=$|${this.get_text_separators().source}|${this.src_ZPCc})(?!${this.opts[`---`]?`-(?!--)|`:`-|`}_|:\\d|\\.-|\\.(?!$|${this.src_ZPCc}))`)}get_path_terminator(){return this.cache.src_path_terminator??=RegExp(`${this.src_ZPCc}|${this.get_text_separators().source}`)}get_path(){return this.cache.src_path??=RegExp(`(?:[/?#](?:${this.nestedPairRE(`[`,`]`)}|${this.nestedPairRE(`(`,`)`)}|${this.nestedPairRE(`{`,`}`)}|\\"(?:(?!${this.src_ZCc}|["]).){1,100}\\"|\\'(?:(?!${this.src_ZCc}|[']).){1,100}\\'|\\'(?=${this.get_pseudo_letter().source}|[-])|\\.{2,20}[:]?[a-zA-Z0-9%/&]|\\.(?!${this.src_ZCc}|[.]|$)|`+(this.opts[`---`]?`\\-(?!--(?:[^-]|$))(?:-{0,19})|`:`\\-{1,20}|`)+`,(?!${this.src_ZCc}|$)|;(?!${this.src_ZCc}|$)|\\!{1,20}(?!${this.src_ZCc}|[!]|$)|\\?(?!${this.src_ZCc}|[?]|$)|`+this.get_path_extra().source+`[\\\\/:%@#&=_~*]|(?!${this.get_path_terminator().source}).){1,${this.opts.maxLength}}|\\/)?`)}get_mail_name(){return this.cache.src_mail_name??=RegExp("[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9](?:[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9]|[.](?=[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9])){0,63}")}get_xn(){return this.cache.src_xn??=RegExp(`xn--[a-z0-9\\-]{1,59}`)}get_tld(){if(this.cache.tld)return this.cache.tld;let e=[...new Set(this.opts.tlds||[])].sort().reverse().join(`|`);return this.cache.tld=RegExp(`${e||`$#none#$`}|${this.get_xn().source}`),this.cache.tld}get_domain_root(){return this.cache.src_domain_root??=RegExp(`(?:`+this.get_xn().source+`|${this.get_pseudo_letter().source}{1,63})`)}get_domain(){return this.cache.src_domain??=RegExp(`(?:`+this.get_xn().source+`|(?:${this.get_pseudo_letter().source})|(?:${this.get_pseudo_letter().source}(?:-|${this.get_pseudo_letter().source}){0,61}${this.get_pseudo_letter().source}))`)}get_url_host_port(){return this.cache.url_host_port??=RegExp(`(?:`+this.get_ipv6_url_host().source+`|(?:(?:(?:${this.get_domain().source})\\.){0,10}${this.get_domain().source}))`+this.get_port().source+this.get_host_terminator().source)}get_fuzzy_url_host_port(){return this.cache.fuzzy_url_host_port??=RegExp(`(?:`+(this.opts.fuzzyIP?this.get_ipv4_addr().source+`|`:``)+`(?:(?:(?:${this.get_domain().source})\\.){1,10}(?:${this.get_tld().source})))`+this.get_host_terminator().source)}get_mail_host(){return this.cache.src_mail_host??=RegExp(`(?:`+this.get_ipv6_mail_host().source+`|(?:(?:(?:${this.get_domain().source})\\.){0,4}${this.get_domain().source}))`+this.get_host_terminator().source)}get_fuzzy_mail_host(){return this.cache.src_fuzzy_mail_host??=RegExp(`(?:`+this.get_ipv6_mail_host().source+`|(?:(?:(?:${this.get_domain().source})[.]){1,4}${this.get_domain_root().source}))`+this.get_host_terminator().source)}get_path_extra(){return this.cache.src_path_extra??=RegExp(``)}get_fuzzy_mail_host_search(){return this.cache.mail_fuzzy_host_search??=RegExp(`@${this.get_fuzzy_mail_host().source}`,`ig`)}get_fuzzy_link_search(){return this.cache.link_fuzzy_search??=RegExp(`(^|(?![.:/\\-_@])(?:[$+<=>^\`|\uff5c]|${this.src_ZPCc}))(?:(?![$+<=>^\`|\uff5c])${this.get_fuzzy_url_host_port().source}${this.get_path().source})`,`ig`)}get_http_validator(){return this.cache.http_validator??=RegExp(`\\/\\/`+(this.opts.urlAuth?this.get_auth().source:``)+this.get_url_host_port().source+this.get_path().source,`iy`)}get_relative_proto_validator(){return this.cache.relative_proto_validator??=RegExp((this.opts.urlAuth?this.get_auth().source:``)+`(?:localhost|${this.get_ipv6_url_host().source}|(?:(?:${this.get_domain().source})[.]){1,10}${this.get_domain_root().source})`+this.get_port().source+this.get_host_terminator().source+this.get_path().source,`iy`)}get_mail_name_validator(){return this.cache.mail_name_validator??=RegExp(`(?:^|${this.get_text_separators().source}|"|\\(|${this.src_ZCc})(${this.get_mail_name().source})$`)}get_mailto_validator(){return this.cache.mailto_validator??=RegExp(`${this.get_mail_name().source}@${this.get_mail_host().source}`,`iy`)}get_schema_names(){return this.cache.schema_names??=new RegExp((this.opts.schema_names||[]).map(e=>this.escapeRE(e)).join(`|`))}get_schema_search(){return this.cache.schema_search??=RegExp(`(^|(?!_)(?:[><\uff5c]|${this.src_ZPCc}))(${this.get_schema_names().source})`,`ig`)}get_schema_at_start(){return this.cache.schema_at_start??=RegExp(`^${this.get_schema_search().source}`,`i`)}},Jn={validate:(e,t,n)=>{let r=n.re.get_http_validator();r.lastIndex=t;let i=r.exec(e);return i?i[0].length:0},normalize:(e,t)=>t.normalize(e)},Yn={"http:":Jn,"https:":Jn,"ftp:":Jn,"//":{validate:function(e,t,n){let r=n.re.get_relative_proto_validator();r.lastIndex=t;let i=r.exec(e);return i?t>=3&&e[t-3]===`:`||t>=3&&e[t-3]===`/`?0:i[0].length:0},normalize:(e,t)=>t.normalize(e)},"mailto:":{validate:function(e,t,n){let r=n.re.get_mailto_validator();r.lastIndex=t;let i=r.exec(e);return i?i[0].length:0},normalize:(e,t)=>t.normalize(e)}},Xn=`a:cdefgilmnoqrstuwxz|b:abdefghijmnorstvwyz|c:acdfghiklmnoruvwxyz|d:ejkmoz|e:cegrstu|f:ijkmor|g:abdefghilmnpqrstuwy|h:kmnrtu|i:delmnoqrst|j:emop|k:eghimnprwyz|l:abcikrstuvy|m:acdeghklmnopqrstuvwxyz|n:acefgilopruz|o:m|p:aefghklmnrstwy|q:a|r:eosuw|s:abcdeghijklmnortuvxyz|t:cdfghjklmnortvwz|u:agksyz|v:aceginu|w:fs|y:et|z:amw`,Zn=`biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф`;function Qn(){let e=Zn.split(`|`);return Xn.split(`|`).forEach(t=>{let n=t.indexOf(`:`),r=t.slice(0,n);for(let i of t.slice(n+1))e.push(r+i)}),e}var $n={fuzzyLink:!1,fuzzyEmail:!0,fuzzyIP:!1,"---":!1,tlds:Qn(),urlAuth:!1,maxLength:1e4},er=class{schema;index;lastIndex;raw;text;url;constructor(e,t,n,r){let i=e.slice(n,r);this.schema=t.toLowerCase(),this.index=n,this.lastIndex=r,this.raw=i,this.text=i,this.url=i}},tr=class{__opts__;__schemas__;re;constructor(e={}){let{rebuilder:t,...n}=e;this.__opts__={...$n,...n},this.__schemas__={...Yn},this.re=t||new qn,this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)})}add(e,t=null){if(!t)delete this.__schemas__[e];else{let n={normalize:(e,t)=>t.normalize(e),...t};this.__schemas__[e]=n}return this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)}),this}set(e={}){return this.__opts__={...this.__opts__,...e},this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)}),this}test(e){if(!e.length)return!1;let t,n;for(n=this.re.get_schema_search(),n.lastIndex=0;(t=n.exec(e))!==null;)if(this.testSchemaAt(e,t[2],n.lastIndex))return!0;if(this.__opts__.fuzzyLink&&this.__schemas__[`http:`]&&(n=this.re.get_fuzzy_link_search(),n.lastIndex=0,n.exec(e)!==null))return!0;if(this.__opts__.fuzzyEmail&&this.__schemas__[`mailto:`]&&e.indexOf(`@`)>=0){let n=this.re.get_fuzzy_mail_host_search(),r=this.re.get_mail_name_validator();for(n.lastIndex=0;(t=n.exec(e))!==null;){let n=e.slice(Math.max(0,t.index-65),t.index);if(r.test(n))return!0}}return!1}testSchemaAt(e,t,n){return this.__schemas__[t.toLowerCase()]?this.__schemas__[t.toLowerCase()].validate(e.slice(0,n+this.__opts__.maxLength),n,this):0}match(e){let t=[],n=this.re.get_schema_search(),r,i,a,o,s,c,l=!1,u=!1,d=!1,f=0;if(!e.length)return null;for(n.lastIndex=0,this.__opts__.fuzzyLink&&this.__schemas__[`http:`]&&(r=this.re.get_fuzzy_link_search(),r.lastIndex=0),this.__opts__.fuzzyEmail&&this.__schemas__[`mailto:`]&&(i=this.re.get_fuzzy_mail_host_search(),i.lastIndex=0,a=this.re.get_mail_name_validator());;){let p=Math.max(f-1,0);if(i&&a&&!d&&(!s||s.index<f))for(i.lastIndex<p&&(i.lastIndex=p);;){let t=i.exec(e);if(!t){d=!0,s=void 0;break}let n=a.exec(e.slice(Math.max(0,t.index-65),t.index));if(n){if(s={schema:`mailto:`,index:t.index-n[1].length,lastIndex:t.index+t[0].length},s.index>=f)break;i.lastIndex<p&&(i.lastIndex=p)}}if(r&&!u&&(!o||o.index<f))for(r.lastIndex<p&&(r.lastIndex=p);;){let t=r.exec(e);if(!t){u=!0,o=void 0;break}if(o={schema:``,index:t.index+t[1].length,lastIndex:t.index+t[0].length},o.index>=f)break;r.lastIndex<p&&(r.lastIndex=p)}let m=s;(!m||o&&(o.index<m.index||o.index===m.index&&o.lastIndex>m.lastIndex))&&(m=o);let h;if(!l)for(;;){if(!c){n.lastIndex<p&&(n.lastIndex=p);let t=n.exec(e);if(!t){l=!0;break}c={schema:t[2],index:t.index+t[1].length,lastIndex:t.index+t[0].length}}if(c.index<f){c=void 0;continue}if(m&&c.index>m.index)break;let t=c;c=void 0;let r=this.testSchemaAt(e,t.schema,t.lastIndex);if(r){h={schema:t.schema,index:t.index,lastIndex:t.lastIndex+r};break}}let g=h;if((!g||s&&(s.index<g.index||s.index===g.index&&s.lastIndex>g.lastIndex))&&(g=s),(!g||o&&(o.index<g.index||o.index===g.index&&o.lastIndex>g.lastIndex))&&(g=o),!g)break;g===s?s=void 0:g===o&&(o=void 0);let _=new er(e,g.schema,g.index,g.lastIndex);_.schema?this.__schemas__[_.schema].normalize(_,this):this.normalize(_),t.push(_),f=g.lastIndex}return t.length?t:null}matchAtStart(e){if(!e.length)return null;let t=this.re.get_schema_at_start().exec(e);if(!t)return null;let n=this.testSchemaAt(e,t[2],t[0].length);if(!n)return null;let r=new er(e,t[2],t.index+t[1].length,t.index+t[0].length+n);return this.__schemas__[r.schema].normalize(r,this),r}tlds(e,t=!1){return e=Array.isArray(e)?e:[e],t?this.__opts__.tlds=this.__opts__.tlds.concat(e):this.__opts__.tlds=e,this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)}),this}normalize(e){e.schema||(e.url=`http://${e.url}`),e.schema===`mailto:`&&!/^mailto:/i.test(e.url)&&(e.url=`mailto:${e.url}`)}},nr=2147483647,rr=36,ir=1,ar=26,or=38,sr=700,cr=72,lr=128,ur=`-`,dr=/^xn--/,fr=/[^\0-\x7F]/,pr=/[\x2E\u3002\uFF0E\uFF61]/g,mr={overflow:`Overflow: input needs wider integers to process`,"not-basic":`Illegal input >= 0x80 (not a basic code point)`,"invalid-input":`Invalid input`},hr=35,Y=Math.floor,gr=String.fromCharCode;function _r(e){throw RangeError(mr[e])}function vr(e,t){let n=[],r=e.length;for(;r--;)n[r]=t(e[r]);return n}function yr(e,t){let n=e.split(`@`),r=``;n.length>1&&(r=n[0]+`@`,e=n[1]),e=e.replace(pr,`.`);let i=vr(e.split(`.`),t).join(`.`);return r+i}function br(e){let t=[],n=0,r=e.length;for(;n<r;){let i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<r){let r=e.charCodeAt(n++);(r&64512)==56320?t.push(((i&1023)<<10)+(r&1023)+65536):(t.push(i),n--)}else t.push(i)}return t}var xr=e=>String.fromCodePoint(...e),Sr=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:rr},Cr=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},wr=function(e,t,n){let r=0;for(e=n?Y(e/sr):e>>1,e+=Y(e/t);e>455;r+=rr)e=Y(e/hr);return Y(r+36*e/(e+or))},Tr=function(e){let t=[],n=e.length,r=0,i=lr,a=cr,o=e.lastIndexOf(ur);o<0&&(o=0);for(let n=0;n<o;++n)e.charCodeAt(n)>=128&&_r(`not-basic`),t.push(e.charCodeAt(n));for(let s=o>0?o+1:0;s<n;){let o=r;for(let t=1,i=rr;;i+=rr){s>=n&&_r(`invalid-input`);let o=Sr(e.charCodeAt(s++));o>=rr&&_r(`invalid-input`),o>Y((nr-r)/t)&&_r(`overflow`),r+=o*t;let c=i<=a?ir:i>=a+ar?ar:i-a;if(o<c)break;let l=rr-c;t>Y(nr/l)&&_r(`overflow`),t*=l}let c=t.length+1;a=wr(r-o,c,o==0),Y(r/c)>nr-i&&_r(`overflow`),i+=Y(r/c),r%=c,t.splice(r++,0,i)}return String.fromCodePoint(...t)},Er=function(e){let t=[];e=br(e);let n=e.length,r=lr,i=0,a=cr;for(let n of e)n<128&&t.push(gr(n));let o=t.length,s=o;for(o&&t.push(ur);s<n;){let n=nr;for(let t of e)t>=r&&t<n&&(n=t);let c=s+1;n-r>Y((nr-i)/c)&&_r(`overflow`),i+=(n-r)*c,r=n;for(let n of e)if(n<r&&++i>nr&&_r(`overflow`),n===r){let e=i;for(let n=rr;;n+=rr){let r=n<=a?ir:n>=a+ar?ar:n-a;if(e<r)break;let i=e-r,o=rr-r;t.push(gr(Cr(r+i%o,0))),e=Y(i/o)}t.push(gr(Cr(e,0))),a=wr(i,c,s===o),i=0,++s}++i,++r}return t.join(``)},Dr={version:`2.3.1`,ucs2:{decode:br,encode:xr},decode:Tr,encode:Er,toASCII:function(e){return yr(e,function(e){return fr.test(e)?`xn--`+Er(e):e})},toUnicode:function(e){return yr(e,function(e){return dr.test(e)?Tr(e.slice(4).toLowerCase()):e})}},Or=Object.defineProperty,kr=(e,t)=>{let n={};for(var r in e)Or(n,r,{get:e[r],enumerable:!0});return t||Or(n,Symbol.toStringTag,{value:`Module`}),n},Ar=kr({arrayReplaceAt:()=>Mr,asciiTrim:()=>ei,callable:()=>jr,escapeHtml:()=>Gr,escapeRE:()=>qr,fromCodePoint:()=>Pr,isMdAsciiPunct:()=>Zr,isPunctChar:()=>Yr,isPunctCharCode:()=>Xr,isSpace:()=>X,isValidEntityCode:()=>Nr,isWhiteSpace:()=>Jr,lib:()=>ti,normalizeReference:()=>Qr,unescapeAll:()=>Br,unescapeMd:()=>zr});function jr(e){let t=function(...n){return Reflect.construct(e,n,new.target&&new.target!==t?new.target:e)};return Object.defineProperty(t,"name",{value:e.name}),Object.setPrototypeOf(t,e),t.prototype=e.prototype,t}function Mr(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function Nr(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)==65535||(e&65535)==65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function Pr(e){if(e>65535){e-=65536;let t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var Fr=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Ir=RegExp(`${Fr.source}|&([a-z#][a-z0-9]{1,31});`,`gi`),Lr=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function Rr(e,t){if(t.charCodeAt(0)===35&&Lr.test(t)){let n=t[1].toLowerCase()===`x`?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Nr(n)?Pr(n):e}let n=Kn(e);return n===e?e:n}function zr(e){return e.indexOf(`\\`)<0?e:e.replace(Fr,`$1`)}function Br(e){return e.indexOf(`\\`)<0&&e.indexOf(`&`)<0?e:e.replace(Ir,function(e,t,n){return t||Rr(e,n)})}var Vr=/[&<>"]/,Hr=/[&<>"]/g,Ur={"&":`&amp;`,"<":`&lt;`,">":`&gt;`,'"':`&quot;`};function Wr(e){return Ur[e]}function Gr(e){return Vr.test(e)?e.replace(Hr,Wr):e}var Kr=/[.?*+^$[\]\\(){}|-]/g;function qr(e){return e.replace(Kr,`\\$&`)}function X(e){switch(e){case 9:case 32:return!0}return!1}function Jr(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function Yr(e){return Sn.test(e)||Cn.test(e)}function Xr(e){return Yr(Pr(e))}function Zr(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Qr(e){return e=e.trim().replace(/\s+/g,` `),e.toLowerCase().toUpperCase()}function $r(e){return e===32||e===9||e===10||e===13}function ei(e){let t=0;for(;t<e.length&&$r(e.charCodeAt(t));t++);let n=e.length-1;for(;n>=t&&$r(e.charCodeAt(n));n--);return e.slice(t,n+1)}var ti={mdurl:_n,ucmicro:vn};function ni(e,t,n){let r,i,a,o,s=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos<s;){if(a=e.src.charCodeAt(e.pos),a===93&&(r--,r===0)){i=!0;break}if(o=e.pos,e.md.inline.skipToken(e),a===91){if(o===e.pos-1)r++;else if(n)return e.pos=c,-1}}let l=-1;return i&&(l=e.pos),e.pos=c,l}function ri(e,t,n){let r,i=t,a={ok:!1,pos:0,str:``};if(e.charCodeAt(i)===60){for(i++;i<n;){if(r=e.charCodeAt(i),r===10||r===60)return a;if(r===62)return a.pos=i+1,a.str=Br(e.slice(t+1,i)),a.ok=!0,a;if(r===92&&i+1<n){i+=2;continue}i++}return a}let o=0;for(;i<n&&(r=e.charCodeAt(i),!(r===32||r<32||r===127));){if(r===92&&i+1<n){if(e.charCodeAt(i+1)===32){i++;continue}i+=2;continue}if(r===40&&(o++,o>32))return a;if(r===41){if(o===0)break;o--}i++}return t===i||o!==0?a:(a.str=Br(e.slice(t,i)),a.pos=i,a.ok=!0,a)}function ii(e,t,n,r){let i,a=t,o={ok:!1,can_continue:!1,pos:0,str:``,marker:0};if(r)o.str=r.str,o.marker=r.marker;else{if(a>=n)return o;let r=e.charCodeAt(a);if(r!==34&&r!==39&&r!==40)return o;t++,a++,r===40&&(r=41),o.marker=r}for(;a<n;){if(i=e.charCodeAt(a),i===o.marker)return o.pos=a+1,o.str+=Br(e.slice(t,a)),o.ok=!0,o;if(i===40&&o.marker===41)return o;i===92&&a+1<n&&a++,a++}return o.can_continue=!0,o.str+=Br(e.slice(t,a)),o}var ai=kr({parseLinkDestination:()=>ri,parseLinkLabel:()=>ni,parseLinkTitle:()=>ii});function oi(e){"@babel/helpers - typeof";return oi=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},oi(e)}function si(e,t){if(oi(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(oi(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function ci(e){var t=si(e,`string`);return oi(t)==`symbol`?t:t+``}function Z(e,t,n){return(t=ci(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var li=class{constructor(e,t,n){Z(this,`map`,null),Z(this,`level`,0),Z(this,`children`,null),Z(this,`content`,``),Z(this,`markup`,``),Z(this,`info`,``),Z(this,`block`,!1),Z(this,`hidden`,!1),this.type=e,this.tag=t,this.attrs=null,this.nesting=n,this.meta=null}attrIndex(e){if(!this.attrs)return-1;let t=this.attrs;for(let n=0,r=t.length;n<r;n++)if(t[n][0]===e)return n;return-1}attrPush(e){this.attrs?this.attrs.push(e):this.attrs=[e]}attrSet(e,t){let n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r}attrGet(e){let t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n}attrJoin(e,t){let n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=`${this.attrs[n][1]} ${t}`}},ui=class{constructor(){Z(this,`__rules__`,[]),Z(this,`__cache__`,null)}__find__(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1}__compile__(){let e=new Set;this.__rules__.forEach(t=>{t.enabled&&t.alt.forEach(t=>{t&&e.add(t)})}),this.__cache__=Object.create(null),this.__cache__[``]=[],this.__rules__.forEach(e=>{e.enabled&&this.__cache__[``].push(e.fn)}),e.forEach(e=>{this.__cache__[e]=[],this.__rules__.forEach(t=>{t.enabled&&t.alt.indexOf(e)>=0&&this.__cache__[e].push(t.fn)})})}at(e,t,n={}){let r=this.__find__(e);if(r===-1)throw Error(`Parser rule not found: ${e}`);this.__rules__[r].fn=t,this.__rules__[r].alt=n.alt||[],this.__cache__=null}before(e,t,n,r={}){let i=this.__find__(e);if(i===-1)throw Error(`Parser rule not found: ${e}`);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:n,alt:r.alt||[]}),this.__cache__=null}after(e,t,n,r={}){let i=this.__find__(e);if(i===-1)throw Error(`Parser rule not found: ${e}`);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:n,alt:r.alt||[]}),this.__cache__=null}push(e,t,n={}){this.__rules__.push({name:e,enabled:!0,fn:t,alt:n.alt||[]}),this.__cache__=null}enable(e,t=!1){Array.isArray(e)||(e=[e]);let n=[];return e.forEach(e=>{let r=this.__find__(e);if(r<0){if(t)return;throw Error(`Rules manager: invalid rule name ${e}`)}this.__rules__[r].enabled=!0,n.push(e)}),this.__cache__=null,n}enableOnly(e,t=!1){Array.isArray(e)||(e=[e]),this.__rules__.forEach(e=>{e.enabled=!1}),this.enable(e,t)}disable(e,t=!1){Array.isArray(e)||(e=[e]);let n=[];return e.forEach(e=>{let r=this.__find__(e);if(r<0){if(t)return;throw Error(`Rules manager: invalid rule name ${e}`)}this.__rules__[r].enabled=!1,n.push(e)}),this.__cache__=null,n}getRules(e){return this.__cache__||this.__compile__(),this.__cache__[e]||[]}},Q={};Q.code_inline=function(e,t,n,r,i){let a=e[t];return`<code${i.renderAttrs(a)}>${Gr(a.content)}</code>`},Q.code_block=function(e,t,n,r,i){let a=e[t];return`<pre${i.renderAttrs(a)}><code>${Gr(e[t].content)}</code></pre>\n`},Q.fence=function(e,t,n,r,i){let a=e[t],o=a.info?Br(a.info).trim():``,s=``,c=``;if(o){let e=o.split(/(\s+)/g);s=e[0],c=e.slice(2).join(``)}let l;if(l=n.highlight&&n.highlight(a.content,s,c)||Gr(a.content),l.indexOf(`<pre`)===0)return l+`
7
- `;if(o){let e=a.attrIndex(`class`),t=a.attrs?a.attrs.slice():[];e<0?t.push([`class`,`${n.langPrefix}${s}`]):(t[e]=[t[e][0],t[e][1]],t[e][1]+=` ${n.langPrefix}${s}`);let r={attrs:t};return`<pre><code${i.renderAttrs(r)}>${l}</code></pre>\n`}return`<pre><code${i.renderAttrs(a)}>${l}</code></pre>\n`},Q.image=function(e,t,n,r,i){let a=e[t];return a.attrs[a.attrIndex(`alt`)][1]=i.renderInlineAsText(a.children,n,r),i.renderToken(e,t,n)},Q.hardbreak=function(e,t,n){return n.xhtmlOut?`<br />
8
- `:`<br>
9
- `},Q.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?`<br />
10
- `:`<br>
11
- `:`
12
- `},Q.text=function(e,t){return Gr(e[t].content)},Q.html_block=function(e,t){return e[t].content},Q.html_inline=function(e,t){return e[t].content};var di=class{constructor(){Z(this,`rules`,Object.assign({},Q))}renderAttrs(e){let t,n,r;if(!e.attrs)return``;for(r=``,t=0,n=e.attrs.length;t<n;t++)r+=` ${Gr(e.attrs[t][0])}="${Gr(String(e.attrs[t][1]))}"`;return r}renderToken(e,t,n){let r=e[t],i=``;if(r.hidden)return``;let a=t-1;for(;a>=0&&e[a].hidden&&e[a].nesting===0;)a--;r.block&&r.nesting!==-1&&a>=0&&e[a].hidden&&e[a].nesting===-1&&(i+=`
13
- `),i+=(r.nesting===-1?`</`:`<`)+r.tag,i+=this.renderAttrs(r),r.nesting===0&&n.xhtmlOut&&(i+=` /`);let o=!1;if(r.block&&(o=!0,r.nesting===1)){let n=t+1;for(;n<e.length&&e[n].hidden&&e[n].nesting===0;)n++;if(n<e.length){let t=e[n];(t.type===`inline`||t.hidden||t.nesting===-1&&t.tag===r.tag)&&(o=!1)}}return i+=o?`>
14
- `:`>`,i}renderInline(e,t,n){let r=``,i=this.rules;for(let a=0,o=e.length;a<o;a++){let o=e[a].type;i[o]===void 0?r+=this.renderToken(e,a,t):r+=i[o](e,a,t,n,this)}return r}renderInlineAsText(e,t,n){let r=``;for(let i=0,a=e.length;i<a;i++)switch(e[i].type){case`text`:case`code_inline`:r+=e[i].content;break;case`image`:r+=this.renderInlineAsText(e[i].children,t,n);break;case`html_inline`:case`html_block`:r+=e[i].content;break;case`softbreak`:case`hardbreak`:r+=`
15
- `}return r}render(e,t,n){let r=``,i=this.rules;for(let a=0,o=e.length;a<o;a++){let o=e[a].type;o===`inline`?r+=this.renderInline(e[a].children,t,n):i[o]===void 0?r+=this.renderToken(e,a,t):r+=i[o](e,a,t,n,this)}return r}},fi=class{constructor(e,t,n){Z(this,`tokens`,[]),Z(this,`inlineMode`,!1),Z(this,`Token`,li),this.src=e,this.env=n,this.md=t}},pi=/\r\n?/g,mi=/\0/g;function hi(e){let t;t=e.src.replace(pi,`
16
- `),t=t.replace(mi,`�`),e.src=t}function gi(e){let t;e.inlineMode?(t=new e.Token(`inline`,``,0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function _i(e){let t=e.tokens,n=0;for(let e=0;e<t.length;e++)t[e].type!==`reference_definition`&&(e!==n&&(t[n]=t[e]),n++);t.length!==n&&(t.length=n)}function vi(e){let t=e.tokens;for(let n=0,r=t.length;n<r;n++){let r=t[n];r.type===`inline`&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}function yi(e){return/^<a[>\s]/i.test(e)}function bi(e){return/^<\/a\s*>/i.test(e)}function xi(e){let t=e.tokens;if(e.md.options.linkify)for(let n=0,r=t.length;n<r;n++){if(t[n].type!==`inline`||!e.md.linkify.test(t[n].content))continue;let r=t[n].children,i=[],a=0;for(let t=r.length-1;t>=0;t--){let n=r[t];if(n.type===`link_close`){for(t--;r[t].level!==n.level&&r[t].type!==`link_open`;)t--;continue}if(n.type===`html_inline`&&(yi(n.content)&&a>0&&a--,bi(n.content)&&a++),!(a>0)&&n.type===`text`&&e.md.linkify.test(n.content)){let a=n.content,o=e.md.linkify.match(a),s=[],c=n.level,l=0;o.length>0&&o[0].index===0&&t>0&&r[t-1].type===`text_special`&&(o=o.slice(1));for(let t=0;t<o.length;t++){let n=o[t].url,r=e.md.normalizeLink(n);if(!e.md.validateLink(r))continue;let i=o[t].text;i=o[t].schema?o[t].schema===`mailto:`&&!/^mailto:/i.test(i)?e.md.normalizeLinkText(`mailto:${i}`).replace(/^mailto:/,``):e.md.normalizeLinkText(i):e.md.normalizeLinkText(`http://${i}`).replace(/^http:\/\//,``);let u=o[t].index;if(u>l){let t=new e.Token(`text`,``,0);t.content=a.slice(l,u),t.level=c,s.push(t)}let d=new e.Token(`link_open`,`a`,1);d.attrs=[[`href`,r]],d.level=c++,d.markup=`linkify`,d.info=`auto`,s.push(d);let f=new e.Token(`text`,``,0);f.content=i,f.level=c,s.push(f);let p=new e.Token(`link_close`,`a`,-1);p.level=--c,p.markup=`linkify`,p.info=`auto`,s.push(p),l=o[t].lastIndex}if(l<a.length){let t=new e.Token(`text`,``,0);t.content=a.slice(l),t.level=c,s.push(t)}i.push({index:t,nodes:s})}}if(i.length>0){let e=r.length;for(let t of i)e+=t.nodes.length-1;let a=Array(e),o=0,s=0;i.reverse();for(let e=0;e<r.length;e++){let t=i[o];if(t?.index===e){for(let e of t.nodes)a[s++]=e;o++}else a[s++]=r[e]}t[n].children=a}}}var Si=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Ci=/\((c|tm|r)\)/i,wi=/\((c|tm|r)\)/gi,Ti={c:`©`,r:`®`,tm:`™`};function Ei(e,t){return Ti[t.toLowerCase()]}function Di(e){let t=0;for(let n=e.length-1;n>=0;n--){let r=e[n];r.type===`text`&&!t&&(r.content=r.content.replace(wi,Ei)),r.type===`link_open`&&r.info===`auto`&&t--,r.type===`link_close`&&r.info===`auto`&&t++}}function Oi(e){let t=0;for(let n=e.length-1;n>=0;n--){let r=e[n];r.type===`text`&&!t&&Si.test(r.content)&&(r.content=r.content.replace(/\+-/g,`±`).replace(/\.{2,}/g,`…`).replace(/([?!])…/g,`$1..`).replace(/([?!]){4,}/g,`$1$1$1`).replace(/,{2,}/g,`,`).replace(/(^|[^-])---(?=[^-]|$)/gm,`$1—`).replace(/(^|\s)--(?=\s|$)/gm,`$1–`).replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,`$1–`)),r.type===`link_open`&&r.info===`auto`&&t--,r.type===`link_close`&&r.info===`auto`&&t++}}function ki(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type===`inline`&&(Ci.test(e.tokens[t].content)&&Di(e.tokens[t].children),Si.test(e.tokens[t].content)&&Oi(e.tokens[t].children))}var Ai=/['"]/,ji=/['"]/g,Mi=`’`,Ni=1e3;function Pi(e,t,n){for(;e.length>n;){let n=e.pop();n.isSingleQuote?t.single=n.prevSameQuoteIdx:t.double=n.prevSameQuoteIdx}}function Fi(e,t,n,r){e[t]||(e[t]=[]),e[t].push({pos:n,ch:r})}function Ii(e,t){let n=``,r=0;t.sort((e,t)=>e.pos-t.pos);for(let i=0;i<t.length;i++){let a=t[i];n+=e.slice(r,a.pos)+a.ch,r=a.pos+1}return n+e.slice(r)}function Li(e,t){let n,r=[],i={single:-1,double:-1},a={};for(let o=0;o<e.length;o++){let s=e[o],c=e[o].level;for(n=r.length-1;n>=0&&!(r[n].level<=c);n--);if(Pi(r,i,n+1),s.type!==`text`)continue;let l=s.content,u=0,d=l.length;OUTER:for(;u<d;){ji.lastIndex=u;let s=ji.exec(l);if(!s)break;let f=!0,p=!0;u=s.index+1;let m=s[0]===`'`,h=32;if(s.index-1>=0)h=l.charCodeAt(s.index-1);else for(n=o-1;n>=0&&e[n].type!==`softbreak`&&e[n].type!==`hardbreak`;n--)if(e[n].content){h=e[n].content.charCodeAt(e[n].content.length-1);break}let g=32;if(u<d)g=l.charCodeAt(u);else for(n=o+1;n<e.length&&e[n].type!==`softbreak`&&e[n].type!==`hardbreak`;n++)if(e[n].content){g=e[n].content.charCodeAt(0);break}let _=Zr(h)||Xr(h),v=Zr(g)||Xr(g),y=Jr(h),b=Jr(g);if(b?f=!1:v&&(y||_||(f=!1)),y?p=!1:_&&(b||v||(p=!1)),g===34&&s[0]===`"`&&h>=48&&h<=57&&(p=f=!1),f&&p&&(f=_,p=v),!f&&!p){m&&Fi(a,o,s.index,Mi);continue}if(p&&(n=m?i.single:i.double,n>=0&&r[n].level===c)){let e=r[n],c,l;m?(c=t.md.options.quotes[2],l=t.md.options.quotes[3]):(c=t.md.options.quotes[0],l=t.md.options.quotes[1]),Fi(a,o,s.index,l),Fi(a,e.tokenIdx,e.contentPos,c),Pi(r,i,n);continue OUTER}if(f){if(r.length>=Ni)return;r.push({tokenIdx:o,contentPos:s.index,isSingleQuote:m,level:c,prevSameQuoteIdx:m?i.single:i.double}),m?i.single=r.length-1:i.double=r.length-1}else p&&m&&Fi(a,o,s.index,Mi)}}Object.keys(a).forEach(function(t){let n=Number(t);e[n].content=Ii(e[n].content,a[t])})}function Ri(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type===`inline`&&Ai.test(e.tokens[t].content)&&Li(e.tokens[t].children,e)}function zi(e){let t,n,r=e.length;for(t=0;t<r;t++)e[t].type===`text_special`&&(e[t].type=`text`);for(t=n=0;t<r;t++)e[t].type===`text`&&t+1<r&&e[t+1].type===`text`?e[t+1].content=e[t].content+e[t+1].content:(t!==n&&(e[n]=e[t]),n++);t!==n&&(e.length=n)}function Bi(e){let t,n,r=e.tokens,i=r.length;for(let e=0;e<i;e++){if(r[e].type!==`inline`)continue;let i=r[e].children,a=i.length;for(t=0;t<a;t++)i[t].type===`text_special`&&(i[t].type=`text`),i[t].children&&zi(i[t].children);for(t=n=0;t<a;t++)i[t].type===`text`&&t+1<a&&i[t+1].type===`text`?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}}var Vi=[[`normalize`,hi],[`block`,gi],[`strip_references`,_i],[`inline`,vi],[`linkify`,xi],[`replacements`,ki],[`smartquotes`,Ri],[`text_join`,Bi]],Hi=class{constructor(){Z(this,`ruler`,new ui),Z(this,`State`,fi);for(let e=0;e<Vi.length;e++)this.ruler.push(Vi[e][0],Vi[e][1])}process(e){let t=this.ruler.getRules(``);for(let n=0,r=t.length;n<r;n++)t[n](e)}},Ui=class{constructor(e,t,n,r){Z(this,`bMarks`,[]),Z(this,`eMarks`,[]),Z(this,`tShift`,[]),Z(this,`sCount`,[]),Z(this,`bsCount`,[]),Z(this,`blkIndent`,0),Z(this,`line`,0),Z(this,`lineMax`,0),Z(this,`tight`,!1),Z(this,`listIndent`,-1),Z(this,`parentType`,`root`),Z(this,`level`,0),Z(this,`Token`,li),this.src=e,this.md=t,this.env=n,this.tokens=r;let i=this.src;for(let e=0,t=0,n=0,r=0,a=i.length,o=!1;t<a;t++){let s=i.charCodeAt(t);if(!o){if(X(s)){n++,s===9?r+=4-r%4:r++;continue}o=!0}(s===10||t===a-1)&&(s!==10&&t++,this.bMarks.push(e),this.eMarks.push(t),this.tShift.push(n),this.sCount.push(r),this.bsCount.push(0),o=!1,n=0,r=0,e=t+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}push(e,t,n){let r=new li(e,t,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r}isEmpty(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]}skipEmptyLines(e){for(let t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e}skipSpaces(e){for(let t=this.src.length;e<t&&X(this.src.charCodeAt(e));e++);return e}skipSpacesBack(e,t){if(e<=t)return e;for(;e>t;)if(!X(this.src.charCodeAt(--e)))return e+1;return e}skipChars(e,t){for(let n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e}skipCharsBack(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e}getLines(e,t,n,r){if(e>=t)return``;let i=Array(t-e);for(let a=0,o=e;o<t;o++,a++){let e=0,s=this.bMarks[o],c=s,l;for(l=o+1<t||r?this.eMarks[o]+1:this.eMarks[o];c<l&&e<n;){let t=this.src.charCodeAt(c);if(X(t))t===9?e+=4-(e+this.bsCount[o])%4:e++;else if(c-s<this.tShift[o])e++;else break;c++}e>n?i[a]=Array(e-n+1).join(` `)+this.src.slice(c,l):i[a]=this.src.slice(c,l)}return i.join(``)}},Wi=65536;function Gi(e,t){let n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function Ki(e){let t=[],n=e.length,r=0,i=e.charCodeAt(r),a=!1,o=0,s=``;for(;r<n;)i===124&&(a?(s+=e.substring(o,r-1),o=r):(t.push(s+e.substring(o,r)),s=``,o=r+1)),a=i===92,r++,i=e.charCodeAt(r);return t.push(s+e.substring(o)),t}function qi(e,t,n,r){if(t+2>n)return!1;let i=t+1;if(e.sCount[i]<e.blkIndent||e.sCount[i]-e.blkIndent>=4)return!1;let a=e.bMarks[i]+e.tShift[i];if(a>=e.eMarks[i])return!1;let o=e.src.charCodeAt(a++);if(o!==124&&o!==45&&o!==58||a>=e.eMarks[i])return!1;let s=e.src.charCodeAt(a++);if(s!==124&&s!==45&&s!==58&&!X(s)||o===45&&X(s))return!1;for(;a<e.eMarks[i];){let t=e.src.charCodeAt(a);if(t!==124&&t!==45&&t!==58&&!X(t))return!1;a++}let c=Gi(e,t+1),l=c.split(`|`),u=[];for(let e=0;e<l.length;e++){let t=l[e].trim();if(!t){if(e===0||e===l.length-1)continue;return!1}if(!/^:?-+:?$/.test(t))return!1;t.charCodeAt(t.length-1)===58?u.push(t.charCodeAt(0)===58?`center`:`right`):t.charCodeAt(0)===58?u.push(`left`):u.push(``)}if(c=Gi(e,t).trim(),c.indexOf(`|`)===-1||e.sCount[t]-e.blkIndent>=4)return!1;l=Ki(c),l.length&&l[0]===``&&l.shift(),l.length&&l[l.length-1]===``&&l.pop();let d=l.length;if(d===0||d!==u.length)return!1;if(r)return!0;let f=e.parentType;e.parentType=`table`;let p=e.md.block.ruler.getRules(`blockquote`),m=e.push(`table_open`,`table`,1),h=[t,0];m.map=h;let g=e.push(`thead_open`,`thead`,1);g.map=[t,t+1];let _=e.push(`tr_open`,`tr`,1);_.map=[t,t+1];for(let t=0;t<l.length;t++){let n=e.push(`th_open`,`th`,1);u[t]&&(n.attrs=[[`style`,`text-align:${u[t]}`]]);let r=e.push(`inline`,``,0);r.content=l[t].trim(),r.children=[],e.push(`th_close`,`th`,-1)}e.push(`tr_close`,`tr`,-1),e.push(`thead_close`,`thead`,-1);let v,y=0;for(i=t+2;i<n&&!(e.sCount[i]<e.blkIndent);i++){let r=!1;for(let t=0,a=p.length;t<a;t++)if(p[t](e,i,n,!0)){r=!0;break}if(r||(c=Gi(e,i).trim(),!c)||e.sCount[i]-e.blkIndent>=4||(l=Ki(c),l.length&&l[0]===``&&l.shift(),l.length&&l[l.length-1]===``&&l.pop(),y+=d-l.length,y>Wi))break;if(i===t+2){let n=e.push(`tbody_open`,`tbody`,1);n.map=v=[t+2,0]}let a=e.push(`tr_open`,`tr`,1);a.map=[i,i+1];for(let t=0;t<d;t++){let n=e.push(`td_open`,`td`,1);u[t]&&(n.attrs=[[`style`,`text-align:${u[t]}`]]);let r=e.push(`inline`,``,0);r.content=l[t]?l[t].trim():``,r.children=[],e.push(`td_close`,`td`,-1)}e.push(`tr_close`,`tr`,-1)}return v&&(e.push(`tbody_close`,`tbody`,-1),v[1]=i),e.push(`table_close`,`table`,-1),h[1]=i,e.parentType=f,e.line=i,!0}function Ji(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let r=t+1,i=r;for(;r<n;){if(e.isEmpty(r)){r++;continue}if(e.sCount[r]-e.blkIndent>=4){r++,i=r;continue}break}e.line=i;let a=e.push(`code_block`,`code`,0);return a.content=e.getLines(t,i,4+e.blkIndent,!1)+`
17
- `,a.map=[t,e.line],!0}function Yi(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>a)return!1;let o=e.src.charCodeAt(i);if(o!==126&&o!==96)return!1;let s=i;i=e.skipChars(i,o);let c=i-s;if(c<3)return!1;let l=e.src.slice(s,i),u=e.src.slice(i,a);if(o===96&&u.indexOf(String.fromCharCode(o))>=0)return!1;if(r)return!0;let d=t,f=!1;for(;d++,!(d>=n||(i=s=e.bMarks[d]+e.tShift[d],a=e.eMarks[d],i<a&&e.sCount[d]<e.blkIndent));)if(e.src.charCodeAt(i)===o&&!(e.sCount[d]-e.blkIndent>=4)&&(i=e.skipChars(i,o),!(i-s<c)&&(i=e.skipSpaces(i),!(i<a)))){f=!0;break}c=e.sCount[t],e.line=d+ +!!f;let p=e.push(`fence`,`code`,0);return p.info=u,p.content=e.getLines(t+1,d,c,!0),p.markup=l,p.map=[t,e.line],!0}function Xi(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],o=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(i)!==62)return!1;if(r)return!0;let s=[],c=[],l=[],u=[],d=e.md.block.ruler.getRules(`blockquote`),f=e.parentType;e.parentType=`blockquote`;let p=!1,m;for(m=t;m<n;m++){let t=e.sCount[m]<e.blkIndent;if(i=e.bMarks[m]+e.tShift[m],a=e.eMarks[m],i>=a)break;if(e.src.charCodeAt(i++)===62&&!t){let t=e.sCount[m]+1,n,r;e.src.charCodeAt(i)===32?(i++,t++,r=!1,n=!0):e.src.charCodeAt(i)===9?(n=!0,(e.bsCount[m]+t)%4==3?(i++,t++,r=!1):r=!0):n=!1;let o=t;for(s.push(e.bMarks[m]),e.bMarks[m]=i;i<a;){let t=e.src.charCodeAt(i);if(X(t))t===9?o+=4-(o+e.bsCount[m]+ +!!r)%4:o++;else break;i++}p=i>=a,c.push(e.bsCount[m]),e.bsCount[m]=e.sCount[m]+1+ +!!n,l.push(e.sCount[m]),e.sCount[m]=o-t,u.push(e.tShift[m]),e.tShift[m]=i-e.bMarks[m];continue}if(p)break;let r=!1;for(let t=0,i=d.length;t<i;t++)if(d[t](e,m,n,!0)){r=!0;break}if(r){e.lineMax=m,e.blkIndent!==0&&(s.push(e.bMarks[m]),c.push(e.bsCount[m]),u.push(e.tShift[m]),l.push(e.sCount[m]),e.sCount[m]-=e.blkIndent);break}s.push(e.bMarks[m]),c.push(e.bsCount[m]),u.push(e.tShift[m]),l.push(e.sCount[m]),e.sCount[m]=-1}let h=e.blkIndent;e.blkIndent=0;let g=e.push(`blockquote_open`,`blockquote`,1);g.markup=`>`;let _=[t,0];g.map=_,e.md.block.tokenize(e,t,m);let v=e.push(`blockquote_close`,`blockquote`,-1);v.markup=`>`,e.lineMax=o,e.parentType=f,_[1]=e.line;for(let n=0;n<u.length;n++)e.bMarks[n+t]=s[n],e.tShift[n+t]=u[n],e.sCount[n+t]=l[n],e.bsCount[n+t]=c[n];return e.blkIndent=h,!0}function Zi(e,t,n,r){let i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.bMarks[t]+e.tShift[t],o=e.src.charCodeAt(a++);if(o!==42&&o!==45&&o!==95)return!1;let s=1;for(;a<i;){let t=e.src.charCodeAt(a++);if(t!==o&&!X(t))return!1;t===o&&s++}if(s<3)return!1;if(r)return!0;e.line=t+1;let c=e.push(`hr`,`hr`,0);return c.map=[t,e.line],c.markup=Array(s+1).join(String.fromCharCode(o)),!0}function Qi(e,t){let n=e.eMarks[t],r=e.bMarks[t]+e.tShift[t],i=e.src.charCodeAt(r++);return i!==42&&i!==45&&i!==43||r<n&&!X(e.src.charCodeAt(r))?-1:r}function $i(e,t){let n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t],i=n;if(i+1>=r)return-1;let a=e.src.charCodeAt(i++);if(a<48||a>57)return-1;for(;;){if(i>=r)return-1;if(a=e.src.charCodeAt(i++),a>=48&&a<=57){if(i-n>=10)return-1;continue}if(a===41||a===46)break;return-1}return i<r&&(a=e.src.charCodeAt(i),!X(a))?-1:i}function ea(e,t){let n=e.level+2;for(let r=t+2,i=e.tokens.length-2;r<i;r++)e.tokens[r].level===n&&e.tokens[r].type===`paragraph_open`&&(e.tokens[r+2].hidden=!0,e.tokens[r].hidden=!0,r+=2)}function ta(e,t,n,r){let i,a,o,s,c=t,l=!0;if(e.sCount[c]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[c]-e.listIndent>=4&&e.sCount[c]<e.blkIndent)return!1;let u=!1;r&&e.parentType===`paragraph`&&e.sCount[c]>=e.blkIndent&&(u=!0);let d,f,p;if((p=$i(e,c))>=0){if(d=!0,o=e.bMarks[c]+e.tShift[c],f=Number(e.src.slice(o,p-1)),u&&f!==1)return!1}else if((p=Qi(e,c))>=0)d=!1;else return!1;if(u&&e.skipSpaces(p)>=e.eMarks[c])return!1;if(r)return!0;let m=e.src.charCodeAt(p-1),h=e.tokens.length;d?(s=e.push(`ordered_list_open`,`ol`,1),f!==1&&(s.attrs=[[`start`,f]])):s=e.push(`bullet_list_open`,`ul`,1);let g=[c,0];s.map=g,s.markup=String.fromCharCode(m);let _=!1,v=e.md.block.ruler.getRules(`list`),y=e.parentType;for(e.parentType=`list`;c<n;){a=p,i=e.eMarks[c];let t=e.sCount[c]+p-(e.bMarks[c]+e.tShift[c]),r=t;for(;a<i;){let t=e.src.charCodeAt(a);if(t===9)r+=4-(r+e.bsCount[c])%4;else if(t===32)r++;else break;a++}let u=a,f;f=u>=i?1:r-t,f>4&&(f=1);let h=t+f;s=e.push(`list_item_open`,`li`,1),s.markup=String.fromCharCode(m);let g=[c,0];s.map=g,d&&(s.info=e.src.slice(o,p-1));let y=e.tight,b=e.tShift[c],x=e.sCount[c],S=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=h,e.tight=!0,e.tShift[c]=u-e.bMarks[c],e.sCount[c]=r,u>=i&&e.isEmpty(c+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,c,n),(!e.tight||_)&&(l=!1),_=e.line-c>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=S,e.tShift[c]=b,e.sCount[c]=x,e.tight=y,s=e.push(`list_item_close`,`li`,-1),s.markup=String.fromCharCode(m),c=e.line,g[1]=c,c>=n||e.sCount[c]<e.blkIndent||e.sCount[c]-e.blkIndent>=4)break;let C=!1;for(let t=0,r=v.length;t<r;t++)if(v[t](e,c,n,!0)){C=!0;break}if(C)break;if(d){if(p=$i(e,c),p<0)break;o=e.bMarks[c]+e.tShift[c]}else if(p=Qi(e,c),p<0)break;if(m!==e.src.charCodeAt(p-1))break}return s=d?e.push(`ordered_list_close`,`ol`,-1):e.push(`bullet_list_close`,`ul`,-1),s.markup=String.fromCharCode(m),g[1]=c,e.line=c,e.parentType=y,l&&ea(e,h),!0}function na(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],o=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(i)!==91)return!1;function s(t){let n=e.lineMax;if(t>=n||e.isEmpty(t))return null;let r=!1;if(e.sCount[t]-e.blkIndent>3&&(r=!0),e.sCount[t]<0&&(r=!0),!r){let r=e.md.block.ruler.getRules(`reference`),i=e.parentType;e.parentType=`reference`;let a=!1;for(let i=0,o=r.length;i<o;i++)if(r[i](e,t,n,!0)){a=!0;break}if(e.parentType=i,a)return null}let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];return e.src.slice(i,a+1)}let c=e.src.slice(i,a+1);a=c.length;let l=-1;for(i=1;i<a;i++){let e=c.charCodeAt(i);if(e===91)return!1;if(e===93){l=i;break}if(e===10){let e=s(o);e!==null&&(c+=e,a=c.length,o++)}else if(e===92&&(i++,i<a&&c.charCodeAt(i)===10)){let e=s(o);e!==null&&(c+=e,a=c.length,o++)}}if(l<0||c.charCodeAt(l+1)!==58)return!1;for(i=l+2;i<a;i++){let e=c.charCodeAt(i);if(e===10){let e=s(o);e!==null&&(c+=e,a=c.length,o++)}else if(!X(e))break}let u=e.md.helpers.parseLinkDestination(c,i,a);if(!u.ok)return!1;let d=e.md.normalizeLink(u.str);if(!e.md.validateLink(d))return!1;i=u.pos;let f=i,p=o,m=i;for(;i<a;i++){let e=c.charCodeAt(i);if(e===10){let e=s(o);e!==null&&(c+=e,a=c.length,o++)}else if(!X(e))break}let h=e.md.helpers.parseLinkTitle(c,i,a);for(;h.can_continue;){let t=s(o);if(t===null)break;c+=t,i=a,a=c.length,o++,h=e.md.helpers.parseLinkTitle(c,i,a,h)}let g;for(i<a&&m!==i&&h.ok?(g=h.str,i=h.pos):(g=``,i=f,o=p);i<a&&X(c.charCodeAt(i));)i++;if(i<a&&c.charCodeAt(i)!==10&&g)for(g=``,i=f,o=p;i<a&&X(c.charCodeAt(i));)i++;if(i<a&&c.charCodeAt(i)!==10)return!1;let _=Qr(c.slice(1,l));if(!_)return!1;if(r)return!0;e.env.references===void 0&&(e.env.references={}),e.env.references[_]===void 0&&(e.env.references[_]={title:g,href:d});let v=e.push(`reference_definition`,``,0);v.map=[t,o],v.hidden=!0;let y=Object.create(null);return y.label=_,v.meta=y,e.line=o,!0}var ra=`address.article.aside.base.basefont.blockquote.body.caption.center.col.colgroup.dd.details.dialog.dir.div.dl.dt.fieldset.figcaption.figure.footer.form.frame.frameset.h1.h2.h3.h4.h5.h6.head.header.hr.html.iframe.legend.li.link.main.menu.menuitem.nav.noframes.ol.optgroup.option.p.param.search.section.summary.table.tbody.td.tfoot.th.thead.title.tr.track.ul`.split(`.`),ia=`<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^"'=<>\`\\x00-\\x20]+|'[^']*'|"[^"]*"))?)*\\s*\\/?>`,aa=`<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>`,oa=RegExp(`^(?:${ia}|${aa}|<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)`),sa=RegExp(`^(?:${ia}|${aa})`),ca=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Za-z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[RegExp(`^</?(${ra.join(`|`)})(?=(\\s|/?>|$))`,`i`),/^$/,!0],[RegExp(`${sa.source}\\s*$`),/^$/,!1]];function la(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(i)!==60)return!1;let o=e.src.slice(i,a),s=0;for(;s<ca.length&&!ca[s][0].test(o);s++);if(s===ca.length)return!1;if(r)return ca[s][2];let c=t+1,l=ca[s][1].test(``);if(!ca[s][1].test(o)){for(;c<n&&!(e.sCount[c]<e.blkIndent&&(l||!e.isEmpty(c)));c++)if(i=e.bMarks[c]+e.tShift[c],a=e.eMarks[c],o=e.src.slice(i,a),ca[s][1].test(o)){o.length!==0&&c++;break}}e.line=c;let u=e.push(`html_block`,``,0);return u.map=[t,c],u.content=e.getLines(t,c,e.blkIndent,!0),!0}function ua(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.src.charCodeAt(i);if(o!==35||i>=a)return!1;let s=1;for(o=e.src.charCodeAt(++i);o===35&&i<a&&s<=6;)s++,o=e.src.charCodeAt(++i);if(s>6||i<a&&!X(o))return!1;if(r)return!0;a=e.skipSpacesBack(a,i);let c=e.skipCharsBack(a,35,i);c>i&&X(e.src.charCodeAt(c-1))&&(a=c),e.line=t+1;let l=e.push(`heading_open`,`h${s}`,1);l.markup=`########`.slice(0,s),l.map=[t,e.line];let u=e.push(`inline`,``,0);u.content=ei(e.src.slice(i,a)),u.map=[t,e.line],u.children=[];let d=e.push(`heading_close`,`h${s}`,-1);return d.markup=`########`.slice(0,s),!0}function da(e,t,n){let r=e.md.block.ruler.getRules(`paragraph`);if(e.sCount[t]-e.blkIndent>=4)return!1;let i=e.parentType;e.parentType=`paragraph`;let a=0,o,s=t+1;for(;s<n&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3)continue;if(e.sCount[s]>=e.blkIndent){let t=e.bMarks[s]+e.tShift[s],n=e.eMarks[s];if(t<n&&(o=e.src.charCodeAt(t),(o===45||o===61)&&(t=e.skipChars(t,o),t=e.skipSpaces(t),t>=n))){a=o===61?1:2;break}}if(e.sCount[s]<0)continue;let t=!1;for(let i=0,a=r.length;i<a;i++)if(r[i](e,s,n,!0)){t=!0;break}if(t)break}if(!a)return e.parentType=i,!1;let c=ei(e.getLines(t,s,e.blkIndent,!1));e.line=s+1;let l=e.push(`heading_open`,`h${a}`,1);l.markup=String.fromCharCode(o),l.map=[t,e.line];let u=e.push(`inline`,``,0);u.content=c,u.map=[t,e.line-1],u.children=[];let d=e.push(`heading_close`,`h${a}`,-1);return d.markup=String.fromCharCode(o),e.parentType=i,!0}function fa(e,t,n){let r=e.md.block.ruler.getRules(`paragraph`),i=e.parentType,a=t+1;for(e.parentType=`paragraph`;a<n&&!e.isEmpty(a);a++){if(e.sCount[a]-e.blkIndent>3||e.sCount[a]<0)continue;let t=!1;for(let i=0,o=r.length;i<o;i++)if(r[i](e,a,n,!0)){t=!0;break}if(t)break}let o=ei(e.getLines(t,a,e.blkIndent,!1));e.line=a;let s=e.push(`paragraph_open`,`p`,1);s.map=[t,e.line];let c=e.push(`inline`,``,0);return c.content=o,c.map=[t,e.line],c.children=[],e.push(`paragraph_close`,`p`,-1),e.parentType=i,!0}var pa=[[`table`,qi,[`paragraph`,`reference`]],[`code`,Ji],[`fence`,Yi,[`paragraph`,`reference`,`blockquote`,`list`]],[`blockquote`,Xi,[`paragraph`,`reference`,`blockquote`,`list`]],[`hr`,Zi,[`paragraph`,`reference`,`blockquote`,`list`]],[`list`,ta,[`paragraph`,`reference`,`blockquote`]],[`reference`,na],[`html_block`,la,[`paragraph`,`reference`,`blockquote`]],[`heading`,ua,[`paragraph`,`reference`,`blockquote`]],[`lheading`,da],[`paragraph`,fa]],ma=class{constructor(){Z(this,`ruler`,new ui),Z(this,`State`,Ui);for(let e=0;e<pa.length;e++)this.ruler.push(pa[e][0],pa[e][1],{alt:(pa[e][2]||[]).slice()})}tokenize(e,t,n){let r=this.ruler.getRules(``),i=r.length,a=e.md.options.maxNesting,o=t,s=!1;for(;o<n&&(e.line=o=e.skipEmptyLines(o),!(o>=n||e.sCount[o]<e.blkIndent));){if(e.level>=a){e.line=n;break}let t=e.line,c=!1;for(let a=0;a<i;a++)if(c=r[a](e,o,n,!1),c){if(t>=e.line)throw Error(`block rule didn't increment state.line`);break}if(!c)throw Error(`none of the block rules matched`);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),o=e.line,o<n&&e.isEmpty(o)&&(s=!0,o++,e.line=o)}}parse(e,t,n,r){if(!e)return;let i=new this.State(e,t,n,r);this.tokenize(i,i.line,i.lineMax)}},ha=class{constructor(e,t,n,r){Z(this,`pos`,0),Z(this,`level`,0),Z(this,`pending`,``),Z(this,`pendingLevel`,0),Z(this,`cache`,{}),Z(this,`backticks`,{}),Z(this,`backticksScanned`,!1),Z(this,`linkLevel`,0),Z(this,`delimiters`,[]),Z(this,`_prev_delimiters`,[]),Z(this,`Token`,li),this.src=e,this.env=n,this.md=t,this.tokens=r,this.tokens_meta=Array(r.length),this.posMax=this.src.length}pushPending(){let e=new li(`text`,``,0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending=``,e}push(e,t,n){this.pending&&this.pushPending();let r=new li(e,t,n),i;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r}scanDelims(e,t){let n=this.posMax,r=this.src.charCodeAt(e),i;if(e===0)i=32;else if(e===1)i=this.src.charCodeAt(0),(i&63488)==55296&&(i=65533);else if(i=this.src.charCodeAt(e-1),(i&64512)==56320){let t=this.src.charCodeAt(e-2);i=(t&64512)==55296?65536+(t-55296<<10)+(i-56320):65533}else(i&64512)==55296&&(i=65533);let a=e;for(;a<n&&this.src.charCodeAt(a)===r;)a++;let o=a-e,s=a<n?this.src.charCodeAt(a):32;if((s&64512)==55296){let e=this.src.charCodeAt(a+1);s=(e&64512)==56320?65536+(s-55296<<10)+(e-56320):65533}else(s&64512)==56320&&(s=65533);let c=Zr(i)||Xr(i),l=Zr(s)||Xr(s),u=Jr(i),d=Jr(s),f=!d&&(!l||u||c),p=!u&&(!c||d||l);return{can_open:f&&(t||!p||c),can_close:p&&(t||!f||l),length:o}}};function ga(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function _a(e,t){let n=e.pos;for(;n<e.posMax&&!ga(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}function va(e){return e>=65&&e<=90||e>=97&&e<=122}function ya(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===43||e===45||e===46}function ba(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;let n=e.pos,r=e.posMax;if(n+3>r||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;let i=n-Math.min(10,e.pending.length,n),a=n;for(;a>i&&ya(e.src.charCodeAt(a-1));)a--;if(a===n||!va(e.src.charCodeAt(a)))return!1;let o=n-a,s=e.md.linkify.matchAtStart(e.src.slice(a));if(!s)return!1;let c=s.url;if(c.length<=o)return!1;let l=c.length;for(;l>0&&c.charCodeAt(l-1)===42;)l--;l!==c.length&&(c=c.slice(0,l));let u=e.md.normalizeLink(c);if(!e.md.validateLink(u))return!1;if(!t){e.pending=e.pending.slice(0,-o);let t=e.push(`link_open`,`a`,1);t.attrs=[[`href`,u]],t.markup=`linkify`,t.info=`auto`;let n=e.push(`text`,``,0);n.content=e.md.normalizeLinkText(c);let r=e.push(`link_close`,`a`,-1);r.markup=`linkify`,r.info=`auto`}return e.pos+=c.length-o,!0}function xa(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;let r=e.pending.length-1,i=e.posMax;if(!t){if(r>=0&&e.pending.charCodeAt(r)===32){if(r>=1&&e.pending.charCodeAt(r-1)===32){let t=r-1;for(;t>=1&&e.pending.charCodeAt(t-1)===32;)t--;e.pending=e.pending.slice(0,t),e.push(`hardbreak`,`br`,0)}else e.pending=e.pending.slice(0,-1),e.push(`softbreak`,`br`,0)}else e.push(`softbreak`,`br`,0)}for(n++;n<i&&X(e.src.charCodeAt(n));)n++;return e.pos=n,!0}var Sa=[];for(let e=0;e<256;e++)Sa.push(0);`\\!"#$%&'()*+,./:;<=>?@[]^_\`{|}~-`.split(``).forEach(function(e){Sa[e.charCodeAt(0)]=1});function Ca(e,t){let n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=r))return!1;let i=e.src.charCodeAt(n);if(i===10){for(t||e.push(`hardbreak`,`br`,0),n++;n<r&&(i=e.src.charCodeAt(n),X(i));)n++;return e.pos=n,!0}if(i===32){if(!t){let t=e.push(`text_special`,``,0);t.content=`\\`,t.markup=`\\`,t.info=`escape`}return e.pos=n,!0}let a=e.src[n];if(i>=55296&&i<=56319&&n+1<r){let t=e.src.charCodeAt(n+1);t>=56320&&t<=57343&&(a+=e.src[n+1],n++)}let o=`\\`+a;if(!t){let t=e.push(`text_special`,``,0);t.content=i<256&&Sa[i]!==0?a:o,t.markup=o,t.info=`escape`}return e.pos=n+1,!0}function wa(e){let t={},n=0;for(;(n=e.indexOf("`",n))!==-1;){let r=n;for(;e.charCodeAt(++n)===96;);t[n-r]=r}return t}function Ta(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==96)return!1;let r=e.posMax,i=n+1;for(;i<r&&e.src.charCodeAt(i)===96;)i++;let a=e.src.slice(n,i),o=a.length;if(e.backticksScanned||=(e.backticks=wa(e.src),!0),(e.backticks[o]??-1)>=i){let n=i,s;for(;(s=e.src.indexOf("`",n))!==-1&&s<r;){for(n=s+1;e.src.charCodeAt(n)===96;)n++;if(n>r)break;if(n-s===o){if(!t){let t=e.push(`code_inline`,`code`,0);t.markup=a;let n=e.src.slice(i,s).replace(/\n/g,` `);n.startsWith(` `)&&n.endsWith(` `)&&/[^ ]/.test(n)&&(n=n.slice(1,-1)),t.content=n}return e.pos=n,!0}}}return t||(e.pending+=a),e.pos=i,!0}function Ea(e,t){let n=e.pos,r=e.src.charCodeAt(n);if(t||r!==126)return!1;let i=e.scanDelims(e.pos,!0),a=i.length,o=String.fromCharCode(r);if(a<2)return!1;let s;a%2&&(s=e.push(`text`,``,0),s.content=o,a--);for(let t=0;t<a;t+=2)s=e.push(`text`,``,0),s.content=o+o,e.delimiters.push({marker:r,length:0,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0}function Da(e,t){let n,r=[],i=t.length;for(let a=0;a<i;a++){let i=t[a];if(i.marker!==126||i.end===-1)continue;let o=t[i.end];n=e.tokens[i.token],n.type=`s_open`,n.tag=`s`,n.nesting=1,n.markup=`~~`,n.content=``,n=e.tokens[o.token],n.type=`s_close`,n.tag=`s`,n.nesting=-1,n.markup=`~~`,n.content=``,e.tokens[o.token-1].type===`text`&&e.tokens[o.token-1].content===`~`&&r.push(o.token-1)}for(;r.length;){let t=r.pop(),i=t+1;for(;i<e.tokens.length&&e.tokens[i].type===`s_close`;)i++;i--,t!==i&&(n=e.tokens[i],e.tokens[i]=e.tokens[t],e.tokens[t]=n)}}function Oa(e){let t=e.tokens_meta,n=e.tokens_meta.length;Da(e,e.delimiters);for(let r=0;r<n;r++){let n=t[r]?.delimiters;n&&Da(e,n)}}var ka={tokenize:Ea,postProcess:Oa};function Aa(e,t){let n=e.pos,r=e.src.charCodeAt(n);if(t||r!==95&&r!==42)return!1;let i=e.scanDelims(e.pos,r===42);for(let t=0;t<i.length;t++){let t=e.push(`text`,``,0);t.content=String.fromCharCode(r),e.delimiters.push({marker:r,length:i.length,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close})}return e.pos+=i.length,!0}function ja(e,t){let n=t.length;for(let r=n-1;r>=0;r--){let n=t[r];if(n.marker!==95&&n.marker!==42||n.end===-1)continue;let i=t[n.end],a=r>0&&t[r-1].end===n.end+1&&t[r-1].marker===n.marker&&t[r-1].token===n.token-1&&t[n.end+1].token===i.token+1,o=String.fromCharCode(n.marker),s=e.tokens[n.token];s.type=a?`strong_open`:`em_open`,s.tag=a?`strong`:`em`,s.nesting=1,s.markup=a?o+o:o,s.content=``;let c=e.tokens[i.token];c.type=a?`strong_close`:`em_close`,c.tag=a?`strong`:`em`,c.nesting=-1,c.markup=a?o+o:o,c.content=``,a&&(e.tokens[t[r-1].token].content=``,e.tokens[t[n.end+1].token].content=``,r--)}}function Ma(e){let t=e.tokens_meta,n=e.tokens_meta.length;ja(e,e.delimiters);for(let r=0;r<n;r++){let n=t[r]?.delimiters;n&&ja(e,n)}}var Na={tokenize:Aa,postProcess:Ma};function Pa(e,t){let n,r,i,a,o=``,s=``,c=e.pos,l=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;let u=e.pos,d=e.posMax,f=e.pos+1,p=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(p<0)return!1;let m=p+1;if(m<d&&e.src.charCodeAt(m)===40){for(l=!1,m++;m<d&&(n=e.src.charCodeAt(m),X(n)||n===10);m++);if(m>=d)return!1;if(c=m,i=e.md.helpers.parseLinkDestination(e.src,m,e.posMax),i.ok){for(o=e.md.normalizeLink(i.str),e.md.validateLink(o)?m=i.pos:o=``,c=m;m<d&&(n=e.src.charCodeAt(m),X(n)||n===10);m++);if(i=e.md.helpers.parseLinkTitle(e.src,m,e.posMax),m<d&&c!==m&&i.ok)for(s=i.str,m=i.pos;m<d&&(n=e.src.charCodeAt(m),X(n)||n===10);m++);}(m>=d||e.src.charCodeAt(m)!==41)&&(l=!0),m++}if(l){if(e.env.references===void 0)return!1;if(m<d&&e.src.charCodeAt(m)===91?(c=m+1,m=e.md.helpers.parseLinkLabel(e,m),m>=0?r=e.src.slice(c,m++):m=p+1):m=p+1,r||=e.src.slice(f,p),r=Qr(r),a=e.env.references[r],!a)return e.pos=u,!1;o=a.href,s=a.title}if(!t){e.pos=f,e.posMax=p;let t=e.push(`link_open`,`a`,1),n=[[`href`,o]];if(t.attrs=n,s&&n.push([`title`,s]),r){let e=Object.create(null);e.label=r,t.meta=e}e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push(`link_close`,`a`,-1)}return e.pos=m,e.posMax=d,!0}function Fa(e,t){let n,r,i,a,o,s,c,l,u=``,d=e.pos,f=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;let p=e.pos+2,m=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(m<0)return!1;if(a=m+1,a<f&&e.src.charCodeAt(a)===40){for(a++;a<f&&(n=e.src.charCodeAt(a),X(n)||n===10);a++);if(a>=f)return!1;for(l=a,s=e.md.helpers.parseLinkDestination(e.src,a,e.posMax),s.ok&&(u=e.md.normalizeLink(s.str),e.md.validateLink(u)?a=s.pos:u=``),l=a;a<f&&(n=e.src.charCodeAt(a),X(n)||n===10);a++);if(s=e.md.helpers.parseLinkTitle(e.src,a,e.posMax),a<f&&l!==a&&s.ok)for(c=s.str,a=s.pos;a<f&&(n=e.src.charCodeAt(a),X(n)||n===10);a++);else c=``;if(a>=f||e.src.charCodeAt(a)!==41)return e.pos=d,!1;a++}else{if(e.env.references===void 0)return!1;if(a<f&&e.src.charCodeAt(a)===91?(l=a+1,a=e.md.helpers.parseLinkLabel(e,a),a>=0?i=e.src.slice(l,a++):a=m+1):a=m+1,i||=e.src.slice(p,m),i=Qr(i),o=e.env.references[i],!o)return e.pos=d,!1;u=o.href,c=o.title}if(!t){r=e.src.slice(p,m);let t=[];e.md.inline.parse(r,e.md,e.env,t);let n=e.push(`image`,`img`,0),a=[[`src`,u],[`alt`,``]];if(n.attrs=a,n.children=t,n.content=r,c&&a.push([`title`,c]),i){let e=Object.create(null);e.label=i,n.meta=e}}return e.pos=a,e.posMax=f,!0}var Ia=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,La=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function Ra(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;let r=e.pos,i=e.posMax;for(;;){if(++n>=i)return!1;let t=e.src.charCodeAt(n);if(t===60)return!1;if(t===62)break}let a=e.src.slice(r+1,n);if(La.test(a)){let n=e.md.normalizeLink(a);if(!e.md.validateLink(n))return!1;if(!t){let t=e.push(`link_open`,`a`,1);t.attrs=[[`href`,n]],t.markup=`autolink`,t.info=`auto`;let r=e.push(`text`,``,0);r.content=e.md.normalizeLinkText(a);let i=e.push(`link_close`,`a`,-1);i.markup=`autolink`,i.info=`auto`}return e.pos+=a.length+2,!0}if(Ia.test(a)){let n=e.md.normalizeLink(`mailto:${a}`);if(!e.md.validateLink(n))return!1;if(!t){let t=e.push(`link_open`,`a`,1);t.attrs=[[`href`,n]],t.markup=`autolink`,t.info=`auto`;let r=e.push(`text`,``,0);r.content=e.md.normalizeLinkText(a);let i=e.push(`link_close`,`a`,-1);i.markup=`autolink`,i.info=`auto`}return e.pos+=a.length+2,!0}return!1}function za(e){return/^<a[>\s]/i.test(e)}function Ba(e){return/^<\/a\s*>/i.test(e)}function Va(e){let t=e|32;return t>=97&&t<=122}function Ha(e,t){if(!e.md.options.html)return!1;let n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==60||r+2>=n)return!1;let i=e.src.charCodeAt(r+1);if(i!==33&&i!==63&&i!==47&&!Va(i))return!1;let a=e.src.slice(r).match(oa);if(!a)return!1;if(!t){let t=e.push(`html_inline`,``,0);t.content=a[0],za(t.content)&&e.linkLevel++,Ba(t.content)&&e.linkLevel--}return e.pos+=a[0].length,!0}var Ua=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Wa=/^&([a-z][a-z0-9]{1,31});/i;function Ga(e,t){let n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=r)return!1;if(e.src.charCodeAt(n+1)===35){let r=e.src.slice(n).match(Ua);if(r){if(!t){let t=r[1][0].toLowerCase()===`x`?parseInt(r[1].slice(1),16):parseInt(r[1],10),n=e.push(`text_special`,``,0);n.content=Nr(t)?Pr(t):Pr(65533),n.markup=r[0],n.info=`entity`}return e.pos+=r[0].length,!0}}else{let r=e.src.slice(n).match(Wa);if(r){let n=Kn(r[0]);if(n!==r[0]){if(!t){let t=e.push(`text_special`,``,0);t.content=n,t.markup=r[0],t.info=`entity`}return e.pos+=r[0].length,!0}}}return!1}function Ka(e){let t={},n=e.length;if(!n)return;let r=0,i=-2,a=[];for(let o=0;o<n;o++){let n=e[o];if(a.push(0),(e[r].marker!==n.marker||i!==n.token-1)&&(r=o),i=n.token,n.length=n.length||0,!n.close)continue;t.hasOwnProperty(n.marker)||(t[n.marker]=[-1,-1,-1,-1,-1,-1]);let s=t[n.marker][(n.open?3:0)+n.length%3],c=r-a[r]-1,l=c;for(;c>s;c-=a[c]+1){let t=e[c];if(t.marker===n.marker&&t.open&&t.end<0){let r=!1;if((t.close||n.open)&&(t.length+n.length)%3==0&&(t.length%3!=0||n.length%3!=0)&&(r=!0),!r){let r=c>0&&!e[c-1].open?a[c-1]+1:0;a[o]=o-c+r,a[c]=r,n.open=!1,t.end=o,t.close=!1,l=-1,i=-2;break}}}l!==-1&&(t[n.marker][(n.open?3:0)+(n.length||0)%3]=l)}}function qa(e){let t=e.tokens_meta,n=e.tokens_meta.length;Ka(e.delimiters);for(let e=0;e<n;e++){let n=t[e]?.delimiters;n&&Ka(n)}}function Ja(e){let t,n,r=0,i=e.tokens,a=e.tokens.length;for(t=n=0;t<a;t++)i[t].nesting<0&&r--,i[t].level=r,i[t].nesting>0&&r++,i[t].type===`text`&&t+1<a&&i[t+1].type===`text`?i[t+1].content=i[t].content+i[t+1].content:(t!==n&&(i[n]=i[t]),n++);t!==n&&(i.length=n)}var Ya=[[`text`,_a],[`linkify`,ba],[`newline`,xa],[`escape`,Ca],[`backticks`,Ta],[`strikethrough`,ka.tokenize],[`emphasis`,Na.tokenize],[`link`,Pa],[`image`,Fa],[`autolink`,Ra],[`html_inline`,Ha],[`entity`,Ga]],Xa=[[`balance_pairs`,qa],[`strikethrough`,ka.postProcess],[`emphasis`,Na.postProcess],[`fragments_join`,Ja]],Za=class{constructor(){Z(this,`ruler`,new ui),Z(this,`ruler2`,new ui),Z(this,`State`,ha);for(let e=0;e<Ya.length;e++)this.ruler.push(Ya[e][0],Ya[e][1]);for(let e=0;e<Xa.length;e++)this.ruler2.push(Xa[e][0],Xa[e][1])}skipToken(e){let t=e.pos,n=this.ruler.getRules(``),r=n.length,i=e.md.options.maxNesting,a=e.cache;if(a[t]!==void 0){e.pos=a[t];return}let o=!1;if(e.level<i){for(let i=0;i<r;i++)if(e.level++,o=n[i](e,!0),e.level--,o){if(t>=e.pos)throw Error(`inline rule didn't increment state.pos`);break}}else e.pos=e.posMax;o||e.pos++,a[t]=e.pos}tokenize(e){let t=this.ruler.getRules(``),n=t.length,r=e.posMax,i=e.md.options.maxNesting;for(;e.pos<r;){let a=e.pos,o=!1;if(e.level<i){for(let r=0;r<n;r++)if(o=t[r](e,!1),o){if(a>=e.pos)throw Error(`inline rule didn't increment state.pos`);break}}if(o){if(e.pos>=r)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()}parse(e,t,n,r){let i=new this.State(e,t,n,r);this.tokenize(i);let a=this.ruler2.getRules(``),o=a.length;for(let e=0;e<o;e++)a[e](i)}},Qa={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:`language-`,linkify:!1,typographer:!1,quotes:`“”‘’`,highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:`language-`,linkify:!1,typographer:!1,quotes:`“”‘’`,highlight:null,maxNesting:20},components:{core:{rules:[`normalize`,`block`,`strip_references`,`inline`,`text_join`]},block:{rules:[`paragraph`]},inline:{rules:[`text`],rules2:[`balance_pairs`,`fragments_join`]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:`language-`,linkify:!1,typographer:!1,quotes:`“”‘’`,highlight:null,maxNesting:20},components:{core:{rules:[`normalize`,`block`,`strip_references`,`inline`,`text_join`]},block:{rules:[`blockquote`,`code`,`fence`,`heading`,`hr`,`html_block`,`lheading`,`list`,`reference`,`paragraph`]},inline:{rules:[`autolink`,`backticks`,`emphasis`,`entity`,`escape`,`html_inline`,`image`,`link`,`newline`,`text`],rules2:[`balance_pairs`,`emphasis`,`fragments_join`]}}}},$a=/^(vbscript|javascript|file|data):/,eo=/^data:image\/(gif|png|jpeg|webp);/,to=[`http:`,`https:`,`mailto:`],$=class{validateLink(e){let t=e.trim().toLowerCase();return!$a.test(t)||eo.test(t)}normalizeLink(e){let t=gn(e,!0);if(t.hostname&&(!t.protocol||to.indexOf(t.protocol)>=0))try{t.hostname=Dr.toASCII(t.hostname)}catch{}return t.auth&&=H(t.auth),t.hostname&&=H(t.hostname),t.pathname&&=H(t.pathname),t.search&&=H(t.search),t.hash&&=H(t.hash),U(t)}normalizeLinkText(e){let t=gn(e,!0);if(t.hostname&&(!t.protocol||to.indexOf(t.protocol)>=0))try{t.hostname=Dr.toUnicode(t.hostname)}catch{}return V(U(t),V.defaultChars+`%`)}constructor(...e){Z(this,`inline`,new Za),Z(this,`block`,new ma),Z(this,`core`,new Hi),Z(this,`renderer`,new di),Z(this,`linkify`,new tr),Z(this,`utils`,Ar),Z(this,`helpers`,Object.assign({},ai));let[t,n]=e;typeof t==`string`?(this.configure(t),n&&this.set(n)):(this.configure(`default`),this.set(t||{}))}set(e){return Object.assign(this.options,e),this}configure(e){let t;if(typeof e==`string`){let n=e;if(t=Qa[n],!t)throw Error(`Wrong 'markdown-it' preset "${n}", check name`)}else t=e;if(!t)throw Error("Wrong `markdown-it` preset, can't be empty");t.options&&(this.options={...t.options});let n=t.components;if(n){[`core`,`block`,`inline`].forEach(e=>{let t=n[e]?.rules;t&&this[e].ruler.enableOnly(t)});let e=n.inline?.rules2;e&&this.inline.ruler2.enableOnly(e)}return this}enable(e,t=!1){let n=[];Array.isArray(e)||(e=[e]),[`core`,`block`,`inline`].forEach(t=>{n=n.concat(this[t].ruler.enable(e,!0))}),n=n.concat(this.inline.ruler2.enable(e,!0));let r=e.filter(e=>n.indexOf(e)<0);if(r.length&&!t)throw Error(`MarkdownIt. Failed to enable unknown rule(s): ${r}`);return this}disable(e,t=!1){let n=[];Array.isArray(e)||(e=[e]),[`core`,`block`,`inline`].forEach(t=>{n=n.concat(this[t].ruler.disable(e,!0))}),n=n.concat(this.inline.ruler2.disable(e,!0));let r=e.filter(e=>n.indexOf(e)<0);if(r.length&&!t)throw Error(`MarkdownIt. Failed to disable unknown rule(s): ${r}`);return this}use(e,...t){return e.apply(e,[this,...t]),this}parse(e,t){if(typeof e!=`string`)throw Error(`Input data should be a String`);let n=new this.core.State(e,this,t);return this.core.process(n),n.tokens}render(e,t={}){return this.renderer.render(this.parse(e,t),this.options,t)}parseInline(e,t){let n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens}renderInline(e,t={}){return this.renderer.render(this.parseInline(e,t),this.options,t)}};Z($,`Token`,li),Z($,`Ruler`,ui),Z($,`Renderer`,di),Z($,`ParserCore`,Hi),Z($,`StateCore`,fi),Z($,`ParserBlock`,ma),Z($,`StateBlock`,Ui),Z($,`ParserInline`,Za),Z($,`StateInline`,ha);var no=new(jr($))({html:!1,linkify:!1,breaks:!1});no.disable(`image`);var ro=no.renderer.rules.link_open??((e,t,n,r,i)=>i.renderToken(e,t,n));no.renderer.rules.link_open=(e,t,n,r,i)=>{let a=e[t],o=a?.attrGet(`title`);return o&&a?.attrs&&(a.attrs=a.attrs.filter(([e])=>e!==`title`),a.attrSet(`data-tooltip`,o)),a?.attrSet(`target`,`_blank`),a?.attrSet(`rel`,`noopener noreferrer`),ro(e,t,n,r,i)};var io=no.renderer.rules.fence;no.renderer.rules.fence=(e,t,n,r,i)=>{let a=io?io(e,t,n,r,i):i.renderToken(e,t,n);if(e[t]?.info.trim().split(/\s+/)[0]===`mermaid`)return a;let o=r?.copyLabel,s=no.utils.escapeHtml(typeof o==`string`?o:`Copy`);return`<div class="agent-code"><button type="button" class="agent-code__copy" data-copy data-tooltip="${s}" aria-label="${s}"><svg class="agent-code__copy-icon" viewBox="0 0 24 24" width="14" height="14" aria-hidden="true"><path fill="currentColor" d="M16 1H4a2 2 0 0 0-2 2v14h2V3h12V1zm3 4H8a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2zm0 16H8V7h11v14z"/></svg><svg class="agent-code__done-icon" viewBox="0 0 24 24" width="14" height="14" aria-hidden="true"><path fill="currentColor" d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg></button>`+a+`</div>`};function ao(e,t={}){return no.render(e,t)}var oo=[`innerHTML`],so=xe(m({__name:`MermaidPreviewDialog`,props:n({svgHtml:{}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:n([`hide`],[`update:modelValue`]),setup(e,{emit:t}){let n=d(e,`modelValue`),r=t,{t:a}=_e();return(t,o)=>(l(),S(Ht,{modelValue:n.value,"onUpdate:modelValue":o[0]||=e=>n.value=e,title:y(a)(`agent.diagram.title`),onHide:o[1]||=e=>r(`hide`)},{default:i(()=>[g(`div`,{class:`mermaid-preview`,innerHTML:e.svgHtml},null,8,oo)]),_:1},8,[`modelValue`,`title`]))}}),[[`__scopeId`,`data-v-3ad1f8bb`]]),co=[`innerHTML`],lo=m({__name:`MarkdownContent`,props:{text:{},mermaidDebounce:{default:0}},setup(e){let t=e,{t:n}=_e(),r=ne(),i=f(`body`),a=ee(()=>ao(t.text,{copyLabel:n(`agent.code.copy`)})),{copyCodeBlock:o}=qt(a);en(i,a,()=>r.dark.isActive,()=>n(`agent.diagram.failed`),()=>t.mermaidDebounce);let s=w(!1),c=w(``),u=null;function d(e){let t=e.target instanceof Element?e.target.closest(`.agent-mermaid`):null;t&&i.value?.contains(t)&&(t.focus(),u=t,c.value=t.innerHTML,s.value=!0)}function p(){c.value=``,u?.isConnected&&u.focus(),u=null}async function m(e){let t=e.target instanceof Element?e.target.closest(`[data-copy]`):null;if(!t){d(e);return}await o(t,{copy:n(`agent.code.copy`),copied:n(`agent.code.copied`)})||r.notify({type:`negative`,message:n(`agent.code.copyFailed`)})}return(e,t)=>(l(),_(`div`,null,[g(`div`,{ref_key:`body`,ref:i,class:`md-content`,onClick:m,onKeydown:re(d,[`enter`]),innerHTML:a.value},null,40,co),b(so,{modelValue:s.value,"onUpdate:modelValue":t[0]||=e=>s.value=e,"svg-html":c.value,onHide:p},null,8,[`modelValue`,`svg-html`])]))}});function uo(){let e=ne();return(t,n)=>{e.notify({type:`negative`,message:t,caption:ve(n)})}}var fo=`M10.5 15.5C10.5 15.87 10.4 16.2 10.22 16.5C9.88 15.91 9.24 15.5 8.5 15.5S7.12 15.91 6.78 16.5C6.61 16.2 6.5 15.87 6.5 15.5C6.5 14.4 7.4 13.5 8.5 13.5S10.5 14.4 10.5 15.5M23 15V18C23 18.55 22.55 19 22 19H21V20C21 21.11 20.11 22 19 22H5C3.9 22 3 21.11 3 20V19H2C1.45 19 1 18.55 1 18V15C1 14.45 1.45 14 2 14H3C3 10.13 6.13 7 10 7H11V5.73C10.4 5.39 10 4.74 10 4C10 2.9 10.9 2 12 2S14 2.9 14 4C14 4.74 13.6 5.39 13 5.73V7H14C17.87 7 21 10.13 21 14H22C22.55 14 23 14.45 23 15M21 16H19V14C19 11.24 16.76 9 14 9H10C7.24 9 5 11.24 5 14V16H3V17H5V20H19V17H21V16M15.5 13.5C14.4 13.5 13.5 14.4 13.5 15.5C13.5 15.87 13.61 16.2 13.78 16.5C14.12 15.91 14.76 15.5 15.5 15.5S16.88 15.91 17.22 16.5C17.4 16.2 17.5 15.87 17.5 15.5C17.5 14.4 16.61 13.5 15.5 13.5Z`,po=`add_comment`,mo=se({name:`QSpace`,setup(){let e=h(`div`,{class:`q-space`});return()=>e}});export{lo as a,Ht as c,It as d,uo as i,Rt as l,po as n,Gt as o,fo as r,Wt as s,mo as t,Lt as u};
@@ -1 +0,0 @@
1
- import{I as e,J as t,K as n,M as r,Ot as i,P as a,_ as o,at as s,c,d as l,ft as u,h as d,j as f,l as p,m,r as ee,s as h,st as g,u as _,w as v}from"./runtime-core.esm-bundler-CF89Lyp2.js";import{U as y,d as b,s as te,t as x}from"./QBtn-Bgm40omM.js";import{N as S,P as C,R as w,d as T}from"./index-DuCIKkvf.js";import{i as E,t as D}from"./QSpace-BVBU-0oC.js";import{n as O}from"./vue-i18n.runtime-BTqPc4vG.js";import{n as k,r as A}from"./pinia-ri8AYppz.js";import{d as j,l as M,n as N,s as P,u as F}from"./use-server-events-CYiRauy1.js";import{n as I}from"./QBadge-BY-jTQ8w.js";import{t as L}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{t as R}from"./export-file-Di_2jvjP.js";import{a as z,m as B,p as V,t as H}from"./AppPage-D_OHhrKS.js";import{n as U,t as W,u as G}from"./StatusSwitcher-BZ4FYVnY.js";function K(e){return{...e,oldPath:B(e.oldPath),newPath:B(e.newPath)}}var q=k(`review-detail`,()=>{let e=s(null),t=g([]),n=s([]),r=s(!1),i=s(null),a=h(()=>{let e=new Map;for(let t of n.value){let n=e.get(t.filePath);n?n.push(t):e.set(t.filePath,[t])}return e});async function o(a){r.value=!0,i.value=null;try{let[r,i]=await Promise.all([F(`/api/reviews/${a}`),F(`/api/reviews/${a}/comments`)]),o=JSON.parse(r.snapshotData);t.value=o.map(K),e.value=z(r),n.value=i}catch(r){e.value=null,t.value=[],n.value=[],i.value=P(r)}finally{r.value=!1}}async function c(){e.value&&(n.value=await F(`/api/reviews/${e.value.id}/comments`))}async function l(t){if(!e.value)return;let n=e.value.id,r=await j(`/api/reviews/${n}`,{status:t});e.value?.id===n&&(e.value=r)}async function u(e,t){let r=await j(`/api/comments/${e}`,{content:t});n.value=n.value.map(t=>t.id===e?r:t)}async function d(e){await M(`/api/comments/${e}`),n.value=n.value.filter(t=>t.id!==e)}async function f(e){let t=await j(`/api/comments/${e}/resolve`);n.value=n.value.map(n=>n.id===e?t:n)}async function p(e){let t=await j(`/api/comments/${e}/unresolve`);n.value=n.value.map(n=>n.id===e?t:n)}return{review:e,comments:n,loading:r,error:i,files:t,commentsByFile:a,load:o,refreshComments:c,setStatus:l,editComment:u,deleteComment:d,resolveComment:f,unresolveComment:p}}),J=o({__name:`DownloadButton`,props:{url:{},filename:{},tooltip:{}},setup(e){let n=e,{t:r}=O(),o=E(),c=s(!1);async function l(){c.value=!0;try{let e=await fetch(n.url);if(!e.ok)throw Error(`Request failed with status ${e.status}`);let t=await e.text(),r=R(n.filename,t,`text/markdown`);if(r!==!0)throw r}catch(e){o(r(`reviews.detail.downloadError`),e)}finally{c.value=!1}}return(n,r)=>(a(),p(x,v(n.$attrs,{padding:`4px`,flat:``,dense:``,round:``,loading:c.value,icon:`download`,"aria-label":e.tooltip,onClick:y(l,[`stop`])}),{default:t(()=>[e.tooltip?(a(),p(w,{key:0,delay:u(500)},{default:t(()=>[m(i(e.tooltip),1)]),_:1},8,[`delay`])):_(``,!0)]),_:1},16,[`loading`,`aria-label`]))}}),Y={class:`review-detail-page__header q-pa-sm`},X={class:`row items-center q-gutter-x-sm`},Z={class:`text-h6 ellipsis`},Q={class:`row items-center q-gutter-x-sm q-mt-xs`},ne={class:`text-caption text-grey-6`},re={key:0,class:`q-pa-md text-grey-6`},$=L(o({__name:`ReviewDetailPage`,setup(o){let{t:g}=O(),v=S(),y=C(),w=q(),{review:E,files:k,commentsByFile:j,loading:M}=A(w),P=h(()=>String(v.params.id)),F=s(new Set),L=h(()=>k.value.filter(e=>(j.value.get(V(e))??[]).length>0)),R=h(()=>`/api/reviews/${P.value}/export?format=markdown`),z=h(()=>`${(E.value?.name??E.value?.id??`review`).replace(/[/\\:*?"<>|]/g,`-`)}.md`);function B(){w.load(P.value),F.value=new Set}f(B),n(P,B);let K=N([`comment:created`,`comment:updated`,`comment:deleted`],()=>void w.refreshComments());r(()=>K.close());function $(e){let t=new Set(F.value);t.has(e)?t.delete(e):t.add(e),F.value=t}function ie(e){F.value=new Set(F.value).add(e)}function ae(e){w.setStatus(e)}G({create:async()=>{throw Error(`A saved review gets no new comments`)},edit:(e,t)=>w.editComment(e,t),remove:e=>w.deleteComment(e),resolve:e=>w.resolveComment(e),unresolve:e=>w.unresolveComment(e)});function oe(){y.push(`/reviews`)}return(n,r)=>u(M)?(a(),p(H,{key:0,class:`row justify-center q-pa-lg`},{default:t(()=>[d(te,{color:`primary`,size:`2em`})]),_:1})):u(E)?(a(),p(H,{key:2,class:`review-detail-page column no-wrap q-pa-md`},{default:t(()=>[c(`div`,Y,[c(`div`,X,[d(x,{flat:``,dense:``,round:``,icon:`arrow_back`,onClick:oe}),c(`div`,Z,i(u(E).name??u(g)(`reviews.list.unnamed`)),1),d(D),d(J,{url:R.value,filename:z.value,tooltip:u(g)(`reviews.detail.download`)},null,8,[`url`,`filename`,`tooltip`])]),c(`div`,Q,[c(`span`,ne,[d(b,{name:`account_tree`,size:`14px`}),m(` `+i(u(E).branch??u(g)(`reviews.list.unknownBranch`)),1)]),d(D),d(W,{status:u(E).status,onChange:ae},null,8,[`status`])])]),d(T),d(I,{class:`col`,"content-style":`padding: 8px`},{default:t(()=>[L.value.length===0?(a(),l(`p`,re,i(u(g)(`reviews.detail.noComments`)),1)):_(``,!0),(a(!0),l(ee,null,e(L.value,e=>(a(),p(U,{key:u(V)(e),file:e,expanded:F.value.has(u(V)(e)),comments:u(j).get(u(V)(e))??[],"comments-only":``,"comments-editable":``,"no-full-file":``,onToggle:t=>$(u(V)(e)),onExpand:t=>ie(u(V)(e))},null,8,[`file`,`expanded`,`comments`,`onToggle`,`onExpand`]))),128))]),_:1})]),_:1})):(a(),p(H,{key:1,class:`q-pa-lg text-grey-6`},{default:t(()=>[m(i(u(g)(`reviews.detail.notFound`)),1)]),_:1}))}}),[[`__scopeId`,`data-v-d5151ea5`]]);export{$ as default};
@@ -1 +0,0 @@
1
- .review-detail-page[data-v-d5151ea5]{height:100%}
@@ -1 +0,0 @@
1
- import{I as e,J as t,K as n,M as r,Ot as i,P as a,U as o,Y as s,_ as c,at as l,c as u,d,ft as f,h as p,j as m,l as h,m as g,r as _,s as v,u as y}from"./runtime-core.esm-bundler-CF89Lyp2.js";import{d as b,o as x,s as S,t as C}from"./QBtn-Bgm40omM.js";import{P as w,d as T,n as E}from"./index-DuCIKkvf.js";import{n as D}from"./vue-i18n.runtime-BTqPc4vG.js";import{r as O}from"./pinia-ri8AYppz.js";import{n as k}from"./use-server-events-CYiRauy1.js";import{c as A,l as j,n as M,s as N,t as P}from"./QBadge-BY-jTQ8w.js";import{t as F}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{t as I}from"./QSelect-713AWDd_.js";import{r as L}from"./use-virtual-scroll-DTEGubei.js";import{i as R,o as z,t as B}from"./AppPage-D_OHhrKS.js";import{n as V,r as H,t as U}from"./CreateReviewFabButton-B737aIvn.js";var W={class:`review-filters q-pa-md q-gutter-y-sm`},G={class:`row q-gutter-x-sm`},K=500,q=c({__name:`ReviewFilters`,props:{search:{required:!0},searchModifiers:{},createdFrom:{required:!0},createdFromModifiers:{},createdTo:{required:!0},createdToModifiers:{},files:{required:!0},filesModifiers:{}},emits:[`update:search`,`update:createdFrom`,`update:createdTo`,`update:files`],setup(e){let t=o(e,`search`),n=o(e,`createdFrom`),r=o(e,`createdTo`),i=o(e,`files`),{t:s}=D();return(e,o)=>(a(),d(`div`,W,[p(H,{modelValue:t.value,"onUpdate:modelValue":o[0]||=e=>t.value=e,debounce:K,placeholder:f(s)(`reviews.filters.searchPlaceholder`)},null,8,[`modelValue`,`placeholder`]),u(`div`,G,[p(E,{modelValue:n.value,"onUpdate:modelValue":o[1]||=e=>n.value=e,dense:``,outlined:``,type:`date`,class:`col`,debounce:K,label:f(s)(`reviews.filters.from`)},null,8,[`modelValue`,`label`]),p(E,{modelValue:r.value,"onUpdate:modelValue":o[2]||=e=>r.value=e,dense:``,outlined:``,type:`date`,class:`col`,debounce:K,label:f(s)(`reviews.filters.to`)},null,8,[`modelValue`,`label`])]),p(I,{modelValue:i.value,"onUpdate:modelValue":o[3]||=e=>i.value=e,dense:``,outlined:``,multiple:``,"use-input":``,"use-chips":``,"hide-dropdown-icon":``,"new-value-mode":`add-unique`,label:f(s)(`reviews.filters.files`),hint:f(s)(`reviews.filters.filesHint`)},null,8,[`modelValue`,`label`,`hint`])]))}}),J=c({__name:`ReviewListItem`,props:{review:{}},emits:[`click`],setup(e){let n={in_progress:`grey-7`,approved:`positive`,changes_requested:`negative`},r=e,{t:o}=D(),c=v(()=>r.review.name??o(`reviews.list.unnamed`)),l=v(()=>r.review.branch??o(`reviews.list.unknownBranch`)),d=v(()=>new Date(r.review.createdAt).toLocaleString());return(r,m)=>s((a(),h(A,{clickable:``,onClick:m[0]||=e=>r.$emit(`click`)},{default:t(()=>[p(j,{avatar:``},{default:t(()=>[p(b,{color:n[e.review.status],name:`rate_review`},null,8,[`color`])]),_:1}),p(j,null,{default:t(()=>[p(L,{class:`text-body2`},{default:t(()=>[g(i(c.value),1)]),_:1}),p(L,{caption:``},{default:t(()=>[p(b,{name:`account_tree`,size:`14px`,class:`q-mr-xs`}),g(i(l.value)+` `,1),m[1]||=u(`span`,{class:`q-mx-sm`},`·`,-1),g(` `+i(d.value),1)]),_:1})]),_:1}),p(j,{side:``},{default:t(()=>[p(P,{color:n[e.review.status],outline:``,rounded:``},{default:t(()=>[g(i(f(o)(`reviews.status.${e.review.status}`)),1)]),_:1},8,[`color`])]),_:1})]),_:1})),[[x]])}}),Y={class:`text-h6 q-px-sm`},X={key:0,class:`row justify-center q-pa-lg`},Z={key:1,class:`q-pa-lg text-center text-grey-6`},Q=F(c({__name:`ReviewsPage`,setup(o){let{t:s}=D(),c=w(),g=V(),v=z(),b=R(),{reviews:x,loading:E}=O(g),A=l(null),j=l(null),P=l(null),F=l([]);function I(){g.fetchReviews({search:A.value??``,createdFrom:j.value,createdTo:P.value,files:F.value})}m(I),n([A,j,P,F],I),m(()=>{v.fetchDiff(),b.refresh()});let L=k([`review:created`,`review:updated`,`review:deleted`],()=>{I(),b.refresh()});r(()=>L.close());let H=k([`files:changed`],()=>void v.fetchDiff());r(()=>H.close());function W(e){c.push(`/reviews/${e}`)}function G(e){c.push(`/reviews/${e.id}`)}return(n,r)=>(a(),h(B,{class:`reviews-page column no-wrap`},{default:t(()=>[u(`div`,Y,i(f(s)(`nav.reviews`)),1),p(T),p(q,{search:A.value,"onUpdate:search":r[0]||=e=>A.value=e,"created-from":j.value,"onUpdate:createdFrom":r[1]||=e=>j.value=e,"created-to":P.value,"onUpdate:createdTo":r[2]||=e=>P.value=e,files:F.value,"onUpdate:files":r[3]||=e=>F.value=e},null,8,[`search`,`created-from`,`created-to`,`files`]),p(T),p(M,{class:`col`},{default:t(()=>[f(E)?(a(),d(`div`,X,[p(S,{color:`primary`,size:`2em`})])):f(x).length===0?(a(),d(`div`,Z,[u(`p`,null,i(f(s)(`reviews.list.empty`)),1),p(C,{flat:``,color:`primary`,label:f(s)(`reviews.list.emptyAction`),to:{path:`/`}},null,8,[`label`])])):y(``,!0),p(N,{class:`q-pa-md`,separator:``,padding:``},{default:t(()=>[(a(!0),d(_,null,e(f(x),e=>(a(),h(J,{key:e.id,review:e,onClick:t=>W(e.id)},null,8,[`review`,`onClick`]))),128))]),_:1})]),_:1}),p(U,{onCreated:G})]),_:1}))}}),[[`__scopeId`,`data-v-38ce03eb`]]);export{Q as default};
@@ -1,2 +0,0 @@
1
- import{A as e,C as t,Dt as n,Et as r,F as i,I as a,J as o,K as s,L as c,M as l,O as u,Ot as d,P as f,S as p,U as m,W as h,Y as g,_,at as v,c as y,ct as b,d as x,dt as S,ft as C,h as w,j as T,l as E,m as D,q as ee,r as O,rt as te,s as k,st as A,tt as ne,u as j,w as M,z as re}from"./runtime-core.esm-bundler-CF89Lyp2.js";import{D as N,H as ie,U as P,V as ae,d as F,o as oe,s as I,t as L}from"./QBtn-Bgm40omM.js";import{n as se}from"./create-CSUVwdx4.js";import{R,X as ce,d as le,n as ue,t as de}from"./index-DuCIKkvf.js";import{a as fe,c as pe,i as me,l as he,n as ge,o as _e,s as ve,t as z,u as ye}from"./QSpace-BVBU-0oC.js";import{n as B}from"./vue-i18n.runtime-BTqPc4vG.js";import{n as be}from"./pinia-ri8AYppz.js";import{n as xe,s as Se,u as Ce}from"./use-server-events-CYiRauy1.js";import{t as we}from"./agent-store-DIma0R4U.js";import{c as V,i as Te,l as H,r as U,s as Ee,t as W}from"./QBadge-BY-jTQ8w.js";import{t as G}from"./_plugin-vue_export-helper-BDNMzG2s.js";import{c as De,d as Oe,f as ke,i as Ae,l as je,n as Me,o as Ne,p as K,r as Pe,s as Fe,u as Ie}from"./AppPage-D_OHhrKS.js";function Le(e,t,n=Object.is){return e.length===t.length&&e.every((e,r)=>n(e,t[r]))}var Re=Oe(1e5,e=>e.lines.length+1);function q(e={}){let t=A([]),n=v(!1),r=v(!1),i=v(null),a=0,o=null;async function s(s,l){let u=`${l}:${s}`;if(u!==o){c(),o=u;let r=e.cache?Re.get(u):void 0;r&&(t.value=r.lines,n.value=r.isBinary)}let d=++a;r.value=!0;try{let r=s.split(`/`).map(encodeURIComponent).join(`/`),o=await Ce(`/api/git/file/${r}?ref=${encodeURIComponent(l)}`);if(d!==a)return;Le(t.value,o.lines)||(t.value=o.lines),n.value=o.isBinary,i.value=null,e.cache&&Re.set(u,{lines:t.value,isBinary:o.isBinary})}catch(e){if(d!==a)return;i.value=Se(e)}finally{d===a&&(r.value=!1)}}function c(){++a,r.value=!1,o=null,t.value=[],n.value=!1,i.value=null}return{lines:t,isBinary:n,loading:r,error:i,fetchContent:s,reset:c}}var ze=G(_({__name:`CommentCountBadge`,props:{count:{},compact:{type:Boolean}},setup(e){let{t}=B();return(n,i)=>e.count>0?(f(),x(`span`,{key:0,class:r([`comment-count-badge relative-position inline-block`,{"comment-count-badge--compact":e.compact}])},[w(F,{name:`mode_comment`,size:e.compact?`15px`:`20px`},null,8,[`size`]),w(W,{color:`primary`,floating:``,rounded:``},{default:o(()=>[D(d(e.count),1)]),_:1}),w(R,{delay:C(500)},{default:o(()=>[D(d(C(t)(`reviews.comments.count`,{count:e.count})),1)]),_:1},8,[`delay`])],2)):j(``,!0)}}),[[`__scopeId`,`data-v-e3e956c6`]]),Be=Symbol(`scroll-root`);function Ve(){let e=p(Be,void 0);return t=>e?.()??t.closest(`.q-scrollarea__container`)}var He=Symbol(`comment-actions`);function Ue(e){let{t}=B(),n=me();function r(e){return async(...r)=>{try{await e(...r)}catch(e){throw n(t(`reviews.comments.error`),e),e}}}i(He,{create:r(e.create),edit:r(e.edit),remove:r(e.remove),resolve:r(e.resolve),unresolve:r(e.unresolve)})}async function J(){throw Error(`No comment actions are provided here`)}function Y(){return p(He,void 0)||{create:J,edit:J,remove:J,resolve:J,unresolve:J}}function X(e){e.catch(()=>void 0)}var We={class:`diff-line__prefix`},Ge={class:`diff-line__content`},Ke=G(_({__name:`DiffLineRow`,props:{line:{},tokens:{},oldSelected:{type:Boolean},newSelected:{type:Boolean},selectable:{type:Boolean},wrap:{type:Boolean}},emits:[`old-mousedown`,`old-mouseenter`,`new-mousedown`,`new-mouseenter`],setup(e,{emit:t}){let i=e,o=t,s=k(()=>({added:`+`,removed:`-`,context:` `})[i.line.type]),c=k(()=>i.line.type===`added`?`diff-line--added`:i.line.type===`removed`?`diff-line--removed`:``);function l(e){return e.colorLight&&e.colorDark?`light-dark(${e.colorLight}, ${e.colorDark})`:e.colorLight??e.colorDark}return(t,i)=>(f(),x(`div`,{class:r([`diff-line row no-wrap text-mono`,[c.value,{"diff-line--wrap":e.wrap}]])},[y(`span`,{class:r([`diff-line__gutter`,{"diff-line__gutter--selectable":e.selectable&&e.line.oldLineNumber,"diff-line__gutter--selected":e.oldSelected}]),onMousedown:i[0]||=t=>e.line.oldLineNumber&&o(`old-mousedown`),onMouseenter:i[1]||=t=>e.line.oldLineNumber&&o(`old-mouseenter`)},d(e.line.oldLineNumber??``),35),y(`span`,{class:r([`diff-line__gutter`,{"diff-line__gutter--selectable":e.selectable&&e.line.newLineNumber,"diff-line__gutter--selected":e.newSelected}]),onMousedown:i[2]||=t=>e.line.newLineNumber&&o(`new-mousedown`),onMouseenter:i[3]||=t=>e.line.newLineNumber&&o(`new-mouseenter`)},d(e.line.newLineNumber??``),35),y(`span`,We,d(s.value),1),y(`span`,Ge,[e.tokens?(f(!0),x(O,{key:0},a(e.tokens,(e,t)=>(f(),x(`span`,{key:t,style:n({color:l(e)})},d(e.content),5))),128)):(f(),x(O,{key:1},[D(d(e.line.content),1)],64))])],2))}}),[[`__scopeId`,`data-v-2b9e2a1a`]]),qe=2e3,Z=_({__name:`RowSegment`,props:{minHeight:{},keep:{type:Boolean,default:!1}},emits:[`change`],setup(e,{emit:t}){let r=e,i=t,a=Ve(),o=h(`el`),l=v(!1),d=v(r.minHeight),p=!1,m;return T(()=>{let e=o.value?a(o.value):null;if(!o.value||!e){l.value=!0;return}m=new IntersectionObserver(e=>{let t=e[e.length-1];t&&(t.isIntersecting?l.value=!0:r.keep||(o.value&&l.value&&(d.value=o.value.offsetHeight,p=!0),l.value=!1))},{root:e,rootMargin:`${qe}px 0px`}),m.observe(o.value)}),s(l,e=>i(`change`,e)),s(()=>r.minHeight,e=>{p||(d.value=e)}),u(()=>m?.disconnect()),(e,t)=>(f(),x(`div`,{ref_key:`el`,ref:o,style:n(l.value?void 0:{height:`${d.value}px`})},[l.value?c(e.$slots,`default`,{},void 0,void 0,0):j(``,!0)],4))}});function Je(e){if(e.length<=200)return{segmented:!1,groups:[{start:0,rows:[...e]}]};let t=[];for(let n=0;n<e.length;n+=100)t.push({start:n,rows:e.slice(n,n+100)});return{segmented:!0,groups:t}}var Q=`\0`,Ye=[`pending:`,`draft:`,`busy:`,`edit:`],Xe=be(`card-state`,()=>{let e=v({});function t(e,t){return`${e}${Q}${t}`}function n(n,r){return e.value[t(n,r)]}function r(n,r,i){e.value[t(n,r)]=i}function i(n,r){delete e.value[t(n,r)]}function a(t){for(let n of Object.keys(e.value)){let r=n.slice(0,n.indexOf(Q));t.has(r)||delete e.value[n]}}function o(e){return e.slice(e.indexOf(Q)+1)}function c(t){for(let n of Object.keys(e.value))t(o(n))&&delete e.value[n]}let l=Ne();s(()=>[l.loaded,l.stagedFiles,l.unstagedFiles],([e,t,n])=>{e&&a(new Set([...t.map(e=>ke(`staged`,K(e))),...n.map(e=>ke(`unstaged`,K(e)))]))},{immediate:!0});let u=Ae();return s(()=>u.activeReview?.id,()=>c(e=>Ye.some(t=>e.startsWith(t)))),s(()=>u.comments.map(e=>e.id),(e,t)=>{let n=new Set(e),r=new Set(t.filter(e=>!n.has(e)));r.size!==0&&c(e=>[...r].some(t=>[`edit:${t}`,`draft:edit:${t}`,`busy:edit:${t}`].includes(e)))}),{get:n,set:r,remove:i,prune:a}}),Ze=Symbol(`card-state-key`);function $(e,t,n={}){let r=n.local?void 0:n.key??p(Ze,void 0);if(r===void 0){let e=v(t());return Object.assign(k({get:()=>e.value,set:t=>{e.value=t}}),{reset(){e.value=t()}})}let i=Xe();return Object.assign(k({get:()=>i.get(r,e)??t(),set:t=>i.set(r,e,t)}),{reset(){i.remove(r,e)}})}var Qe={class:`comment-form q-pa-sm`},$e={class:`row items-center justify-between q-mt-xs`},et={key:0,class:`text-caption comment-form__line-range`},tt={class:`row q-gutter-x-sm`},nt=G(_({__name:`CommentForm`,props:{initialContent:{},submitLabel:{},lineRange:{default:null},draftKey:{},send:{}},emits:[`cancel`],setup(e,{emit:t}){let n=e,r=t,{t:i}=B(),a=n.draftKey?{}:{local:!0},o=$(`draft:${n.draftKey}`,()=>n.initialContent??``,a),s=$(`busy:${n.draftKey}`,()=>!1,a),c=o.value!==(n.initialContent??``);async function l(){let e=o.value.trim();if(e&&!s.value){s.value=!0;try{await n.send(e),o.reset()}catch{}finally{s.reset()}}}function u(){s.value||(o.reset(),r(`cancel`))}return(t,n)=>(f(),x(`div`,Qe,[w(ue,{modelValue:C(o),"onUpdate:modelValue":n[0]||=e=>ne(o)?o.value=e:null,dense:``,outlined:``,autofocus:!c,type:`textarea`,autogrow:``,placeholder:C(i)(`reviews.comments.placeholder`),readonly:C(s),onKeyup:ie(P(l,[`ctrl`]),[`enter`])},null,8,[`modelValue`,`autofocus`,`placeholder`,`readonly`,`onKeyup`]),y(`div`,$e,[e.lineRange?(f(),x(`span`,et,d(e.lineRange.start===e.lineRange.end?C(i)(`reviews.comments.line`,{line:e.lineRange.start}):C(i)(`reviews.comments.lineRange`,{start:e.lineRange.start,end:e.lineRange.end})),1)):j(``,!0),w(z),y(`div`,tt,[w(Pe,{size:`sm`,disable:C(s),onClick:u},null,8,[`disable`]),w(Me,{size:`sm`,label:e.submitLabel,disable:!C(o).trim(),loading:C(s),onClick:l},null,8,[`label`,`disable`,`loading`])])])]))}}),[[`__scopeId`,`data-v-349d56ab`]]),rt=_({__name:`DeleteButton`,props:{tooltip:{}},setup(e){return(t,n)=>(f(),E(L,M(t.$attrs,{padding:`4px`,flat:``,dense:``,round:``,icon:`delete_outline`,color:`warning`}),{default:o(()=>[e.tooltip?(f(),E(R,{key:0,delay:C(500)},{default:o(()=>[D(d(e.tooltip),1)]),_:1},8,[`delay`])):j(``,!0)]),_:1},16))}}),it=_({__name:`EditButton`,props:{tooltip:{}},setup(e){return(t,n)=>(f(),E(L,M(t.$attrs,{padding:`4px`,flat:``,dense:``,round:``,icon:`edit`,color:`secondary`}),{default:o(()=>[e.tooltip?(f(),E(R,{key:0,delay:C(500)},{default:o(()=>[D(d(e.tooltip),1)]),_:1},8,[`delay`])):j(``,!0)]),_:1},16))}}),at={class:`comment-item__body`},ot={key:0,class:`comment-item__suggestion text-mono`},st={class:`row items-center q-gutter-x-xs q-mt-xs`},ct=G(_({__name:`CommentItem`,props:{comment:{},readonly:{type:Boolean}},setup(e){let t=e,n=N(),{t:i}=B(),a=$(`edit:${t.comment.id}`,()=>!1),s=Y();function c(){n.dialog({title:i(`reviews.comments.deleteConfirmTitle`),message:i(`reviews.comments.deleteConfirmMessage`),persistent:!0,ok:{label:i(`reviews.comments.deleteConfirmOk`),color:`negative`,flat:!0},cancel:{label:i(`reviews.comments.deleteConfirmCancel`),flat:!0}}).onOk(()=>{X(s.remove(t.comment.id))})}async function l(e){await s.edit(t.comment.id,e),a.reset()}function u(){a.reset()}function p(){t.comment.resolved?X(s.unresolve(t.comment.id)):X(s.resolve(t.comment.id))}return(t,n)=>(f(),x(`div`,{class:r([`comment-item q-pa-sm`,{"comment-item--resolved":e.comment.resolved}])},[C(a)&&!e.readonly?(f(),E(nt,{key:0,"initial-content":e.comment.content,"draft-key":`edit:${e.comment.id}`,"submit-label":C(i)(`reviews.comments.save`),send:l,onCancel:u},null,8,[`initial-content`,`draft-key`,`submit-label`])):(f(),x(O,{key:1},[y(`div`,at,d(e.comment.content),1),e.comment.suggestion?(f(),x(`pre`,ot,d(e.comment.suggestion),1)):j(``,!0),y(`div`,st,[e.comment.resolved?(f(),E(W,{key:0,color:`positive`,outline:``},{default:o(()=>[D(d(C(i)(`reviews.comments.resolved`)),1)]),_:1})):j(``,!0),w(z),e.readonly?j(``,!0):(f(),x(O,{key:1},[w(L,{flat:``,dense:``,rounded:``,padding:`4px 12px`,size:`sm`,color:`primary`,label:e.comment.resolved?C(i)(`reviews.comments.unresolve`):C(i)(`reviews.comments.resolve`),onClick:p},null,8,[`label`]),w(it,{size:`sm`,tooltip:C(i)(`reviews.comments.edit`),onClick:n[0]||=e=>a.value=!0},null,8,[`tooltip`]),w(rt,{size:`sm`,tooltip:C(i)(`reviews.comments.delete`),onClick:c},null,8,[`tooltip`])],64))])],64))],2))}}),[[`__scopeId`,`data-v-3af2187b`]]),lt={class:`comment-thread q-pa-sm q-gutter-y-sm`},ut=G(_({__name:`CommentThread`,props:{comments:{},showNewForm:{type:Boolean},readonly:{type:Boolean},pendingLineRange:{default:null},newDraftKey:{},submitNew:{type:Function,default:async()=>{throw Error(`No submit handler`)}}},emits:[`cancel-new`],setup(e,{emit:t}){let n=t,{t:r}=B();return(t,i)=>(f(),x(`div`,lt,[(f(!0),x(O,null,a(e.comments,t=>(f(),E(ct,{key:t.id,comment:t,readonly:e.readonly},null,8,[`comment`,`readonly`]))),128)),e.showNewForm&&!e.readonly?(f(),E(nt,{key:0,"submit-label":C(r)(`reviews.comments.submit`),"line-range":e.pendingLineRange,"draft-key":e.newDraftKey,send:e.submitNew,onCancel:i[0]||=e=>n(`cancel-new`)},null,8,[`submit-label`,`line-range`,`draft-key`,`send`])):j(``,!0)]))}}),[[`__scopeId`,`data-v-352fcd01`]]);function dt(e){let t=v(null);function n(e,n){t.value={column:e,start:n,current:n}}function r(e,n){t.value&&t.value.column===e&&(t.value.current=n)}function i(e,n){if(!t.value||t.value.column!==e)return!1;let r=Math.min(t.value.start,t.value.current),i=Math.max(t.value.start,t.value.current);return n>=r&&n<=i}function a(){if(!t.value)return;let{column:n,start:r,current:i}=t.value;t.value=null,e({column:n,startKey:Math.min(r,i),endKey:Math.max(r,i)})}return T(()=>window.addEventListener(`mouseup`,a)),l(()=>window.removeEventListener(`mouseup`,a)),{start:n,enter:r,isSelected:i}}function ft(e,t,n){return e.filter(e=>e.key!==null&&e.key>=t&&e.key<=n).map(e=>e.text)}function pt(e,t,n,r){return{column:e,startKey:t,endKey:n,fingerprint:JSON.stringify(ft(r,t,n))}}function mt(e,t){return t.some(t=>t.key===e.endKey)?JSON.stringify(ft(t,e.startKey,e.endKey))===e.fingerprint?`valid`:`stale`:`absent`}var ht={key:0,class:`diff-hunk`},gt={class:`diff-hunk__header text-mono text-primary`},_t=G(_({__name:`DiffHunkView`,props:{path:{},hunk:{},lineTokens:{},commentable:{type:Boolean},comments:{},commentsOnly:{type:Boolean},commentsEditable:{type:Boolean},wrap:{type:Boolean}},setup(e){let t=e,n=Y(),r=k(()=>`@@ -${t.hunk.oldStart},${t.hunk.oldLines} +${t.hunk.newStart},${t.hunk.newLines} @@`),i=$(`pending:diff`,()=>null);function s(e){return t.hunk.lines.map(t=>({key:e===`old`?t.oldLineNumber:t.newLineNumber,text:`${t.type}\u0000${t.content}`}))}let c=k(()=>i.value?mt(i.value,s(i.value.column)):`absent`);ee(()=>{c.value===`stale`&&i.reset()});let l=k(()=>c.value===`valid`?i.value:null),u=dt(e=>{let n=t.hunk.lines.find(t=>e.column===`old`?t.oldLineNumber===e.startKey:t.newLineNumber===e.startKey);i.value={...pt(e.column,e.startKey,e.endKey,s(e.column)),lineType:n?.type??`context`}});function p(e,n){t.commentable&&n!==null&&u.start(e,n)}function m(e,n){t.commentable&&n!==null&&u.enter(e,n)}function h(e,n){return!t.commentable||n===null?!1:l.value&&l.value.column===e&&n>=l.value.startKey&&n<=l.value.endKey?!0:u.isSelected(e,n)}function g(e){return e.lineType===`removed`?`old`:`new`}function _(e){return(t.comments??[]).some(t=>{if(t.lineNumber===null||t.lineNumberEnd===null)return!1;let n=g(t)===`old`?e.oldLineNumber:e.newLineNumber;return n!==null&&n>=t.lineNumber&&n<=t.lineNumberEnd})}let v=k(()=>{let e=new Map,n=new Map;for(let r of t.comments??[]){if(r.lineNumberEnd===null)continue;let t=g(r)===`old`?e:n,i=t.get(r.lineNumberEnd);i?i.push(r):t.set(r.lineNumberEnd,[r])}return t.hunk.lines.map((t,r)=>({line:t,index:r,comments:[...t.oldLineNumber===null?[]:e.get(t.oldLineNumber)??[],...t.newLineNumber===null?[]:n.get(t.newLineNumber)??[]]})).filter(e=>!t.commentsOnly||_(e.line))}),b=k(()=>Je(v.value)),S=k(()=>l.value?{start:l.value.startKey,end:l.value.endKey}:null);function T(e,t){return!!l.value&&l.value.column===e&&t===l.value.endKey}function D(e){return T(`old`,e.oldLineNumber)||T(`new`,e.newLineNumber)}async function te(e){let r=l.value;r&&(await n.create({filePath:t.path,lineNumber:r.startKey,lineNumberEnd:r.endKey,lineType:r.lineType,content:e}),i.reset())}function A(){i.reset()}return(t,n)=>!e.commentsOnly||v.value.length>0?(f(),x(`div`,ht,[y(`div`,gt,d(r.value),1),(f(!0),x(O,null,a(b.value.groups,t=>(f(),E(re(b.value.segmented?Z:`div`),M({key:t.start},{ref_for:!0},b.value.segmented?{minHeight:t.rows.length*C(20),keep:t.rows.some(({line:e})=>D(e))}:{}),{default:o(()=>[(f(!0),x(O,null,a(t.rows,({line:t,index:n,comments:r})=>(f(),x(O,{key:n},[w(Ke,{line:t,tokens:e.lineTokens?.[n],selectable:e.commentable,wrap:e.wrap,"old-selected":h(`old`,t.oldLineNumber),"new-selected":h(`new`,t.newLineNumber),onOldMousedown:e=>p(`old`,t.oldLineNumber),onOldMouseenter:e=>m(`old`,t.oldLineNumber),onNewMousedown:e=>p(`new`,t.newLineNumber),onNewMouseenter:e=>m(`new`,t.newLineNumber)},null,8,[`line`,`tokens`,`selectable`,`wrap`,`old-selected`,`new-selected`,`onOldMousedown`,`onOldMouseenter`,`onNewMousedown`,`onNewMouseenter`]),r.length>0||D(t)?(f(),E(ut,{key:0,comments:r,readonly:!e.commentsEditable,"show-new-form":D(t),"pending-line-range":S.value,"new-draft-key":`new:diff`,"submit-new":te,onCancelNew:A},null,8,[`comments`,`readonly`,`show-new-form`,`pending-line-range`])):j(``,!0)],64))),128))]),_:2},1040))),128))])):j(``,!0)}}),[[`__scopeId`,`data-v-4ff2e740`]]),vt={class:`file-content-line__content`},yt=G(_({__name:`FileContentLine`,props:{lineNumber:{},content:{},tokens:{},selected:{type:Boolean},selectable:{type:Boolean},wrap:{type:Boolean}},emits:[`gutter-mousedown`,`gutter-mouseenter`],setup(e,{emit:t}){let i=t;function o(e){return e.colorLight&&e.colorDark?`light-dark(${e.colorLight}, ${e.colorDark})`:e.colorLight??e.colorDark}return(t,s)=>(f(),x(`div`,{class:r([`file-content-line row no-wrap text-mono`,{"file-content-line--wrap":e.wrap}])},[y(`span`,{class:r([`file-content-line__gutter`,{"file-content-line__gutter--selectable":e.selectable,"file-content-line__gutter--selected":e.selected}]),onMousedown:s[0]||=e=>i(`gutter-mousedown`),onMouseenter:s[1]||=e=>i(`gutter-mouseenter`)},d(e.lineNumber),35),y(`span`,vt,[e.tokens?(f(!0),x(O,{key:0},a(e.tokens,(e,t)=>(f(),x(`span`,{key:t,style:n({color:o(e)})},d(e.content),5))),128)):(f(),x(O,{key:1},[D(d(e.content||` `),1)],64))])],2))}}),[[`__scopeId`,`data-v-967eefee`]]),bt=300;function xt(e,t){let n=A(null),r=v(!1),i=v(!1),a=!1,o;function c(){o?.abort(),o=void 0}let l=k(()=>{let t=S(e);return t&&De(t.path)?t:null}),u=k(()=>{let e=l.value;return e?b(e.key):null});s(u,()=>{c(),n.value=null,a=!1});function d(e){n.value=e,a=!0,r.value=!0}s(()=>[u.value,S(t)],async([e,t])=>{if(!t){c();return}let i=l.value;if(!e||!i||a||o)return;let s=Fe(e);if(s!==void 0){d(s);return}let u=new AbortController;o=u;let f;try{f=await je(e,i.path,i.lines,u.signal,e=>{u.signal.aborted||n.value&&e.length<=n.value.length||(n.value=e,r.value=!0)},i.documents)}catch{f=null}u.signal.aborted||f===void 0||(o=void 0,d(f))},{immediate:!0});let f=k(()=>S(t)&&!r.value&&l.value!==null),p;function m(){clearTimeout(p),p=void 0}return s(f,e=>{m(),e&&!i.value&&(p=setTimeout(()=>{i.value=!0},bt))},{immediate:!0}),te(()=>{c(),m()}),{tokens:n,holdForTokens:k(()=>f.value&&!i.value)}}var St={key:1,class:`file-content-view`},Ct=G(_({__name:`FileContentView`,props:{path:{},lines:{},commentable:{type:Boolean},comments:{},commentsEditable:{type:Boolean},wrap:{type:Boolean}},setup(e){let t=e,r=Y(),{tokens:i,holdForTokens:s}=xt(()=>{let e=t.lines;return e.length===0?null:{key:e,path:t.path,lines:()=>e}},!0),c=$(`pending:full`,()=>null);function l(){return t.lines.map((e,t)=>({key:t+1,text:e}))}let u=k(()=>c.value?mt(c.value,l()):`absent`);ee(()=>{u.value===`stale`&&c.reset()});let d=k(()=>u.value===`valid`?c.value:null),p=dt(e=>{c.value=pt(e.column,e.startKey,e.endKey,l())});function m(e){return t.commentable?d.value&&e>=d.value.startKey&&e<=d.value.endKey?!0:p.isSelected(`full`,e):!1}let h=k(()=>{let e=new Map;for(let n of t.comments??[]){if(n.lineNumberEnd===null)continue;let t=e.get(n.lineNumberEnd);t?t.push(n):e.set(n.lineNumberEnd,[n])}return t.lines.map((t,n)=>({line:t,index:n,lineNumber:n+1,comments:e.get(n+1)??[]}))}),g=k(()=>Je(h.value)),_=k(()=>d.value?{start:d.value.startKey,end:d.value.endKey}:null);function v(e){t.commentable&&p.start(`full`,e)}function y(e){t.commentable&&p.enter(`full`,e)}async function b(e){let n=d.value;n&&(await r.create({filePath:t.path,lineType:null,lineNumber:n.startKey,lineNumberEnd:n.endKey,content:e}),c.reset())}function S(){c.reset()}return(t,r)=>C(s)?(f(),x(`div`,{key:0,class:`row justify-center items-start q-pa-lg`,style:n({minHeight:`${e.lines.length*C(20)}px`})},[w(I,{color:`primary`,size:`2em`})],4)):(f(),x(`div`,St,[(f(!0),x(O,null,a(g.value.groups,t=>(f(),E(re(g.value.segmented?Z:`div`),M({key:t.start},{ref_for:!0},g.value.segmented?{minHeight:t.rows.length*C(20),keep:t.rows.some(e=>d.value?.endKey===e.lineNumber)}:{}),{default:o(()=>[(f(!0),x(O,null,a(t.rows,({line:t,index:n,lineNumber:r,comments:a})=>(f(),x(O,{key:n},[w(yt,{"line-number":r,content:t,tokens:C(i)?.[n],selectable:e.commentable,selected:m(r),wrap:e.wrap,onGutterMousedown:e=>v(r),onGutterMouseenter:e=>y(r)},null,8,[`line-number`,`content`,`tokens`,`selectable`,`selected`,`wrap`,`onGutterMousedown`,`onGutterMouseenter`]),a.length>0||d.value?.endKey===r?(f(),E(ut,{key:0,comments:a,readonly:!e.commentsEditable,"show-new-form":d.value?.endKey===r,"pending-line-range":_.value,"new-draft-key":`new:full`,"submit-new":b,onCancelNew:S},null,8,[`comments`,`readonly`,`show-new-form`,`pending-line-range`])):j(``,!0)],64))),128))]),_:2},1040))),128))]))}}),[[`__scopeId`,`data-v-70f905cc`]]),wt={key:0,class:`row justify-center q-pa-lg`},Tt={key:1,class:`text-caption text-grey-6 q-pa-md q-mb-none`},Et={key:2,class:`text-caption text-grey-6 q-pa-md`},Dt={key:3,class:`text-caption text-grey-6 q-pa-md q-mb-none`},Ot=_({__name:`DiffFileFullView`,props:{path:{},commentable:{type:Boolean,default:!1},comments:{default:()=>[]},commentsEditable:{type:Boolean},wrap:{type:Boolean}},setup(e){let t=e,{t:n}=B(),{lines:r,isBinary:i,loading:a,error:o,fetchContent:c}=q({cache:!0});s(()=>t.path,e=>{c(e,`WORKTREE`)},{immediate:!0});let u=xe([`files:changed`],()=>{c(t.path,`WORKTREE`)});l(()=>u.close());let p=Ne(),m=k(()=>p.unstagedFiles.some(e=>e.status===`deleted`&&K(e)===t.path));return(t,s)=>C(a)&&C(r).length===0&&!C(o)?(f(),x(`div`,wt,[w(I,{color:`primary`,size:`2em`})])):m.value?(f(),x(`p`,Tt,d(C(n)(`changes.fullFileDeleted`)),1)):C(o)?(f(),x(`div`,Et,[D(d(C(n)(`changes.fullFileLoadError`))+` `,1),y(`div`,null,d(C(o)),1)])):C(i)?(f(),x(`p`,Dt,d(C(n)(`changes.binaryFile`)),1)):(f(),E(Ct,{key:4,path:e.path,lines:C(r),commentable:e.commentable,"comments-editable":e.commentsEditable,comments:e.comments,wrap:e.wrap},null,8,[`path`,`lines`,`commentable`,`comments-editable`,`comments`,`wrap`]))}}),kt={childList:!0,subtree:!0,attributes:!0,characterData:!0,attributeOldValue:!0,characterDataOldValue:!0};function At(e,t,n){if(typeof n!=`function`){t.handler=void 0,t.observer!==void 0&&(t.observer.disconnect(),t.observer=void 0);return}t.handler=n,t.observer===void 0&&(t.observer=new MutationObserver(n=>{(t.handler(n)===!1||t.once===!0)&&jt(e)}),t.observer.observe(e,t.opts))}function jt(e){let t=e.__qmutation;t!==void 0&&(t.observer?.disconnect(),e.__qmutation=void 0)}var Mt=se({name:`mutation`,mounted(e,{modifiers:{once:t,...n},value:r}){let i={once:t,opts:Object.keys(n).length===0?kt:n};At(e,i,r),e.__qmutation=i},updated(e,{oldValue:t,value:n}){if(t!==n){let t=e.__qmutation;t!==void 0&&At(e,t,n)}},beforeUnmount:jt}),Nt={class:`horizontal-scroll-body`},Pt=[`tabindex`,`aria-label`],Ft={class:`horizontal-scroll-body__content`},It=G(_({__name:`HorizontalScrollBody`,props:{label:{}},setup(e){let t=h(`viewport`),r=h(`bar`),i=v(0),a=v(!1);function o(){let e=t.value;e&&(i.value=e.scrollWidth,a.value=e.scrollWidth>e.clientWidth+1)}s([i,a],()=>l(t.value,r.value),{flush:`post`});function l(e,t){e&&t&&t.scrollLeft!==e.scrollLeft&&(t.scrollLeft=e.scrollLeft)}return(s,u)=>(f(),x(`div`,Nt,[g((f(),x(`div`,{ref_key:`viewport`,ref:t,class:`horizontal-scroll-body__viewport`,tabindex:a.value?0:void 0,role:`group`,"aria-label":e.label,onScroll:u[0]||=e=>l(t.value,r.value)},[y(`div`,Ft,[c(s.$slots,`default`,{},void 0,!0)]),w(he,{debounce:0,onResize:o})],40,Pt)),[[Mt,o,void 0,{childList:!0,subtree:!0,characterData:!0}]]),g(y(`div`,{ref_key:`bar`,ref:r,class:`horizontal-scroll-body__bar`,"aria-hidden":`true`,tabindex:`-1`,onScroll:u[1]||=e=>l(r.value,t.value)},[y(`div`,{style:n({width:`${i.value}px`,height:`1px`})},null,4)],544),[[ae,a.value]])]))}}),[[`__scopeId`,`data-v-8d2efd69`]]),Lt={role:`alert`},Rt={class:`text-caption`},zt=_({__name:`LoadErrorBanner`,props:{title:{},message:{},loading:{type:Boolean}},emits:[`retry`],setup(e,{emit:t}){let n=t,{t:r}=B();return(t,i)=>(f(),E(ye,{dense:``,class:`bg-negative text-white`,role:`none`},{action:o(()=>[w(L,{flat:``,dense:``,color:`white`,label:C(r)(`changes.retry`),loading:e.loading,onClick:i[0]||=e=>n(`retry`)},null,8,[`label`,`loading`])]),default:o(()=>[y(`div`,Lt,[D(d(e.title)+` `,1),y(`div`,Rt,d(e.message),1)])]),_:1}))}}),Bt={key:0,class:`text-caption text-grey-6 q-pa-md q-mb-none`},Vt={key:1,class:`text-caption text-grey-6 q-pa-md q-mb-none`},Ht=G(_({__name:`DiffFileCardBody`,props:{file:{},path:{},viewMode:{},wrap:{type:Boolean},hunkTokens:{},hunksState:{default:`ready`},hunksError:{default:void 0},holdForTokens:{type:Boolean,default:!1},loadingHeight:{default:0},commentable:{type:Boolean,default:!1},commentsEditable:{type:Boolean},commentsOnly:{type:Boolean},comments:{default:()=>[]}},emits:[`retry-hunks`],setup(e,{emit:t}){let r=e,i=t,{t:s}=B(),c=k(()=>r.hunksState===`ready`&&r.holdForTokens),l=k(()=>r.comments.filter(e=>e.lineType!==null)),u=k(()=>r.comments.filter(e=>e.lineType===null));return(t,r)=>(f(),E(It,{class:`diff-file-card__body`,label:e.path},{default:o(()=>[e.viewMode===`full`?(f(),E(Ot,{key:0,path:e.path,commentable:e.commentable,"comments-editable":e.commentsEditable,comments:u.value,wrap:e.wrap},null,8,[`path`,`commentable`,`comments-editable`,`comments`,`wrap`])):(f(),x(O,{key:1},[e.file.isBinary?(f(),x(`p`,Bt,d(C(s)(`changes.binaryFile`)),1)):e.hunksState===`loading`||c.value?(f(),x(`div`,{key:1,class:`diff-file-card__loading row flex-center`,style:n({minHeight:`${e.loadingHeight}px`})},[w(I,{size:`md`,color:`grey-6`,"aria-label":C(s)(`changes.hunksLoading`)},null,8,[`aria-label`])],4)):(f(),x(O,{key:2},[e.hunksState===`error`?(f(),E(zt,{key:0,title:C(s)(`changes.hunksLoadError`),message:e.hunksError??``,loading:!1,onRetry:r[0]||=e=>i(`retry-hunks`)},null,8,[`title`,`message`])):e.file.hunks.length===0?(f(),x(`p`,Vt,d(C(s)(`changes.noTextChanges`)),1)):j(``,!0)],64)),(f(!0),x(O,null,a(c.value?[]:e.file.hunks,(t,n)=>(f(),E(_t,{key:`${t.oldStart}:${t.newStart}`,path:e.path,hunk:t,"line-tokens":e.hunkTokens?.[n]??null,commentable:e.commentable,"comments-editable":e.commentsEditable,comments:l.value,"comments-only":e.commentsOnly,wrap:e.wrap},null,8,[`path`,`hunk`,`line-tokens`,`commentable`,`comments-editable`,`comments`,`comments-only`,`wrap`]))),128))],64))]),_:1},8,[`label`]))}}),[[`__scopeId`,`data-v-b8f31241`]]),Ut=_({__name:`CopyButton`,props:{value:{},tooltip:{}},setup(t){let n=t,r=v(!1),{registerTimeout:i}=ce(),a=0;function s(){a++,r.value=!1}u(s),e(s);async function c(){let e=a;try{if(await ve(n.value),e!==a)return;r.value=!0,i(()=>{r.value=!1},_e)}catch{}}return(e,n)=>g((f(),E(L,{flat:``,dense:``,round:``,size:`sm`,color:r.value?`positive`:void 0,icon:r.value?`check`:`content_copy`,"aria-label":t.tooltip,onClick:P(c,[`stop`])},{default:o(()=>[w(R,{delay:C(500)},{default:o(()=>[D(d(t.tooltip),1)]),_:1},8,[`delay`])]),_:1},8,[`color`,`icon`,`aria-label`])),[[oe]])}}),Wt={class:`file-card-header row items-center no-wrap`},Gt={class:`file-card-header__name row items-center no-wrap`},Kt={class:`ellipsis text-mono file-card-header__path`},qt=G(_({__name:`FileCardHeader`,props:{path:{}},setup(e){let{t}=B();return(n,r)=>(f(),x(`div`,Wt,[c(n.$slots,`leading`,{},void 0,!0),y(`div`,Gt,[y(`span`,Kt,d(e.path),1),w(Ut,{value:e.path,tooltip:C(t)(`common.copyPath`)},null,8,[`value`,`tooltip`]),c(n.$slots,`badges`,{},void 0,!0)]),w(z),c(n.$slots,`default`,{},void 0,!0)]))}}),[[`__scopeId`,`data-v-28b34b1f`]]);function Jt(){let{t:e}=B(),t=N(),n=we();return r=>{n.addContext(r)===`limit`&&t.notify({type:`warning`,message:e(`agent.chats.limitReached`,{max:5})})}}var Yt={key:0,class:`row justify-center q-pa-lg`},Xt={key:1,class:`text-negative q-pa-md`},Zt={key:2,class:`text-grey-6 q-pa-md`},Qt=G(_({__name:`MarkdownPreviewDialog`,props:t({path:{}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=m(e,`modelValue`),{t:r}=B(),{lines:i,isBinary:a,loading:s,error:c,fetchContent:l}=q(),u=k(()=>i.value.join(`
2
- `));function p(){l(t.path,`WORKTREE`)}return(t,l)=>(f(),E(pe,{modelValue:n.value,"onUpdate:modelValue":l[0]||=e=>n.value=e,size:`wide`,title:e.path,onBeforeShow:p},{default:o(()=>[C(s)&&C(i).length===0?(f(),x(`div`,Yt,[w(I,{color:`primary`,size:`28px`})])):C(c)?(f(),x(`div`,Xt,d(C(c)),1)):C(a)?(f(),x(`div`,Zt,d(C(r)(`changes.previewBinary`)),1)):(f(),E(fe,{key:3,class:`md-preview__body`,text:u.value},null,8,[`text`]))]),_:1},8,[`modelValue`,`title`]))}}),[[`__scopeId`,`data-v-57d05fc3`]]),$t=_({__name:`FileHeaderMenu`,props:t({path:{},diffSource:{}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=m(e,`modelValue`),n=e,{t:r}=B(),i=we(),a=Jt(),s=k(()=>/\.(md|markdown)$/i.test(n.path??``)),c=v(!1);function l(){n.path&&a({kind:`file`,path:n.path})}function u(){n.path&&n.diffSource&&a({kind:`diff`,source:n.diffSource,path:n.path})}return(n,a)=>g((f(),E(L,{flat:``,round:``,dense:``,size:`sm`,icon:`more_vert`,"aria-label":C(r)(`changes.fileActions`)},{default:o(()=>[w(Te,null,{default:o(()=>[w(Ee,{dense:``,class:`agent-menu`},{default:o(()=>[g((f(),E(V,{clickable:``,onClick:a[0]||=e=>t.value=!t.value},{default:o(()=>[w(H,{side:``},{default:o(()=>[w(F,{name:t.value?`check_box`:`check_box_outline_blank`},null,8,[`name`])]),_:1}),w(H,null,{default:o(()=>[D(d(C(r)(`changes.wrapLines`)),1)]),_:1})]),_:1})),[[U]]),s.value&&e.path?g((f(),E(V,{key:0,clickable:``,onClick:a[1]||=e=>c.value=!0},{default:o(()=>[w(H,{side:``},{default:o(()=>[w(F,{name:`visibility`})]),_:1}),w(H,null,{default:o(()=>[D(d(C(r)(`changes.previewMarkdown`)),1)]),_:1})]),_:1})),[[U]]):j(``,!0),C(i).enabled&&e.path?(f(),x(O,{key:1},[w(le),e.diffSource?g((f(),E(V,{key:0,clickable:``,onClick:u},{default:o(()=>[w(H,{side:``},{default:o(()=>[w(F,{name:C(ge)},null,8,[`name`])]),_:1}),w(H,null,{default:o(()=>[D(d(C(r)(`agent.context.addDiff`)),1)]),_:1})]),_:1})),[[U]]):j(``,!0),g((f(),E(V,{clickable:``,onClick:l},{default:o(()=>[w(H,{side:``},{default:o(()=>[w(F,{name:C(ge)},null,8,[`name`])]),_:1}),w(H,null,{default:o(()=>[D(d(C(r)(`agent.context.addFile`)),1)]),_:1})]),_:1})),[[U]])],64)):j(``,!0)]),_:1})]),_:1}),s.value&&e.path?(f(),E(Qt,{key:0,modelValue:c.value,"onUpdate:modelValue":a[2]||=e=>c.value=e,path:e.path},null,8,[`modelValue`,`path`])):j(``,!0)]),_:1},8,[`aria-label`])),[[oe]])}}),en={class:`diff-file-card__status-section`},tn={class:`text-caption diff-file-card__stats`},nn={class:`text-positive`},rn={class:`text-negative q-ml-xs`},an=G(_({__name:`DiffFileCardHeader`,props:t({path:{},status:{},additions:{},deletions:{},expanded:{type:Boolean},commentCount:{},fullFileToggle:{type:Boolean},agentSource:{}},{showFullFile:{type:Boolean,required:!0},showFullFileModifiers:{},wrap:{type:Boolean,required:!0},wrapModifiers:{}}),emits:t([`toggle`],[`update:showFullFile`,`update:wrap`]),setup(e){let t={added:`positive`,modified:`warning`,deleted:`negative`,renamed:`purple`},n=m(e,`showFullFile`),i=m(e,`wrap`),{t:a}=B();return(s,c)=>g((f(),E(V,{clickable:``,dense:``,class:`diff-file-card__header-item`,onClick:c[4]||=e=>s.$emit(`toggle`)},{default:o(()=>[w(qt,{path:e.path},{leading:o(()=>[w(F,{name:`chevron_right`,size:`xs`,class:r([`diff-file-card__chevron`,{"diff-file-card__chevron--expanded":e.expanded}])},null,8,[`class`])]),badges:o(()=>[w(ze,{compact:``,count:e.commentCount},null,8,[`count`])]),default:o(()=>[e.fullFileToggle?(f(),x(`div`,{key:0,class:`diff-file-card__toggle-section`,onClick:c[1]||=P(()=>{},[`stop`])},[w(de,{modelValue:n.value,"onUpdate:modelValue":c[0]||=e=>n.value=e,"left-label":``,dense:``,size:`xs`,label:C(a)(`changes.showFullFile`)},null,8,[`modelValue`,`label`])])):j(``,!0),y(`div`,en,[w(W,{color:t[e.status],outline:``,rounded:``},{default:o(()=>[D(d(C(a)(`changes.fileStatus.${e.status}`)),1)]),_:1},8,[`color`])]),y(`span`,tn,[y(`span`,nn,`+`+d(e.additions),1),y(`span`,rn,`-`+d(e.deletions),1)]),y(`div`,{onClick:c[3]||=P(()=>{},[`stop`])},[w($t,{modelValue:i.value,"onUpdate:modelValue":c[2]||=e=>i.value=e,path:e.path,"diff-source":e.agentSource},null,8,[`modelValue`,`path`,`diff-source`])])]),_:1},8,[`path`])]),_:1})),[[oe]])}}),[[`__scopeId`,`data-v-f20f8506`]]),on={},sn={class:`file-card-frame`};function cn(e,t){return f(),x(`div`,sn,[c(e.$slots,`header`,{},void 0,!0),c(e.$slots,`default`,{},void 0,!0)])}var ln=G(on,[[`render`,cn],[`__scopeId`,`data-v-d451c02f`]]);function un(e){if(!e.some(e=>e.preamble&&e.preamble.length>0))return{lines:e.flatMap(e=>e.lines.map(e=>e.content)),documents:void 0};let t=[],n=[];for(let r of e){let e=r.preamble??[];t.push(...e,...r.lines.map(e=>e.content)),n.push({length:e.length+r.lines.length,skip:e.length})}return{lines:t,documents:n}}function dn(e,t){let{tokens:n,holdForTokens:r}=xt(()=>{let t=b(S(e));if(!t.hunks.some(e=>e.lines.length>0))return null;let n,r=()=>n??=un(t.hunks);return{key:t,path:K(t),lines:()=>r().lines,documents:()=>r().documents}},t);return{hunkTokens:k(()=>{let t=n.value;if(!t)return null;let r=0;return S(e).hunks.map(e=>{let n=t.slice(r,r+e.lines.length);return r+=e.lines.length,n})}),holdForTokens:r}}function fn(e){let t=v(!1);return s(()=>S(e.expanded),n=>{n||(t.value=!1,e.onCollapsed?.())}),s([()=>S(e.expanded)&&t.value&&!S(e.loaded)&&!S(e.error),()=>S(e.version)],([t])=>{t&&e.onNeeded()},{immediate:!0}),{bodyMounted:t}}function pn(e){return Ie(e)===`markdown`}var mn=80,hn=G(_({__name:`DiffFileCard`,props:{file:{},expanded:{type:Boolean},commentable:{type:Boolean,default:!1},comments:{default:()=>[]},commentsOnly:{type:Boolean},commentsEditable:{type:Boolean},agentSource:{},stateKey:{},detail:{},hunksLoaded:{type:Boolean,default:!0},hunksError:{},noFullFile:{type:Boolean,default:!1}},emits:[`toggle`,`load-hunks`,`retry-hunks`,`clear-hunks-error`,`expand`],setup(e,{emit:t}){let n=e,r=t,a=k(()=>K(n.file)),c=k(()=>n.detail??n.file);i(Ze,n.stateKey);let l=n.stateKey?{key:n.stateKey}:{local:!0},u=$(`wrap`,()=>pn(a.value),l),d=$(`viewMode`,()=>`diff`,l);s(()=>n.file.status,e=>{e===`deleted`&&d.reset()},{immediate:!0});let p=k(()=>n.detail?n.detail.hunks.reduce((e,t)=>e+t.lines.length+1,0)*20:(n.file.additions+n.file.deletions)*20+mn),{bodyMounted:m}=fn({expanded:()=>n.expanded,loaded:()=>n.hunksLoaded,error:()=>n.hunksError,version:()=>n.file,onNeeded:()=>r(`load-hunks`),onCollapsed:()=>r(`clear-hunks-error`)}),h=k(()=>n.hunksLoaded?`ready`:n.hunksError?`error`:n.detail?`ready`:`loading`),{hunkTokens:g,holdForTokens:_}=dn(c,()=>n.expanded&&d.value===`diff`&&(n.detail!==void 0||n.hunksLoaded)),v=k({get:()=>d.value===`full`,set:e=>{e?(d.value=`full`,n.expanded||r(`expand`)):n.expanded&&(d.value=`diff`)}});return(t,n)=>(f(),E(ln,{id:`diff-file-${a.value}`,class:`diff-file-card`},{header:o(()=>[w(an,{"show-full-file":v.value,"onUpdate:showFullFile":n[0]||=e=>v.value=e,wrap:C(u),"onUpdate:wrap":n[1]||=e=>ne(u)?u.value=e:null,path:a.value,status:e.file.status,additions:e.file.additions,deletions:e.file.deletions,expanded:e.expanded,"comment-count":e.comments.length,"full-file-toggle":!e.noFullFile&&e.file.status!==`deleted`,"agent-source":e.agentSource,onToggle:n[2]||=e=>r(`toggle`)},null,8,[`show-full-file`,`wrap`,`path`,`status`,`additions`,`deletions`,`expanded`,`comment-count`,`full-file-toggle`,`agent-source`])]),default:o(()=>[e.expanded?(f(),E(Z,{key:0,"min-height":p.value,onChange:n[4]||=e=>m.value=e},{default:o(()=>[w(Ht,{file:c.value,path:a.value,"view-mode":C(d),wrap:C(u),"hunk-tokens":C(g),"hunks-state":h.value,"hold-for-tokens":C(_),"hunks-error":e.hunksError,"loading-height":p.value,commentable:e.commentable,"comments-editable":e.commentsEditable,"comments-only":e.commentsOnly,comments:e.comments,onRetryHunks:n[3]||=e=>r(`retry-hunks`)},null,8,[`file`,`path`,`view-mode`,`wrap`,`hunk-tokens`,`hunks-state`,`hold-for-tokens`,`hunks-error`,`loading-height`,`commentable`,`comments-editable`,`comments-only`,`comments`])]),_:1},8,[`min-height`])):j(``,!0)]),_:1},8,[`id`]))}}),[[`__scopeId`,`data-v-93b1a35b`]]),gn={class:`row q-gutter-x-sm no-wrap`},_n=_({__name:`StatusSwitcher`,props:{status:{}},emits:[`change`],setup(e,{emit:t}){let n=[{value:`in_progress`,color:`grey-7`},{value:`approved`,color:`primary`},{value:`changes_requested`,color:`warning`}],r=e,i=t,{t:o}=B(),s=N();function c(e){e.value!==r.status&&s.dialog({title:o(`reviews.confirmStatusChange.title`),message:o(`reviews.confirmStatusChange.message`,{status:o(`reviews.status.${e.value}`)}),persistent:!0,ok:{label:o(`reviews.confirmStatusChange.ok`),color:`accent`},cancel:{label:o(`reviews.confirmStatusChange.cancel`),flat:!0}}).onOk(()=>{i(`change`,e.value)})}return(t,r)=>(f(),x(`div`,gn,[(f(),x(O,null,a(n,t=>w(L,{key:t.value,dense:``,size:`sm`,padding:`2px 8px`,"no-caps":``,outline:e.status!==t.value,unelevated:e.status===t.value,color:t.color,label:C(o)(`reviews.status.${t.value}`),onClick:e=>c(t)},null,8,[`outline`,`unelevated`,`color`,`label`,`onClick`])),64))]))}});export{$t as a,zt as c,Be as d,ze as f,ln as i,Ct as l,Le as m,hn as n,Jt as o,q as p,pn as r,qt as s,_n as t,Ue as u};
@@ -1 +0,0 @@
1
- .comment-count-badge[data-v-e3e956c6]{color:var(--diff-gutter-color);margin-left:8px}.comment-count-badge[data-v-e3e956c6] .q-badge--floating{top:-7px;right:-9px}.comment-count-badge--compact[data-v-e3e956c6] .q-badge--floating{min-height:12px;padding:1px 4px;font-size:9px;line-height:1;top:-5px;right:-7px}.diff-line[data-v-2b9e2a1a]{font-size:var(--code-font-size);line-height:20px}.diff-line--added[data-v-2b9e2a1a]{background:var(--diff-added-bg)}.diff-line--removed[data-v-2b9e2a1a]{background:var(--diff-removed-bg)}.diff-line__gutter[data-v-2b9e2a1a]{text-align:right;-webkit-user-select:none;user-select:none;width:40px;color:var(--diff-gutter-color);flex:none;padding-right:8px}.diff-line__gutter--selectable[data-v-2b9e2a1a]{cursor:pointer}.diff-line__gutter--selectable[data-v-2b9e2a1a]:hover{background:color-mix(in srgb, var(--q-primary) 15%, transparent)}.diff-line__gutter--selected[data-v-2b9e2a1a]{background:color-mix(in srgb, var(--q-primary) 30%, transparent)}.diff-line__prefix[data-v-2b9e2a1a]{text-align:center;-webkit-user-select:none;user-select:none;flex:none;width:16px;font-weight:600}.diff-line--added .diff-line__prefix[data-v-2b9e2a1a]{color:var(--q-positive)}.diff-line--removed .diff-line__prefix[data-v-2b9e2a1a]{color:var(--q-negative)}.diff-line__content[data-v-2b9e2a1a]{white-space:pre;flex:1}.diff-line--wrap[data-v-2b9e2a1a]{align-items:flex-start}.diff-line--wrap .diff-line__content[data-v-2b9e2a1a]{white-space:pre-wrap;overflow-wrap:anywhere}.comment-form[data-v-349d56ab]{background:var(--diff-header-bg);border-radius:4px}.comment-form[data-v-349d56ab] .q-field__control,.comment-form[data-v-349d56ab] .q-field__native{font-size:var(--comment-font-size)}.comment-form[data-v-349d56ab] .q-textarea.q-field--dense .q-field__native{min-height:calc(var(--comment-font-size) * 1.4 * 3.5)}.comment-form__line-range[data-v-349d56ab]{font-size:var(--comment-font-size);color:var(--diff-gutter-color)}.comment-item[data-v-3af2187b]{border:1px solid color-mix(in srgb, currentColor 30%, transparent);border-radius:4px}.comment-item--resolved[data-v-3af2187b]{opacity:.7}.comment-item__body[data-v-3af2187b]{white-space:pre-wrap;overflow-wrap:anywhere;font-size:var(--comment-font-size);color:color-mix(in srgb, currentColor 72%, transparent)}.comment-item__suggestion[data-v-3af2187b]{font-size:var(--code-font-size);background:var(--diff-header-bg);border-radius:4px;padding:4px 6px;overflow-x:auto}.comment-thread[data-v-352fcd01]{background:color-mix(in srgb, var(--q-primary) 4%, transparent);margin-left:var(--comment-thread-indent,0);left:var(--comment-thread-indent,0);width:calc(100cqi - var(--comment-thread-indent,0));max-width:calc(100% - var(--comment-thread-indent,0));border-top:1px solid #80808033;border-bottom:1px solid #80808033;position:sticky}.diff-hunk[data-v-4ff2e740]{--comment-thread-indent:96px}.diff-hunk__header[data-v-4ff2e740]{font-size:var(--code-font-size);padding:2px 12px}.file-content-line[data-v-967eefee]{font-size:var(--code-font-size);line-height:20px}.file-content-line__gutter[data-v-967eefee]{text-align:right;-webkit-user-select:none;user-select:none;width:48px;color:var(--diff-gutter-color);flex:none;padding-right:8px}.file-content-line__gutter--selectable[data-v-967eefee]{cursor:pointer}.file-content-line__gutter--selectable[data-v-967eefee]:hover{background:color-mix(in srgb, var(--q-primary) 15%, transparent)}.file-content-line__gutter--selected[data-v-967eefee]{background:color-mix(in srgb, var(--q-primary) 30%, transparent)}.file-content-line__content[data-v-967eefee]{white-space:pre;flex:1}.file-content-line[data-v-967eefee]:not(.file-content-line--wrap){min-width:max-content}.file-content-line--wrap[data-v-967eefee]{align-items:flex-start}.file-content-line--wrap .file-content-line__content[data-v-967eefee]{white-space:pre-wrap;overflow-wrap:anywhere}.file-content-view[data-v-70f905cc]{--comment-thread-indent:48px}.horizontal-scroll-body[data-v-8d2efd69]{contain:inline-size}.horizontal-scroll-body__viewport[data-v-8d2efd69]{scrollbar-width:none;overflow:auto hidden;container-type:inline-size}.horizontal-scroll-body__content[data-v-8d2efd69]{width:fit-content;min-width:100%}.horizontal-scroll-body__viewport[data-v-8d2efd69]:focus-visible{outline:2px solid var(--q-primary);outline-offset:-2px}.horizontal-scroll-body__viewport[data-v-8d2efd69]::-webkit-scrollbar{display:none}.horizontal-scroll-body__bar[data-v-8d2efd69]{z-index:1;background:var(--diff-header-bg);border-top:1px solid #80808033;height:12px;position:sticky;bottom:0;overflow:auto hidden}.horizontal-scroll-body__bar[data-v-8d2efd69]::-webkit-scrollbar{height:10px}.horizontal-scroll-body__bar[data-v-8d2efd69]::-webkit-scrollbar-thumb{background:#80808080;border-radius:5px}@supports not selector(::-webkit-scrollbar){.horizontal-scroll-body__bar[data-v-8d2efd69]{scrollbar-width:thin;scrollbar-color:#80808080 transparent}}.diff-file-card__body[data-v-b8f31241]{border-top:1px solid #80808033}.file-card-header[data-v-28b34b1f]{background:var(--diff-header-bg);column-gap:8px;width:100%;min-width:0;padding:6px 12px}.file-card-header__name[data-v-28b34b1f]{flex:0 auto;column-gap:4px;min-width:0}.file-card-header__path[data-v-28b34b1f]{min-width:0}.md-preview__body[data-v-57d05fc3]{padding:16px 24px 24px}.md-preview__body[data-v-57d05fc3] .md-content{font-size:14px}.diff-file-card__header-item[data-v-f20f8506]{min-height:0;padding:0}.diff-file-card__chevron[data-v-f20f8506]{transition:transform .15s}.diff-file-card__chevron--expanded[data-v-f20f8506]{transform:rotate(90deg)}.diff-file-card__toggle-section[data-v-f20f8506]{justify-content:flex-end;min-width:160px;display:flex}.diff-file-card__status-section[data-v-f20f8506]{justify-content:flex-end;min-width:92px;display:flex}.diff-file-card__stats[data-v-f20f8506]{text-align:right;min-width:76px;display:inline-block}.file-card-frame[data-v-d451c02f]{border:1px solid #80808033;border-radius:4px;flex-direction:column;min-height:0;display:flex;overflow:clip}.diff-file-card[data-v-93b1a35b]{margin-bottom:8px}