@kabmo-labs/kabmo 0.57.1 → 0.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/index.html +1 -1
- package/dist/client/index.js +523 -506
- package/dist/client/static/js/Body-karkrzkc.js +3 -0
- package/dist/client/static/js/{CsvGrid-563qmmmr.js → CsvGrid-j03knmbe.js} +2 -2
- package/dist/client/static/js/{DocxView-5j69q3s0.js → DocxView-e8408vzs.js} +2 -2
- package/dist/client/static/js/{DrawioView-gd6k3hvn.js → DrawioView-fj4mfzch.js} +2 -2
- package/dist/client/static/js/{HtmlPreview-6gnktzzp.js → HtmlPreview-9g8xwzgw.js} +1 -1
- package/dist/client/static/js/ImageView-sz4fzz9k.js +1 -0
- package/dist/client/static/js/LayoutWrapper-q6q4h04a.js +2 -0
- package/dist/client/static/js/MergeDiffView-b8f013ws.js +1 -0
- package/dist/client/static/js/Modal-ahecatp5.js +60 -0
- package/dist/client/static/js/{PdfView-n1zq27td.js → PdfView-8jtdx5hd.js} +1 -1
- package/dist/client/static/js/SessionsView-jwp8xvw5.js +1 -0
- package/dist/client/static/js/{SheetView-nes7j86v.js → SheetView-hwx8s864.js} +11 -11
- package/dist/client/static/js/{SvgPreview-vv0qzkt7.js → SvgPreview-ete36nzv.js} +1 -1
- package/dist/client/static/js/{abnfDiagram-O67JEVCF-02g96sn6.js → abnfDiagram-O67JEVCF-7nsqzz6z.js} +1 -1
- package/dist/client/static/js/architecture-7GRP2DOG-dc7zys46.js +1 -0
- package/dist/client/static/js/{architectureDiagram-NJMV4G6O-7qj2fpwt.js → architectureDiagram-NJMV4G6O-xvpkfq2f.js} +11 -11
- package/dist/client/static/js/{astro-asmathwv.js → astro-rsrqgjjx.js} +1 -1
- package/dist/client/static/js/bash-n5d0esqg.js +1 -0
- package/dist/client/static/js/{blockDiagram-BEXU5L5S-grdr1j2h.js → blockDiagram-BEXU5L5S-0saahcs6.js} +7 -7
- package/dist/client/static/js/c-pk766wx0.js +1 -0
- package/dist/client/static/js/{c4Diagram-YGBWAQC7-7y980xpx.js → c4Diagram-YGBWAQC7-ktpqnb4a.js} +2 -2
- package/dist/client/static/js/{classDiagram-v2-NBCMYWYE-29ag4js1.js → classDiagram-v2-NBCMYWYE-x67cz3ms.js} +5 -5
- package/dist/client/static/js/{cose-bilkent-JH36ORCC-e5dvgehd.js → cose-bilkent-JH36ORCC-9wzmhkz8.js} +1 -1
- package/dist/client/static/js/cpp-3pt91jvm.js +1 -0
- package/dist/client/static/js/css-sp1cgdbr.js +1 -0
- package/dist/client/static/js/cynefin-OW5HDTMX-9fx59e89.js +1 -0
- package/dist/client/static/js/{cynefinDiagram-VND7K2PF-eq6fmx0b.js → cynefinDiagram-VND7K2PF-dmmgmv99.js} +2 -2
- package/dist/client/static/js/{dagre-6A5THRUB-xfhwp8ha.js → dagre-6A5THRUB-ygkkms1t.js} +2 -2
- package/dist/client/static/js/{diagram-22UHCM2B-1bw6x6zt.js → diagram-22UHCM2B-qxj0pqb4.js} +14 -14
- package/dist/client/static/js/{diagram-3UASUU5V-076ej5n5.js → diagram-3UASUU5V-77k8w5dt.js} +1 -1
- package/dist/client/static/js/{diagram-ATOU4E4O-cvf9fhdq.js → diagram-ATOU4E4O-m0h86vf4.js} +3 -3
- package/dist/client/static/js/{diagram-CDSNMT55-hn1wdx54.js → diagram-CDSNMT55-5v28kaeg.js} +5 -5
- package/dist/client/static/js/{diagram-MLGK6HIB-76gk27b5.js → diagram-MLGK6HIB-zgcg9gaz.js} +2 -2
- package/dist/client/static/js/{diagram-MPIPVDR6-0cbajhpx.js → diagram-MPIPVDR6-10c9s6e6.js} +2 -2
- package/dist/client/static/js/{dockerfile-7atfjhnf.js → dockerfile-dr9sdsqp.js} +1 -1
- package/dist/client/static/js/{ebnfDiagram-ZINNZB2B-n0g3b9m2.js → ebnfDiagram-ZINNZB2B-mz4022dz.js} +1 -1
- package/dist/client/static/js/{elixir-7q2k61zb.js → elixir-3dy25ex8.js} +1 -1
- package/dist/client/static/js/{elk-276RUBZZ-f6wrjcv9.js → elk-276RUBZZ-ccerbsag.js} +1 -1
- package/dist/client/static/js/{erDiagram-OPXOYQCR-jz622yrg.js → erDiagram-OPXOYQCR-a8vjyrrw.js} +5 -5
- package/dist/client/static/js/{erlang-tjsd7n4d.js → erlang-v7344938.js} +1 -1
- package/dist/client/static/js/eventmodeling-NTZA5JFV-61d2ee91.js +1 -0
- package/dist/client/static/js/flowDiagram-KWPJA3E3-104ywb7w.js +1 -0
- package/dist/client/static/js/{ganttDiagram-FUAMR5RP-2ex4nxyg.js → ganttDiagram-FUAMR5RP-sz1g29fp.js} +4 -4
- package/dist/client/static/js/gitGraph-4MIJSDKK-zkb30q0t.js +1 -0
- package/dist/client/static/js/{gitGraphDiagram-X574FWY7-38eyay6g.js → gitGraphDiagram-X574FWY7-efqk42q0.js} +15 -15
- package/dist/client/static/js/graphql-2ntm7jyh.js +1 -0
- package/dist/client/static/js/html-mt2yb43b.js +1 -0
- package/dist/client/static/js/{index-db7vsjkd.js → index-2a0b9ya2.js} +1 -1
- package/dist/client/static/js/index-2f6psebk.js +2 -0
- package/dist/client/static/js/{index-j9y4tjk0.js → index-3m1dksmy.js} +2 -2
- package/dist/client/static/js/{index-668fc1df.js → index-3p732mvs.js} +2 -2
- package/dist/client/static/js/{index-3x88t8g9.js → index-3ymw778n.js} +2 -2
- package/dist/client/static/js/{index-rbkvw2xs.js → index-5tp3emtg.js} +2 -2
- package/dist/client/static/js/{index-8444mec5.js → index-6ac860yz.js} +2 -2
- package/dist/client/static/js/{index-zzggk17b.js → index-6ey6y9em.js} +2 -2
- package/dist/client/static/js/index-6h46r2de.js +1 -0
- package/dist/client/static/js/index-6qqsy78z.js +1 -0
- package/dist/client/static/js/{index-25zpywv7.js → index-6x0kn8pb.js} +2 -2
- package/dist/client/static/js/{index-zv8wrvha.js → index-7ma44af3.js} +3 -3
- package/dist/client/static/js/index-7s4dge1z.js +1 -0
- package/dist/client/static/js/{index-my856e49.js → index-7ynf3s2w.js} +2 -2
- package/dist/client/static/js/index-8aqjj2x2.js +1 -0
- package/dist/client/static/js/index-bkwax812.js +1 -0
- package/dist/client/static/js/{index-60g0e74a.js → index-dqf0srrp.js} +2 -2
- package/dist/client/static/js/{index-jaxhfk9x.js → index-dz18nn65.js} +2 -2
- package/dist/client/static/js/{index-9gfn1a3h.js → index-e42ys2q3.js} +7 -7
- package/dist/client/static/js/{index-wxs0x3g1.js → index-ewryzs4g.js} +2 -2
- package/dist/client/static/js/{index-55v3qv04.js → index-f31c6jg8.js} +22 -22
- package/dist/client/static/js/index-f44k9k8d.css +1 -0
- package/dist/client/static/js/{index-nnqyew8n.js → index-fhtnvqgf.js} +2 -2
- package/dist/client/static/js/{index-396g4zz4.js → index-gaa39w5q.js} +2 -2
- package/dist/client/static/js/{index-63mk2qk6.js → index-gqsnyh8k.js} +2 -2
- package/dist/client/static/js/index-gw4c5n3a.js +2 -0
- package/dist/client/static/js/index-j863hg0d.js +9 -0
- package/dist/client/static/js/{index-e4yj4kbe.js → index-jnxmvxb8.js} +12 -12
- package/dist/client/static/js/{index-0prwdwyb.js → index-jxsha63v.js} +2 -2
- package/dist/client/static/js/index-k1576e2m.js +2 -0
- package/dist/client/static/js/index-k4qshngy.js +4 -0
- package/dist/client/static/js/{index-ep99arz1.js → index-k56patms.js} +2 -2
- package/dist/client/static/js/{index-8pqx5n2p.js → index-kc5yt2cd.js} +2 -2
- package/dist/client/static/js/index-mkp3gwag.js +1 -0
- package/dist/client/static/js/{index-g2e0m757.js → index-nzq51nbb.js} +7 -7
- package/dist/client/static/js/{index-1q934wfk.js → index-q5q8a3qn.js} +2 -2
- package/dist/client/static/js/{index-tksrpqkh.js → index-qbqm3c91.js} +5 -5
- package/dist/client/static/js/{index-zynbvm7x.js → index-qkcmspxq.js} +2 -2
- package/dist/client/static/js/index-r1wrke3j.js +1 -0
- package/dist/client/static/js/index-rr79n77k.js +470 -0
- package/dist/client/static/js/{index-y1j18rha.js → index-rxt8sf9a.js} +2 -2
- package/dist/client/static/js/{index-tdryzzy9.js → index-ssepzdaz.js} +6 -6
- package/dist/client/static/js/{index-rsyqf691.js → index-sxag9ptg.js} +2 -2
- package/dist/client/static/js/{index-ewst55j2.js → index-t71k3b28.js} +2 -2
- package/dist/client/static/js/index-tc07gd33.js +2 -0
- package/dist/client/static/js/{index-m6eh5g1q.js → index-tdg7hz80.js} +2 -2
- package/dist/client/static/js/{index-nt17ejrm.js → index-th61y26d.js} +2 -2
- package/dist/client/static/js/{index-n1xmkf2g.js → index-tnxp90ac.js} +1 -1
- package/dist/client/static/js/{index-ms80nne4.js → index-tq3t3qm4.js} +2 -2
- package/dist/client/static/js/index-ts8rhd06.js +1 -0
- package/dist/client/static/js/{index-xtrsvm0d.js → index-v8xhgfeq.js} +2 -2
- package/dist/client/static/js/{index-ays8t3t3.js → index-vb5a3g01.js} +4 -4
- package/dist/client/static/js/{index-pjf5wak8.js → index-ver116ed.js} +1 -1
- package/dist/client/static/js/{index-hge0y4vn.js → index-vf01q99d.js} +2 -2
- package/dist/client/static/js/{index-4cff0zg2.js → index-w5j1wgcz.js} +1 -1
- package/dist/client/static/js/{index-cwwg7k5f.js → index-wnk9k57k.js} +27 -27
- package/dist/client/static/js/{index-6z30g3ha.js → index-x7h04xzf.js} +2 -2
- package/dist/client/static/js/{index-xfnjwhan.js → index-xfyxmaj1.js} +85 -85
- package/dist/client/static/js/index-xygk0v3e.js +2 -0
- package/dist/client/static/js/{index-kt7c42n7.js → index-y0f3wbc3.js} +2 -2
- package/dist/client/static/js/index-zh550byg.js +2 -0
- package/dist/client/static/js/info-A6RAGUB7-xxvyt8p8.js +1 -0
- package/dist/client/static/js/{infoDiagram-VRGFBTTK-c55t0tvd.js → infoDiagram-VRGFBTTK-rykcacj5.js} +1 -1
- package/dist/client/static/js/ini-bdk46a3d.js +1 -0
- package/dist/client/static/js/{ishikawaDiagram-OU5B5YK6-r9kg5kg5.js → ishikawaDiagram-OU5B5YK6-rj752kd8.js} +3 -3
- package/dist/client/static/js/java-3g3925cf.js +1 -0
- package/dist/client/static/js/{journeyDiagram-ZHPQQLJL-zmmst4v8.js → journeyDiagram-ZHPQQLJL-mtetwn6f.js} +5 -5
- package/dist/client/static/js/json-hdyzmffz.js +1 -0
- package/dist/client/static/js/jsx-y8r9mrdq.js +1 -0
- package/dist/client/static/js/{julia-d18zhpyp.js → julia-mxe3pnz3.js} +1 -1
- package/dist/client/static/js/{kanban-definition-PNTS6WVX-3tt6sc9a.js → kanban-definition-PNTS6WVX-4h5pw5mm.js} +3 -3
- package/dist/client/static/js/lua-wf5k6p3r.js +1 -0
- package/dist/client/static/js/markdown-9bf16dx7.js +1 -0
- package/dist/client/static/js/{mermaid.core-pkrs8zp5.js → mermaid.core-bs542jma.js} +8 -8
- package/dist/client/static/js/{mindmap-definition-NLK3R4M7-b4c6gxg4.js → mindmap-definition-NLK3R4M7-67s4xy7h.js} +5 -5
- package/dist/client/static/js/one-dark-pro-541ed4b7.js +1 -0
- package/dist/client/static/js/one-light-nr79mykt.js +1 -0
- package/dist/client/static/js/packet-AYTQ26CC-cm8jeesg.js +1 -0
- package/dist/client/static/js/{pegDiagram-GJSIUBJH-9jkat1mz.js → pegDiagram-GJSIUBJH-qykb6ssk.js} +1 -1
- package/dist/client/static/js/{perl-sns2qvmf.js → perl-a8eeaqkn.js} +1 -1
- package/dist/client/static/js/{php-3q6v9eey.js → php-6gq92zt8.js} +1 -1
- package/dist/client/static/js/pie-WAS4IAKB-8b9xgcxv.js +1 -0
- package/dist/client/static/js/{pieDiagram-5QR66LMP-6pbchjh7.js → pieDiagram-5QR66LMP-mymrrvck.js} +2 -2
- package/dist/client/static/js/properties-xk4dn00p.js +1 -0
- package/dist/client/static/js/python-7sgz05n4.js +1 -0
- package/dist/client/static/js/{quadrantDiagram-O4NWA36T-p9brea19.js → quadrantDiagram-O4NWA36T-6f8ahd40.js} +6 -6
- package/dist/client/static/js/r-w4qxm0pv.js +1 -0
- package/dist/client/static/js/radar-RG4KPBEZ-fxr2x2mf.js +1 -0
- package/dist/client/static/js/railroad-74A4TZTK-5qd45xk1.js +1 -0
- package/dist/client/static/js/railroad-abnf-HS5TGJTU-6fa00vpk.js +1 -0
- package/dist/client/static/js/railroad-ebnf-LZEXJU2U-pcbtg7tj.js +1 -0
- package/dist/client/static/js/railroad-peg-WCYAUIDC-r0fdhdtp.js +1 -0
- package/dist/client/static/js/{railroadDiagram-XR7U4H2S-3cep8css.js → railroadDiagram-XR7U4H2S-c3habpvw.js} +1 -1
- package/dist/client/static/js/{requirementDiagram-PLB6GJNP-x1yjgsrr.js → requirementDiagram-PLB6GJNP-nysqy6te.js} +12 -12
- package/dist/client/static/js/{ruby-f9k99tfq.js → ruby-mc826p2e.js} +1 -1
- package/dist/client/static/js/{rust-yy8gekx8.js → rust-m4f4vpvn.js} +1 -1
- package/dist/client/static/js/{sankeyDiagram-IPEJSGJF-23wzf4aj.js → sankeyDiagram-IPEJSGJF-s5dtfp3z.js} +4 -4
- package/dist/client/static/js/{sass-2syegq28.js → sass-8bq5r2tz.js} +1 -1
- package/dist/client/static/js/{sequenceDiagram-PO4LG4MO-w4wr3zzr.js → sequenceDiagram-PO4LG4MO-bb3yp049.js} +21 -21
- package/dist/client/static/js/{sizeCapture-INFHLROL-aabfesnr.js → sizeCapture-INFHLROL-0m2msee7.js} +1 -1
- package/dist/client/static/js/{stateDiagram-v2-GCMORJYK-t0n288xw.js → stateDiagram-v2-GCMORJYK-cd0qgj6t.js} +3 -3
- package/dist/client/static/js/{svelte-mm3jfpje.js → svelte-5vrwkc13.js} +1 -1
- package/dist/client/static/js/{swimlanes-2SLR337P-1nnm0p7h.js → swimlanes-2SLR337P-rpb01f7p.js} +1 -1
- package/dist/client/static/js/swimlanesDiagram-TC7HE7FX-zx36y2c8.js +8 -0
- package/dist/client/static/js/{timeline-definition-EJHVYXUP-8pyssn0q.js → timeline-definition-EJHVYXUP-tqw2e6y1.js} +5 -5
- package/dist/client/static/js/treeView-Q6P3EWNA-9sn2h4ea.js +1 -0
- package/dist/client/static/js/treemap-WGGIJYW6-9fzms0pq.js +1 -0
- package/dist/client/static/js/tsx-h5yzg80q.js +1 -0
- package/dist/client/static/js/typescript-qy1sbhea.js +1 -0
- package/dist/client/static/js/{usecaseDiagram-POWQR4AR-vveepvt6.js → usecaseDiagram-POWQR4AR-dhf4d5xg.js} +41 -41
- package/dist/client/static/js/{vennDiagram-UO4OBE2U-tqyvmqxc.js → vennDiagram-UO4OBE2U-ztkk79dv.js} +7 -7
- package/dist/client/static/js/{vue-e8e3q3hj.js → vue-gmjnxjm3.js} +1 -1
- package/dist/client/static/js/wardley-WFR3VGLG-vy6rp5gp.js +1 -0
- package/dist/client/static/js/{wardleyDiagram-VNRHLVJA-p8rs34em.js → wardleyDiagram-VNRHLVJA-ahre5tmv.js} +5 -5
- package/dist/client/static/js/xml-mrk4xakv.js +1 -0
- package/dist/client/static/js/{xychartDiagram-PMCCYNJV-pgnvxtps.js → xychartDiagram-PMCCYNJV-vak2c50n.js} +6 -6
- package/dist/client/static/js/yaml-xaza6dra.js +1 -0
- package/package.json +6 -6
- package/src/client/bootstrap.d.ts +11 -0
- package/src/client/borders.css +3 -4
- package/src/client/components/auth/login-screen/index.tsx +1 -1
- package/src/client/components/common/ComposerPicker.tsx +1 -1
- package/src/client/components/common/CopyButton.tsx +1 -1
- package/src/client/components/common/FolderPicker.tsx +1 -1
- package/src/client/components/common/SubagentStatusIcon.tsx +2 -2
- package/src/client/components/common/ViewportSelector.tsx +2 -2
- package/src/client/components/common/batch-selection/BatchActionBar.tsx +1 -1
- package/src/client/components/common/batch-selection/BatchDeleteModal.tsx +4 -4
- package/src/client/components/common/checkbox/style.ts +1 -1
- package/src/client/components/common/context-usage-button/McpSection.tsx +3 -2
- package/src/client/components/common/file-icon/index.tsx +3 -3
- package/src/client/components/common/harness-glyph/index.tsx +4 -3
- package/src/client/components/common/image-viewer/fullscreen.tsx +1 -1
- package/src/client/components/common/image-viewer/index.tsx +2 -2
- package/src/client/components/common/markdown-review/ReviewPopover.tsx +2 -2
- package/src/client/components/common/markdown-review/ReviewSummary.tsx +3 -3
- package/src/client/components/common/plugin-render-boundary/index.tsx +1 -1
- package/src/client/components/common/server-control/Panel.tsx +1 -1
- package/src/client/components/common/server-control/Row.tsx +3 -3
- package/src/client/components/common/session-actions-menu/MenuItem.tsx +2 -2
- package/src/client/components/common/session-branch/SubagentRow.tsx +1 -1
- package/src/client/components/common/session-delete-modal/index.tsx +4 -4
- package/src/client/components/common/session-row/StatusSlot.tsx +1 -1
- package/src/client/components/common/session-row/index.tsx +40 -2
- package/src/client/components/common/session-row/session-row.test.tsx +46 -3
- package/src/client/components/common/shell-update-button/Modal.tsx +1 -1
- package/src/client/components/common/todo-row/index.tsx +1 -1
- package/src/client/components/common/window-controls/index.tsx +1 -1
- package/src/client/components/common/workspace-options-menu/index.tsx +4 -4
- package/src/client/components/layout/session-sidebar/Toolbar.tsx +2 -2
- package/src/client/components/layout/session-sidebar/WorktreeBadge.tsx +1 -1
- package/src/client/components/layout/session-sidebar/about-modal/UpdateLogDialog.tsx +1 -1
- package/src/client/components/layout/session-sidebar/about-modal/UpdateSection.tsx +3 -3
- package/src/client/components/layout/session-sidebar/about-modal/index.tsx +1 -1
- package/src/client/components/layout/session-sidebar/modern/FilterChips.tsx +1 -1
- package/src/client/components/layout/session-sidebar/new-workspace-modal/DirectoryList.tsx +2 -2
- package/src/client/components/layout/session-sidebar/new-workspace-modal/index.tsx +1 -1
- package/src/client/components/layout/session-sidebar/scheduler-modal/ModelFields.tsx +1 -1
- package/src/client/components/layout/session-sidebar/scheduler-modal/TaskForm.tsx +1 -1
- package/src/client/components/layout/session-sidebar/scheduler-modal/TaskList.tsx +4 -4
- package/src/client/components/layout/session-sidebar/scheduler-modal/index.tsx +1 -1
- package/src/client/components/layout/update-popup/Actions.tsx +1 -1
- package/src/client/components/mobile/mobile-right-sidebar/Action.tsx +1 -1
- package/src/client/components/mobile/mobile-right-sidebar/Header.tsx +3 -3
- package/src/client/components/mobile/mobile-right-sidebar/MissingFileBanner.tsx +2 -2
- package/src/client/components/mobile/mobile-right-sidebar/PreviewScroller.tsx +2 -2
- package/src/client/components/mobile/mobile-right-sidebar/StatusBar.tsx +2 -2
- package/src/client/components/mobile/mobile-session-sidebar/Toolbar.tsx +3 -3
- package/src/client/components/settings/Modal.tsx +8 -3
- package/src/client/components/settings/SettingsSidebarList.tsx +2 -2
- package/src/client/components/settings/Sidebar.tsx +3 -3
- package/src/client/components/settings/apply-side-effects.test.ts +46 -0
- package/src/client/components/settings/apply-side-effects.ts +8 -0
- package/src/client/components/settings/categories/BehaviorSettings.tsx +1 -1
- package/src/client/components/settings/categories/OmpSettings.tsx +3 -3
- package/src/client/components/settings/categories/UsageSettings.tsx +3 -3
- package/src/client/components/settings/categories/agent-settings/DetailPane.tsx +5 -5
- package/src/client/components/settings/categories/appearance-settings/CustomThemeEditor.tsx +177 -0
- package/src/client/components/settings/categories/appearance-settings/CustomThemeSection.test.tsx +136 -0
- package/src/client/components/settings/categories/appearance-settings/CustomThemeSection.tsx +180 -0
- package/src/client/components/settings/categories/appearance-settings/ThemeCard.tsx +1 -1
- package/src/client/components/settings/categories/appearance-settings/ThemeGrid.tsx +6 -5
- package/src/client/components/settings/categories/appearance-settings/ThemePreview.tsx +106 -0
- package/src/client/components/settings/categories/appearance-settings/ThemeSection.tsx +7 -3
- package/src/client/components/settings/categories/behavior-settings/Editor.tsx +1 -1
- package/src/client/components/settings/categories/chat-settings/ToolRenderSection.tsx +1 -1
- package/src/client/components/settings/categories/command-settings/DetailPane.tsx +4 -4
- package/src/client/components/settings/categories/dictation-settings/ExternalSection.tsx +1 -1
- package/src/client/components/settings/categories/git-settings/CommitMessageSection.tsx +1 -1
- package/src/client/components/settings/categories/git-settings/IdentitySection.tsx +2 -2
- package/src/client/components/settings/categories/harness-settings/AccountLoginPanel.tsx +3 -3
- package/src/client/components/settings/categories/harness-settings/AccountsPanel.tsx +13 -83
- package/src/client/components/settings/categories/harness-settings/HarnessImportControls.tsx +1 -1
- package/src/client/components/settings/categories/mcp-settings/ConnectionTest.tsx +1 -1
- package/src/client/components/settings/categories/mcp-settings/DetailPane.tsx +5 -5
- package/src/client/components/settings/categories/mcp-settings/ImportModal.tsx +1 -1
- package/src/client/components/settings/categories/mcp-settings/KeyValueSection.tsx +1 -1
- package/src/client/components/settings/categories/mcp-settings/SidebarList.tsx +2 -2
- package/src/client/components/settings/categories/omp-settings/ConfigTabs.tsx +4 -4
- package/src/client/components/settings/categories/omp-settings/OrderedChips.tsx +1 -1
- package/src/client/components/settings/categories/omp-settings/PresetBar.tsx +3 -3
- package/src/client/components/settings/categories/omp-settings/RoleEditor.tsx +2 -2
- package/src/client/components/settings/categories/omp-settings/RowEditor.tsx +2 -2
- package/src/client/components/settings/categories/panel-plugins/GitFreshness.tsx +2 -2
- package/src/client/components/settings/categories/panel-plugins/InstallForm.tsx +3 -3
- package/src/client/components/settings/categories/panel-plugins/InstalledList.tsx +1 -1
- package/src/client/components/settings/categories/panel-plugins/Meta.tsx +1 -1
- package/src/client/components/settings/categories/panel-plugins/PluginCard.tsx +5 -5
- package/src/client/components/settings/categories/panel-plugins/ReadmeModal.tsx +1 -1
- package/src/client/components/settings/categories/panel-plugins/Registries.tsx +4 -4
- package/src/client/components/settings/categories/panel-plugins/Section.tsx +3 -3
- package/src/client/components/settings/categories/panel-plugins/SettingsModal.tsx +2 -2
- package/src/client/components/settings/categories/panel-plugins/SyncBlockedNotice.tsx +2 -2
- package/src/client/components/settings/categories/panel-plugins/Toolbar.tsx +1 -1
- package/src/client/components/settings/categories/plugin-settings/DetailPane.tsx +2 -2
- package/src/client/components/settings/categories/plugin-settings/MarketplacePane.tsx +4 -4
- package/src/client/components/settings/categories/plugin-settings/SettingsSection.tsx +1 -1
- package/src/client/components/settings/categories/plugin-settings/SidebarList.tsx +4 -4
- package/src/client/components/settings/categories/project-settings/AddProjectModal.tsx +1 -1
- package/src/client/components/settings/categories/project-settings/DeleteProjectModal.tsx +3 -3
- package/src/client/components/settings/categories/project-settings/DetailsHeader.tsx +1 -1
- package/src/client/components/settings/categories/project-settings/IconGrid.tsx +3 -3
- package/src/client/components/settings/categories/project-settings/SidebarList.tsx +1 -1
- package/src/client/components/settings/categories/project-settings/WorktreeSettings.tsx +2 -2
- package/src/client/components/settings/categories/provider-settings/AddModelModal.tsx +3 -3
- package/src/client/components/settings/categories/provider-settings/AddProviderModal.tsx +2 -2
- package/src/client/components/settings/categories/provider-settings/AuthSection.tsx +3 -3
- package/src/client/components/settings/categories/provider-settings/DeleteProviderModal.tsx +3 -3
- package/src/client/components/settings/categories/provider-settings/EntryAdvanced.tsx +1 -1
- package/src/client/components/settings/categories/provider-settings/EntryModal.tsx +2 -2
- package/src/client/components/settings/categories/provider-settings/LoginModal.tsx +2 -2
- package/src/client/components/settings/categories/provider-settings/LogoutProviderModal.tsx +3 -3
- package/src/client/components/settings/categories/provider-settings/ModelCapabilitiesModal.tsx +1 -1
- package/src/client/components/settings/categories/provider-settings/PriceFields.tsx +1 -1
- package/src/client/components/settings/categories/skill-catalog/GitImportPanel.tsx +1 -1
- package/src/client/components/settings/categories/skill-catalog/SkillCard.tsx +1 -1
- package/src/client/components/settings/categories/skill-catalog/SourceRail.tsx +1 -1
- package/src/client/components/settings/categories/skill-settings/DetailHeader.tsx +7 -7
- package/src/client/components/settings/categories/skill-settings/DetailPane.tsx +1 -1
- package/src/client/components/settings/categories/skill-settings/SidebarList.tsx +2 -2
- package/src/client/components/settings/categories/usage-settings/ProviderCard.tsx +1 -1
- package/src/client/components/settings/categories/usage-settings/SavedResetsSection.tsx +2 -2
- package/src/client/components/settings/categories/usage-settings/SidebarList.tsx +1 -1
- package/src/client/components/settings/categories/usage-settings/TokenHarborCard.tsx +1 -1
- package/src/client/components/settings/categories/voice-settings/speech/EndpointSection.tsx +2 -2
- package/src/client/components/settings/categories/voice-settings/speech/EngineSection.tsx +5 -5
- package/src/client/components/settings/categories/voice-settings/speech/ModelsSection.tsx +4 -4
- package/src/client/components/workspace/browser-panel/ActivityToasts.tsx +2 -2
- package/src/client/components/workspace/browser-panel/EngineNotice.tsx +1 -1
- package/src/client/components/workspace/browser-panel/index.tsx +2 -2
- package/src/client/components/workspace/browser-toolbar/clusters.tsx +2 -2
- package/src/client/components/workspace/btw-panel/Messages.tsx +2 -2
- package/src/client/components/workspace/btw-panel/TopicMenu.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/AiMessageFooterSheet.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/ChangedFilesSummary.tsx +7 -7
- package/src/client/components/workspace/chat-timeline/ComposerDock.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/IrcNotice.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/MessageItem.tsx +3 -3
- package/src/client/components/workspace/chat-timeline/OrchestrationNotice.tsx +5 -5
- package/src/client/components/workspace/chat-timeline/QueueList.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/SubagentControls.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/SystemNotice.tsx +5 -5
- package/src/client/components/workspace/chat-timeline/TaskResultContent.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/TimelineBody.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/UndoConfirmModal.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/block-chrome.test.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/chat-input/AttachmentToolbar.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/chat-input/ComposerNotice.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/chat-input/ComposerRows.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/chat-input/GoalBanner.tsx +11 -11
- package/src/client/components/workspace/chat-timeline/chat-input/GoalModal.tsx +3 -3
- package/src/client/components/workspace/chat-timeline/chat-input/Toolbar.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/chat-input/VoiceNotice.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/chat-input/props.ts +3 -3
- package/src/client/components/workspace/chat-timeline/plan-review/index.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/target-picker/WorktreePicker.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/FormAsk.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/FormDialog.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/QuestionCard.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/tool-renderers/ask-panel/SwipeDeck.tsx +7 -7
- package/src/client/components/workspace/chat-timeline/tool-renderers/extension-dialog/ApprovalBody.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/hashline-patch/index.tsx +3 -3
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/AstEdit.tsx +5 -5
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Bash.tsx +9 -9
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Debug.tsx +5 -5
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Edit.tsx +5 -5
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Eval.tsx +6 -6
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/FileMatches.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Github.tsx +7 -7
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Goal.tsx +5 -5
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/GoalRecord.tsx +5 -5
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Lsp.tsx +9 -9
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/ManageSkill.tsx +3 -3
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Proc.tsx +8 -8
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Resolve.tsx +3 -3
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/SecurityScan.tsx +6 -6
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/TaskResult.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Todo.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/panels/Wait.tsx +7 -7
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/ArtifactChip.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/DiffView.tsx +2 -2
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/EnvelopeHeader.tsx +3 -3
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/ToolCardShell.tsx +4 -4
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/ToolFactChips.tsx +5 -5
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/ToolRowActions.tsx +1 -1
- package/src/client/components/workspace/chat-timeline/tool-renderers/shared/status-glyph.tsx +3 -3
- package/src/client/components/workspace/chat-timeline/tool-renderers/styles/Tui.test.tsx +35 -9
- package/src/client/components/workspace/chat-timeline/tool-renderers/styles/Tui.tsx +17 -12
- package/src/client/components/workspace/context-panel/RawJsonViewer.tsx +2 -2
- package/src/client/components/workspace/diff-panel/ConflictBanner.tsx +3 -3
- package/src/client/components/workspace/diff-panel/Toolbar.tsx +3 -3
- package/src/client/components/workspace/diff-panel/index.tsx +3 -3
- package/src/client/components/workspace/diff-panel/toolbar-git-actions.tsx +1 -1
- package/src/client/components/workspace/editor/ConflictStrip.tsx +2 -2
- package/src/client/components/workspace/editor/ExternalChangeStrip.tsx +2 -2
- package/src/client/components/workspace/editor/FilePane.tsx +6 -6
- package/src/client/components/workspace/editor/FindWidget.tsx +2 -2
- package/src/client/components/workspace/editor/GoToLineModal.tsx +1 -1
- package/src/client/components/workspace/editor/SaveAsModal.tsx +3 -3
- package/src/client/components/workspace/editor/SaveDeletedFileModal.tsx +2 -2
- package/src/client/components/workspace/editor/StatusBar.tsx +1 -1
- package/src/client/components/workspace/editor/Tabs.test.ts +3 -3
- package/src/client/components/workspace/editor/Tabs.tsx +6 -6
- package/src/client/components/workspace/editor/Toolbar.tsx +4 -4
- package/src/client/components/workspace/editor/toolbar-clusters.tsx +1 -1
- package/src/client/components/workspace/editor/viewers/DataGrid.tsx +1 -1
- package/src/client/components/workspace/editor/viewers/GridToolbar.tsx +2 -2
- package/src/client/components/workspace/editor/viewers/SheetView.tsx +2 -2
- package/src/client/components/workspace/editor/viewers/ViewerError.tsx +2 -2
- package/src/client/components/workspace/file-explorer/ArchiveModals.tsx +1 -1
- package/src/client/components/workspace/file-explorer/ContextMenu.tsx +3 -3
- package/src/client/components/workspace/file-explorer/Modals.tsx +3 -3
- package/src/client/components/workspace/file-explorer/RowLabel.test.tsx +2 -2
- package/src/client/components/workspace/git-panel/BranchToolbar.tsx +2 -2
- package/src/client/components/workspace/git-panel/ChangesList.tsx +3 -3
- package/src/client/components/workspace/git-panel/ConflictItem.tsx +3 -3
- package/src/client/components/workspace/git-panel/FileItem.tsx +1 -1
- package/src/client/components/workspace/git-panel/Modals.tsx +1 -1
- package/src/client/components/workspace/git-panel/OperationBar.tsx +4 -4
- package/src/client/components/workspace/git-panel/StashSection.tsx +1 -1
- package/src/client/components/workspace/git-panel/TreeItem.tsx +2 -2
- package/src/client/components/workspace/git-panel/branch-modal/BranchRow.tsx +2 -2
- package/src/client/components/workspace/git-panel/branch-modal/DeleteDialog.tsx +2 -2
- package/src/client/components/workspace/git-panel/branch-modal/index.tsx +2 -2
- package/src/client/components/workspace/model-dropdown/HarnessTabs.tsx +31 -76
- package/src/client/components/workspace/model-dropdown/Item.tsx +2 -2
- package/src/client/components/workspace/model-dropdown/Panel.tsx +15 -9
- package/src/client/components/workspace/model-dropdown/Section.tsx +1 -1
- package/src/client/components/workspace/model-dropdown/harness-tabs.test.tsx +12 -83
- package/src/client/components/workspace/model-dropdown/index.tsx +2 -2
- package/src/client/components/workspace/model-dropdown/picker-close.test.tsx +16 -2
- package/src/client/components/workspace/plan-panel/PageView.tsx +2 -2
- package/src/client/components/workspace/plan-panel/index.tsx +2 -2
- package/src/client/components/workspace/plugin-panel/Error.tsx +1 -1
- package/src/client/components/workspace/repo-picker/Modal.tsx +3 -3
- package/src/client/components/workspace/repo-picker/Row.tsx +5 -5
- package/src/client/components/workspace/search-panel/Body.tsx +2 -2
- package/src/client/components/workspace/terminal-panel/Header.tsx +3 -3
- package/src/client/components/workspace/terminal-panel/KeyBar.tsx +2 -2
- package/src/client/components/workspace/terminal-panel/QuickActions.tsx +1 -1
- package/src/client/components/workspace/terminal-panel/RealtimeTerminalView.tsx +1 -1
- package/src/client/components/workspace/terminal-panel/index.tsx +1 -1
- package/src/client/components/workspace/usage-panel/index.tsx +3 -3
- package/src/client/components/workspace/user-browser-panel/AddressBar.tsx +1 -1
- package/src/client/components/workspace/wiki-panel/PageView.tsx +2 -2
- package/src/client/components/workspace/wiki-panel/index.tsx +2 -2
- package/src/client/components/workspace/worktree-modal/index.tsx +1 -1
- package/src/client/data/settings/omp-schema.json +27 -7
- package/src/client/hooks/chat/timeline/session-harness.ts +2 -1
- package/src/client/hooks/editor/use-unload-guard.tsx +2 -2
- package/src/client/hooks/models/use-harness-accounts-panel.ts +142 -0
- package/src/client/hooks/ui/border-style.test.ts +1 -2
- package/src/client/hooks/ui/theme.ts +23 -2
- package/src/client/main.tsx +7 -1
- package/src/client/tailwind-contrast.test.ts +22 -7
- package/src/client/tailwind.css +115 -18
- package/src/server/lib/assets/theme-css.server.test.ts +31 -1
- package/src/server/lib/assets/theme-css.server.ts +15 -1
- package/src/server/lib/harness/accounts.test.ts +5 -3
- package/src/server/lib/harness/acp/acp-todos.test.ts +23 -0
- package/src/server/lib/omp/session/delete.server.ts +4 -0
- package/src/server/lib/realtime/topics/session-data.server.ts +63 -1
- package/src/server/lib/realtime/topics/session-data.test.ts +154 -0
- package/src/server/lib/tray/runtime.server.ts +5 -0
- package/src/server/plugins/ssr.ts +16 -4
- package/src/server/routes/settings/root.ts +11 -0
- package/src/server/routes/settings/settings-store-routes.test.ts +37 -0
- package/src/shared/lib/chat/timeline/block-chrome.ts +2 -2
- package/src/shared/lib/chat/todo/flat-list.test.ts +81 -0
- package/src/shared/lib/chat/todo/flat-list.ts +29 -0
- package/src/shared/lib/chat/todo/parser.ts +7 -53
- package/src/shared/lib/chat/todo/progress.test.ts +3 -3
- package/src/shared/lib/chat/todo/progress.ts +3 -3
- package/src/shared/lib/fs/git-status.test.ts +22 -22
- package/src/shared/lib/fs/git-status.ts +31 -31
- package/src/shared/lib/icons/icon-paint-authority.ts +5 -4
- package/src/shared/lib/omp/config/schema-releases-19-4.test.ts +20 -3
- package/src/shared/lib/settings/defaults.ts +1 -0
- package/src/shared/lib/theme/catalog.test.ts +42 -0
- package/src/shared/lib/theme/catalog.ts +66 -11
- package/src/shared/lib/theme/css.ts +25 -1
- package/src/shared/lib/theme/custom.test.ts +156 -0
- package/src/shared/lib/theme/custom.ts +260 -0
- package/src/shared/lib/theme/ink-scale.test.ts +83 -2
- package/src/shared/lib/theme/ink-scale.ts +74 -9
- package/src/shared/lib/theme/shell-palette.ts +3 -3
- package/src/shared/lib/theme/theme.test.ts +28 -13
- package/src/shared/types/settings/state.ts +11 -3
- package/tsconfig.json +6 -0
- package/dist/client/static/js/Body-p6zwk0nx.js +0 -3
- package/dist/client/static/js/ImageView-fkfq3fwv.js +0 -1
- package/dist/client/static/js/LayoutWrapper-mdb1qm26.js +0 -2
- package/dist/client/static/js/MergeDiffView-7kpjxcg9.js +0 -1
- package/dist/client/static/js/Modal-0p9cr2tn.js +0 -60
- package/dist/client/static/js/SessionsView-gptt0rq8.js +0 -1
- package/dist/client/static/js/architecture-7GRP2DOG-3hkq8grc.js +0 -1
- package/dist/client/static/js/bash-n7wcmq3s.js +0 -1
- package/dist/client/static/js/c-20y64hcp.js +0 -1
- package/dist/client/static/js/cpp-ty6n0dg9.js +0 -1
- package/dist/client/static/js/css-ncvxaxt0.js +0 -1
- package/dist/client/static/js/cynefin-OW5HDTMX-9m18e6m5.js +0 -1
- package/dist/client/static/js/eventmodeling-NTZA5JFV-d4egnv9v.js +0 -1
- package/dist/client/static/js/flowDiagram-KWPJA3E3-5bvd5k2t.js +0 -1
- package/dist/client/static/js/gitGraph-4MIJSDKK-grqv890n.js +0 -1
- package/dist/client/static/js/graphql-6rwdfcnf.js +0 -1
- package/dist/client/static/js/html-p76eszt9.js +0 -1
- package/dist/client/static/js/index-28wv94gz.js +0 -2
- package/dist/client/static/js/index-3wgjtp2k.js +0 -9
- package/dist/client/static/js/index-7trfm17d.js +0 -2
- package/dist/client/static/js/index-cxe75e06.js +0 -2
- package/dist/client/static/js/index-dmb1pykr.js +0 -1
- package/dist/client/static/js/index-fqc1snjw.js +0 -1
- package/dist/client/static/js/index-jsn2kedv.js +0 -1
- package/dist/client/static/js/index-pe4d9wht.js +0 -1
- package/dist/client/static/js/index-sm8gpk3g.js +0 -4
- package/dist/client/static/js/index-st6a8q5z.js +0 -470
- package/dist/client/static/js/index-stmwbavz.js +0 -1
- package/dist/client/static/js/index-swaveqxg.css +0 -1
- package/dist/client/static/js/index-t82q5t6m.js +0 -1
- package/dist/client/static/js/index-t9zjfxvc.js +0 -1
- package/dist/client/static/js/index-tdbcp70z.js +0 -2
- package/dist/client/static/js/index-v38j2zxn.js +0 -2
- package/dist/client/static/js/index-x17y7xdr.js +0 -2
- package/dist/client/static/js/index-xrb4kjr3.js +0 -1
- package/dist/client/static/js/info-A6RAGUB7-rzpg7qk1.js +0 -1
- package/dist/client/static/js/ini-kjcpgebh.js +0 -1
- package/dist/client/static/js/java-0bcyv1jt.js +0 -1
- package/dist/client/static/js/json-xha2drny.js +0 -1
- package/dist/client/static/js/jsx-8p6dqgpq.js +0 -1
- package/dist/client/static/js/lua-njwwdj4s.js +0 -1
- package/dist/client/static/js/markdown-8gbyxxjd.js +0 -1
- package/dist/client/static/js/one-dark-pro-sstqnzcf.js +0 -1
- package/dist/client/static/js/one-light-6fpxxq2j.js +0 -1
- package/dist/client/static/js/packet-AYTQ26CC-eac14hsq.js +0 -1
- package/dist/client/static/js/pie-WAS4IAKB-a9xqvysf.js +0 -1
- package/dist/client/static/js/properties-d5bwhgwz.js +0 -1
- package/dist/client/static/js/python-fdwwjjhh.js +0 -1
- package/dist/client/static/js/r-4d2ygtfj.js +0 -1
- package/dist/client/static/js/radar-RG4KPBEZ-jv2pm0fe.js +0 -1
- package/dist/client/static/js/railroad-74A4TZTK-j74sc0b6.js +0 -1
- package/dist/client/static/js/railroad-abnf-HS5TGJTU-eaf19baz.js +0 -1
- package/dist/client/static/js/railroad-ebnf-LZEXJU2U-d4j5nq31.js +0 -1
- package/dist/client/static/js/railroad-peg-WCYAUIDC-ba862a9p.js +0 -1
- package/dist/client/static/js/swimlanesDiagram-TC7HE7FX-cx3f29mq.js +0 -8
- package/dist/client/static/js/treeView-Q6P3EWNA-e8yb44pd.js +0 -1
- package/dist/client/static/js/treemap-WGGIJYW6-zvdv84vp.js +0 -1
- package/dist/client/static/js/tsx-dk8rpgtw.js +0 -1
- package/dist/client/static/js/typescript-5txwpd9t.js +0 -1
- package/dist/client/static/js/wardley-WFR3VGLG-hbv0cg4s.js +0 -1
- package/dist/client/static/js/xml-8516fzfp.js +0 -1
- package/dist/client/static/js/yaml-6k1tmwtm.js +0 -1
package/dist/client/static/js/{vennDiagram-UO4OBE2U-tqyvmqxc.js → vennDiagram-UO4OBE2U-ztkk79dv.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import{t,De,lc,g,A,Y,C,re,M,O,G,z,j,q,H,b,Ae,ce,y}from"./index-xfnjwhan.js";var le=(e,s)=>lc(e,"a",-s),kt=le;function mt(e,s){let i=fe(e),n=i.filter((c)=>ue(c,e)),r=0,o=0,a=[];if(n.length>1){let c=qt(n);for(let f=0;f<n.length;++f){let l=n[f];l.angle=Math.atan2(l.x-c.x,l.y-c.y)}n.sort((f,l)=>l.angle-f.angle);let h=n[n.length-1];for(let f=0;f<n.length;++f){let l=n[f];o+=(h.x+l.x)*(l.y-h.y);let v={x:(l.x+h.x)/2,y:(l.y+h.y)/2},x=null;for(let S=0;S<l.parentIndex.length;++S)if(h.parentIndex.includes(l.parentIndex[S])){let k=e[l.parentIndex[S]],T=Math.atan2(l.x-k.x,l.y-k.y),L=Math.atan2(h.x-k.x,h.y-k.y),R=L-T;if(R<0)R+=2*Math.PI;let D=L-R/2,p=st(v,{x:k.x+k.radius*Math.sin(D),y:k.y+k.radius*Math.cos(D)});if(p>k.radius*2)p=k.radius*2;if(x==null||x.width>p)x={circle:k,width:p,p1:l,p2:h,large:p>k.radius,sweep:!0}}if(x!=null)a.push(x),r+=St(x.circle.radius,x.width),h=l}}else{let c=e[0];for(let f=1;f<e.length;++f)if(e[f].radius<c.radius)c=e[f];let h=!1;for(let f=0;f<e.length;++f)if(st(e[f],c)>Math.abs(c.radius-e[f].radius)){h=!0;break}if(h)r=o=0;else r=c.radius*c.radius*Math.PI,a.push({circle:c,p1:{x:c.x,y:c.y+c.radius},p2:{x:c.x-0.0000000001,y:c.y+c.radius},width:c.radius*2,large:!0,sweep:!0})}if(o/=2,s)s.area=r+o,s.arcArea=r,s.polygonArea=o,s.arcs=a,s.innerPoints=n,s.intersectionPoints=i;return r+o}function ue(e,s){return s.every((i)=>st(e,i)<i.radius+0.0000000001)}function fe(e){let s=[];for(let i=0;i<e.length;++i)for(let n=i+1;n<e.length;++n){let r=Bt(e[i],e[n]);for(let o of r)o.parentIndex=[i,n],s.push(o)}return s}function St(e,s){return e*e*Math.acos(1-s/e)-(e-s)*Math.sqrt(s*(2*e-s))}function st(e,s){return Math.sqrt((e.x-s.x)*(e.x-s.x)+(e.y-s.y)*(e.y-s.y))}function At(e,s,i){if(i>=e+s)return 0;if(i<=Math.abs(e-s))return Math.PI*Math.min(e,s)*Math.min(e,s);let n=e-(i*i-s*s+e*e)/(2*i),r=s-(i*i-e*e+s*s)/(2*i);return St(e,n)+St(s,r)}function Bt(e,s){let i=st(e,s),n=e.radius,r=s.radius;if(i>=n+r||i<=Math.abs(n-r))return[];let o=(n*n-r*r+i*i)/(2*i),a=Math.sqrt(n*n-o*o),c=e.x+o*(s.x-e.x)/i,h=e.y+o*(s.y-e.y)/i,f=-(s.y-e.y)*(a/i),l=-(s.x-e.x)*(a/i);return[{x:c+f,y:h-l},{x:c-f,y:h+l}]}function qt(e){let s={x:0,y:0};for(let i of e)s.x+=i.x,s.y+=i.y;return s.x/=e.length,s.y/=e.length,s}function he(e,s,i,n){n=n||{};let r=n.maxIterations||100,o=n.tolerance||0.0000000001,a=e(s),c=e(i),h=i-s;if(a*c>0)throw"Initial bisect points must have opposite signs";if(a===0)return s;if(c===0)return i;for(let f=0;f<r;++f){h/=2;let l=s+h,v=e(l);if(v*a>=0)s=l;if(Math.abs(h)<o||v===0)return l}return s+h}function wt(e){let s=Array(e);for(let i=0;i<e;++i)s[i]=0;return s}function Pt(e,s){return wt(e).map(()=>wt(s))}function gt(e,s){let i=0;for(let n=0;n<e.length;++n)i+=e[n]*s[n];return i}function _t(e){return Math.sqrt(gt(e,e))}function Et(e,s,i){for(let n=0;n<s.length;++n)e[n]=s[n]*i}function ft(e,s,i,n,r){for(let o=0;o<e.length;++o)e[o]=s*i[o]+n*r[o]}function Ut(e,s,i){i=i||{};let n=i.maxIterations||s.length*200,r=i.nonZeroDelta||1.05,o=i.zeroDelta||0.001,a=i.minErrorDelta||0.000001,c=i.minErrorDelta||0.00001,h=i.rho!==void 0?i.rho:1,f=i.chi!==void 0?i.chi:2,l=i.psi!==void 0?i.psi:-0.5,v=i.sigma!==void 0?i.sigma:0.5,x,S=s.length,k=Array(S+1);k[0]=s,k[0].fx=e(s),k[0].id=0;for(let w=0;w<S;++w){let u=s.slice();u[w]=u[w]?u[w]*r:o,k[w+1]=u,k[w+1].fx=e(u),k[w+1].id=w+1}function T(w){for(let u=0;u<w.length;u++)k[S][u]=w[u];k[S].fx=w.fx}let L=(w,u)=>w.fx-u.fx,R=s.slice(),D=s.slice(),p=s.slice(),I=s.slice();for(let w=0;w<n;++w){if(k.sort(L),i.history){let m=k.map((d)=>{let V=d.slice();return V.fx=d.fx,V.id=d.id,V});m.sort((d,V)=>d.id-V.id),i.history.push({x:k[0].slice(),fx:k[0].fx,simplex:m})}x=0;for(let m=0;m<S;++m)x=Math.max(x,Math.abs(k[0][m]-k[1][m]));if(Math.abs(k[0].fx-k[S].fx)<a&&x<c)break;for(let m=0;m<S;++m){R[m]=0;for(let d=0;d<S;++d)R[m]+=k[d][m];R[m]/=S}let u=k[S];if(ft(D,1+h,R,-h,u),D.fx=e(D),D.fx<k[0].fx)if(ft(I,1+f,R,-f,u),I.fx=e(I),I.fx<D.fx)T(I);else T(D);else if(D.fx>=k[S-1].fx){let m=!1;if(D.fx>u.fx)if(ft(p,1+l,R,-l,u),p.fx=e(p),p.fx<u.fx)T(p);else m=!0;else if(ft(p,1-l*h,R,l*h,u),p.fx=e(p),p.fx<D.fx)T(p);else m=!0;if(m){if(v>=1)break;for(let d=1;d<k.length;++d)ft(k[d],1-v,k[0],v,k[d]),k[d].fx=e(k[d])}}else T(D)}return k.sort(L),{fx:k[0].fx,x:k[0]}}function de(e,s,i,n,r,o,a){let c=i.fx,h=gt(i.fxprime,s),f=c,l=c,v=h,x=0;r=r||1,o=o||0.000001,a=a||0.1;function S(k,T,L){for(let R=0;R<16;++R)if(r=(k+T)/2,ft(n.x,1,i.x,r,s),f=n.fx=e(n.x,n.fxprime),v=gt(n.fxprime,s),f>c+o*r*h||f>=L)T=r;else{if(Math.abs(v)<=-a*h)return r;if(v*(T-k)>=0)T=k;k=r,L=f}return 0}for(let k=0;k<10;++k){if(ft(n.x,1,i.x,r,s),f=n.fx=e(n.x,n.fxprime),v=gt(n.fxprime,s),f>c+o*r*h||k&&f>=l)return S(x,r,l);if(Math.abs(v)<=-a*h)return r;if(v>=0)return S(r,x,f);l=f,x=r,r*=2}return r}function ge(e,s,i){let n={x:s.slice(),fx:0,fxprime:s.slice()},r={x:s.slice(),fx:0,fxprime:s.slice()},o=s.slice(),a,c,h=1,f;i=i||{},f=i.maxIterations||s.length*20,n.fx=e(n.x,n.fxprime),a=n.fxprime.slice(),Et(a,n.fxprime,-1);for(let l=0;l<f;++l){if(h=de(e,a,n,r,h),i.history)i.history.push({x:n.x.slice(),fx:n.fx,fxprime:n.fxprime.slice(),alpha:h});if(!h)Et(a,n.fxprime,-1);else{ft(o,1,r.fxprime,-1,n.fxprime);let v=gt(n.fxprime,n.fxprime),x=Math.max(0,gt(o,r.fxprime)/v);ft(a,x,a,-1,r.fxprime),c=n,n=r,r=c}if(_t(n.fxprime)<=0.00001)break}if(i.history)i.history.push({x:n.x.slice(),fx:n.fx,fxprime:n.fxprime.slice(),alpha:h});return n}function Gt(e,s={}){s.maxIterations=s.maxIterations||500;let i=s.initialLayout||me,n=s.lossFunction||xt,r=xe(e,s),o=i(r,s),a=Object.keys(o),c=[];for(let l of a)c.push(o[l].x),c.push(o[l].y);let f=Ut((l)=>{let v={};for(let x=0;x<a.length;++x){let S=a[x];v[S]={x:l[2*x],y:l[2*x+1],radius:o[S].radius}}return n(v,r)},c,s).x;for(let l=0;l<a.length;++l){let v=a[l];o[v].x=f[2*l],o[v].y=f[2*l+1]}return o}var Wt=0.0000000001;function Tt(e,s,i){if(Math.min(e,s)*Math.min(e,s)*Math.PI<=i+Wt)return Math.abs(e-s);return he((n)=>At(e,s,n)-i,0,e+s)}function xe(e,s={}){let i=s.distinct,n=e.map((c)=>Object.assign({},c));function r(c){return c.join(";")}if(i){let c=new Map;for(let h of n)for(let f=0;f<h.sets.length;f++){let l=String(h.sets[f]);c.set(l,h.size+(c.get(l)||0));for(let v=f+1;v<h.sets.length;v++){let x=String(h.sets[v]),S=`${l};${x}`,k=`${x};${l}`;c.set(S,h.size+(c.get(S)||0)),c.set(k,h.size+(c.get(k)||0))}}for(let h of n)if(h.sets.length<3)h.size=c.get(r(h.sets))}let o=[],a=new Set;for(let c of n)if(c.sets.length===1)o.push(c.sets[0]);else if(c.sets.length===2){let h=c.sets[0],f=c.sets[1];a.add(r(c.sets)),a.add(r([f,h]))}o.sort((c,h)=>c===h?0:c<h?-1:1);for(let c=0;c<o.length;++c){let h=o[c];for(let f=c+1;f<o.length;++f){let l=o[f];if(!a.has(r([h,l])))n.push({sets:[h,l],size:0})}}return n}function ye(e,s,i){let n=Pt(s.length,s.length),r=Pt(s.length,s.length);return e.filter((o)=>o.sets.length===2).forEach((o)=>{let a=i[o.sets[0]],c=i[o.sets[1]],h=Math.sqrt(s[a].size/Math.PI),f=Math.sqrt(s[c].size/Math.PI),l=Tt(h,f,o.size);n[a][c]=n[c][a]=l;let v=0;if(o.size+0.0000000001>=Math.min(s[a].size,s[c].size))v=1;else if(o.size<=0.0000000001)v=-1;r[a][c]=r[c][a]=v}),{distances:n,constraints:r}}function pe(e,s,i,n){for(let o=0;o<s.length;++o)s[o]=0;let r=0;for(let o=0;o<i.length;++o){let a=e[2*o],c=e[2*o+1];for(let h=o+1;h<i.length;++h){let f=e[2*h],l=e[2*h+1],v=i[o][h],x=n[o][h],S=(f-a)*(f-a)+(l-c)*(l-c),k=Math.sqrt(S),T=S-v*v;if(x>0&&k<=v||x<0&&k>=v)continue;r+=2*T*T,s[2*o]+=4*T*(a-f),s[2*o+1]+=4*T*(c-l),s[2*h]+=4*T*(f-a),s[2*h+1]+=4*T*(l-c)}}return r}function me(e,s={}){let i=ve(e,s),n=s.lossFunction||xt;if(e.length>=8){let r=be(e,s),o=n(r,e),a=n(i,e);if(o+0.00000001<a)i=r}return i}function be(e,s={}){let i=s.restarts||10,n=[],r={};for(let x of e)if(x.sets.length===1)r[x.sets[0]]=n.length,n.push(x);let{distances:o,constraints:a}=ye(e,n,r),c=_t(o.map(_t))/o.length;o=o.map((x)=>x.map((S)=>S/c));let h=(x,S)=>pe(x,S,o,a),f=null;for(let x=0;x<i;++x){let S=wt(o.length*2).map(Math.random),k=ge(h,S,s);if(!f||k.fx<f.fx)f=k}let l=f.x,v={};for(let x=0;x<n.length;++x){let S=n[x];v[S.sets[0]]={x:l[2*x]*c,y:l[2*x+1]*c,radius:Math.sqrt(S.size/Math.PI)}}if(s.history)for(let x of s.history)Et(x.x,c);return v}function ve(e,s){let i=s&&s.lossFunction?s.lossFunction:xt,n={},r={};for(let v of e)if(v.sets.length===1){let x=v.sets[0];n[x]={x:10000000000,y:10000000000,rowid:n.length,size:v.size,radius:Math.sqrt(v.size/Math.PI)},r[x]=[]}e=e.filter((v)=>v.sets.length===2);for(let v of e){let x=v.weight!=null?v.weight:1,S=v.sets[0],k=v.sets[1];if(v.size+Wt>=Math.min(n[S].size,n[k].size))x=0;r[S].push({set:k,size:v.size,weight:x}),r[k].push({set:S,size:v.size,weight:x})}let o=[];Object.keys(r).forEach((v)=>{let x=0;for(let S=0;S<r[v].length;++S)x+=r[v][S].size*r[v][S].weight;o.push({set:v,size:x})});function a(v,x){return x.size-v.size}o.sort(a);let c={};function h(v){return v.set in c}function f(v,x){n[x].x=v.x,n[x].y=v.y,c[x]=!0}f({x:0,y:0},o[0].set);for(let v=1;v<o.length;++v){let x=o[v].set,S=r[x].filter(h),k=n[x];if(S.sort(a),S.length===0)throw"ERROR: missing pairwise overlap information";let T=[];for(var l=0;l<S.length;++l){let D=n[S[l].set],p=Tt(k.radius,D.radius,S[l].size);T.push({x:D.x+p,y:D.y}),T.push({x:D.x-p,y:D.y}),T.push({y:D.y+p,x:D.x}),T.push({y:D.y-p,x:D.x});for(let I=l+1;I<S.length;++I){let w=n[S[I].set],u=Tt(k.radius,w.radius,S[I].size),m=Bt({x:D.x,y:D.y,radius:p},{x:w.x,y:w.y,radius:u});T.push(...m)}}let L=100000000000000000000000000000000000000000000000000,R=T[0];for(let D of T){n[x].x=D.x,n[x].y=D.y;let p=i(n,e);if(p<L)L=p,R=D}f(R,x)}return n}function xt(e,s){let i=0;for(let n of s){if(n.sets.length===1)continue;let r;if(n.sets.length===2){let a=e[n.sets[0]],c=e[n.sets[1]];r=At(a.radius,c.radius,st(a,c))}else r=mt(n.sets.map((a)=>e[a]));let o=n.weight!=null?n.weight:1;i+=o*(r-n.size)*(r-n.size)}return i}function Kt(e,s){let i=0;for(let n of s){if(n.sets.length===1)continue;let r;if(n.sets.length===2){let c=e[n.sets[0]],h=e[n.sets[1]];r=At(c.radius,h.radius,st(c,h))}else r=mt(n.sets.map((c)=>e[c]));let o=n.weight!=null?n.weight:1,a=Math.log((r+1)/(n.size+1));i+=o*a*a}return i}function ke(e,s,i){if(i==null)e.sort((r,o)=>o.radius-r.radius);else e.sort(i);if(e.length>0){let r=e[0].x,o=e[0].y;for(let a of e)a.x-=r,a.y-=o}if(e.length===2){if(st(e[0],e[1])<Math.abs(e[1].radius-e[0].radius))e[1].x=e[0].x+e[0].radius-e[1].radius-0.0000000001,e[1].y=e[0].y}if(e.length>1){let r=Math.atan2(e[1].x,e[1].y)-s,o=Math.cos(r),a=Math.sin(r);for(let c of e){let{x:h,y:f}=c;c.x=o*h-a*f,c.y=a*h+o*f}}if(e.length>2){let r=Math.atan2(e[2].x,e[2].y)-s;while(r<0)r+=2*Math.PI;while(r>2*Math.PI)r-=2*Math.PI;if(r>Math.PI){let o=e[1].y/(0.0000000001+e[1].x);for(let a of e){var n=(a.x+o*a.y)/(1+o*o);a.x=2*n-a.x,a.y=2*n*o-a.y}}}}function Ie(e){e.forEach((r)=>{r.parent=r});function s(r){if(r.parent!==r)r.parent=s(r.parent);return r.parent}function i(r,o){let a=s(r),c=s(o);a.parent=c}for(let r=0;r<e.length;++r)for(let o=r+1;o<e.length;++o){let a=e[r].radius+e[o].radius;if(st(e[r],e[o])+0.0000000001<a)i(e[o],e[r])}let n=new Map;for(let r=0;r<e.length;++r){let o=s(e[r]).parent.setid;if(!n.has(o))n.set(o,[]);n.get(o).push(e[r])}return e.forEach((r)=>{delete r.parent}),Array.from(n.values())}function zt(e){let s=(i)=>{let n=e.reduce((o,a)=>Math.max(o,a[i]+a.radius),Number.NEGATIVE_INFINITY),r=e.reduce((o,a)=>Math.min(o,a[i]-a.radius),Number.POSITIVE_INFINITY);return{max:n,min:r}};return{xRange:s("x"),yRange:s("y")}}function Ht(e,s,i){if(s==null)s=Math.PI/2;let n=Zt(e).map((f)=>Object.assign({},f)),r=Ie(n);for(let f of r){ke(f,s,i);let l=zt(f);f.size=(l.xRange.max-l.xRange.min)*(l.yRange.max-l.yRange.min),f.bounds=l}r.sort((f,l)=>l.size-f.size),n=r[0];let o=n.bounds,a=(o.xRange.max-o.xRange.min)/50;function c(f,l,v){if(!f)return;let x=f.bounds,S,k;if(l)S=o.xRange.max-x.xRange.min+a;else{S=o.xRange.max-x.xRange.max;let T=(x.xRange.max-x.xRange.min)/2-(o.xRange.max-o.xRange.min)/2;if(T<0)S+=T}if(v)k=o.yRange.max-x.yRange.min+a;else{k=o.yRange.max-x.yRange.max;let T=(x.yRange.max-x.yRange.min)/2-(o.yRange.max-o.yRange.min)/2;if(T<0)k+=T}for(let T of f)T.x+=S,T.y+=k,n.push(T)}let h=1;while(h<r.length)c(r[h],!0,!1),c(r[h+1],!1,!0),c(r[h+2],!0,!0),h+=3,o=zt(n);return Xt(n)}function Yt(e,s,i,n,r){let o=Zt(e);s-=2*n,i-=2*n;let{xRange:a,yRange:c}=zt(o);if(a.max===a.min||c.max===c.min)return console.log("not scaling solution: zero size detected"),e;let h,f;if(r){let S=Math.sqrt(r/Math.PI)*2;h=s/S,f=i/S}else h=s/(a.max-a.min),f=i/(c.max-c.min);let l=Math.min(f,h),v=(s-(a.max-a.min)*l)/2,x=(i-(c.max-c.min)*l)/2;return Xt(o.map((S)=>({radius:l*S.radius,x:n+v+(S.x-a.min)*l,y:n+x+(S.y-c.min)*l,setid:S.setid})))}function Xt(e){let s={};for(let i of e)s[i.setid]=i;return s}function Zt(e){return Object.keys(e).map((i)=>Object.assign(e[i],{setid:i}))}function Jt(e={}){let s=!1,i=600,n=350,r=15,o=1000,a=Math.PI/2,c=!0,h=null,f=!0,l=!0,v=null,x=null,S=!1,k=null,T=e&&e.symmetricalTextCentre?e.symmetricalTextCentre:!1,L={},R=e&&e.colourScheme?e.colourScheme:e&&e.colorScheme?e.colorScheme:["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],D=0,p=function(m){if(m in L)return L[m];var d=L[m]=R[D];if(D+=1,D>=R.length)D=0;return d},I=Gt,w=xt;function u(m){let d=m.datum(),V=new Set;d.forEach((_)=>{if(_.size==0&&_.sets.length==1)V.add(_.sets[0])}),d=d.filter((_)=>!_.sets.some((K)=>V.has(K)));let E={},B={};if(d.length>0){let _=I(d,{lossFunction:w,distinct:S});if(c)_=Ht(_,a,x);E=Yt(_,i,n,r,h),B=$t(E,d,T)}let it={};d.forEach((_)=>{if(_.label)it[_.sets]=_.label});function Q(_){if(_.sets in it)return it[_.sets];if(_.sets.length==1)return""+_.sets[0]}m.selectAll("svg").data([E]).enter().append("svg");let W=m.select("svg");if(s)W.attr("viewBox",`0 0 ${i} ${n}`);else W.attr("width",i).attr("height",n);let P={},U=!1;W.selectAll(".venn-area path").each(function(_){let K=this.getAttribute("d");if(_.sets.length==1&&K&&!S)U=!0,P[_.sets[0]]=we(K)});function N(_){return(K)=>{let dt=_.sets.map((ut)=>{let ct=P[ut],nt=E[ut];if(!ct)ct={x:i/2,y:n/2,radius:1};if(!nt)nt={x:i/2,y:n/2,radius:1};return{x:ct.x*(1-K)+nt.x*K,y:ct.y*(1-K)+nt.y*K,radius:ct.radius*(1-K)+nt.radius*K}});return Vt(dt,k)}}let X=W.selectAll(".venn-area").data(d,(_)=>_.sets),tt=X.enter().append("g").attr("class",(_)=>`venn-area venn-${_.sets.length==1?"circle":"intersection"}${_.colour||_.color?" venn-coloured":""}`).attr("data-venn-sets",(_)=>_.sets.join("_")),Z=tt.append("path"),rt=tt.append("text").attr("class","label").text((_)=>Q(_)).attr("text-anchor","middle").attr("dy",".35em").attr("x",i/2).attr("y",n/2);if(l)Z.style("fill-opacity","0").filter((_)=>_.sets.length==1).style("fill",(_)=>_.colour?_.colour:_.color?_.color:p(_.sets)).style("fill-opacity",".25"),rt.style("fill",(_)=>{if(_.colour||_.color)return"#FFF";if(e.textFill)return e.textFill;return _.sets.length==1?p(_.sets):"#444"});function et(_){if(typeof _.transition==="function")return _.transition("venn").duration(o);return _}let J=m;if(U&&typeof J.transition==="function")J=et(m),J.selectAll("path").attrTween("d",N);else J.selectAll("path").attr("d",(_)=>Vt(_.sets.map((K)=>E[K])),k);let F=J.selectAll("text").filter((_)=>(_.sets in B)).text((_)=>Q(_)).attr("x",(_)=>Math.floor(B[_.sets].x)).attr("y",(_)=>Math.floor(B[_.sets].y));if(f)if(U)if("on"in F)F.on("end",It(E,Q));else F.each("end",It(E,Q));else F.each(It(E,Q));let lt=et(X.exit()).remove();if(typeof X.transition==="function")lt.selectAll("path").attrTween("d",N);let at=lt.selectAll("text").attr("x",i/2).attr("y",n/2);if(v!==null)rt.style("font-size","0px"),F.style("font-size",v),at.style("font-size","0px");return{circles:E,textCentres:B,nodes:X,enter:tt,update:J,exit:lt}}return u.wrap=function(m){if(!arguments.length)return f;return f=m,u},u.useViewBox=function(){return s=!0,u},u.width=function(m){if(!arguments.length)return i;return i=m,u},u.height=function(m){if(!arguments.length)return n;return n=m,u},u.padding=function(m){if(!arguments.length)return r;return r=m,u},u.distinct=function(m){if(!arguments.length)return S;return S=m,u},u.colours=function(m){if(!arguments.length)return p;return p=m,u},u.colors=function(m){if(!arguments.length)return p;return p=m,u},u.fontSize=function(m){if(!arguments.length)return v;return v=m,u},u.round=function(m){if(!arguments.length)return k;return k=m,u},u.duration=function(m){if(!arguments.length)return o;return o=m,u},u.layoutFunction=function(m){if(!arguments.length)return I;return I=m,u},u.normalize=function(m){if(!arguments.length)return c;return c=m,u},u.scaleToFit=function(m){if(!arguments.length)return h;return h=m,u},u.styled=function(m){if(!arguments.length)return l;return l=m,u},u.orientation=function(m){if(!arguments.length)return a;return a=m,u},u.orientationOrder=function(m){if(!arguments.length)return x;return x=m,u},u.lossFunction=function(m){if(!arguments.length)return w;return w=m==="default"?xt:m==="logRatio"?Kt:m,u},u}function It(e,s){return function(i){let n=this,r=e[i.sets[0]].radius||50,o=s(i)||"",a=o.split(/\s+/).reverse(),c=3,h=(o.length+a.length)/3,f=a.pop(),l=[f],v=0,x=1.1;n.textContent=null;let S=[];function k(p){let I=n.ownerDocument.createElementNS(n.namespaceURI,"tspan");return I.textContent=p,S.push(I),n.append(I),I}let T=k(f);while(!0){if(f=a.pop(),!f)break;l.push(f);let p=l.join(" ");if(T.textContent=p,p.length>h&&T.getComputedTextLength()>r)l.pop(),T.textContent=l.join(" "),l=[f],T=k(f),v++}let L=0.35-v*x/2,R=n.getAttribute("x"),D=n.getAttribute("y");S.forEach((p,I)=>{p.setAttribute("x",R),p.setAttribute("y",D),p.setAttribute("dy",`${L+I*x}em`)})}}function Mt(e,s,i){let n=s[0].radius-st(s[0],e);for(let r=1;r<s.length;++r){let o=s[r].radius-st(s[r],e);if(o<=n)n=o}for(let r=0;r<i.length;++r){let o=st(i[r],e)-i[r].radius;if(o<=n)n=o}return n}function Qt(e,s,i){let n=[];for(let l of e)n.push({x:l.x,y:l.y}),n.push({x:l.x+l.radius/2,y:l.y}),n.push({x:l.x-l.radius/2,y:l.y}),n.push({x:l.x,y:l.y+l.radius/2}),n.push({x:l.x,y:l.y-l.radius/2});let r=n[0],o=Mt(n[0],e,s);for(let l=1;l<n.length;++l){let v=Mt(n[l],e,s);if(v>=o)r=n[l],o=v}let a=Ut((l)=>-1*Mt({x:l[0],y:l[1]},e,s),[r.x,r.y],{maxIterations:500,minErrorDelta:0.0000000001}).x,c={x:i?0:a[0],y:a[1]},h=!0;for(let l of e)if(st(c,l)>l.radius){h=!1;break}for(let l of s)if(st(c,l)<l.radius){h=!1;break}if(h)return c;if(e.length==1)return{x:e[0].x,y:e[0].y};let f={};if(mt(e,f),f.arcs.length===0)return{x:0,y:-1000,disjoint:!0};if(f.arcs.length==1)return{x:f.arcs[0].circle.x,y:f.arcs[0].circle.y};if(s.length)return Qt(e,[]);return qt(f.arcs.map((l)=>l.p1))}function Me(e){let s={},i=Object.keys(e);for(let n of i)s[n]=[];for(let n=0;n<i.length;n++){let r=i[n],o=e[r];for(let a=n+1;a<i.length;++a){let c=i[a],h=e[c],f=st(o,h);if(f+h.radius<=o.radius+0.0000000001)s[c].push(r);else if(f+o.radius<=h.radius+0.0000000001)s[r].push(c)}}return s}function $t(e,s,i){let n={},r=Me(e);for(let o=0;o<s.length;++o){let a=s[o].sets,c={},h={};for(let x=0;x<a.length;++x){c[a[x]]=!0;let S=r[a[x]];for(let k=0;k<S.length;++k)h[S[k]]=!0}let f=[],l=[];for(let x in e)if(x in c)f.push(e[x]);else if(!(x in h))l.push(e[x]);let v=Qt(f,l,i);if(n[a]=v,v.disjoint&&s[o].size>0)console.log("WARNING: area "+a+" not represented on screen")}return n}function Se(e,s,i){let n=[];return n.push(`
|
|
1
|
+
import{t,De,cc,g,A,Y,E,re,F,O,G,z,j,q,H,b,Ae,ue,y}from"./index-xfyxmaj1.js";var le=(e,s)=>cc(e,"a",-s),kt=le;function mt(e,s){let i=fe(e),n=i.filter((c)=>ce(c,e)),r=0,o=0,a=[];if(n.length>1){let c=qt(n);for(let f=0;f<n.length;++f){let l=n[f];l.angle=Math.atan2(l.x-c.x,l.y-c.y)}n.sort((f,l)=>l.angle-f.angle);let h=n[n.length-1];for(let f=0;f<n.length;++f){let l=n[f];o+=(h.x+l.x)*(l.y-h.y);let v={x:(l.x+h.x)/2,y:(l.y+h.y)/2},x=null;for(let M=0;M<l.parentIndex.length;++M)if(h.parentIndex.includes(l.parentIndex[M])){let k=e[l.parentIndex[M]],T=Math.atan2(l.x-k.x,l.y-k.y),N=Math.atan2(h.x-k.x,h.y-k.y),D=N-T;if(D<0)D+=2*Math.PI;let C=N-D/2,p=st(v,{x:k.x+k.radius*Math.sin(C),y:k.y+k.radius*Math.cos(C)});if(p>k.radius*2)p=k.radius*2;if(x==null||x.width>p)x={circle:k,width:p,p1:l,p2:h,large:p>k.radius,sweep:!0}}if(x!=null)a.push(x),r+=St(x.circle.radius,x.width),h=l}}else{let c=e[0];for(let f=1;f<e.length;++f)if(e[f].radius<c.radius)c=e[f];let h=!1;for(let f=0;f<e.length;++f)if(st(e[f],c)>Math.abs(c.radius-e[f].radius)){h=!0;break}if(h)r=o=0;else r=c.radius*c.radius*Math.PI,a.push({circle:c,p1:{x:c.x,y:c.y+c.radius},p2:{x:c.x-0.0000000001,y:c.y+c.radius},width:c.radius*2,large:!0,sweep:!0})}if(o/=2,s)s.area=r+o,s.arcArea=r,s.polygonArea=o,s.arcs=a,s.innerPoints=n,s.intersectionPoints=i;return r+o}function ce(e,s){return s.every((i)=>st(e,i)<i.radius+0.0000000001)}function fe(e){let s=[];for(let i=0;i<e.length;++i)for(let n=i+1;n<e.length;++n){let r=Bt(e[i],e[n]);for(let o of r)o.parentIndex=[i,n],s.push(o)}return s}function St(e,s){return e*e*Math.acos(1-s/e)-(e-s)*Math.sqrt(s*(2*e-s))}function st(e,s){return Math.sqrt((e.x-s.x)*(e.x-s.x)+(e.y-s.y)*(e.y-s.y))}function At(e,s,i){if(i>=e+s)return 0;if(i<=Math.abs(e-s))return Math.PI*Math.min(e,s)*Math.min(e,s);let n=e-(i*i-s*s+e*e)/(2*i),r=s-(i*i-e*e+s*s)/(2*i);return St(e,n)+St(s,r)}function Bt(e,s){let i=st(e,s),n=e.radius,r=s.radius;if(i>=n+r||i<=Math.abs(n-r))return[];let o=(n*n-r*r+i*i)/(2*i),a=Math.sqrt(n*n-o*o),c=e.x+o*(s.x-e.x)/i,h=e.y+o*(s.y-e.y)/i,f=-(s.y-e.y)*(a/i),l=-(s.x-e.x)*(a/i);return[{x:c+f,y:h-l},{x:c-f,y:h+l}]}function qt(e){let s={x:0,y:0};for(let i of e)s.x+=i.x,s.y+=i.y;return s.x/=e.length,s.y/=e.length,s}function he(e,s,i,n){n=n||{};let r=n.maxIterations||100,o=n.tolerance||0.0000000001,a=e(s),c=e(i),h=i-s;if(a*c>0)throw"Initial bisect points must have opposite signs";if(a===0)return s;if(c===0)return i;for(let f=0;f<r;++f){h/=2;let l=s+h,v=e(l);if(v*a>=0)s=l;if(Math.abs(h)<o||v===0)return l}return s+h}function wt(e){let s=Array(e);for(let i=0;i<e;++i)s[i]=0;return s}function Pt(e,s){return wt(e).map(()=>wt(s))}function gt(e,s){let i=0;for(let n=0;n<e.length;++n)i+=e[n]*s[n];return i}function _t(e){return Math.sqrt(gt(e,e))}function Et(e,s,i){for(let n=0;n<s.length;++n)e[n]=s[n]*i}function ft(e,s,i,n,r){for(let o=0;o<e.length;++o)e[o]=s*i[o]+n*r[o]}function Ut(e,s,i){i=i||{};let n=i.maxIterations||s.length*200,r=i.nonZeroDelta||1.05,o=i.zeroDelta||0.001,a=i.minErrorDelta||0.000001,c=i.minErrorDelta||0.00001,h=i.rho!==void 0?i.rho:1,f=i.chi!==void 0?i.chi:2,l=i.psi!==void 0?i.psi:-0.5,v=i.sigma!==void 0?i.sigma:0.5,x,M=s.length,k=Array(M+1);k[0]=s,k[0].fx=e(s),k[0].id=0;for(let S=0;S<M;++S){let u=s.slice();u[S]=u[S]?u[S]*r:o,k[S+1]=u,k[S+1].fx=e(u),k[S+1].id=S+1}function T(S){for(let u=0;u<S.length;u++)k[M][u]=S[u];k[M].fx=S.fx}let N=(S,u)=>S.fx-u.fx,D=s.slice(),C=s.slice(),p=s.slice(),I=s.slice();for(let S=0;S<n;++S){if(k.sort(N),i.history){let m=k.map((d)=>{let V=d.slice();return V.fx=d.fx,V.id=d.id,V});m.sort((d,V)=>d.id-V.id),i.history.push({x:k[0].slice(),fx:k[0].fx,simplex:m})}x=0;for(let m=0;m<M;++m)x=Math.max(x,Math.abs(k[0][m]-k[1][m]));if(Math.abs(k[0].fx-k[M].fx)<a&&x<c)break;for(let m=0;m<M;++m){D[m]=0;for(let d=0;d<M;++d)D[m]+=k[d][m];D[m]/=M}let u=k[M];if(ft(C,1+h,D,-h,u),C.fx=e(C),C.fx<k[0].fx)if(ft(I,1+f,D,-f,u),I.fx=e(I),I.fx<C.fx)T(I);else T(C);else if(C.fx>=k[M-1].fx){let m=!1;if(C.fx>u.fx)if(ft(p,1+l,D,-l,u),p.fx=e(p),p.fx<u.fx)T(p);else m=!0;else if(ft(p,1-l*h,D,l*h,u),p.fx=e(p),p.fx<C.fx)T(p);else m=!0;if(m){if(v>=1)break;for(let d=1;d<k.length;++d)ft(k[d],1-v,k[0],v,k[d]),k[d].fx=e(k[d])}}else T(C)}return k.sort(N),{fx:k[0].fx,x:k[0]}}function de(e,s,i,n,r,o,a){let c=i.fx,h=gt(i.fxprime,s),f=c,l=c,v=h,x=0;r=r||1,o=o||0.000001,a=a||0.1;function M(k,T,N){for(let D=0;D<16;++D)if(r=(k+T)/2,ft(n.x,1,i.x,r,s),f=n.fx=e(n.x,n.fxprime),v=gt(n.fxprime,s),f>c+o*r*h||f>=N)T=r;else{if(Math.abs(v)<=-a*h)return r;if(v*(T-k)>=0)T=k;k=r,N=f}return 0}for(let k=0;k<10;++k){if(ft(n.x,1,i.x,r,s),f=n.fx=e(n.x,n.fxprime),v=gt(n.fxprime,s),f>c+o*r*h||k&&f>=l)return M(x,r,l);if(Math.abs(v)<=-a*h)return r;if(v>=0)return M(r,x,f);l=f,x=r,r*=2}return r}function ge(e,s,i){let n={x:s.slice(),fx:0,fxprime:s.slice()},r={x:s.slice(),fx:0,fxprime:s.slice()},o=s.slice(),a,c,h=1,f;i=i||{},f=i.maxIterations||s.length*20,n.fx=e(n.x,n.fxprime),a=n.fxprime.slice(),Et(a,n.fxprime,-1);for(let l=0;l<f;++l){if(h=de(e,a,n,r,h),i.history)i.history.push({x:n.x.slice(),fx:n.fx,fxprime:n.fxprime.slice(),alpha:h});if(!h)Et(a,n.fxprime,-1);else{ft(o,1,r.fxprime,-1,n.fxprime);let v=gt(n.fxprime,n.fxprime),x=Math.max(0,gt(o,r.fxprime)/v);ft(a,x,a,-1,r.fxprime),c=n,n=r,r=c}if(_t(n.fxprime)<=0.00001)break}if(i.history)i.history.push({x:n.x.slice(),fx:n.fx,fxprime:n.fxprime.slice(),alpha:h});return n}function Gt(e,s={}){s.maxIterations=s.maxIterations||500;let i=s.initialLayout||me,n=s.lossFunction||xt,r=xe(e,s),o=i(r,s),a=Object.keys(o),c=[];for(let l of a)c.push(o[l].x),c.push(o[l].y);let f=Ut((l)=>{let v={};for(let x=0;x<a.length;++x){let M=a[x];v[M]={x:l[2*x],y:l[2*x+1],radius:o[M].radius}}return n(v,r)},c,s).x;for(let l=0;l<a.length;++l){let v=a[l];o[v].x=f[2*l],o[v].y=f[2*l+1]}return o}var Wt=0.0000000001;function Tt(e,s,i){if(Math.min(e,s)*Math.min(e,s)*Math.PI<=i+Wt)return Math.abs(e-s);return he((n)=>At(e,s,n)-i,0,e+s)}function xe(e,s={}){let i=s.distinct,n=e.map((c)=>Object.assign({},c));function r(c){return c.join(";")}if(i){let c=new Map;for(let h of n)for(let f=0;f<h.sets.length;f++){let l=String(h.sets[f]);c.set(l,h.size+(c.get(l)||0));for(let v=f+1;v<h.sets.length;v++){let x=String(h.sets[v]),M=`${l};${x}`,k=`${x};${l}`;c.set(M,h.size+(c.get(M)||0)),c.set(k,h.size+(c.get(k)||0))}}for(let h of n)if(h.sets.length<3)h.size=c.get(r(h.sets))}let o=[],a=new Set;for(let c of n)if(c.sets.length===1)o.push(c.sets[0]);else if(c.sets.length===2){let h=c.sets[0],f=c.sets[1];a.add(r(c.sets)),a.add(r([f,h]))}o.sort((c,h)=>c===h?0:c<h?-1:1);for(let c=0;c<o.length;++c){let h=o[c];for(let f=c+1;f<o.length;++f){let l=o[f];if(!a.has(r([h,l])))n.push({sets:[h,l],size:0})}}return n}function ye(e,s,i){let n=Pt(s.length,s.length),r=Pt(s.length,s.length);return e.filter((o)=>o.sets.length===2).forEach((o)=>{let a=i[o.sets[0]],c=i[o.sets[1]],h=Math.sqrt(s[a].size/Math.PI),f=Math.sqrt(s[c].size/Math.PI),l=Tt(h,f,o.size);n[a][c]=n[c][a]=l;let v=0;if(o.size+0.0000000001>=Math.min(s[a].size,s[c].size))v=1;else if(o.size<=0.0000000001)v=-1;r[a][c]=r[c][a]=v}),{distances:n,constraints:r}}function pe(e,s,i,n){for(let o=0;o<s.length;++o)s[o]=0;let r=0;for(let o=0;o<i.length;++o){let a=e[2*o],c=e[2*o+1];for(let h=o+1;h<i.length;++h){let f=e[2*h],l=e[2*h+1],v=i[o][h],x=n[o][h],M=(f-a)*(f-a)+(l-c)*(l-c),k=Math.sqrt(M),T=M-v*v;if(x>0&&k<=v||x<0&&k>=v)continue;r+=2*T*T,s[2*o]+=4*T*(a-f),s[2*o+1]+=4*T*(c-l),s[2*h]+=4*T*(f-a),s[2*h+1]+=4*T*(l-c)}}return r}function me(e,s={}){let i=ve(e,s),n=s.lossFunction||xt;if(e.length>=8){let r=be(e,s),o=n(r,e),a=n(i,e);if(o+0.00000001<a)i=r}return i}function be(e,s={}){let i=s.restarts||10,n=[],r={};for(let x of e)if(x.sets.length===1)r[x.sets[0]]=n.length,n.push(x);let{distances:o,constraints:a}=ye(e,n,r),c=_t(o.map(_t))/o.length;o=o.map((x)=>x.map((M)=>M/c));let h=(x,M)=>pe(x,M,o,a),f=null;for(let x=0;x<i;++x){let M=wt(o.length*2).map(Math.random),k=ge(h,M,s);if(!f||k.fx<f.fx)f=k}let l=f.x,v={};for(let x=0;x<n.length;++x){let M=n[x];v[M.sets[0]]={x:l[2*x]*c,y:l[2*x+1]*c,radius:Math.sqrt(M.size/Math.PI)}}if(s.history)for(let x of s.history)Et(x.x,c);return v}function ve(e,s){let i=s&&s.lossFunction?s.lossFunction:xt,n={},r={};for(let v of e)if(v.sets.length===1){let x=v.sets[0];n[x]={x:10000000000,y:10000000000,rowid:n.length,size:v.size,radius:Math.sqrt(v.size/Math.PI)},r[x]=[]}e=e.filter((v)=>v.sets.length===2);for(let v of e){let x=v.weight!=null?v.weight:1,M=v.sets[0],k=v.sets[1];if(v.size+Wt>=Math.min(n[M].size,n[k].size))x=0;r[M].push({set:k,size:v.size,weight:x}),r[k].push({set:M,size:v.size,weight:x})}let o=[];Object.keys(r).forEach((v)=>{let x=0;for(let M=0;M<r[v].length;++M)x+=r[v][M].size*r[v][M].weight;o.push({set:v,size:x})});function a(v,x){return x.size-v.size}o.sort(a);let c={};function h(v){return v.set in c}function f(v,x){n[x].x=v.x,n[x].y=v.y,c[x]=!0}f({x:0,y:0},o[0].set);for(let v=1;v<o.length;++v){let x=o[v].set,M=r[x].filter(h),k=n[x];if(M.sort(a),M.length===0)throw"ERROR: missing pairwise overlap information";let T=[];for(var l=0;l<M.length;++l){let C=n[M[l].set],p=Tt(k.radius,C.radius,M[l].size);T.push({x:C.x+p,y:C.y}),T.push({x:C.x-p,y:C.y}),T.push({y:C.y+p,x:C.x}),T.push({y:C.y-p,x:C.x});for(let I=l+1;I<M.length;++I){let S=n[M[I].set],u=Tt(k.radius,S.radius,M[I].size),m=Bt({x:C.x,y:C.y,radius:p},{x:S.x,y:S.y,radius:u});T.push(...m)}}let N=100000000000000000000000000000000000000000000000000,D=T[0];for(let C of T){n[x].x=C.x,n[x].y=C.y;let p=i(n,e);if(p<N)N=p,D=C}f(D,x)}return n}function xt(e,s){let i=0;for(let n of s){if(n.sets.length===1)continue;let r;if(n.sets.length===2){let a=e[n.sets[0]],c=e[n.sets[1]];r=At(a.radius,c.radius,st(a,c))}else r=mt(n.sets.map((a)=>e[a]));let o=n.weight!=null?n.weight:1;i+=o*(r-n.size)*(r-n.size)}return i}function Kt(e,s){let i=0;for(let n of s){if(n.sets.length===1)continue;let r;if(n.sets.length===2){let c=e[n.sets[0]],h=e[n.sets[1]];r=At(c.radius,h.radius,st(c,h))}else r=mt(n.sets.map((c)=>e[c]));let o=n.weight!=null?n.weight:1,a=Math.log((r+1)/(n.size+1));i+=o*a*a}return i}function ke(e,s,i){if(i==null)e.sort((r,o)=>o.radius-r.radius);else e.sort(i);if(e.length>0){let r=e[0].x,o=e[0].y;for(let a of e)a.x-=r,a.y-=o}if(e.length===2){if(st(e[0],e[1])<Math.abs(e[1].radius-e[0].radius))e[1].x=e[0].x+e[0].radius-e[1].radius-0.0000000001,e[1].y=e[0].y}if(e.length>1){let r=Math.atan2(e[1].x,e[1].y)-s,o=Math.cos(r),a=Math.sin(r);for(let c of e){let{x:h,y:f}=c;c.x=o*h-a*f,c.y=a*h+o*f}}if(e.length>2){let r=Math.atan2(e[2].x,e[2].y)-s;while(r<0)r+=2*Math.PI;while(r>2*Math.PI)r-=2*Math.PI;if(r>Math.PI){let o=e[1].y/(0.0000000001+e[1].x);for(let a of e){var n=(a.x+o*a.y)/(1+o*o);a.x=2*n-a.x,a.y=2*n*o-a.y}}}}function Ie(e){e.forEach((r)=>{r.parent=r});function s(r){if(r.parent!==r)r.parent=s(r.parent);return r.parent}function i(r,o){let a=s(r),c=s(o);a.parent=c}for(let r=0;r<e.length;++r)for(let o=r+1;o<e.length;++o){let a=e[r].radius+e[o].radius;if(st(e[r],e[o])+0.0000000001<a)i(e[o],e[r])}let n=new Map;for(let r=0;r<e.length;++r){let o=s(e[r]).parent.setid;if(!n.has(o))n.set(o,[]);n.get(o).push(e[r])}return e.forEach((r)=>{delete r.parent}),Array.from(n.values())}function zt(e){let s=(i)=>{let n=e.reduce((o,a)=>Math.max(o,a[i]+a.radius),Number.NEGATIVE_INFINITY),r=e.reduce((o,a)=>Math.min(o,a[i]-a.radius),Number.POSITIVE_INFINITY);return{max:n,min:r}};return{xRange:s("x"),yRange:s("y")}}function Ht(e,s,i){if(s==null)s=Math.PI/2;let n=Zt(e).map((f)=>Object.assign({},f)),r=Ie(n);for(let f of r){ke(f,s,i);let l=zt(f);f.size=(l.xRange.max-l.xRange.min)*(l.yRange.max-l.yRange.min),f.bounds=l}r.sort((f,l)=>l.size-f.size),n=r[0];let o=n.bounds,a=(o.xRange.max-o.xRange.min)/50;function c(f,l,v){if(!f)return;let x=f.bounds,M,k;if(l)M=o.xRange.max-x.xRange.min+a;else{M=o.xRange.max-x.xRange.max;let T=(x.xRange.max-x.xRange.min)/2-(o.xRange.max-o.xRange.min)/2;if(T<0)M+=T}if(v)k=o.yRange.max-x.yRange.min+a;else{k=o.yRange.max-x.yRange.max;let T=(x.yRange.max-x.yRange.min)/2-(o.yRange.max-o.yRange.min)/2;if(T<0)k+=T}for(let T of f)T.x+=M,T.y+=k,n.push(T)}let h=1;while(h<r.length)c(r[h],!0,!1),c(r[h+1],!1,!0),c(r[h+2],!0,!0),h+=3,o=zt(n);return Xt(n)}function Yt(e,s,i,n,r){let o=Zt(e);s-=2*n,i-=2*n;let{xRange:a,yRange:c}=zt(o);if(a.max===a.min||c.max===c.min)return console.log("not scaling solution: zero size detected"),e;let h,f;if(r){let M=Math.sqrt(r/Math.PI)*2;h=s/M,f=i/M}else h=s/(a.max-a.min),f=i/(c.max-c.min);let l=Math.min(f,h),v=(s-(a.max-a.min)*l)/2,x=(i-(c.max-c.min)*l)/2;return Xt(o.map((M)=>({radius:l*M.radius,x:n+v+(M.x-a.min)*l,y:n+x+(M.y-c.min)*l,setid:M.setid})))}function Xt(e){let s={};for(let i of e)s[i.setid]=i;return s}function Zt(e){return Object.keys(e).map((i)=>Object.assign(e[i],{setid:i}))}function Jt(e={}){let s=!1,i=600,n=350,r=15,o=1000,a=Math.PI/2,c=!0,h=null,f=!0,l=!0,v=null,x=null,M=!1,k=null,T=e&&e.symmetricalTextCentre?e.symmetricalTextCentre:!1,N={},D=e&&e.colourScheme?e.colourScheme:e&&e.colorScheme?e.colorScheme:["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],C=0,p=function(m){if(m in N)return N[m];var d=N[m]=D[C];if(C+=1,C>=D.length)C=0;return d},I=Gt,S=xt;function u(m){let d=m.datum(),V=new Set;d.forEach((w)=>{if(w.size==0&&w.sets.length==1)V.add(w.sets[0])}),d=d.filter((w)=>!w.sets.some((K)=>V.has(K)));let _={},B={};if(d.length>0){let w=I(d,{lossFunction:S,distinct:M});if(c)w=Ht(w,a,x);_=Yt(w,i,n,r,h),B=$t(_,d,T)}let it={};d.forEach((w)=>{if(w.label)it[w.sets]=w.label});function Q(w){if(w.sets in it)return it[w.sets];if(w.sets.length==1)return""+w.sets[0]}m.selectAll("svg").data([_]).enter().append("svg");let W=m.select("svg");if(s)W.attr("viewBox",`0 0 ${i} ${n}`);else W.attr("width",i).attr("height",n);let P={},U=!1;W.selectAll(".venn-area path").each(function(w){let K=this.getAttribute("d");if(w.sets.length==1&&K&&!M)U=!0,P[w.sets[0]]=we(K)});function R(w){return(K)=>{let dt=w.sets.map((ut)=>{let ct=P[ut],nt=_[ut];if(!ct)ct={x:i/2,y:n/2,radius:1};if(!nt)nt={x:i/2,y:n/2,radius:1};return{x:ct.x*(1-K)+nt.x*K,y:ct.y*(1-K)+nt.y*K,radius:ct.radius*(1-K)+nt.radius*K}});return Vt(dt,k)}}let X=W.selectAll(".venn-area").data(d,(w)=>w.sets),tt=X.enter().append("g").attr("class",(w)=>`venn-area venn-${w.sets.length==1?"circle":"intersection"}${w.colour||w.color?" venn-coloured":""}`).attr("data-venn-sets",(w)=>w.sets.join("_")),Z=tt.append("path"),rt=tt.append("text").attr("class","label").text((w)=>Q(w)).attr("text-anchor","middle").attr("dy",".35em").attr("x",i/2).attr("y",n/2);if(l)Z.style("fill-opacity","0").filter((w)=>w.sets.length==1).style("fill",(w)=>w.colour?w.colour:w.color?w.color:p(w.sets)).style("fill-opacity",".25"),rt.style("fill",(w)=>{if(w.colour||w.color)return"#FFF";if(e.textFill)return e.textFill;return w.sets.length==1?p(w.sets):"#444"});function et(w){if(typeof w.transition==="function")return w.transition("venn").duration(o);return w}let J=m;if(U&&typeof J.transition==="function")J=et(m),J.selectAll("path").attrTween("d",R);else J.selectAll("path").attr("d",(w)=>Vt(w.sets.map((K)=>_[K])),k);let L=J.selectAll("text").filter((w)=>(w.sets in B)).text((w)=>Q(w)).attr("x",(w)=>Math.floor(B[w.sets].x)).attr("y",(w)=>Math.floor(B[w.sets].y));if(f)if(U)if("on"in L)L.on("end",It(_,Q));else L.each("end",It(_,Q));else L.each(It(_,Q));let lt=et(X.exit()).remove();if(typeof X.transition==="function")lt.selectAll("path").attrTween("d",R);let at=lt.selectAll("text").attr("x",i/2).attr("y",n/2);if(v!==null)rt.style("font-size","0px"),L.style("font-size",v),at.style("font-size","0px");return{circles:_,textCentres:B,nodes:X,enter:tt,update:J,exit:lt}}return u.wrap=function(m){if(!arguments.length)return f;return f=m,u},u.useViewBox=function(){return s=!0,u},u.width=function(m){if(!arguments.length)return i;return i=m,u},u.height=function(m){if(!arguments.length)return n;return n=m,u},u.padding=function(m){if(!arguments.length)return r;return r=m,u},u.distinct=function(m){if(!arguments.length)return M;return M=m,u},u.colours=function(m){if(!arguments.length)return p;return p=m,u},u.colors=function(m){if(!arguments.length)return p;return p=m,u},u.fontSize=function(m){if(!arguments.length)return v;return v=m,u},u.round=function(m){if(!arguments.length)return k;return k=m,u},u.duration=function(m){if(!arguments.length)return o;return o=m,u},u.layoutFunction=function(m){if(!arguments.length)return I;return I=m,u},u.normalize=function(m){if(!arguments.length)return c;return c=m,u},u.scaleToFit=function(m){if(!arguments.length)return h;return h=m,u},u.styled=function(m){if(!arguments.length)return l;return l=m,u},u.orientation=function(m){if(!arguments.length)return a;return a=m,u},u.orientationOrder=function(m){if(!arguments.length)return x;return x=m,u},u.lossFunction=function(m){if(!arguments.length)return S;return S=m==="default"?xt:m==="logRatio"?Kt:m,u},u}function It(e,s){return function(i){let n=this,r=e[i.sets[0]].radius||50,o=s(i)||"",a=o.split(/\s+/).reverse(),c=3,h=(o.length+a.length)/3,f=a.pop(),l=[f],v=0,x=1.1;n.textContent=null;let M=[];function k(p){let I=n.ownerDocument.createElementNS(n.namespaceURI,"tspan");return I.textContent=p,M.push(I),n.append(I),I}let T=k(f);while(!0){if(f=a.pop(),!f)break;l.push(f);let p=l.join(" ");if(T.textContent=p,p.length>h&&T.getComputedTextLength()>r)l.pop(),T.textContent=l.join(" "),l=[f],T=k(f),v++}let N=0.35-v*x/2,D=n.getAttribute("x"),C=n.getAttribute("y");M.forEach((p,I)=>{p.setAttribute("x",D),p.setAttribute("y",C),p.setAttribute("dy",`${N+I*x}em`)})}}function Mt(e,s,i){let n=s[0].radius-st(s[0],e);for(let r=1;r<s.length;++r){let o=s[r].radius-st(s[r],e);if(o<=n)n=o}for(let r=0;r<i.length;++r){let o=st(i[r],e)-i[r].radius;if(o<=n)n=o}return n}function Qt(e,s,i){let n=[];for(let l of e)n.push({x:l.x,y:l.y}),n.push({x:l.x+l.radius/2,y:l.y}),n.push({x:l.x-l.radius/2,y:l.y}),n.push({x:l.x,y:l.y+l.radius/2}),n.push({x:l.x,y:l.y-l.radius/2});let r=n[0],o=Mt(n[0],e,s);for(let l=1;l<n.length;++l){let v=Mt(n[l],e,s);if(v>=o)r=n[l],o=v}let a=Ut((l)=>-1*Mt({x:l[0],y:l[1]},e,s),[r.x,r.y],{maxIterations:500,minErrorDelta:0.0000000001}).x,c={x:i?0:a[0],y:a[1]},h=!0;for(let l of e)if(st(c,l)>l.radius){h=!1;break}for(let l of s)if(st(c,l)<l.radius){h=!1;break}if(h)return c;if(e.length==1)return{x:e[0].x,y:e[0].y};let f={};if(mt(e,f),f.arcs.length===0)return{x:0,y:-1000,disjoint:!0};if(f.arcs.length==1)return{x:f.arcs[0].circle.x,y:f.arcs[0].circle.y};if(s.length)return Qt(e,[]);return qt(f.arcs.map((l)=>l.p1))}function Me(e){let s={},i=Object.keys(e);for(let n of i)s[n]=[];for(let n=0;n<i.length;n++){let r=i[n],o=e[r];for(let a=n+1;a<i.length;++a){let c=i[a],h=e[c],f=st(o,h);if(f+h.radius<=o.radius+0.0000000001)s[c].push(r);else if(f+o.radius<=h.radius+0.0000000001)s[r].push(c)}}return s}function $t(e,s,i){let n={},r=Me(e);for(let o=0;o<s.length;++o){let a=s[o].sets,c={},h={};for(let x=0;x<a.length;++x){c[a[x]]=!0;let M=r[a[x]];for(let k=0;k<M.length;++k)h[M[k]]=!0}let f=[],l=[];for(let x in e)if(x in c)f.push(e[x]);else if(!(x in h))l.push(e[x]);let v=Qt(f,l,i);if(n[a]=v,v.disjoint&&s[o].size>0)console.log("WARNING: area "+a+" not represented on screen")}return n}function Se(e,s,i){let n=[];return n.push(`
|
|
2
2
|
M`,e,s),n.push(`
|
|
3
3
|
m`,-i,0),n.push(`
|
|
4
4
|
a`,i,i,0,1,0,i*2,0),n.push(`
|
|
5
5
|
a`,i,i,0,1,0,-i*2,0),n.join(" ")}function we(e){let s=e.split(" ");return{x:Number.parseFloat(s[1]),y:Number.parseFloat(s[2]),radius:-Number.parseFloat(s[4])}}function te(e){if(e.length===0)return[];let s={};return mt(e,s),s.arcs}function ee(e,s){if(e.length===0)return"M 0 0";let i=Math.pow(10,s||0),n=s!=null?(o)=>Math.round(o*i)/i:(o)=>o;if(e.length==1){let o=e[0].circle;return Se(n(o.x),n(o.y),n(o.radius))}let r=[`
|
|
6
6
|
M`,n(e[0].p2.x),n(e[0].p2.y)];for(let o of e){let a=n(o.circle.radius);r.push(`
|
|
7
|
-
A`,a,a,0,o.large?1:0,o.sweep?1:0,n(o.p1.x),n(o.p1.y))}return r.join(" ")}function Vt(e,s){return ee(te(e),s)}function ne(e,s={}){let{lossFunction:i,layoutFunction:n=Gt,normalize:r=!0,orientation:o=Math.PI/2,orientationOrder:a,width:c=600,height:h=350,padding:f=15,scaleToFit:l=!1,symmetricalTextCentre:v=!1,distinct:x,round:
|
|
8
|
-
`+
|
|
9
|
-
Expecting `+pt.join(", ")+", got '"+(this.terminals_[
|
|
7
|
+
A`,a,a,0,o.large?1:0,o.sweep?1:0,n(o.p1.x),n(o.p1.y))}return r.join(" ")}function Vt(e,s){return ee(te(e),s)}function ne(e,s={}){let{lossFunction:i,layoutFunction:n=Gt,normalize:r=!0,orientation:o=Math.PI/2,orientationOrder:a,width:c=600,height:h=350,padding:f=15,scaleToFit:l=!1,symmetricalTextCentre:v=!1,distinct:x,round:M=2}=s,k=n(e,{lossFunction:i==="default"||!i?xt:i==="logRatio"?Kt:i,distinct:x});if(r)k=Ht(k,o,a);let T=Yt(k,c,h,f,l),N=$t(T,e,v),D=new Map(Object.keys(T).map((I)=>[I,{set:I,x:T[I].x,y:T[I].y,radius:T[I].radius}])),C=e.map((I)=>{let S=I.sets.map((d)=>D.get(d)),u=te(S),m=ee(u,M);return{circles:S,arcs:u,path:m,area:I,has:new Set(I.sets)}});function p(I){let S="";for(let u of C)if(u.has.size>I.length&&I.every((m)=>u.has.has(m)))S+=" "+u.path;return S}return C.map(({circles:I,arcs:S,path:u,area:m})=>({data:m,text:N[m.sets],circles:I,arcs:S,path:u,distinctPath:u+p(m.sets)}))}var Ct=function(){var e=t(function(C,p,I,S){for(I=I||{},S=C.length;S--;I[C[S]]=p);return I},"o"),s=[5,8],i=[7,8,11,12,17,19,22,24],n=[1,17],r=[1,18],o=[7,8,11,12,14,15,16,17,19,20,21,22,24,27],a=[1,31],c=[1,39],h=[7,8,11,12,17,19,22,24,27],f=[1,57],l=[1,56],v=[1,58],x=[1,59],M=[1,60],k=[7,8,11,12,16,17,19,20,22,24,27,31,32,33],T={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,optNewlines:4,VENN:5,document:6,EOF:7,NEWLINE:8,line:9,statement:10,TITLE:11,SET:12,identifier:13,BRACKET_LABEL:14,COLON:15,NUMERIC:16,UNION:17,identifierList:18,TEXT:19,IDENTIFIER:20,STRING:21,INDENT_TEXT:22,indentedTextTail:23,STYLE:24,stylesOpt:25,styleField:26,COMMA:27,styleValue:28,valueTokens:29,valueToken:30,HEXCOLOR:31,RGBCOLOR:32,RGBACOLOR:33,$accept:0,$end:1},terminals_:{2:"error",5:"VENN",7:"EOF",8:"NEWLINE",11:"TITLE",12:"SET",14:"BRACKET_LABEL",15:"COLON",16:"NUMERIC",17:"UNION",19:"TEXT",20:"IDENTIFIER",21:"STRING",22:"INDENT_TEXT",24:"STYLE",27:"COMMA",31:"HEXCOLOR",32:"RGBCOLOR",33:"RGBACOLOR"},productions_:[0,[3,4],[4,0],[4,2],[6,0],[6,2],[9,1],[9,1],[10,1],[10,2],[10,3],[10,4],[10,5],[10,2],[10,3],[10,4],[10,5],[10,3],[10,3],[10,3],[10,4],[10,4],[10,2],[10,3],[23,1],[23,1],[23,1],[23,2],[23,2],[25,1],[25,3],[26,3],[28,1],[28,1],[29,1],[29,2],[30,1],[30,1],[30,1],[30,1],[30,1],[18,1],[18,3],[13,1],[13,1]],performAction:t(function(p,I,S,u,m,d,V){var _=d.length-1;switch(m){case 1:return d[_-1];case 2:case 3:case 4:this.$=[];break;case 5:d[_-1].push(d[_]),this.$=d[_-1];break;case 6:this.$=[];break;case 7:case 22:case 32:case 36:case 37:case 38:case 39:case 40:this.$=d[_];break;case 8:u.setDiagramTitle(d[_].substr(6)),this.$=d[_].substr(6);break;case 9:if(u.addSubsetData([d[_]],void 0,void 0),u.setIndentMode)u.setIndentMode(!0);break;case 10:if(u.addSubsetData([d[_-1]],d[_],void 0),u.setIndentMode)u.setIndentMode(!0);break;case 11:if(u.addSubsetData([d[_-2]],void 0,parseFloat(d[_])),u.setIndentMode)u.setIndentMode(!0);break;case 12:if(u.addSubsetData([d[_-3]],d[_-2],parseFloat(d[_])),u.setIndentMode)u.setIndentMode(!0);break;case 13:if(d[_].length<2)throw Error("union requires multiple identifiers");if(u.validateUnionIdentifiers)u.validateUnionIdentifiers(d[_]);if(u.addSubsetData(d[_],void 0,void 0),u.setIndentMode)u.setIndentMode(!0);break;case 14:if(d[_-1].length<2)throw Error("union requires multiple identifiers");if(u.validateUnionIdentifiers)u.validateUnionIdentifiers(d[_-1]);if(u.addSubsetData(d[_-1],d[_],void 0),u.setIndentMode)u.setIndentMode(!0);break;case 15:if(d[_-2].length<2)throw Error("union requires multiple identifiers");if(u.validateUnionIdentifiers)u.validateUnionIdentifiers(d[_-2]);if(u.addSubsetData(d[_-2],void 0,parseFloat(d[_])),u.setIndentMode)u.setIndentMode(!0);break;case 16:if(d[_-3].length<2)throw Error("union requires multiple identifiers");if(u.validateUnionIdentifiers)u.validateUnionIdentifiers(d[_-3]);if(u.addSubsetData(d[_-3],d[_-2],parseFloat(d[_])),u.setIndentMode)u.setIndentMode(!0);break;case 17:case 18:case 19:u.addTextData(d[_-1],d[_],void 0);break;case 20:case 21:u.addTextData(d[_-2],d[_-1],d[_]);break;case 23:u.addStyleData(d[_-1],d[_]);break;case 24:case 25:case 26:var B=u.getCurrentSets();if(!B)throw Error("text requires set");u.addTextData(B,d[_],void 0);break;case 27:case 28:var B=u.getCurrentSets();if(!B)throw Error("text requires set");u.addTextData(B,d[_-1],d[_]);break;case 29:case 41:this.$=[d[_]];break;case 30:case 42:this.$=[...d[_-2],d[_]];break;case 31:this.$=[d[_-2],d[_]];break;case 33:this.$=d[_].join(" ");break;case 34:this.$=[d[_]];break;case 35:d[_-1].push(d[_]),this.$=d[_-1];break;case 43:case 44:this.$=d[_];break}},"anonymous"),table:[e(s,[2,2],{3:1,4:2}),{1:[3]},{5:[1,3],8:[1,4]},e(i,[2,4],{6:5}),e(s,[2,3]),{7:[1,6],8:[1,8],9:7,10:9,11:[1,10],12:[1,11],17:[1,12],19:[1,13],22:[1,14],24:[1,15]},{1:[2,1]},e(i,[2,5]),e(i,[2,6]),e(i,[2,7]),e(i,[2,8]),{13:16,20:n,21:r},{13:20,18:19,20:n,21:r},{13:20,18:21,20:n,21:r},{16:[1,25],20:[1,23],21:[1,24],23:22},{13:20,18:26,20:n,21:r},e(i,[2,9],{14:[1,27],15:[1,28]}),e(o,[2,43]),e(o,[2,44]),e(i,[2,13],{14:[1,29],15:[1,30],27:a}),e(o,[2,41]),{16:[1,34],20:[1,32],21:[1,33],27:a},e(i,[2,22]),e(i,[2,24],{14:[1,35]}),e(i,[2,25],{14:[1,36]}),e(i,[2,26]),{20:c,25:37,26:38,27:a},e(i,[2,10],{15:[1,40]}),{16:[1,41]},e(i,[2,14],{15:[1,42]}),{16:[1,43]},{13:44,20:n,21:r},e(i,[2,17],{14:[1,45]}),e(i,[2,18],{14:[1,46]}),e(i,[2,19]),e(i,[2,27]),e(i,[2,28]),e(i,[2,23],{27:[1,47]}),e(h,[2,29]),{15:[1,48]},{16:[1,49]},e(i,[2,11]),{16:[1,50]},e(i,[2,15]),e(o,[2,42]),e(i,[2,20]),e(i,[2,21]),{20:c,26:51},{16:f,20:l,21:[1,53],28:52,29:54,30:55,31:v,32:x,33:M},e(i,[2,12]),e(i,[2,16]),e(h,[2,30]),e(h,[2,31]),e(h,[2,32]),e(h,[2,33],{30:61,16:f,20:l,31:v,32:x,33:M}),e(k,[2,34]),e(k,[2,36]),e(k,[2,37]),e(k,[2,38]),e(k,[2,39]),e(k,[2,40]),e(k,[2,35])],defaultActions:{6:[2,1]},parseError:t(function(p,I){if(I.recoverable)this.trace(p);else{var S=Error(p);throw S.hash=I,S}},"parseError"),parse:t(function(p){var I=this,S=[0],u=[],m=[null],d=[],V=this.table,_="",B=0,it=0,Q=0,W=2,P=1,U=d.slice.call(arguments,1),R=Object.create(this.lexer),X={yy:{}};for(var tt in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,tt))X.yy[tt]=this.yy[tt];if(R.setInput(p,X.yy),X.yy.lexer=R,X.yy.parser=this,typeof R.yylloc>"u")R.yylloc={};var Z=R.yylloc;d.push(Z);var rt=R.options&&R.options.ranges;if(typeof X.yy.parseError==="function")this.parseError=X.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function et(ot){S.length=S.length-2*ot,m.length=m.length-ot,d.length=d.length-ot}t(et,"popStack");function J(){var ot=u.pop()||R.lex()||P;if(typeof ot!=="number"){if(ot instanceof Array)u=ot,ot=u.pop();ot=I.symbols_[ot]||ot}return ot}t(J,"lex");var L,lt,at,w,K,dt,ut={},ct,nt,Ft,pt;while(!0){if(at=S[S.length-1],this.defaultActions[at])w=this.defaultActions[at];else{if(L===null||typeof L>"u")L=J();w=V[at]&&V[at][L]}if(typeof w>"u"||!w.length||!w[0]){var vt="";pt=[];for(ct in V[at])if(this.terminals_[ct]&&ct>W)pt.push("'"+this.terminals_[ct]+"'");if(R.showPosition)vt="Parse error on line "+(B+1)+`:
|
|
8
|
+
`+R.showPosition()+`
|
|
9
|
+
Expecting `+pt.join(", ")+", got '"+(this.terminals_[L]||L)+"'";else vt="Parse error on line "+(B+1)+": Unexpected "+(L==P?"end of input":"'"+(this.terminals_[L]||L)+"'");this.parseError(vt,{text:R.match,token:this.terminals_[L]||L,line:R.yylineno,loc:Z,expected:pt})}if(w[0]instanceof Array&&w.length>1)throw Error("Parse Error: multiple actions possible at state: "+at+", token: "+L);switch(w[0]){case 1:if(S.push(L),m.push(R.yytext),d.push(R.yylloc),S.push(w[1]),L=null,!lt){if(it=R.yyleng,_=R.yytext,B=R.yylineno,Z=R.yylloc,Q>0)Q--}else L=lt,lt=null;break;case 2:if(nt=this.productions_[w[1]][1],ut.$=m[m.length-nt],ut._$={first_line:d[d.length-(nt||1)].first_line,last_line:d[d.length-1].last_line,first_column:d[d.length-(nt||1)].first_column,last_column:d[d.length-1].last_column},rt)ut._$.range=[d[d.length-(nt||1)].range[0],d[d.length-1].range[1]];if(dt=this.performAction.apply(ut,[_,it,B,X.yy,w[1],m,d].concat(U)),typeof dt<"u")return dt;if(nt)S=S.slice(0,-1*nt*2),m=m.slice(0,-1*nt),d=d.slice(0,-1*nt);S.push(this.productions_[w[1]][0]),m.push(ut.$),d.push(ut._$),Ft=V[S[S.length-2]][S[S.length-1]],S.push(Ft);break;case 3:return!0}}return!0},"parse")},N=function(){var C={EOF:1,parseError:t(function(I,S){if(this.yy.parser)this.yy.parser.parseError(I,S);else throw Error(I)},"parseError"),setInput:t(function(p,I){if(this.yy=I||this.yy||{},this._input=p,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];return this.offset=0,this},"setInput"),input:t(function(){var p=this._input[0];this.yytext+=p,this.yyleng++,this.offset++,this.match+=p,this.matched+=p;var I=p.match(/(?:\r\n?|\n).*/g);if(I)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),p},"input"),unput:t(function(p){var I=p.length,S=p.split(/(?:\r\n?|\n)/g);this._input=p+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-I),this.offset-=I;var u=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),S.length-1)this.yylineno-=S.length-1;var m=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:S?(S.length===u.length?this.yylloc.first_column:0)+u[u.length-S.length].length-S[0].length:this.yylloc.first_column-I},this.options.ranges)this.yylloc.range=[m[0],m[0]+this.yyleng-I];return this.yyleng=this.yytext.length,this},"unput"),more:t(function(){return this._more=!0,this},"more"),reject:t(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).
|
|
10
10
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(p){this.unput(this.match.slice(p))},"less"),pastInput:t(function(){var p=this.matched.substr(0,this.matched.length-this.match.length);return(p.length>20?"...":"")+p.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var p=this.match;if(p.length<20)p+=this._input.substr(0,20-p.length);return(p.substr(0,20)+(p.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var p=this.pastInput(),I=Array(p.length+1).join("-");return p+this.upcomingInput()+`
|
|
11
|
-
`+I+"^"},"showPosition"),test_match:t(function(p,I){var
|
|
12
|
-
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var I=this.next();if(I)return I;else return this.lex()},"lex"),begin:t(function(I){this.conditionStack.push(I)},"begin"),popState:t(function(){var I=this.conditionStack.length-1;if(I>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:t(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:t(function(I){if(I=this.conditionStack.length-1-Math.abs(I||0),I>=0)return this.conditionStack[I];else return"INITIAL"},"topState"),pushState:t(function(I){this.begin(I)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(I,
|
|
11
|
+
`+I+"^"},"showPosition"),test_match:t(function(p,I){var S,u,m;if(this.options.backtrack_lexer){if(m={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)m.yylloc.range=this.yylloc.range.slice(0)}if(u=p[0].match(/(?:\r\n?|\n).*/g),u)this.yylineno+=u.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+p[0].length},this.yytext+=p[0],this.match+=p[0],this.matches=p,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(p[0].length),this.matched+=p[0],S=this.performAction.call(this,this.yy,this,I,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(S)return S;else if(this._backtrack){for(var d in m)this[d]=m[d];return!1}return!1},"test_match"),next:t(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var p,I,S,u;if(!this._more)this.yytext="",this.match="";var m=this._currentRules();for(var d=0;d<m.length;d++)if(S=this._input.match(this.rules[m[d]]),S&&(!I||S[0].length>I[0].length)){if(I=S,u=d,this.options.backtrack_lexer)if(p=this.test_match(S,m[d]),p!==!1)return p;else if(this._backtrack){I=!1;continue}else return!1;else if(!this.options.flex)break}if(I){if(p=this.test_match(I,m[u]),p!==!1)return p;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
12
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:t(function(){var I=this.next();if(I)return I;else return this.lex()},"lex"),begin:t(function(I){this.conditionStack.push(I)},"begin"),popState:t(function(){var I=this.conditionStack.length-1;if(I>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:t(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:t(function(I){if(I=this.conditionStack.length-1-Math.abs(I||0),I>=0)return this.conditionStack[I];else return"INITIAL"},"topState"),pushState:t(function(I){this.begin(I)},"pushState"),stateStackSize:t(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:t(function(I,S,u,m){var d=m;switch(u){case 0:break;case 1:break;case 2:break;case 3:if(I.getIndentMode&&I.getIndentMode())return I.consumeIndentText=!0,this.begin("INITIAL"),22;break;case 4:break;case 5:if(I.setIndentMode)I.setIndentMode(!1);this.begin("INITIAL"),this.unput(S.yytext);break;case 6:return this.begin("bol"),8;break;case 7:break;case 8:break;case 9:return 7;case 10:return 11;case 11:return 5;case 12:return 12;case 13:return 17;case 14:if(I.consumeIndentText)I.consumeIndentText=!1;else return 19;break;case 15:return 24;case 16:return S.yytext=S.yytext.slice(2,-2),14;break;case 17:return S.yytext=S.yytext.slice(1,-1).trim(),14;break;case 18:return 16;case 19:return 31;case 20:return 33;case 21:return 32;case 22:return 20;case 23:return 21;case 24:return 27;case 25:return 15}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[ \t]+(?=[\n\r]))/i,/^(?:[ \t]+(?=text\b))/i,/^(?:[ \t]+)/i,/^(?:[^ \t\n\r])/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:[ \t]+)/i,/^(?:$)/i,/^(?:title\s[^#\n;]+)/i,/^(?:venn-beta\b)/i,/^(?:set\b)/i,/^(?:union\b)/i,/^(?:text\b)/i,/^(?:style\b)/i,/^(?:\["[^\"]*"\])/i,/^(?:\[[^\]\"]+\])/i,/^(?:[+-]?(\d+(\.\d+)?|\.\d+))/i,/^(?:#[0-9a-fA-F]{3,8})/i,/^(?:rgba\(\s*[0-9.]+\s*[,]\s*[0-9.]+\s*[,]\s*[0-9.]+\s*[,]\s*[0-9.]+\s*\))/i,/^(?:rgb\(\s*[0-9.]+\s*[,]\s*[0-9.]+\s*[,]\s*[0-9.]+\s*\))/i,/^(?:[A-Za-z_][A-Za-z0-9\-_]*)/i,/^(?:"[^\"]*")/i,/^(?:,)/i,/^(?::)/i],conditions:{bol:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],inclusive:!0},INITIAL:{rules:[0,1,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],inclusive:!0}}};return C}();T.lexer=N;function D(){this.yy={}}return t(D,"Parser"),D.prototype=T,T.Parser=D,new D}();Ct.parser=Ct;var Ee=Ct,Dt=[],Rt=[],Nt=[],Ot=new Set,Lt,jt=!1,Te=t((e,s,i)=>{let n=bt(e).sort(),r=i??10/Math.pow(e.length,2);if(Lt=n,n.length===1)Ot.add(n[0]);Dt.push({sets:n,size:r,label:s?yt(s):void 0})},"addSubsetData"),ze=t(()=>Dt,"getSubsetData"),yt=t((e)=>{let s=e.trim();if(s.length>=2&&s.startsWith('"')&&s.endsWith('"'))return s.slice(1,-1);return s},"normalizeText"),Ce=t((e)=>e?yt(e):e,"normalizeStyleValue"),Re=t((e,s,i)=>{let n=yt(s);Rt.push({sets:bt(e).sort(),id:n,label:i?yt(i):void 0})},"addTextData"),Ne=t((e,s)=>{let i=bt(e).sort(),n={};for(let[r,o]of s)n[r]=Ce(o)??o;Nt.push({targets:i,styles:n})},"addStyleData"),Oe=t(()=>Nt,"getStyleData"),bt=t((e)=>e.map((s)=>yt(s)),"normalizeIdentifierList"),Le=t((e)=>{let i=bt(e).filter((n)=>!Ot.has(n));if(i.length>0)throw Error(`unknown set identifier: ${i.join(", ")}`)},"validateUnionIdentifiers"),je=t(()=>Rt,"getTextData"),Fe=t(()=>Lt,"getCurrentSets"),Pe=t(()=>jt,"getIndentMode"),Ve=t((e)=>{jt=e},"setIndentMode"),Be=Y.venn;function se(){return ue(Be,E().venn)}t(se,"getConfig");var qe=t(()=>{F(),Dt.length=0,Rt.length=0,Nt.length=0,Ot.clear(),Lt=void 0,jt=!1},"customClear"),Ue={getConfig:se,clear:qe,setAccTitle:O,getAccTitle:G,setDiagramTitle:q,getDiagramTitle:H,getAccDescription:j,setAccDescription:z,addSubsetData:Te,getSubsetData:ze,addTextData:Re,addStyleData:Ne,validateUnionIdentifiers:Le,getTextData:je,getStyleData:Oe,getCurrentSets:Fe,getIndentMode:Pe,setIndentMode:Ve},Ge=t((e)=>`
|
|
13
13
|
.venn-title {
|
|
14
14
|
font-size: 32px;
|
|
15
15
|
fill: ${e.vennTitleTextColor};
|
|
@@ -31,4 +31,4 @@ Expecting `+pt.join(", ")+", got '"+(this.terminals_[F]||F)+"'";else vt="Parse e
|
|
|
31
31
|
font-family: ${e.fontFamily};
|
|
32
32
|
color: ${e.vennSetTextColor};
|
|
33
33
|
}
|
|
34
|
-
`,"getStyles"),We=Ge;function ie(e){let s=new Map;for(let i of e){let n=i.targets.join("|"),r=s.get(n);if(r)Object.assign(r,i.styles);else s.set(n,{...i.styles})}return s}t(ie,"buildStyleByKey");var Ke=t((e,s,i,n)=>{let r=n.db,o=r.getConfig?.(),{themeVariables:a,look:c,handDrawnSeed:h}=
|
|
34
|
+
`,"getStyles"),We=Ge;function ie(e){let s=new Map;for(let i of e){let n=i.targets.join("|"),r=s.get(n);if(r)Object.assign(r,i.styles);else s.set(n,{...i.styles})}return s}t(ie,"buildStyleByKey");var Ke=t((e,s,i,n)=>{let r=n.db,o=r.getConfig?.(),{themeVariables:a,look:c,handDrawnSeed:h}=E(),f=c==="handDrawn",l=[a.venn1,a.venn2,a.venn3,a.venn4,a.venn5,a.venn6,a.venn7,a.venn8].filter(Boolean),v=r.getDiagramTitle?.(),x=r.getSubsetData(),M=r.getTextData(),k=ie(r.getStyleData()),T=ae(x),N=o?.width??800,D=o?.height??450,C=1600,p=N/1600,I=v?48*p:0,S=a.primaryTextColor??a.textColor,u=Ae(s);if(u.attr("viewBox",`0 0 ${N} ${D}`),v)u.append("text").text(v).attr("class","venn-title").attr("font-size",`${32*p}px`).attr("text-anchor","middle").attr("dominant-baseline","middle").attr("x","50%").attr("y",32*p).style("fill",a.vennTitleTextColor||a.titleColor);let m=b(document.createElement("div")),d=Jt().width(N).height(D-I);m.datum(T).call(d);let V=f?y.svg(m.select("svg").node()):void 0,_=ne(T,{width:N,height:D-I,padding:o?.padding??15}),B=new Map;for(let P of _){let U=ht([...P.data.sets].sort());B.set(U,P)}if(M.length>0)oe(o,B,m,M,p,k);let it=De(a.background||"#f4f4f4");if(m.selectAll(".venn-circle").each(function(P,U){let R=b(this),tt=ht([...P.sets].sort()),Z=k.get(tt),rt=l.length>0?l[U%l.length]:void 0,et=Z?.fill||rt||a.primaryColor;R.classed(`venn-set-${U%8}`,!0);let J=Z?.["fill-opacity"]??0.1,L=Z?.stroke||et,lt=Z?.["stroke-width"]||`${5*p}`;if(f&&V){let w=B.get(tt);if(w&&w.circles.length>0){let K=w.circles[0],dt=V.circle(K.x,K.y,K.radius*2,{roughness:0.7,seed:h,fill:kt(et,0.7),fillStyle:"hachure",fillWeight:2,hachureGap:8,hachureAngle:-41+U*60,stroke:L,strokeWidth:parseFloat(String(lt))});R.select("path").remove(),R.node()?.insertBefore(dt,R.select("text").node())}}else R.select("path").style("fill",et).style("fill-opacity",J).style("stroke",L).style("stroke-width",lt).style("stroke-opacity",0.95);let at=Z?.color||(it?g(et,30):A(et,30));R.select("text").style("font-size",`${48*p}px`).style("fill",at)}),f&&V)m.selectAll(".venn-intersection").each(function(P){let U=b(this),X=ht([...P.sets].sort()),tt=k.get(X),Z=tt?.fill;if(Z){let rt=U.select("path"),et=rt.attr("d");if(et){let J=V.path(et,{roughness:0.7,seed:h,fill:kt(Z,0.3),fillStyle:"cross-hatch",fillWeight:2,hachureGap:6,hachureAngle:60,stroke:"none"}),L=rt.node();L?.parentNode?.insertBefore(J,L),rt.remove()}}else U.select("path").style("fill-opacity",0);U.select("text").style("font-size",`${48*p}px`).style("fill",tt?.color??a.vennSetTextColor??S)});else m.selectAll(".venn-intersection text").style("font-size",`${48*p}px`).style("fill",(P)=>{let R=ht([...P.sets].sort());return k.get(R)?.color??a.vennSetTextColor??S}),m.selectAll(".venn-intersection path").style("fill-opacity",(P)=>{let R=ht([...P.sets].sort());return k.get(R)?.fill?1:0}).style("fill",(P)=>{let R=ht([...P.sets].sort());return k.get(R)?.fill??"transparent"});let Q=u.append("g").attr("transform",`translate(0, ${I})`),W=m.select("svg").node();if(W&&"childNodes"in W)for(let P of[...W.childNodes])Q.node()?.appendChild(P);re(u,D,N,o?.useMaxWidth??!0)},"draw");function ht(e){return e.join("|")}t(ht,"stableSetsKey");function oe(e,s,i,n,r,o){let a=e?.useDebugLayout??!1,h=i.select("svg").append("g").attr("class","venn-text-nodes"),f=new Map;for(let l of n){let v=ht(l.sets),x=f.get(v);if(x)x.push(l);else f.set(v,[l])}for(let[l,v]of f.entries()){let x=s.get(l);if(!x?.text)continue;let M=x.text.x,k=x.text.y,T=Math.min(...x.circles.map((W)=>W.radius)),N=Math.min(...x.circles.map((W)=>W.radius-Math.hypot(M-W.x,k-W.y))),D=Number.isFinite(N)?Math.max(0,N):0;if(D===0&&Number.isFinite(T))D=T*0.6;let C=h.append("g").attr("class","venn-text-area").attr("font-size",`${40*r}px`);if(a)C.append("circle").attr("class","venn-text-debug-circle").attr("cx",M).attr("cy",k).attr("r",D).attr("fill","none").attr("stroke","purple").attr("stroke-width",1.5*r).attr("stroke-dasharray",`${6*r} ${4*r}`);let p=Math.max(80*r,D*2*0.95),I=Math.max(60*r,D*2*0.95),m=(x.data.label&&x.data.label.length>0?Math.min(32*r,D*0.25):0)+(v.length<=2?30*r:0),d=M-p/2,V=k-I/2+m,_=Math.max(1,Math.ceil(Math.sqrt(v.length))),B=Math.max(1,Math.ceil(v.length/_)),it=p/_,Q=I/B;for(let[W,P]of v.entries()){let U=W%_,R=Math.floor(W/_),X=d+it*(U+0.5),tt=V+Q*(R+0.5);if(a)C.append("rect").attr("class","venn-text-debug-cell").attr("x",d+it*U).attr("y",V+Q*R).attr("width",it).attr("height",Q).attr("fill","none").attr("stroke","teal").attr("stroke-width",1*r).attr("stroke-dasharray",`${4*r} ${3*r}`);let Z=it*0.9,rt=Q*0.9,et=C.append("foreignObject").attr("class","venn-text-node-fo").attr("width",Z).attr("height",rt).attr("x",X-Z/2).attr("y",tt-rt/2).attr("overflow","visible"),J=o.get(P.id)?.color,L=et.append("xhtml:span").attr("class","venn-text-node").style("display","flex").style("width","100%").style("height","100%").style("white-space","normal").style("align-items","center").style("justify-content","center").style("text-align","center").style("overflow-wrap","normal").style("word-break","normal").text(P.label??P.id);if(J)L.style("color",J)}}}t(oe,"renderTextNodes");function ae(e){let s=new Set(e.map((r)=>[...r.sets].sort().join("|"))),i=new Map(e.filter((r)=>r.sets.length===1&&r.size!==void 0).map((r)=>[r.sets[0],r.size])),n=[];for(let r of e){if(r.sets.length<3)continue;let o=[...r.sets].sort();for(let a=0;a<o.length-1;a++)for(let c=a+1;c<o.length;c++){let h=[o[a],o[c]],f=h.join("|");if(!s.has(f)){s.add(f);let l=i.get(h[0]),v=i.get(h[1]),x=l!==void 0&&v!==void 0?Math.min(l,v)/4:2.5;n.push({sets:h,size:x,label:""})}}}return n.length>0?[...e,...n]:e}t(ae,"ensurePairwiseSubsets");var He={draw:Ke},rn={parser:Ee,db:Ue,renderer:He,styles:We};export{rn as diagram};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{wt}from"./index-mpyd7qxj.js";import{Ye}from"./index-q0k1am0g.js";import{Ga}from"./index-j9y4tjk0.js";import{Qi}from"./index-3x88t8g9.js";import{qn}from"./index-60g0e74a.js";var i=Object.freeze(JSON.parse('{"displayName":"HTML (Derivative)","injections":{"R:text.html - (comment.block, text.html meta.embedded, meta.tag.*.*.html, meta.tag.*.*.*.html, meta.tag.*.*.*.*.html)":{"patterns":[{"match":"<","name":"invalid.illegal.bad-angle-bracket.html"}]}},"name":"html-derivative","patterns":[{"include":"text.html.basic#core-minus-invalid"},{"begin":"(</?)(\\\\w[^<>\\\\s]*)(?<!/)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.html"}},"end":"((?: ?/)?>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.other.unrecognized.html.derivative","patterns":[{"include":"text.html.basic#attribute"}]}],"scopeName":"text.html.derivative","embeddedLangs":["html"]}')),e=[...qn,i];var u=Object.freeze(JSON.parse('{"fileTypes":[],"injectTo":["text.html.markdown"],"injectionSelector":"L:text.html.markdown","name":"markdown-vue","patterns":[{"include":"#vue-code-block"}],"repository":{"vue-code-block":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(vue)((\\\\s+|[,:?{])[^`~]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown","patterns":[]}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"include":"text.html.vue"}]}},"scopeName":"markdown.vue.codeblock"}')),t=[u];var m=Object.freeze(JSON.parse('{"fileTypes":[],"injectTo":["source.vue","text.html.markdown","text.html.derivative","text.pug"],"injectionSelector":"L:meta.tag -meta.attribute -meta.ng-binding -entity.name.tag.pug -attribute_value -source.tsx -source.js.jsx, L:meta.element -meta.attribute","name":"vue-directives","patterns":[{"include":"text.html.vue#vue-directives"}],"scopeName":"vue.directives"}')),n=[m];var r=Object.freeze(JSON.parse('{"fileTypes":[],"injectTo":["source.vue","text.html.markdown","text.html.derivative","text.pug"],"injectionSelector":"L:text.pug -comment -string.comment, L:text.html.derivative -comment.block, L:text.html.markdown -comment.block","name":"vue-interpolations","patterns":[{"include":"text.html.vue#vue-interpolations"}],"scopeName":"vue.interpolations"}')),a=[r];var c=Object.freeze(JSON.parse(`{"fileTypes":[],"injectTo":["source.vue"],"injectionSelector":"L:source.css -comment, L:source.postcss -comment, L:source.sass -comment, L:source.stylus -comment","name":"vue-sfc-style-variable-injection","patterns":[{"include":"#vue-sfc-style-variable-injection"}],"repository":{"vue-sfc-style-variable-injection":{"begin":"\\\\b(v-bind)\\\\s*\\\\(","beginCaptures":{"1":{"name":"entity.name.function"}},"end":"\\\\)","name":"vue.sfc.style.variable.injection.v-bind","patterns":[{"begin":"([\\"'])","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"}},"end":"(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"source.ts.embedded.html.vue","patterns":[{"include":"source.js"}]},{"include":"source.js"}]}},"scopeName":"vue.sfc.style.variable.injection","embeddedLangs":["javascript"]}`)),s=[...Ye,c];var l=Object.freeze(JSON.parse(`{"displayName":"Vue","name":"vue","patterns":[{"include":"#vue-comments"},{"include":"#self-closing-tag"},{"begin":"(<)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"}},"end":"(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html.vue"}},"patterns":[{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)md\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"text.html.markdown","patterns":[{"include":"text.html.markdown"}]}]},{"begin":"(?!template(?![-0-:A-Za-z]))([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)html\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"contentName":"text.html.derivative","end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"include":"#html-stuff"}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)pug\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"text.pug","patterns":[{"include":"text.pug"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)stylus\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.stylus","patterns":[{"include":"source.stylus"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)postcss\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.postcss","patterns":[{"include":"source.postcss"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)sass\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.sass","patterns":[{"include":"source.sass"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)css\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.css","patterns":[{"include":"source.css"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)scss\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.css.scss","patterns":[{"include":"source.css.scss"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)less\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.css.less","patterns":[{"include":"source.css.less"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)js\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.js","patterns":[{"include":"source.js"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)ts\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)(?=[^\\\\n]*</script[>\\\\s])","end":"(?=</script[>\\\\s])","name":"source.ts","patterns":[{"include":"source.ts"}]},{"begin":"(?<=>)","name":"source.ts","patterns":[{"include":"source.ts"}],"while":"^(?!\\\\s*</script[>\\\\s])"}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)jsx\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.js.jsx","patterns":[{"include":"source.js.jsx"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)tsx\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)(?=[^\\\\n]*</script[>\\\\s])","end":"(?=</script[>\\\\s])","name":"source.tsx","patterns":[{"include":"source.tsx"}]},{"begin":"(?<=>)","name":"source.tsx","patterns":[{"include":"source.tsx"}],"while":"^(?!\\\\s*</script[>\\\\s])"}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)coffee\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.coffee","patterns":[{"include":"source.coffee"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)json\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.json","patterns":[{"include":"source.json"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)jsonc\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.json.comments","patterns":[{"include":"source.json.comments"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)json5\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.json5","patterns":[{"include":"source.json5"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)yaml\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.yaml","patterns":[{"include":"source.yaml"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)toml\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.toml","patterns":[{"include":"source.toml"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)(g(?:ql|raphql))\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.graphql","patterns":[{"include":"source.graphql"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)vue\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"text.html.vue","patterns":[{"include":"text.html.vue"}]}]},{"begin":"(template)(?=\\\\s|/?>)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</template[>\\\\s])","name":"text.html.derivative","patterns":[{"include":"#html-stuff"}]}]},{"begin":"(script)(?=\\\\s|/?>)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#multi-line-script-tag-stuff"}]},{"begin":"(style)(?=\\\\s|/?>)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#multi-line-style-tag-stuff"}]},{"begin":"([-0-:A-Za-z]+)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"text"}]}]}],"repository":{"capitalized-tag":{"begin":"(<)([A-Z][-0-:A-Za-z]*)(?=\\\\s|/?>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.html.vue"}},"end":"/?>","endCaptures":{"0":{"name":"punctuation.definition.tag.end.html.vue"}},"name":"meta.tag.structure.$2.start.html.vue","patterns":[{"begin":"\\\\G","end":"(?=/?>)","patterns":[{"include":"#vue-directives"},{"include":"text.html.basic#attribute"}]}]},"html-stuff":{"patterns":[{"include":"#template-tag"},{"include":"#capitalized-tag"},{"include":"text.html.derivative"},{"include":"text.html.basic"}]},"multi-line-script-tag-stuff":{"begin":"\\\\G","end":"(?=</script[>\\\\s])","patterns":[{"begin":"\\\\G(?!\\\\blang\\\\s*=\\\\s*[\\"']?(?:tsx??|jsx|coffee)\\\\b)","end":"(?=\\\\blang\\\\s*=\\\\s*[\\"']?(?:tsx??|jsx|coffee)\\\\b)|(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html.vue"}},"name":"meta.tag-stuff","patterns":[{"include":"#vue-directives"},{"include":"text.html.basic#attribute"}]},{"begin":"(?=\\\\blang\\\\s*=\\\\s*[\\"']?ts\\\\b)","end":"(?=</script[>\\\\s])","patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)(?=[^\\\\n]*</script[>\\\\s])","end":"(?=</script[>\\\\s])","name":"source.ts","patterns":[{"include":"source.ts"}]},{"begin":"(?<=>)","name":"source.ts","patterns":[{"include":"source.ts"}],"while":"^(?!\\\\s*</script[>\\\\s])"}]},{"begin":"(?=\\\\blang\\\\s*=\\\\s*[\\"']?tsx\\\\b)","end":"(?=</script[>\\\\s])","patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)(?=[^\\\\n]*</script[>\\\\s])","end":"(?=</script[>\\\\s])","name":"source.tsx","patterns":[{"include":"source.tsx"}]},{"begin":"(?<=>)","name":"source.tsx","patterns":[{"include":"source.tsx"}],"while":"^(?!\\\\s*</script[>\\\\s])"}]},{"begin":"(?=\\\\blang\\\\s*=\\\\s*[\\"']?jsx\\\\b)","end":"(?=</script[>\\\\s])","patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</script[>\\\\s])","name":"source.js.jsx","patterns":[{"include":"source.js.jsx"}]}]},{"begin":"(?=\\\\blang\\\\s*=\\\\s*[\\"']?coffee\\\\b)","end":"(?=</script[>\\\\s])","patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</script[>\\\\s])","name":"source.coffee","patterns":[{"include":"source.coffee"}]}]},{"begin":"(?<=>)","end":"(?=</script[>\\\\s])","name":"source.js","patterns":[{"include":"source.js"}]}]},"multi-line-style-tag-stuff":{"begin":"\\\\G","end":"(?=</style[>\\\\s])","patterns":[{"begin":"\\\\G(?!\\\\blang\\\\s*=\\\\s*[\\"']?(?:scss|stylus|less|postcss)\\\\b)","end":"(?=\\\\blang\\\\s*=\\\\s*[\\"']?(?:scss|stylus|less|postcss)\\\\b)|(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html.vue"}},"name":"meta.tag-stuff","patterns":[{"include":"#vue-directives"},{"include":"text.html.basic#attribute"}]},{"begin":"(?=\\\\blang\\\\s*=\\\\s*[\\"']?scss\\\\b)","end":"(?=</style[>\\\\s])","patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</style[>\\\\s])","name":"source.css.scss","patterns":[{"include":"source.css.scss"}]}]},{"begin":"(?=\\\\blang\\\\s*=\\\\s*[\\"']?stylus\\\\b)","end":"(?=</style[>\\\\s])","patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</style[>\\\\s])","name":"source.stylus","patterns":[{"include":"source.stylus"}]}]},{"begin":"(?=\\\\blang\\\\s*=\\\\s*[\\"']?less\\\\b)","end":"(?=</style[>\\\\s])","patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</style[>\\\\s])","name":"source.css.less","patterns":[{"include":"source.css.less"}]}]},{"begin":"(?=\\\\blang\\\\s*=\\\\s*[\\"']?postcss\\\\b)","end":"(?=</style[>\\\\s])","patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</style[>\\\\s])","name":"source.postcss","patterns":[{"include":"source.postcss"}]}]},{"begin":"(?<=>)","end":"(?=</style[>\\\\s])","name":"source.css","patterns":[{"include":"source.css"}]}]},"self-closing-tag":{"begin":"(<)([-0-:A-Za-z]+)(?=([^>]+/>))","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"end":"(/>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html.vue"}},"name":"self-closing-tag","patterns":[{"include":"#tag-stuff"}]},"tag-stuff":{"begin":"\\\\G","end":"(?=/>)|(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html.vue"}},"name":"meta.tag-stuff","patterns":[{"include":"#vue-directives"},{"include":"text.html.basic#attribute"}]},"template-tag":{"patterns":[{"include":"#template-tag-1"},{"include":"#template-tag-2"}]},"template-tag-1":{"begin":"(<)(template)\\\\b(>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"},"3":{"name":"punctuation.definition.tag.end.html.vue"}},"end":"(/?>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html.vue"}},"name":"meta.template-tag.start","patterns":[{"begin":"\\\\G","end":"(?=/>)|((</)(template)(?=[>\\\\s]))","endCaptures":{"2":{"name":"punctuation.definition.tag.begin.html.vue"},"3":{"name":"entity.name.tag.$3.html.vue"}},"name":"meta.template-tag.end","patterns":[{"include":"#html-stuff"}]}]},"template-tag-2":{"begin":"(<)(template)(?=\\\\s|/?>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"end":"(/?>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html.vue"}},"name":"meta.template-tag.start","patterns":[{"begin":"\\\\G","end":"(?=/>)|((</)(template)(?=[>\\\\s]))","endCaptures":{"2":{"name":"punctuation.definition.tag.begin.html.vue"},"3":{"name":"entity.name.tag.$3.html.vue"}},"name":"meta.template-tag.end","patterns":[{"include":"#tag-stuff"},{"include":"#html-stuff"}]}]},"vue-comments":{"patterns":[{"include":"#vue-comments-key-value"},{"begin":"<!--","captures":{"0":{"name":"punctuation.definition.comment.vue"}},"end":"-->","name":"comment.block.vue"}]},"vue-comments-key-value":{"begin":"(<!--)\\\\s*(@)([$\\\\w]+)(?=\\\\s)","beginCaptures":{"1":{"name":"punctuation.definition.comment.vue"},"2":{"name":"punctuation.definition.block.tag.comment.vue"},"3":{"name":"storage.type.class.comment.vue"}},"end":"(-->)","endCaptures":{"1":{"name":"punctuation.definition.comment.vue"}},"name":"comment.block.vue","patterns":[{"include":"source.json#value"}]},"vue-directives":{"patterns":[{"include":"#vue-directives-control"},{"include":"#vue-directives-generic-attr"},{"include":"#vue-directives-style-attr"},{"include":"#vue-directives-original"}]},"vue-directives-control":{"begin":"(?:(v-for)|(v-(?:if|else-if|else)))(?=[)/=>\\\\s])","beginCaptures":{"1":{"name":"keyword.control.loop.vue"},"2":{"name":"keyword.control.conditional.vue"}},"end":"(?=\\\\s*[^=\\\\s])","name":"meta.attribute.directive.control.vue","patterns":[{"include":"#vue-directives-expression"}]},"vue-directives-expression":{"patterns":[{"begin":"(=)\\\\s*([\\"'\`])","beginCaptures":{"1":{"name":"punctuation.separator.key-value.html.vue"},"2":{"name":"punctuation.definition.string.begin.html.vue"}},"end":"(\\\\2)","endCaptures":{"1":{"name":"punctuation.definition.string.end.html.vue"}},"patterns":[{"begin":"(?<=([\\"'\`]))","end":"(?=\\\\1)","name":"source.ts.embedded.html.vue","patterns":[{"include":"source.ts#expression"}]}]},{"begin":"(=)\\\\s*(?=[^\\"'\`])","beginCaptures":{"1":{"name":"punctuation.separator.key-value.html.vue"}},"end":"(?=([>\\\\s]|/>))","patterns":[{"begin":"(?=[^\\"'\`])","end":"(?=([>\\\\s]|/>))","name":"source.ts.embedded.html.vue","patterns":[{"include":"source.ts#expression"}]}]}]},"vue-directives-generic-attr":{"begin":"\\\\b(generic)\\\\s*(=)","beginCaptures":{"1":{"name":"entity.other.attribute-name.html.vue"},"2":{"name":"punctuation.separator.key-value.html.vue"}},"end":"(?<=[\\"'])","name":"meta.attribute.generic.vue","patterns":[{"begin":"([\\"'])","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.html.vue"}},"end":"(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.string.end.html.vue"}},"name":"meta.type.parameters.vue","patterns":[{"include":"source.ts#comment"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(extends|in|out)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"storage.modifier.ts"},{"include":"source.ts#type"},{"include":"source.ts#punctuation-comma"},{"match":"(=)(?!>)","name":"keyword.operator.assignment.ts"}]}]},"vue-directives-original":{"begin":"(?:(v-[-\\\\w]+)(:)?|([.:])|(@)|(#))(?:(\\\\[)([^]]*)(])|([-\\\\w]+))?","beginCaptures":{"1":{"name":"entity.other.attribute-name.html.vue"},"2":{"name":"punctuation.separator.key-value.html.vue"},"3":{"name":"punctuation.attribute-shorthand.bind.html.vue"},"4":{"name":"punctuation.attribute-shorthand.event.html.vue"},"5":{"name":"punctuation.attribute-shorthand.slot.html.vue"},"6":{"name":"punctuation.separator.key-value.html.vue"},"7":{"name":"source.ts.embedded.html.vue","patterns":[{"include":"source.ts#expression"}]},"8":{"name":"punctuation.separator.key-value.html.vue"},"9":{"name":"entity.other.attribute-name.html.vue"}},"end":"(?=\\\\s*[^=\\\\s])","name":"meta.attribute.directive.vue","patterns":[{"1":{"name":"punctuation.separator.key-value.html.vue"},"2":{"name":"entity.other.attribute-name.html.vue"},"match":"(\\\\.)([-\\\\w]*)"},{"include":"#vue-directives-expression"}]},"vue-directives-style-attr":{"begin":"\\\\b(style)\\\\s*(=)","beginCaptures":{"1":{"name":"entity.other.attribute-name.html.vue"},"2":{"name":"punctuation.separator.key-value.html.vue"}},"end":"(?<=[\\"'])","name":"meta.attribute.style.vue","patterns":[{"begin":"([\\"'])","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.html.vue"}},"end":"(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.string.end.html.vue"}},"name":"source.css.embedded.html.vue","patterns":[{"include":"source.css#comment-block"},{"include":"source.css#escapes"},{"include":"source.css#font-features"},{"match":"(?<![-\\\\w])--[-A-Z_a-z[^\\\\x00-\\\\x7F]](?:[-0-9A-Z_a-z[^\\\\x00-\\\\x7F]]|\\\\\\\\(?:\\\\h{1,6}|.))*","name":"variable.css"},{"begin":"(?<![-A-Za-z])(?=[-A-Za-z])","end":"$|(?![-A-Za-z])","name":"meta.property-name.css","patterns":[{"include":"source.css#property-names"}]},{"begin":"(:)\\\\s*","beginCaptures":{"1":{"name":"punctuation.separator.key-value.css"}},"contentName":"meta.property-value.css","end":"\\\\s*(;)|\\\\s*(?=[\\"'])","endCaptures":{"1":{"name":"punctuation.terminator.rule.css"}},"patterns":[{"include":"source.css#comment-block"},{"include":"source.css#property-values"}]},{"match":";","name":"punctuation.terminator.rule.css"}]}]},"vue-interpolations":{"patterns":[{"begin":"(\\\\{\\\\{)","beginCaptures":{"1":{"name":"punctuation.definition.interpolation.begin.html.vue"}},"end":"(}})","endCaptures":{"1":{"name":"punctuation.definition.interpolation.end.html.vue"}},"name":"expression.embedded.vue","patterns":[{"begin":"\\\\G","end":"(?=}})","name":"source.ts.embedded.html.vue","patterns":[{"include":"source.ts#expression"}]}]}]}},"scopeName":"text.html.vue","embeddedLangs":["css","javascript","typescript","json","html","html-derivative","markdown-vue","vue-directives","vue-interpolations","vue-sfc-style-variable-injection"],"embeddedLangsLazy":["markdown","pug","stylus","sass","scss","less","jsx","tsx","coffee","jsonc","json5","yaml","toml","graphql"]}`)),L=[...wt,...Ye,...Ga,...Qi,...qn,...e,...t,...n,...a,...s,l];export{L as default};
|
|
1
|
+
import{wt}from"./index-mpyd7qxj.js";import{Ye}from"./index-q0k1am0g.js";import{Ga}from"./index-3m1dksmy.js";import{Li}from"./index-3ymw778n.js";import{Wn}from"./index-dqf0srrp.js";var i=Object.freeze(JSON.parse('{"displayName":"HTML (Derivative)","injections":{"R:text.html - (comment.block, text.html meta.embedded, meta.tag.*.*.html, meta.tag.*.*.*.html, meta.tag.*.*.*.*.html)":{"patterns":[{"match":"<","name":"invalid.illegal.bad-angle-bracket.html"}]}},"name":"html-derivative","patterns":[{"include":"text.html.basic#core-minus-invalid"},{"begin":"(</?)(\\\\w[^<>\\\\s]*)(?<!/)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.html"}},"end":"((?: ?/)?>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.other.unrecognized.html.derivative","patterns":[{"include":"text.html.basic#attribute"}]}],"scopeName":"text.html.derivative","embeddedLangs":["html"]}')),e=[...Wn,i];var u=Object.freeze(JSON.parse('{"fileTypes":[],"injectTo":["text.html.markdown"],"injectionSelector":"L:text.html.markdown","name":"markdown-vue","patterns":[{"include":"#vue-code-block"}],"repository":{"vue-code-block":{"begin":"(^|\\\\G)(\\\\s*)(`{3,}|~{3,})\\\\s*(?i:(vue)((\\\\s+|[,:?{])[^`~]*)?$)","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown","patterns":[]}},"end":"(^|\\\\G)(\\\\2|\\\\s{0,3})(\\\\3)\\\\s*$","endCaptures":{"3":{"name":"punctuation.definition.markdown"}},"name":"markup.fenced_code.block.markdown","patterns":[{"include":"text.html.vue"}]}},"scopeName":"markdown.vue.codeblock"}')),t=[u];var m=Object.freeze(JSON.parse('{"fileTypes":[],"injectTo":["source.vue","text.html.markdown","text.html.derivative","text.pug"],"injectionSelector":"L:meta.tag -meta.attribute -meta.ng-binding -entity.name.tag.pug -attribute_value -source.tsx -source.js.jsx, L:meta.element -meta.attribute","name":"vue-directives","patterns":[{"include":"text.html.vue#vue-directives"}],"scopeName":"vue.directives"}')),n=[m];var r=Object.freeze(JSON.parse('{"fileTypes":[],"injectTo":["source.vue","text.html.markdown","text.html.derivative","text.pug"],"injectionSelector":"L:text.pug -comment -string.comment, L:text.html.derivative -comment.block, L:text.html.markdown -comment.block","name":"vue-interpolations","patterns":[{"include":"text.html.vue#vue-interpolations"}],"scopeName":"vue.interpolations"}')),a=[r];var c=Object.freeze(JSON.parse(`{"fileTypes":[],"injectTo":["source.vue"],"injectionSelector":"L:source.css -comment, L:source.postcss -comment, L:source.sass -comment, L:source.stylus -comment","name":"vue-sfc-style-variable-injection","patterns":[{"include":"#vue-sfc-style-variable-injection"}],"repository":{"vue-sfc-style-variable-injection":{"begin":"\\\\b(v-bind)\\\\s*\\\\(","beginCaptures":{"1":{"name":"entity.name.function"}},"end":"\\\\)","name":"vue.sfc.style.variable.injection.v-bind","patterns":[{"begin":"([\\"'])","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"}},"end":"(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"source.ts.embedded.html.vue","patterns":[{"include":"source.js"}]},{"include":"source.js"}]}},"scopeName":"vue.sfc.style.variable.injection","embeddedLangs":["javascript"]}`)),s=[...Ye,c];var l=Object.freeze(JSON.parse(`{"displayName":"Vue","name":"vue","patterns":[{"include":"#vue-comments"},{"include":"#self-closing-tag"},{"begin":"(<)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"}},"end":"(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html.vue"}},"patterns":[{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)md\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"text.html.markdown","patterns":[{"include":"text.html.markdown"}]}]},{"begin":"(?!template(?![-0-:A-Za-z]))([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)html\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"contentName":"text.html.derivative","end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"include":"#html-stuff"}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)pug\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"text.pug","patterns":[{"include":"text.pug"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)stylus\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.stylus","patterns":[{"include":"source.stylus"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)postcss\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.postcss","patterns":[{"include":"source.postcss"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)sass\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.sass","patterns":[{"include":"source.sass"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)css\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.css","patterns":[{"include":"source.css"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)scss\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.css.scss","patterns":[{"include":"source.css.scss"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)less\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.css.less","patterns":[{"include":"source.css.less"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)js\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.js","patterns":[{"include":"source.js"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)ts\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)(?=[^\\\\n]*</script[>\\\\s])","end":"(?=</script[>\\\\s])","name":"source.ts","patterns":[{"include":"source.ts"}]},{"begin":"(?<=>)","name":"source.ts","patterns":[{"include":"source.ts"}],"while":"^(?!\\\\s*</script[>\\\\s])"}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)jsx\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.js.jsx","patterns":[{"include":"source.js.jsx"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)tsx\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)(?=[^\\\\n]*</script[>\\\\s])","end":"(?=</script[>\\\\s])","name":"source.tsx","patterns":[{"include":"source.tsx"}]},{"begin":"(?<=>)","name":"source.tsx","patterns":[{"include":"source.tsx"}],"while":"^(?!\\\\s*</script[>\\\\s])"}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)coffee\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.coffee","patterns":[{"include":"source.coffee"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)json\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.json","patterns":[{"include":"source.json"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)jsonc\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.json.comments","patterns":[{"include":"source.json.comments"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)json5\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.json5","patterns":[{"include":"source.json5"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)yaml\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.yaml","patterns":[{"include":"source.yaml"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)toml\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.toml","patterns":[{"include":"source.toml"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)(g(?:ql|raphql))\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"source.graphql","patterns":[{"include":"source.graphql"}]}]},{"begin":"([-0-:A-Za-z]+)\\\\b(?=[^>]*\\\\blang\\\\s*=\\\\s*([\\"']?)vue\\\\b\\\\2)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"text.html.vue","patterns":[{"include":"text.html.vue"}]}]},{"begin":"(template)(?=\\\\s|/?>)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</template[>\\\\s])","name":"text.html.derivative","patterns":[{"include":"#html-stuff"}]}]},{"begin":"(script)(?=\\\\s|/?>)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#multi-line-script-tag-stuff"}]},{"begin":"(style)(?=\\\\s|/?>)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#multi-line-style-tag-stuff"}]},{"begin":"([-0-:A-Za-z]+)","beginCaptures":{"1":{"name":"entity.name.tag.$1.html.vue"}},"end":"(</)(\\\\1)\\\\s*(?=>)","endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</)","name":"text"}]}]}],"repository":{"capitalized-tag":{"begin":"(<)([A-Z][-0-:A-Za-z]*)(?=\\\\s|/?>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.html.vue"}},"end":"/?>","endCaptures":{"0":{"name":"punctuation.definition.tag.end.html.vue"}},"name":"meta.tag.structure.$2.start.html.vue","patterns":[{"begin":"\\\\G","end":"(?=/?>)","patterns":[{"include":"#vue-directives"},{"include":"text.html.basic#attribute"}]}]},"html-stuff":{"patterns":[{"include":"#template-tag"},{"include":"#capitalized-tag"},{"include":"text.html.derivative"},{"include":"text.html.basic"}]},"multi-line-script-tag-stuff":{"begin":"\\\\G","end":"(?=</script[>\\\\s])","patterns":[{"begin":"\\\\G(?!\\\\blang\\\\s*=\\\\s*[\\"']?(?:tsx??|jsx|coffee)\\\\b)","end":"(?=\\\\blang\\\\s*=\\\\s*[\\"']?(?:tsx??|jsx|coffee)\\\\b)|(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html.vue"}},"name":"meta.tag-stuff","patterns":[{"include":"#vue-directives"},{"include":"text.html.basic#attribute"}]},{"begin":"(?=\\\\blang\\\\s*=\\\\s*[\\"']?ts\\\\b)","end":"(?=</script[>\\\\s])","patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)(?=[^\\\\n]*</script[>\\\\s])","end":"(?=</script[>\\\\s])","name":"source.ts","patterns":[{"include":"source.ts"}]},{"begin":"(?<=>)","name":"source.ts","patterns":[{"include":"source.ts"}],"while":"^(?!\\\\s*</script[>\\\\s])"}]},{"begin":"(?=\\\\blang\\\\s*=\\\\s*[\\"']?tsx\\\\b)","end":"(?=</script[>\\\\s])","patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)(?=[^\\\\n]*</script[>\\\\s])","end":"(?=</script[>\\\\s])","name":"source.tsx","patterns":[{"include":"source.tsx"}]},{"begin":"(?<=>)","name":"source.tsx","patterns":[{"include":"source.tsx"}],"while":"^(?!\\\\s*</script[>\\\\s])"}]},{"begin":"(?=\\\\blang\\\\s*=\\\\s*[\\"']?jsx\\\\b)","end":"(?=</script[>\\\\s])","patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</script[>\\\\s])","name":"source.js.jsx","patterns":[{"include":"source.js.jsx"}]}]},{"begin":"(?=\\\\blang\\\\s*=\\\\s*[\\"']?coffee\\\\b)","end":"(?=</script[>\\\\s])","patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</script[>\\\\s])","name":"source.coffee","patterns":[{"include":"source.coffee"}]}]},{"begin":"(?<=>)","end":"(?=</script[>\\\\s])","name":"source.js","patterns":[{"include":"source.js"}]}]},"multi-line-style-tag-stuff":{"begin":"\\\\G","end":"(?=</style[>\\\\s])","patterns":[{"begin":"\\\\G(?!\\\\blang\\\\s*=\\\\s*[\\"']?(?:scss|stylus|less|postcss)\\\\b)","end":"(?=\\\\blang\\\\s*=\\\\s*[\\"']?(?:scss|stylus|less|postcss)\\\\b)|(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html.vue"}},"name":"meta.tag-stuff","patterns":[{"include":"#vue-directives"},{"include":"text.html.basic#attribute"}]},{"begin":"(?=\\\\blang\\\\s*=\\\\s*[\\"']?scss\\\\b)","end":"(?=</style[>\\\\s])","patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</style[>\\\\s])","name":"source.css.scss","patterns":[{"include":"source.css.scss"}]}]},{"begin":"(?=\\\\blang\\\\s*=\\\\s*[\\"']?stylus\\\\b)","end":"(?=</style[>\\\\s])","patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</style[>\\\\s])","name":"source.stylus","patterns":[{"include":"source.stylus"}]}]},{"begin":"(?=\\\\blang\\\\s*=\\\\s*[\\"']?less\\\\b)","end":"(?=</style[>\\\\s])","patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</style[>\\\\s])","name":"source.css.less","patterns":[{"include":"source.css.less"}]}]},{"begin":"(?=\\\\blang\\\\s*=\\\\s*[\\"']?postcss\\\\b)","end":"(?=</style[>\\\\s])","patterns":[{"include":"#tag-stuff"},{"begin":"(?<=>)","end":"(?=</style[>\\\\s])","name":"source.postcss","patterns":[{"include":"source.postcss"}]}]},{"begin":"(?<=>)","end":"(?=</style[>\\\\s])","name":"source.css","patterns":[{"include":"source.css"}]}]},"self-closing-tag":{"begin":"(<)([-0-:A-Za-z]+)(?=([^>]+/>))","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"end":"(/>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html.vue"}},"name":"self-closing-tag","patterns":[{"include":"#tag-stuff"}]},"tag-stuff":{"begin":"\\\\G","end":"(?=/>)|(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html.vue"}},"name":"meta.tag-stuff","patterns":[{"include":"#vue-directives"},{"include":"text.html.basic#attribute"}]},"template-tag":{"patterns":[{"include":"#template-tag-1"},{"include":"#template-tag-2"}]},"template-tag-1":{"begin":"(<)(template)\\\\b(>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"},"3":{"name":"punctuation.definition.tag.end.html.vue"}},"end":"(/?>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html.vue"}},"name":"meta.template-tag.start","patterns":[{"begin":"\\\\G","end":"(?=/>)|((</)(template)(?=[>\\\\s]))","endCaptures":{"2":{"name":"punctuation.definition.tag.begin.html.vue"},"3":{"name":"entity.name.tag.$3.html.vue"}},"name":"meta.template-tag.end","patterns":[{"include":"#html-stuff"}]}]},"template-tag-2":{"begin":"(<)(template)(?=\\\\s|/?>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html.vue"},"2":{"name":"entity.name.tag.$2.html.vue"}},"end":"(/?>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html.vue"}},"name":"meta.template-tag.start","patterns":[{"begin":"\\\\G","end":"(?=/>)|((</)(template)(?=[>\\\\s]))","endCaptures":{"2":{"name":"punctuation.definition.tag.begin.html.vue"},"3":{"name":"entity.name.tag.$3.html.vue"}},"name":"meta.template-tag.end","patterns":[{"include":"#tag-stuff"},{"include":"#html-stuff"}]}]},"vue-comments":{"patterns":[{"include":"#vue-comments-key-value"},{"begin":"<!--","captures":{"0":{"name":"punctuation.definition.comment.vue"}},"end":"-->","name":"comment.block.vue"}]},"vue-comments-key-value":{"begin":"(<!--)\\\\s*(@)([$\\\\w]+)(?=\\\\s)","beginCaptures":{"1":{"name":"punctuation.definition.comment.vue"},"2":{"name":"punctuation.definition.block.tag.comment.vue"},"3":{"name":"storage.type.class.comment.vue"}},"end":"(-->)","endCaptures":{"1":{"name":"punctuation.definition.comment.vue"}},"name":"comment.block.vue","patterns":[{"include":"source.json#value"}]},"vue-directives":{"patterns":[{"include":"#vue-directives-control"},{"include":"#vue-directives-generic-attr"},{"include":"#vue-directives-style-attr"},{"include":"#vue-directives-original"}]},"vue-directives-control":{"begin":"(?:(v-for)|(v-(?:if|else-if|else)))(?=[)/=>\\\\s])","beginCaptures":{"1":{"name":"keyword.control.loop.vue"},"2":{"name":"keyword.control.conditional.vue"}},"end":"(?=\\\\s*[^=\\\\s])","name":"meta.attribute.directive.control.vue","patterns":[{"include":"#vue-directives-expression"}]},"vue-directives-expression":{"patterns":[{"begin":"(=)\\\\s*([\\"'\`])","beginCaptures":{"1":{"name":"punctuation.separator.key-value.html.vue"},"2":{"name":"punctuation.definition.string.begin.html.vue"}},"end":"(\\\\2)","endCaptures":{"1":{"name":"punctuation.definition.string.end.html.vue"}},"patterns":[{"begin":"(?<=([\\"'\`]))","end":"(?=\\\\1)","name":"source.ts.embedded.html.vue","patterns":[{"include":"source.ts#expression"}]}]},{"begin":"(=)\\\\s*(?=[^\\"'\`])","beginCaptures":{"1":{"name":"punctuation.separator.key-value.html.vue"}},"end":"(?=([>\\\\s]|/>))","patterns":[{"begin":"(?=[^\\"'\`])","end":"(?=([>\\\\s]|/>))","name":"source.ts.embedded.html.vue","patterns":[{"include":"source.ts#expression"}]}]}]},"vue-directives-generic-attr":{"begin":"\\\\b(generic)\\\\s*(=)","beginCaptures":{"1":{"name":"entity.other.attribute-name.html.vue"},"2":{"name":"punctuation.separator.key-value.html.vue"}},"end":"(?<=[\\"'])","name":"meta.attribute.generic.vue","patterns":[{"begin":"([\\"'])","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.html.vue"}},"end":"(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.string.end.html.vue"}},"name":"meta.type.parameters.vue","patterns":[{"include":"source.ts#comment"},{"match":"(?<![$_[:alnum:]])(?:(?<=\\\\.\\\\.\\\\.)|(?<!\\\\.))(extends|in|out)(?![$_[:alnum:]])(?:(?=\\\\.\\\\.\\\\.)|(?!\\\\.))","name":"storage.modifier.ts"},{"include":"source.ts#type"},{"include":"source.ts#punctuation-comma"},{"match":"(=)(?!>)","name":"keyword.operator.assignment.ts"}]}]},"vue-directives-original":{"begin":"(?:(v-[-\\\\w]+)(:)?|([.:])|(@)|(#))(?:(\\\\[)([^]]*)(])|([-\\\\w]+))?","beginCaptures":{"1":{"name":"entity.other.attribute-name.html.vue"},"2":{"name":"punctuation.separator.key-value.html.vue"},"3":{"name":"punctuation.attribute-shorthand.bind.html.vue"},"4":{"name":"punctuation.attribute-shorthand.event.html.vue"},"5":{"name":"punctuation.attribute-shorthand.slot.html.vue"},"6":{"name":"punctuation.separator.key-value.html.vue"},"7":{"name":"source.ts.embedded.html.vue","patterns":[{"include":"source.ts#expression"}]},"8":{"name":"punctuation.separator.key-value.html.vue"},"9":{"name":"entity.other.attribute-name.html.vue"}},"end":"(?=\\\\s*[^=\\\\s])","name":"meta.attribute.directive.vue","patterns":[{"1":{"name":"punctuation.separator.key-value.html.vue"},"2":{"name":"entity.other.attribute-name.html.vue"},"match":"(\\\\.)([-\\\\w]*)"},{"include":"#vue-directives-expression"}]},"vue-directives-style-attr":{"begin":"\\\\b(style)\\\\s*(=)","beginCaptures":{"1":{"name":"entity.other.attribute-name.html.vue"},"2":{"name":"punctuation.separator.key-value.html.vue"}},"end":"(?<=[\\"'])","name":"meta.attribute.style.vue","patterns":[{"begin":"([\\"'])","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.html.vue"}},"end":"(\\\\1)","endCaptures":{"1":{"name":"punctuation.definition.string.end.html.vue"}},"name":"source.css.embedded.html.vue","patterns":[{"include":"source.css#comment-block"},{"include":"source.css#escapes"},{"include":"source.css#font-features"},{"match":"(?<![-\\\\w])--[-A-Z_a-z[^\\\\x00-\\\\x7F]](?:[-0-9A-Z_a-z[^\\\\x00-\\\\x7F]]|\\\\\\\\(?:\\\\h{1,6}|.))*","name":"variable.css"},{"begin":"(?<![-A-Za-z])(?=[-A-Za-z])","end":"$|(?![-A-Za-z])","name":"meta.property-name.css","patterns":[{"include":"source.css#property-names"}]},{"begin":"(:)\\\\s*","beginCaptures":{"1":{"name":"punctuation.separator.key-value.css"}},"contentName":"meta.property-value.css","end":"\\\\s*(;)|\\\\s*(?=[\\"'])","endCaptures":{"1":{"name":"punctuation.terminator.rule.css"}},"patterns":[{"include":"source.css#comment-block"},{"include":"source.css#property-values"}]},{"match":";","name":"punctuation.terminator.rule.css"}]}]},"vue-interpolations":{"patterns":[{"begin":"(\\\\{\\\\{)","beginCaptures":{"1":{"name":"punctuation.definition.interpolation.begin.html.vue"}},"end":"(}})","endCaptures":{"1":{"name":"punctuation.definition.interpolation.end.html.vue"}},"name":"expression.embedded.vue","patterns":[{"begin":"\\\\G","end":"(?=}})","name":"source.ts.embedded.html.vue","patterns":[{"include":"source.ts#expression"}]}]}]}},"scopeName":"text.html.vue","embeddedLangs":["css","javascript","typescript","json","html","html-derivative","markdown-vue","vue-directives","vue-interpolations","vue-sfc-style-variable-injection"],"embeddedLangsLazy":["markdown","pug","stylus","sass","scss","less","jsx","tsx","coffee","jsonc","json5","yaml","toml","graphql"]}`)),L=[...wt,...Ye,...Ga,...Li,...Wn,...e,...t,...n,...a,...s,l];export{L as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Ig}from"./index-wnk9k57k.js";export{Ig as createWardleyServices};
|