UNPKG

@zklogic/draw.io

Version:

Draw.IO - Graph Editor integration in Angular-cli

1 lines 67 kB
Sidebar.prototype.addBpmn2Palette=function(){var e="mxgraph.bpmn2",t=400,n=this;this.setCurrentSearchEntryLibrary("bpmn2","bpmn2General"),this.addBPMN2GeneralPalette(e,t,n),this.setCurrentSearchEntryLibrary("bpmn2","bpmn2Tasks"),this.addBPMN2TasksPalette(e,t,n),this.setCurrentSearchEntryLibrary("bpmn2","bpmn2Choreographies"),this.addBPMN2ChoreographiesPalette(e,t,n),this.setCurrentSearchEntryLibrary("bpmn2","bpmn2Events"),this.addBPMN2EventsPalette(e,t,n),this.setCurrentSearchEntryLibrary("bpmn2","bpmn2Gateways"),this.addBPMN2GatewaysPalette(e,t,n),this.setCurrentSearchEntryLibrary()},Sidebar.prototype.addBPMN2GeneralPalette=function(e,t,n){var r="bpmn business process model notation ",a=160,l="shape=mxgraph.bpmn.data;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;whiteSpace=wrap;size=15;html=1;",i="swimlane;html=1;startSize=20;fontStyle=0;collapsible=0;",o="shape=mxgraph.bpmn.conversation;perimeter=hexagonPerimeter2;whiteSpace=wrap;html=1;aspect=fixed;bpmnConversationType=",s="edgeStyle=elbowEdgeStyle;fontSize=12;html=1;endArrow=blockThin;endFill=1;",p="edgeStyle=elbowEdgeStyle;fontSize=12;html=1;endFill=0;startFill=0;endSize=6;startSize=6;dashed=1;dashPattern=1 4;endArrow=",m=[this.createVertexTemplateEntry(l,40,60,"","Data Object",null,null,r+"data object"),this.createVertexTemplateEntry(l+"bpmnTransferType=none;isCollection=1;",40,60,"","Data Object Collection",null,null,r+"data object collection"),this.createVertexTemplateEntry(l+"bpmnTransferType=input;",40,60,"","Data Input",null,null,r+"data input"),this.createVertexTemplateEntry(l+"bpmnTransferType=input;isCollection=1;",40,60,"","Data Input Collection",null,null,r+"data input collection"),this.createVertexTemplateEntry(l+"bpmnTransferType=output;",40,60,"","Data Output",null,null,r+"data output"),this.createVertexTemplateEntry(l+"bpmnTransferType=output;isCollection=1;",40,60,"","Data Output Collection",null,null,r+"data output collection"),this.createVertexTemplateEntry("shape=datastore;whiteSpace=wrap;html=1;labelPosition=center;verticalLabelPosition=bottom;align=center;verticalAlign=top;",100,100,"","Data Store",null,null,r+"data store"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];rounded=1;dashed=1;dashPattern=5 2 1 2;labelPosition=center;verticalLabelPosition=top;align=right;verticalAlign=bottom;fontSize=8;",140,80,"","Data Object",null,null,r+"data object"),this.createVertexTemplateEntry("text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;",80,30,"Text","Text Annotation",null,null,r+"text annotation label"),this.createVertexTemplateEntry(i+"horizontal=0;swimlaneLine=0;fillColor=none;",440,100,"","Horizontal Lane",null,null,r+"horizontal lane"),this.createVertexTemplateEntry(i+"horizontal=1;swimlaneLine=0;fillColor=none;",440,100,"","Vertical Lane",null,null,r+"vertical lane"),this.createVertexTemplateEntry(i+"horizontal=0;swimlaneLine=1;swimlaneFillColor=#ffffff;strokeWidth=2;",440,100,"","Horizontal Lane",null,null,r+"horizontal lane"),this.createVertexTemplateEntry("shape=mxgraph.bpmn.swimlane;html=1;startSize=20;horizontal=0;swimlaneLine=1;collapsible=0;fontStyle=0;swimlaneFillColor=#ffffff;strokeWidth=2;isCollection=1;",440,100,"","Horizontal Lane",null,null,r+"horizontal lane"),this.createVertexTemplateEntry(i+"horizontal=1;swimlaneLine=1;strokeWidth=2;swimlaneFillColor=#ffffff;",220,100,"","Vertical Lane",null,null,r+"vertical lane"),this.createVertexTemplateEntry("shape=mxgraph.bpmn.swimlane;html=1;startSize=20;horizontal=1;swimlaneLine=1;collapsible=0;fontStyle=0;strokeWidth=2;swimlaneFillColor=#ffffff;isCollection=1;",220,100,"","Vertical Lane",null,null,r+"vertical lane"),this.createVertexTemplateEntry(o+"conv;",70,60,"","Conversation",null,null,r+"conversation"),this.createVertexTemplateEntry(o+"conv;isLoopSub=1;",70,60,"","Sub-Conversation",null,null,r+"sub conversation"),this.createVertexTemplateEntry(o+"call;",70,60,"","Call Conversation",null,null,r+"call conversation"),this.createVertexTemplateEntry(o+"call;isLoopSub=1;",70,60,"","Call Sub-Conversation",null,null,r+"call sub conversation"),this.createVertexTemplateEntry("html=1;shape=mxgraph.flowchart.annotation_2;align=left;labelPosition=right;",50,100,"","Annotation",null,null,this.getTagsForStencil("bpmn","annotation_1","bpmn business process model ").join(" ")),this.addDataEntry("crossfunctional cross-functional cross functional flowchart swimlane table",400,400,"Cross-Functional Flowchart","7ZhRb5swEMc/DY+bMCRt97jQpi+tVC2fwINbbMnYyD4C6aefjaHpBrTRlNCoTALJPp9t+P25O5kgTvL6XtOCPaoMRBDfBXGilULfyusEhAiikGdBfBtEUWjvIFqPjJJmNCyoBonHTIj8hB0VJXiL3dyYL+tSpsiVpM55LVSVMqrROxvci9bZMFq4JtKfzrRKGRfZA92rEjtr11tpVT1wCcYOhM5ViTKXry0G7RYb/uwWXDgDw9wCuSW2WTGOsClo6gYri8uvIGhheLN1s4KGtNSG7+AHGL+Os0JdUJm1nUJxiaDvdhZQt/EvJXHTvpTbjAq+lbadgnO1hhYSaIR6FHRjainfg8oB9d66VDxD5j0WoRcjZMC3DP8yUuMN25e5B91so5VuWMa4J+P3FJW2JtLXrOK5oNLJxZTmz/blqXhNp3mO5cpe9smS8OsyWNp5ie2TQ99ezl1joqRBTXmDAajBCgxejprHKBcNK7fvBPIz3hOSRCcQctET8olRA+8JmSopIW2j8GOD6Sji8TDxepT4C9yTE1+OEo/mQ5xcTYn8ahR5PB/k0c2UyK9HC8SbX/mnLBAnqAlD8XK+onDTE+/fw+TiQF9fTin4Nl/O0xYAEs6X9LR5n5Ae6S7xv1lr/yf+4cQ/pN75Ej/pH88/UZyQkRPzR6R+0j9Bz4f0xMm/f8adD+qzZn/bPfw5bMb++LH4Gw=="),this.addDataEntry("container swimlane pool horizontal",480,380,"Horizontal Pool 1","zZRLbsIwEIZP4709TlHXhJYNSEicwCIjbNWJkWNKwumZxA6IlrRUaisWlmb+eX8LM5mXzdyrnV66Ai2TL0zm3rkQrbLJ0VoG3BRMzhgAp8fgdSQq+ijfKY9VuKcAYsG7snuMyso5G8U6tDaJ9cGUVlXkTXUoacuZIHOjjS0WqnX7blYd1OZt8KYea3PE1bCI+CAtVUMq7/o5b46uCmroSn18WFMm+XCdse5GpLq0OPqAzejxvZQun6MrMfiWUg6mCDpmZM8RENdotjqVyUFUdRS259oLSzISztto5Se0i44gcHEn3i9A/IQB3GbQpmi69DskAn4BSTaGBB4Jicj+k8nTGBP5SExg8odMyL38eH3s6kM8AQ=="),this.addDataEntry("container swimlane pool horizontal",480,360,"Horizontal Pool 2","zZTBbsIwDIafJvfU6dDOlI0LSEg8QUQtEi1tUBJGy9PPbcJQWTsxaZs4VLJ//07sT1WYKKpm6eRBrW2JhokXJgpnbYhR1RRoDAOuSyYWDIDTx+B1opr1VX6QDutwTwPEhndpjhiVjbUmij60Jon+pCsja8rmKlQ05SKjcKe0KVeytcfuLh/k7u2SzR16fcbNZZDsRlrLhlTenWedPts6SJMEOseFLTkph6Fj212RbGlwdAGbyeV7KW2+RFthcC1ZTroMKjry5wiIK9R7ldrELInSR2H/2XtlSUHCOY5WfEG76ggCz+7E+w2InzCAcQapIf0fAySzESQZ/AKSfAoJPCKS9mbzf0H0NIVIPDAiyP8QEaXX97CvDZ7LDw=="),this.createVertexTemplateEntry("swimlane;startSize=20;horizontal=0;",320,120,"Lane","Horizontal Swimlane",null,null,"swimlane lane pool"),this.addDataEntry("container swimlane pool horizontal",360,480,"Vertical Pool 1","xZRBbsIwEEVP4709ThFrQssGJKSewCIjbNXGyDEl4fSdxKa0NJFQVTULSzP/e+T5b2EmS9esgjrqja/QMvnMZBm8j6lyTYnWMuCmYnLJADgdBi8jruhdflQBD/GRAUgD78qeMClb720S69jaLNZn46w6ULfQ0dGWS0HlThtbrVXrT91bdVS7t2u3CFibC26vi4g7aaMaUjmpNBbiKxnUQyfkjTBEbEZT9VKOtELvMIaWrpxNFXW6IWcpOddo9jqPFfMsqjoJ+8/ZGyQqMqdhZvIHs3WHBrh4kNvvIsNw5Da7OdgXAgKGCMz+gEAxRgCmINDcxZ2CyNMYETkhESj+jwi1t1+r9759ah8="),this.addDataEntry("container swimlane pool vertical",380,480,"Vertical Pool 2","xZTPbsIwDMafJvf86dDOlI0LSEg8QUQtEi1pUBJGy9PPbdJ1G1TqhXGoZH/219g/RSGitM3ay5PaugoMEW9ElN65mCLblGAM4VRXRKwI5xQ/wt8nqqyv0pP0UMc5Bp4Mn9KcISk750wSQ2xNFsNFWyNrzJYqWpxyxTA8KG2qjWzduTsrRHn4GLKlh6CvsBsGYX+krWxQpaiizcc9FjDnnaCc11dXR2lyxyjsuyPy3/Lg4CM0k8v3Ut58Dc5C9C22XHQVVeoQrwkQVaCPKtuKQZQhCcdv78gSg4zzPlpxg3bTEeSUzcR7Q2bWyvz+ytmQr8NPAow/ikAxRYA/kQAr/hPByxQC8cxLsHggAkzH56uv/XrdvgA="),this.createVertexTemplateEntry("swimlane;startSize=20;",120,320,"Lane","Vertical Swimlane",null,null,"swimlane lane pool"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];rounded=1;arcSize=10;dashed=1;strokeColor=#000000;fillColor=none;gradientColor=none;dashPattern=8 3 1 3;strokeWidth=2;",200,200,"","Group",null,null,this.getTagsForStencil("bpmn","group","bpmn business process model ").join(" ")),this.createEdgeTemplateEntry(p+"none;startArrow=none;",a,0,"","Association",null,r+"association"),this.createEdgeTemplateEntry(p+"openThin;startArrow=none;",a,0,"","Directional / Directed Data Association",null,r+"directed data directional association"),this.createEdgeTemplateEntry(p+"openThin;startArrow=openThin;",a,0,"","Bi-Directional Association",null,r+"bi directional bidirectional association"),this.createEdgeTemplateEntry(p+"none;startArrow=none;",a,0,"","Data Association",null,r+"data association"),this.createEdgeTemplateEntry("edgeStyle=elbowEdgeStyle;fontSize=12;html=1;shape=link;",a,0,"","Conversation Link",null,r+"conversation link"),this.createEdgeTemplateEntry(s+"",a,0,"","Sequence Flow",null,r+"sequence flow"),this.createEdgeTemplateEntry(s+"startArrow=diamondThin;startFill=0;endSize=6;startSize=10;",a,0,"","Conditional Sequence Flow",null,r+"conditional sequence flow"),this.createEdgeTemplateEntry(s+"startArrow=dash;startFill=0;endSize=6;startSize=6;",a,0,"","Default Sequence Flow",null,r+"default sequence flow"),this.createEdgeTemplateEntry("dashed=1;dashPattern=8 4;endArrow=blockThin;endFill=1;startArrow=oval;startFill=0;endSize=6;startSize=4;",a,0,"","Message Flow",null,r+"message flow"),this.addEntry("edge shape symbol message mail email initiating message flow with decorator",mxUtils.bind(this,(function(){var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=blockThin;html=1;labelPosition=left;verticalLabelPosition=middle;align=right;verticalAlign=middle;dashed=1;dashPattern=8 4;endFill=0;startArrow=oval;startFill=0;endSize=6;startSize=4;");e.geometry.setTerminalPoint(new mxPoint(0,0),!0),e.geometry.setTerminalPoint(new mxPoint(a,0),!1),e.geometry.relative=!0,e.edge=!0;var t=new mxCell("",new mxGeometry(0,0,24,16),"shape=message;html=1;outlineConnect=0;labelPosition=left;verticalLabelPosition=middle;align=right;verticalAlign=middle;spacingRight=5;labelBackgroundColor=#ffffff;");return t.geometry.relative=!0,t.vertex=!0,t.geometry.offset=new mxPoint(8,-8),e.insert(t),this.createEdgeTemplateFromCells([e],a,0,"Initiating Message Flow with Decorator")}))),this.addEntry("edge shape symbol message mail email non initiating message flow with decorator",mxUtils.bind(this,(function(){var e=new mxCell("",new mxGeometry(0,0,0,0),"endArrow=blockThin;html=1;labelPosition=left;verticalLabelPosition=middle;align=right;verticalAlign=middle;dashed=1;dashPattern=8 4;endFill=0;startArrow=oval;startFill=0;endSize=6;startSize=4;");e.geometry.setTerminalPoint(new mxPoint(0,0),!0),e.geometry.setTerminalPoint(new mxPoint(a,0),!1),e.geometry.relative=!0,e.edge=!0;var t=new mxCell("",new mxGeometry(0,0,24,16),"shape=message;html=1;outlineConnect=0;labelPosition=left;verticalLabelPosition=middle;align=right;verticalAlign=middle;spacingRight=5;labelBackgroundColor=#ffffff;fillColor=#C0C0C0;");return t.geometry.relative=!0,t.vertex=!0,t.geometry.offset=new mxPoint(8,-8),e.insert(t),this.createEdgeTemplateFromCells([e],a,0,"Non-Initiating Message Flow with Decorator")})))];this.addPalette("bpmn2General","BPMN 2.0  General",!1,mxUtils.bind(this,(function(e){for(var t=0;t<m.length;t++)e.appendChild(m[t](e))})))},Sidebar.prototype.addBPMN2TasksPalette=function(e,t,n){var r="bpmn business process model notation task ",a="points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];",l=a+"shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;",i=a+"shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=",o=a+"shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker=abstract;bpmnShapeType=subprocess;isLoopSub=1;outline=",s=a+"shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;bpmnShapeType=call;",p=[this.createVertexTemplateEntry(l+"",120,80,"","Generic Task",null,null,r+"generic"),this.createVertexTemplateEntry(l+"isLoopStandard=1;",120,80,"","Standard Loop",null,null,r+"standard loop"),this.createVertexTemplateEntry(l+"isLoopStandard=1;isLoopSub=1;",120,80,"","Standard Loop",null,null,r+"standard loop"),this.createVertexTemplateEntry(l+"isLoopMultiParallel=1;",120,80,"","Multi-Instance, Parallel",null,null,r+"multi instance parallel"),this.createVertexTemplateEntry(l+"isLoopSub=1;isLoopMultiParallel=1;",120,80,"","Multi-Instance, Parallel",null,null,r+"multi instance parallel"),this.createVertexTemplateEntry(l+"isLoopMultiSeq=1;",120,80,"","Multi-Instance, Sequential",null,null,r+"multi instance sequential"),this.createVertexTemplateEntry(l+"isLoopSub=1;isLoopMultiSeq=1;",120,80,"","Multi-Instance, Sequential",null,null,r+"multi instance sequential"),this.createVertexTemplateEntry(l+"isLoopComp=1;",120,80,"","Compensation",null,null,r+"compensation"),this.createVertexTemplateEntry(l+"isLoopSub=1;isLoopComp=1;",120,80,"","Compensation",null,null,r+"compensation"),this.createVertexTemplateEntry(l+"isLoopComp=1;isLoopStandard=1;",120,80,"","Loop and Compensation",null,null,r+"loop compensation"),this.createVertexTemplateEntry(l+"isLoopComp=1;isLoopStandard=1;isLoopSub=1;",120,80,"","Loop and Compensation",null,null,r+"loop compensation"),this.createVertexTemplateEntry(l+"isAdHoc=1;isLoopSub=1;",120,80,"","Ad Hoc, Collapsed",null,null,r+"ad hoc collapsed"),this.createVertexTemplateEntry(l+"isAdHoc=1;",120,80,"","Ad Hoc, Expanded",null,null,r+"ad hoc expanded"),this.createVertexTemplateEntry(i+"service;",120,80,"","Service",null,null,r+"service"),this.createVertexTemplateEntry(i+"send;",120,80,"","Send",null,null,r+"send"),this.createVertexTemplateEntry(i+"receive;",120,80,"","Receive",null,null,r+"receive"),this.createVertexTemplateEntry(i+"user;",120,80,"","User",null,null,r+"user"),this.createVertexTemplateEntry(i+"manual;",120,80,"","Manual",null,null,r+"manual"),this.createVertexTemplateEntry(i+"businessRule;",120,80,"","Business Rule",null,null,r+"business rule"),this.createVertexTemplateEntry(i+"script;",120,80,"","Script",null,null,r+"script"),this.createVertexTemplateEntry(l+"isLoopSub=1;",120,80,"","Sub-Process, Collapsed",null,null,r+"sub process subprocess collapsed"),this.createVertexTemplateEntry(i+"abstract;bpmnShapeType=transaction;isLoopSub=1;",120,80,"","Transaction, Collapsed",null,null,r+"transaction collapsed"),this.createVertexTemplateEntry(i+"abstract;bpmnShapeType=transaction;",120,80,"","Transaction, Expanded",null,null,r+"transaction expanded"),this.createVertexTemplateEntry(o+"eventNonint;symbol=message;",120,80,"","Message-Event Sub-Process, Non-interrupting, Collapsed",null,null,r+"non interrupting message event sub process collapsed"),this.createVertexTemplateEntry(o+"eventInt;symbol=message;",120,80,"","Message-Event Sub-Process, Interrupting, Collapsed",null,null,r+"interrupting message event sub process collapsed"),this.createVertexTemplateEntry(o+"eventNonint;symbol=timer;",120,80,"","Timer-Event Sub-Process, Non-interrupting, Collapsed",null,null,r+"non interrupting timer event sub process collapsed"),this.createVertexTemplateEntry(o+"eventInt;symbol=timer;",120,80,"","Timer-Event Sub-Process, Interrupting, Collapsed",null,null,r+"interrupting timer event sub process collapsed"),this.createVertexTemplateEntry(o+"eventNonint;symbol=conditional;",120,80,"","Conditional-Event Sub-Process, Non-interrupting, Collapsed",null,null,r+"non interrupting conditional event sub process collapsed"),this.createVertexTemplateEntry(o+"eventInt;symbol=conditional;",120,80,"","Conditional-Event Sub-Process, Interrupting, Collapsed",null,null,r+"interrupting conditional event sub process collapsed"),this.createVertexTemplateEntry(o+"eventNonint;symbol=signal;",120,80,"","Signal-Event Sub-Process, Non-interrupting, Collapsed",null,null,r+"non interrupting signal event sub process collapsed"),this.createVertexTemplateEntry(o+"eventInt;symbol=signal;",120,80,"","Signal-Event Sub-Process, Interrupting, Collapsed",null,null,r+"interrupting signal event sub process collapsed"),this.createVertexTemplateEntry(o+"eventNonint;symbol=multiple;",120,80,"","Multiple-Event Sub-Process, Non-interrupting, Collapsed",null,null,r+"non interrupting multiple event sub process collapsed"),this.createVertexTemplateEntry(o+"eventInt;symbol=multiple;",120,80,"","Multiple-Event Sub-Process, Interrupting, Collapsed",null,null,r+"interrupting multiple event sub process collapsed"),this.createVertexTemplateEntry(o+"eventNonint;symbol=parallelMultiple;",120,80,"","Parallel Multiple Event Sub-Process, Non-interrupting, Collapsed",null,null,r+"non interrupting parallel multiple event sub process collapsed"),this.createVertexTemplateEntry(o+"eventInt;symbol=parallelMultiple;",120,80,"","Parallel Multiple Event Sub-Process, Interrupting , Collapsed",null,null,r+"interrupting parallel multiple event sub process collapsed"),this.createVertexTemplateEntry(o+"eventNonint;symbol=escalation;",120,80,"","Escalation-Event Sub-Process, Non-interrupting, Collapsed",null,null,r+"non interrupting escalation event sub process collapsed"),this.createVertexTemplateEntry(o+"eventInt;symbol=escalation;",120,80,"","Escalation-Event Sub-Process, Interrupting, Collapsed",null,null,r+"interrupting escalation event sub process collapsed"),this.createVertexTemplateEntry(o+"eventInt;symbol=error;",120,80,"","Error-Event Sub-Process, Interrupting, Collapsed",null,null,r+"interrupting error event sub process collapsed"),this.createVertexTemplateEntry(o+"eventInt;symbol=compensation;",120,80,"","Compensation-Event Sub-Process, Interrupting, Collapsed",null,null,r+"interrupting compensation event sub process collapsed"),this.createVertexTemplateEntry("points=[[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0.25,0],[1,0.5,0],[1,0.75,0],[0.75,1,0],[0.5,1,0],[0.25,1,0],[0,0.75,0],[0,0.5,0],[0,0.25,0]];shape=mxgraph.bpmn.task;arcSize=10;taskMarker=abstract;outline=none;symbol=general;bpmnShapeType=subprocess;isLoopSub=0;verticalAlign=top;align=left;spacingLeft=5;",180,100,"","Event Sub-Process, Expanded",null,null,r+"event sub process expanded"),this.createVertexTemplateEntry(s,120,80,"","Call Activity",null,null,r+"call activity"),this.createVertexTemplateEntry(s+"taskMarker=user;",120,80,"","User Call Activity",null,null,r+"user call activity"),this.createVertexTemplateEntry(s+"taskMarker=manual;",120,80,"","Manual Call Activity",null,null,r+"manual call activity"),this.createVertexTemplateEntry(s+"taskMarker=businessRule;",120,80,"","Business Rule Call Activity",null,null,r+"business rule call activity"),this.createVertexTemplateEntry(s+"taskMarker=script;",120,80,"","Script Call Activity",null,null,r+"script call activity"),this.createVertexTemplateEntry(s+"isLoopSub=1;",120,80,"","Call Activity, Collapsed",null,null,r+"call activity collapsed"),this.createVertexTemplateEntry(s+"verticalAlign=top;align=left;spacingLeft=5;",180,100,"","Call Activity, Expanded",null,null,r+"call activity expanded")];this.addPalette("bpmn2Tasks","BPMN 2.0  Tasks",!1,mxUtils.bind(this,(function(e){for(var t=0;t<p.length;t++)e.appendChild(p[t](e))})))},Sidebar.prototype.addBPMN2ChoreographiesPalette=function(e,t,n){var r="bpmn business process model notation choreography ",a=[this.addEntry(r+"choreography task",(function(){var e=new mxCell("",new mxGeometry(0,0,120,100),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;");e.vertex=!0;var t=new mxCell("",new mxGeometry(0,0,120,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");t.vertex=!0,e.insert(t);var r=new mxCell("",new mxGeometry(0,0,120,60),"shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;connectable=0;whiteSpace=wrap;");r.vertex=!0,e.insert(r);var a=new mxCell("",new mxGeometry(0,1,20,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");return a.vertex=!0,a.geometry.relative=!1,e.insert(a),n.createVertexTemplateFromCells([e],e.geometry.width,e.geometry.height,"Choreography Task")})),this.addEntry(r+"choreography task loop",(function(){var e=new mxCell("",new mxGeometry(0,0,120,100),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;");e.vertex=!0;var t=new mxCell("",new mxGeometry(0,0,120,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");t.vertex=!0,e.insert(t);var r=new mxCell("",new mxGeometry(0,0,120,60),"shape=mxgraph.bpmn.task;arcSize=0;taskMarker=abstract;part=1;isLoopStandard=1;connectable=0;whiteSpace=wrap;");r.vertex=!0,e.insert(r);var a=new mxCell("",new mxGeometry(0,1,20,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");return a.vertex=!0,a.geometry.relative=!1,e.insert(a),n.createVertexTemplateFromCells([e],e.geometry.width,e.geometry.height,"Choreography Task, Loop")})),this.addEntry(r+"choreography task sequential multi instance",(function(){var e=new mxCell("",new mxGeometry(0,0,120,100),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;");e.vertex=!0;var t=new mxCell("",new mxGeometry(0,0,120,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");t.vertex=!0,e.insert(t);var r=new mxCell("",new mxGeometry(0,0,120,60),"shape=mxgraph.bpmn.task;arcSize=0;taskMarker=abstract;part=1;isLoopMultiSeq=1;connectable=0;whiteSpace=wrap;");r.vertex=!0,e.insert(r);var a=new mxCell("",new mxGeometry(0,1,20,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");return a.vertex=!0,a.geometry.relative=!1,e.insert(a),n.createVertexTemplateFromCells([e],e.geometry.width,e.geometry.height,"Choreography Task, Sequential Multi Instance")})),this.addEntry(r+"choreography task parallel multi instance",(function(){var e=new mxCell("",new mxGeometry(0,0,120,100),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;");e.vertex=!0;var t=new mxCell("",new mxGeometry(0,0,120,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");t.vertex=!0,e.insert(t);var r=new mxCell("",new mxGeometry(0,0,120,60),"shape=mxgraph.bpmn.task;arcSize=0;taskMarker=abstract;part=1;isLoopMultiParallel=1;connectable=0;whiteSpace=wrap;");r.vertex=!0,e.insert(r);var a=new mxCell("",new mxGeometry(0,1,20,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");return a.vertex=!0,a.geometry.relative=!1,e.insert(a),n.createVertexTemplateFromCells([e],e.geometry.width,e.geometry.height,"Choreography Task, Parallel Multi Instance")})),this.addEntry(r+"sub choreography collapsed",(function(){var e=new mxCell("",new mxGeometry(0,0,120,100),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;");e.vertex=!0;var t=new mxCell("",new mxGeometry(0,0,120,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");t.vertex=!0,e.insert(t);var r=new mxCell("",new mxGeometry(0,0,120,60),"shape=mxgraph.bpmn.task;arcSize=0;taskMarker=abstract;part=1;isLoopSub=1;connectable=0;whiteSpace=wrap;");r.vertex=!0,e.insert(r);var a=new mxCell("",new mxGeometry(0,1,20,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");return a.vertex=!0,a.geometry.relative=!1,e.insert(a),n.createVertexTemplateFromCells([e],e.geometry.width,e.geometry.height,"Sub-Choreography, Collapsed")})),this.addEntry(r+"sub choreography loop collapsed",(function(){var e=new mxCell("",new mxGeometry(0,0,120,100),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;");e.vertex=!0;var t=new mxCell("",new mxGeometry(0,0,120,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");t.vertex=!0,e.insert(t);var r=new mxCell("",new mxGeometry(0,0,120,60),"shape=mxgraph.bpmn.task;arcSize=0;taskMarker=abstract;part=1;isLoopSub=1;isLoopStandard=1;connectable=0;whiteSpace=wrap;");r.vertex=!0,e.insert(r);var a=new mxCell("",new mxGeometry(0,1,20,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");return a.vertex=!0,a.geometry.relative=!1,e.insert(a),n.createVertexTemplateFromCells([e],e.geometry.width,e.geometry.height,"Sub-Choreography, Loop, Collapsed")})),this.addEntry(r+"sub choreography sequential multi instance collapsed",(function(){var e=new mxCell("",new mxGeometry(0,0,120,100),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;");e.vertex=!0;var t=new mxCell("",new mxGeometry(0,0,120,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");t.vertex=!0,e.insert(t);var r=new mxCell("",new mxGeometry(0,0,120,60),"shape=mxgraph.bpmn.task;arcSize=0;taskMarker=abstract;part=1;isLoopSub=1;isLoopMultiSeq=1;connectable=0;whiteSpace=wrap;");r.vertex=!0,e.insert(r);var a=new mxCell("",new mxGeometry(0,1,20,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");return a.vertex=!0,a.geometry.relative=!1,e.insert(a),n.createVertexTemplateFromCells([e],e.geometry.width,e.geometry.height,"Sub-Choreography, Sequential Multi Instance, Collapsed")})),this.addEntry(r+"sub choreography parallel multi instance collapsed",(function(){var e=new mxCell("",new mxGeometry(0,0,120,100),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;");e.vertex=!0;var t=new mxCell("",new mxGeometry(0,0,120,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");t.vertex=!0,e.insert(t);var r=new mxCell("",new mxGeometry(0,0,120,60),"shape=mxgraph.bpmn.task;arcSize=0;taskMarker=abstract;part=1;isLoopSub=1;isLoopMultiParallel=1;connectable=0;whiteSpace=wrap;");r.vertex=!0,e.insert(r);var a=new mxCell("",new mxGeometry(0,1,20,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");return a.vertex=!0,a.geometry.relative=!1,e.insert(a),n.createVertexTemplateFromCells([e],e.geometry.width,e.geometry.height,"Sub-Choreography, Parallel Multi Instance, Collapsed")})),this.addEntry(r+"sub choreography expanded",(function(){var e=new mxCell("",new mxGeometry(0,0,400,200),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;");e.vertex=!0;var t=new mxCell("",new mxGeometry(0,0,400,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");t.vertex=!0,e.insert(t);var r=new mxCell("",new mxGeometry(0,0,400,160),"shape=mxgraph.bpmn.task;arcSize=0;part=1;taskMarker=abstract;verticalAlign=top;align=left;spacingLeft=5;connectable=0;whiteSpace=wrap;");r.vertex=!0,e.insert(r);var a=new mxCell("",new mxGeometry(0,1,400,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");return a.vertex=!0,a.geometry.relative=!1,e.insert(a),n.createVertexTemplateFromCells([e],e.geometry.width,e.geometry.height,"Sub-Choreography, Expanded")})),this.addEntry(r+"call choreography activity calling global task",(function(){var e=new mxCell("",new mxGeometry(0,0,120,100),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;strokeWidth=8;");e.vertex=!0;var t=new mxCell("",new mxGeometry(0,0,120,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");t.vertex=!0,e.insert(t);var r=new mxCell("",new mxGeometry(0,0,120,60),"shape=mxgraph.bpmn.task;arcSize=0;part=1;taskMarker=abstract;connectable=0;whiteSpace=wrap;");r.vertex=!0,e.insert(r);var a=new mxCell("",new mxGeometry(0,1,20,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");return a.vertex=!0,a.geometry.relative=!1,e.insert(a),n.createVertexTemplateFromCells([e],e.geometry.width,e.geometry.height,"Call Choreography calling Global")})),this.addEntry(r+"call choreography activity calling global task loop",(function(){var e=new mxCell("",new mxGeometry(0,0,120,100),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;strokeWidth=8;");e.vertex=!0;var t=new mxCell("",new mxGeometry(0,0,120,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");t.vertex=!0,e.insert(t);var r=new mxCell("",new mxGeometry(0,0,120,60),"shape=mxgraph.bpmn.task;arcSize=0;part=1;taskMarker=abstract;isLoopStandard=1;connectable=0;whiteSpace=wrap;");r.vertex=!0,e.insert(r);var a=new mxCell("",new mxGeometry(0,1,20,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");return a.vertex=!0,a.geometry.relative=!1,e.insert(a),n.createVertexTemplateFromCells([e],e.geometry.width,e.geometry.height,"Call Choreography calling Global, Loop")})),this.addEntry(r+"call choreography activity calling global task sequential multi instance",(function(){var e=new mxCell("",new mxGeometry(0,0,120,100),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;strokeWidth=8;");e.vertex=!0;var t=new mxCell("",new mxGeometry(0,0,120,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");t.vertex=!0,e.insert(t);var r=new mxCell("",new mxGeometry(0,0,120,60),"shape=mxgraph.bpmn.task;arcSize=0;part=1;taskMarker=abstract;isLoopMultiSeq=1;connectable=0;whiteSpace=wrap;");r.vertex=!0,e.insert(r);var a=new mxCell("",new mxGeometry(0,1,20,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");return a.vertex=!0,a.geometry.relative=!1,e.insert(a),n.createVertexTemplateFromCells([e],e.geometry.width,e.geometry.height,"Call Choreography calling Global, Sequential Multi Instance")})),this.addEntry(r+"call choreography activity calling global task parallel multi instance",(function(){var e=new mxCell("",new mxGeometry(0,0,120,100),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;strokeWidth=8;");e.vertex=!0;var t=new mxCell("",new mxGeometry(0,0,120,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");t.vertex=!0,e.insert(t);var r=new mxCell("",new mxGeometry(0,0,120,60),"shape=mxgraph.bpmn.task;arcSize=0;part=1;taskMarker=abstract;isLoopMultiParallel=1;connectable=0;whiteSpace=wrap;");r.vertex=!0,e.insert(r);var a=new mxCell("",new mxGeometry(0,1,20,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");return a.vertex=!0,a.geometry.relative=!1,e.insert(a),n.createVertexTemplateFromCells([e],e.geometry.width,e.geometry.height,"Call Choreography calling Global, Parallel Multi Instance")})),this.addEntry(r+"call choreography activity calling",(function(){var e=new mxCell("",new mxGeometry(0,0,120,100),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;strokeWidth=8;");e.vertex=!0;var t=new mxCell("",new mxGeometry(0,0,120,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");t.vertex=!0,e.insert(t);var r=new mxCell("",new mxGeometry(0,0,120,60),"shape=mxgraph.bpmn.task;arcSize=0;part=1;taskMarker=abstract;isLoopSub=1;connectable=0;whiteSpace=wrap;");r.vertex=!0,e.insert(r);var a=new mxCell("",new mxGeometry(0,1,20,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");return a.vertex=!0,a.geometry.relative=!1,e.insert(a),n.createVertexTemplateFromCells([e],e.geometry.width,e.geometry.height,"Call Choreography calling a Choreography")})),this.addEntry(r+"call choreography activity calling loop",(function(){var e=new mxCell("",new mxGeometry(0,0,120,100),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;strokeWidth=8;");e.vertex=!0;var t=new mxCell("",new mxGeometry(0,0,120,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");t.vertex=!0,e.insert(t);var r=new mxCell("",new mxGeometry(0,0,120,60),"shape=mxgraph.bpmn.task;arcSize=0;part=1;taskMarker=abstract;isLoopSub=1;isLoopStandard=1;connectable=0;whiteSpace=wrap;");r.vertex=!0,e.insert(r);var a=new mxCell("",new mxGeometry(0,1,20,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");return a.vertex=!0,a.geometry.relative=!1,e.insert(a),n.createVertexTemplateFromCells([e],e.geometry.width,e.geometry.height,"Call Choreography calling a Choreography, Loop")})),this.addEntry(r+"call choreography activity calling sequential multi instance",(function(){var e=new mxCell("",new mxGeometry(0,0,120,100),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;strokeWidth=8;");e.vertex=!0;var t=new mxCell("",new mxGeometry(0,0,120,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");t.vertex=!0,e.insert(t);var r=new mxCell("",new mxGeometry(0,0,120,60),"shape=mxgraph.bpmn.task;arcSize=0;part=1;taskMarker=abstract;isLoopSub=1;isLoopMultiSeq=1;connectable=0;whiteSpace=wrap;");r.vertex=!0,e.insert(r);var a=new mxCell("",new mxGeometry(0,1,20,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");return a.vertex=!0,a.geometry.relative=!1,e.insert(a),n.createVertexTemplateFromCells([e],e.geometry.width,e.geometry.height,"Call Choreography calling a Choreography, Sequential Multi Instance")})),this.addEntry(r+"call choreography activity calling parallel multi instance",(function(){var e=new mxCell("",new mxGeometry(0,0,120,100),"rounded=1;whiteSpace=wrap;html=1;container=1;collapsible=0;absoluteArcSize=1;arcSize=20;childLayout=stackLayout;horizontal=1;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;strokeWidth=8;");e.vertex=!0;var t=new mxCell("",new mxGeometry(0,0,120,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;part=1;");t.vertex=!0,e.insert(t);var r=new mxCell("",new mxGeometry(0,0,120,60),"shape=mxgraph.bpmn.task;arcSize=0;part=1;taskMarker=abstract;isLoopSub=1;isLoopMultiParallel=1;connectable=0;whiteSpace=wrap;");r.vertex=!0,e.insert(r);var a=new mxCell("",new mxGeometry(0,1,20,20),"whiteSpace=wrap;connectable=0;html=1;shape=mxgraph.basic.rect;size=10;rectStyle=rounded;topRightStyle=square;topLeftStyle=square;fillColor=#C0C0C0;part=1;");return a.vertex=!0,a.geometry.relative=!1,e.insert(a),n.createVertexTemplateFromCells([e],e.geometry.width,e.geometry.height,"Call Choreography calling a Choreography, Parallel Multi Instance")})),this.createVertexTemplateEntry("whiteSpace=wrap;shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;",120,20,"","Participant, Initiating, Top",null,null,r+"initiating participant top"),this.addEntry(r+"initiating participant top with decorator",(function(){var e=new mxCell("",new mxGeometry(0,60,120,20),"shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;whiteSpace=wrap;");e.vertex=!0;var t=new mxCell("",new mxGeometry(40,0,40,30),"shape=message;");t.vertex=!0;var r=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;elbow=horizontal;endArrow=none;labelBackgroundColor=none;endSize=12;endFill=0;dashed=1;dashPattern=1 2;exitX=0.5;exitY=0;rounded=0;");return r.geometry.relative=!0,r.edge=!0,e.insertEdge(r,!0),t.insertEdge(r,!1),n.createVertexTemplateFromCells([e,t,r],120,80,"Participant, Initiating, Top with Decorator")})),this.createVertexTemplateEntry("shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=square;whiteSpace=wrap;",120,20,"","Additional Participant, Initiating",null,null,r+"initiating additional participant"),this.createVertexTemplateEntry("shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=rounded;isLoopSub=0;topLeftStyle=square;topRightStyle=square;whiteSpace=wrap;",120,20,"","Participant, Initiating, Bottom",null,null,r+"initiating participant bottom"),this.addEntry(r+"initiating participant bottom with decorator",(function(){var e=new mxCell("",new mxGeometry(0,0,120,20),"shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=rounded;isLoopSub=0;topLeftStyle=square;topRightStyle=square;whiteSpace=wrap;");e.vertex=!0;var t=new mxCell("",new mxGeometry(40,50,40,30),"shape=message;");t.vertex=!0;var r=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;elbow=horizontal;endArrow=none;labelBackgroundColor=none;endSize=12;endFill=0;dashed=1;dashPattern=1 2;exitX=0.5;exitY=1;rounded=0;");return r.geometry.relative=!0,r.edge=!0,e.insertEdge(r,!0),t.insertEdge(r,!1),n.createVertexTemplateFromCells([e,t,r],120,80,"Participant, Initiating, Bottom with Decorator")})),this.createVertexTemplateEntry("shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;verticalAlign=top;isLoopMultiParallel=1;whiteSpace=wrap;",120,40,"","Participant, Initiating, Multi-Instance, Top",null,null,r+"initiating participant bottom"),this.addEntry(r+"initiating participant multi instance top with decorator",(function(){var e=new mxCell("",new mxGeometry(0,60,120,40),"shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;verticalAlign=top;isLoopMultiParallel=1;whiteSpace=wrap;");e.vertex=!0;var t=new mxCell("",new mxGeometry(40,0,40,30),"shape=message;");t.vertex=!0;var r=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;elbow=horizontal;endArrow=none;labelBackgroundColor=none;endSize=12;endFill=0;dashed=1;dashPattern=1 2;exitX=0.5;exitY=0;rounded=0;");return r.geometry.relative=!0,r.edge=!0,e.insertEdge(r,!0),t.insertEdge(r,!1),n.createVertexTemplateFromCells([e,t,r],120,100,"Participant, Initiating, Multi-Instance Top with Decorator")})),this.createVertexTemplateEntry("shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=square;verticalAlign=top;isLoopMultiParallel=1;whiteSpace=wrap;",120,40,"","Additional Participant, Initiating, Multi-Instance, Bottom",null,null,r+"initiating additional participant multi instance bottom"),this.createVertexTemplateEntry("shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=rounded;verticalAlign=top;isLoopMultiParallel=1;topLeftStyle=square;topRightStyle=square;whiteSpace=wrap;",120,40,"","Participant, Initiating, Multi-Instance, Bottom",null,null,r+"initiating participant multi instance bottom"),this.addEntry(r+"initiating participant multi instance bottom with decorator",(function(){var e=new mxCell("",new mxGeometry(0,0,120,40),"shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=rounded;topLeftStyle=square;topRightStyle=square;verticalAlign=top;isLoopMultiParallel=1;whiteSpace=wrap;");e.vertex=!0;var t=new mxCell("",new mxGeometry(40,70,40,30),"shape=message;");t.vertex=!0;var r=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;elbow=horizontal;endArrow=none;labelBackgroundColor=none;endSize=12;endFill=0;dashed=1;dashPattern=1 2;exitX=0.5;exitY=1;rounded=0;");return r.geometry.relative=!0,r.edge=!0,e.insertEdge(r,!0),t.insertEdge(r,!1),n.createVertexTemplateFromCells([e,t,r],120,100,"Participant, Initiating, Multi-Instance, Bottom with Decorator")})),this.createVertexTemplateEntry("shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;fillColor=#C0C0C0;whiteSpace=wrap;",120,20,"","Participant, Non-Initiating, Top",null,null,r+"non initiating participant top"),this.addEntry(r+"non initiating participant top with decorator",(function(){var e=new mxCell("",new mxGeometry(0,60,120,20),"shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;fillColor=#C0C0C0;whiteSpace=wrap;");e.vertex=!0;var t=new mxCell("",new mxGeometry(40,0,40,30),"shape=message;fillColor=#C0C0C0;");t.vertex=!0;var r=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;elbow=horizontal;endArrow=none;labelBackgroundColor=none;endSize=12;endFill=0;dashed=1;dashPattern=1 2;exitX=0.5;exitY=0;rounded=0;");return r.geometry.relative=!0,r.edge=!0,e.insertEdge(r,!0),t.insertEdge(r,!1),n.createVertexTemplateFromCells([e,t,r],120,80,"Participant, Non-Initiating, Top with Decorator")})),this.createVertexTemplateEntry("shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=square;fillColor=#C0C0C0;whiteSpace=wrap;",120,20,"","Additional Participant, Non-Initiating",null,null,r+"non initiating additional participant"),this.createVertexTemplateEntry("shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=rounded;isLoopSub=0;topLeftStyle=square;topRightStyle=square;fillColor=#C0C0C0;whiteSpace=wrap;",120,20,"","Participant, Non-Initiating, Bottom",null,null,r+"non initiating participant bottom"),this.addEntry(r+"non initiating participant bottom with decorator",(function(){var e=new mxCell("",new mxGeometry(0,0,120,20),"shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=rounded;isLoopSub=0;topLeftStyle=square;topRightStyle=square;fillColor=#C0C0C0;whiteSpace=wrap;");e.vertex=!0;var t=new mxCell("",new mxGeometry(40,50,40,30),"shape=message;fillColor=#C0C0C0;");t.vertex=!0;var r=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;elbow=horizontal;endArrow=none;labelBackgroundColor=none;endSize=12;endFill=0;dashed=1;dashPattern=1 2;exitX=0.5;exitY=1;rounded=0;");return r.geometry.relative=!0,r.edge=!0,e.insertEdge(r,!0),t.insertEdge(r,!1),n.createVertexTemplateFromCells([e,t,r],120,80,"Participant, Non-Initiating, Bottom with Decorator")})),this.createVertexTemplateEntry("shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;verticalAlign=top;isLoopMultiParallel=1;fillColor=#C0C0C0;whiteSpace=wrap;",120,40,"","Participant, Non-Initiating, Multi-Instance, Top",null,null,r+"initiating participant bottom"),this.addEntry(r+"non initiating participant multi instance top with decorator",(function(){var e=new mxCell("",new mxGeometry(0,60,120,40),"shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=rounded;bottomRightStyle=square;bottomLeftStyle=square;verticalAlign=top;isLoopMultiParallel=1;fillColor=#C0C0C0;whiteSpace=wrap;");e.vertex=!0;var t=new mxCell("",new mxGeometry(40,0,40,30),"shape=message;fillColor=#C0C0C0;");t.vertex=!0;var r=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;elbow=horizontal;endArrow=none;labelBackgroundColor=none;endSize=12;endFill=0;dashed=1;dashPattern=1 2;exitX=0.5;exitY=0;rounded=0;");return r.geometry.relative=!0,r.edge=!0,e.insertEdge(r,!0),t.insertEdge(r,!1),n.createVertexTemplateFromCells([e,t,r],120,100,"Participant, Non-Initiating, Multi-Instance, Top with Decorator")})),this.createVertexTemplateEntry("shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=square;verticalAlign=top;isLoopMultiParallel=1;fillColor=#C0C0C0;whiteSpace=wrap;",120,40,"","Additional Participant, Non-Initiating, Multi-Instance, Bottom",null,null,r+"non initiating additional participant multi instance bottom"),this.createVertexTemplateEntry("shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=rounded;verticalAlign=top;isLoopMultiParallel=1;topLeftStyle=square;topRightStyle=square;fillColor=#C0C0C0;whiteSpace=wrap;",120,40,"","Participant, Non-Initiating, Multi-Instance, Bottom",null,null,r+"non initiating participant multi instance bottom"),this.addEntry(r+"non initiating participant multi instance bottom with decorator",(function(){var e=new mxCell("",new mxGeometry(0,0,120,40),"shape=mxgraph.bpmn.task;part=1;taskMarker=abstract;rectStyle=rounded;topLeftStyle=square;topRightStyle=square;verticalAlign=top;isLoopMultiParallel=1;fillColor=#C0C0C0;whiteSpace=wrap;");e.vertex=!0;var t=new mxCell("",new mxGeometry(40,70,40,30),"shape=message;fillColor=#C0C0C0;");t.vertex=!0;var r=new mxCell("",new mxGeometry(0,0,0,0),"edgeStyle=orthogonalEdgeStyle;html=1;elbow=horizontal;endArrow=none;labelBackgroundColor=none;endSize=12;endFill=0;dashed=1;dashPattern=1 2;exitX=0.5;exitY=1;rounded=0;");return r.geometry.relative=!0,r.edge=!0,e.insertEdge(r,!0),t.insertEdge(r,!1),n.createVertexTemplateFromCells([e,t,r],120,100,"Participant, Non-Initiating, Multi-Instance, Bottom with Decorator")}))];this.addPalette("bpmn2Choreographies","BPMN 2.0  Choreographies",!1,mxUtils.bind(this,(function(e){for(var t=0;t<a.length;t++)e.appendChild(a[t](e))})))},Sidebar.prototype.addBPMN2EventsPalette=function(e,t,n){var r="bpmn business process model notation event ",a="points=[[0.145,0.145,0],[0.5,0,0],[0.855,0.145,0],[1,0.5,0],[0.855,0.855,0],[0.5,1,0],[0.145,0.855,0],[0,0.5,0]];shape=mxgraph.bpmn.event;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=ellipsePerimeter;outlineConnect=0;aspect=fixed;outline=",l=50,i=50,o=[this.createVertexTemplateEntry(a+"standard;symbol=general;",l,i,"","None Start",null,null,r+"none start"),this.createVertexTemplateEntry(a+"throwing;symbol=general;",l,i,"","None Intermediate, Throwing",null,null,r+"none intermediate throwing"),this.createVertexTemplateEntry(a+"end;symbol=terminate2;",l,i,"","End",null,null,r+"end"),this.createVertexTemplateEntry(a+"standard;symbol=message;",l,i,"","Message Start, Interrupting",null,null,r+"message start interrupting"),this.createVertexTemplateEntry(a+"eventNonint;symbol=message;",l,i,"","Message Start, Non-Interrupting",null,null,r+"message start non interrupting noninterrupting"),this.createVertexTemplateEntry(a+"throwing;symbol=message;",l,i,"","Message Intermediate, Throwing",null,null,r+"message intermediate throwing"),this.createVertexTemplateEntry(a+"catching;symbol=message;",l,i,"","Message Intermediate, Catching",null,null,r+"message intermediate catching"),this.createVertexTemplateEntry(a+"boundInt;symbol=message;",l,i,"","Message Intermediate, Boundary Interrupting",null,null,r+"message intermediate boundary interrupting"),this.createVertexTemplateEntry(a+"boundNonint;symbol=message;",l,i,"","Message Intermediate, Boundary Non-Interrupting",null,null,r+"message intermediate boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(a+"end;symbol=message;",l,i,"","Message End",null,null,r+"message end"),this.createVertexTemplateEntry(a+"standard;symbol=timer;",l,i,"","Timer Start, Interrupting",null,null,r+"timer start interrupting"),this.createVertexTemplateEntry(a+"eventNonint;symbol=timer;",l,i,"","Timer Start, Non-Interrupting",null,null,r+"timer start non interrupting noninterrupting"),this.createVertexTemplateEntry(a+"catching;symbol=timer;",l,i,"","Timer Intermediate, Catching",null,null,r+"timer intermediate catching"),this.createVertexTemplateEntry(a+"boundInt;symbol=timer;",l,i,"","Timer Intermediate, Boundary Interrupting",null,null,r+"timer intermediate boundary interrupting"),this.createVertexTemplateEntry(a+"boundNonint;symbol=timer;",l,i,"","Timer Intermediate, Boundary Non-Interrupting",null,null,r+"timer intermediate boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(a+"eventInt;symbol=escalation;",l,i,"","Escalation Start, Interrupting",null,null,r+"escalation start interrupting"),this.createVertexTemplateEntry(a+"eventNonint;symbol=escalation;",l,i,"","Escalation Start, Non-Interrupting",null,null,r+"escalation start non interrupting noninterrupting"),this.createVertexTemplateEntry(a+"throwing;symbol=escalation;",l,i,"","Escalation Intermediate, Boundary Throwing",null,null,r+"escalation intermediate boundary throwing"),this.createVertexTemplateEntry(a+"boundInt;symbol=escalation;",l,i,"","Escalation Intermediate, Boundary Interrupting",null,null,r+"escalation intermediate boundary interrupting"),this.createVertexTemplateEntry(a+"boundNonint;symbol=escalation;",l,i,"","Escalation Intermediate, Non-Interrupting",null,null,r+"escalation intermediate non interrupting nonimpterrupting"),this.createVertexTemplateEntry(a+"end;symbol=escalation;",l,i,"","Escalation End",null,null,r+"escalation end"),this.createVertexTemplateEntry(a+"eventInt;symbol=error;",l,i,"","Error Start, Interrupting",null,null,r+"error start interrupting"),this.createVertexTemplateEntry(a+"boundInt;symbol=error;",l,i,"","Error Intermediate, Boundary Interrupting",null,null,r+"error intermediate boundary interrupting"),this.createVertexTemplateEntry(a+"end;symbol=error;",l,i,"","Error End",null,null,r+"error end"),this.createVertexTemplateEntry(a+"eventInt;symbol=compensation;",l,i,"","Compensation Start, Interrupting",null,null,r+"compensation start interrupting"),this.createVertexTemplateEntry(a+"throwing;symbol=compensation;",l,i,"","Compensation Intermediate, Throwing",null,null,r+"compensation intermediate throwing"),this.createVertexTemplateEntry(a+"boundInt;symbol=compensation;",l,i,"","Compensation Intermediate, Boundary Interrupting",null,null,r+"compensation intermediate boundary interrupting"),this.createVertexTemplateEntry(a+"end;symbol=compensation;",l,i,"","Compensation End",null,null,r+"compensation end"),this.createVertexTemplateEntry(a+"standard;symbol=conditional;",l,i,"","Conditional Start, Interrupting",null,null,r+"conditional start interrupting"),this.createVertexTemplateEntry(a+"eventNonint;symbol=conditional;",l,i,"","Conditional Start, Non-Interrupting",null,null,r+"conditional start non interrupting noninterrupting"),this.createVertexTemplateEntry(a+"catching;symbol=conditional;",l,i,"","Conditional Intermediate, Catching",null,null,r+"conditional intermediate catching"),this.createVertexTemplateEntry(a+"boundInt;symbol=conditional;",l,i,"","Conditional Intermediate, Boundary Interrupting",null,null,r+"conditional intermediate boundary interrupting"),this.createVertexTemplateEntry(a+"boundNonint;symbol=conditional;",l,i,"","Conditional Intermediate, Boundary Non-Interrupting",null,null,r+"conditional intermediate boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(a+"catching;symbol=link;",l,i,"","Link Intermediate, Catching",null,null,r+"link intermediate catching"),this.createVertexTemplateEntry(a+"throwing;symbol=link;",l,i,"","Link Intermediate, Throwing",null,null,r+"link intermediate throwing"),this.createVertexTemplateEntry(a+"standard;symbol=signal;",l,i,"","Signal Start, Interrupting",null,null,r+"signal start interrupting"),this.createVertexTemplateEntry(a+"eventNonint;symbol=signal;",l,i,"","Signal Start, Non-Interrupting",null,null,r+"signal start non interrupting noninterrupting"),this.createVertexTemplateEntry(a+"catching;symbol=signal;",l,i,"","Signal Intermediate, Catching",null,null,r+"signal intermediate catching"),this.createVertexTemplateEntry(a+"throwing;symbol=signal;",l,i,"","Signal Intermediate, Throwing",null,null,r+"signal intermediate throwing"),this.createVertexTemplateEntry(a+"boundInt;symbol=signal;",l,i,"","Signal Intermediate, Boundary Interrupting",null,null,r+"signal intermediate boundary interrupting"),this.createVertexTemplateEntry(a+"boundNonint;symbol=signal;",l,i,"","Signal Intermediate, Boundary Non-Interrupting",null,null,r+"signal intermediate noundary non interrupting noninterrupting"),this.createVertexTemplateEntry(a+"end;symbol=signal;",l,i,"","Signal End",null,null,r+"signal end"),this.createVertexTemplateEntry(a+"standard;symbol=multiple;",l,i,"","Multiple Start, Interrupting",null,null,r+"multiple start interrupting"),this.createVertexTemplateEntry(a+"eventNonint;symbol=multiple;",l,i,"","Multiple Start, Non-Interrupting",null,null,r+"multiple start non interrupting noninterrupting"),this.createVertexTemplateEntry(a+"catching;symbol=multiple;",l,i,"","Multiple Intermediate, Catching",null,null,r+"multiple intermediate catching"),this.createVertexTemplateEntry(a+"throwing;symbol=multiple;",l,i,"","Multiple Intermediate, Throwing",null,null,r+"multiple intermediate throwing"),this.createVertexTemplateEntry(a+"boundInt;symbol=multiple;",l,i,"","Multiple Intermediate, Boundary Interrupting",null,null,r+"multiple intermediate boundary interrupting"),this.createVertexTemplateEntry(a+"boundNonint;symbol=multiple;",l,i,"","Multiple Intermediate, Boundary Non-Interrupting",null,null,r+"multiple intermediate boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(a+"end;symbol=multiple;",l,i,"","Multiple End",null,null,r+"multiple end"),this.createVertexTemplateEntry(a+"eventInt;symbol=parallelMultiple;",l,i,"","Parallel Multiple Start, Interrupting",null,null,r+"parallel multiple start interrupting"),this.createVertexTemplateEntry(a+"eventNonint;symbol=parallelMultiple;",l,i,"","Parallel Multiple Start, Non-Interrupting",null,null,r+"parallel multiple start non interrupting noninterrupting"),this.createVertexTemplateEntry(a+"catching;symbol=parallelMultiple;",l,i,"","Parallel Multiple Intermediate, Catching",null,null,r+"parallel multiple intermediate catching"),this.createVertexTemplateEntry(a+"boundInt;symbol=parallelMultiple;",l,i,"","Parallel Multiple Intermediate, Boundary Interrupting",null,null,r+"parallel multiple intermediate boundary interrupting"),this.createVertexTemplateEntry(a+"boundNonint;symbol=parallelMultiple;",l,i,"","Parallel Multiple Intermediate, Boundary Non-Interrupting",null,null,r+"parallel multiple intermediate boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(a+"boundInt;symbol=cancel;",l,i,"","Cancel Intermediate, Boundary Interrupting",null,null,r+"cancel intermediate boundary interrupting"),this.createVertexTemplateEntry(a+"end;symbol=cancel;",l,i,"","Cancel End",null,null,r+"cancel end"),this.createVertexTemplateEntry(a+"end;symbol=terminate;",l,i,"","Terminate",null,null,r+"terminate")];this.addPalette("bpmn2Events","BPMN 2.0  Events",!1,mxUtils.bind(this,(function(e){for(var t=0;t<o.length;t++)e.appendChild(o[t](e))})))},Sidebar.prototype.addBPMN2GatewaysPalette=function(e,t,n){var r="bpmn business process model notation gateway ",a="points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=",l=50,i=50,o=[this.createVertexTemplateEntry(a+"none;symbol=none;",l,i,"","Exclusive",null,null,r+"exclusive"),this.createVertexTemplateEntry(a+"none;symbol=none;gwType=exclusive;",l,i,"","Exclusive",null,null,r+"exclusive"),this.createVertexTemplateEntry(a+"end;symbol=general;",l,i,"","Inclusive",null,null,r+"inclusive"),this.createVertexTemplateEntry(a+"none;symbol=none;gwType=parallel;",l,i,"","Parallel",null,null,r+"parallel"),this.createVertexTemplateEntry(a+"none;symbol=none;gwType=complex;",l,i,"","Complex",null,null,r+"complex"),this.createVertexTemplateEntry(a+"standard;symbol=general;",l,i,"","Start",null,null,r+"none start"),this.createVertexTemplateEntry(a+"throwing;symbol=general;",l,i,"","Intermediate",null,null,r+"none intermediate"),this.createVertexTemplateEntry(a+"end;symbol=general;",l,i,"","End",null,null,r+"none end"),this.createVertexTemplateEntry(a+"standard;symbol=message;",l,i,"","Message",null,null,r+"message standard"),this.createVertexTemplateEntry(a+"eventInt;symbol=message;",l,i,"","Message (Interrupting)",null,null,r+"message interrupting"),this.createVertexTemplateEntry(a+"eventNonint;symbol=message;",l,i,"","Message (Non-Interrupting)",null,null,r+"message non interrupting noninterrupting"),this.createVertexTemplateEntry(a+"catching;symbol=message;",l,i,"","Message (Catching)",null,null,r+"message catching"),this.createVertexTemplateEntry(a+"boundInt;symbol=message;",l,i,"","Message Boundary (Interrupting)",null,null,r+"message boundary interrupting"),this.createVertexTemplateEntry(a+"boundNonint;symbol=message;",l,i,"","Message Boundary (Non-Interrupting)",null,null,r+"message boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(a+"throwing;symbol=message;",l,i,"","Message (Throwing)",null,null,r+"message throwing"),this.createVertexTemplateEntry(a+"end;symbol=message;",l,i,"","Message End",null,null,r+"message end"),this.createVertexTemplateEntry(a+"standard;symbol=timer;",l,i,"","Timer",null,null,r+"timer standard"),this.createVertexTemplateEntry(a+"eventInt;symbol=timer;",l,i,"","Timer (Interrupting)",null,null,r+"timer interrupting"),this.createVertexTemplateEntry(a+"eventNonint;symbol=timer;",l,i,"","Timer (Non-Interrupting)",null,null,r+"timer non interrupting noninterrupting"),this.createVertexTemplateEntry(a+"catching;symbol=timer;",l,i,"","Timer (Catching)",null,null,r+"timer catching"),this.createVertexTemplateEntry(a+"boundInt;symbol=timer;",l,i,"","Timer Boundary (Interrupting)",null,null,r+"timer boundary interrupting"),this.createVertexTemplateEntry(a+"boundNonint;symbol=timer;",l,i,"","Timer Boundary (Non-Interrupting)",null,null,r+"timer boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(a+"eventInt;symbol=escalation;",l,i,"","Escalation (Interrupting)",null,null,r+"escalation interrupting"),this.createVertexTemplateEntry(a+"eventNonint;symbol=escalation;",l,i,"","Escalation (Non-Interrupting)",null,null,r+"escalation non interrupting noninterrupting"),this.createVertexTemplateEntry(a+"boundInt;symbol=escalation;",l,i,"","Escalation Boundary (Interrupting)",null,null,r+"escalation boundary interrupting"),this.createVertexTemplateEntry(a+"boundNonint;symbol=escalation;",l,i,"","Escalation Boundary (Non-Interrupting)",null,null,r+"escalation boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(a+"throwing;symbol=escalation;",l,i,"","Escalation (Throwing)",null,null,r+"escalation throwing"),this.createVertexTemplateEntry(a+"end;symbol=escalation;",l,i,"","Escalation End",null,null,r+"escalation end"),this.createVertexTemplateEntry(a+"standard;symbol=conditional;",l,i,"","Conditional",null,null,r+"conditional standard"),this.createVertexTemplateEntry(a+"eventInt;symbol=conditional;",l,i,"","Conditional (Interrupting)",null,null,r+"conditional interrupting"),this.createVertexTemplateEntry(a+"eventNonint;symbol=conditional;",l,i,"","Conditional (Non-Interrupting)",null,null,r+"conditional non interrupting noninterrupting"),this.createVertexTemplateEntry(a+"catching;symbol=conditional;",l,i,"","Conditional (Catching)",null,null,r+"conditional catching"),this.createVertexTemplateEntry(a+"boundInt;symbol=conditional;",l,i,"","Conditional Boundary (Interrupting)",null,null,r+"conditional boundary interrupting"),this.createVertexTemplateEntry(a+"boundNonint;symbol=conditional;",l,i,"","Conditional Boundary (Non-Interrupting)",null,null,r+"conditional boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(a+"catching;symbol=link;",l,i,"","Link (Catching)",null,null,r+"link catching"),this.createVertexTemplateEntry(a+"throwing;symbol=link;",l,i,"","Link (Throwing)",null,null,r+"link throwing"),this.createVertexTemplateEntry(a+"eventInt;symbol=error;",l,i,"","Error (Interrupting)",null,null,r+"error interrupting"),this.createVertexTemplateEntry(a+"boundInt;symbol=error;",l,i,"","Error Boundary (Interrupting)",null,null,r+"error boundary interrupting"),this.createVertexTemplateEntry(a+"end;symbol=error;",l,i,"","Error (End)",null,null,r+"error end"),this.createVertexTemplateEntry(a+"boundInt;symbol=cancel;",l,i,"","Cancel Boundary (Interrupting)",null,null,r+"cancel boundary interrupting"),this.createVertexTemplateEntry(a+"end;symbol=cancel;",l,i,"","Cancel End",null,null,r+"cancel end"),this.createVertexTemplateEntry(a+"eventInt;symbol=compensation;",l,i,"","Compensation (Interrupting)",null,null,r+"compensation interrupting"),this.createVertexTemplateEntry(a+"boundInt;symbol=compensation;",l,i,"","Compensation Boundary (Interrupting)",null,null,r+"compensation boundary interrupting"),this.createVertexTemplateEntry(a+"throwing;symbol=compensation;",l,i,"","Compensation (Throwing)",null,null,r+"compensation throwing"),this.createVertexTemplateEntry(a+"end;symbol=compensation;",l,i,"","Compensation End",null,null,r+"compensation end"),this.createVertexTemplateEntry(a+"standard;symbol=signal;",l,i,"","Signal",null,null,r+"signal standard"),this.createVertexTemplateEntry(a+"eventInt;symbol=signal;",l,i,"","Signal (Interrupting)",null,null,r+"signal interrupting"),this.createVertexTemplateEntry(a+"eventNonint;symbol=signal;",l,i,"","Signal (Non-Interrupting)",null,null,r+"signal non interrupting noninterrupting"),this.createVertexTemplateEntry(a+"catching;symbol=signal;",l,i,"","Signal (Catching)",null,null,r+"signal catching"),this.createVertexTemplateEntry(a+"boundInt;symbol=signal;",l,i,"","Signal Boundary (Interrupting)",null,null,r+"signal boundary interrupting"),this.createVertexTemplateEntry(a+"boundNonint;symbol=signal;",l,i,"","Signal Boundary (Non-Interrupting)",null,null,r+"signal boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(a+"throwing;symbol=signal;",l,i,"","Signal (Throwing)",null,null,r+"signal throwing"),this.createVertexTemplateEntry(a+"end;symbol=signal;",l,i,"","Signal End",null,null,r+"signal end"),this.createVertexTemplateEntry(a+"standard;symbol=multiple;",l,i,"","Multiple ",null,null,r+"multiple standard"),this.createVertexTemplateEntry(a+"eventInt;symbol=multiple;",l,i,"","Multiple (Interrupting)",null,null,r+"multiple interrupting"),this.createVertexTemplateEntry(a+"eventNonint;symbol=multiple;",l,i,"","Multiple (Non-Interrupting)",null,null,r+"multiple non interrupting noninterrupting"),this.createVertexTemplateEntry(a+"catching;symbol=multiple;",l,i,"","Multiple (Catching)",null,null,r+"multiple catching"),this.createVertexTemplateEntry(a+"boundInt;symbol=multiple;",l,i,"","Multiple Boundary (Interrupting)",null,null,r+"multiple boundary interrupting"),this.createVertexTemplateEntry(a+"boundNonint;symbol=multiple;",l,i,"","Multiple Boundary (Non-Interrupting)",null,null,r+"multiple boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(a+"throwing;symbol=multiple;",l,i,"","Multiple (Throwing)",null,null,r+"multiple throwing"),this.createVertexTemplateEntry(a+"end;symbol=multiple;",l,i,"","Multiple End",null,null,r+"multiple end"),this.createVertexTemplateEntry(a+"standard;symbol=star;",l,i,"","Multiple Start",null,null,r+"multiple end"),this.createVertexTemplateEntry(a+"standard;symbol=parallelMultiple;",l,i,"","Parallel Multiple",null,null,r+"parallel multiple standard"),this.createVertexTemplateEntry(a+"eventInt;symbol=parallelMultiple;",l,i,"","Parallel Multiple (Interrupting)",null,null,r+"parallel multiple interrupting"),this.createVertexTemplateEntry(a+"eventNonint;symbol=parallelMultiple;",l,i,"","Parallel Multiple (Non-Interrupting)",null,null,r+"parallel multiple non interrupting noninterrupting"),this.createVertexTemplateEntry(a+"catching;symbol=parallelMultiple;",l,i,"","Parallel Multiple (Catching)",null,null,r+"parallel multiple catching"),this.createVertexTemplateEntry(a+"boundInt;symbol=parallelMultiple;",l,i,"","Parallel Multiple Boundary (Interrupting)",null,null,r+"parallel multiple boundary interrupting"),this.createVertexTemplateEntry(a+"boundNonint;symbol=parallelMultiple;",l,i,"","Parallel Multiple Boundary (Non-Interrupting)",null,null,r+"parallel multiple boundary non interrupting noninterrupting"),this.createVertexTemplateEntry(a+"end;symbol=terminate;",l,i,"","Terminate",null,null,r+"terminate")];this.addPalette("bpmn2Gateways","BPMN 2.0  Gateways",!1,mxUtils.bind(this,(function(e){for(var t=0;t<o.length;t++)e.appendChild(o[t](e))})))};