@tequila99/githuman 0.4.2 → 0.6.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.
- package/README.md +18 -2
- package/dist/cli/index.js +27 -2
- package/dist/cli/server-runtime.js +1 -0
- package/dist/server/app.js +22 -1
- package/dist/server/errors/git.js +2 -0
- package/dist/server/errors/terminal.js +4 -0
- package/dist/server/hooks/terminal/local-origin.js +25 -0
- package/dist/server/routes/agent.js +8 -2
- package/dist/server/routes/app-info.js +5 -2
- package/dist/server/routes/git.js +5 -2
- package/dist/server/routes/terminal.js +63 -0
- package/dist/server/services/agent/agent-session.js +2 -1
- package/dist/server/services/agent/context-builder.js +49 -2
- package/dist/server/services/agent/file-index.js +7 -4
- package/dist/server/services/git.service.js +44 -4
- package/dist/server/services/terminal/backend.js +216 -0
- package/dist/server/services/terminal/channel.js +200 -0
- package/dist/server/services/terminal/escape-tail.js +93 -0
- package/dist/server/services/terminal/processes.js +115 -0
- package/dist/server/services/terminal/prompt-tracker.js +15 -0
- package/dist/server/services/terminal/registry.js +167 -0
- package/dist/server/services/terminal/session.js +238 -0
- package/dist/server/services/terminal/socket.js +74 -0
- package/dist/server/services/terminal/tokens.js +32 -0
- package/dist/server/utils/sse.js +76 -5
- package/dist/shared/agents/file-search.js +19 -7
- package/dist/shared/agents/mention-paths.js +40 -0
- package/dist/shared/agents/schemas.js +13 -4
- package/dist/shared/app/schemas.js +5 -1
- package/dist/shared/git/schemas.js +4 -1
- package/dist/shared/terminal/constants.js +27 -0
- package/dist/shared/terminal/schemas.js +114 -0
- package/dist/shared/terminal/types.js +1 -0
- package/dist/shared/utils/guards.js +3 -0
- package/dist/web/assets/{AppPage-BYrCfRnC.js → AppPage-CiRB13sb.js} +2 -2
- package/dist/web/assets/CreateReviewFabButton-DTvX9Psc.js +1 -0
- package/dist/web/assets/ErrorNotFound-CYOZg8yN.js +1 -0
- package/dist/web/assets/IndexPage-CYFIGWy9.css +1 -0
- package/dist/web/assets/IndexPage-hI7bcJ6L.js +1 -0
- package/dist/web/assets/MainLayout-DCexR9_Y.css +1 -0
- package/dist/web/assets/MainLayout-baVxjyeL.js +11 -0
- package/dist/web/assets/PdfPreview-Cb0xawi0.css +1 -0
- package/dist/web/assets/PdfPreview-D3HwZ7pH.js +54 -0
- package/dist/web/assets/QBtn-CzrOO1zA.js +1 -0
- package/dist/web/assets/QScrollArea-Cu8zdp0y.js +1 -0
- package/dist/web/assets/QSelect-DQ_RRYIL.js +1 -0
- package/dist/web/assets/QSpace-CEuZSBS2.js +13 -0
- package/dist/web/assets/ReviewDetailPage-CayB2dtb.js +1 -0
- package/dist/web/assets/ReviewDetailPage-CkCilMNW.css +1 -0
- package/dist/web/assets/ReviewsPage-DWfEVjWO.js +1 -0
- package/dist/web/assets/StatusSwitcher--zNcE2-Y.js +1 -0
- package/dist/web/assets/StatusSwitcher-DTD5inU1.css +1 -0
- package/dist/web/assets/TerminalView-B11UHZv3.css +1 -0
- package/dist/web/assets/TerminalView-DvVbWk3f.js +19 -0
- package/dist/web/assets/_plugin-vue_export-helper-BDNMzG2s.js +1 -0
- package/dist/web/assets/{abnfDiagram-O67JEVCF-dyvffE6R.js → abnfDiagram-O67JEVCF-C5SYdl8k.js} +1 -1
- package/dist/web/assets/agent-store-DX4gIEHa.js +1 -0
- package/dist/web/assets/app-info-store-Vy_Pq2yR.js +1 -0
- package/dist/web/assets/architecture-7GRP2DOG-Dpxe25D8.js +1 -0
- package/dist/web/assets/{architectureDiagram-NJMV4G6O-Dk-QthCI.js → architectureDiagram-NJMV4G6O-Bx8KGjS_.js} +1 -1
- package/dist/web/assets/{blockDiagram-BEXU5L5S-sF48dzNS.js → blockDiagram-BEXU5L5S-B4ybhPir.js} +1 -1
- package/dist/web/assets/{c4Diagram-YGBWAQC7-BWrux-0F.js → c4Diagram-YGBWAQC7-D2Fzm9Zx.js} +1 -1
- package/dist/web/assets/channel--0tdF_Sb.js +1 -0
- package/dist/web/assets/chunk-3FUC2YCW-DLRX-HPs.js +2 -0
- package/dist/web/assets/{chunk-5DYCD2WN-CpgXf7LJ.js → chunk-5DYCD2WN-6HcgVbfR.js} +1 -1
- package/dist/web/assets/{chunk-742MDFTN-BGzG-dZE.js → chunk-742MDFTN-CfTGkhlJ.js} +1 -1
- package/dist/web/assets/{chunk-7INBJB4K-DJGc-gqS.js → chunk-7INBJB4K-COfv2qWf.js} +1 -1
- package/dist/web/assets/{chunk-7M6MHVWA-CYIOaZel.js → chunk-7M6MHVWA-D0FxecF4.js} +5 -5
- package/dist/web/assets/{chunk-7PRAP22T-CJZNYL51.js → chunk-7PRAP22T-DFjSoEy0.js} +1 -1
- package/dist/web/assets/{chunk-GTNCS2PH-DOYGHmMk.js → chunk-GTNCS2PH-CGWGXDNO.js} +1 -1
- package/dist/web/assets/{chunk-GWA4HPMP-RIikrSw1.js → chunk-GWA4HPMP-J0EaOPjD.js} +1 -1
- package/dist/web/assets/{chunk-MBY4JIJT-ZSssyEJi.js → chunk-MBY4JIJT-PzEUkWiy.js} +1 -1
- package/dist/web/assets/{chunk-NETBCI7D-3tnHEq90.js → chunk-NETBCI7D-DHHOcLF0.js} +1 -1
- package/dist/web/assets/{chunk-O7XYJQB3-CDFTy-aQ.js → chunk-O7XYJQB3-BHUId2wW.js} +1 -1
- package/dist/web/assets/{chunk-UA2S7LBM-B8rY8Yj-.js → chunk-UA2S7LBM-DXQ1DAj6.js} +1 -1
- package/dist/web/assets/{chunk-WEXAMYUT-BdPY0e7q.js → chunk-WEXAMYUT-BMiibMha.js} +1 -1
- package/dist/web/assets/{chunk-Z7XXMR3K-Br_E149D.js → chunk-Z7XXMR3K-BcgKYeJS.js} +1 -1
- package/dist/web/assets/{chunk-ZIGJFQKS-DDjPFexL.js → chunk-ZIGJFQKS-D6psU74o.js} +1 -1
- package/dist/web/assets/{classDiagram-v2-NBCMYWYE-D9kneDxy.js → classDiagram-v2-NBCMYWYE-6IwOSgSE.js} +4 -4
- package/dist/web/assets/create-BSmXD9Zr.js +1 -0
- package/dist/web/assets/{cynefin-OW5HDTMX-Dot1PBqs.js → cynefin-OW5HDTMX-C77WtKve.js} +1 -1
- package/dist/web/assets/{cynefinDiagram-VND7K2PF-6uYi0u-j.js → cynefinDiagram-VND7K2PF-BvIp3Y9w.js} +1 -1
- package/dist/web/assets/{dagre-6A5THRUB-BDM5YkfJ.js → dagre-6A5THRUB-DN7jrLfY.js} +1 -1
- package/dist/web/assets/debounce-rZaFFwsz.js +1 -0
- package/dist/web/assets/{diagram-22UHCM2B-DxE0D8WB.js → diagram-22UHCM2B-DQUkKx9q.js} +8 -8
- package/dist/web/assets/{diagram-3UASUU5V-CuD1fcFQ.js → diagram-3UASUU5V-CTzVKsCf.js} +1 -1
- package/dist/web/assets/{diagram-ATOU4E4O-DX6enGgq.js → diagram-ATOU4E4O--Z3AVUjn.js} +1 -1
- package/dist/web/assets/{diagram-CDSNMT55-eLqOiVoC.js → diagram-CDSNMT55-BA-cRZ39.js} +1 -1
- package/dist/web/assets/{diagram-MLGK6HIB-DtIMj5y1.js → diagram-MLGK6HIB-Bx_zLrYg.js} +1 -1
- package/dist/web/assets/{diagram-MPIPVDR6-lYcwsjHR.js → diagram-MPIPVDR6-CWKuh-e-.js} +1 -1
- package/dist/web/assets/{ebnfDiagram-ZINNZB2B-CGmBWaKx.js → ebnfDiagram-ZINNZB2B-MyQLfQVI.js} +1 -1
- package/dist/web/assets/{elk-276RUBZZ-B1ntUD9z.js → elk-276RUBZZ-DBbqEAnd.js} +1 -1
- package/dist/web/assets/{erDiagram-OPXOYQCR-Dqzoldin.js → erDiagram-OPXOYQCR-CbRo_Rnk.js} +1 -1
- package/dist/web/assets/eventmodeling-NTZA5JFV-DMla2cPF.js +1 -0
- package/dist/web/assets/flowDiagram-KWPJA3E3-Bas61_mX.js +1 -0
- package/dist/web/assets/{ganttDiagram-FUAMR5RP-CF6kJAoY.js → ganttDiagram-FUAMR5RP-D1gJBc1W.js} +1 -1
- package/dist/web/assets/{gitGraph-4MIJSDKK-CUzcGxMa.js → gitGraph-4MIJSDKK-CIzz8UCs.js} +1 -1
- package/dist/web/assets/{gitGraphDiagram-X574FWY7-D-XNa6f2.js → gitGraphDiagram-X574FWY7-B5-RB5JZ.js} +1 -1
- package/dist/web/assets/i18n-B1_G449i.js +1 -0
- package/dist/web/assets/index-DEwYKvIG.js +2 -0
- package/dist/web/assets/index-Dma-RXBR.css +1 -0
- package/dist/web/assets/{info-A6RAGUB7-CH4SNmU8.js → info-A6RAGUB7-DF-JCGlS.js} +1 -1
- package/dist/web/assets/{infoDiagram-VRGFBTTK-35AKnD7M.js → infoDiagram-VRGFBTTK-z0Xepdo0.js} +1 -1
- package/dist/web/assets/init-app-DAsY3Joz.js +1 -0
- package/dist/web/assets/{is-BB7rJzdU.js → is-DssfAlMe.js} +1 -1
- package/dist/web/assets/{ishikawaDiagram-OU5B5YK6-D41YBWSb.js → ishikawaDiagram-OU5B5YK6-UqXiqAoe.js} +1 -1
- package/dist/web/assets/{journeyDiagram-ZHPQQLJL-CZF6Wwk8.js → journeyDiagram-ZHPQQLJL-CPGeWRg-.js} +1 -1
- package/dist/web/assets/{kanban-definition-PNTS6WVX-CVGaUle0.js → kanban-definition-PNTS6WVX-CMq9WuD5.js} +1 -1
- package/dist/web/assets/{line-CeH4KBRO.js → line-cZB9xcQk.js} +1 -1
- package/dist/web/assets/{mermaid-parser.core-YrU9LTTJ.js → mermaid-parser.core-D8h1T47v.js} +3 -3
- package/dist/web/assets/{mermaid.core-BkLEn5Vh.js → mermaid.core-CdpJws-B.js} +7 -7
- package/dist/web/assets/{mindmap-definition-NLK3R4M7-D22lxuXn.js → mindmap-definition-NLK3R4M7-B01KHb5Z.js} +1 -1
- package/dist/web/assets/{packet-AYTQ26CC-DMK0BdeB.js → packet-AYTQ26CC-CagxQ791.js} +1 -1
- package/dist/web/assets/pdf.worker-C2cQdohj.js +48 -0
- package/dist/web/assets/{pegDiagram-GJSIUBJH-B-e5e5cW.js → pegDiagram-GJSIUBJH-amhZRgGf.js} +1 -1
- package/dist/web/assets/{pie-WAS4IAKB-BYP5ND4b.js → pie-WAS4IAKB-zv3udP2i.js} +1 -1
- package/dist/web/assets/{pieDiagram-5QR66LMP-DrEY0oA_.js → pieDiagram-5QR66LMP-CjPzT-fa.js} +1 -1
- package/dist/web/assets/pinia-DCsnCHsH.js +1 -0
- package/dist/web/assets/pinia-DWj71cM9.js +1 -0
- package/dist/web/assets/{quadrantDiagram-O4NWA36T-D12UM_7Y.js → quadrantDiagram-O4NWA36T-7YpPBn0t.js} +1 -1
- package/dist/web/assets/{radar-RG4KPBEZ-50JpTuMu.js → radar-RG4KPBEZ-DZ-nSYpA.js} +1 -1
- package/dist/web/assets/{railroad-74A4TZTK-C-7jDcYE.js → railroad-74A4TZTK-CoylUO-u.js} +1 -1
- package/dist/web/assets/railroad-abnf-HS5TGJTU-C20Z1OCq.js +1 -0
- package/dist/web/assets/railroad-ebnf-LZEXJU2U-BltGHYDI.js +1 -0
- package/dist/web/assets/railroad-peg-WCYAUIDC-BT3QI-zw.js +1 -0
- package/dist/web/assets/{railroadDiagram-XR7U4H2S-q0-o99ts.js → railroadDiagram-XR7U4H2S-DlHZky0v.js} +1 -1
- package/dist/web/assets/{requirementDiagram-PLB6GJNP-DsO-Ejin.js → requirementDiagram-PLB6GJNP-Dn9whLhB.js} +1 -1
- package/dist/web/assets/runtime-core.esm-bundler-BKFI1w28.js +1 -0
- package/dist/web/assets/{safe-storage-DRouskD4.js → safe-storage-B3bJArYP.js} +1 -1
- package/dist/web/assets/{sankeyDiagram-IPEJSGJF-Ct9goD-6.js → sankeyDiagram-IPEJSGJF-jIf4UAnN.js} +1 -1
- package/dist/web/assets/{sequenceDiagram-PO4LG4MO-BMO_A2FU.js → sequenceDiagram-PO4LG4MO-CJahxeyg.js} +1 -1
- package/dist/web/assets/{stateDiagram-v2-GCMORJYK-BSzg0zQp.js → stateDiagram-v2-GCMORJYK-DArbI5q3.js} +2 -2
- package/dist/web/assets/{swimlanes-2SLR337P-CcmfFMci.js → swimlanes-2SLR337P-wyJPqm8c.js} +1 -1
- package/dist/web/assets/swimlanesDiagram-TC7HE7FX-DgRybibH.js +8 -0
- package/dist/web/assets/theme-CFC7Mb_O.js +1 -0
- package/dist/web/assets/{timeline-definition-EJHVYXUP-0dcHdY2G.js → timeline-definition-EJHVYXUP-Bdh9ma4o.js} +1 -1
- package/dist/web/assets/{treeView-Q6P3EWNA-KynQIJ_Z.js → treeView-Q6P3EWNA-CEiXTwqS.js} +1 -1
- package/dist/web/assets/{treemap-WGGIJYW6-DPpYRzcH.js → treemap-WGGIJYW6-am0aIfU-.js} +1 -1
- package/dist/web/assets/use-app-theme-FYzHIigd.js +1 -0
- package/dist/web/assets/use-panel-width-e-yXva8i.js +1 -0
- package/dist/web/assets/use-server-events-znzHKZZx.js +1 -0
- package/dist/web/assets/use-virtual-scroll-CIwaJCUj.js +1 -0
- package/dist/web/assets/{usecaseDiagram-POWQR4AR-DJBtB_eN.js → usecaseDiagram-POWQR4AR-r3Qf5Bj-.js} +1 -1
- package/dist/web/assets/{vennDiagram-UO4OBE2U-BgllcrO_.js → vennDiagram-UO4OBE2U-eOWNPvLI.js} +1 -1
- package/dist/web/assets/{vue-i18n.runtime-D0pkhc7g.js → vue-i18n.runtime-BpRrzZrT.js} +2 -2
- package/dist/web/assets/{wardley-WFR3VGLG-D2Je-cZt.js → wardley-WFR3VGLG-BdipY77V.js} +1 -1
- package/dist/web/assets/{wardleyDiagram-VNRHLVJA-B7ktegci.js → wardleyDiagram-VNRHLVJA-sFpl0u9C.js} +1 -1
- package/dist/web/assets/{xychartDiagram-PMCCYNJV-DL7WkDZI.js → xychartDiagram-PMCCYNJV-CtLqW--F.js} +1 -1
- package/dist/web/index.html +7 -7
- package/dist/web/pdfjs/cmaps/78-EUC-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/78-EUC-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/78-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/78-RKSJ-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/78-RKSJ-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/78-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/78ms-RKSJ-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/78ms-RKSJ-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/83pv-RKSJ-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/90ms-RKSJ-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/90ms-RKSJ-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/90msp-RKSJ-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/90msp-RKSJ-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/90pv-RKSJ-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/90pv-RKSJ-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Add-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Add-RKSJ-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Add-RKSJ-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Add-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Adobe-CNS1-0.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Adobe-CNS1-1.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Adobe-CNS1-2.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Adobe-CNS1-3.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Adobe-CNS1-4.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Adobe-CNS1-5.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Adobe-CNS1-6.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Adobe-GB1-0.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Adobe-GB1-1.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Adobe-GB1-2.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Adobe-GB1-3.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Adobe-GB1-4.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Adobe-GB1-5.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Adobe-Japan1-0.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Adobe-Japan1-1.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Adobe-Japan1-2.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Adobe-Japan1-3.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Adobe-Japan1-4.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Adobe-Japan1-5.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Adobe-Japan1-6.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Adobe-Korea1-0.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Adobe-Korea1-1.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Adobe-Korea1-2.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/B5-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/B5-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/B5pc-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/B5pc-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/CNS-EUC-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/CNS-EUC-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/CNS1-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/CNS1-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/CNS2-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/CNS2-V.bcmap +3 -0
- package/dist/web/pdfjs/cmaps/ETHK-B5-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/ETHK-B5-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/ETen-B5-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/ETen-B5-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/ETenms-B5-H.bcmap +3 -0
- package/dist/web/pdfjs/cmaps/ETenms-B5-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/EUC-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/EUC-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Ext-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Ext-RKSJ-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Ext-RKSJ-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Ext-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/GB-EUC-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/GB-EUC-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/GB-H.bcmap +4 -0
- package/dist/web/pdfjs/cmaps/GB-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/GBK-EUC-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/GBK-EUC-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/GBK2K-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/GBK2K-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/GBKp-EUC-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/GBKp-EUC-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/GBT-EUC-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/GBT-EUC-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/GBT-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/GBT-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/GBTpc-EUC-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/GBTpc-EUC-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/GBpc-EUC-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/GBpc-EUC-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/HKdla-B5-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/HKdla-B5-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/HKdlb-B5-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/HKdlb-B5-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/HKgccs-B5-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/HKgccs-B5-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/HKm314-B5-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/HKm314-B5-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/HKm471-B5-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/HKm471-B5-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/HKscs-B5-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/HKscs-B5-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Hankaku.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Hiragana.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/KSC-EUC-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/KSC-EUC-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/KSC-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/KSC-Johab-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/KSC-Johab-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/KSC-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/KSCms-UHC-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/KSCms-UHC-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/KSCpc-EUC-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/KSCpc-EUC-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Katakana.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/LICENSE +36 -0
- package/dist/web/pdfjs/cmaps/NWP-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/NWP-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/RKSJ-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/RKSJ-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/Roman.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniCNS-UCS2-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniCNS-UCS2-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniCNS-UTF16-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniCNS-UTF16-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniCNS-UTF32-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniCNS-UTF32-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniCNS-UTF8-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniCNS-UTF8-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniGB-UCS2-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniGB-UCS2-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniGB-UTF16-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniGB-UTF16-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniGB-UTF32-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniGB-UTF32-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniGB-UTF8-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniGB-UTF8-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniJIS-UCS2-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniJIS-UCS2-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniJIS-UTF16-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniJIS-UTF16-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniJIS-UTF32-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniJIS-UTF32-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniJIS-UTF8-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniJIS-UTF8-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniKS-UCS2-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniKS-UCS2-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniKS-UTF16-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniKS-UTF16-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniKS-UTF32-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniKS-UTF32-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniKS-UTF8-H.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/UniKS-UTF8-V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/V.bcmap +0 -0
- package/dist/web/pdfjs/cmaps/WP-Symbol.bcmap +0 -0
- package/dist/web/pdfjs/standard_fonts/FoxitDingbats.pfb +0 -0
- package/dist/web/pdfjs/standard_fonts/FoxitFixed.pfb +0 -0
- package/dist/web/pdfjs/standard_fonts/FoxitFixedBold.pfb +0 -0
- package/dist/web/pdfjs/standard_fonts/FoxitFixedBoldItalic.pfb +0 -0
- package/dist/web/pdfjs/standard_fonts/FoxitFixedItalic.pfb +0 -0
- package/dist/web/pdfjs/standard_fonts/FoxitSerif.pfb +0 -0
- package/dist/web/pdfjs/standard_fonts/FoxitSerifBold.pfb +0 -0
- package/dist/web/pdfjs/standard_fonts/FoxitSerifBoldItalic.pfb +0 -0
- package/dist/web/pdfjs/standard_fonts/FoxitSerifItalic.pfb +0 -0
- package/dist/web/pdfjs/standard_fonts/FoxitSymbol.pfb +0 -0
- package/dist/web/pdfjs/standard_fonts/LICENSE_FOXIT +27 -0
- package/dist/web/pdfjs/standard_fonts/LICENSE_LIBERATION +363 -0
- package/dist/web/pdfjs/standard_fonts/LiberationSans-Bold.ttf +0 -0
- package/dist/web/pdfjs/standard_fonts/LiberationSans-BoldItalic.ttf +0 -0
- package/dist/web/pdfjs/standard_fonts/LiberationSans-Italic.ttf +0 -0
- package/dist/web/pdfjs/standard_fonts/LiberationSans-Regular.ttf +0 -0
- package/dist/web/pdfjs/wasm/LICENSE_JBIG2 +196 -0
- package/dist/web/pdfjs/wasm/LICENSE_OPENJPEG +39 -0
- package/dist/web/pdfjs/wasm/LICENSE_PDFJS_JBIG2 +13 -0
- package/dist/web/pdfjs/wasm/LICENSE_PDFJS_OPENJPEG +22 -0
- package/dist/web/pdfjs/wasm/LICENSE_PDFJS_QCMS +19 -0
- package/dist/web/pdfjs/wasm/LICENSE_QCMS +21 -0
- package/dist/web/pdfjs/wasm/jbig2.wasm +0 -0
- package/dist/web/pdfjs/wasm/jbig2_nowasm_fallback.js +15 -0
- package/dist/web/pdfjs/wasm/openjpeg.wasm +0 -0
- package/dist/web/pdfjs/wasm/openjpeg_nowasm_fallback.js +17 -0
- package/dist/web/pdfjs/wasm/qcms_bg.wasm +0 -0
- package/dist/web/pdfjs/wasm/quickjs-eval.js +16 -0
- package/dist/web/pdfjs/wasm/quickjs-eval.wasm +0 -0
- package/package.json +13 -3
- package/dist/web/assets/CreateReviewFabButton-UdzUa_ra.js +0 -1
- package/dist/web/assets/ErrorNotFound-BAP3n0aC.js +0 -1
- package/dist/web/assets/IndexPage-BtoeYBg2.js +0 -1
- package/dist/web/assets/IndexPage-D894ONbY.css +0 -1
- package/dist/web/assets/MainLayout-ChxXEt_Q.css +0 -1
- package/dist/web/assets/MainLayout-DjoItVv0.js +0 -7
- package/dist/web/assets/QBtn-BDbJU6_B.js +0 -1
- package/dist/web/assets/QMenu-Bh-SjGqz.js +0 -1
- package/dist/web/assets/QSelect-CZqAOLiG.js +0 -1
- package/dist/web/assets/ReviewDetailPage-CP6YqXPT.css +0 -1
- package/dist/web/assets/ReviewDetailPage-DvDoJ37c.js +0 -1
- package/dist/web/assets/ReviewsPage-CHUXLKKw.js +0 -1
- package/dist/web/assets/StatusSwitcher-Br_8-_CT.js +0 -2
- package/dist/web/assets/StatusSwitcher-DLU1h0rK.css +0 -1
- package/dist/web/assets/agent-icon-BUd-vCRS.css +0 -1
- package/dist/web/assets/agent-icon-Bc3evt8o.js +0 -17
- package/dist/web/assets/agent-store-FOng_RxK.js +0 -1
- package/dist/web/assets/app-info-store-xZiQfdgO.js +0 -1
- package/dist/web/assets/architecture-7GRP2DOG-JRGyT2Fi.js +0 -1
- package/dist/web/assets/channel-C9BIu6HY.js +0 -1
- package/dist/web/assets/chunk-3FUC2YCW-DM9oDQ0E.js +0 -2
- package/dist/web/assets/create-BkZH2Q0U.js +0 -1
- package/dist/web/assets/debounce-CDIE7CV6.js +0 -1
- package/dist/web/assets/eventmodeling-NTZA5JFV-DblBuyVi.js +0 -1
- package/dist/web/assets/export-file-Di_2jvjP.js +0 -1
- package/dist/web/assets/flowDiagram-KWPJA3E3-D5iLm5ip.js +0 -1
- package/dist/web/assets/i18n-DvBemXXT.js +0 -1
- package/dist/web/assets/index-Bn7ByP7x.js +0 -2
- package/dist/web/assets/index-CgeU6Wuu.css +0 -1
- package/dist/web/assets/init-app-C4PeiqQX.js +0 -1
- package/dist/web/assets/pinia-DB8WAJFa.js +0 -1
- package/dist/web/assets/pinia-DmTi2T44.js +0 -1
- package/dist/web/assets/railroad-abnf-HS5TGJTU-Bf3pkLrz.js +0 -1
- package/dist/web/assets/railroad-ebnf-LZEXJU2U-f10AkgiO.js +0 -1
- package/dist/web/assets/railroad-peg-WCYAUIDC-C4FjCCVf.js +0 -1
- package/dist/web/assets/runtime-core.esm-bundler-CUpq88z7.js +0 -1
- package/dist/web/assets/single-flight-r8B7stt1.js +0 -1
- package/dist/web/assets/swimlanesDiagram-TC7HE7FX-DLq4WqTk.js +0 -8
- package/dist/web/assets/theme-DQpF6lSZ.js +0 -1
- package/dist/web/assets/use-app-theme-B1Vh5WKT.js +0 -1
- package/dist/web/assets/use-panel-width-Cs_K2M_v.js +0 -1
- package/dist/web/assets/use-virtual-scroll-BVHTKnoC.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{A as e,D as t,G as n,J as r,M as i,O as a,_ as o,it as s,nt as c,s as l,w as u,y as d}from"./runtime-core.esm-bundler-CUpq88z7.js";import{C as ee,E as te,F as ne,L as re,d as f,f as p,g as m,h as ie,m as h,o as g}from"./QBtn-BDbJU6_B.js";import{l as _,s as ae,u as v}from"./event-rR76ioXz.js";import{n as y}from"./is-BB7rJzdU.js";import{t as b}from"./create-BkZH2Q0U.js";import{H as oe,_ as x,a as S,c as C,i as se,l as w,o as ce,r as le,s as ue,u as de,v as T,y as fe}from"./index-Bn7ByP7x.js";import{_ as pe,d as me,o as he,p as ge,s as E,t as _e}from"./QMenu-Bh-SjGqz.js";import{n as D,r as ve,t as ye}from"./use-virtual-scroll-BVHTKnoC.js";function O(e){e.keyCode===32&&v(e)}var be=p({xs:8,sm:10,md:14,lg:20,xl:24}),xe=b({name:`QChip`,props:{...T,...h,dense:Boolean,icon:String,iconRight:String,iconRemove:String,iconSelected:String,label:[String,Number],color:String,textColor:String,modelValue:{type:Boolean,default:!0},selected:{type:Boolean,default:null},square:Boolean,outline:Boolean,clickable:{type:Boolean,default:null},onClick:Function,removable:Boolean,removeAriaLabel:String,tabindex:[String,Number],disable:Boolean,ripple:{type:[Boolean,Object],default:!0}},emits:[`update:modelValue`,`update:selected`,`remove`],setup(e,{slots:t,emit:n}){let i=te(),a=x(e,i),o=l(()=>e.selected||e.icon!==void 0),s=l(()=>e.selected?e.iconSelected||i.iconSet.chip.selected:e.icon),c=l(()=>e.iconRemove||i.iconSet.chip.remove),u=l(()=>(e.clickable===null?e.onClick!==void 0:e.clickable)||e.selected!==null),ee=l(()=>!e.disable&&u.value),ne=l(()=>{let t=e.outline&&e.color||e.textColor;return`q-chip row inline no-wrap items-center`+(!e.outline&&e.color!==void 0?` bg-${e.color}`:``)+(t?` text-${t} q-chip--colored`:``)+(e.disable?` disabled`:``)+(e.dense?` q-chip--dense`:``)+(e.outline?` q-chip--outline`:``)+(e.selected?` q-chip--selected`:``)+(ee.value?` q-chip--clickable cursor-pointer non-selectable q-hoverable`:``)+(e.square?` q-chip--square`:``)+(a()?` q-chip--dark q-dark`:``)}),re=l(()=>({chip:e.disable?{role:`button`,tabindex:-1,"aria-disabled":`true`}:{role:`button`,tabindex:e.tabindex||0,...e.selected===null?{}:{"aria-pressed":e.selected?`true`:`false`}},remove:{role:`button`,"aria-hidden":`false`,"aria-label":e.removeAriaLabel||i.lang.label.remove,...e.disable?{tabindex:-1,"aria-disabled":`true`}:{tabindex:e.tabindex||0}}}));function p(e){[13,32].includes(e.keyCode)&&(ie(e),v(e))}function ie(t){e.disable||(n(`update:selected`,!e.selected),n(`click`,t))}function h(t){(t.keyCode===void 0||[13,32].includes(t.keyCode))&&(v(t),e.disable||(n(`update:modelValue`,!1),n(`remove`)))}function _(){let n=[];ee.value&&n.push(d(`div`,{class:`q-focus-helper`})),o.value&&n.push(d(f,{class:`q-chip__icon q-chip__icon--left`,name:s.value}));let r=e.label===void 0?void 0:[d(`div`,{class:`ellipsis`},[e.label])];return n.push(d(`div`,{class:`q-chip__content col row no-wrap items-center q-anchor--skip`},m(t.default,r))),e.iconRight&&n.push(d(f,{class:`q-chip__icon q-chip__icon--right`,name:e.iconRight})),e.removable&&n.push(d(f,{class:`q-chip__icon q-chip__icon--remove cursor-pointer`,name:c.value,...re.value.remove,onClick:h,onKeydown:O,onKeyup:h})),n}return()=>{if(!e.modelValue)return;let t={class:ne.value};return e.size!==void 0&&(t.style=be(e.size)),u.value&&Object.assign(t,re.value.chip),ee.value&&Object.assign(t,{onClick:ie,onKeydown:O,onKeyup:p}),r(d(`div`,t,_()),[[g,e.disable||e.ripple===!1?!1:e.ripple]])}}}),Se=b({name:`QField`,inheritAttrs:!1,props:{...w,tag:{type:String,default:`label`}},emits:C,setup(){return ue(de({tagProp:!0}))}}),Ce=e=>[`add`,`add-unique`,`toggle`].includes(e),we=".*+?^${}()|[]\\",Te=Object.keys(w);function Ee(e,t){if(typeof e==`function`)return e;let n=e===void 0?t:e;return e=>typeof e==`object`&&e&&n in e?e[n]:e}var k=b({name:`QSelect`,inheritAttrs:!1,props:{...D,...S,...w,modelValue:{required:!0},multiple:Boolean,displayValue:[String,Number],displayValueHtml:Boolean,dropdownIcon:String,options:{type:Array,default:()=>[]},optionValue:[Function,String],optionLabel:[Function,String],optionDisable:[Function,String],hideSelected:Boolean,hideDropdownIcon:Boolean,hideDialogClose:Boolean,fillInput:Boolean,maxValues:[Number,String],optionsDense:Boolean,optionsDark:{type:Boolean,default:null},optionsSelectedClass:String,optionsHtml:Boolean,optionsCover:Boolean,noOptionLabel:String,menuShrink:Boolean,menuAnchor:String,menuSelf:String,menuOffset:Array,popupContentClass:String,popupContentStyle:[String,Array,Object],popupNoRouteDismiss:Boolean,useInput:Boolean,useChips:Boolean,noChipRemove:Boolean,newValueMode:{type:String,validator:Ce},mapOptions:Boolean,emitValue:Boolean,noOptionPrefetch:Boolean,disableTabSelection:Boolean,inputDebounce:{type:[Number,String],default:500},inputClass:[Array,String,Object],inputStyle:[Array,String,Object],tabindex:{type:[String,Number],default:0},autocomplete:String,transitionShow:{},transitionHide:{},transitionDuration:{},behavior:{type:String,validator:e=>[`default`,`menu`,`dialog`].includes(e),default:`default`},...E,virtualScrollItemSize:D.virtualScrollItemSize.type,onNewValue:Function,onFilter:Function},emits:[...C,`add`,`remove`,`inputValue`,`keyup`,`keypress`,`keydown`,`popupShow`,`popupHide`,`filterAbort`],setup(r,{slots:p,emit:m}){let{proxy:h}=o(),g=te(),b=c(!1),x=c(!1),S=c(-1),C=c(``),w=c(!1),T=c(!1),E=null,D=null,O=!1,be=0,k,De=!1,A,j,M=null,Oe,ke,N,Ae,je=s(null),P=s(null),F=s(null),I=s(null),Me=s(null),Ne=se(r),Pe=le(wt),L=l(()=>Array.isArray(r.options)?r.options.length:0),Fe=l(()=>r.virtualScrollItemSize===void 0?r.optionsDense?24:48:r.virtualScrollItemSize),{virtualScrollSliceRange:Ie,virtualScrollSliceSizeComputed:Le,localResetVirtualScroll:Re,padVirtualScroll:ze,onVirtualScrollEvt:Be,scrollTo:Ve,setVirtualScrollSize:He}=ye({virtualScrollLength:L,getVirtualScrollTarget:bt,getVirtualScrollEl:yt,virtualScrollItemSizeComputed:Fe}),R=de(),z=l(()=>{let e=r.mapOptions&&!r.multiple,t=r.modelValue!==void 0&&(r.modelValue!==null||e)?r.multiple&&Array.isArray(r.modelValue)?r.modelValue:[r.modelValue]:[];if(r.mapOptions&&Array.isArray(r.options)){let n=r.mapOptions&&k!==void 0?k:[],i=t.map(e=>ft(e,n));return r.modelValue===null&&e?i.filter(e=>e!==null):i}return t}),Ue=l(()=>{let e={};return Te.forEach(t=>{let n=r[t];n!==void 0&&(e[t]=n)}),e}),B=l(()=>r.optionsDark===null?R.isDark():r.optionsDark),We=l(()=>ce(z.value)),Ge=l(()=>{let e=`q-field__input q-placeholder col`;return r.hideSelected||z.value.length===0?[e,r.inputClass]:(e+=` q-field__input--padding`,r.inputClass===void 0?e:[e,r.inputClass])}),Ke=l(()=>(r.virtualScrollHorizontal?`q-virtual-scroll--horizontal`:``)+(r.popupContentClass?` `+r.popupContentClass:``)),V=l(()=>L.value===0);function H(){return p[`no-option`]!==void 0||r.noOptionLabel!==void 0}let qe=l(()=>z.value.map(e=>W.value(e)).join(`, `)),Je=l(()=>r.displayValue===void 0?qe.value:r.displayValue),Ye=l(()=>r.optionsHtml?()=>!0:e=>e?.html===!0),Xe=l(()=>r.displayValueHtml||r.displayValue===void 0&&(r.optionsHtml||z.value.some(Ye.value))),Ze=l(()=>R.focused.value?r.tabindex:-1),Qe=l(()=>{let e={tabindex:r.disable===!0?void 0:r.tabindex,role:`combobox`,"aria-label":r.label,"aria-readonly":r.readonly?`true`:`false`,"aria-autocomplete":r.useInput?`list`:`none`,"aria-expanded":b.value?`true`:`false`};return b.value&&!V.value&&(e[`aria-controls`]=`${R.targetUid.value}_lb`),S.value>=0&&(e[`aria-activedescendant`]=`${R.targetUid.value}_${S.value}`),e}),$e=l(()=>({id:`${R.targetUid.value}_lb`,role:`listbox`,"aria-multiselectable":r.multiple?`true`:`false`})),et=l(()=>z.value.map((e,t)=>({index:t,opt:e,html:Ye.value(e),selected:!0,removeAtIndex:lt,toggleOption:K,tabindex:Ze.value}))),tt=l(()=>{if(L.value===0)return[];let{from:e,to:t}=Ie.value;return r.options.slice(e,t).map((t,n)=>{let i=G.value(t)===!0,a=pt(t),o=e+n,s={clickable:!0,active:a,activeClass:it.value,manualFocus:!0,focused:!1,disable:i,tabindex:-1,dense:r.optionsDense,dark:B.value,role:`option`,"aria-selected":a?`true`:`false`,"aria-setsize":L.value,"aria-posinset":o+1,id:`${R.targetUid.value}_${o}`,onClick:()=>{K(t)}};return i||(S.value===o&&(s.focused=!0),s.onPointermove=e=>{e.pointerType!==`touch`&&b.value&&q(o)}),{index:o,opt:t,html:Ye.value(t),label:W.value(t),selected:s.active,focused:s.focused,toggleOption:K,setOptionIndex:q,itemProps:s}})}),nt=l(()=>r.dropdownIcon===void 0?g.iconSet.arrow.dropdown:r.dropdownIcon),rt=l(()=>!r.optionsCover&&!r.outlined&&!r.standout&&!r.borderless&&!r.rounded),it=l(()=>r.optionsSelectedClass===void 0?r.color===void 0?``:`text-${r.color}`:r.optionsSelectedClass),U=l(()=>Ee(r.optionValue,`value`)),W=l(()=>Ee(r.optionLabel,`label`)),G=l(()=>Ee(r.optionDisable,`disable`)),at=l(()=>z.value.map(U.value)),ot=l(()=>{let e={onInput:wt,onChange:Pe,onKeydown:vt,onKeyup:gt,onKeypress:_t,onFocus:mt,onClick(e){A&&_(e)}};return e.onCompositionstart=e.onCompositionupdate=e.onCompositionend=Pe,e});n(z,e=>{k=e,r.useInput&&r.fillInput&&!r.multiple&&!R.innerLoading.value&&(!x.value&&!b.value||!We.value)&&(j||$(),(x.value||b.value)&&Y(``)),De&&Et()&&(De=!1)},{immediate:!0}),n(()=>r.fillInput,$),n(b,Ht),n(L,Ut);function st(e){return r.emitValue?U.value(e):e}function ct(e){if(e!==-1&&e<z.value.length){if(r.multiple){let t=[...r.modelValue];m(`remove`,{index:e,value:t.splice(e,1)[0]}),m(`update:modelValue`,t)}else m(`update:modelValue`,null)}}function lt(e){ct(e),R.focus()}function ut(e,t){let n=st(e);if(!r.multiple){r.fillInput&&J(W.value(e),!0,!0),m(`update:modelValue`,n);return}if(z.value.length===0){m(`add`,{index:0,value:n}),m(`update:modelValue`,r.multiple?[n]:n);return}if(t&&pt(e)||r.maxValues!==void 0&&r.modelValue.length>=r.maxValues)return;let i=[...r.modelValue];m(`add`,{index:i.length,value:n}),i.push(n),m(`update:modelValue`,i)}function K(e,t){if(!R.editable.value||e===void 0||G.value(e)===!0)return;let n=U.value(e);if(!r.multiple){let i=!t&&x.value;t||(J(r.fillInput?W.value(e):``,!0,!0),Q()),i||P.value?.focus(),(z.value.length===0||!y(U.value(z.value[0]),n))&&m(`update:modelValue`,r.emitValue?n:e);return}if((!A||w.value)&&R.focus(),mt(),z.value.length===0){let t=r.emitValue?n:e;m(`add`,{index:0,value:t}),m(`update:modelValue`,r.multiple?[t]:t);return}let i=[...r.modelValue],a=at.value.findIndex(e=>y(e,n));if(a!==-1)m(`remove`,{index:a,value:i.splice(a,1)[0]});else{if(r.maxValues!==void 0&&i.length>=r.maxValues)return;let t=r.emitValue?n:e;m(`add`,{index:i.length,value:t}),i.push(t)}m(`update:modelValue`,i)}function q(e){let t=e!==-1&&e<L.value?e:-1;S.value!==t&&(S.value=t)}function dt(e=1,t){if(b.value){let n=S.value;do n=pe(n+e,-1,L.value-1);while(n!==-1&&n!==S.value&&G.value(r.options[n])===!0);S.value!==n&&(q(n),Ve(n),!t&&r.useInput&&r.fillInput&&Tt(n>=0?W.value(r.options[n]):Oe,!0))}}function ft(e,t){let n=t=>y(U.value(t),e);return r.options.find(n)||t.find(n)||e}function pt(e){let t=U.value(e);return at.value.find(e=>y(e,t))!==void 0}function mt(e){r.useInput&&P.value!==null&&(e===void 0||P.value===e.target&&e.target.value===qe.value)&&P.value.select()}function ht(e){ne(e,27)&&b.value&&(_(e),Q(e),$()),m(`keyup`,e)}function gt(e){let{value:t}=e.target;if(e.keyCode!==void 0){ht(e);return}if(e.target.value=``,E!==null&&(clearTimeout(E),E=null),D!==null&&(clearTimeout(D),D=null),$(),typeof t==`string`&&t.length!==0){let e=t.toLocaleLowerCase(),n=t=>{let n=r.options.find(n=>String(t.value(n)).toLocaleLowerCase()===e);return n!==void 0&&(z.value.includes(n)?Q():K(n),!0)},i=e=>{!n(U)&&!e&&!n(W)&&Y(t,!0,()=>i(!0))};i()}else R.clearValue(e)}function _t(e){m(`keypress`,e)}function vt(e){if(m(`keydown`,e),e.defaultPrevented||re(e))return;let t=C.value.length!==0&&(r.newValueMode!==void 0||r.onNewValue!==void 0),n=!e.shiftKey&&!r.disableTabSelection&&!r.multiple&&(S.value!==-1||t);if(e.keyCode===27){ae(e);return}if(e.keyCode===9&&!n){X(e);return}if(e.target===void 0||e.target.id!==R.targetUid.value||!R.editable.value)return;if((e.keyCode===40||e.keyCode===38)&&!R.innerLoading.value&&!b.value){v(e),Z(e);return}if(e.keyCode===8&&(r.useChips&&!r.noChipRemove||r.clearable)&&!r.hideSelected&&C.value.length===0){(r.clearable||G.value(z.value.at(-1))!==!0)&&(r.multiple&&Array.isArray(r.modelValue)?ct(r.modelValue.length-1):!r.multiple&&r.modelValue!==null&&m(`update:modelValue`,null));return}(e.keyCode===35||e.keyCode===36)&&(typeof C.value!=`string`||C.value.length===0)&&(v(e),S.value=-1,dt(e.keyCode===36?1:-1,r.multiple)),(e.keyCode===33||e.keyCode===34)&&Le.value!==void 0&&(v(e),S.value=Math.max(-1,Math.min(L.value,S.value+(e.keyCode===33?-1:1)*Le.value.view)),dt(e.keyCode===33?1:-1,r.multiple)),(e.keyCode===38||e.keyCode===40)&&(v(e),dt(e.keyCode===38?-1:1,r.multiple));let i=L.value;if((N===void 0||Ae<Date.now())&&(N=``),i>0&&!r.useInput&&e.key!==void 0&&e.key.length===1&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&(e.keyCode!==32||N.length!==0)){b.value||Z(e);let t=e.key.toLocaleLowerCase(),n=N.length===1&&N[0]===t;Ae=Date.now()+1500,n||(v(e),N+=t);let a=RegExp(`^`+[...N].map(e=>we.includes(e)?`\\`+e:e).join(`.*`),`i`),o=S.value;if(n||o<0||!a.test(W.value(r.options[o])))do o=pe(o+1,-1,i-1);while(o!==S.value&&(G.value(r.options[o])===!0||!a.test(W.value(r.options[o]))));S.value!==o&&u(()=>{q(o),Ve(o),o>=0&&r.useInput&&r.fillInput&&Tt(W.value(r.options[o]),!0)});return}if(e.keyCode===13||e.keyCode===32&&!r.useInput&&N===``||e.keyCode===9&&n){if(e.keyCode!==9&&v(e),S.value!==-1&&S.value<i){K(r.options[S.value]);return}if(t){let e=(e,t)=>{if(t){if(!Ce(t))return}else t=r.newValueMode;J(``,!r.multiple,!0),e!=null&&((t===`toggle`?K:ut)(e,t===`add-unique`),r.multiple||(P.value?.focus(),Q()))};if(r.onNewValue===void 0?e(C.value):m(`newValue`,C.value,e),!r.multiple)return}b.value?X(e):R.innerLoading.value||Z(e)}}function yt(){return A?Me.value:F.value!==null&&F.value.contentEl!==null?F.value.contentEl:void 0}function bt(){return yt()}function xt(){return r.hideSelected?[]:p[`selected-item`]===void 0?p.selected===void 0?r.useChips?et.value.map((e,t)=>d(xe,{key:`option-`+t,removable:!r.noChipRemove&&R.editable.value&&G.value(e.opt)!==!0,dense:!0,textColor:r.color,tabindex:Ze.value,onRemove(){e.removeAtIndex(t)}},()=>d(`span`,{class:`ellipsis`,[e.html?`innerHTML`:`textContent`]:W.value(e.opt)}))):[d(`span`,{class:`q-select__selected-value ellipsis`,[Xe.value?`innerHTML`:`textContent`]:Je.value})]:[p.selected()].flat():et.value.map(e=>p[`selected-item`](e))}function St(){if(V.value)return p[`no-option`]===void 0?r.noOptionLabel===void 0?void 0:[d(me,()=>d(ge,{class:`text-grey`},()=>d(ve,()=>r.noOptionLabel)))]:p[`no-option`]({inputValue:C.value});let e=p.option===void 0?e=>d(me,{key:e.index,...e.itemProps},()=>d(ge,()=>d(ve,()=>d(`span`,{[e.html?`innerHTML`:`textContent`]:e.label})))):p.option,t=ze(`div`,tt.value.map(e),$e.value);return p[`before-options`]!==void 0&&(t=[p[`before-options`](),...t].flat()),ie(p[`after-options`],t)}function Ct(e,t){let n=t?{...Qe.value,...R.splitAttrs.attributes.value}:void 0,i={ref:t?P:void 0,key:`i_t`,class:Ge.value,style:r.inputStyle,value:C.value===void 0?``:C.value,type:`search`,...n,id:t?R.targetUid.value:void 0,maxlength:r.maxlength,autocomplete:r.autocomplete,"data-autofocus":e===!0||r.autofocus||void 0,disabled:r.disable,readonly:r.readonly,...ot.value};return t&&Object.assign(i,R.getErrorAriaAttrs(i)),!e&&A&&(Array.isArray(i.class)?i.class=[...i.class,`no-pointer-events`]:i.class+=` no-pointer-events`),d(`input`,i)}function wt(e){E!==null&&(clearTimeout(E),E=null),D!==null&&(clearTimeout(D),D=null),!e?.target?.qComposing&&(Tt(e.target.value||``),j=!0,Oe=C.value,!R.focused.value&&(!A||w.value)&&R.focus(),r.onFilter!==void 0&&(A&&!x.value?Z(e):E=setTimeout(()=>{E=null,Y(C.value)},r.inputDebounce)))}function Tt(e,t){C.value!==e&&(D!==null&&(clearTimeout(D),D=null),C.value=e,t||r.inputDebounce===0||r.inputDebounce===`0`?m(`inputValue`,e):D=setTimeout(()=>{D=null,m(`inputValue`,e)},r.inputDebounce))}function J(e,t,n){j=n!==!0,r.useInput&&(Tt(e,!0),(t||j)&&(Oe=e),t||Y(e))}function Y(e,t,n){if(r.onFilter===void 0||!t&&!R.focused.value&&!O)return;R.innerLoading.value?m(`filterAbort`):(R.innerLoading.value=!0,T.value=!0),e!==``&&!r.multiple&&z.value.length!==0&&!j&&e===W.value(z.value[0])&&(e=``);let i=setTimeout(()=>{b.value&&=!1},10);M!==null&&clearTimeout(M),M=i,m(`filter`,e,(e,r)=>{(t||R.focused.value||O)&&M===i&&(clearTimeout(M),typeof e==`function`&&e(),T.value=!1,u(()=>{R.innerLoading.value=!1,R.editable.value&&(t?b.value&&Q():b.value?Ht(!0):b.value=!0),typeof r==`function`&&u(()=>{r(h)}),typeof n==`function`&&u(()=>{n(h)})}))},()=>{(t||R.focused.value||O)&&M===i&&(clearTimeout(M),R.innerLoading.value=!1,T.value=!1),b.value&&=!1})}function Et(){return L.value!==0||z.value.every(e=>typeof e==`object`&&!!e)?!1:(Y(``,!0,$),!0)}function Dt(){return d(_e,{ref:F,class:Ke.value,style:r.popupContentStyle,modelValue:b.value,fit:!r.menuShrink,cover:r.optionsCover&&!V.value&&!r.useInput,anchor:r.menuAnchor,self:r.menuSelf,offset:r.menuOffset,dark:B.value,noParentEvent:!0,noRefocus:!0,noFocus:!0,noRouteDismiss:r.popupNoRouteDismiss,square:rt.value,transitionShow:r.transitionShow,transitionHide:r.transitionHide,transitionDuration:r.transitionDuration,separateClosePopup:!0,onScrollPassive:Be,onBeforeShow:Gt,onBeforeHide:Ot,onShow:kt,...r.hover?{onPointerenter:Bt,onPointerleave:zt}:{}},St)}function Ot(e){Kt(e),X()}function kt(){He()}function At(e){_(e),P.value?.focus(),w.value=!0,g.platform.is.ios&&window.scrollTo(window.scrollX,0)}function jt(e){_(e),u(()=>{w.value=!1})}function Mt(){let e=[d(Se,{class:`col-auto ${R.fieldClass.value}`,...Ue.value,for:R.targetUid.value,dark:B.value,square:!0,loading:T.value,itemAligned:!1,filled:!0,stackLabel:C.value.length!==0,...R.splitAttrs.listeners.value,onFocus:At,onBlur:jt},{...p,rawControl:()=>R.getControl(!0),before:void 0,after:void 0,append:r.hideDialogClose?p.append:()=>{let e=d(`button`,{class:`q-select__dialog-close`+(r.color===void 0?``:` text-${r.color}`),type:`button`,tabindex:0,onClick:Q},g.lang.label.close);return p.append===void 0?[e]:[...p.append(),e]}})];return b.value&&e.push(d(`div`,{ref:Me,class:Ke.value+` scroll`,style:r.popupContentStyle,onClick:ae,onScrollPassive:Be},St())),d(fe,{ref:I,modelValue:x.value,position:r.useInput?`top`:void 0,noFocus:!0,transitionShow:ke,transitionHide:r.transitionHide,transitionDuration:r.transitionDuration,noRouteDismiss:r.popupNoRouteDismiss,onBeforeShow:Gt,onBeforeHide:Nt,onHide:Pt,onShow:Ft},()=>d(`div`,{class:`q-select__dialog`+(B.value?` q-select__dialog--dark q-dark`:``)+(w.value?` q-select__dialog--focused`:``)},e))}function Nt(e){if(Kt(e),I.value!==null){let t=!g.platform.is.mobile||!r.useInput||e!==void 0&&(e.type.indexOf(`key`)===0||e.type===`click`&&e.detail===0)?R.rootRef.value.querySelector(`.q-field__native > .q-select__focus-target, .q-field__native > .q-field__input`):null;I.value.__updateRefocusTarget(t)}R.focused.value=!1}function Pt(e){Q(),R.focused.value||m(`blur`,e),$()}function Ft(){let e=document.activeElement;(e===null||e.id!==R.targetUid.value)&&P.value!==null&&P.value!==e&&P.value.focus(),He()}function X(e){x.value||(Lt(),O=!1,S.value=-1,b.value&&(e!==void 0&&(e.qSelectHandled=!0),b.value=!1,F.value?.hide(e)),R.focused.value||(M!==null&&(clearTimeout(M),M=null),R.innerLoading.value&&(m(`filterAbort`),R.innerLoading.value=!1,T.value=!1)))}function It(e){if(e==null)return!1;let t=F.value===null?null:F.value.contentEl;if(R.controlRef.value!==null&&R.controlRef.value.contains(e)||t!==null&&t.contains(e))return!0;let n=oe(e);for(;n!=null;){if(n===h)return!0;n=ee(n)}return!1}let{clearHoverTimer:Lt,hoverShow:Rt,hoverHide:zt,onHoverContentEnter:Bt}=he({props:r,canShow:()=>!A&&!O&&!b.value&&R.editable.value,show:Vt,canHide:e=>O&&!It(e.relatedTarget),hide:Q});function Vt(e){(r.onFilter!==void 0||!V.value||H())&&(O=!0,be=Date.now(),e.qSelectHandled=!0,r.onFilter===void 0?(b.value=!0,F.value?.show(e)):Y(C.value))}function Z(e){R.editable.value&&(Lt(),O=!1,e!==void 0&&(e.qSelectHandled=!0),A?(R.onControlFocusin(e),R.focus(),x.value=!0,I.value?.show(e),u(()=>{R.focus()})):R.focus(),r.onFilter===void 0?(!V.value||H())&&(b.value=!0,F.value?.show(e)):Y(C.value))}function Q(e){x.value&&(e!==void 0&&(e.qSelectHandled=!0),x.value=!1,I.value?.hide(e)),X(e)}function $(){r.useInput&&J(!r.multiple&&r.fillInput&&z.value.length!==0?W.value(z.value[0])??``:``,!0,!0)}function Ht(e){let t=-1;if(e){if(z.value.length!==0){let e=U.value(z.value[0]);t=r.options.findIndex(t=>y(U.value(t),e))}Re(t)}q(t)}function Ut(e,t){b.value&&!R.innerLoading.value&&(Re(-1,!0),u(()=>{b.value&&!R.innerLoading.value&&(e>t?Re():Ht(!0))}))}function Wt(){x.value||F.value?.updatePosition()}function Gt(e){e!==void 0&&e.qSelectHandled!==!0&&_(e),m(`popupShow`,e),R.hasPopupOpen=!0,O||R.onControlFocusin(e)}function Kt(e){e!==void 0&&e.qSelectHandled!==!0&&_(e),m(`popupHide`,e),R.hasPopupOpen=!1,R.onControlFocusout(e,$)}function qt(){A=!g.platform.is.mobile&&r.behavior!==`dialog`?!1:r.behavior!==`menu`&&(!r.useInput||H()||r.onFilter!==void 0||!V.value),ke=g.platform.is.ios&&A&&r.useInput?`fade`:r.transitionShow}return a(qt),i(Wt),!r.noOptionPrefetch&&r.mapOptions&&r.onFilter!==void 0&&e(()=>{De=!Et()}),qt(),t(()=>{E!==null&&clearTimeout(E),D!==null&&clearTimeout(D)}),Object.assign(h,{showPopup:Z,hidePopup:Q,removeAtIndex:ct,add:ut,toggleOption:K,getOptionIndex:()=>S.value,setOptionIndex:q,moveOptionSelection:dt,filter:Y,updateMenuPosition:Wt,updateInputValue:J,isOptionSelected:pt,getEmittingOptionValue:st,isOptionDisabled:(...e)=>G.value(...e)===!0,getOptionValue:(...e)=>U.value(...e),getOptionLabel:(...e)=>W.value(...e)}),Object.assign(R,{innerValue:z,fieldClass:l(()=>`q-select q-field--auto-height q-select--with${r.useInput?``:`out`}-input q-select--with${r.useChips?``:`out`}-chips q-select--${r.multiple?`multiple`:`single`}`),inputRef:je,targetRef:P,hasValue:We,showPopup:Z,floatingLabel:l(()=>!r.hideSelected&&We.value||typeof C.value==`number`||C.value.length!==0||ce(r.displayValue)),getControlChild:()=>{if(R.editable.value&&(x.value||!V.value||H()))return A?Mt():Dt();R.hasPopupOpen&&=!1},controlEvents:{onFocusin(e){Lt(),O=!1,R.onControlFocusin(e)},onFocusout(e){R.onControlFocusout(e,()=>{$(),X(e)})},onClick(e){if(ae(e),!A&&b.value){if(O&&Date.now()-be<(r.transitionDuration===void 0?300:Number(r.transitionDuration))){O=!1,R.focus();return}X(e),P.value?.focus();return}Z(e)},onPointerenter:Rt,onPointerleave:zt},getControl:e=>{let t=xt(),n=e===!0||!x.value||!A;if(r.useInput)t.push(Ct(e,n));else{let i=n?{...Qe.value,...R.splitAttrs.attributes.value}:void 0,a={ref:n?P:void 0,key:`d_t`,class:`q-select__focus-target`,value:Je.value,readonly:!0,"data-autofocus":e===!0||r.autofocus||void 0,...i,disabled:r.disable,id:n?R.targetUid.value:void 0,onKeydown:vt,onKeyup:ht,onKeypress:_t};n&&Object.assign(a,R.getErrorAriaAttrs(a)),t.push(d(`input`,a)),n&&R.editable.value&&typeof r.autocomplete==`string`&&r.autocomplete.length!==0&&t.push(d(`input`,{class:`q-select__autocomplete-input`,autocomplete:r.autocomplete,tabindex:-1,onKeyup:gt}))}if(!r.disable){let e=Ne();if(e!==void 0){let n=at.value.map(e=>d(`option`,{value:e,selected:!0}));t.push(d(`select`,{class:`hidden`,name:e,multiple:r.multiple},n))}}return d(`div`,{class:`q-field__native row items-center`,...R.splitAttrs.listeners.value},t)},shouldHideLoadingIndicator:()=>r.hideDropdownIcon===!0,getInnerAppend:()=>!r.loading&&!T.value&&!r.hideDropdownIcon?[d(f,{class:`q-select__dropdown-icon`+(b.value?` rotate-180`:``),name:nt.value})]:null}),ue(R)}});export{xe as n,k as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.review-detail-page[data-v-d5151ea5]{height:100%}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{A as e,C as t,F as n,G as r,N as i,Tt as a,c as o,d as s,g as c,h as l,it as u,j as d,l as f,lt as p,m,nt as h,q as g,r as _,s as v,u as y}from"./runtime-core.esm-bundler-CUpq88z7.js";import{D as b,U as x,d as S,s as C,t as w}from"./QBtn-BDbJU6_B.js";import{et as ee,p as T,tt as E}from"./index-Bn7ByP7x.js";import{i as D,l as O,r as k}from"./agent-icon-Bc3evt8o.js";import{n as A}from"./vue-i18n.runtime-D0pkhc7g.js";import{n as j,r as M}from"./pinia-DmTi2T44.js";import{c as N,i as P,o as F,r as te,s as I}from"./single-flight-r8B7stt1.js";import{h as L}from"./QMenu-Bh-SjGqz.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-BYrCfRnC.js";import{n as U,t as W,u as G}from"./StatusSwitcher-Br_8-_CT.js";function K(e){return{...e,oldPath:B(e.oldPath),newPath:B(e.newPath)}}var q=j(`review-detail`,()=>{let e=h(null),t=u([]),n=h([]),r=h(!1),i=h(null),a=v(()=>{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([I(`/api/reviews/${a}`),I(`/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 s(){e.value&&(n.value=await I(`/api/reviews/${e.value.id}/comments`))}async function c(t){if(!e.value)return;let n=e.value.id,r=await N(`/api/reviews/${n}`,{status:t});e.value?.id===n&&(e.value=r)}async function l(e,t){let r=await N(`/api/comments/${e}`,{content:t});n.value=n.value.map(t=>t.id===e?r:t)}async function d(e){await F(`/api/comments/${e}`),n.value=n.value.filter(t=>t.id!==e)}async function f(e){let t=await N(`/api/comments/${e}/resolve`);n.value=n.value.map(n=>n.id===e?t:n)}async function p(e){let t=await N(`/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:s,setStatus:c,editComment:l,deleteComment:d,resolveComment:f,unresolveComment:p}}),J=c({__name:`DownloadButton`,props:{url:{},filename:{},tooltip:{}},setup(e){let n=e,{t:r}=A(),o=k(),s=h(!1);async function c(){s.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{s.value=!1}}return(n,r)=>(i(),f(w,t(n.$attrs,{padding:`4px`,flat:``,dense:``,round:``,loading:s.value,icon:`download`,"aria-label":e.tooltip,onClick:x(c,[`stop`])}),{default:g(()=>[e.tooltip?(i(),f(D,{key:0},{default:g(()=>[m(a(e.tooltip),1)]),_:1})):y(``,!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`},$=b(c({__name:`ReviewDetailPage`,setup(t){let{t:c}=A(),u=ee(),b=E(),x=q(),{review:D,files:k,commentsByFile:j,loading:N}=M(x),P=v(()=>String(u.params.id)),F=h(new Set),I=v(()=>k.value.filter(e=>(j.value.get(V(e))??[]).length>0)),R=v(()=>`/api/reviews/${P.value}/export?format=markdown`),z=v(()=>`${(D.value?.name??D.value?.id??`review`).replace(/[/\\:*?"<>|]/g,`-`)}.md`);function B(){x.load(P.value),F.value=new Set}e(B),r(P,B);let K=te([`comment:created`,`comment:updated`,`comment:deleted`],()=>void x.refreshComments());d(()=>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){x.setStatus(e)}G({create:async()=>{throw Error(`A saved review gets no new comments`)},edit:(e,t)=>x.editComment(e,t),remove:e=>x.deleteComment(e),resolve:e=>x.resolveComment(e),unresolve:e=>x.unresolveComment(e)});function oe(){b.push(`/reviews`)}return(e,t)=>p(N)?(i(),f(H,{key:0,class:`row justify-center q-pa-lg`},{default:g(()=>[l(C,{color:`primary`,size:`2em`})]),_:1})):p(D)?(i(),f(H,{key:2,class:`review-detail-page column no-wrap q-pa-md`},{default:g(()=>[o(`div`,Y,[o(`div`,X,[l(w,{flat:``,dense:``,round:``,icon:`arrow_back`,onClick:oe}),o(`div`,Z,a(p(D).name??p(c)(`reviews.list.unnamed`)),1),l(O),l(J,{url:R.value,filename:z.value,tooltip:p(c)(`reviews.detail.download`)},null,8,[`url`,`filename`,`tooltip`])]),o(`div`,Q,[o(`span`,ne,[l(S,{name:`account_tree`,size:`14px`}),m(` `+a(p(D).branch??p(c)(`reviews.list.unknownBranch`)),1)]),l(O),l(W,{status:p(D).status,onChange:ae},null,8,[`status`])])]),l(T),l(L,{class:`col`,"content-style":`padding: 8px`},{default:g(()=>[I.value.length===0?(i(),s(`p`,re,a(p(c)(`reviews.detail.noComments`)),1)):y(``,!0),(i(!0),s(_,null,n(I.value,e=>(i(),f(U,{key:p(V)(e),file:e,expanded:F.value.has(p(V)(e)),comments:p(j).get(p(V)(e))??[],"comments-only":``,"comments-editable":``,"no-full-file":``,onToggle:t=>$(p(V)(e)),onExpand:t=>ie(p(V)(e))},null,8,[`file`,`expanded`,`comments`,`onToggle`,`onExpand`]))),128))]),_:1})]),_:1})):(i(),f(H,{key:1,class:`q-pa-lg text-grey-6`},{default:g(()=>[m(a(p(c)(`reviews.detail.notFound`)),1)]),_:1}))}}),[[`__scopeId`,`data-v-d5151ea5`]]);export{$ as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{A as e,F as t,G as n,H as r,J as i,N as a,Tt as o,c as s,d as c,g as l,h as u,j as d,l as f,lt as p,m,nt as h,q as g,r as _,s as v,u as y}from"./runtime-core.esm-bundler-CUpq88z7.js";import{D as b,d as x,o as S,s as C,t as w}from"./QBtn-BDbJU6_B.js";import{n as T,p as E,tt as D}from"./index-Bn7ByP7x.js";import{n as O}from"./vue-i18n.runtime-D0pkhc7g.js";import{r as k}from"./pinia-DmTi2T44.js";import{r as A}from"./single-flight-r8B7stt1.js";import{d as j,f as M,h as N,p as P,u as F}from"./QMenu-Bh-SjGqz.js";import{t as I}from"./QSelect-CZqAOLiG.js";import{r as L}from"./use-virtual-scroll-BVHTKnoC.js";import{i as R,o as z,t as B}from"./AppPage-BYrCfRnC.js";import{n as V,r as H,t as U}from"./CreateReviewFabButton-UdzUa_ra.js";var W={class:`review-filters q-pa-md q-gutter-y-sm`},G={class:`row q-gutter-x-sm`},K=500,q=l({__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=r(e,`search`),n=r(e,`createdFrom`),i=r(e,`createdTo`),o=r(e,`files`),{t:l}=O();return(e,r)=>(a(),c(`div`,W,[u(H,{modelValue:t.value,"onUpdate:modelValue":r[0]||=e=>t.value=e,debounce:K,placeholder:p(l)(`reviews.filters.searchPlaceholder`)},null,8,[`modelValue`,`placeholder`]),s(`div`,G,[u(T,{modelValue:n.value,"onUpdate:modelValue":r[1]||=e=>n.value=e,dense:``,outlined:``,type:`date`,class:`col`,debounce:K,label:p(l)(`reviews.filters.from`)},null,8,[`modelValue`,`label`]),u(T,{modelValue:i.value,"onUpdate:modelValue":r[2]||=e=>i.value=e,dense:``,outlined:``,type:`date`,class:`col`,debounce:K,label:p(l)(`reviews.filters.to`)},null,8,[`modelValue`,`label`])]),u(I,{modelValue:o.value,"onUpdate:modelValue":r[3]||=e=>o.value=e,dense:``,outlined:``,multiple:``,"use-input":``,"use-chips":``,"hide-dropdown-icon":``,"new-value-mode":`add-unique`,label:p(l)(`reviews.filters.files`),hint:p(l)(`reviews.filters.filesHint`)},null,8,[`modelValue`,`label`,`hint`])]))}}),J=l({__name:`ReviewListItem`,props:{review:{}},emits:[`click`],setup(e){let t={in_progress:`grey-7`,approved:`positive`,changes_requested:`negative`},n=e,{t:r}=O(),c=v(()=>n.review.name??r(`reviews.list.unnamed`)),l=v(()=>n.review.branch??r(`reviews.list.unknownBranch`)),d=v(()=>new Date(n.review.createdAt).toLocaleString());return(n,h)=>i((a(),f(j,{clickable:``,onClick:h[0]||=e=>n.$emit(`click`)},{default:g(()=>[u(P,{avatar:``},{default:g(()=>[u(x,{color:t[e.review.status],name:`rate_review`},null,8,[`color`])]),_:1}),u(P,null,{default:g(()=>[u(L,{class:`text-body2`},{default:g(()=>[m(o(c.value),1)]),_:1}),u(L,{caption:``},{default:g(()=>[u(x,{name:`account_tree`,size:`14px`,class:`q-mr-xs`}),m(o(l.value)+` `,1),h[1]||=s(`span`,{class:`q-mx-sm`},`·`,-1),m(` `+o(d.value),1)]),_:1})]),_:1}),u(P,{side:``},{default:g(()=>[u(M,{color:t[e.review.status],outline:``,rounded:``},{default:g(()=>[m(o(p(r)(`reviews.status.${e.review.status}`)),1)]),_:1},8,[`color`])]),_:1})]),_:1})),[[S]])}}),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=b(l({__name:`ReviewsPage`,setup(r){let{t:i}=O(),l=D(),m=V(),v=z(),b=R(),{reviews:x,loading:S}=k(m),T=h(null),j=h(null),M=h(null),P=h([]);function I(){m.fetchReviews({search:T.value??``,createdFrom:j.value,createdTo:M.value,files:P.value})}e(I),n([T,j,M,P],I),e(()=>{v.fetchDiff(),b.refresh()});let L=A([`review:created`,`review:updated`,`review:deleted`],()=>{I(),b.refresh()});d(()=>L.close());let H=A([`files:changed`],()=>void v.fetchDiff());d(()=>H.close());function W(e){l.push(`/reviews/${e}`)}function G(e){l.push(`/reviews/${e.id}`)}return(e,n)=>(a(),f(B,{class:`reviews-page column no-wrap`},{default:g(()=>[s(`div`,Y,o(p(i)(`nav.reviews`)),1),u(E),u(q,{search:T.value,"onUpdate:search":n[0]||=e=>T.value=e,"created-from":j.value,"onUpdate:createdFrom":n[1]||=e=>j.value=e,"created-to":M.value,"onUpdate:createdTo":n[2]||=e=>M.value=e,files:P.value,"onUpdate:files":n[3]||=e=>P.value=e},null,8,[`search`,`created-from`,`created-to`,`files`]),u(E),u(N,{class:`col`},{default:g(()=>[p(S)?(a(),c(`div`,X,[u(C,{color:`primary`,size:`2em`})])):p(x).length===0?(a(),c(`div`,Z,[s(`p`,null,o(p(i)(`reviews.list.empty`)),1),u(w,{flat:``,color:`primary`,label:p(i)(`reviews.list.emptyAction`),to:{path:`/`}},null,8,[`label`])])):y(``,!0),u(F,{class:`q-pa-md`,separator:``,padding:``},{default:g(()=>[(a(!0),c(_,null,t(p(x),e=>(a(),f(J,{key:e.id,review:e,onClick:t=>W(e.id)},null,8,[`review`,`onClick`]))),128))]),_:1})]),_:1}),u(U,{onCreated:G})]),_:1}))}}),[[`__scopeId`,`data-v-38ce03eb`]]);export{Q as default};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{A as e,C as t,Ct as n,D as r,F as i,G as a,H as o,I as s,J as c,K as l,N as u,P as d,Q as f,R as p,S as m,Tt as h,U as g,at as _,c as v,ct as y,d as b,et as x,g as S,h as C,it as w,j as T,k as ee,l as E,lt as D,m as O,nt as k,q as A,r as j,s as M,u as N,wt as P,x as F}from"./runtime-core.esm-bundler-CUpq88z7.js";import{D as I,E as L,H as te,U as R,V as ne,d as z,o as B,s as V,t as H}from"./QBtn-BDbJU6_B.js";import{n as re}from"./create-BkZH2Q0U.js";import{Z as ie,n as ae,p as oe,t as se}from"./index-Bn7ByP7x.js";import{a as ce,c as le,i as U,l as W,o as ue,r as de,s as fe,t as pe,u as me}from"./agent-icon-Bc3evt8o.js";import{n as G}from"./vue-i18n.runtime-D0pkhc7g.js";import{n as he}from"./pinia-DmTi2T44.js";import{i as ge,r as _e,s as ve}from"./single-flight-r8B7stt1.js";import{t as ye}from"./agent-store-FOng_RxK.js";import{b as be,d as K,f as q,m as J,p as Y,t as xe,u as Se}from"./QMenu-Bh-SjGqz.js";import{c as Ce,d as we,f as Te,i as Ee,l as De,n as Oe,o as ke,p as X,r as Ae,s as je,u as Me}from"./AppPage-BYrCfRnC.js";function Ne(e,t,n=Object.is){return e.length===t.length&&e.every((e,r)=>n(e,t[r]))}var Pe=we(1e5,e=>e.lines.length+1);function Z(e={}){let t=w([]),n=k(!1),r=k(!1),i=k(null),a=0,o=null;async function s(s,l){let u=`${l}:${s}`;if(u!==o){c(),o=u;let r=e.cache?Pe.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 ve(`/api/git/file/${r}?ref=${encodeURIComponent(l)}`);if(d!==a)return;Ne(t.value,o.lines)||(t.value=o.lines),n.value=o.isBinary,i.value=null,e.cache&&Pe.set(u,{lines:t.value,isBinary:o.isBinary})}catch(e){if(d!==a)return;i.value=ge(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 Fe=I(S({__name:`CommentCountBadge`,props:{count:{},compact:{type:Boolean}},setup(e){let{t}=G();return(r,i)=>e.count>0?(u(),b(`span`,{key:0,class:n([`comment-count-badge relative-position inline-block`,{"comment-count-badge--compact":e.compact}])},[C(z,{name:`mode_comment`,size:e.compact?`15px`:`20px`},null,8,[`size`]),C(q,{color:`primary`,floating:``,rounded:``},{default:A(()=>[O(h(e.count),1)]),_:1}),C(U,null,{default:A(()=>[O(h(D(t)(`reviews.comments.count`,{count:e.count})),1)]),_:1})],2)):N(``,!0)}}),[[`__scopeId`,`data-v-a3a5d346`]]),Ie=Symbol(`scroll-root`);function Le(){let e=F(Ie,void 0);return t=>e?.()??t.closest(`.q-scrollarea__container`)}var Re=Symbol(`comment-actions`);function ze(e){let{t}=G(),n=de();function r(e){return async(...r)=>{try{await e(...r)}catch(e){throw n(t(`reviews.comments.error`),e),e}}}d(Re,{create:r(e.create),edit:r(e.edit),remove:r(e.remove),resolve:r(e.resolve),unresolve:r(e.unresolve)})}async function Q(){throw Error(`No comment actions are provided here`)}function Be(){return F(Re,void 0)||{create:Q,edit:Q,remove:Q,resolve:Q,unresolve:Q}}function Ve(e){e.catch(()=>void 0)}var He={class:`diff-line__prefix`},Ue={class:`diff-line__content`},We=I(S({__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 r=e,a=t,o=M(()=>({added:`+`,removed:`-`,context:` `})[r.line.type]),s=M(()=>r.line.type===`added`?`diff-line--added`:r.line.type===`removed`?`diff-line--removed`:``);function c(e){return e.colorLight&&e.colorDark?`light-dark(${e.colorLight}, ${e.colorDark})`:e.colorLight??e.colorDark}return(t,r)=>(u(),b(`div`,{class:n([`diff-line row no-wrap text-mono`,[s.value,{"diff-line--wrap":e.wrap}]])},[v(`span`,{class:n([`diff-line__gutter`,{"diff-line__gutter--selectable":e.selectable&&e.line.oldLineNumber,"diff-line__gutter--selected":e.oldSelected}]),onMousedown:r[0]||=t=>e.line.oldLineNumber&&a(`old-mousedown`),onMouseenter:r[1]||=t=>e.line.oldLineNumber&&a(`old-mouseenter`)},h(e.line.oldLineNumber??``),35),v(`span`,{class:n([`diff-line__gutter`,{"diff-line__gutter--selectable":e.selectable&&e.line.newLineNumber,"diff-line__gutter--selected":e.newSelected}]),onMousedown:r[2]||=t=>e.line.newLineNumber&&a(`new-mousedown`),onMouseenter:r[3]||=t=>e.line.newLineNumber&&a(`new-mouseenter`)},h(e.line.newLineNumber??``),35),v(`span`,He,h(o.value),1),v(`span`,Ue,[e.tokens?(u(!0),b(j,{key:0},i(e.tokens,(e,t)=>(u(),b(`span`,{key:t,style:P({color:c(e)})},h(e.content),5))),128)):(u(),b(j,{key:1},[O(h(e.line.content),1)],64))])],2))}}),[[`__scopeId`,`data-v-2b9e2a1a`]]),Ge=2e3,Ke=S({__name:`RowSegment`,props:{minHeight:{},keep:{type:Boolean,default:!1}},emits:[`change`],setup(t,{emit:n}){let i=t,o=n,c=Le(),l=g(`el`),d=k(!1),f=k(i.minHeight),p=!1,m;return e(()=>{let e=l.value?c(l.value):null;if(!l.value||!e){d.value=!0;return}m=new IntersectionObserver(e=>{let t=e[e.length-1];t&&(t.isIntersecting?d.value=!0:i.keep||(l.value&&d.value&&(f.value=l.value.offsetHeight,p=!0),d.value=!1))},{root:e,rootMargin:`${Ge}px 0px`}),m.observe(l.value)}),a(d,e=>o(`change`,e)),a(()=>i.minHeight,e=>{p||(f.value=e)}),r(()=>m?.disconnect()),(e,t)=>(u(),b(`div`,{ref_key:`el`,ref:l,style:P(d.value?void 0:{height:`${f.value}px`})},[d.value?s(e.$slots,`default`,{},void 0,void 0,0):N(``,!0)],4))}});function qe(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 Je=`\0`,Ye=[`pending:`,`draft:`,`busy:`,`edit:`],Xe=he(`card-state`,()=>{let e=k({});function t(e,t){return`${e}${Je}${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 o(t){for(let n of Object.keys(e.value)){let r=n.slice(0,n.indexOf(Je));t.has(r)||delete e.value[n]}}function s(e){return e.slice(e.indexOf(Je)+1)}function c(t){for(let n of Object.keys(e.value))t(s(n))&&delete e.value[n]}let l=ke();a(()=>[l.loaded,l.stagedFiles,l.unstagedFiles],([e,t,n])=>{e&&o(new Set([...t.map(e=>Te(`staged`,X(e))),...n.map(e=>Te(`unstaged`,X(e)))]))},{immediate:!0});let u=Ee();return a(()=>u.activeReview?.id,()=>c(e=>Ye.some(t=>e.startsWith(t)))),a(()=>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:o}}),Ze=Symbol(`card-state-key`);function $(e,t,n={}){let r=n.local?void 0:n.key??F(Ze,void 0);if(r===void 0){let e=k(t());return Object.assign(M({get:()=>e.value,set:t=>{e.value=t}}),{reset(){e.value=t()}})}let i=Xe();return Object.assign(M({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=I(S({__name:`CommentForm`,props:{initialContent:{},submitLabel:{},lineRange:{default:null},draftKey:{},send:{}},emits:[`cancel`],setup(e,{emit:t}){let n=e,r=t,{t:i}=G(),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 d(){s.value||(o.reset(),r(`cancel`))}return(t,n)=>(u(),b(`div`,Qe,[C(ae,{modelValue:D(o),"onUpdate:modelValue":n[0]||=e=>f(o)?o.value=e:null,dense:``,outlined:``,autofocus:!c,type:`textarea`,autogrow:``,placeholder:D(i)(`reviews.comments.placeholder`),readonly:D(s),onKeyup:te(R(l,[`ctrl`]),[`enter`])},null,8,[`modelValue`,`autofocus`,`placeholder`,`readonly`,`onKeyup`]),v(`div`,$e,[e.lineRange?(u(),b(`span`,et,h(e.lineRange.start===e.lineRange.end?D(i)(`reviews.comments.line`,{line:e.lineRange.start}):D(i)(`reviews.comments.lineRange`,{start:e.lineRange.start,end:e.lineRange.end})),1)):N(``,!0),C(W),v(`div`,tt,[C(Ae,{size:`sm`,disable:D(s),onClick:d},null,8,[`disable`]),C(Oe,{size:`sm`,label:e.submitLabel,disable:!D(o).trim(),loading:D(s),onClick:l},null,8,[`label`,`disable`,`loading`])])])]))}}),[[`__scopeId`,`data-v-349d56ab`]]),rt=S({__name:`DeleteButton`,props:{tooltip:{}},setup(e){return(n,r)=>(u(),E(H,t(n.$attrs,{padding:`4px`,flat:``,dense:``,round:``,icon:`delete_outline`,color:`warning`}),{default:A(()=>[e.tooltip?(u(),E(U,{key:0},{default:A(()=>[O(h(e.tooltip),1)]),_:1})):N(``,!0)]),_:1},16))}}),it=S({__name:`EditButton`,props:{tooltip:{}},setup(e){return(n,r)=>(u(),E(H,t(n.$attrs,{padding:`4px`,flat:``,dense:``,round:``,icon:`edit`,color:`secondary`}),{default:A(()=>[e.tooltip?(u(),E(U,{key:0},{default:A(()=>[O(h(e.tooltip),1)]),_:1})):N(``,!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=I(S({__name:`CommentItem`,props:{comment:{},readonly:{type:Boolean}},setup(e){let t=e,r=L(),{t:i}=G(),a=$(`edit:${t.comment.id}`,()=>!1),o=Be();function s(){r.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(()=>{Ve(o.remove(t.comment.id))})}async function c(e){await o.edit(t.comment.id,e),a.reset()}function l(){a.reset()}function d(){t.comment.resolved?Ve(o.unresolve(t.comment.id)):Ve(o.resolve(t.comment.id))}return(t,r)=>(u(),b(`div`,{class:n([`comment-item q-pa-sm`,{"comment-item--resolved":e.comment.resolved}])},[D(a)&&!e.readonly?(u(),E(nt,{key:0,"initial-content":e.comment.content,"draft-key":`edit:${e.comment.id}`,"submit-label":D(i)(`reviews.comments.save`),send:c,onCancel:l},null,8,[`initial-content`,`draft-key`,`submit-label`])):(u(),b(j,{key:1},[v(`div`,at,h(e.comment.content),1),e.comment.suggestion?(u(),b(`pre`,ot,h(e.comment.suggestion),1)):N(``,!0),v(`div`,st,[e.comment.resolved?(u(),E(q,{key:0,color:`positive`,outline:``},{default:A(()=>[O(h(D(i)(`reviews.comments.resolved`)),1)]),_:1})):N(``,!0),C(W),e.readonly?N(``,!0):(u(),b(j,{key:1},[C(H,{flat:``,dense:``,rounded:``,padding:`4px 12px`,size:`sm`,color:`primary`,label:e.comment.resolved?D(i)(`reviews.comments.unresolve`):D(i)(`reviews.comments.resolve`),onClick:d},null,8,[`label`]),C(it,{size:`sm`,tooltip:D(i)(`reviews.comments.edit`),onClick:r[0]||=e=>a.value=!0},null,8,[`tooltip`]),C(rt,{size:`sm`,tooltip:D(i)(`reviews.comments.delete`),onClick:s},null,8,[`tooltip`])],64))])],64))],2))}}),[[`__scopeId`,`data-v-3af2187b`]]),lt={class:`comment-thread q-pa-sm q-gutter-y-sm`},ut=I(S({__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}=G();return(t,a)=>(u(),b(`div`,lt,[(u(!0),b(j,null,i(e.comments,t=>(u(),E(ct,{key:t.id,comment:t,readonly:e.readonly},null,8,[`comment`,`readonly`]))),128)),e.showNewForm&&!e.readonly?(u(),E(nt,{key:0,"submit-label":D(r)(`reviews.comments.submit`),"line-range":e.pendingLineRange,"draft-key":e.newDraftKey,send:e.submitNew,onCancel:a[0]||=e=>n(`cancel-new`)},null,8,[`submit-label`,`line-range`,`draft-key`,`send`])):N(``,!0)]))}}),[[`__scopeId`,`data-v-352fcd01`]]);function dt(t){let n=k(null);function r(e,t){n.value={column:e,start:t,current:t}}function i(e,t){n.value&&n.value.column===e&&(n.value.current=t)}function a(e,t){if(!n.value||n.value.column!==e)return!1;let r=Math.min(n.value.start,n.value.current),i=Math.max(n.value.start,n.value.current);return t>=r&&t<=i}function o(){if(!n.value)return;let{column:e,start:r,current:i}=n.value;n.value=null,t({column:e,startKey:Math.min(r,i),endKey:Math.max(r,i)})}return e(()=>window.addEventListener(`mouseup`,o)),T(()=>window.removeEventListener(`mouseup`,o)),{start:r,enter:i,isSelected:a}}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=I(S({__name:`DiffHunkView`,props:{path:{},hunk:{},lineTokens:{},commentable:{type:Boolean},comments:{},commentsOnly:{type:Boolean},commentsEditable:{type:Boolean},wrap:{type:Boolean}},setup(e){let n=e,r=Be(),a=M(()=>`@@ -${n.hunk.oldStart},${n.hunk.oldLines} +${n.hunk.newStart},${n.hunk.newLines} @@`),o=$(`pending:diff`,()=>null);function s(e){return n.hunk.lines.map(t=>({key:e===`old`?t.oldLineNumber:t.newLineNumber,text:`${t.type}\u0000${t.content}`}))}let c=M(()=>o.value?mt(o.value,s(o.value.column)):`absent`);l(()=>{c.value===`stale`&&o.reset()});let d=M(()=>c.value===`valid`?o.value:null),f=dt(e=>{let t=n.hunk.lines.find(t=>e.column===`old`?t.oldLineNumber===e.startKey:t.newLineNumber===e.startKey);o.value={...pt(e.column,e.startKey,e.endKey,s(e.column)),lineType:t?.type??`context`}});function m(e,t){n.commentable&&t!==null&&f.start(e,t)}function g(e,t){n.commentable&&t!==null&&f.enter(e,t)}function _(e,t){return!n.commentable||t===null?!1:d.value&&d.value.column===e&&t>=d.value.startKey&&t<=d.value.endKey?!0:f.isSelected(e,t)}function y(e){return e.lineType===`removed`?`old`:`new`}function x(e){return(n.comments??[]).some(t=>{if(t.lineNumber===null||t.lineNumberEnd===null)return!1;let n=y(t)===`old`?e.oldLineNumber:e.newLineNumber;return n!==null&&n>=t.lineNumber&&n<=t.lineNumberEnd})}let S=M(()=>{let e=new Map,t=new Map;for(let r of n.comments??[]){if(r.lineNumberEnd===null)continue;let n=y(r)===`old`?e:t,i=n.get(r.lineNumberEnd);i?i.push(r):n.set(r.lineNumberEnd,[r])}return n.hunk.lines.map((n,r)=>({line:n,index:r,comments:[...n.oldLineNumber===null?[]:e.get(n.oldLineNumber)??[],...n.newLineNumber===null?[]:t.get(n.newLineNumber)??[]]})).filter(e=>!n.commentsOnly||x(e.line))}),w=M(()=>qe(S.value)),T=M(()=>d.value?{start:d.value.startKey,end:d.value.endKey}:null);function ee(e,t){return!!d.value&&d.value.column===e&&t===d.value.endKey}function O(e){return ee(`old`,e.oldLineNumber)||ee(`new`,e.newLineNumber)}async function k(e){let t=d.value;t&&(await r.create({filePath:n.path,lineNumber:t.startKey,lineNumberEnd:t.endKey,lineType:t.lineType,content:e}),o.reset())}function P(){o.reset()}return(n,r)=>!e.commentsOnly||S.value.length>0?(u(),b(`div`,ht,[v(`div`,gt,h(a.value),1),(u(!0),b(j,null,i(w.value.groups,n=>(u(),E(p(w.value.segmented?Ke:`div`),t({key:n.start},{ref_for:!0},w.value.segmented?{minHeight:n.rows.length*D(20),keep:n.rows.some(({line:e})=>O(e))}:{}),{default:A(()=>[(u(!0),b(j,null,i(n.rows,({line:t,index:n,comments:r})=>(u(),b(j,{key:n},[C(We,{line:t,tokens:e.lineTokens?.[n],selectable:e.commentable,wrap:e.wrap,"old-selected":_(`old`,t.oldLineNumber),"new-selected":_(`new`,t.newLineNumber),onOldMousedown:e=>m(`old`,t.oldLineNumber),onOldMouseenter:e=>g(`old`,t.oldLineNumber),onNewMousedown:e=>m(`new`,t.newLineNumber),onNewMouseenter:e=>g(`new`,t.newLineNumber)},null,8,[`line`,`tokens`,`selectable`,`wrap`,`old-selected`,`new-selected`,`onOldMousedown`,`onOldMouseenter`,`onNewMousedown`,`onNewMouseenter`]),r.length>0||O(t)?(u(),E(ut,{key:0,comments:r,readonly:!e.commentsEditable,"show-new-form":O(t),"pending-line-range":T.value,"new-draft-key":`new:diff`,"submit-new":k,onCancelNew:P},null,8,[`comments`,`readonly`,`show-new-form`,`pending-line-range`])):N(``,!0)],64))),128))]),_:2},1040))),128))])):N(``,!0)}}),[[`__scopeId`,`data-v-4ff2e740`]]),vt={class:`file-content-line__content`},yt=I(S({__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 r=t;function a(e){return e.colorLight&&e.colorDark?`light-dark(${e.colorLight}, ${e.colorDark})`:e.colorLight??e.colorDark}return(t,o)=>(u(),b(`div`,{class:n([`file-content-line row no-wrap text-mono`,{"file-content-line--wrap":e.wrap}])},[v(`span`,{class:n([`file-content-line__gutter`,{"file-content-line__gutter--selectable":e.selectable,"file-content-line__gutter--selected":e.selected}]),onMousedown:o[0]||=e=>r(`gutter-mousedown`),onMouseenter:o[1]||=e=>r(`gutter-mouseenter`)},h(e.lineNumber),35),v(`span`,vt,[e.tokens?(u(!0),b(j,{key:0},i(e.tokens,(e,t)=>(u(),b(`span`,{key:t,style:P({color:a(e)})},h(e.content),5))),128)):(u(),b(j,{key:1},[O(h(e.content||` `),1)],64))])],2))}}),[[`__scopeId`,`data-v-967eefee`]]),bt=300;function xt(e,t){let n=w(null),r=k(!1),i=k(!1),o=!1,s;function c(){s?.abort(),s=void 0}let l=M(()=>{let t=y(e);return t&&Ce(t.path)?t:null}),u=M(()=>{let e=l.value;return e?_(e.key):null});a(u,()=>{c(),n.value=null,o=!1});function d(e){n.value=e,o=!0,r.value=!0}a(()=>[u.value,y(t)],async([e,t])=>{if(!t){c();return}let i=l.value;if(!e||!i||o||s)return;let a=je(e);if(a!==void 0){d(a);return}let u=new AbortController;s=u;let f;try{f=await De(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||(s=void 0,d(f))},{immediate:!0});let f=M(()=>y(t)&&!r.value&&l.value!==null),p;function m(){clearTimeout(p),p=void 0}return a(f,e=>{m(),e&&!i.value&&(p=setTimeout(()=>{i.value=!0},bt))},{immediate:!0}),x(()=>{c(),m()}),{tokens:n,holdForTokens:M(()=>f.value&&!i.value)}}var St={key:1,class:`file-content-view`},Ct=I(S({__name:`FileContentView`,props:{path:{},lines:{},commentable:{type:Boolean},comments:{},commentsEditable:{type:Boolean},wrap:{type:Boolean}},setup(e){let n=e,r=Be(),{tokens:a,holdForTokens:o}=xt(()=>{let e=n.lines;return e.length===0?null:{key:e,path:n.path,lines:()=>e}},!0),s=$(`pending:full`,()=>null);function c(){return n.lines.map((e,t)=>({key:t+1,text:e}))}let d=M(()=>s.value?mt(s.value,c()):`absent`);l(()=>{d.value===`stale`&&s.reset()});let f=M(()=>d.value===`valid`?s.value:null),m=dt(e=>{s.value=pt(e.column,e.startKey,e.endKey,c())});function h(e){return n.commentable?f.value&&e>=f.value.startKey&&e<=f.value.endKey?!0:m.isSelected(`full`,e):!1}let g=M(()=>{let e=new Map;for(let t of n.comments??[]){if(t.lineNumberEnd===null)continue;let n=e.get(t.lineNumberEnd);n?n.push(t):e.set(t.lineNumberEnd,[t])}return n.lines.map((t,n)=>({line:t,index:n,lineNumber:n+1,comments:e.get(n+1)??[]}))}),_=M(()=>qe(g.value)),v=M(()=>f.value?{start:f.value.startKey,end:f.value.endKey}:null);function y(e){n.commentable&&m.start(`full`,e)}function x(e){n.commentable&&m.enter(`full`,e)}async function S(e){let t=f.value;t&&(await r.create({filePath:n.path,lineType:null,lineNumber:t.startKey,lineNumberEnd:t.endKey,content:e}),s.reset())}function w(){s.reset()}return(n,r)=>D(o)?(u(),b(`div`,{key:0,class:`row justify-center items-start q-pa-lg`,style:P({minHeight:`${e.lines.length*D(20)}px`})},[C(V,{color:`primary`,size:`2em`})],4)):(u(),b(`div`,St,[(u(!0),b(j,null,i(_.value.groups,n=>(u(),E(p(_.value.segmented?Ke:`div`),t({key:n.start},{ref_for:!0},_.value.segmented?{minHeight:n.rows.length*D(20),keep:n.rows.some(e=>f.value?.endKey===e.lineNumber)}:{}),{default:A(()=>[(u(!0),b(j,null,i(n.rows,({line:t,index:n,lineNumber:r,comments:i})=>(u(),b(j,{key:n},[C(yt,{"line-number":r,content:t,tokens:D(a)?.[n],selectable:e.commentable,selected:h(r),wrap:e.wrap,onGutterMousedown:e=>y(r),onGutterMouseenter:e=>x(r)},null,8,[`line-number`,`content`,`tokens`,`selectable`,`selected`,`wrap`,`onGutterMousedown`,`onGutterMouseenter`]),i.length>0||f.value?.endKey===r?(u(),E(ut,{key:0,comments:i,readonly:!e.commentsEditable,"show-new-form":f.value?.endKey===r,"pending-line-range":v.value,"new-draft-key":`new:full`,"submit-new":S,onCancelNew:w},null,8,[`comments`,`readonly`,`show-new-form`,`pending-line-range`])):N(``,!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=S({__name:`DiffFileFullView`,props:{path:{},commentable:{type:Boolean,default:!1},comments:{default:()=>[]},commentsEditable:{type:Boolean},wrap:{type:Boolean}},setup(e){let t=e,{t:n}=G(),{lines:r,isBinary:i,loading:o,error:s,fetchContent:c}=Z({cache:!0});a(()=>t.path,e=>{c(e,`WORKTREE`)},{immediate:!0});let l=_e([`files:changed`],()=>{c(t.path,`WORKTREE`)});T(()=>l.close());let d=ke(),f=M(()=>d.unstagedFiles.some(e=>e.status===`deleted`&&X(e)===t.path));return(t,a)=>D(o)&&D(r).length===0&&!D(s)?(u(),b(`div`,wt,[C(V,{color:`primary`,size:`2em`})])):f.value?(u(),b(`p`,Tt,h(D(n)(`changes.fullFileDeleted`)),1)):D(s)?(u(),b(`div`,Et,[O(h(D(n)(`changes.fullFileLoadError`))+` `,1),v(`div`,null,h(D(s)),1)])):D(i)?(u(),b(`p`,Dt,h(D(n)(`changes.binaryFile`)),1)):(u(),E(Ct,{key:4,path:e.path,lines:D(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=re({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=I(S({__name:`HorizontalScrollBody`,props:{label:{}},setup(e){let t=g(`viewport`),n=g(`bar`),r=k(0),i=k(!1);function o(){let e=t.value;e&&(r.value=e.scrollWidth,i.value=e.scrollWidth>e.clientWidth+1)}a([r,i],()=>l(t.value,n.value),{flush:`post`});function l(e,t){e&&t&&t.scrollLeft!==e.scrollLeft&&(t.scrollLeft=e.scrollLeft)}return(a,d)=>(u(),b(`div`,Nt,[c((u(),b(`div`,{ref_key:`viewport`,ref:t,class:`horizontal-scroll-body__viewport`,tabindex:i.value?0:void 0,role:`group`,"aria-label":e.label,onScroll:d[0]||=e=>l(t.value,n.value)},[v(`div`,Ft,[s(a.$slots,`default`,{},void 0,!0)]),C(be,{debounce:0,onResize:o})],40,Pt)),[[Mt,o,void 0,{childList:!0,subtree:!0,characterData:!0}]]),c(v(`div`,{ref_key:`bar`,ref:n,class:`horizontal-scroll-body__bar`,"aria-hidden":`true`,tabindex:`-1`,onScroll:d[1]||=e=>l(n.value,t.value)},[v(`div`,{style:P({width:`${r.value}px`,height:`1px`})},null,4)],544),[[ne,i.value]])]))}}),[[`__scopeId`,`data-v-8d2efd69`]]),Lt={role:`alert`},Rt={class:`text-caption`},zt=S({__name:`LoadErrorBanner`,props:{title:{},message:{},loading:{type:Boolean}},emits:[`retry`],setup(e,{emit:t}){let n=t,{t:r}=G();return(t,i)=>(u(),E(me,{dense:``,class:`bg-negative text-white`,role:`none`},{action:A(()=>[C(H,{flat:``,dense:``,color:`white`,label:D(r)(`changes.retry`),loading:e.loading,onClick:i[0]||=e=>n(`retry`)},null,8,[`label`,`loading`])]),default:A(()=>[v(`div`,Lt,[O(h(e.title)+` `,1),v(`div`,Rt,h(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=I(S({__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 n=e,r=t,{t:a}=G(),o=M(()=>n.hunksState===`ready`&&n.holdForTokens),s=M(()=>n.comments.filter(e=>e.lineType!==null)),c=M(()=>n.comments.filter(e=>e.lineType===null));return(t,n)=>(u(),E(It,{class:`diff-file-card__body`,label:e.path},{default:A(()=>[e.viewMode===`full`?(u(),E(Ot,{key:0,path:e.path,commentable:e.commentable,"comments-editable":e.commentsEditable,comments:c.value,wrap:e.wrap},null,8,[`path`,`commentable`,`comments-editable`,`comments`,`wrap`])):(u(),b(j,{key:1},[e.file.isBinary?(u(),b(`p`,Bt,h(D(a)(`changes.binaryFile`)),1)):e.hunksState===`loading`||o.value?(u(),b(`div`,{key:1,class:`diff-file-card__loading row flex-center`,style:P({minHeight:`${e.loadingHeight}px`})},[C(V,{size:`md`,color:`grey-6`,"aria-label":D(a)(`changes.hunksLoading`)},null,8,[`aria-label`])],4)):(u(),b(j,{key:2},[e.hunksState===`error`?(u(),E(zt,{key:0,title:D(a)(`changes.hunksLoadError`),message:e.hunksError??``,loading:!1,onRetry:n[0]||=e=>r(`retry-hunks`)},null,8,[`title`,`message`])):e.file.hunks.length===0?(u(),b(`p`,Vt,h(D(a)(`changes.noTextChanges`)),1)):N(``,!0)],64)),(u(!0),b(j,null,i(o.value?[]:e.file.hunks,(t,n)=>(u(),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:s.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=S({__name:`CopyButton`,props:{value:{},tooltip:{}},setup(e){let t=e,n=k(!1),{registerTimeout:i}=ie(),a=0;function o(){a++,n.value=!1}r(o),ee(o);async function s(){let e=a;try{if(await fe(t.value),e!==a)return;n.value=!0,i(()=>{n.value=!1},ue)}catch{}}return(t,r)=>c((u(),E(H,{flat:``,dense:``,round:``,size:`sm`,color:n.value?`positive`:void 0,icon:n.value?`check`:`content_copy`,"aria-label":e.tooltip,onClick:R(s,[`stop`])},{default:A(()=>[C(U,null,{default:A(()=>[O(h(e.tooltip),1)]),_:1})]),_:1},8,[`color`,`icon`,`aria-label`])),[[B]])}}),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=I(S({__name:`FileCardHeader`,props:{path:{}},setup(e){let{t}=G();return(n,r)=>(u(),b(`div`,Wt,[s(n.$slots,`leading`,{},void 0,!0),v(`div`,Gt,[v(`span`,Kt,h(e.path),1),C(Ut,{value:e.path,tooltip:D(t)(`common.copyPath`)},null,8,[`value`,`tooltip`]),s(n.$slots,`badges`,{},void 0,!0)]),C(W),s(n.$slots,`default`,{},void 0,!0)]))}}),[[`__scopeId`,`data-v-28b34b1f`]]);function Jt(){let{t:e}=G(),t=L(),n=ye();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=I(S({__name:`MarkdownPreviewDialog`,props:m({path:{}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=e,n=o(e,`modelValue`),{t:r}=G(),{lines:i,isBinary:a,loading:s,error:c,fetchContent:l}=Z(),d=M(()=>i.value.join(`
|
|
2
|
-
`));function f(){l(t.path,`WORKTREE`)}return(t,o)=>(u(),E(le,{modelValue:n.value,"onUpdate:modelValue":o[0]||=e=>n.value=e,size:`wide`,title:e.path,onBeforeShow:f},{default:A(()=>[D(s)&&D(i).length===0?(u(),b(`div`,Yt,[C(V,{color:`primary`,size:`28px`})])):D(c)?(u(),b(`div`,Xt,h(D(c)),1)):D(a)?(u(),b(`div`,Zt,h(D(r)(`changes.previewBinary`)),1)):(u(),E(ce,{key:3,class:`md-preview__body`,text:d.value},null,8,[`text`]))]),_:1},8,[`modelValue`,`title`]))}}),[[`__scopeId`,`data-v-57d05fc3`]]),$t=S({__name:`FileHeaderMenu`,props:m({path:{},diffSource:{}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=o(e,`modelValue`),n=e,{t:r}=G(),i=ye(),a=Jt(),s=M(()=>/\.(md|markdown)$/i.test(n.path??``)),l=k(!1);function d(){n.path&&a({kind:`file`,path:n.path})}function f(){n.path&&n.diffSource&&a({kind:`diff`,source:n.diffSource,path:n.path})}return(n,a)=>c((u(),E(H,{flat:``,round:``,dense:``,size:`sm`,icon:`more_vert`,"aria-label":D(r)(`changes.fileActions`)},{default:A(()=>[C(xe,null,{default:A(()=>[C(Se,{dense:``,class:`agent-menu`},{default:A(()=>[c((u(),E(K,{clickable:``,onClick:a[0]||=e=>t.value=!t.value},{default:A(()=>[C(Y,{side:``},{default:A(()=>[C(z,{name:t.value?`check_box`:`check_box_outline_blank`},null,8,[`name`])]),_:1}),C(Y,null,{default:A(()=>[O(h(D(r)(`changes.wrapLines`)),1)]),_:1})]),_:1})),[[J]]),s.value&&e.path?c((u(),E(K,{key:0,clickable:``,onClick:a[1]||=e=>l.value=!0},{default:A(()=>[C(Y,{side:``},{default:A(()=>[C(z,{name:`visibility`})]),_:1}),C(Y,null,{default:A(()=>[O(h(D(r)(`changes.previewMarkdown`)),1)]),_:1})]),_:1})),[[J]]):N(``,!0),D(i).enabled&&e.path?(u(),b(j,{key:1},[C(oe),e.diffSource?c((u(),E(K,{key:0,clickable:``,onClick:f},{default:A(()=>[C(Y,{side:``},{default:A(()=>[C(z,{name:D(pe)},null,8,[`name`])]),_:1}),C(Y,null,{default:A(()=>[O(h(D(r)(`agent.context.addDiff`)),1)]),_:1})]),_:1})),[[J]]):N(``,!0),c((u(),E(K,{clickable:``,onClick:d},{default:A(()=>[C(Y,{side:``},{default:A(()=>[C(z,{name:D(pe)},null,8,[`name`])]),_:1}),C(Y,null,{default:A(()=>[O(h(D(r)(`agent.context.addFile`)),1)]),_:1})]),_:1})),[[J]])],64)):N(``,!0)]),_:1})]),_:1}),s.value&&e.path?(u(),E(Qt,{key:0,modelValue:l.value,"onUpdate:modelValue":a[2]||=e=>l.value=e,path:e.path},null,8,[`modelValue`,`path`])):N(``,!0)]),_:1},8,[`aria-label`])),[[B]])}}),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=I(S({__name:`DiffFileCardHeader`,props:m({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:m([`toggle`],[`update:showFullFile`,`update:wrap`]),setup(e){let t={added:`positive`,modified:`warning`,deleted:`negative`,renamed:`purple`},r=o(e,`showFullFile`),i=o(e,`wrap`),{t:a}=G();return(o,s)=>c((u(),E(K,{clickable:``,dense:``,class:`diff-file-card__header-item`,onClick:s[4]||=e=>o.$emit(`toggle`)},{default:A(()=>[C(qt,{path:e.path},{leading:A(()=>[C(z,{name:`chevron_right`,size:`xs`,class:n([`diff-file-card__chevron`,{"diff-file-card__chevron--expanded":e.expanded}])},null,8,[`class`])]),badges:A(()=>[C(Fe,{compact:``,count:e.commentCount},null,8,[`count`])]),default:A(()=>[e.fullFileToggle?(u(),b(`div`,{key:0,class:`diff-file-card__toggle-section`,onClick:s[1]||=R(()=>{},[`stop`])},[C(se,{modelValue:r.value,"onUpdate:modelValue":s[0]||=e=>r.value=e,"left-label":``,dense:``,size:`xs`,label:D(a)(`changes.showFullFile`)},null,8,[`modelValue`,`label`])])):N(``,!0),v(`div`,en,[C(q,{color:t[e.status],outline:``,rounded:``},{default:A(()=>[O(h(D(a)(`changes.fileStatus.${e.status}`)),1)]),_:1},8,[`color`])]),v(`span`,tn,[v(`span`,nn,`+`+h(e.additions),1),v(`span`,rn,`-`+h(e.deletions),1)]),v(`div`,{onClick:s[3]||=R(()=>{},[`stop`])},[C($t,{modelValue:i.value,"onUpdate:modelValue":s[2]||=e=>i.value=e,path:e.path,"diff-source":e.agentSource},null,8,[`modelValue`,`path`,`diff-source`])])]),_:1},8,[`path`])]),_:1})),[[B]])}}),[[`__scopeId`,`data-v-f20f8506`]]),on={},sn={class:`file-card-frame`};function cn(e,t){return u(),b(`div`,sn,[s(e.$slots,`header`,{},void 0,!0),s(e.$slots,`default`,{},void 0,!0)])}var ln=I(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=_(y(e));if(!t.hunks.some(e=>e.lines.length>0))return null;let n,r=()=>n??=un(t.hunks);return{key:t,path:X(t),lines:()=>r().lines,documents:()=>r().documents}},t);return{hunkTokens:M(()=>{let t=n.value;if(!t)return null;let r=0;return y(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=k(!1);return a(()=>y(e.expanded),n=>{n||(t.value=!1,e.onCollapsed?.())}),a([()=>y(e.expanded)&&t.value&&!y(e.loaded)&&!y(e.error),()=>y(e.version)],([t])=>{t&&e.onNeeded()},{immediate:!0}),{bodyMounted:t}}function pn(e){return Me(e)===`markdown`}var mn=80,hn=I(S({__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,i=M(()=>X(n.file)),o=M(()=>n.detail??n.file);d(Ze,n.stateKey);let s=n.stateKey?{key:n.stateKey}:{local:!0},c=$(`wrap`,()=>pn(i.value),s),l=$(`viewMode`,()=>`diff`,s);a(()=>n.file.status,e=>{e===`deleted`&&l.reset()},{immediate:!0});let p=M(()=>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=M(()=>n.hunksLoaded?`ready`:n.hunksError?`error`:n.detail?`ready`:`loading`),{hunkTokens:g,holdForTokens:_}=dn(o,()=>n.expanded&&l.value===`diff`&&(n.detail!==void 0||n.hunksLoaded)),v=M({get:()=>l.value===`full`,set:e=>{e?(l.value=`full`,n.expanded||r(`expand`)):n.expanded&&(l.value=`diff`)}});return(t,n)=>(u(),E(ln,{id:`diff-file-${i.value}`,class:`diff-file-card`},{header:A(()=>[C(an,{"show-full-file":v.value,"onUpdate:showFullFile":n[0]||=e=>v.value=e,wrap:D(c),"onUpdate:wrap":n[1]||=e=>f(c)?c.value=e:null,path:i.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:A(()=>[e.expanded?(u(),E(Ke,{key:0,"min-height":p.value,onChange:n[4]||=e=>m.value=e},{default:A(()=>[C(Ht,{file:o.value,path:i.value,"view-mode":D(l),wrap:D(c),"hunk-tokens":D(g),"hunks-state":h.value,"hold-for-tokens":D(_),"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`])):N(``,!0)]),_:1},8,[`id`]))}}),[[`__scopeId`,`data-v-93b1a35b`]]),gn={class:`row q-gutter-x-sm no-wrap`},_n=S({__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,a=t,{t:o}=G(),s=L();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(()=>{a(`change`,e.value)})}return(t,r)=>(u(),b(`div`,gn,[(u(),b(j,null,i(n,t=>C(H,{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:D(o)(`reviews.status.${t.value}`),onClick:e=>c(t)},null,8,[`outline`,`unelevated`,`color`,`label`,`onClick`])),64))]))}});export{$t as a,zt as c,Ie as d,Fe as f,ln as i,Ct as l,Ne as m,hn as n,Jt as o,Z as p,pn as r,qt as s,_n as t,ze as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.comment-count-badge[data-v-a3a5d346]{color:var(--diff-gutter-color);margin-left:8px}.comment-count-badge[data-v-a3a5d346] .q-badge--floating{top:-7px;right:-9px}.comment-count-badge--compact[data-v-a3a5d346] .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}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.preview-dialog[data-v-f11a5876]{border:1px solid #8080808c;max-width:94vw;max-height:92vh;overflow:hidden}.preview-dialog--wide[data-v-f11a5876]{width:900px;height:90vh}.preview-dialog__head[data-v-f11a5876]{background:var(--diff-header-bg);border-bottom:1px solid #8080808c;flex:none;padding:8px 8px 8px 16px}.preview-dialog__title[data-v-f11a5876]{min-width:0;font-size:14px;font-weight:600}.preview-dialog__body[data-v-f11a5876]{min-height:0;overflow:auto}.mermaid-preview[data-v-3ad1f8bb]{width:max-content;padding:16px}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/mermaid.core-BkLEn5Vh.js","assets/index-Bn7ByP7x.js","assets/runtime-core.esm-bundler-CUpq88z7.js","assets/QBtn-BDbJU6_B.js","assets/event-rR76ioXz.js","assets/create-BkZH2Q0U.js","assets/is-BB7rJzdU.js","assets/debounce-CDIE7CV6.js","assets/index-CgeU6Wuu.css","assets/chunk-Y2CYZVJY-DsF7k-Jl.js","assets/src-oBChb5qS.js","assets/rolldown-runtime-Dd_uD5pT.js","assets/chunk-O7XYJQB3-CDFTy-aQ.js","assets/chunk-ZIGJFQKS-DDjPFexL.js","assets/dist-B_J_HbC0.js","assets/chunk-742MDFTN-BGzG-dZE.js","assets/chunk-MBY4JIJT-ZSssyEJi.js","assets/chunk-DUW6YSOI-Dgx8z5s3.js","assets/chunk-7PRAP22T-CJZNYL51.js","assets/chunk-7INBJB4K-DJGc-gqS.js","assets/chunk-J5ZVWO5B-oDCd-gWO.js","assets/rough.esm-Dy-Kn_BL.js","assets/chunk-5DYCD2WN-CpgXf7LJ.js","assets/chunk-Z7XXMR3K-Br_E149D.js","assets/line-CeH4KBRO.js","assets/path-fybaL0A-.js","assets/array-BifhSqXX.js","assets/chunk-UA2S7LBM-B8rY8Yj-.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{n as e}from"./rolldown-runtime-Dd_uD5pT.js";import{Ct as t,D as n,G as r,H as i,I as a,J as o,N as s,S as c,Tt as l,U as u,_ as d,c as f,ct as p,d as m,g as h,h as g,it as _,k as v,l as y,lt as b,nt as x,q as S,s as C,y as ee}from"./runtime-core.esm-bundler-CUpq88z7.js";import{D as w,E as T,H as te,R as ne,_ as re,t as ie}from"./QBtn-BDbJU6_B.js";import{n as E,o as ae,t as oe}from"./event-rR76ioXz.js";import{t as se}from"./create-BkZH2Q0U.js";import{t as D}from"./debounce-CDIE7CV6.js";import{D as ce,E as le,G as ue,J as O,K as k,R as de,T as fe,W as pe,X as me,Y as he,Z as ge,_ as _e,d as ve,g as ye,nt as A,q as be,v as j,w as M,y as N}from"./index-Bn7ByP7x.js";import{n as xe}from"./vue-i18n.runtime-D0pkhc7g.js";import{i as Se}from"./single-flight-r8B7stt1.js";import{a as P,c as Ce,i as we,l as Te,m as Ee,n as De,r as Oe,y as ke}from"./QMenu-Bh-SjGqz.js";function Ae(e,t){this.v=e,this.k=t}function je(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 Me(e){if(Array.isArray(e))return e}function Ne(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 Pe(){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 Fe(e,t){return Me(e)||Ne(e,t)||Ie(e,t)||Pe()}function Ie(e,t){if(e){if(typeof e==`string`)return je(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)?je(e,t):void 0}}function Le(e){var t,n;function r(t,n){try{var a=e[t](n),o=a.value,s=o instanceof Ae;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)}Le.prototype[typeof Symbol==`function`&&Symbol.asyncIterator||`@@asyncIterator`]=function(){return this},Le.prototype.next=function(e){return this._invoke(`next`,e)},Le.prototype.throw=function(e){return this._invoke(`throw`,e)},Le.prototype.return=function(e){return this._invoke(`return`,e)};var Re=Object.entries,ze=Object.setPrototypeOf,Be=Object.isFrozen,Ve=Object.getPrototypeOf,He=Object.getOwnPropertyDescriptor,F=Object.freeze,I=Object.seal,Ue=Object.create,We=typeof Reflect<`u`&&Reflect,Ge=We.apply,Ke=We.construct;F||=function(e){return e},I||=function(e){return e},Ge||=function(e,t){var n=[...arguments].slice(2);return e.apply(t,n)},Ke||=function(e){return new e(...[...arguments].slice(1))};var qe=z(Array.prototype.forEach);Array.prototype.indexOf;var Je=z(Array.prototype.lastIndexOf),Ye=z(Array.prototype.pop),Xe=z(Array.prototype.push);Array.prototype.slice;var Ze=z(Array.prototype.splice),Qe=Array.isArray,$e=z(String.prototype.toLowerCase),et=z(String.prototype.toString),tt=z(String.prototype.match),nt=z(String.prototype.replace),rt=z(String.prototype.indexOf),it=z(String.prototype.trim),at=z(Number.prototype.toString),ot=z(Boolean.prototype.toString),st=typeof BigInt>`u`?null:z(BigInt.prototype.toString),ct=typeof Symbol>`u`?null:z(Symbol.prototype.toString),L=z(Object.prototype.hasOwnProperty),lt=z(Object.prototype.toString),R=z(RegExp.prototype.test),ut=B(TypeError);function z(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);var n=[...arguments].slice(1);return Ge(e,t,n)}}function B(e){return function(){return Ke(e,[...arguments])}}function V(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:$e;if(ze&&ze(e,null),!Qe(t))return e;let r=t.length;for(;r--;){let i=t[r];if(typeof i==`string`){let e=n(i);e!==i&&(Be(t)||(t[r]=e),i=e)}e[i]=!0}return e}function dt(e){for(let t=0;t<e.length;t++)L(e,t)||(e[t]=null);return e}function H(e){let t=Ue(null);for(let r of Re(e)){var n=Fe(r,2);let i=n[0],a=n[1];L(e,i)&&(t[i]=Qe(a)?dt(a):a&&typeof a==`object`&&a.constructor===Object?H(a):a)}return t}function ft(e){switch(typeof e){case`string`:return e;case`number`:return at(e);case`boolean`:return ot(e);case`bigint`:return st?st(e):`0`;case`symbol`:return ct?ct(e):`Symbol()`;case`undefined`:return lt(e);case`function`:case`object`:{if(e===null)return lt(e);let t=e,n=U(t,`toString`);if(typeof n==`function`){let e=n(t);return typeof e==`string`?e:lt(e)}return lt(e)}default:return lt(e)}}function U(e,t){for(;e!==null;){let n=He(e,t);if(n){if(n.get)return z(n.get);if(typeof n.value==`function`)return z(n.value)}e=Ve(e)}function n(){return null}return n}function pt(e){try{return R(e,``),!0}catch{return!1}}var mt=F(`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(`.`)),ht=F(`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(`.`)),gt=F([`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`]),_t=F([`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`]),vt=F(`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(`.`)),yt=F([`maction`,`maligngroup`,`malignmark`,`mlongdiv`,`mscarries`,`mscarry`,`msgroup`,`mstack`,`msline`,`msrow`,`semantics`,`annotation`,`annotation-xml`,`mprescripts`,`none`]),bt=F([`#text`]),xt=F(`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(`.`)),St=F(`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(`.`)),Ct=F(`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(`.`)),wt=F([`xlink:href`,`xml:id`,`xlink:title`,`xml:space`,`xmlns:xlink`]),Tt=I(/{{[\w\W]*|^[\w\W]*}}/g),Et=I(/<%[\w\W]*|^[\w\W]*%>/g),Dt=I(/\${[\w\W]*/g),Ot=I(/^data-[\-\w.\u00B7-\uFFFF]+$/),kt=I(/^aria-[\-\w]+$/),At=I(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),jt=I(/^(?:\w+script|data):/i),Mt=I(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Nt=I(/^html$/i),Pt=I(/^[a-z][.\w]*(-[.\w]+)+$/i),Ft=I(/<[/\w!]/g),It=I(/<[/\w]/g),Lt=I(/<\/no(script|embed|frames)/i),Rt=I(/\/>/i),W={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},zt=[`style`,`script`,`xmp`,`iframe`,`noembed`,`noframes`,`plaintext`,`noscript`],Bt=F(V({},zt)),Vt=function(){let e={};return qe(zt,t=>{e[t]=I(RegExp(`</`+t+`(?=[\\t\\n\\f\\r />])`,`i`))}),F(e)}(),Ht=function(){return typeof window>`u`?null:window},Ut=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}},Wt=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},Gt=function(e,t,n,r){return L(e,t)&&Qe(e[t])?V(r.base?H(r.base):{},e[t],r.transform):n},Kt=function(e,t,n){let r=L(e,t)?e[t]:void 0;return r&&typeof r==`object`?H(r):n()};function qt(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ht(),t=e=>qt(e);if(t.version=`3.4.16`,t.removed=[],!e||!e.document||e.document.nodeType!==W.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=U(d,`cloneNode`),p=U(d,`remove`),m=U(d,`removeAttributeNode`),h=U(d,`nextSibling`),g=U(d,`childNodes`),_=U(d,`parentNode`),v=U(d,`shadowRoot`),y=U(d,`attributes`),b=o&&o.prototype?U(o.prototype,`nodeType`):null,x=o&&o.prototype?U(o.prototype,`nodeName`):null,S=o&&o.prototype?U(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,T=``,te,ne=!1,re=0,ie=function(){if(re>0)throw ut(`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.`)},E=function(e){ie(),re++;try{return w.createHTML(e)}finally{re--}},ae=function(e){ie(),re++;try{return w.createScriptURL(e)}finally{re--}},oe=function(){return ne||=(te=Ut(u,i),!0),te},se=n,D=se.implementation,ce=se.createNodeIterator,le=se.createDocumentFragment,ue=se.getElementsByTagName,O=r.importNode,k=Wt();t.isSupported=typeof Re==`function`&&typeof _==`function`&&D&&D.createHTMLDocument!==void 0;let de=Tt,fe=Et,pe=Dt,me=Ot,he=kt,ge=jt,_e=Mt,ve=Pt,ye=At,A=null,be=V({},[...mt,...ht,...gt,...vt,...bt]),j=null,M=V({},[...xt,...St,...Ct,...wt]),N=Object.seal(Ue(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}})),xe=null,Se=null,P=Object.seal(Ue(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),Ce=!0,we=!0,Te=!1,Ee=!0,De=!1,Oe=!0,ke=!1,Ae=!1,je=null,Me=null,Ne=!1,Pe=!1,Fe=!1,Ie=!1,Le=!0,ze=!1,Be=`user-content-`,Ve=!0,He=!1,We={},Ge=null,Ke=V({},`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(`.`)),at=null,ot=V({},[`audio`,`video`,`img`,`source`,`image`,`track`]),st=null,ct=V({},[`alt`,`class`,`for`,`id`,`label`,`name`,`pattern`,`placeholder`,`role`,`summary`,`title`,`value`,`style`,`xmlns`]),lt=`http://www.w3.org/1998/Math/MathML`,z=`http://www.w3.org/2000/svg`,B=`http://www.w3.org/1999/xhtml`,dt=B,zt=!1,Jt=null,Yt=V({},[lt,z,B],et),Xt=F([`mi`,`mo`,`mn`,`ms`,`mtext`]),Zt=V({},Xt),Qt=F([`annotation-xml`]),$t=V({},Qt),en=V({},[`title`,`style`,`font`,`a`,`script`]),tn=null,nn=[`application/xhtml+xml`,`text/html`],G=null,rn=null,an=n.createElement(`form`),on=function(e){return e instanceof RegExp||e instanceof Function},sn=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(rn&&rn===e)return;(!e||typeof e!=`object`)&&(e={}),e=H(e),tn=nn.indexOf(e.PARSER_MEDIA_TYPE)===-1?`text/html`:e.PARSER_MEDIA_TYPE,G=tn===`application/xhtml+xml`?et:$e,A=Gt(e,`ALLOWED_TAGS`,be,{transform:G}),j=Gt(e,`ALLOWED_ATTR`,M,{transform:G}),Jt=Gt(e,`ALLOWED_NAMESPACES`,Yt,{transform:et}),st=Gt(e,`ADD_URI_SAFE_ATTR`,ct,{transform:G,base:ct}),at=Gt(e,`ADD_DATA_URI_TAGS`,ot,{transform:G,base:ot}),Ge=Gt(e,`FORBID_CONTENTS`,Ke,{transform:G}),xe=Gt(e,`FORBID_TAGS`,H({}),{transform:G}),Se=Gt(e,`FORBID_ATTR`,H({}),{transform:G}),We=L(e,`USE_PROFILES`)?e.USE_PROFILES&&typeof e.USE_PROFILES==`object`?H(e.USE_PROFILES):e.USE_PROFILES:!1,Ce=e.ALLOW_ARIA_ATTR!==!1,we=e.ALLOW_DATA_ATTR!==!1,Te=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ee=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,De=e.SAFE_FOR_TEMPLATES||!1,Oe=e.SAFE_FOR_XML!==!1,ke=e.WHOLE_DOCUMENT||!1,Pe=e.RETURN_DOM||!1,Fe=e.RETURN_DOM_FRAGMENT||!1,Ie=e.RETURN_TRUSTED_TYPE||!1,Ne=e.FORCE_BODY||!1,Le=e.SANITIZE_DOM!==!1,ze=e.SANITIZE_NAMED_PROPS||!1,Ve=e.KEEP_CONTENT!==!1,He=e.IN_PLACE||!1,ye=pt(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:At,dt=typeof e.NAMESPACE==`string`?e.NAMESPACE:B,Zt=Kt(e,`MATHML_TEXT_INTEGRATION_POINTS`,()=>V({},Xt)),$t=Kt(e,`HTML_INTEGRATION_POINTS`,()=>V({},Qt));let t=Kt(e,`CUSTOM_ELEMENT_HANDLING`,()=>Ue(null));if(N=Ue(null),L(t,`tagNameCheck`)&&on(t.tagNameCheck)&&(N.tagNameCheck=t.tagNameCheck),L(t,`attributeNameCheck`)&&on(t.attributeNameCheck)&&(N.attributeNameCheck=t.attributeNameCheck),L(t,`allowCustomizedBuiltInElements`)&&typeof t.allowCustomizedBuiltInElements==`boolean`&&(N.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),I(N),De&&(we=!1),Fe&&(Pe=!0),We&&(A=V({},bt),j=Ue(null),We.html===!0&&(V(A,mt),V(j,xt)),We.svg===!0&&(V(A,ht),V(j,St),V(j,wt)),We.svgFilters===!0&&(V(A,gt),V(j,St),V(j,wt)),We.mathMl===!0&&(V(A,vt),V(j,Ct),V(j,wt))),P.tagCheck=null,P.attributeCheck=null,L(e,`ADD_TAGS`)&&(typeof e.ADD_TAGS==`function`?P.tagCheck=e.ADD_TAGS:Qe(e.ADD_TAGS)&&(A===be&&(A=H(A)),V(A,e.ADD_TAGS,G))),L(e,`ADD_ATTR`)&&(typeof e.ADD_ATTR==`function`?P.attributeCheck=e.ADD_ATTR:Qe(e.ADD_ATTR)&&(j===M&&(j=H(j)),V(j,e.ADD_ATTR,G))),L(e,`ADD_FORBID_CONTENTS`)&&Qe(e.ADD_FORBID_CONTENTS)&&(Ge===Ke&&(Ge=H(Ge)),V(Ge,e.ADD_FORBID_CONTENTS,G)),Ve&&(A[`#text`]=!0),ke&&V(A,[`html`,`head`,`body`]),A.table&&(V(A,[`tbody`]),delete xe.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=`function`)throw ut(`TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.`);if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=`function`)throw ut(`TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.`);let t=w;w=e.TRUSTED_TYPES_POLICY;try{T=E(``)}catch(e){throw w=t,e}}else e.TRUSTED_TYPES_POLICY===null?(w=void 0,T=``):(w===void 0&&(w=oe()),w&&typeof T==`string`&&(T=E(``)));F&&F(e),rn=e},cn=V({},[...ht,...gt,..._t]),ln=V({},[...vt,...yt]),un=function(e,t,n){return t.namespaceURI===B?e===`svg`:t.namespaceURI===lt?e===`svg`&&(n===`annotation-xml`||Zt[n]):!!cn[e]},dn=function(e,t,n){return t.namespaceURI===B?e===`math`:t.namespaceURI===z?e===`math`&&$t[n]:!!ln[e]},fn=function(e,t,n){return t.namespaceURI===z&&!$t[n]||t.namespaceURI===lt&&!Zt[n]?!1:!ln[e]&&(en[e]||!cn[e])},pn=function(e){let t=_(e);(!t||!t.tagName)&&(t={namespaceURI:dt,tagName:`template`});let n=$e(e.tagName),r=$e(t.tagName);return Jt[e.namespaceURI]?e.namespaceURI===z?un(n,t,r):e.namespaceURI===lt?dn(n,t,r):e.namespaceURI===B?fn(n,t,r):!!(tn===`application/xhtml+xml`&&Jt[e.namespaceURI]):!1},mn=function(e){Xe(t.removed,{element:e});try{_(e).removeChild(e)}catch{if(p(e),!_(e))throw ut(`a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place`)}},hn=function(e,t,n){try{m(e,t)}catch{try{e.removeAttribute(n)}catch{}}},gn=function(e){K(e);let t=g(e);if(t){let e=[];qe(t,t=>{Xe(e,t)}),qe(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`&&hn(e,r,i)}},_n=function(e,n,r){if(!r)try{r=n.getAttributeNode(e)}catch{r=null}Xe(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(Pe||Fe)try{mn(n)}catch{}else try{n.setAttribute(e,``)}catch{}}},vn=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`||j[G(i)]||hn(e,r,i)}},K=function(e){let t=[e];for(;t.length>0;){let e=t.pop();C(e)===W.element&&vn(e);let n=g(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},yn=function(e,t){return Oe?e===`patchsrc`||e===`for`&&t!==`label`&&t!==`output`:!1},bn=function(e){if(!Oe)return;let t=[e];for(;t.length>0;){let e=t.pop(),n=C(e);if(n===W.processingInstruction||n===W.comment&&R(It,e.data)){try{p(e)}catch{}continue}if(n===W.element){let t=e,n=G(ee(e));try{t.hasAttribute&&t.hasAttribute(`patchsrc`)&&t.removeAttribute(`patchsrc`),t.hasAttribute&&t.hasAttribute(`for`)&&yn(`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])}},xn=function(e){let t=null,r=null;if(Ne)e=`<remove></remove>`+e;else{let t=tt(e,/^[\r\n\t ]+/);r=t&&t[0]}tn===`application/xhtml+xml`&&dt===B&&(e=`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>`+e+`</body></html>`);let i=w?E(e):e;if(dt===B)try{t=new l().parseFromString(i,tn)}catch{}if(!t||!t.documentElement){t=D.createDocument(dt,`template`,null);try{t.documentElement.innerHTML=zt?T:i}catch{}}let a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),dt===B?ue.call(t,ke?`html`:`body`)[0]:ke?t.documentElement:a},Sn=function(e){let t=S?S(e):e.ownerDocument;return ce.call(t||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Cn=function(e){return e=nt(e,de,` `),e=nt(e,fe,` `),e=nt(e,pe,` `),e},wn=function(e){e.normalize();let t=S?S(e):e.ownerDocument,n=ce.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=Cn(r.data),r=n.nextNode();let i=e.querySelectorAll?.call(e,`template`);i&&qe(i,e=>{En(e.content)&&wn(e.content)})},Tn=function(e){let t=x?x(e):null;return typeof t!=`string`||G(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)},En=function(e){if(!b||typeof e!=`object`||!e)return!1;try{return b(e)===W.documentFragment}catch{return!1}},Dn=function(e){if(!b||typeof e!=`object`||!e)return!1;try{return typeof b(e)==`number`}catch{return!1}};function q(e,n,r){e.length!==0&&qe(e,e=>{e.call(t,n,r,rn)})}let On=function(e,t){return!!(Oe&&e.hasChildNodes()&&!Dn(e.firstElementChild)&&R(Ft,e.textContent)&&R(Ft,e.innerHTML)||Oe&&e.namespaceURI===B&&Bt[t]&&(Dn(e.firstElementChild)||typeof e.textContent==`string`&&R(Vt[t],e.textContent))||e.nodeType===W.processingInstruction||Oe&&e.nodeType===W.comment&&R(It,e.data))},kn=function(e,t){return e instanceof RegExp?R(e,t):e instanceof Function&&!!e(t,...[...arguments].slice(2))},An=function(e,t,n){if(!xe[t]&&In(t)&&kn(N.tagNameCheck,t))return!1;if(Ve&&!Ge[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 mn(e),!0},jn=function(e,t,n,r){return e.length===0?t:t===n||t===r?H(t):t},Mn=function(e,t){return e===t||_(e)!==null?!1:(He&&K(e),!0)},Nn=function(e,n){if(q(k.beforeSanitizeElements,e,null),Mn(e,n))return!0;if(Tn(e))return mn(e),!0;let r=G(ee(e));if(A=jn(k.uponSanitizeElement,A,be,je),q(k.uponSanitizeElement,e,{tagName:r,allowedTags:A}),Mn(e,n))return!0;if(On(e,r))return mn(e),!0;if(xe[r]||!(P.tagCheck instanceof Function&&P.tagCheck(r))&&!A[r]){let t=An(e,r,n);return t===!1&&(q(k.afterSanitizeElements,e,null),Mn(e,n))?!0:t}if(C(e)===W.element&&!pn(e)||(r===`noscript`||r===`noembed`||r===`noframes`)&&R(Lt,e.innerHTML))return mn(e),!0;if(De&&e.nodeType===W.text){let n=Cn(e.textContent);e.textContent!==n&&(Xe(t.removed,{element:e.cloneNode()}),e.textContent=n)}return q(k.afterSanitizeElements,e,null),Mn(e,n)},Pn=function(e,t,r){if(Se[t]||yn(t,e)||Le&&(t===`id`||t===`name`)&&(r in n||r in an))return!1;let i=j[t]||P.attributeCheck instanceof Function&&P.attributeCheck(t,e);return we&&R(me,t)||Ce&&R(he,t)?!0:i?st[t]||R(ye,nt(r,_e,``))||(t===`src`||t===`xlink:href`||t===`href`)&&e!==`script`&&rt(r,`data:`)===0&&at[e]||Te&&!R(ge,nt(r,_e,``))?!0:!r:In(e)&&kn(N.tagNameCheck,e)&&kn(N.attributeNameCheck,t,e)||t===`is`&&N.allowCustomizedBuiltInElements&&kn(N.tagNameCheck,r)},Fn=V({},[`annotation-xml`,`color-profile`,`font-face`,`font-face-format`,`font-face-name`,`font-face-src`,`font-face-uri`,`missing-glyph`]),In=function(e){return!Fn[$e(e)]&&R(ve,e)},Ln=function(e,t,n,r){if(w&&typeof u==`object`&&typeof u.getAttributeType==`function`&&!n)switch(u.getAttributeType(e,t)){case`TrustedHTML`:return E(r);case`TrustedScriptURL`:return ae(r)}return r},Rn=function(e,t,n,r){try{return n?e.setAttributeNS(n,t,r):e.setAttribute(t,r),!Tn(e)||(mn(e),!1)}catch{return _n(t,e),!1}},zn=function(e,n){if(q(k.beforeSanitizeAttributes,e,null),Mn(e,n))return;let r=e.attributes;if(!r||Tn(e))return;j=jn(k.uponSanitizeAttribute,j,M,Me);let i={attrName:``,attrValue:``,keepAttr:!0,allowedAttributes:j,forceKeepAttr:void 0},a=r.length,o=G(e.nodeName);for(;a--;){let n=r[a],s=n.name,c=n.namespaceURI,l=n.value,u=G(s),d=l,f=s===`value`?d:it(d),p=!1;if(i.attrName=u,i.attrValue=f,i.keepAttr=!0,i.forceKeepAttr=void 0,q(k.uponSanitizeAttribute,e,i),f=i.attrValue,ze&&(u===`id`||u===`name`)&&rt(f,Be)!==0&&(_n(s,e,n),f=Be+f,p=!0),Oe&&R(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,f)){_n(s,e,n);continue}if(u===`attributename`&&tt(f,`href`)){_n(s,e,n);continue}if(!i.forceKeepAttr){if(!i.keepAttr){_n(s,e,n);continue}if(!Ee&&R(Rt,f)){_n(s,e,n);continue}if(De&&(f=Cn(f)),!Pn(o,u,f)){_n(s,e,n);continue}f=Ln(o,u,c,f),f!==d&&Rn(e,s,c,f)&&p&&Ye(t.removed)}}q(k.afterSanitizeAttributes,e,null),Mn(e,n)},Bn=function(e){let t=null,n=Sn(e);for(q(k.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(q(k.uponSanitizeShadowNode,t,null),Nn(t,e),zn(t,e),En(t.content)&&Bn(t.content),C(t)===W.element){let e=v(t);En(e)&&(Vn(e),Bn(e))}q(k.afterSanitizeShadowDOM,e,null)},Vn=function(e){let t=[{node:e,shadow:null}];for(;t.length>0;){let e=t.pop();if(e.shadow){Bn(e.shadow);continue}let n=e.node,r=C(n)===W.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`&&G(e)===`template`){let e=n.content;En(e)&&t.push({node:e,shadow:null})}}if(r){let e=v(n);En(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`&&!Dn(e)&&(e=ft(e),typeof e!=`string`))throw ut(`dirty is not a string, aborting`);if(!t.isSupported)return e;Ae?(A=je,j=Me):sn(n),(k.uponSanitizeElement.length>0||k.uponSanitizeAttribute.length>0)&&(A=H(A)),k.uponSanitizeAttribute.length>0&&(j=H(j)),t.removed=[];let c=He&&typeof e!=`string`&&Dn(e);if(c){bn(e);let t=ee(e);if(typeof t==`string`){let n=G(t);if(!A[n]||xe[n])throw gn(e),ut(`root node is forbidden and cannot be sanitized in-place`)}if(Tn(e))throw gn(e),ut(`root node is clobbered and cannot be sanitized in-place`);try{Vn(e)}catch(t){throw gn(e),t}}else if(Dn(e))i=xn(`<!---->`),a=i.ownerDocument.importNode(e,!0),a.nodeType===W.element&&a.nodeName===`BODY`||a.nodeName===`HTML`?i=a:i.appendChild(a),Vn(i);else{if(!Pe&&!De&&!ke&&e.indexOf(`<`)===-1)return w&&Ie?E(e):e;if(i=xn(e),!i)return Pe?null:Ie?T:``}i&&Ne&&mn(i.firstChild);let l=c?e:i;try{let e=Sn(l);for(;o=e.nextNode();)Nn(o,l),zn(o,l),En(o.content)&&Bn(o.content)}catch(n){throw c&&(gn(e),qe(t.removed,e=>{e.element&&K(e.element)})),n}if(c){let n=!1;if(qe(t.removed,t=>{t.element&&(t.element===e&&(n=!0),K(t.element))}),n)throw ut(`a node selected for removal could not be safely returned; refusing to sanitize in place`);return De&&wn(e),e}if(Pe){if(De&&wn(i),Fe)for(s=le.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(j.shadowroot||j.shadowrootmode)&&(s=O.call(r,s,!0)),s}let u=ke?i.outerHTML:i.innerHTML;return ke&&A[`!doctype`]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&R(Nt,i.ownerDocument.doctype.name)&&(u=`<!DOCTYPE `+i.ownerDocument.doctype.name+`>
|
|
4
|
-
`+u),De&&(u=Cn(u)),w&&Ie?E(u):u},t.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};sn(e),Ae=!0,je=A,Me=j},t.clearConfig=function(){rn=null,Ae=!1,je=null,Me=null,w=te,T=``},t.isValidAttribute=function(e,t,n){rn||sn({});let r=G(e),i=G(t);return Pn(r,i,n)},t.addHook=function(e,t){typeof t==`function`&&L(k,e)&&Xe(k[e],t)},t.removeHook=function(e,t){if(L(k,e)){if(t!==void 0){let n=Je(k[e],t);return n===-1?void 0:Ze(k[e],n,1)[0]}return Ye(k[e])}},t.removeHooks=function(e){L(k,e)&&(k[e]=[])},t.removeAllHooks=function(){k=Wt()},t}var Jt=qt(),Yt=se({name:`QBanner`,props:{...j,inlineActions:Boolean,dense:Boolean,rounded:Boolean},setup(e,{slots:t}){let n=T(),r=_e(e,n),i=C(()=>`q-banner row items-center`+(e.dense?` q-banner--dense`:``)+(r()?` q-banner--dark q-dark`:``)+(e.rounded?` rounded-borders`:``)),a=C(()=>`q-banner__actions row items-center justify-end col-${e.inlineActions?`auto`:`all`}`);return()=>{let n=[ee(`div`,{class:`q-banner__avatar col-auto row items-center self-start`},re(t.avatar)),ee(`div`,{class:`q-banner__content col text-body2`},re(t.default))],r=re(t.action);return r!==void 0&&n.push(ee(`div`,{class:a.value},r)),ee(`div`,{class:i.value+(!e.inlineActions&&r!==void 0?` q-banner--top-padding`:``),role:`alert`},n)}}}),Xt=se({name:`QSpace`,setup(){let e=ee(`div`,{class:`q-space`});return()=>e}}),Zt={class:`preview-dialog__head row no-wrap items-center`},Qt=[`title`],$t={class:`preview-dialog__body col`},en=w(h({__name:`PreviewDialog`,props:c({title:{},size:{}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:c([`before-show`,`hide`],[`update:modelValue`]),setup(e,{emit:n}){let r=n,c=i(e,`modelValue`),{t:u}=xe();return(n,i)=>(s(),y(N,{modelValue:c.value,"onUpdate:modelValue":i[0]||=e=>c.value=e,onBeforeShow:i[1]||=e=>r(`before-show`),onHide:i[2]||=e=>r(`hide`)},{default:S(()=>[g(ye,{bordered:``,class:t([`preview-dialog column no-wrap`,`preview-dialog--${e.size??`fit`}`])},{default:S(()=>[f(`div`,Zt,[f(`span`,{class:`preview-dialog__title ellipsis`,title:e.title},l(e.title),9,Qt),g(Xt),o(g(ie,{flat:``,round:``,dense:``,icon:`close`,"aria-label":b(u)(`changes.closePreview`)},null,8,[`aria-label`]),[[Ee]])]),f(`div`,$t,[a(n.$slots,`default`,{},void 0,!0)])]),_:3},8,[`class`])]),_:3},8,[`modelValue`]))}}),[[`__scopeId`,`data-v-f11a5876`]]);function tn(e){let t=document.createElement(`textarea`);t.value=e,t.contentEditable=`true`,t.style.position=`fixed`;let n=()=>{};M(n),document.body.append(t),t.focus(),t.select();let r=document.execCommand(`copy`);return t.remove(),fe(n),r}function nn(e){if(navigator.clipboard)return navigator.clipboard.writeText(e);let t=tn(e);return t?Promise.resolve(!0):Promise.reject(t)}var G=1500;function rn(e=nn){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=D(()=>{t.delete(r),c()},G);return t.set(r,{cancel:()=>l.cancel(),restore:c}),l(),!0}return{copyCodeBlock:i,reset:r}}function an(e){let t=rn();return r(e,t.reset,{flush:`sync`}),n(t.reset),v(t.reset),t}var on=50;function sn(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>on){let e=t.keys().next();e.done||t.delete(e.value)}return s}}}async function cn(){let{default:e}=await A(async()=>{let{default:e}=await import(`./mermaid.core-BkLEn5Vh.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 ln=sn(cn);function un(e){return Jt.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 dn(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 fn(e,t,n=ln,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=un(r),dn(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 pn(e,t,n,i,a=0){let{registerTimeout:o,removeTimeout:s}=ge();r(()=>[p(e),p(t),p(n),p(i),p(a)],([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(()=>{fn(r,a,void 0,c,()=>f&&p(e)===r&&p(t)===i&&p(n)===a)},l)},{flush:`post`,immediate:!0})}var mn={};function hn(e){let t=mn[e];if(t)return t;t=mn[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 gn(e,t){typeof t!=`string`&&(t=gn.defaultChars);let n=hn(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})}gn.defaultChars=`;/?:@&=+$,#`,gn.componentChars=``;var _n={};function vn(e){let t=_n[e];if(t)return t;t=_n[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 K(e,t,n){typeof t!=`string`&&(n=t,t=K.defaultChars),n===void 0&&(n=!0);let r=vn(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}K.defaultChars=`;/?:@&=+$,-_.!~*'()#`,K.componentChars=`-_.!~*'()`;function yn(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 bn(){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 xn=/^([a-z0-9.+-]+:)/i,Sn=/:[0-9]*$/,Cn=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,wn=[`%`,`/`,`?`,`;`,`#`,`'`,`{`,`}`,`|`,`\\`,`^`,"`",`<`,`>`,`"`,"`",` `,`\r`,`
|
|
6
|
-
`,` `],Tn=[`/`,`?`,`#`],En=255,Dn=/^[+a-z0-9A-Z_-]{0,63}$/,q=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,On={javascript:!0,"javascript:":!0},kn={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function An(e,t){if(e&&e instanceof bn)return e;let n=new bn;return n.parse(e,t),n}bn.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=xn.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&&On[o])&&(a=a.substr(2),this.slashes=!0)),!On[o]&&(i||o&&!kn[o])){let e=-1;for(let t=0;t<Tn.length;t++)r=a.indexOf(Tn[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<wn.length;t++)r=a.indexOf(wn[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(Dn)){let r=``;for(let e=0,t=n.length;e<t;e++)n.charCodeAt(e)>127?r+=`x`:r+=n[e];if(!r.match(Dn)){let r=e.slice(0,t),i=e.slice(t+1),o=n.match(q);o&&(r.push(o[1]),i.unshift(o[2])),i.length&&(a=i.join(`.`)+a),this.hostname=r.join(`.`);break}}}}this.hostname.length>En&&(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),kn[n]&&this.hostname&&!this.pathname&&(this.pathname=``),this},bn.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 jn=e({decode:()=>gn,encode:()=>K,format:()=>yn,parse:()=>An}),Mn=e({Any:()=>Nn,Cc:()=>Pn,Cf:()=>Fn,P:()=>In,S:()=>Ln,Z:()=>Rn}),Nn=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Pn=/[\0-\x1F\x7F-\x9F]/,Fn=/[\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]/,In=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,Ln=/[\$\+<->\^`\|~\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\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFF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EF8\uDF00-\uDF92\uDF94-\uDFEF\uDFFA]/,Rn=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,zn=[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 Bn(e){return e===0||e>=55296&&e<=57343||e>1114111}function Vn(e){return Bn(e)?65533:e>=128&&e<=159&&zn[e-128]||e}function Hn(e){return e-1>>>0<127||e-160>>>0<55136?String.fromCharCode(e):String.fromCodePoint(Vn(e))}var J=(()=>{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 Un(e,t,n,r,i,a){let o=e.length,s=a*90,c=0,l=()=>{let t=J[e.charCodeAt(c++)];return t<a?t:t*91-s+J[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=J[e.charCodeAt(c++)];if(t<89)r+=t,f[i++]=r;else if(t===89){let t=J[e.charCodeAt(c++)]+2;for(;t--;)f[i++]=++r}else{let t=J[e.charCodeAt(c++)];r+=89+(t<90?t*91+J[e.charCodeAt(c++)]:J[e.charCodeAt(c++)]*8281+J[e.charCodeAt(c++)]*91+J[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=J[e.charCodeAt(c++)];t>=a&&(t=t*91-s+J[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 Wn=Un("!}.&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~#=1#%K+~#?#~%;)~#A~#mF1~#A'~'X%'~#lR~#N~'N~#r~#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#`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),Y;(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`})(Y||={});var X;(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`})(X||={});var Gn=32,Kn=21,qn=2097151,Jn=2047,Yn=0;function Xn(e){let t=e>>>Kn;return t===Jn?Yn:t}function Zn(e){return e-X.ZERO>>>0<=9}function Qn(e){return(e|Gn)-X.LOWER_A>>>0<=5}function $n(e){return(e|Gn)-X.LOWER_A>>>0<=25}function er(e){return e===X.EQUALS||$n(e)||Zn(e)}var tr;(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`})(tr||={});var nr;(function(e){e[e.Legacy=0]=`Legacy`,e[e.Strict=1]=`Strict`,e[e.Attribute=2]=`Attribute`})(nr||={});function rr(e,t,n,r){let i=(t&Y.BRANCH_LENGTH)>>7,a=t&Y.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 ir(e,t,n){return n===1?String.fromCharCode(e[t]&Y.VALUE_MASK):n===2?String.fromCharCode(e[t+1]):String.fromCharCode(e[t+1],e[t+2])}function ar(e,t,n){let r=t+1,i=0,a=r;if(r<n&&(e.charCodeAt(r)|Gn)===X.LOWER_X)for(r+=1,a=r;r<n;){let t=e.charCodeAt(r);if(Zn(t))i=i*16+(t-X.ZERO);else if(Qn(t))i=i*16+((t|Gn)-X.LOWER_A+10);else break;r+=1}else for(;r<n;){let t=e.charCodeAt(r)-X.ZERO;if(t>>>0>9)break;i=i*10+t,r+=1}if(r===a)return 0;r<n&&e.charCodeAt(r)===X.SEMI&&(r+=1),i>1114111&&(i=1114112);let o=r-t;return o>=Jn&&(Yn=o,o=Jn),o<<Kn|i}function or(e,t,n){let r=Wn,i=e.indexOf(`&`);if(i<0)return e;let a=e.length,o=0,s=``,c=r[0],l=c&Y.JUMP_TABLE,u=(c&Y.BRANCH_LENGTH)>>7;do{let c=i+1,d=e.charCodeAt(c),f,p;if(d===X.NUM){let n=ar(e,c,a);f=Xn(n),t&&f>0&&e.charCodeAt(c+f-1)!==X.SEMI&&(f=0),p=f===0?``:Hn(n&qn)}else if($n(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&(Y.VALUE_LENGTH|Y.FLAG13))===0&&(m&Y.JUMP_TABLE)!==0;){let t=m&Y.JUMP_TABLE,n=(m&Y.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&(Y.VALUE_LENGTH|Y.FLAG13))===Y.FLAG13){let t=(m&Y.BRANCH_LENGTH)>>7;if(e.charCodeAt(h)!==(m&Y.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===X.SEMI){f=h-c+1,p=n===1?String.fromCharCode(m&Y.VALUE_MASK):ir(r,i,n);break}if(!t&&(m&Y.FLAG13)===0&&(f=h-c,o=i,s=n),n===1)break}let u=rr(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&Y.FLAG13)===0&&(f=h-c,o=i,s=e),f>0&&(p=ir(r,o,s))}}else f=0,p=``;f===0||n&&d!==X.NUM&&e.charCodeAt(c+f-1)!==X.SEMI&&c+f<a&&er(e.charCodeAt(c+f))?i=c:(o<i&&(s+=e.slice(o,i)),s+=p,i=o=c+f),e.charCodeAt(i)!==X.AMP&&(i=e.indexOf(`&`,i))}while(i>=0);return s+e.slice(o)}function sr(e){return or(e,!0,!1)}var cr=class{src_Any=Nn.source;src_Cc=Pn.source;src_Z=Rn.source;src_P=In.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`)}},lr={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)},ur={"http:":lr,"https:":lr,"ftp:":lr,"//":{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)}},dr=`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`,fr=`biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф`;function pr(){let e=fr.split(`|`);return dr.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 mr={fuzzyLink:!1,fuzzyEmail:!0,fuzzyIP:!1,"---":!1,tlds:pr(),urlAuth:!1,maxLength:1e4},hr=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}},gr=class{__opts__;__schemas__;re;constructor(e={}){let{rebuilder:t,...n}=e;this.__opts__={...mr,...n},this.__schemas__={...ur},this.re=t||new cr,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 hr(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 hr(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}`)}},_r=2147483647,vr=36,yr=1,br=26,xr=38,Sr=700,Cr=72,wr=128,Tr=`-`,Er=/^xn--/,Dr=/[^\0-\x7F]/,Or=/[\x2E\u3002\uFF0E\uFF61]/g,kr={overflow:`Overflow: input needs wider integers to process`,"not-basic":`Illegal input >= 0x80 (not a basic code point)`,"invalid-input":`Invalid input`},Ar=35,jr=Math.floor,Mr=String.fromCharCode;function Nr(e){throw RangeError(kr[e])}function Pr(e,t){let n=[],r=e.length;for(;r--;)n[r]=t(e[r]);return n}function Fr(e,t){let n=e.split(`@`),r=``;n.length>1&&(r=n[0]+`@`,e=n[1]),e=e.replace(Or,`.`);let i=Pr(e.split(`.`),t).join(`.`);return r+i}function Ir(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 Lr=e=>String.fromCodePoint(...e),Rr=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:vr},zr=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},Br=function(e,t,n){let r=0;for(e=n?jr(e/Sr):e>>1,e+=jr(e/t);e>455;r+=vr)e=jr(e/Ar);return jr(r+36*e/(e+xr))},Vr=function(e){let t=[],n=e.length,r=0,i=wr,a=Cr,o=e.lastIndexOf(Tr);o<0&&(o=0);for(let n=0;n<o;++n)e.charCodeAt(n)>=128&&Nr(`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=vr;;i+=vr){s>=n&&Nr(`invalid-input`);let o=Rr(e.charCodeAt(s++));o>=vr&&Nr(`invalid-input`),o>jr((_r-r)/t)&&Nr(`overflow`),r+=o*t;let c=i<=a?yr:i>=a+br?br:i-a;if(o<c)break;let l=vr-c;t>jr(_r/l)&&Nr(`overflow`),t*=l}let c=t.length+1;a=Br(r-o,c,o==0),jr(r/c)>_r-i&&Nr(`overflow`),i+=jr(r/c),r%=c,t.splice(r++,0,i)}return String.fromCodePoint(...t)},Hr=function(e){let t=[];e=Ir(e);let n=e.length,r=wr,i=0,a=Cr;for(let n of e)n<128&&t.push(Mr(n));let o=t.length,s=o;for(o&&t.push(Tr);s<n;){let n=_r;for(let t of e)t>=r&&t<n&&(n=t);let c=s+1;n-r>jr((_r-i)/c)&&Nr(`overflow`),i+=(n-r)*c,r=n;for(let n of e)if(n<r&&++i>_r&&Nr(`overflow`),n===r){let e=i;for(let n=vr;;n+=vr){let r=n<=a?yr:n>=a+br?br:n-a;if(e<r)break;let i=e-r,o=vr-r;t.push(Mr(zr(r+i%o,0))),e=jr(i/o)}t.push(Mr(zr(e,0))),a=Br(i,c,s===o),i=0,++s}++i,++r}return t.join(``)},Ur={version:`2.3.1`,ucs2:{decode:Ir,encode:Lr},decode:Vr,encode:Hr,toASCII:function(e){return Fr(e,function(e){return Dr.test(e)?`xn--`+Hr(e):e})},toUnicode:function(e){return Fr(e,function(e){return Er.test(e)?Vr(e.slice(4).toLowerCase()):e})}},Wr=Object.defineProperty,Gr=(e,t)=>{let n={};for(var r in e)Wr(n,r,{get:e[r],enumerable:!0});return t||Wr(n,Symbol.toStringTag,{value:`Module`}),n},Kr=Gr({arrayReplaceAt:()=>Jr,asciiTrim:()=>gi,callable:()=>qr,escapeHtml:()=>si,escapeRE:()=>li,fromCodePoint:()=>Xr,isMdAsciiPunct:()=>pi,isPunctChar:()=>di,isPunctCharCode:()=>fi,isSpace:()=>Z,isValidEntityCode:()=>Yr,isWhiteSpace:()=>ui,lib:()=>_i,normalizeReference:()=>mi,unescapeAll:()=>ni,unescapeMd:()=>ti});function qr(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 Jr(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function Yr(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 Xr(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 Zr=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Qr=RegExp(`${Zr.source}|&([a-z#][a-z0-9]{1,31});`,`gi`),$r=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function ei(e,t){if(t.charCodeAt(0)===35&&$r.test(t)){let n=t[1].toLowerCase()===`x`?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Yr(n)?Xr(n):e}let n=sr(e);return n===e?e:n}function ti(e){return e.indexOf(`\\`)<0?e:e.replace(Zr,`$1`)}function ni(e){return e.indexOf(`\\`)<0&&e.indexOf(`&`)<0?e:e.replace(Qr,function(e,t,n){return t||ei(e,n)})}var ri=/[&<>"]/,ii=/[&<>"]/g,ai={"&":`&`,"<":`<`,">":`>`,'"':`"`};function oi(e){return ai[e]}function si(e){return ri.test(e)?e.replace(ii,oi):e}var ci=/[.?*+^$[\]\\(){}|-]/g;function li(e){return e.replace(ci,`\\$&`)}function Z(e){switch(e){case 9:case 32:return!0}return!1}function ui(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 di(e){return In.test(e)||Ln.test(e)}function fi(e){return di(Xr(e))}function pi(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 mi(e){return e=e.trim().replace(/\s+/g,` `),e.toLowerCase().toUpperCase()}function hi(e){return e===32||e===9||e===10||e===13}function gi(e){let t=0;for(;t<e.length&&hi(e.charCodeAt(t));t++);let n=e.length-1;for(;n>=t&&hi(e.charCodeAt(n));n--);return e.slice(t,n+1)}var _i={mdurl:jn,ucmicro:Mn};function vi(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 yi(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=ni(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=ni(e.slice(t,i)),a.pos=i,a.ok=!0,a)}function bi(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+=ni(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+=ni(e.slice(t,a)),o}var xi=Gr({parseLinkDestination:()=>yi,parseLinkLabel:()=>vi,parseLinkTitle:()=>bi});function Si(e){"@babel/helpers - typeof";return Si=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},Si(e)}function Ci(e,t){if(Si(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(Si(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function wi(e){var t=Ci(e,`string`);return Si(t)==`symbol`?t:t+``}function Q(e,t,n){return(t=wi(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ti=class{constructor(e,t,n){Q(this,`map`,null),Q(this,`level`,0),Q(this,`children`,null),Q(this,`content`,``),Q(this,`markup`,``),Q(this,`info`,``),Q(this,`block`,!1),Q(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}`}},Ei=class{constructor(){Q(this,`__rules__`,[]),Q(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]||[]}},Di={};Di.code_inline=function(e,t,n,r,i){let a=e[t];return`<code${i.renderAttrs(a)}>${si(a.content)}</code>`},Di.code_block=function(e,t,n,r,i){let a=e[t];return`<pre${i.renderAttrs(a)}><code>${si(e[t].content)}</code></pre>\n`},Di.fence=function(e,t,n,r,i){let a=e[t],o=a.info?ni(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)||si(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`},Di.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)},Di.hardbreak=function(e,t,n){return n.xhtmlOut?`<br />
|
|
8
|
-
`:`<br>
|
|
9
|
-
`},Di.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?`<br />
|
|
10
|
-
`:`<br>
|
|
11
|
-
`:`
|
|
12
|
-
`},Di.text=function(e,t){return si(e[t].content)},Di.html_block=function(e,t){return e[t].content},Di.html_inline=function(e,t){return e[t].content};var Oi=class{constructor(){Q(this,`rules`,Object.assign({},Di))}renderAttrs(e){let t,n,r;if(!e.attrs)return``;for(r=``,t=0,n=e.attrs.length;t<n;t++)r+=` ${si(e.attrs[t][0])}="${si(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}},ki=class{constructor(e,t,n){Q(this,`tokens`,[]),Q(this,`inlineMode`,!1),Q(this,`Token`,Ti),this.src=e,this.env=n,this.md=t}},Ai=/\r\n?/g,ji=/\0/g;function Mi(e){let t;t=e.src.replace(Ai,`
|
|
16
|
-
`),t=t.replace(ji,`�`),e.src=t}function Ni(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 Pi(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 Fi(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 Ii(e){return/^<a[>\s]/i.test(e)}function Li(e){return/^<\/a\s*>/i.test(e)}function Ri(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`&&(Ii(n.content)&&a>0&&a--,Li(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 zi=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Bi=/\((c|tm|r)\)/i,Vi=/\((c|tm|r)\)/gi,Hi={c:`©`,r:`®`,tm:`™`};function Ui(e,t){return Hi[t.toLowerCase()]}function Wi(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(Vi,Ui)),r.type===`link_open`&&r.info===`auto`&&t--,r.type===`link_close`&&r.info===`auto`&&t++}}function Gi(e){let t=0;for(let n=e.length-1;n>=0;n--){let r=e[n];r.type===`text`&&!t&&zi.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`&&(Bi.test(e.tokens[t].content)&&Wi(e.tokens[t].children),zi.test(e.tokens[t].content)&&Gi(e.tokens[t].children))}var qi=/['"]/,Ji=/['"]/g,Yi=`’`,Xi=1e3;function Zi(e,t,n){for(;e.length>n;){let n=e.pop();n.isSingleQuote?t.single=n.prevSameQuoteIdx:t.double=n.prevSameQuoteIdx}}function Qi(e,t,n,r){e[t]||(e[t]=[]),e[t].push({pos:n,ch:r})}function $i(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 ea(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(Zi(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 _=pi(h)||fi(h),v=pi(g)||fi(g),y=ui(h),b=ui(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&&Qi(a,o,s.index,Yi);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]),Qi(a,o,s.index,l),Qi(a,e.tokenIdx,e.contentPos,c),Zi(r,i,n);continue OUTER}if(f){if(r.length>=Xi)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&&Qi(a,o,s.index,Yi)}}Object.keys(a).forEach(function(t){let n=Number(t);e[n].content=$i(e[n].content,a[t])})}function ta(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type===`inline`&&qi.test(e.tokens[t].content)&&ea(e.tokens[t].children,e)}function na(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 ra(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&&na(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 ia=[[`normalize`,Mi],[`block`,Ni],[`strip_references`,Pi],[`inline`,Fi],[`linkify`,Ri],[`replacements`,Ki],[`smartquotes`,ta],[`text_join`,ra]],aa=class{constructor(){Q(this,`ruler`,new Ei),Q(this,`State`,ki);for(let e=0;e<ia.length;e++)this.ruler.push(ia[e][0],ia[e][1])}process(e){let t=this.ruler.getRules(``);for(let n=0,r=t.length;n<r;n++)t[n](e)}},oa=class{constructor(e,t,n,r){Q(this,`bMarks`,[]),Q(this,`eMarks`,[]),Q(this,`tShift`,[]),Q(this,`sCount`,[]),Q(this,`bsCount`,[]),Q(this,`blkIndent`,0),Q(this,`line`,0),Q(this,`lineMax`,0),Q(this,`tight`,!1),Q(this,`listIndent`,-1),Q(this,`parentType`,`root`),Q(this,`level`,0),Q(this,`Token`,Ti),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(Z(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 Ti(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&&Z(this.src.charCodeAt(e));e++);return e}skipSpacesBack(e,t){if(e<=t)return e;for(;e>t;)if(!Z(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(Z(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(``)}},sa=65536;function ca(e,t){let n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function la(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 ua(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&&!Z(s)||o===45&&Z(s))return!1;for(;a<e.eMarks[i];){let t=e.src.charCodeAt(a);if(t!==124&&t!==45&&t!==58&&!Z(t))return!1;a++}let c=ca(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=ca(e,t).trim(),c.indexOf(`|`)===-1||e.sCount[t]-e.blkIndent>=4)return!1;l=la(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=ca(e,i).trim(),!c)||e.sCount[i]-e.blkIndent>=4||(l=la(c),l.length&&l[0]===``&&l.shift(),l.length&&l[l.length-1]===``&&l.pop(),y+=d-l.length,y>sa))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 da(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 fa(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 pa(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(Z(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 ma(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&&!Z(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 ha(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&&!Z(e.src.charCodeAt(r))?-1:r}function ga(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),!Z(a))?-1:i}function _a(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 va(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=ga(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=ha(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=ga(e,c),p<0)break;o=e.bMarks[c]+e.tShift[c]}else if(p=ha(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&&_a(e,h),!0}function ya(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(!Z(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(!Z(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&&Z(c.charCodeAt(i));)i++;if(i<a&&c.charCodeAt(i)!==10&&g)for(g=``,i=f,o=p;i<a&&Z(c.charCodeAt(i));)i++;if(i<a&&c.charCodeAt(i)!==10)return!1;let _=mi(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 ba=`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(`.`),xa=`<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^"'=<>\`\\x00-\\x20]+|'[^']*'|"[^"]*"))?)*\\s*\\/?>`,Sa=`<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>`,Ca=RegExp(`^(?:${xa}|${Sa}|<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)`),wa=RegExp(`^(?:${xa}|${Sa})`),Ta=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Za-z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[RegExp(`^</?(${ba.join(`|`)})(?=(\\s|/?>|$))`,`i`),/^$/,!0],[RegExp(`${wa.source}\\s*$`),/^$/,!1]];function Ea(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<Ta.length&&!Ta[s][0].test(o);s++);if(s===Ta.length)return!1;if(r)return Ta[s][2];let c=t+1,l=Ta[s][1].test(``);if(!Ta[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),Ta[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 Da(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&&!Z(o))return!1;if(r)return!0;a=e.skipSpacesBack(a,i);let c=e.skipCharsBack(a,35,i);c>i&&Z(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=gi(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 Oa(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=gi(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 ka(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=gi(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 Aa=[[`table`,ua,[`paragraph`,`reference`]],[`code`,da],[`fence`,fa,[`paragraph`,`reference`,`blockquote`,`list`]],[`blockquote`,pa,[`paragraph`,`reference`,`blockquote`,`list`]],[`hr`,ma,[`paragraph`,`reference`,`blockquote`,`list`]],[`list`,va,[`paragraph`,`reference`,`blockquote`]],[`reference`,ya],[`html_block`,Ea,[`paragraph`,`reference`,`blockquote`]],[`heading`,Da,[`paragraph`,`reference`,`blockquote`]],[`lheading`,Oa],[`paragraph`,ka]],ja=class{constructor(){Q(this,`ruler`,new Ei),Q(this,`State`,oa);for(let e=0;e<Aa.length;e++)this.ruler.push(Aa[e][0],Aa[e][1],{alt:(Aa[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)}},Ma=class{constructor(e,t,n,r){Q(this,`pos`,0),Q(this,`level`,0),Q(this,`pending`,``),Q(this,`pendingLevel`,0),Q(this,`cache`,{}),Q(this,`backticks`,{}),Q(this,`backticksScanned`,!1),Q(this,`linkLevel`,0),Q(this,`delimiters`,[]),Q(this,`_prev_delimiters`,[]),Q(this,`Token`,Ti),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 Ti(`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 Ti(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=pi(i)||fi(i),l=pi(s)||fi(s),u=ui(i),d=ui(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 Na(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 Pa(e,t){let n=e.pos;for(;n<e.posMax&&!Na(e.src.charCodeAt(n));)n++;return n!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}function Fa(e){return e>=65&&e<=90||e>=97&&e<=122}function Ia(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===43||e===45||e===46}function La(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&&Ia(e.src.charCodeAt(a-1));)a--;if(a===n||!Fa(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 Ra(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&&Z(e.src.charCodeAt(n));)n++;return e.pos=n,!0}var za=[];for(let e=0;e<256;e++)za.push(0);`\\!"#$%&'()*+,./:;<=>?@[]^_\`{|}~-`.split(``).forEach(function(e){za[e.charCodeAt(0)]=1});function Ba(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),Z(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&&za[i]!==0?a:o,t.markup=o,t.info=`escape`}return e.pos=n+1,!0}function Va(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 Ha(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=Va(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 Ua(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 Wa(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 Ga(e){let t=e.tokens_meta,n=e.tokens_meta.length;Wa(e,e.delimiters);for(let r=0;r<n;r++){let n=t[r]?.delimiters;n&&Wa(e,n)}}var Ka={tokenize:Ua,postProcess:Ga};function qa(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 Ya(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 Xa={tokenize:qa,postProcess:Ya};function Za(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),Z(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),Z(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),Z(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=mi(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 Qa(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),Z(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),Z(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),Z(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=mi(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 $a=/^([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])?)*)$/,eo=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function to(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(eo.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($a.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 no(e){return/^<a[>\s]/i.test(e)}function ro(e){return/^<\/a\s*>/i.test(e)}function io(e){let t=e|32;return t>=97&&t<=122}function ao(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&&!io(i))return!1;let a=e.src.slice(r).match(Ca);if(!a)return!1;if(!t){let t=e.push(`html_inline`,``,0);t.content=a[0],no(t.content)&&e.linkLevel++,ro(t.content)&&e.linkLevel--}return e.pos+=a[0].length,!0}var oo=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,so=/^&([a-z][a-z0-9]{1,31});/i;function co(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(oo);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=Yr(t)?Xr(t):Xr(65533),n.markup=r[0],n.info=`entity`}return e.pos+=r[0].length,!0}}else{let r=e.src.slice(n).match(so);if(r){let n=sr(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 lo(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 uo(e){let t=e.tokens_meta,n=e.tokens_meta.length;lo(e.delimiters);for(let e=0;e<n;e++){let n=t[e]?.delimiters;n&&lo(n)}}function fo(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 po=[[`text`,Pa],[`linkify`,La],[`newline`,Ra],[`escape`,Ba],[`backticks`,Ha],[`strikethrough`,Ka.tokenize],[`emphasis`,Xa.tokenize],[`link`,Za],[`image`,Qa],[`autolink`,to],[`html_inline`,ao],[`entity`,co]],mo=[[`balance_pairs`,uo],[`strikethrough`,Ka.postProcess],[`emphasis`,Xa.postProcess],[`fragments_join`,fo]],ho=class{constructor(){Q(this,`ruler`,new Ei),Q(this,`ruler2`,new Ei),Q(this,`State`,Ma);for(let e=0;e<po.length;e++)this.ruler.push(po[e][0],po[e][1]);for(let e=0;e<mo.length;e++)this.ruler2.push(mo[e][0],mo[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)}},go={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`]}}}},_o=/^(vbscript|javascript|file|data):/,vo=/^data:image\/(gif|png|jpeg|webp);/,yo=[`http:`,`https:`,`mailto:`],$=class{validateLink(e){let t=e.trim().toLowerCase();return!_o.test(t)||vo.test(t)}normalizeLink(e){let t=An(e,!0);if(t.hostname&&(!t.protocol||yo.indexOf(t.protocol)>=0))try{t.hostname=Ur.toASCII(t.hostname)}catch{}return t.auth&&=K(t.auth),t.hostname&&=K(t.hostname),t.pathname&&=K(t.pathname),t.search&&=K(t.search),t.hash&&=K(t.hash),yn(t)}normalizeLinkText(e){let t=An(e,!0);if(t.hostname&&(!t.protocol||yo.indexOf(t.protocol)>=0))try{t.hostname=Ur.toUnicode(t.hostname)}catch{}return gn(yn(t),gn.defaultChars+`%`)}constructor(...e){Q(this,`inline`,new ho),Q(this,`block`,new ja),Q(this,`core`,new aa),Q(this,`renderer`,new Oi),Q(this,`linkify`,new gr),Q(this,`utils`,Kr),Q(this,`helpers`,Object.assign({},xi));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=go[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)}};Q($,`Token`,Ti),Q($,`Ruler`,Ei),Q($,`Renderer`,Oi),Q($,`ParserCore`,aa),Q($,`StateCore`,ki),Q($,`ParserBlock`,ja),Q($,`StateBlock`,oa),Q($,`ParserInline`,ho),Q($,`StateInline`,Ma);var bo=new(qr($))({html:!1,linkify:!1,breaks:!1});bo.disable(`image`);var xo=bo.renderer.rules.link_open??((e,t,n,r,i)=>i.renderToken(e,t,n));bo.renderer.rules.link_open=(e,t,n,r,i)=>{let a=e[t];return a?.attrSet(`target`,`_blank`),a?.attrSet(`rel`,`noopener noreferrer`),xo(e,t,n,r,i)};var So=bo.renderer.rules.fence;bo.renderer.rules.fence=(e,t,n,r,i)=>{let a=So?So(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=bo.utils.escapeHtml(typeof o==`string`?o:`Copy`);return`<div class="agent-code"><button type="button" class="agent-code__copy" data-copy title="${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 Co(e,t={}){return bo.render(e,t)}var wo=[`innerHTML`],To=w(h({__name:`MermaidPreviewDialog`,props:c({svgHtml:{}},{modelValue:{type:Boolean,required:!0},modelModifiers:{}}),emits:c([`hide`],[`update:modelValue`]),setup(e,{emit:t}){let n=i(e,`modelValue`),r=t,{t:a}=xe();return(t,i)=>(s(),y(en,{modelValue:n.value,"onUpdate:modelValue":i[0]||=e=>n.value=e,title:b(a)(`agent.diagram.title`),onHide:i[1]||=e=>r(`hide`)},{default:S(()=>[f(`div`,{class:`mermaid-preview`,innerHTML:e.svgHtml},null,8,wo)]),_:1},8,[`modelValue`,`title`]))}}),[[`__scopeId`,`data-v-3ad1f8bb`]]),Eo=[`innerHTML`],Do=h({__name:`MarkdownContent`,props:{text:{},mermaidDebounce:{default:0}},setup(e){let t=e,{t:n}=xe(),r=T(),i=u(`body`),a=C(()=>Co(t.text,{copyLabel:n(`agent.code.copy`)})),{copyCodeBlock:o}=an(a);pn(i,a,()=>r.dark.isActive,()=>n(`agent.diagram.failed`),()=>t.mermaidDebounce);let c=_(!1),l=_(``),d=null;function p(e){let t=e.target instanceof Element?e.target.closest(`.agent-mermaid`):null;t&&i.value?.contains(t)&&(t.focus(),d=t,l.value=t.innerHTML,c.value=!0)}function h(){l.value=``,d?.isConnected&&d.focus(),d=null}async function v(e){let t=e.target instanceof Element?e.target.closest(`[data-copy]`):null;if(!t){p(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)=>(s(),m(`div`,null,[f(`div`,{ref_key:`body`,ref:i,class:`md-content`,onClick:v,onKeydown:te(p,[`enter`]),innerHTML:a.value},null,40,Eo),g(To,{modelValue:c.value,"onUpdate:modelValue":t[0]||=e=>c.value=e,"svg-html":l.value,onHide:h},null,8,[`modelValue`,`svg-html`])]))}}),Oo=0,ko=100,Ao=4;function jo(e){return e.pointerType===`touch`||e.pointerType===`pen`&&e.buttons!==0}var Mo=se({name:`QTooltip`,inheritAttrs:!1,props:{...Te,...O,...ue,maxHeight:{type:String,default:null},maxWidth:{type:String,default:null},transitionShow:{...ue.transitionShow,default:`jump-down`},transitionHide:{...ue.transitionHide,default:`jump-up`},anchor:{type:String,default:`bottom middle`,validator:P},self:{type:String,default:`top middle`,validator:P},offset:{type:Array,default:()=>[14,14],validator:we},cursorPosition:Boolean,delay:{type:Number,default:0},hideDelay:{type:Number,default:0},persistent:Boolean},emits:[...be],setup(e,{slots:t,emit:i,attrs:a}){let o,s=!1,c=null,l=null,u,f=d(),p=T(),m=_(null),h=x(!1),g=ve();function v(){return a.id||g.value}let y=C(()=>Oe(e.anchor,p.lang.rtl)),b=C(()=>Oe(e.self,p.lang.rtl)),S=C(()=>!e.persistent),{registerTimeout:w,registerTransitionEnd:te}=me(e),{transitionProps:ie,transitionStyle:se}=pe(e),{anchorEl:D,canShow:ue,anchorEvents:O}=Ce({showing:h,configureAnchorEl:Pe}),{show:fe,hide:ge}=k({showing:h,canShow:ue,handleShow:N,handleHide:xe,hideOnRouteChange:S,processOnMount:!0});Object.assign(O,{delayShow:P,delayHide:je,onFocusin:Me,onPointerdown:Ae,onCursorMove:Te});let{showPortal:_e,hidePortal:ye,renderPortal:A}=de(f,m,ze,`tooltip`),{registerTick:be,removeTick:j}=he(),M=De({props:e,$q:p,anchorEl:D,innerRef:m,showing:h,anchorOrigin:y,selfOrigin:b,trackContent:!0});r(()=>(e.modelValue===null||e[`onUpdate:modelValue`])&&h.value===!0&&e.persistent!==!0,e=>{(e===!0?le:ce)(Ne)});function N(t){E(O,`cursorTemp`),_e(),Ie(),M.handleShow(e.cursorPosition?t:void 0),be(M.handleTick),te(()=>{_e(!0),i(`show`,t)})}function xe(e){j(),ye(),Se(!0),te(()=>{ye(!0),M.releaseAnchor(!1),i(`hide`,e)})}function Se(e){M.releaseAnchor(e),ce(Ne),c=null,E(O,`tooltipTemp`),E(O,`cursorTemp`),Le(),Fe(!1)}function P(t){if(t.pointerType===`touch`&&t.isPrimary===!1)return;let n=jo(t);if(n&&Ee(t),e.cursorPosition&&!n){let e=ae(t);if(e.left!==void 0){l=e,oe(O,`cursorTemp`,[[D.value,`pointermove`,`onCursorMove`,`passive`]]),we(t);return}}w(()=>{fe(t)},e.delay)}function we(t){w(()=>{fe(t)},Math.max(e.delay,ko))}function Te(e){let t=ae(e);Math.abs(t.left-l.left)<=Ao&&Math.abs(t.top-l.top)<=Ao||(l=t,we(e))}function Ee(e){c=e.pointerType,o!==void 0&&(clearTimeout(o),o=void 0),ke(),Fe(!0);let t=D.value,n=[`touchmove`,`touchcancel`,`touchend`,`click`].map(e=>[t,e,`delayHide`,`passiveCapture`]);oe(O,`tooltipTemp`,n)}function Ae(e){e.pointerType===`pen`&&c===null&&Ee(e)}function je(t){if((t.pointerType!==`touch`||t.isPrimary!==!1)&&!(t.type===`focusout`&&D.value!==null&&D.value.contains(t.relatedTarget))){if(E(O,`cursorTemp`),c!==null){let e=c===`pen`&&(t.type===`click`||t.type===`touchend`);if(c=null,E(O,`tooltipTemp`),ke(),o=setTimeout(()=>{o=void 0,Fe(!1)},10),e)return}w(()=>{ge(t)},e.hideDelay)}}function Me(e){let t=e.target;t&&t.matches(`:focus-visible`)&&P(e)}function Ne(e){ge(e)}function Pe(){if(e.noParentEvent||D.value===null)return;let t=[[D.value,`pointerenter`,`delayShow`,`passive`],[D.value,`pointerdown`,`onPointerdown`,`passive`],[D.value,`pointerleave`,`delayHide`,`passive`],[D.value,`focusin`,`onFocusin`,`passive`],[D.value,`focusout`,`delayHide`,`passive`]];oe(O,`anchor`,t)}function Fe(e){s!==e&&(s=e,Oo+=e?1:-1,document.body.classList.toggle(`non-selectable`,Oo>0),!e&&o!==void 0&&(clearTimeout(o),o=void 0))}function Ie(){let e=D.value,t=v();if(e===null||t===void 0)return;let n=(e.getAttribute(`aria-describedby`)||``).split(/\s+/).filter(Boolean);u={el:e,id:t,added:!n.includes(t)},u.added&&(n.push(t),e.setAttribute(`aria-describedby`,n.join(` `)))}function Le(){if(u?.added===!0){let{el:e,id:t}=u,n=(e.getAttribute(`aria-describedby`)||``).split(/\s+/).filter(e=>e!==``&&e!==t);n.length===0?e.removeAttribute(`aria-describedby`):e.setAttribute(`aria-describedby`,n.join(` `))}u=void 0}function Re(){return h.value?ee(`div`,{...a,id:v(),ref:m,class:[`q-tooltip q-tooltip--style no-pointer-events`+(M.viaCssAnchor?``:` q-position-engine`),a.class],style:[a.style,se(),M.positionStyle.value],role:`tooltip`},re(t.default)):null}function ze(){return ee(ne,ie(),Re)}return n(()=>{Se(!1)}),Object.assign(f.proxy,{updatePosition:M.updatePosition}),A}});function No(){let e=T();return(t,n)=>{e.notify({type:`negative`,message:t,caption:Se(n)})}}var Po=`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`,Fo=`add_comment`;export{Do as a,en as c,Jt as d,Mo as i,Xt as l,Po as n,G as o,No as r,nn as s,Fo as t,Yt as u};
|