@softistx/pulsarix-widget 0.9.1 → 0.10.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 +32 -27
- package/dist/chunks/{abnfDiagram-XWFEHMT6.xef4vppv.js → abnfDiagram-XWFEHMT6.rxx9wyp3.js} +1 -1
- package/dist/chunks/architecture-WOLXFQ4H.hwrxbct0.js +1 -0
- package/dist/chunks/architectureDiagram-CSQXQB3N.mrm0pgc0.js +36 -0
- package/dist/chunks/{blockDiagram-BEDRHYPZ.wgdr8xfr.js → blockDiagram-BEDRHYPZ.f4dfpk7e.js} +11 -11
- package/dist/chunks/{c4Diagram-M2UUVUY5.t09pndbz.js → c4Diagram-M2UUVUY5.rz43j1my.js} +3 -3
- package/dist/chunks/{chat-markdown-CQ4fSIYN.cv3fprzq.js → chat-markdown-BSu4FB_l.xgn4yj83.js} +29 -29
- package/dist/chunks/{classDiagram-v2-KXABOMEV.9yfjtevj.js → classDiagram-v2-KXABOMEV.m96cfcad.js} +8 -8
- package/dist/chunks/cose-bilkent-JH36ORCC.zz2rwyw6.js +1 -0
- package/dist/chunks/cynefin-EF2NZ3EQ.y29bn1cz.js +1 -0
- package/dist/chunks/{cynefinDiagram-NJNITYFG.k6mhek0s.js → cynefinDiagram-NJNITYFG.az2k68wq.js} +1 -1
- package/dist/chunks/{dagre-KIHZ2IZ3.sqeg911s.js → dagre-KIHZ2IZ3.mgwg8bc4.js} +2 -2
- package/dist/chunks/{diagram-7YQZDPLS.k1qvmctj.js → diagram-7YQZDPLS.x8fg6705.js} +2 -2
- package/dist/chunks/{diagram-QBROCOUO.v7fe7e4g.js → diagram-QBROCOUO.db60dsss.js} +24 -24
- package/dist/chunks/{diagram-RJJCUUZO.12s15pm6.js → diagram-RJJCUUZO.a7e9w297.js} +4 -4
- package/dist/chunks/{diagram-WERXNKYE.tmrcv4we.js → diagram-WERXNKYE.a04f53kd.js} +2 -2
- package/dist/chunks/diagram-YHHI257C.v19jhmrh.js +3 -0
- package/dist/chunks/{diagram-YR4HJLHV.nytxr7pa.js → diagram-YR4HJLHV.c5e87gmw.js} +1 -1
- package/dist/chunks/{ebnfDiagram-N527522P.6eqw92nv.js → ebnfDiagram-N527522P.bjrxfgze.js} +1 -1
- package/dist/chunks/editor-shortcuts-dialog-Cz3T8435.5ve4nsaw.js +1 -0
- package/dist/chunks/editor.yak1qktd.js +4 -0
- package/dist/chunks/{elk-O5DQBFGD.a5rqryhg.js → elk-O5DQBFGD.1ydp0b7a.js} +13 -13
- package/dist/chunks/emoji-picker-00Bw2c2b.gzznrrz5.js +4 -0
- package/dist/chunks/{erDiagram-K3K3BIDK.exfeddaa.js → erDiagram-K3K3BIDK.g171ckq1.js} +8 -8
- package/dist/chunks/eventmodeling-K75KTNOO.46qfxqj7.js +1 -0
- package/dist/chunks/{flow-diagram-Byy7DBZZ.pf5vdbkn.js → flow-diagram-DGZOc1z1.3gbgbm5m.js} +6 -6
- package/dist/chunks/flowDiagram-Z6JWZHQI.f0eaj70g.js +1 -0
- package/dist/chunks/{ganttDiagram-3PRQTZWP.0tjaeqjw.js → ganttDiagram-3PRQTZWP.3b9dh4nr.js} +5 -5
- package/dist/chunks/gitGraph-VSP46ZUC.swware7n.js +1 -0
- package/dist/chunks/{gitGraphDiagram-VXDFKS5L.6vvbj88t.js → gitGraphDiagram-VXDFKS5L.thyp7vsd.js} +22 -22
- package/dist/chunks/{grid-E2QIVN74.frpdy6t3.js → grid-E2QIVN74.entqjpa3.js} +1 -1
- package/dist/chunks/illustration-BcaGDjvB.1q9xtmyq.js +1 -0
- package/dist/chunks/{index.3pn4wy4j.js → index.0g1t1pjx.js} +1 -1
- package/dist/chunks/{index.zjykrx6y.js → index.35d4zbh8.js} +4 -4
- package/dist/chunks/index.5fcbba6e.js +2 -0
- package/dist/chunks/{index.d8b8y928.js → index.6pzexww5.js} +10 -10
- package/dist/chunks/{index.mcyw2bze.js → index.8vaktk8x.js} +1 -1
- package/dist/chunks/{index.xrg5yg8d.js → index.8zg579vd.js} +2 -2
- package/dist/chunks/{index.sv013f1z.js → index.9n1y396a.js} +1 -1
- package/dist/chunks/{index.kh3f3gw8.js → index.a3njhfdd.js} +2 -2
- package/dist/chunks/{index.a6rz456z.js → index.cw97ff3b.js} +2 -2
- package/dist/chunks/{index.fv9af3wd.js → index.d57x7pg9.js} +6 -6
- package/dist/chunks/{index.0kv7tp87.js → index.g2ba0pke.js} +2 -2
- package/dist/chunks/index.h1xzvasx.js +2 -0
- package/dist/chunks/{index.93zpfh3k.js → index.qr6a02kx.js} +2 -2
- package/dist/chunks/index.rkgfxpm3.js +44 -0
- package/dist/chunks/index.sw8gvntb.js +2 -0
- package/dist/chunks/{index.7q6v461v.js → index.v02zf4zg.js} +2 -2
- package/dist/chunks/{index.f6jhkm5c.js → index.w1516g8q.js} +35 -35
- package/dist/chunks/{index.pyz71tqx.js → index.w4emtsqw.js} +2 -2
- package/dist/chunks/{index.nsckd1vt.js → index.yhmqh641.js} +2 -2
- package/dist/chunks/{index.nrd5w1x0.js → index.zkngte5k.js} +2 -2
- package/dist/chunks/{index.yfbwd99n.js → index.zkx4ryzt.js} +104 -104
- package/dist/chunks/info-OHQRW6UA.1er9b42t.js +1 -0
- package/dist/chunks/{infoDiagram-EZ3ZOAHP.qh2bwz3m.js → infoDiagram-EZ3ZOAHP.833fvq8n.js} +2 -2
- package/dist/chunks/{ishikawaDiagram-S3EKX5GW.w2v6vnwd.js → ishikawaDiagram-S3EKX5GW.q3evaw24.js} +5 -5
- package/dist/chunks/{journeyDiagram-POQNLL5X.ftkfdsrw.js → journeyDiagram-POQNLL5X.9werrmpy.js} +5 -5
- package/dist/chunks/{kanban-definition-BH5XI6FM.9scqhcx5.js → kanban-definition-BH5XI6FM.f3ssda0m.js} +7 -7
- package/dist/chunks/markup-color-chrome-ykGNUl8y.pcgw4znz.js +1 -0
- package/dist/chunks/markup-custom-color-MM-HnrqY.sygnt3gs.js +1 -0
- package/dist/chunks/mention-list-6cR5VSPa.x0x55xzp.js +1 -0
- package/dist/chunks/{mermaid.core.tnh468qk.js → mermaid.core.5cqab0cw.js} +7 -7
- package/dist/chunks/{mindmap-definition-WVAN44T4.gskntx1f.js → mindmap-definition-WVAN44T4.pjjxgse0.js} +6 -6
- package/dist/chunks/packet-JDAUHWVQ.t5jwb2rb.js +1 -0
- package/dist/chunks/panel.2vwd6k3h.js +7 -0
- package/dist/chunks/{pegDiagram-D4NLKWP3.yb58dpky.js → pegDiagram-D4NLKWP3.mdacgbzb.js} +1 -1
- package/dist/chunks/pie-XZMESJXO.pe88zesw.js +1 -0
- package/dist/chunks/pieDiagram-36ENHN4W.fb0d6a9w.js +39 -0
- package/dist/chunks/plated-illustration-pTqcYOQg.6b9fm4a7.js +1 -0
- package/dist/chunks/{quadrantDiagram-ZQUDMS73.1a721ces.js → quadrantDiagram-ZQUDMS73.m5cgqatg.js} +4 -4
- package/dist/chunks/radar-ABXABTNO.jtbddwfq.js +1 -0
- package/dist/chunks/railroad-I3PHUGI6.kvyt0f9s.js +1 -0
- package/dist/chunks/railroad-abnf-LNEFI6M7.ybx0vspg.js +1 -0
- package/dist/chunks/railroad-ebnf-DWYD2UWJ.yx4c4enn.js +1 -0
- package/dist/chunks/railroad-peg-JR7BVNR7.mb71eyqe.js +1 -0
- package/dist/chunks/{railroadDiagram-JIZHGYPL.xpgkt1zp.js → railroadDiagram-JIZHGYPL.w2e1k61e.js} +1 -1
- package/dist/chunks/{render-VIF2ZAQL.khtqjmgm.js → render-VIF2ZAQL.exs2rt60.js} +1 -1
- package/dist/chunks/{requirementDiagram-AXW2TVFA.ms6anxwg.js → requirementDiagram-AXW2TVFA.mrxb120d.js} +4 -4
- package/dist/chunks/{sankeyDiagram-FBCJTAIF.40yzed7d.js → sankeyDiagram-FBCJTAIF.csj5n1sg.js} +6 -6
- package/dist/chunks/{sequenceDiagram-3LA2ROMG.z0h3shw2.js → sequenceDiagram-3LA2ROMG.73qx1ab4.js} +11 -11
- package/dist/chunks/{sizeCapture-2Q2CQKSF.4dh5g271.js → sizeCapture-2Q2CQKSF.vfe8maj3.js} +1 -1
- package/dist/chunks/{stateDiagram-v2-ATKHQDJO.5ftcgs8s.js → stateDiagram-v2-ATKHQDJO.h4grfmy4.js} +8 -8
- package/dist/chunks/{swimlanes-YQL5WMAO.r6vmskrb.js → swimlanes-YQL5WMAO.e2y8jam1.js} +1 -1
- package/dist/chunks/swimlanesDiagram-UCCPES4V.dtthssd5.js +8 -0
- package/dist/chunks/{timeline-definition-7Z437IG3.eke70hfq.js → timeline-definition-7Z437IG3.2zxa6hz5.js} +9 -9
- package/dist/chunks/treeView-D4JQ5SDB.3kgztv30.js +1 -0
- package/dist/chunks/treemap-SAJKECNS.xj47e2ae.js +1 -0
- package/dist/chunks/{usecaseDiagram-RDK6N6HP.d8p4tnc6.js → usecaseDiagram-RDK6N6HP.61cdyktj.js} +57 -57
- package/dist/chunks/{vennDiagram-SHRQU5PJ.4s46abxd.js → vennDiagram-SHRQU5PJ.4tspw3rs.js} +7 -7
- package/dist/chunks/wardley-7MLQ67FV.pckbr6zr.js +1 -0
- package/dist/chunks/{wardleyDiagram-F3OXNVQS.mq49fny4.js → wardleyDiagram-F3OXNVQS.q2p8tshx.js} +4 -4
- package/dist/chunks/{xychartDiagram-GDYJKCDI.d7he0fxa.js → xychartDiagram-GDYJKCDI.69desp9j.js} +5 -5
- package/dist/index.js +48 -21
- package/dist/types/config.d.ts +1 -1
- package/dist/types/mount.d.ts +1 -1
- package/docs/integration.md +32 -26
- package/package.json +4 -4
- package/dist/chunks/architecture-WOLXFQ4H.pp4drcrh.js +0 -1
- package/dist/chunks/architectureDiagram-CSQXQB3N.0bddzt5e.js +0 -36
- package/dist/chunks/cose-bilkent-JH36ORCC.qam7r9b1.js +0 -1
- package/dist/chunks/cynefin-EF2NZ3EQ.wgr8qmb2.js +0 -1
- package/dist/chunks/diagram-YHHI257C.7735ve6v.js +0 -3
- package/dist/chunks/editor-shortcuts-dialog-VmvMTjnq.mm7ab69f.js +0 -1
- package/dist/chunks/editor.wb4jsrjy.js +0 -4
- package/dist/chunks/emoji-picker-bnO0yA8e.bymgjc9a.js +0 -4
- package/dist/chunks/eventmodeling-K75KTNOO.nkahp6zg.js +0 -1
- package/dist/chunks/flowDiagram-Z6JWZHQI.54yz6gfm.js +0 -1
- package/dist/chunks/gitGraph-VSP46ZUC.2a0am491.js +0 -1
- package/dist/chunks/illustration-BfueshiW.syv54ccw.js +0 -1
- package/dist/chunks/index.bs3ygyp2.js +0 -2
- package/dist/chunks/index.newjn1k4.js +0 -2
- package/dist/chunks/index.rn0vxns6.js +0 -44
- package/dist/chunks/index.yexf86bf.js +0 -2
- package/dist/chunks/info-OHQRW6UA.4824y3cd.js +0 -1
- package/dist/chunks/markup-color-chrome-ykGNUl8y.8cysjsfb.js +0 -1
- package/dist/chunks/markup-custom-color-CytmKw-R.d25j0pcj.js +0 -1
- package/dist/chunks/mention-list-5h2lZwEU.wffam6eb.js +0 -1
- package/dist/chunks/packet-JDAUHWVQ.w0pv2dxr.js +0 -1
- package/dist/chunks/panel.dq8vt40k.js +0 -7
- package/dist/chunks/pie-XZMESJXO.zq72f2fq.js +0 -1
- package/dist/chunks/pieDiagram-36ENHN4W.7pgn8ayz.js +0 -39
- package/dist/chunks/plated-illustration-VrnsTz7H.tcyq0sxa.js +0 -1
- package/dist/chunks/radar-ABXABTNO.288gs0b8.js +0 -1
- package/dist/chunks/railroad-I3PHUGI6.aadrd13j.js +0 -1
- package/dist/chunks/railroad-abnf-LNEFI6M7.6btgmncj.js +0 -1
- package/dist/chunks/railroad-ebnf-DWYD2UWJ.y44ppt8p.js +0 -1
- package/dist/chunks/railroad-peg-JR7BVNR7.328jgxkz.js +0 -1
- package/dist/chunks/swimlanesDiagram-UCCPES4V.exhrz16x.js +0 -8
- package/dist/chunks/treeView-D4JQ5SDB.xz61fh4x.js +0 -1
- package/dist/chunks/treemap-SAJKECNS.8gv7pmqr.js +0 -1
- package/dist/chunks/wardley-7MLQ67FV.6v9j3be8.js +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import{e,dr,n,k,A,L,R,I,M,D,O,u,ve,he,pe,Ct,z,Ae,_e}from"./index.yfbwd99n.js";import{Ee}from"./index.newjn1k4.js";import{ge}from"./index.pyz71tqx.js";var He=function(){var t=e(function(X,a,l,c){for(l=l||{},c=X.length;c--;l[X[c]]=a);return l},"o"),d=[1,3],f=[1,4],m=[1,5],r=[1,6],h=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],S=[1,22],C=[2,7],E=[1,26],T=[1,27],N=[1,28],w=[1,29],F=[1,33],P=[1,34],U=[1,35],Y=[1,36],B=[1,37],Q=[1,38],H=[1,24],K=[1,31],W=[1,32],j=[1,30],g=[1,39],y=[1,40],b=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],J=[1,61],ce=[89,90],Ke=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],xe=[27,29],We=[1,70],je=[1,71],Ge=[1,72],ze=[1,73],Xe=[1,74],Je=[1,75],Ze=[1,76],me=[1,83],Z=[1,80],fe=[1,84],de=[1,85],be=[1,86],Re=[1,87],ke=[1,88],ye=[1,89],Se=[1,90],Ie=[1,91],Te=[1,92],we=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],ee=[63,64],et=[1,101],tt=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],V=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],te=[1,110],se=[1,106],ie=[1,107],re=[1,108],ne=[1,109],ae=[1,111],Ne=[1,116],qe=[1,117],Ce=[1,114],Ve=[1,115],$e={trace:e(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:e(function(a,l,c,i,p,s,Le){var o=s.length-1;switch(p){case 4:this.$=s[o].trim(),i.setAccTitle(this.$);break;case 5:case 6:this.$=s[o].trim(),i.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:i.setDirection("TB");break;case 18:i.setDirection("BT");break;case 19:i.setDirection("RL");break;case 20:i.setDirection("LR");break;case 21:i.addRequirement(s[o-3],s[o-4]);break;case 22:i.addRequirement(s[o-5],s[o-6]),i.setClass([s[o-5]],s[o-3]);break;case 23:i.setNewReqId(s[o-2]);break;case 24:i.setNewReqText(s[o-2]);break;case 25:i.setNewReqRisk(s[o-2]);break;case 26:i.setNewReqVerifyMethod(s[o-2]);break;case 29:this.$=i.RequirementType.REQUIREMENT;break;case 30:this.$=i.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=i.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=i.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=i.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=i.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=i.RiskLevel.LOW_RISK;break;case 36:this.$=i.RiskLevel.MED_RISK;break;case 37:this.$=i.RiskLevel.HIGH_RISK;break;case 38:this.$=i.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=i.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=i.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=i.VerifyType.VERIFY_TEST;break;case 42:i.addElement(s[o-3]);break;case 43:i.addElement(s[o-5]),i.setClass([s[o-5]],s[o-3]);break;case 44:i.setNewElementType(s[o-2]);break;case 45:i.setNewElementDocRef(s[o-2]);break;case 48:i.addRelationship(s[o-2],s[o],s[o-4]);break;case 49:i.addRelationship(s[o-2],s[o-4],s[o]);break;case 50:this.$=i.Relationships.CONTAINS;break;case 51:this.$=i.Relationships.COPIES;break;case 52:this.$=i.Relationships.DERIVES;break;case 53:this.$=i.Relationships.SATISFIES;break;case 54:this.$=i.Relationships.VERIFIES;break;case 55:this.$=i.Relationships.REFINES;break;case 56:this.$=i.Relationships.TRACES;break;case 57:this.$=s[o-2],i.defineClass(s[o-1],s[o]);break;case 58:i.setClass(s[o-1],s[o]);break;case 59:i.setClass([s[o-2]],s[o]);break;case 60:case 62:this.$=[s[o]];break;case 61:case 63:this.$=s[o-2].concat([s[o]]);break;case 64:this.$=s[o-2],i.setCssStyle(s[o-1],s[o]);break;case 65:this.$=[s[o]];break;case 66:s[o-2].push(s[o]),this.$=s[o-2];break;case 68:this.$=s[o-1]+s[o];break}},"anonymous"),table:[{3:1,4:2,6:d,9:f,11:m,13:r},{1:[3]},{3:8,4:2,5:[1,7],6:d,9:f,11:m,13:r},{5:[1,9]},{10:[1,10]},{12:[1,11]},t(h,[2,6]),{3:12,4:2,6:d,9:f,11:m,13:r},{1:[2,2]},{4:17,5:S,7:13,8:C,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:N,24:w,25:23,33:25,41:F,42:P,43:U,44:Y,45:B,46:Q,54:H,72:K,74:W,77:j,89:g,90:y},t(h,[2,4]),t(h,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:S,7:42,8:C,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:N,24:w,25:23,33:25,41:F,42:P,43:U,44:Y,45:B,46:Q,54:H,72:K,74:W,77:j,89:g,90:y},{4:17,5:S,7:43,8:C,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:N,24:w,25:23,33:25,41:F,42:P,43:U,44:Y,45:B,46:Q,54:H,72:K,74:W,77:j,89:g,90:y},{4:17,5:S,7:44,8:C,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:N,24:w,25:23,33:25,41:F,42:P,43:U,44:Y,45:B,46:Q,54:H,72:K,74:W,77:j,89:g,90:y},{4:17,5:S,7:45,8:C,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:N,24:w,25:23,33:25,41:F,42:P,43:U,44:Y,45:B,46:Q,54:H,72:K,74:W,77:j,89:g,90:y},{4:17,5:S,7:46,8:C,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:N,24:w,25:23,33:25,41:F,42:P,43:U,44:Y,45:B,46:Q,54:H,72:K,74:W,77:j,89:g,90:y},{4:17,5:S,7:47,8:C,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:N,24:w,25:23,33:25,41:F,42:P,43:U,44:Y,45:B,46:Q,54:H,72:K,74:W,77:j,89:g,90:y},{4:17,5:S,7:48,8:C,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:N,24:w,25:23,33:25,41:F,42:P,43:U,44:Y,45:B,46:Q,54:H,72:K,74:W,77:j,89:g,90:y},{4:17,5:S,7:49,8:C,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:N,24:w,25:23,33:25,41:F,42:P,43:U,44:Y,45:B,46:Q,54:H,72:K,74:W,77:j,89:g,90:y},{4:17,5:S,7:50,8:C,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:N,24:w,25:23,33:25,41:F,42:P,43:U,44:Y,45:B,46:Q,54:H,72:K,74:W,77:j,89:g,90:y},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},t(b,[2,17]),t(b,[2,18]),t(b,[2,19]),t(b,[2,20]),{30:60,33:62,75:J,89:g,90:y},{30:63,33:62,75:J,89:g,90:y},{30:64,33:62,75:J,89:g,90:y},t(ce,[2,29]),t(ce,[2,30]),t(ce,[2,31]),t(ce,[2,32]),t(ce,[2,33]),t(ce,[2,34]),t(Ke,[2,81]),t(Ke,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},t(xe,[2,79]),t(xe,[2,80]),{27:[1,67],29:[1,68]},t(xe,[2,85]),t(xe,[2,86]),{62:69,65:We,66:je,67:Ge,68:ze,69:Xe,70:Je,71:Ze},{62:77,65:We,66:je,67:Ge,68:ze,69:Xe,70:Je,71:Ze},{30:78,33:62,75:J,89:g,90:y},{73:79,75:me,76:Z,78:81,79:82,80:fe,81:de,82:be,83:Re,84:ke,85:ye,86:Se,87:Ie,88:Te},t(we,[2,60]),t(we,[2,62]),{73:93,75:me,76:Z,78:81,79:82,80:fe,81:de,82:be,83:Re,84:ke,85:ye,86:Se,87:Ie,88:Te},{30:94,33:62,75:J,76:Z,89:g,90:y},{5:[1,95]},{30:96,33:62,75:J,89:g,90:y},{5:[1,97]},{30:98,33:62,75:J,89:g,90:y},{63:[1,99]},t(ee,[2,50]),t(ee,[2,51]),t(ee,[2,52]),t(ee,[2,53]),t(ee,[2,54]),t(ee,[2,55]),t(ee,[2,56]),{64:[1,100]},t(b,[2,59],{76:Z}),t(b,[2,64],{76:et}),{33:103,75:[1,102],89:g,90:y},t(tt,[2,65],{79:104,75:me,80:fe,81:de,82:be,83:Re,84:ke,85:ye,86:Se,87:Ie,88:Te}),t(V,[2,67]),t(V,[2,69]),t(V,[2,70]),t(V,[2,71]),t(V,[2,72]),t(V,[2,73]),t(V,[2,74]),t(V,[2,75]),t(V,[2,76]),t(V,[2,77]),t(V,[2,78]),t(b,[2,57],{76:et}),t(b,[2,58],{76:Z}),{5:te,28:105,31:se,34:ie,36:re,38:ne,40:ae},{27:[1,112],76:Z},{5:Ne,40:qe,56:113,57:Ce,59:Ve},{27:[1,118],76:Z},{33:119,89:g,90:y},{33:120,89:g,90:y},{75:me,78:121,79:82,80:fe,81:de,82:be,83:Re,84:ke,85:ye,86:Se,87:Ie,88:Te},t(we,[2,61]),t(we,[2,63]),t(V,[2,68]),t(b,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:te,28:126,31:se,34:ie,36:re,38:ne,40:ae},t(b,[2,28]),{5:[1,127]},t(b,[2,42]),{32:[1,128]},{32:[1,129]},{5:Ne,40:qe,56:130,57:Ce,59:Ve},t(b,[2,47]),{5:[1,131]},t(b,[2,48]),t(b,[2,49]),t(tt,[2,66],{79:104,75:me,80:fe,81:de,82:be,83:Re,84:ke,85:ye,86:Se,87:Ie,88:Te}),{33:132,89:g,90:y},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},t(b,[2,27]),{5:te,28:145,31:se,34:ie,36:re,38:ne,40:ae},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},t(b,[2,46]),{5:Ne,40:qe,56:152,57:Ce,59:Ve},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},t(b,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},t(b,[2,43]),{5:te,28:159,31:se,34:ie,36:re,38:ne,40:ae},{5:te,28:160,31:se,34:ie,36:re,38:ne,40:ae},{5:te,28:161,31:se,34:ie,36:re,38:ne,40:ae},{5:te,28:162,31:se,34:ie,36:re,38:ne,40:ae},{5:Ne,40:qe,56:163,57:Ce,59:Ve},{5:Ne,40:qe,56:164,57:Ce,59:Ve},t(b,[2,23]),t(b,[2,24]),t(b,[2,25]),t(b,[2,26]),t(b,[2,44]),t(b,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:e(function(a,l){if(l.recoverable)this.trace(a);else{var c=Error(a);throw c.hash=l,c}},"parseError"),parse:e(function(a){var l=this,c=[0],i=[],p=[null],s=[],Le=this.table,o="",Oe=0,st=0,it=0,ct=2,rt=1,ht=s.slice.call(arguments,1),_=Object.create(this.lexer),le={yy:{}};for(var Pe in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,Pe))le.yy[Pe]=this.yy[Pe];if(_.setInput(a,le.yy),le.yy.lexer=_,le.yy.parser=this,typeof _.yylloc>"u")_.yylloc={};var Ue=_.yylloc;s.push(Ue);var ut=_.options&&_.options.ranges;if(typeof le.yy.parseError==="function")this.parseError=le.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function mt(x){c.length=c.length-2*x,p.length=p.length-x,s.length=s.length-x}e(mt,"popStack");function nt(){var x=i.pop()||_.lex()||rt;if(typeof x!=="number"){if(x instanceof Array)i=x,x=i.pop();x=l.symbols_[x]||x}return x}e(nt,"lex");var q,Ye,oe,v,kt,Be,ue={},Me,G,at,Fe;while(!0){if(oe=c[c.length-1],this.defaultActions[oe])v=this.defaultActions[oe];else{if(q===null||typeof q>"u")q=nt();v=Le[oe]&&Le[oe][q]}if(typeof v>"u"||!v.length||!v[0]){var Qe="";Fe=[];for(Me in Le[oe])if(this.terminals_[Me]&&Me>ct)Fe.push("'"+this.terminals_[Me]+"'");if(_.showPosition)Qe="Parse error on line "+(Oe+1)+`:
|
|
1
|
+
import{e,ur,n,k,A,L,R,I,M,P,O,u,ge,de,fe,Tt,F,Se,Ee}from"./index.zkx4ryzt.js";import{Ce}from"./index.5fcbba6e.js";import{pe}from"./index.w4emtsqw.js";var He=function(){var t=e(function(X,a,l,c){for(l=l||{},c=X.length;c--;l[X[c]]=a);return l},"o"),d=[1,3],f=[1,4],m=[1,5],r=[1,6],h=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],S=[1,22],C=[2,7],E=[1,26],T=[1,27],N=[1,28],w=[1,29],D=[1,33],U=[1,34],Y=[1,35],B=[1,36],Q=[1,37],H=[1,38],K=[1,24],W=[1,31],j=[1,32],G=[1,30],g=[1,39],y=[1,40],b=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],J=[1,61],ce=[89,90],Ke=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],xe=[27,29],We=[1,70],je=[1,71],Ge=[1,72],ze=[1,73],Xe=[1,74],Je=[1,75],Ze=[1,76],ue=[1,83],Z=[1,80],me=[1,84],be=[1,85],Re=[1,86],ke=[1,87],ye=[1,88],_e=[1,89],Ie=[1,90],Te=[1,91],Ne=[1,92],we=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],ee=[63,64],et=[1,101],tt=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],V=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],te=[1,110],se=[1,106],ie=[1,107],re=[1,108],ne=[1,109],ae=[1,111],qe=[1,116],Ae=[1,117],Ve=[1,114],ve=[1,115],$e={trace:e(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:e(function(a,l,c,i,p,s,Le){var o=s.length-1;switch(p){case 4:this.$=s[o].trim(),i.setAccTitle(this.$);break;case 5:case 6:this.$=s[o].trim(),i.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:i.setDirection("TB");break;case 18:i.setDirection("BT");break;case 19:i.setDirection("RL");break;case 20:i.setDirection("LR");break;case 21:i.addRequirement(s[o-3],s[o-4]);break;case 22:i.addRequirement(s[o-5],s[o-6]),i.setClass([s[o-5]],s[o-3]);break;case 23:i.setNewReqId(s[o-2]);break;case 24:i.setNewReqText(s[o-2]);break;case 25:i.setNewReqRisk(s[o-2]);break;case 26:i.setNewReqVerifyMethod(s[o-2]);break;case 29:this.$=i.RequirementType.REQUIREMENT;break;case 30:this.$=i.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=i.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=i.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=i.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=i.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=i.RiskLevel.LOW_RISK;break;case 36:this.$=i.RiskLevel.MED_RISK;break;case 37:this.$=i.RiskLevel.HIGH_RISK;break;case 38:this.$=i.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=i.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=i.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=i.VerifyType.VERIFY_TEST;break;case 42:i.addElement(s[o-3]);break;case 43:i.addElement(s[o-5]),i.setClass([s[o-5]],s[o-3]);break;case 44:i.setNewElementType(s[o-2]);break;case 45:i.setNewElementDocRef(s[o-2]);break;case 48:i.addRelationship(s[o-2],s[o],s[o-4]);break;case 49:i.addRelationship(s[o-2],s[o-4],s[o]);break;case 50:this.$=i.Relationships.CONTAINS;break;case 51:this.$=i.Relationships.COPIES;break;case 52:this.$=i.Relationships.DERIVES;break;case 53:this.$=i.Relationships.SATISFIES;break;case 54:this.$=i.Relationships.VERIFIES;break;case 55:this.$=i.Relationships.REFINES;break;case 56:this.$=i.Relationships.TRACES;break;case 57:this.$=s[o-2],i.defineClass(s[o-1],s[o]);break;case 58:i.setClass(s[o-1],s[o]);break;case 59:i.setClass([s[o-2]],s[o]);break;case 60:case 62:this.$=[s[o]];break;case 61:case 63:this.$=s[o-2].concat([s[o]]);break;case 64:this.$=s[o-2],i.setCssStyle(s[o-1],s[o]);break;case 65:this.$=[s[o]];break;case 66:s[o-2].push(s[o]),this.$=s[o-2];break;case 68:this.$=s[o-1]+s[o];break}},"anonymous"),table:[{3:1,4:2,6:d,9:f,11:m,13:r},{1:[3]},{3:8,4:2,5:[1,7],6:d,9:f,11:m,13:r},{5:[1,9]},{10:[1,10]},{12:[1,11]},t(h,[2,6]),{3:12,4:2,6:d,9:f,11:m,13:r},{1:[2,2]},{4:17,5:S,7:13,8:C,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:N,24:w,25:23,33:25,41:D,42:U,43:Y,44:B,45:Q,46:H,54:K,72:W,74:j,77:G,89:g,90:y},t(h,[2,4]),t(h,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:S,7:42,8:C,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:N,24:w,25:23,33:25,41:D,42:U,43:Y,44:B,45:Q,46:H,54:K,72:W,74:j,77:G,89:g,90:y},{4:17,5:S,7:43,8:C,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:N,24:w,25:23,33:25,41:D,42:U,43:Y,44:B,45:Q,46:H,54:K,72:W,74:j,77:G,89:g,90:y},{4:17,5:S,7:44,8:C,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:N,24:w,25:23,33:25,41:D,42:U,43:Y,44:B,45:Q,46:H,54:K,72:W,74:j,77:G,89:g,90:y},{4:17,5:S,7:45,8:C,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:N,24:w,25:23,33:25,41:D,42:U,43:Y,44:B,45:Q,46:H,54:K,72:W,74:j,77:G,89:g,90:y},{4:17,5:S,7:46,8:C,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:N,24:w,25:23,33:25,41:D,42:U,43:Y,44:B,45:Q,46:H,54:K,72:W,74:j,77:G,89:g,90:y},{4:17,5:S,7:47,8:C,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:N,24:w,25:23,33:25,41:D,42:U,43:Y,44:B,45:Q,46:H,54:K,72:W,74:j,77:G,89:g,90:y},{4:17,5:S,7:48,8:C,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:N,24:w,25:23,33:25,41:D,42:U,43:Y,44:B,45:Q,46:H,54:K,72:W,74:j,77:G,89:g,90:y},{4:17,5:S,7:49,8:C,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:N,24:w,25:23,33:25,41:D,42:U,43:Y,44:B,45:Q,46:H,54:K,72:W,74:j,77:G,89:g,90:y},{4:17,5:S,7:50,8:C,9:f,11:m,13:r,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:E,22:T,23:N,24:w,25:23,33:25,41:D,42:U,43:Y,44:B,45:Q,46:H,54:K,72:W,74:j,77:G,89:g,90:y},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},t(b,[2,17]),t(b,[2,18]),t(b,[2,19]),t(b,[2,20]),{30:60,33:62,75:J,89:g,90:y},{30:63,33:62,75:J,89:g,90:y},{30:64,33:62,75:J,89:g,90:y},t(ce,[2,29]),t(ce,[2,30]),t(ce,[2,31]),t(ce,[2,32]),t(ce,[2,33]),t(ce,[2,34]),t(Ke,[2,81]),t(Ke,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},t(xe,[2,79]),t(xe,[2,80]),{27:[1,67],29:[1,68]},t(xe,[2,85]),t(xe,[2,86]),{62:69,65:We,66:je,67:Ge,68:ze,69:Xe,70:Je,71:Ze},{62:77,65:We,66:je,67:Ge,68:ze,69:Xe,70:Je,71:Ze},{30:78,33:62,75:J,89:g,90:y},{73:79,75:ue,76:Z,78:81,79:82,80:me,81:be,82:Re,83:ke,84:ye,85:_e,86:Ie,87:Te,88:Ne},t(we,[2,60]),t(we,[2,62]),{73:93,75:ue,76:Z,78:81,79:82,80:me,81:be,82:Re,83:ke,84:ye,85:_e,86:Ie,87:Te,88:Ne},{30:94,33:62,75:J,76:Z,89:g,90:y},{5:[1,95]},{30:96,33:62,75:J,89:g,90:y},{5:[1,97]},{30:98,33:62,75:J,89:g,90:y},{63:[1,99]},t(ee,[2,50]),t(ee,[2,51]),t(ee,[2,52]),t(ee,[2,53]),t(ee,[2,54]),t(ee,[2,55]),t(ee,[2,56]),{64:[1,100]},t(b,[2,59],{76:Z}),t(b,[2,64],{76:et}),{33:103,75:[1,102],89:g,90:y},t(tt,[2,65],{79:104,75:ue,80:me,81:be,82:Re,83:ke,84:ye,85:_e,86:Ie,87:Te,88:Ne}),t(V,[2,67]),t(V,[2,69]),t(V,[2,70]),t(V,[2,71]),t(V,[2,72]),t(V,[2,73]),t(V,[2,74]),t(V,[2,75]),t(V,[2,76]),t(V,[2,77]),t(V,[2,78]),t(b,[2,57],{76:et}),t(b,[2,58],{76:Z}),{5:te,28:105,31:se,34:ie,36:re,38:ne,40:ae},{27:[1,112],76:Z},{5:qe,40:Ae,56:113,57:Ve,59:ve},{27:[1,118],76:Z},{33:119,89:g,90:y},{33:120,89:g,90:y},{75:ue,78:121,79:82,80:me,81:be,82:Re,83:ke,84:ye,85:_e,86:Ie,87:Te,88:Ne},t(we,[2,61]),t(we,[2,63]),t(V,[2,68]),t(b,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:te,28:126,31:se,34:ie,36:re,38:ne,40:ae},t(b,[2,28]),{5:[1,127]},t(b,[2,42]),{32:[1,128]},{32:[1,129]},{5:qe,40:Ae,56:130,57:Ve,59:ve},t(b,[2,47]),{5:[1,131]},t(b,[2,48]),t(b,[2,49]),t(tt,[2,66],{79:104,75:ue,80:me,81:be,82:Re,83:ke,84:ye,85:_e,86:Ie,87:Te,88:Ne}),{33:132,89:g,90:y},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},t(b,[2,27]),{5:te,28:145,31:se,34:ie,36:re,38:ne,40:ae},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},t(b,[2,46]),{5:qe,40:Ae,56:152,57:Ve,59:ve},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},t(b,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},t(b,[2,43]),{5:te,28:159,31:se,34:ie,36:re,38:ne,40:ae},{5:te,28:160,31:se,34:ie,36:re,38:ne,40:ae},{5:te,28:161,31:se,34:ie,36:re,38:ne,40:ae},{5:te,28:162,31:se,34:ie,36:re,38:ne,40:ae},{5:qe,40:Ae,56:163,57:Ve,59:ve},{5:qe,40:Ae,56:164,57:Ve,59:ve},t(b,[2,23]),t(b,[2,24]),t(b,[2,25]),t(b,[2,26]),t(b,[2,44]),t(b,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:e(function(a,l){if(l.recoverable)this.trace(a);else{var c=Error(a);throw c.hash=l,c}},"parseError"),parse:e(function(a){var l=this,c=[0],i=[],p=[null],s=[],Le=this.table,o="",Oe=0,st=0,it=0,ct=2,rt=1,ht=s.slice.call(arguments,1),_=Object.create(this.lexer),le={yy:{}};for(var Pe in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,Pe))le.yy[Pe]=this.yy[Pe];if(_.setInput(a,le.yy),le.yy.lexer=_,le.yy.parser=this,typeof _.yylloc>"u")_.yylloc={};var Ue=_.yylloc;s.push(Ue);var ut=_.options&&_.options.ranges;if(typeof le.yy.parseError==="function")this.parseError=le.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function mt(x){c.length=c.length-2*x,p.length=p.length-x,s.length=s.length-x}e(mt,"popStack");function nt(){var x=i.pop()||_.lex()||rt;if(typeof x!=="number"){if(x instanceof Array)i=x,x=i.pop();x=l.symbols_[x]||x}return x}e(nt,"lex");var q,Ye,oe,v,kt,Be,he={},Me,z,at,Fe;while(!0){if(oe=c[c.length-1],this.defaultActions[oe])v=this.defaultActions[oe];else{if(q===null||typeof q>"u")q=nt();v=Le[oe]&&Le[oe][q]}if(typeof v>"u"||!v.length||!v[0]){var Qe="";Fe=[];for(Me in Le[oe])if(this.terminals_[Me]&&Me>ct)Fe.push("'"+this.terminals_[Me]+"'");if(_.showPosition)Qe="Parse error on line "+(Oe+1)+`:
|
|
2
2
|
`+_.showPosition()+`
|
|
3
|
-
Expecting `+Fe.join(", ")+", got '"+(this.terminals_[q]||q)+"'";else Qe="Parse error on line "+(Oe+1)+": Unexpected "+(q==rt?"end of input":"'"+(this.terminals_[q]||q)+"'");this.parseError(Qe,{text:_.match,token:this.terminals_[q]||q,line:_.yylineno,loc:Ue,expected:Fe})}if(v[0]instanceof Array&&v.length>1)throw Error("Parse Error: multiple actions possible at state: "+oe+", token: "+q);switch(v[0]){case 1:if(c.push(q),p.push(_.yytext),s.push(_.yylloc),c.push(v[1]),q=null,!Ye){if(st=_.yyleng,o=_.yytext,Oe=_.yylineno,Ue=_.yylloc,it>0)it--}else q=Ye,Ye=null;break;case 2:if(
|
|
3
|
+
Expecting `+Fe.join(", ")+", got '"+(this.terminals_[q]||q)+"'";else Qe="Parse error on line "+(Oe+1)+": Unexpected "+(q==rt?"end of input":"'"+(this.terminals_[q]||q)+"'");this.parseError(Qe,{text:_.match,token:this.terminals_[q]||q,line:_.yylineno,loc:Ue,expected:Fe})}if(v[0]instanceof Array&&v.length>1)throw Error("Parse Error: multiple actions possible at state: "+oe+", token: "+q);switch(v[0]){case 1:if(c.push(q),p.push(_.yytext),s.push(_.yylloc),c.push(v[1]),q=null,!Ye){if(st=_.yyleng,o=_.yytext,Oe=_.yylineno,Ue=_.yylloc,it>0)it--}else q=Ye,Ye=null;break;case 2:if(z=this.productions_[v[1]][1],he.$=p[p.length-z],he._$={first_line:s[s.length-(z||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(z||1)].first_column,last_column:s[s.length-1].last_column},ut)he._$.range=[s[s.length-(z||1)].range[0],s[s.length-1].range[1]];if(Be=this.performAction.apply(he,[o,st,Oe,le.yy,v[1],p,s].concat(ht)),typeof Be<"u")return Be;if(z)c=c.slice(0,-1*z*2),p=p.slice(0,-1*z),s=s.slice(0,-1*z);c.push(this.productions_[v[1]][0]),p.push(he.$),s.push(he._$),at=Le[c[c.length-2]][c[c.length-1]],c.push(at);break;case 3:return!0}}return!0},"parse")},ot=function(){var X={EOF:1,parseError:e(function(l,c){if(this.yy.parser)this.yy.parser.parseError(l,c);else throw Error(l)},"parseError"),setInput:e(function(a,l){if(this.yy=l||this.yy||{},this._input=a,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:e(function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var l=a.match(/(?:\r\n?|\n).*/g);if(l)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),a},"input"),unput:e(function(a){var l=a.length,c=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var i=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1)this.yylineno-=c.length-1;var p=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===i.length?this.yylloc.first_column:0)+i[i.length-c.length].length-c[0].length:this.yylloc.first_column-l},this.options.ranges)this.yylloc.range=[p[0],p[0]+this.yyleng-l];return this.yyleng=this.yytext.length,this},"unput"),more:e(function(){return this._more=!0,this},"more"),reject:e(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:e(function(a){this.unput(this.match.slice(a))},"less"),pastInput:e(function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:e(function(){var a=this.match;if(a.length<20)a+=this._input.substr(0,20-a.length);return(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:e(function(){var a=this.pastInput(),l=Array(a.length+1).join("-");return a+this.upcomingInput()+`
|
|
5
5
|
`+l+"^"},"showPosition"),test_match:e(function(a,l){var c,i,p;if(this.options.backtrack_lexer){if(p={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)p.yylloc.range=this.yylloc.range.slice(0)}if(i=a[0].match(/(?:\r\n?|\n).*/g),i)this.yylineno+=i.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],c=this.performAction.call(this,this.yy,this,l,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(c)return c;else if(this._backtrack){for(var s in p)this[s]=p[s];return!1}return!1},"test_match"),next:e(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var a,l,c,i;if(!this._more)this.yytext="",this.match="";var p=this._currentRules();for(var s=0;s<p.length;s++)if(c=this._input.match(this.rules[p[s]]),c&&(!l||c[0].length>l[0].length)){if(l=c,i=s,this.options.backtrack_lexer)if(a=this.test_match(c,p[s]),a!==!1)return a;else if(this._backtrack){l=!1;continue}else return!1;else if(!this.options.flex)break}if(l){if(a=this.test_match(l,p[i]),a!==!1)return a;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
-
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:e(function(){var l=this.next();if(l)return l;else return this.lex()},"lex"),begin:e(function(l){this.conditionStack.push(l)},"begin"),popState:e(function(){var l=this.conditionStack.length-1;if(l>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:e(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:e(function(l){if(l=this.conditionStack.length-1-Math.abs(l||0),l>=0)return this.conditionStack[l];else return"INITIAL"},"topState"),pushState:e(function(l){this.begin(l)},"pushState"),stateStackSize:e(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:e(function(l,c,i,p){var s=p;switch(i){case 0:return"title";case 1:return this.begin("acc_title"),9;break;case 2:return this.popState(),"acc_title_value";break;case 3:return this.begin("acc_descr"),11;break;case 4:return this.popState(),"acc_descr_value";break;case 5:this.begin("acc_descr_multiline");break;case 6:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:return 21;case 9:return 22;case 10:return 23;case 11:return 24;case 12:return 5;case 13:break;case 14:break;case 15:break;case 16:return 8;case 17:return 6;case 18:return 27;case 19:return 40;case 20:return 29;case 21:return 32;case 22:return 31;case 23:return 34;case 24:return 36;case 25:return 38;case 26:return 41;case 27:return 42;case 28:return 43;case 29:return 44;case 30:return 45;case 31:return 46;case 32:return 47;case 33:return 48;case 34:return 49;case 35:return 50;case 36:return 51;case 37:return 52;case 38:return 53;case 39:return 54;case 40:return 65;case 41:return 66;case 42:return 67;case 43:return 68;case 44:return 69;case 45:return 70;case 46:return 71;case 47:return 57;case 48:return 59;case 49:return this.begin("style"),77;break;case 50:return 75;case 51:return 81;case 52:return 88;case 53:return"PERCENT";case 54:return 86;case 55:return 84;case 56:break;case 57:this.begin("string");break;case 58:this.popState();break;case 59:return this.begin("style"),72;break;case 60:return this.begin("style"),74;break;case 61:return 61;case 62:return 64;case 63:return 63;case 64:this.begin("string");break;case 65:this.popState();break;case 66:return"qString";case 67:return c.yytext=c.yytext.trim(),89;break;case 68:return 75;case 69:return 80;case 70:return 76}},"anonymous"),rules:[/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::{3})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:style\b)/i,/^(?:\w+)/i,/^(?::)/i,/^(?:;)/i,/^(?:%)/i,/^(?:-)/i,/^(?:#)/i,/^(?: )/i,/^(?:["])/i,/^(?:\n)/i,/^(?:classDef\b)/i,/^(?:class\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^:,\r\n\{\<\>\-\=]*)/i,/^(?:\w+)/i,/^(?:[0-9]+)/i,/^(?:,)/i],conditions:{acc_descr_multiline:{rules:[6,7,68,69,70],inclusive:!1},acc_descr:{rules:[4,68,69,70],inclusive:!1},acc_title:{rules:[2,68,69,70],inclusive:!1},style:{rules:[50,51,52,53,54,55,56,57,58,68,69,70],inclusive:!1},unqString:{rules:[68,69,70],inclusive:!1},token:{rules:[68,69,70],inclusive:!1},string:{rules:[65,66,68,69,70],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,59,60,61,62,63,64,67,68,69,70],inclusive:!0}}};return X}();$e.lexer=ot;function De(){this.yy={}}return e(De,"Parser"),De.prototype=$e,$e.Parser=De,new De}();He.parser=He;var ft=He,dt=class{constructor(){this.relations=[],this.latestRequirement=this.getInitialRequirement(),this.requirements=new Map,this.latestElement=this.getInitialElement(),this.elements=new Map,this.classes=new Map,this.direction="TB",this.RequirementType={REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"},this.RiskLevel={LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"},this.VerifyType={VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"},this.Relationships={CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"},this.setAccTitle=L,this.getAccTitle=R,this.setAccDescription=I,this.getAccDescription=M,this.setDiagramTitle=D,this.getDiagramTitle=O,this.getConfig=e(()=>u().requirement,"getConfig"),this.clear(),this.setDirection=this.setDirection.bind(this),this.addRequirement=this.addRequirement.bind(this),this.setNewReqId=this.setNewReqId.bind(this),this.setNewReqRisk=this.setNewReqRisk.bind(this),this.setNewReqText=this.setNewReqText.bind(this),this.setNewReqVerifyMethod=this.setNewReqVerifyMethod.bind(this),this.addElement=this.addElement.bind(this),this.setNewElementType=this.setNewElementType.bind(this),this.setNewElementDocRef=this.setNewElementDocRef.bind(this),this.addRelationship=this.addRelationship.bind(this),this.setCssStyle=this.setCssStyle.bind(this),this.setClass=this.setClass.bind(this),this.defineClass=this.defineClass.bind(this),this.setAccTitle=this.setAccTitle.bind(this),this.setAccDescription=this.setAccDescription.bind(this)}static{e(this,"RequirementDB")}getDirection(){return this.direction}setDirection(t){this.direction=t}resetLatestRequirement(){this.latestRequirement=this.getInitialRequirement()}resetLatestElement(){this.latestElement=this.getInitialElement()}getInitialRequirement(){return{requirementId:"",text:"",risk:"",verifyMethod:"",name:"",type:"",cssStyles:[],classes:["default"]}}getInitialElement(){return{name:"",type:"",docRef:"",cssStyles:[],classes:["default"]}}addRequirement(t,d){if(!this.requirements.has(t))this.requirements.set(t,{name:t,type:d,requirementId:this.latestRequirement.requirementId,text:this.latestRequirement.text,risk:this.latestRequirement.risk,verifyMethod:this.latestRequirement.verifyMethod,cssStyles:[],classes:["default"]});return this.resetLatestRequirement(),this.requirements.get(t)}getRequirements(){return this.requirements}setNewReqId(t){if(this.latestRequirement!==void 0)this.latestRequirement.requirementId=t}setNewReqText(t){if(this.latestRequirement!==void 0)this.latestRequirement.text=t}setNewReqRisk(t){if(this.latestRequirement!==void 0)this.latestRequirement.risk=t}setNewReqVerifyMethod(t){if(this.latestRequirement!==void 0)this.latestRequirement.verifyMethod=t}addElement(t){if(!this.elements.has(t))this.elements.set(t,{name:t,type:this.latestElement.type,docRef:this.latestElement.docRef,cssStyles:[],classes:["default"]}),n.info("Added new element: ",t);return this.resetLatestElement(),this.elements.get(t)}getElements(){return this.elements}setNewElementType(t){if(this.latestElement!==void 0)this.latestElement.type=t}setNewElementDocRef(t){if(this.latestElement!==void 0)this.latestElement.docRef=t}addRelationship(t,d,f){this.relations.push({type:t,src:d,dst:f})}getRelationships(){return this.relations}clear(){this.relations=[],this.resetLatestRequirement(),this.requirements=new Map,this.resetLatestElement(),this.elements=new Map,this.classes=new Map,A()}setCssStyle(t,d){for(let f of t){let m=this.requirements.get(f)??this.elements.get(f);if(!d||!m)return;for(let r of d)if(r.includes(","))m.cssStyles.push(...r.split(","));else m.cssStyles.push(r)}}setClass(t,d){for(let f of t){let m=this.requirements.get(f)??this.elements.get(f);if(m)for(let r of d){m.classes.push(r);let h=this.classes.get(r)?.styles;if(h)m.cssStyles.push(...h)}}}defineClass(t,d){for(let f of t){let m=this.classes.get(f);if(m===void 0)m={id:f,styles:[],textStyles:[]},this.classes.set(f,m);if(d)d.forEach(function(r){if(/color/.exec(r)){let h=r.replace("fill","bgFill");m.textStyles.push(h)}m.styles.push(r)});this.requirements.forEach((r)=>{if(r.classes.includes(f))r.cssStyles.push(...d.flatMap((h)=>h.split(",")))}),this.elements.forEach((r)=>{if(r.classes.includes(f))r.cssStyles.push(...d.flatMap((h)=>h.split(",")))})}}getClasses(){return this.classes}getData(){let t=u(),d=[],f=[];for(let r of this.requirements.values()){let h=r;h.id=r.name,h.cssStyles=r.cssStyles,h.cssClasses=r.classes.join(" "),h.shape="requirementBox",h.look=t.look,h.colorIndex=d.length,d.push(h)}for(let r of this.elements.values()){let h=r;h.shape="requirementBox",h.look=t.look,h.id=r.name,h.cssStyles=r.cssStyles,h.cssClasses=r.classes.join(" "),h.colorIndex=d.length,d.push(h)}let m=0;for(let r of this.relations){let h=r.type===this.Relationships.CONTAINS,S={id:`${r.src}-${r.dst}-${m++}`,start:this.requirements.get(r.src)?.name??this.elements.get(r.src)?.name,end:this.requirements.get(r.dst)?.name??this.elements.get(r.dst)?.name,label:`<<${r.type}>>`,classes:"relationshipLine",style:["fill:none",h?"":"stroke-dasharray: 10,7"],labelpos:"c",thickness:"normal",type:"normal",pattern:h?"normal":"dashed",arrowTypeStart:h?"requirement_contains":"",arrowTypeEnd:h?"":"requirement_arrow",look:t.look,labelType:"markdown"};f.push(S)}return{nodes:d,edges:f,other:{},config:t,direction:this.getDirection()}}},pt=e(()=>{let t=k(),{theme:d,themeVariables:f}=t,{bkgColorArray:m,borderColorArray:r}=f;if(!he(d,r))return"";let h=pe(t.look),S="",C=ve(m);for(let E=0;E<Ct(r);E++){let T=r[E],N=C?`fill: ${m[E%m.length]};`:"";S+=`
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:e(function(){var l=this.next();if(l)return l;else return this.lex()},"lex"),begin:e(function(l){this.conditionStack.push(l)},"begin"),popState:e(function(){var l=this.conditionStack.length-1;if(l>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:e(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:e(function(l){if(l=this.conditionStack.length-1-Math.abs(l||0),l>=0)return this.conditionStack[l];else return"INITIAL"},"topState"),pushState:e(function(l){this.begin(l)},"pushState"),stateStackSize:e(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:e(function(l,c,i,p){var s=p;switch(i){case 0:return"title";case 1:return this.begin("acc_title"),9;break;case 2:return this.popState(),"acc_title_value";break;case 3:return this.begin("acc_descr"),11;break;case 4:return this.popState(),"acc_descr_value";break;case 5:this.begin("acc_descr_multiline");break;case 6:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:return 21;case 9:return 22;case 10:return 23;case 11:return 24;case 12:return 5;case 13:break;case 14:break;case 15:break;case 16:return 8;case 17:return 6;case 18:return 27;case 19:return 40;case 20:return 29;case 21:return 32;case 22:return 31;case 23:return 34;case 24:return 36;case 25:return 38;case 26:return 41;case 27:return 42;case 28:return 43;case 29:return 44;case 30:return 45;case 31:return 46;case 32:return 47;case 33:return 48;case 34:return 49;case 35:return 50;case 36:return 51;case 37:return 52;case 38:return 53;case 39:return 54;case 40:return 65;case 41:return 66;case 42:return 67;case 43:return 68;case 44:return 69;case 45:return 70;case 46:return 71;case 47:return 57;case 48:return 59;case 49:return this.begin("style"),77;break;case 50:return 75;case 51:return 81;case 52:return 88;case 53:return"PERCENT";case 54:return 86;case 55:return 84;case 56:break;case 57:this.begin("string");break;case 58:this.popState();break;case 59:return this.begin("style"),72;break;case 60:return this.begin("style"),74;break;case 61:return 61;case 62:return 64;case 63:return 63;case 64:this.begin("string");break;case 65:this.popState();break;case 66:return"qString";case 67:return c.yytext=c.yytext.trim(),89;break;case 68:return 75;case 69:return 80;case 70:return 76}},"anonymous"),rules:[/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::{3})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:style\b)/i,/^(?:\w+)/i,/^(?::)/i,/^(?:;)/i,/^(?:%)/i,/^(?:-)/i,/^(?:#)/i,/^(?: )/i,/^(?:["])/i,/^(?:\n)/i,/^(?:classDef\b)/i,/^(?:class\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^:,\r\n\{\<\>\-\=]*)/i,/^(?:\w+)/i,/^(?:[0-9]+)/i,/^(?:,)/i],conditions:{acc_descr_multiline:{rules:[6,7,68,69,70],inclusive:!1},acc_descr:{rules:[4,68,69,70],inclusive:!1},acc_title:{rules:[2,68,69,70],inclusive:!1},style:{rules:[50,51,52,53,54,55,56,57,58,68,69,70],inclusive:!1},unqString:{rules:[68,69,70],inclusive:!1},token:{rules:[68,69,70],inclusive:!1},string:{rules:[65,66,68,69,70],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,59,60,61,62,63,64,67,68,69,70],inclusive:!0}}};return X}();$e.lexer=ot;function De(){this.yy={}}return e(De,"Parser"),De.prototype=$e,$e.Parser=De,new De}();He.parser=He;var ft=He,dt=class{constructor(){this.relations=[],this.latestRequirement=this.getInitialRequirement(),this.requirements=new Map,this.latestElement=this.getInitialElement(),this.elements=new Map,this.classes=new Map,this.direction="TB",this.RequirementType={REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"},this.RiskLevel={LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"},this.VerifyType={VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"},this.Relationships={CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"},this.setAccTitle=L,this.getAccTitle=R,this.setAccDescription=I,this.getAccDescription=M,this.setDiagramTitle=P,this.getDiagramTitle=O,this.getConfig=e(()=>u().requirement,"getConfig"),this.clear(),this.setDirection=this.setDirection.bind(this),this.addRequirement=this.addRequirement.bind(this),this.setNewReqId=this.setNewReqId.bind(this),this.setNewReqRisk=this.setNewReqRisk.bind(this),this.setNewReqText=this.setNewReqText.bind(this),this.setNewReqVerifyMethod=this.setNewReqVerifyMethod.bind(this),this.addElement=this.addElement.bind(this),this.setNewElementType=this.setNewElementType.bind(this),this.setNewElementDocRef=this.setNewElementDocRef.bind(this),this.addRelationship=this.addRelationship.bind(this),this.setCssStyle=this.setCssStyle.bind(this),this.setClass=this.setClass.bind(this),this.defineClass=this.defineClass.bind(this),this.setAccTitle=this.setAccTitle.bind(this),this.setAccDescription=this.setAccDescription.bind(this)}static{e(this,"RequirementDB")}getDirection(){return this.direction}setDirection(t){this.direction=t}resetLatestRequirement(){this.latestRequirement=this.getInitialRequirement()}resetLatestElement(){this.latestElement=this.getInitialElement()}getInitialRequirement(){return{requirementId:"",text:"",risk:"",verifyMethod:"",name:"",type:"",cssStyles:[],classes:["default"]}}getInitialElement(){return{name:"",type:"",docRef:"",cssStyles:[],classes:["default"]}}addRequirement(t,d){if(!this.requirements.has(t))this.requirements.set(t,{name:t,type:d,requirementId:this.latestRequirement.requirementId,text:this.latestRequirement.text,risk:this.latestRequirement.risk,verifyMethod:this.latestRequirement.verifyMethod,cssStyles:[],classes:["default"]});return this.resetLatestRequirement(),this.requirements.get(t)}getRequirements(){return this.requirements}setNewReqId(t){if(this.latestRequirement!==void 0)this.latestRequirement.requirementId=t}setNewReqText(t){if(this.latestRequirement!==void 0)this.latestRequirement.text=t}setNewReqRisk(t){if(this.latestRequirement!==void 0)this.latestRequirement.risk=t}setNewReqVerifyMethod(t){if(this.latestRequirement!==void 0)this.latestRequirement.verifyMethod=t}addElement(t){if(!this.elements.has(t))this.elements.set(t,{name:t,type:this.latestElement.type,docRef:this.latestElement.docRef,cssStyles:[],classes:["default"]}),n.info("Added new element: ",t);return this.resetLatestElement(),this.elements.get(t)}getElements(){return this.elements}setNewElementType(t){if(this.latestElement!==void 0)this.latestElement.type=t}setNewElementDocRef(t){if(this.latestElement!==void 0)this.latestElement.docRef=t}addRelationship(t,d,f){this.relations.push({type:t,src:d,dst:f})}getRelationships(){return this.relations}clear(){this.relations=[],this.resetLatestRequirement(),this.requirements=new Map,this.resetLatestElement(),this.elements=new Map,this.classes=new Map,A()}setCssStyle(t,d){for(let f of t){let m=this.requirements.get(f)??this.elements.get(f);if(!d||!m)return;for(let r of d)if(r.includes(","))m.cssStyles.push(...r.split(","));else m.cssStyles.push(r)}}setClass(t,d){for(let f of t){let m=this.requirements.get(f)??this.elements.get(f);if(m)for(let r of d){m.classes.push(r);let h=this.classes.get(r)?.styles;if(h)m.cssStyles.push(...h)}}}defineClass(t,d){for(let f of t){let m=this.classes.get(f);if(m===void 0)m={id:f,styles:[],textStyles:[]},this.classes.set(f,m);if(d)d.forEach(function(r){if(/color/.exec(r)){let h=r.replace("fill","bgFill");m.textStyles.push(h)}m.styles.push(r)});this.requirements.forEach((r)=>{if(r.classes.includes(f))r.cssStyles.push(...d.flatMap((h)=>h.split(",")))}),this.elements.forEach((r)=>{if(r.classes.includes(f))r.cssStyles.push(...d.flatMap((h)=>h.split(",")))})}}getClasses(){return this.classes}getData(){let t=u(),d=[],f=[];for(let r of this.requirements.values()){let h=r;h.id=r.name,h.cssStyles=r.cssStyles,h.cssClasses=r.classes.join(" "),h.shape="requirementBox",h.look=t.look,h.colorIndex=d.length,d.push(h)}for(let r of this.elements.values()){let h=r;h.shape="requirementBox",h.look=t.look,h.id=r.name,h.cssStyles=r.cssStyles,h.cssClasses=r.classes.join(" "),h.colorIndex=d.length,d.push(h)}let m=0;for(let r of this.relations){let h=r.type===this.Relationships.CONTAINS,S={id:`${r.src}-${r.dst}-${m++}`,start:this.requirements.get(r.src)?.name??this.elements.get(r.src)?.name,end:this.requirements.get(r.dst)?.name??this.elements.get(r.dst)?.name,label:`<<${r.type}>>`,classes:"relationshipLine",style:["fill:none",h?"":"stroke-dasharray: 10,7"],labelpos:"c",thickness:"normal",type:"normal",pattern:h?"normal":"dashed",arrowTypeStart:h?"requirement_contains":"",arrowTypeEnd:h?"":"requirement_arrow",look:t.look,labelType:"markdown"};f.push(S)}return{nodes:d,edges:f,other:{},config:t,direction:this.getDirection()}}},pt=e(()=>{let t=k(),{theme:d,themeVariables:f}=t,{bkgColorArray:m,borderColorArray:r}=f;if(!de(d,r))return"";let h=fe(t.look),S="",C=ge(m);for(let E=0;E<Tt(r);E++){let T=r[E],N=C?`fill: ${m[E%m.length]};`:"";S+=`
|
|
7
7
|
|
|
8
8
|
[data-look="${h}"][data-color-id="color-${E}"].node path {
|
|
9
9
|
stroke: ${T};
|
|
@@ -81,4 +81,4 @@ Expecting `+Fe.join(", ")+", got '"+(this.terminals_[q]||q)+"'";else Qe="Parse e
|
|
|
81
81
|
background-color: ${r??t.edgeLabelBackground};
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
`},"getStyles"),bt=Et,lt={};
|
|
84
|
+
`},"getStyles"),bt=Et,lt={};ur(lt,{draw:()=>Rt});var Rt=e(async function(t,d,f,m){n.info("REF0:"),n.info("Drawing requirement diagram (unified)",d);let{securityLevel:r,state:h,layout:S,look:C}=u(),E=m.db.getData(),T=Ce(d,r);E.type=m.type,E.layoutAlgorithm=Ee(S),E.nodeSpacing=h?.nodeSpacing??50,E.rankSpacing=h?.rankSpacing??50,E.markers=C==="neo"?["requirement_contains_neo","requirement_arrow_neo"]:["requirement_contains","requirement_arrow"],E.diagramId=d,await Se(E,T);let N=8;F.insertTitle(T,"requirementDiagramTitleText",h?.titleTopMargin??25,m.db.getDiagramTitle()),pe(T,N,"requirementDiagram",h?.useMaxWidth??!0)},"draw"),Mt={parser:ft,get db(){return new dt},renderer:lt,styles:bt};export{Mt as diagram};
|
package/dist/chunks/{sankeyDiagram-FBCJTAIF.40yzed7d.js → sankeyDiagram-FBCJTAIF.csj5n1sg.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import{e,y,Tt,A,L,R,I,M,D,O,u,Kr,m}from"./index.yfbwd99n.js";import{an,It,ol,Li,Rt}from"./index.a6rz456z.js";function _(a){var c=a.length/6|0,d=Array(c),o=0;while(o<c)d[o]="#"+a.slice(o*6,++o*6);return d}var ja=_("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),Va=_("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),Fa=_("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),Wa=_("4269d0efb118ff725c6cc5b03ca951ff8ab7a463f297bbf59c6b4e9498a0"),Ua=_("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),qa=_("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),Ha=_("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),Xa=_("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),Ja=_("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),Qa=_("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),Ee=_("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"),C=(a)=>ol(a[a.length-1]),Ye=[,,,].concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(_),Ka=C(Ye),De=[,,,].concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(_),Za=C(De),ze=[,,,].concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(_),ef=C(ze),je=[,,,].concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(_),af=C(je),Ve=[,,,].concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(_),ff=C(Ve),Fe=[,,,].concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(_),tf=C(Fe),We=[,,,].concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(_),cf=C(We),Ue=[,,,].concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(_),rf=C(Ue),qe=[,,,].concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(_),df=C(qe),He=[,,,].concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(_),nf=C(He),Xe=[,,,].concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(_),sf=C(Xe),Je=[,,,].concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(_),of=C(Je),Qe=[,,,].concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(_),bf=C(Qe),Ke=[,,,].concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(_),lf=C(Ke),Ze=[,,,].concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(_),uf=C(Ze),ea=[,,,].concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(_),hf=C(ea),aa=[,,,].concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(_),pf=C(aa),fa=[,,,].concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(_),mf=C(fa),ta=[,,,].concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(_),yf=C(ta),ca=[,,,].concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(_),gf=C(ca),ra=[,,,].concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(_),xf=C(ra),da=[,,,].concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(_),vf=C(da),na=[,,,].concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(_),kf=C(na),sa=[,,,].concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(_),_f=C(sa),oa=[,,,].concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(_),wf=C(oa),ia=[,,,].concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(_),Sf=C(ia),ba=[,,,].concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(_),Af=C(ba);var Lf=Li(It(300,0.5,0),It(-240,0.5,1)),Mf=Li(It(-100,0.75,0.35),It(80,1.5,0.8)),Pf=Li(It(260,0.75,0.35),It(80,1.5,0.8)),Ef=It();var Cf=an(),Of=Math.PI/3,Rf=Math.PI*2/3;function oe(a){var c=a.length;return function(d){return a[Math.max(0,Math.min(c-1,Math.floor(d*c)))]}}var Bf=oe(_("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),Tf=oe(_("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),$f=oe(_("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),Gf=oe(_("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function ne(a,c){let d;if(c===void 0){for(let o of a)if(o!=null&&(d<o||d===void 0&&o>=o))d=o}else{let o=-1;for(let b of a)if((b=c(b,++o,a))!=null&&(d<b||d===void 0&&b>=b))d=b}return d}function te(a,c){let d;if(c===void 0){for(let o of a)if(o!=null&&(d>o||d===void 0&&o>=o))d=o}else{let o=-1;for(let b of a)if((b=c(b,++o,a))!=null&&(d>b||d===void 0&&b>=b))d=b}return d}function ce(a,c){let d=0;if(c===void 0){for(let o of a)if(o=+o)d+=o}else{let o=-1;for(let b of a)if(b=+c(b,++o,a))d+=b}return d}function la(a){return a.target.depth}function xe(a){return a.depth}function ve(a,c){return c-1-a.height}function se(a,c){return a.sourceLinks.length?a.depth:c-1}function ke(a){return a.targetLinks.length?a.depth:a.sourceLinks.length?te(a.sourceLinks,la)-1:0}function re(a){return function(){return a}}function Ce(a,c){return ie(a.source,c.source)||a.index-c.index}function Oe(a,c){return ie(a.target,c.target)||a.index-c.index}function ie(a,c){return a.y0-c.y0}function _e(a){return a.value}function ua(a){return a.index}function ha(a){return a.nodes}function pa(a){return a.links}function Re(a,c){let d=a.get(c);if(!d)throw Error("missing: "+c);return d}function Be({nodes:a}){for(let c of a){let d=c.y0,o=d;for(let b of c.sourceLinks)b.y0=d+b.width/2,d+=b.width;for(let b of c.targetLinks)b.y1=o+b.width/2,o+=b.width}}function be(){let a=0,c=0,d=1,o=1,b=24,S=8,g,v=ua,n=se,s,l,k=ha,w=pa,p=6;function P(){let f={nodes:k.apply(null,arguments),links:w.apply(null,arguments)};return Y(f),N(f),j(f),V(f),H(f),Be(f),f}P.update=function(f){return Be(f),f},P.nodeId=function(f){return arguments.length?(v=typeof f==="function"?f:re(f),P):v},P.nodeAlign=function(f){return arguments.length?(n=typeof f==="function"?f:re(f),P):n},P.nodeSort=function(f){return arguments.length?(s=f,P):s},P.nodeWidth=function(f){return arguments.length?(b=+f,P):b},P.nodePadding=function(f){return arguments.length?(S=g=+f,P):S},P.nodes=function(f){return arguments.length?(k=typeof f==="function"?f:re(f),P):k},P.links=function(f){return arguments.length?(w=typeof f==="function"?f:re(f),P):w},P.linkSort=function(f){return arguments.length?(l=f,P):l},P.size=function(f){return arguments.length?(a=c=0,d=+f[0],o=+f[1],P):[d-a,o-c]},P.extent=function(f){return arguments.length?(a=+f[0][0],d=+f[1][0],c=+f[0][1],o=+f[1][1],P):[[a,c],[d,o]]},P.iterations=function(f){return arguments.length?(p=+f,P):p};function Y({nodes:f,links:i}){for(let[t,r]of f.entries())r.index=t,r.sourceLinks=[],r.targetLinks=[];let h=new Map(f.map((t,r)=>[v(t,r,f),t]));for(let[t,r]of i.entries()){r.index=t;let{source:x,target:E}=r;if(typeof x!=="object")x=r.source=Re(h,x);if(typeof E!=="object")E=r.target=Re(h,E);x.sourceLinks.push(r),E.targetLinks.push(r)}if(l!=null)for(let{sourceLinks:t,targetLinks:r}of f)t.sort(l),r.sort(l)}function N({nodes:f}){for(let i of f)i.value=i.fixedValue===void 0?Math.max(ce(i.sourceLinks,_e),ce(i.targetLinks,_e)):i.fixedValue}function j({nodes:f}){let i=f.length,h=new Set(f),t=new Set,r=0;while(h.size){for(let x of h){x.depth=r;for(let{target:E}of x.sourceLinks)t.add(E)}if(++r>i)throw Error("circular link");h=t,t=new Set}}function V({nodes:f}){let i=f.length,h=new Set(f),t=new Set,r=0;while(h.size){for(let x of h){x.height=r;for(let{source:E}of x.targetLinks)t.add(E)}if(++r>i)throw Error("circular link");h=t,t=new Set}}function F({nodes:f}){let i=ne(f,(r)=>r.depth)+1,h=(d-a-b)/(i-1),t=Array(i);for(let r of f){let x=Math.max(0,Math.min(i-1,Math.floor(n.call(null,r,i))));if(r.layer=x,r.x0=a+x*h,r.x1=r.x0+b,t[x])t[x].push(r);else t[x]=[r]}if(s)for(let r of t)r.sort(s);return t}function q(f){let i=te(f,(h)=>(o-c-(h.length-1)*g)/ce(h,_e));for(let h of f){let t=c;for(let r of h){r.y0=t,r.y1=t+r.value*i,t=r.y1+g;for(let x of r.sourceLinks)x.width=x.value*i}t=(o-t+g)/(h.length+1);for(let r=0;r<h.length;++r){let x=h[r];x.y0+=t*(r+1),x.y1+=t*(r+1)}ee(h)}}function H(f){let i=F(f);g=Math.min(S,(o-c)/(ne(i,(h)=>h.length)-1)),q(i);for(let h=0;h<p;++h){let t=Math.pow(0.99,h),r=Math.max(1-t,(h+1)/p);W(i,t,r),B(i,t,r)}}function B(f,i,h){for(let t=1,r=f.length;t<r;++t){let x=f[t];for(let E of x){let Z=0,z=0;for(let{source:G,value:ge}of E.targetLinks){let de=ge*(E.layer-G.layer);Z+=T(G,E)*de,z+=de}if(!(z>0))continue;let J=(Z/z-E.y0)*i;E.y0+=J,E.y1+=J,fe(E)}if(s===void 0)x.sort(ie);Q(x,h)}}function W(f,i,h){for(let t=f.length,r=t-2;r>=0;--r){let x=f[r];for(let E of x){let Z=0,z=0;for(let{target:G,value:ge}of E.sourceLinks){let de=ge*(G.layer-E.layer);Z+=X(E,G)*de,z+=de}if(!(z>0))continue;let J=(Z/z-E.y0)*i;E.y0+=J,E.y1+=J,fe(E)}if(s===void 0)x.sort(ie);Q(x,h)}}function Q(f,i){let h=f.length>>1,t=f[h];U(f,t.y0-g,h-1,i),K(f,t.y1+g,h+1,i),U(f,o,f.length-1,i),K(f,c,0,i)}function K(f,i,h,t){for(;h<f.length;++h){let r=f[h],x=(i-r.y0)*t;if(x>0.000001)r.y0+=x,r.y1+=x;i=r.y1+g}}function U(f,i,h,t){for(;h>=0;--h){let r=f[h],x=(r.y1-i)*t;if(x>0.000001)r.y0-=x,r.y1-=x;i=r.y0-g}}function fe({sourceLinks:f,targetLinks:i}){if(l===void 0){for(let{source:{sourceLinks:h}}of i)h.sort(Oe);for(let{target:{targetLinks:h}}of f)h.sort(Ce)}}function ee(f){if(l===void 0)for(let{sourceLinks:i,targetLinks:h}of f)i.sort(Oe),h.sort(Ce)}function T(f,i){let h=f.y0-(f.sourceLinks.length-1)*g/2;for(let{target:t,width:r}of f.sourceLinks){if(t===i)break;h+=r+g}for(let{source:t,width:r}of i.targetLinks){if(t===f)break;h-=r}return h}function X(f,i){let h=i.y0-(i.targetLinks.length-1)*g/2;for(let{source:t,width:r}of i.targetLinks){if(t===f)break;h+=r+g}for(let{target:t,width:r}of f.sourceLinks){if(t===i)break;h-=r}return h}return P}var we=Math.PI,Se=2*we,ae=0.000001,ma=Se-ae;function Ae(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Te(){return new Ae}Ae.prototype=Te.prototype={constructor:Ae,moveTo:function(a,c){this._+="M"+(this._x0=this._x1=+a)+","+(this._y0=this._y1=+c)},closePath:function(){if(this._x1!==null)this._x1=this._x0,this._y1=this._y0,this._+="Z"},lineTo:function(a,c){this._+="L"+(this._x1=+a)+","+(this._y1=+c)},quadraticCurveTo:function(a,c,d,o){this._+="Q"+ +a+","+ +c+","+(this._x1=+d)+","+(this._y1=+o)},bezierCurveTo:function(a,c,d,o,b,S){this._+="C"+ +a+","+ +c+","+ +d+","+ +o+","+(this._x1=+b)+","+(this._y1=+S)},arcTo:function(a,c,d,o,b){a=+a,c=+c,d=+d,o=+o,b=+b;var S=this._x1,g=this._y1,v=d-a,n=o-c,s=S-a,l=g-c,k=s*s+l*l;if(b<0)throw Error("negative radius: "+b);if(this._x1===null)this._+="M"+(this._x1=a)+","+(this._y1=c);else if(!(k>ae));else if(!(Math.abs(l*v-n*s)>ae)||!b)this._+="L"+(this._x1=a)+","+(this._y1=c);else{var w=d-S,p=o-g,P=v*v+n*n,Y=w*w+p*p,N=Math.sqrt(P),j=Math.sqrt(k),V=b*Math.tan((we-Math.acos((P+k-Y)/(2*N*j)))/2),F=V/j,q=V/N;if(Math.abs(F-1)>ae)this._+="L"+(a+F*s)+","+(c+F*l);this._+="A"+b+","+b+",0,0,"+ +(l*w>s*p)+","+(this._x1=a+q*v)+","+(this._y1=c+q*n)}},arc:function(a,c,d,o,b,S){a=+a,c=+c,d=+d,S=!!S;var g=d*Math.cos(o),v=d*Math.sin(o),n=a+g,s=c+v,l=1^S,k=S?o-b:b-o;if(d<0)throw Error("negative radius: "+d);if(this._x1===null)this._+="M"+n+","+s;else if(Math.abs(this._x1-n)>ae||Math.abs(this._y1-s)>ae)this._+="L"+n+","+s;if(!d)return;if(k<0)k=k%Se+Se;if(k>ma)this._+="A"+d+","+d+",0,1,"+l+","+(a-g)+","+(c-v)+"A"+d+","+d+",0,1,"+l+","+(this._x1=n)+","+(this._y1=s);else if(k>ae)this._+="A"+d+","+d+",0,"+ +(k>=we)+","+l+","+(this._x1=a+d*Math.cos(b))+","+(this._y1=c+d*Math.sin(b))},rect:function(a,c,d,o){this._+="M"+(this._x0=this._x1=+a)+","+(this._y0=this._y1=+c)+"h"+ +d+"v"+ +o+"h"+-d+"Z"},toString:function(){return this._}};var Le=Te;var $e=Array.prototype.slice;function le(a){return function(){return a}}function Ge(a){return a[0]}function Ie(a){return a[1]}function ya(a){return a.source}function ga(a){return a.target}function xa(a){var c=ya,d=ga,o=Ge,b=Ie,S=null;function g(){var v,n=$e.call(arguments),s=c.apply(this,n),l=d.apply(this,n);if(!S)S=v=Le();if(a(S,+o.apply(this,(n[0]=s,n)),+b.apply(this,n),+o.apply(this,(n[0]=l,n)),+b.apply(this,n)),v)return S=null,v+""||null}return g.source=function(v){return arguments.length?(c=v,g):c},g.target=function(v){return arguments.length?(d=v,g):d},g.x=function(v){return arguments.length?(o=typeof v==="function"?v:le(+v),g):o},g.y=function(v){return arguments.length?(b=typeof v==="function"?v:le(+v),g):b},g.context=function(v){return arguments.length?(S=v==null?null:v,g):S},g}function va(a,c,d,o,b){a.moveTo(c,d),a.bezierCurveTo(c=(c+o)/2,d,c,b,o,b)}function Me(){return xa(va)}function ka(a){return[a.source.x1,a.y0]}function _a(a){return[a.target.x0,a.y1]}function ue(){return Me().source(ka).target(_a)}var Pe=function(){var a=e(function(v,n,s,l){for(s=s||{},l=v.length;l--;s[v[l]]=n);return s},"o"),c=[1,9],d=[1,10],o=[1,5,10,12],b={trace:e(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:e(function(n,s,l,k,w,p,P){var Y=p.length-1;switch(w){case 7:let N=k.findOrCreateNode(p[Y-4].trim().replaceAll('""','"')),j=k.findOrCreateNode(p[Y-2].trim().replaceAll('""','"')),V=parseFloat(p[Y].trim());k.addLink(N,j,V);break;case 8:case 9:case 11:this.$=p[Y];break;case 10:this.$=p[Y-1];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:c,20:d},{1:[2,6],7:11,10:[1,12]},a(d,[2,4],{9:13,5:[1,14]}),{12:[1,15]},a(o,[2,8]),a(o,[2,9]),{19:[1,16]},a(o,[2,11]),{1:[2,1]},{1:[2,5]},a(d,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:c,20:d},{15:18,16:7,17:8,18:c,20:d},{18:[1,19]},a(d,[2,3]),{12:[1,20]},a(o,[2,10]),{15:21,16:7,17:8,18:c,20:d},a([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:e(function(n,s){if(s.recoverable)this.trace(n);else{var l=Error(n);throw l.hash=s,l}},"parseError"),parse:e(function(n){var s=this,l=[0],k=[],w=[null],p=[],P=this.table,Y="",N=0,j=0,V=0,F=2,q=1,H=p.slice.call(arguments,1),B=Object.create(this.lexer),W={yy:{}};for(var Q in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,Q))W.yy[Q]=this.yy[Q];if(B.setInput(n,W.yy),W.yy.lexer=B,W.yy.parser=this,typeof B.yylloc>"u")B.yylloc={};var K=B.yylloc;p.push(K);var U=B.options&&B.options.ranges;if(typeof W.yy.parseError==="function")this.parseError=W.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function fe(G){l.length=l.length-2*G,w.length=w.length-G,p.length=p.length-G}e(fe,"popStack");function ee(){var G=k.pop()||B.lex()||q;if(typeof G!=="number"){if(G instanceof Array)k=G,G=k.pop();G=s.symbols_[G]||G}return G}e(ee,"lex");var T,X,f,i,h,t,r={},x,E,Z,z;while(!0){if(f=l[l.length-1],this.defaultActions[f])i=this.defaultActions[f];else{if(T===null||typeof T>"u")T=ee();i=P[f]&&P[f][T]}if(typeof i>"u"||!i.length||!i[0]){var J="";z=[];for(x in P[f])if(this.terminals_[x]&&x>F)z.push("'"+this.terminals_[x]+"'");if(B.showPosition)J="Parse error on line "+(N+1)+`:
|
|
2
|
-
`+
|
|
3
|
-
Expecting `+z.join(", ")+", got '"+(this.terminals_[
|
|
1
|
+
import{e,y,kt,A,L,R,I,M,P,O,u,Wr,p}from"./index.zkx4ryzt.js";import{on,Lt,sl,Ii,It}from"./index.cw97ff3b.js";function _(a){var c=a.length/6|0,d=Array(c),o=0;while(o<c)d[o]="#"+a.slice(o*6,++o*6);return d}var ja=_("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),Va=_("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),Fa=_("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),Wa=_("4269d0efb118ff725c6cc5b03ca951ff8ab7a463f297bbf59c6b4e9498a0"),Ua=_("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),qa=_("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),Ha=_("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),Xa=_("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),Ja=_("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),Qa=_("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),Ee=_("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"),B=(a)=>sl(a[a.length-1]),Ye=[,,,].concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(_),Ka=B(Ye),De=[,,,].concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(_),Za=B(De),ze=[,,,].concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(_),ef=B(ze),je=[,,,].concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(_),af=B(je),Ve=[,,,].concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(_),ff=B(Ve),Fe=[,,,].concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(_),tf=B(Fe),We=[,,,].concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(_),cf=B(We),Ue=[,,,].concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(_),rf=B(Ue),qe=[,,,].concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(_),df=B(qe),He=[,,,].concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(_),nf=B(He),Xe=[,,,].concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(_),sf=B(Xe),Je=[,,,].concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(_),of=B(Je),Qe=[,,,].concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(_),bf=B(Qe),Ke=[,,,].concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(_),lf=B(Ke),Ze=[,,,].concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(_),uf=B(Ze),ea=[,,,].concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(_),hf=B(ea),aa=[,,,].concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(_),pf=B(aa),fa=[,,,].concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(_),mf=B(fa),ta=[,,,].concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(_),yf=B(ta),ca=[,,,].concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(_),gf=B(ca),ra=[,,,].concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(_),xf=B(ra),da=[,,,].concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(_),vf=B(da),na=[,,,].concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(_),kf=B(na),sa=[,,,].concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(_),_f=B(sa),oa=[,,,].concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(_),wf=B(oa),ia=[,,,].concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(_),Sf=B(ia),ba=[,,,].concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(_),Af=B(ba);var Lf=Ii(Lt(300,0.5,0),Lt(-240,0.5,1)),Mf=Ii(Lt(-100,0.75,0.35),Lt(80,1.5,0.8)),Pf=Ii(Lt(260,0.75,0.35),Lt(80,1.5,0.8)),Ef=Lt();var Cf=on(),Of=Math.PI/3,Rf=Math.PI*2/3;function oe(a){var c=a.length;return function(d){return a[Math.max(0,Math.min(c-1,Math.floor(d*c)))]}}var Bf=oe(_("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),Tf=oe(_("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),$f=oe(_("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),Gf=oe(_("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function ne(a,c){let d;if(c===void 0){for(let o of a)if(o!=null&&(d<o||d===void 0&&o>=o))d=o}else{let o=-1;for(let b of a)if((b=c(b,++o,a))!=null&&(d<b||d===void 0&&b>=b))d=b}return d}function te(a,c){let d;if(c===void 0){for(let o of a)if(o!=null&&(d>o||d===void 0&&o>=o))d=o}else{let o=-1;for(let b of a)if((b=c(b,++o,a))!=null&&(d>b||d===void 0&&b>=b))d=b}return d}function ce(a,c){let d=0;if(c===void 0){for(let o of a)if(o=+o)d+=o}else{let o=-1;for(let b of a)if(b=+c(b,++o,a))d+=b}return d}function la(a){return a.target.depth}function xe(a){return a.depth}function ve(a,c){return c-1-a.height}function se(a,c){return a.sourceLinks.length?a.depth:c-1}function ke(a){return a.targetLinks.length?a.depth:a.sourceLinks.length?te(a.sourceLinks,la)-1:0}function re(a){return function(){return a}}function Ce(a,c){return ie(a.source,c.source)||a.index-c.index}function Oe(a,c){return ie(a.target,c.target)||a.index-c.index}function ie(a,c){return a.y0-c.y0}function _e(a){return a.value}function ua(a){return a.index}function ha(a){return a.nodes}function pa(a){return a.links}function Re(a,c){let d=a.get(c);if(!d)throw Error("missing: "+c);return d}function Be({nodes:a}){for(let c of a){let d=c.y0,o=d;for(let b of c.sourceLinks)b.y0=d+b.width/2,d+=b.width;for(let b of c.targetLinks)b.y1=o+b.width/2,o+=b.width}}function be(){let a=0,c=0,d=1,o=1,b=24,S=8,g,v=ua,n=se,s,l,k=ha,w=pa,m=6;function E(){let f={nodes:k.apply(null,arguments),links:w.apply(null,arguments)};return D(f),Y(f),j(f),V(f),H(f),Be(f),f}E.update=function(f){return Be(f),f},E.nodeId=function(f){return arguments.length?(v=typeof f==="function"?f:re(f),E):v},E.nodeAlign=function(f){return arguments.length?(n=typeof f==="function"?f:re(f),E):n},E.nodeSort=function(f){return arguments.length?(s=f,E):s},E.nodeWidth=function(f){return arguments.length?(b=+f,E):b},E.nodePadding=function(f){return arguments.length?(S=g=+f,E):S},E.nodes=function(f){return arguments.length?(k=typeof f==="function"?f:re(f),E):k},E.links=function(f){return arguments.length?(w=typeof f==="function"?f:re(f),E):w},E.linkSort=function(f){return arguments.length?(l=f,E):l},E.size=function(f){return arguments.length?(a=c=0,d=+f[0],o=+f[1],E):[d-a,o-c]},E.extent=function(f){return arguments.length?(a=+f[0][0],d=+f[1][0],c=+f[0][1],o=+f[1][1],E):[[a,c],[d,o]]},E.iterations=function(f){return arguments.length?(m=+f,E):m};function D({nodes:f,links:i}){for(let[t,r]of f.entries())r.index=t,r.sourceLinks=[],r.targetLinks=[];let h=new Map(f.map((t,r)=>[v(t,r,f),t]));for(let[t,r]of i.entries()){r.index=t;let{source:x,target:C}=r;if(typeof x!=="object")x=r.source=Re(h,x);if(typeof C!=="object")C=r.target=Re(h,C);x.sourceLinks.push(r),C.targetLinks.push(r)}if(l!=null)for(let{sourceLinks:t,targetLinks:r}of f)t.sort(l),r.sort(l)}function Y({nodes:f}){for(let i of f)i.value=i.fixedValue===void 0?Math.max(ce(i.sourceLinks,_e),ce(i.targetLinks,_e)):i.fixedValue}function j({nodes:f}){let i=f.length,h=new Set(f),t=new Set,r=0;while(h.size){for(let x of h){x.depth=r;for(let{target:C}of x.sourceLinks)t.add(C)}if(++r>i)throw Error("circular link");h=t,t=new Set}}function V({nodes:f}){let i=f.length,h=new Set(f),t=new Set,r=0;while(h.size){for(let x of h){x.height=r;for(let{source:C}of x.targetLinks)t.add(C)}if(++r>i)throw Error("circular link");h=t,t=new Set}}function F({nodes:f}){let i=ne(f,(r)=>r.depth)+1,h=(d-a-b)/(i-1),t=Array(i);for(let r of f){let x=Math.max(0,Math.min(i-1,Math.floor(n.call(null,r,i))));if(r.layer=x,r.x0=a+x*h,r.x1=r.x0+b,t[x])t[x].push(r);else t[x]=[r]}if(s)for(let r of t)r.sort(s);return t}function q(f){let i=te(f,(h)=>(o-c-(h.length-1)*g)/ce(h,_e));for(let h of f){let t=c;for(let r of h){r.y0=t,r.y1=t+r.value*i,t=r.y1+g;for(let x of r.sourceLinks)x.width=x.value*i}t=(o-t+g)/(h.length+1);for(let r=0;r<h.length;++r){let x=h[r];x.y0+=t*(r+1),x.y1+=t*(r+1)}ee(h)}}function H(f){let i=F(f);g=Math.min(S,(o-c)/(ne(i,(h)=>h.length)-1)),q(i);for(let h=0;h<m;++h){let t=Math.pow(0.99,h),r=Math.max(1-t,(h+1)/m);W(i,t,r),T(i,t,r)}}function T(f,i,h){for(let t=1,r=f.length;t<r;++t){let x=f[t];for(let C of x){let Z=0,z=0;for(let{source:N,value:ge}of C.targetLinks){let de=ge*(C.layer-N.layer);Z+=G(N,C)*de,z+=de}if(!(z>0))continue;let J=(Z/z-C.y0)*i;C.y0+=J,C.y1+=J,fe(C)}if(s===void 0)x.sort(ie);Q(x,h)}}function W(f,i,h){for(let t=f.length,r=t-2;r>=0;--r){let x=f[r];for(let C of x){let Z=0,z=0;for(let{target:N,value:ge}of C.sourceLinks){let de=ge*(N.layer-C.layer);Z+=X(C,N)*de,z+=de}if(!(z>0))continue;let J=(Z/z-C.y0)*i;C.y0+=J,C.y1+=J,fe(C)}if(s===void 0)x.sort(ie);Q(x,h)}}function Q(f,i){let h=f.length>>1,t=f[h];U(f,t.y0-g,h-1,i),K(f,t.y1+g,h+1,i),U(f,o,f.length-1,i),K(f,c,0,i)}function K(f,i,h,t){for(;h<f.length;++h){let r=f[h],x=(i-r.y0)*t;if(x>0.000001)r.y0+=x,r.y1+=x;i=r.y1+g}}function U(f,i,h,t){for(;h>=0;--h){let r=f[h],x=(r.y1-i)*t;if(x>0.000001)r.y0-=x,r.y1-=x;i=r.y0-g}}function fe({sourceLinks:f,targetLinks:i}){if(l===void 0){for(let{source:{sourceLinks:h}}of i)h.sort(Oe);for(let{target:{targetLinks:h}}of f)h.sort(Ce)}}function ee(f){if(l===void 0)for(let{sourceLinks:i,targetLinks:h}of f)i.sort(Oe),h.sort(Ce)}function G(f,i){let h=f.y0-(f.sourceLinks.length-1)*g/2;for(let{target:t,width:r}of f.sourceLinks){if(t===i)break;h+=r+g}for(let{source:t,width:r}of i.targetLinks){if(t===f)break;h-=r}return h}function X(f,i){let h=i.y0-(i.targetLinks.length-1)*g/2;for(let{source:t,width:r}of i.targetLinks){if(t===f)break;h+=r+g}for(let{target:t,width:r}of f.sourceLinks){if(t===i)break;h-=r}return h}return E}var we=Math.PI,Se=2*we,ae=0.000001,ma=Se-ae;function Ae(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Te(){return new Ae}Ae.prototype=Te.prototype={constructor:Ae,moveTo:function(a,c){this._+="M"+(this._x0=this._x1=+a)+","+(this._y0=this._y1=+c)},closePath:function(){if(this._x1!==null)this._x1=this._x0,this._y1=this._y0,this._+="Z"},lineTo:function(a,c){this._+="L"+(this._x1=+a)+","+(this._y1=+c)},quadraticCurveTo:function(a,c,d,o){this._+="Q"+ +a+","+ +c+","+(this._x1=+d)+","+(this._y1=+o)},bezierCurveTo:function(a,c,d,o,b,S){this._+="C"+ +a+","+ +c+","+ +d+","+ +o+","+(this._x1=+b)+","+(this._y1=+S)},arcTo:function(a,c,d,o,b){a=+a,c=+c,d=+d,o=+o,b=+b;var S=this._x1,g=this._y1,v=d-a,n=o-c,s=S-a,l=g-c,k=s*s+l*l;if(b<0)throw Error("negative radius: "+b);if(this._x1===null)this._+="M"+(this._x1=a)+","+(this._y1=c);else if(!(k>ae));else if(!(Math.abs(l*v-n*s)>ae)||!b)this._+="L"+(this._x1=a)+","+(this._y1=c);else{var w=d-S,m=o-g,E=v*v+n*n,D=w*w+m*m,Y=Math.sqrt(E),j=Math.sqrt(k),V=b*Math.tan((we-Math.acos((E+k-D)/(2*Y*j)))/2),F=V/j,q=V/Y;if(Math.abs(F-1)>ae)this._+="L"+(a+F*s)+","+(c+F*l);this._+="A"+b+","+b+",0,0,"+ +(l*w>s*m)+","+(this._x1=a+q*v)+","+(this._y1=c+q*n)}},arc:function(a,c,d,o,b,S){a=+a,c=+c,d=+d,S=!!S;var g=d*Math.cos(o),v=d*Math.sin(o),n=a+g,s=c+v,l=1^S,k=S?o-b:b-o;if(d<0)throw Error("negative radius: "+d);if(this._x1===null)this._+="M"+n+","+s;else if(Math.abs(this._x1-n)>ae||Math.abs(this._y1-s)>ae)this._+="L"+n+","+s;if(!d)return;if(k<0)k=k%Se+Se;if(k>ma)this._+="A"+d+","+d+",0,1,"+l+","+(a-g)+","+(c-v)+"A"+d+","+d+",0,1,"+l+","+(this._x1=n)+","+(this._y1=s);else if(k>ae)this._+="A"+d+","+d+",0,"+ +(k>=we)+","+l+","+(this._x1=a+d*Math.cos(b))+","+(this._y1=c+d*Math.sin(b))},rect:function(a,c,d,o){this._+="M"+(this._x0=this._x1=+a)+","+(this._y0=this._y1=+c)+"h"+ +d+"v"+ +o+"h"+-d+"Z"},toString:function(){return this._}};var Le=Te;var $e=Array.prototype.slice;function le(a){return function(){return a}}function Ge(a){return a[0]}function Ie(a){return a[1]}function ya(a){return a.source}function ga(a){return a.target}function xa(a){var c=ya,d=ga,o=Ge,b=Ie,S=null;function g(){var v,n=$e.call(arguments),s=c.apply(this,n),l=d.apply(this,n);if(!S)S=v=Le();if(a(S,+o.apply(this,(n[0]=s,n)),+b.apply(this,n),+o.apply(this,(n[0]=l,n)),+b.apply(this,n)),v)return S=null,v+""||null}return g.source=function(v){return arguments.length?(c=v,g):c},g.target=function(v){return arguments.length?(d=v,g):d},g.x=function(v){return arguments.length?(o=typeof v==="function"?v:le(+v),g):o},g.y=function(v){return arguments.length?(b=typeof v==="function"?v:le(+v),g):b},g.context=function(v){return arguments.length?(S=v==null?null:v,g):S},g}function va(a,c,d,o,b){a.moveTo(c,d),a.bezierCurveTo(c=(c+o)/2,d,c,b,o,b)}function Me(){return xa(va)}function ka(a){return[a.source.x1,a.y0]}function _a(a){return[a.target.x0,a.y1]}function ue(){return Me().source(ka).target(_a)}var Pe=function(){var a=e(function(v,n,s,l){for(s=s||{},l=v.length;l--;s[v[l]]=n);return s},"o"),c=[1,9],d=[1,10],o=[1,5,10,12],b={trace:e(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:e(function(n,s,l,k,w,m,E){var D=m.length-1;switch(w){case 7:let Y=k.findOrCreateNode(m[D-4].trim().replaceAll('""','"')),j=k.findOrCreateNode(m[D-2].trim().replaceAll('""','"')),V=parseFloat(m[D].trim());k.addLink(Y,j,V);break;case 8:case 9:case 11:this.$=m[D];break;case 10:this.$=m[D-1];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:c,20:d},{1:[2,6],7:11,10:[1,12]},a(d,[2,4],{9:13,5:[1,14]}),{12:[1,15]},a(o,[2,8]),a(o,[2,9]),{19:[1,16]},a(o,[2,11]),{1:[2,1]},{1:[2,5]},a(d,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:c,20:d},{15:18,16:7,17:8,18:c,20:d},{18:[1,19]},a(d,[2,3]),{12:[1,20]},a(o,[2,10]),{15:21,16:7,17:8,18:c,20:d},a([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:e(function(n,s){if(s.recoverable)this.trace(n);else{var l=Error(n);throw l.hash=s,l}},"parseError"),parse:e(function(n){var s=this,l=[0],k=[],w=[null],m=[],E=this.table,D="",Y=0,j=0,V=0,F=2,q=1,H=m.slice.call(arguments,1),T=Object.create(this.lexer),W={yy:{}};for(var Q in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,Q))W.yy[Q]=this.yy[Q];if(T.setInput(n,W.yy),W.yy.lexer=T,W.yy.parser=this,typeof T.yylloc>"u")T.yylloc={};var K=T.yylloc;m.push(K);var U=T.options&&T.options.ranges;if(typeof W.yy.parseError==="function")this.parseError=W.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function fe(N){l.length=l.length-2*N,w.length=w.length-N,m.length=m.length-N}e(fe,"popStack");function ee(){var N=k.pop()||T.lex()||q;if(typeof N!=="number"){if(N instanceof Array)k=N,N=k.pop();N=s.symbols_[N]||N}return N}e(ee,"lex");var G,X,f,i,h,t,r={},x,C,Z,z;while(!0){if(f=l[l.length-1],this.defaultActions[f])i=this.defaultActions[f];else{if(G===null||typeof G>"u")G=ee();i=E[f]&&E[f][G]}if(typeof i>"u"||!i.length||!i[0]){var J="";z=[];for(x in E[f])if(this.terminals_[x]&&x>F)z.push("'"+this.terminals_[x]+"'");if(T.showPosition)J="Parse error on line "+(Y+1)+`:
|
|
2
|
+
`+T.showPosition()+`
|
|
3
|
+
Expecting `+z.join(", ")+", got '"+(this.terminals_[G]||G)+"'";else J="Parse error on line "+(Y+1)+": Unexpected "+(G==q?"end of input":"'"+(this.terminals_[G]||G)+"'");this.parseError(J,{text:T.match,token:this.terminals_[G]||G,line:T.yylineno,loc:K,expected:z})}if(i[0]instanceof Array&&i.length>1)throw Error("Parse Error: multiple actions possible at state: "+f+", token: "+G);switch(i[0]){case 1:if(l.push(G),w.push(T.yytext),m.push(T.yylloc),l.push(i[1]),G=null,!X){if(j=T.yyleng,D=T.yytext,Y=T.yylineno,K=T.yylloc,V>0)V--}else G=X,X=null;break;case 2:if(C=this.productions_[i[1]][1],r.$=w[w.length-C],r._$={first_line:m[m.length-(C||1)].first_line,last_line:m[m.length-1].last_line,first_column:m[m.length-(C||1)].first_column,last_column:m[m.length-1].last_column},U)r._$.range=[m[m.length-(C||1)].range[0],m[m.length-1].range[1]];if(t=this.performAction.apply(r,[D,j,Y,W.yy,i[1],w,m].concat(H)),typeof t<"u")return t;if(C)l=l.slice(0,-1*C*2),w=w.slice(0,-1*C),m=m.slice(0,-1*C);l.push(this.productions_[i[1]][0]),w.push(r.$),m.push(r._$),Z=E[l[l.length-2]][l[l.length-1]],l.push(Z);break;case 3:return!0}}return!0},"parse")},S=function(){var v={EOF:1,parseError:e(function(s,l){if(this.yy.parser)this.yy.parser.parseError(s,l);else throw Error(s)},"parseError"),setInput:e(function(n,s){if(this.yy=s||this.yy||{},this._input=n,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:e(function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var s=n.match(/(?:\r\n?|\n).*/g);if(s)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),n},"input"),unput:e(function(n){var s=n.length,l=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var k=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1)this.yylineno-=l.length-1;var w=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===k.length?this.yylloc.first_column:0)+k[k.length-l.length].length-l[0].length:this.yylloc.first_column-s},this.options.ranges)this.yylloc.range=[w[0],w[0]+this.yyleng-s];return this.yyleng=this.yytext.length,this},"unput"),more:e(function(){return this._more=!0,this},"more"),reject:e(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:e(function(n){this.unput(this.match.slice(n))},"less"),pastInput:e(function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:e(function(){var n=this.match;if(n.length<20)n+=this._input.substr(0,20-n.length);return(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:e(function(){var n=this.pastInput(),s=Array(n.length+1).join("-");return n+this.upcomingInput()+`
|
|
5
|
-
`+s+"^"},"showPosition"),test_match:e(function(n,s){var l,k,w;if(this.options.backtrack_lexer){if(w={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)w.yylloc.range=this.yylloc.range.slice(0)}if(k=n[0].match(/(?:\r\n?|\n).*/g),k)this.yylineno+=k.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:k?k[k.length-1].length-k[k.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+n[0].length},this.yytext+=n[0],this.match+=n[0],this.matches=n,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(n[0].length),this.matched+=n[0],l=this.performAction.call(this,this.yy,this,s,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(l)return l;else if(this._backtrack){for(var
|
|
6
|
-
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:e(function(){var s=this.next();if(s)return s;else return this.lex()},"lex"),begin:e(function(s){this.conditionStack.push(s)},"begin"),popState:e(function(){var s=this.conditionStack.length-1;if(s>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:e(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:e(function(s){if(s=this.conditionStack.length-1-Math.abs(s||0),s>=0)return this.conditionStack[s];else return"INITIAL"},"topState"),pushState:e(function(s){this.begin(s)},"pushState"),stateStackSize:e(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:e(function(s,l,k,w){var
|
|
7
|
-
${
|
|
5
|
+
`+s+"^"},"showPosition"),test_match:e(function(n,s){var l,k,w;if(this.options.backtrack_lexer){if(w={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)w.yylloc.range=this.yylloc.range.slice(0)}if(k=n[0].match(/(?:\r\n?|\n).*/g),k)this.yylineno+=k.length;if(this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:k?k[k.length-1].length-k[k.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+n[0].length},this.yytext+=n[0],this.match+=n[0],this.matches=n,this.yyleng=this.yytext.length,this.options.ranges)this.yylloc.range=[this.offset,this.offset+=this.yyleng];if(this._more=!1,this._backtrack=!1,this._input=this._input.slice(n[0].length),this.matched+=n[0],l=this.performAction.call(this,this.yy,this,s,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input)this.done=!1;if(l)return l;else if(this._backtrack){for(var m in w)this[m]=w[m];return!1}return!1},"test_match"),next:e(function(){if(this.done)return this.EOF;if(!this._input)this.done=!0;var n,s,l,k;if(!this._more)this.yytext="",this.match="";var w=this._currentRules();for(var m=0;m<w.length;m++)if(l=this._input.match(this.rules[w[m]]),l&&(!s||l[0].length>s[0].length)){if(s=l,k=m,this.options.backtrack_lexer)if(n=this.test_match(l,w[m]),n!==!1)return n;else if(this._backtrack){s=!1;continue}else return!1;else if(!this.options.flex)break}if(s){if(n=this.test_match(s,w[k]),n!==!1)return n;return!1}if(this._input==="")return this.EOF;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:e(function(){var s=this.next();if(s)return s;else return this.lex()},"lex"),begin:e(function(s){this.conditionStack.push(s)},"begin"),popState:e(function(){var s=this.conditionStack.length-1;if(s>0)return this.conditionStack.pop();else return this.conditionStack[0]},"popState"),_currentRules:e(function(){if(this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1])return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;else return this.conditions.INITIAL.rules},"_currentRules"),topState:e(function(s){if(s=this.conditionStack.length-1-Math.abs(s||0),s>=0)return this.conditionStack[s];else return"INITIAL"},"topState"),pushState:e(function(s){this.begin(s)},"pushState"),stateStackSize:e(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:e(function(s,l,k,w){var m=w;switch(k){case 0:return this.pushState("csv"),4;break;case 1:return this.pushState("csv"),4;break;case 2:return 10;case 3:return 5;case 4:return 12;case 5:return this.pushState("escaped_text"),18;break;case 6:return 20;case 7:return this.popState("escaped_text"),18;break;case 8:return 19}},"anonymous"),rules:[/^(?:sankey-beta\b)/i,/^(?:sankey\b)/i,/^(?:$)/i,/^(?:((\u000D\u000A)|(\u000A)))/i,/^(?:(\u002C))/i,/^(?:(\u0022))/i,/^(?:([\u0020-\u0021\u0023-\u002B\u002D-\u007E])*)/i,/^(?:(\u0022)(?!(\u0022)))/i,/^(?:(([\u0020-\u0021\u0023-\u002B\u002D-\u007E])|(\u002C)|(\u000D)|(\u000A)|(\u0022)(\u0022))*)/i],conditions:{csv:{rules:[2,3,4,5,6,7,8],inclusive:!1},escaped_text:{rules:[7,8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8],inclusive:!0}}};return v}();b.lexer=S;function g(){this.yy={}}return e(g,"Parser"),g.prototype=b,b.Parser=g,new g}();Pe.parser=Pe;var he=Pe,me=[],ye=[],pe=new Map,wa=e(()=>{me=[],ye=[],pe=new Map,A()},"clear"),Sa=class{constructor(a,c,d=0){this.source=a,this.target=c,this.value=d}static{e(this,"SankeyLink")}},Aa=e((a,c,d)=>{me.push(new Sa(a,c,d))},"addLink"),La=class{constructor(a){this.ID=a}static{e(this,"SankeyNode")}},Ma=e((a)=>{a=y.sanitizeText(a,u());let c=pe.get(a);if(c===void 0)c=new La(a),pe.set(a,c),ye.push(c);return c},"findOrCreateNode"),Pa=e(()=>ye,"getNodes"),Ea=e(()=>me,"getLinks"),Ca=e(()=>({nodes:ye.map((a)=>({id:a.ID})),links:me.map((a)=>({source:a.source.ID,target:a.target.ID,value:a.value}))}),"getGraph"),Oa={nodesMap:pe,getConfig:e(()=>u().sankey,"getConfig"),getNodes:Pa,getLinks:Ea,getGraph:Ca,addLink:Aa,findOrCreateNode:Ma,getAccTitle:R,setAccTitle:L,getAccDescription:M,setAccDescription:I,getDiagramTitle:O,setDiagramTitle:P,clear:wa},Ne=class a{static{e(this,"Uid")}static{this.count=0}static next(c){return new a(c+ ++a.count)}constructor(c){this.id=c,this.href=`#${c}`}toString(){return"url("+this.href+")"}},Ra={left:xe,right:ve,center:ke,justify:se},Ba=e((a)=>{let c=0,d=0;for(let o of a){let b=o.value??0;if(b>c)c=b,d=o.layer??0}return d},"findCentralNodeLayer"),Ta=e(function(a,c,d,o){let{securityLevel:b,sankey:S}=u(),g=Wr.sankey,v;if(b==="sandbox")v=p("#i"+c);let n=b==="sandbox"?p(v.nodes()[0].contentDocument.body):p("body"),s=b==="sandbox"?n.select(`[id="${c}"]`):p(`[id="${c}"]`),l=S?.width??g.width,k=S?.height??g.width,w=S?.useMaxWidth??g.useMaxWidth,m=S?.nodeAlignment??g.nodeAlignment,E=S?.prefix??g.prefix,D=S?.suffix??g.suffix,Y=S?.showValues??g.showValues,j=S?.nodeWidth??g.nodeWidth??10,V=S?.nodePadding??g.nodePadding??12,F=S?.labelStyle??g.labelStyle??"legacy",q=S?.nodeColors??{},H=o.db.getGraph(),T=Ra[m];be().nodeId((t)=>t.id).nodeWidth(j).nodePadding(V+(Y?15:0)).nodeAlign(T).extent([[0,0],[l,k]])(H);let Q=Ba(H.nodes),K=It(Ee),U=e((t)=>q[t]??K(t),"getNodeColor");s.append("g").attr("class","nodes").selectAll(".node").data(H.nodes).join("g").attr("class","node").attr("id",(t)=>(t.uid=Ne.next("node-")).id).attr("transform",function(t){return"translate("+t.x0+","+t.y0+")"}).attr("x",(t)=>t.x0).attr("y",(t)=>t.y0).append("rect").attr("height",(t)=>t.y1-t.y0).attr("width",(t)=>t.x1-t.x0).attr("fill",(t)=>U(t.id));let fe=e(({id:t,value:r})=>{if(!Y)return t;return`${t}
|
|
7
|
+
${E}${Math.round(r*100)/100}${D}`},"getText"),ee=e((t)=>{if(F==="outlined"){if((t.layer??0)<Q)return{x:t.x0-6,anchor:"end"};return{x:t.x1+6,anchor:"start"}}if(t.x0<l/2)return{x:t.x1+6,anchor:"start"};return{x:t.x0-6,anchor:"end"}},"getLabelPosition"),G=s.append("g").attr("class","node-labels").attr("font-size",14),X=e((t)=>G.selectAll(t?`.${t}`:"text").data(H.nodes).join("text").attr("class",t??null).attr("x",(r)=>ee(r).x).attr("y",(r)=>(r.y1+r.y0)/2).attr("dy",`${Y?"0":"0.35"}em`).attr("text-anchor",(r)=>ee(r).anchor).text(fe),"appendLabel");if(F==="outlined")X("sankey-label-bg"),X("sankey-label-fg");else X();let f=s.append("g").attr("class","links").attr("fill","none").attr("stroke-opacity",0.5).selectAll(".link").data(H.links).join("g").attr("class","link").style("mix-blend-mode","multiply"),i=S?.linkColor??"gradient";if(i==="gradient"){let t=f.append("linearGradient").attr("id",(r)=>(r.uid=Ne.next("linearGradient-")).id).attr("gradientUnits","userSpaceOnUse").attr("x1",(r)=>r.source.x1).attr("x2",(r)=>r.target.x0);t.append("stop").attr("offset","0%").attr("stop-color",(r)=>U(r.source.id)),t.append("stop").attr("offset","100%").attr("stop-color",(r)=>U(r.target.id))}let h;switch(i){case"gradient":h=e((t)=>t.uid,"coloring");break;case"source":h=e((t)=>U(t.source.id),"coloring");break;case"target":h=e((t)=>U(t.target.id),"coloring");break;default:h=i}f.append("path").attr("d",ue()).attr("stroke",h).attr("stroke-width",(t)=>Math.max(1,t.width)),kt(void 0,s,0,w)},"draw"),$a={draw:Ta},Ga=e((a)=>a.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g,"").replaceAll(/([\n\r])+/g,`
|
|
8
8
|
`).trim(),"prepareTextForParsing"),Ia=e((a)=>`.label {
|
|
9
9
|
font-family: ${a.fontFamily};
|
|
10
10
|
}
|