@aiquants/markdown 11.0.1 → 11.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +74 -1
- package/dist/{abnfDiagram-VRR7QNED-Cgd_ClOa.js → abnfDiagram-VRR7QNED-B9EKZZCe.js} +3 -3
- package/dist/{abnfDiagram-VRR7QNED-CGbpxxTZ.cjs → abnfDiagram-VRR7QNED-BUUUWvsh.cjs} +1 -1
- package/dist/{arc-B6YeA1yq.js → arc-BWBxoAtH.js} +20 -20
- package/dist/{arc-83PgiFkI.cjs → arc-BdyZzyRm.cjs} +1 -1
- package/dist/{architectureDiagram-ZJ3FMSHR-CbKT84Qu.cjs → architectureDiagram-ZJ3FMSHR-C-j7rcTN.cjs} +1 -1
- package/dist/{architectureDiagram-ZJ3FMSHR-DUyxO_OT.js → architectureDiagram-ZJ3FMSHR-C82P-Or8.js} +2 -2
- package/dist/{blockDiagram-677ZJIJ3-KhRxVKIG.cjs → blockDiagram-677ZJIJ3-B28l1266.cjs} +1 -1
- package/dist/{blockDiagram-677ZJIJ3-BGRgY0Jq.js → blockDiagram-677ZJIJ3-DQwdwRWd.js} +3 -3
- package/dist/{c4Diagram-LMCZKHZV-DKwEMXl5.cjs → c4Diagram-LMCZKHZV-BHj3qRWp.cjs} +1 -1
- package/dist/{c4Diagram-LMCZKHZV-DNyEsvRI.js → c4Diagram-LMCZKHZV-BKS-5aGN.js} +2 -2
- package/dist/{channel-CPuos4DK.js → channel-CItIM75V.js} +1 -1
- package/dist/{channel-BwAxLUKJ.cjs → channel-C_cP5iR1.cjs} +1 -1
- package/dist/{chunk-2Q5K7J3B-ueL9YXgS.cjs → chunk-2Q5K7J3B-B0pXO2t7.cjs} +1 -1
- package/dist/{chunk-2Q5K7J3B-CwNIIf2z.js → chunk-2Q5K7J3B-D52R-aDh.js} +1 -1
- package/dist/{chunk-32BRIVSS-4GH9FvG2.js → chunk-32BRIVSS-DUlLCGoQ.js} +1 -1
- package/dist/{chunk-32BRIVSS-CyqPFuo9.cjs → chunk-32BRIVSS-e82Hm1LK.cjs} +1 -1
- package/dist/{chunk-5VM5RSS4-B9y1bN8p.cjs → chunk-5VM5RSS4-DmYNlEib.cjs} +1 -1
- package/dist/{chunk-5VM5RSS4-C5Js9nxl.js → chunk-5VM5RSS4-WjZ3Kfp-.js} +1 -1
- package/dist/{chunk-EX3LRPZG-BZcvojz_.js → chunk-EX3LRPZG-CZeIl-CM.js} +4 -4
- package/dist/{chunk-EX3LRPZG-CmfR2Me0.cjs → chunk-EX3LRPZG-VOMDBd7V.cjs} +1 -1
- package/dist/{chunk-JWPE2WC7-C-ypCY3I.cjs → chunk-JWPE2WC7-DqZGyZxO.cjs} +1 -1
- package/dist/{chunk-JWPE2WC7-CtaWl_b_.js → chunk-JWPE2WC7-XtdP0lPA.js} +1 -1
- package/dist/{chunk-MOJQB5TN-01G2RIVR.js → chunk-MOJQB5TN-BGmMcnEb.js} +10 -10
- package/dist/{chunk-MOJQB5TN-BwSAskm8.cjs → chunk-MOJQB5TN-C-I6Np3F.cjs} +1 -1
- package/dist/{chunk-PUDLZKDR-D2o-M0Rj.cjs → chunk-PUDLZKDR-BU0xXgGZ.cjs} +1 -1
- package/dist/{chunk-PUDLZKDR-CnpC3xcz.js → chunk-PUDLZKDR-CVDCE8CQ.js} +6 -6
- package/dist/{chunk-RYQCIY6F-BJxwuEX_.js → chunk-RYQCIY6F-CazlBHVq.js} +12 -12
- package/dist/{chunk-RYQCIY6F-sv402gFf.cjs → chunk-RYQCIY6F-CzgqsQUG.cjs} +1 -1
- package/dist/{chunk-V7JOEXUC-gP3tRqcD.cjs → chunk-V7JOEXUC-BHcjsh4X.cjs} +1 -1
- package/dist/{chunk-V7JOEXUC-CAVk2pKT.js → chunk-V7JOEXUC-DjZLR1xm.js} +15 -15
- package/dist/{chunk-VR4S4FIN-BVOrMLGd.js → chunk-VR4S4FIN-BdHVIRqw.js} +3 -3
- package/dist/{chunk-VR4S4FIN-N9b38pB9.cjs → chunk-VR4S4FIN-DKCdFxYZ.cjs} +1 -1
- package/dist/{chunk-XXDRQBXY-rk2BF2-a.cjs → chunk-XXDRQBXY-DqQWFq5n.cjs} +1 -1
- package/dist/{chunk-XXDRQBXY-QR32cWjB.js → chunk-XXDRQBXY-Z_rLeBGt.js} +1 -1
- package/dist/{classDiagram-OUVF2IWQ-CiKDmY89.cjs → classDiagram-OUVF2IWQ-HX7id7VH.cjs} +1 -1
- package/dist/{classDiagram-v2-EOCWNBFH-DWLi6mnu.js → classDiagram-OUVF2IWQ-x_3zaG1u.js} +2 -2
- package/dist/{classDiagram-v2-EOCWNBFH-CiKDmY89.cjs → classDiagram-v2-EOCWNBFH-HX7id7VH.cjs} +1 -1
- package/dist/{classDiagram-OUVF2IWQ-DWLi6mnu.js → classDiagram-v2-EOCWNBFH-x_3zaG1u.js} +2 -2
- package/dist/components/BlockBoundary.d.ts +19 -0
- package/dist/components/MarkdownRenderer.d.ts +6 -1
- package/dist/components/MarkdownViewer.d.ts +3 -1
- package/dist/components/SvgImageBlock.d.ts +25 -0
- package/dist/components/blockFailureLabels.d.ts +2 -0
- package/dist/components/mdastNodes/CodeNode.d.ts +1 -0
- package/dist/components/rawHtml.d.ts +1 -0
- package/dist/components/spreadsheetModel.d.ts +2 -0
- package/dist/components/svgImageLabels.d.ts +16 -0
- package/dist/components/viewerLabels.d.ts +7 -1
- package/dist/converter.wasm +0 -0
- package/dist/{cose-bilkent-JH36ORCC-DLL-HoNB.cjs → cose-bilkent-JH36ORCC-CWD_TQFn.cjs} +1 -1
- package/dist/{cose-bilkent-JH36ORCC-Ndnjy2V_.js → cose-bilkent-JH36ORCC-Cyz8e4tp.js} +5 -5
- package/dist/{cynefinDiagram-TSTJHNR4-BLc8lpj_.cjs → cynefinDiagram-TSTJHNR4-DEFr3c5a.cjs} +1 -1
- package/dist/{cynefinDiagram-TSTJHNR4-CzQeK-ei.js → cynefinDiagram-TSTJHNR4-uBcUSDG3.js} +47 -47
- package/dist/{dagre-VKFMJZFB-BDWsqPrH.js → dagre-VKFMJZFB-Bbd2N7Iu.js} +20 -20
- package/dist/{dagre-VKFMJZFB-CpOLJSPF.cjs → dagre-VKFMJZFB-DByE8-C9.cjs} +1 -1
- package/dist/{diagram-FQU43EPY-DomkDZpC.js → diagram-FQU43EPY-CgQwvhUg.js} +2 -2
- package/dist/{diagram-FQU43EPY-BYwso-90.cjs → diagram-FQU43EPY-DPEX0cuZ.cjs} +1 -1
- package/dist/{diagram-G47NLZAW-CJvutqnO.cjs → diagram-G47NLZAW-50nFSHRv.cjs} +1 -1
- package/dist/{diagram-G47NLZAW-B88unx9N.js → diagram-G47NLZAW-BZsnXoS1.js} +38 -38
- package/dist/{diagram-NH7WQ7WH-B7_b2WAg.cjs → diagram-NH7WQ7WH-TShr7BQh.cjs} +1 -1
- package/dist/{diagram-NH7WQ7WH-c9X1ONTP.js → diagram-NH7WQ7WH-eHSJPLfa.js} +20 -20
- package/dist/{diagram-OA4YK3LP-ClopZbjk.js → diagram-OA4YK3LP-Dphe8PdD.js} +58 -58
- package/dist/{diagram-OA4YK3LP-Dgf5KLVb.cjs → diagram-OA4YK3LP-r5leQ0jD.cjs} +1 -1
- package/dist/{diagram-WEI45ONY-CFk-zdkR.cjs → diagram-WEI45ONY-BaT3chSs.cjs} +1 -1
- package/dist/{diagram-WEI45ONY-Ps4TgzF1.js → diagram-WEI45ONY-pgeZBaVl.js} +10 -10
- package/dist/{ebnfDiagram-CCIWWBDH-CQCWsevA.cjs → ebnfDiagram-CCIWWBDH-D3EvTRKP.cjs} +1 -1
- package/dist/{ebnfDiagram-CCIWWBDH-Cj_QjqN9.js → ebnfDiagram-CCIWWBDH-Hf655Cjt.js} +5 -5
- package/dist/{erDiagram-Q63AITRT-B8HuBKwU.js → erDiagram-Q63AITRT-YkVu4ce1.js} +9 -9
- package/dist/{erDiagram-Q63AITRT-BzYknHNb.cjs → erDiagram-Q63AITRT-fnT4vBqH.cjs} +1 -1
- package/dist/{extractHeadings-Crd19E9z.js → extractHeadings-B8u8yqfC.js} +6670 -6480
- package/dist/{extractHeadings-CbjPphbm.cjs → extractHeadings-DLNXUqAG.cjs} +86 -86
- package/dist/flowDiagram-23GEKE2U-B5AFLHup.js +7 -0
- package/dist/flowDiagram-23GEKE2U-BaQLONgC.cjs +1 -0
- package/dist/{ganttDiagram-NO4QXBWP-ssf7C_OK.js → ganttDiagram-NO4QXBWP-D-SkIoPg.js} +2 -2
- package/dist/{ganttDiagram-NO4QXBWP-DmOJTDey.cjs → ganttDiagram-NO4QXBWP-DC3d7PwO.cjs} +1 -1
- package/dist/{gitGraphDiagram-IHSO6WYX-DO-7gHh9.js → gitGraphDiagram-IHSO6WYX-CjYttPlh.js} +10 -10
- package/dist/{gitGraphDiagram-IHSO6WYX-BXw0xce8.cjs → gitGraphDiagram-IHSO6WYX-DFUHvrlM.cjs} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.client.cjs +1 -1
- package/dist/index.client.d.ts +3 -1
- package/dist/index.client.js +32 -31
- package/dist/index.js +32 -31
- package/dist/{infoDiagram-FWYZ7A6U-C_qI_jda.cjs → infoDiagram-FWYZ7A6U-CM_qocjy.cjs} +1 -1
- package/dist/{infoDiagram-FWYZ7A6U-D9CHdCHO.js → infoDiagram-FWYZ7A6U-DpELmEdt.js} +1 -1
- package/dist/{ishikawaDiagram-FXEZZL3T-B-P0YpVr.js → ishikawaDiagram-FXEZZL3T-doZ6ry1Q.js} +25 -25
- package/dist/{ishikawaDiagram-FXEZZL3T-BsAmXBFz.cjs → ishikawaDiagram-FXEZZL3T-uPR_QB-P.cjs} +1 -1
- package/dist/{journeyDiagram-5HDEW3XC-BReIo-v3.js → journeyDiagram-5HDEW3XC-B3Gvqmgz.js} +4 -4
- package/dist/{journeyDiagram-5HDEW3XC-3vpGGLSR.cjs → journeyDiagram-5HDEW3XC-DKxRZGZY.cjs} +1 -1
- package/dist/{kanban-definition-HUTT4EX6-CgVNbmAG.cjs → kanban-definition-HUTT4EX6-CmEtZdgP.cjs} +1 -1
- package/dist/{kanban-definition-HUTT4EX6-DKqZmd21.js → kanban-definition-HUTT4EX6-XEl_CQHs.js} +52 -52
- package/dist/{linear-C6Pl8W7F.cjs → linear-BJeuATkk.cjs} +1 -1
- package/dist/{linear-BZclxiW5.js → linear-CJwjH-8_.js} +5 -5
- package/dist/{mindmap-definition-LN4V7U3C-CRGWlSrN.cjs → mindmap-definition-LN4V7U3C-B9zpExvk.cjs} +1 -1
- package/dist/{mindmap-definition-LN4V7U3C-suiDe0CR.js → mindmap-definition-LN4V7U3C-Cd2v2Y8Z.js} +16 -16
- package/dist/{pegDiagram-2B236MQR-CNg0sJ5j.js → pegDiagram-2B236MQR-DFYHpIqe.js} +3 -3
- package/dist/{pegDiagram-2B236MQR-DXTBiaER.cjs → pegDiagram-2B236MQR-DWCHB7kd.cjs} +1 -1
- package/dist/{pieDiagram-ENE6RG2P-BjxQd0El.js → pieDiagram-ENE6RG2P-CD581vqD.js} +51 -51
- package/dist/{pieDiagram-ENE6RG2P-Pm5hFcS9.cjs → pieDiagram-ENE6RG2P-LLQzK8bv.cjs} +1 -1
- package/dist/{quadrantDiagram-ABIIQ3AL-CbhdFi8L.js → quadrantDiagram-ABIIQ3AL-BhzJSnax.js} +43 -43
- package/dist/{quadrantDiagram-ABIIQ3AL-Cn9jg0Nj.cjs → quadrantDiagram-ABIIQ3AL-DjC_l1Fw.cjs} +1 -1
- package/dist/{railroadDiagram-RFXS5EU6-BsgUwAcz.cjs → railroadDiagram-RFXS5EU6-C1tKXwxN.cjs} +1 -1
- package/dist/{railroadDiagram-RFXS5EU6-DQZDzmuH.js → railroadDiagram-RFXS5EU6-DmVOfohB.js} +7 -7
- package/dist/{requirementDiagram-TGXJPOKE-B6qkEWAq.js → requirementDiagram-TGXJPOKE-DDpRa8G1.js} +18 -18
- package/dist/{requirementDiagram-TGXJPOKE-Bb7-fVzh.cjs → requirementDiagram-TGXJPOKE-DkGh_vLW.cjs} +1 -1
- package/dist/{sankeyDiagram-HTMAVEWB-B0lfTQm7.js → sankeyDiagram-HTMAVEWB-3UuuubkA.js} +1 -1
- package/dist/{sankeyDiagram-HTMAVEWB-D_i8qvPc.cjs → sankeyDiagram-HTMAVEWB-CkCLaKDd.cjs} +1 -1
- package/dist/{sequenceDiagram-DBY2YBRQ-hK_KsgkL.js → sequenceDiagram-DBY2YBRQ-CRC__bVC.js} +3 -3
- package/dist/{sequenceDiagram-DBY2YBRQ-Cis-Rynd.cjs → sequenceDiagram-DBY2YBRQ-DcWj7JMz.cjs} +1 -1
- package/dist/{sizeCapture-X5ZJPWSS-CmMBsApW.js → sizeCapture-X5ZJPWSS-DuxhTDeu.js} +1 -1
- package/dist/{sizeCapture-X5ZJPWSS-63py1Km1.cjs → sizeCapture-X5ZJPWSS-Wb9vgGKU.cjs} +1 -1
- package/dist/{stateDiagram-2N3HPSRC-DunX61Hp.cjs → stateDiagram-2N3HPSRC-CMBwcQE6.cjs} +1 -1
- package/dist/{stateDiagram-2N3HPSRC-iHHDXYiT.js → stateDiagram-2N3HPSRC-DGfmIJEN.js} +10 -10
- package/dist/{stateDiagram-v2-6OUMAXLB-Cm5Vjes-.cjs → stateDiagram-v2-6OUMAXLB-7UPtJqUO.cjs} +1 -1
- package/dist/{stateDiagram-v2-6OUMAXLB-BGf7WS-h.js → stateDiagram-v2-6OUMAXLB-ZyMZ4vTG.js} +2 -2
- package/dist/styles/markdown.css +1 -1
- package/dist/styles/markdown.standalone.css +1 -1
- package/dist/{swimlanes-5IMT3BWC-BJ1u6dlg.cjs → swimlanes-5IMT3BWC-CZzTj7hi.cjs} +1 -1
- package/dist/{swimlanes-5IMT3BWC-Dlxdol7t.js → swimlanes-5IMT3BWC-CpPHvYma.js} +313 -313
- package/dist/{swimlanesDiagram-G3AALYLV-BJUZ0yd-.cjs → swimlanesDiagram-G3AALYLV-By4sYWRa.cjs} +1 -1
- package/dist/{swimlanesDiagram-G3AALYLV-DhG6vFeB.js → swimlanesDiagram-G3AALYLV-ISXX19Uv.js} +2 -2
- package/dist/{timeline-definition-FHXFAJF6-CC5nYPoS.cjs → timeline-definition-FHXFAJF6-CLuuXV7h.cjs} +1 -1
- package/dist/{timeline-definition-FHXFAJF6-BpNpgP_f.js → timeline-definition-FHXFAJF6-YNTe1gIW.js} +108 -108
- package/dist/{vennDiagram-L72KCM5P-BUO57UaZ.js → vennDiagram-L72KCM5P-B2jRtjMe.js} +101 -101
- package/dist/{vennDiagram-L72KCM5P-B3PoRUuk.cjs → vennDiagram-L72KCM5P-DFt6CSPi.cjs} +1 -1
- package/dist/{wardleyDiagram-EHGQE667-BF8VCIge.cjs → wardleyDiagram-EHGQE667-B1RAAbXU.cjs} +1 -1
- package/dist/{wardleyDiagram-EHGQE667-Bp6gS0HT.js → wardleyDiagram-EHGQE667-ZOmJLYv5.js} +85 -85
- package/dist/{xychartDiagram-FW5EYKEG-C15kZN0r.cjs → xychartDiagram-FW5EYKEG-D1mJfFkC.cjs} +1 -1
- package/dist/{xychartDiagram-FW5EYKEG-CBQgXLz_.js → xychartDiagram-FW5EYKEG-JwURYtLn.js} +40 -40
- package/package.json +11 -11
- package/dist/flowDiagram-23GEKE2U-BIiIKtPl.cjs +0 -1
- package/dist/flowDiagram-23GEKE2U-CL3q35kI.js +0 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const He=require("./chunk-5VM5RSS4-B9y1bN8p.cjs"),Je=require("./chunk-XXDRQBXY-rk2BF2-a.cjs"),Ze=require("./chunk-VR4S4FIN-N9b38pB9.cjs"),r=require("./extractHeadings-CbjPphbm.cjs"),$e=require("./chunk-32BRIVSS-CyqPFuo9.cjs"),et=require("dompurify");var xe=(function(){var s=r.__name(function(v,h,d,f){for(d=d||{},f=v.length;f--;d[v[f]]=h);return d},"o"),i=[1,18],a=[1,19],n=[1,20],u=[1,41],o=[1,26],l=[1,42],p=[1,24],g=[1,25],m=[1,32],S=[1,33],de=[1,34],b=[1,45],pe=[1,35],fe=[1,36],Ae=[1,37],me=[1,38],ge=[1,27],Ce=[1,28],be=[1,29],ke=[1,30],Ee=[1,31],k=[1,44],E=[1,46],T=[1,43],y=[1,47],Te=[1,9],A=[1,8,9],J=[1,58],Z=[1,59],$=[1,60],ee=[1,61],te=[1,62],ye=[1,63],_e=[1,64],F=[1,8,9,41],ve=[1,77],P=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],se=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],ie=[13,60,86,100,102,103],G=[13,60,73,74,86,100,102,103],Ie=[13,60,68,69,70,71,72,86,100,102,103],ae=[1,103],U=[1,121],z=[1,117],Y=[1,113],K=[1,119],Q=[1,114],W=[1,115],q=[1,116],X=[1,118],j=[1,120],Oe=[22,50,60,61,82,86,87,88,89,90],we=[1,128],ne=[12,39],De=[1,8,9,39,41,44,46],re=[1,8,9,22],Ve=[1,153],Pe=[1,8,9,61],L=[1,8,9,22,50,60,61,82,86,87,88,89,90],Fe={trace:r.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"ANNOTATION_START",47:"ANNOTATION_END",48:"CLASS",50:"SPACE",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[38,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:r.__name(function(h,d,f,c,C,e,H){var t=e.length-1;switch(C){case 8:this.$=e[t-1];break;case 9:case 10:case 13:case 15:this.$=e[t];break;case 11:case 14:this.$=e[t-2]+"."+e[t];break;case 12:case 16:this.$=e[t-1]+e[t];break;case 17:case 18:this.$=e[t-1]+"~"+e[t]+"~";break;case 19:c.addRelation(e[t]);break;case 20:e[t-1].title=c.cleanupLabel(e[t]),c.addRelation(e[t-1]);break;case 31:this.$=e[t].trim(),c.setAccTitle(this.$);break;case 32:case 33:this.$=e[t].trim(),c.setAccDescription(this.$);break;case 34:c.addClassesToNamespace(e[t-3],e[t-1][0],e[t-1][1]),c.popNamespace();break;case 35:c.addClassesToNamespace(e[t-4],e[t-1][0],e[t-1][1]),c.popNamespace();break;case 36:this.$=c.addNamespace(e[t]);break;case 37:this.$=c.addNamespace(e[t-1],e[t]);break;case 38:this.$=[[e[t]],[]];break;case 39:this.$=[[e[t-1]],[]];break;case 40:e[t][0].unshift(e[t-2]),this.$=e[t];break;case 41:this.$=[[],[e[t]]];break;case 42:this.$=[[],[e[t-1]]];break;case 43:e[t][1].unshift(e[t-2]),this.$=e[t];break;case 44:case 45:this.$=[[],[]];break;case 46:this.$=e[t];break;case 48:c.setCssClass(e[t-2],e[t]);break;case 49:c.addMembers(e[t-3],e[t-1]);break;case 51:c.setCssClass(e[t-5],e[t-3]),c.addMembers(e[t-5],e[t-1]);break;case 52:c.addAnnotation(e[t-3],e[t-1]);break;case 53:c.addAnnotation(e[t-6],e[t-4]),c.addMembers(e[t-6],e[t-1]);break;case 54:c.addAnnotation(e[t-5],e[t-3]);break;case 55:this.$=e[t],c.addClass(e[t]);break;case 56:this.$=e[t-1],c.addClass(e[t-1]),c.setClassLabel(e[t-1],e[t]);break;case 60:c.addAnnotation(e[t],e[t-2]);break;case 61:case 74:this.$=[e[t]];break;case 62:e[t].push(e[t-1]),this.$=e[t];break;case 63:break;case 64:c.addMember(e[t-1],c.cleanupLabel(e[t]));break;case 65:break;case 66:break;case 67:this.$={id1:e[t-2],id2:e[t],relation:e[t-1],relationTitle1:"none",relationTitle2:"none"};break;case 68:this.$={id1:e[t-3],id2:e[t],relation:e[t-1],relationTitle1:e[t-2],relationTitle2:"none"};break;case 69:this.$={id1:e[t-3],id2:e[t],relation:e[t-2],relationTitle1:"none",relationTitle2:e[t-1]};break;case 70:this.$={id1:e[t-4],id2:e[t],relation:e[t-2],relationTitle1:e[t-3],relationTitle2:e[t-1]};break;case 71:this.$=c.addNote(e[t],e[t-1]);break;case 72:this.$=c.addNote(e[t]);break;case 73:this.$=e[t-2],c.defineClass(e[t-1],e[t]);break;case 75:this.$=e[t-2].concat([e[t]]);break;case 76:c.setDirection("TB");break;case 77:c.setDirection("BT");break;case 78:c.setDirection("RL");break;case 79:c.setDirection("LR");break;case 80:this.$={type1:e[t-2],type2:e[t],lineType:e[t-1]};break;case 81:this.$={type1:"none",type2:e[t],lineType:e[t-1]};break;case 82:this.$={type1:e[t-1],type2:"none",lineType:e[t]};break;case 83:this.$={type1:"none",type2:"none",lineType:e[t]};break;case 84:this.$=c.relationType.AGGREGATION;break;case 85:this.$=c.relationType.EXTENSION;break;case 86:this.$=c.relationType.COMPOSITION;break;case 87:this.$=c.relationType.DEPENDENCY;break;case 88:this.$=c.relationType.LOLLIPOP;break;case 89:this.$=c.lineType.LINE;break;case 90:this.$=c.lineType.DOTTED_LINE;break;case 91:case 97:this.$=e[t-2],c.setClickEvent(e[t-1],e[t]);break;case 92:case 98:this.$=e[t-3],c.setClickEvent(e[t-2],e[t-1]),c.setTooltip(e[t-2],e[t]);break;case 93:this.$=e[t-2],c.setLink(e[t-1],e[t]);break;case 94:this.$=e[t-3],c.setLink(e[t-2],e[t-1],e[t]);break;case 95:this.$=e[t-3],c.setLink(e[t-2],e[t-1]),c.setTooltip(e[t-2],e[t]);break;case 96:this.$=e[t-4],c.setLink(e[t-3],e[t-2],e[t]),c.setTooltip(e[t-3],e[t-1]);break;case 99:this.$=e[t-3],c.setClickEvent(e[t-2],e[t-1],e[t]);break;case 100:this.$=e[t-4],c.setClickEvent(e[t-3],e[t-2],e[t-1]),c.setTooltip(e[t-3],e[t]);break;case 101:this.$=e[t-3],c.setLink(e[t-2],e[t]);break;case 102:this.$=e[t-4],c.setLink(e[t-3],e[t-1],e[t]);break;case 103:this.$=e[t-4],c.setLink(e[t-3],e[t-1]),c.setTooltip(e[t-3],e[t]);break;case 104:this.$=e[t-5],c.setLink(e[t-4],e[t-2],e[t]),c.setTooltip(e[t-4],e[t-1]);break;case 105:this.$=e[t-2],c.setCssStyle(e[t-1],e[t]);break;case 106:c.setCssClass(e[t-1],e[t]);break;case 107:this.$=[e[t]];break;case 108:e[t-2].push(e[t]),this.$=e[t-2];break;case 110:this.$=e[t-1]+e[t];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:n,38:22,42:u,43:23,46:o,48:l,51:p,52:g,54:m,56:S,57:de,60:b,62:pe,63:fe,64:Ae,65:me,75:ge,76:Ce,78:be,82:ke,83:Ee,86:k,100:E,102:T,103:y},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},s(Te,[2,5],{8:[1,48]}),{8:[1,49]},s(A,[2,19],{22:[1,50]}),s(A,[2,21]),s(A,[2,22]),s(A,[2,23]),s(A,[2,24]),s(A,[2,25]),s(A,[2,26]),s(A,[2,27]),s(A,[2,28]),s(A,[2,29]),s(A,[2,30]),{34:[1,51]},{36:[1,52]},s(A,[2,33]),s(A,[2,63],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:J,69:Z,70:$,71:ee,72:te,73:ye,74:_e}),{39:[1,65]},s(F,[2,47],{39:[1,67],44:[1,66],46:[1,68]}),s(A,[2,65]),s(A,[2,66]),{16:69,60:b,86:k,100:E,102:T},{16:39,17:40,19:70,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:71,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:72,60:b,86:k,100:E,102:T,103:y},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:b,86:k,100:E,102:T,103:y},{13:ve,55:76},{58:78,60:[1,79]},s(A,[2,76]),s(A,[2,77]),s(A,[2,78]),s(A,[2,79]),s(P,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:b,86:k,100:E,102:T,103:y}),s(P,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:87,60:b,86:k,100:E,102:T,103:y},s(se,[2,133]),s(se,[2,134]),s(se,[2,135]),s(se,[2,136]),s([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,137]),s(Te,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:88,33:i,35:a,37:n,42:u,46:o,48:l,51:p,52:g,54:m,56:S,57:de,60:b,62:pe,63:fe,64:Ae,65:me,75:ge,76:Ce,78:be,82:ke,83:Ee,86:k,100:E,102:T,103:y}),{5:89,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:n,38:22,42:u,43:23,46:o,48:l,51:p,52:g,54:m,56:S,57:de,60:b,62:pe,63:fe,64:Ae,65:me,75:ge,76:Ce,78:be,82:ke,83:Ee,86:k,100:E,102:T,103:y},s(A,[2,20]),s(A,[2,31]),s(A,[2,32]),{13:[1,91],16:39,17:40,19:90,60:b,86:k,100:E,102:T,103:y},{53:92,66:56,67:57,68:J,69:Z,70:$,71:ee,72:te,73:ye,74:_e},s(A,[2,64]),{67:93,73:ye,74:_e},s(ie,[2,83],{66:94,68:J,69:Z,70:$,71:ee,72:te}),s(G,[2,84]),s(G,[2,85]),s(G,[2,86]),s(G,[2,87]),s(G,[2,88]),s(Ie,[2,89]),s(Ie,[2,90]),{8:[1,96],23:99,24:97,30:98,38:22,40:95,42:u,43:23,48:l,54:m,56:S},{16:100,60:b,86:k,100:E,102:T},{41:[1,102],45:101,51:ae},{16:104,60:b,86:k,100:E,102:T},{47:[1,105]},{13:[1,106]},{13:[1,107]},{79:[1,108],81:[1,109]},{22:U,50:z,59:110,60:Y,82:K,84:111,85:112,86:Q,87:W,88:q,89:X,90:j},{60:[1,122]},{13:ve,55:123},s(F,[2,72]),s(F,[2,138]),{22:U,50:z,59:124,60:Y,61:[1,125],82:K,84:111,85:112,86:Q,87:W,88:q,89:X,90:j},s(Oe,[2,74]),{16:39,17:40,19:126,60:b,86:k,100:E,102:T,103:y},s(P,[2,16]),s(P,[2,17]),s(P,[2,18]),{11:127,12:we,39:[2,36]},s(ne,[2,9],{16:85,17:86,15:130,18:[1,129],60:b,86:k,100:E,102:T,103:y}),s(ne,[2,10]),s(De,[2,55],{11:131,12:we}),s(Te,[2,7]),{9:[1,132]},s(re,[2,67]),{16:39,17:40,19:133,60:b,86:k,100:E,102:T,103:y},{13:[1,135],16:39,17:40,19:134,60:b,86:k,100:E,102:T,103:y},s(ie,[2,82],{66:136,68:J,69:Z,70:$,71:ee,72:te}),s(ie,[2,81]),{41:[1,137]},{23:99,24:97,30:98,38:22,40:138,42:u,43:23,48:l,54:m,56:S},{8:[1,139],41:[2,38]},{8:[1,140],41:[2,41]},{8:[1,141],41:[2,44]},s(F,[2,48],{39:[1,142]}),{41:[1,143]},s(F,[2,50]),{41:[2,61],45:144,51:ae},{47:[1,145]},{16:39,17:40,19:146,60:b,86:k,100:E,102:T,103:y},s(A,[2,91],{13:[1,147]}),s(A,[2,93],{13:[1,149],77:[1,148]}),s(A,[2,97],{13:[1,150],80:[1,151]}),{13:[1,152]},s(A,[2,105],{61:Ve}),s(Pe,[2,107],{85:154,22:U,50:z,60:Y,82:K,86:Q,87:W,88:q,89:X,90:j}),s(L,[2,109]),s(L,[2,111]),s(L,[2,112]),s(L,[2,113]),s(L,[2,114]),s(L,[2,115]),s(L,[2,116]),s(L,[2,117]),s(L,[2,118]),s(L,[2,119]),s(A,[2,106]),s(F,[2,71]),s(A,[2,73],{61:Ve}),{60:[1,155]},s(P,[2,14]),{39:[2,37]},{13:[1,156]},{15:157,16:85,17:86,60:b,86:k,100:E,102:T,103:y},s(ne,[2,12]),s(De,[2,56]),{1:[2,4]},s(re,[2,69]),s(re,[2,68]),{16:39,17:40,19:158,60:b,86:k,100:E,102:T,103:y},s(ie,[2,80]),s(F,[2,34]),{41:[1,159]},{23:99,24:97,30:98,38:22,40:160,41:[2,39],42:u,43:23,48:l,54:m,56:S},{23:99,24:97,30:98,38:22,40:161,41:[2,42],42:u,43:23,48:l,54:m,56:S},{23:99,24:97,30:98,38:22,40:162,41:[2,45],42:u,43:23,48:l,54:m,56:S},{45:163,51:ae},s(F,[2,49]),{41:[2,62]},s(F,[2,52],{39:[1,164]}),s(A,[2,60]),s(A,[2,92]),s(A,[2,94]),s(A,[2,95],{77:[1,165]}),s(A,[2,98]),s(A,[2,99],{13:[1,166]}),s(A,[2,101],{13:[1,168],77:[1,167]}),{22:U,50:z,60:Y,82:K,84:169,85:112,86:Q,87:W,88:q,89:X,90:j},s(L,[2,110]),s(Oe,[2,75]),{14:[1,170]},s(ne,[2,11]),s(re,[2,70]),s(F,[2,35]),{41:[2,40]},{41:[2,43]},{41:[2,46]},{41:[1,171]},{41:[1,173],45:172,51:ae},s(A,[2,96]),s(A,[2,100]),s(A,[2,102]),s(A,[2,103],{77:[1,174]}),s(Pe,[2,108],{85:154,22:U,50:z,60:Y,82:K,86:Q,87:W,88:q,89:X,90:j}),s(De,[2,8]),s(F,[2,51]),{41:[1,175]},s(F,[2,54]),s(A,[2,104]),s(F,[2,53])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],127:[2,37],132:[2,4],144:[2,62],160:[2,40],161:[2,43],162:[2,46]},parseError:r.__name(function(h,d){if(d.recoverable)this.trace(h);else{var f=new Error(h);throw f.hash=d,f}},"parseError"),parse:r.__name(function(h){var d=this,f=[0],c=[],C=[null],e=[],H=this.table,t="",le=0,Me=0,We=2,Re=1,qe=e.slice.call(arguments,1),_=Object.create(this.lexer),O={yy:{}};for(var Be in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Be)&&(O.yy[Be]=this.yy[Be]);_.setInput(h,O.yy),O.yy.lexer=_,O.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var Se=_.yylloc;e.push(Se);var Xe=_.options&&_.options.ranges;typeof O.yy.parseError=="function"?this.parseError=O.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function je(B){f.length=f.length-2*B,C.length=C.length-B,e.length=e.length-B}r.__name(je,"popStack");function Ge(){var B;return B=c.pop()||_.lex()||Re,typeof B!="number"&&(B instanceof Array&&(c=B,B=c.pop()),B=d.symbols_[B]||B),B}r.__name(Ge,"lex");for(var D,w,N,Ne,M={},ce,x,Ue,oe;;){if(w=f[f.length-1],this.defaultActions[w]?N=this.defaultActions[w]:((D===null||typeof D>"u")&&(D=Ge()),N=H[w]&&H[w][D]),typeof N>"u"||!N.length||!N[0]){var Le="";oe=[];for(ce in H[w])this.terminals_[ce]&&ce>We&&oe.push("'"+this.terminals_[ce]+"'");_.showPosition?Le="Parse error on line "+(le+1)+`:
|
|
1
|
+
"use strict";const He=require("./chunk-5VM5RSS4-DmYNlEib.cjs"),Je=require("./chunk-XXDRQBXY-DqQWFq5n.cjs"),Ze=require("./chunk-VR4S4FIN-DKCdFxYZ.cjs"),r=require("./extractHeadings-DLNXUqAG.cjs"),$e=require("./chunk-32BRIVSS-e82Hm1LK.cjs"),et=require("dompurify");var xe=(function(){var s=r.__name(function(v,h,d,f){for(d=d||{},f=v.length;f--;d[v[f]]=h);return d},"o"),i=[1,18],a=[1,19],n=[1,20],u=[1,41],o=[1,26],l=[1,42],p=[1,24],g=[1,25],m=[1,32],S=[1,33],de=[1,34],b=[1,45],pe=[1,35],fe=[1,36],Ae=[1,37],me=[1,38],ge=[1,27],Ce=[1,28],be=[1,29],ke=[1,30],Ee=[1,31],k=[1,44],E=[1,46],T=[1,43],y=[1,47],Te=[1,9],A=[1,8,9],J=[1,58],Z=[1,59],$=[1,60],ee=[1,61],te=[1,62],ye=[1,63],_e=[1,64],F=[1,8,9,41],ve=[1,77],P=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],se=[1,8,9,12,13,18,20,22,39,41,44,46,47,60,68,69,70,71,72,73,74,79,81,86,100,102,103],ie=[13,60,86,100,102,103],G=[13,60,73,74,86,100,102,103],Ie=[13,60,68,69,70,71,72,86,100,102,103],ae=[1,103],U=[1,121],z=[1,117],Y=[1,113],K=[1,119],Q=[1,114],W=[1,115],q=[1,116],X=[1,118],j=[1,120],Oe=[22,50,60,61,82,86,87,88,89,90],we=[1,128],ne=[12,39],De=[1,8,9,39,41,44,46],re=[1,8,9,22],Ve=[1,153],Pe=[1,8,9,61],L=[1,8,9,22,50,60,61,82,86,87,88,89,90],Fe={trace:r.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,classLiteralName:17,DOT:18,className:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,ANNOTATION_START:46,ANNOTATION_END:47,CLASS:48,emptyBody:49,SPACE:50,MEMBER:51,SEPARATOR:52,relation:53,NOTE_FOR:54,noteText:55,NOTE:56,CLASSDEF:57,classList:58,stylesOpt:59,ALPHA:60,COMMA:61,direction_tb:62,direction_bt:63,direction_rl:64,direction_lr:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,STYLE:82,CSSCLASS:83,style:84,styleComponent:85,NUM:86,COLON:87,UNIT:88,BRKT:89,PCT:90,commentToken:91,textToken:92,graphCodeTokens:93,textNoTagsToken:94,TAGSTART:95,TAGEND:96,"==":97,"--":98,DEFAULT:99,MINUS:100,keywords:101,UNICODE_TEXT:102,BQUOTE_STR:103,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",18:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"ANNOTATION_START",47:"ANNOTATION_END",48:"CLASS",50:"SPACE",51:"MEMBER",52:"SEPARATOR",54:"NOTE_FOR",56:"NOTE",57:"CLASSDEF",60:"ALPHA",61:"COMMA",62:"direction_tb",63:"direction_bt",64:"direction_rl",65:"direction_lr",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"STYLE",83:"CSSCLASS",86:"NUM",87:"COLON",88:"UNIT",89:"BRKT",90:"PCT",93:"graphCodeTokens",95:"TAGSTART",96:"TAGEND",97:"==",98:"--",99:"DEFAULT",100:"MINUS",101:"keywords",102:"UNICODE_TEXT",103:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,1],[15,3],[15,2],[19,1],[19,3],[19,1],[19,2],[19,2],[19,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[38,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,3],[24,6],[24,4],[24,7],[24,6],[43,2],[43,3],[49,0],[49,2],[49,2],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[58,1],[58,3],[32,1],[32,1],[32,1],[32,1],[53,3],[53,2],[53,2],[53,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[59,1],[59,3],[84,1],[84,2],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[91,1],[91,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[92,1],[94,1],[94,1],[94,1],[94,1],[16,1],[16,1],[16,1],[16,1],[17,1],[55,1]],performAction:r.__name(function(h,d,f,c,C,e,H){var t=e.length-1;switch(C){case 8:this.$=e[t-1];break;case 9:case 10:case 13:case 15:this.$=e[t];break;case 11:case 14:this.$=e[t-2]+"."+e[t];break;case 12:case 16:this.$=e[t-1]+e[t];break;case 17:case 18:this.$=e[t-1]+"~"+e[t]+"~";break;case 19:c.addRelation(e[t]);break;case 20:e[t-1].title=c.cleanupLabel(e[t]),c.addRelation(e[t-1]);break;case 31:this.$=e[t].trim(),c.setAccTitle(this.$);break;case 32:case 33:this.$=e[t].trim(),c.setAccDescription(this.$);break;case 34:c.addClassesToNamespace(e[t-3],e[t-1][0],e[t-1][1]),c.popNamespace();break;case 35:c.addClassesToNamespace(e[t-4],e[t-1][0],e[t-1][1]),c.popNamespace();break;case 36:this.$=c.addNamespace(e[t]);break;case 37:this.$=c.addNamespace(e[t-1],e[t]);break;case 38:this.$=[[e[t]],[]];break;case 39:this.$=[[e[t-1]],[]];break;case 40:e[t][0].unshift(e[t-2]),this.$=e[t];break;case 41:this.$=[[],[e[t]]];break;case 42:this.$=[[],[e[t-1]]];break;case 43:e[t][1].unshift(e[t-2]),this.$=e[t];break;case 44:case 45:this.$=[[],[]];break;case 46:this.$=e[t];break;case 48:c.setCssClass(e[t-2],e[t]);break;case 49:c.addMembers(e[t-3],e[t-1]);break;case 51:c.setCssClass(e[t-5],e[t-3]),c.addMembers(e[t-5],e[t-1]);break;case 52:c.addAnnotation(e[t-3],e[t-1]);break;case 53:c.addAnnotation(e[t-6],e[t-4]),c.addMembers(e[t-6],e[t-1]);break;case 54:c.addAnnotation(e[t-5],e[t-3]);break;case 55:this.$=e[t],c.addClass(e[t]);break;case 56:this.$=e[t-1],c.addClass(e[t-1]),c.setClassLabel(e[t-1],e[t]);break;case 60:c.addAnnotation(e[t],e[t-2]);break;case 61:case 74:this.$=[e[t]];break;case 62:e[t].push(e[t-1]),this.$=e[t];break;case 63:break;case 64:c.addMember(e[t-1],c.cleanupLabel(e[t]));break;case 65:break;case 66:break;case 67:this.$={id1:e[t-2],id2:e[t],relation:e[t-1],relationTitle1:"none",relationTitle2:"none"};break;case 68:this.$={id1:e[t-3],id2:e[t],relation:e[t-1],relationTitle1:e[t-2],relationTitle2:"none"};break;case 69:this.$={id1:e[t-3],id2:e[t],relation:e[t-2],relationTitle1:"none",relationTitle2:e[t-1]};break;case 70:this.$={id1:e[t-4],id2:e[t],relation:e[t-2],relationTitle1:e[t-3],relationTitle2:e[t-1]};break;case 71:this.$=c.addNote(e[t],e[t-1]);break;case 72:this.$=c.addNote(e[t]);break;case 73:this.$=e[t-2],c.defineClass(e[t-1],e[t]);break;case 75:this.$=e[t-2].concat([e[t]]);break;case 76:c.setDirection("TB");break;case 77:c.setDirection("BT");break;case 78:c.setDirection("RL");break;case 79:c.setDirection("LR");break;case 80:this.$={type1:e[t-2],type2:e[t],lineType:e[t-1]};break;case 81:this.$={type1:"none",type2:e[t],lineType:e[t-1]};break;case 82:this.$={type1:e[t-1],type2:"none",lineType:e[t]};break;case 83:this.$={type1:"none",type2:"none",lineType:e[t]};break;case 84:this.$=c.relationType.AGGREGATION;break;case 85:this.$=c.relationType.EXTENSION;break;case 86:this.$=c.relationType.COMPOSITION;break;case 87:this.$=c.relationType.DEPENDENCY;break;case 88:this.$=c.relationType.LOLLIPOP;break;case 89:this.$=c.lineType.LINE;break;case 90:this.$=c.lineType.DOTTED_LINE;break;case 91:case 97:this.$=e[t-2],c.setClickEvent(e[t-1],e[t]);break;case 92:case 98:this.$=e[t-3],c.setClickEvent(e[t-2],e[t-1]),c.setTooltip(e[t-2],e[t]);break;case 93:this.$=e[t-2],c.setLink(e[t-1],e[t]);break;case 94:this.$=e[t-3],c.setLink(e[t-2],e[t-1],e[t]);break;case 95:this.$=e[t-3],c.setLink(e[t-2],e[t-1]),c.setTooltip(e[t-2],e[t]);break;case 96:this.$=e[t-4],c.setLink(e[t-3],e[t-2],e[t]),c.setTooltip(e[t-3],e[t-1]);break;case 99:this.$=e[t-3],c.setClickEvent(e[t-2],e[t-1],e[t]);break;case 100:this.$=e[t-4],c.setClickEvent(e[t-3],e[t-2],e[t-1]),c.setTooltip(e[t-3],e[t]);break;case 101:this.$=e[t-3],c.setLink(e[t-2],e[t]);break;case 102:this.$=e[t-4],c.setLink(e[t-3],e[t-1],e[t]);break;case 103:this.$=e[t-4],c.setLink(e[t-3],e[t-1]),c.setTooltip(e[t-3],e[t]);break;case 104:this.$=e[t-5],c.setLink(e[t-4],e[t-2],e[t]),c.setTooltip(e[t-4],e[t-1]);break;case 105:this.$=e[t-2],c.setCssStyle(e[t-1],e[t]);break;case 106:c.setCssClass(e[t-1],e[t]);break;case 107:this.$=[e[t]];break;case 108:e[t-2].push(e[t]),this.$=e[t-2];break;case 110:this.$=e[t-1]+e[t];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:n,38:22,42:u,43:23,46:o,48:l,51:p,52:g,54:m,56:S,57:de,60:b,62:pe,63:fe,64:Ae,65:me,75:ge,76:Ce,78:be,82:ke,83:Ee,86:k,100:E,102:T,103:y},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},s(Te,[2,5],{8:[1,48]}),{8:[1,49]},s(A,[2,19],{22:[1,50]}),s(A,[2,21]),s(A,[2,22]),s(A,[2,23]),s(A,[2,24]),s(A,[2,25]),s(A,[2,26]),s(A,[2,27]),s(A,[2,28]),s(A,[2,29]),s(A,[2,30]),{34:[1,51]},{36:[1,52]},s(A,[2,33]),s(A,[2,63],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:J,69:Z,70:$,71:ee,72:te,73:ye,74:_e}),{39:[1,65]},s(F,[2,47],{39:[1,67],44:[1,66],46:[1,68]}),s(A,[2,65]),s(A,[2,66]),{16:69,60:b,86:k,100:E,102:T},{16:39,17:40,19:70,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:71,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:72,60:b,86:k,100:E,102:T,103:y},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:b,86:k,100:E,102:T,103:y},{13:ve,55:76},{58:78,60:[1,79]},s(A,[2,76]),s(A,[2,77]),s(A,[2,78]),s(A,[2,79]),s(P,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:b,86:k,100:E,102:T,103:y}),s(P,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:b,86:k,100:E,102:T,103:y},{16:39,17:40,19:87,60:b,86:k,100:E,102:T,103:y},s(se,[2,133]),s(se,[2,134]),s(se,[2,135]),s(se,[2,136]),s([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,137]),s(Te,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,19:21,38:22,43:23,16:39,17:40,5:88,33:i,35:a,37:n,42:u,46:o,48:l,51:p,52:g,54:m,56:S,57:de,60:b,62:pe,63:fe,64:Ae,65:me,75:ge,76:Ce,78:be,82:ke,83:Ee,86:k,100:E,102:T,103:y}),{5:89,10:5,16:39,17:40,19:21,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:n,38:22,42:u,43:23,46:o,48:l,51:p,52:g,54:m,56:S,57:de,60:b,62:pe,63:fe,64:Ae,65:me,75:ge,76:Ce,78:be,82:ke,83:Ee,86:k,100:E,102:T,103:y},s(A,[2,20]),s(A,[2,31]),s(A,[2,32]),{13:[1,91],16:39,17:40,19:90,60:b,86:k,100:E,102:T,103:y},{53:92,66:56,67:57,68:J,69:Z,70:$,71:ee,72:te,73:ye,74:_e},s(A,[2,64]),{67:93,73:ye,74:_e},s(ie,[2,83],{66:94,68:J,69:Z,70:$,71:ee,72:te}),s(G,[2,84]),s(G,[2,85]),s(G,[2,86]),s(G,[2,87]),s(G,[2,88]),s(Ie,[2,89]),s(Ie,[2,90]),{8:[1,96],23:99,24:97,30:98,38:22,40:95,42:u,43:23,48:l,54:m,56:S},{16:100,60:b,86:k,100:E,102:T},{41:[1,102],45:101,51:ae},{16:104,60:b,86:k,100:E,102:T},{47:[1,105]},{13:[1,106]},{13:[1,107]},{79:[1,108],81:[1,109]},{22:U,50:z,59:110,60:Y,82:K,84:111,85:112,86:Q,87:W,88:q,89:X,90:j},{60:[1,122]},{13:ve,55:123},s(F,[2,72]),s(F,[2,138]),{22:U,50:z,59:124,60:Y,61:[1,125],82:K,84:111,85:112,86:Q,87:W,88:q,89:X,90:j},s(Oe,[2,74]),{16:39,17:40,19:126,60:b,86:k,100:E,102:T,103:y},s(P,[2,16]),s(P,[2,17]),s(P,[2,18]),{11:127,12:we,39:[2,36]},s(ne,[2,9],{16:85,17:86,15:130,18:[1,129],60:b,86:k,100:E,102:T,103:y}),s(ne,[2,10]),s(De,[2,55],{11:131,12:we}),s(Te,[2,7]),{9:[1,132]},s(re,[2,67]),{16:39,17:40,19:133,60:b,86:k,100:E,102:T,103:y},{13:[1,135],16:39,17:40,19:134,60:b,86:k,100:E,102:T,103:y},s(ie,[2,82],{66:136,68:J,69:Z,70:$,71:ee,72:te}),s(ie,[2,81]),{41:[1,137]},{23:99,24:97,30:98,38:22,40:138,42:u,43:23,48:l,54:m,56:S},{8:[1,139],41:[2,38]},{8:[1,140],41:[2,41]},{8:[1,141],41:[2,44]},s(F,[2,48],{39:[1,142]}),{41:[1,143]},s(F,[2,50]),{41:[2,61],45:144,51:ae},{47:[1,145]},{16:39,17:40,19:146,60:b,86:k,100:E,102:T,103:y},s(A,[2,91],{13:[1,147]}),s(A,[2,93],{13:[1,149],77:[1,148]}),s(A,[2,97],{13:[1,150],80:[1,151]}),{13:[1,152]},s(A,[2,105],{61:Ve}),s(Pe,[2,107],{85:154,22:U,50:z,60:Y,82:K,86:Q,87:W,88:q,89:X,90:j}),s(L,[2,109]),s(L,[2,111]),s(L,[2,112]),s(L,[2,113]),s(L,[2,114]),s(L,[2,115]),s(L,[2,116]),s(L,[2,117]),s(L,[2,118]),s(L,[2,119]),s(A,[2,106]),s(F,[2,71]),s(A,[2,73],{61:Ve}),{60:[1,155]},s(P,[2,14]),{39:[2,37]},{13:[1,156]},{15:157,16:85,17:86,60:b,86:k,100:E,102:T,103:y},s(ne,[2,12]),s(De,[2,56]),{1:[2,4]},s(re,[2,69]),s(re,[2,68]),{16:39,17:40,19:158,60:b,86:k,100:E,102:T,103:y},s(ie,[2,80]),s(F,[2,34]),{41:[1,159]},{23:99,24:97,30:98,38:22,40:160,41:[2,39],42:u,43:23,48:l,54:m,56:S},{23:99,24:97,30:98,38:22,40:161,41:[2,42],42:u,43:23,48:l,54:m,56:S},{23:99,24:97,30:98,38:22,40:162,41:[2,45],42:u,43:23,48:l,54:m,56:S},{45:163,51:ae},s(F,[2,49]),{41:[2,62]},s(F,[2,52],{39:[1,164]}),s(A,[2,60]),s(A,[2,92]),s(A,[2,94]),s(A,[2,95],{77:[1,165]}),s(A,[2,98]),s(A,[2,99],{13:[1,166]}),s(A,[2,101],{13:[1,168],77:[1,167]}),{22:U,50:z,60:Y,82:K,84:169,85:112,86:Q,87:W,88:q,89:X,90:j},s(L,[2,110]),s(Oe,[2,75]),{14:[1,170]},s(ne,[2,11]),s(re,[2,70]),s(F,[2,35]),{41:[2,40]},{41:[2,43]},{41:[2,46]},{41:[1,171]},{41:[1,173],45:172,51:ae},s(A,[2,96]),s(A,[2,100]),s(A,[2,102]),s(A,[2,103],{77:[1,174]}),s(Pe,[2,108],{85:154,22:U,50:z,60:Y,82:K,86:Q,87:W,88:q,89:X,90:j}),s(De,[2,8]),s(F,[2,51]),{41:[1,175]},s(F,[2,54]),s(A,[2,104]),s(F,[2,53])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],127:[2,37],132:[2,4],144:[2,62],160:[2,40],161:[2,43],162:[2,46]},parseError:r.__name(function(h,d){if(d.recoverable)this.trace(h);else{var f=new Error(h);throw f.hash=d,f}},"parseError"),parse:r.__name(function(h){var d=this,f=[0],c=[],C=[null],e=[],H=this.table,t="",le=0,Me=0,We=2,Re=1,qe=e.slice.call(arguments,1),_=Object.create(this.lexer),O={yy:{}};for(var Be in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Be)&&(O.yy[Be]=this.yy[Be]);_.setInput(h,O.yy),O.yy.lexer=_,O.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var Se=_.yylloc;e.push(Se);var Xe=_.options&&_.options.ranges;typeof O.yy.parseError=="function"?this.parseError=O.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function je(B){f.length=f.length-2*B,C.length=C.length-B,e.length=e.length-B}r.__name(je,"popStack");function Ge(){var B;return B=c.pop()||_.lex()||Re,typeof B!="number"&&(B instanceof Array&&(c=B,B=c.pop()),B=d.symbols_[B]||B),B}r.__name(Ge,"lex");for(var D,w,N,Ne,M={},ce,x,Ue,oe;;){if(w=f[f.length-1],this.defaultActions[w]?N=this.defaultActions[w]:((D===null||typeof D>"u")&&(D=Ge()),N=H[w]&&H[w][D]),typeof N>"u"||!N.length||!N[0]){var Le="";oe=[];for(ce in H[w])this.terminals_[ce]&&ce>We&&oe.push("'"+this.terminals_[ce]+"'");_.showPosition?Le="Parse error on line "+(le+1)+`:
|
|
2
2
|
`+_.showPosition()+`
|
|
3
3
|
Expecting `+oe.join(", ")+", got '"+(this.terminals_[D]||D)+"'":Le="Parse error on line "+(le+1)+": Unexpected "+(D==Re?"end of input":"'"+(this.terminals_[D]||D)+"'"),this.parseError(Le,{text:_.match,token:this.terminals_[D]||D,line:_.yylineno,loc:Se,expected:oe})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+D);switch(N[0]){case 1:f.push(D),C.push(_.yytext),e.push(_.yylloc),f.push(N[1]),D=null,Me=_.yyleng,t=_.yytext,le=_.yylineno,Se=_.yylloc;break;case 2:if(x=this.productions_[N[1]][1],M.$=C[C.length-x],M._$={first_line:e[e.length-(x||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(x||1)].first_column,last_column:e[e.length-1].last_column},Xe&&(M._$.range=[e[e.length-(x||1)].range[0],e[e.length-1].range[1]]),Ne=this.performAction.apply(M,[t,Me,le,O.yy,N[1],C,e].concat(qe)),typeof Ne<"u")return Ne;x&&(f=f.slice(0,-1*x*2),C=C.slice(0,-1*x),e=e.slice(0,-1*x)),f.push(this.productions_[N[1]][0]),C.push(M.$),e.push(M._$),Ue=H[f[f.length-2]][f[f.length-1]],f.push(Ue);break;case 3:return!0}}return!0},"parse")},Qe=(function(){var v={EOF:1,parseError:r.__name(function(d,f){if(this.yy.parser)this.yy.parser.parseError(d,f);else throw new Error(d)},"parseError"),setInput:r.__name(function(h,d){return this.yy=d||this.yy||{},this._input=h,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:r.__name(function(){var h=this._input[0];this.yytext+=h,this.yyleng++,this.offset++,this.match+=h,this.matched+=h;var d=h.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),h},"input"),unput:r.__name(function(h){var d=h.length,f=h.split(/(?:\r\n?|\n)/g);this._input=h+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var c=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),f.length-1&&(this.yylineno-=f.length-1);var C=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:f?(f.length===c.length?this.yylloc.first_column:0)+c[c.length-f.length].length-f[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[C[0],C[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:r.__name(function(){return this._more=!0,this},"more"),reject:r.__name(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:r.__name(function(h){this.unput(this.match.slice(h))},"less"),pastInput:r.__name(function(){var h=this.matched.substr(0,this.matched.length-this.match.length);return(h.length>20?"...":"")+h.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:r.__name(function(){var h=this.match;return h.length<20&&(h+=this._input.substr(0,20-h.length)),(h.substr(0,20)+(h.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:r.__name(function(){var h=this.pastInput(),d=new Array(h.length+1).join("-");return h+this.upcomingInput()+`
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { g as st } from "./chunk-5VM5RSS4-
|
|
2
|
-
import { g as it } from "./chunk-XXDRQBXY-
|
|
3
|
-
import { s as at } from "./chunk-VR4S4FIN-
|
|
4
|
-
import { _ as f,
|
|
5
|
-
import { c as gt } from "./chunk-32BRIVSS-
|
|
1
|
+
import { g as st } from "./chunk-5VM5RSS4-WjZ3Kfp-.js";
|
|
2
|
+
import { g as it } from "./chunk-XXDRQBXY-Z_rLeBGt.js";
|
|
3
|
+
import { s as at } from "./chunk-VR4S4FIN-BdHVIRqw.js";
|
|
4
|
+
import { _ as f, U as we, Q as F, a5 as nt, a6 as rt, a7 as Ve, R as Ae, O as ut, K as lt, G as ct, J as ot, a8 as ht, a9 as dt, a1 as I, ae as pt, ad as At, Y as ft, av as U } from "./extractHeadings-B8u8yqfC.js";
|
|
5
|
+
import { c as gt } from "./chunk-32BRIVSS-DUlLCGoQ.js";
|
|
6
6
|
import mt from "dompurify";
|
|
7
7
|
var Pe = (function() {
|
|
8
8
|
var s = /* @__PURE__ */ f(function(O, o, h, p) {
|
|
9
9
|
for (h = h || {}, p = O.length; p--; h[O[p]] = o) ;
|
|
10
10
|
return h;
|
|
11
|
-
}, "o"), i = [1, 18], a = [1, 19], n = [1, 20], r = [1, 41], c = [1, 26], u = [1, 42], d = [1, 24], m = [1, 25], g = [1, 32], N = [1, 33], ge = [1, 34], b = [1, 45], me = [1, 35], Ce = [1, 36], be = [1, 37], ke = [1, 38], Ee = [1, 27], Te = [1, 28], ye = [1, 29], De = [1, 30], Fe = [1, 31], k = [1, 44], E = [1, 46], T = [1, 43], y = [1, 47], Be = [1, 9], A = [1, 8, 9], ee = [1, 58], te = [1, 59], se = [1, 60], ie = [1, 61], ae = [1, 62], _e = [1, 63], Se = [1, 64], _ = [1, 8, 9, 41], Me = [1, 77], R = [1, 8, 9, 12, 13, 22, 39, 41, 44, 46, 68, 69, 70, 71, 72, 73, 74, 79, 81], ne = [1, 8, 9, 12, 13, 18, 20, 22, 39, 41, 44, 46, 47, 60, 68, 69, 70, 71, 72, 73, 74, 79, 81, 86, 100, 102, 103], re = [13, 60, 86, 100, 102, 103],
|
|
11
|
+
}, "o"), i = [1, 18], a = [1, 19], n = [1, 20], r = [1, 41], c = [1, 26], u = [1, 42], d = [1, 24], m = [1, 25], g = [1, 32], N = [1, 33], ge = [1, 34], b = [1, 45], me = [1, 35], Ce = [1, 36], be = [1, 37], ke = [1, 38], Ee = [1, 27], Te = [1, 28], ye = [1, 29], De = [1, 30], Fe = [1, 31], k = [1, 44], E = [1, 46], T = [1, 43], y = [1, 47], Be = [1, 9], A = [1, 8, 9], ee = [1, 58], te = [1, 59], se = [1, 60], ie = [1, 61], ae = [1, 62], _e = [1, 63], Se = [1, 64], _ = [1, 8, 9, 41], Me = [1, 77], R = [1, 8, 9, 12, 13, 22, 39, 41, 44, 46, 68, 69, 70, 71, 72, 73, 74, 79, 81], ne = [1, 8, 9, 12, 13, 18, 20, 22, 39, 41, 44, 46, 47, 60, 68, 69, 70, 71, 72, 73, 74, 79, 81, 86, 100, 102, 103], re = [13, 60, 86, 100, 102, 103], Y = [13, 60, 73, 74, 86, 100, 102, 103], Re = [13, 60, 68, 69, 70, 71, 72, 86, 100, 102, 103], ue = [1, 103], K = [1, 121], Q = [1, 117], W = [1, 113], j = [1, 119], X = [1, 114], q = [1, 115], H = [1, 116], J = [1, 118], Z = [1, 120], Ge = [22, 50, 60, 61, 82, 86, 87, 88, 89, 90], Ue = [1, 128], le = [12, 39], Ne = [1, 8, 9, 39, 41, 44, 46], ce = [1, 8, 9, 22], ze = [1, 153], Ye = [1, 8, 9, 61], x = [1, 8, 9, 22, 50, 60, 61, 82, 86, 87, 88, 89, 90], Le = {
|
|
12
12
|
trace: /* @__PURE__ */ f(function() {
|
|
13
13
|
}, "trace"),
|
|
14
14
|
yy: {},
|
|
@@ -256,7 +256,7 @@ var Pe = (function() {
|
|
|
256
256
|
break;
|
|
257
257
|
}
|
|
258
258
|
}, "anonymous"),
|
|
259
|
-
table: [{ 3: 1, 4: 2, 5: 3, 6: 4, 7: [1, 6], 10: 5, 16: 39, 17: 40, 19: 21, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 33: i, 35: a, 37: n, 38: 22, 42: r, 43: 23, 46: c, 48: u, 51: d, 52: m, 54: g, 56: N, 57: ge, 60: b, 62: me, 63: Ce, 64: be, 65: ke, 75: Ee, 76: Te, 78: ye, 82: De, 83: Fe, 86: k, 100: E, 102: T, 103: y }, { 1: [3] }, { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3] }, s(Be, [2, 5], { 8: [1, 48] }), { 8: [1, 49] }, s(A, [2, 19], { 22: [1, 50] }), s(A, [2, 21]), s(A, [2, 22]), s(A, [2, 23]), s(A, [2, 24]), s(A, [2, 25]), s(A, [2, 26]), s(A, [2, 27]), s(A, [2, 28]), s(A, [2, 29]), s(A, [2, 30]), { 34: [1, 51] }, { 36: [1, 52] }, s(A, [2, 33]), s(A, [2, 63], { 53: 53, 66: 56, 67: 57, 13: [1, 54], 22: [1, 55], 68: ee, 69: te, 70: se, 71: ie, 72: ae, 73: _e, 74: Se }), { 39: [1, 65] }, s(_, [2, 47], { 39: [1, 67], 44: [1, 66], 46: [1, 68] }), s(A, [2, 65]), s(A, [2, 66]), { 16: 69, 60: b, 86: k, 100: E, 102: T }, { 16: 39, 17: 40, 19: 70, 60: b, 86: k, 100: E, 102: T, 103: y }, { 16: 39, 17: 40, 19: 71, 60: b, 86: k, 100: E, 102: T, 103: y }, { 16: 39, 17: 40, 19: 72, 60: b, 86: k, 100: E, 102: T, 103: y }, { 60: [1, 73] }, { 13: [1, 74] }, { 16: 39, 17: 40, 19: 75, 60: b, 86: k, 100: E, 102: T, 103: y }, { 13: Me, 55: 76 }, { 58: 78, 60: [1, 79] }, s(A, [2, 76]), s(A, [2, 77]), s(A, [2, 78]), s(A, [2, 79]), s(R, [2, 13], { 16: 39, 17: 40, 19: 81, 18: [1, 80], 20: [1, 82], 60: b, 86: k, 100: E, 102: T, 103: y }), s(R, [2, 15], { 20: [1, 83] }), { 15: 84, 16: 85, 17: 86, 60: b, 86: k, 100: E, 102: T, 103: y }, { 16: 39, 17: 40, 19: 87, 60: b, 86: k, 100: E, 102: T, 103: y }, s(ne, [2, 133]), s(ne, [2, 134]), s(ne, [2, 135]), s(ne, [2, 136]), s([1, 8, 9, 12, 13, 20, 22, 39, 41, 44, 46, 68, 69, 70, 71, 72, 73, 74, 79, 81], [2, 137]), s(Be, [2, 6], { 10: 5, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 19: 21, 38: 22, 43: 23, 16: 39, 17: 40, 5: 88, 33: i, 35: a, 37: n, 42: r, 46: c, 48: u, 51: d, 52: m, 54: g, 56: N, 57: ge, 60: b, 62: me, 63: Ce, 64: be, 65: ke, 75: Ee, 76: Te, 78: ye, 82: De, 83: Fe, 86: k, 100: E, 102: T, 103: y }), { 5: 89, 10: 5, 16: 39, 17: 40, 19: 21, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 33: i, 35: a, 37: n, 38: 22, 42: r, 43: 23, 46: c, 48: u, 51: d, 52: m, 54: g, 56: N, 57: ge, 60: b, 62: me, 63: Ce, 64: be, 65: ke, 75: Ee, 76: Te, 78: ye, 82: De, 83: Fe, 86: k, 100: E, 102: T, 103: y }, s(A, [2, 20]), s(A, [2, 31]), s(A, [2, 32]), { 13: [1, 91], 16: 39, 17: 40, 19: 90, 60: b, 86: k, 100: E, 102: T, 103: y }, { 53: 92, 66: 56, 67: 57, 68: ee, 69: te, 70: se, 71: ie, 72: ae, 73: _e, 74: Se }, s(A, [2, 64]), { 67: 93, 73: _e, 74: Se }, s(re, [2, 83], { 66: 94, 68: ee, 69: te, 70: se, 71: ie, 72: ae }), s(
|
|
259
|
+
table: [{ 3: 1, 4: 2, 5: 3, 6: 4, 7: [1, 6], 10: 5, 16: 39, 17: 40, 19: 21, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 33: i, 35: a, 37: n, 38: 22, 42: r, 43: 23, 46: c, 48: u, 51: d, 52: m, 54: g, 56: N, 57: ge, 60: b, 62: me, 63: Ce, 64: be, 65: ke, 75: Ee, 76: Te, 78: ye, 82: De, 83: Fe, 86: k, 100: E, 102: T, 103: y }, { 1: [3] }, { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3] }, s(Be, [2, 5], { 8: [1, 48] }), { 8: [1, 49] }, s(A, [2, 19], { 22: [1, 50] }), s(A, [2, 21]), s(A, [2, 22]), s(A, [2, 23]), s(A, [2, 24]), s(A, [2, 25]), s(A, [2, 26]), s(A, [2, 27]), s(A, [2, 28]), s(A, [2, 29]), s(A, [2, 30]), { 34: [1, 51] }, { 36: [1, 52] }, s(A, [2, 33]), s(A, [2, 63], { 53: 53, 66: 56, 67: 57, 13: [1, 54], 22: [1, 55], 68: ee, 69: te, 70: se, 71: ie, 72: ae, 73: _e, 74: Se }), { 39: [1, 65] }, s(_, [2, 47], { 39: [1, 67], 44: [1, 66], 46: [1, 68] }), s(A, [2, 65]), s(A, [2, 66]), { 16: 69, 60: b, 86: k, 100: E, 102: T }, { 16: 39, 17: 40, 19: 70, 60: b, 86: k, 100: E, 102: T, 103: y }, { 16: 39, 17: 40, 19: 71, 60: b, 86: k, 100: E, 102: T, 103: y }, { 16: 39, 17: 40, 19: 72, 60: b, 86: k, 100: E, 102: T, 103: y }, { 60: [1, 73] }, { 13: [1, 74] }, { 16: 39, 17: 40, 19: 75, 60: b, 86: k, 100: E, 102: T, 103: y }, { 13: Me, 55: 76 }, { 58: 78, 60: [1, 79] }, s(A, [2, 76]), s(A, [2, 77]), s(A, [2, 78]), s(A, [2, 79]), s(R, [2, 13], { 16: 39, 17: 40, 19: 81, 18: [1, 80], 20: [1, 82], 60: b, 86: k, 100: E, 102: T, 103: y }), s(R, [2, 15], { 20: [1, 83] }), { 15: 84, 16: 85, 17: 86, 60: b, 86: k, 100: E, 102: T, 103: y }, { 16: 39, 17: 40, 19: 87, 60: b, 86: k, 100: E, 102: T, 103: y }, s(ne, [2, 133]), s(ne, [2, 134]), s(ne, [2, 135]), s(ne, [2, 136]), s([1, 8, 9, 12, 13, 20, 22, 39, 41, 44, 46, 68, 69, 70, 71, 72, 73, 74, 79, 81], [2, 137]), s(Be, [2, 6], { 10: 5, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 19: 21, 38: 22, 43: 23, 16: 39, 17: 40, 5: 88, 33: i, 35: a, 37: n, 42: r, 46: c, 48: u, 51: d, 52: m, 54: g, 56: N, 57: ge, 60: b, 62: me, 63: Ce, 64: be, 65: ke, 75: Ee, 76: Te, 78: ye, 82: De, 83: Fe, 86: k, 100: E, 102: T, 103: y }), { 5: 89, 10: 5, 16: 39, 17: 40, 19: 21, 21: 7, 23: 8, 24: 9, 25: 10, 26: 11, 27: 12, 28: 13, 29: 14, 30: 15, 31: 16, 32: 17, 33: i, 35: a, 37: n, 38: 22, 42: r, 43: 23, 46: c, 48: u, 51: d, 52: m, 54: g, 56: N, 57: ge, 60: b, 62: me, 63: Ce, 64: be, 65: ke, 75: Ee, 76: Te, 78: ye, 82: De, 83: Fe, 86: k, 100: E, 102: T, 103: y }, s(A, [2, 20]), s(A, [2, 31]), s(A, [2, 32]), { 13: [1, 91], 16: 39, 17: 40, 19: 90, 60: b, 86: k, 100: E, 102: T, 103: y }, { 53: 92, 66: 56, 67: 57, 68: ee, 69: te, 70: se, 71: ie, 72: ae, 73: _e, 74: Se }, s(A, [2, 64]), { 67: 93, 73: _e, 74: Se }, s(re, [2, 83], { 66: 94, 68: ee, 69: te, 70: se, 71: ie, 72: ae }), s(Y, [2, 84]), s(Y, [2, 85]), s(Y, [2, 86]), s(Y, [2, 87]), s(Y, [2, 88]), s(Re, [2, 89]), s(Re, [2, 90]), { 8: [1, 96], 23: 99, 24: 97, 30: 98, 38: 22, 40: 95, 42: r, 43: 23, 48: u, 54: g, 56: N }, { 16: 100, 60: b, 86: k, 100: E, 102: T }, { 41: [1, 102], 45: 101, 51: ue }, { 16: 104, 60: b, 86: k, 100: E, 102: T }, { 47: [1, 105] }, { 13: [1, 106] }, { 13: [1, 107] }, { 79: [1, 108], 81: [1, 109] }, { 22: K, 50: Q, 59: 110, 60: W, 82: j, 84: 111, 85: 112, 86: X, 87: q, 88: H, 89: J, 90: Z }, { 60: [1, 122] }, { 13: Me, 55: 123 }, s(_, [2, 72]), s(_, [2, 138]), { 22: K, 50: Q, 59: 124, 60: W, 61: [1, 125], 82: j, 84: 111, 85: 112, 86: X, 87: q, 88: H, 89: J, 90: Z }, s(Ge, [2, 74]), { 16: 39, 17: 40, 19: 126, 60: b, 86: k, 100: E, 102: T, 103: y }, s(R, [2, 16]), s(R, [2, 17]), s(R, [2, 18]), { 11: 127, 12: Ue, 39: [2, 36] }, s(le, [2, 9], { 16: 85, 17: 86, 15: 130, 18: [1, 129], 60: b, 86: k, 100: E, 102: T, 103: y }), s(le, [2, 10]), s(Ne, [2, 55], { 11: 131, 12: Ue }), s(Be, [2, 7]), { 9: [1, 132] }, s(ce, [2, 67]), { 16: 39, 17: 40, 19: 133, 60: b, 86: k, 100: E, 102: T, 103: y }, { 13: [1, 135], 16: 39, 17: 40, 19: 134, 60: b, 86: k, 100: E, 102: T, 103: y }, s(re, [2, 82], { 66: 136, 68: ee, 69: te, 70: se, 71: ie, 72: ae }), s(re, [2, 81]), { 41: [1, 137] }, { 23: 99, 24: 97, 30: 98, 38: 22, 40: 138, 42: r, 43: 23, 48: u, 54: g, 56: N }, { 8: [1, 139], 41: [2, 38] }, { 8: [1, 140], 41: [2, 41] }, { 8: [1, 141], 41: [2, 44] }, s(_, [2, 48], { 39: [1, 142] }), { 41: [1, 143] }, s(_, [2, 50]), { 41: [2, 61], 45: 144, 51: ue }, { 47: [1, 145] }, { 16: 39, 17: 40, 19: 146, 60: b, 86: k, 100: E, 102: T, 103: y }, s(A, [2, 91], { 13: [1, 147] }), s(A, [2, 93], { 13: [1, 149], 77: [1, 148] }), s(A, [2, 97], { 13: [1, 150], 80: [1, 151] }), { 13: [1, 152] }, s(A, [2, 105], { 61: ze }), s(Ye, [2, 107], { 85: 154, 22: K, 50: Q, 60: W, 82: j, 86: X, 87: q, 88: H, 89: J, 90: Z }), s(x, [2, 109]), s(x, [2, 111]), s(x, [2, 112]), s(x, [2, 113]), s(x, [2, 114]), s(x, [2, 115]), s(x, [2, 116]), s(x, [2, 117]), s(x, [2, 118]), s(x, [2, 119]), s(A, [2, 106]), s(_, [2, 71]), s(A, [2, 73], { 61: ze }), { 60: [1, 155] }, s(R, [2, 14]), { 39: [2, 37] }, { 13: [1, 156] }, { 15: 157, 16: 85, 17: 86, 60: b, 86: k, 100: E, 102: T, 103: y }, s(le, [2, 12]), s(Ne, [2, 56]), { 1: [2, 4] }, s(ce, [2, 69]), s(ce, [2, 68]), { 16: 39, 17: 40, 19: 158, 60: b, 86: k, 100: E, 102: T, 103: y }, s(re, [2, 80]), s(_, [2, 34]), { 41: [1, 159] }, { 23: 99, 24: 97, 30: 98, 38: 22, 40: 160, 41: [2, 39], 42: r, 43: 23, 48: u, 54: g, 56: N }, { 23: 99, 24: 97, 30: 98, 38: 22, 40: 161, 41: [2, 42], 42: r, 43: 23, 48: u, 54: g, 56: N }, { 23: 99, 24: 97, 30: 98, 38: 22, 40: 162, 41: [2, 45], 42: r, 43: 23, 48: u, 54: g, 56: N }, { 45: 163, 51: ue }, s(_, [2, 49]), { 41: [2, 62] }, s(_, [2, 52], { 39: [1, 164] }), s(A, [2, 60]), s(A, [2, 92]), s(A, [2, 94]), s(A, [2, 95], { 77: [1, 165] }), s(A, [2, 98]), s(A, [2, 99], { 13: [1, 166] }), s(A, [2, 101], { 13: [1, 168], 77: [1, 167] }), { 22: K, 50: Q, 60: W, 82: j, 84: 169, 85: 112, 86: X, 87: q, 88: H, 89: J, 90: Z }, s(x, [2, 110]), s(Ge, [2, 75]), { 14: [1, 170] }, s(le, [2, 11]), s(ce, [2, 70]), s(_, [2, 35]), { 41: [2, 40] }, { 41: [2, 43] }, { 41: [2, 46] }, { 41: [1, 171] }, { 41: [1, 173], 45: 172, 51: ue }, s(A, [2, 96]), s(A, [2, 100]), s(A, [2, 102]), s(A, [2, 103], { 77: [1, 174] }), s(Ye, [2, 108], { 85: 154, 22: K, 50: Q, 60: W, 82: j, 86: X, 87: q, 88: H, 89: J, 90: Z }), s(Ne, [2, 8]), s(_, [2, 51]), { 41: [1, 175] }, s(_, [2, 54]), s(A, [2, 104]), s(_, [2, 53])],
|
|
260
260
|
defaultActions: { 2: [2, 1], 3: [2, 2], 4: [2, 3], 127: [2, 37], 132: [2, 4], 144: [2, 62], 160: [2, 40], 161: [2, 43], 162: [2, 46] },
|
|
261
261
|
parseError: /* @__PURE__ */ f(function(o, h) {
|
|
262
262
|
if (h.recoverable)
|
|
@@ -267,7 +267,7 @@ var Pe = (function() {
|
|
|
267
267
|
}
|
|
268
268
|
}, "parseError"),
|
|
269
269
|
parse: /* @__PURE__ */ f(function(o) {
|
|
270
|
-
var h = this, p = [0], l = [], C = [null], e = [], $ = this.table, t = "", he = 0,
|
|
270
|
+
var h = this, p = [0], l = [], C = [null], e = [], $ = this.table, t = "", he = 0, Ke = 0, Ze = 2, Qe = 1, $e = e.slice.call(arguments, 1), D = Object.create(this.lexer), V = { yy: {} };
|
|
271
271
|
for (var xe in this.yy)
|
|
272
272
|
Object.prototype.hasOwnProperty.call(this.yy, xe) && (V.yy[xe] = this.yy[xe]);
|
|
273
273
|
D.setInput(o, V.yy), V.yy.lexer = D, V.yy.parser = this, typeof D.yylloc > "u" && (D.yylloc = {});
|
|
@@ -284,7 +284,7 @@ var Pe = (function() {
|
|
|
284
284
|
return S = l.pop() || D.lex() || Qe, typeof S != "number" && (S instanceof Array && (l = S, S = l.pop()), S = h.symbols_[S] || S), S;
|
|
285
285
|
}
|
|
286
286
|
f(We, "lex");
|
|
287
|
-
for (var B, P, L, Ie, G = {}, de, v,
|
|
287
|
+
for (var B, P, L, Ie, G = {}, de, v, je, pe; ; ) {
|
|
288
288
|
if (P = p[p.length - 1], this.defaultActions[P] ? L = this.defaultActions[P] : ((B === null || typeof B > "u") && (B = We()), L = $[P] && $[P][B]), typeof L > "u" || !L.length || !L[0]) {
|
|
289
289
|
var Oe = "";
|
|
290
290
|
pe = [];
|
|
@@ -304,7 +304,7 @@ Expecting ` + pe.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : Oe =
|
|
|
304
304
|
throw new Error("Parse Error: multiple actions possible at state: " + P + ", token: " + B);
|
|
305
305
|
switch (L[0]) {
|
|
306
306
|
case 1:
|
|
307
|
-
p.push(B), C.push(D.yytext), e.push(D.yylloc), p.push(L[1]), B = null,
|
|
307
|
+
p.push(B), C.push(D.yytext), e.push(D.yylloc), p.push(L[1]), B = null, Ke = D.yyleng, t = D.yytext, he = D.yylineno, ve = D.yylloc;
|
|
308
308
|
break;
|
|
309
309
|
case 2:
|
|
310
310
|
if (v = this.productions_[L[1]][1], G.$ = C[C.length - v], G._$ = {
|
|
@@ -317,7 +317,7 @@ Expecting ` + pe.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : Oe =
|
|
|
317
317
|
e[e.length - 1].range[1]
|
|
318
318
|
]), Ie = this.performAction.apply(G, [
|
|
319
319
|
t,
|
|
320
|
-
|
|
320
|
+
Ke,
|
|
321
321
|
he,
|
|
322
322
|
V.yy,
|
|
323
323
|
L[1],
|
|
@@ -325,7 +325,7 @@ Expecting ` + pe.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : Oe =
|
|
|
325
325
|
e
|
|
326
326
|
].concat($e)), typeof Ie < "u")
|
|
327
327
|
return Ie;
|
|
328
|
-
v && (p = p.slice(0, -1 * v * 2), C = C.slice(0, -1 * v), e = e.slice(0, -1 * v)), p.push(this.productions_[L[1]][0]), C.push(G.$), e.push(G._$),
|
|
328
|
+
v && (p = p.slice(0, -1 * v * 2), C = C.slice(0, -1 * v), e = e.slice(0, -1 * v)), p.push(this.productions_[L[1]][0]), C.push(G.$), e.push(G._$), je = $[p[p.length - 2]][p[p.length - 1]], p.push(je);
|
|
329
329
|
break;
|
|
330
330
|
case 3:
|
|
331
331
|
return !0;
|
|
@@ -730,7 +730,7 @@ Expecting ` + pe.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : Oe =
|
|
|
730
730
|
return f(oe, "Parser"), oe.prototype = Le, Le.Parser = oe, new oe();
|
|
731
731
|
})();
|
|
732
732
|
Pe.parser = Pe;
|
|
733
|
-
var St = Pe,
|
|
733
|
+
var St = Pe, Xe = ["#", "+", "~", "-", ""], z, qe = (z = class {
|
|
734
734
|
constructor(i, a) {
|
|
735
735
|
this.memberType = a, this.visibility = "", this.classifier = "", this.text = "";
|
|
736
736
|
const n = ft(i, F());
|
|
@@ -751,14 +751,14 @@ var St = Pe, je = ["#", "+", "~", "-", ""], z, qe = (z = class {
|
|
|
751
751
|
const c = /([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(i);
|
|
752
752
|
if (c) {
|
|
753
753
|
const u = c[1] ? c[1].trim() : "";
|
|
754
|
-
if (
|
|
754
|
+
if (Xe.includes(u) && (this.visibility = u), this.id = c[2], this.parameters = c[3] ? c[3].trim() : "", a = c[4] ? c[4].trim() : "", this.returnType = c[5] ? c[5].trim() : "", a === "") {
|
|
755
755
|
const d = this.returnType.substring(this.returnType.length - 1);
|
|
756
756
|
/[$*]/.exec(d) && (a = d, this.returnType = this.returnType.substring(0, this.returnType.length - 1));
|
|
757
757
|
}
|
|
758
758
|
}
|
|
759
759
|
} else {
|
|
760
760
|
const r = i.length, c = i.substring(0, 1), u = i.substring(r - 1);
|
|
761
|
-
|
|
761
|
+
Xe.includes(c) && (this.visibility = c), /[$*]/.exec(u) && (a = u), this.id = i.substring(
|
|
762
762
|
this.visibility === "" ? 0 : 1,
|
|
763
763
|
a === "" ? r : r - 1
|
|
764
764
|
);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as a,
|
|
2
|
-
var
|
|
1
|
+
import { _ as a, V as w, U as x } from "./extractHeadings-B8u8yqfC.js";
|
|
2
|
+
var d = /* @__PURE__ */ a((e, t, i, r) => {
|
|
3
3
|
e.attr("class", i);
|
|
4
4
|
const { width: o, height: h, x: n, y: c } = u(e, t);
|
|
5
5
|
w(e, h, o, r);
|
|
@@ -15,5 +15,5 @@ var g = /* @__PURE__ */ a((e, t, i, r) => {
|
|
|
15
15
|
};
|
|
16
16
|
}, "calculateDimensionsWithPadding"), B = /* @__PURE__ */ a((e, t, i, r, o) => `${e - o} ${t - o} ${i} ${r}`, "createViewBox");
|
|
17
17
|
export {
|
|
18
|
-
|
|
18
|
+
d as s
|
|
19
19
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const r=require("./extractHeadings-
|
|
1
|
+
"use strict";const r=require("./extractHeadings-DLNXUqAG.cjs");var u=r.__name((e,t,i,n)=>{e.attr("class",i);const{width:o,height:a,x:h,y:s}=w(e,t);r.configureSvgSize(e,a,o,n);const c=x(h,s,o,a,t);e.attr("viewBox",c),r.log.debug(`viewBox configured: ${c} with padding: ${t}`)},"setupViewPortForSVG"),w=r.__name((e,t)=>{const i=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:i.width+t*2,height:i.height+t*2,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),x=r.__name((e,t,i,n,o)=>`${e-o} ${t-o} ${i} ${n}`,"createViewBox");exports.setupViewPortForSVG=u;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("./extractHeadings-
|
|
1
|
+
"use strict";const e=require("./extractHeadings-DLNXUqAG.cjs");var s=e.__name((t,n)=>{let o;return n==="sandbox"&&(o=e.select("#i"+t)),(n==="sandbox"?e.select(o.nodes()[0].contentDocument.body):e.select("body")).select(`[id="${t}"]`)},"getDiagramElement");exports.getDiagramElement=s;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as a,
|
|
1
|
+
import { _ as a, R as o } from "./extractHeadings-B8u8yqfC.js";
|
|
2
2
|
var g = /* @__PURE__ */ a((t, e) => {
|
|
3
3
|
let n;
|
|
4
4
|
return e === "sandbox" && (n = o("#i" + t)), (e === "sandbox" ? o(n.nodes()[0].contentDocument.body) : o("body")).select(`[id="${t}"]`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-V7JOEXUC-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-V7JOEXUC-BHcjsh4X.cjs"),a=require("./extractHeadings-DLNXUqAG.cjs");var s={parser:r.classDiagram_default,get db(){return new r.ClassDB},renderer:r.classRenderer_v3_unified_default,styles:r.styles_default,init:a.__name(e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};exports.diagram=s;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as r, c as s, a as e, C as t } from "./chunk-V7JOEXUC-
|
|
2
|
-
import { _ as l } from "./extractHeadings-
|
|
1
|
+
import { s as r, c as s, a as e, C as t } from "./chunk-V7JOEXUC-DjZLR1xm.js";
|
|
2
|
+
import { _ as l } from "./extractHeadings-B8u8yqfC.js";
|
|
3
3
|
var d = {
|
|
4
4
|
parser: e,
|
|
5
5
|
get db() {
|
package/dist/{classDiagram-v2-EOCWNBFH-CiKDmY89.cjs → classDiagram-v2-EOCWNBFH-HX7id7VH.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-V7JOEXUC-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./chunk-V7JOEXUC-BHcjsh4X.cjs"),a=require("./extractHeadings-DLNXUqAG.cjs");var s={parser:r.classDiagram_default,get db(){return new r.ClassDB},renderer:r.classRenderer_v3_unified_default,styles:r.styles_default,init:a.__name(e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")};exports.diagram=s;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as r, c as s, a as e, C as t } from "./chunk-V7JOEXUC-
|
|
2
|
-
import { _ as l } from "./extractHeadings-
|
|
1
|
+
import { s as r, c as s, a as e, C as t } from "./chunk-V7JOEXUC-DjZLR1xm.js";
|
|
2
|
+
import { _ as l } from "./extractHeadings-B8u8yqfC.js";
|
|
3
3
|
var d = {
|
|
4
4
|
parser: e,
|
|
5
5
|
get db() {
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Component, ReactNode } from "react";
|
|
2
|
+
import { ResolvedLabel } from "./labels.ts";
|
|
3
|
+
export type BlockBoundaryProps = {
|
|
4
|
+
readonly content: string;
|
|
5
|
+
readonly label: ResolvedLabel;
|
|
6
|
+
readonly text: () => string;
|
|
7
|
+
readonly children: ReactNode;
|
|
8
|
+
};
|
|
9
|
+
type BlockBoundaryState = {
|
|
10
|
+
readonly content: string;
|
|
11
|
+
readonly failed: boolean;
|
|
12
|
+
};
|
|
13
|
+
export declare class BlockBoundary extends Component<BlockBoundaryProps, BlockBoundaryState> {
|
|
14
|
+
constructor(props: BlockBoundaryProps);
|
|
15
|
+
static getDerivedStateFromProps(props: BlockBoundaryProps, state: BlockBoundaryState): BlockBoundaryState | null;
|
|
16
|
+
static getDerivedStateFromError(): Pick<BlockBoundaryState, "failed">;
|
|
17
|
+
render(): ReactNode;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -6,7 +6,9 @@ import { MermaidInteractionMode } from "./MermaidDiagram.tsx";
|
|
|
6
6
|
import { MarkdownMathDiagnostic } from "./mathRendering.ts";
|
|
7
7
|
import { MermaidDiagramLabels } from "./mermaidLabels.ts";
|
|
8
8
|
import { SpreadsheetEditor } from "./SpreadsheetBlock.tsx";
|
|
9
|
+
import { MarkdownImageSourceReader } from "./SvgImageBlock.tsx";
|
|
9
10
|
import { SpreadsheetBlockLabels, SpreadsheetBlockLocale } from "./spreadsheetLabels.ts";
|
|
11
|
+
import { SvgImageLabels } from "./svgImageLabels.ts";
|
|
10
12
|
export type MarkdownLinkKind = "external" | "anchor" | "internal" | "doc";
|
|
11
13
|
export interface MarkdownLinkProps {
|
|
12
14
|
href: string;
|
|
@@ -31,7 +33,10 @@ type Props = {
|
|
|
31
33
|
spreadsheetLabels?: SpreadsheetBlockLabels;
|
|
32
34
|
linkComponent?: MarkdownLinkComponent;
|
|
33
35
|
missingImageLabel?: string;
|
|
36
|
+
blockFailedLabel?: string;
|
|
37
|
+
imageSource?: MarkdownImageSourceReader;
|
|
38
|
+
svgImageLabels?: SvgImageLabels;
|
|
34
39
|
onMathDiagnostics?: (diagnostics: readonly MarkdownMathDiagnostic[]) => void;
|
|
35
40
|
};
|
|
36
|
-
export declare const MarkdownRenderer: ({ htmlContent, theme, iFrameAllowedDomains, embeds, embedLabels, mermaidInteraction, mermaidLabels, spreadsheetEditor, spreadsheetLocale, spreadsheetLabels, linkComponent: LinkComponent, missingImageLabel, onMathDiagnostics, }: Props) => import("react").JSX.Element;
|
|
41
|
+
export declare const MarkdownRenderer: ({ htmlContent, theme, iFrameAllowedDomains, embeds, embedLabels, mermaidInteraction, mermaidLabels, spreadsheetEditor, spreadsheetLocale, spreadsheetLabels, linkComponent: LinkComponent, missingImageLabel, blockFailedLabel, imageSource, svgImageLabels, onMathDiagnostics, }: Props) => import("react").JSX.Element;
|
|
37
42
|
export {};
|
|
@@ -5,6 +5,7 @@ import { MarkdownScrollBarRenderer } from "./HostedScrollArea.tsx";
|
|
|
5
5
|
import { MarkdownLinkComponent } from "./MarkdownRenderer.tsx";
|
|
6
6
|
import { MarkdownMathDiagnostic } from "./mathRendering.ts";
|
|
7
7
|
import { SpreadsheetEditor } from "./SpreadsheetBlock.tsx";
|
|
8
|
+
import { MarkdownImageSourceReader } from "./SvgImageBlock.tsx";
|
|
8
9
|
import { SpreadsheetBlockLocale } from "./spreadsheetLabels.ts";
|
|
9
10
|
import { MarkdownViewerLabels } from "./viewerLabels.ts";
|
|
10
11
|
export interface MarkdownViewerHeading {
|
|
@@ -72,8 +73,9 @@ export interface MarkdownViewerProps {
|
|
|
72
73
|
onMathDiagnostics?: (diagnostics: readonly MarkdownMathDiagnostic[]) => void;
|
|
73
74
|
spreadsheetEditor?: SpreadsheetEditor;
|
|
74
75
|
spreadsheetLocale?: SpreadsheetBlockLocale;
|
|
76
|
+
imageSource?: MarkdownImageSourceReader;
|
|
75
77
|
emptyMessage?: string;
|
|
76
78
|
toolbar?: MarkdownToolbarState;
|
|
77
79
|
renderScrollBar?: MarkdownScrollBarRenderer;
|
|
78
80
|
}
|
|
79
|
-
export declare function MarkdownViewer({ parseResult, content, error, isLoading, labels, theme, style, onStyleChange, availableStyles, align, onAlignChange, showToc, showStyle, showAlign, width, maxWidth, padding, iFrameAllowedDomains, embeds, emptyMessage, toolbar: toolbarProp, linkComponent, onHeadingSelect, headingHref, onMathDiagnostics, spreadsheetEditor, spreadsheetLocale, renderScrollBar, }: MarkdownViewerProps): import("react").JSX.Element;
|
|
81
|
+
export declare function MarkdownViewer({ parseResult, content, error, isLoading, labels, theme, style, onStyleChange, availableStyles, align, onAlignChange, showToc, showStyle, showAlign, width, maxWidth, padding, iFrameAllowedDomains, embeds, emptyMessage, toolbar: toolbarProp, linkComponent, onHeadingSelect, headingHref, onMathDiagnostics, spreadsheetEditor, spreadsheetLocale, imageSource, renderScrollBar, }: MarkdownViewerProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ReactElement, ReactNode } from "react";
|
|
2
|
+
import { ResolvedLabel } from "./labels.ts";
|
|
3
|
+
import { SvgImageLabelKey } from "./svgImageLabels.ts";
|
|
4
|
+
export type MarkdownImageSourceAnswer = {
|
|
5
|
+
readonly kind: "text";
|
|
6
|
+
readonly text: string;
|
|
7
|
+
readonly truncated: boolean;
|
|
8
|
+
} | {
|
|
9
|
+
readonly kind: "failure";
|
|
10
|
+
readonly retryable: boolean;
|
|
11
|
+
};
|
|
12
|
+
export type MarkdownImageSourceReader = {
|
|
13
|
+
readonly read: (path: string, signal: AbortSignal) => Promise<MarkdownImageSourceAnswer>;
|
|
14
|
+
};
|
|
15
|
+
export declare const isSvgAssetPath: (path: string) => boolean;
|
|
16
|
+
export declare const useStableImageSourceReader: (reader: MarkdownImageSourceReader | undefined) => MarkdownImageSourceReader | undefined;
|
|
17
|
+
export type SvgImageBlockProps = {
|
|
18
|
+
readonly paragraph: Readonly<Record<string, string>>;
|
|
19
|
+
readonly image: ReactNode;
|
|
20
|
+
readonly path: string;
|
|
21
|
+
readonly name: string;
|
|
22
|
+
readonly reader: MarkdownImageSourceReader;
|
|
23
|
+
readonly labels: Readonly<Record<SvgImageLabelKey, ResolvedLabel>>;
|
|
24
|
+
};
|
|
25
|
+
export declare const SvgImageBlock: ({ paragraph, image, path, name, reader, labels }: SvgImageBlockProps) => ReactElement;
|
|
@@ -5,6 +5,7 @@ import { IFrameEmbed } from "./embeds.ts";
|
|
|
5
5
|
import { ResolvedLabel } from "./labels.ts";
|
|
6
6
|
import { MarkdownLinkComponent } from "./MarkdownRenderer.tsx";
|
|
7
7
|
export declare const renderEmbed: (embed: IFrameEmbed, pluginType: string | null, iFrameAllowedDomains: readonly string[], label: ResolvedLabel, insideAnchor: boolean) => ReactElement;
|
|
8
|
+
export declare const isInsideAnchor: (node: Element) => boolean;
|
|
8
9
|
export declare const renderAnchor: (domNode: Element, options: HTMLReactParserOptions, LinkComponent: MarkdownLinkComponent | undefined) => ReactElement;
|
|
9
10
|
export interface RawHtmlOptions {
|
|
10
11
|
readonly iFrameAllowedDomains: readonly string[];
|
|
@@ -12,6 +12,8 @@ export declare const staticRowsOf: (table: TableMatrix, visibleRows: number, foo
|
|
|
12
12
|
}>;
|
|
13
13
|
export type TableMatrix = readonly (readonly string[])[];
|
|
14
14
|
export declare const visibleRowsOf: (options: SpreadsheetOptions, rowCount: number) => number;
|
|
15
|
+
export declare const SPREADSHEET_FILL_MIN_ROWS = 3;
|
|
16
|
+
export declare const fillMinRowsOf: (rowCount: number) => number;
|
|
15
17
|
export declare const boxHeightOf: (visibleRows: number, zoom: number) => number;
|
|
16
18
|
export declare const zoomPercentOf: (zoom: number) => number;
|
|
17
19
|
export declare const withSpareTracks: (matrix: TableMatrix, spareRows: number, spareColumns: number) => TableMatrix;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LabelDefaults } from "./labels.ts";
|
|
2
|
+
export interface SvgImageLabels {
|
|
3
|
+
toolbar?: string;
|
|
4
|
+
source?: string;
|
|
5
|
+
sourceRegion?: string;
|
|
6
|
+
loading?: string;
|
|
7
|
+
failed?: string;
|
|
8
|
+
retry?: string;
|
|
9
|
+
truncated?: string;
|
|
10
|
+
copy?: string;
|
|
11
|
+
copied?: string;
|
|
12
|
+
copyFailed?: string;
|
|
13
|
+
}
|
|
14
|
+
export type SvgImageLabelKey = keyof SvgImageLabels;
|
|
15
|
+
export declare const SVG_IMAGE_LABEL_DEFAULTS: LabelDefaults<SvgImageLabelKey>;
|
|
16
|
+
export declare const DEFAULT_SVG_IMAGE_LABELS: Readonly<Required<SvgImageLabels>>;
|
|
@@ -2,6 +2,7 @@ import { MarkdownEmbedLabels } from "./embeds/embedLabels.ts";
|
|
|
2
2
|
import { ResolvedLabel } from "./labels.ts";
|
|
3
3
|
import { MermaidDiagramLabelKey, MermaidDiagramLabels } from "./mermaidLabels.ts";
|
|
4
4
|
import { SpreadsheetBlockLabelKey, SpreadsheetBlockLabels } from "./spreadsheetLabels.ts";
|
|
5
|
+
import { SvgImageLabelKey, SvgImageLabels } from "./svgImageLabels.ts";
|
|
5
6
|
export type MermaidViewerLabels = {
|
|
6
7
|
[K in MermaidDiagramLabelKey as `mermaid${Capitalize<K>}`]?: string;
|
|
7
8
|
};
|
|
@@ -9,11 +10,15 @@ export type SpreadsheetViewerLabels = {
|
|
|
9
10
|
[K in SpreadsheetBlockLabelKey as `spreadsheet${Capitalize<K>}`]?: string;
|
|
10
11
|
};
|
|
11
12
|
type SpreadsheetViewerLabelKey = keyof SpreadsheetViewerLabels;
|
|
12
|
-
export
|
|
13
|
+
export type SvgImageViewerLabels = {
|
|
14
|
+
[K in SvgImageLabelKey as `svgImage${Capitalize<K>}`]?: string;
|
|
15
|
+
};
|
|
16
|
+
export interface MarkdownViewerLabels extends MermaidViewerLabels, SpreadsheetViewerLabels, SvgImageViewerLabels, MarkdownEmbedLabels {
|
|
13
17
|
loading?: string;
|
|
14
18
|
errorPrefix?: string;
|
|
15
19
|
defaultErrorTitle?: string;
|
|
16
20
|
missingImage?: string;
|
|
21
|
+
blockFailed?: string;
|
|
17
22
|
styleTitle?: string;
|
|
18
23
|
selectStyleAria?: string;
|
|
19
24
|
pinStyleAria?: string;
|
|
@@ -37,5 +42,6 @@ export type ResolvedViewerLabels = Readonly<Record<ViewerBuiltInLabelKey, Resolv
|
|
|
37
42
|
export declare const resolveViewerLabels: (labels: MarkdownViewerLabels | undefined) => ResolvedViewerLabels;
|
|
38
43
|
export declare const toMermaidDiagramLabels: (labels: MarkdownViewerLabels | undefined) => MermaidDiagramLabels;
|
|
39
44
|
export declare const toSpreadsheetBlockLabels: (labels: MarkdownViewerLabels | undefined) => SpreadsheetBlockLabels;
|
|
45
|
+
export declare const toSvgImageLabels: (labels: MarkdownViewerLabels | undefined) => SvgImageLabels;
|
|
40
46
|
export declare const toMarkdownEmbedLabels: (labels: MarkdownEmbedLabels | undefined) => MarkdownEmbedLabels;
|
|
41
47
|
export {};
|
package/dist/converter.wasm
CHANGED
|
Binary file
|