Skip to content

draw.io is a JavaScript, client-side editor for general diagramming.

29.7.12 release

David Bensonc9904435fd1a
diff --git a/ChangeLog b/ChangeLog
index 741aba63a..1be0e8add 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+05-MAY-2026: 29.7.12
+
+- Adds boundedLbl for manual input shape
+- Removes quip references
+- Adds label sanitize https://github.com/jgraph/docker-drawio/security/advisories/GHSA-wj8x-4c77-v8v3
+
04-MAY-2026: 29.7.11
- Upgrades to JDK 21
diff --git a/VERSION b/VERSION
index 53f11d032..02303b1ec 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-29.7.11
\ No newline at end of file
+29.7.12
\ No newline at end of file
diff --git a/src/main/webapp/images/logo-quip.png b/src/main/webapp/images/logo-quip.png
deleted file mode 100644
index 6d8986ae5..000000000
Binary files a/src/main/webapp/images/logo-quip.png and /dev/null differ
diff --git a/src/main/webapp/js/app.min.js b/src/main/webapp/js/app.min.js
index 29e3b0e9b..8bfc5ee30 100644
--- a/src/main/webapp/js/app.min.js
+++ b/src/main/webapp/js/app.min.js
@@ -69,7 +69,7 @@ b),-1!==c&&c===b&&(window.DRAWIO_LOG_URL="https://log.draw.io"))}})();"1"==urlPa
"se.diagrams.net"==window.location.hostname&&(urlParams.db="0",urlParams.od="0",urlParams.gh="0",urlParams.gl="0",urlParams.tr="0",urlParams.plugins="0",urlParams.mode="google",urlParams.lockdown="1",window.DRAWIO_GOOGLE_APP_ID=window.DRAWIO_GOOGLE_APP_ID||"184079235871",window.DRAWIO_GOOGLE_CLIENT_ID=window.DRAWIO_GOOGLE_CLIENT_ID||"184079235871-pjf5nn0lff27lk8qf0770gmffiv9gt61.apps.googleusercontent.com");"trello"==urlParams.mode&&(urlParams.tr="1");
"embed.diagrams.net"==window.location.hostname&&(urlParams.embed="1");(null==window.location.hash||1>=window.location.hash.length)&&null!=urlParams.open&&(window.location.hash=urlParams.open);"function"!==typeof window.structuredClone&&(window.structuredClone=function(a){return a});window.urlParams=window.urlParams||{};window.DOM_PURIFY_CONFIG=window.DOM_PURIFY_CONFIG||{ADD_TAGS:["use","foreignObject"],FORBID_TAGS:["form"],ALLOWED_URI_REGEXP:/^((?!javascript:).)*$/i,HTML_INTEGRATION_POINTS:{foreignobject:!0},ADD_ATTR:["target","content","pointer-events","requiredFeatures"]};window.MAX_REQUEST_SIZE=window.MAX_REQUEST_SIZE||10485760;window.MAX_AREA=window.MAX_AREA||225E6;window.EXPORT_URL=window.EXPORT_URL||"/export";window.SAVE_URL=window.SAVE_URL||"/save";
window.OPEN_URL=window.OPEN_URL||"/open";window.RESOURCES_PATH=window.RESOURCES_PATH||"resources";window.RESOURCE_BASE=window.RESOURCE_BASE||window.RESOURCES_PATH+"/grapheditor";window.STENCIL_PATH=window.STENCIL_PATH||"stencils";window.IMAGE_PATH=window.IMAGE_PATH||"images";window.STYLE_PATH=window.STYLE_PATH||"styles";window.CSS_PATH=window.CSS_PATH||"styles";window.OPEN_FORM=window.OPEN_FORM||"open.html";window.mxBasePath=window.mxBasePath||"mxgraph";
-window.mxImageBasePath=window.mxImageBasePath||"mxgraph/images";window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de","se"];var mxClient={VERSION:"29.7.11",IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),IS_OP:null!=navigator.userAgent&&(0<=navigator.userAgent.indexOf("Opera/")||0<=navigator.userAgent.indexOf("OPR/")),IS_OT:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Presto/")&&0>navigator.userAgent.indexOf("Presto/2.4.")&&0>navigator.userAgent.indexOf("Presto/2.3.")&&
+window.mxImageBasePath=window.mxImageBasePath||"mxgraph/images";window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de","se"];var mxClient={VERSION:"29.7.12",IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),IS_OP:null!=navigator.userAgent&&(0<=navigator.userAgent.indexOf("Opera/")||0<=navigator.userAgent.indexOf("OPR/")),IS_OT:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Presto/")&&0>navigator.userAgent.indexOf("Presto/2.4.")&&0>navigator.userAgent.indexOf("Presto/2.3.")&&
0>navigator.userAgent.indexOf("Presto/2.2.")&&0>navigator.userAgent.indexOf("Presto/2.1.")&&0>navigator.userAgent.indexOf("Presto/2.0.")&&0>navigator.userAgent.indexOf("Presto/1."),IS_SF:/Apple Computer, Inc/.test(navigator.vendor),IS_ANDROID:0<=navigator.appVersion.indexOf("Android"),IS_IOS:/iP(hone|od|ad)/.test(navigator.platform)||navigator.userAgent.match(/Mac/)&&navigator.maxTouchPoints&&2<navigator.maxTouchPoints,IS_WEBVIEW:/((iPhone|iPod|iPad).*AppleWebKit(?!.*Version)|; wv)/i.test(navigator.userAgent),
IS_GC:/Google Inc/.test(navigator.vendor),IS_CHROMEAPP:null!=window.chrome&&null!=chrome.app&&null!=chrome.app.runtime,IS_FF:-1<navigator.userAgent.toLowerCase().indexOf("firefox"),IS_MT:0<=navigator.userAgent.indexOf("Firefox/")&&0>navigator.userAgent.indexOf("Firefox/1.")&&0>navigator.userAgent.indexOf("Firefox/2.")||0<=navigator.userAgent.indexOf("Iceweasel/")&&0>navigator.userAgent.indexOf("Iceweasel/1.")&&0>navigator.userAgent.indexOf("Iceweasel/2.")||0<=navigator.userAgent.indexOf("SeaMonkey/")&&
0>navigator.userAgent.indexOf("SeaMonkey/1.")||0<=navigator.userAgent.indexOf("Iceape/")&&0>navigator.userAgent.indexOf("Iceape/1."),IS_SVG:"MICROSOFT INTERNET EXPLORER"!=navigator.appName.toUpperCase(),NO_FO:!document.createElementNS||"[object SVGForeignObjectElement]"!==document.createElementNS("http://www.w3.org/2000/svg","foreignObject").toString()||0<=navigator.userAgent.indexOf("Opera/"),IS_WIN:0<navigator.appVersion.indexOf("Win"),IS_MAC:0<navigator.appVersion.indexOf("Mac"),IS_CHROMEOS:/\bCrOS\b/.test(navigator.appVersion),
@@ -2495,7 +2495,7 @@ Sidebar.prototype.addBasicPalette=function(a){this.setCurrentSearchEntryLibrary(
120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;bottom=0;right=0;fillColor=none;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;top=0;left=0;fillColor=none;",120,60,"","Partial Rectangle")]);this.setCurrentSearchEntryLibrary()};
Sidebar.prototype.createAdvancedShapes=function(){var a=this,b=new mxCell("List Item",new mxGeometry(0,0,60,26),"text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;");b.vertex=!0;return[this.createVertexTemplateEntry("shape=ext;double=1;rounded=0;whiteSpace=wrap;html=1;",120,80,"","Double Rectangle",null,null,"rect rectangle box double"),this.createVertexTemplateEntry("shape=ext;double=1;rounded=1;whiteSpace=wrap;html=1;",
120,80,"","Double Rounded Rectangle",null,null,"rounded rect rectangle box double"),this.createVertexTemplateEntry("ellipse;shape=doubleEllipse;whiteSpace=wrap;html=1;",100,60,"","Double Ellipse",null,null,"oval ellipse start end state double"),this.createVertexTemplateEntry("shape=ext;double=1;whiteSpace=wrap;html=1;aspect=fixed;",80,80,"","Double Square",null,null,"double square"),this.createVertexTemplateEntry("ellipse;shape=doubleEllipse;whiteSpace=wrap;html=1;aspect=fixed;",80,80,"","Double Circle",
-null,null,"double circle"),this.createVertexTemplateEntry("shape=tapeData;whiteSpace=wrap;html=1;perimeter=ellipsePerimeter;",80,80,"","Tape Data"),this.createVertexTemplateEntry("shape=manualInput;whiteSpace=wrap;html=1;",80,80,"","Manual Input"),this.createVertexTemplateEntry("shape=loopLimit;whiteSpace=wrap;html=1;",100,80,"","Loop Limit"),this.createVertexTemplateEntry("shape=offPageConnector;whiteSpace=wrap;html=1;",80,80,"","Off Page Connector"),this.createVertexTemplateEntry("shape=delay;whiteSpace=wrap;html=1;",
+null,null,"double circle"),this.createVertexTemplateEntry("shape=tapeData;whiteSpace=wrap;html=1;perimeter=ellipsePerimeter;",80,80,"","Tape Data"),this.createVertexTemplateEntry("shape=manualInput;boundedLbl=1;whiteSpace=wrap;html=1;",80,80,"","Manual Input"),this.createVertexTemplateEntry("shape=loopLimit;whiteSpace=wrap;html=1;",100,80,"","Loop Limit"),this.createVertexTemplateEntry("shape=offPageConnector;whiteSpace=wrap;html=1;",80,80,"","Off Page Connector"),this.createVertexTemplateEntry("shape=delay;whiteSpace=wrap;html=1;",
80,40,"","Delay"),this.createVertexTemplateEntry("shape=display;whiteSpace=wrap;html=1;",80,40,"","Display"),this.createVertexTemplateEntry("shape=singleArrow;direction=west;whiteSpace=wrap;html=1;",100,60,"","Arrow Left"),this.createVertexTemplateEntry("shape=singleArrow;whiteSpace=wrap;html=1;",100,60,"","Arrow Right"),this.createVertexTemplateEntry("shape=singleArrow;direction=north;whiteSpace=wrap;html=1;",60,100,"","Arrow Up"),this.createVertexTemplateEntry("shape=singleArrow;direction=south;whiteSpace=wrap;html=1;",
60,100,"","Arrow Down"),this.createVertexTemplateEntry("shape=doubleArrow;whiteSpace=wrap;html=1;",100,60,"","Double Arrow"),this.createVertexTemplateEntry("shape=doubleArrow;direction=south;whiteSpace=wrap;html=1;",60,100,"","Double Arrow Vertical",null,null,"double arrow"),this.createVertexTemplateEntry("shape=actor;whiteSpace=wrap;html=1;",40,60,"","User",null,null,"user person human"),this.createVertexTemplateEntry("shape=cross;whiteSpace=wrap;html=1;",80,80,"","Cross"),this.createVertexTemplateEntry("shape=corner;whiteSpace=wrap;html=1;",
80,80,"","Corner"),this.createVertexTemplateEntry("shape=tee;whiteSpace=wrap;html=1;",80,80,"","Tee"),this.createVertexTemplateEntry("shape=datastore;whiteSpace=wrap;html=1;",60,60,"","Data Store",null,null,"data store cylinder database"),this.createVertexTemplateEntry("shape=orEllipse;perimeter=ellipsePerimeter;whiteSpace=wrap;html=1;backgroundOutline=1;",80,80,"","Or",null,null,"or circle oval ellipse"),this.createVertexTemplateEntry("shape=sumEllipse;perimeter=ellipsePerimeter;whiteSpace=wrap;html=1;backgroundOutline=1;",
@@ -2585,7 +2585,7 @@ arguments)};G.dragOver=function(ia,qa){mxDragSource.prototype.dragOver.apply(thi
null:ia.getCellGeometry(K.cell),Ka=ia.getCellGeometry(f[Fa]),za=ia.model.getParent(K.cell),ja=ua.translate.x*ua.scale,ya=ua.translate.y*ua.scale;null!=Ja&&!Ja.relative&&ia.model.isVertex(za)&&za!=ua.currentRoot&&(ya=ua.getState(za),ja=ya.x,ya=ya.y);Ja=Ka.x;Ka=Ka.y;ia.model.isEdge(f[Fa])&&(Ka=Ja=0);this.previewElement.style.left=(Pa.x-Ja)*ua.scale+ja+"px";this.previewElement.style.top=(Pa.y-Ka)*ua.scale+ya+"px";1==f.length&&(this.previewElement.style.width=Pa.width*ua.scale+"px",this.previewElement.style.height=
Pa.height*ua.scale+"px",null!=this.previewElement.firstChild&&(this.previewElement.firstChild.style.display="none",this.previewElement.className="geDragPreview",mxUtils.setOpacity(this.previewElement,100)));this.previewElement.style.display=""}else null!=G.currentHighlight&&null!=G.currentHighlight.state&&ia.model.isEdge(G.currentHighlight.state.cell)?(this.previewElement.style.left=Math.round(parseInt(this.previewElement.style.left)-g.width*ua.scale/2)+"px",this.previewElement.style.top=Math.round(parseInt(this.previewElement.style.top)-
g.height*ua.scale/2)+"px"):(this.previewElement.style.width=this.previewElementWidth,this.previewElement.style.height=this.previewElementHeight,this.previewElement.style.display="",null!=this.previewElement.firstChild&&(this.previewElement.firstChild.style.display="",mxUtils.setOpacity(this.previewElement,50),this.previewElement.className=""))}};var na=(new Date).getTime(),ba=0,fa=null,wa=this.editorUi.editor.graph.getCellStyle(f[0]);G.getDropTarget=mxUtils.bind(this,function(ia,qa,ua,Fa){var Pa=
-mxEvent.isAltDown(Fa)||null==f?null:ia.getCellAt(qa,ua,null,null,null,function(ya,ab,$a){return ia.isContainer(ya.cell)&&"0"!=mxUtils.getValue(ya.style,"dropTarget","1")});if(null!=Pa&&!this.graph.isCellConnectable(Pa)&&!this.graph.model.isEdge(Pa)){var Ja=this.graph.getModel().getParent(Pa);this.graph.getModel().isVertex(Ja)&&this.graph.isCellConnectable(Ja)&&(Pa=Ja)}ia.isCellLocked(Pa)&&(Pa=null);var Ka=ia.view.getState(Pa);Ja=U=null;fa!=Ka?(na=(new Date).getTime(),ba=0,fa=Ka,null!=this.updateThread&&
+mxEvent.isAltDown(Fa)||null==f?null:ia.getCellAt(qa,ua,null,null,null,function(ya,$a,ab){return ia.isContainer(ya.cell)&&"0"!=mxUtils.getValue(ya.style,"dropTarget","1")});if(null!=Pa&&!this.graph.isCellConnectable(Pa)&&!this.graph.model.isEdge(Pa)){var Ja=this.graph.getModel().getParent(Pa);this.graph.getModel().isVertex(Ja)&&this.graph.isCellConnectable(Ja)&&(Pa=Ja)}ia.isCellLocked(Pa)&&(Pa=null);var Ka=ia.view.getState(Pa);Ja=U=null;fa!=Ka?(na=(new Date).getTime(),ba=0,fa=Ka,null!=this.updateThread&&
window.clearTimeout(this.updateThread),null!=Ka&&(this.updateThread=window.setTimeout(function(){null==U&&(fa=Ka,G.getDropTarget(ia,qa,ua,Fa))},this.dropTargetDelay+10))):ba=(new Date).getTime()-na;if(D&&2500>ba&&null!=Ka&&!mxEvent.isShiftDown(Fa)&&(mxUtils.getValue(Ka.style,mxConstants.STYLE_SHAPE)!=mxUtils.getValue(wa,mxConstants.STYLE_SHAPE)&&(mxUtils.getValue(Ka.style,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE)!=mxConstants.NONE||mxUtils.getValue(Ka.style,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE)!=
mxConstants.NONE||mxUtils.getValue(Ka.style,mxConstants.STYLE_GRADIENTCOLOR,mxConstants.NONE)!=mxConstants.NONE)||"image"==mxUtils.getValue(wa,mxConstants.STYLE_SHAPE)||1500<ba||ia.model.isEdge(Ka.cell))&&ba>this.dropTargetDelay&&!this.isDropStyleTargetIgnored(Ka)&&(ia.model.isVertex(Ka.cell)&&null!=t||ia.model.isEdge(Ka.cell)&&ia.model.isEdge(f[0]))){if(ia.isCellEditable(Ka.cell)){N=Ka;var za=ia.model.isEdge(Ka.cell)?ia.view.getPoint(Ka):new mxPoint(Ka.getCenterX(),Ka.getCenterY());za=new mxRectangle(za.x-
this.refreshTarget.width/2,za.y-this.refreshTarget.height/2,this.refreshTarget.width,this.refreshTarget.height);Y.style.left=Math.floor(za.x)+"px";Y.style.top=Math.floor(za.y)+"px";null==V&&(ia.container.appendChild(Y),V=Y.parentNode);l(qa,ua,za,Y)}}else null==N||!mxUtils.contains(N,qa,ua)||1500<ba&&!mxEvent.isShiftDown(Fa)?(N=null,null!=V&&(Y.parentNode.removeChild(Y),V=null)):null!=N&&null!=V&&(za=ia.model.isEdge(N.cell)?ia.view.getPoint(N):new mxPoint(N.getCenterX(),N.getCenterY()),za=new mxRectangle(za.x-
@@ -3136,8 +3136,8 @@ function(u){return mxEvent.isShiftDown(u.getEvent())&&mxEvent.isAltDown(u.getEve
function(){var u=Ka.apply(this,arguments);null==this.connectShape&&this.isConnectHandleVisible()&&(this.connectShape=this.createSizer("copy",mxEvent.CONNECT_HANDLE,mxConstants.HANDLE_SIZE+3,mxConstants.HANDLE_FILLCOLOR),u.push(this.connectShape));return u};var za=mxVertexHandler.prototype.destroySizers;mxVertexHandler.prototype.destroySizers=function(){za.apply(this,arguments);this.connectShape=null};var ja=mxVertexHandler.prototype.getHandleForEvent;mxVertexHandler.prototype.getHandleForEvent=function(u){if(null!=
this.connectShape&&null!=this.connectShape.node&&"hidden"!=this.connectShape.node.style.visibility){var B=mxEvent.isMouseEvent(u.getEvent())?1:this.tolerance;B=this.allowHandleBoundsCheck&&0<B?new mxRectangle(u.getGraphX()-B,u.getGraphY()-B,2*B,2*B):null;if(u.isSource(this.connectShape)||null!=B&&this.connectShape.intersectsRectangle(B))return mxEvent.CONNECT_HANDLE}return ja.apply(this,arguments)};var ya=mxVertexHandler.prototype.mouseDown;mxVertexHandler.prototype.mouseDown=function(u,B){if(!B.isConsumed()&&
this.graph.isEnabled()&&null!=this.connectShape&&this.getHandleForEvent(B)==mxEvent.CONNECT_HANDLE){var C=B.getGraphX(),F=B.getGraphY();this.graph.popupMenuHandler.hideMenu();this.graph.stopEditing(!1);this.graph.connectHandleClickState=this.state;this.graph.connectionHandler.start(this.state,C,F);this.graph.isMouseTrigger=mxEvent.isMouseEvent(B.getEvent());this.graph.isMouseDown=!0;C=this.graph.selectionCellsHandler.getHandler(this.state.cell);null!=C&&C.setHandlesVisible(!1);B.consume()}else ya.apply(this,
-arguments)};var ab=mxGraphHandler.prototype.getBoundingBox;mxGraphHandler.prototype.getBoundingBox=function(u){if(null!=u&&1==u.length){var B=this.graph.getModel(),C=B.getParent(u[0]),F=this.graph.getCellGeometry(u[0]);if(B.isEdge(C)&&null!=F&&F.relative&&(B=this.graph.view.getState(u[0]),null!=B&&2>B.width&&2>B.height&&null!=B.text&&null!=B.text.boundingBox))return mxRectangle.fromRectangle(B.text.boundingBox)}return ab.apply(this,arguments)};var $a=mxGraphHandler.prototype.getGuideStates;mxGraphHandler.prototype.getGuideStates=
-function(){for(var u=$a.apply(this,arguments),B=[],C=0;C<u.length;C++)"1"!=mxUtils.getValue(u[C].style,"part","0")&&B.push(u[C]);return B};var db=mxVertexHandler.prototype.getSelectionBounds;mxVertexHandler.prototype.getSelectionBounds=function(u){var B=this.graph.getModel(),C=B.getParent(u.cell),F=this.graph.getCellGeometry(u.cell);return B.isEdge(C)&&null!=F&&F.relative&&2>u.width&&2>u.height&&null!=u.text&&null!=u.text.boundingBox?(B=u.text.unrotatedBoundingBox||u.text.boundingBox,new mxRectangle(Math.round(B.x),
+arguments)};var $a=mxGraphHandler.prototype.getBoundingBox;mxGraphHandler.prototype.getBoundingBox=function(u){if(null!=u&&1==u.length){var B=this.graph.getModel(),C=B.getParent(u[0]),F=this.graph.getCellGeometry(u[0]);if(B.isEdge(C)&&null!=F&&F.relative&&(B=this.graph.view.getState(u[0]),null!=B&&2>B.width&&2>B.height&&null!=B.text&&null!=B.text.boundingBox))return mxRectangle.fromRectangle(B.text.boundingBox)}return $a.apply(this,arguments)};var ab=mxGraphHandler.prototype.getGuideStates;mxGraphHandler.prototype.getGuideStates=
+function(){for(var u=ab.apply(this,arguments),B=[],C=0;C<u.length;C++)"1"!=mxUtils.getValue(u[C].style,"part","0")&&B.push(u[C]);return B};var db=mxVertexHandler.prototype.getSelectionBounds;mxVertexHandler.prototype.getSelectionBounds=function(u){var B=this.graph.getModel(),C=B.getParent(u.cell),F=this.graph.getCellGeometry(u.cell);return B.isEdge(C)&&null!=F&&F.relative&&2>u.width&&2>u.height&&null!=u.text&&null!=u.text.boundingBox?(B=u.text.unrotatedBoundingBox||u.text.boundingBox,new mxRectangle(Math.round(B.x),
Math.round(B.y),Math.round(B.width),Math.round(B.height))):db.apply(this,arguments)};var qb=mxVertexHandler.prototype.mouseDown;mxVertexHandler.prototype.mouseDown=function(u,B){var C=this.graph.getModel(),F=C.getParent(this.state.cell),J=this.graph.getCellGeometry(this.state.cell),T=this.getHandleForEvent(B);(T==mxEvent.ROTATION_HANDLE||T==mxEvent.CONNECT_HANDLE||!C.isEdge(F)||null==J||!J.relative||null==this.state||2<=this.state.width||2<=this.state.height)&&qb.apply(this,arguments)};mxVertexHandler.prototype.rotateClick=
function(){var u=mxUtils.getValue(this.state.style,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE),B=mxUtils.getValue(this.state.style,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE);this.state.view.graph.model.isVertex(this.state.cell)&&u==mxConstants.NONE&&B==mxConstants.NONE?(u=mxUtils.mod(mxUtils.getValue(this.state.style,mxConstants.STYLE_ROTATION,0)+90,360),this.state.view.graph.setCellStyles(mxConstants.STYLE_ROTATION,u,[this.state.cell])):this.state.view.graph.turnShapes([this.state.cell])};
var jb=mxVertexHandler.prototype.updateLivePreview;mxVertexHandler.prototype.updateLivePreview=function(u){if(null!=this.state&&this.graph.isAutosizeTextState(this.state)){var B=this.graph.view.scale,C=this.state.style,F=this.roundLength(this.bounds.width/B),J=this.roundLength(this.bounds.height/B);B=this.graph.cellRenderer.getLabelValue(this.state);if(null!=B&&0<B.length&&(F=this.graph.getAutosizeTextAvailableSpace(C,F,J,this.state),null!=F)){this.graph.isHtmlLabel(this.state.cell)||(B=mxUtils.htmlEntities(B,
@@ -3391,37 +3391,37 @@ h.cells);d.setCellStyles(mxConstants.STYLE_FONTCOLOR,la,h.cells);d.updateLabelEl
"100%";k.style.fontWeight="bold";Editor.enableShadowOption||(k.getElementsByTagName("input")[0].setAttribute("disabled","disabled"),mxUtils.setOpacity(k,60));d.cellEditor.isContentEditing()||(p.appendChild(qa),p.appendChild(k));a.appendChild(p);p=this.createPanel();p.style.paddingTop="2px";p.style.paddingBottom="4px";t=d.filterSelectionCells(mxUtils.bind(this,function(la){var Ca=d.view.getState(la);return null==Ca||d.getModel().isEdge(la)||d.isAutoSizeState(Ca)}));E=d.view.getState(d.getSelectionCell());
E=(k="1"==mxUtils.getValue(h.style,"html",0))&&(1<d.getSelectionCount()&&"1"==h.style.convertToSvg||1==d.getSelectionCount()&&null!=E&&null!=E.text&&null!=E.text.node&&0==E.text.node.getElementsByTagName("foreignObject").length)?"svgWhiteSpace":mxConstants.STYLE_WHITE_SPACE;E=this.createCellOption(mxResources.get("wordWrap"),E,null,"wrap","null",null,null,!0,t);E.style.fontWeight="bold";0<t.length&&p.appendChild(E);t=this.createCellOption(mxResources.get("formattedText"),"html",0,null,null,null,g.actions.get("formattedText"));
t.style.fontWeight="bold";p.appendChild(t);t=this.createCellOption(mxResources.get("lblToSvg"),"convertToSvg","0",null,null,function(la,Ca){for(var Aa=0;Aa<la.length;Aa++){var Wa=d.getCurrentCellStyle(la[Aa]);Ca?"wrap"==Wa[mxConstants.STYLE_WHITE_SPACE]&&d.setCellStyles("svgWhiteSpace","wrap",[la[Aa]]):"wrap"==Wa.svgWhiteSpace&&d.setCellStyles(mxConstants.STYLE_WHITE_SPACE,"wrap",[la[Aa]])}});t.style.fontWeight="bold";p.appendChild(t);if(k){oa={H1:1,H2:1,H3:1,H4:1,H5:1,H6:1,P:1,PRE:1,BLOCKQUOTE:1,
-DIV:1,SUP:1,SUB:1,B:1,I:1,SPAN:1,FONT:1,STRIKE:1,U:1,BR:1};U=!1;Z=d.getSelectionCells();for(k=0;k<Z.length&&!U;k++){var ua=d.getLabel(Z[k]);if(null!=ua&&0<ua.length)for(E=document.createElement("div"),E.innerHTML=ua,E=E.getElementsByTagName("*"),ua=0;ua<E.length;ua++)if(null==oa[E[ua].nodeName]||null!=E[ua].style&&""!=E[ua].style.backgroundColor){U=!0;break}}U&&(t.style.opacity="0.5",t.getElementsByTagName("input")[0].setAttribute("disabled","disabled"),t.setAttribute("title","Label contains unsupported HTML for SVG conversion. Supported: H1-H6, P, PRE, BLOCKQUOTE, DIV, B, I, U, STRIKE, SUP, SUB, SPAN, FONT, BR (without background color)."))}else t.style.opacity=
-"0.5",t.getElementsByTagName("input")[0].setAttribute("disabled","disabled");k=this.createCellOption(mxResources.get("autosizeText"),"autosizeText","0",null,null,mxUtils.bind(this,function(la,Ca){if(Ca)for(Ca=0;Ca<la.length;Ca++)d.model.isVertex(la[Ca])&&d.updateAutosizeTextFontSize(la[Ca])}));k.style.fontWeight="bold";0<h.vertices.length&&p.appendChild(k);if(!g.isOffline()||mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)t.getElementsByTagName("span")[0].style.maxWidth="172px",t.appendChild(g.menus.createHelpLink("https://github.com/jgraph/drawio/discussions/5165"));
-k=this.createPanel();k.style.height="86px";var Fa=this.addUnitInput(k,this.getUnit(),87,52,function(){qb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());Fa.setAttribute("title",mxResources.get("top"));var Pa=this.addUnitInput(k,this.getUnit(),16,52,function(){db.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());Pa.setAttribute("title",mxResources.get("global"));mxUtils.br(k);this.addLabel(k,mxResources.get("top"),87,64);this.addLabel(k,mxResources.get("global"),
-16,64);mxUtils.br(k);mxUtils.br(k);var Ja=this.addUnitInput(k,this.getUnit(),158,52,function(){nb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());Ja.setAttribute("title",mxResources.get("left"));var Ka=this.addUnitInput(k,this.getUnit(),87,52,function(){fb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());Ka.setAttribute("title",mxResources.get("bottom"));var za=this.addUnitInput(k,this.getUnit(),16,52,function(){jb.apply(this,arguments)},this.getUnitStep(),
-null,null,this.isFloatUnit());za.setAttribute("title",mxResources.get("right"));mxUtils.br(k);this.addLabel(k,mxResources.get("left"),158,64);this.addLabel(k,mxResources.get("bottom"),87,64);this.addLabel(k,mxResources.get("right"),16,64);if(d.cellEditor.isContentEditing()){var ja=null,ya=null;a.appendChild(this.createRelativeOption(mxResources.get("lineheight"),null,null,function(la){var Ca=""==la.value?120:parseInt(la.value);Ca=Math.max(0,isNaN(Ca)?120:Ca);if(window.getSelection){null!=ja&&(d.cellEditor.restoreSelection(ja),
-ja=null);var Aa=d.getSelectedEditingElement();if(null!=d.cellEditor.textarea&&Aa==d.cellEditor.textarea){var Wa=window.getSelection();if(Wa.getRangeAt&&0<Wa.rangeCount){var Va=Wa.getRangeAt(0);Aa=document.createElement("div");Aa.appendChild(Va.extractContents());d.cellEditor.textarea.innerHTML="";d.cellEditor.textarea.appendChild(Aa);Wa.removeAllRanges();Va=new Range;Va.selectNodeContents(Aa);Wa.addRange(Va)}}if(null!=Aa)for(Aa!=d.cellEditor.textarea&&e(Aa,Ca),Aa=Aa.getElementsByTagName("*"),Wa=window.getSelection(),
-Va=0;Va<Aa.length;Va++)Wa.containsNode(Aa[Va],!0)&&e(Aa[Va],Ca)}la.value=Ca+" %"},function(la){ya=la;mxEvent.addGestureListeners(la,mxUtils.bind(this,function(Ca){document.activeElement==d.cellEditor.textarea&&(ja=d.cellEditor.saveSelection())}));mxEvent.addListener(la,"touchstart",function(){document.activeElement==d.cellEditor.textarea&&(ja=d.cellEditor.saveSelection())});la.value="120 %"}));p=l.cloneNode(!1);g.toolbar.addItems(["link","image"],p,!0,[Editor.linkImage,Editor.imageImage]);k=[g.addButton(Editor.horizontalRuleImage,
-mxResources.get("insertHorizontalRule"),function(){document.execCommand("inserthorizontalrule",!1)},p),g.toolbar.addMenu(new Menu(mxUtils.bind(this,function(la){g.menus.addInsertTableItem(la,null,null,!1)})),null,Editor.tableImage,p)];k=this.createPanel();k.appendChild(this.createTitle(mxResources.get("insert")));k.appendChild(p);a.appendChild(k);t=l.cloneNode(!1);k=[g.addButton(Editor.addColumnLeftImage,mxResources.get("insertColumnBefore"),mxUtils.bind(this,function(){try{null!=W&&d.insertColumn(W,
-null!=ha?ha.cellIndex:0)}catch(la){g.handleError(la)}}),t),g.addButton(Editor.addColumnRightImage,mxResources.get("insertColumnAfter"),mxUtils.bind(this,function(){try{null!=W&&d.insertColumn(W,null!=ha?ha.cellIndex+1:-1)}catch(la){g.handleError(la)}}),t),g.addButton(Editor.removeColumnImage,mxResources.get("deleteColumn"),mxUtils.bind(this,function(){try{null!=W&&null!=ha&&d.deleteColumn(W,ha.cellIndex)}catch(la){g.handleError(la)}}),t),g.addButton(Editor.addRowAboveImage,mxResources.get("insertRowBefore"),
-mxUtils.bind(this,function(){try{null!=W&&null!=aa&&d.insertRow(W,aa.sectionRowIndex)}catch(la){g.handleError(la)}}),t),g.addButton(Editor.addRowBelowImage,mxResources.get("insertRowAfter"),mxUtils.bind(this,function(){try{null!=W&&null!=aa&&d.insertRow(W,aa.sectionRowIndex+1)}catch(la){g.handleError(la)}}),t),g.addButton(Editor.removeRowImage,mxResources.get("deleteRow"),mxUtils.bind(this,function(){try{null!=W&&null!=aa&&d.deleteRow(W,aa.sectionRowIndex)}catch(la){g.handleError(la)}}),t)];k[2].style.marginRight=
-"10px";p=this.createPanel();p.appendChild(this.createTitle(mxResources.get("table")));p.appendChild(t);l=l.cloneNode(!1);k=[g.addButton(Editor.strokeColorImage,mxResources.get("borderColor"),mxUtils.bind(this,function(la){if(null!=W){var Ca=W.style.borderColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(Aa,Wa,Va,u){return"#"+("0"+Number(Wa).toString(16)).substr(-2)+("0"+Number(Va).toString(16)).substr(-2)+("0"+Number(u).toString(16)).substr(-2)});g.pickColor(Ca,function(Aa){var Wa=
-null==ha||null!=la&&mxEvent.isShiftDown(la)?W:ha;null!=Wa&&(d.processElements(Wa,function(Va){Va.style.border=null}),null==Aa||Aa==mxConstants.NONE?(Wa.removeAttribute("border"),Wa.style.border="",Wa.style.borderCollapse=""):(Wa.setAttribute("border","1"),Wa.style.border="1px solid "+Aa,Wa.style.borderCollapse="collapse"))},null,null,null,mxResources.get("borderColor"))}}),l),g.addButton(Editor.fillColorImage,mxResources.get("backgroundColor"),mxUtils.bind(this,function(la){if(null!=W){var Ca=W.style.backgroundColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,
-function(Aa,Wa,Va,u){return"#"+("0"+Number(Wa).toString(16)).substr(-2)+("0"+Number(Va).toString(16)).substr(-2)+("0"+Number(u).toString(16)).substr(-2)});g.pickColor(Ca,function(Aa){var Wa=null==ha||null!=la&&mxEvent.isShiftDown(la)?W:ha;null!=Wa&&(d.processElements(Wa,function(Va){Va.style.backgroundColor=null}),Wa.style.backgroundColor=null==Aa||Aa==mxConstants.NONE?"":Aa)},null,null,null,mxResources.get("backgroundColor"))}}),l),g.addButton(Editor.spacingImage,mxResources.get("spacing"),function(){if(null!=
-W){var la=W.getAttribute("cellPadding")||0;la=new FilenameDialog(g,la,mxResources.get("apply"),mxUtils.bind(this,function(Ca){null!=Ca&&0<Ca.length?W.setAttribute("cellPadding",Ca):W.removeAttribute("cellPadding")}),mxResources.get("spacing"));g.showDialog(la.container,300,80,!0,!0);la.init()}},l),g.addButton(Editor.alignLeftImage,mxResources.get("left"),function(){null!=W&&W.setAttribute("align","left")},l),g.addButton(Editor.alignCenterImage,mxResources.get("center"),function(){null!=W&&W.setAttribute("align",
-"center")},l),g.addButton(Editor.alignRightImage,mxResources.get("right"),function(){null!=W&&W.setAttribute("align","right")},l)];k[2].style.marginRight="10px";p.appendChild(l);a.appendChild(p);var ab=p}else a.appendChild(p),l=this.createRelativeOption(mxResources.get("opacity"),mxConstants.STYLE_TEXT_OPACITY),l.style.borderTopStyle="solid",l.style.borderTopWidth="1px",l.style.padding="6px 0",a.appendChild(l),l=this.createCollapsibleSection(mxResources.get("spacing"),!0),l.contentDiv.appendChild(k),
-a.appendChild(l.wrapper);for(k=0;3>k;k++)(function(la){mxEvent.addListener(x[la],"click",function(){f(x[la],""==x[la].style.backgroundImage)})})(k);var $a=mxUtils.bind(this,function(la,Ca,Aa){h=g.getSelectionState();la=mxUtils.getValue(h.style,mxConstants.STYLE_FONTSTYLE,0);f(x[0],(la&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD);f(x[1],(la&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC);f(x[2],(la&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE);g.toolbar.setMenuText(v,mxUtils.getValue(h.style,
-mxConstants.STYLE_FONTFAMILY,Menus.prototype.defaultFont));f(z,"0"==mxUtils.getValue(h.style,mxConstants.STYLE_HORIZONTAL,"1"));if(Aa||document.activeElement!=na)la=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_FONTSIZE,Menus.prototype.defaultFontSize)),na.value=isNaN(la)?"":la+" "+Editor.fontSizeUnit;la=mxUtils.getValue(h.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER);f(D,la==mxConstants.ALIGN_LEFT);f(G,la==mxConstants.ALIGN_CENTER);f(H,la==mxConstants.ALIGN_RIGHT);la=mxUtils.getValue(h.style,
-mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE);f(K,la==mxConstants.ALIGN_TOP);f(O,la==mxConstants.ALIGN_MIDDLE);f(N,la==mxConstants.ALIGN_BOTTOM);la=mxUtils.getValue(h.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER);Ca=mxUtils.getValue(h.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE);ma.value=la==mxConstants.ALIGN_LEFT&&Ca==mxConstants.ALIGN_TOP?"topLeft":la==mxConstants.ALIGN_CENTER&&Ca==mxConstants.ALIGN_TOP?"top":la==mxConstants.ALIGN_RIGHT&&
-Ca==mxConstants.ALIGN_TOP?"topRight":la==mxConstants.ALIGN_LEFT&&Ca==mxConstants.ALIGN_BOTTOM?"bottomLeft":la==mxConstants.ALIGN_CENTER&&Ca==mxConstants.ALIGN_BOTTOM?"bottom":la==mxConstants.ALIGN_RIGHT&&Ca==mxConstants.ALIGN_BOTTOM?"bottomRight":la==mxConstants.ALIGN_LEFT?"left":la==mxConstants.ALIGN_RIGHT?"right":"center";la=mxUtils.getValue(h.style,mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT_TEXT_DIRECTION);la==mxConstants.TEXT_DIRECTION_RTL?M.value="rightToLeft":la==mxConstants.TEXT_DIRECTION_LTR?
-M.value="leftToRight":la!=mxConstants.TEXT_DIRECTION_AUTO&&h.html?la==mxConstants.TEXT_DIRECTION_VERTICAL_LR?M.value="vertical-leftToRight":la==mxConstants.TEXT_DIRECTION_VERTICAL_RL&&(M.value="vertical-rightToLeft"):M.value="automatic";if(Aa||document.activeElement!=Pa)la=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING,2)),Pa.value=isNaN(la)?"":this.inUnit(la)+" "+this.getUnit();if(Aa||document.activeElement!=Fa)la=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING_TOP,0)),
-Fa.value=isNaN(la)?"":this.inUnit(la)+" "+this.getUnit();if(Aa||document.activeElement!=za)la=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING_RIGHT,0)),za.value=isNaN(la)?"":this.inUnit(la)+" "+this.getUnit();if(Aa||document.activeElement!=Ka)la=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING_BOTTOM,0)),Ka.value=isNaN(la)?"":this.inUnit(la)+" "+this.getUnit();if(Aa||document.activeElement!=Ja)la=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING_LEFT,0)),Ja.value=
-isNaN(la)?"":this.inUnit(la)+" "+this.getUnit()});var db=this.installInputHandler(Pa,mxConstants.STYLE_SPACING,2,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var qb=this.installInputHandler(Fa,mxConstants.STYLE_SPACING_TOP,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var jb=this.installInputHandler(za,mxConstants.STYLE_SPACING_RIGHT,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var fb=this.installInputHandler(Ka,mxConstants.STYLE_SPACING_BOTTOM,0,-999,999,this.getUnit(" "),
-null,this.isFloatUnit(),!0);var nb=this.installInputHandler(Ja,mxConstants.STYLE_SPACING_LEFT,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);this.addKeyHandler(na,$a);this.addKeyHandler(Pa,$a);this.addKeyHandler(Fa,$a);this.addKeyHandler(za,$a);this.addKeyHandler(Ka,$a);this.addKeyHandler(Ja,$a);d.getModel().addListener(mxEvent.CHANGE,$a);this.listeners.push({destroy:function(){d.getModel().removeListener($a)}});$a();if(d.cellEditor.isContentEditing()){var hb=null,cb=!1;l=mxUtils.bind(this,
-function(){cb||(cb=!0,window.setTimeout(mxUtils.bind(this,function(){var la=d.getSelectedEditingElement();if(null!=la&&null!=d.cellEditor.textarea){var Ca=function(ea,ka){if(null!=ea&&null!=ka){if(ea==ka)return!0;if(ea.length>ka.length+1)return ea.substring(ea.length-ka.length-1,ea.length)=="-"+ka}return!1},Aa=function(ea){if(null!=d.getParentByName(la,ea,d.cellEditor.textarea))return!0;for(var ka=la;null!=ka&&1==ka.childNodes.length;)if(ka=ka.childNodes[0],ka.nodeName==ea)return!0;return!1},Wa=function(ea){for(;null!=
-ea&&ea!=d.cellEditor.textarea;){if("block"==mxUtils.getCurrentStyle(ea).display)return ea;ea=ea.parentNode}return null},Va=mxUtils.getCurrentStyle(la),u=la==d.cellEditor.textarea||""==la.style.lineHeight?null:la.style.lineHeight,B=la==d.cellEditor.textarea||""==la.style.fontSize?null:b(Va);if(window.getSelection)for(var C=la.getElementsByTagName("*"),F=window.getSelection(),J=0;J<C.length&&(!F.containsNode(C[J],!0)||null==C[J].style||(null==B&&""!=C[J].style.fontSize&&(B=parseFloat(C[J].style.fontSize)),
-null==u&&""!=C[J].style.lineHeight&&(u=C[J].style.lineHeight),null==B||null==u));J++);null==B&&(B=b(Va));if(null==u)for(C=la;null!=C&&C!=d.cellEditor.textarea.parentNode;){if(null!=C.style&&""!=C.style.lineHeight){u=C.style.lineHeight;break}C=C.parentNode}if(null!=Va){f(x[0],"bold"==Va.fontWeight||400<Va.fontWeight||Aa("B")||Aa("STRONG"));f(x[1],"italic"==Va.fontStyle||Aa("I")||Aa("EM"));f(x[2],"underline"==Va.textDecorationLine||Aa("U"));f(R,"line-through"==Va.textDecorationLine||Aa("STRIKE"));f(V,
-Aa("SUP"));f(Y,Aa("SUB"));var T=Wa(la);if(null!=T){Aa=function(ea,ka){pa.push({name:ea,dispName:ka,type:"string",getValue:function(){return X[ea]},valueChanged:function(Ba,Ea){var La=T.style,Sa=Ba;parseInt(Sa)==Sa&&(Sa+="px",null!=Ea&&(Ea.value=Sa));La[ea]=Sa;""==Ba&&null!=Ea&&(Ea.value=X[ea])}})};var X=mxUtils.getCurrentStyle(T),pa=[];Aa("paddingTop","Padding Top");Aa("paddingRight","Padding Right");Aa("paddingLeft","Padding Left");Aa("paddingBottom","Padding Bottom");Aa("marginTop","Margin Top");
-Aa("marginRight","Margin Right");Aa("marginLeft","Margin Left");Aa("marginBottom","Margin Bottom");Aa=this.createPanel();this.addProperties(Aa,pa,h,!0);null!=hb?hb.parentNode.replaceChild(Aa,hb):a.appendChild(Aa);hb=Aa}d.cellEditor.isTableSelected()?(f(ca,Ca(Va.textAlign,"justify")),f(D,Ca(Va.textAlign,"left")),f(G,Ca(Va.textAlign,"center")),f(H,Ca(Va.textAlign,"right"))):(Aa=d.cellEditor.align||mxUtils.getValue(h.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),Ca(Va.textAlign,"justify")?
-(f(ca,Ca(Va.textAlign,"justify")),f(D,!1),f(G,!1),f(H,!1)):(f(ca,!1),f(D,Aa==mxConstants.ALIGN_LEFT),f(G,Aa==mxConstants.ALIGN_CENTER),f(H,Aa==mxConstants.ALIGN_RIGHT)));W=d.getParentByName(la,"TABLE",d.cellEditor.textarea);aa=null==W?null:d.getParentByName(la,"TR",W);ha=null==W?null:d.getParentByNames(la,["TD","TH"],W);ab.style.display=null!=W?"":"none";document.activeElement!=na&&(na.value=isNaN(B)?"":B+" "+Editor.fontSizeUnit,"string"===typeof u&&0<u.indexOf("%")?ya.value=u.replace("%"," %"):(Ca=
-parseFloat(u),isNaN(Ca)?ya.value="120 %":ya.value=Math.round(100*Ca)+" %"));null!=wa&&(S=d.getTextColor(la,!0),wa(S,!0));null!=ba&&(fa=d.getTextColor(la,!1),ba(fa,!0));g.toolbar.setMenuText(v,mxUtils.getCssFontFamily(Va.fontFamily))}}cb=!1}),0))});mxEvent.addListener(d.cellEditor.textarea,"input",l);mxEvent.addListener(d.cellEditor.textarea,"touchend",l);mxEvent.addListener(d.cellEditor.textarea,"mouseup",l);mxEvent.addListener(d.cellEditor.textarea,"keyup",l);this.listeners.push({destroy:function(){}});
-l()}return a};StyleFormatPanel=function(a,b,e){BaseFormatPanel.call(this,a,b,e);this.init()};mxUtils.extend(StyleFormatPanel,BaseFormatPanel);
+DIV:1,SUP:1,SUB:1,B:1,I:1,SPAN:1,FONT:1,STRIKE:1,U:1,BR:1};U=!1;Z=d.getSelectionCells();for(k=0;k<Z.length&&!U;k++){var ua=d.getLabel(Z[k]);if(null!=ua&&0<ua.length)for(E=document.createElement("div"),E.innerHTML=Graph.sanitizeHtml(ua),E=E.getElementsByTagName("*"),ua=0;ua<E.length;ua++)if(null==oa[E[ua].nodeName]||null!=E[ua].style&&""!=E[ua].style.backgroundColor){U=!0;break}}U&&(t.style.opacity="0.5",t.getElementsByTagName("input")[0].setAttribute("disabled","disabled"),t.setAttribute("title",
+"Label contains unsupported HTML for SVG conversion. Supported: H1-H6, P, PRE, BLOCKQUOTE, DIV, B, I, U, STRIKE, SUP, SUB, SPAN, FONT, BR (without background color)."))}else t.style.opacity="0.5",t.getElementsByTagName("input")[0].setAttribute("disabled","disabled");k=this.createCellOption(mxResources.get("autosizeText"),"autosizeText","0",null,null,mxUtils.bind(this,function(la,Ca){if(Ca)for(Ca=0;Ca<la.length;Ca++)d.model.isVertex(la[Ca])&&d.updateAutosizeTextFontSize(la[Ca])}));k.style.fontWeight=
+"bold";0<h.vertices.length&&p.appendChild(k);if(!g.isOffline()||mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)t.getElementsByTagName("span")[0].style.maxWidth="172px",t.appendChild(g.menus.createHelpLink("https://github.com/jgraph/drawio/discussions/5165"));k=this.createPanel();k.style.height="86px";var Fa=this.addUnitInput(k,this.getUnit(),87,52,function(){qb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());Fa.setAttribute("title",mxResources.get("top"));var Pa=this.addUnitInput(k,
+this.getUnit(),16,52,function(){db.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());Pa.setAttribute("title",mxResources.get("global"));mxUtils.br(k);this.addLabel(k,mxResources.get("top"),87,64);this.addLabel(k,mxResources.get("global"),16,64);mxUtils.br(k);mxUtils.br(k);var Ja=this.addUnitInput(k,this.getUnit(),158,52,function(){nb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());Ja.setAttribute("title",mxResources.get("left"));var Ka=this.addUnitInput(k,
+this.getUnit(),87,52,function(){fb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());Ka.setAttribute("title",mxResources.get("bottom"));var za=this.addUnitInput(k,this.getUnit(),16,52,function(){jb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());za.setAttribute("title",mxResources.get("right"));mxUtils.br(k);this.addLabel(k,mxResources.get("left"),158,64);this.addLabel(k,mxResources.get("bottom"),87,64);this.addLabel(k,mxResources.get("right"),16,64);
+if(d.cellEditor.isContentEditing()){var ja=null,ya=null;a.appendChild(this.createRelativeOption(mxResources.get("lineheight"),null,null,function(la){var Ca=""==la.value?120:parseInt(la.value);Ca=Math.max(0,isNaN(Ca)?120:Ca);if(window.getSelection){null!=ja&&(d.cellEditor.restoreSelection(ja),ja=null);var Aa=d.getSelectedEditingElement();if(null!=d.cellEditor.textarea&&Aa==d.cellEditor.textarea){var Wa=window.getSelection();if(Wa.getRangeAt&&0<Wa.rangeCount){var Va=Wa.getRangeAt(0);Aa=document.createElement("div");
+Aa.appendChild(Va.extractContents());d.cellEditor.textarea.innerHTML="";d.cellEditor.textarea.appendChild(Aa);Wa.removeAllRanges();Va=new Range;Va.selectNodeContents(Aa);Wa.addRange(Va)}}if(null!=Aa)for(Aa!=d.cellEditor.textarea&&e(Aa,Ca),Aa=Aa.getElementsByTagName("*"),Wa=window.getSelection(),Va=0;Va<Aa.length;Va++)Wa.containsNode(Aa[Va],!0)&&e(Aa[Va],Ca)}la.value=Ca+" %"},function(la){ya=la;mxEvent.addGestureListeners(la,mxUtils.bind(this,function(Ca){document.activeElement==d.cellEditor.textarea&&
+(ja=d.cellEditor.saveSelection())}));mxEvent.addListener(la,"touchstart",function(){document.activeElement==d.cellEditor.textarea&&(ja=d.cellEditor.saveSelection())});la.value="120 %"}));p=l.cloneNode(!1);g.toolbar.addItems(["link","image"],p,!0,[Editor.linkImage,Editor.imageImage]);k=[g.addButton(Editor.horizontalRuleImage,mxResources.get("insertHorizontalRule"),function(){document.execCommand("inserthorizontalrule",!1)},p),g.toolbar.addMenu(new Menu(mxUtils.bind(this,function(la){g.menus.addInsertTableItem(la,
+null,null,!1)})),null,Editor.tableImage,p)];k=this.createPanel();k.appendChild(this.createTitle(mxResources.get("insert")));k.appendChild(p);a.appendChild(k);t=l.cloneNode(!1);k=[g.addButton(Editor.addColumnLeftImage,mxResources.get("insertColumnBefore"),mxUtils.bind(this,function(){try{null!=W&&d.insertColumn(W,null!=ha?ha.cellIndex:0)}catch(la){g.handleError(la)}}),t),g.addButton(Editor.addColumnRightImage,mxResources.get("insertColumnAfter"),mxUtils.bind(this,function(){try{null!=W&&d.insertColumn(W,
+null!=ha?ha.cellIndex+1:-1)}catch(la){g.handleError(la)}}),t),g.addButton(Editor.removeColumnImage,mxResources.get("deleteColumn"),mxUtils.bind(this,function(){try{null!=W&&null!=ha&&d.deleteColumn(W,ha.cellIndex)}catch(la){g.handleError(la)}}),t),g.addButton(Editor.addRowAboveImage,mxResources.get("insertRowBefore"),mxUtils.bind(this,function(){try{null!=W&&null!=aa&&d.insertRow(W,aa.sectionRowIndex)}catch(la){g.handleError(la)}}),t),g.addButton(Editor.addRowBelowImage,mxResources.get("insertRowAfter"),
+mxUtils.bind(this,function(){try{null!=W&&null!=aa&&d.insertRow(W,aa.sectionRowIndex+1)}catch(la){g.handleError(la)}}),t),g.addButton(Editor.removeRowImage,mxResources.get("deleteRow"),mxUtils.bind(this,function(){try{null!=W&&null!=aa&&d.deleteRow(W,aa.sectionRowIndex)}catch(la){g.handleError(la)}}),t)];k[2].style.marginRight="10px";p=this.createPanel();p.appendChild(this.createTitle(mxResources.get("table")));p.appendChild(t);l=l.cloneNode(!1);k=[g.addButton(Editor.strokeColorImage,mxResources.get("borderColor"),
+mxUtils.bind(this,function(la){if(null!=W){var Ca=W.style.borderColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(Aa,Wa,Va,u){return"#"+("0"+Number(Wa).toString(16)).substr(-2)+("0"+Number(Va).toString(16)).substr(-2)+("0"+Number(u).toString(16)).substr(-2)});g.pickColor(Ca,function(Aa){var Wa=null==ha||null!=la&&mxEvent.isShiftDown(la)?W:ha;null!=Wa&&(d.processElements(Wa,function(Va){Va.style.border=null}),null==Aa||Aa==mxConstants.NONE?(Wa.removeAttribute("border"),Wa.style.border=
+"",Wa.style.borderCollapse=""):(Wa.setAttribute("border","1"),Wa.style.border="1px solid "+Aa,Wa.style.borderCollapse="collapse"))},null,null,null,mxResources.get("borderColor"))}}),l),g.addButton(Editor.fillColorImage,mxResources.get("backgroundColor"),mxUtils.bind(this,function(la){if(null!=W){var Ca=W.style.backgroundColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(Aa,Wa,Va,u){return"#"+("0"+Number(Wa).toString(16)).substr(-2)+("0"+Number(Va).toString(16)).substr(-2)+("0"+
+Number(u).toString(16)).substr(-2)});g.pickColor(Ca,function(Aa){var Wa=null==ha||null!=la&&mxEvent.isShiftDown(la)?W:ha;null!=Wa&&(d.processElements(Wa,function(Va){Va.style.backgroundColor=null}),Wa.style.backgroundColor=null==Aa||Aa==mxConstants.NONE?"":Aa)},null,null,null,mxResources.get("backgroundColor"))}}),l),g.addButton(Editor.spacingImage,mxResources.get("spacing"),function(){if(null!=W){var la=W.getAttribute("cellPadding")||0;la=new FilenameDialog(g,la,mxResources.get("apply"),mxUtils.bind(this,
+function(Ca){null!=Ca&&0<Ca.length?W.setAttribute("cellPadding",Ca):W.removeAttribute("cellPadding")}),mxResources.get("spacing"));g.showDialog(la.container,300,80,!0,!0);la.init()}},l),g.addButton(Editor.alignLeftImage,mxResources.get("left"),function(){null!=W&&W.setAttribute("align","left")},l),g.addButton(Editor.alignCenterImage,mxResources.get("center"),function(){null!=W&&W.setAttribute("align","center")},l),g.addButton(Editor.alignRightImage,mxResources.get("right"),function(){null!=W&&W.setAttribute("align",
+"right")},l)];k[2].style.marginRight="10px";p.appendChild(l);a.appendChild(p);var $a=p}else a.appendChild(p),l=this.createRelativeOption(mxResources.get("opacity"),mxConstants.STYLE_TEXT_OPACITY),l.style.borderTopStyle="solid",l.style.borderTopWidth="1px",l.style.padding="6px 0",a.appendChild(l),l=this.createCollapsibleSection(mxResources.get("spacing"),!0),l.contentDiv.appendChild(k),a.appendChild(l.wrapper);for(k=0;3>k;k++)(function(la){mxEvent.addListener(x[la],"click",function(){f(x[la],""==x[la].style.backgroundImage)})})(k);
+var ab=mxUtils.bind(this,function(la,Ca,Aa){h=g.getSelectionState();la=mxUtils.getValue(h.style,mxConstants.STYLE_FONTSTYLE,0);f(x[0],(la&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD);f(x[1],(la&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC);f(x[2],(la&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE);g.toolbar.setMenuText(v,mxUtils.getValue(h.style,mxConstants.STYLE_FONTFAMILY,Menus.prototype.defaultFont));f(z,"0"==mxUtils.getValue(h.style,mxConstants.STYLE_HORIZONTAL,"1"));if(Aa||document.activeElement!=
+na)la=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_FONTSIZE,Menus.prototype.defaultFontSize)),na.value=isNaN(la)?"":la+" "+Editor.fontSizeUnit;la=mxUtils.getValue(h.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER);f(D,la==mxConstants.ALIGN_LEFT);f(G,la==mxConstants.ALIGN_CENTER);f(H,la==mxConstants.ALIGN_RIGHT);la=mxUtils.getValue(h.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE);f(K,la==mxConstants.ALIGN_TOP);f(O,la==mxConstants.ALIGN_MIDDLE);f(N,la==mxConstants.ALIGN_BOTTOM);
+la=mxUtils.getValue(h.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER);Ca=mxUtils.getValue(h.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE);ma.value=la==mxConstants.ALIGN_LEFT&&Ca==mxConstants.ALIGN_TOP?"topLeft":la==mxConstants.ALIGN_CENTER&&Ca==mxConstants.ALIGN_TOP?"top":la==mxConstants.ALIGN_RIGHT&&Ca==mxConstants.ALIGN_TOP?"topRight":la==mxConstants.ALIGN_LEFT&&Ca==mxConstants.ALIGN_BOTTOM?"bottomLeft":la==mxConstants.ALIGN_CENTER&&Ca==mxConstants.ALIGN_BOTTOM?
+"bottom":la==mxConstants.ALIGN_RIGHT&&Ca==mxConstants.ALIGN_BOTTOM?"bottomRight":la==mxConstants.ALIGN_LEFT?"left":la==mxConstants.ALIGN_RIGHT?"right":"center";la=mxUtils.getValue(h.style,mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT_TEXT_DIRECTION);la==mxConstants.TEXT_DIRECTION_RTL?M.value="rightToLeft":la==mxConstants.TEXT_DIRECTION_LTR?M.value="leftToRight":la!=mxConstants.TEXT_DIRECTION_AUTO&&h.html?la==mxConstants.TEXT_DIRECTION_VERTICAL_LR?M.value="vertical-leftToRight":la==mxConstants.TEXT_DIRECTION_VERTICAL_RL&&
+(M.value="vertical-rightToLeft"):M.value="automatic";if(Aa||document.activeElement!=Pa)la=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING,2)),Pa.value=isNaN(la)?"":this.inUnit(la)+" "+this.getUnit();if(Aa||document.activeElement!=Fa)la=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING_TOP,0)),Fa.value=isNaN(la)?"":this.inUnit(la)+" "+this.getUnit();if(Aa||document.activeElement!=za)la=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING_RIGHT,0)),za.value=isNaN(la)?
+"":this.inUnit(la)+" "+this.getUnit();if(Aa||document.activeElement!=Ka)la=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING_BOTTOM,0)),Ka.value=isNaN(la)?"":this.inUnit(la)+" "+this.getUnit();if(Aa||document.activeElement!=Ja)la=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING_LEFT,0)),Ja.value=isNaN(la)?"":this.inUnit(la)+" "+this.getUnit()});var db=this.installInputHandler(Pa,mxConstants.STYLE_SPACING,2,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var qb=this.installInputHandler(Fa,
+mxConstants.STYLE_SPACING_TOP,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var jb=this.installInputHandler(za,mxConstants.STYLE_SPACING_RIGHT,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var fb=this.installInputHandler(Ka,mxConstants.STYLE_SPACING_BOTTOM,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var nb=this.installInputHandler(Ja,mxConstants.STYLE_SPACING_LEFT,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);this.addKeyHandler(na,ab);this.addKeyHandler(Pa,
+ab);this.addKeyHandler(Fa,ab);this.addKeyHandler(za,ab);this.addKeyHandler(Ka,ab);this.addKeyHandler(Ja,ab);d.getModel().addListener(mxEvent.CHANGE,ab);this.listeners.push({destroy:function(){d.getModel().removeListener(ab)}});ab();if(d.cellEditor.isContentEditing()){var hb=null,cb=!1;l=mxUtils.bind(this,function(){cb||(cb=!0,window.setTimeout(mxUtils.bind(this,function(){var la=d.getSelectedEditingElement();if(null!=la&&null!=d.cellEditor.textarea){var Ca=function(ea,ka){if(null!=ea&&null!=ka){if(ea==
+ka)return!0;if(ea.length>ka.length+1)return ea.substring(ea.length-ka.length-1,ea.length)=="-"+ka}return!1},Aa=function(ea){if(null!=d.getParentByName(la,ea,d.cellEditor.textarea))return!0;for(var ka=la;null!=ka&&1==ka.childNodes.length;)if(ka=ka.childNodes[0],ka.nodeName==ea)return!0;return!1},Wa=function(ea){for(;null!=ea&&ea!=d.cellEditor.textarea;){if("block"==mxUtils.getCurrentStyle(ea).display)return ea;ea=ea.parentNode}return null},Va=mxUtils.getCurrentStyle(la),u=la==d.cellEditor.textarea||
+""==la.style.lineHeight?null:la.style.lineHeight,B=la==d.cellEditor.textarea||""==la.style.fontSize?null:b(Va);if(window.getSelection)for(var C=la.getElementsByTagName("*"),F=window.getSelection(),J=0;J<C.length&&(!F.containsNode(C[J],!0)||null==C[J].style||(null==B&&""!=C[J].style.fontSize&&(B=parseFloat(C[J].style.fontSize)),null==u&&""!=C[J].style.lineHeight&&(u=C[J].style.lineHeight),null==B||null==u));J++);null==B&&(B=b(Va));if(null==u)for(C=la;null!=C&&C!=d.cellEditor.textarea.parentNode;){if(null!=
+C.style&&""!=C.style.lineHeight){u=C.style.lineHeight;break}C=C.parentNode}if(null!=Va){f(x[0],"bold"==Va.fontWeight||400<Va.fontWeight||Aa("B")||Aa("STRONG"));f(x[1],"italic"==Va.fontStyle||Aa("I")||Aa("EM"));f(x[2],"underline"==Va.textDecorationLine||Aa("U"));f(R,"line-through"==Va.textDecorationLine||Aa("STRIKE"));f(V,Aa("SUP"));f(Y,Aa("SUB"));var T=Wa(la);if(null!=T){Aa=function(ea,ka){pa.push({name:ea,dispName:ka,type:"string",getValue:function(){return X[ea]},valueChanged:function(Ba,Ea){var La=
+T.style,Sa=Ba;parseInt(Sa)==Sa&&(Sa+="px",null!=Ea&&(Ea.value=Sa));La[ea]=Sa;""==Ba&&null!=Ea&&(Ea.value=X[ea])}})};var X=mxUtils.getCurrentStyle(T),pa=[];Aa("paddingTop","Padding Top");Aa("paddingRight","Padding Right");Aa("paddingLeft","Padding Left");Aa("paddingBottom","Padding Bottom");Aa("marginTop","Margin Top");Aa("marginRight","Margin Right");Aa("marginLeft","Margin Left");Aa("marginBottom","Margin Bottom");Aa=this.createPanel();this.addProperties(Aa,pa,h,!0);null!=hb?hb.parentNode.replaceChild(Aa,
+hb):a.appendChild(Aa);hb=Aa}d.cellEditor.isTableSelected()?(f(ca,Ca(Va.textAlign,"justify")),f(D,Ca(Va.textAlign,"left")),f(G,Ca(Va.textAlign,"center")),f(H,Ca(Va.textAlign,"right"))):(Aa=d.cellEditor.align||mxUtils.getValue(h.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),Ca(Va.textAlign,"justify")?(f(ca,Ca(Va.textAlign,"justify")),f(D,!1),f(G,!1),f(H,!1)):(f(ca,!1),f(D,Aa==mxConstants.ALIGN_LEFT),f(G,Aa==mxConstants.ALIGN_CENTER),f(H,Aa==mxConstants.ALIGN_RIGHT)));W=d.getParentByName(la,
+"TABLE",d.cellEditor.textarea);aa=null==W?null:d.getParentByName(la,"TR",W);ha=null==W?null:d.getParentByNames(la,["TD","TH"],W);$a.style.display=null!=W?"":"none";document.activeElement!=na&&(na.value=isNaN(B)?"":B+" "+Editor.fontSizeUnit,"string"===typeof u&&0<u.indexOf("%")?ya.value=u.replace("%"," %"):(Ca=parseFloat(u),isNaN(Ca)?ya.value="120 %":ya.value=Math.round(100*Ca)+" %"));null!=wa&&(S=d.getTextColor(la,!0),wa(S,!0));null!=ba&&(fa=d.getTextColor(la,!1),ba(fa,!0));g.toolbar.setMenuText(v,
+mxUtils.getCssFontFamily(Va.fontFamily))}}cb=!1}),0))});mxEvent.addListener(d.cellEditor.textarea,"input",l);mxEvent.addListener(d.cellEditor.textarea,"touchend",l);mxEvent.addListener(d.cellEditor.textarea,"mouseup",l);mxEvent.addListener(d.cellEditor.textarea,"keyup",l);this.listeners.push({destroy:function(){}});l()}return a};StyleFormatPanel=function(a,b,e){BaseFormatPanel.call(this,a,b,e);this.init()};mxUtils.extend(StyleFormatPanel,BaseFormatPanel);
StyleFormatPanel.prototype.init=function(){var a=this.editorUi.getSelectionState();if(!a.containsLabel&&0<a.cells.length){a.containsImage&&1==a.vertices.length&&"image"==a.style.shape&&null!=a.style.image&&"data:image/svg+xml;"==String(a.style.image).substring(0,19)&&this.container.appendChild(this.addSvgStyles(this.createPanel()));if(a.fill){var b=this.createCollapsibleSection(mxResources.get("fill"),!1);b.contentDiv.appendChild(this.addFill(this.createPanel()));this.container.appendChild(b.wrapper)}b=
this.createCollapsibleSection(mxResources.get("line"),!1);b.contentDiv.appendChild(this.addStroke(this.createPanel()));this.container.appendChild(b.wrapper);b=this.addLineJumps(this.createPanel());var e=this.createCollapsibleSection(mxResources.get("lineJumps"),!0);e.contentDiv.appendChild(b);this.container.appendChild(e.wrapper);this.syncCollapsibleVisibility(e.wrapper,b);b=this.createRelativeOption(mxResources.get("opacity"),mxConstants.STYLE_OPACITY);b.style.borderTopStyle="solid";b.style.borderTopWidth=
"1px";b.style.padding="6px 0";this.container.appendChild(b);b=this.createCollapsibleSection(mxResources.get("effects"),!0);b.contentDiv.appendChild(this.addEffects(this.createPanel()));this.container.appendChild(b.wrapper)}b=this.createPanel();1==a.cells.length&&(this.addEditOps(b),null!=b.firstChild&&mxUtils.br(b));1<=a.cells.length&&this.addStyleOps(b);null!=b.firstChild&&this.container.appendChild(b)};
@@ -3564,7 +3564,7 @@ function x(){mxShape.call(this)}function z(c,m,q,n){mxShape.call(this);this.boun
this.canvas.setLineCap("round");this.defaultVariation=m;this.originalLineTo=this.canvas.lineTo;this.canvas.lineTo=mxUtils.bind(this,aa.prototype.lineTo);this.originalMoveTo=this.canvas.moveTo;this.canvas.moveTo=mxUtils.bind(this,aa.prototype.moveTo);this.originalClose=this.canvas.close;this.canvas.close=mxUtils.bind(this,aa.prototype.close);this.originalQuadTo=this.canvas.quadTo;this.canvas.quadTo=mxUtils.bind(this,aa.prototype.quadTo);this.originalCurveTo=this.canvas.curveTo;this.canvas.curveTo=
mxUtils.bind(this,aa.prototype.curveTo);this.originalArcTo=this.canvas.arcTo;this.canvas.arcTo=mxUtils.bind(this,aa.prototype.arcTo)}function ca(){mxRectangleShape.call(this)}function Y(){mxRectangleShape.call(this)}function V(){mxActor.call(this)}function ma(){mxActor.call(this)}function oa(){mxActor.call(this)}function L(){mxRectangleShape.call(this)}function U(){mxRectangleShape.call(this)}function M(){mxCylinder.call(this)}function P(){mxShape.call(this)}function Z(){mxShape.call(this)}function na(){mxEllipse.call(this)}
function ba(){mxShape.call(this)}function fa(){mxShape.call(this)}function wa(){mxRectangleShape.call(this)}function S(){mxShape.call(this)}function ta(){mxShape.call(this)}function ia(){mxShape.call(this)}function qa(){mxShape.call(this)}function ua(){mxShape.call(this)}function Fa(){mxCylinder.call(this)}function Pa(){mxCylinder.call(this)}function Ja(){mxRectangleShape.call(this)}function Ka(){mxDoubleEllipse.call(this)}function za(){mxDoubleEllipse.call(this)}function ja(){mxArrowConnector.call(this);
-this.spacing=0}function ya(){mxArrowConnector.call(this);this.spacing=0}function ab(){mxActor.call(this)}function $a(){mxRectangleShape.call(this)}function db(){mxActor.call(this)}function qb(){mxActor.call(this)}function jb(){mxActor.call(this)}function fb(){mxActor.call(this)}function nb(){mxActor.call(this)}function hb(){mxActor.call(this)}function cb(){mxActor.call(this)}function la(){mxActor.call(this)}function Ca(){mxActor.call(this)}function Aa(){mxActor.call(this)}function Wa(){mxEllipse.call(this)}
+this.spacing=0}function ya(){mxArrowConnector.call(this);this.spacing=0}function $a(){mxActor.call(this)}function ab(){mxRectangleShape.call(this)}function db(){mxActor.call(this)}function qb(){mxActor.call(this)}function jb(){mxActor.call(this)}function fb(){mxActor.call(this)}function nb(){mxActor.call(this)}function hb(){mxActor.call(this)}function cb(){mxActor.call(this)}function la(){mxActor.call(this)}function Ca(){mxActor.call(this)}function Aa(){mxActor.call(this)}function Wa(){mxEllipse.call(this)}
function Va(){mxEllipse.call(this)}function u(){mxEllipse.call(this)}function B(){mxRhombus.call(this)}function C(){mxEllipse.call(this)}function F(){mxEllipse.call(this)}function J(){mxEllipse.call(this)}function T(){mxEllipse.call(this)}function X(){mxActor.call(this)}function pa(){mxActor.call(this)}function ea(){mxActor.call(this)}function ka(c,m,q,n){mxShape.call(this);this.bounds=c;this.fill=m;this.stroke=q;this.strokewidth=null!=n?n:1;this.rectStyle="square";this.size=10;this.absoluteCornerSize=
!0;this.indent=2;this.rectOutline="single"}function Ba(){mxConnector.call(this)}function Ea(){mxConnector.call(this)}function La(){mxActor.call(this)}function Sa(c,m,q,n,r,w,y,I,A,da){y+=A;var Q=n.clone();n.x-=r*(2*y+A);n.y-=w*(2*y+A);r*=y+A;w*=y+A;return function(){c.ellipse(Q.x-r-y,Q.y-w-y,2*y,2*y);da?c.fillAndStroke():c.stroke()}}function Ra(){mxRectangleShape.call(this)}mxUtils.extend(a,mxShape);a.prototype.updateBoundsFromLine=function(){var c=null;if(null!=this.line)for(var m=0;m<this.line.length;m++){var q=
this.line[m];null!=q&&(q=new mxRectangle(q.x,q.y,this.strokewidth,this.strokewidth),null==c?c=q:c.add(q))}this.bounds=null!=c?c:new mxRectangle};a.prototype.paintVertexShape=function(c,m,q,n,r){this.paintTableLine(c,this.line,0,0)};a.prototype.paintTableLine=function(c,m,q,n){if(null!=m){var r=null;c.begin();for(var w=0;w<m.length;w++){var y=m[w];null!=y&&(null==r?c.moveTo(y.x+q,y.y+n):null!=r&&c.lineTo(y.x+q,y.y+n));r=y}c.end();c.stroke()}};a.prototype.intersectsRectangle=function(c){var m=!1;if(mxShape.prototype.intersectsRectangle.apply(this,
@@ -3657,182 +3657,183 @@ parseFloat(mxUtils.getValue(this.style,"jettyWidth",this.jettyWidth));m=parseFlo
mxCellRenderer.registerShape("component",Pa);mxUtils.extend(Ja,mxRectangleShape);Ja.prototype.paintForeground=function(c,m,q,n,r){var w=n/2,y=r/2,I=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;c.begin();this.addPoints(c,[new mxPoint(m+w,q),new mxPoint(m+n,q+y),new mxPoint(m+w,q+r),new mxPoint(m,q+y)],this.isRounded,I,!0);c.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("associativeEntity",Ja);mxUtils.extend(Ka,
mxDoubleEllipse);Ka.prototype.outerStroke=!0;Ka.prototype.paintVertexShape=function(c,m,q,n,r){var w=Math.min(4,Math.min(n/5,r/5));0<n&&0<r&&(c.ellipse(m+w,q+w,n-2*w,r-2*w),c.fillAndStroke());c.setShadow(!1);this.outerStroke&&(c.ellipse(m,q,n,r),c.stroke())};mxCellRenderer.registerShape("endState",Ka);mxUtils.extend(za,Ka);za.prototype.outerStroke=!1;mxCellRenderer.registerShape("startState",za);mxUtils.extend(ja,mxArrowConnector);ja.prototype.defaultWidth=4;ja.prototype.isOpenEnded=function(){return!0};
ja.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-1)};ja.prototype.isArrowRounded=function(){return this.isRounded};mxCellRenderer.registerShape("link",ja);mxUtils.extend(ya,mxArrowConnector);ya.prototype.defaultWidth=10;ya.prototype.defaultArrowWidth=20;ya.prototype.getStartArrowWidth=function(){return this.getEdgeWidth()+mxUtils.getNumber(this.style,"startWidth",this.defaultArrowWidth)};ya.prototype.getEndArrowWidth=function(){return this.getEdgeWidth()+
-mxUtils.getNumber(this.style,"endWidth",this.defaultArrowWidth)};ya.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-1)};mxCellRenderer.registerShape("flexArrow",ya);mxUtils.extend(ab,mxActor);ab.prototype.size=30;ab.prototype.isRoundable=function(){return!0};ab.prototype.redrawPath=function(c,m,q,n,r){m=Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size)));q=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,
-mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,r),new mxPoint(0,m),new mxPoint(n,0),new mxPoint(n,r)],this.isRounded,q,!0);c.end()};mxCellRenderer.registerShape("manualInput",ab);mxUtils.extend($a,mxRectangleShape);$a.prototype.dx=20;$a.prototype.dy=20;$a.prototype.isHtmlAllowed=function(){return!1};$a.prototype.paintForeground=function(c,m,q,n,r){mxRectangleShape.prototype.paintForeground.apply(this,arguments);var w=0;if(this.isRounded){var y=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,
-100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100;w=Math.max(w,Math.min(n*y,r*y))}y=Math.max(w,Math.min(n,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));w=Math.max(w,Math.min(r,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));c.begin();c.moveTo(m,q+w);c.lineTo(m+n,q+w);c.end();c.stroke();c.begin();c.moveTo(m+y,q);c.lineTo(m+y,q+r);c.end();c.stroke()};mxCellRenderer.registerShape("internalStorage",$a);mxUtils.extend(db,mxActor);db.prototype.dx=20;db.prototype.dy=20;db.prototype.isRoundable=
-function(){return!0};db.prototype.redrawPath=function(c,m,q,n,r){m=Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));q=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",this.size));var w=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(n,0),new mxPoint(n,q),new mxPoint(m,q),new mxPoint(m,r),new mxPoint(0,r)],this.isRounded,
-w,!0);c.end()};mxCellRenderer.registerShape("corner",db);mxUtils.extend(qb,mxActor);qb.prototype.redrawPath=function(c,m,q,n,r){c.moveTo(0,0);c.lineTo(0,r);c.end();c.moveTo(n,0);c.lineTo(n,r);c.end();c.moveTo(0,r/2);c.lineTo(n,r/2);c.end()};mxCellRenderer.registerShape("crossbar",qb);mxUtils.extend(jb,mxActor);jb.prototype.dx=20;jb.prototype.dy=20;jb.prototype.isRoundable=function(){return!0};jb.prototype.redrawPath=function(c,m,q,n,r){m=Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,
-"dx",this.dx))));q=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",this.size));var w=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(n,0),new mxPoint(n,q),new mxPoint((n+m)/2,q),new mxPoint((n+m)/2,r),new mxPoint((n-m)/2,r),new mxPoint((n-m)/2,q),new mxPoint(0,q)],this.isRounded,w,!0);c.end()};mxCellRenderer.registerShape("tee",jb);mxUtils.extend(fb,
-mxActor);fb.prototype.arrowWidth=.3;fb.prototype.arrowSize=.2;fb.prototype.isRoundable=function(){return!0};fb.prototype.redrawPath=function(c,m,q,n,r){var w=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth))));m=n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",this.arrowSize))));q=(r-w)/2;w=q+w;var y=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,q),new mxPoint(n-
-m,q),new mxPoint(n-m,0),new mxPoint(n,r/2),new mxPoint(n-m,r),new mxPoint(n-m,w),new mxPoint(0,w)],this.isRounded,y,!0);c.end()};mxCellRenderer.registerShape("singleArrow",fb);mxUtils.extend(nb,mxActor);nb.prototype.isRoundable=function(){return!0};nb.prototype.redrawPath=function(c,m,q,n,r){var w=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",fb.prototype.arrowWidth))));m=n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",fb.prototype.arrowSize))));
-q=(r-w)/2;w=q+w;var y=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,r/2),new mxPoint(m,0),new mxPoint(m,q),new mxPoint(n-m,q),new mxPoint(n-m,0),new mxPoint(n,r/2),new mxPoint(n-m,r),new mxPoint(n-m,w),new mxPoint(m,w),new mxPoint(m,r)],this.isRounded,y,!0);c.end()};mxCellRenderer.registerShape("doubleArrow",nb);mxUtils.extend(hb,mxActor);hb.prototype.size=.1;hb.prototype.fixedSize=20;hb.prototype.redrawPath=function(c,m,q,n,r){m=
-"0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.moveTo(m,0);c.lineTo(n,0);c.quadTo(n-2*m,r/2,n,r);c.lineTo(m,r);c.quadTo(m-2*m,r/2,m,0);c.close();c.end()};mxCellRenderer.registerShape("dataStorage",hb);mxUtils.extend(cb,mxActor);cb.prototype.redrawPath=function(c,m,q,n,r){c.moveTo(0,0);c.quadTo(n,0,n,r/2);c.quadTo(n,r,0,r);c.close();
-c.end()};mxCellRenderer.registerShape("or",cb);mxUtils.extend(la,mxActor);la.prototype.redrawPath=function(c,m,q,n,r){c.moveTo(0,0);c.quadTo(n,0,n,r/2);c.quadTo(n,r,0,r);c.quadTo(n/2,r/2,0,0);c.close();c.end()};mxCellRenderer.registerShape("xor",la);mxUtils.extend(Ca,mxActor);Ca.prototype.size=20;Ca.prototype.isRoundable=function(){return!0};Ca.prototype.redrawPath=function(c,m,q,n,r){m=Math.min(n/2,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))));q=mxUtils.getValue(this.style,
-mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(m,0),new mxPoint(n-m,0),new mxPoint(n,.8*m),new mxPoint(n,r),new mxPoint(0,r),new mxPoint(0,.8*m)],this.isRounded,q,!0);c.end()};mxCellRenderer.registerShape("loopLimit",Ca);mxUtils.extend(Aa,mxActor);Aa.prototype.size=.375;Aa.prototype.isRoundable=function(){return!0};Aa.prototype.redrawPath=function(c,m,q,n,r){m=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));q=mxUtils.getValue(this.style,
-mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(n,0),new mxPoint(n,r-m),new mxPoint(n/2,r),new mxPoint(0,r-m)],this.isRounded,q,!0);c.end()};mxCellRenderer.registerShape("offPageConnector",Aa);mxUtils.extend(Wa,mxEllipse);Wa.prototype.paintVertexShape=function(c,m,q,n,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.begin();c.moveTo(m+n/2,q+r);c.lineTo(m+n,q+r);c.end();c.stroke()};mxCellRenderer.registerShape("tapeData",Wa);mxUtils.extend(Va,
-mxEllipse);Va.prototype.paintVertexShape=function(c,m,q,n,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(m,q+r/2);c.lineTo(m+n,q+r/2);c.end();c.stroke();c.begin();c.moveTo(m+n/2,q);c.lineTo(m+n/2,q+r);c.end();c.stroke()};mxCellRenderer.registerShape("orEllipse",Va);mxUtils.extend(u,mxEllipse);u.prototype.paintVertexShape=function(c,m,q,n,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(m+.145*n,q+.145*
-r);c.lineTo(m+.855*n,q+.855*r);c.end();c.stroke();c.begin();c.moveTo(m+.855*n,q+.145*r);c.lineTo(m+.145*n,q+.855*r);c.end();c.stroke()};mxCellRenderer.registerShape("sumEllipse",u);mxUtils.extend(B,mxRhombus);B.prototype.paintVertexShape=function(c,m,q,n,r){mxRhombus.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(m,q+r/2);c.lineTo(m+n,q+r/2);c.end();c.stroke()};mxCellRenderer.registerShape("sortShape",B);mxUtils.extend(C,mxEllipse);C.prototype.paintVertexShape=
-function(c,m,q,n,r){c.begin();c.moveTo(m,q);c.lineTo(m+n,q);c.lineTo(m+n/2,q+r/2);c.close();c.fillAndStroke();c.begin();c.moveTo(m,q+r);c.lineTo(m+n,q+r);c.lineTo(m+n/2,q+r/2);c.close();c.fillAndStroke()};mxCellRenderer.registerShape("collate",C);mxUtils.extend(F,mxEllipse);F.prototype.paintVertexShape=function(c,m,q,n,r){var w=c.state.strokeWidth/2,y=10+2*w,I=q+r-y/2;c.begin();c.moveTo(m,q);c.lineTo(m,q+r);c.moveTo(m+w,I);c.lineTo(m+w+y,I-y/2);c.moveTo(m+w,I);c.lineTo(m+w+y,I+y/2);c.moveTo(m+w,I);
-c.lineTo(m+n-w,I);c.moveTo(m+n,q);c.lineTo(m+n,q+r);c.moveTo(m+n-w,I);c.lineTo(m+n-y-w,I-y/2);c.moveTo(m+n-w,I);c.lineTo(m+n-y-w,I+y/2);c.end();c.stroke()};mxCellRenderer.registerShape("dimension",F);mxUtils.extend(J,mxEllipse);J.prototype.drawHidden=!0;J.prototype.paintVertexShape=function(c,m,q,n,r){this.outline||c.setStrokeColor(null);if(null!=this.style){var w=c.pointerEvents,y=null!=this.fill&&this.fill!=mxConstants.NONE;"1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1")||
-y||(c.pointerEvents=!1);var I="1"==mxUtils.getValue(this.style,"top","1"),A="1"==mxUtils.getValue(this.style,"left","1"),da="1"==mxUtils.getValue(this.style,"right","1"),Q="1"==mxUtils.getValue(this.style,"bottom","1");this.drawHidden||y||this.outline||I||da||Q||A?(c.rect(m,q,n,r),c.fill(),c.pointerEvents=w,c.setStrokeColor(this.stroke),c.setLineCap("square"),c.begin(),c.moveTo(m,q),this.outline||I?c.lineTo(m+n,q):c.moveTo(m+n,q),this.outline||da?c.lineTo(m+n,q+r):c.moveTo(m+n,q+r),this.outline||
-Q?c.lineTo(m,q+r):c.moveTo(m,q+r),(this.outline||A)&&c.lineTo(m,q),c.end(),c.stroke(),c.setLineCap("flat")):c.setStrokeColor(this.stroke)}};mxCellRenderer.registerShape("partialRectangle",J);mxUtils.extend(T,mxEllipse);T.prototype.paintVertexShape=function(c,m,q,n,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();"vertical"==mxUtils.getValue(this.style,"line")?(c.moveTo(m+n/2,q),c.lineTo(m+n/2,q+r)):(c.moveTo(m,q+r/2),c.lineTo(m+n,q+r/2));c.end();c.stroke()};
-mxCellRenderer.registerShape("lineEllipse",T);mxUtils.extend(X,mxActor);X.prototype.redrawPath=function(c,m,q,n,r){m=Math.min(n,r/2);c.moveTo(0,0);c.lineTo(n-m,0);c.quadTo(n,0,n,r/2);c.quadTo(n,r,n-m,r);c.lineTo(0,r);c.close();c.end()};mxCellRenderer.registerShape("delay",X);mxUtils.extend(pa,mxActor);pa.prototype.size=.2;pa.prototype.redrawPath=function(c,m,q,n,r){m=Math.min(r,n);var w=Math.max(0,Math.min(m,m*parseFloat(mxUtils.getValue(this.style,"size",this.size))));m=(r-w)/2;q=m+w;var y=(n-w)/
-2;w=y+w;c.moveTo(0,m);c.lineTo(y,m);c.lineTo(y,0);c.lineTo(w,0);c.lineTo(w,m);c.lineTo(n,m);c.lineTo(n,q);c.lineTo(w,q);c.lineTo(w,r);c.lineTo(y,r);c.lineTo(y,q);c.lineTo(0,q);c.close();c.end()};mxCellRenderer.registerShape("cross",pa);mxUtils.extend(ea,mxActor);ea.prototype.size=.25;ea.prototype.redrawPath=function(c,m,q,n,r){m=Math.min(n,r/2);q=Math.min(n-m,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*n);c.moveTo(0,r/2);c.lineTo(q,0);c.lineTo(n-m,0);c.quadTo(n,0,n,r/2);
-c.quadTo(n,r,n-m,r);c.lineTo(q,r);c.close();c.end()};mxCellRenderer.registerShape("display",ea);mxUtils.extend(ka,mxActor);ka.prototype.cst={RECT2:"mxgraph.basic.rect"};ka.prototype.customProperties=[{name:"rectStyle",dispName:"Style",type:"enum",defVal:"square",enumList:[{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"size",dispName:"Corner Size",type:"float",defVal:10},{name:"absoluteCornerSize",
-dispName:"Abs. Corner Size",type:"bool",defVal:!0},{name:"indent",dispName:"Indent",type:"float",defVal:2},{name:"rectOutline",dispName:"Outline",type:"enum",defVal:"single",enumList:[{val:"single",dispName:"Single"},{val:"double",dispName:"Double"},{val:"frame",dispName:"Frame"}]},{name:"fillColor2",dispName:"Inside Fill Color",type:"color",defVal:"none"},{name:"gradientColor2",dispName:"Inside Gradient Color",type:"color",defVal:"none"},{name:"gradientDirection2",dispName:"Inside Gradient Direction",
-type:"enum",defVal:"south",enumList:[{val:"south",dispName:"South"},{val:"west",dispName:"West"},{val:"north",dispName:"North"},{val:"east",dispName:"East"}]},{name:"top",dispName:"Top Line",type:"bool",defVal:!0},{name:"right",dispName:"Right",type:"bool",defVal:!0},{name:"bottom",dispName:"Bottom Line",type:"bool",defVal:!0},{name:"left",dispName:"Left ",type:"bool",defVal:!0},{name:"topLeftStyle",dispName:"Top Left Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},
-{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"topRightStyle",dispName:"Top Right Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"bottomRightStyle",dispName:"Bottom Right Style",
-type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"bottomLeftStyle",dispName:"Bottom Left Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",
-dispName:"Fold"}]}];ka.prototype.paintVertexShape=function(c,m,q,n,r){c.translate(m,q);this.strictDrawShape(c,0,0,n,r)};ka.prototype.strictDrawShape=function(c,m,q,n,r,w){var y=w&&w.rectStyle?w.rectStyle:mxUtils.getValue(this.style,"rectStyle",this.rectStyle),I=w&&w.absoluteCornerSize?w.absoluteCornerSize:mxUtils.getValue(this.style,"absoluteCornerSize",this.absoluteCornerSize),A=w&&w.size?w.size:Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),da=w&&w.rectOutline?
-w.rectOutline:mxUtils.getValue(this.style,"rectOutline",this.rectOutline),Q=w&&w.indent?w.indent:Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"indent",this.indent)))),Da=w&&w.dashed?w.dashed:mxUtils.getValue(this.style,"dashed",!1),Ta=w&&w.dashPattern?w.dashPattern:mxUtils.getValue(this.style,"dashPattern",null),Ia=w&&w.relIndent?w.relIndent:Math.max(0,Math.min(50,Q)),ra=w&&w.top?w.top:mxUtils.getValue(this.style,"top",!0),sa=w&&w.right?w.right:mxUtils.getValue(this.style,"right",
-!0),va=w&&w.bottom?w.bottom:mxUtils.getValue(this.style,"bottom",!0),xa=w&&w.left?w.left:mxUtils.getValue(this.style,"left",!0),Ha=w&&w.topLeftStyle?w.topLeftStyle:mxUtils.getValue(this.style,"topLeftStyle","default"),Ma=w&&w.topRightStyle?w.topRightStyle:mxUtils.getValue(this.style,"topRightStyle","default"),Na=w&&w.bottomRightStyle?w.bottomRightStyle:mxUtils.getValue(this.style,"bottomRightStyle","default"),Oa=w&&w.bottomLeftStyle?w.bottomLeftStyle:mxUtils.getValue(this.style,"bottomLeftStyle",
-"default"),Jb=w&&w.fillColor?w.fillColor:mxUtils.getValue(this.style,"fillColor","#ffffff");w&&w.strokeColor||mxUtils.getValue(this.style,"strokeColor","#000000");var Kb=w&&w.strokeWidth?w.strokeWidth:mxUtils.getValue(this.style,"strokeWidth","1"),Gb=w&&w.fillColor2?w.fillColor2:mxUtils.getValue(this.style,"fillColor2","none"),Ib=w&&w.gradientColor2?w.gradientColor2:mxUtils.getValue(this.style,"gradientColor2","none"),Lb=w&&w.gradientDirection2?w.gradientDirection2:mxUtils.getValue(this.style,"gradientDirection2",
-"south"),Mb=w&&w.opacity?w.opacity:mxUtils.getValue(this.style,"opacity","100"),Nb=Math.max(0,Math.min(50,A));w=ka.prototype;c.setDashed(Da);Ta&&""!=Ta&&c.setDashPattern(Ta);c.setStrokeWidth(Kb);A=Math.min(.5*r,.5*n,A);I||(A=Nb*Math.min(n,r)/100);A=Math.min(A,.5*Math.min(n,r));I||(Q=Math.min(Ia*Math.min(n,r)/100));Q=Math.min(Q,.5*Math.min(n,r)-A);(ra||sa||va||xa)&&"frame"!=da&&(c.begin(),ra?w.moveNW(c,m,q,n,r,y,Ha,A,xa):c.moveTo(0,0),ra&&w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,
-sa),sa&&w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),va&&w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),xa&&w.paintSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),c.close(),c.fill(),c.setShadow(!1),c.setFillColor(Gb),Da=I=Mb,"none"==Gb&&(I=0),"none"==Ib&&(Da=0),c.setGradient(Gb,Ib,0,0,n,r,Lb,I,Da),c.begin(),ra?w.moveNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa):c.moveTo(Q,0),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),xa&&va&&w.paintSWInner(c,m,q,n,r,y,Oa,A,Q,va),
-w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),va&&sa&&w.paintSEInner(c,m,q,n,r,y,Na,A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),sa&&ra&&w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),ra&&xa&&w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),c.fill(),"none"==Jb&&(c.begin(),w.paintFolds(c,m,q,n,r,y,Ha,Ma,Na,Oa,A,ra,sa,va,xa),c.stroke()));ra||sa||va||!xa?ra||sa||!va||xa?!ra&&!sa&&va&&xa?"frame"!=da?(c.begin(),w.moveSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.paintSW(c,
-m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),"double"==da&&(w.moveNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),w.paintSWInner(c,m,q,n,r,y,Oa,A,Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va)),c.stroke()):(c.begin(),w.moveSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.paintSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.lineNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),w.paintSWInner(c,m,q,n,r,y,Oa,A,
-Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),c.close(),c.fillAndStroke()):ra||!sa||va||xa?!ra&&sa&&!va&&xa?"frame"!=da?(c.begin(),w.moveSW(c,m,q,n,r,y,Ha,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),"double"==da&&(w.moveNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa)),c.stroke(),c.begin(),w.moveNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),"double"==da&&(w.moveSEInner(c,m,q,n,r,y,Na,A,Q,va),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa)),c.stroke()):(c.begin(),
-w.moveSW(c,m,q,n,r,y,Ha,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.lineNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),c.close(),c.fillAndStroke(),c.begin(),w.moveNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.lineSEInner(c,m,q,n,r,y,Na,A,Q,va),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),c.close(),c.fillAndStroke()):!ra&&sa&&va&&!xa?"frame"!=da?(c.begin(),w.moveNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,
-m,q,n,r,y,Oa,A,xa),"double"==da&&(w.moveSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),w.paintSEInner(c,m,q,n,r,y,Na,A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa)),c.stroke()):(c.begin(),w.moveNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.lineSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),w.paintSEInner(c,m,q,n,r,y,Na,A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,
-Q,ra,sa),c.close(),c.fillAndStroke()):!ra&&sa&&va&&xa?"frame"!=da?(c.begin(),w.moveNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.paintSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),"double"==da&&(w.moveNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),w.paintSWInner(c,m,q,n,r,y,Oa,A,Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),w.paintSEInner(c,m,q,n,r,y,Na,A,Q),w.paintRightInner(c,
-m,q,n,r,y,Ma,A,Q,ra,sa)),c.stroke()):(c.begin(),w.moveNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.paintSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.lineNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),w.paintSWInner(c,m,q,n,r,y,Oa,A,Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),w.paintSEInner(c,m,q,n,r,y,Na,A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),c.close(),c.fillAndStroke()):
-!ra||sa||va||xa?ra&&!sa&&!va&&xa?"frame"!=da?(c.begin(),w.moveSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),"double"==da&&(w.moveNEInner(c,m,q,n,r,y,Ma,A,Q,sa),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa)),c.stroke()):(c.begin(),w.moveSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),
-w.lineNEInner(c,m,q,n,r,y,Ma,A,Q,sa),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),c.close(),c.fillAndStroke()):ra&&!sa&&va&&!xa?"frame"!=da?(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),"double"==da&&(w.moveNEInner(c,m,q,n,r,y,Ma,A,Q,sa),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra)),c.stroke(),c.begin(),w.moveSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),"double"==da&&(w.moveSWInner(c,m,
-q,n,r,y,Oa,A,Q,xa),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va)),c.stroke()):(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.lineNEInner(c,m,q,n,r,y,Ma,A,Q,sa),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),c.close(),c.fillAndStroke(),c.begin(),w.moveSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.lineSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),c.close(),c.fillAndStroke()):ra&&!sa&&va&&xa?"frame"!=da?(c.begin(),w.moveSE(c,m,q,n,r,
-y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.paintSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),"double"==da&&(w.moveNEInner(c,m,q,n,r,y,Ma,A,Q,sa),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),w.paintSWInner(c,m,q,n,r,y,Oa,A,Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va)),c.stroke()):(c.begin(),w.moveSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,
-n,r,y,Oa,A,xa),w.paintSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.lineNEInner(c,m,q,n,r,y,Ma,A,Q,sa),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),w.paintSWInner(c,m,q,n,r,y,Oa,A,Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),c.close(),c.fillAndStroke()):ra&&sa&&!va&&!xa?"frame"!=da?(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,
-y,Ma,A,sa),w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),"double"==da&&(w.moveSEInner(c,m,q,n,r,y,Na,A,Q,va),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra)),c.stroke()):(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.lineSEInner(c,m,q,n,r,y,Na,A,Q,va),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),w.paintNEInner(c,m,q,
-n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),c.close(),c.fillAndStroke()):ra&&sa&&!va&&xa?"frame"!=da?(c.begin(),w.moveSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),"double"==da&&(w.moveSEInner(c,m,q,n,r,y,Na,A,Q,va),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),w.paintNWInner(c,
-m,q,n,r,y,Ha,A,Q),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa)),c.stroke()):(c.begin(),w.moveSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.lineSEInner(c,m,q,n,r,y,Na,A,Q,va),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),w.paintLeftInner(c,m,q,n,r,y,Oa,
-A,Q,va,xa),c.close(),c.fillAndStroke()):ra&&sa&&va&&!xa?"frame"!=da?(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),"double"==da&&(w.moveSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),w.paintSEInner(c,m,q,n,r,y,Na,A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,
-m,q,n,r,y,Ha,A,Q,xa,ra)),c.stroke()):(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.lineSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),w.paintSEInner(c,m,q,n,r,y,Na,A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),c.close(),c.fillAndStroke()):
-ra&&sa&&va&&xa&&("frame"!=da?(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.paintSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),c.close(),"double"==da&&(w.moveSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintSWInner(c,m,q,n,r,y,Oa,A,Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),w.paintSEInner(c,m,q,n,r,y,Na,
-A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),c.close()),c.stroke()):(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.paintSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,
-m,q,n,r,y,Ha,A,ra),c.close(),w.moveSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintSWInner(c,m,q,n,r,y,Oa,A,Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),w.paintSEInner(c,m,q,n,r,y,Na,A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),c.close(),c.fillAndStroke())):"frame"!=da?(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),"double"==
-da&&(w.moveNEInner(c,m,q,n,r,y,Ma,A,Q,sa),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra)),c.stroke()):(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.lineNEInner(c,m,q,n,r,y,Ma,A,Q,sa),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),c.close(),c.fillAndStroke()):"frame"!=da?(c.begin(),w.moveNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),"double"==da&&(w.moveSEInner(c,m,q,n,r,y,Na,A,Q,va),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa)),c.stroke()):(c.begin(),w.moveNE(c,m,q,n,
-r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.lineSEInner(c,m,q,n,r,y,Na,A,Q,va),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),c.close(),c.fillAndStroke()):"frame"!=da?(c.begin(),w.moveSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),"double"==da&&(w.moveSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va)),c.stroke()):(c.begin(),w.moveSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.lineSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintBottomInner(c,m,q,n,r,y,Na,
-A,Q,sa,va),c.close(),c.fillAndStroke()):"frame"!=da?(c.begin(),w.moveSW(c,m,q,n,r,y,Ha,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),"double"==da&&(w.moveNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa)),c.stroke()):(c.begin(),w.moveSW(c,m,q,n,r,y,Ha,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.lineNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),c.close(),c.fillAndStroke());c.begin();w.paintFolds(c,m,q,n,r,y,Ha,Ma,Na,Oa,A,ra,sa,va,xa);c.stroke()};ka.prototype.moveNW=
-function(c,m,q,n,r,w,y,I,A){"square"==y||"default"==y&&"square"==w||!A?c.moveTo(0,0):c.moveTo(0,I)};ka.prototype.moveNE=function(c,m,q,n,r,w,y,I,A){"square"==y||"default"==y&&"square"==w||!A?c.moveTo(n,0):c.moveTo(n-I,0)};ka.prototype.moveSE=function(c,m,q,n,r,w,y,I,A){"square"==y||"default"==y&&"square"==w||!A?c.moveTo(n,r):c.moveTo(n,r-I)};ka.prototype.moveSW=function(c,m,q,n,r,w,y,I,A){"square"==y||"default"==y&&"square"==w||!A?c.moveTo(0,r):c.moveTo(I,r)};ka.prototype.paintNW=function(c,m,q,n,
-r,w,y,I,A){if(A)if("rounded"==y||"default"==y&&"rounded"==w||"invRound"==y||"default"==y&&"invRound"==w){m=0;if("rounded"==y||"default"==y&&"rounded"==w)m=1;c.arcTo(I,I,0,0,m,I,0)}else("snip"==y||"default"==y&&"snip"==w||"fold"==y||"default"==y&&"fold"==w)&&c.lineTo(I,0);else c.lineTo(0,0)};ka.prototype.paintTop=function(c,m,q,n,r,w,y,I,A){"square"==y||"default"==y&&"square"==w||!A?c.lineTo(n,0):c.lineTo(n-I,0)};ka.prototype.paintNE=function(c,m,q,n,r,w,y,I,A){if(A)if("rounded"==y||"default"==y&&
-"rounded"==w||"invRound"==y||"default"==y&&"invRound"==w){m=0;if("rounded"==y||"default"==y&&"rounded"==w)m=1;c.arcTo(I,I,0,0,m,n,I)}else("snip"==y||"default"==y&&"snip"==w||"fold"==y||"default"==y&&"fold"==w)&&c.lineTo(n,I);else c.lineTo(n,0)};ka.prototype.paintRight=function(c,m,q,n,r,w,y,I,A){"square"==y||"default"==y&&"square"==w||!A?c.lineTo(n,r):c.lineTo(n,r-I)};ka.prototype.paintLeft=function(c,m,q,n,r,w,y,I,A){"square"==y||"default"==y&&"square"==w||!A?c.lineTo(0,0):c.lineTo(0,I)};ka.prototype.paintSE=
-function(c,m,q,n,r,w,y,I,A){if(A)if("rounded"==y||"default"==y&&"rounded"==w||"invRound"==y||"default"==y&&"invRound"==w){m=0;if("rounded"==y||"default"==y&&"rounded"==w)m=1;c.arcTo(I,I,0,0,m,n-I,r)}else("snip"==y||"default"==y&&"snip"==w||"fold"==y||"default"==y&&"fold"==w)&&c.lineTo(n-I,r);else c.lineTo(n,r)};ka.prototype.paintBottom=function(c,m,q,n,r,w,y,I,A){"square"==y||"default"==y&&"square"==w||!A?c.lineTo(0,r):c.lineTo(I,r)};ka.prototype.paintSW=function(c,m,q,n,r,w,y,I,A){if(A)if("rounded"==
-y||"default"==y&&"rounded"==w||"invRound"==y||"default"==y&&"invRound"==w){m=0;if("rounded"==y||"default"==y&&"rounded"==w)m=1;c.arcTo(I,I,0,0,m,0,r-I)}else("snip"==y||"default"==y&&"snip"==w||"fold"==y||"default"==y&&"fold"==w)&&c.lineTo(0,r-I);else c.lineTo(0,r)};ka.prototype.paintNWInner=function(c,m,q,n,r,w,y,I,A){if("rounded"==y||"default"==y&&"rounded"==w)c.arcTo(I-.5*A,I-.5*A,0,0,0,A,.5*A+I);else if("invRound"==y||"default"==y&&"invRound"==w)c.arcTo(I+A,I+A,0,0,1,A,A+I);else if("snip"==y||
-"default"==y&&"snip"==w)c.lineTo(A,.5*A+I);else if("fold"==y||"default"==y&&"fold"==w)c.lineTo(A+I,A+I),c.lineTo(A,A+I)};ka.prototype.paintTopInner=function(c,m,q,n,r,w,y,I,A,da,Q){da||Q?!da&&Q?c.lineTo(0,A):da&&!Q?c.lineTo(A,0):da?"square"==y||"default"==y&&"square"==w?c.lineTo(A,A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.lineTo(I+.5*A,A):c.lineTo(I+A,A):c.lineTo(0,A):c.lineTo(0,0)};ka.prototype.paintNEInner=function(c,m,q,n,r,w,y,I,A){if("rounded"==y||"default"==
-y&&"rounded"==w)c.arcTo(I-.5*A,I-.5*A,0,0,0,n-I-.5*A,A);else if("invRound"==y||"default"==y&&"invRound"==w)c.arcTo(I+A,I+A,0,0,1,n-I-A,A);else if("snip"==y||"default"==y&&"snip"==w)c.lineTo(n-I-.5*A,A);else if("fold"==y||"default"==y&&"fold"==w)c.lineTo(n-I-A,I+A),c.lineTo(n-I-A,A)};ka.prototype.paintRightInner=function(c,m,q,n,r,w,y,I,A,da,Q){da||Q?!da&&Q?c.lineTo(n-A,0):da&&!Q?c.lineTo(n,A):da?"square"==y||"default"==y&&"square"==w?c.lineTo(n-A,A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==
-y||"default"==y&&"snip"==w?c.lineTo(n-A,I+.5*A):c.lineTo(n-A,I+A):c.lineTo(n-A,0):c.lineTo(n,0)};ka.prototype.paintLeftInner=function(c,m,q,n,r,w,y,I,A,da,Q){da||Q?!da&&Q?c.lineTo(A,r):da&&!Q?c.lineTo(0,r-A):da?"square"==y||"default"==y&&"square"==w?c.lineTo(A,r-A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.lineTo(A,r-I-.5*A):c.lineTo(A,r-I-A):c.lineTo(A,r):c.lineTo(0,r)};ka.prototype.paintSEInner=function(c,m,q,n,r,w,y,I,A){if("rounded"==y||"default"==y&&"rounded"==
-w)c.arcTo(I-.5*A,I-.5*A,0,0,0,n-A,r-I-.5*A);else if("invRound"==y||"default"==y&&"invRound"==w)c.arcTo(I+A,I+A,0,0,1,n-A,r-I-A);else if("snip"==y||"default"==y&&"snip"==w)c.lineTo(n-A,r-I-.5*A);else if("fold"==y||"default"==y&&"fold"==w)c.lineTo(n-I-A,r-I-A),c.lineTo(n-A,r-I-A)};ka.prototype.paintBottomInner=function(c,m,q,n,r,w,y,I,A,da,Q){da||Q?!da&&Q?c.lineTo(n,r-A):da&&!Q?c.lineTo(n-A,r):"square"==y||"default"==y&&"square"==w||!da?c.lineTo(n-A,r-A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==
-y||"default"==y&&"snip"==w?c.lineTo(n-I-.5*A,r-A):c.lineTo(n-I-A,r-A):c.lineTo(n,r)};ka.prototype.paintSWInner=function(c,m,q,n,r,w,y,I,A,da){if(!da)c.lineTo(A,r);else if("square"==y||"default"==y&&"square"==w)c.lineTo(A,r-A);else if("rounded"==y||"default"==y&&"rounded"==w)c.arcTo(I-.5*A,I-.5*A,0,0,0,I+.5*A,r-A);else if("invRound"==y||"default"==y&&"invRound"==w)c.arcTo(I+A,I+A,0,0,1,I+A,r-A);else if("snip"==y||"default"==y&&"snip"==w)c.lineTo(I+.5*A,r-A);else if("fold"==y||"default"==y&&"fold"==
-w)c.lineTo(A+I,r-I-A),c.lineTo(A+I,r-A)};ka.prototype.moveSWInner=function(c,m,q,n,r,w,y,I,A,da){da?"square"==y||"default"==y&&"square"==w?c.moveTo(A,r-A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.moveTo(A,r-I-.5*A):("invRound"==y||"default"==y&&"invRound"==w||"fold"==y||"default"==y&&"fold"==w)&&c.moveTo(A,r-I-A):c.moveTo(0,r-A)};ka.prototype.lineSWInner=function(c,m,q,n,r,w,y,I,A,da){da?"square"==y||"default"==y&&"square"==w?c.lineTo(A,r-A):"rounded"==y||"default"==
-y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.lineTo(A,r-I-.5*A):("invRound"==y||"default"==y&&"invRound"==w||"fold"==y||"default"==y&&"fold"==w)&&c.lineTo(A,r-I-A):c.lineTo(0,r-A)};ka.prototype.moveSEInner=function(c,m,q,n,r,w,y,I,A,da){da?"square"==y||"default"==y&&"square"==w?c.moveTo(n-A,r-A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.moveTo(n-A,r-I-.5*A):("invRound"==y||"default"==y&&"invRound"==w||"fold"==y||"default"==y&&"fold"==w)&&c.moveTo(n-A,
-r-I-A):c.moveTo(n-A,r)};ka.prototype.lineSEInner=function(c,m,q,n,r,w,y,I,A,da){da?"square"==y||"default"==y&&"square"==w?c.lineTo(n-A,r-A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.lineTo(n-A,r-I-.5*A):("invRound"==y||"default"==y&&"invRound"==w||"fold"==y||"default"==y&&"fold"==w)&&c.lineTo(n-A,r-I-A):c.lineTo(n-A,r)};ka.prototype.moveNEInner=function(c,m,q,n,r,w,y,I,A,da){da?"square"==y||"default"==y&&"square"==w||da?c.moveTo(n-A,A):"rounded"==y||"default"==
-y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.moveTo(n-A,I+.5*A):("invRound"==y||"default"==y&&"invRound"==w||"fold"==y||"default"==y&&"fold"==w)&&c.moveTo(n-A,I+A):c.moveTo(n,A)};ka.prototype.lineNEInner=function(c,m,q,n,r,w,y,I,A,da){da?"square"==y||"default"==y&&"square"==w||da?c.lineTo(n-A,A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.lineTo(n-A,I+.5*A):("invRound"==y||"default"==y&&"invRound"==w||"fold"==y||"default"==y&&"fold"==w)&&c.lineTo(n-A,I+
-A):c.lineTo(n,A)};ka.prototype.moveNWInner=function(c,m,q,n,r,w,y,I,A,da,Q){da||Q?!da&&Q?c.moveTo(A,0):da&&!Q?c.moveTo(0,A):"square"==y||"default"==y&&"square"==w?c.moveTo(A,A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.moveTo(A,I+.5*A):("invRound"==y||"default"==y&&"invRound"==w||"fold"==y||"default"==y&&"fold"==w)&&c.moveTo(A,I+A):c.moveTo(0,0)};ka.prototype.lineNWInner=function(c,m,q,n,r,w,y,I,A,da,Q){da||Q?!da&&Q?c.lineTo(A,0):da&&!Q?c.lineTo(0,A):"square"==
-y||"default"==y&&"square"==w?c.lineTo(A,A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.lineTo(A,I+.5*A):("invRound"==y||"default"==y&&"invRound"==w||"fold"==y||"default"==y&&"fold"==w)&&c.lineTo(A,I+A):c.lineTo(0,0)};ka.prototype.paintFolds=function(c,m,q,n,r,w,y,I,A,da,Q,Da,Ta,Ia,ra){if("fold"==w||"fold"==y||"fold"==I||"fold"==A||"fold"==da)("fold"==y||"default"==y&&"fold"==w)&&Da&&ra&&(c.moveTo(0,Q),c.lineTo(Q,Q),c.lineTo(Q,0)),("fold"==I||"default"==I&&"fold"==
-w)&&Da&&Ta&&(c.moveTo(n-Q,0),c.lineTo(n-Q,Q),c.lineTo(n,Q)),("fold"==A||"default"==A&&"fold"==w)&&Ia&&Ta&&(c.moveTo(n-Q,r),c.lineTo(n-Q,r-Q),c.lineTo(n,r-Q)),("fold"==da||"default"==da&&"fold"==w)&&Ia&&ra&&(c.moveTo(0,r-Q),c.lineTo(Q,r-Q),c.lineTo(Q,r))};mxCellRenderer.registerShape(ka.prototype.cst.RECT2,ka);ka.prototype.constraints=null;mxUtils.extend(Ba,mxConnector);Ba.prototype.origPaintEdgeShape=Ba.prototype.paintEdgeShape;Ba.prototype.paintEdgeShape=function(c,m){for(var q=[],n=0;n<m.length;n++)q.push(mxUtils.clone(m[n]));
-n=c.state.dashed;var r=c.state.fixDash;Ba.prototype.origPaintEdgeShape.apply(this,[c,q]);3<=c.state.strokeWidth&&(q=mxUtils.getValue(this.style,"fillColor",null),null!=q&&(c.setStrokeColor(q),c.setStrokeWidth(c.state.strokeWidth-2),c.setDashed(n,r),Ba.prototype.origPaintEdgeShape.apply(this,[c,m])))};mxCellRenderer.registerShape("filledEdge",Ba);mxUtils.extend(Ea,mxConnector);Ea.prototype.defaultWidth=4;Ea.prototype.getEdgeWidth=function(){return Math.max(0,mxUtils.getNumber(this.style,"width",this.defaultWidth))};
-Ea.prototype.getFlowAnimationPath=function(){return mxShape.prototype.getFlowAnimationPath.call(this,2)};Ea.prototype.origPaintEdgeShape=Ea.prototype.paintEdgeShape;Ea.prototype.paintEdgeShape=function(c,m){for(var q=[],n=0;n<m.length;n++)q.push(mxUtils.clone(m[n]));n=c.state.dashed;var r=c.state.fixDash,w=this.getEdgeWidth();c.setStrokeWidth(w+2*this.strokewidth);c.setDashed(!1);Ea.prototype.origPaintEdgeShape.apply(this,[c,q]);q=mxUtils.getValue(this.style,"fillColor",null);null!=q&&(c.setStrokeWidth(w),
-c.setStrokeColor(q),c.setDashed(n,r),Ea.prototype.origPaintEdgeShape.apply(this,[c,m]))};mxCellRenderer.registerShape("pipe",Ea);mxUtils.extend(La,mxRectangleShape);La.prototype.size=10;La.prototype.isRoundable=function(){return!0};La.prototype.paintVertexShape=function(c,m,q,n,r){c.translate(m,q);m=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,null);null!=m&&m!=mxConstants.NONE&&(c.setStrokeColor("none"),c.begin(),c.rect(0,0,n,r),c.fillAndStroke(),c.setStrokeColor(this.stroke));var w=Math.max(5,
-parseFloat(mxUtils.getValue(this.style,"size",this.size)));m=r/2;q=this.strokewidth;q=this.isRounded?q/2:q;r-=q;w=Math.max(1,Math.round(n/w)-1);var y=n/(w+1),I=y/2;c.begin();c.moveTo(0,m);if(this.isRounded){c.curveTo(.4*I,m-.4*(m-q),.6*I,q,I,q);for(var A=0;A<w;A++){var da=I+A*y,Q=da+y,Da=0==A%2?r:q;c.curveTo(da+.4*y,0==A%2?q:r,Q-.4*y,Da,Q,Da)}r=0==w%2?q:r;c.curveTo(I+w*y+.4*I,r,n-.4*I,m-(r==q?1:-1)*(m-q)*.4,n,m)}else{c.lineTo(I,q);for(A=0;A<w;A++)Q=I+(A+1)*y,Da=0==A%2?r:q,c.lineTo(Q,Da);c.lineTo(n,
-m)}c.stroke()};mxCellRenderer.registerShape("zigzag",La);"undefined"!==typeof StyleFormatPanel&&function(){var c=StyleFormatPanel.prototype.getCustomColors;StyleFormatPanel.prototype.getCustomColors=function(){var m=this.editorUi.getSelectionState(),q=c.apply(this,arguments);"umlFrame"==m.style.shape&&q.push({title:mxResources.get("laneColor"),key:"swimlaneFillColor",defaultValue:"default"});return q}}();mxMarker.addMarker("dash",function(c,m,q,n,r,w,y,I,A,da){var Q=r*(y+A+1),Da=w*(y+A+1);return function(){c.begin();
-c.moveTo(n.x-Q/2-Da/2,n.y-Da/2+Q/2);c.lineTo(n.x+Da/2-3*Q/2,n.y-3*Da/2-Q/2);c.stroke()}});mxMarker.addMarker("box",function(c,m,q,n,r,w,y,I,A,da){var Q=r*(y+A+1),Da=w*(y+A+1),Ta=n.x+Q/2,Ia=n.y+Da/2;n.x-=Q;n.y-=Da;return function(){c.begin();c.moveTo(Ta-Q/2-Da/2,Ia-Da/2+Q/2);c.lineTo(Ta-Q/2+Da/2,Ia-Da/2-Q/2);c.lineTo(Ta+Da/2-3*Q/2,Ia-3*Da/2-Q/2);c.lineTo(Ta-Da/2-3*Q/2,Ia-3*Da/2+Q/2);c.close();da?c.fillAndStroke():c.stroke()}});mxMarker.addMarker("cross",function(c,m,q,n,r,w,y,I,A,da){var Q=r*(y+A+
-1),Da=w*(y+A+1);return function(){c.begin();c.moveTo(n.x-Q/2-Da/2,n.y-Da/2+Q/2);c.lineTo(n.x+Da/2-3*Q/2,n.y-3*Da/2-Q/2);c.moveTo(n.x-Q/2+Da/2,n.y-Da/2-Q/2);c.lineTo(n.x-Da/2-3*Q/2,n.y-3*Da/2+Q/2);c.stroke()}});mxMarker.addMarker("circle",Sa);mxMarker.addMarker("circlePlus",function(c,m,q,n,r,w,y,I,A,da){var Q=n.clone(),Da=Sa.apply(this,arguments),Ta=r*(y+2*A),Ia=w*(y+2*A);return function(){Da.apply(this,arguments);c.begin();c.moveTo(Q.x-r*A,Q.y-w*A);c.lineTo(Q.x-2*Ta+r*A,Q.y-2*Ia+w*A);c.moveTo(Q.x-
-Ta-Ia+w*A,Q.y-Ia+Ta-r*A);c.lineTo(Q.x+Ia-Ta-w*A,Q.y-Ia-Ta+r*A);c.stroke()}});mxMarker.addMarker("halfCircle",function(c,m,q,n,r,w,y,I,A,da){var Q=r*(y+A+1),Da=w*(y+A+1),Ta=n.clone();n.x-=Q;n.y-=Da;return function(){c.begin();c.moveTo(Ta.x-Da,Ta.y+Q);c.quadTo(n.x-Da,n.y+Q,n.x,n.y);c.quadTo(n.x+Da,n.y-Q,Ta.x+Da,Ta.y-Q);c.stroke()}});mxMarker.addMarker("async",function(c,m,q,n,r,w,y,I,A,da){m=r*A*1.118;q=w*A*1.118;r*=y+A;w*=y+A;var Q=n.clone();Q.x-=m;Q.y-=q;n.x+=-r-m;n.y+=-w-q;return function(){c.begin();
-c.moveTo(Q.x,Q.y);I?c.lineTo(Q.x-r-w/2,Q.y-w+r/2):c.lineTo(Q.x+w/2-r,Q.y-w-r/2);c.lineTo(Q.x-r,Q.y-w);c.close();da?c.fillAndStroke():c.stroke()}});mxMarker.addMarker("openAsync",function(c){c=null!=c?c:2;return function(m,q,n,r,w,y,I,A,da,Q){w*=I+da;y*=I+da;var Da=r.clone();return function(){m.begin();m.moveTo(Da.x,Da.y);A?m.lineTo(Da.x-w-y/c,Da.y-y+w/c):m.lineTo(Da.x+y/c-w,Da.y-y-w/c);m.stroke()}}}(2));mxUtils.extend(Ra,mxRectangleShape);Ra.prototype.arcStartY=25;Ra.prototype.arcMidY=-25;Ra.prototype.arcEndY=
-25;Ra.prototype.paintForeground=function(c,m,q,n,r){mxRectangleShape.prototype.paintForeground.apply(this,arguments);if(null!=this.state){var w=this.state.view.graph;if(null==w.cellEditor||w.cellEditor.editingCell!=this.state.cell)if(w=w.convertValueToString(this.state.cell),null!=w&&0!=w.length){var y=parseFloat(mxUtils.getValue(this.style,"arcStartY",this.arcStartY)),I=parseFloat(mxUtils.getValue(this.style,"arcMidY",this.arcMidY)),A=parseFloat(mxUtils.getValue(this.style,"arcEndY",this.arcEndY)),
-da=mxUtils.getValue(this.style,"curveType","round");if(null!=c.root&&"function"===typeof c.getBaseUrl){null!=this._curvedTextGroup&&null!=this._curvedTextGroup.parentNode&&this._curvedTextGroup.parentNode.removeChild(this._curvedTextGroup);this._curvedTextGroup=null;c.translate(m,q);var Q=c.state,Da=parseFloat(mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE)),Ta=Da/2,Ia=(y+A)/2,ra=Math.max(Math.abs(Ra.prototype.arcMidY),Math.min(Ia,r-Ia));I=Math.max(-ra,Math.min(ra,
-I));var sa=Ia+I;I=Math.min(y,A,sa);ra=Math.max(y,A,sa);Ia=ra-I;var va=mxUtils.getValue(this.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE);this._curveYOffset=Ia=va==mxConstants.ALIGN_TOP?Ta-I:va==mxConstants.ALIGN_BOTTOM?r-Ta-ra:(r-Ia)/2-I;va=n-Ta;I=(Ta+Q.dx)*Q.scale;y=(y+Ia+Q.dy)*Q.scale;ra=((Ta+va)/2+Q.dx)*Q.scale;sa=(sa+Ia+Q.dy)*Q.scale;Ta=(va+Q.dx)*Q.scale;A=(A+Ia+Q.dy)*Q.scale;"round"==da?(va=Math.sqrt((Ta-I)*(Ta-I)+(A-y)*(A-y)),da=(I+Ta)/2,Ia=(y+A)/2,da=Math.sqrt((ra-da)*(ra-
-da)+(sa-Ia)*(sa-Ia)),.5>da?(da="M "+c.format(I)+" "+c.format(y)+" L "+c.format(Ta)+" "+c.format(A),I=va):(va/=2,Ia=va*va/(2*da)+da/2,sa=0<(Ta-I)*(sa-y)-(A-y)*(ra-I)?0:1,ra=da>va?1:0,da="M "+c.format(I)+" "+c.format(y)+" A "+c.format(Ia)+" "+c.format(Ia)+" 0 "+ra+" "+sa+" "+c.format(Ta)+" "+c.format(A),I=2*Math.asin(Math.min(1,va/Ia)),ra&&(I=2*Math.PI-I),I*=Ia)):(da="M "+c.format(I)+" "+c.format(y)+" Q "+c.format(ra)+" "+c.format(sa)+" "+c.format(Ta)+" "+c.format(A),Ia=ra-I,va=sa-y,ra=Ta-ra,sa=A-sa,
-I=Ta-I,y=A-y,I=(Math.sqrt(Ia*Ia+va*va)+Math.sqrt(ra*ra+sa*sa)+Math.sqrt(I*I+y*y))/2);A=(c.idPrefix||"")+"ctp-"+mxObjectIdentity.get(this);ra=(y=!mxClient.IS_CHROMEAPP&&c.root.ownerDocument==document)?c.getBaseUrl().replace(/([\(\)])/g,"\\$1"):"";Ta=c.createElement("g");sa=Q.transform||"";0<sa.length&&Ta.setAttribute("transform",sa);1>Q.alpha&&Ta.setAttribute("opacity",Q.alpha);sa=c.createElement("defs");Ia=c.createElement("path");Ia.setAttribute("id",A);Ia.setAttribute("d",da);sa.appendChild(Ia);
-Ta.appendChild(sa);da=c.createElement("text");Ia=mxUtils.getValue(this.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY);va=mxUtils.getValue(this.style,mxConstants.STYLE_FONTCOLOR,"#000000");sa=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSTYLE,0);da.setAttribute("font-size",Da*Q.scale+"px");da.setAttribute("font-family",mxUtils.parseCssFontFamily(Ia));da.setAttribute("fill",va);(sa&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&da.setAttribute("font-weight","bold");(sa&mxConstants.FONT_ITALIC)==
-mxConstants.FONT_ITALIC&&da.setAttribute("font-style","italic");Q=[];(sa&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&Q.push("underline");(sa&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&Q.push("line-through");0<Q.length&&da.setAttribute("text-decoration",Q.join(" "));Da=mxUtils.getValue(this.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER);sa="middle";Q="50%";Da==mxConstants.ALIGN_LEFT?(sa="start",Q="0%"):Da==mxConstants.ALIGN_RIGHT&&(sa="end",Q="100%");da.setAttribute("text-anchor",
-sa);da.setAttribute("dominant-baseline","central");Da=c.createElement("textPath");Da.setAttribute("startOffset",Q);Q=(y?ra:"")+"#"+A;Da.setAttribute("href",Q);y&&Da.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",Q);Da.setAttribute("textLength",I);Da.setAttribute("lengthAdjust","spacing");mxUtils.write(Da,w);da.appendChild(Da);Ta.appendChild(da);c.root.appendChild(Ta);this._curvedTextGroup=Ta}else c.text(m+n/2,q+r/2,0,0,w,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,!1,"",null,!1,
-0)}}};Ra.prototype.destroy=function(){null!=this._curvedTextGroup&&null!=this._curvedTextGroup.parentNode&&this._curvedTextGroup.parentNode.removeChild(this._curvedTextGroup);this._curvedTextGroup=null;mxRectangleShape.prototype.destroy.apply(this,arguments)};mxCellRenderer.registerShape("curvedText",Ra);if("undefined"!==typeof mxVertexHandler){var vb=function(c,m,q){return kb(c,["width"],m,function(n,r,w,y,I){I=c.shape.getEdgeWidth()*c.view.scale+q;return new mxPoint(y.x+r*n/4+w*I/2,y.y+w*n/4-r*
-I/2)},function(n,r,w,y,I,A){n=Math.sqrt(mxUtils.ptSegDistSq(y.x,y.y,I.x,I.y,A.x,A.y));c.style.width=Math.round(Math.round(2*n)/c.view.scale-q)})},kb=function(c,m,q,n,r){return Za(c,m,function(w){var y=c.absolutePoints;if(null!=y&&0<y.length){var I=y.length-1;w=c.view.translate;var A=c.view.scale,da=q?y[0]:y[I];y=q?y[1]:y[I-1];I=y.x-da.x;var Q=y.y-da.y,Da=Math.sqrt(I*I+Q*Q);da=n.call(this,Da,I/Da,Q/Da,da,y);return new mxPoint(da.x/A-w.x,da.y/A-w.y)}return null},function(w,y,I){var A=c.absolutePoints,
-da=A.length-1;w=c.view.translate;var Q=c.view.scale,Da=q?A[0]:A[da];A=q?A[1]:A[da-1];da=A.x-Da.x;var Ta=A.y-Da.y,Ia=Math.sqrt(da*da+Ta*Ta);y.x=(y.x+w.x)*Q;y.y=(y.y+w.y)*Q;r.call(this,Ia,da/Ia,Ta/Ia,Da,A,y,I)})},rb=function(c,m){return function(q){return[kb(q,["startWidth"],!0,function(n,r,w,y,I){I=mxUtils.getNumber(q.style,"startWidth",c)*q.view.scale+m;return new mxPoint(y.x+r*n/4+w*I/2,y.y+w*n/4-r*I/2)},function(n,r,w,y,I,A){n=Math.sqrt(mxUtils.ptSegDistSq(y.x,y.y,I.x,I.y,A.x,A.y));q.style.startWidth=
-Math.round(2*n)/q.view.scale-m})]}},sb=function(c){return function(m){return[Za(m,["arrowWidth","arrowSize"],function(q){var n=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"arrowWidth",fb.prototype.arrowWidth))),r=Math.max(0,Math.min(c,mxUtils.getValue(this.state.style,"arrowSize",fb.prototype.arrowSize)));return new mxPoint(q.x+(1-r)*q.width,q.y+(1-n)*q.height/2)},function(q,n){this.state.style.arrowWidth=Math.max(0,Math.min(1,Math.abs(q.y+q.height/2-n.y)/q.height*2));this.state.style.arrowSize=
-Math.max(0,Math.min(c,(q.x+q.width-n.x)/q.width))})]}},Ab=function(c){return function(m){return[Za(m,["size"],function(q){var n=Math.max(0,Math.min(.5*q.height,parseFloat(mxUtils.getValue(this.state.style,"size",c))));return new mxPoint(q.x,q.y+n)},function(q,n){this.state.style.size=Math.max(0,n.y-q.y)},!0)]}},mb=function(c,m,q){return function(n){var r=[Za(n,["size"],function(w){var y=Math.max(0,Math.min(w.width,Math.min(w.height,parseFloat(mxUtils.getValue(this.state.style,"size",m)))))*c;return new mxPoint(w.x+
-y,w.y+y)},function(w,y){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(w.width,y.x-w.x),Math.min(w.height,y.y-w.y)))/c)},!1)];q&&mxUtils.getValue(n.style,mxConstants.STYLE_ROUNDED,!1)&&r.push(pb(n));return r}},wb=function(c,m,q,n,r){q=null!=q?q:.5;return function(w){var y=[Za(w,["size"],function(I){var A=null!=r?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,da=parseFloat(mxUtils.getValue(this.state.style,"size",A?r:c));return new mxPoint(I.x+Math.max(0,Math.min(.5*I.width,
-da*(A?1:I.width))),I.getCenterY())},function(I,A,da){I=null!=r&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?A.x-I.x:Math.max(0,Math.min(q,(A.x-I.x)/I.width));this.state.style.size=I},!1,n)];m&&mxUtils.getValue(w.style,mxConstants.STYLE_ROUNDED,!1)&&y.push(pb(w));return y}},Bb=function(c,m,q){c=null!=c?c:.5;return function(n){var r=[Za(n,["size"],function(w){var y=null!=q?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,I=Math.max(0,parseFloat(mxUtils.getValue(this.state.style,
-"size",y?q:m)));return new mxPoint(w.x+Math.min(.75*w.width*c,I*(y?.75:.75*w.width)),w.y+w.height/4)},function(w,y){w=null!=q&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?y.x-w.x:Math.max(0,Math.min(c,(y.x-w.x)/w.width*.75));this.state.style.size=w},!1,!0)];mxUtils.getValue(n.style,mxConstants.STYLE_ROUNDED,!1)&&r.push(pb(n));return r}},xb=function(){return function(c){var m=[];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(pb(c));return m}},pb=function(c,m){return Za(c,
-[mxConstants.STYLE_ARCSIZE],function(q){var n=null!=m?m:q.height/8;if("1"==mxUtils.getValue(c.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)){var r=mxUtils.getValue(c.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;return new mxPoint(q.x+q.width-Math.min(q.width/2,r),q.y+n)}r=Math.max(0,parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)))/100;return new mxPoint(q.x+q.width-Math.min(Math.max(q.width/2,q.height/2),Math.min(q.width,q.height)*
-r),q.y+n)},function(q,n,r){"1"==mxUtils.getValue(c.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)?this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.max(0,Math.min(q.width,2*(q.x+q.width-n.x)))):this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.min(50,Math.max(0,100*(q.width-n.x+q.x)/Math.min(q.width,q.height))))})},Za=function(c,m,q,n,r,w,y){var I=new mxHandle(c,null,mxVertexHandler.prototype.secondaryHandleImage);I.execute=function(da){for(var Q=0;Q<m.length;Q++)this.copyStyle(m[Q]);
-y&&y(da)};I.getPosition=q;I.setPosition=n;I.ignoreGrid=null!=r?r:!0;if(w){var A=I.positionChanged;I.positionChanged=function(){A.apply(this,arguments);c.view.invalidate(this.state.cell);c.view.validate()}}return I},ub={link:function(c){return[vb(c,!0,10),vb(c,!1,10)]},pipe:function(c){return[vb(c,!0,10),vb(c,!1,10)]},flexArrow:function(c){var m=c.view.graph.gridSize/c.view.scale,q=[];mxUtils.getValue(c.style,mxConstants.STYLE_STARTARROW,mxConstants.NONE)!=mxConstants.NONE&&(q.push(kb(c,["width",mxConstants.STYLE_STARTSIZE,
-mxConstants.STYLE_ENDSIZE],!0,function(n,r,w,y,I){n=(c.shape.getEdgeWidth()-c.shape.strokewidth)*c.view.scale;I=3*mxUtils.getNumber(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(y.x+r*(I+c.shape.strokewidth*c.view.scale)+w*n/2,y.y+w*(I+c.shape.strokewidth*c.view.scale)-r*n/2)},function(n,r,w,y,I,A,da){n=Math.sqrt(mxUtils.ptSegDistSq(y.x,y.y,I.x,I.y,A.x,A.y));r=mxUtils.ptLineDist(y.x,y.y,y.x+w,y.y-r,A.x,A.y);c.style[mxConstants.STYLE_STARTSIZE]=Math.round((r-
-c.shape.strokewidth)/3/c.view.scale);c.style.width=Math.round(2*n/c.view.scale);if(mxEvent.isShiftDown(da.getEvent())||mxEvent.isControlDown(da.getEvent()))c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE];mxEvent.isAltDown(da.getEvent())||Math.abs(parseFloat(c.style[mxConstants.STYLE_STARTSIZE])-parseFloat(c.style[mxConstants.STYLE_ENDSIZE]))<m/6&&(c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE])})),q.push(kb(c,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,
-mxConstants.STYLE_ENDSIZE],!0,function(n,r,w,y,I){n=(c.shape.getStartArrowWidth()-c.shape.strokewidth)*c.view.scale;I=3*mxUtils.getNumber(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(y.x+r*(I+c.shape.strokewidth*c.view.scale)+w*n/2,y.y+w*(I+c.shape.strokewidth*c.view.scale)-r*n/2)},function(n,r,w,y,I,A,da){n=Math.sqrt(mxUtils.ptSegDistSq(y.x,y.y,I.x,I.y,A.x,A.y));r=mxUtils.ptLineDist(y.x,y.y,y.x+w,y.y-r,A.x,A.y);c.style[mxConstants.STYLE_STARTSIZE]=
-Math.round((r-c.shape.strokewidth)/3/c.view.scale);c.style.startWidth=Math.round(Math.max(0,Math.round(2*n)-c.shape.getEdgeWidth())/c.view.scale);if(mxEvent.isShiftDown(da.getEvent())||mxEvent.isControlDown(da.getEvent()))c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE],c.style.endWidth=c.style.startWidth;mxEvent.isAltDown(da.getEvent())||(Math.abs(parseFloat(c.style[mxConstants.STYLE_STARTSIZE])-parseFloat(c.style[mxConstants.STYLE_ENDSIZE]))<m/6&&(c.style[mxConstants.STYLE_STARTSIZE]=
-c.style[mxConstants.STYLE_ENDSIZE]),Math.abs(parseFloat(c.style.startWidth)-parseFloat(c.style.endWidth))<m&&(c.style.startWidth=c.style.endWidth))})));mxUtils.getValue(c.style,mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE&&(q.push(kb(c,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(n,r,w,y,I){n=(c.shape.getEdgeWidth()-c.shape.strokewidth)*c.view.scale;I=3*mxUtils.getNumber(c.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(y.x+
-r*(I+c.shape.strokewidth*c.view.scale)-w*n/2,y.y+w*(I+c.shape.strokewidth*c.view.scale)+r*n/2)},function(n,r,w,y,I,A,da){n=Math.sqrt(mxUtils.ptSegDistSq(y.x,y.y,I.x,I.y,A.x,A.y));r=mxUtils.ptLineDist(y.x,y.y,y.x+w,y.y-r,A.x,A.y);c.style[mxConstants.STYLE_ENDSIZE]=Math.round((r-c.shape.strokewidth)/3/c.view.scale);c.style.width=Math.round(2*n/c.view.scale);if(mxEvent.isShiftDown(da.getEvent())||mxEvent.isControlDown(da.getEvent()))c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE];
-mxEvent.isAltDown(da.getEvent())||Math.abs(parseFloat(c.style[mxConstants.STYLE_ENDSIZE])-parseFloat(c.style[mxConstants.STYLE_STARTSIZE]))<m/6&&(c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE])})),q.push(kb(c,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(n,r,w,y,I){n=(c.shape.getEndArrowWidth()-c.shape.strokewidth)*c.view.scale;I=3*mxUtils.getNumber(c.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(y.x+
-r*(I+c.shape.strokewidth*c.view.scale)-w*n/2,y.y+w*(I+c.shape.strokewidth*c.view.scale)+r*n/2)},function(n,r,w,y,I,A,da){n=Math.sqrt(mxUtils.ptSegDistSq(y.x,y.y,I.x,I.y,A.x,A.y));r=mxUtils.ptLineDist(y.x,y.y,y.x+w,y.y-r,A.x,A.y);c.style[mxConstants.STYLE_ENDSIZE]=Math.round((r-c.shape.strokewidth)/3/c.view.scale);c.style.endWidth=Math.round(Math.max(0,Math.round(2*n)-c.shape.getEdgeWidth())/c.view.scale);if(mxEvent.isShiftDown(da.getEvent())||mxEvent.isControlDown(da.getEvent()))c.style[mxConstants.STYLE_STARTSIZE]=
-c.style[mxConstants.STYLE_ENDSIZE],c.style.startWidth=c.style.endWidth;mxEvent.isAltDown(da.getEvent())||(Math.abs(parseFloat(c.style[mxConstants.STYLE_ENDSIZE])-parseFloat(c.style[mxConstants.STYLE_STARTSIZE]))<m/6&&(c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE]),Math.abs(parseFloat(c.style.endWidth)-parseFloat(c.style.startWidth))<m&&(c.style.endWidth=c.style.startWidth))})));return q},swimlane:function(c){var m=[];if(mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED)){var q=
-parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));m.push(pb(c,q/2))}m.push(Za(c,[mxConstants.STYLE_STARTSIZE],function(n){var r=parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));return 1==mxUtils.getValue(c.style,mxConstants.STYLE_HORIZONTAL,1)?new mxPoint(n.getCenterX(),n.y+Math.max(0,Math.min(n.height,r))):new mxPoint(n.x+Math.max(0,Math.min(n.width,r)),n.getCenterY())},function(n,r){c.style[mxConstants.STYLE_STARTSIZE]=
-1==mxUtils.getValue(this.state.style,mxConstants.STYLE_HORIZONTAL,1)?Math.round(Math.max(0,Math.min(n.height,r.y-n.y))):Math.round(Math.max(0,Math.min(n.width,r.x-n.x)))},!1,null,function(n){var r=c.view.graph;if(!mxEvent.isShiftDown(n.getEvent())&&!mxEvent.isControlDown(n.getEvent())&&(r.isTableRow(c.cell)||r.isTableCell(c.cell))){n=r.getSwimlaneDirection(c.style);var w=r.model.getParent(c.cell);w=r.model.getChildCells(w,!0);for(var y=[],I=0;I<w.length;I++)w[I]!=c.cell&&r.isSwimlane(w[I])&&r.getSwimlaneDirection(r.getCurrentCellStyle(w[I]))==
-n&&y.push(w[I]);r.setCellStyles(mxConstants.STYLE_STARTSIZE,c.style[mxConstants.STYLE_STARTSIZE],y)}}));return m},label:xb(),ext:xb(),rectangle:xb(),triangle:xb(),rhombus:xb(),umlLifeline:function(c){return[Za(c,["size"],function(m){var q=Math.max(0,Math.min(m.height,parseFloat(mxUtils.getValue(this.state.style,"size",wa.prototype.size))));return new mxPoint(m.getCenterX(),m.y+q)},function(m,q){this.state.style.size=Math.round(Math.max(0,Math.min(m.height,q.y-m.y)))},!1)]},umlFrame:function(c){return[Za(c,
-["width","height"],function(m){var q=Math.max(S.prototype.corner,Math.min(m.width,mxUtils.getValue(this.state.style,"width",S.prototype.width))),n=Math.max(1.5*S.prototype.corner,Math.min(m.height,mxUtils.getValue(this.state.style,"height",S.prototype.height)));return new mxPoint(m.x+q,m.y+n)},function(m,q){this.state.style.width=Math.round(Math.max(S.prototype.corner,Math.min(m.width,q.x-m.x)));this.state.style.height=Math.round(Math.max(1.5*S.prototype.corner,Math.min(m.height,q.y-m.y)))},!1)]},
-process:function(c){var m=[Za(c,["size"],function(q){var n="0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),r=parseFloat(mxUtils.getValue(this.state.style,"size",ca.prototype.size));return n?new mxPoint(q.x+r,q.y+q.height/4):new mxPoint(q.x+q.width*r,q.y+q.height/4)},function(q,n){q="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(.5*q.width,n.x-q.x)):Math.max(0,Math.min(.5,(n.x-q.x)/q.width));this.state.style.size=q},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,
-!1)&&m.push(pb(c));return m},cross:function(c){return[Za(c,["size"],function(m){var q=Math.min(m.width,m.height);q=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"size",pa.prototype.size)))*q/2;return new mxPoint(m.getCenterX()-q,m.getCenterY()-q)},function(m,q){var n=Math.min(m.width,m.height);this.state.style.size=Math.max(0,Math.min(1,Math.min(Math.max(0,m.getCenterY()-q.y)/n*2,Math.max(0,m.getCenterX()-q.x)/n*2)))})]},note:function(c){return[Za(c,["size"],function(m){var q=Math.max(0,
-Math.min(m.width,Math.min(m.height,parseFloat(mxUtils.getValue(this.state.style,"size",k.prototype.size)))));return new mxPoint(m.x+m.width-q,m.y+q)},function(m,q){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(m.width,m.x+m.width-q.x),Math.min(m.height,q.y-m.y))))})]},note2:function(c){return[Za(c,["size"],function(m){var q=Math.max(0,Math.min(m.width,Math.min(m.height,parseFloat(mxUtils.getValue(this.state.style,"size",v.prototype.size)))));return new mxPoint(m.x+m.width-q,m.y+q)},
-function(m,q){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(m.width,m.x+m.width-q.x),Math.min(m.height,q.y-m.y))))})]},manualInput:function(c){var m=[Za(c,["size"],function(q){var n=Math.max(0,Math.min(q.height,mxUtils.getValue(this.state.style,"size",ab.prototype.size)));return new mxPoint(q.x+q.width/4,q.y+3*n/4)},function(q,n){this.state.style.size=Math.round(Math.max(0,Math.min(q.height,4*(n.y-q.y)/3)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(pb(c));
-return m},dataStorage:function(c){return[Za(c,["size"],function(m){var q="0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),n=parseFloat(mxUtils.getValue(this.state.style,"size",q?hb.prototype.fixedSize:hb.prototype.size));return new mxPoint(m.x+m.width-n*(q?1:m.width),m.getCenterY())},function(m,q){m="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(m.width,m.x+m.width-q.x)):Math.max(0,Math.min(1,(m.x+m.width-q.x)/m.width));this.state.style.size=m},!1)]},callout:function(c){var m=
-[Za(c,["size","position"],function(q){var n=Math.max(0,Math.min(q.height,mxUtils.getValue(this.state.style,"size",V.prototype.size))),r=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",V.prototype.position)));mxUtils.getValue(this.state.style,"base",V.prototype.base);return new mxPoint(q.x+r*q.width,q.y+q.height-n)},function(q,n){mxUtils.getValue(this.state.style,"base",V.prototype.base);this.state.style.size=Math.round(Math.max(0,Math.min(q.height,q.y+q.height-n.y)));this.state.style.position=
-Math.round(100*Math.max(0,Math.min(1,(n.x-q.x)/q.width)))/100},!1),Za(c,["position2"],function(q){var n=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position2",V.prototype.position2)));return new mxPoint(q.x+n*q.width,q.y+q.height)},function(q,n){this.state.style.position2=Math.round(100*Math.max(0,Math.min(1,(n.x-q.x)/q.width)))/100},!1),Za(c,["base"],function(q){var n=Math.max(0,Math.min(q.height,mxUtils.getValue(this.state.style,"size",V.prototype.size))),r=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,
-"position",V.prototype.position))),w=Math.max(0,Math.min(q.width,mxUtils.getValue(this.state.style,"base",V.prototype.base)));return new mxPoint(q.x+Math.min(q.width,r*q.width+w),q.y+q.height-n)},function(q,n){var r=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",V.prototype.position)));this.state.style.base=Math.round(Math.max(0,Math.min(q.width,n.x-q.x-r*q.width)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(pb(c));return m},internalStorage:function(c){var m=
-[Za(c,["dx","dy"],function(q){var n=Math.max(0,Math.min(q.width,mxUtils.getValue(this.state.style,"dx",$a.prototype.dx))),r=Math.max(0,Math.min(q.height,mxUtils.getValue(this.state.style,"dy",$a.prototype.dy)));return new mxPoint(q.x+n,q.y+r)},function(q,n){this.state.style.dx=Math.round(Math.max(0,Math.min(q.width,n.x-q.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(q.height,n.y-q.y)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(pb(c));return m},module:function(c){return[Za(c,
-["jettyWidth","jettyHeight"],function(m){var q=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,"jettyWidth",Fa.prototype.jettyWidth))),n=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,"jettyHeight",Fa.prototype.jettyHeight)));return new mxPoint(m.x+q/2,m.y+2*n)},function(m,q){this.state.style.jettyWidth=Math.round(2*Math.max(0,Math.min(m.width,q.x-m.x)));this.state.style.jettyHeight=Math.round(Math.max(0,Math.min(m.height,q.y-m.y))/2)})]},corner:function(c){return[Za(c,
-["dx","dy"],function(m){var q=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,"dx",db.prototype.dx))),n=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,"dy",db.prototype.dy)));return new mxPoint(m.x+q,m.y+n)},function(m,q){this.state.style.dx=Math.round(Math.max(0,Math.min(m.width,q.x-m.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(m.height,q.y-m.y)))},!1)]},tee:function(c){return[Za(c,["dx","dy"],function(m){var q=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,
-"dx",jb.prototype.dx))),n=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,"dy",jb.prototype.dy)));return new mxPoint(m.x+(m.width+q)/2,m.y+n)},function(m,q){this.state.style.dx=Math.round(Math.max(0,2*Math.min(m.width/2,q.x-m.x-m.width/2)));this.state.style.dy=Math.round(Math.max(0,Math.min(m.height,q.y-m.y)))},!1)]},singleArrow:sb(1),doubleArrow:sb(.5),"mxgraph.arrows2.wedgeArrow":rb(20,20),"mxgraph.arrows2.wedgeArrowDashed":rb(20,20),"mxgraph.arrows2.wedgeArrowDashed2":rb(20,20),
-folder:function(c){return[Za(c,["tabWidth","tabHeight"],function(m){var q=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,"tabWidth",D.prototype.tabWidth))),n=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,"tabHeight",D.prototype.tabHeight)));mxUtils.getValue(this.state.style,"tabPosition",D.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(q=m.width-q);return new mxPoint(m.x+q,m.y+n)},function(m,q){var n=Math.max(0,Math.min(m.width,q.x-m.x));mxUtils.getValue(this.state.style,
-"tabPosition",D.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(n=m.width-n);this.state.style.tabWidth=Math.round(n);this.state.style.tabHeight=Math.round(Math.max(0,Math.min(m.height,q.y-m.y)))},!1)]},document:function(c){return[Za(c,["size"],function(m){var q=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",O.prototype.size))));return new mxPoint(m.x+3*m.width/4,m.y+(1-q)*m.height)},function(m,q){this.state.style.size=Math.max(0,Math.min(1,(m.y+m.height-q.y)/m.height))},
-!1)]},tape:function(c){return[Za(c,["size"],function(m){var q=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",K.prototype.size))));return new mxPoint(m.getCenterX(),m.y+q*m.height/2)},function(m,q){this.state.style.size=Math.max(0,Math.min(1,(q.y-m.y)/m.height*2))},!1)]},isoCube2:function(c){return[Za(c,["isoAngle"],function(m){var q=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.state.style,"isoAngle",t.isoAngle))))*Math.PI/200;return new mxPoint(m.x,m.y+Math.min(m.width*
-Math.tan(q),.5*m.height))},function(m,q){this.state.style.isoAngle=Math.max(0,50*(q.y-m.y)/m.height)},!0)]},cylinder2:Ab(x.prototype.size),cylinder3:Ab(z.prototype.size),offPageConnector:function(c){return[Za(c,["size"],function(m){var q=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",Aa.prototype.size))));return new mxPoint(m.getCenterX(),m.y+(1-q)*m.height)},function(m,q){this.state.style.size=Math.max(0,Math.min(1,(m.y+m.height-q.y)/m.height))},!1)]},"mxgraph.basic.rect":function(c){var m=
-[Graph.createHandle(c,["size"],function(q){var n=Math.max(0,Math.min(q.width/2,q.height/2,parseFloat(mxUtils.getValue(this.state.style,"size",this.size))));return new mxPoint(q.x+n,q.y+n)},function(q,n){this.state.style.size=Math.round(100*Math.max(0,Math.min(q.height/2,q.width/2,n.x-q.x)))/100})];c=Graph.createHandle(c,["indent"],function(q){var n=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,"indent",this.dx2))));return new mxPoint(q.x+.75*q.width,q.y+n*q.height/200)},function(q,
-n){this.state.style.indent=Math.round(100*Math.max(0,Math.min(100,200*(n.y-q.y)/q.height)))/100});m.push(c);return m},curvedText:function(c){var m=function(q){return(null!=q.shape?q.shape._curveYOffset:0)||0};return[Za(c,["arcStartY"],function(q){var n=parseFloat(mxUtils.getValue(this.state.style,"arcStartY",Ra.prototype.arcStartY)),r=m(this.state);return new mxPoint(q.x+10,q.y+Math.max(0,Math.min(q.height,n+r)))},function(q,n){var r=m(this.state);this.state.style.arcStartY=Math.round(Math.max(0,
-Math.min(q.height,n.y-q.y))-r)},!1),Za(c,["arcMidY"],function(q){var n=parseFloat(mxUtils.getValue(this.state.style,"arcStartY",Ra.prototype.arcStartY)),r=parseFloat(mxUtils.getValue(this.state.style,"arcEndY",Ra.prototype.arcEndY)),w=parseFloat(mxUtils.getValue(this.state.style,"arcMidY",Ra.prototype.arcMidY));n=(n+r)/2;r=m(this.state);return new mxPoint(q.x+q.width/2+10,q.y+Math.max(0,Math.min(q.height,n+w+r)))},function(q,n){var r=parseFloat(mxUtils.getValue(this.state.style,"arcStartY",Ra.prototype.arcStartY)),
-w=parseFloat(mxUtils.getValue(this.state.style,"arcEndY",Ra.prototype.arcEndY));r=(r+w)/2;w=m(this.state);var y=Math.max(Math.abs(Ra.prototype.arcMidY),Math.min(r,q.height-r));this.state.style.arcMidY=Math.round(Math.max(-y,Math.min(y,n.y-q.y-w-r)))},!1),Za(c,["arcEndY"],function(q){var n=parseFloat(mxUtils.getValue(this.state.style,"arcEndY",Ra.prototype.arcEndY)),r=m(this.state);return new mxPoint(q.x+q.width-10,q.y+Math.max(0,Math.min(q.height,n+r)))},function(q,n){var r=m(this.state);this.state.style.arcEndY=
-Math.round(Math.max(0,Math.min(q.height,n.y-q.y))-r)},!1)]},step:wb(ma.prototype.size,!0,null,!0,ma.prototype.fixedSize),hexagon:wb(oa.prototype.size,!0,.5,!0,oa.prototype.fixedSize),curlyBracket:wb(W.prototype.size,!1),display:wb(ea.prototype.size,!1),cube:mb(1,f.prototype.size,!1),card:mb(.5,H.prototype.size,!0),loopLimit:mb(.5,Ca.prototype.size,!0),trapezoid:Bb(.5,R.prototype.size,R.prototype.fixedSize),parallelogram:Bb(1,N.prototype.size,N.prototype.fixedSize),zigzag:function(c){return[Za(c,["size"],
-function(m){var q=Math.max(5,parseFloat(mxUtils.getValue(this.state.style,"size",La.prototype.size)));return new mxPoint(m.x+3*q,m.y)},function(m,q){this.state.style.size=Math.max(5,Math.round((q.x-m.x)/3))},!1)]}};Graph.createHandle=Za;Graph.handleFactory=ub;var Eb=mxVertexHandler.prototype.createCustomHandles;mxVertexHandler.prototype.createCustomHandles=function(){var c=Eb.apply(this,arguments);if(this.graph.isCellRotatable(this.state.cell)){var m=this.state.style.shape;null==mxCellRenderer.defaultShapes[m]&&
-null==mxStencilRegistry.getStencil(m)?m=mxConstants.SHAPE_RECTANGLE:this.state.view.graph.isSwimlane(this.state.cell)&&(m=mxConstants.SHAPE_SWIMLANE);m=ub[m];null==m&&null!=this.state.shape&&this.state.shape.isRoundable()&&(m=ub[mxConstants.SHAPE_RECTANGLE]);null!=m&&(m=m(this.state),null!=m&&(c=null==c?m:c.concat(m)))}return c};mxEdgeHandler.prototype.createCustomHandles=function(){var c=this.state.style.shape;null==mxCellRenderer.defaultShapes[c]&&null==mxStencilRegistry.getStencil(c)&&(c=mxConstants.SHAPE_CONNECTOR);
-c=ub[c];return null!=c?c(this.state):null}}else Graph.createHandle=function(){},Graph.handleFactory={};var Fb=Graph.prototype.getPreferredSizeForCell;Graph.prototype.getPreferredSizeForCell=function(c,m,q){var n=this.getCellStyle(c);if(null!=n&&"curvedText"==n[mxConstants.STYLE_SHAPE]){var r=this.convertValueToString(c);if(null!=r&&0<r.length){var w=parseFloat(mxUtils.getValue(n,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE)),y=mxUtils.getValue(n,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY);
-n=mxUtils.getValue(n,mxConstants.STYLE_FONTSTYLE,0);r=.85*mxUtils.getSizeForString(r,w,y,null,n).width;y=this.model.getGeometry(c);y=null!=y?y.height:60;(q=null!=q?q:this.gridEnabled)&&(r=this.snap(r+this.gridSize/2));return new mxRectangle(0,0,Math.max(r,2*w)+10,y)}return null}return Fb.apply(this,arguments)};var bb=mxCellRenderer.prototype.checkPlaceholderStyles;mxCellRenderer.prototype.checkPlaceholderStyles=function(c){return null!=c.style&&"curvedText"==c.style[mxConstants.STYLE_SHAPE]?!0:bb.apply(this,
-arguments)};if("undefined"!==typeof mxCellEditor){var zb=mxCellEditor.prototype.startEditing;mxCellEditor.prototype.startEditing=function(c,m){zb.apply(this,arguments);var q=this.graph.view.getState(c);null!=q&&null!=q.style&&"curvedText"==q.style[mxConstants.STYLE_SHAPE]&&null!=q.shape&&q.shape.redraw()};var lb=mxCellEditor.prototype.stopEditing;mxCellEditor.prototype.stopEditing=function(c){var m=this.editingCell;lb.apply(this,arguments);null!=m&&(m=this.graph.view.getState(m),null!=m&&null!=m.style&&
-"curvedText"==m.style[mxConstants.STYLE_SHAPE]&&null!=m.shape&&m.shape.redraw())}}var tb=new mxPoint(1,0),ob=new mxPoint(1,0),ib=mxUtils.toRadians(-30);tb=mxUtils.getRotatedPoint(tb,Math.cos(ib),Math.sin(ib));var Cb=mxUtils.toRadians(-150);ob=mxUtils.getRotatedPoint(ob,Math.cos(Cb),Math.sin(Cb));mxEdgeStyle.IsometricConnector=function(c,m,q,n,r){var w=c.view;n=null!=n&&0<n.length?n[0]:null;var y=c.absolutePoints,I=y[0];y=y[y.length-1];null!=n&&(n=w.transformControlPoint(c,n));null==I&&null!=m&&(I=
-new mxPoint(m.getCenterX(),m.getCenterY()));null==y&&null!=q&&(y=new mxPoint(q.getCenterX(),q.getCenterY()));var A=tb.x,da=tb.y,Q=ob.x,Da=ob.y,Ta="horizontal"==mxUtils.getValue(c.style,"elbow","horizontal");if(null!=y&&null!=I){c=function(ra,sa,va){ra-=Ia.x;var xa=sa-Ia.y;sa=(Da*ra-Q*xa)/(A*Da-da*Q);ra=(da*ra-A*xa)/(da*Q-A*Da);Ta?(va&&(Ia=new mxPoint(Ia.x+A*sa,Ia.y+da*sa),r.push(Ia)),Ia=new mxPoint(Ia.x+Q*ra,Ia.y+Da*ra)):(va&&(Ia=new mxPoint(Ia.x+Q*ra,Ia.y+Da*ra),r.push(Ia)),Ia=new mxPoint(Ia.x+A*
-sa,Ia.y+da*sa));r.push(Ia)};var Ia=I;null==n&&(n=new mxPoint(I.x+(y.x-I.x)/2,I.y+(y.y-I.y)/2));c(n.x,n.y,!0);c(y.x,y.y,!1)}};mxStyleRegistry.putValue("isometricEdgeStyle",mxEdgeStyle.IsometricConnector);var Hb=Graph.prototype.createEdgeHandler;Graph.prototype.createEdgeHandler=function(c,m){if(m==mxEdgeStyle.IsometricConnector){var q=new mxElbowEdgeHandler(c);q.snapToTerminals=!1;return q}return Hb.apply(this,arguments)};h.prototype.constraints=[];l.prototype.getConstraints=function(c,m,q){c=[];var n=
-Math.tan(mxUtils.toRadians(30)),r=(.5-n)/2;n=Math.min(m,q/(.5+n));m=(m-n)/2;q=(q-n)/2;c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,q+.25*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m+.5*n,q+n*r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m+n,q+.25*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m+n,q+.75*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m+.5*n,q+(1-r)*n));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,m,q+.75*n));return c};t.prototype.getConstraints=function(c,m,q){c=[];var n=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.style,"isoAngle",this.isoAngle))))*Math.PI/200;n=Math.min(m*Math.tan(n),.5*q);c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,n));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,q-n));c.push(new mxConnectionConstraint(new mxPoint(.5,
-1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,q-n));c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,n));return c};V.prototype.getConstraints=function(c,m,q){c=[];mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE);var n=Math.max(0,Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size))));parseFloat(mxUtils.getValue(this.style,"position",this.position));var r=m*Math.max(0,
-Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",this.position2))));parseFloat(mxUtils.getValue(this.style,"base",this.base));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.25,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.75,0),!1));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*(q-n)));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,m,q-n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,q-n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(q-n)));m>=2*n&&c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return c};mxRectangleShape.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,
-0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,
-1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0)];mxEllipse.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(1,.5))];J.prototype.constraints=mxRectangleShape.prototype.constraints;
-mxImageShape.prototype.constraints=mxRectangleShape.prototype.constraints;mxSwimlane.prototype.constraints=mxRectangleShape.prototype.constraints;L.prototype.constraints=mxRectangleShape.prototype.constraints;mxLabel.prototype.constraints=mxRectangleShape.prototype.constraints;k.prototype.getConstraints=function(c,m,q){c=[];var n=Math.max(0,Math.min(m,Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,.5*(m-n),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-.5*n,.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*(q+n)));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
-.5),!1));m>=2*n&&c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return c};H.prototype.getConstraints=function(c,m,q){c=[];var n=Math.max(0,Math.min(m,Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+n),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,n,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*n,.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,0,n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(q+n)));c.push(new mxConnectionConstraint(new mxPoint(0,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));m>=2*n&&c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return c};f.prototype.getConstraints=function(c,m,q){c=[];var n=Math.max(0,Math.min(m,Math.min(q,parseFloat(mxUtils.getValue(this.style,
-"size",this.size)))));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-n),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-.5*n,.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*(q+n)));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,.5*(m+n),q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,n,q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*n,q-.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,q-n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(q-n)));return c};z.prototype.getConstraints=function(c,m,q){c=[];m=Math.max(0,Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
-.5),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,m));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,m));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1,null,0,-m));c.push(new mxConnectionConstraint(new mxPoint(0,1),!1,null,0,-m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,m+.5*(.5*q-m)));c.push(new mxConnectionConstraint(new mxPoint(1,
-0),!1,null,0,m+.5*(.5*q-m)));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,q-m-.5*(.5*q-m)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,q-m-.5*(.5*q-m)));c.push(new mxConnectionConstraint(new mxPoint(.145,0),!1,null,0,.29*m));c.push(new mxConnectionConstraint(new mxPoint(.855,0),!1,null,0,.29*m));c.push(new mxConnectionConstraint(new mxPoint(.855,1),!1,null,0,.29*-m));c.push(new mxConnectionConstraint(new mxPoint(.145,1),!1,null,0,.29*-m));return c};D.prototype.getConstraints=
-function(c,m,q){c=[];var n=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"tabWidth",this.tabWidth)))),r=Math.max(0,Math.min(q,parseFloat(mxUtils.getValue(this.style,"tabHeight",this.tabHeight))));"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?(c.push(new mxConnectionConstraint(new mxPoint(0,0),!1)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*n,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,n,0)),c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,n,r)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+n),r))):(c.push(new mxConnectionConstraint(new mxPoint(1,0),!1)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-.5*n,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,r)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-n),r)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,r));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,m,.25*(q-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*(q-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.75*(q-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.25*(q-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(q-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,0,.75*(q-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,q));c.push(new mxConnectionConstraint(new mxPoint(.25,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.75,1),!1));return c};$a.prototype.constraints=mxRectangleShape.prototype.constraints;hb.prototype.constraints=mxRectangleShape.prototype.constraints;Wa.prototype.constraints=mxEllipse.prototype.constraints;Va.prototype.constraints=mxEllipse.prototype.constraints;
-u.prototype.constraints=mxEllipse.prototype.constraints;T.prototype.constraints=mxEllipse.prototype.constraints;ab.prototype.constraints=mxRectangleShape.prototype.constraints;X.prototype.constraints=mxRectangleShape.prototype.constraints;ea.prototype.getConstraints=function(c,m,q){c=[];var n=Math.min(m,q/2),r=Math.min(m-n,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*m);c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1,null));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,r,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(r+m-n),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,0));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1,null));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(r+m-n),q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,q));return c};Fa.prototype.getConstraints=function(c,m,q){m=parseFloat(mxUtils.getValue(c,
-"jettyWidth",Fa.prototype.jettyWidth))/2;c=parseFloat(mxUtils.getValue(c,"jettyHeight",Fa.prototype.jettyHeight));var n=[new mxConnectionConstraint(new mxPoint(0,0),!1,null,m),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,
-.75),!0),new mxConnectionConstraint(new mxPoint(0,1),!1,null,m),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,Math.min(q-.5*c,1.5*c)),new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,Math.min(q-.5*c,3.5*c))];q>5*c&&n.push(new mxConnectionConstraint(new mxPoint(0,.75),!1,null,m));q>8*c&&n.push(new mxConnectionConstraint(new mxPoint(0,
-.5),!1,null,m));q>15*c&&n.push(new mxConnectionConstraint(new mxPoint(0,.25),!1,null,m));return n};Ca.prototype.constraints=mxRectangleShape.prototype.constraints;Aa.prototype.constraints=mxRectangleShape.prototype.constraints;mxCylinder.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.15,.05),!1),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.85,.05),!1),new mxConnectionConstraint(new mxPoint(0,.3),!0),new mxConnectionConstraint(new mxPoint(0,
-.5),!0),new mxConnectionConstraint(new mxPoint(0,.7),!0),new mxConnectionConstraint(new mxPoint(1,.3),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.7),!0),new mxConnectionConstraint(new mxPoint(.15,.95),!1),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.85,.95),!1)];P.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,.1),!1),new mxConnectionConstraint(new mxPoint(.5,0),!1),new mxConnectionConstraint(new mxPoint(.75,
-.1),!1),new mxConnectionConstraint(new mxPoint(0,1/3),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(1,1/3),!1),new mxConnectionConstraint(new mxPoint(1,1),!1),new mxConnectionConstraint(new mxPoint(.5,.5),!1)];Pa.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.3),!0),new mxConnectionConstraint(new mxPoint(0,
-.7),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];mxActor.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.25,.2),!1),new mxConnectionConstraint(new mxPoint(.1,.5),!1),new mxConnectionConstraint(new mxPoint(0,
-.75),!0),new mxConnectionConstraint(new mxPoint(.75,.25),!1),new mxConnectionConstraint(new mxPoint(.9,.5),!1),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];E.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(.5,.25),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(.25,
-.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(.5,.75),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];K.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.35),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,.65),!1),new mxConnectionConstraint(new mxPoint(1,.35),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,
-.65),!1),new mxConnectionConstraint(new mxPoint(.25,1),!1),new mxConnectionConstraint(new mxPoint(.75,0),!1)];ma.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,
-.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxLine.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];ta.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,
-0),!1),new mxConnectionConstraint(new mxPoint(.5,1),!1)];mxDoubleEllipse.prototype.constraints=mxEllipse.prototype.constraints;mxRhombus.prototype.constraints=mxEllipse.prototype.constraints;mxTriangle.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(1,
-.5),!0)];mxHexagon.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.375,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.625,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.375,
-1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.625,1),!0)];mxCloud.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,.25),!1),new mxConnectionConstraint(new mxPoint(.4,.1),!1),new mxConnectionConstraint(new mxPoint(.16,.55),!1),new mxConnectionConstraint(new mxPoint(.07,.4),!1),new mxConnectionConstraint(new mxPoint(.31,.8),!1),new mxConnectionConstraint(new mxPoint(.13,.77),!1),new mxConnectionConstraint(new mxPoint(.8,.8),!1),new mxConnectionConstraint(new mxPoint(.55,
+mxUtils.getNumber(this.style,"endWidth",this.defaultArrowWidth)};ya.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-1)};mxCellRenderer.registerShape("flexArrow",ya);mxUtils.extend($a,mxActor);$a.prototype.size=30;$a.prototype.isRoundable=function(){return!0};$a.prototype.getLabelMargins=function(c){return mxUtils.getValue(this.style,"boundedLbl",!1)?(c=parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale,
+new mxRectangle(0,c,0,0)):null};$a.prototype.redrawPath=function(c,m,q,n,r){m=Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size)));q=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,r),new mxPoint(0,m),new mxPoint(n,0),new mxPoint(n,r)],this.isRounded,q,!0);c.end()};mxCellRenderer.registerShape("manualInput",$a);mxUtils.extend(ab,mxRectangleShape);ab.prototype.dx=20;ab.prototype.dy=20;ab.prototype.isHtmlAllowed=function(){return!1};
+ab.prototype.paintForeground=function(c,m,q,n,r){mxRectangleShape.prototype.paintForeground.apply(this,arguments);var w=0;if(this.isRounded){var y=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100;w=Math.max(w,Math.min(n*y,r*y))}y=Math.max(w,Math.min(n,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));w=Math.max(w,Math.min(r,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));c.begin();c.moveTo(m,q+w);c.lineTo(m+n,q+w);c.end();c.stroke();
+c.begin();c.moveTo(m+y,q);c.lineTo(m+y,q+r);c.end();c.stroke()};mxCellRenderer.registerShape("internalStorage",ab);mxUtils.extend(db,mxActor);db.prototype.dx=20;db.prototype.dy=20;db.prototype.isRoundable=function(){return!0};db.prototype.redrawPath=function(c,m,q,n,r){m=Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));q=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",this.size));var w=mxUtils.getValue(this.style,
+mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(n,0),new mxPoint(n,q),new mxPoint(m,q),new mxPoint(m,r),new mxPoint(0,r)],this.isRounded,w,!0);c.end()};mxCellRenderer.registerShape("corner",db);mxUtils.extend(qb,mxActor);qb.prototype.redrawPath=function(c,m,q,n,r){c.moveTo(0,0);c.lineTo(0,r);c.end();c.moveTo(n,0);c.lineTo(n,r);c.end();c.moveTo(0,r/2);c.lineTo(n,r/2);c.end()};mxCellRenderer.registerShape("crossbar",qb);mxUtils.extend(jb,mxActor);
+jb.prototype.dx=20;jb.prototype.dy=20;jb.prototype.isRoundable=function(){return!0};jb.prototype.redrawPath=function(c,m,q,n,r){m=Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));q=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",this.size));var w=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(n,0),new mxPoint(n,q),
+new mxPoint((n+m)/2,q),new mxPoint((n+m)/2,r),new mxPoint((n-m)/2,r),new mxPoint((n-m)/2,q),new mxPoint(0,q)],this.isRounded,w,!0);c.end()};mxCellRenderer.registerShape("tee",jb);mxUtils.extend(fb,mxActor);fb.prototype.arrowWidth=.3;fb.prototype.arrowSize=.2;fb.prototype.isRoundable=function(){return!0};fb.prototype.redrawPath=function(c,m,q,n,r){var w=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth))));m=n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,
+"arrowSize",this.arrowSize))));q=(r-w)/2;w=q+w;var y=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,q),new mxPoint(n-m,q),new mxPoint(n-m,0),new mxPoint(n,r/2),new mxPoint(n-m,r),new mxPoint(n-m,w),new mxPoint(0,w)],this.isRounded,y,!0);c.end()};mxCellRenderer.registerShape("singleArrow",fb);mxUtils.extend(nb,mxActor);nb.prototype.isRoundable=function(){return!0};nb.prototype.redrawPath=function(c,m,q,n,r){var w=r*Math.max(0,Math.min(1,
+parseFloat(mxUtils.getValue(this.style,"arrowWidth",fb.prototype.arrowWidth))));m=n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",fb.prototype.arrowSize))));q=(r-w)/2;w=q+w;var y=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,r/2),new mxPoint(m,0),new mxPoint(m,q),new mxPoint(n-m,q),new mxPoint(n-m,0),new mxPoint(n,r/2),new mxPoint(n-m,r),new mxPoint(n-m,w),new mxPoint(m,w),new mxPoint(m,r)],this.isRounded,
+y,!0);c.end()};mxCellRenderer.registerShape("doubleArrow",nb);mxUtils.extend(hb,mxActor);hb.prototype.size=.1;hb.prototype.fixedSize=20;hb.prototype.redrawPath=function(c,m,q,n,r){m="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.moveTo(m,0);c.lineTo(n,0);c.quadTo(n-2*m,r/2,n,r);c.lineTo(m,r);c.quadTo(m-2*m,r/2,m,0);c.close();
+c.end()};mxCellRenderer.registerShape("dataStorage",hb);mxUtils.extend(cb,mxActor);cb.prototype.redrawPath=function(c,m,q,n,r){c.moveTo(0,0);c.quadTo(n,0,n,r/2);c.quadTo(n,r,0,r);c.close();c.end()};mxCellRenderer.registerShape("or",cb);mxUtils.extend(la,mxActor);la.prototype.redrawPath=function(c,m,q,n,r){c.moveTo(0,0);c.quadTo(n,0,n,r/2);c.quadTo(n,r,0,r);c.quadTo(n/2,r/2,0,0);c.close();c.end()};mxCellRenderer.registerShape("xor",la);mxUtils.extend(Ca,mxActor);Ca.prototype.size=20;Ca.prototype.isRoundable=
+function(){return!0};Ca.prototype.redrawPath=function(c,m,q,n,r){m=Math.min(n/2,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))));q=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(m,0),new mxPoint(n-m,0),new mxPoint(n,.8*m),new mxPoint(n,r),new mxPoint(0,r),new mxPoint(0,.8*m)],this.isRounded,q,!0);c.end()};mxCellRenderer.registerShape("loopLimit",Ca);mxUtils.extend(Aa,mxActor);Aa.prototype.size=.375;Aa.prototype.isRoundable=
+function(){return!0};Aa.prototype.redrawPath=function(c,m,q,n,r){m=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));q=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(n,0),new mxPoint(n,r-m),new mxPoint(n/2,r),new mxPoint(0,r-m)],this.isRounded,q,!0);c.end()};mxCellRenderer.registerShape("offPageConnector",Aa);mxUtils.extend(Wa,mxEllipse);Wa.prototype.paintVertexShape=function(c,m,q,
+n,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.begin();c.moveTo(m+n/2,q+r);c.lineTo(m+n,q+r);c.end();c.stroke()};mxCellRenderer.registerShape("tapeData",Wa);mxUtils.extend(Va,mxEllipse);Va.prototype.paintVertexShape=function(c,m,q,n,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(m,q+r/2);c.lineTo(m+n,q+r/2);c.end();c.stroke();c.begin();c.moveTo(m+n/2,q);c.lineTo(m+n/2,q+r);c.end();c.stroke()};mxCellRenderer.registerShape("orEllipse",
+Va);mxUtils.extend(u,mxEllipse);u.prototype.paintVertexShape=function(c,m,q,n,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(m+.145*n,q+.145*r);c.lineTo(m+.855*n,q+.855*r);c.end();c.stroke();c.begin();c.moveTo(m+.855*n,q+.145*r);c.lineTo(m+.145*n,q+.855*r);c.end();c.stroke()};mxCellRenderer.registerShape("sumEllipse",u);mxUtils.extend(B,mxRhombus);B.prototype.paintVertexShape=function(c,m,q,n,r){mxRhombus.prototype.paintVertexShape.apply(this,arguments);
+c.setShadow(!1);c.begin();c.moveTo(m,q+r/2);c.lineTo(m+n,q+r/2);c.end();c.stroke()};mxCellRenderer.registerShape("sortShape",B);mxUtils.extend(C,mxEllipse);C.prototype.paintVertexShape=function(c,m,q,n,r){c.begin();c.moveTo(m,q);c.lineTo(m+n,q);c.lineTo(m+n/2,q+r/2);c.close();c.fillAndStroke();c.begin();c.moveTo(m,q+r);c.lineTo(m+n,q+r);c.lineTo(m+n/2,q+r/2);c.close();c.fillAndStroke()};mxCellRenderer.registerShape("collate",C);mxUtils.extend(F,mxEllipse);F.prototype.paintVertexShape=function(c,m,
+q,n,r){var w=c.state.strokeWidth/2,y=10+2*w,I=q+r-y/2;c.begin();c.moveTo(m,q);c.lineTo(m,q+r);c.moveTo(m+w,I);c.lineTo(m+w+y,I-y/2);c.moveTo(m+w,I);c.lineTo(m+w+y,I+y/2);c.moveTo(m+w,I);c.lineTo(m+n-w,I);c.moveTo(m+n,q);c.lineTo(m+n,q+r);c.moveTo(m+n-w,I);c.lineTo(m+n-y-w,I-y/2);c.moveTo(m+n-w,I);c.lineTo(m+n-y-w,I+y/2);c.end();c.stroke()};mxCellRenderer.registerShape("dimension",F);mxUtils.extend(J,mxEllipse);J.prototype.drawHidden=!0;J.prototype.paintVertexShape=function(c,m,q,n,r){this.outline||
+c.setStrokeColor(null);if(null!=this.style){var w=c.pointerEvents,y=null!=this.fill&&this.fill!=mxConstants.NONE;"1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1")||y||(c.pointerEvents=!1);var I="1"==mxUtils.getValue(this.style,"top","1"),A="1"==mxUtils.getValue(this.style,"left","1"),da="1"==mxUtils.getValue(this.style,"right","1"),Q="1"==mxUtils.getValue(this.style,"bottom","1");this.drawHidden||y||this.outline||I||da||Q||A?(c.rect(m,q,n,r),c.fill(),c.pointerEvents=w,c.setStrokeColor(this.stroke),
+c.setLineCap("square"),c.begin(),c.moveTo(m,q),this.outline||I?c.lineTo(m+n,q):c.moveTo(m+n,q),this.outline||da?c.lineTo(m+n,q+r):c.moveTo(m+n,q+r),this.outline||Q?c.lineTo(m,q+r):c.moveTo(m,q+r),(this.outline||A)&&c.lineTo(m,q),c.end(),c.stroke(),c.setLineCap("flat")):c.setStrokeColor(this.stroke)}};mxCellRenderer.registerShape("partialRectangle",J);mxUtils.extend(T,mxEllipse);T.prototype.paintVertexShape=function(c,m,q,n,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);
+c.begin();"vertical"==mxUtils.getValue(this.style,"line")?(c.moveTo(m+n/2,q),c.lineTo(m+n/2,q+r)):(c.moveTo(m,q+r/2),c.lineTo(m+n,q+r/2));c.end();c.stroke()};mxCellRenderer.registerShape("lineEllipse",T);mxUtils.extend(X,mxActor);X.prototype.redrawPath=function(c,m,q,n,r){m=Math.min(n,r/2);c.moveTo(0,0);c.lineTo(n-m,0);c.quadTo(n,0,n,r/2);c.quadTo(n,r,n-m,r);c.lineTo(0,r);c.close();c.end()};mxCellRenderer.registerShape("delay",X);mxUtils.extend(pa,mxActor);pa.prototype.size=.2;pa.prototype.redrawPath=
+function(c,m,q,n,r){m=Math.min(r,n);var w=Math.max(0,Math.min(m,m*parseFloat(mxUtils.getValue(this.style,"size",this.size))));m=(r-w)/2;q=m+w;var y=(n-w)/2;w=y+w;c.moveTo(0,m);c.lineTo(y,m);c.lineTo(y,0);c.lineTo(w,0);c.lineTo(w,m);c.lineTo(n,m);c.lineTo(n,q);c.lineTo(w,q);c.lineTo(w,r);c.lineTo(y,r);c.lineTo(y,q);c.lineTo(0,q);c.close();c.end()};mxCellRenderer.registerShape("cross",pa);mxUtils.extend(ea,mxActor);ea.prototype.size=.25;ea.prototype.redrawPath=function(c,m,q,n,r){m=Math.min(n,r/2);
+q=Math.min(n-m,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*n);c.moveTo(0,r/2);c.lineTo(q,0);c.lineTo(n-m,0);c.quadTo(n,0,n,r/2);c.quadTo(n,r,n-m,r);c.lineTo(q,r);c.close();c.end()};mxCellRenderer.registerShape("display",ea);mxUtils.extend(ka,mxActor);ka.prototype.cst={RECT2:"mxgraph.basic.rect"};ka.prototype.customProperties=[{name:"rectStyle",dispName:"Style",type:"enum",defVal:"square",enumList:[{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",
+dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"size",dispName:"Corner Size",type:"float",defVal:10},{name:"absoluteCornerSize",dispName:"Abs. Corner Size",type:"bool",defVal:!0},{name:"indent",dispName:"Indent",type:"float",defVal:2},{name:"rectOutline",dispName:"Outline",type:"enum",defVal:"single",enumList:[{val:"single",dispName:"Single"},{val:"double",dispName:"Double"},{val:"frame",dispName:"Frame"}]},{name:"fillColor2",dispName:"Inside Fill Color",
+type:"color",defVal:"none"},{name:"gradientColor2",dispName:"Inside Gradient Color",type:"color",defVal:"none"},{name:"gradientDirection2",dispName:"Inside Gradient Direction",type:"enum",defVal:"south",enumList:[{val:"south",dispName:"South"},{val:"west",dispName:"West"},{val:"north",dispName:"North"},{val:"east",dispName:"East"}]},{name:"top",dispName:"Top Line",type:"bool",defVal:!0},{name:"right",dispName:"Right",type:"bool",defVal:!0},{name:"bottom",dispName:"Bottom Line",type:"bool",defVal:!0},
+{name:"left",dispName:"Left ",type:"bool",defVal:!0},{name:"topLeftStyle",dispName:"Top Left Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"topRightStyle",dispName:"Top Right Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",
+dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"bottomRightStyle",dispName:"Bottom Right Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"bottomLeftStyle",dispName:"Bottom Left Style",type:"enum",defVal:"default",enumList:[{val:"default",
+dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]}];ka.prototype.paintVertexShape=function(c,m,q,n,r){c.translate(m,q);this.strictDrawShape(c,0,0,n,r)};ka.prototype.strictDrawShape=function(c,m,q,n,r,w){var y=w&&w.rectStyle?w.rectStyle:mxUtils.getValue(this.style,"rectStyle",this.rectStyle),I=w&&w.absoluteCornerSize?w.absoluteCornerSize:mxUtils.getValue(this.style,
+"absoluteCornerSize",this.absoluteCornerSize),A=w&&w.size?w.size:Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),da=w&&w.rectOutline?w.rectOutline:mxUtils.getValue(this.style,"rectOutline",this.rectOutline),Q=w&&w.indent?w.indent:Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"indent",this.indent)))),Da=w&&w.dashed?w.dashed:mxUtils.getValue(this.style,"dashed",!1),Ta=w&&w.dashPattern?w.dashPattern:mxUtils.getValue(this.style,"dashPattern",null),Ia=w&&
+w.relIndent?w.relIndent:Math.max(0,Math.min(50,Q)),ra=w&&w.top?w.top:mxUtils.getValue(this.style,"top",!0),sa=w&&w.right?w.right:mxUtils.getValue(this.style,"right",!0),va=w&&w.bottom?w.bottom:mxUtils.getValue(this.style,"bottom",!0),xa=w&&w.left?w.left:mxUtils.getValue(this.style,"left",!0),Ha=w&&w.topLeftStyle?w.topLeftStyle:mxUtils.getValue(this.style,"topLeftStyle","default"),Ma=w&&w.topRightStyle?w.topRightStyle:mxUtils.getValue(this.style,"topRightStyle","default"),Na=w&&w.bottomRightStyle?
+w.bottomRightStyle:mxUtils.getValue(this.style,"bottomRightStyle","default"),Oa=w&&w.bottomLeftStyle?w.bottomLeftStyle:mxUtils.getValue(this.style,"bottomLeftStyle","default"),Jb=w&&w.fillColor?w.fillColor:mxUtils.getValue(this.style,"fillColor","#ffffff");w&&w.strokeColor||mxUtils.getValue(this.style,"strokeColor","#000000");var Kb=w&&w.strokeWidth?w.strokeWidth:mxUtils.getValue(this.style,"strokeWidth","1"),Gb=w&&w.fillColor2?w.fillColor2:mxUtils.getValue(this.style,"fillColor2","none"),Ib=w&&w.gradientColor2?
+w.gradientColor2:mxUtils.getValue(this.style,"gradientColor2","none"),Lb=w&&w.gradientDirection2?w.gradientDirection2:mxUtils.getValue(this.style,"gradientDirection2","south"),Mb=w&&w.opacity?w.opacity:mxUtils.getValue(this.style,"opacity","100"),Nb=Math.max(0,Math.min(50,A));w=ka.prototype;c.setDashed(Da);Ta&&""!=Ta&&c.setDashPattern(Ta);c.setStrokeWidth(Kb);A=Math.min(.5*r,.5*n,A);I||(A=Nb*Math.min(n,r)/100);A=Math.min(A,.5*Math.min(n,r));I||(Q=Math.min(Ia*Math.min(n,r)/100));Q=Math.min(Q,.5*Math.min(n,
+r)-A);(ra||sa||va||xa)&&"frame"!=da&&(c.begin(),ra?w.moveNW(c,m,q,n,r,y,Ha,A,xa):c.moveTo(0,0),ra&&w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),sa&&w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),va&&w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),xa&&w.paintSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),c.close(),c.fill(),c.setShadow(!1),c.setFillColor(Gb),Da=I=Mb,"none"==Gb&&(I=0),"none"==Ib&&(Da=0),c.setGradient(Gb,Ib,0,0,n,r,Lb,I,
+Da),c.begin(),ra?w.moveNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa):c.moveTo(Q,0),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),xa&&va&&w.paintSWInner(c,m,q,n,r,y,Oa,A,Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),va&&sa&&w.paintSEInner(c,m,q,n,r,y,Na,A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),sa&&ra&&w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),ra&&xa&&w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),c.fill(),"none"==Jb&&(c.begin(),w.paintFolds(c,m,q,n,r,y,Ha,Ma,Na,Oa,A,ra,sa,va,xa),
+c.stroke()));ra||sa||va||!xa?ra||sa||!va||xa?!ra&&!sa&&va&&xa?"frame"!=da?(c.begin(),w.moveSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.paintSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),"double"==da&&(w.moveNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),w.paintSWInner(c,m,q,n,r,y,Oa,A,Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va)),c.stroke()):(c.begin(),w.moveSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.paintSW(c,m,q,n,
+r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.lineNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),w.paintSWInner(c,m,q,n,r,y,Oa,A,Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),c.close(),c.fillAndStroke()):ra||!sa||va||xa?!ra&&sa&&!va&&xa?"frame"!=da?(c.begin(),w.moveSW(c,m,q,n,r,y,Ha,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),"double"==da&&(w.moveNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa)),c.stroke(),c.begin(),w.moveNE(c,m,q,n,r,y,
+Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),"double"==da&&(w.moveSEInner(c,m,q,n,r,y,Na,A,Q,va),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa)),c.stroke()):(c.begin(),w.moveSW(c,m,q,n,r,y,Ha,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.lineNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),c.close(),c.fillAndStroke(),c.begin(),w.moveNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.lineSEInner(c,m,q,n,r,y,Na,A,Q,va),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),c.close(),
+c.fillAndStroke()):!ra&&sa&&va&&!xa?"frame"!=da?(c.begin(),w.moveNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),"double"==da&&(w.moveSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),w.paintSEInner(c,m,q,n,r,y,Na,A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa)),c.stroke()):(c.begin(),w.moveNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,
+q,n,r,y,Oa,A,xa),w.lineSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),w.paintSEInner(c,m,q,n,r,y,Na,A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),c.close(),c.fillAndStroke()):!ra&&sa&&va&&xa?"frame"!=da?(c.begin(),w.moveNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.paintSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),"double"==da&&(w.moveNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa),w.paintLeftInner(c,
+m,q,n,r,y,Oa,A,Q,va,xa),w.paintSWInner(c,m,q,n,r,y,Oa,A,Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),w.paintSEInner(c,m,q,n,r,y,Na,A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa)),c.stroke()):(c.begin(),w.moveNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.paintSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.lineNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),w.paintSWInner(c,
+m,q,n,r,y,Oa,A,Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),w.paintSEInner(c,m,q,n,r,y,Na,A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),c.close(),c.fillAndStroke()):!ra||sa||va||xa?ra&&!sa&&!va&&xa?"frame"!=da?(c.begin(),w.moveSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),"double"==da&&(w.moveNEInner(c,m,q,n,r,y,Ma,A,Q,sa),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),w.paintLeftInner(c,
+m,q,n,r,y,Oa,A,Q,va,xa)),c.stroke()):(c.begin(),w.moveSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.lineNEInner(c,m,q,n,r,y,Ma,A,Q,sa),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),c.close(),c.fillAndStroke()):ra&&!sa&&va&&!xa?"frame"!=da?(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),"double"==da&&(w.moveNEInner(c,m,q,n,r,
+y,Ma,A,Q,sa),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra)),c.stroke(),c.begin(),w.moveSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),"double"==da&&(w.moveSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va)),c.stroke()):(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.lineNEInner(c,m,q,n,r,y,Ma,A,Q,sa),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),c.close(),c.fillAndStroke(),c.begin(),w.moveSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,
+A,xa),w.lineSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),c.close(),c.fillAndStroke()):ra&&!sa&&va&&xa?"frame"!=da?(c.begin(),w.moveSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.paintSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),"double"==da&&(w.moveNEInner(c,m,q,n,r,y,Ma,A,Q,sa),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),w.paintLeftInner(c,m,q,n,
+r,y,Oa,A,Q,va,xa),w.paintSWInner(c,m,q,n,r,y,Oa,A,Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va)),c.stroke()):(c.begin(),w.moveSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.paintSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.lineNEInner(c,m,q,n,r,y,Ma,A,Q,sa),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),w.paintSWInner(c,m,q,n,r,y,
+Oa,A,Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),c.close(),c.fillAndStroke()):ra&&sa&&!va&&!xa?"frame"!=da?(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),"double"==da&&(w.moveSEInner(c,m,q,n,r,y,Na,A,Q,va),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra)),c.stroke()):(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,
+Ma,A,sa),w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.lineSEInner(c,m,q,n,r,y,Na,A,Q,va),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),c.close(),c.fillAndStroke()):ra&&sa&&!va&&xa?"frame"!=da?(c.begin(),w.moveSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),"double"==
+da&&(w.moveSEInner(c,m,q,n,r,y,Na,A,Q,va),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa)),c.stroke()):(c.begin(),w.moveSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.lineSEInner(c,m,q,n,r,y,Na,A,Q,va),w.paintRightInner(c,
+m,q,n,r,y,Ma,A,Q,ra,sa),w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),c.close(),c.fillAndStroke()):ra&&sa&&va&&!xa?"frame"!=da?(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),"double"==da&&(w.moveSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintBottomInner(c,
+m,q,n,r,y,Na,A,Q,sa,va),w.paintSEInner(c,m,q,n,r,y,Na,A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra)),c.stroke()):(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.lineSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),w.paintSEInner(c,m,q,n,
+r,y,Na,A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),c.close(),c.fillAndStroke()):ra&&sa&&va&&xa&&("frame"!=da?(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.paintSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),c.close(),"double"==
+da&&(w.moveSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintSWInner(c,m,q,n,r,y,Oa,A,Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),w.paintSEInner(c,m,q,n,r,y,Na,A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),c.close()),c.stroke()):(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.paintNE(c,m,q,
+n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.paintSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),c.close(),w.moveSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintSWInner(c,m,q,n,r,y,Oa,A,Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),w.paintSEInner(c,m,q,n,r,y,Na,A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),w.paintLeftInner(c,
+m,q,n,r,y,Oa,A,Q,va,xa),c.close(),c.fillAndStroke())):"frame"!=da?(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),"double"==da&&(w.moveNEInner(c,m,q,n,r,y,Ma,A,Q,sa),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra)),c.stroke()):(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.lineNEInner(c,m,q,n,r,y,Ma,A,Q,sa),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),c.close(),c.fillAndStroke()):"frame"!=da?(c.begin(),w.moveNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,
+r,y,Na,A,va),"double"==da&&(w.moveSEInner(c,m,q,n,r,y,Na,A,Q,va),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa)),c.stroke()):(c.begin(),w.moveNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.lineSEInner(c,m,q,n,r,y,Na,A,Q,va),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),c.close(),c.fillAndStroke()):"frame"!=da?(c.begin(),w.moveSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),"double"==da&&(w.moveSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va)),c.stroke()):
+(c.begin(),w.moveSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.lineSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),c.close(),c.fillAndStroke()):"frame"!=da?(c.begin(),w.moveSW(c,m,q,n,r,y,Ha,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),"double"==da&&(w.moveNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa)),c.stroke()):(c.begin(),w.moveSW(c,m,q,n,r,y,Ha,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.lineNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa),w.paintLeftInner(c,
+m,q,n,r,y,Oa,A,Q,va,xa),c.close(),c.fillAndStroke());c.begin();w.paintFolds(c,m,q,n,r,y,Ha,Ma,Na,Oa,A,ra,sa,va,xa);c.stroke()};ka.prototype.moveNW=function(c,m,q,n,r,w,y,I,A){"square"==y||"default"==y&&"square"==w||!A?c.moveTo(0,0):c.moveTo(0,I)};ka.prototype.moveNE=function(c,m,q,n,r,w,y,I,A){"square"==y||"default"==y&&"square"==w||!A?c.moveTo(n,0):c.moveTo(n-I,0)};ka.prototype.moveSE=function(c,m,q,n,r,w,y,I,A){"square"==y||"default"==y&&"square"==w||!A?c.moveTo(n,r):c.moveTo(n,r-I)};ka.prototype.moveSW=
+function(c,m,q,n,r,w,y,I,A){"square"==y||"default"==y&&"square"==w||!A?c.moveTo(0,r):c.moveTo(I,r)};ka.prototype.paintNW=function(c,m,q,n,r,w,y,I,A){if(A)if("rounded"==y||"default"==y&&"rounded"==w||"invRound"==y||"default"==y&&"invRound"==w){m=0;if("rounded"==y||"default"==y&&"rounded"==w)m=1;c.arcTo(I,I,0,0,m,I,0)}else("snip"==y||"default"==y&&"snip"==w||"fold"==y||"default"==y&&"fold"==w)&&c.lineTo(I,0);else c.lineTo(0,0)};ka.prototype.paintTop=function(c,m,q,n,r,w,y,I,A){"square"==y||"default"==
+y&&"square"==w||!A?c.lineTo(n,0):c.lineTo(n-I,0)};ka.prototype.paintNE=function(c,m,q,n,r,w,y,I,A){if(A)if("rounded"==y||"default"==y&&"rounded"==w||"invRound"==y||"default"==y&&"invRound"==w){m=0;if("rounded"==y||"default"==y&&"rounded"==w)m=1;c.arcTo(I,I,0,0,m,n,I)}else("snip"==y||"default"==y&&"snip"==w||"fold"==y||"default"==y&&"fold"==w)&&c.lineTo(n,I);else c.lineTo(n,0)};ka.prototype.paintRight=function(c,m,q,n,r,w,y,I,A){"square"==y||"default"==y&&"square"==w||!A?c.lineTo(n,r):c.lineTo(n,r-
+I)};ka.prototype.paintLeft=function(c,m,q,n,r,w,y,I,A){"square"==y||"default"==y&&"square"==w||!A?c.lineTo(0,0):c.lineTo(0,I)};ka.prototype.paintSE=function(c,m,q,n,r,w,y,I,A){if(A)if("rounded"==y||"default"==y&&"rounded"==w||"invRound"==y||"default"==y&&"invRound"==w){m=0;if("rounded"==y||"default"==y&&"rounded"==w)m=1;c.arcTo(I,I,0,0,m,n-I,r)}else("snip"==y||"default"==y&&"snip"==w||"fold"==y||"default"==y&&"fold"==w)&&c.lineTo(n-I,r);else c.lineTo(n,r)};ka.prototype.paintBottom=function(c,m,q,
+n,r,w,y,I,A){"square"==y||"default"==y&&"square"==w||!A?c.lineTo(0,r):c.lineTo(I,r)};ka.prototype.paintSW=function(c,m,q,n,r,w,y,I,A){if(A)if("rounded"==y||"default"==y&&"rounded"==w||"invRound"==y||"default"==y&&"invRound"==w){m=0;if("rounded"==y||"default"==y&&"rounded"==w)m=1;c.arcTo(I,I,0,0,m,0,r-I)}else("snip"==y||"default"==y&&"snip"==w||"fold"==y||"default"==y&&"fold"==w)&&c.lineTo(0,r-I);else c.lineTo(0,r)};ka.prototype.paintNWInner=function(c,m,q,n,r,w,y,I,A){if("rounded"==y||"default"==
+y&&"rounded"==w)c.arcTo(I-.5*A,I-.5*A,0,0,0,A,.5*A+I);else if("invRound"==y||"default"==y&&"invRound"==w)c.arcTo(I+A,I+A,0,0,1,A,A+I);else if("snip"==y||"default"==y&&"snip"==w)c.lineTo(A,.5*A+I);else if("fold"==y||"default"==y&&"fold"==w)c.lineTo(A+I,A+I),c.lineTo(A,A+I)};ka.prototype.paintTopInner=function(c,m,q,n,r,w,y,I,A,da,Q){da||Q?!da&&Q?c.lineTo(0,A):da&&!Q?c.lineTo(A,0):da?"square"==y||"default"==y&&"square"==w?c.lineTo(A,A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==
+y&&"snip"==w?c.lineTo(I+.5*A,A):c.lineTo(I+A,A):c.lineTo(0,A):c.lineTo(0,0)};ka.prototype.paintNEInner=function(c,m,q,n,r,w,y,I,A){if("rounded"==y||"default"==y&&"rounded"==w)c.arcTo(I-.5*A,I-.5*A,0,0,0,n-I-.5*A,A);else if("invRound"==y||"default"==y&&"invRound"==w)c.arcTo(I+A,I+A,0,0,1,n-I-A,A);else if("snip"==y||"default"==y&&"snip"==w)c.lineTo(n-I-.5*A,A);else if("fold"==y||"default"==y&&"fold"==w)c.lineTo(n-I-A,I+A),c.lineTo(n-I-A,A)};ka.prototype.paintRightInner=function(c,m,q,n,r,w,y,I,A,da,
+Q){da||Q?!da&&Q?c.lineTo(n-A,0):da&&!Q?c.lineTo(n,A):da?"square"==y||"default"==y&&"square"==w?c.lineTo(n-A,A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.lineTo(n-A,I+.5*A):c.lineTo(n-A,I+A):c.lineTo(n-A,0):c.lineTo(n,0)};ka.prototype.paintLeftInner=function(c,m,q,n,r,w,y,I,A,da,Q){da||Q?!da&&Q?c.lineTo(A,r):da&&!Q?c.lineTo(0,r-A):da?"square"==y||"default"==y&&"square"==w?c.lineTo(A,r-A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==
+w?c.lineTo(A,r-I-.5*A):c.lineTo(A,r-I-A):c.lineTo(A,r):c.lineTo(0,r)};ka.prototype.paintSEInner=function(c,m,q,n,r,w,y,I,A){if("rounded"==y||"default"==y&&"rounded"==w)c.arcTo(I-.5*A,I-.5*A,0,0,0,n-A,r-I-.5*A);else if("invRound"==y||"default"==y&&"invRound"==w)c.arcTo(I+A,I+A,0,0,1,n-A,r-I-A);else if("snip"==y||"default"==y&&"snip"==w)c.lineTo(n-A,r-I-.5*A);else if("fold"==y||"default"==y&&"fold"==w)c.lineTo(n-I-A,r-I-A),c.lineTo(n-A,r-I-A)};ka.prototype.paintBottomInner=function(c,m,q,n,r,w,y,I,
+A,da,Q){da||Q?!da&&Q?c.lineTo(n,r-A):da&&!Q?c.lineTo(n-A,r):"square"==y||"default"==y&&"square"==w||!da?c.lineTo(n-A,r-A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.lineTo(n-I-.5*A,r-A):c.lineTo(n-I-A,r-A):c.lineTo(n,r)};ka.prototype.paintSWInner=function(c,m,q,n,r,w,y,I,A,da){if(!da)c.lineTo(A,r);else if("square"==y||"default"==y&&"square"==w)c.lineTo(A,r-A);else if("rounded"==y||"default"==y&&"rounded"==w)c.arcTo(I-.5*A,I-.5*A,0,0,0,I+.5*A,r-A);else if("invRound"==
+y||"default"==y&&"invRound"==w)c.arcTo(I+A,I+A,0,0,1,I+A,r-A);else if("snip"==y||"default"==y&&"snip"==w)c.lineTo(I+.5*A,r-A);else if("fold"==y||"default"==y&&"fold"==w)c.lineTo(A+I,r-I-A),c.lineTo(A+I,r-A)};ka.prototype.moveSWInner=function(c,m,q,n,r,w,y,I,A,da){da?"square"==y||"default"==y&&"square"==w?c.moveTo(A,r-A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.moveTo(A,r-I-.5*A):("invRound"==y||"default"==y&&"invRound"==w||"fold"==y||"default"==y&&"fold"==w)&&
+c.moveTo(A,r-I-A):c.moveTo(0,r-A)};ka.prototype.lineSWInner=function(c,m,q,n,r,w,y,I,A,da){da?"square"==y||"default"==y&&"square"==w?c.lineTo(A,r-A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.lineTo(A,r-I-.5*A):("invRound"==y||"default"==y&&"invRound"==w||"fold"==y||"default"==y&&"fold"==w)&&c.lineTo(A,r-I-A):c.lineTo(0,r-A)};ka.prototype.moveSEInner=function(c,m,q,n,r,w,y,I,A,da){da?"square"==y||"default"==y&&"square"==w?c.moveTo(n-A,r-A):"rounded"==y||"default"==
+y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.moveTo(n-A,r-I-.5*A):("invRound"==y||"default"==y&&"invRound"==w||"fold"==y||"default"==y&&"fold"==w)&&c.moveTo(n-A,r-I-A):c.moveTo(n-A,r)};ka.prototype.lineSEInner=function(c,m,q,n,r,w,y,I,A,da){da?"square"==y||"default"==y&&"square"==w?c.lineTo(n-A,r-A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.lineTo(n-A,r-I-.5*A):("invRound"==y||"default"==y&&"invRound"==w||"fold"==y||"default"==y&&"fold"==w)&&c.lineTo(n-
+A,r-I-A):c.lineTo(n-A,r)};ka.prototype.moveNEInner=function(c,m,q,n,r,w,y,I,A,da){da?"square"==y||"default"==y&&"square"==w||da?c.moveTo(n-A,A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.moveTo(n-A,I+.5*A):("invRound"==y||"default"==y&&"invRound"==w||"fold"==y||"default"==y&&"fold"==w)&&c.moveTo(n-A,I+A):c.moveTo(n,A)};ka.prototype.lineNEInner=function(c,m,q,n,r,w,y,I,A,da){da?"square"==y||"default"==y&&"square"==w||da?c.lineTo(n-A,A):"rounded"==y||"default"==y&&
+"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.lineTo(n-A,I+.5*A):("invRound"==y||"default"==y&&"invRound"==w||"fold"==y||"default"==y&&"fold"==w)&&c.lineTo(n-A,I+A):c.lineTo(n,A)};ka.prototype.moveNWInner=function(c,m,q,n,r,w,y,I,A,da,Q){da||Q?!da&&Q?c.moveTo(A,0):da&&!Q?c.moveTo(0,A):"square"==y||"default"==y&&"square"==w?c.moveTo(A,A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.moveTo(A,I+.5*A):("invRound"==y||"default"==y&&"invRound"==w||"fold"==y||"default"==
+y&&"fold"==w)&&c.moveTo(A,I+A):c.moveTo(0,0)};ka.prototype.lineNWInner=function(c,m,q,n,r,w,y,I,A,da,Q){da||Q?!da&&Q?c.lineTo(A,0):da&&!Q?c.lineTo(0,A):"square"==y||"default"==y&&"square"==w?c.lineTo(A,A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.lineTo(A,I+.5*A):("invRound"==y||"default"==y&&"invRound"==w||"fold"==y||"default"==y&&"fold"==w)&&c.lineTo(A,I+A):c.lineTo(0,0)};ka.prototype.paintFolds=function(c,m,q,n,r,w,y,I,A,da,Q,Da,Ta,Ia,ra){if("fold"==w||"fold"==
+y||"fold"==I||"fold"==A||"fold"==da)("fold"==y||"default"==y&&"fold"==w)&&Da&&ra&&(c.moveTo(0,Q),c.lineTo(Q,Q),c.lineTo(Q,0)),("fold"==I||"default"==I&&"fold"==w)&&Da&&Ta&&(c.moveTo(n-Q,0),c.lineTo(n-Q,Q),c.lineTo(n,Q)),("fold"==A||"default"==A&&"fold"==w)&&Ia&&Ta&&(c.moveTo(n-Q,r),c.lineTo(n-Q,r-Q),c.lineTo(n,r-Q)),("fold"==da||"default"==da&&"fold"==w)&&Ia&&ra&&(c.moveTo(0,r-Q),c.lineTo(Q,r-Q),c.lineTo(Q,r))};mxCellRenderer.registerShape(ka.prototype.cst.RECT2,ka);ka.prototype.constraints=null;
+mxUtils.extend(Ba,mxConnector);Ba.prototype.origPaintEdgeShape=Ba.prototype.paintEdgeShape;Ba.prototype.paintEdgeShape=function(c,m){for(var q=[],n=0;n<m.length;n++)q.push(mxUtils.clone(m[n]));n=c.state.dashed;var r=c.state.fixDash;Ba.prototype.origPaintEdgeShape.apply(this,[c,q]);3<=c.state.strokeWidth&&(q=mxUtils.getValue(this.style,"fillColor",null),null!=q&&(c.setStrokeColor(q),c.setStrokeWidth(c.state.strokeWidth-2),c.setDashed(n,r),Ba.prototype.origPaintEdgeShape.apply(this,[c,m])))};mxCellRenderer.registerShape("filledEdge",
+Ba);mxUtils.extend(Ea,mxConnector);Ea.prototype.defaultWidth=4;Ea.prototype.getEdgeWidth=function(){return Math.max(0,mxUtils.getNumber(this.style,"width",this.defaultWidth))};Ea.prototype.getFlowAnimationPath=function(){return mxShape.prototype.getFlowAnimationPath.call(this,2)};Ea.prototype.origPaintEdgeShape=Ea.prototype.paintEdgeShape;Ea.prototype.paintEdgeShape=function(c,m){for(var q=[],n=0;n<m.length;n++)q.push(mxUtils.clone(m[n]));n=c.state.dashed;var r=c.state.fixDash,w=this.getEdgeWidth();
+c.setStrokeWidth(w+2*this.strokewidth);c.setDashed(!1);Ea.prototype.origPaintEdgeShape.apply(this,[c,q]);q=mxUtils.getValue(this.style,"fillColor",null);null!=q&&(c.setStrokeWidth(w),c.setStrokeColor(q),c.setDashed(n,r),Ea.prototype.origPaintEdgeShape.apply(this,[c,m]))};mxCellRenderer.registerShape("pipe",Ea);mxUtils.extend(La,mxRectangleShape);La.prototype.size=10;La.prototype.isRoundable=function(){return!0};La.prototype.paintVertexShape=function(c,m,q,n,r){c.translate(m,q);m=mxUtils.getValue(this.style,
+mxConstants.STYLE_FILLCOLOR,null);null!=m&&m!=mxConstants.NONE&&(c.setStrokeColor("none"),c.begin(),c.rect(0,0,n,r),c.fillAndStroke(),c.setStrokeColor(this.stroke));var w=Math.max(5,parseFloat(mxUtils.getValue(this.style,"size",this.size)));m=r/2;q=this.strokewidth;q=this.isRounded?q/2:q;r-=q;w=Math.max(1,Math.round(n/w)-1);var y=n/(w+1),I=y/2;c.begin();c.moveTo(0,m);if(this.isRounded){c.curveTo(.4*I,m-.4*(m-q),.6*I,q,I,q);for(var A=0;A<w;A++){var da=I+A*y,Q=da+y,Da=0==A%2?r:q;c.curveTo(da+.4*y,0==
+A%2?q:r,Q-.4*y,Da,Q,Da)}r=0==w%2?q:r;c.curveTo(I+w*y+.4*I,r,n-.4*I,m-(r==q?1:-1)*(m-q)*.4,n,m)}else{c.lineTo(I,q);for(A=0;A<w;A++)Q=I+(A+1)*y,Da=0==A%2?r:q,c.lineTo(Q,Da);c.lineTo(n,m)}c.stroke()};mxCellRenderer.registerShape("zigzag",La);"undefined"!==typeof StyleFormatPanel&&function(){var c=StyleFormatPanel.prototype.getCustomColors;StyleFormatPanel.prototype.getCustomColors=function(){var m=this.editorUi.getSelectionState(),q=c.apply(this,arguments);"umlFrame"==m.style.shape&&q.push({title:mxResources.get("laneColor"),
+key:"swimlaneFillColor",defaultValue:"default"});return q}}();mxMarker.addMarker("dash",function(c,m,q,n,r,w,y,I,A,da){var Q=r*(y+A+1),Da=w*(y+A+1);return function(){c.begin();c.moveTo(n.x-Q/2-Da/2,n.y-Da/2+Q/2);c.lineTo(n.x+Da/2-3*Q/2,n.y-3*Da/2-Q/2);c.stroke()}});mxMarker.addMarker("box",function(c,m,q,n,r,w,y,I,A,da){var Q=r*(y+A+1),Da=w*(y+A+1),Ta=n.x+Q/2,Ia=n.y+Da/2;n.x-=Q;n.y-=Da;return function(){c.begin();c.moveTo(Ta-Q/2-Da/2,Ia-Da/2+Q/2);c.lineTo(Ta-Q/2+Da/2,Ia-Da/2-Q/2);c.lineTo(Ta+Da/2-
+3*Q/2,Ia-3*Da/2-Q/2);c.lineTo(Ta-Da/2-3*Q/2,Ia-3*Da/2+Q/2);c.close();da?c.fillAndStroke():c.stroke()}});mxMarker.addMarker("cross",function(c,m,q,n,r,w,y,I,A,da){var Q=r*(y+A+1),Da=w*(y+A+1);return function(){c.begin();c.moveTo(n.x-Q/2-Da/2,n.y-Da/2+Q/2);c.lineTo(n.x+Da/2-3*Q/2,n.y-3*Da/2-Q/2);c.moveTo(n.x-Q/2+Da/2,n.y-Da/2-Q/2);c.lineTo(n.x-Da/2-3*Q/2,n.y-3*Da/2+Q/2);c.stroke()}});mxMarker.addMarker("circle",Sa);mxMarker.addMarker("circlePlus",function(c,m,q,n,r,w,y,I,A,da){var Q=n.clone(),Da=Sa.apply(this,
+arguments),Ta=r*(y+2*A),Ia=w*(y+2*A);return function(){Da.apply(this,arguments);c.begin();c.moveTo(Q.x-r*A,Q.y-w*A);c.lineTo(Q.x-2*Ta+r*A,Q.y-2*Ia+w*A);c.moveTo(Q.x-Ta-Ia+w*A,Q.y-Ia+Ta-r*A);c.lineTo(Q.x+Ia-Ta-w*A,Q.y-Ia-Ta+r*A);c.stroke()}});mxMarker.addMarker("halfCircle",function(c,m,q,n,r,w,y,I,A,da){var Q=r*(y+A+1),Da=w*(y+A+1),Ta=n.clone();n.x-=Q;n.y-=Da;return function(){c.begin();c.moveTo(Ta.x-Da,Ta.y+Q);c.quadTo(n.x-Da,n.y+Q,n.x,n.y);c.quadTo(n.x+Da,n.y-Q,Ta.x+Da,Ta.y-Q);c.stroke()}});mxMarker.addMarker("async",
+function(c,m,q,n,r,w,y,I,A,da){m=r*A*1.118;q=w*A*1.118;r*=y+A;w*=y+A;var Q=n.clone();Q.x-=m;Q.y-=q;n.x+=-r-m;n.y+=-w-q;return function(){c.begin();c.moveTo(Q.x,Q.y);I?c.lineTo(Q.x-r-w/2,Q.y-w+r/2):c.lineTo(Q.x+w/2-r,Q.y-w-r/2);c.lineTo(Q.x-r,Q.y-w);c.close();da?c.fillAndStroke():c.stroke()}});mxMarker.addMarker("openAsync",function(c){c=null!=c?c:2;return function(m,q,n,r,w,y,I,A,da,Q){w*=I+da;y*=I+da;var Da=r.clone();return function(){m.begin();m.moveTo(Da.x,Da.y);A?m.lineTo(Da.x-w-y/c,Da.y-y+w/
+c):m.lineTo(Da.x+y/c-w,Da.y-y-w/c);m.stroke()}}}(2));mxUtils.extend(Ra,mxRectangleShape);Ra.prototype.arcStartY=25;Ra.prototype.arcMidY=-25;Ra.prototype.arcEndY=25;Ra.prototype.paintForeground=function(c,m,q,n,r){mxRectangleShape.prototype.paintForeground.apply(this,arguments);if(null!=this.state){var w=this.state.view.graph;if(null==w.cellEditor||w.cellEditor.editingCell!=this.state.cell)if(w=w.convertValueToString(this.state.cell),null!=w&&0!=w.length){var y=parseFloat(mxUtils.getValue(this.style,
+"arcStartY",this.arcStartY)),I=parseFloat(mxUtils.getValue(this.style,"arcMidY",this.arcMidY)),A=parseFloat(mxUtils.getValue(this.style,"arcEndY",this.arcEndY)),da=mxUtils.getValue(this.style,"curveType","round");if(null!=c.root&&"function"===typeof c.getBaseUrl){null!=this._curvedTextGroup&&null!=this._curvedTextGroup.parentNode&&this._curvedTextGroup.parentNode.removeChild(this._curvedTextGroup);this._curvedTextGroup=null;c.translate(m,q);var Q=c.state,Da=parseFloat(mxUtils.getValue(this.style,
+mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE)),Ta=Da/2,Ia=(y+A)/2,ra=Math.max(Math.abs(Ra.prototype.arcMidY),Math.min(Ia,r-Ia));I=Math.max(-ra,Math.min(ra,I));var sa=Ia+I;I=Math.min(y,A,sa);ra=Math.max(y,A,sa);Ia=ra-I;var va=mxUtils.getValue(this.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE);this._curveYOffset=Ia=va==mxConstants.ALIGN_TOP?Ta-I:va==mxConstants.ALIGN_BOTTOM?r-Ta-ra:(r-Ia)/2-I;va=n-Ta;I=(Ta+Q.dx)*Q.scale;y=(y+Ia+Q.dy)*Q.scale;ra=((Ta+va)/2+Q.dx)*Q.scale;
+sa=(sa+Ia+Q.dy)*Q.scale;Ta=(va+Q.dx)*Q.scale;A=(A+Ia+Q.dy)*Q.scale;"round"==da?(va=Math.sqrt((Ta-I)*(Ta-I)+(A-y)*(A-y)),da=(I+Ta)/2,Ia=(y+A)/2,da=Math.sqrt((ra-da)*(ra-da)+(sa-Ia)*(sa-Ia)),.5>da?(da="M "+c.format(I)+" "+c.format(y)+" L "+c.format(Ta)+" "+c.format(A),I=va):(va/=2,Ia=va*va/(2*da)+da/2,sa=0<(Ta-I)*(sa-y)-(A-y)*(ra-I)?0:1,ra=da>va?1:0,da="M "+c.format(I)+" "+c.format(y)+" A "+c.format(Ia)+" "+c.format(Ia)+" 0 "+ra+" "+sa+" "+c.format(Ta)+" "+c.format(A),I=2*Math.asin(Math.min(1,va/Ia)),
+ra&&(I=2*Math.PI-I),I*=Ia)):(da="M "+c.format(I)+" "+c.format(y)+" Q "+c.format(ra)+" "+c.format(sa)+" "+c.format(Ta)+" "+c.format(A),Ia=ra-I,va=sa-y,ra=Ta-ra,sa=A-sa,I=Ta-I,y=A-y,I=(Math.sqrt(Ia*Ia+va*va)+Math.sqrt(ra*ra+sa*sa)+Math.sqrt(I*I+y*y))/2);A=(c.idPrefix||"")+"ctp-"+mxObjectIdentity.get(this);ra=(y=!mxClient.IS_CHROMEAPP&&c.root.ownerDocument==document)?c.getBaseUrl().replace(/([\(\)])/g,"\\$1"):"";Ta=c.createElement("g");sa=Q.transform||"";0<sa.length&&Ta.setAttribute("transform",sa);
+1>Q.alpha&&Ta.setAttribute("opacity",Q.alpha);sa=c.createElement("defs");Ia=c.createElement("path");Ia.setAttribute("id",A);Ia.setAttribute("d",da);sa.appendChild(Ia);Ta.appendChild(sa);da=c.createElement("text");Ia=mxUtils.getValue(this.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY);va=mxUtils.getValue(this.style,mxConstants.STYLE_FONTCOLOR,"#000000");sa=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSTYLE,0);da.setAttribute("font-size",Da*Q.scale+"px");da.setAttribute("font-family",
+mxUtils.parseCssFontFamily(Ia));da.setAttribute("fill",va);(sa&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&da.setAttribute("font-weight","bold");(sa&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&da.setAttribute("font-style","italic");Q=[];(sa&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&Q.push("underline");(sa&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&Q.push("line-through");0<Q.length&&da.setAttribute("text-decoration",Q.join(" "));Da=mxUtils.getValue(this.style,
+mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER);sa="middle";Q="50%";Da==mxConstants.ALIGN_LEFT?(sa="start",Q="0%"):Da==mxConstants.ALIGN_RIGHT&&(sa="end",Q="100%");da.setAttribute("text-anchor",sa);da.setAttribute("dominant-baseline","central");Da=c.createElement("textPath");Da.setAttribute("startOffset",Q);Q=(y?ra:"")+"#"+A;Da.setAttribute("href",Q);y&&Da.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",Q);Da.setAttribute("textLength",I);Da.setAttribute("lengthAdjust","spacing");mxUtils.write(Da,
+w);da.appendChild(Da);Ta.appendChild(da);c.root.appendChild(Ta);this._curvedTextGroup=Ta}else c.text(m+n/2,q+r/2,0,0,w,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,!1,"",null,!1,0)}}};Ra.prototype.destroy=function(){null!=this._curvedTextGroup&&null!=this._curvedTextGroup.parentNode&&this._curvedTextGroup.parentNode.removeChild(this._curvedTextGroup);this._curvedTextGroup=null;mxRectangleShape.prototype.destroy.apply(this,arguments)};mxCellRenderer.registerShape("curvedText",Ra);if("undefined"!==
+typeof mxVertexHandler){var vb=function(c,m,q){return kb(c,["width"],m,function(n,r,w,y,I){I=c.shape.getEdgeWidth()*c.view.scale+q;return new mxPoint(y.x+r*n/4+w*I/2,y.y+w*n/4-r*I/2)},function(n,r,w,y,I,A){n=Math.sqrt(mxUtils.ptSegDistSq(y.x,y.y,I.x,I.y,A.x,A.y));c.style.width=Math.round(Math.round(2*n)/c.view.scale-q)})},kb=function(c,m,q,n,r){return Za(c,m,function(w){var y=c.absolutePoints;if(null!=y&&0<y.length){var I=y.length-1;w=c.view.translate;var A=c.view.scale,da=q?y[0]:y[I];y=q?y[1]:y[I-
+1];I=y.x-da.x;var Q=y.y-da.y,Da=Math.sqrt(I*I+Q*Q);da=n.call(this,Da,I/Da,Q/Da,da,y);return new mxPoint(da.x/A-w.x,da.y/A-w.y)}return null},function(w,y,I){var A=c.absolutePoints,da=A.length-1;w=c.view.translate;var Q=c.view.scale,Da=q?A[0]:A[da];A=q?A[1]:A[da-1];da=A.x-Da.x;var Ta=A.y-Da.y,Ia=Math.sqrt(da*da+Ta*Ta);y.x=(y.x+w.x)*Q;y.y=(y.y+w.y)*Q;r.call(this,Ia,da/Ia,Ta/Ia,Da,A,y,I)})},rb=function(c,m){return function(q){return[kb(q,["startWidth"],!0,function(n,r,w,y,I){I=mxUtils.getNumber(q.style,
+"startWidth",c)*q.view.scale+m;return new mxPoint(y.x+r*n/4+w*I/2,y.y+w*n/4-r*I/2)},function(n,r,w,y,I,A){n=Math.sqrt(mxUtils.ptSegDistSq(y.x,y.y,I.x,I.y,A.x,A.y));q.style.startWidth=Math.round(2*n)/q.view.scale-m})]}},sb=function(c){return function(m){return[Za(m,["arrowWidth","arrowSize"],function(q){var n=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"arrowWidth",fb.prototype.arrowWidth))),r=Math.max(0,Math.min(c,mxUtils.getValue(this.state.style,"arrowSize",fb.prototype.arrowSize)));
+return new mxPoint(q.x+(1-r)*q.width,q.y+(1-n)*q.height/2)},function(q,n){this.state.style.arrowWidth=Math.max(0,Math.min(1,Math.abs(q.y+q.height/2-n.y)/q.height*2));this.state.style.arrowSize=Math.max(0,Math.min(c,(q.x+q.width-n.x)/q.width))})]}},Ab=function(c){return function(m){return[Za(m,["size"],function(q){var n=Math.max(0,Math.min(.5*q.height,parseFloat(mxUtils.getValue(this.state.style,"size",c))));return new mxPoint(q.x,q.y+n)},function(q,n){this.state.style.size=Math.max(0,n.y-q.y)},!0)]}},
+mb=function(c,m,q){return function(n){var r=[Za(n,["size"],function(w){var y=Math.max(0,Math.min(w.width,Math.min(w.height,parseFloat(mxUtils.getValue(this.state.style,"size",m)))))*c;return new mxPoint(w.x+y,w.y+y)},function(w,y){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(w.width,y.x-w.x),Math.min(w.height,y.y-w.y)))/c)},!1)];q&&mxUtils.getValue(n.style,mxConstants.STYLE_ROUNDED,!1)&&r.push(pb(n));return r}},wb=function(c,m,q,n,r){q=null!=q?q:.5;return function(w){var y=[Za(w,
+["size"],function(I){var A=null!=r?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,da=parseFloat(mxUtils.getValue(this.state.style,"size",A?r:c));return new mxPoint(I.x+Math.max(0,Math.min(.5*I.width,da*(A?1:I.width))),I.getCenterY())},function(I,A,da){I=null!=r&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?A.x-I.x:Math.max(0,Math.min(q,(A.x-I.x)/I.width));this.state.style.size=I},!1,n)];m&&mxUtils.getValue(w.style,mxConstants.STYLE_ROUNDED,!1)&&y.push(pb(w));return y}},Bb=
+function(c,m,q){c=null!=c?c:.5;return function(n){var r=[Za(n,["size"],function(w){var y=null!=q?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,I=Math.max(0,parseFloat(mxUtils.getValue(this.state.style,"size",y?q:m)));return new mxPoint(w.x+Math.min(.75*w.width*c,I*(y?.75:.75*w.width)),w.y+w.height/4)},function(w,y){w=null!=q&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?y.x-w.x:Math.max(0,Math.min(c,(y.x-w.x)/w.width*.75));this.state.style.size=w},!1,!0)];mxUtils.getValue(n.style,
+mxConstants.STYLE_ROUNDED,!1)&&r.push(pb(n));return r}},xb=function(){return function(c){var m=[];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(pb(c));return m}},pb=function(c,m){return Za(c,[mxConstants.STYLE_ARCSIZE],function(q){var n=null!=m?m:q.height/8;if("1"==mxUtils.getValue(c.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)){var r=mxUtils.getValue(c.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;return new mxPoint(q.x+q.width-Math.min(q.width/2,r),q.y+n)}r=Math.max(0,
+parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)))/100;return new mxPoint(q.x+q.width-Math.min(Math.max(q.width/2,q.height/2),Math.min(q.width,q.height)*r),q.y+n)},function(q,n,r){"1"==mxUtils.getValue(c.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)?this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.max(0,Math.min(q.width,2*(q.x+q.width-n.x)))):this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.min(50,Math.max(0,100*(q.width-
+n.x+q.x)/Math.min(q.width,q.height))))})},Za=function(c,m,q,n,r,w,y){var I=new mxHandle(c,null,mxVertexHandler.prototype.secondaryHandleImage);I.execute=function(da){for(var Q=0;Q<m.length;Q++)this.copyStyle(m[Q]);y&&y(da)};I.getPosition=q;I.setPosition=n;I.ignoreGrid=null!=r?r:!0;if(w){var A=I.positionChanged;I.positionChanged=function(){A.apply(this,arguments);c.view.invalidate(this.state.cell);c.view.validate()}}return I},ub={link:function(c){return[vb(c,!0,10),vb(c,!1,10)]},pipe:function(c){return[vb(c,
+!0,10),vb(c,!1,10)]},flexArrow:function(c){var m=c.view.graph.gridSize/c.view.scale,q=[];mxUtils.getValue(c.style,mxConstants.STYLE_STARTARROW,mxConstants.NONE)!=mxConstants.NONE&&(q.push(kb(c,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(n,r,w,y,I){n=(c.shape.getEdgeWidth()-c.shape.strokewidth)*c.view.scale;I=3*mxUtils.getNumber(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(y.x+r*(I+c.shape.strokewidth*c.view.scale)+w*
+n/2,y.y+w*(I+c.shape.strokewidth*c.view.scale)-r*n/2)},function(n,r,w,y,I,A,da){n=Math.sqrt(mxUtils.ptSegDistSq(y.x,y.y,I.x,I.y,A.x,A.y));r=mxUtils.ptLineDist(y.x,y.y,y.x+w,y.y-r,A.x,A.y);c.style[mxConstants.STYLE_STARTSIZE]=Math.round((r-c.shape.strokewidth)/3/c.view.scale);c.style.width=Math.round(2*n/c.view.scale);if(mxEvent.isShiftDown(da.getEvent())||mxEvent.isControlDown(da.getEvent()))c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE];mxEvent.isAltDown(da.getEvent())||
+Math.abs(parseFloat(c.style[mxConstants.STYLE_STARTSIZE])-parseFloat(c.style[mxConstants.STYLE_ENDSIZE]))<m/6&&(c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE])})),q.push(kb(c,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(n,r,w,y,I){n=(c.shape.getStartArrowWidth()-c.shape.strokewidth)*c.view.scale;I=3*mxUtils.getNumber(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(y.x+r*(I+c.shape.strokewidth*
+c.view.scale)+w*n/2,y.y+w*(I+c.shape.strokewidth*c.view.scale)-r*n/2)},function(n,r,w,y,I,A,da){n=Math.sqrt(mxUtils.ptSegDistSq(y.x,y.y,I.x,I.y,A.x,A.y));r=mxUtils.ptLineDist(y.x,y.y,y.x+w,y.y-r,A.x,A.y);c.style[mxConstants.STYLE_STARTSIZE]=Math.round((r-c.shape.strokewidth)/3/c.view.scale);c.style.startWidth=Math.round(Math.max(0,Math.round(2*n)-c.shape.getEdgeWidth())/c.view.scale);if(mxEvent.isShiftDown(da.getEvent())||mxEvent.isControlDown(da.getEvent()))c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE],
+c.style.endWidth=c.style.startWidth;mxEvent.isAltDown(da.getEvent())||(Math.abs(parseFloat(c.style[mxConstants.STYLE_STARTSIZE])-parseFloat(c.style[mxConstants.STYLE_ENDSIZE]))<m/6&&(c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE]),Math.abs(parseFloat(c.style.startWidth)-parseFloat(c.style.endWidth))<m&&(c.style.startWidth=c.style.endWidth))})));mxUtils.getValue(c.style,mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE&&(q.push(kb(c,["width",mxConstants.STYLE_STARTSIZE,
+mxConstants.STYLE_ENDSIZE],!1,function(n,r,w,y,I){n=(c.shape.getEdgeWidth()-c.shape.strokewidth)*c.view.scale;I=3*mxUtils.getNumber(c.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(y.x+r*(I+c.shape.strokewidth*c.view.scale)-w*n/2,y.y+w*(I+c.shape.strokewidth*c.view.scale)+r*n/2)},function(n,r,w,y,I,A,da){n=Math.sqrt(mxUtils.ptSegDistSq(y.x,y.y,I.x,I.y,A.x,A.y));r=mxUtils.ptLineDist(y.x,y.y,y.x+w,y.y-r,A.x,A.y);c.style[mxConstants.STYLE_ENDSIZE]=Math.round((r-
+c.shape.strokewidth)/3/c.view.scale);c.style.width=Math.round(2*n/c.view.scale);if(mxEvent.isShiftDown(da.getEvent())||mxEvent.isControlDown(da.getEvent()))c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE];mxEvent.isAltDown(da.getEvent())||Math.abs(parseFloat(c.style[mxConstants.STYLE_ENDSIZE])-parseFloat(c.style[mxConstants.STYLE_STARTSIZE]))<m/6&&(c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE])})),q.push(kb(c,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,
+mxConstants.STYLE_ENDSIZE],!1,function(n,r,w,y,I){n=(c.shape.getEndArrowWidth()-c.shape.strokewidth)*c.view.scale;I=3*mxUtils.getNumber(c.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(y.x+r*(I+c.shape.strokewidth*c.view.scale)-w*n/2,y.y+w*(I+c.shape.strokewidth*c.view.scale)+r*n/2)},function(n,r,w,y,I,A,da){n=Math.sqrt(mxUtils.ptSegDistSq(y.x,y.y,I.x,I.y,A.x,A.y));r=mxUtils.ptLineDist(y.x,y.y,y.x+w,y.y-r,A.x,A.y);c.style[mxConstants.STYLE_ENDSIZE]=Math.round((r-
+c.shape.strokewidth)/3/c.view.scale);c.style.endWidth=Math.round(Math.max(0,Math.round(2*n)-c.shape.getEdgeWidth())/c.view.scale);if(mxEvent.isShiftDown(da.getEvent())||mxEvent.isControlDown(da.getEvent()))c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE],c.style.startWidth=c.style.endWidth;mxEvent.isAltDown(da.getEvent())||(Math.abs(parseFloat(c.style[mxConstants.STYLE_ENDSIZE])-parseFloat(c.style[mxConstants.STYLE_STARTSIZE]))<m/6&&(c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE]),
+Math.abs(parseFloat(c.style.endWidth)-parseFloat(c.style.startWidth))<m&&(c.style.endWidth=c.style.startWidth))})));return q},swimlane:function(c){var m=[];if(mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED)){var q=parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));m.push(pb(c,q/2))}m.push(Za(c,[mxConstants.STYLE_STARTSIZE],function(n){var r=parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));return 1==mxUtils.getValue(c.style,
+mxConstants.STYLE_HORIZONTAL,1)?new mxPoint(n.getCenterX(),n.y+Math.max(0,Math.min(n.height,r))):new mxPoint(n.x+Math.max(0,Math.min(n.width,r)),n.getCenterY())},function(n,r){c.style[mxConstants.STYLE_STARTSIZE]=1==mxUtils.getValue(this.state.style,mxConstants.STYLE_HORIZONTAL,1)?Math.round(Math.max(0,Math.min(n.height,r.y-n.y))):Math.round(Math.max(0,Math.min(n.width,r.x-n.x)))},!1,null,function(n){var r=c.view.graph;if(!mxEvent.isShiftDown(n.getEvent())&&!mxEvent.isControlDown(n.getEvent())&&(r.isTableRow(c.cell)||
+r.isTableCell(c.cell))){n=r.getSwimlaneDirection(c.style);var w=r.model.getParent(c.cell);w=r.model.getChildCells(w,!0);for(var y=[],I=0;I<w.length;I++)w[I]!=c.cell&&r.isSwimlane(w[I])&&r.getSwimlaneDirection(r.getCurrentCellStyle(w[I]))==n&&y.push(w[I]);r.setCellStyles(mxConstants.STYLE_STARTSIZE,c.style[mxConstants.STYLE_STARTSIZE],y)}}));return m},label:xb(),ext:xb(),rectangle:xb(),triangle:xb(),rhombus:xb(),umlLifeline:function(c){return[Za(c,["size"],function(m){var q=Math.max(0,Math.min(m.height,
+parseFloat(mxUtils.getValue(this.state.style,"size",wa.prototype.size))));return new mxPoint(m.getCenterX(),m.y+q)},function(m,q){this.state.style.size=Math.round(Math.max(0,Math.min(m.height,q.y-m.y)))},!1)]},umlFrame:function(c){return[Za(c,["width","height"],function(m){var q=Math.max(S.prototype.corner,Math.min(m.width,mxUtils.getValue(this.state.style,"width",S.prototype.width))),n=Math.max(1.5*S.prototype.corner,Math.min(m.height,mxUtils.getValue(this.state.style,"height",S.prototype.height)));
+return new mxPoint(m.x+q,m.y+n)},function(m,q){this.state.style.width=Math.round(Math.max(S.prototype.corner,Math.min(m.width,q.x-m.x)));this.state.style.height=Math.round(Math.max(1.5*S.prototype.corner,Math.min(m.height,q.y-m.y)))},!1)]},process:function(c){var m=[Za(c,["size"],function(q){var n="0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),r=parseFloat(mxUtils.getValue(this.state.style,"size",ca.prototype.size));return n?new mxPoint(q.x+r,q.y+q.height/4):new mxPoint(q.x+q.width*r,q.y+
+q.height/4)},function(q,n){q="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(.5*q.width,n.x-q.x)):Math.max(0,Math.min(.5,(n.x-q.x)/q.width));this.state.style.size=q},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(pb(c));return m},cross:function(c){return[Za(c,["size"],function(m){var q=Math.min(m.width,m.height);q=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"size",pa.prototype.size)))*q/2;return new mxPoint(m.getCenterX()-q,m.getCenterY()-
+q)},function(m,q){var n=Math.min(m.width,m.height);this.state.style.size=Math.max(0,Math.min(1,Math.min(Math.max(0,m.getCenterY()-q.y)/n*2,Math.max(0,m.getCenterX()-q.x)/n*2)))})]},note:function(c){return[Za(c,["size"],function(m){var q=Math.max(0,Math.min(m.width,Math.min(m.height,parseFloat(mxUtils.getValue(this.state.style,"size",k.prototype.size)))));return new mxPoint(m.x+m.width-q,m.y+q)},function(m,q){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(m.width,m.x+m.width-q.x),Math.min(m.height,
+q.y-m.y))))})]},note2:function(c){return[Za(c,["size"],function(m){var q=Math.max(0,Math.min(m.width,Math.min(m.height,parseFloat(mxUtils.getValue(this.state.style,"size",v.prototype.size)))));return new mxPoint(m.x+m.width-q,m.y+q)},function(m,q){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(m.width,m.x+m.width-q.x),Math.min(m.height,q.y-m.y))))})]},manualInput:function(c){var m=[Za(c,["size"],function(q){var n=Math.max(0,Math.min(q.height,mxUtils.getValue(this.state.style,"size",
+$a.prototype.size)));return new mxPoint(q.x+q.width/4,q.y+3*n/4)},function(q,n){this.state.style.size=Math.round(Math.max(0,Math.min(q.height,4*(n.y-q.y)/3)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(pb(c));return m},dataStorage:function(c){return[Za(c,["size"],function(m){var q="0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),n=parseFloat(mxUtils.getValue(this.state.style,"size",q?hb.prototype.fixedSize:hb.prototype.size));return new mxPoint(m.x+m.width-n*(q?1:
+m.width),m.getCenterY())},function(m,q){m="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(m.width,m.x+m.width-q.x)):Math.max(0,Math.min(1,(m.x+m.width-q.x)/m.width));this.state.style.size=m},!1)]},callout:function(c){var m=[Za(c,["size","position"],function(q){var n=Math.max(0,Math.min(q.height,mxUtils.getValue(this.state.style,"size",V.prototype.size))),r=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",V.prototype.position)));mxUtils.getValue(this.state.style,
+"base",V.prototype.base);return new mxPoint(q.x+r*q.width,q.y+q.height-n)},function(q,n){mxUtils.getValue(this.state.style,"base",V.prototype.base);this.state.style.size=Math.round(Math.max(0,Math.min(q.height,q.y+q.height-n.y)));this.state.style.position=Math.round(100*Math.max(0,Math.min(1,(n.x-q.x)/q.width)))/100},!1),Za(c,["position2"],function(q){var n=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position2",V.prototype.position2)));return new mxPoint(q.x+n*q.width,q.y+q.height)},
+function(q,n){this.state.style.position2=Math.round(100*Math.max(0,Math.min(1,(n.x-q.x)/q.width)))/100},!1),Za(c,["base"],function(q){var n=Math.max(0,Math.min(q.height,mxUtils.getValue(this.state.style,"size",V.prototype.size))),r=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",V.prototype.position))),w=Math.max(0,Math.min(q.width,mxUtils.getValue(this.state.style,"base",V.prototype.base)));return new mxPoint(q.x+Math.min(q.width,r*q.width+w),q.y+q.height-n)},function(q,n){var r=
+Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",V.prototype.position)));this.state.style.base=Math.round(Math.max(0,Math.min(q.width,n.x-q.x-r*q.width)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(pb(c));return m},internalStorage:function(c){var m=[Za(c,["dx","dy"],function(q){var n=Math.max(0,Math.min(q.width,mxUtils.getValue(this.state.style,"dx",ab.prototype.dx))),r=Math.max(0,Math.min(q.height,mxUtils.getValue(this.state.style,"dy",ab.prototype.dy)));
+return new mxPoint(q.x+n,q.y+r)},function(q,n){this.state.style.dx=Math.round(Math.max(0,Math.min(q.width,n.x-q.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(q.height,n.y-q.y)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(pb(c));return m},module:function(c){return[Za(c,["jettyWidth","jettyHeight"],function(m){var q=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,"jettyWidth",Fa.prototype.jettyWidth))),n=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,
+"jettyHeight",Fa.prototype.jettyHeight)));return new mxPoint(m.x+q/2,m.y+2*n)},function(m,q){this.state.style.jettyWidth=Math.round(2*Math.max(0,Math.min(m.width,q.x-m.x)));this.state.style.jettyHeight=Math.round(Math.max(0,Math.min(m.height,q.y-m.y))/2)})]},corner:function(c){return[Za(c,["dx","dy"],function(m){var q=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,"dx",db.prototype.dx))),n=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,"dy",db.prototype.dy)));return new mxPoint(m.x+
+q,m.y+n)},function(m,q){this.state.style.dx=Math.round(Math.max(0,Math.min(m.width,q.x-m.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(m.height,q.y-m.y)))},!1)]},tee:function(c){return[Za(c,["dx","dy"],function(m){var q=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,"dx",jb.prototype.dx))),n=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,"dy",jb.prototype.dy)));return new mxPoint(m.x+(m.width+q)/2,m.y+n)},function(m,q){this.state.style.dx=Math.round(Math.max(0,
+2*Math.min(m.width/2,q.x-m.x-m.width/2)));this.state.style.dy=Math.round(Math.max(0,Math.min(m.height,q.y-m.y)))},!1)]},singleArrow:sb(1),doubleArrow:sb(.5),"mxgraph.arrows2.wedgeArrow":rb(20,20),"mxgraph.arrows2.wedgeArrowDashed":rb(20,20),"mxgraph.arrows2.wedgeArrowDashed2":rb(20,20),folder:function(c){return[Za(c,["tabWidth","tabHeight"],function(m){var q=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,"tabWidth",D.prototype.tabWidth))),n=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,
+"tabHeight",D.prototype.tabHeight)));mxUtils.getValue(this.state.style,"tabPosition",D.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(q=m.width-q);return new mxPoint(m.x+q,m.y+n)},function(m,q){var n=Math.max(0,Math.min(m.width,q.x-m.x));mxUtils.getValue(this.state.style,"tabPosition",D.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(n=m.width-n);this.state.style.tabWidth=Math.round(n);this.state.style.tabHeight=Math.round(Math.max(0,Math.min(m.height,q.y-m.y)))},!1)]},document:function(c){return[Za(c,
+["size"],function(m){var q=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",O.prototype.size))));return new mxPoint(m.x+3*m.width/4,m.y+(1-q)*m.height)},function(m,q){this.state.style.size=Math.max(0,Math.min(1,(m.y+m.height-q.y)/m.height))},!1)]},tape:function(c){return[Za(c,["size"],function(m){var q=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",K.prototype.size))));return new mxPoint(m.getCenterX(),m.y+q*m.height/2)},function(m,q){this.state.style.size=
+Math.max(0,Math.min(1,(q.y-m.y)/m.height*2))},!1)]},isoCube2:function(c){return[Za(c,["isoAngle"],function(m){var q=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.state.style,"isoAngle",t.isoAngle))))*Math.PI/200;return new mxPoint(m.x,m.y+Math.min(m.width*Math.tan(q),.5*m.height))},function(m,q){this.state.style.isoAngle=Math.max(0,50*(q.y-m.y)/m.height)},!0)]},cylinder2:Ab(x.prototype.size),cylinder3:Ab(z.prototype.size),offPageConnector:function(c){return[Za(c,["size"],function(m){var q=
+Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",Aa.prototype.size))));return new mxPoint(m.getCenterX(),m.y+(1-q)*m.height)},function(m,q){this.state.style.size=Math.max(0,Math.min(1,(m.y+m.height-q.y)/m.height))},!1)]},"mxgraph.basic.rect":function(c){var m=[Graph.createHandle(c,["size"],function(q){var n=Math.max(0,Math.min(q.width/2,q.height/2,parseFloat(mxUtils.getValue(this.state.style,"size",this.size))));return new mxPoint(q.x+n,q.y+n)},function(q,n){this.state.style.size=
+Math.round(100*Math.max(0,Math.min(q.height/2,q.width/2,n.x-q.x)))/100})];c=Graph.createHandle(c,["indent"],function(q){var n=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,"indent",this.dx2))));return new mxPoint(q.x+.75*q.width,q.y+n*q.height/200)},function(q,n){this.state.style.indent=Math.round(100*Math.max(0,Math.min(100,200*(n.y-q.y)/q.height)))/100});m.push(c);return m},curvedText:function(c){var m=function(q){return(null!=q.shape?q.shape._curveYOffset:0)||0};return[Za(c,
+["arcStartY"],function(q){var n=parseFloat(mxUtils.getValue(this.state.style,"arcStartY",Ra.prototype.arcStartY)),r=m(this.state);return new mxPoint(q.x+10,q.y+Math.max(0,Math.min(q.height,n+r)))},function(q,n){var r=m(this.state);this.state.style.arcStartY=Math.round(Math.max(0,Math.min(q.height,n.y-q.y))-r)},!1),Za(c,["arcMidY"],function(q){var n=parseFloat(mxUtils.getValue(this.state.style,"arcStartY",Ra.prototype.arcStartY)),r=parseFloat(mxUtils.getValue(this.state.style,"arcEndY",Ra.prototype.arcEndY)),
+w=parseFloat(mxUtils.getValue(this.state.style,"arcMidY",Ra.prototype.arcMidY));n=(n+r)/2;r=m(this.state);return new mxPoint(q.x+q.width/2+10,q.y+Math.max(0,Math.min(q.height,n+w+r)))},function(q,n){var r=parseFloat(mxUtils.getValue(this.state.style,"arcStartY",Ra.prototype.arcStartY)),w=parseFloat(mxUtils.getValue(this.state.style,"arcEndY",Ra.prototype.arcEndY));r=(r+w)/2;w=m(this.state);var y=Math.max(Math.abs(Ra.prototype.arcMidY),Math.min(r,q.height-r));this.state.style.arcMidY=Math.round(Math.max(-y,
+Math.min(y,n.y-q.y-w-r)))},!1),Za(c,["arcEndY"],function(q){var n=parseFloat(mxUtils.getValue(this.state.style,"arcEndY",Ra.prototype.arcEndY)),r=m(this.state);return new mxPoint(q.x+q.width-10,q.y+Math.max(0,Math.min(q.height,n+r)))},function(q,n){var r=m(this.state);this.state.style.arcEndY=Math.round(Math.max(0,Math.min(q.height,n.y-q.y))-r)},!1)]},step:wb(ma.prototype.size,!0,null,!0,ma.prototype.fixedSize),hexagon:wb(oa.prototype.size,!0,.5,!0,oa.prototype.fixedSize),curlyBracket:wb(W.prototype.size,
+!1),display:wb(ea.prototype.size,!1),cube:mb(1,f.prototype.size,!1),card:mb(.5,H.prototype.size,!0),loopLimit:mb(.5,Ca.prototype.size,!0),trapezoid:Bb(.5,R.prototype.size,R.prototype.fixedSize),parallelogram:Bb(1,N.prototype.size,N.prototype.fixedSize),zigzag:function(c){return[Za(c,["size"],function(m){var q=Math.max(5,parseFloat(mxUtils.getValue(this.state.style,"size",La.prototype.size)));return new mxPoint(m.x+3*q,m.y)},function(m,q){this.state.style.size=Math.max(5,Math.round((q.x-m.x)/3))},
+!1)]}};Graph.createHandle=Za;Graph.handleFactory=ub;var Eb=mxVertexHandler.prototype.createCustomHandles;mxVertexHandler.prototype.createCustomHandles=function(){var c=Eb.apply(this,arguments);if(this.graph.isCellRotatable(this.state.cell)){var m=this.state.style.shape;null==mxCellRenderer.defaultShapes[m]&&null==mxStencilRegistry.getStencil(m)?m=mxConstants.SHAPE_RECTANGLE:this.state.view.graph.isSwimlane(this.state.cell)&&(m=mxConstants.SHAPE_SWIMLANE);m=ub[m];null==m&&null!=this.state.shape&&this.state.shape.isRoundable()&&
+(m=ub[mxConstants.SHAPE_RECTANGLE]);null!=m&&(m=m(this.state),null!=m&&(c=null==c?m:c.concat(m)))}return c};mxEdgeHandler.prototype.createCustomHandles=function(){var c=this.state.style.shape;null==mxCellRenderer.defaultShapes[c]&&null==mxStencilRegistry.getStencil(c)&&(c=mxConstants.SHAPE_CONNECTOR);c=ub[c];return null!=c?c(this.state):null}}else Graph.createHandle=function(){},Graph.handleFactory={};var Fb=Graph.prototype.getPreferredSizeForCell;Graph.prototype.getPreferredSizeForCell=function(c,
+m,q){var n=this.getCellStyle(c);if(null!=n&&"curvedText"==n[mxConstants.STYLE_SHAPE]){var r=this.convertValueToString(c);if(null!=r&&0<r.length){var w=parseFloat(mxUtils.getValue(n,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE)),y=mxUtils.getValue(n,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY);n=mxUtils.getValue(n,mxConstants.STYLE_FONTSTYLE,0);r=.85*mxUtils.getSizeForString(r,w,y,null,n).width;y=this.model.getGeometry(c);y=null!=y?y.height:60;(q=null!=q?q:this.gridEnabled)&&
+(r=this.snap(r+this.gridSize/2));return new mxRectangle(0,0,Math.max(r,2*w)+10,y)}return null}return Fb.apply(this,arguments)};var bb=mxCellRenderer.prototype.checkPlaceholderStyles;mxCellRenderer.prototype.checkPlaceholderStyles=function(c){return null!=c.style&&"curvedText"==c.style[mxConstants.STYLE_SHAPE]?!0:bb.apply(this,arguments)};if("undefined"!==typeof mxCellEditor){var zb=mxCellEditor.prototype.startEditing;mxCellEditor.prototype.startEditing=function(c,m){zb.apply(this,arguments);var q=
+this.graph.view.getState(c);null!=q&&null!=q.style&&"curvedText"==q.style[mxConstants.STYLE_SHAPE]&&null!=q.shape&&q.shape.redraw()};var lb=mxCellEditor.prototype.stopEditing;mxCellEditor.prototype.stopEditing=function(c){var m=this.editingCell;lb.apply(this,arguments);null!=m&&(m=this.graph.view.getState(m),null!=m&&null!=m.style&&"curvedText"==m.style[mxConstants.STYLE_SHAPE]&&null!=m.shape&&m.shape.redraw())}}var tb=new mxPoint(1,0),ob=new mxPoint(1,0),ib=mxUtils.toRadians(-30);tb=mxUtils.getRotatedPoint(tb,
+Math.cos(ib),Math.sin(ib));var Cb=mxUtils.toRadians(-150);ob=mxUtils.getRotatedPoint(ob,Math.cos(Cb),Math.sin(Cb));mxEdgeStyle.IsometricConnector=function(c,m,q,n,r){var w=c.view;n=null!=n&&0<n.length?n[0]:null;var y=c.absolutePoints,I=y[0];y=y[y.length-1];null!=n&&(n=w.transformControlPoint(c,n));null==I&&null!=m&&(I=new mxPoint(m.getCenterX(),m.getCenterY()));null==y&&null!=q&&(y=new mxPoint(q.getCenterX(),q.getCenterY()));var A=tb.x,da=tb.y,Q=ob.x,Da=ob.y,Ta="horizontal"==mxUtils.getValue(c.style,
+"elbow","horizontal");if(null!=y&&null!=I){c=function(ra,sa,va){ra-=Ia.x;var xa=sa-Ia.y;sa=(Da*ra-Q*xa)/(A*Da-da*Q);ra=(da*ra-A*xa)/(da*Q-A*Da);Ta?(va&&(Ia=new mxPoint(Ia.x+A*sa,Ia.y+da*sa),r.push(Ia)),Ia=new mxPoint(Ia.x+Q*ra,Ia.y+Da*ra)):(va&&(Ia=new mxPoint(Ia.x+Q*ra,Ia.y+Da*ra),r.push(Ia)),Ia=new mxPoint(Ia.x+A*sa,Ia.y+da*sa));r.push(Ia)};var Ia=I;null==n&&(n=new mxPoint(I.x+(y.x-I.x)/2,I.y+(y.y-I.y)/2));c(n.x,n.y,!0);c(y.x,y.y,!1)}};mxStyleRegistry.putValue("isometricEdgeStyle",mxEdgeStyle.IsometricConnector);
+var Hb=Graph.prototype.createEdgeHandler;Graph.prototype.createEdgeHandler=function(c,m){if(m==mxEdgeStyle.IsometricConnector){var q=new mxElbowEdgeHandler(c);q.snapToTerminals=!1;return q}return Hb.apply(this,arguments)};h.prototype.constraints=[];l.prototype.getConstraints=function(c,m,q){c=[];var n=Math.tan(mxUtils.toRadians(30)),r=(.5-n)/2;n=Math.min(m,q/(.5+n));m=(m-n)/2;q=(q-n)/2;c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,q+.25*n));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,m+.5*n,q+n*r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m+n,q+.25*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m+n,q+.75*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m+.5*n,q+(1-r)*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,q+.75*n));return c};t.prototype.getConstraints=function(c,m,q){c=[];var n=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.style,"isoAngle",this.isoAngle))))*Math.PI/200;n=Math.min(m*
+Math.tan(n),.5*q);c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,n));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,q-n));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,q-n));c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,
+0,n));return c};V.prototype.getConstraints=function(c,m,q){c=[];mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE);var n=Math.max(0,Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size))));parseFloat(mxUtils.getValue(this.style,"position",this.position));var r=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",this.position2))));parseFloat(mxUtils.getValue(this.style,"base",this.base));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1));c.push(new mxConnectionConstraint(new mxPoint(.25,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.75,0),!1));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*(q-n)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,q-n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,
+q-n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(q-n)));m>=2*n&&c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return c};mxRectangleShape.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,
+.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0)];mxEllipse.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,
+0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(1,.5))];J.prototype.constraints=mxRectangleShape.prototype.constraints;mxImageShape.prototype.constraints=mxRectangleShape.prototype.constraints;mxSwimlane.prototype.constraints=
+mxRectangleShape.prototype.constraints;L.prototype.constraints=mxRectangleShape.prototype.constraints;mxLabel.prototype.constraints=mxRectangleShape.prototype.constraints;k.prototype.getConstraints=function(c,m,q){c=[];var n=Math.max(0,Math.min(m,Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-n),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,
+null,m-n,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-.5*n,.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*(q+n)));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));m>=2*n&&c.push(new mxConnectionConstraint(new mxPoint(.5,
+0),!1));return c};H.prototype.getConstraints=function(c,m,q){c=[];var n=Math.max(0,Math.min(m,Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+n),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,n,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*n,.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,n));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,0,.5*(q+n)));c.push(new mxConnectionConstraint(new mxPoint(0,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));m>=2*n&&c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return c};f.prototype.getConstraints=function(c,m,q){c=[];var n=Math.max(0,Math.min(m,Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-n),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-.5*n,.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*(q+n)));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+n),q));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,n,q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*n,q-.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,q-n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(q-n)));return c};z.prototype.getConstraints=function(c,m,q){c=[];m=Math.max(0,Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,
+1),!1));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,m));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,m));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1,null,0,-m));c.push(new mxConnectionConstraint(new mxPoint(0,1),!1,null,0,-m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,m+.5*(.5*q-m)));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,m+.5*(.5*q-m)));c.push(new mxConnectionConstraint(new mxPoint(1,
+0),!1,null,0,q-m-.5*(.5*q-m)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,q-m-.5*(.5*q-m)));c.push(new mxConnectionConstraint(new mxPoint(.145,0),!1,null,0,.29*m));c.push(new mxConnectionConstraint(new mxPoint(.855,0),!1,null,0,.29*m));c.push(new mxConnectionConstraint(new mxPoint(.855,1),!1,null,0,.29*-m));c.push(new mxConnectionConstraint(new mxPoint(.145,1),!1,null,0,.29*-m));return c};D.prototype.getConstraints=function(c,m,q){c=[];var n=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,
+"tabWidth",this.tabWidth)))),r=Math.max(0,Math.min(q,parseFloat(mxUtils.getValue(this.style,"tabHeight",this.tabHeight))));"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?(c.push(new mxConnectionConstraint(new mxPoint(0,0),!1)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*n,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,n,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,n,r)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,
+.5*(m+n),r))):(c.push(new mxConnectionConstraint(new mxPoint(1,0),!1)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-.5*n,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,r)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-n),r)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.25*(q-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,m,.5*(q-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.75*(q-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.25*(q-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(q-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.75*(q-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,0,q));c.push(new mxConnectionConstraint(new mxPoint(.25,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.75,1),!1));return c};ab.prototype.constraints=mxRectangleShape.prototype.constraints;hb.prototype.constraints=mxRectangleShape.prototype.constraints;Wa.prototype.constraints=mxEllipse.prototype.constraints;Va.prototype.constraints=mxEllipse.prototype.constraints;u.prototype.constraints=mxEllipse.prototype.constraints;T.prototype.constraints=
+mxEllipse.prototype.constraints;$a.prototype.constraints=mxRectangleShape.prototype.constraints;X.prototype.constraints=mxRectangleShape.prototype.constraints;ea.prototype.getConstraints=function(c,m,q){c=[];var n=Math.min(m,q/2),r=Math.min(m-n,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*m);c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1,null));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,
+.5*(r+m-n),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,0));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1,null));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(r+m-n),q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,q));return c};Fa.prototype.getConstraints=function(c,m,q){m=parseFloat(mxUtils.getValue(c,"jettyWidth",Fa.prototype.jettyWidth))/2;c=parseFloat(mxUtils.getValue(c,
+"jettyHeight",Fa.prototype.jettyHeight));var n=[new mxConnectionConstraint(new mxPoint(0,0),!1,null,m),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(0,1),!1,null,
+m),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,Math.min(q-.5*c,1.5*c)),new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,Math.min(q-.5*c,3.5*c))];q>5*c&&n.push(new mxConnectionConstraint(new mxPoint(0,.75),!1,null,m));q>8*c&&n.push(new mxConnectionConstraint(new mxPoint(0,.5),!1,null,m));q>
+15*c&&n.push(new mxConnectionConstraint(new mxPoint(0,.25),!1,null,m));return n};Ca.prototype.constraints=mxRectangleShape.prototype.constraints;Aa.prototype.constraints=mxRectangleShape.prototype.constraints;mxCylinder.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.15,.05),!1),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.85,.05),!1),new mxConnectionConstraint(new mxPoint(0,.3),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,
+.7),!0),new mxConnectionConstraint(new mxPoint(1,.3),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.7),!0),new mxConnectionConstraint(new mxPoint(.15,.95),!1),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.85,.95),!1)];P.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,.1),!1),new mxConnectionConstraint(new mxPoint(.5,0),!1),new mxConnectionConstraint(new mxPoint(.75,.1),!1),new mxConnectionConstraint(new mxPoint(0,
+1/3),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(1,1/3),!1),new mxConnectionConstraint(new mxPoint(1,1),!1),new mxConnectionConstraint(new mxPoint(.5,.5),!1)];Pa.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.3),!0),new mxConnectionConstraint(new mxPoint(0,.7),!0),new mxConnectionConstraint(new mxPoint(1,
+.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];mxActor.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.25,.2),!1),new mxConnectionConstraint(new mxPoint(.1,.5),!1),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(.75,
+.25),!1),new mxConnectionConstraint(new mxPoint(.9,.5),!1),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];E.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(.5,.25),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,
+.5),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(.5,.75),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];K.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.35),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,.65),!1),new mxConnectionConstraint(new mxPoint(1,.35),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,.65),!1),new mxConnectionConstraint(new mxPoint(.25,
+1),!1),new mxConnectionConstraint(new mxPoint(.75,0),!1)];ma.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,
+.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxLine.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];ta.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,0),!1),new mxConnectionConstraint(new mxPoint(.5,
+1),!1)];mxDoubleEllipse.prototype.constraints=mxEllipse.prototype.constraints;mxRhombus.prototype.constraints=mxEllipse.prototype.constraints;mxTriangle.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0)];mxHexagon.prototype.constraints=
+[new mxConnectionConstraint(new mxPoint(.375,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.625,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.375,1),!0),
+new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.625,1),!0)];mxCloud.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,.25),!1),new mxConnectionConstraint(new mxPoint(.4,.1),!1),new mxConnectionConstraint(new mxPoint(.16,.55),!1),new mxConnectionConstraint(new mxPoint(.07,.4),!1),new mxConnectionConstraint(new mxPoint(.31,.8),!1),new mxConnectionConstraint(new mxPoint(.13,.77),!1),new mxConnectionConstraint(new mxPoint(.8,.8),!1),new mxConnectionConstraint(new mxPoint(.55,
.95),!1),new mxConnectionConstraint(new mxPoint(.875,.5),!1),new mxConnectionConstraint(new mxPoint(.96,.7),!1),new mxConnectionConstraint(new mxPoint(.625,.2),!1),new mxConnectionConstraint(new mxPoint(.88,.25),!1)];N.prototype.constraints=mxRectangleShape.prototype.constraints;R.prototype.constraints=mxRectangleShape.prototype.constraints;O.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,
0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxArrow.prototype.constraints=null;jb.prototype.getConstraints=function(c,m,q){c=[];var n=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),r=Math.max(0,Math.min(q,parseFloat(mxUtils.getValue(this.style,
"dy",this.dy))));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.75*m+.25*n,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+n),r));c.push(new mxConnectionConstraint(new mxPoint(0,
@@ -4032,8 +4033,8 @@ ColorPicker.prototype.hsImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALU
ColorPicker.prototype.crossImage="data:image/gif;base64,R0lGODlhDwAPAKEBAAAAAP///////////yH5BAEKAAIALAAAAAAPAA8AAAIklB8Qx53b4otSUWcvyiz4/4AeQJbmKY4p1HHapBlwPL/uVRsFADs=";ColorPicker.prototype.arrowImage="data:image/gif;base64,R0lGODlhBwALAKECAAAAAP///6g8eKg8eCH5BAEKAAIALAAAAAAHAAsAAAITTIQYcLnsgGxvijrxqdQq6DRJAQA7";
var ColorDialog=function(a,b,e,f,g,d,h,l){function p(ja){return mxUtils.color2hex("#"+ja).substring(1).toUpperCase()}function k(){na.src="none"==P.style.display?Editor.arrowRightImage:Editor.arrowDownImage}function v(ja,ya){ja||"none"==P.style.display?(P.style.display="flex",!1!==ya&&L.focus()):P.style.display="none";k();null!=S.resizeFn&&S.resizeFn()}function t(ja){""==ja.value&&null!=aa&&Y?ja.style.background=ja==L?aa.dark:aa.light:""==ja.value||ja.value==mxConstants.NONE||mxUtils.isVarColor(ja.value)?
ja.style.background="transparent":ja.style.background="#"+ja.value;ja.style.color="transparent"==ja.style.background?"light-dark(#000000, #ffffff)":mxUtils.isDarkColor(ja.style.background)?"#ffffff":"#000000"}function x(){t(V);t(L)}function z(ja){Y!=ja&&(ja?h&&null!=aa?(V.value=aa.light.substring(1).toUpperCase(),ja=!1):(V.value="",L.value="",U.value="automatic",V.setAttribute("placeholder",mxResources.get("useBlackAndWhite")),L.setAttribute("title",mxResources.get("useBlackAndWhite")),V.setAttribute("title",
-mxResources.get("useBlackAndWhite"))):(""==V.value&&null!=aa&&(V.value=aa.light.substring(1).toUpperCase()),V.removeAttribute("placeholder"),V.removeAttribute("title"),""==L.value&&null!=aa&&(L.style.background=aa.dark,ja=mxUtils.getCurrentStyle(L),L.value=mxUtils.rgba2hex(ja.backgroundColor).substring(1).toUpperCase()),L.removeAttribute("placeholder"),L.removeAttribute("title"),ja=!1));Y=ja}function E(ja){"#"==ja.value.charAt(0)&&(ja.value=ja.value.substring(1));var ya=ja.value,ab=ya.toLowerCase();
-null==g||""!=ya&&"automatic"!=ab&&"default"!=ab&&ab!=mxResources.get("default").toLowerCase()&&ab!=mxResources.get("automatic").toLowerCase()||null==aa?(ja.value==mxConstants.NONE||mxUtils.isVarColor(ja.value)||(ja.value=p(ja.value),qa.fromString("#"+ja.value)),z(!1),ja!=L||V.value==mxConstants.NONE&&L.value==mxConstants.NONE||(U.value="custom"),ja==V&&"automatic"==U.value&&(V.value==mxConstants.NONE?L.value=mxConstants.NONE:mxUtils.isVarColor(V.value)?L.value=V.value:L.value=mxUtils.rgba2hex(mxUtils.getInverseColor("#"+
+mxResources.get("useBlackAndWhite"))):(""==V.value&&null!=aa&&(V.value=aa.light.substring(1).toUpperCase()),V.removeAttribute("placeholder"),V.removeAttribute("title"),""==L.value&&null!=aa&&(L.style.background=aa.dark,ja=mxUtils.getCurrentStyle(L),L.value=mxUtils.rgba2hex(ja.backgroundColor).substring(1).toUpperCase()),L.removeAttribute("placeholder"),L.removeAttribute("title"),ja=!1));Y=ja}function E(ja){"#"==ja.value.charAt(0)&&(ja.value=ja.value.substring(1));var ya=ja.value,$a=ya.toLowerCase();
+null==g||""!=ya&&"automatic"!=$a&&"default"!=$a&&$a!=mxResources.get("default").toLowerCase()&&$a!=mxResources.get("automatic").toLowerCase()||null==aa?(ja.value==mxConstants.NONE||mxUtils.isVarColor(ja.value)||(ja.value=p(ja.value),qa.fromString("#"+ja.value)),z(!1),ja!=L||V.value==mxConstants.NONE&&L.value==mxConstants.NONE||(U.value="custom"),ja==V&&"automatic"==U.value&&(V.value==mxConstants.NONE?L.value=mxConstants.NONE:mxUtils.isVarColor(V.value)?L.value=V.value:L.value=mxUtils.rgba2hex(mxUtils.getInverseColor("#"+
ja.value)).substring(1).toUpperCase()),x()):fa.click()}function D(){var ja=V.value,ya=L.value;if(Y&&null!=aa||(/(^#?[a-zA-Z0-9]*$)/.test(ja)||mxUtils.isVarColor(ja))&&(/(^#?[a-zA-Z0-9]*$)/.test(ya)||mxUtils.isVarColor(ya))){if(Y)ja="default";else if(""==ja&&(ja=mxConstants.NONE),""==ya&&(ya=mxConstants.NONE),ja==mxConstants.NONE||mxUtils.isVarColor(ja)||"#"==ja.charAt(0)||(ja="#"+p(ja)),ya==mxConstants.NONE||mxUtils.isVarColor(ya)||"#"==ya.charAt(0)||(ya="#"+p(ya)),"none"!=ja||"none"!=ya)ja=ja==mxConstants.NONE?
"transparent":ja,ya=ya==mxConstants.NONE?"transparent":ya,h||"automatic"==U.value||(ja="light-dark("+ja+","+ya+")");return{color:ja,valid:!0}}return{color:null,valid:!1}}function G(){var ja=V.value,ya=L.value;(Y&&null!=aa||(/(^#?[a-zA-Z0-9]*$)/.test(ja)||mxUtils.isVarColor(ja))&&(/(^#?[a-zA-Z0-9]*$)/.test(ya)||mxUtils.isVarColor(ya)))&&!Y&&(""==ja&&(ja=mxConstants.NONE),""==ya&&(ya=mxConstants.NONE),ja==mxConstants.NONE||mxUtils.isVarColor(ja)||"#"==ja.charAt(0)||(ja="#"+p(ja)),ya==mxConstants.NONE||
mxUtils.isVarColor(ya)||"#"==ya.charAt(0)||(ya="#"+p(ya)),ja="automatic"!=U.value&&ya!=mxConstants.NONE?ja==mxConstants.NONE?ya.substring(1):"light-dark("+ja+","+ya+")":ja!=mxConstants.NONE?ja.substring(1):mxConstants.NONE,null!=ta&&mxUtils.remove(ta,ColorDialog.recentColors),ColorDialog.addRecentColor(ja,12),ta=ja)}function H(){var ja=D();ja.valid?(G(),wa(ja.color),W(),l||a.hideDialog()):l||a.handleError({message:mxResources.get("invalidInput")})}function K(ja){l&&(null!=ia&&clearTimeout(ia),ia=
@@ -4043,14 +4044,14 @@ var V=document.createElement("input");V.style.textOverflow="ellipsis";V.style.ma
M.setAttribute("value","automatic");mxUtils.write(M,mxResources.get("automatic"));U.appendChild(M);M=document.createElement("option");M.setAttribute("value","custom");mxUtils.write(M,mxResources.get("userDefined"));U.appendChild(M);U.value=mxUtils.isLightDarkColor(b)?"custom":"automatic";var P=document.createElement("div");M=document.createElement("img");M.setAttribute("title",mxResources.get("dark"));M.className="geAdaptiveAsset";M.src=Editor.thinDarkImage;M.style.width="20px";P.appendChild(M);mxEvent.addListener(M,
"click",function(){L.focus()});P.appendChild(L);P.appendChild(U);P.style.display="flex";P.style.alignItems="center";P.style.marginTop="6px";var Z=document.createElement("div");Z.style.display="flex";Z.style.alignItems="center";Z.style.userSelect="none";Z.style.cursor="pointer";Z.style.marginTop="4px";var na=document.createElement("img");na.setAttribute("title",mxResources.get("dark"));na.className="geAdaptiveAsset";Z.appendChild(na);mxUtils.write(Z,mxResources.get("advanced"));M=document.createElement("img");
M.setAttribute("title",mxResources.get("swap"));M.className="geAdaptiveAsset";M.style.marginLeft="6px";M.style.width="16px";M.style.height="16px";M.style.cursor="pointer";M.src=Editor.swapImage;mxEvent.addListener(M,"click",function(ja){v(!0,!1);U.value="custom";z(!1);var ya=V.value;V.value=L.value;L.value=ya;x();ua.focus();K();mxEvent.consume(ja)});Z.appendChild(M);var ba=M.cloneNode();ba.setAttribute("title",mxResources.get("copy"));ba.style.marginLeft="2px";ba.src=Editor.doubleArrowUpImage;mxEvent.addListener(ba,
-"click",function(ja){v(!0,!1);U.value="custom";z(!1);ua==L?V.value=L.value:L.value=V.value;x();ua.focus();K();mxEvent.consume(ja)});Z.appendChild(ba);M=ba.cloneNode();M.setAttribute("title",mxResources.get("opacity"));M.src=Editor.opacityImage;mxEvent.addListener(M,"click",function(ja){var ya=mxUtils.parseColor("#"+ua.value);ya=String(Math.floor(Math.max(0,Math.min(100*ya.a,100))));a.prompt(mxResources.get("opacity")+" (0-100)",ya,function(ab){!isNaN(ab)&&""!==ab&&0<=ab&&100>=ab&&(z(!1),V.value=mxUtils.rgba2hex(mxUtils.addAlphaToColor("#"+
-V.value,ab/100,!0)).substring(1).toUpperCase(),L.value=mxUtils.rgba2hex(mxUtils.addAlphaToColor("#"+L.value,ab/100,!0)).substring(1).toUpperCase(),x(),ua.focus())});mxEvent.consume(ja)});Z.appendChild(M);k();mxEvent.addListener(Z,"click",function(){v();k();ColorDialog.collapsed="none"==P.style.display;null!=S.resizeFn&&S.resizeFn()});var fa=mxUtils.button("",function(){z(!0);x();ua.focus();""==ua.value&&null!=aa&&Y&&qa.fromString(ua==L?aa.dark:aa.light,!0);K()});mxEvent.addListener(U,"change",function(ja){"automatic"==
+"click",function(ja){v(!0,!1);U.value="custom";z(!1);ua==L?V.value=L.value:L.value=V.value;x();ua.focus();K();mxEvent.consume(ja)});Z.appendChild(ba);M=ba.cloneNode();M.setAttribute("title",mxResources.get("opacity"));M.src=Editor.opacityImage;mxEvent.addListener(M,"click",function(ja){var ya=mxUtils.parseColor("#"+ua.value);ya=String(Math.floor(Math.max(0,Math.min(100*ya.a,100))));a.prompt(mxResources.get("opacity")+" (0-100)",ya,function($a){!isNaN($a)&&""!==$a&&0<=$a&&100>=$a&&(z(!1),V.value=mxUtils.rgba2hex(mxUtils.addAlphaToColor("#"+
+V.value,$a/100,!0)).substring(1).toUpperCase(),L.value=mxUtils.rgba2hex(mxUtils.addAlphaToColor("#"+L.value,$a/100,!0)).substring(1).toUpperCase(),x(),ua.focus())});mxEvent.consume(ja)});Z.appendChild(M);k();mxEvent.addListener(Z,"click",function(){v();k();ColorDialog.collapsed="none"==P.style.display;null!=S.resizeFn&&S.resizeFn()});var fa=mxUtils.button("",function(){z(!0);x();ua.focus();""==ua.value&&null!=aa&&Y&&qa.fromString(ua==L?aa.dark:aa.light,!0);K()});mxEvent.addListener(U,"change",function(ja){"automatic"==
U.value?(V.focus(),E(V)):(z(!1),L.focus(),O());x();K();mxEvent.consume(ja)});mxEvent.addListener(V,"change",function(){E(V);K()});mxEvent.addListener(L,"change",function(){E(L);K()});var wa=null!=e?e:this.createApplyFunction(),S=this,ta=null,ia=null;this.init=function(){O()};var qa=new ColorPicker,ua=Editor.isDarkMode()&&("auto"==ca.getAdaptiveColors()||"simple"==ca.getAdaptiveColors()&&"custom"==U.value)&&!h?L:V;mxEvent.addListener(V,"focus",function(){ua=V;N();ba.src=Editor.doubleArrowDownImage});
mxEvent.addListener(L,"focus",function(){ua=L;N();ba.src=Editor.doubleArrowUpImage});qa.addListener("change",function(ja,ya){ja=ya.getProperty("color").substring(1).toUpperCase();ua.value.toUpperCase()!=ja&&(ua.value=ja,E(ua),window.setTimeout(function(){ua.focus()},0))});qa.addListener("release",function(){K()});e=document.createElement("div");e.style.padding="12px 12px 18px 12px";e.appendChild(qa.div);qa.div.style.marginBottom="10px";var Fa=document.createElement("div");Fa.style.display="flex";
-Fa.style.flexFlow="row wrap";Fa.style.justifyContent="center";Fa.style.marginTop="10px";var Pa=mxUtils.bind(this,function(ja,ya,ab,$a){ya=null!=ya?ya:12;var db=document.createElement("table");db.style.borderCollapse="collapse";db.setAttribute("cellspacing","0");db.style.marginBottom="10px";db.style.cellSpacing="0px";var qb=document.createElement("tbody");db.appendChild(qb);for(var jb=ja.length/ya,fb=0;fb<jb;fb++){for(var nb=document.createElement("tr"),hb=0;hb<ya;hb++)mxUtils.bind(this,function(cb){var la=
-document.createElement("td");la.style.border="0px solid black";la.style.padding="0px";la.style.width="16px";la.style.height="16px";null==cb&&(cb=ab);if(null!=cb){la.style.borderWidth="1px";if(cb==mxConstants.NONE||null==cb)la.style.background="url('"+Dialog.prototype.noColorImage+"')";else if(mxUtils.isLightDarkColor(cb)){var Ca=mxUtils.getLightDarkColor(cb);la.style.background="linear-gradient(to right bottom, "+Ca.cssText+" 50%, "+mxUtils.invertLightDarkColor(Ca).cssText+" 50.3%)"}else la.style.backgroundColor=
+Fa.style.flexFlow="row wrap";Fa.style.justifyContent="center";Fa.style.marginTop="10px";var Pa=mxUtils.bind(this,function(ja,ya,$a,ab){ya=null!=ya?ya:12;var db=document.createElement("table");db.style.borderCollapse="collapse";db.setAttribute("cellspacing","0");db.style.marginBottom="10px";db.style.cellSpacing="0px";var qb=document.createElement("tbody");db.appendChild(qb);for(var jb=ja.length/ya,fb=0;fb<jb;fb++){for(var nb=document.createElement("tr"),hb=0;hb<ya;hb++)mxUtils.bind(this,function(cb){var la=
+document.createElement("td");la.style.border="0px solid black";la.style.padding="0px";la.style.width="16px";la.style.height="16px";null==cb&&(cb=$a);if(null!=cb){la.style.borderWidth="1px";if(cb==mxConstants.NONE||null==cb)la.style.background="url('"+Dialog.prototype.noColorImage+"')";else if(mxUtils.isLightDarkColor(cb)){var Ca=mxUtils.getLightDarkColor(cb);la.style.background="linear-gradient(to right bottom, "+Ca.cssText+" 50%, "+mxUtils.invertLightDarkColor(Ca).cssText+" 50.3%)"}else la.style.backgroundColor=
"#"+cb;Ca=this.colorNames[String(cb).toUpperCase()];null!=Ca&&la.setAttribute("title",Ca)}nb.appendChild(la);null!=cb&&(la.style.cursor="pointer",mxEvent.addListener(la,"click",function(){if(cb==mxConstants.NONE){ua==L&&L.value==mxConstants.NONE?V.value=mxConstants.NONE:ua.value=mxConstants.NONE;if(ua==V||ua==L&&V.value==mxConstants.NONE)U.value="automatic";E(ua);K();window.setTimeout(function(){ua.focus()},0)}else if(mxUtils.isLightDarkColor(cb)){var Aa=mxUtils.getLightDarkColor(cb);h?(V.value=Aa.light.substring(1).toUpperCase(),
-E(V),qa.fromString(Aa.light),K()):(v(!0,!1),U.value="custom",V.value=Aa.light.substring(1).toUpperCase(),L.value=Aa.dark.substring(1).toUpperCase(),E(V),E(L),K(),ua==V?qa.fromString(Aa.light):qa.fromString(Aa.dark))}else qa.fromString("#"+cb),K()}),mxEvent.addListener(la,"dblclick",function(){H();l&&null!=S.closeFn&&S.closeFn()}))})(ja[fb*ya+hb]);qb.appendChild(nb)}$a&&(ja=document.createElement("td"),ja.setAttribute("title",mxResources.get("reset")),ja.className="geAdaptiveAsset",ja.style.border=
+E(V),qa.fromString(Aa.light),K()):(v(!0,!1),U.value="custom",V.value=Aa.light.substring(1).toUpperCase(),L.value=Aa.dark.substring(1).toUpperCase(),E(V),E(L),K(),ua==V?qa.fromString(Aa.light):qa.fromString(Aa.dark))}else qa.fromString("#"+cb),K()}),mxEvent.addListener(la,"dblclick",function(){H();l&&null!=S.closeFn&&S.closeFn()}))})(ja[fb*ya+hb]);qb.appendChild(nb)}ab&&(ja=document.createElement("td"),ja.setAttribute("title",mxResources.get("reset")),ja.className="geAdaptiveAsset",ja.style.border=
"1px solid black",ja.style.padding="0px",ja.style.width="16px",ja.style.height="16px",ja.style.backgroundImage="url('"+Editor.crossImage+"')",ja.style.backgroundPosition="center center",ja.style.backgroundSize="14px 14px",ja.style.backgroundRepeat="no-repeat",ja.style.cursor="pointer",nb.appendChild(ja),mxEvent.addListener(ja,"click",function(){ColorDialog.resetRecentColors();var cb=R();null!=db.parentNode&&db.parentNode.replaceChild(cb,db);za=cb}));Fa.appendChild(db);return db}),Ja=null;h||(ma.appendChild(Z),
!ColorDialog.collapsed||Editor.isDarkMode()&&"auto"==ca.getAdaptiveColors()||"automatic"!=U.value||(P.style.display="none",k()),Ja=document.createElement("img"),Ja.setAttribute("title",mxResources.get("light")),Ja.className="geAdaptiveAsset",Ja.src=Editor.thinLightImage,Ja.style.width="20px",oa.appendChild(Ja),mxEvent.addListener(Ja,"click",function(){V.focus()}));oa.appendChild(V);fa.style.cursor="pointer";fa.style.position="relative";fa.style.marginLeft="6px";null!=aa?(fa.setAttribute("title",mxResources.get(h?
"default":"useBlackAndWhite")),fa.innerText="",ca=document.createElement("div"),ca.style.display="inline-block",ca.style.verticalAlign="middle",ca.style.borderStyle="solid",ca.style.borderWidth="1px",ca.style.marginTop="-2px",ca.style.width="12px",ca.style.height="12px",h?ca.style.backgroundColor=aa.light:ca.style.backgroundImage="linear-gradient(to right bottom, "+aa.cssText+" 50%, "+mxUtils.invertLightDarkColor(aa).cssText+" 50.3%)",fa.appendChild(ca)):fa.style.display="none";oa.appendChild(fa);
@@ -4059,10 +4060,10 @@ M.src=Editor.colorDropperImage;M.className="geAdaptiveAsset";M.style.position="r
ma.style.display="flex",ma.style.whiteSpace="nowrap",ma.style.alignItems="center",ma.style.justifyContent="end",a.isOffline()||ma.appendChild(a.createHelpIcon("https://github.com/jgraph/drawio/discussions/4713")),oa=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog();null!=f&&f()}),oa.className="geBtn",a.editor.cancelFirst&&ma.appendChild(oa),ca=mxUtils.button(mxResources.get("apply"),H),ca.className="geBtn gePrimaryBtn",ma.appendChild(ca),a.editor.cancelFirst||ma.appendChild(oa));
null!=b&&("default"==b?fa.click():(oa=mxUtils.getLightDarkColor(b),b==mxConstants.NONE||"transparent"==oa.light?V.value=mxConstants.NONE:mxUtils.isVarColor(oa.light)?V.value=oa.light:(mxUtils.isRgbColor(oa.light)?oa.light=mxUtils.rgba2hex(oa.light):mxUtils.isHexColor(oa.light)||(oa.light="#"+p(oa.light)),V.value=oa.light.substring(1).toUpperCase()),b==mxConstants.NONE||"transparent"==oa.dark?L.value=mxConstants.NONE:mxUtils.isVarColor(oa.dark)?L.value=oa.dark:(mxUtils.isRgbColor(oa.dark)?oa.dark=
mxUtils.rgba2hex(oa.dark):mxUtils.isHexColor(oa.dark)||(oa.dark="#"+p(oa.dark)),L.value=oa.dark.substring(1).toUpperCase()),N(),x()));h||!ColorDialog.collapsed||"automatic"!=U.value||Editor.isDarkMode()||(P.style.display="none",k());null!=ma&&e.appendChild(ma);this.picker=qa;this.colorInput=V;mxEvent.addListener(V,"keypress",ha);mxEvent.addListener(L,"keypress",ha);mxEvent.addListener(e,"keydown",function(ja){27==ja.keyCode&&(l?null!=S.closeFn&&S.closeFn():(a.hideDialog(),null!=f&&f()),mxEvent.consume(ja))});
-this.container=e;this.resizeFn=this.closeFn=null;this.setApplyFn=function(ja){wa=ja};this.setColor=function(ja,ya,ab,$a){ta=null;g=ya;d=ab;h=$a;aa=null!=ab?mxUtils.getLightDarkColor(ab,null,null,$a):null;Y=!1;$a?(Z.style.display="none",P.style.display="none",null!=Ja&&(Ja.style.display="none"),ua=V,V.focus()):(Z.style.display="flex",null!=Ja&&(Ja.style.display=""),ColorDialog.collapsed&&"automatic"==U.value&&!Editor.isDarkMode()?P.style.display="none":P.style.display="flex",k());null!=aa?(fa.style.display=
-"",fa.setAttribute("title",mxResources.get($a?"default":"useBlackAndWhite")),fa.innerText="",ya=document.createElement("div"),ya.style.display="inline-block",ya.style.verticalAlign="middle",ya.style.borderStyle="solid",ya.style.borderWidth="1px",ya.style.marginTop="-2px",ya.style.width="12px",ya.style.height="12px",$a?ya.style.backgroundColor=aa.light:ya.style.backgroundImage="linear-gradient(to right bottom, "+aa.cssText+" 50%, "+mxUtils.invertLightDarkColor(aa).cssText+" 50.3%)",fa.appendChild(ya)):
+this.container=e;this.resizeFn=this.closeFn=null;this.setApplyFn=function(ja){wa=ja};this.setColor=function(ja,ya,$a,ab){ta=null;g=ya;d=$a;h=ab;aa=null!=$a?mxUtils.getLightDarkColor($a,null,null,ab):null;Y=!1;ab?(Z.style.display="none",P.style.display="none",null!=Ja&&(Ja.style.display="none"),ua=V,V.focus()):(Z.style.display="flex",null!=Ja&&(Ja.style.display=""),ColorDialog.collapsed&&"automatic"==U.value&&!Editor.isDarkMode()?P.style.display="none":P.style.display="flex",k());null!=aa?(fa.style.display=
+"",fa.setAttribute("title",mxResources.get(ab?"default":"useBlackAndWhite")),fa.innerText="",ya=document.createElement("div"),ya.style.display="inline-block",ya.style.verticalAlign="middle",ya.style.borderStyle="solid",ya.style.borderWidth="1px",ya.style.marginTop="-2px",ya.style.width="12px",ya.style.height="12px",ab?ya.style.backgroundColor=aa.light:ya.style.backgroundImage="linear-gradient(to right bottom, "+aa.cssText+" 50%, "+mxUtils.invertLightDarkColor(aa).cssText+" 50.3%)",fa.appendChild(ya)):
fa.style.display="none";null!=ja&&("default"==ja||"transparent"==ja||ja==mxConstants.NONE||mxUtils.isVarColor(ja)||mxUtils.isHexColor(ja)||mxUtils.isRgbColor(ja)||mxUtils.isLightDarkColor(ja)||(ja=mxUtils.color2hex(ja)),U.value=mxUtils.isLightDarkColor(ja)?"custom":"automatic","default"==ja?(z(!0),x(),null!=aa&&qa.fromString(ua==L?aa.dark:aa.light,!0)):(ya=mxUtils.getLightDarkColor(ja),ja==mxConstants.NONE||"transparent"==ya.light?V.value=mxConstants.NONE:mxUtils.isVarColor(ya.light)?V.value=ya.light:
-(mxUtils.isRgbColor(ya.light)?ya.light=mxUtils.rgba2hex(ya.light):mxUtils.isHexColor(ya.light)||(ya.light="#"+p(ya.light)),V.value=ya.light.substring(1).toUpperCase()),ja==mxConstants.NONE||"transparent"==ya.dark?L.value=mxConstants.NONE:mxUtils.isVarColor(ya.dark)?L.value=ya.dark:(mxUtils.isRgbColor(ya.dark)?ya.dark=mxUtils.rgba2hex(ya.dark):mxUtils.isHexColor(ya.dark)||(ya.dark="#"+p(ya.dark)),L.value=ya.dark.substring(1).toUpperCase()),N(),x()));$a||!ColorDialog.collapsed||"automatic"!=U.value||
+(mxUtils.isRgbColor(ya.light)?ya.light=mxUtils.rgba2hex(ya.light):mxUtils.isHexColor(ya.light)||(ya.light="#"+p(ya.light)),V.value=ya.light.substring(1).toUpperCase()),ja==mxConstants.NONE||"transparent"==ya.dark?L.value=mxConstants.NONE:mxUtils.isVarColor(ya.dark)?L.value=ya.dark:(mxUtils.isRgbColor(ya.dark)?ya.dark=mxUtils.rgba2hex(ya.dark):mxUtils.isHexColor(ya.dark)||(ya.dark="#"+p(ya.dark)),L.value=ya.dark.substring(1).toUpperCase()),N(),x()));ab||!ColorDialog.collapsed||"automatic"!=U.value||
Editor.isDarkMode()||(P.style.display="none",k());W();null!=S.resizeFn&&S.resizeFn()}};ColorDialog.prototype.presetColors="E6D0DE CDA2BE B5739D E1D5E7 C3ABD0 A680B8 D4E1F5 A9C4EB 7EA6E0 D5E8D4 9AC7BF 67AB9F D5E8D4 B9E0A5 97D077 FFF2CC FFE599 FFD966 FFF4C3 FFCE9F FFB570 F8CECC F19C99 EA6B66".split(" ");ColorDialog.prototype.colorNames={};ColorDialog.prototype.defaultColors="none FFFFFF E6E6E6 CCCCCC B3B3B3 999999 808080 666666 4D4D4D 333333 1A1A1A 000000 FFCCCC FFE6CC FFFFCC E6FFCC CCFFCC CCFFE6 CCFFFF CCE5FF CCCCFF E5CCFF FFCCFF FFCCE6 FF9999 FFCC99 FFFF99 CCFF99 99FF99 99FFCC 99FFFF 99CCFF 9999FF CC99FF FF99FF FF99CC FF6666 FFB366 FFFF66 B3FF66 66FF66 66FFB3 66FFFF 66B2FF 6666FF B266FF FF66FF FF66B3 FF3333 FF9933 FFFF33 99FF33 33FF33 33FF99 33FFFF 3399FF 3333FF 9933FF FF33FF FF3399 FF0000 FF8000 FFFF00 80FF00 00FF00 00FF80 00FFFF 007FFF 0000FF 7F00FF FF00FF FF0080 CC0000 CC6600 CCCC00 66CC00 00CC00 00CC66 00CCCC 0066CC 0000CC 6600CC CC00CC CC0066 990000 994C00 999900 4D9900 009900 00994D 009999 004C99 000099 4C0099 990099 99004D 660000 663300 666600 336600 006600 006633 006666 003366 000066 330066 660066 660033 330000 331A00 333300 1A3300 003300 00331A 003333 001933 000033 190033 330033 33001A".split(" ");
ColorDialog.prototype.createApplyFunction=function(){return ColorDialog.createApplyFunction(this.editorUi,this.currentColorKey)};ColorDialog.createApplyFunction=function(a,b){return function(e){var f=a.editor.graph;f.getModel().beginUpdate();try{f.setCellStyles(b,e),a.fireEvent(new mxEventObject("styleChanged","keys",[b],"values",[e],"cells",f.getSelectionCells()))}finally{f.getModel().endUpdate()}}};ColorDialog.recentColors=[];
ColorDialog.addRecentColor=function(a,b){null!=a&&(mxUtils.remove(a,ColorDialog.recentColors),ColorDialog.recentColors.splice(0,0,a),ColorDialog.recentColors.length>=b&&ColorDialog.recentColors.pop())};ColorDialog.resetRecentColors=function(){ColorDialog.recentColors=[]};ColorDialog.collapsed=!0;
@@ -7457,8 +7458,8 @@ e.vertex=!0;var b=new mxCell("PBR",new mxGeometry(60,0,60,24),"text;verticalAlig
50,50,"","Rarity",!0,null,this.getTagsForStencil(" ","color rarity","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#1EB5BD;strokeColor=none;whiteSpace=wrap;html=1;",50,50,"","Seagull",!0,null,this.getTagsForStencil(" ","color seagull","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#78CDD1;strokeColor=none;whiteSpace=wrap;html=1;",50,50,"","Half Baked",!0,null,this.getTagsForStencil(" ","color half baked","cumulus").join(" "))];this.addPalette("cumulus","Cumulus",
!1,mxUtils.bind(this,function(e){for(var b=0;b<c.length;b++)e.appendChild(c[b](e))}));this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addDFDPalette=function(){var a=this;this.setCurrentSearchEntryLibrary("dfd");this.addPaletteFunctions("dfd","Data Flow Diagram",!1,[this.createVertexTemplateEntry("html=1;dashed=0;whiteSpace=wrap;shape=mxgraph.dfd.start",80,30,"","Start / End",null,null,this.getTagsForStencil("mxgraph.flowchart","start end","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whiteSpace=wrap;",100,50,"","Activity / Process / Entity / External Interactor",
null,null,this.getTagsForStencil("mxgraph.flowchart","activity process entity external interactor","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=rhombus;html=1;dashed=0;whiteSpace=wrap;perimeter=rhombusPerimeter;",60,50,"","Decision / Entity Relationship",null,null,this.getTagsForStencil("mxgraph.flowchart","decision entity relationship","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=ellipse;html=1;dashed=0;whiteSpace=wrap;aspect=fixed;perimeter=ellipsePerimeter;",
-30,30,"","Reference",null,null,this.getTagsForStencil("mxgraph.flowchart","reference","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;dashed=0;",100,50,"","Product / Result",null,null,this.getTagsForStencil("mxgraph.flowchart","product result","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=manualInput;whiteSpace=wrap;html=1;dashed=0;size=15;",100,50,"","Order / Command",null,
-null,this.getTagsForStencil("mxgraph.flowchart","order command","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=document;whiteSpace=wrap;html=1;boundedLbl=1;dashed=0;flipH=1;",100,70,"","Information / Data Carrier / SOP",null,null,this.getTagsForStencil("mxgraph.flowchart","information data carrier sop","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("triangle;whiteSpace=wrap;html=1;dashed=0;direction=south;",60,60,"","Information/Data Carrier/SOP / Stop State",
+30,30,"","Reference",null,null,this.getTagsForStencil("mxgraph.flowchart","reference","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;dashed=0;",100,50,"","Product / Result",null,null,this.getTagsForStencil("mxgraph.flowchart","product result","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=manualInput;boundedLbl=1;whiteSpace=wrap;html=1;dashed=0;size=15;",100,50,"","Order / Command",
+null,null,this.getTagsForStencil("mxgraph.flowchart","order command","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=document;whiteSpace=wrap;html=1;boundedLbl=1;dashed=0;flipH=1;",100,70,"","Information / Data Carrier / SOP",null,null,this.getTagsForStencil("mxgraph.flowchart","information data carrier sop","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("triangle;whiteSpace=wrap;html=1;dashed=0;direction=south;",60,60,"","Information/Data Carrier/SOP / Stop State",
null,null,this.getTagsForStencil("mxgraph.flowchart","information data carrier sop","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whiteSpace=wrap;shape=mxgraph.dfd.archive",60,60,"","Final Report / Archive",null,null,this.getTagsForStencil("mxgraph.flowchart","final report archive","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=hexagon;perimeter=hexagonPerimeter2;whiteSpace=wrap;html=1;size=0.25",100,50,"","Check",null,null,this.getTagsForStencil("mxgraph.flowchart",
"check","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whiteSpace=wrap;shape=mxgraph.dfd.check2",100,50,"","Check 2",null,null,this.getTagsForStencil("mxgraph.flowchart","check","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=ellipse;html=1;dashed=0;whiteSpace=wrap;perimeter=ellipsePerimeter;",30,30,"","Data Process",null,null,this.getTagsForStencil("mxgraph.flowchart","data process","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=ellipse;html=1;dashed=0;whiteSpace=wrap;aspect=fixed;perimeter=ellipsePerimeter;",
60,60,"","Data Process / State",null,null,this.getTagsForStencil("mxgraph.flowchart","data process","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("ellipse;shape=doubleEllipse;html=1;dashed=0;whiteSpace=wrap;aspect=fixed;",60,60,"","Multiple Process / Start State / Multi State",null,null,this.getTagsForStencil("mxgraph.flowchart","multiple process start state multi","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=ellipse;html=1;dashed=0;whiteSpace=wrap;aspect=fixed;strokeWidth=5;perimeter=ellipsePerimeter;",
@@ -7792,7 +7793,7 @@ new mxGeometry(290,97,40,43),a+"office_chair;shadow=0;direction=west;");t.vertex
60,60,"","Database",null,null,this.getTagsForStencil("mxgraph.flowchart","database","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.decision;whiteSpace=wrap;",100,100,"","Decision",null,null,this.getTagsForStencil("mxgraph.flowchart","decision","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.delay;whiteSpace=wrap;",100,60,"","Delay",null,null,this.getTagsForStencil("mxgraph.flowchart","delay","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.direct_data;whiteSpace=wrap;",
100,60,"","Direct Data",null,null,this.getTagsForStencil("mxgraph.flowchart","direct_data","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.display;whiteSpace=wrap;",100,60,"","Display",null,null,this.getTagsForStencil("mxgraph.flowchart","display","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.document2;whiteSpace=wrap;size=0.25;",100,60,"","Document",null,null,this.getTagsForStencil("mxgraph.flowchart","document",
"").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.extract_or_measurement;whiteSpace=wrap;",95,60,"","Extract or Measurement",null,null,this.getTagsForStencil("mxgraph.flowchart","extract_or_measurement","").join(" ")),this.createVertexTemplateEntry("shape=internalStorage;whiteSpace=wrap;html=1;dx=15;dy=15;rounded=1;arcSize=8;strokeWidth=2;",70,70,"","Internal Storage",null,null,this.getTagsForStencil("mxgraph.flowchart","internal_storage","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.loop_limit;whiteSpace=wrap;",
-100,60,"","Loop Limit",null,null,this.getTagsForStencil("mxgraph.flowchart","loop_limit","").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=2;shape=manualInput;whiteSpace=wrap;rounded=1;size=26;arcSize=11;",100,60,"","Manual Input",null,null,this.getTagsForStencil("mxgraph.flowchart","manual_input","").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=trapezoid;perimeter=trapezoidPerimeter;whiteSpace=wrap;size=0.23;arcSize=10;flipV=1;labelPosition=center;align=center;",
+100,60,"","Loop Limit",null,null,this.getTagsForStencil("mxgraph.flowchart","loop_limit","").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=2;shape=manualInput;boundedLbl=1;whiteSpace=wrap;rounded=1;size=26;arcSize=11;",100,60,"","Manual Input",null,null,this.getTagsForStencil("mxgraph.flowchart","manual_input","").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=trapezoid;perimeter=trapezoidPerimeter;whiteSpace=wrap;size=0.23;arcSize=10;flipV=1;labelPosition=center;align=center;",
100,60,"","Manual Operation",null,null,this.getTagsForStencil("mxgraph.flowchart","manual_operation","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.merge_or_storage;whiteSpace=wrap;",95,60,"","Merge or Storage",null,null,this.getTagsForStencil("mxgraph.flowchart","merge_or_storage","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.multi-document;whiteSpace=wrap;",88,60,"","Multi-Document",null,null,this.getTagsForStencil("mxgraph.flowchart",
"multi-document","").join(" ")),this.createVertexTemplateEntry(c+"offPageConnector;rounded=0;size=0.5;",60,60,"","Off-Page Reference",null,null,this.getTagsForStencil("mxgraph.flowchart","off-page_reference","").join(" ")),this.createVertexTemplateEntry(a+"on-page_reference;",60,60,"","On-Page Reference",null,null,this.getTagsForStencil("mxgraph.flowchart","on-page_reference","").join(" ")),this.createVertexTemplateEntry(a+"summing_function;",70,70,"","Or",null,null,this.getTagsForStencil("mxgraph.flowchart",
"summing_function","").join(" ")),this.createVertexTemplateEntry("shape=tape;whiteSpace=wrap;html=1;strokeWidth=2;size=0.19",100,65,"","Tape",null,null,this.getTagsForStencil("mxgraph.flowchart","tape","").join(" ")),this.createVertexTemplateEntry(a+"parallel_mode;pointerEvents=1",95,40,"","Parallel Mode",null,null,this.getTagsForStencil("mxgraph.flowchart","parallel_mode","").join(" ")),this.createVertexTemplateEntry(c+"process;whiteSpace=wrap;rounded=1;size=0.14;arcSize=6;",100,60,"","Predefined Process",
@@ -13355,7 +13356,7 @@ var za=document.createElement("input");za.setAttribute("type","checkbox");za.set
N=null!=N?N:null!=B?"export":PrintDialog.previewEnabled?"print":"ok";N=mxUtils.button(mxResources.get(N),function(){try{m.hideDialog(),R(!0)}catch(ya){m.handleError(ya)}});N.className="geBtn gePrimaryBtn";y.appendChild(N);m.editor.cancelFirst||y.appendChild(U);Q.appendChild(y);if(m.editor.isChromelessView()){var na=function(){Editor.isDarkMode()?(Q.classList.add("geDarkMode"),Q.style.colorScheme="dark"):(Q.classList.remove("geDarkMode"),Q.style.colorScheme="light")};m.addListener("darkModeChanged",
na);na();var ra=function(ya,ua){ya=ua.getProperty("dialog");Q.parentNode==ya.container&&(m.editor.removeListener(ra),m.removeListener(na))};m.editor.addListener("hideDialog",ra)}this.container=Q};var P=ChangePageSetup.prototype.execute;ChangePageSetup.prototype.execute=function(){null==this.page&&(this.page=this.ui.currentPage);if(this.page!=this.ui.currentPage){if(null!=this.page.viewState){this.ignoreColor||(this.page.viewState.background=this.color);if(!this.ignoreImage){var m=this.image;null!=
m&&null!=m.src&&Graph.isPageLink(m.src)&&(m={originalSrc:m.src});this.page.viewState.backgroundImage=m}null!=this.format&&(this.page.viewState.pageFormat=this.format);null!=this.mathEnabled&&(this.page.viewState.mathEnabled=this.mathEnabled);null!=this.adaptiveColors&&(this.page.viewState.adaptiveColors=this.adaptiveColors);null!=this.shadowVisible&&(this.page.viewState.shadowVisible=this.shadowVisible)}}else P.apply(this,arguments),null!=this.mathEnabled&&this.mathEnabled!=this.ui.isMathEnabled()&&
-(this.ui.setMathEnabled(this.mathEnabled),this.mathEnabled=!this.mathEnabled),null!=this.adaptiveColors&&this.adaptiveColors!=this.ui.editor.graph.adaptiveColors&&(m=this.ui.editor.graph.adaptiveColors,this.ui.setAdaptiveColors(this.adaptiveColors),this.adaptiveColors=null!=m?m:"default"),null!=this.shadowVisible&&this.shadowVisible!=this.ui.editor.graph.shadowVisible&&(this.ui.editor.graph.setShadowVisible(this.shadowVisible),this.shadowVisible=!this.shadowVisible)}})();(function(){EditorUi.VERSION="29.7.11";EditorUi.compactUi="atlas"!=Editor.currentTheme||window.DRAWIO_PUBLIC_BUILD;Editor.isDarkMode()&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&"1"!=urlParams.lockdown&&(/.*\.draw\.io$/.test(window.location.hostname)||/.*\.diagrams\.net$/.test(window.location.hostname)||/.*\.cdn\.prod\.atlassian-dev\.net$/.test(window.location.hostname))&&"https://preprod.diagrams.net/"!=window.location.hostname&&
+(this.ui.setMathEnabled(this.mathEnabled),this.mathEnabled=!this.mathEnabled),null!=this.adaptiveColors&&this.adaptiveColors!=this.ui.editor.graph.adaptiveColors&&(m=this.ui.editor.graph.adaptiveColors,this.ui.setAdaptiveColors(this.adaptiveColors),this.adaptiveColors=null!=m?m:"default"),null!=this.shadowVisible&&this.shadowVisible!=this.ui.editor.graph.shadowVisible&&(this.ui.editor.graph.setShadowVisible(this.shadowVisible),this.shadowVisible=!this.shadowVisible)}})();(function(){EditorUi.VERSION="29.7.12";EditorUi.compactUi="atlas"!=Editor.currentTheme||window.DRAWIO_PUBLIC_BUILD;Editor.isDarkMode()&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&"1"!=urlParams.lockdown&&(/.*\.draw\.io$/.test(window.location.hostname)||/.*\.diagrams\.net$/.test(window.location.hostname)||/.*\.cdn\.prod\.atlassian-dev\.net$/.test(window.location.hostname))&&"https://preprod.diagrams.net/"!=window.location.hostname&&
"support.draw.io"!=window.location.hostname&&"test.draw.io"!=window.location.hostname;EditorUi.drawHost=window.DRAWIO_BASE_URL;EditorUi.lightboxHost=window.DRAWIO_LIGHTBOX_URL;EditorUi.lastErrorMessage=null;EditorUi.ignoredAnonymizedChars="\n\t`~!@#$%^&*()_+{}|:\"<>?-=[];'./,\n\t";EditorUi.templateFile=TEMPLATE_PATH+"/index.xml";EditorUi.cacheUrl=window.REALTIME_URL;null==EditorUi.cacheUrl&&"undefined"!==typeof DrawioFile&&(DrawioFile.SYNC="none");Editor.cacheTimeout=1E4;EditorUi.enablePlantUml=EditorUi.enableLogging||
"1"==urlParams.dev;EditorUi.isElectronApp=null!=window&&null!=window.process&&null!=window.process.versions&&null!=window.process.versions.electron;EditorUi.nativeFileSupport=!mxClient.IS_OP&&!EditorUi.isElectronApp&&"1"!=urlParams.extAuth&&"showSaveFilePicker"in window&&"showOpenFilePicker"in window;EditorUi.enableDrafts=!mxClient.IS_CHROMEAPP&&isLocalStorage&&"0"!=urlParams.drafts;EditorUi.scratchpadHelpLink="https://www.drawio.com/doc/faq/scratchpad";EditorUi.enableHtmlEditOption=!0;EditorUi.mermaidDiagramTypes=
"flowchart classDiagram sequenceDiagram stateDiagram mindmap graph erDiagram requirementDiagram journey gantt pie gitGraph".split(" ");EditorUi.defaultMermaidConfig={theme:"neutral",arrowMarkerAbsolute:!1,sequence:{diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,mirrorActors:!0,bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,showSequenceNumbers:!1},gantt:{useWidth:1E3,useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,
diff --git a/src/main/webapp/js/diagramly/sidebar/Sidebar-DFD.js b/src/main/webapp/js/diagramly/sidebar/Sidebar-DFD.js
index bd0f8cbdb..416cb6bf7 100644
--- a/src/main/webapp/js/diagramly/sidebar/Sidebar-DFD.js
+++ b/src/main/webapp/js/diagramly/sidebar/Sidebar-DFD.js
@@ -23,7 +23,7 @@
this.createVertexTemplateEntry('shape=rhombus;html=1;dashed=0;whiteSpace=wrap;perimeter=rhombusPerimeter;', w * 0.6, h * 0.5, '', 'Decision / Entity Relationship', null, null, this.getTagsForStencil(gn, 'decision entity relationship', dt).join(' ')),
this.createVertexTemplateEntry('shape=ellipse;html=1;dashed=0;whiteSpace=wrap;aspect=fixed;perimeter=ellipsePerimeter;', w * 0.3, h * 0.3, '', 'Reference', null, null, this.getTagsForStencil(gn, 'reference', dt).join(' ')),
this.createVertexTemplateEntry('shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;dashed=0;', w, h * 0.5, '', 'Product / Result', null, null, this.getTagsForStencil(gn, 'product result', dt).join(' ')),
- this.createVertexTemplateEntry('shape=manualInput;whiteSpace=wrap;html=1;dashed=0;size=15;', w, h * 0.5, '', 'Order / Command', null, null, this.getTagsForStencil(gn, 'order command', dt).join(' ')),
+ this.createVertexTemplateEntry('shape=manualInput;boundedLbl=1;whiteSpace=wrap;html=1;dashed=0;size=15;', w, h * 0.5, '', 'Order / Command', null, null, this.getTagsForStencil(gn, 'order command', dt).join(' ')),
this.createVertexTemplateEntry('shape=document;whiteSpace=wrap;html=1;boundedLbl=1;dashed=0;flipH=1;', w, h * 0.7, '', 'Information / Data Carrier / SOP', null, null, this.getTagsForStencil(gn, 'information data carrier sop', dt).join(' ')),
this.createVertexTemplateEntry('triangle;whiteSpace=wrap;html=1;dashed=0;direction=south;', w * 0.6, h * 0.6, '', 'Information/Data Carrier/SOP / Stop State', null, null, this.getTagsForStencil(gn, 'information data carrier sop', dt).join(' ')),
this.createVertexTemplateEntry(s + 'archive', w * 0.6, h * 0.6, '', 'Final Report / Archive', null, null, this.getTagsForStencil(gn, 'final report archive', dt).join(' ')),
diff --git a/src/main/webapp/js/diagramly/sidebar/Sidebar-Flowchart.js b/src/main/webapp/js/diagramly/sidebar/Sidebar-Flowchart.js
index 94c8ce49d..943a8b372 100644
--- a/src/main/webapp/js/diagramly/sidebar/Sidebar-Flowchart.js
+++ b/src/main/webapp/js/diagramly/sidebar/Sidebar-Flowchart.js
@@ -31,7 +31,7 @@
this.createVertexTemplateEntry(s + 'extract_or_measurement;whiteSpace=wrap;', w * 0.95, h * 0.6, '', 'Extract or Measurement', null, null, this.getTagsForStencil(gn, 'extract_or_measurement', dt).join(' ')),
this.createVertexTemplateEntry('shape=internalStorage;whiteSpace=wrap;html=1;dx=15;dy=15;rounded=1;arcSize=8;strokeWidth=2;', w * 0.7, h * 0.7, '', 'Internal Storage', null, null, this.getTagsForStencil(gn, 'internal_storage', dt).join(' ')),
this.createVertexTemplateEntry(s + 'loop_limit;whiteSpace=wrap;', w, h * 0.6, '', 'Loop Limit', null, null, this.getTagsForStencil(gn, 'loop_limit', dt).join(' ')),
- this.createVertexTemplateEntry('html=1;strokeWidth=2;shape=manualInput;whiteSpace=wrap;rounded=1;size=26;arcSize=11;', w, h * 0.6, '', 'Manual Input', null, null, this.getTagsForStencil(gn, 'manual_input', dt).join(' ')),
+ this.createVertexTemplateEntry('html=1;strokeWidth=2;shape=manualInput;boundedLbl=1;whiteSpace=wrap;rounded=1;size=26;arcSize=11;', w, h * 0.6, '', 'Manual Input', null, null, this.getTagsForStencil(gn, 'manual_input', dt).join(' ')),
this.createVertexTemplateEntry('verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=trapezoid;perimeter=trapezoidPerimeter;whiteSpace=wrap;size=0.23;arcSize=10;flipV=1;labelPosition=center;align=center;', w, h * 0.6, '', 'Manual Operation', null, null, this.getTagsForStencil(gn, 'manual_operation', dt).join(' ')),
this.createVertexTemplateEntry(s + 'merge_or_storage;whiteSpace=wrap;', w * 0.95, h * 0.6, '', 'Merge or Storage', null, null, this.getTagsForStencil(gn, 'merge_or_storage', dt).join(' ')),
this.createVertexTemplateEntry(s + 'multi-document;whiteSpace=wrap;', w * 0.88, h * 0.6, '', 'Multi-Document', null, null, this.getTagsForStencil(gn, 'multi-document', dt).join(' ')),
diff --git a/src/main/webapp/js/grapheditor/Format.js b/src/main/webapp/js/grapheditor/Format.js
index 95a907024..246114ff8 100644
--- a/src/main/webapp/js/grapheditor/Format.js
+++ b/src/main/webapp/js/grapheditor/Format.js
@@ -3851,7 +3851,7 @@ TextFormatPanel.prototype.addFont = function(container)
if (label != null && label.length > 0)
{
var tmp = document.createElement('div');
- tmp.innerHTML = label;
+ tmp.innerHTML = Graph.sanitizeHtml(label);
var elts = tmp.getElementsByTagName('*');
for (var j = 0; j < elts.length; j++)
diff --git a/src/main/webapp/js/grapheditor/Shapes.js b/src/main/webapp/js/grapheditor/Shapes.js
index 628c16ea1..a03911c1b 100644
--- a/src/main/webapp/js/grapheditor/Shapes.js
+++ b/src/main/webapp/js/grapheditor/Shapes.js
@@ -3290,6 +3290,18 @@
return true;
};
+ ManualInputShape.prototype.getLabelMargins = function(rect)
+ {
+ if (mxUtils.getValue(this.style, 'boundedLbl', false))
+ {
+ var s = parseFloat(mxUtils.getValue(this.style, 'size', this.size)) * this.scale;
+
+ return new mxRectangle(0, s, 0, 0);
+ }
+
+ return null;
+ };
+
ManualInputShape.prototype.redrawPath = function(c, x, y, w, h)
{
var s = Math.min(h, parseFloat(mxUtils.getValue(this.style, 'size', this.size)));
diff --git a/src/main/webapp/js/grapheditor/Sidebar.js b/src/main/webapp/js/grapheditor/Sidebar.js
index cb1a8556b..765a73394 100644
--- a/src/main/webapp/js/grapheditor/Sidebar.js
+++ b/src/main/webapp/js/grapheditor/Sidebar.js
@@ -2448,7 +2448,7 @@ Sidebar.prototype.createAdvancedShapes = function()
this.createVertexTemplateEntry('shape=ext;double=1;whiteSpace=wrap;html=1;aspect=fixed;', 80, 80, '', 'Double Square', null, null, 'double square'),
this.createVertexTemplateEntry('ellipse;shape=doubleEllipse;whiteSpace=wrap;html=1;aspect=fixed;', 80, 80, '', 'Double Circle', null, null, 'double circle'),
this.createVertexTemplateEntry('shape=tapeData;whiteSpace=wrap;html=1;perimeter=ellipsePerimeter;', 80, 80, '', 'Tape Data'),
- this.createVertexTemplateEntry('shape=manualInput;whiteSpace=wrap;html=1;', 80, 80, '', 'Manual Input'),
+ this.createVertexTemplateEntry('shape=manualInput;boundedLbl=1;whiteSpace=wrap;html=1;', 80, 80, '', 'Manual Input'),
this.createVertexTemplateEntry('shape=loopLimit;whiteSpace=wrap;html=1;', 100, 80, '', 'Loop Limit'),
this.createVertexTemplateEntry('shape=offPageConnector;whiteSpace=wrap;html=1;', 80, 80, '', 'Off Page Connector'),
this.createVertexTemplateEntry('shape=delay;whiteSpace=wrap;html=1;', 80, 40, '', 'Delay'),
diff --git a/src/main/webapp/js/integrate.min.js b/src/main/webapp/js/integrate.min.js
index c57e422d2..8852db9ee 100644
--- a/src/main/webapp/js/integrate.min.js
+++ b/src/main/webapp/js/integrate.min.js
@@ -69,7 +69,7 @@ b),-1!==c&&c===b&&(window.DRAWIO_LOG_URL="https://log.draw.io"))}})();"1"==urlPa
"se.diagrams.net"==window.location.hostname&&(urlParams.db="0",urlParams.od="0",urlParams.gh="0",urlParams.gl="0",urlParams.tr="0",urlParams.plugins="0",urlParams.mode="google",urlParams.lockdown="1",window.DRAWIO_GOOGLE_APP_ID=window.DRAWIO_GOOGLE_APP_ID||"184079235871",window.DRAWIO_GOOGLE_CLIENT_ID=window.DRAWIO_GOOGLE_CLIENT_ID||"184079235871-pjf5nn0lff27lk8qf0770gmffiv9gt61.apps.googleusercontent.com");"trello"==urlParams.mode&&(urlParams.tr="1");
"embed.diagrams.net"==window.location.hostname&&(urlParams.embed="1");(null==window.location.hash||1>=window.location.hash.length)&&null!=urlParams.open&&(window.location.hash=urlParams.open);"function"!==typeof window.structuredClone&&(window.structuredClone=function(a){return a});window.urlParams=window.urlParams||{};window.DOM_PURIFY_CONFIG=window.DOM_PURIFY_CONFIG||{ADD_TAGS:["use","foreignObject"],FORBID_TAGS:["form"],ALLOWED_URI_REGEXP:/^((?!javascript:).)*$/i,HTML_INTEGRATION_POINTS:{foreignobject:!0},ADD_ATTR:["target","content","pointer-events","requiredFeatures"]};window.MAX_REQUEST_SIZE=window.MAX_REQUEST_SIZE||10485760;window.MAX_AREA=window.MAX_AREA||225E6;window.EXPORT_URL=window.EXPORT_URL||"/export";window.SAVE_URL=window.SAVE_URL||"/save";
window.OPEN_URL=window.OPEN_URL||"/open";window.RESOURCES_PATH=window.RESOURCES_PATH||"resources";window.RESOURCE_BASE=window.RESOURCE_BASE||window.RESOURCES_PATH+"/grapheditor";window.STENCIL_PATH=window.STENCIL_PATH||"stencils";window.IMAGE_PATH=window.IMAGE_PATH||"images";window.STYLE_PATH=window.STYLE_PATH||"styles";window.CSS_PATH=window.CSS_PATH||"styles";window.OPEN_FORM=window.OPEN_FORM||"open.html";window.mxBasePath=window.mxBasePath||"mxgraph";
-window.mxImageBasePath=window.mxImageBasePath||"mxgraph/images";window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de","se"];var mxClient={VERSION:"29.7.11",IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),IS_OP:null!=navigator.userAgent&&(0<=navigator.userAgent.indexOf("Opera/")||0<=navigator.userAgent.indexOf("OPR/")),IS_OT:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Presto/")&&0>navigator.userAgent.indexOf("Presto/2.4.")&&0>navigator.userAgent.indexOf("Presto/2.3.")&&
+window.mxImageBasePath=window.mxImageBasePath||"mxgraph/images";window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de","se"];var mxClient={VERSION:"29.7.12",IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),IS_OP:null!=navigator.userAgent&&(0<=navigator.userAgent.indexOf("Opera/")||0<=navigator.userAgent.indexOf("OPR/")),IS_OT:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Presto/")&&0>navigator.userAgent.indexOf("Presto/2.4.")&&0>navigator.userAgent.indexOf("Presto/2.3.")&&
0>navigator.userAgent.indexOf("Presto/2.2.")&&0>navigator.userAgent.indexOf("Presto/2.1.")&&0>navigator.userAgent.indexOf("Presto/2.0.")&&0>navigator.userAgent.indexOf("Presto/1."),IS_SF:/Apple Computer, Inc/.test(navigator.vendor),IS_ANDROID:0<=navigator.appVersion.indexOf("Android"),IS_IOS:/iP(hone|od|ad)/.test(navigator.platform)||navigator.userAgent.match(/Mac/)&&navigator.maxTouchPoints&&2<navigator.maxTouchPoints,IS_WEBVIEW:/((iPhone|iPod|iPad).*AppleWebKit(?!.*Version)|; wv)/i.test(navigator.userAgent),
IS_GC:/Google Inc/.test(navigator.vendor),IS_CHROMEAPP:null!=window.chrome&&null!=chrome.app&&null!=chrome.app.runtime,IS_FF:-1<navigator.userAgent.toLowerCase().indexOf("firefox"),IS_MT:0<=navigator.userAgent.indexOf("Firefox/")&&0>navigator.userAgent.indexOf("Firefox/1.")&&0>navigator.userAgent.indexOf("Firefox/2.")||0<=navigator.userAgent.indexOf("Iceweasel/")&&0>navigator.userAgent.indexOf("Iceweasel/1.")&&0>navigator.userAgent.indexOf("Iceweasel/2.")||0<=navigator.userAgent.indexOf("SeaMonkey/")&&
0>navigator.userAgent.indexOf("SeaMonkey/1.")||0<=navigator.userAgent.indexOf("Iceape/")&&0>navigator.userAgent.indexOf("Iceape/1."),IS_SVG:"MICROSOFT INTERNET EXPLORER"!=navigator.appName.toUpperCase(),NO_FO:!document.createElementNS||"[object SVGForeignObjectElement]"!==document.createElementNS("http://www.w3.org/2000/svg","foreignObject").toString()||0<=navigator.userAgent.indexOf("Opera/"),IS_WIN:0<navigator.appVersion.indexOf("Win"),IS_MAC:0<navigator.appVersion.indexOf("Mac"),IS_CHROMEOS:/\bCrOS\b/.test(navigator.appVersion),
@@ -2495,7 +2495,7 @@ Sidebar.prototype.addBasicPalette=function(a){this.setCurrentSearchEntryLibrary(
120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;bottom=0;right=0;fillColor=none;",120,60,"","Partial Rectangle"),this.createVertexTemplateEntry("shape=partialRectangle;whiteSpace=wrap;html=1;top=0;left=0;fillColor=none;",120,60,"","Partial Rectangle")]);this.setCurrentSearchEntryLibrary()};
Sidebar.prototype.createAdvancedShapes=function(){var a=this,b=new mxCell("List Item",new mxGeometry(0,0,60,26),"text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;");b.vertex=!0;return[this.createVertexTemplateEntry("shape=ext;double=1;rounded=0;whiteSpace=wrap;html=1;",120,80,"","Double Rectangle",null,null,"rect rectangle box double"),this.createVertexTemplateEntry("shape=ext;double=1;rounded=1;whiteSpace=wrap;html=1;",
120,80,"","Double Rounded Rectangle",null,null,"rounded rect rectangle box double"),this.createVertexTemplateEntry("ellipse;shape=doubleEllipse;whiteSpace=wrap;html=1;",100,60,"","Double Ellipse",null,null,"oval ellipse start end state double"),this.createVertexTemplateEntry("shape=ext;double=1;whiteSpace=wrap;html=1;aspect=fixed;",80,80,"","Double Square",null,null,"double square"),this.createVertexTemplateEntry("ellipse;shape=doubleEllipse;whiteSpace=wrap;html=1;aspect=fixed;",80,80,"","Double Circle",
-null,null,"double circle"),this.createVertexTemplateEntry("shape=tapeData;whiteSpace=wrap;html=1;perimeter=ellipsePerimeter;",80,80,"","Tape Data"),this.createVertexTemplateEntry("shape=manualInput;whiteSpace=wrap;html=1;",80,80,"","Manual Input"),this.createVertexTemplateEntry("shape=loopLimit;whiteSpace=wrap;html=1;",100,80,"","Loop Limit"),this.createVertexTemplateEntry("shape=offPageConnector;whiteSpace=wrap;html=1;",80,80,"","Off Page Connector"),this.createVertexTemplateEntry("shape=delay;whiteSpace=wrap;html=1;",
+null,null,"double circle"),this.createVertexTemplateEntry("shape=tapeData;whiteSpace=wrap;html=1;perimeter=ellipsePerimeter;",80,80,"","Tape Data"),this.createVertexTemplateEntry("shape=manualInput;boundedLbl=1;whiteSpace=wrap;html=1;",80,80,"","Manual Input"),this.createVertexTemplateEntry("shape=loopLimit;whiteSpace=wrap;html=1;",100,80,"","Loop Limit"),this.createVertexTemplateEntry("shape=offPageConnector;whiteSpace=wrap;html=1;",80,80,"","Off Page Connector"),this.createVertexTemplateEntry("shape=delay;whiteSpace=wrap;html=1;",
80,40,"","Delay"),this.createVertexTemplateEntry("shape=display;whiteSpace=wrap;html=1;",80,40,"","Display"),this.createVertexTemplateEntry("shape=singleArrow;direction=west;whiteSpace=wrap;html=1;",100,60,"","Arrow Left"),this.createVertexTemplateEntry("shape=singleArrow;whiteSpace=wrap;html=1;",100,60,"","Arrow Right"),this.createVertexTemplateEntry("shape=singleArrow;direction=north;whiteSpace=wrap;html=1;",60,100,"","Arrow Up"),this.createVertexTemplateEntry("shape=singleArrow;direction=south;whiteSpace=wrap;html=1;",
60,100,"","Arrow Down"),this.createVertexTemplateEntry("shape=doubleArrow;whiteSpace=wrap;html=1;",100,60,"","Double Arrow"),this.createVertexTemplateEntry("shape=doubleArrow;direction=south;whiteSpace=wrap;html=1;",60,100,"","Double Arrow Vertical",null,null,"double arrow"),this.createVertexTemplateEntry("shape=actor;whiteSpace=wrap;html=1;",40,60,"","User",null,null,"user person human"),this.createVertexTemplateEntry("shape=cross;whiteSpace=wrap;html=1;",80,80,"","Cross"),this.createVertexTemplateEntry("shape=corner;whiteSpace=wrap;html=1;",
80,80,"","Corner"),this.createVertexTemplateEntry("shape=tee;whiteSpace=wrap;html=1;",80,80,"","Tee"),this.createVertexTemplateEntry("shape=datastore;whiteSpace=wrap;html=1;",60,60,"","Data Store",null,null,"data store cylinder database"),this.createVertexTemplateEntry("shape=orEllipse;perimeter=ellipsePerimeter;whiteSpace=wrap;html=1;backgroundOutline=1;",80,80,"","Or",null,null,"or circle oval ellipse"),this.createVertexTemplateEntry("shape=sumEllipse;perimeter=ellipsePerimeter;whiteSpace=wrap;html=1;backgroundOutline=1;",
@@ -2585,7 +2585,7 @@ arguments)};G.dragOver=function(ia,qa){mxDragSource.prototype.dragOver.apply(thi
null:ia.getCellGeometry(K.cell),Ka=ia.getCellGeometry(f[Fa]),za=ia.model.getParent(K.cell),ja=ua.translate.x*ua.scale,ya=ua.translate.y*ua.scale;null!=Ja&&!Ja.relative&&ia.model.isVertex(za)&&za!=ua.currentRoot&&(ya=ua.getState(za),ja=ya.x,ya=ya.y);Ja=Ka.x;Ka=Ka.y;ia.model.isEdge(f[Fa])&&(Ka=Ja=0);this.previewElement.style.left=(Pa.x-Ja)*ua.scale+ja+"px";this.previewElement.style.top=(Pa.y-Ka)*ua.scale+ya+"px";1==f.length&&(this.previewElement.style.width=Pa.width*ua.scale+"px",this.previewElement.style.height=
Pa.height*ua.scale+"px",null!=this.previewElement.firstChild&&(this.previewElement.firstChild.style.display="none",this.previewElement.className="geDragPreview",mxUtils.setOpacity(this.previewElement,100)));this.previewElement.style.display=""}else null!=G.currentHighlight&&null!=G.currentHighlight.state&&ia.model.isEdge(G.currentHighlight.state.cell)?(this.previewElement.style.left=Math.round(parseInt(this.previewElement.style.left)-g.width*ua.scale/2)+"px",this.previewElement.style.top=Math.round(parseInt(this.previewElement.style.top)-
g.height*ua.scale/2)+"px"):(this.previewElement.style.width=this.previewElementWidth,this.previewElement.style.height=this.previewElementHeight,this.previewElement.style.display="",null!=this.previewElement.firstChild&&(this.previewElement.firstChild.style.display="",mxUtils.setOpacity(this.previewElement,50),this.previewElement.className=""))}};var na=(new Date).getTime(),ba=0,fa=null,wa=this.editorUi.editor.graph.getCellStyle(f[0]);G.getDropTarget=mxUtils.bind(this,function(ia,qa,ua,Fa){var Pa=
-mxEvent.isAltDown(Fa)||null==f?null:ia.getCellAt(qa,ua,null,null,null,function(ya,ab,$a){return ia.isContainer(ya.cell)&&"0"!=mxUtils.getValue(ya.style,"dropTarget","1")});if(null!=Pa&&!this.graph.isCellConnectable(Pa)&&!this.graph.model.isEdge(Pa)){var Ja=this.graph.getModel().getParent(Pa);this.graph.getModel().isVertex(Ja)&&this.graph.isCellConnectable(Ja)&&(Pa=Ja)}ia.isCellLocked(Pa)&&(Pa=null);var Ka=ia.view.getState(Pa);Ja=U=null;fa!=Ka?(na=(new Date).getTime(),ba=0,fa=Ka,null!=this.updateThread&&
+mxEvent.isAltDown(Fa)||null==f?null:ia.getCellAt(qa,ua,null,null,null,function(ya,$a,ab){return ia.isContainer(ya.cell)&&"0"!=mxUtils.getValue(ya.style,"dropTarget","1")});if(null!=Pa&&!this.graph.isCellConnectable(Pa)&&!this.graph.model.isEdge(Pa)){var Ja=this.graph.getModel().getParent(Pa);this.graph.getModel().isVertex(Ja)&&this.graph.isCellConnectable(Ja)&&(Pa=Ja)}ia.isCellLocked(Pa)&&(Pa=null);var Ka=ia.view.getState(Pa);Ja=U=null;fa!=Ka?(na=(new Date).getTime(),ba=0,fa=Ka,null!=this.updateThread&&
window.clearTimeout(this.updateThread),null!=Ka&&(this.updateThread=window.setTimeout(function(){null==U&&(fa=Ka,G.getDropTarget(ia,qa,ua,Fa))},this.dropTargetDelay+10))):ba=(new Date).getTime()-na;if(D&&2500>ba&&null!=Ka&&!mxEvent.isShiftDown(Fa)&&(mxUtils.getValue(Ka.style,mxConstants.STYLE_SHAPE)!=mxUtils.getValue(wa,mxConstants.STYLE_SHAPE)&&(mxUtils.getValue(Ka.style,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE)!=mxConstants.NONE||mxUtils.getValue(Ka.style,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE)!=
mxConstants.NONE||mxUtils.getValue(Ka.style,mxConstants.STYLE_GRADIENTCOLOR,mxConstants.NONE)!=mxConstants.NONE)||"image"==mxUtils.getValue(wa,mxConstants.STYLE_SHAPE)||1500<ba||ia.model.isEdge(Ka.cell))&&ba>this.dropTargetDelay&&!this.isDropStyleTargetIgnored(Ka)&&(ia.model.isVertex(Ka.cell)&&null!=t||ia.model.isEdge(Ka.cell)&&ia.model.isEdge(f[0]))){if(ia.isCellEditable(Ka.cell)){N=Ka;var za=ia.model.isEdge(Ka.cell)?ia.view.getPoint(Ka):new mxPoint(Ka.getCenterX(),Ka.getCenterY());za=new mxRectangle(za.x-
this.refreshTarget.width/2,za.y-this.refreshTarget.height/2,this.refreshTarget.width,this.refreshTarget.height);Y.style.left=Math.floor(za.x)+"px";Y.style.top=Math.floor(za.y)+"px";null==V&&(ia.container.appendChild(Y),V=Y.parentNode);l(qa,ua,za,Y)}}else null==N||!mxUtils.contains(N,qa,ua)||1500<ba&&!mxEvent.isShiftDown(Fa)?(N=null,null!=V&&(Y.parentNode.removeChild(Y),V=null)):null!=N&&null!=V&&(za=ia.model.isEdge(N.cell)?ia.view.getPoint(N):new mxPoint(N.getCenterX(),N.getCenterY()),za=new mxRectangle(za.x-
@@ -3136,8 +3136,8 @@ function(u){return mxEvent.isShiftDown(u.getEvent())&&mxEvent.isAltDown(u.getEve
function(){var u=Ka.apply(this,arguments);null==this.connectShape&&this.isConnectHandleVisible()&&(this.connectShape=this.createSizer("copy",mxEvent.CONNECT_HANDLE,mxConstants.HANDLE_SIZE+3,mxConstants.HANDLE_FILLCOLOR),u.push(this.connectShape));return u};var za=mxVertexHandler.prototype.destroySizers;mxVertexHandler.prototype.destroySizers=function(){za.apply(this,arguments);this.connectShape=null};var ja=mxVertexHandler.prototype.getHandleForEvent;mxVertexHandler.prototype.getHandleForEvent=function(u){if(null!=
this.connectShape&&null!=this.connectShape.node&&"hidden"!=this.connectShape.node.style.visibility){var B=mxEvent.isMouseEvent(u.getEvent())?1:this.tolerance;B=this.allowHandleBoundsCheck&&0<B?new mxRectangle(u.getGraphX()-B,u.getGraphY()-B,2*B,2*B):null;if(u.isSource(this.connectShape)||null!=B&&this.connectShape.intersectsRectangle(B))return mxEvent.CONNECT_HANDLE}return ja.apply(this,arguments)};var ya=mxVertexHandler.prototype.mouseDown;mxVertexHandler.prototype.mouseDown=function(u,B){if(!B.isConsumed()&&
this.graph.isEnabled()&&null!=this.connectShape&&this.getHandleForEvent(B)==mxEvent.CONNECT_HANDLE){var C=B.getGraphX(),F=B.getGraphY();this.graph.popupMenuHandler.hideMenu();this.graph.stopEditing(!1);this.graph.connectHandleClickState=this.state;this.graph.connectionHandler.start(this.state,C,F);this.graph.isMouseTrigger=mxEvent.isMouseEvent(B.getEvent());this.graph.isMouseDown=!0;C=this.graph.selectionCellsHandler.getHandler(this.state.cell);null!=C&&C.setHandlesVisible(!1);B.consume()}else ya.apply(this,
-arguments)};var ab=mxGraphHandler.prototype.getBoundingBox;mxGraphHandler.prototype.getBoundingBox=function(u){if(null!=u&&1==u.length){var B=this.graph.getModel(),C=B.getParent(u[0]),F=this.graph.getCellGeometry(u[0]);if(B.isEdge(C)&&null!=F&&F.relative&&(B=this.graph.view.getState(u[0]),null!=B&&2>B.width&&2>B.height&&null!=B.text&&null!=B.text.boundingBox))return mxRectangle.fromRectangle(B.text.boundingBox)}return ab.apply(this,arguments)};var $a=mxGraphHandler.prototype.getGuideStates;mxGraphHandler.prototype.getGuideStates=
-function(){for(var u=$a.apply(this,arguments),B=[],C=0;C<u.length;C++)"1"!=mxUtils.getValue(u[C].style,"part","0")&&B.push(u[C]);return B};var db=mxVertexHandler.prototype.getSelectionBounds;mxVertexHandler.prototype.getSelectionBounds=function(u){var B=this.graph.getModel(),C=B.getParent(u.cell),F=this.graph.getCellGeometry(u.cell);return B.isEdge(C)&&null!=F&&F.relative&&2>u.width&&2>u.height&&null!=u.text&&null!=u.text.boundingBox?(B=u.text.unrotatedBoundingBox||u.text.boundingBox,new mxRectangle(Math.round(B.x),
+arguments)};var $a=mxGraphHandler.prototype.getBoundingBox;mxGraphHandler.prototype.getBoundingBox=function(u){if(null!=u&&1==u.length){var B=this.graph.getModel(),C=B.getParent(u[0]),F=this.graph.getCellGeometry(u[0]);if(B.isEdge(C)&&null!=F&&F.relative&&(B=this.graph.view.getState(u[0]),null!=B&&2>B.width&&2>B.height&&null!=B.text&&null!=B.text.boundingBox))return mxRectangle.fromRectangle(B.text.boundingBox)}return $a.apply(this,arguments)};var ab=mxGraphHandler.prototype.getGuideStates;mxGraphHandler.prototype.getGuideStates=
+function(){for(var u=ab.apply(this,arguments),B=[],C=0;C<u.length;C++)"1"!=mxUtils.getValue(u[C].style,"part","0")&&B.push(u[C]);return B};var db=mxVertexHandler.prototype.getSelectionBounds;mxVertexHandler.prototype.getSelectionBounds=function(u){var B=this.graph.getModel(),C=B.getParent(u.cell),F=this.graph.getCellGeometry(u.cell);return B.isEdge(C)&&null!=F&&F.relative&&2>u.width&&2>u.height&&null!=u.text&&null!=u.text.boundingBox?(B=u.text.unrotatedBoundingBox||u.text.boundingBox,new mxRectangle(Math.round(B.x),
Math.round(B.y),Math.round(B.width),Math.round(B.height))):db.apply(this,arguments)};var qb=mxVertexHandler.prototype.mouseDown;mxVertexHandler.prototype.mouseDown=function(u,B){var C=this.graph.getModel(),F=C.getParent(this.state.cell),J=this.graph.getCellGeometry(this.state.cell),T=this.getHandleForEvent(B);(T==mxEvent.ROTATION_HANDLE||T==mxEvent.CONNECT_HANDLE||!C.isEdge(F)||null==J||!J.relative||null==this.state||2<=this.state.width||2<=this.state.height)&&qb.apply(this,arguments)};mxVertexHandler.prototype.rotateClick=
function(){var u=mxUtils.getValue(this.state.style,mxConstants.STYLE_STROKECOLOR,mxConstants.NONE),B=mxUtils.getValue(this.state.style,mxConstants.STYLE_FILLCOLOR,mxConstants.NONE);this.state.view.graph.model.isVertex(this.state.cell)&&u==mxConstants.NONE&&B==mxConstants.NONE?(u=mxUtils.mod(mxUtils.getValue(this.state.style,mxConstants.STYLE_ROTATION,0)+90,360),this.state.view.graph.setCellStyles(mxConstants.STYLE_ROTATION,u,[this.state.cell])):this.state.view.graph.turnShapes([this.state.cell])};
var jb=mxVertexHandler.prototype.updateLivePreview;mxVertexHandler.prototype.updateLivePreview=function(u){if(null!=this.state&&this.graph.isAutosizeTextState(this.state)){var B=this.graph.view.scale,C=this.state.style,F=this.roundLength(this.bounds.width/B),J=this.roundLength(this.bounds.height/B);B=this.graph.cellRenderer.getLabelValue(this.state);if(null!=B&&0<B.length&&(F=this.graph.getAutosizeTextAvailableSpace(C,F,J,this.state),null!=F)){this.graph.isHtmlLabel(this.state.cell)||(B=mxUtils.htmlEntities(B,
@@ -3391,37 +3391,37 @@ h.cells);d.setCellStyles(mxConstants.STYLE_FONTCOLOR,la,h.cells);d.updateLabelEl
"100%";k.style.fontWeight="bold";Editor.enableShadowOption||(k.getElementsByTagName("input")[0].setAttribute("disabled","disabled"),mxUtils.setOpacity(k,60));d.cellEditor.isContentEditing()||(p.appendChild(qa),p.appendChild(k));a.appendChild(p);p=this.createPanel();p.style.paddingTop="2px";p.style.paddingBottom="4px";t=d.filterSelectionCells(mxUtils.bind(this,function(la){var Ca=d.view.getState(la);return null==Ca||d.getModel().isEdge(la)||d.isAutoSizeState(Ca)}));E=d.view.getState(d.getSelectionCell());
E=(k="1"==mxUtils.getValue(h.style,"html",0))&&(1<d.getSelectionCount()&&"1"==h.style.convertToSvg||1==d.getSelectionCount()&&null!=E&&null!=E.text&&null!=E.text.node&&0==E.text.node.getElementsByTagName("foreignObject").length)?"svgWhiteSpace":mxConstants.STYLE_WHITE_SPACE;E=this.createCellOption(mxResources.get("wordWrap"),E,null,"wrap","null",null,null,!0,t);E.style.fontWeight="bold";0<t.length&&p.appendChild(E);t=this.createCellOption(mxResources.get("formattedText"),"html",0,null,null,null,g.actions.get("formattedText"));
t.style.fontWeight="bold";p.appendChild(t);t=this.createCellOption(mxResources.get("lblToSvg"),"convertToSvg","0",null,null,function(la,Ca){for(var Aa=0;Aa<la.length;Aa++){var Wa=d.getCurrentCellStyle(la[Aa]);Ca?"wrap"==Wa[mxConstants.STYLE_WHITE_SPACE]&&d.setCellStyles("svgWhiteSpace","wrap",[la[Aa]]):"wrap"==Wa.svgWhiteSpace&&d.setCellStyles(mxConstants.STYLE_WHITE_SPACE,"wrap",[la[Aa]])}});t.style.fontWeight="bold";p.appendChild(t);if(k){oa={H1:1,H2:1,H3:1,H4:1,H5:1,H6:1,P:1,PRE:1,BLOCKQUOTE:1,
-DIV:1,SUP:1,SUB:1,B:1,I:1,SPAN:1,FONT:1,STRIKE:1,U:1,BR:1};U=!1;Z=d.getSelectionCells();for(k=0;k<Z.length&&!U;k++){var ua=d.getLabel(Z[k]);if(null!=ua&&0<ua.length)for(E=document.createElement("div"),E.innerHTML=ua,E=E.getElementsByTagName("*"),ua=0;ua<E.length;ua++)if(null==oa[E[ua].nodeName]||null!=E[ua].style&&""!=E[ua].style.backgroundColor){U=!0;break}}U&&(t.style.opacity="0.5",t.getElementsByTagName("input")[0].setAttribute("disabled","disabled"),t.setAttribute("title","Label contains unsupported HTML for SVG conversion. Supported: H1-H6, P, PRE, BLOCKQUOTE, DIV, B, I, U, STRIKE, SUP, SUB, SPAN, FONT, BR (without background color)."))}else t.style.opacity=
-"0.5",t.getElementsByTagName("input")[0].setAttribute("disabled","disabled");k=this.createCellOption(mxResources.get("autosizeText"),"autosizeText","0",null,null,mxUtils.bind(this,function(la,Ca){if(Ca)for(Ca=0;Ca<la.length;Ca++)d.model.isVertex(la[Ca])&&d.updateAutosizeTextFontSize(la[Ca])}));k.style.fontWeight="bold";0<h.vertices.length&&p.appendChild(k);if(!g.isOffline()||mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)t.getElementsByTagName("span")[0].style.maxWidth="172px",t.appendChild(g.menus.createHelpLink("https://github.com/jgraph/drawio/discussions/5165"));
-k=this.createPanel();k.style.height="86px";var Fa=this.addUnitInput(k,this.getUnit(),87,52,function(){qb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());Fa.setAttribute("title",mxResources.get("top"));var Pa=this.addUnitInput(k,this.getUnit(),16,52,function(){db.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());Pa.setAttribute("title",mxResources.get("global"));mxUtils.br(k);this.addLabel(k,mxResources.get("top"),87,64);this.addLabel(k,mxResources.get("global"),
-16,64);mxUtils.br(k);mxUtils.br(k);var Ja=this.addUnitInput(k,this.getUnit(),158,52,function(){nb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());Ja.setAttribute("title",mxResources.get("left"));var Ka=this.addUnitInput(k,this.getUnit(),87,52,function(){fb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());Ka.setAttribute("title",mxResources.get("bottom"));var za=this.addUnitInput(k,this.getUnit(),16,52,function(){jb.apply(this,arguments)},this.getUnitStep(),
-null,null,this.isFloatUnit());za.setAttribute("title",mxResources.get("right"));mxUtils.br(k);this.addLabel(k,mxResources.get("left"),158,64);this.addLabel(k,mxResources.get("bottom"),87,64);this.addLabel(k,mxResources.get("right"),16,64);if(d.cellEditor.isContentEditing()){var ja=null,ya=null;a.appendChild(this.createRelativeOption(mxResources.get("lineheight"),null,null,function(la){var Ca=""==la.value?120:parseInt(la.value);Ca=Math.max(0,isNaN(Ca)?120:Ca);if(window.getSelection){null!=ja&&(d.cellEditor.restoreSelection(ja),
-ja=null);var Aa=d.getSelectedEditingElement();if(null!=d.cellEditor.textarea&&Aa==d.cellEditor.textarea){var Wa=window.getSelection();if(Wa.getRangeAt&&0<Wa.rangeCount){var Va=Wa.getRangeAt(0);Aa=document.createElement("div");Aa.appendChild(Va.extractContents());d.cellEditor.textarea.innerHTML="";d.cellEditor.textarea.appendChild(Aa);Wa.removeAllRanges();Va=new Range;Va.selectNodeContents(Aa);Wa.addRange(Va)}}if(null!=Aa)for(Aa!=d.cellEditor.textarea&&e(Aa,Ca),Aa=Aa.getElementsByTagName("*"),Wa=window.getSelection(),
-Va=0;Va<Aa.length;Va++)Wa.containsNode(Aa[Va],!0)&&e(Aa[Va],Ca)}la.value=Ca+" %"},function(la){ya=la;mxEvent.addGestureListeners(la,mxUtils.bind(this,function(Ca){document.activeElement==d.cellEditor.textarea&&(ja=d.cellEditor.saveSelection())}));mxEvent.addListener(la,"touchstart",function(){document.activeElement==d.cellEditor.textarea&&(ja=d.cellEditor.saveSelection())});la.value="120 %"}));p=l.cloneNode(!1);g.toolbar.addItems(["link","image"],p,!0,[Editor.linkImage,Editor.imageImage]);k=[g.addButton(Editor.horizontalRuleImage,
-mxResources.get("insertHorizontalRule"),function(){document.execCommand("inserthorizontalrule",!1)},p),g.toolbar.addMenu(new Menu(mxUtils.bind(this,function(la){g.menus.addInsertTableItem(la,null,null,!1)})),null,Editor.tableImage,p)];k=this.createPanel();k.appendChild(this.createTitle(mxResources.get("insert")));k.appendChild(p);a.appendChild(k);t=l.cloneNode(!1);k=[g.addButton(Editor.addColumnLeftImage,mxResources.get("insertColumnBefore"),mxUtils.bind(this,function(){try{null!=W&&d.insertColumn(W,
-null!=ha?ha.cellIndex:0)}catch(la){g.handleError(la)}}),t),g.addButton(Editor.addColumnRightImage,mxResources.get("insertColumnAfter"),mxUtils.bind(this,function(){try{null!=W&&d.insertColumn(W,null!=ha?ha.cellIndex+1:-1)}catch(la){g.handleError(la)}}),t),g.addButton(Editor.removeColumnImage,mxResources.get("deleteColumn"),mxUtils.bind(this,function(){try{null!=W&&null!=ha&&d.deleteColumn(W,ha.cellIndex)}catch(la){g.handleError(la)}}),t),g.addButton(Editor.addRowAboveImage,mxResources.get("insertRowBefore"),
-mxUtils.bind(this,function(){try{null!=W&&null!=aa&&d.insertRow(W,aa.sectionRowIndex)}catch(la){g.handleError(la)}}),t),g.addButton(Editor.addRowBelowImage,mxResources.get("insertRowAfter"),mxUtils.bind(this,function(){try{null!=W&&null!=aa&&d.insertRow(W,aa.sectionRowIndex+1)}catch(la){g.handleError(la)}}),t),g.addButton(Editor.removeRowImage,mxResources.get("deleteRow"),mxUtils.bind(this,function(){try{null!=W&&null!=aa&&d.deleteRow(W,aa.sectionRowIndex)}catch(la){g.handleError(la)}}),t)];k[2].style.marginRight=
-"10px";p=this.createPanel();p.appendChild(this.createTitle(mxResources.get("table")));p.appendChild(t);l=l.cloneNode(!1);k=[g.addButton(Editor.strokeColorImage,mxResources.get("borderColor"),mxUtils.bind(this,function(la){if(null!=W){var Ca=W.style.borderColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(Aa,Wa,Va,u){return"#"+("0"+Number(Wa).toString(16)).substr(-2)+("0"+Number(Va).toString(16)).substr(-2)+("0"+Number(u).toString(16)).substr(-2)});g.pickColor(Ca,function(Aa){var Wa=
-null==ha||null!=la&&mxEvent.isShiftDown(la)?W:ha;null!=Wa&&(d.processElements(Wa,function(Va){Va.style.border=null}),null==Aa||Aa==mxConstants.NONE?(Wa.removeAttribute("border"),Wa.style.border="",Wa.style.borderCollapse=""):(Wa.setAttribute("border","1"),Wa.style.border="1px solid "+Aa,Wa.style.borderCollapse="collapse"))},null,null,null,mxResources.get("borderColor"))}}),l),g.addButton(Editor.fillColorImage,mxResources.get("backgroundColor"),mxUtils.bind(this,function(la){if(null!=W){var Ca=W.style.backgroundColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,
-function(Aa,Wa,Va,u){return"#"+("0"+Number(Wa).toString(16)).substr(-2)+("0"+Number(Va).toString(16)).substr(-2)+("0"+Number(u).toString(16)).substr(-2)});g.pickColor(Ca,function(Aa){var Wa=null==ha||null!=la&&mxEvent.isShiftDown(la)?W:ha;null!=Wa&&(d.processElements(Wa,function(Va){Va.style.backgroundColor=null}),Wa.style.backgroundColor=null==Aa||Aa==mxConstants.NONE?"":Aa)},null,null,null,mxResources.get("backgroundColor"))}}),l),g.addButton(Editor.spacingImage,mxResources.get("spacing"),function(){if(null!=
-W){var la=W.getAttribute("cellPadding")||0;la=new FilenameDialog(g,la,mxResources.get("apply"),mxUtils.bind(this,function(Ca){null!=Ca&&0<Ca.length?W.setAttribute("cellPadding",Ca):W.removeAttribute("cellPadding")}),mxResources.get("spacing"));g.showDialog(la.container,300,80,!0,!0);la.init()}},l),g.addButton(Editor.alignLeftImage,mxResources.get("left"),function(){null!=W&&W.setAttribute("align","left")},l),g.addButton(Editor.alignCenterImage,mxResources.get("center"),function(){null!=W&&W.setAttribute("align",
-"center")},l),g.addButton(Editor.alignRightImage,mxResources.get("right"),function(){null!=W&&W.setAttribute("align","right")},l)];k[2].style.marginRight="10px";p.appendChild(l);a.appendChild(p);var ab=p}else a.appendChild(p),l=this.createRelativeOption(mxResources.get("opacity"),mxConstants.STYLE_TEXT_OPACITY),l.style.borderTopStyle="solid",l.style.borderTopWidth="1px",l.style.padding="6px 0",a.appendChild(l),l=this.createCollapsibleSection(mxResources.get("spacing"),!0),l.contentDiv.appendChild(k),
-a.appendChild(l.wrapper);for(k=0;3>k;k++)(function(la){mxEvent.addListener(x[la],"click",function(){f(x[la],""==x[la].style.backgroundImage)})})(k);var $a=mxUtils.bind(this,function(la,Ca,Aa){h=g.getSelectionState();la=mxUtils.getValue(h.style,mxConstants.STYLE_FONTSTYLE,0);f(x[0],(la&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD);f(x[1],(la&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC);f(x[2],(la&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE);g.toolbar.setMenuText(v,mxUtils.getValue(h.style,
-mxConstants.STYLE_FONTFAMILY,Menus.prototype.defaultFont));f(z,"0"==mxUtils.getValue(h.style,mxConstants.STYLE_HORIZONTAL,"1"));if(Aa||document.activeElement!=na)la=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_FONTSIZE,Menus.prototype.defaultFontSize)),na.value=isNaN(la)?"":la+" "+Editor.fontSizeUnit;la=mxUtils.getValue(h.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER);f(D,la==mxConstants.ALIGN_LEFT);f(G,la==mxConstants.ALIGN_CENTER);f(H,la==mxConstants.ALIGN_RIGHT);la=mxUtils.getValue(h.style,
-mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE);f(K,la==mxConstants.ALIGN_TOP);f(O,la==mxConstants.ALIGN_MIDDLE);f(N,la==mxConstants.ALIGN_BOTTOM);la=mxUtils.getValue(h.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER);Ca=mxUtils.getValue(h.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE);ma.value=la==mxConstants.ALIGN_LEFT&&Ca==mxConstants.ALIGN_TOP?"topLeft":la==mxConstants.ALIGN_CENTER&&Ca==mxConstants.ALIGN_TOP?"top":la==mxConstants.ALIGN_RIGHT&&
-Ca==mxConstants.ALIGN_TOP?"topRight":la==mxConstants.ALIGN_LEFT&&Ca==mxConstants.ALIGN_BOTTOM?"bottomLeft":la==mxConstants.ALIGN_CENTER&&Ca==mxConstants.ALIGN_BOTTOM?"bottom":la==mxConstants.ALIGN_RIGHT&&Ca==mxConstants.ALIGN_BOTTOM?"bottomRight":la==mxConstants.ALIGN_LEFT?"left":la==mxConstants.ALIGN_RIGHT?"right":"center";la=mxUtils.getValue(h.style,mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT_TEXT_DIRECTION);la==mxConstants.TEXT_DIRECTION_RTL?M.value="rightToLeft":la==mxConstants.TEXT_DIRECTION_LTR?
-M.value="leftToRight":la!=mxConstants.TEXT_DIRECTION_AUTO&&h.html?la==mxConstants.TEXT_DIRECTION_VERTICAL_LR?M.value="vertical-leftToRight":la==mxConstants.TEXT_DIRECTION_VERTICAL_RL&&(M.value="vertical-rightToLeft"):M.value="automatic";if(Aa||document.activeElement!=Pa)la=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING,2)),Pa.value=isNaN(la)?"":this.inUnit(la)+" "+this.getUnit();if(Aa||document.activeElement!=Fa)la=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING_TOP,0)),
-Fa.value=isNaN(la)?"":this.inUnit(la)+" "+this.getUnit();if(Aa||document.activeElement!=za)la=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING_RIGHT,0)),za.value=isNaN(la)?"":this.inUnit(la)+" "+this.getUnit();if(Aa||document.activeElement!=Ka)la=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING_BOTTOM,0)),Ka.value=isNaN(la)?"":this.inUnit(la)+" "+this.getUnit();if(Aa||document.activeElement!=Ja)la=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING_LEFT,0)),Ja.value=
-isNaN(la)?"":this.inUnit(la)+" "+this.getUnit()});var db=this.installInputHandler(Pa,mxConstants.STYLE_SPACING,2,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var qb=this.installInputHandler(Fa,mxConstants.STYLE_SPACING_TOP,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var jb=this.installInputHandler(za,mxConstants.STYLE_SPACING_RIGHT,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var fb=this.installInputHandler(Ka,mxConstants.STYLE_SPACING_BOTTOM,0,-999,999,this.getUnit(" "),
-null,this.isFloatUnit(),!0);var nb=this.installInputHandler(Ja,mxConstants.STYLE_SPACING_LEFT,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);this.addKeyHandler(na,$a);this.addKeyHandler(Pa,$a);this.addKeyHandler(Fa,$a);this.addKeyHandler(za,$a);this.addKeyHandler(Ka,$a);this.addKeyHandler(Ja,$a);d.getModel().addListener(mxEvent.CHANGE,$a);this.listeners.push({destroy:function(){d.getModel().removeListener($a)}});$a();if(d.cellEditor.isContentEditing()){var hb=null,cb=!1;l=mxUtils.bind(this,
-function(){cb||(cb=!0,window.setTimeout(mxUtils.bind(this,function(){var la=d.getSelectedEditingElement();if(null!=la&&null!=d.cellEditor.textarea){var Ca=function(ea,ka){if(null!=ea&&null!=ka){if(ea==ka)return!0;if(ea.length>ka.length+1)return ea.substring(ea.length-ka.length-1,ea.length)=="-"+ka}return!1},Aa=function(ea){if(null!=d.getParentByName(la,ea,d.cellEditor.textarea))return!0;for(var ka=la;null!=ka&&1==ka.childNodes.length;)if(ka=ka.childNodes[0],ka.nodeName==ea)return!0;return!1},Wa=function(ea){for(;null!=
-ea&&ea!=d.cellEditor.textarea;){if("block"==mxUtils.getCurrentStyle(ea).display)return ea;ea=ea.parentNode}return null},Va=mxUtils.getCurrentStyle(la),u=la==d.cellEditor.textarea||""==la.style.lineHeight?null:la.style.lineHeight,B=la==d.cellEditor.textarea||""==la.style.fontSize?null:b(Va);if(window.getSelection)for(var C=la.getElementsByTagName("*"),F=window.getSelection(),J=0;J<C.length&&(!F.containsNode(C[J],!0)||null==C[J].style||(null==B&&""!=C[J].style.fontSize&&(B=parseFloat(C[J].style.fontSize)),
-null==u&&""!=C[J].style.lineHeight&&(u=C[J].style.lineHeight),null==B||null==u));J++);null==B&&(B=b(Va));if(null==u)for(C=la;null!=C&&C!=d.cellEditor.textarea.parentNode;){if(null!=C.style&&""!=C.style.lineHeight){u=C.style.lineHeight;break}C=C.parentNode}if(null!=Va){f(x[0],"bold"==Va.fontWeight||400<Va.fontWeight||Aa("B")||Aa("STRONG"));f(x[1],"italic"==Va.fontStyle||Aa("I")||Aa("EM"));f(x[2],"underline"==Va.textDecorationLine||Aa("U"));f(R,"line-through"==Va.textDecorationLine||Aa("STRIKE"));f(V,
-Aa("SUP"));f(Y,Aa("SUB"));var T=Wa(la);if(null!=T){Aa=function(ea,ka){pa.push({name:ea,dispName:ka,type:"string",getValue:function(){return X[ea]},valueChanged:function(Ba,Ea){var La=T.style,Sa=Ba;parseInt(Sa)==Sa&&(Sa+="px",null!=Ea&&(Ea.value=Sa));La[ea]=Sa;""==Ba&&null!=Ea&&(Ea.value=X[ea])}})};var X=mxUtils.getCurrentStyle(T),pa=[];Aa("paddingTop","Padding Top");Aa("paddingRight","Padding Right");Aa("paddingLeft","Padding Left");Aa("paddingBottom","Padding Bottom");Aa("marginTop","Margin Top");
-Aa("marginRight","Margin Right");Aa("marginLeft","Margin Left");Aa("marginBottom","Margin Bottom");Aa=this.createPanel();this.addProperties(Aa,pa,h,!0);null!=hb?hb.parentNode.replaceChild(Aa,hb):a.appendChild(Aa);hb=Aa}d.cellEditor.isTableSelected()?(f(ca,Ca(Va.textAlign,"justify")),f(D,Ca(Va.textAlign,"left")),f(G,Ca(Va.textAlign,"center")),f(H,Ca(Va.textAlign,"right"))):(Aa=d.cellEditor.align||mxUtils.getValue(h.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),Ca(Va.textAlign,"justify")?
-(f(ca,Ca(Va.textAlign,"justify")),f(D,!1),f(G,!1),f(H,!1)):(f(ca,!1),f(D,Aa==mxConstants.ALIGN_LEFT),f(G,Aa==mxConstants.ALIGN_CENTER),f(H,Aa==mxConstants.ALIGN_RIGHT)));W=d.getParentByName(la,"TABLE",d.cellEditor.textarea);aa=null==W?null:d.getParentByName(la,"TR",W);ha=null==W?null:d.getParentByNames(la,["TD","TH"],W);ab.style.display=null!=W?"":"none";document.activeElement!=na&&(na.value=isNaN(B)?"":B+" "+Editor.fontSizeUnit,"string"===typeof u&&0<u.indexOf("%")?ya.value=u.replace("%"," %"):(Ca=
-parseFloat(u),isNaN(Ca)?ya.value="120 %":ya.value=Math.round(100*Ca)+" %"));null!=wa&&(S=d.getTextColor(la,!0),wa(S,!0));null!=ba&&(fa=d.getTextColor(la,!1),ba(fa,!0));g.toolbar.setMenuText(v,mxUtils.getCssFontFamily(Va.fontFamily))}}cb=!1}),0))});mxEvent.addListener(d.cellEditor.textarea,"input",l);mxEvent.addListener(d.cellEditor.textarea,"touchend",l);mxEvent.addListener(d.cellEditor.textarea,"mouseup",l);mxEvent.addListener(d.cellEditor.textarea,"keyup",l);this.listeners.push({destroy:function(){}});
-l()}return a};StyleFormatPanel=function(a,b,e){BaseFormatPanel.call(this,a,b,e);this.init()};mxUtils.extend(StyleFormatPanel,BaseFormatPanel);
+DIV:1,SUP:1,SUB:1,B:1,I:1,SPAN:1,FONT:1,STRIKE:1,U:1,BR:1};U=!1;Z=d.getSelectionCells();for(k=0;k<Z.length&&!U;k++){var ua=d.getLabel(Z[k]);if(null!=ua&&0<ua.length)for(E=document.createElement("div"),E.innerHTML=Graph.sanitizeHtml(ua),E=E.getElementsByTagName("*"),ua=0;ua<E.length;ua++)if(null==oa[E[ua].nodeName]||null!=E[ua].style&&""!=E[ua].style.backgroundColor){U=!0;break}}U&&(t.style.opacity="0.5",t.getElementsByTagName("input")[0].setAttribute("disabled","disabled"),t.setAttribute("title",
+"Label contains unsupported HTML for SVG conversion. Supported: H1-H6, P, PRE, BLOCKQUOTE, DIV, B, I, U, STRIKE, SUP, SUB, SPAN, FONT, BR (without background color)."))}else t.style.opacity="0.5",t.getElementsByTagName("input")[0].setAttribute("disabled","disabled");k=this.createCellOption(mxResources.get("autosizeText"),"autosizeText","0",null,null,mxUtils.bind(this,function(la,Ca){if(Ca)for(Ca=0;Ca<la.length;Ca++)d.model.isVertex(la[Ca])&&d.updateAutosizeTextFontSize(la[Ca])}));k.style.fontWeight=
+"bold";0<h.vertices.length&&p.appendChild(k);if(!g.isOffline()||mxClient.IS_CHROMEAPP||EditorUi.isElectronApp)t.getElementsByTagName("span")[0].style.maxWidth="172px",t.appendChild(g.menus.createHelpLink("https://github.com/jgraph/drawio/discussions/5165"));k=this.createPanel();k.style.height="86px";var Fa=this.addUnitInput(k,this.getUnit(),87,52,function(){qb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());Fa.setAttribute("title",mxResources.get("top"));var Pa=this.addUnitInput(k,
+this.getUnit(),16,52,function(){db.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());Pa.setAttribute("title",mxResources.get("global"));mxUtils.br(k);this.addLabel(k,mxResources.get("top"),87,64);this.addLabel(k,mxResources.get("global"),16,64);mxUtils.br(k);mxUtils.br(k);var Ja=this.addUnitInput(k,this.getUnit(),158,52,function(){nb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());Ja.setAttribute("title",mxResources.get("left"));var Ka=this.addUnitInput(k,
+this.getUnit(),87,52,function(){fb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());Ka.setAttribute("title",mxResources.get("bottom"));var za=this.addUnitInput(k,this.getUnit(),16,52,function(){jb.apply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit());za.setAttribute("title",mxResources.get("right"));mxUtils.br(k);this.addLabel(k,mxResources.get("left"),158,64);this.addLabel(k,mxResources.get("bottom"),87,64);this.addLabel(k,mxResources.get("right"),16,64);
+if(d.cellEditor.isContentEditing()){var ja=null,ya=null;a.appendChild(this.createRelativeOption(mxResources.get("lineheight"),null,null,function(la){var Ca=""==la.value?120:parseInt(la.value);Ca=Math.max(0,isNaN(Ca)?120:Ca);if(window.getSelection){null!=ja&&(d.cellEditor.restoreSelection(ja),ja=null);var Aa=d.getSelectedEditingElement();if(null!=d.cellEditor.textarea&&Aa==d.cellEditor.textarea){var Wa=window.getSelection();if(Wa.getRangeAt&&0<Wa.rangeCount){var Va=Wa.getRangeAt(0);Aa=document.createElement("div");
+Aa.appendChild(Va.extractContents());d.cellEditor.textarea.innerHTML="";d.cellEditor.textarea.appendChild(Aa);Wa.removeAllRanges();Va=new Range;Va.selectNodeContents(Aa);Wa.addRange(Va)}}if(null!=Aa)for(Aa!=d.cellEditor.textarea&&e(Aa,Ca),Aa=Aa.getElementsByTagName("*"),Wa=window.getSelection(),Va=0;Va<Aa.length;Va++)Wa.containsNode(Aa[Va],!0)&&e(Aa[Va],Ca)}la.value=Ca+" %"},function(la){ya=la;mxEvent.addGestureListeners(la,mxUtils.bind(this,function(Ca){document.activeElement==d.cellEditor.textarea&&
+(ja=d.cellEditor.saveSelection())}));mxEvent.addListener(la,"touchstart",function(){document.activeElement==d.cellEditor.textarea&&(ja=d.cellEditor.saveSelection())});la.value="120 %"}));p=l.cloneNode(!1);g.toolbar.addItems(["link","image"],p,!0,[Editor.linkImage,Editor.imageImage]);k=[g.addButton(Editor.horizontalRuleImage,mxResources.get("insertHorizontalRule"),function(){document.execCommand("inserthorizontalrule",!1)},p),g.toolbar.addMenu(new Menu(mxUtils.bind(this,function(la){g.menus.addInsertTableItem(la,
+null,null,!1)})),null,Editor.tableImage,p)];k=this.createPanel();k.appendChild(this.createTitle(mxResources.get("insert")));k.appendChild(p);a.appendChild(k);t=l.cloneNode(!1);k=[g.addButton(Editor.addColumnLeftImage,mxResources.get("insertColumnBefore"),mxUtils.bind(this,function(){try{null!=W&&d.insertColumn(W,null!=ha?ha.cellIndex:0)}catch(la){g.handleError(la)}}),t),g.addButton(Editor.addColumnRightImage,mxResources.get("insertColumnAfter"),mxUtils.bind(this,function(){try{null!=W&&d.insertColumn(W,
+null!=ha?ha.cellIndex+1:-1)}catch(la){g.handleError(la)}}),t),g.addButton(Editor.removeColumnImage,mxResources.get("deleteColumn"),mxUtils.bind(this,function(){try{null!=W&&null!=ha&&d.deleteColumn(W,ha.cellIndex)}catch(la){g.handleError(la)}}),t),g.addButton(Editor.addRowAboveImage,mxResources.get("insertRowBefore"),mxUtils.bind(this,function(){try{null!=W&&null!=aa&&d.insertRow(W,aa.sectionRowIndex)}catch(la){g.handleError(la)}}),t),g.addButton(Editor.addRowBelowImage,mxResources.get("insertRowAfter"),
+mxUtils.bind(this,function(){try{null!=W&&null!=aa&&d.insertRow(W,aa.sectionRowIndex+1)}catch(la){g.handleError(la)}}),t),g.addButton(Editor.removeRowImage,mxResources.get("deleteRow"),mxUtils.bind(this,function(){try{null!=W&&null!=aa&&d.deleteRow(W,aa.sectionRowIndex)}catch(la){g.handleError(la)}}),t)];k[2].style.marginRight="10px";p=this.createPanel();p.appendChild(this.createTitle(mxResources.get("table")));p.appendChild(t);l=l.cloneNode(!1);k=[g.addButton(Editor.strokeColorImage,mxResources.get("borderColor"),
+mxUtils.bind(this,function(la){if(null!=W){var Ca=W.style.borderColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(Aa,Wa,Va,u){return"#"+("0"+Number(Wa).toString(16)).substr(-2)+("0"+Number(Va).toString(16)).substr(-2)+("0"+Number(u).toString(16)).substr(-2)});g.pickColor(Ca,function(Aa){var Wa=null==ha||null!=la&&mxEvent.isShiftDown(la)?W:ha;null!=Wa&&(d.processElements(Wa,function(Va){Va.style.border=null}),null==Aa||Aa==mxConstants.NONE?(Wa.removeAttribute("border"),Wa.style.border=
+"",Wa.style.borderCollapse=""):(Wa.setAttribute("border","1"),Wa.style.border="1px solid "+Aa,Wa.style.borderCollapse="collapse"))},null,null,null,mxResources.get("borderColor"))}}),l),g.addButton(Editor.fillColorImage,mxResources.get("backgroundColor"),mxUtils.bind(this,function(la){if(null!=W){var Ca=W.style.backgroundColor.replace(/\brgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/g,function(Aa,Wa,Va,u){return"#"+("0"+Number(Wa).toString(16)).substr(-2)+("0"+Number(Va).toString(16)).substr(-2)+("0"+
+Number(u).toString(16)).substr(-2)});g.pickColor(Ca,function(Aa){var Wa=null==ha||null!=la&&mxEvent.isShiftDown(la)?W:ha;null!=Wa&&(d.processElements(Wa,function(Va){Va.style.backgroundColor=null}),Wa.style.backgroundColor=null==Aa||Aa==mxConstants.NONE?"":Aa)},null,null,null,mxResources.get("backgroundColor"))}}),l),g.addButton(Editor.spacingImage,mxResources.get("spacing"),function(){if(null!=W){var la=W.getAttribute("cellPadding")||0;la=new FilenameDialog(g,la,mxResources.get("apply"),mxUtils.bind(this,
+function(Ca){null!=Ca&&0<Ca.length?W.setAttribute("cellPadding",Ca):W.removeAttribute("cellPadding")}),mxResources.get("spacing"));g.showDialog(la.container,300,80,!0,!0);la.init()}},l),g.addButton(Editor.alignLeftImage,mxResources.get("left"),function(){null!=W&&W.setAttribute("align","left")},l),g.addButton(Editor.alignCenterImage,mxResources.get("center"),function(){null!=W&&W.setAttribute("align","center")},l),g.addButton(Editor.alignRightImage,mxResources.get("right"),function(){null!=W&&W.setAttribute("align",
+"right")},l)];k[2].style.marginRight="10px";p.appendChild(l);a.appendChild(p);var $a=p}else a.appendChild(p),l=this.createRelativeOption(mxResources.get("opacity"),mxConstants.STYLE_TEXT_OPACITY),l.style.borderTopStyle="solid",l.style.borderTopWidth="1px",l.style.padding="6px 0",a.appendChild(l),l=this.createCollapsibleSection(mxResources.get("spacing"),!0),l.contentDiv.appendChild(k),a.appendChild(l.wrapper);for(k=0;3>k;k++)(function(la){mxEvent.addListener(x[la],"click",function(){f(x[la],""==x[la].style.backgroundImage)})})(k);
+var ab=mxUtils.bind(this,function(la,Ca,Aa){h=g.getSelectionState();la=mxUtils.getValue(h.style,mxConstants.STYLE_FONTSTYLE,0);f(x[0],(la&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD);f(x[1],(la&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC);f(x[2],(la&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE);g.toolbar.setMenuText(v,mxUtils.getValue(h.style,mxConstants.STYLE_FONTFAMILY,Menus.prototype.defaultFont));f(z,"0"==mxUtils.getValue(h.style,mxConstants.STYLE_HORIZONTAL,"1"));if(Aa||document.activeElement!=
+na)la=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_FONTSIZE,Menus.prototype.defaultFontSize)),na.value=isNaN(la)?"":la+" "+Editor.fontSizeUnit;la=mxUtils.getValue(h.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER);f(D,la==mxConstants.ALIGN_LEFT);f(G,la==mxConstants.ALIGN_CENTER);f(H,la==mxConstants.ALIGN_RIGHT);la=mxUtils.getValue(h.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE);f(K,la==mxConstants.ALIGN_TOP);f(O,la==mxConstants.ALIGN_MIDDLE);f(N,la==mxConstants.ALIGN_BOTTOM);
+la=mxUtils.getValue(h.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER);Ca=mxUtils.getValue(h.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE);ma.value=la==mxConstants.ALIGN_LEFT&&Ca==mxConstants.ALIGN_TOP?"topLeft":la==mxConstants.ALIGN_CENTER&&Ca==mxConstants.ALIGN_TOP?"top":la==mxConstants.ALIGN_RIGHT&&Ca==mxConstants.ALIGN_TOP?"topRight":la==mxConstants.ALIGN_LEFT&&Ca==mxConstants.ALIGN_BOTTOM?"bottomLeft":la==mxConstants.ALIGN_CENTER&&Ca==mxConstants.ALIGN_BOTTOM?
+"bottom":la==mxConstants.ALIGN_RIGHT&&Ca==mxConstants.ALIGN_BOTTOM?"bottomRight":la==mxConstants.ALIGN_LEFT?"left":la==mxConstants.ALIGN_RIGHT?"right":"center";la=mxUtils.getValue(h.style,mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT_TEXT_DIRECTION);la==mxConstants.TEXT_DIRECTION_RTL?M.value="rightToLeft":la==mxConstants.TEXT_DIRECTION_LTR?M.value="leftToRight":la!=mxConstants.TEXT_DIRECTION_AUTO&&h.html?la==mxConstants.TEXT_DIRECTION_VERTICAL_LR?M.value="vertical-leftToRight":la==mxConstants.TEXT_DIRECTION_VERTICAL_RL&&
+(M.value="vertical-rightToLeft"):M.value="automatic";if(Aa||document.activeElement!=Pa)la=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING,2)),Pa.value=isNaN(la)?"":this.inUnit(la)+" "+this.getUnit();if(Aa||document.activeElement!=Fa)la=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING_TOP,0)),Fa.value=isNaN(la)?"":this.inUnit(la)+" "+this.getUnit();if(Aa||document.activeElement!=za)la=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING_RIGHT,0)),za.value=isNaN(la)?
+"":this.inUnit(la)+" "+this.getUnit();if(Aa||document.activeElement!=Ka)la=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING_BOTTOM,0)),Ka.value=isNaN(la)?"":this.inUnit(la)+" "+this.getUnit();if(Aa||document.activeElement!=Ja)la=parseFloat(mxUtils.getValue(h.style,mxConstants.STYLE_SPACING_LEFT,0)),Ja.value=isNaN(la)?"":this.inUnit(la)+" "+this.getUnit()});var db=this.installInputHandler(Pa,mxConstants.STYLE_SPACING,2,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var qb=this.installInputHandler(Fa,
+mxConstants.STYLE_SPACING_TOP,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var jb=this.installInputHandler(za,mxConstants.STYLE_SPACING_RIGHT,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var fb=this.installInputHandler(Ka,mxConstants.STYLE_SPACING_BOTTOM,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);var nb=this.installInputHandler(Ja,mxConstants.STYLE_SPACING_LEFT,0,-999,999,this.getUnit(" "),null,this.isFloatUnit(),!0);this.addKeyHandler(na,ab);this.addKeyHandler(Pa,
+ab);this.addKeyHandler(Fa,ab);this.addKeyHandler(za,ab);this.addKeyHandler(Ka,ab);this.addKeyHandler(Ja,ab);d.getModel().addListener(mxEvent.CHANGE,ab);this.listeners.push({destroy:function(){d.getModel().removeListener(ab)}});ab();if(d.cellEditor.isContentEditing()){var hb=null,cb=!1;l=mxUtils.bind(this,function(){cb||(cb=!0,window.setTimeout(mxUtils.bind(this,function(){var la=d.getSelectedEditingElement();if(null!=la&&null!=d.cellEditor.textarea){var Ca=function(ea,ka){if(null!=ea&&null!=ka){if(ea==
+ka)return!0;if(ea.length>ka.length+1)return ea.substring(ea.length-ka.length-1,ea.length)=="-"+ka}return!1},Aa=function(ea){if(null!=d.getParentByName(la,ea,d.cellEditor.textarea))return!0;for(var ka=la;null!=ka&&1==ka.childNodes.length;)if(ka=ka.childNodes[0],ka.nodeName==ea)return!0;return!1},Wa=function(ea){for(;null!=ea&&ea!=d.cellEditor.textarea;){if("block"==mxUtils.getCurrentStyle(ea).display)return ea;ea=ea.parentNode}return null},Va=mxUtils.getCurrentStyle(la),u=la==d.cellEditor.textarea||
+""==la.style.lineHeight?null:la.style.lineHeight,B=la==d.cellEditor.textarea||""==la.style.fontSize?null:b(Va);if(window.getSelection)for(var C=la.getElementsByTagName("*"),F=window.getSelection(),J=0;J<C.length&&(!F.containsNode(C[J],!0)||null==C[J].style||(null==B&&""!=C[J].style.fontSize&&(B=parseFloat(C[J].style.fontSize)),null==u&&""!=C[J].style.lineHeight&&(u=C[J].style.lineHeight),null==B||null==u));J++);null==B&&(B=b(Va));if(null==u)for(C=la;null!=C&&C!=d.cellEditor.textarea.parentNode;){if(null!=
+C.style&&""!=C.style.lineHeight){u=C.style.lineHeight;break}C=C.parentNode}if(null!=Va){f(x[0],"bold"==Va.fontWeight||400<Va.fontWeight||Aa("B")||Aa("STRONG"));f(x[1],"italic"==Va.fontStyle||Aa("I")||Aa("EM"));f(x[2],"underline"==Va.textDecorationLine||Aa("U"));f(R,"line-through"==Va.textDecorationLine||Aa("STRIKE"));f(V,Aa("SUP"));f(Y,Aa("SUB"));var T=Wa(la);if(null!=T){Aa=function(ea,ka){pa.push({name:ea,dispName:ka,type:"string",getValue:function(){return X[ea]},valueChanged:function(Ba,Ea){var La=
+T.style,Sa=Ba;parseInt(Sa)==Sa&&(Sa+="px",null!=Ea&&(Ea.value=Sa));La[ea]=Sa;""==Ba&&null!=Ea&&(Ea.value=X[ea])}})};var X=mxUtils.getCurrentStyle(T),pa=[];Aa("paddingTop","Padding Top");Aa("paddingRight","Padding Right");Aa("paddingLeft","Padding Left");Aa("paddingBottom","Padding Bottom");Aa("marginTop","Margin Top");Aa("marginRight","Margin Right");Aa("marginLeft","Margin Left");Aa("marginBottom","Margin Bottom");Aa=this.createPanel();this.addProperties(Aa,pa,h,!0);null!=hb?hb.parentNode.replaceChild(Aa,
+hb):a.appendChild(Aa);hb=Aa}d.cellEditor.isTableSelected()?(f(ca,Ca(Va.textAlign,"justify")),f(D,Ca(Va.textAlign,"left")),f(G,Ca(Va.textAlign,"center")),f(H,Ca(Va.textAlign,"right"))):(Aa=d.cellEditor.align||mxUtils.getValue(h.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),Ca(Va.textAlign,"justify")?(f(ca,Ca(Va.textAlign,"justify")),f(D,!1),f(G,!1),f(H,!1)):(f(ca,!1),f(D,Aa==mxConstants.ALIGN_LEFT),f(G,Aa==mxConstants.ALIGN_CENTER),f(H,Aa==mxConstants.ALIGN_RIGHT)));W=d.getParentByName(la,
+"TABLE",d.cellEditor.textarea);aa=null==W?null:d.getParentByName(la,"TR",W);ha=null==W?null:d.getParentByNames(la,["TD","TH"],W);$a.style.display=null!=W?"":"none";document.activeElement!=na&&(na.value=isNaN(B)?"":B+" "+Editor.fontSizeUnit,"string"===typeof u&&0<u.indexOf("%")?ya.value=u.replace("%"," %"):(Ca=parseFloat(u),isNaN(Ca)?ya.value="120 %":ya.value=Math.round(100*Ca)+" %"));null!=wa&&(S=d.getTextColor(la,!0),wa(S,!0));null!=ba&&(fa=d.getTextColor(la,!1),ba(fa,!0));g.toolbar.setMenuText(v,
+mxUtils.getCssFontFamily(Va.fontFamily))}}cb=!1}),0))});mxEvent.addListener(d.cellEditor.textarea,"input",l);mxEvent.addListener(d.cellEditor.textarea,"touchend",l);mxEvent.addListener(d.cellEditor.textarea,"mouseup",l);mxEvent.addListener(d.cellEditor.textarea,"keyup",l);this.listeners.push({destroy:function(){}});l()}return a};StyleFormatPanel=function(a,b,e){BaseFormatPanel.call(this,a,b,e);this.init()};mxUtils.extend(StyleFormatPanel,BaseFormatPanel);
StyleFormatPanel.prototype.init=function(){var a=this.editorUi.getSelectionState();if(!a.containsLabel&&0<a.cells.length){a.containsImage&&1==a.vertices.length&&"image"==a.style.shape&&null!=a.style.image&&"data:image/svg+xml;"==String(a.style.image).substring(0,19)&&this.container.appendChild(this.addSvgStyles(this.createPanel()));if(a.fill){var b=this.createCollapsibleSection(mxResources.get("fill"),!1);b.contentDiv.appendChild(this.addFill(this.createPanel()));this.container.appendChild(b.wrapper)}b=
this.createCollapsibleSection(mxResources.get("line"),!1);b.contentDiv.appendChild(this.addStroke(this.createPanel()));this.container.appendChild(b.wrapper);b=this.addLineJumps(this.createPanel());var e=this.createCollapsibleSection(mxResources.get("lineJumps"),!0);e.contentDiv.appendChild(b);this.container.appendChild(e.wrapper);this.syncCollapsibleVisibility(e.wrapper,b);b=this.createRelativeOption(mxResources.get("opacity"),mxConstants.STYLE_OPACITY);b.style.borderTopStyle="solid";b.style.borderTopWidth=
"1px";b.style.padding="6px 0";this.container.appendChild(b);b=this.createCollapsibleSection(mxResources.get("effects"),!0);b.contentDiv.appendChild(this.addEffects(this.createPanel()));this.container.appendChild(b.wrapper)}b=this.createPanel();1==a.cells.length&&(this.addEditOps(b),null!=b.firstChild&&mxUtils.br(b));1<=a.cells.length&&this.addStyleOps(b);null!=b.firstChild&&this.container.appendChild(b)};
@@ -3564,7 +3564,7 @@ function x(){mxShape.call(this)}function z(c,m,q,n){mxShape.call(this);this.boun
this.canvas.setLineCap("round");this.defaultVariation=m;this.originalLineTo=this.canvas.lineTo;this.canvas.lineTo=mxUtils.bind(this,aa.prototype.lineTo);this.originalMoveTo=this.canvas.moveTo;this.canvas.moveTo=mxUtils.bind(this,aa.prototype.moveTo);this.originalClose=this.canvas.close;this.canvas.close=mxUtils.bind(this,aa.prototype.close);this.originalQuadTo=this.canvas.quadTo;this.canvas.quadTo=mxUtils.bind(this,aa.prototype.quadTo);this.originalCurveTo=this.canvas.curveTo;this.canvas.curveTo=
mxUtils.bind(this,aa.prototype.curveTo);this.originalArcTo=this.canvas.arcTo;this.canvas.arcTo=mxUtils.bind(this,aa.prototype.arcTo)}function ca(){mxRectangleShape.call(this)}function Y(){mxRectangleShape.call(this)}function V(){mxActor.call(this)}function ma(){mxActor.call(this)}function oa(){mxActor.call(this)}function L(){mxRectangleShape.call(this)}function U(){mxRectangleShape.call(this)}function M(){mxCylinder.call(this)}function P(){mxShape.call(this)}function Z(){mxShape.call(this)}function na(){mxEllipse.call(this)}
function ba(){mxShape.call(this)}function fa(){mxShape.call(this)}function wa(){mxRectangleShape.call(this)}function S(){mxShape.call(this)}function ta(){mxShape.call(this)}function ia(){mxShape.call(this)}function qa(){mxShape.call(this)}function ua(){mxShape.call(this)}function Fa(){mxCylinder.call(this)}function Pa(){mxCylinder.call(this)}function Ja(){mxRectangleShape.call(this)}function Ka(){mxDoubleEllipse.call(this)}function za(){mxDoubleEllipse.call(this)}function ja(){mxArrowConnector.call(this);
-this.spacing=0}function ya(){mxArrowConnector.call(this);this.spacing=0}function ab(){mxActor.call(this)}function $a(){mxRectangleShape.call(this)}function db(){mxActor.call(this)}function qb(){mxActor.call(this)}function jb(){mxActor.call(this)}function fb(){mxActor.call(this)}function nb(){mxActor.call(this)}function hb(){mxActor.call(this)}function cb(){mxActor.call(this)}function la(){mxActor.call(this)}function Ca(){mxActor.call(this)}function Aa(){mxActor.call(this)}function Wa(){mxEllipse.call(this)}
+this.spacing=0}function ya(){mxArrowConnector.call(this);this.spacing=0}function $a(){mxActor.call(this)}function ab(){mxRectangleShape.call(this)}function db(){mxActor.call(this)}function qb(){mxActor.call(this)}function jb(){mxActor.call(this)}function fb(){mxActor.call(this)}function nb(){mxActor.call(this)}function hb(){mxActor.call(this)}function cb(){mxActor.call(this)}function la(){mxActor.call(this)}function Ca(){mxActor.call(this)}function Aa(){mxActor.call(this)}function Wa(){mxEllipse.call(this)}
function Va(){mxEllipse.call(this)}function u(){mxEllipse.call(this)}function B(){mxRhombus.call(this)}function C(){mxEllipse.call(this)}function F(){mxEllipse.call(this)}function J(){mxEllipse.call(this)}function T(){mxEllipse.call(this)}function X(){mxActor.call(this)}function pa(){mxActor.call(this)}function ea(){mxActor.call(this)}function ka(c,m,q,n){mxShape.call(this);this.bounds=c;this.fill=m;this.stroke=q;this.strokewidth=null!=n?n:1;this.rectStyle="square";this.size=10;this.absoluteCornerSize=
!0;this.indent=2;this.rectOutline="single"}function Ba(){mxConnector.call(this)}function Ea(){mxConnector.call(this)}function La(){mxActor.call(this)}function Sa(c,m,q,n,r,w,y,I,A,da){y+=A;var Q=n.clone();n.x-=r*(2*y+A);n.y-=w*(2*y+A);r*=y+A;w*=y+A;return function(){c.ellipse(Q.x-r-y,Q.y-w-y,2*y,2*y);da?c.fillAndStroke():c.stroke()}}function Ra(){mxRectangleShape.call(this)}mxUtils.extend(a,mxShape);a.prototype.updateBoundsFromLine=function(){var c=null;if(null!=this.line)for(var m=0;m<this.line.length;m++){var q=
this.line[m];null!=q&&(q=new mxRectangle(q.x,q.y,this.strokewidth,this.strokewidth),null==c?c=q:c.add(q))}this.bounds=null!=c?c:new mxRectangle};a.prototype.paintVertexShape=function(c,m,q,n,r){this.paintTableLine(c,this.line,0,0)};a.prototype.paintTableLine=function(c,m,q,n){if(null!=m){var r=null;c.begin();for(var w=0;w<m.length;w++){var y=m[w];null!=y&&(null==r?c.moveTo(y.x+q,y.y+n):null!=r&&c.lineTo(y.x+q,y.y+n));r=y}c.end();c.stroke()}};a.prototype.intersectsRectangle=function(c){var m=!1;if(mxShape.prototype.intersectsRectangle.apply(this,
@@ -3657,182 +3657,183 @@ parseFloat(mxUtils.getValue(this.style,"jettyWidth",this.jettyWidth));m=parseFlo
mxCellRenderer.registerShape("component",Pa);mxUtils.extend(Ja,mxRectangleShape);Ja.prototype.paintForeground=function(c,m,q,n,r){var w=n/2,y=r/2,I=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;c.begin();this.addPoints(c,[new mxPoint(m+w,q),new mxPoint(m+n,q+y),new mxPoint(m+w,q+r),new mxPoint(m,q+y)],this.isRounded,I,!0);c.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("associativeEntity",Ja);mxUtils.extend(Ka,
mxDoubleEllipse);Ka.prototype.outerStroke=!0;Ka.prototype.paintVertexShape=function(c,m,q,n,r){var w=Math.min(4,Math.min(n/5,r/5));0<n&&0<r&&(c.ellipse(m+w,q+w,n-2*w,r-2*w),c.fillAndStroke());c.setShadow(!1);this.outerStroke&&(c.ellipse(m,q,n,r),c.stroke())};mxCellRenderer.registerShape("endState",Ka);mxUtils.extend(za,Ka);za.prototype.outerStroke=!1;mxCellRenderer.registerShape("startState",za);mxUtils.extend(ja,mxArrowConnector);ja.prototype.defaultWidth=4;ja.prototype.isOpenEnded=function(){return!0};
ja.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-1)};ja.prototype.isArrowRounded=function(){return this.isRounded};mxCellRenderer.registerShape("link",ja);mxUtils.extend(ya,mxArrowConnector);ya.prototype.defaultWidth=10;ya.prototype.defaultArrowWidth=20;ya.prototype.getStartArrowWidth=function(){return this.getEdgeWidth()+mxUtils.getNumber(this.style,"startWidth",this.defaultArrowWidth)};ya.prototype.getEndArrowWidth=function(){return this.getEdgeWidth()+
-mxUtils.getNumber(this.style,"endWidth",this.defaultArrowWidth)};ya.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-1)};mxCellRenderer.registerShape("flexArrow",ya);mxUtils.extend(ab,mxActor);ab.prototype.size=30;ab.prototype.isRoundable=function(){return!0};ab.prototype.redrawPath=function(c,m,q,n,r){m=Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size)));q=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,
-mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,r),new mxPoint(0,m),new mxPoint(n,0),new mxPoint(n,r)],this.isRounded,q,!0);c.end()};mxCellRenderer.registerShape("manualInput",ab);mxUtils.extend($a,mxRectangleShape);$a.prototype.dx=20;$a.prototype.dy=20;$a.prototype.isHtmlAllowed=function(){return!1};$a.prototype.paintForeground=function(c,m,q,n,r){mxRectangleShape.prototype.paintForeground.apply(this,arguments);var w=0;if(this.isRounded){var y=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,
-100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100;w=Math.max(w,Math.min(n*y,r*y))}y=Math.max(w,Math.min(n,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));w=Math.max(w,Math.min(r,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));c.begin();c.moveTo(m,q+w);c.lineTo(m+n,q+w);c.end();c.stroke();c.begin();c.moveTo(m+y,q);c.lineTo(m+y,q+r);c.end();c.stroke()};mxCellRenderer.registerShape("internalStorage",$a);mxUtils.extend(db,mxActor);db.prototype.dx=20;db.prototype.dy=20;db.prototype.isRoundable=
-function(){return!0};db.prototype.redrawPath=function(c,m,q,n,r){m=Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));q=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",this.size));var w=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(n,0),new mxPoint(n,q),new mxPoint(m,q),new mxPoint(m,r),new mxPoint(0,r)],this.isRounded,
-w,!0);c.end()};mxCellRenderer.registerShape("corner",db);mxUtils.extend(qb,mxActor);qb.prototype.redrawPath=function(c,m,q,n,r){c.moveTo(0,0);c.lineTo(0,r);c.end();c.moveTo(n,0);c.lineTo(n,r);c.end();c.moveTo(0,r/2);c.lineTo(n,r/2);c.end()};mxCellRenderer.registerShape("crossbar",qb);mxUtils.extend(jb,mxActor);jb.prototype.dx=20;jb.prototype.dy=20;jb.prototype.isRoundable=function(){return!0};jb.prototype.redrawPath=function(c,m,q,n,r){m=Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,
-"dx",this.dx))));q=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",this.size));var w=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(n,0),new mxPoint(n,q),new mxPoint((n+m)/2,q),new mxPoint((n+m)/2,r),new mxPoint((n-m)/2,r),new mxPoint((n-m)/2,q),new mxPoint(0,q)],this.isRounded,w,!0);c.end()};mxCellRenderer.registerShape("tee",jb);mxUtils.extend(fb,
-mxActor);fb.prototype.arrowWidth=.3;fb.prototype.arrowSize=.2;fb.prototype.isRoundable=function(){return!0};fb.prototype.redrawPath=function(c,m,q,n,r){var w=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth))));m=n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",this.arrowSize))));q=(r-w)/2;w=q+w;var y=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,q),new mxPoint(n-
-m,q),new mxPoint(n-m,0),new mxPoint(n,r/2),new mxPoint(n-m,r),new mxPoint(n-m,w),new mxPoint(0,w)],this.isRounded,y,!0);c.end()};mxCellRenderer.registerShape("singleArrow",fb);mxUtils.extend(nb,mxActor);nb.prototype.isRoundable=function(){return!0};nb.prototype.redrawPath=function(c,m,q,n,r){var w=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",fb.prototype.arrowWidth))));m=n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",fb.prototype.arrowSize))));
-q=(r-w)/2;w=q+w;var y=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,r/2),new mxPoint(m,0),new mxPoint(m,q),new mxPoint(n-m,q),new mxPoint(n-m,0),new mxPoint(n,r/2),new mxPoint(n-m,r),new mxPoint(n-m,w),new mxPoint(m,w),new mxPoint(m,r)],this.isRounded,y,!0);c.end()};mxCellRenderer.registerShape("doubleArrow",nb);mxUtils.extend(hb,mxActor);hb.prototype.size=.1;hb.prototype.fixedSize=20;hb.prototype.redrawPath=function(c,m,q,n,r){m=
-"0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.moveTo(m,0);c.lineTo(n,0);c.quadTo(n-2*m,r/2,n,r);c.lineTo(m,r);c.quadTo(m-2*m,r/2,m,0);c.close();c.end()};mxCellRenderer.registerShape("dataStorage",hb);mxUtils.extend(cb,mxActor);cb.prototype.redrawPath=function(c,m,q,n,r){c.moveTo(0,0);c.quadTo(n,0,n,r/2);c.quadTo(n,r,0,r);c.close();
-c.end()};mxCellRenderer.registerShape("or",cb);mxUtils.extend(la,mxActor);la.prototype.redrawPath=function(c,m,q,n,r){c.moveTo(0,0);c.quadTo(n,0,n,r/2);c.quadTo(n,r,0,r);c.quadTo(n/2,r/2,0,0);c.close();c.end()};mxCellRenderer.registerShape("xor",la);mxUtils.extend(Ca,mxActor);Ca.prototype.size=20;Ca.prototype.isRoundable=function(){return!0};Ca.prototype.redrawPath=function(c,m,q,n,r){m=Math.min(n/2,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))));q=mxUtils.getValue(this.style,
-mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(m,0),new mxPoint(n-m,0),new mxPoint(n,.8*m),new mxPoint(n,r),new mxPoint(0,r),new mxPoint(0,.8*m)],this.isRounded,q,!0);c.end()};mxCellRenderer.registerShape("loopLimit",Ca);mxUtils.extend(Aa,mxActor);Aa.prototype.size=.375;Aa.prototype.isRoundable=function(){return!0};Aa.prototype.redrawPath=function(c,m,q,n,r){m=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));q=mxUtils.getValue(this.style,
-mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(n,0),new mxPoint(n,r-m),new mxPoint(n/2,r),new mxPoint(0,r-m)],this.isRounded,q,!0);c.end()};mxCellRenderer.registerShape("offPageConnector",Aa);mxUtils.extend(Wa,mxEllipse);Wa.prototype.paintVertexShape=function(c,m,q,n,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.begin();c.moveTo(m+n/2,q+r);c.lineTo(m+n,q+r);c.end();c.stroke()};mxCellRenderer.registerShape("tapeData",Wa);mxUtils.extend(Va,
-mxEllipse);Va.prototype.paintVertexShape=function(c,m,q,n,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(m,q+r/2);c.lineTo(m+n,q+r/2);c.end();c.stroke();c.begin();c.moveTo(m+n/2,q);c.lineTo(m+n/2,q+r);c.end();c.stroke()};mxCellRenderer.registerShape("orEllipse",Va);mxUtils.extend(u,mxEllipse);u.prototype.paintVertexShape=function(c,m,q,n,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(m+.145*n,q+.145*
-r);c.lineTo(m+.855*n,q+.855*r);c.end();c.stroke();c.begin();c.moveTo(m+.855*n,q+.145*r);c.lineTo(m+.145*n,q+.855*r);c.end();c.stroke()};mxCellRenderer.registerShape("sumEllipse",u);mxUtils.extend(B,mxRhombus);B.prototype.paintVertexShape=function(c,m,q,n,r){mxRhombus.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(m,q+r/2);c.lineTo(m+n,q+r/2);c.end();c.stroke()};mxCellRenderer.registerShape("sortShape",B);mxUtils.extend(C,mxEllipse);C.prototype.paintVertexShape=
-function(c,m,q,n,r){c.begin();c.moveTo(m,q);c.lineTo(m+n,q);c.lineTo(m+n/2,q+r/2);c.close();c.fillAndStroke();c.begin();c.moveTo(m,q+r);c.lineTo(m+n,q+r);c.lineTo(m+n/2,q+r/2);c.close();c.fillAndStroke()};mxCellRenderer.registerShape("collate",C);mxUtils.extend(F,mxEllipse);F.prototype.paintVertexShape=function(c,m,q,n,r){var w=c.state.strokeWidth/2,y=10+2*w,I=q+r-y/2;c.begin();c.moveTo(m,q);c.lineTo(m,q+r);c.moveTo(m+w,I);c.lineTo(m+w+y,I-y/2);c.moveTo(m+w,I);c.lineTo(m+w+y,I+y/2);c.moveTo(m+w,I);
-c.lineTo(m+n-w,I);c.moveTo(m+n,q);c.lineTo(m+n,q+r);c.moveTo(m+n-w,I);c.lineTo(m+n-y-w,I-y/2);c.moveTo(m+n-w,I);c.lineTo(m+n-y-w,I+y/2);c.end();c.stroke()};mxCellRenderer.registerShape("dimension",F);mxUtils.extend(J,mxEllipse);J.prototype.drawHidden=!0;J.prototype.paintVertexShape=function(c,m,q,n,r){this.outline||c.setStrokeColor(null);if(null!=this.style){var w=c.pointerEvents,y=null!=this.fill&&this.fill!=mxConstants.NONE;"1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1")||
-y||(c.pointerEvents=!1);var I="1"==mxUtils.getValue(this.style,"top","1"),A="1"==mxUtils.getValue(this.style,"left","1"),da="1"==mxUtils.getValue(this.style,"right","1"),Q="1"==mxUtils.getValue(this.style,"bottom","1");this.drawHidden||y||this.outline||I||da||Q||A?(c.rect(m,q,n,r),c.fill(),c.pointerEvents=w,c.setStrokeColor(this.stroke),c.setLineCap("square"),c.begin(),c.moveTo(m,q),this.outline||I?c.lineTo(m+n,q):c.moveTo(m+n,q),this.outline||da?c.lineTo(m+n,q+r):c.moveTo(m+n,q+r),this.outline||
-Q?c.lineTo(m,q+r):c.moveTo(m,q+r),(this.outline||A)&&c.lineTo(m,q),c.end(),c.stroke(),c.setLineCap("flat")):c.setStrokeColor(this.stroke)}};mxCellRenderer.registerShape("partialRectangle",J);mxUtils.extend(T,mxEllipse);T.prototype.paintVertexShape=function(c,m,q,n,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();"vertical"==mxUtils.getValue(this.style,"line")?(c.moveTo(m+n/2,q),c.lineTo(m+n/2,q+r)):(c.moveTo(m,q+r/2),c.lineTo(m+n,q+r/2));c.end();c.stroke()};
-mxCellRenderer.registerShape("lineEllipse",T);mxUtils.extend(X,mxActor);X.prototype.redrawPath=function(c,m,q,n,r){m=Math.min(n,r/2);c.moveTo(0,0);c.lineTo(n-m,0);c.quadTo(n,0,n,r/2);c.quadTo(n,r,n-m,r);c.lineTo(0,r);c.close();c.end()};mxCellRenderer.registerShape("delay",X);mxUtils.extend(pa,mxActor);pa.prototype.size=.2;pa.prototype.redrawPath=function(c,m,q,n,r){m=Math.min(r,n);var w=Math.max(0,Math.min(m,m*parseFloat(mxUtils.getValue(this.style,"size",this.size))));m=(r-w)/2;q=m+w;var y=(n-w)/
-2;w=y+w;c.moveTo(0,m);c.lineTo(y,m);c.lineTo(y,0);c.lineTo(w,0);c.lineTo(w,m);c.lineTo(n,m);c.lineTo(n,q);c.lineTo(w,q);c.lineTo(w,r);c.lineTo(y,r);c.lineTo(y,q);c.lineTo(0,q);c.close();c.end()};mxCellRenderer.registerShape("cross",pa);mxUtils.extend(ea,mxActor);ea.prototype.size=.25;ea.prototype.redrawPath=function(c,m,q,n,r){m=Math.min(n,r/2);q=Math.min(n-m,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*n);c.moveTo(0,r/2);c.lineTo(q,0);c.lineTo(n-m,0);c.quadTo(n,0,n,r/2);
-c.quadTo(n,r,n-m,r);c.lineTo(q,r);c.close();c.end()};mxCellRenderer.registerShape("display",ea);mxUtils.extend(ka,mxActor);ka.prototype.cst={RECT2:"mxgraph.basic.rect"};ka.prototype.customProperties=[{name:"rectStyle",dispName:"Style",type:"enum",defVal:"square",enumList:[{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"size",dispName:"Corner Size",type:"float",defVal:10},{name:"absoluteCornerSize",
-dispName:"Abs. Corner Size",type:"bool",defVal:!0},{name:"indent",dispName:"Indent",type:"float",defVal:2},{name:"rectOutline",dispName:"Outline",type:"enum",defVal:"single",enumList:[{val:"single",dispName:"Single"},{val:"double",dispName:"Double"},{val:"frame",dispName:"Frame"}]},{name:"fillColor2",dispName:"Inside Fill Color",type:"color",defVal:"none"},{name:"gradientColor2",dispName:"Inside Gradient Color",type:"color",defVal:"none"},{name:"gradientDirection2",dispName:"Inside Gradient Direction",
-type:"enum",defVal:"south",enumList:[{val:"south",dispName:"South"},{val:"west",dispName:"West"},{val:"north",dispName:"North"},{val:"east",dispName:"East"}]},{name:"top",dispName:"Top Line",type:"bool",defVal:!0},{name:"right",dispName:"Right",type:"bool",defVal:!0},{name:"bottom",dispName:"Bottom Line",type:"bool",defVal:!0},{name:"left",dispName:"Left ",type:"bool",defVal:!0},{name:"topLeftStyle",dispName:"Top Left Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},
-{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"topRightStyle",dispName:"Top Right Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"bottomRightStyle",dispName:"Bottom Right Style",
-type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"bottomLeftStyle",dispName:"Bottom Left Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",
-dispName:"Fold"}]}];ka.prototype.paintVertexShape=function(c,m,q,n,r){c.translate(m,q);this.strictDrawShape(c,0,0,n,r)};ka.prototype.strictDrawShape=function(c,m,q,n,r,w){var y=w&&w.rectStyle?w.rectStyle:mxUtils.getValue(this.style,"rectStyle",this.rectStyle),I=w&&w.absoluteCornerSize?w.absoluteCornerSize:mxUtils.getValue(this.style,"absoluteCornerSize",this.absoluteCornerSize),A=w&&w.size?w.size:Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),da=w&&w.rectOutline?
-w.rectOutline:mxUtils.getValue(this.style,"rectOutline",this.rectOutline),Q=w&&w.indent?w.indent:Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"indent",this.indent)))),Da=w&&w.dashed?w.dashed:mxUtils.getValue(this.style,"dashed",!1),Ta=w&&w.dashPattern?w.dashPattern:mxUtils.getValue(this.style,"dashPattern",null),Ia=w&&w.relIndent?w.relIndent:Math.max(0,Math.min(50,Q)),ra=w&&w.top?w.top:mxUtils.getValue(this.style,"top",!0),sa=w&&w.right?w.right:mxUtils.getValue(this.style,"right",
-!0),va=w&&w.bottom?w.bottom:mxUtils.getValue(this.style,"bottom",!0),xa=w&&w.left?w.left:mxUtils.getValue(this.style,"left",!0),Ha=w&&w.topLeftStyle?w.topLeftStyle:mxUtils.getValue(this.style,"topLeftStyle","default"),Ma=w&&w.topRightStyle?w.topRightStyle:mxUtils.getValue(this.style,"topRightStyle","default"),Na=w&&w.bottomRightStyle?w.bottomRightStyle:mxUtils.getValue(this.style,"bottomRightStyle","default"),Oa=w&&w.bottomLeftStyle?w.bottomLeftStyle:mxUtils.getValue(this.style,"bottomLeftStyle",
-"default"),Jb=w&&w.fillColor?w.fillColor:mxUtils.getValue(this.style,"fillColor","#ffffff");w&&w.strokeColor||mxUtils.getValue(this.style,"strokeColor","#000000");var Kb=w&&w.strokeWidth?w.strokeWidth:mxUtils.getValue(this.style,"strokeWidth","1"),Gb=w&&w.fillColor2?w.fillColor2:mxUtils.getValue(this.style,"fillColor2","none"),Ib=w&&w.gradientColor2?w.gradientColor2:mxUtils.getValue(this.style,"gradientColor2","none"),Lb=w&&w.gradientDirection2?w.gradientDirection2:mxUtils.getValue(this.style,"gradientDirection2",
-"south"),Mb=w&&w.opacity?w.opacity:mxUtils.getValue(this.style,"opacity","100"),Nb=Math.max(0,Math.min(50,A));w=ka.prototype;c.setDashed(Da);Ta&&""!=Ta&&c.setDashPattern(Ta);c.setStrokeWidth(Kb);A=Math.min(.5*r,.5*n,A);I||(A=Nb*Math.min(n,r)/100);A=Math.min(A,.5*Math.min(n,r));I||(Q=Math.min(Ia*Math.min(n,r)/100));Q=Math.min(Q,.5*Math.min(n,r)-A);(ra||sa||va||xa)&&"frame"!=da&&(c.begin(),ra?w.moveNW(c,m,q,n,r,y,Ha,A,xa):c.moveTo(0,0),ra&&w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,
-sa),sa&&w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),va&&w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),xa&&w.paintSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),c.close(),c.fill(),c.setShadow(!1),c.setFillColor(Gb),Da=I=Mb,"none"==Gb&&(I=0),"none"==Ib&&(Da=0),c.setGradient(Gb,Ib,0,0,n,r,Lb,I,Da),c.begin(),ra?w.moveNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa):c.moveTo(Q,0),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),xa&&va&&w.paintSWInner(c,m,q,n,r,y,Oa,A,Q,va),
-w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),va&&sa&&w.paintSEInner(c,m,q,n,r,y,Na,A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),sa&&ra&&w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),ra&&xa&&w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),c.fill(),"none"==Jb&&(c.begin(),w.paintFolds(c,m,q,n,r,y,Ha,Ma,Na,Oa,A,ra,sa,va,xa),c.stroke()));ra||sa||va||!xa?ra||sa||!va||xa?!ra&&!sa&&va&&xa?"frame"!=da?(c.begin(),w.moveSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.paintSW(c,
-m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),"double"==da&&(w.moveNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),w.paintSWInner(c,m,q,n,r,y,Oa,A,Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va)),c.stroke()):(c.begin(),w.moveSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.paintSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.lineNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),w.paintSWInner(c,m,q,n,r,y,Oa,A,
-Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),c.close(),c.fillAndStroke()):ra||!sa||va||xa?!ra&&sa&&!va&&xa?"frame"!=da?(c.begin(),w.moveSW(c,m,q,n,r,y,Ha,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),"double"==da&&(w.moveNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa)),c.stroke(),c.begin(),w.moveNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),"double"==da&&(w.moveSEInner(c,m,q,n,r,y,Na,A,Q,va),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa)),c.stroke()):(c.begin(),
-w.moveSW(c,m,q,n,r,y,Ha,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.lineNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),c.close(),c.fillAndStroke(),c.begin(),w.moveNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.lineSEInner(c,m,q,n,r,y,Na,A,Q,va),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),c.close(),c.fillAndStroke()):!ra&&sa&&va&&!xa?"frame"!=da?(c.begin(),w.moveNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,
-m,q,n,r,y,Oa,A,xa),"double"==da&&(w.moveSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),w.paintSEInner(c,m,q,n,r,y,Na,A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa)),c.stroke()):(c.begin(),w.moveNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.lineSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),w.paintSEInner(c,m,q,n,r,y,Na,A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,
-Q,ra,sa),c.close(),c.fillAndStroke()):!ra&&sa&&va&&xa?"frame"!=da?(c.begin(),w.moveNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.paintSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),"double"==da&&(w.moveNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),w.paintSWInner(c,m,q,n,r,y,Oa,A,Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),w.paintSEInner(c,m,q,n,r,y,Na,A,Q),w.paintRightInner(c,
-m,q,n,r,y,Ma,A,Q,ra,sa)),c.stroke()):(c.begin(),w.moveNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.paintSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.lineNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),w.paintSWInner(c,m,q,n,r,y,Oa,A,Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),w.paintSEInner(c,m,q,n,r,y,Na,A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),c.close(),c.fillAndStroke()):
-!ra||sa||va||xa?ra&&!sa&&!va&&xa?"frame"!=da?(c.begin(),w.moveSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),"double"==da&&(w.moveNEInner(c,m,q,n,r,y,Ma,A,Q,sa),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa)),c.stroke()):(c.begin(),w.moveSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),
-w.lineNEInner(c,m,q,n,r,y,Ma,A,Q,sa),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),c.close(),c.fillAndStroke()):ra&&!sa&&va&&!xa?"frame"!=da?(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),"double"==da&&(w.moveNEInner(c,m,q,n,r,y,Ma,A,Q,sa),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra)),c.stroke(),c.begin(),w.moveSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),"double"==da&&(w.moveSWInner(c,m,
-q,n,r,y,Oa,A,Q,xa),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va)),c.stroke()):(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.lineNEInner(c,m,q,n,r,y,Ma,A,Q,sa),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),c.close(),c.fillAndStroke(),c.begin(),w.moveSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.lineSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),c.close(),c.fillAndStroke()):ra&&!sa&&va&&xa?"frame"!=da?(c.begin(),w.moveSE(c,m,q,n,r,
-y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.paintSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),"double"==da&&(w.moveNEInner(c,m,q,n,r,y,Ma,A,Q,sa),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),w.paintSWInner(c,m,q,n,r,y,Oa,A,Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va)),c.stroke()):(c.begin(),w.moveSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,
-n,r,y,Oa,A,xa),w.paintSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.lineNEInner(c,m,q,n,r,y,Ma,A,Q,sa),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),w.paintSWInner(c,m,q,n,r,y,Oa,A,Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),c.close(),c.fillAndStroke()):ra&&sa&&!va&&!xa?"frame"!=da?(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,
-y,Ma,A,sa),w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),"double"==da&&(w.moveSEInner(c,m,q,n,r,y,Na,A,Q,va),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra)),c.stroke()):(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.lineSEInner(c,m,q,n,r,y,Na,A,Q,va),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),w.paintNEInner(c,m,q,
-n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),c.close(),c.fillAndStroke()):ra&&sa&&!va&&xa?"frame"!=da?(c.begin(),w.moveSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),"double"==da&&(w.moveSEInner(c,m,q,n,r,y,Na,A,Q,va),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),w.paintNWInner(c,
-m,q,n,r,y,Ha,A,Q),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa)),c.stroke()):(c.begin(),w.moveSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.lineSEInner(c,m,q,n,r,y,Na,A,Q,va),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),w.paintLeftInner(c,m,q,n,r,y,Oa,
-A,Q,va,xa),c.close(),c.fillAndStroke()):ra&&sa&&va&&!xa?"frame"!=da?(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),"double"==da&&(w.moveSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),w.paintSEInner(c,m,q,n,r,y,Na,A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,
-m,q,n,r,y,Ha,A,Q,xa,ra)),c.stroke()):(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.lineSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),w.paintSEInner(c,m,q,n,r,y,Na,A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),c.close(),c.fillAndStroke()):
-ra&&sa&&va&&xa&&("frame"!=da?(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.paintSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),c.close(),"double"==da&&(w.moveSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintSWInner(c,m,q,n,r,y,Oa,A,Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),w.paintSEInner(c,m,q,n,r,y,Na,
-A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),c.close()),c.stroke()):(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.paintSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,
-m,q,n,r,y,Ha,A,ra),c.close(),w.moveSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintSWInner(c,m,q,n,r,y,Oa,A,Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),w.paintSEInner(c,m,q,n,r,y,Na,A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),c.close(),c.fillAndStroke())):"frame"!=da?(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),"double"==
-da&&(w.moveNEInner(c,m,q,n,r,y,Ma,A,Q,sa),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra)),c.stroke()):(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.lineNEInner(c,m,q,n,r,y,Ma,A,Q,sa),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),c.close(),c.fillAndStroke()):"frame"!=da?(c.begin(),w.moveNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),"double"==da&&(w.moveSEInner(c,m,q,n,r,y,Na,A,Q,va),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa)),c.stroke()):(c.begin(),w.moveNE(c,m,q,n,
-r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.lineSEInner(c,m,q,n,r,y,Na,A,Q,va),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),c.close(),c.fillAndStroke()):"frame"!=da?(c.begin(),w.moveSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),"double"==da&&(w.moveSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va)),c.stroke()):(c.begin(),w.moveSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.lineSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintBottomInner(c,m,q,n,r,y,Na,
-A,Q,sa,va),c.close(),c.fillAndStroke()):"frame"!=da?(c.begin(),w.moveSW(c,m,q,n,r,y,Ha,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),"double"==da&&(w.moveNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa)),c.stroke()):(c.begin(),w.moveSW(c,m,q,n,r,y,Ha,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.lineNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),c.close(),c.fillAndStroke());c.begin();w.paintFolds(c,m,q,n,r,y,Ha,Ma,Na,Oa,A,ra,sa,va,xa);c.stroke()};ka.prototype.moveNW=
-function(c,m,q,n,r,w,y,I,A){"square"==y||"default"==y&&"square"==w||!A?c.moveTo(0,0):c.moveTo(0,I)};ka.prototype.moveNE=function(c,m,q,n,r,w,y,I,A){"square"==y||"default"==y&&"square"==w||!A?c.moveTo(n,0):c.moveTo(n-I,0)};ka.prototype.moveSE=function(c,m,q,n,r,w,y,I,A){"square"==y||"default"==y&&"square"==w||!A?c.moveTo(n,r):c.moveTo(n,r-I)};ka.prototype.moveSW=function(c,m,q,n,r,w,y,I,A){"square"==y||"default"==y&&"square"==w||!A?c.moveTo(0,r):c.moveTo(I,r)};ka.prototype.paintNW=function(c,m,q,n,
-r,w,y,I,A){if(A)if("rounded"==y||"default"==y&&"rounded"==w||"invRound"==y||"default"==y&&"invRound"==w){m=0;if("rounded"==y||"default"==y&&"rounded"==w)m=1;c.arcTo(I,I,0,0,m,I,0)}else("snip"==y||"default"==y&&"snip"==w||"fold"==y||"default"==y&&"fold"==w)&&c.lineTo(I,0);else c.lineTo(0,0)};ka.prototype.paintTop=function(c,m,q,n,r,w,y,I,A){"square"==y||"default"==y&&"square"==w||!A?c.lineTo(n,0):c.lineTo(n-I,0)};ka.prototype.paintNE=function(c,m,q,n,r,w,y,I,A){if(A)if("rounded"==y||"default"==y&&
-"rounded"==w||"invRound"==y||"default"==y&&"invRound"==w){m=0;if("rounded"==y||"default"==y&&"rounded"==w)m=1;c.arcTo(I,I,0,0,m,n,I)}else("snip"==y||"default"==y&&"snip"==w||"fold"==y||"default"==y&&"fold"==w)&&c.lineTo(n,I);else c.lineTo(n,0)};ka.prototype.paintRight=function(c,m,q,n,r,w,y,I,A){"square"==y||"default"==y&&"square"==w||!A?c.lineTo(n,r):c.lineTo(n,r-I)};ka.prototype.paintLeft=function(c,m,q,n,r,w,y,I,A){"square"==y||"default"==y&&"square"==w||!A?c.lineTo(0,0):c.lineTo(0,I)};ka.prototype.paintSE=
-function(c,m,q,n,r,w,y,I,A){if(A)if("rounded"==y||"default"==y&&"rounded"==w||"invRound"==y||"default"==y&&"invRound"==w){m=0;if("rounded"==y||"default"==y&&"rounded"==w)m=1;c.arcTo(I,I,0,0,m,n-I,r)}else("snip"==y||"default"==y&&"snip"==w||"fold"==y||"default"==y&&"fold"==w)&&c.lineTo(n-I,r);else c.lineTo(n,r)};ka.prototype.paintBottom=function(c,m,q,n,r,w,y,I,A){"square"==y||"default"==y&&"square"==w||!A?c.lineTo(0,r):c.lineTo(I,r)};ka.prototype.paintSW=function(c,m,q,n,r,w,y,I,A){if(A)if("rounded"==
-y||"default"==y&&"rounded"==w||"invRound"==y||"default"==y&&"invRound"==w){m=0;if("rounded"==y||"default"==y&&"rounded"==w)m=1;c.arcTo(I,I,0,0,m,0,r-I)}else("snip"==y||"default"==y&&"snip"==w||"fold"==y||"default"==y&&"fold"==w)&&c.lineTo(0,r-I);else c.lineTo(0,r)};ka.prototype.paintNWInner=function(c,m,q,n,r,w,y,I,A){if("rounded"==y||"default"==y&&"rounded"==w)c.arcTo(I-.5*A,I-.5*A,0,0,0,A,.5*A+I);else if("invRound"==y||"default"==y&&"invRound"==w)c.arcTo(I+A,I+A,0,0,1,A,A+I);else if("snip"==y||
-"default"==y&&"snip"==w)c.lineTo(A,.5*A+I);else if("fold"==y||"default"==y&&"fold"==w)c.lineTo(A+I,A+I),c.lineTo(A,A+I)};ka.prototype.paintTopInner=function(c,m,q,n,r,w,y,I,A,da,Q){da||Q?!da&&Q?c.lineTo(0,A):da&&!Q?c.lineTo(A,0):da?"square"==y||"default"==y&&"square"==w?c.lineTo(A,A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.lineTo(I+.5*A,A):c.lineTo(I+A,A):c.lineTo(0,A):c.lineTo(0,0)};ka.prototype.paintNEInner=function(c,m,q,n,r,w,y,I,A){if("rounded"==y||"default"==
-y&&"rounded"==w)c.arcTo(I-.5*A,I-.5*A,0,0,0,n-I-.5*A,A);else if("invRound"==y||"default"==y&&"invRound"==w)c.arcTo(I+A,I+A,0,0,1,n-I-A,A);else if("snip"==y||"default"==y&&"snip"==w)c.lineTo(n-I-.5*A,A);else if("fold"==y||"default"==y&&"fold"==w)c.lineTo(n-I-A,I+A),c.lineTo(n-I-A,A)};ka.prototype.paintRightInner=function(c,m,q,n,r,w,y,I,A,da,Q){da||Q?!da&&Q?c.lineTo(n-A,0):da&&!Q?c.lineTo(n,A):da?"square"==y||"default"==y&&"square"==w?c.lineTo(n-A,A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==
-y||"default"==y&&"snip"==w?c.lineTo(n-A,I+.5*A):c.lineTo(n-A,I+A):c.lineTo(n-A,0):c.lineTo(n,0)};ka.prototype.paintLeftInner=function(c,m,q,n,r,w,y,I,A,da,Q){da||Q?!da&&Q?c.lineTo(A,r):da&&!Q?c.lineTo(0,r-A):da?"square"==y||"default"==y&&"square"==w?c.lineTo(A,r-A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.lineTo(A,r-I-.5*A):c.lineTo(A,r-I-A):c.lineTo(A,r):c.lineTo(0,r)};ka.prototype.paintSEInner=function(c,m,q,n,r,w,y,I,A){if("rounded"==y||"default"==y&&"rounded"==
-w)c.arcTo(I-.5*A,I-.5*A,0,0,0,n-A,r-I-.5*A);else if("invRound"==y||"default"==y&&"invRound"==w)c.arcTo(I+A,I+A,0,0,1,n-A,r-I-A);else if("snip"==y||"default"==y&&"snip"==w)c.lineTo(n-A,r-I-.5*A);else if("fold"==y||"default"==y&&"fold"==w)c.lineTo(n-I-A,r-I-A),c.lineTo(n-A,r-I-A)};ka.prototype.paintBottomInner=function(c,m,q,n,r,w,y,I,A,da,Q){da||Q?!da&&Q?c.lineTo(n,r-A):da&&!Q?c.lineTo(n-A,r):"square"==y||"default"==y&&"square"==w||!da?c.lineTo(n-A,r-A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==
-y||"default"==y&&"snip"==w?c.lineTo(n-I-.5*A,r-A):c.lineTo(n-I-A,r-A):c.lineTo(n,r)};ka.prototype.paintSWInner=function(c,m,q,n,r,w,y,I,A,da){if(!da)c.lineTo(A,r);else if("square"==y||"default"==y&&"square"==w)c.lineTo(A,r-A);else if("rounded"==y||"default"==y&&"rounded"==w)c.arcTo(I-.5*A,I-.5*A,0,0,0,I+.5*A,r-A);else if("invRound"==y||"default"==y&&"invRound"==w)c.arcTo(I+A,I+A,0,0,1,I+A,r-A);else if("snip"==y||"default"==y&&"snip"==w)c.lineTo(I+.5*A,r-A);else if("fold"==y||"default"==y&&"fold"==
-w)c.lineTo(A+I,r-I-A),c.lineTo(A+I,r-A)};ka.prototype.moveSWInner=function(c,m,q,n,r,w,y,I,A,da){da?"square"==y||"default"==y&&"square"==w?c.moveTo(A,r-A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.moveTo(A,r-I-.5*A):("invRound"==y||"default"==y&&"invRound"==w||"fold"==y||"default"==y&&"fold"==w)&&c.moveTo(A,r-I-A):c.moveTo(0,r-A)};ka.prototype.lineSWInner=function(c,m,q,n,r,w,y,I,A,da){da?"square"==y||"default"==y&&"square"==w?c.lineTo(A,r-A):"rounded"==y||"default"==
-y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.lineTo(A,r-I-.5*A):("invRound"==y||"default"==y&&"invRound"==w||"fold"==y||"default"==y&&"fold"==w)&&c.lineTo(A,r-I-A):c.lineTo(0,r-A)};ka.prototype.moveSEInner=function(c,m,q,n,r,w,y,I,A,da){da?"square"==y||"default"==y&&"square"==w?c.moveTo(n-A,r-A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.moveTo(n-A,r-I-.5*A):("invRound"==y||"default"==y&&"invRound"==w||"fold"==y||"default"==y&&"fold"==w)&&c.moveTo(n-A,
-r-I-A):c.moveTo(n-A,r)};ka.prototype.lineSEInner=function(c,m,q,n,r,w,y,I,A,da){da?"square"==y||"default"==y&&"square"==w?c.lineTo(n-A,r-A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.lineTo(n-A,r-I-.5*A):("invRound"==y||"default"==y&&"invRound"==w||"fold"==y||"default"==y&&"fold"==w)&&c.lineTo(n-A,r-I-A):c.lineTo(n-A,r)};ka.prototype.moveNEInner=function(c,m,q,n,r,w,y,I,A,da){da?"square"==y||"default"==y&&"square"==w||da?c.moveTo(n-A,A):"rounded"==y||"default"==
-y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.moveTo(n-A,I+.5*A):("invRound"==y||"default"==y&&"invRound"==w||"fold"==y||"default"==y&&"fold"==w)&&c.moveTo(n-A,I+A):c.moveTo(n,A)};ka.prototype.lineNEInner=function(c,m,q,n,r,w,y,I,A,da){da?"square"==y||"default"==y&&"square"==w||da?c.lineTo(n-A,A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.lineTo(n-A,I+.5*A):("invRound"==y||"default"==y&&"invRound"==w||"fold"==y||"default"==y&&"fold"==w)&&c.lineTo(n-A,I+
-A):c.lineTo(n,A)};ka.prototype.moveNWInner=function(c,m,q,n,r,w,y,I,A,da,Q){da||Q?!da&&Q?c.moveTo(A,0):da&&!Q?c.moveTo(0,A):"square"==y||"default"==y&&"square"==w?c.moveTo(A,A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.moveTo(A,I+.5*A):("invRound"==y||"default"==y&&"invRound"==w||"fold"==y||"default"==y&&"fold"==w)&&c.moveTo(A,I+A):c.moveTo(0,0)};ka.prototype.lineNWInner=function(c,m,q,n,r,w,y,I,A,da,Q){da||Q?!da&&Q?c.lineTo(A,0):da&&!Q?c.lineTo(0,A):"square"==
-y||"default"==y&&"square"==w?c.lineTo(A,A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.lineTo(A,I+.5*A):("invRound"==y||"default"==y&&"invRound"==w||"fold"==y||"default"==y&&"fold"==w)&&c.lineTo(A,I+A):c.lineTo(0,0)};ka.prototype.paintFolds=function(c,m,q,n,r,w,y,I,A,da,Q,Da,Ta,Ia,ra){if("fold"==w||"fold"==y||"fold"==I||"fold"==A||"fold"==da)("fold"==y||"default"==y&&"fold"==w)&&Da&&ra&&(c.moveTo(0,Q),c.lineTo(Q,Q),c.lineTo(Q,0)),("fold"==I||"default"==I&&"fold"==
-w)&&Da&&Ta&&(c.moveTo(n-Q,0),c.lineTo(n-Q,Q),c.lineTo(n,Q)),("fold"==A||"default"==A&&"fold"==w)&&Ia&&Ta&&(c.moveTo(n-Q,r),c.lineTo(n-Q,r-Q),c.lineTo(n,r-Q)),("fold"==da||"default"==da&&"fold"==w)&&Ia&&ra&&(c.moveTo(0,r-Q),c.lineTo(Q,r-Q),c.lineTo(Q,r))};mxCellRenderer.registerShape(ka.prototype.cst.RECT2,ka);ka.prototype.constraints=null;mxUtils.extend(Ba,mxConnector);Ba.prototype.origPaintEdgeShape=Ba.prototype.paintEdgeShape;Ba.prototype.paintEdgeShape=function(c,m){for(var q=[],n=0;n<m.length;n++)q.push(mxUtils.clone(m[n]));
-n=c.state.dashed;var r=c.state.fixDash;Ba.prototype.origPaintEdgeShape.apply(this,[c,q]);3<=c.state.strokeWidth&&(q=mxUtils.getValue(this.style,"fillColor",null),null!=q&&(c.setStrokeColor(q),c.setStrokeWidth(c.state.strokeWidth-2),c.setDashed(n,r),Ba.prototype.origPaintEdgeShape.apply(this,[c,m])))};mxCellRenderer.registerShape("filledEdge",Ba);mxUtils.extend(Ea,mxConnector);Ea.prototype.defaultWidth=4;Ea.prototype.getEdgeWidth=function(){return Math.max(0,mxUtils.getNumber(this.style,"width",this.defaultWidth))};
-Ea.prototype.getFlowAnimationPath=function(){return mxShape.prototype.getFlowAnimationPath.call(this,2)};Ea.prototype.origPaintEdgeShape=Ea.prototype.paintEdgeShape;Ea.prototype.paintEdgeShape=function(c,m){for(var q=[],n=0;n<m.length;n++)q.push(mxUtils.clone(m[n]));n=c.state.dashed;var r=c.state.fixDash,w=this.getEdgeWidth();c.setStrokeWidth(w+2*this.strokewidth);c.setDashed(!1);Ea.prototype.origPaintEdgeShape.apply(this,[c,q]);q=mxUtils.getValue(this.style,"fillColor",null);null!=q&&(c.setStrokeWidth(w),
-c.setStrokeColor(q),c.setDashed(n,r),Ea.prototype.origPaintEdgeShape.apply(this,[c,m]))};mxCellRenderer.registerShape("pipe",Ea);mxUtils.extend(La,mxRectangleShape);La.prototype.size=10;La.prototype.isRoundable=function(){return!0};La.prototype.paintVertexShape=function(c,m,q,n,r){c.translate(m,q);m=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,null);null!=m&&m!=mxConstants.NONE&&(c.setStrokeColor("none"),c.begin(),c.rect(0,0,n,r),c.fillAndStroke(),c.setStrokeColor(this.stroke));var w=Math.max(5,
-parseFloat(mxUtils.getValue(this.style,"size",this.size)));m=r/2;q=this.strokewidth;q=this.isRounded?q/2:q;r-=q;w=Math.max(1,Math.round(n/w)-1);var y=n/(w+1),I=y/2;c.begin();c.moveTo(0,m);if(this.isRounded){c.curveTo(.4*I,m-.4*(m-q),.6*I,q,I,q);for(var A=0;A<w;A++){var da=I+A*y,Q=da+y,Da=0==A%2?r:q;c.curveTo(da+.4*y,0==A%2?q:r,Q-.4*y,Da,Q,Da)}r=0==w%2?q:r;c.curveTo(I+w*y+.4*I,r,n-.4*I,m-(r==q?1:-1)*(m-q)*.4,n,m)}else{c.lineTo(I,q);for(A=0;A<w;A++)Q=I+(A+1)*y,Da=0==A%2?r:q,c.lineTo(Q,Da);c.lineTo(n,
-m)}c.stroke()};mxCellRenderer.registerShape("zigzag",La);"undefined"!==typeof StyleFormatPanel&&function(){var c=StyleFormatPanel.prototype.getCustomColors;StyleFormatPanel.prototype.getCustomColors=function(){var m=this.editorUi.getSelectionState(),q=c.apply(this,arguments);"umlFrame"==m.style.shape&&q.push({title:mxResources.get("laneColor"),key:"swimlaneFillColor",defaultValue:"default"});return q}}();mxMarker.addMarker("dash",function(c,m,q,n,r,w,y,I,A,da){var Q=r*(y+A+1),Da=w*(y+A+1);return function(){c.begin();
-c.moveTo(n.x-Q/2-Da/2,n.y-Da/2+Q/2);c.lineTo(n.x+Da/2-3*Q/2,n.y-3*Da/2-Q/2);c.stroke()}});mxMarker.addMarker("box",function(c,m,q,n,r,w,y,I,A,da){var Q=r*(y+A+1),Da=w*(y+A+1),Ta=n.x+Q/2,Ia=n.y+Da/2;n.x-=Q;n.y-=Da;return function(){c.begin();c.moveTo(Ta-Q/2-Da/2,Ia-Da/2+Q/2);c.lineTo(Ta-Q/2+Da/2,Ia-Da/2-Q/2);c.lineTo(Ta+Da/2-3*Q/2,Ia-3*Da/2-Q/2);c.lineTo(Ta-Da/2-3*Q/2,Ia-3*Da/2+Q/2);c.close();da?c.fillAndStroke():c.stroke()}});mxMarker.addMarker("cross",function(c,m,q,n,r,w,y,I,A,da){var Q=r*(y+A+
-1),Da=w*(y+A+1);return function(){c.begin();c.moveTo(n.x-Q/2-Da/2,n.y-Da/2+Q/2);c.lineTo(n.x+Da/2-3*Q/2,n.y-3*Da/2-Q/2);c.moveTo(n.x-Q/2+Da/2,n.y-Da/2-Q/2);c.lineTo(n.x-Da/2-3*Q/2,n.y-3*Da/2+Q/2);c.stroke()}});mxMarker.addMarker("circle",Sa);mxMarker.addMarker("circlePlus",function(c,m,q,n,r,w,y,I,A,da){var Q=n.clone(),Da=Sa.apply(this,arguments),Ta=r*(y+2*A),Ia=w*(y+2*A);return function(){Da.apply(this,arguments);c.begin();c.moveTo(Q.x-r*A,Q.y-w*A);c.lineTo(Q.x-2*Ta+r*A,Q.y-2*Ia+w*A);c.moveTo(Q.x-
-Ta-Ia+w*A,Q.y-Ia+Ta-r*A);c.lineTo(Q.x+Ia-Ta-w*A,Q.y-Ia-Ta+r*A);c.stroke()}});mxMarker.addMarker("halfCircle",function(c,m,q,n,r,w,y,I,A,da){var Q=r*(y+A+1),Da=w*(y+A+1),Ta=n.clone();n.x-=Q;n.y-=Da;return function(){c.begin();c.moveTo(Ta.x-Da,Ta.y+Q);c.quadTo(n.x-Da,n.y+Q,n.x,n.y);c.quadTo(n.x+Da,n.y-Q,Ta.x+Da,Ta.y-Q);c.stroke()}});mxMarker.addMarker("async",function(c,m,q,n,r,w,y,I,A,da){m=r*A*1.118;q=w*A*1.118;r*=y+A;w*=y+A;var Q=n.clone();Q.x-=m;Q.y-=q;n.x+=-r-m;n.y+=-w-q;return function(){c.begin();
-c.moveTo(Q.x,Q.y);I?c.lineTo(Q.x-r-w/2,Q.y-w+r/2):c.lineTo(Q.x+w/2-r,Q.y-w-r/2);c.lineTo(Q.x-r,Q.y-w);c.close();da?c.fillAndStroke():c.stroke()}});mxMarker.addMarker("openAsync",function(c){c=null!=c?c:2;return function(m,q,n,r,w,y,I,A,da,Q){w*=I+da;y*=I+da;var Da=r.clone();return function(){m.begin();m.moveTo(Da.x,Da.y);A?m.lineTo(Da.x-w-y/c,Da.y-y+w/c):m.lineTo(Da.x+y/c-w,Da.y-y-w/c);m.stroke()}}}(2));mxUtils.extend(Ra,mxRectangleShape);Ra.prototype.arcStartY=25;Ra.prototype.arcMidY=-25;Ra.prototype.arcEndY=
-25;Ra.prototype.paintForeground=function(c,m,q,n,r){mxRectangleShape.prototype.paintForeground.apply(this,arguments);if(null!=this.state){var w=this.state.view.graph;if(null==w.cellEditor||w.cellEditor.editingCell!=this.state.cell)if(w=w.convertValueToString(this.state.cell),null!=w&&0!=w.length){var y=parseFloat(mxUtils.getValue(this.style,"arcStartY",this.arcStartY)),I=parseFloat(mxUtils.getValue(this.style,"arcMidY",this.arcMidY)),A=parseFloat(mxUtils.getValue(this.style,"arcEndY",this.arcEndY)),
-da=mxUtils.getValue(this.style,"curveType","round");if(null!=c.root&&"function"===typeof c.getBaseUrl){null!=this._curvedTextGroup&&null!=this._curvedTextGroup.parentNode&&this._curvedTextGroup.parentNode.removeChild(this._curvedTextGroup);this._curvedTextGroup=null;c.translate(m,q);var Q=c.state,Da=parseFloat(mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE)),Ta=Da/2,Ia=(y+A)/2,ra=Math.max(Math.abs(Ra.prototype.arcMidY),Math.min(Ia,r-Ia));I=Math.max(-ra,Math.min(ra,
-I));var sa=Ia+I;I=Math.min(y,A,sa);ra=Math.max(y,A,sa);Ia=ra-I;var va=mxUtils.getValue(this.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE);this._curveYOffset=Ia=va==mxConstants.ALIGN_TOP?Ta-I:va==mxConstants.ALIGN_BOTTOM?r-Ta-ra:(r-Ia)/2-I;va=n-Ta;I=(Ta+Q.dx)*Q.scale;y=(y+Ia+Q.dy)*Q.scale;ra=((Ta+va)/2+Q.dx)*Q.scale;sa=(sa+Ia+Q.dy)*Q.scale;Ta=(va+Q.dx)*Q.scale;A=(A+Ia+Q.dy)*Q.scale;"round"==da?(va=Math.sqrt((Ta-I)*(Ta-I)+(A-y)*(A-y)),da=(I+Ta)/2,Ia=(y+A)/2,da=Math.sqrt((ra-da)*(ra-
-da)+(sa-Ia)*(sa-Ia)),.5>da?(da="M "+c.format(I)+" "+c.format(y)+" L "+c.format(Ta)+" "+c.format(A),I=va):(va/=2,Ia=va*va/(2*da)+da/2,sa=0<(Ta-I)*(sa-y)-(A-y)*(ra-I)?0:1,ra=da>va?1:0,da="M "+c.format(I)+" "+c.format(y)+" A "+c.format(Ia)+" "+c.format(Ia)+" 0 "+ra+" "+sa+" "+c.format(Ta)+" "+c.format(A),I=2*Math.asin(Math.min(1,va/Ia)),ra&&(I=2*Math.PI-I),I*=Ia)):(da="M "+c.format(I)+" "+c.format(y)+" Q "+c.format(ra)+" "+c.format(sa)+" "+c.format(Ta)+" "+c.format(A),Ia=ra-I,va=sa-y,ra=Ta-ra,sa=A-sa,
-I=Ta-I,y=A-y,I=(Math.sqrt(Ia*Ia+va*va)+Math.sqrt(ra*ra+sa*sa)+Math.sqrt(I*I+y*y))/2);A=(c.idPrefix||"")+"ctp-"+mxObjectIdentity.get(this);ra=(y=!mxClient.IS_CHROMEAPP&&c.root.ownerDocument==document)?c.getBaseUrl().replace(/([\(\)])/g,"\\$1"):"";Ta=c.createElement("g");sa=Q.transform||"";0<sa.length&&Ta.setAttribute("transform",sa);1>Q.alpha&&Ta.setAttribute("opacity",Q.alpha);sa=c.createElement("defs");Ia=c.createElement("path");Ia.setAttribute("id",A);Ia.setAttribute("d",da);sa.appendChild(Ia);
-Ta.appendChild(sa);da=c.createElement("text");Ia=mxUtils.getValue(this.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY);va=mxUtils.getValue(this.style,mxConstants.STYLE_FONTCOLOR,"#000000");sa=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSTYLE,0);da.setAttribute("font-size",Da*Q.scale+"px");da.setAttribute("font-family",mxUtils.parseCssFontFamily(Ia));da.setAttribute("fill",va);(sa&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&da.setAttribute("font-weight","bold");(sa&mxConstants.FONT_ITALIC)==
-mxConstants.FONT_ITALIC&&da.setAttribute("font-style","italic");Q=[];(sa&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&Q.push("underline");(sa&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&Q.push("line-through");0<Q.length&&da.setAttribute("text-decoration",Q.join(" "));Da=mxUtils.getValue(this.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER);sa="middle";Q="50%";Da==mxConstants.ALIGN_LEFT?(sa="start",Q="0%"):Da==mxConstants.ALIGN_RIGHT&&(sa="end",Q="100%");da.setAttribute("text-anchor",
-sa);da.setAttribute("dominant-baseline","central");Da=c.createElement("textPath");Da.setAttribute("startOffset",Q);Q=(y?ra:"")+"#"+A;Da.setAttribute("href",Q);y&&Da.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",Q);Da.setAttribute("textLength",I);Da.setAttribute("lengthAdjust","spacing");mxUtils.write(Da,w);da.appendChild(Da);Ta.appendChild(da);c.root.appendChild(Ta);this._curvedTextGroup=Ta}else c.text(m+n/2,q+r/2,0,0,w,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,!1,"",null,!1,
-0)}}};Ra.prototype.destroy=function(){null!=this._curvedTextGroup&&null!=this._curvedTextGroup.parentNode&&this._curvedTextGroup.parentNode.removeChild(this._curvedTextGroup);this._curvedTextGroup=null;mxRectangleShape.prototype.destroy.apply(this,arguments)};mxCellRenderer.registerShape("curvedText",Ra);if("undefined"!==typeof mxVertexHandler){var vb=function(c,m,q){return kb(c,["width"],m,function(n,r,w,y,I){I=c.shape.getEdgeWidth()*c.view.scale+q;return new mxPoint(y.x+r*n/4+w*I/2,y.y+w*n/4-r*
-I/2)},function(n,r,w,y,I,A){n=Math.sqrt(mxUtils.ptSegDistSq(y.x,y.y,I.x,I.y,A.x,A.y));c.style.width=Math.round(Math.round(2*n)/c.view.scale-q)})},kb=function(c,m,q,n,r){return Za(c,m,function(w){var y=c.absolutePoints;if(null!=y&&0<y.length){var I=y.length-1;w=c.view.translate;var A=c.view.scale,da=q?y[0]:y[I];y=q?y[1]:y[I-1];I=y.x-da.x;var Q=y.y-da.y,Da=Math.sqrt(I*I+Q*Q);da=n.call(this,Da,I/Da,Q/Da,da,y);return new mxPoint(da.x/A-w.x,da.y/A-w.y)}return null},function(w,y,I){var A=c.absolutePoints,
-da=A.length-1;w=c.view.translate;var Q=c.view.scale,Da=q?A[0]:A[da];A=q?A[1]:A[da-1];da=A.x-Da.x;var Ta=A.y-Da.y,Ia=Math.sqrt(da*da+Ta*Ta);y.x=(y.x+w.x)*Q;y.y=(y.y+w.y)*Q;r.call(this,Ia,da/Ia,Ta/Ia,Da,A,y,I)})},rb=function(c,m){return function(q){return[kb(q,["startWidth"],!0,function(n,r,w,y,I){I=mxUtils.getNumber(q.style,"startWidth",c)*q.view.scale+m;return new mxPoint(y.x+r*n/4+w*I/2,y.y+w*n/4-r*I/2)},function(n,r,w,y,I,A){n=Math.sqrt(mxUtils.ptSegDistSq(y.x,y.y,I.x,I.y,A.x,A.y));q.style.startWidth=
-Math.round(2*n)/q.view.scale-m})]}},sb=function(c){return function(m){return[Za(m,["arrowWidth","arrowSize"],function(q){var n=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"arrowWidth",fb.prototype.arrowWidth))),r=Math.max(0,Math.min(c,mxUtils.getValue(this.state.style,"arrowSize",fb.prototype.arrowSize)));return new mxPoint(q.x+(1-r)*q.width,q.y+(1-n)*q.height/2)},function(q,n){this.state.style.arrowWidth=Math.max(0,Math.min(1,Math.abs(q.y+q.height/2-n.y)/q.height*2));this.state.style.arrowSize=
-Math.max(0,Math.min(c,(q.x+q.width-n.x)/q.width))})]}},Ab=function(c){return function(m){return[Za(m,["size"],function(q){var n=Math.max(0,Math.min(.5*q.height,parseFloat(mxUtils.getValue(this.state.style,"size",c))));return new mxPoint(q.x,q.y+n)},function(q,n){this.state.style.size=Math.max(0,n.y-q.y)},!0)]}},mb=function(c,m,q){return function(n){var r=[Za(n,["size"],function(w){var y=Math.max(0,Math.min(w.width,Math.min(w.height,parseFloat(mxUtils.getValue(this.state.style,"size",m)))))*c;return new mxPoint(w.x+
-y,w.y+y)},function(w,y){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(w.width,y.x-w.x),Math.min(w.height,y.y-w.y)))/c)},!1)];q&&mxUtils.getValue(n.style,mxConstants.STYLE_ROUNDED,!1)&&r.push(pb(n));return r}},wb=function(c,m,q,n,r){q=null!=q?q:.5;return function(w){var y=[Za(w,["size"],function(I){var A=null!=r?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,da=parseFloat(mxUtils.getValue(this.state.style,"size",A?r:c));return new mxPoint(I.x+Math.max(0,Math.min(.5*I.width,
-da*(A?1:I.width))),I.getCenterY())},function(I,A,da){I=null!=r&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?A.x-I.x:Math.max(0,Math.min(q,(A.x-I.x)/I.width));this.state.style.size=I},!1,n)];m&&mxUtils.getValue(w.style,mxConstants.STYLE_ROUNDED,!1)&&y.push(pb(w));return y}},Bb=function(c,m,q){c=null!=c?c:.5;return function(n){var r=[Za(n,["size"],function(w){var y=null!=q?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,I=Math.max(0,parseFloat(mxUtils.getValue(this.state.style,
-"size",y?q:m)));return new mxPoint(w.x+Math.min(.75*w.width*c,I*(y?.75:.75*w.width)),w.y+w.height/4)},function(w,y){w=null!=q&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?y.x-w.x:Math.max(0,Math.min(c,(y.x-w.x)/w.width*.75));this.state.style.size=w},!1,!0)];mxUtils.getValue(n.style,mxConstants.STYLE_ROUNDED,!1)&&r.push(pb(n));return r}},xb=function(){return function(c){var m=[];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(pb(c));return m}},pb=function(c,m){return Za(c,
-[mxConstants.STYLE_ARCSIZE],function(q){var n=null!=m?m:q.height/8;if("1"==mxUtils.getValue(c.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)){var r=mxUtils.getValue(c.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;return new mxPoint(q.x+q.width-Math.min(q.width/2,r),q.y+n)}r=Math.max(0,parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)))/100;return new mxPoint(q.x+q.width-Math.min(Math.max(q.width/2,q.height/2),Math.min(q.width,q.height)*
-r),q.y+n)},function(q,n,r){"1"==mxUtils.getValue(c.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)?this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.max(0,Math.min(q.width,2*(q.x+q.width-n.x)))):this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.min(50,Math.max(0,100*(q.width-n.x+q.x)/Math.min(q.width,q.height))))})},Za=function(c,m,q,n,r,w,y){var I=new mxHandle(c,null,mxVertexHandler.prototype.secondaryHandleImage);I.execute=function(da){for(var Q=0;Q<m.length;Q++)this.copyStyle(m[Q]);
-y&&y(da)};I.getPosition=q;I.setPosition=n;I.ignoreGrid=null!=r?r:!0;if(w){var A=I.positionChanged;I.positionChanged=function(){A.apply(this,arguments);c.view.invalidate(this.state.cell);c.view.validate()}}return I},ub={link:function(c){return[vb(c,!0,10),vb(c,!1,10)]},pipe:function(c){return[vb(c,!0,10),vb(c,!1,10)]},flexArrow:function(c){var m=c.view.graph.gridSize/c.view.scale,q=[];mxUtils.getValue(c.style,mxConstants.STYLE_STARTARROW,mxConstants.NONE)!=mxConstants.NONE&&(q.push(kb(c,["width",mxConstants.STYLE_STARTSIZE,
-mxConstants.STYLE_ENDSIZE],!0,function(n,r,w,y,I){n=(c.shape.getEdgeWidth()-c.shape.strokewidth)*c.view.scale;I=3*mxUtils.getNumber(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(y.x+r*(I+c.shape.strokewidth*c.view.scale)+w*n/2,y.y+w*(I+c.shape.strokewidth*c.view.scale)-r*n/2)},function(n,r,w,y,I,A,da){n=Math.sqrt(mxUtils.ptSegDistSq(y.x,y.y,I.x,I.y,A.x,A.y));r=mxUtils.ptLineDist(y.x,y.y,y.x+w,y.y-r,A.x,A.y);c.style[mxConstants.STYLE_STARTSIZE]=Math.round((r-
-c.shape.strokewidth)/3/c.view.scale);c.style.width=Math.round(2*n/c.view.scale);if(mxEvent.isShiftDown(da.getEvent())||mxEvent.isControlDown(da.getEvent()))c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE];mxEvent.isAltDown(da.getEvent())||Math.abs(parseFloat(c.style[mxConstants.STYLE_STARTSIZE])-parseFloat(c.style[mxConstants.STYLE_ENDSIZE]))<m/6&&(c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE])})),q.push(kb(c,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,
-mxConstants.STYLE_ENDSIZE],!0,function(n,r,w,y,I){n=(c.shape.getStartArrowWidth()-c.shape.strokewidth)*c.view.scale;I=3*mxUtils.getNumber(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(y.x+r*(I+c.shape.strokewidth*c.view.scale)+w*n/2,y.y+w*(I+c.shape.strokewidth*c.view.scale)-r*n/2)},function(n,r,w,y,I,A,da){n=Math.sqrt(mxUtils.ptSegDistSq(y.x,y.y,I.x,I.y,A.x,A.y));r=mxUtils.ptLineDist(y.x,y.y,y.x+w,y.y-r,A.x,A.y);c.style[mxConstants.STYLE_STARTSIZE]=
-Math.round((r-c.shape.strokewidth)/3/c.view.scale);c.style.startWidth=Math.round(Math.max(0,Math.round(2*n)-c.shape.getEdgeWidth())/c.view.scale);if(mxEvent.isShiftDown(da.getEvent())||mxEvent.isControlDown(da.getEvent()))c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE],c.style.endWidth=c.style.startWidth;mxEvent.isAltDown(da.getEvent())||(Math.abs(parseFloat(c.style[mxConstants.STYLE_STARTSIZE])-parseFloat(c.style[mxConstants.STYLE_ENDSIZE]))<m/6&&(c.style[mxConstants.STYLE_STARTSIZE]=
-c.style[mxConstants.STYLE_ENDSIZE]),Math.abs(parseFloat(c.style.startWidth)-parseFloat(c.style.endWidth))<m&&(c.style.startWidth=c.style.endWidth))})));mxUtils.getValue(c.style,mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE&&(q.push(kb(c,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(n,r,w,y,I){n=(c.shape.getEdgeWidth()-c.shape.strokewidth)*c.view.scale;I=3*mxUtils.getNumber(c.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(y.x+
-r*(I+c.shape.strokewidth*c.view.scale)-w*n/2,y.y+w*(I+c.shape.strokewidth*c.view.scale)+r*n/2)},function(n,r,w,y,I,A,da){n=Math.sqrt(mxUtils.ptSegDistSq(y.x,y.y,I.x,I.y,A.x,A.y));r=mxUtils.ptLineDist(y.x,y.y,y.x+w,y.y-r,A.x,A.y);c.style[mxConstants.STYLE_ENDSIZE]=Math.round((r-c.shape.strokewidth)/3/c.view.scale);c.style.width=Math.round(2*n/c.view.scale);if(mxEvent.isShiftDown(da.getEvent())||mxEvent.isControlDown(da.getEvent()))c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE];
-mxEvent.isAltDown(da.getEvent())||Math.abs(parseFloat(c.style[mxConstants.STYLE_ENDSIZE])-parseFloat(c.style[mxConstants.STYLE_STARTSIZE]))<m/6&&(c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE])})),q.push(kb(c,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(n,r,w,y,I){n=(c.shape.getEndArrowWidth()-c.shape.strokewidth)*c.view.scale;I=3*mxUtils.getNumber(c.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(y.x+
-r*(I+c.shape.strokewidth*c.view.scale)-w*n/2,y.y+w*(I+c.shape.strokewidth*c.view.scale)+r*n/2)},function(n,r,w,y,I,A,da){n=Math.sqrt(mxUtils.ptSegDistSq(y.x,y.y,I.x,I.y,A.x,A.y));r=mxUtils.ptLineDist(y.x,y.y,y.x+w,y.y-r,A.x,A.y);c.style[mxConstants.STYLE_ENDSIZE]=Math.round((r-c.shape.strokewidth)/3/c.view.scale);c.style.endWidth=Math.round(Math.max(0,Math.round(2*n)-c.shape.getEdgeWidth())/c.view.scale);if(mxEvent.isShiftDown(da.getEvent())||mxEvent.isControlDown(da.getEvent()))c.style[mxConstants.STYLE_STARTSIZE]=
-c.style[mxConstants.STYLE_ENDSIZE],c.style.startWidth=c.style.endWidth;mxEvent.isAltDown(da.getEvent())||(Math.abs(parseFloat(c.style[mxConstants.STYLE_ENDSIZE])-parseFloat(c.style[mxConstants.STYLE_STARTSIZE]))<m/6&&(c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE]),Math.abs(parseFloat(c.style.endWidth)-parseFloat(c.style.startWidth))<m&&(c.style.endWidth=c.style.startWidth))})));return q},swimlane:function(c){var m=[];if(mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED)){var q=
-parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));m.push(pb(c,q/2))}m.push(Za(c,[mxConstants.STYLE_STARTSIZE],function(n){var r=parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));return 1==mxUtils.getValue(c.style,mxConstants.STYLE_HORIZONTAL,1)?new mxPoint(n.getCenterX(),n.y+Math.max(0,Math.min(n.height,r))):new mxPoint(n.x+Math.max(0,Math.min(n.width,r)),n.getCenterY())},function(n,r){c.style[mxConstants.STYLE_STARTSIZE]=
-1==mxUtils.getValue(this.state.style,mxConstants.STYLE_HORIZONTAL,1)?Math.round(Math.max(0,Math.min(n.height,r.y-n.y))):Math.round(Math.max(0,Math.min(n.width,r.x-n.x)))},!1,null,function(n){var r=c.view.graph;if(!mxEvent.isShiftDown(n.getEvent())&&!mxEvent.isControlDown(n.getEvent())&&(r.isTableRow(c.cell)||r.isTableCell(c.cell))){n=r.getSwimlaneDirection(c.style);var w=r.model.getParent(c.cell);w=r.model.getChildCells(w,!0);for(var y=[],I=0;I<w.length;I++)w[I]!=c.cell&&r.isSwimlane(w[I])&&r.getSwimlaneDirection(r.getCurrentCellStyle(w[I]))==
-n&&y.push(w[I]);r.setCellStyles(mxConstants.STYLE_STARTSIZE,c.style[mxConstants.STYLE_STARTSIZE],y)}}));return m},label:xb(),ext:xb(),rectangle:xb(),triangle:xb(),rhombus:xb(),umlLifeline:function(c){return[Za(c,["size"],function(m){var q=Math.max(0,Math.min(m.height,parseFloat(mxUtils.getValue(this.state.style,"size",wa.prototype.size))));return new mxPoint(m.getCenterX(),m.y+q)},function(m,q){this.state.style.size=Math.round(Math.max(0,Math.min(m.height,q.y-m.y)))},!1)]},umlFrame:function(c){return[Za(c,
-["width","height"],function(m){var q=Math.max(S.prototype.corner,Math.min(m.width,mxUtils.getValue(this.state.style,"width",S.prototype.width))),n=Math.max(1.5*S.prototype.corner,Math.min(m.height,mxUtils.getValue(this.state.style,"height",S.prototype.height)));return new mxPoint(m.x+q,m.y+n)},function(m,q){this.state.style.width=Math.round(Math.max(S.prototype.corner,Math.min(m.width,q.x-m.x)));this.state.style.height=Math.round(Math.max(1.5*S.prototype.corner,Math.min(m.height,q.y-m.y)))},!1)]},
-process:function(c){var m=[Za(c,["size"],function(q){var n="0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),r=parseFloat(mxUtils.getValue(this.state.style,"size",ca.prototype.size));return n?new mxPoint(q.x+r,q.y+q.height/4):new mxPoint(q.x+q.width*r,q.y+q.height/4)},function(q,n){q="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(.5*q.width,n.x-q.x)):Math.max(0,Math.min(.5,(n.x-q.x)/q.width));this.state.style.size=q},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,
-!1)&&m.push(pb(c));return m},cross:function(c){return[Za(c,["size"],function(m){var q=Math.min(m.width,m.height);q=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"size",pa.prototype.size)))*q/2;return new mxPoint(m.getCenterX()-q,m.getCenterY()-q)},function(m,q){var n=Math.min(m.width,m.height);this.state.style.size=Math.max(0,Math.min(1,Math.min(Math.max(0,m.getCenterY()-q.y)/n*2,Math.max(0,m.getCenterX()-q.x)/n*2)))})]},note:function(c){return[Za(c,["size"],function(m){var q=Math.max(0,
-Math.min(m.width,Math.min(m.height,parseFloat(mxUtils.getValue(this.state.style,"size",k.prototype.size)))));return new mxPoint(m.x+m.width-q,m.y+q)},function(m,q){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(m.width,m.x+m.width-q.x),Math.min(m.height,q.y-m.y))))})]},note2:function(c){return[Za(c,["size"],function(m){var q=Math.max(0,Math.min(m.width,Math.min(m.height,parseFloat(mxUtils.getValue(this.state.style,"size",v.prototype.size)))));return new mxPoint(m.x+m.width-q,m.y+q)},
-function(m,q){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(m.width,m.x+m.width-q.x),Math.min(m.height,q.y-m.y))))})]},manualInput:function(c){var m=[Za(c,["size"],function(q){var n=Math.max(0,Math.min(q.height,mxUtils.getValue(this.state.style,"size",ab.prototype.size)));return new mxPoint(q.x+q.width/4,q.y+3*n/4)},function(q,n){this.state.style.size=Math.round(Math.max(0,Math.min(q.height,4*(n.y-q.y)/3)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(pb(c));
-return m},dataStorage:function(c){return[Za(c,["size"],function(m){var q="0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),n=parseFloat(mxUtils.getValue(this.state.style,"size",q?hb.prototype.fixedSize:hb.prototype.size));return new mxPoint(m.x+m.width-n*(q?1:m.width),m.getCenterY())},function(m,q){m="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(m.width,m.x+m.width-q.x)):Math.max(0,Math.min(1,(m.x+m.width-q.x)/m.width));this.state.style.size=m},!1)]},callout:function(c){var m=
-[Za(c,["size","position"],function(q){var n=Math.max(0,Math.min(q.height,mxUtils.getValue(this.state.style,"size",V.prototype.size))),r=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",V.prototype.position)));mxUtils.getValue(this.state.style,"base",V.prototype.base);return new mxPoint(q.x+r*q.width,q.y+q.height-n)},function(q,n){mxUtils.getValue(this.state.style,"base",V.prototype.base);this.state.style.size=Math.round(Math.max(0,Math.min(q.height,q.y+q.height-n.y)));this.state.style.position=
-Math.round(100*Math.max(0,Math.min(1,(n.x-q.x)/q.width)))/100},!1),Za(c,["position2"],function(q){var n=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position2",V.prototype.position2)));return new mxPoint(q.x+n*q.width,q.y+q.height)},function(q,n){this.state.style.position2=Math.round(100*Math.max(0,Math.min(1,(n.x-q.x)/q.width)))/100},!1),Za(c,["base"],function(q){var n=Math.max(0,Math.min(q.height,mxUtils.getValue(this.state.style,"size",V.prototype.size))),r=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,
-"position",V.prototype.position))),w=Math.max(0,Math.min(q.width,mxUtils.getValue(this.state.style,"base",V.prototype.base)));return new mxPoint(q.x+Math.min(q.width,r*q.width+w),q.y+q.height-n)},function(q,n){var r=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",V.prototype.position)));this.state.style.base=Math.round(Math.max(0,Math.min(q.width,n.x-q.x-r*q.width)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(pb(c));return m},internalStorage:function(c){var m=
-[Za(c,["dx","dy"],function(q){var n=Math.max(0,Math.min(q.width,mxUtils.getValue(this.state.style,"dx",$a.prototype.dx))),r=Math.max(0,Math.min(q.height,mxUtils.getValue(this.state.style,"dy",$a.prototype.dy)));return new mxPoint(q.x+n,q.y+r)},function(q,n){this.state.style.dx=Math.round(Math.max(0,Math.min(q.width,n.x-q.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(q.height,n.y-q.y)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(pb(c));return m},module:function(c){return[Za(c,
-["jettyWidth","jettyHeight"],function(m){var q=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,"jettyWidth",Fa.prototype.jettyWidth))),n=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,"jettyHeight",Fa.prototype.jettyHeight)));return new mxPoint(m.x+q/2,m.y+2*n)},function(m,q){this.state.style.jettyWidth=Math.round(2*Math.max(0,Math.min(m.width,q.x-m.x)));this.state.style.jettyHeight=Math.round(Math.max(0,Math.min(m.height,q.y-m.y))/2)})]},corner:function(c){return[Za(c,
-["dx","dy"],function(m){var q=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,"dx",db.prototype.dx))),n=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,"dy",db.prototype.dy)));return new mxPoint(m.x+q,m.y+n)},function(m,q){this.state.style.dx=Math.round(Math.max(0,Math.min(m.width,q.x-m.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(m.height,q.y-m.y)))},!1)]},tee:function(c){return[Za(c,["dx","dy"],function(m){var q=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,
-"dx",jb.prototype.dx))),n=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,"dy",jb.prototype.dy)));return new mxPoint(m.x+(m.width+q)/2,m.y+n)},function(m,q){this.state.style.dx=Math.round(Math.max(0,2*Math.min(m.width/2,q.x-m.x-m.width/2)));this.state.style.dy=Math.round(Math.max(0,Math.min(m.height,q.y-m.y)))},!1)]},singleArrow:sb(1),doubleArrow:sb(.5),"mxgraph.arrows2.wedgeArrow":rb(20,20),"mxgraph.arrows2.wedgeArrowDashed":rb(20,20),"mxgraph.arrows2.wedgeArrowDashed2":rb(20,20),
-folder:function(c){return[Za(c,["tabWidth","tabHeight"],function(m){var q=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,"tabWidth",D.prototype.tabWidth))),n=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,"tabHeight",D.prototype.tabHeight)));mxUtils.getValue(this.state.style,"tabPosition",D.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(q=m.width-q);return new mxPoint(m.x+q,m.y+n)},function(m,q){var n=Math.max(0,Math.min(m.width,q.x-m.x));mxUtils.getValue(this.state.style,
-"tabPosition",D.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(n=m.width-n);this.state.style.tabWidth=Math.round(n);this.state.style.tabHeight=Math.round(Math.max(0,Math.min(m.height,q.y-m.y)))},!1)]},document:function(c){return[Za(c,["size"],function(m){var q=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",O.prototype.size))));return new mxPoint(m.x+3*m.width/4,m.y+(1-q)*m.height)},function(m,q){this.state.style.size=Math.max(0,Math.min(1,(m.y+m.height-q.y)/m.height))},
-!1)]},tape:function(c){return[Za(c,["size"],function(m){var q=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",K.prototype.size))));return new mxPoint(m.getCenterX(),m.y+q*m.height/2)},function(m,q){this.state.style.size=Math.max(0,Math.min(1,(q.y-m.y)/m.height*2))},!1)]},isoCube2:function(c){return[Za(c,["isoAngle"],function(m){var q=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.state.style,"isoAngle",t.isoAngle))))*Math.PI/200;return new mxPoint(m.x,m.y+Math.min(m.width*
-Math.tan(q),.5*m.height))},function(m,q){this.state.style.isoAngle=Math.max(0,50*(q.y-m.y)/m.height)},!0)]},cylinder2:Ab(x.prototype.size),cylinder3:Ab(z.prototype.size),offPageConnector:function(c){return[Za(c,["size"],function(m){var q=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",Aa.prototype.size))));return new mxPoint(m.getCenterX(),m.y+(1-q)*m.height)},function(m,q){this.state.style.size=Math.max(0,Math.min(1,(m.y+m.height-q.y)/m.height))},!1)]},"mxgraph.basic.rect":function(c){var m=
-[Graph.createHandle(c,["size"],function(q){var n=Math.max(0,Math.min(q.width/2,q.height/2,parseFloat(mxUtils.getValue(this.state.style,"size",this.size))));return new mxPoint(q.x+n,q.y+n)},function(q,n){this.state.style.size=Math.round(100*Math.max(0,Math.min(q.height/2,q.width/2,n.x-q.x)))/100})];c=Graph.createHandle(c,["indent"],function(q){var n=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,"indent",this.dx2))));return new mxPoint(q.x+.75*q.width,q.y+n*q.height/200)},function(q,
-n){this.state.style.indent=Math.round(100*Math.max(0,Math.min(100,200*(n.y-q.y)/q.height)))/100});m.push(c);return m},curvedText:function(c){var m=function(q){return(null!=q.shape?q.shape._curveYOffset:0)||0};return[Za(c,["arcStartY"],function(q){var n=parseFloat(mxUtils.getValue(this.state.style,"arcStartY",Ra.prototype.arcStartY)),r=m(this.state);return new mxPoint(q.x+10,q.y+Math.max(0,Math.min(q.height,n+r)))},function(q,n){var r=m(this.state);this.state.style.arcStartY=Math.round(Math.max(0,
-Math.min(q.height,n.y-q.y))-r)},!1),Za(c,["arcMidY"],function(q){var n=parseFloat(mxUtils.getValue(this.state.style,"arcStartY",Ra.prototype.arcStartY)),r=parseFloat(mxUtils.getValue(this.state.style,"arcEndY",Ra.prototype.arcEndY)),w=parseFloat(mxUtils.getValue(this.state.style,"arcMidY",Ra.prototype.arcMidY));n=(n+r)/2;r=m(this.state);return new mxPoint(q.x+q.width/2+10,q.y+Math.max(0,Math.min(q.height,n+w+r)))},function(q,n){var r=parseFloat(mxUtils.getValue(this.state.style,"arcStartY",Ra.prototype.arcStartY)),
-w=parseFloat(mxUtils.getValue(this.state.style,"arcEndY",Ra.prototype.arcEndY));r=(r+w)/2;w=m(this.state);var y=Math.max(Math.abs(Ra.prototype.arcMidY),Math.min(r,q.height-r));this.state.style.arcMidY=Math.round(Math.max(-y,Math.min(y,n.y-q.y-w-r)))},!1),Za(c,["arcEndY"],function(q){var n=parseFloat(mxUtils.getValue(this.state.style,"arcEndY",Ra.prototype.arcEndY)),r=m(this.state);return new mxPoint(q.x+q.width-10,q.y+Math.max(0,Math.min(q.height,n+r)))},function(q,n){var r=m(this.state);this.state.style.arcEndY=
-Math.round(Math.max(0,Math.min(q.height,n.y-q.y))-r)},!1)]},step:wb(ma.prototype.size,!0,null,!0,ma.prototype.fixedSize),hexagon:wb(oa.prototype.size,!0,.5,!0,oa.prototype.fixedSize),curlyBracket:wb(W.prototype.size,!1),display:wb(ea.prototype.size,!1),cube:mb(1,f.prototype.size,!1),card:mb(.5,H.prototype.size,!0),loopLimit:mb(.5,Ca.prototype.size,!0),trapezoid:Bb(.5,R.prototype.size,R.prototype.fixedSize),parallelogram:Bb(1,N.prototype.size,N.prototype.fixedSize),zigzag:function(c){return[Za(c,["size"],
-function(m){var q=Math.max(5,parseFloat(mxUtils.getValue(this.state.style,"size",La.prototype.size)));return new mxPoint(m.x+3*q,m.y)},function(m,q){this.state.style.size=Math.max(5,Math.round((q.x-m.x)/3))},!1)]}};Graph.createHandle=Za;Graph.handleFactory=ub;var Eb=mxVertexHandler.prototype.createCustomHandles;mxVertexHandler.prototype.createCustomHandles=function(){var c=Eb.apply(this,arguments);if(this.graph.isCellRotatable(this.state.cell)){var m=this.state.style.shape;null==mxCellRenderer.defaultShapes[m]&&
-null==mxStencilRegistry.getStencil(m)?m=mxConstants.SHAPE_RECTANGLE:this.state.view.graph.isSwimlane(this.state.cell)&&(m=mxConstants.SHAPE_SWIMLANE);m=ub[m];null==m&&null!=this.state.shape&&this.state.shape.isRoundable()&&(m=ub[mxConstants.SHAPE_RECTANGLE]);null!=m&&(m=m(this.state),null!=m&&(c=null==c?m:c.concat(m)))}return c};mxEdgeHandler.prototype.createCustomHandles=function(){var c=this.state.style.shape;null==mxCellRenderer.defaultShapes[c]&&null==mxStencilRegistry.getStencil(c)&&(c=mxConstants.SHAPE_CONNECTOR);
-c=ub[c];return null!=c?c(this.state):null}}else Graph.createHandle=function(){},Graph.handleFactory={};var Fb=Graph.prototype.getPreferredSizeForCell;Graph.prototype.getPreferredSizeForCell=function(c,m,q){var n=this.getCellStyle(c);if(null!=n&&"curvedText"==n[mxConstants.STYLE_SHAPE]){var r=this.convertValueToString(c);if(null!=r&&0<r.length){var w=parseFloat(mxUtils.getValue(n,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE)),y=mxUtils.getValue(n,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY);
-n=mxUtils.getValue(n,mxConstants.STYLE_FONTSTYLE,0);r=.85*mxUtils.getSizeForString(r,w,y,null,n).width;y=this.model.getGeometry(c);y=null!=y?y.height:60;(q=null!=q?q:this.gridEnabled)&&(r=this.snap(r+this.gridSize/2));return new mxRectangle(0,0,Math.max(r,2*w)+10,y)}return null}return Fb.apply(this,arguments)};var bb=mxCellRenderer.prototype.checkPlaceholderStyles;mxCellRenderer.prototype.checkPlaceholderStyles=function(c){return null!=c.style&&"curvedText"==c.style[mxConstants.STYLE_SHAPE]?!0:bb.apply(this,
-arguments)};if("undefined"!==typeof mxCellEditor){var zb=mxCellEditor.prototype.startEditing;mxCellEditor.prototype.startEditing=function(c,m){zb.apply(this,arguments);var q=this.graph.view.getState(c);null!=q&&null!=q.style&&"curvedText"==q.style[mxConstants.STYLE_SHAPE]&&null!=q.shape&&q.shape.redraw()};var lb=mxCellEditor.prototype.stopEditing;mxCellEditor.prototype.stopEditing=function(c){var m=this.editingCell;lb.apply(this,arguments);null!=m&&(m=this.graph.view.getState(m),null!=m&&null!=m.style&&
-"curvedText"==m.style[mxConstants.STYLE_SHAPE]&&null!=m.shape&&m.shape.redraw())}}var tb=new mxPoint(1,0),ob=new mxPoint(1,0),ib=mxUtils.toRadians(-30);tb=mxUtils.getRotatedPoint(tb,Math.cos(ib),Math.sin(ib));var Cb=mxUtils.toRadians(-150);ob=mxUtils.getRotatedPoint(ob,Math.cos(Cb),Math.sin(Cb));mxEdgeStyle.IsometricConnector=function(c,m,q,n,r){var w=c.view;n=null!=n&&0<n.length?n[0]:null;var y=c.absolutePoints,I=y[0];y=y[y.length-1];null!=n&&(n=w.transformControlPoint(c,n));null==I&&null!=m&&(I=
-new mxPoint(m.getCenterX(),m.getCenterY()));null==y&&null!=q&&(y=new mxPoint(q.getCenterX(),q.getCenterY()));var A=tb.x,da=tb.y,Q=ob.x,Da=ob.y,Ta="horizontal"==mxUtils.getValue(c.style,"elbow","horizontal");if(null!=y&&null!=I){c=function(ra,sa,va){ra-=Ia.x;var xa=sa-Ia.y;sa=(Da*ra-Q*xa)/(A*Da-da*Q);ra=(da*ra-A*xa)/(da*Q-A*Da);Ta?(va&&(Ia=new mxPoint(Ia.x+A*sa,Ia.y+da*sa),r.push(Ia)),Ia=new mxPoint(Ia.x+Q*ra,Ia.y+Da*ra)):(va&&(Ia=new mxPoint(Ia.x+Q*ra,Ia.y+Da*ra),r.push(Ia)),Ia=new mxPoint(Ia.x+A*
-sa,Ia.y+da*sa));r.push(Ia)};var Ia=I;null==n&&(n=new mxPoint(I.x+(y.x-I.x)/2,I.y+(y.y-I.y)/2));c(n.x,n.y,!0);c(y.x,y.y,!1)}};mxStyleRegistry.putValue("isometricEdgeStyle",mxEdgeStyle.IsometricConnector);var Hb=Graph.prototype.createEdgeHandler;Graph.prototype.createEdgeHandler=function(c,m){if(m==mxEdgeStyle.IsometricConnector){var q=new mxElbowEdgeHandler(c);q.snapToTerminals=!1;return q}return Hb.apply(this,arguments)};h.prototype.constraints=[];l.prototype.getConstraints=function(c,m,q){c=[];var n=
-Math.tan(mxUtils.toRadians(30)),r=(.5-n)/2;n=Math.min(m,q/(.5+n));m=(m-n)/2;q=(q-n)/2;c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,q+.25*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m+.5*n,q+n*r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m+n,q+.25*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m+n,q+.75*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m+.5*n,q+(1-r)*n));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,m,q+.75*n));return c};t.prototype.getConstraints=function(c,m,q){c=[];var n=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.style,"isoAngle",this.isoAngle))))*Math.PI/200;n=Math.min(m*Math.tan(n),.5*q);c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,n));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,q-n));c.push(new mxConnectionConstraint(new mxPoint(.5,
-1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,q-n));c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,n));return c};V.prototype.getConstraints=function(c,m,q){c=[];mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE);var n=Math.max(0,Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size))));parseFloat(mxUtils.getValue(this.style,"position",this.position));var r=m*Math.max(0,
-Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",this.position2))));parseFloat(mxUtils.getValue(this.style,"base",this.base));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.25,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.75,0),!1));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*(q-n)));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,m,q-n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,q-n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(q-n)));m>=2*n&&c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return c};mxRectangleShape.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,
-0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,
-1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0)];mxEllipse.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(1,.5))];J.prototype.constraints=mxRectangleShape.prototype.constraints;
-mxImageShape.prototype.constraints=mxRectangleShape.prototype.constraints;mxSwimlane.prototype.constraints=mxRectangleShape.prototype.constraints;L.prototype.constraints=mxRectangleShape.prototype.constraints;mxLabel.prototype.constraints=mxRectangleShape.prototype.constraints;k.prototype.getConstraints=function(c,m,q){c=[];var n=Math.max(0,Math.min(m,Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,.5*(m-n),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-.5*n,.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*(q+n)));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
-.5),!1));m>=2*n&&c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return c};H.prototype.getConstraints=function(c,m,q){c=[];var n=Math.max(0,Math.min(m,Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+n),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,n,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*n,.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,0,n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(q+n)));c.push(new mxConnectionConstraint(new mxPoint(0,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));m>=2*n&&c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return c};f.prototype.getConstraints=function(c,m,q){c=[];var n=Math.max(0,Math.min(m,Math.min(q,parseFloat(mxUtils.getValue(this.style,
-"size",this.size)))));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-n),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-.5*n,.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*(q+n)));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,.5*(m+n),q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,n,q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*n,q-.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,q-n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(q-n)));return c};z.prototype.getConstraints=function(c,m,q){c=[];m=Math.max(0,Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,
-.5),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,m));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,m));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1,null,0,-m));c.push(new mxConnectionConstraint(new mxPoint(0,1),!1,null,0,-m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,m+.5*(.5*q-m)));c.push(new mxConnectionConstraint(new mxPoint(1,
-0),!1,null,0,m+.5*(.5*q-m)));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,q-m-.5*(.5*q-m)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,q-m-.5*(.5*q-m)));c.push(new mxConnectionConstraint(new mxPoint(.145,0),!1,null,0,.29*m));c.push(new mxConnectionConstraint(new mxPoint(.855,0),!1,null,0,.29*m));c.push(new mxConnectionConstraint(new mxPoint(.855,1),!1,null,0,.29*-m));c.push(new mxConnectionConstraint(new mxPoint(.145,1),!1,null,0,.29*-m));return c};D.prototype.getConstraints=
-function(c,m,q){c=[];var n=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"tabWidth",this.tabWidth)))),r=Math.max(0,Math.min(q,parseFloat(mxUtils.getValue(this.style,"tabHeight",this.tabHeight))));"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?(c.push(new mxConnectionConstraint(new mxPoint(0,0),!1)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*n,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,n,0)),c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,n,r)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+n),r))):(c.push(new mxConnectionConstraint(new mxPoint(1,0),!1)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-.5*n,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,r)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-n),r)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,r));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,m,.25*(q-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*(q-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.75*(q-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.25*(q-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(q-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,0,.75*(q-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,q));c.push(new mxConnectionConstraint(new mxPoint(.25,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.75,1),!1));return c};$a.prototype.constraints=mxRectangleShape.prototype.constraints;hb.prototype.constraints=mxRectangleShape.prototype.constraints;Wa.prototype.constraints=mxEllipse.prototype.constraints;Va.prototype.constraints=mxEllipse.prototype.constraints;
-u.prototype.constraints=mxEllipse.prototype.constraints;T.prototype.constraints=mxEllipse.prototype.constraints;ab.prototype.constraints=mxRectangleShape.prototype.constraints;X.prototype.constraints=mxRectangleShape.prototype.constraints;ea.prototype.getConstraints=function(c,m,q){c=[];var n=Math.min(m,q/2),r=Math.min(m-n,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*m);c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1,null));c.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,r,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(r+m-n),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,0));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1,null));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(r+m-n),q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,q));return c};Fa.prototype.getConstraints=function(c,m,q){m=parseFloat(mxUtils.getValue(c,
-"jettyWidth",Fa.prototype.jettyWidth))/2;c=parseFloat(mxUtils.getValue(c,"jettyHeight",Fa.prototype.jettyHeight));var n=[new mxConnectionConstraint(new mxPoint(0,0),!1,null,m),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,
-.75),!0),new mxConnectionConstraint(new mxPoint(0,1),!1,null,m),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,Math.min(q-.5*c,1.5*c)),new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,Math.min(q-.5*c,3.5*c))];q>5*c&&n.push(new mxConnectionConstraint(new mxPoint(0,.75),!1,null,m));q>8*c&&n.push(new mxConnectionConstraint(new mxPoint(0,
-.5),!1,null,m));q>15*c&&n.push(new mxConnectionConstraint(new mxPoint(0,.25),!1,null,m));return n};Ca.prototype.constraints=mxRectangleShape.prototype.constraints;Aa.prototype.constraints=mxRectangleShape.prototype.constraints;mxCylinder.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.15,.05),!1),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.85,.05),!1),new mxConnectionConstraint(new mxPoint(0,.3),!0),new mxConnectionConstraint(new mxPoint(0,
-.5),!0),new mxConnectionConstraint(new mxPoint(0,.7),!0),new mxConnectionConstraint(new mxPoint(1,.3),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.7),!0),new mxConnectionConstraint(new mxPoint(.15,.95),!1),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.85,.95),!1)];P.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,.1),!1),new mxConnectionConstraint(new mxPoint(.5,0),!1),new mxConnectionConstraint(new mxPoint(.75,
-.1),!1),new mxConnectionConstraint(new mxPoint(0,1/3),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(1,1/3),!1),new mxConnectionConstraint(new mxPoint(1,1),!1),new mxConnectionConstraint(new mxPoint(.5,.5),!1)];Pa.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.3),!0),new mxConnectionConstraint(new mxPoint(0,
-.7),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];mxActor.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.25,.2),!1),new mxConnectionConstraint(new mxPoint(.1,.5),!1),new mxConnectionConstraint(new mxPoint(0,
-.75),!0),new mxConnectionConstraint(new mxPoint(.75,.25),!1),new mxConnectionConstraint(new mxPoint(.9,.5),!1),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];E.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(.5,.25),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(.25,
-.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(.5,.75),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];K.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.35),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,.65),!1),new mxConnectionConstraint(new mxPoint(1,.35),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,
-.65),!1),new mxConnectionConstraint(new mxPoint(.25,1),!1),new mxConnectionConstraint(new mxPoint(.75,0),!1)];ma.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,
-.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxLine.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];ta.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,
-0),!1),new mxConnectionConstraint(new mxPoint(.5,1),!1)];mxDoubleEllipse.prototype.constraints=mxEllipse.prototype.constraints;mxRhombus.prototype.constraints=mxEllipse.prototype.constraints;mxTriangle.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(1,
-.5),!0)];mxHexagon.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.375,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.625,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.375,
-1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.625,1),!0)];mxCloud.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,.25),!1),new mxConnectionConstraint(new mxPoint(.4,.1),!1),new mxConnectionConstraint(new mxPoint(.16,.55),!1),new mxConnectionConstraint(new mxPoint(.07,.4),!1),new mxConnectionConstraint(new mxPoint(.31,.8),!1),new mxConnectionConstraint(new mxPoint(.13,.77),!1),new mxConnectionConstraint(new mxPoint(.8,.8),!1),new mxConnectionConstraint(new mxPoint(.55,
+mxUtils.getNumber(this.style,"endWidth",this.defaultArrowWidth)};ya.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-1)};mxCellRenderer.registerShape("flexArrow",ya);mxUtils.extend($a,mxActor);$a.prototype.size=30;$a.prototype.isRoundable=function(){return!0};$a.prototype.getLabelMargins=function(c){return mxUtils.getValue(this.style,"boundedLbl",!1)?(c=parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale,
+new mxRectangle(0,c,0,0)):null};$a.prototype.redrawPath=function(c,m,q,n,r){m=Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size)));q=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,r),new mxPoint(0,m),new mxPoint(n,0),new mxPoint(n,r)],this.isRounded,q,!0);c.end()};mxCellRenderer.registerShape("manualInput",$a);mxUtils.extend(ab,mxRectangleShape);ab.prototype.dx=20;ab.prototype.dy=20;ab.prototype.isHtmlAllowed=function(){return!1};
+ab.prototype.paintForeground=function(c,m,q,n,r){mxRectangleShape.prototype.paintForeground.apply(this,arguments);var w=0;if(this.isRounded){var y=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100;w=Math.max(w,Math.min(n*y,r*y))}y=Math.max(w,Math.min(n,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));w=Math.max(w,Math.min(r,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));c.begin();c.moveTo(m,q+w);c.lineTo(m+n,q+w);c.end();c.stroke();
+c.begin();c.moveTo(m+y,q);c.lineTo(m+y,q+r);c.end();c.stroke()};mxCellRenderer.registerShape("internalStorage",ab);mxUtils.extend(db,mxActor);db.prototype.dx=20;db.prototype.dy=20;db.prototype.isRoundable=function(){return!0};db.prototype.redrawPath=function(c,m,q,n,r){m=Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));q=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",this.size));var w=mxUtils.getValue(this.style,
+mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(n,0),new mxPoint(n,q),new mxPoint(m,q),new mxPoint(m,r),new mxPoint(0,r)],this.isRounded,w,!0);c.end()};mxCellRenderer.registerShape("corner",db);mxUtils.extend(qb,mxActor);qb.prototype.redrawPath=function(c,m,q,n,r){c.moveTo(0,0);c.lineTo(0,r);c.end();c.moveTo(n,0);c.lineTo(n,r);c.end();c.moveTo(0,r/2);c.lineTo(n,r/2);c.end()};mxCellRenderer.registerShape("crossbar",qb);mxUtils.extend(jb,mxActor);
+jb.prototype.dx=20;jb.prototype.dy=20;jb.prototype.isRoundable=function(){return!0};jb.prototype.redrawPath=function(c,m,q,n,r){m=Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));q=Math.max(0,Math.min(r,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",this.size));var w=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(n,0),new mxPoint(n,q),
+new mxPoint((n+m)/2,q),new mxPoint((n+m)/2,r),new mxPoint((n-m)/2,r),new mxPoint((n-m)/2,q),new mxPoint(0,q)],this.isRounded,w,!0);c.end()};mxCellRenderer.registerShape("tee",jb);mxUtils.extend(fb,mxActor);fb.prototype.arrowWidth=.3;fb.prototype.arrowSize=.2;fb.prototype.isRoundable=function(){return!0};fb.prototype.redrawPath=function(c,m,q,n,r){var w=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth))));m=n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,
+"arrowSize",this.arrowSize))));q=(r-w)/2;w=q+w;var y=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,q),new mxPoint(n-m,q),new mxPoint(n-m,0),new mxPoint(n,r/2),new mxPoint(n-m,r),new mxPoint(n-m,w),new mxPoint(0,w)],this.isRounded,y,!0);c.end()};mxCellRenderer.registerShape("singleArrow",fb);mxUtils.extend(nb,mxActor);nb.prototype.isRoundable=function(){return!0};nb.prototype.redrawPath=function(c,m,q,n,r){var w=r*Math.max(0,Math.min(1,
+parseFloat(mxUtils.getValue(this.style,"arrowWidth",fb.prototype.arrowWidth))));m=n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",fb.prototype.arrowSize))));q=(r-w)/2;w=q+w;var y=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,r/2),new mxPoint(m,0),new mxPoint(m,q),new mxPoint(n-m,q),new mxPoint(n-m,0),new mxPoint(n,r/2),new mxPoint(n-m,r),new mxPoint(n-m,w),new mxPoint(m,w),new mxPoint(m,r)],this.isRounded,
+y,!0);c.end()};mxCellRenderer.registerShape("doubleArrow",nb);mxUtils.extend(hb,mxActor);hb.prototype.size=.1;hb.prototype.fixedSize=20;hb.prototype.redrawPath=function(c,m,q,n,r){m="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):n*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.moveTo(m,0);c.lineTo(n,0);c.quadTo(n-2*m,r/2,n,r);c.lineTo(m,r);c.quadTo(m-2*m,r/2,m,0);c.close();
+c.end()};mxCellRenderer.registerShape("dataStorage",hb);mxUtils.extend(cb,mxActor);cb.prototype.redrawPath=function(c,m,q,n,r){c.moveTo(0,0);c.quadTo(n,0,n,r/2);c.quadTo(n,r,0,r);c.close();c.end()};mxCellRenderer.registerShape("or",cb);mxUtils.extend(la,mxActor);la.prototype.redrawPath=function(c,m,q,n,r){c.moveTo(0,0);c.quadTo(n,0,n,r/2);c.quadTo(n,r,0,r);c.quadTo(n/2,r/2,0,0);c.close();c.end()};mxCellRenderer.registerShape("xor",la);mxUtils.extend(Ca,mxActor);Ca.prototype.size=20;Ca.prototype.isRoundable=
+function(){return!0};Ca.prototype.redrawPath=function(c,m,q,n,r){m=Math.min(n/2,Math.min(r,parseFloat(mxUtils.getValue(this.style,"size",this.size))));q=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(m,0),new mxPoint(n-m,0),new mxPoint(n,.8*m),new mxPoint(n,r),new mxPoint(0,r),new mxPoint(0,.8*m)],this.isRounded,q,!0);c.end()};mxCellRenderer.registerShape("loopLimit",Ca);mxUtils.extend(Aa,mxActor);Aa.prototype.size=.375;Aa.prototype.isRoundable=
+function(){return!0};Aa.prototype.redrawPath=function(c,m,q,n,r){m=r*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));q=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(c,[new mxPoint(0,0),new mxPoint(n,0),new mxPoint(n,r-m),new mxPoint(n/2,r),new mxPoint(0,r-m)],this.isRounded,q,!0);c.end()};mxCellRenderer.registerShape("offPageConnector",Aa);mxUtils.extend(Wa,mxEllipse);Wa.prototype.paintVertexShape=function(c,m,q,
+n,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.begin();c.moveTo(m+n/2,q+r);c.lineTo(m+n,q+r);c.end();c.stroke()};mxCellRenderer.registerShape("tapeData",Wa);mxUtils.extend(Va,mxEllipse);Va.prototype.paintVertexShape=function(c,m,q,n,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(m,q+r/2);c.lineTo(m+n,q+r/2);c.end();c.stroke();c.begin();c.moveTo(m+n/2,q);c.lineTo(m+n/2,q+r);c.end();c.stroke()};mxCellRenderer.registerShape("orEllipse",
+Va);mxUtils.extend(u,mxEllipse);u.prototype.paintVertexShape=function(c,m,q,n,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);c.begin();c.moveTo(m+.145*n,q+.145*r);c.lineTo(m+.855*n,q+.855*r);c.end();c.stroke();c.begin();c.moveTo(m+.855*n,q+.145*r);c.lineTo(m+.145*n,q+.855*r);c.end();c.stroke()};mxCellRenderer.registerShape("sumEllipse",u);mxUtils.extend(B,mxRhombus);B.prototype.paintVertexShape=function(c,m,q,n,r){mxRhombus.prototype.paintVertexShape.apply(this,arguments);
+c.setShadow(!1);c.begin();c.moveTo(m,q+r/2);c.lineTo(m+n,q+r/2);c.end();c.stroke()};mxCellRenderer.registerShape("sortShape",B);mxUtils.extend(C,mxEllipse);C.prototype.paintVertexShape=function(c,m,q,n,r){c.begin();c.moveTo(m,q);c.lineTo(m+n,q);c.lineTo(m+n/2,q+r/2);c.close();c.fillAndStroke();c.begin();c.moveTo(m,q+r);c.lineTo(m+n,q+r);c.lineTo(m+n/2,q+r/2);c.close();c.fillAndStroke()};mxCellRenderer.registerShape("collate",C);mxUtils.extend(F,mxEllipse);F.prototype.paintVertexShape=function(c,m,
+q,n,r){var w=c.state.strokeWidth/2,y=10+2*w,I=q+r-y/2;c.begin();c.moveTo(m,q);c.lineTo(m,q+r);c.moveTo(m+w,I);c.lineTo(m+w+y,I-y/2);c.moveTo(m+w,I);c.lineTo(m+w+y,I+y/2);c.moveTo(m+w,I);c.lineTo(m+n-w,I);c.moveTo(m+n,q);c.lineTo(m+n,q+r);c.moveTo(m+n-w,I);c.lineTo(m+n-y-w,I-y/2);c.moveTo(m+n-w,I);c.lineTo(m+n-y-w,I+y/2);c.end();c.stroke()};mxCellRenderer.registerShape("dimension",F);mxUtils.extend(J,mxEllipse);J.prototype.drawHidden=!0;J.prototype.paintVertexShape=function(c,m,q,n,r){this.outline||
+c.setStrokeColor(null);if(null!=this.style){var w=c.pointerEvents,y=null!=this.fill&&this.fill!=mxConstants.NONE;"1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1")||y||(c.pointerEvents=!1);var I="1"==mxUtils.getValue(this.style,"top","1"),A="1"==mxUtils.getValue(this.style,"left","1"),da="1"==mxUtils.getValue(this.style,"right","1"),Q="1"==mxUtils.getValue(this.style,"bottom","1");this.drawHidden||y||this.outline||I||da||Q||A?(c.rect(m,q,n,r),c.fill(),c.pointerEvents=w,c.setStrokeColor(this.stroke),
+c.setLineCap("square"),c.begin(),c.moveTo(m,q),this.outline||I?c.lineTo(m+n,q):c.moveTo(m+n,q),this.outline||da?c.lineTo(m+n,q+r):c.moveTo(m+n,q+r),this.outline||Q?c.lineTo(m,q+r):c.moveTo(m,q+r),(this.outline||A)&&c.lineTo(m,q),c.end(),c.stroke(),c.setLineCap("flat")):c.setStrokeColor(this.stroke)}};mxCellRenderer.registerShape("partialRectangle",J);mxUtils.extend(T,mxEllipse);T.prototype.paintVertexShape=function(c,m,q,n,r){mxEllipse.prototype.paintVertexShape.apply(this,arguments);c.setShadow(!1);
+c.begin();"vertical"==mxUtils.getValue(this.style,"line")?(c.moveTo(m+n/2,q),c.lineTo(m+n/2,q+r)):(c.moveTo(m,q+r/2),c.lineTo(m+n,q+r/2));c.end();c.stroke()};mxCellRenderer.registerShape("lineEllipse",T);mxUtils.extend(X,mxActor);X.prototype.redrawPath=function(c,m,q,n,r){m=Math.min(n,r/2);c.moveTo(0,0);c.lineTo(n-m,0);c.quadTo(n,0,n,r/2);c.quadTo(n,r,n-m,r);c.lineTo(0,r);c.close();c.end()};mxCellRenderer.registerShape("delay",X);mxUtils.extend(pa,mxActor);pa.prototype.size=.2;pa.prototype.redrawPath=
+function(c,m,q,n,r){m=Math.min(r,n);var w=Math.max(0,Math.min(m,m*parseFloat(mxUtils.getValue(this.style,"size",this.size))));m=(r-w)/2;q=m+w;var y=(n-w)/2;w=y+w;c.moveTo(0,m);c.lineTo(y,m);c.lineTo(y,0);c.lineTo(w,0);c.lineTo(w,m);c.lineTo(n,m);c.lineTo(n,q);c.lineTo(w,q);c.lineTo(w,r);c.lineTo(y,r);c.lineTo(y,q);c.lineTo(0,q);c.close();c.end()};mxCellRenderer.registerShape("cross",pa);mxUtils.extend(ea,mxActor);ea.prototype.size=.25;ea.prototype.redrawPath=function(c,m,q,n,r){m=Math.min(n,r/2);
+q=Math.min(n-m,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*n);c.moveTo(0,r/2);c.lineTo(q,0);c.lineTo(n-m,0);c.quadTo(n,0,n,r/2);c.quadTo(n,r,n-m,r);c.lineTo(q,r);c.close();c.end()};mxCellRenderer.registerShape("display",ea);mxUtils.extend(ka,mxActor);ka.prototype.cst={RECT2:"mxgraph.basic.rect"};ka.prototype.customProperties=[{name:"rectStyle",dispName:"Style",type:"enum",defVal:"square",enumList:[{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",
+dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"size",dispName:"Corner Size",type:"float",defVal:10},{name:"absoluteCornerSize",dispName:"Abs. Corner Size",type:"bool",defVal:!0},{name:"indent",dispName:"Indent",type:"float",defVal:2},{name:"rectOutline",dispName:"Outline",type:"enum",defVal:"single",enumList:[{val:"single",dispName:"Single"},{val:"double",dispName:"Double"},{val:"frame",dispName:"Frame"}]},{name:"fillColor2",dispName:"Inside Fill Color",
+type:"color",defVal:"none"},{name:"gradientColor2",dispName:"Inside Gradient Color",type:"color",defVal:"none"},{name:"gradientDirection2",dispName:"Inside Gradient Direction",type:"enum",defVal:"south",enumList:[{val:"south",dispName:"South"},{val:"west",dispName:"West"},{val:"north",dispName:"North"},{val:"east",dispName:"East"}]},{name:"top",dispName:"Top Line",type:"bool",defVal:!0},{name:"right",dispName:"Right",type:"bool",defVal:!0},{name:"bottom",dispName:"Bottom Line",type:"bool",defVal:!0},
+{name:"left",dispName:"Left ",type:"bool",defVal:!0},{name:"topLeftStyle",dispName:"Top Left Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"topRightStyle",dispName:"Top Right Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",
+dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"bottomRightStyle",dispName:"Bottom Right Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"bottomLeftStyle",dispName:"Bottom Left Style",type:"enum",defVal:"default",enumList:[{val:"default",
+dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]}];ka.prototype.paintVertexShape=function(c,m,q,n,r){c.translate(m,q);this.strictDrawShape(c,0,0,n,r)};ka.prototype.strictDrawShape=function(c,m,q,n,r,w){var y=w&&w.rectStyle?w.rectStyle:mxUtils.getValue(this.style,"rectStyle",this.rectStyle),I=w&&w.absoluteCornerSize?w.absoluteCornerSize:mxUtils.getValue(this.style,
+"absoluteCornerSize",this.absoluteCornerSize),A=w&&w.size?w.size:Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),da=w&&w.rectOutline?w.rectOutline:mxUtils.getValue(this.style,"rectOutline",this.rectOutline),Q=w&&w.indent?w.indent:Math.max(0,Math.min(n,parseFloat(mxUtils.getValue(this.style,"indent",this.indent)))),Da=w&&w.dashed?w.dashed:mxUtils.getValue(this.style,"dashed",!1),Ta=w&&w.dashPattern?w.dashPattern:mxUtils.getValue(this.style,"dashPattern",null),Ia=w&&
+w.relIndent?w.relIndent:Math.max(0,Math.min(50,Q)),ra=w&&w.top?w.top:mxUtils.getValue(this.style,"top",!0),sa=w&&w.right?w.right:mxUtils.getValue(this.style,"right",!0),va=w&&w.bottom?w.bottom:mxUtils.getValue(this.style,"bottom",!0),xa=w&&w.left?w.left:mxUtils.getValue(this.style,"left",!0),Ha=w&&w.topLeftStyle?w.topLeftStyle:mxUtils.getValue(this.style,"topLeftStyle","default"),Ma=w&&w.topRightStyle?w.topRightStyle:mxUtils.getValue(this.style,"topRightStyle","default"),Na=w&&w.bottomRightStyle?
+w.bottomRightStyle:mxUtils.getValue(this.style,"bottomRightStyle","default"),Oa=w&&w.bottomLeftStyle?w.bottomLeftStyle:mxUtils.getValue(this.style,"bottomLeftStyle","default"),Jb=w&&w.fillColor?w.fillColor:mxUtils.getValue(this.style,"fillColor","#ffffff");w&&w.strokeColor||mxUtils.getValue(this.style,"strokeColor","#000000");var Kb=w&&w.strokeWidth?w.strokeWidth:mxUtils.getValue(this.style,"strokeWidth","1"),Gb=w&&w.fillColor2?w.fillColor2:mxUtils.getValue(this.style,"fillColor2","none"),Ib=w&&w.gradientColor2?
+w.gradientColor2:mxUtils.getValue(this.style,"gradientColor2","none"),Lb=w&&w.gradientDirection2?w.gradientDirection2:mxUtils.getValue(this.style,"gradientDirection2","south"),Mb=w&&w.opacity?w.opacity:mxUtils.getValue(this.style,"opacity","100"),Nb=Math.max(0,Math.min(50,A));w=ka.prototype;c.setDashed(Da);Ta&&""!=Ta&&c.setDashPattern(Ta);c.setStrokeWidth(Kb);A=Math.min(.5*r,.5*n,A);I||(A=Nb*Math.min(n,r)/100);A=Math.min(A,.5*Math.min(n,r));I||(Q=Math.min(Ia*Math.min(n,r)/100));Q=Math.min(Q,.5*Math.min(n,
+r)-A);(ra||sa||va||xa)&&"frame"!=da&&(c.begin(),ra?w.moveNW(c,m,q,n,r,y,Ha,A,xa):c.moveTo(0,0),ra&&w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),sa&&w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),va&&w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),xa&&w.paintSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),c.close(),c.fill(),c.setShadow(!1),c.setFillColor(Gb),Da=I=Mb,"none"==Gb&&(I=0),"none"==Ib&&(Da=0),c.setGradient(Gb,Ib,0,0,n,r,Lb,I,
+Da),c.begin(),ra?w.moveNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa):c.moveTo(Q,0),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),xa&&va&&w.paintSWInner(c,m,q,n,r,y,Oa,A,Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),va&&sa&&w.paintSEInner(c,m,q,n,r,y,Na,A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),sa&&ra&&w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),ra&&xa&&w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),c.fill(),"none"==Jb&&(c.begin(),w.paintFolds(c,m,q,n,r,y,Ha,Ma,Na,Oa,A,ra,sa,va,xa),
+c.stroke()));ra||sa||va||!xa?ra||sa||!va||xa?!ra&&!sa&&va&&xa?"frame"!=da?(c.begin(),w.moveSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.paintSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),"double"==da&&(w.moveNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),w.paintSWInner(c,m,q,n,r,y,Oa,A,Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va)),c.stroke()):(c.begin(),w.moveSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.paintSW(c,m,q,n,
+r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.lineNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),w.paintSWInner(c,m,q,n,r,y,Oa,A,Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),c.close(),c.fillAndStroke()):ra||!sa||va||xa?!ra&&sa&&!va&&xa?"frame"!=da?(c.begin(),w.moveSW(c,m,q,n,r,y,Ha,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),"double"==da&&(w.moveNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa)),c.stroke(),c.begin(),w.moveNE(c,m,q,n,r,y,
+Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),"double"==da&&(w.moveSEInner(c,m,q,n,r,y,Na,A,Q,va),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa)),c.stroke()):(c.begin(),w.moveSW(c,m,q,n,r,y,Ha,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.lineNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),c.close(),c.fillAndStroke(),c.begin(),w.moveNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.lineSEInner(c,m,q,n,r,y,Na,A,Q,va),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),c.close(),
+c.fillAndStroke()):!ra&&sa&&va&&!xa?"frame"!=da?(c.begin(),w.moveNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),"double"==da&&(w.moveSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),w.paintSEInner(c,m,q,n,r,y,Na,A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa)),c.stroke()):(c.begin(),w.moveNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,
+q,n,r,y,Oa,A,xa),w.lineSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),w.paintSEInner(c,m,q,n,r,y,Na,A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),c.close(),c.fillAndStroke()):!ra&&sa&&va&&xa?"frame"!=da?(c.begin(),w.moveNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.paintSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),"double"==da&&(w.moveNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa),w.paintLeftInner(c,
+m,q,n,r,y,Oa,A,Q,va,xa),w.paintSWInner(c,m,q,n,r,y,Oa,A,Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),w.paintSEInner(c,m,q,n,r,y,Na,A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa)),c.stroke()):(c.begin(),w.moveNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.paintSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.lineNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),w.paintSWInner(c,
+m,q,n,r,y,Oa,A,Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),w.paintSEInner(c,m,q,n,r,y,Na,A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),c.close(),c.fillAndStroke()):!ra||sa||va||xa?ra&&!sa&&!va&&xa?"frame"!=da?(c.begin(),w.moveSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),"double"==da&&(w.moveNEInner(c,m,q,n,r,y,Ma,A,Q,sa),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),w.paintLeftInner(c,
+m,q,n,r,y,Oa,A,Q,va,xa)),c.stroke()):(c.begin(),w.moveSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.lineNEInner(c,m,q,n,r,y,Ma,A,Q,sa),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),c.close(),c.fillAndStroke()):ra&&!sa&&va&&!xa?"frame"!=da?(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),"double"==da&&(w.moveNEInner(c,m,q,n,r,
+y,Ma,A,Q,sa),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra)),c.stroke(),c.begin(),w.moveSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),"double"==da&&(w.moveSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va)),c.stroke()):(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.lineNEInner(c,m,q,n,r,y,Ma,A,Q,sa),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),c.close(),c.fillAndStroke(),c.begin(),w.moveSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,
+A,xa),w.lineSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),c.close(),c.fillAndStroke()):ra&&!sa&&va&&xa?"frame"!=da?(c.begin(),w.moveSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.paintSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),"double"==da&&(w.moveNEInner(c,m,q,n,r,y,Ma,A,Q,sa),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),w.paintLeftInner(c,m,q,n,
+r,y,Oa,A,Q,va,xa),w.paintSWInner(c,m,q,n,r,y,Oa,A,Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va)),c.stroke()):(c.begin(),w.moveSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.paintSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.lineNEInner(c,m,q,n,r,y,Ma,A,Q,sa),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),w.paintSWInner(c,m,q,n,r,y,
+Oa,A,Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),c.close(),c.fillAndStroke()):ra&&sa&&!va&&!xa?"frame"!=da?(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),"double"==da&&(w.moveSEInner(c,m,q,n,r,y,Na,A,Q,va),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra)),c.stroke()):(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,
+Ma,A,sa),w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.lineSEInner(c,m,q,n,r,y,Na,A,Q,va),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),c.close(),c.fillAndStroke()):ra&&sa&&!va&&xa?"frame"!=da?(c.begin(),w.moveSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),"double"==
+da&&(w.moveSEInner(c,m,q,n,r,y,Na,A,Q,va),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa)),c.stroke()):(c.begin(),w.moveSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.lineSEInner(c,m,q,n,r,y,Na,A,Q,va),w.paintRightInner(c,
+m,q,n,r,y,Ma,A,Q,ra,sa),w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),c.close(),c.fillAndStroke()):ra&&sa&&va&&!xa?"frame"!=da?(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),"double"==da&&(w.moveSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintBottomInner(c,
+m,q,n,r,y,Na,A,Q,sa,va),w.paintSEInner(c,m,q,n,r,y,Na,A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra)),c.stroke()):(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.lineSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),w.paintSEInner(c,m,q,n,
+r,y,Na,A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),c.close(),c.fillAndStroke()):ra&&sa&&va&&xa&&("frame"!=da?(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.paintNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.paintSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),c.close(),"double"==
+da&&(w.moveSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintSWInner(c,m,q,n,r,y,Oa,A,Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),w.paintSEInner(c,m,q,n,r,y,Na,A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa),c.close()),c.stroke()):(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.paintNE(c,m,q,
+n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.paintSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.paintSW(c,m,q,n,r,y,Oa,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),c.close(),w.moveSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintSWInner(c,m,q,n,r,y,Oa,A,Q,va),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),w.paintSEInner(c,m,q,n,r,y,Na,A,Q),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),w.paintNEInner(c,m,q,n,r,y,Ma,A,Q),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),w.paintNWInner(c,m,q,n,r,y,Ha,A,Q),w.paintLeftInner(c,
+m,q,n,r,y,Oa,A,Q,va,xa),c.close(),c.fillAndStroke())):"frame"!=da?(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),"double"==da&&(w.moveNEInner(c,m,q,n,r,y,Ma,A,Q,sa),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra)),c.stroke()):(c.begin(),w.moveNW(c,m,q,n,r,y,Ha,A,xa),w.paintTop(c,m,q,n,r,y,Ma,A,sa),w.lineNEInner(c,m,q,n,r,y,Ma,A,Q,sa),w.paintTopInner(c,m,q,n,r,y,Ha,A,Q,xa,ra),c.close(),c.fillAndStroke()):"frame"!=da?(c.begin(),w.moveNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,
+r,y,Na,A,va),"double"==da&&(w.moveSEInner(c,m,q,n,r,y,Na,A,Q,va),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa)),c.stroke()):(c.begin(),w.moveNE(c,m,q,n,r,y,Ma,A,ra),w.paintRight(c,m,q,n,r,y,Na,A,va),w.lineSEInner(c,m,q,n,r,y,Na,A,Q,va),w.paintRightInner(c,m,q,n,r,y,Ma,A,Q,ra,sa),c.close(),c.fillAndStroke()):"frame"!=da?(c.begin(),w.moveSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),"double"==da&&(w.moveSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va)),c.stroke()):
+(c.begin(),w.moveSE(c,m,q,n,r,y,Na,A,sa),w.paintBottom(c,m,q,n,r,y,Oa,A,xa),w.lineSWInner(c,m,q,n,r,y,Oa,A,Q,xa),w.paintBottomInner(c,m,q,n,r,y,Na,A,Q,sa,va),c.close(),c.fillAndStroke()):"frame"!=da?(c.begin(),w.moveSW(c,m,q,n,r,y,Ha,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),"double"==da&&(w.moveNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa),w.paintLeftInner(c,m,q,n,r,y,Oa,A,Q,va,xa)),c.stroke()):(c.begin(),w.moveSW(c,m,q,n,r,y,Ha,A,va),w.paintLeft(c,m,q,n,r,y,Ha,A,ra),w.lineNWInner(c,m,q,n,r,y,Ha,A,Q,ra,xa),w.paintLeftInner(c,
+m,q,n,r,y,Oa,A,Q,va,xa),c.close(),c.fillAndStroke());c.begin();w.paintFolds(c,m,q,n,r,y,Ha,Ma,Na,Oa,A,ra,sa,va,xa);c.stroke()};ka.prototype.moveNW=function(c,m,q,n,r,w,y,I,A){"square"==y||"default"==y&&"square"==w||!A?c.moveTo(0,0):c.moveTo(0,I)};ka.prototype.moveNE=function(c,m,q,n,r,w,y,I,A){"square"==y||"default"==y&&"square"==w||!A?c.moveTo(n,0):c.moveTo(n-I,0)};ka.prototype.moveSE=function(c,m,q,n,r,w,y,I,A){"square"==y||"default"==y&&"square"==w||!A?c.moveTo(n,r):c.moveTo(n,r-I)};ka.prototype.moveSW=
+function(c,m,q,n,r,w,y,I,A){"square"==y||"default"==y&&"square"==w||!A?c.moveTo(0,r):c.moveTo(I,r)};ka.prototype.paintNW=function(c,m,q,n,r,w,y,I,A){if(A)if("rounded"==y||"default"==y&&"rounded"==w||"invRound"==y||"default"==y&&"invRound"==w){m=0;if("rounded"==y||"default"==y&&"rounded"==w)m=1;c.arcTo(I,I,0,0,m,I,0)}else("snip"==y||"default"==y&&"snip"==w||"fold"==y||"default"==y&&"fold"==w)&&c.lineTo(I,0);else c.lineTo(0,0)};ka.prototype.paintTop=function(c,m,q,n,r,w,y,I,A){"square"==y||"default"==
+y&&"square"==w||!A?c.lineTo(n,0):c.lineTo(n-I,0)};ka.prototype.paintNE=function(c,m,q,n,r,w,y,I,A){if(A)if("rounded"==y||"default"==y&&"rounded"==w||"invRound"==y||"default"==y&&"invRound"==w){m=0;if("rounded"==y||"default"==y&&"rounded"==w)m=1;c.arcTo(I,I,0,0,m,n,I)}else("snip"==y||"default"==y&&"snip"==w||"fold"==y||"default"==y&&"fold"==w)&&c.lineTo(n,I);else c.lineTo(n,0)};ka.prototype.paintRight=function(c,m,q,n,r,w,y,I,A){"square"==y||"default"==y&&"square"==w||!A?c.lineTo(n,r):c.lineTo(n,r-
+I)};ka.prototype.paintLeft=function(c,m,q,n,r,w,y,I,A){"square"==y||"default"==y&&"square"==w||!A?c.lineTo(0,0):c.lineTo(0,I)};ka.prototype.paintSE=function(c,m,q,n,r,w,y,I,A){if(A)if("rounded"==y||"default"==y&&"rounded"==w||"invRound"==y||"default"==y&&"invRound"==w){m=0;if("rounded"==y||"default"==y&&"rounded"==w)m=1;c.arcTo(I,I,0,0,m,n-I,r)}else("snip"==y||"default"==y&&"snip"==w||"fold"==y||"default"==y&&"fold"==w)&&c.lineTo(n-I,r);else c.lineTo(n,r)};ka.prototype.paintBottom=function(c,m,q,
+n,r,w,y,I,A){"square"==y||"default"==y&&"square"==w||!A?c.lineTo(0,r):c.lineTo(I,r)};ka.prototype.paintSW=function(c,m,q,n,r,w,y,I,A){if(A)if("rounded"==y||"default"==y&&"rounded"==w||"invRound"==y||"default"==y&&"invRound"==w){m=0;if("rounded"==y||"default"==y&&"rounded"==w)m=1;c.arcTo(I,I,0,0,m,0,r-I)}else("snip"==y||"default"==y&&"snip"==w||"fold"==y||"default"==y&&"fold"==w)&&c.lineTo(0,r-I);else c.lineTo(0,r)};ka.prototype.paintNWInner=function(c,m,q,n,r,w,y,I,A){if("rounded"==y||"default"==
+y&&"rounded"==w)c.arcTo(I-.5*A,I-.5*A,0,0,0,A,.5*A+I);else if("invRound"==y||"default"==y&&"invRound"==w)c.arcTo(I+A,I+A,0,0,1,A,A+I);else if("snip"==y||"default"==y&&"snip"==w)c.lineTo(A,.5*A+I);else if("fold"==y||"default"==y&&"fold"==w)c.lineTo(A+I,A+I),c.lineTo(A,A+I)};ka.prototype.paintTopInner=function(c,m,q,n,r,w,y,I,A,da,Q){da||Q?!da&&Q?c.lineTo(0,A):da&&!Q?c.lineTo(A,0):da?"square"==y||"default"==y&&"square"==w?c.lineTo(A,A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==
+y&&"snip"==w?c.lineTo(I+.5*A,A):c.lineTo(I+A,A):c.lineTo(0,A):c.lineTo(0,0)};ka.prototype.paintNEInner=function(c,m,q,n,r,w,y,I,A){if("rounded"==y||"default"==y&&"rounded"==w)c.arcTo(I-.5*A,I-.5*A,0,0,0,n-I-.5*A,A);else if("invRound"==y||"default"==y&&"invRound"==w)c.arcTo(I+A,I+A,0,0,1,n-I-A,A);else if("snip"==y||"default"==y&&"snip"==w)c.lineTo(n-I-.5*A,A);else if("fold"==y||"default"==y&&"fold"==w)c.lineTo(n-I-A,I+A),c.lineTo(n-I-A,A)};ka.prototype.paintRightInner=function(c,m,q,n,r,w,y,I,A,da,
+Q){da||Q?!da&&Q?c.lineTo(n-A,0):da&&!Q?c.lineTo(n,A):da?"square"==y||"default"==y&&"square"==w?c.lineTo(n-A,A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.lineTo(n-A,I+.5*A):c.lineTo(n-A,I+A):c.lineTo(n-A,0):c.lineTo(n,0)};ka.prototype.paintLeftInner=function(c,m,q,n,r,w,y,I,A,da,Q){da||Q?!da&&Q?c.lineTo(A,r):da&&!Q?c.lineTo(0,r-A):da?"square"==y||"default"==y&&"square"==w?c.lineTo(A,r-A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==
+w?c.lineTo(A,r-I-.5*A):c.lineTo(A,r-I-A):c.lineTo(A,r):c.lineTo(0,r)};ka.prototype.paintSEInner=function(c,m,q,n,r,w,y,I,A){if("rounded"==y||"default"==y&&"rounded"==w)c.arcTo(I-.5*A,I-.5*A,0,0,0,n-A,r-I-.5*A);else if("invRound"==y||"default"==y&&"invRound"==w)c.arcTo(I+A,I+A,0,0,1,n-A,r-I-A);else if("snip"==y||"default"==y&&"snip"==w)c.lineTo(n-A,r-I-.5*A);else if("fold"==y||"default"==y&&"fold"==w)c.lineTo(n-I-A,r-I-A),c.lineTo(n-A,r-I-A)};ka.prototype.paintBottomInner=function(c,m,q,n,r,w,y,I,
+A,da,Q){da||Q?!da&&Q?c.lineTo(n,r-A):da&&!Q?c.lineTo(n-A,r):"square"==y||"default"==y&&"square"==w||!da?c.lineTo(n-A,r-A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.lineTo(n-I-.5*A,r-A):c.lineTo(n-I-A,r-A):c.lineTo(n,r)};ka.prototype.paintSWInner=function(c,m,q,n,r,w,y,I,A,da){if(!da)c.lineTo(A,r);else if("square"==y||"default"==y&&"square"==w)c.lineTo(A,r-A);else if("rounded"==y||"default"==y&&"rounded"==w)c.arcTo(I-.5*A,I-.5*A,0,0,0,I+.5*A,r-A);else if("invRound"==
+y||"default"==y&&"invRound"==w)c.arcTo(I+A,I+A,0,0,1,I+A,r-A);else if("snip"==y||"default"==y&&"snip"==w)c.lineTo(I+.5*A,r-A);else if("fold"==y||"default"==y&&"fold"==w)c.lineTo(A+I,r-I-A),c.lineTo(A+I,r-A)};ka.prototype.moveSWInner=function(c,m,q,n,r,w,y,I,A,da){da?"square"==y||"default"==y&&"square"==w?c.moveTo(A,r-A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.moveTo(A,r-I-.5*A):("invRound"==y||"default"==y&&"invRound"==w||"fold"==y||"default"==y&&"fold"==w)&&
+c.moveTo(A,r-I-A):c.moveTo(0,r-A)};ka.prototype.lineSWInner=function(c,m,q,n,r,w,y,I,A,da){da?"square"==y||"default"==y&&"square"==w?c.lineTo(A,r-A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.lineTo(A,r-I-.5*A):("invRound"==y||"default"==y&&"invRound"==w||"fold"==y||"default"==y&&"fold"==w)&&c.lineTo(A,r-I-A):c.lineTo(0,r-A)};ka.prototype.moveSEInner=function(c,m,q,n,r,w,y,I,A,da){da?"square"==y||"default"==y&&"square"==w?c.moveTo(n-A,r-A):"rounded"==y||"default"==
+y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.moveTo(n-A,r-I-.5*A):("invRound"==y||"default"==y&&"invRound"==w||"fold"==y||"default"==y&&"fold"==w)&&c.moveTo(n-A,r-I-A):c.moveTo(n-A,r)};ka.prototype.lineSEInner=function(c,m,q,n,r,w,y,I,A,da){da?"square"==y||"default"==y&&"square"==w?c.lineTo(n-A,r-A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.lineTo(n-A,r-I-.5*A):("invRound"==y||"default"==y&&"invRound"==w||"fold"==y||"default"==y&&"fold"==w)&&c.lineTo(n-
+A,r-I-A):c.lineTo(n-A,r)};ka.prototype.moveNEInner=function(c,m,q,n,r,w,y,I,A,da){da?"square"==y||"default"==y&&"square"==w||da?c.moveTo(n-A,A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.moveTo(n-A,I+.5*A):("invRound"==y||"default"==y&&"invRound"==w||"fold"==y||"default"==y&&"fold"==w)&&c.moveTo(n-A,I+A):c.moveTo(n,A)};ka.prototype.lineNEInner=function(c,m,q,n,r,w,y,I,A,da){da?"square"==y||"default"==y&&"square"==w||da?c.lineTo(n-A,A):"rounded"==y||"default"==y&&
+"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.lineTo(n-A,I+.5*A):("invRound"==y||"default"==y&&"invRound"==w||"fold"==y||"default"==y&&"fold"==w)&&c.lineTo(n-A,I+A):c.lineTo(n,A)};ka.prototype.moveNWInner=function(c,m,q,n,r,w,y,I,A,da,Q){da||Q?!da&&Q?c.moveTo(A,0):da&&!Q?c.moveTo(0,A):"square"==y||"default"==y&&"square"==w?c.moveTo(A,A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.moveTo(A,I+.5*A):("invRound"==y||"default"==y&&"invRound"==w||"fold"==y||"default"==
+y&&"fold"==w)&&c.moveTo(A,I+A):c.moveTo(0,0)};ka.prototype.lineNWInner=function(c,m,q,n,r,w,y,I,A,da,Q){da||Q?!da&&Q?c.lineTo(A,0):da&&!Q?c.lineTo(0,A):"square"==y||"default"==y&&"square"==w?c.lineTo(A,A):"rounded"==y||"default"==y&&"rounded"==w||"snip"==y||"default"==y&&"snip"==w?c.lineTo(A,I+.5*A):("invRound"==y||"default"==y&&"invRound"==w||"fold"==y||"default"==y&&"fold"==w)&&c.lineTo(A,I+A):c.lineTo(0,0)};ka.prototype.paintFolds=function(c,m,q,n,r,w,y,I,A,da,Q,Da,Ta,Ia,ra){if("fold"==w||"fold"==
+y||"fold"==I||"fold"==A||"fold"==da)("fold"==y||"default"==y&&"fold"==w)&&Da&&ra&&(c.moveTo(0,Q),c.lineTo(Q,Q),c.lineTo(Q,0)),("fold"==I||"default"==I&&"fold"==w)&&Da&&Ta&&(c.moveTo(n-Q,0),c.lineTo(n-Q,Q),c.lineTo(n,Q)),("fold"==A||"default"==A&&"fold"==w)&&Ia&&Ta&&(c.moveTo(n-Q,r),c.lineTo(n-Q,r-Q),c.lineTo(n,r-Q)),("fold"==da||"default"==da&&"fold"==w)&&Ia&&ra&&(c.moveTo(0,r-Q),c.lineTo(Q,r-Q),c.lineTo(Q,r))};mxCellRenderer.registerShape(ka.prototype.cst.RECT2,ka);ka.prototype.constraints=null;
+mxUtils.extend(Ba,mxConnector);Ba.prototype.origPaintEdgeShape=Ba.prototype.paintEdgeShape;Ba.prototype.paintEdgeShape=function(c,m){for(var q=[],n=0;n<m.length;n++)q.push(mxUtils.clone(m[n]));n=c.state.dashed;var r=c.state.fixDash;Ba.prototype.origPaintEdgeShape.apply(this,[c,q]);3<=c.state.strokeWidth&&(q=mxUtils.getValue(this.style,"fillColor",null),null!=q&&(c.setStrokeColor(q),c.setStrokeWidth(c.state.strokeWidth-2),c.setDashed(n,r),Ba.prototype.origPaintEdgeShape.apply(this,[c,m])))};mxCellRenderer.registerShape("filledEdge",
+Ba);mxUtils.extend(Ea,mxConnector);Ea.prototype.defaultWidth=4;Ea.prototype.getEdgeWidth=function(){return Math.max(0,mxUtils.getNumber(this.style,"width",this.defaultWidth))};Ea.prototype.getFlowAnimationPath=function(){return mxShape.prototype.getFlowAnimationPath.call(this,2)};Ea.prototype.origPaintEdgeShape=Ea.prototype.paintEdgeShape;Ea.prototype.paintEdgeShape=function(c,m){for(var q=[],n=0;n<m.length;n++)q.push(mxUtils.clone(m[n]));n=c.state.dashed;var r=c.state.fixDash,w=this.getEdgeWidth();
+c.setStrokeWidth(w+2*this.strokewidth);c.setDashed(!1);Ea.prototype.origPaintEdgeShape.apply(this,[c,q]);q=mxUtils.getValue(this.style,"fillColor",null);null!=q&&(c.setStrokeWidth(w),c.setStrokeColor(q),c.setDashed(n,r),Ea.prototype.origPaintEdgeShape.apply(this,[c,m]))};mxCellRenderer.registerShape("pipe",Ea);mxUtils.extend(La,mxRectangleShape);La.prototype.size=10;La.prototype.isRoundable=function(){return!0};La.prototype.paintVertexShape=function(c,m,q,n,r){c.translate(m,q);m=mxUtils.getValue(this.style,
+mxConstants.STYLE_FILLCOLOR,null);null!=m&&m!=mxConstants.NONE&&(c.setStrokeColor("none"),c.begin(),c.rect(0,0,n,r),c.fillAndStroke(),c.setStrokeColor(this.stroke));var w=Math.max(5,parseFloat(mxUtils.getValue(this.style,"size",this.size)));m=r/2;q=this.strokewidth;q=this.isRounded?q/2:q;r-=q;w=Math.max(1,Math.round(n/w)-1);var y=n/(w+1),I=y/2;c.begin();c.moveTo(0,m);if(this.isRounded){c.curveTo(.4*I,m-.4*(m-q),.6*I,q,I,q);for(var A=0;A<w;A++){var da=I+A*y,Q=da+y,Da=0==A%2?r:q;c.curveTo(da+.4*y,0==
+A%2?q:r,Q-.4*y,Da,Q,Da)}r=0==w%2?q:r;c.curveTo(I+w*y+.4*I,r,n-.4*I,m-(r==q?1:-1)*(m-q)*.4,n,m)}else{c.lineTo(I,q);for(A=0;A<w;A++)Q=I+(A+1)*y,Da=0==A%2?r:q,c.lineTo(Q,Da);c.lineTo(n,m)}c.stroke()};mxCellRenderer.registerShape("zigzag",La);"undefined"!==typeof StyleFormatPanel&&function(){var c=StyleFormatPanel.prototype.getCustomColors;StyleFormatPanel.prototype.getCustomColors=function(){var m=this.editorUi.getSelectionState(),q=c.apply(this,arguments);"umlFrame"==m.style.shape&&q.push({title:mxResources.get("laneColor"),
+key:"swimlaneFillColor",defaultValue:"default"});return q}}();mxMarker.addMarker("dash",function(c,m,q,n,r,w,y,I,A,da){var Q=r*(y+A+1),Da=w*(y+A+1);return function(){c.begin();c.moveTo(n.x-Q/2-Da/2,n.y-Da/2+Q/2);c.lineTo(n.x+Da/2-3*Q/2,n.y-3*Da/2-Q/2);c.stroke()}});mxMarker.addMarker("box",function(c,m,q,n,r,w,y,I,A,da){var Q=r*(y+A+1),Da=w*(y+A+1),Ta=n.x+Q/2,Ia=n.y+Da/2;n.x-=Q;n.y-=Da;return function(){c.begin();c.moveTo(Ta-Q/2-Da/2,Ia-Da/2+Q/2);c.lineTo(Ta-Q/2+Da/2,Ia-Da/2-Q/2);c.lineTo(Ta+Da/2-
+3*Q/2,Ia-3*Da/2-Q/2);c.lineTo(Ta-Da/2-3*Q/2,Ia-3*Da/2+Q/2);c.close();da?c.fillAndStroke():c.stroke()}});mxMarker.addMarker("cross",function(c,m,q,n,r,w,y,I,A,da){var Q=r*(y+A+1),Da=w*(y+A+1);return function(){c.begin();c.moveTo(n.x-Q/2-Da/2,n.y-Da/2+Q/2);c.lineTo(n.x+Da/2-3*Q/2,n.y-3*Da/2-Q/2);c.moveTo(n.x-Q/2+Da/2,n.y-Da/2-Q/2);c.lineTo(n.x-Da/2-3*Q/2,n.y-3*Da/2+Q/2);c.stroke()}});mxMarker.addMarker("circle",Sa);mxMarker.addMarker("circlePlus",function(c,m,q,n,r,w,y,I,A,da){var Q=n.clone(),Da=Sa.apply(this,
+arguments),Ta=r*(y+2*A),Ia=w*(y+2*A);return function(){Da.apply(this,arguments);c.begin();c.moveTo(Q.x-r*A,Q.y-w*A);c.lineTo(Q.x-2*Ta+r*A,Q.y-2*Ia+w*A);c.moveTo(Q.x-Ta-Ia+w*A,Q.y-Ia+Ta-r*A);c.lineTo(Q.x+Ia-Ta-w*A,Q.y-Ia-Ta+r*A);c.stroke()}});mxMarker.addMarker("halfCircle",function(c,m,q,n,r,w,y,I,A,da){var Q=r*(y+A+1),Da=w*(y+A+1),Ta=n.clone();n.x-=Q;n.y-=Da;return function(){c.begin();c.moveTo(Ta.x-Da,Ta.y+Q);c.quadTo(n.x-Da,n.y+Q,n.x,n.y);c.quadTo(n.x+Da,n.y-Q,Ta.x+Da,Ta.y-Q);c.stroke()}});mxMarker.addMarker("async",
+function(c,m,q,n,r,w,y,I,A,da){m=r*A*1.118;q=w*A*1.118;r*=y+A;w*=y+A;var Q=n.clone();Q.x-=m;Q.y-=q;n.x+=-r-m;n.y+=-w-q;return function(){c.begin();c.moveTo(Q.x,Q.y);I?c.lineTo(Q.x-r-w/2,Q.y-w+r/2):c.lineTo(Q.x+w/2-r,Q.y-w-r/2);c.lineTo(Q.x-r,Q.y-w);c.close();da?c.fillAndStroke():c.stroke()}});mxMarker.addMarker("openAsync",function(c){c=null!=c?c:2;return function(m,q,n,r,w,y,I,A,da,Q){w*=I+da;y*=I+da;var Da=r.clone();return function(){m.begin();m.moveTo(Da.x,Da.y);A?m.lineTo(Da.x-w-y/c,Da.y-y+w/
+c):m.lineTo(Da.x+y/c-w,Da.y-y-w/c);m.stroke()}}}(2));mxUtils.extend(Ra,mxRectangleShape);Ra.prototype.arcStartY=25;Ra.prototype.arcMidY=-25;Ra.prototype.arcEndY=25;Ra.prototype.paintForeground=function(c,m,q,n,r){mxRectangleShape.prototype.paintForeground.apply(this,arguments);if(null!=this.state){var w=this.state.view.graph;if(null==w.cellEditor||w.cellEditor.editingCell!=this.state.cell)if(w=w.convertValueToString(this.state.cell),null!=w&&0!=w.length){var y=parseFloat(mxUtils.getValue(this.style,
+"arcStartY",this.arcStartY)),I=parseFloat(mxUtils.getValue(this.style,"arcMidY",this.arcMidY)),A=parseFloat(mxUtils.getValue(this.style,"arcEndY",this.arcEndY)),da=mxUtils.getValue(this.style,"curveType","round");if(null!=c.root&&"function"===typeof c.getBaseUrl){null!=this._curvedTextGroup&&null!=this._curvedTextGroup.parentNode&&this._curvedTextGroup.parentNode.removeChild(this._curvedTextGroup);this._curvedTextGroup=null;c.translate(m,q);var Q=c.state,Da=parseFloat(mxUtils.getValue(this.style,
+mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE)),Ta=Da/2,Ia=(y+A)/2,ra=Math.max(Math.abs(Ra.prototype.arcMidY),Math.min(Ia,r-Ia));I=Math.max(-ra,Math.min(ra,I));var sa=Ia+I;I=Math.min(y,A,sa);ra=Math.max(y,A,sa);Ia=ra-I;var va=mxUtils.getValue(this.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE);this._curveYOffset=Ia=va==mxConstants.ALIGN_TOP?Ta-I:va==mxConstants.ALIGN_BOTTOM?r-Ta-ra:(r-Ia)/2-I;va=n-Ta;I=(Ta+Q.dx)*Q.scale;y=(y+Ia+Q.dy)*Q.scale;ra=((Ta+va)/2+Q.dx)*Q.scale;
+sa=(sa+Ia+Q.dy)*Q.scale;Ta=(va+Q.dx)*Q.scale;A=(A+Ia+Q.dy)*Q.scale;"round"==da?(va=Math.sqrt((Ta-I)*(Ta-I)+(A-y)*(A-y)),da=(I+Ta)/2,Ia=(y+A)/2,da=Math.sqrt((ra-da)*(ra-da)+(sa-Ia)*(sa-Ia)),.5>da?(da="M "+c.format(I)+" "+c.format(y)+" L "+c.format(Ta)+" "+c.format(A),I=va):(va/=2,Ia=va*va/(2*da)+da/2,sa=0<(Ta-I)*(sa-y)-(A-y)*(ra-I)?0:1,ra=da>va?1:0,da="M "+c.format(I)+" "+c.format(y)+" A "+c.format(Ia)+" "+c.format(Ia)+" 0 "+ra+" "+sa+" "+c.format(Ta)+" "+c.format(A),I=2*Math.asin(Math.min(1,va/Ia)),
+ra&&(I=2*Math.PI-I),I*=Ia)):(da="M "+c.format(I)+" "+c.format(y)+" Q "+c.format(ra)+" "+c.format(sa)+" "+c.format(Ta)+" "+c.format(A),Ia=ra-I,va=sa-y,ra=Ta-ra,sa=A-sa,I=Ta-I,y=A-y,I=(Math.sqrt(Ia*Ia+va*va)+Math.sqrt(ra*ra+sa*sa)+Math.sqrt(I*I+y*y))/2);A=(c.idPrefix||"")+"ctp-"+mxObjectIdentity.get(this);ra=(y=!mxClient.IS_CHROMEAPP&&c.root.ownerDocument==document)?c.getBaseUrl().replace(/([\(\)])/g,"\\$1"):"";Ta=c.createElement("g");sa=Q.transform||"";0<sa.length&&Ta.setAttribute("transform",sa);
+1>Q.alpha&&Ta.setAttribute("opacity",Q.alpha);sa=c.createElement("defs");Ia=c.createElement("path");Ia.setAttribute("id",A);Ia.setAttribute("d",da);sa.appendChild(Ia);Ta.appendChild(sa);da=c.createElement("text");Ia=mxUtils.getValue(this.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY);va=mxUtils.getValue(this.style,mxConstants.STYLE_FONTCOLOR,"#000000");sa=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSTYLE,0);da.setAttribute("font-size",Da*Q.scale+"px");da.setAttribute("font-family",
+mxUtils.parseCssFontFamily(Ia));da.setAttribute("fill",va);(sa&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&da.setAttribute("font-weight","bold");(sa&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&da.setAttribute("font-style","italic");Q=[];(sa&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&Q.push("underline");(sa&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&Q.push("line-through");0<Q.length&&da.setAttribute("text-decoration",Q.join(" "));Da=mxUtils.getValue(this.style,
+mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER);sa="middle";Q="50%";Da==mxConstants.ALIGN_LEFT?(sa="start",Q="0%"):Da==mxConstants.ALIGN_RIGHT&&(sa="end",Q="100%");da.setAttribute("text-anchor",sa);da.setAttribute("dominant-baseline","central");Da=c.createElement("textPath");Da.setAttribute("startOffset",Q);Q=(y?ra:"")+"#"+A;Da.setAttribute("href",Q);y&&Da.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",Q);Da.setAttribute("textLength",I);Da.setAttribute("lengthAdjust","spacing");mxUtils.write(Da,
+w);da.appendChild(Da);Ta.appendChild(da);c.root.appendChild(Ta);this._curvedTextGroup=Ta}else c.text(m+n/2,q+r/2,0,0,w,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,!1,"",null,!1,0)}}};Ra.prototype.destroy=function(){null!=this._curvedTextGroup&&null!=this._curvedTextGroup.parentNode&&this._curvedTextGroup.parentNode.removeChild(this._curvedTextGroup);this._curvedTextGroup=null;mxRectangleShape.prototype.destroy.apply(this,arguments)};mxCellRenderer.registerShape("curvedText",Ra);if("undefined"!==
+typeof mxVertexHandler){var vb=function(c,m,q){return kb(c,["width"],m,function(n,r,w,y,I){I=c.shape.getEdgeWidth()*c.view.scale+q;return new mxPoint(y.x+r*n/4+w*I/2,y.y+w*n/4-r*I/2)},function(n,r,w,y,I,A){n=Math.sqrt(mxUtils.ptSegDistSq(y.x,y.y,I.x,I.y,A.x,A.y));c.style.width=Math.round(Math.round(2*n)/c.view.scale-q)})},kb=function(c,m,q,n,r){return Za(c,m,function(w){var y=c.absolutePoints;if(null!=y&&0<y.length){var I=y.length-1;w=c.view.translate;var A=c.view.scale,da=q?y[0]:y[I];y=q?y[1]:y[I-
+1];I=y.x-da.x;var Q=y.y-da.y,Da=Math.sqrt(I*I+Q*Q);da=n.call(this,Da,I/Da,Q/Da,da,y);return new mxPoint(da.x/A-w.x,da.y/A-w.y)}return null},function(w,y,I){var A=c.absolutePoints,da=A.length-1;w=c.view.translate;var Q=c.view.scale,Da=q?A[0]:A[da];A=q?A[1]:A[da-1];da=A.x-Da.x;var Ta=A.y-Da.y,Ia=Math.sqrt(da*da+Ta*Ta);y.x=(y.x+w.x)*Q;y.y=(y.y+w.y)*Q;r.call(this,Ia,da/Ia,Ta/Ia,Da,A,y,I)})},rb=function(c,m){return function(q){return[kb(q,["startWidth"],!0,function(n,r,w,y,I){I=mxUtils.getNumber(q.style,
+"startWidth",c)*q.view.scale+m;return new mxPoint(y.x+r*n/4+w*I/2,y.y+w*n/4-r*I/2)},function(n,r,w,y,I,A){n=Math.sqrt(mxUtils.ptSegDistSq(y.x,y.y,I.x,I.y,A.x,A.y));q.style.startWidth=Math.round(2*n)/q.view.scale-m})]}},sb=function(c){return function(m){return[Za(m,["arrowWidth","arrowSize"],function(q){var n=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"arrowWidth",fb.prototype.arrowWidth))),r=Math.max(0,Math.min(c,mxUtils.getValue(this.state.style,"arrowSize",fb.prototype.arrowSize)));
+return new mxPoint(q.x+(1-r)*q.width,q.y+(1-n)*q.height/2)},function(q,n){this.state.style.arrowWidth=Math.max(0,Math.min(1,Math.abs(q.y+q.height/2-n.y)/q.height*2));this.state.style.arrowSize=Math.max(0,Math.min(c,(q.x+q.width-n.x)/q.width))})]}},Ab=function(c){return function(m){return[Za(m,["size"],function(q){var n=Math.max(0,Math.min(.5*q.height,parseFloat(mxUtils.getValue(this.state.style,"size",c))));return new mxPoint(q.x,q.y+n)},function(q,n){this.state.style.size=Math.max(0,n.y-q.y)},!0)]}},
+mb=function(c,m,q){return function(n){var r=[Za(n,["size"],function(w){var y=Math.max(0,Math.min(w.width,Math.min(w.height,parseFloat(mxUtils.getValue(this.state.style,"size",m)))))*c;return new mxPoint(w.x+y,w.y+y)},function(w,y){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(w.width,y.x-w.x),Math.min(w.height,y.y-w.y)))/c)},!1)];q&&mxUtils.getValue(n.style,mxConstants.STYLE_ROUNDED,!1)&&r.push(pb(n));return r}},wb=function(c,m,q,n,r){q=null!=q?q:.5;return function(w){var y=[Za(w,
+["size"],function(I){var A=null!=r?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,da=parseFloat(mxUtils.getValue(this.state.style,"size",A?r:c));return new mxPoint(I.x+Math.max(0,Math.min(.5*I.width,da*(A?1:I.width))),I.getCenterY())},function(I,A,da){I=null!=r&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?A.x-I.x:Math.max(0,Math.min(q,(A.x-I.x)/I.width));this.state.style.size=I},!1,n)];m&&mxUtils.getValue(w.style,mxConstants.STYLE_ROUNDED,!1)&&y.push(pb(w));return y}},Bb=
+function(c,m,q){c=null!=c?c:.5;return function(n){var r=[Za(n,["size"],function(w){var y=null!=q?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,I=Math.max(0,parseFloat(mxUtils.getValue(this.state.style,"size",y?q:m)));return new mxPoint(w.x+Math.min(.75*w.width*c,I*(y?.75:.75*w.width)),w.y+w.height/4)},function(w,y){w=null!=q&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?y.x-w.x:Math.max(0,Math.min(c,(y.x-w.x)/w.width*.75));this.state.style.size=w},!1,!0)];mxUtils.getValue(n.style,
+mxConstants.STYLE_ROUNDED,!1)&&r.push(pb(n));return r}},xb=function(){return function(c){var m=[];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(pb(c));return m}},pb=function(c,m){return Za(c,[mxConstants.STYLE_ARCSIZE],function(q){var n=null!=m?m:q.height/8;if("1"==mxUtils.getValue(c.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)){var r=mxUtils.getValue(c.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;return new mxPoint(q.x+q.width-Math.min(q.width/2,r),q.y+n)}r=Math.max(0,
+parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)))/100;return new mxPoint(q.x+q.width-Math.min(Math.max(q.width/2,q.height/2),Math.min(q.width,q.height)*r),q.y+n)},function(q,n,r){"1"==mxUtils.getValue(c.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)?this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.max(0,Math.min(q.width,2*(q.x+q.width-n.x)))):this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.min(50,Math.max(0,100*(q.width-
+n.x+q.x)/Math.min(q.width,q.height))))})},Za=function(c,m,q,n,r,w,y){var I=new mxHandle(c,null,mxVertexHandler.prototype.secondaryHandleImage);I.execute=function(da){for(var Q=0;Q<m.length;Q++)this.copyStyle(m[Q]);y&&y(da)};I.getPosition=q;I.setPosition=n;I.ignoreGrid=null!=r?r:!0;if(w){var A=I.positionChanged;I.positionChanged=function(){A.apply(this,arguments);c.view.invalidate(this.state.cell);c.view.validate()}}return I},ub={link:function(c){return[vb(c,!0,10),vb(c,!1,10)]},pipe:function(c){return[vb(c,
+!0,10),vb(c,!1,10)]},flexArrow:function(c){var m=c.view.graph.gridSize/c.view.scale,q=[];mxUtils.getValue(c.style,mxConstants.STYLE_STARTARROW,mxConstants.NONE)!=mxConstants.NONE&&(q.push(kb(c,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(n,r,w,y,I){n=(c.shape.getEdgeWidth()-c.shape.strokewidth)*c.view.scale;I=3*mxUtils.getNumber(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(y.x+r*(I+c.shape.strokewidth*c.view.scale)+w*
+n/2,y.y+w*(I+c.shape.strokewidth*c.view.scale)-r*n/2)},function(n,r,w,y,I,A,da){n=Math.sqrt(mxUtils.ptSegDistSq(y.x,y.y,I.x,I.y,A.x,A.y));r=mxUtils.ptLineDist(y.x,y.y,y.x+w,y.y-r,A.x,A.y);c.style[mxConstants.STYLE_STARTSIZE]=Math.round((r-c.shape.strokewidth)/3/c.view.scale);c.style.width=Math.round(2*n/c.view.scale);if(mxEvent.isShiftDown(da.getEvent())||mxEvent.isControlDown(da.getEvent()))c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE];mxEvent.isAltDown(da.getEvent())||
+Math.abs(parseFloat(c.style[mxConstants.STYLE_STARTSIZE])-parseFloat(c.style[mxConstants.STYLE_ENDSIZE]))<m/6&&(c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE])})),q.push(kb(c,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(n,r,w,y,I){n=(c.shape.getStartArrowWidth()-c.shape.strokewidth)*c.view.scale;I=3*mxUtils.getNumber(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(y.x+r*(I+c.shape.strokewidth*
+c.view.scale)+w*n/2,y.y+w*(I+c.shape.strokewidth*c.view.scale)-r*n/2)},function(n,r,w,y,I,A,da){n=Math.sqrt(mxUtils.ptSegDistSq(y.x,y.y,I.x,I.y,A.x,A.y));r=mxUtils.ptLineDist(y.x,y.y,y.x+w,y.y-r,A.x,A.y);c.style[mxConstants.STYLE_STARTSIZE]=Math.round((r-c.shape.strokewidth)/3/c.view.scale);c.style.startWidth=Math.round(Math.max(0,Math.round(2*n)-c.shape.getEdgeWidth())/c.view.scale);if(mxEvent.isShiftDown(da.getEvent())||mxEvent.isControlDown(da.getEvent()))c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE],
+c.style.endWidth=c.style.startWidth;mxEvent.isAltDown(da.getEvent())||(Math.abs(parseFloat(c.style[mxConstants.STYLE_STARTSIZE])-parseFloat(c.style[mxConstants.STYLE_ENDSIZE]))<m/6&&(c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE]),Math.abs(parseFloat(c.style.startWidth)-parseFloat(c.style.endWidth))<m&&(c.style.startWidth=c.style.endWidth))})));mxUtils.getValue(c.style,mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE&&(q.push(kb(c,["width",mxConstants.STYLE_STARTSIZE,
+mxConstants.STYLE_ENDSIZE],!1,function(n,r,w,y,I){n=(c.shape.getEdgeWidth()-c.shape.strokewidth)*c.view.scale;I=3*mxUtils.getNumber(c.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(y.x+r*(I+c.shape.strokewidth*c.view.scale)-w*n/2,y.y+w*(I+c.shape.strokewidth*c.view.scale)+r*n/2)},function(n,r,w,y,I,A,da){n=Math.sqrt(mxUtils.ptSegDistSq(y.x,y.y,I.x,I.y,A.x,A.y));r=mxUtils.ptLineDist(y.x,y.y,y.x+w,y.y-r,A.x,A.y);c.style[mxConstants.STYLE_ENDSIZE]=Math.round((r-
+c.shape.strokewidth)/3/c.view.scale);c.style.width=Math.round(2*n/c.view.scale);if(mxEvent.isShiftDown(da.getEvent())||mxEvent.isControlDown(da.getEvent()))c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE];mxEvent.isAltDown(da.getEvent())||Math.abs(parseFloat(c.style[mxConstants.STYLE_ENDSIZE])-parseFloat(c.style[mxConstants.STYLE_STARTSIZE]))<m/6&&(c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE])})),q.push(kb(c,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,
+mxConstants.STYLE_ENDSIZE],!1,function(n,r,w,y,I){n=(c.shape.getEndArrowWidth()-c.shape.strokewidth)*c.view.scale;I=3*mxUtils.getNumber(c.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5)*c.view.scale;return new mxPoint(y.x+r*(I+c.shape.strokewidth*c.view.scale)-w*n/2,y.y+w*(I+c.shape.strokewidth*c.view.scale)+r*n/2)},function(n,r,w,y,I,A,da){n=Math.sqrt(mxUtils.ptSegDistSq(y.x,y.y,I.x,I.y,A.x,A.y));r=mxUtils.ptLineDist(y.x,y.y,y.x+w,y.y-r,A.x,A.y);c.style[mxConstants.STYLE_ENDSIZE]=Math.round((r-
+c.shape.strokewidth)/3/c.view.scale);c.style.endWidth=Math.round(Math.max(0,Math.round(2*n)-c.shape.getEdgeWidth())/c.view.scale);if(mxEvent.isShiftDown(da.getEvent())||mxEvent.isControlDown(da.getEvent()))c.style[mxConstants.STYLE_STARTSIZE]=c.style[mxConstants.STYLE_ENDSIZE],c.style.startWidth=c.style.endWidth;mxEvent.isAltDown(da.getEvent())||(Math.abs(parseFloat(c.style[mxConstants.STYLE_ENDSIZE])-parseFloat(c.style[mxConstants.STYLE_STARTSIZE]))<m/6&&(c.style[mxConstants.STYLE_ENDSIZE]=c.style[mxConstants.STYLE_STARTSIZE]),
+Math.abs(parseFloat(c.style.endWidth)-parseFloat(c.style.startWidth))<m&&(c.style.endWidth=c.style.startWidth))})));return q},swimlane:function(c){var m=[];if(mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED)){var q=parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));m.push(pb(c,q/2))}m.push(Za(c,[mxConstants.STYLE_STARTSIZE],function(n){var r=parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));return 1==mxUtils.getValue(c.style,
+mxConstants.STYLE_HORIZONTAL,1)?new mxPoint(n.getCenterX(),n.y+Math.max(0,Math.min(n.height,r))):new mxPoint(n.x+Math.max(0,Math.min(n.width,r)),n.getCenterY())},function(n,r){c.style[mxConstants.STYLE_STARTSIZE]=1==mxUtils.getValue(this.state.style,mxConstants.STYLE_HORIZONTAL,1)?Math.round(Math.max(0,Math.min(n.height,r.y-n.y))):Math.round(Math.max(0,Math.min(n.width,r.x-n.x)))},!1,null,function(n){var r=c.view.graph;if(!mxEvent.isShiftDown(n.getEvent())&&!mxEvent.isControlDown(n.getEvent())&&(r.isTableRow(c.cell)||
+r.isTableCell(c.cell))){n=r.getSwimlaneDirection(c.style);var w=r.model.getParent(c.cell);w=r.model.getChildCells(w,!0);for(var y=[],I=0;I<w.length;I++)w[I]!=c.cell&&r.isSwimlane(w[I])&&r.getSwimlaneDirection(r.getCurrentCellStyle(w[I]))==n&&y.push(w[I]);r.setCellStyles(mxConstants.STYLE_STARTSIZE,c.style[mxConstants.STYLE_STARTSIZE],y)}}));return m},label:xb(),ext:xb(),rectangle:xb(),triangle:xb(),rhombus:xb(),umlLifeline:function(c){return[Za(c,["size"],function(m){var q=Math.max(0,Math.min(m.height,
+parseFloat(mxUtils.getValue(this.state.style,"size",wa.prototype.size))));return new mxPoint(m.getCenterX(),m.y+q)},function(m,q){this.state.style.size=Math.round(Math.max(0,Math.min(m.height,q.y-m.y)))},!1)]},umlFrame:function(c){return[Za(c,["width","height"],function(m){var q=Math.max(S.prototype.corner,Math.min(m.width,mxUtils.getValue(this.state.style,"width",S.prototype.width))),n=Math.max(1.5*S.prototype.corner,Math.min(m.height,mxUtils.getValue(this.state.style,"height",S.prototype.height)));
+return new mxPoint(m.x+q,m.y+n)},function(m,q){this.state.style.width=Math.round(Math.max(S.prototype.corner,Math.min(m.width,q.x-m.x)));this.state.style.height=Math.round(Math.max(1.5*S.prototype.corner,Math.min(m.height,q.y-m.y)))},!1)]},process:function(c){var m=[Za(c,["size"],function(q){var n="0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),r=parseFloat(mxUtils.getValue(this.state.style,"size",ca.prototype.size));return n?new mxPoint(q.x+r,q.y+q.height/4):new mxPoint(q.x+q.width*r,q.y+
+q.height/4)},function(q,n){q="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(.5*q.width,n.x-q.x)):Math.max(0,Math.min(.5,(n.x-q.x)/q.width));this.state.style.size=q},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(pb(c));return m},cross:function(c){return[Za(c,["size"],function(m){var q=Math.min(m.width,m.height);q=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"size",pa.prototype.size)))*q/2;return new mxPoint(m.getCenterX()-q,m.getCenterY()-
+q)},function(m,q){var n=Math.min(m.width,m.height);this.state.style.size=Math.max(0,Math.min(1,Math.min(Math.max(0,m.getCenterY()-q.y)/n*2,Math.max(0,m.getCenterX()-q.x)/n*2)))})]},note:function(c){return[Za(c,["size"],function(m){var q=Math.max(0,Math.min(m.width,Math.min(m.height,parseFloat(mxUtils.getValue(this.state.style,"size",k.prototype.size)))));return new mxPoint(m.x+m.width-q,m.y+q)},function(m,q){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(m.width,m.x+m.width-q.x),Math.min(m.height,
+q.y-m.y))))})]},note2:function(c){return[Za(c,["size"],function(m){var q=Math.max(0,Math.min(m.width,Math.min(m.height,parseFloat(mxUtils.getValue(this.state.style,"size",v.prototype.size)))));return new mxPoint(m.x+m.width-q,m.y+q)},function(m,q){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(m.width,m.x+m.width-q.x),Math.min(m.height,q.y-m.y))))})]},manualInput:function(c){var m=[Za(c,["size"],function(q){var n=Math.max(0,Math.min(q.height,mxUtils.getValue(this.state.style,"size",
+$a.prototype.size)));return new mxPoint(q.x+q.width/4,q.y+3*n/4)},function(q,n){this.state.style.size=Math.round(Math.max(0,Math.min(q.height,4*(n.y-q.y)/3)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(pb(c));return m},dataStorage:function(c){return[Za(c,["size"],function(m){var q="0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),n=parseFloat(mxUtils.getValue(this.state.style,"size",q?hb.prototype.fixedSize:hb.prototype.size));return new mxPoint(m.x+m.width-n*(q?1:
+m.width),m.getCenterY())},function(m,q){m="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(m.width,m.x+m.width-q.x)):Math.max(0,Math.min(1,(m.x+m.width-q.x)/m.width));this.state.style.size=m},!1)]},callout:function(c){var m=[Za(c,["size","position"],function(q){var n=Math.max(0,Math.min(q.height,mxUtils.getValue(this.state.style,"size",V.prototype.size))),r=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",V.prototype.position)));mxUtils.getValue(this.state.style,
+"base",V.prototype.base);return new mxPoint(q.x+r*q.width,q.y+q.height-n)},function(q,n){mxUtils.getValue(this.state.style,"base",V.prototype.base);this.state.style.size=Math.round(Math.max(0,Math.min(q.height,q.y+q.height-n.y)));this.state.style.position=Math.round(100*Math.max(0,Math.min(1,(n.x-q.x)/q.width)))/100},!1),Za(c,["position2"],function(q){var n=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position2",V.prototype.position2)));return new mxPoint(q.x+n*q.width,q.y+q.height)},
+function(q,n){this.state.style.position2=Math.round(100*Math.max(0,Math.min(1,(n.x-q.x)/q.width)))/100},!1),Za(c,["base"],function(q){var n=Math.max(0,Math.min(q.height,mxUtils.getValue(this.state.style,"size",V.prototype.size))),r=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",V.prototype.position))),w=Math.max(0,Math.min(q.width,mxUtils.getValue(this.state.style,"base",V.prototype.base)));return new mxPoint(q.x+Math.min(q.width,r*q.width+w),q.y+q.height-n)},function(q,n){var r=
+Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",V.prototype.position)));this.state.style.base=Math.round(Math.max(0,Math.min(q.width,n.x-q.x-r*q.width)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(pb(c));return m},internalStorage:function(c){var m=[Za(c,["dx","dy"],function(q){var n=Math.max(0,Math.min(q.width,mxUtils.getValue(this.state.style,"dx",ab.prototype.dx))),r=Math.max(0,Math.min(q.height,mxUtils.getValue(this.state.style,"dy",ab.prototype.dy)));
+return new mxPoint(q.x+n,q.y+r)},function(q,n){this.state.style.dx=Math.round(Math.max(0,Math.min(q.width,n.x-q.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(q.height,n.y-q.y)))},!1)];mxUtils.getValue(c.style,mxConstants.STYLE_ROUNDED,!1)&&m.push(pb(c));return m},module:function(c){return[Za(c,["jettyWidth","jettyHeight"],function(m){var q=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,"jettyWidth",Fa.prototype.jettyWidth))),n=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,
+"jettyHeight",Fa.prototype.jettyHeight)));return new mxPoint(m.x+q/2,m.y+2*n)},function(m,q){this.state.style.jettyWidth=Math.round(2*Math.max(0,Math.min(m.width,q.x-m.x)));this.state.style.jettyHeight=Math.round(Math.max(0,Math.min(m.height,q.y-m.y))/2)})]},corner:function(c){return[Za(c,["dx","dy"],function(m){var q=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,"dx",db.prototype.dx))),n=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,"dy",db.prototype.dy)));return new mxPoint(m.x+
+q,m.y+n)},function(m,q){this.state.style.dx=Math.round(Math.max(0,Math.min(m.width,q.x-m.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(m.height,q.y-m.y)))},!1)]},tee:function(c){return[Za(c,["dx","dy"],function(m){var q=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,"dx",jb.prototype.dx))),n=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,"dy",jb.prototype.dy)));return new mxPoint(m.x+(m.width+q)/2,m.y+n)},function(m,q){this.state.style.dx=Math.round(Math.max(0,
+2*Math.min(m.width/2,q.x-m.x-m.width/2)));this.state.style.dy=Math.round(Math.max(0,Math.min(m.height,q.y-m.y)))},!1)]},singleArrow:sb(1),doubleArrow:sb(.5),"mxgraph.arrows2.wedgeArrow":rb(20,20),"mxgraph.arrows2.wedgeArrowDashed":rb(20,20),"mxgraph.arrows2.wedgeArrowDashed2":rb(20,20),folder:function(c){return[Za(c,["tabWidth","tabHeight"],function(m){var q=Math.max(0,Math.min(m.width,mxUtils.getValue(this.state.style,"tabWidth",D.prototype.tabWidth))),n=Math.max(0,Math.min(m.height,mxUtils.getValue(this.state.style,
+"tabHeight",D.prototype.tabHeight)));mxUtils.getValue(this.state.style,"tabPosition",D.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(q=m.width-q);return new mxPoint(m.x+q,m.y+n)},function(m,q){var n=Math.max(0,Math.min(m.width,q.x-m.x));mxUtils.getValue(this.state.style,"tabPosition",D.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(n=m.width-n);this.state.style.tabWidth=Math.round(n);this.state.style.tabHeight=Math.round(Math.max(0,Math.min(m.height,q.y-m.y)))},!1)]},document:function(c){return[Za(c,
+["size"],function(m){var q=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",O.prototype.size))));return new mxPoint(m.x+3*m.width/4,m.y+(1-q)*m.height)},function(m,q){this.state.style.size=Math.max(0,Math.min(1,(m.y+m.height-q.y)/m.height))},!1)]},tape:function(c){return[Za(c,["size"],function(m){var q=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",K.prototype.size))));return new mxPoint(m.getCenterX(),m.y+q*m.height/2)},function(m,q){this.state.style.size=
+Math.max(0,Math.min(1,(q.y-m.y)/m.height*2))},!1)]},isoCube2:function(c){return[Za(c,["isoAngle"],function(m){var q=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.state.style,"isoAngle",t.isoAngle))))*Math.PI/200;return new mxPoint(m.x,m.y+Math.min(m.width*Math.tan(q),.5*m.height))},function(m,q){this.state.style.isoAngle=Math.max(0,50*(q.y-m.y)/m.height)},!0)]},cylinder2:Ab(x.prototype.size),cylinder3:Ab(z.prototype.size),offPageConnector:function(c){return[Za(c,["size"],function(m){var q=
+Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",Aa.prototype.size))));return new mxPoint(m.getCenterX(),m.y+(1-q)*m.height)},function(m,q){this.state.style.size=Math.max(0,Math.min(1,(m.y+m.height-q.y)/m.height))},!1)]},"mxgraph.basic.rect":function(c){var m=[Graph.createHandle(c,["size"],function(q){var n=Math.max(0,Math.min(q.width/2,q.height/2,parseFloat(mxUtils.getValue(this.state.style,"size",this.size))));return new mxPoint(q.x+n,q.y+n)},function(q,n){this.state.style.size=
+Math.round(100*Math.max(0,Math.min(q.height/2,q.width/2,n.x-q.x)))/100})];c=Graph.createHandle(c,["indent"],function(q){var n=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,"indent",this.dx2))));return new mxPoint(q.x+.75*q.width,q.y+n*q.height/200)},function(q,n){this.state.style.indent=Math.round(100*Math.max(0,Math.min(100,200*(n.y-q.y)/q.height)))/100});m.push(c);return m},curvedText:function(c){var m=function(q){return(null!=q.shape?q.shape._curveYOffset:0)||0};return[Za(c,
+["arcStartY"],function(q){var n=parseFloat(mxUtils.getValue(this.state.style,"arcStartY",Ra.prototype.arcStartY)),r=m(this.state);return new mxPoint(q.x+10,q.y+Math.max(0,Math.min(q.height,n+r)))},function(q,n){var r=m(this.state);this.state.style.arcStartY=Math.round(Math.max(0,Math.min(q.height,n.y-q.y))-r)},!1),Za(c,["arcMidY"],function(q){var n=parseFloat(mxUtils.getValue(this.state.style,"arcStartY",Ra.prototype.arcStartY)),r=parseFloat(mxUtils.getValue(this.state.style,"arcEndY",Ra.prototype.arcEndY)),
+w=parseFloat(mxUtils.getValue(this.state.style,"arcMidY",Ra.prototype.arcMidY));n=(n+r)/2;r=m(this.state);return new mxPoint(q.x+q.width/2+10,q.y+Math.max(0,Math.min(q.height,n+w+r)))},function(q,n){var r=parseFloat(mxUtils.getValue(this.state.style,"arcStartY",Ra.prototype.arcStartY)),w=parseFloat(mxUtils.getValue(this.state.style,"arcEndY",Ra.prototype.arcEndY));r=(r+w)/2;w=m(this.state);var y=Math.max(Math.abs(Ra.prototype.arcMidY),Math.min(r,q.height-r));this.state.style.arcMidY=Math.round(Math.max(-y,
+Math.min(y,n.y-q.y-w-r)))},!1),Za(c,["arcEndY"],function(q){var n=parseFloat(mxUtils.getValue(this.state.style,"arcEndY",Ra.prototype.arcEndY)),r=m(this.state);return new mxPoint(q.x+q.width-10,q.y+Math.max(0,Math.min(q.height,n+r)))},function(q,n){var r=m(this.state);this.state.style.arcEndY=Math.round(Math.max(0,Math.min(q.height,n.y-q.y))-r)},!1)]},step:wb(ma.prototype.size,!0,null,!0,ma.prototype.fixedSize),hexagon:wb(oa.prototype.size,!0,.5,!0,oa.prototype.fixedSize),curlyBracket:wb(W.prototype.size,
+!1),display:wb(ea.prototype.size,!1),cube:mb(1,f.prototype.size,!1),card:mb(.5,H.prototype.size,!0),loopLimit:mb(.5,Ca.prototype.size,!0),trapezoid:Bb(.5,R.prototype.size,R.prototype.fixedSize),parallelogram:Bb(1,N.prototype.size,N.prototype.fixedSize),zigzag:function(c){return[Za(c,["size"],function(m){var q=Math.max(5,parseFloat(mxUtils.getValue(this.state.style,"size",La.prototype.size)));return new mxPoint(m.x+3*q,m.y)},function(m,q){this.state.style.size=Math.max(5,Math.round((q.x-m.x)/3))},
+!1)]}};Graph.createHandle=Za;Graph.handleFactory=ub;var Eb=mxVertexHandler.prototype.createCustomHandles;mxVertexHandler.prototype.createCustomHandles=function(){var c=Eb.apply(this,arguments);if(this.graph.isCellRotatable(this.state.cell)){var m=this.state.style.shape;null==mxCellRenderer.defaultShapes[m]&&null==mxStencilRegistry.getStencil(m)?m=mxConstants.SHAPE_RECTANGLE:this.state.view.graph.isSwimlane(this.state.cell)&&(m=mxConstants.SHAPE_SWIMLANE);m=ub[m];null==m&&null!=this.state.shape&&this.state.shape.isRoundable()&&
+(m=ub[mxConstants.SHAPE_RECTANGLE]);null!=m&&(m=m(this.state),null!=m&&(c=null==c?m:c.concat(m)))}return c};mxEdgeHandler.prototype.createCustomHandles=function(){var c=this.state.style.shape;null==mxCellRenderer.defaultShapes[c]&&null==mxStencilRegistry.getStencil(c)&&(c=mxConstants.SHAPE_CONNECTOR);c=ub[c];return null!=c?c(this.state):null}}else Graph.createHandle=function(){},Graph.handleFactory={};var Fb=Graph.prototype.getPreferredSizeForCell;Graph.prototype.getPreferredSizeForCell=function(c,
+m,q){var n=this.getCellStyle(c);if(null!=n&&"curvedText"==n[mxConstants.STYLE_SHAPE]){var r=this.convertValueToString(c);if(null!=r&&0<r.length){var w=parseFloat(mxUtils.getValue(n,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE)),y=mxUtils.getValue(n,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY);n=mxUtils.getValue(n,mxConstants.STYLE_FONTSTYLE,0);r=.85*mxUtils.getSizeForString(r,w,y,null,n).width;y=this.model.getGeometry(c);y=null!=y?y.height:60;(q=null!=q?q:this.gridEnabled)&&
+(r=this.snap(r+this.gridSize/2));return new mxRectangle(0,0,Math.max(r,2*w)+10,y)}return null}return Fb.apply(this,arguments)};var bb=mxCellRenderer.prototype.checkPlaceholderStyles;mxCellRenderer.prototype.checkPlaceholderStyles=function(c){return null!=c.style&&"curvedText"==c.style[mxConstants.STYLE_SHAPE]?!0:bb.apply(this,arguments)};if("undefined"!==typeof mxCellEditor){var zb=mxCellEditor.prototype.startEditing;mxCellEditor.prototype.startEditing=function(c,m){zb.apply(this,arguments);var q=
+this.graph.view.getState(c);null!=q&&null!=q.style&&"curvedText"==q.style[mxConstants.STYLE_SHAPE]&&null!=q.shape&&q.shape.redraw()};var lb=mxCellEditor.prototype.stopEditing;mxCellEditor.prototype.stopEditing=function(c){var m=this.editingCell;lb.apply(this,arguments);null!=m&&(m=this.graph.view.getState(m),null!=m&&null!=m.style&&"curvedText"==m.style[mxConstants.STYLE_SHAPE]&&null!=m.shape&&m.shape.redraw())}}var tb=new mxPoint(1,0),ob=new mxPoint(1,0),ib=mxUtils.toRadians(-30);tb=mxUtils.getRotatedPoint(tb,
+Math.cos(ib),Math.sin(ib));var Cb=mxUtils.toRadians(-150);ob=mxUtils.getRotatedPoint(ob,Math.cos(Cb),Math.sin(Cb));mxEdgeStyle.IsometricConnector=function(c,m,q,n,r){var w=c.view;n=null!=n&&0<n.length?n[0]:null;var y=c.absolutePoints,I=y[0];y=y[y.length-1];null!=n&&(n=w.transformControlPoint(c,n));null==I&&null!=m&&(I=new mxPoint(m.getCenterX(),m.getCenterY()));null==y&&null!=q&&(y=new mxPoint(q.getCenterX(),q.getCenterY()));var A=tb.x,da=tb.y,Q=ob.x,Da=ob.y,Ta="horizontal"==mxUtils.getValue(c.style,
+"elbow","horizontal");if(null!=y&&null!=I){c=function(ra,sa,va){ra-=Ia.x;var xa=sa-Ia.y;sa=(Da*ra-Q*xa)/(A*Da-da*Q);ra=(da*ra-A*xa)/(da*Q-A*Da);Ta?(va&&(Ia=new mxPoint(Ia.x+A*sa,Ia.y+da*sa),r.push(Ia)),Ia=new mxPoint(Ia.x+Q*ra,Ia.y+Da*ra)):(va&&(Ia=new mxPoint(Ia.x+Q*ra,Ia.y+Da*ra),r.push(Ia)),Ia=new mxPoint(Ia.x+A*sa,Ia.y+da*sa));r.push(Ia)};var Ia=I;null==n&&(n=new mxPoint(I.x+(y.x-I.x)/2,I.y+(y.y-I.y)/2));c(n.x,n.y,!0);c(y.x,y.y,!1)}};mxStyleRegistry.putValue("isometricEdgeStyle",mxEdgeStyle.IsometricConnector);
+var Hb=Graph.prototype.createEdgeHandler;Graph.prototype.createEdgeHandler=function(c,m){if(m==mxEdgeStyle.IsometricConnector){var q=new mxElbowEdgeHandler(c);q.snapToTerminals=!1;return q}return Hb.apply(this,arguments)};h.prototype.constraints=[];l.prototype.getConstraints=function(c,m,q){c=[];var n=Math.tan(mxUtils.toRadians(30)),r=(.5-n)/2;n=Math.min(m,q/(.5+n));m=(m-n)/2;q=(q-n)/2;c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,q+.25*n));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,m+.5*n,q+n*r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m+n,q+.25*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m+n,q+.75*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m+.5*n,q+(1-r)*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,q+.75*n));return c};t.prototype.getConstraints=function(c,m,q){c=[];var n=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.style,"isoAngle",this.isoAngle))))*Math.PI/200;n=Math.min(m*
+Math.tan(n),.5*q);c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,n));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,q-n));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,q-n));c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,
+0,n));return c};V.prototype.getConstraints=function(c,m,q){c=[];mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE);var n=Math.max(0,Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size))));parseFloat(mxUtils.getValue(this.style,"position",this.position));var r=m*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",this.position2))));parseFloat(mxUtils.getValue(this.style,"base",this.base));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1));c.push(new mxConnectionConstraint(new mxPoint(.25,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.75,0),!1));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*(q-n)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,q-n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,
+q-n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(q-n)));m>=2*n&&c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return c};mxRectangleShape.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,
+.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0)];mxEllipse.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,
+0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(1,.5))];J.prototype.constraints=mxRectangleShape.prototype.constraints;mxImageShape.prototype.constraints=mxRectangleShape.prototype.constraints;mxSwimlane.prototype.constraints=
+mxRectangleShape.prototype.constraints;L.prototype.constraints=mxRectangleShape.prototype.constraints;mxLabel.prototype.constraints=mxRectangleShape.prototype.constraints;k.prototype.getConstraints=function(c,m,q){c=[];var n=Math.max(0,Math.min(m,Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-n),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,
+null,m-n,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-.5*n,.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*(q+n)));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));m>=2*n&&c.push(new mxConnectionConstraint(new mxPoint(.5,
+0),!1));return c};H.prototype.getConstraints=function(c,m,q){c=[];var n=Math.max(0,Math.min(m,Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+n),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,n,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*n,.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,n));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,0,.5*(q+n)));c.push(new mxConnectionConstraint(new mxPoint(0,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));m>=2*n&&c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return c};f.prototype.getConstraints=function(c,m,q){c=[];var n=Math.max(0,Math.min(m,Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-n),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-.5*n,.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*(q+n)));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+n),q));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,n,q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*n,q-.5*n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,q-n));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(q-n)));return c};z.prototype.getConstraints=function(c,m,q){c=[];m=Math.max(0,Math.min(q,parseFloat(mxUtils.getValue(this.style,"size",this.size))));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,
+1),!1));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,m));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,m));c.push(new mxConnectionConstraint(new mxPoint(1,1),!1,null,0,-m));c.push(new mxConnectionConstraint(new mxPoint(0,1),!1,null,0,-m));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,m+.5*(.5*q-m)));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,m+.5*(.5*q-m)));c.push(new mxConnectionConstraint(new mxPoint(1,
+0),!1,null,0,q-m-.5*(.5*q-m)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,q-m-.5*(.5*q-m)));c.push(new mxConnectionConstraint(new mxPoint(.145,0),!1,null,0,.29*m));c.push(new mxConnectionConstraint(new mxPoint(.855,0),!1,null,0,.29*m));c.push(new mxConnectionConstraint(new mxPoint(.855,1),!1,null,0,.29*-m));c.push(new mxConnectionConstraint(new mxPoint(.145,1),!1,null,0,.29*-m));return c};D.prototype.getConstraints=function(c,m,q){c=[];var n=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,
+"tabWidth",this.tabWidth)))),r=Math.max(0,Math.min(q,parseFloat(mxUtils.getValue(this.style,"tabHeight",this.tabHeight))));"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?(c.push(new mxConnectionConstraint(new mxPoint(0,0),!1)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*n,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,n,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,n,r)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,
+.5*(m+n),r))):(c.push(new mxConnectionConstraint(new mxPoint(1,0),!1)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-.5*n,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,0)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,r)),c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m-n),r)));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.25*(q-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,m,.5*(q-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.75*(q-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.25*(q-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(q-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.75*(q-r)+r));c.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,0,q));c.push(new mxConnectionConstraint(new mxPoint(.25,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));c.push(new mxConnectionConstraint(new mxPoint(.75,1),!1));return c};ab.prototype.constraints=mxRectangleShape.prototype.constraints;hb.prototype.constraints=mxRectangleShape.prototype.constraints;Wa.prototype.constraints=mxEllipse.prototype.constraints;Va.prototype.constraints=mxEllipse.prototype.constraints;u.prototype.constraints=mxEllipse.prototype.constraints;T.prototype.constraints=
+mxEllipse.prototype.constraints;$a.prototype.constraints=mxRectangleShape.prototype.constraints;X.prototype.constraints=mxRectangleShape.prototype.constraints;ea.prototype.getConstraints=function(c,m,q){c=[];var n=Math.min(m,q/2),r=Math.min(m-n,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*m);c.push(new mxConnectionConstraint(new mxPoint(0,.5),!1,null));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,
+.5*(r+m-n),0));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,0));c.push(new mxConnectionConstraint(new mxPoint(1,.5),!1,null));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m-n,q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(r+m-n),q));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,r,q));return c};Fa.prototype.getConstraints=function(c,m,q){m=parseFloat(mxUtils.getValue(c,"jettyWidth",Fa.prototype.jettyWidth))/2;c=parseFloat(mxUtils.getValue(c,
+"jettyHeight",Fa.prototype.jettyHeight));var n=[new mxConnectionConstraint(new mxPoint(0,0),!1,null,m),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(0,1),!1,null,
+m),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,Math.min(q-.5*c,1.5*c)),new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,Math.min(q-.5*c,3.5*c))];q>5*c&&n.push(new mxConnectionConstraint(new mxPoint(0,.75),!1,null,m));q>8*c&&n.push(new mxConnectionConstraint(new mxPoint(0,.5),!1,null,m));q>
+15*c&&n.push(new mxConnectionConstraint(new mxPoint(0,.25),!1,null,m));return n};Ca.prototype.constraints=mxRectangleShape.prototype.constraints;Aa.prototype.constraints=mxRectangleShape.prototype.constraints;mxCylinder.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.15,.05),!1),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.85,.05),!1),new mxConnectionConstraint(new mxPoint(0,.3),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,
+.7),!0),new mxConnectionConstraint(new mxPoint(1,.3),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.7),!0),new mxConnectionConstraint(new mxPoint(.15,.95),!1),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.85,.95),!1)];P.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,.1),!1),new mxConnectionConstraint(new mxPoint(.5,0),!1),new mxConnectionConstraint(new mxPoint(.75,.1),!1),new mxConnectionConstraint(new mxPoint(0,
+1/3),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(1,1/3),!1),new mxConnectionConstraint(new mxPoint(1,1),!1),new mxConnectionConstraint(new mxPoint(.5,.5),!1)];Pa.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.3),!0),new mxConnectionConstraint(new mxPoint(0,.7),!0),new mxConnectionConstraint(new mxPoint(1,
+.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];mxActor.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.25,.2),!1),new mxConnectionConstraint(new mxPoint(.1,.5),!1),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(.75,
+.25),!1),new mxConnectionConstraint(new mxPoint(.9,.5),!1),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];E.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(.5,.25),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,
+.5),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(.5,.75),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];K.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.35),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,.65),!1),new mxConnectionConstraint(new mxPoint(1,.35),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,.65),!1),new mxConnectionConstraint(new mxPoint(.25,
+1),!1),new mxConnectionConstraint(new mxPoint(.75,0),!1)];ma.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,
+.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxLine.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];ta.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,0),!1),new mxConnectionConstraint(new mxPoint(.5,
+1),!1)];mxDoubleEllipse.prototype.constraints=mxEllipse.prototype.constraints;mxRhombus.prototype.constraints=mxEllipse.prototype.constraints;mxTriangle.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0)];mxHexagon.prototype.constraints=
+[new mxConnectionConstraint(new mxPoint(.375,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.625,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.375,1),!0),
+new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.625,1),!0)];mxCloud.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,.25),!1),new mxConnectionConstraint(new mxPoint(.4,.1),!1),new mxConnectionConstraint(new mxPoint(.16,.55),!1),new mxConnectionConstraint(new mxPoint(.07,.4),!1),new mxConnectionConstraint(new mxPoint(.31,.8),!1),new mxConnectionConstraint(new mxPoint(.13,.77),!1),new mxConnectionConstraint(new mxPoint(.8,.8),!1),new mxConnectionConstraint(new mxPoint(.55,
.95),!1),new mxConnectionConstraint(new mxPoint(.875,.5),!1),new mxConnectionConstraint(new mxPoint(.96,.7),!1),new mxConnectionConstraint(new mxPoint(.625,.2),!1),new mxConnectionConstraint(new mxPoint(.88,.25),!1)];N.prototype.constraints=mxRectangleShape.prototype.constraints;R.prototype.constraints=mxRectangleShape.prototype.constraints;O.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,
0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxArrow.prototype.constraints=null;jb.prototype.getConstraints=function(c,m,q){c=[];var n=Math.max(0,Math.min(m,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),r=Math.max(0,Math.min(q,parseFloat(mxUtils.getValue(this.style,
"dy",this.dy))));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1));c.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));c.push(new mxConnectionConstraint(new mxPoint(1,0),!1));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,.5*r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,m,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.75*m+.25*n,r));c.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(m+n),r));c.push(new mxConnectionConstraint(new mxPoint(0,
@@ -4032,8 +4033,8 @@ ColorPicker.prototype.hsImage="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALU
ColorPicker.prototype.crossImage="data:image/gif;base64,R0lGODlhDwAPAKEBAAAAAP///////////yH5BAEKAAIALAAAAAAPAA8AAAIklB8Qx53b4otSUWcvyiz4/4AeQJbmKY4p1HHapBlwPL/uVRsFADs=";ColorPicker.prototype.arrowImage="data:image/gif;base64,R0lGODlhBwALAKECAAAAAP///6g8eKg8eCH5BAEKAAIALAAAAAAHAAsAAAITTIQYcLnsgGxvijrxqdQq6DRJAQA7";
var ColorDialog=function(a,b,e,f,g,d,h,l){function p(ja){return mxUtils.color2hex("#"+ja).substring(1).toUpperCase()}function k(){na.src="none"==P.style.display?Editor.arrowRightImage:Editor.arrowDownImage}function v(ja,ya){ja||"none"==P.style.display?(P.style.display="flex",!1!==ya&&L.focus()):P.style.display="none";k();null!=S.resizeFn&&S.resizeFn()}function t(ja){""==ja.value&&null!=aa&&Y?ja.style.background=ja==L?aa.dark:aa.light:""==ja.value||ja.value==mxConstants.NONE||mxUtils.isVarColor(ja.value)?
ja.style.background="transparent":ja.style.background="#"+ja.value;ja.style.color="transparent"==ja.style.background?"light-dark(#000000, #ffffff)":mxUtils.isDarkColor(ja.style.background)?"#ffffff":"#000000"}function x(){t(V);t(L)}function z(ja){Y!=ja&&(ja?h&&null!=aa?(V.value=aa.light.substring(1).toUpperCase(),ja=!1):(V.value="",L.value="",U.value="automatic",V.setAttribute("placeholder",mxResources.get("useBlackAndWhite")),L.setAttribute("title",mxResources.get("useBlackAndWhite")),V.setAttribute("title",
-mxResources.get("useBlackAndWhite"))):(""==V.value&&null!=aa&&(V.value=aa.light.substring(1).toUpperCase()),V.removeAttribute("placeholder"),V.removeAttribute("title"),""==L.value&&null!=aa&&(L.style.background=aa.dark,ja=mxUtils.getCurrentStyle(L),L.value=mxUtils.rgba2hex(ja.backgroundColor).substring(1).toUpperCase()),L.removeAttribute("placeholder"),L.removeAttribute("title"),ja=!1));Y=ja}function E(ja){"#"==ja.value.charAt(0)&&(ja.value=ja.value.substring(1));var ya=ja.value,ab=ya.toLowerCase();
-null==g||""!=ya&&"automatic"!=ab&&"default"!=ab&&ab!=mxResources.get("default").toLowerCase()&&ab!=mxResources.get("automatic").toLowerCase()||null==aa?(ja.value==mxConstants.NONE||mxUtils.isVarColor(ja.value)||(ja.value=p(ja.value),qa.fromString("#"+ja.value)),z(!1),ja!=L||V.value==mxConstants.NONE&&L.value==mxConstants.NONE||(U.value="custom"),ja==V&&"automatic"==U.value&&(V.value==mxConstants.NONE?L.value=mxConstants.NONE:mxUtils.isVarColor(V.value)?L.value=V.value:L.value=mxUtils.rgba2hex(mxUtils.getInverseColor("#"+
+mxResources.get("useBlackAndWhite"))):(""==V.value&&null!=aa&&(V.value=aa.light.substring(1).toUpperCase()),V.removeAttribute("placeholder"),V.removeAttribute("title"),""==L.value&&null!=aa&&(L.style.background=aa.dark,ja=mxUtils.getCurrentStyle(L),L.value=mxUtils.rgba2hex(ja.backgroundColor).substring(1).toUpperCase()),L.removeAttribute("placeholder"),L.removeAttribute("title"),ja=!1));Y=ja}function E(ja){"#"==ja.value.charAt(0)&&(ja.value=ja.value.substring(1));var ya=ja.value,$a=ya.toLowerCase();
+null==g||""!=ya&&"automatic"!=$a&&"default"!=$a&&$a!=mxResources.get("default").toLowerCase()&&$a!=mxResources.get("automatic").toLowerCase()||null==aa?(ja.value==mxConstants.NONE||mxUtils.isVarColor(ja.value)||(ja.value=p(ja.value),qa.fromString("#"+ja.value)),z(!1),ja!=L||V.value==mxConstants.NONE&&L.value==mxConstants.NONE||(U.value="custom"),ja==V&&"automatic"==U.value&&(V.value==mxConstants.NONE?L.value=mxConstants.NONE:mxUtils.isVarColor(V.value)?L.value=V.value:L.value=mxUtils.rgba2hex(mxUtils.getInverseColor("#"+
ja.value)).substring(1).toUpperCase()),x()):fa.click()}function D(){var ja=V.value,ya=L.value;if(Y&&null!=aa||(/(^#?[a-zA-Z0-9]*$)/.test(ja)||mxUtils.isVarColor(ja))&&(/(^#?[a-zA-Z0-9]*$)/.test(ya)||mxUtils.isVarColor(ya))){if(Y)ja="default";else if(""==ja&&(ja=mxConstants.NONE),""==ya&&(ya=mxConstants.NONE),ja==mxConstants.NONE||mxUtils.isVarColor(ja)||"#"==ja.charAt(0)||(ja="#"+p(ja)),ya==mxConstants.NONE||mxUtils.isVarColor(ya)||"#"==ya.charAt(0)||(ya="#"+p(ya)),"none"!=ja||"none"!=ya)ja=ja==mxConstants.NONE?
"transparent":ja,ya=ya==mxConstants.NONE?"transparent":ya,h||"automatic"==U.value||(ja="light-dark("+ja+","+ya+")");return{color:ja,valid:!0}}return{color:null,valid:!1}}function G(){var ja=V.value,ya=L.value;(Y&&null!=aa||(/(^#?[a-zA-Z0-9]*$)/.test(ja)||mxUtils.isVarColor(ja))&&(/(^#?[a-zA-Z0-9]*$)/.test(ya)||mxUtils.isVarColor(ya)))&&!Y&&(""==ja&&(ja=mxConstants.NONE),""==ya&&(ya=mxConstants.NONE),ja==mxConstants.NONE||mxUtils.isVarColor(ja)||"#"==ja.charAt(0)||(ja="#"+p(ja)),ya==mxConstants.NONE||
mxUtils.isVarColor(ya)||"#"==ya.charAt(0)||(ya="#"+p(ya)),ja="automatic"!=U.value&&ya!=mxConstants.NONE?ja==mxConstants.NONE?ya.substring(1):"light-dark("+ja+","+ya+")":ja!=mxConstants.NONE?ja.substring(1):mxConstants.NONE,null!=ta&&mxUtils.remove(ta,ColorDialog.recentColors),ColorDialog.addRecentColor(ja,12),ta=ja)}function H(){var ja=D();ja.valid?(G(),wa(ja.color),W(),l||a.hideDialog()):l||a.handleError({message:mxResources.get("invalidInput")})}function K(ja){l&&(null!=ia&&clearTimeout(ia),ia=
@@ -4043,14 +4044,14 @@ var V=document.createElement("input");V.style.textOverflow="ellipsis";V.style.ma
M.setAttribute("value","automatic");mxUtils.write(M,mxResources.get("automatic"));U.appendChild(M);M=document.createElement("option");M.setAttribute("value","custom");mxUtils.write(M,mxResources.get("userDefined"));U.appendChild(M);U.value=mxUtils.isLightDarkColor(b)?"custom":"automatic";var P=document.createElement("div");M=document.createElement("img");M.setAttribute("title",mxResources.get("dark"));M.className="geAdaptiveAsset";M.src=Editor.thinDarkImage;M.style.width="20px";P.appendChild(M);mxEvent.addListener(M,
"click",function(){L.focus()});P.appendChild(L);P.appendChild(U);P.style.display="flex";P.style.alignItems="center";P.style.marginTop="6px";var Z=document.createElement("div");Z.style.display="flex";Z.style.alignItems="center";Z.style.userSelect="none";Z.style.cursor="pointer";Z.style.marginTop="4px";var na=document.createElement("img");na.setAttribute("title",mxResources.get("dark"));na.className="geAdaptiveAsset";Z.appendChild(na);mxUtils.write(Z,mxResources.get("advanced"));M=document.createElement("img");
M.setAttribute("title",mxResources.get("swap"));M.className="geAdaptiveAsset";M.style.marginLeft="6px";M.style.width="16px";M.style.height="16px";M.style.cursor="pointer";M.src=Editor.swapImage;mxEvent.addListener(M,"click",function(ja){v(!0,!1);U.value="custom";z(!1);var ya=V.value;V.value=L.value;L.value=ya;x();ua.focus();K();mxEvent.consume(ja)});Z.appendChild(M);var ba=M.cloneNode();ba.setAttribute("title",mxResources.get("copy"));ba.style.marginLeft="2px";ba.src=Editor.doubleArrowUpImage;mxEvent.addListener(ba,
-"click",function(ja){v(!0,!1);U.value="custom";z(!1);ua==L?V.value=L.value:L.value=V.value;x();ua.focus();K();mxEvent.consume(ja)});Z.appendChild(ba);M=ba.cloneNode();M.setAttribute("title",mxResources.get("opacity"));M.src=Editor.opacityImage;mxEvent.addListener(M,"click",function(ja){var ya=mxUtils.parseColor("#"+ua.value);ya=String(Math.floor(Math.max(0,Math.min(100*ya.a,100))));a.prompt(mxResources.get("opacity")+" (0-100)",ya,function(ab){!isNaN(ab)&&""!==ab&&0<=ab&&100>=ab&&(z(!1),V.value=mxUtils.rgba2hex(mxUtils.addAlphaToColor("#"+
-V.value,ab/100,!0)).substring(1).toUpperCase(),L.value=mxUtils.rgba2hex(mxUtils.addAlphaToColor("#"+L.value,ab/100,!0)).substring(1).toUpperCase(),x(),ua.focus())});mxEvent.consume(ja)});Z.appendChild(M);k();mxEvent.addListener(Z,"click",function(){v();k();ColorDialog.collapsed="none"==P.style.display;null!=S.resizeFn&&S.resizeFn()});var fa=mxUtils.button("",function(){z(!0);x();ua.focus();""==ua.value&&null!=aa&&Y&&qa.fromString(ua==L?aa.dark:aa.light,!0);K()});mxEvent.addListener(U,"change",function(ja){"automatic"==
+"click",function(ja){v(!0,!1);U.value="custom";z(!1);ua==L?V.value=L.value:L.value=V.value;x();ua.focus();K();mxEvent.consume(ja)});Z.appendChild(ba);M=ba.cloneNode();M.setAttribute("title",mxResources.get("opacity"));M.src=Editor.opacityImage;mxEvent.addListener(M,"click",function(ja){var ya=mxUtils.parseColor("#"+ua.value);ya=String(Math.floor(Math.max(0,Math.min(100*ya.a,100))));a.prompt(mxResources.get("opacity")+" (0-100)",ya,function($a){!isNaN($a)&&""!==$a&&0<=$a&&100>=$a&&(z(!1),V.value=mxUtils.rgba2hex(mxUtils.addAlphaToColor("#"+
+V.value,$a/100,!0)).substring(1).toUpperCase(),L.value=mxUtils.rgba2hex(mxUtils.addAlphaToColor("#"+L.value,$a/100,!0)).substring(1).toUpperCase(),x(),ua.focus())});mxEvent.consume(ja)});Z.appendChild(M);k();mxEvent.addListener(Z,"click",function(){v();k();ColorDialog.collapsed="none"==P.style.display;null!=S.resizeFn&&S.resizeFn()});var fa=mxUtils.button("",function(){z(!0);x();ua.focus();""==ua.value&&null!=aa&&Y&&qa.fromString(ua==L?aa.dark:aa.light,!0);K()});mxEvent.addListener(U,"change",function(ja){"automatic"==
U.value?(V.focus(),E(V)):(z(!1),L.focus(),O());x();K();mxEvent.consume(ja)});mxEvent.addListener(V,"change",function(){E(V);K()});mxEvent.addListener(L,"change",function(){E(L);K()});var wa=null!=e?e:this.createApplyFunction(),S=this,ta=null,ia=null;this.init=function(){O()};var qa=new ColorPicker,ua=Editor.isDarkMode()&&("auto"==ca.getAdaptiveColors()||"simple"==ca.getAdaptiveColors()&&"custom"==U.value)&&!h?L:V;mxEvent.addListener(V,"focus",function(){ua=V;N();ba.src=Editor.doubleArrowDownImage});
mxEvent.addListener(L,"focus",function(){ua=L;N();ba.src=Editor.doubleArrowUpImage});qa.addListener("change",function(ja,ya){ja=ya.getProperty("color").substring(1).toUpperCase();ua.value.toUpperCase()!=ja&&(ua.value=ja,E(ua),window.setTimeout(function(){ua.focus()},0))});qa.addListener("release",function(){K()});e=document.createElement("div");e.style.padding="12px 12px 18px 12px";e.appendChild(qa.div);qa.div.style.marginBottom="10px";var Fa=document.createElement("div");Fa.style.display="flex";
-Fa.style.flexFlow="row wrap";Fa.style.justifyContent="center";Fa.style.marginTop="10px";var Pa=mxUtils.bind(this,function(ja,ya,ab,$a){ya=null!=ya?ya:12;var db=document.createElement("table");db.style.borderCollapse="collapse";db.setAttribute("cellspacing","0");db.style.marginBottom="10px";db.style.cellSpacing="0px";var qb=document.createElement("tbody");db.appendChild(qb);for(var jb=ja.length/ya,fb=0;fb<jb;fb++){for(var nb=document.createElement("tr"),hb=0;hb<ya;hb++)mxUtils.bind(this,function(cb){var la=
-document.createElement("td");la.style.border="0px solid black";la.style.padding="0px";la.style.width="16px";la.style.height="16px";null==cb&&(cb=ab);if(null!=cb){la.style.borderWidth="1px";if(cb==mxConstants.NONE||null==cb)la.style.background="url('"+Dialog.prototype.noColorImage+"')";else if(mxUtils.isLightDarkColor(cb)){var Ca=mxUtils.getLightDarkColor(cb);la.style.background="linear-gradient(to right bottom, "+Ca.cssText+" 50%, "+mxUtils.invertLightDarkColor(Ca).cssText+" 50.3%)"}else la.style.backgroundColor=
+Fa.style.flexFlow="row wrap";Fa.style.justifyContent="center";Fa.style.marginTop="10px";var Pa=mxUtils.bind(this,function(ja,ya,$a,ab){ya=null!=ya?ya:12;var db=document.createElement("table");db.style.borderCollapse="collapse";db.setAttribute("cellspacing","0");db.style.marginBottom="10px";db.style.cellSpacing="0px";var qb=document.createElement("tbody");db.appendChild(qb);for(var jb=ja.length/ya,fb=0;fb<jb;fb++){for(var nb=document.createElement("tr"),hb=0;hb<ya;hb++)mxUtils.bind(this,function(cb){var la=
+document.createElement("td");la.style.border="0px solid black";la.style.padding="0px";la.style.width="16px";la.style.height="16px";null==cb&&(cb=$a);if(null!=cb){la.style.borderWidth="1px";if(cb==mxConstants.NONE||null==cb)la.style.background="url('"+Dialog.prototype.noColorImage+"')";else if(mxUtils.isLightDarkColor(cb)){var Ca=mxUtils.getLightDarkColor(cb);la.style.background="linear-gradient(to right bottom, "+Ca.cssText+" 50%, "+mxUtils.invertLightDarkColor(Ca).cssText+" 50.3%)"}else la.style.backgroundColor=
"#"+cb;Ca=this.colorNames[String(cb).toUpperCase()];null!=Ca&&la.setAttribute("title",Ca)}nb.appendChild(la);null!=cb&&(la.style.cursor="pointer",mxEvent.addListener(la,"click",function(){if(cb==mxConstants.NONE){ua==L&&L.value==mxConstants.NONE?V.value=mxConstants.NONE:ua.value=mxConstants.NONE;if(ua==V||ua==L&&V.value==mxConstants.NONE)U.value="automatic";E(ua);K();window.setTimeout(function(){ua.focus()},0)}else if(mxUtils.isLightDarkColor(cb)){var Aa=mxUtils.getLightDarkColor(cb);h?(V.value=Aa.light.substring(1).toUpperCase(),
-E(V),qa.fromString(Aa.light),K()):(v(!0,!1),U.value="custom",V.value=Aa.light.substring(1).toUpperCase(),L.value=Aa.dark.substring(1).toUpperCase(),E(V),E(L),K(),ua==V?qa.fromString(Aa.light):qa.fromString(Aa.dark))}else qa.fromString("#"+cb),K()}),mxEvent.addListener(la,"dblclick",function(){H();l&&null!=S.closeFn&&S.closeFn()}))})(ja[fb*ya+hb]);qb.appendChild(nb)}$a&&(ja=document.createElement("td"),ja.setAttribute("title",mxResources.get("reset")),ja.className="geAdaptiveAsset",ja.style.border=
+E(V),qa.fromString(Aa.light),K()):(v(!0,!1),U.value="custom",V.value=Aa.light.substring(1).toUpperCase(),L.value=Aa.dark.substring(1).toUpperCase(),E(V),E(L),K(),ua==V?qa.fromString(Aa.light):qa.fromString(Aa.dark))}else qa.fromString("#"+cb),K()}),mxEvent.addListener(la,"dblclick",function(){H();l&&null!=S.closeFn&&S.closeFn()}))})(ja[fb*ya+hb]);qb.appendChild(nb)}ab&&(ja=document.createElement("td"),ja.setAttribute("title",mxResources.get("reset")),ja.className="geAdaptiveAsset",ja.style.border=
"1px solid black",ja.style.padding="0px",ja.style.width="16px",ja.style.height="16px",ja.style.backgroundImage="url('"+Editor.crossImage+"')",ja.style.backgroundPosition="center center",ja.style.backgroundSize="14px 14px",ja.style.backgroundRepeat="no-repeat",ja.style.cursor="pointer",nb.appendChild(ja),mxEvent.addListener(ja,"click",function(){ColorDialog.resetRecentColors();var cb=R();null!=db.parentNode&&db.parentNode.replaceChild(cb,db);za=cb}));Fa.appendChild(db);return db}),Ja=null;h||(ma.appendChild(Z),
!ColorDialog.collapsed||Editor.isDarkMode()&&"auto"==ca.getAdaptiveColors()||"automatic"!=U.value||(P.style.display="none",k()),Ja=document.createElement("img"),Ja.setAttribute("title",mxResources.get("light")),Ja.className="geAdaptiveAsset",Ja.src=Editor.thinLightImage,Ja.style.width="20px",oa.appendChild(Ja),mxEvent.addListener(Ja,"click",function(){V.focus()}));oa.appendChild(V);fa.style.cursor="pointer";fa.style.position="relative";fa.style.marginLeft="6px";null!=aa?(fa.setAttribute("title",mxResources.get(h?
"default":"useBlackAndWhite")),fa.innerText="",ca=document.createElement("div"),ca.style.display="inline-block",ca.style.verticalAlign="middle",ca.style.borderStyle="solid",ca.style.borderWidth="1px",ca.style.marginTop="-2px",ca.style.width="12px",ca.style.height="12px",h?ca.style.backgroundColor=aa.light:ca.style.backgroundImage="linear-gradient(to right bottom, "+aa.cssText+" 50%, "+mxUtils.invertLightDarkColor(aa).cssText+" 50.3%)",fa.appendChild(ca)):fa.style.display="none";oa.appendChild(fa);
@@ -4059,10 +4060,10 @@ M.src=Editor.colorDropperImage;M.className="geAdaptiveAsset";M.style.position="r
ma.style.display="flex",ma.style.whiteSpace="nowrap",ma.style.alignItems="center",ma.style.justifyContent="end",a.isOffline()||ma.appendChild(a.createHelpIcon("https://github.com/jgraph/drawio/discussions/4713")),oa=mxUtils.button(mxResources.get("cancel"),function(){a.hideDialog();null!=f&&f()}),oa.className="geBtn",a.editor.cancelFirst&&ma.appendChild(oa),ca=mxUtils.button(mxResources.get("apply"),H),ca.className="geBtn gePrimaryBtn",ma.appendChild(ca),a.editor.cancelFirst||ma.appendChild(oa));
null!=b&&("default"==b?fa.click():(oa=mxUtils.getLightDarkColor(b),b==mxConstants.NONE||"transparent"==oa.light?V.value=mxConstants.NONE:mxUtils.isVarColor(oa.light)?V.value=oa.light:(mxUtils.isRgbColor(oa.light)?oa.light=mxUtils.rgba2hex(oa.light):mxUtils.isHexColor(oa.light)||(oa.light="#"+p(oa.light)),V.value=oa.light.substring(1).toUpperCase()),b==mxConstants.NONE||"transparent"==oa.dark?L.value=mxConstants.NONE:mxUtils.isVarColor(oa.dark)?L.value=oa.dark:(mxUtils.isRgbColor(oa.dark)?oa.dark=
mxUtils.rgba2hex(oa.dark):mxUtils.isHexColor(oa.dark)||(oa.dark="#"+p(oa.dark)),L.value=oa.dark.substring(1).toUpperCase()),N(),x()));h||!ColorDialog.collapsed||"automatic"!=U.value||Editor.isDarkMode()||(P.style.display="none",k());null!=ma&&e.appendChild(ma);this.picker=qa;this.colorInput=V;mxEvent.addListener(V,"keypress",ha);mxEvent.addListener(L,"keypress",ha);mxEvent.addListener(e,"keydown",function(ja){27==ja.keyCode&&(l?null!=S.closeFn&&S.closeFn():(a.hideDialog(),null!=f&&f()),mxEvent.consume(ja))});
-this.container=e;this.resizeFn=this.closeFn=null;this.setApplyFn=function(ja){wa=ja};this.setColor=function(ja,ya,ab,$a){ta=null;g=ya;d=ab;h=$a;aa=null!=ab?mxUtils.getLightDarkColor(ab,null,null,$a):null;Y=!1;$a?(Z.style.display="none",P.style.display="none",null!=Ja&&(Ja.style.display="none"),ua=V,V.focus()):(Z.style.display="flex",null!=Ja&&(Ja.style.display=""),ColorDialog.collapsed&&"automatic"==U.value&&!Editor.isDarkMode()?P.style.display="none":P.style.display="flex",k());null!=aa?(fa.style.display=
-"",fa.setAttribute("title",mxResources.get($a?"default":"useBlackAndWhite")),fa.innerText="",ya=document.createElement("div"),ya.style.display="inline-block",ya.style.verticalAlign="middle",ya.style.borderStyle="solid",ya.style.borderWidth="1px",ya.style.marginTop="-2px",ya.style.width="12px",ya.style.height="12px",$a?ya.style.backgroundColor=aa.light:ya.style.backgroundImage="linear-gradient(to right bottom, "+aa.cssText+" 50%, "+mxUtils.invertLightDarkColor(aa).cssText+" 50.3%)",fa.appendChild(ya)):
+this.container=e;this.resizeFn=this.closeFn=null;this.setApplyFn=function(ja){wa=ja};this.setColor=function(ja,ya,$a,ab){ta=null;g=ya;d=$a;h=ab;aa=null!=$a?mxUtils.getLightDarkColor($a,null,null,ab):null;Y=!1;ab?(Z.style.display="none",P.style.display="none",null!=Ja&&(Ja.style.display="none"),ua=V,V.focus()):(Z.style.display="flex",null!=Ja&&(Ja.style.display=""),ColorDialog.collapsed&&"automatic"==U.value&&!Editor.isDarkMode()?P.style.display="none":P.style.display="flex",k());null!=aa?(fa.style.display=
+"",fa.setAttribute("title",mxResources.get(ab?"default":"useBlackAndWhite")),fa.innerText="",ya=document.createElement("div"),ya.style.display="inline-block",ya.style.verticalAlign="middle",ya.style.borderStyle="solid",ya.style.borderWidth="1px",ya.style.marginTop="-2px",ya.style.width="12px",ya.style.height="12px",ab?ya.style.backgroundColor=aa.light:ya.style.backgroundImage="linear-gradient(to right bottom, "+aa.cssText+" 50%, "+mxUtils.invertLightDarkColor(aa).cssText+" 50.3%)",fa.appendChild(ya)):
fa.style.display="none";null!=ja&&("default"==ja||"transparent"==ja||ja==mxConstants.NONE||mxUtils.isVarColor(ja)||mxUtils.isHexColor(ja)||mxUtils.isRgbColor(ja)||mxUtils.isLightDarkColor(ja)||(ja=mxUtils.color2hex(ja)),U.value=mxUtils.isLightDarkColor(ja)?"custom":"automatic","default"==ja?(z(!0),x(),null!=aa&&qa.fromString(ua==L?aa.dark:aa.light,!0)):(ya=mxUtils.getLightDarkColor(ja),ja==mxConstants.NONE||"transparent"==ya.light?V.value=mxConstants.NONE:mxUtils.isVarColor(ya.light)?V.value=ya.light:
-(mxUtils.isRgbColor(ya.light)?ya.light=mxUtils.rgba2hex(ya.light):mxUtils.isHexColor(ya.light)||(ya.light="#"+p(ya.light)),V.value=ya.light.substring(1).toUpperCase()),ja==mxConstants.NONE||"transparent"==ya.dark?L.value=mxConstants.NONE:mxUtils.isVarColor(ya.dark)?L.value=ya.dark:(mxUtils.isRgbColor(ya.dark)?ya.dark=mxUtils.rgba2hex(ya.dark):mxUtils.isHexColor(ya.dark)||(ya.dark="#"+p(ya.dark)),L.value=ya.dark.substring(1).toUpperCase()),N(),x()));$a||!ColorDialog.collapsed||"automatic"!=U.value||
+(mxUtils.isRgbColor(ya.light)?ya.light=mxUtils.rgba2hex(ya.light):mxUtils.isHexColor(ya.light)||(ya.light="#"+p(ya.light)),V.value=ya.light.substring(1).toUpperCase()),ja==mxConstants.NONE||"transparent"==ya.dark?L.value=mxConstants.NONE:mxUtils.isVarColor(ya.dark)?L.value=ya.dark:(mxUtils.isRgbColor(ya.dark)?ya.dark=mxUtils.rgba2hex(ya.dark):mxUtils.isHexColor(ya.dark)||(ya.dark="#"+p(ya.dark)),L.value=ya.dark.substring(1).toUpperCase()),N(),x()));ab||!ColorDialog.collapsed||"automatic"!=U.value||
Editor.isDarkMode()||(P.style.display="none",k());W();null!=S.resizeFn&&S.resizeFn()}};ColorDialog.prototype.presetColors="E6D0DE CDA2BE B5739D E1D5E7 C3ABD0 A680B8 D4E1F5 A9C4EB 7EA6E0 D5E8D4 9AC7BF 67AB9F D5E8D4 B9E0A5 97D077 FFF2CC FFE599 FFD966 FFF4C3 FFCE9F FFB570 F8CECC F19C99 EA6B66".split(" ");ColorDialog.prototype.colorNames={};ColorDialog.prototype.defaultColors="none FFFFFF E6E6E6 CCCCCC B3B3B3 999999 808080 666666 4D4D4D 333333 1A1A1A 000000 FFCCCC FFE6CC FFFFCC E6FFCC CCFFCC CCFFE6 CCFFFF CCE5FF CCCCFF E5CCFF FFCCFF FFCCE6 FF9999 FFCC99 FFFF99 CCFF99 99FF99 99FFCC 99FFFF 99CCFF 9999FF CC99FF FF99FF FF99CC FF6666 FFB366 FFFF66 B3FF66 66FF66 66FFB3 66FFFF 66B2FF 6666FF B266FF FF66FF FF66B3 FF3333 FF9933 FFFF33 99FF33 33FF33 33FF99 33FFFF 3399FF 3333FF 9933FF FF33FF FF3399 FF0000 FF8000 FFFF00 80FF00 00FF00 00FF80 00FFFF 007FFF 0000FF 7F00FF FF00FF FF0080 CC0000 CC6600 CCCC00 66CC00 00CC00 00CC66 00CCCC 0066CC 0000CC 6600CC CC00CC CC0066 990000 994C00 999900 4D9900 009900 00994D 009999 004C99 000099 4C0099 990099 99004D 660000 663300 666600 336600 006600 006633 006666 003366 000066 330066 660066 660033 330000 331A00 333300 1A3300 003300 00331A 003333 001933 000033 190033 330033 33001A".split(" ");
ColorDialog.prototype.createApplyFunction=function(){return ColorDialog.createApplyFunction(this.editorUi,this.currentColorKey)};ColorDialog.createApplyFunction=function(a,b){return function(e){var f=a.editor.graph;f.getModel().beginUpdate();try{f.setCellStyles(b,e),a.fireEvent(new mxEventObject("styleChanged","keys",[b],"values",[e],"cells",f.getSelectionCells()))}finally{f.getModel().endUpdate()}}};ColorDialog.recentColors=[];
ColorDialog.addRecentColor=function(a,b){null!=a&&(mxUtils.remove(a,ColorDialog.recentColors),ColorDialog.recentColors.splice(0,0,a),ColorDialog.recentColors.length>=b&&ColorDialog.recentColors.pop())};ColorDialog.resetRecentColors=function(){ColorDialog.recentColors=[]};ColorDialog.collapsed=!0;
@@ -7457,8 +7458,8 @@ e.vertex=!0;var b=new mxCell("PBR",new mxGeometry(60,0,60,24),"text;verticalAlig
50,50,"","Rarity",!0,null,this.getTagsForStencil(" ","color rarity","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#1EB5BD;strokeColor=none;whiteSpace=wrap;html=1;",50,50,"","Seagull",!0,null,this.getTagsForStencil(" ","color seagull","cumulus").join(" ")),this.createVertexTemplateEntry("fillColor=#78CDD1;strokeColor=none;whiteSpace=wrap;html=1;",50,50,"","Half Baked",!0,null,this.getTagsForStencil(" ","color half baked","cumulus").join(" "))];this.addPalette("cumulus","Cumulus",
!1,mxUtils.bind(this,function(e){for(var b=0;b<c.length;b++)e.appendChild(c[b](e))}));this.setCurrentSearchEntryLibrary()}})();(function(){Sidebar.prototype.addDFDPalette=function(){var a=this;this.setCurrentSearchEntryLibrary("dfd");this.addPaletteFunctions("dfd","Data Flow Diagram",!1,[this.createVertexTemplateEntry("html=1;dashed=0;whiteSpace=wrap;shape=mxgraph.dfd.start",80,30,"","Start / End",null,null,this.getTagsForStencil("mxgraph.flowchart","start end","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whiteSpace=wrap;",100,50,"","Activity / Process / Entity / External Interactor",
null,null,this.getTagsForStencil("mxgraph.flowchart","activity process entity external interactor","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=rhombus;html=1;dashed=0;whiteSpace=wrap;perimeter=rhombusPerimeter;",60,50,"","Decision / Entity Relationship",null,null,this.getTagsForStencil("mxgraph.flowchart","decision entity relationship","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=ellipse;html=1;dashed=0;whiteSpace=wrap;aspect=fixed;perimeter=ellipsePerimeter;",
-30,30,"","Reference",null,null,this.getTagsForStencil("mxgraph.flowchart","reference","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;dashed=0;",100,50,"","Product / Result",null,null,this.getTagsForStencil("mxgraph.flowchart","product result","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=manualInput;whiteSpace=wrap;html=1;dashed=0;size=15;",100,50,"","Order / Command",null,
-null,this.getTagsForStencil("mxgraph.flowchart","order command","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=document;whiteSpace=wrap;html=1;boundedLbl=1;dashed=0;flipH=1;",100,70,"","Information / Data Carrier / SOP",null,null,this.getTagsForStencil("mxgraph.flowchart","information data carrier sop","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("triangle;whiteSpace=wrap;html=1;dashed=0;direction=south;",60,60,"","Information/Data Carrier/SOP / Stop State",
+30,30,"","Reference",null,null,this.getTagsForStencil("mxgraph.flowchart","reference","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;dashed=0;",100,50,"","Product / Result",null,null,this.getTagsForStencil("mxgraph.flowchart","product result","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=manualInput;boundedLbl=1;whiteSpace=wrap;html=1;dashed=0;size=15;",100,50,"","Order / Command",
+null,null,this.getTagsForStencil("mxgraph.flowchart","order command","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=document;whiteSpace=wrap;html=1;boundedLbl=1;dashed=0;flipH=1;",100,70,"","Information / Data Carrier / SOP",null,null,this.getTagsForStencil("mxgraph.flowchart","information data carrier sop","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("triangle;whiteSpace=wrap;html=1;dashed=0;direction=south;",60,60,"","Information/Data Carrier/SOP / Stop State",
null,null,this.getTagsForStencil("mxgraph.flowchart","information data carrier sop","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whiteSpace=wrap;shape=mxgraph.dfd.archive",60,60,"","Final Report / Archive",null,null,this.getTagsForStencil("mxgraph.flowchart","final report archive","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=hexagon;perimeter=hexagonPerimeter2;whiteSpace=wrap;html=1;size=0.25",100,50,"","Check",null,null,this.getTagsForStencil("mxgraph.flowchart",
"check","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("html=1;dashed=0;whiteSpace=wrap;shape=mxgraph.dfd.check2",100,50,"","Check 2",null,null,this.getTagsForStencil("mxgraph.flowchart","check","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=ellipse;html=1;dashed=0;whiteSpace=wrap;perimeter=ellipsePerimeter;",30,30,"","Data Process",null,null,this.getTagsForStencil("mxgraph.flowchart","data process","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=ellipse;html=1;dashed=0;whiteSpace=wrap;aspect=fixed;perimeter=ellipsePerimeter;",
60,60,"","Data Process / State",null,null,this.getTagsForStencil("mxgraph.flowchart","data process","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("ellipse;shape=doubleEllipse;html=1;dashed=0;whiteSpace=wrap;aspect=fixed;",60,60,"","Multiple Process / Start State / Multi State",null,null,this.getTagsForStencil("mxgraph.flowchart","multiple process start state multi","dfd data flow diagram ").join(" ")),this.createVertexTemplateEntry("shape=ellipse;html=1;dashed=0;whiteSpace=wrap;aspect=fixed;strokeWidth=5;perimeter=ellipsePerimeter;",
@@ -7792,7 +7793,7 @@ new mxGeometry(290,97,40,43),a+"office_chair;shadow=0;direction=west;");t.vertex
60,60,"","Database",null,null,this.getTagsForStencil("mxgraph.flowchart","database","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.decision;whiteSpace=wrap;",100,100,"","Decision",null,null,this.getTagsForStencil("mxgraph.flowchart","decision","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.delay;whiteSpace=wrap;",100,60,"","Delay",null,null,this.getTagsForStencil("mxgraph.flowchart","delay","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.direct_data;whiteSpace=wrap;",
100,60,"","Direct Data",null,null,this.getTagsForStencil("mxgraph.flowchart","direct_data","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.display;whiteSpace=wrap;",100,60,"","Display",null,null,this.getTagsForStencil("mxgraph.flowchart","display","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.document2;whiteSpace=wrap;size=0.25;",100,60,"","Document",null,null,this.getTagsForStencil("mxgraph.flowchart","document",
"").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.extract_or_measurement;whiteSpace=wrap;",95,60,"","Extract or Measurement",null,null,this.getTagsForStencil("mxgraph.flowchart","extract_or_measurement","").join(" ")),this.createVertexTemplateEntry("shape=internalStorage;whiteSpace=wrap;html=1;dx=15;dy=15;rounded=1;arcSize=8;strokeWidth=2;",70,70,"","Internal Storage",null,null,this.getTagsForStencil("mxgraph.flowchart","internal_storage","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.loop_limit;whiteSpace=wrap;",
-100,60,"","Loop Limit",null,null,this.getTagsForStencil("mxgraph.flowchart","loop_limit","").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=2;shape=manualInput;whiteSpace=wrap;rounded=1;size=26;arcSize=11;",100,60,"","Manual Input",null,null,this.getTagsForStencil("mxgraph.flowchart","manual_input","").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=trapezoid;perimeter=trapezoidPerimeter;whiteSpace=wrap;size=0.23;arcSize=10;flipV=1;labelPosition=center;align=center;",
+100,60,"","Loop Limit",null,null,this.getTagsForStencil("mxgraph.flowchart","loop_limit","").join(" ")),this.createVertexTemplateEntry("html=1;strokeWidth=2;shape=manualInput;boundedLbl=1;whiteSpace=wrap;rounded=1;size=26;arcSize=11;",100,60,"","Manual Input",null,null,this.getTagsForStencil("mxgraph.flowchart","manual_input","").join(" ")),this.createVertexTemplateEntry("verticalLabelPosition=middle;verticalAlign=middle;html=1;shape=trapezoid;perimeter=trapezoidPerimeter;whiteSpace=wrap;size=0.23;arcSize=10;flipV=1;labelPosition=center;align=center;",
100,60,"","Manual Operation",null,null,this.getTagsForStencil("mxgraph.flowchart","manual_operation","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.merge_or_storage;whiteSpace=wrap;",95,60,"","Merge or Storage",null,null,this.getTagsForStencil("mxgraph.flowchart","merge_or_storage","").join(" ")),this.createVertexTemplateEntry("strokeWidth=2;html=1;shape=mxgraph.flowchart.multi-document;whiteSpace=wrap;",88,60,"","Multi-Document",null,null,this.getTagsForStencil("mxgraph.flowchart",
"multi-document","").join(" ")),this.createVertexTemplateEntry(c+"offPageConnector;rounded=0;size=0.5;",60,60,"","Off-Page Reference",null,null,this.getTagsForStencil("mxgraph.flowchart","off-page_reference","").join(" ")),this.createVertexTemplateEntry(a+"on-page_reference;",60,60,"","On-Page Reference",null,null,this.getTagsForStencil("mxgraph.flowchart","on-page_reference","").join(" ")),this.createVertexTemplateEntry(a+"summing_function;",70,70,"","Or",null,null,this.getTagsForStencil("mxgraph.flowchart",
"summing_function","").join(" ")),this.createVertexTemplateEntry("shape=tape;whiteSpace=wrap;html=1;strokeWidth=2;size=0.19",100,65,"","Tape",null,null,this.getTagsForStencil("mxgraph.flowchart","tape","").join(" ")),this.createVertexTemplateEntry(a+"parallel_mode;pointerEvents=1",95,40,"","Parallel Mode",null,null,this.getTagsForStencil("mxgraph.flowchart","parallel_mode","").join(" ")),this.createVertexTemplateEntry(c+"process;whiteSpace=wrap;rounded=1;size=0.14;arcSize=6;",100,60,"","Predefined Process",
@@ -13354,7 +13355,7 @@ var za=document.createElement("input");za.setAttribute("type","checkbox");za.set
H=null!=H?H:null!=y?"export":PrintDialog.previewEnabled?"print":"ok";H=mxUtils.button(mxResources.get(H),function(){try{g.hideDialog(),N(!0)}catch(xa){g.handleError(xa)}});H.className="geBtn gePrimaryBtn";t.appendChild(H);g.editor.cancelFirst||t.appendChild(U);L.appendChild(t);if(g.editor.isChromelessView()){var la=function(){Editor.isDarkMode()?(L.classList.add("geDarkMode"),L.style.colorScheme="dark"):(L.classList.remove("geDarkMode"),L.style.colorScheme="light")};g.addListener("darkModeChanged",
la);la();var pa=function(xa,sa){xa=sa.getProperty("dialog");L.parentNode==xa.container&&(g.editor.removeListener(pa),g.removeListener(la))};g.editor.addListener("hideDialog",pa)}this.container=L};var J=ChangePageSetup.prototype.execute;ChangePageSetup.prototype.execute=function(){null==this.page&&(this.page=this.ui.currentPage);if(this.page!=this.ui.currentPage){if(null!=this.page.viewState){this.ignoreColor||(this.page.viewState.background=this.color);if(!this.ignoreImage){var g=this.image;null!=
g&&null!=g.src&&Graph.isPageLink(g.src)&&(g={originalSrc:g.src});this.page.viewState.backgroundImage=g}null!=this.format&&(this.page.viewState.pageFormat=this.format);null!=this.mathEnabled&&(this.page.viewState.mathEnabled=this.mathEnabled);null!=this.adaptiveColors&&(this.page.viewState.adaptiveColors=this.adaptiveColors);null!=this.shadowVisible&&(this.page.viewState.shadowVisible=this.shadowVisible)}}else J.apply(this,arguments),null!=this.mathEnabled&&this.mathEnabled!=this.ui.isMathEnabled()&&
-(this.ui.setMathEnabled(this.mathEnabled),this.mathEnabled=!this.mathEnabled),null!=this.adaptiveColors&&this.adaptiveColors!=this.ui.editor.graph.adaptiveColors&&(g=this.ui.editor.graph.adaptiveColors,this.ui.setAdaptiveColors(this.adaptiveColors),this.adaptiveColors=null!=g?g:"default"),null!=this.shadowVisible&&this.shadowVisible!=this.ui.editor.graph.shadowVisible&&(this.ui.editor.graph.setShadowVisible(this.shadowVisible),this.shadowVisible=!this.shadowVisible)}})();(function(){EditorUi.VERSION="29.7.11";EditorUi.compactUi="atlas"!=Editor.currentTheme||window.DRAWIO_PUBLIC_BUILD;Editor.isDarkMode()&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&"1"!=urlParams.lockdown&&(/.*\.draw\.io$/.test(window.location.hostname)||/.*\.diagrams\.net$/.test(window.location.hostname)||/.*\.cdn\.prod\.atlassian-dev\.net$/.test(window.location.hostname))&&"https://preprod.diagrams.net/"!=window.location.hostname&&
+(this.ui.setMathEnabled(this.mathEnabled),this.mathEnabled=!this.mathEnabled),null!=this.adaptiveColors&&this.adaptiveColors!=this.ui.editor.graph.adaptiveColors&&(g=this.ui.editor.graph.adaptiveColors,this.ui.setAdaptiveColors(this.adaptiveColors),this.adaptiveColors=null!=g?g:"default"),null!=this.shadowVisible&&this.shadowVisible!=this.ui.editor.graph.shadowVisible&&(this.ui.editor.graph.setShadowVisible(this.shadowVisible),this.shadowVisible=!this.shadowVisible)}})();(function(){EditorUi.VERSION="29.7.12";EditorUi.compactUi="atlas"!=Editor.currentTheme||window.DRAWIO_PUBLIC_BUILD;Editor.isDarkMode()&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&"1"!=urlParams.lockdown&&(/.*\.draw\.io$/.test(window.location.hostname)||/.*\.diagrams\.net$/.test(window.location.hostname)||/.*\.cdn\.prod\.atlassian-dev\.net$/.test(window.location.hostname))&&"https://preprod.diagrams.net/"!=window.location.hostname&&
"support.draw.io"!=window.location.hostname&&"test.draw.io"!=window.location.hostname;EditorUi.drawHost=window.DRAWIO_BASE_URL;EditorUi.lightboxHost=window.DRAWIO_LIGHTBOX_URL;EditorUi.lastErrorMessage=null;EditorUi.ignoredAnonymizedChars="\n\t`~!@#$%^&*()_+{}|:\"<>?-=[];'./,\n\t";EditorUi.templateFile=TEMPLATE_PATH+"/index.xml";EditorUi.cacheUrl=window.REALTIME_URL;null==EditorUi.cacheUrl&&"undefined"!==typeof DrawioFile&&(DrawioFile.SYNC="none");Editor.cacheTimeout=1E4;EditorUi.enablePlantUml=EditorUi.enableLogging||
"1"==urlParams.dev;EditorUi.isElectronApp=null!=window&&null!=window.process&&null!=window.process.versions&&null!=window.process.versions.electron;EditorUi.nativeFileSupport=!mxClient.IS_OP&&!EditorUi.isElectronApp&&"1"!=urlParams.extAuth&&"showSaveFilePicker"in window&&"showOpenFilePicker"in window;EditorUi.enableDrafts=!mxClient.IS_CHROMEAPP&&isLocalStorage&&"0"!=urlParams.drafts;EditorUi.scratchpadHelpLink="https://www.drawio.com/doc/faq/scratchpad";EditorUi.enableHtmlEditOption=!0;EditorUi.mermaidDiagramTypes=
"flowchart classDiagram sequenceDiagram stateDiagram mindmap graph erDiagram requirementDiagram journey gantt pie gitGraph".split(" ");EditorUi.defaultMermaidConfig={theme:"neutral",arrowMarkerAbsolute:!1,sequence:{diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,mirrorActors:!0,bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,showSequenceNumbers:!1},gantt:{useWidth:1E3,useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,
diff --git a/src/main/webapp/js/viewer-static.min.js b/src/main/webapp/js/viewer-static.min.js
index 56e9605eb..b5366ad5b 100644
--- a/src/main/webapp/js/viewer-static.min.js
+++ b/src/main/webapp/js/viewer-static.min.js
@@ -31,7 +31,7 @@ b),-1!==c&&c===b&&(window.DRAWIO_LOG_URL="https://log.draw.io"))}})();"1"==urlPa
"se.diagrams.net"==window.location.hostname&&(urlParams.db="0",urlParams.od="0",urlParams.gh="0",urlParams.gl="0",urlParams.tr="0",urlParams.plugins="0",urlParams.mode="google",urlParams.lockdown="1",window.DRAWIO_GOOGLE_APP_ID=window.DRAWIO_GOOGLE_APP_ID||"184079235871",window.DRAWIO_GOOGLE_CLIENT_ID=window.DRAWIO_GOOGLE_CLIENT_ID||"184079235871-pjf5nn0lff27lk8qf0770gmffiv9gt61.apps.googleusercontent.com");"trello"==urlParams.mode&&(urlParams.tr="1");
"embed.diagrams.net"==window.location.hostname&&(urlParams.embed="1");(null==window.location.hash||1>=window.location.hash.length)&&null!=urlParams.open&&(window.location.hash=urlParams.open);"function"!==typeof window.structuredClone&&(window.structuredClone=function(a){return a});window.urlParams=window.urlParams||{};window.DOM_PURIFY_CONFIG=window.DOM_PURIFY_CONFIG||{ADD_TAGS:["use","foreignObject"],FORBID_TAGS:["form"],ALLOWED_URI_REGEXP:/^((?!javascript:).)*$/i,HTML_INTEGRATION_POINTS:{foreignobject:!0},ADD_ATTR:["target","content","pointer-events","requiredFeatures"]};window.MAX_REQUEST_SIZE=window.MAX_REQUEST_SIZE||10485760;window.MAX_AREA=window.MAX_AREA||225E6;window.EXPORT_URL=window.EXPORT_URL||"/export";window.SAVE_URL=window.SAVE_URL||"/save";
window.OPEN_URL=window.OPEN_URL||"/open";window.RESOURCES_PATH=window.RESOURCES_PATH||"resources";window.RESOURCE_BASE=window.RESOURCE_BASE||window.RESOURCES_PATH+"/grapheditor";window.STENCIL_PATH=window.STENCIL_PATH||"stencils";window.IMAGE_PATH=window.IMAGE_PATH||"images";window.STYLE_PATH=window.STYLE_PATH||"styles";window.CSS_PATH=window.CSS_PATH||"styles";window.OPEN_FORM=window.OPEN_FORM||"open.html";window.mxBasePath=window.mxBasePath||"mxgraph";
-window.mxImageBasePath=window.mxImageBasePath||"mxgraph/images";window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de","se"];var mxClient={VERSION:"29.7.11",IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),IS_OP:null!=navigator.userAgent&&(0<=navigator.userAgent.indexOf("Opera/")||0<=navigator.userAgent.indexOf("OPR/")),IS_OT:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Presto/")&&0>navigator.userAgent.indexOf("Presto/2.4.")&&0>navigator.userAgent.indexOf("Presto/2.3.")&&
+window.mxImageBasePath=window.mxImageBasePath||"mxgraph/images";window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de","se"];var mxClient={VERSION:"29.7.12",IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),IS_OP:null!=navigator.userAgent&&(0<=navigator.userAgent.indexOf("Opera/")||0<=navigator.userAgent.indexOf("OPR/")),IS_OT:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Presto/")&&0>navigator.userAgent.indexOf("Presto/2.4.")&&0>navigator.userAgent.indexOf("Presto/2.3.")&&
0>navigator.userAgent.indexOf("Presto/2.2.")&&0>navigator.userAgent.indexOf("Presto/2.1.")&&0>navigator.userAgent.indexOf("Presto/2.0.")&&0>navigator.userAgent.indexOf("Presto/1."),IS_SF:/Apple Computer, Inc/.test(navigator.vendor),IS_ANDROID:0<=navigator.appVersion.indexOf("Android"),IS_IOS:/iP(hone|od|ad)/.test(navigator.platform)||navigator.userAgent.match(/Mac/)&&navigator.maxTouchPoints&&2<navigator.maxTouchPoints,IS_WEBVIEW:/((iPhone|iPod|iPad).*AppleWebKit(?!.*Version)|; wv)/i.test(navigator.userAgent),
IS_GC:/Google Inc/.test(navigator.vendor),IS_CHROMEAPP:null!=window.chrome&&null!=chrome.app&&null!=chrome.app.runtime,IS_FF:-1<navigator.userAgent.toLowerCase().indexOf("firefox"),IS_MT:0<=navigator.userAgent.indexOf("Firefox/")&&0>navigator.userAgent.indexOf("Firefox/1.")&&0>navigator.userAgent.indexOf("Firefox/2.")||0<=navigator.userAgent.indexOf("Iceweasel/")&&0>navigator.userAgent.indexOf("Iceweasel/1.")&&0>navigator.userAgent.indexOf("Iceweasel/2.")||0<=navigator.userAgent.indexOf("SeaMonkey/")&&
0>navigator.userAgent.indexOf("SeaMonkey/1.")||0<=navigator.userAgent.indexOf("Iceape/")&&0>navigator.userAgent.indexOf("Iceape/1."),IS_SVG:"MICROSOFT INTERNET EXPLORER"!=navigator.appName.toUpperCase(),NO_FO:!document.createElementNS||"[object SVGForeignObjectElement]"!==document.createElementNS("http://www.w3.org/2000/svg","foreignObject").toString()||0<=navigator.userAgent.indexOf("Opera/"),IS_WIN:0<navigator.appVersion.indexOf("Win"),IS_MAC:0<navigator.appVersion.indexOf("Mac"),IS_CHROMEOS:/\bCrOS\b/.test(navigator.appVersion),
@@ -2987,198 +2987,199 @@ A),f.lineTo(x,O+t),f.lineTo(0,O+t),f.lineTo(0,O),f.lineTo(x,O),f.lineTo(x,da+t),
da,!0);f.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("associativeEntity",ya);mxUtils.extend(Fa,mxDoubleEllipse);Fa.prototype.outerStroke=!0;Fa.prototype.paintVertexShape=function(f,t,x,u,A){var F=Math.min(4,Math.min(u/5,A/5));0<u&&0<A&&(f.ellipse(t+F,x+F,u-2*F,A-2*F),f.fillAndStroke());f.setShadow(!1);this.outerStroke&&(f.ellipse(t,x,u,A),f.stroke())};mxCellRenderer.registerShape("endState",Fa);mxUtils.extend(Va,Fa);Va.prototype.outerStroke=
!1;mxCellRenderer.registerShape("startState",Va);mxUtils.extend(Da,mxArrowConnector);Da.prototype.defaultWidth=4;Da.prototype.isOpenEnded=function(){return!0};Da.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-1)};Da.prototype.isArrowRounded=function(){return this.isRounded};mxCellRenderer.registerShape("link",Da);mxUtils.extend(Oa,mxArrowConnector);Oa.prototype.defaultWidth=10;Oa.prototype.defaultArrowWidth=20;Oa.prototype.getStartArrowWidth=
function(){return this.getEdgeWidth()+mxUtils.getNumber(this.style,"startWidth",this.defaultArrowWidth)};Oa.prototype.getEndArrowWidth=function(){return this.getEdgeWidth()+mxUtils.getNumber(this.style,"endWidth",this.defaultArrowWidth)};Oa.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-1)};mxCellRenderer.registerShape("flexArrow",Oa);mxUtils.extend(Ta,mxActor);Ta.prototype.size=30;Ta.prototype.isRoundable=function(){return!0};
-Ta.prototype.redrawPath=function(f,t,x,u,A){t=Math.min(A,parseFloat(mxUtils.getValue(this.style,"size",this.size)));x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(f,[new mxPoint(0,A),new mxPoint(0,t),new mxPoint(u,0),new mxPoint(u,A)],this.isRounded,x,!0);f.end()};mxCellRenderer.registerShape("manualInput",Ta);mxUtils.extend(La,mxRectangleShape);La.prototype.dx=20;La.prototype.dy=20;La.prototype.isHtmlAllowed=function(){return!1};La.prototype.paintForeground=
-function(f,t,x,u,A){mxRectangleShape.prototype.paintForeground.apply(this,arguments);var F=0;if(this.isRounded){var H=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100;F=Math.max(F,Math.min(u*H,A*H))}H=Math.max(F,Math.min(u,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));F=Math.max(F,Math.min(A,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));f.begin();f.moveTo(t,x+F);f.lineTo(t+u,x+F);f.end();f.stroke();f.begin();f.moveTo(t+H,x);f.lineTo(t+
-H,x+A);f.end();f.stroke()};mxCellRenderer.registerShape("internalStorage",La);mxUtils.extend(Ca,mxActor);Ca.prototype.dx=20;Ca.prototype.dy=20;Ca.prototype.isRoundable=function(){return!0};Ca.prototype.redrawPath=function(f,t,x,u,A){t=Math.max(0,Math.min(u,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));x=Math.max(0,Math.min(A,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",this.size));var F=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,
-mxConstants.LINE_ARCSIZE)/2;this.addPoints(f,[new mxPoint(0,0),new mxPoint(u,0),new mxPoint(u,x),new mxPoint(t,x),new mxPoint(t,A),new mxPoint(0,A)],this.isRounded,F,!0);f.end()};mxCellRenderer.registerShape("corner",Ca);mxUtils.extend(Ra,mxActor);Ra.prototype.redrawPath=function(f,t,x,u,A){f.moveTo(0,0);f.lineTo(0,A);f.end();f.moveTo(u,0);f.lineTo(u,A);f.end();f.moveTo(0,A/2);f.lineTo(u,A/2);f.end()};mxCellRenderer.registerShape("crossbar",Ra);mxUtils.extend(Ka,mxActor);Ka.prototype.dx=20;Ka.prototype.dy=
-20;Ka.prototype.isRoundable=function(){return!0};Ka.prototype.redrawPath=function(f,t,x,u,A){t=Math.max(0,Math.min(u,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));x=Math.max(0,Math.min(A,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",this.size));var F=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(f,[new mxPoint(0,0),new mxPoint(u,0),new mxPoint(u,x),new mxPoint((u+t)/2,x),new mxPoint((u+
-t)/2,A),new mxPoint((u-t)/2,A),new mxPoint((u-t)/2,x),new mxPoint(0,x)],this.isRounded,F,!0);f.end()};mxCellRenderer.registerShape("tee",Ka);mxUtils.extend(cb,mxActor);cb.prototype.arrowWidth=.3;cb.prototype.arrowSize=.2;cb.prototype.isRoundable=function(){return!0};cb.prototype.redrawPath=function(f,t,x,u,A){var F=A*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth))));t=u*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",this.arrowSize))));
-x=(A-F)/2;F=x+F;var H=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(f,[new mxPoint(0,x),new mxPoint(u-t,x),new mxPoint(u-t,0),new mxPoint(u,A/2),new mxPoint(u-t,A),new mxPoint(u-t,F),new mxPoint(0,F)],this.isRounded,H,!0);f.end()};mxCellRenderer.registerShape("singleArrow",cb);mxUtils.extend(Pa,mxActor);Pa.prototype.isRoundable=function(){return!0};Pa.prototype.redrawPath=function(f,t,x,u,A){var F=A*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,
-"arrowWidth",cb.prototype.arrowWidth))));t=u*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",cb.prototype.arrowSize))));x=(A-F)/2;F=x+F;var H=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(f,[new mxPoint(0,A/2),new mxPoint(t,0),new mxPoint(t,x),new mxPoint(u-t,x),new mxPoint(u-t,0),new mxPoint(u,A/2),new mxPoint(u-t,A),new mxPoint(u-t,F),new mxPoint(t,F),new mxPoint(t,A)],this.isRounded,H,!0);f.end()};mxCellRenderer.registerShape("doubleArrow",
-Pa);mxUtils.extend(Ba,mxActor);Ba.prototype.size=.1;Ba.prototype.fixedSize=20;Ba.prototype.redrawPath=function(f,t,x,u,A){t="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(u,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):u*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));f.moveTo(t,0);f.lineTo(u,0);f.quadTo(u-2*t,A/2,u,A);f.lineTo(t,A);f.quadTo(t-2*t,A/2,t,0);f.close();f.end()};mxCellRenderer.registerShape("dataStorage",Ba);
-mxUtils.extend(Ia,mxActor);Ia.prototype.redrawPath=function(f,t,x,u,A){f.moveTo(0,0);f.quadTo(u,0,u,A/2);f.quadTo(u,A,0,A);f.close();f.end()};mxCellRenderer.registerShape("or",Ia);mxUtils.extend(Ya,mxActor);Ya.prototype.redrawPath=function(f,t,x,u,A){f.moveTo(0,0);f.quadTo(u,0,u,A/2);f.quadTo(u,A,0,A);f.quadTo(u/2,A/2,0,0);f.close();f.end()};mxCellRenderer.registerShape("xor",Ya);mxUtils.extend(sa,mxActor);sa.prototype.size=20;sa.prototype.isRoundable=function(){return!0};sa.prototype.redrawPath=
-function(f,t,x,u,A){t=Math.min(u/2,Math.min(A,parseFloat(mxUtils.getValue(this.style,"size",this.size))));x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(f,[new mxPoint(t,0),new mxPoint(u-t,0),new mxPoint(u,.8*t),new mxPoint(u,A),new mxPoint(0,A),new mxPoint(0,.8*t)],this.isRounded,x,!0);f.end()};mxCellRenderer.registerShape("loopLimit",sa);mxUtils.extend(Aa,mxActor);Aa.prototype.size=.375;Aa.prototype.isRoundable=function(){return!0};Aa.prototype.redrawPath=
-function(f,t,x,u,A){t=A*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(f,[new mxPoint(0,0),new mxPoint(u,0),new mxPoint(u,A-t),new mxPoint(u/2,A),new mxPoint(0,A-t)],this.isRounded,x,!0);f.end()};mxCellRenderer.registerShape("offPageConnector",Aa);mxUtils.extend(Na,mxEllipse);Na.prototype.paintVertexShape=function(f,t,x,u,A){mxEllipse.prototype.paintVertexShape.apply(this,
-arguments);f.begin();f.moveTo(t+u/2,x+A);f.lineTo(t+u,x+A);f.end();f.stroke()};mxCellRenderer.registerShape("tapeData",Na);mxUtils.extend(bb,mxEllipse);bb.prototype.paintVertexShape=function(f,t,x,u,A){mxEllipse.prototype.paintVertexShape.apply(this,arguments);f.setShadow(!1);f.begin();f.moveTo(t,x+A/2);f.lineTo(t+u,x+A/2);f.end();f.stroke();f.begin();f.moveTo(t+u/2,x);f.lineTo(t+u/2,x+A);f.end();f.stroke()};mxCellRenderer.registerShape("orEllipse",bb);mxUtils.extend(z,mxEllipse);z.prototype.paintVertexShape=
-function(f,t,x,u,A){mxEllipse.prototype.paintVertexShape.apply(this,arguments);f.setShadow(!1);f.begin();f.moveTo(t+.145*u,x+.145*A);f.lineTo(t+.855*u,x+.855*A);f.end();f.stroke();f.begin();f.moveTo(t+.855*u,x+.145*A);f.lineTo(t+.145*u,x+.855*A);f.end();f.stroke()};mxCellRenderer.registerShape("sumEllipse",z);mxUtils.extend(P,mxRhombus);P.prototype.paintVertexShape=function(f,t,x,u,A){mxRhombus.prototype.paintVertexShape.apply(this,arguments);f.setShadow(!1);f.begin();f.moveTo(t,x+A/2);f.lineTo(t+
-u,x+A/2);f.end();f.stroke()};mxCellRenderer.registerShape("sortShape",P);mxUtils.extend(U,mxEllipse);U.prototype.paintVertexShape=function(f,t,x,u,A){f.begin();f.moveTo(t,x);f.lineTo(t+u,x);f.lineTo(t+u/2,x+A/2);f.close();f.fillAndStroke();f.begin();f.moveTo(t,x+A);f.lineTo(t+u,x+A);f.lineTo(t+u/2,x+A/2);f.close();f.fillAndStroke()};mxCellRenderer.registerShape("collate",U);mxUtils.extend(Y,mxEllipse);Y.prototype.paintVertexShape=function(f,t,x,u,A){var F=f.state.strokeWidth/2,H=10+2*F,da=x+A-H/2;
-f.begin();f.moveTo(t,x);f.lineTo(t,x+A);f.moveTo(t+F,da);f.lineTo(t+F+H,da-H/2);f.moveTo(t+F,da);f.lineTo(t+F+H,da+H/2);f.moveTo(t+F,da);f.lineTo(t+u-F,da);f.moveTo(t+u,x);f.lineTo(t+u,x+A);f.moveTo(t+u-F,da);f.lineTo(t+u-H-F,da-H/2);f.moveTo(t+u-F,da);f.lineTo(t+u-H-F,da+H/2);f.end();f.stroke()};mxCellRenderer.registerShape("dimension",Y);mxUtils.extend(ia,mxEllipse);ia.prototype.drawHidden=!0;ia.prototype.paintVertexShape=function(f,t,x,u,A){this.outline||f.setStrokeColor(null);if(null!=this.style){var F=
-f.pointerEvents,H=null!=this.fill&&this.fill!=mxConstants.NONE;"1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1")||H||(f.pointerEvents=!1);var da="1"==mxUtils.getValue(this.style,"top","1"),O="1"==mxUtils.getValue(this.style,"left","1"),ua="1"==mxUtils.getValue(this.style,"right","1"),na="1"==mxUtils.getValue(this.style,"bottom","1");this.drawHidden||H||this.outline||da||ua||na||O?(f.rect(t,x,u,A),f.fill(),f.pointerEvents=F,f.setStrokeColor(this.stroke),f.setLineCap("square"),
-f.begin(),f.moveTo(t,x),this.outline||da?f.lineTo(t+u,x):f.moveTo(t+u,x),this.outline||ua?f.lineTo(t+u,x+A):f.moveTo(t+u,x+A),this.outline||na?f.lineTo(t,x+A):f.moveTo(t,x+A),(this.outline||O)&&f.lineTo(t,x),f.end(),f.stroke(),f.setLineCap("flat")):f.setStrokeColor(this.stroke)}};mxCellRenderer.registerShape("partialRectangle",ia);mxUtils.extend(ma,mxEllipse);ma.prototype.paintVertexShape=function(f,t,x,u,A){mxEllipse.prototype.paintVertexShape.apply(this,arguments);f.setShadow(!1);f.begin();"vertical"==
-mxUtils.getValue(this.style,"line")?(f.moveTo(t+u/2,x),f.lineTo(t+u/2,x+A)):(f.moveTo(t,x+A/2),f.lineTo(t+u,x+A/2));f.end();f.stroke()};mxCellRenderer.registerShape("lineEllipse",ma);mxUtils.extend(qa,mxActor);qa.prototype.redrawPath=function(f,t,x,u,A){t=Math.min(u,A/2);f.moveTo(0,0);f.lineTo(u-t,0);f.quadTo(u,0,u,A/2);f.quadTo(u,A,u-t,A);f.lineTo(0,A);f.close();f.end()};mxCellRenderer.registerShape("delay",qa);mxUtils.extend(xa,mxActor);xa.prototype.size=.2;xa.prototype.redrawPath=function(f,t,
-x,u,A){t=Math.min(A,u);var F=Math.max(0,Math.min(t,t*parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=(A-F)/2;x=t+F;var H=(u-F)/2;F=H+F;f.moveTo(0,t);f.lineTo(H,t);f.lineTo(H,0);f.lineTo(F,0);f.lineTo(F,t);f.lineTo(u,t);f.lineTo(u,x);f.lineTo(F,x);f.lineTo(F,A);f.lineTo(H,A);f.lineTo(H,x);f.lineTo(0,x);f.close();f.end()};mxCellRenderer.registerShape("cross",xa);mxUtils.extend(va,mxActor);va.prototype.size=.25;va.prototype.redrawPath=function(f,t,x,u,A){t=Math.min(u,A/2);x=Math.min(u-
-t,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*u);f.moveTo(0,A/2);f.lineTo(x,0);f.lineTo(u-t,0);f.quadTo(u,0,u,A/2);f.quadTo(u,A,u-t,A);f.lineTo(x,A);f.close();f.end()};mxCellRenderer.registerShape("display",va);mxUtils.extend(wa,mxActor);wa.prototype.cst={RECT2:"mxgraph.basic.rect"};wa.prototype.customProperties=[{name:"rectStyle",dispName:"Style",type:"enum",defVal:"square",enumList:[{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},
-{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"size",dispName:"Corner Size",type:"float",defVal:10},{name:"absoluteCornerSize",dispName:"Abs. Corner Size",type:"bool",defVal:!0},{name:"indent",dispName:"Indent",type:"float",defVal:2},{name:"rectOutline",dispName:"Outline",type:"enum",defVal:"single",enumList:[{val:"single",dispName:"Single"},{val:"double",dispName:"Double"},{val:"frame",dispName:"Frame"}]},{name:"fillColor2",dispName:"Inside Fill Color",type:"color",
-defVal:"none"},{name:"gradientColor2",dispName:"Inside Gradient Color",type:"color",defVal:"none"},{name:"gradientDirection2",dispName:"Inside Gradient Direction",type:"enum",defVal:"south",enumList:[{val:"south",dispName:"South"},{val:"west",dispName:"West"},{val:"north",dispName:"North"},{val:"east",dispName:"East"}]},{name:"top",dispName:"Top Line",type:"bool",defVal:!0},{name:"right",dispName:"Right",type:"bool",defVal:!0},{name:"bottom",dispName:"Bottom Line",type:"bool",defVal:!0},{name:"left",
-dispName:"Left ",type:"bool",defVal:!0},{name:"topLeftStyle",dispName:"Top Left Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"topRightStyle",dispName:"Top Right Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},
-{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"bottomRightStyle",dispName:"Bottom Right Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"bottomLeftStyle",dispName:"Bottom Left Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},
-{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]}];wa.prototype.paintVertexShape=function(f,t,x,u,A){f.translate(t,x);this.strictDrawShape(f,0,0,u,A)};wa.prototype.strictDrawShape=function(f,t,x,u,A,F){var H=F&&F.rectStyle?F.rectStyle:mxUtils.getValue(this.style,"rectStyle",this.rectStyle),da=F&&F.absoluteCornerSize?F.absoluteCornerSize:mxUtils.getValue(this.style,"absoluteCornerSize",
-this.absoluteCornerSize),O=F&&F.size?F.size:Math.max(0,Math.min(u,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),ua=F&&F.rectOutline?F.rectOutline:mxUtils.getValue(this.style,"rectOutline",this.rectOutline),na=F&&F.indent?F.indent:Math.max(0,Math.min(u,parseFloat(mxUtils.getValue(this.style,"indent",this.indent)))),Ua=F&&F.dashed?F.dashed:mxUtils.getValue(this.style,"dashed",!1),hb=F&&F.dashPattern?F.dashPattern:mxUtils.getValue(this.style,"dashPattern",null),$a=F&&F.relIndent?F.relIndent:
-Math.max(0,Math.min(50,na)),Ea=F&&F.top?F.top:mxUtils.getValue(this.style,"top",!0),Ha=F&&F.right?F.right:mxUtils.getValue(this.style,"right",!0),Ja=F&&F.bottom?F.bottom:mxUtils.getValue(this.style,"bottom",!0),Ma=F&&F.left?F.left:mxUtils.getValue(this.style,"left",!0),Za=F&&F.topLeftStyle?F.topLeftStyle:mxUtils.getValue(this.style,"topLeftStyle","default"),db=F&&F.topRightStyle?F.topRightStyle:mxUtils.getValue(this.style,"topRightStyle","default"),eb=F&&F.bottomRightStyle?F.bottomRightStyle:mxUtils.getValue(this.style,
-"bottomRightStyle","default"),fb=F&&F.bottomLeftStyle?F.bottomLeftStyle:mxUtils.getValue(this.style,"bottomLeftStyle","default"),Ob=F&&F.fillColor?F.fillColor:mxUtils.getValue(this.style,"fillColor","#ffffff");F&&F.strokeColor||mxUtils.getValue(this.style,"strokeColor","#000000");var Pb=F&&F.strokeWidth?F.strokeWidth:mxUtils.getValue(this.style,"strokeWidth","1"),Lb=F&&F.fillColor2?F.fillColor2:mxUtils.getValue(this.style,"fillColor2","none"),Nb=F&&F.gradientColor2?F.gradientColor2:mxUtils.getValue(this.style,
-"gradientColor2","none"),Qb=F&&F.gradientDirection2?F.gradientDirection2:mxUtils.getValue(this.style,"gradientDirection2","south"),Rb=F&&F.opacity?F.opacity:mxUtils.getValue(this.style,"opacity","100"),Sb=Math.max(0,Math.min(50,O));F=wa.prototype;f.setDashed(Ua);hb&&""!=hb&&f.setDashPattern(hb);f.setStrokeWidth(Pb);O=Math.min(.5*A,.5*u,O);da||(O=Sb*Math.min(u,A)/100);O=Math.min(O,.5*Math.min(u,A));da||(na=Math.min($a*Math.min(u,A)/100));na=Math.min(na,.5*Math.min(u,A)-O);(Ea||Ha||Ja||Ma)&&"frame"!=
-ua&&(f.begin(),Ea?F.moveNW(f,t,x,u,A,H,Za,O,Ma):f.moveTo(0,0),Ea&&F.paintNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),Ha&&F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),Ja&&F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),Ma&&F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),f.close(),f.fill(),f.setShadow(!1),f.setFillColor(Lb),Ua=da=Rb,"none"==Lb&&(da=0),"none"==Nb&&(Ua=0),f.setGradient(Lb,Nb,0,0,u,A,Qb,da,Ua),f.begin(),Ea?F.moveNWInner(f,
-t,x,u,A,H,Za,O,na,Ea,Ma):f.moveTo(na,0),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),Ma&&Ja&&F.paintSWInner(f,t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),Ja&&Ha&&F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),Ha&&Ea&&F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),Ea&&Ma&&F.paintNWInner(f,t,x,u,A,H,Za,O,na),f.fill(),"none"==Ob&&(f.begin(),F.paintFolds(f,t,x,u,A,H,Za,db,eb,fb,O,Ea,Ha,Ja,Ma),f.stroke()));Ea||Ha||
-Ja||!Ma?Ea||Ha||!Ja||Ma?!Ea&&!Ha&&Ja&&Ma?"frame"!=ua?(f.begin(),F.moveSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),"double"==ua&&(F.moveNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),F.paintSWInner(f,t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja)),f.stroke()):(f.begin(),F.moveSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,
-t,x,u,A,H,Za,O,Ea),F.lineNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),F.paintSWInner(f,t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),f.close(),f.fillAndStroke()):Ea||!Ha||Ja||Ma?!Ea&&Ha&&!Ja&&Ma?"frame"!=ua?(f.begin(),F.moveSW(f,t,x,u,A,H,Za,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),"double"==ua&&(F.moveNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma)),f.stroke(),f.begin(),F.moveNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,
-t,x,u,A,H,eb,O,Ja),"double"==ua&&(F.moveSEInner(f,t,x,u,A,H,eb,O,na,Ja),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha)),f.stroke()):(f.begin(),F.moveSW(f,t,x,u,A,H,Za,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.lineNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),f.close(),f.fillAndStroke(),f.begin(),F.moveNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.lineSEInner(f,t,x,u,A,H,eb,O,na,Ja),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),f.close(),f.fillAndStroke()):
-!Ea&&Ha&&Ja&&!Ma?"frame"!=ua?(f.begin(),F.moveNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),"double"==ua&&(F.moveSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha)),f.stroke()):(f.begin(),F.moveNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),
-F.lineSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),f.close(),f.fillAndStroke()):!Ea&&Ha&&Ja&&Ma?"frame"!=ua?(f.begin(),F.moveNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),"double"==ua&&(F.moveNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma),F.paintLeftInner(f,
-t,x,u,A,H,fb,O,na,Ja,Ma),F.paintSWInner(f,t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha)),f.stroke()):(f.begin(),F.moveNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.lineNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),F.paintSWInner(f,
-t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),f.close(),f.fillAndStroke()):!Ea||Ha||Ja||Ma?Ea&&!Ha&&!Ja&&Ma?"frame"!=ua?(f.begin(),F.moveSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.paintNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),"double"==ua&&(F.moveNEInner(f,t,x,u,A,H,db,O,na,Ha),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),F.paintNWInner(f,t,x,u,A,H,Za,O,na),F.paintLeftInner(f,
-t,x,u,A,H,fb,O,na,Ja,Ma)),f.stroke()):(f.begin(),F.moveSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.paintNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.lineNEInner(f,t,x,u,A,H,db,O,na,Ha),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),F.paintNWInner(f,t,x,u,A,H,Za,O,na),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),f.close(),f.fillAndStroke()):Ea&&!Ha&&Ja&&!Ma?"frame"!=ua?(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),"double"==ua&&(F.moveNEInner(f,t,x,
-u,A,H,db,O,na,Ha),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea)),f.stroke(),f.begin(),F.moveSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),"double"==ua&&(F.moveSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja)),f.stroke()):(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.lineNEInner(f,t,x,u,A,H,db,O,na,Ha),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),f.close(),f.fillAndStroke(),f.begin(),F.moveSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,
-u,A,H,fb,O,Ma),F.lineSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),f.close(),f.fillAndStroke()):Ea&&!Ha&&Ja&&Ma?"frame"!=ua?(f.begin(),F.moveSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.paintNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),"double"==ua&&(F.moveNEInner(f,t,x,u,A,H,db,O,na,Ha),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),F.paintNWInner(f,t,x,u,A,H,Za,O,na),F.paintLeftInner(f,
-t,x,u,A,H,fb,O,na,Ja,Ma),F.paintSWInner(f,t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja)),f.stroke()):(f.begin(),F.moveSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.paintNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.lineNEInner(f,t,x,u,A,H,db,O,na,Ha),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),F.paintNWInner(f,t,x,u,A,H,Za,O,na),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),F.paintSWInner(f,
-t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),f.close(),f.fillAndStroke()):Ea&&Ha&&!Ja&&!Ma?"frame"!=ua?(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),"double"==ua&&(F.moveSEInner(f,t,x,u,A,H,eb,O,na,Ja),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea)),f.stroke()):(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,
-t,x,u,A,H,db,O,Ha),F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.lineSEInner(f,t,x,u,A,H,eb,O,na,Ja),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),f.close(),f.fillAndStroke()):Ea&&Ha&&!Ja&&Ma?"frame"!=ua?(f.begin(),F.moveSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.paintNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,
-Ja),"double"==ua&&(F.moveSEInner(f,t,x,u,A,H,eb,O,na,Ja),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),F.paintNWInner(f,t,x,u,A,H,Za,O,na),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma)),f.stroke()):(f.begin(),F.moveSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.paintNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.lineSEInner(f,t,x,u,A,H,
-eb,O,na,Ja),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),F.paintNWInner(f,t,x,u,A,H,Za,O,na),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),f.close(),f.fillAndStroke()):Ea&&Ha&&Ja&&!Ma?"frame"!=ua?(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),"double"==ua&&(F.moveSWInner(f,
-t,x,u,A,H,fb,O,na,Ma),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea)),f.stroke()):(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.lineSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintBottomInner(f,
-t,x,u,A,H,eb,O,na,Ha,Ja),F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),f.close(),f.fillAndStroke()):Ea&&Ha&&Ja&&Ma&&("frame"!=ua?(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.paintSW(f,t,x,u,A,H,fb,
-O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),f.close(),"double"==ua&&(F.moveSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintSWInner(f,t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),F.paintNWInner(f,t,x,u,A,H,Za,O,na),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),f.close()),f.stroke()):(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintNW(f,
-t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),f.close(),F.moveSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintSWInner(f,t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,
-t,x,u,A,H,Za,O,na,Ma,Ea),F.paintNWInner(f,t,x,u,A,H,Za,O,na),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),f.close(),f.fillAndStroke())):"frame"!=ua?(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),"double"==ua&&(F.moveNEInner(f,t,x,u,A,H,db,O,na,Ha),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea)),f.stroke()):(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.lineNEInner(f,t,x,u,A,H,db,O,na,Ha),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),f.close(),f.fillAndStroke()):
-"frame"!=ua?(f.begin(),F.moveNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),"double"==ua&&(F.moveSEInner(f,t,x,u,A,H,eb,O,na,Ja),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha)),f.stroke()):(f.begin(),F.moveNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.lineSEInner(f,t,x,u,A,H,eb,O,na,Ja),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),f.close(),f.fillAndStroke()):"frame"!=ua?(f.begin(),F.moveSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),"double"==ua&&(F.moveSWInner(f,
-t,x,u,A,H,fb,O,na,Ma),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja)),f.stroke()):(f.begin(),F.moveSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.lineSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),f.close(),f.fillAndStroke()):"frame"!=ua?(f.begin(),F.moveSW(f,t,x,u,A,H,Za,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),"double"==ua&&(F.moveNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma)),f.stroke()):(f.begin(),F.moveSW(f,t,x,u,A,H,
-Za,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.lineNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),f.close(),f.fillAndStroke());f.begin();F.paintFolds(f,t,x,u,A,H,Za,db,eb,fb,O,Ea,Ha,Ja,Ma);f.stroke()};wa.prototype.moveNW=function(f,t,x,u,A,F,H,da,O){"square"==H||"default"==H&&"square"==F||!O?f.moveTo(0,0):f.moveTo(0,da)};wa.prototype.moveNE=function(f,t,x,u,A,F,H,da,O){"square"==H||"default"==H&&"square"==F||!O?f.moveTo(u,0):f.moveTo(u-da,0)};wa.prototype.moveSE=function(f,
-t,x,u,A,F,H,da,O){"square"==H||"default"==H&&"square"==F||!O?f.moveTo(u,A):f.moveTo(u,A-da)};wa.prototype.moveSW=function(f,t,x,u,A,F,H,da,O){"square"==H||"default"==H&&"square"==F||!O?f.moveTo(0,A):f.moveTo(da,A)};wa.prototype.paintNW=function(f,t,x,u,A,F,H,da,O){if(O)if("rounded"==H||"default"==H&&"rounded"==F||"invRound"==H||"default"==H&&"invRound"==F){t=0;if("rounded"==H||"default"==H&&"rounded"==F)t=1;f.arcTo(da,da,0,0,t,da,0)}else("snip"==H||"default"==H&&"snip"==F||"fold"==H||"default"==H&&
-"fold"==F)&&f.lineTo(da,0);else f.lineTo(0,0)};wa.prototype.paintTop=function(f,t,x,u,A,F,H,da,O){"square"==H||"default"==H&&"square"==F||!O?f.lineTo(u,0):f.lineTo(u-da,0)};wa.prototype.paintNE=function(f,t,x,u,A,F,H,da,O){if(O)if("rounded"==H||"default"==H&&"rounded"==F||"invRound"==H||"default"==H&&"invRound"==F){t=0;if("rounded"==H||"default"==H&&"rounded"==F)t=1;f.arcTo(da,da,0,0,t,u,da)}else("snip"==H||"default"==H&&"snip"==F||"fold"==H||"default"==H&&"fold"==F)&&f.lineTo(u,da);else f.lineTo(u,
-0)};wa.prototype.paintRight=function(f,t,x,u,A,F,H,da,O){"square"==H||"default"==H&&"square"==F||!O?f.lineTo(u,A):f.lineTo(u,A-da)};wa.prototype.paintLeft=function(f,t,x,u,A,F,H,da,O){"square"==H||"default"==H&&"square"==F||!O?f.lineTo(0,0):f.lineTo(0,da)};wa.prototype.paintSE=function(f,t,x,u,A,F,H,da,O){if(O)if("rounded"==H||"default"==H&&"rounded"==F||"invRound"==H||"default"==H&&"invRound"==F){t=0;if("rounded"==H||"default"==H&&"rounded"==F)t=1;f.arcTo(da,da,0,0,t,u-da,A)}else("snip"==H||"default"==
-H&&"snip"==F||"fold"==H||"default"==H&&"fold"==F)&&f.lineTo(u-da,A);else f.lineTo(u,A)};wa.prototype.paintBottom=function(f,t,x,u,A,F,H,da,O){"square"==H||"default"==H&&"square"==F||!O?f.lineTo(0,A):f.lineTo(da,A)};wa.prototype.paintSW=function(f,t,x,u,A,F,H,da,O){if(O)if("rounded"==H||"default"==H&&"rounded"==F||"invRound"==H||"default"==H&&"invRound"==F){t=0;if("rounded"==H||"default"==H&&"rounded"==F)t=1;f.arcTo(da,da,0,0,t,0,A-da)}else("snip"==H||"default"==H&&"snip"==F||"fold"==H||"default"==
-H&&"fold"==F)&&f.lineTo(0,A-da);else f.lineTo(0,A)};wa.prototype.paintNWInner=function(f,t,x,u,A,F,H,da,O){if("rounded"==H||"default"==H&&"rounded"==F)f.arcTo(da-.5*O,da-.5*O,0,0,0,O,.5*O+da);else if("invRound"==H||"default"==H&&"invRound"==F)f.arcTo(da+O,da+O,0,0,1,O,O+da);else if("snip"==H||"default"==H&&"snip"==F)f.lineTo(O,.5*O+da);else if("fold"==H||"default"==H&&"fold"==F)f.lineTo(O+da,O+da),f.lineTo(O,O+da)};wa.prototype.paintTopInner=function(f,t,x,u,A,F,H,da,O,ua,na){ua||na?!ua&&na?f.lineTo(0,
-O):ua&&!na?f.lineTo(O,0):ua?"square"==H||"default"==H&&"square"==F?f.lineTo(O,O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.lineTo(da+.5*O,O):f.lineTo(da+O,O):f.lineTo(0,O):f.lineTo(0,0)};wa.prototype.paintNEInner=function(f,t,x,u,A,F,H,da,O){if("rounded"==H||"default"==H&&"rounded"==F)f.arcTo(da-.5*O,da-.5*O,0,0,0,u-da-.5*O,O);else if("invRound"==H||"default"==H&&"invRound"==F)f.arcTo(da+O,da+O,0,0,1,u-da-O,O);else if("snip"==H||"default"==H&&"snip"==F)f.lineTo(u-
-da-.5*O,O);else if("fold"==H||"default"==H&&"fold"==F)f.lineTo(u-da-O,da+O),f.lineTo(u-da-O,O)};wa.prototype.paintRightInner=function(f,t,x,u,A,F,H,da,O,ua,na){ua||na?!ua&&na?f.lineTo(u-O,0):ua&&!na?f.lineTo(u,O):ua?"square"==H||"default"==H&&"square"==F?f.lineTo(u-O,O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.lineTo(u-O,da+.5*O):f.lineTo(u-O,da+O):f.lineTo(u-O,0):f.lineTo(u,0)};wa.prototype.paintLeftInner=function(f,t,x,u,A,F,H,da,O,ua,na){ua||na?!ua&&na?f.lineTo(O,
-A):ua&&!na?f.lineTo(0,A-O):ua?"square"==H||"default"==H&&"square"==F?f.lineTo(O,A-O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.lineTo(O,A-da-.5*O):f.lineTo(O,A-da-O):f.lineTo(O,A):f.lineTo(0,A)};wa.prototype.paintSEInner=function(f,t,x,u,A,F,H,da,O){if("rounded"==H||"default"==H&&"rounded"==F)f.arcTo(da-.5*O,da-.5*O,0,0,0,u-O,A-da-.5*O);else if("invRound"==H||"default"==H&&"invRound"==F)f.arcTo(da+O,da+O,0,0,1,u-O,A-da-O);else if("snip"==H||"default"==H&&"snip"==
-F)f.lineTo(u-O,A-da-.5*O);else if("fold"==H||"default"==H&&"fold"==F)f.lineTo(u-da-O,A-da-O),f.lineTo(u-O,A-da-O)};wa.prototype.paintBottomInner=function(f,t,x,u,A,F,H,da,O,ua,na){ua||na?!ua&&na?f.lineTo(u,A-O):ua&&!na?f.lineTo(u-O,A):"square"==H||"default"==H&&"square"==F||!ua?f.lineTo(u-O,A-O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.lineTo(u-da-.5*O,A-O):f.lineTo(u-da-O,A-O):f.lineTo(u,A)};wa.prototype.paintSWInner=function(f,t,x,u,A,F,H,da,O,ua){if(!ua)f.lineTo(O,
-A);else if("square"==H||"default"==H&&"square"==F)f.lineTo(O,A-O);else if("rounded"==H||"default"==H&&"rounded"==F)f.arcTo(da-.5*O,da-.5*O,0,0,0,da+.5*O,A-O);else if("invRound"==H||"default"==H&&"invRound"==F)f.arcTo(da+O,da+O,0,0,1,da+O,A-O);else if("snip"==H||"default"==H&&"snip"==F)f.lineTo(da+.5*O,A-O);else if("fold"==H||"default"==H&&"fold"==F)f.lineTo(O+da,A-da-O),f.lineTo(O+da,A-O)};wa.prototype.moveSWInner=function(f,t,x,u,A,F,H,da,O,ua){ua?"square"==H||"default"==H&&"square"==F?f.moveTo(O,
-A-O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.moveTo(O,A-da-.5*O):("invRound"==H||"default"==H&&"invRound"==F||"fold"==H||"default"==H&&"fold"==F)&&f.moveTo(O,A-da-O):f.moveTo(0,A-O)};wa.prototype.lineSWInner=function(f,t,x,u,A,F,H,da,O,ua){ua?"square"==H||"default"==H&&"square"==F?f.lineTo(O,A-O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.lineTo(O,A-da-.5*O):("invRound"==H||"default"==H&&"invRound"==F||"fold"==H||"default"==
-H&&"fold"==F)&&f.lineTo(O,A-da-O):f.lineTo(0,A-O)};wa.prototype.moveSEInner=function(f,t,x,u,A,F,H,da,O,ua){ua?"square"==H||"default"==H&&"square"==F?f.moveTo(u-O,A-O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.moveTo(u-O,A-da-.5*O):("invRound"==H||"default"==H&&"invRound"==F||"fold"==H||"default"==H&&"fold"==F)&&f.moveTo(u-O,A-da-O):f.moveTo(u-O,A)};wa.prototype.lineSEInner=function(f,t,x,u,A,F,H,da,O,ua){ua?"square"==H||"default"==H&&"square"==F?f.lineTo(u-O,
-A-O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.lineTo(u-O,A-da-.5*O):("invRound"==H||"default"==H&&"invRound"==F||"fold"==H||"default"==H&&"fold"==F)&&f.lineTo(u-O,A-da-O):f.lineTo(u-O,A)};wa.prototype.moveNEInner=function(f,t,x,u,A,F,H,da,O,ua){ua?"square"==H||"default"==H&&"square"==F||ua?f.moveTo(u-O,O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.moveTo(u-O,da+.5*O):("invRound"==H||"default"==H&&"invRound"==F||"fold"==H||"default"==
-H&&"fold"==F)&&f.moveTo(u-O,da+O):f.moveTo(u,O)};wa.prototype.lineNEInner=function(f,t,x,u,A,F,H,da,O,ua){ua?"square"==H||"default"==H&&"square"==F||ua?f.lineTo(u-O,O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.lineTo(u-O,da+.5*O):("invRound"==H||"default"==H&&"invRound"==F||"fold"==H||"default"==H&&"fold"==F)&&f.lineTo(u-O,da+O):f.lineTo(u,O)};wa.prototype.moveNWInner=function(f,t,x,u,A,F,H,da,O,ua,na){ua||na?!ua&&na?f.moveTo(O,0):ua&&!na?f.moveTo(0,O):"square"==
-H||"default"==H&&"square"==F?f.moveTo(O,O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.moveTo(O,da+.5*O):("invRound"==H||"default"==H&&"invRound"==F||"fold"==H||"default"==H&&"fold"==F)&&f.moveTo(O,da+O):f.moveTo(0,0)};wa.prototype.lineNWInner=function(f,t,x,u,A,F,H,da,O,ua,na){ua||na?!ua&&na?f.lineTo(O,0):ua&&!na?f.lineTo(0,O):"square"==H||"default"==H&&"square"==F?f.lineTo(O,O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.lineTo(O,
-da+.5*O):("invRound"==H||"default"==H&&"invRound"==F||"fold"==H||"default"==H&&"fold"==F)&&f.lineTo(O,da+O):f.lineTo(0,0)};wa.prototype.paintFolds=function(f,t,x,u,A,F,H,da,O,ua,na,Ua,hb,$a,Ea){if("fold"==F||"fold"==H||"fold"==da||"fold"==O||"fold"==ua)("fold"==H||"default"==H&&"fold"==F)&&Ua&&Ea&&(f.moveTo(0,na),f.lineTo(na,na),f.lineTo(na,0)),("fold"==da||"default"==da&&"fold"==F)&&Ua&&hb&&(f.moveTo(u-na,0),f.lineTo(u-na,na),f.lineTo(u,na)),("fold"==O||"default"==O&&"fold"==F)&&$a&&hb&&(f.moveTo(u-
-na,A),f.lineTo(u-na,A-na),f.lineTo(u,A-na)),("fold"==ua||"default"==ua&&"fold"==F)&&$a&&Ea&&(f.moveTo(0,A-na),f.lineTo(na,A-na),f.lineTo(na,A))};mxCellRenderer.registerShape(wa.prototype.cst.RECT2,wa);wa.prototype.constraints=null;mxUtils.extend(Qa,mxConnector);Qa.prototype.origPaintEdgeShape=Qa.prototype.paintEdgeShape;Qa.prototype.paintEdgeShape=function(f,t){for(var x=[],u=0;u<t.length;u++)x.push(mxUtils.clone(t[u]));u=f.state.dashed;var A=f.state.fixDash;Qa.prototype.origPaintEdgeShape.apply(this,
-[f,x]);3<=f.state.strokeWidth&&(x=mxUtils.getValue(this.style,"fillColor",null),null!=x&&(f.setStrokeColor(x),f.setStrokeWidth(f.state.strokeWidth-2),f.setDashed(u,A),Qa.prototype.origPaintEdgeShape.apply(this,[f,t])))};mxCellRenderer.registerShape("filledEdge",Qa);mxUtils.extend(Wa,mxConnector);Wa.prototype.defaultWidth=4;Wa.prototype.getEdgeWidth=function(){return Math.max(0,mxUtils.getNumber(this.style,"width",this.defaultWidth))};Wa.prototype.getFlowAnimationPath=function(){return mxShape.prototype.getFlowAnimationPath.call(this,
-2)};Wa.prototype.origPaintEdgeShape=Wa.prototype.paintEdgeShape;Wa.prototype.paintEdgeShape=function(f,t){for(var x=[],u=0;u<t.length;u++)x.push(mxUtils.clone(t[u]));u=f.state.dashed;var A=f.state.fixDash,F=this.getEdgeWidth();f.setStrokeWidth(F+2*this.strokewidth);f.setDashed(!1);Wa.prototype.origPaintEdgeShape.apply(this,[f,x]);x=mxUtils.getValue(this.style,"fillColor",null);null!=x&&(f.setStrokeWidth(F),f.setStrokeColor(x),f.setDashed(u,A),Wa.prototype.origPaintEdgeShape.apply(this,[f,t]))};mxCellRenderer.registerShape("pipe",
-Wa);mxUtils.extend(ab,mxRectangleShape);ab.prototype.size=10;ab.prototype.isRoundable=function(){return!0};ab.prototype.paintVertexShape=function(f,t,x,u,A){f.translate(t,x);t=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,null);null!=t&&t!=mxConstants.NONE&&(f.setStrokeColor("none"),f.begin(),f.rect(0,0,u,A),f.fillAndStroke(),f.setStrokeColor(this.stroke));var F=Math.max(5,parseFloat(mxUtils.getValue(this.style,"size",this.size)));t=A/2;x=this.strokewidth;x=this.isRounded?x/2:x;A-=x;F=Math.max(1,
-Math.round(u/F)-1);var H=u/(F+1),da=H/2;f.begin();f.moveTo(0,t);if(this.isRounded){f.curveTo(.4*da,t-.4*(t-x),.6*da,x,da,x);for(var O=0;O<F;O++){var ua=da+O*H,na=ua+H,Ua=0==O%2?A:x;f.curveTo(ua+.4*H,0==O%2?x:A,na-.4*H,Ua,na,Ua)}A=0==F%2?x:A;f.curveTo(da+F*H+.4*da,A,u-.4*da,t-(A==x?1:-1)*(t-x)*.4,u,t)}else{f.lineTo(da,x);for(O=0;O<F;O++)na=da+(O+1)*H,Ua=0==O%2?A:x,f.lineTo(na,Ua);f.lineTo(u,t)}f.stroke()};mxCellRenderer.registerShape("zigzag",ab);"undefined"!==typeof StyleFormatPanel&&function(){var f=
-StyleFormatPanel.prototype.getCustomColors;StyleFormatPanel.prototype.getCustomColors=function(){var t=this.editorUi.getSelectionState(),x=f.apply(this,arguments);"umlFrame"==t.style.shape&&x.push({title:mxResources.get("laneColor"),key:"swimlaneFillColor",defaultValue:"default"});return x}}();mxMarker.addMarker("dash",function(f,t,x,u,A,F,H,da,O,ua){var na=A*(H+O+1),Ua=F*(H+O+1);return function(){f.begin();f.moveTo(u.x-na/2-Ua/2,u.y-Ua/2+na/2);f.lineTo(u.x+Ua/2-3*na/2,u.y-3*Ua/2-na/2);f.stroke()}});
-mxMarker.addMarker("box",function(f,t,x,u,A,F,H,da,O,ua){var na=A*(H+O+1),Ua=F*(H+O+1),hb=u.x+na/2,$a=u.y+Ua/2;u.x-=na;u.y-=Ua;return function(){f.begin();f.moveTo(hb-na/2-Ua/2,$a-Ua/2+na/2);f.lineTo(hb-na/2+Ua/2,$a-Ua/2-na/2);f.lineTo(hb+Ua/2-3*na/2,$a-3*Ua/2-na/2);f.lineTo(hb-Ua/2-3*na/2,$a-3*Ua/2+na/2);f.close();ua?f.fillAndStroke():f.stroke()}});mxMarker.addMarker("cross",function(f,t,x,u,A,F,H,da,O,ua){var na=A*(H+O+1),Ua=F*(H+O+1);return function(){f.begin();f.moveTo(u.x-na/2-Ua/2,u.y-Ua/2+
-na/2);f.lineTo(u.x+Ua/2-3*na/2,u.y-3*Ua/2-na/2);f.moveTo(u.x-na/2+Ua/2,u.y-Ua/2-na/2);f.lineTo(u.x-Ua/2-3*na/2,u.y-3*Ua/2+na/2);f.stroke()}});mxMarker.addMarker("circle",ib);mxMarker.addMarker("circlePlus",function(f,t,x,u,A,F,H,da,O,ua){var na=u.clone(),Ua=ib.apply(this,arguments),hb=A*(H+2*O),$a=F*(H+2*O);return function(){Ua.apply(this,arguments);f.begin();f.moveTo(na.x-A*O,na.y-F*O);f.lineTo(na.x-2*hb+A*O,na.y-2*$a+F*O);f.moveTo(na.x-hb-$a+F*O,na.y-$a+hb-A*O);f.lineTo(na.x+$a-hb-F*O,na.y-$a-hb+
-A*O);f.stroke()}});mxMarker.addMarker("halfCircle",function(f,t,x,u,A,F,H,da,O,ua){var na=A*(H+O+1),Ua=F*(H+O+1),hb=u.clone();u.x-=na;u.y-=Ua;return function(){f.begin();f.moveTo(hb.x-Ua,hb.y+na);f.quadTo(u.x-Ua,u.y+na,u.x,u.y);f.quadTo(u.x+Ua,u.y-na,hb.x+Ua,hb.y-na);f.stroke()}});mxMarker.addMarker("async",function(f,t,x,u,A,F,H,da,O,ua){t=A*O*1.118;x=F*O*1.118;A*=H+O;F*=H+O;var na=u.clone();na.x-=t;na.y-=x;u.x+=-A-t;u.y+=-F-x;return function(){f.begin();f.moveTo(na.x,na.y);da?f.lineTo(na.x-A-F/
-2,na.y-F+A/2):f.lineTo(na.x+F/2-A,na.y-F-A/2);f.lineTo(na.x-A,na.y-F);f.close();ua?f.fillAndStroke():f.stroke()}});mxMarker.addMarker("openAsync",function(f){f=null!=f?f:2;return function(t,x,u,A,F,H,da,O,ua,na){F*=da+ua;H*=da+ua;var Ua=A.clone();return function(){t.begin();t.moveTo(Ua.x,Ua.y);O?t.lineTo(Ua.x-F-H/f,Ua.y-H+F/f):t.lineTo(Ua.x+H/f-F,Ua.y-H-F/f);t.stroke()}}}(2));mxUtils.extend(gb,mxRectangleShape);gb.prototype.arcStartY=25;gb.prototype.arcMidY=-25;gb.prototype.arcEndY=25;gb.prototype.paintForeground=
-function(f,t,x,u,A){mxRectangleShape.prototype.paintForeground.apply(this,arguments);if(null!=this.state){var F=this.state.view.graph;if(null==F.cellEditor||F.cellEditor.editingCell!=this.state.cell)if(F=F.convertValueToString(this.state.cell),null!=F&&0!=F.length){var H=parseFloat(mxUtils.getValue(this.style,"arcStartY",this.arcStartY)),da=parseFloat(mxUtils.getValue(this.style,"arcMidY",this.arcMidY)),O=parseFloat(mxUtils.getValue(this.style,"arcEndY",this.arcEndY)),ua=mxUtils.getValue(this.style,
-"curveType","round");if(null!=f.root&&"function"===typeof f.getBaseUrl){null!=this._curvedTextGroup&&null!=this._curvedTextGroup.parentNode&&this._curvedTextGroup.parentNode.removeChild(this._curvedTextGroup);this._curvedTextGroup=null;f.translate(t,x);var na=f.state,Ua=parseFloat(mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE)),hb=Ua/2,$a=(H+O)/2,Ea=Math.max(Math.abs(gb.prototype.arcMidY),Math.min($a,A-$a));da=Math.max(-Ea,Math.min(Ea,da));var Ha=$a+da;da=Math.min(H,
-O,Ha);Ea=Math.max(H,O,Ha);$a=Ea-da;var Ja=mxUtils.getValue(this.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE);this._curveYOffset=$a=Ja==mxConstants.ALIGN_TOP?hb-da:Ja==mxConstants.ALIGN_BOTTOM?A-hb-Ea:(A-$a)/2-da;Ja=u-hb;da=(hb+na.dx)*na.scale;H=(H+$a+na.dy)*na.scale;Ea=((hb+Ja)/2+na.dx)*na.scale;Ha=(Ha+$a+na.dy)*na.scale;hb=(Ja+na.dx)*na.scale;O=(O+$a+na.dy)*na.scale;"round"==ua?(Ja=Math.sqrt((hb-da)*(hb-da)+(O-H)*(O-H)),ua=(da+hb)/2,$a=(H+O)/2,ua=Math.sqrt((Ea-ua)*(Ea-ua)+(Ha-
-$a)*(Ha-$a)),.5>ua?(ua="M "+f.format(da)+" "+f.format(H)+" L "+f.format(hb)+" "+f.format(O),da=Ja):(Ja/=2,$a=Ja*Ja/(2*ua)+ua/2,Ha=0<(hb-da)*(Ha-H)-(O-H)*(Ea-da)?0:1,Ea=ua>Ja?1:0,ua="M "+f.format(da)+" "+f.format(H)+" A "+f.format($a)+" "+f.format($a)+" 0 "+Ea+" "+Ha+" "+f.format(hb)+" "+f.format(O),da=2*Math.asin(Math.min(1,Ja/$a)),Ea&&(da=2*Math.PI-da),da*=$a)):(ua="M "+f.format(da)+" "+f.format(H)+" Q "+f.format(Ea)+" "+f.format(Ha)+" "+f.format(hb)+" "+f.format(O),$a=Ea-da,Ja=Ha-H,Ea=hb-Ea,Ha=
-O-Ha,da=hb-da,H=O-H,da=(Math.sqrt($a*$a+Ja*Ja)+Math.sqrt(Ea*Ea+Ha*Ha)+Math.sqrt(da*da+H*H))/2);O=(f.idPrefix||"")+"ctp-"+mxObjectIdentity.get(this);Ea=(H=!mxClient.IS_CHROMEAPP&&f.root.ownerDocument==document)?f.getBaseUrl().replace(/([\(\)])/g,"\\$1"):"";hb=f.createElement("g");Ha=na.transform||"";0<Ha.length&&hb.setAttribute("transform",Ha);1>na.alpha&&hb.setAttribute("opacity",na.alpha);Ha=f.createElement("defs");$a=f.createElement("path");$a.setAttribute("id",O);$a.setAttribute("d",ua);Ha.appendChild($a);
-hb.appendChild(Ha);ua=f.createElement("text");$a=mxUtils.getValue(this.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY);Ja=mxUtils.getValue(this.style,mxConstants.STYLE_FONTCOLOR,"#000000");Ha=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSTYLE,0);ua.setAttribute("font-size",Ua*na.scale+"px");ua.setAttribute("font-family",mxUtils.parseCssFontFamily($a));ua.setAttribute("fill",Ja);(Ha&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&ua.setAttribute("font-weight","bold");(Ha&mxConstants.FONT_ITALIC)==
-mxConstants.FONT_ITALIC&&ua.setAttribute("font-style","italic");na=[];(Ha&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&na.push("underline");(Ha&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&na.push("line-through");0<na.length&&ua.setAttribute("text-decoration",na.join(" "));Ua=mxUtils.getValue(this.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER);Ha="middle";na="50%";Ua==mxConstants.ALIGN_LEFT?(Ha="start",na="0%"):Ua==mxConstants.ALIGN_RIGHT&&(Ha="end",na="100%");
-ua.setAttribute("text-anchor",Ha);ua.setAttribute("dominant-baseline","central");Ua=f.createElement("textPath");Ua.setAttribute("startOffset",na);na=(H?Ea:"")+"#"+O;Ua.setAttribute("href",na);H&&Ua.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",na);Ua.setAttribute("textLength",da);Ua.setAttribute("lengthAdjust","spacing");mxUtils.write(Ua,F);ua.appendChild(Ua);hb.appendChild(ua);f.root.appendChild(hb);this._curvedTextGroup=hb}else f.text(t+u/2,x+A/2,0,0,F,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,
-!1,"",null,!1,0)}}};gb.prototype.destroy=function(){null!=this._curvedTextGroup&&null!=this._curvedTextGroup.parentNode&&this._curvedTextGroup.parentNode.removeChild(this._curvedTextGroup);this._curvedTextGroup=null;mxRectangleShape.prototype.destroy.apply(this,arguments)};mxCellRenderer.registerShape("curvedText",gb);if("undefined"!==typeof mxVertexHandler){var vb=function(f,t,x){return ob(f,["width"],t,function(u,A,F,H,da){da=f.shape.getEdgeWidth()*f.view.scale+x;return new mxPoint(H.x+A*u/4+F*
-da/2,H.y+F*u/4-A*da/2)},function(u,A,F,H,da,O){u=Math.sqrt(mxUtils.ptSegDistSq(H.x,H.y,da.x,da.y,O.x,O.y));f.style.width=Math.round(Math.round(2*u)/f.view.scale-x)})},ob=function(f,t,x,u,A){return nb(f,t,function(F){var H=f.absolutePoints;if(null!=H&&0<H.length){var da=H.length-1;F=f.view.translate;var O=f.view.scale,ua=x?H[0]:H[da];H=x?H[1]:H[da-1];da=H.x-ua.x;var na=H.y-ua.y,Ua=Math.sqrt(da*da+na*na);ua=u.call(this,Ua,da/Ua,na/Ua,ua,H);return new mxPoint(ua.x/O-F.x,ua.y/O-F.y)}return null},function(F,
-H,da){var O=f.absolutePoints,ua=O.length-1;F=f.view.translate;var na=f.view.scale,Ua=x?O[0]:O[ua];O=x?O[1]:O[ua-1];ua=O.x-Ua.x;var hb=O.y-Ua.y,$a=Math.sqrt(ua*ua+hb*hb);H.x=(H.x+F.x)*na;H.y=(H.y+F.y)*na;A.call(this,$a,ua/$a,hb/$a,Ua,O,H,da)})},tb=function(f,t){return function(x){return[ob(x,["startWidth"],!0,function(u,A,F,H,da){da=mxUtils.getNumber(x.style,"startWidth",f)*x.view.scale+t;return new mxPoint(H.x+A*u/4+F*da/2,H.y+F*u/4-A*da/2)},function(u,A,F,H,da,O){u=Math.sqrt(mxUtils.ptSegDistSq(H.x,
-H.y,da.x,da.y,O.x,O.y));x.style.startWidth=Math.round(2*u)/x.view.scale-t})]}},xb=function(f){return function(t){return[nb(t,["arrowWidth","arrowSize"],function(x){var u=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"arrowWidth",cb.prototype.arrowWidth))),A=Math.max(0,Math.min(f,mxUtils.getValue(this.state.style,"arrowSize",cb.prototype.arrowSize)));return new mxPoint(x.x+(1-A)*x.width,x.y+(1-u)*x.height/2)},function(x,u){this.state.style.arrowWidth=Math.max(0,Math.min(1,Math.abs(x.y+x.height/
-2-u.y)/x.height*2));this.state.style.arrowSize=Math.max(0,Math.min(f,(x.x+x.width-u.x)/x.width))})]}},Gb=function(f){return function(t){return[nb(t,["size"],function(x){var u=Math.max(0,Math.min(.5*x.height,parseFloat(mxUtils.getValue(this.state.style,"size",f))));return new mxPoint(x.x,x.y+u)},function(x,u){this.state.style.size=Math.max(0,u.y-x.y)},!0)]}},yb=function(f,t,x){return function(u){var A=[nb(u,["size"],function(F){var H=Math.max(0,Math.min(F.width,Math.min(F.height,parseFloat(mxUtils.getValue(this.state.style,
-"size",t)))))*f;return new mxPoint(F.x+H,F.y+H)},function(F,H){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(F.width,H.x-F.x),Math.min(F.height,H.y-F.y)))/f)},!1)];x&&mxUtils.getValue(u.style,mxConstants.STYLE_ROUNDED,!1)&&A.push(Ab(u));return A}},Db=function(f,t,x,u,A){x=null!=x?x:.5;return function(F){var H=[nb(F,["size"],function(da){var O=null!=A?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,ua=parseFloat(mxUtils.getValue(this.state.style,"size",O?A:f));return new mxPoint(da.x+
-Math.max(0,Math.min(.5*da.width,ua*(O?1:da.width))),da.getCenterY())},function(da,O,ua){da=null!=A&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?O.x-da.x:Math.max(0,Math.min(x,(O.x-da.x)/da.width));this.state.style.size=da},!1,u)];t&&mxUtils.getValue(F.style,mxConstants.STYLE_ROUNDED,!1)&&H.push(Ab(F));return H}},Hb=function(f,t,x){f=null!=f?f:.5;return function(u){var A=[nb(u,["size"],function(F){var H=null!=x?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,da=Math.max(0,
-parseFloat(mxUtils.getValue(this.state.style,"size",H?x:t)));return new mxPoint(F.x+Math.min(.75*F.width*f,da*(H?.75:.75*F.width)),F.y+F.height/4)},function(F,H){F=null!=x&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?H.x-F.x:Math.max(0,Math.min(f,(H.x-F.x)/F.width*.75));this.state.style.size=F},!1,!0)];mxUtils.getValue(u.style,mxConstants.STYLE_ROUNDED,!1)&&A.push(Ab(u));return A}},Eb=function(){return function(f){var t=[];mxUtils.getValue(f.style,mxConstants.STYLE_ROUNDED,!1)&&t.push(Ab(f));
-return t}},Ab=function(f,t){return nb(f,[mxConstants.STYLE_ARCSIZE],function(x){var u=null!=t?t:x.height/8;if("1"==mxUtils.getValue(f.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)){var A=mxUtils.getValue(f.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;return new mxPoint(x.x+x.width-Math.min(x.width/2,A),x.y+u)}A=Math.max(0,parseFloat(mxUtils.getValue(f.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)))/100;return new mxPoint(x.x+x.width-Math.min(Math.max(x.width/
-2,x.height/2),Math.min(x.width,x.height)*A),x.y+u)},function(x,u,A){"1"==mxUtils.getValue(f.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)?this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.max(0,Math.min(x.width,2*(x.x+x.width-u.x)))):this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.min(50,Math.max(0,100*(x.width-u.x+x.x)/Math.min(x.width,x.height))))})},nb=function(f,t,x,u,A,F,H){var da=new mxHandle(f,null,mxVertexHandler.prototype.secondaryHandleImage);da.execute=function(ua){for(var na=
-0;na<t.length;na++)this.copyStyle(t[na]);H&&H(ua)};da.getPosition=x;da.setPosition=u;da.ignoreGrid=null!=A?A:!0;if(F){var O=da.positionChanged;da.positionChanged=function(){O.apply(this,arguments);f.view.invalidate(this.state.cell);f.view.validate()}}return da},Cb={link:function(f){return[vb(f,!0,10),vb(f,!1,10)]},pipe:function(f){return[vb(f,!0,10),vb(f,!1,10)]},flexArrow:function(f){var t=f.view.graph.gridSize/f.view.scale,x=[];mxUtils.getValue(f.style,mxConstants.STYLE_STARTARROW,mxConstants.NONE)!=
-mxConstants.NONE&&(x.push(ob(f,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(u,A,F,H,da){u=(f.shape.getEdgeWidth()-f.shape.strokewidth)*f.view.scale;da=3*mxUtils.getNumber(f.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*f.view.scale;return new mxPoint(H.x+A*(da+f.shape.strokewidth*f.view.scale)+F*u/2,H.y+F*(da+f.shape.strokewidth*f.view.scale)-A*u/2)},function(u,A,F,H,da,O,ua){u=Math.sqrt(mxUtils.ptSegDistSq(H.x,H.y,da.x,da.y,O.x,O.y));A=mxUtils.ptLineDist(H.x,
-H.y,H.x+F,H.y-A,O.x,O.y);f.style[mxConstants.STYLE_STARTSIZE]=Math.round((A-f.shape.strokewidth)/3/f.view.scale);f.style.width=Math.round(2*u/f.view.scale);if(mxEvent.isShiftDown(ua.getEvent())||mxEvent.isControlDown(ua.getEvent()))f.style[mxConstants.STYLE_ENDSIZE]=f.style[mxConstants.STYLE_STARTSIZE];mxEvent.isAltDown(ua.getEvent())||Math.abs(parseFloat(f.style[mxConstants.STYLE_STARTSIZE])-parseFloat(f.style[mxConstants.STYLE_ENDSIZE]))<t/6&&(f.style[mxConstants.STYLE_STARTSIZE]=f.style[mxConstants.STYLE_ENDSIZE])})),
-x.push(ob(f,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(u,A,F,H,da){u=(f.shape.getStartArrowWidth()-f.shape.strokewidth)*f.view.scale;da=3*mxUtils.getNumber(f.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*f.view.scale;return new mxPoint(H.x+A*(da+f.shape.strokewidth*f.view.scale)+F*u/2,H.y+F*(da+f.shape.strokewidth*f.view.scale)-A*u/2)},function(u,A,F,H,da,O,ua){u=Math.sqrt(mxUtils.ptSegDistSq(H.x,H.y,da.x,da.y,O.x,O.y));A=mxUtils.ptLineDist(H.x,
-H.y,H.x+F,H.y-A,O.x,O.y);f.style[mxConstants.STYLE_STARTSIZE]=Math.round((A-f.shape.strokewidth)/3/f.view.scale);f.style.startWidth=Math.round(Math.max(0,Math.round(2*u)-f.shape.getEdgeWidth())/f.view.scale);if(mxEvent.isShiftDown(ua.getEvent())||mxEvent.isControlDown(ua.getEvent()))f.style[mxConstants.STYLE_ENDSIZE]=f.style[mxConstants.STYLE_STARTSIZE],f.style.endWidth=f.style.startWidth;mxEvent.isAltDown(ua.getEvent())||(Math.abs(parseFloat(f.style[mxConstants.STYLE_STARTSIZE])-parseFloat(f.style[mxConstants.STYLE_ENDSIZE]))<
-t/6&&(f.style[mxConstants.STYLE_STARTSIZE]=f.style[mxConstants.STYLE_ENDSIZE]),Math.abs(parseFloat(f.style.startWidth)-parseFloat(f.style.endWidth))<t&&(f.style.startWidth=f.style.endWidth))})));mxUtils.getValue(f.style,mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE&&(x.push(ob(f,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(u,A,F,H,da){u=(f.shape.getEdgeWidth()-f.shape.strokewidth)*f.view.scale;da=3*mxUtils.getNumber(f.style,mxConstants.STYLE_ENDSIZE,
-mxConstants.ARROW_SIZE/5)*f.view.scale;return new mxPoint(H.x+A*(da+f.shape.strokewidth*f.view.scale)-F*u/2,H.y+F*(da+f.shape.strokewidth*f.view.scale)+A*u/2)},function(u,A,F,H,da,O,ua){u=Math.sqrt(mxUtils.ptSegDistSq(H.x,H.y,da.x,da.y,O.x,O.y));A=mxUtils.ptLineDist(H.x,H.y,H.x+F,H.y-A,O.x,O.y);f.style[mxConstants.STYLE_ENDSIZE]=Math.round((A-f.shape.strokewidth)/3/f.view.scale);f.style.width=Math.round(2*u/f.view.scale);if(mxEvent.isShiftDown(ua.getEvent())||mxEvent.isControlDown(ua.getEvent()))f.style[mxConstants.STYLE_STARTSIZE]=
-f.style[mxConstants.STYLE_ENDSIZE];mxEvent.isAltDown(ua.getEvent())||Math.abs(parseFloat(f.style[mxConstants.STYLE_ENDSIZE])-parseFloat(f.style[mxConstants.STYLE_STARTSIZE]))<t/6&&(f.style[mxConstants.STYLE_ENDSIZE]=f.style[mxConstants.STYLE_STARTSIZE])})),x.push(ob(f,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(u,A,F,H,da){u=(f.shape.getEndArrowWidth()-f.shape.strokewidth)*f.view.scale;da=3*mxUtils.getNumber(f.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/
-5)*f.view.scale;return new mxPoint(H.x+A*(da+f.shape.strokewidth*f.view.scale)-F*u/2,H.y+F*(da+f.shape.strokewidth*f.view.scale)+A*u/2)},function(u,A,F,H,da,O,ua){u=Math.sqrt(mxUtils.ptSegDistSq(H.x,H.y,da.x,da.y,O.x,O.y));A=mxUtils.ptLineDist(H.x,H.y,H.x+F,H.y-A,O.x,O.y);f.style[mxConstants.STYLE_ENDSIZE]=Math.round((A-f.shape.strokewidth)/3/f.view.scale);f.style.endWidth=Math.round(Math.max(0,Math.round(2*u)-f.shape.getEdgeWidth())/f.view.scale);if(mxEvent.isShiftDown(ua.getEvent())||mxEvent.isControlDown(ua.getEvent()))f.style[mxConstants.STYLE_STARTSIZE]=
-f.style[mxConstants.STYLE_ENDSIZE],f.style.startWidth=f.style.endWidth;mxEvent.isAltDown(ua.getEvent())||(Math.abs(parseFloat(f.style[mxConstants.STYLE_ENDSIZE])-parseFloat(f.style[mxConstants.STYLE_STARTSIZE]))<t/6&&(f.style[mxConstants.STYLE_ENDSIZE]=f.style[mxConstants.STYLE_STARTSIZE]),Math.abs(parseFloat(f.style.endWidth)-parseFloat(f.style.startWidth))<t&&(f.style.endWidth=f.style.startWidth))})));return x},swimlane:function(f){var t=[];if(mxUtils.getValue(f.style,mxConstants.STYLE_ROUNDED)){var x=
-parseFloat(mxUtils.getValue(f.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));t.push(Ab(f,x/2))}t.push(nb(f,[mxConstants.STYLE_STARTSIZE],function(u){var A=parseFloat(mxUtils.getValue(f.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));return 1==mxUtils.getValue(f.style,mxConstants.STYLE_HORIZONTAL,1)?new mxPoint(u.getCenterX(),u.y+Math.max(0,Math.min(u.height,A))):new mxPoint(u.x+Math.max(0,Math.min(u.width,A)),u.getCenterY())},function(u,A){f.style[mxConstants.STYLE_STARTSIZE]=
-1==mxUtils.getValue(this.state.style,mxConstants.STYLE_HORIZONTAL,1)?Math.round(Math.max(0,Math.min(u.height,A.y-u.y))):Math.round(Math.max(0,Math.min(u.width,A.x-u.x)))},!1,null,function(u){var A=f.view.graph;if(!mxEvent.isShiftDown(u.getEvent())&&!mxEvent.isControlDown(u.getEvent())&&(A.isTableRow(f.cell)||A.isTableCell(f.cell))){u=A.getSwimlaneDirection(f.style);var F=A.model.getParent(f.cell);F=A.model.getChildCells(F,!0);for(var H=[],da=0;da<F.length;da++)F[da]!=f.cell&&A.isSwimlane(F[da])&&
-A.getSwimlaneDirection(A.getCurrentCellStyle(F[da]))==u&&H.push(F[da]);A.setCellStyles(mxConstants.STYLE_STARTSIZE,f.style[mxConstants.STYLE_STARTSIZE],H)}}));return t},label:Eb(),ext:Eb(),rectangle:Eb(),triangle:Eb(),rhombus:Eb(),umlLifeline:function(f){return[nb(f,["size"],function(t){var x=Math.max(0,Math.min(t.height,parseFloat(mxUtils.getValue(this.state.style,"size",X.prototype.size))));return new mxPoint(t.getCenterX(),t.y+x)},function(t,x){this.state.style.size=Math.round(Math.max(0,Math.min(t.height,
-x.y-t.y)))},!1)]},umlFrame:function(f){return[nb(f,["width","height"],function(t){var x=Math.max(ha.prototype.corner,Math.min(t.width,mxUtils.getValue(this.state.style,"width",ha.prototype.width))),u=Math.max(1.5*ha.prototype.corner,Math.min(t.height,mxUtils.getValue(this.state.style,"height",ha.prototype.height)));return new mxPoint(t.x+x,t.y+u)},function(t,x){this.state.style.width=Math.round(Math.max(ha.prototype.corner,Math.min(t.width,x.x-t.x)));this.state.style.height=Math.round(Math.max(1.5*
-ha.prototype.corner,Math.min(t.height,x.y-t.y)))},!1)]},process:function(f){var t=[nb(f,["size"],function(x){var u="0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),A=parseFloat(mxUtils.getValue(this.state.style,"size",ja.prototype.size));return u?new mxPoint(x.x+A,x.y+x.height/4):new mxPoint(x.x+x.width*A,x.y+x.height/4)},function(x,u){x="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(.5*x.width,u.x-x.x)):Math.max(0,Math.min(.5,(u.x-x.x)/x.width));this.state.style.size=
-x},!1)];mxUtils.getValue(f.style,mxConstants.STYLE_ROUNDED,!1)&&t.push(Ab(f));return t},cross:function(f){return[nb(f,["size"],function(t){var x=Math.min(t.width,t.height);x=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"size",xa.prototype.size)))*x/2;return new mxPoint(t.getCenterX()-x,t.getCenterY()-x)},function(t,x){var u=Math.min(t.width,t.height);this.state.style.size=Math.max(0,Math.min(1,Math.min(Math.max(0,t.getCenterY()-x.y)/u*2,Math.max(0,t.getCenterX()-x.x)/u*2)))})]},note:function(f){return[nb(f,
-["size"],function(t){var x=Math.max(0,Math.min(t.width,Math.min(t.height,parseFloat(mxUtils.getValue(this.state.style,"size",D.prototype.size)))));return new mxPoint(t.x+t.width-x,t.y+x)},function(t,x){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(t.width,t.x+t.width-x.x),Math.min(t.height,x.y-t.y))))})]},note2:function(f){return[nb(f,["size"],function(t){var x=Math.max(0,Math.min(t.width,Math.min(t.height,parseFloat(mxUtils.getValue(this.state.style,"size",Q.prototype.size)))));return new mxPoint(t.x+
-t.width-x,t.y+x)},function(t,x){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(t.width,t.x+t.width-x.x),Math.min(t.height,x.y-t.y))))})]},manualInput:function(f){var t=[nb(f,["size"],function(x){var u=Math.max(0,Math.min(x.height,mxUtils.getValue(this.state.style,"size",Ta.prototype.size)));return new mxPoint(x.x+x.width/4,x.y+3*u/4)},function(x,u){this.state.style.size=Math.round(Math.max(0,Math.min(x.height,4*(u.y-x.y)/3)))},!1)];mxUtils.getValue(f.style,mxConstants.STYLE_ROUNDED,
-!1)&&t.push(Ab(f));return t},dataStorage:function(f){return[nb(f,["size"],function(t){var x="0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),u=parseFloat(mxUtils.getValue(this.state.style,"size",x?Ba.prototype.fixedSize:Ba.prototype.size));return new mxPoint(t.x+t.width-u*(x?1:t.width),t.getCenterY())},function(t,x){t="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(t.width,t.x+t.width-x.x)):Math.max(0,Math.min(1,(t.x+t.width-x.x)/t.width));this.state.style.size=
-t},!1)]},callout:function(f){var t=[nb(f,["size","position"],function(x){var u=Math.max(0,Math.min(x.height,mxUtils.getValue(this.state.style,"size",ka.prototype.size))),A=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",ka.prototype.position)));mxUtils.getValue(this.state.style,"base",ka.prototype.base);return new mxPoint(x.x+A*x.width,x.y+x.height-u)},function(x,u){mxUtils.getValue(this.state.style,"base",ka.prototype.base);this.state.style.size=Math.round(Math.max(0,Math.min(x.height,
-x.y+x.height-u.y)));this.state.style.position=Math.round(100*Math.max(0,Math.min(1,(u.x-x.x)/x.width)))/100},!1),nb(f,["position2"],function(x){var u=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position2",ka.prototype.position2)));return new mxPoint(x.x+u*x.width,x.y+x.height)},function(x,u){this.state.style.position2=Math.round(100*Math.max(0,Math.min(1,(u.x-x.x)/x.width)))/100},!1),nb(f,["base"],function(x){var u=Math.max(0,Math.min(x.height,mxUtils.getValue(this.state.style,"size",
-ka.prototype.size))),A=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",ka.prototype.position))),F=Math.max(0,Math.min(x.width,mxUtils.getValue(this.state.style,"base",ka.prototype.base)));return new mxPoint(x.x+Math.min(x.width,A*x.width+F),x.y+x.height-u)},function(x,u){var A=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",ka.prototype.position)));this.state.style.base=Math.round(Math.max(0,Math.min(x.width,u.x-x.x-A*x.width)))},!1)];mxUtils.getValue(f.style,
-mxConstants.STYLE_ROUNDED,!1)&&t.push(Ab(f));return t},internalStorage:function(f){var t=[nb(f,["dx","dy"],function(x){var u=Math.max(0,Math.min(x.width,mxUtils.getValue(this.state.style,"dx",La.prototype.dx))),A=Math.max(0,Math.min(x.height,mxUtils.getValue(this.state.style,"dy",La.prototype.dy)));return new mxPoint(x.x+u,x.y+A)},function(x,u){this.state.style.dx=Math.round(Math.max(0,Math.min(x.width,u.x-x.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(x.height,u.y-x.y)))},!1)];mxUtils.getValue(f.style,
-mxConstants.STYLE_ROUNDED,!1)&&t.push(Ab(f));return t},module:function(f){return[nb(f,["jettyWidth","jettyHeight"],function(t){var x=Math.max(0,Math.min(t.width,mxUtils.getValue(this.state.style,"jettyWidth",za.prototype.jettyWidth))),u=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"jettyHeight",za.prototype.jettyHeight)));return new mxPoint(t.x+x/2,t.y+2*u)},function(t,x){this.state.style.jettyWidth=Math.round(2*Math.max(0,Math.min(t.width,x.x-t.x)));this.state.style.jettyHeight=
-Math.round(Math.max(0,Math.min(t.height,x.y-t.y))/2)})]},corner:function(f){return[nb(f,["dx","dy"],function(t){var x=Math.max(0,Math.min(t.width,mxUtils.getValue(this.state.style,"dx",Ca.prototype.dx))),u=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"dy",Ca.prototype.dy)));return new mxPoint(t.x+x,t.y+u)},function(t,x){this.state.style.dx=Math.round(Math.max(0,Math.min(t.width,x.x-t.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(t.height,x.y-t.y)))},!1)]},tee:function(f){return[nb(f,
-["dx","dy"],function(t){var x=Math.max(0,Math.min(t.width,mxUtils.getValue(this.state.style,"dx",Ka.prototype.dx))),u=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"dy",Ka.prototype.dy)));return new mxPoint(t.x+(t.width+x)/2,t.y+u)},function(t,x){this.state.style.dx=Math.round(Math.max(0,2*Math.min(t.width/2,x.x-t.x-t.width/2)));this.state.style.dy=Math.round(Math.max(0,Math.min(t.height,x.y-t.y)))},!1)]},singleArrow:xb(1),doubleArrow:xb(.5),"mxgraph.arrows2.wedgeArrow":tb(20,20),
-"mxgraph.arrows2.wedgeArrowDashed":tb(20,20),"mxgraph.arrows2.wedgeArrowDashed2":tb(20,20),folder:function(f){return[nb(f,["tabWidth","tabHeight"],function(t){var x=Math.max(0,Math.min(t.width,mxUtils.getValue(this.state.style,"tabWidth",p.prototype.tabWidth))),u=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"tabHeight",p.prototype.tabHeight)));mxUtils.getValue(this.state.style,"tabPosition",p.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(x=t.width-x);return new mxPoint(t.x+x,
-t.y+u)},function(t,x){var u=Math.max(0,Math.min(t.width,x.x-t.x));mxUtils.getValue(this.state.style,"tabPosition",p.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(u=t.width-u);this.state.style.tabWidth=Math.round(u);this.state.style.tabHeight=Math.round(Math.max(0,Math.min(t.height,x.y-t.y)))},!1)]},document:function(f){return[nb(f,["size"],function(t){var x=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",K.prototype.size))));return new mxPoint(t.x+3*t.width/4,t.y+(1-
-x)*t.height)},function(t,x){this.state.style.size=Math.max(0,Math.min(1,(t.y+t.height-x.y)/t.height))},!1)]},tape:function(f){return[nb(f,["size"],function(t){var x=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",I.prototype.size))));return new mxPoint(t.getCenterX(),t.y+x*t.height/2)},function(t,x){this.state.style.size=Math.max(0,Math.min(1,(x.y-t.y)/t.height*2))},!1)]},isoCube2:function(f){return[nb(f,["isoAngle"],function(t){var x=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.state.style,
-"isoAngle",N.isoAngle))))*Math.PI/200;return new mxPoint(t.x,t.y+Math.min(t.width*Math.tan(x),.5*t.height))},function(t,x){this.state.style.isoAngle=Math.max(0,50*(x.y-t.y)/t.height)},!0)]},cylinder2:Gb(c.prototype.size),cylinder3:Gb(g.prototype.size),offPageConnector:function(f){return[nb(f,["size"],function(t){var x=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",Aa.prototype.size))));return new mxPoint(t.getCenterX(),t.y+(1-x)*t.height)},function(t,x){this.state.style.size=
-Math.max(0,Math.min(1,(t.y+t.height-x.y)/t.height))},!1)]},"mxgraph.basic.rect":function(f){var t=[Graph.createHandle(f,["size"],function(x){var u=Math.max(0,Math.min(x.width/2,x.height/2,parseFloat(mxUtils.getValue(this.state.style,"size",this.size))));return new mxPoint(x.x+u,x.y+u)},function(x,u){this.state.style.size=Math.round(100*Math.max(0,Math.min(x.height/2,x.width/2,u.x-x.x)))/100})];f=Graph.createHandle(f,["indent"],function(x){var u=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,
-"indent",this.dx2))));return new mxPoint(x.x+.75*x.width,x.y+u*x.height/200)},function(x,u){this.state.style.indent=Math.round(100*Math.max(0,Math.min(100,200*(u.y-x.y)/x.height)))/100});t.push(f);return t},curvedText:function(f){var t=function(x){return(null!=x.shape?x.shape._curveYOffset:0)||0};return[nb(f,["arcStartY"],function(x){var u=parseFloat(mxUtils.getValue(this.state.style,"arcStartY",gb.prototype.arcStartY)),A=t(this.state);return new mxPoint(x.x+10,x.y+Math.max(0,Math.min(x.height,u+
-A)))},function(x,u){var A=t(this.state);this.state.style.arcStartY=Math.round(Math.max(0,Math.min(x.height,u.y-x.y))-A)},!1),nb(f,["arcMidY"],function(x){var u=parseFloat(mxUtils.getValue(this.state.style,"arcStartY",gb.prototype.arcStartY)),A=parseFloat(mxUtils.getValue(this.state.style,"arcEndY",gb.prototype.arcEndY)),F=parseFloat(mxUtils.getValue(this.state.style,"arcMidY",gb.prototype.arcMidY));u=(u+A)/2;A=t(this.state);return new mxPoint(x.x+x.width/2+10,x.y+Math.max(0,Math.min(x.height,u+F+
-A)))},function(x,u){var A=parseFloat(mxUtils.getValue(this.state.style,"arcStartY",gb.prototype.arcStartY)),F=parseFloat(mxUtils.getValue(this.state.style,"arcEndY",gb.prototype.arcEndY));A=(A+F)/2;F=t(this.state);var H=Math.max(Math.abs(gb.prototype.arcMidY),Math.min(A,x.height-A));this.state.style.arcMidY=Math.round(Math.max(-H,Math.min(H,u.y-x.y-F-A)))},!1),nb(f,["arcEndY"],function(x){var u=parseFloat(mxUtils.getValue(this.state.style,"arcEndY",gb.prototype.arcEndY)),A=t(this.state);return new mxPoint(x.x+
-x.width-10,x.y+Math.max(0,Math.min(x.height,u+A)))},function(x,u){var A=t(this.state);this.state.style.arcEndY=Math.round(Math.max(0,Math.min(x.height,u.y-x.y))-A)},!1)]},step:Db(pa.prototype.size,!0,null,!0,pa.prototype.fixedSize),hexagon:Db(ba.prototype.size,!0,.5,!0,ba.prototype.fixedSize),curlyBracket:Db(M.prototype.size,!1),display:Db(va.prototype.size,!1),cube:yb(1,n.prototype.size,!1),card:yb(.5,E.prototype.size,!0),loopLimit:yb(.5,sa.prototype.size,!0),trapezoid:Hb(.5,W.prototype.size,W.prototype.fixedSize),
-parallelogram:Hb(1,R.prototype.size,R.prototype.fixedSize),zigzag:function(f){return[nb(f,["size"],function(t){var x=Math.max(5,parseFloat(mxUtils.getValue(this.state.style,"size",ab.prototype.size)));return new mxPoint(t.x+3*x,t.y)},function(t,x){this.state.style.size=Math.max(5,Math.round((x.x-t.x)/3))},!1)]}};Graph.createHandle=nb;Graph.handleFactory=Cb;var Jb=mxVertexHandler.prototype.createCustomHandles;mxVertexHandler.prototype.createCustomHandles=function(){var f=Jb.apply(this,arguments);if(this.graph.isCellRotatable(this.state.cell)){var t=
-this.state.style.shape;null==mxCellRenderer.defaultShapes[t]&&null==mxStencilRegistry.getStencil(t)?t=mxConstants.SHAPE_RECTANGLE:this.state.view.graph.isSwimlane(this.state.cell)&&(t=mxConstants.SHAPE_SWIMLANE);t=Cb[t];null==t&&null!=this.state.shape&&this.state.shape.isRoundable()&&(t=Cb[mxConstants.SHAPE_RECTANGLE]);null!=t&&(t=t(this.state),null!=t&&(f=null==f?t:f.concat(t)))}return f};mxEdgeHandler.prototype.createCustomHandles=function(){var f=this.state.style.shape;null==mxCellRenderer.defaultShapes[f]&&
-null==mxStencilRegistry.getStencil(f)&&(f=mxConstants.SHAPE_CONNECTOR);f=Cb[f];return null!=f?f(this.state):null}}else Graph.createHandle=function(){},Graph.handleFactory={};var Kb=Graph.prototype.getPreferredSizeForCell;Graph.prototype.getPreferredSizeForCell=function(f,t,x){var u=this.getCellStyle(f);if(null!=u&&"curvedText"==u[mxConstants.STYLE_SHAPE]){var A=this.convertValueToString(f);if(null!=A&&0<A.length){var F=parseFloat(mxUtils.getValue(u,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE)),
-H=mxUtils.getValue(u,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY);u=mxUtils.getValue(u,mxConstants.STYLE_FONTSTYLE,0);A=.85*mxUtils.getSizeForString(A,F,H,null,u).width;H=this.model.getGeometry(f);H=null!=H?H.height:60;(x=null!=x?x:this.gridEnabled)&&(A=this.snap(A+this.gridSize/2));return new mxRectangle(0,0,Math.max(A,2*F)+10,H)}return null}return Kb.apply(this,arguments)};var pb=mxCellRenderer.prototype.checkPlaceholderStyles;mxCellRenderer.prototype.checkPlaceholderStyles=function(f){return null!=
-f.style&&"curvedText"==f.style[mxConstants.STYLE_SHAPE]?!0:pb.apply(this,arguments)};if("undefined"!==typeof mxCellEditor){var Fb=mxCellEditor.prototype.startEditing;mxCellEditor.prototype.startEditing=function(f,t){Fb.apply(this,arguments);var x=this.graph.view.getState(f);null!=x&&null!=x.style&&"curvedText"==x.style[mxConstants.STYLE_SHAPE]&&null!=x.shape&&x.shape.redraw()};var wb=mxCellEditor.prototype.stopEditing;mxCellEditor.prototype.stopEditing=function(f){var t=this.editingCell;wb.apply(this,
-arguments);null!=t&&(t=this.graph.view.getState(t),null!=t&&null!=t.style&&"curvedText"==t.style[mxConstants.STYLE_SHAPE]&&null!=t.shape&&t.shape.redraw())}}var Bb=new mxPoint(1,0),zb=new mxPoint(1,0),ub=mxUtils.toRadians(-30);Bb=mxUtils.getRotatedPoint(Bb,Math.cos(ub),Math.sin(ub));var Ib=mxUtils.toRadians(-150);zb=mxUtils.getRotatedPoint(zb,Math.cos(Ib),Math.sin(Ib));mxEdgeStyle.IsometricConnector=function(f,t,x,u,A){var F=f.view;u=null!=u&&0<u.length?u[0]:null;var H=f.absolutePoints,da=H[0];H=
-H[H.length-1];null!=u&&(u=F.transformControlPoint(f,u));null==da&&null!=t&&(da=new mxPoint(t.getCenterX(),t.getCenterY()));null==H&&null!=x&&(H=new mxPoint(x.getCenterX(),x.getCenterY()));var O=Bb.x,ua=Bb.y,na=zb.x,Ua=zb.y,hb="horizontal"==mxUtils.getValue(f.style,"elbow","horizontal");if(null!=H&&null!=da){f=function(Ea,Ha,Ja){Ea-=$a.x;var Ma=Ha-$a.y;Ha=(Ua*Ea-na*Ma)/(O*Ua-ua*na);Ea=(ua*Ea-O*Ma)/(ua*na-O*Ua);hb?(Ja&&($a=new mxPoint($a.x+O*Ha,$a.y+ua*Ha),A.push($a)),$a=new mxPoint($a.x+na*Ea,$a.y+
-Ua*Ea)):(Ja&&($a=new mxPoint($a.x+na*Ea,$a.y+Ua*Ea),A.push($a)),$a=new mxPoint($a.x+O*Ha,$a.y+ua*Ha));A.push($a)};var $a=da;null==u&&(u=new mxPoint(da.x+(H.x-da.x)/2,da.y+(H.y-da.y)/2));f(u.x,u.y,!0);f(H.x,H.y,!1)}};mxStyleRegistry.putValue("isometricEdgeStyle",mxEdgeStyle.IsometricConnector);var Mb=Graph.prototype.createEdgeHandler;Graph.prototype.createEdgeHandler=function(f,t){if(t==mxEdgeStyle.IsometricConnector){var x=new mxElbowEdgeHandler(f);x.snapToTerminals=!1;return x}return Mb.apply(this,
-arguments)};C.prototype.constraints=[];G.prototype.getConstraints=function(f,t,x){f=[];var u=Math.tan(mxUtils.toRadians(30)),A=(.5-u)/2;u=Math.min(t,x/(.5+u));t=(t-u)/2;x=(x-u)/2;f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,x+.25*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t+.5*u,x+u*A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t+u,x+.25*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t+u,x+.75*u));f.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,t+.5*u,x+(1-A)*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,x+.75*u));return f};N.prototype.getConstraints=function(f,t,x){f=[];var u=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.style,"isoAngle",this.isoAngle))))*Math.PI/200;u=Math.min(t*Math.tan(u),.5*x);f.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,u));f.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,t,x-u));f.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,x-u));f.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,u));return f};ka.prototype.getConstraints=function(f,t,x){f=[];mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE);var u=Math.max(0,Math.min(x,parseFloat(mxUtils.getValue(this.style,"size",this.size))));parseFloat(mxUtils.getValue(this.style,
-"position",this.position));var A=t*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",this.position2))));parseFloat(mxUtils.getValue(this.style,"base",this.base));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1));f.push(new mxConnectionConstraint(new mxPoint(.25,0),!1));f.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));f.push(new mxConnectionConstraint(new mxPoint(.75,0),!1));f.push(new mxConnectionConstraint(new mxPoint(1,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,t,.5*(x-u)));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,x-u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,x-u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(x-u)));t>=2*u&&f.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return f};mxRectangleShape.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(.25,
-0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(.25,
-1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0)];mxEllipse.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(0,
-.5),!0),new mxConnectionConstraint(new mxPoint(1,.5))];ia.prototype.constraints=mxRectangleShape.prototype.constraints;mxImageShape.prototype.constraints=mxRectangleShape.prototype.constraints;mxSwimlane.prototype.constraints=mxRectangleShape.prototype.constraints;l.prototype.constraints=mxRectangleShape.prototype.constraints;mxLabel.prototype.constraints=mxRectangleShape.prototype.constraints;D.prototype.getConstraints=function(f,t,x){f=[];var u=Math.max(0,Math.min(t,Math.min(x,parseFloat(mxUtils.getValue(this.style,
-"size",this.size)))));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t-u),0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-u,0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-.5*u,.5*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,.5*(x+u)));f.push(new mxConnectionConstraint(new mxPoint(1,1),!1));f.push(new mxConnectionConstraint(new mxPoint(.5,
-1),!1));f.push(new mxConnectionConstraint(new mxPoint(0,1),!1));f.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));t>=2*u&&f.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return f};E.prototype.getConstraints=function(f,t,x){f=[];var u=Math.max(0,Math.min(t,Math.min(x,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));f.push(new mxConnectionConstraint(new mxPoint(1,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t+u),0));f.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,u,0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*u,.5*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(x+u)));f.push(new mxConnectionConstraint(new mxPoint(0,1),!1));f.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));f.push(new mxConnectionConstraint(new mxPoint(1,1),!1));f.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));t>=2*u&&f.push(new mxConnectionConstraint(new mxPoint(.5,
-0),!1));return f};n.prototype.getConstraints=function(f,t,x){f=[];var u=Math.max(0,Math.min(t,Math.min(x,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t-u),0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-u,0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-.5*u,.5*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,u));f.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,t,.5*(x+u)));f.push(new mxConnectionConstraint(new mxPoint(1,1),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t+u),x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,u,x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*u,x-.5*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,x-u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(x-u)));return f};g.prototype.getConstraints=function(f,t,x){f=[];t=Math.max(0,Math.min(x,
-parseFloat(mxUtils.getValue(this.style,"size",this.size))));f.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));f.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t));f.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,t));f.push(new mxConnectionConstraint(new mxPoint(1,1),!1,null,0,-t));f.push(new mxConnectionConstraint(new mxPoint(0,
-1),!1,null,0,-t));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t+.5*(.5*x-t)));f.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,t+.5*(.5*x-t)));f.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,x-t-.5*(.5*x-t)));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,x-t-.5*(.5*x-t)));f.push(new mxConnectionConstraint(new mxPoint(.145,0),!1,null,0,.29*t));f.push(new mxConnectionConstraint(new mxPoint(.855,0),!1,null,0,.29*t));f.push(new mxConnectionConstraint(new mxPoint(.855,
-1),!1,null,0,.29*-t));f.push(new mxConnectionConstraint(new mxPoint(.145,1),!1,null,0,.29*-t));return f};p.prototype.getConstraints=function(f,t,x){f=[];var u=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"tabWidth",this.tabWidth)))),A=Math.max(0,Math.min(x,parseFloat(mxUtils.getValue(this.style,"tabHeight",this.tabHeight))));"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?(f.push(new mxConnectionConstraint(new mxPoint(0,0),!1)),f.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,.5*u,0)),f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,u,0)),f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,u,A)),f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t+u),A))):(f.push(new mxConnectionConstraint(new mxPoint(1,0),!1)),f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-.5*u,0)),f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-u,0)),f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-u,A)),f.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,.5*(t-u),A)));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,.25*(x-A)+A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,.5*(x-A)+A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,.75*(x-A)+A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,
-0,.25*(x-A)+A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(x-A)+A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.75*(x-A)+A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,x));f.push(new mxConnectionConstraint(new mxPoint(.25,1),!1));f.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));f.push(new mxConnectionConstraint(new mxPoint(.75,1),!1));return f};La.prototype.constraints=mxRectangleShape.prototype.constraints;Ba.prototype.constraints=
-mxRectangleShape.prototype.constraints;Na.prototype.constraints=mxEllipse.prototype.constraints;bb.prototype.constraints=mxEllipse.prototype.constraints;z.prototype.constraints=mxEllipse.prototype.constraints;ma.prototype.constraints=mxEllipse.prototype.constraints;Ta.prototype.constraints=mxRectangleShape.prototype.constraints;qa.prototype.constraints=mxRectangleShape.prototype.constraints;va.prototype.getConstraints=function(f,t,x){f=[];var u=Math.min(t,x/2),A=Math.min(t-u,Math.max(0,parseFloat(mxUtils.getValue(this.style,
-"size",this.size)))*t);f.push(new mxConnectionConstraint(new mxPoint(0,.5),!1,null));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(A+t-u),0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-u,0));f.push(new mxConnectionConstraint(new mxPoint(1,.5),!1,null));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-u,x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(A+t-u),x));f.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,A,x));return f};za.prototype.getConstraints=function(f,t,x){t=parseFloat(mxUtils.getValue(f,"jettyWidth",za.prototype.jettyWidth))/2;f=parseFloat(mxUtils.getValue(f,"jettyHeight",za.prototype.jettyHeight));var u=[new mxConnectionConstraint(new mxPoint(0,0),!1,null,t),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(1,
-.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(0,1),!1,null,t),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,Math.min(x-.5*f,1.5*f)),new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,Math.min(x-
-.5*f,3.5*f))];x>5*f&&u.push(new mxConnectionConstraint(new mxPoint(0,.75),!1,null,t));x>8*f&&u.push(new mxConnectionConstraint(new mxPoint(0,.5),!1,null,t));x>15*f&&u.push(new mxConnectionConstraint(new mxPoint(0,.25),!1,null,t));return u};sa.prototype.constraints=mxRectangleShape.prototype.constraints;Aa.prototype.constraints=mxRectangleShape.prototype.constraints;mxCylinder.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.15,.05),!1),new mxConnectionConstraint(new mxPoint(.5,0),!0),
-new mxConnectionConstraint(new mxPoint(.85,.05),!1),new mxConnectionConstraint(new mxPoint(0,.3),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.7),!0),new mxConnectionConstraint(new mxPoint(1,.3),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.7),!0),new mxConnectionConstraint(new mxPoint(.15,.95),!1),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.85,.95),!1)];L.prototype.constraints=
-[new mxConnectionConstraint(new mxPoint(.25,.1),!1),new mxConnectionConstraint(new mxPoint(.5,0),!1),new mxConnectionConstraint(new mxPoint(.75,.1),!1),new mxConnectionConstraint(new mxPoint(0,1/3),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(1,1/3),!1),new mxConnectionConstraint(new mxPoint(1,1),!1),new mxConnectionConstraint(new mxPoint(.5,.5),!1)];Ga.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,
-0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.3),!0),new mxConnectionConstraint(new mxPoint(0,.7),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];mxActor.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,
-0),!0),new mxConnectionConstraint(new mxPoint(.25,.2),!1),new mxConnectionConstraint(new mxPoint(.1,.5),!1),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(.75,.25),!1),new mxConnectionConstraint(new mxPoint(.9,.5),!1),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];k.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,
-0),!1),new mxConnectionConstraint(new mxPoint(.5,.25),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(.5,.75),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];I.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.35),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,
-.65),!1),new mxConnectionConstraint(new mxPoint(1,.35),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,.65),!1),new mxConnectionConstraint(new mxPoint(.25,1),!1),new mxConnectionConstraint(new mxPoint(.75,0),!1)];pa.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,
-1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxLine.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,
-.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];la.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,0),!1),new mxConnectionConstraint(new mxPoint(.5,1),!1)];mxDoubleEllipse.prototype.constraints=mxEllipse.prototype.constraints;mxRhombus.prototype.constraints=mxEllipse.prototype.constraints;mxTriangle.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(.5,
-0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0)];mxHexagon.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.375,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.625,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,
-.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.375,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.625,1),!0)];mxCloud.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,.25),!1),new mxConnectionConstraint(new mxPoint(.4,.1),!1),new mxConnectionConstraint(new mxPoint(.16,.55),!1),new mxConnectionConstraint(new mxPoint(.07,.4),!1),new mxConnectionConstraint(new mxPoint(.31,.8),!1),new mxConnectionConstraint(new mxPoint(.13,
-.77),!1),new mxConnectionConstraint(new mxPoint(.8,.8),!1),new mxConnectionConstraint(new mxPoint(.55,.95),!1),new mxConnectionConstraint(new mxPoint(.875,.5),!1),new mxConnectionConstraint(new mxPoint(.96,.7),!1),new mxConnectionConstraint(new mxPoint(.625,.2),!1),new mxConnectionConstraint(new mxPoint(.88,.25),!1)];R.prototype.constraints=mxRectangleShape.prototype.constraints;W.prototype.constraints=mxRectangleShape.prototype.constraints;K.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,
-0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxArrow.prototype.constraints=null;Ka.prototype.getConstraints=function(f,t,x){f=[];var u=Math.max(0,
-Math.min(t,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),A=Math.max(0,Math.min(x,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1));f.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));f.push(new mxConnectionConstraint(new mxPoint(1,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,.5*A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,
-null,.75*t+.25*u,A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t+u),A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t+u),.5*(x+A)));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t+u),x));f.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t-u),x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t-u),.5*(x+A)));f.push(new mxConnectionConstraint(new mxPoint(0,0),
-!1,null,.5*(t-u),A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.25*t-.25*u,A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*A));return f};Ca.prototype.getConstraints=function(f,t,x){f=[];var u=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),A=Math.max(0,Math.min(x,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));f.push(new mxConnectionConstraint(new mxPoint(0,0),
-!1));f.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));f.push(new mxConnectionConstraint(new mxPoint(1,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,.5*A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t+u),A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,u,A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,u,.5*(x+A)));f.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,u,x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*u,x));f.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,1),!1));return f};Ra.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.5,.5),!1),new mxConnectionConstraint(new mxPoint(.75,
-.5),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];cb.prototype.getConstraints=function(f,t,x){f=[];var u=x*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth)))),A=t*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",this.arrowSize))));u=(x-u)/2;f.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,0,u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t-A),u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-A,0));f.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-A,x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t-A),x-u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,x-u));return f};Pa.prototype.getConstraints=function(f,t,x){f=[];var u=x*Math.max(0,Math.min(1,
-parseFloat(mxUtils.getValue(this.style,"arrowWidth",cb.prototype.arrowWidth)))),A=t*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",cb.prototype.arrowSize))));u=(x-u)/2;f.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*t,u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-A,0));f.push(new mxConnectionConstraint(new mxPoint(1,.5),
-!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-A,x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*t,x-u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,x));return f};xa.prototype.getConstraints=function(f,t,x){f=[];var u=Math.min(x,t),A=Math.max(0,Math.min(u,u*parseFloat(mxUtils.getValue(this.style,"size",this.size))));u=(x-A)/2;var F=u+A,H=(t-A)/2;A=H+A;f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,H,.5*u));f.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,H,0));f.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,.5*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,H,x-.5*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,H,x));f.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));f.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,A,x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,x-.5*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,F));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t+A),u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,u));f.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,F));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t+A),F));f.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,H,F));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*H,u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,u));f.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,F));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*H,F));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,H,u));return f};X.prototype.constraints=null;Ia.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,
-.25),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,.75),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(.7,.1),!1),new mxConnectionConstraint(new mxPoint(.7,.9),!1)];Ya.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.175,.25),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.175,.75),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(.7,
-.1),!1),new mxConnectionConstraint(new mxPoint(.7,.9),!1)];ra.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];ta.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)]})();function Actions(b){this.editorUi=b;this.actions={};this.init()}
+Ta.prototype.getLabelMargins=function(f){return mxUtils.getValue(this.style,"boundedLbl",!1)?(f=parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale,new mxRectangle(0,f,0,0)):null};Ta.prototype.redrawPath=function(f,t,x,u,A){t=Math.min(A,parseFloat(mxUtils.getValue(this.style,"size",this.size)));x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(f,[new mxPoint(0,A),new mxPoint(0,t),new mxPoint(u,0),new mxPoint(u,A)],this.isRounded,x,
+!0);f.end()};mxCellRenderer.registerShape("manualInput",Ta);mxUtils.extend(La,mxRectangleShape);La.prototype.dx=20;La.prototype.dy=20;La.prototype.isHtmlAllowed=function(){return!1};La.prototype.paintForeground=function(f,t,x,u,A){mxRectangleShape.prototype.paintForeground.apply(this,arguments);var F=0;if(this.isRounded){var H=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100;F=Math.max(F,Math.min(u*H,A*H))}H=Math.max(F,Math.min(u,parseFloat(mxUtils.getValue(this.style,
+"dx",this.dx))));F=Math.max(F,Math.min(A,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));f.begin();f.moveTo(t,x+F);f.lineTo(t+u,x+F);f.end();f.stroke();f.begin();f.moveTo(t+H,x);f.lineTo(t+H,x+A);f.end();f.stroke()};mxCellRenderer.registerShape("internalStorage",La);mxUtils.extend(Ca,mxActor);Ca.prototype.dx=20;Ca.prototype.dy=20;Ca.prototype.isRoundable=function(){return!0};Ca.prototype.redrawPath=function(f,t,x,u,A){t=Math.max(0,Math.min(u,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));
+x=Math.max(0,Math.min(A,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",this.size));var F=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(f,[new mxPoint(0,0),new mxPoint(u,0),new mxPoint(u,x),new mxPoint(t,x),new mxPoint(t,A),new mxPoint(0,A)],this.isRounded,F,!0);f.end()};mxCellRenderer.registerShape("corner",Ca);mxUtils.extend(Ra,mxActor);Ra.prototype.redrawPath=function(f,t,x,u,A){f.moveTo(0,
+0);f.lineTo(0,A);f.end();f.moveTo(u,0);f.lineTo(u,A);f.end();f.moveTo(0,A/2);f.lineTo(u,A/2);f.end()};mxCellRenderer.registerShape("crossbar",Ra);mxUtils.extend(Ka,mxActor);Ka.prototype.dx=20;Ka.prototype.dy=20;Ka.prototype.isRoundable=function(){return!0};Ka.prototype.redrawPath=function(f,t,x,u,A){t=Math.max(0,Math.min(u,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));x=Math.max(0,Math.min(A,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",
+this.size));var F=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(f,[new mxPoint(0,0),new mxPoint(u,0),new mxPoint(u,x),new mxPoint((u+t)/2,x),new mxPoint((u+t)/2,A),new mxPoint((u-t)/2,A),new mxPoint((u-t)/2,x),new mxPoint(0,x)],this.isRounded,F,!0);f.end()};mxCellRenderer.registerShape("tee",Ka);mxUtils.extend(cb,mxActor);cb.prototype.arrowWidth=.3;cb.prototype.arrowSize=.2;cb.prototype.isRoundable=function(){return!0};cb.prototype.redrawPath=function(f,
+t,x,u,A){var F=A*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth))));t=u*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",this.arrowSize))));x=(A-F)/2;F=x+F;var H=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(f,[new mxPoint(0,x),new mxPoint(u-t,x),new mxPoint(u-t,0),new mxPoint(u,A/2),new mxPoint(u-t,A),new mxPoint(u-t,F),new mxPoint(0,F)],this.isRounded,H,!0);f.end()};mxCellRenderer.registerShape("singleArrow",
+cb);mxUtils.extend(Pa,mxActor);Pa.prototype.isRoundable=function(){return!0};Pa.prototype.redrawPath=function(f,t,x,u,A){var F=A*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",cb.prototype.arrowWidth))));t=u*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",cb.prototype.arrowSize))));x=(A-F)/2;F=x+F;var H=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(f,[new mxPoint(0,A/2),new mxPoint(t,0),new mxPoint(t,
+x),new mxPoint(u-t,x),new mxPoint(u-t,0),new mxPoint(u,A/2),new mxPoint(u-t,A),new mxPoint(u-t,F),new mxPoint(t,F),new mxPoint(t,A)],this.isRounded,H,!0);f.end()};mxCellRenderer.registerShape("doubleArrow",Pa);mxUtils.extend(Ba,mxActor);Ba.prototype.size=.1;Ba.prototype.fixedSize=20;Ba.prototype.redrawPath=function(f,t,x,u,A){t="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(u,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):u*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,
+"size",this.size))));f.moveTo(t,0);f.lineTo(u,0);f.quadTo(u-2*t,A/2,u,A);f.lineTo(t,A);f.quadTo(t-2*t,A/2,t,0);f.close();f.end()};mxCellRenderer.registerShape("dataStorage",Ba);mxUtils.extend(Ia,mxActor);Ia.prototype.redrawPath=function(f,t,x,u,A){f.moveTo(0,0);f.quadTo(u,0,u,A/2);f.quadTo(u,A,0,A);f.close();f.end()};mxCellRenderer.registerShape("or",Ia);mxUtils.extend(Ya,mxActor);Ya.prototype.redrawPath=function(f,t,x,u,A){f.moveTo(0,0);f.quadTo(u,0,u,A/2);f.quadTo(u,A,0,A);f.quadTo(u/2,A/2,0,0);
+f.close();f.end()};mxCellRenderer.registerShape("xor",Ya);mxUtils.extend(sa,mxActor);sa.prototype.size=20;sa.prototype.isRoundable=function(){return!0};sa.prototype.redrawPath=function(f,t,x,u,A){t=Math.min(u/2,Math.min(A,parseFloat(mxUtils.getValue(this.style,"size",this.size))));x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(f,[new mxPoint(t,0),new mxPoint(u-t,0),new mxPoint(u,.8*t),new mxPoint(u,A),new mxPoint(0,A),new mxPoint(0,.8*t)],this.isRounded,
+x,!0);f.end()};mxCellRenderer.registerShape("loopLimit",sa);mxUtils.extend(Aa,mxActor);Aa.prototype.size=.375;Aa.prototype.isRoundable=function(){return!0};Aa.prototype.redrawPath=function(f,t,x,u,A){t=A*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(f,[new mxPoint(0,0),new mxPoint(u,0),new mxPoint(u,A-t),new mxPoint(u/2,A),new mxPoint(0,A-t)],this.isRounded,x,!0);
+f.end()};mxCellRenderer.registerShape("offPageConnector",Aa);mxUtils.extend(Na,mxEllipse);Na.prototype.paintVertexShape=function(f,t,x,u,A){mxEllipse.prototype.paintVertexShape.apply(this,arguments);f.begin();f.moveTo(t+u/2,x+A);f.lineTo(t+u,x+A);f.end();f.stroke()};mxCellRenderer.registerShape("tapeData",Na);mxUtils.extend(bb,mxEllipse);bb.prototype.paintVertexShape=function(f,t,x,u,A){mxEllipse.prototype.paintVertexShape.apply(this,arguments);f.setShadow(!1);f.begin();f.moveTo(t,x+A/2);f.lineTo(t+
+u,x+A/2);f.end();f.stroke();f.begin();f.moveTo(t+u/2,x);f.lineTo(t+u/2,x+A);f.end();f.stroke()};mxCellRenderer.registerShape("orEllipse",bb);mxUtils.extend(z,mxEllipse);z.prototype.paintVertexShape=function(f,t,x,u,A){mxEllipse.prototype.paintVertexShape.apply(this,arguments);f.setShadow(!1);f.begin();f.moveTo(t+.145*u,x+.145*A);f.lineTo(t+.855*u,x+.855*A);f.end();f.stroke();f.begin();f.moveTo(t+.855*u,x+.145*A);f.lineTo(t+.145*u,x+.855*A);f.end();f.stroke()};mxCellRenderer.registerShape("sumEllipse",
+z);mxUtils.extend(P,mxRhombus);P.prototype.paintVertexShape=function(f,t,x,u,A){mxRhombus.prototype.paintVertexShape.apply(this,arguments);f.setShadow(!1);f.begin();f.moveTo(t,x+A/2);f.lineTo(t+u,x+A/2);f.end();f.stroke()};mxCellRenderer.registerShape("sortShape",P);mxUtils.extend(U,mxEllipse);U.prototype.paintVertexShape=function(f,t,x,u,A){f.begin();f.moveTo(t,x);f.lineTo(t+u,x);f.lineTo(t+u/2,x+A/2);f.close();f.fillAndStroke();f.begin();f.moveTo(t,x+A);f.lineTo(t+u,x+A);f.lineTo(t+u/2,x+A/2);f.close();
+f.fillAndStroke()};mxCellRenderer.registerShape("collate",U);mxUtils.extend(Y,mxEllipse);Y.prototype.paintVertexShape=function(f,t,x,u,A){var F=f.state.strokeWidth/2,H=10+2*F,da=x+A-H/2;f.begin();f.moveTo(t,x);f.lineTo(t,x+A);f.moveTo(t+F,da);f.lineTo(t+F+H,da-H/2);f.moveTo(t+F,da);f.lineTo(t+F+H,da+H/2);f.moveTo(t+F,da);f.lineTo(t+u-F,da);f.moveTo(t+u,x);f.lineTo(t+u,x+A);f.moveTo(t+u-F,da);f.lineTo(t+u-H-F,da-H/2);f.moveTo(t+u-F,da);f.lineTo(t+u-H-F,da+H/2);f.end();f.stroke()};mxCellRenderer.registerShape("dimension",
+Y);mxUtils.extend(ia,mxEllipse);ia.prototype.drawHidden=!0;ia.prototype.paintVertexShape=function(f,t,x,u,A){this.outline||f.setStrokeColor(null);if(null!=this.style){var F=f.pointerEvents,H=null!=this.fill&&this.fill!=mxConstants.NONE;"1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1")||H||(f.pointerEvents=!1);var da="1"==mxUtils.getValue(this.style,"top","1"),O="1"==mxUtils.getValue(this.style,"left","1"),ua="1"==mxUtils.getValue(this.style,"right","1"),na="1"==mxUtils.getValue(this.style,
+"bottom","1");this.drawHidden||H||this.outline||da||ua||na||O?(f.rect(t,x,u,A),f.fill(),f.pointerEvents=F,f.setStrokeColor(this.stroke),f.setLineCap("square"),f.begin(),f.moveTo(t,x),this.outline||da?f.lineTo(t+u,x):f.moveTo(t+u,x),this.outline||ua?f.lineTo(t+u,x+A):f.moveTo(t+u,x+A),this.outline||na?f.lineTo(t,x+A):f.moveTo(t,x+A),(this.outline||O)&&f.lineTo(t,x),f.end(),f.stroke(),f.setLineCap("flat")):f.setStrokeColor(this.stroke)}};mxCellRenderer.registerShape("partialRectangle",ia);mxUtils.extend(ma,
+mxEllipse);ma.prototype.paintVertexShape=function(f,t,x,u,A){mxEllipse.prototype.paintVertexShape.apply(this,arguments);f.setShadow(!1);f.begin();"vertical"==mxUtils.getValue(this.style,"line")?(f.moveTo(t+u/2,x),f.lineTo(t+u/2,x+A)):(f.moveTo(t,x+A/2),f.lineTo(t+u,x+A/2));f.end();f.stroke()};mxCellRenderer.registerShape("lineEllipse",ma);mxUtils.extend(qa,mxActor);qa.prototype.redrawPath=function(f,t,x,u,A){t=Math.min(u,A/2);f.moveTo(0,0);f.lineTo(u-t,0);f.quadTo(u,0,u,A/2);f.quadTo(u,A,u-t,A);f.lineTo(0,
+A);f.close();f.end()};mxCellRenderer.registerShape("delay",qa);mxUtils.extend(xa,mxActor);xa.prototype.size=.2;xa.prototype.redrawPath=function(f,t,x,u,A){t=Math.min(A,u);var F=Math.max(0,Math.min(t,t*parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=(A-F)/2;x=t+F;var H=(u-F)/2;F=H+F;f.moveTo(0,t);f.lineTo(H,t);f.lineTo(H,0);f.lineTo(F,0);f.lineTo(F,t);f.lineTo(u,t);f.lineTo(u,x);f.lineTo(F,x);f.lineTo(F,A);f.lineTo(H,A);f.lineTo(H,x);f.lineTo(0,x);f.close();f.end()};mxCellRenderer.registerShape("cross",
+xa);mxUtils.extend(va,mxActor);va.prototype.size=.25;va.prototype.redrawPath=function(f,t,x,u,A){t=Math.min(u,A/2);x=Math.min(u-t,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*u);f.moveTo(0,A/2);f.lineTo(x,0);f.lineTo(u-t,0);f.quadTo(u,0,u,A/2);f.quadTo(u,A,u-t,A);f.lineTo(x,A);f.close();f.end()};mxCellRenderer.registerShape("display",va);mxUtils.extend(wa,mxActor);wa.prototype.cst={RECT2:"mxgraph.basic.rect"};wa.prototype.customProperties=[{name:"rectStyle",dispName:"Style",
+type:"enum",defVal:"square",enumList:[{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"size",dispName:"Corner Size",type:"float",defVal:10},{name:"absoluteCornerSize",dispName:"Abs. Corner Size",type:"bool",defVal:!0},{name:"indent",dispName:"Indent",type:"float",defVal:2},{name:"rectOutline",dispName:"Outline",type:"enum",defVal:"single",enumList:[{val:"single",dispName:"Single"},
+{val:"double",dispName:"Double"},{val:"frame",dispName:"Frame"}]},{name:"fillColor2",dispName:"Inside Fill Color",type:"color",defVal:"none"},{name:"gradientColor2",dispName:"Inside Gradient Color",type:"color",defVal:"none"},{name:"gradientDirection2",dispName:"Inside Gradient Direction",type:"enum",defVal:"south",enumList:[{val:"south",dispName:"South"},{val:"west",dispName:"West"},{val:"north",dispName:"North"},{val:"east",dispName:"East"}]},{name:"top",dispName:"Top Line",type:"bool",defVal:!0},
+{name:"right",dispName:"Right",type:"bool",defVal:!0},{name:"bottom",dispName:"Bottom Line",type:"bool",defVal:!0},{name:"left",dispName:"Left ",type:"bool",defVal:!0},{name:"topLeftStyle",dispName:"Top Left Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"topRightStyle",dispName:"Top Right Style",
+type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"bottomRightStyle",dispName:"Bottom Right Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},
+{val:"fold",dispName:"Fold"}]},{name:"bottomLeftStyle",dispName:"Bottom Left Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]}];wa.prototype.paintVertexShape=function(f,t,x,u,A){f.translate(t,x);this.strictDrawShape(f,0,0,u,A)};wa.prototype.strictDrawShape=function(f,t,x,u,A,F){var H=F&&F.rectStyle?F.rectStyle:
+mxUtils.getValue(this.style,"rectStyle",this.rectStyle),da=F&&F.absoluteCornerSize?F.absoluteCornerSize:mxUtils.getValue(this.style,"absoluteCornerSize",this.absoluteCornerSize),O=F&&F.size?F.size:Math.max(0,Math.min(u,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),ua=F&&F.rectOutline?F.rectOutline:mxUtils.getValue(this.style,"rectOutline",this.rectOutline),na=F&&F.indent?F.indent:Math.max(0,Math.min(u,parseFloat(mxUtils.getValue(this.style,"indent",this.indent)))),Ua=F&&F.dashed?F.dashed:
+mxUtils.getValue(this.style,"dashed",!1),hb=F&&F.dashPattern?F.dashPattern:mxUtils.getValue(this.style,"dashPattern",null),$a=F&&F.relIndent?F.relIndent:Math.max(0,Math.min(50,na)),Ea=F&&F.top?F.top:mxUtils.getValue(this.style,"top",!0),Ha=F&&F.right?F.right:mxUtils.getValue(this.style,"right",!0),Ja=F&&F.bottom?F.bottom:mxUtils.getValue(this.style,"bottom",!0),Ma=F&&F.left?F.left:mxUtils.getValue(this.style,"left",!0),Za=F&&F.topLeftStyle?F.topLeftStyle:mxUtils.getValue(this.style,"topLeftStyle",
+"default"),db=F&&F.topRightStyle?F.topRightStyle:mxUtils.getValue(this.style,"topRightStyle","default"),eb=F&&F.bottomRightStyle?F.bottomRightStyle:mxUtils.getValue(this.style,"bottomRightStyle","default"),fb=F&&F.bottomLeftStyle?F.bottomLeftStyle:mxUtils.getValue(this.style,"bottomLeftStyle","default"),Ob=F&&F.fillColor?F.fillColor:mxUtils.getValue(this.style,"fillColor","#ffffff");F&&F.strokeColor||mxUtils.getValue(this.style,"strokeColor","#000000");var Pb=F&&F.strokeWidth?F.strokeWidth:mxUtils.getValue(this.style,
+"strokeWidth","1"),Lb=F&&F.fillColor2?F.fillColor2:mxUtils.getValue(this.style,"fillColor2","none"),Nb=F&&F.gradientColor2?F.gradientColor2:mxUtils.getValue(this.style,"gradientColor2","none"),Qb=F&&F.gradientDirection2?F.gradientDirection2:mxUtils.getValue(this.style,"gradientDirection2","south"),Rb=F&&F.opacity?F.opacity:mxUtils.getValue(this.style,"opacity","100"),Sb=Math.max(0,Math.min(50,O));F=wa.prototype;f.setDashed(Ua);hb&&""!=hb&&f.setDashPattern(hb);f.setStrokeWidth(Pb);O=Math.min(.5*A,
+.5*u,O);da||(O=Sb*Math.min(u,A)/100);O=Math.min(O,.5*Math.min(u,A));da||(na=Math.min($a*Math.min(u,A)/100));na=Math.min(na,.5*Math.min(u,A)-O);(Ea||Ha||Ja||Ma)&&"frame"!=ua&&(f.begin(),Ea?F.moveNW(f,t,x,u,A,H,Za,O,Ma):f.moveTo(0,0),Ea&&F.paintNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),Ha&&F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),Ja&&F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),Ma&&F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,
+Ea),f.close(),f.fill(),f.setShadow(!1),f.setFillColor(Lb),Ua=da=Rb,"none"==Lb&&(da=0),"none"==Nb&&(Ua=0),f.setGradient(Lb,Nb,0,0,u,A,Qb,da,Ua),f.begin(),Ea?F.moveNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma):f.moveTo(na,0),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),Ma&&Ja&&F.paintSWInner(f,t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),Ja&&Ha&&F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),Ha&&Ea&&F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,t,
+x,u,A,H,Za,O,na,Ma,Ea),Ea&&Ma&&F.paintNWInner(f,t,x,u,A,H,Za,O,na),f.fill(),"none"==Ob&&(f.begin(),F.paintFolds(f,t,x,u,A,H,Za,db,eb,fb,O,Ea,Ha,Ja,Ma),f.stroke()));Ea||Ha||Ja||!Ma?Ea||Ha||!Ja||Ma?!Ea&&!Ha&&Ja&&Ma?"frame"!=ua?(f.begin(),F.moveSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),"double"==ua&&(F.moveNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),F.paintSWInner(f,t,x,u,A,H,fb,O,na,Ja),
+F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja)),f.stroke()):(f.begin(),F.moveSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.lineNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),F.paintSWInner(f,t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),f.close(),f.fillAndStroke()):Ea||!Ha||Ja||Ma?!Ea&&Ha&&!Ja&&Ma?"frame"!=ua?(f.begin(),F.moveSW(f,t,x,u,A,H,Za,O,Ja),F.paintLeft(f,t,x,
+u,A,H,Za,O,Ea),"double"==ua&&(F.moveNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma)),f.stroke(),f.begin(),F.moveNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),"double"==ua&&(F.moveSEInner(f,t,x,u,A,H,eb,O,na,Ja),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha)),f.stroke()):(f.begin(),F.moveSW(f,t,x,u,A,H,Za,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.lineNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),f.close(),f.fillAndStroke(),f.begin(),
+F.moveNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.lineSEInner(f,t,x,u,A,H,eb,O,na,Ja),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),f.close(),f.fillAndStroke()):!Ea&&Ha&&Ja&&!Ma?"frame"!=ua?(f.begin(),F.moveNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),"double"==ua&&(F.moveSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,
+t,x,u,A,H,db,O,na,Ea,Ha)),f.stroke()):(f.begin(),F.moveNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.lineSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),f.close(),f.fillAndStroke()):!Ea&&Ha&&Ja&&Ma?"frame"!=ua?(f.begin(),F.moveNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.paintSE(f,t,x,u,A,H,eb,
+O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),"double"==ua&&(F.moveNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),F.paintSWInner(f,t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha)),f.stroke()):(f.begin(),F.moveNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,
+t,x,u,A,H,fb,O,Ma),F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.lineNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),F.paintSWInner(f,t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),f.close(),f.fillAndStroke()):!Ea||Ha||Ja||Ma?Ea&&!Ha&&!Ja&&Ma?"frame"!=ua?(f.begin(),F.moveSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.paintNW(f,t,x,u,A,
+H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),"double"==ua&&(F.moveNEInner(f,t,x,u,A,H,db,O,na,Ha),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),F.paintNWInner(f,t,x,u,A,H,Za,O,na),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma)),f.stroke()):(f.begin(),F.moveSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.paintNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.lineNEInner(f,t,x,u,A,H,db,O,na,Ha),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),F.paintNWInner(f,t,x,u,A,H,Za,O,na),F.paintLeftInner(f,
+t,x,u,A,H,fb,O,na,Ja,Ma),f.close(),f.fillAndStroke()):Ea&&!Ha&&Ja&&!Ma?"frame"!=ua?(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),"double"==ua&&(F.moveNEInner(f,t,x,u,A,H,db,O,na,Ha),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea)),f.stroke(),f.begin(),F.moveSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),"double"==ua&&(F.moveSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja)),f.stroke()):(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,
+t,x,u,A,H,db,O,Ha),F.lineNEInner(f,t,x,u,A,H,db,O,na,Ha),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),f.close(),f.fillAndStroke(),f.begin(),F.moveSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.lineSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),f.close(),f.fillAndStroke()):Ea&&!Ha&&Ja&&Ma?"frame"!=ua?(f.begin(),F.moveSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.paintNW(f,t,x,u,
+A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),"double"==ua&&(F.moveNEInner(f,t,x,u,A,H,db,O,na,Ha),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),F.paintNWInner(f,t,x,u,A,H,Za,O,na),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),F.paintSWInner(f,t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja)),f.stroke()):(f.begin(),F.moveSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.paintNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,
+t,x,u,A,H,db,O,Ha),F.lineNEInner(f,t,x,u,A,H,db,O,na,Ha),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),F.paintNWInner(f,t,x,u,A,H,Za,O,na),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),F.paintSWInner(f,t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),f.close(),f.fillAndStroke()):Ea&&Ha&&!Ja&&!Ma?"frame"!=ua?(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),"double"==ua&&(F.moveSEInner(f,t,x,u,A,H,
+eb,O,na,Ja),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea)),f.stroke()):(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.lineSEInner(f,t,x,u,A,H,eb,O,na,Ja),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),f.close(),f.fillAndStroke()):Ea&&Ha&&!Ja&&Ma?"frame"!=
+ua?(f.begin(),F.moveSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.paintNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),"double"==ua&&(F.moveSEInner(f,t,x,u,A,H,eb,O,na,Ja),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),F.paintNWInner(f,t,x,u,A,H,Za,O,na),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma)),f.stroke()):(f.begin(),F.moveSW(f,t,x,
+u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.paintNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.lineSEInner(f,t,x,u,A,H,eb,O,na,Ja),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),F.paintNWInner(f,t,x,u,A,H,Za,O,na),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),f.close(),f.fillAndStroke()):Ea&&Ha&&Ja&&!Ma?"frame"!=ua?(f.begin(),F.moveNW(f,t,x,
+u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),"double"==ua&&(F.moveSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea)),f.stroke()):(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,
+t,x,u,A,H,db,O,Ha),F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.lineSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),f.close(),f.fillAndStroke()):Ea&&Ha&&Ja&&Ma&&("frame"!=ua?(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintNW(f,
+t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),f.close(),"double"==ua&&(F.moveSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintSWInner(f,t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),F.paintNEInner(f,t,x,u,A,H,
+db,O,na),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),F.paintNWInner(f,t,x,u,A,H,Za,O,na),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),f.close()),f.stroke()):(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),f.close(),F.moveSWInner(f,t,x,u,A,H,fb,O,na,Ma),
+F.paintSWInner(f,t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),F.paintNWInner(f,t,x,u,A,H,Za,O,na),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),f.close(),f.fillAndStroke())):"frame"!=ua?(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),"double"==ua&&(F.moveNEInner(f,t,x,u,A,H,db,O,na,Ha),F.paintTopInner(f,
+t,x,u,A,H,Za,O,na,Ma,Ea)),f.stroke()):(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.lineNEInner(f,t,x,u,A,H,db,O,na,Ha),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),f.close(),f.fillAndStroke()):"frame"!=ua?(f.begin(),F.moveNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),"double"==ua&&(F.moveSEInner(f,t,x,u,A,H,eb,O,na,Ja),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha)),f.stroke()):(f.begin(),F.moveNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.lineSEInner(f,
+t,x,u,A,H,eb,O,na,Ja),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),f.close(),f.fillAndStroke()):"frame"!=ua?(f.begin(),F.moveSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),"double"==ua&&(F.moveSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja)),f.stroke()):(f.begin(),F.moveSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.lineSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),f.close(),f.fillAndStroke()):"frame"!=ua?(f.begin(),
+F.moveSW(f,t,x,u,A,H,Za,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),"double"==ua&&(F.moveNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma)),f.stroke()):(f.begin(),F.moveSW(f,t,x,u,A,H,Za,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.lineNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),f.close(),f.fillAndStroke());f.begin();F.paintFolds(f,t,x,u,A,H,Za,db,eb,fb,O,Ea,Ha,Ja,Ma);f.stroke()};wa.prototype.moveNW=function(f,t,x,u,A,F,H,da,O){"square"==H||"default"==
+H&&"square"==F||!O?f.moveTo(0,0):f.moveTo(0,da)};wa.prototype.moveNE=function(f,t,x,u,A,F,H,da,O){"square"==H||"default"==H&&"square"==F||!O?f.moveTo(u,0):f.moveTo(u-da,0)};wa.prototype.moveSE=function(f,t,x,u,A,F,H,da,O){"square"==H||"default"==H&&"square"==F||!O?f.moveTo(u,A):f.moveTo(u,A-da)};wa.prototype.moveSW=function(f,t,x,u,A,F,H,da,O){"square"==H||"default"==H&&"square"==F||!O?f.moveTo(0,A):f.moveTo(da,A)};wa.prototype.paintNW=function(f,t,x,u,A,F,H,da,O){if(O)if("rounded"==H||"default"==
+H&&"rounded"==F||"invRound"==H||"default"==H&&"invRound"==F){t=0;if("rounded"==H||"default"==H&&"rounded"==F)t=1;f.arcTo(da,da,0,0,t,da,0)}else("snip"==H||"default"==H&&"snip"==F||"fold"==H||"default"==H&&"fold"==F)&&f.lineTo(da,0);else f.lineTo(0,0)};wa.prototype.paintTop=function(f,t,x,u,A,F,H,da,O){"square"==H||"default"==H&&"square"==F||!O?f.lineTo(u,0):f.lineTo(u-da,0)};wa.prototype.paintNE=function(f,t,x,u,A,F,H,da,O){if(O)if("rounded"==H||"default"==H&&"rounded"==F||"invRound"==H||"default"==
+H&&"invRound"==F){t=0;if("rounded"==H||"default"==H&&"rounded"==F)t=1;f.arcTo(da,da,0,0,t,u,da)}else("snip"==H||"default"==H&&"snip"==F||"fold"==H||"default"==H&&"fold"==F)&&f.lineTo(u,da);else f.lineTo(u,0)};wa.prototype.paintRight=function(f,t,x,u,A,F,H,da,O){"square"==H||"default"==H&&"square"==F||!O?f.lineTo(u,A):f.lineTo(u,A-da)};wa.prototype.paintLeft=function(f,t,x,u,A,F,H,da,O){"square"==H||"default"==H&&"square"==F||!O?f.lineTo(0,0):f.lineTo(0,da)};wa.prototype.paintSE=function(f,t,x,u,A,
+F,H,da,O){if(O)if("rounded"==H||"default"==H&&"rounded"==F||"invRound"==H||"default"==H&&"invRound"==F){t=0;if("rounded"==H||"default"==H&&"rounded"==F)t=1;f.arcTo(da,da,0,0,t,u-da,A)}else("snip"==H||"default"==H&&"snip"==F||"fold"==H||"default"==H&&"fold"==F)&&f.lineTo(u-da,A);else f.lineTo(u,A)};wa.prototype.paintBottom=function(f,t,x,u,A,F,H,da,O){"square"==H||"default"==H&&"square"==F||!O?f.lineTo(0,A):f.lineTo(da,A)};wa.prototype.paintSW=function(f,t,x,u,A,F,H,da,O){if(O)if("rounded"==H||"default"==
+H&&"rounded"==F||"invRound"==H||"default"==H&&"invRound"==F){t=0;if("rounded"==H||"default"==H&&"rounded"==F)t=1;f.arcTo(da,da,0,0,t,0,A-da)}else("snip"==H||"default"==H&&"snip"==F||"fold"==H||"default"==H&&"fold"==F)&&f.lineTo(0,A-da);else f.lineTo(0,A)};wa.prototype.paintNWInner=function(f,t,x,u,A,F,H,da,O){if("rounded"==H||"default"==H&&"rounded"==F)f.arcTo(da-.5*O,da-.5*O,0,0,0,O,.5*O+da);else if("invRound"==H||"default"==H&&"invRound"==F)f.arcTo(da+O,da+O,0,0,1,O,O+da);else if("snip"==H||"default"==
+H&&"snip"==F)f.lineTo(O,.5*O+da);else if("fold"==H||"default"==H&&"fold"==F)f.lineTo(O+da,O+da),f.lineTo(O,O+da)};wa.prototype.paintTopInner=function(f,t,x,u,A,F,H,da,O,ua,na){ua||na?!ua&&na?f.lineTo(0,O):ua&&!na?f.lineTo(O,0):ua?"square"==H||"default"==H&&"square"==F?f.lineTo(O,O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.lineTo(da+.5*O,O):f.lineTo(da+O,O):f.lineTo(0,O):f.lineTo(0,0)};wa.prototype.paintNEInner=function(f,t,x,u,A,F,H,da,O){if("rounded"==H||"default"==
+H&&"rounded"==F)f.arcTo(da-.5*O,da-.5*O,0,0,0,u-da-.5*O,O);else if("invRound"==H||"default"==H&&"invRound"==F)f.arcTo(da+O,da+O,0,0,1,u-da-O,O);else if("snip"==H||"default"==H&&"snip"==F)f.lineTo(u-da-.5*O,O);else if("fold"==H||"default"==H&&"fold"==F)f.lineTo(u-da-O,da+O),f.lineTo(u-da-O,O)};wa.prototype.paintRightInner=function(f,t,x,u,A,F,H,da,O,ua,na){ua||na?!ua&&na?f.lineTo(u-O,0):ua&&!na?f.lineTo(u,O):ua?"square"==H||"default"==H&&"square"==F?f.lineTo(u-O,O):"rounded"==H||"default"==H&&"rounded"==
+F||"snip"==H||"default"==H&&"snip"==F?f.lineTo(u-O,da+.5*O):f.lineTo(u-O,da+O):f.lineTo(u-O,0):f.lineTo(u,0)};wa.prototype.paintLeftInner=function(f,t,x,u,A,F,H,da,O,ua,na){ua||na?!ua&&na?f.lineTo(O,A):ua&&!na?f.lineTo(0,A-O):ua?"square"==H||"default"==H&&"square"==F?f.lineTo(O,A-O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.lineTo(O,A-da-.5*O):f.lineTo(O,A-da-O):f.lineTo(O,A):f.lineTo(0,A)};wa.prototype.paintSEInner=function(f,t,x,u,A,F,H,da,O){if("rounded"==H||
+"default"==H&&"rounded"==F)f.arcTo(da-.5*O,da-.5*O,0,0,0,u-O,A-da-.5*O);else if("invRound"==H||"default"==H&&"invRound"==F)f.arcTo(da+O,da+O,0,0,1,u-O,A-da-O);else if("snip"==H||"default"==H&&"snip"==F)f.lineTo(u-O,A-da-.5*O);else if("fold"==H||"default"==H&&"fold"==F)f.lineTo(u-da-O,A-da-O),f.lineTo(u-O,A-da-O)};wa.prototype.paintBottomInner=function(f,t,x,u,A,F,H,da,O,ua,na){ua||na?!ua&&na?f.lineTo(u,A-O):ua&&!na?f.lineTo(u-O,A):"square"==H||"default"==H&&"square"==F||!ua?f.lineTo(u-O,A-O):"rounded"==
+H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.lineTo(u-da-.5*O,A-O):f.lineTo(u-da-O,A-O):f.lineTo(u,A)};wa.prototype.paintSWInner=function(f,t,x,u,A,F,H,da,O,ua){if(!ua)f.lineTo(O,A);else if("square"==H||"default"==H&&"square"==F)f.lineTo(O,A-O);else if("rounded"==H||"default"==H&&"rounded"==F)f.arcTo(da-.5*O,da-.5*O,0,0,0,da+.5*O,A-O);else if("invRound"==H||"default"==H&&"invRound"==F)f.arcTo(da+O,da+O,0,0,1,da+O,A-O);else if("snip"==H||"default"==H&&"snip"==F)f.lineTo(da+.5*
+O,A-O);else if("fold"==H||"default"==H&&"fold"==F)f.lineTo(O+da,A-da-O),f.lineTo(O+da,A-O)};wa.prototype.moveSWInner=function(f,t,x,u,A,F,H,da,O,ua){ua?"square"==H||"default"==H&&"square"==F?f.moveTo(O,A-O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.moveTo(O,A-da-.5*O):("invRound"==H||"default"==H&&"invRound"==F||"fold"==H||"default"==H&&"fold"==F)&&f.moveTo(O,A-da-O):f.moveTo(0,A-O)};wa.prototype.lineSWInner=function(f,t,x,u,A,F,H,da,O,ua){ua?"square"==H||"default"==
+H&&"square"==F?f.lineTo(O,A-O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.lineTo(O,A-da-.5*O):("invRound"==H||"default"==H&&"invRound"==F||"fold"==H||"default"==H&&"fold"==F)&&f.lineTo(O,A-da-O):f.lineTo(0,A-O)};wa.prototype.moveSEInner=function(f,t,x,u,A,F,H,da,O,ua){ua?"square"==H||"default"==H&&"square"==F?f.moveTo(u-O,A-O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.moveTo(u-O,A-da-.5*O):("invRound"==H||"default"==H&&"invRound"==
+F||"fold"==H||"default"==H&&"fold"==F)&&f.moveTo(u-O,A-da-O):f.moveTo(u-O,A)};wa.prototype.lineSEInner=function(f,t,x,u,A,F,H,da,O,ua){ua?"square"==H||"default"==H&&"square"==F?f.lineTo(u-O,A-O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.lineTo(u-O,A-da-.5*O):("invRound"==H||"default"==H&&"invRound"==F||"fold"==H||"default"==H&&"fold"==F)&&f.lineTo(u-O,A-da-O):f.lineTo(u-O,A)};wa.prototype.moveNEInner=function(f,t,x,u,A,F,H,da,O,ua){ua?"square"==H||"default"==H&&
+"square"==F||ua?f.moveTo(u-O,O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.moveTo(u-O,da+.5*O):("invRound"==H||"default"==H&&"invRound"==F||"fold"==H||"default"==H&&"fold"==F)&&f.moveTo(u-O,da+O):f.moveTo(u,O)};wa.prototype.lineNEInner=function(f,t,x,u,A,F,H,da,O,ua){ua?"square"==H||"default"==H&&"square"==F||ua?f.lineTo(u-O,O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.lineTo(u-O,da+.5*O):("invRound"==H||"default"==H&&"invRound"==
+F||"fold"==H||"default"==H&&"fold"==F)&&f.lineTo(u-O,da+O):f.lineTo(u,O)};wa.prototype.moveNWInner=function(f,t,x,u,A,F,H,da,O,ua,na){ua||na?!ua&&na?f.moveTo(O,0):ua&&!na?f.moveTo(0,O):"square"==H||"default"==H&&"square"==F?f.moveTo(O,O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.moveTo(O,da+.5*O):("invRound"==H||"default"==H&&"invRound"==F||"fold"==H||"default"==H&&"fold"==F)&&f.moveTo(O,da+O):f.moveTo(0,0)};wa.prototype.lineNWInner=function(f,t,x,u,A,F,H,da,O,
+ua,na){ua||na?!ua&&na?f.lineTo(O,0):ua&&!na?f.lineTo(0,O):"square"==H||"default"==H&&"square"==F?f.lineTo(O,O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.lineTo(O,da+.5*O):("invRound"==H||"default"==H&&"invRound"==F||"fold"==H||"default"==H&&"fold"==F)&&f.lineTo(O,da+O):f.lineTo(0,0)};wa.prototype.paintFolds=function(f,t,x,u,A,F,H,da,O,ua,na,Ua,hb,$a,Ea){if("fold"==F||"fold"==H||"fold"==da||"fold"==O||"fold"==ua)("fold"==H||"default"==H&&"fold"==F)&&Ua&&Ea&&(f.moveTo(0,
+na),f.lineTo(na,na),f.lineTo(na,0)),("fold"==da||"default"==da&&"fold"==F)&&Ua&&hb&&(f.moveTo(u-na,0),f.lineTo(u-na,na),f.lineTo(u,na)),("fold"==O||"default"==O&&"fold"==F)&&$a&&hb&&(f.moveTo(u-na,A),f.lineTo(u-na,A-na),f.lineTo(u,A-na)),("fold"==ua||"default"==ua&&"fold"==F)&&$a&&Ea&&(f.moveTo(0,A-na),f.lineTo(na,A-na),f.lineTo(na,A))};mxCellRenderer.registerShape(wa.prototype.cst.RECT2,wa);wa.prototype.constraints=null;mxUtils.extend(Qa,mxConnector);Qa.prototype.origPaintEdgeShape=Qa.prototype.paintEdgeShape;
+Qa.prototype.paintEdgeShape=function(f,t){for(var x=[],u=0;u<t.length;u++)x.push(mxUtils.clone(t[u]));u=f.state.dashed;var A=f.state.fixDash;Qa.prototype.origPaintEdgeShape.apply(this,[f,x]);3<=f.state.strokeWidth&&(x=mxUtils.getValue(this.style,"fillColor",null),null!=x&&(f.setStrokeColor(x),f.setStrokeWidth(f.state.strokeWidth-2),f.setDashed(u,A),Qa.prototype.origPaintEdgeShape.apply(this,[f,t])))};mxCellRenderer.registerShape("filledEdge",Qa);mxUtils.extend(Wa,mxConnector);Wa.prototype.defaultWidth=
+4;Wa.prototype.getEdgeWidth=function(){return Math.max(0,mxUtils.getNumber(this.style,"width",this.defaultWidth))};Wa.prototype.getFlowAnimationPath=function(){return mxShape.prototype.getFlowAnimationPath.call(this,2)};Wa.prototype.origPaintEdgeShape=Wa.prototype.paintEdgeShape;Wa.prototype.paintEdgeShape=function(f,t){for(var x=[],u=0;u<t.length;u++)x.push(mxUtils.clone(t[u]));u=f.state.dashed;var A=f.state.fixDash,F=this.getEdgeWidth();f.setStrokeWidth(F+2*this.strokewidth);f.setDashed(!1);Wa.prototype.origPaintEdgeShape.apply(this,
+[f,x]);x=mxUtils.getValue(this.style,"fillColor",null);null!=x&&(f.setStrokeWidth(F),f.setStrokeColor(x),f.setDashed(u,A),Wa.prototype.origPaintEdgeShape.apply(this,[f,t]))};mxCellRenderer.registerShape("pipe",Wa);mxUtils.extend(ab,mxRectangleShape);ab.prototype.size=10;ab.prototype.isRoundable=function(){return!0};ab.prototype.paintVertexShape=function(f,t,x,u,A){f.translate(t,x);t=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,null);null!=t&&t!=mxConstants.NONE&&(f.setStrokeColor("none"),
+f.begin(),f.rect(0,0,u,A),f.fillAndStroke(),f.setStrokeColor(this.stroke));var F=Math.max(5,parseFloat(mxUtils.getValue(this.style,"size",this.size)));t=A/2;x=this.strokewidth;x=this.isRounded?x/2:x;A-=x;F=Math.max(1,Math.round(u/F)-1);var H=u/(F+1),da=H/2;f.begin();f.moveTo(0,t);if(this.isRounded){f.curveTo(.4*da,t-.4*(t-x),.6*da,x,da,x);for(var O=0;O<F;O++){var ua=da+O*H,na=ua+H,Ua=0==O%2?A:x;f.curveTo(ua+.4*H,0==O%2?x:A,na-.4*H,Ua,na,Ua)}A=0==F%2?x:A;f.curveTo(da+F*H+.4*da,A,u-.4*da,t-(A==x?1:
+-1)*(t-x)*.4,u,t)}else{f.lineTo(da,x);for(O=0;O<F;O++)na=da+(O+1)*H,Ua=0==O%2?A:x,f.lineTo(na,Ua);f.lineTo(u,t)}f.stroke()};mxCellRenderer.registerShape("zigzag",ab);"undefined"!==typeof StyleFormatPanel&&function(){var f=StyleFormatPanel.prototype.getCustomColors;StyleFormatPanel.prototype.getCustomColors=function(){var t=this.editorUi.getSelectionState(),x=f.apply(this,arguments);"umlFrame"==t.style.shape&&x.push({title:mxResources.get("laneColor"),key:"swimlaneFillColor",defaultValue:"default"});
+return x}}();mxMarker.addMarker("dash",function(f,t,x,u,A,F,H,da,O,ua){var na=A*(H+O+1),Ua=F*(H+O+1);return function(){f.begin();f.moveTo(u.x-na/2-Ua/2,u.y-Ua/2+na/2);f.lineTo(u.x+Ua/2-3*na/2,u.y-3*Ua/2-na/2);f.stroke()}});mxMarker.addMarker("box",function(f,t,x,u,A,F,H,da,O,ua){var na=A*(H+O+1),Ua=F*(H+O+1),hb=u.x+na/2,$a=u.y+Ua/2;u.x-=na;u.y-=Ua;return function(){f.begin();f.moveTo(hb-na/2-Ua/2,$a-Ua/2+na/2);f.lineTo(hb-na/2+Ua/2,$a-Ua/2-na/2);f.lineTo(hb+Ua/2-3*na/2,$a-3*Ua/2-na/2);f.lineTo(hb-
+Ua/2-3*na/2,$a-3*Ua/2+na/2);f.close();ua?f.fillAndStroke():f.stroke()}});mxMarker.addMarker("cross",function(f,t,x,u,A,F,H,da,O,ua){var na=A*(H+O+1),Ua=F*(H+O+1);return function(){f.begin();f.moveTo(u.x-na/2-Ua/2,u.y-Ua/2+na/2);f.lineTo(u.x+Ua/2-3*na/2,u.y-3*Ua/2-na/2);f.moveTo(u.x-na/2+Ua/2,u.y-Ua/2-na/2);f.lineTo(u.x-Ua/2-3*na/2,u.y-3*Ua/2+na/2);f.stroke()}});mxMarker.addMarker("circle",ib);mxMarker.addMarker("circlePlus",function(f,t,x,u,A,F,H,da,O,ua){var na=u.clone(),Ua=ib.apply(this,arguments),
+hb=A*(H+2*O),$a=F*(H+2*O);return function(){Ua.apply(this,arguments);f.begin();f.moveTo(na.x-A*O,na.y-F*O);f.lineTo(na.x-2*hb+A*O,na.y-2*$a+F*O);f.moveTo(na.x-hb-$a+F*O,na.y-$a+hb-A*O);f.lineTo(na.x+$a-hb-F*O,na.y-$a-hb+A*O);f.stroke()}});mxMarker.addMarker("halfCircle",function(f,t,x,u,A,F,H,da,O,ua){var na=A*(H+O+1),Ua=F*(H+O+1),hb=u.clone();u.x-=na;u.y-=Ua;return function(){f.begin();f.moveTo(hb.x-Ua,hb.y+na);f.quadTo(u.x-Ua,u.y+na,u.x,u.y);f.quadTo(u.x+Ua,u.y-na,hb.x+Ua,hb.y-na);f.stroke()}});
+mxMarker.addMarker("async",function(f,t,x,u,A,F,H,da,O,ua){t=A*O*1.118;x=F*O*1.118;A*=H+O;F*=H+O;var na=u.clone();na.x-=t;na.y-=x;u.x+=-A-t;u.y+=-F-x;return function(){f.begin();f.moveTo(na.x,na.y);da?f.lineTo(na.x-A-F/2,na.y-F+A/2):f.lineTo(na.x+F/2-A,na.y-F-A/2);f.lineTo(na.x-A,na.y-F);f.close();ua?f.fillAndStroke():f.stroke()}});mxMarker.addMarker("openAsync",function(f){f=null!=f?f:2;return function(t,x,u,A,F,H,da,O,ua,na){F*=da+ua;H*=da+ua;var Ua=A.clone();return function(){t.begin();t.moveTo(Ua.x,
+Ua.y);O?t.lineTo(Ua.x-F-H/f,Ua.y-H+F/f):t.lineTo(Ua.x+H/f-F,Ua.y-H-F/f);t.stroke()}}}(2));mxUtils.extend(gb,mxRectangleShape);gb.prototype.arcStartY=25;gb.prototype.arcMidY=-25;gb.prototype.arcEndY=25;gb.prototype.paintForeground=function(f,t,x,u,A){mxRectangleShape.prototype.paintForeground.apply(this,arguments);if(null!=this.state){var F=this.state.view.graph;if(null==F.cellEditor||F.cellEditor.editingCell!=this.state.cell)if(F=F.convertValueToString(this.state.cell),null!=F&&0!=F.length){var H=
+parseFloat(mxUtils.getValue(this.style,"arcStartY",this.arcStartY)),da=parseFloat(mxUtils.getValue(this.style,"arcMidY",this.arcMidY)),O=parseFloat(mxUtils.getValue(this.style,"arcEndY",this.arcEndY)),ua=mxUtils.getValue(this.style,"curveType","round");if(null!=f.root&&"function"===typeof f.getBaseUrl){null!=this._curvedTextGroup&&null!=this._curvedTextGroup.parentNode&&this._curvedTextGroup.parentNode.removeChild(this._curvedTextGroup);this._curvedTextGroup=null;f.translate(t,x);var na=f.state,Ua=
+parseFloat(mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE)),hb=Ua/2,$a=(H+O)/2,Ea=Math.max(Math.abs(gb.prototype.arcMidY),Math.min($a,A-$a));da=Math.max(-Ea,Math.min(Ea,da));var Ha=$a+da;da=Math.min(H,O,Ha);Ea=Math.max(H,O,Ha);$a=Ea-da;var Ja=mxUtils.getValue(this.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE);this._curveYOffset=$a=Ja==mxConstants.ALIGN_TOP?hb-da:Ja==mxConstants.ALIGN_BOTTOM?A-hb-Ea:(A-$a)/2-da;Ja=u-hb;da=(hb+na.dx)*na.scale;
+H=(H+$a+na.dy)*na.scale;Ea=((hb+Ja)/2+na.dx)*na.scale;Ha=(Ha+$a+na.dy)*na.scale;hb=(Ja+na.dx)*na.scale;O=(O+$a+na.dy)*na.scale;"round"==ua?(Ja=Math.sqrt((hb-da)*(hb-da)+(O-H)*(O-H)),ua=(da+hb)/2,$a=(H+O)/2,ua=Math.sqrt((Ea-ua)*(Ea-ua)+(Ha-$a)*(Ha-$a)),.5>ua?(ua="M "+f.format(da)+" "+f.format(H)+" L "+f.format(hb)+" "+f.format(O),da=Ja):(Ja/=2,$a=Ja*Ja/(2*ua)+ua/2,Ha=0<(hb-da)*(Ha-H)-(O-H)*(Ea-da)?0:1,Ea=ua>Ja?1:0,ua="M "+f.format(da)+" "+f.format(H)+" A "+f.format($a)+" "+f.format($a)+" 0 "+Ea+" "+
+Ha+" "+f.format(hb)+" "+f.format(O),da=2*Math.asin(Math.min(1,Ja/$a)),Ea&&(da=2*Math.PI-da),da*=$a)):(ua="M "+f.format(da)+" "+f.format(H)+" Q "+f.format(Ea)+" "+f.format(Ha)+" "+f.format(hb)+" "+f.format(O),$a=Ea-da,Ja=Ha-H,Ea=hb-Ea,Ha=O-Ha,da=hb-da,H=O-H,da=(Math.sqrt($a*$a+Ja*Ja)+Math.sqrt(Ea*Ea+Ha*Ha)+Math.sqrt(da*da+H*H))/2);O=(f.idPrefix||"")+"ctp-"+mxObjectIdentity.get(this);Ea=(H=!mxClient.IS_CHROMEAPP&&f.root.ownerDocument==document)?f.getBaseUrl().replace(/([\(\)])/g,"\\$1"):"";hb=f.createElement("g");
+Ha=na.transform||"";0<Ha.length&&hb.setAttribute("transform",Ha);1>na.alpha&&hb.setAttribute("opacity",na.alpha);Ha=f.createElement("defs");$a=f.createElement("path");$a.setAttribute("id",O);$a.setAttribute("d",ua);Ha.appendChild($a);hb.appendChild(Ha);ua=f.createElement("text");$a=mxUtils.getValue(this.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY);Ja=mxUtils.getValue(this.style,mxConstants.STYLE_FONTCOLOR,"#000000");Ha=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSTYLE,
+0);ua.setAttribute("font-size",Ua*na.scale+"px");ua.setAttribute("font-family",mxUtils.parseCssFontFamily($a));ua.setAttribute("fill",Ja);(Ha&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&ua.setAttribute("font-weight","bold");(Ha&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&ua.setAttribute("font-style","italic");na=[];(Ha&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&na.push("underline");(Ha&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&na.push("line-through");
+0<na.length&&ua.setAttribute("text-decoration",na.join(" "));Ua=mxUtils.getValue(this.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER);Ha="middle";na="50%";Ua==mxConstants.ALIGN_LEFT?(Ha="start",na="0%"):Ua==mxConstants.ALIGN_RIGHT&&(Ha="end",na="100%");ua.setAttribute("text-anchor",Ha);ua.setAttribute("dominant-baseline","central");Ua=f.createElement("textPath");Ua.setAttribute("startOffset",na);na=(H?Ea:"")+"#"+O;Ua.setAttribute("href",na);H&&Ua.setAttributeNS("http://www.w3.org/1999/xlink",
+"xlink:href",na);Ua.setAttribute("textLength",da);Ua.setAttribute("lengthAdjust","spacing");mxUtils.write(Ua,F);ua.appendChild(Ua);hb.appendChild(ua);f.root.appendChild(hb);this._curvedTextGroup=hb}else f.text(t+u/2,x+A/2,0,0,F,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,!1,"",null,!1,0)}}};gb.prototype.destroy=function(){null!=this._curvedTextGroup&&null!=this._curvedTextGroup.parentNode&&this._curvedTextGroup.parentNode.removeChild(this._curvedTextGroup);this._curvedTextGroup=null;mxRectangleShape.prototype.destroy.apply(this,
+arguments)};mxCellRenderer.registerShape("curvedText",gb);if("undefined"!==typeof mxVertexHandler){var vb=function(f,t,x){return ob(f,["width"],t,function(u,A,F,H,da){da=f.shape.getEdgeWidth()*f.view.scale+x;return new mxPoint(H.x+A*u/4+F*da/2,H.y+F*u/4-A*da/2)},function(u,A,F,H,da,O){u=Math.sqrt(mxUtils.ptSegDistSq(H.x,H.y,da.x,da.y,O.x,O.y));f.style.width=Math.round(Math.round(2*u)/f.view.scale-x)})},ob=function(f,t,x,u,A){return nb(f,t,function(F){var H=f.absolutePoints;if(null!=H&&0<H.length){var da=
+H.length-1;F=f.view.translate;var O=f.view.scale,ua=x?H[0]:H[da];H=x?H[1]:H[da-1];da=H.x-ua.x;var na=H.y-ua.y,Ua=Math.sqrt(da*da+na*na);ua=u.call(this,Ua,da/Ua,na/Ua,ua,H);return new mxPoint(ua.x/O-F.x,ua.y/O-F.y)}return null},function(F,H,da){var O=f.absolutePoints,ua=O.length-1;F=f.view.translate;var na=f.view.scale,Ua=x?O[0]:O[ua];O=x?O[1]:O[ua-1];ua=O.x-Ua.x;var hb=O.y-Ua.y,$a=Math.sqrt(ua*ua+hb*hb);H.x=(H.x+F.x)*na;H.y=(H.y+F.y)*na;A.call(this,$a,ua/$a,hb/$a,Ua,O,H,da)})},tb=function(f,t){return function(x){return[ob(x,
+["startWidth"],!0,function(u,A,F,H,da){da=mxUtils.getNumber(x.style,"startWidth",f)*x.view.scale+t;return new mxPoint(H.x+A*u/4+F*da/2,H.y+F*u/4-A*da/2)},function(u,A,F,H,da,O){u=Math.sqrt(mxUtils.ptSegDistSq(H.x,H.y,da.x,da.y,O.x,O.y));x.style.startWidth=Math.round(2*u)/x.view.scale-t})]}},xb=function(f){return function(t){return[nb(t,["arrowWidth","arrowSize"],function(x){var u=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"arrowWidth",cb.prototype.arrowWidth))),A=Math.max(0,Math.min(f,
+mxUtils.getValue(this.state.style,"arrowSize",cb.prototype.arrowSize)));return new mxPoint(x.x+(1-A)*x.width,x.y+(1-u)*x.height/2)},function(x,u){this.state.style.arrowWidth=Math.max(0,Math.min(1,Math.abs(x.y+x.height/2-u.y)/x.height*2));this.state.style.arrowSize=Math.max(0,Math.min(f,(x.x+x.width-u.x)/x.width))})]}},Gb=function(f){return function(t){return[nb(t,["size"],function(x){var u=Math.max(0,Math.min(.5*x.height,parseFloat(mxUtils.getValue(this.state.style,"size",f))));return new mxPoint(x.x,
+x.y+u)},function(x,u){this.state.style.size=Math.max(0,u.y-x.y)},!0)]}},yb=function(f,t,x){return function(u){var A=[nb(u,["size"],function(F){var H=Math.max(0,Math.min(F.width,Math.min(F.height,parseFloat(mxUtils.getValue(this.state.style,"size",t)))))*f;return new mxPoint(F.x+H,F.y+H)},function(F,H){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(F.width,H.x-F.x),Math.min(F.height,H.y-F.y)))/f)},!1)];x&&mxUtils.getValue(u.style,mxConstants.STYLE_ROUNDED,!1)&&A.push(Ab(u));return A}},
+Db=function(f,t,x,u,A){x=null!=x?x:.5;return function(F){var H=[nb(F,["size"],function(da){var O=null!=A?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,ua=parseFloat(mxUtils.getValue(this.state.style,"size",O?A:f));return new mxPoint(da.x+Math.max(0,Math.min(.5*da.width,ua*(O?1:da.width))),da.getCenterY())},function(da,O,ua){da=null!=A&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?O.x-da.x:Math.max(0,Math.min(x,(O.x-da.x)/da.width));this.state.style.size=da},!1,u)];t&&mxUtils.getValue(F.style,
+mxConstants.STYLE_ROUNDED,!1)&&H.push(Ab(F));return H}},Hb=function(f,t,x){f=null!=f?f:.5;return function(u){var A=[nb(u,["size"],function(F){var H=null!=x?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,da=Math.max(0,parseFloat(mxUtils.getValue(this.state.style,"size",H?x:t)));return new mxPoint(F.x+Math.min(.75*F.width*f,da*(H?.75:.75*F.width)),F.y+F.height/4)},function(F,H){F=null!=x&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?H.x-F.x:Math.max(0,Math.min(f,(H.x-F.x)/F.width*
+.75));this.state.style.size=F},!1,!0)];mxUtils.getValue(u.style,mxConstants.STYLE_ROUNDED,!1)&&A.push(Ab(u));return A}},Eb=function(){return function(f){var t=[];mxUtils.getValue(f.style,mxConstants.STYLE_ROUNDED,!1)&&t.push(Ab(f));return t}},Ab=function(f,t){return nb(f,[mxConstants.STYLE_ARCSIZE],function(x){var u=null!=t?t:x.height/8;if("1"==mxUtils.getValue(f.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)){var A=mxUtils.getValue(f.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;return new mxPoint(x.x+
+x.width-Math.min(x.width/2,A),x.y+u)}A=Math.max(0,parseFloat(mxUtils.getValue(f.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)))/100;return new mxPoint(x.x+x.width-Math.min(Math.max(x.width/2,x.height/2),Math.min(x.width,x.height)*A),x.y+u)},function(x,u,A){"1"==mxUtils.getValue(f.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)?this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.max(0,Math.min(x.width,2*(x.x+x.width-u.x)))):this.state.style[mxConstants.STYLE_ARCSIZE]=
+Math.round(Math.min(50,Math.max(0,100*(x.width-u.x+x.x)/Math.min(x.width,x.height))))})},nb=function(f,t,x,u,A,F,H){var da=new mxHandle(f,null,mxVertexHandler.prototype.secondaryHandleImage);da.execute=function(ua){for(var na=0;na<t.length;na++)this.copyStyle(t[na]);H&&H(ua)};da.getPosition=x;da.setPosition=u;da.ignoreGrid=null!=A?A:!0;if(F){var O=da.positionChanged;da.positionChanged=function(){O.apply(this,arguments);f.view.invalidate(this.state.cell);f.view.validate()}}return da},Cb={link:function(f){return[vb(f,
+!0,10),vb(f,!1,10)]},pipe:function(f){return[vb(f,!0,10),vb(f,!1,10)]},flexArrow:function(f){var t=f.view.graph.gridSize/f.view.scale,x=[];mxUtils.getValue(f.style,mxConstants.STYLE_STARTARROW,mxConstants.NONE)!=mxConstants.NONE&&(x.push(ob(f,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(u,A,F,H,da){u=(f.shape.getEdgeWidth()-f.shape.strokewidth)*f.view.scale;da=3*mxUtils.getNumber(f.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*f.view.scale;return new mxPoint(H.x+
+A*(da+f.shape.strokewidth*f.view.scale)+F*u/2,H.y+F*(da+f.shape.strokewidth*f.view.scale)-A*u/2)},function(u,A,F,H,da,O,ua){u=Math.sqrt(mxUtils.ptSegDistSq(H.x,H.y,da.x,da.y,O.x,O.y));A=mxUtils.ptLineDist(H.x,H.y,H.x+F,H.y-A,O.x,O.y);f.style[mxConstants.STYLE_STARTSIZE]=Math.round((A-f.shape.strokewidth)/3/f.view.scale);f.style.width=Math.round(2*u/f.view.scale);if(mxEvent.isShiftDown(ua.getEvent())||mxEvent.isControlDown(ua.getEvent()))f.style[mxConstants.STYLE_ENDSIZE]=f.style[mxConstants.STYLE_STARTSIZE];
+mxEvent.isAltDown(ua.getEvent())||Math.abs(parseFloat(f.style[mxConstants.STYLE_STARTSIZE])-parseFloat(f.style[mxConstants.STYLE_ENDSIZE]))<t/6&&(f.style[mxConstants.STYLE_STARTSIZE]=f.style[mxConstants.STYLE_ENDSIZE])})),x.push(ob(f,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(u,A,F,H,da){u=(f.shape.getStartArrowWidth()-f.shape.strokewidth)*f.view.scale;da=3*mxUtils.getNumber(f.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*f.view.scale;
+return new mxPoint(H.x+A*(da+f.shape.strokewidth*f.view.scale)+F*u/2,H.y+F*(da+f.shape.strokewidth*f.view.scale)-A*u/2)},function(u,A,F,H,da,O,ua){u=Math.sqrt(mxUtils.ptSegDistSq(H.x,H.y,da.x,da.y,O.x,O.y));A=mxUtils.ptLineDist(H.x,H.y,H.x+F,H.y-A,O.x,O.y);f.style[mxConstants.STYLE_STARTSIZE]=Math.round((A-f.shape.strokewidth)/3/f.view.scale);f.style.startWidth=Math.round(Math.max(0,Math.round(2*u)-f.shape.getEdgeWidth())/f.view.scale);if(mxEvent.isShiftDown(ua.getEvent())||mxEvent.isControlDown(ua.getEvent()))f.style[mxConstants.STYLE_ENDSIZE]=
+f.style[mxConstants.STYLE_STARTSIZE],f.style.endWidth=f.style.startWidth;mxEvent.isAltDown(ua.getEvent())||(Math.abs(parseFloat(f.style[mxConstants.STYLE_STARTSIZE])-parseFloat(f.style[mxConstants.STYLE_ENDSIZE]))<t/6&&(f.style[mxConstants.STYLE_STARTSIZE]=f.style[mxConstants.STYLE_ENDSIZE]),Math.abs(parseFloat(f.style.startWidth)-parseFloat(f.style.endWidth))<t&&(f.style.startWidth=f.style.endWidth))})));mxUtils.getValue(f.style,mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE&&(x.push(ob(f,
+["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(u,A,F,H,da){u=(f.shape.getEdgeWidth()-f.shape.strokewidth)*f.view.scale;da=3*mxUtils.getNumber(f.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5)*f.view.scale;return new mxPoint(H.x+A*(da+f.shape.strokewidth*f.view.scale)-F*u/2,H.y+F*(da+f.shape.strokewidth*f.view.scale)+A*u/2)},function(u,A,F,H,da,O,ua){u=Math.sqrt(mxUtils.ptSegDistSq(H.x,H.y,da.x,da.y,O.x,O.y));A=mxUtils.ptLineDist(H.x,H.y,H.x+F,H.y-A,O.x,O.y);
+f.style[mxConstants.STYLE_ENDSIZE]=Math.round((A-f.shape.strokewidth)/3/f.view.scale);f.style.width=Math.round(2*u/f.view.scale);if(mxEvent.isShiftDown(ua.getEvent())||mxEvent.isControlDown(ua.getEvent()))f.style[mxConstants.STYLE_STARTSIZE]=f.style[mxConstants.STYLE_ENDSIZE];mxEvent.isAltDown(ua.getEvent())||Math.abs(parseFloat(f.style[mxConstants.STYLE_ENDSIZE])-parseFloat(f.style[mxConstants.STYLE_STARTSIZE]))<t/6&&(f.style[mxConstants.STYLE_ENDSIZE]=f.style[mxConstants.STYLE_STARTSIZE])})),x.push(ob(f,
+["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(u,A,F,H,da){u=(f.shape.getEndArrowWidth()-f.shape.strokewidth)*f.view.scale;da=3*mxUtils.getNumber(f.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5)*f.view.scale;return new mxPoint(H.x+A*(da+f.shape.strokewidth*f.view.scale)-F*u/2,H.y+F*(da+f.shape.strokewidth*f.view.scale)+A*u/2)},function(u,A,F,H,da,O,ua){u=Math.sqrt(mxUtils.ptSegDistSq(H.x,H.y,da.x,da.y,O.x,O.y));A=mxUtils.ptLineDist(H.x,H.y,H.x+
+F,H.y-A,O.x,O.y);f.style[mxConstants.STYLE_ENDSIZE]=Math.round((A-f.shape.strokewidth)/3/f.view.scale);f.style.endWidth=Math.round(Math.max(0,Math.round(2*u)-f.shape.getEdgeWidth())/f.view.scale);if(mxEvent.isShiftDown(ua.getEvent())||mxEvent.isControlDown(ua.getEvent()))f.style[mxConstants.STYLE_STARTSIZE]=f.style[mxConstants.STYLE_ENDSIZE],f.style.startWidth=f.style.endWidth;mxEvent.isAltDown(ua.getEvent())||(Math.abs(parseFloat(f.style[mxConstants.STYLE_ENDSIZE])-parseFloat(f.style[mxConstants.STYLE_STARTSIZE]))<
+t/6&&(f.style[mxConstants.STYLE_ENDSIZE]=f.style[mxConstants.STYLE_STARTSIZE]),Math.abs(parseFloat(f.style.endWidth)-parseFloat(f.style.startWidth))<t&&(f.style.endWidth=f.style.startWidth))})));return x},swimlane:function(f){var t=[];if(mxUtils.getValue(f.style,mxConstants.STYLE_ROUNDED)){var x=parseFloat(mxUtils.getValue(f.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));t.push(Ab(f,x/2))}t.push(nb(f,[mxConstants.STYLE_STARTSIZE],function(u){var A=parseFloat(mxUtils.getValue(f.style,
+mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));return 1==mxUtils.getValue(f.style,mxConstants.STYLE_HORIZONTAL,1)?new mxPoint(u.getCenterX(),u.y+Math.max(0,Math.min(u.height,A))):new mxPoint(u.x+Math.max(0,Math.min(u.width,A)),u.getCenterY())},function(u,A){f.style[mxConstants.STYLE_STARTSIZE]=1==mxUtils.getValue(this.state.style,mxConstants.STYLE_HORIZONTAL,1)?Math.round(Math.max(0,Math.min(u.height,A.y-u.y))):Math.round(Math.max(0,Math.min(u.width,A.x-u.x)))},!1,null,function(u){var A=
+f.view.graph;if(!mxEvent.isShiftDown(u.getEvent())&&!mxEvent.isControlDown(u.getEvent())&&(A.isTableRow(f.cell)||A.isTableCell(f.cell))){u=A.getSwimlaneDirection(f.style);var F=A.model.getParent(f.cell);F=A.model.getChildCells(F,!0);for(var H=[],da=0;da<F.length;da++)F[da]!=f.cell&&A.isSwimlane(F[da])&&A.getSwimlaneDirection(A.getCurrentCellStyle(F[da]))==u&&H.push(F[da]);A.setCellStyles(mxConstants.STYLE_STARTSIZE,f.style[mxConstants.STYLE_STARTSIZE],H)}}));return t},label:Eb(),ext:Eb(),rectangle:Eb(),
+triangle:Eb(),rhombus:Eb(),umlLifeline:function(f){return[nb(f,["size"],function(t){var x=Math.max(0,Math.min(t.height,parseFloat(mxUtils.getValue(this.state.style,"size",X.prototype.size))));return new mxPoint(t.getCenterX(),t.y+x)},function(t,x){this.state.style.size=Math.round(Math.max(0,Math.min(t.height,x.y-t.y)))},!1)]},umlFrame:function(f){return[nb(f,["width","height"],function(t){var x=Math.max(ha.prototype.corner,Math.min(t.width,mxUtils.getValue(this.state.style,"width",ha.prototype.width))),
+u=Math.max(1.5*ha.prototype.corner,Math.min(t.height,mxUtils.getValue(this.state.style,"height",ha.prototype.height)));return new mxPoint(t.x+x,t.y+u)},function(t,x){this.state.style.width=Math.round(Math.max(ha.prototype.corner,Math.min(t.width,x.x-t.x)));this.state.style.height=Math.round(Math.max(1.5*ha.prototype.corner,Math.min(t.height,x.y-t.y)))},!1)]},process:function(f){var t=[nb(f,["size"],function(x){var u="0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),A=parseFloat(mxUtils.getValue(this.state.style,
+"size",ja.prototype.size));return u?new mxPoint(x.x+A,x.y+x.height/4):new mxPoint(x.x+x.width*A,x.y+x.height/4)},function(x,u){x="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(.5*x.width,u.x-x.x)):Math.max(0,Math.min(.5,(u.x-x.x)/x.width));this.state.style.size=x},!1)];mxUtils.getValue(f.style,mxConstants.STYLE_ROUNDED,!1)&&t.push(Ab(f));return t},cross:function(f){return[nb(f,["size"],function(t){var x=Math.min(t.width,t.height);x=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,
+"size",xa.prototype.size)))*x/2;return new mxPoint(t.getCenterX()-x,t.getCenterY()-x)},function(t,x){var u=Math.min(t.width,t.height);this.state.style.size=Math.max(0,Math.min(1,Math.min(Math.max(0,t.getCenterY()-x.y)/u*2,Math.max(0,t.getCenterX()-x.x)/u*2)))})]},note:function(f){return[nb(f,["size"],function(t){var x=Math.max(0,Math.min(t.width,Math.min(t.height,parseFloat(mxUtils.getValue(this.state.style,"size",D.prototype.size)))));return new mxPoint(t.x+t.width-x,t.y+x)},function(t,x){this.state.style.size=
+Math.round(Math.max(0,Math.min(Math.min(t.width,t.x+t.width-x.x),Math.min(t.height,x.y-t.y))))})]},note2:function(f){return[nb(f,["size"],function(t){var x=Math.max(0,Math.min(t.width,Math.min(t.height,parseFloat(mxUtils.getValue(this.state.style,"size",Q.prototype.size)))));return new mxPoint(t.x+t.width-x,t.y+x)},function(t,x){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(t.width,t.x+t.width-x.x),Math.min(t.height,x.y-t.y))))})]},manualInput:function(f){var t=[nb(f,["size"],function(x){var u=
+Math.max(0,Math.min(x.height,mxUtils.getValue(this.state.style,"size",Ta.prototype.size)));return new mxPoint(x.x+x.width/4,x.y+3*u/4)},function(x,u){this.state.style.size=Math.round(Math.max(0,Math.min(x.height,4*(u.y-x.y)/3)))},!1)];mxUtils.getValue(f.style,mxConstants.STYLE_ROUNDED,!1)&&t.push(Ab(f));return t},dataStorage:function(f){return[nb(f,["size"],function(t){var x="0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),u=parseFloat(mxUtils.getValue(this.state.style,"size",x?Ba.prototype.fixedSize:
+Ba.prototype.size));return new mxPoint(t.x+t.width-u*(x?1:t.width),t.getCenterY())},function(t,x){t="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(t.width,t.x+t.width-x.x)):Math.max(0,Math.min(1,(t.x+t.width-x.x)/t.width));this.state.style.size=t},!1)]},callout:function(f){var t=[nb(f,["size","position"],function(x){var u=Math.max(0,Math.min(x.height,mxUtils.getValue(this.state.style,"size",ka.prototype.size))),A=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,
+"position",ka.prototype.position)));mxUtils.getValue(this.state.style,"base",ka.prototype.base);return new mxPoint(x.x+A*x.width,x.y+x.height-u)},function(x,u){mxUtils.getValue(this.state.style,"base",ka.prototype.base);this.state.style.size=Math.round(Math.max(0,Math.min(x.height,x.y+x.height-u.y)));this.state.style.position=Math.round(100*Math.max(0,Math.min(1,(u.x-x.x)/x.width)))/100},!1),nb(f,["position2"],function(x){var u=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position2",ka.prototype.position2)));
+return new mxPoint(x.x+u*x.width,x.y+x.height)},function(x,u){this.state.style.position2=Math.round(100*Math.max(0,Math.min(1,(u.x-x.x)/x.width)))/100},!1),nb(f,["base"],function(x){var u=Math.max(0,Math.min(x.height,mxUtils.getValue(this.state.style,"size",ka.prototype.size))),A=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",ka.prototype.position))),F=Math.max(0,Math.min(x.width,mxUtils.getValue(this.state.style,"base",ka.prototype.base)));return new mxPoint(x.x+Math.min(x.width,
+A*x.width+F),x.y+x.height-u)},function(x,u){var A=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",ka.prototype.position)));this.state.style.base=Math.round(Math.max(0,Math.min(x.width,u.x-x.x-A*x.width)))},!1)];mxUtils.getValue(f.style,mxConstants.STYLE_ROUNDED,!1)&&t.push(Ab(f));return t},internalStorage:function(f){var t=[nb(f,["dx","dy"],function(x){var u=Math.max(0,Math.min(x.width,mxUtils.getValue(this.state.style,"dx",La.prototype.dx))),A=Math.max(0,Math.min(x.height,mxUtils.getValue(this.state.style,
+"dy",La.prototype.dy)));return new mxPoint(x.x+u,x.y+A)},function(x,u){this.state.style.dx=Math.round(Math.max(0,Math.min(x.width,u.x-x.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(x.height,u.y-x.y)))},!1)];mxUtils.getValue(f.style,mxConstants.STYLE_ROUNDED,!1)&&t.push(Ab(f));return t},module:function(f){return[nb(f,["jettyWidth","jettyHeight"],function(t){var x=Math.max(0,Math.min(t.width,mxUtils.getValue(this.state.style,"jettyWidth",za.prototype.jettyWidth))),u=Math.max(0,Math.min(t.height,
+mxUtils.getValue(this.state.style,"jettyHeight",za.prototype.jettyHeight)));return new mxPoint(t.x+x/2,t.y+2*u)},function(t,x){this.state.style.jettyWidth=Math.round(2*Math.max(0,Math.min(t.width,x.x-t.x)));this.state.style.jettyHeight=Math.round(Math.max(0,Math.min(t.height,x.y-t.y))/2)})]},corner:function(f){return[nb(f,["dx","dy"],function(t){var x=Math.max(0,Math.min(t.width,mxUtils.getValue(this.state.style,"dx",Ca.prototype.dx))),u=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,
+"dy",Ca.prototype.dy)));return new mxPoint(t.x+x,t.y+u)},function(t,x){this.state.style.dx=Math.round(Math.max(0,Math.min(t.width,x.x-t.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(t.height,x.y-t.y)))},!1)]},tee:function(f){return[nb(f,["dx","dy"],function(t){var x=Math.max(0,Math.min(t.width,mxUtils.getValue(this.state.style,"dx",Ka.prototype.dx))),u=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"dy",Ka.prototype.dy)));return new mxPoint(t.x+(t.width+x)/2,t.y+u)},function(t,
+x){this.state.style.dx=Math.round(Math.max(0,2*Math.min(t.width/2,x.x-t.x-t.width/2)));this.state.style.dy=Math.round(Math.max(0,Math.min(t.height,x.y-t.y)))},!1)]},singleArrow:xb(1),doubleArrow:xb(.5),"mxgraph.arrows2.wedgeArrow":tb(20,20),"mxgraph.arrows2.wedgeArrowDashed":tb(20,20),"mxgraph.arrows2.wedgeArrowDashed2":tb(20,20),folder:function(f){return[nb(f,["tabWidth","tabHeight"],function(t){var x=Math.max(0,Math.min(t.width,mxUtils.getValue(this.state.style,"tabWidth",p.prototype.tabWidth))),
+u=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"tabHeight",p.prototype.tabHeight)));mxUtils.getValue(this.state.style,"tabPosition",p.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(x=t.width-x);return new mxPoint(t.x+x,t.y+u)},function(t,x){var u=Math.max(0,Math.min(t.width,x.x-t.x));mxUtils.getValue(this.state.style,"tabPosition",p.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(u=t.width-u);this.state.style.tabWidth=Math.round(u);this.state.style.tabHeight=Math.round(Math.max(0,
+Math.min(t.height,x.y-t.y)))},!1)]},document:function(f){return[nb(f,["size"],function(t){var x=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",K.prototype.size))));return new mxPoint(t.x+3*t.width/4,t.y+(1-x)*t.height)},function(t,x){this.state.style.size=Math.max(0,Math.min(1,(t.y+t.height-x.y)/t.height))},!1)]},tape:function(f){return[nb(f,["size"],function(t){var x=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",I.prototype.size))));return new mxPoint(t.getCenterX(),
+t.y+x*t.height/2)},function(t,x){this.state.style.size=Math.max(0,Math.min(1,(x.y-t.y)/t.height*2))},!1)]},isoCube2:function(f){return[nb(f,["isoAngle"],function(t){var x=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.state.style,"isoAngle",N.isoAngle))))*Math.PI/200;return new mxPoint(t.x,t.y+Math.min(t.width*Math.tan(x),.5*t.height))},function(t,x){this.state.style.isoAngle=Math.max(0,50*(x.y-t.y)/t.height)},!0)]},cylinder2:Gb(c.prototype.size),cylinder3:Gb(g.prototype.size),offPageConnector:function(f){return[nb(f,
+["size"],function(t){var x=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",Aa.prototype.size))));return new mxPoint(t.getCenterX(),t.y+(1-x)*t.height)},function(t,x){this.state.style.size=Math.max(0,Math.min(1,(t.y+t.height-x.y)/t.height))},!1)]},"mxgraph.basic.rect":function(f){var t=[Graph.createHandle(f,["size"],function(x){var u=Math.max(0,Math.min(x.width/2,x.height/2,parseFloat(mxUtils.getValue(this.state.style,"size",this.size))));return new mxPoint(x.x+u,x.y+u)},
+function(x,u){this.state.style.size=Math.round(100*Math.max(0,Math.min(x.height/2,x.width/2,u.x-x.x)))/100})];f=Graph.createHandle(f,["indent"],function(x){var u=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,"indent",this.dx2))));return new mxPoint(x.x+.75*x.width,x.y+u*x.height/200)},function(x,u){this.state.style.indent=Math.round(100*Math.max(0,Math.min(100,200*(u.y-x.y)/x.height)))/100});t.push(f);return t},curvedText:function(f){var t=function(x){return(null!=x.shape?x.shape._curveYOffset:
+0)||0};return[nb(f,["arcStartY"],function(x){var u=parseFloat(mxUtils.getValue(this.state.style,"arcStartY",gb.prototype.arcStartY)),A=t(this.state);return new mxPoint(x.x+10,x.y+Math.max(0,Math.min(x.height,u+A)))},function(x,u){var A=t(this.state);this.state.style.arcStartY=Math.round(Math.max(0,Math.min(x.height,u.y-x.y))-A)},!1),nb(f,["arcMidY"],function(x){var u=parseFloat(mxUtils.getValue(this.state.style,"arcStartY",gb.prototype.arcStartY)),A=parseFloat(mxUtils.getValue(this.state.style,"arcEndY",
+gb.prototype.arcEndY)),F=parseFloat(mxUtils.getValue(this.state.style,"arcMidY",gb.prototype.arcMidY));u=(u+A)/2;A=t(this.state);return new mxPoint(x.x+x.width/2+10,x.y+Math.max(0,Math.min(x.height,u+F+A)))},function(x,u){var A=parseFloat(mxUtils.getValue(this.state.style,"arcStartY",gb.prototype.arcStartY)),F=parseFloat(mxUtils.getValue(this.state.style,"arcEndY",gb.prototype.arcEndY));A=(A+F)/2;F=t(this.state);var H=Math.max(Math.abs(gb.prototype.arcMidY),Math.min(A,x.height-A));this.state.style.arcMidY=
+Math.round(Math.max(-H,Math.min(H,u.y-x.y-F-A)))},!1),nb(f,["arcEndY"],function(x){var u=parseFloat(mxUtils.getValue(this.state.style,"arcEndY",gb.prototype.arcEndY)),A=t(this.state);return new mxPoint(x.x+x.width-10,x.y+Math.max(0,Math.min(x.height,u+A)))},function(x,u){var A=t(this.state);this.state.style.arcEndY=Math.round(Math.max(0,Math.min(x.height,u.y-x.y))-A)},!1)]},step:Db(pa.prototype.size,!0,null,!0,pa.prototype.fixedSize),hexagon:Db(ba.prototype.size,!0,.5,!0,ba.prototype.fixedSize),curlyBracket:Db(M.prototype.size,
+!1),display:Db(va.prototype.size,!1),cube:yb(1,n.prototype.size,!1),card:yb(.5,E.prototype.size,!0),loopLimit:yb(.5,sa.prototype.size,!0),trapezoid:Hb(.5,W.prototype.size,W.prototype.fixedSize),parallelogram:Hb(1,R.prototype.size,R.prototype.fixedSize),zigzag:function(f){return[nb(f,["size"],function(t){var x=Math.max(5,parseFloat(mxUtils.getValue(this.state.style,"size",ab.prototype.size)));return new mxPoint(t.x+3*x,t.y)},function(t,x){this.state.style.size=Math.max(5,Math.round((x.x-t.x)/3))},
+!1)]}};Graph.createHandle=nb;Graph.handleFactory=Cb;var Jb=mxVertexHandler.prototype.createCustomHandles;mxVertexHandler.prototype.createCustomHandles=function(){var f=Jb.apply(this,arguments);if(this.graph.isCellRotatable(this.state.cell)){var t=this.state.style.shape;null==mxCellRenderer.defaultShapes[t]&&null==mxStencilRegistry.getStencil(t)?t=mxConstants.SHAPE_RECTANGLE:this.state.view.graph.isSwimlane(this.state.cell)&&(t=mxConstants.SHAPE_SWIMLANE);t=Cb[t];null==t&&null!=this.state.shape&&this.state.shape.isRoundable()&&
+(t=Cb[mxConstants.SHAPE_RECTANGLE]);null!=t&&(t=t(this.state),null!=t&&(f=null==f?t:f.concat(t)))}return f};mxEdgeHandler.prototype.createCustomHandles=function(){var f=this.state.style.shape;null==mxCellRenderer.defaultShapes[f]&&null==mxStencilRegistry.getStencil(f)&&(f=mxConstants.SHAPE_CONNECTOR);f=Cb[f];return null!=f?f(this.state):null}}else Graph.createHandle=function(){},Graph.handleFactory={};var Kb=Graph.prototype.getPreferredSizeForCell;Graph.prototype.getPreferredSizeForCell=function(f,
+t,x){var u=this.getCellStyle(f);if(null!=u&&"curvedText"==u[mxConstants.STYLE_SHAPE]){var A=this.convertValueToString(f);if(null!=A&&0<A.length){var F=parseFloat(mxUtils.getValue(u,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE)),H=mxUtils.getValue(u,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY);u=mxUtils.getValue(u,mxConstants.STYLE_FONTSTYLE,0);A=.85*mxUtils.getSizeForString(A,F,H,null,u).width;H=this.model.getGeometry(f);H=null!=H?H.height:60;(x=null!=x?x:this.gridEnabled)&&
+(A=this.snap(A+this.gridSize/2));return new mxRectangle(0,0,Math.max(A,2*F)+10,H)}return null}return Kb.apply(this,arguments)};var pb=mxCellRenderer.prototype.checkPlaceholderStyles;mxCellRenderer.prototype.checkPlaceholderStyles=function(f){return null!=f.style&&"curvedText"==f.style[mxConstants.STYLE_SHAPE]?!0:pb.apply(this,arguments)};if("undefined"!==typeof mxCellEditor){var Fb=mxCellEditor.prototype.startEditing;mxCellEditor.prototype.startEditing=function(f,t){Fb.apply(this,arguments);var x=
+this.graph.view.getState(f);null!=x&&null!=x.style&&"curvedText"==x.style[mxConstants.STYLE_SHAPE]&&null!=x.shape&&x.shape.redraw()};var wb=mxCellEditor.prototype.stopEditing;mxCellEditor.prototype.stopEditing=function(f){var t=this.editingCell;wb.apply(this,arguments);null!=t&&(t=this.graph.view.getState(t),null!=t&&null!=t.style&&"curvedText"==t.style[mxConstants.STYLE_SHAPE]&&null!=t.shape&&t.shape.redraw())}}var Bb=new mxPoint(1,0),zb=new mxPoint(1,0),ub=mxUtils.toRadians(-30);Bb=mxUtils.getRotatedPoint(Bb,
+Math.cos(ub),Math.sin(ub));var Ib=mxUtils.toRadians(-150);zb=mxUtils.getRotatedPoint(zb,Math.cos(Ib),Math.sin(Ib));mxEdgeStyle.IsometricConnector=function(f,t,x,u,A){var F=f.view;u=null!=u&&0<u.length?u[0]:null;var H=f.absolutePoints,da=H[0];H=H[H.length-1];null!=u&&(u=F.transformControlPoint(f,u));null==da&&null!=t&&(da=new mxPoint(t.getCenterX(),t.getCenterY()));null==H&&null!=x&&(H=new mxPoint(x.getCenterX(),x.getCenterY()));var O=Bb.x,ua=Bb.y,na=zb.x,Ua=zb.y,hb="horizontal"==mxUtils.getValue(f.style,
+"elbow","horizontal");if(null!=H&&null!=da){f=function(Ea,Ha,Ja){Ea-=$a.x;var Ma=Ha-$a.y;Ha=(Ua*Ea-na*Ma)/(O*Ua-ua*na);Ea=(ua*Ea-O*Ma)/(ua*na-O*Ua);hb?(Ja&&($a=new mxPoint($a.x+O*Ha,$a.y+ua*Ha),A.push($a)),$a=new mxPoint($a.x+na*Ea,$a.y+Ua*Ea)):(Ja&&($a=new mxPoint($a.x+na*Ea,$a.y+Ua*Ea),A.push($a)),$a=new mxPoint($a.x+O*Ha,$a.y+ua*Ha));A.push($a)};var $a=da;null==u&&(u=new mxPoint(da.x+(H.x-da.x)/2,da.y+(H.y-da.y)/2));f(u.x,u.y,!0);f(H.x,H.y,!1)}};mxStyleRegistry.putValue("isometricEdgeStyle",mxEdgeStyle.IsometricConnector);
+var Mb=Graph.prototype.createEdgeHandler;Graph.prototype.createEdgeHandler=function(f,t){if(t==mxEdgeStyle.IsometricConnector){var x=new mxElbowEdgeHandler(f);x.snapToTerminals=!1;return x}return Mb.apply(this,arguments)};C.prototype.constraints=[];G.prototype.getConstraints=function(f,t,x){f=[];var u=Math.tan(mxUtils.toRadians(30)),A=(.5-u)/2;u=Math.min(t,x/(.5+u));t=(t-u)/2;x=(x-u)/2;f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,x+.25*u));f.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,t+.5*u,x+u*A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t+u,x+.25*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t+u,x+.75*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t+.5*u,x+(1-A)*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,x+.75*u));return f};N.prototype.getConstraints=function(f,t,x){f=[];var u=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.style,"isoAngle",this.isoAngle))))*Math.PI/200;u=Math.min(t*
+Math.tan(u),.5*x);f.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,u));f.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,x-u));f.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,x-u));f.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,
+0,u));return f};ka.prototype.getConstraints=function(f,t,x){f=[];mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE);var u=Math.max(0,Math.min(x,parseFloat(mxUtils.getValue(this.style,"size",this.size))));parseFloat(mxUtils.getValue(this.style,"position",this.position));var A=t*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",this.position2))));parseFloat(mxUtils.getValue(this.style,"base",this.base));f.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1));f.push(new mxConnectionConstraint(new mxPoint(.25,0),!1));f.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));f.push(new mxConnectionConstraint(new mxPoint(.75,0),!1));f.push(new mxConnectionConstraint(new mxPoint(1,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,.5*(x-u)));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,x-u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,
+x-u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(x-u)));t>=2*u&&f.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return f};mxRectangleShape.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,
+.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0)];mxEllipse.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,
+0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(1,.5))];ia.prototype.constraints=mxRectangleShape.prototype.constraints;mxImageShape.prototype.constraints=mxRectangleShape.prototype.constraints;mxSwimlane.prototype.constraints=
+mxRectangleShape.prototype.constraints;l.prototype.constraints=mxRectangleShape.prototype.constraints;mxLabel.prototype.constraints=mxRectangleShape.prototype.constraints;D.prototype.getConstraints=function(f,t,x){f=[];var u=Math.max(0,Math.min(t,Math.min(x,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t-u),0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,
+null,t-u,0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-.5*u,.5*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,.5*(x+u)));f.push(new mxConnectionConstraint(new mxPoint(1,1),!1));f.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));f.push(new mxConnectionConstraint(new mxPoint(0,1),!1));f.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));t>=2*u&&f.push(new mxConnectionConstraint(new mxPoint(.5,
+0),!1));return f};E.prototype.getConstraints=function(f,t,x){f=[];var u=Math.max(0,Math.min(t,Math.min(x,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));f.push(new mxConnectionConstraint(new mxPoint(1,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t+u),0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,u,0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*u,.5*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,u));f.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,0,.5*(x+u)));f.push(new mxConnectionConstraint(new mxPoint(0,1),!1));f.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));f.push(new mxConnectionConstraint(new mxPoint(1,1),!1));f.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));t>=2*u&&f.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return f};n.prototype.getConstraints=function(f,t,x){f=[];var u=Math.max(0,Math.min(t,Math.min(x,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));f.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t-u),0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-u,0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-.5*u,.5*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,.5*(x+u)));f.push(new mxConnectionConstraint(new mxPoint(1,1),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t+u),x));f.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,u,x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*u,x-.5*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,x-u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(x-u)));return f};g.prototype.getConstraints=function(f,t,x){f=[];t=Math.max(0,Math.min(x,parseFloat(mxUtils.getValue(this.style,"size",this.size))));f.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(.5,
+1),!1));f.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t));f.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,t));f.push(new mxConnectionConstraint(new mxPoint(1,1),!1,null,0,-t));f.push(new mxConnectionConstraint(new mxPoint(0,1),!1,null,0,-t));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t+.5*(.5*x-t)));f.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,t+.5*(.5*x-t)));f.push(new mxConnectionConstraint(new mxPoint(1,
+0),!1,null,0,x-t-.5*(.5*x-t)));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,x-t-.5*(.5*x-t)));f.push(new mxConnectionConstraint(new mxPoint(.145,0),!1,null,0,.29*t));f.push(new mxConnectionConstraint(new mxPoint(.855,0),!1,null,0,.29*t));f.push(new mxConnectionConstraint(new mxPoint(.855,1),!1,null,0,.29*-t));f.push(new mxConnectionConstraint(new mxPoint(.145,1),!1,null,0,.29*-t));return f};p.prototype.getConstraints=function(f,t,x){f=[];var u=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,
+"tabWidth",this.tabWidth)))),A=Math.max(0,Math.min(x,parseFloat(mxUtils.getValue(this.style,"tabHeight",this.tabHeight))));"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?(f.push(new mxConnectionConstraint(new mxPoint(0,0),!1)),f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*u,0)),f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,u,0)),f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,u,A)),f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,
+.5*(t+u),A))):(f.push(new mxConnectionConstraint(new mxPoint(1,0),!1)),f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-.5*u,0)),f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-u,0)),f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-u,A)),f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t-u),A)));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,.25*(x-A)+A));f.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,t,.5*(x-A)+A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,.75*(x-A)+A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.25*(x-A)+A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(x-A)+A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.75*(x-A)+A));f.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,0,x));f.push(new mxConnectionConstraint(new mxPoint(.25,1),!1));f.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));f.push(new mxConnectionConstraint(new mxPoint(.75,1),!1));return f};La.prototype.constraints=mxRectangleShape.prototype.constraints;Ba.prototype.constraints=mxRectangleShape.prototype.constraints;Na.prototype.constraints=mxEllipse.prototype.constraints;bb.prototype.constraints=mxEllipse.prototype.constraints;z.prototype.constraints=mxEllipse.prototype.constraints;ma.prototype.constraints=
+mxEllipse.prototype.constraints;Ta.prototype.constraints=mxRectangleShape.prototype.constraints;qa.prototype.constraints=mxRectangleShape.prototype.constraints;va.prototype.getConstraints=function(f,t,x){f=[];var u=Math.min(t,x/2),A=Math.min(t-u,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*t);f.push(new mxConnectionConstraint(new mxPoint(0,.5),!1,null));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,
+.5*(A+t-u),0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-u,0));f.push(new mxConnectionConstraint(new mxPoint(1,.5),!1,null));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-u,x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(A+t-u),x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,x));return f};za.prototype.getConstraints=function(f,t,x){t=parseFloat(mxUtils.getValue(f,"jettyWidth",za.prototype.jettyWidth))/2;f=parseFloat(mxUtils.getValue(f,
+"jettyHeight",za.prototype.jettyHeight));var u=[new mxConnectionConstraint(new mxPoint(0,0),!1,null,t),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(0,1),!1,null,
+t),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,Math.min(x-.5*f,1.5*f)),new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,Math.min(x-.5*f,3.5*f))];x>5*f&&u.push(new mxConnectionConstraint(new mxPoint(0,.75),!1,null,t));x>8*f&&u.push(new mxConnectionConstraint(new mxPoint(0,.5),!1,null,t));x>
+15*f&&u.push(new mxConnectionConstraint(new mxPoint(0,.25),!1,null,t));return u};sa.prototype.constraints=mxRectangleShape.prototype.constraints;Aa.prototype.constraints=mxRectangleShape.prototype.constraints;mxCylinder.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.15,.05),!1),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.85,.05),!1),new mxConnectionConstraint(new mxPoint(0,.3),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,
+.7),!0),new mxConnectionConstraint(new mxPoint(1,.3),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.7),!0),new mxConnectionConstraint(new mxPoint(.15,.95),!1),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.85,.95),!1)];L.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,.1),!1),new mxConnectionConstraint(new mxPoint(.5,0),!1),new mxConnectionConstraint(new mxPoint(.75,.1),!1),new mxConnectionConstraint(new mxPoint(0,
+1/3),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(1,1/3),!1),new mxConnectionConstraint(new mxPoint(1,1),!1),new mxConnectionConstraint(new mxPoint(.5,.5),!1)];Ga.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.3),!0),new mxConnectionConstraint(new mxPoint(0,.7),!0),new mxConnectionConstraint(new mxPoint(1,
+.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];mxActor.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.25,.2),!1),new mxConnectionConstraint(new mxPoint(.1,.5),!1),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(.75,
+.25),!1),new mxConnectionConstraint(new mxPoint(.9,.5),!1),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];k.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(.5,.25),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,
+.5),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(.5,.75),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];I.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.35),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,.65),!1),new mxConnectionConstraint(new mxPoint(1,.35),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,.65),!1),new mxConnectionConstraint(new mxPoint(.25,
+1),!1),new mxConnectionConstraint(new mxPoint(.75,0),!1)];pa.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,
+.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxLine.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];la.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,0),!1),new mxConnectionConstraint(new mxPoint(.5,
+1),!1)];mxDoubleEllipse.prototype.constraints=mxEllipse.prototype.constraints;mxRhombus.prototype.constraints=mxEllipse.prototype.constraints;mxTriangle.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0)];mxHexagon.prototype.constraints=
+[new mxConnectionConstraint(new mxPoint(.375,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.625,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.375,1),!0),
+new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.625,1),!0)];mxCloud.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,.25),!1),new mxConnectionConstraint(new mxPoint(.4,.1),!1),new mxConnectionConstraint(new mxPoint(.16,.55),!1),new mxConnectionConstraint(new mxPoint(.07,.4),!1),new mxConnectionConstraint(new mxPoint(.31,.8),!1),new mxConnectionConstraint(new mxPoint(.13,.77),!1),new mxConnectionConstraint(new mxPoint(.8,.8),!1),new mxConnectionConstraint(new mxPoint(.55,
+.95),!1),new mxConnectionConstraint(new mxPoint(.875,.5),!1),new mxConnectionConstraint(new mxPoint(.96,.7),!1),new mxConnectionConstraint(new mxPoint(.625,.2),!1),new mxConnectionConstraint(new mxPoint(.88,.25),!1)];R.prototype.constraints=mxRectangleShape.prototype.constraints;W.prototype.constraints=mxRectangleShape.prototype.constraints;K.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,
+0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxArrow.prototype.constraints=null;Ka.prototype.getConstraints=function(f,t,x){f=[];var u=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),A=Math.max(0,Math.min(x,parseFloat(mxUtils.getValue(this.style,
+"dy",this.dy))));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1));f.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));f.push(new mxConnectionConstraint(new mxPoint(1,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,.5*A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.75*t+.25*u,A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t+u),A));f.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,.5*(t+u),.5*(x+A)));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t+u),x));f.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t-u),x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t-u),.5*(x+A)));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t-u),A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.25*t-.25*u,A));f.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,0,A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*A));return f};Ca.prototype.getConstraints=function(f,t,x){f=[];var u=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),A=Math.max(0,Math.min(x,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1));f.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));f.push(new mxConnectionConstraint(new mxPoint(1,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,t,.5*A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t+u),A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,u,A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,u,.5*(x+A)));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,u,x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*u,x));f.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,
+1),!1));return f};Ra.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.5,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];cb.prototype.getConstraints=
+function(f,t,x){f=[];var u=x*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth)))),A=t*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",this.arrowSize))));u=(x-u)/2;f.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t-A),u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-A,0));f.push(new mxConnectionConstraint(new mxPoint(1,
+.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-A,x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t-A),x-u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,x-u));return f};Pa.prototype.getConstraints=function(f,t,x){f=[];var u=x*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",cb.prototype.arrowWidth)))),A=t*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",cb.prototype.arrowSize))));u=(x-u)/2;f.push(new mxConnectionConstraint(new mxPoint(0,
+.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*t,u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-A,0));f.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-A,x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*t,x-u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,x));return f};xa.prototype.getConstraints=
+function(f,t,x){f=[];var u=Math.min(x,t),A=Math.max(0,Math.min(u,u*parseFloat(mxUtils.getValue(this.style,"size",this.size))));u=(x-A)/2;var F=u+A,H=(t-A)/2;A=H+A;f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,H,.5*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,H,0));f.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,.5*u));f.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,A,u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,H,x-.5*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,H,x));f.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,x-.5*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,F));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t+A),u));f.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,t,u));f.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,F));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t+A),F));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,H,F));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*H,u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,u));f.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,0,F));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*H,F));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,H,u));return f};X.prototype.constraints=null;Ia.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.25),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,.75),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(.7,.1),!1),new mxConnectionConstraint(new mxPoint(.7,
+.9),!1)];Ya.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.175,.25),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.175,.75),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(.7,.1),!1),new mxConnectionConstraint(new mxPoint(.7,.9),!1)];ra.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];ta.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,
+.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)]})();function Actions(b){this.editorUi=b;this.actions={};this.init()}
Actions.prototype.init=function(){function b(D){q.escape();D=q.deleteCells(q.getDeletableCells(q.getSelectionCells()),D);null!=D&&q.setSelectionCells(D)}function d(){if(!q.isSelectionEmpty()){q.getModel().beginUpdate();try{for(var D=q.getSelectionCells(),Q=0;Q<D.length;Q++)q.cellLabelChanged(D[Q],"")}finally{q.getModel().endUpdate()}}}function m(D,Q,N,c,g){g.getModel().beginUpdate();try{var k=g.getCellGeometry(D);null!=k&&N&&c&&(N/=c,k=k.clone(),1<N?k.height=k.width/N:k.width=k.height*N,g.getModel().setGeometry(D,
k));g.setCellStyles(mxConstants.STYLE_CLIP_PATH,Q,[D]);g.setCellStyles(mxConstants.STYLE_ASPECT,"fixed",[D])}finally{g.getModel().endUpdate()}}var n=this.editorUi,v=n.editor,q=v.graph,C=function(){return Action.prototype.isEnabled.apply(this,arguments)&&q.isEnabled()};this.addAction("new...",function(){q.openLink(n.getUrl())});this.addAction("open...",function(){window.openNew=!0;window.openKey="open";n.openFile()});var G=new Action("smartFit",function(){if(n.chromelessResize)q.isLightboxView()?(1==
q.view.scale?n.lightboxFit():q.zoomTo(1),n.chromelessResize(!1)):n.chromelessResize(!0);else{q.popupMenuHandler.hideMenu();var D=q.view.scale,Q=q.container.scrollLeft,N=q.container.scrollTop,c=q.view.translate.x,g=q.view.translate.y;n.actions.get("resetView").funct();1E-5>Math.abs(D-q.view.scale)&&5>Math.abs(Q-q.container.scrollLeft)&&5>Math.abs(N-q.container.scrollTop)&&c==q.view.translate.x&&g==q.view.translate.y&&n.actions.get("fitWindow").funct()}},null,null,"Enter");G.getTitle=function(){return mxResources.get("fitWindow")+
@@ -3680,7 +3681,7 @@ function(){try{l.hideDialog(),aa(!1)}catch(ia){l.handleError(ia)}}),X.className=
"dark"):(T.classList.remove("geDarkMode"),T.style.colorScheme="light")};l.addListener("darkModeChanged",U);U();var Y=function(ia,ma){ia=ma.getProperty("dialog");T.parentNode==ia.container&&(l.editor.removeListener(Y),l.removeListener(U))};l.editor.addListener("hideDialog",Y)}this.container=T};var ba=ChangePageSetup.prototype.execute;ChangePageSetup.prototype.execute=function(){null==this.page&&(this.page=this.ui.currentPage);if(this.page!=this.ui.currentPage){if(null!=this.page.viewState){this.ignoreColor||
(this.page.viewState.background=this.color);if(!this.ignoreImage){var l=this.image;null!=l&&null!=l.src&&Graph.isPageLink(l.src)&&(l={originalSrc:l.src});this.page.viewState.backgroundImage=l}null!=this.format&&(this.page.viewState.pageFormat=this.format);null!=this.mathEnabled&&(this.page.viewState.mathEnabled=this.mathEnabled);null!=this.adaptiveColors&&(this.page.viewState.adaptiveColors=this.adaptiveColors);null!=this.shadowVisible&&(this.page.viewState.shadowVisible=this.shadowVisible)}}else ba.apply(this,
arguments),null!=this.mathEnabled&&this.mathEnabled!=this.ui.isMathEnabled()&&(this.ui.setMathEnabled(this.mathEnabled),this.mathEnabled=!this.mathEnabled),null!=this.adaptiveColors&&this.adaptiveColors!=this.ui.editor.graph.adaptiveColors&&(l=this.ui.editor.graph.adaptiveColors,this.ui.setAdaptiveColors(this.adaptiveColors),this.adaptiveColors=null!=l?l:"default"),null!=this.shadowVisible&&this.shadowVisible!=this.ui.editor.graph.shadowVisible&&(this.ui.editor.graph.setShadowVisible(this.shadowVisible),
-this.shadowVisible=!this.shadowVisible)}})();(function(){EditorUi.VERSION="29.7.11";EditorUi.compactUi="atlas"!=Editor.currentTheme||window.DRAWIO_PUBLIC_BUILD;Editor.isDarkMode()&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&"1"!=urlParams.lockdown&&(/.*\.draw\.io$/.test(window.location.hostname)||/.*\.diagrams\.net$/.test(window.location.hostname)||/.*\.cdn\.prod\.atlassian-dev\.net$/.test(window.location.hostname))&&"https://preprod.diagrams.net/"!=window.location.hostname&&
+this.shadowVisible=!this.shadowVisible)}})();(function(){EditorUi.VERSION="29.7.12";EditorUi.compactUi="atlas"!=Editor.currentTheme||window.DRAWIO_PUBLIC_BUILD;Editor.isDarkMode()&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&"1"!=urlParams.lockdown&&(/.*\.draw\.io$/.test(window.location.hostname)||/.*\.diagrams\.net$/.test(window.location.hostname)||/.*\.cdn\.prod\.atlassian-dev\.net$/.test(window.location.hostname))&&"https://preprod.diagrams.net/"!=window.location.hostname&&
"support.draw.io"!=window.location.hostname&&"test.draw.io"!=window.location.hostname;EditorUi.drawHost=window.DRAWIO_BASE_URL;EditorUi.lightboxHost=window.DRAWIO_LIGHTBOX_URL;EditorUi.lastErrorMessage=null;EditorUi.ignoredAnonymizedChars="\n\t`~!@#$%^&*()_+{}|:\"<>?-=[];'./,\n\t";EditorUi.templateFile=TEMPLATE_PATH+"/index.xml";EditorUi.cacheUrl=window.REALTIME_URL;null==EditorUi.cacheUrl&&"undefined"!==typeof DrawioFile&&(DrawioFile.SYNC="none");Editor.cacheTimeout=1E4;EditorUi.enablePlantUml=EditorUi.enableLogging||
"1"==urlParams.dev;EditorUi.isElectronApp=null!=window&&null!=window.process&&null!=window.process.versions&&null!=window.process.versions.electron;EditorUi.nativeFileSupport=!mxClient.IS_OP&&!EditorUi.isElectronApp&&"1"!=urlParams.extAuth&&"showSaveFilePicker"in window&&"showOpenFilePicker"in window;EditorUi.enableDrafts=!mxClient.IS_CHROMEAPP&&isLocalStorage&&"0"!=urlParams.drafts;EditorUi.scratchpadHelpLink="https://www.drawio.com/doc/faq/scratchpad";EditorUi.enableHtmlEditOption=!0;EditorUi.mermaidDiagramTypes=
"flowchart classDiagram sequenceDiagram stateDiagram mindmap graph erDiagram requirementDiagram journey gantt pie gitGraph".split(" ");EditorUi.defaultMermaidConfig={theme:"neutral",arrowMarkerAbsolute:!1,sequence:{diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,mirrorActors:!0,bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,showSequenceNumbers:!1},gantt:{useWidth:1E3,useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,
diff --git a/src/main/webapp/js/viewer.min.js b/src/main/webapp/js/viewer.min.js
index a5e6b9201..de37379c7 100644
--- a/src/main/webapp/js/viewer.min.js
+++ b/src/main/webapp/js/viewer.min.js
@@ -31,7 +31,7 @@ b),-1!==c&&c===b&&(window.DRAWIO_LOG_URL="https://log.draw.io"))}})();"1"==urlPa
"se.diagrams.net"==window.location.hostname&&(urlParams.db="0",urlParams.od="0",urlParams.gh="0",urlParams.gl="0",urlParams.tr="0",urlParams.plugins="0",urlParams.mode="google",urlParams.lockdown="1",window.DRAWIO_GOOGLE_APP_ID=window.DRAWIO_GOOGLE_APP_ID||"184079235871",window.DRAWIO_GOOGLE_CLIENT_ID=window.DRAWIO_GOOGLE_CLIENT_ID||"184079235871-pjf5nn0lff27lk8qf0770gmffiv9gt61.apps.googleusercontent.com");"trello"==urlParams.mode&&(urlParams.tr="1");
"embed.diagrams.net"==window.location.hostname&&(urlParams.embed="1");(null==window.location.hash||1>=window.location.hash.length)&&null!=urlParams.open&&(window.location.hash=urlParams.open);"function"!==typeof window.structuredClone&&(window.structuredClone=function(a){return a});window.urlParams=window.urlParams||{};window.DOM_PURIFY_CONFIG=window.DOM_PURIFY_CONFIG||{ADD_TAGS:["use","foreignObject"],FORBID_TAGS:["form"],ALLOWED_URI_REGEXP:/^((?!javascript:).)*$/i,HTML_INTEGRATION_POINTS:{foreignobject:!0},ADD_ATTR:["target","content","pointer-events","requiredFeatures"]};window.MAX_REQUEST_SIZE=window.MAX_REQUEST_SIZE||10485760;window.MAX_AREA=window.MAX_AREA||225E6;window.EXPORT_URL=window.EXPORT_URL||"/export";window.SAVE_URL=window.SAVE_URL||"/save";
window.OPEN_URL=window.OPEN_URL||"/open";window.RESOURCES_PATH=window.RESOURCES_PATH||"resources";window.RESOURCE_BASE=window.RESOURCE_BASE||window.RESOURCES_PATH+"/grapheditor";window.STENCIL_PATH=window.STENCIL_PATH||"stencils";window.IMAGE_PATH=window.IMAGE_PATH||"images";window.STYLE_PATH=window.STYLE_PATH||"styles";window.CSS_PATH=window.CSS_PATH||"styles";window.OPEN_FORM=window.OPEN_FORM||"open.html";window.mxBasePath=window.mxBasePath||"mxgraph";
-window.mxImageBasePath=window.mxImageBasePath||"mxgraph/images";window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de","se"];var mxClient={VERSION:"29.7.11",IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),IS_OP:null!=navigator.userAgent&&(0<=navigator.userAgent.indexOf("Opera/")||0<=navigator.userAgent.indexOf("OPR/")),IS_OT:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Presto/")&&0>navigator.userAgent.indexOf("Presto/2.4.")&&0>navigator.userAgent.indexOf("Presto/2.3.")&&
+window.mxImageBasePath=window.mxImageBasePath||"mxgraph/images";window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de","se"];var mxClient={VERSION:"29.7.12",IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),IS_OP:null!=navigator.userAgent&&(0<=navigator.userAgent.indexOf("Opera/")||0<=navigator.userAgent.indexOf("OPR/")),IS_OT:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Presto/")&&0>navigator.userAgent.indexOf("Presto/2.4.")&&0>navigator.userAgent.indexOf("Presto/2.3.")&&
0>navigator.userAgent.indexOf("Presto/2.2.")&&0>navigator.userAgent.indexOf("Presto/2.1.")&&0>navigator.userAgent.indexOf("Presto/2.0.")&&0>navigator.userAgent.indexOf("Presto/1."),IS_SF:/Apple Computer, Inc/.test(navigator.vendor),IS_ANDROID:0<=navigator.appVersion.indexOf("Android"),IS_IOS:/iP(hone|od|ad)/.test(navigator.platform)||navigator.userAgent.match(/Mac/)&&navigator.maxTouchPoints&&2<navigator.maxTouchPoints,IS_WEBVIEW:/((iPhone|iPod|iPad).*AppleWebKit(?!.*Version)|; wv)/i.test(navigator.userAgent),
IS_GC:/Google Inc/.test(navigator.vendor),IS_CHROMEAPP:null!=window.chrome&&null!=chrome.app&&null!=chrome.app.runtime,IS_FF:-1<navigator.userAgent.toLowerCase().indexOf("firefox"),IS_MT:0<=navigator.userAgent.indexOf("Firefox/")&&0>navigator.userAgent.indexOf("Firefox/1.")&&0>navigator.userAgent.indexOf("Firefox/2.")||0<=navigator.userAgent.indexOf("Iceweasel/")&&0>navigator.userAgent.indexOf("Iceweasel/1.")&&0>navigator.userAgent.indexOf("Iceweasel/2.")||0<=navigator.userAgent.indexOf("SeaMonkey/")&&
0>navigator.userAgent.indexOf("SeaMonkey/1.")||0<=navigator.userAgent.indexOf("Iceape/")&&0>navigator.userAgent.indexOf("Iceape/1."),IS_SVG:"MICROSOFT INTERNET EXPLORER"!=navigator.appName.toUpperCase(),NO_FO:!document.createElementNS||"[object SVGForeignObjectElement]"!==document.createElementNS("http://www.w3.org/2000/svg","foreignObject").toString()||0<=navigator.userAgent.indexOf("Opera/"),IS_WIN:0<navigator.appVersion.indexOf("Win"),IS_MAC:0<navigator.appVersion.indexOf("Mac"),IS_CHROMEOS:/\bCrOS\b/.test(navigator.appVersion),
@@ -2987,198 +2987,199 @@ A),f.lineTo(x,O+t),f.lineTo(0,O+t),f.lineTo(0,O),f.lineTo(x,O),f.lineTo(x,da+t),
da,!0);f.stroke();mxRectangleShape.prototype.paintForeground.apply(this,arguments)};mxCellRenderer.registerShape("associativeEntity",ya);mxUtils.extend(Fa,mxDoubleEllipse);Fa.prototype.outerStroke=!0;Fa.prototype.paintVertexShape=function(f,t,x,u,A){var F=Math.min(4,Math.min(u/5,A/5));0<u&&0<A&&(f.ellipse(t+F,x+F,u-2*F,A-2*F),f.fillAndStroke());f.setShadow(!1);this.outerStroke&&(f.ellipse(t,x,u,A),f.stroke())};mxCellRenderer.registerShape("endState",Fa);mxUtils.extend(Va,Fa);Va.prototype.outerStroke=
!1;mxCellRenderer.registerShape("startState",Va);mxUtils.extend(Da,mxArrowConnector);Da.prototype.defaultWidth=4;Da.prototype.isOpenEnded=function(){return!0};Da.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-1)};Da.prototype.isArrowRounded=function(){return this.isRounded};mxCellRenderer.registerShape("link",Da);mxUtils.extend(Oa,mxArrowConnector);Oa.prototype.defaultWidth=10;Oa.prototype.defaultArrowWidth=20;Oa.prototype.getStartArrowWidth=
function(){return this.getEdgeWidth()+mxUtils.getNumber(this.style,"startWidth",this.defaultArrowWidth)};Oa.prototype.getEndArrowWidth=function(){return this.getEdgeWidth()+mxUtils.getNumber(this.style,"endWidth",this.defaultArrowWidth)};Oa.prototype.getEdgeWidth=function(){return mxUtils.getNumber(this.style,"width",this.defaultWidth)+Math.max(0,this.strokewidth-1)};mxCellRenderer.registerShape("flexArrow",Oa);mxUtils.extend(Ta,mxActor);Ta.prototype.size=30;Ta.prototype.isRoundable=function(){return!0};
-Ta.prototype.redrawPath=function(f,t,x,u,A){t=Math.min(A,parseFloat(mxUtils.getValue(this.style,"size",this.size)));x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(f,[new mxPoint(0,A),new mxPoint(0,t),new mxPoint(u,0),new mxPoint(u,A)],this.isRounded,x,!0);f.end()};mxCellRenderer.registerShape("manualInput",Ta);mxUtils.extend(La,mxRectangleShape);La.prototype.dx=20;La.prototype.dy=20;La.prototype.isHtmlAllowed=function(){return!1};La.prototype.paintForeground=
-function(f,t,x,u,A){mxRectangleShape.prototype.paintForeground.apply(this,arguments);var F=0;if(this.isRounded){var H=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100;F=Math.max(F,Math.min(u*H,A*H))}H=Math.max(F,Math.min(u,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));F=Math.max(F,Math.min(A,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));f.begin();f.moveTo(t,x+F);f.lineTo(t+u,x+F);f.end();f.stroke();f.begin();f.moveTo(t+H,x);f.lineTo(t+
-H,x+A);f.end();f.stroke()};mxCellRenderer.registerShape("internalStorage",La);mxUtils.extend(Ca,mxActor);Ca.prototype.dx=20;Ca.prototype.dy=20;Ca.prototype.isRoundable=function(){return!0};Ca.prototype.redrawPath=function(f,t,x,u,A){t=Math.max(0,Math.min(u,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));x=Math.max(0,Math.min(A,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",this.size));var F=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,
-mxConstants.LINE_ARCSIZE)/2;this.addPoints(f,[new mxPoint(0,0),new mxPoint(u,0),new mxPoint(u,x),new mxPoint(t,x),new mxPoint(t,A),new mxPoint(0,A)],this.isRounded,F,!0);f.end()};mxCellRenderer.registerShape("corner",Ca);mxUtils.extend(Ra,mxActor);Ra.prototype.redrawPath=function(f,t,x,u,A){f.moveTo(0,0);f.lineTo(0,A);f.end();f.moveTo(u,0);f.lineTo(u,A);f.end();f.moveTo(0,A/2);f.lineTo(u,A/2);f.end()};mxCellRenderer.registerShape("crossbar",Ra);mxUtils.extend(Ka,mxActor);Ka.prototype.dx=20;Ka.prototype.dy=
-20;Ka.prototype.isRoundable=function(){return!0};Ka.prototype.redrawPath=function(f,t,x,u,A){t=Math.max(0,Math.min(u,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));x=Math.max(0,Math.min(A,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",this.size));var F=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(f,[new mxPoint(0,0),new mxPoint(u,0),new mxPoint(u,x),new mxPoint((u+t)/2,x),new mxPoint((u+
-t)/2,A),new mxPoint((u-t)/2,A),new mxPoint((u-t)/2,x),new mxPoint(0,x)],this.isRounded,F,!0);f.end()};mxCellRenderer.registerShape("tee",Ka);mxUtils.extend(cb,mxActor);cb.prototype.arrowWidth=.3;cb.prototype.arrowSize=.2;cb.prototype.isRoundable=function(){return!0};cb.prototype.redrawPath=function(f,t,x,u,A){var F=A*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth))));t=u*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",this.arrowSize))));
-x=(A-F)/2;F=x+F;var H=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(f,[new mxPoint(0,x),new mxPoint(u-t,x),new mxPoint(u-t,0),new mxPoint(u,A/2),new mxPoint(u-t,A),new mxPoint(u-t,F),new mxPoint(0,F)],this.isRounded,H,!0);f.end()};mxCellRenderer.registerShape("singleArrow",cb);mxUtils.extend(Pa,mxActor);Pa.prototype.isRoundable=function(){return!0};Pa.prototype.redrawPath=function(f,t,x,u,A){var F=A*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,
-"arrowWidth",cb.prototype.arrowWidth))));t=u*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",cb.prototype.arrowSize))));x=(A-F)/2;F=x+F;var H=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(f,[new mxPoint(0,A/2),new mxPoint(t,0),new mxPoint(t,x),new mxPoint(u-t,x),new mxPoint(u-t,0),new mxPoint(u,A/2),new mxPoint(u-t,A),new mxPoint(u-t,F),new mxPoint(t,F),new mxPoint(t,A)],this.isRounded,H,!0);f.end()};mxCellRenderer.registerShape("doubleArrow",
-Pa);mxUtils.extend(Ba,mxActor);Ba.prototype.size=.1;Ba.prototype.fixedSize=20;Ba.prototype.redrawPath=function(f,t,x,u,A){t="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(u,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):u*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));f.moveTo(t,0);f.lineTo(u,0);f.quadTo(u-2*t,A/2,u,A);f.lineTo(t,A);f.quadTo(t-2*t,A/2,t,0);f.close();f.end()};mxCellRenderer.registerShape("dataStorage",Ba);
-mxUtils.extend(Ia,mxActor);Ia.prototype.redrawPath=function(f,t,x,u,A){f.moveTo(0,0);f.quadTo(u,0,u,A/2);f.quadTo(u,A,0,A);f.close();f.end()};mxCellRenderer.registerShape("or",Ia);mxUtils.extend(Ya,mxActor);Ya.prototype.redrawPath=function(f,t,x,u,A){f.moveTo(0,0);f.quadTo(u,0,u,A/2);f.quadTo(u,A,0,A);f.quadTo(u/2,A/2,0,0);f.close();f.end()};mxCellRenderer.registerShape("xor",Ya);mxUtils.extend(sa,mxActor);sa.prototype.size=20;sa.prototype.isRoundable=function(){return!0};sa.prototype.redrawPath=
-function(f,t,x,u,A){t=Math.min(u/2,Math.min(A,parseFloat(mxUtils.getValue(this.style,"size",this.size))));x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(f,[new mxPoint(t,0),new mxPoint(u-t,0),new mxPoint(u,.8*t),new mxPoint(u,A),new mxPoint(0,A),new mxPoint(0,.8*t)],this.isRounded,x,!0);f.end()};mxCellRenderer.registerShape("loopLimit",sa);mxUtils.extend(Aa,mxActor);Aa.prototype.size=.375;Aa.prototype.isRoundable=function(){return!0};Aa.prototype.redrawPath=
-function(f,t,x,u,A){t=A*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(f,[new mxPoint(0,0),new mxPoint(u,0),new mxPoint(u,A-t),new mxPoint(u/2,A),new mxPoint(0,A-t)],this.isRounded,x,!0);f.end()};mxCellRenderer.registerShape("offPageConnector",Aa);mxUtils.extend(Na,mxEllipse);Na.prototype.paintVertexShape=function(f,t,x,u,A){mxEllipse.prototype.paintVertexShape.apply(this,
-arguments);f.begin();f.moveTo(t+u/2,x+A);f.lineTo(t+u,x+A);f.end();f.stroke()};mxCellRenderer.registerShape("tapeData",Na);mxUtils.extend(bb,mxEllipse);bb.prototype.paintVertexShape=function(f,t,x,u,A){mxEllipse.prototype.paintVertexShape.apply(this,arguments);f.setShadow(!1);f.begin();f.moveTo(t,x+A/2);f.lineTo(t+u,x+A/2);f.end();f.stroke();f.begin();f.moveTo(t+u/2,x);f.lineTo(t+u/2,x+A);f.end();f.stroke()};mxCellRenderer.registerShape("orEllipse",bb);mxUtils.extend(z,mxEllipse);z.prototype.paintVertexShape=
-function(f,t,x,u,A){mxEllipse.prototype.paintVertexShape.apply(this,arguments);f.setShadow(!1);f.begin();f.moveTo(t+.145*u,x+.145*A);f.lineTo(t+.855*u,x+.855*A);f.end();f.stroke();f.begin();f.moveTo(t+.855*u,x+.145*A);f.lineTo(t+.145*u,x+.855*A);f.end();f.stroke()};mxCellRenderer.registerShape("sumEllipse",z);mxUtils.extend(P,mxRhombus);P.prototype.paintVertexShape=function(f,t,x,u,A){mxRhombus.prototype.paintVertexShape.apply(this,arguments);f.setShadow(!1);f.begin();f.moveTo(t,x+A/2);f.lineTo(t+
-u,x+A/2);f.end();f.stroke()};mxCellRenderer.registerShape("sortShape",P);mxUtils.extend(U,mxEllipse);U.prototype.paintVertexShape=function(f,t,x,u,A){f.begin();f.moveTo(t,x);f.lineTo(t+u,x);f.lineTo(t+u/2,x+A/2);f.close();f.fillAndStroke();f.begin();f.moveTo(t,x+A);f.lineTo(t+u,x+A);f.lineTo(t+u/2,x+A/2);f.close();f.fillAndStroke()};mxCellRenderer.registerShape("collate",U);mxUtils.extend(Y,mxEllipse);Y.prototype.paintVertexShape=function(f,t,x,u,A){var F=f.state.strokeWidth/2,H=10+2*F,da=x+A-H/2;
-f.begin();f.moveTo(t,x);f.lineTo(t,x+A);f.moveTo(t+F,da);f.lineTo(t+F+H,da-H/2);f.moveTo(t+F,da);f.lineTo(t+F+H,da+H/2);f.moveTo(t+F,da);f.lineTo(t+u-F,da);f.moveTo(t+u,x);f.lineTo(t+u,x+A);f.moveTo(t+u-F,da);f.lineTo(t+u-H-F,da-H/2);f.moveTo(t+u-F,da);f.lineTo(t+u-H-F,da+H/2);f.end();f.stroke()};mxCellRenderer.registerShape("dimension",Y);mxUtils.extend(ia,mxEllipse);ia.prototype.drawHidden=!0;ia.prototype.paintVertexShape=function(f,t,x,u,A){this.outline||f.setStrokeColor(null);if(null!=this.style){var F=
-f.pointerEvents,H=null!=this.fill&&this.fill!=mxConstants.NONE;"1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1")||H||(f.pointerEvents=!1);var da="1"==mxUtils.getValue(this.style,"top","1"),O="1"==mxUtils.getValue(this.style,"left","1"),ua="1"==mxUtils.getValue(this.style,"right","1"),na="1"==mxUtils.getValue(this.style,"bottom","1");this.drawHidden||H||this.outline||da||ua||na||O?(f.rect(t,x,u,A),f.fill(),f.pointerEvents=F,f.setStrokeColor(this.stroke),f.setLineCap("square"),
-f.begin(),f.moveTo(t,x),this.outline||da?f.lineTo(t+u,x):f.moveTo(t+u,x),this.outline||ua?f.lineTo(t+u,x+A):f.moveTo(t+u,x+A),this.outline||na?f.lineTo(t,x+A):f.moveTo(t,x+A),(this.outline||O)&&f.lineTo(t,x),f.end(),f.stroke(),f.setLineCap("flat")):f.setStrokeColor(this.stroke)}};mxCellRenderer.registerShape("partialRectangle",ia);mxUtils.extend(ma,mxEllipse);ma.prototype.paintVertexShape=function(f,t,x,u,A){mxEllipse.prototype.paintVertexShape.apply(this,arguments);f.setShadow(!1);f.begin();"vertical"==
-mxUtils.getValue(this.style,"line")?(f.moveTo(t+u/2,x),f.lineTo(t+u/2,x+A)):(f.moveTo(t,x+A/2),f.lineTo(t+u,x+A/2));f.end();f.stroke()};mxCellRenderer.registerShape("lineEllipse",ma);mxUtils.extend(qa,mxActor);qa.prototype.redrawPath=function(f,t,x,u,A){t=Math.min(u,A/2);f.moveTo(0,0);f.lineTo(u-t,0);f.quadTo(u,0,u,A/2);f.quadTo(u,A,u-t,A);f.lineTo(0,A);f.close();f.end()};mxCellRenderer.registerShape("delay",qa);mxUtils.extend(xa,mxActor);xa.prototype.size=.2;xa.prototype.redrawPath=function(f,t,
-x,u,A){t=Math.min(A,u);var F=Math.max(0,Math.min(t,t*parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=(A-F)/2;x=t+F;var H=(u-F)/2;F=H+F;f.moveTo(0,t);f.lineTo(H,t);f.lineTo(H,0);f.lineTo(F,0);f.lineTo(F,t);f.lineTo(u,t);f.lineTo(u,x);f.lineTo(F,x);f.lineTo(F,A);f.lineTo(H,A);f.lineTo(H,x);f.lineTo(0,x);f.close();f.end()};mxCellRenderer.registerShape("cross",xa);mxUtils.extend(va,mxActor);va.prototype.size=.25;va.prototype.redrawPath=function(f,t,x,u,A){t=Math.min(u,A/2);x=Math.min(u-
-t,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*u);f.moveTo(0,A/2);f.lineTo(x,0);f.lineTo(u-t,0);f.quadTo(u,0,u,A/2);f.quadTo(u,A,u-t,A);f.lineTo(x,A);f.close();f.end()};mxCellRenderer.registerShape("display",va);mxUtils.extend(wa,mxActor);wa.prototype.cst={RECT2:"mxgraph.basic.rect"};wa.prototype.customProperties=[{name:"rectStyle",dispName:"Style",type:"enum",defVal:"square",enumList:[{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},
-{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"size",dispName:"Corner Size",type:"float",defVal:10},{name:"absoluteCornerSize",dispName:"Abs. Corner Size",type:"bool",defVal:!0},{name:"indent",dispName:"Indent",type:"float",defVal:2},{name:"rectOutline",dispName:"Outline",type:"enum",defVal:"single",enumList:[{val:"single",dispName:"Single"},{val:"double",dispName:"Double"},{val:"frame",dispName:"Frame"}]},{name:"fillColor2",dispName:"Inside Fill Color",type:"color",
-defVal:"none"},{name:"gradientColor2",dispName:"Inside Gradient Color",type:"color",defVal:"none"},{name:"gradientDirection2",dispName:"Inside Gradient Direction",type:"enum",defVal:"south",enumList:[{val:"south",dispName:"South"},{val:"west",dispName:"West"},{val:"north",dispName:"North"},{val:"east",dispName:"East"}]},{name:"top",dispName:"Top Line",type:"bool",defVal:!0},{name:"right",dispName:"Right",type:"bool",defVal:!0},{name:"bottom",dispName:"Bottom Line",type:"bool",defVal:!0},{name:"left",
-dispName:"Left ",type:"bool",defVal:!0},{name:"topLeftStyle",dispName:"Top Left Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"topRightStyle",dispName:"Top Right Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},
-{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"bottomRightStyle",dispName:"Bottom Right Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"bottomLeftStyle",dispName:"Bottom Left Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},
-{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]}];wa.prototype.paintVertexShape=function(f,t,x,u,A){f.translate(t,x);this.strictDrawShape(f,0,0,u,A)};wa.prototype.strictDrawShape=function(f,t,x,u,A,F){var H=F&&F.rectStyle?F.rectStyle:mxUtils.getValue(this.style,"rectStyle",this.rectStyle),da=F&&F.absoluteCornerSize?F.absoluteCornerSize:mxUtils.getValue(this.style,"absoluteCornerSize",
-this.absoluteCornerSize),O=F&&F.size?F.size:Math.max(0,Math.min(u,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),ua=F&&F.rectOutline?F.rectOutline:mxUtils.getValue(this.style,"rectOutline",this.rectOutline),na=F&&F.indent?F.indent:Math.max(0,Math.min(u,parseFloat(mxUtils.getValue(this.style,"indent",this.indent)))),Ua=F&&F.dashed?F.dashed:mxUtils.getValue(this.style,"dashed",!1),hb=F&&F.dashPattern?F.dashPattern:mxUtils.getValue(this.style,"dashPattern",null),$a=F&&F.relIndent?F.relIndent:
-Math.max(0,Math.min(50,na)),Ea=F&&F.top?F.top:mxUtils.getValue(this.style,"top",!0),Ha=F&&F.right?F.right:mxUtils.getValue(this.style,"right",!0),Ja=F&&F.bottom?F.bottom:mxUtils.getValue(this.style,"bottom",!0),Ma=F&&F.left?F.left:mxUtils.getValue(this.style,"left",!0),Za=F&&F.topLeftStyle?F.topLeftStyle:mxUtils.getValue(this.style,"topLeftStyle","default"),db=F&&F.topRightStyle?F.topRightStyle:mxUtils.getValue(this.style,"topRightStyle","default"),eb=F&&F.bottomRightStyle?F.bottomRightStyle:mxUtils.getValue(this.style,
-"bottomRightStyle","default"),fb=F&&F.bottomLeftStyle?F.bottomLeftStyle:mxUtils.getValue(this.style,"bottomLeftStyle","default"),Ob=F&&F.fillColor?F.fillColor:mxUtils.getValue(this.style,"fillColor","#ffffff");F&&F.strokeColor||mxUtils.getValue(this.style,"strokeColor","#000000");var Pb=F&&F.strokeWidth?F.strokeWidth:mxUtils.getValue(this.style,"strokeWidth","1"),Lb=F&&F.fillColor2?F.fillColor2:mxUtils.getValue(this.style,"fillColor2","none"),Nb=F&&F.gradientColor2?F.gradientColor2:mxUtils.getValue(this.style,
-"gradientColor2","none"),Qb=F&&F.gradientDirection2?F.gradientDirection2:mxUtils.getValue(this.style,"gradientDirection2","south"),Rb=F&&F.opacity?F.opacity:mxUtils.getValue(this.style,"opacity","100"),Sb=Math.max(0,Math.min(50,O));F=wa.prototype;f.setDashed(Ua);hb&&""!=hb&&f.setDashPattern(hb);f.setStrokeWidth(Pb);O=Math.min(.5*A,.5*u,O);da||(O=Sb*Math.min(u,A)/100);O=Math.min(O,.5*Math.min(u,A));da||(na=Math.min($a*Math.min(u,A)/100));na=Math.min(na,.5*Math.min(u,A)-O);(Ea||Ha||Ja||Ma)&&"frame"!=
-ua&&(f.begin(),Ea?F.moveNW(f,t,x,u,A,H,Za,O,Ma):f.moveTo(0,0),Ea&&F.paintNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),Ha&&F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),Ja&&F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),Ma&&F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),f.close(),f.fill(),f.setShadow(!1),f.setFillColor(Lb),Ua=da=Rb,"none"==Lb&&(da=0),"none"==Nb&&(Ua=0),f.setGradient(Lb,Nb,0,0,u,A,Qb,da,Ua),f.begin(),Ea?F.moveNWInner(f,
-t,x,u,A,H,Za,O,na,Ea,Ma):f.moveTo(na,0),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),Ma&&Ja&&F.paintSWInner(f,t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),Ja&&Ha&&F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),Ha&&Ea&&F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),Ea&&Ma&&F.paintNWInner(f,t,x,u,A,H,Za,O,na),f.fill(),"none"==Ob&&(f.begin(),F.paintFolds(f,t,x,u,A,H,Za,db,eb,fb,O,Ea,Ha,Ja,Ma),f.stroke()));Ea||Ha||
-Ja||!Ma?Ea||Ha||!Ja||Ma?!Ea&&!Ha&&Ja&&Ma?"frame"!=ua?(f.begin(),F.moveSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),"double"==ua&&(F.moveNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),F.paintSWInner(f,t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja)),f.stroke()):(f.begin(),F.moveSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,
-t,x,u,A,H,Za,O,Ea),F.lineNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),F.paintSWInner(f,t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),f.close(),f.fillAndStroke()):Ea||!Ha||Ja||Ma?!Ea&&Ha&&!Ja&&Ma?"frame"!=ua?(f.begin(),F.moveSW(f,t,x,u,A,H,Za,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),"double"==ua&&(F.moveNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma)),f.stroke(),f.begin(),F.moveNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,
-t,x,u,A,H,eb,O,Ja),"double"==ua&&(F.moveSEInner(f,t,x,u,A,H,eb,O,na,Ja),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha)),f.stroke()):(f.begin(),F.moveSW(f,t,x,u,A,H,Za,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.lineNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),f.close(),f.fillAndStroke(),f.begin(),F.moveNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.lineSEInner(f,t,x,u,A,H,eb,O,na,Ja),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),f.close(),f.fillAndStroke()):
-!Ea&&Ha&&Ja&&!Ma?"frame"!=ua?(f.begin(),F.moveNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),"double"==ua&&(F.moveSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha)),f.stroke()):(f.begin(),F.moveNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),
-F.lineSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),f.close(),f.fillAndStroke()):!Ea&&Ha&&Ja&&Ma?"frame"!=ua?(f.begin(),F.moveNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),"double"==ua&&(F.moveNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma),F.paintLeftInner(f,
-t,x,u,A,H,fb,O,na,Ja,Ma),F.paintSWInner(f,t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha)),f.stroke()):(f.begin(),F.moveNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.lineNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),F.paintSWInner(f,
-t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),f.close(),f.fillAndStroke()):!Ea||Ha||Ja||Ma?Ea&&!Ha&&!Ja&&Ma?"frame"!=ua?(f.begin(),F.moveSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.paintNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),"double"==ua&&(F.moveNEInner(f,t,x,u,A,H,db,O,na,Ha),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),F.paintNWInner(f,t,x,u,A,H,Za,O,na),F.paintLeftInner(f,
-t,x,u,A,H,fb,O,na,Ja,Ma)),f.stroke()):(f.begin(),F.moveSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.paintNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.lineNEInner(f,t,x,u,A,H,db,O,na,Ha),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),F.paintNWInner(f,t,x,u,A,H,Za,O,na),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),f.close(),f.fillAndStroke()):Ea&&!Ha&&Ja&&!Ma?"frame"!=ua?(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),"double"==ua&&(F.moveNEInner(f,t,x,
-u,A,H,db,O,na,Ha),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea)),f.stroke(),f.begin(),F.moveSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),"double"==ua&&(F.moveSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja)),f.stroke()):(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.lineNEInner(f,t,x,u,A,H,db,O,na,Ha),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),f.close(),f.fillAndStroke(),f.begin(),F.moveSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,
-u,A,H,fb,O,Ma),F.lineSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),f.close(),f.fillAndStroke()):Ea&&!Ha&&Ja&&Ma?"frame"!=ua?(f.begin(),F.moveSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.paintNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),"double"==ua&&(F.moveNEInner(f,t,x,u,A,H,db,O,na,Ha),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),F.paintNWInner(f,t,x,u,A,H,Za,O,na),F.paintLeftInner(f,
-t,x,u,A,H,fb,O,na,Ja,Ma),F.paintSWInner(f,t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja)),f.stroke()):(f.begin(),F.moveSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.paintNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.lineNEInner(f,t,x,u,A,H,db,O,na,Ha),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),F.paintNWInner(f,t,x,u,A,H,Za,O,na),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),F.paintSWInner(f,
-t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),f.close(),f.fillAndStroke()):Ea&&Ha&&!Ja&&!Ma?"frame"!=ua?(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),"double"==ua&&(F.moveSEInner(f,t,x,u,A,H,eb,O,na,Ja),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea)),f.stroke()):(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,
-t,x,u,A,H,db,O,Ha),F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.lineSEInner(f,t,x,u,A,H,eb,O,na,Ja),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),f.close(),f.fillAndStroke()):Ea&&Ha&&!Ja&&Ma?"frame"!=ua?(f.begin(),F.moveSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.paintNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,
-Ja),"double"==ua&&(F.moveSEInner(f,t,x,u,A,H,eb,O,na,Ja),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),F.paintNWInner(f,t,x,u,A,H,Za,O,na),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma)),f.stroke()):(f.begin(),F.moveSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.paintNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.lineSEInner(f,t,x,u,A,H,
-eb,O,na,Ja),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),F.paintNWInner(f,t,x,u,A,H,Za,O,na),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),f.close(),f.fillAndStroke()):Ea&&Ha&&Ja&&!Ma?"frame"!=ua?(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),"double"==ua&&(F.moveSWInner(f,
-t,x,u,A,H,fb,O,na,Ma),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea)),f.stroke()):(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.lineSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintBottomInner(f,
-t,x,u,A,H,eb,O,na,Ha,Ja),F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),f.close(),f.fillAndStroke()):Ea&&Ha&&Ja&&Ma&&("frame"!=ua?(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.paintSW(f,t,x,u,A,H,fb,
-O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),f.close(),"double"==ua&&(F.moveSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintSWInner(f,t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),F.paintNWInner(f,t,x,u,A,H,Za,O,na),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),f.close()),f.stroke()):(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintNW(f,
-t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),f.close(),F.moveSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintSWInner(f,t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,
-t,x,u,A,H,Za,O,na,Ma,Ea),F.paintNWInner(f,t,x,u,A,H,Za,O,na),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),f.close(),f.fillAndStroke())):"frame"!=ua?(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),"double"==ua&&(F.moveNEInner(f,t,x,u,A,H,db,O,na,Ha),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea)),f.stroke()):(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.lineNEInner(f,t,x,u,A,H,db,O,na,Ha),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),f.close(),f.fillAndStroke()):
-"frame"!=ua?(f.begin(),F.moveNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),"double"==ua&&(F.moveSEInner(f,t,x,u,A,H,eb,O,na,Ja),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha)),f.stroke()):(f.begin(),F.moveNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.lineSEInner(f,t,x,u,A,H,eb,O,na,Ja),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),f.close(),f.fillAndStroke()):"frame"!=ua?(f.begin(),F.moveSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),"double"==ua&&(F.moveSWInner(f,
-t,x,u,A,H,fb,O,na,Ma),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja)),f.stroke()):(f.begin(),F.moveSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.lineSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),f.close(),f.fillAndStroke()):"frame"!=ua?(f.begin(),F.moveSW(f,t,x,u,A,H,Za,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),"double"==ua&&(F.moveNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma)),f.stroke()):(f.begin(),F.moveSW(f,t,x,u,A,H,
-Za,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.lineNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),f.close(),f.fillAndStroke());f.begin();F.paintFolds(f,t,x,u,A,H,Za,db,eb,fb,O,Ea,Ha,Ja,Ma);f.stroke()};wa.prototype.moveNW=function(f,t,x,u,A,F,H,da,O){"square"==H||"default"==H&&"square"==F||!O?f.moveTo(0,0):f.moveTo(0,da)};wa.prototype.moveNE=function(f,t,x,u,A,F,H,da,O){"square"==H||"default"==H&&"square"==F||!O?f.moveTo(u,0):f.moveTo(u-da,0)};wa.prototype.moveSE=function(f,
-t,x,u,A,F,H,da,O){"square"==H||"default"==H&&"square"==F||!O?f.moveTo(u,A):f.moveTo(u,A-da)};wa.prototype.moveSW=function(f,t,x,u,A,F,H,da,O){"square"==H||"default"==H&&"square"==F||!O?f.moveTo(0,A):f.moveTo(da,A)};wa.prototype.paintNW=function(f,t,x,u,A,F,H,da,O){if(O)if("rounded"==H||"default"==H&&"rounded"==F||"invRound"==H||"default"==H&&"invRound"==F){t=0;if("rounded"==H||"default"==H&&"rounded"==F)t=1;f.arcTo(da,da,0,0,t,da,0)}else("snip"==H||"default"==H&&"snip"==F||"fold"==H||"default"==H&&
-"fold"==F)&&f.lineTo(da,0);else f.lineTo(0,0)};wa.prototype.paintTop=function(f,t,x,u,A,F,H,da,O){"square"==H||"default"==H&&"square"==F||!O?f.lineTo(u,0):f.lineTo(u-da,0)};wa.prototype.paintNE=function(f,t,x,u,A,F,H,da,O){if(O)if("rounded"==H||"default"==H&&"rounded"==F||"invRound"==H||"default"==H&&"invRound"==F){t=0;if("rounded"==H||"default"==H&&"rounded"==F)t=1;f.arcTo(da,da,0,0,t,u,da)}else("snip"==H||"default"==H&&"snip"==F||"fold"==H||"default"==H&&"fold"==F)&&f.lineTo(u,da);else f.lineTo(u,
-0)};wa.prototype.paintRight=function(f,t,x,u,A,F,H,da,O){"square"==H||"default"==H&&"square"==F||!O?f.lineTo(u,A):f.lineTo(u,A-da)};wa.prototype.paintLeft=function(f,t,x,u,A,F,H,da,O){"square"==H||"default"==H&&"square"==F||!O?f.lineTo(0,0):f.lineTo(0,da)};wa.prototype.paintSE=function(f,t,x,u,A,F,H,da,O){if(O)if("rounded"==H||"default"==H&&"rounded"==F||"invRound"==H||"default"==H&&"invRound"==F){t=0;if("rounded"==H||"default"==H&&"rounded"==F)t=1;f.arcTo(da,da,0,0,t,u-da,A)}else("snip"==H||"default"==
-H&&"snip"==F||"fold"==H||"default"==H&&"fold"==F)&&f.lineTo(u-da,A);else f.lineTo(u,A)};wa.prototype.paintBottom=function(f,t,x,u,A,F,H,da,O){"square"==H||"default"==H&&"square"==F||!O?f.lineTo(0,A):f.lineTo(da,A)};wa.prototype.paintSW=function(f,t,x,u,A,F,H,da,O){if(O)if("rounded"==H||"default"==H&&"rounded"==F||"invRound"==H||"default"==H&&"invRound"==F){t=0;if("rounded"==H||"default"==H&&"rounded"==F)t=1;f.arcTo(da,da,0,0,t,0,A-da)}else("snip"==H||"default"==H&&"snip"==F||"fold"==H||"default"==
-H&&"fold"==F)&&f.lineTo(0,A-da);else f.lineTo(0,A)};wa.prototype.paintNWInner=function(f,t,x,u,A,F,H,da,O){if("rounded"==H||"default"==H&&"rounded"==F)f.arcTo(da-.5*O,da-.5*O,0,0,0,O,.5*O+da);else if("invRound"==H||"default"==H&&"invRound"==F)f.arcTo(da+O,da+O,0,0,1,O,O+da);else if("snip"==H||"default"==H&&"snip"==F)f.lineTo(O,.5*O+da);else if("fold"==H||"default"==H&&"fold"==F)f.lineTo(O+da,O+da),f.lineTo(O,O+da)};wa.prototype.paintTopInner=function(f,t,x,u,A,F,H,da,O,ua,na){ua||na?!ua&&na?f.lineTo(0,
-O):ua&&!na?f.lineTo(O,0):ua?"square"==H||"default"==H&&"square"==F?f.lineTo(O,O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.lineTo(da+.5*O,O):f.lineTo(da+O,O):f.lineTo(0,O):f.lineTo(0,0)};wa.prototype.paintNEInner=function(f,t,x,u,A,F,H,da,O){if("rounded"==H||"default"==H&&"rounded"==F)f.arcTo(da-.5*O,da-.5*O,0,0,0,u-da-.5*O,O);else if("invRound"==H||"default"==H&&"invRound"==F)f.arcTo(da+O,da+O,0,0,1,u-da-O,O);else if("snip"==H||"default"==H&&"snip"==F)f.lineTo(u-
-da-.5*O,O);else if("fold"==H||"default"==H&&"fold"==F)f.lineTo(u-da-O,da+O),f.lineTo(u-da-O,O)};wa.prototype.paintRightInner=function(f,t,x,u,A,F,H,da,O,ua,na){ua||na?!ua&&na?f.lineTo(u-O,0):ua&&!na?f.lineTo(u,O):ua?"square"==H||"default"==H&&"square"==F?f.lineTo(u-O,O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.lineTo(u-O,da+.5*O):f.lineTo(u-O,da+O):f.lineTo(u-O,0):f.lineTo(u,0)};wa.prototype.paintLeftInner=function(f,t,x,u,A,F,H,da,O,ua,na){ua||na?!ua&&na?f.lineTo(O,
-A):ua&&!na?f.lineTo(0,A-O):ua?"square"==H||"default"==H&&"square"==F?f.lineTo(O,A-O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.lineTo(O,A-da-.5*O):f.lineTo(O,A-da-O):f.lineTo(O,A):f.lineTo(0,A)};wa.prototype.paintSEInner=function(f,t,x,u,A,F,H,da,O){if("rounded"==H||"default"==H&&"rounded"==F)f.arcTo(da-.5*O,da-.5*O,0,0,0,u-O,A-da-.5*O);else if("invRound"==H||"default"==H&&"invRound"==F)f.arcTo(da+O,da+O,0,0,1,u-O,A-da-O);else if("snip"==H||"default"==H&&"snip"==
-F)f.lineTo(u-O,A-da-.5*O);else if("fold"==H||"default"==H&&"fold"==F)f.lineTo(u-da-O,A-da-O),f.lineTo(u-O,A-da-O)};wa.prototype.paintBottomInner=function(f,t,x,u,A,F,H,da,O,ua,na){ua||na?!ua&&na?f.lineTo(u,A-O):ua&&!na?f.lineTo(u-O,A):"square"==H||"default"==H&&"square"==F||!ua?f.lineTo(u-O,A-O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.lineTo(u-da-.5*O,A-O):f.lineTo(u-da-O,A-O):f.lineTo(u,A)};wa.prototype.paintSWInner=function(f,t,x,u,A,F,H,da,O,ua){if(!ua)f.lineTo(O,
-A);else if("square"==H||"default"==H&&"square"==F)f.lineTo(O,A-O);else if("rounded"==H||"default"==H&&"rounded"==F)f.arcTo(da-.5*O,da-.5*O,0,0,0,da+.5*O,A-O);else if("invRound"==H||"default"==H&&"invRound"==F)f.arcTo(da+O,da+O,0,0,1,da+O,A-O);else if("snip"==H||"default"==H&&"snip"==F)f.lineTo(da+.5*O,A-O);else if("fold"==H||"default"==H&&"fold"==F)f.lineTo(O+da,A-da-O),f.lineTo(O+da,A-O)};wa.prototype.moveSWInner=function(f,t,x,u,A,F,H,da,O,ua){ua?"square"==H||"default"==H&&"square"==F?f.moveTo(O,
-A-O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.moveTo(O,A-da-.5*O):("invRound"==H||"default"==H&&"invRound"==F||"fold"==H||"default"==H&&"fold"==F)&&f.moveTo(O,A-da-O):f.moveTo(0,A-O)};wa.prototype.lineSWInner=function(f,t,x,u,A,F,H,da,O,ua){ua?"square"==H||"default"==H&&"square"==F?f.lineTo(O,A-O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.lineTo(O,A-da-.5*O):("invRound"==H||"default"==H&&"invRound"==F||"fold"==H||"default"==
-H&&"fold"==F)&&f.lineTo(O,A-da-O):f.lineTo(0,A-O)};wa.prototype.moveSEInner=function(f,t,x,u,A,F,H,da,O,ua){ua?"square"==H||"default"==H&&"square"==F?f.moveTo(u-O,A-O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.moveTo(u-O,A-da-.5*O):("invRound"==H||"default"==H&&"invRound"==F||"fold"==H||"default"==H&&"fold"==F)&&f.moveTo(u-O,A-da-O):f.moveTo(u-O,A)};wa.prototype.lineSEInner=function(f,t,x,u,A,F,H,da,O,ua){ua?"square"==H||"default"==H&&"square"==F?f.lineTo(u-O,
-A-O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.lineTo(u-O,A-da-.5*O):("invRound"==H||"default"==H&&"invRound"==F||"fold"==H||"default"==H&&"fold"==F)&&f.lineTo(u-O,A-da-O):f.lineTo(u-O,A)};wa.prototype.moveNEInner=function(f,t,x,u,A,F,H,da,O,ua){ua?"square"==H||"default"==H&&"square"==F||ua?f.moveTo(u-O,O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.moveTo(u-O,da+.5*O):("invRound"==H||"default"==H&&"invRound"==F||"fold"==H||"default"==
-H&&"fold"==F)&&f.moveTo(u-O,da+O):f.moveTo(u,O)};wa.prototype.lineNEInner=function(f,t,x,u,A,F,H,da,O,ua){ua?"square"==H||"default"==H&&"square"==F||ua?f.lineTo(u-O,O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.lineTo(u-O,da+.5*O):("invRound"==H||"default"==H&&"invRound"==F||"fold"==H||"default"==H&&"fold"==F)&&f.lineTo(u-O,da+O):f.lineTo(u,O)};wa.prototype.moveNWInner=function(f,t,x,u,A,F,H,da,O,ua,na){ua||na?!ua&&na?f.moveTo(O,0):ua&&!na?f.moveTo(0,O):"square"==
-H||"default"==H&&"square"==F?f.moveTo(O,O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.moveTo(O,da+.5*O):("invRound"==H||"default"==H&&"invRound"==F||"fold"==H||"default"==H&&"fold"==F)&&f.moveTo(O,da+O):f.moveTo(0,0)};wa.prototype.lineNWInner=function(f,t,x,u,A,F,H,da,O,ua,na){ua||na?!ua&&na?f.lineTo(O,0):ua&&!na?f.lineTo(0,O):"square"==H||"default"==H&&"square"==F?f.lineTo(O,O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.lineTo(O,
-da+.5*O):("invRound"==H||"default"==H&&"invRound"==F||"fold"==H||"default"==H&&"fold"==F)&&f.lineTo(O,da+O):f.lineTo(0,0)};wa.prototype.paintFolds=function(f,t,x,u,A,F,H,da,O,ua,na,Ua,hb,$a,Ea){if("fold"==F||"fold"==H||"fold"==da||"fold"==O||"fold"==ua)("fold"==H||"default"==H&&"fold"==F)&&Ua&&Ea&&(f.moveTo(0,na),f.lineTo(na,na),f.lineTo(na,0)),("fold"==da||"default"==da&&"fold"==F)&&Ua&&hb&&(f.moveTo(u-na,0),f.lineTo(u-na,na),f.lineTo(u,na)),("fold"==O||"default"==O&&"fold"==F)&&$a&&hb&&(f.moveTo(u-
-na,A),f.lineTo(u-na,A-na),f.lineTo(u,A-na)),("fold"==ua||"default"==ua&&"fold"==F)&&$a&&Ea&&(f.moveTo(0,A-na),f.lineTo(na,A-na),f.lineTo(na,A))};mxCellRenderer.registerShape(wa.prototype.cst.RECT2,wa);wa.prototype.constraints=null;mxUtils.extend(Qa,mxConnector);Qa.prototype.origPaintEdgeShape=Qa.prototype.paintEdgeShape;Qa.prototype.paintEdgeShape=function(f,t){for(var x=[],u=0;u<t.length;u++)x.push(mxUtils.clone(t[u]));u=f.state.dashed;var A=f.state.fixDash;Qa.prototype.origPaintEdgeShape.apply(this,
-[f,x]);3<=f.state.strokeWidth&&(x=mxUtils.getValue(this.style,"fillColor",null),null!=x&&(f.setStrokeColor(x),f.setStrokeWidth(f.state.strokeWidth-2),f.setDashed(u,A),Qa.prototype.origPaintEdgeShape.apply(this,[f,t])))};mxCellRenderer.registerShape("filledEdge",Qa);mxUtils.extend(Wa,mxConnector);Wa.prototype.defaultWidth=4;Wa.prototype.getEdgeWidth=function(){return Math.max(0,mxUtils.getNumber(this.style,"width",this.defaultWidth))};Wa.prototype.getFlowAnimationPath=function(){return mxShape.prototype.getFlowAnimationPath.call(this,
-2)};Wa.prototype.origPaintEdgeShape=Wa.prototype.paintEdgeShape;Wa.prototype.paintEdgeShape=function(f,t){for(var x=[],u=0;u<t.length;u++)x.push(mxUtils.clone(t[u]));u=f.state.dashed;var A=f.state.fixDash,F=this.getEdgeWidth();f.setStrokeWidth(F+2*this.strokewidth);f.setDashed(!1);Wa.prototype.origPaintEdgeShape.apply(this,[f,x]);x=mxUtils.getValue(this.style,"fillColor",null);null!=x&&(f.setStrokeWidth(F),f.setStrokeColor(x),f.setDashed(u,A),Wa.prototype.origPaintEdgeShape.apply(this,[f,t]))};mxCellRenderer.registerShape("pipe",
-Wa);mxUtils.extend(ab,mxRectangleShape);ab.prototype.size=10;ab.prototype.isRoundable=function(){return!0};ab.prototype.paintVertexShape=function(f,t,x,u,A){f.translate(t,x);t=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,null);null!=t&&t!=mxConstants.NONE&&(f.setStrokeColor("none"),f.begin(),f.rect(0,0,u,A),f.fillAndStroke(),f.setStrokeColor(this.stroke));var F=Math.max(5,parseFloat(mxUtils.getValue(this.style,"size",this.size)));t=A/2;x=this.strokewidth;x=this.isRounded?x/2:x;A-=x;F=Math.max(1,
-Math.round(u/F)-1);var H=u/(F+1),da=H/2;f.begin();f.moveTo(0,t);if(this.isRounded){f.curveTo(.4*da,t-.4*(t-x),.6*da,x,da,x);for(var O=0;O<F;O++){var ua=da+O*H,na=ua+H,Ua=0==O%2?A:x;f.curveTo(ua+.4*H,0==O%2?x:A,na-.4*H,Ua,na,Ua)}A=0==F%2?x:A;f.curveTo(da+F*H+.4*da,A,u-.4*da,t-(A==x?1:-1)*(t-x)*.4,u,t)}else{f.lineTo(da,x);for(O=0;O<F;O++)na=da+(O+1)*H,Ua=0==O%2?A:x,f.lineTo(na,Ua);f.lineTo(u,t)}f.stroke()};mxCellRenderer.registerShape("zigzag",ab);"undefined"!==typeof StyleFormatPanel&&function(){var f=
-StyleFormatPanel.prototype.getCustomColors;StyleFormatPanel.prototype.getCustomColors=function(){var t=this.editorUi.getSelectionState(),x=f.apply(this,arguments);"umlFrame"==t.style.shape&&x.push({title:mxResources.get("laneColor"),key:"swimlaneFillColor",defaultValue:"default"});return x}}();mxMarker.addMarker("dash",function(f,t,x,u,A,F,H,da,O,ua){var na=A*(H+O+1),Ua=F*(H+O+1);return function(){f.begin();f.moveTo(u.x-na/2-Ua/2,u.y-Ua/2+na/2);f.lineTo(u.x+Ua/2-3*na/2,u.y-3*Ua/2-na/2);f.stroke()}});
-mxMarker.addMarker("box",function(f,t,x,u,A,F,H,da,O,ua){var na=A*(H+O+1),Ua=F*(H+O+1),hb=u.x+na/2,$a=u.y+Ua/2;u.x-=na;u.y-=Ua;return function(){f.begin();f.moveTo(hb-na/2-Ua/2,$a-Ua/2+na/2);f.lineTo(hb-na/2+Ua/2,$a-Ua/2-na/2);f.lineTo(hb+Ua/2-3*na/2,$a-3*Ua/2-na/2);f.lineTo(hb-Ua/2-3*na/2,$a-3*Ua/2+na/2);f.close();ua?f.fillAndStroke():f.stroke()}});mxMarker.addMarker("cross",function(f,t,x,u,A,F,H,da,O,ua){var na=A*(H+O+1),Ua=F*(H+O+1);return function(){f.begin();f.moveTo(u.x-na/2-Ua/2,u.y-Ua/2+
-na/2);f.lineTo(u.x+Ua/2-3*na/2,u.y-3*Ua/2-na/2);f.moveTo(u.x-na/2+Ua/2,u.y-Ua/2-na/2);f.lineTo(u.x-Ua/2-3*na/2,u.y-3*Ua/2+na/2);f.stroke()}});mxMarker.addMarker("circle",ib);mxMarker.addMarker("circlePlus",function(f,t,x,u,A,F,H,da,O,ua){var na=u.clone(),Ua=ib.apply(this,arguments),hb=A*(H+2*O),$a=F*(H+2*O);return function(){Ua.apply(this,arguments);f.begin();f.moveTo(na.x-A*O,na.y-F*O);f.lineTo(na.x-2*hb+A*O,na.y-2*$a+F*O);f.moveTo(na.x-hb-$a+F*O,na.y-$a+hb-A*O);f.lineTo(na.x+$a-hb-F*O,na.y-$a-hb+
-A*O);f.stroke()}});mxMarker.addMarker("halfCircle",function(f,t,x,u,A,F,H,da,O,ua){var na=A*(H+O+1),Ua=F*(H+O+1),hb=u.clone();u.x-=na;u.y-=Ua;return function(){f.begin();f.moveTo(hb.x-Ua,hb.y+na);f.quadTo(u.x-Ua,u.y+na,u.x,u.y);f.quadTo(u.x+Ua,u.y-na,hb.x+Ua,hb.y-na);f.stroke()}});mxMarker.addMarker("async",function(f,t,x,u,A,F,H,da,O,ua){t=A*O*1.118;x=F*O*1.118;A*=H+O;F*=H+O;var na=u.clone();na.x-=t;na.y-=x;u.x+=-A-t;u.y+=-F-x;return function(){f.begin();f.moveTo(na.x,na.y);da?f.lineTo(na.x-A-F/
-2,na.y-F+A/2):f.lineTo(na.x+F/2-A,na.y-F-A/2);f.lineTo(na.x-A,na.y-F);f.close();ua?f.fillAndStroke():f.stroke()}});mxMarker.addMarker("openAsync",function(f){f=null!=f?f:2;return function(t,x,u,A,F,H,da,O,ua,na){F*=da+ua;H*=da+ua;var Ua=A.clone();return function(){t.begin();t.moveTo(Ua.x,Ua.y);O?t.lineTo(Ua.x-F-H/f,Ua.y-H+F/f):t.lineTo(Ua.x+H/f-F,Ua.y-H-F/f);t.stroke()}}}(2));mxUtils.extend(gb,mxRectangleShape);gb.prototype.arcStartY=25;gb.prototype.arcMidY=-25;gb.prototype.arcEndY=25;gb.prototype.paintForeground=
-function(f,t,x,u,A){mxRectangleShape.prototype.paintForeground.apply(this,arguments);if(null!=this.state){var F=this.state.view.graph;if(null==F.cellEditor||F.cellEditor.editingCell!=this.state.cell)if(F=F.convertValueToString(this.state.cell),null!=F&&0!=F.length){var H=parseFloat(mxUtils.getValue(this.style,"arcStartY",this.arcStartY)),da=parseFloat(mxUtils.getValue(this.style,"arcMidY",this.arcMidY)),O=parseFloat(mxUtils.getValue(this.style,"arcEndY",this.arcEndY)),ua=mxUtils.getValue(this.style,
-"curveType","round");if(null!=f.root&&"function"===typeof f.getBaseUrl){null!=this._curvedTextGroup&&null!=this._curvedTextGroup.parentNode&&this._curvedTextGroup.parentNode.removeChild(this._curvedTextGroup);this._curvedTextGroup=null;f.translate(t,x);var na=f.state,Ua=parseFloat(mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE)),hb=Ua/2,$a=(H+O)/2,Ea=Math.max(Math.abs(gb.prototype.arcMidY),Math.min($a,A-$a));da=Math.max(-Ea,Math.min(Ea,da));var Ha=$a+da;da=Math.min(H,
-O,Ha);Ea=Math.max(H,O,Ha);$a=Ea-da;var Ja=mxUtils.getValue(this.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE);this._curveYOffset=$a=Ja==mxConstants.ALIGN_TOP?hb-da:Ja==mxConstants.ALIGN_BOTTOM?A-hb-Ea:(A-$a)/2-da;Ja=u-hb;da=(hb+na.dx)*na.scale;H=(H+$a+na.dy)*na.scale;Ea=((hb+Ja)/2+na.dx)*na.scale;Ha=(Ha+$a+na.dy)*na.scale;hb=(Ja+na.dx)*na.scale;O=(O+$a+na.dy)*na.scale;"round"==ua?(Ja=Math.sqrt((hb-da)*(hb-da)+(O-H)*(O-H)),ua=(da+hb)/2,$a=(H+O)/2,ua=Math.sqrt((Ea-ua)*(Ea-ua)+(Ha-
-$a)*(Ha-$a)),.5>ua?(ua="M "+f.format(da)+" "+f.format(H)+" L "+f.format(hb)+" "+f.format(O),da=Ja):(Ja/=2,$a=Ja*Ja/(2*ua)+ua/2,Ha=0<(hb-da)*(Ha-H)-(O-H)*(Ea-da)?0:1,Ea=ua>Ja?1:0,ua="M "+f.format(da)+" "+f.format(H)+" A "+f.format($a)+" "+f.format($a)+" 0 "+Ea+" "+Ha+" "+f.format(hb)+" "+f.format(O),da=2*Math.asin(Math.min(1,Ja/$a)),Ea&&(da=2*Math.PI-da),da*=$a)):(ua="M "+f.format(da)+" "+f.format(H)+" Q "+f.format(Ea)+" "+f.format(Ha)+" "+f.format(hb)+" "+f.format(O),$a=Ea-da,Ja=Ha-H,Ea=hb-Ea,Ha=
-O-Ha,da=hb-da,H=O-H,da=(Math.sqrt($a*$a+Ja*Ja)+Math.sqrt(Ea*Ea+Ha*Ha)+Math.sqrt(da*da+H*H))/2);O=(f.idPrefix||"")+"ctp-"+mxObjectIdentity.get(this);Ea=(H=!mxClient.IS_CHROMEAPP&&f.root.ownerDocument==document)?f.getBaseUrl().replace(/([\(\)])/g,"\\$1"):"";hb=f.createElement("g");Ha=na.transform||"";0<Ha.length&&hb.setAttribute("transform",Ha);1>na.alpha&&hb.setAttribute("opacity",na.alpha);Ha=f.createElement("defs");$a=f.createElement("path");$a.setAttribute("id",O);$a.setAttribute("d",ua);Ha.appendChild($a);
-hb.appendChild(Ha);ua=f.createElement("text");$a=mxUtils.getValue(this.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY);Ja=mxUtils.getValue(this.style,mxConstants.STYLE_FONTCOLOR,"#000000");Ha=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSTYLE,0);ua.setAttribute("font-size",Ua*na.scale+"px");ua.setAttribute("font-family",mxUtils.parseCssFontFamily($a));ua.setAttribute("fill",Ja);(Ha&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&ua.setAttribute("font-weight","bold");(Ha&mxConstants.FONT_ITALIC)==
-mxConstants.FONT_ITALIC&&ua.setAttribute("font-style","italic");na=[];(Ha&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&na.push("underline");(Ha&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&na.push("line-through");0<na.length&&ua.setAttribute("text-decoration",na.join(" "));Ua=mxUtils.getValue(this.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER);Ha="middle";na="50%";Ua==mxConstants.ALIGN_LEFT?(Ha="start",na="0%"):Ua==mxConstants.ALIGN_RIGHT&&(Ha="end",na="100%");
-ua.setAttribute("text-anchor",Ha);ua.setAttribute("dominant-baseline","central");Ua=f.createElement("textPath");Ua.setAttribute("startOffset",na);na=(H?Ea:"")+"#"+O;Ua.setAttribute("href",na);H&&Ua.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",na);Ua.setAttribute("textLength",da);Ua.setAttribute("lengthAdjust","spacing");mxUtils.write(Ua,F);ua.appendChild(Ua);hb.appendChild(ua);f.root.appendChild(hb);this._curvedTextGroup=hb}else f.text(t+u/2,x+A/2,0,0,F,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,
-!1,"",null,!1,0)}}};gb.prototype.destroy=function(){null!=this._curvedTextGroup&&null!=this._curvedTextGroup.parentNode&&this._curvedTextGroup.parentNode.removeChild(this._curvedTextGroup);this._curvedTextGroup=null;mxRectangleShape.prototype.destroy.apply(this,arguments)};mxCellRenderer.registerShape("curvedText",gb);if("undefined"!==typeof mxVertexHandler){var vb=function(f,t,x){return ob(f,["width"],t,function(u,A,F,H,da){da=f.shape.getEdgeWidth()*f.view.scale+x;return new mxPoint(H.x+A*u/4+F*
-da/2,H.y+F*u/4-A*da/2)},function(u,A,F,H,da,O){u=Math.sqrt(mxUtils.ptSegDistSq(H.x,H.y,da.x,da.y,O.x,O.y));f.style.width=Math.round(Math.round(2*u)/f.view.scale-x)})},ob=function(f,t,x,u,A){return nb(f,t,function(F){var H=f.absolutePoints;if(null!=H&&0<H.length){var da=H.length-1;F=f.view.translate;var O=f.view.scale,ua=x?H[0]:H[da];H=x?H[1]:H[da-1];da=H.x-ua.x;var na=H.y-ua.y,Ua=Math.sqrt(da*da+na*na);ua=u.call(this,Ua,da/Ua,na/Ua,ua,H);return new mxPoint(ua.x/O-F.x,ua.y/O-F.y)}return null},function(F,
-H,da){var O=f.absolutePoints,ua=O.length-1;F=f.view.translate;var na=f.view.scale,Ua=x?O[0]:O[ua];O=x?O[1]:O[ua-1];ua=O.x-Ua.x;var hb=O.y-Ua.y,$a=Math.sqrt(ua*ua+hb*hb);H.x=(H.x+F.x)*na;H.y=(H.y+F.y)*na;A.call(this,$a,ua/$a,hb/$a,Ua,O,H,da)})},tb=function(f,t){return function(x){return[ob(x,["startWidth"],!0,function(u,A,F,H,da){da=mxUtils.getNumber(x.style,"startWidth",f)*x.view.scale+t;return new mxPoint(H.x+A*u/4+F*da/2,H.y+F*u/4-A*da/2)},function(u,A,F,H,da,O){u=Math.sqrt(mxUtils.ptSegDistSq(H.x,
-H.y,da.x,da.y,O.x,O.y));x.style.startWidth=Math.round(2*u)/x.view.scale-t})]}},xb=function(f){return function(t){return[nb(t,["arrowWidth","arrowSize"],function(x){var u=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"arrowWidth",cb.prototype.arrowWidth))),A=Math.max(0,Math.min(f,mxUtils.getValue(this.state.style,"arrowSize",cb.prototype.arrowSize)));return new mxPoint(x.x+(1-A)*x.width,x.y+(1-u)*x.height/2)},function(x,u){this.state.style.arrowWidth=Math.max(0,Math.min(1,Math.abs(x.y+x.height/
-2-u.y)/x.height*2));this.state.style.arrowSize=Math.max(0,Math.min(f,(x.x+x.width-u.x)/x.width))})]}},Gb=function(f){return function(t){return[nb(t,["size"],function(x){var u=Math.max(0,Math.min(.5*x.height,parseFloat(mxUtils.getValue(this.state.style,"size",f))));return new mxPoint(x.x,x.y+u)},function(x,u){this.state.style.size=Math.max(0,u.y-x.y)},!0)]}},yb=function(f,t,x){return function(u){var A=[nb(u,["size"],function(F){var H=Math.max(0,Math.min(F.width,Math.min(F.height,parseFloat(mxUtils.getValue(this.state.style,
-"size",t)))))*f;return new mxPoint(F.x+H,F.y+H)},function(F,H){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(F.width,H.x-F.x),Math.min(F.height,H.y-F.y)))/f)},!1)];x&&mxUtils.getValue(u.style,mxConstants.STYLE_ROUNDED,!1)&&A.push(Ab(u));return A}},Db=function(f,t,x,u,A){x=null!=x?x:.5;return function(F){var H=[nb(F,["size"],function(da){var O=null!=A?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,ua=parseFloat(mxUtils.getValue(this.state.style,"size",O?A:f));return new mxPoint(da.x+
-Math.max(0,Math.min(.5*da.width,ua*(O?1:da.width))),da.getCenterY())},function(da,O,ua){da=null!=A&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?O.x-da.x:Math.max(0,Math.min(x,(O.x-da.x)/da.width));this.state.style.size=da},!1,u)];t&&mxUtils.getValue(F.style,mxConstants.STYLE_ROUNDED,!1)&&H.push(Ab(F));return H}},Hb=function(f,t,x){f=null!=f?f:.5;return function(u){var A=[nb(u,["size"],function(F){var H=null!=x?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,da=Math.max(0,
-parseFloat(mxUtils.getValue(this.state.style,"size",H?x:t)));return new mxPoint(F.x+Math.min(.75*F.width*f,da*(H?.75:.75*F.width)),F.y+F.height/4)},function(F,H){F=null!=x&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?H.x-F.x:Math.max(0,Math.min(f,(H.x-F.x)/F.width*.75));this.state.style.size=F},!1,!0)];mxUtils.getValue(u.style,mxConstants.STYLE_ROUNDED,!1)&&A.push(Ab(u));return A}},Eb=function(){return function(f){var t=[];mxUtils.getValue(f.style,mxConstants.STYLE_ROUNDED,!1)&&t.push(Ab(f));
-return t}},Ab=function(f,t){return nb(f,[mxConstants.STYLE_ARCSIZE],function(x){var u=null!=t?t:x.height/8;if("1"==mxUtils.getValue(f.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)){var A=mxUtils.getValue(f.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;return new mxPoint(x.x+x.width-Math.min(x.width/2,A),x.y+u)}A=Math.max(0,parseFloat(mxUtils.getValue(f.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)))/100;return new mxPoint(x.x+x.width-Math.min(Math.max(x.width/
-2,x.height/2),Math.min(x.width,x.height)*A),x.y+u)},function(x,u,A){"1"==mxUtils.getValue(f.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)?this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.max(0,Math.min(x.width,2*(x.x+x.width-u.x)))):this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.min(50,Math.max(0,100*(x.width-u.x+x.x)/Math.min(x.width,x.height))))})},nb=function(f,t,x,u,A,F,H){var da=new mxHandle(f,null,mxVertexHandler.prototype.secondaryHandleImage);da.execute=function(ua){for(var na=
-0;na<t.length;na++)this.copyStyle(t[na]);H&&H(ua)};da.getPosition=x;da.setPosition=u;da.ignoreGrid=null!=A?A:!0;if(F){var O=da.positionChanged;da.positionChanged=function(){O.apply(this,arguments);f.view.invalidate(this.state.cell);f.view.validate()}}return da},Cb={link:function(f){return[vb(f,!0,10),vb(f,!1,10)]},pipe:function(f){return[vb(f,!0,10),vb(f,!1,10)]},flexArrow:function(f){var t=f.view.graph.gridSize/f.view.scale,x=[];mxUtils.getValue(f.style,mxConstants.STYLE_STARTARROW,mxConstants.NONE)!=
-mxConstants.NONE&&(x.push(ob(f,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(u,A,F,H,da){u=(f.shape.getEdgeWidth()-f.shape.strokewidth)*f.view.scale;da=3*mxUtils.getNumber(f.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*f.view.scale;return new mxPoint(H.x+A*(da+f.shape.strokewidth*f.view.scale)+F*u/2,H.y+F*(da+f.shape.strokewidth*f.view.scale)-A*u/2)},function(u,A,F,H,da,O,ua){u=Math.sqrt(mxUtils.ptSegDistSq(H.x,H.y,da.x,da.y,O.x,O.y));A=mxUtils.ptLineDist(H.x,
-H.y,H.x+F,H.y-A,O.x,O.y);f.style[mxConstants.STYLE_STARTSIZE]=Math.round((A-f.shape.strokewidth)/3/f.view.scale);f.style.width=Math.round(2*u/f.view.scale);if(mxEvent.isShiftDown(ua.getEvent())||mxEvent.isControlDown(ua.getEvent()))f.style[mxConstants.STYLE_ENDSIZE]=f.style[mxConstants.STYLE_STARTSIZE];mxEvent.isAltDown(ua.getEvent())||Math.abs(parseFloat(f.style[mxConstants.STYLE_STARTSIZE])-parseFloat(f.style[mxConstants.STYLE_ENDSIZE]))<t/6&&(f.style[mxConstants.STYLE_STARTSIZE]=f.style[mxConstants.STYLE_ENDSIZE])})),
-x.push(ob(f,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(u,A,F,H,da){u=(f.shape.getStartArrowWidth()-f.shape.strokewidth)*f.view.scale;da=3*mxUtils.getNumber(f.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*f.view.scale;return new mxPoint(H.x+A*(da+f.shape.strokewidth*f.view.scale)+F*u/2,H.y+F*(da+f.shape.strokewidth*f.view.scale)-A*u/2)},function(u,A,F,H,da,O,ua){u=Math.sqrt(mxUtils.ptSegDistSq(H.x,H.y,da.x,da.y,O.x,O.y));A=mxUtils.ptLineDist(H.x,
-H.y,H.x+F,H.y-A,O.x,O.y);f.style[mxConstants.STYLE_STARTSIZE]=Math.round((A-f.shape.strokewidth)/3/f.view.scale);f.style.startWidth=Math.round(Math.max(0,Math.round(2*u)-f.shape.getEdgeWidth())/f.view.scale);if(mxEvent.isShiftDown(ua.getEvent())||mxEvent.isControlDown(ua.getEvent()))f.style[mxConstants.STYLE_ENDSIZE]=f.style[mxConstants.STYLE_STARTSIZE],f.style.endWidth=f.style.startWidth;mxEvent.isAltDown(ua.getEvent())||(Math.abs(parseFloat(f.style[mxConstants.STYLE_STARTSIZE])-parseFloat(f.style[mxConstants.STYLE_ENDSIZE]))<
-t/6&&(f.style[mxConstants.STYLE_STARTSIZE]=f.style[mxConstants.STYLE_ENDSIZE]),Math.abs(parseFloat(f.style.startWidth)-parseFloat(f.style.endWidth))<t&&(f.style.startWidth=f.style.endWidth))})));mxUtils.getValue(f.style,mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE&&(x.push(ob(f,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(u,A,F,H,da){u=(f.shape.getEdgeWidth()-f.shape.strokewidth)*f.view.scale;da=3*mxUtils.getNumber(f.style,mxConstants.STYLE_ENDSIZE,
-mxConstants.ARROW_SIZE/5)*f.view.scale;return new mxPoint(H.x+A*(da+f.shape.strokewidth*f.view.scale)-F*u/2,H.y+F*(da+f.shape.strokewidth*f.view.scale)+A*u/2)},function(u,A,F,H,da,O,ua){u=Math.sqrt(mxUtils.ptSegDistSq(H.x,H.y,da.x,da.y,O.x,O.y));A=mxUtils.ptLineDist(H.x,H.y,H.x+F,H.y-A,O.x,O.y);f.style[mxConstants.STYLE_ENDSIZE]=Math.round((A-f.shape.strokewidth)/3/f.view.scale);f.style.width=Math.round(2*u/f.view.scale);if(mxEvent.isShiftDown(ua.getEvent())||mxEvent.isControlDown(ua.getEvent()))f.style[mxConstants.STYLE_STARTSIZE]=
-f.style[mxConstants.STYLE_ENDSIZE];mxEvent.isAltDown(ua.getEvent())||Math.abs(parseFloat(f.style[mxConstants.STYLE_ENDSIZE])-parseFloat(f.style[mxConstants.STYLE_STARTSIZE]))<t/6&&(f.style[mxConstants.STYLE_ENDSIZE]=f.style[mxConstants.STYLE_STARTSIZE])})),x.push(ob(f,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(u,A,F,H,da){u=(f.shape.getEndArrowWidth()-f.shape.strokewidth)*f.view.scale;da=3*mxUtils.getNumber(f.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/
-5)*f.view.scale;return new mxPoint(H.x+A*(da+f.shape.strokewidth*f.view.scale)-F*u/2,H.y+F*(da+f.shape.strokewidth*f.view.scale)+A*u/2)},function(u,A,F,H,da,O,ua){u=Math.sqrt(mxUtils.ptSegDistSq(H.x,H.y,da.x,da.y,O.x,O.y));A=mxUtils.ptLineDist(H.x,H.y,H.x+F,H.y-A,O.x,O.y);f.style[mxConstants.STYLE_ENDSIZE]=Math.round((A-f.shape.strokewidth)/3/f.view.scale);f.style.endWidth=Math.round(Math.max(0,Math.round(2*u)-f.shape.getEdgeWidth())/f.view.scale);if(mxEvent.isShiftDown(ua.getEvent())||mxEvent.isControlDown(ua.getEvent()))f.style[mxConstants.STYLE_STARTSIZE]=
-f.style[mxConstants.STYLE_ENDSIZE],f.style.startWidth=f.style.endWidth;mxEvent.isAltDown(ua.getEvent())||(Math.abs(parseFloat(f.style[mxConstants.STYLE_ENDSIZE])-parseFloat(f.style[mxConstants.STYLE_STARTSIZE]))<t/6&&(f.style[mxConstants.STYLE_ENDSIZE]=f.style[mxConstants.STYLE_STARTSIZE]),Math.abs(parseFloat(f.style.endWidth)-parseFloat(f.style.startWidth))<t&&(f.style.endWidth=f.style.startWidth))})));return x},swimlane:function(f){var t=[];if(mxUtils.getValue(f.style,mxConstants.STYLE_ROUNDED)){var x=
-parseFloat(mxUtils.getValue(f.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));t.push(Ab(f,x/2))}t.push(nb(f,[mxConstants.STYLE_STARTSIZE],function(u){var A=parseFloat(mxUtils.getValue(f.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));return 1==mxUtils.getValue(f.style,mxConstants.STYLE_HORIZONTAL,1)?new mxPoint(u.getCenterX(),u.y+Math.max(0,Math.min(u.height,A))):new mxPoint(u.x+Math.max(0,Math.min(u.width,A)),u.getCenterY())},function(u,A){f.style[mxConstants.STYLE_STARTSIZE]=
-1==mxUtils.getValue(this.state.style,mxConstants.STYLE_HORIZONTAL,1)?Math.round(Math.max(0,Math.min(u.height,A.y-u.y))):Math.round(Math.max(0,Math.min(u.width,A.x-u.x)))},!1,null,function(u){var A=f.view.graph;if(!mxEvent.isShiftDown(u.getEvent())&&!mxEvent.isControlDown(u.getEvent())&&(A.isTableRow(f.cell)||A.isTableCell(f.cell))){u=A.getSwimlaneDirection(f.style);var F=A.model.getParent(f.cell);F=A.model.getChildCells(F,!0);for(var H=[],da=0;da<F.length;da++)F[da]!=f.cell&&A.isSwimlane(F[da])&&
-A.getSwimlaneDirection(A.getCurrentCellStyle(F[da]))==u&&H.push(F[da]);A.setCellStyles(mxConstants.STYLE_STARTSIZE,f.style[mxConstants.STYLE_STARTSIZE],H)}}));return t},label:Eb(),ext:Eb(),rectangle:Eb(),triangle:Eb(),rhombus:Eb(),umlLifeline:function(f){return[nb(f,["size"],function(t){var x=Math.max(0,Math.min(t.height,parseFloat(mxUtils.getValue(this.state.style,"size",X.prototype.size))));return new mxPoint(t.getCenterX(),t.y+x)},function(t,x){this.state.style.size=Math.round(Math.max(0,Math.min(t.height,
-x.y-t.y)))},!1)]},umlFrame:function(f){return[nb(f,["width","height"],function(t){var x=Math.max(ha.prototype.corner,Math.min(t.width,mxUtils.getValue(this.state.style,"width",ha.prototype.width))),u=Math.max(1.5*ha.prototype.corner,Math.min(t.height,mxUtils.getValue(this.state.style,"height",ha.prototype.height)));return new mxPoint(t.x+x,t.y+u)},function(t,x){this.state.style.width=Math.round(Math.max(ha.prototype.corner,Math.min(t.width,x.x-t.x)));this.state.style.height=Math.round(Math.max(1.5*
-ha.prototype.corner,Math.min(t.height,x.y-t.y)))},!1)]},process:function(f){var t=[nb(f,["size"],function(x){var u="0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),A=parseFloat(mxUtils.getValue(this.state.style,"size",ja.prototype.size));return u?new mxPoint(x.x+A,x.y+x.height/4):new mxPoint(x.x+x.width*A,x.y+x.height/4)},function(x,u){x="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(.5*x.width,u.x-x.x)):Math.max(0,Math.min(.5,(u.x-x.x)/x.width));this.state.style.size=
-x},!1)];mxUtils.getValue(f.style,mxConstants.STYLE_ROUNDED,!1)&&t.push(Ab(f));return t},cross:function(f){return[nb(f,["size"],function(t){var x=Math.min(t.width,t.height);x=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"size",xa.prototype.size)))*x/2;return new mxPoint(t.getCenterX()-x,t.getCenterY()-x)},function(t,x){var u=Math.min(t.width,t.height);this.state.style.size=Math.max(0,Math.min(1,Math.min(Math.max(0,t.getCenterY()-x.y)/u*2,Math.max(0,t.getCenterX()-x.x)/u*2)))})]},note:function(f){return[nb(f,
-["size"],function(t){var x=Math.max(0,Math.min(t.width,Math.min(t.height,parseFloat(mxUtils.getValue(this.state.style,"size",D.prototype.size)))));return new mxPoint(t.x+t.width-x,t.y+x)},function(t,x){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(t.width,t.x+t.width-x.x),Math.min(t.height,x.y-t.y))))})]},note2:function(f){return[nb(f,["size"],function(t){var x=Math.max(0,Math.min(t.width,Math.min(t.height,parseFloat(mxUtils.getValue(this.state.style,"size",Q.prototype.size)))));return new mxPoint(t.x+
-t.width-x,t.y+x)},function(t,x){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(t.width,t.x+t.width-x.x),Math.min(t.height,x.y-t.y))))})]},manualInput:function(f){var t=[nb(f,["size"],function(x){var u=Math.max(0,Math.min(x.height,mxUtils.getValue(this.state.style,"size",Ta.prototype.size)));return new mxPoint(x.x+x.width/4,x.y+3*u/4)},function(x,u){this.state.style.size=Math.round(Math.max(0,Math.min(x.height,4*(u.y-x.y)/3)))},!1)];mxUtils.getValue(f.style,mxConstants.STYLE_ROUNDED,
-!1)&&t.push(Ab(f));return t},dataStorage:function(f){return[nb(f,["size"],function(t){var x="0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),u=parseFloat(mxUtils.getValue(this.state.style,"size",x?Ba.prototype.fixedSize:Ba.prototype.size));return new mxPoint(t.x+t.width-u*(x?1:t.width),t.getCenterY())},function(t,x){t="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(t.width,t.x+t.width-x.x)):Math.max(0,Math.min(1,(t.x+t.width-x.x)/t.width));this.state.style.size=
-t},!1)]},callout:function(f){var t=[nb(f,["size","position"],function(x){var u=Math.max(0,Math.min(x.height,mxUtils.getValue(this.state.style,"size",ka.prototype.size))),A=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",ka.prototype.position)));mxUtils.getValue(this.state.style,"base",ka.prototype.base);return new mxPoint(x.x+A*x.width,x.y+x.height-u)},function(x,u){mxUtils.getValue(this.state.style,"base",ka.prototype.base);this.state.style.size=Math.round(Math.max(0,Math.min(x.height,
-x.y+x.height-u.y)));this.state.style.position=Math.round(100*Math.max(0,Math.min(1,(u.x-x.x)/x.width)))/100},!1),nb(f,["position2"],function(x){var u=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position2",ka.prototype.position2)));return new mxPoint(x.x+u*x.width,x.y+x.height)},function(x,u){this.state.style.position2=Math.round(100*Math.max(0,Math.min(1,(u.x-x.x)/x.width)))/100},!1),nb(f,["base"],function(x){var u=Math.max(0,Math.min(x.height,mxUtils.getValue(this.state.style,"size",
-ka.prototype.size))),A=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",ka.prototype.position))),F=Math.max(0,Math.min(x.width,mxUtils.getValue(this.state.style,"base",ka.prototype.base)));return new mxPoint(x.x+Math.min(x.width,A*x.width+F),x.y+x.height-u)},function(x,u){var A=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",ka.prototype.position)));this.state.style.base=Math.round(Math.max(0,Math.min(x.width,u.x-x.x-A*x.width)))},!1)];mxUtils.getValue(f.style,
-mxConstants.STYLE_ROUNDED,!1)&&t.push(Ab(f));return t},internalStorage:function(f){var t=[nb(f,["dx","dy"],function(x){var u=Math.max(0,Math.min(x.width,mxUtils.getValue(this.state.style,"dx",La.prototype.dx))),A=Math.max(0,Math.min(x.height,mxUtils.getValue(this.state.style,"dy",La.prototype.dy)));return new mxPoint(x.x+u,x.y+A)},function(x,u){this.state.style.dx=Math.round(Math.max(0,Math.min(x.width,u.x-x.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(x.height,u.y-x.y)))},!1)];mxUtils.getValue(f.style,
-mxConstants.STYLE_ROUNDED,!1)&&t.push(Ab(f));return t},module:function(f){return[nb(f,["jettyWidth","jettyHeight"],function(t){var x=Math.max(0,Math.min(t.width,mxUtils.getValue(this.state.style,"jettyWidth",za.prototype.jettyWidth))),u=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"jettyHeight",za.prototype.jettyHeight)));return new mxPoint(t.x+x/2,t.y+2*u)},function(t,x){this.state.style.jettyWidth=Math.round(2*Math.max(0,Math.min(t.width,x.x-t.x)));this.state.style.jettyHeight=
-Math.round(Math.max(0,Math.min(t.height,x.y-t.y))/2)})]},corner:function(f){return[nb(f,["dx","dy"],function(t){var x=Math.max(0,Math.min(t.width,mxUtils.getValue(this.state.style,"dx",Ca.prototype.dx))),u=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"dy",Ca.prototype.dy)));return new mxPoint(t.x+x,t.y+u)},function(t,x){this.state.style.dx=Math.round(Math.max(0,Math.min(t.width,x.x-t.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(t.height,x.y-t.y)))},!1)]},tee:function(f){return[nb(f,
-["dx","dy"],function(t){var x=Math.max(0,Math.min(t.width,mxUtils.getValue(this.state.style,"dx",Ka.prototype.dx))),u=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"dy",Ka.prototype.dy)));return new mxPoint(t.x+(t.width+x)/2,t.y+u)},function(t,x){this.state.style.dx=Math.round(Math.max(0,2*Math.min(t.width/2,x.x-t.x-t.width/2)));this.state.style.dy=Math.round(Math.max(0,Math.min(t.height,x.y-t.y)))},!1)]},singleArrow:xb(1),doubleArrow:xb(.5),"mxgraph.arrows2.wedgeArrow":tb(20,20),
-"mxgraph.arrows2.wedgeArrowDashed":tb(20,20),"mxgraph.arrows2.wedgeArrowDashed2":tb(20,20),folder:function(f){return[nb(f,["tabWidth","tabHeight"],function(t){var x=Math.max(0,Math.min(t.width,mxUtils.getValue(this.state.style,"tabWidth",p.prototype.tabWidth))),u=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"tabHeight",p.prototype.tabHeight)));mxUtils.getValue(this.state.style,"tabPosition",p.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(x=t.width-x);return new mxPoint(t.x+x,
-t.y+u)},function(t,x){var u=Math.max(0,Math.min(t.width,x.x-t.x));mxUtils.getValue(this.state.style,"tabPosition",p.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(u=t.width-u);this.state.style.tabWidth=Math.round(u);this.state.style.tabHeight=Math.round(Math.max(0,Math.min(t.height,x.y-t.y)))},!1)]},document:function(f){return[nb(f,["size"],function(t){var x=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",K.prototype.size))));return new mxPoint(t.x+3*t.width/4,t.y+(1-
-x)*t.height)},function(t,x){this.state.style.size=Math.max(0,Math.min(1,(t.y+t.height-x.y)/t.height))},!1)]},tape:function(f){return[nb(f,["size"],function(t){var x=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",I.prototype.size))));return new mxPoint(t.getCenterX(),t.y+x*t.height/2)},function(t,x){this.state.style.size=Math.max(0,Math.min(1,(x.y-t.y)/t.height*2))},!1)]},isoCube2:function(f){return[nb(f,["isoAngle"],function(t){var x=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.state.style,
-"isoAngle",N.isoAngle))))*Math.PI/200;return new mxPoint(t.x,t.y+Math.min(t.width*Math.tan(x),.5*t.height))},function(t,x){this.state.style.isoAngle=Math.max(0,50*(x.y-t.y)/t.height)},!0)]},cylinder2:Gb(c.prototype.size),cylinder3:Gb(g.prototype.size),offPageConnector:function(f){return[nb(f,["size"],function(t){var x=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",Aa.prototype.size))));return new mxPoint(t.getCenterX(),t.y+(1-x)*t.height)},function(t,x){this.state.style.size=
-Math.max(0,Math.min(1,(t.y+t.height-x.y)/t.height))},!1)]},"mxgraph.basic.rect":function(f){var t=[Graph.createHandle(f,["size"],function(x){var u=Math.max(0,Math.min(x.width/2,x.height/2,parseFloat(mxUtils.getValue(this.state.style,"size",this.size))));return new mxPoint(x.x+u,x.y+u)},function(x,u){this.state.style.size=Math.round(100*Math.max(0,Math.min(x.height/2,x.width/2,u.x-x.x)))/100})];f=Graph.createHandle(f,["indent"],function(x){var u=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,
-"indent",this.dx2))));return new mxPoint(x.x+.75*x.width,x.y+u*x.height/200)},function(x,u){this.state.style.indent=Math.round(100*Math.max(0,Math.min(100,200*(u.y-x.y)/x.height)))/100});t.push(f);return t},curvedText:function(f){var t=function(x){return(null!=x.shape?x.shape._curveYOffset:0)||0};return[nb(f,["arcStartY"],function(x){var u=parseFloat(mxUtils.getValue(this.state.style,"arcStartY",gb.prototype.arcStartY)),A=t(this.state);return new mxPoint(x.x+10,x.y+Math.max(0,Math.min(x.height,u+
-A)))},function(x,u){var A=t(this.state);this.state.style.arcStartY=Math.round(Math.max(0,Math.min(x.height,u.y-x.y))-A)},!1),nb(f,["arcMidY"],function(x){var u=parseFloat(mxUtils.getValue(this.state.style,"arcStartY",gb.prototype.arcStartY)),A=parseFloat(mxUtils.getValue(this.state.style,"arcEndY",gb.prototype.arcEndY)),F=parseFloat(mxUtils.getValue(this.state.style,"arcMidY",gb.prototype.arcMidY));u=(u+A)/2;A=t(this.state);return new mxPoint(x.x+x.width/2+10,x.y+Math.max(0,Math.min(x.height,u+F+
-A)))},function(x,u){var A=parseFloat(mxUtils.getValue(this.state.style,"arcStartY",gb.prototype.arcStartY)),F=parseFloat(mxUtils.getValue(this.state.style,"arcEndY",gb.prototype.arcEndY));A=(A+F)/2;F=t(this.state);var H=Math.max(Math.abs(gb.prototype.arcMidY),Math.min(A,x.height-A));this.state.style.arcMidY=Math.round(Math.max(-H,Math.min(H,u.y-x.y-F-A)))},!1),nb(f,["arcEndY"],function(x){var u=parseFloat(mxUtils.getValue(this.state.style,"arcEndY",gb.prototype.arcEndY)),A=t(this.state);return new mxPoint(x.x+
-x.width-10,x.y+Math.max(0,Math.min(x.height,u+A)))},function(x,u){var A=t(this.state);this.state.style.arcEndY=Math.round(Math.max(0,Math.min(x.height,u.y-x.y))-A)},!1)]},step:Db(pa.prototype.size,!0,null,!0,pa.prototype.fixedSize),hexagon:Db(ba.prototype.size,!0,.5,!0,ba.prototype.fixedSize),curlyBracket:Db(M.prototype.size,!1),display:Db(va.prototype.size,!1),cube:yb(1,n.prototype.size,!1),card:yb(.5,E.prototype.size,!0),loopLimit:yb(.5,sa.prototype.size,!0),trapezoid:Hb(.5,W.prototype.size,W.prototype.fixedSize),
-parallelogram:Hb(1,R.prototype.size,R.prototype.fixedSize),zigzag:function(f){return[nb(f,["size"],function(t){var x=Math.max(5,parseFloat(mxUtils.getValue(this.state.style,"size",ab.prototype.size)));return new mxPoint(t.x+3*x,t.y)},function(t,x){this.state.style.size=Math.max(5,Math.round((x.x-t.x)/3))},!1)]}};Graph.createHandle=nb;Graph.handleFactory=Cb;var Jb=mxVertexHandler.prototype.createCustomHandles;mxVertexHandler.prototype.createCustomHandles=function(){var f=Jb.apply(this,arguments);if(this.graph.isCellRotatable(this.state.cell)){var t=
-this.state.style.shape;null==mxCellRenderer.defaultShapes[t]&&null==mxStencilRegistry.getStencil(t)?t=mxConstants.SHAPE_RECTANGLE:this.state.view.graph.isSwimlane(this.state.cell)&&(t=mxConstants.SHAPE_SWIMLANE);t=Cb[t];null==t&&null!=this.state.shape&&this.state.shape.isRoundable()&&(t=Cb[mxConstants.SHAPE_RECTANGLE]);null!=t&&(t=t(this.state),null!=t&&(f=null==f?t:f.concat(t)))}return f};mxEdgeHandler.prototype.createCustomHandles=function(){var f=this.state.style.shape;null==mxCellRenderer.defaultShapes[f]&&
-null==mxStencilRegistry.getStencil(f)&&(f=mxConstants.SHAPE_CONNECTOR);f=Cb[f];return null!=f?f(this.state):null}}else Graph.createHandle=function(){},Graph.handleFactory={};var Kb=Graph.prototype.getPreferredSizeForCell;Graph.prototype.getPreferredSizeForCell=function(f,t,x){var u=this.getCellStyle(f);if(null!=u&&"curvedText"==u[mxConstants.STYLE_SHAPE]){var A=this.convertValueToString(f);if(null!=A&&0<A.length){var F=parseFloat(mxUtils.getValue(u,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE)),
-H=mxUtils.getValue(u,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY);u=mxUtils.getValue(u,mxConstants.STYLE_FONTSTYLE,0);A=.85*mxUtils.getSizeForString(A,F,H,null,u).width;H=this.model.getGeometry(f);H=null!=H?H.height:60;(x=null!=x?x:this.gridEnabled)&&(A=this.snap(A+this.gridSize/2));return new mxRectangle(0,0,Math.max(A,2*F)+10,H)}return null}return Kb.apply(this,arguments)};var pb=mxCellRenderer.prototype.checkPlaceholderStyles;mxCellRenderer.prototype.checkPlaceholderStyles=function(f){return null!=
-f.style&&"curvedText"==f.style[mxConstants.STYLE_SHAPE]?!0:pb.apply(this,arguments)};if("undefined"!==typeof mxCellEditor){var Fb=mxCellEditor.prototype.startEditing;mxCellEditor.prototype.startEditing=function(f,t){Fb.apply(this,arguments);var x=this.graph.view.getState(f);null!=x&&null!=x.style&&"curvedText"==x.style[mxConstants.STYLE_SHAPE]&&null!=x.shape&&x.shape.redraw()};var wb=mxCellEditor.prototype.stopEditing;mxCellEditor.prototype.stopEditing=function(f){var t=this.editingCell;wb.apply(this,
-arguments);null!=t&&(t=this.graph.view.getState(t),null!=t&&null!=t.style&&"curvedText"==t.style[mxConstants.STYLE_SHAPE]&&null!=t.shape&&t.shape.redraw())}}var Bb=new mxPoint(1,0),zb=new mxPoint(1,0),ub=mxUtils.toRadians(-30);Bb=mxUtils.getRotatedPoint(Bb,Math.cos(ub),Math.sin(ub));var Ib=mxUtils.toRadians(-150);zb=mxUtils.getRotatedPoint(zb,Math.cos(Ib),Math.sin(Ib));mxEdgeStyle.IsometricConnector=function(f,t,x,u,A){var F=f.view;u=null!=u&&0<u.length?u[0]:null;var H=f.absolutePoints,da=H[0];H=
-H[H.length-1];null!=u&&(u=F.transformControlPoint(f,u));null==da&&null!=t&&(da=new mxPoint(t.getCenterX(),t.getCenterY()));null==H&&null!=x&&(H=new mxPoint(x.getCenterX(),x.getCenterY()));var O=Bb.x,ua=Bb.y,na=zb.x,Ua=zb.y,hb="horizontal"==mxUtils.getValue(f.style,"elbow","horizontal");if(null!=H&&null!=da){f=function(Ea,Ha,Ja){Ea-=$a.x;var Ma=Ha-$a.y;Ha=(Ua*Ea-na*Ma)/(O*Ua-ua*na);Ea=(ua*Ea-O*Ma)/(ua*na-O*Ua);hb?(Ja&&($a=new mxPoint($a.x+O*Ha,$a.y+ua*Ha),A.push($a)),$a=new mxPoint($a.x+na*Ea,$a.y+
-Ua*Ea)):(Ja&&($a=new mxPoint($a.x+na*Ea,$a.y+Ua*Ea),A.push($a)),$a=new mxPoint($a.x+O*Ha,$a.y+ua*Ha));A.push($a)};var $a=da;null==u&&(u=new mxPoint(da.x+(H.x-da.x)/2,da.y+(H.y-da.y)/2));f(u.x,u.y,!0);f(H.x,H.y,!1)}};mxStyleRegistry.putValue("isometricEdgeStyle",mxEdgeStyle.IsometricConnector);var Mb=Graph.prototype.createEdgeHandler;Graph.prototype.createEdgeHandler=function(f,t){if(t==mxEdgeStyle.IsometricConnector){var x=new mxElbowEdgeHandler(f);x.snapToTerminals=!1;return x}return Mb.apply(this,
-arguments)};C.prototype.constraints=[];G.prototype.getConstraints=function(f,t,x){f=[];var u=Math.tan(mxUtils.toRadians(30)),A=(.5-u)/2;u=Math.min(t,x/(.5+u));t=(t-u)/2;x=(x-u)/2;f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,x+.25*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t+.5*u,x+u*A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t+u,x+.25*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t+u,x+.75*u));f.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,t+.5*u,x+(1-A)*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,x+.75*u));return f};N.prototype.getConstraints=function(f,t,x){f=[];var u=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.style,"isoAngle",this.isoAngle))))*Math.PI/200;u=Math.min(t*Math.tan(u),.5*x);f.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,u));f.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,t,x-u));f.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,x-u));f.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,u));return f};ka.prototype.getConstraints=function(f,t,x){f=[];mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE);var u=Math.max(0,Math.min(x,parseFloat(mxUtils.getValue(this.style,"size",this.size))));parseFloat(mxUtils.getValue(this.style,
-"position",this.position));var A=t*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",this.position2))));parseFloat(mxUtils.getValue(this.style,"base",this.base));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1));f.push(new mxConnectionConstraint(new mxPoint(.25,0),!1));f.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));f.push(new mxConnectionConstraint(new mxPoint(.75,0),!1));f.push(new mxConnectionConstraint(new mxPoint(1,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,t,.5*(x-u)));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,x-u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,x-u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(x-u)));t>=2*u&&f.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return f};mxRectangleShape.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(.25,
-0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(.25,
-1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0)];mxEllipse.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(0,
-.5),!0),new mxConnectionConstraint(new mxPoint(1,.5))];ia.prototype.constraints=mxRectangleShape.prototype.constraints;mxImageShape.prototype.constraints=mxRectangleShape.prototype.constraints;mxSwimlane.prototype.constraints=mxRectangleShape.prototype.constraints;l.prototype.constraints=mxRectangleShape.prototype.constraints;mxLabel.prototype.constraints=mxRectangleShape.prototype.constraints;D.prototype.getConstraints=function(f,t,x){f=[];var u=Math.max(0,Math.min(t,Math.min(x,parseFloat(mxUtils.getValue(this.style,
-"size",this.size)))));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t-u),0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-u,0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-.5*u,.5*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,.5*(x+u)));f.push(new mxConnectionConstraint(new mxPoint(1,1),!1));f.push(new mxConnectionConstraint(new mxPoint(.5,
-1),!1));f.push(new mxConnectionConstraint(new mxPoint(0,1),!1));f.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));t>=2*u&&f.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return f};E.prototype.getConstraints=function(f,t,x){f=[];var u=Math.max(0,Math.min(t,Math.min(x,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));f.push(new mxConnectionConstraint(new mxPoint(1,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t+u),0));f.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,u,0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*u,.5*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(x+u)));f.push(new mxConnectionConstraint(new mxPoint(0,1),!1));f.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));f.push(new mxConnectionConstraint(new mxPoint(1,1),!1));f.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));t>=2*u&&f.push(new mxConnectionConstraint(new mxPoint(.5,
-0),!1));return f};n.prototype.getConstraints=function(f,t,x){f=[];var u=Math.max(0,Math.min(t,Math.min(x,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t-u),0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-u,0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-.5*u,.5*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,u));f.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,t,.5*(x+u)));f.push(new mxConnectionConstraint(new mxPoint(1,1),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t+u),x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,u,x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*u,x-.5*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,x-u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(x-u)));return f};g.prototype.getConstraints=function(f,t,x){f=[];t=Math.max(0,Math.min(x,
-parseFloat(mxUtils.getValue(this.style,"size",this.size))));f.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));f.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t));f.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,t));f.push(new mxConnectionConstraint(new mxPoint(1,1),!1,null,0,-t));f.push(new mxConnectionConstraint(new mxPoint(0,
-1),!1,null,0,-t));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t+.5*(.5*x-t)));f.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,t+.5*(.5*x-t)));f.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,x-t-.5*(.5*x-t)));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,x-t-.5*(.5*x-t)));f.push(new mxConnectionConstraint(new mxPoint(.145,0),!1,null,0,.29*t));f.push(new mxConnectionConstraint(new mxPoint(.855,0),!1,null,0,.29*t));f.push(new mxConnectionConstraint(new mxPoint(.855,
-1),!1,null,0,.29*-t));f.push(new mxConnectionConstraint(new mxPoint(.145,1),!1,null,0,.29*-t));return f};p.prototype.getConstraints=function(f,t,x){f=[];var u=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"tabWidth",this.tabWidth)))),A=Math.max(0,Math.min(x,parseFloat(mxUtils.getValue(this.style,"tabHeight",this.tabHeight))));"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?(f.push(new mxConnectionConstraint(new mxPoint(0,0),!1)),f.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,.5*u,0)),f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,u,0)),f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,u,A)),f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t+u),A))):(f.push(new mxConnectionConstraint(new mxPoint(1,0),!1)),f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-.5*u,0)),f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-u,0)),f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-u,A)),f.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,.5*(t-u),A)));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,.25*(x-A)+A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,.5*(x-A)+A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,.75*(x-A)+A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,
-0,.25*(x-A)+A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(x-A)+A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.75*(x-A)+A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,x));f.push(new mxConnectionConstraint(new mxPoint(.25,1),!1));f.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));f.push(new mxConnectionConstraint(new mxPoint(.75,1),!1));return f};La.prototype.constraints=mxRectangleShape.prototype.constraints;Ba.prototype.constraints=
-mxRectangleShape.prototype.constraints;Na.prototype.constraints=mxEllipse.prototype.constraints;bb.prototype.constraints=mxEllipse.prototype.constraints;z.prototype.constraints=mxEllipse.prototype.constraints;ma.prototype.constraints=mxEllipse.prototype.constraints;Ta.prototype.constraints=mxRectangleShape.prototype.constraints;qa.prototype.constraints=mxRectangleShape.prototype.constraints;va.prototype.getConstraints=function(f,t,x){f=[];var u=Math.min(t,x/2),A=Math.min(t-u,Math.max(0,parseFloat(mxUtils.getValue(this.style,
-"size",this.size)))*t);f.push(new mxConnectionConstraint(new mxPoint(0,.5),!1,null));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(A+t-u),0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-u,0));f.push(new mxConnectionConstraint(new mxPoint(1,.5),!1,null));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-u,x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(A+t-u),x));f.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,A,x));return f};za.prototype.getConstraints=function(f,t,x){t=parseFloat(mxUtils.getValue(f,"jettyWidth",za.prototype.jettyWidth))/2;f=parseFloat(mxUtils.getValue(f,"jettyHeight",za.prototype.jettyHeight));var u=[new mxConnectionConstraint(new mxPoint(0,0),!1,null,t),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(1,
-.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(0,1),!1,null,t),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,Math.min(x-.5*f,1.5*f)),new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,Math.min(x-
-.5*f,3.5*f))];x>5*f&&u.push(new mxConnectionConstraint(new mxPoint(0,.75),!1,null,t));x>8*f&&u.push(new mxConnectionConstraint(new mxPoint(0,.5),!1,null,t));x>15*f&&u.push(new mxConnectionConstraint(new mxPoint(0,.25),!1,null,t));return u};sa.prototype.constraints=mxRectangleShape.prototype.constraints;Aa.prototype.constraints=mxRectangleShape.prototype.constraints;mxCylinder.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.15,.05),!1),new mxConnectionConstraint(new mxPoint(.5,0),!0),
-new mxConnectionConstraint(new mxPoint(.85,.05),!1),new mxConnectionConstraint(new mxPoint(0,.3),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.7),!0),new mxConnectionConstraint(new mxPoint(1,.3),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.7),!0),new mxConnectionConstraint(new mxPoint(.15,.95),!1),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.85,.95),!1)];L.prototype.constraints=
-[new mxConnectionConstraint(new mxPoint(.25,.1),!1),new mxConnectionConstraint(new mxPoint(.5,0),!1),new mxConnectionConstraint(new mxPoint(.75,.1),!1),new mxConnectionConstraint(new mxPoint(0,1/3),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(1,1/3),!1),new mxConnectionConstraint(new mxPoint(1,1),!1),new mxConnectionConstraint(new mxPoint(.5,.5),!1)];Ga.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,
-0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.3),!0),new mxConnectionConstraint(new mxPoint(0,.7),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];mxActor.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,
-0),!0),new mxConnectionConstraint(new mxPoint(.25,.2),!1),new mxConnectionConstraint(new mxPoint(.1,.5),!1),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(.75,.25),!1),new mxConnectionConstraint(new mxPoint(.9,.5),!1),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];k.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,
-0),!1),new mxConnectionConstraint(new mxPoint(.5,.25),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(.5,.75),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];I.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.35),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,
-.65),!1),new mxConnectionConstraint(new mxPoint(1,.35),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,.65),!1),new mxConnectionConstraint(new mxPoint(.25,1),!1),new mxConnectionConstraint(new mxPoint(.75,0),!1)];pa.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,
-1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxLine.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,
-.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];la.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,0),!1),new mxConnectionConstraint(new mxPoint(.5,1),!1)];mxDoubleEllipse.prototype.constraints=mxEllipse.prototype.constraints;mxRhombus.prototype.constraints=mxEllipse.prototype.constraints;mxTriangle.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(.5,
-0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0)];mxHexagon.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.375,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.625,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,
-.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.375,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.625,1),!0)];mxCloud.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,.25),!1),new mxConnectionConstraint(new mxPoint(.4,.1),!1),new mxConnectionConstraint(new mxPoint(.16,.55),!1),new mxConnectionConstraint(new mxPoint(.07,.4),!1),new mxConnectionConstraint(new mxPoint(.31,.8),!1),new mxConnectionConstraint(new mxPoint(.13,
-.77),!1),new mxConnectionConstraint(new mxPoint(.8,.8),!1),new mxConnectionConstraint(new mxPoint(.55,.95),!1),new mxConnectionConstraint(new mxPoint(.875,.5),!1),new mxConnectionConstraint(new mxPoint(.96,.7),!1),new mxConnectionConstraint(new mxPoint(.625,.2),!1),new mxConnectionConstraint(new mxPoint(.88,.25),!1)];R.prototype.constraints=mxRectangleShape.prototype.constraints;W.prototype.constraints=mxRectangleShape.prototype.constraints;K.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,
-0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxArrow.prototype.constraints=null;Ka.prototype.getConstraints=function(f,t,x){f=[];var u=Math.max(0,
-Math.min(t,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),A=Math.max(0,Math.min(x,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1));f.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));f.push(new mxConnectionConstraint(new mxPoint(1,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,.5*A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,
-null,.75*t+.25*u,A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t+u),A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t+u),.5*(x+A)));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t+u),x));f.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t-u),x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t-u),.5*(x+A)));f.push(new mxConnectionConstraint(new mxPoint(0,0),
-!1,null,.5*(t-u),A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.25*t-.25*u,A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*A));return f};Ca.prototype.getConstraints=function(f,t,x){f=[];var u=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),A=Math.max(0,Math.min(x,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));f.push(new mxConnectionConstraint(new mxPoint(0,0),
-!1));f.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));f.push(new mxConnectionConstraint(new mxPoint(1,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,.5*A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t+u),A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,u,A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,u,.5*(x+A)));f.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,u,x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*u,x));f.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,1),!1));return f};Ra.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.5,.5),!1),new mxConnectionConstraint(new mxPoint(.75,
-.5),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];cb.prototype.getConstraints=function(f,t,x){f=[];var u=x*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth)))),A=t*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",this.arrowSize))));u=(x-u)/2;f.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,0,u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t-A),u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-A,0));f.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-A,x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t-A),x-u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,x-u));return f};Pa.prototype.getConstraints=function(f,t,x){f=[];var u=x*Math.max(0,Math.min(1,
-parseFloat(mxUtils.getValue(this.style,"arrowWidth",cb.prototype.arrowWidth)))),A=t*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",cb.prototype.arrowSize))));u=(x-u)/2;f.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*t,u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-A,0));f.push(new mxConnectionConstraint(new mxPoint(1,.5),
-!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-A,x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*t,x-u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,x));return f};xa.prototype.getConstraints=function(f,t,x){f=[];var u=Math.min(x,t),A=Math.max(0,Math.min(u,u*parseFloat(mxUtils.getValue(this.style,"size",this.size))));u=(x-A)/2;var F=u+A,H=(t-A)/2;A=H+A;f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,H,.5*u));f.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,H,0));f.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,.5*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,H,x-.5*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,H,x));f.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));f.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,A,x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,x-.5*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,F));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t+A),u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,u));f.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,F));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t+A),F));f.push(new mxConnectionConstraint(new mxPoint(0,
-0),!1,null,H,F));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*H,u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,u));f.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,F));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*H,F));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,H,u));return f};X.prototype.constraints=null;Ia.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,
-.25),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,.75),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(.7,.1),!1),new mxConnectionConstraint(new mxPoint(.7,.9),!1)];Ya.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.175,.25),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.175,.75),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(.7,
-.1),!1),new mxConnectionConstraint(new mxPoint(.7,.9),!1)];ra.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];ta.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)]})();function Actions(b){this.editorUi=b;this.actions={};this.init()}
+Ta.prototype.getLabelMargins=function(f){return mxUtils.getValue(this.style,"boundedLbl",!1)?(f=parseFloat(mxUtils.getValue(this.style,"size",this.size))*this.scale,new mxRectangle(0,f,0,0)):null};Ta.prototype.redrawPath=function(f,t,x,u,A){t=Math.min(A,parseFloat(mxUtils.getValue(this.style,"size",this.size)));x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(f,[new mxPoint(0,A),new mxPoint(0,t),new mxPoint(u,0),new mxPoint(u,A)],this.isRounded,x,
+!0);f.end()};mxCellRenderer.registerShape("manualInput",Ta);mxUtils.extend(La,mxRectangleShape);La.prototype.dx=20;La.prototype.dy=20;La.prototype.isHtmlAllowed=function(){return!1};La.prototype.paintForeground=function(f,t,x,u,A){mxRectangleShape.prototype.paintForeground.apply(this,arguments);var F=0;if(this.isRounded){var H=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)/100;F=Math.max(F,Math.min(u*H,A*H))}H=Math.max(F,Math.min(u,parseFloat(mxUtils.getValue(this.style,
+"dx",this.dx))));F=Math.max(F,Math.min(A,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));f.begin();f.moveTo(t,x+F);f.lineTo(t+u,x+F);f.end();f.stroke();f.begin();f.moveTo(t+H,x);f.lineTo(t+H,x+A);f.end();f.stroke()};mxCellRenderer.registerShape("internalStorage",La);mxUtils.extend(Ca,mxActor);Ca.prototype.dx=20;Ca.prototype.dy=20;Ca.prototype.isRoundable=function(){return!0};Ca.prototype.redrawPath=function(f,t,x,u,A){t=Math.max(0,Math.min(u,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));
+x=Math.max(0,Math.min(A,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",this.size));var F=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(f,[new mxPoint(0,0),new mxPoint(u,0),new mxPoint(u,x),new mxPoint(t,x),new mxPoint(t,A),new mxPoint(0,A)],this.isRounded,F,!0);f.end()};mxCellRenderer.registerShape("corner",Ca);mxUtils.extend(Ra,mxActor);Ra.prototype.redrawPath=function(f,t,x,u,A){f.moveTo(0,
+0);f.lineTo(0,A);f.end();f.moveTo(u,0);f.lineTo(u,A);f.end();f.moveTo(0,A/2);f.lineTo(u,A/2);f.end()};mxCellRenderer.registerShape("crossbar",Ra);mxUtils.extend(Ka,mxActor);Ka.prototype.dx=20;Ka.prototype.dy=20;Ka.prototype.isRoundable=function(){return!0};Ka.prototype.redrawPath=function(f,t,x,u,A){t=Math.max(0,Math.min(u,parseFloat(mxUtils.getValue(this.style,"dx",this.dx))));x=Math.max(0,Math.min(A,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));parseFloat(mxUtils.getValue(this.style,"size",
+this.size));var F=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(f,[new mxPoint(0,0),new mxPoint(u,0),new mxPoint(u,x),new mxPoint((u+t)/2,x),new mxPoint((u+t)/2,A),new mxPoint((u-t)/2,A),new mxPoint((u-t)/2,x),new mxPoint(0,x)],this.isRounded,F,!0);f.end()};mxCellRenderer.registerShape("tee",Ka);mxUtils.extend(cb,mxActor);cb.prototype.arrowWidth=.3;cb.prototype.arrowSize=.2;cb.prototype.isRoundable=function(){return!0};cb.prototype.redrawPath=function(f,
+t,x,u,A){var F=A*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth))));t=u*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",this.arrowSize))));x=(A-F)/2;F=x+F;var H=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(f,[new mxPoint(0,x),new mxPoint(u-t,x),new mxPoint(u-t,0),new mxPoint(u,A/2),new mxPoint(u-t,A),new mxPoint(u-t,F),new mxPoint(0,F)],this.isRounded,H,!0);f.end()};mxCellRenderer.registerShape("singleArrow",
+cb);mxUtils.extend(Pa,mxActor);Pa.prototype.isRoundable=function(){return!0};Pa.prototype.redrawPath=function(f,t,x,u,A){var F=A*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",cb.prototype.arrowWidth))));t=u*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",cb.prototype.arrowSize))));x=(A-F)/2;F=x+F;var H=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(f,[new mxPoint(0,A/2),new mxPoint(t,0),new mxPoint(t,
+x),new mxPoint(u-t,x),new mxPoint(u-t,0),new mxPoint(u,A/2),new mxPoint(u-t,A),new mxPoint(u-t,F),new mxPoint(t,F),new mxPoint(t,A)],this.isRounded,H,!0);f.end()};mxCellRenderer.registerShape("doubleArrow",Pa);mxUtils.extend(Ba,mxActor);Ba.prototype.size=.1;Ba.prototype.fixedSize=20;Ba.prototype.redrawPath=function(f,t,x,u,A){t="0"!=mxUtils.getValue(this.style,"fixedSize","0")?Math.max(0,Math.min(u,parseFloat(mxUtils.getValue(this.style,"size",this.fixedSize)))):u*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,
+"size",this.size))));f.moveTo(t,0);f.lineTo(u,0);f.quadTo(u-2*t,A/2,u,A);f.lineTo(t,A);f.quadTo(t-2*t,A/2,t,0);f.close();f.end()};mxCellRenderer.registerShape("dataStorage",Ba);mxUtils.extend(Ia,mxActor);Ia.prototype.redrawPath=function(f,t,x,u,A){f.moveTo(0,0);f.quadTo(u,0,u,A/2);f.quadTo(u,A,0,A);f.close();f.end()};mxCellRenderer.registerShape("or",Ia);mxUtils.extend(Ya,mxActor);Ya.prototype.redrawPath=function(f,t,x,u,A){f.moveTo(0,0);f.quadTo(u,0,u,A/2);f.quadTo(u,A,0,A);f.quadTo(u/2,A/2,0,0);
+f.close();f.end()};mxCellRenderer.registerShape("xor",Ya);mxUtils.extend(sa,mxActor);sa.prototype.size=20;sa.prototype.isRoundable=function(){return!0};sa.prototype.redrawPath=function(f,t,x,u,A){t=Math.min(u/2,Math.min(A,parseFloat(mxUtils.getValue(this.style,"size",this.size))));x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(f,[new mxPoint(t,0),new mxPoint(u-t,0),new mxPoint(u,.8*t),new mxPoint(u,A),new mxPoint(0,A),new mxPoint(0,.8*t)],this.isRounded,
+x,!0);f.end()};mxCellRenderer.registerShape("loopLimit",sa);mxUtils.extend(Aa,mxActor);Aa.prototype.size=.375;Aa.prototype.isRoundable=function(){return!0};Aa.prototype.redrawPath=function(f,t,x,u,A){t=A*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"size",this.size))));x=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(f,[new mxPoint(0,0),new mxPoint(u,0),new mxPoint(u,A-t),new mxPoint(u/2,A),new mxPoint(0,A-t)],this.isRounded,x,!0);
+f.end()};mxCellRenderer.registerShape("offPageConnector",Aa);mxUtils.extend(Na,mxEllipse);Na.prototype.paintVertexShape=function(f,t,x,u,A){mxEllipse.prototype.paintVertexShape.apply(this,arguments);f.begin();f.moveTo(t+u/2,x+A);f.lineTo(t+u,x+A);f.end();f.stroke()};mxCellRenderer.registerShape("tapeData",Na);mxUtils.extend(bb,mxEllipse);bb.prototype.paintVertexShape=function(f,t,x,u,A){mxEllipse.prototype.paintVertexShape.apply(this,arguments);f.setShadow(!1);f.begin();f.moveTo(t,x+A/2);f.lineTo(t+
+u,x+A/2);f.end();f.stroke();f.begin();f.moveTo(t+u/2,x);f.lineTo(t+u/2,x+A);f.end();f.stroke()};mxCellRenderer.registerShape("orEllipse",bb);mxUtils.extend(z,mxEllipse);z.prototype.paintVertexShape=function(f,t,x,u,A){mxEllipse.prototype.paintVertexShape.apply(this,arguments);f.setShadow(!1);f.begin();f.moveTo(t+.145*u,x+.145*A);f.lineTo(t+.855*u,x+.855*A);f.end();f.stroke();f.begin();f.moveTo(t+.855*u,x+.145*A);f.lineTo(t+.145*u,x+.855*A);f.end();f.stroke()};mxCellRenderer.registerShape("sumEllipse",
+z);mxUtils.extend(P,mxRhombus);P.prototype.paintVertexShape=function(f,t,x,u,A){mxRhombus.prototype.paintVertexShape.apply(this,arguments);f.setShadow(!1);f.begin();f.moveTo(t,x+A/2);f.lineTo(t+u,x+A/2);f.end();f.stroke()};mxCellRenderer.registerShape("sortShape",P);mxUtils.extend(U,mxEllipse);U.prototype.paintVertexShape=function(f,t,x,u,A){f.begin();f.moveTo(t,x);f.lineTo(t+u,x);f.lineTo(t+u/2,x+A/2);f.close();f.fillAndStroke();f.begin();f.moveTo(t,x+A);f.lineTo(t+u,x+A);f.lineTo(t+u/2,x+A/2);f.close();
+f.fillAndStroke()};mxCellRenderer.registerShape("collate",U);mxUtils.extend(Y,mxEllipse);Y.prototype.paintVertexShape=function(f,t,x,u,A){var F=f.state.strokeWidth/2,H=10+2*F,da=x+A-H/2;f.begin();f.moveTo(t,x);f.lineTo(t,x+A);f.moveTo(t+F,da);f.lineTo(t+F+H,da-H/2);f.moveTo(t+F,da);f.lineTo(t+F+H,da+H/2);f.moveTo(t+F,da);f.lineTo(t+u-F,da);f.moveTo(t+u,x);f.lineTo(t+u,x+A);f.moveTo(t+u-F,da);f.lineTo(t+u-H-F,da-H/2);f.moveTo(t+u-F,da);f.lineTo(t+u-H-F,da+H/2);f.end();f.stroke()};mxCellRenderer.registerShape("dimension",
+Y);mxUtils.extend(ia,mxEllipse);ia.prototype.drawHidden=!0;ia.prototype.paintVertexShape=function(f,t,x,u,A){this.outline||f.setStrokeColor(null);if(null!=this.style){var F=f.pointerEvents,H=null!=this.fill&&this.fill!=mxConstants.NONE;"1"==mxUtils.getValue(this.style,mxConstants.STYLE_POINTER_EVENTS,"1")||H||(f.pointerEvents=!1);var da="1"==mxUtils.getValue(this.style,"top","1"),O="1"==mxUtils.getValue(this.style,"left","1"),ua="1"==mxUtils.getValue(this.style,"right","1"),na="1"==mxUtils.getValue(this.style,
+"bottom","1");this.drawHidden||H||this.outline||da||ua||na||O?(f.rect(t,x,u,A),f.fill(),f.pointerEvents=F,f.setStrokeColor(this.stroke),f.setLineCap("square"),f.begin(),f.moveTo(t,x),this.outline||da?f.lineTo(t+u,x):f.moveTo(t+u,x),this.outline||ua?f.lineTo(t+u,x+A):f.moveTo(t+u,x+A),this.outline||na?f.lineTo(t,x+A):f.moveTo(t,x+A),(this.outline||O)&&f.lineTo(t,x),f.end(),f.stroke(),f.setLineCap("flat")):f.setStrokeColor(this.stroke)}};mxCellRenderer.registerShape("partialRectangle",ia);mxUtils.extend(ma,
+mxEllipse);ma.prototype.paintVertexShape=function(f,t,x,u,A){mxEllipse.prototype.paintVertexShape.apply(this,arguments);f.setShadow(!1);f.begin();"vertical"==mxUtils.getValue(this.style,"line")?(f.moveTo(t+u/2,x),f.lineTo(t+u/2,x+A)):(f.moveTo(t,x+A/2),f.lineTo(t+u,x+A/2));f.end();f.stroke()};mxCellRenderer.registerShape("lineEllipse",ma);mxUtils.extend(qa,mxActor);qa.prototype.redrawPath=function(f,t,x,u,A){t=Math.min(u,A/2);f.moveTo(0,0);f.lineTo(u-t,0);f.quadTo(u,0,u,A/2);f.quadTo(u,A,u-t,A);f.lineTo(0,
+A);f.close();f.end()};mxCellRenderer.registerShape("delay",qa);mxUtils.extend(xa,mxActor);xa.prototype.size=.2;xa.prototype.redrawPath=function(f,t,x,u,A){t=Math.min(A,u);var F=Math.max(0,Math.min(t,t*parseFloat(mxUtils.getValue(this.style,"size",this.size))));t=(A-F)/2;x=t+F;var H=(u-F)/2;F=H+F;f.moveTo(0,t);f.lineTo(H,t);f.lineTo(H,0);f.lineTo(F,0);f.lineTo(F,t);f.lineTo(u,t);f.lineTo(u,x);f.lineTo(F,x);f.lineTo(F,A);f.lineTo(H,A);f.lineTo(H,x);f.lineTo(0,x);f.close();f.end()};mxCellRenderer.registerShape("cross",
+xa);mxUtils.extend(va,mxActor);va.prototype.size=.25;va.prototype.redrawPath=function(f,t,x,u,A){t=Math.min(u,A/2);x=Math.min(u-t,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*u);f.moveTo(0,A/2);f.lineTo(x,0);f.lineTo(u-t,0);f.quadTo(u,0,u,A/2);f.quadTo(u,A,u-t,A);f.lineTo(x,A);f.close();f.end()};mxCellRenderer.registerShape("display",va);mxUtils.extend(wa,mxActor);wa.prototype.cst={RECT2:"mxgraph.basic.rect"};wa.prototype.customProperties=[{name:"rectStyle",dispName:"Style",
+type:"enum",defVal:"square",enumList:[{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"size",dispName:"Corner Size",type:"float",defVal:10},{name:"absoluteCornerSize",dispName:"Abs. Corner Size",type:"bool",defVal:!0},{name:"indent",dispName:"Indent",type:"float",defVal:2},{name:"rectOutline",dispName:"Outline",type:"enum",defVal:"single",enumList:[{val:"single",dispName:"Single"},
+{val:"double",dispName:"Double"},{val:"frame",dispName:"Frame"}]},{name:"fillColor2",dispName:"Inside Fill Color",type:"color",defVal:"none"},{name:"gradientColor2",dispName:"Inside Gradient Color",type:"color",defVal:"none"},{name:"gradientDirection2",dispName:"Inside Gradient Direction",type:"enum",defVal:"south",enumList:[{val:"south",dispName:"South"},{val:"west",dispName:"West"},{val:"north",dispName:"North"},{val:"east",dispName:"East"}]},{name:"top",dispName:"Top Line",type:"bool",defVal:!0},
+{name:"right",dispName:"Right",type:"bool",defVal:!0},{name:"bottom",dispName:"Bottom Line",type:"bool",defVal:!0},{name:"left",dispName:"Left ",type:"bool",defVal:!0},{name:"topLeftStyle",dispName:"Top Left Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"topRightStyle",dispName:"Top Right Style",
+type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]},{name:"bottomRightStyle",dispName:"Bottom Right Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},
+{val:"fold",dispName:"Fold"}]},{name:"bottomLeftStyle",dispName:"Bottom Left Style",type:"enum",defVal:"default",enumList:[{val:"default",dispName:"Default"},{val:"square",dispName:"Square"},{val:"rounded",dispName:"Round"},{val:"snip",dispName:"Snip"},{val:"invRound",dispName:"Inv. Round"},{val:"fold",dispName:"Fold"}]}];wa.prototype.paintVertexShape=function(f,t,x,u,A){f.translate(t,x);this.strictDrawShape(f,0,0,u,A)};wa.prototype.strictDrawShape=function(f,t,x,u,A,F){var H=F&&F.rectStyle?F.rectStyle:
+mxUtils.getValue(this.style,"rectStyle",this.rectStyle),da=F&&F.absoluteCornerSize?F.absoluteCornerSize:mxUtils.getValue(this.style,"absoluteCornerSize",this.absoluteCornerSize),O=F&&F.size?F.size:Math.max(0,Math.min(u,parseFloat(mxUtils.getValue(this.style,"size",this.size)))),ua=F&&F.rectOutline?F.rectOutline:mxUtils.getValue(this.style,"rectOutline",this.rectOutline),na=F&&F.indent?F.indent:Math.max(0,Math.min(u,parseFloat(mxUtils.getValue(this.style,"indent",this.indent)))),Ua=F&&F.dashed?F.dashed:
+mxUtils.getValue(this.style,"dashed",!1),hb=F&&F.dashPattern?F.dashPattern:mxUtils.getValue(this.style,"dashPattern",null),$a=F&&F.relIndent?F.relIndent:Math.max(0,Math.min(50,na)),Ea=F&&F.top?F.top:mxUtils.getValue(this.style,"top",!0),Ha=F&&F.right?F.right:mxUtils.getValue(this.style,"right",!0),Ja=F&&F.bottom?F.bottom:mxUtils.getValue(this.style,"bottom",!0),Ma=F&&F.left?F.left:mxUtils.getValue(this.style,"left",!0),Za=F&&F.topLeftStyle?F.topLeftStyle:mxUtils.getValue(this.style,"topLeftStyle",
+"default"),db=F&&F.topRightStyle?F.topRightStyle:mxUtils.getValue(this.style,"topRightStyle","default"),eb=F&&F.bottomRightStyle?F.bottomRightStyle:mxUtils.getValue(this.style,"bottomRightStyle","default"),fb=F&&F.bottomLeftStyle?F.bottomLeftStyle:mxUtils.getValue(this.style,"bottomLeftStyle","default"),Ob=F&&F.fillColor?F.fillColor:mxUtils.getValue(this.style,"fillColor","#ffffff");F&&F.strokeColor||mxUtils.getValue(this.style,"strokeColor","#000000");var Pb=F&&F.strokeWidth?F.strokeWidth:mxUtils.getValue(this.style,
+"strokeWidth","1"),Lb=F&&F.fillColor2?F.fillColor2:mxUtils.getValue(this.style,"fillColor2","none"),Nb=F&&F.gradientColor2?F.gradientColor2:mxUtils.getValue(this.style,"gradientColor2","none"),Qb=F&&F.gradientDirection2?F.gradientDirection2:mxUtils.getValue(this.style,"gradientDirection2","south"),Rb=F&&F.opacity?F.opacity:mxUtils.getValue(this.style,"opacity","100"),Sb=Math.max(0,Math.min(50,O));F=wa.prototype;f.setDashed(Ua);hb&&""!=hb&&f.setDashPattern(hb);f.setStrokeWidth(Pb);O=Math.min(.5*A,
+.5*u,O);da||(O=Sb*Math.min(u,A)/100);O=Math.min(O,.5*Math.min(u,A));da||(na=Math.min($a*Math.min(u,A)/100));na=Math.min(na,.5*Math.min(u,A)-O);(Ea||Ha||Ja||Ma)&&"frame"!=ua&&(f.begin(),Ea?F.moveNW(f,t,x,u,A,H,Za,O,Ma):f.moveTo(0,0),Ea&&F.paintNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),Ha&&F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),Ja&&F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),Ma&&F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,
+Ea),f.close(),f.fill(),f.setShadow(!1),f.setFillColor(Lb),Ua=da=Rb,"none"==Lb&&(da=0),"none"==Nb&&(Ua=0),f.setGradient(Lb,Nb,0,0,u,A,Qb,da,Ua),f.begin(),Ea?F.moveNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma):f.moveTo(na,0),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),Ma&&Ja&&F.paintSWInner(f,t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),Ja&&Ha&&F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),Ha&&Ea&&F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,t,
+x,u,A,H,Za,O,na,Ma,Ea),Ea&&Ma&&F.paintNWInner(f,t,x,u,A,H,Za,O,na),f.fill(),"none"==Ob&&(f.begin(),F.paintFolds(f,t,x,u,A,H,Za,db,eb,fb,O,Ea,Ha,Ja,Ma),f.stroke()));Ea||Ha||Ja||!Ma?Ea||Ha||!Ja||Ma?!Ea&&!Ha&&Ja&&Ma?"frame"!=ua?(f.begin(),F.moveSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),"double"==ua&&(F.moveNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),F.paintSWInner(f,t,x,u,A,H,fb,O,na,Ja),
+F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja)),f.stroke()):(f.begin(),F.moveSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.lineNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),F.paintSWInner(f,t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),f.close(),f.fillAndStroke()):Ea||!Ha||Ja||Ma?!Ea&&Ha&&!Ja&&Ma?"frame"!=ua?(f.begin(),F.moveSW(f,t,x,u,A,H,Za,O,Ja),F.paintLeft(f,t,x,
+u,A,H,Za,O,Ea),"double"==ua&&(F.moveNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma)),f.stroke(),f.begin(),F.moveNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),"double"==ua&&(F.moveSEInner(f,t,x,u,A,H,eb,O,na,Ja),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha)),f.stroke()):(f.begin(),F.moveSW(f,t,x,u,A,H,Za,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.lineNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),f.close(),f.fillAndStroke(),f.begin(),
+F.moveNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.lineSEInner(f,t,x,u,A,H,eb,O,na,Ja),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),f.close(),f.fillAndStroke()):!Ea&&Ha&&Ja&&!Ma?"frame"!=ua?(f.begin(),F.moveNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),"double"==ua&&(F.moveSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,
+t,x,u,A,H,db,O,na,Ea,Ha)),f.stroke()):(f.begin(),F.moveNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.lineSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),f.close(),f.fillAndStroke()):!Ea&&Ha&&Ja&&Ma?"frame"!=ua?(f.begin(),F.moveNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.paintSE(f,t,x,u,A,H,eb,
+O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),"double"==ua&&(F.moveNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),F.paintSWInner(f,t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha)),f.stroke()):(f.begin(),F.moveNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,
+t,x,u,A,H,fb,O,Ma),F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.lineNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),F.paintSWInner(f,t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),f.close(),f.fillAndStroke()):!Ea||Ha||Ja||Ma?Ea&&!Ha&&!Ja&&Ma?"frame"!=ua?(f.begin(),F.moveSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.paintNW(f,t,x,u,A,
+H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),"double"==ua&&(F.moveNEInner(f,t,x,u,A,H,db,O,na,Ha),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),F.paintNWInner(f,t,x,u,A,H,Za,O,na),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma)),f.stroke()):(f.begin(),F.moveSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.paintNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.lineNEInner(f,t,x,u,A,H,db,O,na,Ha),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),F.paintNWInner(f,t,x,u,A,H,Za,O,na),F.paintLeftInner(f,
+t,x,u,A,H,fb,O,na,Ja,Ma),f.close(),f.fillAndStroke()):Ea&&!Ha&&Ja&&!Ma?"frame"!=ua?(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),"double"==ua&&(F.moveNEInner(f,t,x,u,A,H,db,O,na,Ha),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea)),f.stroke(),f.begin(),F.moveSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),"double"==ua&&(F.moveSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja)),f.stroke()):(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,
+t,x,u,A,H,db,O,Ha),F.lineNEInner(f,t,x,u,A,H,db,O,na,Ha),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),f.close(),f.fillAndStroke(),f.begin(),F.moveSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.lineSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),f.close(),f.fillAndStroke()):Ea&&!Ha&&Ja&&Ma?"frame"!=ua?(f.begin(),F.moveSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.paintNW(f,t,x,u,
+A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),"double"==ua&&(F.moveNEInner(f,t,x,u,A,H,db,O,na,Ha),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),F.paintNWInner(f,t,x,u,A,H,Za,O,na),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),F.paintSWInner(f,t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja)),f.stroke()):(f.begin(),F.moveSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.paintNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,
+t,x,u,A,H,db,O,Ha),F.lineNEInner(f,t,x,u,A,H,db,O,na,Ha),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),F.paintNWInner(f,t,x,u,A,H,Za,O,na),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),F.paintSWInner(f,t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),f.close(),f.fillAndStroke()):Ea&&Ha&&!Ja&&!Ma?"frame"!=ua?(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),"double"==ua&&(F.moveSEInner(f,t,x,u,A,H,
+eb,O,na,Ja),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea)),f.stroke()):(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.lineSEInner(f,t,x,u,A,H,eb,O,na,Ja),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),f.close(),f.fillAndStroke()):Ea&&Ha&&!Ja&&Ma?"frame"!=
+ua?(f.begin(),F.moveSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.paintNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),"double"==ua&&(F.moveSEInner(f,t,x,u,A,H,eb,O,na,Ja),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),F.paintNWInner(f,t,x,u,A,H,Za,O,na),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma)),f.stroke()):(f.begin(),F.moveSW(f,t,x,
+u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.paintNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.lineSEInner(f,t,x,u,A,H,eb,O,na,Ja),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),F.paintNWInner(f,t,x,u,A,H,Za,O,na),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),f.close(),f.fillAndStroke()):Ea&&Ha&&Ja&&!Ma?"frame"!=ua?(f.begin(),F.moveNW(f,t,x,
+u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),"double"==ua&&(F.moveSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea)),f.stroke()):(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,
+t,x,u,A,H,db,O,Ha),F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.lineSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),f.close(),f.fillAndStroke()):Ea&&Ha&&Ja&&Ma&&("frame"!=ua?(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintNW(f,
+t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),f.close(),"double"==ua&&(F.moveSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintSWInner(f,t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),F.paintNEInner(f,t,x,u,A,H,
+db,O,na),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),F.paintNWInner(f,t,x,u,A,H,Za,O,na),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),f.close()),f.stroke()):(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.paintNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.paintSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.paintSW(f,t,x,u,A,H,fb,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),f.close(),F.moveSWInner(f,t,x,u,A,H,fb,O,na,Ma),
+F.paintSWInner(f,t,x,u,A,H,fb,O,na,Ja),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),F.paintSEInner(f,t,x,u,A,H,eb,O,na),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),F.paintNEInner(f,t,x,u,A,H,db,O,na),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),F.paintNWInner(f,t,x,u,A,H,Za,O,na),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),f.close(),f.fillAndStroke())):"frame"!=ua?(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),"double"==ua&&(F.moveNEInner(f,t,x,u,A,H,db,O,na,Ha),F.paintTopInner(f,
+t,x,u,A,H,Za,O,na,Ma,Ea)),f.stroke()):(f.begin(),F.moveNW(f,t,x,u,A,H,Za,O,Ma),F.paintTop(f,t,x,u,A,H,db,O,Ha),F.lineNEInner(f,t,x,u,A,H,db,O,na,Ha),F.paintTopInner(f,t,x,u,A,H,Za,O,na,Ma,Ea),f.close(),f.fillAndStroke()):"frame"!=ua?(f.begin(),F.moveNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),"double"==ua&&(F.moveSEInner(f,t,x,u,A,H,eb,O,na,Ja),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha)),f.stroke()):(f.begin(),F.moveNE(f,t,x,u,A,H,db,O,Ea),F.paintRight(f,t,x,u,A,H,eb,O,Ja),F.lineSEInner(f,
+t,x,u,A,H,eb,O,na,Ja),F.paintRightInner(f,t,x,u,A,H,db,O,na,Ea,Ha),f.close(),f.fillAndStroke()):"frame"!=ua?(f.begin(),F.moveSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),"double"==ua&&(F.moveSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja)),f.stroke()):(f.begin(),F.moveSE(f,t,x,u,A,H,eb,O,Ha),F.paintBottom(f,t,x,u,A,H,fb,O,Ma),F.lineSWInner(f,t,x,u,A,H,fb,O,na,Ma),F.paintBottomInner(f,t,x,u,A,H,eb,O,na,Ha,Ja),f.close(),f.fillAndStroke()):"frame"!=ua?(f.begin(),
+F.moveSW(f,t,x,u,A,H,Za,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),"double"==ua&&(F.moveNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma)),f.stroke()):(f.begin(),F.moveSW(f,t,x,u,A,H,Za,O,Ja),F.paintLeft(f,t,x,u,A,H,Za,O,Ea),F.lineNWInner(f,t,x,u,A,H,Za,O,na,Ea,Ma),F.paintLeftInner(f,t,x,u,A,H,fb,O,na,Ja,Ma),f.close(),f.fillAndStroke());f.begin();F.paintFolds(f,t,x,u,A,H,Za,db,eb,fb,O,Ea,Ha,Ja,Ma);f.stroke()};wa.prototype.moveNW=function(f,t,x,u,A,F,H,da,O){"square"==H||"default"==
+H&&"square"==F||!O?f.moveTo(0,0):f.moveTo(0,da)};wa.prototype.moveNE=function(f,t,x,u,A,F,H,da,O){"square"==H||"default"==H&&"square"==F||!O?f.moveTo(u,0):f.moveTo(u-da,0)};wa.prototype.moveSE=function(f,t,x,u,A,F,H,da,O){"square"==H||"default"==H&&"square"==F||!O?f.moveTo(u,A):f.moveTo(u,A-da)};wa.prototype.moveSW=function(f,t,x,u,A,F,H,da,O){"square"==H||"default"==H&&"square"==F||!O?f.moveTo(0,A):f.moveTo(da,A)};wa.prototype.paintNW=function(f,t,x,u,A,F,H,da,O){if(O)if("rounded"==H||"default"==
+H&&"rounded"==F||"invRound"==H||"default"==H&&"invRound"==F){t=0;if("rounded"==H||"default"==H&&"rounded"==F)t=1;f.arcTo(da,da,0,0,t,da,0)}else("snip"==H||"default"==H&&"snip"==F||"fold"==H||"default"==H&&"fold"==F)&&f.lineTo(da,0);else f.lineTo(0,0)};wa.prototype.paintTop=function(f,t,x,u,A,F,H,da,O){"square"==H||"default"==H&&"square"==F||!O?f.lineTo(u,0):f.lineTo(u-da,0)};wa.prototype.paintNE=function(f,t,x,u,A,F,H,da,O){if(O)if("rounded"==H||"default"==H&&"rounded"==F||"invRound"==H||"default"==
+H&&"invRound"==F){t=0;if("rounded"==H||"default"==H&&"rounded"==F)t=1;f.arcTo(da,da,0,0,t,u,da)}else("snip"==H||"default"==H&&"snip"==F||"fold"==H||"default"==H&&"fold"==F)&&f.lineTo(u,da);else f.lineTo(u,0)};wa.prototype.paintRight=function(f,t,x,u,A,F,H,da,O){"square"==H||"default"==H&&"square"==F||!O?f.lineTo(u,A):f.lineTo(u,A-da)};wa.prototype.paintLeft=function(f,t,x,u,A,F,H,da,O){"square"==H||"default"==H&&"square"==F||!O?f.lineTo(0,0):f.lineTo(0,da)};wa.prototype.paintSE=function(f,t,x,u,A,
+F,H,da,O){if(O)if("rounded"==H||"default"==H&&"rounded"==F||"invRound"==H||"default"==H&&"invRound"==F){t=0;if("rounded"==H||"default"==H&&"rounded"==F)t=1;f.arcTo(da,da,0,0,t,u-da,A)}else("snip"==H||"default"==H&&"snip"==F||"fold"==H||"default"==H&&"fold"==F)&&f.lineTo(u-da,A);else f.lineTo(u,A)};wa.prototype.paintBottom=function(f,t,x,u,A,F,H,da,O){"square"==H||"default"==H&&"square"==F||!O?f.lineTo(0,A):f.lineTo(da,A)};wa.prototype.paintSW=function(f,t,x,u,A,F,H,da,O){if(O)if("rounded"==H||"default"==
+H&&"rounded"==F||"invRound"==H||"default"==H&&"invRound"==F){t=0;if("rounded"==H||"default"==H&&"rounded"==F)t=1;f.arcTo(da,da,0,0,t,0,A-da)}else("snip"==H||"default"==H&&"snip"==F||"fold"==H||"default"==H&&"fold"==F)&&f.lineTo(0,A-da);else f.lineTo(0,A)};wa.prototype.paintNWInner=function(f,t,x,u,A,F,H,da,O){if("rounded"==H||"default"==H&&"rounded"==F)f.arcTo(da-.5*O,da-.5*O,0,0,0,O,.5*O+da);else if("invRound"==H||"default"==H&&"invRound"==F)f.arcTo(da+O,da+O,0,0,1,O,O+da);else if("snip"==H||"default"==
+H&&"snip"==F)f.lineTo(O,.5*O+da);else if("fold"==H||"default"==H&&"fold"==F)f.lineTo(O+da,O+da),f.lineTo(O,O+da)};wa.prototype.paintTopInner=function(f,t,x,u,A,F,H,da,O,ua,na){ua||na?!ua&&na?f.lineTo(0,O):ua&&!na?f.lineTo(O,0):ua?"square"==H||"default"==H&&"square"==F?f.lineTo(O,O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.lineTo(da+.5*O,O):f.lineTo(da+O,O):f.lineTo(0,O):f.lineTo(0,0)};wa.prototype.paintNEInner=function(f,t,x,u,A,F,H,da,O){if("rounded"==H||"default"==
+H&&"rounded"==F)f.arcTo(da-.5*O,da-.5*O,0,0,0,u-da-.5*O,O);else if("invRound"==H||"default"==H&&"invRound"==F)f.arcTo(da+O,da+O,0,0,1,u-da-O,O);else if("snip"==H||"default"==H&&"snip"==F)f.lineTo(u-da-.5*O,O);else if("fold"==H||"default"==H&&"fold"==F)f.lineTo(u-da-O,da+O),f.lineTo(u-da-O,O)};wa.prototype.paintRightInner=function(f,t,x,u,A,F,H,da,O,ua,na){ua||na?!ua&&na?f.lineTo(u-O,0):ua&&!na?f.lineTo(u,O):ua?"square"==H||"default"==H&&"square"==F?f.lineTo(u-O,O):"rounded"==H||"default"==H&&"rounded"==
+F||"snip"==H||"default"==H&&"snip"==F?f.lineTo(u-O,da+.5*O):f.lineTo(u-O,da+O):f.lineTo(u-O,0):f.lineTo(u,0)};wa.prototype.paintLeftInner=function(f,t,x,u,A,F,H,da,O,ua,na){ua||na?!ua&&na?f.lineTo(O,A):ua&&!na?f.lineTo(0,A-O):ua?"square"==H||"default"==H&&"square"==F?f.lineTo(O,A-O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.lineTo(O,A-da-.5*O):f.lineTo(O,A-da-O):f.lineTo(O,A):f.lineTo(0,A)};wa.prototype.paintSEInner=function(f,t,x,u,A,F,H,da,O){if("rounded"==H||
+"default"==H&&"rounded"==F)f.arcTo(da-.5*O,da-.5*O,0,0,0,u-O,A-da-.5*O);else if("invRound"==H||"default"==H&&"invRound"==F)f.arcTo(da+O,da+O,0,0,1,u-O,A-da-O);else if("snip"==H||"default"==H&&"snip"==F)f.lineTo(u-O,A-da-.5*O);else if("fold"==H||"default"==H&&"fold"==F)f.lineTo(u-da-O,A-da-O),f.lineTo(u-O,A-da-O)};wa.prototype.paintBottomInner=function(f,t,x,u,A,F,H,da,O,ua,na){ua||na?!ua&&na?f.lineTo(u,A-O):ua&&!na?f.lineTo(u-O,A):"square"==H||"default"==H&&"square"==F||!ua?f.lineTo(u-O,A-O):"rounded"==
+H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.lineTo(u-da-.5*O,A-O):f.lineTo(u-da-O,A-O):f.lineTo(u,A)};wa.prototype.paintSWInner=function(f,t,x,u,A,F,H,da,O,ua){if(!ua)f.lineTo(O,A);else if("square"==H||"default"==H&&"square"==F)f.lineTo(O,A-O);else if("rounded"==H||"default"==H&&"rounded"==F)f.arcTo(da-.5*O,da-.5*O,0,0,0,da+.5*O,A-O);else if("invRound"==H||"default"==H&&"invRound"==F)f.arcTo(da+O,da+O,0,0,1,da+O,A-O);else if("snip"==H||"default"==H&&"snip"==F)f.lineTo(da+.5*
+O,A-O);else if("fold"==H||"default"==H&&"fold"==F)f.lineTo(O+da,A-da-O),f.lineTo(O+da,A-O)};wa.prototype.moveSWInner=function(f,t,x,u,A,F,H,da,O,ua){ua?"square"==H||"default"==H&&"square"==F?f.moveTo(O,A-O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.moveTo(O,A-da-.5*O):("invRound"==H||"default"==H&&"invRound"==F||"fold"==H||"default"==H&&"fold"==F)&&f.moveTo(O,A-da-O):f.moveTo(0,A-O)};wa.prototype.lineSWInner=function(f,t,x,u,A,F,H,da,O,ua){ua?"square"==H||"default"==
+H&&"square"==F?f.lineTo(O,A-O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.lineTo(O,A-da-.5*O):("invRound"==H||"default"==H&&"invRound"==F||"fold"==H||"default"==H&&"fold"==F)&&f.lineTo(O,A-da-O):f.lineTo(0,A-O)};wa.prototype.moveSEInner=function(f,t,x,u,A,F,H,da,O,ua){ua?"square"==H||"default"==H&&"square"==F?f.moveTo(u-O,A-O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.moveTo(u-O,A-da-.5*O):("invRound"==H||"default"==H&&"invRound"==
+F||"fold"==H||"default"==H&&"fold"==F)&&f.moveTo(u-O,A-da-O):f.moveTo(u-O,A)};wa.prototype.lineSEInner=function(f,t,x,u,A,F,H,da,O,ua){ua?"square"==H||"default"==H&&"square"==F?f.lineTo(u-O,A-O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.lineTo(u-O,A-da-.5*O):("invRound"==H||"default"==H&&"invRound"==F||"fold"==H||"default"==H&&"fold"==F)&&f.lineTo(u-O,A-da-O):f.lineTo(u-O,A)};wa.prototype.moveNEInner=function(f,t,x,u,A,F,H,da,O,ua){ua?"square"==H||"default"==H&&
+"square"==F||ua?f.moveTo(u-O,O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.moveTo(u-O,da+.5*O):("invRound"==H||"default"==H&&"invRound"==F||"fold"==H||"default"==H&&"fold"==F)&&f.moveTo(u-O,da+O):f.moveTo(u,O)};wa.prototype.lineNEInner=function(f,t,x,u,A,F,H,da,O,ua){ua?"square"==H||"default"==H&&"square"==F||ua?f.lineTo(u-O,O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.lineTo(u-O,da+.5*O):("invRound"==H||"default"==H&&"invRound"==
+F||"fold"==H||"default"==H&&"fold"==F)&&f.lineTo(u-O,da+O):f.lineTo(u,O)};wa.prototype.moveNWInner=function(f,t,x,u,A,F,H,da,O,ua,na){ua||na?!ua&&na?f.moveTo(O,0):ua&&!na?f.moveTo(0,O):"square"==H||"default"==H&&"square"==F?f.moveTo(O,O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.moveTo(O,da+.5*O):("invRound"==H||"default"==H&&"invRound"==F||"fold"==H||"default"==H&&"fold"==F)&&f.moveTo(O,da+O):f.moveTo(0,0)};wa.prototype.lineNWInner=function(f,t,x,u,A,F,H,da,O,
+ua,na){ua||na?!ua&&na?f.lineTo(O,0):ua&&!na?f.lineTo(0,O):"square"==H||"default"==H&&"square"==F?f.lineTo(O,O):"rounded"==H||"default"==H&&"rounded"==F||"snip"==H||"default"==H&&"snip"==F?f.lineTo(O,da+.5*O):("invRound"==H||"default"==H&&"invRound"==F||"fold"==H||"default"==H&&"fold"==F)&&f.lineTo(O,da+O):f.lineTo(0,0)};wa.prototype.paintFolds=function(f,t,x,u,A,F,H,da,O,ua,na,Ua,hb,$a,Ea){if("fold"==F||"fold"==H||"fold"==da||"fold"==O||"fold"==ua)("fold"==H||"default"==H&&"fold"==F)&&Ua&&Ea&&(f.moveTo(0,
+na),f.lineTo(na,na),f.lineTo(na,0)),("fold"==da||"default"==da&&"fold"==F)&&Ua&&hb&&(f.moveTo(u-na,0),f.lineTo(u-na,na),f.lineTo(u,na)),("fold"==O||"default"==O&&"fold"==F)&&$a&&hb&&(f.moveTo(u-na,A),f.lineTo(u-na,A-na),f.lineTo(u,A-na)),("fold"==ua||"default"==ua&&"fold"==F)&&$a&&Ea&&(f.moveTo(0,A-na),f.lineTo(na,A-na),f.lineTo(na,A))};mxCellRenderer.registerShape(wa.prototype.cst.RECT2,wa);wa.prototype.constraints=null;mxUtils.extend(Qa,mxConnector);Qa.prototype.origPaintEdgeShape=Qa.prototype.paintEdgeShape;
+Qa.prototype.paintEdgeShape=function(f,t){for(var x=[],u=0;u<t.length;u++)x.push(mxUtils.clone(t[u]));u=f.state.dashed;var A=f.state.fixDash;Qa.prototype.origPaintEdgeShape.apply(this,[f,x]);3<=f.state.strokeWidth&&(x=mxUtils.getValue(this.style,"fillColor",null),null!=x&&(f.setStrokeColor(x),f.setStrokeWidth(f.state.strokeWidth-2),f.setDashed(u,A),Qa.prototype.origPaintEdgeShape.apply(this,[f,t])))};mxCellRenderer.registerShape("filledEdge",Qa);mxUtils.extend(Wa,mxConnector);Wa.prototype.defaultWidth=
+4;Wa.prototype.getEdgeWidth=function(){return Math.max(0,mxUtils.getNumber(this.style,"width",this.defaultWidth))};Wa.prototype.getFlowAnimationPath=function(){return mxShape.prototype.getFlowAnimationPath.call(this,2)};Wa.prototype.origPaintEdgeShape=Wa.prototype.paintEdgeShape;Wa.prototype.paintEdgeShape=function(f,t){for(var x=[],u=0;u<t.length;u++)x.push(mxUtils.clone(t[u]));u=f.state.dashed;var A=f.state.fixDash,F=this.getEdgeWidth();f.setStrokeWidth(F+2*this.strokewidth);f.setDashed(!1);Wa.prototype.origPaintEdgeShape.apply(this,
+[f,x]);x=mxUtils.getValue(this.style,"fillColor",null);null!=x&&(f.setStrokeWidth(F),f.setStrokeColor(x),f.setDashed(u,A),Wa.prototype.origPaintEdgeShape.apply(this,[f,t]))};mxCellRenderer.registerShape("pipe",Wa);mxUtils.extend(ab,mxRectangleShape);ab.prototype.size=10;ab.prototype.isRoundable=function(){return!0};ab.prototype.paintVertexShape=function(f,t,x,u,A){f.translate(t,x);t=mxUtils.getValue(this.style,mxConstants.STYLE_FILLCOLOR,null);null!=t&&t!=mxConstants.NONE&&(f.setStrokeColor("none"),
+f.begin(),f.rect(0,0,u,A),f.fillAndStroke(),f.setStrokeColor(this.stroke));var F=Math.max(5,parseFloat(mxUtils.getValue(this.style,"size",this.size)));t=A/2;x=this.strokewidth;x=this.isRounded?x/2:x;A-=x;F=Math.max(1,Math.round(u/F)-1);var H=u/(F+1),da=H/2;f.begin();f.moveTo(0,t);if(this.isRounded){f.curveTo(.4*da,t-.4*(t-x),.6*da,x,da,x);for(var O=0;O<F;O++){var ua=da+O*H,na=ua+H,Ua=0==O%2?A:x;f.curveTo(ua+.4*H,0==O%2?x:A,na-.4*H,Ua,na,Ua)}A=0==F%2?x:A;f.curveTo(da+F*H+.4*da,A,u-.4*da,t-(A==x?1:
+-1)*(t-x)*.4,u,t)}else{f.lineTo(da,x);for(O=0;O<F;O++)na=da+(O+1)*H,Ua=0==O%2?A:x,f.lineTo(na,Ua);f.lineTo(u,t)}f.stroke()};mxCellRenderer.registerShape("zigzag",ab);"undefined"!==typeof StyleFormatPanel&&function(){var f=StyleFormatPanel.prototype.getCustomColors;StyleFormatPanel.prototype.getCustomColors=function(){var t=this.editorUi.getSelectionState(),x=f.apply(this,arguments);"umlFrame"==t.style.shape&&x.push({title:mxResources.get("laneColor"),key:"swimlaneFillColor",defaultValue:"default"});
+return x}}();mxMarker.addMarker("dash",function(f,t,x,u,A,F,H,da,O,ua){var na=A*(H+O+1),Ua=F*(H+O+1);return function(){f.begin();f.moveTo(u.x-na/2-Ua/2,u.y-Ua/2+na/2);f.lineTo(u.x+Ua/2-3*na/2,u.y-3*Ua/2-na/2);f.stroke()}});mxMarker.addMarker("box",function(f,t,x,u,A,F,H,da,O,ua){var na=A*(H+O+1),Ua=F*(H+O+1),hb=u.x+na/2,$a=u.y+Ua/2;u.x-=na;u.y-=Ua;return function(){f.begin();f.moveTo(hb-na/2-Ua/2,$a-Ua/2+na/2);f.lineTo(hb-na/2+Ua/2,$a-Ua/2-na/2);f.lineTo(hb+Ua/2-3*na/2,$a-3*Ua/2-na/2);f.lineTo(hb-
+Ua/2-3*na/2,$a-3*Ua/2+na/2);f.close();ua?f.fillAndStroke():f.stroke()}});mxMarker.addMarker("cross",function(f,t,x,u,A,F,H,da,O,ua){var na=A*(H+O+1),Ua=F*(H+O+1);return function(){f.begin();f.moveTo(u.x-na/2-Ua/2,u.y-Ua/2+na/2);f.lineTo(u.x+Ua/2-3*na/2,u.y-3*Ua/2-na/2);f.moveTo(u.x-na/2+Ua/2,u.y-Ua/2-na/2);f.lineTo(u.x-Ua/2-3*na/2,u.y-3*Ua/2+na/2);f.stroke()}});mxMarker.addMarker("circle",ib);mxMarker.addMarker("circlePlus",function(f,t,x,u,A,F,H,da,O,ua){var na=u.clone(),Ua=ib.apply(this,arguments),
+hb=A*(H+2*O),$a=F*(H+2*O);return function(){Ua.apply(this,arguments);f.begin();f.moveTo(na.x-A*O,na.y-F*O);f.lineTo(na.x-2*hb+A*O,na.y-2*$a+F*O);f.moveTo(na.x-hb-$a+F*O,na.y-$a+hb-A*O);f.lineTo(na.x+$a-hb-F*O,na.y-$a-hb+A*O);f.stroke()}});mxMarker.addMarker("halfCircle",function(f,t,x,u,A,F,H,da,O,ua){var na=A*(H+O+1),Ua=F*(H+O+1),hb=u.clone();u.x-=na;u.y-=Ua;return function(){f.begin();f.moveTo(hb.x-Ua,hb.y+na);f.quadTo(u.x-Ua,u.y+na,u.x,u.y);f.quadTo(u.x+Ua,u.y-na,hb.x+Ua,hb.y-na);f.stroke()}});
+mxMarker.addMarker("async",function(f,t,x,u,A,F,H,da,O,ua){t=A*O*1.118;x=F*O*1.118;A*=H+O;F*=H+O;var na=u.clone();na.x-=t;na.y-=x;u.x+=-A-t;u.y+=-F-x;return function(){f.begin();f.moveTo(na.x,na.y);da?f.lineTo(na.x-A-F/2,na.y-F+A/2):f.lineTo(na.x+F/2-A,na.y-F-A/2);f.lineTo(na.x-A,na.y-F);f.close();ua?f.fillAndStroke():f.stroke()}});mxMarker.addMarker("openAsync",function(f){f=null!=f?f:2;return function(t,x,u,A,F,H,da,O,ua,na){F*=da+ua;H*=da+ua;var Ua=A.clone();return function(){t.begin();t.moveTo(Ua.x,
+Ua.y);O?t.lineTo(Ua.x-F-H/f,Ua.y-H+F/f):t.lineTo(Ua.x+H/f-F,Ua.y-H-F/f);t.stroke()}}}(2));mxUtils.extend(gb,mxRectangleShape);gb.prototype.arcStartY=25;gb.prototype.arcMidY=-25;gb.prototype.arcEndY=25;gb.prototype.paintForeground=function(f,t,x,u,A){mxRectangleShape.prototype.paintForeground.apply(this,arguments);if(null!=this.state){var F=this.state.view.graph;if(null==F.cellEditor||F.cellEditor.editingCell!=this.state.cell)if(F=F.convertValueToString(this.state.cell),null!=F&&0!=F.length){var H=
+parseFloat(mxUtils.getValue(this.style,"arcStartY",this.arcStartY)),da=parseFloat(mxUtils.getValue(this.style,"arcMidY",this.arcMidY)),O=parseFloat(mxUtils.getValue(this.style,"arcEndY",this.arcEndY)),ua=mxUtils.getValue(this.style,"curveType","round");if(null!=f.root&&"function"===typeof f.getBaseUrl){null!=this._curvedTextGroup&&null!=this._curvedTextGroup.parentNode&&this._curvedTextGroup.parentNode.removeChild(this._curvedTextGroup);this._curvedTextGroup=null;f.translate(t,x);var na=f.state,Ua=
+parseFloat(mxUtils.getValue(this.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE)),hb=Ua/2,$a=(H+O)/2,Ea=Math.max(Math.abs(gb.prototype.arcMidY),Math.min($a,A-$a));da=Math.max(-Ea,Math.min(Ea,da));var Ha=$a+da;da=Math.min(H,O,Ha);Ea=Math.max(H,O,Ha);$a=Ea-da;var Ja=mxUtils.getValue(this.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE);this._curveYOffset=$a=Ja==mxConstants.ALIGN_TOP?hb-da:Ja==mxConstants.ALIGN_BOTTOM?A-hb-Ea:(A-$a)/2-da;Ja=u-hb;da=(hb+na.dx)*na.scale;
+H=(H+$a+na.dy)*na.scale;Ea=((hb+Ja)/2+na.dx)*na.scale;Ha=(Ha+$a+na.dy)*na.scale;hb=(Ja+na.dx)*na.scale;O=(O+$a+na.dy)*na.scale;"round"==ua?(Ja=Math.sqrt((hb-da)*(hb-da)+(O-H)*(O-H)),ua=(da+hb)/2,$a=(H+O)/2,ua=Math.sqrt((Ea-ua)*(Ea-ua)+(Ha-$a)*(Ha-$a)),.5>ua?(ua="M "+f.format(da)+" "+f.format(H)+" L "+f.format(hb)+" "+f.format(O),da=Ja):(Ja/=2,$a=Ja*Ja/(2*ua)+ua/2,Ha=0<(hb-da)*(Ha-H)-(O-H)*(Ea-da)?0:1,Ea=ua>Ja?1:0,ua="M "+f.format(da)+" "+f.format(H)+" A "+f.format($a)+" "+f.format($a)+" 0 "+Ea+" "+
+Ha+" "+f.format(hb)+" "+f.format(O),da=2*Math.asin(Math.min(1,Ja/$a)),Ea&&(da=2*Math.PI-da),da*=$a)):(ua="M "+f.format(da)+" "+f.format(H)+" Q "+f.format(Ea)+" "+f.format(Ha)+" "+f.format(hb)+" "+f.format(O),$a=Ea-da,Ja=Ha-H,Ea=hb-Ea,Ha=O-Ha,da=hb-da,H=O-H,da=(Math.sqrt($a*$a+Ja*Ja)+Math.sqrt(Ea*Ea+Ha*Ha)+Math.sqrt(da*da+H*H))/2);O=(f.idPrefix||"")+"ctp-"+mxObjectIdentity.get(this);Ea=(H=!mxClient.IS_CHROMEAPP&&f.root.ownerDocument==document)?f.getBaseUrl().replace(/([\(\)])/g,"\\$1"):"";hb=f.createElement("g");
+Ha=na.transform||"";0<Ha.length&&hb.setAttribute("transform",Ha);1>na.alpha&&hb.setAttribute("opacity",na.alpha);Ha=f.createElement("defs");$a=f.createElement("path");$a.setAttribute("id",O);$a.setAttribute("d",ua);Ha.appendChild($a);hb.appendChild(Ha);ua=f.createElement("text");$a=mxUtils.getValue(this.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY);Ja=mxUtils.getValue(this.style,mxConstants.STYLE_FONTCOLOR,"#000000");Ha=mxUtils.getValue(this.style,mxConstants.STYLE_FONTSTYLE,
+0);ua.setAttribute("font-size",Ua*na.scale+"px");ua.setAttribute("font-family",mxUtils.parseCssFontFamily($a));ua.setAttribute("fill",Ja);(Ha&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&ua.setAttribute("font-weight","bold");(Ha&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC&&ua.setAttribute("font-style","italic");na=[];(Ha&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&na.push("underline");(Ha&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&na.push("line-through");
+0<na.length&&ua.setAttribute("text-decoration",na.join(" "));Ua=mxUtils.getValue(this.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER);Ha="middle";na="50%";Ua==mxConstants.ALIGN_LEFT?(Ha="start",na="0%"):Ua==mxConstants.ALIGN_RIGHT&&(Ha="end",na="100%");ua.setAttribute("text-anchor",Ha);ua.setAttribute("dominant-baseline","central");Ua=f.createElement("textPath");Ua.setAttribute("startOffset",na);na=(H?Ea:"")+"#"+O;Ua.setAttribute("href",na);H&&Ua.setAttributeNS("http://www.w3.org/1999/xlink",
+"xlink:href",na);Ua.setAttribute("textLength",da);Ua.setAttribute("lengthAdjust","spacing");mxUtils.write(Ua,F);ua.appendChild(Ua);hb.appendChild(ua);f.root.appendChild(hb);this._curvedTextGroup=hb}else f.text(t+u/2,x+A/2,0,0,F,mxConstants.ALIGN_CENTER,mxConstants.ALIGN_MIDDLE,!1,"",null,!1,0)}}};gb.prototype.destroy=function(){null!=this._curvedTextGroup&&null!=this._curvedTextGroup.parentNode&&this._curvedTextGroup.parentNode.removeChild(this._curvedTextGroup);this._curvedTextGroup=null;mxRectangleShape.prototype.destroy.apply(this,
+arguments)};mxCellRenderer.registerShape("curvedText",gb);if("undefined"!==typeof mxVertexHandler){var vb=function(f,t,x){return ob(f,["width"],t,function(u,A,F,H,da){da=f.shape.getEdgeWidth()*f.view.scale+x;return new mxPoint(H.x+A*u/4+F*da/2,H.y+F*u/4-A*da/2)},function(u,A,F,H,da,O){u=Math.sqrt(mxUtils.ptSegDistSq(H.x,H.y,da.x,da.y,O.x,O.y));f.style.width=Math.round(Math.round(2*u)/f.view.scale-x)})},ob=function(f,t,x,u,A){return nb(f,t,function(F){var H=f.absolutePoints;if(null!=H&&0<H.length){var da=
+H.length-1;F=f.view.translate;var O=f.view.scale,ua=x?H[0]:H[da];H=x?H[1]:H[da-1];da=H.x-ua.x;var na=H.y-ua.y,Ua=Math.sqrt(da*da+na*na);ua=u.call(this,Ua,da/Ua,na/Ua,ua,H);return new mxPoint(ua.x/O-F.x,ua.y/O-F.y)}return null},function(F,H,da){var O=f.absolutePoints,ua=O.length-1;F=f.view.translate;var na=f.view.scale,Ua=x?O[0]:O[ua];O=x?O[1]:O[ua-1];ua=O.x-Ua.x;var hb=O.y-Ua.y,$a=Math.sqrt(ua*ua+hb*hb);H.x=(H.x+F.x)*na;H.y=(H.y+F.y)*na;A.call(this,$a,ua/$a,hb/$a,Ua,O,H,da)})},tb=function(f,t){return function(x){return[ob(x,
+["startWidth"],!0,function(u,A,F,H,da){da=mxUtils.getNumber(x.style,"startWidth",f)*x.view.scale+t;return new mxPoint(H.x+A*u/4+F*da/2,H.y+F*u/4-A*da/2)},function(u,A,F,H,da,O){u=Math.sqrt(mxUtils.ptSegDistSq(H.x,H.y,da.x,da.y,O.x,O.y));x.style.startWidth=Math.round(2*u)/x.view.scale-t})]}},xb=function(f){return function(t){return[nb(t,["arrowWidth","arrowSize"],function(x){var u=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"arrowWidth",cb.prototype.arrowWidth))),A=Math.max(0,Math.min(f,
+mxUtils.getValue(this.state.style,"arrowSize",cb.prototype.arrowSize)));return new mxPoint(x.x+(1-A)*x.width,x.y+(1-u)*x.height/2)},function(x,u){this.state.style.arrowWidth=Math.max(0,Math.min(1,Math.abs(x.y+x.height/2-u.y)/x.height*2));this.state.style.arrowSize=Math.max(0,Math.min(f,(x.x+x.width-u.x)/x.width))})]}},Gb=function(f){return function(t){return[nb(t,["size"],function(x){var u=Math.max(0,Math.min(.5*x.height,parseFloat(mxUtils.getValue(this.state.style,"size",f))));return new mxPoint(x.x,
+x.y+u)},function(x,u){this.state.style.size=Math.max(0,u.y-x.y)},!0)]}},yb=function(f,t,x){return function(u){var A=[nb(u,["size"],function(F){var H=Math.max(0,Math.min(F.width,Math.min(F.height,parseFloat(mxUtils.getValue(this.state.style,"size",t)))))*f;return new mxPoint(F.x+H,F.y+H)},function(F,H){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(F.width,H.x-F.x),Math.min(F.height,H.y-F.y)))/f)},!1)];x&&mxUtils.getValue(u.style,mxConstants.STYLE_ROUNDED,!1)&&A.push(Ab(u));return A}},
+Db=function(f,t,x,u,A){x=null!=x?x:.5;return function(F){var H=[nb(F,["size"],function(da){var O=null!=A?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,ua=parseFloat(mxUtils.getValue(this.state.style,"size",O?A:f));return new mxPoint(da.x+Math.max(0,Math.min(.5*da.width,ua*(O?1:da.width))),da.getCenterY())},function(da,O,ua){da=null!=A&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?O.x-da.x:Math.max(0,Math.min(x,(O.x-da.x)/da.width));this.state.style.size=da},!1,u)];t&&mxUtils.getValue(F.style,
+mxConstants.STYLE_ROUNDED,!1)&&H.push(Ab(F));return H}},Hb=function(f,t,x){f=null!=f?f:.5;return function(u){var A=[nb(u,["size"],function(F){var H=null!=x?"0"!=mxUtils.getValue(this.state.style,"fixedSize","0"):null,da=Math.max(0,parseFloat(mxUtils.getValue(this.state.style,"size",H?x:t)));return new mxPoint(F.x+Math.min(.75*F.width*f,da*(H?.75:.75*F.width)),F.y+F.height/4)},function(F,H){F=null!=x&&"0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?H.x-F.x:Math.max(0,Math.min(f,(H.x-F.x)/F.width*
+.75));this.state.style.size=F},!1,!0)];mxUtils.getValue(u.style,mxConstants.STYLE_ROUNDED,!1)&&A.push(Ab(u));return A}},Eb=function(){return function(f){var t=[];mxUtils.getValue(f.style,mxConstants.STYLE_ROUNDED,!1)&&t.push(Ab(f));return t}},Ab=function(f,t){return nb(f,[mxConstants.STYLE_ARCSIZE],function(x){var u=null!=t?t:x.height/8;if("1"==mxUtils.getValue(f.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)){var A=mxUtils.getValue(f.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;return new mxPoint(x.x+
+x.width-Math.min(x.width/2,A),x.y+u)}A=Math.max(0,parseFloat(mxUtils.getValue(f.style,mxConstants.STYLE_ARCSIZE,100*mxConstants.RECTANGLE_ROUNDING_FACTOR)))/100;return new mxPoint(x.x+x.width-Math.min(Math.max(x.width/2,x.height/2),Math.min(x.width,x.height)*A),x.y+u)},function(x,u,A){"1"==mxUtils.getValue(f.style,mxConstants.STYLE_ABSOLUTE_ARCSIZE,0)?this.state.style[mxConstants.STYLE_ARCSIZE]=Math.round(Math.max(0,Math.min(x.width,2*(x.x+x.width-u.x)))):this.state.style[mxConstants.STYLE_ARCSIZE]=
+Math.round(Math.min(50,Math.max(0,100*(x.width-u.x+x.x)/Math.min(x.width,x.height))))})},nb=function(f,t,x,u,A,F,H){var da=new mxHandle(f,null,mxVertexHandler.prototype.secondaryHandleImage);da.execute=function(ua){for(var na=0;na<t.length;na++)this.copyStyle(t[na]);H&&H(ua)};da.getPosition=x;da.setPosition=u;da.ignoreGrid=null!=A?A:!0;if(F){var O=da.positionChanged;da.positionChanged=function(){O.apply(this,arguments);f.view.invalidate(this.state.cell);f.view.validate()}}return da},Cb={link:function(f){return[vb(f,
+!0,10),vb(f,!1,10)]},pipe:function(f){return[vb(f,!0,10),vb(f,!1,10)]},flexArrow:function(f){var t=f.view.graph.gridSize/f.view.scale,x=[];mxUtils.getValue(f.style,mxConstants.STYLE_STARTARROW,mxConstants.NONE)!=mxConstants.NONE&&(x.push(ob(f,["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(u,A,F,H,da){u=(f.shape.getEdgeWidth()-f.shape.strokewidth)*f.view.scale;da=3*mxUtils.getNumber(f.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*f.view.scale;return new mxPoint(H.x+
+A*(da+f.shape.strokewidth*f.view.scale)+F*u/2,H.y+F*(da+f.shape.strokewidth*f.view.scale)-A*u/2)},function(u,A,F,H,da,O,ua){u=Math.sqrt(mxUtils.ptSegDistSq(H.x,H.y,da.x,da.y,O.x,O.y));A=mxUtils.ptLineDist(H.x,H.y,H.x+F,H.y-A,O.x,O.y);f.style[mxConstants.STYLE_STARTSIZE]=Math.round((A-f.shape.strokewidth)/3/f.view.scale);f.style.width=Math.round(2*u/f.view.scale);if(mxEvent.isShiftDown(ua.getEvent())||mxEvent.isControlDown(ua.getEvent()))f.style[mxConstants.STYLE_ENDSIZE]=f.style[mxConstants.STYLE_STARTSIZE];
+mxEvent.isAltDown(ua.getEvent())||Math.abs(parseFloat(f.style[mxConstants.STYLE_STARTSIZE])-parseFloat(f.style[mxConstants.STYLE_ENDSIZE]))<t/6&&(f.style[mxConstants.STYLE_STARTSIZE]=f.style[mxConstants.STYLE_ENDSIZE])})),x.push(ob(f,["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!0,function(u,A,F,H,da){u=(f.shape.getStartArrowWidth()-f.shape.strokewidth)*f.view.scale;da=3*mxUtils.getNumber(f.style,mxConstants.STYLE_STARTSIZE,mxConstants.ARROW_SIZE/5)*f.view.scale;
+return new mxPoint(H.x+A*(da+f.shape.strokewidth*f.view.scale)+F*u/2,H.y+F*(da+f.shape.strokewidth*f.view.scale)-A*u/2)},function(u,A,F,H,da,O,ua){u=Math.sqrt(mxUtils.ptSegDistSq(H.x,H.y,da.x,da.y,O.x,O.y));A=mxUtils.ptLineDist(H.x,H.y,H.x+F,H.y-A,O.x,O.y);f.style[mxConstants.STYLE_STARTSIZE]=Math.round((A-f.shape.strokewidth)/3/f.view.scale);f.style.startWidth=Math.round(Math.max(0,Math.round(2*u)-f.shape.getEdgeWidth())/f.view.scale);if(mxEvent.isShiftDown(ua.getEvent())||mxEvent.isControlDown(ua.getEvent()))f.style[mxConstants.STYLE_ENDSIZE]=
+f.style[mxConstants.STYLE_STARTSIZE],f.style.endWidth=f.style.startWidth;mxEvent.isAltDown(ua.getEvent())||(Math.abs(parseFloat(f.style[mxConstants.STYLE_STARTSIZE])-parseFloat(f.style[mxConstants.STYLE_ENDSIZE]))<t/6&&(f.style[mxConstants.STYLE_STARTSIZE]=f.style[mxConstants.STYLE_ENDSIZE]),Math.abs(parseFloat(f.style.startWidth)-parseFloat(f.style.endWidth))<t&&(f.style.startWidth=f.style.endWidth))})));mxUtils.getValue(f.style,mxConstants.STYLE_ENDARROW,mxConstants.NONE)!=mxConstants.NONE&&(x.push(ob(f,
+["width",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(u,A,F,H,da){u=(f.shape.getEdgeWidth()-f.shape.strokewidth)*f.view.scale;da=3*mxUtils.getNumber(f.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5)*f.view.scale;return new mxPoint(H.x+A*(da+f.shape.strokewidth*f.view.scale)-F*u/2,H.y+F*(da+f.shape.strokewidth*f.view.scale)+A*u/2)},function(u,A,F,H,da,O,ua){u=Math.sqrt(mxUtils.ptSegDistSq(H.x,H.y,da.x,da.y,O.x,O.y));A=mxUtils.ptLineDist(H.x,H.y,H.x+F,H.y-A,O.x,O.y);
+f.style[mxConstants.STYLE_ENDSIZE]=Math.round((A-f.shape.strokewidth)/3/f.view.scale);f.style.width=Math.round(2*u/f.view.scale);if(mxEvent.isShiftDown(ua.getEvent())||mxEvent.isControlDown(ua.getEvent()))f.style[mxConstants.STYLE_STARTSIZE]=f.style[mxConstants.STYLE_ENDSIZE];mxEvent.isAltDown(ua.getEvent())||Math.abs(parseFloat(f.style[mxConstants.STYLE_ENDSIZE])-parseFloat(f.style[mxConstants.STYLE_STARTSIZE]))<t/6&&(f.style[mxConstants.STYLE_ENDSIZE]=f.style[mxConstants.STYLE_STARTSIZE])})),x.push(ob(f,
+["startWidth","endWidth",mxConstants.STYLE_STARTSIZE,mxConstants.STYLE_ENDSIZE],!1,function(u,A,F,H,da){u=(f.shape.getEndArrowWidth()-f.shape.strokewidth)*f.view.scale;da=3*mxUtils.getNumber(f.style,mxConstants.STYLE_ENDSIZE,mxConstants.ARROW_SIZE/5)*f.view.scale;return new mxPoint(H.x+A*(da+f.shape.strokewidth*f.view.scale)-F*u/2,H.y+F*(da+f.shape.strokewidth*f.view.scale)+A*u/2)},function(u,A,F,H,da,O,ua){u=Math.sqrt(mxUtils.ptSegDistSq(H.x,H.y,da.x,da.y,O.x,O.y));A=mxUtils.ptLineDist(H.x,H.y,H.x+
+F,H.y-A,O.x,O.y);f.style[mxConstants.STYLE_ENDSIZE]=Math.round((A-f.shape.strokewidth)/3/f.view.scale);f.style.endWidth=Math.round(Math.max(0,Math.round(2*u)-f.shape.getEdgeWidth())/f.view.scale);if(mxEvent.isShiftDown(ua.getEvent())||mxEvent.isControlDown(ua.getEvent()))f.style[mxConstants.STYLE_STARTSIZE]=f.style[mxConstants.STYLE_ENDSIZE],f.style.startWidth=f.style.endWidth;mxEvent.isAltDown(ua.getEvent())||(Math.abs(parseFloat(f.style[mxConstants.STYLE_ENDSIZE])-parseFloat(f.style[mxConstants.STYLE_STARTSIZE]))<
+t/6&&(f.style[mxConstants.STYLE_ENDSIZE]=f.style[mxConstants.STYLE_STARTSIZE]),Math.abs(parseFloat(f.style.endWidth)-parseFloat(f.style.startWidth))<t&&(f.style.endWidth=f.style.startWidth))})));return x},swimlane:function(f){var t=[];if(mxUtils.getValue(f.style,mxConstants.STYLE_ROUNDED)){var x=parseFloat(mxUtils.getValue(f.style,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));t.push(Ab(f,x/2))}t.push(nb(f,[mxConstants.STYLE_STARTSIZE],function(u){var A=parseFloat(mxUtils.getValue(f.style,
+mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));return 1==mxUtils.getValue(f.style,mxConstants.STYLE_HORIZONTAL,1)?new mxPoint(u.getCenterX(),u.y+Math.max(0,Math.min(u.height,A))):new mxPoint(u.x+Math.max(0,Math.min(u.width,A)),u.getCenterY())},function(u,A){f.style[mxConstants.STYLE_STARTSIZE]=1==mxUtils.getValue(this.state.style,mxConstants.STYLE_HORIZONTAL,1)?Math.round(Math.max(0,Math.min(u.height,A.y-u.y))):Math.round(Math.max(0,Math.min(u.width,A.x-u.x)))},!1,null,function(u){var A=
+f.view.graph;if(!mxEvent.isShiftDown(u.getEvent())&&!mxEvent.isControlDown(u.getEvent())&&(A.isTableRow(f.cell)||A.isTableCell(f.cell))){u=A.getSwimlaneDirection(f.style);var F=A.model.getParent(f.cell);F=A.model.getChildCells(F,!0);for(var H=[],da=0;da<F.length;da++)F[da]!=f.cell&&A.isSwimlane(F[da])&&A.getSwimlaneDirection(A.getCurrentCellStyle(F[da]))==u&&H.push(F[da]);A.setCellStyles(mxConstants.STYLE_STARTSIZE,f.style[mxConstants.STYLE_STARTSIZE],H)}}));return t},label:Eb(),ext:Eb(),rectangle:Eb(),
+triangle:Eb(),rhombus:Eb(),umlLifeline:function(f){return[nb(f,["size"],function(t){var x=Math.max(0,Math.min(t.height,parseFloat(mxUtils.getValue(this.state.style,"size",X.prototype.size))));return new mxPoint(t.getCenterX(),t.y+x)},function(t,x){this.state.style.size=Math.round(Math.max(0,Math.min(t.height,x.y-t.y)))},!1)]},umlFrame:function(f){return[nb(f,["width","height"],function(t){var x=Math.max(ha.prototype.corner,Math.min(t.width,mxUtils.getValue(this.state.style,"width",ha.prototype.width))),
+u=Math.max(1.5*ha.prototype.corner,Math.min(t.height,mxUtils.getValue(this.state.style,"height",ha.prototype.height)));return new mxPoint(t.x+x,t.y+u)},function(t,x){this.state.style.width=Math.round(Math.max(ha.prototype.corner,Math.min(t.width,x.x-t.x)));this.state.style.height=Math.round(Math.max(1.5*ha.prototype.corner,Math.min(t.height,x.y-t.y)))},!1)]},process:function(f){var t=[nb(f,["size"],function(x){var u="0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),A=parseFloat(mxUtils.getValue(this.state.style,
+"size",ja.prototype.size));return u?new mxPoint(x.x+A,x.y+x.height/4):new mxPoint(x.x+x.width*A,x.y+x.height/4)},function(x,u){x="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(.5*x.width,u.x-x.x)):Math.max(0,Math.min(.5,(u.x-x.x)/x.width));this.state.style.size=x},!1)];mxUtils.getValue(f.style,mxConstants.STYLE_ROUNDED,!1)&&t.push(Ab(f));return t},cross:function(f){return[nb(f,["size"],function(t){var x=Math.min(t.width,t.height);x=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,
+"size",xa.prototype.size)))*x/2;return new mxPoint(t.getCenterX()-x,t.getCenterY()-x)},function(t,x){var u=Math.min(t.width,t.height);this.state.style.size=Math.max(0,Math.min(1,Math.min(Math.max(0,t.getCenterY()-x.y)/u*2,Math.max(0,t.getCenterX()-x.x)/u*2)))})]},note:function(f){return[nb(f,["size"],function(t){var x=Math.max(0,Math.min(t.width,Math.min(t.height,parseFloat(mxUtils.getValue(this.state.style,"size",D.prototype.size)))));return new mxPoint(t.x+t.width-x,t.y+x)},function(t,x){this.state.style.size=
+Math.round(Math.max(0,Math.min(Math.min(t.width,t.x+t.width-x.x),Math.min(t.height,x.y-t.y))))})]},note2:function(f){return[nb(f,["size"],function(t){var x=Math.max(0,Math.min(t.width,Math.min(t.height,parseFloat(mxUtils.getValue(this.state.style,"size",Q.prototype.size)))));return new mxPoint(t.x+t.width-x,t.y+x)},function(t,x){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(t.width,t.x+t.width-x.x),Math.min(t.height,x.y-t.y))))})]},manualInput:function(f){var t=[nb(f,["size"],function(x){var u=
+Math.max(0,Math.min(x.height,mxUtils.getValue(this.state.style,"size",Ta.prototype.size)));return new mxPoint(x.x+x.width/4,x.y+3*u/4)},function(x,u){this.state.style.size=Math.round(Math.max(0,Math.min(x.height,4*(u.y-x.y)/3)))},!1)];mxUtils.getValue(f.style,mxConstants.STYLE_ROUNDED,!1)&&t.push(Ab(f));return t},dataStorage:function(f){return[nb(f,["size"],function(t){var x="0"!=mxUtils.getValue(this.state.style,"fixedSize","0"),u=parseFloat(mxUtils.getValue(this.state.style,"size",x?Ba.prototype.fixedSize:
+Ba.prototype.size));return new mxPoint(t.x+t.width-u*(x?1:t.width),t.getCenterY())},function(t,x){t="0"!=mxUtils.getValue(this.state.style,"fixedSize","0")?Math.max(0,Math.min(t.width,t.x+t.width-x.x)):Math.max(0,Math.min(1,(t.x+t.width-x.x)/t.width));this.state.style.size=t},!1)]},callout:function(f){var t=[nb(f,["size","position"],function(x){var u=Math.max(0,Math.min(x.height,mxUtils.getValue(this.state.style,"size",ka.prototype.size))),A=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,
+"position",ka.prototype.position)));mxUtils.getValue(this.state.style,"base",ka.prototype.base);return new mxPoint(x.x+A*x.width,x.y+x.height-u)},function(x,u){mxUtils.getValue(this.state.style,"base",ka.prototype.base);this.state.style.size=Math.round(Math.max(0,Math.min(x.height,x.y+x.height-u.y)));this.state.style.position=Math.round(100*Math.max(0,Math.min(1,(u.x-x.x)/x.width)))/100},!1),nb(f,["position2"],function(x){var u=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position2",ka.prototype.position2)));
+return new mxPoint(x.x+u*x.width,x.y+x.height)},function(x,u){this.state.style.position2=Math.round(100*Math.max(0,Math.min(1,(u.x-x.x)/x.width)))/100},!1),nb(f,["base"],function(x){var u=Math.max(0,Math.min(x.height,mxUtils.getValue(this.state.style,"size",ka.prototype.size))),A=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",ka.prototype.position))),F=Math.max(0,Math.min(x.width,mxUtils.getValue(this.state.style,"base",ka.prototype.base)));return new mxPoint(x.x+Math.min(x.width,
+A*x.width+F),x.y+x.height-u)},function(x,u){var A=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"position",ka.prototype.position)));this.state.style.base=Math.round(Math.max(0,Math.min(x.width,u.x-x.x-A*x.width)))},!1)];mxUtils.getValue(f.style,mxConstants.STYLE_ROUNDED,!1)&&t.push(Ab(f));return t},internalStorage:function(f){var t=[nb(f,["dx","dy"],function(x){var u=Math.max(0,Math.min(x.width,mxUtils.getValue(this.state.style,"dx",La.prototype.dx))),A=Math.max(0,Math.min(x.height,mxUtils.getValue(this.state.style,
+"dy",La.prototype.dy)));return new mxPoint(x.x+u,x.y+A)},function(x,u){this.state.style.dx=Math.round(Math.max(0,Math.min(x.width,u.x-x.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(x.height,u.y-x.y)))},!1)];mxUtils.getValue(f.style,mxConstants.STYLE_ROUNDED,!1)&&t.push(Ab(f));return t},module:function(f){return[nb(f,["jettyWidth","jettyHeight"],function(t){var x=Math.max(0,Math.min(t.width,mxUtils.getValue(this.state.style,"jettyWidth",za.prototype.jettyWidth))),u=Math.max(0,Math.min(t.height,
+mxUtils.getValue(this.state.style,"jettyHeight",za.prototype.jettyHeight)));return new mxPoint(t.x+x/2,t.y+2*u)},function(t,x){this.state.style.jettyWidth=Math.round(2*Math.max(0,Math.min(t.width,x.x-t.x)));this.state.style.jettyHeight=Math.round(Math.max(0,Math.min(t.height,x.y-t.y))/2)})]},corner:function(f){return[nb(f,["dx","dy"],function(t){var x=Math.max(0,Math.min(t.width,mxUtils.getValue(this.state.style,"dx",Ca.prototype.dx))),u=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,
+"dy",Ca.prototype.dy)));return new mxPoint(t.x+x,t.y+u)},function(t,x){this.state.style.dx=Math.round(Math.max(0,Math.min(t.width,x.x-t.x)));this.state.style.dy=Math.round(Math.max(0,Math.min(t.height,x.y-t.y)))},!1)]},tee:function(f){return[nb(f,["dx","dy"],function(t){var x=Math.max(0,Math.min(t.width,mxUtils.getValue(this.state.style,"dx",Ka.prototype.dx))),u=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"dy",Ka.prototype.dy)));return new mxPoint(t.x+(t.width+x)/2,t.y+u)},function(t,
+x){this.state.style.dx=Math.round(Math.max(0,2*Math.min(t.width/2,x.x-t.x-t.width/2)));this.state.style.dy=Math.round(Math.max(0,Math.min(t.height,x.y-t.y)))},!1)]},singleArrow:xb(1),doubleArrow:xb(.5),"mxgraph.arrows2.wedgeArrow":tb(20,20),"mxgraph.arrows2.wedgeArrowDashed":tb(20,20),"mxgraph.arrows2.wedgeArrowDashed2":tb(20,20),folder:function(f){return[nb(f,["tabWidth","tabHeight"],function(t){var x=Math.max(0,Math.min(t.width,mxUtils.getValue(this.state.style,"tabWidth",p.prototype.tabWidth))),
+u=Math.max(0,Math.min(t.height,mxUtils.getValue(this.state.style,"tabHeight",p.prototype.tabHeight)));mxUtils.getValue(this.state.style,"tabPosition",p.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(x=t.width-x);return new mxPoint(t.x+x,t.y+u)},function(t,x){var u=Math.max(0,Math.min(t.width,x.x-t.x));mxUtils.getValue(this.state.style,"tabPosition",p.prototype.tabPosition)==mxConstants.ALIGN_RIGHT&&(u=t.width-u);this.state.style.tabWidth=Math.round(u);this.state.style.tabHeight=Math.round(Math.max(0,
+Math.min(t.height,x.y-t.y)))},!1)]},document:function(f){return[nb(f,["size"],function(t){var x=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",K.prototype.size))));return new mxPoint(t.x+3*t.width/4,t.y+(1-x)*t.height)},function(t,x){this.state.style.size=Math.max(0,Math.min(1,(t.y+t.height-x.y)/t.height))},!1)]},tape:function(f){return[nb(f,["size"],function(t){var x=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",I.prototype.size))));return new mxPoint(t.getCenterX(),
+t.y+x*t.height/2)},function(t,x){this.state.style.size=Math.max(0,Math.min(1,(x.y-t.y)/t.height*2))},!1)]},isoCube2:function(f){return[nb(f,["isoAngle"],function(t){var x=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.state.style,"isoAngle",N.isoAngle))))*Math.PI/200;return new mxPoint(t.x,t.y+Math.min(t.width*Math.tan(x),.5*t.height))},function(t,x){this.state.style.isoAngle=Math.max(0,50*(x.y-t.y)/t.height)},!0)]},cylinder2:Gb(c.prototype.size),cylinder3:Gb(g.prototype.size),offPageConnector:function(f){return[nb(f,
+["size"],function(t){var x=Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.state.style,"size",Aa.prototype.size))));return new mxPoint(t.getCenterX(),t.y+(1-x)*t.height)},function(t,x){this.state.style.size=Math.max(0,Math.min(1,(t.y+t.height-x.y)/t.height))},!1)]},"mxgraph.basic.rect":function(f){var t=[Graph.createHandle(f,["size"],function(x){var u=Math.max(0,Math.min(x.width/2,x.height/2,parseFloat(mxUtils.getValue(this.state.style,"size",this.size))));return new mxPoint(x.x+u,x.y+u)},
+function(x,u){this.state.style.size=Math.round(100*Math.max(0,Math.min(x.height/2,x.width/2,u.x-x.x)))/100})];f=Graph.createHandle(f,["indent"],function(x){var u=Math.max(0,Math.min(100,parseFloat(mxUtils.getValue(this.state.style,"indent",this.dx2))));return new mxPoint(x.x+.75*x.width,x.y+u*x.height/200)},function(x,u){this.state.style.indent=Math.round(100*Math.max(0,Math.min(100,200*(u.y-x.y)/x.height)))/100});t.push(f);return t},curvedText:function(f){var t=function(x){return(null!=x.shape?x.shape._curveYOffset:
+0)||0};return[nb(f,["arcStartY"],function(x){var u=parseFloat(mxUtils.getValue(this.state.style,"arcStartY",gb.prototype.arcStartY)),A=t(this.state);return new mxPoint(x.x+10,x.y+Math.max(0,Math.min(x.height,u+A)))},function(x,u){var A=t(this.state);this.state.style.arcStartY=Math.round(Math.max(0,Math.min(x.height,u.y-x.y))-A)},!1),nb(f,["arcMidY"],function(x){var u=parseFloat(mxUtils.getValue(this.state.style,"arcStartY",gb.prototype.arcStartY)),A=parseFloat(mxUtils.getValue(this.state.style,"arcEndY",
+gb.prototype.arcEndY)),F=parseFloat(mxUtils.getValue(this.state.style,"arcMidY",gb.prototype.arcMidY));u=(u+A)/2;A=t(this.state);return new mxPoint(x.x+x.width/2+10,x.y+Math.max(0,Math.min(x.height,u+F+A)))},function(x,u){var A=parseFloat(mxUtils.getValue(this.state.style,"arcStartY",gb.prototype.arcStartY)),F=parseFloat(mxUtils.getValue(this.state.style,"arcEndY",gb.prototype.arcEndY));A=(A+F)/2;F=t(this.state);var H=Math.max(Math.abs(gb.prototype.arcMidY),Math.min(A,x.height-A));this.state.style.arcMidY=
+Math.round(Math.max(-H,Math.min(H,u.y-x.y-F-A)))},!1),nb(f,["arcEndY"],function(x){var u=parseFloat(mxUtils.getValue(this.state.style,"arcEndY",gb.prototype.arcEndY)),A=t(this.state);return new mxPoint(x.x+x.width-10,x.y+Math.max(0,Math.min(x.height,u+A)))},function(x,u){var A=t(this.state);this.state.style.arcEndY=Math.round(Math.max(0,Math.min(x.height,u.y-x.y))-A)},!1)]},step:Db(pa.prototype.size,!0,null,!0,pa.prototype.fixedSize),hexagon:Db(ba.prototype.size,!0,.5,!0,ba.prototype.fixedSize),curlyBracket:Db(M.prototype.size,
+!1),display:Db(va.prototype.size,!1),cube:yb(1,n.prototype.size,!1),card:yb(.5,E.prototype.size,!0),loopLimit:yb(.5,sa.prototype.size,!0),trapezoid:Hb(.5,W.prototype.size,W.prototype.fixedSize),parallelogram:Hb(1,R.prototype.size,R.prototype.fixedSize),zigzag:function(f){return[nb(f,["size"],function(t){var x=Math.max(5,parseFloat(mxUtils.getValue(this.state.style,"size",ab.prototype.size)));return new mxPoint(t.x+3*x,t.y)},function(t,x){this.state.style.size=Math.max(5,Math.round((x.x-t.x)/3))},
+!1)]}};Graph.createHandle=nb;Graph.handleFactory=Cb;var Jb=mxVertexHandler.prototype.createCustomHandles;mxVertexHandler.prototype.createCustomHandles=function(){var f=Jb.apply(this,arguments);if(this.graph.isCellRotatable(this.state.cell)){var t=this.state.style.shape;null==mxCellRenderer.defaultShapes[t]&&null==mxStencilRegistry.getStencil(t)?t=mxConstants.SHAPE_RECTANGLE:this.state.view.graph.isSwimlane(this.state.cell)&&(t=mxConstants.SHAPE_SWIMLANE);t=Cb[t];null==t&&null!=this.state.shape&&this.state.shape.isRoundable()&&
+(t=Cb[mxConstants.SHAPE_RECTANGLE]);null!=t&&(t=t(this.state),null!=t&&(f=null==f?t:f.concat(t)))}return f};mxEdgeHandler.prototype.createCustomHandles=function(){var f=this.state.style.shape;null==mxCellRenderer.defaultShapes[f]&&null==mxStencilRegistry.getStencil(f)&&(f=mxConstants.SHAPE_CONNECTOR);f=Cb[f];return null!=f?f(this.state):null}}else Graph.createHandle=function(){},Graph.handleFactory={};var Kb=Graph.prototype.getPreferredSizeForCell;Graph.prototype.getPreferredSizeForCell=function(f,
+t,x){var u=this.getCellStyle(f);if(null!=u&&"curvedText"==u[mxConstants.STYLE_SHAPE]){var A=this.convertValueToString(f);if(null!=A&&0<A.length){var F=parseFloat(mxUtils.getValue(u,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE)),H=mxUtils.getValue(u,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY);u=mxUtils.getValue(u,mxConstants.STYLE_FONTSTYLE,0);A=.85*mxUtils.getSizeForString(A,F,H,null,u).width;H=this.model.getGeometry(f);H=null!=H?H.height:60;(x=null!=x?x:this.gridEnabled)&&
+(A=this.snap(A+this.gridSize/2));return new mxRectangle(0,0,Math.max(A,2*F)+10,H)}return null}return Kb.apply(this,arguments)};var pb=mxCellRenderer.prototype.checkPlaceholderStyles;mxCellRenderer.prototype.checkPlaceholderStyles=function(f){return null!=f.style&&"curvedText"==f.style[mxConstants.STYLE_SHAPE]?!0:pb.apply(this,arguments)};if("undefined"!==typeof mxCellEditor){var Fb=mxCellEditor.prototype.startEditing;mxCellEditor.prototype.startEditing=function(f,t){Fb.apply(this,arguments);var x=
+this.graph.view.getState(f);null!=x&&null!=x.style&&"curvedText"==x.style[mxConstants.STYLE_SHAPE]&&null!=x.shape&&x.shape.redraw()};var wb=mxCellEditor.prototype.stopEditing;mxCellEditor.prototype.stopEditing=function(f){var t=this.editingCell;wb.apply(this,arguments);null!=t&&(t=this.graph.view.getState(t),null!=t&&null!=t.style&&"curvedText"==t.style[mxConstants.STYLE_SHAPE]&&null!=t.shape&&t.shape.redraw())}}var Bb=new mxPoint(1,0),zb=new mxPoint(1,0),ub=mxUtils.toRadians(-30);Bb=mxUtils.getRotatedPoint(Bb,
+Math.cos(ub),Math.sin(ub));var Ib=mxUtils.toRadians(-150);zb=mxUtils.getRotatedPoint(zb,Math.cos(Ib),Math.sin(Ib));mxEdgeStyle.IsometricConnector=function(f,t,x,u,A){var F=f.view;u=null!=u&&0<u.length?u[0]:null;var H=f.absolutePoints,da=H[0];H=H[H.length-1];null!=u&&(u=F.transformControlPoint(f,u));null==da&&null!=t&&(da=new mxPoint(t.getCenterX(),t.getCenterY()));null==H&&null!=x&&(H=new mxPoint(x.getCenterX(),x.getCenterY()));var O=Bb.x,ua=Bb.y,na=zb.x,Ua=zb.y,hb="horizontal"==mxUtils.getValue(f.style,
+"elbow","horizontal");if(null!=H&&null!=da){f=function(Ea,Ha,Ja){Ea-=$a.x;var Ma=Ha-$a.y;Ha=(Ua*Ea-na*Ma)/(O*Ua-ua*na);Ea=(ua*Ea-O*Ma)/(ua*na-O*Ua);hb?(Ja&&($a=new mxPoint($a.x+O*Ha,$a.y+ua*Ha),A.push($a)),$a=new mxPoint($a.x+na*Ea,$a.y+Ua*Ea)):(Ja&&($a=new mxPoint($a.x+na*Ea,$a.y+Ua*Ea),A.push($a)),$a=new mxPoint($a.x+O*Ha,$a.y+ua*Ha));A.push($a)};var $a=da;null==u&&(u=new mxPoint(da.x+(H.x-da.x)/2,da.y+(H.y-da.y)/2));f(u.x,u.y,!0);f(H.x,H.y,!1)}};mxStyleRegistry.putValue("isometricEdgeStyle",mxEdgeStyle.IsometricConnector);
+var Mb=Graph.prototype.createEdgeHandler;Graph.prototype.createEdgeHandler=function(f,t){if(t==mxEdgeStyle.IsometricConnector){var x=new mxElbowEdgeHandler(f);x.snapToTerminals=!1;return x}return Mb.apply(this,arguments)};C.prototype.constraints=[];G.prototype.getConstraints=function(f,t,x){f=[];var u=Math.tan(mxUtils.toRadians(30)),A=(.5-u)/2;u=Math.min(t,x/(.5+u));t=(t-u)/2;x=(x-u)/2;f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,x+.25*u));f.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,t+.5*u,x+u*A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t+u,x+.25*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t+u,x+.75*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t+.5*u,x+(1-A)*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,x+.75*u));return f};N.prototype.getConstraints=function(f,t,x){f=[];var u=Math.max(.01,Math.min(94,parseFloat(mxUtils.getValue(this.style,"isoAngle",this.isoAngle))))*Math.PI/200;u=Math.min(t*
+Math.tan(u),.5*x);f.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,u));f.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,x-u));f.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,x-u));f.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,
+0,u));return f};ka.prototype.getConstraints=function(f,t,x){f=[];mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE);var u=Math.max(0,Math.min(x,parseFloat(mxUtils.getValue(this.style,"size",this.size))));parseFloat(mxUtils.getValue(this.style,"position",this.position));var A=t*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"position2",this.position2))));parseFloat(mxUtils.getValue(this.style,"base",this.base));f.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1));f.push(new mxConnectionConstraint(new mxPoint(.25,0),!1));f.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));f.push(new mxConnectionConstraint(new mxPoint(.75,0),!1));f.push(new mxConnectionConstraint(new mxPoint(1,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,.5*(x-u)));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,x-u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,
+x-u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(x-u)));t>=2*u&&f.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return f};mxRectangleShape.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!0),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,
+.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0)];mxEllipse.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,
+0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(0,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(1,.5))];ia.prototype.constraints=mxRectangleShape.prototype.constraints;mxImageShape.prototype.constraints=mxRectangleShape.prototype.constraints;mxSwimlane.prototype.constraints=
+mxRectangleShape.prototype.constraints;l.prototype.constraints=mxRectangleShape.prototype.constraints;mxLabel.prototype.constraints=mxRectangleShape.prototype.constraints;D.prototype.getConstraints=function(f,t,x){f=[];var u=Math.max(0,Math.min(t,Math.min(x,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t-u),0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,
+null,t-u,0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-.5*u,.5*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,.5*(x+u)));f.push(new mxConnectionConstraint(new mxPoint(1,1),!1));f.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));f.push(new mxConnectionConstraint(new mxPoint(0,1),!1));f.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));t>=2*u&&f.push(new mxConnectionConstraint(new mxPoint(.5,
+0),!1));return f};E.prototype.getConstraints=function(f,t,x){f=[];var u=Math.max(0,Math.min(t,Math.min(x,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));f.push(new mxConnectionConstraint(new mxPoint(1,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t+u),0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,u,0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*u,.5*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,u));f.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,0,.5*(x+u)));f.push(new mxConnectionConstraint(new mxPoint(0,1),!1));f.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));f.push(new mxConnectionConstraint(new mxPoint(1,1),!1));f.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));t>=2*u&&f.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));return f};n.prototype.getConstraints=function(f,t,x){f=[];var u=Math.max(0,Math.min(t,Math.min(x,parseFloat(mxUtils.getValue(this.style,"size",this.size)))));f.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t-u),0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-u,0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-.5*u,.5*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,.5*(x+u)));f.push(new mxConnectionConstraint(new mxPoint(1,1),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t+u),x));f.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,u,x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*u,x-.5*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,x-u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(x-u)));return f};g.prototype.getConstraints=function(f,t,x){f=[];t=Math.max(0,Math.min(x,parseFloat(mxUtils.getValue(this.style,"size",this.size))));f.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(.5,
+1),!1));f.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t));f.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,t));f.push(new mxConnectionConstraint(new mxPoint(1,1),!1,null,0,-t));f.push(new mxConnectionConstraint(new mxPoint(0,1),!1,null,0,-t));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,t+.5*(.5*x-t)));f.push(new mxConnectionConstraint(new mxPoint(1,0),!1,null,0,t+.5*(.5*x-t)));f.push(new mxConnectionConstraint(new mxPoint(1,
+0),!1,null,0,x-t-.5*(.5*x-t)));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,x-t-.5*(.5*x-t)));f.push(new mxConnectionConstraint(new mxPoint(.145,0),!1,null,0,.29*t));f.push(new mxConnectionConstraint(new mxPoint(.855,0),!1,null,0,.29*t));f.push(new mxConnectionConstraint(new mxPoint(.855,1),!1,null,0,.29*-t));f.push(new mxConnectionConstraint(new mxPoint(.145,1),!1,null,0,.29*-t));return f};p.prototype.getConstraints=function(f,t,x){f=[];var u=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,
+"tabWidth",this.tabWidth)))),A=Math.max(0,Math.min(x,parseFloat(mxUtils.getValue(this.style,"tabHeight",this.tabHeight))));"left"==mxUtils.getValue(this.style,"tabPosition",this.tabPosition)?(f.push(new mxConnectionConstraint(new mxPoint(0,0),!1)),f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*u,0)),f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,u,0)),f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,u,A)),f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,
+.5*(t+u),A))):(f.push(new mxConnectionConstraint(new mxPoint(1,0),!1)),f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-.5*u,0)),f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-u,0)),f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-u,A)),f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t-u),A)));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,.25*(x-A)+A));f.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,t,.5*(x-A)+A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,.75*(x-A)+A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.25*(x-A)+A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*(x-A)+A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.75*(x-A)+A));f.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,0,x));f.push(new mxConnectionConstraint(new mxPoint(.25,1),!1));f.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));f.push(new mxConnectionConstraint(new mxPoint(.75,1),!1));return f};La.prototype.constraints=mxRectangleShape.prototype.constraints;Ba.prototype.constraints=mxRectangleShape.prototype.constraints;Na.prototype.constraints=mxEllipse.prototype.constraints;bb.prototype.constraints=mxEllipse.prototype.constraints;z.prototype.constraints=mxEllipse.prototype.constraints;ma.prototype.constraints=
+mxEllipse.prototype.constraints;Ta.prototype.constraints=mxRectangleShape.prototype.constraints;qa.prototype.constraints=mxRectangleShape.prototype.constraints;va.prototype.getConstraints=function(f,t,x){f=[];var u=Math.min(t,x/2),A=Math.min(t-u,Math.max(0,parseFloat(mxUtils.getValue(this.style,"size",this.size)))*t);f.push(new mxConnectionConstraint(new mxPoint(0,.5),!1,null));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,
+.5*(A+t-u),0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-u,0));f.push(new mxConnectionConstraint(new mxPoint(1,.5),!1,null));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-u,x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(A+t-u),x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,x));return f};za.prototype.getConstraints=function(f,t,x){t=parseFloat(mxUtils.getValue(f,"jettyWidth",za.prototype.jettyWidth))/2;f=parseFloat(mxUtils.getValue(f,
+"jettyHeight",za.prototype.jettyHeight));var u=[new mxConnectionConstraint(new mxPoint(0,0),!1,null,t),new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(1,0),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(0,1),!1,null,
+t),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(1,1),!0),new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,Math.min(x-.5*f,1.5*f)),new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,Math.min(x-.5*f,3.5*f))];x>5*f&&u.push(new mxConnectionConstraint(new mxPoint(0,.75),!1,null,t));x>8*f&&u.push(new mxConnectionConstraint(new mxPoint(0,.5),!1,null,t));x>
+15*f&&u.push(new mxConnectionConstraint(new mxPoint(0,.25),!1,null,t));return u};sa.prototype.constraints=mxRectangleShape.prototype.constraints;Aa.prototype.constraints=mxRectangleShape.prototype.constraints;mxCylinder.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.15,.05),!1),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.85,.05),!1),new mxConnectionConstraint(new mxPoint(0,.3),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,
+.7),!0),new mxConnectionConstraint(new mxPoint(1,.3),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.7),!0),new mxConnectionConstraint(new mxPoint(.15,.95),!1),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.85,.95),!1)];L.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,.1),!1),new mxConnectionConstraint(new mxPoint(.5,0),!1),new mxConnectionConstraint(new mxPoint(.75,.1),!1),new mxConnectionConstraint(new mxPoint(0,
+1/3),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(1,1/3),!1),new mxConnectionConstraint(new mxPoint(1,1),!1),new mxConnectionConstraint(new mxPoint(.5,.5),!1)];Ga.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(0,.3),!0),new mxConnectionConstraint(new mxPoint(0,.7),!0),new mxConnectionConstraint(new mxPoint(1,
+.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];mxActor.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.25,.2),!1),new mxConnectionConstraint(new mxPoint(.1,.5),!1),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(.75,
+.25),!1),new mxConnectionConstraint(new mxPoint(.9,.5),!1),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0)];k.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(.5,.25),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,
+.5),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(.5,.75),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];I.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.35),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,.65),!1),new mxConnectionConstraint(new mxPoint(1,.35),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,.65),!1),new mxConnectionConstraint(new mxPoint(.25,
+1),!1),new mxConnectionConstraint(new mxPoint(.75,0),!1)];pa.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,0),!0),new mxConnectionConstraint(new mxPoint(.25,1),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.75,1),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,
+.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxLine.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];la.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.5,0),!1),new mxConnectionConstraint(new mxPoint(.5,
+1),!1)];mxDoubleEllipse.prototype.constraints=mxEllipse.prototype.constraints;mxRhombus.prototype.constraints=mxEllipse.prototype.constraints;mxTriangle.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0)];mxHexagon.prototype.constraints=
+[new mxConnectionConstraint(new mxPoint(.375,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.625,0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0),new mxConnectionConstraint(new mxPoint(.375,1),!0),
+new mxConnectionConstraint(new mxPoint(.5,1),!0),new mxConnectionConstraint(new mxPoint(.625,1),!0)];mxCloud.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,.25),!1),new mxConnectionConstraint(new mxPoint(.4,.1),!1),new mxConnectionConstraint(new mxPoint(.16,.55),!1),new mxConnectionConstraint(new mxPoint(.07,.4),!1),new mxConnectionConstraint(new mxPoint(.31,.8),!1),new mxConnectionConstraint(new mxPoint(.13,.77),!1),new mxConnectionConstraint(new mxPoint(.8,.8),!1),new mxConnectionConstraint(new mxPoint(.55,
+.95),!1),new mxConnectionConstraint(new mxPoint(.875,.5),!1),new mxConnectionConstraint(new mxPoint(.96,.7),!1),new mxConnectionConstraint(new mxPoint(.625,.2),!1),new mxConnectionConstraint(new mxPoint(.88,.25),!1)];R.prototype.constraints=mxRectangleShape.prototype.constraints;W.prototype.constraints=mxRectangleShape.prototype.constraints;K.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.25,0),!0),new mxConnectionConstraint(new mxPoint(.5,0),!0),new mxConnectionConstraint(new mxPoint(.75,
+0),!0),new mxConnectionConstraint(new mxPoint(0,.25),!0),new mxConnectionConstraint(new mxPoint(0,.5),!0),new mxConnectionConstraint(new mxPoint(0,.75),!0),new mxConnectionConstraint(new mxPoint(1,.25),!0),new mxConnectionConstraint(new mxPoint(1,.5),!0),new mxConnectionConstraint(new mxPoint(1,.75),!0)];mxArrow.prototype.constraints=null;Ka.prototype.getConstraints=function(f,t,x){f=[];var u=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),A=Math.max(0,Math.min(x,parseFloat(mxUtils.getValue(this.style,
+"dy",this.dy))));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1));f.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));f.push(new mxConnectionConstraint(new mxPoint(1,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,.5*A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.75*t+.25*u,A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t+u),A));f.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,.5*(t+u),.5*(x+A)));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t+u),x));f.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t-u),x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t-u),.5*(x+A)));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t-u),A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.25*t-.25*u,A));f.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,0,A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,.5*A));return f};Ca.prototype.getConstraints=function(f,t,x){f=[];var u=Math.max(0,Math.min(t,parseFloat(mxUtils.getValue(this.style,"dx",this.dx)))),A=Math.max(0,Math.min(x,parseFloat(mxUtils.getValue(this.style,"dy",this.dy))));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1));f.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));f.push(new mxConnectionConstraint(new mxPoint(1,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,t,.5*A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t+u),A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,u,A));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,u,.5*(x+A)));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,u,x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*u,x));f.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,
+1),!1));return f};Ra.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,0),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,1),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.5,.5),!1),new mxConnectionConstraint(new mxPoint(.75,.5),!1),new mxConnectionConstraint(new mxPoint(1,0),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(1,1),!1)];cb.prototype.getConstraints=
+function(f,t,x){f=[];var u=x*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",this.arrowWidth)))),A=t*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",this.arrowSize))));u=(x-u)/2;f.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t-A),u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-A,0));f.push(new mxConnectionConstraint(new mxPoint(1,
+.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-A,x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t-A),x-u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,x-u));return f};Pa.prototype.getConstraints=function(f,t,x){f=[];var u=x*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowWidth",cb.prototype.arrowWidth)))),A=t*Math.max(0,Math.min(1,parseFloat(mxUtils.getValue(this.style,"arrowSize",cb.prototype.arrowSize))));u=(x-u)/2;f.push(new mxConnectionConstraint(new mxPoint(0,
+.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*t,u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-A,0));f.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t-A,x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*t,x-u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,x));return f};xa.prototype.getConstraints=
+function(f,t,x){f=[];var u=Math.min(x,t),A=Math.max(0,Math.min(u,u*parseFloat(mxUtils.getValue(this.style,"size",this.size))));u=(x-A)/2;var F=u+A,H=(t-A)/2;A=H+A;f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,H,.5*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,H,0));f.push(new mxConnectionConstraint(new mxPoint(.5,0),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,0));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,.5*u));f.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,A,u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,H,x-.5*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,H,x));f.push(new mxConnectionConstraint(new mxPoint(.5,1),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,x));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,x-.5*u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,A,F));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t+A),u));f.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,t,u));f.push(new mxConnectionConstraint(new mxPoint(1,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,t,F));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*(t+A),F));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,H,F));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*H,u));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,0,u));f.push(new mxConnectionConstraint(new mxPoint(0,.5),!1));f.push(new mxConnectionConstraint(new mxPoint(0,
+0),!1,null,0,F));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,.5*H,F));f.push(new mxConnectionConstraint(new mxPoint(0,0),!1,null,H,u));return f};X.prototype.constraints=null;Ia.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.25),!1),new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(0,.75),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(.7,.1),!1),new mxConnectionConstraint(new mxPoint(.7,
+.9),!1)];Ya.prototype.constraints=[new mxConnectionConstraint(new mxPoint(.175,.25),!1),new mxConnectionConstraint(new mxPoint(.25,.5),!1),new mxConnectionConstraint(new mxPoint(.175,.75),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1),new mxConnectionConstraint(new mxPoint(.7,.1),!1),new mxConnectionConstraint(new mxPoint(.7,.9),!1)];ra.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)];ta.prototype.constraints=[new mxConnectionConstraint(new mxPoint(0,
+.5),!1),new mxConnectionConstraint(new mxPoint(1,.5),!1)]})();function Actions(b){this.editorUi=b;this.actions={};this.init()}
Actions.prototype.init=function(){function b(D){q.escape();D=q.deleteCells(q.getDeletableCells(q.getSelectionCells()),D);null!=D&&q.setSelectionCells(D)}function d(){if(!q.isSelectionEmpty()){q.getModel().beginUpdate();try{for(var D=q.getSelectionCells(),Q=0;Q<D.length;Q++)q.cellLabelChanged(D[Q],"")}finally{q.getModel().endUpdate()}}}function m(D,Q,N,c,g){g.getModel().beginUpdate();try{var k=g.getCellGeometry(D);null!=k&&N&&c&&(N/=c,k=k.clone(),1<N?k.height=k.width/N:k.width=k.height*N,g.getModel().setGeometry(D,
k));g.setCellStyles(mxConstants.STYLE_CLIP_PATH,Q,[D]);g.setCellStyles(mxConstants.STYLE_ASPECT,"fixed",[D])}finally{g.getModel().endUpdate()}}var n=this.editorUi,v=n.editor,q=v.graph,C=function(){return Action.prototype.isEnabled.apply(this,arguments)&&q.isEnabled()};this.addAction("new...",function(){q.openLink(n.getUrl())});this.addAction("open...",function(){window.openNew=!0;window.openKey="open";n.openFile()});var G=new Action("smartFit",function(){if(n.chromelessResize)q.isLightboxView()?(1==
q.view.scale?n.lightboxFit():q.zoomTo(1),n.chromelessResize(!1)):n.chromelessResize(!0);else{q.popupMenuHandler.hideMenu();var D=q.view.scale,Q=q.container.scrollLeft,N=q.container.scrollTop,c=q.view.translate.x,g=q.view.translate.y;n.actions.get("resetView").funct();1E-5>Math.abs(D-q.view.scale)&&5>Math.abs(Q-q.container.scrollLeft)&&5>Math.abs(N-q.container.scrollTop)&&c==q.view.translate.x&&g==q.view.translate.y&&n.actions.get("fitWindow").funct()}},null,null,"Enter");G.getTitle=function(){return mxResources.get("fitWindow")+
@@ -3680,7 +3681,7 @@ function(){try{l.hideDialog(),aa(!1)}catch(ia){l.handleError(ia)}}),X.className=
"dark"):(T.classList.remove("geDarkMode"),T.style.colorScheme="light")};l.addListener("darkModeChanged",U);U();var Y=function(ia,ma){ia=ma.getProperty("dialog");T.parentNode==ia.container&&(l.editor.removeListener(Y),l.removeListener(U))};l.editor.addListener("hideDialog",Y)}this.container=T};var ba=ChangePageSetup.prototype.execute;ChangePageSetup.prototype.execute=function(){null==this.page&&(this.page=this.ui.currentPage);if(this.page!=this.ui.currentPage){if(null!=this.page.viewState){this.ignoreColor||
(this.page.viewState.background=this.color);if(!this.ignoreImage){var l=this.image;null!=l&&null!=l.src&&Graph.isPageLink(l.src)&&(l={originalSrc:l.src});this.page.viewState.backgroundImage=l}null!=this.format&&(this.page.viewState.pageFormat=this.format);null!=this.mathEnabled&&(this.page.viewState.mathEnabled=this.mathEnabled);null!=this.adaptiveColors&&(this.page.viewState.adaptiveColors=this.adaptiveColors);null!=this.shadowVisible&&(this.page.viewState.shadowVisible=this.shadowVisible)}}else ba.apply(this,
arguments),null!=this.mathEnabled&&this.mathEnabled!=this.ui.isMathEnabled()&&(this.ui.setMathEnabled(this.mathEnabled),this.mathEnabled=!this.mathEnabled),null!=this.adaptiveColors&&this.adaptiveColors!=this.ui.editor.graph.adaptiveColors&&(l=this.ui.editor.graph.adaptiveColors,this.ui.setAdaptiveColors(this.adaptiveColors),this.adaptiveColors=null!=l?l:"default"),null!=this.shadowVisible&&this.shadowVisible!=this.ui.editor.graph.shadowVisible&&(this.ui.editor.graph.setShadowVisible(this.shadowVisible),
-this.shadowVisible=!this.shadowVisible)}})();(function(){EditorUi.VERSION="29.7.11";EditorUi.compactUi="atlas"!=Editor.currentTheme||window.DRAWIO_PUBLIC_BUILD;Editor.isDarkMode()&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&"1"!=urlParams.lockdown&&(/.*\.draw\.io$/.test(window.location.hostname)||/.*\.diagrams\.net$/.test(window.location.hostname)||/.*\.cdn\.prod\.atlassian-dev\.net$/.test(window.location.hostname))&&"https://preprod.diagrams.net/"!=window.location.hostname&&
+this.shadowVisible=!this.shadowVisible)}})();(function(){EditorUi.VERSION="29.7.12";EditorUi.compactUi="atlas"!=Editor.currentTheme||window.DRAWIO_PUBLIC_BUILD;Editor.isDarkMode()&&(mxGraphView.prototype.gridColor=mxGraphView.prototype.defaultDarkGridColor);EditorUi.enableLogging="1"!=urlParams.stealth&&"1"!=urlParams.lockdown&&(/.*\.draw\.io$/.test(window.location.hostname)||/.*\.diagrams\.net$/.test(window.location.hostname)||/.*\.cdn\.prod\.atlassian-dev\.net$/.test(window.location.hostname))&&"https://preprod.diagrams.net/"!=window.location.hostname&&
"support.draw.io"!=window.location.hostname&&"test.draw.io"!=window.location.hostname;EditorUi.drawHost=window.DRAWIO_BASE_URL;EditorUi.lightboxHost=window.DRAWIO_LIGHTBOX_URL;EditorUi.lastErrorMessage=null;EditorUi.ignoredAnonymizedChars="\n\t`~!@#$%^&*()_+{}|:\"<>?-=[];'./,\n\t";EditorUi.templateFile=TEMPLATE_PATH+"/index.xml";EditorUi.cacheUrl=window.REALTIME_URL;null==EditorUi.cacheUrl&&"undefined"!==typeof DrawioFile&&(DrawioFile.SYNC="none");Editor.cacheTimeout=1E4;EditorUi.enablePlantUml=EditorUi.enableLogging||
"1"==urlParams.dev;EditorUi.isElectronApp=null!=window&&null!=window.process&&null!=window.process.versions&&null!=window.process.versions.electron;EditorUi.nativeFileSupport=!mxClient.IS_OP&&!EditorUi.isElectronApp&&"1"!=urlParams.extAuth&&"showSaveFilePicker"in window&&"showOpenFilePicker"in window;EditorUi.enableDrafts=!mxClient.IS_CHROMEAPP&&isLocalStorage&&"0"!=urlParams.drafts;EditorUi.scratchpadHelpLink="https://www.drawio.com/doc/faq/scratchpad";EditorUi.enableHtmlEditOption=!0;EditorUi.mermaidDiagramTypes=
"flowchart classDiagram sequenceDiagram stateDiagram mindmap graph erDiagram requirementDiagram journey gantt pie gitGraph".split(" ");EditorUi.defaultMermaidConfig={theme:"neutral",arrowMarkerAbsolute:!1,sequence:{diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,mirrorActors:!0,bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,showSequenceNumbers:!1},gantt:{useWidth:1E3,useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,
diff --git a/src/main/webapp/mxgraph/mxClient.js b/src/main/webapp/mxgraph/mxClient.js
index 62972fcdb..770e53a34 100644
--- a/src/main/webapp/mxgraph/mxClient.js
+++ b/src/main/webapp/mxgraph/mxClient.js
@@ -1,4 +1,4 @@
-var mxClient={VERSION:"29.7.11",IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),IS_OP:null!=navigator.userAgent&&(0<=navigator.userAgent.indexOf("Opera/")||0<=navigator.userAgent.indexOf("OPR/")),IS_OT:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Presto/")&&0>navigator.userAgent.indexOf("Presto/2.4.")&&0>navigator.userAgent.indexOf("Presto/2.3.")&&
+var mxClient={VERSION:"29.7.12",IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),IS_OP:null!=navigator.userAgent&&(0<=navigator.userAgent.indexOf("Opera/")||0<=navigator.userAgent.indexOf("OPR/")),IS_OT:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Presto/")&&0>navigator.userAgent.indexOf("Presto/2.4.")&&0>navigator.userAgent.indexOf("Presto/2.3.")&&
0>navigator.userAgent.indexOf("Presto/2.2.")&&0>navigator.userAgent.indexOf("Presto/2.1.")&&0>navigator.userAgent.indexOf("Presto/2.0.")&&0>navigator.userAgent.indexOf("Presto/1."),IS_SF:/Apple Computer, Inc/.test(navigator.vendor),IS_ANDROID:0<=navigator.appVersion.indexOf("Android"),IS_IOS:/iP(hone|od|ad)/.test(navigator.platform)||navigator.userAgent.match(/Mac/)&&navigator.maxTouchPoints&&2<navigator.maxTouchPoints,IS_WEBVIEW:/((iPhone|iPod|iPad).*AppleWebKit(?!.*Version)|; wv)/i.test(navigator.userAgent),
IS_GC:/Google Inc/.test(navigator.vendor),IS_CHROMEAPP:null!=window.chrome&&null!=chrome.app&&null!=chrome.app.runtime,IS_FF:-1<navigator.userAgent.toLowerCase().indexOf("firefox"),IS_MT:0<=navigator.userAgent.indexOf("Firefox/")&&0>navigator.userAgent.indexOf("Firefox/1.")&&0>navigator.userAgent.indexOf("Firefox/2.")||0<=navigator.userAgent.indexOf("Iceweasel/")&&0>navigator.userAgent.indexOf("Iceweasel/1.")&&0>navigator.userAgent.indexOf("Iceweasel/2.")||0<=navigator.userAgent.indexOf("SeaMonkey/")&&
0>navigator.userAgent.indexOf("SeaMonkey/1.")||0<=navigator.userAgent.indexOf("Iceape/")&&0>navigator.userAgent.indexOf("Iceape/1."),IS_SVG:"MICROSOFT INTERNET EXPLORER"!=navigator.appName.toUpperCase(),NO_FO:!document.createElementNS||"[object SVGForeignObjectElement]"!==document.createElementNS("http://www.w3.org/2000/svg","foreignObject").toString()||0<=navigator.userAgent.indexOf("Opera/"),IS_WIN:0<navigator.appVersion.indexOf("Win"),IS_MAC:0<navigator.appVersion.indexOf("Mac"),IS_CHROMEOS:/\bCrOS\b/.test(navigator.appVersion),
diff --git a/src/main/webapp/service-worker.js b/src/main/webapp/service-worker.js
index ee31d050b..91db5056d 100644
--- a/src/main/webapp/service-worker.js
+++ b/src/main/webapp/service-worker.js
@@ -1,2 +1,2 @@
-if(!self.define){let e,i={};const s=(s,r)=>(s=new URL(s+".js",r).href,i[s]||new Promise((i=>{if("document"in self){const e=document.createElement("script");e.src=s,e.onload=i,document.head.appendChild(e)}else e=s,importScripts(s),i()})).then((()=>{let e=i[s];if(!e)throw new Error(`Module ${s} didn’t register its module`);return e})));self.define=(r,a)=>{const c=e||("document"in self?document.currentScript.src:"")||location.href;if(i[c])return;let o={};const n=e=>s(e,c),d={module:{uri:c},exports:o,require:n};i[c]=Promise.all(r.map((e=>d[e]||n(e)))).then((e=>(a(...e),o)))}}define(["./workbox-acfd85e3"],(function(e){"use strict";self.skipWaiting(),e.precacheAndRoute([{url:"js/bootstrap.js",revision:"5bd9c052196840673b9e60ea966a9ed9"},{url:"js/main.js",revision:"a8d40469d3d72ab4b11059362f3dd825"},{url:"js/app.min.js",revision:"690b85751e5863c26c4eff819bfd1cef"},{url:"js/extensions.min.js",revision:"c4612c3f2ebbcf5cc6a4828478664fb0"},{url:"js/orgchart.min.js",revision:"619d8c4dab47b81868916df31f55478b"},{url:"js/stencils.min.js",revision:"54eda90e3b255ee094aa7b78cabc117c"},{url:"js/shapes-14-6-5.min.js",revision:"cefa54697c18c7c7e56e754473aa9816"},{url:"js/math-print.js",revision:"ad9cf0f2f2b614eac58ea72499c1017f"},{url:"index.html",revision:"9de11c65ec13b24c73ace7042bc529cc"},{url:"open.html",revision:"d71816b3b00e769fc6019fcdd6921662"},{url:"shortcuts.svg",revision:"2381dd779ce6cfee954042a7f784c7e6"},{url:"styles/fonts/ArchitectsDaughter-Regular.ttf",revision:"31c2153c0530e32553b31a49b3d70736"},{url:"styles/grapheditor.css",revision:"52cbd8ab7583a92acae8b1072443edcf"},{url:"styles/high-contrast.css",revision:"0c0219b1016c8bd6bbf859cfd53b5058"},{url:"js/dropbox/Dropbox-sdk.min.js",revision:"4b9842892aa37b156db0a8364b7a83b0"},{url:"js/onedrive/OneDrive.js",revision:"e863f5e6833892f22492211663e3efe9"},{url:"js/viewer-static.min.js",revision:"06a34a2cea0cccc48430383a6e7a12ad"},{url:"connect/jira/editor-1-3-3.html",revision:"41dc8af9576b47f359cff19fff7a41c2"},{url:"connect/jira/viewerPanel-1-3-12.html",revision:"4836f5e4308abe57830e441518364f23"},{url:"connect/jira/viewerPanel2.html",revision:"0dd1ee1343a46b5c03aedbc587450b84"},{url:"connect/jira/fullScreenViewer-1-3-3.html",revision:"abed474e47c0c41a5ad2366b4828f77a"},{url:"connect/jira/viewerPanel.js",revision:"85011efa68d638da560871ee2ab3a6fe"},{url:"connect/jira/spinner.gif",revision:"7d857ab9d86123e93d74d48e958fe743"},{url:"connect/jira/editor.js",revision:"3dc56c6566abaa7af151a8359e5bb556"},{url:"connect/jira/fullscreen-viewer-init.js",revision:"07043c1ee868dd425f7876da94bbc307"},{url:"connect/jira/fullscreen-viewer.js",revision:"a6be96b8ddc5a25196925713cf34d571"},{url:"plugins/connectJira.js",revision:"d220cad2edf0d6b161505fe12ae3eaa6"},{url:"plugins/cConf-comments.js",revision:"e4a4b5a0fb22393693d3b62968c50644"},{url:"plugins/cConf-1-4-8.js",revision:"54f3950154107db8d06166c3c0a5c5eb"},{url:"connect/confluence/connectUtils-1-4-8.js",revision:"1ece124d9b3523b536e99aeca5c3b8f5"},{url:"connect/new_common/cac.js",revision:"b52c73de9d22b867a036ad50c6bfdca2"},{url:"connect/gdrive_common/gac.js",revision:"c66fdc50ec87002a502cb0779b73a692"},{url:"connect/onedrive_common/ac.js",revision:"1264ba8705eff0d1337701e5ae962366"},{url:"connect/confluence/viewer-init.js",revision:"c5e51e32ac74414d8d518af83ee2781f"},{url:"connect/confluence/viewer.js",revision:"9128708cd80881dbf6caa06f2c4ebda8"},{url:"connect/confluence/viewer-1-4-42.html",revision:"69c1bca25fd4889bf832e8441c972268"},{url:"connect/confluence/macroEditor-1-4-8.html",revision:"4ad77ae3f08c19eddac932b2fa8c7068"},{url:"connect/confluence/includeDiagram-1-4-8.js",revision:"c2bf5b089b99006177ca184d65a4a25e"},{url:"connect/confluence/includeDiagram.html",revision:"01b04b3f54f1e2e63fcf1df033d24519"},{url:"connect/confluence/macro-editor.js",revision:"b9000d6c20f30e4068f83bd0b56965ca"},{url:"math4/es5/ui/safe.js",revision:"ca702f2c33fd000f84a31ba448cc3bbf"},{url:"math4/es5/core.js",revision:"4607f737b02b88906a3de918f695a85a"},{url:"math4/es5/input/tex/extensions/bbm.js",revision:"f839fd234392a29fae68a667313db71b"},{url:"math4/es5/input/tex/extensions/html.js",revision:"a71cd4473f46ca2bc60d3015da2a6e40"},{url:"math4/es5/input/tex/extensions/extpfeil.js",revision:"feb34084ae063f83b0409eddc9d9dc81"},{url:"math4/es5/input/tex/extensions/action.js",revision:"c2cee3376245e4d15c4a15c4164df08a"},{url:"math4/es5/input/tex/extensions/boldsymbol.js",revision:"7bf3cf63a47dbd03f3e7d9d4df84bae4"},{url:"math4/es5/input/tex/extensions/cases.js",revision:"aa35c75c635186efb1dd5e9722713946"},{url:"math4/es5/input/tex/extensions/colortbl.js",revision:"f896fdb04e6f3df63257caaf8d75d268"},{url:"math4/es5/input/tex/extensions/verb.js",revision:"843fb0a2270c0fa3ea4080593da21d82"},{url:"math4/es5/input/tex/extensions/unicode.js",revision:"d3900aa9a043f44a07847b0cf3ae6940"},{url:"math4/es5/input/tex/extensions/cancel.js",revision:"e4db0cde5bb14f0793c281139c2e485c"},{url:"math4/es5/input/tex/extensions/enclose.js",revision:"d46a3a720575151a79008be13bcfef8d"},{url:"math4/es5/input/tex/extensions/units.js",revision:"424e4c6aa011b9b58df75e153b0870ee"},{url:"math4/es5/input/tex/extensions/color.js",revision:"b6dbc33a43f729f00af47bd3a4374d0c"},{url:"math4/es5/input/tex/extensions/mathtools.js",revision:"348268cc61b98c665d45194ecf01e047"},{url:"math4/es5/input/tex/extensions/begingroup.js",revision:"f1a93faf8b7d1acfe7583760809702e3"},{url:"math4/es5/input/tex/extensions/braket.js",revision:"07ecdc3db00f10c48a4f709943a9bdcb"},{url:"math4/es5/input/tex/extensions/dsfont.js",revision:"64037fdb45974a4e2f0da7704ac8c4ac"},{url:"math4/es5/input/tex/extensions/bbox.js",revision:"1ba6f3b786b073704f021da833dd4a9c"},{url:"math4/es5/input/tex/extensions/amscd.js",revision:"1342643662211e7fa042694bc6cadb95"},{url:"math4/es5/input/tex/extensions/textcomp.js",revision:"e1de4fee5c5ba3684de51645b1c5f9df"},{url:"math4/es5/input/tex/extensions/bussproofs.js",revision:"9c1714e7a9ba17d54cc10cf38bb87650"},{url:"math4/es5/input/tex/extensions/bboldx.js",revision:"081cd0478ee12c4bf876533c079f2719"},{url:"math4/es5/input/tex/extensions/physics.js",revision:"554b5d391c5535710c0ab62221d59db0"},{url:"math4/es5/input/tex/extensions/centernot.js",revision:"1987ac8a9960b7a1345ef535f78b6688"},{url:"math4/es5/input/tex/extensions/gensymb.js",revision:"b8d108904ba3d813d4b1fe4240c11bf1"},{url:"math4/es5/input/tex/extensions/upgreek.js",revision:"9d5a31488315d7a60411221b2f119e14"},{url:"math4/es5/input/tex/extensions/empheq.js",revision:"1cf5298ed83c3a5cc397f44e9bd76118"},{url:"math4/es5/input/tex/extensions/mhchem.js",revision:"c13cdcec4cbf9ca20d91a315fa452e99"},{url:"math4/es5/input/asciimath.js",revision:"5433e3809df4cd12bbb222481fe2a85b"},{url:"math4/es5/input/tex.js",revision:"76f4e47cb8354ae67bac3c6a475f4820"},{url:"math4/es5/startup.js",revision:"04da7a3133792269379424cd8aff94a5"},{url:"math4/es5/output/svg.js",revision:"461be88e9e32bbef3e3993c18bceb744"},{url:"math4/es5/fonts/mathjax-bbm-font-extension/svg.js",revision:"7da09cb4068fe07c444294e5f2e9b66c"},{url:"math4/es5/fonts/mathjax-tex-font/svg.js",revision:"b563bd77c9be00fbfead1c9a96e75553"},{url:"math4/es5/fonts/mathjax-bboldx-font-extension/svg.js",revision:"b3da46cecb11686a51b3b5f013efe8af"},{url:"math4/es5/fonts/mathjax-dsfont-font-extension/svg.js",revision:"2e96de5f4482376298b7d57baed44b6b"},{url:"math4/es5/fonts/mathjax-mhchem-font-extension/svg.js",revision:"11d1bd7052772efb4c2fee5177dcb4e1"},{url:"resources/dia.txt",revision:"af20c33c5345dbbdd4bac22749f57ebe"},{url:"resources/dia_am.txt",revision:"d035d41e768880daaaab78fd58c51016"},{url:"resources/dia_ar.txt",revision:"3963663eae708d6f2395b28748c90b45"},{url:"resources/dia_bg.txt",revision:"10ac128e0571337e1545c9a9d6122655"},{url:"resources/dia_bn.txt",revision:"3eec21e2f449384bae737fc16f765653"},{url:"resources/dia_bs.txt",revision:"77007214c953c02746cce1577d46179e"},{url:"resources/dia_ca.txt",revision:"0775c1bab7f20a996dd4b218e3f8a449"},{url:"resources/dia_cs.txt",revision:"77fb71238b58ebf2030f48e48f8efef9"},{url:"resources/dia_da.txt",revision:"cd75932491bde2cd5b278653ab8faa65"},{url:"resources/dia_de.txt",revision:"d86e3159e7133e9f6d813cd69c822d64"},{url:"resources/dia_el.txt",revision:"bc455829c3997854fa9995ec1f485c2a"},{url:"resources/dia_eo.txt",revision:"d17281295e68094a3858d2a42ce05a99"},{url:"resources/dia_es.txt",revision:"e96fb8b6c55bece9428596fdf2cda566"},{url:"resources/dia_et.txt",revision:"449ac27dda466b9c1a24998da405e2b0"},{url:"resources/dia_eu.txt",revision:"0b6854301e1b665cc6101198460db65a"},{url:"resources/dia_fa.txt",revision:"144cf579e9d0a5ee8f75dd3015dba4a0"},{url:"resources/dia_fi.txt",revision:"6a31abae775e2772a24f22f35b4bb0ae"},{url:"resources/dia_fil.txt",revision:"2b4605bf77921cff3c88189340536964"},{url:"resources/dia_fr.txt",revision:"5334bcb823a3c87ec9432b8b176cb5c2"},{url:"resources/dia_gl.txt",revision:"8dd1933410990e59a568ac29db6e1315"},{url:"resources/dia_gu.txt",revision:"066a5e40cbee438770a56d6a51979bca"},{url:"resources/dia_he.txt",revision:"a530f27303fb8ac353023929ffc768d5"},{url:"resources/dia_hi.txt",revision:"67dddcf3cdb95c08e1d92527a2b52fb6"},{url:"resources/dia_hr.txt",revision:"99b302427b5179c5fe1d3c8141717125"},{url:"resources/dia_hu.txt",revision:"2dac8ba4467e7bcdfc81266a5cee92fc"},{url:"resources/dia_id.txt",revision:"6f61d4a91e6ba6dbf0aaebf37bdfec88"},{url:"resources/dia_it.txt",revision:"27b69a7e86d35ac9d156e2db20379810"},{url:"resources/dia_ja.txt",revision:"089fb0594b952b58ddea125b3285dd3b"},{url:"resources/dia_kn.txt",revision:"cb0ac19b0e3c769c81ec342eaabee395"},{url:"resources/dia_ko.txt",revision:"bb8d40f67f47752fe0a1db41d21ccab2"},{url:"resources/dia_lt.txt",revision:"c8c0d1821ff616397271bf4db598b794"},{url:"resources/dia_lv.txt",revision:"416a07e903e7125c84793bd930a04f3e"},{url:"resources/dia_ml.txt",revision:"24ae30c04f68c53cd5001489f76693c8"},{url:"resources/dia_mr.txt",revision:"2c8314be591e503fc524de6420aa8e51"},{url:"resources/dia_ms.txt",revision:"fd171089b53877861719ec8b367aaea4"},{url:"resources/dia_my.txt",revision:"982f513a645aa0ddd0f686bd4ed4aec1"},{url:"resources/dia_nl.txt",revision:"fe9d955e4e1579a5b1602e8a8a8be1e7"},{url:"resources/dia_no.txt",revision:"676b860960b67e31a1db16a4c66fb63a"},{url:"resources/dia_pl.txt",revision:"f63553fe81de7e667e668723a8dc34a9"},{url:"resources/dia_pt-br.txt",revision:"5f7d6655dc2664280a85dba07337c889"},{url:"resources/dia_pt.txt",revision:"45183af337ce62cd726086e9e78c83fe"},{url:"resources/dia_ro.txt",revision:"2ec5b7f9fe52cb2ad9bc7e2b037f9813"},{url:"resources/dia_ru.txt",revision:"eaaf02f90520705fc8904d69b52b22a8"},{url:"resources/dia_si.txt",revision:"1016fd0c1b03e8a2184fc81ba1ddb8cb"},{url:"resources/dia_sk.txt",revision:"a87fc8453955b91596ee52e8ad17ed5d"},{url:"resources/dia_sl.txt",revision:"17bd807232c5b1e7671fd1c861e42576"},{url:"resources/dia_sr.txt",revision:"9433a5cab8ef7d438a931f86a4cd07ea"},{url:"resources/dia_sv.txt",revision:"9fbf7ac0c5a83616b1554b08613bf4e0"},{url:"resources/dia_sw.txt",revision:"97613c9823ffb4939df02432800c5b18"},{url:"resources/dia_ta.txt",revision:"29b3a39bbd2ab9ba982fec70ecc2aff9"},{url:"resources/dia_te.txt",revision:"233aacc2550a5068acc60636325bbd57"},{url:"resources/dia_th.txt",revision:"0137b4fc300de489b36cbbe2fb3588d7"},{url:"resources/dia_tr.txt",revision:"32cae590b58800ddf4a4845c6d973371"},{url:"resources/dia_uk.txt",revision:"bf78981db5ce39791d7dc2c59f016353"},{url:"resources/dia_vi.txt",revision:"e60875531ad837e20f50729222fb9bee"},{url:"resources/dia_zh-tw.txt",revision:"20b279db06cc54028ff33b7053f47020"},{url:"resources/dia_zh.txt",revision:"1c0909d84853e02b9c3484ce541338b1"},{url:"favicon.ico",revision:"b2bf17349e4b50ce4ba311f079f8bf7d"},{url:"images/manifest.json",revision:"421b4fae5b46499348d194e1f93558c3"},{url:"images/logo.png",revision:"e4e0d092abdb1e668b5ec41a7fe0713c"},{url:"images/drawlogo.svg",revision:"4bf4d14ebcf072d8bd4c5a1c89e88fc6"},{url:"images/drawlogo48.png",revision:"8b13428373aca67b895364d025f42417"},{url:"images/drawlogo-gray.svg",revision:"0aabacbc0873816e1e09e4736ae44c7d"},{url:"images/drawlogo-text-bottom.svg",revision:"f6c438823ab31f290940bd4feb8dd9c2"},{url:"images/logo-flat-small.png",revision:"4b178e59ff499d6dd1894fc498b59877"},{url:"images/apple-touch-icon.png",revision:"732c29e21332a926318a7005d21ec450"},{url:"images/icon-192-maskable.png",revision:"47e006d0ce4a35eb5beaa97f0c2bfed0"},{url:"images/icon-192.png",revision:"d022403d52435d76afec82c4e24a17ef"},{url:"images/icon-512-maskable.png",revision:"cf152feeb01fb21f3148a71a3540266e"},{url:"images/icon-512.png",revision:"a3a0df7e7a385244b74073f81ecc45de"},{url:"images/delete.png",revision:"5f2350f2fd20f1a229637aed32ed8f29"},{url:"images/droptarget.png",revision:"bbf7f563fb6784de1ce96f329519b043"},{url:"images/logo-flat.png",revision:"038070ab43aee6e54a791211859fc67b"},{url:"images/google-drive-logo.svg",revision:"5d9f2f5bbc7dcc252730a0072bb23059"},{url:"images/onedrive-logo.svg",revision:"3645b344ec0634c1290dd58d7dc87b97"},{url:"images/dropbox-logo.svg",revision:"e6be408c77cf9c82d41ac64fa854280a"},{url:"images/github-logo.svg",revision:"a1a999b69a275eac0cb918360ac05ae1"},{url:"images/gitlab-logo.svg",revision:"0faea8c818899e58533e153c44b10517"},{url:"images/trello-logo.svg",revision:"006fd0d7d70d7e95dc691674cb12e044"},{url:"images/osa_drive-harddisk.png",revision:"b954e1ae772087c5b4c6ae797e1f9649"},{url:"images/osa_database.png",revision:"c350d9d9b95f37b6cfe798b40ede5fb0"},{url:"images/google-drive-logo-white.svg",revision:"f329d8b1be7778515a85b93fc35d9f26"},{url:"images/dropbox-logo-white.svg",revision:"4ea8299ac3bc31a16f199ee3aec223bf"},{url:"images/onedrive-logo-white.svg",revision:"b3602fa0fc947009cff3f33a581cff4d"},{url:"images/github-logo-white.svg",revision:"537b1127b3ca0f95b45782d1304fb77a"},{url:"images/gitlab-logo-white.svg",revision:"5fede9ac2f394c716b8c23e3fddc3910"},{url:"images/trello-logo-white-orange.svg",revision:"e2a0a52ba3766682f138138d10a75eb5"},{url:"images/logo-confluence.png",revision:"ed1e55d44ae5eba8f999aba2c93e8331"},{url:"images/logo-jira.png",revision:"f8d460555a0d1f87cfd901e940666629"},{url:"images/spin.gif",revision:"487cbb40b9ced439aa1ad914e816d773"},{url:"images/aui-wait.gif",revision:"5a474bcbd8d2f2826f03d10ea44bf60e"},{url:"mxgraph/css/common.css",revision:"8d895dc8387694c128232b13e631be39"}],{ignoreURLParametersMatching:[/.*/]})}));
+if(!self.define){let e,i={};const s=(s,r)=>(s=new URL(s+".js",r).href,i[s]||new Promise((i=>{if("document"in self){const e=document.createElement("script");e.src=s,e.onload=i,document.head.appendChild(e)}else e=s,importScripts(s),i()})).then((()=>{let e=i[s];if(!e)throw new Error(`Module ${s} didn’t register its module`);return e})));self.define=(r,a)=>{const c=e||("document"in self?document.currentScript.src:"")||location.href;if(i[c])return;let o={};const n=e=>s(e,c),d={module:{uri:c},exports:o,require:n};i[c]=Promise.all(r.map((e=>d[e]||n(e)))).then((e=>(a(...e),o)))}}define(["./workbox-acfd85e3"],(function(e){"use strict";self.skipWaiting(),e.precacheAndRoute([{url:"js/bootstrap.js",revision:"5bd9c052196840673b9e60ea966a9ed9"},{url:"js/main.js",revision:"a8d40469d3d72ab4b11059362f3dd825"},{url:"js/app.min.js",revision:"0869cc9aae2f7a223ac77339a103d245"},{url:"js/extensions.min.js",revision:"c4612c3f2ebbcf5cc6a4828478664fb0"},{url:"js/orgchart.min.js",revision:"619d8c4dab47b81868916df31f55478b"},{url:"js/stencils.min.js",revision:"54eda90e3b255ee094aa7b78cabc117c"},{url:"js/shapes-14-6-5.min.js",revision:"cefa54697c18c7c7e56e754473aa9816"},{url:"js/math-print.js",revision:"ad9cf0f2f2b614eac58ea72499c1017f"},{url:"index.html",revision:"9de11c65ec13b24c73ace7042bc529cc"},{url:"open.html",revision:"d71816b3b00e769fc6019fcdd6921662"},{url:"shortcuts.svg",revision:"2381dd779ce6cfee954042a7f784c7e6"},{url:"styles/fonts/ArchitectsDaughter-Regular.ttf",revision:"31c2153c0530e32553b31a49b3d70736"},{url:"styles/grapheditor.css",revision:"52cbd8ab7583a92acae8b1072443edcf"},{url:"styles/high-contrast.css",revision:"0c0219b1016c8bd6bbf859cfd53b5058"},{url:"js/dropbox/Dropbox-sdk.min.js",revision:"4b9842892aa37b156db0a8364b7a83b0"},{url:"js/onedrive/OneDrive.js",revision:"e863f5e6833892f22492211663e3efe9"},{url:"js/viewer-static.min.js",revision:"69c0fc93cd33813b448f35c6ce6ed631"},{url:"connect/jira/editor-1-3-3.html",revision:"41dc8af9576b47f359cff19fff7a41c2"},{url:"connect/jira/viewerPanel-1-3-12.html",revision:"4836f5e4308abe57830e441518364f23"},{url:"connect/jira/viewerPanel2.html",revision:"0dd1ee1343a46b5c03aedbc587450b84"},{url:"connect/jira/fullScreenViewer-1-3-3.html",revision:"abed474e47c0c41a5ad2366b4828f77a"},{url:"connect/jira/viewerPanel.js",revision:"85011efa68d638da560871ee2ab3a6fe"},{url:"connect/jira/spinner.gif",revision:"7d857ab9d86123e93d74d48e958fe743"},{url:"connect/jira/editor.js",revision:"3dc56c6566abaa7af151a8359e5bb556"},{url:"connect/jira/fullscreen-viewer-init.js",revision:"07043c1ee868dd425f7876da94bbc307"},{url:"connect/jira/fullscreen-viewer.js",revision:"a6be96b8ddc5a25196925713cf34d571"},{url:"plugins/connectJira.js",revision:"d220cad2edf0d6b161505fe12ae3eaa6"},{url:"plugins/cConf-comments.js",revision:"e4a4b5a0fb22393693d3b62968c50644"},{url:"plugins/cConf-1-4-8.js",revision:"54f3950154107db8d06166c3c0a5c5eb"},{url:"connect/confluence/connectUtils-1-4-8.js",revision:"1ece124d9b3523b536e99aeca5c3b8f5"},{url:"connect/new_common/cac.js",revision:"b52c73de9d22b867a036ad50c6bfdca2"},{url:"connect/gdrive_common/gac.js",revision:"c66fdc50ec87002a502cb0779b73a692"},{url:"connect/onedrive_common/ac.js",revision:"1264ba8705eff0d1337701e5ae962366"},{url:"connect/confluence/viewer-init.js",revision:"c5e51e32ac74414d8d518af83ee2781f"},{url:"connect/confluence/viewer.js",revision:"9128708cd80881dbf6caa06f2c4ebda8"},{url:"connect/confluence/viewer-1-4-42.html",revision:"69c1bca25fd4889bf832e8441c972268"},{url:"connect/confluence/macroEditor-1-4-8.html",revision:"4ad77ae3f08c19eddac932b2fa8c7068"},{url:"connect/confluence/includeDiagram-1-4-8.js",revision:"c2bf5b089b99006177ca184d65a4a25e"},{url:"connect/confluence/includeDiagram.html",revision:"01b04b3f54f1e2e63fcf1df033d24519"},{url:"connect/confluence/macro-editor.js",revision:"b9000d6c20f30e4068f83bd0b56965ca"},{url:"math4/es5/ui/safe.js",revision:"ca702f2c33fd000f84a31ba448cc3bbf"},{url:"math4/es5/core.js",revision:"4607f737b02b88906a3de918f695a85a"},{url:"math4/es5/input/tex/extensions/bbm.js",revision:"f839fd234392a29fae68a667313db71b"},{url:"math4/es5/input/tex/extensions/html.js",revision:"a71cd4473f46ca2bc60d3015da2a6e40"},{url:"math4/es5/input/tex/extensions/extpfeil.js",revision:"feb34084ae063f83b0409eddc9d9dc81"},{url:"math4/es5/input/tex/extensions/action.js",revision:"c2cee3376245e4d15c4a15c4164df08a"},{url:"math4/es5/input/tex/extensions/boldsymbol.js",revision:"7bf3cf63a47dbd03f3e7d9d4df84bae4"},{url:"math4/es5/input/tex/extensions/cases.js",revision:"aa35c75c635186efb1dd5e9722713946"},{url:"math4/es5/input/tex/extensions/colortbl.js",revision:"f896fdb04e6f3df63257caaf8d75d268"},{url:"math4/es5/input/tex/extensions/verb.js",revision:"843fb0a2270c0fa3ea4080593da21d82"},{url:"math4/es5/input/tex/extensions/unicode.js",revision:"d3900aa9a043f44a07847b0cf3ae6940"},{url:"math4/es5/input/tex/extensions/cancel.js",revision:"e4db0cde5bb14f0793c281139c2e485c"},{url:"math4/es5/input/tex/extensions/enclose.js",revision:"d46a3a720575151a79008be13bcfef8d"},{url:"math4/es5/input/tex/extensions/units.js",revision:"424e4c6aa011b9b58df75e153b0870ee"},{url:"math4/es5/input/tex/extensions/color.js",revision:"b6dbc33a43f729f00af47bd3a4374d0c"},{url:"math4/es5/input/tex/extensions/mathtools.js",revision:"348268cc61b98c665d45194ecf01e047"},{url:"math4/es5/input/tex/extensions/begingroup.js",revision:"f1a93faf8b7d1acfe7583760809702e3"},{url:"math4/es5/input/tex/extensions/braket.js",revision:"07ecdc3db00f10c48a4f709943a9bdcb"},{url:"math4/es5/input/tex/extensions/dsfont.js",revision:"64037fdb45974a4e2f0da7704ac8c4ac"},{url:"math4/es5/input/tex/extensions/bbox.js",revision:"1ba6f3b786b073704f021da833dd4a9c"},{url:"math4/es5/input/tex/extensions/amscd.js",revision:"1342643662211e7fa042694bc6cadb95"},{url:"math4/es5/input/tex/extensions/textcomp.js",revision:"e1de4fee5c5ba3684de51645b1c5f9df"},{url:"math4/es5/input/tex/extensions/bussproofs.js",revision:"9c1714e7a9ba17d54cc10cf38bb87650"},{url:"math4/es5/input/tex/extensions/bboldx.js",revision:"081cd0478ee12c4bf876533c079f2719"},{url:"math4/es5/input/tex/extensions/physics.js",revision:"554b5d391c5535710c0ab62221d59db0"},{url:"math4/es5/input/tex/extensions/centernot.js",revision:"1987ac8a9960b7a1345ef535f78b6688"},{url:"math4/es5/input/tex/extensions/gensymb.js",revision:"b8d108904ba3d813d4b1fe4240c11bf1"},{url:"math4/es5/input/tex/extensions/upgreek.js",revision:"9d5a31488315d7a60411221b2f119e14"},{url:"math4/es5/input/tex/extensions/empheq.js",revision:"1cf5298ed83c3a5cc397f44e9bd76118"},{url:"math4/es5/input/tex/extensions/mhchem.js",revision:"c13cdcec4cbf9ca20d91a315fa452e99"},{url:"math4/es5/input/asciimath.js",revision:"5433e3809df4cd12bbb222481fe2a85b"},{url:"math4/es5/input/tex.js",revision:"76f4e47cb8354ae67bac3c6a475f4820"},{url:"math4/es5/startup.js",revision:"04da7a3133792269379424cd8aff94a5"},{url:"math4/es5/output/svg.js",revision:"461be88e9e32bbef3e3993c18bceb744"},{url:"math4/es5/fonts/mathjax-bbm-font-extension/svg.js",revision:"7da09cb4068fe07c444294e5f2e9b66c"},{url:"math4/es5/fonts/mathjax-tex-font/svg.js",revision:"b563bd77c9be00fbfead1c9a96e75553"},{url:"math4/es5/fonts/mathjax-bboldx-font-extension/svg.js",revision:"b3da46cecb11686a51b3b5f013efe8af"},{url:"math4/es5/fonts/mathjax-dsfont-font-extension/svg.js",revision:"2e96de5f4482376298b7d57baed44b6b"},{url:"math4/es5/fonts/mathjax-mhchem-font-extension/svg.js",revision:"11d1bd7052772efb4c2fee5177dcb4e1"},{url:"resources/dia.txt",revision:"af20c33c5345dbbdd4bac22749f57ebe"},{url:"resources/dia_am.txt",revision:"d035d41e768880daaaab78fd58c51016"},{url:"resources/dia_ar.txt",revision:"3963663eae708d6f2395b28748c90b45"},{url:"resources/dia_bg.txt",revision:"10ac128e0571337e1545c9a9d6122655"},{url:"resources/dia_bn.txt",revision:"3eec21e2f449384bae737fc16f765653"},{url:"resources/dia_bs.txt",revision:"77007214c953c02746cce1577d46179e"},{url:"resources/dia_ca.txt",revision:"0775c1bab7f20a996dd4b218e3f8a449"},{url:"resources/dia_cs.txt",revision:"77fb71238b58ebf2030f48e48f8efef9"},{url:"resources/dia_da.txt",revision:"cd75932491bde2cd5b278653ab8faa65"},{url:"resources/dia_de.txt",revision:"d86e3159e7133e9f6d813cd69c822d64"},{url:"resources/dia_el.txt",revision:"bc455829c3997854fa9995ec1f485c2a"},{url:"resources/dia_eo.txt",revision:"d17281295e68094a3858d2a42ce05a99"},{url:"resources/dia_es.txt",revision:"e96fb8b6c55bece9428596fdf2cda566"},{url:"resources/dia_et.txt",revision:"449ac27dda466b9c1a24998da405e2b0"},{url:"resources/dia_eu.txt",revision:"0b6854301e1b665cc6101198460db65a"},{url:"resources/dia_fa.txt",revision:"144cf579e9d0a5ee8f75dd3015dba4a0"},{url:"resources/dia_fi.txt",revision:"6a31abae775e2772a24f22f35b4bb0ae"},{url:"resources/dia_fil.txt",revision:"2b4605bf77921cff3c88189340536964"},{url:"resources/dia_fr.txt",revision:"5334bcb823a3c87ec9432b8b176cb5c2"},{url:"resources/dia_gl.txt",revision:"8dd1933410990e59a568ac29db6e1315"},{url:"resources/dia_gu.txt",revision:"066a5e40cbee438770a56d6a51979bca"},{url:"resources/dia_he.txt",revision:"a530f27303fb8ac353023929ffc768d5"},{url:"resources/dia_hi.txt",revision:"67dddcf3cdb95c08e1d92527a2b52fb6"},{url:"resources/dia_hr.txt",revision:"99b302427b5179c5fe1d3c8141717125"},{url:"resources/dia_hu.txt",revision:"2dac8ba4467e7bcdfc81266a5cee92fc"},{url:"resources/dia_id.txt",revision:"6f61d4a91e6ba6dbf0aaebf37bdfec88"},{url:"resources/dia_it.txt",revision:"27b69a7e86d35ac9d156e2db20379810"},{url:"resources/dia_ja.txt",revision:"089fb0594b952b58ddea125b3285dd3b"},{url:"resources/dia_kn.txt",revision:"cb0ac19b0e3c769c81ec342eaabee395"},{url:"resources/dia_ko.txt",revision:"bb8d40f67f47752fe0a1db41d21ccab2"},{url:"resources/dia_lt.txt",revision:"c8c0d1821ff616397271bf4db598b794"},{url:"resources/dia_lv.txt",revision:"416a07e903e7125c84793bd930a04f3e"},{url:"resources/dia_ml.txt",revision:"24ae30c04f68c53cd5001489f76693c8"},{url:"resources/dia_mr.txt",revision:"2c8314be591e503fc524de6420aa8e51"},{url:"resources/dia_ms.txt",revision:"fd171089b53877861719ec8b367aaea4"},{url:"resources/dia_my.txt",revision:"982f513a645aa0ddd0f686bd4ed4aec1"},{url:"resources/dia_nl.txt",revision:"fe9d955e4e1579a5b1602e8a8a8be1e7"},{url:"resources/dia_no.txt",revision:"676b860960b67e31a1db16a4c66fb63a"},{url:"resources/dia_pl.txt",revision:"f63553fe81de7e667e668723a8dc34a9"},{url:"resources/dia_pt-br.txt",revision:"5f7d6655dc2664280a85dba07337c889"},{url:"resources/dia_pt.txt",revision:"45183af337ce62cd726086e9e78c83fe"},{url:"resources/dia_ro.txt",revision:"2ec5b7f9fe52cb2ad9bc7e2b037f9813"},{url:"resources/dia_ru.txt",revision:"eaaf02f90520705fc8904d69b52b22a8"},{url:"resources/dia_si.txt",revision:"1016fd0c1b03e8a2184fc81ba1ddb8cb"},{url:"resources/dia_sk.txt",revision:"a87fc8453955b91596ee52e8ad17ed5d"},{url:"resources/dia_sl.txt",revision:"17bd807232c5b1e7671fd1c861e42576"},{url:"resources/dia_sr.txt",revision:"9433a5cab8ef7d438a931f86a4cd07ea"},{url:"resources/dia_sv.txt",revision:"9fbf7ac0c5a83616b1554b08613bf4e0"},{url:"resources/dia_sw.txt",revision:"97613c9823ffb4939df02432800c5b18"},{url:"resources/dia_ta.txt",revision:"29b3a39bbd2ab9ba982fec70ecc2aff9"},{url:"resources/dia_te.txt",revision:"233aacc2550a5068acc60636325bbd57"},{url:"resources/dia_th.txt",revision:"0137b4fc300de489b36cbbe2fb3588d7"},{url:"resources/dia_tr.txt",revision:"32cae590b58800ddf4a4845c6d973371"},{url:"resources/dia_uk.txt",revision:"bf78981db5ce39791d7dc2c59f016353"},{url:"resources/dia_vi.txt",revision:"e60875531ad837e20f50729222fb9bee"},{url:"resources/dia_zh-tw.txt",revision:"20b279db06cc54028ff33b7053f47020"},{url:"resources/dia_zh.txt",revision:"1c0909d84853e02b9c3484ce541338b1"},{url:"favicon.ico",revision:"b2bf17349e4b50ce4ba311f079f8bf7d"},{url:"images/manifest.json",revision:"421b4fae5b46499348d194e1f93558c3"},{url:"images/logo.png",revision:"e4e0d092abdb1e668b5ec41a7fe0713c"},{url:"images/drawlogo.svg",revision:"4bf4d14ebcf072d8bd4c5a1c89e88fc6"},{url:"images/drawlogo48.png",revision:"8b13428373aca67b895364d025f42417"},{url:"images/drawlogo-gray.svg",revision:"0aabacbc0873816e1e09e4736ae44c7d"},{url:"images/drawlogo-text-bottom.svg",revision:"f6c438823ab31f290940bd4feb8dd9c2"},{url:"images/logo-flat-small.png",revision:"4b178e59ff499d6dd1894fc498b59877"},{url:"images/apple-touch-icon.png",revision:"732c29e21332a926318a7005d21ec450"},{url:"images/icon-192-maskable.png",revision:"47e006d0ce4a35eb5beaa97f0c2bfed0"},{url:"images/icon-192.png",revision:"d022403d52435d76afec82c4e24a17ef"},{url:"images/icon-512-maskable.png",revision:"cf152feeb01fb21f3148a71a3540266e"},{url:"images/icon-512.png",revision:"a3a0df7e7a385244b74073f81ecc45de"},{url:"images/delete.png",revision:"5f2350f2fd20f1a229637aed32ed8f29"},{url:"images/droptarget.png",revision:"bbf7f563fb6784de1ce96f329519b043"},{url:"images/logo-flat.png",revision:"038070ab43aee6e54a791211859fc67b"},{url:"images/google-drive-logo.svg",revision:"5d9f2f5bbc7dcc252730a0072bb23059"},{url:"images/onedrive-logo.svg",revision:"3645b344ec0634c1290dd58d7dc87b97"},{url:"images/dropbox-logo.svg",revision:"e6be408c77cf9c82d41ac64fa854280a"},{url:"images/github-logo.svg",revision:"a1a999b69a275eac0cb918360ac05ae1"},{url:"images/gitlab-logo.svg",revision:"0faea8c818899e58533e153c44b10517"},{url:"images/trello-logo.svg",revision:"006fd0d7d70d7e95dc691674cb12e044"},{url:"images/osa_drive-harddisk.png",revision:"b954e1ae772087c5b4c6ae797e1f9649"},{url:"images/osa_database.png",revision:"c350d9d9b95f37b6cfe798b40ede5fb0"},{url:"images/google-drive-logo-white.svg",revision:"f329d8b1be7778515a85b93fc35d9f26"},{url:"images/dropbox-logo-white.svg",revision:"4ea8299ac3bc31a16f199ee3aec223bf"},{url:"images/onedrive-logo-white.svg",revision:"b3602fa0fc947009cff3f33a581cff4d"},{url:"images/github-logo-white.svg",revision:"537b1127b3ca0f95b45782d1304fb77a"},{url:"images/gitlab-logo-white.svg",revision:"5fede9ac2f394c716b8c23e3fddc3910"},{url:"images/trello-logo-white-orange.svg",revision:"e2a0a52ba3766682f138138d10a75eb5"},{url:"images/logo-confluence.png",revision:"ed1e55d44ae5eba8f999aba2c93e8331"},{url:"images/logo-jira.png",revision:"f8d460555a0d1f87cfd901e940666629"},{url:"images/spin.gif",revision:"487cbb40b9ced439aa1ad914e816d773"},{url:"images/aui-wait.gif",revision:"5a474bcbd8d2f2826f03d10ea44bf60e"},{url:"mxgraph/css/common.css",revision:"8d895dc8387694c128232b13e631be39"}],{ignoreURLParametersMatching:[/.*/]})}));
//# sourceMappingURL=service-worker.js.map
diff --git a/src/main/webapp/service-worker.js.map b/src/main/webapp/service-worker.js.map
index 53bfbfffa..e3cdbcd2f 100644
--- a/src/main/webapp/service-worker.js.map
+++ b/src/main/webapp/service-worker.js.map
@@ -1 +1 @@
-{"version":3,"file":"service-worker.js","sources":["../../../../../../private/var/folders/w3/8z182_j14fbd1p8pn7nc032h0000gn/T/92f53511568c5d3b85eaaa27b815c2dd/service-worker.js"],"sourcesContent":["import {precacheAndRoute as workbox_precaching_precacheAndRoute} from '/Users/davidbenson/.nvm/versions/node/v22.14.0/lib/node_modules/workbox-cli/node_modules/workbox-precaching/precacheAndRoute.mjs';/**\n * Welcome to your Workbox-powered service worker!\n *\n * You'll need to register this file in your web app.\n * See https://goo.gl/nhQhGp\n *\n * The rest of the code is auto-generated. Please don't update this file\n * directly; instead, make changes to your Workbox build configuration\n * and re-run your build process.\n * See https://goo.gl/2aRDsh\n */\n\n\n\n\n\n\n\n\nself.skipWaiting();\n\n\n\n\n/**\n * The precacheAndRoute() method efficiently caches and responds to\n * requests for URLs in the manifest.\n * See https://goo.gl/S9QRab\n */\nworkbox_precaching_precacheAndRoute([\n {\n \"url\": \"js/bootstrap.js\",\n \"revision\": \"5bd9c052196840673b9e60ea966a9ed9\"\n },\n {\n \"url\": \"js/main.js\",\n \"revision\": \"a8d40469d3d72ab4b11059362f3dd825\"\n },\n {\n \"url\": \"js/app.min.js\",\n \"revision\": \"690b85751e5863c26c4eff819bfd1cef\"\n },\n {\n \"url\": \"js/extensions.min.js\",\n \"revision\": \"c4612c3f2ebbcf5cc6a4828478664fb0\"\n },\n {\n \"url\": \"js/orgchart.min.js\",\n \"revision\": \"619d8c4dab47b81868916df31f55478b\"\n },\n {\n \"url\": \"js/stencils.min.js\",\n \"revision\": \"54eda90e3b255ee094aa7b78cabc117c\"\n },\n {\n \"url\": \"js/shapes-14-6-5.min.js\",\n \"revision\": \"cefa54697c18c7c7e56e754473aa9816\"\n },\n {\n \"url\": \"js/math-print.js\",\n \"revision\": \"ad9cf0f2f2b614eac58ea72499c1017f\"\n },\n {\n \"url\": \"index.html\",\n \"revision\": \"9de11c65ec13b24c73ace7042bc529cc\"\n },\n {\n \"url\": \"open.html\",\n \"revision\": \"d71816b3b00e769fc6019fcdd6921662\"\n },\n {\n \"url\": \"shortcuts.svg\",\n \"revision\": \"2381dd779ce6cfee954042a7f784c7e6\"\n },\n {\n \"url\": \"styles/fonts/ArchitectsDaughter-Regular.ttf\",\n \"revision\": \"31c2153c0530e32553b31a49b3d70736\"\n },\n {\n \"url\": \"styles/grapheditor.css\",\n \"revision\": \"52cbd8ab7583a92acae8b1072443edcf\"\n },\n {\n \"url\": \"styles/high-contrast.css\",\n \"revision\": \"0c0219b1016c8bd6bbf859cfd53b5058\"\n },\n {\n \"url\": \"js/dropbox/Dropbox-sdk.min.js\",\n \"revision\": \"4b9842892aa37b156db0a8364b7a83b0\"\n },\n {\n \"url\": \"js/onedrive/OneDrive.js\",\n \"revision\": \"e863f5e6833892f22492211663e3efe9\"\n },\n {\n \"url\": \"js/viewer-static.min.js\",\n \"revision\": \"06a34a2cea0cccc48430383a6e7a12ad\"\n },\n {\n \"url\": \"connect/jira/editor-1-3-3.html\",\n \"revision\": \"41dc8af9576b47f359cff19fff7a41c2\"\n },\n {\n \"url\": \"connect/jira/viewerPanel-1-3-12.html\",\n \"revision\": \"4836f5e4308abe57830e441518364f23\"\n },\n {\n \"url\": \"connect/jira/viewerPanel2.html\",\n \"revision\": \"0dd1ee1343a46b5c03aedbc587450b84\"\n },\n {\n \"url\": \"connect/jira/fullScreenViewer-1-3-3.html\",\n \"revision\": \"abed474e47c0c41a5ad2366b4828f77a\"\n },\n {\n \"url\": \"connect/jira/viewerPanel.js\",\n \"revision\": \"85011efa68d638da560871ee2ab3a6fe\"\n },\n {\n \"url\": \"connect/jira/spinner.gif\",\n \"revision\": \"7d857ab9d86123e93d74d48e958fe743\"\n },\n {\n \"url\": \"connect/jira/editor.js\",\n \"revision\": \"3dc56c6566abaa7af151a8359e5bb556\"\n },\n {\n \"url\": \"connect/jira/fullscreen-viewer-init.js\",\n \"revision\": \"07043c1ee868dd425f7876da94bbc307\"\n },\n {\n \"url\": \"connect/jira/fullscreen-viewer.js\",\n \"revision\": \"a6be96b8ddc5a25196925713cf34d571\"\n },\n {\n \"url\": \"plugins/connectJira.js\",\n \"revision\": \"d220cad2edf0d6b161505fe12ae3eaa6\"\n },\n {\n \"url\": \"plugins/cConf-comments.js\",\n \"revision\": \"e4a4b5a0fb22393693d3b62968c50644\"\n },\n {\n \"url\": \"plugins/cConf-1-4-8.js\",\n \"revision\": \"54f3950154107db8d06166c3c0a5c5eb\"\n },\n {\n \"url\": \"connect/confluence/connectUtils-1-4-8.js\",\n \"revision\": \"1ece124d9b3523b536e99aeca5c3b8f5\"\n },\n {\n \"url\": \"connect/new_common/cac.js\",\n \"revision\": \"b52c73de9d22b867a036ad50c6bfdca2\"\n },\n {\n \"url\": \"connect/gdrive_common/gac.js\",\n \"revision\": \"c66fdc50ec87002a502cb0779b73a692\"\n },\n {\n \"url\": \"connect/onedrive_common/ac.js\",\n \"revision\": \"1264ba8705eff0d1337701e5ae962366\"\n },\n {\n \"url\": \"connect/confluence/viewer-init.js\",\n \"revision\": \"c5e51e32ac74414d8d518af83ee2781f\"\n },\n {\n \"url\": \"connect/confluence/viewer.js\",\n \"revision\": \"9128708cd80881dbf6caa06f2c4ebda8\"\n },\n {\n \"url\": \"connect/confluence/viewer-1-4-42.html\",\n \"revision\": \"69c1bca25fd4889bf832e8441c972268\"\n },\n {\n \"url\": \"connect/confluence/macroEditor-1-4-8.html\",\n \"revision\": \"4ad77ae3f08c19eddac932b2fa8c7068\"\n },\n {\n \"url\": \"connect/confluence/includeDiagram-1-4-8.js\",\n \"revision\": \"c2bf5b089b99006177ca184d65a4a25e\"\n },\n {\n \"url\": \"connect/confluence/includeDiagram.html\",\n \"revision\": \"01b04b3f54f1e2e63fcf1df033d24519\"\n },\n {\n \"url\": \"connect/confluence/macro-editor.js\",\n \"revision\": \"b9000d6c20f30e4068f83bd0b56965ca\"\n },\n {\n \"url\": \"math4/es5/ui/safe.js\",\n \"revision\": \"ca702f2c33fd000f84a31ba448cc3bbf\"\n },\n {\n \"url\": \"math4/es5/core.js\",\n \"revision\": \"4607f737b02b88906a3de918f695a85a\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/bbm.js\",\n \"revision\": \"f839fd234392a29fae68a667313db71b\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/html.js\",\n \"revision\": \"a71cd4473f46ca2bc60d3015da2a6e40\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/extpfeil.js\",\n \"revision\": \"feb34084ae063f83b0409eddc9d9dc81\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/action.js\",\n \"revision\": \"c2cee3376245e4d15c4a15c4164df08a\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/boldsymbol.js\",\n \"revision\": \"7bf3cf63a47dbd03f3e7d9d4df84bae4\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/cases.js\",\n \"revision\": \"aa35c75c635186efb1dd5e9722713946\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/colortbl.js\",\n \"revision\": \"f896fdb04e6f3df63257caaf8d75d268\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/verb.js\",\n \"revision\": \"843fb0a2270c0fa3ea4080593da21d82\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/unicode.js\",\n \"revision\": \"d3900aa9a043f44a07847b0cf3ae6940\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/cancel.js\",\n \"revision\": \"e4db0cde5bb14f0793c281139c2e485c\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/enclose.js\",\n \"revision\": \"d46a3a720575151a79008be13bcfef8d\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/units.js\",\n \"revision\": \"424e4c6aa011b9b58df75e153b0870ee\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/color.js\",\n \"revision\": \"b6dbc33a43f729f00af47bd3a4374d0c\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/mathtools.js\",\n \"revision\": \"348268cc61b98c665d45194ecf01e047\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/begingroup.js\",\n \"revision\": \"f1a93faf8b7d1acfe7583760809702e3\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/braket.js\",\n \"revision\": \"07ecdc3db00f10c48a4f709943a9bdcb\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/dsfont.js\",\n \"revision\": \"64037fdb45974a4e2f0da7704ac8c4ac\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/bbox.js\",\n \"revision\": \"1ba6f3b786b073704f021da833dd4a9c\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/amscd.js\",\n \"revision\": \"1342643662211e7fa042694bc6cadb95\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/textcomp.js\",\n \"revision\": \"e1de4fee5c5ba3684de51645b1c5f9df\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/bussproofs.js\",\n \"revision\": \"9c1714e7a9ba17d54cc10cf38bb87650\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/bboldx.js\",\n \"revision\": \"081cd0478ee12c4bf876533c079f2719\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/physics.js\",\n \"revision\": \"554b5d391c5535710c0ab62221d59db0\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/centernot.js\",\n \"revision\": \"1987ac8a9960b7a1345ef535f78b6688\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/gensymb.js\",\n \"revision\": \"b8d108904ba3d813d4b1fe4240c11bf1\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/upgreek.js\",\n \"revision\": \"9d5a31488315d7a60411221b2f119e14\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/empheq.js\",\n \"revision\": \"1cf5298ed83c3a5cc397f44e9bd76118\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/mhchem.js\",\n \"revision\": \"c13cdcec4cbf9ca20d91a315fa452e99\"\n },\n {\n \"url\": \"math4/es5/input/asciimath.js\",\n \"revision\": \"5433e3809df4cd12bbb222481fe2a85b\"\n },\n {\n \"url\": \"math4/es5/input/tex.js\",\n \"revision\": \"76f4e47cb8354ae67bac3c6a475f4820\"\n },\n {\n \"url\": \"math4/es5/startup.js\",\n \"revision\": \"04da7a3133792269379424cd8aff94a5\"\n },\n {\n \"url\": \"math4/es5/output/svg.js\",\n \"revision\": \"461be88e9e32bbef3e3993c18bceb744\"\n },\n {\n \"url\": \"math4/es5/fonts/mathjax-bbm-font-extension/svg.js\",\n \"revision\": \"7da09cb4068fe07c444294e5f2e9b66c\"\n },\n {\n \"url\": \"math4/es5/fonts/mathjax-tex-font/svg.js\",\n \"revision\": \"b563bd77c9be00fbfead1c9a96e75553\"\n },\n {\n \"url\": \"math4/es5/fonts/mathjax-bboldx-font-extension/svg.js\",\n \"revision\": \"b3da46cecb11686a51b3b5f013efe8af\"\n },\n {\n \"url\": \"math4/es5/fonts/mathjax-dsfont-font-extension/svg.js\",\n \"revision\": \"2e96de5f4482376298b7d57baed44b6b\"\n },\n {\n \"url\": \"math4/es5/fonts/mathjax-mhchem-font-extension/svg.js\",\n \"revision\": \"11d1bd7052772efb4c2fee5177dcb4e1\"\n },\n {\n \"url\": \"resources/dia.txt\",\n \"revision\": \"af20c33c5345dbbdd4bac22749f57ebe\"\n },\n {\n \"url\": \"resources/dia_am.txt\",\n \"revision\": \"d035d41e768880daaaab78fd58c51016\"\n },\n {\n \"url\": \"resources/dia_ar.txt\",\n \"revision\": \"3963663eae708d6f2395b28748c90b45\"\n },\n {\n \"url\": \"resources/dia_bg.txt\",\n \"revision\": \"10ac128e0571337e1545c9a9d6122655\"\n },\n {\n \"url\": \"resources/dia_bn.txt\",\n \"revision\": \"3eec21e2f449384bae737fc16f765653\"\n },\n {\n \"url\": \"resources/dia_bs.txt\",\n \"revision\": \"77007214c953c02746cce1577d46179e\"\n },\n {\n \"url\": \"resources/dia_ca.txt\",\n \"revision\": \"0775c1bab7f20a996dd4b218e3f8a449\"\n },\n {\n \"url\": \"resources/dia_cs.txt\",\n \"revision\": \"77fb71238b58ebf2030f48e48f8efef9\"\n },\n {\n \"url\": \"resources/dia_da.txt\",\n \"revision\": \"cd75932491bde2cd5b278653ab8faa65\"\n },\n {\n \"url\": \"resources/dia_de.txt\",\n \"revision\": \"d86e3159e7133e9f6d813cd69c822d64\"\n },\n {\n \"url\": \"resources/dia_el.txt\",\n \"revision\": \"bc455829c3997854fa9995ec1f485c2a\"\n },\n {\n \"url\": \"resources/dia_eo.txt\",\n \"revision\": \"d17281295e68094a3858d2a42ce05a99\"\n },\n {\n \"url\": \"resources/dia_es.txt\",\n \"revision\": \"e96fb8b6c55bece9428596fdf2cda566\"\n },\n {\n \"url\": \"resources/dia_et.txt\",\n \"revision\": \"449ac27dda466b9c1a24998da405e2b0\"\n },\n {\n \"url\": \"resources/dia_eu.txt\",\n \"revision\": \"0b6854301e1b665cc6101198460db65a\"\n },\n {\n \"url\": \"resources/dia_fa.txt\",\n \"revision\": \"144cf579e9d0a5ee8f75dd3015dba4a0\"\n },\n {\n \"url\": \"resources/dia_fi.txt\",\n \"revision\": \"6a31abae775e2772a24f22f35b4bb0ae\"\n },\n {\n \"url\": \"resources/dia_fil.txt\",\n \"revision\": \"2b4605bf77921cff3c88189340536964\"\n },\n {\n \"url\": \"resources/dia_fr.txt\",\n \"revision\": \"5334bcb823a3c87ec9432b8b176cb5c2\"\n },\n {\n \"url\": \"resources/dia_gl.txt\",\n \"revision\": \"8dd1933410990e59a568ac29db6e1315\"\n },\n {\n \"url\": \"resources/dia_gu.txt\",\n \"revision\": \"066a5e40cbee438770a56d6a51979bca\"\n },\n {\n \"url\": \"resources/dia_he.txt\",\n \"revision\": \"a530f27303fb8ac353023929ffc768d5\"\n },\n {\n \"url\": \"resources/dia_hi.txt\",\n \"revision\": \"67dddcf3cdb95c08e1d92527a2b52fb6\"\n },\n {\n \"url\": \"resources/dia_hr.txt\",\n \"revision\": \"99b302427b5179c5fe1d3c8141717125\"\n },\n {\n \"url\": \"resources/dia_hu.txt\",\n \"revision\": \"2dac8ba4467e7bcdfc81266a5cee92fc\"\n },\n {\n \"url\": \"resources/dia_id.txt\",\n \"revision\": \"6f61d4a91e6ba6dbf0aaebf37bdfec88\"\n },\n {\n \"url\": \"resources/dia_it.txt\",\n \"revision\": \"27b69a7e86d35ac9d156e2db20379810\"\n },\n {\n \"url\": \"resources/dia_ja.txt\",\n \"revision\": \"089fb0594b952b58ddea125b3285dd3b\"\n },\n {\n \"url\": \"resources/dia_kn.txt\",\n \"revision\": \"cb0ac19b0e3c769c81ec342eaabee395\"\n },\n {\n \"url\": \"resources/dia_ko.txt\",\n \"revision\": \"bb8d40f67f47752fe0a1db41d21ccab2\"\n },\n {\n \"url\": \"resources/dia_lt.txt\",\n \"revision\": \"c8c0d1821ff616397271bf4db598b794\"\n },\n {\n \"url\": \"resources/dia_lv.txt\",\n \"revision\": \"416a07e903e7125c84793bd930a04f3e\"\n },\n {\n \"url\": \"resources/dia_ml.txt\",\n \"revision\": \"24ae30c04f68c53cd5001489f76693c8\"\n },\n {\n \"url\": \"resources/dia_mr.txt\",\n \"revision\": \"2c8314be591e503fc524de6420aa8e51\"\n },\n {\n \"url\": \"resources/dia_ms.txt\",\n \"revision\": \"fd171089b53877861719ec8b367aaea4\"\n },\n {\n \"url\": \"resources/dia_my.txt\",\n \"revision\": \"982f513a645aa0ddd0f686bd4ed4aec1\"\n },\n {\n \"url\": \"resources/dia_nl.txt\",\n \"revision\": \"fe9d955e4e1579a5b1602e8a8a8be1e7\"\n },\n {\n \"url\": \"resources/dia_no.txt\",\n \"revision\": \"676b860960b67e31a1db16a4c66fb63a\"\n },\n {\n \"url\": \"resources/dia_pl.txt\",\n \"revision\": \"f63553fe81de7e667e668723a8dc34a9\"\n },\n {\n \"url\": \"resources/dia_pt-br.txt\",\n \"revision\": \"5f7d6655dc2664280a85dba07337c889\"\n },\n {\n \"url\": \"resources/dia_pt.txt\",\n \"revision\": \"45183af337ce62cd726086e9e78c83fe\"\n },\n {\n \"url\": \"resources/dia_ro.txt\",\n \"revision\": \"2ec5b7f9fe52cb2ad9bc7e2b037f9813\"\n },\n {\n \"url\": \"resources/dia_ru.txt\",\n \"revision\": \"eaaf02f90520705fc8904d69b52b22a8\"\n },\n {\n \"url\": \"resources/dia_si.txt\",\n \"revision\": \"1016fd0c1b03e8a2184fc81ba1ddb8cb\"\n },\n {\n \"url\": \"resources/dia_sk.txt\",\n \"revision\": \"a87fc8453955b91596ee52e8ad17ed5d\"\n },\n {\n \"url\": \"resources/dia_sl.txt\",\n \"revision\": \"17bd807232c5b1e7671fd1c861e42576\"\n },\n {\n \"url\": \"resources/dia_sr.txt\",\n \"revision\": \"9433a5cab8ef7d438a931f86a4cd07ea\"\n },\n {\n \"url\": \"resources/dia_sv.txt\",\n \"revision\": \"9fbf7ac0c5a83616b1554b08613bf4e0\"\n },\n {\n \"url\": \"resources/dia_sw.txt\",\n \"revision\": \"97613c9823ffb4939df02432800c5b18\"\n },\n {\n \"url\": \"resources/dia_ta.txt\",\n \"revision\": \"29b3a39bbd2ab9ba982fec70ecc2aff9\"\n },\n {\n \"url\": \"resources/dia_te.txt\",\n \"revision\": \"233aacc2550a5068acc60636325bbd57\"\n },\n {\n \"url\": \"resources/dia_th.txt\",\n \"revision\": \"0137b4fc300de489b36cbbe2fb3588d7\"\n },\n {\n \"url\": \"resources/dia_tr.txt\",\n \"revision\": \"32cae590b58800ddf4a4845c6d973371\"\n },\n {\n \"url\": \"resources/dia_uk.txt\",\n \"revision\": \"bf78981db5ce39791d7dc2c59f016353\"\n },\n {\n \"url\": \"resources/dia_vi.txt\",\n \"revision\": \"e60875531ad837e20f50729222fb9bee\"\n },\n {\n \"url\": \"resources/dia_zh-tw.txt\",\n \"revision\": \"20b279db06cc54028ff33b7053f47020\"\n },\n {\n \"url\": \"resources/dia_zh.txt\",\n \"revision\": \"1c0909d84853e02b9c3484ce541338b1\"\n },\n {\n \"url\": \"favicon.ico\",\n \"revision\": \"b2bf17349e4b50ce4ba311f079f8bf7d\"\n },\n {\n \"url\": \"images/manifest.json\",\n \"revision\": \"421b4fae5b46499348d194e1f93558c3\"\n },\n {\n \"url\": \"images/logo.png\",\n \"revision\": \"e4e0d092abdb1e668b5ec41a7fe0713c\"\n },\n {\n \"url\": \"images/drawlogo.svg\",\n \"revision\": \"4bf4d14ebcf072d8bd4c5a1c89e88fc6\"\n },\n {\n \"url\": \"images/drawlogo48.png\",\n \"revision\": \"8b13428373aca67b895364d025f42417\"\n },\n {\n \"url\": \"images/drawlogo-gray.svg\",\n \"revision\": \"0aabacbc0873816e1e09e4736ae44c7d\"\n },\n {\n \"url\": \"images/drawlogo-text-bottom.svg\",\n \"revision\": \"f6c438823ab31f290940bd4feb8dd9c2\"\n },\n {\n \"url\": \"images/logo-flat-small.png\",\n \"revision\": \"4b178e59ff499d6dd1894fc498b59877\"\n },\n {\n \"url\": \"images/apple-touch-icon.png\",\n \"revision\": \"732c29e21332a926318a7005d21ec450\"\n },\n {\n \"url\": \"images/icon-192-maskable.png\",\n \"revision\": \"47e006d0ce4a35eb5beaa97f0c2bfed0\"\n },\n {\n \"url\": \"images/icon-192.png\",\n \"revision\": \"d022403d52435d76afec82c4e24a17ef\"\n },\n {\n \"url\": \"images/icon-512-maskable.png\",\n \"revision\": \"cf152feeb01fb21f3148a71a3540266e\"\n },\n {\n \"url\": \"images/icon-512.png\",\n \"revision\": \"a3a0df7e7a385244b74073f81ecc45de\"\n },\n {\n \"url\": \"images/delete.png\",\n \"revision\": \"5f2350f2fd20f1a229637aed32ed8f29\"\n },\n {\n \"url\": \"images/droptarget.png\",\n \"revision\": \"bbf7f563fb6784de1ce96f329519b043\"\n },\n {\n \"url\": \"images/logo-flat.png\",\n \"revision\": \"038070ab43aee6e54a791211859fc67b\"\n },\n {\n \"url\": \"images/google-drive-logo.svg\",\n \"revision\": \"5d9f2f5bbc7dcc252730a0072bb23059\"\n },\n {\n \"url\": \"images/onedrive-logo.svg\",\n \"revision\": \"3645b344ec0634c1290dd58d7dc87b97\"\n },\n {\n \"url\": \"images/dropbox-logo.svg\",\n \"revision\": \"e6be408c77cf9c82d41ac64fa854280a\"\n },\n {\n \"url\": \"images/github-logo.svg\",\n \"revision\": \"a1a999b69a275eac0cb918360ac05ae1\"\n },\n {\n \"url\": \"images/gitlab-logo.svg\",\n \"revision\": \"0faea8c818899e58533e153c44b10517\"\n },\n {\n \"url\": \"images/trello-logo.svg\",\n \"revision\": \"006fd0d7d70d7e95dc691674cb12e044\"\n },\n {\n \"url\": \"images/osa_drive-harddisk.png\",\n \"revision\": \"b954e1ae772087c5b4c6ae797e1f9649\"\n },\n {\n \"url\": \"images/osa_database.png\",\n \"revision\": \"c350d9d9b95f37b6cfe798b40ede5fb0\"\n },\n {\n \"url\": \"images/google-drive-logo-white.svg\",\n \"revision\": \"f329d8b1be7778515a85b93fc35d9f26\"\n },\n {\n \"url\": \"images/dropbox-logo-white.svg\",\n \"revision\": \"4ea8299ac3bc31a16f199ee3aec223bf\"\n },\n {\n \"url\": \"images/onedrive-logo-white.svg\",\n \"revision\": \"b3602fa0fc947009cff3f33a581cff4d\"\n },\n {\n \"url\": \"images/github-logo-white.svg\",\n \"revision\": \"537b1127b3ca0f95b45782d1304fb77a\"\n },\n {\n \"url\": \"images/gitlab-logo-white.svg\",\n \"revision\": \"5fede9ac2f394c716b8c23e3fddc3910\"\n },\n {\n \"url\": \"images/trello-logo-white-orange.svg\",\n \"revision\": \"e2a0a52ba3766682f138138d10a75eb5\"\n },\n {\n \"url\": \"images/logo-confluence.png\",\n \"revision\": \"ed1e55d44ae5eba8f999aba2c93e8331\"\n },\n {\n \"url\": \"images/logo-jira.png\",\n \"revision\": \"f8d460555a0d1f87cfd901e940666629\"\n },\n {\n \"url\": \"images/spin.gif\",\n \"revision\": \"487cbb40b9ced439aa1ad914e816d773\"\n },\n {\n \"url\": \"images/aui-wait.gif\",\n \"revision\": \"5a474bcbd8d2f2826f03d10ea44bf60e\"\n },\n {\n \"url\": \"mxgraph/css/common.css\",\n \"revision\": \"8d895dc8387694c128232b13e631be39\"\n }\n], {\n \"ignoreURLParametersMatching\": [/.*/]\n});\n\n\n\n\n\n\n\n\n"],"names":["self","skipWaiting","workbox_precaching_precacheAndRoute","url","revision","ignoreURLParametersMatching"],"mappings":"0nBAmBAA,KAAKC,cAULC,EAAAA,iBAAoC,CAClC,CACEC,IAAO,kBACPC,SAAY,oCAEd,CACED,IAAO,aACPC,SAAY,oCAEd,CACED,IAAO,gBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,qBACPC,SAAY,oCAEd,CACED,IAAO,qBACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,mBACPC,SAAY,oCAEd,CACED,IAAO,aACPC,SAAY,oCAEd,CACED,IAAO,YACPC,SAAY,oCAEd,CACED,IAAO,gBACPC,SAAY,oCAEd,CACED,IAAO,8CACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,2BACPC,SAAY,oCAEd,CACED,IAAO,gCACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,iCACPC,SAAY,oCAEd,CACED,IAAO,uCACPC,SAAY,oCAEd,CACED,IAAO,iCACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,8BACPC,SAAY,oCAEd,CACED,IAAO,2BACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,yCACPC,SAAY,oCAEd,CACED,IAAO,oCACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,4BACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,4BACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,gCACPC,SAAY,oCAEd,CACED,IAAO,oCACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,wCACPC,SAAY,oCAEd,CACED,IAAO,4CACPC,SAAY,oCAEd,CACED,IAAO,6CACPC,SAAY,oCAEd,CACED,IAAO,yCACPC,SAAY,oCAEd,CACED,IAAO,qCACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,oBACPC,SAAY,oCAEd,CACED,IAAO,wCACPC,SAAY,oCAEd,CACED,IAAO,yCACPC,SAAY,oCAEd,CACED,IAAO,6CACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,+CACPC,SAAY,oCAEd,CACED,IAAO,0CACPC,SAAY,oCAEd,CACED,IAAO,6CACPC,SAAY,oCAEd,CACED,IAAO,yCACPC,SAAY,oCAEd,CACED,IAAO,4CACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,4CACPC,SAAY,oCAEd,CACED,IAAO,0CACPC,SAAY,oCAEd,CACED,IAAO,0CACPC,SAAY,oCAEd,CACED,IAAO,8CACPC,SAAY,oCAEd,CACED,IAAO,+CACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,yCACPC,SAAY,oCAEd,CACED,IAAO,0CACPC,SAAY,oCAEd,CACED,IAAO,6CACPC,SAAY,oCAEd,CACED,IAAO,+CACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,4CACPC,SAAY,oCAEd,CACED,IAAO,8CACPC,SAAY,oCAEd,CACED,IAAO,4CACPC,SAAY,oCAEd,CACED,IAAO,4CACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,oDACPC,SAAY,oCAEd,CACED,IAAO,0CACPC,SAAY,oCAEd,CACED,IAAO,uDACPC,SAAY,oCAEd,CACED,IAAO,uDACPC,SAAY,oCAEd,CACED,IAAO,uDACPC,SAAY,oCAEd,CACED,IAAO,oBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,wBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,cACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,kBACPC,SAAY,oCAEd,CACED,IAAO,sBACPC,SAAY,oCAEd,CACED,IAAO,wBACPC,SAAY,oCAEd,CACED,IAAO,2BACPC,SAAY,oCAEd,CACED,IAAO,kCACPC,SAAY,oCAEd,CACED,IAAO,6BACPC,SAAY,oCAEd,CACED,IAAO,8BACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,sBACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,sBACPC,SAAY,oCAEd,CACED,IAAO,oBACPC,SAAY,oCAEd,CACED,IAAO,wBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,2BACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,gCACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,qCACPC,SAAY,oCAEd,CACED,IAAO,gCACPC,SAAY,oCAEd,CACED,IAAO,iCACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,sCACPC,SAAY,oCAEd,CACED,IAAO,6BACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,kBACPC,SAAY,oCAEd,CACED,IAAO,sBACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,qCAEb,CACDC,4BAA+B,CAAC"}
\ No newline at end of file
+{"version":3,"file":"service-worker.js","sources":["../../../../../../private/var/folders/w3/8z182_j14fbd1p8pn7nc032h0000gn/T/13a54b8b912635622419aff1176391fd/service-worker.js"],"sourcesContent":["import {precacheAndRoute as workbox_precaching_precacheAndRoute} from '/Users/davidbenson/.nvm/versions/node/v22.14.0/lib/node_modules/workbox-cli/node_modules/workbox-precaching/precacheAndRoute.mjs';/**\n * Welcome to your Workbox-powered service worker!\n *\n * You'll need to register this file in your web app.\n * See https://goo.gl/nhQhGp\n *\n * The rest of the code is auto-generated. Please don't update this file\n * directly; instead, make changes to your Workbox build configuration\n * and re-run your build process.\n * See https://goo.gl/2aRDsh\n */\n\n\n\n\n\n\n\n\nself.skipWaiting();\n\n\n\n\n/**\n * The precacheAndRoute() method efficiently caches and responds to\n * requests for URLs in the manifest.\n * See https://goo.gl/S9QRab\n */\nworkbox_precaching_precacheAndRoute([\n {\n \"url\": \"js/bootstrap.js\",\n \"revision\": \"5bd9c052196840673b9e60ea966a9ed9\"\n },\n {\n \"url\": \"js/main.js\",\n \"revision\": \"a8d40469d3d72ab4b11059362f3dd825\"\n },\n {\n \"url\": \"js/app.min.js\",\n \"revision\": \"0869cc9aae2f7a223ac77339a103d245\"\n },\n {\n \"url\": \"js/extensions.min.js\",\n \"revision\": \"c4612c3f2ebbcf5cc6a4828478664fb0\"\n },\n {\n \"url\": \"js/orgchart.min.js\",\n \"revision\": \"619d8c4dab47b81868916df31f55478b\"\n },\n {\n \"url\": \"js/stencils.min.js\",\n \"revision\": \"54eda90e3b255ee094aa7b78cabc117c\"\n },\n {\n \"url\": \"js/shapes-14-6-5.min.js\",\n \"revision\": \"cefa54697c18c7c7e56e754473aa9816\"\n },\n {\n \"url\": \"js/math-print.js\",\n \"revision\": \"ad9cf0f2f2b614eac58ea72499c1017f\"\n },\n {\n \"url\": \"index.html\",\n \"revision\": \"9de11c65ec13b24c73ace7042bc529cc\"\n },\n {\n \"url\": \"open.html\",\n \"revision\": \"d71816b3b00e769fc6019fcdd6921662\"\n },\n {\n \"url\": \"shortcuts.svg\",\n \"revision\": \"2381dd779ce6cfee954042a7f784c7e6\"\n },\n {\n \"url\": \"styles/fonts/ArchitectsDaughter-Regular.ttf\",\n \"revision\": \"31c2153c0530e32553b31a49b3d70736\"\n },\n {\n \"url\": \"styles/grapheditor.css\",\n \"revision\": \"52cbd8ab7583a92acae8b1072443edcf\"\n },\n {\n \"url\": \"styles/high-contrast.css\",\n \"revision\": \"0c0219b1016c8bd6bbf859cfd53b5058\"\n },\n {\n \"url\": \"js/dropbox/Dropbox-sdk.min.js\",\n \"revision\": \"4b9842892aa37b156db0a8364b7a83b0\"\n },\n {\n \"url\": \"js/onedrive/OneDrive.js\",\n \"revision\": \"e863f5e6833892f22492211663e3efe9\"\n },\n {\n \"url\": \"js/viewer-static.min.js\",\n \"revision\": \"69c0fc93cd33813b448f35c6ce6ed631\"\n },\n {\n \"url\": \"connect/jira/editor-1-3-3.html\",\n \"revision\": \"41dc8af9576b47f359cff19fff7a41c2\"\n },\n {\n \"url\": \"connect/jira/viewerPanel-1-3-12.html\",\n \"revision\": \"4836f5e4308abe57830e441518364f23\"\n },\n {\n \"url\": \"connect/jira/viewerPanel2.html\",\n \"revision\": \"0dd1ee1343a46b5c03aedbc587450b84\"\n },\n {\n \"url\": \"connect/jira/fullScreenViewer-1-3-3.html\",\n \"revision\": \"abed474e47c0c41a5ad2366b4828f77a\"\n },\n {\n \"url\": \"connect/jira/viewerPanel.js\",\n \"revision\": \"85011efa68d638da560871ee2ab3a6fe\"\n },\n {\n \"url\": \"connect/jira/spinner.gif\",\n \"revision\": \"7d857ab9d86123e93d74d48e958fe743\"\n },\n {\n \"url\": \"connect/jira/editor.js\",\n \"revision\": \"3dc56c6566abaa7af151a8359e5bb556\"\n },\n {\n \"url\": \"connect/jira/fullscreen-viewer-init.js\",\n \"revision\": \"07043c1ee868dd425f7876da94bbc307\"\n },\n {\n \"url\": \"connect/jira/fullscreen-viewer.js\",\n \"revision\": \"a6be96b8ddc5a25196925713cf34d571\"\n },\n {\n \"url\": \"plugins/connectJira.js\",\n \"revision\": \"d220cad2edf0d6b161505fe12ae3eaa6\"\n },\n {\n \"url\": \"plugins/cConf-comments.js\",\n \"revision\": \"e4a4b5a0fb22393693d3b62968c50644\"\n },\n {\n \"url\": \"plugins/cConf-1-4-8.js\",\n \"revision\": \"54f3950154107db8d06166c3c0a5c5eb\"\n },\n {\n \"url\": \"connect/confluence/connectUtils-1-4-8.js\",\n \"revision\": \"1ece124d9b3523b536e99aeca5c3b8f5\"\n },\n {\n \"url\": \"connect/new_common/cac.js\",\n \"revision\": \"b52c73de9d22b867a036ad50c6bfdca2\"\n },\n {\n \"url\": \"connect/gdrive_common/gac.js\",\n \"revision\": \"c66fdc50ec87002a502cb0779b73a692\"\n },\n {\n \"url\": \"connect/onedrive_common/ac.js\",\n \"revision\": \"1264ba8705eff0d1337701e5ae962366\"\n },\n {\n \"url\": \"connect/confluence/viewer-init.js\",\n \"revision\": \"c5e51e32ac74414d8d518af83ee2781f\"\n },\n {\n \"url\": \"connect/confluence/viewer.js\",\n \"revision\": \"9128708cd80881dbf6caa06f2c4ebda8\"\n },\n {\n \"url\": \"connect/confluence/viewer-1-4-42.html\",\n \"revision\": \"69c1bca25fd4889bf832e8441c972268\"\n },\n {\n \"url\": \"connect/confluence/macroEditor-1-4-8.html\",\n \"revision\": \"4ad77ae3f08c19eddac932b2fa8c7068\"\n },\n {\n \"url\": \"connect/confluence/includeDiagram-1-4-8.js\",\n \"revision\": \"c2bf5b089b99006177ca184d65a4a25e\"\n },\n {\n \"url\": \"connect/confluence/includeDiagram.html\",\n \"revision\": \"01b04b3f54f1e2e63fcf1df033d24519\"\n },\n {\n \"url\": \"connect/confluence/macro-editor.js\",\n \"revision\": \"b9000d6c20f30e4068f83bd0b56965ca\"\n },\n {\n \"url\": \"math4/es5/ui/safe.js\",\n \"revision\": \"ca702f2c33fd000f84a31ba448cc3bbf\"\n },\n {\n \"url\": \"math4/es5/core.js\",\n \"revision\": \"4607f737b02b88906a3de918f695a85a\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/bbm.js\",\n \"revision\": \"f839fd234392a29fae68a667313db71b\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/html.js\",\n \"revision\": \"a71cd4473f46ca2bc60d3015da2a6e40\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/extpfeil.js\",\n \"revision\": \"feb34084ae063f83b0409eddc9d9dc81\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/action.js\",\n \"revision\": \"c2cee3376245e4d15c4a15c4164df08a\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/boldsymbol.js\",\n \"revision\": \"7bf3cf63a47dbd03f3e7d9d4df84bae4\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/cases.js\",\n \"revision\": \"aa35c75c635186efb1dd5e9722713946\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/colortbl.js\",\n \"revision\": \"f896fdb04e6f3df63257caaf8d75d268\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/verb.js\",\n \"revision\": \"843fb0a2270c0fa3ea4080593da21d82\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/unicode.js\",\n \"revision\": \"d3900aa9a043f44a07847b0cf3ae6940\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/cancel.js\",\n \"revision\": \"e4db0cde5bb14f0793c281139c2e485c\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/enclose.js\",\n \"revision\": \"d46a3a720575151a79008be13bcfef8d\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/units.js\",\n \"revision\": \"424e4c6aa011b9b58df75e153b0870ee\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/color.js\",\n \"revision\": \"b6dbc33a43f729f00af47bd3a4374d0c\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/mathtools.js\",\n \"revision\": \"348268cc61b98c665d45194ecf01e047\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/begingroup.js\",\n \"revision\": \"f1a93faf8b7d1acfe7583760809702e3\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/braket.js\",\n \"revision\": \"07ecdc3db00f10c48a4f709943a9bdcb\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/dsfont.js\",\n \"revision\": \"64037fdb45974a4e2f0da7704ac8c4ac\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/bbox.js\",\n \"revision\": \"1ba6f3b786b073704f021da833dd4a9c\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/amscd.js\",\n \"revision\": \"1342643662211e7fa042694bc6cadb95\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/textcomp.js\",\n \"revision\": \"e1de4fee5c5ba3684de51645b1c5f9df\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/bussproofs.js\",\n \"revision\": \"9c1714e7a9ba17d54cc10cf38bb87650\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/bboldx.js\",\n \"revision\": \"081cd0478ee12c4bf876533c079f2719\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/physics.js\",\n \"revision\": \"554b5d391c5535710c0ab62221d59db0\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/centernot.js\",\n \"revision\": \"1987ac8a9960b7a1345ef535f78b6688\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/gensymb.js\",\n \"revision\": \"b8d108904ba3d813d4b1fe4240c11bf1\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/upgreek.js\",\n \"revision\": \"9d5a31488315d7a60411221b2f119e14\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/empheq.js\",\n \"revision\": \"1cf5298ed83c3a5cc397f44e9bd76118\"\n },\n {\n \"url\": \"math4/es5/input/tex/extensions/mhchem.js\",\n \"revision\": \"c13cdcec4cbf9ca20d91a315fa452e99\"\n },\n {\n \"url\": \"math4/es5/input/asciimath.js\",\n \"revision\": \"5433e3809df4cd12bbb222481fe2a85b\"\n },\n {\n \"url\": \"math4/es5/input/tex.js\",\n \"revision\": \"76f4e47cb8354ae67bac3c6a475f4820\"\n },\n {\n \"url\": \"math4/es5/startup.js\",\n \"revision\": \"04da7a3133792269379424cd8aff94a5\"\n },\n {\n \"url\": \"math4/es5/output/svg.js\",\n \"revision\": \"461be88e9e32bbef3e3993c18bceb744\"\n },\n {\n \"url\": \"math4/es5/fonts/mathjax-bbm-font-extension/svg.js\",\n \"revision\": \"7da09cb4068fe07c444294e5f2e9b66c\"\n },\n {\n \"url\": \"math4/es5/fonts/mathjax-tex-font/svg.js\",\n \"revision\": \"b563bd77c9be00fbfead1c9a96e75553\"\n },\n {\n \"url\": \"math4/es5/fonts/mathjax-bboldx-font-extension/svg.js\",\n \"revision\": \"b3da46cecb11686a51b3b5f013efe8af\"\n },\n {\n \"url\": \"math4/es5/fonts/mathjax-dsfont-font-extension/svg.js\",\n \"revision\": \"2e96de5f4482376298b7d57baed44b6b\"\n },\n {\n \"url\": \"math4/es5/fonts/mathjax-mhchem-font-extension/svg.js\",\n \"revision\": \"11d1bd7052772efb4c2fee5177dcb4e1\"\n },\n {\n \"url\": \"resources/dia.txt\",\n \"revision\": \"af20c33c5345dbbdd4bac22749f57ebe\"\n },\n {\n \"url\": \"resources/dia_am.txt\",\n \"revision\": \"d035d41e768880daaaab78fd58c51016\"\n },\n {\n \"url\": \"resources/dia_ar.txt\",\n \"revision\": \"3963663eae708d6f2395b28748c90b45\"\n },\n {\n \"url\": \"resources/dia_bg.txt\",\n \"revision\": \"10ac128e0571337e1545c9a9d6122655\"\n },\n {\n \"url\": \"resources/dia_bn.txt\",\n \"revision\": \"3eec21e2f449384bae737fc16f765653\"\n },\n {\n \"url\": \"resources/dia_bs.txt\",\n \"revision\": \"77007214c953c02746cce1577d46179e\"\n },\n {\n \"url\": \"resources/dia_ca.txt\",\n \"revision\": \"0775c1bab7f20a996dd4b218e3f8a449\"\n },\n {\n \"url\": \"resources/dia_cs.txt\",\n \"revision\": \"77fb71238b58ebf2030f48e48f8efef9\"\n },\n {\n \"url\": \"resources/dia_da.txt\",\n \"revision\": \"cd75932491bde2cd5b278653ab8faa65\"\n },\n {\n \"url\": \"resources/dia_de.txt\",\n \"revision\": \"d86e3159e7133e9f6d813cd69c822d64\"\n },\n {\n \"url\": \"resources/dia_el.txt\",\n \"revision\": \"bc455829c3997854fa9995ec1f485c2a\"\n },\n {\n \"url\": \"resources/dia_eo.txt\",\n \"revision\": \"d17281295e68094a3858d2a42ce05a99\"\n },\n {\n \"url\": \"resources/dia_es.txt\",\n \"revision\": \"e96fb8b6c55bece9428596fdf2cda566\"\n },\n {\n \"url\": \"resources/dia_et.txt\",\n \"revision\": \"449ac27dda466b9c1a24998da405e2b0\"\n },\n {\n \"url\": \"resources/dia_eu.txt\",\n \"revision\": \"0b6854301e1b665cc6101198460db65a\"\n },\n {\n \"url\": \"resources/dia_fa.txt\",\n \"revision\": \"144cf579e9d0a5ee8f75dd3015dba4a0\"\n },\n {\n \"url\": \"resources/dia_fi.txt\",\n \"revision\": \"6a31abae775e2772a24f22f35b4bb0ae\"\n },\n {\n \"url\": \"resources/dia_fil.txt\",\n \"revision\": \"2b4605bf77921cff3c88189340536964\"\n },\n {\n \"url\": \"resources/dia_fr.txt\",\n \"revision\": \"5334bcb823a3c87ec9432b8b176cb5c2\"\n },\n {\n \"url\": \"resources/dia_gl.txt\",\n \"revision\": \"8dd1933410990e59a568ac29db6e1315\"\n },\n {\n \"url\": \"resources/dia_gu.txt\",\n \"revision\": \"066a5e40cbee438770a56d6a51979bca\"\n },\n {\n \"url\": \"resources/dia_he.txt\",\n \"revision\": \"a530f27303fb8ac353023929ffc768d5\"\n },\n {\n \"url\": \"resources/dia_hi.txt\",\n \"revision\": \"67dddcf3cdb95c08e1d92527a2b52fb6\"\n },\n {\n \"url\": \"resources/dia_hr.txt\",\n \"revision\": \"99b302427b5179c5fe1d3c8141717125\"\n },\n {\n \"url\": \"resources/dia_hu.txt\",\n \"revision\": \"2dac8ba4467e7bcdfc81266a5cee92fc\"\n },\n {\n \"url\": \"resources/dia_id.txt\",\n \"revision\": \"6f61d4a91e6ba6dbf0aaebf37bdfec88\"\n },\n {\n \"url\": \"resources/dia_it.txt\",\n \"revision\": \"27b69a7e86d35ac9d156e2db20379810\"\n },\n {\n \"url\": \"resources/dia_ja.txt\",\n \"revision\": \"089fb0594b952b58ddea125b3285dd3b\"\n },\n {\n \"url\": \"resources/dia_kn.txt\",\n \"revision\": \"cb0ac19b0e3c769c81ec342eaabee395\"\n },\n {\n \"url\": \"resources/dia_ko.txt\",\n \"revision\": \"bb8d40f67f47752fe0a1db41d21ccab2\"\n },\n {\n \"url\": \"resources/dia_lt.txt\",\n \"revision\": \"c8c0d1821ff616397271bf4db598b794\"\n },\n {\n \"url\": \"resources/dia_lv.txt\",\n \"revision\": \"416a07e903e7125c84793bd930a04f3e\"\n },\n {\n \"url\": \"resources/dia_ml.txt\",\n \"revision\": \"24ae30c04f68c53cd5001489f76693c8\"\n },\n {\n \"url\": \"resources/dia_mr.txt\",\n \"revision\": \"2c8314be591e503fc524de6420aa8e51\"\n },\n {\n \"url\": \"resources/dia_ms.txt\",\n \"revision\": \"fd171089b53877861719ec8b367aaea4\"\n },\n {\n \"url\": \"resources/dia_my.txt\",\n \"revision\": \"982f513a645aa0ddd0f686bd4ed4aec1\"\n },\n {\n \"url\": \"resources/dia_nl.txt\",\n \"revision\": \"fe9d955e4e1579a5b1602e8a8a8be1e7\"\n },\n {\n \"url\": \"resources/dia_no.txt\",\n \"revision\": \"676b860960b67e31a1db16a4c66fb63a\"\n },\n {\n \"url\": \"resources/dia_pl.txt\",\n \"revision\": \"f63553fe81de7e667e668723a8dc34a9\"\n },\n {\n \"url\": \"resources/dia_pt-br.txt\",\n \"revision\": \"5f7d6655dc2664280a85dba07337c889\"\n },\n {\n \"url\": \"resources/dia_pt.txt\",\n \"revision\": \"45183af337ce62cd726086e9e78c83fe\"\n },\n {\n \"url\": \"resources/dia_ro.txt\",\n \"revision\": \"2ec5b7f9fe52cb2ad9bc7e2b037f9813\"\n },\n {\n \"url\": \"resources/dia_ru.txt\",\n \"revision\": \"eaaf02f90520705fc8904d69b52b22a8\"\n },\n {\n \"url\": \"resources/dia_si.txt\",\n \"revision\": \"1016fd0c1b03e8a2184fc81ba1ddb8cb\"\n },\n {\n \"url\": \"resources/dia_sk.txt\",\n \"revision\": \"a87fc8453955b91596ee52e8ad17ed5d\"\n },\n {\n \"url\": \"resources/dia_sl.txt\",\n \"revision\": \"17bd807232c5b1e7671fd1c861e42576\"\n },\n {\n \"url\": \"resources/dia_sr.txt\",\n \"revision\": \"9433a5cab8ef7d438a931f86a4cd07ea\"\n },\n {\n \"url\": \"resources/dia_sv.txt\",\n \"revision\": \"9fbf7ac0c5a83616b1554b08613bf4e0\"\n },\n {\n \"url\": \"resources/dia_sw.txt\",\n \"revision\": \"97613c9823ffb4939df02432800c5b18\"\n },\n {\n \"url\": \"resources/dia_ta.txt\",\n \"revision\": \"29b3a39bbd2ab9ba982fec70ecc2aff9\"\n },\n {\n \"url\": \"resources/dia_te.txt\",\n \"revision\": \"233aacc2550a5068acc60636325bbd57\"\n },\n {\n \"url\": \"resources/dia_th.txt\",\n \"revision\": \"0137b4fc300de489b36cbbe2fb3588d7\"\n },\n {\n \"url\": \"resources/dia_tr.txt\",\n \"revision\": \"32cae590b58800ddf4a4845c6d973371\"\n },\n {\n \"url\": \"resources/dia_uk.txt\",\n \"revision\": \"bf78981db5ce39791d7dc2c59f016353\"\n },\n {\n \"url\": \"resources/dia_vi.txt\",\n \"revision\": \"e60875531ad837e20f50729222fb9bee\"\n },\n {\n \"url\": \"resources/dia_zh-tw.txt\",\n \"revision\": \"20b279db06cc54028ff33b7053f47020\"\n },\n {\n \"url\": \"resources/dia_zh.txt\",\n \"revision\": \"1c0909d84853e02b9c3484ce541338b1\"\n },\n {\n \"url\": \"favicon.ico\",\n \"revision\": \"b2bf17349e4b50ce4ba311f079f8bf7d\"\n },\n {\n \"url\": \"images/manifest.json\",\n \"revision\": \"421b4fae5b46499348d194e1f93558c3\"\n },\n {\n \"url\": \"images/logo.png\",\n \"revision\": \"e4e0d092abdb1e668b5ec41a7fe0713c\"\n },\n {\n \"url\": \"images/drawlogo.svg\",\n \"revision\": \"4bf4d14ebcf072d8bd4c5a1c89e88fc6\"\n },\n {\n \"url\": \"images/drawlogo48.png\",\n \"revision\": \"8b13428373aca67b895364d025f42417\"\n },\n {\n \"url\": \"images/drawlogo-gray.svg\",\n \"revision\": \"0aabacbc0873816e1e09e4736ae44c7d\"\n },\n {\n \"url\": \"images/drawlogo-text-bottom.svg\",\n \"revision\": \"f6c438823ab31f290940bd4feb8dd9c2\"\n },\n {\n \"url\": \"images/logo-flat-small.png\",\n \"revision\": \"4b178e59ff499d6dd1894fc498b59877\"\n },\n {\n \"url\": \"images/apple-touch-icon.png\",\n \"revision\": \"732c29e21332a926318a7005d21ec450\"\n },\n {\n \"url\": \"images/icon-192-maskable.png\",\n \"revision\": \"47e006d0ce4a35eb5beaa97f0c2bfed0\"\n },\n {\n \"url\": \"images/icon-192.png\",\n \"revision\": \"d022403d52435d76afec82c4e24a17ef\"\n },\n {\n \"url\": \"images/icon-512-maskable.png\",\n \"revision\": \"cf152feeb01fb21f3148a71a3540266e\"\n },\n {\n \"url\": \"images/icon-512.png\",\n \"revision\": \"a3a0df7e7a385244b74073f81ecc45de\"\n },\n {\n \"url\": \"images/delete.png\",\n \"revision\": \"5f2350f2fd20f1a229637aed32ed8f29\"\n },\n {\n \"url\": \"images/droptarget.png\",\n \"revision\": \"bbf7f563fb6784de1ce96f329519b043\"\n },\n {\n \"url\": \"images/logo-flat.png\",\n \"revision\": \"038070ab43aee6e54a791211859fc67b\"\n },\n {\n \"url\": \"images/google-drive-logo.svg\",\n \"revision\": \"5d9f2f5bbc7dcc252730a0072bb23059\"\n },\n {\n \"url\": \"images/onedrive-logo.svg\",\n \"revision\": \"3645b344ec0634c1290dd58d7dc87b97\"\n },\n {\n \"url\": \"images/dropbox-logo.svg\",\n \"revision\": \"e6be408c77cf9c82d41ac64fa854280a\"\n },\n {\n \"url\": \"images/github-logo.svg\",\n \"revision\": \"a1a999b69a275eac0cb918360ac05ae1\"\n },\n {\n \"url\": \"images/gitlab-logo.svg\",\n \"revision\": \"0faea8c818899e58533e153c44b10517\"\n },\n {\n \"url\": \"images/trello-logo.svg\",\n \"revision\": \"006fd0d7d70d7e95dc691674cb12e044\"\n },\n {\n \"url\": \"images/osa_drive-harddisk.png\",\n \"revision\": \"b954e1ae772087c5b4c6ae797e1f9649\"\n },\n {\n \"url\": \"images/osa_database.png\",\n \"revision\": \"c350d9d9b95f37b6cfe798b40ede5fb0\"\n },\n {\n \"url\": \"images/google-drive-logo-white.svg\",\n \"revision\": \"f329d8b1be7778515a85b93fc35d9f26\"\n },\n {\n \"url\": \"images/dropbox-logo-white.svg\",\n \"revision\": \"4ea8299ac3bc31a16f199ee3aec223bf\"\n },\n {\n \"url\": \"images/onedrive-logo-white.svg\",\n \"revision\": \"b3602fa0fc947009cff3f33a581cff4d\"\n },\n {\n \"url\": \"images/github-logo-white.svg\",\n \"revision\": \"537b1127b3ca0f95b45782d1304fb77a\"\n },\n {\n \"url\": \"images/gitlab-logo-white.svg\",\n \"revision\": \"5fede9ac2f394c716b8c23e3fddc3910\"\n },\n {\n \"url\": \"images/trello-logo-white-orange.svg\",\n \"revision\": \"e2a0a52ba3766682f138138d10a75eb5\"\n },\n {\n \"url\": \"images/logo-confluence.png\",\n \"revision\": \"ed1e55d44ae5eba8f999aba2c93e8331\"\n },\n {\n \"url\": \"images/logo-jira.png\",\n \"revision\": \"f8d460555a0d1f87cfd901e940666629\"\n },\n {\n \"url\": \"images/spin.gif\",\n \"revision\": \"487cbb40b9ced439aa1ad914e816d773\"\n },\n {\n \"url\": \"images/aui-wait.gif\",\n \"revision\": \"5a474bcbd8d2f2826f03d10ea44bf60e\"\n },\n {\n \"url\": \"mxgraph/css/common.css\",\n \"revision\": \"8d895dc8387694c128232b13e631be39\"\n }\n], {\n \"ignoreURLParametersMatching\": [/.*/]\n});\n\n\n\n\n\n\n\n\n"],"names":["self","skipWaiting","workbox_precaching_precacheAndRoute","url","revision","ignoreURLParametersMatching"],"mappings":"0nBAmBAA,KAAKC,cAULC,EAAAA,iBAAoC,CAClC,CACEC,IAAO,kBACPC,SAAY,oCAEd,CACED,IAAO,aACPC,SAAY,oCAEd,CACED,IAAO,gBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,qBACPC,SAAY,oCAEd,CACED,IAAO,qBACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,mBACPC,SAAY,oCAEd,CACED,IAAO,aACPC,SAAY,oCAEd,CACED,IAAO,YACPC,SAAY,oCAEd,CACED,IAAO,gBACPC,SAAY,oCAEd,CACED,IAAO,8CACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,2BACPC,SAAY,oCAEd,CACED,IAAO,gCACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,iCACPC,SAAY,oCAEd,CACED,IAAO,uCACPC,SAAY,oCAEd,CACED,IAAO,iCACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,8BACPC,SAAY,oCAEd,CACED,IAAO,2BACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,yCACPC,SAAY,oCAEd,CACED,IAAO,oCACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,4BACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,4BACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,gCACPC,SAAY,oCAEd,CACED,IAAO,oCACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,wCACPC,SAAY,oCAEd,CACED,IAAO,4CACPC,SAAY,oCAEd,CACED,IAAO,6CACPC,SAAY,oCAEd,CACED,IAAO,yCACPC,SAAY,oCAEd,CACED,IAAO,qCACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,oBACPC,SAAY,oCAEd,CACED,IAAO,wCACPC,SAAY,oCAEd,CACED,IAAO,yCACPC,SAAY,oCAEd,CACED,IAAO,6CACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,+CACPC,SAAY,oCAEd,CACED,IAAO,0CACPC,SAAY,oCAEd,CACED,IAAO,6CACPC,SAAY,oCAEd,CACED,IAAO,yCACPC,SAAY,oCAEd,CACED,IAAO,4CACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,4CACPC,SAAY,oCAEd,CACED,IAAO,0CACPC,SAAY,oCAEd,CACED,IAAO,0CACPC,SAAY,oCAEd,CACED,IAAO,8CACPC,SAAY,oCAEd,CACED,IAAO,+CACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,yCACPC,SAAY,oCAEd,CACED,IAAO,0CACPC,SAAY,oCAEd,CACED,IAAO,6CACPC,SAAY,oCAEd,CACED,IAAO,+CACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,4CACPC,SAAY,oCAEd,CACED,IAAO,8CACPC,SAAY,oCAEd,CACED,IAAO,4CACPC,SAAY,oCAEd,CACED,IAAO,4CACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,2CACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,oDACPC,SAAY,oCAEd,CACED,IAAO,0CACPC,SAAY,oCAEd,CACED,IAAO,uDACPC,SAAY,oCAEd,CACED,IAAO,uDACPC,SAAY,oCAEd,CACED,IAAO,uDACPC,SAAY,oCAEd,CACED,IAAO,oBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,wBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,cACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,kBACPC,SAAY,oCAEd,CACED,IAAO,sBACPC,SAAY,oCAEd,CACED,IAAO,wBACPC,SAAY,oCAEd,CACED,IAAO,2BACPC,SAAY,oCAEd,CACED,IAAO,kCACPC,SAAY,oCAEd,CACED,IAAO,6BACPC,SAAY,oCAEd,CACED,IAAO,8BACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,sBACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,sBACPC,SAAY,oCAEd,CACED,IAAO,oBACPC,SAAY,oCAEd,CACED,IAAO,wBACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,2BACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,oCAEd,CACED,IAAO,gCACPC,SAAY,oCAEd,CACED,IAAO,0BACPC,SAAY,oCAEd,CACED,IAAO,qCACPC,SAAY,oCAEd,CACED,IAAO,gCACPC,SAAY,oCAEd,CACED,IAAO,iCACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,+BACPC,SAAY,oCAEd,CACED,IAAO,sCACPC,SAAY,oCAEd,CACED,IAAO,6BACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,oCAEd,CACED,IAAO,kBACPC,SAAY,oCAEd,CACED,IAAO,sBACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,qCAEb,CACDC,4BAA+B,CAAC"}
\ No newline at end of file