difit 5.0.1 → 5.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/assets/{arc-47JvE2o4.js → arc-6rfKPaO5.js} +1 -1
- package/dist/client/assets/architecture-7EHR7CIX-BVjNdUJk.js +1 -0
- package/dist/client/assets/{architectureDiagram-Q4EWVU46-PEhI9x48.js → architectureDiagram-3BPJPVTR-DAPpx935.js} +3 -3
- package/dist/client/assets/blockDiagram-GPEHLZMM-CDPNTGF3.js +132 -0
- package/dist/client/assets/{c4Diagram-AHTNJAMY-BJ9pq9B3.js → c4Diagram-AAUBKEIU-CQ1lD37n.js} +2 -2
- package/dist/client/assets/channel-CI_kbhRo.js +1 -0
- package/dist/client/assets/{chunk-EDXVE4YY-DSprT5LQ.js → chunk-2J33WTMH-wS77xj1o.js} +1 -1
- package/dist/client/assets/chunk-3OPIFGDE-DC3iOSQY.js +62 -0
- package/dist/client/assets/{chunk-4BX2VUAB-PjGa5t5G.js → chunk-4BX2VUAB-C_jnlJZs.js} +1 -1
- package/dist/client/assets/chunk-4EGX6M5U-B5J4lyUG.js +1 -0
- package/dist/client/assets/{chunk-55IACEB6-BUBhWZ5_.js → chunk-55IACEB6-BJ8kKTix.js} +1 -1
- package/dist/client/assets/chunk-5DO6E6H7-UL04E-Sm.js +1 -0
- package/dist/client/assets/chunk-5ZQYHXKU-Bh6BPUBA.js +2 -0
- package/dist/client/assets/chunk-727SXJPM-BKLMyeWY.js +206 -0
- package/dist/client/assets/chunk-AQP2D5EJ-Df_usvOe.js +231 -0
- package/dist/client/assets/{chunk-LIHQZDEY-BoUwuY9Y.js → chunk-BR22UD5L-iAygIt6T.js} +1 -1
- package/dist/client/assets/{chunk-BSJP7CBP-DvFe6BQg.js → chunk-BSJP7CBP-DE9tFfBp.js} +1 -1
- package/dist/client/assets/chunk-CSCIHK7Q-4xM5RfGk.js +124 -0
- package/dist/client/assets/chunk-FHYWG6QK-BgSLVmZJ.js +1 -0
- package/dist/client/assets/{chunk-FMBD7UC4-CRzu5RUs.js → chunk-FMBD7UC4-Cv9IlI4O.js} +1 -1
- package/dist/client/assets/chunk-KSCS5N6A-DWLHH_AM.js +10 -0
- package/dist/client/assets/{chunk-ZZ45TVLE-CX35ksjr.js → chunk-L5ZTLDWV-DOT8BvSV.js} +1 -1
- package/dist/client/assets/chunk-LZXEDZCA-D6qoNMjr.js +2 -0
- package/dist/client/assets/chunk-MPE355IW-cyI0EFc3.js +1 -0
- package/dist/client/assets/chunk-MZUSXYTE-5xqZ7HV0.js +1 -0
- package/dist/client/assets/chunk-N66VUXT2-CoBMKqlP.js +1 -0
- package/dist/client/assets/{chunk-YZCP3GAM-w3hvGtGQ.js → chunk-ND2GUHAM-CL1pz8JY.js} +1 -1
- package/dist/client/assets/chunk-NNHCCRGN-CyaCWJWT.js +159 -0
- package/dist/client/assets/{chunk-X2U36JSP-ZX9AmJVa.js → chunk-NZK2D7GU-C5yW1m8s.js} +1 -1
- package/dist/client/assets/{chunk-U2HBQHQK-CuugOH8t.js → chunk-O5CBEL6O-DxoQOZDE.js} +4 -4
- package/dist/client/assets/chunk-PUPMXCY4-DkoNKY6Q.js +1 -0
- package/dist/client/assets/chunk-QZHKN3VN-Bo6EoZG3.js +1 -0
- package/dist/client/assets/chunk-UIBZB4QT-3h9dqf89.js +1 -0
- package/dist/client/assets/chunk-WCWK7LTN-CoJXc1FG.js +1 -0
- package/dist/client/assets/chunk-WU5MYG2G-wj9gaxvS.js +1 -0
- package/dist/client/assets/{chunk-XPW4576I-DwqcIpF8.js → chunk-XPW4576I-CaGs7AFA.js} +1 -1
- package/dist/client/assets/classDiagram-4FO5ZUOK--B_Qh3IG.js +1 -0
- package/dist/client/assets/classDiagram-v2-Q7XG4LA2-ChlqxE3w.js +1 -0
- package/dist/client/assets/{cose-bilkent-S5V4N54A-DXfb_bs_.js → cose-bilkent-S5V4N54A-0teiw0GI.js} +1 -1
- package/dist/client/assets/cytoscape.esm-CJYKJE1R.js +321 -0
- package/dist/client/assets/dagre-BLlLfumR.js +1 -0
- package/dist/client/assets/dagre-BM42HDAG-D_-3GRUj.js +4 -0
- package/dist/client/assets/diagram-2AECGRRQ-_W3aY5Zc.js +43 -0
- package/dist/client/assets/{diagram-5BDNPKRD-DHnS0s39.js → diagram-5GNKFQAL-CMT8oSlm.js} +2 -2
- package/dist/client/assets/diagram-KO2AKTUF-B9w0z9LU.js +3 -0
- package/dist/client/assets/{diagram-TYMM5635-DwieVXZu.js → diagram-LMA3HP47-BuYAHh0a.js} +1 -1
- package/dist/client/assets/diagram-OG6HWLK6-C2f4LrLS.js +24 -0
- package/dist/client/assets/{dist-COv0rtkK.js → dist-DpSceyb-.js} +1 -1
- package/dist/client/assets/{erDiagram-SMLLAGMA--nNfIX9m.js → erDiagram-TEJ5UH35-BDcc9ZeJ.js} +2 -2
- package/dist/client/assets/eventmodeling-FCH6USID-BMkJE7Xb.js +1 -0
- package/dist/client/assets/{flowDiagram-DWJPFMVM-BFk7GDSn.js → flowDiagram-I6XJVG4X-C46q_MLU.js} +6 -6
- package/dist/client/assets/ganttDiagram-6RSMTGT7-DgM194yE.js +292 -0
- package/dist/client/assets/gitGraph-WXDBUCRP-hUiiT7ot.js +1 -0
- package/dist/client/assets/gitGraphDiagram-PVQCEYII-CpIhNWuv.js +106 -0
- package/dist/client/assets/graphlib-DkOQ9ah2.js +1 -0
- package/dist/client/assets/index-CFVmjhs_.css +2 -0
- package/dist/client/assets/index-abQ5IgAS.js +82 -0
- package/dist/client/assets/info-J43DQDTF-Dn8zxm9V.js +1 -0
- package/dist/client/assets/{infoDiagram-42DDH7IO-CbZg29-f.js → infoDiagram-5YYISTIA-ZvGYZ-kQ.js} +1 -1
- package/dist/client/assets/{ishikawaDiagram-UXIWVN3A-DbmLYe6W.js → ishikawaDiagram-YF4QCWOH-B9iBTUWg.js} +2 -2
- package/dist/client/assets/{journeyDiagram-VCZTEJTY-m6lofB3D.js → journeyDiagram-JHISSGLW-BjR1KB-M.js} +3 -3
- package/dist/client/assets/{kanban-definition-6JOO6SKY-zNyvW0z9.js → kanban-definition-UN3LZRKU-C-omJVr_.js} +6 -6
- package/dist/client/assets/katex-Du_qQZ_j.js +257 -0
- package/dist/client/assets/line-BrFp4RcF.js +1 -0
- package/dist/client/assets/{linear-BAKLx75z.js → linear-Ce90hYCv.js} +1 -1
- package/dist/client/assets/mermaid-parser.core-DyzS6net.js +4 -0
- package/dist/client/assets/mermaid.core-dZvhJRm4.js +9 -0
- package/dist/client/assets/{mindmap-definition-QFDTVHPH-4Qsf3Hkp.js → mindmap-definition-RKZ34NQL-B1-aSgk-.js} +28 -28
- package/dist/client/assets/{ordinal-DIg8h6NI.js → ordinal-7rXhq2H9.js} +1 -1
- package/dist/client/assets/packet-YPE3B663-D4pLqEWp.js +1 -0
- package/dist/client/assets/pie-LRSECV5Y-Cl1Syrbg.js +1 -0
- package/dist/client/assets/pieDiagram-4H26LBE5-Dsq8XbGX.js +30 -0
- package/dist/client/assets/quadrantDiagram-W4KKPZXB-Cown2EYl.js +7 -0
- package/dist/client/assets/radar-GUYGQ44K-DJuoaUBO.js +1 -0
- package/dist/client/assets/{requirementDiagram-MS252O5E-CFMEftHL.js → requirementDiagram-4Y6WPE33-IHqUu4n-.js} +4 -4
- package/dist/client/assets/{sankeyDiagram-XADWPNL6-Bz_Rsg7k.js → sankeyDiagram-5OEKKPKP-BvIfULX_.js} +36 -6
- package/dist/client/assets/sequenceDiagram-3UESZ5HK-DNZh6NI8.js +162 -0
- package/dist/client/assets/src-iMPju4xR.js +1 -0
- package/dist/client/assets/stateDiagram-AJRCARHV-CGHI9QKF.js +1 -0
- package/dist/client/assets/stateDiagram-v2-BHNVJYJU-Cags9ZgQ.js +1 -0
- package/dist/client/assets/{timeline-definition-GMOUNBTQ-BtgnceD7.js → timeline-definition-PNZ67QCA-C3MNpio4.js} +5 -5
- package/dist/client/assets/treeView-BLDUP644-DsanmcrA.js +1 -0
- package/dist/client/assets/treemap-LRROVOQU-CCkKzd8F.js +1 -0
- package/dist/client/assets/vennDiagram-CIIHVFJN-2XAu0kKE.js +34 -0
- package/dist/client/assets/wardley-L42UT6IY-BuMHDenj.js +1 -0
- package/dist/client/assets/{wardleyDiagram-NUSXRM2D-D88r6BkP.js → wardleyDiagram-YWT4CUSO-e5Pq-VXT.js} +61 -3
- package/dist/client/assets/{xychartDiagram-5P7HB3ND-DkXj8P_J.js → xychartDiagram-2RQKCTM6-DlYK0YFq.js} +3 -3
- package/dist/client/index.html +2 -2
- package/dist/server/file-watcher.test.js +40 -36
- package/dist/server/git-diff.test.js +6 -4
- package/dist/server/server.js +25 -4
- package/dist/server/server.test.js +120 -2
- package/dist/types/diff.d.ts +1 -0
- package/dist/utils/commentImports.js +4 -1
- package/package.json +3 -3
- package/dist/client/assets/_baseFor-Dq1lbcoh.js +0 -1
- package/dist/client/assets/architecture-YZFGNWBL-CAofxL11.js +0 -1
- package/dist/client/assets/blockDiagram-DXYQGD6D-SUrPMV8E.js +0 -132
- package/dist/client/assets/channel-DXpjokeU.js +0 -1
- package/dist/client/assets/chunk-2KRD3SAO-2O6hV_yw.js +0 -1
- package/dist/client/assets/chunk-336JU56O-C0NxME-U.js +0 -2
- package/dist/client/assets/chunk-426QAEUC-DO73G5YJ.js +0 -1
- package/dist/client/assets/chunk-4TB4RGXK-DKCtDLTf.js +0 -206
- package/dist/client/assets/chunk-5FUZZQ4R-D52DoV-0.js +0 -62
- package/dist/client/assets/chunk-5PVQY5BW-Cpp0JjTq.js +0 -2
- package/dist/client/assets/chunk-67CJDMHE-DFAAAXYj.js +0 -1
- package/dist/client/assets/chunk-7N4EOEYR-DeLrWd_x.js +0 -1
- package/dist/client/assets/chunk-AA7GKIK3-Pb9IU0o9.js +0 -1
- package/dist/client/assets/chunk-CIAEETIT-AytpwHlv.js +0 -1
- package/dist/client/assets/chunk-ENJZ2VHE-DsQnPoSa.js +0 -10
- package/dist/client/assets/chunk-FOC6F5B3-GWMv90go.js +0 -1
- package/dist/client/assets/chunk-ICPOFSXX-LaB5P0SR.js +0 -122
- package/dist/client/assets/chunk-K5T4RW27-S036x5p5.js +0 -94
- package/dist/client/assets/chunk-KGLVRYIC-DDzbiNrj.js +0 -1
- package/dist/client/assets/chunk-ORNJ4GCN-CopGHq93.js +0 -1
- package/dist/client/assets/chunk-OYMX7WX6-Do8-v0_P.js +0 -231
- package/dist/client/assets/chunk-QZHKN3VN-BdzTLtlM.js +0 -1
- package/dist/client/assets/classDiagram-6PBFFD2Q-C9JPZQtl.js +0 -1
- package/dist/client/assets/classDiagram-v2-HSJHXN6E-BgDR8rt-.js +0 -1
- package/dist/client/assets/clone-BygUtDF6.js +0 -1
- package/dist/client/assets/cytoscape.esm-DdcHPZAZ.js +0 -321
- package/dist/client/assets/dagre-BYBAH6EF.js +0 -1
- package/dist/client/assets/dagre-KV5264BT-Bj9WMi27.js +0 -4
- package/dist/client/assets/diagram-G4DWMVQ6-DdKcPnFw.js +0 -24
- package/dist/client/assets/diagram-MMDJMWI5-DfdNeC0p.js +0 -43
- package/dist/client/assets/flatten-SRIRKgqP.js +0 -1
- package/dist/client/assets/ganttDiagram-T4ZO3ILL-DlVKHIi_.js +0 -292
- package/dist/client/assets/gitGraph-7Q5UKJZL-4fOTOOzG.js +0 -1
- package/dist/client/assets/gitGraphDiagram-UUTBAWPF-ww35jb2y.js +0 -106
- package/dist/client/assets/graphlib-cvGsNSEN.js +0 -1
- package/dist/client/assets/index-CrvsDrrA.js +0 -79
- package/dist/client/assets/index-v-PY_jQI.css +0 -2
- package/dist/client/assets/info-OMHHGYJF-BcwRhjJb.js +0 -1
- package/dist/client/assets/isEmpty-CStpjy4G.js +0 -1
- package/dist/client/assets/katex-CeIlAR55.js +0 -257
- package/dist/client/assets/line-DYCPrtIt.js +0 -1
- package/dist/client/assets/mermaid-parser.core-BGGMv1j6.js +0 -4
- package/dist/client/assets/mermaid.core-CMGQEZKx.js +0 -11
- package/dist/client/assets/packet-4T2RLAQJ-LdDEUu30.js +0 -1
- package/dist/client/assets/pie-ZZUOXDRM-B-ezG4xa.js +0 -1
- package/dist/client/assets/pieDiagram-DEJITSTG-Cnlop37j.js +0 -30
- package/dist/client/assets/quadrantDiagram-34T5L4WZ-CLFb7OC8.js +0 -7
- package/dist/client/assets/radar-PYXPWWZC-D66LzHfH.js +0 -1
- package/dist/client/assets/reduce-CG4cgj93.js +0 -1
- package/dist/client/assets/sequenceDiagram-FGHM5R23-C_UnEheO.js +0 -157
- package/dist/client/assets/src-D4dXpp2L.js +0 -1
- package/dist/client/assets/stateDiagram-FHFEXIEX-D5jyXLVB.js +0 -1
- package/dist/client/assets/stateDiagram-v2-QKLJ7IA2-CTyQGCYc.js +0 -1
- package/dist/client/assets/treeView-SZITEDCU-BsI_6Qwy.js +0 -1
- package/dist/client/assets/treemap-W4RFUUIX-CzaM5y4Y.js +0 -1
- package/dist/client/assets/vennDiagram-DHZGUBPP-DWtzk4wH.js +0 -34
- package/dist/client/assets/wardley-RL74JXVD-C1IHEcDw.js +0 -1
- /package/dist/client/assets/{array-DOVTz2Mq.js → array-yLZkcI6Y.js} +0 -0
- /package/dist/client/assets/{defaultLocale-Ck2Xxk-C.js → defaultLocale-Bld4b7vH.js} +0 -0
- /package/dist/client/assets/{init-Bft5Ffpj.js → init-rddNFwID.js} +0 -0
- /package/dist/client/assets/{path-DfRbCp9y.js → path-BJQEcSo7.js} +0 -0
- /package/dist/client/assets/{prism-bash-CPkZUJMA.js → prism-bash-ElxVK2UI.js} +0 -0
- /package/dist/client/assets/{prism-clojure-BpoF2XhX.js → prism-clojure-Coed_dlT.js} +0 -0
- /package/dist/client/assets/{prism-csharp-BEk8D1-3.js → prism-csharp-BvoTEt-U.js} +0 -0
- /package/dist/client/assets/{prism-dart-ByLYrdQB.js → prism-dart-59mV4Nzl.js} +0 -0
- /package/dist/client/assets/{prism-elixir-BZtyIEab.js → prism-elixir-VMbXB0ch.js} +0 -0
- /package/dist/client/assets/{prism-haskell-NAsbeo3V.js → prism-haskell-DbMQ4t9D.js} +0 -0
- /package/dist/client/assets/{prism-hcl-crnGqmVp.js → prism-hcl-DaTFd4M9.js} +0 -0
- /package/dist/client/assets/{prism-java-BovStacA.js → prism-java-Bvhe07ID.js} +0 -0
- /package/dist/client/assets/{prism-markup-templating-Cl8NiLjy.js → prism-markup-templating-DOf10VS2.js} +0 -0
- /package/dist/client/assets/{prism-nix-BS_cm_1n.js → prism-nix-CNZSWapd.js} +0 -0
- /package/dist/client/assets/{prism-perl-DGLVMq5H.js → prism-perl-ZBgEPf6s.js} +0 -0
- /package/dist/client/assets/{prism-php-BskSwJN8.js → prism-php-CBX1LG5n.js} +0 -0
- /package/dist/client/assets/{prism-protobuf-DfbIYpO7.js → prism-protobuf-KYCaTc8s.js} +0 -0
- /package/dist/client/assets/{prism-ruby-FBVh1PRE.js → prism-ruby-Dtn_AROP.js} +0 -0
- /package/dist/client/assets/{prism-scala--9AfMHPY.js → prism-scala-B4gvAG5X.js} +0 -0
- /package/dist/client/assets/{prism-solidity-BgJNkj1z.js → prism-solidity-BS9JVLL6.js} +0 -0
- /package/dist/client/assets/{prism-sql-C9Czmpov.js → prism-sql-DL_NEVBy.js} +0 -0
- /package/dist/client/assets/{prism-vim-CzUNf0WQ.js → prism-vim-DqdsfG3_.js} +0 -0
- /package/dist/client/assets/{rough.esm-Bbn_-PMU.js → rough.esm-KjoEK0it.js} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as e,g as t,h as n,i as r,m as i,o as a,s as o,t as s,v as c}from"./chunk-K5T4RW27-S036x5p5.js";var l=class extends s{static{i(this,`InfoTokenBuilder`)}constructor(){super([`info`,`showInfo`])}},u={parser:{TokenBuilder:i(()=>new l,`TokenBuilder`),ValueConverter:i(()=>new r,`ValueConverter`)}};function d(r=n){let i=t(c(r),o),s=t(e({shared:i}),a,u);return i.ServiceRegistry.register(s),{shared:i,Info:s}}i(d,`createInfoServices`);export{d as n,u as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as e,d as t,g as n,h as r,m as i,n as a,s as o,t as s,v as c}from"./chunk-K5T4RW27-S036x5p5.js";var l=class extends a{static{i(this,`TreeViewValueConverter`)}runCustomConverter(e,t,n){if(e.name===`INDENTATION`)return t?.length||0;if(e.name===`STRING2`)return t.substring(1,t.length-1)}},u=class extends s{static{i(this,`TreeViewTokenBuilder`)}constructor(){super([`treeView-beta`])}},d={parser:{TokenBuilder:i(()=>new u,`TokenBuilder`),ValueConverter:i(()=>new l,`ValueConverter`)}};function f(i=r){let a=n(c(i),o),s=n(e({shared:a}),t,d);return a.ServiceRegistry.register(s),{shared:a,TreeView:s}}i(f,`createTreeViewServices`);export{f as n,d as t};
|
|
@@ -1,231 +0,0 @@
|
|
|
1
|
-
import{g as e,h as t}from"./src-D4dXpp2L.js";import{B as n,C as r,V as i,W as a,_ as o,a as s,b as c,s as l,v as u}from"./chunk-ICPOFSXX-LaB5P0SR.js";import{h as d,o as f}from"./chunk-5PVQY5BW-Cpp0JjTq.js";import{t as p}from"./chunk-55IACEB6-BUBhWZ5_.js";import{t as m}from"./chunk-EDXVE4YY-DSprT5LQ.js";import{r as h}from"./chunk-336JU56O-C0NxME-U.js";var g=(function(){var e=t(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,2],r=[1,3],i=[1,4],a=[2,4],o=[1,9],s=[1,11],c=[1,16],l=[1,17],u=[1,18],d=[1,19],f=[1,33],p=[1,20],m=[1,21],h=[1,22],g=[1,23],_=[1,24],v=[1,26],y=[1,27],b=[1,28],x=[1,29],S=[1,30],C=[1,31],w=[1,32],T=[1,35],E=[1,36],D=[1,37],O=[1,38],k=[1,34],A=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],j=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],M=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],N={trace:t(function(){},`trace`),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:`error`,4:`SPACE`,5:`NL`,6:`SD`,14:`DESCR`,15:`-->`,16:`HIDE_EMPTY`,17:`scale`,18:`WIDTH`,19:`COMPOSIT_STATE`,20:`STRUCT_START`,21:`STRUCT_STOP`,22:`STATE_DESCR`,23:`AS`,24:`ID`,25:`FORK`,26:`JOIN`,27:`CHOICE`,28:`CONCURRENT`,29:`note`,31:`NOTE_TEXT`,33:`acc_title`,34:`acc_title_value`,35:`acc_descr`,36:`acc_descr_value`,37:`acc_descr_multiline_value`,38:`CLICK`,39:`STRING`,40:`HREF`,41:`classDef`,42:`CLASSDEF_ID`,43:`CLASSDEF_STYLEOPTS`,44:`DEFAULT`,45:`style`,46:`STYLE_IDS`,47:`STYLEDEF_STYLEOPTS`,48:`class`,49:`CLASSENTITY_IDS`,50:`STYLECLASS`,51:`direction_tb`,52:`direction_bt`,53:`direction_rl`,54:`direction_lr`,56:`;`,57:`EDGE_STATE`,58:`STYLE_SEPARATOR`,59:`left_of`,60:`right_of`},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:t(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 3:return r.setRootDoc(a[s]),a[s];case 4:this.$=[];break;case 5:a[s]!=`nl`&&(a[s-1].push(a[s]),this.$=a[s-1]);break;case 6:case 7:this.$=a[s];break;case 8:this.$=`nl`;break;case 12:this.$=a[s];break;case 13:let e=a[s-1];e.description=r.trimColon(a[s]),this.$=e;break;case 14:this.$={stmt:`relation`,state1:a[s-2],state2:a[s]};break;case 15:let t=r.trimColon(a[s]);this.$={stmt:`relation`,state1:a[s-3],state2:a[s-1],description:t};break;case 19:this.$={stmt:`state`,id:a[s-3],type:`default`,description:``,doc:a[s-1]};break;case 20:var c=a[s],l=a[s-2].trim();if(a[s].match(`:`)){var u=a[s].split(`:`);c=u[0],l=[l,u[1]]}this.$={stmt:`state`,id:c,type:`default`,description:l};break;case 21:this.$={stmt:`state`,id:a[s-3],type:`default`,description:a[s-5],doc:a[s-1]};break;case 22:this.$={stmt:`state`,id:a[s],type:`fork`};break;case 23:this.$={stmt:`state`,id:a[s],type:`join`};break;case 24:this.$={stmt:`state`,id:a[s],type:`choice`};break;case 25:this.$={stmt:`state`,id:r.getDividerId(),type:`divider`};break;case 26:this.$={stmt:`state`,id:a[s-1].trim(),note:{position:a[s-2].trim(),text:a[s].trim()}};break;case 29:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 30:case 31:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 32:this.$={stmt:`click`,id:a[s-3],url:a[s-2],tooltip:a[s-1]};break;case 33:this.$={stmt:`click`,id:a[s-3],url:a[s-1],tooltip:``};break;case 34:case 35:this.$={stmt:`classDef`,id:a[s-1].trim(),classes:a[s].trim()};break;case 36:this.$={stmt:`style`,id:a[s-1].trim(),styleClass:a[s].trim()};break;case 37:this.$={stmt:`applyClass`,id:a[s-1].trim(),styleClass:a[s].trim()};break;case 38:r.setDirection(`TB`),this.$={stmt:`dir`,value:`TB`};break;case 39:r.setDirection(`BT`),this.$={stmt:`dir`,value:`BT`};break;case 40:r.setDirection(`RL`),this.$={stmt:`dir`,value:`RL`};break;case 41:r.setDirection(`LR`),this.$={stmt:`dir`,value:`LR`};break;case 44:case 45:this.$={stmt:`state`,id:a[s].trim(),type:`default`,description:``};break;case 46:this.$={stmt:`state`,id:a[s-2].trim(),classes:[a[s].trim()],type:`default`,description:``};break;case 47:this.$={stmt:`state`,id:a[s-2].trim(),classes:[a[s].trim()],type:`default`,description:``};break}},`anonymous`),table:[{3:1,4:n,5:r,6:i},{1:[3]},{3:5,4:n,5:r,6:i},{3:6,4:n,5:r,6:i},e([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],a,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:o,5:s,8:8,9:10,10:12,11:13,12:14,13:15,16:c,17:l,19:u,22:d,24:f,25:p,26:m,27:h,28:g,29:_,32:25,33:v,35:y,37:b,38:x,41:S,45:C,48:w,51:T,52:E,53:D,54:O,57:k},e(A,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:c,17:l,19:u,22:d,24:f,25:p,26:m,27:h,28:g,29:_,32:25,33:v,35:y,37:b,38:x,41:S,45:C,48:w,51:T,52:E,53:D,54:O,57:k},e(A,[2,7]),e(A,[2,8]),e(A,[2,9]),e(A,[2,10]),e(A,[2,11]),e(A,[2,12],{14:[1,40],15:[1,41]}),e(A,[2,16]),{18:[1,42]},e(A,[2,18],{20:[1,43]}),{23:[1,44]},e(A,[2,22]),e(A,[2,23]),e(A,[2,24]),e(A,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},e(A,[2,28]),{34:[1,49]},{36:[1,50]},e(A,[2,31]),{13:51,24:f,57:k},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},e(j,[2,44],{58:[1,56]}),e(j,[2,45],{58:[1,57]}),e(A,[2,38]),e(A,[2,39]),e(A,[2,40]),e(A,[2,41]),e(A,[2,6]),e(A,[2,13]),{13:58,24:f,57:k},e(A,[2,17]),e(M,a,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},e(A,[2,29]),e(A,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},e(A,[2,14],{14:[1,71]}),{4:o,5:s,8:8,9:10,10:12,11:13,12:14,13:15,16:c,17:l,19:u,21:[1,72],22:d,24:f,25:p,26:m,27:h,28:g,29:_,32:25,33:v,35:y,37:b,38:x,41:S,45:C,48:w,51:T,52:E,53:D,54:O,57:k},e(A,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},e(A,[2,34]),e(A,[2,35]),e(A,[2,36]),e(A,[2,37]),e(j,[2,46]),e(j,[2,47]),e(A,[2,15]),e(A,[2,19]),e(M,a,{7:78}),e(A,[2,26]),e(A,[2,27]),{5:[1,79]},{5:[1,80]},{4:o,5:s,8:8,9:10,10:12,11:13,12:14,13:15,16:c,17:l,19:u,21:[1,81],22:d,24:f,25:p,26:m,27:h,28:g,29:_,32:25,33:v,35:y,37:b,38:x,41:S,45:C,48:w,51:T,52:E,53:D,54:O,57:k},e(A,[2,32]),e(A,[2,33]),e(A,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:t(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:t(function(e){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}t(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}t(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
|
|
2
|
-
`+h.showPosition()+`
|
|
3
|
-
Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};N.lexer=(function(){return{EOF:1,parseError:t(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:t(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:t(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:t(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:t(function(){return this._more=!0,this},`more`),reject:t(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
|
-
`+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:t(function(e){this.unput(this.match.slice(e))},`less`),pastInput:t(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:t(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:t(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
|
|
5
|
-
`+t+`^`},`showPosition`),test_match:t(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:t(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:t(function(){return this.next()||this.lex()},`lex`),begin:t(function(e){this.conditionStack.push(e)},`begin`),popState:t(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:t(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:t(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:t(function(e){this.begin(e)},`pushState`),stateStackSize:t(function(){return this.conditionStack.length},`stateStackSize`),options:{"case-insensitive":!0},performAction:t(function(e,t,n,r){switch(n){case 0:return 38;case 1:return 40;case 2:return 39;case 3:return 44;case 4:return 51;case 5:return 52;case 6:return 53;case 7:return 54;case 8:break;case 9:break;case 10:return 5;case 11:break;case 12:break;case 13:break;case 14:break;case 15:return this.pushState(`SCALE`),17;case 16:return 18;case 17:this.popState();break;case 18:return this.begin(`acc_title`),33;case 19:return this.popState(),`acc_title_value`;case 20:return this.begin(`acc_descr`),35;case 21:return this.popState(),`acc_descr_value`;case 22:this.begin(`acc_descr_multiline`);break;case 23:this.popState();break;case 24:return`acc_descr_multiline_value`;case 25:return this.pushState(`CLASSDEF`),41;case 26:return this.popState(),this.pushState(`CLASSDEFID`),`DEFAULT_CLASSDEF_ID`;case 27:return this.popState(),this.pushState(`CLASSDEFID`),42;case 28:return this.popState(),43;case 29:return this.pushState(`CLASS`),48;case 30:return this.popState(),this.pushState(`CLASS_STYLE`),49;case 31:return this.popState(),50;case 32:return this.pushState(`STYLE`),45;case 33:return this.popState(),this.pushState(`STYLEDEF_STYLES`),46;case 34:return this.popState(),47;case 35:return this.pushState(`SCALE`),17;case 36:return 18;case 37:this.popState();break;case 38:this.pushState(`STATE`);break;case 39:return this.popState(),t.yytext=t.yytext.slice(0,-8).trim(),25;case 40:return this.popState(),t.yytext=t.yytext.slice(0,-8).trim(),26;case 41:return this.popState(),t.yytext=t.yytext.slice(0,-10).trim(),27;case 42:return this.popState(),t.yytext=t.yytext.slice(0,-8).trim(),25;case 43:return this.popState(),t.yytext=t.yytext.slice(0,-8).trim(),26;case 44:return this.popState(),t.yytext=t.yytext.slice(0,-10).trim(),27;case 45:return 51;case 46:return 52;case 47:return 53;case 48:return 54;case 49:this.pushState(`STATE_STRING`);break;case 50:return this.pushState(`STATE_ID`),`AS`;case 51:return this.popState(),`ID`;case 52:this.popState();break;case 53:return`STATE_DESCR`;case 54:return 19;case 55:this.popState();break;case 56:return this.popState(),this.pushState(`struct`),20;case 57:break;case 58:return this.popState(),21;case 59:break;case 60:return this.begin(`NOTE`),29;case 61:return this.popState(),this.pushState(`NOTE_ID`),59;case 62:return this.popState(),this.pushState(`NOTE_ID`),60;case 63:this.popState(),this.pushState(`FLOATING_NOTE`);break;case 64:return this.popState(),this.pushState(`FLOATING_NOTE_ID`),`AS`;case 65:break;case 66:return`NOTE_TEXT`;case 67:return this.popState(),`ID`;case 68:return this.popState(),this.pushState(`NOTE_TEXT`),24;case 69:return this.popState(),t.yytext=t.yytext.substr(2).trim(),31;case 70:return this.popState(),t.yytext=t.yytext.slice(0,-8).trim(),31;case 71:return 6;case 72:return 6;case 73:return 16;case 74:return 57;case 75:return 24;case 76:return t.yytext=t.yytext.trim(),14;case 77:return 15;case 78:return 28;case 79:return 58;case 80:return 5;case 81:return`INVALID`}},`anonymous`),rules:[/^(?:click\b)/i,/^(?:href\b)/i,/^(?:"[^"]*")/i,/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:style\s+)/i,/^(?:[\w,]+\s+)/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:(?:[^:\n;]|:[^:\n;])+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[12,13],inclusive:!1},struct:{rules:[12,13,25,29,32,38,45,46,47,48,57,58,59,60,74,75,76,77,78,79],inclusive:!1},FLOATING_NOTE_ID:{rules:[67],inclusive:!1},FLOATING_NOTE:{rules:[64,65,66],inclusive:!1},NOTE_TEXT:{rules:[69,70],inclusive:!1},NOTE_ID:{rules:[68],inclusive:!1},NOTE:{rules:[61,62,63],inclusive:!1},STYLEDEF_STYLEOPTS:{rules:[],inclusive:!1},STYLEDEF_STYLES:{rules:[34],inclusive:!1},STYLE_IDS:{rules:[],inclusive:!1},STYLE:{rules:[33],inclusive:!1},CLASS_STYLE:{rules:[31],inclusive:!1},CLASS:{rules:[30],inclusive:!1},CLASSDEFID:{rules:[28],inclusive:!1},CLASSDEF:{rules:[26,27],inclusive:!1},acc_descr_multiline:{rules:[23,24],inclusive:!1},acc_descr:{rules:[21],inclusive:!1},acc_title:{rules:[19],inclusive:!1},SCALE:{rules:[16,17,36,37],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[51],inclusive:!1},STATE_STRING:{rules:[52,53],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[12,13,39,40,41,42,43,44,49,50,54,55,56],inclusive:!1},ID:{rules:[12,13],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,13,14,15,18,20,22,25,29,32,35,38,56,60,71,72,73,74,75,76,77,79,80,81],inclusive:!0}}}})();function P(){this.yy={}}return t(P,`Parser`),P.prototype=N,N.Parser=P,new P})();g.parser=g;var _=g,v=`TB`,y=`TB`,b=`dir`,x=`state`,S=`root`,C=`relation`,w=`classDef`,T=`style`,E=`applyClass`,D=`default`,O=`divider`,k=`fill:none`,A=`fill: #333`,j=`c`,M=`markdown`,N=`normal`,P=`rect`,F=`rectWithTitle`,ee=`stateStart`,te=`stateEnd`,I=`divider`,L=`roundedWithTitle`,ne=`note`,re=`noteGroup`,R=`statediagram`,ie=`${R}-state`,ae=`transition`,oe=`note`,se=`${ae} note-edge`,ce=`${R}-${oe}`,le=`${R}-cluster`,ue=`${R}-cluster-alt`,z=`parent`,B=`note`,de=`state`,V=`----`,fe=`${V}${B}`,H=`${V}${z}`,U=t((e,t=y)=>{if(!e.doc)return t;let n=t;for(let t of e.doc)t.stmt===`dir`&&(n=t.value);return n},`getDir`),pe={getClasses:t(function(e,t){return t.db.getClasses()},`getClasses`),draw:t(async function(t,n,r,i){e.info(`REF0:`),e.info(`Drawing state diagram (v2)`,n);let{securityLevel:a,state:o,layout:s}=c();i.db.extract(i.db.getRootDocV2());let l=i.db.getData(),u=p(n,a);l.type=i.type,l.layoutAlgorithm=s,l.nodeSpacing=o?.nodeSpacing||50,l.rankSpacing=o?.rankSpacing||50,c().look===`neo`?l.markers=[`barbNeo`]:l.markers=[`barb`],l.diagramId=n,await h(l,u);try{(typeof i.db.getLinks==`function`?i.db.getLinks():new Map).forEach((t,n)=>{let r=typeof n==`string`?n:typeof n?.id==`string`?n.id:``;if(!r){e.warn(`⚠️ Invalid or missing stateId from key:`,JSON.stringify(n));return}let i=u.node()?.querySelectorAll(`g`),a;if(i?.forEach(e=>{e.textContent?.trim()===r&&(a=e)}),!a){e.warn(`⚠️ Could not find node matching text:`,r);return}let o=a.parentNode;if(!o){e.warn(`⚠️ Node has no parent, cannot wrap:`,r);return}let s=document.createElementNS(`http://www.w3.org/2000/svg`,`a`),c=t.url.replace(/^"+|"+$/g,``);if(s.setAttributeNS(`http://www.w3.org/1999/xlink`,`xlink:href`,c),s.setAttribute(`target`,`_blank`),t.tooltip){let e=t.tooltip.replace(/^"+|"+$/g,``);s.setAttribute(`title`,e)}o.replaceChild(s,a),s.appendChild(a),e.info(`🔗 Wrapped node in <a> tag for:`,r,t.url)})}catch(t){e.error(`❌ Error injecting clickable links:`,t)}d.insertTitle(u,`statediagramTitleText`,o?.titleTopMargin??25,i.db.getDiagramTitle()),m(u,8,R,o?.useMaxWidth??!0)},`draw`),getDir:U},W=new Map,G=0;function K(e=``,t=0,n=``,r=V){return`${de}-${e}${n!==null&&n.length>0?`${r}${n}`:``}-${t}`}t(K,`stateDomId`);var me=t((t,n,r,i,a,o,s,u)=>{e.trace(`items`,n),n.forEach(e=>{switch(e.stmt){case x:X(t,e,r,i,a,o,s,u);break;case D:X(t,e,r,i,a,o,s,u);break;case C:{X(t,e.state1,r,i,a,o,s,u),X(t,e.state2,r,i,a,o,s,u);let n=s===`neo`,d={id:`edge`+G,start:e.state1.id,end:e.state2.id,arrowhead:`normal`,arrowTypeEnd:n?`arrow_barb_neo`:`arrow_barb`,style:k,labelStyle:``,label:l.sanitizeText(e.description??``,c()),arrowheadStyle:A,labelpos:j,labelType:M,thickness:N,classes:ae,look:s};a.push(d),G++}break}})},`setupDoc`),q=t((e,t=y)=>{let n=t;if(e.doc)for(let t of e.doc)t.stmt===`dir`&&(n=t.value);return n},`getDir`);function J(e,t,n){if(!t.id||t.id===`</join></fork>`||t.id===`</choice>`)return;t.cssClasses&&(Array.isArray(t.cssCompiledStyles)||(t.cssCompiledStyles=[]),t.cssClasses.split(` `).forEach(e=>{let r=n.get(e);r&&(t.cssCompiledStyles=[...t.cssCompiledStyles??[],...r.styles])}));let r=e.find(e=>e.id===t.id);r?Object.assign(r,t):e.push(t)}t(J,`insertOrUpdateNode`);function Y(e){return e?.classes?.join(` `)??``}t(Y,`getClassesFromDbInfo`);function he(e){return e?.styles??[]}t(he,`getStylesFromDbInfo`);var X=t((t,n,r,i,a,o,s,u)=>{let d=n.id,f=r.get(d),p=Y(f),m=he(f),h=c();if(e.info(`dataFetcher parsedItem`,n,f,m),d!==`root`){let r=P;n.start===!0?r=ee:n.start===!1&&(r=te),n.type!==D&&(r=n.type),W.get(d)||W.set(d,{id:d,shape:r,description:l.sanitizeText(d,h),cssClasses:`${p} ${ie}`,cssStyles:m});let c=W.get(d);n.description&&(Array.isArray(c.description)?(c.shape=F,c.description.push(n.description)):c.description?.length&&c.description.length>0?(c.shape=F,c.description===d?c.description=[n.description]:c.description=[c.description,n.description]):(c.shape=P,c.description=n.description),c.description=l.sanitizeTextOrArray(c.description,h)),c.description?.length===1&&c.shape===F&&(c.type===`group`?c.shape=L:c.shape=P),!c.type&&n.doc&&(e.info(`Setting cluster for XCX`,d,q(n)),c.type=`group`,c.isGroup=!0,c.dir=q(n),c.shape=n.type===O?I:L,c.cssClasses=`${c.cssClasses} ${le} ${o?ue:``}`);let f={labelStyle:``,shape:c.shape,label:c.description,cssClasses:c.cssClasses,cssCompiledStyles:[],cssStyles:c.cssStyles,id:d,dir:c.dir,domId:K(d,G),type:c.type,isGroup:c.type===`group`,padding:8,rx:10,ry:10,look:s,labelType:`markdown`};if(f.shape===I&&(f.label=``),t&&t.id!==`root`&&(e.trace(`Setting node `,d,` to be child of its parent `,t.id),f.parentId=t.id),f.centerLabel=!0,n.note){let e={labelStyle:``,shape:ne,label:n.note.text,labelType:`markdown`,cssClasses:ce,cssStyles:[],cssCompiledStyles:[],id:d+fe+`-`+G,domId:K(d,G,B),type:c.type,isGroup:c.type===`group`,padding:h.flowchart?.padding,look:s,position:n.note.position},t=d+H,r={labelStyle:``,shape:re,label:n.note.text,cssClasses:c.cssClasses,cssStyles:[],id:d+H,domId:K(d,G,z),type:`group`,isGroup:!0,padding:16,look:s,position:n.note.position};G++,r.id=t,e.parentId=t,J(i,r,u),J(i,e,u),J(i,f,u);let o=d,l=e.id;n.note.position===`left of`&&(o=e.id,l=d),a.push({id:o+`-`+l,start:o,end:l,arrowhead:`none`,arrowTypeEnd:``,style:k,labelStyle:``,classes:se,arrowheadStyle:A,labelpos:j,labelType:M,thickness:N,look:s})}else J(i,f,u)}n.doc&&(e.trace(`Adding nodes children `),me(n,n.doc,r,i,a,!o,s,u))},`dataFetcher`),ge=t(()=>{W.clear(),G=0},`reset`),Z={START_NODE:`[*]`,START_TYPE:`start`,END_NODE:`[*]`,END_TYPE:`end`,COLOR_KEYWORD:`color`,FILL_KEYWORD:`fill`,BG_FILL:`bgFill`,STYLECLASS_SEP:`,`},_e=t(()=>new Map,`newClassesList`),Q=t(()=>({relations:[],states:new Map,documents:{}}),`newDoc`),$=t(e=>JSON.parse(JSON.stringify(e)),`clone`),ve=class{constructor(e){this.version=e,this.nodes=[],this.edges=[],this.rootDoc=[],this.classes=_e(),this.documents={root:Q()},this.currentDocument=this.documents.root,this.startEndCount=0,this.dividerCnt=0,this.links=new Map,this.getAccTitle=u,this.setAccTitle=i,this.getAccDescription=o,this.setAccDescription=n,this.setDiagramTitle=a,this.getDiagramTitle=r,this.clear(),this.setRootDoc=this.setRootDoc.bind(this),this.getDividerId=this.getDividerId.bind(this),this.setDirection=this.setDirection.bind(this),this.trimColon=this.trimColon.bind(this)}static{t(this,`StateDB`)}static{this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3}}extract(e){this.clear(!0);for(let t of Array.isArray(e)?e:e.doc)switch(t.stmt){case x:this.addState(t.id.trim(),t.type,t.doc,t.description,t.note);break;case C:this.addRelation(t.state1,t.state2,t.description);break;case w:this.addStyleClass(t.id.trim(),t.classes);break;case T:this.handleStyleDef(t);break;case E:this.setCssClass(t.id.trim(),t.styleClass);break;case`click`:this.addLink(t.id,t.url,t.tooltip);break}let t=this.getStates(),n=c();ge(),X(void 0,this.getRootDocV2(),t,this.nodes,this.edges,!0,n.look,this.classes);for(let e of this.nodes)if(Array.isArray(e.label)){if(e.description=e.label.slice(1),e.isGroup&&e.description.length>0)throw Error(`Group nodes can only have label. Remove the additional description for node [${e.id}]`);e.label=e.label[0]}}handleStyleDef(e){let t=e.id.trim().split(`,`),n=e.styleClass.split(`,`);for(let e of t){let t=this.getState(e);if(!t){let n=e.trim();this.addState(n),t=this.getState(n)}t&&(t.styles=n.map(e=>e.replace(/;/g,``)?.trim()))}}setRootDoc(t){e.info(`Setting root doc`,t),this.rootDoc=t,this.version===1?this.extract(t):this.extract(this.getRootDocV2())}docTranslator(e,t,n){if(t.stmt===C){this.docTranslator(e,t.state1,!0),this.docTranslator(e,t.state2,!1);return}if(t.stmt===x&&(t.id===Z.START_NODE?(t.id=e.id+(n?`_start`:`_end`),t.start=n):t.id=t.id.trim()),t.stmt!==S&&t.stmt!==x||!t.doc)return;let r=[],i=[];for(let e of t.doc)if(e.type===O){let t=$(e);t.doc=$(i),r.push(t),i=[]}else i.push(e);if(r.length>0&&i.length>0){let e={stmt:x,id:f(),type:`divider`,doc:$(i)};r.push($(e)),t.doc=r}t.doc.forEach(e=>this.docTranslator(t,e,!0))}getRootDocV2(){return this.docTranslator({id:S,stmt:S},{id:S,stmt:S,doc:this.rootDoc},!0),{id:S,doc:this.rootDoc}}addState(t,n=D,r=void 0,i=void 0,a=void 0,o=void 0,s=void 0,u=void 0){let d=t?.trim();if(!this.currentDocument.states.has(d))e.info(`Adding state `,d,i),this.currentDocument.states.set(d,{stmt:x,id:d,descriptions:[],type:n,doc:r,note:a,classes:[],styles:[],textStyles:[]});else{let e=this.currentDocument.states.get(d);if(!e)throw Error(`State not found: ${d}`);e.doc||=r,e.type||=n}if(i&&(e.info(`Setting state description`,d,i),(Array.isArray(i)?i:[i]).forEach(e=>this.addDescription(d,e.trim()))),a){let e=this.currentDocument.states.get(d);if(!e)throw Error(`State not found: ${d}`);e.note=a,e.note.text=l.sanitizeText(e.note.text,c())}o&&(e.info(`Setting state classes`,d,o),(Array.isArray(o)?o:[o]).forEach(e=>this.setCssClass(d,e.trim()))),s&&(e.info(`Setting state styles`,d,s),(Array.isArray(s)?s:[s]).forEach(e=>this.setStyle(d,e.trim()))),u&&(e.info(`Setting state styles`,d,s),(Array.isArray(u)?u:[u]).forEach(e=>this.setTextStyle(d,e.trim())))}clear(e){this.nodes=[],this.edges=[],this.documents={root:Q()},this.currentDocument=this.documents.root,this.startEndCount=0,this.classes=_e(),e||(this.links=new Map,s())}getState(e){return this.currentDocument.states.get(e)}getStates(){return this.currentDocument.states}logDocuments(){e.info(`Documents = `,this.documents)}getRelations(){return this.currentDocument.relations}addLink(t,n,r){this.links.set(t,{url:n,tooltip:r}),e.warn(`Adding link`,t,n,r)}getLinks(){return this.links}startIdIfNeeded(e=``){return e===Z.START_NODE?(this.startEndCount++,`${Z.START_TYPE}${this.startEndCount}`):e}startTypeIfNeeded(e=``,t=D){return e===Z.START_NODE?Z.START_TYPE:t}endIdIfNeeded(e=``){return e===Z.END_NODE?(this.startEndCount++,`${Z.END_TYPE}${this.startEndCount}`):e}endTypeIfNeeded(e=``,t=D){return e===Z.END_NODE?Z.END_TYPE:t}addRelationObjs(e,t,n=``){let r=this.startIdIfNeeded(e.id.trim()),i=this.startTypeIfNeeded(e.id.trim(),e.type),a=this.startIdIfNeeded(t.id.trim()),o=this.startTypeIfNeeded(t.id.trim(),t.type);this.addState(r,i,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),this.addState(a,o,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),this.currentDocument.relations.push({id1:r,id2:a,relationTitle:l.sanitizeText(n,c())})}addRelation(e,t,n){if(typeof e==`object`&&typeof t==`object`)this.addRelationObjs(e,t,n);else if(typeof e==`string`&&typeof t==`string`){let r=this.startIdIfNeeded(e.trim()),i=this.startTypeIfNeeded(e),a=this.endIdIfNeeded(t.trim()),o=this.endTypeIfNeeded(t);this.addState(r,i),this.addState(a,o),this.currentDocument.relations.push({id1:r,id2:a,relationTitle:n?l.sanitizeText(n,c()):void 0})}}addDescription(e,t){let n=this.currentDocument.states.get(e),r=t.startsWith(`:`)?t.replace(`:`,``).trim():t;n?.descriptions?.push(l.sanitizeText(r,c()))}cleanupLabel(e){return e.startsWith(`:`)?e.slice(2).trim():e.trim()}getDividerId(){return this.dividerCnt++,`divider-id-${this.dividerCnt}`}addStyleClass(e,t=``){this.classes.has(e)||this.classes.set(e,{id:e,styles:[],textStyles:[]});let n=this.classes.get(e);t&&n&&t.split(Z.STYLECLASS_SEP).forEach(e=>{let t=e.replace(/([^;]*);/,`$1`).trim();if(RegExp(Z.COLOR_KEYWORD).exec(e)){let e=t.replace(Z.FILL_KEYWORD,Z.BG_FILL).replace(Z.COLOR_KEYWORD,Z.FILL_KEYWORD);n.textStyles.push(e)}n.styles.push(t)})}getClasses(){return this.classes}setCssClass(e,t){e.split(`,`).forEach(e=>{let n=this.getState(e);if(!n){let t=e.trim();this.addState(t),n=this.getState(t)}n?.classes?.push(t)})}setStyle(e,t){this.getState(e)?.styles?.push(t)}setTextStyle(e,t){this.getState(e)?.textStyles?.push(t)}getDirectionStatement(){return this.rootDoc.find(e=>e.stmt===b)}getDirection(){return this.getDirectionStatement()?.value??v}setDirection(e){let t=this.getDirectionStatement();t?t.value=e:this.rootDoc.unshift({stmt:b,value:e})}trimColon(e){return e.startsWith(`:`)?e.slice(1).trim():e.trim()}getData(){let e=c();return{nodes:this.nodes,edges:this.edges,other:{},config:e,direction:U(this.getRootDocV2())}}getConfig(){return c().state}},ye=t(e=>`
|
|
7
|
-
defs [id$="-barbEnd"] {
|
|
8
|
-
fill: ${e.transitionColor};
|
|
9
|
-
stroke: ${e.transitionColor};
|
|
10
|
-
}
|
|
11
|
-
g.stateGroup text {
|
|
12
|
-
fill: ${e.nodeBorder};
|
|
13
|
-
stroke: none;
|
|
14
|
-
font-size: 10px;
|
|
15
|
-
}
|
|
16
|
-
g.stateGroup text {
|
|
17
|
-
fill: ${e.textColor};
|
|
18
|
-
stroke: none;
|
|
19
|
-
font-size: 10px;
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
g.stateGroup .state-title {
|
|
23
|
-
font-weight: bolder;
|
|
24
|
-
fill: ${e.stateLabelColor};
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
g.stateGroup rect {
|
|
28
|
-
fill: ${e.mainBkg};
|
|
29
|
-
stroke: ${e.nodeBorder};
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
g.stateGroup line {
|
|
33
|
-
stroke: ${e.lineColor};
|
|
34
|
-
stroke-width: ${e.strokeWidth||1};
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.transition {
|
|
38
|
-
stroke: ${e.transitionColor};
|
|
39
|
-
stroke-width: ${e.strokeWidth||1};
|
|
40
|
-
fill: none;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.stateGroup .composit {
|
|
44
|
-
fill: ${e.background};
|
|
45
|
-
border-bottom: 1px
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.stateGroup .alt-composit {
|
|
49
|
-
fill: #e0e0e0;
|
|
50
|
-
border-bottom: 1px
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.state-note {
|
|
54
|
-
stroke: ${e.noteBorderColor};
|
|
55
|
-
fill: ${e.noteBkgColor};
|
|
56
|
-
|
|
57
|
-
text {
|
|
58
|
-
fill: ${e.noteTextColor};
|
|
59
|
-
stroke: none;
|
|
60
|
-
font-size: 10px;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.stateLabel .box {
|
|
65
|
-
stroke: none;
|
|
66
|
-
stroke-width: 0;
|
|
67
|
-
fill: ${e.mainBkg};
|
|
68
|
-
opacity: 0.5;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.edgeLabel .label rect {
|
|
72
|
-
fill: ${e.labelBackgroundColor};
|
|
73
|
-
opacity: 0.5;
|
|
74
|
-
}
|
|
75
|
-
.edgeLabel {
|
|
76
|
-
background-color: ${e.edgeLabelBackground};
|
|
77
|
-
p {
|
|
78
|
-
background-color: ${e.edgeLabelBackground};
|
|
79
|
-
}
|
|
80
|
-
rect {
|
|
81
|
-
opacity: 0.5;
|
|
82
|
-
background-color: ${e.edgeLabelBackground};
|
|
83
|
-
fill: ${e.edgeLabelBackground};
|
|
84
|
-
}
|
|
85
|
-
text-align: center;
|
|
86
|
-
}
|
|
87
|
-
.edgeLabel .label text {
|
|
88
|
-
fill: ${e.transitionLabelColor||e.tertiaryTextColor};
|
|
89
|
-
}
|
|
90
|
-
.label div .edgeLabel {
|
|
91
|
-
color: ${e.transitionLabelColor||e.tertiaryTextColor};
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.stateLabel text {
|
|
95
|
-
fill: ${e.stateLabelColor};
|
|
96
|
-
font-size: 10px;
|
|
97
|
-
font-weight: bold;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.node circle.state-start {
|
|
101
|
-
fill: ${e.specialStateColor};
|
|
102
|
-
stroke: ${e.specialStateColor};
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.node .fork-join {
|
|
106
|
-
fill: ${e.specialStateColor};
|
|
107
|
-
stroke: ${e.specialStateColor};
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.node circle.state-end {
|
|
111
|
-
fill: ${e.innerEndBackground};
|
|
112
|
-
stroke: ${e.background};
|
|
113
|
-
stroke-width: 1.5
|
|
114
|
-
}
|
|
115
|
-
.end-state-inner {
|
|
116
|
-
fill: ${e.compositeBackground||e.background};
|
|
117
|
-
// stroke: ${e.background};
|
|
118
|
-
stroke-width: 1.5
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.node rect {
|
|
122
|
-
fill: ${e.stateBkg||e.mainBkg};
|
|
123
|
-
stroke: ${e.stateBorder||e.nodeBorder};
|
|
124
|
-
stroke-width: ${e.strokeWidth||1}px;
|
|
125
|
-
}
|
|
126
|
-
.node polygon {
|
|
127
|
-
fill: ${e.mainBkg};
|
|
128
|
-
stroke: ${e.stateBorder||e.nodeBorder};;
|
|
129
|
-
stroke-width: ${e.strokeWidth||1}px;
|
|
130
|
-
}
|
|
131
|
-
[id$="-barbEnd"] {
|
|
132
|
-
fill: ${e.lineColor};
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.statediagram-cluster rect {
|
|
136
|
-
fill: ${e.compositeTitleBackground};
|
|
137
|
-
stroke: ${e.stateBorder||e.nodeBorder};
|
|
138
|
-
stroke-width: ${e.strokeWidth||1}px;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.cluster-label, .nodeLabel {
|
|
142
|
-
color: ${e.stateLabelColor};
|
|
143
|
-
// line-height: 1;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.statediagram-cluster rect.outer {
|
|
147
|
-
rx: 5px;
|
|
148
|
-
ry: 5px;
|
|
149
|
-
}
|
|
150
|
-
.statediagram-state .divider {
|
|
151
|
-
stroke: ${e.stateBorder||e.nodeBorder};
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.statediagram-state .title-state {
|
|
155
|
-
rx: 5px;
|
|
156
|
-
ry: 5px;
|
|
157
|
-
}
|
|
158
|
-
.statediagram-cluster.statediagram-cluster .inner {
|
|
159
|
-
fill: ${e.compositeBackground||e.background};
|
|
160
|
-
}
|
|
161
|
-
.statediagram-cluster.statediagram-cluster-alt .inner {
|
|
162
|
-
fill: ${e.altBackground?e.altBackground:`#efefef`};
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.statediagram-cluster .inner {
|
|
166
|
-
rx:0;
|
|
167
|
-
ry:0;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.statediagram-state rect.basic {
|
|
171
|
-
rx: 5px;
|
|
172
|
-
ry: 5px;
|
|
173
|
-
}
|
|
174
|
-
.statediagram-state rect.divider {
|
|
175
|
-
stroke-dasharray: 10,10;
|
|
176
|
-
fill: ${e.altBackground?e.altBackground:`#efefef`};
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.note-edge {
|
|
180
|
-
stroke-dasharray: 5;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.statediagram-note rect {
|
|
184
|
-
fill: ${e.noteBkgColor};
|
|
185
|
-
stroke: ${e.noteBorderColor};
|
|
186
|
-
stroke-width: 1px;
|
|
187
|
-
rx: 0;
|
|
188
|
-
ry: 0;
|
|
189
|
-
}
|
|
190
|
-
.statediagram-note rect {
|
|
191
|
-
fill: ${e.noteBkgColor};
|
|
192
|
-
stroke: ${e.noteBorderColor};
|
|
193
|
-
stroke-width: 1px;
|
|
194
|
-
rx: 0;
|
|
195
|
-
ry: 0;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.statediagram-note text {
|
|
199
|
-
fill: ${e.noteTextColor};
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.statediagram-note .nodeLabel {
|
|
203
|
-
color: ${e.noteTextColor};
|
|
204
|
-
}
|
|
205
|
-
.statediagram .edgeLabel {
|
|
206
|
-
color: red; // ${e.noteTextColor};
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
[id$="-dependencyStart"], [id$="-dependencyEnd"] {
|
|
210
|
-
fill: ${e.lineColor};
|
|
211
|
-
stroke: ${e.lineColor};
|
|
212
|
-
stroke-width: ${e.strokeWidth||1};
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
.statediagramTitleText {
|
|
216
|
-
text-anchor: middle;
|
|
217
|
-
font-size: 18px;
|
|
218
|
-
fill: ${e.textColor};
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
[data-look="neo"].statediagram-cluster rect {
|
|
222
|
-
fill: ${e.mainBkg};
|
|
223
|
-
stroke: ${e.useGradient?`url(`+e.svgId+`-gradient)`:e.stateBorder||e.nodeBorder};
|
|
224
|
-
stroke-width: ${e.strokeWidth??1};
|
|
225
|
-
}
|
|
226
|
-
[data-look="neo"].statediagram-cluster rect.outer {
|
|
227
|
-
rx: ${e.radius}px;
|
|
228
|
-
ry: ${e.radius}px;
|
|
229
|
-
filter: ${e.dropShadow?e.dropShadow.replace(`url(#drop-shadow)`,`url(${e.svgId}-drop-shadow)`):`none`}
|
|
230
|
-
}
|
|
231
|
-
`,`getStyles`);export{ye as i,_ as n,pe as r,ve as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as e}from"./src-D4dXpp2L.js";var t=class{constructor(e){this.init=e,this.records=this.init()}static{e(this,`ImperativeState`)}reset(){this.records=this.init()}};export{t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as e}from"./src-D4dXpp2L.js";import"./chunk-ICPOFSXX-LaB5P0SR.js";import"./chunk-5PVQY5BW-Cpp0JjTq.js";import"./chunk-U2HBQHQK-CuugOH8t.js";import"./chunk-FMBD7UC4-CRzu5RUs.js";import"./chunk-BSJP7CBP-DvFe6BQg.js";import"./chunk-ZZ45TVLE-CX35ksjr.js";import"./chunk-YZCP3GAM-w3hvGtGQ.js";import"./chunk-55IACEB6-BUBhWZ5_.js";import"./chunk-EDXVE4YY-DSprT5LQ.js";import"./chunk-X2U36JSP-ZX9AmJVa.js";import"./chunk-5FUZZQ4R-D52DoV-0.js";import"./chunk-ENJZ2VHE-DsQnPoSa.js";import"./chunk-336JU56O-C0NxME-U.js";import{i as t,n,r,t as i}from"./chunk-4TB4RGXK-DKCtDLTf.js";var a={parser:n,get db(){return new i},renderer:r,styles:t,init:e(e=>{e.class||={},e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},`init`)};export{a as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as e}from"./src-D4dXpp2L.js";import"./chunk-ICPOFSXX-LaB5P0SR.js";import"./chunk-5PVQY5BW-Cpp0JjTq.js";import"./chunk-U2HBQHQK-CuugOH8t.js";import"./chunk-FMBD7UC4-CRzu5RUs.js";import"./chunk-BSJP7CBP-DvFe6BQg.js";import"./chunk-ZZ45TVLE-CX35ksjr.js";import"./chunk-YZCP3GAM-w3hvGtGQ.js";import"./chunk-55IACEB6-BUBhWZ5_.js";import"./chunk-EDXVE4YY-DSprT5LQ.js";import"./chunk-X2U36JSP-ZX9AmJVa.js";import"./chunk-5FUZZQ4R-D52DoV-0.js";import"./chunk-ENJZ2VHE-DsQnPoSa.js";import"./chunk-336JU56O-C0NxME-U.js";import{i as t,n,r,t as i}from"./chunk-4TB4RGXK-DKCtDLTf.js";var a={parser:n,get db(){return new i},renderer:r,styles:t,init:e(e=>{e.class||={},e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},`init`)};export{a as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as e}from"./graphlib-cvGsNSEN.js";var t=4;function n(n){return e(n,t)}export{n as t};
|