@kabmo-labs/kabmo 0.35.0 → 0.36.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 +435 -432
- package/dist/client/static/js/{CsvGrid-0amzgtd7.js → CsvGrid-1h3bcak7.js} +2 -2
- package/dist/client/static/js/{DocxView-bxjhzxe9.js → DocxView-ndca8jch.js} +2 -2
- package/dist/client/static/js/{DrawioView-7s1yqsf4.js → DrawioView-kpzd6y0b.js} +2 -2
- package/dist/client/static/js/{ImageView-ycfbn66h.js → ImageView-79prn3dg.js} +1 -1
- package/dist/client/static/js/{LayoutWrapper-tw1q1x0g.js → LayoutWrapper-v2wn2sb2.js} +2 -2
- package/dist/client/static/js/{Modal-wqjactyd.js → Modal-99j0zz3z.js} +16 -16
- package/dist/client/static/js/{PdfView-x6dmtwvr.js → PdfView-2rjd87ay.js} +1 -1
- package/dist/client/static/js/{SessionsView-t85wq0me.js → SessionsView-t7f3s71b.js} +1 -1
- package/dist/client/static/js/{SheetView-n52nvz8s.js → SheetView-ehb976st.js} +13 -13
- package/dist/client/static/js/{SvgPreview-59z7syme.js → SvgPreview-de2bbba6.js} +1 -1
- package/dist/client/static/js/{abnfDiagram-O67JEVCF-91gnt049.js → abnfDiagram-O67JEVCF-nx9jzn7m.js} +1 -1
- package/dist/client/static/js/architecture-7GRP2DOG-aqft2erp.js +1 -0
- package/dist/client/static/js/{architectureDiagram-NJMV4G6O-5b9qtff2.js → architectureDiagram-NJMV4G6O-170v67rr.js} +3 -3
- package/dist/client/static/js/{astro-31cbyw7b.js → astro-80bs6hvg.js} +1 -1
- package/dist/client/static/js/bash-b3rwyg5p.js +1 -0
- package/dist/client/static/js/{blockDiagram-BEXU5L5S-6f23fjkn.js → blockDiagram-BEXU5L5S-16q285n1.js} +2 -2
- package/dist/client/static/js/{c4Diagram-YGBWAQC7-76t6d3am.js → c4Diagram-YGBWAQC7-rn3qt45h.js} +2 -2
- package/dist/client/static/js/{classDiagram-v2-NBCMYWYE-f9tb19xm.js → classDiagram-v2-NBCMYWYE-r26wg74e.js} +1 -1
- package/dist/client/static/js/{cose-bilkent-JH36ORCC-t6nwrbwj.js → cose-bilkent-JH36ORCC-82kwe7ha.js} +1 -1
- package/dist/client/static/js/cpp-y0t6mynx.js +1 -0
- package/dist/client/static/js/css-r2nhvzff.js +1 -0
- package/dist/client/static/js/cynefin-OW5HDTMX-v2sz60t6.js +1 -0
- package/dist/client/static/js/{cynefinDiagram-VND7K2PF-69gc244j.js → cynefinDiagram-VND7K2PF-tcxdn6pa.js} +1 -1
- package/dist/client/static/js/{dagre-6A5THRUB-54bry3ey.js → dagre-6A5THRUB-g833ata3.js} +2 -2
- package/dist/client/static/js/{diagram-22UHCM2B-gfkebye6.js → diagram-22UHCM2B-f1fq8xec.js} +3 -3
- package/dist/client/static/js/{diagram-3UASUU5V-a1mr319f.js → diagram-3UASUU5V-6j2w016f.js} +1 -1
- package/dist/client/static/js/{diagram-ATOU4E4O-tkyk0qbe.js → diagram-ATOU4E4O-6t2qxsk4.js} +3 -3
- package/dist/client/static/js/{diagram-CDSNMT55-np0hc9m2.js → diagram-CDSNMT55-7abar8s7.js} +2 -2
- package/dist/client/static/js/{diagram-MLGK6HIB-nh06fshp.js → diagram-MLGK6HIB-s68rgy16.js} +1 -1
- package/dist/client/static/js/{diagram-MPIPVDR6-27q2veks.js → diagram-MPIPVDR6-azgkm6w8.js} +1 -1
- package/dist/client/static/js/{dockerfile-4rtt6c0f.js → dockerfile-47e33kqa.js} +1 -1
- package/dist/client/static/js/{ebnfDiagram-ZINNZB2B-x9p9jqe8.js → ebnfDiagram-ZINNZB2B-esrjz750.js} +1 -1
- package/dist/client/static/js/{elk-276RUBZZ-fw7waks3.js → elk-276RUBZZ-fhr4b4jj.js} +1 -1
- package/dist/client/static/js/{erDiagram-OPXOYQCR-fdfgzr5d.js → erDiagram-OPXOYQCR-5r3fmdnz.js} +4 -4
- package/dist/client/static/js/{erlang-trjm07as.js → erlang-bh5cbm8m.js} +1 -1
- package/dist/client/static/js/eventmodeling-NTZA5JFV-8qbefe4m.js +1 -0
- package/dist/client/static/js/flowDiagram-KWPJA3E3-krsvgcq7.js +1 -0
- package/dist/client/static/js/{ganttDiagram-FUAMR5RP-2avbqgdr.js → ganttDiagram-FUAMR5RP-j4pf6rdn.js} +1 -1
- package/dist/client/static/js/gitGraph-4MIJSDKK-9bx1a38k.js +1 -0
- package/dist/client/static/js/{gitGraphDiagram-X574FWY7-9jmc0a3g.js → gitGraphDiagram-X574FWY7-x5epk0gr.js} +2 -2
- package/dist/client/static/js/graphql-xnpp5gn9.js +1 -0
- package/dist/client/static/js/{index-nb8tp4mj.js → index-0b1kwsam.js} +8 -8
- package/dist/client/static/js/{index-43qpbxjv.js → index-1y9r4frb.js} +2 -2
- package/dist/client/static/js/{index-8x9ecxb0.js → index-3kgrcaq1.js} +1 -1
- package/dist/client/static/js/{index-a628fg4m.js → index-3vdmwpbh.js} +2 -2
- package/dist/client/static/js/{index-jc1yagmk.js → index-3zc1b0dv.js} +2 -2
- package/dist/client/static/js/{index-ee2p07eg.js → index-40ve7zzv.js} +1 -1
- package/dist/client/static/js/{index-xxtsm2rb.js → index-44qrckd2.js} +2 -2
- package/dist/client/static/js/{index-qqz6bcdd.js → index-55pqvh82.js} +2 -2
- package/dist/client/static/js/{index-kdkfyrja.js → index-5kjpacvd.js} +2 -2
- package/dist/client/static/js/{index-t6c0pd43.js → index-5rzk1226.js} +2 -2
- package/dist/client/static/js/{index-jmxqefe3.js → index-60ceydzn.js} +1 -1
- package/dist/client/static/js/{index-ek2e773p.js → index-63c6t75t.js} +1 -1
- package/dist/client/static/js/{index-6f6cmcbq.js → index-63jbb4kf.js} +2 -2
- package/dist/client/static/js/{index-8f9x7ev8.js → index-6xzfta4b.js} +1 -1
- package/dist/client/static/js/{index-ncrenheb.js → index-75haaj8g.js} +125 -125
- package/dist/client/static/js/{index-4vybd9e7.js → index-7r1hw2gd.js} +1 -1
- package/dist/client/static/js/{index-y3ms153k.js → index-8cy3x2y8.js} +2 -2
- package/dist/client/static/js/{index-7ct7qrsp.js → index-8e15fzax.js} +2 -2
- package/dist/client/static/js/{index-rkn0bxxt.js → index-97t3mv1v.js} +1 -1
- package/dist/client/static/js/{index-tp7yb3bv.js → index-982jyfsb.js} +2 -2
- package/dist/client/static/js/{index-py2k8std.js → index-9gf8b73w.js} +2 -2
- package/dist/client/static/js/{index-pzbssnsc.js → index-af24nes6.js} +2 -2
- package/dist/client/static/js/{index-w5373tg1.js → index-b48p8d1j.js} +2 -2
- package/dist/client/static/js/{index-w7tpgt46.js → index-be6gevq8.js} +1 -1
- package/dist/client/static/js/index-c09a5s1n.js +12 -0
- package/dist/client/static/js/{index-7q02xnvq.js → index-c1j0xb0w.js} +1 -1
- package/dist/client/static/js/{index-vnw3hbeg.js → index-ctgefatv.js} +27 -27
- package/dist/client/static/js/{index-2v1nmxwr.js → index-d2km9egp.js} +5 -5
- package/dist/client/static/js/index-dh1vd0d9.js +1 -0
- package/dist/client/static/js/{index-zh2jj56s.js → index-dmgawfhw.js} +2 -2
- package/dist/client/static/js/{index-k7q01ye4.js → index-h1e1abpt.js} +2 -2
- package/dist/client/static/js/{index-0v34a7wf.js → index-htt8qxm3.js} +1 -1
- package/dist/client/static/js/{index-a8ffattk.js → index-k1xt92h4.js} +2 -2
- package/dist/client/static/js/{index-p16scjt7.js → index-ktvbsj6w.js} +2 -2
- package/dist/client/static/js/{index-b8s3xraa.js → index-ky0prc71.js} +5 -5
- package/dist/client/static/js/{index-xs1m0bpt.js → index-mm1rf116.js} +1 -1
- package/dist/client/static/js/index-nws03exw.js +2 -0
- package/dist/client/static/js/{index-rbgemjsp.js → index-pyx8n25s.js} +3 -3
- package/dist/client/static/js/{index-3ecsp1rx.js → index-q5t4sy22.js} +3 -3
- package/dist/client/static/js/{index-rv89xpaf.js → index-r8pckaqe.js} +2 -2
- package/dist/client/static/js/{index-fvc0x6nx.js → index-sar2ggde.js} +3 -3
- package/dist/client/static/js/{index-sdby39w4.js → index-skm6k5w2.js} +3 -3
- package/dist/client/static/js/{index-whbtxmwh.js → index-v5t761a1.js} +2 -2
- package/dist/client/static/js/{index-8mwragbj.js → index-v8qd8ypc.js} +2 -2
- package/dist/client/static/js/{index-1wjp16f0.js → index-vtbbfwx0.js} +2 -2
- package/dist/client/static/js/{index-vq6wts05.js → index-w3n97x4b.js} +2 -2
- package/dist/client/static/js/{index-mc4nefs7.js → index-ydvfc9td.js} +1 -1
- package/dist/client/static/js/{index-9ketbkh6.js → index-ye450a7z.js} +1 -1
- package/dist/client/static/js/{index-7smwzkvq.js → index-z6g74h7g.js} +2 -2
- package/dist/client/static/js/{index-yq39qbs1.js → index-zdtsvnpq.js} +2 -2
- package/dist/client/static/js/{index-pc6eg8h2.js → index-zp73zexp.js} +2 -2
- package/dist/client/static/js/{index-pnt0vc59.js → index-zvfvqvn9.js} +2 -2
- package/dist/client/static/js/info-A6RAGUB7-j51t7jhh.js +1 -0
- package/dist/client/static/js/{infoDiagram-VRGFBTTK-g2dky5xg.js → infoDiagram-VRGFBTTK-ktc8nb8g.js} +1 -1
- package/dist/client/static/js/ini-ygfyhprj.js +1 -0
- package/dist/client/static/js/{ishikawaDiagram-OU5B5YK6-exrcjwp1.js → ishikawaDiagram-OU5B5YK6-n3dk6227.js} +1 -1
- package/dist/client/static/js/java-gm49vw59.js +1 -0
- package/dist/client/static/js/{journeyDiagram-ZHPQQLJL-pn752qa5.js → journeyDiagram-ZHPQQLJL-f0p1h8qn.js} +2 -2
- package/dist/client/static/js/jsx-ksxw1byz.js +1 -0
- package/dist/client/static/js/{julia-evn99h2m.js → julia-73zjh2w6.js} +1 -1
- package/dist/client/static/js/{kanban-definition-PNTS6WVX-v8nvr373.js → kanban-definition-PNTS6WVX-7jdt7dv1.js} +1 -1
- package/dist/client/static/js/lua-53gzb9bx.js +1 -0
- package/dist/client/static/js/markdown-tk3cd3vs.js +1 -0
- package/dist/client/static/js/{mermaid.core-egzv89zv.js → mermaid.core-e8rzrjt9.js} +6 -6
- package/dist/client/static/js/{mindmap-definition-NLK3R4M7-t9njmv2w.js → mindmap-definition-NLK3R4M7-7shv6ge0.js} +2 -2
- package/dist/client/static/js/one-dark-pro-39bt34v9.js +1 -0
- package/dist/client/static/js/one-light-xec0sehr.js +1 -0
- package/dist/client/static/js/packet-AYTQ26CC-n83gfj2g.js +1 -0
- package/dist/client/static/js/{pegDiagram-GJSIUBJH-zhycy2b7.js → pegDiagram-GJSIUBJH-17ak2zx3.js} +1 -1
- package/dist/client/static/js/{perl-506fy8m8.js → perl-8z46dmze.js} +1 -1
- package/dist/client/static/js/{php-axtsvxck.js → php-6qvnp2t6.js} +1 -1
- package/dist/client/static/js/pie-WAS4IAKB-5c5pctwz.js +1 -0
- package/dist/client/static/js/{pieDiagram-5QR66LMP-sgctvma2.js → pieDiagram-5QR66LMP-at4x1g4q.js} +1 -1
- package/dist/client/static/js/properties-2tcybqjk.js +1 -0
- package/dist/client/static/js/python-qph3dntq.js +1 -0
- package/dist/client/static/js/{quadrantDiagram-O4NWA36T-kzzhdcph.js → quadrantDiagram-O4NWA36T-apzhwrn4.js} +1 -1
- package/dist/client/static/js/r-gd26x93y.js +1 -0
- package/dist/client/static/js/radar-RG4KPBEZ-52e5n99a.js +1 -0
- package/dist/client/static/js/railroad-74A4TZTK-44nqxxpy.js +1 -0
- package/dist/client/static/js/railroad-abnf-HS5TGJTU-25jxgwg7.js +1 -0
- package/dist/client/static/js/railroad-ebnf-LZEXJU2U-64pqpf2y.js +1 -0
- package/dist/client/static/js/railroad-peg-WCYAUIDC-0p5sxzpx.js +1 -0
- package/dist/client/static/js/{railroadDiagram-XR7U4H2S-nzjffwxm.js → railroadDiagram-XR7U4H2S-rw8cj5f3.js} +1 -1
- package/dist/client/static/js/{requirementDiagram-PLB6GJNP-tz4xxn4d.js → requirementDiagram-PLB6GJNP-qyrse7mb.js} +1 -1
- package/dist/client/static/js/{ruby-qp7zfk2m.js → ruby-qy8mhstq.js} +1 -1
- package/dist/client/static/js/{rust-fz913fvw.js → rust-fpshqnk0.js} +1 -1
- package/dist/client/static/js/{sankeyDiagram-IPEJSGJF-2wcb0xr6.js → sankeyDiagram-IPEJSGJF-254qr59q.js} +2 -2
- package/dist/client/static/js/{sass-gnk9vsyp.js → sass-kbwea482.js} +1 -1
- package/dist/client/static/js/{sequenceDiagram-PO4LG4MO-vqgebfns.js → sequenceDiagram-PO4LG4MO-y9xjxfc5.js} +5 -5
- package/dist/client/static/js/{sizeCapture-INFHLROL-xc314tes.js → sizeCapture-INFHLROL-sc5e60t3.js} +1 -1
- package/dist/client/static/js/{stateDiagram-v2-GCMORJYK-8bd9b1h8.js → stateDiagram-v2-GCMORJYK-r134s4xr.js} +2 -2
- package/dist/client/static/js/{svelte-brpgzrtv.js → svelte-mwtx07d9.js} +1 -1
- package/dist/client/static/js/{swimlanes-2SLR337P-t6hbdzcw.js → swimlanes-2SLR337P-xc7rbawt.js} +1 -1
- package/dist/client/static/js/swimlanesDiagram-TC7HE7FX-kdcdamkj.js +8 -0
- package/dist/client/static/js/{timeline-definition-EJHVYXUP-2txxasx5.js → timeline-definition-EJHVYXUP-cgjd8shk.js} +2 -2
- package/dist/client/static/js/treeView-Q6P3EWNA-8j14nnd1.js +1 -0
- package/dist/client/static/js/treemap-WGGIJYW6-esf993kk.js +1 -0
- package/dist/client/static/js/tsx-nm94hed6.js +1 -0
- package/dist/client/static/js/typescript-0s2t05jj.js +1 -0
- package/dist/client/static/js/{usecaseDiagram-POWQR4AR-3x353hn4.js → usecaseDiagram-POWQR4AR-9qsmjhm6.js} +2 -2
- package/dist/client/static/js/{vennDiagram-UO4OBE2U-cerpss8e.js → vennDiagram-UO4OBE2U-4grw9awx.js} +1 -1
- package/dist/client/static/js/{vue-apnkw9qy.js → vue-j8vb9d7r.js} +1 -1
- package/dist/client/static/js/wardley-WFR3VGLG-v4dxm2sb.js +1 -0
- package/dist/client/static/js/{wardleyDiagram-VNRHLVJA-cx6jfsbf.js → wardleyDiagram-VNRHLVJA-8gxy0wat.js} +1 -1
- package/dist/client/static/js/xml-0py2vkw7.js +1 -0
- package/dist/client/static/js/{xychartDiagram-PMCCYNJV-tgn23xj1.js → xychartDiagram-PMCCYNJV-5sh7tdrx.js} +2 -2
- package/dist/client/static/js/yaml-vghdz0f0.js +1 -0
- package/package.json +1 -1
- package/src/client/components/settings/categories/ConnectSettings.tsx +8 -1
- package/src/client/components/settings/categories/connect-settings/CloudflareConfig.test.tsx +84 -0
- package/src/client/components/settings/categories/connect-settings/CloudflareConfig.tsx +68 -0
- package/src/client/components/settings/categories/connect-settings/PairDialog.test.tsx +49 -49
- package/src/client/components/settings/categories/connect-settings/PairDialog.tsx +12 -8
- package/src/client/components/settings/categories/connect-settings/QrCode.tsx +19 -2
- package/src/client/hooks/connect/use-connect-status.ts +44 -19
- package/src/client/hooks/connect/use-pairing.ts +5 -0
- package/src/client/lib/notifications/watch.ts +4 -1
- package/src/server/lib/connect/cloudflared-config.server.ts +236 -0
- package/src/server/lib/connect/cloudflared-config.test.ts +245 -0
- package/src/server/lib/connect/cloudflared.lifecycle.test.ts +116 -15
- package/src/server/lib/connect/cloudflared.server.ts +53 -66
- package/src/server/lib/connect/pairing.server.ts +33 -0
- package/src/server/lib/connect/qr-png.server.test.ts +93 -0
- package/src/server/lib/connect/qr-png.server.ts +119 -0
- package/src/server/lib/connect/status.server.ts +10 -4
- package/src/server/routes/connect/index.ts +2 -0
- package/src/server/routes/connect/pair-qr.test.ts +72 -0
- package/src/server/routes/connect/pair-qr.ts +44 -0
- package/src/server/routes/connect/pair.ts +8 -2
- package/src/server/routes/connect/tunnels.test.ts +141 -0
- package/src/server/routes/connect/tunnels.ts +32 -7
- package/src/server/routes/notifications/stream.ts +11 -2
- package/src/shared/lib/connect/types.ts +7 -0
- package/dist/client/static/js/architecture-7GRP2DOG-bajpnvy7.js +0 -1
- package/dist/client/static/js/bash-0h36tk0k.js +0 -1
- package/dist/client/static/js/cpp-4wp9sy20.js +0 -1
- package/dist/client/static/js/css-c9nsbkh6.js +0 -1
- package/dist/client/static/js/cynefin-OW5HDTMX-8q9e90m8.js +0 -1
- package/dist/client/static/js/eventmodeling-NTZA5JFV-kn4hsm3p.js +0 -1
- package/dist/client/static/js/flowDiagram-KWPJA3E3-ah8cvps1.js +0 -1
- package/dist/client/static/js/gitGraph-4MIJSDKK-hvavh16n.js +0 -1
- package/dist/client/static/js/graphql-hbkmxsty.js +0 -1
- package/dist/client/static/js/index-btr2w8cq.js +0 -12
- package/dist/client/static/js/index-dfzrpy54.js +0 -2
- package/dist/client/static/js/index-sbd5e816.js +0 -1
- package/dist/client/static/js/info-A6RAGUB7-fmjz8qwg.js +0 -1
- package/dist/client/static/js/ini-72yrpvd4.js +0 -1
- package/dist/client/static/js/java-ab5tb2ra.js +0 -1
- package/dist/client/static/js/jsx-25zj9j3k.js +0 -1
- package/dist/client/static/js/lua-j5w0c9wm.js +0 -1
- package/dist/client/static/js/markdown-j6hn4377.js +0 -1
- package/dist/client/static/js/one-dark-pro-bm3r4js7.js +0 -1
- package/dist/client/static/js/one-light-e07dt7sy.js +0 -1
- package/dist/client/static/js/packet-AYTQ26CC-cwr6n1cm.js +0 -1
- package/dist/client/static/js/pie-WAS4IAKB-h1ebfzgt.js +0 -1
- package/dist/client/static/js/properties-q8njes42.js +0 -1
- package/dist/client/static/js/python-vqxc7181.js +0 -1
- package/dist/client/static/js/r-0k5eej8m.js +0 -1
- package/dist/client/static/js/radar-RG4KPBEZ-k7p1m364.js +0 -1
- package/dist/client/static/js/railroad-74A4TZTK-d08dw3t0.js +0 -1
- package/dist/client/static/js/railroad-abnf-HS5TGJTU-txnjycgk.js +0 -1
- package/dist/client/static/js/railroad-ebnf-LZEXJU2U-p0r3cv6w.js +0 -1
- package/dist/client/static/js/railroad-peg-WCYAUIDC-sryk900a.js +0 -1
- package/dist/client/static/js/swimlanesDiagram-TC7HE7FX-c1czc7kv.js +0 -8
- package/dist/client/static/js/treeView-Q6P3EWNA-77kj68p1.js +0 -1
- package/dist/client/static/js/treemap-WGGIJYW6-rw94xc82.js +0 -1
- package/dist/client/static/js/tsx-yd5wt250.js +0 -1
- package/dist/client/static/js/typescript-v7z7crfe.js +0 -1
- package/dist/client/static/js/wardley-WFR3VGLG-18xe4fhz.js +0 -1
- package/dist/client/static/js/xml-94fhzrfs.js +0 -1
- package/dist/client/static/js/yaml-s8af9rnw.js +0 -1
- package/src/client/components/settings/categories/connect-settings/qr-image.ts +0 -76
- package/src/server/lib/connect/cloudflared.server.test.ts +0 -65
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{of}from"./index-0b1kwsam.js";export{of as createInfoServices};
|
package/dist/client/static/js/{infoDiagram-VRGFBTTK-g2dky5xg.js → infoDiagram-VRGFBTTK-ktc8nb8g.js}
RENAMED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{t,l,te,de}from"./index-
|
|
1
|
+
import{t,l,te,de}from"./index-ctgefatv.js";import{Te}from"./index-0b1kwsam.js";var n={parse:t(async(r)=>{let e=await Te("info",r);l.debug(e)},"parse")},i={version:"12.0.0"},s=t(()=>i.version,"getVersion"),p={getVersion:s},g=t((r,e,o)=>{l.debug(`rendering info diagram
|
|
2
2
|
`+r);let a=de(e);te(a,100,400,!0),a.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${o}`)},"draw"),m={draw:g},y={parser:n,db:p,renderer:m};export{y as diagram};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{IA}from"./index-dmgawfhw.js";export{IA as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{t,x,te,R,L,z,O,U,j,G,p,de,kn,y}from"./index-
|
|
1
|
+
import{t,x,te,R,L,z,O,U,j,G,p,de,kn,y}from"./index-ctgefatv.js";var ct=function(){var e=t(function(C,i,n,s){for(n=n||{},s=C.length;s--;n[C[s]]=i);return n},"o"),d=[1,4],r=[1,14],l=[1,12],o=[1,13],f=[6,7,8],k=[1,20],u=[1,18],_=[1,19],c=[6,7,11],b=[1,6,13,14],w=[1,23],S=[1,24],E=[1,6,7,11,13,14],F={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"ISHIKAWA",11:"EOF",13:"SPACELIST",14:"TEXT"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,1],[12,1],[12,1]],performAction:t(function(i,n,s,h,g,a,A){var v=a.length-1;switch(g){case 6:case 7:return h;case 15:h.addNode(a[v-1].length,a[v].trim());break;case 16:h.addNode(0,a[v].trim());break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:d},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:d},{6:r,7:[1,10],9:9,12:11,13:l,14:o},e(f,[2,3]),{1:[2,2]},e(f,[2,4]),e(f,[2,5]),{1:[2,6],6:r,12:15,13:l,14:o},{6:r,9:16,12:11,13:l,14:o},{6:k,7:u,10:17,11:_},e(c,[2,18],{14:[1,21]}),e(c,[2,16]),e(c,[2,17]),{6:k,7:u,10:22,11:_},{1:[2,7],6:r,12:15,13:l,14:o},e(b,[2,14],{7:w,11:S}),e(E,[2,8]),e(E,[2,9]),e(E,[2,10]),e(c,[2,15]),e(b,[2,13],{7:w,11:S}),e(E,[2,11]),e(E,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:t(function(i,n){if(n.recoverable)this.trace(i);else{var s=Error(i);throw s.hash=n,s}},"parseError"),parse:t(function(i){var n=this,s=[0],h=[],g=[null],a=[],A=this.table,v="",B=0,I=0,P=0,N=2,Z=1,nt=a.slice.call(arguments,1),m=Object.create(this.lexer),T={yy:{}};for(var Y in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,Y))T.yy[Y]=this.yy[Y];if(m.setInput(i,T.yy),T.yy.lexer=m,T.yy.parser=this,typeof m.yylloc>"u")m.yylloc={};var K=m.yylloc;a.push(K);var at=m.options&&m.options.ranges;if(typeof T.yy.parseError==="function")this.parseError=T.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function bt(W){s.length=s.length-2*W,g.length=g.length-W,a.length=a.length-W}t(bt,"popStack");function ut(){var W=h.pop()||m.lex()||Z;if(typeof W!=="number"){if(W instanceof Array)h=W,W=h.pop();W=n.symbols_[W]||W}return W}t(ut,"lex");var D,rt,q,V,Ot,lt,Q={},et,X,dt,it;while(!0){if(q=s[s.length-1],this.defaultActions[q])V=this.defaultActions[q];else{if(D===null||typeof D>"u")D=ut();V=A[q]&&A[q][D]}if(typeof V>"u"||!V.length||!V[0]){var ot="";it=[];for(et in A[q])if(this.terminals_[et]&&et>N)it.push("'"+this.terminals_[et]+"'");if(m.showPosition)ot="Parse error on line "+(B+1)+`:
|
|
2
2
|
`+m.showPosition()+`
|
|
3
3
|
Expecting `+it.join(", ")+", got '"+(this.terminals_[D]||D)+"'";else ot="Parse error on line "+(B+1)+": Unexpected "+(D==Z?"end of input":"'"+(this.terminals_[D]||D)+"'");this.parseError(ot,{text:m.match,token:this.terminals_[D]||D,line:m.yylineno,loc:K,expected:it})}if(V[0]instanceof Array&&V.length>1)throw Error("Parse Error: multiple actions possible at state: "+q+", token: "+D);switch(V[0]){case 1:if(s.push(D),g.push(m.yytext),a.push(m.yylloc),s.push(V[1]),D=null,!rt){if(I=m.yyleng,v=m.yytext,B=m.yylineno,K=m.yylloc,P>0)P--}else D=rt,rt=null;break;case 2:if(X=this.productions_[V[1]][1],Q.$=g[g.length-X],Q._$={first_line:a[a.length-(X||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(X||1)].first_column,last_column:a[a.length-1].last_column},at)Q._$.range=[a[a.length-(X||1)].range[0],a[a.length-1].range[1]];if(lt=this.performAction.apply(Q,[v,I,B,T.yy,V[1],g,a].concat(nt)),typeof lt<"u")return lt;if(X)s=s.slice(0,-1*X*2),g=g.slice(0,-1*X),a=a.slice(0,-1*X);s.push(this.productions_[V[1]][0]),g.push(Q.$),a.push(Q._$),dt=A[s[s.length-2]][s[s.length-1]],s.push(dt);break;case 3:return!0}}return!0},"parse")},H=function(){var C={EOF:1,parseError:t(function(n,s){if(this.yy.parser)this.yy.parser.parseError(n,s);else throw Error(n)},"parseError"),setInput:t(function(i,n){if(this.yy=n||this.yy||{},this._input=i,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 i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var n=i.match(/(?:\r\n?|\n).*/g);if(n)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),i},"input"),unput:t(function(i){var n=i.length,s=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var h=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 g=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===h.length?this.yylloc.first_column:0)+h[h.length-s.length].length-s[0].length:this.yylloc.first_column-n},this.options.ranges)this.yylloc.range=[g[0],g[0]+this.yyleng-n];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).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(i){this.unput(this.match.slice(i))},"less"),pastInput:t(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var i=this.match;if(i.length<20)i+=this._input.substr(0,20-i.length);return(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var i=this.pastInput(),n=Array(i.length+1).join("-");return i+this.upcomingInput()+`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Qf}from"./index-8cy3x2y8.js";export{Qf as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{t,te,R,L,z,O,U,j,G,p,h,Lr,xn}from"./index-
|
|
1
|
+
import{t,te,R,L,z,O,U,j,G,p,h,Lr,xn}from"./index-ctgefatv.js";import{Oi,fu,pA,tr}from"./index-h1e1abpt.js";var it=function(){var e=t(function(u,n,s,l){for(s=s||{},l=u.length;l--;s[u[l]]=n);return s},"o"),r=[6,8,10,11,12,14,16,17,18],a=[1,9],g=[1,10],i=[1,11],y=[1,12],m=[1,13],o=[1,14],x={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:t(function(n,s,l,d,f,c,w){var _=c.length-1;switch(f){case 1:return c[_-1];case 2:this.$=[];break;case 3:c[_-1].push(c[_]),this.$=c[_-1];break;case 4:case 5:this.$=c[_];break;case 6:case 7:this.$=[];break;case 8:d.setDiagramTitle(c[_].substr(6)),this.$=c[_].substr(6);break;case 9:this.$=c[_].trim(),d.setAccTitle(this.$);break;case 10:case 11:this.$=c[_].trim(),d.setAccDescription(this.$);break;case 12:d.addSection(c[_].substr(8)),this.$=c[_].substr(8);break;case 13:d.addTask(c[_-1],c[_]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},e(r,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:a,12:g,14:i,16:y,17:m,18:o},e(r,[2,7],{1:[2,1]}),e(r,[2,3]),{9:15,11:a,12:g,14:i,16:y,17:m,18:o},e(r,[2,5]),e(r,[2,6]),e(r,[2,8]),{13:[1,16]},{15:[1,17]},e(r,[2,11]),e(r,[2,12]),{19:[1,18]},e(r,[2,4]),e(r,[2,9]),e(r,[2,10]),e(r,[2,13])],defaultActions:{},parseError:t(function(n,s){if(s.recoverable)this.trace(n);else{var l=Error(n);throw l.hash=s,l}},"parseError"),parse:t(function(n){var s=this,l=[0],d=[],f=[null],c=[],w=this.table,_="",A=0,lt=0,ot=0,bt=2,ct=1,_t=c.slice.call(arguments,1),v=Object.create(this.lexer),V={yy:{}};for(var K in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,K))V.yy[K]=this.yy[K];if(v.setInput(n,V.yy),V.yy.lexer=v,V.yy.parser=this,typeof v.yylloc>"u")v.yylloc={};var Q=v.yylloc;c.push(Q);var vt=v.options&&v.options.ranges;if(typeof V.yy.parseError==="function")this.parseError=V.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function wt(M){l.length=l.length-2*M,f.length=f.length-M,c.length=c.length-M}t(wt,"popStack");function ht(){var M=d.pop()||v.lex()||ct;if(typeof M!=="number"){if(M instanceof Array)d=M,M=d.pop();M=s.symbols_[M]||M}return M}t(ht,"lex");var T,D,B,S,qt,tt,N={},H,P,ut,Z;while(!0){if(B=l[l.length-1],this.defaultActions[B])S=this.defaultActions[B];else{if(T===null||typeof T>"u")T=ht();S=w[B]&&w[B][T]}if(typeof S>"u"||!S.length||!S[0]){var et="";Z=[];for(H in w[B])if(this.terminals_[H]&&H>bt)Z.push("'"+this.terminals_[H]+"'");if(v.showPosition)et="Parse error on line "+(A+1)+`:
|
|
2
2
|
`+v.showPosition()+`
|
|
3
3
|
Expecting `+Z.join(", ")+", got '"+(this.terminals_[T]||T)+"'";else et="Parse error on line "+(A+1)+": Unexpected "+(T==ct?"end of input":"'"+(this.terminals_[T]||T)+"'");this.parseError(et,{text:v.match,token:this.terminals_[T]||T,line:v.yylineno,loc:Q,expected:Z})}if(S[0]instanceof Array&&S.length>1)throw Error("Parse Error: multiple actions possible at state: "+B+", token: "+T);switch(S[0]){case 1:if(l.push(T),f.push(v.yytext),c.push(v.yylloc),l.push(S[1]),T=null,!D){if(lt=v.yyleng,_=v.yytext,A=v.yylineno,Q=v.yylloc,ot>0)ot--}else T=D,D=null;break;case 2:if(P=this.productions_[S[1]][1],N.$=f[f.length-P],N._$={first_line:c[c.length-(P||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(P||1)].first_column,last_column:c[c.length-1].last_column},vt)N._$.range=[c[c.length-(P||1)].range[0],c[c.length-1].range[1]];if(tt=this.performAction.apply(N,[_,lt,A,V.yy,S[1],f,c].concat(_t)),typeof tt<"u")return tt;if(P)l=l.slice(0,-1*P*2),f=f.slice(0,-1*P),c=c.slice(0,-1*P);l.push(this.productions_[S[1]][0]),f.push(N.$),c.push(N._$),ut=w[l[l.length-2]][l[l.length-1]],l.push(ut);break;case 3:return!0}}return!0},"parse")},k=function(){var u={EOF:1,parseError:t(function(s,l){if(this.yy.parser)this.yy.parser.parseError(s,l);else throw Error(s)},"parseError"),setInput:t(function(n,s){if(this.yy=s||this.yy||{},this._input=n,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 n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var s=n.match(/(?:\r\n?|\n).*/g);if(s)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),n},"input"),unput:t(function(n){var s=n.length,l=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var d=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),l.length-1)this.yylineno-=l.length-1;var f=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:l?(l.length===d.length?this.yylloc.first_column:0)+d[d.length-l.length].length-l[0].length:this.yylloc.first_column-s},this.options.ranges)this.yylloc.range=[f[0],f[0]+this.yyleng-s];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).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(n){this.unput(this.match.slice(n))},"less"),pastInput:t(function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var n=this.match;if(n.length<20)n+=this._input.substr(0,20-n.length);return(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var n=this.pastInput(),s=Array(n.length+1).join("-");return n+this.upcomingInput()+`
|
|
@@ -136,4 +136,4 @@ Expecting `+Z.join(", ")+", got '"+(this.terminals_[T]||T)+"'";else et="Parse er
|
|
|
136
136
|
${e.actor5?`fill: ${e.actor5}`:""};
|
|
137
137
|
}
|
|
138
138
|
${xn()}
|
|
139
|
-
`,"getStyles"),Vt=Ft,at=t(function(e,r){return Oi(e,r)},"drawRect"),Rt=t(function(e,r){let g=e.append("circle").attr("cx",r.cx).attr("cy",r.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),i=e.append("g");i.append("circle").attr("cx",r.cx-5).attr("cy",r.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),i.append("circle").attr("cx",r.cx+5).attr("cy",r.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function y(x){let k=Lr().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);x.append("path").attr("class","mouth").attr("d",k).attr("transform","translate("+r.cx+","+(r.cy+2)+")")}t(y,"smile");function m(x){let k=Lr().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);x.append("path").attr("class","mouth").attr("d",k).attr("transform","translate("+r.cx+","+(r.cy+7)+")")}t(m,"sad");function o(x){x.append("line").attr("class","mouth").attr("stroke",2).attr("x1",r.cx-5).attr("y1",r.cy+7).attr("x2",r.cx+5).attr("y2",r.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}if(t(o,"ambivalent"),r.score>3)y(i);else if(r.score<3)m(i);else o(i);return g},"drawFace"),gt=t(function(e,r){let a=e.append("circle");if(a.attr("cx",r.cx),a.attr("cy",r.cy),a.attr("class","actor-"+r.pos),a.attr("fill",r.fill),a.attr("stroke",r.stroke),a.attr("r",r.r),a.class!==void 0)a.attr("class",a.class);if(r.title!==void 0)a.append("title").text(r.title);return a},"drawCircle"),mt=t(function(e,r){return
|
|
139
|
+
`,"getStyles"),Vt=Ft,at=t(function(e,r){return Oi(e,r)},"drawRect"),Rt=t(function(e,r){let g=e.append("circle").attr("cx",r.cx).attr("cy",r.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),i=e.append("g");i.append("circle").attr("cx",r.cx-5).attr("cy",r.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),i.append("circle").attr("cx",r.cx+5).attr("cy",r.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666");function y(x){let k=Lr().startAngle(Math.PI/2).endAngle(3*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);x.append("path").attr("class","mouth").attr("d",k).attr("transform","translate("+r.cx+","+(r.cy+2)+")")}t(y,"smile");function m(x){let k=Lr().startAngle(3*Math.PI/2).endAngle(5*(Math.PI/2)).innerRadius(7.5).outerRadius(6.8181818181818175);x.append("path").attr("class","mouth").attr("d",k).attr("transform","translate("+r.cx+","+(r.cy+7)+")")}t(m,"sad");function o(x){x.append("line").attr("class","mouth").attr("stroke",2).attr("x1",r.cx-5).attr("y1",r.cy+7).attr("x2",r.cx+5).attr("y2",r.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}if(t(o,"ambivalent"),r.score>3)y(i);else if(r.score<3)m(i);else o(i);return g},"drawFace"),gt=t(function(e,r){let a=e.append("circle");if(a.attr("cx",r.cx),a.attr("cy",r.cy),a.attr("class","actor-"+r.pos),a.attr("fill",r.fill),a.attr("stroke",r.stroke),a.attr("r",r.r),a.class!==void 0)a.attr("class",a.class);if(r.title!==void 0)a.append("title").text(r.title);return a},"drawCircle"),mt=t(function(e,r){return pA(e,r)},"drawText"),Lt=t(function(e,r){function a(i,y,m,o,x){return i+","+y+" "+(i+m)+","+y+" "+(i+m)+","+(y+o-x)+" "+(i+m-x*1.2)+","+(y+o)+" "+i+","+(y+o)}t(a,"genPoints");let g=e.append("polygon");g.attr("points",a(r.x,r.y,50,20,7)),g.attr("class","labelBox"),r.y=r.y+r.labelMargin,r.x=r.x+0.5*r.labelMargin,mt(e,r)},"drawLabel"),Bt=t(function(e,r,a){let g=e.append("g"),i=tr();i.x=r.x,i.y=r.y,i.fill=r.fill,i.width=a.width*r.taskCount+a.diagramMarginX*(r.taskCount-1),i.height=a.height,i.class="journey-section section-type-"+r.num,i.rx=3,i.ry=3,at(g,i),xt(a)(r.text,g,i.x,i.y,i.width,i.height,{class:"journey-section section-type-"+r.num},a,r.colour)},"drawSection"),nt=-1,jt=t(function(e,r,a,g){let i=r.x+a.width/2,y=e.append("g");nt++;let m=450;y.append("line").attr("id",g+"-task"+nt).attr("x1",i).attr("y1",r.y).attr("x2",i).attr("y2",m).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),Rt(y,{cx:i,cy:300+(5-r.score)*30,score:r.score});let o=tr();o.x=r.x,o.y=r.y,o.fill=r.fill,o.width=a.width,o.height=a.height,o.class="task task-type-"+r.num,o.rx=3,o.ry=3,at(y,o);let x=r.x+14;r.people.forEach((k)=>{let b=r.actors[k].color,u={cx:x,cy:r.y,r:7,fill:b,stroke:"#000",title:k,pos:r.actors[k].position};gt(y,u),x+=10}),xt(a)(r.task,y,o.x,o.y,o.width,o.height,{class:"task"},a,r.colour)},"drawTask"),Nt=t(function(e,r){fu(e,r)},"drawBackgroundRect"),xt=function(){function e(i,y,m,o,x,k,b,u){let n=y.append("text").attr("x",m+x/2).attr("y",o+k/2+5).style("font-color",u).style("text-anchor","middle").text(i);g(n,b)}t(e,"byText");function r(i,y,m,o,x,k,b,u,n){let{taskFontSize:s,taskFontFamily:l}=u,d=i.split(/<br\s*\/?>/gi);for(let f=0;f<d.length;f++){let c=f*s-s*(d.length-1)/2,w=y.append("text").attr("x",m+x/2).attr("y",o).attr("fill",n).style("text-anchor","middle").style("font-size",s).style("font-family",l);w.append("tspan").attr("x",m+x/2).attr("dy",c).text(d[f]),w.attr("y",o+k/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),g(w,b)}}t(r,"byTspan");function a(i,y,m,o,x,k,b,u){let n=y.append("switch"),l=n.append("foreignObject").attr("x",m).attr("y",o).attr("width",x).attr("height",k).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");l.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(i),r(i,n,m,o,x,k,b,u),g(l,b)}t(a,"byFo");function g(i,y){for(let m in y)if(m in y)i.attr(m,y[m])}return t(g,"_setTextAttrs"),function(i){return i.textPlacement==="fo"?a:i.textPlacement==="old"?e:r}}(),zt=t(function(e,r){nt=-1,e.append("defs").append("marker").attr("id",r+"-arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},"initGraphics"),X={drawRect:at,drawCircle:gt,drawSection:Bt,drawText:mt,drawLabel:Lt,drawTask:jt,drawBackgroundRect:Nt,initGraphics:zt},Wt=t(function(e){Object.keys(e).forEach(function(a){C[a]=e[a]})},"setConf"),I={},J=0;function kt(e){let r=p().journey,a=r.maxLabelWidth;J=0;let g=60;Object.keys(I).forEach((i)=>{let y=I[i].color,m={cx:20,cy:g,r:7,fill:y,stroke:"#000",pos:I[i].position};X.drawCircle(e,m);let o=e.append("text").attr("visibility","hidden").text(i),x=o.node().getBoundingClientRect().width;o.remove();let k=[];if(x<=a)k=[i];else{let b=i.split(" "),u="";if(o=e.append("text").attr("visibility","hidden"),b.forEach((n)=>{let s=u?`${u} ${n}`:n;if(o.text(s),o.node().getBoundingClientRect().width>a){if(u)k.push(u);if(u=n,o.text(n),o.node().getBoundingClientRect().width>a){let d="";for(let f of n)if(d+=f,o.text(d+"-"),o.node().getBoundingClientRect().width>a)k.push(d.slice(0,-1)+"-"),d=f;u=d}}else u=s}),u)k.push(u);o.remove()}k.forEach((b,u)=>{let n={x:40,y:g+7+u*20,fill:"#666",text:b,textMargin:r.boxTextMargin??5},l=X.drawText(e,n).node().getBoundingClientRect().width;if(l>J&&l>r.leftMargin-l)J=l}),g+=Math.max(20,k.length*20)})}t(kt,"drawActorLegend");var C=p().journey,F=0,Ot=t(function(e,r,a,g){let i=p(),y=i.journey.titleColor,m=i.journey.titleFontSize,o=i.journey.titleFontFamily,x=i.securityLevel,k;if(x==="sandbox")k=h("#i"+r);let b=x==="sandbox"?h(k.nodes()[0].contentDocument.body):h("body");E.init();let u=b.select("#"+r);X.initGraphics(u,r);let n=g.db.getTasks(),s=g.db.getDiagramTitle(),l=g.db.getActors();for(let A in I)delete I[A];let d=0;l.forEach((A)=>{I[A]={color:C.actorColours[d%C.actorColours.length],position:d},d++}),kt(u),F=C.leftMargin+J,E.insert(0,0,F,Object.keys(I).length*50),Yt(u,n,0,r);let f=E.getBounds();if(s)u.append("text").text(s).attr("x",F).attr("font-size",m).attr("font-weight","bold").attr("y",25).attr("fill",y).attr("font-family",o);let c=f.stopy-f.starty+2*C.diagramMarginY,w=F+f.stopx+2*C.diagramMarginX;te(u,c,w,C.useMaxWidth),u.append("line").attr("x1",F).attr("y1",C.height*4).attr("x2",w-F-4).attr("y2",C.height*4).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#"+r+"-arrowhead)");let _=s?70:0;u.attr("viewBox",`${f.startx} -25 ${w} ${c+_}`),u.attr("preserveAspectRatio","xMinYMin meet"),u.attr("height",c+_+25)},"draw"),E={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:t(function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},"init"),updateVal:t(function(e,r,a,g){if(e[r]===void 0)e[r]=a;else e[r]=g(a,e[r])},"updateVal"),updateBounds:t(function(e,r,a,g){let i=p().journey,y=this,m=0;function o(x){return t(function(b){m++;let u=y.sequenceItems.length-m+1;if(y.updateVal(b,"starty",r-u*i.boxMargin,Math.min),y.updateVal(b,"stopy",g+u*i.boxMargin,Math.max),y.updateVal(E.data,"startx",e-u*i.boxMargin,Math.min),y.updateVal(E.data,"stopx",a+u*i.boxMargin,Math.max),x!=="activation")y.updateVal(b,"startx",e-u*i.boxMargin,Math.min),y.updateVal(b,"stopx",a+u*i.boxMargin,Math.max),y.updateVal(E.data,"starty",r-u*i.boxMargin,Math.min),y.updateVal(E.data,"stopy",g+u*i.boxMargin,Math.max)},"updateItemBounds")}t(o,"updateFn"),this.sequenceItems.forEach(o())},"updateBounds"),insert:t(function(e,r,a,g){let i=Math.min(e,a),y=Math.max(e,a),m=Math.min(r,g),o=Math.max(r,g);this.updateVal(E.data,"startx",i,Math.min),this.updateVal(E.data,"starty",m,Math.min),this.updateVal(E.data,"stopx",y,Math.max),this.updateVal(E.data,"stopy",o,Math.max),this.updateBounds(i,m,y,o)},"insert"),bumpVerticalPos:t(function(e){this.verticalPos=this.verticalPos+e,this.data.stopy=this.verticalPos},"bumpVerticalPos"),getVerticalPos:t(function(){return this.verticalPos},"getVerticalPos"),getBounds:t(function(){return this.data},"getBounds")},{sectionFills:rt,sectionColours:ft}=C,Yt=t(function(e,r,a,g){let i=p().journey,y="",m=i.height*2+i.diagramMarginY,o=a+m,x=0,k="#CCC",b="black",u=0;for(let[n,s]of r.entries()){if(y!==s.section){k=rt[x%rt.length],u=x%rt.length,b=ft[x%ft.length];let d=0,f=s.section;for(let w=n;w<r.length;w++)if(r[w].section==f)d=d+1;else break;let c={x:n*i.taskMargin+n*i.width+F,y:50,text:s.section,fill:k,num:u,colour:b,taskCount:d};X.drawSection(e,c,i),y=s.section,x++}let l=s.people.reduce((d,f)=>{if(I[f])d[f]=I[f];return d},{});s.x=n*i.taskMargin+n*i.width+F,s.y=o,s.width=i.diagramMarginX,s.height=i.diagramMarginY,s.colour=b,s.fill=k,s.num=u,s.actors=l,X.drawTask(e,s,i,g),E.insert(s.x,s.y,s.x+s.width+i.taskMargin,450)}},"drawTasks"),pt={setConf:Wt,draw:Ot},Qt={parser:Tt,db:dt,renderer:pt,styles:Vt,init:t((e)=>{pt.setConf(e.journey),dt.clear()},"init")};export{Qt as diagram};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Xf}from"./index-r8pckaqe.js";export{Xf as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./index-9t82sx0w.js";import{zl}from"./index-1wjp16f0.js";import{Ff}from"./index-pzbssnsc.js";import{Pe}from"./index-0j518hqm.js";import{Tf}from"./index-6f6cmcbq.js";import{da}from"./index-8acv5b77.js";var e=Object.freeze(JSON.parse(`{"displayName":"Julia","name":"julia","patterns":[{"include":"#operator"},{"include":"#array"},{"include":"#string"},{"include":"#parentheses"},{"include":"#bracket"},{"include":"#function_decl"},{"include":"#function_call"},{"include":"#for_block"},{"include":"#keyword"},{"include":"#number"},{"include":"#comment"},{"include":"#type_decl"},{"include":"#symbol"},{"include":"#punctuation"}],"repository":{"array":{"patterns":[{"begin":"\\\\[","beginCaptures":{"0":{"name":"meta.bracket.julia"}},"end":"(])(\\\\.?'*)","endCaptures":{"1":{"name":"meta.bracket.julia"},"2":{"name":"keyword.operator.transpose.julia"}},"name":"meta.array.julia","patterns":[{"match":"\\\\bbegin\\\\b","name":"constant.numeric.julia"},{"match":"\\\\bend\\\\b","name":"constant.numeric.julia"},{"include":"#self_no_for_block"}]}]},"bracket":{"patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"meta.bracket.julia"}},"end":"(})(\\\\.?'*)","endCaptures":{"1":{"name":"meta.bracket.julia"},"2":{"name":"keyword.operator.transpose.julia"}},"patterns":[{"include":"#self_no_for_block"}]}]},"comment":{"patterns":[{"include":"#comment_block"},{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.julia"}},"end":"\\\\n","name":"comment.line.number-sign.julia","patterns":[{"include":"#comment_tags"}]}]},"comment_block":{"patterns":[{"begin":"#=","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.julia"}},"end":"=#","endCaptures":{"0":{"name":"punctuation.definition.comment.end.julia"}},"name":"comment.block.number-sign-equals.julia","patterns":[{"include":"#comment_tags"},{"include":"#comment_block"}]}]},"comment_tags":{"patterns":[{"match":"\\\\bTODO\\\\b","name":"keyword.other.comment-annotation.julia"},{"match":"\\\\bFIXME\\\\b","name":"keyword.other.comment-annotation.julia"},{"match":"\\\\bCHANGED\\\\b","name":"keyword.other.comment-annotation.julia"},{"match":"\\\\bXXX\\\\b","name":"keyword.other.comment-annotation.julia"}]},"for_block":{"patterns":[{"begin":"\\\\b(for)\\\\b","beginCaptures":{"0":{"name":"keyword.control.julia"}},"end":"(?<![,\\\\s])(\\\\s*\\\\n)","patterns":[{"match":"\\\\bouter\\\\b","name":"keyword.other.julia"},{"include":"$self"}]}]},"function_call":{"patterns":[{"begin":"([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)(\\\\{(?:[^{}]|\\\\{(?:[^{}]|\\\\{[^{}]*})*})*})?\\\\.?(\\\\()","beginCaptures":{"1":{"name":"support.function.julia"},"2":{"name":"support.type.julia"},"3":{"name":"meta.bracket.julia"}},"end":"\\\\)(('|(\\\\.'))*\\\\.?')?","endCaptures":{"0":{"name":"meta.bracket.julia"},"1":{"name":"keyword.operator.transposed-func.julia"}},"patterns":[{"include":"#self_no_for_block"}]}]},"function_decl":{"patterns":[{"captures":{"1":{"name":"entity.name.function.julia"},"2":{"name":"support.type.julia"}},"match":"([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)(\\\\{(?:[^{}]|\\\\{(?:[^{}]|\\\\{[^{}]*})*})*})?(?=\\\\([^#]*\\\\)(::\\\\S+)?(\\\\s*\\\\bwhere\\\\b\\\\s+.+?)?\\\\s*?=(?![=>]))"},{"captures":{"1":{"name":"keyword.other.julia"},"2":{"name":"keyword.operator.dots.julia"},"3":{"name":"entity.name.function.julia"},"4":{"name":"support.type.julia"}},"match":"\\\\b(function|macro)(?:\\\\s+(?:[_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*(\\\\.))?([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)(\\\\{(?:[^{}]|\\\\{(?:[^{}]|\\\\{[^{}]*})*})*})?|\\\\s*)(?=\\\\()"}]},"keyword":{"patterns":[{"match":"\\\\b(?<![.:_])(?:function|mutable\\\\s+struct|struct|macro|quote|abstract\\\\s+type|primitive\\\\s+type|typegroup|module|baremodule|where)\\\\b","name":"keyword.other.julia"},{"match":"\\\\b(?<![:_])(?:if|else|elseif|for|while|begin|let|do|try|catch|finally|return|break|continue)\\\\b","name":"keyword.control.julia"},{"match":"\\\\b(?<![:_])end\\\\b","name":"keyword.control.end.julia"},{"match":"\\\\b(?<![:_])(?:global|local|const)\\\\b","name":"keyword.storage.modifier.julia"},{"match":"\\\\b(?<![:_])export\\\\b","name":"keyword.control.export.julia"},{"match":"^public\\\\b","name":"keyword.control.public.julia"},{"match":"\\\\b(?<![:_])import\\\\b","name":"keyword.control.import.julia"},{"match":"\\\\b(?<![:_])using\\\\b","name":"keyword.control.using.julia"},{"match":"(?<=\\\\S\\\\s+)\\\\b(as)\\\\b(?=\\\\s+\\\\S)","name":"keyword.control.as.julia"},{"match":"@(\\\\.|[_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*|[[\\\\p{S}\\\\p{P}]&&[^@\\\\s]]+)","name":"support.function.macro.julia"}]},"number":{"patterns":[{"captures":{"1":{"name":"constant.numeric.julia"},"2":{"name":"keyword.operator.conjugate-number.julia"}},"match":"((?<![!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]])\\\\b(?:0[Xx]\\\\h(?:_?\\\\h)*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:[0-9](?:_?[0-9])*\\\\.?(?!\\\\.)[0-9_]*|\\\\.[0-9](?:_?[0-9])*)(?:[Eef][-+]?[0-9](?:_?[0-9])*)?(?:(?:im|Inf(?:16|32|64)?|NaN(?:16|32|64)?|π|pi|ℯ)\\\\b)?|[0-9]+|Inf(?:16|32|64)?\\\\b|NaN(?:16|32|64)?\\\\b|π\\\\b|pi\\\\b|ℯ\\\\b))('*)"},{"match":"\\\\b(?:ARGS|C_NULL|DEPOT_PATH|ENDIAN_BOM|ENV|LOAD_PATH|PROGRAM_FILE|stdin|stdout|stderr|VERSION|devnull)\\\\b","name":"constant.global.julia"},{"match":"\\\\b(?:true|false|nothing|missing)\\\\b","name":"constant.language.julia"}]},"operator":{"patterns":[{"match":"\\\\.?(?:<-->|->|-->|<--|[←→↔↚-↞↠↢↣↤↦↩-↬↮↶↷↺-↽⇀⇁⇄⇆⇇⇉⇋-⇐⇒⇔⇚-⇝⇠⇢⇴⇶-⇿⟵⟶⟷⟹-⟿⤀-⤇⤌-⤑⤔-⤘⤝-⤠⥄-⥈⥊⥋⥎⥐⥒⥓⥖⥗⥚⥛⥞⥟⥢⥤⥦-⥭⥰⥷⥺⧴⬰-⭄⭇-⭌←→]|=>)","name":"keyword.operator.arrow.julia"},{"match":":=|\\\\+=|-=|\\\\*=|//=|/=|\\\\.//=|\\\\./=|\\\\.\\\\*=|\\\\\\\\=|\\\\.\\\\\\\\=|\\\\^=|\\\\.\\\\^=|%=|\\\\.%=|÷=|\\\\.÷=|\\\\|=|&=|\\\\.&=|⊻=|\\\\.⊻=|\\\\$=|<<=|>>=|>>>=|=(?!=)","name":"keyword.operator.update.julia"},{"match":"<<|>>>?|\\\\.>>>?|\\\\.<<","name":"keyword.operator.shift.julia"},{"captures":{"1":{"name":"keyword.operator.relation.types.julia"},"2":{"name":"support.type.julia"},"3":{"name":"keyword.operator.transpose.julia"}},"match":"\\\\s*([:<>]:)\\\\s*((?:Union)?\\\\([^)]*\\\\)|[$_∇[:alpha:]][!.′⁺-ₜ[:word:]]*(?:\\\\{(?:[^{}]|\\\\{(?:[^{}]|\\\\{[^{}]*})*})*}|\\".+?(?<!\\\\\\\\)\\")?)(?:\\\\.\\\\.\\\\.)?(\\\\.?'*)"},{"match":"(\\\\.?((?<!<)<=|(?<!>)>=|[<>≤≥]|===?|≡|!=|≠|!==|[∈-∍∝∥∦∷∺∻∽∾≁-≎≐-≓≖-≟≢≣≦-⊋⊏-⊒⊜⊢⊣⊩⊬⊮⊰-⊷⋍⋐⋑⋕-⋭⋲-⋿⟂⟈⟉⟒⦷⧀⧁⧡⧣⧤⧥⩦⩧⩪-⩳⩵-⫙⫪⫫⫷-⫺]|<:|>:))","name":"keyword.operator.relation.julia"},{"match":"(?<=\\\\s)\\\\?(?=\\\\s)","name":"keyword.operator.ternary.julia"},{"match":"(?<=\\\\s):(?=\\\\s)","name":"keyword.operator.ternary.julia"},{"match":"\\\\|\\\\||&&|(?<![!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]])!","name":"keyword.operator.boolean.julia"},{"match":"(?<=[]!)}′⁺-ₜ∇[:word:]]):","name":"keyword.operator.range.julia"},{"match":"\\\\|>","name":"keyword.operator.applies.julia"},{"match":"\\\\||\\\\.\\\\||&|\\\\.&|[~¬]|\\\\.~|⊻|\\\\.⊻","name":"keyword.operator.bitwise.julia"},{"match":"\\\\.?(?:\\\\+\\\\+|--|[-*+|¦±−∓∔∨∪∸≏⊎⊔⊕⊖⊞⊟⊻⊽⋎⋓⟇⧺⧻⨈⨢-⨮⨹⨺⩁⩂⩅⩊⩌⩏⩐⩒⩔⩖⩗⩛⩝⩡⩢⩣]|//?|[%\\\\&\\\\\\\\^±·×÷·⅋↑↓⇵∓∗-∜∤∧∩≀⊍⊓⊗-⊛⊠⊡⊼⋄-⋇⋉-⋌⋏⋒⌿▷⟑⟕⟖⟗⟰⟱⤈-⤋⤒⤓⥉⥌⥍⥏⥑⥔⥕⥘⥙⥜⥝⥠⥡⥣⥥⥮⥯⦸⦼⦾⦿⧶⧷⨇⨝⨟⨰-⨸⨻⨼⨽⩀⩃⩄⩋⩍⩎⩑⩓⩕⩘⩚⩜⩞⩟⩠⫛↑↓])","name":"keyword.operator.arithmetic.julia"},{"match":"∘","name":"keyword.operator.compose.julia"},{"match":"::|(?<=\\\\s)isa(?=\\\\s)","name":"keyword.operator.isa.julia"},{"match":"(?<=\\\\s)in(?=\\\\s)","name":"keyword.operator.relation.in.julia"},{"match":"\\\\.(?=[@_\\\\p{L}])|\\\\.\\\\.+|[…⁝⋮-⋱]","name":"keyword.operator.dots.julia"},{"match":"\\\\$(?=.+)","name":"keyword.operator.interpolation.julia"},{"captures":{"2":{"name":"keyword.operator.transposed-variable.julia"}},"match":"([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)(('|(\\\\.'))*\\\\.?')"},{"captures":{"1":{"name":"bracket.end.julia"},"2":{"name":"keyword.operator.transposed-matrix.julia"}},"match":"(])((?:\\\\.??')*\\\\.?')"},{"captures":{"1":{"name":"bracket.end.julia"},"2":{"name":"keyword.operator.transposed-parens.julia"}},"match":"(\\\\))((?:\\\\.??')*\\\\.?')"}]},"parentheses":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"meta.bracket.julia"}},"end":"(\\\\))(\\\\.?'*)","endCaptures":{"1":{"name":"meta.bracket.julia"},"2":{"name":"keyword.operator.transpose.julia"}},"patterns":[{"include":"#self_no_for_block"}]}]},"punctuation":{"patterns":[{"match":",","name":"punctuation.separator.comma.julia"},{"match":";","name":"punctuation.separator.semicolon.julia"}]},"self_no_for_block":{"patterns":[{"include":"#operator"},{"include":"#array"},{"include":"#string"},{"include":"#parentheses"},{"include":"#bracket"},{"include":"#function_decl"},{"include":"#function_call"},{"include":"#keyword"},{"include":"#number"},{"include":"#comment"},{"include":"#type_decl"},{"include":"#symbol"},{"include":"#punctuation"}]},"string":{"patterns":[{"begin":"(@doc)\\\\s((?:doc)?\\"\\"\\")|(doc\\"\\"\\")","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"end":"(\\"\\"\\") ?(->)?","endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"keyword.operator.arrow.julia"}},"name":"string.docstring.julia","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"(i?cxx)(\\"\\"\\")","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"contentName":"meta.embedded.inline.cpp","end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}},"name":"embed.cxx.julia","patterns":[{"include":"source.cpp#root_context"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"(py)(\\"\\"\\")","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"contentName":"meta.embedded.inline.python","end":"([\\\\s\\\\w]*)(\\"\\"\\")","endCaptures":{"2":{"name":"punctuation.definition.string.end.julia"}},"name":"embed.python.julia","patterns":[{"include":"source.python"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"(js)(\\"\\"\\")","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"contentName":"meta.embedded.inline.javascript","end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}},"name":"embed.js.julia","patterns":[{"include":"source.js"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"(R)(\\"\\"\\")","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"contentName":"meta.embedded.inline.r","end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}},"name":"embed.R.julia","patterns":[{"include":"source.r"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"(raw)(\\"\\"\\")","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}},"name":"string.quoted.other.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"(raw)(\\")","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}},"name":"string.quoted.other.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"(sql)(\\"\\"\\")","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"contentName":"meta.embedded.inline.sql","end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}},"name":"embed.sql.julia","patterns":[{"include":"source.sql"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"var\\"\\"\\"","end":"\\"\\"\\"","name":"constant.other.symbol.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"var\\"","end":"\\"","name":"constant.other.symbol.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"^\\\\s?(doc)?(\\"\\"\\")\\\\s?$","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"end":"(\\"\\"\\")","endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"}},"name":"string.docstring.julia","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"}},"end":"'(?!')","endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}},"name":"string.quoted.single.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"\\"\\"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.multiline.begin.julia"}},"end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.multiline.end.julia"}},"name":"string.quoted.triple.double.julia","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"\\"(?!\\"\\")","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}},"name":"string.quoted.double.julia","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"r\\"\\"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.regexp.begin.julia"}},"end":"(\\"\\"\\")([imsx]{0,4})?","endCaptures":{"1":{"name":"punctuation.definition.string.regexp.end.julia"},"2":{"name":"keyword.other.option-toggle.regexp.julia"}},"name":"string.regexp.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"r\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.regexp.begin.julia"}},"end":"(\\")([imsx]{0,4})?","endCaptures":{"1":{"name":"punctuation.definition.string.regexp.end.julia"},"2":{"name":"keyword.other.option-toggle.regexp.julia"}},"name":"string.regexp.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"(?<!\\")([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)\\"\\"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"},"1":{"name":"support.function.macro.julia"}},"end":"(\\"\\"\\")([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)?","endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"support.function.macro.julia"}},"name":"string.quoted.other.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"(?<!\\")([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"},"1":{"name":"support.function.macro.julia"}},"end":"(?<![^\\\\\\\\]\\\\\\\\)(\\")([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)?","endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"support.function.macro.julia"}},"name":"string.quoted.other.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"(?<!\`)([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)?\`\`\`","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"},"1":{"name":"support.function.macro.julia"}},"end":"(\`\`\`)([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)?","endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"support.function.macro.julia"}},"name":"string.interpolated.backtick.julia","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"(?<!\`)([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)?\`","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"},"1":{"name":"support.function.macro.julia"}},"end":"(?<![^\\\\\\\\]\\\\\\\\)(\`)([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)?","endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"support.function.macro.julia"}},"name":"string.interpolated.backtick.julia","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}]}]},"string_dollar_sign_interpolate":{"patterns":[{"match":"\\\\$[_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}[^←-⇿\\\\P{So}][^$\\\\P{Sc}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}][^$\\\\P{Sc}]]*","name":"variable.interpolation.julia"},{"begin":"\\\\$(\\\\()","beginCaptures":{"1":{"name":"meta.bracket.julia"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.bracket.julia"}},"name":"variable.interpolation.julia","patterns":[{"include":"#self_no_for_block"}]}]},"string_escaped_char":{"patterns":[{"match":"\\\\\\\\(\\\\\\\\|[0-3]\\\\d{0,2}|[4-7]\\\\d?|x\\\\h{0,2}|u\\\\h{0,4}|U\\\\h{0,8}|.)","name":"constant.character.escape.julia"}]},"symbol":{"patterns":[{"match":"(?<![]!)}′⁺-ₜ∇[:word:]]):[_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*(?![!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]])(?![\\"\`])","name":"constant.other.symbol.julia"}]},"type_decl":{"patterns":[{"captures":{"1":{"name":"entity.name.type.julia"},"2":{"name":"entity.other.inherited-class.julia"},"3":{"name":"punctuation.separator.inheritance.julia"}},"match":"!:_(?:struct|mutable\\\\s+struct|abstract\\\\s+type|primitive\\\\s+type)\\\\s+([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)(\\\\s*(<:)\\\\s*[_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*(?:\\\\{.*})?)?","name":"meta.type.julia"}]}},"scopeName":"source.julia","embeddedLangs":["cpp","python","javascript","r","sql"],"aliases":["jl"]}`)),o=[...zl,...Ff,...Pe,...Tf,...da,e];export{o as default};
|
|
1
|
+
import"./index-9t82sx0w.js";import{$l}from"./index-vtbbfwx0.js";import{Rf}from"./index-af24nes6.js";import{Pe}from"./index-0j518hqm.js";import{Sf}from"./index-63jbb4kf.js";import{da}from"./index-8acv5b77.js";var e=Object.freeze(JSON.parse(`{"displayName":"Julia","name":"julia","patterns":[{"include":"#operator"},{"include":"#array"},{"include":"#string"},{"include":"#parentheses"},{"include":"#bracket"},{"include":"#function_decl"},{"include":"#function_call"},{"include":"#for_block"},{"include":"#keyword"},{"include":"#number"},{"include":"#comment"},{"include":"#type_decl"},{"include":"#symbol"},{"include":"#punctuation"}],"repository":{"array":{"patterns":[{"begin":"\\\\[","beginCaptures":{"0":{"name":"meta.bracket.julia"}},"end":"(])(\\\\.?'*)","endCaptures":{"1":{"name":"meta.bracket.julia"},"2":{"name":"keyword.operator.transpose.julia"}},"name":"meta.array.julia","patterns":[{"match":"\\\\bbegin\\\\b","name":"constant.numeric.julia"},{"match":"\\\\bend\\\\b","name":"constant.numeric.julia"},{"include":"#self_no_for_block"}]}]},"bracket":{"patterns":[{"begin":"\\\\{","beginCaptures":{"0":{"name":"meta.bracket.julia"}},"end":"(})(\\\\.?'*)","endCaptures":{"1":{"name":"meta.bracket.julia"},"2":{"name":"keyword.operator.transpose.julia"}},"patterns":[{"include":"#self_no_for_block"}]}]},"comment":{"patterns":[{"include":"#comment_block"},{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.julia"}},"end":"\\\\n","name":"comment.line.number-sign.julia","patterns":[{"include":"#comment_tags"}]}]},"comment_block":{"patterns":[{"begin":"#=","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.julia"}},"end":"=#","endCaptures":{"0":{"name":"punctuation.definition.comment.end.julia"}},"name":"comment.block.number-sign-equals.julia","patterns":[{"include":"#comment_tags"},{"include":"#comment_block"}]}]},"comment_tags":{"patterns":[{"match":"\\\\bTODO\\\\b","name":"keyword.other.comment-annotation.julia"},{"match":"\\\\bFIXME\\\\b","name":"keyword.other.comment-annotation.julia"},{"match":"\\\\bCHANGED\\\\b","name":"keyword.other.comment-annotation.julia"},{"match":"\\\\bXXX\\\\b","name":"keyword.other.comment-annotation.julia"}]},"for_block":{"patterns":[{"begin":"\\\\b(for)\\\\b","beginCaptures":{"0":{"name":"keyword.control.julia"}},"end":"(?<![,\\\\s])(\\\\s*\\\\n)","patterns":[{"match":"\\\\bouter\\\\b","name":"keyword.other.julia"},{"include":"$self"}]}]},"function_call":{"patterns":[{"begin":"([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)(\\\\{(?:[^{}]|\\\\{(?:[^{}]|\\\\{[^{}]*})*})*})?\\\\.?(\\\\()","beginCaptures":{"1":{"name":"support.function.julia"},"2":{"name":"support.type.julia"},"3":{"name":"meta.bracket.julia"}},"end":"\\\\)(('|(\\\\.'))*\\\\.?')?","endCaptures":{"0":{"name":"meta.bracket.julia"},"1":{"name":"keyword.operator.transposed-func.julia"}},"patterns":[{"include":"#self_no_for_block"}]}]},"function_decl":{"patterns":[{"captures":{"1":{"name":"entity.name.function.julia"},"2":{"name":"support.type.julia"}},"match":"([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)(\\\\{(?:[^{}]|\\\\{(?:[^{}]|\\\\{[^{}]*})*})*})?(?=\\\\([^#]*\\\\)(::\\\\S+)?(\\\\s*\\\\bwhere\\\\b\\\\s+.+?)?\\\\s*?=(?![=>]))"},{"captures":{"1":{"name":"keyword.other.julia"},"2":{"name":"keyword.operator.dots.julia"},"3":{"name":"entity.name.function.julia"},"4":{"name":"support.type.julia"}},"match":"\\\\b(function|macro)(?:\\\\s+(?:[_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*(\\\\.))?([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)(\\\\{(?:[^{}]|\\\\{(?:[^{}]|\\\\{[^{}]*})*})*})?|\\\\s*)(?=\\\\()"}]},"keyword":{"patterns":[{"match":"\\\\b(?<![.:_])(?:function|mutable\\\\s+struct|struct|macro|quote|abstract\\\\s+type|primitive\\\\s+type|typegroup|module|baremodule|where)\\\\b","name":"keyword.other.julia"},{"match":"\\\\b(?<![:_])(?:if|else|elseif|for|while|begin|let|do|try|catch|finally|return|break|continue)\\\\b","name":"keyword.control.julia"},{"match":"\\\\b(?<![:_])end\\\\b","name":"keyword.control.end.julia"},{"match":"\\\\b(?<![:_])(?:global|local|const)\\\\b","name":"keyword.storage.modifier.julia"},{"match":"\\\\b(?<![:_])export\\\\b","name":"keyword.control.export.julia"},{"match":"^public\\\\b","name":"keyword.control.public.julia"},{"match":"\\\\b(?<![:_])import\\\\b","name":"keyword.control.import.julia"},{"match":"\\\\b(?<![:_])using\\\\b","name":"keyword.control.using.julia"},{"match":"(?<=\\\\S\\\\s+)\\\\b(as)\\\\b(?=\\\\s+\\\\S)","name":"keyword.control.as.julia"},{"match":"@(\\\\.|[_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*|[[\\\\p{S}\\\\p{P}]&&[^@\\\\s]]+)","name":"support.function.macro.julia"}]},"number":{"patterns":[{"captures":{"1":{"name":"constant.numeric.julia"},"2":{"name":"keyword.operator.conjugate-number.julia"}},"match":"((?<![!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]])\\\\b(?:0[Xx]\\\\h(?:_?\\\\h)*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:[0-9](?:_?[0-9])*\\\\.?(?!\\\\.)[0-9_]*|\\\\.[0-9](?:_?[0-9])*)(?:[Eef][-+]?[0-9](?:_?[0-9])*)?(?:(?:im|Inf(?:16|32|64)?|NaN(?:16|32|64)?|π|pi|ℯ)\\\\b)?|[0-9]+|Inf(?:16|32|64)?\\\\b|NaN(?:16|32|64)?\\\\b|π\\\\b|pi\\\\b|ℯ\\\\b))('*)"},{"match":"\\\\b(?:ARGS|C_NULL|DEPOT_PATH|ENDIAN_BOM|ENV|LOAD_PATH|PROGRAM_FILE|stdin|stdout|stderr|VERSION|devnull)\\\\b","name":"constant.global.julia"},{"match":"\\\\b(?:true|false|nothing|missing)\\\\b","name":"constant.language.julia"}]},"operator":{"patterns":[{"match":"\\\\.?(?:<-->|->|-->|<--|[←→↔↚-↞↠↢↣↤↦↩-↬↮↶↷↺-↽⇀⇁⇄⇆⇇⇉⇋-⇐⇒⇔⇚-⇝⇠⇢⇴⇶-⇿⟵⟶⟷⟹-⟿⤀-⤇⤌-⤑⤔-⤘⤝-⤠⥄-⥈⥊⥋⥎⥐⥒⥓⥖⥗⥚⥛⥞⥟⥢⥤⥦-⥭⥰⥷⥺⧴⬰-⭄⭇-⭌←→]|=>)","name":"keyword.operator.arrow.julia"},{"match":":=|\\\\+=|-=|\\\\*=|//=|/=|\\\\.//=|\\\\./=|\\\\.\\\\*=|\\\\\\\\=|\\\\.\\\\\\\\=|\\\\^=|\\\\.\\\\^=|%=|\\\\.%=|÷=|\\\\.÷=|\\\\|=|&=|\\\\.&=|⊻=|\\\\.⊻=|\\\\$=|<<=|>>=|>>>=|=(?!=)","name":"keyword.operator.update.julia"},{"match":"<<|>>>?|\\\\.>>>?|\\\\.<<","name":"keyword.operator.shift.julia"},{"captures":{"1":{"name":"keyword.operator.relation.types.julia"},"2":{"name":"support.type.julia"},"3":{"name":"keyword.operator.transpose.julia"}},"match":"\\\\s*([:<>]:)\\\\s*((?:Union)?\\\\([^)]*\\\\)|[$_∇[:alpha:]][!.′⁺-ₜ[:word:]]*(?:\\\\{(?:[^{}]|\\\\{(?:[^{}]|\\\\{[^{}]*})*})*}|\\".+?(?<!\\\\\\\\)\\")?)(?:\\\\.\\\\.\\\\.)?(\\\\.?'*)"},{"match":"(\\\\.?((?<!<)<=|(?<!>)>=|[<>≤≥]|===?|≡|!=|≠|!==|[∈-∍∝∥∦∷∺∻∽∾≁-≎≐-≓≖-≟≢≣≦-⊋⊏-⊒⊜⊢⊣⊩⊬⊮⊰-⊷⋍⋐⋑⋕-⋭⋲-⋿⟂⟈⟉⟒⦷⧀⧁⧡⧣⧤⧥⩦⩧⩪-⩳⩵-⫙⫪⫫⫷-⫺]|<:|>:))","name":"keyword.operator.relation.julia"},{"match":"(?<=\\\\s)\\\\?(?=\\\\s)","name":"keyword.operator.ternary.julia"},{"match":"(?<=\\\\s):(?=\\\\s)","name":"keyword.operator.ternary.julia"},{"match":"\\\\|\\\\||&&|(?<![!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]])!","name":"keyword.operator.boolean.julia"},{"match":"(?<=[]!)}′⁺-ₜ∇[:word:]]):","name":"keyword.operator.range.julia"},{"match":"\\\\|>","name":"keyword.operator.applies.julia"},{"match":"\\\\||\\\\.\\\\||&|\\\\.&|[~¬]|\\\\.~|⊻|\\\\.⊻","name":"keyword.operator.bitwise.julia"},{"match":"\\\\.?(?:\\\\+\\\\+|--|[-*+|¦±−∓∔∨∪∸≏⊎⊔⊕⊖⊞⊟⊻⊽⋎⋓⟇⧺⧻⨈⨢-⨮⨹⨺⩁⩂⩅⩊⩌⩏⩐⩒⩔⩖⩗⩛⩝⩡⩢⩣]|//?|[%\\\\&\\\\\\\\^±·×÷·⅋↑↓⇵∓∗-∜∤∧∩≀⊍⊓⊗-⊛⊠⊡⊼⋄-⋇⋉-⋌⋏⋒⌿▷⟑⟕⟖⟗⟰⟱⤈-⤋⤒⤓⥉⥌⥍⥏⥑⥔⥕⥘⥙⥜⥝⥠⥡⥣⥥⥮⥯⦸⦼⦾⦿⧶⧷⨇⨝⨟⨰-⨸⨻⨼⨽⩀⩃⩄⩋⩍⩎⩑⩓⩕⩘⩚⩜⩞⩟⩠⫛↑↓])","name":"keyword.operator.arithmetic.julia"},{"match":"∘","name":"keyword.operator.compose.julia"},{"match":"::|(?<=\\\\s)isa(?=\\\\s)","name":"keyword.operator.isa.julia"},{"match":"(?<=\\\\s)in(?=\\\\s)","name":"keyword.operator.relation.in.julia"},{"match":"\\\\.(?=[@_\\\\p{L}])|\\\\.\\\\.+|[…⁝⋮-⋱]","name":"keyword.operator.dots.julia"},{"match":"\\\\$(?=.+)","name":"keyword.operator.interpolation.julia"},{"captures":{"2":{"name":"keyword.operator.transposed-variable.julia"}},"match":"([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)(('|(\\\\.'))*\\\\.?')"},{"captures":{"1":{"name":"bracket.end.julia"},"2":{"name":"keyword.operator.transposed-matrix.julia"}},"match":"(])((?:\\\\.??')*\\\\.?')"},{"captures":{"1":{"name":"bracket.end.julia"},"2":{"name":"keyword.operator.transposed-parens.julia"}},"match":"(\\\\))((?:\\\\.??')*\\\\.?')"}]},"parentheses":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"meta.bracket.julia"}},"end":"(\\\\))(\\\\.?'*)","endCaptures":{"1":{"name":"meta.bracket.julia"},"2":{"name":"keyword.operator.transpose.julia"}},"patterns":[{"include":"#self_no_for_block"}]}]},"punctuation":{"patterns":[{"match":",","name":"punctuation.separator.comma.julia"},{"match":";","name":"punctuation.separator.semicolon.julia"}]},"self_no_for_block":{"patterns":[{"include":"#operator"},{"include":"#array"},{"include":"#string"},{"include":"#parentheses"},{"include":"#bracket"},{"include":"#function_decl"},{"include":"#function_call"},{"include":"#keyword"},{"include":"#number"},{"include":"#comment"},{"include":"#type_decl"},{"include":"#symbol"},{"include":"#punctuation"}]},"string":{"patterns":[{"begin":"(@doc)\\\\s((?:doc)?\\"\\"\\")|(doc\\"\\"\\")","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"end":"(\\"\\"\\") ?(->)?","endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"keyword.operator.arrow.julia"}},"name":"string.docstring.julia","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"(i?cxx)(\\"\\"\\")","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"contentName":"meta.embedded.inline.cpp","end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}},"name":"embed.cxx.julia","patterns":[{"include":"source.cpp#root_context"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"(py)(\\"\\"\\")","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"contentName":"meta.embedded.inline.python","end":"([\\\\s\\\\w]*)(\\"\\"\\")","endCaptures":{"2":{"name":"punctuation.definition.string.end.julia"}},"name":"embed.python.julia","patterns":[{"include":"source.python"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"(js)(\\"\\"\\")","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"contentName":"meta.embedded.inline.javascript","end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}},"name":"embed.js.julia","patterns":[{"include":"source.js"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"(R)(\\"\\"\\")","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"contentName":"meta.embedded.inline.r","end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}},"name":"embed.R.julia","patterns":[{"include":"source.r"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"(raw)(\\"\\"\\")","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}},"name":"string.quoted.other.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"(raw)(\\")","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}},"name":"string.quoted.other.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"(sql)(\\"\\"\\")","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"contentName":"meta.embedded.inline.sql","end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}},"name":"embed.sql.julia","patterns":[{"include":"source.sql"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"var\\"\\"\\"","end":"\\"\\"\\"","name":"constant.other.symbol.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"var\\"","end":"\\"","name":"constant.other.symbol.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"^\\\\s?(doc)?(\\"\\"\\")\\\\s?$","beginCaptures":{"1":{"name":"support.function.macro.julia"},"2":{"name":"punctuation.definition.string.begin.julia"}},"end":"(\\"\\"\\")","endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"}},"name":"string.docstring.julia","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"}},"end":"'(?!')","endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}},"name":"string.quoted.single.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"\\"\\"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.multiline.begin.julia"}},"end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.multiline.end.julia"}},"name":"string.quoted.triple.double.julia","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"\\"(?!\\"\\")","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.julia"}},"name":"string.quoted.double.julia","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"r\\"\\"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.regexp.begin.julia"}},"end":"(\\"\\"\\")([imsx]{0,4})?","endCaptures":{"1":{"name":"punctuation.definition.string.regexp.end.julia"},"2":{"name":"keyword.other.option-toggle.regexp.julia"}},"name":"string.regexp.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"r\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.regexp.begin.julia"}},"end":"(\\")([imsx]{0,4})?","endCaptures":{"1":{"name":"punctuation.definition.string.regexp.end.julia"},"2":{"name":"keyword.other.option-toggle.regexp.julia"}},"name":"string.regexp.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"(?<!\\")([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)\\"\\"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"},"1":{"name":"support.function.macro.julia"}},"end":"(\\"\\"\\")([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)?","endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"support.function.macro.julia"}},"name":"string.quoted.other.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"(?<!\\")([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"},"1":{"name":"support.function.macro.julia"}},"end":"(?<![^\\\\\\\\]\\\\\\\\)(\\")([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)?","endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"support.function.macro.julia"}},"name":"string.quoted.other.julia","patterns":[{"include":"#string_escaped_char"}]},{"begin":"(?<!\`)([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)?\`\`\`","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"},"1":{"name":"support.function.macro.julia"}},"end":"(\`\`\`)([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)?","endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"support.function.macro.julia"}},"name":"string.interpolated.backtick.julia","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}]},{"begin":"(?<!\`)([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)?\`","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.julia"},"1":{"name":"support.function.macro.julia"}},"end":"(?<![^\\\\\\\\]\\\\\\\\)(\`)([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)?","endCaptures":{"1":{"name":"punctuation.definition.string.end.julia"},"2":{"name":"support.function.macro.julia"}},"name":"string.interpolated.backtick.julia","patterns":[{"include":"#string_escaped_char"},{"include":"#string_dollar_sign_interpolate"}]}]},"string_dollar_sign_interpolate":{"patterns":[{"match":"\\\\$[_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}[^←-⇿\\\\P{So}][^$\\\\P{Sc}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}][^$\\\\P{Sc}]]*","name":"variable.interpolation.julia"},{"begin":"\\\\$(\\\\()","beginCaptures":{"1":{"name":"meta.bracket.julia"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.bracket.julia"}},"name":"variable.interpolation.julia","patterns":[{"include":"#self_no_for_block"}]}]},"string_escaped_char":{"patterns":[{"match":"\\\\\\\\(\\\\\\\\|[0-3]\\\\d{0,2}|[4-7]\\\\d?|x\\\\h{0,2}|u\\\\h{0,4}|U\\\\h{0,8}|.)","name":"constant.character.escape.julia"}]},"symbol":{"patterns":[{"match":"(?<![]!)}′⁺-ₜ∇[:word:]]):[_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*(?![!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]])(?![\\"\`])","name":"constant.other.symbol.julia"}]},"type_decl":{"patterns":[{"captures":{"1":{"name":"entity.name.type.julia"},"2":{"name":"entity.other.inherited-class.julia"},"3":{"name":"punctuation.separator.inheritance.julia"}},"match":"!:_(?:struct|mutable\\\\s+struct|abstract\\\\s+type|primitive\\\\s+type)\\\\s+([_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*)(\\\\s*(<:)\\\\s*[_ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:alpha:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^←-⇿\\\\P{So}]][!_′-‷⁗ⁱ-⁾₁-₎℘℮⅀-⅄∂∅∆∇∎-∑∞-∢∫-∳∿⊤⊥⊾-⋃◸-◿♯⟀⟁⟘⟙⦛-⦴⨀-⨆⨉-⨖⨛⨜゛゜\uD835\uDEC1\uD835\uDEDB\uD835\uDEFB\uD835\uDF15\uD835\uDF35\uD835\uDF4F\uD835\uDF6F\uD835\uDF89\uD835\uDFA9\uD835\uDFC3\uD835\uDFCE-\uD835\uDFE1[:word:]\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\p{Sc}[^\\\\x01-¡\\\\P{Mn}][^\\\\x01-¡\\\\P{Mc}][^\\\\x01-¡\\\\D][^\\\\x01-¡\\\\P{Pc}][^\\\\x01-¡\\\\P{Sk}][^\\\\x01-¡\\\\P{Me}][^\\\\x01-¡\\\\P{No}][^←-⇿\\\\P{So}]]*(?:\\\\{.*})?)?","name":"meta.type.julia"}]}},"scopeName":"source.julia","embeddedLangs":["cpp","python","javascript","r","sql"],"aliases":["jl"]}`)),o=[...$l,...Rf,...Pe,...Sf,...da,e];export{o as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{t,l,Ee,A,g,K,X,Fr,p,de,nr,rr,ca,Pr,ii,xn}from"./index-
|
|
1
|
+
import{t,l,Ee,A,g,K,X,Fr,p,de,nr,rr,ca,Pr,ii,xn}from"./index-ctgefatv.js";var re=function(){var e=t(function(w,r,i,a){for(i=i||{},a=w.length;a--;i[w[a]]=r);return i},"o"),d=[1,4],y=[1,13],s=[1,12],b=[1,15],S=[1,16],_=[1,20],h=[1,19],I=[6,7,8],T=[1,26],f=[1,24],P=[1,25],N=[6,7,11],W=[1,31],v=[6,7,11,24],M=[1,6,13,16,17,20,23],m=[1,35],V=[1,36],C=[1,6,7,11,13,16,17,20,23],z=[1,38],B={trace:t(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:t(function(r,i,a,o,u,n,j){var c=n.length-1;switch(u){case 6:case 7:return o;case 8:o.getLogger().trace("Stop NL ");break;case 9:o.getLogger().trace("Stop EOF ");break;case 11:o.getLogger().trace("Stop NL2 ");break;case 12:o.getLogger().trace("Stop EOF2 ");break;case 15:o.getLogger().info("Node: ",n[c-1].id),o.addNode(n[c-2].length,n[c-1].id,n[c-1].descr,n[c-1].type,n[c]);break;case 16:o.getLogger().info("Node: ",n[c].id),o.addNode(n[c-1].length,n[c].id,n[c].descr,n[c].type);break;case 17:o.getLogger().trace("Icon: ",n[c]),o.decorateNode({icon:n[c]});break;case 18:case 23:o.decorateNode({class:n[c]});break;case 19:o.getLogger().trace("SPACELIST");break;case 20:o.getLogger().trace("Node: ",n[c-1].id),o.addNode(0,n[c-1].id,n[c-1].descr,n[c-1].type,n[c]);break;case 21:o.getLogger().trace("Node: ",n[c].id),o.addNode(0,n[c].id,n[c].descr,n[c].type);break;case 22:o.decorateNode({icon:n[c]});break;case 27:o.getLogger().trace("node found ..",n[c-2]),this.$={id:n[c-1],descr:n[c-1],type:o.getType(n[c-2],n[c])};break;case 28:this.$={id:n[c],descr:n[c],type:0};break;case 29:o.getLogger().trace("node found ..",n[c-3]),this.$={id:n[c-3],descr:n[c-1],type:o.getType(n[c-2],n[c])};break;case 30:this.$=n[c-1]+n[c];break;case 31:this.$=n[c];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:d},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:d},{6:y,7:[1,10],9:9,12:11,13:s,14:14,16:b,17:S,18:17,19:18,20:_,23:h},e(I,[2,3]),{1:[2,2]},e(I,[2,4]),e(I,[2,5]),{1:[2,6],6:y,12:21,13:s,14:14,16:b,17:S,18:17,19:18,20:_,23:h},{6:y,9:22,12:11,13:s,14:14,16:b,17:S,18:17,19:18,20:_,23:h},{6:T,7:f,10:23,11:P},e(N,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:_,23:h}),e(N,[2,19]),e(N,[2,21],{15:30,24:W}),e(N,[2,22]),e(N,[2,23]),e(v,[2,25]),e(v,[2,26]),e(v,[2,28],{20:[1,32]}),{21:[1,33]},{6:T,7:f,10:34,11:P},{1:[2,7],6:y,12:21,13:s,14:14,16:b,17:S,18:17,19:18,20:_,23:h},e(M,[2,14],{7:m,11:V}),e(C,[2,8]),e(C,[2,9]),e(C,[2,10]),e(N,[2,16],{15:37,24:W}),e(N,[2,17]),e(N,[2,18]),e(N,[2,20],{24:z}),e(v,[2,31]),{21:[1,39]},{22:[1,40]},e(M,[2,13],{7:m,11:V}),e(C,[2,11]),e(C,[2,12]),e(N,[2,15],{24:z}),e(v,[2,30]),{22:[1,41]},e(v,[2,27]),e(v,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:t(function(r,i){if(i.recoverable)this.trace(r);else{var a=Error(r);throw a.hash=i,a}},"parseError"),parse:t(function(r){var i=this,a=[0],o=[],u=[null],n=[],j=this.table,c="",Y=0,ce=0,le=0,fe=2,he=1,be=n.slice.call(arguments,1),E=Object.create(this.lexer),F={yy:{}};for(var Z in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,Z))F.yy[Z]=this.yy[Z];if(E.setInput(r,F.yy),F.yy.lexer=E,F.yy.parser=this,typeof E.yylloc>"u")E.yylloc={};var ee=E.yylloc;n.push(ee);var ye=E.options&&E.options.ranges;if(typeof F.yy.parseError==="function")this.parseError=F.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function me(L){a.length=a.length-2*L,u.length=u.length-L,n.length=n.length-L}t(me,"popStack");function ue(){var L=o.pop()||E.lex()||he;if(typeof L!=="number"){if(L instanceof Array)o=L,L=o.pop();L=i.symbols_[L]||L}return L}t(ue,"lex");var x,te,G,D,je,ne,H={},J,R,ge,q;while(!0){if(G=a[a.length-1],this.defaultActions[G])D=this.defaultActions[G];else{if(x===null||typeof x>"u")x=ue();D=j[G]&&j[G][x]}if(typeof D>"u"||!D.length||!D[0]){var ie="";q=[];for(J in j[G])if(this.terminals_[J]&&J>fe)q.push("'"+this.terminals_[J]+"'");if(E.showPosition)ie="Parse error on line "+(Y+1)+`:
|
|
2
2
|
`+E.showPosition()+`
|
|
3
3
|
Expecting `+q.join(", ")+", got '"+(this.terminals_[x]||x)+"'";else ie="Parse error on line "+(Y+1)+": Unexpected "+(x==he?"end of input":"'"+(this.terminals_[x]||x)+"'");this.parseError(ie,{text:E.match,token:this.terminals_[x]||x,line:E.yylineno,loc:ee,expected:q})}if(D[0]instanceof Array&&D.length>1)throw Error("Parse Error: multiple actions possible at state: "+G+", token: "+x);switch(D[0]){case 1:if(a.push(x),u.push(E.yytext),n.push(E.yylloc),a.push(D[1]),x=null,!te){if(ce=E.yyleng,c=E.yytext,Y=E.yylineno,ee=E.yylloc,le>0)le--}else x=te,te=null;break;case 2:if(R=this.productions_[D[1]][1],H.$=u[u.length-R],H._$={first_line:n[n.length-(R||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(R||1)].first_column,last_column:n[n.length-1].last_column},ye)H._$.range=[n[n.length-(R||1)].range[0],n[n.length-1].range[1]];if(ne=this.performAction.apply(H,[c,ce,Y,F.yy,D[1],u,n].concat(be)),typeof ne<"u")return ne;if(R)a=a.slice(0,-1*R*2),u=u.slice(0,-1*R),n=n.slice(0,-1*R);a.push(this.productions_[D[1]][0]),u.push(H.$),n.push(H._$),ge=j[a[a.length-2]][a[a.length-1]],a.push(ge);break;case 3:return!0}}return!0},"parse")},Q=function(){var w={EOF:1,parseError:t(function(i,a){if(this.yy.parser)this.yy.parser.parseError(i,a);else throw Error(i)},"parseError"),setInput:t(function(r,i){if(this.yy=i||this.yy||{},this._input=r,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 r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var i=r.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),r},"input"),unput:t(function(r){var i=r.length,a=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var o=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),a.length-1)this.yylineno-=a.length-1;var u=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:a?(a.length===o.length?this.yylloc.first_column:0)+o[o.length-a.length].length-a[0].length:this.yylloc.first_column-i},this.options.ranges)this.yylloc.range=[u[0],u[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).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:t(function(r){this.unput(this.match.slice(r))},"less"),pastInput:t(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:t(function(){var r=this.match;if(r.length<20)r+=this._input.substr(0,20-r.length);return(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:t(function(){var r=this.pastInput(),i=Array(r.length+1).join("-");return r+this.upcomingInput()+`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Df}from"./index-982jyfsb.js";import"./index-9t82sx0w.js";export{Df as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{eA}from"./index-55pqvh82.js";export{eA as default};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import{t,l,
|
|
2
|
-
`);let i=de(e),o=i.append("g");i.attr("viewBox","0 0 2412 512"),te(i,100,512,!0),o.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),o.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),o.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),o.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),o.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),o.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),o.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),o.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${a}`)},"draw"),me={draw:da},ca=me,la={db:{},renderer:me,parser:{parse:t(()=>{return},"parse")}},ma=la,ue="flowchart-elk",ua=t((r,e={})=>{if(/^\s*flowchart-elk/.test(r))return e.layout="elk",!0;return!1},"detector"),pa=t(async()=>{let{diagram:r}=await import("./flowDiagram-KWPJA3E3-
|
|
3
|
-
`;if(i.frontmatterLineOffset)d.setFrontmatterLineOffset?.(i.frontmatterLineOffset);return await s.parse(p),new r(n,p,d,s,c)}async render(e,a){await this.renderer.draw(this.text,e,a,this)}getParser(){return this.parser}getType(){return this.type}},Hr=[],zi=t(()=>{Hr.forEach((r)=>{r()}),Hr=[]},"attachFunctions"),Pi=t((r)=>r.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function Fe(r){let e=r.match(
|
|
1
|
+
import{t,l,Au,ff,Af,Eo,Bl,Ld,mA,qe,ni,K,gf,$i,Rr,Md,fA,AA,gA,hf,bf,E,hA,gu,Pt,te,Pd,yA,hu,$d,h,de,nr,rr,So,Gi,Pl,vu,op,kA,lp,oe,W,xA,Fa,cp,_f}from"./index-ctgefatv.js";import{Nt}from"./index-75haaj8g.js";function xr(r){let e=r?.constructor;return r===(typeof e==="function"?e.prototype:Object.prototype)}function fr(r){if(r==null)return!0;if(op(r)){if(typeof r.splice!=="function"&&typeof r!=="string"&&!Pl(r)&&!Gi(r)&&!vu(r))return!1;return r.length===0}if(typeof r==="object"||typeof r==="function"){if(r instanceof Map||r instanceof Set)return r.size===0;let e=Object.keys(r);if(xr(r))return e.filter((a)=>a!=="constructor").length===0;return e.length===0}return!0}var U="comm",Z="rule",J="decl";var br="@media",Sr="@import";var Er="@supports";var Dr="@namespace",q="@keyframes";var er="@layer",Tr="@scope";var Ar=Math.abs,P=String.fromCharCode;function tr(r){return r.trim()}function X(r,e,a){return r.replace(e,a)}function I(r,e){return r.charCodeAt(e)|0}function O(r,e,a){return r.slice(e,a)}function D(r){return r.length}function ar(r){return r.length}function G(r,e){return e.push(r),r}var ir=1,H=1,_r=0,L=0,y=0,Y="";function or(r,e,a,i,o,n,d,s){return{value:r,root:e,parent:a,type:i,props:o,children:n,line:ir,column:H,length:d,return:"",siblings:s}}function Cr(){return y}function Lr(){if(y=L>0?I(Y,--L):0,H--,y===10)H=1,ir--;return y}function M(){if(y=L<_r?I(Y,L++):0,H++,y===10)H=1,ir++;return y}function F(){return I(Y,L)}function Q(){return L}function sr(r,e){return O(Y,r,e)}function B(r){switch(r){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Mr(r){return ir=H=1,_r=D(Y=r),L=0,[]}function kr(r){return Y="",r}function dr(r){return tr(sr(L-1,gr(r===91?r+2:r===40?r+1:r)))}function Ir(r){while(y=F())if(y<33)M();else break;return B(r)>2||B(y)>3?"":" "}function Or(r,e){while(--e&&M())if(y<48||y>102||y>57&&y<65||y>70&&y<97)break;return sr(r,Q()+(e<6&&F()==32&&M()==32))}function gr(r){while(M())switch(y){case r:return L;case 34:case 39:if(r!==34&&r!==39)gr(y);break;case 40:if(r===41)gr(r);break;case 92:M();break}return L}function Fr(r,e){while(M())if(r+y===57)break;else if(r+y===84&&F()===47)break;return"/*"+sr(e,L-1)+"*"+P(r===47?r:M())}function zr(r){while(!B(F()))M();return sr(r,L)}function Nr(r){return kr(cr("",null,null,null,[""],r=Mr(r),0,[0],r))}function cr(r,e,a,i,o,n,d,s,c){var f=0,g=0,p=d,u=0,x=0,T=0,S=1,b=1,A=1,_=0,v=0,k="",V=o,R=n,C=i,m=k;while(b)switch(T=v,v=M()){case 40:if(T!=108&&I(m,p-1)==58)_++,m+="(";else m+=dr(v);break;case 41:_--,m+=")";break;case 34:case 39:case 91:m+=dr(v);break;case 9:case 10:case 13:case 32:if(_>0){m+=P(v);break}m+=Ir(T);break;case 92:m+=Or(Q()-1,7);continue;case 47:switch(F()){case 42:case 47:if(G(Qe(Fr(M(),Q()),e,a,c),c),(B(T||1)==5||B(F()||1)==5)&&D(m)&&O(m,-1,void 0)!==" ")m+=" ";break;default:m+="/"}break;case 123*S:s[f++]=D(m)*A;case 125*S:case 59:case 0:if(_>0&&v){m+=P(v);break}switch(v){case 0:case 125:b=0;case 59+g:if(A==-1)m=X(m,/\f/g,"");if(x>0&&(D(m)-p||S===0))G(x>32?Pr(m+";",i,a,p-1,c):Pr(X(m," ","")+";",i,a,p-2,c),c);break;case 59:m+=";";default:if(G(C=$r(m,e,a,f,g,o,s,k,V=[],R=[],p,n),n),v===123)if(g===0)cr(m,e,C,C,V,n,p,s,R);else{switch(u){case 99:if(I(m,3)===110)break;case 108:if(I(m,2)===97)break;default:g=0;case 100:case 109:case 115:}if(g)cr(r,C,C,i&&G($r(r,C,C,0,0,o,s,k,o,V=[],p,R),R),o,R,p,s,i?V:R);else cr(m,C,C,C,[""],R,0,s,R)}}f=g=x=0,S=A=1,k=m="",p=d;break;case 58:p=1+D(m),x=T;default:if(S<1){if(v==123)--S;else if(v==125&&S++==0&&Lr()==125)continue}switch(m+=P(v),v*S){case 38:A=g>0?1:(m+="\f",-1);break;case 44:if(_>0)break;s[f++]=(D(m)-1)*A,A=1;break;case 64:if(F()===45)m+=dr(M());u=F(),g=p=D(k=m+=zr(Q())),v++;break;case 45:if(T===45&&D(m)==2)S=0}}return n}function $r(r,e,a,i,o,n,d,s,c,f,g,p){var u=o-1,x=o===0?n:[""],T=ar(x);for(var S=0,b=0,A=0;S<i;++S)for(var _=0,v=O(r,u+1,u=Ar(b=d[S])),k=r;_<T;++_)if(k=tr(b>0?x[_]+" "+v:X(v,/&\f/g,x[_])))c[A++]=k;return or(r,e,a,o===0?Z:s,c,f,g,p)}function Qe(r,e,a,i){return or(r,e,a,U,P(Cr()),O(r,2,-2),0,i)}function Pr(r,e,a,i,o){return or(r,e,a,J,O(r,0,i),O(r,i+1,-1),i,o)}function lr(r,e){var a="";for(var i=0;i<r.length;i++)a+=e(r[i],i,r,e)||"";return a}function Vr(r,e,a,i){switch(r.type){case er:if(r.children.length)break;case Sr:case Dr:case J:return r.return=r.return||r.value;case U:return"";case q:return r.return=r.value+"{"+lr(r.children,i)+"}";case Z:if(!D(r.value=r.props.join(",")))return""}return D(a=lr(r.children,i))?r.return=r.value+"{"+a+"}":""}function Ur(r){var e=ar(r);return function(a,i,o,n){var d="";for(var s=0;s<e;s++)d+=r[s](a,i,o,n)||"";return d}}var jr="c4",Ze=t((r)=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(r),"detector"),Je=t(async()=>{let{diagram:r}=await import("./c4Diagram-YGBWAQC7-rn3qt45h.js");return{id:jr,diagram:r}},"loader"),rt={id:jr,detector:Ze,loader:Je},et=rt,qr="flowchart-v2",tt=t((r)=>/^\s*(graph|flowchart)/.test(r),"detector"),at=t(async()=>{let{diagram:r}=await import("./flowDiagram-KWPJA3E3-krsvgcq7.js");return{id:qr,diagram:r}},"loader"),it={id:qr,detector:tt,loader:at},ot=it,Wr="agentflow",nt=t((r)=>/^\s*agentflow-beta\b/.test(r),"detector"),st=t(async()=>{let{diagram:r}=await import("./diagram-22UHCM2B-f1fq8xec.js");return{id:Wr,diagram:r}},"loader"),dt={id:Wr,detector:nt,loader:st},ct=dt,Xr="swimlane",lt=t((r)=>/^\s*swimlane-beta\b/.test(r),"detector"),mt=t(async()=>{let{diagram:r}=await import("./swimlanesDiagram-TC7HE7FX-kdcdamkj.js");return{id:Xr,diagram:r}},"loader"),ut={id:Xr,detector:lt,loader:mt},pt=ut,Kr="er",ft=t((r)=>/^\s*erDiagram/.test(r),"detector"),gt=t(async()=>{let{diagram:r}=await import("./erDiagram-OPXOYQCR-5r3fmdnz.js");return{id:Kr,diagram:r}},"loader"),vt={id:Kr,detector:ft,loader:gt},ht=vt,Qr="gitGraph",yt=t((r)=>/^\s*gitGraph/.test(r),"detector"),wt=t(async()=>{let{diagram:r}=await import("./gitGraphDiagram-X574FWY7-x5epk0gr.js");return{id:Qr,diagram:r}},"loader"),xt={id:Qr,detector:yt,loader:wt},bt=xt,Zr="gantt",St=t((r)=>/^\s*gantt/.test(r),"detector"),Et=t(async()=>{let{diagram:r}=await import("./ganttDiagram-FUAMR5RP-j4pf6rdn.js");return{id:Zr,diagram:r}},"loader"),Dt={id:Zr,detector:St,loader:Et},Tt=Dt,Jr="info",At=t((r)=>/^\s*info/.test(r),"detector"),_t=t(async()=>{let{diagram:r}=await import("./infoDiagram-VRGFBTTK-ktc8nb8g.js");return{id:Jr,diagram:r}},"loader"),Ct={id:Jr,detector:At,loader:_t},re="pie",Lt=t((r)=>/^\s*pie/.test(r),"detector"),Mt=t(async()=>{let{diagram:r}=await import("./pieDiagram-5QR66LMP-at4x1g4q.js");return{id:re,diagram:r}},"loader"),kt={id:re,detector:Lt,loader:Mt},ee="quadrantChart",Rt=t((r)=>/^\s*quadrantChart/.test(r),"detector"),It=t(async()=>{let{diagram:r}=await import("./quadrantDiagram-O4NWA36T-apzhwrn4.js");return{id:ee,diagram:r}},"loader"),Ot={id:ee,detector:Rt,loader:It},Ft=Ot,ae="xychart",zt=t((r)=>/^\s*xychart(-beta)?/.test(r),"detector"),$t=t(async()=>{let{diagram:r}=await import("./xychartDiagram-PMCCYNJV-5sh7tdrx.js");return{id:ae,diagram:r}},"loader"),Vt={id:ae,detector:zt,loader:$t},Ut=Vt,ie="requirement",Gt=t((r)=>/^\s*requirement(Diagram)?/.test(r),"detector"),Ht=t(async()=>{let{diagram:r}=await import("./requirementDiagram-PLB6GJNP-qyrse7mb.js");return{id:ie,diagram:r}},"loader"),Bt={id:ie,detector:Gt,loader:Ht},Yt=Bt,ne="sequence",jt=t((r)=>/^\s*sequenceDiagram/.test(r),"detector"),qt=t(async()=>{let{diagram:r}=await import("./sequenceDiagram-PO4LG4MO-y9xjxfc5.js");return{id:ne,diagram:r}},"loader"),Wt={id:ne,detector:jt,loader:qt},Xt=Wt,se="classDiagram",Kt=t((r)=>/^\s*classDiagram/.test(r),"detector"),Qt=t(async()=>{let{diagram:r}=await import("./classDiagram-v2-NBCMYWYE-r26wg74e.js");return{id:se,diagram:r}},"loader"),Zt={id:se,detector:Kt,loader:Qt},Jt=Zt,ce="stateDiagram",ra=t((r)=>/^\s*stateDiagram/.test(r),"detector"),ea=t(async()=>{let{diagram:r}=await import("./stateDiagram-v2-GCMORJYK-r134s4xr.js");return{id:ce,diagram:r}},"loader"),ta={id:ce,detector:ra,loader:ea},aa=ta,le="journey",ia=t((r)=>/^\s*journey/.test(r),"detector"),oa=t(async()=>{let{diagram:r}=await import("./journeyDiagram-ZHPQQLJL-f0p1h8qn.js");return{id:le,diagram:r}},"loader"),na={id:le,detector:ia,loader:oa},sa=na,da=t((r,e,a)=>{l.debug(`rendering svg for syntax error
|
|
2
|
+
`);let i=de(e),o=i.append("g");i.attr("viewBox","0 0 2412 512"),te(i,100,512,!0),o.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),o.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),o.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),o.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),o.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),o.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),o.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),o.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${a}`)},"draw"),me={draw:da},ca=me,la={db:{},renderer:me,parser:{parse:t(()=>{return},"parse")}},ma=la,ue="flowchart-elk",ua=t((r,e={})=>{if(/^\s*flowchart-elk/.test(r))return e.layout="elk",!0;return!1},"detector"),pa=t(async()=>{let{diagram:r}=await import("./flowDiagram-KWPJA3E3-krsvgcq7.js");return{id:ue,diagram:r}},"loader"),fa={id:ue,detector:ua,loader:pa},ga=fa,pe="timeline",va=t((r)=>/^\s*timeline/.test(r),"detector"),ha=t(async()=>{let{diagram:r}=await import("./timeline-definition-EJHVYXUP-cgjd8shk.js");return{id:pe,diagram:r}},"loader"),ya={id:pe,detector:va,loader:ha},wa=ya,fe="mindmap",xa=t((r)=>/^\s*mindmap/.test(r),"detector"),ba=t(async()=>{let{diagram:r}=await import("./mindmap-definition-NLK3R4M7-7shv6ge0.js");return{id:fe,diagram:r}},"loader"),Sa={id:fe,detector:xa,loader:ba},Ea=Sa,ge="kanban",Da=t((r)=>/^\s*kanban/.test(r),"detector"),Ta=t(async()=>{let{diagram:r}=await import("./kanban-definition-PNTS6WVX-7jdt7dv1.js");return{id:ge,diagram:r}},"loader"),Aa={id:ge,detector:Da,loader:Ta},_a=Aa,ve="sankey",Ca=t((r)=>/^\s*sankey(-beta)?/.test(r),"detector"),La=t(async()=>{let{diagram:r}=await import("./sankeyDiagram-IPEJSGJF-254qr59q.js");return{id:ve,diagram:r}},"loader"),Ma={id:ve,detector:Ca,loader:La},ka=Ma,he="packet",Ra=t((r)=>/^\s*packet(-beta)?/.test(r),"detector"),Ia=t(async()=>{let{diagram:r}=await import("./diagram-MLGK6HIB-s68rgy16.js");return{id:he,diagram:r}},"loader"),Oa={id:he,detector:Ra,loader:Ia},ye="radar",za=t((r)=>/^\s*radar-beta/.test(r),"detector"),$a=t(async()=>{let{diagram:r}=await import("./diagram-MPIPVDR6-azgkm6w8.js");return{id:ye,diagram:r}},"loader"),Pa={id:ye,detector:za,loader:$a},we="block",Na=t((r)=>/^\s*block(-beta)?/.test(r),"detector"),Va=t(async()=>{let{diagram:r}=await import("./blockDiagram-BEXU5L5S-16q285n1.js");return{id:we,diagram:r}},"loader"),Ua={id:we,detector:Na,loader:Va},Ga=Ua,xe="treeView",Ha=t((r)=>/^\s*treeView-beta/.test(r),"detector"),Ba=t(async()=>{let{diagram:r}=await import("./diagram-CDSNMT55-7abar8s7.js");return{id:xe,diagram:r}},"loader"),Ya={id:xe,detector:Ha,loader:Ba},ja=Ya,be="architecture",qa=t((r)=>/^\s*architecture/.test(r),"detector"),Wa=t(async()=>{let{diagram:r}=await import("./architectureDiagram-NJMV4G6O-170v67rr.js");return{id:be,diagram:r}},"loader"),Xa={id:be,detector:qa,loader:Wa},Ka=Xa,Se="eventmodeling",Qa=t((r)=>/^\s*eventmodeling/.test(r),"detector"),Za=t(async()=>{let{diagram:r}=await import("./diagram-ATOU4E4O-6t2qxsk4.js");return{id:Se,diagram:r}},"loader"),Ja={id:Se,detector:Qa,loader:Za},ri=Ja,Ee="ishikawa",ei=t((r)=>/^\s*ishikawa(-beta)?\b/i.test(r),"detector"),ti=t(async()=>{let{diagram:r}=await import("./ishikawaDiagram-OU5B5YK6-n3dk6227.js");return{id:Ee,diagram:r}},"loader"),ai={id:Ee,detector:ei,loader:ti},De="venn",ii=t((r)=>/^\s*venn-beta/.test(r),"detector"),oi=t(async()=>{let{diagram:r}=await import("./vennDiagram-UO4OBE2U-4grw9awx.js");return{id:De,diagram:r}},"loader"),si={id:De,detector:ii,loader:oi},di=si,Te="treemap",ci=t((r)=>/^\s*treemap/.test(r),"detector"),li=t(async()=>{let{diagram:r}=await import("./diagram-3UASUU5V-6j2w016f.js");return{id:Te,diagram:r}},"loader"),mi={id:Te,detector:ci,loader:li},Ae="usecase",ui=t((r)=>/^\s*usecase-beta(?:\s|$)/.test(r),"detector"),pi=t(async()=>{let{diagram:r}=await import("./usecaseDiagram-POWQR4AR-9qsmjhm6.js");return{id:Ae,diagram:r}},"loader"),fi={id:Ae,detector:ui,loader:pi},_e="wardley",gi=t((r)=>/^\s*wardley-beta/i.test(r),"detector"),vi=t(async()=>{let{diagram:r}=await import("./wardleyDiagram-VNRHLVJA-8gxy0wat.js");return{id:_e,diagram:r}},"loader"),hi={id:_e,detector:gi,loader:vi},yi=hi,Ce="cynefin",wi=t((r)=>/^\s*cynefin-beta(?:[\s:]|$)/.test(r),"detector"),xi=t(async()=>{let{diagram:r}=await import("./cynefinDiagram-VND7K2PF-tcxdn6pa.js");return{id:Ce,diagram:r}},"loader"),bi={id:Ce,detector:wi,loader:xi},Le="railroad",Si=t((r)=>/^\s*railroad-beta/i.test(r),"detector"),Ei=t(async()=>{let{diagram:r}=await import("./railroadDiagram-XR7U4H2S-rw8cj5f3.js");return{id:Le,diagram:r}},"loader"),Di={id:Le,detector:Si,loader:Ei},Me="railroadEbnf",Ti=t((r)=>/^\s*railroad-ebnf-beta/i.test(r),"detector"),Ai=t(async()=>{let{diagram:r}=await import("./ebnfDiagram-ZINNZB2B-esrjz750.js");return{id:Me,diagram:r}},"loader"),_i={id:Me,detector:Ti,loader:Ai},ke="railroadAbnf",Ci=t((r)=>/^\s*railroad-abnf-beta/i.test(r),"detector"),Li=t(async()=>{let{diagram:r}=await import("./abnfDiagram-O67JEVCF-nx9jzn7m.js");return{id:ke,diagram:r}},"loader"),Mi={id:ke,detector:Ci,loader:Li},Re="railroadPeg",ki=t((r)=>/^\s*railroad-peg-beta/i.test(r),"detector"),Ri=t(async()=>{let{diagram:r}=await import("./pegDiagram-GJSIUBJH-17ak2zx3.js");return{id:Re,diagram:r}},"loader"),Ii={id:Re,detector:ki,loader:Ri},Gr=!1,pr=t(()=>{if(Gr)return;Gr=!0,hu("error",ma,(r)=>r.toLowerCase().trim()==="error"),hu("---",{db:{clear:t(()=>{},"clear")},styles:{},renderer:{draw:t(()=>{},"draw")},parser:{parse:t(()=>{throw Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:t(()=>null,"init")},(r)=>r.toLowerCase().trimStart().startsWith("---")),Ld(ga,Ea,Ka),Ld(ct,et,_a,Jt,ht,Tt,Ct,kt,Yt,Xt,pt,ot,wa,bt,aa,sa,Ft,ka,Oa,Ut,Ga,ri,ja,Pa,ai,mi,Di,_i,Mi,Ii,di,yi,bi,fi)},"addDiagrams"),Oi=t(async()=>{l.debug("Loading registered diagrams");let e=(await Promise.allSettled(Object.entries(Eo).map(async([a,{detector:i,loader:o}])=>{if(!o)return;try{$d(a)}catch{try{let{diagram:n,id:d}=await o();hu(d,n,i)}catch(n){throw l.error(`Failed to load external diagram with key ${a}. Removing from detectors.`),delete Eo[a],n}}}))).filter((a)=>a.status==="rejected");if(e.length>0){l.error(`Failed to load ${e.length} external diagrams`);for(let a of e)l.error(a);throw Error(`Failed to load ${e.length} external diagrams`)}},"loadRegisteredDiagrams"),Fi="graphics-document document";function Ie(r,e){if(r.attr("role",Fi),e!=="")r.attr("aria-roledescription",e)}t(Ie,"setA11yDiagramInfo");function Oe(r,e,a,i){if(r.insert===void 0)return;if(a){let o=`chart-desc-${i}`;r.attr("aria-describedby",o),r.insert("desc",":first-child").attr("id",o).text(a)}if(e){let o=`chart-title-${i}`;r.attr("aria-labelledby",o),r.insert("title",":first-child").attr("id",o).text(e)}}t(Oe,"addSVGa11yTitleDescription");var mr=class r{constructor(e,a,i,o,n){this.type=e,this.text=a,this.db=i,this.parser=o,this.renderer=n}static{t(this,"Diagram")}static async fromText(e,a={}){let i=typeof e==="string"?{raw:e,cleaned:e}:e,o=E(),n=Bl(i.cleaned,o);try{$d(n)}catch{let u=mA(n);if(!u)throw new Af(`Diagram ${n} not found.`);let{id:x,diagram:T}=await u();hu(x,T)}let{db:d,parser:s,renderer:c,init:f}=$d(n);if(s.parser)s.parser.yy=d;if(d.clear?.(),f?.(o),a.title)d.setDiagramTitle?.(a.title);let g=i.cleaned;if(d.preserveCommentsWhenParsing&&i.withComments){let u=o.maxTextSize??K.maxTextSize;if(i.withComments.length>u)l.warn(`Comment-preserving source exceeds maxTextSize (${i.withComments.length} > ${u}); parsing the comment-stripped text instead. Reported source positions will not account for comment lines.`);else g=i.withComments}let p=xA(g)+`
|
|
3
|
+
`;if(i.frontmatterLineOffset)d.setFrontmatterLineOffset?.(i.frontmatterLineOffset);return await s.parse(p),new r(n,p,d,s,c)}async render(e,a){await this.renderer.draw(this.text,e,a,this)}getParser(){return this.parser}getType(){return this.type}},Hr=[],zi=t(()=>{Hr.forEach((r)=>{r()}),Hr=[]},"attachFunctions"),Pi=t((r)=>r.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function Fe(r){let e=r.match(ff);if(!e)return{text:r,metadata:{}};let a=e[1],i=a?e[2].split(`
|
|
4
4
|
`).map((d)=>d.startsWith(a)?d.slice(a.length):d).join(`
|
|
5
5
|
`):e[2],o=rr(i,{schema:nr})??{};o=typeof o==="object"&&!Array.isArray(o)?o:{};let n={};if(o.displayMode)n.displayMode=o.displayMode.toString();if(o.title)n.title=o.title.toString();if(o.config)n.config=o.config;return{text:r.slice(e[0].length),metadata:n}}t(Fe,"extractFrontMatter");var Ni=t((r)=>r.replace(/\r\n?/g,`
|
|
6
|
-
`).replace(/<(\w+)([^>]*)>/g,(e,a,i)=>"<"+a+i.replace(/="([^"]*)"/g,"='$1'")+">"),"cleanupText"),Vi=t((r)=>{let{text:e,metadata:a}=Fe(r),{displayMode:i,title:o,config:n={}}=a;if(i){if(!n.gantt)n.gantt={};n.gantt.displayMode=i}return{title:o,config:n,text:e}},"processFrontmatter"),Ui=t((r)=>{let e=W.detectInit(r)??{},a=W.detectDirective(r,"wrap");if(Array.isArray(a))e.wrap=a.some(({type:i})=>i==="wrap");else if(a?.type==="wrap")e.wrap=!0;return{text:
|
|
6
|
+
`).replace(/<(\w+)([^>]*)>/g,(e,a,i)=>"<"+a+i.replace(/="([^"]*)"/g,"='$1'")+">"),"cleanupText"),Vi=t((r)=>{let{text:e,metadata:a}=Fe(r),{displayMode:i,title:o,config:n={}}=a;if(i){if(!n.gantt)n.gantt={};n.gantt.displayMode=i}return{title:o,config:n,text:e}},"processFrontmatter"),Ui=t((r)=>{let e=W.detectInit(r)??{},a=W.detectDirective(r,"wrap");if(Array.isArray(a))e.wrap=a.some(({type:i})=>i==="wrap");else if(a?.type==="wrap")e.wrap=!0;return{text:kA(r),directive:e}},"processDirectives");function yr(r){let e=r,a=Ni(r),i=Vi(a),o=Ui(i.text),n=oe(i.config,o.directive),d=o.text,s=Pi(d),c=a.length>i.text.length?(a.substring(0,a.length-i.text.length).match(/\n/g)??[]).length:0;return{code:{raw:e,cleaned:s,withComments:d,frontmatterLineOffset:c},title:i.title,config:n}}t(yr,"preprocessDiagram");function ze(r){let e=new TextEncoder().encode(r),a=Array.from(e,(i)=>String.fromCodePoint(i)).join("");return btoa(a)}t(ze,"toBase64");var Hi=50000,Bi="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",Yi="sandbox",ji="loose",qi="http://www.w3.org/2000/svg",Wi="http://www.w3.org/1999/xlink",Xi="http://www.w3.org/1999/xhtml",Ki="100%",Qi="100%",Zi="border:0;margin:0;",Ji="margin:0",ro="allow-top-navigation-by-user-activation allow-popups",eo='The "iframe" tag is not supported by your browser.',to=["foreignobject"],ao=["dominant-baseline"];function wr(r){let e=yr(r);gu();let a;try{a=Bl(e.code.cleaned,E())}catch{a=void 0}return Md(a),hA(e.config??{}),e}t(wr,"processAndSetConfigs");async function $e(r,e){pr();try{let{code:a,config:i}=wr(r);return{diagramType:(await mr.fromText(a)).type,config:i}}catch(a){if(e?.suppressErrors)return!1;throw a}finally{Md(void 0)}}t($e,"parse");var Br=t((r,e,a=[])=>{let i=gf(`{ ${a.join(" !important; ")} !important; }`);return`.${r} ${e} ${i}`},"cssImportantStyles"),io=t((r,e=new Map)=>{let a=new CSSStyleSheet;if(r.fontFamily!==void 0)a.insertRule(`:root { --mermaid-font-family: ${r.fontFamily}}`,a.cssRules.length);if(r.altFontFamily!==void 0)a.insertRule(`:root { --mermaid-alt-font-family: ${r.altFontFamily}}`,a.cssRules.length);if(e instanceof Map){let s=Pt(r)?["> *","span"]:["rect","polygon","ellipse","circle","path"];e.forEach((c)=>{if(!fr(c.styles))s.forEach((f)=>{a.insertRule(Br(c.id,f,c.styles),a.cssRules.length)});if(!fr(c.textStyles))a.insertRule(Br(c.id,"tspan",(c?.textStyles||[]).map((f)=>f.replace("color","fill"))),a.cssRules.length)})}let i="";if(r.themeCSS!==void 0)if(typeof a.replaceSync==="function"){let o=new CSSStyleSheet;o.replaceSync(r.themeCSS),i=Pd(o)+`
|
|
7
7
|
`}else i+=`${r.themeCSS}
|
|
8
|
-
`;return i+
|
|
8
|
+
`;return i+Pd(a)},"createCssStyles"),oo=t((r,e)=>lr(Nr(`${r}{${e}}`),Ur([t(function(i,o,n,d){if(i.type==="rule"&&Array.isArray(i.props)){if(i.parent&&i.parent.type===q)return;i.props=i.props.map((s)=>{if(s===r&&Array.isArray(i.children)&&i.children.every((f)=>{if(f.type!=="decl")return!1;return new Set(["font-family","font-size","fill"]).has(f.props)}))return s;if(!((s.startsWith(`${r} `)||s.startsWith(`${r}>`))&&!s.startsWith(`${r} ||`)))return`${r} ${s}`;return s})}else if(i.type.startsWith("@")){if(![br,Er,er,Tr,"@container","@starting-style",q].includes(i.type))l.warn(`Removing unsupported at-rule ${i.type} from CSS`),i.type=U}},"addNamespace"),Vr])),"compileCSS"),no=t((r,e,a,i)=>{let o=io(r,a),n=yA(e,o,{...r.themeVariables,theme:r.theme,look:r.look},i);return oo(i,n)},"createUserStyles"),so=t((r="",e,a)=>{let i=r;if(!a&&!e)i=i.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#');return i=Fa(i),i=i.replace(/<br>/g,"<br/>"),i},"cleanUpSvgCode"),co=t((r="",e)=>{let a=e?.viewBox?.baseVal?.height?e.viewBox.baseVal.height+"px":Qi,i=ze(`<body style="${Ji}">${r}</body>`);return`<iframe style="width:${Ki};height:${a};${Zi}" src="data:text/html;charset=UTF-8;base64,${i}" sandbox="${ro}">
|
|
9
9
|
${eo}
|
|
10
|
-
</iframe>`},"putIntoIFrame"),Yr=t((r,e,a,i,o)=>{let n=r.append("div");if(n.attr("id",a),i)n.attr("style",i);let d=n.append("svg").attr("id",e).attr("width","100%").attr("xmlns",qi);if(o)d.attr("xmlns:xlink",o);return d.append("g"),r},"appendDivSvgG");function hr(r,e){return r.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}t(hr,"sandboxedIframe");var lo=t((r,e,a,i)=>{r.getElementById(e)?.remove(),r.getElementById(a)?.remove(),r.getElementById(i)?.remove()},"removeExistingElements"),mo=t(async function(r,e,a){pr();let i=wr(e),o=i.code;e=o.cleaned;let n=E();if(l.debug(n),e.length>(n?.maxTextSize??Hi))e=Bi,o={raw:e,cleaned:e};let d=`#${r}`,s="i"+r,c="#"+s,f="d"+r,g="#"+f,p=t(()=>{let j=h(x?c:g).node();if(j&&"remove"in j)j.remove()},"removeTempElements"),u=h(document.body),x=n.securityLevel===Yi,T=n.securityLevel===ji,S=n.fontFamily;if(a!==void 0){if(a)a.innerHTML="";if(x){let w=hr(h(a),s);u=h(w.nodes()[0].contentDocument.body),u.node().style.margin="0"}else u=h(a);Yr(u,r,f,`font-family: ${S}`,Wi)}else{if(lo(document,r,f,s),x){let w=hr(h(document.body),s);u=h(w.nodes()[0].contentDocument.body),u.node().style.margin="0"}else u=h("body");Yr(u,r,f)}let b,A;try{b=await mr.fromText(o,{title:i.title})}catch(w){if(n.suppressErrorRendering)throw p(),w;b=await mr.fromText("error"),A=w}let _=u.select(g).node(),v=b.type,k=_.firstChild,V=k.firstChild,R=b.renderer.getClasses?.(e,b),C=no(n,v,R,d),m=document.createElement("style");m.innerHTML=C,k.insertBefore(m,V);try{await b.renderer.draw(e,r,"12.0.0",b)}catch(w){if(n.suppressErrorRendering)p();else ca.draw(e,r,"12.0.0");throw w}let Ye=u.select(`${g} svg`),je=b.db.getAccTitle?.(),We=b.db.getAccDescription?.();Ne(v,Ye,je,We);let Xe=t(()=>{u.select(`[id="${r}"]`).selectAll("foreignobject > *").attr("xmlns",Xi);let w=u.select(g).node().innerHTML;if(l.debug("config.arrowMarkerAbsolute",n.arrowMarkerAbsolute),w=so(w,x,Rr(n.arrowMarkerAbsolute)),x){let j=u.select(g+" svg").node();w=co(w,j)}else if(!T)w=Nt.sanitize(w,{ADD_TAGS:to,ADD_ATTR:ao,HTML_INTEGRATION_POINTS:{foreignobject:!0}});return zi(),w},"serializeSvg")();if(A)throw A;return p(),{diagramType:v,svg:Xe,bindFunctions:b.db.bindFunctions}},"renderDiagram"),uo=t(async function(r,e,a){try{return await mo(r,e,a)}finally{
|
|
10
|
+
</iframe>`},"putIntoIFrame"),Yr=t((r,e,a,i,o)=>{let n=r.append("div");if(n.attr("id",a),i)n.attr("style",i);let d=n.append("svg").attr("id",e).attr("width","100%").attr("xmlns",qi);if(o)d.attr("xmlns:xlink",o);return d.append("g"),r},"appendDivSvgG");function hr(r,e){return r.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}t(hr,"sandboxedIframe");var lo=t((r,e,a,i)=>{r.getElementById(e)?.remove(),r.getElementById(a)?.remove(),r.getElementById(i)?.remove()},"removeExistingElements"),mo=t(async function(r,e,a){pr();let i=wr(e),o=i.code;e=o.cleaned;let n=E();if(l.debug(n),e.length>(n?.maxTextSize??Hi))e=Bi,o={raw:e,cleaned:e};let d=`#${r}`,s="i"+r,c="#"+s,f="d"+r,g="#"+f,p=t(()=>{let j=h(x?c:g).node();if(j&&"remove"in j)j.remove()},"removeTempElements"),u=h(document.body),x=n.securityLevel===Yi,T=n.securityLevel===ji,S=n.fontFamily;if(a!==void 0){if(a)a.innerHTML="";if(x){let w=hr(h(a),s);u=h(w.nodes()[0].contentDocument.body),u.node().style.margin="0"}else u=h(a);Yr(u,r,f,`font-family: ${S}`,Wi)}else{if(lo(document,r,f,s),x){let w=hr(h(document.body),s);u=h(w.nodes()[0].contentDocument.body),u.node().style.margin="0"}else u=h("body");Yr(u,r,f)}let b,A;try{b=await mr.fromText(o,{title:i.title})}catch(w){if(n.suppressErrorRendering)throw p(),w;b=await mr.fromText("error"),A=w}let _=u.select(g).node(),v=b.type,k=_.firstChild,V=k.firstChild,R=b.renderer.getClasses?.(e,b),C=no(n,v,R,d),m=document.createElement("style");m.innerHTML=C,k.insertBefore(m,V);try{await b.renderer.draw(e,r,"12.0.0",b)}catch(w){if(n.suppressErrorRendering)p();else ca.draw(e,r,"12.0.0");throw w}let Ye=u.select(`${g} svg`),je=b.db.getAccTitle?.(),We=b.db.getAccDescription?.();Ne(v,Ye,je,We);let Xe=t(()=>{u.select(`[id="${r}"]`).selectAll("foreignobject > *").attr("xmlns",Xi);let w=u.select(g).node().innerHTML;if(l.debug("config.arrowMarkerAbsolute",n.arrowMarkerAbsolute),w=so(w,x,Rr(n.arrowMarkerAbsolute)),x){let j=u.select(g+" svg").node();w=co(w,j)}else if(!T)w=Nt.sanitize(w,{ADD_TAGS:to,ADD_ATTR:ao,HTML_INTEGRATION_POINTS:{foreignobject:!0}});return zi(),w},"serializeSvg")();if(A)throw A;return p(),{diagramType:v,svg:Xe,bindFunctions:b.db.bindFunctions}},"renderDiagram"),uo=t(async function(r,e,a){try{return await mo(r,e,a)}finally{Md(void 0)}},"render");function Pe(r={}){let e=qe({},r);if(e?.fontFamily&&!e.themeVariables?.fontFamily){if(!e.themeVariables)e.themeVariables={};e.themeVariables.fontFamily=e.fontFamily}AA(e);let a=$i.theme;if(e?.theme&&Object.hasOwn(ni,e.theme))e.themeVariables=ni[e.theme].getThemeVariables(e.themeVariables);else if(e){if(e.theme!=null&&e.theme!=="null")e.theme=a;e.themeVariables=ni[a].getThemeVariables(e.themeVariables)}let i=typeof e==="object"?fA(e):hf();Au(i.logLevel),pr()}t(Pe,"initialize");var po=t((r,e={})=>{let{code:a}=yr(r);return mr.fromText(a,e)},"getDiagramFromText");function Ne(r,e,a,i){Ie(e,r),Oe(e,a,i,e.attr("id"))}t(Ne,"addA11yInfo");var N=Object.freeze({render:uo,parse:$e,getDiagramFromText:po,initialize:Pe,getConfig:E,setConfig:bf,getSiteConfig:hf,updateSiteConfig:gA,reset:t(()=>{gu()},"reset"),globalReset:t(()=>{gu($i)},"globalReset"),defaultConfig:$i});Au(E().logLevel);gu(E());var fo=t((r,e,a)=>{if(l.warn(r),lp(r)){if(a)a(r.str,r.hash);e.push({...r,message:r.str,error:r})}else{if(a)a(r);if(r instanceof Error)e.push({str:r.message,message:r.message,hash:r.name,error:r})}},"handleError"),Ve=t(async function(r={querySelector:".mermaid"}){try{await go(r)}catch(e){if(lp(e))l.error(e.str);if(z.parseError)z.parseError(e);if(!r.suppressErrors)throw l.error("Use the suppressErrors option to suppress these errors"),e}},"run"),go=t(async function({postRenderCallback:r,querySelector:e,nodes:a}={querySelector:".mermaid"}){let i=N.getConfig();l.debug(`${!r?"No ":""}Callback function found`);let o;if(a)o=a;else if(e)o=document.querySelectorAll(e);else throw Error("Nodes and querySelector are both undefined");if(l.debug(`Found ${o.length} diagrams`),i?.startOnLoad!==void 0)l.debug("Start On Load: "+i?.startOnLoad),N.updateSiteConfig({startOnLoad:i?.startOnLoad});let n=new W.InitIDGenerator(i.deterministicIds,i.deterministicIDSeed),d,s=[];for(let c of Array.from(o)){if(l.info("Rendering diagram: "+c.id),c.getAttribute("data-processed"))continue;c.setAttribute("data-processed","true");let f=`mermaid-${n.next()}`;d=c.innerHTML,d=cp(W.entityDecode(d)).trim().replace(/<br\s*\/?>/gi,"<br/>");let g=W.detectInit(d);if(g)l.debug("Detected early reinit: ",g);try{let{svg:p,bindFunctions:u}=await Be(f,d,c);if(c.innerHTML=p,r)await r(f);if(u)u(c)}catch(p){fo(p,s,z.parseError)}}if(s.length>0)throw s[0]},"runThrowsErrors"),Ue=t(function(r){N.initialize(r)},"initialize"),vo=t(async function(r,e,a){if(l.warn("mermaid.init is deprecated. Please use run instead."),r)Ue(r);let i={postRenderCallback:a,querySelector:".mermaid"};if(typeof e==="string")i.querySelector=e;else if(e)if(e instanceof HTMLElement)i.nodes=[e];else i.nodes=e;await Ve(i)},"init"),ho=t(async(r,{lazyLoad:e=!0}={})=>{if(pr(),Ld(...r),e===!1)await Oi()},"registerExternalDiagrams"),Ge=t(function(){if(z.startOnLoad){let{startOnLoad:r}=N.getConfig();if(r)z.run().catch((e)=>l.error("Mermaid failed to initialize",e))}},"contentLoaded");if(typeof document<"u")window.addEventListener("load",Ge,!1);var yo=t(function(r){z.parseError=r},"setParseErrorHandler"),ur=[],vr=!1,He=t(async()=>{if(vr)return;vr=!0;while(ur.length>0){let r=ur.shift();if(r)try{await r()}catch(e){l.error("Error executing queue",e)}}vr=!1},"executeQueue"),wo=t(async(r,e)=>new Promise((a,i)=>{let o=t(()=>new Promise((n,d)=>{N.parse(r,e).then((s)=>{n(s),a(s)},(s)=>{l.error("Error parsing",s),z.parseError?.(s),d(s),i(s)})}),"performCall");ur.push(o),He().catch(i)}),"parse"),Be=t((r,e,a)=>new Promise((i,o)=>{let n=t(()=>new Promise((d,s)=>{N.render(r,e,a).then((c)=>{d(c),i(c)},(c)=>{l.error("Error parsing",c),z.parseError?.(c),s(c),o(c)})}),"performCall");ur.push(n),He().catch(o)}),"render"),xo=t(()=>Object.keys(Eo).map((r)=>({id:r})),"getRegisteredDiagramsMetadata"),z={startOnLoad:!0,mermaidAPI:N,parse:wo,render:Be,init:vo,run:Ve,registerExternalDiagrams:ho,registerLayoutLoaders:_f,initialize:Ue,parseError:void 0,contentLoaded:Ge,setParseErrorHandler:yo,detectType:Bl,registerIconPacks:So,getRegisteredDiagramsMetadata:xo},gn=z;/*! Check if previously processed *//*!
|
|
11
11
|
* Wait for document loaded before starting the execution
|
|
12
12
|
*/export{gn as default};
|