@fudanda/admin-antd 0.0.0-stage → 2.20261024.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +58 -3
- package/THIRD_PARTY_NOTICES.md +55 -0
- package/dist/assets/libarchive-DxGirPmi.wasm +0 -0
- package/dist/assets/pdfium-BJ2Yip8Q.wasm +0 -0
- package/dist/assets/ppt-font-cjk-DxgKpThH.otf +0 -0
- package/dist/assets/ppt-native-Cz5DBbag.wasm +0 -0
- package/dist/assets/pptx.worker-CtaL8LO_.js +30 -0
- package/dist/assets/worker-C5LZNsKY.mjs +1650 -0
- package/dist/assets/worker-CDeo9jS-.js +40 -0
- package/dist/assets/worker-bundle-Dx5mKZOL.js +6 -0
- package/dist/automation.d.ts +3 -0
- package/dist/automation.js +15 -0
- package/dist/chunks/App-DNjXLysb.js +79 -0
- package/dist/chunks/AppModal-DJzQA6FR.js +1 -0
- package/dist/chunks/ArcBaseAdmin-BZrHGq2f.js +1 -0
- package/dist/chunks/ConfigurableTable-DzmZDd8F.js +55 -0
- package/dist/chunks/DashboardPage-BohGodSl.js +22 -0
- package/dist/chunks/DataScopePanel-B2-x8Jcz.js +1 -0
- package/dist/chunks/DateTimeText-CIt0Qy45.js +1 -0
- package/dist/chunks/DepartmentsPage-DMWY__Y_.js +1 -0
- package/dist/chunks/DictTag-2-adKbYg.js +1 -0
- package/dist/chunks/DictsPage-DILDyHi-.js +15 -0
- package/dist/chunks/EditFormModal-DNHOZHxM.js +1 -0
- package/dist/chunks/EmptyIllustration-DUC3RZmF.js +1 -0
- package/dist/chunks/EntityContextRuntime-DMklAv-k.js +1 -0
- package/dist/chunks/EntityContextRuntime-sslBZqYD.js +1 -0
- package/dist/chunks/EntityRelationButton-DWn1rC2J.js +8 -0
- package/dist/chunks/ExportButton-AzH4D0oW.js +1 -0
- package/dist/chunks/FileNameCell-DPyi64Rv.js +1 -0
- package/dist/chunks/FileStorageConfigsPage-CzuOgeK0.js +15 -0
- package/dist/chunks/FileTypeIcon-DIih3XQG.js +1 -0
- package/dist/chunks/FileViewerPreviewPanel-CMqVtGCr.js +41 -0
- package/dist/chunks/FilesPage-BaEBCOCs.js +43 -0
- package/dist/chunks/IdentitySecurityPage-BO7nY8id.js +1 -0
- package/dist/chunks/JsonPreviewPanel-Dhbza-Uu.js +1 -0
- package/dist/chunks/LogStatsScaffold-CLycj3da.js +1 -0
- package/dist/chunks/LoginLogsPage-DTmHi8u0.js +1 -0
- package/dist/chunks/LoginLogsTable-DVmHnC6V.js +1 -0
- package/dist/chunks/MarkdownPreviewPanel-DoiaAeRv.js +51 -0
- package/dist/chunks/MasterDetailLayout-sjPWw8BI.js +8 -0
- package/dist/chunks/MemberAssignmentSheet-Czbt6_zv.js +1 -0
- package/dist/chunks/MenuCommandPalette-BCOzf-Kq.js +8 -0
- package/dist/chunks/MenusPage-DN8DTGB1.js +1 -0
- package/dist/chunks/ModalFooter-RMlvqrO9.js +1 -0
- package/dist/chunks/MonacoPreviewPanel-Dnz7xpWP.js +1 -0
- package/dist/chunks/NavListPanel-vjIOIqK0.js +1 -0
- package/dist/chunks/OnlineSessionsPage-FoHYZKlR.js +1 -0
- package/dist/chunks/OperationLogsPage-BeRnGcBJ.js +1 -0
- package/dist/chunks/OperationLogsTable-COI-Lp-y.js +1 -0
- package/dist/chunks/PDFPreviewPanel-BIQuBnZZ.js +37 -0
- package/dist/chunks/PasswordInput-DGEJO9yx.js +1 -0
- package/dist/chunks/PositionsPage-DohI0luX.js +1 -0
- package/dist/chunks/PreferencesSheetBody-B9niQABW.js +43 -0
- package/dist/chunks/ProfilePage-CVTRv7xb.js +15 -0
- package/dist/chunks/RelationPanel-B1X6AVaM.js +36 -0
- package/dist/chunks/ResponsiveTableActions-y54aSdhs.js +1 -0
- package/dist/chunks/RolesPage-CtUw93L8.js +1 -0
- package/dist/chunks/ScrollArea-DqjJmHDN.js +11 -0
- package/dist/chunks/SearchToolbar-CvgYKUjr.js +1 -0
- package/dist/chunks/SessionClientTag-DIwnYodW.js +22 -0
- package/dist/chunks/SessionConflictModal-BLNuDsN_.js +1 -0
- package/dist/chunks/SettingRow-DVNmTJWC.js +1 -0
- package/dist/chunks/SettingsPage-BRnCxYQm.js +26 -0
- package/dist/chunks/StatCard-Czjfs0fa.js +4 -0
- package/dist/chunks/UTIF-QUtClmQd.js +1 -0
- package/dist/chunks/UserAvatar-B8CFnTCn.js +1 -0
- package/dist/chunks/UserDisplay-J0Re8z-7.js +1 -0
- package/dist/chunks/UserGroupsPage-CNwbejx-.js +1 -0
- package/dist/chunks/UserLogsPanels-BHeSxWrk.js +36 -0
- package/dist/chunks/UserTransferSelect-CAeyxdor.js +22 -0
- package/dist/chunks/UsersPage-BXt9fOru.js +36 -0
- package/dist/chunks/abnfDiagram-VCTEODGH-Z6OhNjoW.js +1 -0
- package/dist/chunks/activity-DBu4axwF.js +8 -0
- package/dist/chunks/arc-B3K1fDeF.js +1 -0
- package/dist/chunks/architecture-7GRP2DOG-CMtoOwin.js +1 -0
- package/dist/chunks/architectureDiagram-5GKGNRK7-V5A7S5fY.js +36 -0
- package/dist/chunks/archive-B_IKvysI.js +72 -0
- package/dist/chunks/array-BrHhzP_A.js +1 -0
- package/dist/chunks/arrow-left-CsxBMzKY.js +8 -0
- package/dist/chunks/avsc-C0VoJRmm.js +160 -0
- package/dist/chunks/blockDiagram-I7D4REHJ-CFKGJkc_.js +129 -0
- package/dist/chunks/browser-BKLM0ThC-mnGPrtB_.js +1 -0
- package/dist/chunks/browser-index-JqxD-45S.js +1 -0
- package/dist/chunks/builtin_esm-external-require-react-BsBndGeN.js +1 -0
- package/dist/chunks/bundle-DbfUnEV1.js +29 -0
- package/dist/chunks/c4Diagram-7LVT6UL2-BqYYoXPe.js +38 -0
- package/dist/chunks/channel-C9Dr7Z-W.js +1 -0
- package/dist/chunks/chart-data-DImT_Mzn.js +5 -0
- package/dist/chunks/chart-renderer-k-Rd8vdL.js +7 -0
- package/dist/chunks/chevron-down-mn2tSKQd.js +8 -0
- package/dist/chunks/chevron-right-EBApfX6q.js +15 -0
- package/dist/chunks/chevrons-up-down-2M6hY6wt.js +15 -0
- package/dist/chunks/chunk-2E4U76K2-DNbbdpCx.js +1 -0
- package/dist/chunks/chunk-2Q5K7J3B-CmAE3Vs0.js +1 -0
- package/dist/chunks/chunk-2ZTRR5NV-BjsSRgBv.js +2 -0
- package/dist/chunks/chunk-3Z5EZCMW-uYiqz-6y.js +1 -0
- package/dist/chunks/chunk-4HAMMTFA-Aw59LwS3.js +62 -0
- package/dist/chunks/chunk-5V3GS4D5-B_CVcJic.js +1 -0
- package/dist/chunks/chunk-5VM5RSS4-DMlsEAcl.js +15 -0
- package/dist/chunks/chunk-6AZGARVD-CgAiC5mV.js +1 -0
- package/dist/chunks/chunk-6EIED4P4-CXz5D9B0.js +1 -0
- package/dist/chunks/chunk-6K3QC6MW-DtaQ52mY.js +1 -0
- package/dist/chunks/chunk-6TQVIW2G-D0YDxefI.js +1 -0
- package/dist/chunks/chunk-747NJXEK-DGoElbDa.js +2 -0
- package/dist/chunks/chunk-75Z2AOVW-IO9R6faP.js +2 -0
- package/dist/chunks/chunk-CLGD4ZFX-tRS89bnq.js +1 -0
- package/dist/chunks/chunk-DU6HZSFF-Bx48E1rg.js +125 -0
- package/dist/chunks/chunk-F27PBJKO-DtLva7y0.js +1 -0
- package/dist/chunks/chunk-FOHPRMQF-B8MMrnxV.js +255 -0
- package/dist/chunks/chunk-GMAD6QVW-D41KnniX.js +72 -0
- package/dist/chunks/chunk-GVQU2GXP-CVzgM_ui.js +1 -0
- package/dist/chunks/chunk-I5DQTOEV-CoecQT42.js +1 -0
- package/dist/chunks/chunk-ICYGCRZG-lH3opfCY.js +1 -0
- package/dist/chunks/chunk-IH6LHLGP-tD-j3Rsy.js +1 -0
- package/dist/chunks/chunk-IMKFNOWR-CL9pLQhV.js +231 -0
- package/dist/chunks/chunk-JWPE2WC7-Wk0BVLn5.js +1 -0
- package/dist/chunks/chunk-KI3K4JFJ-C-3Y_9er.js +1 -0
- package/dist/chunks/chunk-L3NEJ4N5-CmvrS7Dt.js +1 -0
- package/dist/chunks/chunk-LNGE3PJU-BP1fsJRz.js +34 -0
- package/dist/chunks/chunk-OSK3NFVY-C9uWOXTC.js +10 -0
- package/dist/chunks/chunk-OUJLGHUK-Cm55l9bx.js +2 -0
- package/dist/chunks/chunk-P2QGCYS3-C9bc1yiM.js +1 -0
- package/dist/chunks/chunk-POPQ4Y6H-P1s5xaxM.js +1 -0
- package/dist/chunks/chunk-PWAF6VOD-IORmPx9D.js +1 -0
- package/dist/chunks/chunk-SHT3W25Y-Bip4melZ.js +168 -0
- package/dist/chunks/chunk-SVP7TREG-BKCgUOuy.js +88 -0
- package/dist/chunks/chunk-TICWLB2K-12W2EmSx.js +206 -0
- package/dist/chunks/chunk-TLUHSLCS-DsqF476v.js +1 -0
- package/dist/chunks/chunk-UY3FDG6J-71d_M6t3.js +1 -0
- package/dist/chunks/chunk-XHIXRSVI-C2X1-xC6.js +1 -0
- package/dist/chunks/chunk-XXDRQBXY-Bl6AoSZF.js +1 -0
- package/dist/chunks/chunk-Y2CYZVJY-DjEHBC-3.js +1 -0
- package/dist/chunks/circle-check-RKAno__V.js +8 -0
- package/dist/chunks/circle-x-BB5x-D-8.js +8 -0
- package/dist/chunks/classDiagram-ZZMXUADV-CZrpYcfK.js +1 -0
- package/dist/chunks/classDiagram-v2-VYDZK3BY-CZrpYcfK.js +1 -0
- package/dist/chunks/clipboard-ERcMSMRH.js +1 -0
- package/dist/chunks/clock-CniP1gZS.js +8 -0
- package/dist/chunks/confirm-BtBBEqk8.js +1 -0
- package/dist/chunks/controls-C5dPckUT.js +1 -0
- package/dist/chunks/copy-ofLPH1I0.js +8 -0
- package/dist/chunks/cose-bilkent-JH36ORCC-D9OUqkk5.js +1 -0
- package/dist/chunks/createLucideIcon-BtwfYE6A.js +83 -0
- package/dist/chunks/cynefin-OW5HDTMX-B8_kUynj.js +1 -0
- package/dist/chunks/cynefinDiagram-5FMLGOSQ-DhQChnCg.js +62 -0
- package/dist/chunks/cytoscape.esm-wDUnleWx.js +339 -0
- package/dist/chunks/dagre-GXQ25YYZ-CfbwC_a5.js +4 -0
- package/dist/chunks/dagre-ZVAWSfFw.js +1 -0
- package/dist/chunks/data-B05HzECj.js +28 -0
- package/dist/chunks/date-picker-CPUxgHVv.js +1 -0
- package/dist/chunks/defaultLocale-BvxIcb9Y.js +1 -0
- package/dist/chunks/deleteAction-CCocr5uV.js +1 -0
- package/dist/chunks/diagram-D9cwc7QH.js +5 -0
- package/dist/chunks/diagram-S7CK7UJ4-DVPbdtMm.js +30 -0
- package/dist/chunks/diagram-UQ7AKVKN-D_ZBhGLL.js +41 -0
- package/dist/chunks/diagram-VSXAHHWV-Dqypp-OX.js +3 -0
- package/dist/chunks/diagram-VX7I27RA-CbWJVJ_L.js +24 -0
- package/dist/chunks/diagram-Z3DM3KII-CUyP4-RY.js +24 -0
- package/dist/chunks/direct-engine-thps0u7R.js +5 -0
- package/dist/chunks/dist-Bauqz5on.js +1 -0
- package/dist/chunks/dist-CWj_XYki.js +1 -0
- package/dist/chunks/dist-D_KGQS7-.js +11 -0
- package/dist/chunks/dist-DdW4yNBK.js +1 -0
- package/dist/chunks/docx-preview-CPN81HCr.js +11 -0
- package/dist/chunks/download--5IybXxz.js +8 -0
- package/dist/chunks/drawing-D2Qrun-P.js +48 -0
- package/dist/chunks/ebnfDiagram-PWID7BFC-C5NMigjm.js +1 -0
- package/dist/chunks/ellipsis-Dux1Nxa5.js +8 -0
- package/dist/chunks/email-ByshRsFv.js +61 -0
- package/dist/chunks/emailHtml-BAKcRhSm.js +1 -0
- package/dist/chunks/erDiagram-RLTQ6QDP-B5rUHJPJ.js +99 -0
- package/dist/chunks/eventmodeling-NTZA5JFV-C74no5BH.js +1 -0
- package/dist/chunks/export-BkwewH6Q.js +1 -0
- package/dist/chunks/export-DlTz5dc2.js +341 -0
- package/dist/chunks/eye-off-BtJoIT5n.js +8 -0
- package/dist/chunks/feedback-BnjMKZpz.js +1 -0
- package/dist/chunks/file-utils-DyvnVEoH.js +1 -0
- package/dist/chunks/fit-CsnhEncA.js +1 -0
- package/dist/chunks/flowDiagram-HODETNUW-BuMvaSeo.js +1 -0
- package/dist/chunks/form-CQutQFiD.js +1 -0
- package/dist/chunks/funnel-BwQjQI4Y.js +8 -0
- package/dist/chunks/ganttDiagram-EL5Y4UJY-DIAlbvVg.js +292 -0
- package/dist/chunks/geo-DR0fL7r2.js +38 -0
- package/dist/chunks/gitGraph-4MIJSDKK-Ce5mOfp1.js +1 -0
- package/dist/chunks/gitGraphDiagram-WWUBYQGX-DN3G9xiQ.js +106 -0
- package/dist/chunks/graphlib-CYBMTUbW.js +1 -0
- package/dist/chunks/icons-CbRx5Om7.js +1 -0
- package/dist/chunks/illustrations-DT1eq6jI.js +1 -0
- package/dist/chunks/image-ez9hvzKT.js +17 -0
- package/dist/chunks/index.es-OAWlVkoK.js +16 -0
- package/dist/chunks/info-A6RAGUB7-BP6lMBIR.js +1 -0
- package/dist/chunks/info-BQa8C31Y.js +8 -0
- package/dist/chunks/infoDiagram-27XIBGKW-BhQtr_Ti.js +2 -0
- package/dist/chunks/init-Ca_Ibf4y.js +1 -0
- package/dist/chunks/ishikawaDiagram-5VMMS53U-CLR6CAi4.js +70 -0
- package/dist/chunks/journeyDiagram-3NMN7TZE-_-Q7sjsP.js +139 -0
- package/dist/chunks/json-viewer-DHYRjY8I.js +1 -0
- package/dist/chunks/jszip.min-hNOoGCeG.js +14 -0
- package/dist/chunks/kanban-definition-UXKFOSKX-D97mHeUZ.js +89 -0
- package/dist/chunks/katex-D5qu7EYh.js +257 -0
- package/dist/chunks/layout-grid-Bp9bwiQZ.js +8 -0
- package/dist/chunks/lib-BlRm3nk1.js +15 -0
- package/dist/chunks/lib-C1nFUu19.js +4 -0
- package/dist/chunks/lib-CqYXBtHb.js +1 -0
- package/dist/chunks/libarchive-DRzzJvQl.js +7 -0
- package/dist/chunks/line-BV7qVRkM.js +1 -0
- package/dist/chunks/line-qVHaOdPp.js +1 -0
- package/dist/chunks/linear-DXABSWHW.js +1 -0
- package/dist/chunks/list-0CbyOlT9.js +1 -0
- package/dist/chunks/list-DCcWnjUg.js +8 -0
- package/dist/chunks/listTableProps-DDynsnLF.js +1 -0
- package/dist/chunks/log-in-OzbNes8i.js +8 -0
- package/dist/chunks/lucide-react-VfAPsQQ5.js +8 -0
- package/dist/chunks/maplibre-gl-Bxi83GUP.js +819 -0
- package/dist/chunks/maplibre-shared-Oo0L8Lll.js +6 -0
- package/dist/chunks/maximize-CnmQ11E7.js +8 -0
- package/dist/chunks/media-DoGe_p4O.js +1 -0
- package/dist/chunks/menu-mQgsexFx.js +15 -0
- package/dist/chunks/mermaid-parser.core-DvCAQkzY.js +3 -0
- package/dist/chunks/mermaid.core-CxOC6yPr.js +15 -0
- package/dist/chunks/messages-CFyOVxEM.js +1 -0
- package/dist/chunks/mindmap-definition-YA3MSWOX-A2UgnMwx.js +96 -0
- package/dist/chunks/minimize-Bpau_zCe.js +8 -0
- package/dist/chunks/msg-BzZbudMm.js +7 -0
- package/dist/chunks/ofd-C7DKqJ6Z.js +33 -0
- package/dist/chunks/ofd-DrJyXIpS.js +14 -0
- package/dist/chunks/openDocument-DGzqlyJg.js +12 -0
- package/dist/chunks/options-B65xkxOY.js +1 -0
- package/dist/chunks/ordinal-NuFkISw7.js +1 -0
- package/dist/chunks/packet-AYTQ26CC-DS6h3a5l.js +1 -0
- package/dist/chunks/panzoom.es-DnuzxUQi.js +1 -0
- package/dist/chunks/parse-6ZQGx714.js +1 -0
- package/dist/chunks/parser-DC3PvpL4.js +72 -0
- package/dist/chunks/path-VUNELGFR.js +1 -0
- package/dist/chunks/pegDiagram-XKGWAZYB-DxQqpKfh.js +1 -0
- package/dist/chunks/pie-WAS4IAKB-BsaegmNA.js +1 -0
- package/dist/chunks/pieDiagram-E7YTZNPT-BUsnkTkJ.js +39 -0
- package/dist/chunks/postal-mime-DMcA5b7k.js +28 -0
- package/dist/chunks/ppt-B0WY5Gks.js +30 -0
- package/dist/chunks/ppt-BIiNnCyj.js +1 -0
- package/dist/chunks/pptx-DX5KDFZ7.js +109 -0
- package/dist/chunks/preload-helper-C-73SErw.js +1 -0
- package/dist/chunks/print-mask-Dguzv0rv.js +17 -0
- package/dist/chunks/printLayout-oeudvFkr.js +34 -0
- package/dist/chunks/printMask-LefOTJqk.js +8 -0
- package/dist/chunks/psd-hjeNFQZ-.js +36 -0
- package/dist/chunks/purify.es-BsWMI_aG.js +5 -0
- package/dist/chunks/quadrantDiagram-AXDQQJYC-BmQNSzhY.js +7 -0
- package/dist/chunks/radar-RG4KPBEZ-BoHdw2h7.js +1 -0
- package/dist/chunks/railroad-74A4TZTK-BifJffb4.js +1 -0
- package/dist/chunks/railroad-abnf-HS5TGJTU-CMEPumRO.js +1 -0
- package/dist/chunks/railroad-ebnf-LZEXJU2U-B06BgAeN.js +1 -0
- package/dist/chunks/railroad-peg-WCYAUIDC-CMjriUEs.js +1 -0
- package/dist/chunks/railroadDiagram-O6MQD6OU-B2t5KY26.js +1 -0
- package/dist/chunks/react-runtime-x2lFbSKq.js +11 -0
- package/dist/chunks/refresh-cw-Dz8O9-Hp.js +8 -0
- package/dist/chunks/rendered-slot-YhfmcMJr.js +1 -0
- package/dist/chunks/requirementDiagram-BXWQKSXE-CBBfNOAp.js +84 -0
- package/dist/chunks/rolldown-runtime-BKuNeK48.js +1 -0
- package/dist/chunks/rotate-ccw-D2__Zisi.js +8 -0
- package/dist/chunks/rotate-cw-BSTVLlWY.js +8 -0
- package/dist/chunks/rough.esm-CVrpq1dW.js +1 -0
- package/dist/chunks/sankeyDiagram-P5KCCOFB-Cp8SrFyb.js +40 -0
- package/dist/chunks/save-w-NwiMMY.js +8 -0
- package/dist/chunks/search-DYZU68h1.js +8 -0
- package/dist/chunks/search-filters-CRIhZ0gL.js +1 -0
- package/dist/chunks/sequenceDiagram-WJ2MYXX4-PDtVfEoj.js +162 -0
- package/dist/chunks/shield-alert-De_Hx56I.js +8 -0
- package/dist/chunks/sizeCapture-INFHLROL-DA-kAaXB.js +1 -0
- package/dist/chunks/skeleton-CrjMjJNr.js +1 -0
- package/dist/chunks/spreadsheet-BzbBEhmY.js +1 -0
- package/dist/chunks/spreadsheet-LR3SOG-x.js +58 -0
- package/dist/chunks/sql-wasm-browser-CFddXd9f.js +2 -0
- package/dist/chunks/src-C1iDJpBK.js +1 -0
- package/dist/chunks/src-vLpLkuQx.js +1 -0
- package/dist/chunks/stateDiagram-D77RDMKH-C1Sx8KUD.js +1 -0
- package/dist/chunks/stateDiagram-v2-MP3YSRHH-7wYLSzBX.js +1 -0
- package/dist/chunks/swimlanes-42K2YHIH-BmybX9eL.js +1 -0
- package/dist/chunks/swimlanesDiagram-VR7AAH4N-DxhXklfm.js +8 -0
- package/dist/chunks/tabs-BobA_IcO.js +1 -0
- package/dist/chunks/theme-controller-D-ATwFal.js +1 -0
- package/dist/chunks/timeline-definition-24CTP7MA-QS9QNm2i.js +120 -0
- package/dist/chunks/tinycolor-CG1wnM-U.js +1 -0
- package/dist/chunks/togeojson.es-BE8iM7U6.js +1 -0
- package/dist/chunks/toolbar-controls-CThS0xuP.js +15 -0
- package/dist/chunks/trash-tHBT8Mpw.js +8 -0
- package/dist/chunks/treeView-Q6P3EWNA-CN0l7whJ.js +1 -0
- package/dist/chunks/treemap-WGGIJYW6-C4P1fQxS.js +1 -0
- package/dist/chunks/typography-DKK_iHcj.js +1 -0
- package/dist/chunks/ui-BFsHoY7a.js +1 -0
- package/dist/chunks/ui-utils-ClxYogUQ.js +1 -0
- package/dist/chunks/upload-M-n6woFv.js +8 -0
- package/dist/chunks/useCrudOperationColumn-D935tixd.js +1 -0
- package/dist/chunks/useListPage-CbcOQG4m.js +1 -0
- package/dist/chunks/useModalViewport-HF7te75S.js +1 -0
- package/dist/chunks/useRowSelection-4GOMFmjG.js +1 -0
- package/dist/chunks/useStatusToggle-B2qZaoc-.js +1 -0
- package/dist/chunks/user-round-kYfBkPNu.js +15 -0
- package/dist/chunks/users-BXZLb4TY.js +8 -0
- package/dist/chunks/vennDiagram-4TSXK5OY-CVd73ycc.js +34 -0
- package/dist/chunks/view-B8ZvC8z3.js +1 -0
- package/dist/chunks/viewer-Ct88ypIL.js +24 -0
- package/dist/chunks/wardley-WFR3VGLG-cG9pRFwD.js +1 -0
- package/dist/chunks/wardleyDiagram-VM6X3IG4-B42d0Gqz.js +78 -0
- package/dist/chunks/wordDoc-BZY3ZnxN.js +152 -0
- package/dist/chunks/wordDocx-Bt2mlB3C.js +77 -0
- package/dist/chunks/wordMl-Y_ghyTZ8.js +1 -0
- package/dist/chunks/worker-engine-B4e92GsN.js +17369 -0
- package/dist/chunks/x-Ak9hw1R9.js +8 -0
- package/dist/chunks/xmind-CF9YwkOD.js +58 -0
- package/dist/chunks/xychartDiagram-S5SC5T6Z-B_Owv9Ho.js +7 -0
- package/dist/file-viewer/flyfish-viewer-assets.json +46 -0
- package/dist/file-viewer/vendor/docx/docx.worker.js +5 -0
- package/dist/file-viewer/vendor/docx/jszip.min.js +13 -0
- package/dist/file-viewer/vendor/xlsx/sheet.worker.js +107 -0
- package/dist/file-viewer/wasm/data/sql-wasm.wasm +0 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1 -0
- package/dist/public/avatars/avatar-01.svg +1 -0
- package/dist/public/avatars/avatar-02.svg +1 -0
- package/dist/public/avatars/avatar-03.svg +1 -0
- package/dist/public/avatars/avatar-04.svg +1 -0
- package/dist/public/avatars/avatar-05.svg +1 -0
- package/dist/public/avatars/avatar-06.svg +1 -0
- package/dist/public/avatars/avatar-07.svg +1 -0
- package/dist/public/avatars/avatar-08.svg +1 -0
- package/dist/public/avatars/avatar-09.svg +1 -0
- package/dist/public/avatars/avatar-10.svg +1 -0
- package/dist/public/avatars/avatar-11.svg +1 -0
- package/dist/public/avatars/avatar-12.svg +1 -0
- package/dist/public/monaco/vs/abap-D-t0cyap.js +1 -0
- package/dist/public/monaco/vs/apex-CcIm7xu6.js +1 -0
- package/dist/public/monaco/vs/assets/css.worker-URu8fCFR.js +97 -0
- package/dist/public/monaco/vs/assets/editor.worker-lj3bdIIn.js +30 -0
- package/dist/public/monaco/vs/assets/editorWebWorkerMain-CA_vMoUU.js +30 -0
- package/dist/public/monaco/vs/assets/html.worker-D1SL3iM8.js +474 -0
- package/dist/public/monaco/vs/assets/json.worker-CoJx_OPf.js +62 -0
- package/dist/public/monaco/vs/assets/ts.worker-BWKtMYOk.js +67722 -0
- package/dist/public/monaco/vs/azcli-BA0tQDCg.js +1 -0
- package/dist/public/monaco/vs/basic-languages/monaco.contribution.js +1 -0
- package/dist/public/monaco/vs/bat-C397hTD6.js +1 -0
- package/dist/public/monaco/vs/bicep-DF5aW17k.js +2 -0
- package/dist/public/monaco/vs/cameligo-plsz8qhj.js +1 -0
- package/dist/public/monaco/vs/clojure-Y2auQMzK.js +1 -0
- package/dist/public/monaco/vs/coffee-Bu45yuWE.js +1 -0
- package/dist/public/monaco/vs/cpp-CkKPQIni.js +1 -0
- package/dist/public/monaco/vs/csharp-CX28MZyh.js +1 -0
- package/dist/public/monaco/vs/csp-D8uWnyxW.js +1 -0
- package/dist/public/monaco/vs/css-CaeNmE3S.js +3 -0
- package/dist/public/monaco/vs/css.worker-CyhWkhHo.js +1 -0
- package/dist/public/monaco/vs/cssMode-CV6Ay48H.js +1 -0
- package/dist/public/monaco/vs/cypher-DVThT8BS.js +1 -0
- package/dist/public/monaco/vs/dart-CmGfCvrO.js +1 -0
- package/dist/public/monaco/vs/dockerfile-CZqqYdch.js +1 -0
- package/dist/public/monaco/vs/ecl-30fUercY.js +1 -0
- package/dist/public/monaco/vs/editor/editor.main.css +1 -0
- package/dist/public/monaco/vs/editor/editor.main.js +1 -0
- package/dist/public/monaco/vs/editor-KLE6jdfb.js +831 -0
- package/dist/public/monaco/vs/editor.js +1 -0
- package/dist/public/monaco/vs/editorWorkerHost-fVE1cjcC.js +35 -0
- package/dist/public/monaco/vs/elixir-xjPaIfzF.js +1 -0
- package/dist/public/monaco/vs/flow9-DqtmStfK.js +1 -0
- package/dist/public/monaco/vs/freemarker2-FWreY7v7.js +3 -0
- package/dist/public/monaco/vs/fsharp-BOMdg4U1.js +1 -0
- package/dist/public/monaco/vs/go-D_hbi-Jt.js +1 -0
- package/dist/public/monaco/vs/graphql-CKUU4kLG.js +1 -0
- package/dist/public/monaco/vs/handlebars-CZi4pHCH.js +1 -0
- package/dist/public/monaco/vs/hcl-DTaboeZW.js +1 -0
- package/dist/public/monaco/vs/html-j_7ZTNRU.js +1 -0
- package/dist/public/monaco/vs/html.worker-CA3iAimZ.js +1 -0
- package/dist/public/monaco/vs/htmlMode-27by_KM4.js +1 -0
- package/dist/public/monaco/vs/index-049xrXrp.js +1 -0
- package/dist/public/monaco/vs/index-CBVt3dzv.js +5 -0
- package/dist/public/monaco/vs/index.js +1 -0
- package/dist/public/monaco/vs/ini-CsNwO04R.js +1 -0
- package/dist/public/monaco/vs/initialize-DL0l1TGY.js +1 -0
- package/dist/public/monaco/vs/java-CI4ZMsH9.js +1 -0
- package/dist/public/monaco/vs/javascript-DTJl4Jn1.js +1 -0
- package/dist/public/monaco/vs/json.worker-BizpAl9O.js +1 -0
- package/dist/public/monaco/vs/jsonMode-DLUiMUrI.js +1 -0
- package/dist/public/monaco/vs/julia-BwzEvaQw.js +1 -0
- package/dist/public/monaco/vs/kotlin-IUYPiTV8.js +1 -0
- package/dist/public/monaco/vs/language/css/monaco.contribution.js +1 -0
- package/dist/public/monaco/vs/language/html/monaco.contribution.js +1 -0
- package/dist/public/monaco/vs/language/json/monaco.contribution.js +1 -0
- package/dist/public/monaco/vs/language/typescript/monaco.contribution.js +1 -0
- package/dist/public/monaco/vs/less-C0eDYdqa.js +2 -0
- package/dist/public/monaco/vs/lexon-iON-Kj97.js +1 -0
- package/dist/public/monaco/vs/liquid-CLJYelW6.js +1 -0
- package/dist/public/monaco/vs/loader.js +1368 -0
- package/dist/public/monaco/vs/lspLanguageFeatures-BIkJOWLw.js +2 -0
- package/dist/public/monaco/vs/lua-DtygF91M.js +1 -0
- package/dist/public/monaco/vs/m3-CsR4AuFi.js +1 -0
- package/dist/public/monaco/vs/main-BEx-Fmlo.js +15 -0
- package/dist/public/monaco/vs/main-DsK8pnKg.js +3 -0
- package/dist/public/monaco/vs/markdown-C_rD0bIw.js +1 -0
- package/dist/public/monaco/vs/mdx-CpzZIPHF.js +1 -0
- package/dist/public/monaco/vs/mips-CiYP61RB.js +1 -0
- package/dist/public/monaco/vs/monaco.contribution-9cKT3C7t.js +1 -0
- package/dist/public/monaco/vs/monaco.contribution-BE88ZNGY.js +1 -0
- package/dist/public/monaco/vs/monaco.contribution-BPhsneLd.js +1 -0
- package/dist/public/monaco/vs/monaco.contribution-BgRy6xDf.js +1 -0
- package/dist/public/monaco/vs/msdax-C38-sJlp.js +1 -0
- package/dist/public/monaco/vs/mysql-CdtbpvbG.js +1 -0
- package/dist/public/monaco/vs/nls/lang/cs.d.ts +1 -0
- package/dist/public/monaco/vs/nls/lang/cs.js +9 -0
- package/dist/public/monaco/vs/nls/lang/de.d.ts +1 -0
- package/dist/public/monaco/vs/nls/lang/de.js +9 -0
- package/dist/public/monaco/vs/nls/lang/es.d.ts +1 -0
- package/dist/public/monaco/vs/nls/lang/es.js +9 -0
- package/dist/public/monaco/vs/nls/lang/fr.d.ts +1 -0
- package/dist/public/monaco/vs/nls/lang/fr.js +9 -0
- package/dist/public/monaco/vs/nls/lang/it.d.ts +1 -0
- package/dist/public/monaco/vs/nls/lang/it.js +9 -0
- package/dist/public/monaco/vs/nls/lang/ja.d.ts +1 -0
- package/dist/public/monaco/vs/nls/lang/ja.js +9 -0
- package/dist/public/monaco/vs/nls/lang/ko.d.ts +1 -0
- package/dist/public/monaco/vs/nls/lang/ko.js +9 -0
- package/dist/public/monaco/vs/nls/lang/pl.d.ts +1 -0
- package/dist/public/monaco/vs/nls/lang/pl.js +9 -0
- package/dist/public/monaco/vs/nls/lang/pt-br.d.ts +1 -0
- package/dist/public/monaco/vs/nls/lang/pt-br.js +9 -0
- package/dist/public/monaco/vs/nls/lang/ru.d.ts +1 -0
- package/dist/public/monaco/vs/nls/lang/ru.js +9 -0
- package/dist/public/monaco/vs/nls/lang/tr.d.ts +1 -0
- package/dist/public/monaco/vs/nls/lang/tr.js +9 -0
- package/dist/public/monaco/vs/nls/lang/zh-cn.d.ts +1 -0
- package/dist/public/monaco/vs/nls/lang/zh-cn.js +9 -0
- package/dist/public/monaco/vs/nls/lang/zh-tw.d.ts +1 -0
- package/dist/public/monaco/vs/nls/lang/zh-tw.js +9 -0
- package/dist/public/monaco/vs/nls.messages-loader.js +1 -0
- package/dist/public/monaco/vs/objective-c-CntZFaHX.js +1 -0
- package/dist/public/monaco/vs/pascal-r6kuqfl_.js +1 -0
- package/dist/public/monaco/vs/pascaligo-BiXoTmXh.js +1 -0
- package/dist/public/monaco/vs/perl-DABw_TcH.js +1 -0
- package/dist/public/monaco/vs/pgsql-me_jFXeX.js +1 -0
- package/dist/public/monaco/vs/php-D_kh-9LK.js +1 -0
- package/dist/public/monaco/vs/pla-VfZjczW0.js +1 -0
- package/dist/public/monaco/vs/postiats-BBSzz8Pk.js +1 -0
- package/dist/public/monaco/vs/powerquery-Dt-g_2cc.js +1 -0
- package/dist/public/monaco/vs/powershell-B-7ap1zc.js +1 -0
- package/dist/public/monaco/vs/protobuf-BmtuEB1A.js +2 -0
- package/dist/public/monaco/vs/pug-BRpRNeEb.js +1 -0
- package/dist/public/monaco/vs/python-CqWUUgfu.js +1 -0
- package/dist/public/monaco/vs/qsharp-BzsFaUU9.js +1 -0
- package/dist/public/monaco/vs/r-f8dDdrp4.js +1 -0
- package/dist/public/monaco/vs/razor-hok5y9Km.js +1 -0
- package/dist/public/monaco/vs/redis-fvZQY4PI.js +1 -0
- package/dist/public/monaco/vs/redshift-45Et0LQi.js +1 -0
- package/dist/public/monaco/vs/restructuredtext-C7UUFKFD.js +1 -0
- package/dist/public/monaco/vs/ruby-CZO8zYTz.js +1 -0
- package/dist/public/monaco/vs/rust-Bfetafyc.js +1 -0
- package/dist/public/monaco/vs/sb-3GYllVck.js +1 -0
- package/dist/public/monaco/vs/scala-foMgrKo1.js +1 -0
- package/dist/public/monaco/vs/scheme-CHdMtr7p.js +1 -0
- package/dist/public/monaco/vs/scss-C1cmLt9V.js +3 -0
- package/dist/public/monaco/vs/shell-ClXCKCEW.js +1 -0
- package/dist/public/monaco/vs/solidity-MZ6ExpPy.js +1 -0
- package/dist/public/monaco/vs/sophia-DWkuSsPQ.js +1 -0
- package/dist/public/monaco/vs/sparql-AUGFYSyk.js +1 -0
- package/dist/public/monaco/vs/sql-32GpJSV2.js +1 -0
- package/dist/public/monaco/vs/st-CuDFIVZ_.js +1 -0
- package/dist/public/monaco/vs/swift-t-PfMj7W.js +1 -0
- package/dist/public/monaco/vs/systemverilog-Ch4vA8Yt.js +1 -0
- package/dist/public/monaco/vs/tcl-D74tq1nH.js +1 -0
- package/dist/public/monaco/vs/toggleHighContrast-qGX7E9o7.js +61 -0
- package/dist/public/monaco/vs/ts.worker-2QLmBukE.js +1 -0
- package/dist/public/monaco/vs/tsMode-B0S_kp2q.js +11 -0
- package/dist/public/monaco/vs/twig-C6taOxMV.js +1 -0
- package/dist/public/monaco/vs/typescript-_2t_511t.js +1 -0
- package/dist/public/monaco/vs/typespec-8OfoLt6R.js +1 -0
- package/dist/public/monaco/vs/vb-Dyb2648j.js +1 -0
- package/dist/public/monaco/vs/wgsl-BhLXMOR0.js +298 -0
- package/dist/public/monaco/vs/workers-BBttULjf.js +1 -0
- package/dist/public/monaco/vs/xml-cZjNDqDT.js +1 -0
- package/dist/public/monaco/vs/yaml-A1fOIdH6.js +1 -0
- package/dist/src-LbWcrSWe.js +3 -0
- package/dist/styles.css +2 -0
- package/dist/styles.d.ts +1 -0
- package/dist/types.d.ts +1 -0
- package/package.json +113 -4
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import{n as e}from"./rolldown-runtime-BKuNeK48.js";import{n as t,t as n}from"./createLucideIcon-BtwfYE6A.js";var r,i;function a(){return(a=e((()=>{
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-react v1.53.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
t(),r={name:`x`,size:24,node:[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]},r.node,i=n(r)})))()}export{a as n,i as t};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import{n as e,o as t}from"./rolldown-runtime-BKuNeK48.js";import{R as n,t as r,z as i}from"./dist-Bauqz5on.js";import{_ as a,a as o,h as s,m as c,v as l}from"./fit-CsnhEncA.js";import{t as u}from"./messages-CFyOVxEM.js";import{r as d}from"./options-B65xkxOY.js";import{t as f}from"./jszip.min-hNOoGCeG.js";import{n as p,t as m}from"./panzoom.es-DnuzxUQi.js";function h(e){return e.replace(/\bxlink:href=/g,`href=`).replace(/\bxhtml:src=/g,`src=`).replace(/\bsvg:width=/g,`width=`).replace(/\bsvg:height=/g,`height=`).replace(/<xhtml:img\b/g,`<img`).replace(/<\/xhtml:img>/g,`</img>`)}async function g(e){if(typeof DOMParser<`u`)return new DOMParser().parseFromString(e,`text/xml`);try{let{DOMParser:t}=await Promise.resolve().then(()=>R(K(),1));return new t().parseFromString(e,`text/xml`)}catch{throw Error(`XML parsing requires @xmldom/xmldom in Node.js. Install it with: npm install @xmldom/xmldom`)}}function _(e){return e?(e.textContent||e.nodeValue||``).trim():``}function v(e,t,n){return e?n?e.getAttributeNS(n,t)||e.getAttribute(t)||null:e.getAttribute(t)||null:null}function y(e,t){if(!e||!e.childNodes)return[];let n=[];for(let r=0;r<e.childNodes.length;r++){let i=e.childNodes[r];if(i.nodeType===1){let e=i.localName||i.nodeName.replace(/^.*:/,``);(!t||e===t)&&n.push(i)}}return n}function b(e,t){return y(e,t)[0]||null}async function x(e,t={}){let n=t.hideEmptyValue!==!1,r=(await g(h(e))).documentElement,i=y(r,`sheet`);if(i.length===0)throw Error(`XMind 8: No sheets found in content.xml`);let a=null;t.commentsXml&&(a=await E(t.commentsXml));let o=t.resources||null,s=[];for(let e of i){let r=te();r.title=v(e,`name`)||_(b(e,`title`))||`Sheet`;let i=b(e,`topic`);if(i&&(r.root=C(i,a,n,o)),s.push(r),t.firstSheetOnly)break}return s}function S(e,t){if(!t||!e)return e;let n=e.replace(/^xap:/,``),r=t[n];if(!r)return e;let i={png:`image/png`,jpg:`image/jpeg`,jpeg:`image/jpeg`,gif:`image/gif`,webp:`image/webp`,svg:`image/svg+xml`,bmp:`image/bmp`}[n.split(`.`).pop().toLowerCase()]||`image/png`,a=``;for(let e=0;e<r.length;e++)a+=String.fromCharCode(r[e]);return`data:${i};base64,${btoa(a)}`}function C(e,t,n,r=null){let i={data:{},children:[]},a=i.data,o=v(e,`id`);a.text=_(b(e,`title`))||``;let s=v(e,`href`);s&&(s.startsWith(`xap:attachments`)||s.startsWith(`xap:resources`)?(a.hyperlink=s,a.attachment=!0):s.startsWith(`xmind:`)||s.startsWith(`#`)?(a.hyperlink=s,a.internalLink=!0):a.hyperlink=s);let c=b(e,`notes`);if(c){let e=b(c,`plain`);a.note=e?_(e):w(c)}let l=b(e,`labels`);if(l){let e=y(l,`label`);e.length>0&&(a.label=e.map(e=>_(e)).filter(Boolean))}let u=b(e,`marker-refs`);if(u){let e=y(u,`marker-ref`),t=[];for(let n of e){let e=v(n,`marker-id`);e&&(q[e]===void 0?J[e]===void 0?t.push(e):a.progress=J[e]:a.priority=q[e])}t.length>0&&(a.markers=t)}let d=T(e);d&&(a.image=S(d.src,r),(d.width||d.height)&&(a.imageSize={},d.width&&(a.imageSize.width=d.width),d.height&&(a.imageSize.height=d.height)));let f=v(e,`style-id`);f&&(a.style={"xmind-style-id":f}),v(e,`branch`)===`folded`&&(a.expandState=`collapse`);let p=v(e,`structure-class`);p&&(a[`xmind-structure`]=p),t&&o&&t[o]&&(a.comment=t[o]);let m=b(e,`children`);if(m){let e=y(m,`topics`);for(let o of e){let e=v(o,`type`);if(e===`attached`||e===null)for(let e of y(o,`topic`))i.children.push(C(e,t,n,r));else if(e===`detached`)for(let e of y(o,`topic`)){let a=C(e,t,n,r);a.data[`xmind-detached`]=!0,i.children.push(a)}else if(e===`callout`){let e=y(o,`topic`).map(e=>_(b(e,`title`))).filter(Boolean);e.length>0&&(a.note=(a.note?a.note+`
|
|
2
|
+
|
|
3
|
+
`:``)+e.join(`
|
|
4
|
+
`))}}}if(n)for(let e of Object.keys(a)){if(e===`text`)continue;let t=a[e];(t==null||t===``||Array.isArray(t)&&t.length===0)&&delete a[e]}return i}function w(e){let t=[];function n(e){if(e){if(e.nodeType===3){let n=(e.nodeValue||``).trim();n&&t.push(n)}if(e.childNodes)for(let t=0;t<e.childNodes.length;t++)n(e.childNodes[t])}}return n(e),t.join(`
|
|
5
|
+
`).trim()}function T(e){for(let t of y(e)){let e=(t.localName||t.nodeName||``).replace(/^.*:/,``);if(e===`image`){let e=v(t,`href`)||v(t,`src`);if(!e)continue;return{src:e,width:parseInt(v(t,`width`)||``,10)||void 0,height:parseInt(v(t,`height`)||``,10)||void 0}}if(e===`img`){let e=v(t,`src`);if(!e)continue;return{src:e,width:parseInt(v(t,`width`)||``,10)||void 0,height:parseInt(v(t,`height`)||``,10)||void 0}}}return null}async function E(e){if(!e||!e.trim())return null;try{let t=(await g(e)).documentElement,n=y(t,`comment`),r={};for(let e of n){let t=v(e,`object-id`);if(!t)continue;let n=v(e,`author`)||``,i=_(b(e,`content`));r[t]||(r[t]=[]),r[t].push({author:n,content:i})}return r}catch{return null}}function D(e,t={}){let n=typeof e==`string`?JSON.parse(e):e;if(!Array.isArray(n))throw Error(`XMind 2020: content.json must be an array of sheets`);let r=t.hideEmptyValue!==!1,i=t.resources||null,a=[];for(let e of n){let n=te();n.title=e.title||`Sheet`;let o=e.rootTopic;if(o&&(n.root=k(o,r,i)),a.push(n),t.firstSheetOnly)break}return a}function O(e,t){if(!t||!e)return e;let n=e.replace(/^xap:/,``),r=t[n];if(!r)return e;let i={png:`image/png`,jpg:`image/jpeg`,jpeg:`image/jpeg`,gif:`image/gif`,webp:`image/webp`,svg:`image/svg+xml`,bmp:`image/bmp`}[n.split(`.`).pop().toLowerCase()]||`image/png`,a=``;for(let e=0;e<r.length;e++)a+=String.fromCharCode(r[e]);return`data:${i};base64,${btoa(a)}`}function k(e,t=!0,n=null){let r={data:{},children:[]},i=r.data;if(i.text=e.title||``,e.href&&(i.hyperlink=e.href),e.notes&&(e.notes.plain&&e.notes.plain.content?i.note=e.notes.plain.content:e.notes.realHTML&&e.notes.realHTML.content&&(i.note=ee(e.notes.realHTML.content))),Array.isArray(e.labels)&&e.labels.length>0&&(i.label=e.labels.filter(Boolean)),Array.isArray(e.markers)&&e.markers.length>0){let t=[];for(let n of e.markers){let e=n.markerId||n.id||``;e&&(q[e]===void 0?J[e]===void 0?t.push(e):i.progress=J[e]:i.priority=q[e])}t.length>0&&(i.markers=t)}if(e.image){let t=e.image.src||e.image.url||``;if(t){i.image=O(t,n);let r=e.image.width,a=e.image.height;i.imageSize={width:r||200,height:a||200}}}let a=e.styleId||e.style&&e.style.id;if(a&&(i.style={"xmind-style-id":a}),e.style&&e.style.properties){i.style||={};let t=e.style.properties;t[`fo:color`]&&(i.style.color=t[`fo:color`]),t[`fo:background-color`]&&(i.style.background=t[`fo:background-color`]),t[`fo:font-size`]&&(i.style.fontSize=t[`fo:font-size`]),t[`fo:font-weight`]&&(i.style.fontWeight=t[`fo:font-weight`]),t[`fo:font-style`]&&(i.style.fontStyle=t[`fo:font-style`]),t[`line-color`]&&(i.style.lineColor=t[`line-color`]),t[`line-width`]&&(i.style.lineWidth=t[`line-width`]),t[`shape-class`]&&(i.style.shapeClass=t[`shape-class`])}if(e.branch===`folded`&&(i.expandState=`collapse`),e.structureClass&&(i[`xmind-structure`]=e.structureClass),e.children){if(Array.isArray(e.children.attached))for(let i of e.children.attached)r.children.push(k(i,t,n));if(Array.isArray(e.children.detached))for(let i of e.children.detached){let e=k(i,t,n);e.data[`xmind-detached`]=!0,r.children.push(e)}if(Array.isArray(e.children.summary))for(let i of e.children.summary){let e=k(i,t,n);e.data[`xmind-summary`]=!0,r.children.push(e)}if(Array.isArray(e.children.callout)&&e.children.callout.length>0){let t=e.children.callout.map(e=>(e.title||``).trim()).filter(Boolean);t.length>0&&(i.note=(i.note?i.note+`
|
|
6
|
+
|
|
7
|
+
`:``)+t.join(`
|
|
8
|
+
`))}}if(t)for(let e of Object.keys(i)){if(e===`text`)continue;let t=i[e];(t==null||t===``||Array.isArray(t)&&t.length===0)&&delete i[e]}return r}function ee(e){return e?e.replace(/<br\s*\/?>/gi,`
|
|
9
|
+
`).replace(/<\/p>/gi,`
|
|
10
|
+
`).replace(/<[^>]+>/g,``).replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`).replace(/ /g,` `).trim():``}var A,j,M,N,P,F,I,L,R,z,B,V,H,U,W,G,K,q,J,te;function ne(){return(ne=e((()=>{A=Object.create,j=Object.defineProperty,M=Object.getOwnPropertyDescriptor,N=Object.getOwnPropertyNames,P=Object.getPrototypeOf,F=Object.prototype.hasOwnProperty,I=(e,t)=>function(){try{return t||(0,e[N(e)[0]])((t={exports:{}}).exports,t),t.exports}catch(e){throw t=0,e}},L=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let i of N(t))!F.call(e,i)&&i!==n&&j(e,i,{get:()=>t[i],enumerable:!(r=M(t,i))||r.enumerable});return e},R=(e,t,n)=>(n=e==null?{}:A(P(e)),L(t||!e||!e.__esModule?j(n,`default`,{value:e,enumerable:!0}):n,e)),z=I({"../../../node_modules/.pnpm/@xmldom+xmldom@0.9.12/node_modules/@xmldom/xmldom/lib/conventions.js"(e){function t(e,t,n){if(n===void 0&&(n=Array.prototype),e&&typeof n.find==`function`)return n.find.call(e,t);for(var i=0;i<e.length;i++)if(r(e,i)){var a=e[i];if(t.call(void 0,a,i,e))return a}}function n(e,t){return t===void 0&&(t=Object),t&&typeof t.getOwnPropertyDescriptors==`function`&&(e=t.create(null,t.getOwnPropertyDescriptors(e))),t&&typeof t.freeze==`function`?t.freeze(e):e}function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function i(e,t){if(typeof e!=`object`||!e)throw TypeError(`target is not an object`);for(var n in t)r(t,n)&&(e[n]=t[n]);return e}var a=n({allowfullscreen:!0,async:!0,autofocus:!0,autoplay:!0,checked:!0,controls:!0,default:!0,defer:!0,disabled:!0,formnovalidate:!0,hidden:!0,ismap:!0,itemscope:!0,loop:!0,multiple:!0,muted:!0,nomodule:!0,novalidate:!0,open:!0,playsinline:!0,readonly:!0,required:!0,reversed:!0,selected:!0});function o(e){return r(a,e.toLowerCase())}var s=n({area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function c(e){return r(s,e.toLowerCase())}var l=n({script:!1,style:!1,textarea:!0,title:!0});function u(e){var t=e.toLowerCase();return r(l,t)&&!l[t]}function d(e){var t=e.toLowerCase();return r(l,t)&&l[t]}function f(e){return e===m.HTML}function p(e){return f(e)||e===m.XML_XHTML_APPLICATION}var m=n({HTML:`text/html`,XML_APPLICATION:`application/xml`,XML_TEXT:`text/xml`,XML_XHTML_APPLICATION:`application/xhtml+xml`,XML_SVG_IMAGE:`image/svg+xml`}),h=Object.keys(m).map(function(e){return m[e]});function g(e){return h.indexOf(e)>-1}var _=n({HTML:`http://www.w3.org/1999/xhtml`,SVG:`http://www.w3.org/2000/svg`,XML:`http://www.w3.org/XML/1998/namespace`,XMLNS:`http://www.w3.org/2000/xmlns/`});e.assign=i,e.find=t,e.freeze=n,e.HTML_BOOLEAN_ATTRIBUTES=a,e.HTML_RAW_TEXT_ELEMENTS=l,e.HTML_VOID_ELEMENTS=s,e.hasDefaultHTMLNamespace=p,e.hasOwn=r,e.isHTMLBooleanAttribute=o,e.isHTMLRawTextElement=u,e.isHTMLEscapableRawTextElement=d,e.isHTMLMimeType=f,e.isHTMLVoidElement=c,e.isValidMimeType=g,e.MIME_TYPE=m,e.NAMESPACE=_}}),B=I({"../../../node_modules/.pnpm/@xmldom+xmldom@0.9.12/node_modules/@xmldom/xmldom/lib/errors.js"(e){var t=z();function n(e,t){e.prototype=Object.create(Error.prototype,{constructor:{value:e},name:{value:e.name,enumerable:!0,writable:t}})}var r=t.freeze({Error:`Error`,IndexSizeError:`IndexSizeError`,DomstringSizeError:`DomstringSizeError`,HierarchyRequestError:`HierarchyRequestError`,WrongDocumentError:`WrongDocumentError`,InvalidCharacterError:`InvalidCharacterError`,NoDataAllowedError:`NoDataAllowedError`,NoModificationAllowedError:`NoModificationAllowedError`,NotFoundError:`NotFoundError`,NotSupportedError:`NotSupportedError`,InUseAttributeError:`InUseAttributeError`,InvalidStateError:`InvalidStateError`,SyntaxError:`SyntaxError`,InvalidModificationError:`InvalidModificationError`,NamespaceError:`NamespaceError`,InvalidAccessError:`InvalidAccessError`,ValidationError:`ValidationError`,TypeMismatchError:`TypeMismatchError`,SecurityError:`SecurityError`,NetworkError:`NetworkError`,AbortError:`AbortError`,URLMismatchError:`URLMismatchError`,QuotaExceededError:`QuotaExceededError`,TimeoutError:`TimeoutError`,InvalidNodeTypeError:`InvalidNodeTypeError`,DataCloneError:`DataCloneError`,EncodingError:`EncodingError`,NotReadableError:`NotReadableError`,UnknownError:`UnknownError`,ConstraintError:`ConstraintError`,DataError:`DataError`,TransactionInactiveError:`TransactionInactiveError`,ReadOnlyError:`ReadOnlyError`,VersionError:`VersionError`,OperationError:`OperationError`,NotAllowedError:`NotAllowedError`,OptOutError:`OptOutError`}),i=Object.keys(r);function a(e){return typeof e==`number`&&e>=1&&e<=25}function o(e){return typeof e==`string`&&e.substring(e.length-r.Error.length)===r.Error}function s(e,t){a(e)?(this.name=i[e],this.message=t||``):(this.message=e,this.name=o(t)?t:r.Error),Error.captureStackTrace&&Error.captureStackTrace(this,s)}n(s,!0),Object.defineProperties(s.prototype,{code:{enumerable:!0,get:function(){var e=i.indexOf(this.name);return a(e)?e:0}}});var c={INDEX_SIZE_ERR:1,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:3,WRONG_DOCUMENT_ERR:4,INVALID_CHARACTER_ERR:5,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:7,NOT_FOUND_ERR:8,NOT_SUPPORTED_ERR:9,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:11,SYNTAX_ERR:12,INVALID_MODIFICATION_ERR:13,NAMESPACE_ERR:14,INVALID_ACCESS_ERR:15,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:17,SECURITY_ERR:18,NETWORK_ERR:19,ABORT_ERR:20,URL_MISMATCH_ERR:21,QUOTA_EXCEEDED_ERR:22,TIMEOUT_ERR:23,INVALID_NODE_TYPE_ERR:24,DATA_CLONE_ERR:25},l=Object.entries(c);for(d=0;d<l.length;d++)u=l[d][0],s[u]=l[d][1];var u,d;function f(e,t,n){this.message=e,this.locator=t,this.cause=n,Error.captureStackTrace&&Error.captureStackTrace(this,f)}n(f),e.DOMException=s,e.DOMExceptionName=r,e.ExceptionCode=c,e.ParseError=f}}),V=I({"../../../node_modules/.pnpm/@xmldom+xmldom@0.9.12/node_modules/@xmldom/xmldom/lib/grammar.js"(e){function t(e){try{typeof e!=`function`&&(e=RegExp);var t=new e(`𝌆`,`u`).exec(`𝌆`);return!!t&&t[0].length===2}catch{}return!1}var n=t();function r(e){if(e.source[0]!==`[`)throw Error(e+` can not be used with chars`);return e.source.slice(1,e.source.lastIndexOf(`]`))}function i(e,t){if(e.source[0]!==`[`)throw Error(`/`+e.source+`/ can not be used with chars_without`);if(!t||typeof t!=`string`)throw Error(JSON.stringify(t)+` is not a valid search`);if(e.source.indexOf(t)===-1)throw Error(`"`+t+`" is not is /`+e.source+`/`);if(t===`-`&&e.source.indexOf(t)!==1)throw Error(`"`+t+`" is not at the first postion of /`+e.source+`/`);return new RegExp(e.source.replace(t,``),n?`u`:``)}function a(e){var t=this;return new RegExp(Array.prototype.slice.call(arguments).map(function(e){var n=typeof e==`string`;if(n&&t===void 0&&e===`|`)throw Error("use regg instead of reg to wrap expressions with `|`!");return n?e:e.source}).join(``),n?`u`:``)}function o(e){if(arguments.length===0)throw Error(`no parameters provided`);return a.apply(o,[`(?:`].concat(Array.prototype.slice.call(arguments),[`)`]))}var s=`�`,c=/[-\x09\x0A\x0D\x20-\x2C\x2E-\uD7FF\uE000-\uFFFD]/;n&&(c=a(`[`,r(c),`\\u{10000}-\\u{10FFFF}`,`]`));var l=RegExp(`[^`+r(c)+`]`,n?`u`:``),u=/[\x20\x09\x0D\x0A]/,d=r(u),f=a(u,`+`),p=a(u,`*`),m=/[:_a-zA-Z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;n&&(m=a(`[`,r(m),`\\u{10000}-\\u{10FFFF}`,`]`));var h=a(`[`,r(m),r(/[-.0-9\xB7]/),r(/[\u0300-\u036F\u203F-\u2040]/),`]`),g=a(m,h,`*`),_=a(`^`,g,`$`),v=a(h,`+`),y=o(a(`&`,g,`;`),`|`,o(/&#[0-9]+;|&#x[0-9a-fA-F]+;/)),b=a(`%`,g,`;`),x=o(a(`"`,o(/[^%&"]/,`|`,b,`|`,y),`*`,`"`),`|`,a(`'`,o(/[^%&']/,`|`,b,`|`,y),`*`,`'`)),S=o(`"`,o(/[^<&"]/,`|`,y),`*`,`"`,`|`,`'`,o(/[^<&']/,`|`,y),`*`,`'`),C=a(i(m,`:`),i(h,`:`),`*`),w=a(`^`,C,`$`),T=a(C,o(`:`,C),`?`),E=a(`^`,T,`$`),D=a(`(`,T,`)`),O=o(/"[^"]*"|'[^']*'/),k=a(/^<\?/,`(`,g,`)`,o(f,`(?!`,u,`)(`,c,`*?)`),`?`,/\?>/),ee=/[\x20\x0D\x0Aa-zA-Z0-9-'()+,./:=?;!*#@$_%]/,A=o(`"`,ee,`*"`,`|`,`'`,i(ee,`'`),`*'`),j=`<!--`,M=`-->`,N=a(j,o(i(c,`-`),`|`,a(`-`,i(c,`-`))),`*`,M),P=`#PCDATA`,F=o(`EMPTY`,`|`,`ANY`,`|`,o(a(/\(/,p,P,o(p,/\|/,p,T),`*`,p,/\)\*/),`|`,a(/\(/,p,P,p,/\)/)),`|`,a(/\([^>]+\)/,/[?*+]?/)),I=a(`<!ELEMENT`,f,o(T,`|`,b),f,o(F,`|`,b),p,`>`),L=a(`<!ATTLIST`,f,g,o(f,g,f,o(/CDATA|ID|IDREF|IDREFS|ENTITY|ENTITIES|NMTOKEN|NMTOKENS/,`|`,o(a(`NOTATION`,f,/\(/,p,g,o(p,/\|/,p,g),`*`,p,/\)/),`|`,a(/\(/,p,v,o(p,/\|/,p,v),`*`,p,/\)/))),f,o(/#REQUIRED|#IMPLIED/,`|`,o(o(`#FIXED`,f),`?`,S))),`*`,p,`>`),R=`about:legacy-compat`,z=o(`"`+R+`"`,`|`,`'`+R+`'`),B=`SYSTEM`,V=`PUBLIC`,H=o(o(B,f,O),`|`,o(V,f,A,f,O)),U=a(`^`,o(o(B,f,`(?<SystemLiteralOnly>`,O,`)`),`|`,o(V,f,`(?<PubidLiteral>`,A,`)`,f,`(?<SystemLiteral>`,O,`)`))),W=a(`^`,A,`$`),G=a(`^`,O,`$`),K=o(x,`|`,o(H,o(f,`NDATA`,f,g),`?`)),q=`<!ENTITY`,J=o(a(q,f,g,f,K,p,`>`),`|`,a(q,f,`%`,f,g,f,o(x,`|`,H),p,`>`)),te=a(`<!NOTATION`,f,g,f,o(H,`|`,a(V,f,A)),p,`>`),ne=a(p,`=`,p),Y=/1[.]\d+/,re=a(f,`version`,ne,o(`'`,Y,`'`,`|`,`"`,Y,`"`)),ie=/[A-Za-z][-A-Za-z0-9._]*/,ae=a(/^<\?xml/,re,o(f,`encoding`,ne,o(`"`,ie,`"`,`|`,`'`,ie,`'`)),`?`,o(f,`standalone`,ne,o(`'`,o(`yes`,`|`,`no`),`'`,`|`,`"`,o(`yes`,`|`,`no`),`"`)),`?`,p,/\?>/),X=`<!DOCTYPE`,oe=`<![CDATA[`,Z=`]]>`,Q=a(/<!\[CDATA\[/,a(c,`*?`,/\]\]>/));e.chars=r,e.chars_without=i,e.detectUnicodeSupport=t,e.reg=a,e.regg=o,e.ABOUT_LEGACY_COMPAT=R,e.ABOUT_LEGACY_COMPAT_SystemLiteral=z,e.AttlistDecl=L,e.CDATA_START=oe,e.CDATA_END=Z,e.CDSect=Q,e.Char=c,e.Comment=N,e.COMMENT_START=j,e.COMMENT_END=M,e.DOCTYPE_DECL_START=X,e.elementdecl=I,e.EntityDecl=J,e.EntityValue=x,e.ExternalID=H,e.ExternalID_match=U,e.Name=g,e.Name_exact=_,e.NCName_exact=w,e.NotationDecl=te,e.Reference=y,e.PEReference=b,e.PI=k,e.PUBLIC=V,e.PubidLiteral=A,e.PubidLiteral_match=W,e.QName=T,e.QName_exact=E,e.QName_group=D,e.S=f,e.SChar_s=d,e.S_OPT=p,e.SYSTEM=B,e.SystemLiteral=O,e.SystemLiteral_match=G,e.InvalidChar=l,e.UNICODE_REPLACEMENT_CHARACTER=s,e.UNICODE_SUPPORT=n,e.XMLDecl=ae}}),H=I({"../../../node_modules/.pnpm/@xmldom+xmldom@0.9.12/node_modules/@xmldom/xmldom/lib/dom.js"(e){var t=z(),n=t.find,r=t.hasDefaultHTMLNamespace,i=t.hasOwn,a=t.isHTMLMimeType,o=t.isHTMLRawTextElement,s=t.isHTMLVoidElement,c=t.MIME_TYPE,l=t.NAMESPACE,u=/* @__PURE__ */ Symbol(),d=B(),f=d.DOMException,p=d.DOMExceptionName,m=V();function h(e){if(e!==u)throw TypeError(`Illegal constructor`)}function g(e){return e!==``}function _(e){return e?e.split(/[\t\n\f\r ]+/).filter(g):[]}function v(e,t){return i(e,t)||(e[t]=!0),e}function y(e){if(!e)return[];var t=_(e);return Object.keys(t.reduce(v,{}))}function b(e){return function(t){return e&&e.indexOf(t)!==-1}}function x(e){if(!m.QName_exact.test(e))throw new f(f.INVALID_CHARACTER_ERR,`invalid character in qualified name "`+e+`"`)}function S(e,n){x(n),e||=null;var r=null,i=n;if(n.indexOf(`:`)>=0){var a=n.split(`:`);r=a[0],i=a[1]}if(r!==null&&e===null)throw new f(f.NAMESPACE_ERR,`prefix is non-null and namespace is null`);if(r===`xml`&&e!==t.NAMESPACE.XML)throw new f(f.NAMESPACE_ERR,`prefix is "xml" and namespace is not the XML namespace`);if((r===`xmlns`||n===`xmlns`)&&e!==t.NAMESPACE.XMLNS)throw new f(f.NAMESPACE_ERR,`either qualifiedName or prefix is "xmlns" and namespace is not the XMLNS namespace`);if(e===t.NAMESPACE.XMLNS&&r!==`xmlns`&&n!==`xmlns`)throw new f(f.NAMESPACE_ERR,`namespace is the XMLNS namespace and neither qualifiedName nor prefix is "xmlns"`);return[e,r,i]}function C(e,t){for(var n in e)i(e,n)&&(t[n]=e[n])}function w(e,t){var n=e.prototype;if(!(n instanceof t)){let r=function(){};r.prototype=t.prototype,r=new r,C(n,r),e.prototype=n=r}n.constructor!=e&&(typeof e!=`function`&&console.error(`unknown Class:`+e),n.constructor=e)}var T={},E=T.ELEMENT_NODE=1,D=T.ATTRIBUTE_NODE=2,O=T.TEXT_NODE=3,k=T.CDATA_SECTION_NODE=4,ee=T.ENTITY_REFERENCE_NODE=5,A=T.ENTITY_NODE=6,j=T.PROCESSING_INSTRUCTION_NODE=7,M=T.COMMENT_NODE=8,N=T.DOCUMENT_NODE=9,P=T.DOCUMENT_TYPE_NODE=10,F=T.DOCUMENT_FRAGMENT_NODE=11,I=T.NOTATION_NODE=12,L=t.freeze({DOCUMENT_POSITION_DISCONNECTED:1,DOCUMENT_POSITION_PRECEDING:2,DOCUMENT_POSITION_FOLLOWING:4,DOCUMENT_POSITION_CONTAINS:8,DOCUMENT_POSITION_CONTAINED_BY:16,DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:32});function R(e,t){if(t.length<e.length)return R(t,e);var n=null;for(var r in e){if(e[r]!==t[r])return n;n=e[r]}return n}function H(e){return e.guid||=Math.random(),e.guid}function U(){}U.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e){for(var t=typeof e==`function`?{requireWellFormed:!1,splitCDATASections:!0,nodeFilter:e}:e?{requireWellFormed:!!e.requireWellFormed,splitCDATASections:e.splitCDATASections!==!1,nodeFilter:e.nodeFilter||null}:{requireWellFormed:!1,splitCDATASections:!0,nodeFilter:null},n=[],r=0;r<this.length;r++)Re(this[r],n,null,t);return n.join(``)},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}},U.prototype[Symbol.iterator]=function(){var e=this,t=0;return{next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0}},return:function(){return{done:!0}}}};function W(e,t){this._node=e,this._refresh=t,G(this)}function G(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var n=e._refresh(e._node);if(Ve(e,`length`,n.length),!e.$$length||n.length<e.$$length)for(var r=n.length;r in e;r++)i(e,r)&&delete e[r];C(n,e),e._inc=t}}W.prototype.item=function(e){return G(this),this[e]||null},w(W,U);function K(){this._nsIndex=/* @__PURE__ */ Object.create(null),this._noNsIndex=/* @__PURE__ */ Object.create(null)}function q(e,t){for(var n=0;n<e.length;){if(e[n]===t)return n;n++}}function J(e,t,n){if(!t)return e._noNsIndex;var r=e._nsIndex[t];return!r&&n&&(r=e._nsIndex[t]=/* @__PURE__ */ Object.create(null)),r}function te(e,t,n){var r=J(e,t,!1);return r&&r[n]||null}function ne(e,t){J(e,t.namespaceURI,!0)[t.localName]=t}function Y(e,t){var n=J(e,t.namespaceURI,!1);n&&delete n[t.localName]}function re(e,t,n,r){if(r?t[q(t,r)]=n:(t[t.length]=n,t.length++),ne(t,n),e){n.ownerElement=e;var i=e.ownerDocument;i&&(r&&le(i,e,r),ce(i,e,n))}}function ie(e,t,n){var r=q(t,n);if(r>=0){for(var i=t.length-1;r<=i;)t[r]=t[++r];if(t.length=i,Y(t,n),e){var a=e.ownerDocument;a&&le(a,e,n),n.ownerElement=null}}}K.prototype={length:0,item:U.prototype.item,getNamedItem:function(e){this._ownerElement&&this._ownerElement._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase());for(var t=0;t<this.length;){var n=this[t];if(n.nodeName===e)return n;t++}return null},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!==this._ownerElement)throw new f(f.INUSE_ATTRIBUTE_ERR);var n=te(this,e.namespaceURI,e.localName);return n===e?e:(re(this._ownerElement,this,e,n),n)},setNamedItemNS:function(e){return this.setNamedItem(e)},removeNamedItem:function(e){var t=this.getNamedItem(e);if(!t)throw new f(f.NOT_FOUND_ERR,e);return ie(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);if(!n)throw new f(f.NOT_FOUND_ERR,e?e+` : `+t:t);return ie(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){e||=null;for(var n=0;n<this.length;){var r=this[n];if(r.localName===t&&r.namespaceURI===e)return r;n++}return null}},K.prototype[Symbol.iterator]=function(){var e=this,t=0;return{next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0}},return:function(){return{done:!0}}}};function ae(){}ae.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,n){var r=c.XML_APPLICATION;e===l.HTML?r=c.XML_XHTML_APPLICATION:e===l.SVG&&(r=c.XML_SVG_IMAGE);var i=new se(u,{contentType:r});if(i.implementation=this,i.childNodes=new U,i.doctype=n||null,n&&i.appendChild(n),t){var a=i.createElementNS(e,t);i.appendChild(a)}return i},createDocumentType:function(e,t,n,r){x(e);var i=new Oe(u);return i.name=e,i.nodeName=e,i.publicId=t||``,i.systemId=n||``,i.internalSubset=r||``,i.childNodes=new U,i},createHTMLDocument:function(e){var t=new se(u,{contentType:c.HTML});if(t.implementation=this,t.childNodes=new U,e!==!1){t.doctype=this.createDocumentType(`html`),t.doctype.ownerDocument=t,t.appendChild(t.doctype);var n=t.createElement(`html`);t.appendChild(n);var r=t.createElement(`head`);if(n.appendChild(r),typeof e==`string`){var i=t.createElement(`title`);i.appendChild(t.createTextNode(e)),r.appendChild(i)}n.appendChild(t.createElement(`body`))}return t}};function X(e){h(e)}X.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,parentNode:null,get parentElement(){return this.parentNode&&this.parentNode.nodeType===this.ELEMENT_NODE?this.parentNode:null},childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,baseURI:`about:blank`,get isConnected(){var e=this.getRootNode();return e&&e.nodeType===e.DOCUMENT_NODE},contains:function(e){if(!e)return!1;var t=e;do{if(this===t)return!0;t=t.parentNode}while(t);return!1},getRootNode:function(e){var t=this;do{if(!t.parentNode)return t;t=t.parentNode}while(t)},isEqualNode:function(e){if(!e)return!1;for(var t=[{node:this,other:e}];t.length>0;){var n=t.pop(),r=n.node,i=n.other;if(r.nodeType!==i.nodeType)return!1;switch(r.nodeType){case r.DOCUMENT_TYPE_NODE:if(r.name!==i.name||r.publicId!==i.publicId||r.systemId!==i.systemId)return!1;break;case r.ELEMENT_NODE:if(r.namespaceURI!==i.namespaceURI||r.prefix!==i.prefix||r.localName!==i.localName||r.attributes.length!==i.attributes.length)return!1;for(var a=0;a<r.attributes.length;a++){var o=r.attributes.item(a),s=i.getAttributeNodeNS(o.namespaceURI,o.localName);if(!s)return!1;t.push({node:o,other:s})}break;case r.ATTRIBUTE_NODE:if(r.namespaceURI!==i.namespaceURI||r.localName!==i.localName||r.value!==i.value)return!1;break;case r.PROCESSING_INSTRUCTION_NODE:if(r.target!==i.target||r.data!==i.data)return!1;break;case r.TEXT_NODE:case r.CDATA_SECTION_NODE:case r.COMMENT_NODE:if(r.data!==i.data)return!1}if(r.childNodes.length!==i.childNodes.length)return!1;for(var a=r.childNodes.length-1;a>=0;a--)t.push({node:r.childNodes[a],other:i.childNodes[a]})}return!0},isSameNode:function(e){return this===e},insertBefore:function(e,t){return xe(this,e,t)},replaceChild:function(e,t){xe(this,e,t,be),t&&this.removeChild(t)},removeChild:function(e){return de(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(e){return Be(this.ownerDocument||this,this,e)},normalize:function(){Q(this,null,{enter:function(e){for(var t=e.firstChild;t;){var n=t.nextSibling;if(n!==null&&n.nodeType===O&&t.nodeType===O){for(var r=[],i=n;i!==null&&i.nodeType===O;)r.push(i.data),i=i.nextSibling;for(var a=t.nextSibling;a!==i;){var o=a.nextSibling;a.parentNode=null,a.previousSibling=null,a.nextSibling=null,a=o}t.nextSibling=i,i===null?e.lastChild=t:i.previousSibling=t,t.appendData(r.join(``)),ue(e.ownerDocument,e),t=i}else t=n}return!0}})},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},lookupPrefix:function(e){for(var t=this;t;){var n=t._nsMap;if(n){for(var r in n)if(i(n,r)&&n[r]===e)return r}t=t.nodeType==D?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&i(n,e))return n[e];t=t.nodeType==D?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return this.lookupPrefix(e)==null},compareDocumentPosition:function(e){if(this===e)return 0;var t=e,n=this,r=null,i=null;if(t instanceof Ce&&(r=t,t=r.ownerElement),n instanceof Ce&&(i=n,n=i.ownerElement,r&&t&&n===t))for(var a=0,o;o=n.attributes[a];a++){if(o===r)return L.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+L.DOCUMENT_POSITION_PRECEDING;if(o===i)return L.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+L.DOCUMENT_POSITION_FOLLOWING}if(!t||!n||n.ownerDocument!==t.ownerDocument)return L.DOCUMENT_POSITION_DISCONNECTED+L.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+(H(n.ownerDocument)>H(t.ownerDocument)?L.DOCUMENT_POSITION_FOLLOWING:L.DOCUMENT_POSITION_PRECEDING);if(i&&t===n)return L.DOCUMENT_POSITION_CONTAINS+L.DOCUMENT_POSITION_PRECEDING;if(r&&t===n)return L.DOCUMENT_POSITION_CONTAINED_BY+L.DOCUMENT_POSITION_FOLLOWING;for(var s=[],c=t.parentNode;c;){if(!i&&c===n)return L.DOCUMENT_POSITION_CONTAINED_BY+L.DOCUMENT_POSITION_FOLLOWING;s.push(c),c=c.parentNode}s.reverse();for(var l=[],u=n.parentNode;u;){if(!r&&u===t)return L.DOCUMENT_POSITION_CONTAINS+L.DOCUMENT_POSITION_PRECEDING;l.push(u),u=u.parentNode}l.reverse();var d=R(s,l);for(var f in d.childNodes){var p=d.childNodes[f];if(p===n)return L.DOCUMENT_POSITION_FOLLOWING;if(p===t)return L.DOCUMENT_POSITION_PRECEDING;if(l.indexOf(p)>=0)return L.DOCUMENT_POSITION_FOLLOWING;if(s.indexOf(p)>=0)return L.DOCUMENT_POSITION_PRECEDING}return 0}};function oe(e){return e==`<`&&`<`||e==`>`&&`>`||e==`&`&&`&`||e==`"`&&`"`||`&#`+e.charCodeAt()+`;`}C(T,X),C(T,X.prototype),C(L,X),C(L,X.prototype);function Z(e,t){Q(e,null,{enter:function(e){return!t(e)||Q.STOP}})}function Q(e,t,n){for(var r=[{node:e,context:t,phase:Q.ENTER}];r.length>0;){var i=r.pop();if(i.phase===Q.ENTER){var a=n.enter(i.node,i.context);if(a===Q.STOP)return Q.STOP;if(r.push({node:i.node,context:a,phase:Q.EXIT}),a==null)continue;for(var o=i.node.lastChild;o;)r.push({node:o,context:a,phase:Q.ENTER}),o=o.previousSibling}else n.exit&&n.exit(i.node,i.context)}}Q.STOP=/* @__PURE__ */ Symbol(`walkDOM.STOP`),Q.ENTER=0,Q.EXIT=1;function se(e,t){h(e);var n=t||{};this.ownerDocument=this,this.contentType=n.contentType||c.XML_APPLICATION,this.type=a(this.contentType)?`html`:`xml`}function ce(e,t,n){e&&e._inc++,n.namespaceURI===l.XMLNS&&(t._nsMap[n.prefix?n.localName:``]=n.value)}function le(e,t,n,r){e&&e._inc++,n.namespaceURI===l.XMLNS&&delete t._nsMap[n.prefix?n.localName:``]}function ue(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n&&!n.nextSibling)r[r.length++]=n;else{for(var i=t.firstChild,a=0;i;)r[a++]=i,i=i.nextSibling;r.length=a,delete r[r.length]}}}function de(e,t){if(e!==t.parentNode)throw new f(f.NOT_FOUND_ERR,`child's parent is not parent`);var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,ue(e.ownerDocument,e),t.parentNode=null,t.previousSibling=null,t.nextSibling=null,t}function fe(e){return e&&(e.nodeType===X.DOCUMENT_NODE||e.nodeType===X.DOCUMENT_FRAGMENT_NODE||e.nodeType===X.ELEMENT_NODE)}function pe(e){return e&&(e.nodeType===X.CDATA_SECTION_NODE||e.nodeType===X.COMMENT_NODE||e.nodeType===X.DOCUMENT_FRAGMENT_NODE||e.nodeType===X.DOCUMENT_TYPE_NODE||e.nodeType===X.ELEMENT_NODE||e.nodeType===X.PROCESSING_INSTRUCTION_NODE||e.nodeType===X.TEXT_NODE)}function me(e){return e&&e.nodeType===X.DOCUMENT_TYPE_NODE}function he(e){return e&&e.nodeType===X.ELEMENT_NODE}function ge(e){return e&&e.nodeType===X.TEXT_NODE}function $(e,t){var r=e.childNodes||[];if(n(r,he)||me(t))return!1;var i=n(r,me);return!(t&&i&&r.indexOf(i)>r.indexOf(t))}function _e(e,t){var r=e.childNodes||[];function i(e){return he(e)&&e!==t}if(n(r,i))return!1;var a=n(r,me);return!(t&&a&&r.indexOf(a)>r.indexOf(t))}function ve(e,t,n){if(!fe(e))throw new f(f.HIERARCHY_REQUEST_ERR,`Unexpected parent node type `+e.nodeType);if(n&&n.parentNode!==e)throw new f(f.NOT_FOUND_ERR,`child not in parent`);if(!pe(t)||me(t)&&e.nodeType!==X.DOCUMENT_NODE)throw new f(f.HIERARCHY_REQUEST_ERR,`Unexpected node type `+t.nodeType+` for parent node type `+e.nodeType)}function ye(e,t,r){var i=e.childNodes||[],a=t.childNodes||[];if(t.nodeType===X.DOCUMENT_FRAGMENT_NODE){var o=a.filter(he);if(o.length>1||n(a,ge))throw new f(f.HIERARCHY_REQUEST_ERR,`More than one element or text in fragment`);if(o.length===1&&!$(e,r))throw new f(f.HIERARCHY_REQUEST_ERR,`Element in fragment can not be inserted before doctype`)}if(he(t)&&!$(e,r))throw new f(f.HIERARCHY_REQUEST_ERR,`Only one element can be added and only after doctype`);if(me(t)){if(n(i,me))throw new f(f.HIERARCHY_REQUEST_ERR,`Only one doctype is allowed`);var s=n(i,he);if(r&&i.indexOf(s)<i.indexOf(r))throw new f(f.HIERARCHY_REQUEST_ERR,`Doctype can only be inserted before an element`);if(!r&&s)throw new f(f.HIERARCHY_REQUEST_ERR,`Doctype can not be appended since element is present`)}}function be(e,t,r){var i=e.childNodes||[],a=t.childNodes||[];if(t.nodeType===X.DOCUMENT_FRAGMENT_NODE){var o=a.filter(he);if(o.length>1||n(a,ge))throw new f(f.HIERARCHY_REQUEST_ERR,`More than one element or text in fragment`);if(o.length===1&&!_e(e,r))throw new f(f.HIERARCHY_REQUEST_ERR,`Element in fragment can not be inserted before doctype`)}if(he(t)&&!_e(e,r))throw new f(f.HIERARCHY_REQUEST_ERR,`Only one element can be added and only after doctype`);if(me(t)){if(n(i,function(e){return me(e)&&e!==r}))throw new f(f.HIERARCHY_REQUEST_ERR,`Only one doctype is allowed`);var s=n(i,he);if(r&&i.indexOf(s)<i.indexOf(r))throw new f(f.HIERARCHY_REQUEST_ERR,`Doctype can only be inserted before an element`)}}function xe(e,t,n,r){ve(e,t,n),e.nodeType===X.DOCUMENT_NODE&&(r||ye)(e,t,n);var i=t.parentNode;if(i&&i.removeChild(t),t.nodeType===F){var a=t.firstChild;if(a==null)return t;var o=t.lastChild}else a=o=t;var s=n?n.previousSibling:e.lastChild;a.previousSibling=s,o.nextSibling=n,s?s.nextSibling=a:e.firstChild=a,n==null?e.lastChild=o:n.previousSibling=o;do a.parentNode=e;while(a!==o&&(a=a.nextSibling));return ue(e.ownerDocument||e,e,t),t.nodeType==F&&(t.firstChild=t.lastChild=null),t}se.prototype={implementation:null,nodeName:`#document`,nodeType:N,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType===F){for(var n=e.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return xe(this,e,t),e.ownerDocument=this,this.documentElement===null&&e.nodeType===E&&(this.documentElement=e),e},removeChild:function(e){var t=de(this,e);return t===this.documentElement&&(this.documentElement=null),t},replaceChild:function(e,t){xe(this,e,t,be),e.ownerDocument=this,t&&this.removeChild(t),he(e)&&(this.documentElement=e)},importNode:function(e,t){return ze(this,e,t)},getElementById:function(e){var t=null;return Z(this.documentElement,function(n){if(n.nodeType==E&&n.getAttribute(`id`)==e)return t=n,!0}),t},createElement:function(e){var t=new Se(u);t.ownerDocument=this,this.type===`html`&&(e=e.toLowerCase()),r(this.contentType)&&(t.namespaceURI=l.HTML),t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new U;var n=t.attributes=new K;return n._ownerElement=t,t},createDocumentFragment:function(){var e=new Me(u);return e.ownerDocument=this,e.childNodes=new U,e},createTextNode:function(e){var t=new Te(u);return t.ownerDocument=this,t.childNodes=new U,t.appendData(e),t},createComment:function(e){var t=new Ee(u);return t.ownerDocument=this,t.childNodes=new U,t.appendData(e),t},createCDATASection:function(e){if(e.indexOf(`]]>`)!==-1)throw new f(f.INVALID_CHARACTER_ERR,`data contains "]]>"`);var t=new De(u);return t.ownerDocument=this,t.childNodes=new U,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new Ne(u);return n.ownerDocument=this,n.childNodes=new U,n.nodeName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){if(!m.QName_exact.test(e))throw new f(f.INVALID_CHARACTER_ERR,`invalid character in name "`+e+`"`);return this.type===`html`&&(e=e.toLowerCase()),this._createAttribute(e)},_createAttribute:function(e){var t=new Ce(u);return t.ownerDocument=this,t.childNodes=new U,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){if(!m.Name_exact.test(e))throw new f(f.INVALID_CHARACTER_ERR,`not a valid xml name "`+e+`"`);if(this.type===`html`)throw new f(`document is an html document`,p.NotSupportedError);var t=new je(u);return t.ownerDocument=this,t.childNodes=new U,t.nodeName=e,t},createElementNS:function(e,t){var n=S(e,t),r=new Se(u),i=r.attributes=new K;return r.childNodes=new U,r.ownerDocument=this,r.nodeName=t,r.tagName=t,r.namespaceURI=n[0],r.prefix=n[1],r.localName=n[2],i._ownerElement=r,r},createAttributeNS:function(e,t){var n=S(e,t),r=new Ce(u);return r.ownerDocument=this,r.childNodes=new U,r.nodeName=t,r.name=t,r.specified=!0,r.namespaceURI=n[0],r.prefix=n[1],r.localName=n[2],r}},w(se,X);function Se(e){h(e),this._nsMap=/* @__PURE__ */ Object.create(null)}Se.prototype={nodeType:E,attributes:null,getQualifiedName:function(){return this.prefix?this.prefix+`:`+this.localName:this.localName},_isInHTMLDocumentAndNamespace:function(){return this.ownerDocument.type===`html`&&this.namespaceURI===l.HTML},hasAttributes:function(){return!!(this.attributes&&this.attributes.length)},hasAttribute:function(e){return!!this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t?t.value:null},getAttributeNode:function(e){return this._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase()),this.attributes.getNamedItem(e)},setAttribute:function(e,t){this._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase());var n=this.getAttributeNode(e);n?n.value=n.nodeValue=``+t:(n=this.ownerDocument._createAttribute(e),n.value=n.nodeValue=``+t,this.setAttributeNode(n))},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return this.getAttributeNodeNS(e,t)!=null},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n?n.value:null},setAttributeNS:function(e,t,n){var r=S(e,t)[2],i=this.getAttributeNodeNS(e,r);i?i.value=i.nodeValue=``+n:(i=this.ownerDocument.createAttributeNS(e,t),i.value=i.nodeValue=``+n,this.setAttributeNode(i))},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByClassName:function(e){var t=y(e);return new W(this,function(n){var r=[];return t.length>0&&Z(n,function(i){if(i!==n&&i.nodeType===E){var a=i.getAttribute(`class`);if(a){var o=e===a;if(!o){var s=y(a);o=t.every(b(s))}o&&r.push(i)}}}),r})},getElementsByTagName:function(e){var t=(this.nodeType===N?this:this.ownerDocument).type===`html`,n=e.toLowerCase();return new W(this,function(r){var i=[];return Z(r,function(a){a!==r&&a.nodeType===E&&(e===`*`||a.getQualifiedName()===(t&&a.namespaceURI===l.HTML?n:e))&&i.push(a)}),i})},getElementsByTagNameNS:function(e,t){return new W(this,function(n){var r=[];return Z(n,function(i){i!==n&&i.nodeType===E&&(e===`*`||i.namespaceURI===e)&&(t===`*`||i.localName==t)&&r.push(i)}),r})}},se.prototype.getElementsByClassName=Se.prototype.getElementsByClassName,se.prototype.getElementsByTagName=Se.prototype.getElementsByTagName,se.prototype.getElementsByTagNameNS=Se.prototype.getElementsByTagNameNS,w(Se,X);function Ce(e){h(e),this.namespaceURI=null,this.prefix=null,this.ownerElement=null}Ce.prototype.nodeType=D,w(Ce,X);function we(e){h(e)}we.prototype={data:``,substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},deleteData:function(e,t){this.replaceData(e,t,``)},replaceData:function(e,t,n){var r=this.data.substring(0,e),i=this.data.substring(e+t);n=r+n+i,this.nodeValue=this.data=n,this.length=n.length}},w(we,X);function Te(e){h(e)}Te.prototype={nodeName:`#text`,nodeType:O,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},w(Te,we);function Ee(e){h(e)}Ee.prototype={nodeName:`#comment`,nodeType:M},w(Ee,we);function De(e){h(e)}De.prototype={nodeName:`#cdata-section`,nodeType:k},w(De,Te);function Oe(e){h(e)}Oe.prototype.nodeType=P,w(Oe,X);function ke(e){h(e)}ke.prototype.nodeType=I,w(ke,X);function Ae(e){h(e)}Ae.prototype.nodeType=A,w(Ae,X);function je(e){h(e)}je.prototype.nodeType=ee,w(je,X);function Me(e){h(e)}Me.prototype.nodeName=`#document-fragment`,Me.prototype.nodeType=F,w(Me,X);function Ne(e){h(e)}Ne.prototype.nodeType=j,w(Ne,we);function Pe(){}Pe.prototype.serializeToString=function(e,t){return Fe.call(e,t)},X.prototype.toString=Fe;function Fe(e){var t=typeof e==`function`?{requireWellFormed:!1,splitCDATASections:!0,nodeFilter:e}:e==null?{requireWellFormed:!1,splitCDATASections:!0,nodeFilter:null}:{requireWellFormed:!!e.requireWellFormed,splitCDATASections:e.splitCDATASections!==!1,nodeFilter:e.nodeFilter||null},n=[],r=this.nodeType===N&&this.documentElement||this,i=r.prefix,a=r.namespaceURI;if(a&&i==null){var i=r.lookupPrefix(a);if(i==null)var o=[{namespace:a,prefix:null}]}return Re(this,n,o,t),n.join(``)}function Ie(e,t,n){var r=e.prefix||``,i=e.namespaceURI;if(!i||r===`xml`&&i===l.XML||i===l.XMLNS)return!1;for(var a=n.length;a--;){var o=n[a];if(o.prefix===r)return o.namespace!==i}return!0}function Le(e,t,n,r){if(r&&!m.QName_exact.test(t))throw new f(`The attribute name "`+t+`" is not a valid XML QName`,p.InvalidStateError);e.push(` `,t,`="`,n.replace(/[<>&"\t\n\r]/g,oe),`"`)}function Re(e,t,n,r){n||=[];var i=r.nodeFilter,a=r.requireWellFormed,c=r.splitCDATASections,u=(e.nodeType===N?e:e.ownerDocument).type===`html`;Q(e,{ns:n},{enter:function(e,n){var d=n.ns;if(i){if(e=i(e),e){if(typeof e==`string`)return t.push(e),null}else return null}switch(e.nodeType){case E:var h=e.attributes,g=h.length,_=e.tagName,v=_;if(!u&&!e.prefix&&e.namespaceURI){for(var y,b=0;b<h.length;b++)if(h.item(b).name===`xmlns`){y=h.item(b).value;break}if(!y)for(var x=d.length-1;x>=0;x--){var S=d[x];if(S.prefix===``&&S.namespace===e.namespaceURI){y=S.namespace;break}}if(y!==e.namespaceURI)for(var x=d.length-1;x>=0;x--){var S=d[x];if(S.namespace===e.namespaceURI){S.prefix&&(v=S.prefix+`:`+_);break}}}if(a&&!m.QName_exact.test(v))throw new f(`The element name "`+v+`" is not a valid XML QName`,p.InvalidStateError);t.push(`<`,v);for(var C=d.slice(),w=0;w<g;w++){var T=h.item(w);T.prefix==`xmlns`?C.push({prefix:T.localName,namespace:T.value}):T.nodeName==`xmlns`&&C.push({prefix:``,namespace:T.value})}for(var w=0;w<g;w++){var T=h.item(w);if(Ie(T,u,C)){var A=T.prefix||``,I=T.namespaceURI;Le(t,A?`xmlns:`+A:`xmlns`,I,a),C.push({prefix:A,namespace:I})}var L=i?i(T):T;L&&(typeof L==`string`?t.push(L):Le(t,L.name,L.value,a))}if(_===v&&Ie(e,u,C)){var R=e.prefix||``,I=e.namespaceURI;Le(t,R?`xmlns:`+R:`xmlns`,I,a),C.push({prefix:R,namespace:I})}var z=!e.firstChild;if(z&&(u||e.namespaceURI===l.HTML)&&(z=s(_)),z)return t.push(`/>`),null;if(t.push(`>`),u&&o(_)){for(var B=e.firstChild;B;)B.data?t.push(B.data):Re(B,t,C.slice(),r),B=B.nextSibling;return t.push(`</`,v,`>`),null}return{ns:C,tag:v};case N:case F:if(a&&e.nodeType===N&&e.documentElement==null)throw new f(`The Document has no documentElement`,p.InvalidStateError);return{ns:d};case D:return Le(t,e.name,e.value,a),null;case O:if(a&&m.InvalidChar.test(e.data))throw new f(`The Text node data contains characters outside the XML Char production`,p.InvalidStateError);return t.push(e.data.replace(/[<&>]/g,oe)),null;case k:if(a&&e.data.indexOf(`]]>`)!==-1)throw new f(`The CDATASection data contains "]]>"`,p.InvalidStateError);return c?t.push(m.CDATA_START,e.data.replace(/]]>/g,`]]]]><![CDATA[>`),m.CDATA_END):t.push(m.CDATA_START,e.data,m.CDATA_END),null;case M:if(a){if(m.InvalidChar.test(e.data))throw new f(`The comment node data contains characters outside the XML Char production`,p.InvalidStateError);if(e.data.indexOf(`--`)!==-1||e.data[e.data.length-1]===`-`)throw new f(`The comment node data contains "--" or ends with "-"`,p.InvalidStateError)}return t.push(m.COMMENT_START,e.data,m.COMMENT_END),null;case P:var V=e.publicId,H=e.systemId;if(a){if(!m.Name_exact.test(e.name))throw new f(`The doctype name "`+e.name+`" is not a valid XML Name`,p.InvalidStateError);if(V&&!m.PubidLiteral_match.test(V))throw new f(`DocumentType publicId is not a valid PubidLiteral`,p.InvalidStateError);if(H&&H!==`.`&&!m.SystemLiteral_match.test(H))throw new f(`DocumentType systemId is not a valid SystemLiteral`,p.InvalidStateError);if(e.internalSubset&&e.internalSubset.indexOf(`]>`)!==-1)throw new f(`DocumentType internalSubset contains "]>"`,p.InvalidStateError)}return t.push(m.DOCTYPE_DECL_START,` `,e.name),V?(t.push(` `,m.PUBLIC,` `,V),H&&H!==`.`&&t.push(` `,H)):H&&H!==`.`&&t.push(` `,m.SYSTEM,` `,H),e.internalSubset&&t.push(` [`,e.internalSubset,`]`),t.push(`>`),null;case j:if(a){if(!m.NCName_exact.test(e.target)||e.target.toLowerCase()===`xml`)throw new f(`The processing instruction target "`+e.target+`" is not a valid XML NCName or is reserved`,p.InvalidStateError);if(m.InvalidChar.test(e.data))throw new f(`The ProcessingInstruction data contains characters outside the XML Char production`,p.InvalidStateError);if(e.data.indexOf(`?>`)!==-1)throw new f(`The ProcessingInstruction data contains "?>"`,p.InvalidStateError)}return t.push(`<?`,e.target,` `,e.data,`?>`),null;case ee:if(a&&!m.Name_exact.test(e.nodeName))throw new f(`The entity reference name "`+e.nodeName+`" is not a valid XML Name`,p.InvalidStateError);return t.push(`&`,e.nodeName,`;`),null;default:return t.push(`??`,e.nodeName),null}},exit:function(e,n){n&&n.tag&&t.push(`</`,n.tag,`>`)}})}function ze(e,t,n){var r;return Q(t,null,{enter:function(t,i){var a=t.cloneNode(!1);return a.ownerDocument=e,a.parentNode=null,i===null?r=a:i.appendChild(a),t.nodeType===D||n?a:null}}),r}function Be(e,t,n){var r;return Q(t,null,{enter:function(t,a){var o=new t.constructor(u);for(var s in t)if(i(t,s)){var c=t[s];typeof c!=`object`&&c!=o[s]&&(o[s]=c)}t.childNodes&&(o.childNodes=new U),o.ownerDocument=e;var l=n;switch(o.nodeType){case E:var d=t.attributes,f=o.attributes=new K,p=d.length;f._ownerElement=o;for(var m=0;m<p;m++)o.setAttributeNode(Be(e,d.item(m),!0));break;case D:l=!0}return a===null?r=o:a.appendChild(o),l?o:null}}),r}function Ve(e,t,n){e[t]=n}function He(e){for(var t=[],n=e.firstChild;n;)n.nodeType===E&&t.push(n),n=n.nextSibling;return t}try{Object.defineProperty&&(Object.defineProperty(W.prototype,"length",{get:function(){return G(this),this.$$length}}),Object.defineProperty(X.prototype,"textContent",{get:function(){if(this.nodeType===E||this.nodeType===F){var e=[];return Q(this,null,{enter:function(t){if(t.nodeType===E||t.nodeType===F)return!0;if(t.nodeType===j||t.nodeType===M)return null;e.push(t.nodeValue)}}),e.join(``)}return this.nodeValue},set:function(e){switch(this.nodeType){case E:case F:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),Object.defineProperty(we.prototype,"data",{get:function(){return this._data==null?``:this._data},set:function(e){this._data=e,this.length=typeof e==`string`?e.length:0}}),Object.defineProperty(we.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!0,configurable:!0}),Object.defineProperty(Se.prototype,"children",{get:function(){return new W(this,He)}}),Object.defineProperty(se.prototype,"children",{get:function(){return new W(this,He)}}),Object.defineProperty(Me.prototype,"children",{get:function(){return new W(this,He)}}),Ve=function(e,t,n){e[`$$`+t]=n})}catch{}e._updateLiveList=G,e.Attr=Ce,e.CDATASection=De,e.CharacterData=we,e.Comment=Ee,e.Document=se,e.DocumentFragment=Me,e.DocumentType=Oe,e.DOMImplementation=ae,e.Element=Se,e.Entity=Ae,e.EntityReference=je,e.LiveNodeList=W,e.NamedNodeMap=K,e.Node=X,e.NodeList=U,e.Notation=ke,e.Text=Te,e.ProcessingInstruction=Ne,e.walkDOM=Q,e.XMLSerializer=Pe}}),U=I({"../../../node_modules/.pnpm/@xmldom+xmldom@0.9.12/node_modules/@xmldom/xmldom/lib/entities.js"(e){var t=z().freeze;e.XML_ENTITIES=t({amp:`&`,apos:`'`,gt:`>`,lt:`<`,quot:`"`}),e.HTML_ENTITIES=t({Aacute:`Á`,aacute:`á`,Abreve:`Ă`,abreve:`ă`,ac:`∾`,acd:`∿`,acE:`∾̳`,Acirc:`Â`,acirc:`â`,acute:`´`,Acy:`А`,acy:`а`,AElig:`Æ`,aelig:`æ`,af:``,Afr:`𝔄`,afr:`𝔞`,Agrave:`À`,agrave:`à`,alefsym:`ℵ`,aleph:`ℵ`,Alpha:`Α`,alpha:`α`,Amacr:`Ā`,amacr:`ā`,amalg:`⨿`,AMP:`&`,amp:`&`,And:`⩓`,and:`∧`,andand:`⩕`,andd:`⩜`,andslope:`⩘`,andv:`⩚`,ang:`∠`,ange:`⦤`,angle:`∠`,angmsd:`∡`,angmsdaa:`⦨`,angmsdab:`⦩`,angmsdac:`⦪`,angmsdad:`⦫`,angmsdae:`⦬`,angmsdaf:`⦭`,angmsdag:`⦮`,angmsdah:`⦯`,angrt:`∟`,angrtvb:`⊾`,angrtvbd:`⦝`,angsph:`∢`,angst:`Å`,angzarr:`⍼`,Aogon:`Ą`,aogon:`ą`,Aopf:`𝔸`,aopf:`𝕒`,ap:`≈`,apacir:`⩯`,apE:`⩰`,ape:`≊`,apid:`≋`,apos:`'`,ApplyFunction:``,approx:`≈`,approxeq:`≊`,Aring:`Å`,aring:`å`,Ascr:`𝒜`,ascr:`𝒶`,Assign:`≔`,ast:`*`,asymp:`≈`,asympeq:`≍`,Atilde:`Ã`,atilde:`ã`,Auml:`Ä`,auml:`ä`,awconint:`∳`,awint:`⨑`,backcong:`≌`,backepsilon:`϶`,backprime:`‵`,backsim:`∽`,backsimeq:`⋍`,Backslash:`∖`,Barv:`⫧`,barvee:`⊽`,Barwed:`⌆`,barwed:`⌅`,barwedge:`⌅`,bbrk:`⎵`,bbrktbrk:`⎶`,bcong:`≌`,Bcy:`Б`,bcy:`б`,bdquo:`„`,becaus:`∵`,Because:`∵`,because:`∵`,bemptyv:`⦰`,bepsi:`϶`,bernou:`ℬ`,Bernoullis:`ℬ`,Beta:`Β`,beta:`β`,beth:`ℶ`,between:`≬`,Bfr:`𝔅`,bfr:`𝔟`,bigcap:`⋂`,bigcirc:`◯`,bigcup:`⋃`,bigodot:`⨀`,bigoplus:`⨁`,bigotimes:`⨂`,bigsqcup:`⨆`,bigstar:`★`,bigtriangledown:`▽`,bigtriangleup:`△`,biguplus:`⨄`,bigvee:`⋁`,bigwedge:`⋀`,bkarow:`⤍`,blacklozenge:`⧫`,blacksquare:`▪`,blacktriangle:`▴`,blacktriangledown:`▾`,blacktriangleleft:`◂`,blacktriangleright:`▸`,blank:`␣`,blk12:`▒`,blk14:`░`,blk34:`▓`,block:`█`,bne:`=⃥`,bnequiv:`≡⃥`,bNot:`⫭`,bnot:`⌐`,Bopf:`𝔹`,bopf:`𝕓`,bot:`⊥`,bottom:`⊥`,bowtie:`⋈`,boxbox:`⧉`,boxDL:`╗`,boxDl:`╖`,boxdL:`╕`,boxdl:`┐`,boxDR:`╔`,boxDr:`╓`,boxdR:`╒`,boxdr:`┌`,boxH:`═`,boxh:`─`,boxHD:`╦`,boxHd:`╤`,boxhD:`╥`,boxhd:`┬`,boxHU:`╩`,boxHu:`╧`,boxhU:`╨`,boxhu:`┴`,boxminus:`⊟`,boxplus:`⊞`,boxtimes:`⊠`,boxUL:`╝`,boxUl:`╜`,boxuL:`╛`,boxul:`┘`,boxUR:`╚`,boxUr:`╙`,boxuR:`╘`,boxur:`└`,boxV:`║`,boxv:`│`,boxVH:`╬`,boxVh:`╫`,boxvH:`╪`,boxvh:`┼`,boxVL:`╣`,boxVl:`╢`,boxvL:`╡`,boxvl:`┤`,boxVR:`╠`,boxVr:`╟`,boxvR:`╞`,boxvr:`├`,bprime:`‵`,Breve:`˘`,breve:`˘`,brvbar:`¦`,Bscr:`ℬ`,bscr:`𝒷`,bsemi:`⁏`,bsim:`∽`,bsime:`⋍`,bsol:`\\`,bsolb:`⧅`,bsolhsub:`⟈`,bull:`•`,bullet:`•`,bump:`≎`,bumpE:`⪮`,bumpe:`≏`,Bumpeq:`≎`,bumpeq:`≏`,Cacute:`Ć`,cacute:`ć`,Cap:`⋒`,cap:`∩`,capand:`⩄`,capbrcup:`⩉`,capcap:`⩋`,capcup:`⩇`,capdot:`⩀`,CapitalDifferentialD:`ⅅ`,caps:`∩︀`,caret:`⁁`,caron:`ˇ`,Cayleys:`ℭ`,ccaps:`⩍`,Ccaron:`Č`,ccaron:`č`,Ccedil:`Ç`,ccedil:`ç`,Ccirc:`Ĉ`,ccirc:`ĉ`,Cconint:`∰`,ccups:`⩌`,ccupssm:`⩐`,Cdot:`Ċ`,cdot:`ċ`,cedil:`¸`,Cedilla:`¸`,cemptyv:`⦲`,cent:`¢`,CenterDot:`·`,centerdot:`·`,Cfr:`ℭ`,cfr:`𝔠`,CHcy:`Ч`,chcy:`ч`,check:`✓`,checkmark:`✓`,Chi:`Χ`,chi:`χ`,cir:`○`,circ:`ˆ`,circeq:`≗`,circlearrowleft:`↺`,circlearrowright:`↻`,circledast:`⊛`,circledcirc:`⊚`,circleddash:`⊝`,CircleDot:`⊙`,circledR:`®`,circledS:`Ⓢ`,CircleMinus:`⊖`,CirclePlus:`⊕`,CircleTimes:`⊗`,cirE:`⧃`,cire:`≗`,cirfnint:`⨐`,cirmid:`⫯`,cirscir:`⧂`,ClockwiseContourIntegral:`∲`,CloseCurlyDoubleQuote:`”`,CloseCurlyQuote:`’`,clubs:`♣`,clubsuit:`♣`,Colon:`∷`,colon:`:`,Colone:`⩴`,colone:`≔`,coloneq:`≔`,comma:`,`,commat:`@`,comp:`∁`,compfn:`∘`,complement:`∁`,complexes:`ℂ`,cong:`≅`,congdot:`⩭`,Congruent:`≡`,Conint:`∯`,conint:`∮`,ContourIntegral:`∮`,Copf:`ℂ`,copf:`𝕔`,coprod:`∐`,Coproduct:`∐`,COPY:`©`,copy:`©`,copysr:`℗`,CounterClockwiseContourIntegral:`∳`,crarr:`↵`,Cross:`⨯`,cross:`✗`,Cscr:`𝒞`,cscr:`𝒸`,csub:`⫏`,csube:`⫑`,csup:`⫐`,csupe:`⫒`,ctdot:`⋯`,cudarrl:`⤸`,cudarrr:`⤵`,cuepr:`⋞`,cuesc:`⋟`,cularr:`↶`,cularrp:`⤽`,Cup:`⋓`,cup:`∪`,cupbrcap:`⩈`,CupCap:`≍`,cupcap:`⩆`,cupcup:`⩊`,cupdot:`⊍`,cupor:`⩅`,cups:`∪︀`,curarr:`↷`,curarrm:`⤼`,curlyeqprec:`⋞`,curlyeqsucc:`⋟`,curlyvee:`⋎`,curlywedge:`⋏`,curren:`¤`,curvearrowleft:`↶`,curvearrowright:`↷`,cuvee:`⋎`,cuwed:`⋏`,cwconint:`∲`,cwint:`∱`,cylcty:`⌭`,Dagger:`‡`,dagger:`†`,daleth:`ℸ`,Darr:`↡`,dArr:`⇓`,darr:`↓`,dash:`‐`,Dashv:`⫤`,dashv:`⊣`,dbkarow:`⤏`,dblac:`˝`,Dcaron:`Ď`,dcaron:`ď`,Dcy:`Д`,dcy:`д`,DD:`ⅅ`,dd:`ⅆ`,ddagger:`‡`,ddarr:`⇊`,DDotrahd:`⤑`,ddotseq:`⩷`,deg:`°`,Del:`∇`,Delta:`Δ`,delta:`δ`,demptyv:`⦱`,dfisht:`⥿`,Dfr:`𝔇`,dfr:`𝔡`,dHar:`⥥`,dharl:`⇃`,dharr:`⇂`,DiacriticalAcute:`´`,DiacriticalDot:`˙`,DiacriticalDoubleAcute:`˝`,DiacriticalGrave:"`",DiacriticalTilde:`˜`,diam:`⋄`,Diamond:`⋄`,diamond:`⋄`,diamondsuit:`♦`,diams:`♦`,die:`¨`,DifferentialD:`ⅆ`,digamma:`ϝ`,disin:`⋲`,div:`÷`,divide:`÷`,divideontimes:`⋇`,divonx:`⋇`,DJcy:`Ђ`,djcy:`ђ`,dlcorn:`⌞`,dlcrop:`⌍`,dollar:`$`,Dopf:`𝔻`,dopf:`𝕕`,Dot:`¨`,dot:`˙`,DotDot:`⃜`,doteq:`≐`,doteqdot:`≑`,DotEqual:`≐`,dotminus:`∸`,dotplus:`∔`,dotsquare:`⊡`,doublebarwedge:`⌆`,DoubleContourIntegral:`∯`,DoubleDot:`¨`,DoubleDownArrow:`⇓`,DoubleLeftArrow:`⇐`,DoubleLeftRightArrow:`⇔`,DoubleLeftTee:`⫤`,DoubleLongLeftArrow:`⟸`,DoubleLongLeftRightArrow:`⟺`,DoubleLongRightArrow:`⟹`,DoubleRightArrow:`⇒`,DoubleRightTee:`⊨`,DoubleUpArrow:`⇑`,DoubleUpDownArrow:`⇕`,DoubleVerticalBar:`∥`,DownArrow:`↓`,Downarrow:`⇓`,downarrow:`↓`,DownArrowBar:`⤓`,DownArrowUpArrow:`⇵`,DownBreve:`̑`,downdownarrows:`⇊`,downharpoonleft:`⇃`,downharpoonright:`⇂`,DownLeftRightVector:`⥐`,DownLeftTeeVector:`⥞`,DownLeftVector:`↽`,DownLeftVectorBar:`⥖`,DownRightTeeVector:`⥟`,DownRightVector:`⇁`,DownRightVectorBar:`⥗`,DownTee:`⊤`,DownTeeArrow:`↧`,drbkarow:`⤐`,drcorn:`⌟`,drcrop:`⌌`,Dscr:`𝒟`,dscr:`𝒹`,DScy:`Ѕ`,dscy:`ѕ`,dsol:`⧶`,Dstrok:`Đ`,dstrok:`đ`,dtdot:`⋱`,dtri:`▿`,dtrif:`▾`,duarr:`⇵`,duhar:`⥯`,dwangle:`⦦`,DZcy:`Џ`,dzcy:`џ`,dzigrarr:`⟿`,Eacute:`É`,eacute:`é`,easter:`⩮`,Ecaron:`Ě`,ecaron:`ě`,ecir:`≖`,Ecirc:`Ê`,ecirc:`ê`,ecolon:`≕`,Ecy:`Э`,ecy:`э`,eDDot:`⩷`,Edot:`Ė`,eDot:`≑`,edot:`ė`,ee:`ⅇ`,efDot:`≒`,Efr:`𝔈`,efr:`𝔢`,eg:`⪚`,Egrave:`È`,egrave:`è`,egs:`⪖`,egsdot:`⪘`,el:`⪙`,Element:`∈`,elinters:`⏧`,ell:`ℓ`,els:`⪕`,elsdot:`⪗`,Emacr:`Ē`,emacr:`ē`,empty:`∅`,emptyset:`∅`,EmptySmallSquare:`◻`,emptyv:`∅`,EmptyVerySmallSquare:`▫`,emsp:` `,emsp13:` `,emsp14:` `,ENG:`Ŋ`,eng:`ŋ`,ensp:` `,Eogon:`Ę`,eogon:`ę`,Eopf:`𝔼`,eopf:`𝕖`,epar:`⋕`,eparsl:`⧣`,eplus:`⩱`,epsi:`ε`,Epsilon:`Ε`,epsilon:`ε`,epsiv:`ϵ`,eqcirc:`≖`,eqcolon:`≕`,eqsim:`≂`,eqslantgtr:`⪖`,eqslantless:`⪕`,Equal:`⩵`,equals:`=`,EqualTilde:`≂`,equest:`≟`,Equilibrium:`⇌`,equiv:`≡`,equivDD:`⩸`,eqvparsl:`⧥`,erarr:`⥱`,erDot:`≓`,Escr:`ℰ`,escr:`ℯ`,esdot:`≐`,Esim:`⩳`,esim:`≂`,Eta:`Η`,eta:`η`,ETH:`Ð`,eth:`ð`,Euml:`Ë`,euml:`ë`,euro:`€`,excl:`!`,exist:`∃`,Exists:`∃`,expectation:`ℰ`,ExponentialE:`ⅇ`,exponentiale:`ⅇ`,fallingdotseq:`≒`,Fcy:`Ф`,fcy:`ф`,female:`♀`,ffilig:`ffi`,fflig:`ff`,ffllig:`ffl`,Ffr:`𝔉`,ffr:`𝔣`,filig:`fi`,FilledSmallSquare:`◼`,FilledVerySmallSquare:`▪`,fjlig:`fj`,flat:`♭`,fllig:`fl`,fltns:`▱`,fnof:`ƒ`,Fopf:`𝔽`,fopf:`𝕗`,ForAll:`∀`,forall:`∀`,fork:`⋔`,forkv:`⫙`,Fouriertrf:`ℱ`,fpartint:`⨍`,frac12:`½`,frac13:`⅓`,frac14:`¼`,frac15:`⅕`,frac16:`⅙`,frac18:`⅛`,frac23:`⅔`,frac25:`⅖`,frac34:`¾`,frac35:`⅗`,frac38:`⅜`,frac45:`⅘`,frac56:`⅚`,frac58:`⅝`,frac78:`⅞`,frasl:`⁄`,frown:`⌢`,Fscr:`ℱ`,fscr:`𝒻`,gacute:`ǵ`,Gamma:`Γ`,gamma:`γ`,Gammad:`Ϝ`,gammad:`ϝ`,gap:`⪆`,Gbreve:`Ğ`,gbreve:`ğ`,Gcedil:`Ģ`,Gcirc:`Ĝ`,gcirc:`ĝ`,Gcy:`Г`,gcy:`г`,Gdot:`Ġ`,gdot:`ġ`,gE:`≧`,ge:`≥`,gEl:`⪌`,gel:`⋛`,geq:`≥`,geqq:`≧`,geqslant:`⩾`,ges:`⩾`,gescc:`⪩`,gesdot:`⪀`,gesdoto:`⪂`,gesdotol:`⪄`,gesl:`⋛︀`,gesles:`⪔`,Gfr:`𝔊`,gfr:`𝔤`,Gg:`⋙`,gg:`≫`,ggg:`⋙`,gimel:`ℷ`,GJcy:`Ѓ`,gjcy:`ѓ`,gl:`≷`,gla:`⪥`,glE:`⪒`,glj:`⪤`,gnap:`⪊`,gnapprox:`⪊`,gnE:`≩`,gne:`⪈`,gneq:`⪈`,gneqq:`≩`,gnsim:`⋧`,Gopf:`𝔾`,gopf:`𝕘`,grave:"`",GreaterEqual:`≥`,GreaterEqualLess:`⋛`,GreaterFullEqual:`≧`,GreaterGreater:`⪢`,GreaterLess:`≷`,GreaterSlantEqual:`⩾`,GreaterTilde:`≳`,Gscr:`𝒢`,gscr:`ℊ`,gsim:`≳`,gsime:`⪎`,gsiml:`⪐`,Gt:`≫`,GT:`>`,gt:`>`,gtcc:`⪧`,gtcir:`⩺`,gtdot:`⋗`,gtlPar:`⦕`,gtquest:`⩼`,gtrapprox:`⪆`,gtrarr:`⥸`,gtrdot:`⋗`,gtreqless:`⋛`,gtreqqless:`⪌`,gtrless:`≷`,gtrsim:`≳`,gvertneqq:`≩︀`,gvnE:`≩︀`,Hacek:`ˇ`,hairsp:` `,half:`½`,hamilt:`ℋ`,HARDcy:`Ъ`,hardcy:`ъ`,hArr:`⇔`,harr:`↔`,harrcir:`⥈`,harrw:`↭`,Hat:`^`,hbar:`ℏ`,Hcirc:`Ĥ`,hcirc:`ĥ`,hearts:`♥`,heartsuit:`♥`,hellip:`…`,hercon:`⊹`,Hfr:`ℌ`,hfr:`𝔥`,HilbertSpace:`ℋ`,hksearow:`⤥`,hkswarow:`⤦`,hoarr:`⇿`,homtht:`∻`,hookleftarrow:`↩`,hookrightarrow:`↪`,Hopf:`ℍ`,hopf:`𝕙`,horbar:`―`,HorizontalLine:`─`,Hscr:`ℋ`,hscr:`𝒽`,hslash:`ℏ`,Hstrok:`Ħ`,hstrok:`ħ`,HumpDownHump:`≎`,HumpEqual:`≏`,hybull:`⁃`,hyphen:`‐`,Iacute:`Í`,iacute:`í`,ic:``,Icirc:`Î`,icirc:`î`,Icy:`И`,icy:`и`,Idot:`İ`,IEcy:`Е`,iecy:`е`,iexcl:`¡`,iff:`⇔`,Ifr:`ℑ`,ifr:`𝔦`,Igrave:`Ì`,igrave:`ì`,ii:`ⅈ`,iiiint:`⨌`,iiint:`∭`,iinfin:`⧜`,iiota:`℩`,IJlig:`IJ`,ijlig:`ij`,Im:`ℑ`,Imacr:`Ī`,imacr:`ī`,image:`ℑ`,ImaginaryI:`ⅈ`,imagline:`ℐ`,imagpart:`ℑ`,imath:`ı`,imof:`⊷`,imped:`Ƶ`,Implies:`⇒`,in:`∈`,incare:`℅`,infin:`∞`,infintie:`⧝`,inodot:`ı`,Int:`∬`,int:`∫`,intcal:`⊺`,integers:`ℤ`,Integral:`∫`,intercal:`⊺`,Intersection:`⋂`,intlarhk:`⨗`,intprod:`⨼`,InvisibleComma:``,InvisibleTimes:``,IOcy:`Ё`,iocy:`ё`,Iogon:`Į`,iogon:`į`,Iopf:`𝕀`,iopf:`𝕚`,Iota:`Ι`,iota:`ι`,iprod:`⨼`,iquest:`¿`,Iscr:`ℐ`,iscr:`𝒾`,isin:`∈`,isindot:`⋵`,isinE:`⋹`,isins:`⋴`,isinsv:`⋳`,isinv:`∈`,it:``,Itilde:`Ĩ`,itilde:`ĩ`,Iukcy:`І`,iukcy:`і`,Iuml:`Ï`,iuml:`ï`,Jcirc:`Ĵ`,jcirc:`ĵ`,Jcy:`Й`,jcy:`й`,Jfr:`𝔍`,jfr:`𝔧`,jmath:`ȷ`,Jopf:`𝕁`,jopf:`𝕛`,Jscr:`𝒥`,jscr:`𝒿`,Jsercy:`Ј`,jsercy:`ј`,Jukcy:`Є`,jukcy:`є`,Kappa:`Κ`,kappa:`κ`,kappav:`ϰ`,Kcedil:`Ķ`,kcedil:`ķ`,Kcy:`К`,kcy:`к`,Kfr:`𝔎`,kfr:`𝔨`,kgreen:`ĸ`,KHcy:`Х`,khcy:`х`,KJcy:`Ќ`,kjcy:`ќ`,Kopf:`𝕂`,kopf:`𝕜`,Kscr:`𝒦`,kscr:`𝓀`,lAarr:`⇚`,Lacute:`Ĺ`,lacute:`ĺ`,laemptyv:`⦴`,lagran:`ℒ`,Lambda:`Λ`,lambda:`λ`,Lang:`⟪`,lang:`⟨`,langd:`⦑`,langle:`⟨`,lap:`⪅`,Laplacetrf:`ℒ`,laquo:`«`,Larr:`↞`,lArr:`⇐`,larr:`←`,larrb:`⇤`,larrbfs:`⤟`,larrfs:`⤝`,larrhk:`↩`,larrlp:`↫`,larrpl:`⤹`,larrsim:`⥳`,larrtl:`↢`,lat:`⪫`,lAtail:`⤛`,latail:`⤙`,late:`⪭`,lates:`⪭︀`,lBarr:`⤎`,lbarr:`⤌`,lbbrk:`❲`,lbrace:`{`,lbrack:`[`,lbrke:`⦋`,lbrksld:`⦏`,lbrkslu:`⦍`,Lcaron:`Ľ`,lcaron:`ľ`,Lcedil:`Ļ`,lcedil:`ļ`,lceil:`⌈`,lcub:`{`,Lcy:`Л`,lcy:`л`,ldca:`⤶`,ldquo:`“`,ldquor:`„`,ldrdhar:`⥧`,ldrushar:`⥋`,ldsh:`↲`,lE:`≦`,le:`≤`,LeftAngleBracket:`⟨`,LeftArrow:`←`,Leftarrow:`⇐`,leftarrow:`←`,LeftArrowBar:`⇤`,LeftArrowRightArrow:`⇆`,leftarrowtail:`↢`,LeftCeiling:`⌈`,LeftDoubleBracket:`⟦`,LeftDownTeeVector:`⥡`,LeftDownVector:`⇃`,LeftDownVectorBar:`⥙`,LeftFloor:`⌊`,leftharpoondown:`↽`,leftharpoonup:`↼`,leftleftarrows:`⇇`,LeftRightArrow:`↔`,Leftrightarrow:`⇔`,leftrightarrow:`↔`,leftrightarrows:`⇆`,leftrightharpoons:`⇋`,leftrightsquigarrow:`↭`,LeftRightVector:`⥎`,LeftTee:`⊣`,LeftTeeArrow:`↤`,LeftTeeVector:`⥚`,leftthreetimes:`⋋`,LeftTriangle:`⊲`,LeftTriangleBar:`⧏`,LeftTriangleEqual:`⊴`,LeftUpDownVector:`⥑`,LeftUpTeeVector:`⥠`,LeftUpVector:`↿`,LeftUpVectorBar:`⥘`,LeftVector:`↼`,LeftVectorBar:`⥒`,lEg:`⪋`,leg:`⋚`,leq:`≤`,leqq:`≦`,leqslant:`⩽`,les:`⩽`,lescc:`⪨`,lesdot:`⩿`,lesdoto:`⪁`,lesdotor:`⪃`,lesg:`⋚︀`,lesges:`⪓`,lessapprox:`⪅`,lessdot:`⋖`,lesseqgtr:`⋚`,lesseqqgtr:`⪋`,LessEqualGreater:`⋚`,LessFullEqual:`≦`,LessGreater:`≶`,lessgtr:`≶`,LessLess:`⪡`,lesssim:`≲`,LessSlantEqual:`⩽`,LessTilde:`≲`,lfisht:`⥼`,lfloor:`⌊`,Lfr:`𝔏`,lfr:`𝔩`,lg:`≶`,lgE:`⪑`,lHar:`⥢`,lhard:`↽`,lharu:`↼`,lharul:`⥪`,lhblk:`▄`,LJcy:`Љ`,ljcy:`љ`,Ll:`⋘`,ll:`≪`,llarr:`⇇`,llcorner:`⌞`,Lleftarrow:`⇚`,llhard:`⥫`,lltri:`◺`,Lmidot:`Ŀ`,lmidot:`ŀ`,lmoust:`⎰`,lmoustache:`⎰`,lnap:`⪉`,lnapprox:`⪉`,lnE:`≨`,lne:`⪇`,lneq:`⪇`,lneqq:`≨`,lnsim:`⋦`,loang:`⟬`,loarr:`⇽`,lobrk:`⟦`,LongLeftArrow:`⟵`,Longleftarrow:`⟸`,longleftarrow:`⟵`,LongLeftRightArrow:`⟷`,Longleftrightarrow:`⟺`,longleftrightarrow:`⟷`,longmapsto:`⟼`,LongRightArrow:`⟶`,Longrightarrow:`⟹`,longrightarrow:`⟶`,looparrowleft:`↫`,looparrowright:`↬`,lopar:`⦅`,Lopf:`𝕃`,lopf:`𝕝`,loplus:`⨭`,lotimes:`⨴`,lowast:`∗`,lowbar:`_`,LowerLeftArrow:`↙`,LowerRightArrow:`↘`,loz:`◊`,lozenge:`◊`,lozf:`⧫`,lpar:`(`,lparlt:`⦓`,lrarr:`⇆`,lrcorner:`⌟`,lrhar:`⇋`,lrhard:`⥭`,lrm:``,lrtri:`⊿`,lsaquo:`‹`,Lscr:`ℒ`,lscr:`𝓁`,Lsh:`↰`,lsh:`↰`,lsim:`≲`,lsime:`⪍`,lsimg:`⪏`,lsqb:`[`,lsquo:`‘`,lsquor:`‚`,Lstrok:`Ł`,lstrok:`ł`,Lt:`≪`,LT:`<`,lt:`<`,ltcc:`⪦`,ltcir:`⩹`,ltdot:`⋖`,lthree:`⋋`,ltimes:`⋉`,ltlarr:`⥶`,ltquest:`⩻`,ltri:`◃`,ltrie:`⊴`,ltrif:`◂`,ltrPar:`⦖`,lurdshar:`⥊`,luruhar:`⥦`,lvertneqq:`≨︀`,lvnE:`≨︀`,macr:`¯`,male:`♂`,malt:`✠`,maltese:`✠`,Map:`⤅`,map:`↦`,mapsto:`↦`,mapstodown:`↧`,mapstoleft:`↤`,mapstoup:`↥`,marker:`▮`,mcomma:`⨩`,Mcy:`М`,mcy:`м`,mdash:`—`,mDDot:`∺`,measuredangle:`∡`,MediumSpace:` `,Mellintrf:`ℳ`,Mfr:`𝔐`,mfr:`𝔪`,mho:`℧`,micro:`µ`,mid:`∣`,midast:`*`,midcir:`⫰`,middot:`·`,minus:`−`,minusb:`⊟`,minusd:`∸`,minusdu:`⨪`,MinusPlus:`∓`,mlcp:`⫛`,mldr:`…`,mnplus:`∓`,models:`⊧`,Mopf:`𝕄`,mopf:`𝕞`,mp:`∓`,Mscr:`ℳ`,mscr:`𝓂`,mstpos:`∾`,Mu:`Μ`,mu:`μ`,multimap:`⊸`,mumap:`⊸`,nabla:`∇`,Nacute:`Ń`,nacute:`ń`,nang:`∠⃒`,nap:`≉`,napE:`⩰̸`,napid:`≋̸`,napos:`ʼn`,napprox:`≉`,natur:`♮`,natural:`♮`,naturals:`ℕ`,nbsp:`\xA0`,nbump:`≎̸`,nbumpe:`≏̸`,ncap:`⩃`,Ncaron:`Ň`,ncaron:`ň`,Ncedil:`Ņ`,ncedil:`ņ`,ncong:`≇`,ncongdot:`⩭̸`,ncup:`⩂`,Ncy:`Н`,ncy:`н`,ndash:`–`,ne:`≠`,nearhk:`⤤`,neArr:`⇗`,nearr:`↗`,nearrow:`↗`,nedot:`≐̸`,NegativeMediumSpace:``,NegativeThickSpace:``,NegativeThinSpace:``,NegativeVeryThinSpace:``,nequiv:`≢`,nesear:`⤨`,nesim:`≂̸`,NestedGreaterGreater:`≫`,NestedLessLess:`≪`,NewLine:`
|
|
11
|
+
`,nexist:`∄`,nexists:`∄`,Nfr:`𝔑`,nfr:`𝔫`,ngE:`≧̸`,nge:`≱`,ngeq:`≱`,ngeqq:`≧̸`,ngeqslant:`⩾̸`,nges:`⩾̸`,nGg:`⋙̸`,ngsim:`≵`,nGt:`≫⃒`,ngt:`≯`,ngtr:`≯`,nGtv:`≫̸`,nhArr:`⇎`,nharr:`↮`,nhpar:`⫲`,ni:`∋`,nis:`⋼`,nisd:`⋺`,niv:`∋`,NJcy:`Њ`,njcy:`њ`,nlArr:`⇍`,nlarr:`↚`,nldr:`‥`,nlE:`≦̸`,nle:`≰`,nLeftarrow:`⇍`,nleftarrow:`↚`,nLeftrightarrow:`⇎`,nleftrightarrow:`↮`,nleq:`≰`,nleqq:`≦̸`,nleqslant:`⩽̸`,nles:`⩽̸`,nless:`≮`,nLl:`⋘̸`,nlsim:`≴`,nLt:`≪⃒`,nlt:`≮`,nltri:`⋪`,nltrie:`⋬`,nLtv:`≪̸`,nmid:`∤`,NoBreak:``,NonBreakingSpace:`\xA0`,Nopf:`ℕ`,nopf:`𝕟`,Not:`⫬`,not:`¬`,NotCongruent:`≢`,NotCupCap:`≭`,NotDoubleVerticalBar:`∦`,NotElement:`∉`,NotEqual:`≠`,NotEqualTilde:`≂̸`,NotExists:`∄`,NotGreater:`≯`,NotGreaterEqual:`≱`,NotGreaterFullEqual:`≧̸`,NotGreaterGreater:`≫̸`,NotGreaterLess:`≹`,NotGreaterSlantEqual:`⩾̸`,NotGreaterTilde:`≵`,NotHumpDownHump:`≎̸`,NotHumpEqual:`≏̸`,notin:`∉`,notindot:`⋵̸`,notinE:`⋹̸`,notinva:`∉`,notinvb:`⋷`,notinvc:`⋶`,NotLeftTriangle:`⋪`,NotLeftTriangleBar:`⧏̸`,NotLeftTriangleEqual:`⋬`,NotLess:`≮`,NotLessEqual:`≰`,NotLessGreater:`≸`,NotLessLess:`≪̸`,NotLessSlantEqual:`⩽̸`,NotLessTilde:`≴`,NotNestedGreaterGreater:`⪢̸`,NotNestedLessLess:`⪡̸`,notni:`∌`,notniva:`∌`,notnivb:`⋾`,notnivc:`⋽`,NotPrecedes:`⊀`,NotPrecedesEqual:`⪯̸`,NotPrecedesSlantEqual:`⋠`,NotReverseElement:`∌`,NotRightTriangle:`⋫`,NotRightTriangleBar:`⧐̸`,NotRightTriangleEqual:`⋭`,NotSquareSubset:`⊏̸`,NotSquareSubsetEqual:`⋢`,NotSquareSuperset:`⊐̸`,NotSquareSupersetEqual:`⋣`,NotSubset:`⊂⃒`,NotSubsetEqual:`⊈`,NotSucceeds:`⊁`,NotSucceedsEqual:`⪰̸`,NotSucceedsSlantEqual:`⋡`,NotSucceedsTilde:`≿̸`,NotSuperset:`⊃⃒`,NotSupersetEqual:`⊉`,NotTilde:`≁`,NotTildeEqual:`≄`,NotTildeFullEqual:`≇`,NotTildeTilde:`≉`,NotVerticalBar:`∤`,npar:`∦`,nparallel:`∦`,nparsl:`⫽⃥`,npart:`∂̸`,npolint:`⨔`,npr:`⊀`,nprcue:`⋠`,npre:`⪯̸`,nprec:`⊀`,npreceq:`⪯̸`,nrArr:`⇏`,nrarr:`↛`,nrarrc:`⤳̸`,nrarrw:`↝̸`,nRightarrow:`⇏`,nrightarrow:`↛`,nrtri:`⋫`,nrtrie:`⋭`,nsc:`⊁`,nsccue:`⋡`,nsce:`⪰̸`,Nscr:`𝒩`,nscr:`𝓃`,nshortmid:`∤`,nshortparallel:`∦`,nsim:`≁`,nsime:`≄`,nsimeq:`≄`,nsmid:`∤`,nspar:`∦`,nsqsube:`⋢`,nsqsupe:`⋣`,nsub:`⊄`,nsubE:`⫅̸`,nsube:`⊈`,nsubset:`⊂⃒`,nsubseteq:`⊈`,nsubseteqq:`⫅̸`,nsucc:`⊁`,nsucceq:`⪰̸`,nsup:`⊅`,nsupE:`⫆̸`,nsupe:`⊉`,nsupset:`⊃⃒`,nsupseteq:`⊉`,nsupseteqq:`⫆̸`,ntgl:`≹`,Ntilde:`Ñ`,ntilde:`ñ`,ntlg:`≸`,ntriangleleft:`⋪`,ntrianglelefteq:`⋬`,ntriangleright:`⋫`,ntrianglerighteq:`⋭`,Nu:`Ν`,nu:`ν`,num:`#`,numero:`№`,numsp:` `,nvap:`≍⃒`,nVDash:`⊯`,nVdash:`⊮`,nvDash:`⊭`,nvdash:`⊬`,nvge:`≥⃒`,nvgt:`>⃒`,nvHarr:`⤄`,nvinfin:`⧞`,nvlArr:`⤂`,nvle:`≤⃒`,nvlt:`<⃒`,nvltrie:`⊴⃒`,nvrArr:`⤃`,nvrtrie:`⊵⃒`,nvsim:`∼⃒`,nwarhk:`⤣`,nwArr:`⇖`,nwarr:`↖`,nwarrow:`↖`,nwnear:`⤧`,Oacute:`Ó`,oacute:`ó`,oast:`⊛`,ocir:`⊚`,Ocirc:`Ô`,ocirc:`ô`,Ocy:`О`,ocy:`о`,odash:`⊝`,Odblac:`Ő`,odblac:`ő`,odiv:`⨸`,odot:`⊙`,odsold:`⦼`,OElig:`Œ`,oelig:`œ`,ofcir:`⦿`,Ofr:`𝔒`,ofr:`𝔬`,ogon:`˛`,Ograve:`Ò`,ograve:`ò`,ogt:`⧁`,ohbar:`⦵`,ohm:`Ω`,oint:`∮`,olarr:`↺`,olcir:`⦾`,olcross:`⦻`,oline:`‾`,olt:`⧀`,Omacr:`Ō`,omacr:`ō`,Omega:`Ω`,omega:`ω`,Omicron:`Ο`,omicron:`ο`,omid:`⦶`,ominus:`⊖`,Oopf:`𝕆`,oopf:`𝕠`,opar:`⦷`,OpenCurlyDoubleQuote:`“`,OpenCurlyQuote:`‘`,operp:`⦹`,oplus:`⊕`,Or:`⩔`,or:`∨`,orarr:`↻`,ord:`⩝`,order:`ℴ`,orderof:`ℴ`,ordf:`ª`,ordm:`º`,origof:`⊶`,oror:`⩖`,orslope:`⩗`,orv:`⩛`,oS:`Ⓢ`,Oscr:`𝒪`,oscr:`ℴ`,Oslash:`Ø`,oslash:`ø`,osol:`⊘`,Otilde:`Õ`,otilde:`õ`,Otimes:`⨷`,otimes:`⊗`,otimesas:`⨶`,Ouml:`Ö`,ouml:`ö`,ovbar:`⌽`,OverBar:`‾`,OverBrace:`⏞`,OverBracket:`⎴`,OverParenthesis:`⏜`,par:`∥`,para:`¶`,parallel:`∥`,parsim:`⫳`,parsl:`⫽`,part:`∂`,PartialD:`∂`,Pcy:`П`,pcy:`п`,percnt:`%`,period:`.`,permil:`‰`,perp:`⊥`,pertenk:`‱`,Pfr:`𝔓`,pfr:`𝔭`,Phi:`Φ`,phi:`φ`,phiv:`ϕ`,phmmat:`ℳ`,phone:`☎`,Pi:`Π`,pi:`π`,pitchfork:`⋔`,piv:`ϖ`,planck:`ℏ`,planckh:`ℎ`,plankv:`ℏ`,plus:`+`,plusacir:`⨣`,plusb:`⊞`,pluscir:`⨢`,plusdo:`∔`,plusdu:`⨥`,pluse:`⩲`,PlusMinus:`±`,plusmn:`±`,plussim:`⨦`,plustwo:`⨧`,pm:`±`,Poincareplane:`ℌ`,pointint:`⨕`,Popf:`ℙ`,popf:`𝕡`,pound:`£`,Pr:`⪻`,pr:`≺`,prap:`⪷`,prcue:`≼`,prE:`⪳`,pre:`⪯`,prec:`≺`,precapprox:`⪷`,preccurlyeq:`≼`,Precedes:`≺`,PrecedesEqual:`⪯`,PrecedesSlantEqual:`≼`,PrecedesTilde:`≾`,preceq:`⪯`,precnapprox:`⪹`,precneqq:`⪵`,precnsim:`⋨`,precsim:`≾`,Prime:`″`,prime:`′`,primes:`ℙ`,prnap:`⪹`,prnE:`⪵`,prnsim:`⋨`,prod:`∏`,Product:`∏`,profalar:`⌮`,profline:`⌒`,profsurf:`⌓`,prop:`∝`,Proportion:`∷`,Proportional:`∝`,propto:`∝`,prsim:`≾`,prurel:`⊰`,Pscr:`𝒫`,pscr:`𝓅`,Psi:`Ψ`,psi:`ψ`,puncsp:` `,Qfr:`𝔔`,qfr:`𝔮`,qint:`⨌`,Qopf:`ℚ`,qopf:`𝕢`,qprime:`⁗`,Qscr:`𝒬`,qscr:`𝓆`,quaternions:`ℍ`,quatint:`⨖`,quest:`?`,questeq:`≟`,QUOT:`"`,quot:`"`,rAarr:`⇛`,race:`∽̱`,Racute:`Ŕ`,racute:`ŕ`,radic:`√`,raemptyv:`⦳`,Rang:`⟫`,rang:`⟩`,rangd:`⦒`,range:`⦥`,rangle:`⟩`,raquo:`»`,Rarr:`↠`,rArr:`⇒`,rarr:`→`,rarrap:`⥵`,rarrb:`⇥`,rarrbfs:`⤠`,rarrc:`⤳`,rarrfs:`⤞`,rarrhk:`↪`,rarrlp:`↬`,rarrpl:`⥅`,rarrsim:`⥴`,Rarrtl:`⤖`,rarrtl:`↣`,rarrw:`↝`,rAtail:`⤜`,ratail:`⤚`,ratio:`∶`,rationals:`ℚ`,RBarr:`⤐`,rBarr:`⤏`,rbarr:`⤍`,rbbrk:`❳`,rbrace:`}`,rbrack:`]`,rbrke:`⦌`,rbrksld:`⦎`,rbrkslu:`⦐`,Rcaron:`Ř`,rcaron:`ř`,Rcedil:`Ŗ`,rcedil:`ŗ`,rceil:`⌉`,rcub:`}`,Rcy:`Р`,rcy:`р`,rdca:`⤷`,rdldhar:`⥩`,rdquo:`”`,rdquor:`”`,rdsh:`↳`,Re:`ℜ`,real:`ℜ`,realine:`ℛ`,realpart:`ℜ`,reals:`ℝ`,rect:`▭`,REG:`®`,reg:`®`,ReverseElement:`∋`,ReverseEquilibrium:`⇋`,ReverseUpEquilibrium:`⥯`,rfisht:`⥽`,rfloor:`⌋`,Rfr:`ℜ`,rfr:`𝔯`,rHar:`⥤`,rhard:`⇁`,rharu:`⇀`,rharul:`⥬`,Rho:`Ρ`,rho:`ρ`,rhov:`ϱ`,RightAngleBracket:`⟩`,RightArrow:`→`,Rightarrow:`⇒`,rightarrow:`→`,RightArrowBar:`⇥`,RightArrowLeftArrow:`⇄`,rightarrowtail:`↣`,RightCeiling:`⌉`,RightDoubleBracket:`⟧`,RightDownTeeVector:`⥝`,RightDownVector:`⇂`,RightDownVectorBar:`⥕`,RightFloor:`⌋`,rightharpoondown:`⇁`,rightharpoonup:`⇀`,rightleftarrows:`⇄`,rightleftharpoons:`⇌`,rightrightarrows:`⇉`,rightsquigarrow:`↝`,RightTee:`⊢`,RightTeeArrow:`↦`,RightTeeVector:`⥛`,rightthreetimes:`⋌`,RightTriangle:`⊳`,RightTriangleBar:`⧐`,RightTriangleEqual:`⊵`,RightUpDownVector:`⥏`,RightUpTeeVector:`⥜`,RightUpVector:`↾`,RightUpVectorBar:`⥔`,RightVector:`⇀`,RightVectorBar:`⥓`,ring:`˚`,risingdotseq:`≓`,rlarr:`⇄`,rlhar:`⇌`,rlm:``,rmoust:`⎱`,rmoustache:`⎱`,rnmid:`⫮`,roang:`⟭`,roarr:`⇾`,robrk:`⟧`,ropar:`⦆`,Ropf:`ℝ`,ropf:`𝕣`,roplus:`⨮`,rotimes:`⨵`,RoundImplies:`⥰`,rpar:`)`,rpargt:`⦔`,rppolint:`⨒`,rrarr:`⇉`,Rrightarrow:`⇛`,rsaquo:`›`,Rscr:`ℛ`,rscr:`𝓇`,Rsh:`↱`,rsh:`↱`,rsqb:`]`,rsquo:`’`,rsquor:`’`,rthree:`⋌`,rtimes:`⋊`,rtri:`▹`,rtrie:`⊵`,rtrif:`▸`,rtriltri:`⧎`,RuleDelayed:`⧴`,ruluhar:`⥨`,rx:`℞`,Sacute:`Ś`,sacute:`ś`,sbquo:`‚`,Sc:`⪼`,sc:`≻`,scap:`⪸`,Scaron:`Š`,scaron:`š`,sccue:`≽`,scE:`⪴`,sce:`⪰`,Scedil:`Ş`,scedil:`ş`,Scirc:`Ŝ`,scirc:`ŝ`,scnap:`⪺`,scnE:`⪶`,scnsim:`⋩`,scpolint:`⨓`,scsim:`≿`,Scy:`С`,scy:`с`,sdot:`⋅`,sdotb:`⊡`,sdote:`⩦`,searhk:`⤥`,seArr:`⇘`,searr:`↘`,searrow:`↘`,sect:`§`,semi:`;`,seswar:`⤩`,setminus:`∖`,setmn:`∖`,sext:`✶`,Sfr:`𝔖`,sfr:`𝔰`,sfrown:`⌢`,sharp:`♯`,SHCHcy:`Щ`,shchcy:`щ`,SHcy:`Ш`,shcy:`ш`,ShortDownArrow:`↓`,ShortLeftArrow:`←`,shortmid:`∣`,shortparallel:`∥`,ShortRightArrow:`→`,ShortUpArrow:`↑`,shy:``,Sigma:`Σ`,sigma:`σ`,sigmaf:`ς`,sigmav:`ς`,sim:`∼`,simdot:`⩪`,sime:`≃`,simeq:`≃`,simg:`⪞`,simgE:`⪠`,siml:`⪝`,simlE:`⪟`,simne:`≆`,simplus:`⨤`,simrarr:`⥲`,slarr:`←`,SmallCircle:`∘`,smallsetminus:`∖`,smashp:`⨳`,smeparsl:`⧤`,smid:`∣`,smile:`⌣`,smt:`⪪`,smte:`⪬`,smtes:`⪬︀`,SOFTcy:`Ь`,softcy:`ь`,sol:`/`,solb:`⧄`,solbar:`⌿`,Sopf:`𝕊`,sopf:`𝕤`,spades:`♠`,spadesuit:`♠`,spar:`∥`,sqcap:`⊓`,sqcaps:`⊓︀`,sqcup:`⊔`,sqcups:`⊔︀`,Sqrt:`√`,sqsub:`⊏`,sqsube:`⊑`,sqsubset:`⊏`,sqsubseteq:`⊑`,sqsup:`⊐`,sqsupe:`⊒`,sqsupset:`⊐`,sqsupseteq:`⊒`,squ:`□`,Square:`□`,square:`□`,SquareIntersection:`⊓`,SquareSubset:`⊏`,SquareSubsetEqual:`⊑`,SquareSuperset:`⊐`,SquareSupersetEqual:`⊒`,SquareUnion:`⊔`,squarf:`▪`,squf:`▪`,srarr:`→`,Sscr:`𝒮`,sscr:`𝓈`,ssetmn:`∖`,ssmile:`⌣`,sstarf:`⋆`,Star:`⋆`,star:`☆`,starf:`★`,straightepsilon:`ϵ`,straightphi:`ϕ`,strns:`¯`,Sub:`⋐`,sub:`⊂`,subdot:`⪽`,subE:`⫅`,sube:`⊆`,subedot:`⫃`,submult:`⫁`,subnE:`⫋`,subne:`⊊`,subplus:`⪿`,subrarr:`⥹`,Subset:`⋐`,subset:`⊂`,subseteq:`⊆`,subseteqq:`⫅`,SubsetEqual:`⊆`,subsetneq:`⊊`,subsetneqq:`⫋`,subsim:`⫇`,subsub:`⫕`,subsup:`⫓`,succ:`≻`,succapprox:`⪸`,succcurlyeq:`≽`,Succeeds:`≻`,SucceedsEqual:`⪰`,SucceedsSlantEqual:`≽`,SucceedsTilde:`≿`,succeq:`⪰`,succnapprox:`⪺`,succneqq:`⪶`,succnsim:`⋩`,succsim:`≿`,SuchThat:`∋`,Sum:`∑`,sum:`∑`,sung:`♪`,Sup:`⋑`,sup:`⊃`,sup1:`¹`,sup2:`²`,sup3:`³`,supdot:`⪾`,supdsub:`⫘`,supE:`⫆`,supe:`⊇`,supedot:`⫄`,Superset:`⊃`,SupersetEqual:`⊇`,suphsol:`⟉`,suphsub:`⫗`,suplarr:`⥻`,supmult:`⫂`,supnE:`⫌`,supne:`⊋`,supplus:`⫀`,Supset:`⋑`,supset:`⊃`,supseteq:`⊇`,supseteqq:`⫆`,supsetneq:`⊋`,supsetneqq:`⫌`,supsim:`⫈`,supsub:`⫔`,supsup:`⫖`,swarhk:`⤦`,swArr:`⇙`,swarr:`↙`,swarrow:`↙`,swnwar:`⤪`,szlig:`ß`,Tab:` `,target:`⌖`,Tau:`Τ`,tau:`τ`,tbrk:`⎴`,Tcaron:`Ť`,tcaron:`ť`,Tcedil:`Ţ`,tcedil:`ţ`,Tcy:`Т`,tcy:`т`,tdot:`⃛`,telrec:`⌕`,Tfr:`𝔗`,tfr:`𝔱`,there4:`∴`,Therefore:`∴`,therefore:`∴`,Theta:`Θ`,theta:`θ`,thetasym:`ϑ`,thetav:`ϑ`,thickapprox:`≈`,thicksim:`∼`,ThickSpace:` `,thinsp:` `,ThinSpace:` `,thkap:`≈`,thksim:`∼`,THORN:`Þ`,thorn:`þ`,Tilde:`∼`,tilde:`˜`,TildeEqual:`≃`,TildeFullEqual:`≅`,TildeTilde:`≈`,times:`×`,timesb:`⊠`,timesbar:`⨱`,timesd:`⨰`,tint:`∭`,toea:`⤨`,top:`⊤`,topbot:`⌶`,topcir:`⫱`,Topf:`𝕋`,topf:`𝕥`,topfork:`⫚`,tosa:`⤩`,tprime:`‴`,TRADE:`™`,trade:`™`,triangle:`▵`,triangledown:`▿`,triangleleft:`◃`,trianglelefteq:`⊴`,triangleq:`≜`,triangleright:`▹`,trianglerighteq:`⊵`,tridot:`◬`,trie:`≜`,triminus:`⨺`,TripleDot:`⃛`,triplus:`⨹`,trisb:`⧍`,tritime:`⨻`,trpezium:`⏢`,Tscr:`𝒯`,tscr:`𝓉`,TScy:`Ц`,tscy:`ц`,TSHcy:`Ћ`,tshcy:`ћ`,Tstrok:`Ŧ`,tstrok:`ŧ`,twixt:`≬`,twoheadleftarrow:`↞`,twoheadrightarrow:`↠`,Uacute:`Ú`,uacute:`ú`,Uarr:`↟`,uArr:`⇑`,uarr:`↑`,Uarrocir:`⥉`,Ubrcy:`Ў`,ubrcy:`ў`,Ubreve:`Ŭ`,ubreve:`ŭ`,Ucirc:`Û`,ucirc:`û`,Ucy:`У`,ucy:`у`,udarr:`⇅`,Udblac:`Ű`,udblac:`ű`,udhar:`⥮`,ufisht:`⥾`,Ufr:`𝔘`,ufr:`𝔲`,Ugrave:`Ù`,ugrave:`ù`,uHar:`⥣`,uharl:`↿`,uharr:`↾`,uhblk:`▀`,ulcorn:`⌜`,ulcorner:`⌜`,ulcrop:`⌏`,ultri:`◸`,Umacr:`Ū`,umacr:`ū`,uml:`¨`,UnderBar:`_`,UnderBrace:`⏟`,UnderBracket:`⎵`,UnderParenthesis:`⏝`,Union:`⋃`,UnionPlus:`⊎`,Uogon:`Ų`,uogon:`ų`,Uopf:`𝕌`,uopf:`𝕦`,UpArrow:`↑`,Uparrow:`⇑`,uparrow:`↑`,UpArrowBar:`⤒`,UpArrowDownArrow:`⇅`,UpDownArrow:`↕`,Updownarrow:`⇕`,updownarrow:`↕`,UpEquilibrium:`⥮`,upharpoonleft:`↿`,upharpoonright:`↾`,uplus:`⊎`,UpperLeftArrow:`↖`,UpperRightArrow:`↗`,Upsi:`ϒ`,upsi:`υ`,upsih:`ϒ`,Upsilon:`Υ`,upsilon:`υ`,UpTee:`⊥`,UpTeeArrow:`↥`,upuparrows:`⇈`,urcorn:`⌝`,urcorner:`⌝`,urcrop:`⌎`,Uring:`Ů`,uring:`ů`,urtri:`◹`,Uscr:`𝒰`,uscr:`𝓊`,utdot:`⋰`,Utilde:`Ũ`,utilde:`ũ`,utri:`▵`,utrif:`▴`,uuarr:`⇈`,Uuml:`Ü`,uuml:`ü`,uwangle:`⦧`,vangrt:`⦜`,varepsilon:`ϵ`,varkappa:`ϰ`,varnothing:`∅`,varphi:`ϕ`,varpi:`ϖ`,varpropto:`∝`,vArr:`⇕`,varr:`↕`,varrho:`ϱ`,varsigma:`ς`,varsubsetneq:`⊊︀`,varsubsetneqq:`⫋︀`,varsupsetneq:`⊋︀`,varsupsetneqq:`⫌︀`,vartheta:`ϑ`,vartriangleleft:`⊲`,vartriangleright:`⊳`,Vbar:`⫫`,vBar:`⫨`,vBarv:`⫩`,Vcy:`В`,vcy:`в`,VDash:`⊫`,Vdash:`⊩`,vDash:`⊨`,vdash:`⊢`,Vdashl:`⫦`,Vee:`⋁`,vee:`∨`,veebar:`⊻`,veeeq:`≚`,vellip:`⋮`,Verbar:`‖`,verbar:`|`,Vert:`‖`,vert:`|`,VerticalBar:`∣`,VerticalLine:`|`,VerticalSeparator:`❘`,VerticalTilde:`≀`,VeryThinSpace:` `,Vfr:`𝔙`,vfr:`𝔳`,vltri:`⊲`,vnsub:`⊂⃒`,vnsup:`⊃⃒`,Vopf:`𝕍`,vopf:`𝕧`,vprop:`∝`,vrtri:`⊳`,Vscr:`𝒱`,vscr:`𝓋`,vsubnE:`⫋︀`,vsubne:`⊊︀`,vsupnE:`⫌︀`,vsupne:`⊋︀`,Vvdash:`⊪`,vzigzag:`⦚`,Wcirc:`Ŵ`,wcirc:`ŵ`,wedbar:`⩟`,Wedge:`⋀`,wedge:`∧`,wedgeq:`≙`,weierp:`℘`,Wfr:`𝔚`,wfr:`𝔴`,Wopf:`𝕎`,wopf:`𝕨`,wp:`℘`,wr:`≀`,wreath:`≀`,Wscr:`𝒲`,wscr:`𝓌`,xcap:`⋂`,xcirc:`◯`,xcup:`⋃`,xdtri:`▽`,Xfr:`𝔛`,xfr:`𝔵`,xhArr:`⟺`,xharr:`⟷`,Xi:`Ξ`,xi:`ξ`,xlArr:`⟸`,xlarr:`⟵`,xmap:`⟼`,xnis:`⋻`,xodot:`⨀`,Xopf:`𝕏`,xopf:`𝕩`,xoplus:`⨁`,xotime:`⨂`,xrArr:`⟹`,xrarr:`⟶`,Xscr:`𝒳`,xscr:`𝓍`,xsqcup:`⨆`,xuplus:`⨄`,xutri:`△`,xvee:`⋁`,xwedge:`⋀`,Yacute:`Ý`,yacute:`ý`,YAcy:`Я`,yacy:`я`,Ycirc:`Ŷ`,ycirc:`ŷ`,Ycy:`Ы`,ycy:`ы`,yen:`¥`,Yfr:`𝔜`,yfr:`𝔶`,YIcy:`Ї`,yicy:`ї`,Yopf:`𝕐`,yopf:`𝕪`,Yscr:`𝒴`,yscr:`𝓎`,YUcy:`Ю`,yucy:`ю`,Yuml:`Ÿ`,yuml:`ÿ`,Zacute:`Ź`,zacute:`ź`,Zcaron:`Ž`,zcaron:`ž`,Zcy:`З`,zcy:`з`,Zdot:`Ż`,zdot:`ż`,zeetrf:`ℨ`,ZeroWidthSpace:``,Zeta:`Ζ`,zeta:`ζ`,Zfr:`ℨ`,zfr:`𝔷`,ZHcy:`Ж`,zhcy:`ж`,zigrarr:`⇝`,Zopf:`ℤ`,zopf:`𝕫`,Zscr:`𝒵`,zscr:`𝓏`,zwj:``,zwnj:``}),e.entityMap=e.HTML_ENTITIES}}),W=I({"../../../node_modules/.pnpm/@xmldom+xmldom@0.9.12/node_modules/@xmldom/xmldom/lib/sax.js"(e){var t=z(),n=V(),r=B(),i=t.isHTMLEscapableRawTextElement,a=t.isHTMLMimeType,o=t.isHTMLRawTextElement,s=t.hasOwn,c=t.NAMESPACE,l=r.ParseError,u=r.DOMException,d=0,f=1,p=2,m=3,h=4,g=5,_=6,v=7;function y(){}y.prototype={parse:function(e,t,n){var r=this.domBuilder;r.startDocument(),E(t,t=/* @__PURE__ */ Object.create(null)),x(e,t,n,r,this.errorHandler),r.endDocument()}};var b=/&#?\w+;?/g;function x(e,r,i,o,c){var d=a(o.mimeType);e.indexOf(n.UNICODE_REPLACEMENT_CHARACTER)>=0&&c.warning(`Unicode replacement character detected, source encoding issues?`);function f(e){if(e>65535){e-=65536;var t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}function p(e){var t=e[e.length-1]===`;`?e:e+`;`;if(!d&&t!==e)return c.error(`EntityRef: expecting ;`),e;var r=n.Reference.exec(t);if(!r||r[0].length!==t.length)return c.error(`entity not matching Reference production: `+e),e;var a=t.slice(1,-1);return s(i,a)?i[a]:a.charAt(0)===`#`?f(parseInt(a.substring(1).replace(`x`,`0x`))):(c.error(`entity not found:`+e),e)}function m(t){if(t>D){var n=e.substring(D,t).replace(b,p);v&&y(D),o.characters(n,0,t-D),D=t}}var h=0,g=0,_=/\r\n?|\n|$/g,v=o.locator;function y(t,n){for(;t>=g&&(n=_.exec(e));)h=g,g=n.index+n[0].length,v.lineNumber++;v.columnNumber=t-h+1}for(var x=[{currentNSMap:r}],E=[],D=0;;){try{var O=e.indexOf(`<`,D);if(O<0){if(!d&&E.length>0)return c.fatalError(`unclosed xml tag(s): `+E.join(`, `));if(!e.substring(D).match(/^\s*$/)){var j=o.doc,M=j.createTextNode(e.substring(D));if(j.documentElement)return c.error(`Extra content at the end of the document`);j.appendChild(M),o.currentElement=M}return}if(O>D){var N=e.substring(D,O);!d&&E.length===0&&(N=N.replace(new RegExp(n.S_OPT.source,`g`),``),N&&c.error(`Unexpected content outside root element: '`+N+`'`)),m(O)}switch(e.charAt(O+1)){case`/`:var P=e.indexOf(`>`,O+2),F=e.substring(O+2,P>0?P:void 0);if(!F)return c.fatalError(`end tag name missing`);var I=n.reg(`^`,n.QName_group,n.S_OPT,`$`),L=P>0&&I.exec(F);if(!L){var R=P>0&&n.reg(`^`,n.QName_group).exec(F);if(d&&R)c.warning(`end tag name contains invalid trailing characters: "`+F+`"`),L=R;else if(R&&new RegExp(I.source,I.flags+`m`).test(F))c.error(`end tag name is followed by a line break and trailing content: "`+F+`"`),L=R;else return c.fatalError(`end tag name contains invalid characters: "`+F+`"`)}if(!o.currentElement&&!o.doc.documentElement)return;var z=E[E.length-1]||o.currentElement.tagName||o.doc.documentElement.tagName||``;if(z!==L[1]){var B=L[1].toLowerCase();if(!d||z.toLowerCase()!==B)return c.fatalError(`Opening and ending tag mismatch: "`+z+`" != "`+F+`"`)}var V=x.pop();E.pop();var H=V.localNSMap;if(o.endElement(V.uri,V.localName,z),H)for(var U in H)s(H,U)&&o.endPrefixMapping(U);P++;break;case`?`:v&&y(O),P=ee(e,O,o,c);break;case`!`:v&&y(O),P=k(e,O,o,c,d);break;default:v&&y(O);var W=new A,G=x[x.length-1].currentNSMap,P=C(e,O,W,G,p,c,d),K=W.length;if(W.closed||(d&&t.isHTMLVoidElement(W.tagName)?W.closed=!0:E.push(W.tagName)),v&&K){for(var q=S(v,{}),J=0;J<K;J++){var te=W[J];y(te.offset),te.locator=S(v,{})}o.locator=q,w(W,o,G)&&x.push(W),o.locator=v}else w(W,o,G)&&x.push(W);d&&!W.closed?P=T(e,P,W.tagName,p,o):P++}}catch(e){if(e instanceof l)throw e;if(e instanceof u)return c.fatalError(`Error constructing the DOM: `+e.name+`: `+e.message,e);c.error(`element parse error: `+e),P=-1}P>D?D=P:m(Math.max(O,D)+1)}}function S(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function C(e,t,n,r,i,a,o){function c(e,t,r){if(s(n.attributeNames,e))return a.fatalError(`Attribute `+e+` redefined`);if(!o&&t.indexOf(`<`)>=0)return a.fatalError(`Unescaped '<' not allowed in attributes values`);n.addValue(e,t.replace(/[\t\n\r]/g,` `).replace(b,i),r)}for(var l,u,y=++t,x=d;;){var S=e.charAt(y);if(x===d&&S===`<`)throw Error(`unexpected < in tag name: `+e.slice(t,y));switch(S){case`=`:if(x===f)l=e.slice(t,y),x=m;else if(x===p)x=m;else throw Error(`attribute equal must after attrName`);break;case`'`:case`"`:if(x===m||x===f){if(x===f&&(a.warning(`attribute value must after "="`),l=e.slice(t,y)),t=y+1,y=e.indexOf(S,t),y>0)u=e.slice(t,y),c(l,u,t-1),x=g;else throw Error(`attribute value no end '`+S+`' match`)}else if(x==h)u=e.slice(t,y),c(l,u,t),a.warning(`attribute "`+l+`" missed start quot(`+S+`)!!`),t=y+1,x=g;else throw Error(`attribute value must after "="`);break;case`/`:switch(x){case d:n.setTagName(e.slice(t,y));case g:case _:case v:x=v,n.closed=!0;case h:case f:break;case p:n.closed=!0;break;default:throw Error(`attribute invalid close char('/')`)}break;case``:return a.error(`unexpected end of input`),x==d&&n.setTagName(e.slice(t,y)),y;case`>`:switch(x){case d:n.setTagName(e.slice(t,y));case g:case _:case v:break;case h:case f:u=e.slice(t,y),u.slice(-1)===`/`&&(n.closed=!0,u=u.slice(0,-1));case p:x===p&&(u=l),x==h?(a.warning(`attribute "`+u+`" missed quot(")!`),c(l,u,t)):(o||a.warning(`attribute "`+u+`" missed value!! "`+u+`" instead!!`),c(u,u,t));break;case m:if(!o)return a.fatalError(`AttValue: ' or " expected`)}return y;case``:S=` `;default:if(S<=` `)switch(x){case d:n.setTagName(e.slice(t,y)),x=_;break;case f:l=e.slice(t,y),x=p;break;case h:var u=e.slice(t,y);a.warning(`attribute "`+u+`" missed quot(")!!`),c(l,u,t);case g:x=_}else switch(x){case p:o||a.warning(`attribute "`+l+`" missed value!! "`+l+`" instead2!!`),c(l,l,t),t=y,x=f;break;case g:a.warning(`attribute space is required"`+l+`"!!`);case _:x=f,t=y;break;case m:x=h,t=y;break;case v:throw Error(`elements closed character '/' and '>' must be connected to`)}}y++}}function w(e,t,n){for(var r=e.tagName,i=null,a=e.length;a--;){var o=e[a],l=o.qName,u=o.value,d=l.indexOf(`:`);if(d>0)var f=o.prefix=l.slice(0,d),p=l.slice(d+1),m=f===`xmlns`&&p;else p=l,f=null,m=l===`xmlns`&&``;o.localName=p,m!==!1&&(i??(i=/* @__PURE__ */ Object.create(null),n=Object.create(n)),n[m]=i[m]=u,o.uri=c.XMLNS,t.startPrefixMapping(m,u))}for(var a=e.length;a--;)o=e[a],o.prefix&&(o.prefix===`xml`&&(o.uri=c.XML),o.prefix!==`xmlns`&&(o.uri=n[o.prefix]));var d=r.indexOf(`:`);d>0?(f=e.prefix=r.slice(0,d),p=e.localName=r.slice(d+1)):(f=null,p=e.localName=r);var h=e.uri=n[f||``];if(t.startElement(h,p,r,e),e.closed){if(t.endElement(h,p,r),i)for(f in i)s(i,f)&&t.endPrefixMapping(f)}else return e.currentNSMap=n,e.localNSMap=i,!0}function T(e,t,n,r,a){var s=i(n);if(s||o(n)){var c=RegExp(`</`+n.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)+`>`,`ig`);c.lastIndex=t;var l=c.exec(e),u=l?l.index:-1;if(u<0)return t+1;var d=e.substring(t+1,u);return s&&(d=d.replace(b,r)),a.characters(d,0,d.length),u}return t+1}function E(e,t){for(var n in e)s(e,n)&&(t[n]=e[n])}function D(e,t){var r=t;function i(t){return t||=0,e.charAt(r+t)}function a(e){e||=1,r+=e}function o(){for(var t=0;r<e.length;){var n=i();if(n!==` `&&n!==`
|
|
12
|
+
`&&n!==` `&&n!==`\r`)return t;t++,a()}return-1}function s(){return e.substring(r)}function c(t){return e.substring(r,r+t.length)===t}function l(t){return e.substring(r,r+t.length).toUpperCase()===t.toUpperCase()}function u(e){var t=n.reg(`^`,e).exec(s());return t?(a(t[0].length),t[0]):null}return{char:i,getIndex:function(){return r},getMatch:u,getSource:function(){return e},skip:a,skipBlanks:o,substringFromIndex:s,substringStartsWith:c,substringStartsWithCaseInsensitive:l}}function O(e,t){function r(e,t){var r=n.PI.exec(e.substringFromIndex());return r?r[1].toLowerCase()===`xml`?t.fatalError(`xml declaration is only allowed at the start of the document, but found at position `+e.getIndex()):(e.skip(r[0].length),r[0]):t.fatalError(`processing instruction is not well-formed at position `+e.getIndex())}var i=e.getSource();if(e.char()===`[`){e.skip(1);for(var a=e.getIndex();e.getIndex()<i.length;){if(e.skipBlanks(),e.char()===`]`){var o=i.substring(a,e.getIndex());return e.skip(1),o}var s=null;if(e.char()===`<`&&e.char(1)===`!`)switch(e.char(2)){case`E`:e.char(3)===`L`?s=e.getMatch(n.elementdecl):e.char(3)===`N`&&(s=e.getMatch(n.EntityDecl));break;case`A`:s=e.getMatch(n.AttlistDecl);break;case`N`:s=e.getMatch(n.NotationDecl);break;case`-`:s=e.getMatch(n.Comment)}else if(e.char()===`<`&&e.char(1)===`?`)s=r(e,t);else if(e.char()===`%`)s=e.getMatch(n.PEReference);else return t.fatalError(`Error detected in Markup declaration`);if(!s)return t.fatalError(`Error in internal subset at position `+e.getIndex())}return t.fatalError(`doctype internal subset is not well-formed, missing ]`)}}function k(e,t,r,i,a){var o=D(e,t);switch(a?o.char(2).toUpperCase():o.char(2)){case`-`:var s=o.getMatch(n.Comment);return s?(r.comment(s,n.COMMENT_START.length,s.length-n.COMMENT_START.length-n.COMMENT_END.length),o.getIndex()):i.fatalError(`comment is not well-formed at position `+o.getIndex());case`[`:var c=o.getMatch(n.CDSect);return c?!a&&!r.currentElement?i.fatalError(`CDATA outside of element`):(r.startCDATA(),r.characters(c,n.CDATA_START.length,c.length-n.CDATA_START.length-n.CDATA_END.length),r.endCDATA(),o.getIndex()):i.fatalError(`Invalid CDATA starting at position `+t);case`D`:if(r.doc&&r.doc.documentElement)return i.fatalError(`Doctype not allowed inside or after documentElement at position `+o.getIndex());if(a?!o.substringStartsWithCaseInsensitive(n.DOCTYPE_DECL_START):!o.substringStartsWith(n.DOCTYPE_DECL_START))return i.fatalError(`Expected `+n.DOCTYPE_DECL_START+` at position `+o.getIndex());if(o.skip(n.DOCTYPE_DECL_START.length),o.skipBlanks()<1)return i.fatalError(`Expected whitespace after `+n.DOCTYPE_DECL_START+` at position `+o.getIndex());var l={name:void 0,publicId:void 0,systemId:void 0,internalSubset:void 0};if(l.name=o.getMatch(n.Name),!l.name)return i.fatalError(`doctype name missing or contains unexpected characters at position `+o.getIndex());if(a&&l.name.toLowerCase()!==`html`&&i.warning(`Unexpected DOCTYPE in HTML document at position `+o.getIndex()),o.skipBlanks(),o.substringStartsWith(n.PUBLIC)||o.substringStartsWith(n.SYSTEM)){var u=n.ExternalID_match.exec(o.substringFromIndex());if(!u)return i.fatalError(`doctype external id is not well-formed at position `+o.getIndex());u.groups.SystemLiteralOnly===void 0?(l.systemId=u.groups.SystemLiteral,l.publicId=u.groups.PubidLiteral):l.systemId=u.groups.SystemLiteralOnly,o.skip(u[0].length)}else if(a&&o.substringStartsWithCaseInsensitive(n.SYSTEM)){if(o.skip(n.SYSTEM.length),o.skipBlanks()<1)return i.fatalError(`Expected whitespace after `+n.SYSTEM+` at position `+o.getIndex());if(l.systemId=o.getMatch(n.ABOUT_LEGACY_COMPAT_SystemLiteral),!l.systemId)return i.fatalError(`Expected `+n.ABOUT_LEGACY_COMPAT+` in single or double quotes after `+n.SYSTEM+` at position `+o.getIndex())}return a&&l.systemId&&!n.ABOUT_LEGACY_COMPAT_SystemLiteral.test(l.systemId)&&i.warning(`Unexpected doctype.systemId in HTML document at position `+o.getIndex()),a||(o.skipBlanks(),l.internalSubset=O(o,i)),o.skipBlanks(),o.char()===`>`?(o.skip(1),r.startDTD(l.name,l.publicId,l.systemId,l.internalSubset),r.endDTD(),o.getIndex()):i.fatalError(`doctype not terminated with > at position `+o.getIndex());default:return i.fatalError(`Not well-formed XML starting with "<!" at position `+t)}}function ee(e,t,r,i){var a=e.substring(t).match(n.PI);if(!a)return i.fatalError(`Invalid processing instruction starting at position `+t);if(a[1].toLowerCase()===`xml`){if(t>0)return i.fatalError(`processing instruction at position `+t+` is an xml declaration which is only at the start of the document`);if(!n.XMLDecl.test(e.substring(t)))return i.fatalError(`xml declaration is not well-formed`)}return r.processingInstruction(a[1],a[2]),t+a[0].length}function A(){this.attributeNames=/* @__PURE__ */ Object.create(null)}A.prototype={setTagName:function(e){if(!n.QName_exact.test(e))throw Error(`invalid tagName:`+e);this.tagName=e},addValue:function(e,t,r){if(!n.QName_exact.test(e))throw Error(`invalid attribute:`+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:r}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},e.XMLReader=y,e.parseUtils=D,e.parseDoctypeCommentOrCData=k}}),G=I({"../../../node_modules/.pnpm/@xmldom+xmldom@0.9.12/node_modules/@xmldom/xmldom/lib/dom-parser.js"(e){var t=z(),n=H(),r=B(),i=U(),a=W(),o=n.DOMImplementation,s=t.hasDefaultHTMLNamespace,c=t.isHTMLMimeType,l=t.isValidMimeType,u=t.MIME_TYPE,d=t.NAMESPACE,f=r.ParseError,p=a.XMLReader;function m(e){return e.replace(/\r[\n\u0085]/g,`
|
|
13
|
+
`).replace(/[\r\u0085\u2028\u2029]/g,`
|
|
14
|
+
`)}function h(e){if(e||={},e.locator===void 0&&(e.locator=!0),this.assign=e.assign||t.assign,this.domHandler=e.domHandler||g,this.onError=e.onError||e.errorHandler,e.errorHandler&&typeof e.errorHandler!=`function`)throw TypeError(`errorHandler object is no longer supported, switch to onError!`);e.errorHandler&&e.errorHandler(`warning`,"The `errorHandler` option has been deprecated, use `onError` instead!",this),this.normalizeLineEndings=e.normalizeLineEndings||m,this.locator=!!e.locator,this.xmlns=this.assign(/* @__PURE__ */ Object.create(null),e.xmlns)}h.prototype.parseFromString=function(e,n){if(!l(n))throw TypeError(`DOMParser.parseFromString: the provided mimeType "`+n+`" is not valid.`);var r=this.assign(/* @__PURE__ */ Object.create(null),this.xmlns),a=i.XML_ENTITIES,o=r[``]||null;s(n)?(a=i.HTML_ENTITIES,o=d.HTML):n===u.XML_SVG_IMAGE&&(o=d.SVG),r[``]=o,r.xml=r.xml||d.XML;var c=new this.domHandler({mimeType:n,defaultNamespace:o,onError:this.onError}),f=this.locator?{}:void 0;this.locator&&c.setDocumentLocator(f);var m=new p;return m.errorHandler=c,m.domBuilder=c,!t.isHTMLMimeType(n)&&typeof e!=`string`&&m.errorHandler.fatalError(`source is not a string`),m.parse(this.normalizeLineEndings(String(e)),r,a),c.doc.documentElement||m.errorHandler.fatalError(`missing root element`),c.doc};function g(e){var t=e||{};this.mimeType=t.mimeType||u.XML_APPLICATION,this.defaultNamespace=t.defaultNamespace||null,this.cdata=!1,this.currentElement=void 0,this.doc=void 0,this.locator=void 0,this.onError=t.onError}function _(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}g.prototype={startDocument:function(){var e=new o;this.doc=c(this.mimeType)?e.createHTMLDocument(!1):e.createDocument(this.defaultNamespace,``)},startElement:function(e,t,n,r){var i=this.doc,a=i.createElementNS(e,n||t),o=r.length;b(this,a),this.currentElement=a,this.locator&&_(this.locator,a);for(var s=0;s<o;s++){var e=r.getURI(s),c=r.getValue(s),n=r.getQName(s),l=i.createAttributeNS(e,n);this.locator&&_(r.getLocator(s),l),l.value=l.nodeValue=c,a.setAttributeNode(l)}},endElement:function(e,t,n){this.currentElement=this.currentElement.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var n=this.doc.createProcessingInstruction(e,t);this.locator&&_(this.locator,n),b(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=y.apply(this,arguments),e){if(this.cdata)var r=this.doc.createCDATASection(e);else var r=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(e)&&this.doc.appendChild(r),this.locator&&_(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){e&&(e.lineNumber=0),this.locator=e},comment:function(e,t,n){e=y.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&_(this.locator,r),b(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n,r){var i=this.doc.implementation;if(i&&i.createDocumentType){var a=i.createDocumentType(e,t,n,r);this.locator&&_(this.locator,a),b(this,a),this.doc.doctype=a}},reportError:function(e,t){if(typeof this.onError==`function`)try{this.onError(e,t,this)}catch(n){throw new f(`Reporting `+e+` "`+t+`" caused `+n,this.locator)}else console.error(`[xmldom `+e+`] `+t,v(this.locator))},warning:function(e){this.reportError(`warning`,e)},error:function(e){this.reportError(`error`,e)},fatalError:function(e,t){throw this.reportError(`fatalError`,e),new f(e,this.locator,t)}};function v(e){if(e)return`
|
|
15
|
+
@#[line:`+e.lineNumber+`,col:`+e.columnNumber+`]`}function y(e,t,n){return typeof e==`string`?e.substr(t,n):e.length>=t+n||t?new java.lang.String(e,t,n)+``:e}`endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl`.replace(/\w+/g,function(e){g.prototype[e]=function(){return null}});function b(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}function x(e){if(e===`error`)throw`onErrorStopParsing`}function S(){throw`onWarningStopParsing`}e.__DOMHandler=g,e.DOMParser=h,e.normalizeLineEndings=m,e.onErrorStopParsing=x,e.onWarningStopParsing=S}}),K=I({"../../../node_modules/.pnpm/@xmldom+xmldom@0.9.12/node_modules/@xmldom/xmldom/lib/index.js"(e){var t=z();e.assign=t.assign,e.hasDefaultHTMLNamespace=t.hasDefaultHTMLNamespace,e.isHTMLMimeType=t.isHTMLMimeType,e.isValidMimeType=t.isValidMimeType,e.MIME_TYPE=t.MIME_TYPE,e.NAMESPACE=t.NAMESPACE;var n=B();e.DOMException=n.DOMException,e.DOMExceptionName=n.DOMExceptionName,e.ExceptionCode=n.ExceptionCode,e.ParseError=n.ParseError;var r=H();e.Attr=r.Attr,e.CDATASection=r.CDATASection,e.CharacterData=r.CharacterData,e.Comment=r.Comment,e.Document=r.Document,e.DocumentFragment=r.DocumentFragment,e.DocumentType=r.DocumentType,e.DOMImplementation=r.DOMImplementation,e.Element=r.Element,e.Entity=r.Entity,e.EntityReference=r.EntityReference,e.LiveNodeList=r.LiveNodeList,e.NamedNodeMap=r.NamedNodeMap,e.Node=r.Node,e.NodeList=r.NodeList,e.Notation=r.Notation,e.ProcessingInstruction=r.ProcessingInstruction,e.Text=r.Text,e.XMLSerializer=r.XMLSerializer;var i=G();e.DOMParser=i.DOMParser,e.normalizeLineEndings=i.normalizeLineEndings,e.onErrorStopParsing=i.onErrorStopParsing,e.onWarningStopParsing=i.onWarningStopParsing}}),q={"priority-1":1,"priority-2":2,"priority-3":3,"priority-4":4,"priority-5":5,"priority-6":6,"priority-7":7,"priority-8":8,"priority-9":9},J={"task-start":1,"task-oct":2,"task-quarter":3,"task-3oct":4,"task-half":5,"task-5oct":6,"task-3quar":7,"task-7oct":8,"task-done":9,"task-pause":10},Object.fromEntries(Object.entries(q).map(([e,t])=>[t,e])),Object.fromEntries(Object.entries(J).map(([e,t])=>[t,e])),te=()=>({root:{data:{text:``},children:[]},template:`default`,theme:`fresh-blue`,version:`1.4.43`})})))()}async function Y(e,t,r=`xmind`,f){let p=u(f?.options),h=o(),g=i(),_=`loading`,v=``,y=1,b=0,x=0,S=!1,C=0,w=[],T=!1,E=!1,D=!1,O,k=null,ee=!1,A=!1,j=null,M=$(`section`,`xmind-viewer`);M.dataset.viewerDensity=d(f?.options?.ui?.density),M.dataset.viewerZoomProvider=`xmind`;let N=$(`header`,`xmind-toolbar`),P=$(`div`,`xmind-title`);P.append($(`span`,void 0,`XMIND MIND MAP`),$(`strong`,void 0,f?.filename||`XMind`));let F=$(`div`,`xmind-actions`),I=$(`button`,void 0,`-`),L=$(`span`,void 0,`100%`),R=$(`button`,void 0,`+`),z=$(`button`,void 0,p(`xmind.toolbar.fit`));[I,R,z].forEach(e=>{e.type=`button`}),I.title=p(`xmind.toolbar.zoomOut`),R.title=p(`xmind.toolbar.zoomIn`),z.title=p(`xmind.toolbar.fitTitle`),F.append(I,L,R,z),N.append(P,F);let B=$(`nav`,`xmind-tabs`),V=$(`div`,`xmind-body`),H=$(`aside`,`xmind-sidebar`),U=$(`main`,`xmind-stage`),W=t.ownerDocument||document,G=W.defaultView||window;U.tabIndex=0,U.setAttribute(`role`,`application`),U.setAttribute(`aria-label`,`XMind canvas. Drag to pan, pinch on touch screens to zoom, double click to fit, use Ctrl or Command with wheel to zoom.`),U.setAttribute(`aria-keyshortcuts`,`Space ArrowLeft ArrowRight ArrowUp ArrowDown Control+0 Meta+0`);let K=$(`div`,`xmind-zoom-box`),q=$(`div`,`xmind-surface`),J=$(`div`,`xmind-state`,p(`xmind.state.loading`));K.append(q),U.append(K,J),V.append(H,U),M.append(N,B,V),t.replaceChildren(ge(),M);let te=()=>({scale:y,label:`${Math.round(y*100)}%`,canZoomIn:y<2.5,canZoomOut:y>.25,canReset:y!==1||b!==0||x!==0,minScale:.25,maxScale:2.5}),ne=()=>{let e=w[C];return{renderer:`mindmap`,scale:y,zoom:te(),navigation:{mode:`sheet`},extra:{status:_,sheetIndex:C,sheetTitle:e?.title,panX:b,panY:x,width:e?.width,height:e?.height}}},Y=(e,t=`viewer`)=>{let r=ne();return!S&&!A&&g.emit(n(r,{action:e,source:t})),r},re=()=>new Promise(e=>{G.requestAnimationFrame(()=>e())}),ie=()=>{let e=w[C];if(!e)return;let t=Math.max(1,U.clientWidth),n=Math.max(1,U.clientHeight),r=e.width*y,i=e.height*y,a=(e,t)=>{if(t<=e){let n=(e-t)/2,r=Math.max(se,e*.45);return{min:n-r,max:n+r}}let n=Math.min(Math.max(le,e*ce),Math.max(le,t*.35));return{min:n-t,max:e-n}},o=a(t,r),s=a(n,i);b=Math.min(o.max,Math.max(o.min,b)),x=Math.min(s.max,Math.max(s.min,x))},ae=e=>{if(!k)return;let t=k.getPan();b=Number.isFinite(t.x)?t.x:b,x=Number.isFinite(t.y)?t.y:x,y=_e(k.getScale()),L.textContent=`${Math.round(y*100)}%`,e&&(D=!0),h.emit(),e&&Y(`pan`,`user`)},X=e=>{ee=!0;try{e()}finally{ee=!1}ae(!1)},Z=()=>{let e=w[C];e&&(K.style.width=`${e.width}px`,K.style.height=`${e.height}px`,q.style.width=`${e.width}px`,q.style.height=`${e.height}px`),ie(),q.style.transform=``,k?X(()=>{k?.zoom(y,{animate:!1,force:!0}),k?.pan(b,x,{animate:!1,force:!0})}):K.style.transform=`translate3d(${b}px, ${x}px, 0) scale(${y})`,L.textContent=`${Math.round(y*100)}%`},he=e=>(D=!0,y=_e(e),Z(),h.emit(),Y(`zoom-change`,`user`),te()),ve=(e,t,n)=>{let r=_e(e);if(r===y)return te();if(D=!0,k)X(()=>{k?.zoomToPoint(r,{clientX:t,clientY:n},{animate:!1,force:!0})});else{let e=U.getBoundingClientRect(),i=t-e.left,a=n-e.top,o=(i-b)/y,s=(a-x)/y;y=r,b=i-o*y,x=a-s*y,Z(),h.emit()}return Y(`zoom-change`,`user`),te()},ye=e=>{let t=U.getBoundingClientRect();return ve(e,t.left+t.width/2,t.top+t.height/2)},be=(e=!1)=>{let t=w[C];if(!t)return te();D=!e&&D;let n=Math.max(1,U.clientWidth-oe),r=Math.max(1,U.clientHeight-oe),i=Math.min(1,n/t.width,r/t.height);return y=_e(i),b=(U.clientWidth-t.width*y)/2,x=(U.clientHeight-t.height*y)/2,Z(),h.emit(),e&&Y(`zoom-reset`,`user`),te()},xe=e=>{let t=w[C];if(!t)return{applied:!1,mode:e.mode,resize:e.resize,source:e.source,reason:`not-ready`,provider:`view-state`};let n=Math.max(1,(e.viewportWidth||U.clientWidth)-oe),r=Math.max(1,(e.viewportHeight||U.clientHeight)-oe),i=n/t.width,a=r/t.height,o=Math.min(i,a),s=(()=>{switch(e.mode){case`cover`:return Math.max(i,a);case`width`:return i;case`height`:return a;case`actual`:return 1;case`scale-down`:return Math.min(1,o);default:return o}})();y=_e(Math.min(e.maxScale??2.5,Math.max(e.minScale??.25,s))),b=(U.clientWidth-t.width*y)/2,x=(U.clientHeight-t.height*y)/2,Z(),h.emit();let c=Y(`fit`,e.source);return{applied:!0,mode:e.mode,resize:e.resize,scale:c.scale,source:e.source,provider:`view-state`,state:c}},Se=e=>{D=!0,b=U.clientWidth/2-(e.x+e.width/2)*y,x=U.clientHeight/2-(e.y+e.height/2)*y,Z(),h.emit(),Y(`node-click`,`user`)},we=e=>{H.replaceChildren();let t=$(`div`,`xmind-stats`);[[p(`xmind.stats.nodes`),e.nodeCount],[p(`xmind.stats.depth`),e.maxDepth+1],[p(`xmind.stats.theme`),e.theme],[p(`xmind.stats.template`),e.template]].forEach(([e,n])=>{let r=document.createElement(`div`);r.append($(`span`,void 0,String(e)),$(`strong`,void 0,String(n))),t.append(r)}),H.append(t);let n=$(`div`,`xmind-outline`);Ce(e.root,e=>{let t=$(`button`,void 0,e.title);t.type=`button`,t.style.paddingInlineStart=`${8+Math.min(e.depth,4)*12}px`,t.title=e.title,t.setAttribute(`aria-label`,e.title),t.addEventListener(`click`,()=>{n.querySelectorAll(`button[aria-current="true"]`).forEach(e=>{e.classList.remove(`active`),e.removeAttribute(`aria-current`)}),t.classList.add(`active`),t.setAttribute(`aria-current`,`true`),Se(e)}),n.append(t)}),H.append(n)},Te=()=>{let e=w[C];if(!e)return;q.replaceChildren(),D=!1,q.style.width=`${e.width}px`,q.style.height=`${e.height}px`;let t=document.createElementNS(`http://www.w3.org/2000/svg`,`svg`);t.classList.add(`xmind-edges`),t.setAttribute(`width`,String(e.width)),t.setAttribute(`height`,String(e.height)),t.setAttribute(`viewBox`,`0 0 ${e.width} ${e.height}`),Ae(t,e.root),q.append(t),Ce(e.root,e=>{q.append(je(e,Se,()=>T,p))}),we(e),Z(),requestAnimationFrame(()=>be())},Oe=()=>{B.replaceChildren(),w.forEach((e,t)=>{let n=$(`button`,t===C?`active`:``,e.title);n.type=`button`,n.title=e.title,n.addEventListener(`click`,()=>{C=t,Oe(),Te(),Y(`sheet-change`,`user`)}),B.append(n)})},ke=()=>{J.hidden=_===`ready`,J.classList.toggle(`error`,_===`error`),J.textContent=_===`error`?v:p(`xmind.state.loading`)},Me=async()=>{_=`loading`,v=``,ke();try{let t=await De(e,p(`xmind.error.unrecognized`));if(S)return;if(!Array.isArray(t)||!t.length)throw Error(p(`xmind.error.noCanvas`));w=t.map(Ee),C=0,Oe(),Te(),_=`ready`,ke(),G.requestAnimationFrame(()=>Y(`init`,`viewer`))}catch(e){if(S)return;console.error(e),v=e instanceof Error?e.message:String(e),_=`error`,ke()}};s(M,{zoomIn:()=>ye(y+.15),zoomOut:()=>ye(y-.15),resetZoom:()=>be(!0),setZoom:he,fit:xe,getState:te,subscribe:h.subscribe}),c(M,{getState:ne,async applyState(e,t={}){let n=t.source||`api`,r=t.action||`restore`,i=t.notify!==!1,a=Number(e.extra?.sheetIndex),o=Number(e.scale??e.zoom?.scale),s=Number(e.extra?.panX),c=Number(e.extra?.panY);A=!0;try{Number.isInteger(a)&&w[a]&&a!==C&&(C=a,Oe(),Te(),await re(),await re()),Number.isFinite(o)&&(y=_e(o)),Number.isFinite(s)&&(b=s),Number.isFinite(c)&&(x=c),D=!0,Z()}finally{A=!1}return i?Y(r,n):ne()},fit:xe,subscribe:g.subscribe});let Ne=e=>e instanceof(G.Element||Element)?e:null,Pe=e=>{let t=Ne(e);if(!t)return!1;if(t.closest(`.xmind-toolbar,.xmind-tabs,.xmind-sidebar`))return!0;let n=t.closest(`a,button,input,textarea,select,[contenteditable="true"]`);return!(!n||n.closest(`.xmind-node`))},Fe=e=>!Ne(e)?.closest(`a[href],button,input,textarea,select,[contenteditable="true"]`),Ie=e=>{E=e,U.classList.toggle(`is-space-panning`,e)},Le=()=>{try{U.focus({preventScroll:!0})}catch{try{U.focus()}catch{}}},Re=()=>{T=!0,G.setTimeout(()=>{T=!1},pe)},ze=()=>{Le(),j={x:b,y:x,scale:y},U.classList.add(`is-panning`)},Be=()=>{ae(!ee)},Ve=()=>{ae(!ee),U.classList.remove(`is-panning`),j&&Math.abs(b-j.x)+Math.abs(x-j.y)+Math.abs(y-j.scale)*100>Q&&Re(),j=null},He=()=>{k=m(K,{canvas:!0,cursor:`grab`,minScale:.25,maxScale:2.5,step:.15,animate:!1,origin:`0 0`,touchAction:`none`,excludeClass:me,handleStartEvent:e=>{_!==`ready`||!E&&Pe(e.target)?(e.preventDefault(),e.stopPropagation()):(Fe(e.target)&&e.preventDefault(),e.stopPropagation(),Le())}}),K.addEventListener(`panzoomstart`,ze),K.addEventListener(`panzoomchange`,Be),K.addEventListener(`panzoomend`,Ve),Z()},Ue=e=>{if(_!==`ready`)return;if(e.preventDefault(),!e.ctrlKey&&!e.metaKey){D=!0,k?X(()=>{k?.pan(-e.deltaX,-e.deltaY,{animate:!1,force:!0,relative:!0})}):(b-=e.deltaX,x-=e.deltaY,Z(),h.emit()),Y(`pan`,`user`);return}let t=e.deltaY>0?-1:1;ve(y+t*ue,e.clientX,e.clientY)},We=e=>{if(_!==`ready`)return;let t=e.shiftKey?fe:de;if(e.key===` `)Ie(!0),e.preventDefault();else{if(e.key===`ArrowLeft`)D=!0,b+=t;else if(e.key===`ArrowRight`)D=!0,b-=t;else if(e.key===`ArrowUp`)D=!0,x+=t;else if(e.key===`ArrowDown`)D=!0,x-=t;else if((e.key===`0`||e.key===`Home`)&&(e.ctrlKey||e.metaKey)){be(!0),e.preventDefault();return}else return;k?X(()=>{k?.pan(b,x,{animate:!1,force:!0})}):(Z(),h.emit()),Y(`pan`,`user`),e.preventDefault()}},Ge=e=>{e.key===` `&&(Ie(!1),e.preventDefault())},Ke=e=>{_!==`ready`||Pe(e.target)||(be(!0),e.preventDefault())},qe=e=>{e.preventDefault()},Je=e=>{U.classList.contains(`is-panning`)&&(e.preventDefault(),e.stopPropagation())},Ye=e=>{U.classList.contains(`is-panning`)&&e.preventDefault()},Xe=()=>{j=null,U.classList.remove(`is-panning`),Ie(!1)},Ze=()=>{W.visibilityState===`hidden`&&Xe()},Qe=()=>{S||_!==`ready`||(D?(Z(),h.emit()):be())},$e=()=>{O!==void 0&&G.cancelAnimationFrame(O),O=G.requestAnimationFrame(()=>{O=void 0,Qe()})},et=typeof G.ResizeObserver==`function`?new G.ResizeObserver($e):null;return et?.observe(U),G.addEventListener(`resize`,$e),He(),U.addEventListener(`wheel`,Ue,{passive:!1}),U.addEventListener(`keydown`,We),U.addEventListener(`keyup`,Ge),U.addEventListener(`dblclick`,Ke),U.addEventListener(`dragstart`,qe),U.addEventListener(`contextmenu`,Je),U.addEventListener(`selectstart`,Ye),G.addEventListener(`keyup`,Ge),G.addEventListener(`blur`,Xe),W.addEventListener(`visibilitychange`,Ze),I.addEventListener(`click`,()=>ye(y-.15)),R.addEventListener(`click`,()=>ye(y+.15)),z.addEventListener(`click`,()=>be(!0)),ke(),Me(),{$el:M,unmount(){S=!0,O!==void 0&&(G.cancelAnimationFrame(O),O=void 0),et?.disconnect(),a(M),l(M),K.removeEventListener(`panzoomstart`,ze),K.removeEventListener(`panzoomchange`,Be),K.removeEventListener(`panzoomend`,Ve),k?.destroy(),k=null,U.removeEventListener(`wheel`,Ue),U.removeEventListener(`keydown`,We),U.removeEventListener(`keyup`,Ge),U.removeEventListener(`dblclick`,Ke),U.removeEventListener(`dragstart`,qe),U.removeEventListener(`contextmenu`,Je),U.removeEventListener(`selectstart`,Ye),G.removeEventListener(`keyup`,Ge),G.removeEventListener(`resize`,$e),G.removeEventListener(`blur`,Xe),W.removeEventListener(`visibilitychange`,Ze),t.replaceChildren()}}}var re,ie,ae,X,oe,Z,Q,se,ce,le,ue,de,fe,pe,me,he,ge,$,_e,ve,ye,be,xe,Se,Ce,we,Te,Ee,De,Oe,ke,Ae,je;function Me(){return(Me=e((()=>{re=/* @__PURE__ */ t(f(),1),p(),ne(),r(),ie=236,ae=260,X=24,oe=44,Z=1800,Q=5,se=180,ce=.08,le=56,ue=.12,de=42,fe=96,pe=120,me=`xmind-pan-exclude`,he=`
|
|
16
|
+
.xmind-viewer{height:100%;min-height:0;display:flex;flex-direction:column;--xmind-sidebar-width:252px;--xmind-sidebar-padding:10px;--xmind-stats-gap:6px;--xmind-stats-margin:8px;--xmind-stats-padding:7px 8px;--xmind-stats-radius:9px;--xmind-stats-label-size:10px;--xmind-stats-value-size:14px;--xmind-outline-gap:2px;--xmind-outline-row-height:28px;--xmind-outline-font-size:13px;--xmind-outline-radius:7px;--xmind-outline-text:#334155;--xmind-outline-hover-bg:rgba(33,163,102,.1);--xmind-outline-hover-text:#0f766e;--xmind-outline-active-bg:rgba(33,163,102,.15);--xmind-outline-active-text:#0b7658;background:#eef3f7;color:#172033}
|
|
17
|
+
.xmind-viewer[data-viewer-density='compact']{--xmind-sidebar-width:232px;--xmind-sidebar-padding:7px;--xmind-stats-gap:4px;--xmind-stats-margin:6px;--xmind-stats-padding:5px 6px;--xmind-stats-radius:7px;--xmind-stats-label-size:9px;--xmind-stats-value-size:12px;--xmind-outline-gap:1px;--xmind-outline-row-height:26px;--xmind-outline-font-size:12px;--xmind-outline-radius:6px}
|
|
18
|
+
.xmind-viewer *{box-sizing:border-box}
|
|
19
|
+
.xmind-toolbar{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 16px;border-bottom:1px solid rgba(23,32,51,.08);background:#fff}
|
|
20
|
+
.xmind-title{min-width:0}.xmind-title span{color:#159365;font-size:12px;font-weight:900}.xmind-title strong{display:block;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:18px}
|
|
21
|
+
.xmind-actions{display:flex;align-items:center;gap:8px}.xmind-actions button{min-width:34px;min-height:30px;border:0;border-radius:8px;background:rgba(15,23,42,.06);color:#26364d;cursor:pointer;font-size:12px;font-weight:900}.xmind-actions button:hover{background:rgba(33,163,102,.14);color:#0f8f62}.xmind-actions span{min-width:48px;color:#64748b;text-align:center;font-size:12px;font-weight:900}
|
|
22
|
+
.xmind-tabs{display:flex;min-height:46px;gap:8px;align-items:center;overflow:auto;padding:8px 12px;border-bottom:1px solid rgba(23,32,51,.08);background:#f8fafc}
|
|
23
|
+
.xmind-tabs button{min-height:30px;max-width:220px;flex:0 0 auto;border:1px solid rgba(148,163,184,.28);border-radius:999px;padding:0 12px;background:#fff;color:#475569;cursor:pointer;font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.xmind-tabs button.active{border-color:rgba(33,163,102,.35);background:rgba(33,163,102,.12);color:#0f8f62}
|
|
24
|
+
.xmind-body{flex:1;min-height:0;display:grid;grid-template-columns:minmax(210px,var(--xmind-sidebar-width)) minmax(0,1fr)}
|
|
25
|
+
.xmind-sidebar{min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;border-right:1px solid rgba(23,32,51,.08);background:rgba(255,255,255,.72);padding:var(--xmind-sidebar-padding)}
|
|
26
|
+
.xmind-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--xmind-stats-gap);margin-bottom:var(--xmind-stats-margin)}.xmind-stats div{min-width:0;border-radius:var(--xmind-stats-radius);background:#fff;padding:var(--xmind-stats-padding);box-shadow:inset 0 0 0 1px rgba(23,32,51,.06)}.xmind-stats span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#718096;font-size:var(--xmind-stats-label-size);font-weight:650;line-height:1.3}.xmind-stats strong{display:block;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--xmind-stats-value-size);line-height:1.25;color:#172033}
|
|
27
|
+
.xmind-outline{display:flex;flex-direction:column;gap:var(--xmind-outline-gap)}.xmind-outline button{display:block;appearance:none;width:100%;min-height:var(--xmind-outline-row-height);border:0;border-radius:var(--xmind-outline-radius);padding:0 8px;background:transparent;color:var(--xmind-outline-text);cursor:pointer;font-family:inherit;font-size:var(--xmind-outline-font-size);font-weight:600;line-height:1.25;letter-spacing:-.01em;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.xmind-outline button:hover{background:var(--xmind-outline-hover-bg);color:var(--xmind-outline-hover-text)}.xmind-outline button.active{background:var(--xmind-outline-active-bg);color:var(--xmind-outline-active-text)}.xmind-outline button:focus-visible{outline:2px solid rgba(20,148,105,.42);outline-offset:-2px}
|
|
28
|
+
.xmind-stage{position:relative;min-width:0;min-height:0;overflow:hidden;cursor:grab;touch-action:none;overscroll-behavior:contain;user-select:none;-webkit-user-select:none;-webkit-user-drag:none;-webkit-tap-highlight-color:transparent;contain:layout paint;background:linear-gradient(90deg,rgba(15,23,42,.04) 1px,transparent 1px),linear-gradient(180deg,rgba(15,23,42,.04) 1px,transparent 1px),#f3f7fb;background-size:32px 32px;outline:none}
|
|
29
|
+
.xmind-stage *{touch-action:none;-webkit-user-drag:none}
|
|
30
|
+
.xmind-stage:focus-visible{box-shadow:inset 0 0 0 2px rgba(59,130,246,.42)}
|
|
31
|
+
.xmind-stage:active{cursor:grabbing}
|
|
32
|
+
.xmind-stage.is-panning,.xmind-stage.is-space-panning,.xmind-stage.is-panning *,.xmind-stage.is-space-panning *{cursor:grabbing!important;user-select:none}
|
|
33
|
+
.xmind-zoom-box{position:absolute;inset:0;transform-origin:top left;will-change:transform;cursor:inherit}.xmind-surface{position:absolute;left:0;top:0;transform-origin:top left;will-change:transform;cursor:inherit}.xmind-edges{position:absolute;inset:0;overflow:visible;pointer-events:none}.xmind-edges path{fill:none;stroke:#9db2c7;stroke-width:2.2;stroke-linecap:round}
|
|
34
|
+
.xmind-node{position:absolute;width:236px;min-height:58px;border:1px solid rgba(15,23,42,.1);border-radius:14px;padding:12px 12px 10px;background:#fff;box-shadow:0 12px 28px rgba(23,32,51,.11);color:#172033;cursor:grab;user-select:none;-webkit-user-select:none}
|
|
35
|
+
.xmind-node:active,.xmind-stage.is-panning .xmind-node{cursor:grabbing}
|
|
36
|
+
.xmind-node.root{width:260px;border-color:rgba(33,163,102,.28);background:linear-gradient(135deg,#effdf5,#fff);box-shadow:0 18px 38px rgba(33,163,102,.16)}
|
|
37
|
+
.xmind-node.detached{border-style:dashed}.xmind-node.summary{background:#fff8e7}.xmind-node.callout{background:#eef6ff}
|
|
38
|
+
.xmind-node h3{margin:0;color:#172033;font-size:14px;line-height:1.35;word-break:break-word}.xmind-node.root h3{font-size:16px}
|
|
39
|
+
.xmind-badges,.xmind-labels{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.xmind-badges span,.xmind-labels span{max-width:100%;border-radius:999px;padding:3px 7px;font-size:11px;font-weight:800;line-height:1.3}.xmind-badges span{background:#eef6f7;color:#0b7480}.xmind-labels span{background:#edf2ff;color:#3557a5}
|
|
40
|
+
.xmind-note{margin:8px 0 0;color:#64748b;font-size:12px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.xmind-link{display:block;margin-top:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#0f766e;font-size:12px;font-weight:800;text-decoration:none;cursor:pointer}.xmind-image{display:block;max-width:100%;max-height:96px;margin-top:8px;border-radius:8px;object-fit:contain;background:#f8fafc}
|
|
41
|
+
.xmind-stage.is-panning .xmind-link{pointer-events:none}
|
|
42
|
+
.xmind-state{position:absolute;inset:0;z-index:4;display:flex;align-items:center;justify-content:center;padding:24px;color:#64748b;font-weight:800;text-align:center;background:rgba(238,243,247,.88)}.xmind-state[hidden]{display:none!important}.xmind-state.error{color:#b42318}
|
|
43
|
+
[data-viewer-theme='dark'] .xmind-viewer{--xmind-outline-text:#cbd5e1;--xmind-outline-hover-bg:rgba(52,211,153,.11);--xmind-outline-hover-text:#a7f3d0;--xmind-outline-active-bg:rgba(52,211,153,.17);--xmind-outline-active-text:#d1fae5;background:#111827;color:#e5eef8}
|
|
44
|
+
[data-viewer-theme='dark'] .xmind-toolbar,[data-viewer-theme='dark'] .xmind-tabs,[data-viewer-theme='dark'] .xmind-sidebar{border-color:rgba(139,148,158,.2);background:#111827;color:#e5eef8}
|
|
45
|
+
[data-viewer-theme='dark'] .xmind-actions button,[data-viewer-theme='dark'] .xmind-tabs button,[data-viewer-theme='dark'] .xmind-stats div{border-color:rgba(139,148,158,.24);background:#1f2937;color:#cbd5e1;box-shadow:none}
|
|
46
|
+
[data-viewer-theme='dark'] .xmind-title strong,[data-viewer-theme='dark'] .xmind-stats strong{color:#e5eef8}
|
|
47
|
+
[data-viewer-theme='dark'] .xmind-actions span,[data-viewer-theme='dark'] .xmind-stats span{color:#94a3b8}
|
|
48
|
+
[data-viewer-theme='dark'] .xmind-stage{background:linear-gradient(90deg,rgba(148,163,184,.08) 1px,transparent 1px),linear-gradient(180deg,rgba(148,163,184,.08) 1px,transparent 1px),#0d1117;background-size:32px 32px}
|
|
49
|
+
[data-viewer-theme='dark'] .xmind-edges path{stroke:#50647a}
|
|
50
|
+
[data-viewer-theme='dark'] .xmind-node{border-color:rgba(139,148,158,.26);background:#161b22;color:#e6edf3;box-shadow:0 14px 32px rgba(0,0,0,.36)}
|
|
51
|
+
[data-viewer-theme='dark'] .xmind-node.root{border-color:rgba(52,211,153,.35);background:linear-gradient(135deg,#123128,#161b22)}
|
|
52
|
+
[data-viewer-theme='dark'] .xmind-node.summary{background:#2a2416}[data-viewer-theme='dark'] .xmind-node.callout{background:#14283d}
|
|
53
|
+
[data-viewer-theme='dark'] .xmind-node h3{color:#f0f6fc}[data-viewer-theme='dark'] .xmind-note{color:#9aa7b8}[data-viewer-theme='dark'] .xmind-image{background:#21262d}
|
|
54
|
+
[data-viewer-theme='dark'] .xmind-state{background:rgba(13,17,23,.9);color:#cbd5e1}
|
|
55
|
+
@media (prefers-color-scheme:dark){[data-viewer-theme='system'] .xmind-viewer{--xmind-outline-text:#cbd5e1;--xmind-outline-hover-bg:rgba(52,211,153,.11);--xmind-outline-hover-text:#a7f3d0;--xmind-outline-active-bg:rgba(52,211,153,.17);--xmind-outline-active-text:#d1fae5;background:#111827;color:#e5eef8}[data-viewer-theme='system'] .xmind-toolbar,[data-viewer-theme='system'] .xmind-tabs,[data-viewer-theme='system'] .xmind-sidebar{border-color:rgba(139,148,158,.2);background:#111827;color:#e5eef8}[data-viewer-theme='system'] .xmind-actions button,[data-viewer-theme='system'] .xmind-tabs button,[data-viewer-theme='system'] .xmind-stats div{border-color:rgba(139,148,158,.24);background:#1f2937;color:#cbd5e1;box-shadow:none}[data-viewer-theme='system'] .xmind-title strong,[data-viewer-theme='system'] .xmind-stats strong{color:#e5eef8}[data-viewer-theme='system'] .xmind-actions span,[data-viewer-theme='system'] .xmind-stats span{color:#94a3b8}[data-viewer-theme='system'] .xmind-stage{background:linear-gradient(90deg,rgba(148,163,184,.08) 1px,transparent 1px),linear-gradient(180deg,rgba(148,163,184,.08) 1px,transparent 1px),#0d1117;background-size:32px 32px}[data-viewer-theme='system'] .xmind-edges path{stroke:#50647a}[data-viewer-theme='system'] .xmind-node{border-color:rgba(139,148,158,.26);background:#161b22;color:#e6edf3;box-shadow:0 14px 32px rgba(0,0,0,.36)}[data-viewer-theme='system'] .xmind-node.root{border-color:rgba(52,211,153,.35);background:linear-gradient(135deg,#123128,#161b22)}[data-viewer-theme='system'] .xmind-node.summary{background:#2a2416}[data-viewer-theme='system'] .xmind-node.callout{background:#14283d}[data-viewer-theme='system'] .xmind-node h3{color:#f0f6fc}[data-viewer-theme='system'] .xmind-note{color:#9aa7b8}[data-viewer-theme='system'] .xmind-image{background:#21262d}[data-viewer-theme='system'] .xmind-state{background:rgba(13,17,23,.9);color:#cbd5e1}}
|
|
56
|
+
@media (pointer:coarse){.xmind-viewer{--xmind-outline-row-height:36px;--xmind-outline-font-size:13px}}
|
|
57
|
+
@media (max-width:860px){.xmind-body{grid-template-columns:1fr}.xmind-sidebar{display:none}.xmind-toolbar{align-items:flex-start;flex-direction:column}.xmind-actions{width:100%;justify-content:flex-end}}
|
|
58
|
+
`,ge=()=>{let e=document.createElement(`style`);return e.textContent=he,e},$=(e,t,n)=>{let r=document.createElement(e);return t&&(r.className=t),n!==void 0&&(r.textContent=n),r},_e=e=>Math.min(2.5,Math.max(.25,Number(e.toFixed(2)))),ve=e=>Array.isArray(e)?e:[],ye=(e,t=``)=>typeof e==`string`&&e.trim()?e.trim():t,be=(e,t=220)=>e.length>t?`${e.slice(0,t-1)}...`:e,xe=e=>{let t=34+Math.max(1,Math.ceil(e.title.length/22))*18;return(e.labels.length||e.markers.length||e.priority||e.progress||e.collapsed||e.detached||e.summary||e.callout)&&(t+=28),e.note&&(t+=Math.min(60,18+Math.ceil(e.note.length/34)*16)),e.hyperlink&&(t+=24),e.image&&(t+=96),Math.max(58,t)},Se=(e,t,n,r)=>{r.value+=1;let i=e.data||{},a=r.value>=Z?[]:ve(e.children).map((e,i)=>Se(e,t+1,`${n}.${i+1}`,r)),o={id:`xmind-node-${n.replace(/[^a-z0-9]+/gi,`-`)}`,title:ye(i.text,t===0?`Central Topic`:`Untitled Topic`),labels:ve(i.label).map(e=>String(e)).filter(Boolean),markers:ve(i.markers).map(e=>String(e)).filter(Boolean),note:ye(i.note),hyperlink:ye(i.hyperlink),image:ye(i.image),priority:typeof i.priority==`number`?i.priority:void 0,progress:typeof i.progress==`number`?i.progress:void 0,structure:ye(i[`xmind-structure`]),collapsed:i.expandState===`collapse`,detached:i[`xmind-detached`]===!0,summary:i[`xmind-summary`]===!0,callout:i[`xmind-callout`]===!0,depth:t,children:a,x:0,y:0,width:t===0?ae:ie,height:0,subtreeHeight:0};return o.height=xe(o),o},Ce=(e,t)=>{t(e),e.children.forEach(e=>Ce(e,t))},we=e=>{if(!e.children.length)return e.subtreeHeight=e.height,e.subtreeHeight;let t=e.children.reduce((e,t,n)=>e+we(t)+(n>0?X:0),0);return e.subtreeHeight=Math.max(e.height,t),e.subtreeHeight},Te=(e,t)=>{if(e.x=oe+e.depth*348,e.y=t+(e.subtreeHeight-e.height)/2,!e.children.length)return;let n=e.children.reduce((e,t,n)=>e+t.subtreeHeight+(n>0?X:0),0),r=t+(e.subtreeHeight-n)/2;e.children.forEach(e=>{Te(e,r),r+=e.subtreeHeight+X})},Ee=(e,t)=>{let n={value:0},r=Se(e.root||{data:{text:e.title||`Sheet ${t+1}`}},0,String(t+1),n);we(r),Te(r,oe);let i=0,a=0,o=0;return Ce(r,e=>{i=Math.max(i,e.depth),a=Math.max(a,e.x+e.width),o=Math.max(o,e.y+e.height)}),{title:ye(e.title,`Sheet ${t+1}`),theme:ye(e.theme,`-`),template:ye(e.template,`-`),version:ye(e.version,`-`),root:r,nodeCount:n.value,maxDepth:i,width:Math.max(840,a+oe),height:Math.max(520,o+oe)}},De=async(e,t)=>{let n=await re.default.loadAsync(e),r={},i=[];n.forEach((e,t)=>{t.dir||!e.startsWith(`resources/`)&&!e.startsWith(`attachments/`)||i.push(t.async(`uint8array`).then(t=>{r[e]=t}))}),await Promise.all(i);let a={resources:Object.keys(r).length?r:null},o=n.file(/(^|\/)content\.json$/i)[0];if(o)return await D(await o.async(`text`),a);let s=n.file(/(^|\/)content\.xml$/i)[0];if(s){let e=n.file(/(^|\/)comments\.xml$/i)[0];return await x(await s.async(`text`),{...a,commentsXml:e?await e.async(`text`):void 0})}throw Error(t)},Oe=(e,t)=>{let n=[];return e.priority&&n.push(`P${e.priority}`),e.progress&&n.push(e.progress===10?t(`xmind.badge.paused`):`${Math.min(100,Math.round(e.progress/9*100))}%`),e.collapsed&&n.push(t(`xmind.badge.collapsed`)),e.detached&&n.push(t(`xmind.badge.floating`)),e.summary&&n.push(t(`xmind.badge.summary`)),e.callout&&n.push(t(`xmind.badge.callout`)),e.markers.slice(0,4).forEach(e=>n.push(e)),n},ke=(e,t)=>{let n=e.x+e.width,r=e.y+e.height/2,i=t.x,a=t.y+t.height/2,o=Math.max(48,(i-n)*.48);return`M${n} ${r} C${n+o} ${r}, ${i-o} ${a}, ${i} ${a}`},Ae=(e,t)=>{t.children.forEach(n=>{let r=document.createElementNS(`http://www.w3.org/2000/svg`,`path`);r.setAttribute(`d`,ke(t,n)),e.append(r),Ae(e,n)})},je=(e,t,n,r)=>{let i=$(`article`,[`xmind-node`,e.depth===0?`root`:``,e.detached?`detached`:``,e.summary?`summary`:``,e.callout?`callout`:``].filter(Boolean).join(` `));i.id=e.id,i.style.left=`${e.x}px`,i.style.top=`${e.y}px`,i.style.width=`${e.width}px`,i.style.minHeight=`${e.height}px`,i.append($(`h3`,void 0,e.title));let a=Oe(e,r);if(a.length){let e=$(`div`,`xmind-badges`);a.forEach(t=>e.append($(`span`,void 0,t))),i.append(e)}if(e.labels.length){let t=$(`div`,`xmind-labels`);e.labels.slice(0,8).forEach(e=>t.append($(`span`,void 0,e))),i.append(t)}if(e.note&&i.append($(`p`,`xmind-note`,be(e.note))),e.image){if(/^data:image\//i.test(e.image)||/^https?:\/\//i.test(e.image)){let t=document.createElement(`img`);t.className=`xmind-image`,t.alt=e.title,t.src=e.image,t.draggable=!1,i.append(t)}else i.append($(`p`,`xmind-note`,r(`xmind.imageResource`,{name:e.image})))}if(e.hyperlink){let t=document.createElement(`a`);t.className=`xmind-link ${me}`,t.textContent=e.hyperlink,t.href=e.hyperlink.startsWith(`http`)?e.hyperlink:`#`,t.target=`_blank`,t.rel=`noreferrer`,t.draggable=!1,i.append(t)}return i.addEventListener(`click`,r=>{n()?(r.preventDefault(),r.stopPropagation()):t(e)}),i}})))()}Me();export{Y as default};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{n as e,r as t}from"./rolldown-runtime-BKuNeK48.js";import{n,r}from"./chunk-Y2CYZVJY-DjEHBC-3.js";import{C as i,t as a,w as o}from"./src-C1iDJpBK.js";import{B as s,D as c,U as l,W as u,a as d,b as f,c as p,f as m,j as h,q as g,v as _,w as v,y}from"./chunk-DU6HZSFF-Bx48E1rg.js";import{n as b}from"./linear-DXABSWHW.js";import{n as x,t as S}from"./ordinal-NuFkISw7.js";import{t as C}from"./init-Ca_Ibf4y.js";import{d as w,i as T}from"./chunk-75Z2AOVW-IO9R6faP.js";import{n as E}from"./line-qVHaOdPp.js";import{n as D,t as O}from"./chunk-CLGD4ZFX-tRS89bnq.js";import{n as k}from"./chunk-PWAF6VOD-IORmPx9D.js";import{i as A,t as j}from"./chunk-GMAD6QVW-D41KnniX.js";function M(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((t-e)/n))|0,a=Array(i);++r<i;)a[r]=e+r*n;return a}function N(){var e=x().unknown(void 0),t=e.domain,n=e.range,r=0,i=1,a,o,s=!1,c=0,l=0,u=.5;delete e.unknown;function d(){var e=t().length,d=i<r,f=d?i:r,p=d?r:i;a=(p-f)/Math.max(1,e-c+l*2),s&&(a=Math.floor(a)),f+=(p-f-a*(e-c))*u,o=a*(1-c),s&&(f=Math.round(f),o=Math.round(o));var m=M(e).map(function(e){return f+a*e});return n(d?m.reverse():m)}return e.domain=function(e){return arguments.length?(t(e),d()):t()},e.range=function(e){return arguments.length?([r,i]=e,r=+r,i=+i,d()):[r,i]},e.rangeRound=function(e){return[r,i]=e,r=+r,i=+i,s=!0,d()},e.bandwidth=function(){return o},e.step=function(){return a},e.round=function(e){return arguments.length?(s=!!e,d()):s},e.padding=function(e){return arguments.length?(c=Math.min(1,l=+e),d()):c},e.paddingInner=function(e){return arguments.length?(c=Math.min(1,e),d()):c},e.paddingOuter=function(e){return arguments.length?(l=+e,d()):l},e.align=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),d()):u},e.copy=function(){return N(t(),[r,i]).round(s).paddingInner(c).paddingOuter(l).align(u)},C.apply(d(),arguments)}function ee(){return(ee=e((()=>{S()})))()}var te=/* @__PURE__ */ t({diagram:()=>Ie});function P(e){return e.type===`bar`}function F(e){return e.type===`band`}function I(e){return e.type===`linear`}function ne(e,t,n,r){let i=new U(r);return F(e)?new Ce(t,n,e.categories,e.title,i):new we(t,n,[e.min,e.max],e.title,i)}function re(e,t,n,r){return new Te(new U(r),e,t,n)}function ie(e){return{fontSize:e,markerSize:e*Ee,markerSpacing:e*Oe,itemSpacing:e*De}}function ae(e,t,n,r){return new ke(new U(r),e,t,n)}function oe(e,t,n){return new Me(e,t,n)}function L(){let e=c(),t=f();return T(e.xyChart,t.themeVariables.xyChart)}function se(){let e=f();return T(m.xyChart,e.xyChart)}function ce(){return{yAxis:{type:`linear`,title:``,min:1/0,max:-1/0},xAxis:{type:`band`,title:``,categories:[]},title:``,plots:[]}}function R(e){let t=f();return s(e.trim(),t)}function le(e){Fe=e}function ue(e){e===`horizontal`?J.chartOrientation=`horizontal`:J.chartOrientation=`vertical`}function de(e){X.xAxis.title=R(e.text)}function z(e,t){X.xAxis={type:`linear`,title:X.xAxis.title,min:e,max:t},Q=!0}function fe(e){X.xAxis={type:`band`,title:X.xAxis.title,categories:e.map(e=>R(e.text))},Q=!0}function pe(e){X.yAxis.title=R(e.text)}function me(e,t){X.yAxis={type:`linear`,title:X.yAxis.title,min:e,max:t},$=!0}function he(e){let t=Math.min(...e),n=Math.max(...e),r=I(X.yAxis)?X.yAxis.min:1/0,i=I(X.yAxis)?X.yAxis.max:-1/0;X.yAxis={type:`linear`,title:X.yAxis.title,min:Math.min(r,t),max:Math.max(i,n)}}function B(e){let t=[];if(e.length===0)return t;if(!Q){let t=I(X.xAxis)?X.xAxis.min:1/0,n=I(X.xAxis)?X.xAxis.max:-1/0;z(Math.min(t,1),Math.max(n,e.length))}if(F(X.xAxis)&&e.length>X.xAxis.categories.length&&(e=e.slice(0,X.xAxis.categories.length)),$||he(e),F(X.xAxis)&&(t=X.xAxis.categories.map((t,n)=>[t,e[n]])),I(X.xAxis)){let n=X.xAxis.min,r=X.xAxis.max;if(e.length===1)t=[[`${n}`,e[0]]];else{let i=(r-n)/(e.length-1);t=e.map((e,t)=>[`${n+t*i}`,e])}}return t}function V(e){return Z[e===0?0:e%Z.length]}function ge(e,t){let n=t.map(e=>e.value),r=t.map(e=>e.label?R(e.label):``),i=B(n),a=r.some(e=>e!==``);X.plots.push({type:`line`,title:R(e.text),strokeFill:V(q),strokeWidth:2,data:i,...a?{pointLabels:r}:{}}),q++}function _e(e,t){let n=B(t.map(e=>e.value));X.plots.push({type:`bar`,title:R(e.text),fill:V(q),data:n}),q++}function ve(){if(X.plots.length===0)throw Error(`No Plot to render, please provide a plot with some data`);return X.title=v(),Pe.build(J,X,Y,Fe)}function ye(){return Y}function be(){return J}function xe(){return X}var H,Se,U,W,G,K,Ce,we,Te,Ee,De,Oe,ke,Ae,je,Me,Ne,Pe,q,Fe,J,Y,X,Z,Q,$,Ie;function Le(){return(Le=e((()=>{O(),A(),k(),w(),h(),i(),r(),a(),H=(function(){var e=/* @__PURE__ */ n(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),t=[1,10,12,14,16,18,19,21,23],r=[2,6],i=[1,3],a=[1,5],o=[1,6],s=[1,7],c=[1,5,10,12,14,16,18,19,21,23,36,37,38],l=[1,25],u=[1,26],d=[1,28],f=[1,29],p=[1,30],m=[1,31],h=[1,32],g=[1,33],_=[1,34],v=[1,35],y=[1,36],b=[1,37],x=[1,43],S=[1,42],C=[1,47],w=[1,50],T=[1,10,12,14,16,18,19,21,23,36,37,38],E=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38],D=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38,42,43,44,45,46,47,48,49,50,51],O=[1,65],k=[26,28],A={trace:/* @__PURE__ */ n(function(){},`trace`),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,dataPoints:25,SQUARE_BRACES_END:26,dataPoint:27,COMMA:28,NUMBER_WITH_DECIMAL:29,STR:30,xAxisData:31,bandData:32,ARROW_DELIMITER:33,commaSeparatedTexts:34,yAxisData:35,NEWLINE:36,SEMI:37,EOF:38,alphaNum:39,MD_STR:40,alphaNumToken:41,AMP:42,NUM:43,ALPHA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,MINUS:50,UNDERSCORE:51,$accept:0,$end:1},terminals_:{2:`error`,5:`XYCHART`,8:`CHART_ORIENTATION`,10:`title`,12:`X_AXIS`,14:`Y_AXIS`,16:`LINE`,18:`BAR`,19:`acc_title`,20:`acc_title_value`,21:`acc_descr`,22:`acc_descr_value`,23:`acc_descr_multiline_value`,24:`SQUARE_BRACES_START`,26:`SQUARE_BRACES_END`,28:`COMMA`,29:`NUMBER_WITH_DECIMAL`,30:`STR`,33:`ARROW_DELIMITER`,36:`NEWLINE`,37:`SEMI`,38:`EOF`,40:`MD_STR`,42:`AMP`,43:`NUM`,44:`ALPHA`,45:`PLUS`,46:`EQUALS`,47:`MULT`,48:`DOT`,49:`BRKT`,50:`MINUS`,51:`UNDERSCORE`},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[27,2],[27,1],[13,1],[13,2],[13,1],[31,1],[31,3],[32,3],[34,3],[34,1],[15,1],[15,2],[15,1],[35,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[39,1],[39,2],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1]],performAction:/* @__PURE__ */ n(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 5:r.setOrientation(a[s]);break;case 9:r.setDiagramTitle(a[s].text.trim());break;case 12:r.setLineData({text:``,type:`text`},a[s]);break;case 13:r.setLineData(a[s-1],a[s]);break;case 14:r.setBarData({text:``,type:`text`},a[s]);break;case 15:r.setBarData(a[s-1],a[s]);break;case 16:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 17:case 18:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 19:this.$=a[s-1];break;case 20:case 30:this.$=[a[s-2],...a[s]];break;case 21:case 31:this.$=[a[s]];break;case 22:this.$={value:Number(a[s-1]),label:a[s]};break;case 23:this.$={value:Number(a[s]),label:``};break;case 24:r.setXAxisTitle(a[s]);break;case 25:r.setXAxisTitle(a[s-1]);break;case 26:r.setXAxisTitle({type:`text`,text:``});break;case 27:r.setXAxisBand(a[s]);break;case 28:r.setXAxisRangeData(Number(a[s-2]),Number(a[s]));break;case 29:this.$=a[s-1];break;case 32:r.setYAxisTitle(a[s]);break;case 33:r.setYAxisTitle(a[s-1]);break;case 34:r.setYAxisTitle({type:`text`,text:``});break;case 35:r.setYAxisRangeData(Number(a[s-2]),Number(a[s]));break;case 39:this.$={text:a[s],type:`text`};break;case 40:this.$={text:a[s],type:`text`};break;case 41:this.$={text:a[s],type:`markdown`};break;case 42:this.$=a[s];break;case 43:this.$=a[s-1]+``+a[s]}},`anonymous`),table:[e(t,r,{3:1,4:2,7:4,5:i,36:a,37:o,38:s}),{1:[3]},e(t,r,{4:2,7:4,3:8,5:i,36:a,37:o,38:s}),e(t,r,{4:2,7:4,6:9,3:10,5:i,8:[1,11],36:a,37:o,38:s}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},e(c,[2,36]),e(c,[2,37]),e(c,[2,38]),{1:[2,1]},e(t,r,{4:2,7:4,3:21,5:i,36:a,37:o,38:s}),{1:[2,3]},e(c,[2,5]),e(t,[2,7],{4:22,36:a,37:o,38:s}),{11:23,30:l,39:24,40:u,41:27,42:d,43:f,44:p,45:m,46:h,47:g,48:_,49:v,50:y,51:b},{11:39,13:38,24:x,29:S,30:l,31:40,32:41,39:24,40:u,41:27,42:d,43:f,44:p,45:m,46:h,47:g,48:_,49:v,50:y,51:b},{11:45,15:44,29:C,30:l,35:46,39:24,40:u,41:27,42:d,43:f,44:p,45:m,46:h,47:g,48:_,49:v,50:y,51:b},{11:49,17:48,24:w,30:l,39:24,40:u,41:27,42:d,43:f,44:p,45:m,46:h,47:g,48:_,49:v,50:y,51:b},{11:52,17:51,24:w,30:l,39:24,40:u,41:27,42:d,43:f,44:p,45:m,46:h,47:g,48:_,49:v,50:y,51:b},{20:[1,53]},{22:[1,54]},e(T,[2,18]),{1:[2,2]},e(T,[2,8]),e(T,[2,9]),e(E,[2,39],{41:55,42:d,43:f,44:p,45:m,46:h,47:g,48:_,49:v,50:y,51:b}),e(E,[2,40]),e(E,[2,41]),e(D,[2,42]),e(D,[2,44]),e(D,[2,45]),e(D,[2,46]),e(D,[2,47]),e(D,[2,48]),e(D,[2,49]),e(D,[2,50]),e(D,[2,51]),e(D,[2,52]),e(D,[2,53]),e(T,[2,10]),e(T,[2,24],{32:41,31:56,24:x,29:S}),e(T,[2,26]),e(T,[2,27]),{33:[1,57]},{11:59,30:l,34:58,39:24,40:u,41:27,42:d,43:f,44:p,45:m,46:h,47:g,48:_,49:v,50:y,51:b},e(T,[2,11]),e(T,[2,32],{35:60,29:C}),e(T,[2,34]),{33:[1,61]},e(T,[2,12]),{17:62,24:w},{25:63,27:64,29:O},e(T,[2,14]),{17:66,24:w},e(T,[2,16]),e(T,[2,17]),e(D,[2,43]),e(T,[2,25]),{29:[1,67]},{26:[1,68]},{26:[2,31],28:[1,69]},e(T,[2,33]),{29:[1,70]},e(T,[2,13]),{26:[1,71]},{26:[2,21],28:[1,72]},e(k,[2,23],{30:[1,73]}),e(T,[2,15]),e(T,[2,28]),e(T,[2,29]),{11:59,30:l,34:74,39:24,40:u,41:27,42:d,43:f,44:p,45:m,46:h,47:g,48:_,49:v,50:y,51:b},e(T,[2,35]),e(T,[2,19]),{25:75,27:64,29:O},e(k,[2,22]),{26:[2,30]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],74:[2,30],75:[2,20]},parseError:/* @__PURE__ */ n(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:/* @__PURE__ */ n(function(e){var t=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;this.parseError=typeof g.yy.parseError==`function`?g.yy.parseError:Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}n(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=t.symbols_[e]||e),e}n(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
|
|
2
|
+
`+h.showPosition()+`
|
|
3
|
+
Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};A.lexer=/* @__PURE__ */ (function(){return{EOF:1,parseError:/* @__PURE__ */ n(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:/* @__PURE__ */ n(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:/* @__PURE__ */ n(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:/* @__PURE__ */ n(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:/* @__PURE__ */ n(function(){return this._more=!0,this},`more`),reject:/* @__PURE__ */ n(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
|
+
`+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:/* @__PURE__ */ n(function(e){this.unput(this.match.slice(e))},`less`),pastInput:/* @__PURE__ */ n(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:/* @__PURE__ */ n(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:/* @__PURE__ */ n(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
|
|
5
|
+
`+t+`^`},`showPosition`),test_match:/* @__PURE__ */ n(function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},`test_match`),next:/* @__PURE__ */ n(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);for(var i=this._currentRules(),a=0;a<i.length;a++)if(n=this._input.match(this.rules[i[a]]),n&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e!==!1&&e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
+
`+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:/* @__PURE__ */ n(function(){return this.next()||this.lex()},`lex`),begin:/* @__PURE__ */ n(function(e){this.conditionStack.push(e)},`begin`),popState:/* @__PURE__ */ n(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:/* @__PURE__ */ n(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:/* @__PURE__ */ n(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:/* @__PURE__ */ n(function(e){this.begin(e)},`pushState`),stateStackSize:/* @__PURE__ */ n(function(){return this.conditionStack.length},`stateStackSize`),options:{"case-insensitive":!0},performAction:/* @__PURE__ */ n(function(e,t,n,r){switch(n){case 0:break;case 1:break;case 2:return this.popState(),36;case 3:return this.popState(),36;case 4:return 36;case 5:break;case 6:return 10;case 7:return this.pushState(`acc_title`),19;case 8:return this.popState(),`acc_title_value`;case 9:return this.pushState(`acc_descr`),21;case 10:return this.popState(),`acc_descr_value`;case 11:this.pushState(`acc_descr_multiline`);break;case 12:this.popState();break;case 13:return`acc_descr_multiline_value`;case 14:return 5;case 15:return 5;case 16:return 8;case 17:return this.pushState(`axis_data`),`X_AXIS`;case 18:return this.pushState(`axis_data`),`Y_AXIS`;case 19:return this.pushState(`axis_band_data`),24;case 20:return 33;case 21:return this.pushState(`data`),16;case 22:return this.pushState(`data`),18;case 23:return this.pushState(`data_inner`),24;case 24:return 29;case 25:return this.popState(),26;case 26:this.popState();break;case 27:this.pushState(`string`);break;case 28:this.popState();break;case 29:return`STR`;case 30:return 24;case 31:return 26;case 32:return 44;case 33:return`COLON`;case 34:return 45;case 35:return 28;case 36:return 46;case 37:return 47;case 38:return 49;case 39:return 51;case 40:return 48;case 41:return 42;case 42:return 50;case 43:return 43;case 44:break;case 45:return 37;case 46:return 38}},`anonymous`),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:(\r?\n))/i,/^(?:(\r?\n))/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:\})/i,/^(?:[^\}]*)/i,/^(?:xychart-beta\b)/i,/^(?:xychart\b)/i,/^(?:(?:vertical|horizontal))/i,/^(?:x-axis\b)/i,/^(?:y-axis\b)/i,/^(?:\[)/i,/^(?:-->)/i,/^(?:line\b)/i,/^(?:bar\b)/i,/^(?:\[)/i,/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,/^(?:\])/i,/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s+)/i,/^(?:;)/i,/^(?:$)/i],conditions:{data_inner:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,24,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},data:{rules:[0,1,3,4,5,6,7,9,11,14,15,16,17,18,21,22,23,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_band_data:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_data:{rules:[0,1,2,4,5,6,7,9,11,14,15,16,17,18,19,20,21,22,24,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[],inclusive:!1},md_string:{rules:[],inclusive:!1},string:{rules:[28,29],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0}}}})();function j(){this.yy={}}return n(j,`Parser`),j.prototype=A,A.Parser=j,new j})(),H.parser=H,Se=H,n(P,`isBarPlot`),n(F,`isBandAxisData`),n(I,`isLinearAxisData`),U=class{constructor(e){this.parentGroup=e}static{n(this,`TextDimensionCalculatorWithFont`)}getMaxDimension(e,t){if(!this.parentGroup)return{width:e.reduce((e,t)=>Math.max(t.length,e),0)*t,height:t};let n={width:0,height:0},r=this.parentGroup.append(`g`).attr(`visibility`,`hidden`).attr(`font-size`,t);for(let i of e){let e=j(r,1,i),a=e?e.width:i.length*t,o=e?e.height:t;n.width=Math.max(n.width,a),n.height=Math.max(n.height,o)}return r.remove(),n}},W=.7,G=.2,K=class{constructor(e,t,n,r){this.axisConfig=e,this.title=t,this.textDimensionCalculator=n,this.axisThemeConfig=r,this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition=`left`,this.showTitle=!1,this.showLabel=!1,this.showTick=!1,this.showAxisLine=!1,this.outerPadding=0,this.titleTextHeight=0,this.labelTextHeight=0,this.normalizedLabelRotationInRad=0,this.range=[0,10],this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition=`left`,this.normalizedLabelRotationInRad=this.axisConfig.labelRotation>=-90&&this.axisConfig.labelRotation<=90?this.axisConfig.labelRotation*Math.PI/180:0}static{n(this,`BaseAxis`)}setRange(e){this.range=e,this.axisPosition===`left`||this.axisPosition===`right`?this.boundingRect.height=e[1]-e[0]:this.boundingRect.width=e[1]-e[0],this.recalculateScale()}getRange(){return[this.range[0]+this.outerPadding,this.range[1]-this.outerPadding]}setAxisPosition(e){this.axisPosition=e,this.setRange(this.range)}getTickDistance(){let e=this.getRange();return Math.abs(e[0]-e[1])/this.getTickValues().length}getAxisOuterPadding(){return this.outerPadding}getLabelDimension(){return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map(e=>e.toString()),this.axisConfig.labelFontSize)}recalculateOuterPaddingToDrawBar(){W*this.getTickDistance()>this.outerPadding*2&&(this.outerPadding=Math.floor(W*this.getTickDistance()/2)),this.recalculateScale()}calculateSpaceIfDrawnHorizontally(e){let t=e.height;if(this.axisConfig.showAxisLine&&t>this.axisConfig.axisLineWidth&&(t-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){let n=this.getLabelDimension(),r=G*e.width;this.outerPadding=Math.min(n.width/2,r);let i=n.height;this.axisPosition===`bottom`&&this.normalizedLabelRotationInRad!==0&&(i=Math.max(i,Math.abs(Math.sin(this.normalizedLabelRotationInRad)*n.width)+Math.abs(Math.cos(this.normalizedLabelRotationInRad)*n.height))),i+=this.axisConfig.labelPadding*2,this.labelTextHeight=n.height,i<=t&&(t-=i,this.showLabel=!0)}if(this.axisConfig.showTick&&t>=this.axisConfig.tickLength&&(this.showTick=!0,t-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){let e=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),n=e.height+this.axisConfig.titlePadding*2;this.titleTextHeight=e.height,n<=t&&(t-=n,this.showTitle=!0)}this.boundingRect.width=e.width,this.boundingRect.height=e.height-t}calculateSpaceIfDrawnVertical(e){let t=e.width;if(this.axisConfig.showAxisLine&&t>this.axisConfig.axisLineWidth&&(t-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){let n=this.getLabelDimension(),r=G*e.height;this.outerPadding=Math.min(n.height/2,r);let i=n.width+this.axisConfig.labelPadding*2;i<=t&&(t-=i,this.showLabel=!0)}if(this.axisConfig.showTick&&t>=this.axisConfig.tickLength&&(this.showTick=!0,t-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){let e=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),n=e.height+this.axisConfig.titlePadding*2;this.titleTextHeight=e.height,n<=t&&(t-=n,this.showTitle=!0)}this.boundingRect.width=e.width-t,this.boundingRect.height=e.height}calculateSpace(e){return this.axisPosition===`left`||this.axisPosition===`right`?this.calculateSpaceIfDrawnVertical(e):this.calculateSpaceIfDrawnHorizontally(e),this.recalculateScale(),{width:this.boundingRect.width,height:this.boundingRect.height}}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateOffsetByRotation(e){let t=this.normalizedLabelRotationInRad;return t===0?0:Math.sin(t)*this.getLabelDimension()[e]/2}getDrawableElementsForLeftAxis(){let e=[];if(this.showAxisLine){let t=this.boundingRect.x+this.boundingRect.width-this.axisConfig.axisLineWidth/2;e.push({type:`path`,groupTexts:[`left-axis`,`axisl-line`],data:[{path:`M ${t},${this.boundingRect.y} L ${t},${this.boundingRect.y+this.boundingRect.height} `,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&e.push({type:`text`,groupTexts:[`left-axis`,`label`],data:this.getTickValues().map(e=>({text:e.toString(),x:this.boundingRect.x+this.boundingRect.width-(this.showLabel?this.axisConfig.labelPadding:0)-(this.showTick?this.axisConfig.tickLength:0)-(this.showAxisLine?this.axisConfig.axisLineWidth:0),y:this.getScaleValue(e),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:`middle`,horizontalPos:`right`}))}),this.showTick){let t=this.boundingRect.x+this.boundingRect.width-(this.showAxisLine?this.axisConfig.axisLineWidth:0);e.push({type:`path`,groupTexts:[`left-axis`,`ticks`],data:this.getTickValues().map(e=>({path:`M ${t},${this.getScaleValue(e)} L ${t-this.axisConfig.tickLength},${this.getScaleValue(e)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&e.push({type:`text`,groupTexts:[`left-axis`,`title`],data:[{text:this.title,x:this.boundingRect.x+this.axisConfig.titlePadding,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:270,verticalPos:`top`,horizontalPos:`center`}]}),e}getDrawableElementsForBottomAxis(){let e=[];if(this.showAxisLine){let t=this.boundingRect.y+this.axisConfig.axisLineWidth/2;e.push({type:`path`,groupTexts:[`bottom-axis`,`axis-line`],data:[{path:`M ${this.boundingRect.x},${t} L ${this.boundingRect.x+this.boundingRect.width},${t}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&e.push({type:`text`,groupTexts:[`bottom-axis`,`label`],data:this.getTickValues().map(e=>({text:e.toString(),x:this.getScaleValue(e)+this.calculateOffsetByRotation(`height`),y:this.boundingRect.y+this.axisConfig.labelPadding+(this.showTick?this.axisConfig.tickLength:0)+(this.showAxisLine?this.axisConfig.axisLineWidth:0)+Math.abs(this.calculateOffsetByRotation(`width`)),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:this.normalizedLabelRotationInRad*180/Math.PI,verticalPos:`top`,horizontalPos:`center`}))}),this.showTick){let t=this.boundingRect.y+(this.showAxisLine?this.axisConfig.axisLineWidth:0);e.push({type:`path`,groupTexts:[`bottom-axis`,`ticks`],data:this.getTickValues().map(e=>({path:`M ${this.getScaleValue(e)},${t} L ${this.getScaleValue(e)},${t+this.axisConfig.tickLength}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&e.push({type:`text`,groupTexts:[`bottom-axis`,`title`],data:[{text:this.title,x:this.range[0]+(this.range[1]-this.range[0])/2,y:this.boundingRect.y+this.boundingRect.height-this.axisConfig.titlePadding-this.titleTextHeight,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:`top`,horizontalPos:`center`}]}),e}getDrawableElementsForTopAxis(){let e=[];if(this.showAxisLine){let t=this.boundingRect.y+this.boundingRect.height-this.axisConfig.axisLineWidth/2;e.push({type:`path`,groupTexts:[`top-axis`,`axis-line`],data:[{path:`M ${this.boundingRect.x},${t} L ${this.boundingRect.x+this.boundingRect.width},${t}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&e.push({type:`text`,groupTexts:[`top-axis`,`label`],data:this.getTickValues().map(e=>({text:e.toString(),x:this.getScaleValue(e),y:this.boundingRect.y+(this.showTitle?this.titleTextHeight+this.axisConfig.titlePadding*2:0)+this.axisConfig.labelPadding,fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:`top`,horizontalPos:`center`}))}),this.showTick){let t=this.boundingRect.y;e.push({type:`path`,groupTexts:[`top-axis`,`ticks`],data:this.getTickValues().map(e=>({path:`M ${this.getScaleValue(e)},${t+this.boundingRect.height-(this.showAxisLine?this.axisConfig.axisLineWidth:0)} L ${this.getScaleValue(e)},${t+this.boundingRect.height-this.axisConfig.tickLength-(this.showAxisLine?this.axisConfig.axisLineWidth:0)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&e.push({type:`text`,groupTexts:[`top-axis`,`title`],data:[{text:this.title,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.axisConfig.titlePadding,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:`top`,horizontalPos:`center`}]}),e}getDrawableElements(){if(this.axisPosition===`left`)return this.getDrawableElementsForLeftAxis();if(this.axisPosition===`right`)throw Error(`Drawing of right axis is not implemented`);return this.axisPosition===`bottom`?this.getDrawableElementsForBottomAxis():this.axisPosition===`top`?this.getDrawableElementsForTopAxis():[]}},Ce=class extends K{static{n(this,`BandAxis`)}constructor(e,t,n,r,i){super(e,r,i,t),this.categories=n,this.scale=N().domain(this.categories).range(this.getRange())}setRange(e){super.setRange(e)}recalculateScale(){this.scale=N().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5),o.trace(`BandAxis axis final categories, range: `,this.categories,this.getRange())}getTickValues(){return this.categories}getScaleValue(e){return this.scale(e)??this.getRange()[0]}},we=class extends K{static{n(this,`LinearAxis`)}constructor(e,t,n,r,i){super(e,r,i,t),this.domain=n,this.scale=b().domain(this.domain).range(this.getRange())}getTickValues(){return this.scale.ticks()}recalculateScale(){let e=[...this.domain];this.axisPosition===`left`&&e.reverse(),this.scale=b().domain(e).range(this.getRange())}getScaleValue(e){return this.scale(e)}},n(ne,`getAxis`),Te=class{constructor(e,t,n,r){this.textDimensionCalculator=e,this.chartConfig=t,this.chartData=n,this.chartThemeConfig=r,this.boundingRect={x:0,y:0,width:0,height:0},this.showChartTitle=!1}static{n(this,`ChartTitle`)}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){let t=this.textDimensionCalculator.getMaxDimension([this.chartData.title],this.chartConfig.titleFontSize),n=Math.max(t.width,e.width),r=t.height+2*this.chartConfig.titlePadding;return t.width<=n&&t.height<=r&&this.chartConfig.showTitle&&this.chartData.title&&(this.boundingRect.width=n,this.boundingRect.height=r,this.showChartTitle=!0),{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){let e=[];return this.showChartTitle&&e.push({groupTexts:[`chart-title`],type:`text`,data:[{fontSize:this.chartConfig.titleFontSize,text:this.chartData.title,verticalPos:`middle`,horizontalPos:`center`,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.chartThemeConfig.titleColor,rotation:0}]}),e}},n(re,`getChartTitleComponent`),Ee=.75,De=.5,Oe=.35,n(ie,`getLegendLayout`),ke=class{constructor(e,t,n,r){this.textDimensionCalculator=e,this.chartConfig=t,this.chartData=n,this.chartThemeConfig=r,this.boundingRect={x:0,y:0,width:0,height:0},this.visiblePlots=[]}static{n(this,`ChartLegend`)}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){if(this.visiblePlots=this.chartConfig.showLegend?this.chartData.plots.filter(e=>e.title):[],this.visiblePlots.length===0)return this.boundingRect.width=0,this.boundingRect.height=0,{width:0,height:0};let{fontSize:t,markerSize:n,markerSpacing:r,itemSpacing:i}=ie(this.chartConfig.legendFontSize),a=this.textDimensionCalculator.getMaxDimension(this.visiblePlots.map(e=>e.title),t),o=this.chartConfig.legendPadding*2+n+r+a.width,s=this.chartConfig.legendPadding*2+this.visiblePlots.length*t+(this.visiblePlots.length-1)*i;return o<=e.width&&s<=e.height?(this.boundingRect.width=o,this.boundingRect.height=s):(this.visiblePlots=[],this.boundingRect.width=0,this.boundingRect.height=0),{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(this.visiblePlots.length===0)return[];let{fontSize:e,markerSize:t,markerSpacing:n,itemSpacing:r}=ie(this.chartConfig.legendFontSize),i=e+r,a=this.boundingRect.x+this.chartConfig.legendPadding,o=this.boundingRect.y+this.chartConfig.legendPadding,s=[],c=[];for(let[e,n]of this.visiblePlots.entries())if(P(n))s.push({x:a,y:o+e*i,width:t,height:t,fill:n.fill,strokeFill:n.fill,strokeWidth:0});else{let r=o+e*i+t/2;c.push({path:`M ${a},${r} L ${a+t},${r}`,strokeFill:n.strokeFill,strokeWidth:n.strokeWidth})}return[{groupTexts:[`legend`,`markers`],type:`rect`,data:s},{groupTexts:[`legend`,`markers`],type:`path`,data:c},{groupTexts:[`legend`,`label`],type:`text`,data:this.visiblePlots.map((r,s)=>({text:r.title,x:a+t+n,y:o+s*i+t/2,fill:this.chartThemeConfig.legendTextColor,fontSize:e,rotation:0,verticalPos:`middle`,horizontalPos:`left`}))}]}},n(ae,`getChartLegendComponent`),Ae=class{constructor(e,t,n,r,i){this.plotData=e,this.xAxis=t,this.yAxis=n,this.orientation=r,this.plotIndex=i}static{n(this,`LinePlot`)}getDrawableElement(){let e=this.plotData.data.map(e=>[this.xAxis.getScaleValue(e[0]),this.yAxis.getScaleValue(e[1])]),t;if(t=this.orientation===`horizontal`?E().y(e=>e[0]).x(e=>e[1])(e):E().x(e=>e[0]).y(e=>e[1])(e),!t)return[];let n=[{groupTexts:[`plot`,`line-plot-${this.plotIndex}`],type:`path`,data:[{path:t,strokeFill:this.plotData.strokeFill,strokeWidth:this.plotData.strokeWidth}]}];if(this.plotData.pointLabels&&this.plotData.pointLabels.length>0){let t=[];for(let[n,[r,i]]of e.entries()){let e=this.plotData.pointLabels[n];e&&(this.orientation===`horizontal`?t.push({x:i+10,y:r,text:e,fill:this.plotData.strokeFill,verticalPos:`middle`,horizontalPos:`left`,fontSize:12,rotation:0}):t.push({x:r,y:i-10,text:e,fill:this.plotData.strokeFill,verticalPos:`middle`,horizontalPos:`center`,fontSize:12,rotation:0}))}t.length>0&&n.push({groupTexts:[`plot`,`line-plot-${this.plotIndex}`,`labels`],type:`text`,data:t})}return n}},je=class{constructor(e,t,n,r,i,a){this.barData=e,this.boundingRect=t,this.xAxis=n,this.yAxis=r,this.orientation=i,this.plotIndex=a}static{n(this,`BarPlot`)}getDrawableElement(){let e=this.barData.data.map(e=>[this.xAxis.getScaleValue(e[0]),this.yAxis.getScaleValue(e[1])]),t=Math.min(this.xAxis.getAxisOuterPadding()*2,this.xAxis.getTickDistance())*.95,n=t/2;return this.orientation===`horizontal`?[{groupTexts:[`plot`,`bar-plot-${this.plotIndex}`],type:`rect`,data:e.map(e=>({x:this.boundingRect.x,y:e[0]-n,height:t,width:e[1]-this.boundingRect.x,fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]:[{groupTexts:[`plot`,`bar-plot-${this.plotIndex}`],type:`rect`,data:e.map(e=>({x:e[0]-n,y:e[1],width:t,height:this.boundingRect.y+this.boundingRect.height-e[1],fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]}},Me=class{constructor(e,t,n){this.chartConfig=e,this.chartData=t,this.chartThemeConfig=n,this.boundingRect={x:0,y:0,width:0,height:0}}static{n(this,`BasePlot`)}setAxes(e,t){this.xAxis=e,this.yAxis=t}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){return this.boundingRect.width=e.width,this.boundingRect.height=e.height,{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(!(this.xAxis&&this.yAxis))throw Error(`Axes must be passed to render Plots`);let e=[];for(let[t,n]of this.chartData.plots.entries())switch(n.type){case`line`:{let r=new Ae(n,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,t);e.push(...r.getDrawableElement())}break;case`bar`:{let r=new je(n,this.boundingRect,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,t);e.push(...r.getDrawableElement())}}return e}},n(oe,`getPlotComponent`),Ne=class{constructor(e,t,n,r){this.chartConfig=e,this.chartData=t,this.componentStore={title:re(e,t,n,r),plot:oe(e,t,n),legend:ae(e,t,n,r),xAxis:ne(t.xAxis,e.xAxis,{titleColor:n.xAxisTitleColor,labelColor:n.xAxisLabelColor,tickColor:n.xAxisTickColor,axisLineColor:n.xAxisLineColor},r),yAxis:ne(t.yAxis,e.yAxis,{titleColor:n.yAxisTitleColor,labelColor:n.yAxisLabelColor,tickColor:n.yAxisTickColor,axisLineColor:n.yAxisLineColor},r)}}static{n(this,`Orchestrator`)}calculateVerticalSpace(){let e=this.chartConfig.width,t=this.chartConfig.height,n=0,r=0,i={width:0,height:0},a=Math.floor(e*this.chartConfig.plotReservedSpacePercent/100),o=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),s=this.componentStore.plot.calculateSpace({width:a,height:o});e-=s.width,t-=s.height,s=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:t}),r=s.height,t-=s.height,this.componentStore.xAxis.setAxisPosition(`bottom`),s=this.componentStore.xAxis.calculateSpace({width:e,height:t}),t-=s.height,this.componentStore.yAxis.setAxisPosition(`left`),s=this.componentStore.yAxis.calculateSpace({width:e,height:t}),n=s.width,e-=s.width,i=this.componentStore.legend.calculateSpace({width:e,height:o}),e-=i.width,e>0&&(a+=e,e=0),t>0&&(o+=t,t=0),this.componentStore.plot.calculateSpace({width:a,height:o}),this.componentStore.plot.setBoundingBoxXY({x:n,y:r}),this.componentStore.legend.setBoundingBoxXY({x:n+a,y:r+Math.max((o-i.height)/2,0)}),this.componentStore.xAxis.setRange([n,n+a]),this.componentStore.xAxis.setBoundingBoxXY({x:n,y:r+o}),this.componentStore.yAxis.setRange([r,r+o]),this.componentStore.yAxis.setBoundingBoxXY({x:0,y:r}),this.chartData.plots.some(e=>P(e))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateHorizontalSpace(){let e=this.chartConfig.width,t=this.chartConfig.height,n=0,r=0,i=0,a={width:0,height:0},o=Math.floor(e*this.chartConfig.plotReservedSpacePercent/100),s=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),c=this.componentStore.plot.calculateSpace({width:o,height:s});e-=c.width,t-=c.height,c=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:t}),n=c.height,t-=c.height,this.componentStore.xAxis.setAxisPosition(`left`),c=this.componentStore.xAxis.calculateSpace({width:e,height:t}),e-=c.width,r=c.width,this.componentStore.yAxis.setAxisPosition(`top`),c=this.componentStore.yAxis.calculateSpace({width:e,height:t}),t-=c.height,i=n+c.height,a=this.componentStore.legend.calculateSpace({width:e,height:s}),e-=a.width,e>0&&(o+=e,e=0),t>0&&(s+=t,t=0),this.componentStore.plot.calculateSpace({width:o,height:s}),this.componentStore.plot.setBoundingBoxXY({x:r,y:i}),this.componentStore.legend.setBoundingBoxXY({x:r+o,y:i+Math.max((s-a.height)/2,0)}),this.componentStore.yAxis.setRange([r,r+o]),this.componentStore.yAxis.setBoundingBoxXY({x:r,y:n}),this.componentStore.xAxis.setRange([i,i+s]),this.componentStore.xAxis.setBoundingBoxXY({x:0,y:i}),this.chartData.plots.some(e=>P(e))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateSpace(){this.chartConfig.chartOrientation===`horizontal`?this.calculateHorizontalSpace():this.calculateVerticalSpace()}getDrawableElement(){this.calculateSpace();let e=[];this.componentStore.plot.setAxes(this.componentStore.xAxis,this.componentStore.yAxis);for(let t of Object.values(this.componentStore))e.push(...t.getDrawableElements());return e}},Pe=class{static{n(this,`XYChartBuilder`)}static build(e,t,n,r){return new Ne(e,t,n,r).getDrawableElement()}},q=0,J=se(),Y=L(),X=ce(),Z=Y.plotColorPalette.split(`,`).map(e=>e.trim()),Q=!1,$=!1,n(L,`getChartDefaultThemeConfig`),n(se,`getChartDefaultConfig`),n(ce,`getChartDefaultData`),n(R,`textSanitizer`),n(le,`setTmpSVGG`),n(ue,`setOrientation`),n(de,`setXAxisTitle`),n(z,`setXAxisRangeData`),n(fe,`setXAxisBand`),n(pe,`setYAxisTitle`),n(me,`setYAxisRangeData`),n(he,`setYAxisRangeFromPlotData`),n(B,`transformDataWithoutCategory`),n(V,`getPlotColorFromPalette`),n(ge,`setLineData`),n(_e,`setBarData`),n(ve,`getDrawableElem`),n(ye,`getChartThemeConfig`),n(be,`getChartConfig`),n(xe,`getXYChartData`),Ie={parser:Se,db:{getDrawableElem:ve,clear:/* @__PURE__ */ n(function(){d(),q=0,J=se(),X=ce(),Y=L(),Z=Y.plotColorPalette.split(`,`).map(e=>e.trim()),Q=!1,$=!1},`clear`),setAccTitle:u,getAccTitle:y,setDiagramTitle:g,getDiagramTitle:v,getAccDescription:_,setAccDescription:l,setOrientation:ue,setXAxisTitle:de,setXAxisRangeData:z,setXAxisBand:fe,setYAxisTitle:pe,setYAxisRangeData:me,setLineData:ge,setBarData:_e,setTmpSVGG:le,getChartThemeConfig:ye,getChartConfig:be,getXYChartData:xe},renderer:{draw:/* @__PURE__ */ n((e,t,r,i)=>{let a=i.db,s=a.getChartThemeConfig(),c=a.getChartConfig(),l=a.getXYChartData().plots[0].data.map(e=>e[1]);function u(e){return e===`top`?`text-before-edge`:`middle`}n(u,`getDominantBaseLine`);function d(e){return e===`left`?`start`:e===`right`?`end`:`middle`}n(d,`getTextAnchor`);function f(e){return`translate(${e.x}, ${e.y}) rotate(${e.rotation||0})`}n(f,`getTextTransformation`),o.debug(`Rendering xychart chart
|
|
7
|
+
`+e);let m=D(t),h=m.append(`g`).attr(`class`,`main`),g=h.append(`rect`).attr(`width`,c.width).attr(`height`,c.height).attr(`class`,`background`);p(m,c.height,c.width,!0),m.attr(`viewBox`,`0 0 ${c.width} ${c.height}`),g.attr(`fill`,s.backgroundColor),a.setTmpSVGG(m.append(`g`).attr(`class`,`mermaid-tmp-group`));let _=a.getDrawableElem(),v={};function y(e){let t=h,n=``;for(let[r]of e.entries()){let i=h;r>0&&v[n]&&(i=v[n]),n+=e[r],t=v[n],t||=v[n]=i.append(`g`).attr(`class`,e[r])}return t}n(y,`getGroup`);for(let e of _){if(e.data.length===0)continue;let t=y(e.groupTexts);switch(e.type){case`rect`:if(t.selectAll(`rect`).data(e.data).enter().append(`rect`).attr(`x`,e=>e.x).attr(`y`,e=>e.y).attr(`width`,e=>e.width).attr(`height`,e=>e.height).attr(`fill`,e=>e.fill).attr(`stroke`,e=>e.strokeFill).attr(`stroke-width`,e=>e.strokeWidth),c.showDataLabel){let r=c.showDataLabelOutsideBar;if(c.chartOrientation===`horizontal`){let i=function(e,t){let{data:n,label:r}=e;return t*r.length*a<=n.width-o};n(i,`fitsHorizontally`);let a=.7,o=10,c=e.data.map((e,t)=>({data:e,label:l[t].toString()})).filter(e=>e.data.width>0&&e.data.height>0),u=c.map(e=>{let{data:t}=e,n=t.height*.7;for(;!i(e,n)&&n>0;)--n;return n}),d=Math.floor(Math.min(...u)),f=/* @__PURE__ */ n(e=>r?e.data.x+e.data.width+10:e.data.x+e.data.width-10,`determineLabelXPosition`);t.selectAll(`text`).data(c).enter().append(`text`).attr(`x`,f).attr(`y`,e=>e.data.y+e.data.height/2).attr(`text-anchor`,r?`start`:`end`).attr(`dominant-baseline`,`middle`).attr(`fill`,s.dataLabelColor).attr(`font-size`,`${d}px`).text(e=>e.label)}else{let i=function(e,t,n){let{data:r,label:i}=e,a=t*i.length*.7,o=r.x+r.width/2,s=o-a/2,c=o+a/2,l=s>=r.x&&c<=r.x+r.width,u=r.y+n+t<=r.y+r.height;return l&&u};n(i,`fitsInBar`);let a=e.data.map((e,t)=>({data:e,label:l[t].toString()})).filter(e=>e.data.width>0&&e.data.height>0),o=a.map(e=>{let{data:t,label:n}=e,r=t.width/(n.length*.7);for(;!i(e,r,10)&&r>0;)--r;return r}),c=Math.floor(Math.min(...o)),u=/* @__PURE__ */ n(e=>r?e.data.y-10:e.data.y+10,`determineLabelYPosition`);t.selectAll(`text`).data(a).enter().append(`text`).attr(`x`,e=>e.data.x+e.data.width/2).attr(`y`,u).attr(`text-anchor`,`middle`).attr(`dominant-baseline`,r?`auto`:`hanging`).attr(`fill`,s.dataLabelColor).attr(`font-size`,`${c}px`).text(e=>e.label)}}break;case`text`:t.selectAll(`text`).data(e.data).enter().append(`text`).attr(`x`,0).attr(`y`,0).attr(`fill`,e=>e.fill).attr(`font-size`,e=>e.fontSize).attr(`dominant-baseline`,e=>u(e.verticalPos)).attr(`text-anchor`,e=>d(e.horizontalPos)).attr(`transform`,e=>f(e)).text(e=>e.text);break;case`path`:t.selectAll(`path`).data(e.data).enter().append(`path`).attr(`d`,e=>e.path).attr(`fill`,e=>e.fill?e.fill:`none`).attr(`stroke`,e=>e.strokeFill).attr(`stroke-width`,e=>e.strokeWidth)}}},`draw`)}}})))()}export{te as n,ee as r,Le as t};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"generatedBy": "@file-viewer/vite-plugin",
|
|
4
|
+
"rendererIds": [
|
|
5
|
+
"office-word-openxml",
|
|
6
|
+
"office-word-binary",
|
|
7
|
+
"open-document",
|
|
8
|
+
"spreadsheet-openxml",
|
|
9
|
+
"spreadsheet-dbf",
|
|
10
|
+
"ofd",
|
|
11
|
+
"email",
|
|
12
|
+
"mindmap",
|
|
13
|
+
"drawing",
|
|
14
|
+
"data-asset",
|
|
15
|
+
"geo"
|
|
16
|
+
],
|
|
17
|
+
"copiedAt": "2026-10-24T05:17:53.948Z",
|
|
18
|
+
"assets": [
|
|
19
|
+
{
|
|
20
|
+
"rendererId": "office-word-openxml",
|
|
21
|
+
"id": "docx-worker",
|
|
22
|
+
"to": "C:\\Users\\Administrator\\.codex\\worktrees\\goa-ai-mcp\\arcbase\\packages\\admin-antd\\dist\\file-viewer\\vendor\\docx\\docx.worker.js",
|
|
23
|
+
"copied": true
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"rendererId": "office-word-openxml",
|
|
27
|
+
"id": "docx-worker-jszip",
|
|
28
|
+
"to": "C:\\Users\\Administrator\\.codex\\worktrees\\goa-ai-mcp\\arcbase\\packages\\admin-antd\\dist\\file-viewer\\vendor\\docx\\jszip.min.js",
|
|
29
|
+
"copied": true
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"rendererId": "spreadsheet-openxml",
|
|
33
|
+
"id": "spreadsheet-worker",
|
|
34
|
+
"to": "C:\\Users\\Administrator\\.codex\\worktrees\\goa-ai-mcp\\arcbase\\packages\\admin-antd\\dist\\file-viewer\\vendor\\xlsx\\sheet.worker.js",
|
|
35
|
+
"copied": true,
|
|
36
|
+
"sourcePackage": "@file-viewer/renderer-spreadsheet",
|
|
37
|
+
"sourceVersion": "3.1.2"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"rendererId": "data-asset",
|
|
41
|
+
"id": "data-sql-wasm",
|
|
42
|
+
"to": "C:\\Users\\Administrator\\.codex\\worktrees\\goa-ai-mcp\\arcbase\\packages\\admin-antd\\dist\\file-viewer\\wasm\\data\\sql-wasm.wasm",
|
|
43
|
+
"copied": true
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
}
|