colonynote 1.0.0-beta.9 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/README.zh.md +6 -6
- package/bin/colonynote.js +48 -81
- package/dist/client/assets/arc-Ezd9GmKE.js +1 -0
- package/dist/client/assets/architecture-YZFGNWBL-Dns9u0e5.js +1 -0
- package/dist/client/assets/architectureDiagram-Q4EWVU46-BmLJotd1.js +36 -0
- package/dist/client/assets/array-C0548cPn.js +1 -0
- package/dist/client/assets/blockDiagram-DXYQGD6D-ZqrNO8HM.js +132 -0
- package/dist/client/assets/c4Diagram-AHTNJAMY-BJWyymhT.js +10 -0
- package/dist/client/assets/channel-C-zEXS3V.js +1 -0
- package/dist/client/assets/chunk-2KRD3SAO-B1G2AY6H.js +1 -0
- package/dist/client/assets/chunk-4BX2VUAB-mLNpdiNK.js +1 -0
- package/dist/client/assets/chunk-4TB4RGXK-BsRi3qra.js +206 -0
- package/dist/client/assets/chunk-55IACEB6-BkCqG_Mc.js +1 -0
- package/dist/client/assets/chunk-67CJDMHE-Cz-mqdi4.js +1 -0
- package/dist/client/assets/chunk-7N4EOEYR-BFd0Oy6w.js +1 -0
- package/dist/client/assets/chunk-AA7GKIK3-D77gJjH7.js +1 -0
- package/dist/client/assets/chunk-CIAEETIT-DxQTGSBH.js +1 -0
- package/dist/client/assets/chunk-Dlc7tRH4.js +1 -0
- package/dist/client/assets/chunk-EDXVE4YY-DglU8MxC.js +1 -0
- package/dist/client/assets/{chunk-FMBD7UC4-C7A8kZzG.js → chunk-FMBD7UC4-B_1_v8GP.js} +2 -2
- package/dist/client/assets/chunk-FOC6F5B3-CEMl5H_U.js +1 -0
- package/dist/client/assets/chunk-K5T4RW27-Dzh5Xx8O.js +94 -0
- package/dist/client/assets/chunk-KGLVRYIC-Be2dMs_W.js +1 -0
- package/dist/client/assets/chunk-LIHQZDEY-BGBWPKdn.js +1 -0
- package/dist/client/assets/chunk-ORNJ4GCN-W_NT507t.js +1 -0
- package/dist/client/assets/chunk-OYMX7WX6-BV6RCL_j.js +231 -0
- package/dist/client/assets/chunk-QZHKN3VN-B0CMV9NG.js +1 -0
- package/dist/client/assets/chunk-YZCP3GAM-CDitFgw3.js +1 -0
- package/dist/client/assets/classDiagram-6PBFFD2Q-XeqY_hie.js +1 -0
- package/dist/client/assets/classDiagram-v2-HSJHXN6E-D5yY32qd.js +1 -0
- package/dist/client/assets/clone-AnN0418d.js +1 -0
- package/dist/client/assets/cose-bilkent-S5V4N54A-YQtZwRYb.js +1 -0
- package/dist/client/assets/cytoscape.esm-DT0IEibP.js +321 -0
- package/dist/client/assets/dagre-Cs_hK0RA.js +1 -0
- package/dist/client/assets/dagre-KV5264BT-DvMqAy8J.js +4 -0
- package/dist/client/assets/defaultLocale-ClcAPJ5U.js +1 -0
- package/dist/client/assets/diagram-5BDNPKRD-BwrN8bUG.js +10 -0
- package/dist/client/assets/diagram-G4DWMVQ6-Cqaj-jnn.js +24 -0
- package/dist/client/assets/diagram-MMDJMWI5-DNA312HK.js +43 -0
- package/dist/client/assets/diagram-TYMM5635-BujcYOHW.js +24 -0
- package/dist/client/assets/erDiagram-SMLLAGMA-ZjZZH-zN.js +85 -0
- package/dist/client/assets/flatten-DA7ZzNkq.js +1 -0
- package/dist/client/assets/flowDiagram-DWJPFMVM-CeIGHswO.js +162 -0
- package/dist/client/assets/ganttDiagram-T4ZO3ILL-BeGMFmHq.js +292 -0
- package/dist/client/assets/gitGraph-7Q5UKJZL-Dib3-KZp.js +1 -0
- package/dist/client/assets/gitGraphDiagram-UUTBAWPF-2fnUKQRp.js +106 -0
- package/dist/client/assets/graphlib-DRri47Ms.js +1 -0
- package/dist/client/assets/identity-CQcu21F9.js +1 -0
- package/dist/client/assets/index-DKyd5iCm.css +2 -0
- package/dist/client/assets/index-Ts5WhtRB.js +574 -0
- package/dist/client/assets/info-OMHHGYJF-oQ5--hGK.js +1 -0
- package/dist/client/assets/infoDiagram-42DDH7IO-KL_uq6JQ.js +2 -0
- package/dist/client/assets/init-TU6eJ00_.js +1 -0
- package/dist/client/assets/ishikawaDiagram-UXIWVN3A-DYWG2VdA.js +70 -0
- package/dist/client/assets/journeyDiagram-VCZTEJTY-DT7IVz7z.js +139 -0
- package/dist/client/assets/kanban-definition-6JOO6SKY-CHPPLj8n.js +89 -0
- package/dist/client/assets/katex-HOUACuRw.js +257 -0
- package/dist/client/assets/linear-CizMozZt.js +1 -0
- package/dist/client/assets/mermaid-parser.core-Bpqvb2jv.js +4 -0
- package/dist/client/assets/mindmap-definition-QFDTVHPH-Dov77gi8.js +96 -0
- package/dist/client/assets/ordinal-DCsgWfZW.js +1 -0
- package/dist/client/assets/packet-4T2RLAQJ-Cuyyn0tM.js +1 -0
- package/dist/client/assets/path-yo4Xej8w.js +1 -0
- package/dist/client/assets/pie-ZZUOXDRM-DajTPYmY.js +1 -0
- package/dist/client/assets/pieDiagram-DEJITSTG-DwmqzTu7.js +30 -0
- package/dist/client/assets/quadrantDiagram-34T5L4WZ-CdCBXbvb.js +7 -0
- package/dist/client/assets/radar-PYXPWWZC-DWe78GFc.js +1 -0
- package/dist/client/assets/reduce-DV5GRzs4.js +1 -0
- package/dist/client/assets/requirementDiagram-MS252O5E-32eCbPFl.js +84 -0
- package/dist/client/assets/rough.esm-DulVNktb.js +1 -0
- package/dist/client/assets/sankeyDiagram-XADWPNL6-BBDL_wPZ.js +10 -0
- package/dist/client/assets/sequenceDiagram-FGHM5R23-Ck7ukfb7.js +157 -0
- package/dist/client/assets/stateDiagram-FHFEXIEX-BKJrixhp.js +1 -0
- package/dist/client/assets/stateDiagram-v2-QKLJ7IA2-Bio1QBYF.js +1 -0
- package/dist/client/assets/timeline-definition-GMOUNBTQ-B_D-q7Kc.js +120 -0
- package/dist/client/assets/treeView-SZITEDCU-BQ27_5HI.js +1 -0
- package/dist/client/assets/treemap-W4RFUUIX-D2TpEq--.js +1 -0
- package/dist/client/assets/vennDiagram-DHZGUBPP-CvHqv3h2.js +34 -0
- package/dist/client/assets/wardley-RL74JXVD-DoAmhKVb.js +1 -0
- package/dist/client/assets/wardleyDiagram-NUSXRM2D-CYRpN4xk.js +20 -0
- package/dist/client/assets/xychartDiagram-5P7HB3ND-Dh0MaaMp.js +7 -0
- package/dist/client/index.html +7 -2
- package/dist/config.js +122 -52
- package/dist/server/api.js +637 -31
- package/dist/server/ignore.js +221 -0
- package/dist/server/index.js +78 -24
- package/dist/server/search-ignore.test.js +51 -0
- package/dist/server/watcher.js +54 -18
- package/package.json +16 -16
- package/dist/client/assets/__vite-browser-external-BIHI7g3E.js +0 -1
- package/dist/client/assets/_basePickBy-D--Y6Qnf.js +0 -1
- package/dist/client/assets/_baseUniq-CGmIayRA.js +0 -1
- package/dist/client/assets/arc-JEfbYn4Z.js +0 -1
- package/dist/client/assets/architectureDiagram-2XIMDMQ5-MWOMordV.js +0 -36
- package/dist/client/assets/blockDiagram-WCTKOSBZ-Dmag7Wj_.js +0 -132
- package/dist/client/assets/c4Diagram-IC4MRINW-C3_AIswr.js +0 -10
- package/dist/client/assets/channel-2eZL646b.js +0 -1
- package/dist/client/assets/chunk-4BX2VUAB-Cw3UPx2y.js +0 -1
- package/dist/client/assets/chunk-55IACEB6-B2NTtZaZ.js +0 -1
- package/dist/client/assets/chunk-JSJVCQXG-CzPi8WMG.js +0 -1
- package/dist/client/assets/chunk-KX2RTZJC-ea2QZZjB.js +0 -1
- package/dist/client/assets/chunk-NQ4KR5QH-B6pfGakc.js +0 -220
- package/dist/client/assets/chunk-QZHKN3VN-C0jglaZo.js +0 -1
- package/dist/client/assets/chunk-WL4C6EOR-CFMwJdhq.js +0 -189
- package/dist/client/assets/classDiagram-VBA2DB6C-3mkluTsn.js +0 -1
- package/dist/client/assets/classDiagram-v2-RAHNMMFH-3mkluTsn.js +0 -1
- package/dist/client/assets/clone-ByYsCwKu.js +0 -1
- package/dist/client/assets/cose-bilkent-S5V4N54A-D72MQZnH.js +0 -1
- package/dist/client/assets/cytoscape.esm-BQaXIfA_.js +0 -331
- package/dist/client/assets/dagre-KLK3FWXG-7JkAxkM4.js +0 -4
- package/dist/client/assets/defaultLocale-DX6XiGOO.js +0 -1
- package/dist/client/assets/diagram-E7M64L7V-Ug-UhMUJ.js +0 -24
- package/dist/client/assets/diagram-IFDJBPK2-Dkg0uhRn.js +0 -43
- package/dist/client/assets/diagram-P4PSJMXO-B2p0xObJ.js +0 -24
- package/dist/client/assets/erDiagram-INFDFZHY-brLn9Si4.js +0 -70
- package/dist/client/assets/flowDiagram-PKNHOUZH-BE1LUc-D.js +0 -162
- package/dist/client/assets/ganttDiagram-A5KZAMGK-Cpxwz2ZR.js +0 -292
- package/dist/client/assets/gitGraphDiagram-K3NZZRJ6-34Y0DLO4.js +0 -65
- package/dist/client/assets/graph-BdaeFsUq.js +0 -1
- package/dist/client/assets/index-AcpT_uDS.css +0 -1
- package/dist/client/assets/index-l_1AZZNa.js +0 -705
- package/dist/client/assets/infoDiagram-LFFYTUFH-DuMz9iqk.js +0 -2
- package/dist/client/assets/init-Gi6I4Gst.js +0 -1
- package/dist/client/assets/ishikawaDiagram-PHBUUO56-Ck0mnRfv.js +0 -70
- package/dist/client/assets/journeyDiagram-4ABVD52K-C94-O771.js +0 -139
- package/dist/client/assets/kanban-definition-K7BYSVSG-l46sso-6.js +0 -89
- package/dist/client/assets/katex-B1X10hvy.js +0 -261
- package/dist/client/assets/layout-CPSfpfI_.js +0 -1
- package/dist/client/assets/linear-DdrJMl3C.js +0 -1
- package/dist/client/assets/mindmap-definition-YRQLILUH-DHyNrbph.js +0 -68
- package/dist/client/assets/ordinal-Cboi1Yqb.js +0 -1
- package/dist/client/assets/pieDiagram-SKSYHLDU-BN73IyPO.js +0 -30
- package/dist/client/assets/quadrantDiagram-337W2JSQ-CRNMUsUn.js +0 -7
- package/dist/client/assets/requirementDiagram-Z7DCOOCP-D72Qsjcq.js +0 -73
- package/dist/client/assets/sankeyDiagram-WA2Y5GQK-DedybDaM.js +0 -10
- package/dist/client/assets/sequenceDiagram-2WXFIKYE-Cql4DQP3.js +0 -145
- package/dist/client/assets/stateDiagram-RAJIS63D-ChVgsQCJ.js +0 -1
- package/dist/client/assets/stateDiagram-v2-FVOUBMTO-DpTKcB4R.js +0 -1
- package/dist/client/assets/timeline-definition-YZTLITO2-C4zgLb8F.js +0 -61
- package/dist/client/assets/treemap-KZPCXAKY-C56WA1HL.js +0 -162
- package/dist/client/assets/vennDiagram-LZ73GAT5-B-0T5e8m.js +0 -34
- package/dist/client/assets/xychartDiagram-JWTSCODW-D3_TT24I.js +0 -7
- package/dist/server/app.js +0 -14
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import{Gt as e,It as t,Jt as n,Kt as r,P as i,R as a,Sn as o,Vt as s,Yt as c,a as l,an as u,cn as d,fn as f,in as p,nn as m,o as h,on as g,xn as _,zt as v}from"./index-Ts5WhtRB.js";import{t as y}from"./chunk-FMBD7UC4-B_1_v8GP.js";import{t as b}from"./chunk-YZCP3GAM-CDitFgw3.js";import{t as x}from"./chunk-55IACEB6-BkCqG_Mc.js";import{t as S}from"./chunk-EDXVE4YY-DglU8MxC.js";var C=(function(){var e=_(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),t=[1,18],n=[1,19],r=[1,20],i=[1,41],a=[1,26],o=[1,42],s=[1,24],c=[1,25],l=[1,32],u=[1,33],d=[1,34],f=[1,45],p=[1,35],m=[1,36],h=[1,37],g=[1,38],v=[1,27],y=[1,28],b=[1,29],x=[1,30],S=[1,31],C=[1,44],w=[1,46],T=[1,43],E=[1,47],D=[1,9],O=[1,8,9],k=[1,58],A=[1,59],j=[1,60],M=[1,61],N=[1,62],ee=[1,63],P=[1,64],F=[1,8,9,41],te=[1,77],I=[1,8,9,12,13,22,39,41,44,46,68,69,70,71,72,73,74,79,81],L=[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],R=[13,60,86,100,102,103],z=[13,60,73,74,86,100,102,103],ne=[13,60,68,69,70,71,72,86,100,102,103],B=[1,102],V=[1,120],H=[1,116],U=[1,112],W=[1,118],G=[1,113],K=[1,114],q=[1,115],J=[1,117],Y=[1,119],re=[22,50,60,61,82,86,87,88,89,90],X=[1,8,9,39,41,44,46],Z=[1,8,9,22],ie=[1,150],ae=[1,8,9,61],Q=[1,8,9,22,50,60,61,82,86,87,88,89,90],oe={trace:_(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],[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:_(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 8:this.$=a[s-1];break;case 9:case 10:case 13:case 15:this.$=a[s];break;case 11:case 14:this.$=a[s-2]+`.`+a[s];break;case 12:case 16:this.$=a[s-1]+a[s];break;case 17:case 18:this.$=a[s-1]+`~`+a[s]+`~`;break;case 19:r.addRelation(a[s]);break;case 20:a[s-1].title=r.cleanupLabel(a[s]),r.addRelation(a[s-1]);break;case 31:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 32:case 33:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 34:r.addClassesToNamespace(a[s-3],a[s-1][0],a[s-1][1]);break;case 35:r.addClassesToNamespace(a[s-4],a[s-1][0],a[s-1][1]);break;case 36:this.$=a[s],r.addNamespace(a[s]);break;case 37:this.$=[[a[s]],[]];break;case 38:this.$=[[a[s-1]],[]];break;case 39:a[s][0].unshift(a[s-2]),this.$=a[s];break;case 40:this.$=[[],[a[s]]];break;case 41:this.$=[[],[a[s-1]]];break;case 42:a[s][1].unshift(a[s-2]),this.$=a[s];break;case 44:r.setCssClass(a[s-2],a[s]);break;case 45:r.addMembers(a[s-3],a[s-1]);break;case 47:r.setCssClass(a[s-5],a[s-3]),r.addMembers(a[s-5],a[s-1]);break;case 48:r.addAnnotation(a[s-3],a[s-1]);break;case 49:r.addAnnotation(a[s-6],a[s-4]),r.addMembers(a[s-6],a[s-1]);break;case 50:r.addAnnotation(a[s-5],a[s-3]);break;case 51:this.$=a[s],r.addClass(a[s]);break;case 52:this.$=a[s-1],r.addClass(a[s-1]),r.setClassLabel(a[s-1],a[s]);break;case 56:r.addAnnotation(a[s],a[s-2]);break;case 57:case 70:this.$=[a[s]];break;case 58:a[s].push(a[s-1]),this.$=a[s];break;case 59:break;case 60:r.addMember(a[s-1],r.cleanupLabel(a[s]));break;case 61:break;case 62:break;case 63:this.$={id1:a[s-2],id2:a[s],relation:a[s-1],relationTitle1:`none`,relationTitle2:`none`};break;case 64:this.$={id1:a[s-3],id2:a[s],relation:a[s-1],relationTitle1:a[s-2],relationTitle2:`none`};break;case 65:this.$={id1:a[s-3],id2:a[s],relation:a[s-2],relationTitle1:`none`,relationTitle2:a[s-1]};break;case 66:this.$={id1:a[s-4],id2:a[s],relation:a[s-2],relationTitle1:a[s-3],relationTitle2:a[s-1]};break;case 67:this.$=r.addNote(a[s],a[s-1]);break;case 68:this.$=r.addNote(a[s]);break;case 69:this.$=a[s-2],r.defineClass(a[s-1],a[s]);break;case 71:this.$=a[s-2].concat([a[s]]);break;case 72:r.setDirection(`TB`);break;case 73:r.setDirection(`BT`);break;case 74:r.setDirection(`RL`);break;case 75:r.setDirection(`LR`);break;case 76:this.$={type1:a[s-2],type2:a[s],lineType:a[s-1]};break;case 77:this.$={type1:`none`,type2:a[s],lineType:a[s-1]};break;case 78:this.$={type1:a[s-1],type2:`none`,lineType:a[s]};break;case 79:this.$={type1:`none`,type2:`none`,lineType:a[s]};break;case 80:this.$=r.relationType.AGGREGATION;break;case 81:this.$=r.relationType.EXTENSION;break;case 82:this.$=r.relationType.COMPOSITION;break;case 83:this.$=r.relationType.DEPENDENCY;break;case 84:this.$=r.relationType.LOLLIPOP;break;case 85:this.$=r.lineType.LINE;break;case 86:this.$=r.lineType.DOTTED_LINE;break;case 87:case 93:this.$=a[s-2],r.setClickEvent(a[s-1],a[s]);break;case 88:case 94:this.$=a[s-3],r.setClickEvent(a[s-2],a[s-1]),r.setTooltip(a[s-2],a[s]);break;case 89:this.$=a[s-2],r.setLink(a[s-1],a[s]);break;case 90:this.$=a[s-3],r.setLink(a[s-2],a[s-1],a[s]);break;case 91:this.$=a[s-3],r.setLink(a[s-2],a[s-1]),r.setTooltip(a[s-2],a[s]);break;case 92:this.$=a[s-4],r.setLink(a[s-3],a[s-2],a[s]),r.setTooltip(a[s-3],a[s-1]);break;case 95:this.$=a[s-3],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 96:this.$=a[s-4],r.setClickEvent(a[s-3],a[s-2],a[s-1]),r.setTooltip(a[s-3],a[s]);break;case 97:this.$=a[s-3],r.setLink(a[s-2],a[s]);break;case 98:this.$=a[s-4],r.setLink(a[s-3],a[s-1],a[s]);break;case 99:this.$=a[s-4],r.setLink(a[s-3],a[s-1]),r.setTooltip(a[s-3],a[s]);break;case 100:this.$=a[s-5],r.setLink(a[s-4],a[s-2],a[s]),r.setTooltip(a[s-4],a[s-1]);break;case 101:this.$=a[s-2],r.setCssStyle(a[s-1],a[s]);break;case 102:r.setCssClass(a[s-1],a[s]);break;case 103:this.$=[a[s]];break;case 104:a[s-2].push(a[s]),this.$=a[s-2];break;case 106:this.$=a[s-1]+a[s];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:t,35:n,37:r,38:22,42:i,43:23,46:a,48:o,51:s,52:c,54:l,56:u,57:d,60:f,62:p,63:m,64:h,65:g,75:v,76:y,78:b,82:x,83:S,86:C,100:w,102:T,103:E},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},e(D,[2,5],{8:[1,48]}),{8:[1,49]},e(O,[2,19],{22:[1,50]}),e(O,[2,21]),e(O,[2,22]),e(O,[2,23]),e(O,[2,24]),e(O,[2,25]),e(O,[2,26]),e(O,[2,27]),e(O,[2,28]),e(O,[2,29]),e(O,[2,30]),{34:[1,51]},{36:[1,52]},e(O,[2,33]),e(O,[2,59],{53:53,66:56,67:57,13:[1,54],22:[1,55],68:k,69:A,70:j,71:M,72:N,73:ee,74:P}),{39:[1,65]},e(F,[2,43],{39:[1,67],44:[1,66],46:[1,68]}),e(O,[2,61]),e(O,[2,62]),{16:69,60:f,86:C,100:w,102:T},{16:39,17:40,19:70,60:f,86:C,100:w,102:T,103:E},{16:39,17:40,19:71,60:f,86:C,100:w,102:T,103:E},{16:39,17:40,19:72,60:f,86:C,100:w,102:T,103:E},{60:[1,73]},{13:[1,74]},{16:39,17:40,19:75,60:f,86:C,100:w,102:T,103:E},{13:te,55:76},{58:78,60:[1,79]},e(O,[2,72]),e(O,[2,73]),e(O,[2,74]),e(O,[2,75]),e(I,[2,13],{16:39,17:40,19:81,18:[1,80],20:[1,82],60:f,86:C,100:w,102:T,103:E}),e(I,[2,15],{20:[1,83]}),{15:84,16:85,17:86,60:f,86:C,100:w,102:T,103:E},{16:39,17:40,19:87,60:f,86:C,100:w,102:T,103:E},e(L,[2,129]),e(L,[2,130]),e(L,[2,131]),e(L,[2,132]),e([1,8,9,12,13,20,22,39,41,44,46,68,69,70,71,72,73,74,79,81],[2,133]),e(D,[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:t,35:n,37:r,42:i,46:a,48:o,51:s,52:c,54:l,56:u,57:d,60:f,62:p,63:m,64:h,65:g,75:v,76:y,78:b,82:x,83:S,86:C,100:w,102:T,103:E}),{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:t,35:n,37:r,38:22,42:i,43:23,46:a,48:o,51:s,52:c,54:l,56:u,57:d,60:f,62:p,63:m,64:h,65:g,75:v,76:y,78:b,82:x,83:S,86:C,100:w,102:T,103:E},e(O,[2,20]),e(O,[2,31]),e(O,[2,32]),{13:[1,91],16:39,17:40,19:90,60:f,86:C,100:w,102:T,103:E},{53:92,66:56,67:57,68:k,69:A,70:j,71:M,72:N,73:ee,74:P},e(O,[2,60]),{67:93,73:ee,74:P},e(R,[2,79],{66:94,68:k,69:A,70:j,71:M,72:N}),e(z,[2,80]),e(z,[2,81]),e(z,[2,82]),e(z,[2,83]),e(z,[2,84]),e(ne,[2,85]),e(ne,[2,86]),{8:[1,96],24:97,30:98,40:95,43:23,48:o,54:l,56:u},{16:99,60:f,86:C,100:w,102:T},{41:[1,101],45:100,51:B},{16:103,60:f,86:C,100:w,102:T},{47:[1,104]},{13:[1,105]},{13:[1,106]},{79:[1,107],81:[1,108]},{22:V,50:H,59:109,60:U,82:W,84:110,85:111,86:G,87:K,88:q,89:J,90:Y},{60:[1,121]},{13:te,55:122},e(F,[2,68]),e(F,[2,134]),{22:V,50:H,59:123,60:U,61:[1,124],82:W,84:110,85:111,86:G,87:K,88:q,89:J,90:Y},e(re,[2,70]),{16:39,17:40,19:125,60:f,86:C,100:w,102:T,103:E},e(I,[2,16]),e(I,[2,17]),e(I,[2,18]),{39:[2,36]},{15:127,16:85,17:86,18:[1,126],39:[2,9],60:f,86:C,100:w,102:T,103:E},{39:[2,10]},e(X,[2,51],{11:128,12:[1,129]}),e(D,[2,7]),{9:[1,130]},e(Z,[2,63]),{16:39,17:40,19:131,60:f,86:C,100:w,102:T,103:E},{13:[1,133],16:39,17:40,19:132,60:f,86:C,100:w,102:T,103:E},e(R,[2,78],{66:134,68:k,69:A,70:j,71:M,72:N}),e(R,[2,77]),{41:[1,135]},{24:97,30:98,40:136,43:23,48:o,54:l,56:u},{8:[1,137],41:[2,37]},{8:[1,138],41:[2,40]},e(F,[2,44],{39:[1,139]}),{41:[1,140]},e(F,[2,46]),{41:[2,57],45:141,51:B},{47:[1,142]},{16:39,17:40,19:143,60:f,86:C,100:w,102:T,103:E},e(O,[2,87],{13:[1,144]}),e(O,[2,89],{13:[1,146],77:[1,145]}),e(O,[2,93],{13:[1,147],80:[1,148]}),{13:[1,149]},e(O,[2,101],{61:ie}),e(ae,[2,103],{85:151,22:V,50:H,60:U,82:W,86:G,87:K,88:q,89:J,90:Y}),e(Q,[2,105]),e(Q,[2,107]),e(Q,[2,108]),e(Q,[2,109]),e(Q,[2,110]),e(Q,[2,111]),e(Q,[2,112]),e(Q,[2,113]),e(Q,[2,114]),e(Q,[2,115]),e(O,[2,102]),e(F,[2,67]),e(O,[2,69],{61:ie}),{60:[1,152]},e(I,[2,14]),{15:153,16:85,17:86,60:f,86:C,100:w,102:T,103:E},{39:[2,12]},e(X,[2,52]),{13:[1,154]},{1:[2,4]},e(Z,[2,65]),e(Z,[2,64]),{16:39,17:40,19:155,60:f,86:C,100:w,102:T,103:E},e(R,[2,76]),e(O,[2,34]),{41:[1,156]},{24:97,30:98,40:157,41:[2,38],43:23,48:o,54:l,56:u},{24:97,30:98,40:158,41:[2,41],43:23,48:o,54:l,56:u},{45:159,51:B},e(F,[2,45]),{41:[2,58]},e(F,[2,48],{39:[1,160]}),e(O,[2,56]),e(O,[2,88]),e(O,[2,90]),e(O,[2,91],{77:[1,161]}),e(O,[2,94]),e(O,[2,95],{13:[1,162]}),e(O,[2,97],{13:[1,164],77:[1,163]}),{22:V,50:H,60:U,82:W,84:165,85:111,86:G,87:K,88:q,89:J,90:Y},e(Q,[2,106]),e(re,[2,71]),{39:[2,11]},{14:[1,166]},e(Z,[2,66]),e(O,[2,35]),{41:[2,39]},{41:[2,42]},{41:[1,167]},{41:[1,169],45:168,51:B},e(O,[2,92]),e(O,[2,96]),e(O,[2,98]),e(O,[2,99],{77:[1,170]}),e(ae,[2,104],{85:151,22:V,50:H,60:U,82:W,86:G,87:K,88:q,89:J,90:Y}),e(X,[2,8]),e(F,[2,47]),{41:[1,171]},e(F,[2,50]),e(O,[2,100]),e(F,[2,49])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],84:[2,36],86:[2,10],127:[2,12],130:[2,4],141:[2,58],153:[2,11],157:[2,39],158:[2,42]},parseError:_(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:_(function(e){var t=this,n=[0],r=[],i=[null],a=[],o=this.table,s=``,c=0,l=0,u=0,d=2,f=1,p=a.slice.call(arguments,1),m=Object.create(this.lexer),h={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(h.yy[g]=this.yy[g]);m.setInput(e,h.yy),h.yy.lexer=m,h.yy.parser=this,m.yylloc===void 0&&(m.yylloc={});var v=m.yylloc;a.push(v);var y=m.options&&m.options.ranges;typeof h.yy.parseError==`function`?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){n.length-=2*e,i.length-=e,a.length-=e}_(b,`popStack`);function x(){var e=r.pop()||m.lex()||f;return typeof e!=`number`&&(e instanceof Array&&(r=e,e=r.pop()),e=t.symbols_[e]||e),e}_(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=n[n.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=o[w]&&o[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],o[w])this.terminals_[O]&&O>d&&j.push(`'`+this.terminals_[O]+`'`);M=m.showPosition?`Parse error on line `+(c+1)+`:
|
|
2
|
+
`+m.showPosition()+`
|
|
3
|
+
Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(c+1)+`: Unexpected `+(S==f?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:m.match,token:this.terminals_[S]||S,line:m.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:n.push(S),i.push(m.yytext),a.push(m.yylloc),n.push(T[1]),S=null,C?(S=C,C=null):(l=m.yyleng,s=m.yytext,c=m.yylineno,v=m.yylloc,u>0&&u--);break;case 2:if(k=this.productions_[T[1]][1],D.$=i[i.length-k],D._$={first_line:a[a.length-(k||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(k||1)].first_column,last_column:a[a.length-1].last_column},y&&(D._$.range=[a[a.length-(k||1)].range[0],a[a.length-1].range[1]]),E=this.performAction.apply(D,[s,l,c,h.yy,T[1],i,a].concat(p)),E!==void 0)return E;k&&(n=n.slice(0,-1*k*2),i=i.slice(0,-1*k),a=a.slice(0,-1*k)),n.push(this.productions_[T[1]][0]),i.push(D.$),a.push(D._$),A=o[n[n.length-2]][n[n.length-1]],n.push(A);break;case 3:return!0}}return!0},`parse`)};oe.lexer=(function(){return{EOF:1,parseError:_(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:_(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:_(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:_(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:_(function(){return this._more=!0,this},`more`),reject:_(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
|
+
`+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:_(function(e){this.unput(this.match.slice(e))},`less`),pastInput:_(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:_(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:_(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
|
|
5
|
+
`+t+`^`},`showPosition`),test_match:_(function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},`test_match`),next:_(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);for(var i=this._currentRules(),a=0;a<i.length;a++)if(n=this._input.match(this.rules[i[a]]),n&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}else return!1}else if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e===!1?!1:e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
+
`+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:_(function(){return this.next()||this.lex()},`lex`),begin:_(function(e){this.conditionStack.push(e)},`begin`),popState:_(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:_(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:_(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:_(function(e){this.begin(e)},`pushState`),stateStackSize:_(function(){return this.conditionStack.length},`stateStackSize`),options:{},performAction:_(function(e,t,n,r){switch(n){case 0:return 62;case 1:return 63;case 2:return 64;case 3:return 65;case 4:break;case 5:break;case 6:return this.begin(`acc_title`),33;case 7:return this.popState(),`acc_title_value`;case 8:return this.begin(`acc_descr`),35;case 9:return this.popState(),`acc_descr_value`;case 10:this.begin(`acc_descr_multiline`);break;case 11:this.popState();break;case 12:return`acc_descr_multiline_value`;case 13:return 8;case 14:break;case 15:return 7;case 16:return 7;case 17:return`EDGE_STATE`;case 18:this.begin(`callback_name`);break;case 19:this.popState();break;case 20:this.popState(),this.begin(`callback_args`);break;case 21:return 79;case 22:this.popState();break;case 23:return 80;case 24:this.popState();break;case 25:return`STR`;case 26:this.begin(`string`);break;case 27:return 82;case 28:return 57;case 29:return this.begin(`namespace`),42;case 30:return this.popState(),8;case 31:break;case 32:return this.begin(`namespace-body`),39;case 33:return this.popState(),41;case 34:return`EOF_IN_STRUCT`;case 35:return 8;case 36:break;case 37:return`EDGE_STATE`;case 38:return this.begin(`class`),48;case 39:return this.popState(),8;case 40:break;case 41:return this.popState(),this.popState(),41;case 42:return this.begin(`class-body`),39;case 43:return this.popState(),41;case 44:return`EOF_IN_STRUCT`;case 45:return`EDGE_STATE`;case 46:return`OPEN_IN_STRUCT`;case 47:break;case 48:return`MEMBER`;case 49:return 83;case 50:return 75;case 51:return 76;case 52:return 78;case 53:return 54;case 54:return 56;case 55:return 46;case 56:return 47;case 57:return 81;case 58:this.popState();break;case 59:return`GENERICTYPE`;case 60:this.begin(`generic`);break;case 61:this.popState();break;case 62:return`BQUOTE_STR`;case 63:this.begin(`bqstring`);break;case 64:return 77;case 65:return 77;case 66:return 77;case 67:return 77;case 68:return 69;case 69:return 69;case 70:return 71;case 71:return 71;case 72:return 70;case 73:return 68;case 74:return 72;case 75:return 73;case 76:return 74;case 77:return 22;case 78:return 44;case 79:return 100;case 80:return 18;case 81:return`PLUS`;case 82:return 87;case 83:return 61;case 84:return 89;case 85:return 89;case 86:return 90;case 87:return`EQUALS`;case 88:return`EQUALS`;case 89:return 60;case 90:return 12;case 91:return 14;case 92:return`PUNCTUATION`;case 93:return 86;case 94:return 102;case 95:return 50;case 96:return 50;case 97:return 9}},`anonymous`),rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:\[\*\])/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:["])/,/^(?:[^"]*)/,/^(?:["])/,/^(?:style\b)/,/^(?:classDef\b)/,/^(?:namespace\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:\[\*\])/,/^(?:class\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[}])/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\[\*\])/,/^(?:[{])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:href\b)/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:~)/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:[`])/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?::)/,/^(?:,)/,/^(?:#)/,/^(?:#)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:\[)/,/^(?:\])/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:\s)/,/^(?:$)/],conditions:{"namespace-body":{rules:[26,33,34,35,36,37,38,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},namespace:{rules:[26,29,30,31,32,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},"class-body":{rules:[26,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},class:{rules:[26,39,40,41,42,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},acc_descr_multiline:{rules:[11,12,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},acc_descr:{rules:[9,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},acc_title:{rules:[7,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},callback_args:{rules:[22,23,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},callback_name:{rules:[19,20,21,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},href:{rules:[26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},struct:{rules:[26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},generic:{rules:[26,49,50,51,52,53,54,55,56,57,58,59,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},bqstring:{rules:[26,49,50,51,52,53,54,55,56,57,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},string:{rules:[24,25,26,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,86,87,88,89,90,91,92,93,94,95,97],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,26,27,28,29,38,49,50,51,52,53,54,55,56,57,60,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!0}}}})();function $(){this.yy={}}return _($,`Parser`),$.prototype=oe,oe.Parser=$,new $})();C.parser=C;var w=C,T=[`#`,`+`,`~`,`-`,``],E=class{static{_(this,`ClassMember`)}constructor(e,t){this.memberType=t,this.visibility=``,this.classifier=``,this.text=``;let r=p(e,n());this.parseMember(r)}getDisplayDetails(){let e=this.visibility+m(this.id);this.memberType===`method`&&(e+=`(${m(this.parameters.trim())})`,this.returnType&&(e+=` : `+m(this.returnType))),e=e.trim();let t=this.parseClassifier();return{displayText:e,cssStyle:t}}parseMember(e){let t=``;if(this.memberType===`method`){let n=/([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/.exec(e);if(n){let e=n[1]?n[1].trim():``;if(T.includes(e)&&(this.visibility=e),this.id=n[2],this.parameters=n[3]?n[3].trim():``,t=n[4]?n[4].trim():``,this.returnType=n[5]?n[5].trim():``,t===``){let e=this.returnType.substring(this.returnType.length-1);/[$*]/.exec(e)&&(t=e,this.returnType=this.returnType.substring(0,this.returnType.length-1))}}}else{let n=e.length,r=e.substring(0,1),i=e.substring(n-1);T.includes(r)&&(this.visibility=r),/[$*]/.exec(i)&&(t=i),this.id=e.substring(this.visibility===``?0:1,t===``?n:n-1)}this.classifier=t,this.id=this.id.startsWith(` `)?` `+this.id.trim():this.id.trim();let n=`${this.visibility?`\\`+this.visibility:``}${m(this.id)}${this.memberType===`method`?`(${m(this.parameters)})${this.returnType?` : `+m(this.returnType):``}`:``}`;this.text=n.replaceAll(`<`,`<`).replaceAll(`>`,`>`),this.text.startsWith(`\\<`)&&(this.text=this.text.replace(`\\<`,`~`))}parseClassifier(){switch(this.classifier){case`*`:return`font-style:italic;`;case`$`:return`text-decoration:underline;`;default:return``}}},D=`classId-`,O=0,k=_(e=>s.sanitizeText(e,n()),`sanitizeText`),A=class{constructor(){this.relations=[],this.classes=new Map,this.styleClasses=new Map,this.notes=new Map,this.interfaces=[],this.namespaces=new Map,this.namespaceCounter=0,this.diagramId=``,this.functions=[],this.lineType={LINE:0,DOTTED_LINE:1},this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},this.setupToolTips=_(e=>{let n=b();t(e).select(`svg`).selectAll(`g`).filter(function(){return t(this).attr(`title`)!==null}).on(`mouseover`,e=>{let r=t(e.currentTarget),i=r.attr(`title`);if(!i)return;let a=e.currentTarget.getBoundingClientRect();n.transition().duration(200).style(`opacity`,`.9`),n.html(f.sanitize(i)).style(`left`,`${window.scrollX+a.left+a.width/2}px`).style(`top`,`${window.scrollY+a.bottom+4}px`),r.classed(`hover`,!0)}).on(`mouseout`,e=>{n.transition().duration(500).style(`opacity`,0),t(e.currentTarget).classed(`hover`,!1)})},`setupToolTips`),this.direction=`TB`,this.setAccTitle=g,this.getAccTitle=r,this.setAccDescription=u,this.getAccDescription=e,this.setDiagramTitle=d,this.getDiagramTitle=c,this.getConfig=_(()=>n().class,`getConfig`),this.functions.push(this.setupToolTips.bind(this)),this.clear(),this.addRelation=this.addRelation.bind(this),this.addClassesToNamespace=this.addClassesToNamespace.bind(this),this.addNamespace=this.addNamespace.bind(this),this.setCssClass=this.setCssClass.bind(this),this.addMembers=this.addMembers.bind(this),this.addClass=this.addClass.bind(this),this.setClassLabel=this.setClassLabel.bind(this),this.addAnnotation=this.addAnnotation.bind(this),this.addMember=this.addMember.bind(this),this.cleanupLabel=this.cleanupLabel.bind(this),this.addNote=this.addNote.bind(this),this.defineClass=this.defineClass.bind(this),this.setDirection=this.setDirection.bind(this),this.setLink=this.setLink.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.clear=this.clear.bind(this),this.setTooltip=this.setTooltip.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setCssStyle=this.setCssStyle.bind(this)}static{_(this,`ClassDB`)}splitClassNameAndType(e){let t=s.sanitizeText(e,n()),r=``,i=t;if(t.indexOf(`~`)>0){let e=t.split(`~`);i=k(e[0]),r=k(e[1])}return{className:i,type:r}}setClassLabel(e,t){let r=s.sanitizeText(e,n());t&&=k(t);let{className:i}=this.splitClassNameAndType(r);this.classes.get(i).label=t,this.classes.get(i).text=`${t}${this.classes.get(i).type?`<${this.classes.get(i).type}>`:``}`}addClass(e){let t=s.sanitizeText(e,n()),{className:r,type:i}=this.splitClassNameAndType(t);if(this.classes.has(r))return;let a=s.sanitizeText(r,n());this.classes.set(a,{id:a,type:i,label:a,text:`${a}${i?`<${i}>`:``}`,shape:`classBox`,cssClasses:`default`,methods:[],members:[],annotations:[],styles:[],domId:D+a+`-`+O}),O++}addInterface(e,t){let n={id:`interface${this.interfaces.length}`,label:e,classId:t};this.interfaces.push(n)}setDiagramId(e){this.diagramId=e}lookUpDomId(e){let t=s.sanitizeText(e,n());if(this.classes.has(t)){let e=this.classes.get(t).domId;return this.diagramId?`${this.diagramId}-${e}`:e}throw Error(`Class not found: `+t)}clear(){this.relations=[],this.classes=new Map,this.notes=new Map,this.interfaces=[],this.functions=[],this.functions.push(this.setupToolTips.bind(this)),this.namespaces=new Map,this.namespaceCounter=0,this.diagramId=``,this.direction=`TB`,v()}getClass(e){return this.classes.get(e)}getClasses(){return this.classes}getRelations(){return this.relations}getNote(e){let t=typeof e==`number`?`note${e}`:e;return this.notes.get(t)}getNotes(){return this.notes}addRelation(e){o.debug(`Adding relation: `+JSON.stringify(e));let t=[this.relationType.LOLLIPOP,this.relationType.AGGREGATION,this.relationType.COMPOSITION,this.relationType.DEPENDENCY,this.relationType.EXTENSION];e.relation.type1===this.relationType.LOLLIPOP&&!t.includes(e.relation.type2)?(this.addClass(e.id2),this.addInterface(e.id1,e.id2),e.id1=`interface${this.interfaces.length-1}`):e.relation.type2===this.relationType.LOLLIPOP&&!t.includes(e.relation.type1)?(this.addClass(e.id1),this.addInterface(e.id2,e.id1),e.id2=`interface${this.interfaces.length-1}`):(this.addClass(e.id1),this.addClass(e.id2)),e.id1=this.splitClassNameAndType(e.id1).className,e.id2=this.splitClassNameAndType(e.id2).className,e.relationTitle1=s.sanitizeText(e.relationTitle1.trim(),n()),e.relationTitle2=s.sanitizeText(e.relationTitle2.trim(),n()),this.relations.push(e)}addAnnotation(e,t){let n=this.splitClassNameAndType(e).className;this.classes.get(n).annotations.push(t)}addMember(e,t){this.addClass(e);let n=this.splitClassNameAndType(e).className,r=this.classes.get(n);if(typeof t==`string`){let e=t.trim();e.startsWith(`<<`)&&e.endsWith(`>>`)?r.annotations.push(k(e.substring(2,e.length-2))):e.indexOf(`)`)>0?r.methods.push(new E(e,`method`)):e&&r.members.push(new E(e,`attribute`))}}addMembers(e,t){Array.isArray(t)&&(t.reverse(),t.forEach(t=>this.addMember(e,t)))}addNote(e,t){let n=this.notes.size,r={id:`note${n}`,class:t,text:e,index:n};return this.notes.set(r.id,r),r.id}cleanupLabel(e){return e.startsWith(`:`)&&(e=e.substring(1)),k(e.trim())}setCssClass(e,t){e.split(`,`).forEach(e=>{let n=e;/\d/.exec(e[0])&&(n=D+n);let r=this.classes.get(n);r&&(r.cssClasses+=` `+t)})}defineClass(e,t){for(let n of e){let e=this.styleClasses.get(n);e===void 0&&(e={id:n,styles:[],textStyles:[]},this.styleClasses.set(n,e)),t&&t.forEach(t=>{if(/color/.exec(t)){let n=t.replace(`fill`,`bgFill`);e.textStyles.push(n)}e.styles.push(t)}),this.classes.forEach(e=>{e.cssClasses.includes(n)&&e.styles.push(...t.flatMap(e=>e.split(`,`)))})}}setTooltip(e,t){e.split(`,`).forEach(e=>{t!==void 0&&(this.classes.get(e).tooltip=k(t))})}getTooltip(e,t){return t&&this.namespaces.has(t)?this.namespaces.get(t).classes.get(e).tooltip:this.classes.get(e).tooltip}setLink(e,t,r){let i=n();e.split(`,`).forEach(e=>{let n=e;/\d/.exec(e[0])&&(n=D+n);let o=this.classes.get(n);o&&(o.link=a.formatUrl(t,i),i.securityLevel===`sandbox`?o.linkTarget=`_top`:typeof r==`string`?o.linkTarget=k(r):o.linkTarget=`_blank`)}),this.setCssClass(e,`clickable`)}setClickEvent(e,t,n){e.split(`,`).forEach(e=>{this.setClickFunc(e,t,n),this.classes.get(e).haveCallback=!0}),this.setCssClass(e,`clickable`)}setClickFunc(e,t,r){let i=s.sanitizeText(e,n());if(n().securityLevel!==`loose`||t===void 0)return;let o=i;if(this.classes.has(o)){let e=[];if(typeof r==`string`){e=r.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t<e.length;t++){let n=e[t].trim();n.startsWith(`"`)&&n.endsWith(`"`)&&(n=n.substr(1,n.length-2)),e[t]=n}}e.length===0&&e.push(o),this.functions.push(()=>{let n=this.lookUpDomId(o),r=document.querySelector(`[id="${n}"]`);r!==null&&r.addEventListener(`click`,()=>{a.runFunc(t,...e)},!1)})}}bindFunctions(e){this.functions.forEach(t=>{t(e)})}escapeHtml(e){return e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`)}getDirection(){return this.direction}setDirection(e){this.direction=e}addNamespace(e){this.namespaces.has(e)||(this.namespaces.set(e,{id:e,classes:new Map,notes:new Map,children:new Map,domId:D+e+`-`+this.namespaceCounter}),this.namespaceCounter++)}getNamespace(e){return this.namespaces.get(e)}getNamespaces(){return this.namespaces}addClassesToNamespace(e,t,n){if(this.namespaces.has(e)){for(let n of t){let{className:t}=this.splitClassNameAndType(n),r=this.getClass(t);r.parent=e,this.namespaces.get(e).classes.set(t,r)}for(let t of n){let n=this.getNote(t);n.parent=e,this.namespaces.get(e).notes.set(t,n)}}}setCssStyle(e,t){let n=this.classes.get(e);if(!(!t||!n))for(let e of t)e.includes(`,`)?n.styles.push(...e.split(`,`)):n.styles.push(e)}getArrowMarker(e){let t;switch(e){case 0:t=`aggregation`;break;case 1:t=`extension`;break;case 2:t=`composition`;break;case 3:t=`dependency`;break;case 4:t=`lollipop`;break;default:t=`none`}return t}getData(){let e=[],t=[],r=n();for(let t of this.namespaces.values()){let n={id:t.id,label:t.id,isGroup:!0,padding:r.class.padding??16,shape:`rect`,cssStyles:[],look:r.look};e.push(n)}for(let t of this.classes.values()){let n={...t,type:void 0,isGroup:!1,parentId:t.parent,look:r.look};e.push(n)}for(let n of this.notes.values()){let i={id:n.id,label:n.text,isGroup:!1,shape:`note`,padding:r.class.padding??6,cssStyles:[`text-align: left`,`white-space: nowrap`,`fill: ${r.themeVariables.noteBkgColor}`,`stroke: ${r.themeVariables.noteBorderColor}`],look:r.look,parentId:n.parent,labelType:`markdown`};e.push(i);let a=this.classes.get(n.class)?.id;if(a){let e={id:`edgeNote${n.index}`,start:n.id,end:a,type:`normal`,thickness:`normal`,classes:`relation`,arrowTypeStart:`none`,arrowTypeEnd:`none`,arrowheadStyle:``,labelStyle:[``],style:[`fill: none`],pattern:`dotted`,look:r.look};t.push(e)}}for(let t of this.interfaces){let n={id:t.id,label:t.label,isGroup:!1,shape:`rect`,cssStyles:[`opacity: 0;`],look:r.look};e.push(n)}let a=0;for(let e of this.relations){a++;let n={id:i(e.id1,e.id2,{prefix:`id`,counter:a}),start:e.id1,end:e.id2,type:`normal`,label:e.title,labelpos:`c`,thickness:`normal`,classes:`relation`,arrowTypeStart:this.getArrowMarker(e.relation.type1),arrowTypeEnd:this.getArrowMarker(e.relation.type2),startLabelRight:e.relationTitle1===`none`?``:e.relationTitle1,endLabelLeft:e.relationTitle2===`none`?``:e.relationTitle2,arrowheadStyle:``,labelStyle:[`display: inline-block`],style:e.style||``,pattern:e.relation.lineType==1?`dashed`:`solid`,look:r.look,labelType:`markdown`};t.push(n)}return{nodes:e,edges:t,other:{},config:r,direction:this.getDirection()}}},j=_(e=>`g.classGroup text {
|
|
7
|
+
fill: ${e.nodeBorder||e.classText};
|
|
8
|
+
stroke: none;
|
|
9
|
+
font-family: ${e.fontFamily};
|
|
10
|
+
font-size: 10px;
|
|
11
|
+
|
|
12
|
+
.title {
|
|
13
|
+
font-weight: bolder;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.cluster-label text {
|
|
19
|
+
fill: ${e.titleColor};
|
|
20
|
+
}
|
|
21
|
+
.cluster-label span {
|
|
22
|
+
color: ${e.titleColor};
|
|
23
|
+
}
|
|
24
|
+
.cluster-label span p {
|
|
25
|
+
background-color: transparent;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.cluster rect {
|
|
29
|
+
fill: ${e.clusterBkg};
|
|
30
|
+
stroke: ${e.clusterBorder};
|
|
31
|
+
stroke-width: 1px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.cluster text {
|
|
35
|
+
fill: ${e.titleColor};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.cluster span {
|
|
39
|
+
color: ${e.titleColor};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.nodeLabel, .edgeLabel {
|
|
43
|
+
color: ${e.classText};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.noteLabel .nodeLabel, .noteLabel .edgeLabel {
|
|
47
|
+
color: ${e.noteTextColor};
|
|
48
|
+
}
|
|
49
|
+
.edgeLabel .label rect {
|
|
50
|
+
fill: ${e.mainBkg};
|
|
51
|
+
}
|
|
52
|
+
.label text {
|
|
53
|
+
fill: ${e.classText};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.labelBkg {
|
|
57
|
+
background: ${e.mainBkg};
|
|
58
|
+
}
|
|
59
|
+
.edgeLabel .label span {
|
|
60
|
+
background: ${e.mainBkg};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.classTitle {
|
|
64
|
+
font-weight: bolder;
|
|
65
|
+
}
|
|
66
|
+
.node rect,
|
|
67
|
+
.node circle,
|
|
68
|
+
.node ellipse,
|
|
69
|
+
.node polygon,
|
|
70
|
+
.node path {
|
|
71
|
+
fill: ${e.mainBkg};
|
|
72
|
+
stroke: ${e.nodeBorder};
|
|
73
|
+
stroke-width: ${e.strokeWidth};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
.divider {
|
|
78
|
+
stroke: ${e.nodeBorder};
|
|
79
|
+
stroke-width: 1;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
g.clickable {
|
|
83
|
+
cursor: pointer;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
g.classGroup rect {
|
|
87
|
+
fill: ${e.mainBkg};
|
|
88
|
+
stroke: ${e.nodeBorder};
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
g.classGroup line {
|
|
92
|
+
stroke: ${e.nodeBorder};
|
|
93
|
+
stroke-width: 1;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.classLabel .box {
|
|
97
|
+
stroke: none;
|
|
98
|
+
stroke-width: 0;
|
|
99
|
+
fill: ${e.mainBkg};
|
|
100
|
+
opacity: 0.5;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.classLabel .label {
|
|
104
|
+
fill: ${e.nodeBorder};
|
|
105
|
+
font-size: 10px;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.relation {
|
|
109
|
+
stroke: ${e.lineColor};
|
|
110
|
+
stroke-width: ${e.strokeWidth};
|
|
111
|
+
fill: none;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.dashed-line{
|
|
115
|
+
stroke-dasharray: 3;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.dotted-line{
|
|
119
|
+
stroke-dasharray: 1 2;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
[id$="-compositionStart"], .composition {
|
|
123
|
+
fill: ${e.lineColor} !important;
|
|
124
|
+
stroke: ${e.lineColor} !important;
|
|
125
|
+
stroke-width: 1;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
[id$="-compositionEnd"], .composition {
|
|
129
|
+
fill: ${e.lineColor} !important;
|
|
130
|
+
stroke: ${e.lineColor} !important;
|
|
131
|
+
stroke-width: 1;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
[id$="-dependencyStart"], .dependency {
|
|
135
|
+
fill: ${e.lineColor} !important;
|
|
136
|
+
stroke: ${e.lineColor} !important;
|
|
137
|
+
stroke-width: 1;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
[id$="-dependencyEnd"], .dependency {
|
|
141
|
+
fill: ${e.lineColor} !important;
|
|
142
|
+
stroke: ${e.lineColor} !important;
|
|
143
|
+
stroke-width: 1;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
[id$="-extensionStart"], .extension {
|
|
147
|
+
fill: transparent !important;
|
|
148
|
+
stroke: ${e.lineColor} !important;
|
|
149
|
+
stroke-width: 1;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
[id$="-extensionEnd"], .extension {
|
|
153
|
+
fill: transparent !important;
|
|
154
|
+
stroke: ${e.lineColor} !important;
|
|
155
|
+
stroke-width: 1;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
[id$="-aggregationStart"], .aggregation {
|
|
159
|
+
fill: transparent !important;
|
|
160
|
+
stroke: ${e.lineColor} !important;
|
|
161
|
+
stroke-width: 1;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
[id$="-aggregationEnd"], .aggregation {
|
|
165
|
+
fill: transparent !important;
|
|
166
|
+
stroke: ${e.lineColor} !important;
|
|
167
|
+
stroke-width: 1;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
[id$="-lollipopStart"], .lollipop {
|
|
171
|
+
fill: ${e.mainBkg} !important;
|
|
172
|
+
stroke: ${e.lineColor} !important;
|
|
173
|
+
stroke-width: 1;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
[id$="-lollipopEnd"], .lollipop {
|
|
177
|
+
fill: ${e.mainBkg} !important;
|
|
178
|
+
stroke: ${e.lineColor} !important;
|
|
179
|
+
stroke-width: 1;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.edgeTerminals {
|
|
183
|
+
font-size: 11px;
|
|
184
|
+
line-height: initial;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.classTitleText {
|
|
188
|
+
text-anchor: middle;
|
|
189
|
+
font-size: 18px;
|
|
190
|
+
fill: ${e.textColor};
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.edgeLabel[data-look="neo"] {
|
|
194
|
+
background-color: ${e.edgeLabelBackground};
|
|
195
|
+
p {
|
|
196
|
+
background-color: ${e.edgeLabelBackground};
|
|
197
|
+
}
|
|
198
|
+
rect {
|
|
199
|
+
opacity: 0.5;
|
|
200
|
+
background-color: ${e.edgeLabelBackground};
|
|
201
|
+
fill: ${e.edgeLabelBackground};
|
|
202
|
+
}
|
|
203
|
+
text-align: center;
|
|
204
|
+
}
|
|
205
|
+
${y()}
|
|
206
|
+
`,`getStyles`),M={getClasses:_(function(e,t){return t.db.getClasses()},`getClasses`),draw:_(async function(e,t,r,i){o.info(`REF0:`),o.info(`Drawing class diagram (v3)`,t);let{securityLevel:s,state:c,layout:u}=n();i.db.setDiagramId(t);let d=i.db.getData(),f=x(t,s);d.type=i.type,d.layoutAlgorithm=l(u),d.nodeSpacing=c?.nodeSpacing||50,d.rankSpacing=c?.rankSpacing||50,d.markers=[`aggregation`,`extension`,`composition`,`dependency`,`lollipop`],d.diagramId=t,await h(d,f),a.insertTitle(f,`classDiagramTitleText`,c?.titleTopMargin??25,i.db.getDiagramTitle()),S(f,8,`classDiagram`,c?.useMaxWidth??!0)},`draw`),getDir:_((e,t=`TB`)=>{if(!e.doc)return t;let n=t;for(let t of e.doc)t.stmt===`dir`&&(n=t.value);return n},`getDir`)};export{j as i,w as n,M as r,A as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{It as e,xn as t}from"./index-Ts5WhtRB.js";var n=t((t,n)=>{let r;return n===`sandbox`&&(r=e(`#i`+t)),e(n===`sandbox`?r.nodes()[0].contentDocument.body:`body`).select(`[id="${t}"]`)},`getDiagramElement`);export{n as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as e,a as t,g as n,h as r,i,m as a,s as o,t as s,v as c}from"./chunk-K5T4RW27-Dzh5Xx8O.js";var l=class extends s{static{a(this,`GitGraphTokenBuilder`)}constructor(){super([`gitGraph`])}},u={parser:{TokenBuilder:a(()=>new l,`TokenBuilder`),ValueConverter:a(()=>new i,`ValueConverter`)}};function d(i=r){let a=n(c(i),o),s=n(e({shared:a}),t,u);return a.ServiceRegistry.register(s),{shared:a,GitGraph:s}}a(d,`createGitGraphServices`);export{d as n,u as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as e,g as t,h as n,m as r,n as i,r as a,s as o,t as s,v as c}from"./chunk-K5T4RW27-Dzh5Xx8O.js";var l=class extends s{static{r(this,`ArchitectureTokenBuilder`)}constructor(){super([`architecture`])}},u=class extends i{static{r(this,`ArchitectureValueConverter`)}runCustomConverter(e,t,n){if(e.name===`ARCH_ICON`)return t.replace(/[()]/g,``).trim();if(e.name===`ARCH_TEXT_ICON`)return t.replace(/["()]/g,``);if(e.name===`ARCH_TITLE`){let e=t.replace(/^\[|]$/g,``).trim();return(e.startsWith(`"`)&&e.endsWith(`"`)||e.startsWith(`'`)&&e.endsWith(`'`))&&(e=e.slice(1,-1),e=e.replace(/\\"/g,`"`).replace(/\\'/g,`'`)),e.trim()}}},d={parser:{TokenBuilder:r(()=>new l,`TokenBuilder`),ValueConverter:r(()=>new u,`ValueConverter`)}};function f(r=n){let i=t(c(r),o),s=t(e({shared:i}),a,d);return i.ServiceRegistry.register(s),{shared:i,Architecture:s}}r(f,`createArchitectureServices`);export{f as n,d as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as e,g as t,h as n,l as r,m as i,n as a,s as o,t as s,v as c}from"./chunk-K5T4RW27-Dzh5Xx8O.js";var l=class extends s{static{i(this,`PieTokenBuilder`)}constructor(){super([`pie`,`showData`])}},u=class extends a{static{i(this,`PieValueConverter`)}runCustomConverter(e,t,n){if(e.name===`PIE_SECTION_LABEL`)return t.replace(/"/g,``).trim()}},d={parser:{TokenBuilder:i(()=>new l,`TokenBuilder`),ValueConverter:i(()=>new u,`ValueConverter`)}};function f(i=n){let a=t(c(i),o),s=t(e({shared:a}),r,d);return a.ServiceRegistry.register(s),{shared:a,Pie:s}}i(f,`createPieServices`);export{f as n,d as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as e,g as t,h as n,m as r,n as i,p as a,s as o,v as s}from"./chunk-K5T4RW27-Dzh5Xx8O.js";var c=class extends i{static{r(this,`WardleyValueConverter`)}runCustomConverter(e,t,n){switch(e.name.toUpperCase()){case`LINK_LABEL`:return t.substring(1).trim();default:return}}},l={parser:{ValueConverter:r(()=>new c,`ValueConverter`)}};function u(r=n){let i=t(s(r),o),c=t(e({shared:i}),a,l);return i.ServiceRegistry.register(c),{shared:i,Wardley:c}}r(u,`createWardleyServices`);export{u as n,l as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(e&&(t=e(e=0)),t),s=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),c=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},l=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},u=(e,t,n)=>(l(e,t,`default`),n&&l(n,t,`default`)),d=(n,r,a)=>(a=n==null?{}:e(i(n)),l(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),f=e=>a.call(e,`module.exports`)?e[`module.exports`]:l(t({},`__esModule`,{value:!0}),e);export{f as a,u as i,o as n,d as o,c as r,s as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Ht as e,Sn as t,xn as n}from"./index-Ts5WhtRB.js";var r=n((n,r,o,s)=>{n.attr(`class`,o);let{width:c,height:l,x:u,y:d}=i(n,r);e(n,l,c,s);let f=a(u,d,c,l,r);n.attr(`viewBox`,f),t.debug(`viewBox configured: ${f} with padding: ${r}`)},`setupViewPortForSVG`),i=n((e,t)=>{let n=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:n.width+t*2,height:n.height+t*2,x:n.x,y:n.y}},`calculateDimensionsWithPadding`),a=n((e,t,n,r,i)=>`${e-i} ${t-i} ${n} ${r}`,`createViewBox`);export{r as t};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{xn as e}from"./index-Ts5WhtRB.js";var t=e(()=>`
|
|
2
2
|
/* Font Awesome icon styling - consolidated */
|
|
3
3
|
.label-icon {
|
|
4
4
|
display: inline-block;
|
|
@@ -12,4 +12,4 @@ import{_ as e}from"./index-l_1AZZNa.js";var l=e(()=>`
|
|
|
12
12
|
stroke: revert;
|
|
13
13
|
stroke-width: revert;
|
|
14
14
|
}
|
|
15
|
-
|
|
15
|
+
`,`getIconStyles`);export{t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as e,c as t,g as n,h as r,i,m as a,s as o,t as s,v as c}from"./chunk-K5T4RW27-Dzh5Xx8O.js";var l=class extends s{static{a(this,`PacketTokenBuilder`)}constructor(){super([`packet`])}},u={parser:{TokenBuilder:a(()=>new l,`TokenBuilder`),ValueConverter:a(()=>new i,`ValueConverter`)}};function d(i=r){let a=n(c(i),o),s=n(e({shared:a}),t,u);return a.ServiceRegistry.register(s),{shared:a,Packet:s}}a(d,`createPacketServices`);export{d as n,u as t};
|