Skip to content

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

28.0.5 release

David Bensonbedf49c5e823
diff --git a/ChangeLog b/ChangeLog
index 11f600492..7fff5c804 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+16-JUL-2025: 28.0.5
+
+- [conf cloud] Stops converting server macro with aspectHash to embed macro [DID-15703]
+- Add LC case for UserImage2Block shape [DID-15706]
+- Fixes mermaid colors in dark mode [DID-15734]
+
12-JUL-2025: 28.0.4
- Adds pages option to export URL dialog
diff --git a/VERSION b/VERSION
index aef06cfdc..952614541 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-28.0.4
\ No newline at end of file
+28.0.5
\ No newline at end of file
diff --git a/src/main/webapp/clear.html b/src/main/webapp/clear.html
index 468d1661e..bf6a62fa9 100644
--- a/src/main/webapp/clear.html
+++ b/src/main/webapp/clear.html
@@ -3,6 +3,7 @@
<head>
<title>Clear diagrams.net Cache</title>
<meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Clear diagrams.net Cache</title>
<style type="text/css">
@media (prefers-color-scheme: dark) {
@@ -54,7 +55,7 @@
</style>
</head>
<body>
- <div id="content" style="position:relative;display:block;left:50%;transform:translate(-50%,0);width:50%;padding-top:2%;text-align:center;">
+ <div id="content" style="position:relative;display:block;left:50%;transform:translate(-50%,0);width:50%;padding-top:2%;text-align:center;white-space:nowrap;">
<div style="display:flex;align-items:center;opacity:0.7;width:250px;min-width:130px;position:relative;left:50%;transform:translate(-50%,0);">
<svg viewBox="24 26 68 68" style="width:28px;display:inline-block;">
<line y2="72.394" x2="41.061" y1="43.384" x1="58.069" stroke-miterlimit="10" stroke-width="3.5528"
diff --git a/src/main/webapp/js/app.min.js b/src/main/webapp/js/app.min.js
index 5a0d57515..620d6d628 100644
--- a/src/main/webapp/js/app.min.js
+++ b/src/main/webapp/js/app.min.js
@@ -62,7 +62,7 @@ if("1"==urlParams.offline||"1"==urlParams.demo||"1"==urlParams.stealth||"1"==url
"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:"28.0.4",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),
+window.mxImageBasePath=window.mxImageBasePath||"mxgraph/images";window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de","se"];var mxClient={VERSION:"28.0.5",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",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||
@@ -73,14 +73,14 @@ b,c)},include:function(a){document.write('<script src="'+a+'">\x3c/script>')}};"
mxClient.language="undefined"!=typeof mxLanguage&&null!=mxLanguage?mxLanguage:mxClient.IS_IE?navigator.userLanguage:navigator.language;mxClient.defaultLanguage="undefined"!=typeof mxDefaultLanguage&&null!=mxDefaultLanguage?mxDefaultLanguage:"en";mxLoadStylesheets&&mxClient.link("stylesheet","mxgraph/css/common.css");"undefined"!=typeof mxLanguages&&null!=mxLanguages&&(mxClient.languages=mxLanguages);
var mxLog={consoleName:"Console",TRACE:!1,DEBUG:!0,WARN:!0,buffer:"",init:function(){if(null==mxLog.window&&null!=document.body){var a=mxLog.consoleName+" - mxGraph "+mxClient.VERSION,b=document.createElement("table");b.setAttribute("width","100%");b.setAttribute("height","100%");var c=document.createElement("tbody"),d=document.createElement("tr"),e=document.createElement("td");e.style.verticalAlign="top";mxLog.textarea=document.createElement("textarea");mxLog.textarea.setAttribute("wrap","off");
mxLog.textarea.setAttribute("readOnly","true");mxLog.textarea.style.height="100%";mxLog.textarea.style.resize="none";mxLog.textarea.value=mxLog.buffer;mxLog.textarea.style.width=mxClient.IS_NS&&"BackCompat"!=document.compatMode?"99%":"100%";e.appendChild(mxLog.textarea);d.appendChild(e);c.appendChild(d);d=document.createElement("tr");mxLog.td=document.createElement("td");mxLog.td.style.verticalAlign="top";mxLog.td.setAttribute("height","30px");d.appendChild(mxLog.td);c.appendChild(d);b.appendChild(c);
-mxLog.addButton("Info",function(g){mxLog.info()});mxLog.addButton("DOM",function(g){g=mxUtils.getInnerHtml(document.body);mxLog.debug(g)});mxLog.addButton("Trace",function(g){mxLog.TRACE=!mxLog.TRACE;mxLog.TRACE?mxLog.debug("Tracing enabled"):mxLog.debug("Tracing disabled")});mxLog.addButton("Copy",function(g){try{mxUtils.copy(mxLog.textarea.value)}catch(k){mxUtils.alert(k)}});mxLog.addButton("Show",function(g){try{mxUtils.popup(mxLog.textarea.value)}catch(k){mxUtils.alert(k)}});mxLog.addButton("Clear",
-function(g){mxLog.textarea.value=""});d=c=0;"number"===typeof window.innerWidth?(c=window.innerHeight,d=window.innerWidth):(c=document.documentElement.clientHeight||document.body.clientHeight,d=document.body.clientWidth);mxLog.window=new mxWindow(a,b,Math.max(0,d-320),Math.max(0,c-210),300,160);mxLog.window.setMaximizable(!0);mxLog.window.setScrollable(!1);mxLog.window.setResizable(!0);mxLog.window.setClosable(!0);mxLog.window.destroyOnClose=!1;mxLog.window.title.style.paddingRight="80px";mxLog.window.title.setAttribute("title",
-a);if((mxClient.IS_NS||mxClient.IS_IE)&&!mxClient.IS_GC&&!mxClient.IS_SF&&"BackCompat"!=document.compatMode||11==document.documentMode){var f=mxLog.window.getElement();a=function(g,k){mxLog.textarea.style.height=Math.max(0,f.offsetHeight-70)+"px"};mxLog.window.addListener(mxEvent.RESIZE_END,a);mxLog.window.addListener(mxEvent.MAXIMIZE,a);mxLog.window.addListener(mxEvent.NORMALIZE,a);mxLog.textarea.style.height="92px"}}},info:function(){mxLog.writeln(mxUtils.toString(navigator))},addButton:function(a,
-b){var c=document.createElement("button");mxUtils.write(c,a);mxEvent.addListener(c,"click",b);mxLog.td.appendChild(c)},isVisible:function(){return null!=mxLog.window?mxLog.window.isVisible():!1},show:function(){mxLog.setVisible(!0)},setVisible:function(a){null==mxLog.window&&mxLog.init();null!=mxLog.window&&mxLog.window.setVisible(a)},enter:function(a){if(mxLog.TRACE)return mxLog.writeln("Entering "+a),(new Date).getTime()},leave:function(a,b){mxLog.TRACE&&(b=0!=b?" ("+((new Date).getTime()-b)+" ms)":
-"",mxLog.writeln("Leaving "+a+b))},debug:function(){mxLog.DEBUG&&mxLog.writeln.apply(this,arguments)},warn:function(){mxLog.WARN&&mxLog.writeln.apply(this,arguments)},write:function(){for(var a="",b=0;b<arguments.length;b++)a+=arguments[b],b<arguments.length-1&&(a+=" ");null!=mxLog.textarea?(mxLog.textarea.value+=a,null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Presto/2.5")&&(mxLog.textarea.style.visibility="hidden",mxLog.textarea.style.visibility="visible"),mxLog.textarea.scrollTop=mxLog.textarea.scrollHeight):
-mxLog.buffer+=a},writeln:function(){for(var a="",b=0;b<arguments.length;b++)a+=arguments[b],b<arguments.length-1&&(a+=" ");mxLog.write(a+"\n")}},mxObjectIdentity={FIELD_NAME:"mxObjectId",counter:0,get:function(a){if(null!=a){if(null==a[mxObjectIdentity.FIELD_NAME])if("object"===typeof a){var b=mxUtils.getFunctionName(a.constructor);a[mxObjectIdentity.FIELD_NAME]=b+"#"+mxObjectIdentity.counter++}else"function"===typeof a&&(a[mxObjectIdentity.FIELD_NAME]="Function#"+mxObjectIdentity.counter++);return a[mxObjectIdentity.FIELD_NAME]}return null},
-clear:function(a){"object"!==typeof a&&"function"!==typeof a||delete a[mxObjectIdentity.FIELD_NAME]}};function mxDictionary(){this.clear()}mxDictionary.prototype.map=null;mxDictionary.prototype.clear=function(){this.map={}};mxDictionary.prototype.get=function(a){a=mxObjectIdentity.get(a);return this.map[a]};mxDictionary.prototype.put=function(a,b){a=mxObjectIdentity.get(a);var c=this.map[a];this.map[a]=b;return c};
-mxDictionary.prototype.remove=function(a){a=mxObjectIdentity.get(a);var b=this.map[a];delete this.map[a];return b};mxDictionary.prototype.getCount=function(){var a=0,b;for(b in this.map)a++;return a};mxDictionary.prototype.getKeys=function(){var a=[],b;for(b in this.map)a.push(b);return a};mxDictionary.prototype.getValues=function(){var a=[],b;for(b in this.map)a.push(this.map[b]);return a};mxDictionary.prototype.visit=function(a){for(var b in this.map)a(b,this.map[b])};
+mxLog.addButton("Info",function(g){mxLog.info()});mxLog.addButton("DOM",function(g){g=mxUtils.getInnerHtml(document.body);mxLog.debug(g)});mxLog.addButton("Trace",function(g){mxLog.TRACE=!mxLog.TRACE;mxLog.TRACE?mxLog.debug("Tracing enabled"):mxLog.debug("Tracing disabled")});mxLog.addButton("Show",function(g){try{mxUtils.popup(mxLog.textarea.value)}catch(k){mxUtils.alert(k)}});mxLog.addButton("Clear",function(g){mxLog.textarea.value=""});d=c=0;"number"===typeof window.innerWidth?(c=window.innerHeight,
+d=window.innerWidth):(c=document.documentElement.clientHeight||document.body.clientHeight,d=document.body.clientWidth);mxLog.window=new mxWindow(a,b,Math.max(0,d-320),Math.max(0,c-210),300,160);mxLog.window.setMaximizable(!0);mxLog.window.setScrollable(!1);mxLog.window.setResizable(!0);mxLog.window.setClosable(!0);mxLog.window.destroyOnClose=!1;mxLog.window.title.style.paddingRight="80px";mxLog.window.title.setAttribute("title",a);if((mxClient.IS_NS||mxClient.IS_IE)&&!mxClient.IS_GC&&!mxClient.IS_SF&&
+"BackCompat"!=document.compatMode||11==document.documentMode){var f=mxLog.window.getElement();a=function(g,k){mxLog.textarea.style.height=Math.max(0,f.offsetHeight-70)+"px"};mxLog.window.addListener(mxEvent.RESIZE_END,a);mxLog.window.addListener(mxEvent.MAXIMIZE,a);mxLog.window.addListener(mxEvent.NORMALIZE,a);mxLog.textarea.style.height="92px"}}},info:function(){mxLog.writeln(mxUtils.toString(navigator))},addButton:function(a,b){var c=document.createElement("button");mxUtils.write(c,a);mxEvent.addListener(c,
+"click",b);mxLog.td.appendChild(c)},isVisible:function(){return null!=mxLog.window?mxLog.window.isVisible():!1},show:function(){mxLog.setVisible(!0)},setVisible:function(a){null==mxLog.window&&mxLog.init();null!=mxLog.window&&mxLog.window.setVisible(a)},enter:function(a){if(mxLog.TRACE)return mxLog.writeln("Entering "+a),(new Date).getTime()},leave:function(a,b){mxLog.TRACE&&(b=0!=b?" ("+((new Date).getTime()-b)+" ms)":"",mxLog.writeln("Leaving "+a+b))},debug:function(){mxLog.DEBUG&&mxLog.writeln.apply(this,
+arguments)},warn:function(){mxLog.WARN&&mxLog.writeln.apply(this,arguments)},write:function(){for(var a="",b=0;b<arguments.length;b++)a+=arguments[b],b<arguments.length-1&&(a+=" ");null!=mxLog.textarea?(mxLog.textarea.value+=a,null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Presto/2.5")&&(mxLog.textarea.style.visibility="hidden",mxLog.textarea.style.visibility="visible"),mxLog.textarea.scrollTop=mxLog.textarea.scrollHeight):mxLog.buffer+=a},writeln:function(){for(var a="",b=0;b<arguments.length;b++)a+=
+arguments[b],b<arguments.length-1&&(a+=" ");mxLog.write(a+"\n")}},mxObjectIdentity={FIELD_NAME:"mxObjectId",counter:0,get:function(a){if(null!=a){if(null==a[mxObjectIdentity.FIELD_NAME])if("object"===typeof a){var b=mxUtils.getFunctionName(a.constructor);a[mxObjectIdentity.FIELD_NAME]=b+"#"+mxObjectIdentity.counter++}else"function"===typeof a&&(a[mxObjectIdentity.FIELD_NAME]="Function#"+mxObjectIdentity.counter++);return a[mxObjectIdentity.FIELD_NAME]}return null},clear:function(a){"object"!==typeof a&&
+"function"!==typeof a||delete a[mxObjectIdentity.FIELD_NAME]}};function mxDictionary(){this.clear()}mxDictionary.prototype.map=null;mxDictionary.prototype.clear=function(){this.map={}};mxDictionary.prototype.get=function(a){a=mxObjectIdentity.get(a);return this.map[a]};mxDictionary.prototype.put=function(a,b){a=mxObjectIdentity.get(a);var c=this.map[a];this.map[a]=b;return c};mxDictionary.prototype.remove=function(a){a=mxObjectIdentity.get(a);var b=this.map[a];delete this.map[a];return b};
+mxDictionary.prototype.getCount=function(){var a=0,b;for(b in this.map)a++;return a};mxDictionary.prototype.getKeys=function(){var a=[],b;for(b in this.map)a.push(b);return a};mxDictionary.prototype.getValues=function(){var a=[],b;for(b in this.map)a.push(this.map[b]);return a};mxDictionary.prototype.visit=function(a){for(var b in this.map)a(b,this.map[b])};
var mxResources={resources:{},extension:mxResourceExtension,resourcesEncoded:!1,loadDefaultBundle:!0,loadSpecialBundle:!0,isLanguageSupported:function(a){return null!=mxClient.languages?0<=mxUtils.indexOf(mxClient.languages,a):!0},getDefaultBundle:function(a,b){return mxResources.loadDefaultBundle||!mxResources.isLanguageSupported(b)?a+mxResources.extension:null},getSpecialBundle:function(a,b){if(null==mxClient.languages||!this.isLanguageSupported(b)){var c=b.indexOf("-");0<c&&(b=b.substring(0,c))}return mxResources.loadSpecialBundle&&
mxResources.isLanguageSupported(b)&&b!=mxClient.defaultLanguage?a+"_"+b+mxResources.extension:null},add:function(a,b,c){b=null!=b?b:null!=mxClient.language?mxClient.language.toLowerCase():mxConstants.NONE;if(b!=mxConstants.NONE){var d=mxResources.getDefaultBundle(a,b),e=mxResources.getSpecialBundle(a,b),f=function(){if(null!=e)if(c)mxUtils.get(e,function(l){mxResources.parse(l.getText());c()},function(){c()});else try{var k=mxUtils.load(e);k.isReady()&&mxResources.parse(k.getText())}catch(l){}else null!=
c&&c()};if(null!=d)if(c)mxUtils.get(d,function(k){mxResources.parse(k.getText());f()},function(){f()});else try{var g=mxUtils.load(d);g.isReady()&&mxResources.parse(g.getText());f()}catch(k){}else f()}},parse:function(a){if(null!=a){a=a.split("\n");for(var b=0;b<a.length;b++)if("#"!=a[b].charAt(0)){var c=a[b].indexOf("=");if(0<c){var d=a[b].substring(0,c),e=a[b].length;13==a[b].charCodeAt(e-1)&&e--;c=a[b].substring(c+1,e);this.resourcesEncoded?(c=c.replace(/\\(?=u[a-fA-F\d]{4})/g,"%"),mxResources.resources[d]=
@@ -533,7 +533,7 @@ mxStencil.prototype.evaluateTextAttribute=function(a,b,c){b=this.evaluateAttribu
mxStencil.prototype.drawShape=function(a,b,c,d,e,f,g){g=null!=g?g:null!=b&&null!=b.state?b.state.view.graph:null;var k=a.states.slice(),l=mxUtils.getValue(b.style,mxConstants.STYLE_DIRECTION,null);l=this.computeAspect(b.style,c,d,e,f,l);var m=Math.min(l.width,l.height);m="inherit"==this.strokewidth?Number(mxUtils.getNumber(b.style,mxConstants.STYLE_STROKEWIDTH,1)):Number(this.strokewidth)*m;a.setStrokeWidth(m);null!=b.style&&"1"==mxUtils.getValue(b.style,mxConstants.STYLE_POINTER_EVENTS,"0")&&(a.setStrokeColor(mxConstants.NONE),
a.rect(c,d,e,f),a.stroke(),a.setStrokeColor(b.stroke));this.drawChildren(a,b,c,d,e,f,this.bgNode,l,!1,!0,g);this.drawChildren(a,b,c,d,e,f,this.fgNode,l,!0,!b.outline||null==b.style||0==mxUtils.getValue(b.style,mxConstants.STYLE_BACKGROUND_OUTLINE,0),g);a.states.length!=k.length&&(a.states=k)};mxStencil.prototype.drawChildren=function(a,b,c,d,e,f,g,k,l,m,n){if(null!=g&&0<e&&0<f)for(c=g.firstChild;null!=c;)c.nodeType==mxConstants.NODETYPE_ELEMENT&&this.drawNode(a,b,c,k,l,m,n),c=c.nextSibling};
mxStencil.prototype.computeAspect=function(a,b,c,d,e,f){a=b;b=d/this.w0;var g=e/this.h0;if(f=f==mxConstants.DIRECTION_NORTH||f==mxConstants.DIRECTION_SOUTH){g=d/this.h0;b=e/this.w0;var k=(d-e)/2;a+=k;c-=k}"fixed"==this.aspect&&(b=g=Math.min(b,g),f?(a+=(e-this.w0*b)/2,c+=(d-this.h0*g)/2):(a+=(d-this.w0*b)/2,c+=(e-this.h0*g)/2));return new mxRectangle(a,c,b,g)};
-mxStencil.prototype.parseColor=function(a,b,c,d,e){"stroke"==d?d=b.stroke:"fill"==d?d=b.fill:"font"==d&&null!=b.style?d=mxUtils.getValue(b.style,mxConstants.STYLE_FONTCOLOR,"black"):null==b.style||mxUtils.isValidColor(d)||(a=mxUtils.getValue(b.style,d,mxConstants.NONE),"default"==a&&(a=null!=e?"fillcolor"==c.nodeName?e.shapeBackgroundColor:e.shapeForegroundColor:"#ffffff"),d=a);return d};
+mxStencil.prototype.parseColor=function(a,b,c,d,e){"stroke"==d?d=b.stroke:"fill"==d?d=b.fill:"font"==d&&null!=b.style?d=mxUtils.getValue(b.style,mxConstants.STYLE_FONTCOLOR,"black"):null==b.style||mxUtils.isValidColor(d)||(a=c.getAttribute("default"),b=mxUtils.getValue(b.style,d,null==a?mxConstants.NONE:a),"default"==b&&(b=null!=e?"fillcolor"==c.nodeName?e.shapeBackgroundColor:e.shapeForegroundColor:"#ffffff"),d=b);return d};
mxStencil.prototype.drawNode=function(a,b,c,d,e,f,g){var k=c.nodeName,l=d.x,m=d.y,n=d.width,p=d.height,q=Math.min(n,p);if("save"==k)a.save();else if("restore"==k)a.restore();else if(f){if("path"==k){a.begin();q=!0;if("1"==c.getAttribute("rounded")){q=!1;for(var r=Number(c.getAttribute("arcSize")),t=0,u=[],v=c.firstChild;null!=v;){if(v.nodeType==mxConstants.NODETYPE_ELEMENT){var y=v.nodeName;if("move"==y||"line"==y)"move"!=y&&0!=u.length||u.push([]),u[u.length-1].push(new mxPoint(l+Number(v.getAttribute("x"))*
n,m+Number(v.getAttribute("y"))*p)),t++;else{q=!0;break}}v=v.nextSibling}if(!q&&0<t)for(n=0;n<u.length;n++)p=!1,m=u[n][0],l=u[n][u[n].length-1],m.x==l.x&&m.y==l.y&&(u[n].pop(),p=!0),this.addPoints(a,u[n],!0,r,p);else q=!0}if(q)for(v=c.firstChild;null!=v;)v.nodeType==mxConstants.NODETYPE_ELEMENT&&this.drawNode(a,b,v,d,e,f,g),v=v.nextSibling}else if("close"==k)a.close();else if("move"==k)a.moveTo(l+Number(c.getAttribute("x"))*n,m+Number(c.getAttribute("y"))*p);else if("line"==k)a.lineTo(l+Number(c.getAttribute("x"))*
n,m+Number(c.getAttribute("y"))*p);else if("quad"==k)a.quadTo(l+Number(c.getAttribute("x1"))*n,m+Number(c.getAttribute("y1"))*p,l+Number(c.getAttribute("x2"))*n,m+Number(c.getAttribute("y2"))*p);else if("curve"==k)a.curveTo(l+Number(c.getAttribute("x1"))*n,m+Number(c.getAttribute("y1"))*p,l+Number(c.getAttribute("x2"))*n,m+Number(c.getAttribute("y2"))*p,l+Number(c.getAttribute("x3"))*n,m+Number(c.getAttribute("y3"))*p);else if("arc"==k)a.arcTo(Number(c.getAttribute("rx"))*n,Number(c.getAttribute("ry"))*
@@ -2097,19 +2097,19 @@ mxEvent.getSource(H)!=g.container||mxEvent.consume(H))});mxEvent.addListener(doc
(!mxEvent.isControlDown(H.getEvent())&&mxEvent.isRightMouseButton(H.getEvent())||mxEvent.isMiddleMouseButton(H.getEvent()))};var C=g.cellEditor.isStopEditingEvent;g.cellEditor.isStopEditingEvent=function(H){return C.apply(this,arguments)||13==H.keyCode&&(!mxClient.IS_SF&&mxEvent.isControlDown(H)||mxClient.IS_MAC&&mxEvent.isMetaDown(H)||mxClient.IS_SF&&mxEvent.isShiftDown(H))};var D=g.isZoomWheelEvent;g.isZoomWheelEvent=function(){return e.isSpaceDown()||D.apply(this,arguments)};var E=mxUtils.bind(this,
function(){if(null!=this.toolbar)for(var H=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,S=this.toolbar.container.firstChild;null!=S;){var ea=S.getAttribute("data-min-width");null!=ea&&parseInt(ea)>H?S.style.display="none":S.style.display="";S=S.nextSibling}}),G=!1,J=null,M=null,Q=null,L=mxUtils.bind(this,function(){if(null!=this.toolbar&&G!=g.cellEditor.isContentEditing()){for(var H=this.toolbar.container.firstChild,S=[];null!=H;){var ea=H.nextSibling;H.parentNode.removeChild(H);
S.push(H);H=ea}H=this.toolbar.fontMenu;ea=this.toolbar.sizeMenu;if(null==Q)this.toolbar.createTextToolbar();else{for(var la=0;la<Q.length;la++)this.toolbar.container.appendChild(Q[la]);this.toolbar.fontMenu=J;this.toolbar.sizeMenu=M}G=g.cellEditor.isContentEditing();J=H;M=ea;Q=S;E()}});this.addListener("languageChanged",mxUtils.bind(this,function(){this.destroyWindows(!0);this.descriptorChanged();this.updateStatusAgain();L()}));this.addListener("currentThemeChanged",E);mxEvent.addListener(window,
-"resize",E);E();var W=g.cellEditor.startEditing;g.cellEditor.startEditing=function(){W.apply(this,arguments);L();if(g.cellEditor.isContentEditing()){var H=!1,S=function(){H||(H=!0,window.setTimeout(function(){var ea=g.getSelectedEditingElement();null!=ea&&(ea=mxUtils.getCurrentStyle(ea),null!=ea&&null!=e.toolbar&&(e.toolbar.setFontName(mxUtils.getCssFontFamily(ea.fontFamily)),e.toolbar.setFontSize(parseInt(ea.fontSize))));H=!1},0))};mxEvent.addListener(g.cellEditor.textarea,"input",S);mxEvent.addListener(g.cellEditor.textarea,
-"touchend",S);mxEvent.addListener(g.cellEditor.textarea,"mouseup",S);mxEvent.addListener(g.cellEditor.textarea,"keyup",S);S()}};var X=g.cellEditor.stopEditing;g.cellEditor.stopEditing=function(H,S){try{X.apply(this,arguments),L()}catch(ea){e.handleError(ea)}};g.container.setAttribute("tabindex","0");g.container.style.cursor="default";if(window.self===window.top&&null!=g.container.parentNode)try{g.container.focus()}catch(H){}var T=g.fireMouseEvent;g.fireMouseEvent=function(H,S,ea){try{H==mxEvent.MOUSE_DOWN&&
-this.container.focus(),T.apply(this,arguments)}catch(la){e.handleError(la)}};var N=g.foldCells;g.foldCells=function(H,S,ea,la,O){try{N.apply(this,arguments)}catch(V){e.handleError(V)}};g.popupMenuHandler.autoExpand=!0;null!=this.menus&&(g.popupMenuHandler.factoryMethod=mxUtils.bind(this,function(H,S,ea){this.menus.createPopupMenu(H,S,ea)}));mxEvent.addGestureListeners(document,mxUtils.bind(this,function(H){g.popupMenuHandler.hideMenu()}));this.keyHandler=this.createKeyHandler(a);this.getKeyHandler=
-function(){return keyHandler};g.connectionHandler.addListener(mxEvent.CONNECT,function(H,S){var ea=[S.getProperty("cell")];S.getProperty("terminalInserted")&&(ea.push(S.getProperty("terminal")),window.setTimeout(function(){null!=e.hoverIcons&&e.hoverIcons.update(g.view.getState(ea[ea.length-1]))},0));g.pasteCellStyles(ea)});this.addListener("styleChanged",mxUtils.bind(this,function(H,S){H=S.getProperty("force");(this.updateDefaultStyle||H)&&g.copyCellStyles(S.getProperty("cells"),S.getProperty("keys"),
-S.getProperty("values"),g.currentVertexStyle,g.currentEdgeStyle,m,p);null!=this.toolbar&&(this.toolbar.setFontName(g.currentVertexStyle.fontFamily||Menus.prototype.defaultFont),this.toolbar.setFontSize(g.currentVertexStyle.fontSize||Menus.prototype.defaultFontSize),null!=this.toolbar.edgeStyleMenu&&("orthogonalEdgeStyle"==g.currentEdgeStyle.edgeStyle&&"1"==g.currentEdgeStyle.curved?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.curvedImage.src):"straight"==g.currentEdgeStyle.edgeStyle||
-"none"==g.currentEdgeStyle.edgeStyle||null==g.currentEdgeStyle.edgeStyle?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.straightImage.src):"entityRelationEdgeStyle"==g.currentEdgeStyle.edgeStyle?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.entityImage.src):"elbowEdgeStyle"==g.currentEdgeStyle.edgeStyle?"vertical"==g.currentEdgeStyle.elbow?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.verticalElbowImage.src):this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,
-Format.horizontalElbowImage.src):"isometricEdgeStyle"==g.currentEdgeStyle.edgeStyle?"vertical"==g.currentEdgeStyle.elbow?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.verticalIsometricImage.src):this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.horizontalIsometricImage.src):this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.orthogonalImage.src)),null!=this.toolbar.edgeShapeMenu&&("link"==g.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.linkEdgeImage.src):
-"flexArrow"==g.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.arrowImage.src):"arrow"==g.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.simpleArrowImage.src):"filledEdge"==g.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.filledEdgeImage.src):"pipe"==g.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.pipeEdgeImage.src):"wire"==g.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,
-Format.wireEdgeImage.src):this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.connectionImage.src)))}));null!=this.toolbar&&(a=mxUtils.bind(this,function(){var H=g.currentVertexStyle.fontFamily||"Helvetica",S=String(g.currentVertexStyle.fontSize||"12"),ea=g.getView().getState(g.getSelectionCell());null!=ea&&(H=ea.style[mxConstants.STYLE_FONTFAMILY]||H,S=ea.style[mxConstants.STYLE_FONTSIZE]||S,10<H.length&&(H=H.substring(0,8)+"..."));this.toolbar.setFontName(H);this.toolbar.setFontSize(S)}),
-g.getSelectionModel().addListener(mxEvent.CHANGE,a),g.getModel().addListener(mxEvent.CHANGE,a));g.addListener(mxEvent.CELLS_ADDED,function(H,S){H=S.getProperty("cells");S=S.getProperty("parent");null!=S&&g.getModel().isLayer(S)&&!g.isCellVisible(S)&&null!=H&&0<H.length&&g.getModel().setVisible(S,!0)});Graph.selectParentLayer&&g.selectionModel.addListener(mxEvent.CHANGE,function(){if(g.isEnabled()&&!g.isSelectionEmpty()){var H=g.getLayerForCells(g.getSelectionCells());null!=H&&g.setDefaultParent(H)}});
-this.gestureHandler=mxUtils.bind(this,function(H){null!=this.currentMenu&&mxEvent.getSource(H)!=this.currentMenu.div&&this.hideCurrentMenu()});mxEvent.addGestureListeners(document,this.gestureHandler);var ca=null;this.resizeHandler=mxUtils.bind(this,function(){null!=ca&&window.clearTimeout(ca);ca=window.setTimeout(mxUtils.bind(this,function(){ca=null;this.windowResized()}),100)});mxEvent.addListener(window,"resize",this.resizeHandler);this.orientationChangeHandler=mxUtils.bind(this,function(){this.refresh()});
-mxEvent.addListener(window,"orientationchange",this.orientationChangeHandler);mxClient.IS_IOS&&!window.navigator.standalone&&"undefined"!==typeof Menus&&(this.scrollHandler=mxUtils.bind(this,function(){window.scrollTo(0,0)}),mxEvent.addListener(window,"scroll",this.scrollHandler));this.editor.addListener("resetGraphView",mxUtils.bind(this,function(){this.resetScrollbars()}));this.addListener("gridEnabledChanged",mxUtils.bind(this,function(){g.view.validateBackground()}));this.addListener("backgroundColorChanged",
-mxUtils.bind(this,function(){g.view.validateBackground()}));g.addListener("gridSizeChanged",mxUtils.bind(this,function(){g.isGridEnabled()&&g.view.validateBackground()}));this.editor.resetGraph()}this.init();g.standalone||this.open()};EditorUi.compactUi=!0;
+"resize",E);E();g.isTouchPopupMenuEnabled=function(){return null==e.dialog};var W=g.cellEditor.startEditing;g.cellEditor.startEditing=function(){W.apply(this,arguments);L();if(g.cellEditor.isContentEditing()){var H=!1,S=function(){H||(H=!0,window.setTimeout(function(){var ea=g.getSelectedEditingElement();null!=ea&&(ea=mxUtils.getCurrentStyle(ea),null!=ea&&null!=e.toolbar&&(e.toolbar.setFontName(mxUtils.getCssFontFamily(ea.fontFamily)),e.toolbar.setFontSize(parseInt(ea.fontSize))));H=!1},0))};mxEvent.addListener(g.cellEditor.textarea,
+"input",S);mxEvent.addListener(g.cellEditor.textarea,"touchend",S);mxEvent.addListener(g.cellEditor.textarea,"mouseup",S);mxEvent.addListener(g.cellEditor.textarea,"keyup",S);S()}};var X=g.cellEditor.stopEditing;g.cellEditor.stopEditing=function(H,S){try{X.apply(this,arguments),L()}catch(ea){e.handleError(ea)}};g.container.setAttribute("tabindex","0");g.container.style.cursor="default";if(window.self===window.top&&null!=g.container.parentNode)try{g.container.focus()}catch(H){}var T=g.fireMouseEvent;
+g.fireMouseEvent=function(H,S,ea){try{H==mxEvent.MOUSE_DOWN&&this.container.focus(),T.apply(this,arguments)}catch(la){e.handleError(la)}};var N=g.foldCells;g.foldCells=function(H,S,ea,la,O){try{N.apply(this,arguments)}catch(V){e.handleError(V)}};g.popupMenuHandler.autoExpand=!0;null!=this.menus&&(g.popupMenuHandler.factoryMethod=mxUtils.bind(this,function(H,S,ea){this.menus.createPopupMenu(H,S,ea)}));mxEvent.addGestureListeners(document,mxUtils.bind(this,function(H){g.popupMenuHandler.hideMenu()}));
+this.keyHandler=this.createKeyHandler(a);this.getKeyHandler=function(){return keyHandler};g.connectionHandler.addListener(mxEvent.CONNECT,function(H,S){var ea=[S.getProperty("cell")];S.getProperty("terminalInserted")&&(ea.push(S.getProperty("terminal")),window.setTimeout(function(){null!=e.hoverIcons&&e.hoverIcons.update(g.view.getState(ea[ea.length-1]))},0));g.pasteCellStyles(ea)});this.addListener("styleChanged",mxUtils.bind(this,function(H,S){H=S.getProperty("force");(this.updateDefaultStyle||
+H)&&g.copyCellStyles(S.getProperty("cells"),S.getProperty("keys"),S.getProperty("values"),g.currentVertexStyle,g.currentEdgeStyle,m,p);null!=this.toolbar&&(this.toolbar.setFontName(g.currentVertexStyle.fontFamily||Menus.prototype.defaultFont),this.toolbar.setFontSize(g.currentVertexStyle.fontSize||Menus.prototype.defaultFontSize),null!=this.toolbar.edgeStyleMenu&&("orthogonalEdgeStyle"==g.currentEdgeStyle.edgeStyle&&"1"==g.currentEdgeStyle.curved?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,
+Format.curvedImage.src):"straight"==g.currentEdgeStyle.edgeStyle||"none"==g.currentEdgeStyle.edgeStyle||null==g.currentEdgeStyle.edgeStyle?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.straightImage.src):"entityRelationEdgeStyle"==g.currentEdgeStyle.edgeStyle?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.entityImage.src):"elbowEdgeStyle"==g.currentEdgeStyle.edgeStyle?"vertical"==g.currentEdgeStyle.elbow?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.verticalElbowImage.src):
+this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.horizontalElbowImage.src):"isometricEdgeStyle"==g.currentEdgeStyle.edgeStyle?"vertical"==g.currentEdgeStyle.elbow?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.verticalIsometricImage.src):this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.horizontalIsometricImage.src):this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.orthogonalImage.src)),null!=this.toolbar.edgeShapeMenu&&("link"==g.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,
+Format.linkEdgeImage.src):"flexArrow"==g.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.arrowImage.src):"arrow"==g.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.simpleArrowImage.src):"filledEdge"==g.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.filledEdgeImage.src):"pipe"==g.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.pipeEdgeImage.src):"wire"==g.currentEdgeStyle.shape?
+this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.wireEdgeImage.src):this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.connectionImage.src)))}));null!=this.toolbar&&(a=mxUtils.bind(this,function(){var H=g.currentVertexStyle.fontFamily||"Helvetica",S=String(g.currentVertexStyle.fontSize||"12"),ea=g.getView().getState(g.getSelectionCell());null!=ea&&(H=ea.style[mxConstants.STYLE_FONTFAMILY]||H,S=ea.style[mxConstants.STYLE_FONTSIZE]||S,10<H.length&&(H=H.substring(0,8)+"..."));this.toolbar.setFontName(H);
+this.toolbar.setFontSize(S)}),g.getSelectionModel().addListener(mxEvent.CHANGE,a),g.getModel().addListener(mxEvent.CHANGE,a));g.addListener(mxEvent.CELLS_ADDED,function(H,S){H=S.getProperty("cells");S=S.getProperty("parent");null!=S&&g.getModel().isLayer(S)&&!g.isCellVisible(S)&&null!=H&&0<H.length&&g.getModel().setVisible(S,!0)});Graph.selectParentLayer&&g.selectionModel.addListener(mxEvent.CHANGE,function(){if(g.isEnabled()&&!g.isSelectionEmpty()){var H=g.getLayerForCells(g.getSelectionCells());
+null!=H&&g.setDefaultParent(H)}});this.gestureHandler=mxUtils.bind(this,function(H){null!=this.currentMenu&&mxEvent.getSource(H)!=this.currentMenu.div&&this.hideCurrentMenu()});mxEvent.addGestureListeners(document,this.gestureHandler);var ca=null;this.resizeHandler=mxUtils.bind(this,function(){null!=ca&&window.clearTimeout(ca);ca=window.setTimeout(mxUtils.bind(this,function(){ca=null;this.windowResized()}),100)});mxEvent.addListener(window,"resize",this.resizeHandler);this.orientationChangeHandler=
+mxUtils.bind(this,function(){this.refresh()});mxEvent.addListener(window,"orientationchange",this.orientationChangeHandler);mxClient.IS_IOS&&!window.navigator.standalone&&"undefined"!==typeof Menus&&(this.scrollHandler=mxUtils.bind(this,function(){window.scrollTo(0,0)}),mxEvent.addListener(window,"scroll",this.scrollHandler));this.editor.addListener("resetGraphView",mxUtils.bind(this,function(){this.resetScrollbars()}));this.addListener("gridEnabledChanged",mxUtils.bind(this,function(){g.view.validateBackground()}));
+this.addListener("backgroundColorChanged",mxUtils.bind(this,function(){g.view.validateBackground()}));g.addListener("gridSizeChanged",mxUtils.bind(this,function(){g.isGridEnabled()&&g.view.validateBackground()}));this.editor.resetGraph()}this.init();g.standalone||this.open()};EditorUi.compactUi=!0;
EditorUi.parsePng=function(a,b,f){function e(m,p){var k=d;d+=p;return m.substring(k,d)}function g(m){m=e(m,4);return m.charCodeAt(3)+(m.charCodeAt(2)<<8)+(m.charCodeAt(1)<<16)+(m.charCodeAt(0)<<24)}var d=0;if(e(a,8)!=String.fromCharCode(137)+"PNG"+String.fromCharCode(13,10,26,10))null!=f&&f();else if(e(a,4),"IHDR"!=e(a,4))null!=f&&f();else{e(a,17);do{f=g(a);var h=e(a,4);if(null!=b&&b(d-8,h,f))break;value=e(a,f);e(a,4);if("IEND"==h)break}while(f)}};mxUtils.extend(EditorUi,mxEventSource);
EditorUi.prototype.splitSize=mxClient.IS_TOUCH||mxClient.IS_POINTER?12:8;EditorUi.prototype.formatEnabled=!0;EditorUi.prototype.formatWidth=240;EditorUi.prototype.defaultSidebarWidth=Math.min(screen.width/2,"large"!=urlParams["sidebar-entries"]?220:230);EditorUi.prototype.hsplitPosition=screen.width<=Editor.smallScreenWidth?0:EditorUi.prototype.defaultSidebarWidth;EditorUi.prototype.allowAnimation=!0;EditorUi.prototype.lightboxMaxFitScale=2;EditorUi.prototype.lightboxVerticalDivider=4;
EditorUi.prototype.hsplitClickEnabled=!1;EditorUi.prototype.updateDefaultStyle=!1;EditorUi.prototype.spaceDown=!1;EditorUi.prototype.shiftDown=!1;
@@ -2903,59 +2903,59 @@ A?A:q.rows[0].cells.length-1]};Graph.prototype.deleteColumn=function(q,A){if(0<=
q,80));null!=this.linkTarget&&K.setAttribute("target",this.linkTarget);mxUtils.write(K,F(A,40));this.isCustomLink(q)&&mxEvent.addListener(K,"click",mxUtils.bind(this,function(R){this.customLinkClicked(q,B);mxEvent.consume(R)}));return K};Graph.prototype.initTouch=function(){this.connectionHandler.marker.isEnabled=function(){return null!=this.graph.connectionHandler.first};this.addListener(mxEvent.START_EDITING,function(R,Z){this.popupMenuHandler.hideMenu()});var q=this.updateMouseEvent;this.updateMouseEvent=
function(R){R=q.apply(this,arguments);if(mxEvent.isTouchEvent(R.getEvent())&&null==R.getState()){var Z=this.getCellAt(R.graphX,R.graphY);null!=Z&&this.isSwimlane(Z)&&this.hitsSwimlaneContent(Z,R.graphX,R.graphY)||(R.state=this.view.getState(Z),null!=R.state&&null!=R.state.shape&&(this.container.style.cursor=R.state.shape.node.style.cursor))}null==R.getState()&&this.isEnabled()&&(this.container.style.cursor="default");return R};var A=!1,B=!1,F=!1,K=this.fireMouseEvent;this.fireMouseEvent=function(R,
Z,ja){R==mxEvent.MOUSE_DOWN&&(Z=this.updateMouseEvent(Z),A=this.isCellSelected(Z.getCell()),B=this.isSelectionEmpty(),F=this.popupMenuHandler.isMenuShowing());K.apply(this,arguments)};this.popupMenuHandler.mouseUp=mxUtils.bind(this,function(R,Z){if(null!=this.freehand&&!this.freehand.isDrawing()){var ja=mxEvent.isMouseEvent(Z.getEvent());this.popupMenuHandler.popupTrigger=!this.isEditing()&&this.isEnabled()&&(null==Z.getState()||!Z.isSource(Z.getState().control))&&(this.popupMenuHandler.popupTrigger||
-!F&&!ja&&(B&&null==Z.getCell()&&this.isSelectionEmpty()||A&&this.isCellSelected(Z.getCell())));ja=!A||ja?null:mxUtils.bind(this,function(fa){window.setTimeout(mxUtils.bind(this,function(){if(!this.isEditing()){var ka=mxUtils.getScrollOrigin();this.popupMenuHandler.popup(Z.getX()+ka.x+1,Z.getY()+ka.y+1,fa,Z.getEvent())}}),300)});mxPopupMenuHandler.prototype.mouseUp.apply(this.popupMenuHandler,[R,Z,ja])}})};mxCellEditor.prototype.isContentEditing=function(){var q=this.graph.view.getState(this.editingCell);
-return null!=q&&1==q.style.html};mxCellEditor.prototype.isTableSelected=function(){return null!=this.graph.getParentByName(this.graph.getSelectedElement(),"TABLE",this.textarea)};mxCellEditor.prototype.isTextSelected=function(){var q="";window.getSelection?q=window.getSelection():document.getSelection?q=document.getSelection():document.selection&&(q=document.selection.createRange().text);return""!=q};mxCellEditor.prototype.insertTab=function(q){var A=this.textarea.ownerDocument.defaultView.getSelection(),
-B=A.getRangeAt(0);q=Graph.createTabNode(q);B.insertNode(q);B.setStartAfter(q);B.setEndAfter(q);A.removeAllRanges();A.addRange(B)};mxCellEditor.prototype.alignText=function(q,A){var B=this.graph.getView().getState(this.editingCell);if(null!=B){B=mxUtils.getValue(B.style,mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT_TEXT_DIRECTION);var F=null!=B&&"vertical-"==B.substring(0,9),K=null!=A&&mxEvent.isShiftDown(A);if(K||null!=window.getSelection&&null!=window.getSelection().containsNode){var R=!0;
-this.graph.processElements(this.textarea,function(Z){K||F||window.getSelection().containsNode(Z,!0)?(Z.removeAttribute("align"),Z.style.textAlign=null):R=!1});(R||F)&&this.graph.cellEditor.setAlign(q)}F||document.execCommand("justify"+q.toLowerCase(),!1,null)}};mxCellEditor.prototype.saveSelection=function(){if(window.getSelection){var q=window.getSelection();if(q.getRangeAt&&q.rangeCount){for(var A=[],B=0,F=q.rangeCount;B<F;++B)A.push(q.getRangeAt(B));return A}}else if(document.selection&&document.selection.createRange)return document.selection.createRange();
-return null};mxCellEditor.prototype.restoreSelection=function(q){try{if(q)if(window.getSelection){sel=window.getSelection();sel.removeAllRanges();for(var A=0,B=q.length;A<B;++A)sel.addRange(q[A])}else document.selection&&q.select&&q.select()}catch(F){}};var G=mxCellRenderer.prototype.initializeLabel;mxCellRenderer.prototype.initializeLabel=function(q){null!=q.text&&(q.text.replaceLinefeeds="0"!=mxUtils.getValue(q.style,"nl2Br","1"));G.apply(this,arguments)};var J=mxConstraintHandler.prototype.update;
-mxConstraintHandler.prototype.update=function(q,A){this.isKeepFocusEvent(q)||!mxEvent.isAltDown(q.getEvent())?J.apply(this,arguments):this.reset()};mxGuide.prototype.createGuideShape=function(q){return new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH)};mxCellEditor.prototype.escapeCancelsEditing=!1;var M=mxCellEditor.prototype.startEditing;mxCellEditor.prototype.startEditing=function(q,A){q=this.graph.getStartEditingCell(q,A);M.apply(this,arguments);var B=this.graph.view.getState(q);
-this.textarea.className=null!=B&&1==B.style.html?"mxCellEditor geContentEditable":"mxCellEditor mxPlainTextEditor";this.textarea.style.colorScheme="none"==this.graph.getAdaptiveColors()?"light":"";this.codeViewMode=!1;this.switchSelectionState=null;this.graph.setSelectionCell(q)};mxCellEditor.prototype.toggleViewMode=function(){var q=this.graph.view.getState(this.editingCell);if(null!=q){var A=null!=q&&"0"!=mxUtils.getValue(q.style,"nl2Br","1"),B=this.saveSelection();if(this.codeViewMode){Graph.removeLightDarkColors(this.textarea,
-Graph.backupStyleAttribute);ja=mxUtils.extractTextWithWhitespace(this.textarea.childNodes);0<ja.length&&"\n"==ja.charAt(ja.length-1)&&(ja=ja.substring(0,ja.length-1));ja=Graph.sanitizeHtml(A?ja.replace(/\n/g,"<br/>"):ja,!0);this.textarea.className="mxCellEditor geContentEditable";fa=mxUtils.getValue(q.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE);A=mxUtils.getValue(q.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY);var F=mxUtils.getValue(q.style,mxConstants.STYLE_ALIGN,
-mxConstants.ALIGN_LEFT),K=(mxUtils.getValue(q.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD,R=(mxUtils.getValue(q.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC,Z=[];(mxUtils.getValue(q.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&Z.push("underline");(mxUtils.getValue(q.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&Z.push("line-through");
-this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(fa*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(fa)+"px";this.textarea.style.textDecoration=Z.join(" ");this.textarea.style.fontWeight=K?"bold":"normal";this.textarea.style.fontStyle=R?"italic":"";this.textarea.style.fontFamily=A;this.textarea.style.textAlign=F;this.textarea.style.padding="0px";this.textarea.innerHTML!=ja&&(this.textarea.innerHTML=ja,0==this.textarea.innerHTML.length&&
-(this.textarea.innerHTML=this.getEmptyLabelText(),this.clearOnChange=0<this.textarea.innerHTML.length));Graph.addLightDarkColors(this.textarea,Graph.backupStyleAttribute,"simple"==this.graph.getAdaptiveColors());this.codeViewMode=!1}else{this.clearOnChange&&this.textarea.innerHTML==this.getEmptyLabelText()&&(this.clearOnChange=!1,this.textarea.innerText="");Graph.removeLightDarkColors(this.textarea,Graph.backupStyleAttribute);var ja=mxUtils.htmlEntities(this.textarea.innerHTML);8!=document.documentMode&&
-(ja=mxUtils.replaceTrailingNewlines(ja,"<div><br></div>"));ja=Graph.sanitizeHtml(A?ja.replace(/\n/g,"").replace(/&lt;br\s*.?&gt;/g,"<br>"):ja,!0);this.textarea.className="mxCellEditor mxPlainTextEditor";var fa=mxConstants.DEFAULT_FONTSIZE;this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(fa*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(fa)+"px";this.textarea.style.textDecoration="";this.textarea.style.fontWeight="normal";this.textarea.style.fontStyle=
-"";this.textarea.style.fontFamily=mxConstants.DEFAULT_FONTFAMILY;this.textarea.style.textAlign="left";this.textarea.style.width="";this.textarea.style.padding="2px";this.textarea.innerHTML!=ja&&(this.textarea.innerHTML=ja);this.codeViewMode=!0}this.textarea.focus();null!=this.switchSelectionState&&this.restoreSelection(this.switchSelectionState);this.switchSelectionState=B;this.resize()}};var Q=mxCellEditor.prototype.resize;mxCellEditor.prototype.resize=function(q,A){if(null!=this.textarea)if(q=this.graph.getView().getState(this.editingCell),
-this.codeViewMode&&null!=q){var B=q.view.scale;this.bounds=mxRectangle.fromRectangle(q);if(0==this.bounds.width&&0==this.bounds.height){this.bounds.width=160*B;this.bounds.height=60*B;var F=null!=q.text?q.text.margin:null;null==F&&(F=mxUtils.getAlignmentAsPoint(mxUtils.getValue(q.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),mxUtils.getValue(q.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE)));this.bounds.x+=F.x*this.bounds.width;this.bounds.y+=F.y*this.bounds.height}this.textarea.style.width=
-Math.round((this.bounds.width-4)/B)+"px";this.textarea.style.height=Math.round((this.bounds.height-4)/B)+"px";this.textarea.style.overflow="auto";this.textarea.clientHeight<this.textarea.offsetHeight&&(this.textarea.style.height=Math.round(this.bounds.height/B)+(this.textarea.offsetHeight-this.textarea.clientHeight)+"px",this.bounds.height=parseInt(this.textarea.style.height)*B);this.textarea.clientWidth<this.textarea.offsetWidth&&(this.textarea.style.width=Math.round(this.bounds.width/B)+(this.textarea.offsetWidth-
-this.textarea.clientWidth)+"px",this.bounds.width=parseInt(this.textarea.style.width)*B);this.textarea.style.left=Math.round(this.bounds.x)+"px";this.textarea.style.top=Math.round(this.bounds.y)+"px";mxUtils.setPrefixedStyle(this.textarea.style,"transform","scale("+B+","+B+")")}else this.textarea.style.height="",this.textarea.style.overflow="",Q.apply(this,arguments)};mxCellEditorGetInitialValue=mxCellEditor.prototype.getInitialValue;mxCellEditor.prototype.getInitialValue=function(q,A){if("0"==mxUtils.getValue(q.style,
-"html","0"))return mxCellEditorGetInitialValue.apply(this,arguments);var B=this.graph.getEditingValue(q.cell,A);"1"==mxUtils.getValue(q.style,"nl2Br","1")&&(B=B.replace(/\n/g,"<br/>"));return Graph.sanitizeHtml(B,!0)};mxCellEditorSetEditingValue=mxCellEditor.prototype.setEditingValue;mxCellEditor.prototype.setEditingValue=function(q,A){mxCellEditorSetEditingValue.apply(this,arguments);"1"==mxUtils.getValue(q.style,"html","0")&&Graph.addLightDarkColors(this.textarea,Graph.backupStyleAttribute,"simple"==
-this.graph.getAdaptiveColors())};mxCellEditorGetCurrentValue=mxCellEditor.prototype.getCurrentValue;mxCellEditor.prototype.getCurrentValue=function(q){if("0"==mxUtils.getValue(q.style,"html","0"))return mxCellEditorGetCurrentValue.apply(this,arguments);Graph.removeLightDarkColors(this.textarea,Graph.backupStyleAttribute);var A=Graph.sanitizeHtml(this.textarea.innerHTML,!0);"1"==mxUtils.getValue(q.style,"nl2Br","1")?(A=A.replace(/\r\n/g,"<br/>").replace(/\n/g,"<br/>"),0<A.length&&("<br/>"==A.substring(A.length-
-5)||"<br>"==A.substring(A.length-4))&&(A=A.substring(0,A.lastIndexOf("<br"))+"<div><br/></div>")):A=A.replace(/\r\n/g,"").replace(/\n/g,"");return A};var L=mxCellEditor.prototype.stopEditing;mxCellEditor.prototype.stopEditing=function(q){this.codeViewMode&&this.toggleViewMode();L.apply(this,arguments);this.focusContainer()};mxCellEditor.prototype.focusContainer=function(){try{this.graph.container.focus()}catch(q){}};var W=mxCellEditor.prototype.applyValue;mxCellEditor.prototype.applyValue=function(q,
-A){this.graph.getModel().beginUpdate();try{W.apply(this,arguments),""==A&&this.graph.isCellDeletable(q.cell)&&0==this.graph.model.getChildCount(q.cell)&&this.graph.isTransparentState(q)&&this.graph.removeCells([q.cell],!1)}finally{this.graph.getModel().endUpdate()}};mxCellEditor.prototype.getBackgroundColor=function(q){q=mxUtils.getValue(q.style,mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,null);q==mxConstants.NONE&&(q=null);return q};mxCellEditor.prototype.getBorderColor=function(q){q=mxUtils.getValue(q.style,
-mxConstants.STYLE_LABEL_BORDERCOLOR,null);q==mxConstants.NONE&&(q=null);return q};mxCellEditor.prototype.getMinimumSize=function(q){var A=this.graph.getView().scale;return new mxRectangle(0,0,null==q.text?30:q.text.size*A+20,30)};mxGraphHandlerIsValidDropTarget=mxGraphHandler.prototype.isValidDropTarget;mxGraphHandler.prototype.isValidDropTarget=function(q,A){return mxGraphHandlerIsValidDropTarget.apply(this,arguments)&&!mxEvent.isAltDown(A.getEvent)};mxGraphView.prototype.formatUnitText=function(q){return q?
-b(q,this.unit):q};mxGraphHandler.prototype.updateHint=function(q){if(null!=this.pBounds&&(null!=this.shape||this.livePreviewActive)){null==this.hint&&(this.hint=a(),this.graph.container.appendChild(this.hint));var A=this.graph.view.translate,B=this.graph.view.scale;q=this.roundLength((this.bounds.x+this.currentDx)/B-A.x);A=this.roundLength((this.bounds.y+this.currentDy)/B-A.y);B=this.graph.view.unit;this.hint.innerHTML=b(q,B)+", "+b(A,B);this.hint.style.left=this.pBounds.x+this.currentDx+Math.round((this.pBounds.width-
-this.hint.clientWidth)/2)+"px";this.hint.style.top=this.pBounds.y+this.currentDy+this.pBounds.height+Editor.hintOffset+"px"}};mxGraphHandler.prototype.removeHint=function(){null!=this.hint&&(null!=this.hint.parentNode&&this.hint.parentNode.removeChild(this.hint),this.hint=null)};var X=mxStackLayout.prototype.resizeCell;mxStackLayout.prototype.resizeCell=function(q,A){X.apply(this,arguments);var B=this.graph.getCellStyle(q);if(null==B.childLayout){var F=this.graph.model.getParent(q),K=null!=F?this.graph.getCellGeometry(F):
-null;if(null!=K&&(B=this.graph.getCellStyle(F),"stackLayout"==B.childLayout)){var R=parseFloat(mxUtils.getValue(B,"stackBorder",mxStackLayout.prototype.border));B="1"==mxUtils.getValue(B,"horizontalStack","1");var Z=this.graph.getActualStartSize(F);K=K.clone();B?K.height=A.height+Z.y+Z.height+2*R:K.width=A.width+Z.x+Z.width+2*R;this.graph.model.setGeometry(F,K)}}};var T=mxSelectionCellsHandler.prototype.getHandledSelectionCells;mxSelectionCellsHandler.prototype.getHandledSelectionCells=function(){function q(ja){B.get(ja)||
-(B.put(ja,!0),K.push(ja))}for(var A=T.apply(this,arguments),B=new mxDictionary,F=this.graph.model,K=[],R=0;R<A.length;R++){var Z=A[R];this.graph.isTableCell(Z)?q(F.getParent(F.getParent(Z))):this.graph.isTableRow(Z)&&q(F.getParent(Z));q(Z)}return K};var N=mxConnectionHandler.prototype.isStartEvent;mxConnectionHandler.prototype.isStartEvent=function(q){return N.apply(this,arguments)&&!mxEvent.isControlDown(q.getEvent())&&!mxEvent.isShiftDown(q.getEvent())};var ca=mxVertexHandler.prototype.isGhostPreview;
-mxVertexHandler.prototype.isGhostPreview=function(){return ca.apply(this,arguments)&&!this.graph.isTable(this.state.cell)&&!this.graph.isTableRow(this.state.cell)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isSwimlane(this.state.cell)};var H=mxVertexHandler.prototype.createParentHighlightShape;mxVertexHandler.prototype.createParentHighlightShape=function(q){var A=H.apply(this,arguments);A.stroke="#C0C0C0";A.strokewidth=1;return A};var S=mxEdgeHandler.prototype.createParentHighlightShape;
-mxEdgeHandler.prototype.createParentHighlightShape=function(q){var A=S.apply(this,arguments);A.stroke="#C0C0C0";A.strokewidth=1;return A};mxVertexHandler.prototype.rotationHandleVSpacing=-12;mxVertexHandler.prototype.getRotationHandlePosition=function(){var q=this.getHandlePadding();return new mxPoint(this.bounds.x+this.bounds.width-this.rotationHandleVSpacing+q.x/2,this.bounds.y+this.rotationHandleVSpacing-q.y/2)};mxVertexHandler.prototype.isRecursiveResize=function(q,A){return this.graph.isRecursiveVertexResize(q)&&
-!mxEvent.isAltDown(A.getEvent())};mxVertexHandler.prototype.isCenteredEvent=function(q,A){return mxEvent.isControlDown(A.getEvent())||mxEvent.isMetaDown(A.getEvent())};var ea=mxVertexHandler.prototype.isRotationHandleVisible;mxVertexHandler.prototype.isRotationHandleVisible=function(){return ea.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isTableRow(this.state.cell)&&!this.graph.isTable(this.state.cell)};mxVertexHandler.prototype.getSizerBounds=function(){return this.graph.isTableCell(this.state.cell)?
-this.graph.view.getState(this.graph.model.getParent(this.graph.model.getParent(this.state.cell))):this.bounds};var la=mxVertexHandler.prototype.isParentHighlightVisible;mxVertexHandler.prototype.isParentHighlightVisible=function(){return la.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isTableRow(this.state.cell)};var O=mxVertexHandler.prototype.isCustomHandleVisible;mxVertexHandler.prototype.isCustomHandleVisible=function(q){return q.tableHandle||O.apply(this,arguments)&&
-(!this.graph.isTable(this.state.cell)||this.graph.isCellSelected(this.state.cell))};mxVertexHandler.prototype.getSelectionBorderInset=function(){var q=0;this.graph.isTableRow(this.state.cell)?q=1:this.graph.isTableCell(this.state.cell)&&(q=2);return q};var V=mxVertexHandler.prototype.getSelectionBorderBounds;mxVertexHandler.prototype.getSelectionBorderBounds=function(){return V.apply(this,arguments).grow(-this.getSelectionBorderInset())};var Y=null,ha=mxVertexHandler.prototype.createCustomHandles;
-mxVertexHandler.prototype.createCustomHandles=function(){null==Y&&(Y=mxCellRenderer.defaultShapes.tableLine);var q=ha.apply(this,arguments);if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)){var A=function(Ga,wa,ua){for(var Ta=[],Ra=0;Ra<Ga.length;Ra++){var Oa=Ga[Ra];Ta.push(null==Oa?null:new mxPoint((fa+Oa.x+wa)*R,(ka+Oa.y+ua)*R))}return Ta},B=this,F=this.graph,K=F.model,R=F.view.scale,Z=this.state,ja=this.selectionBorder,fa=this.state.origin.x+F.view.translate.x,
-ka=this.state.origin.y+F.view.translate.y;null==q&&(q=[]);var va=F.view.getCellStates(K.getChildCells(this.state.cell,!0));if(0<va.length){var Ma=K.getChildCells(va[0].cell,!0),Na=F.getTableLines(this.state.cell,!1,!0),Aa=F.getTableLines(this.state.cell,!0,!1);for(K=0;K<va.length;K++)mxUtils.bind(this,function(Ga){var wa=va[Ga],ua=null;if(F.isCellMovable(wa.cell)){ua=Ga<va.length-1?va[Ga+1]:null;ua=null!=ua?F.getCellGeometry(ua.cell):null;var Ta=null!=ua&&null!=ua.alternateBounds?ua.alternateBounds:
-ua;ua=null!=Aa[Ga]?new Y(Aa[Ga],mxConstants.NONE,1):new mxLine(new mxRectangle,mxConstants.NONE,1,!1);ua.isDashed=ja.isDashed;ua.svgStrokeTolerance++;ua=new mxHandle(wa,"row-resize",null,ua);ua.tableHandle=!0;var Ra=0;ua.shape.node.parentNode.insertBefore(ua.shape.node,ua.shape.node.parentNode.firstChild);ua.redraw=function(){if(null!=this.shape){this.shape.stroke=0==Ra?mxConstants.NONE:ja.stroke;if(this.shape.constructor==Y)this.shape.line=A(Aa[Ga],0,Ra),this.shape.updateBoundsFromLine();else{var Sa=
-F.getActualStartSize(Z.cell,!0);this.shape.bounds.height=1;this.shape.bounds.y=this.state.y+this.state.height+Ra*R;this.shape.bounds.x=Z.x+(Ga==va.length-1?0:Sa.x*R);this.shape.bounds.width=Z.width-(Ga==va.length-1?0:Sa.width+Sa.x+R)}this.shape.redraw()}};var Oa=!1;ua.setPosition=function(Sa,Xa,kb){Ra=Math.max(Graph.minTableRowHeight-Sa.height,Xa.y-Sa.y-Sa.height);Oa=mxEvent.isShiftDown(kb.getEvent());null!=Ta&&Oa&&(Ra=Math.min(Ra,Ta.height-Graph.minTableRowHeight))};ua.execute=function(Sa){if(0!=
-Ra)F.setTableRowHeight(this.state.cell,Ra,!Oa);else if(!B.blockDelayedSelection){var Xa=F.getCellAt(Sa.getGraphX(),Sa.getGraphY())||Z.cell;F.graphHandler.selectCellForEvent(Xa,Sa)}Ra=0};ua.reset=function(){Ra=0}}q.push(ua)})(K);for(K=0;K<Ma.length;K++)mxUtils.bind(this,function(Ga){var wa=F.view.getState(Ma[Ga]),ua=F.getCellGeometry(Ma[Ga]),Ta=null!=ua.alternateBounds?ua.alternateBounds:ua;null==wa&&(wa=new mxCellState(F.view,Ma[Ga],F.getCellStyle(Ma[Ga])),wa.x=Z.x+ua.x*R,wa.y=Z.y+ua.y*R,wa.width=
-Ta.width*R,wa.height=Ta.height*R,wa.updateCachedBounds());ua=Ga<Ma.length-1?Ma[Ga+1]:null;ua=null!=ua?F.getCellGeometry(ua):null;var Ra=null!=ua&&null!=ua.alternateBounds?ua.alternateBounds:ua;ua=null!=Na[Ga]?new Y(Na[Ga],mxConstants.NONE,1):new mxLine(new mxRectangle,mxConstants.NONE,1,!0);ua.isDashed=ja.isDashed;ua.svgStrokeTolerance++;wa=new mxHandle(wa,"col-resize",null,ua);wa.tableHandle=!0;var Oa=0;wa.shape.node.parentNode.insertBefore(wa.shape.node,wa.shape.node.parentNode.firstChild);wa.redraw=
-function(){if(null!=this.shape){this.shape.stroke=0==Oa?mxConstants.NONE:ja.stroke;if(this.shape.constructor==Y)this.shape.line=A(Na[Ga],Oa,0),this.shape.updateBoundsFromLine();else{var Xa=F.getActualStartSize(Z.cell,!0);this.shape.bounds.width=1;this.shape.bounds.x=this.state.x+(Ta.width+Oa)*R;this.shape.bounds.y=Z.y+(Ga==Ma.length-1?0:Xa.y*R);this.shape.bounds.height=Z.height-(Ga==Ma.length-1?0:(Xa.height+Xa.y)*R)}this.shape.redraw()}};var Sa=!1;wa.setPosition=function(Xa,kb,tb){Oa=Math.max(Graph.minTableColumnWidth-
-Ta.width,kb.x-Xa.x-Ta.width);Sa=mxEvent.isShiftDown(tb.getEvent());null==Ra||Sa||(Oa=Math.min(Oa,Ra.width-Graph.minTableColumnWidth))};wa.execute=function(Xa){if(0!=Oa)F.setTableColumnWidth(this.state.cell,Oa,Sa);else if(!B.blockDelayedSelection){var kb=F.getCellAt(Xa.getGraphX(),Xa.getGraphY())||Z.cell;F.graphHandler.selectCellForEvent(kb,Xa)}Oa=0};wa.positionChanged=function(){};wa.reset=function(){Oa=0};q.push(wa)})(K)}}return null!=q?q.reverse():null};var ia=mxVertexHandler.prototype.setHandlesVisible;
-mxVertexHandler.prototype.setHandlesVisible=function(q){ia.apply(this,arguments);if(null!=this.moveHandles)for(var A=0;A<this.moveHandles.length;A++)null!=this.moveHandles[A]&&(this.moveHandles[A].node.style.visibility=q?"":"hidden");if(null!=this.cornerHandles)for(A=0;A<this.cornerHandles.length;A++)this.cornerHandles[A].node.style.visibility=q?"":"hidden"};mxVertexHandler.prototype.isMoveHandlesVisible=function(){return this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)};
-mxVertexHandler.prototype.refreshMoveHandles=function(){var q=this.isMoveHandlesVisible();q&&null==this.moveHandles?this.moveHandles=this.createMoveHandles():q||null==this.moveHandles||this.destroyMoveHandles();if(q&&null==this.moveHandles){for(q=0;q<this.moveHandles.length;q++)null!=this.moveHandles[q]&&this.moveHandles[q].parentNode.removeChild(this.moveHandles[q]);this.moveHandles=null}};mxVertexHandler.prototype.createMoveHandles=function(){for(var q=this.graph,A=q.model,B=[],F=0;F<A.getChildCount(this.state.cell);F++)mxUtils.bind(this,
-function(K){if(null!=K&&A.isVertex(K.cell)&&q.isCellMovable(K.cell)){var R=new mxRectangle(0,0,this.rowHandleImage.width,this.rowHandleImage.height);R=new mxImageShape(R,this.rowHandleImage.src);R.rowState=K;R.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_MIXEDHTML:mxConstants.DIALECT_SVG;R.init(this.graph.getView().getOverlayPane());R.node.style.cursor="move";mxEvent.addGestureListeners(R.node,mxUtils.bind(this,function(Z){this.graph.popupMenuHandler.hideMenu();this.graph.stopEditing(!1);
-!this.graph.isToggleEvent(Z)&&this.graph.isCellSelected(K.cell)||this.graph.selectCellForEvent(K.cell,Z);mxEvent.isPopupTrigger(Z)||(this.graph.graphHandler.start(this.state.cell,mxEvent.getClientX(Z),mxEvent.getClientY(Z),this.graph.getSelectionCells()),this.graph.graphHandler.cellWasClicked=!0,this.graph.isMouseTrigger=mxEvent.isMouseEvent(Z),this.graph.isMouseDown=!0);mxEvent.consume(Z)}),null,mxUtils.bind(this,function(Z){mxEvent.isPopupTrigger(Z)&&(this.graph.popupMenuHandler.popup(mxEvent.getClientX(Z),
-mxEvent.getClientY(Z),K.cell,Z),mxEvent.consume(Z))}));B.push(R)}else B.push(null)})(this.graph.view.getState(A.getChildAt(this.state.cell,F)));return B};mxVertexHandler.prototype.destroyMoveHandles=function(){if(null!=this.moveHandles){for(var q=0;q<this.moveHandles.length;q++)null!=this.moveHandles[q]&&this.moveHandles[q].destroy();this.moveHandles=null}};mxVertexHandler.prototype.destroyCornerHandles=function(){if(null!=this.cornerHandles){for(var q=0;q<this.cornerHandles.length;q++)null!=this.cornerHandles[q]&&
-null!=this.cornerHandles[q].node&&null!=this.cornerHandles[q].node.parentNode&&this.cornerHandles[q].node.parentNode.removeChild(this.cornerHandles[q].node);this.cornerHandles=null}};var ta=mxVertexHandler.prototype.refresh;mxVertexHandler.prototype.refresh=function(){ta.apply(this,arguments);this.destroyMoveHandles();this.destroyCornerHandles();if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell))this.refreshMoveHandles();else if(1==this.graph.getSelectionCount()&&this.graph.isCellMovable(this.state.cell)&&
-(this.graph.isTableCell(this.state.cell)||this.graph.isTableRow(this.state.cell))){this.cornerHandles=[];for(var q=0;4>q;q++){var A=new mxRectangleShape(new mxRectangle(0,0,6,6),"#ffffff",mxConstants.HANDLE_STROKECOLOR);A.dialect=mxConstants.DIALECT_SVG;A.init(this.graph.view.getOverlayPane());this.cornerHandles.push(A)}}this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)&&this.refreshMoveHandles();q=this.graph.getLinkForCell(this.state.cell);A=this.graph.getLinksForState(this.state);
-this.updateLinkHint(q,A)};var aa=mxVertexHandler.prototype.getHandlePadding;mxVertexHandler.prototype.getHandlePadding=function(){var q=new mxPoint(0,0),A=this.tolerance,B=this.state.style.shape;null==mxCellRenderer.defaultShapes[B]&&mxStencilRegistry.getStencil(B);B=this.graph.isTable(this.state.cell)||this.graph.cellEditor.getEditingCell()==this.state.cell;if(!B&&null!=this.customHandles)for(var F=0;F<this.customHandles.length;F++)if(null!=this.customHandles[F]&&null!=this.customHandles[F].shape&&
-null!=this.customHandles[F].shape.bounds){var K=this.customHandles[F].shape.bounds,R=K.getCenterX(),Z=K.getCenterY();if(Math.abs(this.state.x-R)<K.width/2||Math.abs(this.state.y-Z)<K.height/2||Math.abs(this.state.x+this.state.width-R)<K.width/2||Math.abs(this.state.y+this.state.height-Z)<K.height/2){B=!0;break}}B&&null!=this.sizers&&0<this.sizers.length&&null!=this.sizers[0]?(A/=2,this.graph.isTable(this.state.cell)&&(A+=7),q.x=this.sizers[0].bounds.width+A,q.y=this.sizers[0].bounds.height+A):q=aa.apply(this,
-arguments);return q};mxVertexHandler.prototype.updateHint=function(q){if(this.index!=mxEvent.LABEL_HANDLE){null==this.hint&&(this.hint=a(),this.state.view.graph.container.appendChild(this.hint));if(this.index==mxEvent.ROTATION_HANDLE)this.hint.innerHTML=this.currentAlpha+"&deg;";else{q=this.state.view.scale;var A=this.state.view.unit;this.hint.innerHTML=b(this.roundLength(this.bounds.width/q),A)+" x "+b(this.roundLength(this.bounds.height/q),A)}q=mxUtils.getBoundingBox(this.bounds,null!=this.currentAlpha?
-this.currentAlpha:this.state.style[mxConstants.STYLE_ROTATION]||"0");null==q&&(q=this.bounds);this.hint.style.left=q.x+Math.round((q.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=q.y+q.height+Editor.hintOffset+"px";null!=this.linkHint&&(this.linkHint.style.display="none")}};mxVertexHandler.prototype.removeHint=function(){mxGraphHandler.prototype.removeHint.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.display="")};var P=mxEdgeHandler.prototype.refresh;mxEdgeHandler.prototype.refresh=
-function(){P.apply(this,arguments);var q=this.graph.getLinkForCell(this.state.cell),A=this.graph.getLinksForState(this.state);this.updateLinkHint(q,A)};var ba=mxEdgeHandler.prototype.mouseMove;mxEdgeHandler.prototype.mouseMove=function(q,A){ba.apply(this,arguments);null!=this.linkHint&&"none"!=this.linkHint.style.display&&null!=this.graph.graphHandler&&null!=this.graph.graphHandler.first&&(this.linkHint.style.display="none")};var ma=mxEdgeHandler.prototype.mouseUp;mxEdgeHandler.prototype.mouseUp=
-function(q,A){ma.apply(this,arguments);null!=this.linkHint&&"none"==this.linkHint.style.display&&1==this.graph.getSelectionCount()&&(this.linkHint.style.display="")};mxEdgeHandler.prototype.updateHint=function(q,A,B){null==this.hint&&(this.hint=a(),this.state.view.graph.container.appendChild(this.hint));var F=this.graph.view.translate,K=this.graph.view.scale,R=this.roundLength(A.x/K-F.x);F=this.roundLength(A.y/K-F.y);var Z=this.graph.view.unit;this.hint.innerHTML=b(R,Z)+", "+b(F,Z);this.hint.style.visibility=
-"visible";null!=B&&(B.view.updateEdgeBounds(B),this.hint.innerHTML+=" ("+(Z==mxConstants.POINTS?Math.round(B.length/K):b(B.length/K,Z))+")");if(this.isSource||this.isTarget)null!=this.constraintHandler&&null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus?(B=this.constraintHandler.currentConstraint.point,this.hint.innerHTML="["+Math.round(100*B.x)+"%, "+Math.round(100*B.y)+"%]"):this.marker.hasValidState()&&(this.hint.style.visibility="hidden");this.hint.style.left=
-Math.round(q.getGraphX()-this.hint.clientWidth/2)+"px";this.hint.style.top=Math.max(q.getGraphY(),A.y)+Editor.hintOffset+"px";null!=this.linkHint&&(this.linkHint.style.display="none")};Graph.prototype.expandedImage=Graph.createSvgImage(9,9,'<defs><linearGradient id="grad1" x1="50%" y1="0%" x2="50%" y2="100%"><stop offset="30%" style="stop-color:#f0f0f0;" /><stop offset="100%" style="stop-color:#AFB0B6;" /></linearGradient></defs><rect x="0" y="0" width="9" height="9" stroke="#8A94A5" fill="url(#grad1)" stroke-width="2"/><path d="M 2 4.5 L 7 4.5 z" stroke="#000"/>');
+!F&&!ja&&(B&&null==Z.getCell()&&this.isSelectionEmpty()||A&&this.isCellSelected(Z.getCell())));ja=!A||ja?null:mxUtils.bind(this,function(fa){window.setTimeout(mxUtils.bind(this,function(){if(!this.isEditing()&&this.isTouchPopupMenuEnabled()){var ka=mxUtils.getScrollOrigin();this.popupMenuHandler.popup(Z.getX()+ka.x+1,Z.getY()+ka.y+1,fa,Z.getEvent())}}),300)});mxPopupMenuHandler.prototype.mouseUp.apply(this.popupMenuHandler,[R,Z,ja])}})};Graph.prototype.isTouchPopupMenuEnabled=function(){return!0};
+mxCellEditor.prototype.isContentEditing=function(){var q=this.graph.view.getState(this.editingCell);return null!=q&&1==q.style.html};mxCellEditor.prototype.isTableSelected=function(){return null!=this.graph.getParentByName(this.graph.getSelectedElement(),"TABLE",this.textarea)};mxCellEditor.prototype.isTextSelected=function(){var q="";window.getSelection?q=window.getSelection():document.getSelection?q=document.getSelection():document.selection&&(q=document.selection.createRange().text);return""!=
+q};mxCellEditor.prototype.insertTab=function(q){var A=this.textarea.ownerDocument.defaultView.getSelection(),B=A.getRangeAt(0);q=Graph.createTabNode(q);B.insertNode(q);B.setStartAfter(q);B.setEndAfter(q);A.removeAllRanges();A.addRange(B)};mxCellEditor.prototype.alignText=function(q,A){var B=this.graph.getView().getState(this.editingCell);if(null!=B){B=mxUtils.getValue(B.style,mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT_TEXT_DIRECTION);var F=null!=B&&"vertical-"==B.substring(0,9),K=null!=
+A&&mxEvent.isShiftDown(A);if(K||null!=window.getSelection&&null!=window.getSelection().containsNode){var R=!0;this.graph.processElements(this.textarea,function(Z){K||F||window.getSelection().containsNode(Z,!0)?(Z.removeAttribute("align"),Z.style.textAlign=null):R=!1});(R||F)&&this.graph.cellEditor.setAlign(q)}F||document.execCommand("justify"+q.toLowerCase(),!1,null)}};mxCellEditor.prototype.saveSelection=function(){if(window.getSelection){var q=window.getSelection();if(q.getRangeAt&&q.rangeCount){for(var A=
+[],B=0,F=q.rangeCount;B<F;++B)A.push(q.getRangeAt(B));return A}}else if(document.selection&&document.selection.createRange)return document.selection.createRange();return null};mxCellEditor.prototype.restoreSelection=function(q){try{if(q)if(window.getSelection){sel=window.getSelection();sel.removeAllRanges();for(var A=0,B=q.length;A<B;++A)sel.addRange(q[A])}else document.selection&&q.select&&q.select()}catch(F){}};var G=mxCellRenderer.prototype.initializeLabel;mxCellRenderer.prototype.initializeLabel=
+function(q){null!=q.text&&(q.text.replaceLinefeeds="0"!=mxUtils.getValue(q.style,"nl2Br","1"));G.apply(this,arguments)};var J=mxConstraintHandler.prototype.update;mxConstraintHandler.prototype.update=function(q,A){this.isKeepFocusEvent(q)||!mxEvent.isAltDown(q.getEvent())?J.apply(this,arguments):this.reset()};mxGuide.prototype.createGuideShape=function(q){return new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH)};mxCellEditor.prototype.escapeCancelsEditing=!1;var M=mxCellEditor.prototype.startEditing;
+mxCellEditor.prototype.startEditing=function(q,A){q=this.graph.getStartEditingCell(q,A);M.apply(this,arguments);var B=this.graph.view.getState(q);this.textarea.className=null!=B&&1==B.style.html?"mxCellEditor geContentEditable":"mxCellEditor mxPlainTextEditor";this.textarea.style.colorScheme="none"==this.graph.getAdaptiveColors()?"light":"";this.codeViewMode=!1;this.switchSelectionState=null;this.graph.setSelectionCell(q)};mxCellEditor.prototype.toggleViewMode=function(){var q=this.graph.view.getState(this.editingCell);
+if(null!=q){var A=null!=q&&"0"!=mxUtils.getValue(q.style,"nl2Br","1"),B=this.saveSelection();if(this.codeViewMode){Graph.removeLightDarkColors(this.textarea,Graph.backupStyleAttribute);ja=mxUtils.extractTextWithWhitespace(this.textarea.childNodes);0<ja.length&&"\n"==ja.charAt(ja.length-1)&&(ja=ja.substring(0,ja.length-1));ja=Graph.sanitizeHtml(A?ja.replace(/\n/g,"<br/>"):ja,!0);this.textarea.className="mxCellEditor geContentEditable";fa=mxUtils.getValue(q.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE);
+A=mxUtils.getValue(q.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY);var F=mxUtils.getValue(q.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),K=(mxUtils.getValue(q.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD,R=(mxUtils.getValue(q.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC,Z=[];(mxUtils.getValue(q.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&Z.push("underline");
+(mxUtils.getValue(q.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&Z.push("line-through");this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(fa*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(fa)+"px";this.textarea.style.textDecoration=Z.join(" ");this.textarea.style.fontWeight=K?"bold":"normal";this.textarea.style.fontStyle=R?"italic":"";this.textarea.style.fontFamily=A;this.textarea.style.textAlign=
+F;this.textarea.style.padding="0px";this.textarea.innerHTML!=ja&&(this.textarea.innerHTML=ja,0==this.textarea.innerHTML.length&&(this.textarea.innerHTML=this.getEmptyLabelText(),this.clearOnChange=0<this.textarea.innerHTML.length));Graph.addLightDarkColors(this.textarea,Graph.backupStyleAttribute,"simple"==this.graph.getAdaptiveColors());this.codeViewMode=!1}else{this.clearOnChange&&this.textarea.innerHTML==this.getEmptyLabelText()&&(this.clearOnChange=!1,this.textarea.innerText="");Graph.removeLightDarkColors(this.textarea,
+Graph.backupStyleAttribute);var ja=mxUtils.htmlEntities(this.textarea.innerHTML);8!=document.documentMode&&(ja=mxUtils.replaceTrailingNewlines(ja,"<div><br></div>"));ja=Graph.sanitizeHtml(A?ja.replace(/\n/g,"").replace(/&lt;br\s*.?&gt;/g,"<br>"):ja,!0);this.textarea.className="mxCellEditor mxPlainTextEditor";var fa=mxConstants.DEFAULT_FONTSIZE;this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(fa*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=
+Math.round(fa)+"px";this.textarea.style.textDecoration="";this.textarea.style.fontWeight="normal";this.textarea.style.fontStyle="";this.textarea.style.fontFamily=mxConstants.DEFAULT_FONTFAMILY;this.textarea.style.textAlign="left";this.textarea.style.width="";this.textarea.style.padding="2px";this.textarea.innerHTML!=ja&&(this.textarea.innerHTML=ja);this.codeViewMode=!0}this.textarea.focus();null!=this.switchSelectionState&&this.restoreSelection(this.switchSelectionState);this.switchSelectionState=
+B;this.resize()}};var Q=mxCellEditor.prototype.resize;mxCellEditor.prototype.resize=function(q,A){if(null!=this.textarea)if(q=this.graph.getView().getState(this.editingCell),this.codeViewMode&&null!=q){var B=q.view.scale;this.bounds=mxRectangle.fromRectangle(q);if(0==this.bounds.width&&0==this.bounds.height){this.bounds.width=160*B;this.bounds.height=60*B;var F=null!=q.text?q.text.margin:null;null==F&&(F=mxUtils.getAlignmentAsPoint(mxUtils.getValue(q.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),
+mxUtils.getValue(q.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE)));this.bounds.x+=F.x*this.bounds.width;this.bounds.y+=F.y*this.bounds.height}this.textarea.style.width=Math.round((this.bounds.width-4)/B)+"px";this.textarea.style.height=Math.round((this.bounds.height-4)/B)+"px";this.textarea.style.overflow="auto";this.textarea.clientHeight<this.textarea.offsetHeight&&(this.textarea.style.height=Math.round(this.bounds.height/B)+(this.textarea.offsetHeight-this.textarea.clientHeight)+
+"px",this.bounds.height=parseInt(this.textarea.style.height)*B);this.textarea.clientWidth<this.textarea.offsetWidth&&(this.textarea.style.width=Math.round(this.bounds.width/B)+(this.textarea.offsetWidth-this.textarea.clientWidth)+"px",this.bounds.width=parseInt(this.textarea.style.width)*B);this.textarea.style.left=Math.round(this.bounds.x)+"px";this.textarea.style.top=Math.round(this.bounds.y)+"px";mxUtils.setPrefixedStyle(this.textarea.style,"transform","scale("+B+","+B+")")}else this.textarea.style.height=
+"",this.textarea.style.overflow="",Q.apply(this,arguments)};mxCellEditorGetInitialValue=mxCellEditor.prototype.getInitialValue;mxCellEditor.prototype.getInitialValue=function(q,A){if("0"==mxUtils.getValue(q.style,"html","0"))return mxCellEditorGetInitialValue.apply(this,arguments);var B=this.graph.getEditingValue(q.cell,A);"1"==mxUtils.getValue(q.style,"nl2Br","1")&&(B=B.replace(/\n/g,"<br/>"));return Graph.sanitizeHtml(B,!0)};mxCellEditorSetEditingValue=mxCellEditor.prototype.setEditingValue;mxCellEditor.prototype.setEditingValue=
+function(q,A){mxCellEditorSetEditingValue.apply(this,arguments);"1"==mxUtils.getValue(q.style,"html","0")&&Graph.addLightDarkColors(this.textarea,Graph.backupStyleAttribute,"simple"==this.graph.getAdaptiveColors())};mxCellEditorGetCurrentValue=mxCellEditor.prototype.getCurrentValue;mxCellEditor.prototype.getCurrentValue=function(q){if("0"==mxUtils.getValue(q.style,"html","0"))return mxCellEditorGetCurrentValue.apply(this,arguments);Graph.removeLightDarkColors(this.textarea,Graph.backupStyleAttribute);
+var A=Graph.sanitizeHtml(this.textarea.innerHTML,!0);"1"==mxUtils.getValue(q.style,"nl2Br","1")?(A=A.replace(/\r\n/g,"<br/>").replace(/\n/g,"<br/>"),0<A.length&&("<br/>"==A.substring(A.length-5)||"<br>"==A.substring(A.length-4))&&(A=A.substring(0,A.lastIndexOf("<br"))+"<div><br/></div>")):A=A.replace(/\r\n/g,"").replace(/\n/g,"");return A};var L=mxCellEditor.prototype.stopEditing;mxCellEditor.prototype.stopEditing=function(q){this.codeViewMode&&this.toggleViewMode();L.apply(this,arguments);this.focusContainer()};
+mxCellEditor.prototype.focusContainer=function(){try{this.graph.container.focus()}catch(q){}};var W=mxCellEditor.prototype.applyValue;mxCellEditor.prototype.applyValue=function(q,A){this.graph.getModel().beginUpdate();try{W.apply(this,arguments),""==A&&this.graph.isCellDeletable(q.cell)&&0==this.graph.model.getChildCount(q.cell)&&this.graph.isTransparentState(q)&&this.graph.removeCells([q.cell],!1)}finally{this.graph.getModel().endUpdate()}};mxCellEditor.prototype.getBackgroundColor=function(q){q=
+mxUtils.getValue(q.style,mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,null);q==mxConstants.NONE&&(q=null);return q};mxCellEditor.prototype.getBorderColor=function(q){q=mxUtils.getValue(q.style,mxConstants.STYLE_LABEL_BORDERCOLOR,null);q==mxConstants.NONE&&(q=null);return q};mxCellEditor.prototype.getMinimumSize=function(q){var A=this.graph.getView().scale;return new mxRectangle(0,0,null==q.text?30:q.text.size*A+20,30)};mxGraphHandlerIsValidDropTarget=mxGraphHandler.prototype.isValidDropTarget;mxGraphHandler.prototype.isValidDropTarget=
+function(q,A){return mxGraphHandlerIsValidDropTarget.apply(this,arguments)&&!mxEvent.isAltDown(A.getEvent)};mxGraphView.prototype.formatUnitText=function(q){return q?b(q,this.unit):q};mxGraphHandler.prototype.updateHint=function(q){if(null!=this.pBounds&&(null!=this.shape||this.livePreviewActive)){null==this.hint&&(this.hint=a(),this.graph.container.appendChild(this.hint));var A=this.graph.view.translate,B=this.graph.view.scale;q=this.roundLength((this.bounds.x+this.currentDx)/B-A.x);A=this.roundLength((this.bounds.y+
+this.currentDy)/B-A.y);B=this.graph.view.unit;this.hint.innerHTML=b(q,B)+", "+b(A,B);this.hint.style.left=this.pBounds.x+this.currentDx+Math.round((this.pBounds.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=this.pBounds.y+this.currentDy+this.pBounds.height+Editor.hintOffset+"px"}};mxGraphHandler.prototype.removeHint=function(){null!=this.hint&&(null!=this.hint.parentNode&&this.hint.parentNode.removeChild(this.hint),this.hint=null)};var X=mxStackLayout.prototype.resizeCell;mxStackLayout.prototype.resizeCell=
+function(q,A){X.apply(this,arguments);var B=this.graph.getCellStyle(q);if(null==B.childLayout){var F=this.graph.model.getParent(q),K=null!=F?this.graph.getCellGeometry(F):null;if(null!=K&&(B=this.graph.getCellStyle(F),"stackLayout"==B.childLayout)){var R=parseFloat(mxUtils.getValue(B,"stackBorder",mxStackLayout.prototype.border));B="1"==mxUtils.getValue(B,"horizontalStack","1");var Z=this.graph.getActualStartSize(F);K=K.clone();B?K.height=A.height+Z.y+Z.height+2*R:K.width=A.width+Z.x+Z.width+2*R;
+this.graph.model.setGeometry(F,K)}}};var T=mxSelectionCellsHandler.prototype.getHandledSelectionCells;mxSelectionCellsHandler.prototype.getHandledSelectionCells=function(){function q(ja){B.get(ja)||(B.put(ja,!0),K.push(ja))}for(var A=T.apply(this,arguments),B=new mxDictionary,F=this.graph.model,K=[],R=0;R<A.length;R++){var Z=A[R];this.graph.isTableCell(Z)?q(F.getParent(F.getParent(Z))):this.graph.isTableRow(Z)&&q(F.getParent(Z));q(Z)}return K};var N=mxConnectionHandler.prototype.isStartEvent;mxConnectionHandler.prototype.isStartEvent=
+function(q){return N.apply(this,arguments)&&!mxEvent.isControlDown(q.getEvent())&&!mxEvent.isShiftDown(q.getEvent())};var ca=mxVertexHandler.prototype.isGhostPreview;mxVertexHandler.prototype.isGhostPreview=function(){return ca.apply(this,arguments)&&!this.graph.isTable(this.state.cell)&&!this.graph.isTableRow(this.state.cell)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isSwimlane(this.state.cell)};var H=mxVertexHandler.prototype.createParentHighlightShape;mxVertexHandler.prototype.createParentHighlightShape=
+function(q){var A=H.apply(this,arguments);A.stroke="#C0C0C0";A.strokewidth=1;return A};var S=mxEdgeHandler.prototype.createParentHighlightShape;mxEdgeHandler.prototype.createParentHighlightShape=function(q){var A=S.apply(this,arguments);A.stroke="#C0C0C0";A.strokewidth=1;return A};mxVertexHandler.prototype.rotationHandleVSpacing=-12;mxVertexHandler.prototype.getRotationHandlePosition=function(){var q=this.getHandlePadding();return new mxPoint(this.bounds.x+this.bounds.width-this.rotationHandleVSpacing+
+q.x/2,this.bounds.y+this.rotationHandleVSpacing-q.y/2)};mxVertexHandler.prototype.isRecursiveResize=function(q,A){return this.graph.isRecursiveVertexResize(q)&&!mxEvent.isAltDown(A.getEvent())};mxVertexHandler.prototype.isCenteredEvent=function(q,A){return mxEvent.isControlDown(A.getEvent())||mxEvent.isMetaDown(A.getEvent())};var ea=mxVertexHandler.prototype.isRotationHandleVisible;mxVertexHandler.prototype.isRotationHandleVisible=function(){return ea.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&
+!this.graph.isTableRow(this.state.cell)&&!this.graph.isTable(this.state.cell)};mxVertexHandler.prototype.getSizerBounds=function(){return this.graph.isTableCell(this.state.cell)?this.graph.view.getState(this.graph.model.getParent(this.graph.model.getParent(this.state.cell))):this.bounds};var la=mxVertexHandler.prototype.isParentHighlightVisible;mxVertexHandler.prototype.isParentHighlightVisible=function(){return la.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isTableRow(this.state.cell)};
+var O=mxVertexHandler.prototype.isCustomHandleVisible;mxVertexHandler.prototype.isCustomHandleVisible=function(q){return q.tableHandle||O.apply(this,arguments)&&(!this.graph.isTable(this.state.cell)||this.graph.isCellSelected(this.state.cell))};mxVertexHandler.prototype.getSelectionBorderInset=function(){var q=0;this.graph.isTableRow(this.state.cell)?q=1:this.graph.isTableCell(this.state.cell)&&(q=2);return q};var V=mxVertexHandler.prototype.getSelectionBorderBounds;mxVertexHandler.prototype.getSelectionBorderBounds=
+function(){return V.apply(this,arguments).grow(-this.getSelectionBorderInset())};var Y=null,ha=mxVertexHandler.prototype.createCustomHandles;mxVertexHandler.prototype.createCustomHandles=function(){null==Y&&(Y=mxCellRenderer.defaultShapes.tableLine);var q=ha.apply(this,arguments);if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)){var A=function(Ga,wa,ua){for(var Ta=[],Ra=0;Ra<Ga.length;Ra++){var Oa=Ga[Ra];Ta.push(null==Oa?null:new mxPoint((fa+Oa.x+wa)*R,(ka+Oa.y+ua)*
+R))}return Ta},B=this,F=this.graph,K=F.model,R=F.view.scale,Z=this.state,ja=this.selectionBorder,fa=this.state.origin.x+F.view.translate.x,ka=this.state.origin.y+F.view.translate.y;null==q&&(q=[]);var va=F.view.getCellStates(K.getChildCells(this.state.cell,!0));if(0<va.length){var Ma=K.getChildCells(va[0].cell,!0),Na=F.getTableLines(this.state.cell,!1,!0),Aa=F.getTableLines(this.state.cell,!0,!1);for(K=0;K<va.length;K++)mxUtils.bind(this,function(Ga){var wa=va[Ga],ua=null;if(F.isCellMovable(wa.cell)){ua=
+Ga<va.length-1?va[Ga+1]:null;ua=null!=ua?F.getCellGeometry(ua.cell):null;var Ta=null!=ua&&null!=ua.alternateBounds?ua.alternateBounds:ua;ua=null!=Aa[Ga]?new Y(Aa[Ga],mxConstants.NONE,1):new mxLine(new mxRectangle,mxConstants.NONE,1,!1);ua.isDashed=ja.isDashed;ua.svgStrokeTolerance++;ua=new mxHandle(wa,"row-resize",null,ua);ua.tableHandle=!0;var Ra=0;ua.shape.node.parentNode.insertBefore(ua.shape.node,ua.shape.node.parentNode.firstChild);ua.redraw=function(){if(null!=this.shape){this.shape.stroke=
+0==Ra?mxConstants.NONE:ja.stroke;if(this.shape.constructor==Y)this.shape.line=A(Aa[Ga],0,Ra),this.shape.updateBoundsFromLine();else{var Sa=F.getActualStartSize(Z.cell,!0);this.shape.bounds.height=1;this.shape.bounds.y=this.state.y+this.state.height+Ra*R;this.shape.bounds.x=Z.x+(Ga==va.length-1?0:Sa.x*R);this.shape.bounds.width=Z.width-(Ga==va.length-1?0:Sa.width+Sa.x+R)}this.shape.redraw()}};var Oa=!1;ua.setPosition=function(Sa,Xa,kb){Ra=Math.max(Graph.minTableRowHeight-Sa.height,Xa.y-Sa.y-Sa.height);
+Oa=mxEvent.isShiftDown(kb.getEvent());null!=Ta&&Oa&&(Ra=Math.min(Ra,Ta.height-Graph.minTableRowHeight))};ua.execute=function(Sa){if(0!=Ra)F.setTableRowHeight(this.state.cell,Ra,!Oa);else if(!B.blockDelayedSelection){var Xa=F.getCellAt(Sa.getGraphX(),Sa.getGraphY())||Z.cell;F.graphHandler.selectCellForEvent(Xa,Sa)}Ra=0};ua.reset=function(){Ra=0}}q.push(ua)})(K);for(K=0;K<Ma.length;K++)mxUtils.bind(this,function(Ga){var wa=F.view.getState(Ma[Ga]),ua=F.getCellGeometry(Ma[Ga]),Ta=null!=ua.alternateBounds?
+ua.alternateBounds:ua;null==wa&&(wa=new mxCellState(F.view,Ma[Ga],F.getCellStyle(Ma[Ga])),wa.x=Z.x+ua.x*R,wa.y=Z.y+ua.y*R,wa.width=Ta.width*R,wa.height=Ta.height*R,wa.updateCachedBounds());ua=Ga<Ma.length-1?Ma[Ga+1]:null;ua=null!=ua?F.getCellGeometry(ua):null;var Ra=null!=ua&&null!=ua.alternateBounds?ua.alternateBounds:ua;ua=null!=Na[Ga]?new Y(Na[Ga],mxConstants.NONE,1):new mxLine(new mxRectangle,mxConstants.NONE,1,!0);ua.isDashed=ja.isDashed;ua.svgStrokeTolerance++;wa=new mxHandle(wa,"col-resize",
+null,ua);wa.tableHandle=!0;var Oa=0;wa.shape.node.parentNode.insertBefore(wa.shape.node,wa.shape.node.parentNode.firstChild);wa.redraw=function(){if(null!=this.shape){this.shape.stroke=0==Oa?mxConstants.NONE:ja.stroke;if(this.shape.constructor==Y)this.shape.line=A(Na[Ga],Oa,0),this.shape.updateBoundsFromLine();else{var Xa=F.getActualStartSize(Z.cell,!0);this.shape.bounds.width=1;this.shape.bounds.x=this.state.x+(Ta.width+Oa)*R;this.shape.bounds.y=Z.y+(Ga==Ma.length-1?0:Xa.y*R);this.shape.bounds.height=
+Z.height-(Ga==Ma.length-1?0:(Xa.height+Xa.y)*R)}this.shape.redraw()}};var Sa=!1;wa.setPosition=function(Xa,kb,tb){Oa=Math.max(Graph.minTableColumnWidth-Ta.width,kb.x-Xa.x-Ta.width);Sa=mxEvent.isShiftDown(tb.getEvent());null==Ra||Sa||(Oa=Math.min(Oa,Ra.width-Graph.minTableColumnWidth))};wa.execute=function(Xa){if(0!=Oa)F.setTableColumnWidth(this.state.cell,Oa,Sa);else if(!B.blockDelayedSelection){var kb=F.getCellAt(Xa.getGraphX(),Xa.getGraphY())||Z.cell;F.graphHandler.selectCellForEvent(kb,Xa)}Oa=
+0};wa.positionChanged=function(){};wa.reset=function(){Oa=0};q.push(wa)})(K)}}return null!=q?q.reverse():null};var ia=mxVertexHandler.prototype.setHandlesVisible;mxVertexHandler.prototype.setHandlesVisible=function(q){ia.apply(this,arguments);if(null!=this.moveHandles)for(var A=0;A<this.moveHandles.length;A++)null!=this.moveHandles[A]&&(this.moveHandles[A].node.style.visibility=q?"":"hidden");if(null!=this.cornerHandles)for(A=0;A<this.cornerHandles.length;A++)this.cornerHandles[A].node.style.visibility=
+q?"":"hidden"};mxVertexHandler.prototype.isMoveHandlesVisible=function(){return this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)};mxVertexHandler.prototype.refreshMoveHandles=function(){var q=this.isMoveHandlesVisible();q&&null==this.moveHandles?this.moveHandles=this.createMoveHandles():q||null==this.moveHandles||this.destroyMoveHandles();if(q&&null==this.moveHandles){for(q=0;q<this.moveHandles.length;q++)null!=this.moveHandles[q]&&this.moveHandles[q].parentNode.removeChild(this.moveHandles[q]);
+this.moveHandles=null}};mxVertexHandler.prototype.createMoveHandles=function(){for(var q=this.graph,A=q.model,B=[],F=0;F<A.getChildCount(this.state.cell);F++)mxUtils.bind(this,function(K){if(null!=K&&A.isVertex(K.cell)&&q.isCellMovable(K.cell)){var R=new mxRectangle(0,0,this.rowHandleImage.width,this.rowHandleImage.height);R=new mxImageShape(R,this.rowHandleImage.src);R.rowState=K;R.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_MIXEDHTML:mxConstants.DIALECT_SVG;R.init(this.graph.getView().getOverlayPane());
+R.node.style.cursor="move";mxEvent.addGestureListeners(R.node,mxUtils.bind(this,function(Z){this.graph.popupMenuHandler.hideMenu();this.graph.stopEditing(!1);!this.graph.isToggleEvent(Z)&&this.graph.isCellSelected(K.cell)||this.graph.selectCellForEvent(K.cell,Z);mxEvent.isPopupTrigger(Z)||(this.graph.graphHandler.start(this.state.cell,mxEvent.getClientX(Z),mxEvent.getClientY(Z),this.graph.getSelectionCells()),this.graph.graphHandler.cellWasClicked=!0,this.graph.isMouseTrigger=mxEvent.isMouseEvent(Z),
+this.graph.isMouseDown=!0);mxEvent.consume(Z)}),null,mxUtils.bind(this,function(Z){mxEvent.isPopupTrigger(Z)&&(this.graph.popupMenuHandler.popup(mxEvent.getClientX(Z),mxEvent.getClientY(Z),K.cell,Z),mxEvent.consume(Z))}));B.push(R)}else B.push(null)})(this.graph.view.getState(A.getChildAt(this.state.cell,F)));return B};mxVertexHandler.prototype.destroyMoveHandles=function(){if(null!=this.moveHandles){for(var q=0;q<this.moveHandles.length;q++)null!=this.moveHandles[q]&&this.moveHandles[q].destroy();
+this.moveHandles=null}};mxVertexHandler.prototype.destroyCornerHandles=function(){if(null!=this.cornerHandles){for(var q=0;q<this.cornerHandles.length;q++)null!=this.cornerHandles[q]&&null!=this.cornerHandles[q].node&&null!=this.cornerHandles[q].node.parentNode&&this.cornerHandles[q].node.parentNode.removeChild(this.cornerHandles[q].node);this.cornerHandles=null}};var ta=mxVertexHandler.prototype.refresh;mxVertexHandler.prototype.refresh=function(){ta.apply(this,arguments);this.destroyMoveHandles();
+this.destroyCornerHandles();if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell))this.refreshMoveHandles();else if(1==this.graph.getSelectionCount()&&this.graph.isCellMovable(this.state.cell)&&(this.graph.isTableCell(this.state.cell)||this.graph.isTableRow(this.state.cell))){this.cornerHandles=[];for(var q=0;4>q;q++){var A=new mxRectangleShape(new mxRectangle(0,0,6,6),"#ffffff",mxConstants.HANDLE_STROKECOLOR);A.dialect=mxConstants.DIALECT_SVG;A.init(this.graph.view.getOverlayPane());
+this.cornerHandles.push(A)}}this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)&&this.refreshMoveHandles();q=this.graph.getLinkForCell(this.state.cell);A=this.graph.getLinksForState(this.state);this.updateLinkHint(q,A)};var aa=mxVertexHandler.prototype.getHandlePadding;mxVertexHandler.prototype.getHandlePadding=function(){var q=new mxPoint(0,0),A=this.tolerance,B=this.state.style.shape;null==mxCellRenderer.defaultShapes[B]&&mxStencilRegistry.getStencil(B);B=this.graph.isTable(this.state.cell)||
+this.graph.cellEditor.getEditingCell()==this.state.cell;if(!B&&null!=this.customHandles)for(var F=0;F<this.customHandles.length;F++)if(null!=this.customHandles[F]&&null!=this.customHandles[F].shape&&null!=this.customHandles[F].shape.bounds){var K=this.customHandles[F].shape.bounds,R=K.getCenterX(),Z=K.getCenterY();if(Math.abs(this.state.x-R)<K.width/2||Math.abs(this.state.y-Z)<K.height/2||Math.abs(this.state.x+this.state.width-R)<K.width/2||Math.abs(this.state.y+this.state.height-Z)<K.height/2){B=
+!0;break}}B&&null!=this.sizers&&0<this.sizers.length&&null!=this.sizers[0]?(A/=2,this.graph.isTable(this.state.cell)&&(A+=7),q.x=this.sizers[0].bounds.width+A,q.y=this.sizers[0].bounds.height+A):q=aa.apply(this,arguments);return q};mxVertexHandler.prototype.updateHint=function(q){if(this.index!=mxEvent.LABEL_HANDLE){null==this.hint&&(this.hint=a(),this.state.view.graph.container.appendChild(this.hint));if(this.index==mxEvent.ROTATION_HANDLE)this.hint.innerHTML=this.currentAlpha+"&deg;";else{q=this.state.view.scale;
+var A=this.state.view.unit;this.hint.innerHTML=b(this.roundLength(this.bounds.width/q),A)+" x "+b(this.roundLength(this.bounds.height/q),A)}q=mxUtils.getBoundingBox(this.bounds,null!=this.currentAlpha?this.currentAlpha:this.state.style[mxConstants.STYLE_ROTATION]||"0");null==q&&(q=this.bounds);this.hint.style.left=q.x+Math.round((q.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=q.y+q.height+Editor.hintOffset+"px";null!=this.linkHint&&(this.linkHint.style.display="none")}};mxVertexHandler.prototype.removeHint=
+function(){mxGraphHandler.prototype.removeHint.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.display="")};var P=mxEdgeHandler.prototype.refresh;mxEdgeHandler.prototype.refresh=function(){P.apply(this,arguments);var q=this.graph.getLinkForCell(this.state.cell),A=this.graph.getLinksForState(this.state);this.updateLinkHint(q,A)};var ba=mxEdgeHandler.prototype.mouseMove;mxEdgeHandler.prototype.mouseMove=function(q,A){ba.apply(this,arguments);null!=this.linkHint&&"none"!=this.linkHint.style.display&&
+null!=this.graph.graphHandler&&null!=this.graph.graphHandler.first&&(this.linkHint.style.display="none")};var ma=mxEdgeHandler.prototype.mouseUp;mxEdgeHandler.prototype.mouseUp=function(q,A){ma.apply(this,arguments);null!=this.linkHint&&"none"==this.linkHint.style.display&&1==this.graph.getSelectionCount()&&(this.linkHint.style.display="")};mxEdgeHandler.prototype.updateHint=function(q,A,B){null==this.hint&&(this.hint=a(),this.state.view.graph.container.appendChild(this.hint));var F=this.graph.view.translate,
+K=this.graph.view.scale,R=this.roundLength(A.x/K-F.x);F=this.roundLength(A.y/K-F.y);var Z=this.graph.view.unit;this.hint.innerHTML=b(R,Z)+", "+b(F,Z);this.hint.style.visibility="visible";null!=B&&(B.view.updateEdgeBounds(B),this.hint.innerHTML+=" ("+(Z==mxConstants.POINTS?Math.round(B.length/K):b(B.length/K,Z))+")");if(this.isSource||this.isTarget)null!=this.constraintHandler&&null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus?(B=this.constraintHandler.currentConstraint.point,
+this.hint.innerHTML="["+Math.round(100*B.x)+"%, "+Math.round(100*B.y)+"%]"):this.marker.hasValidState()&&(this.hint.style.visibility="hidden");this.hint.style.left=Math.round(q.getGraphX()-this.hint.clientWidth/2)+"px";this.hint.style.top=Math.max(q.getGraphY(),A.y)+Editor.hintOffset+"px";null!=this.linkHint&&(this.linkHint.style.display="none")};Graph.prototype.expandedImage=Graph.createSvgImage(9,9,'<defs><linearGradient id="grad1" x1="50%" y1="0%" x2="50%" y2="100%"><stop offset="30%" style="stop-color:#f0f0f0;" /><stop offset="100%" style="stop-color:#AFB0B6;" /></linearGradient></defs><rect x="0" y="0" width="9" height="9" stroke="#8A94A5" fill="url(#grad1)" stroke-width="2"/><path d="M 2 4.5 L 7 4.5 z" stroke="#000"/>');
Graph.prototype.collapsedImage=Graph.createSvgImage(9,9,'<defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="30%" style="stop-color:#f0f0f0;" /><stop offset="100%" style="stop-color:#AFB0B6;" /></linearGradient></defs><rect x="0" y="0" width="9" height="9" stroke="#8A94A5" fill="url(#grad1)" stroke-width="2"/><path d="M 4.5 2 L 4.5 7 M 2 4.5 L 7 4.5 z" stroke="#000"/>');mxEdgeHandler.prototype.removeHint=mxVertexHandler.prototype.removeHint;HoverIcons.prototype.mainHandle=
Graph.createSvgImage(18,18,'<circle cx="9" cy="9" r="5" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/>');HoverIcons.prototype.endMainHandle=Graph.createSvgImage(18,18,'<circle cx="9" cy="9" r="6" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/>');HoverIcons.prototype.secondaryHandle=Graph.createSvgImage(16,16,'<path d="m 8 3 L 13 8 L 8 13 L 3 8 z" stroke="#fff" fill="#fca000"/>');HoverIcons.prototype.fixedHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="6" stroke="#fff" fill="#01bd22"/><path d="m 8 8 L 14 14M 8 14 L 14 8" stroke="#fff"/>');
HoverIcons.prototype.endFixedHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="7" stroke="#fff" fill="#01bd22"/><path d="m 8 8 L 14 14M 8 14 L 14 8" stroke="#fff"/>');HoverIcons.prototype.terminalHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="6" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/><circle cx="11" cy="11" r="3" stroke="#fff" fill="transparent"/>');HoverIcons.prototype.endTerminalHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="7" stroke="#fff" fill="'+
@@ -3183,8 +3183,8 @@ mxConstants.STYLE_FILLCOLOR,k=this.createCellColorOption(mxResources.get("fill")
mxConstants.DIRECTION_RADIAL];for(v=0;v<w.length;v++){var y=document.createElement("option");y.setAttribute("value",w[v]);mxUtils.write(y,mxResources.get(w[v]));d.appendChild(y)}m.appendChild(d);var C;b();g.gradient&&k.appendChild(h);var D=mxUtils.bind(this,function(){g=f.getSelectionState();var E=mxUtils.getValue(g.style,mxConstants.STYLE_GRADIENT_DIRECTION,mxConstants.DIRECTION_SOUTH),G=mxUtils.getValue(g.style,"fillStyle","auto");""==E&&(E=mxConstants.DIRECTION_SOUTH);d.value=E;a.style.display=
g.fill?"":"none";E=mxUtils.getValue(g.style,p,null);if(g.fill&&null!=E&&E!=mxConstants.NONE&&"filledEdge"!=g.style.shape){if("1"==g.style.sketch){if(2!=C){h.innerHTML="";C=2;for(E=0;E<Editor.roughFillStyles.length;E++){var J=document.createElement("option");J.setAttribute("value",Editor.roughFillStyles[E].val);mxUtils.write(J,Editor.roughFillStyles[E].dispName);h.appendChild(J)}h.value="auto"}}else 1!=C&&b();h.value=G;h.value||(G="auto",h.value=G);h.style.display="1"==g.style.sketch||"none"==d.style.display?
"":"none";m.style.display=!g.gradient||g.containsImage||"1"==g.style.sketch&&"solid"!=G&&"auto"!=G?"none":""}else h.style.display="none",m.style.display="none"});e.getModel().addListener(mxEvent.CHANGE,D);this.listeners.push({destroy:function(){e.getModel().removeListener(D)}});D();mxEvent.addListener(d,"change",function(E){e.setCellStyles(mxConstants.STYLE_GRADIENT_DIRECTION,d.value,g.cells);f.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_GRADIENT_DIRECTION],"values",[d.value],
-"cells",g.cells));mxEvent.consume(E)});mxEvent.addListener(h,"change",function(E){e.setCellStyles("fillStyle",h.value,g.cells);f.fireEvent(new mxEventObject("styleChanged","keys",["fillStyle"],"values",[h.value],"cells",g.cells));mxEvent.consume(E)});a.appendChild(k);a.appendChild(m);k=this.getCustomColors();for(v=0;v<k.length;v++)a.appendChild(this.createCellColorOption(k[v].title,k[v].key,k[v].defaultValue,null,null,k[v].defaultColorValue));k=mxUtils.bind(this,function(E,G){if(null!=E){E=E.split(",");
-for(var J=0;J<E.length;J++){var M=E[J].replace(/([a-z])([A-Z])/g,"$1 $2");a.appendChild(this.createCellColorOption(M.charAt(0).toUpperCase()+M.substring(1),E[J],"default",null,null,G))}}});k(g.style.fillColorStyles,e.shapeBackgroundColor);k(g.style.strokeColorStyles,e.shapeForegroundColor);return a};
+"cells",g.cells));mxEvent.consume(E)});mxEvent.addListener(h,"change",function(E){e.setCellStyles("fillStyle",h.value,g.cells);f.fireEvent(new mxEventObject("styleChanged","keys",["fillStyle"],"values",[h.value],"cells",g.cells));mxEvent.consume(E)});a.appendChild(k);a.appendChild(m);k=this.getCustomColors();for(v=0;v<k.length;v++)a.appendChild(this.createCellColorOption(k[v].title,k[v].key,k[v].defaultValue,null,null,k[v].defaultColorValue));k=mxUtils.bind(this,function(E,G,J){if(null!=E){E=E.split(",");
+G=null!=G?G.split(","):null;for(var M=0;M<E.length;M++){var Q=E[M].replace(/([a-z])([A-Z])/g,"$1 $2"),L=null!=G?G[mxUtils.mod(M,G.length)]:"default";a.appendChild(this.createCellColorOption(Q.charAt(0).toUpperCase()+Q.substring(1),E[M],L,null,null,J))}}});k(g.style.fillColorStyles,g.style.defaultFillColors,e.shapeBackgroundColor);k(g.style.strokeColorStyles,g.style.defaultStrokeColors,e.shapeForegroundColor);return a};
StyleFormatPanel.prototype.getCustomColors=function(){var a=this.editorUi.getSelectionState(),b=[];if(null!=a.customProperties)for(var f in a.customProperties){var e=a.customProperties[f];null!=e&&"color"==e.type&&e.primary&&b.push({title:e.dispName,defaultValue:null==e.defVal?"#000000":e.defVal,key:e.name})}a.swimlane&&(a=this.editorUi.editor.graph,b.push({title:mxResources.get("laneColor"),key:"swimlaneFillColor",defaultValue:"default",defaultColorValue:a.shapeBackgroundColor}));return b};
StyleFormatPanel.prototype.addStroke=function(a){function b(P){var ba=e.fromUnit(parseFloat(M.value));ba=Math.min(999,Math.max(0,isNaN(ba)?1:ba));ba!=mxUtils.getValue(h.style,mxConstants.STYLE_STROKEWIDTH,1)&&(d.setCellStyles(mxConstants.STYLE_STROKEWIDTH,ba,h.cells),g.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_STROKEWIDTH],"values",[ba],"cells",h.cells)));M.value=e.inUnit(ba)+" "+e.getUnit();mxEvent.consume(P)}function f(P){var ba=e.fromUnit(parseFloat(Q.value));ba=Math.min(999,
Math.max(0,isNaN(ba)?1:ba));ba!=mxUtils.getValue(h.style,mxConstants.STYLE_STROKEWIDTH,1)&&(d.setCellStyles(mxConstants.STYLE_STROKEWIDTH,ba,h.cells),g.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_STROKEWIDTH],"values",[ba],"cells",h.cells)));Q.value=e.inUnit(ba)+" "+e.getUnit();mxEvent.consume(P)}var e=this,g=this.editorUi,d=g.editor.graph,h=g.getSelectionState(),m=document.createElement("div");m.className="geFormatEntry";h.stroke||(m.style.display="none");var p=document.createElement("select");
@@ -3674,14 +3674,14 @@ w&&0<w.length&&(f.scrollCellToVisible(w[0]),f.setSelectionCells(w))}),b):(m&&(b=
b.setAttribute("title",mxResources.get("insertColumnAfter")),b=a.addItem(mxResources.get("deleteColumn"),Editor.removeColumnImage,mxUtils.bind(this,function(){if(null!=e)try{h?f.deleteLane(e):f.deleteTableColumn(e)}catch(k){this.editorUi.handleError(k)}})),b.setAttribute("title",mxResources.get("deleteColumn"))),p&&(b=a.addItem(mxResources.get("insertRowBefore"),Editor.addRowAboveImage,mxUtils.bind(this,function(){try{h?f.insertLane(e,!0):f.insertTableRow(e,!0)}catch(k){this.editorUi.handleError(k)}})),
b.setAttribute("title",mxResources.get("insertRowBefore")),b=a.addItem(mxResources.get("insertRowAfter"),Editor.addRowBelowImage,mxUtils.bind(this,function(){try{h?f.insertLane(e,!1):f.insertTableRow(e,!1)}catch(k){this.editorUi.handleError(k)}})),b.setAttribute("title",mxResources.get("insertRowAfter")),b=a.addItem(mxResources.get("deleteRow"),Editor.removeRowImage,mxUtils.bind(this,function(){try{h?f.deleteLane(e):f.deleteTableRow(e)}catch(k){this.editorUi.handleError(k)}})),b.setAttribute("title",
mxResources.get("deleteRow")),p=this.editorUi.getSelectionState(),null!=p.mergeCell?this.addMenuItem(a,"mergeCells"):(1<p.style.colspan||1<p.style.rowspan)&&this.addMenuItem(a,"unmergeCells")))};
-Menus.prototype.addInsertTableItem=function(a,b,f,e){function g(C){m=d.getParentByName(mxEvent.getSource(C),"TD");var D=!1;if(null!=m){h=d.getParentByName(m,"TR");var E=mxEvent.isMouseEvent(C)?2:4,G=w,J=Math.min(20,h.sectionRowIndex+E);E=Math.min(20,m.cellIndex+E);for(var M=G.rows.length;M<J;M++)for(var Q=G.insertRow(M),L=0;L<G.rows[0].cells.length;L++)Q.insertCell(-1);for(M=0;M<G.rows.length;M++)for(Q=G.rows[M],L=Q.cells.length;L<E;L++)Q.insertCell(-1);y.innerHTML=m.cellIndex+1+"x"+(h.sectionRowIndex+
-1);for(G=0;G<w.rows.length;G++)for(J=w.rows[G],E=0;E<J.cells.length;E++)M=J.cells[E],G==h.sectionRowIndex&&E==m.cellIndex&&(D="blue"==M.style.backgroundColor),M.style.backgroundColor=G<=h.sectionRowIndex&&E<=m.cellIndex?"blue":"transparent"}mxEvent.consume(C);return D}e=null!=e?e:!0;b=null!=b?b:mxUtils.bind(this,function(C,D,E){var G=this.editorUi.editor.graph;if(null!=G.getParentByName(mxEvent.getSource(C),"TD")&&null!=G.cellEditor.textarea){var J=G.cellEditor.textarea.getElementsByTagName("table");
-C=[];for(var M=0;M<J.length;M++)C.push(J[M]);G.container.focus();M=G.pasteHtmlAtCaret;J=["<table>"];for(var Q=0;Q<D;Q++){J.push("<tr>");for(var L=0;L<E;L++)J.push("<td><br></td>");J.push("</tr>")}J.push("</table>");D=J.join("");M.call(G,D);D=G.cellEditor.textarea.getElementsByTagName("table");if(D.length==C.length+1)for(M=D.length-1;0<=M;M--)if(0==M||D[M]!=C[M-1]){G.selectNode(D[M].rows[0].cells[0]);break}}});var d=this.editorUi.editor.graph,h=null,m=null;null==f&&(a.div.classList.add("geToolbarMenu"),
-a.labels=!1);a=a.addItem("",null,null,f,null,null,null,!0);a.firstChild.style.fontSize=Menus.prototype.defaultFontSize+"px";f=a.getElementsByTagName("td");1<f.length&&(f[1].style.display="none",f[2].style.display="none");a.firstChild.innerText="";var p=document.createElement("input");p.setAttribute("id","geTitleOption");p.setAttribute("type","checkbox");p.style.verticalAlign="middle";f=document.createElement("label");mxUtils.write(f,mxResources.get("title"));f.setAttribute("for","geTitleOption");
-f.style.verticalAlign="middle";mxEvent.addGestureListeners(f,null,null,mxUtils.bind(this,function(C){mxEvent.consume(C)}));mxEvent.addGestureListeners(p,null,null,mxUtils.bind(this,function(C){mxEvent.consume(C)}));var k=document.createElement("input");k.setAttribute("id","geContainerOption");k.setAttribute("type","checkbox");k.style.verticalAlign="middle";var v=document.createElement("label");mxUtils.write(v,mxResources.get("container"));v.setAttribute("for","geContainerOption");v.style.verticalAlign=
-"middle";mxEvent.addGestureListeners(v,null,null,mxUtils.bind(this,function(C){mxEvent.consume(C)}));mxEvent.addGestureListeners(k,null,null,mxUtils.bind(this,function(C){mxEvent.consume(C)}));e&&(a.firstChild.appendChild(p),a.firstChild.appendChild(f),mxUtils.br(a.firstChild),a.firstChild.appendChild(k),a.firstChild.appendChild(v),mxUtils.br(a.firstChild));var w=function(C,D){var E=document.createElement("table");E.className="geInsertTablePicker";E.setAttribute("border","1");E.style.borderCollapse=
-"collapse";E.style.borderStyle="solid";E.style.marginBottom="4px";E.style.marginTop="8px";E.setAttribute("cellPadding","8");for(var G=0;G<C;G++)for(var J=E.insertRow(G),M=0;M<D;M++)J.insertCell(-1);return E}(5,5);a.firstChild.appendChild(w);var y=document.createElement("div");y.style.textAlign="center";y.style.padding="4px";y.style.width="100%";y.innerHTML="1x1";a.firstChild.appendChild(y);mxEvent.addGestureListeners(w,null,null,mxUtils.bind(this,function(C){var D=g(C);null!=m&&null!=h&&D&&(b(C,h.sectionRowIndex+
-1,m.cellIndex+1,p.checked,k.checked),window.setTimeout(mxUtils.bind(this,function(){this.editorUi.hideCurrentMenu()}),0))}));mxEvent.addListener(w,"mouseover",g)};
+Menus.prototype.addInsertTableItem=function(a,b,f,e){function g(C){y=d.getParentByName(mxEvent.getSource(C),"TD");var D=!1;if(null!=y){w=d.getParentByName(y,"TR");var E=mxEvent.isMouseEvent(C)?2:4,G=k,J=Math.min(20,w.sectionRowIndex+E);E=Math.min(20,y.cellIndex+E);for(var M=G.rows.length;M<J;M++)for(var Q=G.insertRow(M),L=0;L<G.rows[0].cells.length;L++)Q.insertCell(-1);for(M=0;M<G.rows.length;M++)for(Q=G.rows[M],L=Q.cells.length;L<E;L++)Q.insertCell(-1);v.innerHTML=y.cellIndex+1+"x"+(w.sectionRowIndex+
+1);for(G=0;G<k.rows.length;G++)for(J=k.rows[G],E=0;E<J.cells.length;E++)M=J.cells[E],G==w.sectionRowIndex&&E==y.cellIndex&&(D="blue"==M.style.backgroundColor),M.style.backgroundColor=G<=w.sectionRowIndex&&E<=y.cellIndex?"blue":"transparent"}mxEvent.consume(C);return D}e=null!=e?e:!0;var d=this.editorUi.editor.graph;b=null!=b?b:mxUtils.bind(this,function(C,D,E){if(null!=d.getParentByName(mxEvent.getSource(C),"TD")&&null!=d.cellEditor.textarea){var G=d.cellEditor.textarea.getElementsByTagName("table");
+C=[];for(var J=0;J<G.length;J++)C.push(G[J]);d.container.focus();J=d;G=J.pasteHtmlAtCaret;for(var M=["<table>"],Q=0;Q<D;Q++){M.push("<tr>");for(var L=0;L<E;L++)M.push("<td><br></td>");M.push("</tr>")}M.push("</table>");D=M.join("");G.call(J,D);D=d.cellEditor.textarea.getElementsByTagName("table");if(D.length==C.length+1)for(J=D.length-1;0<=J;J--)if(0==J||D[J]!=C[J-1]){d.selectNode(D[J].rows[0].cells[0]);break}}});null==f&&(a.div.classList.add("geToolbarMenu"),a.labels=!1);a=a.addItem("",null,null,
+f,null,null,null,!0);a.firstChild.style.fontSize=Menus.prototype.defaultFontSize+"px";f=a.getElementsByTagName("td");1<f.length&&(f[1].style.display="none",f[2].style.display="none");a.firstChild.innerText="";var h=document.createElement("input");h.setAttribute("id","geTitleOption");h.setAttribute("type","checkbox");h.style.verticalAlign="middle";f=document.createElement("label");mxUtils.write(f,mxResources.get("title"));f.setAttribute("for","geTitleOption");f.style.verticalAlign="middle";mxEvent.addGestureListeners(f,
+null,null,mxUtils.bind(this,function(C){mxEvent.consume(C)}));mxEvent.addGestureListeners(h,null,null,mxUtils.bind(this,function(C){mxEvent.consume(C)}));var m=document.createElement("input");m.setAttribute("id","geContainerOption");m.setAttribute("type","checkbox");m.style.verticalAlign="middle";var p=document.createElement("label");mxUtils.write(p,mxResources.get("container"));p.setAttribute("for","geContainerOption");p.style.verticalAlign="middle";mxEvent.addGestureListeners(p,null,null,mxUtils.bind(this,
+function(C){mxEvent.consume(C)}));mxEvent.addGestureListeners(m,null,null,mxUtils.bind(this,function(C){mxEvent.consume(C)}));e&&(a.firstChild.appendChild(h),a.firstChild.appendChild(f),mxUtils.br(a.firstChild),a.firstChild.appendChild(m),a.firstChild.appendChild(p),mxUtils.br(a.firstChild));var k=function(C,D){var E=document.createElement("table");E.className="geInsertTablePicker";E.setAttribute("border","1");E.style.borderCollapse="collapse";E.style.borderStyle="solid";E.style.marginBottom="4px";
+E.style.marginTop="8px";E.setAttribute("cellPadding","8");for(var G=0;G<C;G++)for(var J=E.insertRow(G),M=0;M<D;M++)J.insertCell(-1);return E}(5,5);a.firstChild.appendChild(k);var v=document.createElement("div");v.style.textAlign="center";v.style.padding="4px";v.style.width="100%";v.innerHTML="1x1";a.firstChild.appendChild(v);var w=null,y=null;mxEvent.addGestureListeners(k,null,null,mxUtils.bind(this,function(C){var D=g(C);null!=y&&null!=w&&D&&(b(C,w.sectionRowIndex+1,y.cellIndex+1,h.checked,m.checked),
+window.setTimeout(mxUtils.bind(this,function(){this.editorUi.hideCurrentMenu()}),0))}));mxEvent.addListener(k,"mouseover",g)};
Menus.prototype.edgeStyleChange=function(a,b,f,e,g,d,h,m){return this.showIconOnly(a.addItem(b,m,mxUtils.bind(this,function(){var p=this.editorUi.editor.graph;p.stopEditing(!1);p.getModel().beginUpdate();try{for(var k=p.getSelectionCells(),v=[],w=0;w<k.length;w++){var y=k[w];if(p.getModel().isEdge(y)){if(h){var C=p.getCellGeometry(y);null!=C&&(C=C.clone(),C.points=null,p.getModel().setGeometry(y,C))}for(var D=0;D<f.length;D++)p.setCellStyles(f[D],e[D],[y]);v.push(y)}}this.editorUi.fireEvent(new mxEventObject("styleChanged",
"cells",v,"keys",f,"values",e,"force",0==k.length))}finally{p.getModel().endUpdate()}}),d,g))};Menus.prototype.showIconOnly=function(a){var b=a.getElementsByTagName("td");for(i=0;i<b.length;i++)"mxPopupMenuItem"==b[i].getAttribute("class")&&(b[i].style.display="none");return a};
Menus.prototype.styleChange=function(a,b,f,e,g,d,h,m,p,k){var v=this.createStyleChangeFunction(f,e);a=a.addItem(b,k,mxUtils.bind(this,function(){var w=this.editorUi.editor.graph;null!=h&&w.cellEditor.isContentEditing()?h():v(m)}),d,g);p&&this.showIconOnly(a);return a};
@@ -12739,14 +12739,14 @@ m.lastPrintSheetsAcross||"1");na.setAttribute("min","1");na.setAttribute("type",
R.style.whiteSpace="nowrap";R.style.paddingTop="12px";R.style.marginTop="12px";R.style.paddingLeft="8px";mxUtils.write(R,mxResources.get("borderWidth")+":");var qa=document.createElement("input");qa.setAttribute("type","number");qa.setAttribute("min","0");qa.style.width="40px";qa.style.marginLeft="4px";qa.value=null!=m.lastPrintBorder?m.lastPrintBorder:mxPrintPreview.prototype.pageMargin;R.appendChild(qa);u=document.createElement("span");u.style.marginLeft="8px";mxUtils.write(u,mxResources.get("zoom")+
":");R.appendChild(u);var Aa=document.createElement("input");Aa.style.width="60px";Aa.style.marginLeft="4px";Aa.value=null!=m.lastPrintZoom?m.lastPrintZoom:"100%";R.appendChild(Aa);mxUtils.br(R);var Ca=document.createElement("input");Ca.setAttribute("type","checkbox");Ca.style.marginTop="12px";Ca.checked=null!=m.lastPrintGrid?m.lastPrintGrid:!1;R.appendChild(Ca);u=document.createElement("span");u.style.marginLeft="4px";u.style.marginRight="8px";mxUtils.write(u,mxResources.get("grid"));R.appendChild(u);
mxEvent.addListener(u,"click",function(Ea){Ca.checked=!0;mxEvent.consume(Ea)});var Da=document.createElement("input");Da.setAttribute("type","checkbox");Da.style.marginTop="12px";Da.checked=null!=m.lastPrintShadow?m.lastPrintShadow:!1;R.appendChild(Da);u=document.createElement("span");u.style.marginLeft="4px";u.style.marginRight="8px";mxUtils.write(u,mxResources.get("shadows"));R.appendChild(u);m.isOffline()&&!mxClient.IS_CHROMEAPP||u.appendChild(m.createHelpIcon("https://github.com/jgraph/drawio/discussions/5136"));
-mxEvent.addListener(u,"click",function(Ea){Da.checked=!0;mxEvent.consume(Ea)});Editor.enableShadowOption?null!=D&&mxUtils.br(R):(Da.style.display="none",u.style.display="none");var za=document.createElement("input");za.setAttribute("type","checkbox");za.style.marginTop="10px";za.checked=null!=m.lastPrintTransparent?m.lastPrintTransparent:!1;null!=D&&(R.appendChild(za),u=document.createElement("span"),u.style.marginLeft="4px",mxUtils.write(u,mxResources.get("transparentBackground")),R.appendChild(u),
-mxEvent.addListener(u,"click",function(Ea){za.checked=!0;mxEvent.consume(Ea)}));var Ba=document.createElement("input");Ba.setAttribute("type","checkbox");Ba.style.marginTop="10px";Ba.checked=null!=m.lastPrintInclude?m.lastPrintInclude:Editor.defaultIncludeDiagram;null==D||mxClient.IS_CHROMEAPP||"draw.io"!=m.getServiceName()||(mxUtils.br(R),R.appendChild(Ba),u=document.createElement("span"),u.style.marginLeft="4px",mxUtils.write(u,mxResources.get("includeCopyOfMyDiagram")),R.appendChild(u),mxEvent.addListener(u,
-"click",function(Ea){Ba.checked=!0;mxEvent.consume(Ea)}));S.appendChild(R);u=document.createElement("div");u.style.marginTop="30px";u.style.textAlign="right";u.style.whiteSpace="nowrap";m.isOffline()&&!mxClient.IS_CHROMEAPP||null!=D||u.appendChild(m.createHelpIcon("https://www.drawio.com/doc/faq/print-diagram"));R=mxUtils.button(mxResources.get("cancel"),function(){m.hideDialog()});R.className="geBtn";m.editor.cancelFirst&&u.appendChild(R);PrintDialog.previewEnabled&&null==D&&(V=mxUtils.button(mxResources.get("preview"),
-function(){try{m.hideDialog(),O(!1)}catch(Ea){m.handleError(Ea)}}),V.className="geBtn",u.appendChild(V));M=null!=M?M:null!=D?"export":PrintDialog.previewEnabled?"print":"ok";M=mxUtils.button(mxResources.get(M),function(){try{m.hideDialog(),O(!0)}catch(Ea){m.handleError(Ea)}});M.className="geBtn gePrimaryBtn";u.appendChild(M);m.editor.cancelFirst||u.appendChild(R);S.appendChild(u);if(m.editor.isChromelessView()){var Ka=function(){Editor.isDarkMode()?(S.classList.add("geDarkMode"),S.style.colorScheme=
-"dark"):(S.classList.remove("geDarkMode"),S.style.colorScheme="light")};m.addListener("darkModeChanged",Ka);Ka();var Ma=function(Ea,Ia){Ea=Ia.getProperty("dialog");S.parentNode==Ea.container&&(m.editor.removeListener(Ma),m.removeListener(Ka))};m.editor.addListener("hideDialog",Ma)}this.container=S};var K=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||
+mxEvent.addListener(u,"click",function(Ea){"IMG"!=mxEvent.getSource(Ea).nodeName&&(Da.checked=!0,mxEvent.consume(Ea))});Editor.enableShadowOption?null!=D&&mxUtils.br(R):(Da.style.display="none",u.style.display="none");var za=document.createElement("input");za.setAttribute("type","checkbox");za.style.marginTop="10px";za.checked=null!=m.lastPrintTransparent?m.lastPrintTransparent:!1;null!=D&&(R.appendChild(za),u=document.createElement("span"),u.style.marginLeft="4px",mxUtils.write(u,mxResources.get("transparentBackground")),
+R.appendChild(u),mxEvent.addListener(u,"click",function(Ea){za.checked=!0;mxEvent.consume(Ea)}));var Ba=document.createElement("input");Ba.setAttribute("type","checkbox");Ba.style.marginTop="10px";Ba.checked=null!=m.lastPrintInclude?m.lastPrintInclude:Editor.defaultIncludeDiagram;null==D||mxClient.IS_CHROMEAPP||"draw.io"!=m.getServiceName()||(mxUtils.br(R),R.appendChild(Ba),u=document.createElement("span"),u.style.marginLeft="4px",mxUtils.write(u,mxResources.get("includeCopyOfMyDiagram")),R.appendChild(u),
+mxEvent.addListener(u,"click",function(Ea){Ba.checked=!0;mxEvent.consume(Ea)}));S.appendChild(R);u=document.createElement("div");u.style.marginTop="30px";u.style.textAlign="right";u.style.whiteSpace="nowrap";m.isOffline()&&!mxClient.IS_CHROMEAPP||null!=D||u.appendChild(m.createHelpIcon("https://www.drawio.com/doc/faq/print-diagram"));R=mxUtils.button(mxResources.get("cancel"),function(){m.hideDialog()});R.className="geBtn";m.editor.cancelFirst&&u.appendChild(R);PrintDialog.previewEnabled&&null==D&&
+(V=mxUtils.button(mxResources.get("preview"),function(){try{m.hideDialog(),O(!1)}catch(Ea){m.handleError(Ea)}}),V.className="geBtn",u.appendChild(V));M=null!=M?M:null!=D?"export":PrintDialog.previewEnabled?"print":"ok";M=mxUtils.button(mxResources.get(M),function(){try{m.hideDialog(),O(!0)}catch(Ea){m.handleError(Ea)}});M.className="geBtn gePrimaryBtn";u.appendChild(M);m.editor.cancelFirst||u.appendChild(R);S.appendChild(u);if(m.editor.isChromelessView()){var Ka=function(){Editor.isDarkMode()?(S.classList.add("geDarkMode"),
+S.style.colorScheme="dark"):(S.classList.remove("geDarkMode"),S.style.colorScheme="light")};m.addListener("darkModeChanged",Ka);Ka();var Ma=function(Ea,Ia){Ea=Ia.getProperty("dialog");S.parentNode==Ea.container&&(m.editor.removeListener(Ma),m.removeListener(Ka))};m.editor.addListener("hideDialog",Ma)}this.container=S};var K=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 K.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="28.0.4";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))&&"https://preprod.diagrams.net/"!=window.location.hostname&&"support.draw.io"!=window.location.hostname&&
+this.shadowVisible=!this.shadowVisible)}})();(function(){EditorUi.VERSION="28.0.5";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))&&"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,flowchart:{htmlLabels:!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:{titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,leftPadding:75,gridLineStartPadding:35,fontSize:11,fontFamily:'"Open-Sans", "sans-serif"',numberSectionStyles:4,axisFormat:"%Y-%m-%d"}};
diff --git a/src/main/webapp/js/extensions.min.js b/src/main/webapp/js/extensions.min.js
index b83cd2523..2d12616fa 100644
--- a/src/main/webapp/js/extensions.min.js
+++ b/src/main/webapp/js/extensions.min.js
@@ -28,41 +28,41 @@ p.Class)?(f-=90,n.geometry.rotate90()):0<=mxUtils.indexOf(vf,p.Class)&&(f+=180);
f.substring(0,7):null}function ba(f,p){return(f=Q(f))&&7<f.length?p+"="+Math.round(parseInt("0x"+f.substr(7))/2.55)+";":""}function ja(f,p){if(null!=f.FillColor)if("object"===typeof f.FillColor){if(null!=f.FillColor.cs&&1<f.FillColor.cs.length)return Ub(mxConstants.STYLE_FILLCOLOR,Y(f.FillColor.cs[0].c))+Ub(mxConstants.STYLE_GRADIENTCOLOR,Y(f.FillColor.cs[1].c))}else return"string"===typeof f.FillColor?Ub(mxConstants.STYLE_FILLCOLOR,Y(f.FillColor),"#FFFFFF"):Ub(mxConstants.STYLE_FILLCOLOR,"none");
return""}function Fb(f){return"dotted"==f.StrokeStyle?"dashed=1;fixDash=1;dashPattern=1 4;":"dashdot"==f.StrokeStyle?"dashed=1;fixDash=1;dashPattern=10 5 1 5;":"dashdotdot"==f.StrokeStyle?"dashed=1;fixDash=1;dashPattern=10 5 1 5 1 5;":"dotdotdot"==f.StrokeStyle?"dashed=1;fixDash=1;dashPattern=1 2;":"longdash"==f.StrokeStyle?"dashed=1;fixDash=1;dashPattern=16 6;":"dashlongdash"==f.StrokeStyle?"dashed=1;fixDash=1;dashPattern=10 6 16 6;":"dashed24"==f.StrokeStyle?"dashed=1;fixDash=1;dashPattern=3 8;":
"dashed32"==f.StrokeStyle?"dashed=1;fixDash=1;dashPattern=6 5;":"dashed44"==f.StrokeStyle?"dashed=1;fixDash=1;dashPattern=8 8;":null!=f.StrokeStyle&&"dashed"==f.StrokeStyle.substring(0,6)?"dashed=1;fixDash=1;":""}function sb(f){return null!=f.LineWidth?Ub(mxConstants.STYLE_STROKEWIDTH,B(.75*parseFloat(f.LineWidth)),"1"):""}function nc(f,p,n){var e="";f.FillColor&&f.FillColor.url?(n=f.FillColor.url,"fill"==f.FillColor.pos&&(e="imageAspect=0;")):"ImageSearchBlock2"==p.Class?n=f.URL:"UserImage2Block"==
-p.Class&&null!=f.ImageFillProps&&null!=f.ImageFillProps.url&&(n=f.ImageFillProps.url);return null!=n?"image="+u(n)+";"+e:""}function Bc(f,p,n){null!=p.Link&&0<p.Link.length&&n.setAttributeForCell(f,"link",L(p.Link[0]));null!=p.NoteHint&&p.NoteHint.t&&n.setAttributeForCell(f,"Notes",p.NoteHint.t);var e=[],a=n.convertValueToString(f),D=!1;if(null!=a){for(var d=0;match=wf.exec(a);){var c=match[0];D=!0;if(2<c.length){var O=c.substring(2,c.length-2);"documentName"==O?O="filename":"pageName"==O?O="page":
-"totalPages"==O?O="pagecount":"page"==O?O="pagenumber":"date:"==O.substring(0,5)?O="date{"+O.substring(5).replace(/MMMM/g,"mmmm").replace(/MM/g,"mm").replace(/YYYY/g,"yyyy")+"}":"lastModifiedTime"==O.substring(0,16)?O=O.replace(/MMMM/g,"mmmm").replace(/MM/g,"mm").replace(/YYYY/g,"yyyy"):"i18nDate:"==O.substring(0,9)&&(O="date{"+O.substring(9).replace(/i18nShort/g,"shortDate").replace(/i18nMediumWithTime/g,"mmm d, yyyy hh:MM TT")+"}");O="%"+O+"%";e.push(a.substring(d,match.index)+(null!=O?O:c));d=
-match.index+c.length}}D&&(e.push(a.substring(d)),n.setAttributeForCell(f,"label",e.join("")),n.setAttributeForCell(f,"placeholders","1"))}for(var R in p)if(p.hasOwnProperty(R)&&R.toString().startsWith("ShapeData_"))try{var J=p[R],oa=mxUtils.trim(J.Label).replace(/[^a-z0-9]+/ig,"_").replace(/^\d+/,"").replace(/_+$/,"");e=f;a=oa;var aa=J.Value;D=n;d=a;for(c=0;null!=D.getAttributeForCell(e,d);)c++,d=a+"_"+c;D.setAttributeForCell(e,d,null!=aa?aa:"")}catch(ea){window.console&&console.log("Ignored "+R+
-":",ea)}}function Ld(f,p,n,e,a,D){var d=x(p);if(null!=d){var c=Md[d.Class];null!=c?(f.style+=c,";"!=f.style.charAt(f.style.length-1)&&(f.style+=";")):f.edge||(console.log("No mapping found for: "+d.Class),LucidImporter.hasUnknownShapes=!0);c=null!=d.Properties?d.Properties:d;if(null!=c&&(f.value=D?"":l(c),f.style+=h(f.style,c,d,f,t,!0),f.style.includes("strokeColor")||(f.style+=y(c,d)),Bc(f,c,n),c.Title&&c.Title.t&&c.Text&&c.Text.t&&"ExtShape"!=d.Class.substr(0,8)&&(n=f.geometry,n=new mxCell(l(c.Title),
-new mxGeometry(0,n.height,n.width,10),"strokeColor=none;fillColor=none;"),n.vertex=!0,f.insert(n),n.style+=q(c.Title,t)),f.edge)){f.style=null!=c.Rounding&&"diagonal"!=c.Shape?f.style+("rounded=1;arcSize="+c.Rounding+";"):f.style+"rounded=0;";if(n="curve"==c.Shape)f.style+="curved=1;";else if("diagonal"!=c.Shape)if(null!=c.ElbowPoints&&0<c.ElbowPoints.length)for(f.geometry.points=[],d=0;d<c.ElbowPoints.length;d++)f.geometry.points.push(new mxPoint(Math.round(.75*c.ElbowPoints[d].x+sc),Math.round(.75*
-c.ElbowPoints[d].y+tc)));else if("elbow"==c.Shape||null!=c.Endpoint1.Block&&null!=c.Endpoint2.Block)f.style+="edgeStyle=orthogonalEdgeStyle;";if(c.LineJumps||LucidImporter.globalProps.LineJumps)f.style+="jumpStyle=arc;";null!=c.Endpoint1.Style&&(D=Ce[c.Endpoint1.Style],null!=D?(D=D.replace(/xyz/g,"start"),f.style+="startArrow="+D+";"):(LucidImporter.hasUnknownShapes=!0,window.console&&console.log("Unknown endpoint style: "+c.Endpoint1.Style)));null!=c.Endpoint2.Style&&(D=Ce[c.Endpoint2.Style],null!=
-D?(D=D.replace(/xyz/g,"end"),f.style+="endArrow="+D+";"):(LucidImporter.hasUnknownShapes=!0,window.console&&console.log("Unknown endpoint style: "+c.Endpoint2.Style)));D=null!=c.ElbowControlPoints&&0<c.ElbowControlPoints.length?c.ElbowControlPoints:c.Joints;if(n&&null!=c.BezierJoints&&0<c.BezierJoints.length){D=[];n=c.BezierJoints[c.BezierJoints.length-1];n.p.x=c.Endpoint2.x;n.p.y=c.Endpoint2.y;for(d=0;d<c.BezierJoints.length;d++)n=c.BezierJoints[d],D.push({x:n.p.x+n.nt.x*n.lcps*.75,y:n.p.y+n.nt.y*
-n.lcps*.75}),D.push({x:n.p.x+n.nt.x*n.rcps*.75,y:n.p.y+n.nt.y*n.rcps*.75});D=D.slice(1,D.length-1)}else n&&(D=[],D.push({x:c.Endpoint1.x+(.1>c.Endpoint1.LinkX?-250:.9<c.Endpoint1.LinkX?250:0),y:c.Endpoint1.y+(.1>c.Endpoint1.LinkY?-250:.9<c.Endpoint1.LinkY?250:0)}),D.push({x:c.Endpoint2.x+(.1>c.Endpoint2.LinkX?-250:.9<c.Endpoint2.LinkX?250:0),y:c.Endpoint2.y+(.1>c.Endpoint2.LinkY?-250:.9<c.Endpoint2.LinkY?250:0)}));if(null!=D)for(f.geometry.points=[],d=0;d<D.length;d++)n=D[d].p?D[d].p:D[d],f.geometry.points.push(new mxPoint(Math.round(.75*
-n.x+sc),Math.round(.75*n.y+tc)));n=!1;if((null==f.geometry.points||0==f.geometry.points.length)&&null!=c.Endpoint1.Block&&c.Endpoint1.Block==c.Endpoint2.Block&&null!=e&&null!=a){n=new mxPoint(Math.round(e.geometry.x+e.geometry.width*c.Endpoint1.LinkX),Math.round(e.geometry.y+e.geometry.height*c.Endpoint1.LinkY));D=new mxPoint(Math.round(a.geometry.x+a.geometry.width*c.Endpoint2.LinkX),Math.round(a.geometry.y+a.geometry.height*c.Endpoint2.LinkY));sc=n.x==D.x?Math.abs(n.x-e.geometry.x)<e.geometry.width/
-2?-20:20:0;tc=n.y==D.y?Math.abs(n.y-e.geometry.y)<e.geometry.height/2?-20:20:0;var O=new mxPoint(n.x+sc,n.y+tc),R=new mxPoint(D.x+sc,D.y+tc);O.generated=!0;R.generated=!0;f.geometry.points=[O,R];n=n.x==D.x}null!=e&&e.geometry.isRotated||(O=De(f,c.Endpoint1,!0,n,null,e));null!=e&&null!=O&&(null==e.stylePoints&&(e.stylePoints=[]),e.stylePoints.push(O),LucidImporter.stylePointsSet.add(e));null!=a&&a.geometry.isRotated||(R=De(f,c.Endpoint2,!1,n,null,a));null!=a&&null!=R&&(null==a.stylePoints&&(a.stylePoints=
-[]),a.stylePoints.push(R),LucidImporter.stylePointsSet.add(a))}}null!=p.id&&(f.style+=";lucidId="+p.id+";",LucidImporter.lucidchartObjects[p.id]=p)}function Ee(f,p){var n=x(f).Properties,e=n.BoundingBox;null==f.Class||"AWS"!==f.Class.substring(0,3)&&"Amazon"!==f.Class.substring(0,6)||f.Class.includes("AWS19")||(e.h-=20);v=new mxCell("",new mxGeometry(Math.round(.75*e.x+sc),Math.round(.75*e.y+tc),Math.round(.75*e.w),Math.round(.75*e.h)),"html=1;overflow=block;blockSpacing=1;whiteSpace=wrap;");v.vertex=
-!0;Ld(v,f,p);v.zOrder=n.ZOrder;Fe(v,n);n.Hidden&&(v.visible=!1);return v}function xf(f,p,n,e){var a=new mxCell("",new mxGeometry(0,0,100,100),"html=1;jettySize=18;");a.geometry.relative=!0;a.edge=!0;Ld(a,f,p,n,e,!0);var D=x(f).Properties,d=null!=D?D.TextAreas:f.TextAreas;if(null!=d){for(var c=0;void 0!==d["t"+c];){var O=d["t"+c];null!=O&&(a=Nd(O,a,f,n,e,p));c++}for(c=0;void 0!==d["m"+c]||1>c;)O=d["m"+c],null!=O&&(a=Nd(O,a,f,n,e,p)),c++;null!=d.Text&&(a=Nd(d.Text,a,f,n,e,p));d=null!=D?D.TextAreas:
-f.TextAreas;null!=d.Message&&(a=Nd(d.Message,a,f,n,e,p))}f.Hidden&&(a.visible=!1);return a}function Nd(f,p,n,e,a,D){var d=2*(parseFloat(f.Location)-.5);isNaN(d)&&null!=f.Text&&null!=f.Text.Location&&(d=2*(parseFloat(f.Text.Location)-.5));D=l(f);var c=mxCell;d=new mxGeometry(isNaN(d)?0:d,0,0,0);var O=ee;var R=n;if(t)R=gb;else{var J="13",oa="";if(null!=f&&null!=f.Value&&null!=f.Value.m){oa=Qa(f.Value.m);for(var aa=0;aa<f.Value.m.length;aa++)if("s"==f.Value.m[aa].n&&f.Value.m[aa].v)J=B(.75*parseFloat(f.Value.m[aa].v));
-else if("c"==f.Value.m[aa].n){var ea=Q(f.Value.m[aa].v);null!=ea&&(ea=ea.substring(0,7));"#000000"==ea&&(ea="default");oa+="fontColor="+ea+";"}oa+=T(R);gb=""}R=oa+";fontSize="+J+";"}c=new c(D,d,O+R);c.geometry.relative=!0;c.vertex=!0;if(f.Side)try{n.Action&&n.Action.Properties&&(n=n.Action.Properties);if(null!=e&&null!=a){var ka=e.geometry,sa=a.geometry;var fa=Math.abs(ka.x+ka.width*n.Endpoint1.LinkX-(sa.x+sa.width*n.Endpoint2.LinkX));var ta=Math.abs(ka.y+ka.height*n.Endpoint1.LinkY-(sa.y+sa.height*
-n.Endpoint2.LinkY))}else fa=Math.abs(n.Endpoint1.x-n.Endpoint2.x),ta=Math.abs(n.Endpoint1.y-n.Endpoint2.y);var Ka=mxUtils.getSizeForString(D.replace(/\n/g,"<br>"));c.geometry.offset=0==fa||fa<ta?new mxPoint(Math.sign(n.Endpoint1.y-n.Endpoint2.y)*f.Side*(Ka.width/2+5+fa),0):new mxPoint(0,Math.sign(n.Endpoint2.x-n.Endpoint1.x)*f.Side*(Ka.height/2+5+ta))}catch(ua){console.log(ua)}p.insert(c);return p}function Ub(f,p,n,e){null!=p&&null!=e&&(p=e(p));return null!=p&&p!=n?f+"="+p+";":""}function De(f,p,
-n,e,a,D){if(null!=p&&null!=p.LinkX&&null!=p.LinkY&&(p.LinkX=Math.round(1E3*p.LinkX)/1E3,p.LinkY=Math.round(1E3*p.LinkY)/1E3,null!=D&&D.style&&-1<D.style.indexOf("flipH=1")&&(p.LinkX=1-p.LinkX),null!=D&&D.style&&-1<D.style.indexOf("flipV=1")&&(p.LinkY=1-p.LinkY),f.style+=(e?"":(n?"exitX":"entryX")+"="+p.LinkX+";")+(a?"":(n?"exitY":"entryY")+"="+p.LinkY+";")+(n?"exitPerimeter":"entryPerimeter")+"=0;",p.Inside))return"["+p.LinkX+","+p.LinkY+",0]"}function Ge(f,p,n,e,a){try{var D=function(fa,ta){if(null!=
-fa)if(Array.isArray(fa))for(var Ka=0;Ka<fa.length;Ka++)D(fa[Ka].p?fa[Ka].p:fa[Ka],ta);else ta=ta?.75:1,c=Math.min(c,fa.x*ta),O=Math.min(O,fa.y*ta),R=Math.max(R,(fa.x+(fa.width?fa.width:0))*ta),J=Math.max(J,(fa.y+(fa.height?fa.height:0))*ta)};null!=f.Action&&null!=f.Action.Properties&&(f=f.Action.Properties);var d=new mxCell("",new mxGeometry,"group;dropTarget=0;pointerEvents=0;");d.vertex=!0;d.zOrder=f.ZOrder;var c=Infinity,O=Infinity,R=-Infinity,J=-Infinity,oa=f.Members;a=[];for(var aa in oa){var ea=
-p[aa];null!=ea?a.push(ea):null!=e[aa]&&(a.push(e[aa]),n[aa]=d)}a.sort(function(fa,ta){fa=fa.zOrder||fa.ZOrder;ta=ta.zOrder||ta.ZOrder;return null!=fa&&null!=ta?fa>ta?1:fa<ta?-1:0:0});for(n=p=0;n<a.length;n++)if(ea=a[n],ea.vertex)D(ea.geometry),ea.parent=d,d.insert(ea,p++);else{var ka=null!=ea.Action&&ea.Action.Properties?ea.Action.Properties:ea;D(ka.Endpoint1,!0);D(ka.Endpoint2,!0);D(ka.ElbowPoints,!0);D(ka.ElbowControlPoints,!0);D(ka.BezierJoints,!0);D(ka.Joints,!0)}d.geometry.x=c;d.geometry.y=O;
-d.geometry.width=R-c;d.geometry.height=J-O;if(null!=d.children)for(n=0;n<d.children.length;n++){var sa=d.children[n].geometry;sa.x-=c;sa.y-=O}f.IsState?(d.lucidLayerInfo={name:f.Name,visible:!f.Hidden,locked:f.Restrictions.b&&f.Restrictions.p&&f.Restrictions.c},d.style+="container=1;collapsible=0;recursiveResize=0;"):f.Hidden&&(d.visible=!1);return d}catch(fa){console.log(fa)}}function yf(f,p,n){LucidImporter.hasMath=!1;LucidImporter.stylePointsSet=new Set;f.getModel().beginUpdate();try{var e=function(ua,
-ma){function Ea(Ia,da,Da){null==Ia||Ia.generated||(Ia.x-=da,Ia.y-=Da)}var Ba=null!=ma.Endpoint1.Block?D[ma.Endpoint1.Block]:null,Ca=null!=ma.Endpoint2.Block?D[ma.Endpoint2.Block]:null,b=xf(ua,f,Ba,Ca);if(ma.Endpoint1&&ma.Endpoint1.Line||ma.Endpoint2&&ma.Endpoint2.Line)console.log("Edge to Edge case"),LucidImporter.hasUnknownShapes=!0;null==Ba&&null!=ma.Endpoint1&&b.geometry.setTerminalPoint(new mxPoint(Math.round(.75*ma.Endpoint1.x),Math.round(.75*ma.Endpoint1.y)),!0);null==Ca&&null!=ma.Endpoint2&&
-b.geometry.setTerminalPoint(new mxPoint(Math.round(.75*ma.Endpoint2.x),Math.round(.75*ma.Endpoint2.y)),!1);ua=d[ua.id];if(null!=ua){for(var za=b.geometry,Wa=ma=0,wa=ua;null!=wa&&null!=wa.geometry;)ma+=wa.geometry.x,Wa+=wa.geometry.y,wa=wa.parent;Ea(za.sourcePoint,ma,Wa);Ea(za.targetPoint,ma,Wa);Ea(za.offset,ma,Wa);za=za.points;if(null!=za)for(wa=0;wa<za.length;wa++)Ea(za[wa],ma,Wa)}a.push(f.addCell(b,ua,null,Ba,Ca))},a=[],D={},d={},c={},O=[];null!=p.Lines&&(c=p.Lines);if(null!=p.Blocks){Object.assign(c,
-p.Blocks);for(var R in p.Blocks){var J=p.Blocks[R];J.id=R;var oa=!1;null!=Md[J.Class]&&"mxCompositeShape"==Md[J.Class]&&(D[J.id]=He(J,a,f),O.push(J),oa=!0);oa||(D[J.id]=Ee(J,f),O.push(J))}if(null!=p.Generators)for(R in p.Generators)"OrgChart2018"==p.Generators[R].ClassName?(LucidImporter.hasUnknownShapes=!0,Ie(R,p.Generators[R],p.Data,f,D)):LucidImporter.hasUnknownShapes=!0}else{for(var aa=0;aa<p.Objects.length;aa++)J=p.Objects[aa],c[J.id]=J,null!=J.Action&&"mxCompositeShape"==Md[J.Action.Class]?
-D[J.id]=He(J,a,f):J.IsBlock&&null!=J.Action&&null!=J.Action.Properties?D[J.id]=Ee(J,f):J.IsGenerator&&J.GeneratorData&&J.GeneratorData.p&&("OrgChart2018"==J.GeneratorData.p.ClassName?(LucidImporter.hasUnknownShapes=!0,Ie(J.GeneratorData.id,J.GeneratorData.p,J.GeneratorData.gs,f,D)):LucidImporter.hasUnknownShapes=!0),O.push(J);for(aa=0;aa<p.Objects.length;aa++)if(J=p.Objects[aa],J.IsGroup){var ea=Ge(J,D,d,c,f);ea&&(D[J.id]=ea,O.push(J))}}if(null!=p.Groups)try{for(R in p.Groups)if(J=p.Groups[R],J.id=
-R,ea=Ge(J,D,d,c,f))D[J.id]=ea,O.push(J)}catch(ua){console.log(ua)}if(null!=p.Lines)for(R in p.Lines)J=p.Lines[R],J.id=R,O.push(J);O.sort(function(ua,ma){ua=x(ua);ma=x(ma);ua=null!=ua.Properties?ua.Properties.ZOrder:ua.ZOrder;ma=null!=ma.Properties?ma.Properties.ZOrder:ma.ZOrder;return null!=ua&&null!=ma?ua>ma?1:ua<ma?-1:0:0});for(aa=0;aa<O.length;aa++){J=O[aa];var ka=D[J.id];if(null!=ka){if(null==ka.parent)if(ka.lucidLayerInfo){var sa=new mxCell;f.addCell(sa,f.model.root);sa.setVisible(ka.lucidLayerInfo.visible);
-ka.lucidLayerInfo.locked&&sa.setStyle("locked=1;");sa.setValue(ka.lucidLayerInfo.name);delete ka.lucidLayerInfo;f.addCell(ka,sa)}else a.push(f.addCell(ka))}else J.IsLine&&null!=J.Action&&null!=J.Action.Properties?e(J,J.Action.Properties):null!=J.StrokeStyle&&e(J,J)}LucidImporter.stylePointsSet.forEach(function(ua){ua.style="points=["+ua.stylePoints.join(",")+"];"+ua.style;delete ua.stylePoints});try{var fa=f.getModel().cells;f.view.validate();for(var ta in fa){var Ka=fa[ta];null!=Ka&&(zf(f,Ka),Af(f,
-Ka),Bf(f,Ka),delete Ka.zOrder)}}catch(ua){console.log(ua)}n||f.setSelectionCells(a)}finally{f.getModel().endUpdate()}}function Bf(f,p){if(f.model.contains(p)&&p.edge){var n=f.view.getState(p);if(null!=n&&null!=p.children){var e=mxRectangle.fromRectangle(n.paintBounds);e.grow(5);for(var a=0;a<p.children.length;a++){var D=f.view.getState(p.children[a]);null==D||mxUtils.contains(e,D.paintBounds.x,D.paintBounds.y)||(D.cell.geometry.offset=new mxPoint(0,0))}}f=LucidImporter.lucidchartObjects;a:{try{var d=
-p.style.match(/;lucidId=([^;]*)/);if(null!=d){var c=d[1];break a}}catch(O){}c=null}c=f[c];c=null!=c&&null!=c.Action?c.Action.Properties:null;null!=c&&"elbow"==c.Shape&&null==c.ElbowControlPoints&&null==c.ElbowPoints&&null!=n.style.exitX&&null!=n.style.exitY&&null!=n.style.entryX&&null!=n.style.entryY&&(p.style=mxUtils.setStyle(p.style,"exitX",Math.round(20*n.style.exitX)/20),p.style=mxUtils.setStyle(p.style,"exitY",Math.round(20*n.style.exitY)/20),p.style=mxUtils.setStyle(p.style,"entryX",Math.round(20*
-n.style.entryX)/20),p.style=mxUtils.setStyle(p.style,"entryY",Math.round(20*n.style.entryY)/20))}}function Af(f,p){if(f.model.contains(p)&&null!=p.style&&""!=p.style){f=p.style.split(";");for(var n={},e=[],a=f.length-1;0<=a;a--){var D=f[a].split("=");if(2!=D.length||null==n[D[0]])n[D[0]]=D[1],""!=f[a]&&e.push(f[a])}p.style=e.reverse().join(";")+";"}}function zf(f,p){if(f.model.contains(p)&&null!=p.children&&null!=p.geometry&&p.vertex&&"group;dropTarget=0;pointerEvents=0;"==p.style){for(var n=null,
-e=0;e<p.children.length;e++)if(p.children[e].vertex){var a=p.children[e].geometry;if(null!=a&&0==a.x&&0==a.y&&a.width==p.geometry.width&&a.height==p.geometry.height){if(null!=n)return;n=p.children[e]}}p=n;if(null!=p&&(n=p.parent,""==f.convertValueToString(n))){if(null!=p.edges)for(e=0;e<p.edges.length;e++)p.edges[e].source==p&&p.edges[e].setTerminal(p.parent,!0),p.edges[e].target==p&&p.edges[e].setTerminal(p.parent,!1);if(null!=p.children&&0<p.children.length)for(a=p.children.slice(),e=0;e<a.length;e++)n.insert(a[e]);
-f.cellLabelChanged(n,f.convertValueToString(p));n.style=mxUtils.setStyle(mxUtils.setStyle(p.style,"container","1"),"collapsible","0");p.removeFromParent()}}}function Cf(){var f=new Graph;f.setExtendParents(!1);f.setExtendParentsOnAdd(!1);f.setConstrainChildren(!1);f.setHtmlLabels(!0);f.getModel().maintainEdgeParent=!1;return f}function Od(f,p,n,e,a,D,d,c){this.nurbsValues=[1,3,0,0,100*(f+n),100-100*(1-(p+e)),0,1,100*(a+d),100-100*(1-(D+c)),0,1]}function Je(f,p){try{for(var n=[],e=p.BoundingBox.w,
-a=p.BoundingBox.h,D=0;D<p.Shapes.length;D++){var d=p.Shapes[D],c=d.FillColor,O=d.StrokeColor,R=d.LineWidth,J=d.Points,oa=d.Lines,aa=['<shape strokewidth="inherit"><foreground>'];aa.push("<path>");for(var ea=null,ka=0;ka<oa.length;ka++){var sa=oa[ka];if(ea!=sa.p1){var fa=J[sa.p1].x,ta=J[sa.p1].y;fa=100*fa/e;ta=100*ta/a;fa=Math.round(100*fa)/100;ta=Math.round(100*ta)/100;aa.push('<move x="'+fa+'" y="'+ta+'"/>')}if(null!=sa.n1){var Ka=J[sa.p2].x,ua=J[sa.p2].y,ma=e,Ea=a,Ba=new Od(J[sa.p1].x/e,J[sa.p1].y/
-a,sa.n1.x/e,sa.n1.y/a,J[sa.p2].x/e,J[sa.p2].y/a,sa.n2.x/e,sa.n2.y/a);if(2<=Ba.getSize()){Ba.getX(0);Ba.getY(0);Ba.getX(1);Ba.getY(1);Ka=Math.round(100*Ka/ma*100)/100;ua=Math.round(100*ua/Ea*100)/100;ma=[];Ea=[];for(var Ca=[],b=Ba.getSize(),za=0;za<b-1;za+=3)ma.push(new mxPoint(Ba.getX(za),Ba.getY(za))),Ea.push(new mxPoint(Ba.getX(za+1),Ba.getY(za+1))),za<b-2?Ca.push(new mxPoint(Ba.getX(za+2),Ba.getY(za+2))):Ca.push(new mxPoint(Ka,ua));var Wa="";for(za=0;za<ma.length;za++)Wa+='<curve x1="'+ma[za].x+
-'" y1="'+ma[za].y+'" x2="'+Ea[za].x+'" y2="'+Ea[za].y+'" x3="'+Ca[za].x+'" y3="'+Ca[za].y+'"/>';var wa=Wa}else wa=void 0;aa.push(wa)}else fa=J[sa.p2].x,ta=J[sa.p2].y,fa=100*fa/e,ta=100*ta/a,fa=Math.round(100*fa)/100,ta=Math.round(100*ta)/100,aa.push('<line x="'+fa+'" y="'+ta+'"/>');ea=sa.p2}aa.push("</path>");aa.push("<fillstroke/>");aa.push("</foreground></shape>");n.push({shapeStencil:"stencil("+Graph.compress(aa.join(""))+")",FillColor:c,LineColor:O,LineWidth:R})}LucidImporter.stencilsMap[f]={text:p.Text,
-w:e,h:a,x:p.BoundingBox.x,y:p.BoundingBox.y,stencils:n}}catch(Ia){console.log("Stencil parsing error:",Ia)}}function oc(f,p,n,e,a,D,d,c){f=new mxCell("",new mxGeometry(f,p,0,0),"strokeColor=none;fillColor=none;");f.vertex=!0;d.insert(f);D=[f];n=n.clone();c.insertEdge(n,!1);f.insertEdge(n,!0);D.push(n);e.push(a.addCell(n,null,null,null,null))}function ab(f,p,n,e,a,D,d,c,O){f=new mxCell("",new mxGeometry(f,p,0,0),"strokeColor=none;fillColor=none;");f.vertex=!0;O.insert(f);n=new mxCell("",new mxGeometry(n,
-e,0,0),"strokeColor=none;fillColor=none;");n.vertex=!0;O.insert(n);c=[n];a=a.clone();f.insertEdge(a,!0);n.insertEdge(a,!1);c.push(a);D.push(d.addCell(a,null,null,null,null))}function La(f,p,n,e,a,D){e.style="rounded=1;absoluteArcSize=1;fillColor=#ffffff;arcSize=2;strokeColor=#dddddd;";e.style+=h(e.style,a,D,e);p=l(a);e.vertex=!0;f=new mxCell(p,new mxGeometry(0,.5,24,24),"dashed=0;connectable=0;html=1;strokeColor=none;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2."+f+";part=1;shadow=0;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;");
+p.Class&&(null!=f.ImageFillProps&&null!=f.ImageFillProps.url?n=f.ImageFillProps.url:null!=f.FillColor&&null!=f.FillColor.url&&(n=f.FillColor.url));return null!=n?"image="+u(n)+";"+e:""}function Bc(f,p,n){null!=p.Link&&0<p.Link.length&&n.setAttributeForCell(f,"link",L(p.Link[0]));null!=p.NoteHint&&p.NoteHint.t&&n.setAttributeForCell(f,"Notes",p.NoteHint.t);var e=[],a=n.convertValueToString(f),D=!1;if(null!=a){for(var d=0;match=wf.exec(a);){var c=match[0];D=!0;if(2<c.length){var O=c.substring(2,c.length-
+2);"documentName"==O?O="filename":"pageName"==O?O="page":"totalPages"==O?O="pagecount":"page"==O?O="pagenumber":"date:"==O.substring(0,5)?O="date{"+O.substring(5).replace(/MMMM/g,"mmmm").replace(/MM/g,"mm").replace(/YYYY/g,"yyyy")+"}":"lastModifiedTime"==O.substring(0,16)?O=O.replace(/MMMM/g,"mmmm").replace(/MM/g,"mm").replace(/YYYY/g,"yyyy"):"i18nDate:"==O.substring(0,9)&&(O="date{"+O.substring(9).replace(/i18nShort/g,"shortDate").replace(/i18nMediumWithTime/g,"mmm d, yyyy hh:MM TT")+"}");O="%"+
+O+"%";e.push(a.substring(d,match.index)+(null!=O?O:c));d=match.index+c.length}}D&&(e.push(a.substring(d)),n.setAttributeForCell(f,"label",e.join("")),n.setAttributeForCell(f,"placeholders","1"))}for(var R in p)if(p.hasOwnProperty(R)&&R.toString().startsWith("ShapeData_"))try{var J=p[R],oa=mxUtils.trim(J.Label).replace(/[^a-z0-9]+/ig,"_").replace(/^\d+/,"").replace(/_+$/,"");e=f;a=oa;var aa=J.Value;D=n;d=a;for(c=0;null!=D.getAttributeForCell(e,d);)c++,d=a+"_"+c;D.setAttributeForCell(e,d,null!=aa?aa:
+"")}catch(ea){window.console&&console.log("Ignored "+R+":",ea)}}function Ld(f,p,n,e,a,D){var d=x(p);if(null!=d){var c=Md[d.Class];null!=c?(f.style+=c,";"!=f.style.charAt(f.style.length-1)&&(f.style+=";")):f.edge||(console.log("No mapping found for: "+d.Class),LucidImporter.hasUnknownShapes=!0);c=null!=d.Properties?d.Properties:d;if(null!=c&&(f.value=D?"":l(c),f.style+=h(f.style,c,d,f,t,!0),f.style.includes("strokeColor")||(f.style+=y(c,d)),Bc(f,c,n),c.Title&&c.Title.t&&c.Text&&c.Text.t&&"ExtShape"!=
+d.Class.substr(0,8)&&(n=f.geometry,n=new mxCell(l(c.Title),new mxGeometry(0,n.height,n.width,10),"strokeColor=none;fillColor=none;"),n.vertex=!0,f.insert(n),n.style+=q(c.Title,t)),f.edge)){f.style=null!=c.Rounding&&"diagonal"!=c.Shape?f.style+("rounded=1;arcSize="+c.Rounding+";"):f.style+"rounded=0;";if(n="curve"==c.Shape)f.style+="curved=1;";else if("diagonal"!=c.Shape)if(null!=c.ElbowPoints&&0<c.ElbowPoints.length)for(f.geometry.points=[],d=0;d<c.ElbowPoints.length;d++)f.geometry.points.push(new mxPoint(Math.round(.75*
+c.ElbowPoints[d].x+sc),Math.round(.75*c.ElbowPoints[d].y+tc)));else if("elbow"==c.Shape||null!=c.Endpoint1.Block&&null!=c.Endpoint2.Block)f.style+="edgeStyle=orthogonalEdgeStyle;";if(c.LineJumps||LucidImporter.globalProps.LineJumps)f.style+="jumpStyle=arc;";null!=c.Endpoint1.Style&&(D=Ce[c.Endpoint1.Style],null!=D?(D=D.replace(/xyz/g,"start"),f.style+="startArrow="+D+";"):(LucidImporter.hasUnknownShapes=!0,window.console&&console.log("Unknown endpoint style: "+c.Endpoint1.Style)));null!=c.Endpoint2.Style&&
+(D=Ce[c.Endpoint2.Style],null!=D?(D=D.replace(/xyz/g,"end"),f.style+="endArrow="+D+";"):(LucidImporter.hasUnknownShapes=!0,window.console&&console.log("Unknown endpoint style: "+c.Endpoint2.Style)));D=null!=c.ElbowControlPoints&&0<c.ElbowControlPoints.length?c.ElbowControlPoints:c.Joints;if(n&&null!=c.BezierJoints&&0<c.BezierJoints.length){D=[];n=c.BezierJoints[c.BezierJoints.length-1];n.p.x=c.Endpoint2.x;n.p.y=c.Endpoint2.y;for(d=0;d<c.BezierJoints.length;d++)n=c.BezierJoints[d],D.push({x:n.p.x+
+n.nt.x*n.lcps*.75,y:n.p.y+n.nt.y*n.lcps*.75}),D.push({x:n.p.x+n.nt.x*n.rcps*.75,y:n.p.y+n.nt.y*n.rcps*.75});D=D.slice(1,D.length-1)}else n&&(D=[],D.push({x:c.Endpoint1.x+(.1>c.Endpoint1.LinkX?-250:.9<c.Endpoint1.LinkX?250:0),y:c.Endpoint1.y+(.1>c.Endpoint1.LinkY?-250:.9<c.Endpoint1.LinkY?250:0)}),D.push({x:c.Endpoint2.x+(.1>c.Endpoint2.LinkX?-250:.9<c.Endpoint2.LinkX?250:0),y:c.Endpoint2.y+(.1>c.Endpoint2.LinkY?-250:.9<c.Endpoint2.LinkY?250:0)}));if(null!=D)for(f.geometry.points=[],d=0;d<D.length;d++)n=
+D[d].p?D[d].p:D[d],f.geometry.points.push(new mxPoint(Math.round(.75*n.x+sc),Math.round(.75*n.y+tc)));n=!1;if((null==f.geometry.points||0==f.geometry.points.length)&&null!=c.Endpoint1.Block&&c.Endpoint1.Block==c.Endpoint2.Block&&null!=e&&null!=a){n=new mxPoint(Math.round(e.geometry.x+e.geometry.width*c.Endpoint1.LinkX),Math.round(e.geometry.y+e.geometry.height*c.Endpoint1.LinkY));D=new mxPoint(Math.round(a.geometry.x+a.geometry.width*c.Endpoint2.LinkX),Math.round(a.geometry.y+a.geometry.height*c.Endpoint2.LinkY));
+sc=n.x==D.x?Math.abs(n.x-e.geometry.x)<e.geometry.width/2?-20:20:0;tc=n.y==D.y?Math.abs(n.y-e.geometry.y)<e.geometry.height/2?-20:20:0;var O=new mxPoint(n.x+sc,n.y+tc),R=new mxPoint(D.x+sc,D.y+tc);O.generated=!0;R.generated=!0;f.geometry.points=[O,R];n=n.x==D.x}null!=e&&e.geometry.isRotated||(O=De(f,c.Endpoint1,!0,n,null,e));null!=e&&null!=O&&(null==e.stylePoints&&(e.stylePoints=[]),e.stylePoints.push(O),LucidImporter.stylePointsSet.add(e));null!=a&&a.geometry.isRotated||(R=De(f,c.Endpoint2,!1,n,
+null,a));null!=a&&null!=R&&(null==a.stylePoints&&(a.stylePoints=[]),a.stylePoints.push(R),LucidImporter.stylePointsSet.add(a))}}null!=p.id&&(f.style+=";lucidId="+p.id+";",LucidImporter.lucidchartObjects[p.id]=p)}function Ee(f,p){var n=x(f).Properties,e=n.BoundingBox;null==f.Class||"AWS"!==f.Class.substring(0,3)&&"Amazon"!==f.Class.substring(0,6)||f.Class.includes("AWS19")||(e.h-=20);v=new mxCell("",new mxGeometry(Math.round(.75*e.x+sc),Math.round(.75*e.y+tc),Math.round(.75*e.w),Math.round(.75*e.h)),
+"html=1;overflow=block;blockSpacing=1;whiteSpace=wrap;");v.vertex=!0;Ld(v,f,p);v.zOrder=n.ZOrder;Fe(v,n);n.Hidden&&(v.visible=!1);return v}function xf(f,p,n,e){var a=new mxCell("",new mxGeometry(0,0,100,100),"html=1;jettySize=18;");a.geometry.relative=!0;a.edge=!0;Ld(a,f,p,n,e,!0);var D=x(f).Properties,d=null!=D?D.TextAreas:f.TextAreas;if(null!=d){for(var c=0;void 0!==d["t"+c];){var O=d["t"+c];null!=O&&(a=Nd(O,a,f,n,e,p));c++}for(c=0;void 0!==d["m"+c]||1>c;)O=d["m"+c],null!=O&&(a=Nd(O,a,f,n,e,p)),
+c++;null!=d.Text&&(a=Nd(d.Text,a,f,n,e,p));d=null!=D?D.TextAreas:f.TextAreas;null!=d.Message&&(a=Nd(d.Message,a,f,n,e,p))}f.Hidden&&(a.visible=!1);return a}function Nd(f,p,n,e,a,D){var d=2*(parseFloat(f.Location)-.5);isNaN(d)&&null!=f.Text&&null!=f.Text.Location&&(d=2*(parseFloat(f.Text.Location)-.5));D=l(f);var c=mxCell;d=new mxGeometry(isNaN(d)?0:d,0,0,0);var O=ee;var R=n;if(t)R=gb;else{var J="13",oa="";if(null!=f&&null!=f.Value&&null!=f.Value.m){oa=Qa(f.Value.m);for(var aa=0;aa<f.Value.m.length;aa++)if("s"==
+f.Value.m[aa].n&&f.Value.m[aa].v)J=B(.75*parseFloat(f.Value.m[aa].v));else if("c"==f.Value.m[aa].n){var ea=Q(f.Value.m[aa].v);null!=ea&&(ea=ea.substring(0,7));"#000000"==ea&&(ea="default");oa+="fontColor="+ea+";"}oa+=T(R);gb=""}R=oa+";fontSize="+J+";"}c=new c(D,d,O+R);c.geometry.relative=!0;c.vertex=!0;if(f.Side)try{n.Action&&n.Action.Properties&&(n=n.Action.Properties);if(null!=e&&null!=a){var ka=e.geometry,sa=a.geometry;var fa=Math.abs(ka.x+ka.width*n.Endpoint1.LinkX-(sa.x+sa.width*n.Endpoint2.LinkX));
+var ta=Math.abs(ka.y+ka.height*n.Endpoint1.LinkY-(sa.y+sa.height*n.Endpoint2.LinkY))}else fa=Math.abs(n.Endpoint1.x-n.Endpoint2.x),ta=Math.abs(n.Endpoint1.y-n.Endpoint2.y);var Ka=mxUtils.getSizeForString(D.replace(/\n/g,"<br>"));c.geometry.offset=0==fa||fa<ta?new mxPoint(Math.sign(n.Endpoint1.y-n.Endpoint2.y)*f.Side*(Ka.width/2+5+fa),0):new mxPoint(0,Math.sign(n.Endpoint2.x-n.Endpoint1.x)*f.Side*(Ka.height/2+5+ta))}catch(ua){console.log(ua)}p.insert(c);return p}function Ub(f,p,n,e){null!=p&&null!=
+e&&(p=e(p));return null!=p&&p!=n?f+"="+p+";":""}function De(f,p,n,e,a,D){if(null!=p&&null!=p.LinkX&&null!=p.LinkY&&(p.LinkX=Math.round(1E3*p.LinkX)/1E3,p.LinkY=Math.round(1E3*p.LinkY)/1E3,null!=D&&D.style&&-1<D.style.indexOf("flipH=1")&&(p.LinkX=1-p.LinkX),null!=D&&D.style&&-1<D.style.indexOf("flipV=1")&&(p.LinkY=1-p.LinkY),f.style+=(e?"":(n?"exitX":"entryX")+"="+p.LinkX+";")+(a?"":(n?"exitY":"entryY")+"="+p.LinkY+";")+(n?"exitPerimeter":"entryPerimeter")+"=0;",p.Inside))return"["+p.LinkX+","+p.LinkY+
+",0]"}function Ge(f,p,n,e,a){try{var D=function(fa,ta){if(null!=fa)if(Array.isArray(fa))for(var Ka=0;Ka<fa.length;Ka++)D(fa[Ka].p?fa[Ka].p:fa[Ka],ta);else ta=ta?.75:1,c=Math.min(c,fa.x*ta),O=Math.min(O,fa.y*ta),R=Math.max(R,(fa.x+(fa.width?fa.width:0))*ta),J=Math.max(J,(fa.y+(fa.height?fa.height:0))*ta)};null!=f.Action&&null!=f.Action.Properties&&(f=f.Action.Properties);var d=new mxCell("",new mxGeometry,"group;dropTarget=0;pointerEvents=0;");d.vertex=!0;d.zOrder=f.ZOrder;var c=Infinity,O=Infinity,
+R=-Infinity,J=-Infinity,oa=f.Members;a=[];for(var aa in oa){var ea=p[aa];null!=ea?a.push(ea):null!=e[aa]&&(a.push(e[aa]),n[aa]=d)}a.sort(function(fa,ta){fa=fa.zOrder||fa.ZOrder;ta=ta.zOrder||ta.ZOrder;return null!=fa&&null!=ta?fa>ta?1:fa<ta?-1:0:0});for(n=p=0;n<a.length;n++)if(ea=a[n],ea.vertex)D(ea.geometry),ea.parent=d,d.insert(ea,p++);else{var ka=null!=ea.Action&&ea.Action.Properties?ea.Action.Properties:ea;D(ka.Endpoint1,!0);D(ka.Endpoint2,!0);D(ka.ElbowPoints,!0);D(ka.ElbowControlPoints,!0);
+D(ka.BezierJoints,!0);D(ka.Joints,!0)}d.geometry.x=c;d.geometry.y=O;d.geometry.width=R-c;d.geometry.height=J-O;if(null!=d.children)for(n=0;n<d.children.length;n++){var sa=d.children[n].geometry;sa.x-=c;sa.y-=O}f.IsState?(d.lucidLayerInfo={name:f.Name,visible:!f.Hidden,locked:f.Restrictions.b&&f.Restrictions.p&&f.Restrictions.c},d.style+="container=1;collapsible=0;recursiveResize=0;"):f.Hidden&&(d.visible=!1);return d}catch(fa){console.log(fa)}}function yf(f,p,n){LucidImporter.hasMath=!1;LucidImporter.stylePointsSet=
+new Set;f.getModel().beginUpdate();try{var e=function(ua,ma){function Ea(Ia,da,Da){null==Ia||Ia.generated||(Ia.x-=da,Ia.y-=Da)}var Ba=null!=ma.Endpoint1.Block?D[ma.Endpoint1.Block]:null,Ca=null!=ma.Endpoint2.Block?D[ma.Endpoint2.Block]:null,b=xf(ua,f,Ba,Ca);if(ma.Endpoint1&&ma.Endpoint1.Line||ma.Endpoint2&&ma.Endpoint2.Line)console.log("Edge to Edge case"),LucidImporter.hasUnknownShapes=!0;null==Ba&&null!=ma.Endpoint1&&b.geometry.setTerminalPoint(new mxPoint(Math.round(.75*ma.Endpoint1.x),Math.round(.75*
+ma.Endpoint1.y)),!0);null==Ca&&null!=ma.Endpoint2&&b.geometry.setTerminalPoint(new mxPoint(Math.round(.75*ma.Endpoint2.x),Math.round(.75*ma.Endpoint2.y)),!1);ua=d[ua.id];if(null!=ua){for(var za=b.geometry,Wa=ma=0,wa=ua;null!=wa&&null!=wa.geometry;)ma+=wa.geometry.x,Wa+=wa.geometry.y,wa=wa.parent;Ea(za.sourcePoint,ma,Wa);Ea(za.targetPoint,ma,Wa);Ea(za.offset,ma,Wa);za=za.points;if(null!=za)for(wa=0;wa<za.length;wa++)Ea(za[wa],ma,Wa)}a.push(f.addCell(b,ua,null,Ba,Ca))},a=[],D={},d={},c={},O=[];null!=
+p.Lines&&(c=p.Lines);if(null!=p.Blocks){Object.assign(c,p.Blocks);for(var R in p.Blocks){var J=p.Blocks[R];J.id=R;var oa=!1;null!=Md[J.Class]&&"mxCompositeShape"==Md[J.Class]&&(D[J.id]=He(J,a,f),O.push(J),oa=!0);oa||(D[J.id]=Ee(J,f),O.push(J))}if(null!=p.Generators)for(R in p.Generators)"OrgChart2018"==p.Generators[R].ClassName?(LucidImporter.hasUnknownShapes=!0,Ie(R,p.Generators[R],p.Data,f,D)):LucidImporter.hasUnknownShapes=!0}else{for(var aa=0;aa<p.Objects.length;aa++)J=p.Objects[aa],c[J.id]=J,
+null!=J.Action&&"mxCompositeShape"==Md[J.Action.Class]?D[J.id]=He(J,a,f):J.IsBlock&&null!=J.Action&&null!=J.Action.Properties?D[J.id]=Ee(J,f):J.IsGenerator&&J.GeneratorData&&J.GeneratorData.p&&("OrgChart2018"==J.GeneratorData.p.ClassName?(LucidImporter.hasUnknownShapes=!0,Ie(J.GeneratorData.id,J.GeneratorData.p,J.GeneratorData.gs,f,D)):LucidImporter.hasUnknownShapes=!0),O.push(J);for(aa=0;aa<p.Objects.length;aa++)if(J=p.Objects[aa],J.IsGroup){var ea=Ge(J,D,d,c,f);ea&&(D[J.id]=ea,O.push(J))}}if(null!=
+p.Groups)try{for(R in p.Groups)if(J=p.Groups[R],J.id=R,ea=Ge(J,D,d,c,f))D[J.id]=ea,O.push(J)}catch(ua){console.log(ua)}if(null!=p.Lines)for(R in p.Lines)J=p.Lines[R],J.id=R,O.push(J);O.sort(function(ua,ma){ua=x(ua);ma=x(ma);ua=null!=ua.Properties?ua.Properties.ZOrder:ua.ZOrder;ma=null!=ma.Properties?ma.Properties.ZOrder:ma.ZOrder;return null!=ua&&null!=ma?ua>ma?1:ua<ma?-1:0:0});for(aa=0;aa<O.length;aa++){J=O[aa];var ka=D[J.id];if(null!=ka){if(null==ka.parent)if(ka.lucidLayerInfo){var sa=new mxCell;
+f.addCell(sa,f.model.root);sa.setVisible(ka.lucidLayerInfo.visible);ka.lucidLayerInfo.locked&&sa.setStyle("locked=1;");sa.setValue(ka.lucidLayerInfo.name);delete ka.lucidLayerInfo;f.addCell(ka,sa)}else a.push(f.addCell(ka))}else J.IsLine&&null!=J.Action&&null!=J.Action.Properties?e(J,J.Action.Properties):null!=J.StrokeStyle&&e(J,J)}LucidImporter.stylePointsSet.forEach(function(ua){ua.style="points=["+ua.stylePoints.join(",")+"];"+ua.style;delete ua.stylePoints});try{var fa=f.getModel().cells;f.view.validate();
+for(var ta in fa){var Ka=fa[ta];null!=Ka&&(zf(f,Ka),Af(f,Ka),Bf(f,Ka),delete Ka.zOrder)}}catch(ua){console.log(ua)}n||f.setSelectionCells(a)}finally{f.getModel().endUpdate()}}function Bf(f,p){if(f.model.contains(p)&&p.edge){var n=f.view.getState(p);if(null!=n&&null!=p.children){var e=mxRectangle.fromRectangle(n.paintBounds);e.grow(5);for(var a=0;a<p.children.length;a++){var D=f.view.getState(p.children[a]);null==D||mxUtils.contains(e,D.paintBounds.x,D.paintBounds.y)||(D.cell.geometry.offset=new mxPoint(0,
+0))}}f=LucidImporter.lucidchartObjects;a:{try{var d=p.style.match(/;lucidId=([^;]*)/);if(null!=d){var c=d[1];break a}}catch(O){}c=null}c=f[c];c=null!=c&&null!=c.Action?c.Action.Properties:null;null!=c&&"elbow"==c.Shape&&null==c.ElbowControlPoints&&null==c.ElbowPoints&&null!=n.style.exitX&&null!=n.style.exitY&&null!=n.style.entryX&&null!=n.style.entryY&&(p.style=mxUtils.setStyle(p.style,"exitX",Math.round(20*n.style.exitX)/20),p.style=mxUtils.setStyle(p.style,"exitY",Math.round(20*n.style.exitY)/20),
+p.style=mxUtils.setStyle(p.style,"entryX",Math.round(20*n.style.entryX)/20),p.style=mxUtils.setStyle(p.style,"entryY",Math.round(20*n.style.entryY)/20))}}function Af(f,p){if(f.model.contains(p)&&null!=p.style&&""!=p.style){f=p.style.split(";");for(var n={},e=[],a=f.length-1;0<=a;a--){var D=f[a].split("=");if(2!=D.length||null==n[D[0]])n[D[0]]=D[1],""!=f[a]&&e.push(f[a])}p.style=e.reverse().join(";")+";"}}function zf(f,p){if(f.model.contains(p)&&null!=p.children&&null!=p.geometry&&p.vertex&&"group;dropTarget=0;pointerEvents=0;"==
+p.style){for(var n=null,e=0;e<p.children.length;e++)if(p.children[e].vertex){var a=p.children[e].geometry;if(null!=a&&0==a.x&&0==a.y&&a.width==p.geometry.width&&a.height==p.geometry.height){if(null!=n)return;n=p.children[e]}}p=n;if(null!=p&&(n=p.parent,""==f.convertValueToString(n))){if(null!=p.edges)for(e=0;e<p.edges.length;e++)p.edges[e].source==p&&p.edges[e].setTerminal(p.parent,!0),p.edges[e].target==p&&p.edges[e].setTerminal(p.parent,!1);if(null!=p.children&&0<p.children.length)for(a=p.children.slice(),
+e=0;e<a.length;e++)n.insert(a[e]);f.cellLabelChanged(n,f.convertValueToString(p));n.style=mxUtils.setStyle(mxUtils.setStyle(p.style,"container","1"),"collapsible","0");p.removeFromParent()}}}function Cf(){var f=new Graph;f.setExtendParents(!1);f.setExtendParentsOnAdd(!1);f.setConstrainChildren(!1);f.setHtmlLabels(!0);f.getModel().maintainEdgeParent=!1;return f}function Od(f,p,n,e,a,D,d,c){this.nurbsValues=[1,3,0,0,100*(f+n),100-100*(1-(p+e)),0,1,100*(a+d),100-100*(1-(D+c)),0,1]}function Je(f,p){try{for(var n=
+[],e=p.BoundingBox.w,a=p.BoundingBox.h,D=0;D<p.Shapes.length;D++){var d=p.Shapes[D],c=d.FillColor,O=d.StrokeColor,R=d.LineWidth,J=d.Points,oa=d.Lines,aa=['<shape strokewidth="inherit"><foreground>'];aa.push("<path>");for(var ea=null,ka=0;ka<oa.length;ka++){var sa=oa[ka];if(ea!=sa.p1){var fa=J[sa.p1].x,ta=J[sa.p1].y;fa=100*fa/e;ta=100*ta/a;fa=Math.round(100*fa)/100;ta=Math.round(100*ta)/100;aa.push('<move x="'+fa+'" y="'+ta+'"/>')}if(null!=sa.n1){var Ka=J[sa.p2].x,ua=J[sa.p2].y,ma=e,Ea=a,Ba=new Od(J[sa.p1].x/
+e,J[sa.p1].y/a,sa.n1.x/e,sa.n1.y/a,J[sa.p2].x/e,J[sa.p2].y/a,sa.n2.x/e,sa.n2.y/a);if(2<=Ba.getSize()){Ba.getX(0);Ba.getY(0);Ba.getX(1);Ba.getY(1);Ka=Math.round(100*Ka/ma*100)/100;ua=Math.round(100*ua/Ea*100)/100;ma=[];Ea=[];for(var Ca=[],b=Ba.getSize(),za=0;za<b-1;za+=3)ma.push(new mxPoint(Ba.getX(za),Ba.getY(za))),Ea.push(new mxPoint(Ba.getX(za+1),Ba.getY(za+1))),za<b-2?Ca.push(new mxPoint(Ba.getX(za+2),Ba.getY(za+2))):Ca.push(new mxPoint(Ka,ua));var Wa="";for(za=0;za<ma.length;za++)Wa+='<curve x1="'+
+ma[za].x+'" y1="'+ma[za].y+'" x2="'+Ea[za].x+'" y2="'+Ea[za].y+'" x3="'+Ca[za].x+'" y3="'+Ca[za].y+'"/>';var wa=Wa}else wa=void 0;aa.push(wa)}else fa=J[sa.p2].x,ta=J[sa.p2].y,fa=100*fa/e,ta=100*ta/a,fa=Math.round(100*fa)/100,ta=Math.round(100*ta)/100,aa.push('<line x="'+fa+'" y="'+ta+'"/>');ea=sa.p2}aa.push("</path>");aa.push("<fillstroke/>");aa.push("</foreground></shape>");n.push({shapeStencil:"stencil("+Graph.compress(aa.join(""))+")",FillColor:c,LineColor:O,LineWidth:R})}LucidImporter.stencilsMap[f]=
+{text:p.Text,w:e,h:a,x:p.BoundingBox.x,y:p.BoundingBox.y,stencils:n}}catch(Ia){console.log("Stencil parsing error:",Ia)}}function oc(f,p,n,e,a,D,d,c){f=new mxCell("",new mxGeometry(f,p,0,0),"strokeColor=none;fillColor=none;");f.vertex=!0;d.insert(f);D=[f];n=n.clone();c.insertEdge(n,!1);f.insertEdge(n,!0);D.push(n);e.push(a.addCell(n,null,null,null,null))}function ab(f,p,n,e,a,D,d,c,O){f=new mxCell("",new mxGeometry(f,p,0,0),"strokeColor=none;fillColor=none;");f.vertex=!0;O.insert(f);n=new mxCell("",
+new mxGeometry(n,e,0,0),"strokeColor=none;fillColor=none;");n.vertex=!0;O.insert(n);c=[n];a=a.clone();f.insertEdge(a,!0);n.insertEdge(a,!1);c.push(a);D.push(d.addCell(a,null,null,null,null))}function La(f,p,n,e,a,D){e.style="rounded=1;absoluteArcSize=1;fillColor=#ffffff;arcSize=2;strokeColor=#dddddd;";e.style+=h(e.style,a,D,e);p=l(a);e.vertex=!0;f=new mxCell(p,new mxGeometry(0,.5,24,24),"dashed=0;connectable=0;html=1;strokeColor=none;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2."+f+";part=1;shadow=0;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;");
f.style+=h(f.style,a,D,f,t);f.geometry.relative=!0;f.geometry.offset=new mxPoint(5,-12);f.vertex=!0;e.insert(f)}function Ra(f,p,n,e,a,D,d,c){a="transparent"!=f?mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.":mxConstants.STYLE_SHAPE+"=";D.style="rounded=1;absoluteArcSize=1;arcSize=2;verticalAlign=bottom;fillColor=#ffffff;strokeColor=#dddddd;whiteSpace=wrap;";D.style+=h(D.style,d,c,D);D.value=l(d);D.vertex=!0;f=new mxCell(null,new mxGeometry(.5,0,.7*e*p,.7*e*n),a+f+";part=1;dashed=0;connectable=0;html=1;strokeColor=none;shadow=0;");
f.geometry.relative=!0;f.geometry.offset=new mxPoint(-p*e*.35,10+(1-n)*e*.35);f.vertex=!0;f.style+=h(f.style,d,c,f,t);D.insert(f)}function Uc(f,p){return null!=f&&null!=p&&(p==mxConstants.STYLE_ALIGN+"Global"&&(p=mxConstants.STYLE_ALIGN),f.includes(";"+p+"=")||f.substring(0,p.length+1)==p+"=")?!0:!1}function Pd(f,p){function n(e){e=Math.round(parseInt("0x"+e)*p).toString(16);return 1==e.length?"0"+e:e}return"#"+n(f.substr(1,2))+n(f.substr(3,2))+n(f.substr(5,2))}function He(f,p,n){var e=x(f),a=e.Properties,
D=a.BoundingBox,d=Math.round(.75*D.w),c=Math.round(.75*D.h),O=Math.round(.75*D.x+sc),R=Math.round(.75*D.y+tc);null==f.Class||"GCPInputDatabase"!==f.Class&&"GCPInputRecord"!==f.Class&&"GCPInputPayment"!==f.Class&&"GCPInputGateway"!==f.Class&&"GCPInputLocalCompute"!==f.Class&&"GCPInputBeacon"!==f.Class&&"GCPInputStorage"!==f.Class&&"GCPInputList"!==f.Class&&"GCPInputStream"!==f.Class&&"GCPInputMobileDevices"!==f.Class&&"GCPInputCircuitBoard"!==f.Class&&"GCPInputLive"!==f.Class&&"GCPInputUsers"!==f.Class&&
@@ -1107,8 +1107,9 @@ ja,r,!0);C=0;for(y in K.actors)x(r,ja,null,null,5+8*C++,-6,12,12,"ellipse;aspect
x(r,null,null,l(I.title),k,0,12*I.title.length,40,"text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;fontSize=20;fontStyle=1");for(y in I.actors)k=I.actors[y],x(r,null,null,y,10,70+20*k.position,12,12,"ellipse;aspect=fixed;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=10;fillColor="+k.color)}else if("Mindmap"==A){Q=k._private.elements;y={};k={};for(Y=0;Y<Q.length;Y++){M=Q[Y]._private.data;switch(M.type){case 1:M.shape="roundedRect";
break;case 2:M.shape="rect";break;case 3:M.shape="circle";M.width=Math.max(M.height,M.width);M.height=M.width;break;case 4:M.shape="cloud";break;case 5:M.shape="rectCloud";break;case 6:M.shape="hexagon";break;default:M.shape="rect",M.type="round"}isNaN(M.x)||isNaN(M.y)||(y[M.id]=h(M,null,r));M=Q[Y]._private.edges;for(ba=0;ba<M.length;ba++)z=M[ba]._private.data,k[z.id]=z}for(I in k)Q=k[I],r.insertEdge(null,null,null,y[Q.source],y[Q.target],"endArrow=none")}else if("sequenceDiagram"==A)U(k,r);else if("flowchart-elk"==
A)k._nodes?ia(k,null,r):Qa(k,{},null,r);else{if("er"==A)for(Q in k._nodes)y=k._nodes[Q],y.shape="erdEntity",y.entityData=y;else if("ERD"==A){for(Q in B)B[Q].title=Q,B[Q.replace(/-|_/g,"")]=B[Q];for(Q in k._nodes)I=B[Q.split("-")[1]],y=k._nodes[Q],y.shape="erdEntity",y.labelText=I.title,y.entityData=I}else if("requirements"==A)for(Q in k=mxMermaidToDrawio.reqData,delete mxMermaidToDrawio.reqData,k._nodes)y=k._nodes[Q],y.shape=B.elements[Q]?"element":"requirement",y.data=B.elements[Q]||B.requirements[Q];
-ia(k,null,r)}y=(new mxCodec).encode(r.getModel());return mxUtils.getXml(y)}if("requirement"==A)mxMermaidToDrawio.reqData=u;else if(0!=mxMermaidToDrawio.listeners.length){u=E(u);B=E(B);var Pa=[["#000","#b4b4b4"],["#fff","#555"],["#000","#bbb"],["#fff","#777"],["#000","#999"],["#000","#ddd"],["#000","#fff"],["#000","#ddd"]],Xa="statediagram"==A||"stateDiagram"==A,Ja=EditorUi.prototype.emptyDiagramXml;try{Ja=Fa(u)}catch(k){console.log("mermaidToDrawio",k)}for(u=0;u<mxMermaidToDrawio.listeners.length;u++)mxMermaidToDrawio.listeners[u](Ja),
-clearTimeout(mxMermaidToDrawio.timeouts[u]);mxMermaidToDrawio.htmlLabels=!1;"1"!=urlParams.mermaidToDrawioTest&&mxMermaidToDrawio.resetListeners()}};mxMermaidToDrawio.listeners=[];mxMermaidToDrawio.timeouts=[];mxMermaidToDrawio.addListener=function(u){mxMermaidToDrawio.listeners.push(u);mxMermaidToDrawio.timeouts.push(setTimeout(function(){u(EditorUi.prototype.emptyDiagramXml)},5E3))};mxMermaidToDrawio.resetListeners=function(){mxMermaidToDrawio.listeners=[];mxMermaidToDrawio.timeouts=[]};function mxGraphMlCodec(){this.cachedRefObj={}}mxGraphMlCodec.prototype.refRegexp=/^\{y:GraphMLReference\s+(\d+)\}$/;mxGraphMlCodec.prototype.staticRegexp=/^\{x:Static\s+(.+)\.(.+)\}$/;
+ia(k,null,r)}y=(new mxCodec).encode(r.getModel());return mxUtils.getXml(y)}if("requirement"==A)mxMermaidToDrawio.reqData=u;else if(0!=mxMermaidToDrawio.listeners.length){u=E(u);B=E(B);var Pa=[["#000000","#b4b4b4"],["#ffffff","#555555"],["#000000","#bbbbbb"],["#ffffff","#777777"],["#000000","#999999"],["#000000","#dddddd"],["#000000","#ffffff"],["#000000","#dddddd"]],Xa="statediagram"==A||"stateDiagram"==A,Ja=EditorUi.prototype.emptyDiagramXml;try{Ja=Fa(u)}catch(k){console.log("mermaidToDrawio",k)}for(u=
+0;u<mxMermaidToDrawio.listeners.length;u++)mxMermaidToDrawio.listeners[u](Ja),clearTimeout(mxMermaidToDrawio.timeouts[u]);mxMermaidToDrawio.htmlLabels=!1;"1"!=urlParams.mermaidToDrawioTest&&mxMermaidToDrawio.resetListeners()}};mxMermaidToDrawio.listeners=[];mxMermaidToDrawio.timeouts=[];mxMermaidToDrawio.addListener=function(u){mxMermaidToDrawio.listeners.push(u);mxMermaidToDrawio.timeouts.push(setTimeout(function(){u(EditorUi.prototype.emptyDiagramXml)},5E3))};
+mxMermaidToDrawio.resetListeners=function(){mxMermaidToDrawio.listeners=[];mxMermaidToDrawio.timeouts=[]};function mxGraphMlCodec(){this.cachedRefObj={}}mxGraphMlCodec.prototype.refRegexp=/^\{y:GraphMLReference\s+(\d+)\}$/;mxGraphMlCodec.prototype.staticRegexp=/^\{x:Static\s+(.+)\.(.+)\}$/;
mxGraphMlCodec.prototype.decode=function(u,A,B){try{var E=mxUtils.parseXml(u),l=this.getDirectChildNamedElements(E.documentElement,mxGraphMlConstants.GRAPH);this.initializeKeys(E.documentElement);u='<?xml version="1.0" encoding="UTF-8"?><mxfile>';for(E=0;E<l.length;E++){var x=l[E],w=this.createMxGraph(),q=w.getModel();q.beginUpdate();try{for(this.nodesMap={},this.edges=[],this.importGraph(x,w,w.getDefaultParent()),E=0;E<this.edges.length;E++)for(var h=this.edges[E],H=h.edges,F=h.parent,T=h.dx,L=h.dy,
U=0;U<H.length;U++)this.importEdge(H[U],w,F,T,L)}catch(K){throw console.log(K),K;}finally{q.endUpdate()}q.beginUpdate();try{var ia=w.getModel().cells,Qa;for(Qa in ia){var Fa=ia[Qa];if(Fa.edge&&0<Fa.getChildCount())for(E=0;E<Fa.getChildCount();E++){var Pa=Fa.children[E].geometry;if(Pa.adjustIt){var Xa=w.view.getState(Fa),Ja=Xa.absolutePoints,k=Ja[0],r=Ja[Ja.length-1],z=Pa.x,y=Pa.y;T=r.x-k.x;L=r.y-k.y;var C=k.x+z*T,ca=k.y+z*L,I=Math.sqrt(T*T+L*L);T/=I;L/=I;C-=y*L;ca+=y*T;var M=w.view.getRelativePoint(Xa,
C,ca);Pa.x=M.x;Pa.y=M.y}}}}catch(K){throw console.log(K),K;}finally{q.endUpdate()}u+=this.processPage(w,E+1)}A&&A(u+"</mxfile>")}catch(K){B&&B(K)}};
diff --git a/src/main/webapp/js/integrate.min.js b/src/main/webapp/js/integrate.min.js
index 74d5d21e3..db81257e6 100644
--- a/src/main/webapp/js/integrate.min.js
+++ b/src/main/webapp/js/integrate.min.js
@@ -62,7 +62,7 @@ if("1"==urlParams.offline||"1"==urlParams.demo||"1"==urlParams.stealth||"1"==url
"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:"28.0.4",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),
+window.mxImageBasePath=window.mxImageBasePath||"mxgraph/images";window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de","se"];var mxClient={VERSION:"28.0.5",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",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||
@@ -73,14 +73,14 @@ b,c)},include:function(a){document.write('<script src="'+a+'">\x3c/script>')}};"
mxClient.language="undefined"!=typeof mxLanguage&&null!=mxLanguage?mxLanguage:mxClient.IS_IE?navigator.userLanguage:navigator.language;mxClient.defaultLanguage="undefined"!=typeof mxDefaultLanguage&&null!=mxDefaultLanguage?mxDefaultLanguage:"en";mxLoadStylesheets&&mxClient.link("stylesheet","mxgraph/css/common.css");"undefined"!=typeof mxLanguages&&null!=mxLanguages&&(mxClient.languages=mxLanguages);
var mxLog={consoleName:"Console",TRACE:!1,DEBUG:!0,WARN:!0,buffer:"",init:function(){if(null==mxLog.window&&null!=document.body){var a=mxLog.consoleName+" - mxGraph "+mxClient.VERSION,b=document.createElement("table");b.setAttribute("width","100%");b.setAttribute("height","100%");var c=document.createElement("tbody"),d=document.createElement("tr"),e=document.createElement("td");e.style.verticalAlign="top";mxLog.textarea=document.createElement("textarea");mxLog.textarea.setAttribute("wrap","off");
mxLog.textarea.setAttribute("readOnly","true");mxLog.textarea.style.height="100%";mxLog.textarea.style.resize="none";mxLog.textarea.value=mxLog.buffer;mxLog.textarea.style.width=mxClient.IS_NS&&"BackCompat"!=document.compatMode?"99%":"100%";e.appendChild(mxLog.textarea);d.appendChild(e);c.appendChild(d);d=document.createElement("tr");mxLog.td=document.createElement("td");mxLog.td.style.verticalAlign="top";mxLog.td.setAttribute("height","30px");d.appendChild(mxLog.td);c.appendChild(d);b.appendChild(c);
-mxLog.addButton("Info",function(g){mxLog.info()});mxLog.addButton("DOM",function(g){g=mxUtils.getInnerHtml(document.body);mxLog.debug(g)});mxLog.addButton("Trace",function(g){mxLog.TRACE=!mxLog.TRACE;mxLog.TRACE?mxLog.debug("Tracing enabled"):mxLog.debug("Tracing disabled")});mxLog.addButton("Copy",function(g){try{mxUtils.copy(mxLog.textarea.value)}catch(k){mxUtils.alert(k)}});mxLog.addButton("Show",function(g){try{mxUtils.popup(mxLog.textarea.value)}catch(k){mxUtils.alert(k)}});mxLog.addButton("Clear",
-function(g){mxLog.textarea.value=""});d=c=0;"number"===typeof window.innerWidth?(c=window.innerHeight,d=window.innerWidth):(c=document.documentElement.clientHeight||document.body.clientHeight,d=document.body.clientWidth);mxLog.window=new mxWindow(a,b,Math.max(0,d-320),Math.max(0,c-210),300,160);mxLog.window.setMaximizable(!0);mxLog.window.setScrollable(!1);mxLog.window.setResizable(!0);mxLog.window.setClosable(!0);mxLog.window.destroyOnClose=!1;mxLog.window.title.style.paddingRight="80px";mxLog.window.title.setAttribute("title",
-a);if((mxClient.IS_NS||mxClient.IS_IE)&&!mxClient.IS_GC&&!mxClient.IS_SF&&"BackCompat"!=document.compatMode||11==document.documentMode){var f=mxLog.window.getElement();a=function(g,k){mxLog.textarea.style.height=Math.max(0,f.offsetHeight-70)+"px"};mxLog.window.addListener(mxEvent.RESIZE_END,a);mxLog.window.addListener(mxEvent.MAXIMIZE,a);mxLog.window.addListener(mxEvent.NORMALIZE,a);mxLog.textarea.style.height="92px"}}},info:function(){mxLog.writeln(mxUtils.toString(navigator))},addButton:function(a,
-b){var c=document.createElement("button");mxUtils.write(c,a);mxEvent.addListener(c,"click",b);mxLog.td.appendChild(c)},isVisible:function(){return null!=mxLog.window?mxLog.window.isVisible():!1},show:function(){mxLog.setVisible(!0)},setVisible:function(a){null==mxLog.window&&mxLog.init();null!=mxLog.window&&mxLog.window.setVisible(a)},enter:function(a){if(mxLog.TRACE)return mxLog.writeln("Entering "+a),(new Date).getTime()},leave:function(a,b){mxLog.TRACE&&(b=0!=b?" ("+((new Date).getTime()-b)+" ms)":
-"",mxLog.writeln("Leaving "+a+b))},debug:function(){mxLog.DEBUG&&mxLog.writeln.apply(this,arguments)},warn:function(){mxLog.WARN&&mxLog.writeln.apply(this,arguments)},write:function(){for(var a="",b=0;b<arguments.length;b++)a+=arguments[b],b<arguments.length-1&&(a+=" ");null!=mxLog.textarea?(mxLog.textarea.value+=a,null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Presto/2.5")&&(mxLog.textarea.style.visibility="hidden",mxLog.textarea.style.visibility="visible"),mxLog.textarea.scrollTop=mxLog.textarea.scrollHeight):
-mxLog.buffer+=a},writeln:function(){for(var a="",b=0;b<arguments.length;b++)a+=arguments[b],b<arguments.length-1&&(a+=" ");mxLog.write(a+"\n")}},mxObjectIdentity={FIELD_NAME:"mxObjectId",counter:0,get:function(a){if(null!=a){if(null==a[mxObjectIdentity.FIELD_NAME])if("object"===typeof a){var b=mxUtils.getFunctionName(a.constructor);a[mxObjectIdentity.FIELD_NAME]=b+"#"+mxObjectIdentity.counter++}else"function"===typeof a&&(a[mxObjectIdentity.FIELD_NAME]="Function#"+mxObjectIdentity.counter++);return a[mxObjectIdentity.FIELD_NAME]}return null},
-clear:function(a){"object"!==typeof a&&"function"!==typeof a||delete a[mxObjectIdentity.FIELD_NAME]}};function mxDictionary(){this.clear()}mxDictionary.prototype.map=null;mxDictionary.prototype.clear=function(){this.map={}};mxDictionary.prototype.get=function(a){a=mxObjectIdentity.get(a);return this.map[a]};mxDictionary.prototype.put=function(a,b){a=mxObjectIdentity.get(a);var c=this.map[a];this.map[a]=b;return c};
-mxDictionary.prototype.remove=function(a){a=mxObjectIdentity.get(a);var b=this.map[a];delete this.map[a];return b};mxDictionary.prototype.getCount=function(){var a=0,b;for(b in this.map)a++;return a};mxDictionary.prototype.getKeys=function(){var a=[],b;for(b in this.map)a.push(b);return a};mxDictionary.prototype.getValues=function(){var a=[],b;for(b in this.map)a.push(this.map[b]);return a};mxDictionary.prototype.visit=function(a){for(var b in this.map)a(b,this.map[b])};
+mxLog.addButton("Info",function(g){mxLog.info()});mxLog.addButton("DOM",function(g){g=mxUtils.getInnerHtml(document.body);mxLog.debug(g)});mxLog.addButton("Trace",function(g){mxLog.TRACE=!mxLog.TRACE;mxLog.TRACE?mxLog.debug("Tracing enabled"):mxLog.debug("Tracing disabled")});mxLog.addButton("Show",function(g){try{mxUtils.popup(mxLog.textarea.value)}catch(k){mxUtils.alert(k)}});mxLog.addButton("Clear",function(g){mxLog.textarea.value=""});d=c=0;"number"===typeof window.innerWidth?(c=window.innerHeight,
+d=window.innerWidth):(c=document.documentElement.clientHeight||document.body.clientHeight,d=document.body.clientWidth);mxLog.window=new mxWindow(a,b,Math.max(0,d-320),Math.max(0,c-210),300,160);mxLog.window.setMaximizable(!0);mxLog.window.setScrollable(!1);mxLog.window.setResizable(!0);mxLog.window.setClosable(!0);mxLog.window.destroyOnClose=!1;mxLog.window.title.style.paddingRight="80px";mxLog.window.title.setAttribute("title",a);if((mxClient.IS_NS||mxClient.IS_IE)&&!mxClient.IS_GC&&!mxClient.IS_SF&&
+"BackCompat"!=document.compatMode||11==document.documentMode){var f=mxLog.window.getElement();a=function(g,k){mxLog.textarea.style.height=Math.max(0,f.offsetHeight-70)+"px"};mxLog.window.addListener(mxEvent.RESIZE_END,a);mxLog.window.addListener(mxEvent.MAXIMIZE,a);mxLog.window.addListener(mxEvent.NORMALIZE,a);mxLog.textarea.style.height="92px"}}},info:function(){mxLog.writeln(mxUtils.toString(navigator))},addButton:function(a,b){var c=document.createElement("button");mxUtils.write(c,a);mxEvent.addListener(c,
+"click",b);mxLog.td.appendChild(c)},isVisible:function(){return null!=mxLog.window?mxLog.window.isVisible():!1},show:function(){mxLog.setVisible(!0)},setVisible:function(a){null==mxLog.window&&mxLog.init();null!=mxLog.window&&mxLog.window.setVisible(a)},enter:function(a){if(mxLog.TRACE)return mxLog.writeln("Entering "+a),(new Date).getTime()},leave:function(a,b){mxLog.TRACE&&(b=0!=b?" ("+((new Date).getTime()-b)+" ms)":"",mxLog.writeln("Leaving "+a+b))},debug:function(){mxLog.DEBUG&&mxLog.writeln.apply(this,
+arguments)},warn:function(){mxLog.WARN&&mxLog.writeln.apply(this,arguments)},write:function(){for(var a="",b=0;b<arguments.length;b++)a+=arguments[b],b<arguments.length-1&&(a+=" ");null!=mxLog.textarea?(mxLog.textarea.value+=a,null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Presto/2.5")&&(mxLog.textarea.style.visibility="hidden",mxLog.textarea.style.visibility="visible"),mxLog.textarea.scrollTop=mxLog.textarea.scrollHeight):mxLog.buffer+=a},writeln:function(){for(var a="",b=0;b<arguments.length;b++)a+=
+arguments[b],b<arguments.length-1&&(a+=" ");mxLog.write(a+"\n")}},mxObjectIdentity={FIELD_NAME:"mxObjectId",counter:0,get:function(a){if(null!=a){if(null==a[mxObjectIdentity.FIELD_NAME])if("object"===typeof a){var b=mxUtils.getFunctionName(a.constructor);a[mxObjectIdentity.FIELD_NAME]=b+"#"+mxObjectIdentity.counter++}else"function"===typeof a&&(a[mxObjectIdentity.FIELD_NAME]="Function#"+mxObjectIdentity.counter++);return a[mxObjectIdentity.FIELD_NAME]}return null},clear:function(a){"object"!==typeof a&&
+"function"!==typeof a||delete a[mxObjectIdentity.FIELD_NAME]}};function mxDictionary(){this.clear()}mxDictionary.prototype.map=null;mxDictionary.prototype.clear=function(){this.map={}};mxDictionary.prototype.get=function(a){a=mxObjectIdentity.get(a);return this.map[a]};mxDictionary.prototype.put=function(a,b){a=mxObjectIdentity.get(a);var c=this.map[a];this.map[a]=b;return c};mxDictionary.prototype.remove=function(a){a=mxObjectIdentity.get(a);var b=this.map[a];delete this.map[a];return b};
+mxDictionary.prototype.getCount=function(){var a=0,b;for(b in this.map)a++;return a};mxDictionary.prototype.getKeys=function(){var a=[],b;for(b in this.map)a.push(b);return a};mxDictionary.prototype.getValues=function(){var a=[],b;for(b in this.map)a.push(this.map[b]);return a};mxDictionary.prototype.visit=function(a){for(var b in this.map)a(b,this.map[b])};
var mxResources={resources:{},extension:mxResourceExtension,resourcesEncoded:!1,loadDefaultBundle:!0,loadSpecialBundle:!0,isLanguageSupported:function(a){return null!=mxClient.languages?0<=mxUtils.indexOf(mxClient.languages,a):!0},getDefaultBundle:function(a,b){return mxResources.loadDefaultBundle||!mxResources.isLanguageSupported(b)?a+mxResources.extension:null},getSpecialBundle:function(a,b){if(null==mxClient.languages||!this.isLanguageSupported(b)){var c=b.indexOf("-");0<c&&(b=b.substring(0,c))}return mxResources.loadSpecialBundle&&
mxResources.isLanguageSupported(b)&&b!=mxClient.defaultLanguage?a+"_"+b+mxResources.extension:null},add:function(a,b,c){b=null!=b?b:null!=mxClient.language?mxClient.language.toLowerCase():mxConstants.NONE;if(b!=mxConstants.NONE){var d=mxResources.getDefaultBundle(a,b),e=mxResources.getSpecialBundle(a,b),f=function(){if(null!=e)if(c)mxUtils.get(e,function(l){mxResources.parse(l.getText());c()},function(){c()});else try{var k=mxUtils.load(e);k.isReady()&&mxResources.parse(k.getText())}catch(l){}else null!=
c&&c()};if(null!=d)if(c)mxUtils.get(d,function(k){mxResources.parse(k.getText());f()},function(){f()});else try{var g=mxUtils.load(d);g.isReady()&&mxResources.parse(g.getText());f()}catch(k){}else f()}},parse:function(a){if(null!=a){a=a.split("\n");for(var b=0;b<a.length;b++)if("#"!=a[b].charAt(0)){var c=a[b].indexOf("=");if(0<c){var d=a[b].substring(0,c),e=a[b].length;13==a[b].charCodeAt(e-1)&&e--;c=a[b].substring(c+1,e);this.resourcesEncoded?(c=c.replace(/\\(?=u[a-fA-F\d]{4})/g,"%"),mxResources.resources[d]=
@@ -533,7 +533,7 @@ mxStencil.prototype.evaluateTextAttribute=function(a,b,c){b=this.evaluateAttribu
mxStencil.prototype.drawShape=function(a,b,c,d,e,f,g){g=null!=g?g:null!=b&&null!=b.state?b.state.view.graph:null;var k=a.states.slice(),l=mxUtils.getValue(b.style,mxConstants.STYLE_DIRECTION,null);l=this.computeAspect(b.style,c,d,e,f,l);var m=Math.min(l.width,l.height);m="inherit"==this.strokewidth?Number(mxUtils.getNumber(b.style,mxConstants.STYLE_STROKEWIDTH,1)):Number(this.strokewidth)*m;a.setStrokeWidth(m);null!=b.style&&"1"==mxUtils.getValue(b.style,mxConstants.STYLE_POINTER_EVENTS,"0")&&(a.setStrokeColor(mxConstants.NONE),
a.rect(c,d,e,f),a.stroke(),a.setStrokeColor(b.stroke));this.drawChildren(a,b,c,d,e,f,this.bgNode,l,!1,!0,g);this.drawChildren(a,b,c,d,e,f,this.fgNode,l,!0,!b.outline||null==b.style||0==mxUtils.getValue(b.style,mxConstants.STYLE_BACKGROUND_OUTLINE,0),g);a.states.length!=k.length&&(a.states=k)};mxStencil.prototype.drawChildren=function(a,b,c,d,e,f,g,k,l,m,n){if(null!=g&&0<e&&0<f)for(c=g.firstChild;null!=c;)c.nodeType==mxConstants.NODETYPE_ELEMENT&&this.drawNode(a,b,c,k,l,m,n),c=c.nextSibling};
mxStencil.prototype.computeAspect=function(a,b,c,d,e,f){a=b;b=d/this.w0;var g=e/this.h0;if(f=f==mxConstants.DIRECTION_NORTH||f==mxConstants.DIRECTION_SOUTH){g=d/this.h0;b=e/this.w0;var k=(d-e)/2;a+=k;c-=k}"fixed"==this.aspect&&(b=g=Math.min(b,g),f?(a+=(e-this.w0*b)/2,c+=(d-this.h0*g)/2):(a+=(d-this.w0*b)/2,c+=(e-this.h0*g)/2));return new mxRectangle(a,c,b,g)};
-mxStencil.prototype.parseColor=function(a,b,c,d,e){"stroke"==d?d=b.stroke:"fill"==d?d=b.fill:"font"==d&&null!=b.style?d=mxUtils.getValue(b.style,mxConstants.STYLE_FONTCOLOR,"black"):null==b.style||mxUtils.isValidColor(d)||(a=mxUtils.getValue(b.style,d,mxConstants.NONE),"default"==a&&(a=null!=e?"fillcolor"==c.nodeName?e.shapeBackgroundColor:e.shapeForegroundColor:"#ffffff"),d=a);return d};
+mxStencil.prototype.parseColor=function(a,b,c,d,e){"stroke"==d?d=b.stroke:"fill"==d?d=b.fill:"font"==d&&null!=b.style?d=mxUtils.getValue(b.style,mxConstants.STYLE_FONTCOLOR,"black"):null==b.style||mxUtils.isValidColor(d)||(a=c.getAttribute("default"),b=mxUtils.getValue(b.style,d,null==a?mxConstants.NONE:a),"default"==b&&(b=null!=e?"fillcolor"==c.nodeName?e.shapeBackgroundColor:e.shapeForegroundColor:"#ffffff"),d=b);return d};
mxStencil.prototype.drawNode=function(a,b,c,d,e,f,g){var k=c.nodeName,l=d.x,m=d.y,n=d.width,p=d.height,q=Math.min(n,p);if("save"==k)a.save();else if("restore"==k)a.restore();else if(f){if("path"==k){a.begin();q=!0;if("1"==c.getAttribute("rounded")){q=!1;for(var r=Number(c.getAttribute("arcSize")),t=0,u=[],v=c.firstChild;null!=v;){if(v.nodeType==mxConstants.NODETYPE_ELEMENT){var y=v.nodeName;if("move"==y||"line"==y)"move"!=y&&0!=u.length||u.push([]),u[u.length-1].push(new mxPoint(l+Number(v.getAttribute("x"))*
n,m+Number(v.getAttribute("y"))*p)),t++;else{q=!0;break}}v=v.nextSibling}if(!q&&0<t)for(n=0;n<u.length;n++)p=!1,m=u[n][0],l=u[n][u[n].length-1],m.x==l.x&&m.y==l.y&&(u[n].pop(),p=!0),this.addPoints(a,u[n],!0,r,p);else q=!0}if(q)for(v=c.firstChild;null!=v;)v.nodeType==mxConstants.NODETYPE_ELEMENT&&this.drawNode(a,b,v,d,e,f,g),v=v.nextSibling}else if("close"==k)a.close();else if("move"==k)a.moveTo(l+Number(c.getAttribute("x"))*n,m+Number(c.getAttribute("y"))*p);else if("line"==k)a.lineTo(l+Number(c.getAttribute("x"))*
n,m+Number(c.getAttribute("y"))*p);else if("quad"==k)a.quadTo(l+Number(c.getAttribute("x1"))*n,m+Number(c.getAttribute("y1"))*p,l+Number(c.getAttribute("x2"))*n,m+Number(c.getAttribute("y2"))*p);else if("curve"==k)a.curveTo(l+Number(c.getAttribute("x1"))*n,m+Number(c.getAttribute("y1"))*p,l+Number(c.getAttribute("x2"))*n,m+Number(c.getAttribute("y2"))*p,l+Number(c.getAttribute("x3"))*n,m+Number(c.getAttribute("y3"))*p);else if("arc"==k)a.arcTo(Number(c.getAttribute("rx"))*n,Number(c.getAttribute("ry"))*
@@ -2097,19 +2097,19 @@ mxEvent.getSource(H)!=g.container||mxEvent.consume(H))});mxEvent.addListener(doc
(!mxEvent.isControlDown(H.getEvent())&&mxEvent.isRightMouseButton(H.getEvent())||mxEvent.isMiddleMouseButton(H.getEvent()))};var C=g.cellEditor.isStopEditingEvent;g.cellEditor.isStopEditingEvent=function(H){return C.apply(this,arguments)||13==H.keyCode&&(!mxClient.IS_SF&&mxEvent.isControlDown(H)||mxClient.IS_MAC&&mxEvent.isMetaDown(H)||mxClient.IS_SF&&mxEvent.isShiftDown(H))};var D=g.isZoomWheelEvent;g.isZoomWheelEvent=function(){return e.isSpaceDown()||D.apply(this,arguments)};var E=mxUtils.bind(this,
function(){if(null!=this.toolbar)for(var H=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,S=this.toolbar.container.firstChild;null!=S;){var ea=S.getAttribute("data-min-width");null!=ea&&parseInt(ea)>H?S.style.display="none":S.style.display="";S=S.nextSibling}}),G=!1,J=null,M=null,Q=null,L=mxUtils.bind(this,function(){if(null!=this.toolbar&&G!=g.cellEditor.isContentEditing()){for(var H=this.toolbar.container.firstChild,S=[];null!=H;){var ea=H.nextSibling;H.parentNode.removeChild(H);
S.push(H);H=ea}H=this.toolbar.fontMenu;ea=this.toolbar.sizeMenu;if(null==Q)this.toolbar.createTextToolbar();else{for(var la=0;la<Q.length;la++)this.toolbar.container.appendChild(Q[la]);this.toolbar.fontMenu=J;this.toolbar.sizeMenu=M}G=g.cellEditor.isContentEditing();J=H;M=ea;Q=S;E()}});this.addListener("languageChanged",mxUtils.bind(this,function(){this.destroyWindows(!0);this.descriptorChanged();this.updateStatusAgain();L()}));this.addListener("currentThemeChanged",E);mxEvent.addListener(window,
-"resize",E);E();var W=g.cellEditor.startEditing;g.cellEditor.startEditing=function(){W.apply(this,arguments);L();if(g.cellEditor.isContentEditing()){var H=!1,S=function(){H||(H=!0,window.setTimeout(function(){var ea=g.getSelectedEditingElement();null!=ea&&(ea=mxUtils.getCurrentStyle(ea),null!=ea&&null!=e.toolbar&&(e.toolbar.setFontName(mxUtils.getCssFontFamily(ea.fontFamily)),e.toolbar.setFontSize(parseInt(ea.fontSize))));H=!1},0))};mxEvent.addListener(g.cellEditor.textarea,"input",S);mxEvent.addListener(g.cellEditor.textarea,
-"touchend",S);mxEvent.addListener(g.cellEditor.textarea,"mouseup",S);mxEvent.addListener(g.cellEditor.textarea,"keyup",S);S()}};var X=g.cellEditor.stopEditing;g.cellEditor.stopEditing=function(H,S){try{X.apply(this,arguments),L()}catch(ea){e.handleError(ea)}};g.container.setAttribute("tabindex","0");g.container.style.cursor="default";if(window.self===window.top&&null!=g.container.parentNode)try{g.container.focus()}catch(H){}var T=g.fireMouseEvent;g.fireMouseEvent=function(H,S,ea){try{H==mxEvent.MOUSE_DOWN&&
-this.container.focus(),T.apply(this,arguments)}catch(la){e.handleError(la)}};var N=g.foldCells;g.foldCells=function(H,S,ea,la,O){try{N.apply(this,arguments)}catch(V){e.handleError(V)}};g.popupMenuHandler.autoExpand=!0;null!=this.menus&&(g.popupMenuHandler.factoryMethod=mxUtils.bind(this,function(H,S,ea){this.menus.createPopupMenu(H,S,ea)}));mxEvent.addGestureListeners(document,mxUtils.bind(this,function(H){g.popupMenuHandler.hideMenu()}));this.keyHandler=this.createKeyHandler(a);this.getKeyHandler=
-function(){return keyHandler};g.connectionHandler.addListener(mxEvent.CONNECT,function(H,S){var ea=[S.getProperty("cell")];S.getProperty("terminalInserted")&&(ea.push(S.getProperty("terminal")),window.setTimeout(function(){null!=e.hoverIcons&&e.hoverIcons.update(g.view.getState(ea[ea.length-1]))},0));g.pasteCellStyles(ea)});this.addListener("styleChanged",mxUtils.bind(this,function(H,S){H=S.getProperty("force");(this.updateDefaultStyle||H)&&g.copyCellStyles(S.getProperty("cells"),S.getProperty("keys"),
-S.getProperty("values"),g.currentVertexStyle,g.currentEdgeStyle,m,p);null!=this.toolbar&&(this.toolbar.setFontName(g.currentVertexStyle.fontFamily||Menus.prototype.defaultFont),this.toolbar.setFontSize(g.currentVertexStyle.fontSize||Menus.prototype.defaultFontSize),null!=this.toolbar.edgeStyleMenu&&("orthogonalEdgeStyle"==g.currentEdgeStyle.edgeStyle&&"1"==g.currentEdgeStyle.curved?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.curvedImage.src):"straight"==g.currentEdgeStyle.edgeStyle||
-"none"==g.currentEdgeStyle.edgeStyle||null==g.currentEdgeStyle.edgeStyle?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.straightImage.src):"entityRelationEdgeStyle"==g.currentEdgeStyle.edgeStyle?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.entityImage.src):"elbowEdgeStyle"==g.currentEdgeStyle.edgeStyle?"vertical"==g.currentEdgeStyle.elbow?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.verticalElbowImage.src):this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,
-Format.horizontalElbowImage.src):"isometricEdgeStyle"==g.currentEdgeStyle.edgeStyle?"vertical"==g.currentEdgeStyle.elbow?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.verticalIsometricImage.src):this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.horizontalIsometricImage.src):this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.orthogonalImage.src)),null!=this.toolbar.edgeShapeMenu&&("link"==g.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.linkEdgeImage.src):
-"flexArrow"==g.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.arrowImage.src):"arrow"==g.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.simpleArrowImage.src):"filledEdge"==g.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.filledEdgeImage.src):"pipe"==g.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.pipeEdgeImage.src):"wire"==g.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,
-Format.wireEdgeImage.src):this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.connectionImage.src)))}));null!=this.toolbar&&(a=mxUtils.bind(this,function(){var H=g.currentVertexStyle.fontFamily||"Helvetica",S=String(g.currentVertexStyle.fontSize||"12"),ea=g.getView().getState(g.getSelectionCell());null!=ea&&(H=ea.style[mxConstants.STYLE_FONTFAMILY]||H,S=ea.style[mxConstants.STYLE_FONTSIZE]||S,10<H.length&&(H=H.substring(0,8)+"..."));this.toolbar.setFontName(H);this.toolbar.setFontSize(S)}),
-g.getSelectionModel().addListener(mxEvent.CHANGE,a),g.getModel().addListener(mxEvent.CHANGE,a));g.addListener(mxEvent.CELLS_ADDED,function(H,S){H=S.getProperty("cells");S=S.getProperty("parent");null!=S&&g.getModel().isLayer(S)&&!g.isCellVisible(S)&&null!=H&&0<H.length&&g.getModel().setVisible(S,!0)});Graph.selectParentLayer&&g.selectionModel.addListener(mxEvent.CHANGE,function(){if(g.isEnabled()&&!g.isSelectionEmpty()){var H=g.getLayerForCells(g.getSelectionCells());null!=H&&g.setDefaultParent(H)}});
-this.gestureHandler=mxUtils.bind(this,function(H){null!=this.currentMenu&&mxEvent.getSource(H)!=this.currentMenu.div&&this.hideCurrentMenu()});mxEvent.addGestureListeners(document,this.gestureHandler);var ca=null;this.resizeHandler=mxUtils.bind(this,function(){null!=ca&&window.clearTimeout(ca);ca=window.setTimeout(mxUtils.bind(this,function(){ca=null;this.windowResized()}),100)});mxEvent.addListener(window,"resize",this.resizeHandler);this.orientationChangeHandler=mxUtils.bind(this,function(){this.refresh()});
-mxEvent.addListener(window,"orientationchange",this.orientationChangeHandler);mxClient.IS_IOS&&!window.navigator.standalone&&"undefined"!==typeof Menus&&(this.scrollHandler=mxUtils.bind(this,function(){window.scrollTo(0,0)}),mxEvent.addListener(window,"scroll",this.scrollHandler));this.editor.addListener("resetGraphView",mxUtils.bind(this,function(){this.resetScrollbars()}));this.addListener("gridEnabledChanged",mxUtils.bind(this,function(){g.view.validateBackground()}));this.addListener("backgroundColorChanged",
-mxUtils.bind(this,function(){g.view.validateBackground()}));g.addListener("gridSizeChanged",mxUtils.bind(this,function(){g.isGridEnabled()&&g.view.validateBackground()}));this.editor.resetGraph()}this.init();g.standalone||this.open()};EditorUi.compactUi=!0;
+"resize",E);E();g.isTouchPopupMenuEnabled=function(){return null==e.dialog};var W=g.cellEditor.startEditing;g.cellEditor.startEditing=function(){W.apply(this,arguments);L();if(g.cellEditor.isContentEditing()){var H=!1,S=function(){H||(H=!0,window.setTimeout(function(){var ea=g.getSelectedEditingElement();null!=ea&&(ea=mxUtils.getCurrentStyle(ea),null!=ea&&null!=e.toolbar&&(e.toolbar.setFontName(mxUtils.getCssFontFamily(ea.fontFamily)),e.toolbar.setFontSize(parseInt(ea.fontSize))));H=!1},0))};mxEvent.addListener(g.cellEditor.textarea,
+"input",S);mxEvent.addListener(g.cellEditor.textarea,"touchend",S);mxEvent.addListener(g.cellEditor.textarea,"mouseup",S);mxEvent.addListener(g.cellEditor.textarea,"keyup",S);S()}};var X=g.cellEditor.stopEditing;g.cellEditor.stopEditing=function(H,S){try{X.apply(this,arguments),L()}catch(ea){e.handleError(ea)}};g.container.setAttribute("tabindex","0");g.container.style.cursor="default";if(window.self===window.top&&null!=g.container.parentNode)try{g.container.focus()}catch(H){}var T=g.fireMouseEvent;
+g.fireMouseEvent=function(H,S,ea){try{H==mxEvent.MOUSE_DOWN&&this.container.focus(),T.apply(this,arguments)}catch(la){e.handleError(la)}};var N=g.foldCells;g.foldCells=function(H,S,ea,la,O){try{N.apply(this,arguments)}catch(V){e.handleError(V)}};g.popupMenuHandler.autoExpand=!0;null!=this.menus&&(g.popupMenuHandler.factoryMethod=mxUtils.bind(this,function(H,S,ea){this.menus.createPopupMenu(H,S,ea)}));mxEvent.addGestureListeners(document,mxUtils.bind(this,function(H){g.popupMenuHandler.hideMenu()}));
+this.keyHandler=this.createKeyHandler(a);this.getKeyHandler=function(){return keyHandler};g.connectionHandler.addListener(mxEvent.CONNECT,function(H,S){var ea=[S.getProperty("cell")];S.getProperty("terminalInserted")&&(ea.push(S.getProperty("terminal")),window.setTimeout(function(){null!=e.hoverIcons&&e.hoverIcons.update(g.view.getState(ea[ea.length-1]))},0));g.pasteCellStyles(ea)});this.addListener("styleChanged",mxUtils.bind(this,function(H,S){H=S.getProperty("force");(this.updateDefaultStyle||
+H)&&g.copyCellStyles(S.getProperty("cells"),S.getProperty("keys"),S.getProperty("values"),g.currentVertexStyle,g.currentEdgeStyle,m,p);null!=this.toolbar&&(this.toolbar.setFontName(g.currentVertexStyle.fontFamily||Menus.prototype.defaultFont),this.toolbar.setFontSize(g.currentVertexStyle.fontSize||Menus.prototype.defaultFontSize),null!=this.toolbar.edgeStyleMenu&&("orthogonalEdgeStyle"==g.currentEdgeStyle.edgeStyle&&"1"==g.currentEdgeStyle.curved?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,
+Format.curvedImage.src):"straight"==g.currentEdgeStyle.edgeStyle||"none"==g.currentEdgeStyle.edgeStyle||null==g.currentEdgeStyle.edgeStyle?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.straightImage.src):"entityRelationEdgeStyle"==g.currentEdgeStyle.edgeStyle?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.entityImage.src):"elbowEdgeStyle"==g.currentEdgeStyle.edgeStyle?"vertical"==g.currentEdgeStyle.elbow?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.verticalElbowImage.src):
+this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.horizontalElbowImage.src):"isometricEdgeStyle"==g.currentEdgeStyle.edgeStyle?"vertical"==g.currentEdgeStyle.elbow?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.verticalIsometricImage.src):this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.horizontalIsometricImage.src):this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.orthogonalImage.src)),null!=this.toolbar.edgeShapeMenu&&("link"==g.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,
+Format.linkEdgeImage.src):"flexArrow"==g.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.arrowImage.src):"arrow"==g.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.simpleArrowImage.src):"filledEdge"==g.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.filledEdgeImage.src):"pipe"==g.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.pipeEdgeImage.src):"wire"==g.currentEdgeStyle.shape?
+this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.wireEdgeImage.src):this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.connectionImage.src)))}));null!=this.toolbar&&(a=mxUtils.bind(this,function(){var H=g.currentVertexStyle.fontFamily||"Helvetica",S=String(g.currentVertexStyle.fontSize||"12"),ea=g.getView().getState(g.getSelectionCell());null!=ea&&(H=ea.style[mxConstants.STYLE_FONTFAMILY]||H,S=ea.style[mxConstants.STYLE_FONTSIZE]||S,10<H.length&&(H=H.substring(0,8)+"..."));this.toolbar.setFontName(H);
+this.toolbar.setFontSize(S)}),g.getSelectionModel().addListener(mxEvent.CHANGE,a),g.getModel().addListener(mxEvent.CHANGE,a));g.addListener(mxEvent.CELLS_ADDED,function(H,S){H=S.getProperty("cells");S=S.getProperty("parent");null!=S&&g.getModel().isLayer(S)&&!g.isCellVisible(S)&&null!=H&&0<H.length&&g.getModel().setVisible(S,!0)});Graph.selectParentLayer&&g.selectionModel.addListener(mxEvent.CHANGE,function(){if(g.isEnabled()&&!g.isSelectionEmpty()){var H=g.getLayerForCells(g.getSelectionCells());
+null!=H&&g.setDefaultParent(H)}});this.gestureHandler=mxUtils.bind(this,function(H){null!=this.currentMenu&&mxEvent.getSource(H)!=this.currentMenu.div&&this.hideCurrentMenu()});mxEvent.addGestureListeners(document,this.gestureHandler);var ca=null;this.resizeHandler=mxUtils.bind(this,function(){null!=ca&&window.clearTimeout(ca);ca=window.setTimeout(mxUtils.bind(this,function(){ca=null;this.windowResized()}),100)});mxEvent.addListener(window,"resize",this.resizeHandler);this.orientationChangeHandler=
+mxUtils.bind(this,function(){this.refresh()});mxEvent.addListener(window,"orientationchange",this.orientationChangeHandler);mxClient.IS_IOS&&!window.navigator.standalone&&"undefined"!==typeof Menus&&(this.scrollHandler=mxUtils.bind(this,function(){window.scrollTo(0,0)}),mxEvent.addListener(window,"scroll",this.scrollHandler));this.editor.addListener("resetGraphView",mxUtils.bind(this,function(){this.resetScrollbars()}));this.addListener("gridEnabledChanged",mxUtils.bind(this,function(){g.view.validateBackground()}));
+this.addListener("backgroundColorChanged",mxUtils.bind(this,function(){g.view.validateBackground()}));g.addListener("gridSizeChanged",mxUtils.bind(this,function(){g.isGridEnabled()&&g.view.validateBackground()}));this.editor.resetGraph()}this.init();g.standalone||this.open()};EditorUi.compactUi=!0;
EditorUi.parsePng=function(a,b,f){function e(m,p){var k=d;d+=p;return m.substring(k,d)}function g(m){m=e(m,4);return m.charCodeAt(3)+(m.charCodeAt(2)<<8)+(m.charCodeAt(1)<<16)+(m.charCodeAt(0)<<24)}var d=0;if(e(a,8)!=String.fromCharCode(137)+"PNG"+String.fromCharCode(13,10,26,10))null!=f&&f();else if(e(a,4),"IHDR"!=e(a,4))null!=f&&f();else{e(a,17);do{f=g(a);var h=e(a,4);if(null!=b&&b(d-8,h,f))break;value=e(a,f);e(a,4);if("IEND"==h)break}while(f)}};mxUtils.extend(EditorUi,mxEventSource);
EditorUi.prototype.splitSize=mxClient.IS_TOUCH||mxClient.IS_POINTER?12:8;EditorUi.prototype.formatEnabled=!0;EditorUi.prototype.formatWidth=240;EditorUi.prototype.defaultSidebarWidth=Math.min(screen.width/2,"large"!=urlParams["sidebar-entries"]?220:230);EditorUi.prototype.hsplitPosition=screen.width<=Editor.smallScreenWidth?0:EditorUi.prototype.defaultSidebarWidth;EditorUi.prototype.allowAnimation=!0;EditorUi.prototype.lightboxMaxFitScale=2;EditorUi.prototype.lightboxVerticalDivider=4;
EditorUi.prototype.hsplitClickEnabled=!1;EditorUi.prototype.updateDefaultStyle=!1;EditorUi.prototype.spaceDown=!1;EditorUi.prototype.shiftDown=!1;
@@ -2903,59 +2903,59 @@ A?A:q.rows[0].cells.length-1]};Graph.prototype.deleteColumn=function(q,A){if(0<=
q,80));null!=this.linkTarget&&K.setAttribute("target",this.linkTarget);mxUtils.write(K,F(A,40));this.isCustomLink(q)&&mxEvent.addListener(K,"click",mxUtils.bind(this,function(R){this.customLinkClicked(q,B);mxEvent.consume(R)}));return K};Graph.prototype.initTouch=function(){this.connectionHandler.marker.isEnabled=function(){return null!=this.graph.connectionHandler.first};this.addListener(mxEvent.START_EDITING,function(R,Z){this.popupMenuHandler.hideMenu()});var q=this.updateMouseEvent;this.updateMouseEvent=
function(R){R=q.apply(this,arguments);if(mxEvent.isTouchEvent(R.getEvent())&&null==R.getState()){var Z=this.getCellAt(R.graphX,R.graphY);null!=Z&&this.isSwimlane(Z)&&this.hitsSwimlaneContent(Z,R.graphX,R.graphY)||(R.state=this.view.getState(Z),null!=R.state&&null!=R.state.shape&&(this.container.style.cursor=R.state.shape.node.style.cursor))}null==R.getState()&&this.isEnabled()&&(this.container.style.cursor="default");return R};var A=!1,B=!1,F=!1,K=this.fireMouseEvent;this.fireMouseEvent=function(R,
Z,ja){R==mxEvent.MOUSE_DOWN&&(Z=this.updateMouseEvent(Z),A=this.isCellSelected(Z.getCell()),B=this.isSelectionEmpty(),F=this.popupMenuHandler.isMenuShowing());K.apply(this,arguments)};this.popupMenuHandler.mouseUp=mxUtils.bind(this,function(R,Z){if(null!=this.freehand&&!this.freehand.isDrawing()){var ja=mxEvent.isMouseEvent(Z.getEvent());this.popupMenuHandler.popupTrigger=!this.isEditing()&&this.isEnabled()&&(null==Z.getState()||!Z.isSource(Z.getState().control))&&(this.popupMenuHandler.popupTrigger||
-!F&&!ja&&(B&&null==Z.getCell()&&this.isSelectionEmpty()||A&&this.isCellSelected(Z.getCell())));ja=!A||ja?null:mxUtils.bind(this,function(fa){window.setTimeout(mxUtils.bind(this,function(){if(!this.isEditing()){var ka=mxUtils.getScrollOrigin();this.popupMenuHandler.popup(Z.getX()+ka.x+1,Z.getY()+ka.y+1,fa,Z.getEvent())}}),300)});mxPopupMenuHandler.prototype.mouseUp.apply(this.popupMenuHandler,[R,Z,ja])}})};mxCellEditor.prototype.isContentEditing=function(){var q=this.graph.view.getState(this.editingCell);
-return null!=q&&1==q.style.html};mxCellEditor.prototype.isTableSelected=function(){return null!=this.graph.getParentByName(this.graph.getSelectedElement(),"TABLE",this.textarea)};mxCellEditor.prototype.isTextSelected=function(){var q="";window.getSelection?q=window.getSelection():document.getSelection?q=document.getSelection():document.selection&&(q=document.selection.createRange().text);return""!=q};mxCellEditor.prototype.insertTab=function(q){var A=this.textarea.ownerDocument.defaultView.getSelection(),
-B=A.getRangeAt(0);q=Graph.createTabNode(q);B.insertNode(q);B.setStartAfter(q);B.setEndAfter(q);A.removeAllRanges();A.addRange(B)};mxCellEditor.prototype.alignText=function(q,A){var B=this.graph.getView().getState(this.editingCell);if(null!=B){B=mxUtils.getValue(B.style,mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT_TEXT_DIRECTION);var F=null!=B&&"vertical-"==B.substring(0,9),K=null!=A&&mxEvent.isShiftDown(A);if(K||null!=window.getSelection&&null!=window.getSelection().containsNode){var R=!0;
-this.graph.processElements(this.textarea,function(Z){K||F||window.getSelection().containsNode(Z,!0)?(Z.removeAttribute("align"),Z.style.textAlign=null):R=!1});(R||F)&&this.graph.cellEditor.setAlign(q)}F||document.execCommand("justify"+q.toLowerCase(),!1,null)}};mxCellEditor.prototype.saveSelection=function(){if(window.getSelection){var q=window.getSelection();if(q.getRangeAt&&q.rangeCount){for(var A=[],B=0,F=q.rangeCount;B<F;++B)A.push(q.getRangeAt(B));return A}}else if(document.selection&&document.selection.createRange)return document.selection.createRange();
-return null};mxCellEditor.prototype.restoreSelection=function(q){try{if(q)if(window.getSelection){sel=window.getSelection();sel.removeAllRanges();for(var A=0,B=q.length;A<B;++A)sel.addRange(q[A])}else document.selection&&q.select&&q.select()}catch(F){}};var G=mxCellRenderer.prototype.initializeLabel;mxCellRenderer.prototype.initializeLabel=function(q){null!=q.text&&(q.text.replaceLinefeeds="0"!=mxUtils.getValue(q.style,"nl2Br","1"));G.apply(this,arguments)};var J=mxConstraintHandler.prototype.update;
-mxConstraintHandler.prototype.update=function(q,A){this.isKeepFocusEvent(q)||!mxEvent.isAltDown(q.getEvent())?J.apply(this,arguments):this.reset()};mxGuide.prototype.createGuideShape=function(q){return new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH)};mxCellEditor.prototype.escapeCancelsEditing=!1;var M=mxCellEditor.prototype.startEditing;mxCellEditor.prototype.startEditing=function(q,A){q=this.graph.getStartEditingCell(q,A);M.apply(this,arguments);var B=this.graph.view.getState(q);
-this.textarea.className=null!=B&&1==B.style.html?"mxCellEditor geContentEditable":"mxCellEditor mxPlainTextEditor";this.textarea.style.colorScheme="none"==this.graph.getAdaptiveColors()?"light":"";this.codeViewMode=!1;this.switchSelectionState=null;this.graph.setSelectionCell(q)};mxCellEditor.prototype.toggleViewMode=function(){var q=this.graph.view.getState(this.editingCell);if(null!=q){var A=null!=q&&"0"!=mxUtils.getValue(q.style,"nl2Br","1"),B=this.saveSelection();if(this.codeViewMode){Graph.removeLightDarkColors(this.textarea,
-Graph.backupStyleAttribute);ja=mxUtils.extractTextWithWhitespace(this.textarea.childNodes);0<ja.length&&"\n"==ja.charAt(ja.length-1)&&(ja=ja.substring(0,ja.length-1));ja=Graph.sanitizeHtml(A?ja.replace(/\n/g,"<br/>"):ja,!0);this.textarea.className="mxCellEditor geContentEditable";fa=mxUtils.getValue(q.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE);A=mxUtils.getValue(q.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY);var F=mxUtils.getValue(q.style,mxConstants.STYLE_ALIGN,
-mxConstants.ALIGN_LEFT),K=(mxUtils.getValue(q.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD,R=(mxUtils.getValue(q.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC,Z=[];(mxUtils.getValue(q.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&Z.push("underline");(mxUtils.getValue(q.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&Z.push("line-through");
-this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(fa*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(fa)+"px";this.textarea.style.textDecoration=Z.join(" ");this.textarea.style.fontWeight=K?"bold":"normal";this.textarea.style.fontStyle=R?"italic":"";this.textarea.style.fontFamily=A;this.textarea.style.textAlign=F;this.textarea.style.padding="0px";this.textarea.innerHTML!=ja&&(this.textarea.innerHTML=ja,0==this.textarea.innerHTML.length&&
-(this.textarea.innerHTML=this.getEmptyLabelText(),this.clearOnChange=0<this.textarea.innerHTML.length));Graph.addLightDarkColors(this.textarea,Graph.backupStyleAttribute,"simple"==this.graph.getAdaptiveColors());this.codeViewMode=!1}else{this.clearOnChange&&this.textarea.innerHTML==this.getEmptyLabelText()&&(this.clearOnChange=!1,this.textarea.innerText="");Graph.removeLightDarkColors(this.textarea,Graph.backupStyleAttribute);var ja=mxUtils.htmlEntities(this.textarea.innerHTML);8!=document.documentMode&&
-(ja=mxUtils.replaceTrailingNewlines(ja,"<div><br></div>"));ja=Graph.sanitizeHtml(A?ja.replace(/\n/g,"").replace(/&lt;br\s*.?&gt;/g,"<br>"):ja,!0);this.textarea.className="mxCellEditor mxPlainTextEditor";var fa=mxConstants.DEFAULT_FONTSIZE;this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(fa*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(fa)+"px";this.textarea.style.textDecoration="";this.textarea.style.fontWeight="normal";this.textarea.style.fontStyle=
-"";this.textarea.style.fontFamily=mxConstants.DEFAULT_FONTFAMILY;this.textarea.style.textAlign="left";this.textarea.style.width="";this.textarea.style.padding="2px";this.textarea.innerHTML!=ja&&(this.textarea.innerHTML=ja);this.codeViewMode=!0}this.textarea.focus();null!=this.switchSelectionState&&this.restoreSelection(this.switchSelectionState);this.switchSelectionState=B;this.resize()}};var Q=mxCellEditor.prototype.resize;mxCellEditor.prototype.resize=function(q,A){if(null!=this.textarea)if(q=this.graph.getView().getState(this.editingCell),
-this.codeViewMode&&null!=q){var B=q.view.scale;this.bounds=mxRectangle.fromRectangle(q);if(0==this.bounds.width&&0==this.bounds.height){this.bounds.width=160*B;this.bounds.height=60*B;var F=null!=q.text?q.text.margin:null;null==F&&(F=mxUtils.getAlignmentAsPoint(mxUtils.getValue(q.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),mxUtils.getValue(q.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE)));this.bounds.x+=F.x*this.bounds.width;this.bounds.y+=F.y*this.bounds.height}this.textarea.style.width=
-Math.round((this.bounds.width-4)/B)+"px";this.textarea.style.height=Math.round((this.bounds.height-4)/B)+"px";this.textarea.style.overflow="auto";this.textarea.clientHeight<this.textarea.offsetHeight&&(this.textarea.style.height=Math.round(this.bounds.height/B)+(this.textarea.offsetHeight-this.textarea.clientHeight)+"px",this.bounds.height=parseInt(this.textarea.style.height)*B);this.textarea.clientWidth<this.textarea.offsetWidth&&(this.textarea.style.width=Math.round(this.bounds.width/B)+(this.textarea.offsetWidth-
-this.textarea.clientWidth)+"px",this.bounds.width=parseInt(this.textarea.style.width)*B);this.textarea.style.left=Math.round(this.bounds.x)+"px";this.textarea.style.top=Math.round(this.bounds.y)+"px";mxUtils.setPrefixedStyle(this.textarea.style,"transform","scale("+B+","+B+")")}else this.textarea.style.height="",this.textarea.style.overflow="",Q.apply(this,arguments)};mxCellEditorGetInitialValue=mxCellEditor.prototype.getInitialValue;mxCellEditor.prototype.getInitialValue=function(q,A){if("0"==mxUtils.getValue(q.style,
-"html","0"))return mxCellEditorGetInitialValue.apply(this,arguments);var B=this.graph.getEditingValue(q.cell,A);"1"==mxUtils.getValue(q.style,"nl2Br","1")&&(B=B.replace(/\n/g,"<br/>"));return Graph.sanitizeHtml(B,!0)};mxCellEditorSetEditingValue=mxCellEditor.prototype.setEditingValue;mxCellEditor.prototype.setEditingValue=function(q,A){mxCellEditorSetEditingValue.apply(this,arguments);"1"==mxUtils.getValue(q.style,"html","0")&&Graph.addLightDarkColors(this.textarea,Graph.backupStyleAttribute,"simple"==
-this.graph.getAdaptiveColors())};mxCellEditorGetCurrentValue=mxCellEditor.prototype.getCurrentValue;mxCellEditor.prototype.getCurrentValue=function(q){if("0"==mxUtils.getValue(q.style,"html","0"))return mxCellEditorGetCurrentValue.apply(this,arguments);Graph.removeLightDarkColors(this.textarea,Graph.backupStyleAttribute);var A=Graph.sanitizeHtml(this.textarea.innerHTML,!0);"1"==mxUtils.getValue(q.style,"nl2Br","1")?(A=A.replace(/\r\n/g,"<br/>").replace(/\n/g,"<br/>"),0<A.length&&("<br/>"==A.substring(A.length-
-5)||"<br>"==A.substring(A.length-4))&&(A=A.substring(0,A.lastIndexOf("<br"))+"<div><br/></div>")):A=A.replace(/\r\n/g,"").replace(/\n/g,"");return A};var L=mxCellEditor.prototype.stopEditing;mxCellEditor.prototype.stopEditing=function(q){this.codeViewMode&&this.toggleViewMode();L.apply(this,arguments);this.focusContainer()};mxCellEditor.prototype.focusContainer=function(){try{this.graph.container.focus()}catch(q){}};var W=mxCellEditor.prototype.applyValue;mxCellEditor.prototype.applyValue=function(q,
-A){this.graph.getModel().beginUpdate();try{W.apply(this,arguments),""==A&&this.graph.isCellDeletable(q.cell)&&0==this.graph.model.getChildCount(q.cell)&&this.graph.isTransparentState(q)&&this.graph.removeCells([q.cell],!1)}finally{this.graph.getModel().endUpdate()}};mxCellEditor.prototype.getBackgroundColor=function(q){q=mxUtils.getValue(q.style,mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,null);q==mxConstants.NONE&&(q=null);return q};mxCellEditor.prototype.getBorderColor=function(q){q=mxUtils.getValue(q.style,
-mxConstants.STYLE_LABEL_BORDERCOLOR,null);q==mxConstants.NONE&&(q=null);return q};mxCellEditor.prototype.getMinimumSize=function(q){var A=this.graph.getView().scale;return new mxRectangle(0,0,null==q.text?30:q.text.size*A+20,30)};mxGraphHandlerIsValidDropTarget=mxGraphHandler.prototype.isValidDropTarget;mxGraphHandler.prototype.isValidDropTarget=function(q,A){return mxGraphHandlerIsValidDropTarget.apply(this,arguments)&&!mxEvent.isAltDown(A.getEvent)};mxGraphView.prototype.formatUnitText=function(q){return q?
-b(q,this.unit):q};mxGraphHandler.prototype.updateHint=function(q){if(null!=this.pBounds&&(null!=this.shape||this.livePreviewActive)){null==this.hint&&(this.hint=a(),this.graph.container.appendChild(this.hint));var A=this.graph.view.translate,B=this.graph.view.scale;q=this.roundLength((this.bounds.x+this.currentDx)/B-A.x);A=this.roundLength((this.bounds.y+this.currentDy)/B-A.y);B=this.graph.view.unit;this.hint.innerHTML=b(q,B)+", "+b(A,B);this.hint.style.left=this.pBounds.x+this.currentDx+Math.round((this.pBounds.width-
-this.hint.clientWidth)/2)+"px";this.hint.style.top=this.pBounds.y+this.currentDy+this.pBounds.height+Editor.hintOffset+"px"}};mxGraphHandler.prototype.removeHint=function(){null!=this.hint&&(null!=this.hint.parentNode&&this.hint.parentNode.removeChild(this.hint),this.hint=null)};var X=mxStackLayout.prototype.resizeCell;mxStackLayout.prototype.resizeCell=function(q,A){X.apply(this,arguments);var B=this.graph.getCellStyle(q);if(null==B.childLayout){var F=this.graph.model.getParent(q),K=null!=F?this.graph.getCellGeometry(F):
-null;if(null!=K&&(B=this.graph.getCellStyle(F),"stackLayout"==B.childLayout)){var R=parseFloat(mxUtils.getValue(B,"stackBorder",mxStackLayout.prototype.border));B="1"==mxUtils.getValue(B,"horizontalStack","1");var Z=this.graph.getActualStartSize(F);K=K.clone();B?K.height=A.height+Z.y+Z.height+2*R:K.width=A.width+Z.x+Z.width+2*R;this.graph.model.setGeometry(F,K)}}};var T=mxSelectionCellsHandler.prototype.getHandledSelectionCells;mxSelectionCellsHandler.prototype.getHandledSelectionCells=function(){function q(ja){B.get(ja)||
-(B.put(ja,!0),K.push(ja))}for(var A=T.apply(this,arguments),B=new mxDictionary,F=this.graph.model,K=[],R=0;R<A.length;R++){var Z=A[R];this.graph.isTableCell(Z)?q(F.getParent(F.getParent(Z))):this.graph.isTableRow(Z)&&q(F.getParent(Z));q(Z)}return K};var N=mxConnectionHandler.prototype.isStartEvent;mxConnectionHandler.prototype.isStartEvent=function(q){return N.apply(this,arguments)&&!mxEvent.isControlDown(q.getEvent())&&!mxEvent.isShiftDown(q.getEvent())};var ca=mxVertexHandler.prototype.isGhostPreview;
-mxVertexHandler.prototype.isGhostPreview=function(){return ca.apply(this,arguments)&&!this.graph.isTable(this.state.cell)&&!this.graph.isTableRow(this.state.cell)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isSwimlane(this.state.cell)};var H=mxVertexHandler.prototype.createParentHighlightShape;mxVertexHandler.prototype.createParentHighlightShape=function(q){var A=H.apply(this,arguments);A.stroke="#C0C0C0";A.strokewidth=1;return A};var S=mxEdgeHandler.prototype.createParentHighlightShape;
-mxEdgeHandler.prototype.createParentHighlightShape=function(q){var A=S.apply(this,arguments);A.stroke="#C0C0C0";A.strokewidth=1;return A};mxVertexHandler.prototype.rotationHandleVSpacing=-12;mxVertexHandler.prototype.getRotationHandlePosition=function(){var q=this.getHandlePadding();return new mxPoint(this.bounds.x+this.bounds.width-this.rotationHandleVSpacing+q.x/2,this.bounds.y+this.rotationHandleVSpacing-q.y/2)};mxVertexHandler.prototype.isRecursiveResize=function(q,A){return this.graph.isRecursiveVertexResize(q)&&
-!mxEvent.isAltDown(A.getEvent())};mxVertexHandler.prototype.isCenteredEvent=function(q,A){return mxEvent.isControlDown(A.getEvent())||mxEvent.isMetaDown(A.getEvent())};var ea=mxVertexHandler.prototype.isRotationHandleVisible;mxVertexHandler.prototype.isRotationHandleVisible=function(){return ea.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isTableRow(this.state.cell)&&!this.graph.isTable(this.state.cell)};mxVertexHandler.prototype.getSizerBounds=function(){return this.graph.isTableCell(this.state.cell)?
-this.graph.view.getState(this.graph.model.getParent(this.graph.model.getParent(this.state.cell))):this.bounds};var la=mxVertexHandler.prototype.isParentHighlightVisible;mxVertexHandler.prototype.isParentHighlightVisible=function(){return la.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isTableRow(this.state.cell)};var O=mxVertexHandler.prototype.isCustomHandleVisible;mxVertexHandler.prototype.isCustomHandleVisible=function(q){return q.tableHandle||O.apply(this,arguments)&&
-(!this.graph.isTable(this.state.cell)||this.graph.isCellSelected(this.state.cell))};mxVertexHandler.prototype.getSelectionBorderInset=function(){var q=0;this.graph.isTableRow(this.state.cell)?q=1:this.graph.isTableCell(this.state.cell)&&(q=2);return q};var V=mxVertexHandler.prototype.getSelectionBorderBounds;mxVertexHandler.prototype.getSelectionBorderBounds=function(){return V.apply(this,arguments).grow(-this.getSelectionBorderInset())};var Y=null,ha=mxVertexHandler.prototype.createCustomHandles;
-mxVertexHandler.prototype.createCustomHandles=function(){null==Y&&(Y=mxCellRenderer.defaultShapes.tableLine);var q=ha.apply(this,arguments);if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)){var A=function(Ga,wa,ua){for(var Ta=[],Ra=0;Ra<Ga.length;Ra++){var Oa=Ga[Ra];Ta.push(null==Oa?null:new mxPoint((fa+Oa.x+wa)*R,(ka+Oa.y+ua)*R))}return Ta},B=this,F=this.graph,K=F.model,R=F.view.scale,Z=this.state,ja=this.selectionBorder,fa=this.state.origin.x+F.view.translate.x,
-ka=this.state.origin.y+F.view.translate.y;null==q&&(q=[]);var va=F.view.getCellStates(K.getChildCells(this.state.cell,!0));if(0<va.length){var Ma=K.getChildCells(va[0].cell,!0),Na=F.getTableLines(this.state.cell,!1,!0),Aa=F.getTableLines(this.state.cell,!0,!1);for(K=0;K<va.length;K++)mxUtils.bind(this,function(Ga){var wa=va[Ga],ua=null;if(F.isCellMovable(wa.cell)){ua=Ga<va.length-1?va[Ga+1]:null;ua=null!=ua?F.getCellGeometry(ua.cell):null;var Ta=null!=ua&&null!=ua.alternateBounds?ua.alternateBounds:
-ua;ua=null!=Aa[Ga]?new Y(Aa[Ga],mxConstants.NONE,1):new mxLine(new mxRectangle,mxConstants.NONE,1,!1);ua.isDashed=ja.isDashed;ua.svgStrokeTolerance++;ua=new mxHandle(wa,"row-resize",null,ua);ua.tableHandle=!0;var Ra=0;ua.shape.node.parentNode.insertBefore(ua.shape.node,ua.shape.node.parentNode.firstChild);ua.redraw=function(){if(null!=this.shape){this.shape.stroke=0==Ra?mxConstants.NONE:ja.stroke;if(this.shape.constructor==Y)this.shape.line=A(Aa[Ga],0,Ra),this.shape.updateBoundsFromLine();else{var Sa=
-F.getActualStartSize(Z.cell,!0);this.shape.bounds.height=1;this.shape.bounds.y=this.state.y+this.state.height+Ra*R;this.shape.bounds.x=Z.x+(Ga==va.length-1?0:Sa.x*R);this.shape.bounds.width=Z.width-(Ga==va.length-1?0:Sa.width+Sa.x+R)}this.shape.redraw()}};var Oa=!1;ua.setPosition=function(Sa,Xa,kb){Ra=Math.max(Graph.minTableRowHeight-Sa.height,Xa.y-Sa.y-Sa.height);Oa=mxEvent.isShiftDown(kb.getEvent());null!=Ta&&Oa&&(Ra=Math.min(Ra,Ta.height-Graph.minTableRowHeight))};ua.execute=function(Sa){if(0!=
-Ra)F.setTableRowHeight(this.state.cell,Ra,!Oa);else if(!B.blockDelayedSelection){var Xa=F.getCellAt(Sa.getGraphX(),Sa.getGraphY())||Z.cell;F.graphHandler.selectCellForEvent(Xa,Sa)}Ra=0};ua.reset=function(){Ra=0}}q.push(ua)})(K);for(K=0;K<Ma.length;K++)mxUtils.bind(this,function(Ga){var wa=F.view.getState(Ma[Ga]),ua=F.getCellGeometry(Ma[Ga]),Ta=null!=ua.alternateBounds?ua.alternateBounds:ua;null==wa&&(wa=new mxCellState(F.view,Ma[Ga],F.getCellStyle(Ma[Ga])),wa.x=Z.x+ua.x*R,wa.y=Z.y+ua.y*R,wa.width=
-Ta.width*R,wa.height=Ta.height*R,wa.updateCachedBounds());ua=Ga<Ma.length-1?Ma[Ga+1]:null;ua=null!=ua?F.getCellGeometry(ua):null;var Ra=null!=ua&&null!=ua.alternateBounds?ua.alternateBounds:ua;ua=null!=Na[Ga]?new Y(Na[Ga],mxConstants.NONE,1):new mxLine(new mxRectangle,mxConstants.NONE,1,!0);ua.isDashed=ja.isDashed;ua.svgStrokeTolerance++;wa=new mxHandle(wa,"col-resize",null,ua);wa.tableHandle=!0;var Oa=0;wa.shape.node.parentNode.insertBefore(wa.shape.node,wa.shape.node.parentNode.firstChild);wa.redraw=
-function(){if(null!=this.shape){this.shape.stroke=0==Oa?mxConstants.NONE:ja.stroke;if(this.shape.constructor==Y)this.shape.line=A(Na[Ga],Oa,0),this.shape.updateBoundsFromLine();else{var Xa=F.getActualStartSize(Z.cell,!0);this.shape.bounds.width=1;this.shape.bounds.x=this.state.x+(Ta.width+Oa)*R;this.shape.bounds.y=Z.y+(Ga==Ma.length-1?0:Xa.y*R);this.shape.bounds.height=Z.height-(Ga==Ma.length-1?0:(Xa.height+Xa.y)*R)}this.shape.redraw()}};var Sa=!1;wa.setPosition=function(Xa,kb,tb){Oa=Math.max(Graph.minTableColumnWidth-
-Ta.width,kb.x-Xa.x-Ta.width);Sa=mxEvent.isShiftDown(tb.getEvent());null==Ra||Sa||(Oa=Math.min(Oa,Ra.width-Graph.minTableColumnWidth))};wa.execute=function(Xa){if(0!=Oa)F.setTableColumnWidth(this.state.cell,Oa,Sa);else if(!B.blockDelayedSelection){var kb=F.getCellAt(Xa.getGraphX(),Xa.getGraphY())||Z.cell;F.graphHandler.selectCellForEvent(kb,Xa)}Oa=0};wa.positionChanged=function(){};wa.reset=function(){Oa=0};q.push(wa)})(K)}}return null!=q?q.reverse():null};var ia=mxVertexHandler.prototype.setHandlesVisible;
-mxVertexHandler.prototype.setHandlesVisible=function(q){ia.apply(this,arguments);if(null!=this.moveHandles)for(var A=0;A<this.moveHandles.length;A++)null!=this.moveHandles[A]&&(this.moveHandles[A].node.style.visibility=q?"":"hidden");if(null!=this.cornerHandles)for(A=0;A<this.cornerHandles.length;A++)this.cornerHandles[A].node.style.visibility=q?"":"hidden"};mxVertexHandler.prototype.isMoveHandlesVisible=function(){return this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)};
-mxVertexHandler.prototype.refreshMoveHandles=function(){var q=this.isMoveHandlesVisible();q&&null==this.moveHandles?this.moveHandles=this.createMoveHandles():q||null==this.moveHandles||this.destroyMoveHandles();if(q&&null==this.moveHandles){for(q=0;q<this.moveHandles.length;q++)null!=this.moveHandles[q]&&this.moveHandles[q].parentNode.removeChild(this.moveHandles[q]);this.moveHandles=null}};mxVertexHandler.prototype.createMoveHandles=function(){for(var q=this.graph,A=q.model,B=[],F=0;F<A.getChildCount(this.state.cell);F++)mxUtils.bind(this,
-function(K){if(null!=K&&A.isVertex(K.cell)&&q.isCellMovable(K.cell)){var R=new mxRectangle(0,0,this.rowHandleImage.width,this.rowHandleImage.height);R=new mxImageShape(R,this.rowHandleImage.src);R.rowState=K;R.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_MIXEDHTML:mxConstants.DIALECT_SVG;R.init(this.graph.getView().getOverlayPane());R.node.style.cursor="move";mxEvent.addGestureListeners(R.node,mxUtils.bind(this,function(Z){this.graph.popupMenuHandler.hideMenu();this.graph.stopEditing(!1);
-!this.graph.isToggleEvent(Z)&&this.graph.isCellSelected(K.cell)||this.graph.selectCellForEvent(K.cell,Z);mxEvent.isPopupTrigger(Z)||(this.graph.graphHandler.start(this.state.cell,mxEvent.getClientX(Z),mxEvent.getClientY(Z),this.graph.getSelectionCells()),this.graph.graphHandler.cellWasClicked=!0,this.graph.isMouseTrigger=mxEvent.isMouseEvent(Z),this.graph.isMouseDown=!0);mxEvent.consume(Z)}),null,mxUtils.bind(this,function(Z){mxEvent.isPopupTrigger(Z)&&(this.graph.popupMenuHandler.popup(mxEvent.getClientX(Z),
-mxEvent.getClientY(Z),K.cell,Z),mxEvent.consume(Z))}));B.push(R)}else B.push(null)})(this.graph.view.getState(A.getChildAt(this.state.cell,F)));return B};mxVertexHandler.prototype.destroyMoveHandles=function(){if(null!=this.moveHandles){for(var q=0;q<this.moveHandles.length;q++)null!=this.moveHandles[q]&&this.moveHandles[q].destroy();this.moveHandles=null}};mxVertexHandler.prototype.destroyCornerHandles=function(){if(null!=this.cornerHandles){for(var q=0;q<this.cornerHandles.length;q++)null!=this.cornerHandles[q]&&
-null!=this.cornerHandles[q].node&&null!=this.cornerHandles[q].node.parentNode&&this.cornerHandles[q].node.parentNode.removeChild(this.cornerHandles[q].node);this.cornerHandles=null}};var ta=mxVertexHandler.prototype.refresh;mxVertexHandler.prototype.refresh=function(){ta.apply(this,arguments);this.destroyMoveHandles();this.destroyCornerHandles();if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell))this.refreshMoveHandles();else if(1==this.graph.getSelectionCount()&&this.graph.isCellMovable(this.state.cell)&&
-(this.graph.isTableCell(this.state.cell)||this.graph.isTableRow(this.state.cell))){this.cornerHandles=[];for(var q=0;4>q;q++){var A=new mxRectangleShape(new mxRectangle(0,0,6,6),"#ffffff",mxConstants.HANDLE_STROKECOLOR);A.dialect=mxConstants.DIALECT_SVG;A.init(this.graph.view.getOverlayPane());this.cornerHandles.push(A)}}this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)&&this.refreshMoveHandles();q=this.graph.getLinkForCell(this.state.cell);A=this.graph.getLinksForState(this.state);
-this.updateLinkHint(q,A)};var aa=mxVertexHandler.prototype.getHandlePadding;mxVertexHandler.prototype.getHandlePadding=function(){var q=new mxPoint(0,0),A=this.tolerance,B=this.state.style.shape;null==mxCellRenderer.defaultShapes[B]&&mxStencilRegistry.getStencil(B);B=this.graph.isTable(this.state.cell)||this.graph.cellEditor.getEditingCell()==this.state.cell;if(!B&&null!=this.customHandles)for(var F=0;F<this.customHandles.length;F++)if(null!=this.customHandles[F]&&null!=this.customHandles[F].shape&&
-null!=this.customHandles[F].shape.bounds){var K=this.customHandles[F].shape.bounds,R=K.getCenterX(),Z=K.getCenterY();if(Math.abs(this.state.x-R)<K.width/2||Math.abs(this.state.y-Z)<K.height/2||Math.abs(this.state.x+this.state.width-R)<K.width/2||Math.abs(this.state.y+this.state.height-Z)<K.height/2){B=!0;break}}B&&null!=this.sizers&&0<this.sizers.length&&null!=this.sizers[0]?(A/=2,this.graph.isTable(this.state.cell)&&(A+=7),q.x=this.sizers[0].bounds.width+A,q.y=this.sizers[0].bounds.height+A):q=aa.apply(this,
-arguments);return q};mxVertexHandler.prototype.updateHint=function(q){if(this.index!=mxEvent.LABEL_HANDLE){null==this.hint&&(this.hint=a(),this.state.view.graph.container.appendChild(this.hint));if(this.index==mxEvent.ROTATION_HANDLE)this.hint.innerHTML=this.currentAlpha+"&deg;";else{q=this.state.view.scale;var A=this.state.view.unit;this.hint.innerHTML=b(this.roundLength(this.bounds.width/q),A)+" x "+b(this.roundLength(this.bounds.height/q),A)}q=mxUtils.getBoundingBox(this.bounds,null!=this.currentAlpha?
-this.currentAlpha:this.state.style[mxConstants.STYLE_ROTATION]||"0");null==q&&(q=this.bounds);this.hint.style.left=q.x+Math.round((q.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=q.y+q.height+Editor.hintOffset+"px";null!=this.linkHint&&(this.linkHint.style.display="none")}};mxVertexHandler.prototype.removeHint=function(){mxGraphHandler.prototype.removeHint.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.display="")};var P=mxEdgeHandler.prototype.refresh;mxEdgeHandler.prototype.refresh=
-function(){P.apply(this,arguments);var q=this.graph.getLinkForCell(this.state.cell),A=this.graph.getLinksForState(this.state);this.updateLinkHint(q,A)};var ba=mxEdgeHandler.prototype.mouseMove;mxEdgeHandler.prototype.mouseMove=function(q,A){ba.apply(this,arguments);null!=this.linkHint&&"none"!=this.linkHint.style.display&&null!=this.graph.graphHandler&&null!=this.graph.graphHandler.first&&(this.linkHint.style.display="none")};var ma=mxEdgeHandler.prototype.mouseUp;mxEdgeHandler.prototype.mouseUp=
-function(q,A){ma.apply(this,arguments);null!=this.linkHint&&"none"==this.linkHint.style.display&&1==this.graph.getSelectionCount()&&(this.linkHint.style.display="")};mxEdgeHandler.prototype.updateHint=function(q,A,B){null==this.hint&&(this.hint=a(),this.state.view.graph.container.appendChild(this.hint));var F=this.graph.view.translate,K=this.graph.view.scale,R=this.roundLength(A.x/K-F.x);F=this.roundLength(A.y/K-F.y);var Z=this.graph.view.unit;this.hint.innerHTML=b(R,Z)+", "+b(F,Z);this.hint.style.visibility=
-"visible";null!=B&&(B.view.updateEdgeBounds(B),this.hint.innerHTML+=" ("+(Z==mxConstants.POINTS?Math.round(B.length/K):b(B.length/K,Z))+")");if(this.isSource||this.isTarget)null!=this.constraintHandler&&null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus?(B=this.constraintHandler.currentConstraint.point,this.hint.innerHTML="["+Math.round(100*B.x)+"%, "+Math.round(100*B.y)+"%]"):this.marker.hasValidState()&&(this.hint.style.visibility="hidden");this.hint.style.left=
-Math.round(q.getGraphX()-this.hint.clientWidth/2)+"px";this.hint.style.top=Math.max(q.getGraphY(),A.y)+Editor.hintOffset+"px";null!=this.linkHint&&(this.linkHint.style.display="none")};Graph.prototype.expandedImage=Graph.createSvgImage(9,9,'<defs><linearGradient id="grad1" x1="50%" y1="0%" x2="50%" y2="100%"><stop offset="30%" style="stop-color:#f0f0f0;" /><stop offset="100%" style="stop-color:#AFB0B6;" /></linearGradient></defs><rect x="0" y="0" width="9" height="9" stroke="#8A94A5" fill="url(#grad1)" stroke-width="2"/><path d="M 2 4.5 L 7 4.5 z" stroke="#000"/>');
+!F&&!ja&&(B&&null==Z.getCell()&&this.isSelectionEmpty()||A&&this.isCellSelected(Z.getCell())));ja=!A||ja?null:mxUtils.bind(this,function(fa){window.setTimeout(mxUtils.bind(this,function(){if(!this.isEditing()&&this.isTouchPopupMenuEnabled()){var ka=mxUtils.getScrollOrigin();this.popupMenuHandler.popup(Z.getX()+ka.x+1,Z.getY()+ka.y+1,fa,Z.getEvent())}}),300)});mxPopupMenuHandler.prototype.mouseUp.apply(this.popupMenuHandler,[R,Z,ja])}})};Graph.prototype.isTouchPopupMenuEnabled=function(){return!0};
+mxCellEditor.prototype.isContentEditing=function(){var q=this.graph.view.getState(this.editingCell);return null!=q&&1==q.style.html};mxCellEditor.prototype.isTableSelected=function(){return null!=this.graph.getParentByName(this.graph.getSelectedElement(),"TABLE",this.textarea)};mxCellEditor.prototype.isTextSelected=function(){var q="";window.getSelection?q=window.getSelection():document.getSelection?q=document.getSelection():document.selection&&(q=document.selection.createRange().text);return""!=
+q};mxCellEditor.prototype.insertTab=function(q){var A=this.textarea.ownerDocument.defaultView.getSelection(),B=A.getRangeAt(0);q=Graph.createTabNode(q);B.insertNode(q);B.setStartAfter(q);B.setEndAfter(q);A.removeAllRanges();A.addRange(B)};mxCellEditor.prototype.alignText=function(q,A){var B=this.graph.getView().getState(this.editingCell);if(null!=B){B=mxUtils.getValue(B.style,mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT_TEXT_DIRECTION);var F=null!=B&&"vertical-"==B.substring(0,9),K=null!=
+A&&mxEvent.isShiftDown(A);if(K||null!=window.getSelection&&null!=window.getSelection().containsNode){var R=!0;this.graph.processElements(this.textarea,function(Z){K||F||window.getSelection().containsNode(Z,!0)?(Z.removeAttribute("align"),Z.style.textAlign=null):R=!1});(R||F)&&this.graph.cellEditor.setAlign(q)}F||document.execCommand("justify"+q.toLowerCase(),!1,null)}};mxCellEditor.prototype.saveSelection=function(){if(window.getSelection){var q=window.getSelection();if(q.getRangeAt&&q.rangeCount){for(var A=
+[],B=0,F=q.rangeCount;B<F;++B)A.push(q.getRangeAt(B));return A}}else if(document.selection&&document.selection.createRange)return document.selection.createRange();return null};mxCellEditor.prototype.restoreSelection=function(q){try{if(q)if(window.getSelection){sel=window.getSelection();sel.removeAllRanges();for(var A=0,B=q.length;A<B;++A)sel.addRange(q[A])}else document.selection&&q.select&&q.select()}catch(F){}};var G=mxCellRenderer.prototype.initializeLabel;mxCellRenderer.prototype.initializeLabel=
+function(q){null!=q.text&&(q.text.replaceLinefeeds="0"!=mxUtils.getValue(q.style,"nl2Br","1"));G.apply(this,arguments)};var J=mxConstraintHandler.prototype.update;mxConstraintHandler.prototype.update=function(q,A){this.isKeepFocusEvent(q)||!mxEvent.isAltDown(q.getEvent())?J.apply(this,arguments):this.reset()};mxGuide.prototype.createGuideShape=function(q){return new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH)};mxCellEditor.prototype.escapeCancelsEditing=!1;var M=mxCellEditor.prototype.startEditing;
+mxCellEditor.prototype.startEditing=function(q,A){q=this.graph.getStartEditingCell(q,A);M.apply(this,arguments);var B=this.graph.view.getState(q);this.textarea.className=null!=B&&1==B.style.html?"mxCellEditor geContentEditable":"mxCellEditor mxPlainTextEditor";this.textarea.style.colorScheme="none"==this.graph.getAdaptiveColors()?"light":"";this.codeViewMode=!1;this.switchSelectionState=null;this.graph.setSelectionCell(q)};mxCellEditor.prototype.toggleViewMode=function(){var q=this.graph.view.getState(this.editingCell);
+if(null!=q){var A=null!=q&&"0"!=mxUtils.getValue(q.style,"nl2Br","1"),B=this.saveSelection();if(this.codeViewMode){Graph.removeLightDarkColors(this.textarea,Graph.backupStyleAttribute);ja=mxUtils.extractTextWithWhitespace(this.textarea.childNodes);0<ja.length&&"\n"==ja.charAt(ja.length-1)&&(ja=ja.substring(0,ja.length-1));ja=Graph.sanitizeHtml(A?ja.replace(/\n/g,"<br/>"):ja,!0);this.textarea.className="mxCellEditor geContentEditable";fa=mxUtils.getValue(q.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE);
+A=mxUtils.getValue(q.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY);var F=mxUtils.getValue(q.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),K=(mxUtils.getValue(q.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD,R=(mxUtils.getValue(q.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC,Z=[];(mxUtils.getValue(q.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&Z.push("underline");
+(mxUtils.getValue(q.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&Z.push("line-through");this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(fa*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(fa)+"px";this.textarea.style.textDecoration=Z.join(" ");this.textarea.style.fontWeight=K?"bold":"normal";this.textarea.style.fontStyle=R?"italic":"";this.textarea.style.fontFamily=A;this.textarea.style.textAlign=
+F;this.textarea.style.padding="0px";this.textarea.innerHTML!=ja&&(this.textarea.innerHTML=ja,0==this.textarea.innerHTML.length&&(this.textarea.innerHTML=this.getEmptyLabelText(),this.clearOnChange=0<this.textarea.innerHTML.length));Graph.addLightDarkColors(this.textarea,Graph.backupStyleAttribute,"simple"==this.graph.getAdaptiveColors());this.codeViewMode=!1}else{this.clearOnChange&&this.textarea.innerHTML==this.getEmptyLabelText()&&(this.clearOnChange=!1,this.textarea.innerText="");Graph.removeLightDarkColors(this.textarea,
+Graph.backupStyleAttribute);var ja=mxUtils.htmlEntities(this.textarea.innerHTML);8!=document.documentMode&&(ja=mxUtils.replaceTrailingNewlines(ja,"<div><br></div>"));ja=Graph.sanitizeHtml(A?ja.replace(/\n/g,"").replace(/&lt;br\s*.?&gt;/g,"<br>"):ja,!0);this.textarea.className="mxCellEditor mxPlainTextEditor";var fa=mxConstants.DEFAULT_FONTSIZE;this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(fa*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=
+Math.round(fa)+"px";this.textarea.style.textDecoration="";this.textarea.style.fontWeight="normal";this.textarea.style.fontStyle="";this.textarea.style.fontFamily=mxConstants.DEFAULT_FONTFAMILY;this.textarea.style.textAlign="left";this.textarea.style.width="";this.textarea.style.padding="2px";this.textarea.innerHTML!=ja&&(this.textarea.innerHTML=ja);this.codeViewMode=!0}this.textarea.focus();null!=this.switchSelectionState&&this.restoreSelection(this.switchSelectionState);this.switchSelectionState=
+B;this.resize()}};var Q=mxCellEditor.prototype.resize;mxCellEditor.prototype.resize=function(q,A){if(null!=this.textarea)if(q=this.graph.getView().getState(this.editingCell),this.codeViewMode&&null!=q){var B=q.view.scale;this.bounds=mxRectangle.fromRectangle(q);if(0==this.bounds.width&&0==this.bounds.height){this.bounds.width=160*B;this.bounds.height=60*B;var F=null!=q.text?q.text.margin:null;null==F&&(F=mxUtils.getAlignmentAsPoint(mxUtils.getValue(q.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),
+mxUtils.getValue(q.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE)));this.bounds.x+=F.x*this.bounds.width;this.bounds.y+=F.y*this.bounds.height}this.textarea.style.width=Math.round((this.bounds.width-4)/B)+"px";this.textarea.style.height=Math.round((this.bounds.height-4)/B)+"px";this.textarea.style.overflow="auto";this.textarea.clientHeight<this.textarea.offsetHeight&&(this.textarea.style.height=Math.round(this.bounds.height/B)+(this.textarea.offsetHeight-this.textarea.clientHeight)+
+"px",this.bounds.height=parseInt(this.textarea.style.height)*B);this.textarea.clientWidth<this.textarea.offsetWidth&&(this.textarea.style.width=Math.round(this.bounds.width/B)+(this.textarea.offsetWidth-this.textarea.clientWidth)+"px",this.bounds.width=parseInt(this.textarea.style.width)*B);this.textarea.style.left=Math.round(this.bounds.x)+"px";this.textarea.style.top=Math.round(this.bounds.y)+"px";mxUtils.setPrefixedStyle(this.textarea.style,"transform","scale("+B+","+B+")")}else this.textarea.style.height=
+"",this.textarea.style.overflow="",Q.apply(this,arguments)};mxCellEditorGetInitialValue=mxCellEditor.prototype.getInitialValue;mxCellEditor.prototype.getInitialValue=function(q,A){if("0"==mxUtils.getValue(q.style,"html","0"))return mxCellEditorGetInitialValue.apply(this,arguments);var B=this.graph.getEditingValue(q.cell,A);"1"==mxUtils.getValue(q.style,"nl2Br","1")&&(B=B.replace(/\n/g,"<br/>"));return Graph.sanitizeHtml(B,!0)};mxCellEditorSetEditingValue=mxCellEditor.prototype.setEditingValue;mxCellEditor.prototype.setEditingValue=
+function(q,A){mxCellEditorSetEditingValue.apply(this,arguments);"1"==mxUtils.getValue(q.style,"html","0")&&Graph.addLightDarkColors(this.textarea,Graph.backupStyleAttribute,"simple"==this.graph.getAdaptiveColors())};mxCellEditorGetCurrentValue=mxCellEditor.prototype.getCurrentValue;mxCellEditor.prototype.getCurrentValue=function(q){if("0"==mxUtils.getValue(q.style,"html","0"))return mxCellEditorGetCurrentValue.apply(this,arguments);Graph.removeLightDarkColors(this.textarea,Graph.backupStyleAttribute);
+var A=Graph.sanitizeHtml(this.textarea.innerHTML,!0);"1"==mxUtils.getValue(q.style,"nl2Br","1")?(A=A.replace(/\r\n/g,"<br/>").replace(/\n/g,"<br/>"),0<A.length&&("<br/>"==A.substring(A.length-5)||"<br>"==A.substring(A.length-4))&&(A=A.substring(0,A.lastIndexOf("<br"))+"<div><br/></div>")):A=A.replace(/\r\n/g,"").replace(/\n/g,"");return A};var L=mxCellEditor.prototype.stopEditing;mxCellEditor.prototype.stopEditing=function(q){this.codeViewMode&&this.toggleViewMode();L.apply(this,arguments);this.focusContainer()};
+mxCellEditor.prototype.focusContainer=function(){try{this.graph.container.focus()}catch(q){}};var W=mxCellEditor.prototype.applyValue;mxCellEditor.prototype.applyValue=function(q,A){this.graph.getModel().beginUpdate();try{W.apply(this,arguments),""==A&&this.graph.isCellDeletable(q.cell)&&0==this.graph.model.getChildCount(q.cell)&&this.graph.isTransparentState(q)&&this.graph.removeCells([q.cell],!1)}finally{this.graph.getModel().endUpdate()}};mxCellEditor.prototype.getBackgroundColor=function(q){q=
+mxUtils.getValue(q.style,mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,null);q==mxConstants.NONE&&(q=null);return q};mxCellEditor.prototype.getBorderColor=function(q){q=mxUtils.getValue(q.style,mxConstants.STYLE_LABEL_BORDERCOLOR,null);q==mxConstants.NONE&&(q=null);return q};mxCellEditor.prototype.getMinimumSize=function(q){var A=this.graph.getView().scale;return new mxRectangle(0,0,null==q.text?30:q.text.size*A+20,30)};mxGraphHandlerIsValidDropTarget=mxGraphHandler.prototype.isValidDropTarget;mxGraphHandler.prototype.isValidDropTarget=
+function(q,A){return mxGraphHandlerIsValidDropTarget.apply(this,arguments)&&!mxEvent.isAltDown(A.getEvent)};mxGraphView.prototype.formatUnitText=function(q){return q?b(q,this.unit):q};mxGraphHandler.prototype.updateHint=function(q){if(null!=this.pBounds&&(null!=this.shape||this.livePreviewActive)){null==this.hint&&(this.hint=a(),this.graph.container.appendChild(this.hint));var A=this.graph.view.translate,B=this.graph.view.scale;q=this.roundLength((this.bounds.x+this.currentDx)/B-A.x);A=this.roundLength((this.bounds.y+
+this.currentDy)/B-A.y);B=this.graph.view.unit;this.hint.innerHTML=b(q,B)+", "+b(A,B);this.hint.style.left=this.pBounds.x+this.currentDx+Math.round((this.pBounds.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=this.pBounds.y+this.currentDy+this.pBounds.height+Editor.hintOffset+"px"}};mxGraphHandler.prototype.removeHint=function(){null!=this.hint&&(null!=this.hint.parentNode&&this.hint.parentNode.removeChild(this.hint),this.hint=null)};var X=mxStackLayout.prototype.resizeCell;mxStackLayout.prototype.resizeCell=
+function(q,A){X.apply(this,arguments);var B=this.graph.getCellStyle(q);if(null==B.childLayout){var F=this.graph.model.getParent(q),K=null!=F?this.graph.getCellGeometry(F):null;if(null!=K&&(B=this.graph.getCellStyle(F),"stackLayout"==B.childLayout)){var R=parseFloat(mxUtils.getValue(B,"stackBorder",mxStackLayout.prototype.border));B="1"==mxUtils.getValue(B,"horizontalStack","1");var Z=this.graph.getActualStartSize(F);K=K.clone();B?K.height=A.height+Z.y+Z.height+2*R:K.width=A.width+Z.x+Z.width+2*R;
+this.graph.model.setGeometry(F,K)}}};var T=mxSelectionCellsHandler.prototype.getHandledSelectionCells;mxSelectionCellsHandler.prototype.getHandledSelectionCells=function(){function q(ja){B.get(ja)||(B.put(ja,!0),K.push(ja))}for(var A=T.apply(this,arguments),B=new mxDictionary,F=this.graph.model,K=[],R=0;R<A.length;R++){var Z=A[R];this.graph.isTableCell(Z)?q(F.getParent(F.getParent(Z))):this.graph.isTableRow(Z)&&q(F.getParent(Z));q(Z)}return K};var N=mxConnectionHandler.prototype.isStartEvent;mxConnectionHandler.prototype.isStartEvent=
+function(q){return N.apply(this,arguments)&&!mxEvent.isControlDown(q.getEvent())&&!mxEvent.isShiftDown(q.getEvent())};var ca=mxVertexHandler.prototype.isGhostPreview;mxVertexHandler.prototype.isGhostPreview=function(){return ca.apply(this,arguments)&&!this.graph.isTable(this.state.cell)&&!this.graph.isTableRow(this.state.cell)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isSwimlane(this.state.cell)};var H=mxVertexHandler.prototype.createParentHighlightShape;mxVertexHandler.prototype.createParentHighlightShape=
+function(q){var A=H.apply(this,arguments);A.stroke="#C0C0C0";A.strokewidth=1;return A};var S=mxEdgeHandler.prototype.createParentHighlightShape;mxEdgeHandler.prototype.createParentHighlightShape=function(q){var A=S.apply(this,arguments);A.stroke="#C0C0C0";A.strokewidth=1;return A};mxVertexHandler.prototype.rotationHandleVSpacing=-12;mxVertexHandler.prototype.getRotationHandlePosition=function(){var q=this.getHandlePadding();return new mxPoint(this.bounds.x+this.bounds.width-this.rotationHandleVSpacing+
+q.x/2,this.bounds.y+this.rotationHandleVSpacing-q.y/2)};mxVertexHandler.prototype.isRecursiveResize=function(q,A){return this.graph.isRecursiveVertexResize(q)&&!mxEvent.isAltDown(A.getEvent())};mxVertexHandler.prototype.isCenteredEvent=function(q,A){return mxEvent.isControlDown(A.getEvent())||mxEvent.isMetaDown(A.getEvent())};var ea=mxVertexHandler.prototype.isRotationHandleVisible;mxVertexHandler.prototype.isRotationHandleVisible=function(){return ea.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&
+!this.graph.isTableRow(this.state.cell)&&!this.graph.isTable(this.state.cell)};mxVertexHandler.prototype.getSizerBounds=function(){return this.graph.isTableCell(this.state.cell)?this.graph.view.getState(this.graph.model.getParent(this.graph.model.getParent(this.state.cell))):this.bounds};var la=mxVertexHandler.prototype.isParentHighlightVisible;mxVertexHandler.prototype.isParentHighlightVisible=function(){return la.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isTableRow(this.state.cell)};
+var O=mxVertexHandler.prototype.isCustomHandleVisible;mxVertexHandler.prototype.isCustomHandleVisible=function(q){return q.tableHandle||O.apply(this,arguments)&&(!this.graph.isTable(this.state.cell)||this.graph.isCellSelected(this.state.cell))};mxVertexHandler.prototype.getSelectionBorderInset=function(){var q=0;this.graph.isTableRow(this.state.cell)?q=1:this.graph.isTableCell(this.state.cell)&&(q=2);return q};var V=mxVertexHandler.prototype.getSelectionBorderBounds;mxVertexHandler.prototype.getSelectionBorderBounds=
+function(){return V.apply(this,arguments).grow(-this.getSelectionBorderInset())};var Y=null,ha=mxVertexHandler.prototype.createCustomHandles;mxVertexHandler.prototype.createCustomHandles=function(){null==Y&&(Y=mxCellRenderer.defaultShapes.tableLine);var q=ha.apply(this,arguments);if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)){var A=function(Ga,wa,ua){for(var Ta=[],Ra=0;Ra<Ga.length;Ra++){var Oa=Ga[Ra];Ta.push(null==Oa?null:new mxPoint((fa+Oa.x+wa)*R,(ka+Oa.y+ua)*
+R))}return Ta},B=this,F=this.graph,K=F.model,R=F.view.scale,Z=this.state,ja=this.selectionBorder,fa=this.state.origin.x+F.view.translate.x,ka=this.state.origin.y+F.view.translate.y;null==q&&(q=[]);var va=F.view.getCellStates(K.getChildCells(this.state.cell,!0));if(0<va.length){var Ma=K.getChildCells(va[0].cell,!0),Na=F.getTableLines(this.state.cell,!1,!0),Aa=F.getTableLines(this.state.cell,!0,!1);for(K=0;K<va.length;K++)mxUtils.bind(this,function(Ga){var wa=va[Ga],ua=null;if(F.isCellMovable(wa.cell)){ua=
+Ga<va.length-1?va[Ga+1]:null;ua=null!=ua?F.getCellGeometry(ua.cell):null;var Ta=null!=ua&&null!=ua.alternateBounds?ua.alternateBounds:ua;ua=null!=Aa[Ga]?new Y(Aa[Ga],mxConstants.NONE,1):new mxLine(new mxRectangle,mxConstants.NONE,1,!1);ua.isDashed=ja.isDashed;ua.svgStrokeTolerance++;ua=new mxHandle(wa,"row-resize",null,ua);ua.tableHandle=!0;var Ra=0;ua.shape.node.parentNode.insertBefore(ua.shape.node,ua.shape.node.parentNode.firstChild);ua.redraw=function(){if(null!=this.shape){this.shape.stroke=
+0==Ra?mxConstants.NONE:ja.stroke;if(this.shape.constructor==Y)this.shape.line=A(Aa[Ga],0,Ra),this.shape.updateBoundsFromLine();else{var Sa=F.getActualStartSize(Z.cell,!0);this.shape.bounds.height=1;this.shape.bounds.y=this.state.y+this.state.height+Ra*R;this.shape.bounds.x=Z.x+(Ga==va.length-1?0:Sa.x*R);this.shape.bounds.width=Z.width-(Ga==va.length-1?0:Sa.width+Sa.x+R)}this.shape.redraw()}};var Oa=!1;ua.setPosition=function(Sa,Xa,kb){Ra=Math.max(Graph.minTableRowHeight-Sa.height,Xa.y-Sa.y-Sa.height);
+Oa=mxEvent.isShiftDown(kb.getEvent());null!=Ta&&Oa&&(Ra=Math.min(Ra,Ta.height-Graph.minTableRowHeight))};ua.execute=function(Sa){if(0!=Ra)F.setTableRowHeight(this.state.cell,Ra,!Oa);else if(!B.blockDelayedSelection){var Xa=F.getCellAt(Sa.getGraphX(),Sa.getGraphY())||Z.cell;F.graphHandler.selectCellForEvent(Xa,Sa)}Ra=0};ua.reset=function(){Ra=0}}q.push(ua)})(K);for(K=0;K<Ma.length;K++)mxUtils.bind(this,function(Ga){var wa=F.view.getState(Ma[Ga]),ua=F.getCellGeometry(Ma[Ga]),Ta=null!=ua.alternateBounds?
+ua.alternateBounds:ua;null==wa&&(wa=new mxCellState(F.view,Ma[Ga],F.getCellStyle(Ma[Ga])),wa.x=Z.x+ua.x*R,wa.y=Z.y+ua.y*R,wa.width=Ta.width*R,wa.height=Ta.height*R,wa.updateCachedBounds());ua=Ga<Ma.length-1?Ma[Ga+1]:null;ua=null!=ua?F.getCellGeometry(ua):null;var Ra=null!=ua&&null!=ua.alternateBounds?ua.alternateBounds:ua;ua=null!=Na[Ga]?new Y(Na[Ga],mxConstants.NONE,1):new mxLine(new mxRectangle,mxConstants.NONE,1,!0);ua.isDashed=ja.isDashed;ua.svgStrokeTolerance++;wa=new mxHandle(wa,"col-resize",
+null,ua);wa.tableHandle=!0;var Oa=0;wa.shape.node.parentNode.insertBefore(wa.shape.node,wa.shape.node.parentNode.firstChild);wa.redraw=function(){if(null!=this.shape){this.shape.stroke=0==Oa?mxConstants.NONE:ja.stroke;if(this.shape.constructor==Y)this.shape.line=A(Na[Ga],Oa,0),this.shape.updateBoundsFromLine();else{var Xa=F.getActualStartSize(Z.cell,!0);this.shape.bounds.width=1;this.shape.bounds.x=this.state.x+(Ta.width+Oa)*R;this.shape.bounds.y=Z.y+(Ga==Ma.length-1?0:Xa.y*R);this.shape.bounds.height=
+Z.height-(Ga==Ma.length-1?0:(Xa.height+Xa.y)*R)}this.shape.redraw()}};var Sa=!1;wa.setPosition=function(Xa,kb,tb){Oa=Math.max(Graph.minTableColumnWidth-Ta.width,kb.x-Xa.x-Ta.width);Sa=mxEvent.isShiftDown(tb.getEvent());null==Ra||Sa||(Oa=Math.min(Oa,Ra.width-Graph.minTableColumnWidth))};wa.execute=function(Xa){if(0!=Oa)F.setTableColumnWidth(this.state.cell,Oa,Sa);else if(!B.blockDelayedSelection){var kb=F.getCellAt(Xa.getGraphX(),Xa.getGraphY())||Z.cell;F.graphHandler.selectCellForEvent(kb,Xa)}Oa=
+0};wa.positionChanged=function(){};wa.reset=function(){Oa=0};q.push(wa)})(K)}}return null!=q?q.reverse():null};var ia=mxVertexHandler.prototype.setHandlesVisible;mxVertexHandler.prototype.setHandlesVisible=function(q){ia.apply(this,arguments);if(null!=this.moveHandles)for(var A=0;A<this.moveHandles.length;A++)null!=this.moveHandles[A]&&(this.moveHandles[A].node.style.visibility=q?"":"hidden");if(null!=this.cornerHandles)for(A=0;A<this.cornerHandles.length;A++)this.cornerHandles[A].node.style.visibility=
+q?"":"hidden"};mxVertexHandler.prototype.isMoveHandlesVisible=function(){return this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)};mxVertexHandler.prototype.refreshMoveHandles=function(){var q=this.isMoveHandlesVisible();q&&null==this.moveHandles?this.moveHandles=this.createMoveHandles():q||null==this.moveHandles||this.destroyMoveHandles();if(q&&null==this.moveHandles){for(q=0;q<this.moveHandles.length;q++)null!=this.moveHandles[q]&&this.moveHandles[q].parentNode.removeChild(this.moveHandles[q]);
+this.moveHandles=null}};mxVertexHandler.prototype.createMoveHandles=function(){for(var q=this.graph,A=q.model,B=[],F=0;F<A.getChildCount(this.state.cell);F++)mxUtils.bind(this,function(K){if(null!=K&&A.isVertex(K.cell)&&q.isCellMovable(K.cell)){var R=new mxRectangle(0,0,this.rowHandleImage.width,this.rowHandleImage.height);R=new mxImageShape(R,this.rowHandleImage.src);R.rowState=K;R.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_MIXEDHTML:mxConstants.DIALECT_SVG;R.init(this.graph.getView().getOverlayPane());
+R.node.style.cursor="move";mxEvent.addGestureListeners(R.node,mxUtils.bind(this,function(Z){this.graph.popupMenuHandler.hideMenu();this.graph.stopEditing(!1);!this.graph.isToggleEvent(Z)&&this.graph.isCellSelected(K.cell)||this.graph.selectCellForEvent(K.cell,Z);mxEvent.isPopupTrigger(Z)||(this.graph.graphHandler.start(this.state.cell,mxEvent.getClientX(Z),mxEvent.getClientY(Z),this.graph.getSelectionCells()),this.graph.graphHandler.cellWasClicked=!0,this.graph.isMouseTrigger=mxEvent.isMouseEvent(Z),
+this.graph.isMouseDown=!0);mxEvent.consume(Z)}),null,mxUtils.bind(this,function(Z){mxEvent.isPopupTrigger(Z)&&(this.graph.popupMenuHandler.popup(mxEvent.getClientX(Z),mxEvent.getClientY(Z),K.cell,Z),mxEvent.consume(Z))}));B.push(R)}else B.push(null)})(this.graph.view.getState(A.getChildAt(this.state.cell,F)));return B};mxVertexHandler.prototype.destroyMoveHandles=function(){if(null!=this.moveHandles){for(var q=0;q<this.moveHandles.length;q++)null!=this.moveHandles[q]&&this.moveHandles[q].destroy();
+this.moveHandles=null}};mxVertexHandler.prototype.destroyCornerHandles=function(){if(null!=this.cornerHandles){for(var q=0;q<this.cornerHandles.length;q++)null!=this.cornerHandles[q]&&null!=this.cornerHandles[q].node&&null!=this.cornerHandles[q].node.parentNode&&this.cornerHandles[q].node.parentNode.removeChild(this.cornerHandles[q].node);this.cornerHandles=null}};var ta=mxVertexHandler.prototype.refresh;mxVertexHandler.prototype.refresh=function(){ta.apply(this,arguments);this.destroyMoveHandles();
+this.destroyCornerHandles();if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell))this.refreshMoveHandles();else if(1==this.graph.getSelectionCount()&&this.graph.isCellMovable(this.state.cell)&&(this.graph.isTableCell(this.state.cell)||this.graph.isTableRow(this.state.cell))){this.cornerHandles=[];for(var q=0;4>q;q++){var A=new mxRectangleShape(new mxRectangle(0,0,6,6),"#ffffff",mxConstants.HANDLE_STROKECOLOR);A.dialect=mxConstants.DIALECT_SVG;A.init(this.graph.view.getOverlayPane());
+this.cornerHandles.push(A)}}this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)&&this.refreshMoveHandles();q=this.graph.getLinkForCell(this.state.cell);A=this.graph.getLinksForState(this.state);this.updateLinkHint(q,A)};var aa=mxVertexHandler.prototype.getHandlePadding;mxVertexHandler.prototype.getHandlePadding=function(){var q=new mxPoint(0,0),A=this.tolerance,B=this.state.style.shape;null==mxCellRenderer.defaultShapes[B]&&mxStencilRegistry.getStencil(B);B=this.graph.isTable(this.state.cell)||
+this.graph.cellEditor.getEditingCell()==this.state.cell;if(!B&&null!=this.customHandles)for(var F=0;F<this.customHandles.length;F++)if(null!=this.customHandles[F]&&null!=this.customHandles[F].shape&&null!=this.customHandles[F].shape.bounds){var K=this.customHandles[F].shape.bounds,R=K.getCenterX(),Z=K.getCenterY();if(Math.abs(this.state.x-R)<K.width/2||Math.abs(this.state.y-Z)<K.height/2||Math.abs(this.state.x+this.state.width-R)<K.width/2||Math.abs(this.state.y+this.state.height-Z)<K.height/2){B=
+!0;break}}B&&null!=this.sizers&&0<this.sizers.length&&null!=this.sizers[0]?(A/=2,this.graph.isTable(this.state.cell)&&(A+=7),q.x=this.sizers[0].bounds.width+A,q.y=this.sizers[0].bounds.height+A):q=aa.apply(this,arguments);return q};mxVertexHandler.prototype.updateHint=function(q){if(this.index!=mxEvent.LABEL_HANDLE){null==this.hint&&(this.hint=a(),this.state.view.graph.container.appendChild(this.hint));if(this.index==mxEvent.ROTATION_HANDLE)this.hint.innerHTML=this.currentAlpha+"&deg;";else{q=this.state.view.scale;
+var A=this.state.view.unit;this.hint.innerHTML=b(this.roundLength(this.bounds.width/q),A)+" x "+b(this.roundLength(this.bounds.height/q),A)}q=mxUtils.getBoundingBox(this.bounds,null!=this.currentAlpha?this.currentAlpha:this.state.style[mxConstants.STYLE_ROTATION]||"0");null==q&&(q=this.bounds);this.hint.style.left=q.x+Math.round((q.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=q.y+q.height+Editor.hintOffset+"px";null!=this.linkHint&&(this.linkHint.style.display="none")}};mxVertexHandler.prototype.removeHint=
+function(){mxGraphHandler.prototype.removeHint.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.display="")};var P=mxEdgeHandler.prototype.refresh;mxEdgeHandler.prototype.refresh=function(){P.apply(this,arguments);var q=this.graph.getLinkForCell(this.state.cell),A=this.graph.getLinksForState(this.state);this.updateLinkHint(q,A)};var ba=mxEdgeHandler.prototype.mouseMove;mxEdgeHandler.prototype.mouseMove=function(q,A){ba.apply(this,arguments);null!=this.linkHint&&"none"!=this.linkHint.style.display&&
+null!=this.graph.graphHandler&&null!=this.graph.graphHandler.first&&(this.linkHint.style.display="none")};var ma=mxEdgeHandler.prototype.mouseUp;mxEdgeHandler.prototype.mouseUp=function(q,A){ma.apply(this,arguments);null!=this.linkHint&&"none"==this.linkHint.style.display&&1==this.graph.getSelectionCount()&&(this.linkHint.style.display="")};mxEdgeHandler.prototype.updateHint=function(q,A,B){null==this.hint&&(this.hint=a(),this.state.view.graph.container.appendChild(this.hint));var F=this.graph.view.translate,
+K=this.graph.view.scale,R=this.roundLength(A.x/K-F.x);F=this.roundLength(A.y/K-F.y);var Z=this.graph.view.unit;this.hint.innerHTML=b(R,Z)+", "+b(F,Z);this.hint.style.visibility="visible";null!=B&&(B.view.updateEdgeBounds(B),this.hint.innerHTML+=" ("+(Z==mxConstants.POINTS?Math.round(B.length/K):b(B.length/K,Z))+")");if(this.isSource||this.isTarget)null!=this.constraintHandler&&null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus?(B=this.constraintHandler.currentConstraint.point,
+this.hint.innerHTML="["+Math.round(100*B.x)+"%, "+Math.round(100*B.y)+"%]"):this.marker.hasValidState()&&(this.hint.style.visibility="hidden");this.hint.style.left=Math.round(q.getGraphX()-this.hint.clientWidth/2)+"px";this.hint.style.top=Math.max(q.getGraphY(),A.y)+Editor.hintOffset+"px";null!=this.linkHint&&(this.linkHint.style.display="none")};Graph.prototype.expandedImage=Graph.createSvgImage(9,9,'<defs><linearGradient id="grad1" x1="50%" y1="0%" x2="50%" y2="100%"><stop offset="30%" style="stop-color:#f0f0f0;" /><stop offset="100%" style="stop-color:#AFB0B6;" /></linearGradient></defs><rect x="0" y="0" width="9" height="9" stroke="#8A94A5" fill="url(#grad1)" stroke-width="2"/><path d="M 2 4.5 L 7 4.5 z" stroke="#000"/>');
Graph.prototype.collapsedImage=Graph.createSvgImage(9,9,'<defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="30%" style="stop-color:#f0f0f0;" /><stop offset="100%" style="stop-color:#AFB0B6;" /></linearGradient></defs><rect x="0" y="0" width="9" height="9" stroke="#8A94A5" fill="url(#grad1)" stroke-width="2"/><path d="M 4.5 2 L 4.5 7 M 2 4.5 L 7 4.5 z" stroke="#000"/>');mxEdgeHandler.prototype.removeHint=mxVertexHandler.prototype.removeHint;HoverIcons.prototype.mainHandle=
Graph.createSvgImage(18,18,'<circle cx="9" cy="9" r="5" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/>');HoverIcons.prototype.endMainHandle=Graph.createSvgImage(18,18,'<circle cx="9" cy="9" r="6" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/>');HoverIcons.prototype.secondaryHandle=Graph.createSvgImage(16,16,'<path d="m 8 3 L 13 8 L 8 13 L 3 8 z" stroke="#fff" fill="#fca000"/>');HoverIcons.prototype.fixedHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="6" stroke="#fff" fill="#01bd22"/><path d="m 8 8 L 14 14M 8 14 L 14 8" stroke="#fff"/>');
HoverIcons.prototype.endFixedHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="7" stroke="#fff" fill="#01bd22"/><path d="m 8 8 L 14 14M 8 14 L 14 8" stroke="#fff"/>');HoverIcons.prototype.terminalHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="6" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/><circle cx="11" cy="11" r="3" stroke="#fff" fill="transparent"/>');HoverIcons.prototype.endTerminalHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="7" stroke="#fff" fill="'+
@@ -3183,8 +3183,8 @@ mxConstants.STYLE_FILLCOLOR,k=this.createCellColorOption(mxResources.get("fill")
mxConstants.DIRECTION_RADIAL];for(v=0;v<w.length;v++){var y=document.createElement("option");y.setAttribute("value",w[v]);mxUtils.write(y,mxResources.get(w[v]));d.appendChild(y)}m.appendChild(d);var C;b();g.gradient&&k.appendChild(h);var D=mxUtils.bind(this,function(){g=f.getSelectionState();var E=mxUtils.getValue(g.style,mxConstants.STYLE_GRADIENT_DIRECTION,mxConstants.DIRECTION_SOUTH),G=mxUtils.getValue(g.style,"fillStyle","auto");""==E&&(E=mxConstants.DIRECTION_SOUTH);d.value=E;a.style.display=
g.fill?"":"none";E=mxUtils.getValue(g.style,p,null);if(g.fill&&null!=E&&E!=mxConstants.NONE&&"filledEdge"!=g.style.shape){if("1"==g.style.sketch){if(2!=C){h.innerHTML="";C=2;for(E=0;E<Editor.roughFillStyles.length;E++){var J=document.createElement("option");J.setAttribute("value",Editor.roughFillStyles[E].val);mxUtils.write(J,Editor.roughFillStyles[E].dispName);h.appendChild(J)}h.value="auto"}}else 1!=C&&b();h.value=G;h.value||(G="auto",h.value=G);h.style.display="1"==g.style.sketch||"none"==d.style.display?
"":"none";m.style.display=!g.gradient||g.containsImage||"1"==g.style.sketch&&"solid"!=G&&"auto"!=G?"none":""}else h.style.display="none",m.style.display="none"});e.getModel().addListener(mxEvent.CHANGE,D);this.listeners.push({destroy:function(){e.getModel().removeListener(D)}});D();mxEvent.addListener(d,"change",function(E){e.setCellStyles(mxConstants.STYLE_GRADIENT_DIRECTION,d.value,g.cells);f.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_GRADIENT_DIRECTION],"values",[d.value],
-"cells",g.cells));mxEvent.consume(E)});mxEvent.addListener(h,"change",function(E){e.setCellStyles("fillStyle",h.value,g.cells);f.fireEvent(new mxEventObject("styleChanged","keys",["fillStyle"],"values",[h.value],"cells",g.cells));mxEvent.consume(E)});a.appendChild(k);a.appendChild(m);k=this.getCustomColors();for(v=0;v<k.length;v++)a.appendChild(this.createCellColorOption(k[v].title,k[v].key,k[v].defaultValue,null,null,k[v].defaultColorValue));k=mxUtils.bind(this,function(E,G){if(null!=E){E=E.split(",");
-for(var J=0;J<E.length;J++){var M=E[J].replace(/([a-z])([A-Z])/g,"$1 $2");a.appendChild(this.createCellColorOption(M.charAt(0).toUpperCase()+M.substring(1),E[J],"default",null,null,G))}}});k(g.style.fillColorStyles,e.shapeBackgroundColor);k(g.style.strokeColorStyles,e.shapeForegroundColor);return a};
+"cells",g.cells));mxEvent.consume(E)});mxEvent.addListener(h,"change",function(E){e.setCellStyles("fillStyle",h.value,g.cells);f.fireEvent(new mxEventObject("styleChanged","keys",["fillStyle"],"values",[h.value],"cells",g.cells));mxEvent.consume(E)});a.appendChild(k);a.appendChild(m);k=this.getCustomColors();for(v=0;v<k.length;v++)a.appendChild(this.createCellColorOption(k[v].title,k[v].key,k[v].defaultValue,null,null,k[v].defaultColorValue));k=mxUtils.bind(this,function(E,G,J){if(null!=E){E=E.split(",");
+G=null!=G?G.split(","):null;for(var M=0;M<E.length;M++){var Q=E[M].replace(/([a-z])([A-Z])/g,"$1 $2"),L=null!=G?G[mxUtils.mod(M,G.length)]:"default";a.appendChild(this.createCellColorOption(Q.charAt(0).toUpperCase()+Q.substring(1),E[M],L,null,null,J))}}});k(g.style.fillColorStyles,g.style.defaultFillColors,e.shapeBackgroundColor);k(g.style.strokeColorStyles,g.style.defaultStrokeColors,e.shapeForegroundColor);return a};
StyleFormatPanel.prototype.getCustomColors=function(){var a=this.editorUi.getSelectionState(),b=[];if(null!=a.customProperties)for(var f in a.customProperties){var e=a.customProperties[f];null!=e&&"color"==e.type&&e.primary&&b.push({title:e.dispName,defaultValue:null==e.defVal?"#000000":e.defVal,key:e.name})}a.swimlane&&(a=this.editorUi.editor.graph,b.push({title:mxResources.get("laneColor"),key:"swimlaneFillColor",defaultValue:"default",defaultColorValue:a.shapeBackgroundColor}));return b};
StyleFormatPanel.prototype.addStroke=function(a){function b(P){var ba=e.fromUnit(parseFloat(M.value));ba=Math.min(999,Math.max(0,isNaN(ba)?1:ba));ba!=mxUtils.getValue(h.style,mxConstants.STYLE_STROKEWIDTH,1)&&(d.setCellStyles(mxConstants.STYLE_STROKEWIDTH,ba,h.cells),g.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_STROKEWIDTH],"values",[ba],"cells",h.cells)));M.value=e.inUnit(ba)+" "+e.getUnit();mxEvent.consume(P)}function f(P){var ba=e.fromUnit(parseFloat(Q.value));ba=Math.min(999,
Math.max(0,isNaN(ba)?1:ba));ba!=mxUtils.getValue(h.style,mxConstants.STYLE_STROKEWIDTH,1)&&(d.setCellStyles(mxConstants.STYLE_STROKEWIDTH,ba,h.cells),g.fireEvent(new mxEventObject("styleChanged","keys",[mxConstants.STYLE_STROKEWIDTH],"values",[ba],"cells",h.cells)));Q.value=e.inUnit(ba)+" "+e.getUnit();mxEvent.consume(P)}var e=this,g=this.editorUi,d=g.editor.graph,h=g.getSelectionState(),m=document.createElement("div");m.className="geFormatEntry";h.stroke||(m.style.display="none");var p=document.createElement("select");
@@ -3674,14 +3674,14 @@ w&&0<w.length&&(f.scrollCellToVisible(w[0]),f.setSelectionCells(w))}),b):(m&&(b=
b.setAttribute("title",mxResources.get("insertColumnAfter")),b=a.addItem(mxResources.get("deleteColumn"),Editor.removeColumnImage,mxUtils.bind(this,function(){if(null!=e)try{h?f.deleteLane(e):f.deleteTableColumn(e)}catch(k){this.editorUi.handleError(k)}})),b.setAttribute("title",mxResources.get("deleteColumn"))),p&&(b=a.addItem(mxResources.get("insertRowBefore"),Editor.addRowAboveImage,mxUtils.bind(this,function(){try{h?f.insertLane(e,!0):f.insertTableRow(e,!0)}catch(k){this.editorUi.handleError(k)}})),
b.setAttribute("title",mxResources.get("insertRowBefore")),b=a.addItem(mxResources.get("insertRowAfter"),Editor.addRowBelowImage,mxUtils.bind(this,function(){try{h?f.insertLane(e,!1):f.insertTableRow(e,!1)}catch(k){this.editorUi.handleError(k)}})),b.setAttribute("title",mxResources.get("insertRowAfter")),b=a.addItem(mxResources.get("deleteRow"),Editor.removeRowImage,mxUtils.bind(this,function(){try{h?f.deleteLane(e):f.deleteTableRow(e)}catch(k){this.editorUi.handleError(k)}})),b.setAttribute("title",
mxResources.get("deleteRow")),p=this.editorUi.getSelectionState(),null!=p.mergeCell?this.addMenuItem(a,"mergeCells"):(1<p.style.colspan||1<p.style.rowspan)&&this.addMenuItem(a,"unmergeCells")))};
-Menus.prototype.addInsertTableItem=function(a,b,f,e){function g(C){m=d.getParentByName(mxEvent.getSource(C),"TD");var D=!1;if(null!=m){h=d.getParentByName(m,"TR");var E=mxEvent.isMouseEvent(C)?2:4,G=w,J=Math.min(20,h.sectionRowIndex+E);E=Math.min(20,m.cellIndex+E);for(var M=G.rows.length;M<J;M++)for(var Q=G.insertRow(M),L=0;L<G.rows[0].cells.length;L++)Q.insertCell(-1);for(M=0;M<G.rows.length;M++)for(Q=G.rows[M],L=Q.cells.length;L<E;L++)Q.insertCell(-1);y.innerHTML=m.cellIndex+1+"x"+(h.sectionRowIndex+
-1);for(G=0;G<w.rows.length;G++)for(J=w.rows[G],E=0;E<J.cells.length;E++)M=J.cells[E],G==h.sectionRowIndex&&E==m.cellIndex&&(D="blue"==M.style.backgroundColor),M.style.backgroundColor=G<=h.sectionRowIndex&&E<=m.cellIndex?"blue":"transparent"}mxEvent.consume(C);return D}e=null!=e?e:!0;b=null!=b?b:mxUtils.bind(this,function(C,D,E){var G=this.editorUi.editor.graph;if(null!=G.getParentByName(mxEvent.getSource(C),"TD")&&null!=G.cellEditor.textarea){var J=G.cellEditor.textarea.getElementsByTagName("table");
-C=[];for(var M=0;M<J.length;M++)C.push(J[M]);G.container.focus();M=G.pasteHtmlAtCaret;J=["<table>"];for(var Q=0;Q<D;Q++){J.push("<tr>");for(var L=0;L<E;L++)J.push("<td><br></td>");J.push("</tr>")}J.push("</table>");D=J.join("");M.call(G,D);D=G.cellEditor.textarea.getElementsByTagName("table");if(D.length==C.length+1)for(M=D.length-1;0<=M;M--)if(0==M||D[M]!=C[M-1]){G.selectNode(D[M].rows[0].cells[0]);break}}});var d=this.editorUi.editor.graph,h=null,m=null;null==f&&(a.div.classList.add("geToolbarMenu"),
-a.labels=!1);a=a.addItem("",null,null,f,null,null,null,!0);a.firstChild.style.fontSize=Menus.prototype.defaultFontSize+"px";f=a.getElementsByTagName("td");1<f.length&&(f[1].style.display="none",f[2].style.display="none");a.firstChild.innerText="";var p=document.createElement("input");p.setAttribute("id","geTitleOption");p.setAttribute("type","checkbox");p.style.verticalAlign="middle";f=document.createElement("label");mxUtils.write(f,mxResources.get("title"));f.setAttribute("for","geTitleOption");
-f.style.verticalAlign="middle";mxEvent.addGestureListeners(f,null,null,mxUtils.bind(this,function(C){mxEvent.consume(C)}));mxEvent.addGestureListeners(p,null,null,mxUtils.bind(this,function(C){mxEvent.consume(C)}));var k=document.createElement("input");k.setAttribute("id","geContainerOption");k.setAttribute("type","checkbox");k.style.verticalAlign="middle";var v=document.createElement("label");mxUtils.write(v,mxResources.get("container"));v.setAttribute("for","geContainerOption");v.style.verticalAlign=
-"middle";mxEvent.addGestureListeners(v,null,null,mxUtils.bind(this,function(C){mxEvent.consume(C)}));mxEvent.addGestureListeners(k,null,null,mxUtils.bind(this,function(C){mxEvent.consume(C)}));e&&(a.firstChild.appendChild(p),a.firstChild.appendChild(f),mxUtils.br(a.firstChild),a.firstChild.appendChild(k),a.firstChild.appendChild(v),mxUtils.br(a.firstChild));var w=function(C,D){var E=document.createElement("table");E.className="geInsertTablePicker";E.setAttribute("border","1");E.style.borderCollapse=
-"collapse";E.style.borderStyle="solid";E.style.marginBottom="4px";E.style.marginTop="8px";E.setAttribute("cellPadding","8");for(var G=0;G<C;G++)for(var J=E.insertRow(G),M=0;M<D;M++)J.insertCell(-1);return E}(5,5);a.firstChild.appendChild(w);var y=document.createElement("div");y.style.textAlign="center";y.style.padding="4px";y.style.width="100%";y.innerHTML="1x1";a.firstChild.appendChild(y);mxEvent.addGestureListeners(w,null,null,mxUtils.bind(this,function(C){var D=g(C);null!=m&&null!=h&&D&&(b(C,h.sectionRowIndex+
-1,m.cellIndex+1,p.checked,k.checked),window.setTimeout(mxUtils.bind(this,function(){this.editorUi.hideCurrentMenu()}),0))}));mxEvent.addListener(w,"mouseover",g)};
+Menus.prototype.addInsertTableItem=function(a,b,f,e){function g(C){y=d.getParentByName(mxEvent.getSource(C),"TD");var D=!1;if(null!=y){w=d.getParentByName(y,"TR");var E=mxEvent.isMouseEvent(C)?2:4,G=k,J=Math.min(20,w.sectionRowIndex+E);E=Math.min(20,y.cellIndex+E);for(var M=G.rows.length;M<J;M++)for(var Q=G.insertRow(M),L=0;L<G.rows[0].cells.length;L++)Q.insertCell(-1);for(M=0;M<G.rows.length;M++)for(Q=G.rows[M],L=Q.cells.length;L<E;L++)Q.insertCell(-1);v.innerHTML=y.cellIndex+1+"x"+(w.sectionRowIndex+
+1);for(G=0;G<k.rows.length;G++)for(J=k.rows[G],E=0;E<J.cells.length;E++)M=J.cells[E],G==w.sectionRowIndex&&E==y.cellIndex&&(D="blue"==M.style.backgroundColor),M.style.backgroundColor=G<=w.sectionRowIndex&&E<=y.cellIndex?"blue":"transparent"}mxEvent.consume(C);return D}e=null!=e?e:!0;var d=this.editorUi.editor.graph;b=null!=b?b:mxUtils.bind(this,function(C,D,E){if(null!=d.getParentByName(mxEvent.getSource(C),"TD")&&null!=d.cellEditor.textarea){var G=d.cellEditor.textarea.getElementsByTagName("table");
+C=[];for(var J=0;J<G.length;J++)C.push(G[J]);d.container.focus();J=d;G=J.pasteHtmlAtCaret;for(var M=["<table>"],Q=0;Q<D;Q++){M.push("<tr>");for(var L=0;L<E;L++)M.push("<td><br></td>");M.push("</tr>")}M.push("</table>");D=M.join("");G.call(J,D);D=d.cellEditor.textarea.getElementsByTagName("table");if(D.length==C.length+1)for(J=D.length-1;0<=J;J--)if(0==J||D[J]!=C[J-1]){d.selectNode(D[J].rows[0].cells[0]);break}}});null==f&&(a.div.classList.add("geToolbarMenu"),a.labels=!1);a=a.addItem("",null,null,
+f,null,null,null,!0);a.firstChild.style.fontSize=Menus.prototype.defaultFontSize+"px";f=a.getElementsByTagName("td");1<f.length&&(f[1].style.display="none",f[2].style.display="none");a.firstChild.innerText="";var h=document.createElement("input");h.setAttribute("id","geTitleOption");h.setAttribute("type","checkbox");h.style.verticalAlign="middle";f=document.createElement("label");mxUtils.write(f,mxResources.get("title"));f.setAttribute("for","geTitleOption");f.style.verticalAlign="middle";mxEvent.addGestureListeners(f,
+null,null,mxUtils.bind(this,function(C){mxEvent.consume(C)}));mxEvent.addGestureListeners(h,null,null,mxUtils.bind(this,function(C){mxEvent.consume(C)}));var m=document.createElement("input");m.setAttribute("id","geContainerOption");m.setAttribute("type","checkbox");m.style.verticalAlign="middle";var p=document.createElement("label");mxUtils.write(p,mxResources.get("container"));p.setAttribute("for","geContainerOption");p.style.verticalAlign="middle";mxEvent.addGestureListeners(p,null,null,mxUtils.bind(this,
+function(C){mxEvent.consume(C)}));mxEvent.addGestureListeners(m,null,null,mxUtils.bind(this,function(C){mxEvent.consume(C)}));e&&(a.firstChild.appendChild(h),a.firstChild.appendChild(f),mxUtils.br(a.firstChild),a.firstChild.appendChild(m),a.firstChild.appendChild(p),mxUtils.br(a.firstChild));var k=function(C,D){var E=document.createElement("table");E.className="geInsertTablePicker";E.setAttribute("border","1");E.style.borderCollapse="collapse";E.style.borderStyle="solid";E.style.marginBottom="4px";
+E.style.marginTop="8px";E.setAttribute("cellPadding","8");for(var G=0;G<C;G++)for(var J=E.insertRow(G),M=0;M<D;M++)J.insertCell(-1);return E}(5,5);a.firstChild.appendChild(k);var v=document.createElement("div");v.style.textAlign="center";v.style.padding="4px";v.style.width="100%";v.innerHTML="1x1";a.firstChild.appendChild(v);var w=null,y=null;mxEvent.addGestureListeners(k,null,null,mxUtils.bind(this,function(C){var D=g(C);null!=y&&null!=w&&D&&(b(C,w.sectionRowIndex+1,y.cellIndex+1,h.checked,m.checked),
+window.setTimeout(mxUtils.bind(this,function(){this.editorUi.hideCurrentMenu()}),0))}));mxEvent.addListener(k,"mouseover",g)};
Menus.prototype.edgeStyleChange=function(a,b,f,e,g,d,h,m){return this.showIconOnly(a.addItem(b,m,mxUtils.bind(this,function(){var p=this.editorUi.editor.graph;p.stopEditing(!1);p.getModel().beginUpdate();try{for(var k=p.getSelectionCells(),v=[],w=0;w<k.length;w++){var y=k[w];if(p.getModel().isEdge(y)){if(h){var C=p.getCellGeometry(y);null!=C&&(C=C.clone(),C.points=null,p.getModel().setGeometry(y,C))}for(var D=0;D<f.length;D++)p.setCellStyles(f[D],e[D],[y]);v.push(y)}}this.editorUi.fireEvent(new mxEventObject("styleChanged",
"cells",v,"keys",f,"values",e,"force",0==k.length))}finally{p.getModel().endUpdate()}}),d,g))};Menus.prototype.showIconOnly=function(a){var b=a.getElementsByTagName("td");for(i=0;i<b.length;i++)"mxPopupMenuItem"==b[i].getAttribute("class")&&(b[i].style.display="none");return a};
Menus.prototype.styleChange=function(a,b,f,e,g,d,h,m,p,k){var v=this.createStyleChangeFunction(f,e);a=a.addItem(b,k,mxUtils.bind(this,function(){var w=this.editorUi.editor.graph;null!=h&&w.cellEditor.isContentEditing()?h():v(m)}),d,g);p&&this.showIconOnly(a);return a};
@@ -12738,14 +12738,14 @@ da=document.createElement("td"),va=da.cloneNode(!0),ra=da.cloneNode(!0),wa=da.cl
Z.checked=!0:fa.checked=!0;p=document.createElement("span");mxUtils.write(p,mxResources.get("fitToSheetsDown"));ja.appendChild(p);ha.appendChild(da);ha.appendChild(va);ha.appendChild(ra);ka.appendChild(wa);ka.appendChild(pa);ka.appendChild(ja);ea.appendChild(ha);ea.appendChild(ka);V.appendChild(ea);S.appendChild(V);R.appendChild(S);S=document.createElement("div");S.style.borderTop="1px solid lightGray";S.style.whiteSpace="nowrap";S.style.paddingTop="12px";S.style.marginTop="12px";S.style.paddingLeft=
"8px";mxUtils.write(S,mxResources.get("borderWidth")+":");var ta=document.createElement("input");ta.setAttribute("type","number");ta.setAttribute("min","0");ta.style.width="40px";ta.style.marginLeft="4px";ta.value=null!=g.lastPrintBorder?g.lastPrintBorder:mxPrintPreview.prototype.pageMargin;S.appendChild(ta);p=document.createElement("span");p.style.marginLeft="8px";mxUtils.write(p,mxResources.get("zoom")+":");S.appendChild(p);var za=document.createElement("input");za.style.width="60px";za.style.marginLeft=
"4px";za.value=null!=g.lastPrintZoom?g.lastPrintZoom:"100%";S.appendChild(za);mxUtils.br(S);var Ca=document.createElement("input");Ca.setAttribute("type","checkbox");Ca.style.marginTop="12px";Ca.checked=null!=g.lastPrintGrid?g.lastPrintGrid:!1;S.appendChild(Ca);p=document.createElement("span");p.style.marginLeft="4px";p.style.marginRight="8px";mxUtils.write(p,mxResources.get("grid"));S.appendChild(p);mxEvent.addListener(p,"click",function(Ba){Ca.checked=!0;mxEvent.consume(Ba)});var Ga=document.createElement("input");
-Ga.setAttribute("type","checkbox");Ga.style.marginTop="12px";Ga.checked=null!=g.lastPrintShadow?g.lastPrintShadow:!1;S.appendChild(Ga);p=document.createElement("span");p.style.marginLeft="4px";p.style.marginRight="8px";mxUtils.write(p,mxResources.get("shadows"));S.appendChild(p);g.isOffline()&&!mxClient.IS_CHROMEAPP||p.appendChild(g.createHelpIcon("https://github.com/jgraph/drawio/discussions/5136"));mxEvent.addListener(p,"click",function(Ba){Ga.checked=!0;mxEvent.consume(Ba)});Editor.enableShadowOption?
-null!=C&&mxUtils.br(S):(Ga.style.display="none",p.style.display="none");var Aa=document.createElement("input");Aa.setAttribute("type","checkbox");Aa.style.marginTop="10px";Aa.checked=null!=g.lastPrintTransparent?g.lastPrintTransparent:!1;null!=C&&(S.appendChild(Aa),p=document.createElement("span"),p.style.marginLeft="4px",mxUtils.write(p,mxResources.get("transparentBackground")),S.appendChild(p),mxEvent.addListener(p,"click",function(Ba){Aa.checked=!0;mxEvent.consume(Ba)}));var Da=document.createElement("input");
-Da.setAttribute("type","checkbox");Da.style.marginTop="10px";Da.checked=null!=g.lastPrintInclude?g.lastPrintInclude:Editor.defaultIncludeDiagram;null==C||mxClient.IS_CHROMEAPP||"draw.io"!=g.getServiceName()||(mxUtils.br(S),S.appendChild(Da),p=document.createElement("span"),p.style.marginLeft="4px",mxUtils.write(p,mxResources.get("includeCopyOfMyDiagram")),S.appendChild(p),mxEvent.addListener(p,"click",function(Ba){Da.checked=!0;mxEvent.consume(Ba)}));R.appendChild(S);p=document.createElement("div");
-p.style.marginTop="30px";p.style.textAlign="right";p.style.whiteSpace="nowrap";g.isOffline()&&!mxClient.IS_CHROMEAPP||null!=C||p.appendChild(g.createHelpIcon("https://www.drawio.com/doc/faq/print-diagram"));S=mxUtils.button(mxResources.get("cancel"),function(){g.hideDialog()});S.className="geBtn";g.editor.cancelFirst&&p.appendChild(S);PrintDialog.previewEnabled&&null==C&&(V=mxUtils.button(mxResources.get("preview"),function(){try{g.hideDialog(),O(!1)}catch(Ba){g.handleError(Ba)}}),V.className="geBtn",
-p.appendChild(V));I=null!=I?I:null!=C?"export":PrintDialog.previewEnabled?"print":"ok";I=mxUtils.button(mxResources.get(I),function(){try{g.hideDialog(),O(!0)}catch(Ba){g.handleError(Ba)}});I.className="geBtn gePrimaryBtn";p.appendChild(I);g.editor.cancelFirst||p.appendChild(S);R.appendChild(p);if(g.editor.isChromelessView()){var Ka=function(){Editor.isDarkMode()?(R.classList.add("geDarkMode"),R.style.colorScheme="dark"):(R.classList.remove("geDarkMode"),R.style.colorScheme="light")};g.addListener("darkModeChanged",
-Ka);Ka();var Na=function(Ba,Ia){Ba=Ia.getProperty("dialog");R.parentNode==Ba.container&&(g.editor.removeListener(Na),g.removeListener(Ka))};g.editor.addListener("hideDialog",Na)}this.container=R};var H=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 H.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="28.0.4";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))&&"https://preprod.diagrams.net/"!=window.location.hostname&&"support.draw.io"!=window.location.hostname&&
+Ga.setAttribute("type","checkbox");Ga.style.marginTop="12px";Ga.checked=null!=g.lastPrintShadow?g.lastPrintShadow:!1;S.appendChild(Ga);p=document.createElement("span");p.style.marginLeft="4px";p.style.marginRight="8px";mxUtils.write(p,mxResources.get("shadows"));S.appendChild(p);g.isOffline()&&!mxClient.IS_CHROMEAPP||p.appendChild(g.createHelpIcon("https://github.com/jgraph/drawio/discussions/5136"));mxEvent.addListener(p,"click",function(Ba){"IMG"!=mxEvent.getSource(Ba).nodeName&&(Ga.checked=!0,
+mxEvent.consume(Ba))});Editor.enableShadowOption?null!=C&&mxUtils.br(S):(Ga.style.display="none",p.style.display="none");var Aa=document.createElement("input");Aa.setAttribute("type","checkbox");Aa.style.marginTop="10px";Aa.checked=null!=g.lastPrintTransparent?g.lastPrintTransparent:!1;null!=C&&(S.appendChild(Aa),p=document.createElement("span"),p.style.marginLeft="4px",mxUtils.write(p,mxResources.get("transparentBackground")),S.appendChild(p),mxEvent.addListener(p,"click",function(Ba){Aa.checked=
+!0;mxEvent.consume(Ba)}));var Da=document.createElement("input");Da.setAttribute("type","checkbox");Da.style.marginTop="10px";Da.checked=null!=g.lastPrintInclude?g.lastPrintInclude:Editor.defaultIncludeDiagram;null==C||mxClient.IS_CHROMEAPP||"draw.io"!=g.getServiceName()||(mxUtils.br(S),S.appendChild(Da),p=document.createElement("span"),p.style.marginLeft="4px",mxUtils.write(p,mxResources.get("includeCopyOfMyDiagram")),S.appendChild(p),mxEvent.addListener(p,"click",function(Ba){Da.checked=!0;mxEvent.consume(Ba)}));
+R.appendChild(S);p=document.createElement("div");p.style.marginTop="30px";p.style.textAlign="right";p.style.whiteSpace="nowrap";g.isOffline()&&!mxClient.IS_CHROMEAPP||null!=C||p.appendChild(g.createHelpIcon("https://www.drawio.com/doc/faq/print-diagram"));S=mxUtils.button(mxResources.get("cancel"),function(){g.hideDialog()});S.className="geBtn";g.editor.cancelFirst&&p.appendChild(S);PrintDialog.previewEnabled&&null==C&&(V=mxUtils.button(mxResources.get("preview"),function(){try{g.hideDialog(),O(!1)}catch(Ba){g.handleError(Ba)}}),
+V.className="geBtn",p.appendChild(V));I=null!=I?I:null!=C?"export":PrintDialog.previewEnabled?"print":"ok";I=mxUtils.button(mxResources.get(I),function(){try{g.hideDialog(),O(!0)}catch(Ba){g.handleError(Ba)}});I.className="geBtn gePrimaryBtn";p.appendChild(I);g.editor.cancelFirst||p.appendChild(S);R.appendChild(p);if(g.editor.isChromelessView()){var Ka=function(){Editor.isDarkMode()?(R.classList.add("geDarkMode"),R.style.colorScheme="dark"):(R.classList.remove("geDarkMode"),R.style.colorScheme="light")};
+g.addListener("darkModeChanged",Ka);Ka();var Na=function(Ba,Ia){Ba=Ia.getProperty("dialog");R.parentNode==Ba.container&&(g.editor.removeListener(Na),g.removeListener(Ka))};g.editor.addListener("hideDialog",Na)}this.container=R};var H=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 H.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="28.0.5";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))&&"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,flowchart:{htmlLabels:!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:{titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,leftPadding:75,gridLineStartPadding:35,fontSize:11,fontFamily:'"Open-Sans", "sans-serif"',numberSectionStyles:4,axisFormat:"%Y-%m-%d"}};
@@ -14070,41 +14070,41 @@ p.Class)?(f-=90,n.geometry.rotate90()):0<=mxUtils.indexOf(vf,p.Class)&&(f+=180);
f.substring(0,7):null}function ba(f,p){return(f=Q(f))&&7<f.length?p+"="+Math.round(parseInt("0x"+f.substr(7))/2.55)+";":""}function ja(f,p){if(null!=f.FillColor)if("object"===typeof f.FillColor){if(null!=f.FillColor.cs&&1<f.FillColor.cs.length)return Ub(mxConstants.STYLE_FILLCOLOR,Y(f.FillColor.cs[0].c))+Ub(mxConstants.STYLE_GRADIENTCOLOR,Y(f.FillColor.cs[1].c))}else return"string"===typeof f.FillColor?Ub(mxConstants.STYLE_FILLCOLOR,Y(f.FillColor),"#FFFFFF"):Ub(mxConstants.STYLE_FILLCOLOR,"none");
return""}function Fb(f){return"dotted"==f.StrokeStyle?"dashed=1;fixDash=1;dashPattern=1 4;":"dashdot"==f.StrokeStyle?"dashed=1;fixDash=1;dashPattern=10 5 1 5;":"dashdotdot"==f.StrokeStyle?"dashed=1;fixDash=1;dashPattern=10 5 1 5 1 5;":"dotdotdot"==f.StrokeStyle?"dashed=1;fixDash=1;dashPattern=1 2;":"longdash"==f.StrokeStyle?"dashed=1;fixDash=1;dashPattern=16 6;":"dashlongdash"==f.StrokeStyle?"dashed=1;fixDash=1;dashPattern=10 6 16 6;":"dashed24"==f.StrokeStyle?"dashed=1;fixDash=1;dashPattern=3 8;":
"dashed32"==f.StrokeStyle?"dashed=1;fixDash=1;dashPattern=6 5;":"dashed44"==f.StrokeStyle?"dashed=1;fixDash=1;dashPattern=8 8;":null!=f.StrokeStyle&&"dashed"==f.StrokeStyle.substring(0,6)?"dashed=1;fixDash=1;":""}function sb(f){return null!=f.LineWidth?Ub(mxConstants.STYLE_STROKEWIDTH,B(.75*parseFloat(f.LineWidth)),"1"):""}function nc(f,p,n){var e="";f.FillColor&&f.FillColor.url?(n=f.FillColor.url,"fill"==f.FillColor.pos&&(e="imageAspect=0;")):"ImageSearchBlock2"==p.Class?n=f.URL:"UserImage2Block"==
-p.Class&&null!=f.ImageFillProps&&null!=f.ImageFillProps.url&&(n=f.ImageFillProps.url);return null!=n?"image="+u(n)+";"+e:""}function Bc(f,p,n){null!=p.Link&&0<p.Link.length&&n.setAttributeForCell(f,"link",L(p.Link[0]));null!=p.NoteHint&&p.NoteHint.t&&n.setAttributeForCell(f,"Notes",p.NoteHint.t);var e=[],a=n.convertValueToString(f),D=!1;if(null!=a){for(var d=0;match=wf.exec(a);){var c=match[0];D=!0;if(2<c.length){var O=c.substring(2,c.length-2);"documentName"==O?O="filename":"pageName"==O?O="page":
-"totalPages"==O?O="pagecount":"page"==O?O="pagenumber":"date:"==O.substring(0,5)?O="date{"+O.substring(5).replace(/MMMM/g,"mmmm").replace(/MM/g,"mm").replace(/YYYY/g,"yyyy")+"}":"lastModifiedTime"==O.substring(0,16)?O=O.replace(/MMMM/g,"mmmm").replace(/MM/g,"mm").replace(/YYYY/g,"yyyy"):"i18nDate:"==O.substring(0,9)&&(O="date{"+O.substring(9).replace(/i18nShort/g,"shortDate").replace(/i18nMediumWithTime/g,"mmm d, yyyy hh:MM TT")+"}");O="%"+O+"%";e.push(a.substring(d,match.index)+(null!=O?O:c));d=
-match.index+c.length}}D&&(e.push(a.substring(d)),n.setAttributeForCell(f,"label",e.join("")),n.setAttributeForCell(f,"placeholders","1"))}for(var R in p)if(p.hasOwnProperty(R)&&R.toString().startsWith("ShapeData_"))try{var J=p[R],oa=mxUtils.trim(J.Label).replace(/[^a-z0-9]+/ig,"_").replace(/^\d+/,"").replace(/_+$/,"");e=f;a=oa;var aa=J.Value;D=n;d=a;for(c=0;null!=D.getAttributeForCell(e,d);)c++,d=a+"_"+c;D.setAttributeForCell(e,d,null!=aa?aa:"")}catch(ea){window.console&&console.log("Ignored "+R+
-":",ea)}}function Ld(f,p,n,e,a,D){var d=x(p);if(null!=d){var c=Md[d.Class];null!=c?(f.style+=c,";"!=f.style.charAt(f.style.length-1)&&(f.style+=";")):f.edge||(console.log("No mapping found for: "+d.Class),LucidImporter.hasUnknownShapes=!0);c=null!=d.Properties?d.Properties:d;if(null!=c&&(f.value=D?"":l(c),f.style+=h(f.style,c,d,f,t,!0),f.style.includes("strokeColor")||(f.style+=y(c,d)),Bc(f,c,n),c.Title&&c.Title.t&&c.Text&&c.Text.t&&"ExtShape"!=d.Class.substr(0,8)&&(n=f.geometry,n=new mxCell(l(c.Title),
-new mxGeometry(0,n.height,n.width,10),"strokeColor=none;fillColor=none;"),n.vertex=!0,f.insert(n),n.style+=q(c.Title,t)),f.edge)){f.style=null!=c.Rounding&&"diagonal"!=c.Shape?f.style+("rounded=1;arcSize="+c.Rounding+";"):f.style+"rounded=0;";if(n="curve"==c.Shape)f.style+="curved=1;";else if("diagonal"!=c.Shape)if(null!=c.ElbowPoints&&0<c.ElbowPoints.length)for(f.geometry.points=[],d=0;d<c.ElbowPoints.length;d++)f.geometry.points.push(new mxPoint(Math.round(.75*c.ElbowPoints[d].x+sc),Math.round(.75*
-c.ElbowPoints[d].y+tc)));else if("elbow"==c.Shape||null!=c.Endpoint1.Block&&null!=c.Endpoint2.Block)f.style+="edgeStyle=orthogonalEdgeStyle;";if(c.LineJumps||LucidImporter.globalProps.LineJumps)f.style+="jumpStyle=arc;";null!=c.Endpoint1.Style&&(D=Ce[c.Endpoint1.Style],null!=D?(D=D.replace(/xyz/g,"start"),f.style+="startArrow="+D+";"):(LucidImporter.hasUnknownShapes=!0,window.console&&console.log("Unknown endpoint style: "+c.Endpoint1.Style)));null!=c.Endpoint2.Style&&(D=Ce[c.Endpoint2.Style],null!=
-D?(D=D.replace(/xyz/g,"end"),f.style+="endArrow="+D+";"):(LucidImporter.hasUnknownShapes=!0,window.console&&console.log("Unknown endpoint style: "+c.Endpoint2.Style)));D=null!=c.ElbowControlPoints&&0<c.ElbowControlPoints.length?c.ElbowControlPoints:c.Joints;if(n&&null!=c.BezierJoints&&0<c.BezierJoints.length){D=[];n=c.BezierJoints[c.BezierJoints.length-1];n.p.x=c.Endpoint2.x;n.p.y=c.Endpoint2.y;for(d=0;d<c.BezierJoints.length;d++)n=c.BezierJoints[d],D.push({x:n.p.x+n.nt.x*n.lcps*.75,y:n.p.y+n.nt.y*
-n.lcps*.75}),D.push({x:n.p.x+n.nt.x*n.rcps*.75,y:n.p.y+n.nt.y*n.rcps*.75});D=D.slice(1,D.length-1)}else n&&(D=[],D.push({x:c.Endpoint1.x+(.1>c.Endpoint1.LinkX?-250:.9<c.Endpoint1.LinkX?250:0),y:c.Endpoint1.y+(.1>c.Endpoint1.LinkY?-250:.9<c.Endpoint1.LinkY?250:0)}),D.push({x:c.Endpoint2.x+(.1>c.Endpoint2.LinkX?-250:.9<c.Endpoint2.LinkX?250:0),y:c.Endpoint2.y+(.1>c.Endpoint2.LinkY?-250:.9<c.Endpoint2.LinkY?250:0)}));if(null!=D)for(f.geometry.points=[],d=0;d<D.length;d++)n=D[d].p?D[d].p:D[d],f.geometry.points.push(new mxPoint(Math.round(.75*
-n.x+sc),Math.round(.75*n.y+tc)));n=!1;if((null==f.geometry.points||0==f.geometry.points.length)&&null!=c.Endpoint1.Block&&c.Endpoint1.Block==c.Endpoint2.Block&&null!=e&&null!=a){n=new mxPoint(Math.round(e.geometry.x+e.geometry.width*c.Endpoint1.LinkX),Math.round(e.geometry.y+e.geometry.height*c.Endpoint1.LinkY));D=new mxPoint(Math.round(a.geometry.x+a.geometry.width*c.Endpoint2.LinkX),Math.round(a.geometry.y+a.geometry.height*c.Endpoint2.LinkY));sc=n.x==D.x?Math.abs(n.x-e.geometry.x)<e.geometry.width/
-2?-20:20:0;tc=n.y==D.y?Math.abs(n.y-e.geometry.y)<e.geometry.height/2?-20:20:0;var O=new mxPoint(n.x+sc,n.y+tc),R=new mxPoint(D.x+sc,D.y+tc);O.generated=!0;R.generated=!0;f.geometry.points=[O,R];n=n.x==D.x}null!=e&&e.geometry.isRotated||(O=De(f,c.Endpoint1,!0,n,null,e));null!=e&&null!=O&&(null==e.stylePoints&&(e.stylePoints=[]),e.stylePoints.push(O),LucidImporter.stylePointsSet.add(e));null!=a&&a.geometry.isRotated||(R=De(f,c.Endpoint2,!1,n,null,a));null!=a&&null!=R&&(null==a.stylePoints&&(a.stylePoints=
-[]),a.stylePoints.push(R),LucidImporter.stylePointsSet.add(a))}}null!=p.id&&(f.style+=";lucidId="+p.id+";",LucidImporter.lucidchartObjects[p.id]=p)}function Ee(f,p){var n=x(f).Properties,e=n.BoundingBox;null==f.Class||"AWS"!==f.Class.substring(0,3)&&"Amazon"!==f.Class.substring(0,6)||f.Class.includes("AWS19")||(e.h-=20);v=new mxCell("",new mxGeometry(Math.round(.75*e.x+sc),Math.round(.75*e.y+tc),Math.round(.75*e.w),Math.round(.75*e.h)),"html=1;overflow=block;blockSpacing=1;whiteSpace=wrap;");v.vertex=
-!0;Ld(v,f,p);v.zOrder=n.ZOrder;Fe(v,n);n.Hidden&&(v.visible=!1);return v}function xf(f,p,n,e){var a=new mxCell("",new mxGeometry(0,0,100,100),"html=1;jettySize=18;");a.geometry.relative=!0;a.edge=!0;Ld(a,f,p,n,e,!0);var D=x(f).Properties,d=null!=D?D.TextAreas:f.TextAreas;if(null!=d){for(var c=0;void 0!==d["t"+c];){var O=d["t"+c];null!=O&&(a=Nd(O,a,f,n,e,p));c++}for(c=0;void 0!==d["m"+c]||1>c;)O=d["m"+c],null!=O&&(a=Nd(O,a,f,n,e,p)),c++;null!=d.Text&&(a=Nd(d.Text,a,f,n,e,p));d=null!=D?D.TextAreas:
-f.TextAreas;null!=d.Message&&(a=Nd(d.Message,a,f,n,e,p))}f.Hidden&&(a.visible=!1);return a}function Nd(f,p,n,e,a,D){var d=2*(parseFloat(f.Location)-.5);isNaN(d)&&null!=f.Text&&null!=f.Text.Location&&(d=2*(parseFloat(f.Text.Location)-.5));D=l(f);var c=mxCell;d=new mxGeometry(isNaN(d)?0:d,0,0,0);var O=ee;var R=n;if(t)R=gb;else{var J="13",oa="";if(null!=f&&null!=f.Value&&null!=f.Value.m){oa=Qa(f.Value.m);for(var aa=0;aa<f.Value.m.length;aa++)if("s"==f.Value.m[aa].n&&f.Value.m[aa].v)J=B(.75*parseFloat(f.Value.m[aa].v));
-else if("c"==f.Value.m[aa].n){var ea=Q(f.Value.m[aa].v);null!=ea&&(ea=ea.substring(0,7));"#000000"==ea&&(ea="default");oa+="fontColor="+ea+";"}oa+=T(R);gb=""}R=oa+";fontSize="+J+";"}c=new c(D,d,O+R);c.geometry.relative=!0;c.vertex=!0;if(f.Side)try{n.Action&&n.Action.Properties&&(n=n.Action.Properties);if(null!=e&&null!=a){var ka=e.geometry,sa=a.geometry;var fa=Math.abs(ka.x+ka.width*n.Endpoint1.LinkX-(sa.x+sa.width*n.Endpoint2.LinkX));var ta=Math.abs(ka.y+ka.height*n.Endpoint1.LinkY-(sa.y+sa.height*
-n.Endpoint2.LinkY))}else fa=Math.abs(n.Endpoint1.x-n.Endpoint2.x),ta=Math.abs(n.Endpoint1.y-n.Endpoint2.y);var Ka=mxUtils.getSizeForString(D.replace(/\n/g,"<br>"));c.geometry.offset=0==fa||fa<ta?new mxPoint(Math.sign(n.Endpoint1.y-n.Endpoint2.y)*f.Side*(Ka.width/2+5+fa),0):new mxPoint(0,Math.sign(n.Endpoint2.x-n.Endpoint1.x)*f.Side*(Ka.height/2+5+ta))}catch(ua){console.log(ua)}p.insert(c);return p}function Ub(f,p,n,e){null!=p&&null!=e&&(p=e(p));return null!=p&&p!=n?f+"="+p+";":""}function De(f,p,
-n,e,a,D){if(null!=p&&null!=p.LinkX&&null!=p.LinkY&&(p.LinkX=Math.round(1E3*p.LinkX)/1E3,p.LinkY=Math.round(1E3*p.LinkY)/1E3,null!=D&&D.style&&-1<D.style.indexOf("flipH=1")&&(p.LinkX=1-p.LinkX),null!=D&&D.style&&-1<D.style.indexOf("flipV=1")&&(p.LinkY=1-p.LinkY),f.style+=(e?"":(n?"exitX":"entryX")+"="+p.LinkX+";")+(a?"":(n?"exitY":"entryY")+"="+p.LinkY+";")+(n?"exitPerimeter":"entryPerimeter")+"=0;",p.Inside))return"["+p.LinkX+","+p.LinkY+",0]"}function Ge(f,p,n,e,a){try{var D=function(fa,ta){if(null!=
-fa)if(Array.isArray(fa))for(var Ka=0;Ka<fa.length;Ka++)D(fa[Ka].p?fa[Ka].p:fa[Ka],ta);else ta=ta?.75:1,c=Math.min(c,fa.x*ta),O=Math.min(O,fa.y*ta),R=Math.max(R,(fa.x+(fa.width?fa.width:0))*ta),J=Math.max(J,(fa.y+(fa.height?fa.height:0))*ta)};null!=f.Action&&null!=f.Action.Properties&&(f=f.Action.Properties);var d=new mxCell("",new mxGeometry,"group;dropTarget=0;pointerEvents=0;");d.vertex=!0;d.zOrder=f.ZOrder;var c=Infinity,O=Infinity,R=-Infinity,J=-Infinity,oa=f.Members;a=[];for(var aa in oa){var ea=
-p[aa];null!=ea?a.push(ea):null!=e[aa]&&(a.push(e[aa]),n[aa]=d)}a.sort(function(fa,ta){fa=fa.zOrder||fa.ZOrder;ta=ta.zOrder||ta.ZOrder;return null!=fa&&null!=ta?fa>ta?1:fa<ta?-1:0:0});for(n=p=0;n<a.length;n++)if(ea=a[n],ea.vertex)D(ea.geometry),ea.parent=d,d.insert(ea,p++);else{var ka=null!=ea.Action&&ea.Action.Properties?ea.Action.Properties:ea;D(ka.Endpoint1,!0);D(ka.Endpoint2,!0);D(ka.ElbowPoints,!0);D(ka.ElbowControlPoints,!0);D(ka.BezierJoints,!0);D(ka.Joints,!0)}d.geometry.x=c;d.geometry.y=O;
-d.geometry.width=R-c;d.geometry.height=J-O;if(null!=d.children)for(n=0;n<d.children.length;n++){var sa=d.children[n].geometry;sa.x-=c;sa.y-=O}f.IsState?(d.lucidLayerInfo={name:f.Name,visible:!f.Hidden,locked:f.Restrictions.b&&f.Restrictions.p&&f.Restrictions.c},d.style+="container=1;collapsible=0;recursiveResize=0;"):f.Hidden&&(d.visible=!1);return d}catch(fa){console.log(fa)}}function yf(f,p,n){LucidImporter.hasMath=!1;LucidImporter.stylePointsSet=new Set;f.getModel().beginUpdate();try{var e=function(ua,
-ma){function Ea(Ia,da,Da){null==Ia||Ia.generated||(Ia.x-=da,Ia.y-=Da)}var Ba=null!=ma.Endpoint1.Block?D[ma.Endpoint1.Block]:null,Ca=null!=ma.Endpoint2.Block?D[ma.Endpoint2.Block]:null,b=xf(ua,f,Ba,Ca);if(ma.Endpoint1&&ma.Endpoint1.Line||ma.Endpoint2&&ma.Endpoint2.Line)console.log("Edge to Edge case"),LucidImporter.hasUnknownShapes=!0;null==Ba&&null!=ma.Endpoint1&&b.geometry.setTerminalPoint(new mxPoint(Math.round(.75*ma.Endpoint1.x),Math.round(.75*ma.Endpoint1.y)),!0);null==Ca&&null!=ma.Endpoint2&&
-b.geometry.setTerminalPoint(new mxPoint(Math.round(.75*ma.Endpoint2.x),Math.round(.75*ma.Endpoint2.y)),!1);ua=d[ua.id];if(null!=ua){for(var za=b.geometry,Wa=ma=0,wa=ua;null!=wa&&null!=wa.geometry;)ma+=wa.geometry.x,Wa+=wa.geometry.y,wa=wa.parent;Ea(za.sourcePoint,ma,Wa);Ea(za.targetPoint,ma,Wa);Ea(za.offset,ma,Wa);za=za.points;if(null!=za)for(wa=0;wa<za.length;wa++)Ea(za[wa],ma,Wa)}a.push(f.addCell(b,ua,null,Ba,Ca))},a=[],D={},d={},c={},O=[];null!=p.Lines&&(c=p.Lines);if(null!=p.Blocks){Object.assign(c,
-p.Blocks);for(var R in p.Blocks){var J=p.Blocks[R];J.id=R;var oa=!1;null!=Md[J.Class]&&"mxCompositeShape"==Md[J.Class]&&(D[J.id]=He(J,a,f),O.push(J),oa=!0);oa||(D[J.id]=Ee(J,f),O.push(J))}if(null!=p.Generators)for(R in p.Generators)"OrgChart2018"==p.Generators[R].ClassName?(LucidImporter.hasUnknownShapes=!0,Ie(R,p.Generators[R],p.Data,f,D)):LucidImporter.hasUnknownShapes=!0}else{for(var aa=0;aa<p.Objects.length;aa++)J=p.Objects[aa],c[J.id]=J,null!=J.Action&&"mxCompositeShape"==Md[J.Action.Class]?
-D[J.id]=He(J,a,f):J.IsBlock&&null!=J.Action&&null!=J.Action.Properties?D[J.id]=Ee(J,f):J.IsGenerator&&J.GeneratorData&&J.GeneratorData.p&&("OrgChart2018"==J.GeneratorData.p.ClassName?(LucidImporter.hasUnknownShapes=!0,Ie(J.GeneratorData.id,J.GeneratorData.p,J.GeneratorData.gs,f,D)):LucidImporter.hasUnknownShapes=!0),O.push(J);for(aa=0;aa<p.Objects.length;aa++)if(J=p.Objects[aa],J.IsGroup){var ea=Ge(J,D,d,c,f);ea&&(D[J.id]=ea,O.push(J))}}if(null!=p.Groups)try{for(R in p.Groups)if(J=p.Groups[R],J.id=
-R,ea=Ge(J,D,d,c,f))D[J.id]=ea,O.push(J)}catch(ua){console.log(ua)}if(null!=p.Lines)for(R in p.Lines)J=p.Lines[R],J.id=R,O.push(J);O.sort(function(ua,ma){ua=x(ua);ma=x(ma);ua=null!=ua.Properties?ua.Properties.ZOrder:ua.ZOrder;ma=null!=ma.Properties?ma.Properties.ZOrder:ma.ZOrder;return null!=ua&&null!=ma?ua>ma?1:ua<ma?-1:0:0});for(aa=0;aa<O.length;aa++){J=O[aa];var ka=D[J.id];if(null!=ka){if(null==ka.parent)if(ka.lucidLayerInfo){var sa=new mxCell;f.addCell(sa,f.model.root);sa.setVisible(ka.lucidLayerInfo.visible);
-ka.lucidLayerInfo.locked&&sa.setStyle("locked=1;");sa.setValue(ka.lucidLayerInfo.name);delete ka.lucidLayerInfo;f.addCell(ka,sa)}else a.push(f.addCell(ka))}else J.IsLine&&null!=J.Action&&null!=J.Action.Properties?e(J,J.Action.Properties):null!=J.StrokeStyle&&e(J,J)}LucidImporter.stylePointsSet.forEach(function(ua){ua.style="points=["+ua.stylePoints.join(",")+"];"+ua.style;delete ua.stylePoints});try{var fa=f.getModel().cells;f.view.validate();for(var ta in fa){var Ka=fa[ta];null!=Ka&&(zf(f,Ka),Af(f,
-Ka),Bf(f,Ka),delete Ka.zOrder)}}catch(ua){console.log(ua)}n||f.setSelectionCells(a)}finally{f.getModel().endUpdate()}}function Bf(f,p){if(f.model.contains(p)&&p.edge){var n=f.view.getState(p);if(null!=n&&null!=p.children){var e=mxRectangle.fromRectangle(n.paintBounds);e.grow(5);for(var a=0;a<p.children.length;a++){var D=f.view.getState(p.children[a]);null==D||mxUtils.contains(e,D.paintBounds.x,D.paintBounds.y)||(D.cell.geometry.offset=new mxPoint(0,0))}}f=LucidImporter.lucidchartObjects;a:{try{var d=
-p.style.match(/;lucidId=([^;]*)/);if(null!=d){var c=d[1];break a}}catch(O){}c=null}c=f[c];c=null!=c&&null!=c.Action?c.Action.Properties:null;null!=c&&"elbow"==c.Shape&&null==c.ElbowControlPoints&&null==c.ElbowPoints&&null!=n.style.exitX&&null!=n.style.exitY&&null!=n.style.entryX&&null!=n.style.entryY&&(p.style=mxUtils.setStyle(p.style,"exitX",Math.round(20*n.style.exitX)/20),p.style=mxUtils.setStyle(p.style,"exitY",Math.round(20*n.style.exitY)/20),p.style=mxUtils.setStyle(p.style,"entryX",Math.round(20*
-n.style.entryX)/20),p.style=mxUtils.setStyle(p.style,"entryY",Math.round(20*n.style.entryY)/20))}}function Af(f,p){if(f.model.contains(p)&&null!=p.style&&""!=p.style){f=p.style.split(";");for(var n={},e=[],a=f.length-1;0<=a;a--){var D=f[a].split("=");if(2!=D.length||null==n[D[0]])n[D[0]]=D[1],""!=f[a]&&e.push(f[a])}p.style=e.reverse().join(";")+";"}}function zf(f,p){if(f.model.contains(p)&&null!=p.children&&null!=p.geometry&&p.vertex&&"group;dropTarget=0;pointerEvents=0;"==p.style){for(var n=null,
-e=0;e<p.children.length;e++)if(p.children[e].vertex){var a=p.children[e].geometry;if(null!=a&&0==a.x&&0==a.y&&a.width==p.geometry.width&&a.height==p.geometry.height){if(null!=n)return;n=p.children[e]}}p=n;if(null!=p&&(n=p.parent,""==f.convertValueToString(n))){if(null!=p.edges)for(e=0;e<p.edges.length;e++)p.edges[e].source==p&&p.edges[e].setTerminal(p.parent,!0),p.edges[e].target==p&&p.edges[e].setTerminal(p.parent,!1);if(null!=p.children&&0<p.children.length)for(a=p.children.slice(),e=0;e<a.length;e++)n.insert(a[e]);
-f.cellLabelChanged(n,f.convertValueToString(p));n.style=mxUtils.setStyle(mxUtils.setStyle(p.style,"container","1"),"collapsible","0");p.removeFromParent()}}}function Cf(){var f=new Graph;f.setExtendParents(!1);f.setExtendParentsOnAdd(!1);f.setConstrainChildren(!1);f.setHtmlLabels(!0);f.getModel().maintainEdgeParent=!1;return f}function Od(f,p,n,e,a,D,d,c){this.nurbsValues=[1,3,0,0,100*(f+n),100-100*(1-(p+e)),0,1,100*(a+d),100-100*(1-(D+c)),0,1]}function Je(f,p){try{for(var n=[],e=p.BoundingBox.w,
-a=p.BoundingBox.h,D=0;D<p.Shapes.length;D++){var d=p.Shapes[D],c=d.FillColor,O=d.StrokeColor,R=d.LineWidth,J=d.Points,oa=d.Lines,aa=['<shape strokewidth="inherit"><foreground>'];aa.push("<path>");for(var ea=null,ka=0;ka<oa.length;ka++){var sa=oa[ka];if(ea!=sa.p1){var fa=J[sa.p1].x,ta=J[sa.p1].y;fa=100*fa/e;ta=100*ta/a;fa=Math.round(100*fa)/100;ta=Math.round(100*ta)/100;aa.push('<move x="'+fa+'" y="'+ta+'"/>')}if(null!=sa.n1){var Ka=J[sa.p2].x,ua=J[sa.p2].y,ma=e,Ea=a,Ba=new Od(J[sa.p1].x/e,J[sa.p1].y/
-a,sa.n1.x/e,sa.n1.y/a,J[sa.p2].x/e,J[sa.p2].y/a,sa.n2.x/e,sa.n2.y/a);if(2<=Ba.getSize()){Ba.getX(0);Ba.getY(0);Ba.getX(1);Ba.getY(1);Ka=Math.round(100*Ka/ma*100)/100;ua=Math.round(100*ua/Ea*100)/100;ma=[];Ea=[];for(var Ca=[],b=Ba.getSize(),za=0;za<b-1;za+=3)ma.push(new mxPoint(Ba.getX(za),Ba.getY(za))),Ea.push(new mxPoint(Ba.getX(za+1),Ba.getY(za+1))),za<b-2?Ca.push(new mxPoint(Ba.getX(za+2),Ba.getY(za+2))):Ca.push(new mxPoint(Ka,ua));var Wa="";for(za=0;za<ma.length;za++)Wa+='<curve x1="'+ma[za].x+
-'" y1="'+ma[za].y+'" x2="'+Ea[za].x+'" y2="'+Ea[za].y+'" x3="'+Ca[za].x+'" y3="'+Ca[za].y+'"/>';var wa=Wa}else wa=void 0;aa.push(wa)}else fa=J[sa.p2].x,ta=J[sa.p2].y,fa=100*fa/e,ta=100*ta/a,fa=Math.round(100*fa)/100,ta=Math.round(100*ta)/100,aa.push('<line x="'+fa+'" y="'+ta+'"/>');ea=sa.p2}aa.push("</path>");aa.push("<fillstroke/>");aa.push("</foreground></shape>");n.push({shapeStencil:"stencil("+Graph.compress(aa.join(""))+")",FillColor:c,LineColor:O,LineWidth:R})}LucidImporter.stencilsMap[f]={text:p.Text,
-w:e,h:a,x:p.BoundingBox.x,y:p.BoundingBox.y,stencils:n}}catch(Ia){console.log("Stencil parsing error:",Ia)}}function oc(f,p,n,e,a,D,d,c){f=new mxCell("",new mxGeometry(f,p,0,0),"strokeColor=none;fillColor=none;");f.vertex=!0;d.insert(f);D=[f];n=n.clone();c.insertEdge(n,!1);f.insertEdge(n,!0);D.push(n);e.push(a.addCell(n,null,null,null,null))}function ab(f,p,n,e,a,D,d,c,O){f=new mxCell("",new mxGeometry(f,p,0,0),"strokeColor=none;fillColor=none;");f.vertex=!0;O.insert(f);n=new mxCell("",new mxGeometry(n,
-e,0,0),"strokeColor=none;fillColor=none;");n.vertex=!0;O.insert(n);c=[n];a=a.clone();f.insertEdge(a,!0);n.insertEdge(a,!1);c.push(a);D.push(d.addCell(a,null,null,null,null))}function La(f,p,n,e,a,D){e.style="rounded=1;absoluteArcSize=1;fillColor=#ffffff;arcSize=2;strokeColor=#dddddd;";e.style+=h(e.style,a,D,e);p=l(a);e.vertex=!0;f=new mxCell(p,new mxGeometry(0,.5,24,24),"dashed=0;connectable=0;html=1;strokeColor=none;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2."+f+";part=1;shadow=0;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;");
+p.Class&&(null!=f.ImageFillProps&&null!=f.ImageFillProps.url?n=f.ImageFillProps.url:null!=f.FillColor&&null!=f.FillColor.url&&(n=f.FillColor.url));return null!=n?"image="+u(n)+";"+e:""}function Bc(f,p,n){null!=p.Link&&0<p.Link.length&&n.setAttributeForCell(f,"link",L(p.Link[0]));null!=p.NoteHint&&p.NoteHint.t&&n.setAttributeForCell(f,"Notes",p.NoteHint.t);var e=[],a=n.convertValueToString(f),D=!1;if(null!=a){for(var d=0;match=wf.exec(a);){var c=match[0];D=!0;if(2<c.length){var O=c.substring(2,c.length-
+2);"documentName"==O?O="filename":"pageName"==O?O="page":"totalPages"==O?O="pagecount":"page"==O?O="pagenumber":"date:"==O.substring(0,5)?O="date{"+O.substring(5).replace(/MMMM/g,"mmmm").replace(/MM/g,"mm").replace(/YYYY/g,"yyyy")+"}":"lastModifiedTime"==O.substring(0,16)?O=O.replace(/MMMM/g,"mmmm").replace(/MM/g,"mm").replace(/YYYY/g,"yyyy"):"i18nDate:"==O.substring(0,9)&&(O="date{"+O.substring(9).replace(/i18nShort/g,"shortDate").replace(/i18nMediumWithTime/g,"mmm d, yyyy hh:MM TT")+"}");O="%"+
+O+"%";e.push(a.substring(d,match.index)+(null!=O?O:c));d=match.index+c.length}}D&&(e.push(a.substring(d)),n.setAttributeForCell(f,"label",e.join("")),n.setAttributeForCell(f,"placeholders","1"))}for(var R in p)if(p.hasOwnProperty(R)&&R.toString().startsWith("ShapeData_"))try{var J=p[R],oa=mxUtils.trim(J.Label).replace(/[^a-z0-9]+/ig,"_").replace(/^\d+/,"").replace(/_+$/,"");e=f;a=oa;var aa=J.Value;D=n;d=a;for(c=0;null!=D.getAttributeForCell(e,d);)c++,d=a+"_"+c;D.setAttributeForCell(e,d,null!=aa?aa:
+"")}catch(ea){window.console&&console.log("Ignored "+R+":",ea)}}function Ld(f,p,n,e,a,D){var d=x(p);if(null!=d){var c=Md[d.Class];null!=c?(f.style+=c,";"!=f.style.charAt(f.style.length-1)&&(f.style+=";")):f.edge||(console.log("No mapping found for: "+d.Class),LucidImporter.hasUnknownShapes=!0);c=null!=d.Properties?d.Properties:d;if(null!=c&&(f.value=D?"":l(c),f.style+=h(f.style,c,d,f,t,!0),f.style.includes("strokeColor")||(f.style+=y(c,d)),Bc(f,c,n),c.Title&&c.Title.t&&c.Text&&c.Text.t&&"ExtShape"!=
+d.Class.substr(0,8)&&(n=f.geometry,n=new mxCell(l(c.Title),new mxGeometry(0,n.height,n.width,10),"strokeColor=none;fillColor=none;"),n.vertex=!0,f.insert(n),n.style+=q(c.Title,t)),f.edge)){f.style=null!=c.Rounding&&"diagonal"!=c.Shape?f.style+("rounded=1;arcSize="+c.Rounding+";"):f.style+"rounded=0;";if(n="curve"==c.Shape)f.style+="curved=1;";else if("diagonal"!=c.Shape)if(null!=c.ElbowPoints&&0<c.ElbowPoints.length)for(f.geometry.points=[],d=0;d<c.ElbowPoints.length;d++)f.geometry.points.push(new mxPoint(Math.round(.75*
+c.ElbowPoints[d].x+sc),Math.round(.75*c.ElbowPoints[d].y+tc)));else if("elbow"==c.Shape||null!=c.Endpoint1.Block&&null!=c.Endpoint2.Block)f.style+="edgeStyle=orthogonalEdgeStyle;";if(c.LineJumps||LucidImporter.globalProps.LineJumps)f.style+="jumpStyle=arc;";null!=c.Endpoint1.Style&&(D=Ce[c.Endpoint1.Style],null!=D?(D=D.replace(/xyz/g,"start"),f.style+="startArrow="+D+";"):(LucidImporter.hasUnknownShapes=!0,window.console&&console.log("Unknown endpoint style: "+c.Endpoint1.Style)));null!=c.Endpoint2.Style&&
+(D=Ce[c.Endpoint2.Style],null!=D?(D=D.replace(/xyz/g,"end"),f.style+="endArrow="+D+";"):(LucidImporter.hasUnknownShapes=!0,window.console&&console.log("Unknown endpoint style: "+c.Endpoint2.Style)));D=null!=c.ElbowControlPoints&&0<c.ElbowControlPoints.length?c.ElbowControlPoints:c.Joints;if(n&&null!=c.BezierJoints&&0<c.BezierJoints.length){D=[];n=c.BezierJoints[c.BezierJoints.length-1];n.p.x=c.Endpoint2.x;n.p.y=c.Endpoint2.y;for(d=0;d<c.BezierJoints.length;d++)n=c.BezierJoints[d],D.push({x:n.p.x+
+n.nt.x*n.lcps*.75,y:n.p.y+n.nt.y*n.lcps*.75}),D.push({x:n.p.x+n.nt.x*n.rcps*.75,y:n.p.y+n.nt.y*n.rcps*.75});D=D.slice(1,D.length-1)}else n&&(D=[],D.push({x:c.Endpoint1.x+(.1>c.Endpoint1.LinkX?-250:.9<c.Endpoint1.LinkX?250:0),y:c.Endpoint1.y+(.1>c.Endpoint1.LinkY?-250:.9<c.Endpoint1.LinkY?250:0)}),D.push({x:c.Endpoint2.x+(.1>c.Endpoint2.LinkX?-250:.9<c.Endpoint2.LinkX?250:0),y:c.Endpoint2.y+(.1>c.Endpoint2.LinkY?-250:.9<c.Endpoint2.LinkY?250:0)}));if(null!=D)for(f.geometry.points=[],d=0;d<D.length;d++)n=
+D[d].p?D[d].p:D[d],f.geometry.points.push(new mxPoint(Math.round(.75*n.x+sc),Math.round(.75*n.y+tc)));n=!1;if((null==f.geometry.points||0==f.geometry.points.length)&&null!=c.Endpoint1.Block&&c.Endpoint1.Block==c.Endpoint2.Block&&null!=e&&null!=a){n=new mxPoint(Math.round(e.geometry.x+e.geometry.width*c.Endpoint1.LinkX),Math.round(e.geometry.y+e.geometry.height*c.Endpoint1.LinkY));D=new mxPoint(Math.round(a.geometry.x+a.geometry.width*c.Endpoint2.LinkX),Math.round(a.geometry.y+a.geometry.height*c.Endpoint2.LinkY));
+sc=n.x==D.x?Math.abs(n.x-e.geometry.x)<e.geometry.width/2?-20:20:0;tc=n.y==D.y?Math.abs(n.y-e.geometry.y)<e.geometry.height/2?-20:20:0;var O=new mxPoint(n.x+sc,n.y+tc),R=new mxPoint(D.x+sc,D.y+tc);O.generated=!0;R.generated=!0;f.geometry.points=[O,R];n=n.x==D.x}null!=e&&e.geometry.isRotated||(O=De(f,c.Endpoint1,!0,n,null,e));null!=e&&null!=O&&(null==e.stylePoints&&(e.stylePoints=[]),e.stylePoints.push(O),LucidImporter.stylePointsSet.add(e));null!=a&&a.geometry.isRotated||(R=De(f,c.Endpoint2,!1,n,
+null,a));null!=a&&null!=R&&(null==a.stylePoints&&(a.stylePoints=[]),a.stylePoints.push(R),LucidImporter.stylePointsSet.add(a))}}null!=p.id&&(f.style+=";lucidId="+p.id+";",LucidImporter.lucidchartObjects[p.id]=p)}function Ee(f,p){var n=x(f).Properties,e=n.BoundingBox;null==f.Class||"AWS"!==f.Class.substring(0,3)&&"Amazon"!==f.Class.substring(0,6)||f.Class.includes("AWS19")||(e.h-=20);v=new mxCell("",new mxGeometry(Math.round(.75*e.x+sc),Math.round(.75*e.y+tc),Math.round(.75*e.w),Math.round(.75*e.h)),
+"html=1;overflow=block;blockSpacing=1;whiteSpace=wrap;");v.vertex=!0;Ld(v,f,p);v.zOrder=n.ZOrder;Fe(v,n);n.Hidden&&(v.visible=!1);return v}function xf(f,p,n,e){var a=new mxCell("",new mxGeometry(0,0,100,100),"html=1;jettySize=18;");a.geometry.relative=!0;a.edge=!0;Ld(a,f,p,n,e,!0);var D=x(f).Properties,d=null!=D?D.TextAreas:f.TextAreas;if(null!=d){for(var c=0;void 0!==d["t"+c];){var O=d["t"+c];null!=O&&(a=Nd(O,a,f,n,e,p));c++}for(c=0;void 0!==d["m"+c]||1>c;)O=d["m"+c],null!=O&&(a=Nd(O,a,f,n,e,p)),
+c++;null!=d.Text&&(a=Nd(d.Text,a,f,n,e,p));d=null!=D?D.TextAreas:f.TextAreas;null!=d.Message&&(a=Nd(d.Message,a,f,n,e,p))}f.Hidden&&(a.visible=!1);return a}function Nd(f,p,n,e,a,D){var d=2*(parseFloat(f.Location)-.5);isNaN(d)&&null!=f.Text&&null!=f.Text.Location&&(d=2*(parseFloat(f.Text.Location)-.5));D=l(f);var c=mxCell;d=new mxGeometry(isNaN(d)?0:d,0,0,0);var O=ee;var R=n;if(t)R=gb;else{var J="13",oa="";if(null!=f&&null!=f.Value&&null!=f.Value.m){oa=Qa(f.Value.m);for(var aa=0;aa<f.Value.m.length;aa++)if("s"==
+f.Value.m[aa].n&&f.Value.m[aa].v)J=B(.75*parseFloat(f.Value.m[aa].v));else if("c"==f.Value.m[aa].n){var ea=Q(f.Value.m[aa].v);null!=ea&&(ea=ea.substring(0,7));"#000000"==ea&&(ea="default");oa+="fontColor="+ea+";"}oa+=T(R);gb=""}R=oa+";fontSize="+J+";"}c=new c(D,d,O+R);c.geometry.relative=!0;c.vertex=!0;if(f.Side)try{n.Action&&n.Action.Properties&&(n=n.Action.Properties);if(null!=e&&null!=a){var ka=e.geometry,sa=a.geometry;var fa=Math.abs(ka.x+ka.width*n.Endpoint1.LinkX-(sa.x+sa.width*n.Endpoint2.LinkX));
+var ta=Math.abs(ka.y+ka.height*n.Endpoint1.LinkY-(sa.y+sa.height*n.Endpoint2.LinkY))}else fa=Math.abs(n.Endpoint1.x-n.Endpoint2.x),ta=Math.abs(n.Endpoint1.y-n.Endpoint2.y);var Ka=mxUtils.getSizeForString(D.replace(/\n/g,"<br>"));c.geometry.offset=0==fa||fa<ta?new mxPoint(Math.sign(n.Endpoint1.y-n.Endpoint2.y)*f.Side*(Ka.width/2+5+fa),0):new mxPoint(0,Math.sign(n.Endpoint2.x-n.Endpoint1.x)*f.Side*(Ka.height/2+5+ta))}catch(ua){console.log(ua)}p.insert(c);return p}function Ub(f,p,n,e){null!=p&&null!=
+e&&(p=e(p));return null!=p&&p!=n?f+"="+p+";":""}function De(f,p,n,e,a,D){if(null!=p&&null!=p.LinkX&&null!=p.LinkY&&(p.LinkX=Math.round(1E3*p.LinkX)/1E3,p.LinkY=Math.round(1E3*p.LinkY)/1E3,null!=D&&D.style&&-1<D.style.indexOf("flipH=1")&&(p.LinkX=1-p.LinkX),null!=D&&D.style&&-1<D.style.indexOf("flipV=1")&&(p.LinkY=1-p.LinkY),f.style+=(e?"":(n?"exitX":"entryX")+"="+p.LinkX+";")+(a?"":(n?"exitY":"entryY")+"="+p.LinkY+";")+(n?"exitPerimeter":"entryPerimeter")+"=0;",p.Inside))return"["+p.LinkX+","+p.LinkY+
+",0]"}function Ge(f,p,n,e,a){try{var D=function(fa,ta){if(null!=fa)if(Array.isArray(fa))for(var Ka=0;Ka<fa.length;Ka++)D(fa[Ka].p?fa[Ka].p:fa[Ka],ta);else ta=ta?.75:1,c=Math.min(c,fa.x*ta),O=Math.min(O,fa.y*ta),R=Math.max(R,(fa.x+(fa.width?fa.width:0))*ta),J=Math.max(J,(fa.y+(fa.height?fa.height:0))*ta)};null!=f.Action&&null!=f.Action.Properties&&(f=f.Action.Properties);var d=new mxCell("",new mxGeometry,"group;dropTarget=0;pointerEvents=0;");d.vertex=!0;d.zOrder=f.ZOrder;var c=Infinity,O=Infinity,
+R=-Infinity,J=-Infinity,oa=f.Members;a=[];for(var aa in oa){var ea=p[aa];null!=ea?a.push(ea):null!=e[aa]&&(a.push(e[aa]),n[aa]=d)}a.sort(function(fa,ta){fa=fa.zOrder||fa.ZOrder;ta=ta.zOrder||ta.ZOrder;return null!=fa&&null!=ta?fa>ta?1:fa<ta?-1:0:0});for(n=p=0;n<a.length;n++)if(ea=a[n],ea.vertex)D(ea.geometry),ea.parent=d,d.insert(ea,p++);else{var ka=null!=ea.Action&&ea.Action.Properties?ea.Action.Properties:ea;D(ka.Endpoint1,!0);D(ka.Endpoint2,!0);D(ka.ElbowPoints,!0);D(ka.ElbowControlPoints,!0);
+D(ka.BezierJoints,!0);D(ka.Joints,!0)}d.geometry.x=c;d.geometry.y=O;d.geometry.width=R-c;d.geometry.height=J-O;if(null!=d.children)for(n=0;n<d.children.length;n++){var sa=d.children[n].geometry;sa.x-=c;sa.y-=O}f.IsState?(d.lucidLayerInfo={name:f.Name,visible:!f.Hidden,locked:f.Restrictions.b&&f.Restrictions.p&&f.Restrictions.c},d.style+="container=1;collapsible=0;recursiveResize=0;"):f.Hidden&&(d.visible=!1);return d}catch(fa){console.log(fa)}}function yf(f,p,n){LucidImporter.hasMath=!1;LucidImporter.stylePointsSet=
+new Set;f.getModel().beginUpdate();try{var e=function(ua,ma){function Ea(Ia,da,Da){null==Ia||Ia.generated||(Ia.x-=da,Ia.y-=Da)}var Ba=null!=ma.Endpoint1.Block?D[ma.Endpoint1.Block]:null,Ca=null!=ma.Endpoint2.Block?D[ma.Endpoint2.Block]:null,b=xf(ua,f,Ba,Ca);if(ma.Endpoint1&&ma.Endpoint1.Line||ma.Endpoint2&&ma.Endpoint2.Line)console.log("Edge to Edge case"),LucidImporter.hasUnknownShapes=!0;null==Ba&&null!=ma.Endpoint1&&b.geometry.setTerminalPoint(new mxPoint(Math.round(.75*ma.Endpoint1.x),Math.round(.75*
+ma.Endpoint1.y)),!0);null==Ca&&null!=ma.Endpoint2&&b.geometry.setTerminalPoint(new mxPoint(Math.round(.75*ma.Endpoint2.x),Math.round(.75*ma.Endpoint2.y)),!1);ua=d[ua.id];if(null!=ua){for(var za=b.geometry,Wa=ma=0,wa=ua;null!=wa&&null!=wa.geometry;)ma+=wa.geometry.x,Wa+=wa.geometry.y,wa=wa.parent;Ea(za.sourcePoint,ma,Wa);Ea(za.targetPoint,ma,Wa);Ea(za.offset,ma,Wa);za=za.points;if(null!=za)for(wa=0;wa<za.length;wa++)Ea(za[wa],ma,Wa)}a.push(f.addCell(b,ua,null,Ba,Ca))},a=[],D={},d={},c={},O=[];null!=
+p.Lines&&(c=p.Lines);if(null!=p.Blocks){Object.assign(c,p.Blocks);for(var R in p.Blocks){var J=p.Blocks[R];J.id=R;var oa=!1;null!=Md[J.Class]&&"mxCompositeShape"==Md[J.Class]&&(D[J.id]=He(J,a,f),O.push(J),oa=!0);oa||(D[J.id]=Ee(J,f),O.push(J))}if(null!=p.Generators)for(R in p.Generators)"OrgChart2018"==p.Generators[R].ClassName?(LucidImporter.hasUnknownShapes=!0,Ie(R,p.Generators[R],p.Data,f,D)):LucidImporter.hasUnknownShapes=!0}else{for(var aa=0;aa<p.Objects.length;aa++)J=p.Objects[aa],c[J.id]=J,
+null!=J.Action&&"mxCompositeShape"==Md[J.Action.Class]?D[J.id]=He(J,a,f):J.IsBlock&&null!=J.Action&&null!=J.Action.Properties?D[J.id]=Ee(J,f):J.IsGenerator&&J.GeneratorData&&J.GeneratorData.p&&("OrgChart2018"==J.GeneratorData.p.ClassName?(LucidImporter.hasUnknownShapes=!0,Ie(J.GeneratorData.id,J.GeneratorData.p,J.GeneratorData.gs,f,D)):LucidImporter.hasUnknownShapes=!0),O.push(J);for(aa=0;aa<p.Objects.length;aa++)if(J=p.Objects[aa],J.IsGroup){var ea=Ge(J,D,d,c,f);ea&&(D[J.id]=ea,O.push(J))}}if(null!=
+p.Groups)try{for(R in p.Groups)if(J=p.Groups[R],J.id=R,ea=Ge(J,D,d,c,f))D[J.id]=ea,O.push(J)}catch(ua){console.log(ua)}if(null!=p.Lines)for(R in p.Lines)J=p.Lines[R],J.id=R,O.push(J);O.sort(function(ua,ma){ua=x(ua);ma=x(ma);ua=null!=ua.Properties?ua.Properties.ZOrder:ua.ZOrder;ma=null!=ma.Properties?ma.Properties.ZOrder:ma.ZOrder;return null!=ua&&null!=ma?ua>ma?1:ua<ma?-1:0:0});for(aa=0;aa<O.length;aa++){J=O[aa];var ka=D[J.id];if(null!=ka){if(null==ka.parent)if(ka.lucidLayerInfo){var sa=new mxCell;
+f.addCell(sa,f.model.root);sa.setVisible(ka.lucidLayerInfo.visible);ka.lucidLayerInfo.locked&&sa.setStyle("locked=1;");sa.setValue(ka.lucidLayerInfo.name);delete ka.lucidLayerInfo;f.addCell(ka,sa)}else a.push(f.addCell(ka))}else J.IsLine&&null!=J.Action&&null!=J.Action.Properties?e(J,J.Action.Properties):null!=J.StrokeStyle&&e(J,J)}LucidImporter.stylePointsSet.forEach(function(ua){ua.style="points=["+ua.stylePoints.join(",")+"];"+ua.style;delete ua.stylePoints});try{var fa=f.getModel().cells;f.view.validate();
+for(var ta in fa){var Ka=fa[ta];null!=Ka&&(zf(f,Ka),Af(f,Ka),Bf(f,Ka),delete Ka.zOrder)}}catch(ua){console.log(ua)}n||f.setSelectionCells(a)}finally{f.getModel().endUpdate()}}function Bf(f,p){if(f.model.contains(p)&&p.edge){var n=f.view.getState(p);if(null!=n&&null!=p.children){var e=mxRectangle.fromRectangle(n.paintBounds);e.grow(5);for(var a=0;a<p.children.length;a++){var D=f.view.getState(p.children[a]);null==D||mxUtils.contains(e,D.paintBounds.x,D.paintBounds.y)||(D.cell.geometry.offset=new mxPoint(0,
+0))}}f=LucidImporter.lucidchartObjects;a:{try{var d=p.style.match(/;lucidId=([^;]*)/);if(null!=d){var c=d[1];break a}}catch(O){}c=null}c=f[c];c=null!=c&&null!=c.Action?c.Action.Properties:null;null!=c&&"elbow"==c.Shape&&null==c.ElbowControlPoints&&null==c.ElbowPoints&&null!=n.style.exitX&&null!=n.style.exitY&&null!=n.style.entryX&&null!=n.style.entryY&&(p.style=mxUtils.setStyle(p.style,"exitX",Math.round(20*n.style.exitX)/20),p.style=mxUtils.setStyle(p.style,"exitY",Math.round(20*n.style.exitY)/20),
+p.style=mxUtils.setStyle(p.style,"entryX",Math.round(20*n.style.entryX)/20),p.style=mxUtils.setStyle(p.style,"entryY",Math.round(20*n.style.entryY)/20))}}function Af(f,p){if(f.model.contains(p)&&null!=p.style&&""!=p.style){f=p.style.split(";");for(var n={},e=[],a=f.length-1;0<=a;a--){var D=f[a].split("=");if(2!=D.length||null==n[D[0]])n[D[0]]=D[1],""!=f[a]&&e.push(f[a])}p.style=e.reverse().join(";")+";"}}function zf(f,p){if(f.model.contains(p)&&null!=p.children&&null!=p.geometry&&p.vertex&&"group;dropTarget=0;pointerEvents=0;"==
+p.style){for(var n=null,e=0;e<p.children.length;e++)if(p.children[e].vertex){var a=p.children[e].geometry;if(null!=a&&0==a.x&&0==a.y&&a.width==p.geometry.width&&a.height==p.geometry.height){if(null!=n)return;n=p.children[e]}}p=n;if(null!=p&&(n=p.parent,""==f.convertValueToString(n))){if(null!=p.edges)for(e=0;e<p.edges.length;e++)p.edges[e].source==p&&p.edges[e].setTerminal(p.parent,!0),p.edges[e].target==p&&p.edges[e].setTerminal(p.parent,!1);if(null!=p.children&&0<p.children.length)for(a=p.children.slice(),
+e=0;e<a.length;e++)n.insert(a[e]);f.cellLabelChanged(n,f.convertValueToString(p));n.style=mxUtils.setStyle(mxUtils.setStyle(p.style,"container","1"),"collapsible","0");p.removeFromParent()}}}function Cf(){var f=new Graph;f.setExtendParents(!1);f.setExtendParentsOnAdd(!1);f.setConstrainChildren(!1);f.setHtmlLabels(!0);f.getModel().maintainEdgeParent=!1;return f}function Od(f,p,n,e,a,D,d,c){this.nurbsValues=[1,3,0,0,100*(f+n),100-100*(1-(p+e)),0,1,100*(a+d),100-100*(1-(D+c)),0,1]}function Je(f,p){try{for(var n=
+[],e=p.BoundingBox.w,a=p.BoundingBox.h,D=0;D<p.Shapes.length;D++){var d=p.Shapes[D],c=d.FillColor,O=d.StrokeColor,R=d.LineWidth,J=d.Points,oa=d.Lines,aa=['<shape strokewidth="inherit"><foreground>'];aa.push("<path>");for(var ea=null,ka=0;ka<oa.length;ka++){var sa=oa[ka];if(ea!=sa.p1){var fa=J[sa.p1].x,ta=J[sa.p1].y;fa=100*fa/e;ta=100*ta/a;fa=Math.round(100*fa)/100;ta=Math.round(100*ta)/100;aa.push('<move x="'+fa+'" y="'+ta+'"/>')}if(null!=sa.n1){var Ka=J[sa.p2].x,ua=J[sa.p2].y,ma=e,Ea=a,Ba=new Od(J[sa.p1].x/
+e,J[sa.p1].y/a,sa.n1.x/e,sa.n1.y/a,J[sa.p2].x/e,J[sa.p2].y/a,sa.n2.x/e,sa.n2.y/a);if(2<=Ba.getSize()){Ba.getX(0);Ba.getY(0);Ba.getX(1);Ba.getY(1);Ka=Math.round(100*Ka/ma*100)/100;ua=Math.round(100*ua/Ea*100)/100;ma=[];Ea=[];for(var Ca=[],b=Ba.getSize(),za=0;za<b-1;za+=3)ma.push(new mxPoint(Ba.getX(za),Ba.getY(za))),Ea.push(new mxPoint(Ba.getX(za+1),Ba.getY(za+1))),za<b-2?Ca.push(new mxPoint(Ba.getX(za+2),Ba.getY(za+2))):Ca.push(new mxPoint(Ka,ua));var Wa="";for(za=0;za<ma.length;za++)Wa+='<curve x1="'+
+ma[za].x+'" y1="'+ma[za].y+'" x2="'+Ea[za].x+'" y2="'+Ea[za].y+'" x3="'+Ca[za].x+'" y3="'+Ca[za].y+'"/>';var wa=Wa}else wa=void 0;aa.push(wa)}else fa=J[sa.p2].x,ta=J[sa.p2].y,fa=100*fa/e,ta=100*ta/a,fa=Math.round(100*fa)/100,ta=Math.round(100*ta)/100,aa.push('<line x="'+fa+'" y="'+ta+'"/>');ea=sa.p2}aa.push("</path>");aa.push("<fillstroke/>");aa.push("</foreground></shape>");n.push({shapeStencil:"stencil("+Graph.compress(aa.join(""))+")",FillColor:c,LineColor:O,LineWidth:R})}LucidImporter.stencilsMap[f]=
+{text:p.Text,w:e,h:a,x:p.BoundingBox.x,y:p.BoundingBox.y,stencils:n}}catch(Ia){console.log("Stencil parsing error:",Ia)}}function oc(f,p,n,e,a,D,d,c){f=new mxCell("",new mxGeometry(f,p,0,0),"strokeColor=none;fillColor=none;");f.vertex=!0;d.insert(f);D=[f];n=n.clone();c.insertEdge(n,!1);f.insertEdge(n,!0);D.push(n);e.push(a.addCell(n,null,null,null,null))}function ab(f,p,n,e,a,D,d,c,O){f=new mxCell("",new mxGeometry(f,p,0,0),"strokeColor=none;fillColor=none;");f.vertex=!0;O.insert(f);n=new mxCell("",
+new mxGeometry(n,e,0,0),"strokeColor=none;fillColor=none;");n.vertex=!0;O.insert(n);c=[n];a=a.clone();f.insertEdge(a,!0);n.insertEdge(a,!1);c.push(a);D.push(d.addCell(a,null,null,null,null))}function La(f,p,n,e,a,D){e.style="rounded=1;absoluteArcSize=1;fillColor=#ffffff;arcSize=2;strokeColor=#dddddd;";e.style+=h(e.style,a,D,e);p=l(a);e.vertex=!0;f=new mxCell(p,new mxGeometry(0,.5,24,24),"dashed=0;connectable=0;html=1;strokeColor=none;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2."+f+";part=1;shadow=0;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;");
f.style+=h(f.style,a,D,f,t);f.geometry.relative=!0;f.geometry.offset=new mxPoint(5,-12);f.vertex=!0;e.insert(f)}function Ra(f,p,n,e,a,D,d,c){a="transparent"!=f?mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.":mxConstants.STYLE_SHAPE+"=";D.style="rounded=1;absoluteArcSize=1;arcSize=2;verticalAlign=bottom;fillColor=#ffffff;strokeColor=#dddddd;whiteSpace=wrap;";D.style+=h(D.style,d,c,D);D.value=l(d);D.vertex=!0;f=new mxCell(null,new mxGeometry(.5,0,.7*e*p,.7*e*n),a+f+";part=1;dashed=0;connectable=0;html=1;strokeColor=none;shadow=0;");
f.geometry.relative=!0;f.geometry.offset=new mxPoint(-p*e*.35,10+(1-n)*e*.35);f.vertex=!0;f.style+=h(f.style,d,c,f,t);D.insert(f)}function Uc(f,p){return null!=f&&null!=p&&(p==mxConstants.STYLE_ALIGN+"Global"&&(p=mxConstants.STYLE_ALIGN),f.includes(";"+p+"=")||f.substring(0,p.length+1)==p+"=")?!0:!1}function Pd(f,p){function n(e){e=Math.round(parseInt("0x"+e)*p).toString(16);return 1==e.length?"0"+e:e}return"#"+n(f.substr(1,2))+n(f.substr(3,2))+n(f.substr(5,2))}function He(f,p,n){var e=x(f),a=e.Properties,
D=a.BoundingBox,d=Math.round(.75*D.w),c=Math.round(.75*D.h),O=Math.round(.75*D.x+sc),R=Math.round(.75*D.y+tc);null==f.Class||"GCPInputDatabase"!==f.Class&&"GCPInputRecord"!==f.Class&&"GCPInputPayment"!==f.Class&&"GCPInputGateway"!==f.Class&&"GCPInputLocalCompute"!==f.Class&&"GCPInputBeacon"!==f.Class&&"GCPInputStorage"!==f.Class&&"GCPInputList"!==f.Class&&"GCPInputStream"!==f.Class&&"GCPInputMobileDevices"!==f.Class&&"GCPInputCircuitBoard"!==f.Class&&"GCPInputLive"!==f.Class&&"GCPInputUsers"!==f.Class&&
@@ -15149,8 +15149,9 @@ ja,r,!0);C=0;for(y in K.actors)x(r,ja,null,null,5+8*C++,-6,12,12,"ellipse;aspect
x(r,null,null,l(I.title),k,0,12*I.title.length,40,"text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;fontSize=20;fontStyle=1");for(y in I.actors)k=I.actors[y],x(r,null,null,y,10,70+20*k.position,12,12,"ellipse;aspect=fixed;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=10;fillColor="+k.color)}else if("Mindmap"==A){Q=k._private.elements;y={};k={};for(Y=0;Y<Q.length;Y++){M=Q[Y]._private.data;switch(M.type){case 1:M.shape="roundedRect";
break;case 2:M.shape="rect";break;case 3:M.shape="circle";M.width=Math.max(M.height,M.width);M.height=M.width;break;case 4:M.shape="cloud";break;case 5:M.shape="rectCloud";break;case 6:M.shape="hexagon";break;default:M.shape="rect",M.type="round"}isNaN(M.x)||isNaN(M.y)||(y[M.id]=h(M,null,r));M=Q[Y]._private.edges;for(ba=0;ba<M.length;ba++)z=M[ba]._private.data,k[z.id]=z}for(I in k)Q=k[I],r.insertEdge(null,null,null,y[Q.source],y[Q.target],"endArrow=none")}else if("sequenceDiagram"==A)U(k,r);else if("flowchart-elk"==
A)k._nodes?ia(k,null,r):Qa(k,{},null,r);else{if("er"==A)for(Q in k._nodes)y=k._nodes[Q],y.shape="erdEntity",y.entityData=y;else if("ERD"==A){for(Q in B)B[Q].title=Q,B[Q.replace(/-|_/g,"")]=B[Q];for(Q in k._nodes)I=B[Q.split("-")[1]],y=k._nodes[Q],y.shape="erdEntity",y.labelText=I.title,y.entityData=I}else if("requirements"==A)for(Q in k=mxMermaidToDrawio.reqData,delete mxMermaidToDrawio.reqData,k._nodes)y=k._nodes[Q],y.shape=B.elements[Q]?"element":"requirement",y.data=B.elements[Q]||B.requirements[Q];
-ia(k,null,r)}y=(new mxCodec).encode(r.getModel());return mxUtils.getXml(y)}if("requirement"==A)mxMermaidToDrawio.reqData=u;else if(0!=mxMermaidToDrawio.listeners.length){u=E(u);B=E(B);var Pa=[["#000","#b4b4b4"],["#fff","#555"],["#000","#bbb"],["#fff","#777"],["#000","#999"],["#000","#ddd"],["#000","#fff"],["#000","#ddd"]],Xa="statediagram"==A||"stateDiagram"==A,Ja=EditorUi.prototype.emptyDiagramXml;try{Ja=Fa(u)}catch(k){console.log("mermaidToDrawio",k)}for(u=0;u<mxMermaidToDrawio.listeners.length;u++)mxMermaidToDrawio.listeners[u](Ja),
-clearTimeout(mxMermaidToDrawio.timeouts[u]);mxMermaidToDrawio.htmlLabels=!1;"1"!=urlParams.mermaidToDrawioTest&&mxMermaidToDrawio.resetListeners()}};mxMermaidToDrawio.listeners=[];mxMermaidToDrawio.timeouts=[];mxMermaidToDrawio.addListener=function(u){mxMermaidToDrawio.listeners.push(u);mxMermaidToDrawio.timeouts.push(setTimeout(function(){u(EditorUi.prototype.emptyDiagramXml)},5E3))};mxMermaidToDrawio.resetListeners=function(){mxMermaidToDrawio.listeners=[];mxMermaidToDrawio.timeouts=[]};function mxGraphMlCodec(){this.cachedRefObj={}}mxGraphMlCodec.prototype.refRegexp=/^\{y:GraphMLReference\s+(\d+)\}$/;mxGraphMlCodec.prototype.staticRegexp=/^\{x:Static\s+(.+)\.(.+)\}$/;
+ia(k,null,r)}y=(new mxCodec).encode(r.getModel());return mxUtils.getXml(y)}if("requirement"==A)mxMermaidToDrawio.reqData=u;else if(0!=mxMermaidToDrawio.listeners.length){u=E(u);B=E(B);var Pa=[["#000000","#b4b4b4"],["#ffffff","#555555"],["#000000","#bbbbbb"],["#ffffff","#777777"],["#000000","#999999"],["#000000","#dddddd"],["#000000","#ffffff"],["#000000","#dddddd"]],Xa="statediagram"==A||"stateDiagram"==A,Ja=EditorUi.prototype.emptyDiagramXml;try{Ja=Fa(u)}catch(k){console.log("mermaidToDrawio",k)}for(u=
+0;u<mxMermaidToDrawio.listeners.length;u++)mxMermaidToDrawio.listeners[u](Ja),clearTimeout(mxMermaidToDrawio.timeouts[u]);mxMermaidToDrawio.htmlLabels=!1;"1"!=urlParams.mermaidToDrawioTest&&mxMermaidToDrawio.resetListeners()}};mxMermaidToDrawio.listeners=[];mxMermaidToDrawio.timeouts=[];mxMermaidToDrawio.addListener=function(u){mxMermaidToDrawio.listeners.push(u);mxMermaidToDrawio.timeouts.push(setTimeout(function(){u(EditorUi.prototype.emptyDiagramXml)},5E3))};
+mxMermaidToDrawio.resetListeners=function(){mxMermaidToDrawio.listeners=[];mxMermaidToDrawio.timeouts=[]};function mxGraphMlCodec(){this.cachedRefObj={}}mxGraphMlCodec.prototype.refRegexp=/^\{y:GraphMLReference\s+(\d+)\}$/;mxGraphMlCodec.prototype.staticRegexp=/^\{x:Static\s+(.+)\.(.+)\}$/;
mxGraphMlCodec.prototype.decode=function(u,A,B){try{var E=mxUtils.parseXml(u),l=this.getDirectChildNamedElements(E.documentElement,mxGraphMlConstants.GRAPH);this.initializeKeys(E.documentElement);u='<?xml version="1.0" encoding="UTF-8"?><mxfile>';for(E=0;E<l.length;E++){var x=l[E],w=this.createMxGraph(),q=w.getModel();q.beginUpdate();try{for(this.nodesMap={},this.edges=[],this.importGraph(x,w,w.getDefaultParent()),E=0;E<this.edges.length;E++)for(var h=this.edges[E],H=h.edges,F=h.parent,T=h.dx,L=h.dy,
U=0;U<H.length;U++)this.importEdge(H[U],w,F,T,L)}catch(K){throw console.log(K),K;}finally{q.endUpdate()}q.beginUpdate();try{var ia=w.getModel().cells,Qa;for(Qa in ia){var Fa=ia[Qa];if(Fa.edge&&0<Fa.getChildCount())for(E=0;E<Fa.getChildCount();E++){var Pa=Fa.children[E].geometry;if(Pa.adjustIt){var Xa=w.view.getState(Fa),Ja=Xa.absolutePoints,k=Ja[0],r=Ja[Ja.length-1],z=Pa.x,y=Pa.y;T=r.x-k.x;L=r.y-k.y;var C=k.x+z*T,ca=k.y+z*L,I=Math.sqrt(T*T+L*L);T/=I;L/=I;C-=y*L;ca+=y*T;var M=w.view.getRelativePoint(Xa,
C,ca);Pa.x=M.x;Pa.y=M.y}}}}catch(K){throw console.log(K),K;}finally{q.endUpdate()}u+=this.processPage(w,E+1)}A&&A(u+"</mxfile>")}catch(K){B&&B(K)}};
diff --git a/src/main/webapp/js/serviceworker/service-worker-ac-draw-io.js b/src/main/webapp/js/serviceworker/service-worker-ac-draw-io.js
index c0e92b95a..66b1a8dd3 100644
--- a/src/main/webapp/js/serviceworker/service-worker-ac-draw-io.js
+++ b/src/main/webapp/js/serviceworker/service-worker-ac-draw-io.js
@@ -1,2 +1,2 @@
-if(!self.define){let e,c={};const n=(n,i)=>(n=new URL(n+".js",i).href,c[n]||new Promise((c=>{if("document"in self){const e=document.createElement("script");e.src=n,e.onload=c,document.head.appendChild(e)}else e=n,importScripts(n),c()})).then((()=>{let e=c[n];if(!e)throw new Error(`Module ${n} didn’t register its module`);return e})));self.define=(i,s)=>{const r=e||("document"in self?document.currentScript.src:"")||location.href;if(c[r])return;let o={};const a=e=>n(e,r),d={module:{uri:r},exports:o,require:a};c[r]=Promise.all(i.map((e=>d[e]||a(e)))).then((e=>(s(...e),o)))}}define(["./workbox-72a83b64"],(function(e){"use strict";self.skipWaiting(),e.precacheAndRoute([{url:"js/bootstrap.js",revision:"3ae5cb7b92474238c9cd6c9667771e8f"},{url:"js/main.js",revision:"9f6e65617cb7b7a67185b05427d97feb"},{url:"js/app.min.js",revision:"6d05bed2a81cec4877db56c9f4bad25e"},{url:"js/extensions.min.js",revision:"1a62536b536113c0b6cadd93b9816b22"},{url:"js/orgchart.min.js",revision:"619d8c4dab47b81868916df31f55478b"},{url:"js/stencils.min.js",revision:"ad38046619064bc0f0790be6b5a7995f"},{url:"js/shapes-14-6-5.min.js",revision:"d4b2f375b0222562462613f553a3257c"},{url:"js/math-print.js",revision:"cf64f6a493a8cb5079f2b70813e478d7"},{url:"index.html",revision:"9de11c65ec13b24c73ace7042bc529cc"},{url:"styles/grapheditor.css",revision:"52d494798d4f6fc629a801fcd99c7fd5"},{url:"styles/high-contrast.css",revision:"4ecc9f6d08787a9e2d29dacf7aadd1ca"},{url:"js/dropbox/Dropbox-sdk.min.js",revision:"4b9842892aa37b156db0a8364b7a83b0"},{url:"js/onedrive/OneDrive.js",revision:"505e8280346666f7ee801bc59521fa67"},{url:"js/viewer-static.min.js",revision:"06ea84f36f261faf66e05e3ed9b16f2f"},{url:"plugins/cConf-comments.js",revision:"6deea8e9b96ff96043cd5cfd2a242a9f"},{url:"plugins/cConf-1-4-8.js",revision:"42137930327ac2a2500f711352b35e25"},{url:"connect/confluence/connectUtils-1-4-8.js",revision:"d381db23d3c925eb81854c07b46776a5"},{url:"connect/new_common/cac.js",revision:"740dce44cf53499f476ee8edc37d09a0"},{url:"connect/gdrive_common/gac.js",revision:"3bb38a5d9186a896ed04808e921ef888"},{url:"connect/onedrive_common/ac.js",revision:"5fb6ff1a73f54a9086b7a7e1f613b8ed"},{url:"connect/confluence/viewer-init.js",revision:"b82e366bf57ecced9435c2a8ba9cb9b9"},{url:"connect/confluence/viewer.js",revision:"78b87563d88943ab816a3463927b9b50"},{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:"174e06ff4578aa4e2cadf5434494d8dd"},{url:"connect/confluence/includeDiagram.html",revision:"01b04b3f54f1e2e63fcf1df033d24519"},{url:"connect/confluence/macro-editor.js",revision:"c4c110650228d22b021ebad4d6ef021e"},{url:"resources/dia.txt",revision:"f9a270e56f91d7b63e219306ff2b63ac"},{url:"mxgraph/css/common.css",revision:"81d1704d5ab9207e2e5c7fc84379dc1a"}],{ignoreURLParametersMatching:[/.*/]})}));
+if(!self.define){let e,c={};const n=(n,i)=>(n=new URL(n+".js",i).href,c[n]||new Promise((c=>{if("document"in self){const e=document.createElement("script");e.src=n,e.onload=c,document.head.appendChild(e)}else e=n,importScripts(n),c()})).then((()=>{let e=c[n];if(!e)throw new Error(`Module ${n} didn’t register its module`);return e})));self.define=(i,s)=>{const r=e||("document"in self?document.currentScript.src:"")||location.href;if(c[r])return;let o={};const d=e=>n(e,r),a={module:{uri:r},exports:o,require:d};c[r]=Promise.all(i.map((e=>a[e]||d(e)))).then((e=>(s(...e),o)))}}define(["./workbox-72a83b64"],(function(e){"use strict";self.skipWaiting(),e.precacheAndRoute([{url:"js/bootstrap.js",revision:"3ae5cb7b92474238c9cd6c9667771e8f"},{url:"js/main.js",revision:"9f6e65617cb7b7a67185b05427d97feb"},{url:"js/app.min.js",revision:"5852db2d29586e7a82e75be88c27e367"},{url:"js/extensions.min.js",revision:"49546b5dc442ef2391394f4def07462c"},{url:"js/orgchart.min.js",revision:"619d8c4dab47b81868916df31f55478b"},{url:"js/stencils.min.js",revision:"ad38046619064bc0f0790be6b5a7995f"},{url:"js/shapes-14-6-5.min.js",revision:"d4b2f375b0222562462613f553a3257c"},{url:"js/math-print.js",revision:"cf64f6a493a8cb5079f2b70813e478d7"},{url:"index.html",revision:"9de11c65ec13b24c73ace7042bc529cc"},{url:"styles/grapheditor.css",revision:"52d494798d4f6fc629a801fcd99c7fd5"},{url:"styles/high-contrast.css",revision:"4ecc9f6d08787a9e2d29dacf7aadd1ca"},{url:"js/dropbox/Dropbox-sdk.min.js",revision:"4b9842892aa37b156db0a8364b7a83b0"},{url:"js/onedrive/OneDrive.js",revision:"505e8280346666f7ee801bc59521fa67"},{url:"js/viewer-static.min.js",revision:"ac9c7f7c93224087b3c09e3bd956a87c"},{url:"plugins/cConf-comments.js",revision:"6deea8e9b96ff96043cd5cfd2a242a9f"},{url:"plugins/cConf-1-4-8.js",revision:"42137930327ac2a2500f711352b35e25"},{url:"connect/confluence/connectUtils-1-4-8.js",revision:"d381db23d3c925eb81854c07b46776a5"},{url:"connect/new_common/cac.js",revision:"740dce44cf53499f476ee8edc37d09a0"},{url:"connect/gdrive_common/gac.js",revision:"3bb38a5d9186a896ed04808e921ef888"},{url:"connect/onedrive_common/ac.js",revision:"5fb6ff1a73f54a9086b7a7e1f613b8ed"},{url:"connect/confluence/viewer-init.js",revision:"b82e366bf57ecced9435c2a8ba9cb9b9"},{url:"connect/confluence/viewer.js",revision:"78b87563d88943ab816a3463927b9b50"},{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:"174e06ff4578aa4e2cadf5434494d8dd"},{url:"connect/confluence/includeDiagram.html",revision:"01b04b3f54f1e2e63fcf1df033d24519"},{url:"connect/confluence/macro-editor.js",revision:"c4c110650228d22b021ebad4d6ef021e"},{url:"resources/dia.txt",revision:"f9a270e56f91d7b63e219306ff2b63ac"},{url:"mxgraph/css/common.css",revision:"81d1704d5ab9207e2e5c7fc84379dc1a"}],{ignoreURLParametersMatching:[/.*/]})}));
//# sourceMappingURL=service-worker-ac-draw-io.js.map
diff --git a/src/main/webapp/js/serviceworker/service-worker-ac-draw-io.js.map b/src/main/webapp/js/serviceworker/service-worker-ac-draw-io.js.map
index e6fa92cdf..a87d378b5 100644
--- a/src/main/webapp/js/serviceworker/service-worker-ac-draw-io.js.map
+++ b/src/main/webapp/js/serviceworker/service-worker-ac-draw-io.js.map
@@ -1 +1 @@
-{"version":3,"file":"service-worker-ac-draw-io.js","sources":["../../../../../../private/var/folders/5p/vxfp3wpj4slfjt2m12dxyp9c0000gn/T/6febaf834acda3bd877fb3a53f27c123/service-worker-ac-draw-io.js"],"sourcesContent":["import {precacheAndRoute as workbox_precaching_precacheAndRoute} from '/opt/homebrew/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\": \"3ae5cb7b92474238c9cd6c9667771e8f\"\n },\n {\n \"url\": \"js/main.js\",\n \"revision\": \"9f6e65617cb7b7a67185b05427d97feb\"\n },\n {\n \"url\": \"js/app.min.js\",\n \"revision\": \"6d05bed2a81cec4877db56c9f4bad25e\"\n },\n {\n \"url\": \"js/extensions.min.js\",\n \"revision\": \"1a62536b536113c0b6cadd93b9816b22\"\n },\n {\n \"url\": \"js/orgchart.min.js\",\n \"revision\": \"619d8c4dab47b81868916df31f55478b\"\n },\n {\n \"url\": \"js/stencils.min.js\",\n \"revision\": \"ad38046619064bc0f0790be6b5a7995f\"\n },\n {\n \"url\": \"js/shapes-14-6-5.min.js\",\n \"revision\": \"d4b2f375b0222562462613f553a3257c\"\n },\n {\n \"url\": \"js/math-print.js\",\n \"revision\": \"cf64f6a493a8cb5079f2b70813e478d7\"\n },\n {\n \"url\": \"index.html\",\n \"revision\": \"9de11c65ec13b24c73ace7042bc529cc\"\n },\n {\n \"url\": \"styles/grapheditor.css\",\n \"revision\": \"52d494798d4f6fc629a801fcd99c7fd5\"\n },\n {\n \"url\": \"styles/high-contrast.css\",\n \"revision\": \"4ecc9f6d08787a9e2d29dacf7aadd1ca\"\n },\n {\n \"url\": \"js/dropbox/Dropbox-sdk.min.js\",\n \"revision\": \"4b9842892aa37b156db0a8364b7a83b0\"\n },\n {\n \"url\": \"js/onedrive/OneDrive.js\",\n \"revision\": \"505e8280346666f7ee801bc59521fa67\"\n },\n {\n \"url\": \"js/viewer-static.min.js\",\n \"revision\": \"06ea84f36f261faf66e05e3ed9b16f2f\"\n },\n {\n \"url\": \"plugins/cConf-comments.js\",\n \"revision\": \"6deea8e9b96ff96043cd5cfd2a242a9f\"\n },\n {\n \"url\": \"plugins/cConf-1-4-8.js\",\n \"revision\": \"42137930327ac2a2500f711352b35e25\"\n },\n {\n \"url\": \"connect/confluence/connectUtils-1-4-8.js\",\n \"revision\": \"d381db23d3c925eb81854c07b46776a5\"\n },\n {\n \"url\": \"connect/new_common/cac.js\",\n \"revision\": \"740dce44cf53499f476ee8edc37d09a0\"\n },\n {\n \"url\": \"connect/gdrive_common/gac.js\",\n \"revision\": \"3bb38a5d9186a896ed04808e921ef888\"\n },\n {\n \"url\": \"connect/onedrive_common/ac.js\",\n \"revision\": \"5fb6ff1a73f54a9086b7a7e1f613b8ed\"\n },\n {\n \"url\": \"connect/confluence/viewer-init.js\",\n \"revision\": \"b82e366bf57ecced9435c2a8ba9cb9b9\"\n },\n {\n \"url\": \"connect/confluence/viewer.js\",\n \"revision\": \"78b87563d88943ab816a3463927b9b50\"\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\": \"174e06ff4578aa4e2cadf5434494d8dd\"\n },\n {\n \"url\": \"connect/confluence/includeDiagram.html\",\n \"revision\": \"01b04b3f54f1e2e63fcf1df033d24519\"\n },\n {\n \"url\": \"connect/confluence/macro-editor.js\",\n \"revision\": \"c4c110650228d22b021ebad4d6ef021e\"\n },\n {\n \"url\": \"resources/dia.txt\",\n \"revision\": \"f9a270e56f91d7b63e219306ff2b63ac\"\n },\n {\n \"url\": \"mxgraph/css/common.css\",\n \"revision\": \"81d1704d5ab9207e2e5c7fc84379dc1a\"\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,kBACKC,SAAA,oCAEd,CACED,IAAO,aACKC,SAAA,oCAEd,CACED,IAAO,gBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,qBACKC,SAAA,oCAEd,CACED,IAAO,qBACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,mBACKC,SAAA,oCAEd,CACED,IAAO,aACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,2BACKC,SAAA,oCAEd,CACED,IAAO,gCACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,4BACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,2CACKC,SAAA,oCAEd,CACED,IAAO,4BACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,gCACKC,SAAA,oCAEd,CACED,IAAO,oCACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,wCACKC,SAAA,oCAEd,CACED,IAAO,4CACKC,SAAA,oCAEd,CACED,IAAO,6CACKC,SAAA,oCAEd,CACED,IAAO,yCACKC,SAAA,oCAEd,CACED,IAAO,qCACKC,SAAA,oCAEd,CACED,IAAO,oBACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,qCAEb,CACDC,4BAA+B,CAAC"}
\ No newline at end of file
+{"version":3,"file":"service-worker-ac-draw-io.js","sources":["../../../../../../private/var/folders/5p/vxfp3wpj4slfjt2m12dxyp9c0000gn/T/df5ca39ffc71325997edabdb6a6326ad/service-worker-ac-draw-io.js"],"sourcesContent":["import {precacheAndRoute as workbox_precaching_precacheAndRoute} from '/opt/homebrew/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\": \"3ae5cb7b92474238c9cd6c9667771e8f\"\n },\n {\n \"url\": \"js/main.js\",\n \"revision\": \"9f6e65617cb7b7a67185b05427d97feb\"\n },\n {\n \"url\": \"js/app.min.js\",\n \"revision\": \"5852db2d29586e7a82e75be88c27e367\"\n },\n {\n \"url\": \"js/extensions.min.js\",\n \"revision\": \"49546b5dc442ef2391394f4def07462c\"\n },\n {\n \"url\": \"js/orgchart.min.js\",\n \"revision\": \"619d8c4dab47b81868916df31f55478b\"\n },\n {\n \"url\": \"js/stencils.min.js\",\n \"revision\": \"ad38046619064bc0f0790be6b5a7995f\"\n },\n {\n \"url\": \"js/shapes-14-6-5.min.js\",\n \"revision\": \"d4b2f375b0222562462613f553a3257c\"\n },\n {\n \"url\": \"js/math-print.js\",\n \"revision\": \"cf64f6a493a8cb5079f2b70813e478d7\"\n },\n {\n \"url\": \"index.html\",\n \"revision\": \"9de11c65ec13b24c73ace7042bc529cc\"\n },\n {\n \"url\": \"styles/grapheditor.css\",\n \"revision\": \"52d494798d4f6fc629a801fcd99c7fd5\"\n },\n {\n \"url\": \"styles/high-contrast.css\",\n \"revision\": \"4ecc9f6d08787a9e2d29dacf7aadd1ca\"\n },\n {\n \"url\": \"js/dropbox/Dropbox-sdk.min.js\",\n \"revision\": \"4b9842892aa37b156db0a8364b7a83b0\"\n },\n {\n \"url\": \"js/onedrive/OneDrive.js\",\n \"revision\": \"505e8280346666f7ee801bc59521fa67\"\n },\n {\n \"url\": \"js/viewer-static.min.js\",\n \"revision\": \"ac9c7f7c93224087b3c09e3bd956a87c\"\n },\n {\n \"url\": \"plugins/cConf-comments.js\",\n \"revision\": \"6deea8e9b96ff96043cd5cfd2a242a9f\"\n },\n {\n \"url\": \"plugins/cConf-1-4-8.js\",\n \"revision\": \"42137930327ac2a2500f711352b35e25\"\n },\n {\n \"url\": \"connect/confluence/connectUtils-1-4-8.js\",\n \"revision\": \"d381db23d3c925eb81854c07b46776a5\"\n },\n {\n \"url\": \"connect/new_common/cac.js\",\n \"revision\": \"740dce44cf53499f476ee8edc37d09a0\"\n },\n {\n \"url\": \"connect/gdrive_common/gac.js\",\n \"revision\": \"3bb38a5d9186a896ed04808e921ef888\"\n },\n {\n \"url\": \"connect/onedrive_common/ac.js\",\n \"revision\": \"5fb6ff1a73f54a9086b7a7e1f613b8ed\"\n },\n {\n \"url\": \"connect/confluence/viewer-init.js\",\n \"revision\": \"b82e366bf57ecced9435c2a8ba9cb9b9\"\n },\n {\n \"url\": \"connect/confluence/viewer.js\",\n \"revision\": \"78b87563d88943ab816a3463927b9b50\"\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\": \"174e06ff4578aa4e2cadf5434494d8dd\"\n },\n {\n \"url\": \"connect/confluence/includeDiagram.html\",\n \"revision\": \"01b04b3f54f1e2e63fcf1df033d24519\"\n },\n {\n \"url\": \"connect/confluence/macro-editor.js\",\n \"revision\": \"c4c110650228d22b021ebad4d6ef021e\"\n },\n {\n \"url\": \"resources/dia.txt\",\n \"revision\": \"f9a270e56f91d7b63e219306ff2b63ac\"\n },\n {\n \"url\": \"mxgraph/css/common.css\",\n \"revision\": \"81d1704d5ab9207e2e5c7fc84379dc1a\"\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,kBACKC,SAAA,oCAEd,CACED,IAAO,aACKC,SAAA,oCAEd,CACED,IAAO,gBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,qBACKC,SAAA,oCAEd,CACED,IAAO,qBACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,mBACKC,SAAA,oCAEd,CACED,IAAO,aACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,2BACKC,SAAA,oCAEd,CACED,IAAO,gCACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,4BACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,2CACKC,SAAA,oCAEd,CACED,IAAO,4BACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,gCACKC,SAAA,oCAEd,CACED,IAAO,oCACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,wCACKC,SAAA,oCAEd,CACED,IAAO,4CACKC,SAAA,oCAEd,CACED,IAAO,6CACKC,SAAA,oCAEd,CACED,IAAO,yCACKC,SAAA,oCAEd,CACED,IAAO,qCACKC,SAAA,oCAEd,CACED,IAAO,oBACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,qCAEb,CACDC,4BAA+B,CAAC"}
\ No newline at end of file
diff --git a/src/main/webapp/js/serviceworker/service-worker-aj-draw-io.js b/src/main/webapp/js/serviceworker/service-worker-aj-draw-io.js
index 0022ea88f..46341ec74 100644
--- a/src/main/webapp/js/serviceworker/service-worker-aj-draw-io.js
+++ b/src/main/webapp/js/serviceworker/service-worker-aj-draw-io.js
@@ -1,2 +1,2 @@
-if(!self.define){let e,i={};const r=(r,c)=>(r=new URL(r+".js",c).href,i[r]||new Promise((i=>{if("document"in self){const e=document.createElement("script");e.src=r,e.onload=i,document.head.appendChild(e)}else e=r,importScripts(r),i()})).then((()=>{let e=i[r];if(!e)throw new Error(`Module ${r} didn’t register its module`);return e})));self.define=(c,n)=>{const s=e||("document"in self?document.currentScript.src:"")||location.href;if(i[s])return;let o={};const a=e=>r(e,s),f={module:{uri:s},exports:o,require:a};i[s]=Promise.all(c.map((e=>f[e]||a(e)))).then((e=>(n(...e),o)))}}define(["./workbox-72a83b64"],(function(e){"use strict";self.skipWaiting(),e.precacheAndRoute([{url:"js/bootstrap.js",revision:"3ae5cb7b92474238c9cd6c9667771e8f"},{url:"js/main.js",revision:"9f6e65617cb7b7a67185b05427d97feb"},{url:"js/app.min.js",revision:"6d05bed2a81cec4877db56c9f4bad25e"},{url:"js/extensions.min.js",revision:"1a62536b536113c0b6cadd93b9816b22"},{url:"js/orgchart.min.js",revision:"619d8c4dab47b81868916df31f55478b"},{url:"js/stencils.min.js",revision:"ad38046619064bc0f0790be6b5a7995f"},{url:"js/shapes-14-6-5.min.js",revision:"d4b2f375b0222562462613f553a3257c"},{url:"js/math-print.js",revision:"cf64f6a493a8cb5079f2b70813e478d7"},{url:"index.html",revision:"9de11c65ec13b24c73ace7042bc529cc"},{url:"styles/grapheditor.css",revision:"52d494798d4f6fc629a801fcd99c7fd5"},{url:"styles/high-contrast.css",revision:"4ecc9f6d08787a9e2d29dacf7aadd1ca"},{url:"js/dropbox/Dropbox-sdk.min.js",revision:"4b9842892aa37b156db0a8364b7a83b0"},{url:"js/onedrive/OneDrive.js",revision:"505e8280346666f7ee801bc59521fa67"},{url:"js/viewer-static.min.js",revision:"06ea84f36f261faf66e05e3ed9b16f2f"},{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:"75f816c208d0c621e3066a97ff0ee6cf"},{url:"connect/jira/spinner.gif",revision:"7d857ab9d86123e93d74d48e958fe743"},{url:"connect/jira/editor.js",revision:"ce61a0e62031a160e057809fefe64aa2"},{url:"connect/jira/fullscreen-viewer-init.js",revision:"d3269625ce04b7a277b779ff175957d0"},{url:"connect/jira/fullscreen-viewer.js",revision:"8eceb2fe587296dd11f9c8f6eae34c20"},{url:"plugins/connectJira.js",revision:"c4cb6b60234b04b2c8bc09e555746615"},{url:"connect/new_common/cac.js",revision:"740dce44cf53499f476ee8edc37d09a0"},{url:"connect/gdrive_common/gac.js",revision:"3bb38a5d9186a896ed04808e921ef888"},{url:"connect/onedrive_common/ac.js",revision:"5fb6ff1a73f54a9086b7a7e1f613b8ed"},{url:"resources/dia.txt",revision:"f9a270e56f91d7b63e219306ff2b63ac"},{url:"mxgraph/css/common.css",revision:"81d1704d5ab9207e2e5c7fc84379dc1a"}],{ignoreURLParametersMatching:[/.*/]})}));
+if(!self.define){let e,i={};const r=(r,c)=>(r=new URL(r+".js",c).href,i[r]||new Promise((i=>{if("document"in self){const e=document.createElement("script");e.src=r,e.onload=i,document.head.appendChild(e)}else e=r,importScripts(r),i()})).then((()=>{let e=i[r];if(!e)throw new Error(`Module ${r} didn’t register its module`);return e})));self.define=(c,n)=>{const s=e||("document"in self?document.currentScript.src:"")||location.href;if(i[s])return;let o={};const a=e=>r(e,s),f={module:{uri:s},exports:o,require:a};i[s]=Promise.all(c.map((e=>f[e]||a(e)))).then((e=>(n(...e),o)))}}define(["./workbox-72a83b64"],(function(e){"use strict";self.skipWaiting(),e.precacheAndRoute([{url:"js/bootstrap.js",revision:"3ae5cb7b92474238c9cd6c9667771e8f"},{url:"js/main.js",revision:"9f6e65617cb7b7a67185b05427d97feb"},{url:"js/app.min.js",revision:"5852db2d29586e7a82e75be88c27e367"},{url:"js/extensions.min.js",revision:"49546b5dc442ef2391394f4def07462c"},{url:"js/orgchart.min.js",revision:"619d8c4dab47b81868916df31f55478b"},{url:"js/stencils.min.js",revision:"ad38046619064bc0f0790be6b5a7995f"},{url:"js/shapes-14-6-5.min.js",revision:"d4b2f375b0222562462613f553a3257c"},{url:"js/math-print.js",revision:"cf64f6a493a8cb5079f2b70813e478d7"},{url:"index.html",revision:"9de11c65ec13b24c73ace7042bc529cc"},{url:"styles/grapheditor.css",revision:"52d494798d4f6fc629a801fcd99c7fd5"},{url:"styles/high-contrast.css",revision:"4ecc9f6d08787a9e2d29dacf7aadd1ca"},{url:"js/dropbox/Dropbox-sdk.min.js",revision:"4b9842892aa37b156db0a8364b7a83b0"},{url:"js/onedrive/OneDrive.js",revision:"505e8280346666f7ee801bc59521fa67"},{url:"js/viewer-static.min.js",revision:"ac9c7f7c93224087b3c09e3bd956a87c"},{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:"75f816c208d0c621e3066a97ff0ee6cf"},{url:"connect/jira/spinner.gif",revision:"7d857ab9d86123e93d74d48e958fe743"},{url:"connect/jira/editor.js",revision:"ce61a0e62031a160e057809fefe64aa2"},{url:"connect/jira/fullscreen-viewer-init.js",revision:"d3269625ce04b7a277b779ff175957d0"},{url:"connect/jira/fullscreen-viewer.js",revision:"8eceb2fe587296dd11f9c8f6eae34c20"},{url:"plugins/connectJira.js",revision:"c4cb6b60234b04b2c8bc09e555746615"},{url:"connect/new_common/cac.js",revision:"740dce44cf53499f476ee8edc37d09a0"},{url:"connect/gdrive_common/gac.js",revision:"3bb38a5d9186a896ed04808e921ef888"},{url:"connect/onedrive_common/ac.js",revision:"5fb6ff1a73f54a9086b7a7e1f613b8ed"},{url:"resources/dia.txt",revision:"f9a270e56f91d7b63e219306ff2b63ac"},{url:"mxgraph/css/common.css",revision:"81d1704d5ab9207e2e5c7fc84379dc1a"}],{ignoreURLParametersMatching:[/.*/]})}));
//# sourceMappingURL=service-worker-aj-draw-io.js.map
diff --git a/src/main/webapp/js/serviceworker/service-worker-aj-draw-io.js.map b/src/main/webapp/js/serviceworker/service-worker-aj-draw-io.js.map
index aae5896d8..3be130ae4 100644
--- a/src/main/webapp/js/serviceworker/service-worker-aj-draw-io.js.map
+++ b/src/main/webapp/js/serviceworker/service-worker-aj-draw-io.js.map
@@ -1 +1 @@
-{"version":3,"file":"service-worker-aj-draw-io.js","sources":["../../../../../../private/var/folders/5p/vxfp3wpj4slfjt2m12dxyp9c0000gn/T/cf8bc17dcfc3c151c09a2c61b531d596/service-worker-aj-draw-io"],"sourcesContent":["import {precacheAndRoute as workbox_precaching_precacheAndRoute} from '/opt/homebrew/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\": \"3ae5cb7b92474238c9cd6c9667771e8f\"\n },\n {\n \"url\": \"js/main.js\",\n \"revision\": \"9f6e65617cb7b7a67185b05427d97feb\"\n },\n {\n \"url\": \"js/app.min.js\",\n \"revision\": \"6d05bed2a81cec4877db56c9f4bad25e\"\n },\n {\n \"url\": \"js/extensions.min.js\",\n \"revision\": \"1a62536b536113c0b6cadd93b9816b22\"\n },\n {\n \"url\": \"js/orgchart.min.js\",\n \"revision\": \"619d8c4dab47b81868916df31f55478b\"\n },\n {\n \"url\": \"js/stencils.min.js\",\n \"revision\": \"ad38046619064bc0f0790be6b5a7995f\"\n },\n {\n \"url\": \"js/shapes-14-6-5.min.js\",\n \"revision\": \"d4b2f375b0222562462613f553a3257c\"\n },\n {\n \"url\": \"js/math-print.js\",\n \"revision\": \"cf64f6a493a8cb5079f2b70813e478d7\"\n },\n {\n \"url\": \"index.html\",\n \"revision\": \"9de11c65ec13b24c73ace7042bc529cc\"\n },\n {\n \"url\": \"styles/grapheditor.css\",\n \"revision\": \"52d494798d4f6fc629a801fcd99c7fd5\"\n },\n {\n \"url\": \"styles/high-contrast.css\",\n \"revision\": \"4ecc9f6d08787a9e2d29dacf7aadd1ca\"\n },\n {\n \"url\": \"js/dropbox/Dropbox-sdk.min.js\",\n \"revision\": \"4b9842892aa37b156db0a8364b7a83b0\"\n },\n {\n \"url\": \"js/onedrive/OneDrive.js\",\n \"revision\": \"505e8280346666f7ee801bc59521fa67\"\n },\n {\n \"url\": \"js/viewer-static.min.js\",\n \"revision\": \"06ea84f36f261faf66e05e3ed9b16f2f\"\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\": \"75f816c208d0c621e3066a97ff0ee6cf\"\n },\n {\n \"url\": \"connect/jira/spinner.gif\",\n \"revision\": \"7d857ab9d86123e93d74d48e958fe743\"\n },\n {\n \"url\": \"connect/jira/editor.js\",\n \"revision\": \"ce61a0e62031a160e057809fefe64aa2\"\n },\n {\n \"url\": \"connect/jira/fullscreen-viewer-init.js\",\n \"revision\": \"d3269625ce04b7a277b779ff175957d0\"\n },\n {\n \"url\": \"connect/jira/fullscreen-viewer.js\",\n \"revision\": \"8eceb2fe587296dd11f9c8f6eae34c20\"\n },\n {\n \"url\": \"plugins/connectJira.js\",\n \"revision\": \"c4cb6b60234b04b2c8bc09e555746615\"\n },\n {\n \"url\": \"connect/new_common/cac.js\",\n \"revision\": \"740dce44cf53499f476ee8edc37d09a0\"\n },\n {\n \"url\": \"connect/gdrive_common/gac.js\",\n \"revision\": \"3bb38a5d9186a896ed04808e921ef888\"\n },\n {\n \"url\": \"connect/onedrive_common/ac.js\",\n \"revision\": \"5fb6ff1a73f54a9086b7a7e1f613b8ed\"\n },\n {\n \"url\": \"resources/dia.txt\",\n \"revision\": \"f9a270e56f91d7b63e219306ff2b63ac\"\n },\n {\n \"url\": \"mxgraph/css/common.css\",\n \"revision\": \"81d1704d5ab9207e2e5c7fc84379dc1a\"\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,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,+BACPC,SAAY,oCAEd,CACED,IAAO,gCACPC,SAAY,oCAEd,CACED,IAAO,oBACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,qCAEb,CACDC,4BAA+B,CAAC"}
\ No newline at end of file
+{"version":3,"file":"service-worker-aj-draw-io.js","sources":["../../../../../../private/var/folders/5p/vxfp3wpj4slfjt2m12dxyp9c0000gn/T/32bc1d8995af2e276ece6e1652fc8f86/service-worker-aj-draw-io"],"sourcesContent":["import {precacheAndRoute as workbox_precaching_precacheAndRoute} from '/opt/homebrew/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\": \"3ae5cb7b92474238c9cd6c9667771e8f\"\n },\n {\n \"url\": \"js/main.js\",\n \"revision\": \"9f6e65617cb7b7a67185b05427d97feb\"\n },\n {\n \"url\": \"js/app.min.js\",\n \"revision\": \"5852db2d29586e7a82e75be88c27e367\"\n },\n {\n \"url\": \"js/extensions.min.js\",\n \"revision\": \"49546b5dc442ef2391394f4def07462c\"\n },\n {\n \"url\": \"js/orgchart.min.js\",\n \"revision\": \"619d8c4dab47b81868916df31f55478b\"\n },\n {\n \"url\": \"js/stencils.min.js\",\n \"revision\": \"ad38046619064bc0f0790be6b5a7995f\"\n },\n {\n \"url\": \"js/shapes-14-6-5.min.js\",\n \"revision\": \"d4b2f375b0222562462613f553a3257c\"\n },\n {\n \"url\": \"js/math-print.js\",\n \"revision\": \"cf64f6a493a8cb5079f2b70813e478d7\"\n },\n {\n \"url\": \"index.html\",\n \"revision\": \"9de11c65ec13b24c73ace7042bc529cc\"\n },\n {\n \"url\": \"styles/grapheditor.css\",\n \"revision\": \"52d494798d4f6fc629a801fcd99c7fd5\"\n },\n {\n \"url\": \"styles/high-contrast.css\",\n \"revision\": \"4ecc9f6d08787a9e2d29dacf7aadd1ca\"\n },\n {\n \"url\": \"js/dropbox/Dropbox-sdk.min.js\",\n \"revision\": \"4b9842892aa37b156db0a8364b7a83b0\"\n },\n {\n \"url\": \"js/onedrive/OneDrive.js\",\n \"revision\": \"505e8280346666f7ee801bc59521fa67\"\n },\n {\n \"url\": \"js/viewer-static.min.js\",\n \"revision\": \"ac9c7f7c93224087b3c09e3bd956a87c\"\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\": \"75f816c208d0c621e3066a97ff0ee6cf\"\n },\n {\n \"url\": \"connect/jira/spinner.gif\",\n \"revision\": \"7d857ab9d86123e93d74d48e958fe743\"\n },\n {\n \"url\": \"connect/jira/editor.js\",\n \"revision\": \"ce61a0e62031a160e057809fefe64aa2\"\n },\n {\n \"url\": \"connect/jira/fullscreen-viewer-init.js\",\n \"revision\": \"d3269625ce04b7a277b779ff175957d0\"\n },\n {\n \"url\": \"connect/jira/fullscreen-viewer.js\",\n \"revision\": \"8eceb2fe587296dd11f9c8f6eae34c20\"\n },\n {\n \"url\": \"plugins/connectJira.js\",\n \"revision\": \"c4cb6b60234b04b2c8bc09e555746615\"\n },\n {\n \"url\": \"connect/new_common/cac.js\",\n \"revision\": \"740dce44cf53499f476ee8edc37d09a0\"\n },\n {\n \"url\": \"connect/gdrive_common/gac.js\",\n \"revision\": \"3bb38a5d9186a896ed04808e921ef888\"\n },\n {\n \"url\": \"connect/onedrive_common/ac.js\",\n \"revision\": \"5fb6ff1a73f54a9086b7a7e1f613b8ed\"\n },\n {\n \"url\": \"resources/dia.txt\",\n \"revision\": \"f9a270e56f91d7b63e219306ff2b63ac\"\n },\n {\n \"url\": \"mxgraph/css/common.css\",\n \"revision\": \"81d1704d5ab9207e2e5c7fc84379dc1a\"\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,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,+BACPC,SAAY,oCAEd,CACED,IAAO,gCACPC,SAAY,oCAEd,CACED,IAAO,oBACPC,SAAY,oCAEd,CACED,IAAO,yBACPC,SAAY,qCAEb,CACDC,4BAA+B,CAAC"}
\ No newline at end of file
diff --git a/src/main/webapp/js/serviceworker/service-worker-app-diagrams-net.js b/src/main/webapp/js/serviceworker/service-worker-app-diagrams-net.js
index a73016ab8..151cbd8a5 100644
--- a/src/main/webapp/js/serviceworker/service-worker-app-diagrams-net.js
+++ b/src/main/webapp/js/serviceworker/service-worker-app-diagrams-net.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 d=e=>s(e,c),f={module:{uri:c},exports:o,require:d};i[c]=Promise.all(r.map((e=>f[e]||d(e)))).then((e=>(a(...e),o)))}}define(["./workbox-72a83b64"],(function(e){"use strict";self.skipWaiting(),e.precacheAndRoute([{url:"js/bootstrap.js",revision:"3ae5cb7b92474238c9cd6c9667771e8f"},{url:"js/main.js",revision:"9f6e65617cb7b7a67185b05427d97feb"},{url:"js/app.min.js",revision:"6d05bed2a81cec4877db56c9f4bad25e"},{url:"js/extensions.min.js",revision:"1a62536b536113c0b6cadd93b9816b22"},{url:"js/orgchart.min.js",revision:"619d8c4dab47b81868916df31f55478b"},{url:"js/stencils.min.js",revision:"ad38046619064bc0f0790be6b5a7995f"},{url:"js/shapes-14-6-5.min.js",revision:"d4b2f375b0222562462613f553a3257c"},{url:"js/math-print.js",revision:"cf64f6a493a8cb5079f2b70813e478d7"},{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:"52d494798d4f6fc629a801fcd99c7fd5"},{url:"styles/high-contrast.css",revision:"4ecc9f6d08787a9e2d29dacf7aadd1ca"},{url:"js/dropbox/Dropbox-sdk.min.js",revision:"4b9842892aa37b156db0a8364b7a83b0"},{url:"js/onedrive/OneDrive.js",revision:"505e8280346666f7ee801bc59521fa67"},{url:"connect/new_common/cac.js",revision:"740dce44cf53499f476ee8edc37d09a0"},{url:"connect/gdrive_common/gac.js",revision:"3bb38a5d9186a896ed04808e921ef888"},{url:"connect/onedrive_common/ac.js",revision:"5fb6ff1a73f54a9086b7a7e1f613b8ed"},{url:"math/es5/startup.js",revision:"dc7130cdc866593293dbb5dde11ceb40"},{url:"math/es5/core.js",revision:"f71bc0bfb7d2ac8261747f97a5d47dd4"},{url:"math/es5/ui/safe.js",revision:"8c1fcfee7c879588ad409edcdd9cce53"},{url:"math/es5/output/svg.js",revision:"4f55967d16197ebb01b86356d8ab179a"},{url:"math/es5/input/tex.js",revision:"5c4f470da2ccb1acf85041fcecd6fff6"},{url:"math/es5/input/asciimath.js",revision:"c2d4076dd8e26d509bfe3a378e71cfa7"},{url:"math/es5/output/svg/fonts/tex.js",revision:"6eab785a3788ea805bd2b552d1f0aab8"},{url:"resources/dia.txt",revision:"f9a270e56f91d7b63e219306ff2b63ac"},{url:"resources/dia_da.txt",revision:"0efd12fd7f0e123bb9423ad1ffe9e656"},{url:"resources/dia_de.txt",revision:"469fb636bc289ba77a097ab7adf16a34"},{url:"resources/dia_es.txt",revision:"82f09fd89c36d86b3fef59329a613c65"},{url:"resources/dia_fr.txt",revision:"c2a77b9e1f6d0b19dfc1e7bd40af2b42"},{url:"resources/dia_id.txt",revision:"86ec19a2e1447a469019e06b5b45ea58"},{url:"resources/dia_it.txt",revision:"9e23d17c9eb7a8d074336f267f7bd2f8"},{url:"resources/dia_ja.txt",revision:"b76dd5c357b3ff1dfcabaddeab376d65"},{url:"resources/dia_ko.txt",revision:"229e8f9c3d84e4635561ba392c465d11"},{url:"resources/dia_nl.txt",revision:"b6e0431168d72e1a515bcef3e2c5aff0"},{url:"resources/dia_pl.txt",revision:"ae3475b10f2824045fa7076f4584c085"},{url:"resources/dia_pt.txt",revision:"d0c985f25e2924dd25bd540a82c3fd66"},{url:"resources/dia_ru.txt",revision:"5aed41ed91e16b0e77879e74c8843768"},{url:"resources/dia_vi.txt",revision:"8576286953704e5cdd6727eb3ec484f4"},{url:"resources/dia_zh.txt",revision:"f2fcdf5b619faf471bff3703fc0bf75f"},{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/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/spin.gif",revision:"487cbb40b9ced439aa1ad914e816d773"},{url:"images/aui-wait.gif",revision:"5a474bcbd8d2f2826f03d10ea44bf60e"},{url:"mxgraph/css/common.css",revision:"81d1704d5ab9207e2e5c7fc84379dc1a"}],{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 d=e=>s(e,c),f={module:{uri:c},exports:o,require:d};i[c]=Promise.all(r.map((e=>f[e]||d(e)))).then((e=>(a(...e),o)))}}define(["./workbox-72a83b64"],(function(e){"use strict";self.skipWaiting(),e.precacheAndRoute([{url:"js/bootstrap.js",revision:"3ae5cb7b92474238c9cd6c9667771e8f"},{url:"js/main.js",revision:"9f6e65617cb7b7a67185b05427d97feb"},{url:"js/app.min.js",revision:"5852db2d29586e7a82e75be88c27e367"},{url:"js/extensions.min.js",revision:"49546b5dc442ef2391394f4def07462c"},{url:"js/orgchart.min.js",revision:"619d8c4dab47b81868916df31f55478b"},{url:"js/stencils.min.js",revision:"ad38046619064bc0f0790be6b5a7995f"},{url:"js/shapes-14-6-5.min.js",revision:"d4b2f375b0222562462613f553a3257c"},{url:"js/math-print.js",revision:"cf64f6a493a8cb5079f2b70813e478d7"},{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:"52d494798d4f6fc629a801fcd99c7fd5"},{url:"styles/high-contrast.css",revision:"4ecc9f6d08787a9e2d29dacf7aadd1ca"},{url:"js/dropbox/Dropbox-sdk.min.js",revision:"4b9842892aa37b156db0a8364b7a83b0"},{url:"js/onedrive/OneDrive.js",revision:"505e8280346666f7ee801bc59521fa67"},{url:"connect/new_common/cac.js",revision:"740dce44cf53499f476ee8edc37d09a0"},{url:"connect/gdrive_common/gac.js",revision:"3bb38a5d9186a896ed04808e921ef888"},{url:"connect/onedrive_common/ac.js",revision:"5fb6ff1a73f54a9086b7a7e1f613b8ed"},{url:"math/es5/startup.js",revision:"dc7130cdc866593293dbb5dde11ceb40"},{url:"math/es5/core.js",revision:"f71bc0bfb7d2ac8261747f97a5d47dd4"},{url:"math/es5/ui/safe.js",revision:"8c1fcfee7c879588ad409edcdd9cce53"},{url:"math/es5/output/svg.js",revision:"4f55967d16197ebb01b86356d8ab179a"},{url:"math/es5/input/tex.js",revision:"5c4f470da2ccb1acf85041fcecd6fff6"},{url:"math/es5/input/asciimath.js",revision:"c2d4076dd8e26d509bfe3a378e71cfa7"},{url:"math/es5/output/svg/fonts/tex.js",revision:"6eab785a3788ea805bd2b552d1f0aab8"},{url:"resources/dia.txt",revision:"f9a270e56f91d7b63e219306ff2b63ac"},{url:"resources/dia_da.txt",revision:"0efd12fd7f0e123bb9423ad1ffe9e656"},{url:"resources/dia_de.txt",revision:"469fb636bc289ba77a097ab7adf16a34"},{url:"resources/dia_es.txt",revision:"82f09fd89c36d86b3fef59329a613c65"},{url:"resources/dia_fr.txt",revision:"c2a77b9e1f6d0b19dfc1e7bd40af2b42"},{url:"resources/dia_id.txt",revision:"83d5c8178aa9b75a7d8be9854501508f"},{url:"resources/dia_it.txt",revision:"9e23d17c9eb7a8d074336f267f7bd2f8"},{url:"resources/dia_ja.txt",revision:"b76dd5c357b3ff1dfcabaddeab376d65"},{url:"resources/dia_ko.txt",revision:"229e8f9c3d84e4635561ba392c465d11"},{url:"resources/dia_nl.txt",revision:"b6e0431168d72e1a515bcef3e2c5aff0"},{url:"resources/dia_pl.txt",revision:"ae3475b10f2824045fa7076f4584c085"},{url:"resources/dia_pt.txt",revision:"d0c985f25e2924dd25bd540a82c3fd66"},{url:"resources/dia_ru.txt",revision:"5aed41ed91e16b0e77879e74c8843768"},{url:"resources/dia_vi.txt",revision:"8576286953704e5cdd6727eb3ec484f4"},{url:"resources/dia_zh.txt",revision:"f2fcdf5b619faf471bff3703fc0bf75f"},{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/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/spin.gif",revision:"487cbb40b9ced439aa1ad914e816d773"},{url:"images/aui-wait.gif",revision:"5a474bcbd8d2f2826f03d10ea44bf60e"},{url:"mxgraph/css/common.css",revision:"81d1704d5ab9207e2e5c7fc84379dc1a"}],{ignoreURLParametersMatching:[/.*/]})}));
//# sourceMappingURL=service-worker-app-diagrams-net.js.map
diff --git a/src/main/webapp/js/serviceworker/service-worker-app-diagrams-net.js.map b/src/main/webapp/js/serviceworker/service-worker-app-diagrams-net.js.map
index 6777c0e5d..3420d74d4 100644
--- a/src/main/webapp/js/serviceworker/service-worker-app-diagrams-net.js.map
+++ b/src/main/webapp/js/serviceworker/service-worker-app-diagrams-net.js.map
@@ -1 +1 @@
-{"version":3,"file":"service-worker-app-diagrams-net.js","sources":["../../../../../../private/var/folders/5p/vxfp3wpj4slfjt2m12dxyp9c0000gn/T/fe7359531a0298b4254a1f28663e3e96/service-worker-app-diagrams-net.js"],"sourcesContent":["import {precacheAndRoute as workbox_precaching_precacheAndRoute} from '/opt/homebrew/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\": \"3ae5cb7b92474238c9cd6c9667771e8f\"\n },\n {\n \"url\": \"js/main.js\",\n \"revision\": \"9f6e65617cb7b7a67185b05427d97feb\"\n },\n {\n \"url\": \"js/app.min.js\",\n \"revision\": \"6d05bed2a81cec4877db56c9f4bad25e\"\n },\n {\n \"url\": \"js/extensions.min.js\",\n \"revision\": \"1a62536b536113c0b6cadd93b9816b22\"\n },\n {\n \"url\": \"js/orgchart.min.js\",\n \"revision\": \"619d8c4dab47b81868916df31f55478b\"\n },\n {\n \"url\": \"js/stencils.min.js\",\n \"revision\": \"ad38046619064bc0f0790be6b5a7995f\"\n },\n {\n \"url\": \"js/shapes-14-6-5.min.js\",\n \"revision\": \"d4b2f375b0222562462613f553a3257c\"\n },\n {\n \"url\": \"js/math-print.js\",\n \"revision\": \"cf64f6a493a8cb5079f2b70813e478d7\"\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\": \"52d494798d4f6fc629a801fcd99c7fd5\"\n },\n {\n \"url\": \"styles/high-contrast.css\",\n \"revision\": \"4ecc9f6d08787a9e2d29dacf7aadd1ca\"\n },\n {\n \"url\": \"js/dropbox/Dropbox-sdk.min.js\",\n \"revision\": \"4b9842892aa37b156db0a8364b7a83b0\"\n },\n {\n \"url\": \"js/onedrive/OneDrive.js\",\n \"revision\": \"505e8280346666f7ee801bc59521fa67\"\n },\n {\n \"url\": \"connect/new_common/cac.js\",\n \"revision\": \"740dce44cf53499f476ee8edc37d09a0\"\n },\n {\n \"url\": \"connect/gdrive_common/gac.js\",\n \"revision\": \"3bb38a5d9186a896ed04808e921ef888\"\n },\n {\n \"url\": \"connect/onedrive_common/ac.js\",\n \"revision\": \"5fb6ff1a73f54a9086b7a7e1f613b8ed\"\n },\n {\n \"url\": \"math/es5/startup.js\",\n \"revision\": \"dc7130cdc866593293dbb5dde11ceb40\"\n },\n {\n \"url\": \"math/es5/core.js\",\n \"revision\": \"f71bc0bfb7d2ac8261747f97a5d47dd4\"\n },\n {\n \"url\": \"math/es5/ui/safe.js\",\n \"revision\": \"8c1fcfee7c879588ad409edcdd9cce53\"\n },\n {\n \"url\": \"math/es5/output/svg.js\",\n \"revision\": \"4f55967d16197ebb01b86356d8ab179a\"\n },\n {\n \"url\": \"math/es5/input/tex.js\",\n \"revision\": \"5c4f470da2ccb1acf85041fcecd6fff6\"\n },\n {\n \"url\": \"math/es5/input/asciimath.js\",\n \"revision\": \"c2d4076dd8e26d509bfe3a378e71cfa7\"\n },\n {\n \"url\": \"math/es5/output/svg/fonts/tex.js\",\n \"revision\": \"6eab785a3788ea805bd2b552d1f0aab8\"\n },\n {\n \"url\": \"resources/dia.txt\",\n \"revision\": \"f9a270e56f91d7b63e219306ff2b63ac\"\n },\n {\n \"url\": \"resources/dia_da.txt\",\n \"revision\": \"0efd12fd7f0e123bb9423ad1ffe9e656\"\n },\n {\n \"url\": \"resources/dia_de.txt\",\n \"revision\": \"469fb636bc289ba77a097ab7adf16a34\"\n },\n {\n \"url\": \"resources/dia_es.txt\",\n \"revision\": \"82f09fd89c36d86b3fef59329a613c65\"\n },\n {\n \"url\": \"resources/dia_fr.txt\",\n \"revision\": \"c2a77b9e1f6d0b19dfc1e7bd40af2b42\"\n },\n {\n \"url\": \"resources/dia_id.txt\",\n \"revision\": \"86ec19a2e1447a469019e06b5b45ea58\"\n },\n {\n \"url\": \"resources/dia_it.txt\",\n \"revision\": \"9e23d17c9eb7a8d074336f267f7bd2f8\"\n },\n {\n \"url\": \"resources/dia_ja.txt\",\n \"revision\": \"b76dd5c357b3ff1dfcabaddeab376d65\"\n },\n {\n \"url\": \"resources/dia_ko.txt\",\n \"revision\": \"229e8f9c3d84e4635561ba392c465d11\"\n },\n {\n \"url\": \"resources/dia_nl.txt\",\n \"revision\": \"b6e0431168d72e1a515bcef3e2c5aff0\"\n },\n {\n \"url\": \"resources/dia_pl.txt\",\n \"revision\": \"ae3475b10f2824045fa7076f4584c085\"\n },\n {\n \"url\": \"resources/dia_pt.txt\",\n \"revision\": \"d0c985f25e2924dd25bd540a82c3fd66\"\n },\n {\n \"url\": \"resources/dia_ru.txt\",\n \"revision\": \"5aed41ed91e16b0e77879e74c8843768\"\n },\n {\n \"url\": \"resources/dia_vi.txt\",\n \"revision\": \"8576286953704e5cdd6727eb3ec484f4\"\n },\n {\n \"url\": \"resources/dia_zh.txt\",\n \"revision\": \"f2fcdf5b619faf471bff3703fc0bf75f\"\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/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/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\": \"81d1704d5ab9207e2e5c7fc84379dc1a\"\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,kBACKC,SAAA,oCAEd,CACED,IAAO,aACKC,SAAA,oCAEd,CACED,IAAO,gBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,qBACKC,SAAA,oCAEd,CACED,IAAO,qBACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,mBACKC,SAAA,oCAEd,CACED,IAAO,aACKC,SAAA,oCAEd,CACED,IAAO,YACKC,SAAA,oCAEd,CACED,IAAO,gBACKC,SAAA,oCAEd,CACED,IAAO,8CACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,2BACKC,SAAA,oCAEd,CACED,IAAO,gCACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,4BACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,gCACKC,SAAA,oCAEd,CACED,IAAO,sBACKC,SAAA,oCAEd,CACED,IAAO,mBACKC,SAAA,oCAEd,CACED,IAAO,sBACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,wBACKC,SAAA,oCAEd,CACED,IAAO,8BACKC,SAAA,oCAEd,CACED,IAAO,mCACKC,SAAA,oCAEd,CACED,IAAO,oBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,cACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,kBACKC,SAAA,oCAEd,CACED,IAAO,sBACKC,SAAA,oCAEd,CACED,IAAO,6BACKC,SAAA,oCAEd,CACED,IAAO,8BACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,sBACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,sBACKC,SAAA,oCAEd,CACED,IAAO,oBACKC,SAAA,oCAEd,CACED,IAAO,wBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,2BACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,gCACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,qCACKC,SAAA,oCAEd,CACED,IAAO,gCACKC,SAAA,oCAEd,CACED,IAAO,iCACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,sCACKC,SAAA,oCAEd,CACED,IAAO,kBACKC,SAAA,oCAEd,CACED,IAAO,sBACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,qCAEb,CACDC,4BAA+B,CAAC"}
\ No newline at end of file
+{"version":3,"file":"service-worker-app-diagrams-net.js","sources":["../../../../../../private/var/folders/5p/vxfp3wpj4slfjt2m12dxyp9c0000gn/T/84315260df89d783e09e1c9dc1e8d759/service-worker-app-diagrams-net.js"],"sourcesContent":["import {precacheAndRoute as workbox_precaching_precacheAndRoute} from '/opt/homebrew/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\": \"3ae5cb7b92474238c9cd6c9667771e8f\"\n },\n {\n \"url\": \"js/main.js\",\n \"revision\": \"9f6e65617cb7b7a67185b05427d97feb\"\n },\n {\n \"url\": \"js/app.min.js\",\n \"revision\": \"5852db2d29586e7a82e75be88c27e367\"\n },\n {\n \"url\": \"js/extensions.min.js\",\n \"revision\": \"49546b5dc442ef2391394f4def07462c\"\n },\n {\n \"url\": \"js/orgchart.min.js\",\n \"revision\": \"619d8c4dab47b81868916df31f55478b\"\n },\n {\n \"url\": \"js/stencils.min.js\",\n \"revision\": \"ad38046619064bc0f0790be6b5a7995f\"\n },\n {\n \"url\": \"js/shapes-14-6-5.min.js\",\n \"revision\": \"d4b2f375b0222562462613f553a3257c\"\n },\n {\n \"url\": \"js/math-print.js\",\n \"revision\": \"cf64f6a493a8cb5079f2b70813e478d7\"\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\": \"52d494798d4f6fc629a801fcd99c7fd5\"\n },\n {\n \"url\": \"styles/high-contrast.css\",\n \"revision\": \"4ecc9f6d08787a9e2d29dacf7aadd1ca\"\n },\n {\n \"url\": \"js/dropbox/Dropbox-sdk.min.js\",\n \"revision\": \"4b9842892aa37b156db0a8364b7a83b0\"\n },\n {\n \"url\": \"js/onedrive/OneDrive.js\",\n \"revision\": \"505e8280346666f7ee801bc59521fa67\"\n },\n {\n \"url\": \"connect/new_common/cac.js\",\n \"revision\": \"740dce44cf53499f476ee8edc37d09a0\"\n },\n {\n \"url\": \"connect/gdrive_common/gac.js\",\n \"revision\": \"3bb38a5d9186a896ed04808e921ef888\"\n },\n {\n \"url\": \"connect/onedrive_common/ac.js\",\n \"revision\": \"5fb6ff1a73f54a9086b7a7e1f613b8ed\"\n },\n {\n \"url\": \"math/es5/startup.js\",\n \"revision\": \"dc7130cdc866593293dbb5dde11ceb40\"\n },\n {\n \"url\": \"math/es5/core.js\",\n \"revision\": \"f71bc0bfb7d2ac8261747f97a5d47dd4\"\n },\n {\n \"url\": \"math/es5/ui/safe.js\",\n \"revision\": \"8c1fcfee7c879588ad409edcdd9cce53\"\n },\n {\n \"url\": \"math/es5/output/svg.js\",\n \"revision\": \"4f55967d16197ebb01b86356d8ab179a\"\n },\n {\n \"url\": \"math/es5/input/tex.js\",\n \"revision\": \"5c4f470da2ccb1acf85041fcecd6fff6\"\n },\n {\n \"url\": \"math/es5/input/asciimath.js\",\n \"revision\": \"c2d4076dd8e26d509bfe3a378e71cfa7\"\n },\n {\n \"url\": \"math/es5/output/svg/fonts/tex.js\",\n \"revision\": \"6eab785a3788ea805bd2b552d1f0aab8\"\n },\n {\n \"url\": \"resources/dia.txt\",\n \"revision\": \"f9a270e56f91d7b63e219306ff2b63ac\"\n },\n {\n \"url\": \"resources/dia_da.txt\",\n \"revision\": \"0efd12fd7f0e123bb9423ad1ffe9e656\"\n },\n {\n \"url\": \"resources/dia_de.txt\",\n \"revision\": \"469fb636bc289ba77a097ab7adf16a34\"\n },\n {\n \"url\": \"resources/dia_es.txt\",\n \"revision\": \"82f09fd89c36d86b3fef59329a613c65\"\n },\n {\n \"url\": \"resources/dia_fr.txt\",\n \"revision\": \"c2a77b9e1f6d0b19dfc1e7bd40af2b42\"\n },\n {\n \"url\": \"resources/dia_id.txt\",\n \"revision\": \"83d5c8178aa9b75a7d8be9854501508f\"\n },\n {\n \"url\": \"resources/dia_it.txt\",\n \"revision\": \"9e23d17c9eb7a8d074336f267f7bd2f8\"\n },\n {\n \"url\": \"resources/dia_ja.txt\",\n \"revision\": \"b76dd5c357b3ff1dfcabaddeab376d65\"\n },\n {\n \"url\": \"resources/dia_ko.txt\",\n \"revision\": \"229e8f9c3d84e4635561ba392c465d11\"\n },\n {\n \"url\": \"resources/dia_nl.txt\",\n \"revision\": \"b6e0431168d72e1a515bcef3e2c5aff0\"\n },\n {\n \"url\": \"resources/dia_pl.txt\",\n \"revision\": \"ae3475b10f2824045fa7076f4584c085\"\n },\n {\n \"url\": \"resources/dia_pt.txt\",\n \"revision\": \"d0c985f25e2924dd25bd540a82c3fd66\"\n },\n {\n \"url\": \"resources/dia_ru.txt\",\n \"revision\": \"5aed41ed91e16b0e77879e74c8843768\"\n },\n {\n \"url\": \"resources/dia_vi.txt\",\n \"revision\": \"8576286953704e5cdd6727eb3ec484f4\"\n },\n {\n \"url\": \"resources/dia_zh.txt\",\n \"revision\": \"f2fcdf5b619faf471bff3703fc0bf75f\"\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/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/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\": \"81d1704d5ab9207e2e5c7fc84379dc1a\"\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,kBACKC,SAAA,oCAEd,CACED,IAAO,aACKC,SAAA,oCAEd,CACED,IAAO,gBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,qBACKC,SAAA,oCAEd,CACED,IAAO,qBACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,mBACKC,SAAA,oCAEd,CACED,IAAO,aACKC,SAAA,oCAEd,CACED,IAAO,YACKC,SAAA,oCAEd,CACED,IAAO,gBACKC,SAAA,oCAEd,CACED,IAAO,8CACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,2BACKC,SAAA,oCAEd,CACED,IAAO,gCACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,4BACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,gCACKC,SAAA,oCAEd,CACED,IAAO,sBACKC,SAAA,oCAEd,CACED,IAAO,mBACKC,SAAA,oCAEd,CACED,IAAO,sBACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,wBACKC,SAAA,oCAEd,CACED,IAAO,8BACKC,SAAA,oCAEd,CACED,IAAO,mCACKC,SAAA,oCAEd,CACED,IAAO,oBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,cACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,kBACKC,SAAA,oCAEd,CACED,IAAO,sBACKC,SAAA,oCAEd,CACED,IAAO,6BACKC,SAAA,oCAEd,CACED,IAAO,8BACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,sBACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,sBACKC,SAAA,oCAEd,CACED,IAAO,oBACKC,SAAA,oCAEd,CACED,IAAO,wBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,2BACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,gCACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,qCACKC,SAAA,oCAEd,CACED,IAAO,gCACKC,SAAA,oCAEd,CACED,IAAO,iCACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,sCACKC,SAAA,oCAEd,CACED,IAAO,kBACKC,SAAA,oCAEd,CACED,IAAO,sBACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,qCAEb,CACDC,4BAA+B,CAAC"}
\ No newline at end of file
diff --git a/src/main/webapp/js/serviceworker/service-worker-embed-viewer-diagrams-net.js b/src/main/webapp/js/serviceworker/service-worker-embed-viewer-diagrams-net.js
index 5c2e0659a..fd8af8fba 100644
--- a/src/main/webapp/js/serviceworker/service-worker-embed-viewer-diagrams-net.js
+++ b/src/main/webapp/js/serviceworker/service-worker-embed-viewer-diagrams-net.js
@@ -1,2 +1,2 @@
-if(!self.define){let e,s={};const i=(i,r)=>(i=new URL(i+".js",r).href,s[i]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=s,document.head.appendChild(e)}else e=i,importScripts(i),s()})).then((()=>{let e=s[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e})));self.define=(r,c)=>{const n=e||("document"in self?document.currentScript.src:"")||location.href;if(s[n])return;let o={};const d=e=>i(e,n),a={module:{uri:n},exports:o,require:d};s[n]=Promise.all(r.map((e=>a[e]||d(e)))).then((e=>(c(...e),o)))}}define(["./workbox-72a83b64"],(function(e){"use strict";self.skipWaiting(),e.precacheAndRoute([{url:"js/bootstrap.js",revision:"3ae5cb7b92474238c9cd6c9667771e8f"},{url:"js/main.js",revision:"9f6e65617cb7b7a67185b05427d97feb"},{url:"js/app.min.js",revision:"6d05bed2a81cec4877db56c9f4bad25e"},{url:"js/extensions.min.js",revision:"1a62536b536113c0b6cadd93b9816b22"},{url:"js/orgchart.min.js",revision:"619d8c4dab47b81868916df31f55478b"},{url:"js/stencils.min.js",revision:"ad38046619064bc0f0790be6b5a7995f"},{url:"js/shapes-14-6-5.min.js",revision:"d4b2f375b0222562462613f553a3257c"},{url:"js/math-print.js",revision:"cf64f6a493a8cb5079f2b70813e478d7"},{url:"index.html",revision:"9de11c65ec13b24c73ace7042bc529cc"},{url:"styles/grapheditor.css",revision:"52d494798d4f6fc629a801fcd99c7fd5"},{url:"styles/high-contrast.css",revision:"4ecc9f6d08787a9e2d29dacf7aadd1ca"},{url:"js/dropbox/Dropbox-sdk.min.js",revision:"4b9842892aa37b156db0a8364b7a83b0"},{url:"js/onedrive/OneDrive.js",revision:"505e8280346666f7ee801bc59521fa67"},{url:"js/viewer-static.min.js",revision:"06ea84f36f261faf66e05e3ed9b16f2f"},{url:"resources/dia.txt",revision:"f9a270e56f91d7b63e219306ff2b63ac"},{url:"mxgraph/css/common.css",revision:"81d1704d5ab9207e2e5c7fc84379dc1a"}],{ignoreURLParametersMatching:[/.*/]})}));
+if(!self.define){let e,s={};const i=(i,r)=>(i=new URL(i+".js",r).href,s[i]||new Promise((s=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=s,document.head.appendChild(e)}else e=i,importScripts(i),s()})).then((()=>{let e=s[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e})));self.define=(r,c)=>{const n=e||("document"in self?document.currentScript.src:"")||location.href;if(s[n])return;let o={};const d=e=>i(e,n),t={module:{uri:n},exports:o,require:d};s[n]=Promise.all(r.map((e=>t[e]||d(e)))).then((e=>(c(...e),o)))}}define(["./workbox-72a83b64"],(function(e){"use strict";self.skipWaiting(),e.precacheAndRoute([{url:"js/bootstrap.js",revision:"3ae5cb7b92474238c9cd6c9667771e8f"},{url:"js/main.js",revision:"9f6e65617cb7b7a67185b05427d97feb"},{url:"js/app.min.js",revision:"5852db2d29586e7a82e75be88c27e367"},{url:"js/extensions.min.js",revision:"49546b5dc442ef2391394f4def07462c"},{url:"js/orgchart.min.js",revision:"619d8c4dab47b81868916df31f55478b"},{url:"js/stencils.min.js",revision:"ad38046619064bc0f0790be6b5a7995f"},{url:"js/shapes-14-6-5.min.js",revision:"d4b2f375b0222562462613f553a3257c"},{url:"js/math-print.js",revision:"cf64f6a493a8cb5079f2b70813e478d7"},{url:"index.html",revision:"9de11c65ec13b24c73ace7042bc529cc"},{url:"styles/grapheditor.css",revision:"52d494798d4f6fc629a801fcd99c7fd5"},{url:"styles/high-contrast.css",revision:"4ecc9f6d08787a9e2d29dacf7aadd1ca"},{url:"js/dropbox/Dropbox-sdk.min.js",revision:"4b9842892aa37b156db0a8364b7a83b0"},{url:"js/onedrive/OneDrive.js",revision:"505e8280346666f7ee801bc59521fa67"},{url:"js/viewer-static.min.js",revision:"ac9c7f7c93224087b3c09e3bd956a87c"},{url:"resources/dia.txt",revision:"f9a270e56f91d7b63e219306ff2b63ac"},{url:"mxgraph/css/common.css",revision:"81d1704d5ab9207e2e5c7fc84379dc1a"}],{ignoreURLParametersMatching:[/.*/]})}));
//# sourceMappingURL=service-worker-embed-viewer-diagrams-net.js.map
diff --git a/src/main/webapp/js/serviceworker/service-worker-embed-viewer-diagrams-net.js.map b/src/main/webapp/js/serviceworker/service-worker-embed-viewer-diagrams-net.js.map
index 36a85c2ee..f0cb715ac 100644
--- a/src/main/webapp/js/serviceworker/service-worker-embed-viewer-diagrams-net.js.map
+++ b/src/main/webapp/js/serviceworker/service-worker-embed-viewer-diagrams-net.js.map
@@ -1 +1 @@
-{"version":3,"file":"service-worker-embed-viewer-diagrams-net.js","sources":["../../../../../../private/var/folders/5p/vxfp3wpj4slfjt2m12dxyp9c0000gn/T/3e0c7ab54f3543a829ca4e39e61b73a2/service-worker-embed-viewer-diagrams-net.js"],"sourcesContent":["import {precacheAndRoute as workbox_precaching_precacheAndRoute} from '/opt/homebrew/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\": \"3ae5cb7b92474238c9cd6c9667771e8f\"\n },\n {\n \"url\": \"js/main.js\",\n \"revision\": \"9f6e65617cb7b7a67185b05427d97feb\"\n },\n {\n \"url\": \"js/app.min.js\",\n \"revision\": \"6d05bed2a81cec4877db56c9f4bad25e\"\n },\n {\n \"url\": \"js/extensions.min.js\",\n \"revision\": \"1a62536b536113c0b6cadd93b9816b22\"\n },\n {\n \"url\": \"js/orgchart.min.js\",\n \"revision\": \"619d8c4dab47b81868916df31f55478b\"\n },\n {\n \"url\": \"js/stencils.min.js\",\n \"revision\": \"ad38046619064bc0f0790be6b5a7995f\"\n },\n {\n \"url\": \"js/shapes-14-6-5.min.js\",\n \"revision\": \"d4b2f375b0222562462613f553a3257c\"\n },\n {\n \"url\": \"js/math-print.js\",\n \"revision\": \"cf64f6a493a8cb5079f2b70813e478d7\"\n },\n {\n \"url\": \"index.html\",\n \"revision\": \"9de11c65ec13b24c73ace7042bc529cc\"\n },\n {\n \"url\": \"styles/grapheditor.css\",\n \"revision\": \"52d494798d4f6fc629a801fcd99c7fd5\"\n },\n {\n \"url\": \"styles/high-contrast.css\",\n \"revision\": \"4ecc9f6d08787a9e2d29dacf7aadd1ca\"\n },\n {\n \"url\": \"js/dropbox/Dropbox-sdk.min.js\",\n \"revision\": \"4b9842892aa37b156db0a8364b7a83b0\"\n },\n {\n \"url\": \"js/onedrive/OneDrive.js\",\n \"revision\": \"505e8280346666f7ee801bc59521fa67\"\n },\n {\n \"url\": \"js/viewer-static.min.js\",\n \"revision\": \"06ea84f36f261faf66e05e3ed9b16f2f\"\n },\n {\n \"url\": \"resources/dia.txt\",\n \"revision\": \"f9a270e56f91d7b63e219306ff2b63ac\"\n },\n {\n \"url\": \"mxgraph/css/common.css\",\n \"revision\": \"81d1704d5ab9207e2e5c7fc84379dc1a\"\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,kBACKC,SAAA,oCAEd,CACED,IAAO,aACKC,SAAA,oCAEd,CACED,IAAO,gBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,qBACKC,SAAA,oCAEd,CACED,IAAO,qBACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,mBACKC,SAAA,oCAEd,CACED,IAAO,aACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,2BACKC,SAAA,oCAEd,CACED,IAAO,gCACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,oBACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,qCAEb,CACDC,4BAA+B,CAAC"}
\ No newline at end of file
+{"version":3,"file":"service-worker-embed-viewer-diagrams-net.js","sources":["../../../../../../private/var/folders/5p/vxfp3wpj4slfjt2m12dxyp9c0000gn/T/a9a9e6b5b9dc966bbc4b4af8e144d94a/service-worker-embed-viewer-diagrams-net.js"],"sourcesContent":["import {precacheAndRoute as workbox_precaching_precacheAndRoute} from '/opt/homebrew/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\": \"3ae5cb7b92474238c9cd6c9667771e8f\"\n },\n {\n \"url\": \"js/main.js\",\n \"revision\": \"9f6e65617cb7b7a67185b05427d97feb\"\n },\n {\n \"url\": \"js/app.min.js\",\n \"revision\": \"5852db2d29586e7a82e75be88c27e367\"\n },\n {\n \"url\": \"js/extensions.min.js\",\n \"revision\": \"49546b5dc442ef2391394f4def07462c\"\n },\n {\n \"url\": \"js/orgchart.min.js\",\n \"revision\": \"619d8c4dab47b81868916df31f55478b\"\n },\n {\n \"url\": \"js/stencils.min.js\",\n \"revision\": \"ad38046619064bc0f0790be6b5a7995f\"\n },\n {\n \"url\": \"js/shapes-14-6-5.min.js\",\n \"revision\": \"d4b2f375b0222562462613f553a3257c\"\n },\n {\n \"url\": \"js/math-print.js\",\n \"revision\": \"cf64f6a493a8cb5079f2b70813e478d7\"\n },\n {\n \"url\": \"index.html\",\n \"revision\": \"9de11c65ec13b24c73ace7042bc529cc\"\n },\n {\n \"url\": \"styles/grapheditor.css\",\n \"revision\": \"52d494798d4f6fc629a801fcd99c7fd5\"\n },\n {\n \"url\": \"styles/high-contrast.css\",\n \"revision\": \"4ecc9f6d08787a9e2d29dacf7aadd1ca\"\n },\n {\n \"url\": \"js/dropbox/Dropbox-sdk.min.js\",\n \"revision\": \"4b9842892aa37b156db0a8364b7a83b0\"\n },\n {\n \"url\": \"js/onedrive/OneDrive.js\",\n \"revision\": \"505e8280346666f7ee801bc59521fa67\"\n },\n {\n \"url\": \"js/viewer-static.min.js\",\n \"revision\": \"ac9c7f7c93224087b3c09e3bd956a87c\"\n },\n {\n \"url\": \"resources/dia.txt\",\n \"revision\": \"f9a270e56f91d7b63e219306ff2b63ac\"\n },\n {\n \"url\": \"mxgraph/css/common.css\",\n \"revision\": \"81d1704d5ab9207e2e5c7fc84379dc1a\"\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,kBACKC,SAAA,oCAEd,CACED,IAAO,aACKC,SAAA,oCAEd,CACED,IAAO,gBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,qBACKC,SAAA,oCAEd,CACED,IAAO,qBACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,mBACKC,SAAA,oCAEd,CACED,IAAO,aACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,2BACKC,SAAA,oCAEd,CACED,IAAO,gCACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,oBACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,qCAEb,CACDC,4BAA+B,CAAC"}
\ No newline at end of file
diff --git a/src/main/webapp/js/viewer-static.min.js b/src/main/webapp/js/viewer-static.min.js
index ca5cb8cd7..2dc9812b3 100644
--- a/src/main/webapp/js/viewer-static.min.js
+++ b/src/main/webapp/js/viewer-static.min.js
@@ -28,7 +28,7 @@ if("1"==urlParams.offline||"1"==urlParams.demo||"1"==urlParams.stealth||"1"==url
"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:"28.0.4",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),
+window.mxImageBasePath=window.mxImageBasePath||"mxgraph/images";window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de","se"];var mxClient={VERSION:"28.0.5",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",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||
@@ -39,14 +39,14 @@ b,c)},include:function(a){document.write('<script src="'+a+'">\x3c/script>')}};"
mxClient.language="undefined"!=typeof mxLanguage&&null!=mxLanguage?mxLanguage:mxClient.IS_IE?navigator.userLanguage:navigator.language;mxClient.defaultLanguage="undefined"!=typeof mxDefaultLanguage&&null!=mxDefaultLanguage?mxDefaultLanguage:"en";mxLoadStylesheets&&mxClient.link("stylesheet","mxgraph/css/common.css");"undefined"!=typeof mxLanguages&&null!=mxLanguages&&(mxClient.languages=mxLanguages);
var mxLog={consoleName:"Console",TRACE:!1,DEBUG:!0,WARN:!0,buffer:"",init:function(){if(null==mxLog.window&&null!=document.body){var a=mxLog.consoleName+" - mxGraph "+mxClient.VERSION,b=document.createElement("table");b.setAttribute("width","100%");b.setAttribute("height","100%");var c=document.createElement("tbody"),d=document.createElement("tr"),e=document.createElement("td");e.style.verticalAlign="top";mxLog.textarea=document.createElement("textarea");mxLog.textarea.setAttribute("wrap","off");
mxLog.textarea.setAttribute("readOnly","true");mxLog.textarea.style.height="100%";mxLog.textarea.style.resize="none";mxLog.textarea.value=mxLog.buffer;mxLog.textarea.style.width=mxClient.IS_NS&&"BackCompat"!=document.compatMode?"99%":"100%";e.appendChild(mxLog.textarea);d.appendChild(e);c.appendChild(d);d=document.createElement("tr");mxLog.td=document.createElement("td");mxLog.td.style.verticalAlign="top";mxLog.td.setAttribute("height","30px");d.appendChild(mxLog.td);c.appendChild(d);b.appendChild(c);
-mxLog.addButton("Info",function(g){mxLog.info()});mxLog.addButton("DOM",function(g){g=mxUtils.getInnerHtml(document.body);mxLog.debug(g)});mxLog.addButton("Trace",function(g){mxLog.TRACE=!mxLog.TRACE;mxLog.TRACE?mxLog.debug("Tracing enabled"):mxLog.debug("Tracing disabled")});mxLog.addButton("Copy",function(g){try{mxUtils.copy(mxLog.textarea.value)}catch(k){mxUtils.alert(k)}});mxLog.addButton("Show",function(g){try{mxUtils.popup(mxLog.textarea.value)}catch(k){mxUtils.alert(k)}});mxLog.addButton("Clear",
-function(g){mxLog.textarea.value=""});d=c=0;"number"===typeof window.innerWidth?(c=window.innerHeight,d=window.innerWidth):(c=document.documentElement.clientHeight||document.body.clientHeight,d=document.body.clientWidth);mxLog.window=new mxWindow(a,b,Math.max(0,d-320),Math.max(0,c-210),300,160);mxLog.window.setMaximizable(!0);mxLog.window.setScrollable(!1);mxLog.window.setResizable(!0);mxLog.window.setClosable(!0);mxLog.window.destroyOnClose=!1;mxLog.window.title.style.paddingRight="80px";mxLog.window.title.setAttribute("title",
-a);if((mxClient.IS_NS||mxClient.IS_IE)&&!mxClient.IS_GC&&!mxClient.IS_SF&&"BackCompat"!=document.compatMode||11==document.documentMode){var f=mxLog.window.getElement();a=function(g,k){mxLog.textarea.style.height=Math.max(0,f.offsetHeight-70)+"px"};mxLog.window.addListener(mxEvent.RESIZE_END,a);mxLog.window.addListener(mxEvent.MAXIMIZE,a);mxLog.window.addListener(mxEvent.NORMALIZE,a);mxLog.textarea.style.height="92px"}}},info:function(){mxLog.writeln(mxUtils.toString(navigator))},addButton:function(a,
-b){var c=document.createElement("button");mxUtils.write(c,a);mxEvent.addListener(c,"click",b);mxLog.td.appendChild(c)},isVisible:function(){return null!=mxLog.window?mxLog.window.isVisible():!1},show:function(){mxLog.setVisible(!0)},setVisible:function(a){null==mxLog.window&&mxLog.init();null!=mxLog.window&&mxLog.window.setVisible(a)},enter:function(a){if(mxLog.TRACE)return mxLog.writeln("Entering "+a),(new Date).getTime()},leave:function(a,b){mxLog.TRACE&&(b=0!=b?" ("+((new Date).getTime()-b)+" ms)":
-"",mxLog.writeln("Leaving "+a+b))},debug:function(){mxLog.DEBUG&&mxLog.writeln.apply(this,arguments)},warn:function(){mxLog.WARN&&mxLog.writeln.apply(this,arguments)},write:function(){for(var a="",b=0;b<arguments.length;b++)a+=arguments[b],b<arguments.length-1&&(a+=" ");null!=mxLog.textarea?(mxLog.textarea.value+=a,null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Presto/2.5")&&(mxLog.textarea.style.visibility="hidden",mxLog.textarea.style.visibility="visible"),mxLog.textarea.scrollTop=mxLog.textarea.scrollHeight):
-mxLog.buffer+=a},writeln:function(){for(var a="",b=0;b<arguments.length;b++)a+=arguments[b],b<arguments.length-1&&(a+=" ");mxLog.write(a+"\n")}},mxObjectIdentity={FIELD_NAME:"mxObjectId",counter:0,get:function(a){if(null!=a){if(null==a[mxObjectIdentity.FIELD_NAME])if("object"===typeof a){var b=mxUtils.getFunctionName(a.constructor);a[mxObjectIdentity.FIELD_NAME]=b+"#"+mxObjectIdentity.counter++}else"function"===typeof a&&(a[mxObjectIdentity.FIELD_NAME]="Function#"+mxObjectIdentity.counter++);return a[mxObjectIdentity.FIELD_NAME]}return null},
-clear:function(a){"object"!==typeof a&&"function"!==typeof a||delete a[mxObjectIdentity.FIELD_NAME]}};function mxDictionary(){this.clear()}mxDictionary.prototype.map=null;mxDictionary.prototype.clear=function(){this.map={}};mxDictionary.prototype.get=function(a){a=mxObjectIdentity.get(a);return this.map[a]};mxDictionary.prototype.put=function(a,b){a=mxObjectIdentity.get(a);var c=this.map[a];this.map[a]=b;return c};
-mxDictionary.prototype.remove=function(a){a=mxObjectIdentity.get(a);var b=this.map[a];delete this.map[a];return b};mxDictionary.prototype.getCount=function(){var a=0,b;for(b in this.map)a++;return a};mxDictionary.prototype.getKeys=function(){var a=[],b;for(b in this.map)a.push(b);return a};mxDictionary.prototype.getValues=function(){var a=[],b;for(b in this.map)a.push(this.map[b]);return a};mxDictionary.prototype.visit=function(a){for(var b in this.map)a(b,this.map[b])};
+mxLog.addButton("Info",function(g){mxLog.info()});mxLog.addButton("DOM",function(g){g=mxUtils.getInnerHtml(document.body);mxLog.debug(g)});mxLog.addButton("Trace",function(g){mxLog.TRACE=!mxLog.TRACE;mxLog.TRACE?mxLog.debug("Tracing enabled"):mxLog.debug("Tracing disabled")});mxLog.addButton("Show",function(g){try{mxUtils.popup(mxLog.textarea.value)}catch(k){mxUtils.alert(k)}});mxLog.addButton("Clear",function(g){mxLog.textarea.value=""});d=c=0;"number"===typeof window.innerWidth?(c=window.innerHeight,
+d=window.innerWidth):(c=document.documentElement.clientHeight||document.body.clientHeight,d=document.body.clientWidth);mxLog.window=new mxWindow(a,b,Math.max(0,d-320),Math.max(0,c-210),300,160);mxLog.window.setMaximizable(!0);mxLog.window.setScrollable(!1);mxLog.window.setResizable(!0);mxLog.window.setClosable(!0);mxLog.window.destroyOnClose=!1;mxLog.window.title.style.paddingRight="80px";mxLog.window.title.setAttribute("title",a);if((mxClient.IS_NS||mxClient.IS_IE)&&!mxClient.IS_GC&&!mxClient.IS_SF&&
+"BackCompat"!=document.compatMode||11==document.documentMode){var f=mxLog.window.getElement();a=function(g,k){mxLog.textarea.style.height=Math.max(0,f.offsetHeight-70)+"px"};mxLog.window.addListener(mxEvent.RESIZE_END,a);mxLog.window.addListener(mxEvent.MAXIMIZE,a);mxLog.window.addListener(mxEvent.NORMALIZE,a);mxLog.textarea.style.height="92px"}}},info:function(){mxLog.writeln(mxUtils.toString(navigator))},addButton:function(a,b){var c=document.createElement("button");mxUtils.write(c,a);mxEvent.addListener(c,
+"click",b);mxLog.td.appendChild(c)},isVisible:function(){return null!=mxLog.window?mxLog.window.isVisible():!1},show:function(){mxLog.setVisible(!0)},setVisible:function(a){null==mxLog.window&&mxLog.init();null!=mxLog.window&&mxLog.window.setVisible(a)},enter:function(a){if(mxLog.TRACE)return mxLog.writeln("Entering "+a),(new Date).getTime()},leave:function(a,b){mxLog.TRACE&&(b=0!=b?" ("+((new Date).getTime()-b)+" ms)":"",mxLog.writeln("Leaving "+a+b))},debug:function(){mxLog.DEBUG&&mxLog.writeln.apply(this,
+arguments)},warn:function(){mxLog.WARN&&mxLog.writeln.apply(this,arguments)},write:function(){for(var a="",b=0;b<arguments.length;b++)a+=arguments[b],b<arguments.length-1&&(a+=" ");null!=mxLog.textarea?(mxLog.textarea.value+=a,null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Presto/2.5")&&(mxLog.textarea.style.visibility="hidden",mxLog.textarea.style.visibility="visible"),mxLog.textarea.scrollTop=mxLog.textarea.scrollHeight):mxLog.buffer+=a},writeln:function(){for(var a="",b=0;b<arguments.length;b++)a+=
+arguments[b],b<arguments.length-1&&(a+=" ");mxLog.write(a+"\n")}},mxObjectIdentity={FIELD_NAME:"mxObjectId",counter:0,get:function(a){if(null!=a){if(null==a[mxObjectIdentity.FIELD_NAME])if("object"===typeof a){var b=mxUtils.getFunctionName(a.constructor);a[mxObjectIdentity.FIELD_NAME]=b+"#"+mxObjectIdentity.counter++}else"function"===typeof a&&(a[mxObjectIdentity.FIELD_NAME]="Function#"+mxObjectIdentity.counter++);return a[mxObjectIdentity.FIELD_NAME]}return null},clear:function(a){"object"!==typeof a&&
+"function"!==typeof a||delete a[mxObjectIdentity.FIELD_NAME]}};function mxDictionary(){this.clear()}mxDictionary.prototype.map=null;mxDictionary.prototype.clear=function(){this.map={}};mxDictionary.prototype.get=function(a){a=mxObjectIdentity.get(a);return this.map[a]};mxDictionary.prototype.put=function(a,b){a=mxObjectIdentity.get(a);var c=this.map[a];this.map[a]=b;return c};mxDictionary.prototype.remove=function(a){a=mxObjectIdentity.get(a);var b=this.map[a];delete this.map[a];return b};
+mxDictionary.prototype.getCount=function(){var a=0,b;for(b in this.map)a++;return a};mxDictionary.prototype.getKeys=function(){var a=[],b;for(b in this.map)a.push(b);return a};mxDictionary.prototype.getValues=function(){var a=[],b;for(b in this.map)a.push(this.map[b]);return a};mxDictionary.prototype.visit=function(a){for(var b in this.map)a(b,this.map[b])};
var mxResources={resources:{},extension:mxResourceExtension,resourcesEncoded:!1,loadDefaultBundle:!0,loadSpecialBundle:!0,isLanguageSupported:function(a){return null!=mxClient.languages?0<=mxUtils.indexOf(mxClient.languages,a):!0},getDefaultBundle:function(a,b){return mxResources.loadDefaultBundle||!mxResources.isLanguageSupported(b)?a+mxResources.extension:null},getSpecialBundle:function(a,b){if(null==mxClient.languages||!this.isLanguageSupported(b)){var c=b.indexOf("-");0<c&&(b=b.substring(0,c))}return mxResources.loadSpecialBundle&&
mxResources.isLanguageSupported(b)&&b!=mxClient.defaultLanguage?a+"_"+b+mxResources.extension:null},add:function(a,b,c){b=null!=b?b:null!=mxClient.language?mxClient.language.toLowerCase():mxConstants.NONE;if(b!=mxConstants.NONE){var d=mxResources.getDefaultBundle(a,b),e=mxResources.getSpecialBundle(a,b),f=function(){if(null!=e)if(c)mxUtils.get(e,function(l){mxResources.parse(l.getText());c()},function(){c()});else try{var k=mxUtils.load(e);k.isReady()&&mxResources.parse(k.getText())}catch(l){}else null!=
c&&c()};if(null!=d)if(c)mxUtils.get(d,function(k){mxResources.parse(k.getText());f()},function(){f()});else try{var g=mxUtils.load(d);g.isReady()&&mxResources.parse(g.getText());f()}catch(k){}else f()}},parse:function(a){if(null!=a){a=a.split("\n");for(var b=0;b<a.length;b++)if("#"!=a[b].charAt(0)){var c=a[b].indexOf("=");if(0<c){var d=a[b].substring(0,c),e=a[b].length;13==a[b].charCodeAt(e-1)&&e--;c=a[b].substring(c+1,e);this.resourcesEncoded?(c=c.replace(/\\(?=u[a-fA-F\d]{4})/g,"%"),mxResources.resources[d]=
@@ -499,7 +499,7 @@ mxStencil.prototype.evaluateTextAttribute=function(a,b,c){b=this.evaluateAttribu
mxStencil.prototype.drawShape=function(a,b,c,d,e,f,g){g=null!=g?g:null!=b&&null!=b.state?b.state.view.graph:null;var k=a.states.slice(),l=mxUtils.getValue(b.style,mxConstants.STYLE_DIRECTION,null);l=this.computeAspect(b.style,c,d,e,f,l);var m=Math.min(l.width,l.height);m="inherit"==this.strokewidth?Number(mxUtils.getNumber(b.style,mxConstants.STYLE_STROKEWIDTH,1)):Number(this.strokewidth)*m;a.setStrokeWidth(m);null!=b.style&&"1"==mxUtils.getValue(b.style,mxConstants.STYLE_POINTER_EVENTS,"0")&&(a.setStrokeColor(mxConstants.NONE),
a.rect(c,d,e,f),a.stroke(),a.setStrokeColor(b.stroke));this.drawChildren(a,b,c,d,e,f,this.bgNode,l,!1,!0,g);this.drawChildren(a,b,c,d,e,f,this.fgNode,l,!0,!b.outline||null==b.style||0==mxUtils.getValue(b.style,mxConstants.STYLE_BACKGROUND_OUTLINE,0),g);a.states.length!=k.length&&(a.states=k)};mxStencil.prototype.drawChildren=function(a,b,c,d,e,f,g,k,l,m,n){if(null!=g&&0<e&&0<f)for(c=g.firstChild;null!=c;)c.nodeType==mxConstants.NODETYPE_ELEMENT&&this.drawNode(a,b,c,k,l,m,n),c=c.nextSibling};
mxStencil.prototype.computeAspect=function(a,b,c,d,e,f){a=b;b=d/this.w0;var g=e/this.h0;if(f=f==mxConstants.DIRECTION_NORTH||f==mxConstants.DIRECTION_SOUTH){g=d/this.h0;b=e/this.w0;var k=(d-e)/2;a+=k;c-=k}"fixed"==this.aspect&&(b=g=Math.min(b,g),f?(a+=(e-this.w0*b)/2,c+=(d-this.h0*g)/2):(a+=(d-this.w0*b)/2,c+=(e-this.h0*g)/2));return new mxRectangle(a,c,b,g)};
-mxStencil.prototype.parseColor=function(a,b,c,d,e){"stroke"==d?d=b.stroke:"fill"==d?d=b.fill:"font"==d&&null!=b.style?d=mxUtils.getValue(b.style,mxConstants.STYLE_FONTCOLOR,"black"):null==b.style||mxUtils.isValidColor(d)||(a=mxUtils.getValue(b.style,d,mxConstants.NONE),"default"==a&&(a=null!=e?"fillcolor"==c.nodeName?e.shapeBackgroundColor:e.shapeForegroundColor:"#ffffff"),d=a);return d};
+mxStencil.prototype.parseColor=function(a,b,c,d,e){"stroke"==d?d=b.stroke:"fill"==d?d=b.fill:"font"==d&&null!=b.style?d=mxUtils.getValue(b.style,mxConstants.STYLE_FONTCOLOR,"black"):null==b.style||mxUtils.isValidColor(d)||(a=c.getAttribute("default"),b=mxUtils.getValue(b.style,d,null==a?mxConstants.NONE:a),"default"==b&&(b=null!=e?"fillcolor"==c.nodeName?e.shapeBackgroundColor:e.shapeForegroundColor:"#ffffff"),d=b);return d};
mxStencil.prototype.drawNode=function(a,b,c,d,e,f,g){var k=c.nodeName,l=d.x,m=d.y,n=d.width,p=d.height,q=Math.min(n,p);if("save"==k)a.save();else if("restore"==k)a.restore();else if(f){if("path"==k){a.begin();q=!0;if("1"==c.getAttribute("rounded")){q=!1;for(var r=Number(c.getAttribute("arcSize")),t=0,u=[],v=c.firstChild;null!=v;){if(v.nodeType==mxConstants.NODETYPE_ELEMENT){var y=v.nodeName;if("move"==y||"line"==y)"move"!=y&&0!=u.length||u.push([]),u[u.length-1].push(new mxPoint(l+Number(v.getAttribute("x"))*
n,m+Number(v.getAttribute("y"))*p)),t++;else{q=!0;break}}v=v.nextSibling}if(!q&&0<t)for(n=0;n<u.length;n++)p=!1,m=u[n][0],l=u[n][u[n].length-1],m.x==l.x&&m.y==l.y&&(u[n].pop(),p=!0),this.addPoints(a,u[n],!0,r,p);else q=!0}if(q)for(v=c.firstChild;null!=v;)v.nodeType==mxConstants.NODETYPE_ELEMENT&&this.drawNode(a,b,v,d,e,f,g),v=v.nextSibling}else if("close"==k)a.close();else if("move"==k)a.moveTo(l+Number(c.getAttribute("x"))*n,m+Number(c.getAttribute("y"))*p);else if("line"==k)a.lineTo(l+Number(c.getAttribute("x"))*
n,m+Number(c.getAttribute("y"))*p);else if("quad"==k)a.quadTo(l+Number(c.getAttribute("x1"))*n,m+Number(c.getAttribute("y1"))*p,l+Number(c.getAttribute("x2"))*n,m+Number(c.getAttribute("y2"))*p);else if("curve"==k)a.curveTo(l+Number(c.getAttribute("x1"))*n,m+Number(c.getAttribute("y1"))*p,l+Number(c.getAttribute("x2"))*n,m+Number(c.getAttribute("y2"))*p,l+Number(c.getAttribute("x3"))*n,m+Number(c.getAttribute("y3"))*p);else if("arc"==k)a.arcTo(Number(c.getAttribute("rx"))*n,Number(c.getAttribute("ry"))*
@@ -2064,19 +2064,19 @@ mxEvent.getSource(Y)!=y.container||mxEvent.consume(Y))});mxEvent.addListener(doc
(!mxEvent.isControlDown(Y.getEvent())&&mxEvent.isRightMouseButton(Y.getEvent())||mxEvent.isMiddleMouseButton(Y.getEvent()))};var m=y.cellEditor.isStopEditingEvent;y.cellEditor.isStopEditingEvent=function(Y){return m.apply(this,arguments)||13==Y.keyCode&&(!mxClient.IS_SF&&mxEvent.isControlDown(Y)||mxClient.IS_MAC&&mxEvent.isMetaDown(Y)||mxClient.IS_SF&&mxEvent.isShiftDown(Y))};var n=y.isZoomWheelEvent;y.isZoomWheelEvent=function(){return u.isSpaceDown()||n.apply(this,arguments)};var x=mxUtils.bind(this,
function(){if(null!=this.toolbar)for(var Y=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,da=this.toolbar.container.firstChild;null!=da;){var ha=da.getAttribute("data-min-width");null!=ha&&parseInt(ha)>Y?da.style.display="none":da.style.display="";da=da.nextSibling}}),F=!1,I=null,M=null,L=null,K=mxUtils.bind(this,function(){if(null!=this.toolbar&&F!=y.cellEditor.isContentEditing()){for(var Y=this.toolbar.container.firstChild,da=[];null!=Y;){var ha=Y.nextSibling;
Y.parentNode.removeChild(Y);da.push(Y);Y=ha}Y=this.toolbar.fontMenu;ha=this.toolbar.sizeMenu;if(null==L)this.toolbar.createTextToolbar();else{for(var Z=0;Z<L.length;Z++)this.toolbar.container.appendChild(L[Z]);this.toolbar.fontMenu=I;this.toolbar.sizeMenu=M}F=y.cellEditor.isContentEditing();I=Y;M=ha;L=da;x()}});this.addListener("languageChanged",mxUtils.bind(this,function(){this.destroyWindows(!0);this.descriptorChanged();this.updateStatusAgain();K()}));this.addListener("currentThemeChanged",x);mxEvent.addListener(window,
-"resize",x);x();var aa=y.cellEditor.startEditing;y.cellEditor.startEditing=function(){aa.apply(this,arguments);K();if(y.cellEditor.isContentEditing()){var Y=!1,da=function(){Y||(Y=!0,window.setTimeout(function(){var ha=y.getSelectedEditingElement();null!=ha&&(ha=mxUtils.getCurrentStyle(ha),null!=ha&&null!=u.toolbar&&(u.toolbar.setFontName(mxUtils.getCssFontFamily(ha.fontFamily)),u.toolbar.setFontSize(parseInt(ha.fontSize))));Y=!1},0))};mxEvent.addListener(y.cellEditor.textarea,"input",da);mxEvent.addListener(y.cellEditor.textarea,
-"touchend",da);mxEvent.addListener(y.cellEditor.textarea,"mouseup",da);mxEvent.addListener(y.cellEditor.textarea,"keyup",da);da()}};var ja=y.cellEditor.stopEditing;y.cellEditor.stopEditing=function(Y,da){try{ja.apply(this,arguments),K()}catch(ha){u.handleError(ha)}};y.container.setAttribute("tabindex","0");y.container.style.cursor="default";if(window.self===window.top&&null!=y.container.parentNode)try{y.container.focus()}catch(Y){}var ca=y.fireMouseEvent;y.fireMouseEvent=function(Y,da,ha){try{Y==
-mxEvent.MOUSE_DOWN&&this.container.focus(),ca.apply(this,arguments)}catch(Z){u.handleError(Z)}};var ba=y.foldCells;y.foldCells=function(Y,da,ha,Z,k){try{ba.apply(this,arguments)}catch(v){u.handleError(v)}};y.popupMenuHandler.autoExpand=!0;null!=this.menus&&(y.popupMenuHandler.factoryMethod=mxUtils.bind(this,function(Y,da,ha){this.menus.createPopupMenu(Y,da,ha)}));mxEvent.addGestureListeners(document,mxUtils.bind(this,function(Y){y.popupMenuHandler.hideMenu()}));this.keyHandler=this.createKeyHandler(b);
-this.getKeyHandler=function(){return keyHandler};y.connectionHandler.addListener(mxEvent.CONNECT,function(Y,da){var ha=[da.getProperty("cell")];da.getProperty("terminalInserted")&&(ha.push(da.getProperty("terminal")),window.setTimeout(function(){null!=u.hoverIcons&&u.hoverIcons.update(y.view.getState(ha[ha.length-1]))},0));y.pasteCellStyles(ha)});this.addListener("styleChanged",mxUtils.bind(this,function(Y,da){Y=da.getProperty("force");(this.updateDefaultStyle||Y)&&y.copyCellStyles(da.getProperty("cells"),
-da.getProperty("keys"),da.getProperty("values"),y.currentVertexStyle,y.currentEdgeStyle,H,S);null!=this.toolbar&&(this.toolbar.setFontName(y.currentVertexStyle.fontFamily||Menus.prototype.defaultFont),this.toolbar.setFontSize(y.currentVertexStyle.fontSize||Menus.prototype.defaultFontSize),null!=this.toolbar.edgeStyleMenu&&("orthogonalEdgeStyle"==y.currentEdgeStyle.edgeStyle&&"1"==y.currentEdgeStyle.curved?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.curvedImage.src):"straight"==y.currentEdgeStyle.edgeStyle||
-"none"==y.currentEdgeStyle.edgeStyle||null==y.currentEdgeStyle.edgeStyle?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.straightImage.src):"entityRelationEdgeStyle"==y.currentEdgeStyle.edgeStyle?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.entityImage.src):"elbowEdgeStyle"==y.currentEdgeStyle.edgeStyle?"vertical"==y.currentEdgeStyle.elbow?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.verticalElbowImage.src):this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,
-Format.horizontalElbowImage.src):"isometricEdgeStyle"==y.currentEdgeStyle.edgeStyle?"vertical"==y.currentEdgeStyle.elbow?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.verticalIsometricImage.src):this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.horizontalIsometricImage.src):this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.orthogonalImage.src)),null!=this.toolbar.edgeShapeMenu&&("link"==y.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.linkEdgeImage.src):
-"flexArrow"==y.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.arrowImage.src):"arrow"==y.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.simpleArrowImage.src):"filledEdge"==y.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.filledEdgeImage.src):"pipe"==y.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.pipeEdgeImage.src):"wire"==y.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,
-Format.wireEdgeImage.src):this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.connectionImage.src)))}));null!=this.toolbar&&(b=mxUtils.bind(this,function(){var Y=y.currentVertexStyle.fontFamily||"Helvetica",da=String(y.currentVertexStyle.fontSize||"12"),ha=y.getView().getState(y.getSelectionCell());null!=ha&&(Y=ha.style[mxConstants.STYLE_FONTFAMILY]||Y,da=ha.style[mxConstants.STYLE_FONTSIZE]||da,10<Y.length&&(Y=Y.substring(0,8)+"..."));this.toolbar.setFontName(Y);this.toolbar.setFontSize(da)}),
-y.getSelectionModel().addListener(mxEvent.CHANGE,b),y.getModel().addListener(mxEvent.CHANGE,b));y.addListener(mxEvent.CELLS_ADDED,function(Y,da){Y=da.getProperty("cells");da=da.getProperty("parent");null!=da&&y.getModel().isLayer(da)&&!y.isCellVisible(da)&&null!=Y&&0<Y.length&&y.getModel().setVisible(da,!0)});Graph.selectParentLayer&&y.selectionModel.addListener(mxEvent.CHANGE,function(){if(y.isEnabled()&&!y.isSelectionEmpty()){var Y=y.getLayerForCells(y.getSelectionCells());null!=Y&&y.setDefaultParent(Y)}});
-this.gestureHandler=mxUtils.bind(this,function(Y){null!=this.currentMenu&&mxEvent.getSource(Y)!=this.currentMenu.div&&this.hideCurrentMenu()});mxEvent.addGestureListeners(document,this.gestureHandler);var oa=null;this.resizeHandler=mxUtils.bind(this,function(){null!=oa&&window.clearTimeout(oa);oa=window.setTimeout(mxUtils.bind(this,function(){oa=null;this.windowResized()}),100)});mxEvent.addListener(window,"resize",this.resizeHandler);this.orientationChangeHandler=mxUtils.bind(this,function(){this.refresh()});
-mxEvent.addListener(window,"orientationchange",this.orientationChangeHandler);mxClient.IS_IOS&&!window.navigator.standalone&&"undefined"!==typeof Menus&&(this.scrollHandler=mxUtils.bind(this,function(){window.scrollTo(0,0)}),mxEvent.addListener(window,"scroll",this.scrollHandler));this.editor.addListener("resetGraphView",mxUtils.bind(this,function(){this.resetScrollbars()}));this.addListener("gridEnabledChanged",mxUtils.bind(this,function(){y.view.validateBackground()}));this.addListener("backgroundColorChanged",
-mxUtils.bind(this,function(){y.view.validateBackground()}));y.addListener("gridSizeChanged",mxUtils.bind(this,function(){y.isGridEnabled()&&y.view.validateBackground()}));this.editor.resetGraph()}this.init();y.standalone||this.open()};EditorUi.compactUi=!0;
+"resize",x);x();y.isTouchPopupMenuEnabled=function(){return null==u.dialog};var aa=y.cellEditor.startEditing;y.cellEditor.startEditing=function(){aa.apply(this,arguments);K();if(y.cellEditor.isContentEditing()){var Y=!1,da=function(){Y||(Y=!0,window.setTimeout(function(){var ha=y.getSelectedEditingElement();null!=ha&&(ha=mxUtils.getCurrentStyle(ha),null!=ha&&null!=u.toolbar&&(u.toolbar.setFontName(mxUtils.getCssFontFamily(ha.fontFamily)),u.toolbar.setFontSize(parseInt(ha.fontSize))));Y=!1},0))};mxEvent.addListener(y.cellEditor.textarea,
+"input",da);mxEvent.addListener(y.cellEditor.textarea,"touchend",da);mxEvent.addListener(y.cellEditor.textarea,"mouseup",da);mxEvent.addListener(y.cellEditor.textarea,"keyup",da);da()}};var ja=y.cellEditor.stopEditing;y.cellEditor.stopEditing=function(Y,da){try{ja.apply(this,arguments),K()}catch(ha){u.handleError(ha)}};y.container.setAttribute("tabindex","0");y.container.style.cursor="default";if(window.self===window.top&&null!=y.container.parentNode)try{y.container.focus()}catch(Y){}var ca=y.fireMouseEvent;
+y.fireMouseEvent=function(Y,da,ha){try{Y==mxEvent.MOUSE_DOWN&&this.container.focus(),ca.apply(this,arguments)}catch(Z){u.handleError(Z)}};var ba=y.foldCells;y.foldCells=function(Y,da,ha,Z,k){try{ba.apply(this,arguments)}catch(v){u.handleError(v)}};y.popupMenuHandler.autoExpand=!0;null!=this.menus&&(y.popupMenuHandler.factoryMethod=mxUtils.bind(this,function(Y,da,ha){this.menus.createPopupMenu(Y,da,ha)}));mxEvent.addGestureListeners(document,mxUtils.bind(this,function(Y){y.popupMenuHandler.hideMenu()}));
+this.keyHandler=this.createKeyHandler(b);this.getKeyHandler=function(){return keyHandler};y.connectionHandler.addListener(mxEvent.CONNECT,function(Y,da){var ha=[da.getProperty("cell")];da.getProperty("terminalInserted")&&(ha.push(da.getProperty("terminal")),window.setTimeout(function(){null!=u.hoverIcons&&u.hoverIcons.update(y.view.getState(ha[ha.length-1]))},0));y.pasteCellStyles(ha)});this.addListener("styleChanged",mxUtils.bind(this,function(Y,da){Y=da.getProperty("force");(this.updateDefaultStyle||
+Y)&&y.copyCellStyles(da.getProperty("cells"),da.getProperty("keys"),da.getProperty("values"),y.currentVertexStyle,y.currentEdgeStyle,H,S);null!=this.toolbar&&(this.toolbar.setFontName(y.currentVertexStyle.fontFamily||Menus.prototype.defaultFont),this.toolbar.setFontSize(y.currentVertexStyle.fontSize||Menus.prototype.defaultFontSize),null!=this.toolbar.edgeStyleMenu&&("orthogonalEdgeStyle"==y.currentEdgeStyle.edgeStyle&&"1"==y.currentEdgeStyle.curved?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,
+Format.curvedImage.src):"straight"==y.currentEdgeStyle.edgeStyle||"none"==y.currentEdgeStyle.edgeStyle||null==y.currentEdgeStyle.edgeStyle?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.straightImage.src):"entityRelationEdgeStyle"==y.currentEdgeStyle.edgeStyle?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.entityImage.src):"elbowEdgeStyle"==y.currentEdgeStyle.edgeStyle?"vertical"==y.currentEdgeStyle.elbow?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.verticalElbowImage.src):
+this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.horizontalElbowImage.src):"isometricEdgeStyle"==y.currentEdgeStyle.edgeStyle?"vertical"==y.currentEdgeStyle.elbow?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.verticalIsometricImage.src):this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.horizontalIsometricImage.src):this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.orthogonalImage.src)),null!=this.toolbar.edgeShapeMenu&&("link"==y.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,
+Format.linkEdgeImage.src):"flexArrow"==y.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.arrowImage.src):"arrow"==y.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.simpleArrowImage.src):"filledEdge"==y.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.filledEdgeImage.src):"pipe"==y.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.pipeEdgeImage.src):"wire"==y.currentEdgeStyle.shape?
+this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.wireEdgeImage.src):this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.connectionImage.src)))}));null!=this.toolbar&&(b=mxUtils.bind(this,function(){var Y=y.currentVertexStyle.fontFamily||"Helvetica",da=String(y.currentVertexStyle.fontSize||"12"),ha=y.getView().getState(y.getSelectionCell());null!=ha&&(Y=ha.style[mxConstants.STYLE_FONTFAMILY]||Y,da=ha.style[mxConstants.STYLE_FONTSIZE]||da,10<Y.length&&(Y=Y.substring(0,8)+"..."));this.toolbar.setFontName(Y);
+this.toolbar.setFontSize(da)}),y.getSelectionModel().addListener(mxEvent.CHANGE,b),y.getModel().addListener(mxEvent.CHANGE,b));y.addListener(mxEvent.CELLS_ADDED,function(Y,da){Y=da.getProperty("cells");da=da.getProperty("parent");null!=da&&y.getModel().isLayer(da)&&!y.isCellVisible(da)&&null!=Y&&0<Y.length&&y.getModel().setVisible(da,!0)});Graph.selectParentLayer&&y.selectionModel.addListener(mxEvent.CHANGE,function(){if(y.isEnabled()&&!y.isSelectionEmpty()){var Y=y.getLayerForCells(y.getSelectionCells());
+null!=Y&&y.setDefaultParent(Y)}});this.gestureHandler=mxUtils.bind(this,function(Y){null!=this.currentMenu&&mxEvent.getSource(Y)!=this.currentMenu.div&&this.hideCurrentMenu()});mxEvent.addGestureListeners(document,this.gestureHandler);var oa=null;this.resizeHandler=mxUtils.bind(this,function(){null!=oa&&window.clearTimeout(oa);oa=window.setTimeout(mxUtils.bind(this,function(){oa=null;this.windowResized()}),100)});mxEvent.addListener(window,"resize",this.resizeHandler);this.orientationChangeHandler=
+mxUtils.bind(this,function(){this.refresh()});mxEvent.addListener(window,"orientationchange",this.orientationChangeHandler);mxClient.IS_IOS&&!window.navigator.standalone&&"undefined"!==typeof Menus&&(this.scrollHandler=mxUtils.bind(this,function(){window.scrollTo(0,0)}),mxEvent.addListener(window,"scroll",this.scrollHandler));this.editor.addListener("resetGraphView",mxUtils.bind(this,function(){this.resetScrollbars()}));this.addListener("gridEnabledChanged",mxUtils.bind(this,function(){y.view.validateBackground()}));
+this.addListener("backgroundColorChanged",mxUtils.bind(this,function(){y.view.validateBackground()}));y.addListener("gridSizeChanged",mxUtils.bind(this,function(){y.isGridEnabled()&&y.view.validateBackground()}));this.editor.resetGraph()}this.init();y.standalone||this.open()};EditorUi.compactUi=!0;
EditorUi.parsePng=function(b,f,l){function u(H,S){var E=q;q+=S;return H.substring(E,q)}function y(H){H=u(H,4);return H.charCodeAt(3)+(H.charCodeAt(2)<<8)+(H.charCodeAt(1)<<16)+(H.charCodeAt(0)<<24)}var q=0;if(u(b,8)!=String.fromCharCode(137)+"PNG"+String.fromCharCode(13,10,26,10))null!=l&&l();else if(u(b,4),"IHDR"!=u(b,4))null!=l&&l();else{u(b,17);do{l=y(b);var B=u(b,4);if(null!=f&&f(q-8,B,l))break;value=u(b,l);u(b,4);if("IEND"==B)break}while(l)}};mxUtils.extend(EditorUi,mxEventSource);
EditorUi.prototype.splitSize=mxClient.IS_TOUCH||mxClient.IS_POINTER?12:8;EditorUi.prototype.formatEnabled=!0;EditorUi.prototype.formatWidth=240;EditorUi.prototype.defaultSidebarWidth=Math.min(screen.width/2,"large"!=urlParams["sidebar-entries"]?220:230);EditorUi.prototype.hsplitPosition=screen.width<=Editor.smallScreenWidth?0:EditorUi.prototype.defaultSidebarWidth;EditorUi.prototype.allowAnimation=!0;EditorUi.prototype.lightboxMaxFitScale=2;EditorUi.prototype.lightboxVerticalDivider=4;
EditorUi.prototype.hsplitClickEnabled=!1;EditorUi.prototype.updateDefaultStyle=!1;EditorUi.prototype.spaceDown=!1;EditorUi.prototype.shiftDown=!1;
@@ -2648,62 +2648,62 @@ R.innerHTML=C;C=document.createDocumentFragment();for(var W;W=R.firstChild;)last
ia.setAttribute("rel",this.linkRelation);ia.setAttribute("href",this.getAbsoluteUrl(C));ia.setAttribute("title",W(this.isCustomLink(C)?this.getLinkTitle(C):C,80));null!=this.linkTarget&&ia.setAttribute("target",this.linkTarget);mxUtils.write(ia,W(P,40));this.isCustomLink(C)&&mxEvent.addListener(ia,"click",mxUtils.bind(this,function(ka){this.customLinkClicked(C,R);mxEvent.consume(ka)}));return ia};Graph.prototype.initTouch=function(){this.connectionHandler.marker.isEnabled=function(){return null!=
this.graph.connectionHandler.first};this.addListener(mxEvent.START_EDITING,function(ka,pa){this.popupMenuHandler.hideMenu()});var C=this.updateMouseEvent;this.updateMouseEvent=function(ka){ka=C.apply(this,arguments);if(mxEvent.isTouchEvent(ka.getEvent())&&null==ka.getState()){var pa=this.getCellAt(ka.graphX,ka.graphY);null!=pa&&this.isSwimlane(pa)&&this.hitsSwimlaneContent(pa,ka.graphX,ka.graphY)||(ka.state=this.view.getState(pa),null!=ka.state&&null!=ka.state.shape&&(this.container.style.cursor=
ka.state.shape.node.style.cursor))}null==ka.getState()&&this.isEnabled()&&(this.container.style.cursor="default");return ka};var P=!1,R=!1,W=!1,ia=this.fireMouseEvent;this.fireMouseEvent=function(ka,pa,xa){ka==mxEvent.MOUSE_DOWN&&(pa=this.updateMouseEvent(pa),P=this.isCellSelected(pa.getCell()),R=this.isSelectionEmpty(),W=this.popupMenuHandler.isMenuShowing());ia.apply(this,arguments)};this.popupMenuHandler.mouseUp=mxUtils.bind(this,function(ka,pa){if(null!=this.freehand&&!this.freehand.isDrawing()){var xa=
-mxEvent.isMouseEvent(pa.getEvent());this.popupMenuHandler.popupTrigger=!this.isEditing()&&this.isEnabled()&&(null==pa.getState()||!pa.isSource(pa.getState().control))&&(this.popupMenuHandler.popupTrigger||!W&&!xa&&(R&&null==pa.getCell()&&this.isSelectionEmpty()||P&&this.isCellSelected(pa.getCell())));xa=!P||xa?null:mxUtils.bind(this,function(ta){window.setTimeout(mxUtils.bind(this,function(){if(!this.isEditing()){var ua=mxUtils.getScrollOrigin();this.popupMenuHandler.popup(pa.getX()+ua.x+1,pa.getY()+
-ua.y+1,ta,pa.getEvent())}}),300)});mxPopupMenuHandler.prototype.mouseUp.apply(this.popupMenuHandler,[ka,pa,xa])}})};mxCellEditor.prototype.isContentEditing=function(){var C=this.graph.view.getState(this.editingCell);return null!=C&&1==C.style.html};mxCellEditor.prototype.isTableSelected=function(){return null!=this.graph.getParentByName(this.graph.getSelectedElement(),"TABLE",this.textarea)};mxCellEditor.prototype.isTextSelected=function(){var C="";window.getSelection?C=window.getSelection():document.getSelection?
-C=document.getSelection():document.selection&&(C=document.selection.createRange().text);return""!=C};mxCellEditor.prototype.insertTab=function(C){var P=this.textarea.ownerDocument.defaultView.getSelection(),R=P.getRangeAt(0);C=Graph.createTabNode(C);R.insertNode(C);R.setStartAfter(C);R.setEndAfter(C);P.removeAllRanges();P.addRange(R)};mxCellEditor.prototype.alignText=function(C,P){var R=this.graph.getView().getState(this.editingCell);if(null!=R){R=mxUtils.getValue(R.style,mxConstants.STYLE_TEXT_DIRECTION,
-mxConstants.DEFAULT_TEXT_DIRECTION);var W=null!=R&&"vertical-"==R.substring(0,9),ia=null!=P&&mxEvent.isShiftDown(P);if(ia||null!=window.getSelection&&null!=window.getSelection().containsNode){var ka=!0;this.graph.processElements(this.textarea,function(pa){ia||W||window.getSelection().containsNode(pa,!0)?(pa.removeAttribute("align"),pa.style.textAlign=null):ka=!1});(ka||W)&&this.graph.cellEditor.setAlign(C)}W||document.execCommand("justify"+C.toLowerCase(),!1,null)}};mxCellEditor.prototype.saveSelection=
-function(){if(window.getSelection){var C=window.getSelection();if(C.getRangeAt&&C.rangeCount){for(var P=[],R=0,W=C.rangeCount;R<W;++R)P.push(C.getRangeAt(R));return P}}else if(document.selection&&document.selection.createRange)return document.selection.createRange();return null};mxCellEditor.prototype.restoreSelection=function(C){try{if(C)if(window.getSelection){sel=window.getSelection();sel.removeAllRanges();for(var P=0,R=C.length;P<R;++P)sel.addRange(C[P])}else document.selection&&C.select&&C.select()}catch(W){}};
-var F=mxCellRenderer.prototype.initializeLabel;mxCellRenderer.prototype.initializeLabel=function(C){null!=C.text&&(C.text.replaceLinefeeds="0"!=mxUtils.getValue(C.style,"nl2Br","1"));F.apply(this,arguments)};var I=mxConstraintHandler.prototype.update;mxConstraintHandler.prototype.update=function(C,P){this.isKeepFocusEvent(C)||!mxEvent.isAltDown(C.getEvent())?I.apply(this,arguments):this.reset()};mxGuide.prototype.createGuideShape=function(C){return new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH)};
-mxCellEditor.prototype.escapeCancelsEditing=!1;var M=mxCellEditor.prototype.startEditing;mxCellEditor.prototype.startEditing=function(C,P){C=this.graph.getStartEditingCell(C,P);M.apply(this,arguments);var R=this.graph.view.getState(C);this.textarea.className=null!=R&&1==R.style.html?"mxCellEditor geContentEditable":"mxCellEditor mxPlainTextEditor";this.textarea.style.colorScheme="none"==this.graph.getAdaptiveColors()?"light":"";this.codeViewMode=!1;this.switchSelectionState=null;this.graph.setSelectionCell(C)};
-mxCellEditor.prototype.toggleViewMode=function(){var C=this.graph.view.getState(this.editingCell);if(null!=C){var P=null!=C&&"0"!=mxUtils.getValue(C.style,"nl2Br","1"),R=this.saveSelection();if(this.codeViewMode){Graph.removeLightDarkColors(this.textarea,Graph.backupStyleAttribute);xa=mxUtils.extractTextWithWhitespace(this.textarea.childNodes);0<xa.length&&"\n"==xa.charAt(xa.length-1)&&(xa=xa.substring(0,xa.length-1));xa=Graph.sanitizeHtml(P?xa.replace(/\n/g,"<br/>"):xa,!0);this.textarea.className=
-"mxCellEditor geContentEditable";ta=mxUtils.getValue(C.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE);P=mxUtils.getValue(C.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY);var W=mxUtils.getValue(C.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),ia=(mxUtils.getValue(C.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD,ka=(mxUtils.getValue(C.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC,
-pa=[];(mxUtils.getValue(C.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&pa.push("underline");(mxUtils.getValue(C.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&pa.push("line-through");this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(ta*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(ta)+"px";this.textarea.style.textDecoration=
-pa.join(" ");this.textarea.style.fontWeight=ia?"bold":"normal";this.textarea.style.fontStyle=ka?"italic":"";this.textarea.style.fontFamily=P;this.textarea.style.textAlign=W;this.textarea.style.padding="0px";this.textarea.innerHTML!=xa&&(this.textarea.innerHTML=xa,0==this.textarea.innerHTML.length&&(this.textarea.innerHTML=this.getEmptyLabelText(),this.clearOnChange=0<this.textarea.innerHTML.length));Graph.addLightDarkColors(this.textarea,Graph.backupStyleAttribute,"simple"==this.graph.getAdaptiveColors());
-this.codeViewMode=!1}else{this.clearOnChange&&this.textarea.innerHTML==this.getEmptyLabelText()&&(this.clearOnChange=!1,this.textarea.innerText="");Graph.removeLightDarkColors(this.textarea,Graph.backupStyleAttribute);var xa=mxUtils.htmlEntities(this.textarea.innerHTML);8!=document.documentMode&&(xa=mxUtils.replaceTrailingNewlines(xa,"<div><br></div>"));xa=Graph.sanitizeHtml(P?xa.replace(/\n/g,"").replace(/&lt;br\s*.?&gt;/g,"<br>"):xa,!0);this.textarea.className="mxCellEditor mxPlainTextEditor";var ta=
-mxConstants.DEFAULT_FONTSIZE;this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(ta*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(ta)+"px";this.textarea.style.textDecoration="";this.textarea.style.fontWeight="normal";this.textarea.style.fontStyle="";this.textarea.style.fontFamily=mxConstants.DEFAULT_FONTFAMILY;this.textarea.style.textAlign="left";this.textarea.style.width="";this.textarea.style.padding="2px";this.textarea.innerHTML!=
-xa&&(this.textarea.innerHTML=xa);this.codeViewMode=!0}this.textarea.focus();null!=this.switchSelectionState&&this.restoreSelection(this.switchSelectionState);this.switchSelectionState=R;this.resize()}};var L=mxCellEditor.prototype.resize;mxCellEditor.prototype.resize=function(C,P){if(null!=this.textarea)if(C=this.graph.getView().getState(this.editingCell),this.codeViewMode&&null!=C){var R=C.view.scale;this.bounds=mxRectangle.fromRectangle(C);if(0==this.bounds.width&&0==this.bounds.height){this.bounds.width=
-160*R;this.bounds.height=60*R;var W=null!=C.text?C.text.margin:null;null==W&&(W=mxUtils.getAlignmentAsPoint(mxUtils.getValue(C.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),mxUtils.getValue(C.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE)));this.bounds.x+=W.x*this.bounds.width;this.bounds.y+=W.y*this.bounds.height}this.textarea.style.width=Math.round((this.bounds.width-4)/R)+"px";this.textarea.style.height=Math.round((this.bounds.height-4)/R)+"px";this.textarea.style.overflow=
-"auto";this.textarea.clientHeight<this.textarea.offsetHeight&&(this.textarea.style.height=Math.round(this.bounds.height/R)+(this.textarea.offsetHeight-this.textarea.clientHeight)+"px",this.bounds.height=parseInt(this.textarea.style.height)*R);this.textarea.clientWidth<this.textarea.offsetWidth&&(this.textarea.style.width=Math.round(this.bounds.width/R)+(this.textarea.offsetWidth-this.textarea.clientWidth)+"px",this.bounds.width=parseInt(this.textarea.style.width)*R);this.textarea.style.left=Math.round(this.bounds.x)+
-"px";this.textarea.style.top=Math.round(this.bounds.y)+"px";mxUtils.setPrefixedStyle(this.textarea.style,"transform","scale("+R+","+R+")")}else this.textarea.style.height="",this.textarea.style.overflow="",L.apply(this,arguments)};mxCellEditorGetInitialValue=mxCellEditor.prototype.getInitialValue;mxCellEditor.prototype.getInitialValue=function(C,P){if("0"==mxUtils.getValue(C.style,"html","0"))return mxCellEditorGetInitialValue.apply(this,arguments);var R=this.graph.getEditingValue(C.cell,P);"1"==
-mxUtils.getValue(C.style,"nl2Br","1")&&(R=R.replace(/\n/g,"<br/>"));return Graph.sanitizeHtml(R,!0)};mxCellEditorSetEditingValue=mxCellEditor.prototype.setEditingValue;mxCellEditor.prototype.setEditingValue=function(C,P){mxCellEditorSetEditingValue.apply(this,arguments);"1"==mxUtils.getValue(C.style,"html","0")&&Graph.addLightDarkColors(this.textarea,Graph.backupStyleAttribute,"simple"==this.graph.getAdaptiveColors())};mxCellEditorGetCurrentValue=mxCellEditor.prototype.getCurrentValue;mxCellEditor.prototype.getCurrentValue=
-function(C){if("0"==mxUtils.getValue(C.style,"html","0"))return mxCellEditorGetCurrentValue.apply(this,arguments);Graph.removeLightDarkColors(this.textarea,Graph.backupStyleAttribute);var P=Graph.sanitizeHtml(this.textarea.innerHTML,!0);"1"==mxUtils.getValue(C.style,"nl2Br","1")?(P=P.replace(/\r\n/g,"<br/>").replace(/\n/g,"<br/>"),0<P.length&&("<br/>"==P.substring(P.length-5)||"<br>"==P.substring(P.length-4))&&(P=P.substring(0,P.lastIndexOf("<br"))+"<div><br/></div>")):P=P.replace(/\r\n/g,"").replace(/\n/g,
-"");return P};var K=mxCellEditor.prototype.stopEditing;mxCellEditor.prototype.stopEditing=function(C){this.codeViewMode&&this.toggleViewMode();K.apply(this,arguments);this.focusContainer()};mxCellEditor.prototype.focusContainer=function(){try{this.graph.container.focus()}catch(C){}};var aa=mxCellEditor.prototype.applyValue;mxCellEditor.prototype.applyValue=function(C,P){this.graph.getModel().beginUpdate();try{aa.apply(this,arguments),""==P&&this.graph.isCellDeletable(C.cell)&&0==this.graph.model.getChildCount(C.cell)&&
-this.graph.isTransparentState(C)&&this.graph.removeCells([C.cell],!1)}finally{this.graph.getModel().endUpdate()}};mxCellEditor.prototype.getBackgroundColor=function(C){C=mxUtils.getValue(C.style,mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,null);C==mxConstants.NONE&&(C=null);return C};mxCellEditor.prototype.getBorderColor=function(C){C=mxUtils.getValue(C.style,mxConstants.STYLE_LABEL_BORDERCOLOR,null);C==mxConstants.NONE&&(C=null);return C};mxCellEditor.prototype.getMinimumSize=function(C){var P=this.graph.getView().scale;
-return new mxRectangle(0,0,null==C.text?30:C.text.size*P+20,30)};mxGraphHandlerIsValidDropTarget=mxGraphHandler.prototype.isValidDropTarget;mxGraphHandler.prototype.isValidDropTarget=function(C,P){return mxGraphHandlerIsValidDropTarget.apply(this,arguments)&&!mxEvent.isAltDown(P.getEvent)};mxGraphView.prototype.formatUnitText=function(C){return C?f(C,this.unit):C};mxGraphHandler.prototype.updateHint=function(C){if(null!=this.pBounds&&(null!=this.shape||this.livePreviewActive)){null==this.hint&&(this.hint=
-b(),this.graph.container.appendChild(this.hint));var P=this.graph.view.translate,R=this.graph.view.scale;C=this.roundLength((this.bounds.x+this.currentDx)/R-P.x);P=this.roundLength((this.bounds.y+this.currentDy)/R-P.y);R=this.graph.view.unit;this.hint.innerHTML=f(C,R)+", "+f(P,R);this.hint.style.left=this.pBounds.x+this.currentDx+Math.round((this.pBounds.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=this.pBounds.y+this.currentDy+this.pBounds.height+Editor.hintOffset+"px"}};mxGraphHandler.prototype.removeHint=
-function(){null!=this.hint&&(null!=this.hint.parentNode&&this.hint.parentNode.removeChild(this.hint),this.hint=null)};var ja=mxStackLayout.prototype.resizeCell;mxStackLayout.prototype.resizeCell=function(C,P){ja.apply(this,arguments);var R=this.graph.getCellStyle(C);if(null==R.childLayout){var W=this.graph.model.getParent(C),ia=null!=W?this.graph.getCellGeometry(W):null;if(null!=ia&&(R=this.graph.getCellStyle(W),"stackLayout"==R.childLayout)){var ka=parseFloat(mxUtils.getValue(R,"stackBorder",mxStackLayout.prototype.border));
-R="1"==mxUtils.getValue(R,"horizontalStack","1");var pa=this.graph.getActualStartSize(W);ia=ia.clone();R?ia.height=P.height+pa.y+pa.height+2*ka:ia.width=P.width+pa.x+pa.width+2*ka;this.graph.model.setGeometry(W,ia)}}};var ca=mxSelectionCellsHandler.prototype.getHandledSelectionCells;mxSelectionCellsHandler.prototype.getHandledSelectionCells=function(){function C(xa){R.get(xa)||(R.put(xa,!0),ia.push(xa))}for(var P=ca.apply(this,arguments),R=new mxDictionary,W=this.graph.model,ia=[],ka=0;ka<P.length;ka++){var pa=
-P[ka];this.graph.isTableCell(pa)?C(W.getParent(W.getParent(pa))):this.graph.isTableRow(pa)&&C(W.getParent(pa));C(pa)}return ia};var ba=mxConnectionHandler.prototype.isStartEvent;mxConnectionHandler.prototype.isStartEvent=function(C){return ba.apply(this,arguments)&&!mxEvent.isControlDown(C.getEvent())&&!mxEvent.isShiftDown(C.getEvent())};var oa=mxVertexHandler.prototype.isGhostPreview;mxVertexHandler.prototype.isGhostPreview=function(){return oa.apply(this,arguments)&&!this.graph.isTable(this.state.cell)&&
-!this.graph.isTableRow(this.state.cell)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isSwimlane(this.state.cell)};var Y=mxVertexHandler.prototype.createParentHighlightShape;mxVertexHandler.prototype.createParentHighlightShape=function(C){var P=Y.apply(this,arguments);P.stroke="#C0C0C0";P.strokewidth=1;return P};var da=mxEdgeHandler.prototype.createParentHighlightShape;mxEdgeHandler.prototype.createParentHighlightShape=function(C){var P=da.apply(this,arguments);P.stroke="#C0C0C0";P.strokewidth=
-1;return P};mxVertexHandler.prototype.rotationHandleVSpacing=-12;mxVertexHandler.prototype.getRotationHandlePosition=function(){var C=this.getHandlePadding();return new mxPoint(this.bounds.x+this.bounds.width-this.rotationHandleVSpacing+C.x/2,this.bounds.y+this.rotationHandleVSpacing-C.y/2)};mxVertexHandler.prototype.isRecursiveResize=function(C,P){return this.graph.isRecursiveVertexResize(C)&&!mxEvent.isAltDown(P.getEvent())};mxVertexHandler.prototype.isCenteredEvent=function(C,P){return mxEvent.isControlDown(P.getEvent())||
-mxEvent.isMetaDown(P.getEvent())};var ha=mxVertexHandler.prototype.isRotationHandleVisible;mxVertexHandler.prototype.isRotationHandleVisible=function(){return ha.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isTableRow(this.state.cell)&&!this.graph.isTable(this.state.cell)};mxVertexHandler.prototype.getSizerBounds=function(){return this.graph.isTableCell(this.state.cell)?this.graph.view.getState(this.graph.model.getParent(this.graph.model.getParent(this.state.cell))):
-this.bounds};var Z=mxVertexHandler.prototype.isParentHighlightVisible;mxVertexHandler.prototype.isParentHighlightVisible=function(){return Z.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isTableRow(this.state.cell)};var k=mxVertexHandler.prototype.isCustomHandleVisible;mxVertexHandler.prototype.isCustomHandleVisible=function(C){return C.tableHandle||k.apply(this,arguments)&&(!this.graph.isTable(this.state.cell)||this.graph.isCellSelected(this.state.cell))};mxVertexHandler.prototype.getSelectionBorderInset=
-function(){var C=0;this.graph.isTableRow(this.state.cell)?C=1:this.graph.isTableCell(this.state.cell)&&(C=2);return C};var v=mxVertexHandler.prototype.getSelectionBorderBounds;mxVertexHandler.prototype.getSelectionBorderBounds=function(){return v.apply(this,arguments).grow(-this.getSelectionBorderInset())};var J=null,N=mxVertexHandler.prototype.createCustomHandles;mxVertexHandler.prototype.createCustomHandles=function(){null==J&&(J=mxCellRenderer.defaultShapes.tableLine);var C=N.apply(this,arguments);
-if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)){var P=function(ab,Pa,Sa){for(var gb=[],fb=0;fb<ab.length;fb++){var cb=ab[fb];gb.push(null==cb?null:new mxPoint((ta+cb.x+Pa)*ka,(ua+cb.y+Sa)*ka))}return gb},R=this,W=this.graph,ia=W.model,ka=W.view.scale,pa=this.state,xa=this.selectionBorder,ta=this.state.origin.x+W.view.translate.x,ua=this.state.origin.y+W.view.translate.y;null==C&&(C=[]);var Ia=W.view.getCellStates(ia.getChildCells(this.state.cell,!0));if(0<Ia.length){var Va=
-ia.getChildCells(Ia[0].cell,!0),Wa=W.getTableLines(this.state.cell,!1,!0),Ta=W.getTableLines(this.state.cell,!0,!1);for(ia=0;ia<Ia.length;ia++)mxUtils.bind(this,function(ab){var Pa=Ia[ab],Sa=null;if(W.isCellMovable(Pa.cell)){Sa=ab<Ia.length-1?Ia[ab+1]:null;Sa=null!=Sa?W.getCellGeometry(Sa.cell):null;var gb=null!=Sa&&null!=Sa.alternateBounds?Sa.alternateBounds:Sa;Sa=null!=Ta[ab]?new J(Ta[ab],mxConstants.NONE,1):new mxLine(new mxRectangle,mxConstants.NONE,1,!1);Sa.isDashed=xa.isDashed;Sa.svgStrokeTolerance++;
-Sa=new mxHandle(Pa,"row-resize",null,Sa);Sa.tableHandle=!0;var fb=0;Sa.shape.node.parentNode.insertBefore(Sa.shape.node,Sa.shape.node.parentNode.firstChild);Sa.redraw=function(){if(null!=this.shape){this.shape.stroke=0==fb?mxConstants.NONE:xa.stroke;if(this.shape.constructor==J)this.shape.line=P(Ta[ab],0,fb),this.shape.updateBoundsFromLine();else{var eb=W.getActualStartSize(pa.cell,!0);this.shape.bounds.height=1;this.shape.bounds.y=this.state.y+this.state.height+fb*ka;this.shape.bounds.x=pa.x+(ab==
-Ia.length-1?0:eb.x*ka);this.shape.bounds.width=pa.width-(ab==Ia.length-1?0:eb.width+eb.x+ka)}this.shape.redraw()}};var cb=!1;Sa.setPosition=function(eb,lb,kb){fb=Math.max(Graph.minTableRowHeight-eb.height,lb.y-eb.y-eb.height);cb=mxEvent.isShiftDown(kb.getEvent());null!=gb&&cb&&(fb=Math.min(fb,gb.height-Graph.minTableRowHeight))};Sa.execute=function(eb){if(0!=fb)W.setTableRowHeight(this.state.cell,fb,!cb);else if(!R.blockDelayedSelection){var lb=W.getCellAt(eb.getGraphX(),eb.getGraphY())||pa.cell;
-W.graphHandler.selectCellForEvent(lb,eb)}fb=0};Sa.reset=function(){fb=0}}C.push(Sa)})(ia);for(ia=0;ia<Va.length;ia++)mxUtils.bind(this,function(ab){var Pa=W.view.getState(Va[ab]),Sa=W.getCellGeometry(Va[ab]),gb=null!=Sa.alternateBounds?Sa.alternateBounds:Sa;null==Pa&&(Pa=new mxCellState(W.view,Va[ab],W.getCellStyle(Va[ab])),Pa.x=pa.x+Sa.x*ka,Pa.y=pa.y+Sa.y*ka,Pa.width=gb.width*ka,Pa.height=gb.height*ka,Pa.updateCachedBounds());Sa=ab<Va.length-1?Va[ab+1]:null;Sa=null!=Sa?W.getCellGeometry(Sa):null;
-var fb=null!=Sa&&null!=Sa.alternateBounds?Sa.alternateBounds:Sa;Sa=null!=Wa[ab]?new J(Wa[ab],mxConstants.NONE,1):new mxLine(new mxRectangle,mxConstants.NONE,1,!0);Sa.isDashed=xa.isDashed;Sa.svgStrokeTolerance++;Pa=new mxHandle(Pa,"col-resize",null,Sa);Pa.tableHandle=!0;var cb=0;Pa.shape.node.parentNode.insertBefore(Pa.shape.node,Pa.shape.node.parentNode.firstChild);Pa.redraw=function(){if(null!=this.shape){this.shape.stroke=0==cb?mxConstants.NONE:xa.stroke;if(this.shape.constructor==J)this.shape.line=
-P(Wa[ab],cb,0),this.shape.updateBoundsFromLine();else{var lb=W.getActualStartSize(pa.cell,!0);this.shape.bounds.width=1;this.shape.bounds.x=this.state.x+(gb.width+cb)*ka;this.shape.bounds.y=pa.y+(ab==Va.length-1?0:lb.y*ka);this.shape.bounds.height=pa.height-(ab==Va.length-1?0:(lb.height+lb.y)*ka)}this.shape.redraw()}};var eb=!1;Pa.setPosition=function(lb,kb,ob){cb=Math.max(Graph.minTableColumnWidth-gb.width,kb.x-lb.x-gb.width);eb=mxEvent.isShiftDown(ob.getEvent());null==fb||eb||(cb=Math.min(cb,fb.width-
-Graph.minTableColumnWidth))};Pa.execute=function(lb){if(0!=cb)W.setTableColumnWidth(this.state.cell,cb,eb);else if(!R.blockDelayedSelection){var kb=W.getCellAt(lb.getGraphX(),lb.getGraphY())||pa.cell;W.graphHandler.selectCellForEvent(kb,lb)}cb=0};Pa.positionChanged=function(){};Pa.reset=function(){cb=0};C.push(Pa)})(ia)}}return null!=C?C.reverse():null};var T=mxVertexHandler.prototype.setHandlesVisible;mxVertexHandler.prototype.setHandlesVisible=function(C){T.apply(this,arguments);if(null!=this.moveHandles)for(var P=
-0;P<this.moveHandles.length;P++)null!=this.moveHandles[P]&&(this.moveHandles[P].node.style.visibility=C?"":"hidden");if(null!=this.cornerHandles)for(P=0;P<this.cornerHandles.length;P++)this.cornerHandles[P].node.style.visibility=C?"":"hidden"};mxVertexHandler.prototype.isMoveHandlesVisible=function(){return this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)};mxVertexHandler.prototype.refreshMoveHandles=function(){var C=this.isMoveHandlesVisible();C&&null==this.moveHandles?
-this.moveHandles=this.createMoveHandles():C||null==this.moveHandles||this.destroyMoveHandles();if(C&&null==this.moveHandles){for(C=0;C<this.moveHandles.length;C++)null!=this.moveHandles[C]&&this.moveHandles[C].parentNode.removeChild(this.moveHandles[C]);this.moveHandles=null}};mxVertexHandler.prototype.createMoveHandles=function(){for(var C=this.graph,P=C.model,R=[],W=0;W<P.getChildCount(this.state.cell);W++)mxUtils.bind(this,function(ia){if(null!=ia&&P.isVertex(ia.cell)&&C.isCellMovable(ia.cell)){var ka=
-new mxRectangle(0,0,this.rowHandleImage.width,this.rowHandleImage.height);ka=new mxImageShape(ka,this.rowHandleImage.src);ka.rowState=ia;ka.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_MIXEDHTML:mxConstants.DIALECT_SVG;ka.init(this.graph.getView().getOverlayPane());ka.node.style.cursor="move";mxEvent.addGestureListeners(ka.node,mxUtils.bind(this,function(pa){this.graph.popupMenuHandler.hideMenu();this.graph.stopEditing(!1);!this.graph.isToggleEvent(pa)&&this.graph.isCellSelected(ia.cell)||
-this.graph.selectCellForEvent(ia.cell,pa);mxEvent.isPopupTrigger(pa)||(this.graph.graphHandler.start(this.state.cell,mxEvent.getClientX(pa),mxEvent.getClientY(pa),this.graph.getSelectionCells()),this.graph.graphHandler.cellWasClicked=!0,this.graph.isMouseTrigger=mxEvent.isMouseEvent(pa),this.graph.isMouseDown=!0);mxEvent.consume(pa)}),null,mxUtils.bind(this,function(pa){mxEvent.isPopupTrigger(pa)&&(this.graph.popupMenuHandler.popup(mxEvent.getClientX(pa),mxEvent.getClientY(pa),ia.cell,pa),mxEvent.consume(pa))}));
-R.push(ka)}else R.push(null)})(this.graph.view.getState(P.getChildAt(this.state.cell,W)));return R};mxVertexHandler.prototype.destroyMoveHandles=function(){if(null!=this.moveHandles){for(var C=0;C<this.moveHandles.length;C++)null!=this.moveHandles[C]&&this.moveHandles[C].destroy();this.moveHandles=null}};mxVertexHandler.prototype.destroyCornerHandles=function(){if(null!=this.cornerHandles){for(var C=0;C<this.cornerHandles.length;C++)null!=this.cornerHandles[C]&&null!=this.cornerHandles[C].node&&null!=
-this.cornerHandles[C].node.parentNode&&this.cornerHandles[C].node.parentNode.removeChild(this.cornerHandles[C].node);this.cornerHandles=null}};var V=mxVertexHandler.prototype.refresh;mxVertexHandler.prototype.refresh=function(){V.apply(this,arguments);this.destroyMoveHandles();this.destroyCornerHandles();if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell))this.refreshMoveHandles();else if(1==this.graph.getSelectionCount()&&this.graph.isCellMovable(this.state.cell)&&(this.graph.isTableCell(this.state.cell)||
-this.graph.isTableRow(this.state.cell))){this.cornerHandles=[];for(var C=0;4>C;C++){var P=new mxRectangleShape(new mxRectangle(0,0,6,6),"#ffffff",mxConstants.HANDLE_STROKECOLOR);P.dialect=mxConstants.DIALECT_SVG;P.init(this.graph.view.getOverlayPane());this.cornerHandles.push(P)}}this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)&&this.refreshMoveHandles();C=this.graph.getLinkForCell(this.state.cell);P=this.graph.getLinksForState(this.state);this.updateLinkHint(C,P)};var U=
-mxVertexHandler.prototype.getHandlePadding;mxVertexHandler.prototype.getHandlePadding=function(){var C=new mxPoint(0,0),P=this.tolerance,R=this.state.style.shape;null==mxCellRenderer.defaultShapes[R]&&mxStencilRegistry.getStencil(R);R=this.graph.isTable(this.state.cell)||this.graph.cellEditor.getEditingCell()==this.state.cell;if(!R&&null!=this.customHandles)for(var W=0;W<this.customHandles.length;W++)if(null!=this.customHandles[W]&&null!=this.customHandles[W].shape&&null!=this.customHandles[W].shape.bounds){var ia=
-this.customHandles[W].shape.bounds,ka=ia.getCenterX(),pa=ia.getCenterY();if(Math.abs(this.state.x-ka)<ia.width/2||Math.abs(this.state.y-pa)<ia.height/2||Math.abs(this.state.x+this.state.width-ka)<ia.width/2||Math.abs(this.state.y+this.state.height-pa)<ia.height/2){R=!0;break}}R&&null!=this.sizers&&0<this.sizers.length&&null!=this.sizers[0]?(P/=2,this.graph.isTable(this.state.cell)&&(P+=7),C.x=this.sizers[0].bounds.width+P,C.y=this.sizers[0].bounds.height+P):C=U.apply(this,arguments);return C};mxVertexHandler.prototype.updateHint=
-function(C){if(this.index!=mxEvent.LABEL_HANDLE){null==this.hint&&(this.hint=b(),this.state.view.graph.container.appendChild(this.hint));if(this.index==mxEvent.ROTATION_HANDLE)this.hint.innerHTML=this.currentAlpha+"&deg;";else{C=this.state.view.scale;var P=this.state.view.unit;this.hint.innerHTML=f(this.roundLength(this.bounds.width/C),P)+" x "+f(this.roundLength(this.bounds.height/C),P)}C=mxUtils.getBoundingBox(this.bounds,null!=this.currentAlpha?this.currentAlpha:this.state.style[mxConstants.STYLE_ROTATION]||
-"0");null==C&&(C=this.bounds);this.hint.style.left=C.x+Math.round((C.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=C.y+C.height+Editor.hintOffset+"px";null!=this.linkHint&&(this.linkHint.style.display="none")}};mxVertexHandler.prototype.removeHint=function(){mxGraphHandler.prototype.removeHint.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.display="")};var X=mxEdgeHandler.prototype.refresh;mxEdgeHandler.prototype.refresh=function(){X.apply(this,arguments);var C=this.graph.getLinkForCell(this.state.cell),
-P=this.graph.getLinksForState(this.state);this.updateLinkHint(C,P)};var fa=mxEdgeHandler.prototype.mouseMove;mxEdgeHandler.prototype.mouseMove=function(C,P){fa.apply(this,arguments);null!=this.linkHint&&"none"!=this.linkHint.style.display&&null!=this.graph.graphHandler&&null!=this.graph.graphHandler.first&&(this.linkHint.style.display="none")};var na=mxEdgeHandler.prototype.mouseUp;mxEdgeHandler.prototype.mouseUp=function(C,P){na.apply(this,arguments);null!=this.linkHint&&"none"==this.linkHint.style.display&&
-1==this.graph.getSelectionCount()&&(this.linkHint.style.display="")};mxEdgeHandler.prototype.updateHint=function(C,P,R){null==this.hint&&(this.hint=b(),this.state.view.graph.container.appendChild(this.hint));var W=this.graph.view.translate,ia=this.graph.view.scale,ka=this.roundLength(P.x/ia-W.x);W=this.roundLength(P.y/ia-W.y);var pa=this.graph.view.unit;this.hint.innerHTML=f(ka,pa)+", "+f(W,pa);this.hint.style.visibility="visible";null!=R&&(R.view.updateEdgeBounds(R),this.hint.innerHTML+=" ("+(pa==
-mxConstants.POINTS?Math.round(R.length/ia):f(R.length/ia,pa))+")");if(this.isSource||this.isTarget)null!=this.constraintHandler&&null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus?(R=this.constraintHandler.currentConstraint.point,this.hint.innerHTML="["+Math.round(100*R.x)+"%, "+Math.round(100*R.y)+"%]"):this.marker.hasValidState()&&(this.hint.style.visibility="hidden");this.hint.style.left=Math.round(C.getGraphX()-this.hint.clientWidth/2)+"px";this.hint.style.top=
-Math.max(C.getGraphY(),P.y)+Editor.hintOffset+"px";null!=this.linkHint&&(this.linkHint.style.display="none")};Graph.prototype.expandedImage=Graph.createSvgImage(9,9,'<defs><linearGradient id="grad1" x1="50%" y1="0%" x2="50%" y2="100%"><stop offset="30%" style="stop-color:#f0f0f0;" /><stop offset="100%" style="stop-color:#AFB0B6;" /></linearGradient></defs><rect x="0" y="0" width="9" height="9" stroke="#8A94A5" fill="url(#grad1)" stroke-width="2"/><path d="M 2 4.5 L 7 4.5 z" stroke="#000"/>');Graph.prototype.collapsedImage=
-Graph.createSvgImage(9,9,'<defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="30%" style="stop-color:#f0f0f0;" /><stop offset="100%" style="stop-color:#AFB0B6;" /></linearGradient></defs><rect x="0" y="0" width="9" height="9" stroke="#8A94A5" fill="url(#grad1)" stroke-width="2"/><path d="M 4.5 2 L 4.5 7 M 2 4.5 L 7 4.5 z" stroke="#000"/>');mxEdgeHandler.prototype.removeHint=mxVertexHandler.prototype.removeHint;HoverIcons.prototype.mainHandle=Graph.createSvgImage(18,
-18,'<circle cx="9" cy="9" r="5" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/>');HoverIcons.prototype.endMainHandle=Graph.createSvgImage(18,18,'<circle cx="9" cy="9" r="6" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/>');HoverIcons.prototype.secondaryHandle=Graph.createSvgImage(16,16,'<path d="m 8 3 L 13 8 L 8 13 L 3 8 z" stroke="#fff" fill="#fca000"/>');HoverIcons.prototype.fixedHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="6" stroke="#fff" fill="#01bd22"/><path d="m 8 8 L 14 14M 8 14 L 14 8" stroke="#fff"/>');
+mxEvent.isMouseEvent(pa.getEvent());this.popupMenuHandler.popupTrigger=!this.isEditing()&&this.isEnabled()&&(null==pa.getState()||!pa.isSource(pa.getState().control))&&(this.popupMenuHandler.popupTrigger||!W&&!xa&&(R&&null==pa.getCell()&&this.isSelectionEmpty()||P&&this.isCellSelected(pa.getCell())));xa=!P||xa?null:mxUtils.bind(this,function(ta){window.setTimeout(mxUtils.bind(this,function(){if(!this.isEditing()&&this.isTouchPopupMenuEnabled()){var ua=mxUtils.getScrollOrigin();this.popupMenuHandler.popup(pa.getX()+
+ua.x+1,pa.getY()+ua.y+1,ta,pa.getEvent())}}),300)});mxPopupMenuHandler.prototype.mouseUp.apply(this.popupMenuHandler,[ka,pa,xa])}})};Graph.prototype.isTouchPopupMenuEnabled=function(){return!0};mxCellEditor.prototype.isContentEditing=function(){var C=this.graph.view.getState(this.editingCell);return null!=C&&1==C.style.html};mxCellEditor.prototype.isTableSelected=function(){return null!=this.graph.getParentByName(this.graph.getSelectedElement(),"TABLE",this.textarea)};mxCellEditor.prototype.isTextSelected=
+function(){var C="";window.getSelection?C=window.getSelection():document.getSelection?C=document.getSelection():document.selection&&(C=document.selection.createRange().text);return""!=C};mxCellEditor.prototype.insertTab=function(C){var P=this.textarea.ownerDocument.defaultView.getSelection(),R=P.getRangeAt(0);C=Graph.createTabNode(C);R.insertNode(C);R.setStartAfter(C);R.setEndAfter(C);P.removeAllRanges();P.addRange(R)};mxCellEditor.prototype.alignText=function(C,P){var R=this.graph.getView().getState(this.editingCell);
+if(null!=R){R=mxUtils.getValue(R.style,mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT_TEXT_DIRECTION);var W=null!=R&&"vertical-"==R.substring(0,9),ia=null!=P&&mxEvent.isShiftDown(P);if(ia||null!=window.getSelection&&null!=window.getSelection().containsNode){var ka=!0;this.graph.processElements(this.textarea,function(pa){ia||W||window.getSelection().containsNode(pa,!0)?(pa.removeAttribute("align"),pa.style.textAlign=null):ka=!1});(ka||W)&&this.graph.cellEditor.setAlign(C)}W||document.execCommand("justify"+
+C.toLowerCase(),!1,null)}};mxCellEditor.prototype.saveSelection=function(){if(window.getSelection){var C=window.getSelection();if(C.getRangeAt&&C.rangeCount){for(var P=[],R=0,W=C.rangeCount;R<W;++R)P.push(C.getRangeAt(R));return P}}else if(document.selection&&document.selection.createRange)return document.selection.createRange();return null};mxCellEditor.prototype.restoreSelection=function(C){try{if(C)if(window.getSelection){sel=window.getSelection();sel.removeAllRanges();for(var P=0,R=C.length;P<
+R;++P)sel.addRange(C[P])}else document.selection&&C.select&&C.select()}catch(W){}};var F=mxCellRenderer.prototype.initializeLabel;mxCellRenderer.prototype.initializeLabel=function(C){null!=C.text&&(C.text.replaceLinefeeds="0"!=mxUtils.getValue(C.style,"nl2Br","1"));F.apply(this,arguments)};var I=mxConstraintHandler.prototype.update;mxConstraintHandler.prototype.update=function(C,P){this.isKeepFocusEvent(C)||!mxEvent.isAltDown(C.getEvent())?I.apply(this,arguments):this.reset()};mxGuide.prototype.createGuideShape=
+function(C){return new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH)};mxCellEditor.prototype.escapeCancelsEditing=!1;var M=mxCellEditor.prototype.startEditing;mxCellEditor.prototype.startEditing=function(C,P){C=this.graph.getStartEditingCell(C,P);M.apply(this,arguments);var R=this.graph.view.getState(C);this.textarea.className=null!=R&&1==R.style.html?"mxCellEditor geContentEditable":"mxCellEditor mxPlainTextEditor";this.textarea.style.colorScheme="none"==this.graph.getAdaptiveColors()?
+"light":"";this.codeViewMode=!1;this.switchSelectionState=null;this.graph.setSelectionCell(C)};mxCellEditor.prototype.toggleViewMode=function(){var C=this.graph.view.getState(this.editingCell);if(null!=C){var P=null!=C&&"0"!=mxUtils.getValue(C.style,"nl2Br","1"),R=this.saveSelection();if(this.codeViewMode){Graph.removeLightDarkColors(this.textarea,Graph.backupStyleAttribute);xa=mxUtils.extractTextWithWhitespace(this.textarea.childNodes);0<xa.length&&"\n"==xa.charAt(xa.length-1)&&(xa=xa.substring(0,
+xa.length-1));xa=Graph.sanitizeHtml(P?xa.replace(/\n/g,"<br/>"):xa,!0);this.textarea.className="mxCellEditor geContentEditable";ta=mxUtils.getValue(C.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE);P=mxUtils.getValue(C.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY);var W=mxUtils.getValue(C.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),ia=(mxUtils.getValue(C.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD,ka=(mxUtils.getValue(C.style,
+mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC,pa=[];(mxUtils.getValue(C.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&pa.push("underline");(mxUtils.getValue(C.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&pa.push("line-through");this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(ta*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=
+Math.round(ta)+"px";this.textarea.style.textDecoration=pa.join(" ");this.textarea.style.fontWeight=ia?"bold":"normal";this.textarea.style.fontStyle=ka?"italic":"";this.textarea.style.fontFamily=P;this.textarea.style.textAlign=W;this.textarea.style.padding="0px";this.textarea.innerHTML!=xa&&(this.textarea.innerHTML=xa,0==this.textarea.innerHTML.length&&(this.textarea.innerHTML=this.getEmptyLabelText(),this.clearOnChange=0<this.textarea.innerHTML.length));Graph.addLightDarkColors(this.textarea,Graph.backupStyleAttribute,
+"simple"==this.graph.getAdaptiveColors());this.codeViewMode=!1}else{this.clearOnChange&&this.textarea.innerHTML==this.getEmptyLabelText()&&(this.clearOnChange=!1,this.textarea.innerText="");Graph.removeLightDarkColors(this.textarea,Graph.backupStyleAttribute);var xa=mxUtils.htmlEntities(this.textarea.innerHTML);8!=document.documentMode&&(xa=mxUtils.replaceTrailingNewlines(xa,"<div><br></div>"));xa=Graph.sanitizeHtml(P?xa.replace(/\n/g,"").replace(/&lt;br\s*.?&gt;/g,"<br>"):xa,!0);this.textarea.className=
+"mxCellEditor mxPlainTextEditor";var ta=mxConstants.DEFAULT_FONTSIZE;this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(ta*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(ta)+"px";this.textarea.style.textDecoration="";this.textarea.style.fontWeight="normal";this.textarea.style.fontStyle="";this.textarea.style.fontFamily=mxConstants.DEFAULT_FONTFAMILY;this.textarea.style.textAlign="left";this.textarea.style.width="";this.textarea.style.padding=
+"2px";this.textarea.innerHTML!=xa&&(this.textarea.innerHTML=xa);this.codeViewMode=!0}this.textarea.focus();null!=this.switchSelectionState&&this.restoreSelection(this.switchSelectionState);this.switchSelectionState=R;this.resize()}};var L=mxCellEditor.prototype.resize;mxCellEditor.prototype.resize=function(C,P){if(null!=this.textarea)if(C=this.graph.getView().getState(this.editingCell),this.codeViewMode&&null!=C){var R=C.view.scale;this.bounds=mxRectangle.fromRectangle(C);if(0==this.bounds.width&&
+0==this.bounds.height){this.bounds.width=160*R;this.bounds.height=60*R;var W=null!=C.text?C.text.margin:null;null==W&&(W=mxUtils.getAlignmentAsPoint(mxUtils.getValue(C.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),mxUtils.getValue(C.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE)));this.bounds.x+=W.x*this.bounds.width;this.bounds.y+=W.y*this.bounds.height}this.textarea.style.width=Math.round((this.bounds.width-4)/R)+"px";this.textarea.style.height=Math.round((this.bounds.height-
+4)/R)+"px";this.textarea.style.overflow="auto";this.textarea.clientHeight<this.textarea.offsetHeight&&(this.textarea.style.height=Math.round(this.bounds.height/R)+(this.textarea.offsetHeight-this.textarea.clientHeight)+"px",this.bounds.height=parseInt(this.textarea.style.height)*R);this.textarea.clientWidth<this.textarea.offsetWidth&&(this.textarea.style.width=Math.round(this.bounds.width/R)+(this.textarea.offsetWidth-this.textarea.clientWidth)+"px",this.bounds.width=parseInt(this.textarea.style.width)*
+R);this.textarea.style.left=Math.round(this.bounds.x)+"px";this.textarea.style.top=Math.round(this.bounds.y)+"px";mxUtils.setPrefixedStyle(this.textarea.style,"transform","scale("+R+","+R+")")}else this.textarea.style.height="",this.textarea.style.overflow="",L.apply(this,arguments)};mxCellEditorGetInitialValue=mxCellEditor.prototype.getInitialValue;mxCellEditor.prototype.getInitialValue=function(C,P){if("0"==mxUtils.getValue(C.style,"html","0"))return mxCellEditorGetInitialValue.apply(this,arguments);
+var R=this.graph.getEditingValue(C.cell,P);"1"==mxUtils.getValue(C.style,"nl2Br","1")&&(R=R.replace(/\n/g,"<br/>"));return Graph.sanitizeHtml(R,!0)};mxCellEditorSetEditingValue=mxCellEditor.prototype.setEditingValue;mxCellEditor.prototype.setEditingValue=function(C,P){mxCellEditorSetEditingValue.apply(this,arguments);"1"==mxUtils.getValue(C.style,"html","0")&&Graph.addLightDarkColors(this.textarea,Graph.backupStyleAttribute,"simple"==this.graph.getAdaptiveColors())};mxCellEditorGetCurrentValue=mxCellEditor.prototype.getCurrentValue;
+mxCellEditor.prototype.getCurrentValue=function(C){if("0"==mxUtils.getValue(C.style,"html","0"))return mxCellEditorGetCurrentValue.apply(this,arguments);Graph.removeLightDarkColors(this.textarea,Graph.backupStyleAttribute);var P=Graph.sanitizeHtml(this.textarea.innerHTML,!0);"1"==mxUtils.getValue(C.style,"nl2Br","1")?(P=P.replace(/\r\n/g,"<br/>").replace(/\n/g,"<br/>"),0<P.length&&("<br/>"==P.substring(P.length-5)||"<br>"==P.substring(P.length-4))&&(P=P.substring(0,P.lastIndexOf("<br"))+"<div><br/></div>")):
+P=P.replace(/\r\n/g,"").replace(/\n/g,"");return P};var K=mxCellEditor.prototype.stopEditing;mxCellEditor.prototype.stopEditing=function(C){this.codeViewMode&&this.toggleViewMode();K.apply(this,arguments);this.focusContainer()};mxCellEditor.prototype.focusContainer=function(){try{this.graph.container.focus()}catch(C){}};var aa=mxCellEditor.prototype.applyValue;mxCellEditor.prototype.applyValue=function(C,P){this.graph.getModel().beginUpdate();try{aa.apply(this,arguments),""==P&&this.graph.isCellDeletable(C.cell)&&
+0==this.graph.model.getChildCount(C.cell)&&this.graph.isTransparentState(C)&&this.graph.removeCells([C.cell],!1)}finally{this.graph.getModel().endUpdate()}};mxCellEditor.prototype.getBackgroundColor=function(C){C=mxUtils.getValue(C.style,mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,null);C==mxConstants.NONE&&(C=null);return C};mxCellEditor.prototype.getBorderColor=function(C){C=mxUtils.getValue(C.style,mxConstants.STYLE_LABEL_BORDERCOLOR,null);C==mxConstants.NONE&&(C=null);return C};mxCellEditor.prototype.getMinimumSize=
+function(C){var P=this.graph.getView().scale;return new mxRectangle(0,0,null==C.text?30:C.text.size*P+20,30)};mxGraphHandlerIsValidDropTarget=mxGraphHandler.prototype.isValidDropTarget;mxGraphHandler.prototype.isValidDropTarget=function(C,P){return mxGraphHandlerIsValidDropTarget.apply(this,arguments)&&!mxEvent.isAltDown(P.getEvent)};mxGraphView.prototype.formatUnitText=function(C){return C?f(C,this.unit):C};mxGraphHandler.prototype.updateHint=function(C){if(null!=this.pBounds&&(null!=this.shape||
+this.livePreviewActive)){null==this.hint&&(this.hint=b(),this.graph.container.appendChild(this.hint));var P=this.graph.view.translate,R=this.graph.view.scale;C=this.roundLength((this.bounds.x+this.currentDx)/R-P.x);P=this.roundLength((this.bounds.y+this.currentDy)/R-P.y);R=this.graph.view.unit;this.hint.innerHTML=f(C,R)+", "+f(P,R);this.hint.style.left=this.pBounds.x+this.currentDx+Math.round((this.pBounds.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=this.pBounds.y+this.currentDy+this.pBounds.height+
+Editor.hintOffset+"px"}};mxGraphHandler.prototype.removeHint=function(){null!=this.hint&&(null!=this.hint.parentNode&&this.hint.parentNode.removeChild(this.hint),this.hint=null)};var ja=mxStackLayout.prototype.resizeCell;mxStackLayout.prototype.resizeCell=function(C,P){ja.apply(this,arguments);var R=this.graph.getCellStyle(C);if(null==R.childLayout){var W=this.graph.model.getParent(C),ia=null!=W?this.graph.getCellGeometry(W):null;if(null!=ia&&(R=this.graph.getCellStyle(W),"stackLayout"==R.childLayout)){var ka=
+parseFloat(mxUtils.getValue(R,"stackBorder",mxStackLayout.prototype.border));R="1"==mxUtils.getValue(R,"horizontalStack","1");var pa=this.graph.getActualStartSize(W);ia=ia.clone();R?ia.height=P.height+pa.y+pa.height+2*ka:ia.width=P.width+pa.x+pa.width+2*ka;this.graph.model.setGeometry(W,ia)}}};var ca=mxSelectionCellsHandler.prototype.getHandledSelectionCells;mxSelectionCellsHandler.prototype.getHandledSelectionCells=function(){function C(xa){R.get(xa)||(R.put(xa,!0),ia.push(xa))}for(var P=ca.apply(this,
+arguments),R=new mxDictionary,W=this.graph.model,ia=[],ka=0;ka<P.length;ka++){var pa=P[ka];this.graph.isTableCell(pa)?C(W.getParent(W.getParent(pa))):this.graph.isTableRow(pa)&&C(W.getParent(pa));C(pa)}return ia};var ba=mxConnectionHandler.prototype.isStartEvent;mxConnectionHandler.prototype.isStartEvent=function(C){return ba.apply(this,arguments)&&!mxEvent.isControlDown(C.getEvent())&&!mxEvent.isShiftDown(C.getEvent())};var oa=mxVertexHandler.prototype.isGhostPreview;mxVertexHandler.prototype.isGhostPreview=
+function(){return oa.apply(this,arguments)&&!this.graph.isTable(this.state.cell)&&!this.graph.isTableRow(this.state.cell)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isSwimlane(this.state.cell)};var Y=mxVertexHandler.prototype.createParentHighlightShape;mxVertexHandler.prototype.createParentHighlightShape=function(C){var P=Y.apply(this,arguments);P.stroke="#C0C0C0";P.strokewidth=1;return P};var da=mxEdgeHandler.prototype.createParentHighlightShape;mxEdgeHandler.prototype.createParentHighlightShape=
+function(C){var P=da.apply(this,arguments);P.stroke="#C0C0C0";P.strokewidth=1;return P};mxVertexHandler.prototype.rotationHandleVSpacing=-12;mxVertexHandler.prototype.getRotationHandlePosition=function(){var C=this.getHandlePadding();return new mxPoint(this.bounds.x+this.bounds.width-this.rotationHandleVSpacing+C.x/2,this.bounds.y+this.rotationHandleVSpacing-C.y/2)};mxVertexHandler.prototype.isRecursiveResize=function(C,P){return this.graph.isRecursiveVertexResize(C)&&!mxEvent.isAltDown(P.getEvent())};
+mxVertexHandler.prototype.isCenteredEvent=function(C,P){return mxEvent.isControlDown(P.getEvent())||mxEvent.isMetaDown(P.getEvent())};var ha=mxVertexHandler.prototype.isRotationHandleVisible;mxVertexHandler.prototype.isRotationHandleVisible=function(){return ha.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isTableRow(this.state.cell)&&!this.graph.isTable(this.state.cell)};mxVertexHandler.prototype.getSizerBounds=function(){return this.graph.isTableCell(this.state.cell)?
+this.graph.view.getState(this.graph.model.getParent(this.graph.model.getParent(this.state.cell))):this.bounds};var Z=mxVertexHandler.prototype.isParentHighlightVisible;mxVertexHandler.prototype.isParentHighlightVisible=function(){return Z.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isTableRow(this.state.cell)};var k=mxVertexHandler.prototype.isCustomHandleVisible;mxVertexHandler.prototype.isCustomHandleVisible=function(C){return C.tableHandle||k.apply(this,arguments)&&
+(!this.graph.isTable(this.state.cell)||this.graph.isCellSelected(this.state.cell))};mxVertexHandler.prototype.getSelectionBorderInset=function(){var C=0;this.graph.isTableRow(this.state.cell)?C=1:this.graph.isTableCell(this.state.cell)&&(C=2);return C};var v=mxVertexHandler.prototype.getSelectionBorderBounds;mxVertexHandler.prototype.getSelectionBorderBounds=function(){return v.apply(this,arguments).grow(-this.getSelectionBorderInset())};var J=null,N=mxVertexHandler.prototype.createCustomHandles;
+mxVertexHandler.prototype.createCustomHandles=function(){null==J&&(J=mxCellRenderer.defaultShapes.tableLine);var C=N.apply(this,arguments);if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)){var P=function(ab,Pa,Sa){for(var gb=[],fb=0;fb<ab.length;fb++){var cb=ab[fb];gb.push(null==cb?null:new mxPoint((ta+cb.x+Pa)*ka,(ua+cb.y+Sa)*ka))}return gb},R=this,W=this.graph,ia=W.model,ka=W.view.scale,pa=this.state,xa=this.selectionBorder,ta=this.state.origin.x+W.view.translate.x,
+ua=this.state.origin.y+W.view.translate.y;null==C&&(C=[]);var Ia=W.view.getCellStates(ia.getChildCells(this.state.cell,!0));if(0<Ia.length){var Va=ia.getChildCells(Ia[0].cell,!0),Wa=W.getTableLines(this.state.cell,!1,!0),Ta=W.getTableLines(this.state.cell,!0,!1);for(ia=0;ia<Ia.length;ia++)mxUtils.bind(this,function(ab){var Pa=Ia[ab],Sa=null;if(W.isCellMovable(Pa.cell)){Sa=ab<Ia.length-1?Ia[ab+1]:null;Sa=null!=Sa?W.getCellGeometry(Sa.cell):null;var gb=null!=Sa&&null!=Sa.alternateBounds?Sa.alternateBounds:
+Sa;Sa=null!=Ta[ab]?new J(Ta[ab],mxConstants.NONE,1):new mxLine(new mxRectangle,mxConstants.NONE,1,!1);Sa.isDashed=xa.isDashed;Sa.svgStrokeTolerance++;Sa=new mxHandle(Pa,"row-resize",null,Sa);Sa.tableHandle=!0;var fb=0;Sa.shape.node.parentNode.insertBefore(Sa.shape.node,Sa.shape.node.parentNode.firstChild);Sa.redraw=function(){if(null!=this.shape){this.shape.stroke=0==fb?mxConstants.NONE:xa.stroke;if(this.shape.constructor==J)this.shape.line=P(Ta[ab],0,fb),this.shape.updateBoundsFromLine();else{var eb=
+W.getActualStartSize(pa.cell,!0);this.shape.bounds.height=1;this.shape.bounds.y=this.state.y+this.state.height+fb*ka;this.shape.bounds.x=pa.x+(ab==Ia.length-1?0:eb.x*ka);this.shape.bounds.width=pa.width-(ab==Ia.length-1?0:eb.width+eb.x+ka)}this.shape.redraw()}};var cb=!1;Sa.setPosition=function(eb,lb,kb){fb=Math.max(Graph.minTableRowHeight-eb.height,lb.y-eb.y-eb.height);cb=mxEvent.isShiftDown(kb.getEvent());null!=gb&&cb&&(fb=Math.min(fb,gb.height-Graph.minTableRowHeight))};Sa.execute=function(eb){if(0!=
+fb)W.setTableRowHeight(this.state.cell,fb,!cb);else if(!R.blockDelayedSelection){var lb=W.getCellAt(eb.getGraphX(),eb.getGraphY())||pa.cell;W.graphHandler.selectCellForEvent(lb,eb)}fb=0};Sa.reset=function(){fb=0}}C.push(Sa)})(ia);for(ia=0;ia<Va.length;ia++)mxUtils.bind(this,function(ab){var Pa=W.view.getState(Va[ab]),Sa=W.getCellGeometry(Va[ab]),gb=null!=Sa.alternateBounds?Sa.alternateBounds:Sa;null==Pa&&(Pa=new mxCellState(W.view,Va[ab],W.getCellStyle(Va[ab])),Pa.x=pa.x+Sa.x*ka,Pa.y=pa.y+Sa.y*ka,
+Pa.width=gb.width*ka,Pa.height=gb.height*ka,Pa.updateCachedBounds());Sa=ab<Va.length-1?Va[ab+1]:null;Sa=null!=Sa?W.getCellGeometry(Sa):null;var fb=null!=Sa&&null!=Sa.alternateBounds?Sa.alternateBounds:Sa;Sa=null!=Wa[ab]?new J(Wa[ab],mxConstants.NONE,1):new mxLine(new mxRectangle,mxConstants.NONE,1,!0);Sa.isDashed=xa.isDashed;Sa.svgStrokeTolerance++;Pa=new mxHandle(Pa,"col-resize",null,Sa);Pa.tableHandle=!0;var cb=0;Pa.shape.node.parentNode.insertBefore(Pa.shape.node,Pa.shape.node.parentNode.firstChild);
+Pa.redraw=function(){if(null!=this.shape){this.shape.stroke=0==cb?mxConstants.NONE:xa.stroke;if(this.shape.constructor==J)this.shape.line=P(Wa[ab],cb,0),this.shape.updateBoundsFromLine();else{var lb=W.getActualStartSize(pa.cell,!0);this.shape.bounds.width=1;this.shape.bounds.x=this.state.x+(gb.width+cb)*ka;this.shape.bounds.y=pa.y+(ab==Va.length-1?0:lb.y*ka);this.shape.bounds.height=pa.height-(ab==Va.length-1?0:(lb.height+lb.y)*ka)}this.shape.redraw()}};var eb=!1;Pa.setPosition=function(lb,kb,ob){cb=
+Math.max(Graph.minTableColumnWidth-gb.width,kb.x-lb.x-gb.width);eb=mxEvent.isShiftDown(ob.getEvent());null==fb||eb||(cb=Math.min(cb,fb.width-Graph.minTableColumnWidth))};Pa.execute=function(lb){if(0!=cb)W.setTableColumnWidth(this.state.cell,cb,eb);else if(!R.blockDelayedSelection){var kb=W.getCellAt(lb.getGraphX(),lb.getGraphY())||pa.cell;W.graphHandler.selectCellForEvent(kb,lb)}cb=0};Pa.positionChanged=function(){};Pa.reset=function(){cb=0};C.push(Pa)})(ia)}}return null!=C?C.reverse():null};var T=
+mxVertexHandler.prototype.setHandlesVisible;mxVertexHandler.prototype.setHandlesVisible=function(C){T.apply(this,arguments);if(null!=this.moveHandles)for(var P=0;P<this.moveHandles.length;P++)null!=this.moveHandles[P]&&(this.moveHandles[P].node.style.visibility=C?"":"hidden");if(null!=this.cornerHandles)for(P=0;P<this.cornerHandles.length;P++)this.cornerHandles[P].node.style.visibility=C?"":"hidden"};mxVertexHandler.prototype.isMoveHandlesVisible=function(){return this.graph.isTable(this.state.cell)&&
+this.graph.isCellMovable(this.state.cell)};mxVertexHandler.prototype.refreshMoveHandles=function(){var C=this.isMoveHandlesVisible();C&&null==this.moveHandles?this.moveHandles=this.createMoveHandles():C||null==this.moveHandles||this.destroyMoveHandles();if(C&&null==this.moveHandles){for(C=0;C<this.moveHandles.length;C++)null!=this.moveHandles[C]&&this.moveHandles[C].parentNode.removeChild(this.moveHandles[C]);this.moveHandles=null}};mxVertexHandler.prototype.createMoveHandles=function(){for(var C=
+this.graph,P=C.model,R=[],W=0;W<P.getChildCount(this.state.cell);W++)mxUtils.bind(this,function(ia){if(null!=ia&&P.isVertex(ia.cell)&&C.isCellMovable(ia.cell)){var ka=new mxRectangle(0,0,this.rowHandleImage.width,this.rowHandleImage.height);ka=new mxImageShape(ka,this.rowHandleImage.src);ka.rowState=ia;ka.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_MIXEDHTML:mxConstants.DIALECT_SVG;ka.init(this.graph.getView().getOverlayPane());ka.node.style.cursor="move";mxEvent.addGestureListeners(ka.node,
+mxUtils.bind(this,function(pa){this.graph.popupMenuHandler.hideMenu();this.graph.stopEditing(!1);!this.graph.isToggleEvent(pa)&&this.graph.isCellSelected(ia.cell)||this.graph.selectCellForEvent(ia.cell,pa);mxEvent.isPopupTrigger(pa)||(this.graph.graphHandler.start(this.state.cell,mxEvent.getClientX(pa),mxEvent.getClientY(pa),this.graph.getSelectionCells()),this.graph.graphHandler.cellWasClicked=!0,this.graph.isMouseTrigger=mxEvent.isMouseEvent(pa),this.graph.isMouseDown=!0);mxEvent.consume(pa)}),
+null,mxUtils.bind(this,function(pa){mxEvent.isPopupTrigger(pa)&&(this.graph.popupMenuHandler.popup(mxEvent.getClientX(pa),mxEvent.getClientY(pa),ia.cell,pa),mxEvent.consume(pa))}));R.push(ka)}else R.push(null)})(this.graph.view.getState(P.getChildAt(this.state.cell,W)));return R};mxVertexHandler.prototype.destroyMoveHandles=function(){if(null!=this.moveHandles){for(var C=0;C<this.moveHandles.length;C++)null!=this.moveHandles[C]&&this.moveHandles[C].destroy();this.moveHandles=null}};mxVertexHandler.prototype.destroyCornerHandles=
+function(){if(null!=this.cornerHandles){for(var C=0;C<this.cornerHandles.length;C++)null!=this.cornerHandles[C]&&null!=this.cornerHandles[C].node&&null!=this.cornerHandles[C].node.parentNode&&this.cornerHandles[C].node.parentNode.removeChild(this.cornerHandles[C].node);this.cornerHandles=null}};var V=mxVertexHandler.prototype.refresh;mxVertexHandler.prototype.refresh=function(){V.apply(this,arguments);this.destroyMoveHandles();this.destroyCornerHandles();if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell))this.refreshMoveHandles();
+else if(1==this.graph.getSelectionCount()&&this.graph.isCellMovable(this.state.cell)&&(this.graph.isTableCell(this.state.cell)||this.graph.isTableRow(this.state.cell))){this.cornerHandles=[];for(var C=0;4>C;C++){var P=new mxRectangleShape(new mxRectangle(0,0,6,6),"#ffffff",mxConstants.HANDLE_STROKECOLOR);P.dialect=mxConstants.DIALECT_SVG;P.init(this.graph.view.getOverlayPane());this.cornerHandles.push(P)}}this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)&&this.refreshMoveHandles();
+C=this.graph.getLinkForCell(this.state.cell);P=this.graph.getLinksForState(this.state);this.updateLinkHint(C,P)};var U=mxVertexHandler.prototype.getHandlePadding;mxVertexHandler.prototype.getHandlePadding=function(){var C=new mxPoint(0,0),P=this.tolerance,R=this.state.style.shape;null==mxCellRenderer.defaultShapes[R]&&mxStencilRegistry.getStencil(R);R=this.graph.isTable(this.state.cell)||this.graph.cellEditor.getEditingCell()==this.state.cell;if(!R&&null!=this.customHandles)for(var W=0;W<this.customHandles.length;W++)if(null!=
+this.customHandles[W]&&null!=this.customHandles[W].shape&&null!=this.customHandles[W].shape.bounds){var ia=this.customHandles[W].shape.bounds,ka=ia.getCenterX(),pa=ia.getCenterY();if(Math.abs(this.state.x-ka)<ia.width/2||Math.abs(this.state.y-pa)<ia.height/2||Math.abs(this.state.x+this.state.width-ka)<ia.width/2||Math.abs(this.state.y+this.state.height-pa)<ia.height/2){R=!0;break}}R&&null!=this.sizers&&0<this.sizers.length&&null!=this.sizers[0]?(P/=2,this.graph.isTable(this.state.cell)&&(P+=7),C.x=
+this.sizers[0].bounds.width+P,C.y=this.sizers[0].bounds.height+P):C=U.apply(this,arguments);return C};mxVertexHandler.prototype.updateHint=function(C){if(this.index!=mxEvent.LABEL_HANDLE){null==this.hint&&(this.hint=b(),this.state.view.graph.container.appendChild(this.hint));if(this.index==mxEvent.ROTATION_HANDLE)this.hint.innerHTML=this.currentAlpha+"&deg;";else{C=this.state.view.scale;var P=this.state.view.unit;this.hint.innerHTML=f(this.roundLength(this.bounds.width/C),P)+" x "+f(this.roundLength(this.bounds.height/
+C),P)}C=mxUtils.getBoundingBox(this.bounds,null!=this.currentAlpha?this.currentAlpha:this.state.style[mxConstants.STYLE_ROTATION]||"0");null==C&&(C=this.bounds);this.hint.style.left=C.x+Math.round((C.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=C.y+C.height+Editor.hintOffset+"px";null!=this.linkHint&&(this.linkHint.style.display="none")}};mxVertexHandler.prototype.removeHint=function(){mxGraphHandler.prototype.removeHint.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.display=
+"")};var X=mxEdgeHandler.prototype.refresh;mxEdgeHandler.prototype.refresh=function(){X.apply(this,arguments);var C=this.graph.getLinkForCell(this.state.cell),P=this.graph.getLinksForState(this.state);this.updateLinkHint(C,P)};var fa=mxEdgeHandler.prototype.mouseMove;mxEdgeHandler.prototype.mouseMove=function(C,P){fa.apply(this,arguments);null!=this.linkHint&&"none"!=this.linkHint.style.display&&null!=this.graph.graphHandler&&null!=this.graph.graphHandler.first&&(this.linkHint.style.display="none")};
+var na=mxEdgeHandler.prototype.mouseUp;mxEdgeHandler.prototype.mouseUp=function(C,P){na.apply(this,arguments);null!=this.linkHint&&"none"==this.linkHint.style.display&&1==this.graph.getSelectionCount()&&(this.linkHint.style.display="")};mxEdgeHandler.prototype.updateHint=function(C,P,R){null==this.hint&&(this.hint=b(),this.state.view.graph.container.appendChild(this.hint));var W=this.graph.view.translate,ia=this.graph.view.scale,ka=this.roundLength(P.x/ia-W.x);W=this.roundLength(P.y/ia-W.y);var pa=
+this.graph.view.unit;this.hint.innerHTML=f(ka,pa)+", "+f(W,pa);this.hint.style.visibility="visible";null!=R&&(R.view.updateEdgeBounds(R),this.hint.innerHTML+=" ("+(pa==mxConstants.POINTS?Math.round(R.length/ia):f(R.length/ia,pa))+")");if(this.isSource||this.isTarget)null!=this.constraintHandler&&null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus?(R=this.constraintHandler.currentConstraint.point,this.hint.innerHTML="["+Math.round(100*R.x)+"%, "+Math.round(100*
+R.y)+"%]"):this.marker.hasValidState()&&(this.hint.style.visibility="hidden");this.hint.style.left=Math.round(C.getGraphX()-this.hint.clientWidth/2)+"px";this.hint.style.top=Math.max(C.getGraphY(),P.y)+Editor.hintOffset+"px";null!=this.linkHint&&(this.linkHint.style.display="none")};Graph.prototype.expandedImage=Graph.createSvgImage(9,9,'<defs><linearGradient id="grad1" x1="50%" y1="0%" x2="50%" y2="100%"><stop offset="30%" style="stop-color:#f0f0f0;" /><stop offset="100%" style="stop-color:#AFB0B6;" /></linearGradient></defs><rect x="0" y="0" width="9" height="9" stroke="#8A94A5" fill="url(#grad1)" stroke-width="2"/><path d="M 2 4.5 L 7 4.5 z" stroke="#000"/>');
+Graph.prototype.collapsedImage=Graph.createSvgImage(9,9,'<defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="30%" style="stop-color:#f0f0f0;" /><stop offset="100%" style="stop-color:#AFB0B6;" /></linearGradient></defs><rect x="0" y="0" width="9" height="9" stroke="#8A94A5" fill="url(#grad1)" stroke-width="2"/><path d="M 4.5 2 L 4.5 7 M 2 4.5 L 7 4.5 z" stroke="#000"/>');mxEdgeHandler.prototype.removeHint=mxVertexHandler.prototype.removeHint;HoverIcons.prototype.mainHandle=
+Graph.createSvgImage(18,18,'<circle cx="9" cy="9" r="5" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/>');HoverIcons.prototype.endMainHandle=Graph.createSvgImage(18,18,'<circle cx="9" cy="9" r="6" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/>');HoverIcons.prototype.secondaryHandle=Graph.createSvgImage(16,16,'<path d="m 8 3 L 13 8 L 8 13 L 3 8 z" stroke="#fff" fill="#fca000"/>');HoverIcons.prototype.fixedHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="6" stroke="#fff" fill="#01bd22"/><path d="m 8 8 L 14 14M 8 14 L 14 8" stroke="#fff"/>');
HoverIcons.prototype.endFixedHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="7" stroke="#fff" fill="#01bd22"/><path d="m 8 8 L 14 14M 8 14 L 14 8" stroke="#fff"/>');HoverIcons.prototype.terminalHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="6" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/><circle cx="11" cy="11" r="3" stroke="#fff" fill="transparent"/>');HoverIcons.prototype.endTerminalHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="7" stroke="#fff" fill="'+
HoverIcons.prototype.arrowFill+'"/><circle cx="11" cy="11" r="3" stroke="#fff" fill="transparent"/>');HoverIcons.prototype.rotationHandle=Graph.createSvgImage(16,16,'<path stroke="'+HoverIcons.prototype.arrowFill+'" fill="'+HoverIcons.prototype.arrowFill+'" d="M15.55 5.55L11 1v3.07C7.06 4.56 4 7.92 4 12s3.05 7.44 7 7.93v-2.02c-2.84-.48-5-2.94-5-5.91s2.16-5.43 5-5.91V10l4.55-4.45zM19.93 11c-.17-1.39-.72-2.73-1.62-3.89l-1.42 1.42c.54.75.88 1.6 1.02 2.47h2.02zM13 17.9v2.02c1.39-.17 2.74-.71 3.9-1.61l-1.44-1.44c-.75.54-1.59.89-2.46 1.03zm3.89-2.42l1.42 1.41c.9-1.16 1.45-2.5 1.62-3.89h-2.02c-.14.87-.48 1.72-1.02 2.48z"/>',
24,24);mxConstraintHandler.prototype.pointImage=Graph.createSvgImage(5,5,'<path d="m 0 0 L 5 5 M 0 5 L 5 0" stroke-width="2" style="stroke-opacity:0.4" stroke="#ffffff"/><path d="m 0 0 L 5 5 M 0 5 L 5 0" stroke="'+HoverIcons.prototype.arrowFill+'"/>');mxVertexHandler.TABLE_HANDLE_COLOR="#fca000";mxVertexHandler.prototype.handleImage=HoverIcons.prototype.mainHandle;mxVertexHandler.prototype.secondaryHandleImage=HoverIcons.prototype.secondaryHandle;mxVertexHandler.prototype.rowHandleImage=Graph.createSvgImage(14,
@@ -3478,14 +3478,14 @@ k.lastPrintSheetsAcross||"1");Ea.setAttribute("min","1");Ea.setAttribute("type",
U.style.whiteSpace="nowrap";U.style.paddingTop="12px";U.style.marginTop="12px";U.style.paddingLeft="8px";mxUtils.write(U,mxResources.get("borderWidth")+":");var P=document.createElement("input");P.setAttribute("type","number");P.setAttribute("min","0");P.style.width="40px";P.style.marginLeft="4px";P.value=null!=k.lastPrintBorder?k.lastPrintBorder:mxPrintPreview.prototype.pageMargin;U.appendChild(P);v=document.createElement("span");v.style.marginLeft="8px";mxUtils.write(v,mxResources.get("zoom")+":");
U.appendChild(v);var R=document.createElement("input");R.style.width="60px";R.style.marginLeft="4px";R.value=null!=k.lastPrintZoom?k.lastPrintZoom:"100%";U.appendChild(R);mxUtils.br(U);var W=document.createElement("input");W.setAttribute("type","checkbox");W.style.marginTop="12px";W.checked=null!=k.lastPrintGrid?k.lastPrintGrid:!1;U.appendChild(W);v=document.createElement("span");v.style.marginLeft="4px";v.style.marginRight="8px";mxUtils.write(v,mxResources.get("grid"));U.appendChild(v);mxEvent.addListener(v,
"click",function(ua){W.checked=!0;mxEvent.consume(ua)});var ia=document.createElement("input");ia.setAttribute("type","checkbox");ia.style.marginTop="12px";ia.checked=null!=k.lastPrintShadow?k.lastPrintShadow:!1;U.appendChild(ia);v=document.createElement("span");v.style.marginLeft="4px";v.style.marginRight="8px";mxUtils.write(v,mxResources.get("shadows"));U.appendChild(v);k.isOffline()&&!mxClient.IS_CHROMEAPP||v.appendChild(k.createHelpIcon("https://github.com/jgraph/drawio/discussions/5136"));mxEvent.addListener(v,
-"click",function(ua){ia.checked=!0;mxEvent.consume(ua)});Editor.enableShadowOption?null!=J&&mxUtils.br(U):(ia.style.display="none",v.style.display="none");var ka=document.createElement("input");ka.setAttribute("type","checkbox");ka.style.marginTop="10px";ka.checked=null!=k.lastPrintTransparent?k.lastPrintTransparent:!1;null!=J&&(U.appendChild(ka),v=document.createElement("span"),v.style.marginLeft="4px",mxUtils.write(v,mxResources.get("transparentBackground")),U.appendChild(v),mxEvent.addListener(v,
-"click",function(ua){ka.checked=!0;mxEvent.consume(ua)}));var pa=document.createElement("input");pa.setAttribute("type","checkbox");pa.style.marginTop="10px";pa.checked=null!=k.lastPrintInclude?k.lastPrintInclude:Editor.defaultIncludeDiagram;null==J||mxClient.IS_CHROMEAPP||"draw.io"!=k.getServiceName()||(mxUtils.br(U),U.appendChild(pa),v=document.createElement("span"),v.style.marginLeft="4px",mxUtils.write(v,mxResources.get("includeCopyOfMyDiagram")),U.appendChild(v),mxEvent.addListener(v,"click",
-function(ua){pa.checked=!0;mxEvent.consume(ua)}));X.appendChild(U);v=document.createElement("div");v.style.marginTop="30px";v.style.textAlign="right";v.style.whiteSpace="nowrap";k.isOffline()&&!mxClient.IS_CHROMEAPP||null!=J||v.appendChild(k.createHelpIcon("https://www.drawio.com/doc/faq/print-diagram"));U=mxUtils.button(mxResources.get("cancel"),function(){k.hideDialog()});U.className="geBtn";k.editor.cancelFirst&&v.appendChild(U);PrintDialog.previewEnabled&&null==J&&(fa=mxUtils.button(mxResources.get("preview"),
-function(){try{k.hideDialog(),V(!1)}catch(ua){k.handleError(ua)}}),fa.className="geBtn",v.appendChild(fa));N=null!=N?N:null!=J?"export":PrintDialog.previewEnabled?"print":"ok";N=mxUtils.button(mxResources.get(N),function(){try{k.hideDialog(),V(!0)}catch(ua){k.handleError(ua)}});N.className="geBtn gePrimaryBtn";v.appendChild(N);k.editor.cancelFirst||v.appendChild(U);X.appendChild(v);if(k.editor.isChromelessView()){var xa=function(){Editor.isDarkMode()?(X.classList.add("geDarkMode"),X.style.colorScheme=
-"dark"):(X.classList.remove("geDarkMode"),X.style.colorScheme="light")};k.addListener("darkModeChanged",xa);xa();var ta=function(ua,Ia){ua=Ia.getProperty("dialog");X.parentNode==ua.container&&(k.editor.removeListener(ta),k.removeListener(xa))};k.editor.addListener("hideDialog",ta)}this.container=X};var Z=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 k=this.image;null!=k&&null!=k.src&&Graph.isPageLink(k.src)&&(k={originalSrc:k.src});this.page.viewState.backgroundImage=k}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 Z.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&&(k=this.ui.editor.graph.adaptiveColors,this.ui.setAdaptiveColors(this.adaptiveColors),this.adaptiveColors=null!=k?k:"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="28.0.4";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))&&"https://preprod.diagrams.net/"!=window.location.hostname&&"support.draw.io"!=window.location.hostname&&
+"click",function(ua){"IMG"!=mxEvent.getSource(ua).nodeName&&(ia.checked=!0,mxEvent.consume(ua))});Editor.enableShadowOption?null!=J&&mxUtils.br(U):(ia.style.display="none",v.style.display="none");var ka=document.createElement("input");ka.setAttribute("type","checkbox");ka.style.marginTop="10px";ka.checked=null!=k.lastPrintTransparent?k.lastPrintTransparent:!1;null!=J&&(U.appendChild(ka),v=document.createElement("span"),v.style.marginLeft="4px",mxUtils.write(v,mxResources.get("transparentBackground")),
+U.appendChild(v),mxEvent.addListener(v,"click",function(ua){ka.checked=!0;mxEvent.consume(ua)}));var pa=document.createElement("input");pa.setAttribute("type","checkbox");pa.style.marginTop="10px";pa.checked=null!=k.lastPrintInclude?k.lastPrintInclude:Editor.defaultIncludeDiagram;null==J||mxClient.IS_CHROMEAPP||"draw.io"!=k.getServiceName()||(mxUtils.br(U),U.appendChild(pa),v=document.createElement("span"),v.style.marginLeft="4px",mxUtils.write(v,mxResources.get("includeCopyOfMyDiagram")),U.appendChild(v),
+mxEvent.addListener(v,"click",function(ua){pa.checked=!0;mxEvent.consume(ua)}));X.appendChild(U);v=document.createElement("div");v.style.marginTop="30px";v.style.textAlign="right";v.style.whiteSpace="nowrap";k.isOffline()&&!mxClient.IS_CHROMEAPP||null!=J||v.appendChild(k.createHelpIcon("https://www.drawio.com/doc/faq/print-diagram"));U=mxUtils.button(mxResources.get("cancel"),function(){k.hideDialog()});U.className="geBtn";k.editor.cancelFirst&&v.appendChild(U);PrintDialog.previewEnabled&&null==J&&
+(fa=mxUtils.button(mxResources.get("preview"),function(){try{k.hideDialog(),V(!1)}catch(ua){k.handleError(ua)}}),fa.className="geBtn",v.appendChild(fa));N=null!=N?N:null!=J?"export":PrintDialog.previewEnabled?"print":"ok";N=mxUtils.button(mxResources.get(N),function(){try{k.hideDialog(),V(!0)}catch(ua){k.handleError(ua)}});N.className="geBtn gePrimaryBtn";v.appendChild(N);k.editor.cancelFirst||v.appendChild(U);X.appendChild(v);if(k.editor.isChromelessView()){var xa=function(){Editor.isDarkMode()?
+(X.classList.add("geDarkMode"),X.style.colorScheme="dark"):(X.classList.remove("geDarkMode"),X.style.colorScheme="light")};k.addListener("darkModeChanged",xa);xa();var ta=function(ua,Ia){ua=Ia.getProperty("dialog");X.parentNode==ua.container&&(k.editor.removeListener(ta),k.removeListener(xa))};k.editor.addListener("hideDialog",ta)}this.container=X};var Z=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 k=this.image;null!=k&&null!=k.src&&Graph.isPageLink(k.src)&&(k={originalSrc:k.src});this.page.viewState.backgroundImage=k}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 Z.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&&(k=this.ui.editor.graph.adaptiveColors,this.ui.setAdaptiveColors(this.adaptiveColors),this.adaptiveColors=null!=k?k:"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="28.0.5";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))&&"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,flowchart:{htmlLabels:!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:{titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,leftPadding:75,gridLineStartPadding:35,fontSize:11,fontFamily:'"Open-Sans", "sans-serif"',numberSectionStyles:4,axisFormat:"%Y-%m-%d"}};
diff --git a/src/main/webapp/js/viewer.min.js b/src/main/webapp/js/viewer.min.js
index 1f0fbd0c1..fec46e308 100644
--- a/src/main/webapp/js/viewer.min.js
+++ b/src/main/webapp/js/viewer.min.js
@@ -28,7 +28,7 @@ if("1"==urlParams.offline||"1"==urlParams.demo||"1"==urlParams.stealth||"1"==url
"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:"28.0.4",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",IS_NS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Mozilla/")&&0>navigator.userAgent.indexOf("MSIE")&&0>navigator.userAgent.indexOf("Edge/"),
+window.mxImageBasePath=window.mxImageBasePath||"mxgraph/images";window.mxLanguage=window.mxLanguage||urlParams.lang;window.mxLanguages=window.mxLanguages||["de","se"];var mxClient={VERSION:"28.0.5",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_EM:"spellcheck"in document.createElement("textarea")&&8==document.documentMode,VML_PREFIX:"v",OFFICE_PREFIX:"o",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||
@@ -39,14 +39,14 @@ b,c)},include:function(a){document.write('<script src="'+a+'">\x3c/script>')}};"
mxClient.language="undefined"!=typeof mxLanguage&&null!=mxLanguage?mxLanguage:mxClient.IS_IE?navigator.userLanguage:navigator.language;mxClient.defaultLanguage="undefined"!=typeof mxDefaultLanguage&&null!=mxDefaultLanguage?mxDefaultLanguage:"en";mxLoadStylesheets&&mxClient.link("stylesheet","mxgraph/css/common.css");"undefined"!=typeof mxLanguages&&null!=mxLanguages&&(mxClient.languages=mxLanguages);
var mxLog={consoleName:"Console",TRACE:!1,DEBUG:!0,WARN:!0,buffer:"",init:function(){if(null==mxLog.window&&null!=document.body){var a=mxLog.consoleName+" - mxGraph "+mxClient.VERSION,b=document.createElement("table");b.setAttribute("width","100%");b.setAttribute("height","100%");var c=document.createElement("tbody"),d=document.createElement("tr"),e=document.createElement("td");e.style.verticalAlign="top";mxLog.textarea=document.createElement("textarea");mxLog.textarea.setAttribute("wrap","off");
mxLog.textarea.setAttribute("readOnly","true");mxLog.textarea.style.height="100%";mxLog.textarea.style.resize="none";mxLog.textarea.value=mxLog.buffer;mxLog.textarea.style.width=mxClient.IS_NS&&"BackCompat"!=document.compatMode?"99%":"100%";e.appendChild(mxLog.textarea);d.appendChild(e);c.appendChild(d);d=document.createElement("tr");mxLog.td=document.createElement("td");mxLog.td.style.verticalAlign="top";mxLog.td.setAttribute("height","30px");d.appendChild(mxLog.td);c.appendChild(d);b.appendChild(c);
-mxLog.addButton("Info",function(g){mxLog.info()});mxLog.addButton("DOM",function(g){g=mxUtils.getInnerHtml(document.body);mxLog.debug(g)});mxLog.addButton("Trace",function(g){mxLog.TRACE=!mxLog.TRACE;mxLog.TRACE?mxLog.debug("Tracing enabled"):mxLog.debug("Tracing disabled")});mxLog.addButton("Copy",function(g){try{mxUtils.copy(mxLog.textarea.value)}catch(k){mxUtils.alert(k)}});mxLog.addButton("Show",function(g){try{mxUtils.popup(mxLog.textarea.value)}catch(k){mxUtils.alert(k)}});mxLog.addButton("Clear",
-function(g){mxLog.textarea.value=""});d=c=0;"number"===typeof window.innerWidth?(c=window.innerHeight,d=window.innerWidth):(c=document.documentElement.clientHeight||document.body.clientHeight,d=document.body.clientWidth);mxLog.window=new mxWindow(a,b,Math.max(0,d-320),Math.max(0,c-210),300,160);mxLog.window.setMaximizable(!0);mxLog.window.setScrollable(!1);mxLog.window.setResizable(!0);mxLog.window.setClosable(!0);mxLog.window.destroyOnClose=!1;mxLog.window.title.style.paddingRight="80px";mxLog.window.title.setAttribute("title",
-a);if((mxClient.IS_NS||mxClient.IS_IE)&&!mxClient.IS_GC&&!mxClient.IS_SF&&"BackCompat"!=document.compatMode||11==document.documentMode){var f=mxLog.window.getElement();a=function(g,k){mxLog.textarea.style.height=Math.max(0,f.offsetHeight-70)+"px"};mxLog.window.addListener(mxEvent.RESIZE_END,a);mxLog.window.addListener(mxEvent.MAXIMIZE,a);mxLog.window.addListener(mxEvent.NORMALIZE,a);mxLog.textarea.style.height="92px"}}},info:function(){mxLog.writeln(mxUtils.toString(navigator))},addButton:function(a,
-b){var c=document.createElement("button");mxUtils.write(c,a);mxEvent.addListener(c,"click",b);mxLog.td.appendChild(c)},isVisible:function(){return null!=mxLog.window?mxLog.window.isVisible():!1},show:function(){mxLog.setVisible(!0)},setVisible:function(a){null==mxLog.window&&mxLog.init();null!=mxLog.window&&mxLog.window.setVisible(a)},enter:function(a){if(mxLog.TRACE)return mxLog.writeln("Entering "+a),(new Date).getTime()},leave:function(a,b){mxLog.TRACE&&(b=0!=b?" ("+((new Date).getTime()-b)+" ms)":
-"",mxLog.writeln("Leaving "+a+b))},debug:function(){mxLog.DEBUG&&mxLog.writeln.apply(this,arguments)},warn:function(){mxLog.WARN&&mxLog.writeln.apply(this,arguments)},write:function(){for(var a="",b=0;b<arguments.length;b++)a+=arguments[b],b<arguments.length-1&&(a+=" ");null!=mxLog.textarea?(mxLog.textarea.value+=a,null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Presto/2.5")&&(mxLog.textarea.style.visibility="hidden",mxLog.textarea.style.visibility="visible"),mxLog.textarea.scrollTop=mxLog.textarea.scrollHeight):
-mxLog.buffer+=a},writeln:function(){for(var a="",b=0;b<arguments.length;b++)a+=arguments[b],b<arguments.length-1&&(a+=" ");mxLog.write(a+"\n")}},mxObjectIdentity={FIELD_NAME:"mxObjectId",counter:0,get:function(a){if(null!=a){if(null==a[mxObjectIdentity.FIELD_NAME])if("object"===typeof a){var b=mxUtils.getFunctionName(a.constructor);a[mxObjectIdentity.FIELD_NAME]=b+"#"+mxObjectIdentity.counter++}else"function"===typeof a&&(a[mxObjectIdentity.FIELD_NAME]="Function#"+mxObjectIdentity.counter++);return a[mxObjectIdentity.FIELD_NAME]}return null},
-clear:function(a){"object"!==typeof a&&"function"!==typeof a||delete a[mxObjectIdentity.FIELD_NAME]}};function mxDictionary(){this.clear()}mxDictionary.prototype.map=null;mxDictionary.prototype.clear=function(){this.map={}};mxDictionary.prototype.get=function(a){a=mxObjectIdentity.get(a);return this.map[a]};mxDictionary.prototype.put=function(a,b){a=mxObjectIdentity.get(a);var c=this.map[a];this.map[a]=b;return c};
-mxDictionary.prototype.remove=function(a){a=mxObjectIdentity.get(a);var b=this.map[a];delete this.map[a];return b};mxDictionary.prototype.getCount=function(){var a=0,b;for(b in this.map)a++;return a};mxDictionary.prototype.getKeys=function(){var a=[],b;for(b in this.map)a.push(b);return a};mxDictionary.prototype.getValues=function(){var a=[],b;for(b in this.map)a.push(this.map[b]);return a};mxDictionary.prototype.visit=function(a){for(var b in this.map)a(b,this.map[b])};
+mxLog.addButton("Info",function(g){mxLog.info()});mxLog.addButton("DOM",function(g){g=mxUtils.getInnerHtml(document.body);mxLog.debug(g)});mxLog.addButton("Trace",function(g){mxLog.TRACE=!mxLog.TRACE;mxLog.TRACE?mxLog.debug("Tracing enabled"):mxLog.debug("Tracing disabled")});mxLog.addButton("Show",function(g){try{mxUtils.popup(mxLog.textarea.value)}catch(k){mxUtils.alert(k)}});mxLog.addButton("Clear",function(g){mxLog.textarea.value=""});d=c=0;"number"===typeof window.innerWidth?(c=window.innerHeight,
+d=window.innerWidth):(c=document.documentElement.clientHeight||document.body.clientHeight,d=document.body.clientWidth);mxLog.window=new mxWindow(a,b,Math.max(0,d-320),Math.max(0,c-210),300,160);mxLog.window.setMaximizable(!0);mxLog.window.setScrollable(!1);mxLog.window.setResizable(!0);mxLog.window.setClosable(!0);mxLog.window.destroyOnClose=!1;mxLog.window.title.style.paddingRight="80px";mxLog.window.title.setAttribute("title",a);if((mxClient.IS_NS||mxClient.IS_IE)&&!mxClient.IS_GC&&!mxClient.IS_SF&&
+"BackCompat"!=document.compatMode||11==document.documentMode){var f=mxLog.window.getElement();a=function(g,k){mxLog.textarea.style.height=Math.max(0,f.offsetHeight-70)+"px"};mxLog.window.addListener(mxEvent.RESIZE_END,a);mxLog.window.addListener(mxEvent.MAXIMIZE,a);mxLog.window.addListener(mxEvent.NORMALIZE,a);mxLog.textarea.style.height="92px"}}},info:function(){mxLog.writeln(mxUtils.toString(navigator))},addButton:function(a,b){var c=document.createElement("button");mxUtils.write(c,a);mxEvent.addListener(c,
+"click",b);mxLog.td.appendChild(c)},isVisible:function(){return null!=mxLog.window?mxLog.window.isVisible():!1},show:function(){mxLog.setVisible(!0)},setVisible:function(a){null==mxLog.window&&mxLog.init();null!=mxLog.window&&mxLog.window.setVisible(a)},enter:function(a){if(mxLog.TRACE)return mxLog.writeln("Entering "+a),(new Date).getTime()},leave:function(a,b){mxLog.TRACE&&(b=0!=b?" ("+((new Date).getTime()-b)+" ms)":"",mxLog.writeln("Leaving "+a+b))},debug:function(){mxLog.DEBUG&&mxLog.writeln.apply(this,
+arguments)},warn:function(){mxLog.WARN&&mxLog.writeln.apply(this,arguments)},write:function(){for(var a="",b=0;b<arguments.length;b++)a+=arguments[b],b<arguments.length-1&&(a+=" ");null!=mxLog.textarea?(mxLog.textarea.value+=a,null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("Presto/2.5")&&(mxLog.textarea.style.visibility="hidden",mxLog.textarea.style.visibility="visible"),mxLog.textarea.scrollTop=mxLog.textarea.scrollHeight):mxLog.buffer+=a},writeln:function(){for(var a="",b=0;b<arguments.length;b++)a+=
+arguments[b],b<arguments.length-1&&(a+=" ");mxLog.write(a+"\n")}},mxObjectIdentity={FIELD_NAME:"mxObjectId",counter:0,get:function(a){if(null!=a){if(null==a[mxObjectIdentity.FIELD_NAME])if("object"===typeof a){var b=mxUtils.getFunctionName(a.constructor);a[mxObjectIdentity.FIELD_NAME]=b+"#"+mxObjectIdentity.counter++}else"function"===typeof a&&(a[mxObjectIdentity.FIELD_NAME]="Function#"+mxObjectIdentity.counter++);return a[mxObjectIdentity.FIELD_NAME]}return null},clear:function(a){"object"!==typeof a&&
+"function"!==typeof a||delete a[mxObjectIdentity.FIELD_NAME]}};function mxDictionary(){this.clear()}mxDictionary.prototype.map=null;mxDictionary.prototype.clear=function(){this.map={}};mxDictionary.prototype.get=function(a){a=mxObjectIdentity.get(a);return this.map[a]};mxDictionary.prototype.put=function(a,b){a=mxObjectIdentity.get(a);var c=this.map[a];this.map[a]=b;return c};mxDictionary.prototype.remove=function(a){a=mxObjectIdentity.get(a);var b=this.map[a];delete this.map[a];return b};
+mxDictionary.prototype.getCount=function(){var a=0,b;for(b in this.map)a++;return a};mxDictionary.prototype.getKeys=function(){var a=[],b;for(b in this.map)a.push(b);return a};mxDictionary.prototype.getValues=function(){var a=[],b;for(b in this.map)a.push(this.map[b]);return a};mxDictionary.prototype.visit=function(a){for(var b in this.map)a(b,this.map[b])};
var mxResources={resources:{},extension:mxResourceExtension,resourcesEncoded:!1,loadDefaultBundle:!0,loadSpecialBundle:!0,isLanguageSupported:function(a){return null!=mxClient.languages?0<=mxUtils.indexOf(mxClient.languages,a):!0},getDefaultBundle:function(a,b){return mxResources.loadDefaultBundle||!mxResources.isLanguageSupported(b)?a+mxResources.extension:null},getSpecialBundle:function(a,b){if(null==mxClient.languages||!this.isLanguageSupported(b)){var c=b.indexOf("-");0<c&&(b=b.substring(0,c))}return mxResources.loadSpecialBundle&&
mxResources.isLanguageSupported(b)&&b!=mxClient.defaultLanguage?a+"_"+b+mxResources.extension:null},add:function(a,b,c){b=null!=b?b:null!=mxClient.language?mxClient.language.toLowerCase():mxConstants.NONE;if(b!=mxConstants.NONE){var d=mxResources.getDefaultBundle(a,b),e=mxResources.getSpecialBundle(a,b),f=function(){if(null!=e)if(c)mxUtils.get(e,function(l){mxResources.parse(l.getText());c()},function(){c()});else try{var k=mxUtils.load(e);k.isReady()&&mxResources.parse(k.getText())}catch(l){}else null!=
c&&c()};if(null!=d)if(c)mxUtils.get(d,function(k){mxResources.parse(k.getText());f()},function(){f()});else try{var g=mxUtils.load(d);g.isReady()&&mxResources.parse(g.getText());f()}catch(k){}else f()}},parse:function(a){if(null!=a){a=a.split("\n");for(var b=0;b<a.length;b++)if("#"!=a[b].charAt(0)){var c=a[b].indexOf("=");if(0<c){var d=a[b].substring(0,c),e=a[b].length;13==a[b].charCodeAt(e-1)&&e--;c=a[b].substring(c+1,e);this.resourcesEncoded?(c=c.replace(/\\(?=u[a-fA-F\d]{4})/g,"%"),mxResources.resources[d]=
@@ -499,7 +499,7 @@ mxStencil.prototype.evaluateTextAttribute=function(a,b,c){b=this.evaluateAttribu
mxStencil.prototype.drawShape=function(a,b,c,d,e,f,g){g=null!=g?g:null!=b&&null!=b.state?b.state.view.graph:null;var k=a.states.slice(),l=mxUtils.getValue(b.style,mxConstants.STYLE_DIRECTION,null);l=this.computeAspect(b.style,c,d,e,f,l);var m=Math.min(l.width,l.height);m="inherit"==this.strokewidth?Number(mxUtils.getNumber(b.style,mxConstants.STYLE_STROKEWIDTH,1)):Number(this.strokewidth)*m;a.setStrokeWidth(m);null!=b.style&&"1"==mxUtils.getValue(b.style,mxConstants.STYLE_POINTER_EVENTS,"0")&&(a.setStrokeColor(mxConstants.NONE),
a.rect(c,d,e,f),a.stroke(),a.setStrokeColor(b.stroke));this.drawChildren(a,b,c,d,e,f,this.bgNode,l,!1,!0,g);this.drawChildren(a,b,c,d,e,f,this.fgNode,l,!0,!b.outline||null==b.style||0==mxUtils.getValue(b.style,mxConstants.STYLE_BACKGROUND_OUTLINE,0),g);a.states.length!=k.length&&(a.states=k)};mxStencil.prototype.drawChildren=function(a,b,c,d,e,f,g,k,l,m,n){if(null!=g&&0<e&&0<f)for(c=g.firstChild;null!=c;)c.nodeType==mxConstants.NODETYPE_ELEMENT&&this.drawNode(a,b,c,k,l,m,n),c=c.nextSibling};
mxStencil.prototype.computeAspect=function(a,b,c,d,e,f){a=b;b=d/this.w0;var g=e/this.h0;if(f=f==mxConstants.DIRECTION_NORTH||f==mxConstants.DIRECTION_SOUTH){g=d/this.h0;b=e/this.w0;var k=(d-e)/2;a+=k;c-=k}"fixed"==this.aspect&&(b=g=Math.min(b,g),f?(a+=(e-this.w0*b)/2,c+=(d-this.h0*g)/2):(a+=(d-this.w0*b)/2,c+=(e-this.h0*g)/2));return new mxRectangle(a,c,b,g)};
-mxStencil.prototype.parseColor=function(a,b,c,d,e){"stroke"==d?d=b.stroke:"fill"==d?d=b.fill:"font"==d&&null!=b.style?d=mxUtils.getValue(b.style,mxConstants.STYLE_FONTCOLOR,"black"):null==b.style||mxUtils.isValidColor(d)||(a=mxUtils.getValue(b.style,d,mxConstants.NONE),"default"==a&&(a=null!=e?"fillcolor"==c.nodeName?e.shapeBackgroundColor:e.shapeForegroundColor:"#ffffff"),d=a);return d};
+mxStencil.prototype.parseColor=function(a,b,c,d,e){"stroke"==d?d=b.stroke:"fill"==d?d=b.fill:"font"==d&&null!=b.style?d=mxUtils.getValue(b.style,mxConstants.STYLE_FONTCOLOR,"black"):null==b.style||mxUtils.isValidColor(d)||(a=c.getAttribute("default"),b=mxUtils.getValue(b.style,d,null==a?mxConstants.NONE:a),"default"==b&&(b=null!=e?"fillcolor"==c.nodeName?e.shapeBackgroundColor:e.shapeForegroundColor:"#ffffff"),d=b);return d};
mxStencil.prototype.drawNode=function(a,b,c,d,e,f,g){var k=c.nodeName,l=d.x,m=d.y,n=d.width,p=d.height,q=Math.min(n,p);if("save"==k)a.save();else if("restore"==k)a.restore();else if(f){if("path"==k){a.begin();q=!0;if("1"==c.getAttribute("rounded")){q=!1;for(var r=Number(c.getAttribute("arcSize")),t=0,u=[],v=c.firstChild;null!=v;){if(v.nodeType==mxConstants.NODETYPE_ELEMENT){var y=v.nodeName;if("move"==y||"line"==y)"move"!=y&&0!=u.length||u.push([]),u[u.length-1].push(new mxPoint(l+Number(v.getAttribute("x"))*
n,m+Number(v.getAttribute("y"))*p)),t++;else{q=!0;break}}v=v.nextSibling}if(!q&&0<t)for(n=0;n<u.length;n++)p=!1,m=u[n][0],l=u[n][u[n].length-1],m.x==l.x&&m.y==l.y&&(u[n].pop(),p=!0),this.addPoints(a,u[n],!0,r,p);else q=!0}if(q)for(v=c.firstChild;null!=v;)v.nodeType==mxConstants.NODETYPE_ELEMENT&&this.drawNode(a,b,v,d,e,f,g),v=v.nextSibling}else if("close"==k)a.close();else if("move"==k)a.moveTo(l+Number(c.getAttribute("x"))*n,m+Number(c.getAttribute("y"))*p);else if("line"==k)a.lineTo(l+Number(c.getAttribute("x"))*
n,m+Number(c.getAttribute("y"))*p);else if("quad"==k)a.quadTo(l+Number(c.getAttribute("x1"))*n,m+Number(c.getAttribute("y1"))*p,l+Number(c.getAttribute("x2"))*n,m+Number(c.getAttribute("y2"))*p);else if("curve"==k)a.curveTo(l+Number(c.getAttribute("x1"))*n,m+Number(c.getAttribute("y1"))*p,l+Number(c.getAttribute("x2"))*n,m+Number(c.getAttribute("y2"))*p,l+Number(c.getAttribute("x3"))*n,m+Number(c.getAttribute("y3"))*p);else if("arc"==k)a.arcTo(Number(c.getAttribute("rx"))*n,Number(c.getAttribute("ry"))*
@@ -2064,19 +2064,19 @@ mxEvent.getSource(Y)!=y.container||mxEvent.consume(Y))});mxEvent.addListener(doc
(!mxEvent.isControlDown(Y.getEvent())&&mxEvent.isRightMouseButton(Y.getEvent())||mxEvent.isMiddleMouseButton(Y.getEvent()))};var m=y.cellEditor.isStopEditingEvent;y.cellEditor.isStopEditingEvent=function(Y){return m.apply(this,arguments)||13==Y.keyCode&&(!mxClient.IS_SF&&mxEvent.isControlDown(Y)||mxClient.IS_MAC&&mxEvent.isMetaDown(Y)||mxClient.IS_SF&&mxEvent.isShiftDown(Y))};var n=y.isZoomWheelEvent;y.isZoomWheelEvent=function(){return u.isSpaceDown()||n.apply(this,arguments)};var x=mxUtils.bind(this,
function(){if(null!=this.toolbar)for(var Y=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,da=this.toolbar.container.firstChild;null!=da;){var ha=da.getAttribute("data-min-width");null!=ha&&parseInt(ha)>Y?da.style.display="none":da.style.display="";da=da.nextSibling}}),F=!1,I=null,M=null,L=null,K=mxUtils.bind(this,function(){if(null!=this.toolbar&&F!=y.cellEditor.isContentEditing()){for(var Y=this.toolbar.container.firstChild,da=[];null!=Y;){var ha=Y.nextSibling;
Y.parentNode.removeChild(Y);da.push(Y);Y=ha}Y=this.toolbar.fontMenu;ha=this.toolbar.sizeMenu;if(null==L)this.toolbar.createTextToolbar();else{for(var Z=0;Z<L.length;Z++)this.toolbar.container.appendChild(L[Z]);this.toolbar.fontMenu=I;this.toolbar.sizeMenu=M}F=y.cellEditor.isContentEditing();I=Y;M=ha;L=da;x()}});this.addListener("languageChanged",mxUtils.bind(this,function(){this.destroyWindows(!0);this.descriptorChanged();this.updateStatusAgain();K()}));this.addListener("currentThemeChanged",x);mxEvent.addListener(window,
-"resize",x);x();var aa=y.cellEditor.startEditing;y.cellEditor.startEditing=function(){aa.apply(this,arguments);K();if(y.cellEditor.isContentEditing()){var Y=!1,da=function(){Y||(Y=!0,window.setTimeout(function(){var ha=y.getSelectedEditingElement();null!=ha&&(ha=mxUtils.getCurrentStyle(ha),null!=ha&&null!=u.toolbar&&(u.toolbar.setFontName(mxUtils.getCssFontFamily(ha.fontFamily)),u.toolbar.setFontSize(parseInt(ha.fontSize))));Y=!1},0))};mxEvent.addListener(y.cellEditor.textarea,"input",da);mxEvent.addListener(y.cellEditor.textarea,
-"touchend",da);mxEvent.addListener(y.cellEditor.textarea,"mouseup",da);mxEvent.addListener(y.cellEditor.textarea,"keyup",da);da()}};var ja=y.cellEditor.stopEditing;y.cellEditor.stopEditing=function(Y,da){try{ja.apply(this,arguments),K()}catch(ha){u.handleError(ha)}};y.container.setAttribute("tabindex","0");y.container.style.cursor="default";if(window.self===window.top&&null!=y.container.parentNode)try{y.container.focus()}catch(Y){}var ca=y.fireMouseEvent;y.fireMouseEvent=function(Y,da,ha){try{Y==
-mxEvent.MOUSE_DOWN&&this.container.focus(),ca.apply(this,arguments)}catch(Z){u.handleError(Z)}};var ba=y.foldCells;y.foldCells=function(Y,da,ha,Z,k){try{ba.apply(this,arguments)}catch(v){u.handleError(v)}};y.popupMenuHandler.autoExpand=!0;null!=this.menus&&(y.popupMenuHandler.factoryMethod=mxUtils.bind(this,function(Y,da,ha){this.menus.createPopupMenu(Y,da,ha)}));mxEvent.addGestureListeners(document,mxUtils.bind(this,function(Y){y.popupMenuHandler.hideMenu()}));this.keyHandler=this.createKeyHandler(b);
-this.getKeyHandler=function(){return keyHandler};y.connectionHandler.addListener(mxEvent.CONNECT,function(Y,da){var ha=[da.getProperty("cell")];da.getProperty("terminalInserted")&&(ha.push(da.getProperty("terminal")),window.setTimeout(function(){null!=u.hoverIcons&&u.hoverIcons.update(y.view.getState(ha[ha.length-1]))},0));y.pasteCellStyles(ha)});this.addListener("styleChanged",mxUtils.bind(this,function(Y,da){Y=da.getProperty("force");(this.updateDefaultStyle||Y)&&y.copyCellStyles(da.getProperty("cells"),
-da.getProperty("keys"),da.getProperty("values"),y.currentVertexStyle,y.currentEdgeStyle,H,S);null!=this.toolbar&&(this.toolbar.setFontName(y.currentVertexStyle.fontFamily||Menus.prototype.defaultFont),this.toolbar.setFontSize(y.currentVertexStyle.fontSize||Menus.prototype.defaultFontSize),null!=this.toolbar.edgeStyleMenu&&("orthogonalEdgeStyle"==y.currentEdgeStyle.edgeStyle&&"1"==y.currentEdgeStyle.curved?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.curvedImage.src):"straight"==y.currentEdgeStyle.edgeStyle||
-"none"==y.currentEdgeStyle.edgeStyle||null==y.currentEdgeStyle.edgeStyle?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.straightImage.src):"entityRelationEdgeStyle"==y.currentEdgeStyle.edgeStyle?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.entityImage.src):"elbowEdgeStyle"==y.currentEdgeStyle.edgeStyle?"vertical"==y.currentEdgeStyle.elbow?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.verticalElbowImage.src):this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,
-Format.horizontalElbowImage.src):"isometricEdgeStyle"==y.currentEdgeStyle.edgeStyle?"vertical"==y.currentEdgeStyle.elbow?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.verticalIsometricImage.src):this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.horizontalIsometricImage.src):this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.orthogonalImage.src)),null!=this.toolbar.edgeShapeMenu&&("link"==y.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.linkEdgeImage.src):
-"flexArrow"==y.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.arrowImage.src):"arrow"==y.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.simpleArrowImage.src):"filledEdge"==y.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.filledEdgeImage.src):"pipe"==y.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.pipeEdgeImage.src):"wire"==y.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,
-Format.wireEdgeImage.src):this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.connectionImage.src)))}));null!=this.toolbar&&(b=mxUtils.bind(this,function(){var Y=y.currentVertexStyle.fontFamily||"Helvetica",da=String(y.currentVertexStyle.fontSize||"12"),ha=y.getView().getState(y.getSelectionCell());null!=ha&&(Y=ha.style[mxConstants.STYLE_FONTFAMILY]||Y,da=ha.style[mxConstants.STYLE_FONTSIZE]||da,10<Y.length&&(Y=Y.substring(0,8)+"..."));this.toolbar.setFontName(Y);this.toolbar.setFontSize(da)}),
-y.getSelectionModel().addListener(mxEvent.CHANGE,b),y.getModel().addListener(mxEvent.CHANGE,b));y.addListener(mxEvent.CELLS_ADDED,function(Y,da){Y=da.getProperty("cells");da=da.getProperty("parent");null!=da&&y.getModel().isLayer(da)&&!y.isCellVisible(da)&&null!=Y&&0<Y.length&&y.getModel().setVisible(da,!0)});Graph.selectParentLayer&&y.selectionModel.addListener(mxEvent.CHANGE,function(){if(y.isEnabled()&&!y.isSelectionEmpty()){var Y=y.getLayerForCells(y.getSelectionCells());null!=Y&&y.setDefaultParent(Y)}});
-this.gestureHandler=mxUtils.bind(this,function(Y){null!=this.currentMenu&&mxEvent.getSource(Y)!=this.currentMenu.div&&this.hideCurrentMenu()});mxEvent.addGestureListeners(document,this.gestureHandler);var oa=null;this.resizeHandler=mxUtils.bind(this,function(){null!=oa&&window.clearTimeout(oa);oa=window.setTimeout(mxUtils.bind(this,function(){oa=null;this.windowResized()}),100)});mxEvent.addListener(window,"resize",this.resizeHandler);this.orientationChangeHandler=mxUtils.bind(this,function(){this.refresh()});
-mxEvent.addListener(window,"orientationchange",this.orientationChangeHandler);mxClient.IS_IOS&&!window.navigator.standalone&&"undefined"!==typeof Menus&&(this.scrollHandler=mxUtils.bind(this,function(){window.scrollTo(0,0)}),mxEvent.addListener(window,"scroll",this.scrollHandler));this.editor.addListener("resetGraphView",mxUtils.bind(this,function(){this.resetScrollbars()}));this.addListener("gridEnabledChanged",mxUtils.bind(this,function(){y.view.validateBackground()}));this.addListener("backgroundColorChanged",
-mxUtils.bind(this,function(){y.view.validateBackground()}));y.addListener("gridSizeChanged",mxUtils.bind(this,function(){y.isGridEnabled()&&y.view.validateBackground()}));this.editor.resetGraph()}this.init();y.standalone||this.open()};EditorUi.compactUi=!0;
+"resize",x);x();y.isTouchPopupMenuEnabled=function(){return null==u.dialog};var aa=y.cellEditor.startEditing;y.cellEditor.startEditing=function(){aa.apply(this,arguments);K();if(y.cellEditor.isContentEditing()){var Y=!1,da=function(){Y||(Y=!0,window.setTimeout(function(){var ha=y.getSelectedEditingElement();null!=ha&&(ha=mxUtils.getCurrentStyle(ha),null!=ha&&null!=u.toolbar&&(u.toolbar.setFontName(mxUtils.getCssFontFamily(ha.fontFamily)),u.toolbar.setFontSize(parseInt(ha.fontSize))));Y=!1},0))};mxEvent.addListener(y.cellEditor.textarea,
+"input",da);mxEvent.addListener(y.cellEditor.textarea,"touchend",da);mxEvent.addListener(y.cellEditor.textarea,"mouseup",da);mxEvent.addListener(y.cellEditor.textarea,"keyup",da);da()}};var ja=y.cellEditor.stopEditing;y.cellEditor.stopEditing=function(Y,da){try{ja.apply(this,arguments),K()}catch(ha){u.handleError(ha)}};y.container.setAttribute("tabindex","0");y.container.style.cursor="default";if(window.self===window.top&&null!=y.container.parentNode)try{y.container.focus()}catch(Y){}var ca=y.fireMouseEvent;
+y.fireMouseEvent=function(Y,da,ha){try{Y==mxEvent.MOUSE_DOWN&&this.container.focus(),ca.apply(this,arguments)}catch(Z){u.handleError(Z)}};var ba=y.foldCells;y.foldCells=function(Y,da,ha,Z,k){try{ba.apply(this,arguments)}catch(v){u.handleError(v)}};y.popupMenuHandler.autoExpand=!0;null!=this.menus&&(y.popupMenuHandler.factoryMethod=mxUtils.bind(this,function(Y,da,ha){this.menus.createPopupMenu(Y,da,ha)}));mxEvent.addGestureListeners(document,mxUtils.bind(this,function(Y){y.popupMenuHandler.hideMenu()}));
+this.keyHandler=this.createKeyHandler(b);this.getKeyHandler=function(){return keyHandler};y.connectionHandler.addListener(mxEvent.CONNECT,function(Y,da){var ha=[da.getProperty("cell")];da.getProperty("terminalInserted")&&(ha.push(da.getProperty("terminal")),window.setTimeout(function(){null!=u.hoverIcons&&u.hoverIcons.update(y.view.getState(ha[ha.length-1]))},0));y.pasteCellStyles(ha)});this.addListener("styleChanged",mxUtils.bind(this,function(Y,da){Y=da.getProperty("force");(this.updateDefaultStyle||
+Y)&&y.copyCellStyles(da.getProperty("cells"),da.getProperty("keys"),da.getProperty("values"),y.currentVertexStyle,y.currentEdgeStyle,H,S);null!=this.toolbar&&(this.toolbar.setFontName(y.currentVertexStyle.fontFamily||Menus.prototype.defaultFont),this.toolbar.setFontSize(y.currentVertexStyle.fontSize||Menus.prototype.defaultFontSize),null!=this.toolbar.edgeStyleMenu&&("orthogonalEdgeStyle"==y.currentEdgeStyle.edgeStyle&&"1"==y.currentEdgeStyle.curved?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,
+Format.curvedImage.src):"straight"==y.currentEdgeStyle.edgeStyle||"none"==y.currentEdgeStyle.edgeStyle||null==y.currentEdgeStyle.edgeStyle?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.straightImage.src):"entityRelationEdgeStyle"==y.currentEdgeStyle.edgeStyle?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.entityImage.src):"elbowEdgeStyle"==y.currentEdgeStyle.edgeStyle?"vertical"==y.currentEdgeStyle.elbow?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.verticalElbowImage.src):
+this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.horizontalElbowImage.src):"isometricEdgeStyle"==y.currentEdgeStyle.edgeStyle?"vertical"==y.currentEdgeStyle.elbow?this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.verticalIsometricImage.src):this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.horizontalIsometricImage.src):this.toolbar.setMenuIcon(this.toolbar.edgeStyleMenu,Format.orthogonalImage.src)),null!=this.toolbar.edgeShapeMenu&&("link"==y.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,
+Format.linkEdgeImage.src):"flexArrow"==y.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.arrowImage.src):"arrow"==y.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.simpleArrowImage.src):"filledEdge"==y.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.filledEdgeImage.src):"pipe"==y.currentEdgeStyle.shape?this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.pipeEdgeImage.src):"wire"==y.currentEdgeStyle.shape?
+this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.wireEdgeImage.src):this.toolbar.setMenuIcon(this.toolbar.edgeShapeMenu,Format.connectionImage.src)))}));null!=this.toolbar&&(b=mxUtils.bind(this,function(){var Y=y.currentVertexStyle.fontFamily||"Helvetica",da=String(y.currentVertexStyle.fontSize||"12"),ha=y.getView().getState(y.getSelectionCell());null!=ha&&(Y=ha.style[mxConstants.STYLE_FONTFAMILY]||Y,da=ha.style[mxConstants.STYLE_FONTSIZE]||da,10<Y.length&&(Y=Y.substring(0,8)+"..."));this.toolbar.setFontName(Y);
+this.toolbar.setFontSize(da)}),y.getSelectionModel().addListener(mxEvent.CHANGE,b),y.getModel().addListener(mxEvent.CHANGE,b));y.addListener(mxEvent.CELLS_ADDED,function(Y,da){Y=da.getProperty("cells");da=da.getProperty("parent");null!=da&&y.getModel().isLayer(da)&&!y.isCellVisible(da)&&null!=Y&&0<Y.length&&y.getModel().setVisible(da,!0)});Graph.selectParentLayer&&y.selectionModel.addListener(mxEvent.CHANGE,function(){if(y.isEnabled()&&!y.isSelectionEmpty()){var Y=y.getLayerForCells(y.getSelectionCells());
+null!=Y&&y.setDefaultParent(Y)}});this.gestureHandler=mxUtils.bind(this,function(Y){null!=this.currentMenu&&mxEvent.getSource(Y)!=this.currentMenu.div&&this.hideCurrentMenu()});mxEvent.addGestureListeners(document,this.gestureHandler);var oa=null;this.resizeHandler=mxUtils.bind(this,function(){null!=oa&&window.clearTimeout(oa);oa=window.setTimeout(mxUtils.bind(this,function(){oa=null;this.windowResized()}),100)});mxEvent.addListener(window,"resize",this.resizeHandler);this.orientationChangeHandler=
+mxUtils.bind(this,function(){this.refresh()});mxEvent.addListener(window,"orientationchange",this.orientationChangeHandler);mxClient.IS_IOS&&!window.navigator.standalone&&"undefined"!==typeof Menus&&(this.scrollHandler=mxUtils.bind(this,function(){window.scrollTo(0,0)}),mxEvent.addListener(window,"scroll",this.scrollHandler));this.editor.addListener("resetGraphView",mxUtils.bind(this,function(){this.resetScrollbars()}));this.addListener("gridEnabledChanged",mxUtils.bind(this,function(){y.view.validateBackground()}));
+this.addListener("backgroundColorChanged",mxUtils.bind(this,function(){y.view.validateBackground()}));y.addListener("gridSizeChanged",mxUtils.bind(this,function(){y.isGridEnabled()&&y.view.validateBackground()}));this.editor.resetGraph()}this.init();y.standalone||this.open()};EditorUi.compactUi=!0;
EditorUi.parsePng=function(b,f,l){function u(H,S){var E=q;q+=S;return H.substring(E,q)}function y(H){H=u(H,4);return H.charCodeAt(3)+(H.charCodeAt(2)<<8)+(H.charCodeAt(1)<<16)+(H.charCodeAt(0)<<24)}var q=0;if(u(b,8)!=String.fromCharCode(137)+"PNG"+String.fromCharCode(13,10,26,10))null!=l&&l();else if(u(b,4),"IHDR"!=u(b,4))null!=l&&l();else{u(b,17);do{l=y(b);var B=u(b,4);if(null!=f&&f(q-8,B,l))break;value=u(b,l);u(b,4);if("IEND"==B)break}while(l)}};mxUtils.extend(EditorUi,mxEventSource);
EditorUi.prototype.splitSize=mxClient.IS_TOUCH||mxClient.IS_POINTER?12:8;EditorUi.prototype.formatEnabled=!0;EditorUi.prototype.formatWidth=240;EditorUi.prototype.defaultSidebarWidth=Math.min(screen.width/2,"large"!=urlParams["sidebar-entries"]?220:230);EditorUi.prototype.hsplitPosition=screen.width<=Editor.smallScreenWidth?0:EditorUi.prototype.defaultSidebarWidth;EditorUi.prototype.allowAnimation=!0;EditorUi.prototype.lightboxMaxFitScale=2;EditorUi.prototype.lightboxVerticalDivider=4;
EditorUi.prototype.hsplitClickEnabled=!1;EditorUi.prototype.updateDefaultStyle=!1;EditorUi.prototype.spaceDown=!1;EditorUi.prototype.shiftDown=!1;
@@ -2648,62 +2648,62 @@ R.innerHTML=C;C=document.createDocumentFragment();for(var W;W=R.firstChild;)last
ia.setAttribute("rel",this.linkRelation);ia.setAttribute("href",this.getAbsoluteUrl(C));ia.setAttribute("title",W(this.isCustomLink(C)?this.getLinkTitle(C):C,80));null!=this.linkTarget&&ia.setAttribute("target",this.linkTarget);mxUtils.write(ia,W(P,40));this.isCustomLink(C)&&mxEvent.addListener(ia,"click",mxUtils.bind(this,function(ka){this.customLinkClicked(C,R);mxEvent.consume(ka)}));return ia};Graph.prototype.initTouch=function(){this.connectionHandler.marker.isEnabled=function(){return null!=
this.graph.connectionHandler.first};this.addListener(mxEvent.START_EDITING,function(ka,pa){this.popupMenuHandler.hideMenu()});var C=this.updateMouseEvent;this.updateMouseEvent=function(ka){ka=C.apply(this,arguments);if(mxEvent.isTouchEvent(ka.getEvent())&&null==ka.getState()){var pa=this.getCellAt(ka.graphX,ka.graphY);null!=pa&&this.isSwimlane(pa)&&this.hitsSwimlaneContent(pa,ka.graphX,ka.graphY)||(ka.state=this.view.getState(pa),null!=ka.state&&null!=ka.state.shape&&(this.container.style.cursor=
ka.state.shape.node.style.cursor))}null==ka.getState()&&this.isEnabled()&&(this.container.style.cursor="default");return ka};var P=!1,R=!1,W=!1,ia=this.fireMouseEvent;this.fireMouseEvent=function(ka,pa,xa){ka==mxEvent.MOUSE_DOWN&&(pa=this.updateMouseEvent(pa),P=this.isCellSelected(pa.getCell()),R=this.isSelectionEmpty(),W=this.popupMenuHandler.isMenuShowing());ia.apply(this,arguments)};this.popupMenuHandler.mouseUp=mxUtils.bind(this,function(ka,pa){if(null!=this.freehand&&!this.freehand.isDrawing()){var xa=
-mxEvent.isMouseEvent(pa.getEvent());this.popupMenuHandler.popupTrigger=!this.isEditing()&&this.isEnabled()&&(null==pa.getState()||!pa.isSource(pa.getState().control))&&(this.popupMenuHandler.popupTrigger||!W&&!xa&&(R&&null==pa.getCell()&&this.isSelectionEmpty()||P&&this.isCellSelected(pa.getCell())));xa=!P||xa?null:mxUtils.bind(this,function(ta){window.setTimeout(mxUtils.bind(this,function(){if(!this.isEditing()){var ua=mxUtils.getScrollOrigin();this.popupMenuHandler.popup(pa.getX()+ua.x+1,pa.getY()+
-ua.y+1,ta,pa.getEvent())}}),300)});mxPopupMenuHandler.prototype.mouseUp.apply(this.popupMenuHandler,[ka,pa,xa])}})};mxCellEditor.prototype.isContentEditing=function(){var C=this.graph.view.getState(this.editingCell);return null!=C&&1==C.style.html};mxCellEditor.prototype.isTableSelected=function(){return null!=this.graph.getParentByName(this.graph.getSelectedElement(),"TABLE",this.textarea)};mxCellEditor.prototype.isTextSelected=function(){var C="";window.getSelection?C=window.getSelection():document.getSelection?
-C=document.getSelection():document.selection&&(C=document.selection.createRange().text);return""!=C};mxCellEditor.prototype.insertTab=function(C){var P=this.textarea.ownerDocument.defaultView.getSelection(),R=P.getRangeAt(0);C=Graph.createTabNode(C);R.insertNode(C);R.setStartAfter(C);R.setEndAfter(C);P.removeAllRanges();P.addRange(R)};mxCellEditor.prototype.alignText=function(C,P){var R=this.graph.getView().getState(this.editingCell);if(null!=R){R=mxUtils.getValue(R.style,mxConstants.STYLE_TEXT_DIRECTION,
-mxConstants.DEFAULT_TEXT_DIRECTION);var W=null!=R&&"vertical-"==R.substring(0,9),ia=null!=P&&mxEvent.isShiftDown(P);if(ia||null!=window.getSelection&&null!=window.getSelection().containsNode){var ka=!0;this.graph.processElements(this.textarea,function(pa){ia||W||window.getSelection().containsNode(pa,!0)?(pa.removeAttribute("align"),pa.style.textAlign=null):ka=!1});(ka||W)&&this.graph.cellEditor.setAlign(C)}W||document.execCommand("justify"+C.toLowerCase(),!1,null)}};mxCellEditor.prototype.saveSelection=
-function(){if(window.getSelection){var C=window.getSelection();if(C.getRangeAt&&C.rangeCount){for(var P=[],R=0,W=C.rangeCount;R<W;++R)P.push(C.getRangeAt(R));return P}}else if(document.selection&&document.selection.createRange)return document.selection.createRange();return null};mxCellEditor.prototype.restoreSelection=function(C){try{if(C)if(window.getSelection){sel=window.getSelection();sel.removeAllRanges();for(var P=0,R=C.length;P<R;++P)sel.addRange(C[P])}else document.selection&&C.select&&C.select()}catch(W){}};
-var F=mxCellRenderer.prototype.initializeLabel;mxCellRenderer.prototype.initializeLabel=function(C){null!=C.text&&(C.text.replaceLinefeeds="0"!=mxUtils.getValue(C.style,"nl2Br","1"));F.apply(this,arguments)};var I=mxConstraintHandler.prototype.update;mxConstraintHandler.prototype.update=function(C,P){this.isKeepFocusEvent(C)||!mxEvent.isAltDown(C.getEvent())?I.apply(this,arguments):this.reset()};mxGuide.prototype.createGuideShape=function(C){return new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH)};
-mxCellEditor.prototype.escapeCancelsEditing=!1;var M=mxCellEditor.prototype.startEditing;mxCellEditor.prototype.startEditing=function(C,P){C=this.graph.getStartEditingCell(C,P);M.apply(this,arguments);var R=this.graph.view.getState(C);this.textarea.className=null!=R&&1==R.style.html?"mxCellEditor geContentEditable":"mxCellEditor mxPlainTextEditor";this.textarea.style.colorScheme="none"==this.graph.getAdaptiveColors()?"light":"";this.codeViewMode=!1;this.switchSelectionState=null;this.graph.setSelectionCell(C)};
-mxCellEditor.prototype.toggleViewMode=function(){var C=this.graph.view.getState(this.editingCell);if(null!=C){var P=null!=C&&"0"!=mxUtils.getValue(C.style,"nl2Br","1"),R=this.saveSelection();if(this.codeViewMode){Graph.removeLightDarkColors(this.textarea,Graph.backupStyleAttribute);xa=mxUtils.extractTextWithWhitespace(this.textarea.childNodes);0<xa.length&&"\n"==xa.charAt(xa.length-1)&&(xa=xa.substring(0,xa.length-1));xa=Graph.sanitizeHtml(P?xa.replace(/\n/g,"<br/>"):xa,!0);this.textarea.className=
-"mxCellEditor geContentEditable";ta=mxUtils.getValue(C.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE);P=mxUtils.getValue(C.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY);var W=mxUtils.getValue(C.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),ia=(mxUtils.getValue(C.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD,ka=(mxUtils.getValue(C.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC,
-pa=[];(mxUtils.getValue(C.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&pa.push("underline");(mxUtils.getValue(C.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&pa.push("line-through");this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(ta*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(ta)+"px";this.textarea.style.textDecoration=
-pa.join(" ");this.textarea.style.fontWeight=ia?"bold":"normal";this.textarea.style.fontStyle=ka?"italic":"";this.textarea.style.fontFamily=P;this.textarea.style.textAlign=W;this.textarea.style.padding="0px";this.textarea.innerHTML!=xa&&(this.textarea.innerHTML=xa,0==this.textarea.innerHTML.length&&(this.textarea.innerHTML=this.getEmptyLabelText(),this.clearOnChange=0<this.textarea.innerHTML.length));Graph.addLightDarkColors(this.textarea,Graph.backupStyleAttribute,"simple"==this.graph.getAdaptiveColors());
-this.codeViewMode=!1}else{this.clearOnChange&&this.textarea.innerHTML==this.getEmptyLabelText()&&(this.clearOnChange=!1,this.textarea.innerText="");Graph.removeLightDarkColors(this.textarea,Graph.backupStyleAttribute);var xa=mxUtils.htmlEntities(this.textarea.innerHTML);8!=document.documentMode&&(xa=mxUtils.replaceTrailingNewlines(xa,"<div><br></div>"));xa=Graph.sanitizeHtml(P?xa.replace(/\n/g,"").replace(/&lt;br\s*.?&gt;/g,"<br>"):xa,!0);this.textarea.className="mxCellEditor mxPlainTextEditor";var ta=
-mxConstants.DEFAULT_FONTSIZE;this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(ta*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(ta)+"px";this.textarea.style.textDecoration="";this.textarea.style.fontWeight="normal";this.textarea.style.fontStyle="";this.textarea.style.fontFamily=mxConstants.DEFAULT_FONTFAMILY;this.textarea.style.textAlign="left";this.textarea.style.width="";this.textarea.style.padding="2px";this.textarea.innerHTML!=
-xa&&(this.textarea.innerHTML=xa);this.codeViewMode=!0}this.textarea.focus();null!=this.switchSelectionState&&this.restoreSelection(this.switchSelectionState);this.switchSelectionState=R;this.resize()}};var L=mxCellEditor.prototype.resize;mxCellEditor.prototype.resize=function(C,P){if(null!=this.textarea)if(C=this.graph.getView().getState(this.editingCell),this.codeViewMode&&null!=C){var R=C.view.scale;this.bounds=mxRectangle.fromRectangle(C);if(0==this.bounds.width&&0==this.bounds.height){this.bounds.width=
-160*R;this.bounds.height=60*R;var W=null!=C.text?C.text.margin:null;null==W&&(W=mxUtils.getAlignmentAsPoint(mxUtils.getValue(C.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),mxUtils.getValue(C.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE)));this.bounds.x+=W.x*this.bounds.width;this.bounds.y+=W.y*this.bounds.height}this.textarea.style.width=Math.round((this.bounds.width-4)/R)+"px";this.textarea.style.height=Math.round((this.bounds.height-4)/R)+"px";this.textarea.style.overflow=
-"auto";this.textarea.clientHeight<this.textarea.offsetHeight&&(this.textarea.style.height=Math.round(this.bounds.height/R)+(this.textarea.offsetHeight-this.textarea.clientHeight)+"px",this.bounds.height=parseInt(this.textarea.style.height)*R);this.textarea.clientWidth<this.textarea.offsetWidth&&(this.textarea.style.width=Math.round(this.bounds.width/R)+(this.textarea.offsetWidth-this.textarea.clientWidth)+"px",this.bounds.width=parseInt(this.textarea.style.width)*R);this.textarea.style.left=Math.round(this.bounds.x)+
-"px";this.textarea.style.top=Math.round(this.bounds.y)+"px";mxUtils.setPrefixedStyle(this.textarea.style,"transform","scale("+R+","+R+")")}else this.textarea.style.height="",this.textarea.style.overflow="",L.apply(this,arguments)};mxCellEditorGetInitialValue=mxCellEditor.prototype.getInitialValue;mxCellEditor.prototype.getInitialValue=function(C,P){if("0"==mxUtils.getValue(C.style,"html","0"))return mxCellEditorGetInitialValue.apply(this,arguments);var R=this.graph.getEditingValue(C.cell,P);"1"==
-mxUtils.getValue(C.style,"nl2Br","1")&&(R=R.replace(/\n/g,"<br/>"));return Graph.sanitizeHtml(R,!0)};mxCellEditorSetEditingValue=mxCellEditor.prototype.setEditingValue;mxCellEditor.prototype.setEditingValue=function(C,P){mxCellEditorSetEditingValue.apply(this,arguments);"1"==mxUtils.getValue(C.style,"html","0")&&Graph.addLightDarkColors(this.textarea,Graph.backupStyleAttribute,"simple"==this.graph.getAdaptiveColors())};mxCellEditorGetCurrentValue=mxCellEditor.prototype.getCurrentValue;mxCellEditor.prototype.getCurrentValue=
-function(C){if("0"==mxUtils.getValue(C.style,"html","0"))return mxCellEditorGetCurrentValue.apply(this,arguments);Graph.removeLightDarkColors(this.textarea,Graph.backupStyleAttribute);var P=Graph.sanitizeHtml(this.textarea.innerHTML,!0);"1"==mxUtils.getValue(C.style,"nl2Br","1")?(P=P.replace(/\r\n/g,"<br/>").replace(/\n/g,"<br/>"),0<P.length&&("<br/>"==P.substring(P.length-5)||"<br>"==P.substring(P.length-4))&&(P=P.substring(0,P.lastIndexOf("<br"))+"<div><br/></div>")):P=P.replace(/\r\n/g,"").replace(/\n/g,
-"");return P};var K=mxCellEditor.prototype.stopEditing;mxCellEditor.prototype.stopEditing=function(C){this.codeViewMode&&this.toggleViewMode();K.apply(this,arguments);this.focusContainer()};mxCellEditor.prototype.focusContainer=function(){try{this.graph.container.focus()}catch(C){}};var aa=mxCellEditor.prototype.applyValue;mxCellEditor.prototype.applyValue=function(C,P){this.graph.getModel().beginUpdate();try{aa.apply(this,arguments),""==P&&this.graph.isCellDeletable(C.cell)&&0==this.graph.model.getChildCount(C.cell)&&
-this.graph.isTransparentState(C)&&this.graph.removeCells([C.cell],!1)}finally{this.graph.getModel().endUpdate()}};mxCellEditor.prototype.getBackgroundColor=function(C){C=mxUtils.getValue(C.style,mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,null);C==mxConstants.NONE&&(C=null);return C};mxCellEditor.prototype.getBorderColor=function(C){C=mxUtils.getValue(C.style,mxConstants.STYLE_LABEL_BORDERCOLOR,null);C==mxConstants.NONE&&(C=null);return C};mxCellEditor.prototype.getMinimumSize=function(C){var P=this.graph.getView().scale;
-return new mxRectangle(0,0,null==C.text?30:C.text.size*P+20,30)};mxGraphHandlerIsValidDropTarget=mxGraphHandler.prototype.isValidDropTarget;mxGraphHandler.prototype.isValidDropTarget=function(C,P){return mxGraphHandlerIsValidDropTarget.apply(this,arguments)&&!mxEvent.isAltDown(P.getEvent)};mxGraphView.prototype.formatUnitText=function(C){return C?f(C,this.unit):C};mxGraphHandler.prototype.updateHint=function(C){if(null!=this.pBounds&&(null!=this.shape||this.livePreviewActive)){null==this.hint&&(this.hint=
-b(),this.graph.container.appendChild(this.hint));var P=this.graph.view.translate,R=this.graph.view.scale;C=this.roundLength((this.bounds.x+this.currentDx)/R-P.x);P=this.roundLength((this.bounds.y+this.currentDy)/R-P.y);R=this.graph.view.unit;this.hint.innerHTML=f(C,R)+", "+f(P,R);this.hint.style.left=this.pBounds.x+this.currentDx+Math.round((this.pBounds.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=this.pBounds.y+this.currentDy+this.pBounds.height+Editor.hintOffset+"px"}};mxGraphHandler.prototype.removeHint=
-function(){null!=this.hint&&(null!=this.hint.parentNode&&this.hint.parentNode.removeChild(this.hint),this.hint=null)};var ja=mxStackLayout.prototype.resizeCell;mxStackLayout.prototype.resizeCell=function(C,P){ja.apply(this,arguments);var R=this.graph.getCellStyle(C);if(null==R.childLayout){var W=this.graph.model.getParent(C),ia=null!=W?this.graph.getCellGeometry(W):null;if(null!=ia&&(R=this.graph.getCellStyle(W),"stackLayout"==R.childLayout)){var ka=parseFloat(mxUtils.getValue(R,"stackBorder",mxStackLayout.prototype.border));
-R="1"==mxUtils.getValue(R,"horizontalStack","1");var pa=this.graph.getActualStartSize(W);ia=ia.clone();R?ia.height=P.height+pa.y+pa.height+2*ka:ia.width=P.width+pa.x+pa.width+2*ka;this.graph.model.setGeometry(W,ia)}}};var ca=mxSelectionCellsHandler.prototype.getHandledSelectionCells;mxSelectionCellsHandler.prototype.getHandledSelectionCells=function(){function C(xa){R.get(xa)||(R.put(xa,!0),ia.push(xa))}for(var P=ca.apply(this,arguments),R=new mxDictionary,W=this.graph.model,ia=[],ka=0;ka<P.length;ka++){var pa=
-P[ka];this.graph.isTableCell(pa)?C(W.getParent(W.getParent(pa))):this.graph.isTableRow(pa)&&C(W.getParent(pa));C(pa)}return ia};var ba=mxConnectionHandler.prototype.isStartEvent;mxConnectionHandler.prototype.isStartEvent=function(C){return ba.apply(this,arguments)&&!mxEvent.isControlDown(C.getEvent())&&!mxEvent.isShiftDown(C.getEvent())};var oa=mxVertexHandler.prototype.isGhostPreview;mxVertexHandler.prototype.isGhostPreview=function(){return oa.apply(this,arguments)&&!this.graph.isTable(this.state.cell)&&
-!this.graph.isTableRow(this.state.cell)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isSwimlane(this.state.cell)};var Y=mxVertexHandler.prototype.createParentHighlightShape;mxVertexHandler.prototype.createParentHighlightShape=function(C){var P=Y.apply(this,arguments);P.stroke="#C0C0C0";P.strokewidth=1;return P};var da=mxEdgeHandler.prototype.createParentHighlightShape;mxEdgeHandler.prototype.createParentHighlightShape=function(C){var P=da.apply(this,arguments);P.stroke="#C0C0C0";P.strokewidth=
-1;return P};mxVertexHandler.prototype.rotationHandleVSpacing=-12;mxVertexHandler.prototype.getRotationHandlePosition=function(){var C=this.getHandlePadding();return new mxPoint(this.bounds.x+this.bounds.width-this.rotationHandleVSpacing+C.x/2,this.bounds.y+this.rotationHandleVSpacing-C.y/2)};mxVertexHandler.prototype.isRecursiveResize=function(C,P){return this.graph.isRecursiveVertexResize(C)&&!mxEvent.isAltDown(P.getEvent())};mxVertexHandler.prototype.isCenteredEvent=function(C,P){return mxEvent.isControlDown(P.getEvent())||
-mxEvent.isMetaDown(P.getEvent())};var ha=mxVertexHandler.prototype.isRotationHandleVisible;mxVertexHandler.prototype.isRotationHandleVisible=function(){return ha.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isTableRow(this.state.cell)&&!this.graph.isTable(this.state.cell)};mxVertexHandler.prototype.getSizerBounds=function(){return this.graph.isTableCell(this.state.cell)?this.graph.view.getState(this.graph.model.getParent(this.graph.model.getParent(this.state.cell))):
-this.bounds};var Z=mxVertexHandler.prototype.isParentHighlightVisible;mxVertexHandler.prototype.isParentHighlightVisible=function(){return Z.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isTableRow(this.state.cell)};var k=mxVertexHandler.prototype.isCustomHandleVisible;mxVertexHandler.prototype.isCustomHandleVisible=function(C){return C.tableHandle||k.apply(this,arguments)&&(!this.graph.isTable(this.state.cell)||this.graph.isCellSelected(this.state.cell))};mxVertexHandler.prototype.getSelectionBorderInset=
-function(){var C=0;this.graph.isTableRow(this.state.cell)?C=1:this.graph.isTableCell(this.state.cell)&&(C=2);return C};var v=mxVertexHandler.prototype.getSelectionBorderBounds;mxVertexHandler.prototype.getSelectionBorderBounds=function(){return v.apply(this,arguments).grow(-this.getSelectionBorderInset())};var J=null,N=mxVertexHandler.prototype.createCustomHandles;mxVertexHandler.prototype.createCustomHandles=function(){null==J&&(J=mxCellRenderer.defaultShapes.tableLine);var C=N.apply(this,arguments);
-if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)){var P=function(ab,Pa,Sa){for(var gb=[],fb=0;fb<ab.length;fb++){var cb=ab[fb];gb.push(null==cb?null:new mxPoint((ta+cb.x+Pa)*ka,(ua+cb.y+Sa)*ka))}return gb},R=this,W=this.graph,ia=W.model,ka=W.view.scale,pa=this.state,xa=this.selectionBorder,ta=this.state.origin.x+W.view.translate.x,ua=this.state.origin.y+W.view.translate.y;null==C&&(C=[]);var Ia=W.view.getCellStates(ia.getChildCells(this.state.cell,!0));if(0<Ia.length){var Va=
-ia.getChildCells(Ia[0].cell,!0),Wa=W.getTableLines(this.state.cell,!1,!0),Ta=W.getTableLines(this.state.cell,!0,!1);for(ia=0;ia<Ia.length;ia++)mxUtils.bind(this,function(ab){var Pa=Ia[ab],Sa=null;if(W.isCellMovable(Pa.cell)){Sa=ab<Ia.length-1?Ia[ab+1]:null;Sa=null!=Sa?W.getCellGeometry(Sa.cell):null;var gb=null!=Sa&&null!=Sa.alternateBounds?Sa.alternateBounds:Sa;Sa=null!=Ta[ab]?new J(Ta[ab],mxConstants.NONE,1):new mxLine(new mxRectangle,mxConstants.NONE,1,!1);Sa.isDashed=xa.isDashed;Sa.svgStrokeTolerance++;
-Sa=new mxHandle(Pa,"row-resize",null,Sa);Sa.tableHandle=!0;var fb=0;Sa.shape.node.parentNode.insertBefore(Sa.shape.node,Sa.shape.node.parentNode.firstChild);Sa.redraw=function(){if(null!=this.shape){this.shape.stroke=0==fb?mxConstants.NONE:xa.stroke;if(this.shape.constructor==J)this.shape.line=P(Ta[ab],0,fb),this.shape.updateBoundsFromLine();else{var eb=W.getActualStartSize(pa.cell,!0);this.shape.bounds.height=1;this.shape.bounds.y=this.state.y+this.state.height+fb*ka;this.shape.bounds.x=pa.x+(ab==
-Ia.length-1?0:eb.x*ka);this.shape.bounds.width=pa.width-(ab==Ia.length-1?0:eb.width+eb.x+ka)}this.shape.redraw()}};var cb=!1;Sa.setPosition=function(eb,lb,kb){fb=Math.max(Graph.minTableRowHeight-eb.height,lb.y-eb.y-eb.height);cb=mxEvent.isShiftDown(kb.getEvent());null!=gb&&cb&&(fb=Math.min(fb,gb.height-Graph.minTableRowHeight))};Sa.execute=function(eb){if(0!=fb)W.setTableRowHeight(this.state.cell,fb,!cb);else if(!R.blockDelayedSelection){var lb=W.getCellAt(eb.getGraphX(),eb.getGraphY())||pa.cell;
-W.graphHandler.selectCellForEvent(lb,eb)}fb=0};Sa.reset=function(){fb=0}}C.push(Sa)})(ia);for(ia=0;ia<Va.length;ia++)mxUtils.bind(this,function(ab){var Pa=W.view.getState(Va[ab]),Sa=W.getCellGeometry(Va[ab]),gb=null!=Sa.alternateBounds?Sa.alternateBounds:Sa;null==Pa&&(Pa=new mxCellState(W.view,Va[ab],W.getCellStyle(Va[ab])),Pa.x=pa.x+Sa.x*ka,Pa.y=pa.y+Sa.y*ka,Pa.width=gb.width*ka,Pa.height=gb.height*ka,Pa.updateCachedBounds());Sa=ab<Va.length-1?Va[ab+1]:null;Sa=null!=Sa?W.getCellGeometry(Sa):null;
-var fb=null!=Sa&&null!=Sa.alternateBounds?Sa.alternateBounds:Sa;Sa=null!=Wa[ab]?new J(Wa[ab],mxConstants.NONE,1):new mxLine(new mxRectangle,mxConstants.NONE,1,!0);Sa.isDashed=xa.isDashed;Sa.svgStrokeTolerance++;Pa=new mxHandle(Pa,"col-resize",null,Sa);Pa.tableHandle=!0;var cb=0;Pa.shape.node.parentNode.insertBefore(Pa.shape.node,Pa.shape.node.parentNode.firstChild);Pa.redraw=function(){if(null!=this.shape){this.shape.stroke=0==cb?mxConstants.NONE:xa.stroke;if(this.shape.constructor==J)this.shape.line=
-P(Wa[ab],cb,0),this.shape.updateBoundsFromLine();else{var lb=W.getActualStartSize(pa.cell,!0);this.shape.bounds.width=1;this.shape.bounds.x=this.state.x+(gb.width+cb)*ka;this.shape.bounds.y=pa.y+(ab==Va.length-1?0:lb.y*ka);this.shape.bounds.height=pa.height-(ab==Va.length-1?0:(lb.height+lb.y)*ka)}this.shape.redraw()}};var eb=!1;Pa.setPosition=function(lb,kb,ob){cb=Math.max(Graph.minTableColumnWidth-gb.width,kb.x-lb.x-gb.width);eb=mxEvent.isShiftDown(ob.getEvent());null==fb||eb||(cb=Math.min(cb,fb.width-
-Graph.minTableColumnWidth))};Pa.execute=function(lb){if(0!=cb)W.setTableColumnWidth(this.state.cell,cb,eb);else if(!R.blockDelayedSelection){var kb=W.getCellAt(lb.getGraphX(),lb.getGraphY())||pa.cell;W.graphHandler.selectCellForEvent(kb,lb)}cb=0};Pa.positionChanged=function(){};Pa.reset=function(){cb=0};C.push(Pa)})(ia)}}return null!=C?C.reverse():null};var T=mxVertexHandler.prototype.setHandlesVisible;mxVertexHandler.prototype.setHandlesVisible=function(C){T.apply(this,arguments);if(null!=this.moveHandles)for(var P=
-0;P<this.moveHandles.length;P++)null!=this.moveHandles[P]&&(this.moveHandles[P].node.style.visibility=C?"":"hidden");if(null!=this.cornerHandles)for(P=0;P<this.cornerHandles.length;P++)this.cornerHandles[P].node.style.visibility=C?"":"hidden"};mxVertexHandler.prototype.isMoveHandlesVisible=function(){return this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)};mxVertexHandler.prototype.refreshMoveHandles=function(){var C=this.isMoveHandlesVisible();C&&null==this.moveHandles?
-this.moveHandles=this.createMoveHandles():C||null==this.moveHandles||this.destroyMoveHandles();if(C&&null==this.moveHandles){for(C=0;C<this.moveHandles.length;C++)null!=this.moveHandles[C]&&this.moveHandles[C].parentNode.removeChild(this.moveHandles[C]);this.moveHandles=null}};mxVertexHandler.prototype.createMoveHandles=function(){for(var C=this.graph,P=C.model,R=[],W=0;W<P.getChildCount(this.state.cell);W++)mxUtils.bind(this,function(ia){if(null!=ia&&P.isVertex(ia.cell)&&C.isCellMovable(ia.cell)){var ka=
-new mxRectangle(0,0,this.rowHandleImage.width,this.rowHandleImage.height);ka=new mxImageShape(ka,this.rowHandleImage.src);ka.rowState=ia;ka.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_MIXEDHTML:mxConstants.DIALECT_SVG;ka.init(this.graph.getView().getOverlayPane());ka.node.style.cursor="move";mxEvent.addGestureListeners(ka.node,mxUtils.bind(this,function(pa){this.graph.popupMenuHandler.hideMenu();this.graph.stopEditing(!1);!this.graph.isToggleEvent(pa)&&this.graph.isCellSelected(ia.cell)||
-this.graph.selectCellForEvent(ia.cell,pa);mxEvent.isPopupTrigger(pa)||(this.graph.graphHandler.start(this.state.cell,mxEvent.getClientX(pa),mxEvent.getClientY(pa),this.graph.getSelectionCells()),this.graph.graphHandler.cellWasClicked=!0,this.graph.isMouseTrigger=mxEvent.isMouseEvent(pa),this.graph.isMouseDown=!0);mxEvent.consume(pa)}),null,mxUtils.bind(this,function(pa){mxEvent.isPopupTrigger(pa)&&(this.graph.popupMenuHandler.popup(mxEvent.getClientX(pa),mxEvent.getClientY(pa),ia.cell,pa),mxEvent.consume(pa))}));
-R.push(ka)}else R.push(null)})(this.graph.view.getState(P.getChildAt(this.state.cell,W)));return R};mxVertexHandler.prototype.destroyMoveHandles=function(){if(null!=this.moveHandles){for(var C=0;C<this.moveHandles.length;C++)null!=this.moveHandles[C]&&this.moveHandles[C].destroy();this.moveHandles=null}};mxVertexHandler.prototype.destroyCornerHandles=function(){if(null!=this.cornerHandles){for(var C=0;C<this.cornerHandles.length;C++)null!=this.cornerHandles[C]&&null!=this.cornerHandles[C].node&&null!=
-this.cornerHandles[C].node.parentNode&&this.cornerHandles[C].node.parentNode.removeChild(this.cornerHandles[C].node);this.cornerHandles=null}};var V=mxVertexHandler.prototype.refresh;mxVertexHandler.prototype.refresh=function(){V.apply(this,arguments);this.destroyMoveHandles();this.destroyCornerHandles();if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell))this.refreshMoveHandles();else if(1==this.graph.getSelectionCount()&&this.graph.isCellMovable(this.state.cell)&&(this.graph.isTableCell(this.state.cell)||
-this.graph.isTableRow(this.state.cell))){this.cornerHandles=[];for(var C=0;4>C;C++){var P=new mxRectangleShape(new mxRectangle(0,0,6,6),"#ffffff",mxConstants.HANDLE_STROKECOLOR);P.dialect=mxConstants.DIALECT_SVG;P.init(this.graph.view.getOverlayPane());this.cornerHandles.push(P)}}this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)&&this.refreshMoveHandles();C=this.graph.getLinkForCell(this.state.cell);P=this.graph.getLinksForState(this.state);this.updateLinkHint(C,P)};var U=
-mxVertexHandler.prototype.getHandlePadding;mxVertexHandler.prototype.getHandlePadding=function(){var C=new mxPoint(0,0),P=this.tolerance,R=this.state.style.shape;null==mxCellRenderer.defaultShapes[R]&&mxStencilRegistry.getStencil(R);R=this.graph.isTable(this.state.cell)||this.graph.cellEditor.getEditingCell()==this.state.cell;if(!R&&null!=this.customHandles)for(var W=0;W<this.customHandles.length;W++)if(null!=this.customHandles[W]&&null!=this.customHandles[W].shape&&null!=this.customHandles[W].shape.bounds){var ia=
-this.customHandles[W].shape.bounds,ka=ia.getCenterX(),pa=ia.getCenterY();if(Math.abs(this.state.x-ka)<ia.width/2||Math.abs(this.state.y-pa)<ia.height/2||Math.abs(this.state.x+this.state.width-ka)<ia.width/2||Math.abs(this.state.y+this.state.height-pa)<ia.height/2){R=!0;break}}R&&null!=this.sizers&&0<this.sizers.length&&null!=this.sizers[0]?(P/=2,this.graph.isTable(this.state.cell)&&(P+=7),C.x=this.sizers[0].bounds.width+P,C.y=this.sizers[0].bounds.height+P):C=U.apply(this,arguments);return C};mxVertexHandler.prototype.updateHint=
-function(C){if(this.index!=mxEvent.LABEL_HANDLE){null==this.hint&&(this.hint=b(),this.state.view.graph.container.appendChild(this.hint));if(this.index==mxEvent.ROTATION_HANDLE)this.hint.innerHTML=this.currentAlpha+"&deg;";else{C=this.state.view.scale;var P=this.state.view.unit;this.hint.innerHTML=f(this.roundLength(this.bounds.width/C),P)+" x "+f(this.roundLength(this.bounds.height/C),P)}C=mxUtils.getBoundingBox(this.bounds,null!=this.currentAlpha?this.currentAlpha:this.state.style[mxConstants.STYLE_ROTATION]||
-"0");null==C&&(C=this.bounds);this.hint.style.left=C.x+Math.round((C.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=C.y+C.height+Editor.hintOffset+"px";null!=this.linkHint&&(this.linkHint.style.display="none")}};mxVertexHandler.prototype.removeHint=function(){mxGraphHandler.prototype.removeHint.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.display="")};var X=mxEdgeHandler.prototype.refresh;mxEdgeHandler.prototype.refresh=function(){X.apply(this,arguments);var C=this.graph.getLinkForCell(this.state.cell),
-P=this.graph.getLinksForState(this.state);this.updateLinkHint(C,P)};var fa=mxEdgeHandler.prototype.mouseMove;mxEdgeHandler.prototype.mouseMove=function(C,P){fa.apply(this,arguments);null!=this.linkHint&&"none"!=this.linkHint.style.display&&null!=this.graph.graphHandler&&null!=this.graph.graphHandler.first&&(this.linkHint.style.display="none")};var na=mxEdgeHandler.prototype.mouseUp;mxEdgeHandler.prototype.mouseUp=function(C,P){na.apply(this,arguments);null!=this.linkHint&&"none"==this.linkHint.style.display&&
-1==this.graph.getSelectionCount()&&(this.linkHint.style.display="")};mxEdgeHandler.prototype.updateHint=function(C,P,R){null==this.hint&&(this.hint=b(),this.state.view.graph.container.appendChild(this.hint));var W=this.graph.view.translate,ia=this.graph.view.scale,ka=this.roundLength(P.x/ia-W.x);W=this.roundLength(P.y/ia-W.y);var pa=this.graph.view.unit;this.hint.innerHTML=f(ka,pa)+", "+f(W,pa);this.hint.style.visibility="visible";null!=R&&(R.view.updateEdgeBounds(R),this.hint.innerHTML+=" ("+(pa==
-mxConstants.POINTS?Math.round(R.length/ia):f(R.length/ia,pa))+")");if(this.isSource||this.isTarget)null!=this.constraintHandler&&null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus?(R=this.constraintHandler.currentConstraint.point,this.hint.innerHTML="["+Math.round(100*R.x)+"%, "+Math.round(100*R.y)+"%]"):this.marker.hasValidState()&&(this.hint.style.visibility="hidden");this.hint.style.left=Math.round(C.getGraphX()-this.hint.clientWidth/2)+"px";this.hint.style.top=
-Math.max(C.getGraphY(),P.y)+Editor.hintOffset+"px";null!=this.linkHint&&(this.linkHint.style.display="none")};Graph.prototype.expandedImage=Graph.createSvgImage(9,9,'<defs><linearGradient id="grad1" x1="50%" y1="0%" x2="50%" y2="100%"><stop offset="30%" style="stop-color:#f0f0f0;" /><stop offset="100%" style="stop-color:#AFB0B6;" /></linearGradient></defs><rect x="0" y="0" width="9" height="9" stroke="#8A94A5" fill="url(#grad1)" stroke-width="2"/><path d="M 2 4.5 L 7 4.5 z" stroke="#000"/>');Graph.prototype.collapsedImage=
-Graph.createSvgImage(9,9,'<defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="30%" style="stop-color:#f0f0f0;" /><stop offset="100%" style="stop-color:#AFB0B6;" /></linearGradient></defs><rect x="0" y="0" width="9" height="9" stroke="#8A94A5" fill="url(#grad1)" stroke-width="2"/><path d="M 4.5 2 L 4.5 7 M 2 4.5 L 7 4.5 z" stroke="#000"/>');mxEdgeHandler.prototype.removeHint=mxVertexHandler.prototype.removeHint;HoverIcons.prototype.mainHandle=Graph.createSvgImage(18,
-18,'<circle cx="9" cy="9" r="5" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/>');HoverIcons.prototype.endMainHandle=Graph.createSvgImage(18,18,'<circle cx="9" cy="9" r="6" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/>');HoverIcons.prototype.secondaryHandle=Graph.createSvgImage(16,16,'<path d="m 8 3 L 13 8 L 8 13 L 3 8 z" stroke="#fff" fill="#fca000"/>');HoverIcons.prototype.fixedHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="6" stroke="#fff" fill="#01bd22"/><path d="m 8 8 L 14 14M 8 14 L 14 8" stroke="#fff"/>');
+mxEvent.isMouseEvent(pa.getEvent());this.popupMenuHandler.popupTrigger=!this.isEditing()&&this.isEnabled()&&(null==pa.getState()||!pa.isSource(pa.getState().control))&&(this.popupMenuHandler.popupTrigger||!W&&!xa&&(R&&null==pa.getCell()&&this.isSelectionEmpty()||P&&this.isCellSelected(pa.getCell())));xa=!P||xa?null:mxUtils.bind(this,function(ta){window.setTimeout(mxUtils.bind(this,function(){if(!this.isEditing()&&this.isTouchPopupMenuEnabled()){var ua=mxUtils.getScrollOrigin();this.popupMenuHandler.popup(pa.getX()+
+ua.x+1,pa.getY()+ua.y+1,ta,pa.getEvent())}}),300)});mxPopupMenuHandler.prototype.mouseUp.apply(this.popupMenuHandler,[ka,pa,xa])}})};Graph.prototype.isTouchPopupMenuEnabled=function(){return!0};mxCellEditor.prototype.isContentEditing=function(){var C=this.graph.view.getState(this.editingCell);return null!=C&&1==C.style.html};mxCellEditor.prototype.isTableSelected=function(){return null!=this.graph.getParentByName(this.graph.getSelectedElement(),"TABLE",this.textarea)};mxCellEditor.prototype.isTextSelected=
+function(){var C="";window.getSelection?C=window.getSelection():document.getSelection?C=document.getSelection():document.selection&&(C=document.selection.createRange().text);return""!=C};mxCellEditor.prototype.insertTab=function(C){var P=this.textarea.ownerDocument.defaultView.getSelection(),R=P.getRangeAt(0);C=Graph.createTabNode(C);R.insertNode(C);R.setStartAfter(C);R.setEndAfter(C);P.removeAllRanges();P.addRange(R)};mxCellEditor.prototype.alignText=function(C,P){var R=this.graph.getView().getState(this.editingCell);
+if(null!=R){R=mxUtils.getValue(R.style,mxConstants.STYLE_TEXT_DIRECTION,mxConstants.DEFAULT_TEXT_DIRECTION);var W=null!=R&&"vertical-"==R.substring(0,9),ia=null!=P&&mxEvent.isShiftDown(P);if(ia||null!=window.getSelection&&null!=window.getSelection().containsNode){var ka=!0;this.graph.processElements(this.textarea,function(pa){ia||W||window.getSelection().containsNode(pa,!0)?(pa.removeAttribute("align"),pa.style.textAlign=null):ka=!1});(ka||W)&&this.graph.cellEditor.setAlign(C)}W||document.execCommand("justify"+
+C.toLowerCase(),!1,null)}};mxCellEditor.prototype.saveSelection=function(){if(window.getSelection){var C=window.getSelection();if(C.getRangeAt&&C.rangeCount){for(var P=[],R=0,W=C.rangeCount;R<W;++R)P.push(C.getRangeAt(R));return P}}else if(document.selection&&document.selection.createRange)return document.selection.createRange();return null};mxCellEditor.prototype.restoreSelection=function(C){try{if(C)if(window.getSelection){sel=window.getSelection();sel.removeAllRanges();for(var P=0,R=C.length;P<
+R;++P)sel.addRange(C[P])}else document.selection&&C.select&&C.select()}catch(W){}};var F=mxCellRenderer.prototype.initializeLabel;mxCellRenderer.prototype.initializeLabel=function(C){null!=C.text&&(C.text.replaceLinefeeds="0"!=mxUtils.getValue(C.style,"nl2Br","1"));F.apply(this,arguments)};var I=mxConstraintHandler.prototype.update;mxConstraintHandler.prototype.update=function(C,P){this.isKeepFocusEvent(C)||!mxEvent.isAltDown(C.getEvent())?I.apply(this,arguments):this.reset()};mxGuide.prototype.createGuideShape=
+function(C){return new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH)};mxCellEditor.prototype.escapeCancelsEditing=!1;var M=mxCellEditor.prototype.startEditing;mxCellEditor.prototype.startEditing=function(C,P){C=this.graph.getStartEditingCell(C,P);M.apply(this,arguments);var R=this.graph.view.getState(C);this.textarea.className=null!=R&&1==R.style.html?"mxCellEditor geContentEditable":"mxCellEditor mxPlainTextEditor";this.textarea.style.colorScheme="none"==this.graph.getAdaptiveColors()?
+"light":"";this.codeViewMode=!1;this.switchSelectionState=null;this.graph.setSelectionCell(C)};mxCellEditor.prototype.toggleViewMode=function(){var C=this.graph.view.getState(this.editingCell);if(null!=C){var P=null!=C&&"0"!=mxUtils.getValue(C.style,"nl2Br","1"),R=this.saveSelection();if(this.codeViewMode){Graph.removeLightDarkColors(this.textarea,Graph.backupStyleAttribute);xa=mxUtils.extractTextWithWhitespace(this.textarea.childNodes);0<xa.length&&"\n"==xa.charAt(xa.length-1)&&(xa=xa.substring(0,
+xa.length-1));xa=Graph.sanitizeHtml(P?xa.replace(/\n/g,"<br/>"):xa,!0);this.textarea.className="mxCellEditor geContentEditable";ta=mxUtils.getValue(C.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE);P=mxUtils.getValue(C.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY);var W=mxUtils.getValue(C.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),ia=(mxUtils.getValue(C.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD,ka=(mxUtils.getValue(C.style,
+mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC,pa=[];(mxUtils.getValue(C.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&pa.push("underline");(mxUtils.getValue(C.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&pa.push("line-through");this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(ta*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=
+Math.round(ta)+"px";this.textarea.style.textDecoration=pa.join(" ");this.textarea.style.fontWeight=ia?"bold":"normal";this.textarea.style.fontStyle=ka?"italic":"";this.textarea.style.fontFamily=P;this.textarea.style.textAlign=W;this.textarea.style.padding="0px";this.textarea.innerHTML!=xa&&(this.textarea.innerHTML=xa,0==this.textarea.innerHTML.length&&(this.textarea.innerHTML=this.getEmptyLabelText(),this.clearOnChange=0<this.textarea.innerHTML.length));Graph.addLightDarkColors(this.textarea,Graph.backupStyleAttribute,
+"simple"==this.graph.getAdaptiveColors());this.codeViewMode=!1}else{this.clearOnChange&&this.textarea.innerHTML==this.getEmptyLabelText()&&(this.clearOnChange=!1,this.textarea.innerText="");Graph.removeLightDarkColors(this.textarea,Graph.backupStyleAttribute);var xa=mxUtils.htmlEntities(this.textarea.innerHTML);8!=document.documentMode&&(xa=mxUtils.replaceTrailingNewlines(xa,"<div><br></div>"));xa=Graph.sanitizeHtml(P?xa.replace(/\n/g,"").replace(/&lt;br\s*.?&gt;/g,"<br>"):xa,!0);this.textarea.className=
+"mxCellEditor mxPlainTextEditor";var ta=mxConstants.DEFAULT_FONTSIZE;this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(ta*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.fontSize=Math.round(ta)+"px";this.textarea.style.textDecoration="";this.textarea.style.fontWeight="normal";this.textarea.style.fontStyle="";this.textarea.style.fontFamily=mxConstants.DEFAULT_FONTFAMILY;this.textarea.style.textAlign="left";this.textarea.style.width="";this.textarea.style.padding=
+"2px";this.textarea.innerHTML!=xa&&(this.textarea.innerHTML=xa);this.codeViewMode=!0}this.textarea.focus();null!=this.switchSelectionState&&this.restoreSelection(this.switchSelectionState);this.switchSelectionState=R;this.resize()}};var L=mxCellEditor.prototype.resize;mxCellEditor.prototype.resize=function(C,P){if(null!=this.textarea)if(C=this.graph.getView().getState(this.editingCell),this.codeViewMode&&null!=C){var R=C.view.scale;this.bounds=mxRectangle.fromRectangle(C);if(0==this.bounds.width&&
+0==this.bounds.height){this.bounds.width=160*R;this.bounds.height=60*R;var W=null!=C.text?C.text.margin:null;null==W&&(W=mxUtils.getAlignmentAsPoint(mxUtils.getValue(C.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),mxUtils.getValue(C.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE)));this.bounds.x+=W.x*this.bounds.width;this.bounds.y+=W.y*this.bounds.height}this.textarea.style.width=Math.round((this.bounds.width-4)/R)+"px";this.textarea.style.height=Math.round((this.bounds.height-
+4)/R)+"px";this.textarea.style.overflow="auto";this.textarea.clientHeight<this.textarea.offsetHeight&&(this.textarea.style.height=Math.round(this.bounds.height/R)+(this.textarea.offsetHeight-this.textarea.clientHeight)+"px",this.bounds.height=parseInt(this.textarea.style.height)*R);this.textarea.clientWidth<this.textarea.offsetWidth&&(this.textarea.style.width=Math.round(this.bounds.width/R)+(this.textarea.offsetWidth-this.textarea.clientWidth)+"px",this.bounds.width=parseInt(this.textarea.style.width)*
+R);this.textarea.style.left=Math.round(this.bounds.x)+"px";this.textarea.style.top=Math.round(this.bounds.y)+"px";mxUtils.setPrefixedStyle(this.textarea.style,"transform","scale("+R+","+R+")")}else this.textarea.style.height="",this.textarea.style.overflow="",L.apply(this,arguments)};mxCellEditorGetInitialValue=mxCellEditor.prototype.getInitialValue;mxCellEditor.prototype.getInitialValue=function(C,P){if("0"==mxUtils.getValue(C.style,"html","0"))return mxCellEditorGetInitialValue.apply(this,arguments);
+var R=this.graph.getEditingValue(C.cell,P);"1"==mxUtils.getValue(C.style,"nl2Br","1")&&(R=R.replace(/\n/g,"<br/>"));return Graph.sanitizeHtml(R,!0)};mxCellEditorSetEditingValue=mxCellEditor.prototype.setEditingValue;mxCellEditor.prototype.setEditingValue=function(C,P){mxCellEditorSetEditingValue.apply(this,arguments);"1"==mxUtils.getValue(C.style,"html","0")&&Graph.addLightDarkColors(this.textarea,Graph.backupStyleAttribute,"simple"==this.graph.getAdaptiveColors())};mxCellEditorGetCurrentValue=mxCellEditor.prototype.getCurrentValue;
+mxCellEditor.prototype.getCurrentValue=function(C){if("0"==mxUtils.getValue(C.style,"html","0"))return mxCellEditorGetCurrentValue.apply(this,arguments);Graph.removeLightDarkColors(this.textarea,Graph.backupStyleAttribute);var P=Graph.sanitizeHtml(this.textarea.innerHTML,!0);"1"==mxUtils.getValue(C.style,"nl2Br","1")?(P=P.replace(/\r\n/g,"<br/>").replace(/\n/g,"<br/>"),0<P.length&&("<br/>"==P.substring(P.length-5)||"<br>"==P.substring(P.length-4))&&(P=P.substring(0,P.lastIndexOf("<br"))+"<div><br/></div>")):
+P=P.replace(/\r\n/g,"").replace(/\n/g,"");return P};var K=mxCellEditor.prototype.stopEditing;mxCellEditor.prototype.stopEditing=function(C){this.codeViewMode&&this.toggleViewMode();K.apply(this,arguments);this.focusContainer()};mxCellEditor.prototype.focusContainer=function(){try{this.graph.container.focus()}catch(C){}};var aa=mxCellEditor.prototype.applyValue;mxCellEditor.prototype.applyValue=function(C,P){this.graph.getModel().beginUpdate();try{aa.apply(this,arguments),""==P&&this.graph.isCellDeletable(C.cell)&&
+0==this.graph.model.getChildCount(C.cell)&&this.graph.isTransparentState(C)&&this.graph.removeCells([C.cell],!1)}finally{this.graph.getModel().endUpdate()}};mxCellEditor.prototype.getBackgroundColor=function(C){C=mxUtils.getValue(C.style,mxConstants.STYLE_LABEL_BACKGROUNDCOLOR,null);C==mxConstants.NONE&&(C=null);return C};mxCellEditor.prototype.getBorderColor=function(C){C=mxUtils.getValue(C.style,mxConstants.STYLE_LABEL_BORDERCOLOR,null);C==mxConstants.NONE&&(C=null);return C};mxCellEditor.prototype.getMinimumSize=
+function(C){var P=this.graph.getView().scale;return new mxRectangle(0,0,null==C.text?30:C.text.size*P+20,30)};mxGraphHandlerIsValidDropTarget=mxGraphHandler.prototype.isValidDropTarget;mxGraphHandler.prototype.isValidDropTarget=function(C,P){return mxGraphHandlerIsValidDropTarget.apply(this,arguments)&&!mxEvent.isAltDown(P.getEvent)};mxGraphView.prototype.formatUnitText=function(C){return C?f(C,this.unit):C};mxGraphHandler.prototype.updateHint=function(C){if(null!=this.pBounds&&(null!=this.shape||
+this.livePreviewActive)){null==this.hint&&(this.hint=b(),this.graph.container.appendChild(this.hint));var P=this.graph.view.translate,R=this.graph.view.scale;C=this.roundLength((this.bounds.x+this.currentDx)/R-P.x);P=this.roundLength((this.bounds.y+this.currentDy)/R-P.y);R=this.graph.view.unit;this.hint.innerHTML=f(C,R)+", "+f(P,R);this.hint.style.left=this.pBounds.x+this.currentDx+Math.round((this.pBounds.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=this.pBounds.y+this.currentDy+this.pBounds.height+
+Editor.hintOffset+"px"}};mxGraphHandler.prototype.removeHint=function(){null!=this.hint&&(null!=this.hint.parentNode&&this.hint.parentNode.removeChild(this.hint),this.hint=null)};var ja=mxStackLayout.prototype.resizeCell;mxStackLayout.prototype.resizeCell=function(C,P){ja.apply(this,arguments);var R=this.graph.getCellStyle(C);if(null==R.childLayout){var W=this.graph.model.getParent(C),ia=null!=W?this.graph.getCellGeometry(W):null;if(null!=ia&&(R=this.graph.getCellStyle(W),"stackLayout"==R.childLayout)){var ka=
+parseFloat(mxUtils.getValue(R,"stackBorder",mxStackLayout.prototype.border));R="1"==mxUtils.getValue(R,"horizontalStack","1");var pa=this.graph.getActualStartSize(W);ia=ia.clone();R?ia.height=P.height+pa.y+pa.height+2*ka:ia.width=P.width+pa.x+pa.width+2*ka;this.graph.model.setGeometry(W,ia)}}};var ca=mxSelectionCellsHandler.prototype.getHandledSelectionCells;mxSelectionCellsHandler.prototype.getHandledSelectionCells=function(){function C(xa){R.get(xa)||(R.put(xa,!0),ia.push(xa))}for(var P=ca.apply(this,
+arguments),R=new mxDictionary,W=this.graph.model,ia=[],ka=0;ka<P.length;ka++){var pa=P[ka];this.graph.isTableCell(pa)?C(W.getParent(W.getParent(pa))):this.graph.isTableRow(pa)&&C(W.getParent(pa));C(pa)}return ia};var ba=mxConnectionHandler.prototype.isStartEvent;mxConnectionHandler.prototype.isStartEvent=function(C){return ba.apply(this,arguments)&&!mxEvent.isControlDown(C.getEvent())&&!mxEvent.isShiftDown(C.getEvent())};var oa=mxVertexHandler.prototype.isGhostPreview;mxVertexHandler.prototype.isGhostPreview=
+function(){return oa.apply(this,arguments)&&!this.graph.isTable(this.state.cell)&&!this.graph.isTableRow(this.state.cell)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isSwimlane(this.state.cell)};var Y=mxVertexHandler.prototype.createParentHighlightShape;mxVertexHandler.prototype.createParentHighlightShape=function(C){var P=Y.apply(this,arguments);P.stroke="#C0C0C0";P.strokewidth=1;return P};var da=mxEdgeHandler.prototype.createParentHighlightShape;mxEdgeHandler.prototype.createParentHighlightShape=
+function(C){var P=da.apply(this,arguments);P.stroke="#C0C0C0";P.strokewidth=1;return P};mxVertexHandler.prototype.rotationHandleVSpacing=-12;mxVertexHandler.prototype.getRotationHandlePosition=function(){var C=this.getHandlePadding();return new mxPoint(this.bounds.x+this.bounds.width-this.rotationHandleVSpacing+C.x/2,this.bounds.y+this.rotationHandleVSpacing-C.y/2)};mxVertexHandler.prototype.isRecursiveResize=function(C,P){return this.graph.isRecursiveVertexResize(C)&&!mxEvent.isAltDown(P.getEvent())};
+mxVertexHandler.prototype.isCenteredEvent=function(C,P){return mxEvent.isControlDown(P.getEvent())||mxEvent.isMetaDown(P.getEvent())};var ha=mxVertexHandler.prototype.isRotationHandleVisible;mxVertexHandler.prototype.isRotationHandleVisible=function(){return ha.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isTableRow(this.state.cell)&&!this.graph.isTable(this.state.cell)};mxVertexHandler.prototype.getSizerBounds=function(){return this.graph.isTableCell(this.state.cell)?
+this.graph.view.getState(this.graph.model.getParent(this.graph.model.getParent(this.state.cell))):this.bounds};var Z=mxVertexHandler.prototype.isParentHighlightVisible;mxVertexHandler.prototype.isParentHighlightVisible=function(){return Z.apply(this,arguments)&&!this.graph.isTableCell(this.state.cell)&&!this.graph.isTableRow(this.state.cell)};var k=mxVertexHandler.prototype.isCustomHandleVisible;mxVertexHandler.prototype.isCustomHandleVisible=function(C){return C.tableHandle||k.apply(this,arguments)&&
+(!this.graph.isTable(this.state.cell)||this.graph.isCellSelected(this.state.cell))};mxVertexHandler.prototype.getSelectionBorderInset=function(){var C=0;this.graph.isTableRow(this.state.cell)?C=1:this.graph.isTableCell(this.state.cell)&&(C=2);return C};var v=mxVertexHandler.prototype.getSelectionBorderBounds;mxVertexHandler.prototype.getSelectionBorderBounds=function(){return v.apply(this,arguments).grow(-this.getSelectionBorderInset())};var J=null,N=mxVertexHandler.prototype.createCustomHandles;
+mxVertexHandler.prototype.createCustomHandles=function(){null==J&&(J=mxCellRenderer.defaultShapes.tableLine);var C=N.apply(this,arguments);if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)){var P=function(ab,Pa,Sa){for(var gb=[],fb=0;fb<ab.length;fb++){var cb=ab[fb];gb.push(null==cb?null:new mxPoint((ta+cb.x+Pa)*ka,(ua+cb.y+Sa)*ka))}return gb},R=this,W=this.graph,ia=W.model,ka=W.view.scale,pa=this.state,xa=this.selectionBorder,ta=this.state.origin.x+W.view.translate.x,
+ua=this.state.origin.y+W.view.translate.y;null==C&&(C=[]);var Ia=W.view.getCellStates(ia.getChildCells(this.state.cell,!0));if(0<Ia.length){var Va=ia.getChildCells(Ia[0].cell,!0),Wa=W.getTableLines(this.state.cell,!1,!0),Ta=W.getTableLines(this.state.cell,!0,!1);for(ia=0;ia<Ia.length;ia++)mxUtils.bind(this,function(ab){var Pa=Ia[ab],Sa=null;if(W.isCellMovable(Pa.cell)){Sa=ab<Ia.length-1?Ia[ab+1]:null;Sa=null!=Sa?W.getCellGeometry(Sa.cell):null;var gb=null!=Sa&&null!=Sa.alternateBounds?Sa.alternateBounds:
+Sa;Sa=null!=Ta[ab]?new J(Ta[ab],mxConstants.NONE,1):new mxLine(new mxRectangle,mxConstants.NONE,1,!1);Sa.isDashed=xa.isDashed;Sa.svgStrokeTolerance++;Sa=new mxHandle(Pa,"row-resize",null,Sa);Sa.tableHandle=!0;var fb=0;Sa.shape.node.parentNode.insertBefore(Sa.shape.node,Sa.shape.node.parentNode.firstChild);Sa.redraw=function(){if(null!=this.shape){this.shape.stroke=0==fb?mxConstants.NONE:xa.stroke;if(this.shape.constructor==J)this.shape.line=P(Ta[ab],0,fb),this.shape.updateBoundsFromLine();else{var eb=
+W.getActualStartSize(pa.cell,!0);this.shape.bounds.height=1;this.shape.bounds.y=this.state.y+this.state.height+fb*ka;this.shape.bounds.x=pa.x+(ab==Ia.length-1?0:eb.x*ka);this.shape.bounds.width=pa.width-(ab==Ia.length-1?0:eb.width+eb.x+ka)}this.shape.redraw()}};var cb=!1;Sa.setPosition=function(eb,lb,kb){fb=Math.max(Graph.minTableRowHeight-eb.height,lb.y-eb.y-eb.height);cb=mxEvent.isShiftDown(kb.getEvent());null!=gb&&cb&&(fb=Math.min(fb,gb.height-Graph.minTableRowHeight))};Sa.execute=function(eb){if(0!=
+fb)W.setTableRowHeight(this.state.cell,fb,!cb);else if(!R.blockDelayedSelection){var lb=W.getCellAt(eb.getGraphX(),eb.getGraphY())||pa.cell;W.graphHandler.selectCellForEvent(lb,eb)}fb=0};Sa.reset=function(){fb=0}}C.push(Sa)})(ia);for(ia=0;ia<Va.length;ia++)mxUtils.bind(this,function(ab){var Pa=W.view.getState(Va[ab]),Sa=W.getCellGeometry(Va[ab]),gb=null!=Sa.alternateBounds?Sa.alternateBounds:Sa;null==Pa&&(Pa=new mxCellState(W.view,Va[ab],W.getCellStyle(Va[ab])),Pa.x=pa.x+Sa.x*ka,Pa.y=pa.y+Sa.y*ka,
+Pa.width=gb.width*ka,Pa.height=gb.height*ka,Pa.updateCachedBounds());Sa=ab<Va.length-1?Va[ab+1]:null;Sa=null!=Sa?W.getCellGeometry(Sa):null;var fb=null!=Sa&&null!=Sa.alternateBounds?Sa.alternateBounds:Sa;Sa=null!=Wa[ab]?new J(Wa[ab],mxConstants.NONE,1):new mxLine(new mxRectangle,mxConstants.NONE,1,!0);Sa.isDashed=xa.isDashed;Sa.svgStrokeTolerance++;Pa=new mxHandle(Pa,"col-resize",null,Sa);Pa.tableHandle=!0;var cb=0;Pa.shape.node.parentNode.insertBefore(Pa.shape.node,Pa.shape.node.parentNode.firstChild);
+Pa.redraw=function(){if(null!=this.shape){this.shape.stroke=0==cb?mxConstants.NONE:xa.stroke;if(this.shape.constructor==J)this.shape.line=P(Wa[ab],cb,0),this.shape.updateBoundsFromLine();else{var lb=W.getActualStartSize(pa.cell,!0);this.shape.bounds.width=1;this.shape.bounds.x=this.state.x+(gb.width+cb)*ka;this.shape.bounds.y=pa.y+(ab==Va.length-1?0:lb.y*ka);this.shape.bounds.height=pa.height-(ab==Va.length-1?0:(lb.height+lb.y)*ka)}this.shape.redraw()}};var eb=!1;Pa.setPosition=function(lb,kb,ob){cb=
+Math.max(Graph.minTableColumnWidth-gb.width,kb.x-lb.x-gb.width);eb=mxEvent.isShiftDown(ob.getEvent());null==fb||eb||(cb=Math.min(cb,fb.width-Graph.minTableColumnWidth))};Pa.execute=function(lb){if(0!=cb)W.setTableColumnWidth(this.state.cell,cb,eb);else if(!R.blockDelayedSelection){var kb=W.getCellAt(lb.getGraphX(),lb.getGraphY())||pa.cell;W.graphHandler.selectCellForEvent(kb,lb)}cb=0};Pa.positionChanged=function(){};Pa.reset=function(){cb=0};C.push(Pa)})(ia)}}return null!=C?C.reverse():null};var T=
+mxVertexHandler.prototype.setHandlesVisible;mxVertexHandler.prototype.setHandlesVisible=function(C){T.apply(this,arguments);if(null!=this.moveHandles)for(var P=0;P<this.moveHandles.length;P++)null!=this.moveHandles[P]&&(this.moveHandles[P].node.style.visibility=C?"":"hidden");if(null!=this.cornerHandles)for(P=0;P<this.cornerHandles.length;P++)this.cornerHandles[P].node.style.visibility=C?"":"hidden"};mxVertexHandler.prototype.isMoveHandlesVisible=function(){return this.graph.isTable(this.state.cell)&&
+this.graph.isCellMovable(this.state.cell)};mxVertexHandler.prototype.refreshMoveHandles=function(){var C=this.isMoveHandlesVisible();C&&null==this.moveHandles?this.moveHandles=this.createMoveHandles():C||null==this.moveHandles||this.destroyMoveHandles();if(C&&null==this.moveHandles){for(C=0;C<this.moveHandles.length;C++)null!=this.moveHandles[C]&&this.moveHandles[C].parentNode.removeChild(this.moveHandles[C]);this.moveHandles=null}};mxVertexHandler.prototype.createMoveHandles=function(){for(var C=
+this.graph,P=C.model,R=[],W=0;W<P.getChildCount(this.state.cell);W++)mxUtils.bind(this,function(ia){if(null!=ia&&P.isVertex(ia.cell)&&C.isCellMovable(ia.cell)){var ka=new mxRectangle(0,0,this.rowHandleImage.width,this.rowHandleImage.height);ka=new mxImageShape(ka,this.rowHandleImage.src);ka.rowState=ia;ka.dialect=this.graph.dialect!=mxConstants.DIALECT_SVG?mxConstants.DIALECT_MIXEDHTML:mxConstants.DIALECT_SVG;ka.init(this.graph.getView().getOverlayPane());ka.node.style.cursor="move";mxEvent.addGestureListeners(ka.node,
+mxUtils.bind(this,function(pa){this.graph.popupMenuHandler.hideMenu();this.graph.stopEditing(!1);!this.graph.isToggleEvent(pa)&&this.graph.isCellSelected(ia.cell)||this.graph.selectCellForEvent(ia.cell,pa);mxEvent.isPopupTrigger(pa)||(this.graph.graphHandler.start(this.state.cell,mxEvent.getClientX(pa),mxEvent.getClientY(pa),this.graph.getSelectionCells()),this.graph.graphHandler.cellWasClicked=!0,this.graph.isMouseTrigger=mxEvent.isMouseEvent(pa),this.graph.isMouseDown=!0);mxEvent.consume(pa)}),
+null,mxUtils.bind(this,function(pa){mxEvent.isPopupTrigger(pa)&&(this.graph.popupMenuHandler.popup(mxEvent.getClientX(pa),mxEvent.getClientY(pa),ia.cell,pa),mxEvent.consume(pa))}));R.push(ka)}else R.push(null)})(this.graph.view.getState(P.getChildAt(this.state.cell,W)));return R};mxVertexHandler.prototype.destroyMoveHandles=function(){if(null!=this.moveHandles){for(var C=0;C<this.moveHandles.length;C++)null!=this.moveHandles[C]&&this.moveHandles[C].destroy();this.moveHandles=null}};mxVertexHandler.prototype.destroyCornerHandles=
+function(){if(null!=this.cornerHandles){for(var C=0;C<this.cornerHandles.length;C++)null!=this.cornerHandles[C]&&null!=this.cornerHandles[C].node&&null!=this.cornerHandles[C].node.parentNode&&this.cornerHandles[C].node.parentNode.removeChild(this.cornerHandles[C].node);this.cornerHandles=null}};var V=mxVertexHandler.prototype.refresh;mxVertexHandler.prototype.refresh=function(){V.apply(this,arguments);this.destroyMoveHandles();this.destroyCornerHandles();if(this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell))this.refreshMoveHandles();
+else if(1==this.graph.getSelectionCount()&&this.graph.isCellMovable(this.state.cell)&&(this.graph.isTableCell(this.state.cell)||this.graph.isTableRow(this.state.cell))){this.cornerHandles=[];for(var C=0;4>C;C++){var P=new mxRectangleShape(new mxRectangle(0,0,6,6),"#ffffff",mxConstants.HANDLE_STROKECOLOR);P.dialect=mxConstants.DIALECT_SVG;P.init(this.graph.view.getOverlayPane());this.cornerHandles.push(P)}}this.graph.isTable(this.state.cell)&&this.graph.isCellMovable(this.state.cell)&&this.refreshMoveHandles();
+C=this.graph.getLinkForCell(this.state.cell);P=this.graph.getLinksForState(this.state);this.updateLinkHint(C,P)};var U=mxVertexHandler.prototype.getHandlePadding;mxVertexHandler.prototype.getHandlePadding=function(){var C=new mxPoint(0,0),P=this.tolerance,R=this.state.style.shape;null==mxCellRenderer.defaultShapes[R]&&mxStencilRegistry.getStencil(R);R=this.graph.isTable(this.state.cell)||this.graph.cellEditor.getEditingCell()==this.state.cell;if(!R&&null!=this.customHandles)for(var W=0;W<this.customHandles.length;W++)if(null!=
+this.customHandles[W]&&null!=this.customHandles[W].shape&&null!=this.customHandles[W].shape.bounds){var ia=this.customHandles[W].shape.bounds,ka=ia.getCenterX(),pa=ia.getCenterY();if(Math.abs(this.state.x-ka)<ia.width/2||Math.abs(this.state.y-pa)<ia.height/2||Math.abs(this.state.x+this.state.width-ka)<ia.width/2||Math.abs(this.state.y+this.state.height-pa)<ia.height/2){R=!0;break}}R&&null!=this.sizers&&0<this.sizers.length&&null!=this.sizers[0]?(P/=2,this.graph.isTable(this.state.cell)&&(P+=7),C.x=
+this.sizers[0].bounds.width+P,C.y=this.sizers[0].bounds.height+P):C=U.apply(this,arguments);return C};mxVertexHandler.prototype.updateHint=function(C){if(this.index!=mxEvent.LABEL_HANDLE){null==this.hint&&(this.hint=b(),this.state.view.graph.container.appendChild(this.hint));if(this.index==mxEvent.ROTATION_HANDLE)this.hint.innerHTML=this.currentAlpha+"&deg;";else{C=this.state.view.scale;var P=this.state.view.unit;this.hint.innerHTML=f(this.roundLength(this.bounds.width/C),P)+" x "+f(this.roundLength(this.bounds.height/
+C),P)}C=mxUtils.getBoundingBox(this.bounds,null!=this.currentAlpha?this.currentAlpha:this.state.style[mxConstants.STYLE_ROTATION]||"0");null==C&&(C=this.bounds);this.hint.style.left=C.x+Math.round((C.width-this.hint.clientWidth)/2)+"px";this.hint.style.top=C.y+C.height+Editor.hintOffset+"px";null!=this.linkHint&&(this.linkHint.style.display="none")}};mxVertexHandler.prototype.removeHint=function(){mxGraphHandler.prototype.removeHint.apply(this,arguments);null!=this.linkHint&&(this.linkHint.style.display=
+"")};var X=mxEdgeHandler.prototype.refresh;mxEdgeHandler.prototype.refresh=function(){X.apply(this,arguments);var C=this.graph.getLinkForCell(this.state.cell),P=this.graph.getLinksForState(this.state);this.updateLinkHint(C,P)};var fa=mxEdgeHandler.prototype.mouseMove;mxEdgeHandler.prototype.mouseMove=function(C,P){fa.apply(this,arguments);null!=this.linkHint&&"none"!=this.linkHint.style.display&&null!=this.graph.graphHandler&&null!=this.graph.graphHandler.first&&(this.linkHint.style.display="none")};
+var na=mxEdgeHandler.prototype.mouseUp;mxEdgeHandler.prototype.mouseUp=function(C,P){na.apply(this,arguments);null!=this.linkHint&&"none"==this.linkHint.style.display&&1==this.graph.getSelectionCount()&&(this.linkHint.style.display="")};mxEdgeHandler.prototype.updateHint=function(C,P,R){null==this.hint&&(this.hint=b(),this.state.view.graph.container.appendChild(this.hint));var W=this.graph.view.translate,ia=this.graph.view.scale,ka=this.roundLength(P.x/ia-W.x);W=this.roundLength(P.y/ia-W.y);var pa=
+this.graph.view.unit;this.hint.innerHTML=f(ka,pa)+", "+f(W,pa);this.hint.style.visibility="visible";null!=R&&(R.view.updateEdgeBounds(R),this.hint.innerHTML+=" ("+(pa==mxConstants.POINTS?Math.round(R.length/ia):f(R.length/ia,pa))+")");if(this.isSource||this.isTarget)null!=this.constraintHandler&&null!=this.constraintHandler.currentConstraint&&null!=this.constraintHandler.currentFocus?(R=this.constraintHandler.currentConstraint.point,this.hint.innerHTML="["+Math.round(100*R.x)+"%, "+Math.round(100*
+R.y)+"%]"):this.marker.hasValidState()&&(this.hint.style.visibility="hidden");this.hint.style.left=Math.round(C.getGraphX()-this.hint.clientWidth/2)+"px";this.hint.style.top=Math.max(C.getGraphY(),P.y)+Editor.hintOffset+"px";null!=this.linkHint&&(this.linkHint.style.display="none")};Graph.prototype.expandedImage=Graph.createSvgImage(9,9,'<defs><linearGradient id="grad1" x1="50%" y1="0%" x2="50%" y2="100%"><stop offset="30%" style="stop-color:#f0f0f0;" /><stop offset="100%" style="stop-color:#AFB0B6;" /></linearGradient></defs><rect x="0" y="0" width="9" height="9" stroke="#8A94A5" fill="url(#grad1)" stroke-width="2"/><path d="M 2 4.5 L 7 4.5 z" stroke="#000"/>');
+Graph.prototype.collapsedImage=Graph.createSvgImage(9,9,'<defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="30%" style="stop-color:#f0f0f0;" /><stop offset="100%" style="stop-color:#AFB0B6;" /></linearGradient></defs><rect x="0" y="0" width="9" height="9" stroke="#8A94A5" fill="url(#grad1)" stroke-width="2"/><path d="M 4.5 2 L 4.5 7 M 2 4.5 L 7 4.5 z" stroke="#000"/>');mxEdgeHandler.prototype.removeHint=mxVertexHandler.prototype.removeHint;HoverIcons.prototype.mainHandle=
+Graph.createSvgImage(18,18,'<circle cx="9" cy="9" r="5" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/>');HoverIcons.prototype.endMainHandle=Graph.createSvgImage(18,18,'<circle cx="9" cy="9" r="6" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/>');HoverIcons.prototype.secondaryHandle=Graph.createSvgImage(16,16,'<path d="m 8 3 L 13 8 L 8 13 L 3 8 z" stroke="#fff" fill="#fca000"/>');HoverIcons.prototype.fixedHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="6" stroke="#fff" fill="#01bd22"/><path d="m 8 8 L 14 14M 8 14 L 14 8" stroke="#fff"/>');
HoverIcons.prototype.endFixedHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="7" stroke="#fff" fill="#01bd22"/><path d="m 8 8 L 14 14M 8 14 L 14 8" stroke="#fff"/>');HoverIcons.prototype.terminalHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="6" stroke="#fff" fill="'+HoverIcons.prototype.arrowFill+'"/><circle cx="11" cy="11" r="3" stroke="#fff" fill="transparent"/>');HoverIcons.prototype.endTerminalHandle=Graph.createSvgImage(22,22,'<circle cx="11" cy="11" r="7" stroke="#fff" fill="'+
HoverIcons.prototype.arrowFill+'"/><circle cx="11" cy="11" r="3" stroke="#fff" fill="transparent"/>');HoverIcons.prototype.rotationHandle=Graph.createSvgImage(16,16,'<path stroke="'+HoverIcons.prototype.arrowFill+'" fill="'+HoverIcons.prototype.arrowFill+'" d="M15.55 5.55L11 1v3.07C7.06 4.56 4 7.92 4 12s3.05 7.44 7 7.93v-2.02c-2.84-.48-5-2.94-5-5.91s2.16-5.43 5-5.91V10l4.55-4.45zM19.93 11c-.17-1.39-.72-2.73-1.62-3.89l-1.42 1.42c.54.75.88 1.6 1.02 2.47h2.02zM13 17.9v2.02c1.39-.17 2.74-.71 3.9-1.61l-1.44-1.44c-.75.54-1.59.89-2.46 1.03zm3.89-2.42l1.42 1.41c.9-1.16 1.45-2.5 1.62-3.89h-2.02c-.14.87-.48 1.72-1.02 2.48z"/>',
24,24);mxConstraintHandler.prototype.pointImage=Graph.createSvgImage(5,5,'<path d="m 0 0 L 5 5 M 0 5 L 5 0" stroke-width="2" style="stroke-opacity:0.4" stroke="#ffffff"/><path d="m 0 0 L 5 5 M 0 5 L 5 0" stroke="'+HoverIcons.prototype.arrowFill+'"/>');mxVertexHandler.TABLE_HANDLE_COLOR="#fca000";mxVertexHandler.prototype.handleImage=HoverIcons.prototype.mainHandle;mxVertexHandler.prototype.secondaryHandleImage=HoverIcons.prototype.secondaryHandle;mxVertexHandler.prototype.rowHandleImage=Graph.createSvgImage(14,
@@ -3478,14 +3478,14 @@ k.lastPrintSheetsAcross||"1");Ea.setAttribute("min","1");Ea.setAttribute("type",
U.style.whiteSpace="nowrap";U.style.paddingTop="12px";U.style.marginTop="12px";U.style.paddingLeft="8px";mxUtils.write(U,mxResources.get("borderWidth")+":");var P=document.createElement("input");P.setAttribute("type","number");P.setAttribute("min","0");P.style.width="40px";P.style.marginLeft="4px";P.value=null!=k.lastPrintBorder?k.lastPrintBorder:mxPrintPreview.prototype.pageMargin;U.appendChild(P);v=document.createElement("span");v.style.marginLeft="8px";mxUtils.write(v,mxResources.get("zoom")+":");
U.appendChild(v);var R=document.createElement("input");R.style.width="60px";R.style.marginLeft="4px";R.value=null!=k.lastPrintZoom?k.lastPrintZoom:"100%";U.appendChild(R);mxUtils.br(U);var W=document.createElement("input");W.setAttribute("type","checkbox");W.style.marginTop="12px";W.checked=null!=k.lastPrintGrid?k.lastPrintGrid:!1;U.appendChild(W);v=document.createElement("span");v.style.marginLeft="4px";v.style.marginRight="8px";mxUtils.write(v,mxResources.get("grid"));U.appendChild(v);mxEvent.addListener(v,
"click",function(ua){W.checked=!0;mxEvent.consume(ua)});var ia=document.createElement("input");ia.setAttribute("type","checkbox");ia.style.marginTop="12px";ia.checked=null!=k.lastPrintShadow?k.lastPrintShadow:!1;U.appendChild(ia);v=document.createElement("span");v.style.marginLeft="4px";v.style.marginRight="8px";mxUtils.write(v,mxResources.get("shadows"));U.appendChild(v);k.isOffline()&&!mxClient.IS_CHROMEAPP||v.appendChild(k.createHelpIcon("https://github.com/jgraph/drawio/discussions/5136"));mxEvent.addListener(v,
-"click",function(ua){ia.checked=!0;mxEvent.consume(ua)});Editor.enableShadowOption?null!=J&&mxUtils.br(U):(ia.style.display="none",v.style.display="none");var ka=document.createElement("input");ka.setAttribute("type","checkbox");ka.style.marginTop="10px";ka.checked=null!=k.lastPrintTransparent?k.lastPrintTransparent:!1;null!=J&&(U.appendChild(ka),v=document.createElement("span"),v.style.marginLeft="4px",mxUtils.write(v,mxResources.get("transparentBackground")),U.appendChild(v),mxEvent.addListener(v,
-"click",function(ua){ka.checked=!0;mxEvent.consume(ua)}));var pa=document.createElement("input");pa.setAttribute("type","checkbox");pa.style.marginTop="10px";pa.checked=null!=k.lastPrintInclude?k.lastPrintInclude:Editor.defaultIncludeDiagram;null==J||mxClient.IS_CHROMEAPP||"draw.io"!=k.getServiceName()||(mxUtils.br(U),U.appendChild(pa),v=document.createElement("span"),v.style.marginLeft="4px",mxUtils.write(v,mxResources.get("includeCopyOfMyDiagram")),U.appendChild(v),mxEvent.addListener(v,"click",
-function(ua){pa.checked=!0;mxEvent.consume(ua)}));X.appendChild(U);v=document.createElement("div");v.style.marginTop="30px";v.style.textAlign="right";v.style.whiteSpace="nowrap";k.isOffline()&&!mxClient.IS_CHROMEAPP||null!=J||v.appendChild(k.createHelpIcon("https://www.drawio.com/doc/faq/print-diagram"));U=mxUtils.button(mxResources.get("cancel"),function(){k.hideDialog()});U.className="geBtn";k.editor.cancelFirst&&v.appendChild(U);PrintDialog.previewEnabled&&null==J&&(fa=mxUtils.button(mxResources.get("preview"),
-function(){try{k.hideDialog(),V(!1)}catch(ua){k.handleError(ua)}}),fa.className="geBtn",v.appendChild(fa));N=null!=N?N:null!=J?"export":PrintDialog.previewEnabled?"print":"ok";N=mxUtils.button(mxResources.get(N),function(){try{k.hideDialog(),V(!0)}catch(ua){k.handleError(ua)}});N.className="geBtn gePrimaryBtn";v.appendChild(N);k.editor.cancelFirst||v.appendChild(U);X.appendChild(v);if(k.editor.isChromelessView()){var xa=function(){Editor.isDarkMode()?(X.classList.add("geDarkMode"),X.style.colorScheme=
-"dark"):(X.classList.remove("geDarkMode"),X.style.colorScheme="light")};k.addListener("darkModeChanged",xa);xa();var ta=function(ua,Ia){ua=Ia.getProperty("dialog");X.parentNode==ua.container&&(k.editor.removeListener(ta),k.removeListener(xa))};k.editor.addListener("hideDialog",ta)}this.container=X};var Z=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 k=this.image;null!=k&&null!=k.src&&Graph.isPageLink(k.src)&&(k={originalSrc:k.src});this.page.viewState.backgroundImage=k}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 Z.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&&(k=this.ui.editor.graph.adaptiveColors,this.ui.setAdaptiveColors(this.adaptiveColors),this.adaptiveColors=null!=k?k:"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="28.0.4";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))&&"https://preprod.diagrams.net/"!=window.location.hostname&&"support.draw.io"!=window.location.hostname&&
+"click",function(ua){"IMG"!=mxEvent.getSource(ua).nodeName&&(ia.checked=!0,mxEvent.consume(ua))});Editor.enableShadowOption?null!=J&&mxUtils.br(U):(ia.style.display="none",v.style.display="none");var ka=document.createElement("input");ka.setAttribute("type","checkbox");ka.style.marginTop="10px";ka.checked=null!=k.lastPrintTransparent?k.lastPrintTransparent:!1;null!=J&&(U.appendChild(ka),v=document.createElement("span"),v.style.marginLeft="4px",mxUtils.write(v,mxResources.get("transparentBackground")),
+U.appendChild(v),mxEvent.addListener(v,"click",function(ua){ka.checked=!0;mxEvent.consume(ua)}));var pa=document.createElement("input");pa.setAttribute("type","checkbox");pa.style.marginTop="10px";pa.checked=null!=k.lastPrintInclude?k.lastPrintInclude:Editor.defaultIncludeDiagram;null==J||mxClient.IS_CHROMEAPP||"draw.io"!=k.getServiceName()||(mxUtils.br(U),U.appendChild(pa),v=document.createElement("span"),v.style.marginLeft="4px",mxUtils.write(v,mxResources.get("includeCopyOfMyDiagram")),U.appendChild(v),
+mxEvent.addListener(v,"click",function(ua){pa.checked=!0;mxEvent.consume(ua)}));X.appendChild(U);v=document.createElement("div");v.style.marginTop="30px";v.style.textAlign="right";v.style.whiteSpace="nowrap";k.isOffline()&&!mxClient.IS_CHROMEAPP||null!=J||v.appendChild(k.createHelpIcon("https://www.drawio.com/doc/faq/print-diagram"));U=mxUtils.button(mxResources.get("cancel"),function(){k.hideDialog()});U.className="geBtn";k.editor.cancelFirst&&v.appendChild(U);PrintDialog.previewEnabled&&null==J&&
+(fa=mxUtils.button(mxResources.get("preview"),function(){try{k.hideDialog(),V(!1)}catch(ua){k.handleError(ua)}}),fa.className="geBtn",v.appendChild(fa));N=null!=N?N:null!=J?"export":PrintDialog.previewEnabled?"print":"ok";N=mxUtils.button(mxResources.get(N),function(){try{k.hideDialog(),V(!0)}catch(ua){k.handleError(ua)}});N.className="geBtn gePrimaryBtn";v.appendChild(N);k.editor.cancelFirst||v.appendChild(U);X.appendChild(v);if(k.editor.isChromelessView()){var xa=function(){Editor.isDarkMode()?
+(X.classList.add("geDarkMode"),X.style.colorScheme="dark"):(X.classList.remove("geDarkMode"),X.style.colorScheme="light")};k.addListener("darkModeChanged",xa);xa();var ta=function(ua,Ia){ua=Ia.getProperty("dialog");X.parentNode==ua.container&&(k.editor.removeListener(ta),k.removeListener(xa))};k.editor.addListener("hideDialog",ta)}this.container=X};var Z=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 k=this.image;null!=k&&null!=k.src&&Graph.isPageLink(k.src)&&(k={originalSrc:k.src});this.page.viewState.backgroundImage=k}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 Z.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&&(k=this.ui.editor.graph.adaptiveColors,this.ui.setAdaptiveColors(this.adaptiveColors),this.adaptiveColors=null!=k?k:"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="28.0.5";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))&&"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,flowchart:{htmlLabels:!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:{titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,leftPadding:75,gridLineStartPadding:35,fontSize:11,fontFamily:'"Open-Sans", "sans-serif"',numberSectionStyles:4,axisFormat:"%Y-%m-%d"}};
diff --git a/src/main/webapp/resources/dia_id.txt b/src/main/webapp/resources/dia_id.txt
index 568f21e08..3d2bb9515 100644
--- a/src/main/webapp/resources/dia_id.txt
+++ b/src/main/webapp/resources/dia_id.txt
@@ -1314,7 +1314,7 @@ confDirectEditDraftLost=Halaman Confluence ini memiliki perubahan yang belum dip
confConfigSpacePerm=Catatan: Bila Anda baru-baru ini bermigrasi dari aplikasi DC, silakan periksa izin ruang Konfigurasi sehingga semua pengguna dapat membaca dan hanya admin yang dapat menulis. Selain itu, buang pembatasan halaman pada halaman "Konfigurasi" dan "Pustaka". Anda mungkin perlu kunci admin untuk mengakses mereka. Silakan periksa juga apakah berkas "configuration.json" dalam halaman "Konfigurasi" dapat diunduh.
tryCurPageOnErr=Cobalah mencari lampiran diagram pada halaman makro ketika halaman tertaut gagal
confAExtSrvcNoSupported=Diagram tertanam dari url atau layanan eksternal tidak didukung.
-gliffyVersionPinning=Impor versi Gliffy yang dipin daripada versi terbaru
+gliffyVersionPinning=Impor versi Gliffy yang di-pin daripada versi terbaru
confEmbedUpload=Untuk pengalaman pengeditan yang lebih baik, silakan gunakan makro draw.io biasa untuk menyisipkan diagram kosong, lalu dari (Menu File → Impor Dari → Perangkat...) pilih file yang ingin Anda unggah dan sematkan.
confPublishErr=Terjadi konflik dengan pembaruan lain saat Anda mempublikasikan, silakan coba lagi
-drives=Drives
+drives=Drive
diff --git a/src/main/webapp/service-worker.js b/src/main/webapp/service-worker.js
index 04480fa4b..bda0df720 100644
--- a/src/main/webapp/service-worker.js
+++ b/src/main/webapp/service-worker.js
@@ -1,2 +1,2 @@
-if(!self.define){let e,r={};const i=(i,a)=>(i=new URL(i+".js",a).href,r[i]||new Promise((r=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=r,document.head.appendChild(e)}else e=i,importScripts(i),r()})).then((()=>{let e=r[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e})));self.define=(a,c)=>{const s=e||("document"in self?document.currentScript.src:"")||location.href;if(r[s])return;let d={};const o=e=>i(e,s),f={module:{uri:s},exports:d,require:o};r[s]=Promise.all(a.map((e=>f[e]||o(e)))).then((e=>(c(...e),d)))}}define(["./workbox-72a83b64"],(function(e){"use strict";self.skipWaiting(),e.precacheAndRoute([{url:"js/bootstrap.js",revision:"3ae5cb7b92474238c9cd6c9667771e8f"},{url:"js/main.js",revision:"9f6e65617cb7b7a67185b05427d97feb"},{url:"js/app.min.js",revision:"6d05bed2a81cec4877db56c9f4bad25e"},{url:"js/extensions.min.js",revision:"1a62536b536113c0b6cadd93b9816b22"},{url:"js/orgchart.min.js",revision:"619d8c4dab47b81868916df31f55478b"},{url:"js/stencils.min.js",revision:"ad38046619064bc0f0790be6b5a7995f"},{url:"js/shapes-14-6-5.min.js",revision:"d4b2f375b0222562462613f553a3257c"},{url:"js/math-print.js",revision:"cf64f6a493a8cb5079f2b70813e478d7"},{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:"52d494798d4f6fc629a801fcd99c7fd5"},{url:"styles/high-contrast.css",revision:"4ecc9f6d08787a9e2d29dacf7aadd1ca"},{url:"js/dropbox/Dropbox-sdk.min.js",revision:"4b9842892aa37b156db0a8364b7a83b0"},{url:"js/onedrive/OneDrive.js",revision:"505e8280346666f7ee801bc59521fa67"},{url:"js/viewer-static.min.js",revision:"06ea84f36f261faf66e05e3ed9b16f2f"},{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:"75f816c208d0c621e3066a97ff0ee6cf"},{url:"connect/jira/spinner.gif",revision:"7d857ab9d86123e93d74d48e958fe743"},{url:"connect/jira/editor.js",revision:"ce61a0e62031a160e057809fefe64aa2"},{url:"connect/jira/fullscreen-viewer-init.js",revision:"d3269625ce04b7a277b779ff175957d0"},{url:"connect/jira/fullscreen-viewer.js",revision:"8eceb2fe587296dd11f9c8f6eae34c20"},{url:"plugins/connectJira.js",revision:"c4cb6b60234b04b2c8bc09e555746615"},{url:"plugins/cConf-comments.js",revision:"6deea8e9b96ff96043cd5cfd2a242a9f"},{url:"plugins/cConf-1-4-8.js",revision:"42137930327ac2a2500f711352b35e25"},{url:"connect/confluence/connectUtils-1-4-8.js",revision:"d381db23d3c925eb81854c07b46776a5"},{url:"connect/new_common/cac.js",revision:"740dce44cf53499f476ee8edc37d09a0"},{url:"connect/gdrive_common/gac.js",revision:"3bb38a5d9186a896ed04808e921ef888"},{url:"connect/onedrive_common/ac.js",revision:"5fb6ff1a73f54a9086b7a7e1f613b8ed"},{url:"connect/confluence/viewer-init.js",revision:"b82e366bf57ecced9435c2a8ba9cb9b9"},{url:"connect/confluence/viewer.js",revision:"78b87563d88943ab816a3463927b9b50"},{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:"174e06ff4578aa4e2cadf5434494d8dd"},{url:"connect/confluence/includeDiagram.html",revision:"01b04b3f54f1e2e63fcf1df033d24519"},{url:"connect/confluence/macro-editor.js",revision:"c4c110650228d22b021ebad4d6ef021e"},{url:"math/es5/startup.js",revision:"dc7130cdc866593293dbb5dde11ceb40"},{url:"math/es5/core.js",revision:"f71bc0bfb7d2ac8261747f97a5d47dd4"},{url:"math/es5/ui/safe.js",revision:"8c1fcfee7c879588ad409edcdd9cce53"},{url:"math/es5/output/svg.js",revision:"4f55967d16197ebb01b86356d8ab179a"},{url:"math/es5/input/tex.js",revision:"5c4f470da2ccb1acf85041fcecd6fff6"},{url:"math/es5/input/asciimath.js",revision:"c2d4076dd8e26d509bfe3a378e71cfa7"},{url:"math/es5/output/svg/fonts/tex.js",revision:"6eab785a3788ea805bd2b552d1f0aab8"},{url:"resources/dia.txt",revision:"f9a270e56f91d7b63e219306ff2b63ac"},{url:"resources/dia_am.txt",revision:"32e1e743ecec586536c25f2458cd3a43"},{url:"resources/dia_ar.txt",revision:"80851f14b8286106618f11aa7ae8805f"},{url:"resources/dia_bg.txt",revision:"91587bc16e3b642f40a25ff8d1c3d0f9"},{url:"resources/dia_bn.txt",revision:"f44c3fcc4a7b0890d4156eca0402cccc"},{url:"resources/dia_bs.txt",revision:"0702c63b2aaee2d20306adcddaea7ccc"},{url:"resources/dia_ca.txt",revision:"1a90a2b54a6f73d62e82772e1acbe8d0"},{url:"resources/dia_cs.txt",revision:"fa2847ec6f6e75a95410aa9dc20b8127"},{url:"resources/dia_da.txt",revision:"0efd12fd7f0e123bb9423ad1ffe9e656"},{url:"resources/dia_de.txt",revision:"469fb636bc289ba77a097ab7adf16a34"},{url:"resources/dia_el.txt",revision:"10cfc3115c42dae5c021d650850ae99e"},{url:"resources/dia_eo.txt",revision:"1209ecf16aa7598fe5342727c74a4d75"},{url:"resources/dia_es.txt",revision:"82f09fd89c36d86b3fef59329a613c65"},{url:"resources/dia_et.txt",revision:"f2ab92a7caa15d2161a17f58bd19e997"},{url:"resources/dia_eu.txt",revision:"e8adfcede0ea90af8a5683042a01eda0"},{url:"resources/dia_fa.txt",revision:"6793b6bed8a74a30d0b049b50d0516f2"},{url:"resources/dia_fi.txt",revision:"1a66ce94e0a9fefbd9c55edc49abf6fa"},{url:"resources/dia_fil.txt",revision:"ddcbbdc7230b1d7789002020ed34c01e"},{url:"resources/dia_fr.txt",revision:"c2a77b9e1f6d0b19dfc1e7bd40af2b42"},{url:"resources/dia_gl.txt",revision:"dbd313e4994792f6dcd1b59c39c3da7f"},{url:"resources/dia_gu.txt",revision:"3f5fa7dbec9d1f0c4fff0036b2dba0f8"},{url:"resources/dia_he.txt",revision:"e440cd11862b987985e4a0d2f5afb159"},{url:"resources/dia_hi.txt",revision:"78f34343a4f57ca4ec7e7a2717b625b6"},{url:"resources/dia_hr.txt",revision:"cc8f3026e5fd6a5c4eb4f2fb9b62ac10"},{url:"resources/dia_hu.txt",revision:"e17bfab25490d15929c65bbe3442f0dd"},{url:"resources/dia_id.txt",revision:"86ec19a2e1447a469019e06b5b45ea58"},{url:"resources/dia_it.txt",revision:"9e23d17c9eb7a8d074336f267f7bd2f8"},{url:"resources/dia_ja.txt",revision:"b76dd5c357b3ff1dfcabaddeab376d65"},{url:"resources/dia_kn.txt",revision:"280105c62f3261a784ab73952214dab2"},{url:"resources/dia_ko.txt",revision:"229e8f9c3d84e4635561ba392c465d11"},{url:"resources/dia_lt.txt",revision:"cd0159a46ef2c2bfb84bc6dad5a299cf"},{url:"resources/dia_lv.txt",revision:"9caa404e086db1e4da1a011a99847847"},{url:"resources/dia_ml.txt",revision:"44f8e230e471b112560a5ea979df1575"},{url:"resources/dia_mr.txt",revision:"9f77f05421ef5818d84c070b1b372e2b"},{url:"resources/dia_ms.txt",revision:"57cb8769a2fec369ee56969ecec2534a"},{url:"resources/dia_my.txt",revision:"a4376fafc38fda85318b032edbe9b5e4"},{url:"resources/dia_nl.txt",revision:"b6e0431168d72e1a515bcef3e2c5aff0"},{url:"resources/dia_no.txt",revision:"eb679e14c6b437fd2b22ff67f3d169ee"},{url:"resources/dia_pl.txt",revision:"ae3475b10f2824045fa7076f4584c085"},{url:"resources/dia_pt-br.txt",revision:"d5ce120975a388c3440de40d8179a36f"},{url:"resources/dia_pt.txt",revision:"d0c985f25e2924dd25bd540a82c3fd66"},{url:"resources/dia_ro.txt",revision:"b38b898b99d78cd6dbc7c9d95c0b4297"},{url:"resources/dia_ru.txt",revision:"5aed41ed91e16b0e77879e74c8843768"},{url:"resources/dia_si.txt",revision:"e70185bbb8fd9be659522ff2fa957ed3"},{url:"resources/dia_sk.txt",revision:"bf62dbf0de6a754291a822fb0ac718f4"},{url:"resources/dia_sl.txt",revision:"a6b715115ec4be67fe24a4474d74801c"},{url:"resources/dia_sr.txt",revision:"81470f91f04359c1b3b627515d71ef6f"},{url:"resources/dia_sv.txt",revision:"9ae3be18b492a3f448bf771f520f7ab4"},{url:"resources/dia_sw.txt",revision:"e217cba6058fe404745a91f5cd292245"},{url:"resources/dia_ta.txt",revision:"55349be1ac0abd9d35c9029cc289c8b0"},{url:"resources/dia_te.txt",revision:"4147210236a771e3990faedd0fe6d496"},{url:"resources/dia_th.txt",revision:"397f4bcb46b5fb76cba6a06af33005b4"},{url:"resources/dia_tr.txt",revision:"1bbf900c6d0b810f8cc944baa003802a"},{url:"resources/dia_uk.txt",revision:"5b3f8485623c0cbd22985c141e7f1c7f"},{url:"resources/dia_vi.txt",revision:"8576286953704e5cdd6727eb3ec484f4"},{url:"resources/dia_zh-tw.txt",revision:"298ab192edb19a1ef363bfb1ed8f97e4"},{url:"resources/dia_zh.txt",revision:"f2fcdf5b619faf471bff3703fc0bf75f"},{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:"81d1704d5ab9207e2e5c7fc84379dc1a"}],{ignoreURLParametersMatching:[/.*/]})}));
+if(!self.define){let e,r={};const i=(i,c)=>(i=new URL(i+".js",c).href,r[i]||new Promise((r=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=r,document.head.appendChild(e)}else e=i,importScripts(i),r()})).then((()=>{let e=r[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e})));self.define=(c,a)=>{const s=e||("document"in self?document.currentScript.src:"")||location.href;if(r[s])return;let d={};const o=e=>i(e,s),f={module:{uri:s},exports:d,require:o};r[s]=Promise.all(c.map((e=>f[e]||o(e)))).then((e=>(a(...e),d)))}}define(["./workbox-72a83b64"],(function(e){"use strict";self.skipWaiting(),e.precacheAndRoute([{url:"js/bootstrap.js",revision:"3ae5cb7b92474238c9cd6c9667771e8f"},{url:"js/main.js",revision:"9f6e65617cb7b7a67185b05427d97feb"},{url:"js/app.min.js",revision:"5852db2d29586e7a82e75be88c27e367"},{url:"js/extensions.min.js",revision:"49546b5dc442ef2391394f4def07462c"},{url:"js/orgchart.min.js",revision:"619d8c4dab47b81868916df31f55478b"},{url:"js/stencils.min.js",revision:"ad38046619064bc0f0790be6b5a7995f"},{url:"js/shapes-14-6-5.min.js",revision:"d4b2f375b0222562462613f553a3257c"},{url:"js/math-print.js",revision:"cf64f6a493a8cb5079f2b70813e478d7"},{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:"52d494798d4f6fc629a801fcd99c7fd5"},{url:"styles/high-contrast.css",revision:"4ecc9f6d08787a9e2d29dacf7aadd1ca"},{url:"js/dropbox/Dropbox-sdk.min.js",revision:"4b9842892aa37b156db0a8364b7a83b0"},{url:"js/onedrive/OneDrive.js",revision:"505e8280346666f7ee801bc59521fa67"},{url:"js/viewer-static.min.js",revision:"ac9c7f7c93224087b3c09e3bd956a87c"},{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:"75f816c208d0c621e3066a97ff0ee6cf"},{url:"connect/jira/spinner.gif",revision:"7d857ab9d86123e93d74d48e958fe743"},{url:"connect/jira/editor.js",revision:"ce61a0e62031a160e057809fefe64aa2"},{url:"connect/jira/fullscreen-viewer-init.js",revision:"d3269625ce04b7a277b779ff175957d0"},{url:"connect/jira/fullscreen-viewer.js",revision:"8eceb2fe587296dd11f9c8f6eae34c20"},{url:"plugins/connectJira.js",revision:"c4cb6b60234b04b2c8bc09e555746615"},{url:"plugins/cConf-comments.js",revision:"6deea8e9b96ff96043cd5cfd2a242a9f"},{url:"plugins/cConf-1-4-8.js",revision:"42137930327ac2a2500f711352b35e25"},{url:"connect/confluence/connectUtils-1-4-8.js",revision:"d381db23d3c925eb81854c07b46776a5"},{url:"connect/new_common/cac.js",revision:"740dce44cf53499f476ee8edc37d09a0"},{url:"connect/gdrive_common/gac.js",revision:"3bb38a5d9186a896ed04808e921ef888"},{url:"connect/onedrive_common/ac.js",revision:"5fb6ff1a73f54a9086b7a7e1f613b8ed"},{url:"connect/confluence/viewer-init.js",revision:"b82e366bf57ecced9435c2a8ba9cb9b9"},{url:"connect/confluence/viewer.js",revision:"78b87563d88943ab816a3463927b9b50"},{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:"174e06ff4578aa4e2cadf5434494d8dd"},{url:"connect/confluence/includeDiagram.html",revision:"01b04b3f54f1e2e63fcf1df033d24519"},{url:"connect/confluence/macro-editor.js",revision:"c4c110650228d22b021ebad4d6ef021e"},{url:"math/es5/startup.js",revision:"dc7130cdc866593293dbb5dde11ceb40"},{url:"math/es5/core.js",revision:"f71bc0bfb7d2ac8261747f97a5d47dd4"},{url:"math/es5/ui/safe.js",revision:"8c1fcfee7c879588ad409edcdd9cce53"},{url:"math/es5/output/svg.js",revision:"4f55967d16197ebb01b86356d8ab179a"},{url:"math/es5/input/tex.js",revision:"5c4f470da2ccb1acf85041fcecd6fff6"},{url:"math/es5/input/asciimath.js",revision:"c2d4076dd8e26d509bfe3a378e71cfa7"},{url:"math/es5/output/svg/fonts/tex.js",revision:"6eab785a3788ea805bd2b552d1f0aab8"},{url:"resources/dia.txt",revision:"f9a270e56f91d7b63e219306ff2b63ac"},{url:"resources/dia_am.txt",revision:"32e1e743ecec586536c25f2458cd3a43"},{url:"resources/dia_ar.txt",revision:"80851f14b8286106618f11aa7ae8805f"},{url:"resources/dia_bg.txt",revision:"91587bc16e3b642f40a25ff8d1c3d0f9"},{url:"resources/dia_bn.txt",revision:"f44c3fcc4a7b0890d4156eca0402cccc"},{url:"resources/dia_bs.txt",revision:"0702c63b2aaee2d20306adcddaea7ccc"},{url:"resources/dia_ca.txt",revision:"1a90a2b54a6f73d62e82772e1acbe8d0"},{url:"resources/dia_cs.txt",revision:"fa2847ec6f6e75a95410aa9dc20b8127"},{url:"resources/dia_da.txt",revision:"0efd12fd7f0e123bb9423ad1ffe9e656"},{url:"resources/dia_de.txt",revision:"469fb636bc289ba77a097ab7adf16a34"},{url:"resources/dia_el.txt",revision:"10cfc3115c42dae5c021d650850ae99e"},{url:"resources/dia_eo.txt",revision:"1209ecf16aa7598fe5342727c74a4d75"},{url:"resources/dia_es.txt",revision:"82f09fd89c36d86b3fef59329a613c65"},{url:"resources/dia_et.txt",revision:"f2ab92a7caa15d2161a17f58bd19e997"},{url:"resources/dia_eu.txt",revision:"e8adfcede0ea90af8a5683042a01eda0"},{url:"resources/dia_fa.txt",revision:"6793b6bed8a74a30d0b049b50d0516f2"},{url:"resources/dia_fi.txt",revision:"1a66ce94e0a9fefbd9c55edc49abf6fa"},{url:"resources/dia_fil.txt",revision:"ddcbbdc7230b1d7789002020ed34c01e"},{url:"resources/dia_fr.txt",revision:"c2a77b9e1f6d0b19dfc1e7bd40af2b42"},{url:"resources/dia_gl.txt",revision:"dbd313e4994792f6dcd1b59c39c3da7f"},{url:"resources/dia_gu.txt",revision:"3f5fa7dbec9d1f0c4fff0036b2dba0f8"},{url:"resources/dia_he.txt",revision:"e440cd11862b987985e4a0d2f5afb159"},{url:"resources/dia_hi.txt",revision:"78f34343a4f57ca4ec7e7a2717b625b6"},{url:"resources/dia_hr.txt",revision:"cc8f3026e5fd6a5c4eb4f2fb9b62ac10"},{url:"resources/dia_hu.txt",revision:"e17bfab25490d15929c65bbe3442f0dd"},{url:"resources/dia_id.txt",revision:"83d5c8178aa9b75a7d8be9854501508f"},{url:"resources/dia_it.txt",revision:"9e23d17c9eb7a8d074336f267f7bd2f8"},{url:"resources/dia_ja.txt",revision:"b76dd5c357b3ff1dfcabaddeab376d65"},{url:"resources/dia_kn.txt",revision:"280105c62f3261a784ab73952214dab2"},{url:"resources/dia_ko.txt",revision:"229e8f9c3d84e4635561ba392c465d11"},{url:"resources/dia_lt.txt",revision:"cd0159a46ef2c2bfb84bc6dad5a299cf"},{url:"resources/dia_lv.txt",revision:"9caa404e086db1e4da1a011a99847847"},{url:"resources/dia_ml.txt",revision:"44f8e230e471b112560a5ea979df1575"},{url:"resources/dia_mr.txt",revision:"9f77f05421ef5818d84c070b1b372e2b"},{url:"resources/dia_ms.txt",revision:"57cb8769a2fec369ee56969ecec2534a"},{url:"resources/dia_my.txt",revision:"a4376fafc38fda85318b032edbe9b5e4"},{url:"resources/dia_nl.txt",revision:"b6e0431168d72e1a515bcef3e2c5aff0"},{url:"resources/dia_no.txt",revision:"eb679e14c6b437fd2b22ff67f3d169ee"},{url:"resources/dia_pl.txt",revision:"ae3475b10f2824045fa7076f4584c085"},{url:"resources/dia_pt-br.txt",revision:"d5ce120975a388c3440de40d8179a36f"},{url:"resources/dia_pt.txt",revision:"d0c985f25e2924dd25bd540a82c3fd66"},{url:"resources/dia_ro.txt",revision:"b38b898b99d78cd6dbc7c9d95c0b4297"},{url:"resources/dia_ru.txt",revision:"5aed41ed91e16b0e77879e74c8843768"},{url:"resources/dia_si.txt",revision:"e70185bbb8fd9be659522ff2fa957ed3"},{url:"resources/dia_sk.txt",revision:"bf62dbf0de6a754291a822fb0ac718f4"},{url:"resources/dia_sl.txt",revision:"a6b715115ec4be67fe24a4474d74801c"},{url:"resources/dia_sr.txt",revision:"81470f91f04359c1b3b627515d71ef6f"},{url:"resources/dia_sv.txt",revision:"9ae3be18b492a3f448bf771f520f7ab4"},{url:"resources/dia_sw.txt",revision:"e217cba6058fe404745a91f5cd292245"},{url:"resources/dia_ta.txt",revision:"55349be1ac0abd9d35c9029cc289c8b0"},{url:"resources/dia_te.txt",revision:"4147210236a771e3990faedd0fe6d496"},{url:"resources/dia_th.txt",revision:"397f4bcb46b5fb76cba6a06af33005b4"},{url:"resources/dia_tr.txt",revision:"1bbf900c6d0b810f8cc944baa003802a"},{url:"resources/dia_uk.txt",revision:"5b3f8485623c0cbd22985c141e7f1c7f"},{url:"resources/dia_vi.txt",revision:"8576286953704e5cdd6727eb3ec484f4"},{url:"resources/dia_zh-tw.txt",revision:"298ab192edb19a1ef363bfb1ed8f97e4"},{url:"resources/dia_zh.txt",revision:"f2fcdf5b619faf471bff3703fc0bf75f"},{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:"81d1704d5ab9207e2e5c7fc84379dc1a"}],{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 dd7843daa..df63f6af2 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/5p/vxfp3wpj4slfjt2m12dxyp9c0000gn/T/c5b37d8557cfd729e5f0e005517c1603/service-worker.js"],"sourcesContent":["import {precacheAndRoute as workbox_precaching_precacheAndRoute} from '/opt/homebrew/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\": \"3ae5cb7b92474238c9cd6c9667771e8f\"\n },\n {\n \"url\": \"js/main.js\",\n \"revision\": \"9f6e65617cb7b7a67185b05427d97feb\"\n },\n {\n \"url\": \"js/app.min.js\",\n \"revision\": \"6d05bed2a81cec4877db56c9f4bad25e\"\n },\n {\n \"url\": \"js/extensions.min.js\",\n \"revision\": \"1a62536b536113c0b6cadd93b9816b22\"\n },\n {\n \"url\": \"js/orgchart.min.js\",\n \"revision\": \"619d8c4dab47b81868916df31f55478b\"\n },\n {\n \"url\": \"js/stencils.min.js\",\n \"revision\": \"ad38046619064bc0f0790be6b5a7995f\"\n },\n {\n \"url\": \"js/shapes-14-6-5.min.js\",\n \"revision\": \"d4b2f375b0222562462613f553a3257c\"\n },\n {\n \"url\": \"js/math-print.js\",\n \"revision\": \"cf64f6a493a8cb5079f2b70813e478d7\"\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\": \"52d494798d4f6fc629a801fcd99c7fd5\"\n },\n {\n \"url\": \"styles/high-contrast.css\",\n \"revision\": \"4ecc9f6d08787a9e2d29dacf7aadd1ca\"\n },\n {\n \"url\": \"js/dropbox/Dropbox-sdk.min.js\",\n \"revision\": \"4b9842892aa37b156db0a8364b7a83b0\"\n },\n {\n \"url\": \"js/onedrive/OneDrive.js\",\n \"revision\": \"505e8280346666f7ee801bc59521fa67\"\n },\n {\n \"url\": \"js/viewer-static.min.js\",\n \"revision\": \"06ea84f36f261faf66e05e3ed9b16f2f\"\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\": \"75f816c208d0c621e3066a97ff0ee6cf\"\n },\n {\n \"url\": \"connect/jira/spinner.gif\",\n \"revision\": \"7d857ab9d86123e93d74d48e958fe743\"\n },\n {\n \"url\": \"connect/jira/editor.js\",\n \"revision\": \"ce61a0e62031a160e057809fefe64aa2\"\n },\n {\n \"url\": \"connect/jira/fullscreen-viewer-init.js\",\n \"revision\": \"d3269625ce04b7a277b779ff175957d0\"\n },\n {\n \"url\": \"connect/jira/fullscreen-viewer.js\",\n \"revision\": \"8eceb2fe587296dd11f9c8f6eae34c20\"\n },\n {\n \"url\": \"plugins/connectJira.js\",\n \"revision\": \"c4cb6b60234b04b2c8bc09e555746615\"\n },\n {\n \"url\": \"plugins/cConf-comments.js\",\n \"revision\": \"6deea8e9b96ff96043cd5cfd2a242a9f\"\n },\n {\n \"url\": \"plugins/cConf-1-4-8.js\",\n \"revision\": \"42137930327ac2a2500f711352b35e25\"\n },\n {\n \"url\": \"connect/confluence/connectUtils-1-4-8.js\",\n \"revision\": \"d381db23d3c925eb81854c07b46776a5\"\n },\n {\n \"url\": \"connect/new_common/cac.js\",\n \"revision\": \"740dce44cf53499f476ee8edc37d09a0\"\n },\n {\n \"url\": \"connect/gdrive_common/gac.js\",\n \"revision\": \"3bb38a5d9186a896ed04808e921ef888\"\n },\n {\n \"url\": \"connect/onedrive_common/ac.js\",\n \"revision\": \"5fb6ff1a73f54a9086b7a7e1f613b8ed\"\n },\n {\n \"url\": \"connect/confluence/viewer-init.js\",\n \"revision\": \"b82e366bf57ecced9435c2a8ba9cb9b9\"\n },\n {\n \"url\": \"connect/confluence/viewer.js\",\n \"revision\": \"78b87563d88943ab816a3463927b9b50\"\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\": \"174e06ff4578aa4e2cadf5434494d8dd\"\n },\n {\n \"url\": \"connect/confluence/includeDiagram.html\",\n \"revision\": \"01b04b3f54f1e2e63fcf1df033d24519\"\n },\n {\n \"url\": \"connect/confluence/macro-editor.js\",\n \"revision\": \"c4c110650228d22b021ebad4d6ef021e\"\n },\n {\n \"url\": \"math/es5/startup.js\",\n \"revision\": \"dc7130cdc866593293dbb5dde11ceb40\"\n },\n {\n \"url\": \"math/es5/core.js\",\n \"revision\": \"f71bc0bfb7d2ac8261747f97a5d47dd4\"\n },\n {\n \"url\": \"math/es5/ui/safe.js\",\n \"revision\": \"8c1fcfee7c879588ad409edcdd9cce53\"\n },\n {\n \"url\": \"math/es5/output/svg.js\",\n \"revision\": \"4f55967d16197ebb01b86356d8ab179a\"\n },\n {\n \"url\": \"math/es5/input/tex.js\",\n \"revision\": \"5c4f470da2ccb1acf85041fcecd6fff6\"\n },\n {\n \"url\": \"math/es5/input/asciimath.js\",\n \"revision\": \"c2d4076dd8e26d509bfe3a378e71cfa7\"\n },\n {\n \"url\": \"math/es5/output/svg/fonts/tex.js\",\n \"revision\": \"6eab785a3788ea805bd2b552d1f0aab8\"\n },\n {\n \"url\": \"resources/dia.txt\",\n \"revision\": \"f9a270e56f91d7b63e219306ff2b63ac\"\n },\n {\n \"url\": \"resources/dia_am.txt\",\n \"revision\": \"32e1e743ecec586536c25f2458cd3a43\"\n },\n {\n \"url\": \"resources/dia_ar.txt\",\n \"revision\": \"80851f14b8286106618f11aa7ae8805f\"\n },\n {\n \"url\": \"resources/dia_bg.txt\",\n \"revision\": \"91587bc16e3b642f40a25ff8d1c3d0f9\"\n },\n {\n \"url\": \"resources/dia_bn.txt\",\n \"revision\": \"f44c3fcc4a7b0890d4156eca0402cccc\"\n },\n {\n \"url\": \"resources/dia_bs.txt\",\n \"revision\": \"0702c63b2aaee2d20306adcddaea7ccc\"\n },\n {\n \"url\": \"resources/dia_ca.txt\",\n \"revision\": \"1a90a2b54a6f73d62e82772e1acbe8d0\"\n },\n {\n \"url\": \"resources/dia_cs.txt\",\n \"revision\": \"fa2847ec6f6e75a95410aa9dc20b8127\"\n },\n {\n \"url\": \"resources/dia_da.txt\",\n \"revision\": \"0efd12fd7f0e123bb9423ad1ffe9e656\"\n },\n {\n \"url\": \"resources/dia_de.txt\",\n \"revision\": \"469fb636bc289ba77a097ab7adf16a34\"\n },\n {\n \"url\": \"resources/dia_el.txt\",\n \"revision\": \"10cfc3115c42dae5c021d650850ae99e\"\n },\n {\n \"url\": \"resources/dia_eo.txt\",\n \"revision\": \"1209ecf16aa7598fe5342727c74a4d75\"\n },\n {\n \"url\": \"resources/dia_es.txt\",\n \"revision\": \"82f09fd89c36d86b3fef59329a613c65\"\n },\n {\n \"url\": \"resources/dia_et.txt\",\n \"revision\": \"f2ab92a7caa15d2161a17f58bd19e997\"\n },\n {\n \"url\": \"resources/dia_eu.txt\",\n \"revision\": \"e8adfcede0ea90af8a5683042a01eda0\"\n },\n {\n \"url\": \"resources/dia_fa.txt\",\n \"revision\": \"6793b6bed8a74a30d0b049b50d0516f2\"\n },\n {\n \"url\": \"resources/dia_fi.txt\",\n \"revision\": \"1a66ce94e0a9fefbd9c55edc49abf6fa\"\n },\n {\n \"url\": \"resources/dia_fil.txt\",\n \"revision\": \"ddcbbdc7230b1d7789002020ed34c01e\"\n },\n {\n \"url\": \"resources/dia_fr.txt\",\n \"revision\": \"c2a77b9e1f6d0b19dfc1e7bd40af2b42\"\n },\n {\n \"url\": \"resources/dia_gl.txt\",\n \"revision\": \"dbd313e4994792f6dcd1b59c39c3da7f\"\n },\n {\n \"url\": \"resources/dia_gu.txt\",\n \"revision\": \"3f5fa7dbec9d1f0c4fff0036b2dba0f8\"\n },\n {\n \"url\": \"resources/dia_he.txt\",\n \"revision\": \"e440cd11862b987985e4a0d2f5afb159\"\n },\n {\n \"url\": \"resources/dia_hi.txt\",\n \"revision\": \"78f34343a4f57ca4ec7e7a2717b625b6\"\n },\n {\n \"url\": \"resources/dia_hr.txt\",\n \"revision\": \"cc8f3026e5fd6a5c4eb4f2fb9b62ac10\"\n },\n {\n \"url\": \"resources/dia_hu.txt\",\n \"revision\": \"e17bfab25490d15929c65bbe3442f0dd\"\n },\n {\n \"url\": \"resources/dia_id.txt\",\n \"revision\": \"86ec19a2e1447a469019e06b5b45ea58\"\n },\n {\n \"url\": \"resources/dia_it.txt\",\n \"revision\": \"9e23d17c9eb7a8d074336f267f7bd2f8\"\n },\n {\n \"url\": \"resources/dia_ja.txt\",\n \"revision\": \"b76dd5c357b3ff1dfcabaddeab376d65\"\n },\n {\n \"url\": \"resources/dia_kn.txt\",\n \"revision\": \"280105c62f3261a784ab73952214dab2\"\n },\n {\n \"url\": \"resources/dia_ko.txt\",\n \"revision\": \"229e8f9c3d84e4635561ba392c465d11\"\n },\n {\n \"url\": \"resources/dia_lt.txt\",\n \"revision\": \"cd0159a46ef2c2bfb84bc6dad5a299cf\"\n },\n {\n \"url\": \"resources/dia_lv.txt\",\n \"revision\": \"9caa404e086db1e4da1a011a99847847\"\n },\n {\n \"url\": \"resources/dia_ml.txt\",\n \"revision\": \"44f8e230e471b112560a5ea979df1575\"\n },\n {\n \"url\": \"resources/dia_mr.txt\",\n \"revision\": \"9f77f05421ef5818d84c070b1b372e2b\"\n },\n {\n \"url\": \"resources/dia_ms.txt\",\n \"revision\": \"57cb8769a2fec369ee56969ecec2534a\"\n },\n {\n \"url\": \"resources/dia_my.txt\",\n \"revision\": \"a4376fafc38fda85318b032edbe9b5e4\"\n },\n {\n \"url\": \"resources/dia_nl.txt\",\n \"revision\": \"b6e0431168d72e1a515bcef3e2c5aff0\"\n },\n {\n \"url\": \"resources/dia_no.txt\",\n \"revision\": \"eb679e14c6b437fd2b22ff67f3d169ee\"\n },\n {\n \"url\": \"resources/dia_pl.txt\",\n \"revision\": \"ae3475b10f2824045fa7076f4584c085\"\n },\n {\n \"url\": \"resources/dia_pt-br.txt\",\n \"revision\": \"d5ce120975a388c3440de40d8179a36f\"\n },\n {\n \"url\": \"resources/dia_pt.txt\",\n \"revision\": \"d0c985f25e2924dd25bd540a82c3fd66\"\n },\n {\n \"url\": \"resources/dia_ro.txt\",\n \"revision\": \"b38b898b99d78cd6dbc7c9d95c0b4297\"\n },\n {\n \"url\": \"resources/dia_ru.txt\",\n \"revision\": \"5aed41ed91e16b0e77879e74c8843768\"\n },\n {\n \"url\": \"resources/dia_si.txt\",\n \"revision\": \"e70185bbb8fd9be659522ff2fa957ed3\"\n },\n {\n \"url\": \"resources/dia_sk.txt\",\n \"revision\": \"bf62dbf0de6a754291a822fb0ac718f4\"\n },\n {\n \"url\": \"resources/dia_sl.txt\",\n \"revision\": \"a6b715115ec4be67fe24a4474d74801c\"\n },\n {\n \"url\": \"resources/dia_sr.txt\",\n \"revision\": \"81470f91f04359c1b3b627515d71ef6f\"\n },\n {\n \"url\": \"resources/dia_sv.txt\",\n \"revision\": \"9ae3be18b492a3f448bf771f520f7ab4\"\n },\n {\n \"url\": \"resources/dia_sw.txt\",\n \"revision\": \"e217cba6058fe404745a91f5cd292245\"\n },\n {\n \"url\": \"resources/dia_ta.txt\",\n \"revision\": \"55349be1ac0abd9d35c9029cc289c8b0\"\n },\n {\n \"url\": \"resources/dia_te.txt\",\n \"revision\": \"4147210236a771e3990faedd0fe6d496\"\n },\n {\n \"url\": \"resources/dia_th.txt\",\n \"revision\": \"397f4bcb46b5fb76cba6a06af33005b4\"\n },\n {\n \"url\": \"resources/dia_tr.txt\",\n \"revision\": \"1bbf900c6d0b810f8cc944baa003802a\"\n },\n {\n \"url\": \"resources/dia_uk.txt\",\n \"revision\": \"5b3f8485623c0cbd22985c141e7f1c7f\"\n },\n {\n \"url\": \"resources/dia_vi.txt\",\n \"revision\": \"8576286953704e5cdd6727eb3ec484f4\"\n },\n {\n \"url\": \"resources/dia_zh-tw.txt\",\n \"revision\": \"298ab192edb19a1ef363bfb1ed8f97e4\"\n },\n {\n \"url\": \"resources/dia_zh.txt\",\n \"revision\": \"f2fcdf5b619faf471bff3703fc0bf75f\"\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\": \"81d1704d5ab9207e2e5c7fc84379dc1a\"\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,kBACKC,SAAA,oCAEd,CACED,IAAO,aACKC,SAAA,oCAEd,CACED,IAAO,gBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,qBACKC,SAAA,oCAEd,CACED,IAAO,qBACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,mBACKC,SAAA,oCAEd,CACED,IAAO,aACKC,SAAA,oCAEd,CACED,IAAO,YACKC,SAAA,oCAEd,CACED,IAAO,gBACKC,SAAA,oCAEd,CACED,IAAO,8CACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,2BACKC,SAAA,oCAEd,CACED,IAAO,gCACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,iCACKC,SAAA,oCAEd,CACED,IAAO,uCACKC,SAAA,oCAEd,CACED,IAAO,iCACKC,SAAA,oCAEd,CACED,IAAO,2CACKC,SAAA,oCAEd,CACED,IAAO,8BACKC,SAAA,oCAEd,CACED,IAAO,2BACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,yCACKC,SAAA,oCAEd,CACED,IAAO,oCACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,4BACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,2CACKC,SAAA,oCAEd,CACED,IAAO,4BACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,gCACKC,SAAA,oCAEd,CACED,IAAO,oCACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,wCACKC,SAAA,oCAEd,CACED,IAAO,4CACKC,SAAA,oCAEd,CACED,IAAO,6CACKC,SAAA,oCAEd,CACED,IAAO,yCACKC,SAAA,oCAEd,CACED,IAAO,qCACKC,SAAA,oCAEd,CACED,IAAO,sBACKC,SAAA,oCAEd,CACED,IAAO,mBACKC,SAAA,oCAEd,CACED,IAAO,sBACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,wBACKC,SAAA,oCAEd,CACED,IAAO,8BACKC,SAAA,oCAEd,CACED,IAAO,mCACKC,SAAA,oCAEd,CACED,IAAO,oBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,wBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,cACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,kBACKC,SAAA,oCAEd,CACED,IAAO,sBACKC,SAAA,oCAEd,CACED,IAAO,wBACKC,SAAA,oCAEd,CACED,IAAO,2BACKC,SAAA,oCAEd,CACED,IAAO,kCACKC,SAAA,oCAEd,CACED,IAAO,6BACKC,SAAA,oCAEd,CACED,IAAO,8BACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,sBACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,sBACKC,SAAA,oCAEd,CACED,IAAO,oBACKC,SAAA,oCAEd,CACED,IAAO,wBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,2BACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,gCACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,qCACKC,SAAA,oCAEd,CACED,IAAO,gCACKC,SAAA,oCAEd,CACED,IAAO,iCACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,sCACKC,SAAA,oCAEd,CACED,IAAO,6BACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,kBACKC,SAAA,oCAEd,CACED,IAAO,sBACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,qCAEb,CACDC,4BAA+B,CAAC"}
\ No newline at end of file
+{"version":3,"file":"service-worker.js","sources":["../../../../../../private/var/folders/5p/vxfp3wpj4slfjt2m12dxyp9c0000gn/T/a6aa10aafcc49fa7ebd2e697d8267ac2/service-worker.js"],"sourcesContent":["import {precacheAndRoute as workbox_precaching_precacheAndRoute} from '/opt/homebrew/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\": \"3ae5cb7b92474238c9cd6c9667771e8f\"\n },\n {\n \"url\": \"js/main.js\",\n \"revision\": \"9f6e65617cb7b7a67185b05427d97feb\"\n },\n {\n \"url\": \"js/app.min.js\",\n \"revision\": \"5852db2d29586e7a82e75be88c27e367\"\n },\n {\n \"url\": \"js/extensions.min.js\",\n \"revision\": \"49546b5dc442ef2391394f4def07462c\"\n },\n {\n \"url\": \"js/orgchart.min.js\",\n \"revision\": \"619d8c4dab47b81868916df31f55478b\"\n },\n {\n \"url\": \"js/stencils.min.js\",\n \"revision\": \"ad38046619064bc0f0790be6b5a7995f\"\n },\n {\n \"url\": \"js/shapes-14-6-5.min.js\",\n \"revision\": \"d4b2f375b0222562462613f553a3257c\"\n },\n {\n \"url\": \"js/math-print.js\",\n \"revision\": \"cf64f6a493a8cb5079f2b70813e478d7\"\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\": \"52d494798d4f6fc629a801fcd99c7fd5\"\n },\n {\n \"url\": \"styles/high-contrast.css\",\n \"revision\": \"4ecc9f6d08787a9e2d29dacf7aadd1ca\"\n },\n {\n \"url\": \"js/dropbox/Dropbox-sdk.min.js\",\n \"revision\": \"4b9842892aa37b156db0a8364b7a83b0\"\n },\n {\n \"url\": \"js/onedrive/OneDrive.js\",\n \"revision\": \"505e8280346666f7ee801bc59521fa67\"\n },\n {\n \"url\": \"js/viewer-static.min.js\",\n \"revision\": \"ac9c7f7c93224087b3c09e3bd956a87c\"\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\": \"75f816c208d0c621e3066a97ff0ee6cf\"\n },\n {\n \"url\": \"connect/jira/spinner.gif\",\n \"revision\": \"7d857ab9d86123e93d74d48e958fe743\"\n },\n {\n \"url\": \"connect/jira/editor.js\",\n \"revision\": \"ce61a0e62031a160e057809fefe64aa2\"\n },\n {\n \"url\": \"connect/jira/fullscreen-viewer-init.js\",\n \"revision\": \"d3269625ce04b7a277b779ff175957d0\"\n },\n {\n \"url\": \"connect/jira/fullscreen-viewer.js\",\n \"revision\": \"8eceb2fe587296dd11f9c8f6eae34c20\"\n },\n {\n \"url\": \"plugins/connectJira.js\",\n \"revision\": \"c4cb6b60234b04b2c8bc09e555746615\"\n },\n {\n \"url\": \"plugins/cConf-comments.js\",\n \"revision\": \"6deea8e9b96ff96043cd5cfd2a242a9f\"\n },\n {\n \"url\": \"plugins/cConf-1-4-8.js\",\n \"revision\": \"42137930327ac2a2500f711352b35e25\"\n },\n {\n \"url\": \"connect/confluence/connectUtils-1-4-8.js\",\n \"revision\": \"d381db23d3c925eb81854c07b46776a5\"\n },\n {\n \"url\": \"connect/new_common/cac.js\",\n \"revision\": \"740dce44cf53499f476ee8edc37d09a0\"\n },\n {\n \"url\": \"connect/gdrive_common/gac.js\",\n \"revision\": \"3bb38a5d9186a896ed04808e921ef888\"\n },\n {\n \"url\": \"connect/onedrive_common/ac.js\",\n \"revision\": \"5fb6ff1a73f54a9086b7a7e1f613b8ed\"\n },\n {\n \"url\": \"connect/confluence/viewer-init.js\",\n \"revision\": \"b82e366bf57ecced9435c2a8ba9cb9b9\"\n },\n {\n \"url\": \"connect/confluence/viewer.js\",\n \"revision\": \"78b87563d88943ab816a3463927b9b50\"\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\": \"174e06ff4578aa4e2cadf5434494d8dd\"\n },\n {\n \"url\": \"connect/confluence/includeDiagram.html\",\n \"revision\": \"01b04b3f54f1e2e63fcf1df033d24519\"\n },\n {\n \"url\": \"connect/confluence/macro-editor.js\",\n \"revision\": \"c4c110650228d22b021ebad4d6ef021e\"\n },\n {\n \"url\": \"math/es5/startup.js\",\n \"revision\": \"dc7130cdc866593293dbb5dde11ceb40\"\n },\n {\n \"url\": \"math/es5/core.js\",\n \"revision\": \"f71bc0bfb7d2ac8261747f97a5d47dd4\"\n },\n {\n \"url\": \"math/es5/ui/safe.js\",\n \"revision\": \"8c1fcfee7c879588ad409edcdd9cce53\"\n },\n {\n \"url\": \"math/es5/output/svg.js\",\n \"revision\": \"4f55967d16197ebb01b86356d8ab179a\"\n },\n {\n \"url\": \"math/es5/input/tex.js\",\n \"revision\": \"5c4f470da2ccb1acf85041fcecd6fff6\"\n },\n {\n \"url\": \"math/es5/input/asciimath.js\",\n \"revision\": \"c2d4076dd8e26d509bfe3a378e71cfa7\"\n },\n {\n \"url\": \"math/es5/output/svg/fonts/tex.js\",\n \"revision\": \"6eab785a3788ea805bd2b552d1f0aab8\"\n },\n {\n \"url\": \"resources/dia.txt\",\n \"revision\": \"f9a270e56f91d7b63e219306ff2b63ac\"\n },\n {\n \"url\": \"resources/dia_am.txt\",\n \"revision\": \"32e1e743ecec586536c25f2458cd3a43\"\n },\n {\n \"url\": \"resources/dia_ar.txt\",\n \"revision\": \"80851f14b8286106618f11aa7ae8805f\"\n },\n {\n \"url\": \"resources/dia_bg.txt\",\n \"revision\": \"91587bc16e3b642f40a25ff8d1c3d0f9\"\n },\n {\n \"url\": \"resources/dia_bn.txt\",\n \"revision\": \"f44c3fcc4a7b0890d4156eca0402cccc\"\n },\n {\n \"url\": \"resources/dia_bs.txt\",\n \"revision\": \"0702c63b2aaee2d20306adcddaea7ccc\"\n },\n {\n \"url\": \"resources/dia_ca.txt\",\n \"revision\": \"1a90a2b54a6f73d62e82772e1acbe8d0\"\n },\n {\n \"url\": \"resources/dia_cs.txt\",\n \"revision\": \"fa2847ec6f6e75a95410aa9dc20b8127\"\n },\n {\n \"url\": \"resources/dia_da.txt\",\n \"revision\": \"0efd12fd7f0e123bb9423ad1ffe9e656\"\n },\n {\n \"url\": \"resources/dia_de.txt\",\n \"revision\": \"469fb636bc289ba77a097ab7adf16a34\"\n },\n {\n \"url\": \"resources/dia_el.txt\",\n \"revision\": \"10cfc3115c42dae5c021d650850ae99e\"\n },\n {\n \"url\": \"resources/dia_eo.txt\",\n \"revision\": \"1209ecf16aa7598fe5342727c74a4d75\"\n },\n {\n \"url\": \"resources/dia_es.txt\",\n \"revision\": \"82f09fd89c36d86b3fef59329a613c65\"\n },\n {\n \"url\": \"resources/dia_et.txt\",\n \"revision\": \"f2ab92a7caa15d2161a17f58bd19e997\"\n },\n {\n \"url\": \"resources/dia_eu.txt\",\n \"revision\": \"e8adfcede0ea90af8a5683042a01eda0\"\n },\n {\n \"url\": \"resources/dia_fa.txt\",\n \"revision\": \"6793b6bed8a74a30d0b049b50d0516f2\"\n },\n {\n \"url\": \"resources/dia_fi.txt\",\n \"revision\": \"1a66ce94e0a9fefbd9c55edc49abf6fa\"\n },\n {\n \"url\": \"resources/dia_fil.txt\",\n \"revision\": \"ddcbbdc7230b1d7789002020ed34c01e\"\n },\n {\n \"url\": \"resources/dia_fr.txt\",\n \"revision\": \"c2a77b9e1f6d0b19dfc1e7bd40af2b42\"\n },\n {\n \"url\": \"resources/dia_gl.txt\",\n \"revision\": \"dbd313e4994792f6dcd1b59c39c3da7f\"\n },\n {\n \"url\": \"resources/dia_gu.txt\",\n \"revision\": \"3f5fa7dbec9d1f0c4fff0036b2dba0f8\"\n },\n {\n \"url\": \"resources/dia_he.txt\",\n \"revision\": \"e440cd11862b987985e4a0d2f5afb159\"\n },\n {\n \"url\": \"resources/dia_hi.txt\",\n \"revision\": \"78f34343a4f57ca4ec7e7a2717b625b6\"\n },\n {\n \"url\": \"resources/dia_hr.txt\",\n \"revision\": \"cc8f3026e5fd6a5c4eb4f2fb9b62ac10\"\n },\n {\n \"url\": \"resources/dia_hu.txt\",\n \"revision\": \"e17bfab25490d15929c65bbe3442f0dd\"\n },\n {\n \"url\": \"resources/dia_id.txt\",\n \"revision\": \"83d5c8178aa9b75a7d8be9854501508f\"\n },\n {\n \"url\": \"resources/dia_it.txt\",\n \"revision\": \"9e23d17c9eb7a8d074336f267f7bd2f8\"\n },\n {\n \"url\": \"resources/dia_ja.txt\",\n \"revision\": \"b76dd5c357b3ff1dfcabaddeab376d65\"\n },\n {\n \"url\": \"resources/dia_kn.txt\",\n \"revision\": \"280105c62f3261a784ab73952214dab2\"\n },\n {\n \"url\": \"resources/dia_ko.txt\",\n \"revision\": \"229e8f9c3d84e4635561ba392c465d11\"\n },\n {\n \"url\": \"resources/dia_lt.txt\",\n \"revision\": \"cd0159a46ef2c2bfb84bc6dad5a299cf\"\n },\n {\n \"url\": \"resources/dia_lv.txt\",\n \"revision\": \"9caa404e086db1e4da1a011a99847847\"\n },\n {\n \"url\": \"resources/dia_ml.txt\",\n \"revision\": \"44f8e230e471b112560a5ea979df1575\"\n },\n {\n \"url\": \"resources/dia_mr.txt\",\n \"revision\": \"9f77f05421ef5818d84c070b1b372e2b\"\n },\n {\n \"url\": \"resources/dia_ms.txt\",\n \"revision\": \"57cb8769a2fec369ee56969ecec2534a\"\n },\n {\n \"url\": \"resources/dia_my.txt\",\n \"revision\": \"a4376fafc38fda85318b032edbe9b5e4\"\n },\n {\n \"url\": \"resources/dia_nl.txt\",\n \"revision\": \"b6e0431168d72e1a515bcef3e2c5aff0\"\n },\n {\n \"url\": \"resources/dia_no.txt\",\n \"revision\": \"eb679e14c6b437fd2b22ff67f3d169ee\"\n },\n {\n \"url\": \"resources/dia_pl.txt\",\n \"revision\": \"ae3475b10f2824045fa7076f4584c085\"\n },\n {\n \"url\": \"resources/dia_pt-br.txt\",\n \"revision\": \"d5ce120975a388c3440de40d8179a36f\"\n },\n {\n \"url\": \"resources/dia_pt.txt\",\n \"revision\": \"d0c985f25e2924dd25bd540a82c3fd66\"\n },\n {\n \"url\": \"resources/dia_ro.txt\",\n \"revision\": \"b38b898b99d78cd6dbc7c9d95c0b4297\"\n },\n {\n \"url\": \"resources/dia_ru.txt\",\n \"revision\": \"5aed41ed91e16b0e77879e74c8843768\"\n },\n {\n \"url\": \"resources/dia_si.txt\",\n \"revision\": \"e70185bbb8fd9be659522ff2fa957ed3\"\n },\n {\n \"url\": \"resources/dia_sk.txt\",\n \"revision\": \"bf62dbf0de6a754291a822fb0ac718f4\"\n },\n {\n \"url\": \"resources/dia_sl.txt\",\n \"revision\": \"a6b715115ec4be67fe24a4474d74801c\"\n },\n {\n \"url\": \"resources/dia_sr.txt\",\n \"revision\": \"81470f91f04359c1b3b627515d71ef6f\"\n },\n {\n \"url\": \"resources/dia_sv.txt\",\n \"revision\": \"9ae3be18b492a3f448bf771f520f7ab4\"\n },\n {\n \"url\": \"resources/dia_sw.txt\",\n \"revision\": \"e217cba6058fe404745a91f5cd292245\"\n },\n {\n \"url\": \"resources/dia_ta.txt\",\n \"revision\": \"55349be1ac0abd9d35c9029cc289c8b0\"\n },\n {\n \"url\": \"resources/dia_te.txt\",\n \"revision\": \"4147210236a771e3990faedd0fe6d496\"\n },\n {\n \"url\": \"resources/dia_th.txt\",\n \"revision\": \"397f4bcb46b5fb76cba6a06af33005b4\"\n },\n {\n \"url\": \"resources/dia_tr.txt\",\n \"revision\": \"1bbf900c6d0b810f8cc944baa003802a\"\n },\n {\n \"url\": \"resources/dia_uk.txt\",\n \"revision\": \"5b3f8485623c0cbd22985c141e7f1c7f\"\n },\n {\n \"url\": \"resources/dia_vi.txt\",\n \"revision\": \"8576286953704e5cdd6727eb3ec484f4\"\n },\n {\n \"url\": \"resources/dia_zh-tw.txt\",\n \"revision\": \"298ab192edb19a1ef363bfb1ed8f97e4\"\n },\n {\n \"url\": \"resources/dia_zh.txt\",\n \"revision\": \"f2fcdf5b619faf471bff3703fc0bf75f\"\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\": \"81d1704d5ab9207e2e5c7fc84379dc1a\"\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,kBACKC,SAAA,oCAEd,CACED,IAAO,aACKC,SAAA,oCAEd,CACED,IAAO,gBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,qBACKC,SAAA,oCAEd,CACED,IAAO,qBACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,mBACKC,SAAA,oCAEd,CACED,IAAO,aACKC,SAAA,oCAEd,CACED,IAAO,YACKC,SAAA,oCAEd,CACED,IAAO,gBACKC,SAAA,oCAEd,CACED,IAAO,8CACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,2BACKC,SAAA,oCAEd,CACED,IAAO,gCACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,iCACKC,SAAA,oCAEd,CACED,IAAO,uCACKC,SAAA,oCAEd,CACED,IAAO,iCACKC,SAAA,oCAEd,CACED,IAAO,2CACKC,SAAA,oCAEd,CACED,IAAO,8BACKC,SAAA,oCAEd,CACED,IAAO,2BACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,yCACKC,SAAA,oCAEd,CACED,IAAO,oCACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,4BACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,2CACKC,SAAA,oCAEd,CACED,IAAO,4BACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,gCACKC,SAAA,oCAEd,CACED,IAAO,oCACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,wCACKC,SAAA,oCAEd,CACED,IAAO,4CACKC,SAAA,oCAEd,CACED,IAAO,6CACKC,SAAA,oCAEd,CACED,IAAO,yCACKC,SAAA,oCAEd,CACED,IAAO,qCACKC,SAAA,oCAEd,CACED,IAAO,sBACKC,SAAA,oCAEd,CACED,IAAO,mBACKC,SAAA,oCAEd,CACED,IAAO,sBACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,wBACKC,SAAA,oCAEd,CACED,IAAO,8BACKC,SAAA,oCAEd,CACED,IAAO,mCACKC,SAAA,oCAEd,CACED,IAAO,oBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,wBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,cACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,kBACKC,SAAA,oCAEd,CACED,IAAO,sBACKC,SAAA,oCAEd,CACED,IAAO,wBACKC,SAAA,oCAEd,CACED,IAAO,2BACKC,SAAA,oCAEd,CACED,IAAO,kCACKC,SAAA,oCAEd,CACED,IAAO,6BACKC,SAAA,oCAEd,CACED,IAAO,8BACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,sBACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,sBACKC,SAAA,oCAEd,CACED,IAAO,oBACKC,SAAA,oCAEd,CACED,IAAO,wBACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,2BACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,oCAEd,CACED,IAAO,gCACKC,SAAA,oCAEd,CACED,IAAO,0BACKC,SAAA,oCAEd,CACED,IAAO,qCACKC,SAAA,oCAEd,CACED,IAAO,gCACKC,SAAA,oCAEd,CACED,IAAO,iCACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,+BACKC,SAAA,oCAEd,CACED,IAAO,sCACKC,SAAA,oCAEd,CACED,IAAO,6BACKC,SAAA,oCAEd,CACED,IAAO,uBACKC,SAAA,oCAEd,CACED,IAAO,kBACKC,SAAA,oCAEd,CACED,IAAO,sBACKC,SAAA,oCAEd,CACED,IAAO,yBACKC,SAAA,qCAEb,CACDC,4BAA+B,CAAC"}
\ No newline at end of file