13.8.9 release

This commit is contained in:
David Benson [draw.io] 2020-11-03 16:36:40 +00:00
parent 6d15dba833
commit 4c363ece8f
73 changed files with 477 additions and 296 deletions

View file

@ -1,3 +1,8 @@
03-NOV-2020: 13.8.9
- Adds block overflow cell style
- Uses mxGraph 4.2.1 beta 23
30-OCT-2020: 13.8.8
- Fixes for teams integration

View file

@ -1 +1 @@
13.8.8
13.8.9

View file

@ -1,4 +1,4 @@
var mxClient={VERSION:"4.2.1",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE6:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE 6"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_QUIRKS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE")&&(null==document.documentMode||5==document.documentMode),IS_EM:"spellcheck"in document.createElement("textarea")&&
var mxClient={VERSION:"4.2.2",IS_IE:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE"),IS_IE6:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE 6"),IS_IE11:null!=navigator.userAgent&&!!navigator.userAgent.match(/Trident\/7\./),IS_EDGE:null!=navigator.userAgent&&!!navigator.userAgent.match(/Edge\//),IS_QUIRKS:null!=navigator.userAgent&&0<=navigator.userAgent.indexOf("MSIE")&&(null==document.documentMode||5==document.documentMode),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),IS_GC:/Google Inc/.test(navigator.vendor),IS_CHROMEAPP:null!=window.chrome&&null!=chrome.app&&null!=chrome.app.runtime,IS_FF:"undefined"!==typeof InstallTrigger,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_VML:"MICROSOFT INTERNET EXPLORER"==navigator.appName.toUpperCase(),IS_SVG:"MICROSOFT INTERNET EXPLORER"!=
@ -334,8 +334,9 @@ m,n,p),null!=a&&(u.setAttribute("requiredFeatures","http://www.w3.org/TR/SVG11/f
mxSvgCanvas2D.prototype.updateTextNodes=function(a,b,c,d,e,f,g,k,l,m,n){var p=this.state.scale;mxSvgCanvas2D.createCss(c+2,d,e,f,g,k,l,null!=this.state.fontBackgroundColor?this.state.fontBackgroundColor:null,null!=this.state.fontBorderColor?this.state.fontBorderColor:null,"display: flex; align-items: unsafe "+(f==mxConstants.ALIGN_TOP?"flex-start":f==mxConstants.ALIGN_BOTTOM?"flex-end":"center")+"; justify-content: unsafe "+(e==mxConstants.ALIGN_LEFT?"flex-start":e==mxConstants.ALIGN_RIGHT?"flex-end":
"center")+"; ",this.getTextCss(),p,mxUtils.bind(this,function(c,d,e,f,g){a+=this.state.dx;b+=this.state.dy;var k=n.firstChild,l=k.firstChild,q=l.firstChild,r=(this.rotateHtml?this.state.rotation:0)+(null!=m?m:0),t=(0!=this.foOffset?"translate("+this.foOffset+" "+this.foOffset+")":"")+(1!=p?"scale("+p+")":"");q.firstChild.setAttribute("style",g);q.setAttribute("style",f);k.setAttribute("width",Math.ceil(1/Math.min(1,p)*100)+"%");k.setAttribute("height",Math.ceil(1/Math.min(1,p)*100)+"%");d=Math.round(b+
d);0>d?k.setAttribute("y",d):(k.removeAttribute("y"),e+="padding-top: "+d+"px; ");l.setAttribute("style",e+"margin-left: "+Math.round(a+c)+"px;");t+=0!=r?"rotate("+r+" "+a+" "+b+")":"";""!=t?n.setAttribute("transform",t):n.removeAttribute("transform");1!=this.state.alpha?n.setAttribute("opacity",this.state.alpha):n.removeAttribute("opacity")}))};
mxSvgCanvas2D.createCss=function(a,b,c,d,e,f,g,k,l,m,n,p,q){p="box-sizing: border-box; font-size: 0; text-align: "+(c==mxConstants.ALIGN_LEFT?"left":c==mxConstants.ALIGN_RIGHT?"right":"center")+"; ";var r=mxUtils.getAlignmentAsPoint(c,d);c="overflow: hidden; ";d="width: 1px; ";var t="height: 1px; ",u=r.x*a,r=r.y*b;g?(d="width: "+Math.round(a)+"px; ",p+="max-height: "+Math.round(b)+"px; ",r=0):"fill"==f?(d="width: "+Math.round(a)+"px; ",t="height: "+Math.round(b)+"px; ",n+="width: 100%; height: 100%; ",
p+=d+t):"width"==f?(d="width: "+Math.round(a)+"px; ",n+="width: 100%; ",p+=d,r=0,0<b&&(p+="max-height: "+Math.round(b)+"px; ")):(c="",r=0);b="";null!=k&&(b+="background-color: "+k+"; ");null!=l&&(b+="border: 1px solid "+l+"; ");""==c||g?n+=b:p+=b;e&&0<a?(n+="white-space: normal; word-wrap: "+mxConstants.WORD_WRAP+"; ",d="width: "+Math.round(a)+"px; ",""!=c&&"fill"!=f&&(r=0)):(n+="white-space: nowrap; ",""==c&&(u=0));q(u,r,m+d+t,p+c,n,c)};
mxSvgCanvas2D.createCss=function(a,b,c,d,e,f,g,k,l,m,n,p,q){p="box-sizing: border-box; font-size: 0; text-align: "+(c==mxConstants.ALIGN_LEFT?"left":c==mxConstants.ALIGN_RIGHT?"right":"center")+"; ";var r=mxUtils.getAlignmentAsPoint(c,d);c="overflow: hidden; ";var t="width: 1px; ",u="height: 1px; ",x=r.x*a,r=r.y*b;g?(t="width: "+Math.round(a)+"px; ",p+="max-height: "+Math.round(b)+"px; ",r=0):"fill"==f?(t="width: "+Math.round(a)+"px; ",u="height: "+Math.round(b)+"px; ",n+="width: 100%; height: 100%; ",
p+=t+u):"width"==f?(t="width: "+Math.round(a)+"px; ",n+="width: 100%; ",p+=t,r=0,0<b&&(p+="max-height: "+Math.round(b)+"px; ")):"block"==f?(t="width: "+Math.round(a)+"px; ",n+="width: 100%; ",c="",r=0,p+=t,"middle"==d&&(p+="max-height: "+Math.round(b)+"px; ")):(c="",r=0);b="";null!=k&&(b+="background-color: "+k+"; ");null!=l&&(b+="border: 1px solid "+l+"; ");""==c||g?n+=b:p+=b;e&&0<a?(n+="white-space: normal; word-wrap: "+mxConstants.WORD_WRAP+"; ",t="width: "+Math.round(a)+"px; ",""!=c&&"fill"!=
f&&(r=0)):(n+="white-space: nowrap; ",""==c&&"block"!=f&&(x=0));q(x,r,m+t+u,p+c,n,c)};
mxSvgCanvas2D.prototype.getTextCss=function(){var a=this.state,b="display: inline-block; font-size: "+a.fontSize+"px; font-family: "+a.fontFamily+"; color: "+a.fontColor+"; line-height: "+(mxConstants.ABSOLUTE_LINE_HEIGHT?a.fontSize*mxConstants.LINE_HEIGHT+"px":mxConstants.LINE_HEIGHT*this.lineHeightCorrection)+"; pointer-events: "+(this.pointerEvents?this.pointerEventsValue:"none")+"; ";(a.fontStyle&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD&&(b+="font-weight: bold; ");(a.fontStyle&mxConstants.FONT_ITALIC)==
mxConstants.FONT_ITALIC&&(b+="font-style: italic; ");var c=[];(a.fontStyle&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&c.push("underline");(a.fontStyle&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&c.push("line-through");0<c.length&&(b+="text-decoration: "+c.join(" ")+"; ");return b};
mxSvgCanvas2D.prototype.text=function(a,b,c,d,e,f,g,k,l,m,n,p,q){if(this.textEnabled&&null!=e)if(p=null!=p?p:0,this.foEnabled&&"html"==l){var r=this.createDiv(e);null!=r&&(null!=q&&r.setAttribute("dir",q),this.addForeignObject(a,b,c,d,e,f,g,k,l,m,n,p,q,r,this.root))}else this.plainText(a+this.state.dx,b+this.state.dy,c,d,e,f,g,k,m,n,p,q)};
@ -504,8 +505,8 @@ mxText.prototype.getTextCss=function(){var a="display: inline-block; font-size:
var b=[];(this.fontStyle&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&b.push("underline");(this.fontStyle&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&b.push("line-through");0<b.length&&(a+="text-decoration: "+b.join(" ")+"; ");return a};
mxText.prototype.redrawHtmlShape=function(){if(mxClient.IS_SVG)this.redrawHtmlShapeWithCss3();else{var a=this.node.style;a.whiteSpace="normal";a.overflow="";a.width="";a.height="";this.updateValue();this.updateFont(this.node);this.updateSize(this.node,null==this.state||null==this.state.view.textDiv);this.offsetHeight=this.offsetWidth=null;mxClient.IS_IE&&(null==document.documentMode||8>=document.documentMode)?this.updateHtmlFilter():this.updateHtmlTransform()}};
mxText.prototype.redrawHtmlShapeWithCss3=function(){var a=Math.max(0,Math.round(this.bounds.width/this.scale)),b=Math.max(0,Math.round(this.bounds.height/this.scale)),c="position: absolute; left: "+Math.round(this.bounds.x)+"px; top: "+Math.round(this.bounds.y)+"px; pointer-events: none; ",d=this.getTextCss();mxSvgCanvas2D.createCss(a+2,b,this.align,this.valign,this.wrap,this.overflow,this.clipped,null!=this.background?mxUtils.htmlEntities(this.background):null,null!=this.border?mxUtils.htmlEntities(this.border):
null,c,d,this.scale,mxUtils.bind(this,function(a,b,c,d,l,m){a=this.getTextRotation();a=(1!=this.scale?"scale("+this.scale+") ":"")+(0!=a?"rotate("+a+"deg) ":"")+(0!=this.margin.x||0!=this.margin.y?"translate("+100*this.margin.x+"%,"+100*this.margin.y+"%)":"");""!=a&&(a="transform-origin: 0 0; transform: "+a+"; ");""==m?(c+=d,d="display:inline-block; min-width: 100%; "+a):(d+=a,mxClient.IS_SF&&(d+="-webkit-clip-path: content-box;"));100>this.opacity&&(l+="opacity: "+this.opacity/100+"; ");this.node.setAttribute("style",
c);c=mxUtils.isNode(this.value)?this.value.outerHTML:this.getHtmlValue();null==this.node.firstChild&&(this.node.innerHTML="<div><div>"+c+"</div></div>");this.node.firstChild.firstChild.setAttribute("style",l);this.node.firstChild.setAttribute("style",d)}))};
null,c,d,this.scale,mxUtils.bind(this,function(a,c,d,k,l,m){a=this.getTextRotation();a=(1!=this.scale?"scale("+this.scale+") ":"")+(0!=a?"rotate("+a+"deg) ":"")+(0!=this.margin.x||0!=this.margin.y?"translate("+100*this.margin.x+"%,"+100*this.margin.y+"%)":"");""!=a&&(a="transform-origin: 0 0; transform: "+a+"; ");"block"==this.overflow&&this.valign==mxConstants.ALIGN_MIDDLE&&(a+="max-height: "+(b+1)+"px;");""==m?(d+=k,k="display:inline-block; min-width: 100%; "+a):(k+=a,mxClient.IS_SF&&(k+="-webkit-clip-path: content-box;"));
"block"==this.overflow&&(k+="width: 100%; ");100>this.opacity&&(l+="opacity: "+this.opacity/100+"; ");this.node.setAttribute("style",d);d=mxUtils.isNode(this.value)?this.value.outerHTML:this.getHtmlValue();null==this.node.firstChild&&(this.node.innerHTML="<div><div>"+d+"</div></div>");this.node.firstChild.firstChild.setAttribute("style",l);this.node.firstChild.setAttribute("style",k)}))};
mxText.prototype.updateHtmlTransform=function(){var a=this.getTextRotation(),b=this.node.style,c=this.margin.x,d=this.margin.y;0!=a?(mxUtils.setPrefixedStyle(b,"transformOrigin",100*-c+"% "+100*-d+"%"),mxUtils.setPrefixedStyle(b,"transform","translate("+100*c+"%,"+100*d+"%) scale("+this.scale+") rotate("+a+"deg)")):(mxUtils.setPrefixedStyle(b,"transformOrigin","0% 0%"),mxUtils.setPrefixedStyle(b,"transform","scale("+this.scale+") translate("+100*c+"%,"+100*d+"%)"));b.left=Math.round(this.bounds.x-
Math.ceil(c*("fill"!=this.overflow&&"width"!=this.overflow?3:1)))+"px";b.top=Math.round(this.bounds.y-d*("fill"!=this.overflow?3:1))+"px";b.opacity=100>this.opacity?this.opacity/100:""};
mxText.prototype.updateInnerHtml=function(a){if(mxUtils.isNode(this.value))a.innerHTML=this.value.outerHTML;else{var b=this.value;this.dialect!=mxConstants.DIALECT_STRICTHTML&&(b=mxUtils.htmlEntities(b,!1));b=mxUtils.replaceTrailingNewlines(b,"<div>&nbsp;</div>");b=this.replaceLinefeeds?b.replace(/\n/g,"<br/>"):b;a.innerHTML='<div style="display:inline-block;_display:inline;">'+b+"</div>"}};
@ -519,8 +520,8 @@ mxText.prototype.updateValue=function(){if(mxUtils.isNode(this.value))this.node.
a;a=this.node.getElementsByTagName("div");0<a.length&&(b=this.textDirection,b==mxConstants.TEXT_DIRECTION_AUTO&&this.dialect!=mxConstants.DIALECT_STRICTHTML&&(b=this.getAutoDirection()),b==mxConstants.TEXT_DIRECTION_LTR||b==mxConstants.TEXT_DIRECTION_RTL?a[a.length-1].setAttribute("dir",b):a[a.length-1].removeAttribute("dir"))}};
mxText.prototype.updateFont=function(a){a=a.style;a.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?this.size*mxConstants.LINE_HEIGHT+"px":mxConstants.LINE_HEIGHT;a.fontSize=this.size+"px";a.fontFamily=this.family;a.verticalAlign="top";a.color=this.color;a.fontWeight=(this.fontStyle&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD?"bold":"";a.fontStyle=(this.fontStyle&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC?"italic":"";var b=[];(this.fontStyle&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&
b.push("underline");(this.fontStyle&mxConstants.FONT_STRIKETHROUGH)==mxConstants.FONT_STRIKETHROUGH&&b.push("line-through");a.textDecoration=b.join(" ");a.textAlign=this.align==mxConstants.ALIGN_CENTER?"center":this.align==mxConstants.ALIGN_RIGHT?"right":"left"};
mxText.prototype.updateSize=function(a,b){var c=Math.max(0,Math.round(this.bounds.width/this.scale)),d=Math.max(0,Math.round(this.bounds.height/this.scale)),e=a.style;this.clipped?(e.overflow="hidden",mxClient.IS_QUIRKS?e.width=c+"px":(e.maxHeight=d+"px",e.maxWidth=c+"px")):"fill"==this.overflow?(e.width=c+1+"px",e.height=d+1+"px",e.overflow="hidden"):"width"==this.overflow&&(e.width=c+1+"px",e.maxHeight=d+1+"px",e.overflow="hidden");if(this.wrap&&0<c){if(e.wordWrap=mxConstants.WORD_WRAP,e.whiteSpace=
"normal",e.width=c+"px",b&&"fill"!=this.overflow&&"width"!=this.overflow){d=a;null!=d.firstChild&&"DIV"==d.firstChild.nodeName&&(d=d.firstChild,"break-word"==a.style.wordWrap&&(d.style.width="100%"));var f=d.offsetWidth;if(0==f){var g=a.parentNode;a.style.visibility="hidden";document.body.appendChild(a);f=d.offsetWidth;a.style.visibility="";g.appendChild(a)}f+=3;this.clipped&&(f=Math.min(f,c));e.width=f+"px"}}else e.whiteSpace="nowrap"};
mxText.prototype.updateSize=function(a,b){var c=Math.max(0,Math.round(this.bounds.width/this.scale)),d=Math.max(0,Math.round(this.bounds.height/this.scale)),e=a.style;this.clipped?(e.overflow="hidden",mxClient.IS_QUIRKS?e.width=c+"px":(e.maxHeight=d+"px",e.maxWidth=c+"px")):"fill"==this.overflow?(e.width=c+1+"px",e.height=d+1+"px",e.overflow="hidden"):"width"==this.overflow?(e.width=c+1+"px",e.maxHeight=d+1+"px",e.overflow="hidden"):"block"==this.overflow&&(e.width=c+1+"px");if(this.wrap&&0<c){if(e.wordWrap=
mxConstants.WORD_WRAP,e.whiteSpace="normal",e.width=c+"px",b&&"fill"!=this.overflow&&"width"!=this.overflow){d=a;null!=d.firstChild&&"DIV"==d.firstChild.nodeName&&(d=d.firstChild,"break-word"==a.style.wordWrap&&(d.style.width="100%"));var f=d.offsetWidth;if(0==f){var g=a.parentNode;a.style.visibility="hidden";document.body.appendChild(a);f=d.offsetWidth;a.style.visibility="";g.appendChild(a)}f+=3;this.clipped&&(f=Math.min(f,c));e.width=f+"px"}}else e.whiteSpace="nowrap"};
mxText.prototype.updateMargin=function(){this.margin=mxUtils.getAlignmentAsPoint(this.align,this.valign)};
mxText.prototype.getSpacing=function(){return new mxPoint(this.align==mxConstants.ALIGN_CENTER?(this.spacingLeft-this.spacingRight)/2:this.align==mxConstants.ALIGN_RIGHT?-this.spacingRight-this.baseSpacingRight:this.spacingLeft+this.baseSpacingLeft,this.valign==mxConstants.ALIGN_MIDDLE?(this.spacingTop-this.spacingBottom)/2:this.valign==mxConstants.ALIGN_BOTTOM?-this.spacingBottom-this.baseSpacingBottom:this.spacingTop+this.baseSpacingTop)};function mxTriangle(){mxActor.call(this)}
mxUtils.extend(mxTriangle,mxActor);mxTriangle.prototype.isRoundable=function(){return!0};mxTriangle.prototype.redrawPath=function(a,b,c,d,e){b=mxUtils.getValue(this.style,mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/2;this.addPoints(a,[new mxPoint(0,0),new mxPoint(d,.5*e),new mxPoint(0,e)],this.isRounded,b,!0)};function mxHexagon(){mxActor.call(this)}mxUtils.extend(mxHexagon,mxActor);
@ -899,13 +900,13 @@ mxCellEditor.prototype.resize=function(){var a=this.graph.getView().getState(thi
mxConstants.ALIGN_CENTER),mxUtils.getValue(a.style,mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE)));if(b)this.bounds=new mxRectangle(a.absoluteOffset.x,a.absoluteOffset.y,0,0),null!=e&&(e=(parseFloat(e)+2)*c,this.bounds.width=e,this.bounds.x+=d.x*e);else{var b=mxRectangle.fromRectangle(a),f=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER),g=mxUtils.getValue(a.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE),b=null!=a.shape&&f==
mxConstants.ALIGN_CENTER&&g==mxConstants.ALIGN_MIDDLE?a.shape.getLabelBounds(b):b;null!=e&&(b.width=parseFloat(e)*c);if(!a.view.graph.cellRenderer.legacySpacing||"width"!=a.style[mxConstants.STYLE_OVERFLOW])var f=parseInt(a.style[mxConstants.STYLE_SPACING]||2)*c,k=(parseInt(a.style[mxConstants.STYLE_SPACING_TOP]||0)+mxText.prototype.baseSpacingTop)*c+f,l=(parseInt(a.style[mxConstants.STYLE_SPACING_RIGHT]||0)+mxText.prototype.baseSpacingRight)*c+f,m=(parseInt(a.style[mxConstants.STYLE_SPACING_BOTTOM]||
0)+mxText.prototype.baseSpacingBottom)*c+f,n=(parseInt(a.style[mxConstants.STYLE_SPACING_LEFT]||0)+mxText.prototype.baseSpacingLeft)*c+f,f=mxUtils.getValue(a.style,mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER),g=mxUtils.getValue(a.style,mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE),b=new mxRectangle(b.x+n,b.y+k,b.width-(f==mxConstants.ALIGN_CENTER&&null==e?n+l:0),b.height-(g==mxConstants.ALIGN_MIDDLE?k+m:0));this.bounds=new mxRectangle(b.x+a.absoluteOffset.x,b.y+
a.absoluteOffset.y,b.width,b.height)}this.graph.isWrapping(a.cell)&&(2<=this.bounds.width||2<=this.bounds.height)&&this.textarea.innerHTML!=this.getEmptyLabelText()?(this.textarea.style.wordWrap=mxConstants.WORD_WRAP,this.textarea.style.whiteSpace="normal",e=Math.round(this.bounds.width/c)+this.wordWrapPadding,"relative"!=this.textarea.style.position?(this.textarea.style.width=e+"px",this.textarea.scrollWidth>e&&(this.textarea.style.width=this.textarea.scrollWidth+"px")):this.textarea.style.maxWidth=
e+"px"):(this.textarea.style.whiteSpace="nowrap",this.textarea.style.width="");8==document.documentMode&&(this.textarea.style.zoom="1",this.textarea.style.height="auto");a=this.textarea.scrollWidth;e=this.textarea.scrollHeight;8==document.documentMode?(this.textarea.style.left=Math.max(0,Math.ceil((this.bounds.x-d.x*(this.bounds.width-(a+1)*c)+a*(c-1)*0+2*(d.x+.5))/c))+"px",this.textarea.style.top=Math.max(0,Math.ceil((this.bounds.y-d.y*(this.bounds.height-(e+.5)*c)+e*(c-1)*0+1*Math.abs(d.y+.5))/
c))+"px",this.textarea.style.width=Math.round(a*c)+"px",this.textarea.style.height=Math.round(e*c)+"px"):mxClient.IS_QUIRKS?(this.textarea.style.left=Math.max(0,Math.ceil(this.bounds.x-d.x*(this.bounds.width-(a+1)*c)+a*(c-1)*0+2*(d.x+.5)))+"px",this.textarea.style.top=Math.max(0,Math.ceil(this.bounds.y-d.y*(this.bounds.height-(e+.5)*c)+e*(c-1)*0+1*Math.abs(d.y+.5)))+"px"):(this.textarea.style.left=Math.max(0,Math.round(this.bounds.x-d.x*(this.bounds.width-2))+1)+"px",this.textarea.style.top=Math.max(0,
Math.round(this.bounds.y-d.y*(this.bounds.height-4)+(-1==d.y?3:0))+1)+"px")}else this.bounds=this.getEditorBounds(a),this.textarea.style.width=Math.round(this.bounds.width/c)+"px",this.textarea.style.height=Math.round(this.bounds.height/c)+"px",8==document.documentMode||mxClient.IS_QUIRKS?(this.textarea.style.left=Math.round(this.bounds.x)+"px",this.textarea.style.top=Math.round(this.bounds.y)+"px"):(this.textarea.style.left=Math.max(0,Math.round(this.bounds.x+1))+"px",this.textarea.style.top=Math.max(0,
Math.round(this.bounds.y+1))+"px"),this.graph.isWrapping(a.cell)&&(2<=this.bounds.width||2<=this.bounds.height)&&this.textarea.innerHTML!=this.getEmptyLabelText()?(this.textarea.style.wordWrap=mxConstants.WORD_WRAP,this.textarea.style.whiteSpace="normal","fill"!=a.style[mxConstants.STYLE_OVERFLOW]&&(this.textarea.style.width=Math.round(this.bounds.width/c)+this.wordWrapPadding+"px")):(this.textarea.style.whiteSpace="nowrap","fill"!=a.style[mxConstants.STYLE_OVERFLOW]&&(this.textarea.style.width=""));
mxClient.IS_VML?this.textarea.style.zoom=c:(mxUtils.setPrefixedStyle(this.textarea.style,"transformOrigin","0px 0px"),mxUtils.setPrefixedStyle(this.textarea.style,"transform","scale("+c+","+c+")"+(null==d?"":" translate("+100*d.x+"%,"+100*d.y+"%)")))}};mxCellEditor.prototype.focusLost=function(){this.stopEditing(!this.graph.isInvokesStopCellEditing())};mxCellEditor.prototype.getBackgroundColor=function(a){return null};
mxCellEditor.prototype.isLegacyEditor=function(){if(mxClient.IS_VML)return!0;var a=!1;if(mxClient.IS_SVG){var b=this.graph.view.getDrawPane().ownerSVGElement;null!=b&&(b=mxUtils.getCurrentStyle(b),null!=b&&(a="absolute"==b.position))}return!a};
a.absoluteOffset.y,b.width,b.height)}this.graph.isWrapping(a.cell)&&(2<=this.bounds.width||2<=this.bounds.height)&&this.textarea.innerHTML!=this.getEmptyLabelText()?(this.textarea.style.wordWrap=mxConstants.WORD_WRAP,this.textarea.style.whiteSpace="normal",e=Math.round(this.bounds.width/c)+this.wordWrapPadding,"relative"!=this.textarea.style.position?(this.textarea.style.width=e+"px",this.textarea.scrollWidth>e&&(this.textarea.style.width=this.textarea.scrollWidth+"px")):"block"==a.style[mxConstants.STYLE_OVERFLOW]?
(-.5==d.y&&(this.textarea.style.maxHeight=this.bounds.height+"px"),this.textarea.style.width=e+"px"):this.textarea.style.maxWidth=e+"px"):(this.textarea.style.whiteSpace="nowrap",this.textarea.style.width="");8==document.documentMode&&(this.textarea.style.zoom="1",this.textarea.style.height="auto");8==document.documentMode?(a=this.textarea.scrollWidth,e=this.textarea.scrollHeight,this.textarea.style.left=Math.max(0,Math.ceil((this.bounds.x-d.x*(this.bounds.width-(a+1)*c)+a*(c-1)*0+2*(d.x+.5))/c))+
"px",this.textarea.style.top=Math.max(0,Math.ceil((this.bounds.y-d.y*(this.bounds.height-(e+.5)*c)+e*(c-1)*0+1*Math.abs(d.y+.5))/c))+"px",this.textarea.style.width=Math.round(a*c)+"px",this.textarea.style.height=Math.round(e*c)+"px"):mxClient.IS_QUIRKS?(a=this.textarea.scrollWidth,e=this.textarea.scrollHeight,this.textarea.style.left=Math.max(0,Math.ceil(this.bounds.x-d.x*(this.bounds.width-(a+1)*c)+a*(c-1)*0+2*(d.x+.5)))+"px",this.textarea.style.top=Math.max(0,Math.ceil(this.bounds.y-d.y*(this.bounds.height-
(e+.5)*c)+e*(c-1)*0+1*Math.abs(d.y+.5)))+"px"):(this.textarea.style.left=Math.max(0,Math.round(this.bounds.x-d.x*(this.bounds.width-2))+1)+"px",this.textarea.style.top=Math.max(0,Math.round(this.bounds.y-d.y*(this.bounds.height-4)+(-1==d.y?3:0))+1)+"px")}else this.bounds=this.getEditorBounds(a),this.textarea.style.width=Math.round(this.bounds.width/c)+"px",this.textarea.style.height=Math.round(this.bounds.height/c)+"px",8==document.documentMode||mxClient.IS_QUIRKS?(this.textarea.style.left=Math.round(this.bounds.x)+
"px",this.textarea.style.top=Math.round(this.bounds.y)+"px"):(this.textarea.style.left=Math.max(0,Math.round(this.bounds.x+1))+"px",this.textarea.style.top=Math.max(0,Math.round(this.bounds.y+1))+"px"),this.graph.isWrapping(a.cell)&&(2<=this.bounds.width||2<=this.bounds.height)&&this.textarea.innerHTML!=this.getEmptyLabelText()?(this.textarea.style.wordWrap=mxConstants.WORD_WRAP,this.textarea.style.whiteSpace="normal","fill"!=a.style[mxConstants.STYLE_OVERFLOW]&&(this.textarea.style.width=Math.round(this.bounds.width/
c)+this.wordWrapPadding+"px")):(this.textarea.style.whiteSpace="nowrap","fill"!=a.style[mxConstants.STYLE_OVERFLOW]&&(this.textarea.style.width=""));mxClient.IS_VML?this.textarea.style.zoom=c:(mxUtils.setPrefixedStyle(this.textarea.style,"transformOrigin","0px 0px"),mxUtils.setPrefixedStyle(this.textarea.style,"transform","scale("+c+","+c+")"+(null==d?"":" translate("+100*d.x+"%,"+100*d.y+"%)")))}};mxCellEditor.prototype.focusLost=function(){this.stopEditing(!this.graph.isInvokesStopCellEditing())};
mxCellEditor.prototype.getBackgroundColor=function(a){return null};mxCellEditor.prototype.isLegacyEditor=function(){if(mxClient.IS_VML)return!0;var a=!1;if(mxClient.IS_SVG){var b=this.graph.view.getDrawPane().ownerSVGElement;null!=b&&(b=mxUtils.getCurrentStyle(b),null!=b&&(a="absolute"==b.position))}return!a};
mxCellEditor.prototype.startEditing=function(a,b){this.stopEditing(!0);this.align=null;null==this.textarea&&this.init();null!=this.graph.tooltipHandler&&this.graph.tooltipHandler.hideTooltip();var c=this.graph.getView().getState(a);if(null!=c){this.graph.getView();var d=mxUtils.getValue(c.style,mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE),e=mxUtils.getValue(c.style,mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY),f=mxUtils.getValue(c.style,mxConstants.STYLE_FONTCOLOR,"black"),
g=mxUtils.getValue(c.style,mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),k=(mxUtils.getValue(c.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_BOLD)==mxConstants.FONT_BOLD,l=(mxUtils.getValue(c.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_ITALIC)==mxConstants.FONT_ITALIC,m=[];(mxUtils.getValue(c.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_UNDERLINE)==mxConstants.FONT_UNDERLINE&&m.push("underline");(mxUtils.getValue(c.style,mxConstants.STYLE_FONTSTYLE,0)&mxConstants.FONT_STRIKETHROUGH)==
mxConstants.FONT_STRIKETHROUGH&&m.push("line-through");this.textarea.style.lineHeight=mxConstants.ABSOLUTE_LINE_HEIGHT?Math.round(d*mxConstants.LINE_HEIGHT)+"px":mxConstants.LINE_HEIGHT;this.textarea.style.backgroundColor=this.getBackgroundColor(c);this.textarea.style.textDecoration=m.join(" ");this.textarea.style.fontWeight=k?"bold":"normal";this.textarea.style.fontStyle=l?"italic":"";this.textarea.style.fontSize=Math.round(d)+"px";this.textarea.style.zIndex=this.zIndex;this.textarea.style.fontFamily=

View file

@ -177,18 +177,21 @@ abstract public class AbsAuthServlet extends HttpServlet
Cookie[] cookies = request.getCookies();
for (Cookie cookie : cookies)
if (cookies != null)
{
if (STATE_COOKIE.equals(cookie.getName()))
for (Cookie cookie : cookies)
{
//Get the cached state based on the cookie key
String cacheKey = cookie.getValue();
cookieToken = (String) tokenCache.get(cacheKey);
log.log(Level.INFO, "AUTH-SERVLET: [" + request.getRemoteAddr() + "] Found cookie state (" + cacheKey + " -> " + cookieToken + ")");
//Delete cookie & cache after being used since it is a single use
tokenCache.remove(cacheKey);
response.setHeader("Set-Cookie", STATE_COOKIE + "= ;path=" + cookiePath + "; expires=Thu, 01 Jan 1970 00:00:00 UTC; Secure; HttpOnly; SameSite=none");
break;
if (STATE_COOKIE.equals(cookie.getName()))
{
//Get the cached state based on the cookie key
String cacheKey = cookie.getValue();
cookieToken = (String) tokenCache.get(cacheKey);
log.log(Level.INFO, "AUTH-SERVLET: [" + request.getRemoteAddr() + "] Found cookie state (" + cacheKey + " -> " + cookieToken + ")");
//Delete cookie & cache after being used since it is a single use
tokenCache.remove(cacheKey);
response.setHeader("Set-Cookie", STATE_COOKIE + "= ;path=" + cookiePath + "; expires=Thu, 01 Jan 1970 00:00:00 UTC; Secure; HttpOnly; SameSite=none");
break;
}
}
}
}

File diff suppressed because one or more lines are too long

View file

@ -3354,6 +3354,12 @@ App.prototype.checkDrafts = function()
*/
App.prototype.showSplash = function(force)
{
//Splash dialog shouldn't be shownn when running without a file menu
if (urlParams['noFileMenu'] == '1')
{
return;
}
var serviceCount = this.getServiceCount(true);
var showSecondDialog = mxUtils.bind(this, function()

View file

@ -385,7 +385,8 @@
{name: 'fillOpacity', dispName: 'Fill Opacity', type: 'int', min: 0, max: 100, defVal: 100},
{name: 'strokeOpacity', dispName: 'Stroke Opacity', type: 'int', min: 0, max: 100, defVal: 100},
{name: 'overflow', dispName: 'Text Overflow', defVal: 'visible', type: 'enum',
enumList: [{val: 'visible', dispName: 'Visible'}, {val: 'hidden', dispName: 'Hidden'}, {val: 'fill', dispName: 'Fill'}, {val: 'width', dispName: 'Width'}]
enumList: [{val: 'visible', dispName: 'Visible'}, {val: 'hidden', dispName: 'Hidden'}, {val: 'block', dispName: 'Block'},
{val: 'fill', dispName: 'Fill'}, {val: 'width', dispName: 'Width'}]
},
{name: 'noLabel', dispName: 'Hide Label', type: 'bool', defVal: false},
{name: 'labelPadding', dispName: 'Label Padding', type: 'float', defVal: 0},

View file

@ -15,12 +15,12 @@ LucidImporter = {};
var arcSize = 6;
var edgeStyle = 'html=1;jettySize=18;';
var vertexStyle = 'html=1;whiteSpace=wrap;';
var vertexStyle = 'html=1;overflow=block;whiteSpace=wrap;';
var labelStyle = 'text;html=1;resizable=0;labelBackgroundColor=#ffffff;align=center;verticalAlign=middle;';
var c = "fillColor=#036897;strokeColor=#ffffff";
var s = "shape=mxgraph.";
var ss = "strokeColor=none;shape=mxgraph.";
var c = 'fillColor=#036897;strokeColor=#ffffff';
var s = 'shape=mxgraph.';
var ss = 'strokeColor=none;shape=mxgraph.';
var ssAzure = 'verticalLabelPosition=bottom;verticalAlign=top;' + ss;
var cs = 'mxCompositeShape';
var azur19 = 'aspect=fixed;html=1;points=[];align=center;verticalAlign=top;image;image=img/lib/mscae/';
@ -3883,22 +3883,38 @@ LucidImporter = {};
openBlockTags.push('li');
str += '<span style="';
openBlockTags.push('span');
}
var ml = '';
var mr = '';
if (!listActive)
{
str += 'text-align: ' + (styles['a']? styles['a'].v : 'center') + ';';
var tmp = styles['a']? styles['a'].v : 'center';
// Handles overflow text
if (tmp == 'center')
{
ml = 'margin-left: -100%;';
mr = 'margin-right: -100%;';
}
else if (tmp == 'right')
{
ml = 'margin-left: -100%;';
}
str += 'text-align: ' + tmp + ';';
}
if (styles['il'])
{
str += 'margin-left: ' + Math.round(styles['il'].v * scale - (listActive? 21 : 0)) + 'px;';
ml = 'margin-left: ' + Math.round(styles['il'].v * scale - (listActive? 21 : 0)) + 'px;';
}
if (styles['ir'])
{
str += 'margin-right: ' + Math.round(styles['ir'].v * scale) + 'px;';
mr = 'margin-right: ' + Math.round(styles['ir'].v * scale) + 'px;';
}
if (styles['mt'])
@ -3911,7 +3927,7 @@ LucidImporter = {};
str += 'margin-bottom: ' + Math.round(styles['mb'].v * scale) + 'px;';
}
str += '">'
str += ml + mr + '">';
return str;
};
@ -4866,7 +4882,7 @@ LucidImporter = {};
{
if (properties.Rounding > 0)
{
return 'rounded=1;absoluteArcSize=1;arcSize=' + properties.Rounding * 0.6 + ';';
return 'rounded=1;absoluteArcSize=1;arcSize=' + Math.round(properties.Rounding * 0.6) + ';';
}
}
// else if (properties.Rounding == null)

View file

@ -536,7 +536,7 @@ OneDriveClient.prototype.getItemURL = function(id, relative)
{
var driveId = idParts[0];
var itemId = idParts[1];
return (relative? '' : this.baseUrl) + '/drives/' + driveId + '/items/' + itemId;
return (relative? '' : this.baseUrl) + '/drives/' + driveId + (itemId == 'root' ? '/root' : '/items/' + itemId);
}
else
{

View file

@ -1,82 +1,83 @@
LucidImporter={};
(function(){function f(a,b){function d(a){var b="",d=a.t,k=a.l||{};if(null==d||0!=y&&y==d.v&&l==k.v)null==d&&(y&&(b+=c(!0),y=!1),b+='<div style="',E.push("div"));else{y&&(b+=c(!0));y=d.v;l=k.v;"ul"==d.v?(b+="<ul ",E.push("ul")):(b+="<ol ",E.push("ol"));b+='style="margin: 0px; list-style-type:';if("hl"==d.v)b+="upper-roman";else switch(k.v){case "auto":b+="disc";break;case "inv":b+="circle";break;case "disc":b+="circle";break;case "trib":b+="square";break;case "square":b+="square";break;case "dash":b+=
"square";break;case "heart":b+="disc";break;default:b+="decimal"}b+='">'}null!=d&&(b+='<li style="text-align:'+(a.a?a.a.v:"left")+">",E.push("li"),b+='<span style="',E.push("span"));y||(b+="text-align: "+(a.a?a.a.v:"center")+";");a.il&&(b+="margin-left: "+Math.round(.6*a.il.v-(y?21:0))+"px;");a.ir&&(b+="margin-right: "+Math.round(.6*a.ir.v)+"px;");a.mt&&(b+="margin-top: "+Math.round(.6*a.mt.v)+"px;");a.mb&&(b+="margin-bottom: "+Math.round(.6*a.mb.v)+"px;");return b+'">'}function k(a){if(0==Object.keys(a).length)return"";
var b="",d=0;if(a.lk){var k=a.lk;null!=k.v&&0<k.v.length&&"ext"==k.v[0].tp&&(b+='<a href="'+k.v[0].url+'">',C.push("a"),d++)}b+='<span style="';C.push("span");d++;a.s&&(b+="font-size:"+Math.floor(.6*a.s.v)+"px;");a.c&&(k=a.c.v,null!=k&&("#"!=k.charAt(0)&&(k="#"+k),k=k.substring(0,7),b+="color:"+k+";"));if(a.b&&a.b.v||a.fc&&a.fc.v&&0==a.fc.v.indexOf("Bold"))b+="font-weight: bold;";a.i&&a.i.v&&(b+="font-style: italic;");a.u&&a.u.v&&(b+="text-decoration: underline;");b+='">';D.push(d);return b}function c(a){var b=
"";do{var d=E.pop();if(!a&&y&&("ul"==d||"ol"==d)){E.push(d);break}b+="</"+d+">"}while(0<E.length);return b}function n(a,b,d,k){a=a?a.substring(b,d):"";y&&(a=a.trim());a=a.replace(/</g,"&lt;").replace(/>/g,"&gt;");do for(b=D.pop(),d=0;d<b;d++){var c=C.pop();a+="</"+c+">"}while(k&&0<C.length);return a}var f={a:!0,il:!0,ir:!0,mt:!0,mb:!0,p:!0,t:!0,l:!0},w={lk:!0,s:!0,c:!0,b:!0,fc:!0,i:!0,u:!0};b.sort(function(a,b){return a.s-b.s});var m=b.filter(function(a){return w[a.n]}),x=b.filter(function(a){return f[a.n]}),
z="",g=m.slice();g.sort(function(a,b){return a.e-b.e});for(var p=0,Ta=0,B=0,e={},A={},C=[],D=[],E=[],R=!1,y=!1,l,eb=0,W=0,N=a.length,ca=!0;B<x.length||ca;){ca=!1;if(B<x.length){var M=x[B],S=x[B].s;R&&(A={},z+=n(a,N,eb,!0),eb=N,z+=c());for(;null!=M&&M.s==S;)A[M.n]=M,M=x[++B];N=null!=M?M.s:a.length;z+=d(A);R&&(z+=k(e));R=!0}for(;p>=Ta&&(p<m.length||Ta<g.length);)if(M=m[p],S=g[Ta],M&&S&&M.s<S.e){if(M.s>N)break;eb=M.s;for(0<eb-W&&(z+=n(a,W,eb));null!=M&&M.s==eb;)e[M.n]=M,M=m[++p];z+=k(e)}else if(S){if(S.e>
N)break;W=S.e;do delete e[S.n],S=g[++Ta];while(null!=S&&S.e==W);z+=n(a,eb,W);eb=W}else break}z+=n(null,null,null,!0);R&&(z+=c(!0));return z}function g(a){y=!1;var b=null!=a.Text?a.Text:null!=a.Value?a.Value:a.Lane_0;null==b&&null!=a.State?null!=a.State.t&&(b=a.State):null==b&&null!=a.Note?null!=a.Note.t&&(b=a.Note):null==b&&null!=a.Title?null!=a.Title.t&&(b=a.Title):null!=a.t&&(b=a);null==b&&null!=a.TextAreas?null!=a.TextAreas.Text&&null!=a.TextAreas.Text.Value&&null!=a.TextAreas.Text.Value.t&&(b=
a.TextAreas.Text.Value):null==b&&null!=a.t0&&null!=a.t0.t&&(b=a.t0);if(null!=b){if(null!=b.t){a=b.t;a=a.replace(/\u2028/g,"\n");b=b.m;try{for(var d=0;d<b.length;d++)if(0<b[d].s||null!=b[d].e&&b[d].e<a.length){y=!0;break}if(y)return f(a,b)}catch(Sb){console.log(Sb)}a=a.replace(/</g,"&lt;");return a=a.replace(/>/g,"&gt;")}if(null!=b.Value&&null!=b.Value.t)return b.Value.t=b.Value.t.replace(/</g,"&lt;"),b.Value.t=b.Value.t.replace(/>/g,"&gt;"),b.Value.t}return""}function p(a){return null!=a.Action?a.Action:
a}function e(a){if(null!=a.Text){if(null!=a.Text.m)return a.Text.m}else if(null!=a.TextAreas){if(null!=a.TextAreas.Text&&null!=a.TextAreas.Text.Value&&null!=a.TextAreas.Text.Value.m)return a.TextAreas.Text.Value.m}else{if(null!=a.m)return a.m;if(null!=a.Title&&null!=a.Title.m)return a.Title.m}return null}function m(b,c){return"whiteSpace=wrap;"+(c?"html=1;":a(b)+d(b)+k(b)+w(b)+x(b)+z(b)+B(b)+C(b))+A(b)+D(b)}function c(a,d,k,c,n){var h="";null!=a&&""!=a&&";"!=a.charAt(a.length-1)&&(h=";");return h+=
"whiteSpace=wrap;"+(n?tc(a,"html")?"":"html=1;":b(mxConstants.STYLE_FONTSIZE,a,d,k,c)+b(mxConstants.STYLE_FONTCOLOR,a,d,k,c)+b(mxConstants.STYLE_FONTSTYLE,a,d,k,c)+b(mxConstants.STYLE_ALIGN,a,d,k,c)+b(mxConstants.STYLE_SPACING_LEFT,a,d,k,c)+b(mxConstants.STYLE_SPACING_RIGHT,a,d,k,c)+b(mxConstants.STYLE_SPACING_TOP,a,d,k,c)+b(mxConstants.STYLE_SPACING_BOTTOM,a,d,k,c))+b(mxConstants.STYLE_SPACING,a,d,k,c)+b(mxConstants.STYLE_VERTICAL_ALIGN,a,d,k,c)+b(mxConstants.STYLE_STROKECOLOR,a,d,k,c)+b(mxConstants.STYLE_OPACITY,
a,d,k,c)+b(mxConstants.STYLE_ROUNDED,a,d,k,c)+b(mxConstants.STYLE_ROTATION,a,d,k,c)+b(mxConstants.STYLE_FLIPH,a,d,k,c)+b(mxConstants.STYLE_FLIPV,a,d,k,c)+b(mxConstants.STYLE_SHADOW,a,d,k,c)+b(mxConstants.STYLE_FILLCOLOR,a,d,k,c)+b(mxConstants.STYLE_DASHED,a,d,k,c)+b(mxConstants.STYLE_STROKEWIDTH,a,d,k,c)+b(mxConstants.STYLE_IMAGE,a,d,k,c)}function b(b,c,n,f,h){if(!tc(c,b))switch(b){case mxConstants.STYLE_FONTSIZE:return a(n);case mxConstants.STYLE_FONTCOLOR:return d(n);case mxConstants.STYLE_FONTSTYLE:return k(n);
case mxConstants.STYLE_ALIGN:return w(n);case mxConstants.STYLE_SPACING_LEFT:return x(n);case mxConstants.STYLE_SPACING_RIGHT:return z(n);case mxConstants.STYLE_SPACING_TOP:return B(n);case mxConstants.STYLE_SPACING_BOTTOM:return C(n);case mxConstants.STYLE_SPACING:return A(n);case mxConstants.STYLE_VERTICAL_ALIGN:return D(n);case mxConstants.STYLE_STROKECOLOR:return E(n,f);case mxConstants.STYLE_OPACITY:return O(n,f,h);case mxConstants.STYLE_ROUNDED:return b=!h.edge&&!h.style.includes("rounded")&&
null!=n.Rounding&&0<n.Rounding?"rounded=1;absoluteArcSize=1;arcSize="+.6*n.Rounding+";":"",b;case mxConstants.STYLE_ROTATION:return R(n,f,h);case mxConstants.STYLE_FLIPH:return b=n.FlipX?"flipH=1;":"",b;case mxConstants.STYLE_FLIPV:return b=n.FlipY?"flipV=1;":"",b;case mxConstants.STYLE_SHADOW:return ca(n);case mxConstants.STYLE_FILLCOLOR:return M(n,f);case mxConstants.STYLE_DASHED:return ma(n);case mxConstants.STYLE_STROKEWIDTH:return ea(n);case mxConstants.STYLE_IMAGE:return ec(n,f)}return""}function a(a){a=
e(a);if(null!=a)for(var b=0;b<a.length;){var d=a[b];if("s"==d.n&&null!=d.v)return"fontSize="+Math.floor(.6*d.v)+";";b++}return"fontSize=11;"}function d(a){a=e(a);if(null!=a)for(var b=0;b<a.length;){var d=a[b];if("c"==d.n&&null!=d.v)return a=d.v,"#"!=a.charAt(0)&&(a="#"+a),a=a.substring(0,7),mxConstants.STYLE_FONTCOLOR+"="+a+";";b++}return""}function k(a){return n(e(a))}function n(a){if(null!=a){var b=0,d=!1;if(null!=a)for(var k=0;!d&&k<a.length;){var c=a[k];"b"==c.n?null!=c.v&&c.v&&(d=!0,b+=1):"fc"==
c.n&&"Bold"==c.v&&(d=!0,b+=1);k++}d=!1;if(null!=a)for(k=0;!d&&k<a.length;)c=a[k],"i"==c.n&&null!=c.v&&c.v&&(d=!0,b+=2),k++;d=!1;if(null!=a)for(k=0;!d&&k<a.length;)c=a[k],"u"==c.n&&null!=c.v&&c.v&&(d=!0,b+=4),k++;if(0<b)return"fontStyle="+b+";"}return""}function w(a){a=e(a);if(null!=a)for(var b=0;b<a.length;){var d=a[b];if("a"==d.n&&null!=d.v)return"align="+d.v+";";b++}return""}function x(a){var b=e(a);if(null!=b)for(var d=0;d<b.length;){var k=b[d];if(null!=k.v){if("il"==k.n)return"spacingLeft="+.6*
k.v+";";w(a)}d++}return""}function z(a){a=e(a);if(null!=a)for(var b=0;b<a.length;){var d=a[b];if("ir"==d.n&&null!=d.v)return"spacingRight="+d.v+";";b++}return""}function B(a){a=e(a);if(null!=a)for(var b=0;b<a.length;){var d=a[b];if("mt"==d.n&&null!=d.v)return"spacingTop="+d.v+";";b++}return""}function C(a){a=e(a);if(null!=a)for(var b=0;b<a.length;){var d=a[b];if("mb"==d.n&&null!=d.v)return"spacingBottom="+d.v+";";b++}return""}function A(a){return"number"===typeof a.InsetMargin?"spacing="+Math.max(0,
Math.round(.6*parseInt(a.InsetMargin)))+";":""}function D(a){return null!=a.Text_VAlign&&"string"===typeof a.Text_VAlign?"verticalAlign="+a.Text_VAlign+";":null!=a.Title_VAlign&&"string"===typeof a.Title_VAlign?"verticalAlign="+a.Title_VAlign+";":Da(mxConstants.STYLE_VERTICAL_ALIGN,a.TextVAlign,"middle")}function E(a,b){return 0==a.LineWidth?mxConstants.STYLE_STROKECOLOR+"=none;":Da(mxConstants.STYLE_STROKECOLOR,W(a.LineColor),"#000000")}function G(a){return null!=a?mxConstants.STYLE_FILLCOLOR+"="+
W(a)+";":""}function N(a){return null!=a?"swimlaneFillColor="+W(a)+";":""}function O(a,b,d){b="";if("string"===typeof a.LineColor&&7<a.LineColor.length){var k="0x"+a.LineColor.substring(a.LineColor.length-2,a.LineColor.length);d.style.includes("strokeOpacity")||(b+="strokeOpacity="+Math.round(parseInt(k)/2.55)+";")}"string"===typeof a.FillColor&&7<a.FillColor.length&&(a="0x"+a.FillColor.substring(a.FillColor.length-2,a.FillColor.length),d.style.includes("fillOpacity")||(b+="fillOpacity="+Math.round(parseInt(a)/
2.55)+";"));return b}function R(a,b,d){var k="";if(null!=a.Rotation){a=mxUtils.toDegree(parseFloat(a.Rotation));var c=!0;0!=a&&("UMLSwimLaneBlockV2"==b.Class||(0<=b.Class.indexOf("Rotated")||-90==a||270==a)&&(0<=b.Class.indexOf("Pool")||0<=b.Class.indexOf("SwimLane")))?(a+=90,d.geometry.rotate90(),c=!1):0<=mxUtils.indexOf(md,b.Class)?(a-=90,d.geometry.rotate90()):0<=mxUtils.indexOf(nd,b.Class)&&(a+=180);0!=a&&(k+="rotation="+a+";");c||(k+="horizontal=0;")}return k}function ca(a){return null!=a.Shadow?
mxConstants.STYLE_SHADOW+"=1;":""}function W(a){(a=a?a.substring(0,7):null)&&"#"!=a.charAt(0)&&"r"!=a.charAt(0).toLowerCase()&&(a="#"+a);return a}function S(a,b){return a&&7<a.length?b+"="+Math.round(parseInt("0x"+a.substr(7))/2.55)+";":""}function M(a,b){if(null!=a.FillColor)if("object"===typeof a.FillColor){if(null!=a.FillColor.cs&&1<a.FillColor.cs.length)return Da(mxConstants.STYLE_FILLCOLOR,W(a.FillColor.cs[0].c))+Da(mxConstants.STYLE_GRADIENTCOLOR,W(a.FillColor.cs[1].c))}else return"string"===
typeof a.FillColor?Da(mxConstants.STYLE_FILLCOLOR,W(a.FillColor),"#FFFFFF"):Da(mxConstants.STYLE_FILLCOLOR,"none");return""}function ma(a){return"dotted"==a.StrokeStyle?"dashed=1;dashPattern=1 4;":"dashdot"==a.StrokeStyle?"dashed=1;dashPattern=10 5 1 5;":"dashdotdot"==a.StrokeStyle?"dashed=1;dashPattern=10 5 1 5 1 5;":"dotdotdot"==a.StrokeStyle?"dashed=1;dashPattern=1 2;":"longdash"==a.StrokeStyle?"dashed=1;dashPattern=16 6;":"dashlongdash"==a.StrokeStyle?"dashed=1;dashPattern=10 6 16 6;":"dashed24"==
a.StrokeStyle?"dashed=1;dashPattern=3 8;":"dashed32"==a.StrokeStyle?"dashed=1;dashPattern=6 5;":"dashed44"==a.StrokeStyle?"dashed=1;dashPattern=8 8;":null!=a.StrokeStyle&&"dashed"==a.StrokeStyle.substring(0,6)?"dashed=1;":""}function ea(a){return null!=a.LineWidth?Da(mxConstants.STYLE_STROKEWIDTH,Math.round(.6*parseFloat(a.LineWidth)),"1"):""}function ec(a,b,d){"ImageSearchBlock2"==b.Class?d=a.URL:"UserImage2Block"==b.Class&&null!=a.ImageFillProps&&null!=a.ImageFillProps.url?d=a.ImageFillProps.url:
a.FillColor&&a.FillColor.url&&(d=a.FillColor.url);if(null!=d){if(null!=LucidImporter.imgSrcRepl)for(a=0;a<LucidImporter.imgSrcRepl.length;a++)b=LucidImporter.imgSrcRepl[a],d=d.replace(b.searchVal,b.replVal);return"image="+d+";"}return""}function ja(a,b,d,k){for(var c=b,n=0;null!=k.getAttributeForCell(a,c);)n++,c=b+"_"+n;k.setAttributeForCell(a,c,null!=d?d:"")}function fc(a,b,d,k,n,f){var h=p(b);if(null!=h){var w=Hb[h.Class];null!=w?a.style+=w+";":a.edge||(console.log("No mapping found for: "+h.Class),
LucidImporter.hasUnknownShapes=!0);w=null!=h.Properties?h.Properties:h;if(null!=w){a.value=f?"":g(w);a.style+=c(a.style,w,h,a,y);a.style.includes("strokeColor")||(a.style+=E(w,h));if(null!=w.Link&&0<w.Link.length&&"ext"==w.Link[0].tp)d.setAttributeForCell(a,"link",w.Link[0].url);else if(null!=w.Text){a:{f=e(w.Text);if(null!=f)for(var x=0;x<f.length;x++)if(f[x].n=null!=f[x].v&&0<f[x].v.length&&"ext"==f[x].v[0].tp){f=f[x].v[0].url;break a}f=null}null!=f&&d.setAttributeForCell(a,"link",f)}f=[];var x=
d.convertValueToString(a),z=!1;if(null!=x){for(var B=0;match=od.exec(x);){var Sb=match[0],z=!0;if(2<Sb.length){var C=Sb.substring(2,Sb.length-2);"documentName"==C?C="filename":"pageName"==C?C="page":"totalPages"==C?C="pagecount":"page"==C?C="pagenumber":"date:"==C.substring(0,5)?C="date{"+C.substring(5).replace(/MMMM/g,"mmmm").replace(/MM/g,"mm").replace(/YYYY/g,"yyyy")+"}":"lastModifiedTime"==C.substring(0,16)?C=C.replace(/MMMM/g,"mmmm").replace(/MM/g,"mm").replace(/YYYY/g,"yyyy"):"i18nDate:"==C.substring(0,
9)&&(C="date{"+C.substring(9).replace(/i18nShort/g,"shortDate").replace(/i18nMediumWithTime/g,"mmm d, yyyy hh:MM TT")+"}");C="%"+C+"%";f.push(x.substring(B,match.index)+(null!=C?C:Sb));B=match.index+Sb.length}}z&&(f.push(x.substring(B)),d.setAttributeForCell(a,"label",f.join("")),d.setAttributeForCell(a,"placeholders","1"))}for(var A in w)if(w.hasOwnProperty(A)&&A.toString().startsWith("ShapeData_"))try{var D=w[A],R=mxUtils.trim(D.Label).replace(/[^a-z0-9]+/ig,"_").replace(/^\d+/,"").replace(/_+$/,
"");ja(a,R,D.Value,d)}catch(xe){window.console&&console.log("Ignored "+A+":",xe)}w.Title&&w.Text&&"ExtShape"!=h.Class.substr(0,8)&&(h=a.geometry,h=new mxCell(g(w.Title),new mxGeometry(0,h.height,h.width,10),"strokeColor=none;fillColor=none;"),h.vertex=!0,a.insert(h),h.style+=m(w.Title,y));if(a.edge){a.style=null!=w.Rounding&&"diagonal"!=w.Shape?a.style+("rounded=1;arcSize="+w.Rounding+";"):a.style+"rounded=0;";if("diagonal"!=w.Shape)if(null!=w.ElbowPoints&&0<w.ElbowPoints.length)for(a.geometry.points=
[],h=0;h<w.ElbowPoints.length;h++)a.geometry.points.push(new mxPoint(Math.round(.6*w.ElbowPoints[h].x+Ib),Math.round(.6*w.ElbowPoints[h].y+Jb)));else"elbow"==w.Shape?a.style+="edgeStyle=orthogonalEdgeStyle;":null!=w.Endpoint1.Block&&null!=w.Endpoint2.Block&&(a.style+="edgeStyle=orthogonalEdgeStyle;","curve"==w.Shape&&(a.style+="curved=1;"));if(w.LineJumps||LucidImporter.globalProps.LineJumps)a.style+="jumpStyle=arc;";null!=w.Endpoint1.Style&&(null!=Tb[w.Endpoint1.Style]?a.style+="startArrow="+Tb[w.Endpoint1.Style]+
";":(LucidImporter.hasUnknownShapes=!0,window.console&&console.log("Unknown endpoint style: "+w.Endpoint1.Style)));null!=w.Endpoint2.Style&&(null!=Tb[w.Endpoint2.Style]?a.style+="endArrow="+Tb[w.Endpoint2.Style].replace(/startSize/g,"endSize")+";":(LucidImporter.hasUnknownShapes=!0,window.console&&console.log("Unknown endpoint style: "+w.Endpoint2.Style)));A=null!=w.ElbowControlPoints&&0<w.ElbowControlPoints.length?w.ElbowControlPoints:null!=w.BezierJoints&&0<w.BezierJoints.length?w.BezierJoints:
w.Joints;if(null!=A)for(a.geometry.points=[],h=0;h<A.length;h++)D=A[h].p?A[h].p:A[h],a.geometry.points.push(new mxPoint(Math.round(.6*D.x+Ib),Math.round(.6*D.y+Jb)));A=!1;null!=a.geometry.points&&0!=a.geometry.points.length||null==w.Endpoint1.Block||w.Endpoint1.Block!=w.Endpoint2.Block||null==k||null==n||(A=new mxPoint(Math.round(k.geometry.x+k.geometry.width*w.Endpoint1.LinkX),Math.round(k.geometry.y+k.geometry.height*w.Endpoint1.LinkY)),D=new mxPoint(Math.round(n.geometry.x+n.geometry.width*w.Endpoint2.LinkX),
Math.round(n.geometry.y+n.geometry.height*w.Endpoint2.LinkY)),Ib=A.x==D.x?Math.abs(A.x-k.geometry.x)<k.geometry.width/2?-20:20:0,Jb=A.y==D.y?Math.abs(A.y-k.geometry.y)<k.geometry.height/2?-20:20:0,h=new mxPoint(A.x+Ib,A.y+Jb),R=new mxPoint(D.x+Ib,D.y+Jb),h.generated=!0,R.generated=!0,a.geometry.points=[h,R],A=A.x==D.x);h=Bb(a,w.Endpoint1,!0,A);null!=k&&null!=h&&(null==k.stylePoints&&(k.stylePoints=[]),k.stylePoints.push(h),LucidImporter.stylePointsSet.add(k));R=Bb(a,w.Endpoint2,!1,A);null!=n&&null!=
R&&(null==n.stylePoints&&(n.stylePoints=[]),n.stylePoints.push(R),LucidImporter.stylePointsSet.add(n))}}}null!=b.id&&ja(a,"lucidchartObjectId",b.id,d)}function uc(a,b){var d=p(a),k=d.Properties,n=k.BoundingBox;null==a.Class||"AWS"!==a.Class.substring(0,3)&&"Amazon"!==a.Class.substring(0,6)||a.Class.includes("AWS19")||(n.h-=20);v=new mxCell("",new mxGeometry(Math.round(.6*n.x+Ib),Math.round(.6*n.y+Jb),Math.round(.6*n.w),Math.round(.6*n.h)),"html=1;whiteSpace=wrap;");v.vertex=!0;fc(v,a,b);v.zOrder=
k.ZOrder;null!=v&&0<=v.style.indexOf(";grIcon=")&&(n=new mxCell("",new mxGeometry(v.geometry.x,v.geometry.y,v.geometry.width,v.geometry.height),"html=1;whiteSpace=wrap;"),n.vertex=!0,n.style+=c(n.style,k,d,n),v.geometry.x=0,v.geometry.y=0,v.style+="part=1;",n.insert(v),v=n);Md(v,k);return v}function pa(a,b,d,k){var n=new mxCell("",new mxGeometry(0,0,100,100),"html=1;jettySize=18;");n.geometry.relative=!0;n.edge=!0;fc(n,a,b,d,k,!0);b=p(a).Properties;d=null!=b?b.TextAreas:a.TextAreas;if(null!=d){for(k=
0;null!=d["t"+k];){var c=d["t"+k],n=na(c,n);k++}for(k=0;null!=d["m"+k]||1>k;)c=d["m"+k],null!=c&&(n=na(c,n,a)),k++;null!=d.Text&&(n=na(d.Text,n,a));d=null!=b?b.TextAreas:a.TextAreas;null!=d.Message&&(n=na(d.Message,n,a))}return n}function na(a,b,d){var k=2*(parseFloat(a.Location)-.5);isNaN(k)&&null!=a.Text&&null!=a.Text.Location&&(k=2*(parseFloat(a.Text.Location)-.5));d=mxCell;var c=g(a),k=new mxGeometry(isNaN(k)?0:k,0,0,0),f="11",w="";if(null!=a&&null!=a.Value&&null!=a.Value.m)for(var w=n(a.Value.m),
m=0;m<a.Value.m.length;m++)if("s"==a.Value.m[m].n)f=.6*parseFloat(a.Value.m[m].v);else if("c"==a.Value.m[m].n){var x=a.Value.m[m].v;null!=x&&("#"!=x.charAt(0)&&(x="#"+x),x=x.substring(0,7));w+="fontColor="+x+";"}a=new d(c,k,"text;html=1;resizable=0;labelBackgroundColor=#ffffff;align=center;verticalAlign=middle;"+(w+";fontSize="+f+";"));a.geometry.relative=!0;a.vertex=!0;b.insert(a);return b}function Da(a,b,d,k){null!=b&&null!=k&&(b=k(b));return null!=b&&b!=d?a+"="+b+";":""}function Bb(a,b,d,k,n){if(null!=
b&&null!=b.LinkX&&null!=b.LinkY&&(b.LinkX=Math.round(1E3*b.LinkX)/1E3,b.LinkY=Math.round(1E3*b.LinkY)/1E3,a.style+=(k?"":(d?"exitX":"entryX")+"="+b.LinkX+";")+(n?"":(d?"exitY":"entryY")+"="+b.LinkY+";")+(d?"exitPerimeter":"entryPerimeter")+"=0;",b.Inside))return"["+b.LinkX+","+b.LinkY+",0]"}function Ea(a,b,d){try{null!=a.Action&&null!=a.Action.Properties&&(a=a.Action.Properties);var k=new mxCell("",new mxGeometry,"group;dropTarget=0;");k.vertex=!0;var n=Infinity,c=Infinity,f=-Infinity,w=-Infinity,
m=a.Members,x=[],z;for(z in m){var g=b[z];null!=g?x.push(g):d[z]=k}x.sort(function(a,b){var d=a.zOrder,k=b.zOrder;return null!=d&&null!=k?d-k:0});for(b=0;b<x.length;b++)g=x[b],n=Math.min(n,g.geometry.x),c=Math.min(c,g.geometry.y),f=Math.max(f,g.geometry.x+g.geometry.width),w=Math.max(w,g.geometry.y+g.geometry.height),g.parent=k,k.insert(g,b);k.geometry.x=n;k.geometry.y=c;k.geometry.width=f-n;k.geometry.height=w-c;if(null!=k.children)for(b=0;b<k.children.length;b++){var p=k.children[b].geometry;p.x-=
n;p.y-=c}a.IsState?k.lucidLayerInfo={name:a.Name,visible:!a.Hidden,locked:a.Restrictions.b&&a.Restrictions.p&&a.Restrictions.c}:a.Hidden&&(k.visible=!1);return k}catch(ve){console.log(ve)}}function Kb(a,b,d){a.getModel().beginUpdate();try{var k=function(b,d){function k(a,b){null==a||a.generated||(a.x-=b.x,a.y-=b.y)}var h=null!=d.Endpoint1.Block?c[d.Endpoint1.Block]:null,w=null!=d.Endpoint2.Block?c[d.Endpoint2.Block]:null,x=pa(b,a,h,w);null==h&&null!=d.Endpoint1&&x.geometry.setTerminalPoint(new mxPoint(Math.round(.6*
d.Endpoint1.x),Math.round(.6*d.Endpoint1.y)),!0);null==w&&null!=d.Endpoint2&&x.geometry.setTerminalPoint(new mxPoint(Math.round(.6*d.Endpoint2.x),Math.round(.6*d.Endpoint2.y)),!1);var m=f[b.id];if(null!=m){var l=x.geometry,z=m.geometry;k(l.sourcePoint,z);k(l.targetPoint,z);k(l.offset,z);l=l.points;if(null!=l)for(var g=0;g<l.length;g++)k(l[g],z)}n.push(a.addCell(x,m,null,h,w))},n=[],c={},f={},w=[];if(null!=b.Blocks)for(var m in b.Blocks){var x=b.Blocks[m];x.id=m;var z=!1;null!=Hb[x.Class]&&"mxCompositeShape"==
Hb[x.Class]&&(c[x.id]=Yc(x,n,a),w.push(x),z=!0);z||(c[x.id]=uc(x,a),w.push(x))}else{for(var g=0;g<b.Objects.length;g++)x=b.Objects[g],null!=x.Action&&"mxCompositeShape"==Hb[x.Action.Class]?c[x.id]=Yc(x,n,a):x.IsBlock&&null!=x.Action&&null!=x.Action.Properties&&(c[x.id]=uc(x,a)),w.push(x);for(g=0;g<b.Objects.length;g++)if(x=b.Objects[g],x.IsGroup){var B=Ea(x,c,f);B&&(c[x.id]=B,w.push(x))}}if(null!=b.Groups)try{for(m in b.Groups)if(x=b.Groups[m],x.id=m,B=Ea(x,c,f))c[x.id]=B,w.push(x)}catch(we){console.log(we)}if(null!=
b.Lines)for(m in b.Lines)x=b.Lines[m],x.id=m,w.push(x);w.sort(function(a,b){a=p(a);b=p(b);var d=null!=a.Properties?a.Properties.ZOrder:a.ZOrder,k=null!=b.Properties?b.Properties.ZOrder:b.ZOrder;return null!=d&&null!=k?d-k:0});for(g=0;g<w.length;g++){var x=w[g],e=c[x.id];if(null!=e){if(null==e.parent)if(e.lucidLayerInfo){var A=new mxCell;a.addCell(A,a.model.root);A.setVisible(e.lucidLayerInfo.visible);e.lucidLayerInfo.locked&&A.setStyle("locked=1;");A.setValue(e.lucidLayerInfo.name);delete e.lucidLayerInfo;
a.addCell(e,A)}else n.push(a.addCell(e))}else x.IsLine&&null!=x.Action&&null!=x.Action.Properties?k(x,x.Action.Properties):null!=x.StrokeStyle&&k(x,x)}LucidImporter.stylePointsSet.forEach(function(a){a.style="points=["+a.stylePoints.join(",")+"];"+a.style;delete a.stylePoints});d||a.setSelectionCells(n)}finally{a.getModel().endUpdate()}}function qa(){var a=new Graph;a.setExtendParents(!1);a.setExtendParentsOnAdd(!1);a.setConstrainChildren(!1);a.setHtmlLabels(!0);a.getModel().maintainEdgeParent=!1;
return a}function Ub(a,b,d,k,n,c,f,w){this.nurbsValues=[1,3,0,0,100*(a+d),100-100*(1-(b+k)),0,1,100*(n+f),100-100*(1-(c+w)),0,1]}function Nd(a,b){try{for(var d=[],k=b.BoundingBox.w,n=b.BoundingBox.h,c=0;c<b.Shapes.length;c++){var f=b.Shapes[c],w=f.FillColor,x=f.StrokeColor,m=f.LineWidth,z=f.Points,g=f.Lines,p=['<shape strokewidth="inherit"><foreground>'];p.push("<path>");for(var B=null,e=0;e<g.length;e++){var A=g[e];if(B!=A.p1){var C=z[A.p1].x,D=z[A.p1].y,C=100*C/k,D=100*D/n,C=Math.round(100*C)/100,
D=Math.round(100*D)/100;p.push('<move x="'+C+'" y="'+D+'"/>')}if(null!=A.n1){var E;var R=z[A.p2].x,y=z[A.p2].y,W=k,l=n,N=new Ub(z[A.p1].x,z[A.p1].y,A.n1.x,A.n1.y,z[A.p2].x,z[A.p2].y,A.n2.x,A.n2.y);if(2<=N.getSize()){N.getX(0);N.getY(0);N.getX(1);N.getY(1);for(var R=Math.round(100*R/W*100)/100,y=Math.round(100*y/l*100)/100,W=[],l=[],ca=[],M=N.getSize(),S=0;S<M-1;S+=3)W.push(new mxPoint(N.getX(S),N.getY(S))),l.push(new mxPoint(N.getX(S+1),N.getY(S+1))),S<M-2?ca.push(new mxPoint(N.getX(S+2),N.getY(S+
2))):ca.push(new mxPoint(R,y));for(var G="",S=0;S<W.length;S++)G+='<curve x1="'+W[S].x+'" y1="'+W[S].y+'" x2="'+l[S].x+'" y2="'+l[S].y+'" x3="'+ca[S].x+'" y3="'+ca[S].y+'"/>';E=G}else E=void 0;p.push(E)}else C=z[A.p2].x,D=z[A.p2].y,C=100*C/k,D=100*D/n,C=Math.round(100*C)/100,D=Math.round(100*D)/100,p.push('<line x="'+C+'" y="'+D+'"/>');B=A.p2}p.push("</path>");p.push("<fillstroke/>");p.push("</foreground></shape>");d.push({shapeStencil:"stencil("+Graph.compress(p.join(""))+")",FillColor:w,LineColor:x,
LineWidth:m})}LucidImporter.stencilsMap[a]={text:b.Text,w:k,h:n,stencils:d}}catch(ld){console.log("Stencil parsing error:",ld)}}function wb(a,b,d,k,n,c,f,w){a=new mxCell("",new mxGeometry(a,b,0,0),"strokeColor=none;fillColor=none;");a.vertex=!0;f.insert(a);c=[a];d=d.clone();w.insertEdge(d,!1);a.insertEdge(d,!0);c.push(d);k.push(n.addCell(d,null,null,null,null))}function ta(a,b,d,k,n,c,f,w,x){a=new mxCell("",new mxGeometry(a,b,0,0),"strokeColor=none;fillColor=none;");a.vertex=!0;x.insert(a);d=new mxCell("",
new mxGeometry(d,k,0,0),"strokeColor=none;fillColor=none;");d.vertex=!0;x.insert(d);w=[d];n=n.clone();a.insertEdge(n,!0);d.insertEdge(n,!1);w.push(n);c.push(f.addCell(n,null,null,null,null))}function fa(a,b,d,k,n,f){k.style="rounded=1;absoluteArcSize=1;fillColor=#ffffff;arcSize=2;strokeColor=#dddddd;";k.style+=c(k.style,n,f,k);b=g(n);k.vertex=!0;a=new mxCell(b,new mxGeometry(0,.5,24,24),"dashed=0;connectable=0;html=1;strokeColor=none;"+mxConstants.STYLE_SHAPE+"=mxgraph.gcp2."+a+";part=1;shadow=0;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;");
a.style+=c(a.style,n,f,a,y);a.geometry.relative=!0;a.geometry.offset=new mxPoint(5,-12);a.vertex=!0;k.insert(a)}function ka(a,b,d,k,n,f,w,x){n="transparent"!=a?mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.":mxConstants.STYLE_SHAPE+"=";f.style="rounded=1;absoluteArcSize=1;arcSize=2;verticalAlign=bottom;fillColor=#ffffff;strokeColor=#dddddd;whiteSpace=wrap;";f.style+=c(f.style,w,x,f);f.value=g(w);f.vertex=!0;a=new mxCell(null,new mxGeometry(.5,0,.7*k*b,.7*k*d),n+a+";part=1;dashed=0;connectable=0;html=1;strokeColor=none;shadow=0;");
a.geometry.relative=!0;a.geometry.offset=new mxPoint(-b*k*.35,10+(1-d)*k*.35);a.vertex=!0;a.style+=c(a.style,w,x,a,y);f.insert(a)}function tc(a,b){return null==a||null==b||!a.includes(";"+b+"=")&&a.substring(0,b.length+1)!=b+"="?!1:!0}function Yc(b,n,f){var e=p(b),h=e.Properties,ja=h.BoundingBox,t=Math.round(.6*ja.w),r=Math.round(.6*ja.h),pa=Math.round(.6*ja.x+Ib),na=Math.round(.6*ja.y+Jb);null==b.Class||"GCPInputDatabase"!==b.Class&&"GCPInputRecord"!==b.Class&&"GCPInputPayment"!==b.Class&&"GCPInputGateway"!==
b.Class&&"GCPInputLocalCompute"!==b.Class&&"GCPInputBeacon"!==b.Class&&"GCPInputStorage"!==b.Class&&"GCPInputList"!==b.Class&&"GCPInputStream"!==b.Class&&"GCPInputMobileDevices"!==b.Class&&"GCPInputCircuitBoard"!==b.Class&&"GCPInputLive"!==b.Class&&"GCPInputUsers"!==b.Class&&"GCPInputLaptop"!==b.Class&&"GCPInputApplication"!==b.Class&&"GCPInputLightbulb"!==b.Class&&"GCPInputGame"!==b.Class&&"GCPInputDesktop"!==b.Class&&"GCPInputDesktopAndMobile"!==b.Class&&"GCPInputWebcam"!==b.Class&&"GCPInputSpeaker"!==
b.Class&&"GCPInputRetail"!==b.Class&&"GCPInputReport"!==b.Class&&"GCPInputPhone"!==b.Class&&"GCPInputBlank"!==b.Class||(r+=20);v=new mxCell("",new mxGeometry(pa,na,t,r),"html=1;whiteSpace=wrap;");v.vertex=!0;v.zOrder=h.ZOrder;var Bb=null!=b.Class?b.Class:null!=e?e.Class:null;switch(Bb){case "BraceNoteBlock":case "UI2BraceNoteBlock":var uc=!1;null!=h.BraceDirection&&"Right"==h.BraceDirection&&(uc=!0);var Ta=null,qa=null;uc?(Ta=new mxCell("",new mxGeometry(t-.125*r,0,.125*r,r),"shape=curlyBracket;rounded=1;"),
qa=new mxCell("",new mxGeometry(0,0,t-.125*r,r),"strokeColor=none;fillColor=none;")):(Ta=new mxCell("",new mxGeometry(0,0,.125*r,r),"shape=curlyBracket;rounded=1;flipH=1;"),qa=new mxCell("",new mxGeometry(.125*r,0,t-.125*r,r),"strokeColor=none;fillColor=none;"));v.style="strokeColor=none;fillColor=none;";v.style+=c(v.style,h,e,v);Ta.vertex=!0;v.insert(Ta);Ta.style+=c(Ta.style,h,e,Ta);qa.vertex=!0;qa.value=g(h);v.insert(qa);qa.style+=c(qa.style,h,e,qa,y);break;case "BPMNAdvancedPoolBlockRotated":case "UMLMultiLanePoolRotatedBlock":case "UMLMultiLanePoolBlock":case "BPMNAdvancedPoolBlock":case "AdvancedSwimLaneBlockRotated":case "AdvancedSwimLaneBlock":case "UMLSwimLaneBlockV2":var Ea=
"MainText",Kb=null,eb="HeaderFill_",Ub="BodyFill_",Wc=25,Hb=25,sc=0;if(null!=h.Lanes)sc=h.Lanes.length;else if(null!=h.PrimaryLane){for(var Tb=function(a){if(a)32>a?a=32:208<a&&(a=208);else return 0;return.6*a},sc=h.PrimaryLane.length,l=r=t=0;l<sc;l++)t+=h.PrimaryLane[l];for(l=0;l<h.SecondaryLane.length;l++)r+=h.SecondaryLane[l];Wc=Tb(h.PrimaryPoolTitleHeight);Hb=Tb(h.PrimaryLaneTitleHeight);t*=.6;r=.6*r+Wc+Hb;v.geometry.width=t;v.geometry.height=r;Ea="poolPrimaryTitleKey";eb="PrimaryLaneHeaderFill_";
Ub="CellFill_0,";Kb=h.PrimaryLaneTextAreaIds;if(null==Kb)for(Kb=[],l=0;l<sc;l++)Kb.push("Primary_"+l)}if(0==h.IsPrimaryLaneVertical){h.Rotation=-1.5707963267948966;var tc=v.geometry.x,Yc=v.geometry.y}var kd=0!=h.Rotation,Ld=0<Bb.indexOf("Pool"),md=0==Bb.indexOf("BPMN"),ld=null!=h[Ea];v.style=(Ld?"swimlane;startSize="+Wc+";":"fillColor=none;strokeColor=none;pointerEvents=0;")+"html=1;whiteSpace=wrap;container=1;collapsible=0;childLayout=stackLayout;resizeParent=1;dropTarget=0;"+(kd?"horizontalStack=0;":
"");v.style+=c(v.style,h,e,v);ld&&(v.value=g(h[Ea]),v.style+=(y?"":a(h[Ea])+d(h[Ea])+k(h[Ea])+w(h[Ea],v)+x(h[Ea])+z(h[Ea])+B(h[Ea])+C(h[Ea]))+A(h[Ea])+D(h[Ea]));for(var Kd=0,Ab=[],nd="swimlane;html=1;whiteSpace=wrap;container=1;connectable=0;collapsible=0;startSize="+Hb+";dropTarget=0;rounded=0;"+(kd?"horizontal=0;":"")+(md?"swimlaneLine=0;fillColor=none;":""),U=h.Rotation=0;U<sc;U++){if(null==Kb)var Xc=parseFloat(h.Lanes[U].p),l=parseInt(h.Lanes[U].tid)||U,Wa="Lane_"+l;else Xc=.6*h.PrimaryLane[U]/
t,l=U,Wa=Kb[U];var Od=t*Kd,Zc=Ld?Wc:0;Ab.push(new mxCell("",kd?new mxGeometry(Zc,Od,r-Zc,t*Xc):new mxGeometry(Od,Zc,t*Xc,r-Zc),nd));Ab[U].vertex=!0;v.insert(Ab[U]);Ab[U].value=g(h[Wa]);Ab[U].style+=c(Ab[U].style,h,e,Ab[U],y)+(y?"":a(h[Wa])+d(h[Wa])+k(h[Wa])+w(h[Wa],Ab[U])+x(h[Wa])+z(h[Wa])+B(h[Wa])+C(h[Wa]))+A(h[Wa])+D(h[Wa])+G(h[eb+l])+N(h[Ub+l]);Kd+=Xc}null!=tc&&(v.geometry.x=tc,v.geometry.y=Yc);break;case "UMLMultidimensionalSwimlane":var Wb=0,Xb=0,pd=null,qd=null;if(null!=h.Rows&&null!=h.Columns)var Wb=
h.Rows.length,Xb=h.Columns.length,vc=.6*h.TitleHeight||25,wc=.6*h.TitleWidth||25;else if(null!=h.PrimaryLane&&null!=h.SecondaryLane){Wb=h.SecondaryLane.length;Xb=h.PrimaryLane.length;wc=.6*h.SecondaryLaneTitleHeight||25;vc=.6*h.PrimaryLaneTitleHeight||25;for(l=r=t=0;l<Wb;l++)r+=h.SecondaryLane[l];for(l=0;l<Xb;l++)t+=h.PrimaryLane[l];t=.6*t+wc;r=.6*r+vc;v.geometry.width=t;v.geometry.height=r;pd=h.SecondaryLaneTextAreaIds;qd=h.PrimaryLaneTextAreaIds}v.style="group;";var rd=new mxCell("",new mxGeometry(0,
vc,t,r-vc),"fillColor=none;strokeColor=none;html=1;whiteSpace=wrap;container=1;collapsible=0;childLayout=stackLayout;resizeParent=1;dropTarget=0;horizontalStack=0;");rd.vertex=!0;var sd=new mxCell("",new mxGeometry(wc,0,t-wc,r),"fillColor=none;strokeColor=none;html=1;whiteSpace=wrap;container=1;collapsible=0;childLayout=stackLayout;resizeParent=1;dropTarget=0;");sd.vertex=!0;v.insert(rd);v.insert(sd);for(var na=0,od="swimlane;html=1;whiteSpace=wrap;container=1;connectable=0;collapsible=0;dropTarget=0;horizontal=0;startSize="+
wc+";",U=0;U<Wb;U++){if(null==pd)var td=.6*parseInt(h.Rows[U].height),l=parseInt(h.Rows[U].id)||U,Xa="Row_"+l;else td=.6*h.SecondaryLane[U],Xa=pd[U];var Lb=new mxCell("",new mxGeometry(0,na,t,td),od),na=na+td;Lb.vertex=!0;rd.insert(Lb);Lb.value=g(h[Xa]);Lb.style+=c(Lb.style,h,e,Lb,y)+(y?"":a(h[Xa])+d(h[Xa])+k(h[Xa])+w(h[Xa],Lb)+x(h[Xa])+z(h[Xa])+B(h[Xa])+C(h[Xa]))+A(h[Xa])+D(h[Xa])}for(var ye="swimlane;html=1;whiteSpace=wrap;container=1;connectable=0;collapsible=0;dropTarget=0;startSize="+vc+";",
U=pa=0;U<Xb;U++){if(null==qd)var gc=.6*parseInt(h.Columns[U].width),l=parseInt(h.Columns[U].id)||U,Ya="Column_"+l;else gc=.6*h.PrimaryLane[U],Ya=qd[U];var Mb=new mxCell("",new mxGeometry(pa,0,gc,r),ye),pa=pa+gc;Mb.vertex=!0;sd.insert(Mb);Mb.value=g(h[Ya]);Mb.style+=c(Mb.style,h,e,Mb,y)+(y?"":a(h[Ya])+d(h[Ya])+k(h[Ya])+w(h[Ya],Mb)+x(h[Ya])+z(h[Ya])+B(h[Ya])+C(h[Ya]))+A(h[Ya])+D(h[Ya])}break;case "AndroidDevice":if(null!=h.AndroidDeviceName){v.style="fillColor=#000000;strokeColor=#000000;";var Nb=null,
xc=null,yc=null;if("Tablet"==h.AndroidDeviceName||"Mini Tablet"==h.AndroidDeviceName||"custom"==h.AndroidDeviceName&&"Tablet"==h.CustomDeviceType)v.style+="shape=mxgraph.android.tab2;",Nb=new mxCell("",new mxGeometry(.112*t,.077*r,.77*t,.85*r),""),h.KeyboardShown&&(xc=new mxCell("",new mxGeometry(.112*t,.727*r,.77*t,.2*r),"shape=mxgraph.android.keyboard;")),h.FullScreen||(yc=new mxCell("",new mxGeometry(.112*t,.077*r,.77*t,.03*r),"shape=mxgraph.android.statusBar;strokeColor=#33b5e5;fillColor=#000000;fontColor=#33b5e5;fontSize="+
.015*r+";"));else if("Large Phone"==h.AndroidDeviceName||"Phone"==h.AndroidDeviceName||"custom"==h.AndroidDeviceName&&"Phone"==h.CustomDeviceType)v.style+="shape=mxgraph.android.phone2;",Nb=new mxCell("",new mxGeometry(.04*t,.092*r,.92*t,.816*r),""),h.KeyboardShown&&(xc=new mxCell("",new mxGeometry(.04*t,.708*r,.92*t,.2*r),"shape=mxgraph.android.keyboard;")),h.FullScreen||(yc=new mxCell("",new mxGeometry(.04*t,.092*r,.92*t,.03*r),"shape=mxgraph.android.statusBar;strokeColor=#33b5e5;fillColor=#000000;fontColor=#33b5e5;fontSize="+
.015*r+";"));Nb.vertex=!0;v.insert(Nb);"Dark"==h.Scheme?Nb.style+="fillColor=#111111;":"Light"==h.Scheme&&(Nb.style+="fillColor=#ffffff;");null!=xc&&(xc.vertex=!0,v.insert(xc));null!=yc&&(yc.vertex=!0,v.insert(yc))}v.style+=c(v.style,h,e,v);break;case "AndroidAlertDialog":var fb=new mxCell("",new mxGeometry(0,0,t,30),"strokeColor=none;fillColor=none;spacingLeft=9;");fb.vertex=!0;v.insert(fb);var ia=new mxCell("",new mxGeometry(0,25,t,10),"shape=line;strokeColor=#33B5E5;");ia.vertex=!0;v.insert(ia);
var zc=new mxCell("",new mxGeometry(0,30,t,r-30),"strokeColor=none;fillColor=none;verticalAlign=top;");zc.vertex=!0;v.insert(zc);var va=new mxCell("",new mxGeometry(0,r-25,.5*t,25),"fillColor=none;");va.vertex=!0;v.insert(va);var wa=new mxCell("",new mxGeometry(.5*t,r-25,.5*t,25),"fillColor=none;");wa.vertex=!0;v.insert(wa);fb.value=g(h.DialogTitle);fb.style+=m(h.DialogTitle,y);zc.value=g(h.DialogText);zc.style+=m(h.DialogText,y);va.value=g(h.Button_0);va.style+=m(h.Button_0,y);wa.value=g(h.Button_1);
wa.style+=m(h.Button_1,y);"Dark"==h.Scheme?(v.style+="strokeColor=#353535;fillColor=#282828;shadow=1;",va.style+="strokeColor=#353535;",wa.style+="strokeColor=#353535;"):(v.style+="strokeColor=none;fillColor=#ffffff;shadow=1;",va.style+="strokeColor=#E2E2E2;",wa.style+="strokeColor=#E2E2E2;");v.style+=c(v.style,h,e,v);break;case "AndroidDateDialog":case "AndroidTimeDialog":fb=new mxCell("",new mxGeometry(0,0,t,30),"strokeColor=none;fillColor=none;spacingLeft=9;");fb.vertex=!0;v.insert(fb);fb.value=
g(h.DialogTitle);fb.style+=m(h.DialogTitle,y);ia=new mxCell("",new mxGeometry(0,25,t,10),"shape=line;strokeColor=#33B5E5;");ia.vertex=!0;v.insert(ia);va=new mxCell("",new mxGeometry(0,r-25,.5*t,25),"fillColor=none;");va.vertex=!0;v.insert(va);va.value=g(h.Button_0);va.style+=m(h.Button_0,y);wa=new mxCell("",new mxGeometry(.5*t,r-25,.5*t,25),"fillColor=none;");wa.vertex=!0;v.insert(wa);wa.value=g(h.Button_1);wa.style+=m(h.Button_1,y);var hc=new mxCell("",new mxGeometry(.5*t-4,41,8,4),"shape=triangle;direction=north;");
hc.vertex=!0;v.insert(hc);var ic=new mxCell("",new mxGeometry(.25*t-4,41,8,4),"shape=triangle;direction=north;");ic.vertex=!0;v.insert(ic);var jc=new mxCell("",new mxGeometry(.75*t-4,41,8,4),"shape=triangle;direction=north;");jc.vertex=!0;v.insert(jc);var Ac=new mxCell("",new mxGeometry(.375*t,50,.2*t,15),"strokeColor=none;fillColor=none;");Ac.vertex=!0;v.insert(Ac);Ac.value=g(h.Label_1);Ac.style+=m(h.Label_1,y);var Bc=new mxCell("",new mxGeometry(.125*t,50,.2*t,15),"strokeColor=none;fillColor=none;");
Bc.vertex=!0;v.insert(Bc);Bc.value=g(h.Label_0);Bc.style+=m(h.Label_0,y);var kc=null;"AndroidDateDialog"==b.Class&&(kc=new mxCell("",new mxGeometry(.625*t,50,.2*t,15),"strokeColor=none;fillColor=none;"),kc.vertex=!0,v.insert(kc),kc.value=g(h.Label_2),kc.style+=m(h.Label_2,y));var Ja=new mxCell("",new mxGeometry(.43*t,60,.14*t,10),"shape=line;strokeColor=#33B5E5;");Ja.vertex=!0;v.insert(Ja);var Ka=new mxCell("",new mxGeometry(.18*t,60,.14*t,10),"shape=line;strokeColor=#33B5E5;");Ka.vertex=!0;v.insert(Ka);
var Pd=new mxCell("",new mxGeometry(.68*t,60,.14*t,10),"shape=line;strokeColor=#33B5E5;");Pd.vertex=!0;v.insert(Pd);var Cc=new mxCell("",new mxGeometry(.375*t,65,.2*t,15),"strokeColor=none;fillColor=none;");Cc.vertex=!0;v.insert(Cc);Cc.value=g(h.Label_4);Cc.style+=m(h.Label_4,y);var lc=null;"AndroidTimeDialog"==b.Class&&(lc=new mxCell("",new mxGeometry(.3*t,65,.1*t,15),"strokeColor=none;fillColor=none;"),lc.vertex=!0,v.insert(lc),lc.value=g(h.Label_Colon),lc.style+=m(h.Label_Colon,y));var Dc=new mxCell("",
new mxGeometry(.125*t,65,.2*t,15),"strokeColor=none;fillColor=none;");Dc.vertex=!0;v.insert(Dc);Dc.value=g(h.Label_3);Dc.style+=m(h.Label_3,y);var Ec=new mxCell("",new mxGeometry(.625*t,65,.2*t,15),"strokeColor=none;fillColor=none;");Ec.vertex=!0;v.insert(Ec);Ec.value=g(h.Label_5);Ec.style+=m(h.Label_5,y);var Qd=new mxCell("",new mxGeometry(.43*t,75,.14*t,10),"shape=line;strokeColor=#33B5E5;");Qd.vertex=!0;v.insert(Qd);var Rd=new mxCell("",new mxGeometry(.18*t,75,.14*t,10),"shape=line;strokeColor=#33B5E5;");
Rd.vertex=!0;v.insert(Rd);var Sd=new mxCell("",new mxGeometry(.68*t,75,.14*t,10),"shape=line;strokeColor=#33B5E5;");Sd.vertex=!0;v.insert(Sd);var Fc=new mxCell("",new mxGeometry(.375*t,80,.2*t,15),"strokeColor=none;fillColor=none;");Fc.vertex=!0;v.insert(Fc);Fc.value=g(h.Label_7);Fc.style+=m(h.Label_7,y);var Gc=new mxCell("",new mxGeometry(.125*t,80,.2*t,15),"strokeColor=none;fillColor=none;");Gc.vertex=!0;v.insert(Gc);Gc.value=g(h.Label_6);Gc.style+=m(h.Label_6,y);var Hc=new mxCell("",new mxGeometry(.625*
t,80,.2*t,15),"strokeColor=none;fillColor=none;");Hc.vertex=!0;v.insert(Hc);Hc.value=g(h.Label_8);Hc.style+=m(h.Label_8,y);var mc=new mxCell("",new mxGeometry(.5*t-4,99,8,4),"shape=triangle;direction=south;");mc.vertex=!0;v.insert(mc);var nc=new mxCell("",new mxGeometry(.25*t-4,99,8,4),"shape=triangle;direction=south;");nc.vertex=!0;v.insert(nc);var oc=new mxCell("",new mxGeometry(.75*t-4,99,8,4),"shape=triangle;direction=south;");oc.vertex=!0;v.insert(oc);"Dark"==h.Scheme?(v.style+="strokeColor=#353535;fillColor=#282828;shadow=1;",
va.style+="strokeColor=#353535;",wa.style+="strokeColor=#353535;",hc.style+="strokeColor=none;fillColor=#7E7E7E;",ic.style+="strokeColor=none;fillColor=#7E7E7E;",jc.style+="strokeColor=none;fillColor=#7E7E7E;",mc.style+="strokeColor=none;fillColor=#7E7E7E;",nc.style+="strokeColor=none;fillColor=#7E7E7E;",oc.style+="strokeColor=none;fillColor=#7E7E7E;"):(v.style+="strokeColor=none;fillColor=#ffffff;shadow=1;",va.style+="strokeColor=#E2E2E2;",wa.style+="strokeColor=#E2E2E2;",hc.style+="strokeColor=none;fillColor=#939393;",
ic.style+="strokeColor=none;fillColor=#939393;",jc.style+="strokeColor=none;fillColor=#939393;",mc.style+="strokeColor=none;fillColor=#939393;",nc.style+="strokeColor=none;fillColor=#939393;",oc.style+="strokeColor=none;fillColor=#939393;");v.style+=c(v.style,h,e,v);break;case "AndroidListItems":var Fa=r,Cb=0;if(h.ShowHeader){var Cb=8,Ic=new mxCell("",new mxGeometry(0,0,t,Cb),"strokeColor=none;fillColor=none;");Ic.vertex=!0;v.insert(Ic);Ic.value=g(h.Header);Ic.style+=m(h.Header,y);var Fa=Fa-Cb,Td=
new mxCell("",new mxGeometry(0,Cb-2,t,4),"shape=line;strokeColor=#999999;");Td.vertex=!0;v.insert(Td)}var gb=parseInt(h.Items);0<gb&&(Fa/=gb);for(var I=[],ia=[],l=0;l<gb;l++)I[l]=new mxCell("",new mxGeometry(0,Cb+l*Fa,t,Fa),"strokeColor=none;fillColor=none;"),I[l].vertex=!0,v.insert(I[l]),I[l].value=g(h["Item_"+l]),I[l].style+=m(h["Item_"+l],y),0<l&&(ia[l]=new mxCell("",new mxGeometry(0,Cb+l*Fa-2,t,4),"shape=line;"),ia[l].vertex=!0,v.insert(ia[l]),ia[l].style="Dark"==h.Scheme?ia[l].style+"strokeColor=#ffffff;":
ia[l].style+"strokeColor=#D9D9D9;");v.style="Dark"==h.Scheme?v.style+"strokeColor=none;fillColor=#111111;":v.style+"strokeColor=none;fillColor=#ffffff;";v.style+=c(v.style,h,e,v);break;case "AndroidTabs":var hb=parseInt(h.Tabs),Pa=t;0<hb&&(Pa/=hb);for(var ga=[],ia=[],l=0;l<hb;l++)ga[l]=new mxCell("",new mxGeometry(l*Pa,0,Pa,r),"strokeColor=none;fillColor=none;"),ga[l].vertex=!0,v.insert(ga[l]),ga[l].value=g(h["Tab_"+l]),ga[l].style+=m(h["Tab_"+l],y),0<l&&(ia[l]=new mxCell("",new mxGeometry(l*Pa-2,
.2*r,4,.6*r),"shape=line;direction=north;"),ia[l].vertex=!0,v.insert(ia[l]),ia[l].style="Dark"==h.Scheme?ia[l].style+"strokeColor=#484848;":ia[l].style+"strokeColor=#CCCCCC;");var Ud=new mxCell("",new mxGeometry(h.Selected*Pa+2,r-3,Pa-4,3),"strokeColor=none;fillColor=#33B5E5;");Ud.vertex=!0;v.insert(Ud);v.style="Dark"==h.Scheme?v.style+"strokeColor=none;fillColor=#333333;":v.style+"strokeColor=none;fillColor=#DDDDDD;";v.style+=c(v.style,h,e,v);break;case "AndroidProgressBar":v=new mxCell("",new mxGeometry(Math.round(pa),
Math.round(na+.25*r),Math.round(t),Math.round(.5*r)),"html=1;whiteSpace=wrap;");v.vertex=!0;var Jc=new mxCell("",new mxGeometry(0,0,t*h.BarPosition,Math.round(.5*r)),"strokeColor=none;fillColor=#33B5E5;");Jc.vertex=!0;v.insert(Jc);v.style="Dark"==h.Scheme?v.style+"strokeColor=none;fillColor=#474747;":v.style+"strokeColor=none;fillColor=#BBBBBB;";v.style+=c(v.style,h,e,v);break;case "AndroidImageBlock":v.style="Dark"==h.Scheme?v.style+"shape=mxgraph.mockup.graphics.simpleIcon;strokeColor=#7E7E7E;fillColor=#111111;":
v.style+"shape=mxgraph.mockup.graphics.simpleIcon;strokeColor=#939393;fillColor=#ffffff;";v.style+=c(v.style,h,e,v);break;case "AndroidTextBlock":v.style="Dark"==h.Scheme?h.ShowBorder?v.style+"fillColor=#111111;strokeColor=#ffffff;":v.style+"fillColor=#111111;strokeColor=none;":h.ShowBorder?v.style+"fillColor=#ffffff;strokeColor=#000000;":v.style+"fillColor=#ffffff;strokeColor=none;";v.value=g(h.Label);v.style+=m(h.Label,y);v.style+=c(v.style,h,e,v,y);break;case "AndroidActionBar":v.style+="strokeColor=none;";
"square";break;case "heart":b+="disc";break;default:b+="decimal"}b+='">'}null!=d&&(b+='<li style="text-align:'+(a.a?a.a.v:"left")+">",E.push("li"),b+='<span style="',E.push("span"));k=d="";if(!y){var n=a.a?a.a.v:"center";"center"==n?(d="margin-left: -100%;",k="margin-right: -100%;"):"right"==n&&(d="margin-left: -100%;");b+="text-align: "+n+";"}a.il&&(d="margin-left: "+Math.round(.6*a.il.v-(y?21:0))+"px;");a.ir&&(k="margin-right: "+Math.round(.6*a.ir.v)+"px;");a.mt&&(b+="margin-top: "+Math.round(.6*
a.mt.v)+"px;");a.mb&&(b+="margin-bottom: "+Math.round(.6*a.mb.v)+"px;");return b+(d+k+'">')}function k(a){if(0==Object.keys(a).length)return"";var b="",d=0;if(a.lk){var k=a.lk;null!=k.v&&0<k.v.length&&"ext"==k.v[0].tp&&(b+='<a href="'+k.v[0].url+'">',C.push("a"),d++)}b+='<span style="';C.push("span");d++;a.s&&(b+="font-size:"+Math.floor(.6*a.s.v)+"px;");a.c&&(k=a.c.v,null!=k&&("#"!=k.charAt(0)&&(k="#"+k),k=k.substring(0,7),b+="color:"+k+";"));if(a.b&&a.b.v||a.fc&&a.fc.v&&0==a.fc.v.indexOf("Bold"))b+=
"font-weight: bold;";a.i&&a.i.v&&(b+="font-style: italic;");a.u&&a.u.v&&(b+="text-decoration: underline;");b+='">';D.push(d);return b}function c(a){var b="";do{var d=E.pop();if(!a&&y&&("ul"==d||"ol"==d)){E.push(d);break}b+="</"+d+">"}while(0<E.length);return b}function n(a,b,d,k){a=a?a.substring(b,d):"";y&&(a=a.trim());a=a.replace(/</g,"&lt;").replace(/>/g,"&gt;");do for(b=D.pop(),d=0;d<b;d++){var n=C.pop();a+="</"+n+">"}while(k&&0<C.length);return a}var f={a:!0,il:!0,ir:!0,mt:!0,mb:!0,p:!0,t:!0,
l:!0},w={lk:!0,s:!0,c:!0,b:!0,fc:!0,i:!0,u:!0};b.sort(function(a,b){return a.s-b.s});var m=b.filter(function(a){return w[a.n]}),x=b.filter(function(a){return f[a.n]}),z="",g=m.slice();g.sort(function(a,b){return a.e-b.e});for(var p=0,Ta=0,B=0,e={},A={},C=[],D=[],E=[],R=!1,y=!1,l,eb=0,W=0,N=a.length,ca=!0;B<x.length||ca;){ca=!1;if(B<x.length){var M=x[B],S=x[B].s;R&&(A={},z+=n(a,N,eb,!0),eb=N,z+=c());for(;null!=M&&M.s==S;)A[M.n]=M,M=x[++B];N=null!=M?M.s:a.length;z+=d(A);R&&(z+=k(e));R=!0}for(;p>=Ta&&
(p<m.length||Ta<g.length);)if(M=m[p],S=g[Ta],M&&S&&M.s<S.e){if(M.s>N)break;eb=M.s;for(0<eb-W&&(z+=n(a,W,eb));null!=M&&M.s==eb;)e[M.n]=M,M=m[++p];z+=k(e)}else if(S){if(S.e>N)break;W=S.e;do delete e[S.n],S=g[++Ta];while(null!=S&&S.e==W);z+=n(a,eb,W);eb=W}else break}z+=n(null,null,null,!0);R&&(z+=c(!0));return z}function g(a){y=!1;var b=null!=a.Text?a.Text:null!=a.Value?a.Value:a.Lane_0;null==b&&null!=a.State?null!=a.State.t&&(b=a.State):null==b&&null!=a.Note?null!=a.Note.t&&(b=a.Note):null==b&&null!=
a.Title?null!=a.Title.t&&(b=a.Title):null!=a.t&&(b=a);null==b&&null!=a.TextAreas?null!=a.TextAreas.Text&&null!=a.TextAreas.Text.Value&&null!=a.TextAreas.Text.Value.t&&(b=a.TextAreas.Text.Value):null==b&&null!=a.t0&&null!=a.t0.t&&(b=a.t0);if(null!=b){if(null!=b.t){a=b.t;a=a.replace(/\u2028/g,"\n");b=b.m;try{for(var d=0;d<b.length;d++)if(0<b[d].s||null!=b[d].e&&b[d].e<a.length){y=!0;break}if(y)return f(a,b)}catch(Sb){console.log(Sb)}a=a.replace(/</g,"&lt;");return a=a.replace(/>/g,"&gt;")}if(null!=
b.Value&&null!=b.Value.t)return b.Value.t=b.Value.t.replace(/</g,"&lt;"),b.Value.t=b.Value.t.replace(/>/g,"&gt;"),b.Value.t}return""}function p(a){return null!=a.Action?a.Action:a}function e(a){if(null!=a.Text){if(null!=a.Text.m)return a.Text.m}else if(null!=a.TextAreas){if(null!=a.TextAreas.Text&&null!=a.TextAreas.Text.Value&&null!=a.TextAreas.Text.Value.m)return a.TextAreas.Text.Value.m}else{if(null!=a.m)return a.m;if(null!=a.Title&&null!=a.Title.m)return a.Title.m}return null}function m(b,n){return"whiteSpace=wrap;"+
(n?"html=1;":a(b)+d(b)+k(b)+w(b)+x(b)+z(b)+B(b)+C(b))+A(b)+D(b)}function c(a,d,k,n,c){var h="";null!=a&&""!=a&&";"!=a.charAt(a.length-1)&&(h=";");return h+="whiteSpace=wrap;"+(c?tc(a,"html")?"":"html=1;":b(mxConstants.STYLE_FONTSIZE,a,d,k,n)+b(mxConstants.STYLE_FONTCOLOR,a,d,k,n)+b(mxConstants.STYLE_FONTSTYLE,a,d,k,n)+b(mxConstants.STYLE_ALIGN,a,d,k,n)+b(mxConstants.STYLE_SPACING_LEFT,a,d,k,n)+b(mxConstants.STYLE_SPACING_RIGHT,a,d,k,n)+b(mxConstants.STYLE_SPACING_TOP,a,d,k,n)+b(mxConstants.STYLE_SPACING_BOTTOM,
a,d,k,n))+b(mxConstants.STYLE_SPACING,a,d,k,n)+b(mxConstants.STYLE_VERTICAL_ALIGN,a,d,k,n)+b(mxConstants.STYLE_STROKECOLOR,a,d,k,n)+b(mxConstants.STYLE_OPACITY,a,d,k,n)+b(mxConstants.STYLE_ROUNDED,a,d,k,n)+b(mxConstants.STYLE_ROTATION,a,d,k,n)+b(mxConstants.STYLE_FLIPH,a,d,k,n)+b(mxConstants.STYLE_FLIPV,a,d,k,n)+b(mxConstants.STYLE_SHADOW,a,d,k,n)+b(mxConstants.STYLE_FILLCOLOR,a,d,k,n)+b(mxConstants.STYLE_DASHED,a,d,k,n)+b(mxConstants.STYLE_STROKEWIDTH,a,d,k,n)+b(mxConstants.STYLE_IMAGE,a,d,k,n)}
function b(b,n,c,f,h){if(!tc(n,b))switch(b){case mxConstants.STYLE_FONTSIZE:return a(c);case mxConstants.STYLE_FONTCOLOR:return d(c);case mxConstants.STYLE_FONTSTYLE:return k(c);case mxConstants.STYLE_ALIGN:return w(c);case mxConstants.STYLE_SPACING_LEFT:return x(c);case mxConstants.STYLE_SPACING_RIGHT:return z(c);case mxConstants.STYLE_SPACING_TOP:return B(c);case mxConstants.STYLE_SPACING_BOTTOM:return C(c);case mxConstants.STYLE_SPACING:return A(c);case mxConstants.STYLE_VERTICAL_ALIGN:return D(c);
case mxConstants.STYLE_STROKECOLOR:return E(c,f);case mxConstants.STYLE_OPACITY:return O(c,f,h);case mxConstants.STYLE_ROUNDED:return b=!h.edge&&!h.style.includes("rounded")&&null!=c.Rounding&&0<c.Rounding?"rounded=1;absoluteArcSize=1;arcSize="+Math.round(.6*c.Rounding)+";":"",b;case mxConstants.STYLE_ROTATION:return R(c,f,h);case mxConstants.STYLE_FLIPH:return b=c.FlipX?"flipH=1;":"",b;case mxConstants.STYLE_FLIPV:return b=c.FlipY?"flipV=1;":"",b;case mxConstants.STYLE_SHADOW:return ca(c);case mxConstants.STYLE_FILLCOLOR:return M(c,
f);case mxConstants.STYLE_DASHED:return ma(c);case mxConstants.STYLE_STROKEWIDTH:return ea(c);case mxConstants.STYLE_IMAGE:return ec(c,f)}return""}function a(a){a=e(a);if(null!=a)for(var b=0;b<a.length;){var d=a[b];if("s"==d.n&&null!=d.v)return"fontSize="+Math.floor(.6*d.v)+";";b++}return"fontSize=11;"}function d(a){a=e(a);if(null!=a)for(var b=0;b<a.length;){var d=a[b];if("c"==d.n&&null!=d.v)return a=d.v,"#"!=a.charAt(0)&&(a="#"+a),a=a.substring(0,7),mxConstants.STYLE_FONTCOLOR+"="+a+";";b++}return""}
function k(a){return n(e(a))}function n(a){if(null!=a){var b=0,d=!1;if(null!=a)for(var k=0;!d&&k<a.length;){var n=a[k];"b"==n.n?null!=n.v&&n.v&&(d=!0,b+=1):"fc"==n.n&&"Bold"==n.v&&(d=!0,b+=1);k++}d=!1;if(null!=a)for(k=0;!d&&k<a.length;)n=a[k],"i"==n.n&&null!=n.v&&n.v&&(d=!0,b+=2),k++;d=!1;if(null!=a)for(k=0;!d&&k<a.length;)n=a[k],"u"==n.n&&null!=n.v&&n.v&&(d=!0,b+=4),k++;if(0<b)return"fontStyle="+b+";"}return""}function w(a){a=e(a);if(null!=a)for(var b=0;b<a.length;){var d=a[b];if("a"==d.n&&null!=
d.v)return"align="+d.v+";";b++}return""}function x(a){var b=e(a);if(null!=b)for(var d=0;d<b.length;){var k=b[d];if(null!=k.v){if("il"==k.n)return"spacingLeft="+.6*k.v+";";w(a)}d++}return""}function z(a){a=e(a);if(null!=a)for(var b=0;b<a.length;){var d=a[b];if("ir"==d.n&&null!=d.v)return"spacingRight="+d.v+";";b++}return""}function B(a){a=e(a);if(null!=a)for(var b=0;b<a.length;){var d=a[b];if("mt"==d.n&&null!=d.v)return"spacingTop="+d.v+";";b++}return""}function C(a){a=e(a);if(null!=a)for(var b=0;b<
a.length;){var d=a[b];if("mb"==d.n&&null!=d.v)return"spacingBottom="+d.v+";";b++}return""}function A(a){return"number"===typeof a.InsetMargin?"spacing="+Math.max(0,Math.round(.6*parseInt(a.InsetMargin)))+";":""}function D(a){return null!=a.Text_VAlign&&"string"===typeof a.Text_VAlign?"verticalAlign="+a.Text_VAlign+";":null!=a.Title_VAlign&&"string"===typeof a.Title_VAlign?"verticalAlign="+a.Title_VAlign+";":Da(mxConstants.STYLE_VERTICAL_ALIGN,a.TextVAlign,"middle")}function E(a,b){return 0==a.LineWidth?
mxConstants.STYLE_STROKECOLOR+"=none;":Da(mxConstants.STYLE_STROKECOLOR,W(a.LineColor),"#000000")}function G(a){return null!=a?mxConstants.STYLE_FILLCOLOR+"="+W(a)+";":""}function N(a){return null!=a?"swimlaneFillColor="+W(a)+";":""}function O(a,b,d){b="";if("string"===typeof a.LineColor&&7<a.LineColor.length){var k="0x"+a.LineColor.substring(a.LineColor.length-2,a.LineColor.length);d.style.includes("strokeOpacity")||(b+="strokeOpacity="+Math.round(parseInt(k)/2.55)+";")}"string"===typeof a.FillColor&&
7<a.FillColor.length&&(a="0x"+a.FillColor.substring(a.FillColor.length-2,a.FillColor.length),d.style.includes("fillOpacity")||(b+="fillOpacity="+Math.round(parseInt(a)/2.55)+";"));return b}function R(a,b,d){var k="";if(null!=a.Rotation){a=mxUtils.toDegree(parseFloat(a.Rotation));var n=!0;0!=a&&("UMLSwimLaneBlockV2"==b.Class||(0<=b.Class.indexOf("Rotated")||-90==a||270==a)&&(0<=b.Class.indexOf("Pool")||0<=b.Class.indexOf("SwimLane")))?(a+=90,d.geometry.rotate90(),n=!1):0<=mxUtils.indexOf(md,b.Class)?
(a-=90,d.geometry.rotate90()):0<=mxUtils.indexOf(nd,b.Class)&&(a+=180);0!=a&&(k+="rotation="+a+";");n||(k+="horizontal=0;")}return k}function ca(a){return null!=a.Shadow?mxConstants.STYLE_SHADOW+"=1;":""}function W(a){(a=a?a.substring(0,7):null)&&"#"!=a.charAt(0)&&"r"!=a.charAt(0).toLowerCase()&&(a="#"+a);return a}function S(a,b){return a&&7<a.length?b+"="+Math.round(parseInt("0x"+a.substr(7))/2.55)+";":""}function M(a,b){if(null!=a.FillColor)if("object"===typeof a.FillColor){if(null!=a.FillColor.cs&&
1<a.FillColor.cs.length)return Da(mxConstants.STYLE_FILLCOLOR,W(a.FillColor.cs[0].c))+Da(mxConstants.STYLE_GRADIENTCOLOR,W(a.FillColor.cs[1].c))}else return"string"===typeof a.FillColor?Da(mxConstants.STYLE_FILLCOLOR,W(a.FillColor),"#FFFFFF"):Da(mxConstants.STYLE_FILLCOLOR,"none");return""}function ma(a){return"dotted"==a.StrokeStyle?"dashed=1;dashPattern=1 4;":"dashdot"==a.StrokeStyle?"dashed=1;dashPattern=10 5 1 5;":"dashdotdot"==a.StrokeStyle?"dashed=1;dashPattern=10 5 1 5 1 5;":"dotdotdot"==a.StrokeStyle?
"dashed=1;dashPattern=1 2;":"longdash"==a.StrokeStyle?"dashed=1;dashPattern=16 6;":"dashlongdash"==a.StrokeStyle?"dashed=1;dashPattern=10 6 16 6;":"dashed24"==a.StrokeStyle?"dashed=1;dashPattern=3 8;":"dashed32"==a.StrokeStyle?"dashed=1;dashPattern=6 5;":"dashed44"==a.StrokeStyle?"dashed=1;dashPattern=8 8;":null!=a.StrokeStyle&&"dashed"==a.StrokeStyle.substring(0,6)?"dashed=1;":""}function ea(a){return null!=a.LineWidth?Da(mxConstants.STYLE_STROKEWIDTH,Math.round(.6*parseFloat(a.LineWidth)),"1"):
""}function ec(a,b,d){"ImageSearchBlock2"==b.Class?d=a.URL:"UserImage2Block"==b.Class&&null!=a.ImageFillProps&&null!=a.ImageFillProps.url?d=a.ImageFillProps.url:a.FillColor&&a.FillColor.url&&(d=a.FillColor.url);if(null!=d){if(null!=LucidImporter.imgSrcRepl)for(a=0;a<LucidImporter.imgSrcRepl.length;a++)b=LucidImporter.imgSrcRepl[a],d=d.replace(b.searchVal,b.replVal);return"image="+d+";"}return""}function ja(a,b,d,k){for(var n=b,c=0;null!=k.getAttributeForCell(a,n);)c++,n=b+"_"+c;k.setAttributeForCell(a,
n,null!=d?d:"")}function fc(a,b,d,k,n,f){var h=p(b);if(null!=h){var w=Hb[h.Class];null!=w?a.style+=w+";":a.edge||(console.log("No mapping found for: "+h.Class),LucidImporter.hasUnknownShapes=!0);w=null!=h.Properties?h.Properties:h;if(null!=w){a.value=f?"":g(w);a.style+=c(a.style,w,h,a,y);a.style.includes("strokeColor")||(a.style+=E(w,h));if(null!=w.Link&&0<w.Link.length&&"ext"==w.Link[0].tp)d.setAttributeForCell(a,"link",w.Link[0].url);else if(null!=w.Text){a:{f=e(w.Text);if(null!=f)for(var x=0;x<
f.length;x++)if(f[x].n=null!=f[x].v&&0<f[x].v.length&&"ext"==f[x].v[0].tp){f=f[x].v[0].url;break a}f=null}null!=f&&d.setAttributeForCell(a,"link",f)}f=[];var x=d.convertValueToString(a),z=!1;if(null!=x){for(var B=0;match=od.exec(x);){var Sb=match[0],z=!0;if(2<Sb.length){var C=Sb.substring(2,Sb.length-2);"documentName"==C?C="filename":"pageName"==C?C="page":"totalPages"==C?C="pagecount":"page"==C?C="pagenumber":"date:"==C.substring(0,5)?C="date{"+C.substring(5).replace(/MMMM/g,"mmmm").replace(/MM/g,
"mm").replace(/YYYY/g,"yyyy")+"}":"lastModifiedTime"==C.substring(0,16)?C=C.replace(/MMMM/g,"mmmm").replace(/MM/g,"mm").replace(/YYYY/g,"yyyy"):"i18nDate:"==C.substring(0,9)&&(C="date{"+C.substring(9).replace(/i18nShort/g,"shortDate").replace(/i18nMediumWithTime/g,"mmm d, yyyy hh:MM TT")+"}");C="%"+C+"%";f.push(x.substring(B,match.index)+(null!=C?C:Sb));B=match.index+Sb.length}}z&&(f.push(x.substring(B)),d.setAttributeForCell(a,"label",f.join("")),d.setAttributeForCell(a,"placeholders","1"))}for(var A in w)if(w.hasOwnProperty(A)&&
A.toString().startsWith("ShapeData_"))try{var D=w[A],R=mxUtils.trim(D.Label).replace(/[^a-z0-9]+/ig,"_").replace(/^\d+/,"").replace(/_+$/,"");ja(a,R,D.Value,d)}catch(xe){window.console&&console.log("Ignored "+A+":",xe)}w.Title&&w.Text&&"ExtShape"!=h.Class.substr(0,8)&&(h=a.geometry,h=new mxCell(g(w.Title),new mxGeometry(0,h.height,h.width,10),"strokeColor=none;fillColor=none;"),h.vertex=!0,a.insert(h),h.style+=m(w.Title,y));if(a.edge){a.style=null!=w.Rounding&&"diagonal"!=w.Shape?a.style+("rounded=1;arcSize="+
w.Rounding+";"):a.style+"rounded=0;";if("diagonal"!=w.Shape)if(null!=w.ElbowPoints&&0<w.ElbowPoints.length)for(a.geometry.points=[],h=0;h<w.ElbowPoints.length;h++)a.geometry.points.push(new mxPoint(Math.round(.6*w.ElbowPoints[h].x+Ib),Math.round(.6*w.ElbowPoints[h].y+Jb)));else"elbow"==w.Shape?a.style+="edgeStyle=orthogonalEdgeStyle;":null!=w.Endpoint1.Block&&null!=w.Endpoint2.Block&&(a.style+="edgeStyle=orthogonalEdgeStyle;","curve"==w.Shape&&(a.style+="curved=1;"));if(w.LineJumps||LucidImporter.globalProps.LineJumps)a.style+=
"jumpStyle=arc;";null!=w.Endpoint1.Style&&(null!=Tb[w.Endpoint1.Style]?a.style+="startArrow="+Tb[w.Endpoint1.Style]+";":(LucidImporter.hasUnknownShapes=!0,window.console&&console.log("Unknown endpoint style: "+w.Endpoint1.Style)));null!=w.Endpoint2.Style&&(null!=Tb[w.Endpoint2.Style]?a.style+="endArrow="+Tb[w.Endpoint2.Style].replace(/startSize/g,"endSize")+";":(LucidImporter.hasUnknownShapes=!0,window.console&&console.log("Unknown endpoint style: "+w.Endpoint2.Style)));A=null!=w.ElbowControlPoints&&
0<w.ElbowControlPoints.length?w.ElbowControlPoints:null!=w.BezierJoints&&0<w.BezierJoints.length?w.BezierJoints:w.Joints;if(null!=A)for(a.geometry.points=[],h=0;h<A.length;h++)D=A[h].p?A[h].p:A[h],a.geometry.points.push(new mxPoint(Math.round(.6*D.x+Ib),Math.round(.6*D.y+Jb)));A=!1;null!=a.geometry.points&&0!=a.geometry.points.length||null==w.Endpoint1.Block||w.Endpoint1.Block!=w.Endpoint2.Block||null==k||null==n||(A=new mxPoint(Math.round(k.geometry.x+k.geometry.width*w.Endpoint1.LinkX),Math.round(k.geometry.y+
k.geometry.height*w.Endpoint1.LinkY)),D=new mxPoint(Math.round(n.geometry.x+n.geometry.width*w.Endpoint2.LinkX),Math.round(n.geometry.y+n.geometry.height*w.Endpoint2.LinkY)),Ib=A.x==D.x?Math.abs(A.x-k.geometry.x)<k.geometry.width/2?-20:20:0,Jb=A.y==D.y?Math.abs(A.y-k.geometry.y)<k.geometry.height/2?-20:20:0,h=new mxPoint(A.x+Ib,A.y+Jb),R=new mxPoint(D.x+Ib,D.y+Jb),h.generated=!0,R.generated=!0,a.geometry.points=[h,R],A=A.x==D.x);h=Bb(a,w.Endpoint1,!0,A);null!=k&&null!=h&&(null==k.stylePoints&&(k.stylePoints=
[]),k.stylePoints.push(h),LucidImporter.stylePointsSet.add(k));R=Bb(a,w.Endpoint2,!1,A);null!=n&&null!=R&&(null==n.stylePoints&&(n.stylePoints=[]),n.stylePoints.push(R),LucidImporter.stylePointsSet.add(n))}}}null!=b.id&&ja(a,"lucidchartObjectId",b.id,d)}function uc(a,b){var d=p(a),k=d.Properties,n=k.BoundingBox;null==a.Class||"AWS"!==a.Class.substring(0,3)&&"Amazon"!==a.Class.substring(0,6)||a.Class.includes("AWS19")||(n.h-=20);v=new mxCell("",new mxGeometry(Math.round(.6*n.x+Ib),Math.round(.6*n.y+
Jb),Math.round(.6*n.w),Math.round(.6*n.h)),"html=1;overflow=block;whiteSpace=wrap;");v.vertex=!0;fc(v,a,b);v.zOrder=k.ZOrder;null!=v&&0<=v.style.indexOf(";grIcon=")&&(n=new mxCell("",new mxGeometry(v.geometry.x,v.geometry.y,v.geometry.width,v.geometry.height),"html=1;overflow=block;whiteSpace=wrap;"),n.vertex=!0,n.style+=c(n.style,k,d,n),v.geometry.x=0,v.geometry.y=0,v.style+="part=1;",n.insert(v),v=n);Md(v,k);return v}function pa(a,b,d,k){var n=new mxCell("",new mxGeometry(0,0,100,100),"html=1;jettySize=18;");
n.geometry.relative=!0;n.edge=!0;fc(n,a,b,d,k,!0);b=p(a).Properties;d=null!=b?b.TextAreas:a.TextAreas;if(null!=d){for(k=0;null!=d["t"+k];){var c=d["t"+k],n=na(c,n);k++}for(k=0;null!=d["m"+k]||1>k;)c=d["m"+k],null!=c&&(n=na(c,n,a)),k++;null!=d.Text&&(n=na(d.Text,n,a));d=null!=b?b.TextAreas:a.TextAreas;null!=d.Message&&(n=na(d.Message,n,a))}return n}function na(a,b,d){var k=2*(parseFloat(a.Location)-.5);isNaN(k)&&null!=a.Text&&null!=a.Text.Location&&(k=2*(parseFloat(a.Text.Location)-.5));d=mxCell;var c=
g(a),k=new mxGeometry(isNaN(k)?0:k,0,0,0),f="11",w="";if(null!=a&&null!=a.Value&&null!=a.Value.m)for(var w=n(a.Value.m),m=0;m<a.Value.m.length;m++)if("s"==a.Value.m[m].n)f=.6*parseFloat(a.Value.m[m].v);else if("c"==a.Value.m[m].n){var x=a.Value.m[m].v;null!=x&&("#"!=x.charAt(0)&&(x="#"+x),x=x.substring(0,7));w+="fontColor="+x+";"}a=new d(c,k,"text;html=1;resizable=0;labelBackgroundColor=#ffffff;align=center;verticalAlign=middle;"+(w+";fontSize="+f+";"));a.geometry.relative=!0;a.vertex=!0;b.insert(a);
return b}function Da(a,b,d,k){null!=b&&null!=k&&(b=k(b));return null!=b&&b!=d?a+"="+b+";":""}function Bb(a,b,d,k,n){if(null!=b&&null!=b.LinkX&&null!=b.LinkY&&(b.LinkX=Math.round(1E3*b.LinkX)/1E3,b.LinkY=Math.round(1E3*b.LinkY)/1E3,a.style+=(k?"":(d?"exitX":"entryX")+"="+b.LinkX+";")+(n?"":(d?"exitY":"entryY")+"="+b.LinkY+";")+(d?"exitPerimeter":"entryPerimeter")+"=0;",b.Inside))return"["+b.LinkX+","+b.LinkY+",0]"}function Ea(a,b,d){try{null!=a.Action&&null!=a.Action.Properties&&(a=a.Action.Properties);
var k=new mxCell("",new mxGeometry,"group;dropTarget=0;");k.vertex=!0;var n=Infinity,c=Infinity,f=-Infinity,w=-Infinity,m=a.Members,x=[],z;for(z in m){var g=b[z];null!=g?x.push(g):d[z]=k}x.sort(function(a,b){var d=a.zOrder,k=b.zOrder;return null!=d&&null!=k?d-k:0});for(b=0;b<x.length;b++)g=x[b],n=Math.min(n,g.geometry.x),c=Math.min(c,g.geometry.y),f=Math.max(f,g.geometry.x+g.geometry.width),w=Math.max(w,g.geometry.y+g.geometry.height),g.parent=k,k.insert(g,b);k.geometry.x=n;k.geometry.y=c;k.geometry.width=
f-n;k.geometry.height=w-c;if(null!=k.children)for(b=0;b<k.children.length;b++){var p=k.children[b].geometry;p.x-=n;p.y-=c}a.IsState?k.lucidLayerInfo={name:a.Name,visible:!a.Hidden,locked:a.Restrictions.b&&a.Restrictions.p&&a.Restrictions.c}:a.Hidden&&(k.visible=!1);return k}catch(ve){console.log(ve)}}function Kb(a,b,d){a.getModel().beginUpdate();try{var k=function(b,d){function k(a,b){null==a||a.generated||(a.x-=b.x,a.y-=b.y)}var h=null!=d.Endpoint1.Block?c[d.Endpoint1.Block]:null,w=null!=d.Endpoint2.Block?
c[d.Endpoint2.Block]:null,x=pa(b,a,h,w);null==h&&null!=d.Endpoint1&&x.geometry.setTerminalPoint(new mxPoint(Math.round(.6*d.Endpoint1.x),Math.round(.6*d.Endpoint1.y)),!0);null==w&&null!=d.Endpoint2&&x.geometry.setTerminalPoint(new mxPoint(Math.round(.6*d.Endpoint2.x),Math.round(.6*d.Endpoint2.y)),!1);var m=f[b.id];if(null!=m){var l=x.geometry,z=m.geometry;k(l.sourcePoint,z);k(l.targetPoint,z);k(l.offset,z);l=l.points;if(null!=l)for(var g=0;g<l.length;g++)k(l[g],z)}n.push(a.addCell(x,m,null,h,w))},
n=[],c={},f={},w=[];if(null!=b.Blocks)for(var m in b.Blocks){var x=b.Blocks[m];x.id=m;var z=!1;null!=Hb[x.Class]&&"mxCompositeShape"==Hb[x.Class]&&(c[x.id]=Yc(x,n,a),w.push(x),z=!0);z||(c[x.id]=uc(x,a),w.push(x))}else{for(var g=0;g<b.Objects.length;g++)x=b.Objects[g],null!=x.Action&&"mxCompositeShape"==Hb[x.Action.Class]?c[x.id]=Yc(x,n,a):x.IsBlock&&null!=x.Action&&null!=x.Action.Properties&&(c[x.id]=uc(x,a)),w.push(x);for(g=0;g<b.Objects.length;g++)if(x=b.Objects[g],x.IsGroup){var B=Ea(x,c,f);B&&
(c[x.id]=B,w.push(x))}}if(null!=b.Groups)try{for(m in b.Groups)if(x=b.Groups[m],x.id=m,B=Ea(x,c,f))c[x.id]=B,w.push(x)}catch(we){console.log(we)}if(null!=b.Lines)for(m in b.Lines)x=b.Lines[m],x.id=m,w.push(x);w.sort(function(a,b){a=p(a);b=p(b);var d=null!=a.Properties?a.Properties.ZOrder:a.ZOrder,k=null!=b.Properties?b.Properties.ZOrder:b.ZOrder;return null!=d&&null!=k?d-k:0});for(g=0;g<w.length;g++){var x=w[g],e=c[x.id];if(null!=e){if(null==e.parent)if(e.lucidLayerInfo){var A=new mxCell;a.addCell(A,
a.model.root);A.setVisible(e.lucidLayerInfo.visible);e.lucidLayerInfo.locked&&A.setStyle("locked=1;");A.setValue(e.lucidLayerInfo.name);delete e.lucidLayerInfo;a.addCell(e,A)}else n.push(a.addCell(e))}else x.IsLine&&null!=x.Action&&null!=x.Action.Properties?k(x,x.Action.Properties):null!=x.StrokeStyle&&k(x,x)}LucidImporter.stylePointsSet.forEach(function(a){a.style="points=["+a.stylePoints.join(",")+"];"+a.style;delete a.stylePoints});d||a.setSelectionCells(n)}finally{a.getModel().endUpdate()}}function qa(){var a=
new Graph;a.setExtendParents(!1);a.setExtendParentsOnAdd(!1);a.setConstrainChildren(!1);a.setHtmlLabels(!0);a.getModel().maintainEdgeParent=!1;return a}function Ub(a,b,d,k,n,c,f,w){this.nurbsValues=[1,3,0,0,100*(a+d),100-100*(1-(b+k)),0,1,100*(n+f),100-100*(1-(c+w)),0,1]}function Nd(a,b){try{for(var d=[],k=b.BoundingBox.w,n=b.BoundingBox.h,c=0;c<b.Shapes.length;c++){var f=b.Shapes[c],w=f.FillColor,x=f.StrokeColor,m=f.LineWidth,z=f.Points,g=f.Lines,p=['<shape strokewidth="inherit"><foreground>'];p.push("<path>");
for(var B=null,e=0;e<g.length;e++){var A=g[e];if(B!=A.p1){var C=z[A.p1].x,D=z[A.p1].y,C=100*C/k,D=100*D/n,C=Math.round(100*C)/100,D=Math.round(100*D)/100;p.push('<move x="'+C+'" y="'+D+'"/>')}if(null!=A.n1){var E;var R=z[A.p2].x,y=z[A.p2].y,W=k,l=n,N=new Ub(z[A.p1].x,z[A.p1].y,A.n1.x,A.n1.y,z[A.p2].x,z[A.p2].y,A.n2.x,A.n2.y);if(2<=N.getSize()){N.getX(0);N.getY(0);N.getX(1);N.getY(1);for(var R=Math.round(100*R/W*100)/100,y=Math.round(100*y/l*100)/100,W=[],l=[],ca=[],M=N.getSize(),S=0;S<M-1;S+=3)W.push(new mxPoint(N.getX(S),
N.getY(S))),l.push(new mxPoint(N.getX(S+1),N.getY(S+1))),S<M-2?ca.push(new mxPoint(N.getX(S+2),N.getY(S+2))):ca.push(new mxPoint(R,y));for(var G="",S=0;S<W.length;S++)G+='<curve x1="'+W[S].x+'" y1="'+W[S].y+'" x2="'+l[S].x+'" y2="'+l[S].y+'" x3="'+ca[S].x+'" y3="'+ca[S].y+'"/>';E=G}else E=void 0;p.push(E)}else C=z[A.p2].x,D=z[A.p2].y,C=100*C/k,D=100*D/n,C=Math.round(100*C)/100,D=Math.round(100*D)/100,p.push('<line x="'+C+'" y="'+D+'"/>');B=A.p2}p.push("</path>");p.push("<fillstroke/>");p.push("</foreground></shape>");
d.push({shapeStencil:"stencil("+Graph.compress(p.join(""))+")",FillColor:w,LineColor:x,LineWidth:m})}LucidImporter.stencilsMap[a]={text:b.Text,w:k,h:n,stencils:d}}catch(ld){console.log("Stencil parsing error:",ld)}}function wb(a,b,d,k,n,c,f,w){a=new mxCell("",new mxGeometry(a,b,0,0),"strokeColor=none;fillColor=none;");a.vertex=!0;f.insert(a);c=[a];d=d.clone();w.insertEdge(d,!1);a.insertEdge(d,!0);c.push(d);k.push(n.addCell(d,null,null,null,null))}function ta(a,b,d,k,n,c,f,w,x){a=new mxCell("",new mxGeometry(a,
b,0,0),"strokeColor=none;fillColor=none;");a.vertex=!0;x.insert(a);d=new mxCell("",new mxGeometry(d,k,0,0),"strokeColor=none;fillColor=none;");d.vertex=!0;x.insert(d);w=[d];n=n.clone();a.insertEdge(n,!0);d.insertEdge(n,!1);w.push(n);c.push(f.addCell(n,null,null,null,null))}function fa(a,b,d,k,n,f){k.style="rounded=1;absoluteArcSize=1;fillColor=#ffffff;arcSize=2;strokeColor=#dddddd;";k.style+=c(k.style,n,f,k);b=g(n);k.vertex=!0;a=new mxCell(b,new mxGeometry(0,.5,24,24),"dashed=0;connectable=0;html=1;strokeColor=none;"+
mxConstants.STYLE_SHAPE+"=mxgraph.gcp2."+a+";part=1;shadow=0;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;spacingLeft=5;");a.style+=c(a.style,n,f,a,y);a.geometry.relative=!0;a.geometry.offset=new mxPoint(5,-12);a.vertex=!0;k.insert(a)}function ka(a,b,d,k,n,f,w,x){n="transparent"!=a?mxConstants.STYLE_SHAPE+"=mxgraph.gcp2.":mxConstants.STYLE_SHAPE+"=";f.style="rounded=1;absoluteArcSize=1;arcSize=2;verticalAlign=bottom;fillColor=#ffffff;strokeColor=#dddddd;whiteSpace=wrap;";
f.style+=c(f.style,w,x,f);f.value=g(w);f.vertex=!0;a=new mxCell(null,new mxGeometry(.5,0,.7*k*b,.7*k*d),n+a+";part=1;dashed=0;connectable=0;html=1;strokeColor=none;shadow=0;");a.geometry.relative=!0;a.geometry.offset=new mxPoint(-b*k*.35,10+(1-d)*k*.35);a.vertex=!0;a.style+=c(a.style,w,x,a,y);f.insert(a)}function tc(a,b){return null==a||null==b||!a.includes(";"+b+"=")&&a.substring(0,b.length+1)!=b+"="?!1:!0}function Yc(b,n,f){var e=p(b),h=e.Properties,ja=h.BoundingBox,t=Math.round(.6*ja.w),r=Math.round(.6*
ja.h),pa=Math.round(.6*ja.x+Ib),na=Math.round(.6*ja.y+Jb);null==b.Class||"GCPInputDatabase"!==b.Class&&"GCPInputRecord"!==b.Class&&"GCPInputPayment"!==b.Class&&"GCPInputGateway"!==b.Class&&"GCPInputLocalCompute"!==b.Class&&"GCPInputBeacon"!==b.Class&&"GCPInputStorage"!==b.Class&&"GCPInputList"!==b.Class&&"GCPInputStream"!==b.Class&&"GCPInputMobileDevices"!==b.Class&&"GCPInputCircuitBoard"!==b.Class&&"GCPInputLive"!==b.Class&&"GCPInputUsers"!==b.Class&&"GCPInputLaptop"!==b.Class&&"GCPInputApplication"!==
b.Class&&"GCPInputLightbulb"!==b.Class&&"GCPInputGame"!==b.Class&&"GCPInputDesktop"!==b.Class&&"GCPInputDesktopAndMobile"!==b.Class&&"GCPInputWebcam"!==b.Class&&"GCPInputSpeaker"!==b.Class&&"GCPInputRetail"!==b.Class&&"GCPInputReport"!==b.Class&&"GCPInputPhone"!==b.Class&&"GCPInputBlank"!==b.Class||(r+=20);v=new mxCell("",new mxGeometry(pa,na,t,r),"html=1;overflow=block;whiteSpace=wrap;");v.vertex=!0;v.zOrder=h.ZOrder;var Bb=null!=b.Class?b.Class:null!=e?e.Class:null;switch(Bb){case "BraceNoteBlock":case "UI2BraceNoteBlock":var uc=
!1;null!=h.BraceDirection&&"Right"==h.BraceDirection&&(uc=!0);var Ta=null,qa=null;uc?(Ta=new mxCell("",new mxGeometry(t-.125*r,0,.125*r,r),"shape=curlyBracket;rounded=1;"),qa=new mxCell("",new mxGeometry(0,0,t-.125*r,r),"strokeColor=none;fillColor=none;")):(Ta=new mxCell("",new mxGeometry(0,0,.125*r,r),"shape=curlyBracket;rounded=1;flipH=1;"),qa=new mxCell("",new mxGeometry(.125*r,0,t-.125*r,r),"strokeColor=none;fillColor=none;"));v.style="strokeColor=none;fillColor=none;";v.style+=c(v.style,h,e,
v);Ta.vertex=!0;v.insert(Ta);Ta.style+=c(Ta.style,h,e,Ta);qa.vertex=!0;qa.value=g(h);v.insert(qa);qa.style+=c(qa.style,h,e,qa,y);break;case "BPMNAdvancedPoolBlockRotated":case "UMLMultiLanePoolRotatedBlock":case "UMLMultiLanePoolBlock":case "BPMNAdvancedPoolBlock":case "AdvancedSwimLaneBlockRotated":case "AdvancedSwimLaneBlock":case "UMLSwimLaneBlockV2":var Ea="MainText",Kb=null,eb="HeaderFill_",Ub="BodyFill_",Wc=25,Hb=25,sc=0;if(null!=h.Lanes)sc=h.Lanes.length;else if(null!=h.PrimaryLane){for(var Tb=
function(a){if(a)32>a?a=32:208<a&&(a=208);else return 0;return.6*a},sc=h.PrimaryLane.length,l=r=t=0;l<sc;l++)t+=h.PrimaryLane[l];for(l=0;l<h.SecondaryLane.length;l++)r+=h.SecondaryLane[l];Wc=Tb(h.PrimaryPoolTitleHeight);Hb=Tb(h.PrimaryLaneTitleHeight);t*=.6;r=.6*r+Wc+Hb;v.geometry.width=t;v.geometry.height=r;Ea="poolPrimaryTitleKey";eb="PrimaryLaneHeaderFill_";Ub="CellFill_0,";Kb=h.PrimaryLaneTextAreaIds;if(null==Kb)for(Kb=[],l=0;l<sc;l++)Kb.push("Primary_"+l)}if(0==h.IsPrimaryLaneVertical){h.Rotation=
-1.5707963267948966;var tc=v.geometry.x,Yc=v.geometry.y}var kd=0!=h.Rotation,Ld=0<Bb.indexOf("Pool"),md=0==Bb.indexOf("BPMN"),ld=null!=h[Ea];v.style=(Ld?"swimlane;startSize="+Wc+";":"fillColor=none;strokeColor=none;pointerEvents=0;")+"html=1;whiteSpace=wrap;container=1;collapsible=0;childLayout=stackLayout;resizeParent=1;dropTarget=0;"+(kd?"horizontalStack=0;":"");v.style+=c(v.style,h,e,v);ld&&(v.value=g(h[Ea]),v.style+=(y?"":a(h[Ea])+d(h[Ea])+k(h[Ea])+w(h[Ea],v)+x(h[Ea])+z(h[Ea])+B(h[Ea])+C(h[Ea]))+
A(h[Ea])+D(h[Ea]));for(var Kd=0,Ab=[],nd="swimlane;html=1;whiteSpace=wrap;container=1;connectable=0;collapsible=0;startSize="+Hb+";dropTarget=0;rounded=0;"+(kd?"horizontal=0;":"")+(md?"swimlaneLine=0;fillColor=none;":""),U=h.Rotation=0;U<sc;U++){if(null==Kb)var Xc=parseFloat(h.Lanes[U].p),l=parseInt(h.Lanes[U].tid)||U,Wa="Lane_"+l;else Xc=.6*h.PrimaryLane[U]/t,l=U,Wa=Kb[U];var Od=t*Kd,Zc=Ld?Wc:0;Ab.push(new mxCell("",kd?new mxGeometry(Zc,Od,r-Zc,t*Xc):new mxGeometry(Od,Zc,t*Xc,r-Zc),nd));Ab[U].vertex=
!0;v.insert(Ab[U]);Ab[U].value=g(h[Wa]);Ab[U].style+=c(Ab[U].style,h,e,Ab[U],y)+(y?"":a(h[Wa])+d(h[Wa])+k(h[Wa])+w(h[Wa],Ab[U])+x(h[Wa])+z(h[Wa])+B(h[Wa])+C(h[Wa]))+A(h[Wa])+D(h[Wa])+G(h[eb+l])+N(h[Ub+l]);Kd+=Xc}null!=tc&&(v.geometry.x=tc,v.geometry.y=Yc);break;case "UMLMultidimensionalSwimlane":var Wb=0,Xb=0,pd=null,qd=null;if(null!=h.Rows&&null!=h.Columns)var Wb=h.Rows.length,Xb=h.Columns.length,vc=.6*h.TitleHeight||25,wc=.6*h.TitleWidth||25;else if(null!=h.PrimaryLane&&null!=h.SecondaryLane){Wb=
h.SecondaryLane.length;Xb=h.PrimaryLane.length;wc=.6*h.SecondaryLaneTitleHeight||25;vc=.6*h.PrimaryLaneTitleHeight||25;for(l=r=t=0;l<Wb;l++)r+=h.SecondaryLane[l];for(l=0;l<Xb;l++)t+=h.PrimaryLane[l];t=.6*t+wc;r=.6*r+vc;v.geometry.width=t;v.geometry.height=r;pd=h.SecondaryLaneTextAreaIds;qd=h.PrimaryLaneTextAreaIds}v.style="group;";var rd=new mxCell("",new mxGeometry(0,vc,t,r-vc),"fillColor=none;strokeColor=none;html=1;whiteSpace=wrap;container=1;collapsible=0;childLayout=stackLayout;resizeParent=1;dropTarget=0;horizontalStack=0;");
rd.vertex=!0;var sd=new mxCell("",new mxGeometry(wc,0,t-wc,r),"fillColor=none;strokeColor=none;html=1;whiteSpace=wrap;container=1;collapsible=0;childLayout=stackLayout;resizeParent=1;dropTarget=0;");sd.vertex=!0;v.insert(rd);v.insert(sd);for(var na=0,od="swimlane;html=1;whiteSpace=wrap;container=1;connectable=0;collapsible=0;dropTarget=0;horizontal=0;startSize="+wc+";",U=0;U<Wb;U++){if(null==pd)var td=.6*parseInt(h.Rows[U].height),l=parseInt(h.Rows[U].id)||U,Xa="Row_"+l;else td=.6*h.SecondaryLane[U],
Xa=pd[U];var Lb=new mxCell("",new mxGeometry(0,na,t,td),od),na=na+td;Lb.vertex=!0;rd.insert(Lb);Lb.value=g(h[Xa]);Lb.style+=c(Lb.style,h,e,Lb,y)+(y?"":a(h[Xa])+d(h[Xa])+k(h[Xa])+w(h[Xa],Lb)+x(h[Xa])+z(h[Xa])+B(h[Xa])+C(h[Xa]))+A(h[Xa])+D(h[Xa])}for(var ye="swimlane;html=1;whiteSpace=wrap;container=1;connectable=0;collapsible=0;dropTarget=0;startSize="+vc+";",U=pa=0;U<Xb;U++){if(null==qd)var gc=.6*parseInt(h.Columns[U].width),l=parseInt(h.Columns[U].id)||U,Ya="Column_"+l;else gc=.6*h.PrimaryLane[U],
Ya=qd[U];var Mb=new mxCell("",new mxGeometry(pa,0,gc,r),ye),pa=pa+gc;Mb.vertex=!0;sd.insert(Mb);Mb.value=g(h[Ya]);Mb.style+=c(Mb.style,h,e,Mb,y)+(y?"":a(h[Ya])+d(h[Ya])+k(h[Ya])+w(h[Ya],Mb)+x(h[Ya])+z(h[Ya])+B(h[Ya])+C(h[Ya]))+A(h[Ya])+D(h[Ya])}break;case "AndroidDevice":if(null!=h.AndroidDeviceName){v.style="fillColor=#000000;strokeColor=#000000;";var Nb=null,xc=null,yc=null;if("Tablet"==h.AndroidDeviceName||"Mini Tablet"==h.AndroidDeviceName||"custom"==h.AndroidDeviceName&&"Tablet"==h.CustomDeviceType)v.style+=
"shape=mxgraph.android.tab2;",Nb=new mxCell("",new mxGeometry(.112*t,.077*r,.77*t,.85*r),""),h.KeyboardShown&&(xc=new mxCell("",new mxGeometry(.112*t,.727*r,.77*t,.2*r),"shape=mxgraph.android.keyboard;")),h.FullScreen||(yc=new mxCell("",new mxGeometry(.112*t,.077*r,.77*t,.03*r),"shape=mxgraph.android.statusBar;strokeColor=#33b5e5;fillColor=#000000;fontColor=#33b5e5;fontSize="+.015*r+";"));else if("Large Phone"==h.AndroidDeviceName||"Phone"==h.AndroidDeviceName||"custom"==h.AndroidDeviceName&&"Phone"==
h.CustomDeviceType)v.style+="shape=mxgraph.android.phone2;",Nb=new mxCell("",new mxGeometry(.04*t,.092*r,.92*t,.816*r),""),h.KeyboardShown&&(xc=new mxCell("",new mxGeometry(.04*t,.708*r,.92*t,.2*r),"shape=mxgraph.android.keyboard;")),h.FullScreen||(yc=new mxCell("",new mxGeometry(.04*t,.092*r,.92*t,.03*r),"shape=mxgraph.android.statusBar;strokeColor=#33b5e5;fillColor=#000000;fontColor=#33b5e5;fontSize="+.015*r+";"));Nb.vertex=!0;v.insert(Nb);"Dark"==h.Scheme?Nb.style+="fillColor=#111111;":"Light"==
h.Scheme&&(Nb.style+="fillColor=#ffffff;");null!=xc&&(xc.vertex=!0,v.insert(xc));null!=yc&&(yc.vertex=!0,v.insert(yc))}v.style+=c(v.style,h,e,v);break;case "AndroidAlertDialog":var fb=new mxCell("",new mxGeometry(0,0,t,30),"strokeColor=none;fillColor=none;spacingLeft=9;");fb.vertex=!0;v.insert(fb);var ia=new mxCell("",new mxGeometry(0,25,t,10),"shape=line;strokeColor=#33B5E5;");ia.vertex=!0;v.insert(ia);var zc=new mxCell("",new mxGeometry(0,30,t,r-30),"strokeColor=none;fillColor=none;verticalAlign=top;");
zc.vertex=!0;v.insert(zc);var va=new mxCell("",new mxGeometry(0,r-25,.5*t,25),"fillColor=none;");va.vertex=!0;v.insert(va);var wa=new mxCell("",new mxGeometry(.5*t,r-25,.5*t,25),"fillColor=none;");wa.vertex=!0;v.insert(wa);fb.value=g(h.DialogTitle);fb.style+=m(h.DialogTitle,y);zc.value=g(h.DialogText);zc.style+=m(h.DialogText,y);va.value=g(h.Button_0);va.style+=m(h.Button_0,y);wa.value=g(h.Button_1);wa.style+=m(h.Button_1,y);"Dark"==h.Scheme?(v.style+="strokeColor=#353535;fillColor=#282828;shadow=1;",
va.style+="strokeColor=#353535;",wa.style+="strokeColor=#353535;"):(v.style+="strokeColor=none;fillColor=#ffffff;shadow=1;",va.style+="strokeColor=#E2E2E2;",wa.style+="strokeColor=#E2E2E2;");v.style+=c(v.style,h,e,v);break;case "AndroidDateDialog":case "AndroidTimeDialog":fb=new mxCell("",new mxGeometry(0,0,t,30),"strokeColor=none;fillColor=none;spacingLeft=9;");fb.vertex=!0;v.insert(fb);fb.value=g(h.DialogTitle);fb.style+=m(h.DialogTitle,y);ia=new mxCell("",new mxGeometry(0,25,t,10),"shape=line;strokeColor=#33B5E5;");
ia.vertex=!0;v.insert(ia);va=new mxCell("",new mxGeometry(0,r-25,.5*t,25),"fillColor=none;");va.vertex=!0;v.insert(va);va.value=g(h.Button_0);va.style+=m(h.Button_0,y);wa=new mxCell("",new mxGeometry(.5*t,r-25,.5*t,25),"fillColor=none;");wa.vertex=!0;v.insert(wa);wa.value=g(h.Button_1);wa.style+=m(h.Button_1,y);var hc=new mxCell("",new mxGeometry(.5*t-4,41,8,4),"shape=triangle;direction=north;");hc.vertex=!0;v.insert(hc);var ic=new mxCell("",new mxGeometry(.25*t-4,41,8,4),"shape=triangle;direction=north;");
ic.vertex=!0;v.insert(ic);var jc=new mxCell("",new mxGeometry(.75*t-4,41,8,4),"shape=triangle;direction=north;");jc.vertex=!0;v.insert(jc);var Ac=new mxCell("",new mxGeometry(.375*t,50,.2*t,15),"strokeColor=none;fillColor=none;");Ac.vertex=!0;v.insert(Ac);Ac.value=g(h.Label_1);Ac.style+=m(h.Label_1,y);var Bc=new mxCell("",new mxGeometry(.125*t,50,.2*t,15),"strokeColor=none;fillColor=none;");Bc.vertex=!0;v.insert(Bc);Bc.value=g(h.Label_0);Bc.style+=m(h.Label_0,y);var kc=null;"AndroidDateDialog"==b.Class&&
(kc=new mxCell("",new mxGeometry(.625*t,50,.2*t,15),"strokeColor=none;fillColor=none;"),kc.vertex=!0,v.insert(kc),kc.value=g(h.Label_2),kc.style+=m(h.Label_2,y));var Ja=new mxCell("",new mxGeometry(.43*t,60,.14*t,10),"shape=line;strokeColor=#33B5E5;");Ja.vertex=!0;v.insert(Ja);var Ka=new mxCell("",new mxGeometry(.18*t,60,.14*t,10),"shape=line;strokeColor=#33B5E5;");Ka.vertex=!0;v.insert(Ka);var Pd=new mxCell("",new mxGeometry(.68*t,60,.14*t,10),"shape=line;strokeColor=#33B5E5;");Pd.vertex=!0;v.insert(Pd);
var Cc=new mxCell("",new mxGeometry(.375*t,65,.2*t,15),"strokeColor=none;fillColor=none;");Cc.vertex=!0;v.insert(Cc);Cc.value=g(h.Label_4);Cc.style+=m(h.Label_4,y);var lc=null;"AndroidTimeDialog"==b.Class&&(lc=new mxCell("",new mxGeometry(.3*t,65,.1*t,15),"strokeColor=none;fillColor=none;"),lc.vertex=!0,v.insert(lc),lc.value=g(h.Label_Colon),lc.style+=m(h.Label_Colon,y));var Dc=new mxCell("",new mxGeometry(.125*t,65,.2*t,15),"strokeColor=none;fillColor=none;");Dc.vertex=!0;v.insert(Dc);Dc.value=g(h.Label_3);
Dc.style+=m(h.Label_3,y);var Ec=new mxCell("",new mxGeometry(.625*t,65,.2*t,15),"strokeColor=none;fillColor=none;");Ec.vertex=!0;v.insert(Ec);Ec.value=g(h.Label_5);Ec.style+=m(h.Label_5,y);var Qd=new mxCell("",new mxGeometry(.43*t,75,.14*t,10),"shape=line;strokeColor=#33B5E5;");Qd.vertex=!0;v.insert(Qd);var Rd=new mxCell("",new mxGeometry(.18*t,75,.14*t,10),"shape=line;strokeColor=#33B5E5;");Rd.vertex=!0;v.insert(Rd);var Sd=new mxCell("",new mxGeometry(.68*t,75,.14*t,10),"shape=line;strokeColor=#33B5E5;");
Sd.vertex=!0;v.insert(Sd);var Fc=new mxCell("",new mxGeometry(.375*t,80,.2*t,15),"strokeColor=none;fillColor=none;");Fc.vertex=!0;v.insert(Fc);Fc.value=g(h.Label_7);Fc.style+=m(h.Label_7,y);var Gc=new mxCell("",new mxGeometry(.125*t,80,.2*t,15),"strokeColor=none;fillColor=none;");Gc.vertex=!0;v.insert(Gc);Gc.value=g(h.Label_6);Gc.style+=m(h.Label_6,y);var Hc=new mxCell("",new mxGeometry(.625*t,80,.2*t,15),"strokeColor=none;fillColor=none;");Hc.vertex=!0;v.insert(Hc);Hc.value=g(h.Label_8);Hc.style+=
m(h.Label_8,y);var mc=new mxCell("",new mxGeometry(.5*t-4,99,8,4),"shape=triangle;direction=south;");mc.vertex=!0;v.insert(mc);var nc=new mxCell("",new mxGeometry(.25*t-4,99,8,4),"shape=triangle;direction=south;");nc.vertex=!0;v.insert(nc);var oc=new mxCell("",new mxGeometry(.75*t-4,99,8,4),"shape=triangle;direction=south;");oc.vertex=!0;v.insert(oc);"Dark"==h.Scheme?(v.style+="strokeColor=#353535;fillColor=#282828;shadow=1;",va.style+="strokeColor=#353535;",wa.style+="strokeColor=#353535;",hc.style+=
"strokeColor=none;fillColor=#7E7E7E;",ic.style+="strokeColor=none;fillColor=#7E7E7E;",jc.style+="strokeColor=none;fillColor=#7E7E7E;",mc.style+="strokeColor=none;fillColor=#7E7E7E;",nc.style+="strokeColor=none;fillColor=#7E7E7E;",oc.style+="strokeColor=none;fillColor=#7E7E7E;"):(v.style+="strokeColor=none;fillColor=#ffffff;shadow=1;",va.style+="strokeColor=#E2E2E2;",wa.style+="strokeColor=#E2E2E2;",hc.style+="strokeColor=none;fillColor=#939393;",ic.style+="strokeColor=none;fillColor=#939393;",jc.style+=
"strokeColor=none;fillColor=#939393;",mc.style+="strokeColor=none;fillColor=#939393;",nc.style+="strokeColor=none;fillColor=#939393;",oc.style+="strokeColor=none;fillColor=#939393;");v.style+=c(v.style,h,e,v);break;case "AndroidListItems":var Fa=r,Cb=0;if(h.ShowHeader){var Cb=8,Ic=new mxCell("",new mxGeometry(0,0,t,Cb),"strokeColor=none;fillColor=none;");Ic.vertex=!0;v.insert(Ic);Ic.value=g(h.Header);Ic.style+=m(h.Header,y);var Fa=Fa-Cb,Td=new mxCell("",new mxGeometry(0,Cb-2,t,4),"shape=line;strokeColor=#999999;");
Td.vertex=!0;v.insert(Td)}var gb=parseInt(h.Items);0<gb&&(Fa/=gb);for(var I=[],ia=[],l=0;l<gb;l++)I[l]=new mxCell("",new mxGeometry(0,Cb+l*Fa,t,Fa),"strokeColor=none;fillColor=none;"),I[l].vertex=!0,v.insert(I[l]),I[l].value=g(h["Item_"+l]),I[l].style+=m(h["Item_"+l],y),0<l&&(ia[l]=new mxCell("",new mxGeometry(0,Cb+l*Fa-2,t,4),"shape=line;"),ia[l].vertex=!0,v.insert(ia[l]),ia[l].style="Dark"==h.Scheme?ia[l].style+"strokeColor=#ffffff;":ia[l].style+"strokeColor=#D9D9D9;");v.style="Dark"==h.Scheme?
v.style+"strokeColor=none;fillColor=#111111;":v.style+"strokeColor=none;fillColor=#ffffff;";v.style+=c(v.style,h,e,v);break;case "AndroidTabs":var hb=parseInt(h.Tabs),Pa=t;0<hb&&(Pa/=hb);for(var ga=[],ia=[],l=0;l<hb;l++)ga[l]=new mxCell("",new mxGeometry(l*Pa,0,Pa,r),"strokeColor=none;fillColor=none;"),ga[l].vertex=!0,v.insert(ga[l]),ga[l].value=g(h["Tab_"+l]),ga[l].style+=m(h["Tab_"+l],y),0<l&&(ia[l]=new mxCell("",new mxGeometry(l*Pa-2,.2*r,4,.6*r),"shape=line;direction=north;"),ia[l].vertex=!0,
v.insert(ia[l]),ia[l].style="Dark"==h.Scheme?ia[l].style+"strokeColor=#484848;":ia[l].style+"strokeColor=#CCCCCC;");var Ud=new mxCell("",new mxGeometry(h.Selected*Pa+2,r-3,Pa-4,3),"strokeColor=none;fillColor=#33B5E5;");Ud.vertex=!0;v.insert(Ud);v.style="Dark"==h.Scheme?v.style+"strokeColor=none;fillColor=#333333;":v.style+"strokeColor=none;fillColor=#DDDDDD;";v.style+=c(v.style,h,e,v);break;case "AndroidProgressBar":v=new mxCell("",new mxGeometry(Math.round(pa),Math.round(na+.25*r),Math.round(t),
Math.round(.5*r)),"html=1;overflow=block;whiteSpace=wrap;");v.vertex=!0;var Jc=new mxCell("",new mxGeometry(0,0,t*h.BarPosition,Math.round(.5*r)),"strokeColor=none;fillColor=#33B5E5;");Jc.vertex=!0;v.insert(Jc);v.style="Dark"==h.Scheme?v.style+"strokeColor=none;fillColor=#474747;":v.style+"strokeColor=none;fillColor=#BBBBBB;";v.style+=c(v.style,h,e,v);break;case "AndroidImageBlock":v.style="Dark"==h.Scheme?v.style+"shape=mxgraph.mockup.graphics.simpleIcon;strokeColor=#7E7E7E;fillColor=#111111;":v.style+
"shape=mxgraph.mockup.graphics.simpleIcon;strokeColor=#939393;fillColor=#ffffff;";v.style+=c(v.style,h,e,v);break;case "AndroidTextBlock":v.style="Dark"==h.Scheme?h.ShowBorder?v.style+"fillColor=#111111;strokeColor=#ffffff;":v.style+"fillColor=#111111;strokeColor=none;":h.ShowBorder?v.style+"fillColor=#ffffff;strokeColor=#000000;":v.style+"fillColor=#ffffff;strokeColor=none;";v.value=g(h.Label);v.style+=m(h.Label,y);v.style+=c(v.style,h,e,v,y);break;case "AndroidActionBar":v.style+="strokeColor=none;";
switch(h.BarBackground){case "Blue":v.style+="fillColor=#002E3E;";break;case "Gray":v.style+="fillColor=#DDDDDD;";break;case "Dark Gray":v.style+="fillColor=#474747;";break;case "White":v.style+="fillColor=#ffffff;"}if(h.HighlightShow){var Db=null,Db=h.HighlightTop?new mxCell("",new mxGeometry(0,0,t,2),"strokeColor=none;"):new mxCell("",new mxGeometry(0,r-2,t,2),"strokeColor=none;");Db.vertex=!0;v.insert(Db);switch(h.HighlightColor){case "Blue":Db.style+="fillColor=#33B5E5;";break;case "Dark Gray":Db.style+=
"fillColor=#B0B0B0;";break;case "White":Db.style+="fillColor=#ffffff;"}}if(h.VlignShow){var pc=new mxCell("",new mxGeometry(20,5,2,r-10),"shape=line;direction=north;");pc.vertex=!0;v.insert(pc);switch(h.VlignColor){case "Blue":pc.style+="strokeColor=#244C5A;";break;case "White":pc.style+="strokeColor=#ffffff;"}}v.style+=c(v.style,h,e,v);break;case "AndroidButton":v.value=g(h.Label);v.style+=m(h.Label,y)+"shape=partialRectangle;left=0;right=0;";v.style="Dark"==h.Scheme?v.style+"fillColor=#474747;strokeColor=#C6C5C6;bottom=0;":
v.style+"fillColor=#DFE0DF;strokeColor=#C6C5C6;top=0;";v.style+=c(v.style,h,e,v);break;case "AndroidTextBox":v.value=g(h.Label);v.style+=m(h.Label,y);var Kc=new mxCell("",new mxGeometry(2,r-6,t-4,4),"shape=partialRectangle;top=0;fillColor=none;");Kc.vertex=!0;v.insert(Kc);v.style="Dark"==h.Scheme?v.style+"fillColor=#111111;strokeColor=none;":v.style+"fillColor=#ffffff;strokeColor=none;";Kc.style=h.TextFocused?Kc.style+"strokeColor=#33B5E5;":Kc.style+"strokeColor=#A9A9A9;";v.style+=c(v.style,h,e,v);
@ -84,7 +85,7 @@ break;case "AndroidRadioButton":var Yb=null;h.Checked&&(Yb=new mxCell("",new mxG
(Yb.style+="strokeColor=#999999;"));v.style+=c(v.style,h,e,v);break;case "AndroidCheckBox":var ud=null;h.Checked&&(ud=new mxCell("",new mxGeometry(.25*t,.05*-r,t,.8*r),"shape=mxgraph.ios7.misc.check;strokeColor=#33B5E5;strokeWidth=2;"),ud.vertex=!0,v.insert(ud));v.style="Dark"==h.Scheme?v.style+"strokeWidth=1;strokeColor=#272727;fillColor=#111111;":v.style+"strokeWidth=1;strokeColor=#5C5C5C;fillColor=#ffffff;";v.style+=c(v.style,h,e,v);break;case "AndroidToggle":v.style="Dark"==h.Scheme?h.Checked?
v.style+"shape=mxgraph.android.switch_on;fillColor=#666666;":v.style+"shape=mxgraph.android.switch_off;fillColor=#666666;":h.Checked?v.style+"shape=mxgraph.android.switch_on;fillColor=#E6E6E6;":v.style+"shape=mxgraph.android.switch_off;fillColor=#E6E6E6;";v.style+=c(v.style,h,e,v);break;case "AndroidSlider":v.style+="shape=mxgraph.android.progressScrubberFocused;dx="+h.BarPosition+";fillColor=#33b5e5;";v.style+=c(v.style,h,e,v);break;case "iOSSegmentedControl":hb=parseInt(h.Tabs);Pa=t;v.style+="strokeColor=none;fillColor=none;";
0<hb&&(Pa/=hb);ga=[];ia=[];for(l=0;l<hb;l++)ga[l]=new mxCell("",new mxGeometry(l*Pa,0,Pa,r),"strokeColor="+h.FillColor+";"),ga[l].vertex=!0,v.insert(ga[l]),ga[l].value=g(h["Tab_"+l]),ga[l].style+=m(h["Tab_"+l],y),ga[l].style=h.Selected==l?ga[l].style+M(h,e):ga[l].style+"fillColor=none;";v.style+=c(v.style,h,e,v);break;case "iOSSlider":v.style+="shape=mxgraph.ios7ui.slider;strokeColor="+h.FillColor+";fillColor=#ffffff;strokeWidth=2;barPos="+100*h.BarPosition+";";v.style+=c(v.style,h,e,v);break;case "iOSProgressBar":v=
new mxCell("",new mxGeometry(Math.round(pa),Math.round(na+.25*r),Math.round(t),Math.round(.5*r)),"html=1;whiteSpace=wrap;strokeColor=none;fillColor=#B5B5B5;");v.vertex=!0;Jc=new mxCell("",new mxGeometry(0,0,t*h.BarPosition,Math.round(.5*r)),"strokeColor=none;"+M(h,e));Jc.vertex=!0;v.insert(Jc);v.style+=c(v.style,h,e,v);break;case "iOSPageControls":v.style+="shape=mxgraph.ios7ui.pageControl;strokeColor=#D6D6D6;";v.style+=c(v.style,h,e,v);break;case "iOSStatusBar":v.style+="shape=mxgraph.ios7ui.appBar;strokeColor=#000000;";
new mxCell("",new mxGeometry(Math.round(pa),Math.round(na+.25*r),Math.round(t),Math.round(.5*r)),"html=1;overflow=block;whiteSpace=wrap;strokeColor=none;fillColor=#B5B5B5;");v.vertex=!0;Jc=new mxCell("",new mxGeometry(0,0,t*h.BarPosition,Math.round(.5*r)),"strokeColor=none;"+M(h,e));Jc.vertex=!0;v.insert(Jc);v.style+=c(v.style,h,e,v);break;case "iOSPageControls":v.style+="shape=mxgraph.ios7ui.pageControl;strokeColor=#D6D6D6;";v.style+=c(v.style,h,e,v);break;case "iOSStatusBar":v.style+="shape=mxgraph.ios7ui.appBar;strokeColor=#000000;";
var X=new mxCell(g(h.Text),new mxGeometry(.35*t,0,.3*t,r),"strokeColor=none;fillColor=none;");X.vertex=!0;v.insert(X);X.style+=m(h.Text,y);var La=new mxCell(g(h.Carrier),new mxGeometry(.09*t,0,.2*t,r),"strokeColor=none;fillColor=none;");La.vertex=!0;v.insert(La);La.style+=m(h.Carrier,y);v.style+=c(v.style,h,e,v);break;case "iOSSearchBar":v.value=g(h.Search);v.style+="strokeColor=none;";v.style+=c(v.style,h,e,v,y)+m(h.Search,y);var aa=new mxCell("",new mxGeometry(.3*t,.3*r,.4*r,.4*r),"shape=mxgraph.ios7.icons.looking_glass;strokeColor=#000000;fillColor=none;");
aa.vertex=!0;v.insert(aa);break;case "iOSNavBar":v.value=g(h.Title);v.style+="shape=partialRectangle;top=0;right=0;left=0;strokeColor=#979797;";+m(h.Title,y);v.style+=c(v.style,h,e,v,y);X=new mxCell(g(h.LeftText),new mxGeometry(.03*t,0,.3*t,r),"strokeColor=none;fillColor=none;");X.vertex=!0;v.insert(X);X.style+=m(h.LeftText,y);La=new mxCell(g(h.RightText),new mxGeometry(.65*t,0,.3*t,r),"strokeColor=none;fillColor=none;");La.vertex=!0;v.insert(La);La.style+=m(h.RightText,y);aa=new mxCell("",new mxGeometry(.02*
t,.2*r,.3*r,.5*r),"shape=mxgraph.ios7.misc.left;strokeColor=#007AFF;strokeWidth=2;");aa.vertex=!0;v.insert(aa);break;case "iOSTabs":hb=parseInt(h.Tabs);Pa=t;v.style+="shape=partialRectangle;right=0;left=0;bottom=0;strokeColor=#979797;";v.style+=c(v.style,h,e,v);0<hb&&(Pa/=hb);ga=[];ia=[];for(l=0;l<hb;l++)ga[l]=new mxCell("",new mxGeometry(l*Pa,0,Pa,r),"strokeColor=none;"),ga[l].vertex=!0,v.insert(ga[l]),ga[l].value=g(h["Tab_"+l]),ga[l].style+=y?"html=1;":a(h["Tab_"+l])+d(h["Tab_"+l])+k(h["Tab_"+l])+
@ -1130,24 +1131,24 @@ g;g.__class="com.mxgraph.io.vsdx.mxVsdxMaster"})(g.vsdx||(g.vsdx={}))})(g.io||(g
(function(f){(function(g){(function(g){(function(e){var g=function(){function c(b,a,d){this.pages=this.media=this.xmlDocs=null;this.masters={};this.stylesheets={};this.themes={};this.pm=this.rootElement=null;this.xmlDocs=a;this.media=d;for(b=b.firstChild;null!=b;){if(a=null!=b&&1==b.nodeType)a=b.tagName.toLowerCase(),d=f.mxgraph.io.mxVsdxCodec.vsdxPlaceholder+"document",a=a&&a.equals?a.equals(d):a===d;if(a){this.rootElement=b;break}b=b.nextSibling}this.pm=new f.mxgraph.io.vsdx.mxPropertiesManager;
this.pm.initialise(this.rootElement,this);this.initStylesheets();this.initThemes();this.initMasters();this.initPages()}c.prototype.initThemes=function(){if(null!=this.xmlDocs)for(var b=!0,a=1;b;){var d=function(a,b){return a[b]?a[b]:null}(this.xmlDocs,f.mxgraph.io.mxVsdxCodec.vsdxPlaceholder+"/theme/theme"+a+".xml");if(null!=d){for(d=d.firstChild;null!=d;){if(null!=d&&1==d.nodeType&&function(a,b){return a&&a.equals?a.equals(b):a===b}(d.tagName,"a:theme")){d=new f.mxgraph.io.vsdx.mxVsdxTheme(d);0>
d.getThemeIndex()&&d.processTheme();var k=function(a,b){null==a.entries&&(a.entries=[]);for(var d=0;d<a.entries.length;d++)if(null!=a.entries[d].key.equals&&a.entries[d].key.equals(b)||a.entries[d].key===b)return a.entries[d].value;return null}(this.themes,d.getThemeIndex());null!=k&&k.isPure()||function(a,b,d){null==a.entries&&(a.entries=[]);for(var k=0;k<a.entries.length;k++)if(null!=a.entries[k].key.equals&&a.entries[k].key.equals(b)||a.entries[k].key===b){a.entries[k].value=d;return}a.entries.push({key:b,
value:d,getKey:function(){return this.key},getValue:function(){return this.value}})}(this.themes,d.getThemeIndex(),d);break}d=d.nextSibling}a++}else b=!1}};c.prototype.initStylesheets=function(){var b=this.rootElement.getElementsByTagName(f.mxgraph.io.vsdx.mxVsdxConstants.STYLE_SHEETS);if(0<b.length)for(var b=b.item(0).getElementsByTagName(f.mxgraph.io.vsdx.mxVsdxConstants.STYLE_SHEET),a=b.length,d=0;d<a;d++){var k=b.item(d),c=k.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.ID),k=new f.mxgraph.io.vsdx.Style(k,
this);this.stylesheets[c]=k}for(b=function(a){var b=0;return{next:function(){return b<a.length?a[b++]:null},hasNext:function(){return b<a.length}}}(function(a){return Object.keys(a).map(function(b){return a[b]})}(this.stylesheets));b.hasNext();)k=b.next(),k.stylesheetRefs(this)};c.prototype.initMasters=function(){if(null!=this.xmlDocs){var b=function(a,b){return a[b]?a[b]:null}(this.xmlDocs,f.mxgraph.io.mxVsdxCodec.vsdxPlaceholder+"/masters/masters.xml");if(null!=b)for(b=b.firstChild;null!=b;){if(null!=
value:d,getKey:function(){return this.key},getValue:function(){return this.value}})}(this.themes,d.getThemeIndex(),d);break}d=d.nextSibling}a++}else b=!1}};c.prototype.initStylesheets=function(){var b=this.rootElement.getElementsByTagName(f.mxgraph.io.vsdx.mxVsdxConstants.STYLE_SHEETS);if(0<b.length)for(var b=b.item(0).getElementsByTagName(f.mxgraph.io.vsdx.mxVsdxConstants.STYLE_SHEET),a=b.length,d=0;d<a;d++){var k=b.item(d),n=k.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.ID),k=new f.mxgraph.io.vsdx.Style(k,
this);this.stylesheets[n]=k}for(b=function(a){var b=0;return{next:function(){return b<a.length?a[b++]:null},hasNext:function(){return b<a.length}}}(function(a){return Object.keys(a).map(function(b){return a[b]})}(this.stylesheets));b.hasNext();)k=b.next(),k.stylesheetRefs(this)};c.prototype.initMasters=function(){if(null!=this.xmlDocs){var b=function(a,b){return a[b]?a[b]:null}(this.xmlDocs,f.mxgraph.io.mxVsdxCodec.vsdxPlaceholder+"/masters/masters.xml");if(null!=b)for(b=b.firstChild;null!=b;){if(null!=
b&&1==b.nodeType&&function(a,b){return a&&a.equals?a.equals(b):a===b}(b.tagName,f.mxgraph.io.vsdx.mxVsdxConstants.MASTERS)){for(b=b.firstChild;null!=b;){if(null!=b&&1==b.nodeType&&function(a,b){return a&&a.equals?a.equals(b):a===b}(b.tagName,"Master")){var a=new f.mxgraph.io.vsdx.mxVsdxMaster(b,this);this.masters[a.getId()]=a}b=b.nextSibling}break}b=b.nextSibling}}};c.prototype.initPages=function(){if(null!=this.xmlDocs){var b=function(a,b){return a[b]?a[b]:null}(this.xmlDocs,f.mxgraph.io.mxVsdxCodec.vsdxPlaceholder+
"/pages/pages.xml");if(null!=b)for(b=b.firstChild;null!=b;){if(null!=b&&1==b.nodeType&&function(a,b){return a&&a.equals?a.equals(b):a===b}(b.tagName,f.mxgraph.io.vsdx.mxVsdxConstants.PAGES)){var a=b.getElementsByTagName(f.mxgraph.io.vsdx.mxVsdxConstants.PAGE);if(null!=a&&0<a.length){this.pages={};for(var b={},d=a.length,k=0;k<d;k++){var c=a.item(k),c=this.createPage(c);c.isBackground()&&function(a,b,d){null==a.entries&&(a.entries=[]);for(var k=0;k<a.entries.length;k++)if(null!=a.entries[k].key.equals&&
a.entries[k].key.equals(b)||a.entries[k].key===b){a.entries[k].value=d;return}a.entries.push({key:b,value:d,getKey:function(){return this.key},getValue:function(){return this.value}})}(b,c.getId(),c);(function(a,b,d){null==a.entries&&(a.entries=[]);for(var k=0;k<a.entries.length;k++)if(null!=a.entries[k].key.equals&&a.entries[k].key.equals(b)||a.entries[k].key===b){a.entries[k].value=d;return}a.entries.push({key:b,value:d,getKey:function(){return this.key},getValue:function(){return this.value}})})(this.pages,
c.getId(),c)}a=function(a){null==a.entries&&(a.entries=[]);return a.entries}(this.pages);for(d=0;d<a.length;d++)c=a[d].getValue(),k=c.getBackPageId(),null!=k&&(k=function(a,b){null==a.entries&&(a.entries=[]);for(var d=0;d<a.entries.length;d++)if(null!=a.entries[d].key.equals&&a.entries[d].key.equals(b)||a.entries[d].key===b)return a.entries[d].value;return null}(b,k),c.setBackPage(k))}break}b=b.nextSibling}}};c.prototype.getPages=function(){return this.pages};c.prototype.getThemes=function(){return this.themes};
c.prototype.getRelationship=function(b,a){var d=function(a,b){return a[b]?a[b]:null}(this.xmlDocs,a);if(null==d||null==b||0===b.length)return null;for(var d=d.getElementsByTagName("Relationship"),k=0;k<d.length;k++){var c=d.item(k);if(function(a,b){return a&&a.equals?a.equals(b):a===b}(c.getAttribute("Id"),b))return c}return null};c.prototype.getMaster=function(b){var a=this.masters;return a[b]?a[b]:null};c.prototype.createPage=function(b){return new f.mxgraph.io.vsdx.mxVsdxPage(b,this)};c.prototype.getPropertiesManager=
"/pages/pages.xml");if(null!=b)for(b=b.firstChild;null!=b;){if(null!=b&&1==b.nodeType&&function(a,b){return a&&a.equals?a.equals(b):a===b}(b.tagName,f.mxgraph.io.vsdx.mxVsdxConstants.PAGES)){var a=b.getElementsByTagName(f.mxgraph.io.vsdx.mxVsdxConstants.PAGE);if(null!=a&&0<a.length){this.pages={};for(var b={},d=a.length,k=0;k<d;k++){var n=a.item(k),n=this.createPage(n);n.isBackground()&&function(a,b,d){null==a.entries&&(a.entries=[]);for(var k=0;k<a.entries.length;k++)if(null!=a.entries[k].key.equals&&
a.entries[k].key.equals(b)||a.entries[k].key===b){a.entries[k].value=d;return}a.entries.push({key:b,value:d,getKey:function(){return this.key},getValue:function(){return this.value}})}(b,n.getId(),n);(function(a,b,d){null==a.entries&&(a.entries=[]);for(var k=0;k<a.entries.length;k++)if(null!=a.entries[k].key.equals&&a.entries[k].key.equals(b)||a.entries[k].key===b){a.entries[k].value=d;return}a.entries.push({key:b,value:d,getKey:function(){return this.key},getValue:function(){return this.value}})})(this.pages,
n.getId(),n)}a=function(a){null==a.entries&&(a.entries=[]);return a.entries}(this.pages);for(d=0;d<a.length;d++)n=a[d].getValue(),k=n.getBackPageId(),null!=k&&(k=function(a,b){null==a.entries&&(a.entries=[]);for(var d=0;d<a.entries.length;d++)if(null!=a.entries[d].key.equals&&a.entries[d].key.equals(b)||a.entries[d].key===b)return a.entries[d].value;return null}(b,k),n.setBackPage(k))}break}b=b.nextSibling}}};c.prototype.getPages=function(){return this.pages};c.prototype.getThemes=function(){return this.themes};
c.prototype.getRelationship=function(b,a){var d=function(a,b){return a[b]?a[b]:null}(this.xmlDocs,a);if(null==d||null==b||0===b.length)return null;for(var d=d.getElementsByTagName("Relationship"),k=0;k<d.length;k++){var n=d.item(k);if(function(a,b){return a&&a.equals?a.equals(b):a===b}(n.getAttribute("Id"),b))return n}return null};c.prototype.getMaster=function(b){var a=this.masters;return a[b]?a[b]:null};c.prototype.createPage=function(b){return new f.mxgraph.io.vsdx.mxVsdxPage(b,this)};c.prototype.getPropertiesManager=
function(){return this.pm};c.prototype.setPropertiesManager=function(b){this.pm=b};c.prototype.getMasterShapes=function(){return this.masters};c.prototype.setMasterShapes=function(b){this.masters=b};c.prototype.getStylesheet=function(b){var a=this.stylesheets;return a[b]?a[b]:null};c.prototype.getXmlDoc=function(b){var a=this.xmlDocs;return a[b]?a[b]:null};c.prototype.getMedia=function(b){var a=this.media;return a[b]?a[b]:null};return c}();e.mxVsdxModel=g;g.__class="com.mxgraph.io.vsdx.mxVsdxModel"})(g.vsdx||
(g.vsdx={}))})(g.io||(g.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(g){(function(g){(function(e){var g=function(){function c(b,a){this.pageName=this.Id=null;this.__isBackground=!1;this.pageSheet=this.backPage=this.backPageId=null;this.shapes={};this.connects={};this.cellElements={};this.model=a;this.pageElement=b;this.layers=[];var d=b.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.BACKGROUND),k;if(k=null!=d)k=f.mxgraph.io.vsdx.mxVsdxConstants.TRUE,k=d&&d.equals?d.equals(k):d===k;this.__isBackground=k?!0:!1;d=b.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.BACK_PAGE);
null!=d&&0<d.length&&(this.backPageId=parseFloat(d));this.Id=parseFloat(b.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.ID));this.pageName=b.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.NAME)||"";d=f.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildNamedElements(b,"PageSheet");if(0<d.length){d=d[0];k=f.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildNamedElements(d,"Cell");for(var c=0;c<k.length;c++){var e=k[c],g=e.getAttribute("N");this.cellElements[g]=e}d=f.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildNamedElements(d,
"Section");for(k=0;k<d.length;k++)if(c=d[k],g=c.getAttribute("N"),"Layer"==g)for(g=f.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildNamedElements(c,"Row"),c=0;c<g.length;c++){for(var e=f.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildNamedElements(g[c],"Cell"),m={},p=0;p<e.length;p++)m[e[p].getAttribute("N")]=e[p].getAttribute("V");this.layers[parseInt(g[c].getAttribute("IX"))]=m}}this.parseNodes(b,a,"pages")}c.prototype.parseNodes=function(b,a,d){for(b=b.firstChild;null!=b;){if(null!=b&&1==b.nodeType){var k=
b,c=k.nodeName;if(function(a,b){return a&&a.equals?a.equals(b):a===b}(c,"Rel"))this.resolveRel(k,a,d);else if(function(a,b){return a&&a.equals?a.equals(b):a===b}(c,"Shapes"))this.shapes=this.parseShapes(k,null,!1);else if(function(a,b){return a&&a.equals?a.equals(b):a===b}(c,"Connects"))for(k=k.getElementsByTagName(f.mxgraph.io.vsdx.mxVsdxConstants.CONNECT),k=null!=k&&0<k.length?k.item(0):null;null!=k;){if(null!=k&&1==k.nodeType){var c=k,e=new f.mxgraph.io.vsdx.mxVsdxConnect(c),g=e.getFromSheet(),
g=null!=g&&-1<g?function(a,b){null==a.entries&&(a.entries=[]);for(var d=0;d<a.entries.length;d++)if(null!=a.entries[d].key.equals&&a.entries[d].key.equals(b)||a.entries[d].key===b)return a.entries[d].value;return null}(this.connects,g):null;null!=g?g.addConnect(c):function(a,b,d){null==a.entries&&(a.entries=[]);for(var k=0;k<a.entries.length;k++)if(null!=a.entries[k].key.equals&&a.entries[k].key.equals(b)||a.entries[k].key===b){a.entries[k].value=d;return}a.entries.push({key:b,value:d,getKey:function(){return this.key},
getValue:function(){return this.value}})}(this.connects,e.getFromSheet(),e)}k=k.nextSibling}else(function(a,b){return a&&a.equals?a.equals(b):a===b})(c,"PageSheet")&&(this.pageSheet=k)}b=b.nextSibling}};c.prototype.resolveRel=function(b,a,d){d=a.getRelationship(b.getAttribute("r:id"),f.mxgraph.io.mxVsdxCodec.vsdxPlaceholder+"/pages/_rels/"+d+".xml.rels");b=d.getAttribute("Target");d=d.getAttribute("Type");if(function(a,b){var d=a.length-b.length,k=a.indexOf(b,d);return-1!==k&&k===d}((new String(d)).toString(),
null!=d&&0<d.length&&(this.backPageId=parseFloat(d));this.Id=parseFloat(b.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.ID));this.pageName=b.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.NAME)||"";d=f.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildNamedElements(b,"PageSheet");if(0<d.length){d=d[0];k=f.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildNamedElements(d,"Cell");for(var n=0;n<k.length;n++){var c=k[n],e=c.getAttribute("N");this.cellElements[e]=c}d=f.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildNamedElements(d,
"Section");for(k=0;k<d.length;k++)if(n=d[k],e=n.getAttribute("N"),"Layer"==e)for(e=f.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildNamedElements(n,"Row"),n=0;n<e.length;n++){for(var c=f.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildNamedElements(e[n],"Cell"),g={},m=0;m<c.length;m++)g[c[m].getAttribute("N")]=c[m].getAttribute("V");this.layers[parseInt(e[n].getAttribute("IX"))]=g}}this.parseNodes(b,a,"pages")}c.prototype.parseNodes=function(b,a,d){for(b=b.firstChild;null!=b;){if(null!=b&&1==b.nodeType){var k=
b,n=k.nodeName;if(function(a,b){return a&&a.equals?a.equals(b):a===b}(n,"Rel"))this.resolveRel(k,a,d);else if(function(a,b){return a&&a.equals?a.equals(b):a===b}(n,"Shapes"))this.shapes=this.parseShapes(k,null,!1);else if(function(a,b){return a&&a.equals?a.equals(b):a===b}(n,"Connects"))for(k=k.getElementsByTagName(f.mxgraph.io.vsdx.mxVsdxConstants.CONNECT),k=null!=k&&0<k.length?k.item(0):null;null!=k;){if(null!=k&&1==k.nodeType){var n=k,c=new f.mxgraph.io.vsdx.mxVsdxConnect(n),e=c.getFromSheet(),
e=null!=e&&-1<e?function(a,b){null==a.entries&&(a.entries=[]);for(var d=0;d<a.entries.length;d++)if(null!=a.entries[d].key.equals&&a.entries[d].key.equals(b)||a.entries[d].key===b)return a.entries[d].value;return null}(this.connects,e):null;null!=e?e.addConnect(n):function(a,b,d){null==a.entries&&(a.entries=[]);for(var k=0;k<a.entries.length;k++)if(null!=a.entries[k].key.equals&&a.entries[k].key.equals(b)||a.entries[k].key===b){a.entries[k].value=d;return}a.entries.push({key:b,value:d,getKey:function(){return this.key},
getValue:function(){return this.value}})}(this.connects,c.getFromSheet(),c)}k=k.nextSibling}else(function(a,b){return a&&a.equals?a.equals(b):a===b})(n,"PageSheet")&&(this.pageSheet=k)}b=b.nextSibling}};c.prototype.resolveRel=function(b,a,d){d=a.getRelationship(b.getAttribute("r:id"),f.mxgraph.io.mxVsdxCodec.vsdxPlaceholder+"/pages/_rels/"+d+".xml.rels");b=d.getAttribute("Target");d=d.getAttribute("Type");if(function(a,b){var d=a.length-b.length,k=a.indexOf(b,d);return-1!==k&&k===d}((new String(d)).toString(),
"page")){var k=null;null!=d&&function(a,b){var d=a.length-b.length,k=a.indexOf(b,d);return-1!==k&&k===d}(d,"page")&&(k=a.getXmlDoc(f.mxgraph.io.mxVsdxCodec.vsdxPlaceholder+"/pages/"+b));if(null!=k)for(d=k.firstChild;null!=d;){if(null!=d&&1==d.nodeType&&function(a,b){return a&&a.equals?a.equals(b):a===b}(d.tagName,"PageContents")){k=b.indexOf(".");-1!==k&&this.parseNodes(d,a,b.substring(0,k));break}d=d.nextSibling}}};c.prototype.parseShapes=function(b,a,d){d={};b=b.getElementsByTagName(f.mxgraph.io.vsdx.mxVsdxConstants.SHAPE);
for(b=null!=b&&0<b.length?b.item(0):null;null!=b;){if(null!=b&&1==b.nodeType){var k=b,c=a;if(null==c){var e=k.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.MASTER);null==e||function(a,b){return a&&a.equals?a.equals(b):a===b}(e,"")||(c=this.model.getMaster(e))}var g=this.isEdge(k);g||null==c||(e=k.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.MASTER_SHAPE),g=c.getMasterElement(),null==e||function(a,b){return a&&a.equals?a.equals(b):a===b}(e,"")||(e=c.getSubShape(e),g=null!=e?e.getShape():g),g=this.isEdge(g));
k=this.createCell(k,!g,c);(function(a,b,d){null==a.entries&&(a.entries=[]);for(var k=0;k<a.entries.length;k++)if(null!=a.entries[k].key.equals&&a.entries[k].key.equals(b)||a.entries[k].key===b){a.entries[k].value=d;return}a.entries.push({key:b,value:d,getKey:function(){return this.key},getValue:function(){return this.value}})})(d,k.getId(),k)}b=b.nextSibling}return d};c.prototype.createCell=function(b,a,d){return new f.mxgraph.io.vsdx.VsdxShape(this,b,a,this.model.getMasterShapes(),d,this.model)};
for(b=null!=b&&0<b.length?b.item(0):null;null!=b;){if(null!=b&&1==b.nodeType){var k=b,n=a;if(null==n){var c=k.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.MASTER);null==c||function(a,b){return a&&a.equals?a.equals(b):a===b}(c,"")||(n=this.model.getMaster(c))}var e=this.isEdge(k);e||null==n||(c=k.getAttribute(f.mxgraph.io.vsdx.mxVsdxConstants.MASTER_SHAPE),e=n.getMasterElement(),null==c||function(a,b){return a&&a.equals?a.equals(b):a===b}(c,"")||(c=n.getSubShape(c),e=null!=c?c.getShape():e),e=this.isEdge(e));
k=this.createCell(k,!e,n);(function(a,b,d){null==a.entries&&(a.entries=[]);for(var k=0;k<a.entries.length;k++)if(null!=a.entries[k].key.equals&&a.entries[k].key.equals(b)||a.entries[k].key===b){a.entries[k].value=d;return}a.entries.push({key:b,value:d,getKey:function(){return this.key},getValue:function(){return this.value}})})(d,k.getId(),k)}b=b.nextSibling}return d};c.prototype.createCell=function(b,a,d){return new f.mxgraph.io.vsdx.VsdxShape(this,b,a,this.model.getMasterShapes(),d,this.model)};
c.prototype.isEdge=function(b){if(null!=b&&(b=b.childNodes,null!=b))for(b=b.item(0);null!=b;){if(null!=b&&1==b.nodeType){var a=b;if(function(a,b){return a&&a.equals?a.equals(b):a===b}(a.nodeName,"Cell")&&(a=a.getAttribute("N"),function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"BeginX")||function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"BeginY")||function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"EndY")||function(a,b){return a&&a.equals?a.equals(b):a===b}(a,"EndX")))return!0}b=b.nextSibling}return!1};
c.prototype.getPageDimensions=function(){var b=0,a=0,d=function(a,b){return a[b]?a[b]:null}(this.cellElements,"PageHeight"),k=function(a,b){return a[b]?a[b]:null}(this.cellElements,"PageWidth");null!=d&&(b=parseFloat(d.getAttribute("V"))*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),b=Math.round(100*b)/100);null!=k&&(a=parseFloat(k.getAttribute("V"))*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),a=Math.round(100*a)/100);return new mxPoint(a,b)};c.prototype.getDrawingScale=function(){var b;
b=this.cellElements;b=b.DrawingScale?b.DrawingScale:null;return null!=b?parseFloat(b.getAttribute("V"))*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$():1};c.prototype.getPageScale=function(){var b;b=this.cellElements;b=b.PageScale?b.PageScale:null;return null!=b?parseFloat(b.getAttribute("V"))*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$():1};c.prototype.getCellValue=function(b){var a=this.cellElements;b=a[b]?a[b]:null;return null!=b?b.getAttribute("V")||"":null};c.prototype.getCellIntValue=
@ -1253,29 +1254,29 @@ function(a){this.shade=a;this.hasEffects=!0};b.prototype.setComp=function(a){thi
a;this.hasEffects=!0};b.prototype.setRed=function(a){this.red=a;this.hasEffects=!0};b.prototype.setRedOff=function(a){this.redOff=a;this.hasEffects=!0};b.prototype.setRedMod=function(a){this.redMod=a;this.hasEffects=!0};b.prototype.setGreen=function(a){this.green=a;this.hasEffects=!0};b.prototype.setGreenOff=function(a){this.greenOff=a;this.hasEffects=!0};b.prototype.setGreenMod=function(a){this.greenMod=a;this.hasEffects=!0};b.prototype.setBlue=function(a){this.blue=a;this.hasEffects=!0};b.prototype.setBlueOff=
function(a){this.blueOff=a;this.hasEffects=!0};b.prototype.setBlueMod=function(a){this.blueMod=a;this.hasEffects=!0};b.prototype.setGamma=function(a){this.gamma=a;this.hasEffects=!0};b.prototype.setInvGamma=function(a){this.invGamma=a;this.hasEffects=!0};return b}();e.OoxmlColor=c;c.__class="com.mxgraph.io.vsdx.theme.OoxmlColor"})(e.theme||(e.theme={}))})(g.vsdx||(g.vsdx={}))})(g.io||(g.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(g){(function(g){(function(e){(function(e){var c=function(){function b(){}b.getOoxmlColor=function(a){var b=null;switch(a.nodeName){case "a:scrgbClr":b=new f.mxgraph.io.vsdx.theme.ScrgbClr(parseInt(a.getAttribute("r")),parseInt(a.getAttribute("g")),parseInt(a.getAttribute("b")));break;case "a:srgbClr":b=new f.mxgraph.io.vsdx.theme.SrgbClr(a.getAttribute("val"));break;case "a:hslClr":b=new f.mxgraph.io.vsdx.theme.HslClr(parseInt(a.getAttribute("hue")),parseInt(a.getAttribute("sat")),
parseInt(a.getAttribute("lum")));break;case "a:sysClr":b=new f.mxgraph.io.vsdx.theme.SysClr(a.getAttribute("val"),a.getAttribute("lastClr"));break;case "a:schemeClr":b=new f.mxgraph.io.vsdx.theme.SchemeClr(a.getAttribute("val"));break;case "a:prstClr":b=new f.mxgraph.io.vsdx.theme.SrgbClr(a.getAttribute("val"))}a=f.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildElements(a);for(var c=0;c<a.length;c++){var n=a[c],e=parseInt(n.getAttribute("val"))/1E3|0;switch(n.nodeName){case "a:tint":b.setTint(e);break;
parseInt(a.getAttribute("lum")));break;case "a:sysClr":b=new f.mxgraph.io.vsdx.theme.SysClr(a.getAttribute("val"),a.getAttribute("lastClr"));break;case "a:schemeClr":b=new f.mxgraph.io.vsdx.theme.SchemeClr(a.getAttribute("val"));break;case "a:prstClr":b=new f.mxgraph.io.vsdx.theme.SrgbClr(a.getAttribute("val"))}a=f.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildElements(a);for(var k=0;k<a.length;k++){var c=a[k],e=parseInt(c.getAttribute("val"))/1E3|0;switch(c.nodeName){case "a:tint":b.setTint(e);break;
case "a:shade":b.setShade(e);break;case "a:satMod":b.setSatMod(e);break;case "a:lumMod":b.setLumMod(e);break;case "a:hueMod":b.setHueMod(e)}}return b};return b}();e.OoxmlColorFactory=c;c.__class="com.mxgraph.io.vsdx.theme.OoxmlColorFactory"})(e.theme||(e.theme={}))})(g.vsdx||(g.vsdx={}))})(g.io||(g.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(f){(function(f){(function(f){(function(f){var c=function(){function b(a,b,c,f,e,g,m,p,C,A){this.quickStyleVariation=this.quickStyleType=this.quickStyleShadowColor=this.quickStyleLineColor=this.quickStyleFontMatrix=this.quickStyleFontColor=this.quickStyleFillMatrix=this.quickStyleFillColor=this.quickStyleEffectsMatrix=0;this.quickStyleEffectsMatrix=a;this.quickStyleFillColor=b;this.quickStyleFillMatrix=c;this.quickStyleFontColor=f;this.quickStyleFontMatrix=e;this.quickStyleLineColor=
g;this.quickStyleLineMatrix=m;this.quickStyleShadowColor=p;this.quickStyleType=C;this.quickStyleVariation=A}b.prototype.getQuickStyleEffectsMatrix=function(){return this.quickStyleEffectsMatrix};b.prototype.getQuickStyleFillColor=function(){return this.quickStyleFillColor};b.prototype.getQuickStyleFillMatrix=function(){return this.quickStyleFillMatrix};b.prototype.getQuickStyleFontColor=function(){return this.quickStyleFontColor};b.prototype.getQuickStyleFontMatrix=function(){return this.quickStyleFontMatrix};
(function(f){(function(f){(function(f){(function(f){(function(f){var c=function(){function b(a,b,k,c,f,e,g,m,p,A){this.quickStyleVariation=this.quickStyleType=this.quickStyleShadowColor=this.quickStyleLineColor=this.quickStyleFontMatrix=this.quickStyleFontColor=this.quickStyleFillMatrix=this.quickStyleFillColor=this.quickStyleEffectsMatrix=0;this.quickStyleEffectsMatrix=a;this.quickStyleFillColor=b;this.quickStyleFillMatrix=k;this.quickStyleFontColor=c;this.quickStyleFontMatrix=f;this.quickStyleLineColor=
e;this.quickStyleLineMatrix=g;this.quickStyleShadowColor=m;this.quickStyleType=p;this.quickStyleVariation=A}b.prototype.getQuickStyleEffectsMatrix=function(){return this.quickStyleEffectsMatrix};b.prototype.getQuickStyleFillColor=function(){return this.quickStyleFillColor};b.prototype.getQuickStyleFillMatrix=function(){return this.quickStyleFillMatrix};b.prototype.getQuickStyleFontColor=function(){return this.quickStyleFontColor};b.prototype.getQuickStyleFontMatrix=function(){return this.quickStyleFontMatrix};
b.prototype.getQuickStyleLineColor=function(){return this.quickStyleLineColor};b.prototype.getQuickStyleLineMatrix=function(){return this.quickStyleLineMatrix};b.prototype.getQuickStyleShadowColor=function(){return this.quickStyleShadowColor};b.prototype.getQuickStyleType=function(){return this.quickStyleType};b.prototype.getQuickStyleVariation=function(){return this.quickStyleVariation};b.prototype.setQuickStyleEffectsMatrix=function(a){this.quickStyleEffectsMatrix=a};b.prototype.setQuickStyleFillColor=
function(a){this.quickStyleFillColor=a};b.prototype.setQuickStyleFillMatrix=function(a){this.quickStyleFillMatrix=a};b.prototype.setQuickStyleFontColor=function(a){this.quickStyleFontColor=a};b.prototype.setQuickStyleFontMatrix=function(a){this.quickStyleFontMatrix=a};b.prototype.setQuickStyleLineColor=function(a){this.quickStyleLineColor=a};b.prototype.setQuickStyleLineMatrix=function(a){this.quickStyleLineMatrix=a};b.prototype.setQuickStyleShadowColor=function(a){this.quickStyleShadowColor=a};b.prototype.setQuickStyleType=
function(a){this.quickStyleType=a};b.prototype.setQuickStyleVariation=function(a){this.quickStyleVariation=a};return b}();f.QuickStyleVals=c;c.__class="com.mxgraph.io.vsdx.theme.QuickStyleVals"})(f.theme||(f.theme={}))})(f.vsdx||(f.vsdx={}))})(f.io||(f.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(f){(function(f){(function(f){(function(f){var c=function(){function b(a){this.color=null;this.color=a}b.prototype.applyStyle=function(a,b){return this.color.getColor$int$com_mxgraph_io_vsdx_mxVsdxTheme(a,b)};return b}();f.SolidFillStyle=c;c.__class="com.mxgraph.io.vsdx.theme.SolidFillStyle";c.__interfaces=["com.mxgraph.io.vsdx.theme.FillStyle"]})(f.theme||(f.theme={}))})(f.vsdx||(f.vsdx={}))})(f.io||(f.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(f){(function(f){var e=function(){function f(){}f.MAX_AREA_$LI$=function(){null==f.MAX_AREA&&(f.MAX_AREA=1E8);return f.MAX_AREA};return f}();e.MAX_REQUEST_SIZE=52428800;e.IMAGE_DOMAIN="http://img.diagramly.com/";f.Constants=e;e.__class="com.mxgraph.online.Constants"})(f.online||(f.online={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(f){(function(f){var e=function(){function f(){}f.getRotatedPoint=function(c,b,a,d){var k=c.x-d.x;c=c.y-d.y;return new mxPoint(k*b-c*a+d.x,c*b+k*a+d.y)};f.rotatedGeometry=function(c,b,a,d){b=b*Math.PI/180;var k=Math.cos(b);b=Math.sin(b);var f=c.getCenterX()-a,e=c.getCenterY()-d;c.x=Math.round(f*k-e*b+a-c.width/2);c.y=Math.round(e*k+f*b+d-c.height/2)};return f}();e.CHARSET_FOR_URL_ENCODING="ISO-8859-1";f.Utils=e;e.__class="com.mxgraph.online.Utils"})(f.online||(f.online={}))})(f.mxgraph||
(function(f){(function(f){(function(f){var e=function(){function f(){}f.getRotatedPoint=function(c,b,a,d){var k=c.x-d.x;c=c.y-d.y;return new mxPoint(k*b-c*a+d.x,c*b+k*a+d.y)};f.rotatedGeometry=function(c,b,a,d){b=b*Math.PI/180;var k=Math.cos(b);b=Math.sin(b);var n=c.getCenterX()-a,f=c.getCenterY()-d;c.x=Math.round(n*k-f*b+a-c.width/2);c.y=Math.round(f*k+n*b+d-c.height/2)};return f}();e.CHARSET_FOR_URL_ENCODING="ISO-8859-1";f.Utils=e;e.__class="com.mxgraph.online.Utils"})(f.online||(f.online={}))})(f.mxgraph||
(f.mxgraph={}))})(com||(com={}));
(function(f){(function(g){(function(g){(function(e){(function(e){var c=function(b){function a(a,c,f,e){a=b.call(this,a,c,f)||this;a.a=e;return a}__extends(a,b);a.prototype.handle=function(a,b){if(null!=this.x&&null!=this.y&&null!=this.a){var d=b.getHeight(),c=b.getWidth(),k=Math.floor(Math.round(b.getLastX()*c)/100),e=Math.floor(Math.round(b.getLastY()*d)/100),g=this.x*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),m=this.y*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),m=d-m,p=this.a*
f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),k=Math.abs(g-k),e=Math.abs(m-e),k=e=.5*p+(k*k+e*e)/(8*p),D=Math.abs(e),e=Math.round(100*e/c*100)/100,k=Math.round(100*k/d*100)/100,g=Math.round(100*g/c*100)/100,m=Math.round(100*m/d*100)/100,p=Math.round(100*p)/100,e=Math.abs(e),k=Math.abs(k),d=0>p?"1":"0",p=D<Math.abs(p)?"1":"0";b.setLastX(g);b.setLastY(m);return'<arc rx="'+(new String(e)).toString()+'" ry="'+(new String(k)).toString()+'" x="'+(new String(g)).toString()+'" y="'+(new String(m)).toString()+
(function(f){(function(g){(function(g){(function(e){(function(e){var c=function(b){function a(a,k,c,f){a=b.call(this,a,k,c)||this;a.a=f;return a}__extends(a,b);a.prototype.handle=function(a,b){if(null!=this.x&&null!=this.y&&null!=this.a){var d=b.getHeight(),k=b.getWidth(),c=Math.floor(Math.round(b.getLastX()*k)/100),e=Math.floor(Math.round(b.getLastY()*d)/100),g=this.x*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),m=this.y*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),m=d-m,p=this.a*
f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),c=Math.abs(g-c),e=Math.abs(m-e),c=e=.5*p+(c*c+e*e)/(8*p),D=Math.abs(e),e=Math.round(100*e/k*100)/100,c=Math.round(100*c/d*100)/100,g=Math.round(100*g/k*100)/100,m=Math.round(100*m/d*100)/100,p=Math.round(100*p)/100,e=Math.abs(e),c=Math.abs(c),d=0>p?"1":"0",p=D<Math.abs(p)?"1":"0";b.setLastX(g);b.setLastY(m);return'<arc rx="'+(new String(e)).toString()+'" ry="'+(new String(c)).toString()+'" x="'+(new String(g)).toString()+'" y="'+(new String(m)).toString()+
'" x-axis-rotation="0" large-arc-flag="'+p+'" sweep-flag="'+d+'"/>'}return""};return a}(f.mxgraph.io.vsdx.geometry.Row);e.ArcTo=c;c.__class="com.mxgraph.io.vsdx.geometry.ArcTo"})(e.geometry||(e.geometry={}))})(g.vsdx||(g.vsdx={}))})(g.io||(g.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(g){(function(g){(function(e){(function(e){var c=function(b){function a(a){return b.call(this,a,null,null)||this}__extends(a,b);a.prototype.handle=function(a,b){return""};return a}(f.mxgraph.io.vsdx.geometry.Row);e.DelRow=c;c.__class="com.mxgraph.io.vsdx.geometry.DelRow"})(e.geometry||(e.geometry={}))})(g.vsdx||(g.vsdx={}))})(g.io||(g.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(g){(function(g){(function(e){(function(e){var c=function(b){function a(a,c,f,e,g,m,p){a=b.call(this,a,c,f)||this;a.a=e;a.b=g;a.c=m;a.d=p;return a}__extends(a,b);a.prototype.handle=function(a,b){if(null!=this.x&&null!=this.y&&null!=this.a&&null!=this.b&&null!=this.c&&null!=this.d){var d=b.getHeight(),c=b.getWidth(),k=this.x*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),e=this.y*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),e=d-e,g=this.a*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),
m=this.b*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),m=d-m,p=this.c*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),D=this.d*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),g=Math.abs(g-k),m=Math.abs(m-e),m=Math.sqrt(g*g+m*m),p=Math.abs(p-k),D=Math.abs(d-D-e),k=100*k/c,D=Math.round(100*Math.sqrt(p*p+D*D)/d/2*100)/100,c=Math.round(100*m/c/2*100)/100,p=Math.round(100*(k-2*c))/100,k=Math.round(100*(k+2*c))/100,d=Math.round(100*e/d*100)/100;return'<move x="'+(new String(p)).toString()+
'" y="'+(new String(d)).toString()+'"/><arc rx="'+(new String(c)).toString()+'" ry="'+(new String(D)).toString()+'" x="'+(new String(k)).toString()+'" y="'+(new String(d)).toString()+'" x-axis-rotation="0" large-arc-flag="1" sweep-flag="0"/><arc rx="'+(new String(c)).toString()+'" ry="'+(new String(D)).toString()+'" x="'+(new String(p)).toString()+'" y="'+(new String(d)).toString()+'" x-axis-rotation="0" large-arc-flag="1" sweep-flag="0"/>'}return""};return a}(f.mxgraph.io.vsdx.geometry.Row);e.Ellipse=
(function(f){(function(g){(function(g){(function(e){(function(e){var c=function(b){function a(a,k,c,f,e,g,m){a=b.call(this,a,k,c)||this;a.a=f;a.b=e;a.c=g;a.d=m;return a}__extends(a,b);a.prototype.handle=function(a,b){if(null!=this.x&&null!=this.y&&null!=this.a&&null!=this.b&&null!=this.c&&null!=this.d){var d=b.getHeight(),k=b.getWidth(),c=this.x*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),e=this.y*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),e=d-e,g=this.a*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),
m=this.b*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),m=d-m,p=this.c*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),D=this.d*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),g=Math.abs(g-c),m=Math.abs(m-e),m=Math.sqrt(g*g+m*m),p=Math.abs(p-c),D=Math.abs(d-D-e),c=100*c/k,D=Math.round(100*Math.sqrt(p*p+D*D)/d/2*100)/100,k=Math.round(100*m/k/2*100)/100,p=Math.round(100*(c-2*k))/100,c=Math.round(100*(c+2*k))/100,d=Math.round(100*e/d*100)/100;return'<move x="'+(new String(p)).toString()+
'" y="'+(new String(d)).toString()+'"/><arc rx="'+(new String(k)).toString()+'" ry="'+(new String(D)).toString()+'" x="'+(new String(c)).toString()+'" y="'+(new String(d)).toString()+'" x-axis-rotation="0" large-arc-flag="1" sweep-flag="0"/><arc rx="'+(new String(k)).toString()+'" ry="'+(new String(D)).toString()+'" x="'+(new String(p)).toString()+'" y="'+(new String(d)).toString()+'" x-axis-rotation="0" large-arc-flag="1" sweep-flag="0"/>'}return""};return a}(f.mxgraph.io.vsdx.geometry.Row);e.Ellipse=
c;c.__class="com.mxgraph.io.vsdx.geometry.Ellipse"})(e.geometry||(e.geometry={}))})(g.vsdx||(g.vsdx={}))})(g.io||(g.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(g){(function(g){(function(e){(function(e){var c=function(b){function a(a,c,f,e,g,m,p){a=b.call(this,a,c,f)||this;a.a=e;a.b=g;a.c=m;a.d=p;return a}__extends(a,b);a.prototype.handle=function(a,b){if(null!=this.x&&null!=this.y&&null!=this.a&&null!=this.b&&null!=this.c&&null!=this.d){var d=b.getHeight(),c=b.getWidth(),k=this.x*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),e=this.y*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),e=d-e,g=this.a*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),
m=this.b*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),p=this.c,D=this.d,k=100*k/c,e=100*e/d,E=b.getLastX()*c/100,G=b.getLastY()*d/100,N=k*c/100,O=e*d/100,R=d-m,ca=-p,p=Math.sqrt(E*E+G*G)*Math.cos(Math.atan2(G,E)-ca),m=Math.sqrt(E*E+G*G)*Math.sin(Math.atan2(G,E)-ca),W=Math.sqrt(N*N+O*O)*Math.cos(Math.atan2(O,N)-ca),S=Math.sqrt(N*N+O*O)*Math.sin(Math.atan2(O,N)-ca),M=Math.sqrt(g*g+R*R)*Math.cos(Math.atan2(R,g)-ca),ma=Math.sqrt(g*g+R*R)*Math.sin(Math.atan2(R,g)-ca),ea=((p-W)*(p+W)*(S-ma)-(W-
M)*(W+M)*(m-S)+D*D*(m-S)*(S-ma)*(m-ma))/(2*((p-W)*(S-ma)-(W-M)*(m-S))),ec=((p-W)*(W-M)*(p-M)/(D*D)+(W-M)*(m-S)*(m+S)-(p-W)*(S-ma)*(S+ma))/(2*((W-M)*(m-S)-(p-W)*(S-ma))),ja=p-ea,fc=m-ec,ja=Math.sqrt(ja*ja+fc*fc*D*D),D=ja/D,ca=180*ca/Math.PI,k=Math.round(100*k)/100,e=Math.round(100*e)/100,ja=Math.round(100*ja/c*100)/100,D=Math.round(100*D/d*100)/100,ca=Math.round(100*ca)/100,d=0<(N-E)*(R-G)-(O-G)*(g-E)?"0":"1",c="0";f.mxgraph.io.vsdx.mxVsdxUtils.isInsideTriangle(ea,ec,p,m,W,S,M,ma)&&this.isReflexAngle(ea,
ec,p,m,W,S,M,ma)&&(c="1");b.setLastX(k);b.setLastY(e);return'<arc rx="'+(new String(ja)).toString()+'" ry="'+(new String(D)).toString()+'" x="'+(new String(k)).toString()+'" y="'+(new String(e)).toString()+'" x-axis-rotation="'+(new String(ca)).toString()+'" large-arc-flag="'+c+'" sweep-flag="'+d+'"/>'}return""};a.prototype.isReflexAngle=function(a,b,c,f,e,g,m,p){c-=a;f-=b;g-=b;e=m-a;p-=b;b=a=0;c=180*(Math.atan2(f,c)-Math.atan2(b,a))/Math.PI;e=180*(Math.atan2(g,e)-Math.atan2(b,a))/Math.PI;a=180*(Math.atan2(p,
(function(f){(function(g){(function(g){(function(e){(function(e){var c=function(b){function a(a,k,c,f,e,g,m){a=b.call(this,a,k,c)||this;a.a=f;a.b=e;a.c=g;a.d=m;return a}__extends(a,b);a.prototype.handle=function(a,b){if(null!=this.x&&null!=this.y&&null!=this.a&&null!=this.b&&null!=this.c&&null!=this.d){var d=b.getHeight(),k=b.getWidth(),c=this.x*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),e=this.y*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),e=d-e,g=this.a*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),
m=this.b*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),p=this.c,D=this.d,c=100*c/k,e=100*e/d,E=b.getLastX()*k/100,G=b.getLastY()*d/100,N=c*k/100,O=e*d/100,R=d-m,ca=-p,p=Math.sqrt(E*E+G*G)*Math.cos(Math.atan2(G,E)-ca),m=Math.sqrt(E*E+G*G)*Math.sin(Math.atan2(G,E)-ca),W=Math.sqrt(N*N+O*O)*Math.cos(Math.atan2(O,N)-ca),S=Math.sqrt(N*N+O*O)*Math.sin(Math.atan2(O,N)-ca),M=Math.sqrt(g*g+R*R)*Math.cos(Math.atan2(R,g)-ca),ma=Math.sqrt(g*g+R*R)*Math.sin(Math.atan2(R,g)-ca),ea=((p-W)*(p+W)*(S-ma)-(W-
M)*(W+M)*(m-S)+D*D*(m-S)*(S-ma)*(m-ma))/(2*((p-W)*(S-ma)-(W-M)*(m-S))),ec=((p-W)*(W-M)*(p-M)/(D*D)+(W-M)*(m-S)*(m+S)-(p-W)*(S-ma)*(S+ma))/(2*((W-M)*(m-S)-(p-W)*(S-ma))),ja=p-ea,fc=m-ec,ja=Math.sqrt(ja*ja+fc*fc*D*D),D=ja/D,ca=180*ca/Math.PI,c=Math.round(100*c)/100,e=Math.round(100*e)/100,ja=Math.round(100*ja/k*100)/100,D=Math.round(100*D/d*100)/100,ca=Math.round(100*ca)/100,d=0<(N-E)*(R-G)-(O-G)*(g-E)?"0":"1",k="0";f.mxgraph.io.vsdx.mxVsdxUtils.isInsideTriangle(ea,ec,p,m,W,S,M,ma)&&this.isReflexAngle(ea,
ec,p,m,W,S,M,ma)&&(k="1");b.setLastX(c);b.setLastY(e);return'<arc rx="'+(new String(ja)).toString()+'" ry="'+(new String(D)).toString()+'" x="'+(new String(c)).toString()+'" y="'+(new String(e)).toString()+'" x-axis-rotation="'+(new String(ca)).toString()+'" large-arc-flag="'+k+'" sweep-flag="'+d+'"/>'}return""};a.prototype.isReflexAngle=function(a,b,c,f,e,g,m,p){c-=a;f-=b;g-=b;e=m-a;p-=b;b=a=0;c=180*(Math.atan2(f,c)-Math.atan2(b,a))/Math.PI;e=180*(Math.atan2(g,e)-Math.atan2(b,a))/Math.PI;a=180*(Math.atan2(p,
m)-Math.atan2(b,a))/Math.PI;c=(c-a)%360;e=(e-a)%360;180<c?c-=360:-180>c&&(c+=360);180<e?e-=360:-180>e&&(e+=360);return(0<c&&0>e||0>c&&0<e)&&180<Math.abs(c-e)?!0:!1};return a}(f.mxgraph.io.vsdx.geometry.Row);e.EllipticalArcTo=c;c.__class="com.mxgraph.io.vsdx.geometry.EllipticalArcTo"})(e.geometry||(e.geometry={}))})(g.vsdx||(g.vsdx={}))})(g.io||(g.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(g){(function(g){(function(e){(function(e){var c=function(b){function a(a,c,f,e,g){a=b.call(this,a,c,f)||this;a.a=e;a.b=g;return a}__extends(a,b);a.prototype.handle=function(a,b){return""};return a}(f.mxgraph.io.vsdx.geometry.Row);e.InfiniteLine=c;c.__class="com.mxgraph.io.vsdx.geometry.InfiniteLine"})(e.geometry||(e.geometry={}))})(g.vsdx||(g.vsdx={}))})(g.io||(g.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(g){(function(g){(function(e){(function(e){var c=function(b){function a(a,c,f){return b.call(this,a,c,f)||this}__extends(a,b);a.prototype.handle=function(a,b){var d=a.x,c=a.y,k=b.getHeight(),e=b.getWidth();null!=this.x&&null!=this.y&&(d=this.x*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),c=this.y*f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$());d=Math.round(100*d/e*100)/100;c=Math.round(100*(100-100*c/k))/100;a.x=d;a.y=c;b.setLastX(d);b.setLastY(c);return'<line x="'+
@ -1335,7 +1336,7 @@ b.getFontColor$com_mxgraph_io_vsdx_theme_QuickStyleVals(this.getQuickStyleVals()
0)};c.prototype.getTextLeftMargin=function(){return this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.LEFT_MARGIN),0)};c.prototype.getTextRightMargin=function(){return this.getScreenNumericalValue$org_w3c_dom_Element$double(this.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.RIGHT_MARGIN),0)};c.prototype.getTextStyle=function(b){b=this.getCellElement$java_lang_String$java_lang_String$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.STYLE,
b,f.mxgraph.io.vsdx.mxVsdxConstants.CHARACTER);return this.getValue(b,"")};c.prototype.getTextFont=function(b){b=this.getCellElement$java_lang_String$java_lang_String$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.FONT,b,f.mxgraph.io.vsdx.mxVsdxConstants.CHARACTER);return this.getValue(b,"")};c.prototype.getTextPos=function(b){b=this.getCellElement$java_lang_String$java_lang_String$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.POS,b,f.mxgraph.io.vsdx.mxVsdxConstants.CHARACTER);return this.getValue(b,
"")};c.prototype.getTextStrike=function(b){b=this.getCellElement$java_lang_String$java_lang_String$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.STRIKETHRU,b,f.mxgraph.io.vsdx.mxVsdxConstants.CHARACTER);b=(b=this.getValue(b,""))&&b.equals?b.equals("1"):"1"===b;return b};c.prototype.getTextCase=function(b){b=this.getCellElement$java_lang_String$java_lang_String$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.CASE,b,f.mxgraph.io.vsdx.mxVsdxConstants.CHARACTER);return this.getValue(b,"")};c.prototype.getHorizontalAlign=
function(b,a){var c;c=this.getCellElement$java_lang_String$java_lang_String$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.HORIZONTAL_ALIGN,b,f.mxgraph.io.vsdx.mxVsdxConstants.PARAGRAPH);switch(this.getValue(c,"")){case "0":c=a?"left":mxConstants.ALIGN_LEFT;break;case "2":c=a?"right":mxConstants.ALIGN_RIGHT;break;case "3":case "4":c=a?"justify":mxConstants.ALIGN_CENTER;break;default:c=a?"center":mxConstants.ALIGN_CENTER}return c};c.prototype.getIndentFirst=function(b){b=this.getCellElement$java_lang_String$java_lang_String$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.INDENT_FIRST,
function(b,a){var d;d=this.getCellElement$java_lang_String$java_lang_String$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.HORIZONTAL_ALIGN,b,f.mxgraph.io.vsdx.mxVsdxConstants.PARAGRAPH);switch(this.getValue(d,"")){case "0":d=a?"left":mxConstants.ALIGN_LEFT;break;case "2":d=a?"right":mxConstants.ALIGN_RIGHT;break;case "3":case "4":d=a?"justify":mxConstants.ALIGN_CENTER;break;default:d=a?"center":mxConstants.ALIGN_CENTER}return d};c.prototype.getIndentFirst=function(b){b=this.getCellElement$java_lang_String$java_lang_String$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.INDENT_FIRST,
b,f.mxgraph.io.vsdx.mxVsdxConstants.PARAGRAPH);return(new String(this.getScreenNumericalValue$org_w3c_dom_Element$double(b,0))).toString()};c.prototype.getIndentLeft=function(b){b=this.getCellElement$java_lang_String$java_lang_String$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.INDENT_LEFT,b,f.mxgraph.io.vsdx.mxVsdxConstants.PARAGRAPH);return(new String(Math.round(this.getScreenNumericalValue$org_w3c_dom_Element$double(b,0))|0)).toString()};c.prototype.getIndentRight=function(b){b=this.getCellElement$java_lang_String$java_lang_String$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.INDENT_RIGHT,
b,f.mxgraph.io.vsdx.mxVsdxConstants.PARAGRAPH);return(new String(Math.round(this.getScreenNumericalValue$org_w3c_dom_Element$double(b,0))|0)).toString()};c.prototype.getSpBefore=function(b){b=this.getCellElement$java_lang_String$java_lang_String$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.SPACE_BEFORE,b,f.mxgraph.io.vsdx.mxVsdxConstants.PARAGRAPH);return(new String(Math.round(this.getScreenNumericalValue$org_w3c_dom_Element$double(b,0))|0)).toString()};c.prototype.getSpAfter=function(b){b=
this.getCellElement$java_lang_String$java_lang_String$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.SPACE_AFTER,b,f.mxgraph.io.vsdx.mxVsdxConstants.PARAGRAPH);return(new String(Math.round(this.getScreenNumericalValue$org_w3c_dom_Element$double(b,0))|0)).toString()};c.prototype.getSpLine=function(b){b=this.getCellElement$java_lang_String$java_lang_String$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.SPACE_LINE,b,f.mxgraph.io.vsdx.mxVsdxConstants.PARAGRAPH);b=this.getValue(b,"");var a;a=b&&
@ -1349,11 +1350,11 @@ b=[];0<b.push(c.DASH);0<b.push(c.SHORT_SPACE);0<b.push(c.SHORT_DASH);0<b.push(c.
c.lineDashPatterns_$LI$().push(b);b=[];0<b.push(c.XLONG_DASH);0<b.push(c.LONG_SPACE);0<b.push(c.DASH);0<b.push(c.LONG_SPACE);0<b.push(c.DASH);0<b.push(c.LONG_SPACE);0<c.lineDashPatterns_$LI$().push(b);b=[];0<b.push(c.XSHORT_DASH);0<b.push(c.SHORT_SPACE);0<c.lineDashPatterns_$LI$().push(b)};c.getLineDashPattern=function(b){return 0<=b&&23>=b?c.lineDashPatterns_$LI$()[b]:c.lineDashPatterns_$LI$()[0]};return c}();g.__static_initialized=!1;g.vsdxStyleDebug=!1;g.SPACE=4;g.SHORT_SPACE=2;g.LONG_SPACE=6;
g.DOT=1;g.DASH=8;g.LONG_DASH=12;g.SHORT_DASH=4;g.XLONG_DASH=20;g.XSHORT_DASH=2;e.Style=g;g.__class="com.mxgraph.io.vsdx.Style"})(g.vsdx||(g.vsdx={}))})(g.io||(g.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(g){(function(g){(function(e){(function(e){var c=function(b){function a(a,c,e){var d=b.call(this)||this;d.__com_mxgraph_io_vsdx_theme_HslClr_hue=a/360;d.__com_mxgraph_io_vsdx_theme_HslClr_sat=c/100;d.__com_mxgraph_io_vsdx_theme_HslClr_lum=e/100;d.color=(new f.mxgraph.io.vsdx.theme.HSLColor(a,c,e)).toRgb();return d}__extends(a,b);return a}(f.mxgraph.io.vsdx.theme.OoxmlColor);e.HslClr=c;c.__class="com.mxgraph.io.vsdx.theme.HslClr"})(e.theme||(e.theme={}))})(g.vsdx||(g.vsdx={}))})(g.io||
(g.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));(function(f){(function(g){(function(g){(function(e){(function(e){var c=function(b){function a(a){var c=b.call(this)||this;c.val=a;c.color=new f.mxgraph.io.vsdx.theme.Color(255,255,255);return c}__extends(a,b);return a}(f.mxgraph.io.vsdx.theme.OoxmlColor);e.PrstClr=c;c.__class="com.mxgraph.io.vsdx.theme.PrstClr"})(e.theme||(e.theme={}))})(g.vsdx||(g.vsdx={}))})(g.io||(g.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(g){(function(g){(function(e){(function(e){var c=function(b){function a(a){var c=b.call(this)||this;c.isDynamic=!0;c.val=a;return c}__extends(a,b);a.prototype.calcColor=function(a,c){var d;d=this.val;d="phClr".equals?"phClr".equals(d):"phClr"===d;d?this.color=c.getStyleColor(a):(this.color=c.getSchemeColor(this.val),this.isDynamic=!1);b.prototype.calcColor.call(this,a,c)};return a}(f.mxgraph.io.vsdx.theme.OoxmlColor);e.SchemeClr=c;c.__class="com.mxgraph.io.vsdx.theme.SchemeClr"})(e.theme||
(g.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));(function(f){(function(g){(function(g){(function(e){(function(e){var c=function(b){function a(a){var d=b.call(this)||this;d.val=a;d.color=new f.mxgraph.io.vsdx.theme.Color(255,255,255);return d}__extends(a,b);return a}(f.mxgraph.io.vsdx.theme.OoxmlColor);e.PrstClr=c;c.__class="com.mxgraph.io.vsdx.theme.PrstClr"})(e.theme||(e.theme={}))})(g.vsdx||(g.vsdx={}))})(g.io||(g.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(g){(function(g){(function(e){(function(e){var c=function(b){function a(a){var d=b.call(this)||this;d.isDynamic=!0;d.val=a;return d}__extends(a,b);a.prototype.calcColor=function(a,c){var d;d=this.val;d="phClr".equals?"phClr".equals(d):"phClr"===d;d?this.color=c.getStyleColor(a):(this.color=c.getSchemeColor(this.val),this.isDynamic=!1);b.prototype.calcColor.call(this,a,c)};return a}(f.mxgraph.io.vsdx.theme.OoxmlColor);e.SchemeClr=c;c.__class="com.mxgraph.io.vsdx.theme.SchemeClr"})(e.theme||
(e.theme={}))})(g.vsdx||(g.vsdx={}))})(g.io||(g.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(g){(function(g){(function(e){(function(e){var c=function(b){function a(a,c,e){var d=b.call(this)||this;d.r=0;d.g=0;d.b=0;d.r=a;d.g=c;d.b=e;d.color=new f.mxgraph.io.vsdx.theme.Color(a,c,e);return d}__extends(a,b);return a}(f.mxgraph.io.vsdx.theme.OoxmlColor);e.ScrgbClr=c;c.__class="com.mxgraph.io.vsdx.theme.ScrgbClr"})(e.theme||(e.theme={}))})(g.vsdx||(g.vsdx={}))})(g.io||(g.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(g){(function(g){(function(e){(function(e){var c=function(b){function a(a){var c=b.call(this)||this;c.hexVal=null;c.hexVal=a;c.color=f.mxgraph.io.vsdx.theme.Color.decodeColorHex(a);return c}__extends(a,b);return a}(f.mxgraph.io.vsdx.theme.OoxmlColor);e.SrgbClr=c;c.__class="com.mxgraph.io.vsdx.theme.SrgbClr"})(e.theme||(e.theme={}))})(g.vsdx||(g.vsdx={}))})(g.io||(g.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(g){(function(g){(function(e){(function(e){var c=function(b){function a(a){var d=b.call(this)||this;d.hexVal=null;d.hexVal=a;d.color=f.mxgraph.io.vsdx.theme.Color.decodeColorHex(a);return d}__extends(a,b);return a}(f.mxgraph.io.vsdx.theme.OoxmlColor);e.SrgbClr=c;c.__class="com.mxgraph.io.vsdx.theme.SrgbClr"})(e.theme||(e.theme={}))})(g.vsdx||(g.vsdx={}))})(g.io||(g.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(g){(function(g){(function(e){(function(e){var c=function(b){function a(a,c){var d=b.call(this)||this;d.lastClr=null;d.val=a;var k=d.lastClr=c;if(null==k)switch(a){case "windowText":k="000000";break;case "window":k="FFFFFF";break;default:k="FFFFFF"}d.color=f.mxgraph.io.vsdx.theme.Color.decodeColorHex(k);return d}__extends(a,b);return a}(f.mxgraph.io.vsdx.theme.OoxmlColor);e.SysClr=c;c.__class="com.mxgraph.io.vsdx.theme.SysClr"})(e.theme||(e.theme={}))})(g.vsdx||(g.vsdx={}))})(g.io||
(g.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(g){(function(g){(function(e){(function(e){var c=function(b){function a(a,c,f,e,g,m,p){return b.call(this,a,c,f,e,g,m,p)||this}__extends(a,b);a.prototype.handle=function(a,c){if(null!=this.x&&null!=this.y&&null!=this.a&&null!=this.b&&null!=this.c&&null!=this.d){var d=c.getHeight()/f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$(),k=c.getWidth()/f.mxgraph.io.vsdx.mxVsdxUtils.conversionFactor_$LI$();this.x*=k;this.y*=d;this.a*=k;this.b*=d}return b.prototype.handle.call(this,
@ -1364,9 +1365,9 @@ b.UNICODE_LINE_SEP=String.fromCharCode(8232));return b.UNICODE_LINE_SEP};b.proto
this.geomListProcessed=!0}};b.prototype.parseShapeElem=function(a,d){c.prototype.parseShapeElem.call(this,a,d);var k=a.nodeName;if(function(a,b){return a&&a.equals?a.equals(b):a===b}(k,"ForeignData")){var k=function(a,b){for(var c=a.firstChild;null!=c;){if(1==c.nodeType){var k=c;if("rel"==k.nodeName.toLowerCase()&&(k=k.getAttribute("r:id"),null!=k&&0!==k.length)){var c=b.lastIndexOf("/"),f="",e="";try{f=b.substring(0,c),e=b.substring(c,b.length)}catch(O){break}c=d.getRelationship(k,f+"/_rels"+e+".rels");
if(null!=c){k=c.getAttribute("Target")||"";f=c.getAttribute("Type");c=k.lastIndexOf("/");try{k=k.substring(c+1,k.length)}catch(O){break}return{type:f,target:k}}break}}c=c.nextSibling}},e=a.ownerDocument.vsdxFileName,g=a.getAttribute("ForeignType"),m=a.getAttribute("CompressionType")||"",p=null;if(function(a,b){return a&&a.equals?a.equals(b):a===b}(g,"Bitmap"))m=m.toLowerCase();else if(function(a,b){return a&&a.equals?a.equals(b):a===b}(g,"MetaFile"))m="png";else if(function(a,b){return a&&a.equals?
a.equals(b):a===b}(g,"Enhanced Metafile")||function(a,b){return a&&a.equals?a.equals(b):a===b}(g,"EnhMetaFile"))m="png";else if("Object"==g){if(p=k(a,e),0<p.type.indexOf("/oleObject"))if(m=d.getRelationship("rId1","visio/embeddings/_rels/"+p.target+".rels"),null!=m){p=m.getAttribute("Target");g=m.getAttribute("Type");try{var B=p.lastIndexOf("/"),p=p.substring(B+1,p.length)}catch(C){return}m="png";p={type:g,target:p}}else return}else return;null==p&&(p=k(a,e));g=p.type;p=p.target;null!=g&&function(a,
b){var c=a.length-b.length,d=a.indexOf(b,c);return-1!==d&&d===c}(g,"image")&&(this.imageData={},(B=d.getMedia(f.mxgraph.io.mxVsdxCodec.vsdxPlaceholder+"/media/"+p))?(this.imageData.iData=B,function(a,b){var c=a.length-b.length,d=a.indexOf(b,c);return-1!==d&&d===c}(p.toLowerCase(),".bmp")&&(m="jpg"),this.imageData.iType=m):(this.imageData.iData=b.ERROR_IMAGE,this.imageData.iType="svg+xml"))}else(function(a,b){return a&&a.equals?a.equals(b):a===b})(k,f.mxgraph.io.vsdx.mxVsdxConstants.TEXT)&&(this.text=
b){var d=a.length-b.length,c=a.indexOf(b,d);return-1!==c&&c===d}(g,"image")&&(this.imageData={},(B=d.getMedia(f.mxgraph.io.mxVsdxCodec.vsdxPlaceholder+"/media/"+p))?(this.imageData.iData=B,function(a,b){var d=a.length-b.length,c=a.indexOf(b,d);return-1!==c&&c===d}(p.toLowerCase(),".bmp")&&(m="jpg"),this.imageData.iType=m):(this.imageData.iData=b.ERROR_IMAGE,this.imageData.iType="svg+xml"))}else(function(a,b){return a&&a.equals?a.equals(b):a===b})(k,f.mxgraph.io.vsdx.mxVsdxConstants.TEXT)&&(this.text=
a)};b.prototype.parseSection=function(a){var d=a.getAttribute("N");if(function(a,b){return a&&a.equals?a.equals(b):a===b}(d,"Geometry"))null==this.geom&&(this.geom=[]),0<this.geom.push(a);else if(function(a,b){return a&&a.equals?a.equals(b):a===b}(d,"Field")){a=f.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildNamedElements(a,"Row");for(var k=0;k<a.length;k++){var d=a[k],e=d.getAttribute("IX")||"";if(0!==e.length)if(null==this.fields&&(this.fields={}),function(a,b){return a&&a.equals?a.equals(b):a===b}("1",
d.getAttribute("Del")))this.fields[e]="";else{for(var g=f.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildNamedElements(d,"Cell"),m="",p="",B=0;B<g.length;B++){var C=g[B],d=C.getAttribute("N"),C=C.getAttribute("V")||C.textContent||"";switch(d){case "Value":m=C;break;case "Format":p=C}}if(0!==m.length){try{if(function(a,b,c){void 0===c&&(c=0);return a.substr(c,b.length)===b}(p,"{{"))var p=p.replace(/m/g,"@").replace(/M/g,"m").replace(/@/g,"M"),A=isNaN(m)?new Date(m):new Date(b.VSDX_START_TIME+Math.floor(864E5*
d.getAttribute("Del")))this.fields[e]="";else{for(var g=f.mxgraph.io.vsdx.mxVsdxUtils.getDirectChildNamedElements(d,"Cell"),m="",p="",B=0;B<g.length;B++){var C=g[B],d=C.getAttribute("N"),C=C.getAttribute("V")||C.textContent||"";switch(d){case "Value":m=C;break;case "Format":p=C}}if(0!==m.length){try{if(function(a,b,d){void 0===d&&(d=0);return a.substr(d,b.length)===b}(p,"{{"))var p=p.replace(/m/g,"@").replace(/M/g,"m").replace(/@/g,"M"),A=isNaN(m)?new Date(m):new Date(b.VSDX_START_TIME+Math.floor(864E5*
parseFloat(m))),m=Graph.prototype.formatDate(A,p.replace(RegExp("\\{|\\}","g"),""))}catch(D){}this.fields[e]=m}}}}else c.prototype.parseSection.call(this,a)};b.prototype.parseGeom=function(){return this.hasGeomList()?this.geomList.getShapeXML(this):""};b.prototype.getText=function(){return null!=this.text?this.text.textContent:null};b.prototype.getTextChildren=function(){return null!=this.text?this.text.childNodes:null};b.prototype.getWidth=function(){return 0===this.width&&0<this.height?1:this.width};
b.prototype.getHeight=function(){return 0===this.height&&0<this.width?1:this.height};b.prototype.getRotation=function(){return this.rotation};b.prototype.getStyleMap=function(){return this.styleMap};b.prototype.hasGeom=function(){return!(null==this.geom||0==this.geom.length)};b.prototype.hasGeomList=function(){return null!=this.geomList&&this.geomList.hasGeom()};b.prototype.getPPList=function(a){var b=null;""!=a&&(a=this.getBullet(a),"0"!=a&&(b='<ul style="margin: 0;list-style-type: '+("4"==a?"square":
"disc")+'">'));return b};b.prototype.getTextParagraphFormated=function(a){var b="",c={};c.align=this.getHorizontalAlign(this.pp,!0);c["margin-left"]=this.getIndentLeft(this.pp);c["margin-right"]=this.getIndentRight(this.pp);c["margin-top"]=this.getSpBefore(this.pp)+"px";c["margin-bottom"]=this.getSpAfter(this.pp)+"px";c["text-indent"]=this.getIndentFirst(this.pp);c.valign=this.getAlignVertical();c.direction=this.getTextDirection(this.pp);return b+=this.insertAttributes(a,c)};b.prototype.getTextCharFormated=
@ -1381,8 +1382,8 @@ a.equals(b):a===b}(a.toLowerCase(),"themed")||(b=1===(parseInt(a)&1));return b};
"1"));0===b?a=mxConstants.ALIGN_TOP:2===b&&(a=mxConstants.ALIGN_BOTTOM);return a};b.prototype.getGeomList=function(){return this.geomList};b.prototype.getLastX=function(){return this.lastX};b.prototype.getLastY=function(){return this.lastY};b.prototype.getLastMoveX=function(){return this.lastMoveX};b.prototype.getLastMoveY=function(){return this.lastMoveY};b.prototype.getLastKnot=function(){return this.lastKnot};b.prototype.setLastX=function(a){this.lastX=a};b.prototype.setLastY=function(a){this.lastY=
a};b.prototype.setLastMoveX=function(a){this.lastMoveX=a};b.prototype.setLastMoveY=function(a){this.lastMoveY=a};b.prototype.setLastKnot=function(a){this.lastKnot=a};return b}(f.mxgraph.io.vsdx.Style);g.VSDX_START_TIME=-22091688E5;e.Shape=g;g.__class="com.mxgraph.io.vsdx.Shape"})(g.vsdx||(g.vsdx={}))})(g.io||(g.io={}))})(f.mxgraph||(f.mxgraph={}))})(com||(com={}));
(function(f){(function(g){(function(g){(function(e){var g=function(c){function b(a,b,k,e,g,m){var d=this;d.masterShape=null;d.master=null;d.parentHeight=0;d=c.call(this,b,m)||this;d.htmlLabels=!0;d.rootShape=d;d.shapeName=null;d.shapeIndex=0;d.vertex=!0;d.childShapes={};var n=d.getMasterId(),w=d.getShapeMasterId();d.master=null!=n?e[n]?e[n]:null:g;null!=d.master&&(d.masterShape=null==n&&null!=w?d.master.getSubShape(w):d.master.getMasterShape());e=d.getNameU();g=e.lastIndexOf(".");-1!==g&&(e=e.substring(0,
g));d.shapeName=e;b=b.getElementsByTagName(f.mxgraph.io.vsdx.mxVsdxConstants.SHAPES);null!=b&&0<b.length&&(b=b.item(0),d.childShapes=a.parseShapes(b,d.master,!1));b=d.calcRotation();d.rotation=100*b/100;d.rotation%=360;b=a.getCellIntValue("ThemeIndex",-100);-100===b&&(b=parseInt(d.getValue(d.getCellElement$java_lang_String("ThemeIndex"),"0")));m=function(a,b){null==a.entries&&(a.entries=[]);for(var c=0;c<a.entries.length;c++)if(null!=a.entries[c].key.equals&&a.entries[c].key.equals(b)||a.entries[c].key===
b)return a.entries[c].value;return null}(m.getThemes(),b);a=a.getCellIntValue("VariationColorIndex",0);d.setThemeAndVariant(m,a);b=function(a){null==a.entries&&(a.entries=[]);return a.entries}(d.childShapes);for(e=0;e<b.length;e++)g=b[e].getValue(),g.setRootShape(d),null==g.theme&&g.setThemeAndVariant(m,a);d.quickStyleVals=new f.mxgraph.io.vsdx.theme.QuickStyleVals(parseInt(d.getValue(d.getCellElement$java_lang_String("QuickStyleEffectsMatrix"),"0")),parseInt(d.getValue(d.getCellElement$java_lang_String("QuickStyleFillColor"),
g));d.shapeName=e;b=b.getElementsByTagName(f.mxgraph.io.vsdx.mxVsdxConstants.SHAPES);null!=b&&0<b.length&&(b=b.item(0),d.childShapes=a.parseShapes(b,d.master,!1));b=d.calcRotation();d.rotation=100*b/100;d.rotation%=360;b=a.getCellIntValue("ThemeIndex",-100);-100===b&&(b=parseInt(d.getValue(d.getCellElement$java_lang_String("ThemeIndex"),"0")));m=function(a,b){null==a.entries&&(a.entries=[]);for(var d=0;d<a.entries.length;d++)if(null!=a.entries[d].key.equals&&a.entries[d].key.equals(b)||a.entries[d].key===
b)return a.entries[d].value;return null}(m.getThemes(),b);a=a.getCellIntValue("VariationColorIndex",0);d.setThemeAndVariant(m,a);b=function(a){null==a.entries&&(a.entries=[]);return a.entries}(d.childShapes);for(e=0;e<b.length;e++)g=b[e].getValue(),g.setRootShape(d),null==g.theme&&g.setThemeAndVariant(m,a);d.quickStyleVals=new f.mxgraph.io.vsdx.theme.QuickStyleVals(parseInt(d.getValue(d.getCellElement$java_lang_String("QuickStyleEffectsMatrix"),"0")),parseInt(d.getValue(d.getCellElement$java_lang_String("QuickStyleFillColor"),
"1")),parseInt(d.getValue(d.getCellElement$java_lang_String("QuickStyleFillMatrix"),"0")),parseInt(d.getValue(d.getCellElement$java_lang_String("QuickStyleFontColor"),"1")),parseInt(d.getValue(d.getCellElement$java_lang_String("QuickStyleFontMatrix"),"0")),parseInt(d.getValue(d.getCellElement$java_lang_String("QuickStyleLineColor"),"1")),parseInt(d.getValue(d.getCellElement$java_lang_String("QuickStyleLineMatrix"),"0")),parseInt(d.getValue(d.getCellElement$java_lang_String("QuickStyleShadowColor"),
"1")),parseInt(d.getValue(d.getCellElement$java_lang_String("QuickStyleType"),"0")),parseInt(d.getValue(d.getCellElement$java_lang_String("QuickStyleVariation"),"0")));null!=d.masterShape?(d.masterShape.processGeomList(null),d.processGeomList(d.masterShape.getGeomList()),0===d.width&&(d.width=d.getScreenNumericalValue$org_w3c_dom_Element$double(d.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.WIDTH),0)),0===d.height&&(d.height=d.getScreenNumericalValue$org_w3c_dom_Element$double(d.getCellElement$java_lang_String(f.mxgraph.io.vsdx.mxVsdxConstants.HEIGHT),
0))):d.processGeomList(null);d.vertex=k||null!=d.childShapes&&!function(a){null==a.entries&&(a.entries=[]);return 0==a.entries.length}(d.childShapes)||null!=d.geomList&&(!d.geomList.isNoFill()||1<d.geomList.getGeoCount());d.layerMember=d.getValue(d.getCellElement$java_lang_String("LayerMember"));d.layerMember&&0==d.layerMember.indexOf("0;")&&(d.layerMember=d.layerMember.substr(2));return d}__extends(b,c);b.__static_initialize=function(){b.__static_initialized||(b.__static_initialized=!0,b.__static_initializer_0())};

View file

@ -1,4 +1,4 @@
function mxODPicker(container, previewFn, getODFilesList, getODFileInfo, getRecentList, addToRecent, pickedFileCallback, errorFn, foldersOnly, backFn, withSubmitBtn, withThumbnail)
function mxODPicker(container, previewFn, getODFilesList, getODFileInfo, getRecentList, addToRecent, pickedFileCallback, errorFn, foldersOnly, backFn, withSubmitBtn, withThumbnail, initFolderPath)
{
var previewHtml = '';
@ -751,15 +751,20 @@ function mxODPicker(container, previewFn, getODFilesList, getODFileInfo, getRece
var cats = _$$('.odCatListTitle');
function setSelectedCat(cat)
{
selectedCat.className = selectedCat.className.replace('odCatSelected', '');
selectedCat = cat;
selectedCat.className += ' odCatSelected';
};
for (var i = 0; i < cats.length; i++)
{
cats[i].addEventListener('click', function()
{
if (requestInProgress) return;
selectedCat.className = selectedCat.className.replace('odCatSelected', '');
selectedCat = this;
selectedCat.className += ' odCatSelected';
setSelectedCat(this);
switch(this.id)
{
@ -838,5 +843,20 @@ function mxODPicker(container, previewFn, getODFilesList, getODFileInfo, getRece
return false;
};
fillFolderFiles();
if (initFolderPath != null)
{
var folderInfo = initFolderPath.pop();
if (initFolderPath[0].driveId == 'sharepoint')
{
setSelectedCat(_$('#odSharepoint'));
}
breadcrumb = initFolderPath;
fillFolderFiles(folderInfo.driveId, folderInfo.folderId, folderInfo.siteId, folderInfo.name);
}
else
{
fillFolderFiles();
}
};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -83,6 +83,14 @@ Draw.loadPlugin(function(ui)
}
};
ui.menus.get('file').funct = function(menu, parent)
{
menu.addItem(mxResources.get('licenseRequired'), null, function()
{
// do nothing
}, parent, null, false);
}
renameAction.funct = function()
{
var dlg = new FilenameDialog(ui, macroData.diagramDisplayName || "",

View file

@ -428,6 +428,7 @@ lastChange=Last change {1} ago
lessThanAMinute=less than a minute
licensingError=Licensing Error
licenseHasExpired=The license for {1} has expired on {2}. Click here.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=The license for {1} will expire on {2}. Click here.
lineJumps=Line jumps
linkAccountRequired=If the diagram is not public a Google account is required to view the link.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Last change {1} ago
lessThanAMinute=less than a minute
licensingError=Licensing Error
licenseHasExpired=The license for {1} has expired on {2}. Click here.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=The license for {1} will expire on {2}. Click here.
lineJumps=Line jumps
linkAccountRequired=If the diagram is not public a Google account is required to view the link.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=‫آخر تعديل قبل {1}
lessThanAMinute=‫أقل من دقيقة‬
licensingError=Licensing Error
licenseHasExpired=The license for {1} has expired on {2}. Click here.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=The license for {1} will expire on {2}. Click here.
lineJumps=Line jumps
linkAccountRequired=If the diagram is not public a Google account is required to view the link.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Последна промяна преди {1}
lessThanAMinute=по-малко от една минута
licensingError=Грешка при лицензирането
licenseHasExpired=Лицензът за {1} изтече на {2}. Кликнете тук.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=Лицензът за {1} ще изтече на {2}. Кликнете тук.
lineJumps=Line jumps
linkAccountRequired=Ако диаграмата не е публична, е необходим профил в Google, за да видите линка.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Last change {1} ago
lessThanAMinute=less than a minute
licensingError=Licensing Error
licenseHasExpired=The license for {1} has expired on {2}. Click here.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=The license for {1} will expire on {2}. Click here.
lineJumps=Line jumps
linkAccountRequired=If the diagram is not public a Google account is required to view the link.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Zadnja izmjena prije {1}
lessThanAMinute=manje od minute
licensingError=Greška pri licenciranju
licenseHasExpired=Licenca za {1} je istekla {2}. Kliknite ovdje.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=Licenca za {1} će isteći {2}. Kliknite ovdje.
lineJumps=Line jumps
linkAccountRequired=Ukoliko dijagram nije javni, potreban je Google nalog za pregledanje linka.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=El darrer canvi s'ha efectuat fa {1}
lessThanAMinute=menys d'un minut
licensingError=Error de llicència
licenseHasExpired=La llicència per a {1} ha expirat el {2}. Clica aquí.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=La llicència per a {1} expira el {2}. Clica aquí.
lineJumps=Salts de línia
linkAccountRequired=Si el diagrama no és públic es requereix un compte de Google per a veure l'enllaç.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=naposledy změněno před {1}
lessThanAMinute=méně než 1 min.
licensingError=Chyba licence
licenseHasExpired=Licence pro {1} vypršela {2}. Klepněte sem.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=Licence pro {1} vyprší {2}. Klepněte sem.
lineJumps=Line jumps
linkAccountRequired=Pokud je diagram neveřejný, k jeho zobrazení je potřeba účet Google.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Sidste ændring for {1} siden
lessThanAMinute=mindre end et minut
licensingError=Licens Fejl
licenseHasExpired=Licensen for {1} udløb den {2}. Klik her.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=Licensen for {1} vil udløbe den {2}. Klik her.
lineJumps=Line jumps
linkAccountRequired=Hvis diagrammet ikke er offentligt er en Google konto nødvendig for at kunne se linket.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Letzte Änderung vor {1}
lessThanAMinute=weniger als einer Minute
licensingError=Lizenzfehler
licenseHasExpired=Die Lizenz für {1} ist am {2} abgelaufen. Hier klicken.
licenseRequired=Für diese Funktion muss draw.io lizenziert sein.
licenseWillExpire=Die Lizenz für {1} läuft am {2} ab. Hier klicken.
lineJumps=Liniensprünge
linkAccountRequired=Wenn das Diagramm nicht öffentlich ist, wird ein Google Konto für die Ansicht benötigt.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Τελευταία αλλαγή {1} πριν
lessThanAMinute=λιγότερο από ένα λεπτό
licensingError=Σφάλμα στην άδεια χρήση
licenseHasExpired=Η άδεια χρήσης για {1} έχει λήξει στις {2}. Πατήστε εδώ.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=Η άδεια χρήσης για {1} θα λήξει στις {2}. Πατήστε εδώ.
lineJumps=Line jumps
linkAccountRequired=Εάν το διάγραμμα δεν είναι δημόσιο, χρειάζεται λογαριασμός Google για να δείτε τον σύνδεσμο.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Last change {1} ago
lessThanAMinute=less than a minute
licensingError=Licensing Error
licenseHasExpired=The license for {1} has expired on {2}. Click here.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=The license for {1} will expire on {2}. Click here.
lineJumps=Line jumps
linkAccountRequired=If the diagram is not public a Google account is required to view the link.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=El último cambio fue hace {1}
lessThanAMinute=menos de un minuto
licensingError=Error de licencia
licenseHasExpired=La licencia para {1} ha expirado en {2}. Haga clic aquí.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=La licencia para {1} expirará en {2}. Haga clic aquí.
lineJumps=Saltos de línea
linkAccountRequired=Se requiere una cuenta de Google para ver el enlace si el diagrama no es público.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Viimane muudatus {1} tagasi
lessThanAMinute=vähem kui minut
licensingError=Litsentsiviga
licenseHasExpired=Litsents {1} jaoks aegub {2}. Vajuta siia.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=Litsents {1} jaoks aegub {2}. Vajuta siia.
lineJumps=Joone punktid
linkAccountRequired=Kui diagramm pole avalik, siis läheb lingi vaatamiseks Google'i kasutajakontot vaja.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Azken aldaketa {1} lehenago egina
lessThanAMinute=minututxo bat
licensingError=Lizentzia errorea
licenseHasExpired={1}-ren lizentzia {2}-an iraungi da.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire={1}-ren lizentzia {2}-an iraungiko da. Egin klik hemen.
lineJumps=Lerro-jausia
linkAccountRequired=Googleren kontu bat behar da esteka hau ikusteko diagrama publikoa ez bada.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=‫آخرین تغییر {1) پیش‬
lessThanAMinute=‫کمتر از یک دقیقه‬
licensingError=‫خطای مجوز‬
licenseHasExpired=‫مجوز مربوط به {1} در {2} منقضی شده است. اینجا کلیک کنید.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=‫مجوز مربوط به {1} در {2} منقضی خواهد شد. اینجا کلیک کنید.
lineJumps=Line jumps
linkAccountRequired=‫اگر نمودار عمومی نیست، برای مشاهده لینک به حساب گوگل نیاز است.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Viimeinen muutos {1} sitten
lessThanAMinute=alle minuutti
licensingError=Lisenssivirhe
licenseHasExpired={1} lisenssi on päättynyt {2}. Klikkaa tästä.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire={1} lisenssi päättyy {2}. Klikkaa tästä.
lineJumps=Viivanylitykset
linkAccountRequired=Jos kaavio ei ole julkinen, tarkistamiseen tarvitaan Google-tiliä.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Huling pagbabago {1}
lessThanAMinute=Mababa sa isang minuto
licensingError=Pagkakamali sa paglilisensya
licenseHasExpired=Ang lisensya para kay {1} ay nagwakas ng {2}. Pindutin dito
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=Ang lisensya para kay {1} ay magwawakas sa {2}. Pindutin dito
lineJumps=Line jumps
linkAccountRequired=Kung ang Dayagram ay di pampubliko, kailangan ng Google account para tingnan ang Link
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Dernière modification il y a {1}
lessThanAMinute=moins d'une minute
licensingError=Erreur de licence
licenseHasExpired=La license pour {1} a expiré le {2}. Cliquez ici.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=La license pour {1} expirera le {2}. Cliquez ici.
lineJumps=Sauts de ligne
linkAccountRequired=Si le diagramme n'est pas public, un compte Google est requis pour voir le lien.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Última alteración hai {1}
lessThanAMinute=menos dun minuto
licensingError=Erro na licenza
licenseHasExpired=A licenza para {1} expirou o {2}. Preme aquí.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=A licenza para {1} vai expirar o {2}. Preme aquí.
lineJumps=Saltos de liña
linkAccountRequired=Se o diagrama non é público precísase unha conta de Google para mirar o vencello.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Last change {1} ago
lessThanAMinute=less than a minute
licensingError=Licensing Error
licenseHasExpired=The license for {1} has expired on {2}. Click here.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=The license for {1} will expire on {2}. Click here.
lineJumps=Line jumps
linkAccountRequired=If the diagram is not public a Google account is required to view the link.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=‫שינוי אחרון לפני {1}
lessThanAMinute=‫פחות מדקה‬
licensingError=‫שגיאת רישיון‬
licenseHasExpired=‫הרשיון עבור {1} אינו בתוקף מתאריך {2}. לחץ כאן.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=‫תוקף הרשיון עבור {1} יפוג בתאריך {2}. לחץ כאן.
lineJumps=Line jumps
linkAccountRequired=‫אם הדיאגרמה אינה ציבורית, נדרש חשבון גוגל כדי לפתוח את הקישור.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Last change {1} ago
lessThanAMinute=less than a minute
licensingError=Licensing Error
licenseHasExpired=The license for {1} has expired on {2}. Click here.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=The license for {1} will expire on {2}. Click here.
lineJumps=Line jumps
linkAccountRequired=If the diagram is not public a Google account is required to view the link.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Last change {1} ago
lessThanAMinute=less than a minute
licensingError=Licensing Error
licenseHasExpired=The license for {1} has expired on {2}. Click here.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=The license for {1} will expire on {2}. Click here.
lineJumps=Line jumps
linkAccountRequired=If the diagram is not public a Google account is required to view the link.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Utolsó változás ideje: {1}
lessThanAMinute=kevesebb mint egy perc
licensingError=Engedélyezési hiba
licenseHasExpired={2}-n lejárt az engedély a(z) {1}-hez. Kattintson ide.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire={2}-n lejár az engedély a(z) {1}-hez. Kattintson ide.
lineJumps=Line jumps
linkAccountRequired=Amiben a diagram nem nyilvános, Google számla szükséges a link megtekintéséhez.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=lastChange
lessThanAMinute=lessThanAMinute
licensingError=licensingError
licenseHasExpired=licenseHasExpired
licenseRequired=licenseRequired
licenseWillExpire=licenseWillExpire
lineJumps=lineJumps
linkAccountRequired=linkAccountRequired
@ -1041,3 +1042,4 @@ diagNameEmptyErr=diagNameEmptyErr
openDiagram=openDiagram
newDiagram=newDiagram
editable=editable
confAReimportStarted=confAReimportStarted

View file

@ -428,6 +428,7 @@ lastChange=Terakhir diubah {1} lalu
lessThanAMinute=kurang dari satu menit
licensingError=Galat Lisensi
licenseHasExpired=Lisensi {1} telah berakhir pada {2}. Klik di sini.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=Lisensi {1} akan berakhir pada {2}. Klik di sini.
lineJumps=Line jumps
linkAccountRequired=Jika diagram tidak bersifat publik, akun Google diperlukan untuk membaca tautan.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Ultima modifica {1} fa
lessThanAMinute=meno di un minuto
licensingError=Errore di licenza
licenseHasExpired=La licenza per {1} è scaduta il {2}. Clicca qui.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=La licenza per {1} scadrà il {2}. Clicca qui.
lineJumps=Line jumps
linkAccountRequired=Se il diagramma non è pubblico, è necessario un account Google per visualizzare il link.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange={1}前に保存されました。
lessThanAMinute=1分以内に
licensingError=ライセンス エラー
licenseHasExpired=ライセンス{1} は{2}に期限がきれました。 ここをクリックしてください。
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=ライセンス{1} に期限切れになります{2}. ここをクリックしてください。
lineJumps=Line jumps
linkAccountRequired=図が公式表示されていない場合は、リンクを表示するために Google アカウントが必要です。
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Last change {1} ago
lessThanAMinute=less than a minute
licensingError=Licensing Error
licenseHasExpired=The license for {1} has expired on {2}. Click here.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=The license for {1} will expire on {2}. Click here.
lineJumps=Line jumps
linkAccountRequired=If the diagram is not public a Google account is required to view the link.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange={1} 전 마지막으로 변경됨
lessThanAMinute=방금
licensingError=라이선스 오류
licenseHasExpired={1} 관련 라이선스가 {2}에 만료되었습니다. 여기를 클릭해 주시기 바랍니다.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire={1} 관련 라이선스가 {2}에 만료될 예정입니다. 여기를 클릭해 주시기 바랍니다.
lineJumps=Line jumps
linkAccountRequired=다이어그램이 공개상태가 아닌 경우, 링크를 확인하기 위해 구글 계정이 필요합니다.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Paskutinis pakeitimas prieš {1}
lessThanAMinute=mažiau nei minutė
licensingError=Licencijavimo klaida
licenseHasExpired={1} licencijos galiojimas baigėsi {2}. Paspauskite čia.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire={1} licencijos galiojimas baigsis {2}. Paspauskite čia.
lineJumps=Line jumps
linkAccountRequired=Jei schema nėra vieša, norint peržiūrėti saitą reikia Google paskyros.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Last change {1} ago
lessThanAMinute=less than a minute
licensingError=Licensing Error
licenseHasExpired=The license for {1} has expired on {2}. Click here.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=The license for {1} will expire on {2}. Click here.
lineJumps=Line jumps
linkAccountRequired=If the diagram is not public a Google account is required to view the link.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Last change {1} ago
lessThanAMinute=less than a minute
licensingError=Licensing Error
licenseHasExpired=The license for {1} has expired on {2}. Click here.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=The license for {1} will expire on {2}. Click here.
lineJumps=Line jumps
linkAccountRequired=If the diagram is not public a Google account is required to view the link.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Last change {1} ago
lessThanAMinute=less than a minute
licensingError=Licensing Error
licenseHasExpired=The license for {1} has expired on {2}. Click here.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=The license for {1} will expire on {2}. Click here.
lineJumps=Line jumps
linkAccountRequired=If the diagram is not public a Google account is required to view the link.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Perubahan terakhir pada {1} yang lalu
lessThanAMinute=kurang dari satu minit
licensingError=Ralat Pelesenan
licenseHasExpired=Lesen untuk {1} telah luput pada {2}. Klik di sini.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=Lesen untuk {1} akan luput pada {2}. Klik di sini.
lineJumps=Line jumps
linkAccountRequired=Jika gambarajah tidak umum, akaun Google diperlukan untuk melihat pautan tersebut.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Last change {1} ago
lessThanAMinute=less than a minute
licensingError=Licensing Error
licenseHasExpired=The license for {1} has expired on {2}. Click here.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=The license for {1} will expire on {2}. Click here.
lineJumps=Line jumps
linkAccountRequired=If the diagram is not public a Google account is required to view the link.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Laatste wijziging {1} geleden
lessThanAMinute=minder dan een minuut
licensingError=Licentiefout
licenseHasExpired=De licentie voor {1} is verlopen op {2}. Klik hier.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=De licentie voor {1} zal op {2} verlopen. Klik hier
lineJumps=Kruisende lijnen
linkAccountRequired=Als het diagram niet openbaar is, is een Google-account vereist om de link te bekijken.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Siste endring for {1} siden
lessThanAMinute=mindre enn ett minutt
licensingError=Lisensieringsfeil
licenseHasExpired=Linsensen for {1} utgikk på {2}. Klikk her.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=Linsensen for {1} utgår på {2}. Klikk her.
lineJumps=Line jumps
linkAccountRequired=Om diagrammet ikke er offentlig er en Google-konto påkrevd for å åpne linken.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Ostatnia zmiana {1} temu
lessThanAMinute=poniżej minuty
licensingError=Błąd licencji
licenseHasExpired=Licencja dla {1} wygasła {2}. Kliknij tutaj.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=Licencja dla {1} wygaśnie {2}. Kliknij tutaj.
lineJumps=Line jumps
linkAccountRequired=Jeśli diagram nie jest publiczny, wymagane jest konto Google, by zobaczyć link.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Última mudança {1} atrás
lessThanAMinute=menos de um minuto
licensingError=Erro de licenciamento
licenseHasExpired=A licença para {1} expirou em {2}. Clique aqui.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=A licença para {1} irá expirar em {2}. Clique aqui.
lineJumps=Line jumps
linkAccountRequired=Se o diagrama não é público é necessário ter uma conta no Google para visualizar o link.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=A última alteração foi realizada {1} atrás
lessThanAMinute=menos de um minuto
licensingError=Erro de licença
licenseHasExpired=A licença para {1} expirou em {2}. Carregar aqui.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=A licença para {1} expira em {2}. Carregar aqui.
lineJumps=Line jumps
linkAccountRequired=Se o diagrama não é público é necessário ter uma conta no Google para ver o link.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Ultima modificare cu {1} în urmă
lessThanAMinute=mai puţin de un minut
licensingError=Eroare la licențiere
licenseHasExpired=Licența pentru {1} a expirat pe {2}, Apăsați aici.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=Licența pentru {1} va expira pe {2}, Apăsați aici.
lineJumps=Line jumps
linkAccountRequired=Dacă diagrama nu este public, un cont Google este necesar pentru a deschide acest link.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Последнее изменение {1} назад
lessThanAMinute=меньше минуты
licensingError=Ошибка лицензирования
licenseHasExpired=Лицензия на {1} истекла {2}. Нажмите здесь.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=Лицензия на {1} истекает {2}. Нажмите здесь.
lineJumps=Line jumps
linkAccountRequired=Если диаграмма не доступна для общего доступа, для просмотра понадобится войти в учетную запись Google.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Last change {1} ago
lessThanAMinute=less than a minute
licensingError=Licensing Error
licenseHasExpired=The license for {1} has expired on {2}. Click here.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=The license for {1} will expire on {2}. Click here.
lineJumps=Line jumps
linkAccountRequired=If the diagram is not public a Google account is required to view the link.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Last change {1} ago
lessThanAMinute=less than a minute
licensingError=Licensing Error
licenseHasExpired=The license for {1} has expired on {2}. Click here.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=The license for {1} will expire on {2}. Click here.
lineJumps=Line jumps
linkAccountRequired=If the diagram is not public a Google account is required to view the link.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Last change {1} ago
lessThanAMinute=less than a minute
licensingError=Licensing Error
licenseHasExpired=The license for {1} has expired on {2}. Click here.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=The license for {1} will expire on {2}. Click here.
lineJumps=Line jumps
linkAccountRequired=If the diagram is not public a Google account is required to view the link.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Poslednja promena pre {1}
lessThanAMinute=manje od minut
licensingError=Licensing Error
licenseHasExpired=The license for {1} has expired on {2}. Click here.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=The license for {1} will expire on {2}. Click here.
lineJumps=Line jumps
linkAccountRequired=If the diagram is not public a Google account is required to view the link.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Senaste ändring {1} sedan
lessThanAMinute=mindre än en minut
licensingError=Ett fel uppstod med licensen
licenseHasExpired=Licensen för {1} utgick den {2}. Klicka här.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=Licensen för {1} kommer utgå den {2}. Klicka här.
lineJumps=Line jumps
linkAccountRequired=Om inte diagrammet är offentligt krävs ett Googlekonto för att visa länken.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Last change {1} ago
lessThanAMinute=less than a minute
licensingError=Licensing Error
licenseHasExpired=The license for {1} has expired on {2}. Click here.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=The license for {1} will expire on {2}. Click here.
lineJumps=Line jumps
linkAccountRequired=If the diagram is not public a Google account is required to view the link.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Last change {1} ago
lessThanAMinute=less than a minute
licensingError=Licensing Error
licenseHasExpired=The license for {1} has expired on {2}. Click here.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=The license for {1} will expire on {2}. Click here.
lineJumps=Line jumps
linkAccountRequired=If the diagram is not public a Google account is required to view the link.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Last change {1} ago
lessThanAMinute=less than a minute
licensingError=Licensing Error
licenseHasExpired=The license for {1} has expired on {2}. Click here.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=The license for {1} will expire on {2}. Click here.
lineJumps=Line jumps
linkAccountRequired=If the diagram is not public a Google account is required to view the link.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=การเปลี่ยนแปลงครั้งสุดท
lessThanAMinute=น้อยกว่าหนึ่งนาที
licensingError=ข้อผิดพลาดในการให้สิทธิ์
licenseHasExpired=ใบอนุญาตของ {1} หมดอายุแล้วเมื่อ {2} คลิกที่นี่
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=ใบอนุุญาตของ {1} จะหมดอายุเมื่อ {2} คลิกที่นี่
lineJumps=Line jumps
linkAccountRequired=หากแผนภาพไม่ได้เป็นสาธารณะต้องใช้บัญชี Google เพื่อดูลิงก์
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Son değişiklik {1} önce
lessThanAMinute=bir dakikadan az
licensingError=Lisans hatası
licenseHasExpired={1} için olan lisans {2} tarihinde sona ermiştir. Buraya tıklayınız.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire={1} için olan lisans {2} tarihinde sona erecektir. Buraya tıklayınız.
lineJumps=Line jumps
linkAccountRequired=Eğer diyagram herkese açık değilse, linki görmek için bir google hesabına gerek vardır
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Остання зміна {1} тому
lessThanAMinute=менше хвилини
licensingError=Помилка дозволу використання
licenseHasExpired=Строк дії дозволу на використання {1} завершено {2}. Кляцніть тут.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=Строк дії дозволу на використання {1} буде завершено {2}. Кляцніть тут.
lineJumps=Стрибки рядків
linkAccountRequired=Якщо діаграма не є доступною усім, для перегляду посилання мусите увійти до обліківки Google.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=Thay đổi lần cuối {1} trước
lessThanAMinute=ít hơn một phút
licensingError=Lỗi cấp phép
licenseHasExpired=Giấy phép của {1} đã hết hạn vào {2}. Nhấn vào đây.
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire=Giấy phép của {1} sẽ hết hạn vào {2}. Nhấn vào đây.
lineJumps=Line jumps
linkAccountRequired=Nếu một biểu đồ không được công khai, bạn cần một tài khoản Google để xem liên kết.
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange=最後一次修改:{1}之前
lessThanAMinute=一分鐘內
licensingError=授權出錯
licenseHasExpired={1}的授權已在{2}過期。請點擊這裡。
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire={1}的授權將在{2}過期。請點擊這裡。
lineJumps=Line jumps
linkAccountRequired=如果圖表非公開則需要Google帳戶才能查看該連結。
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -428,6 +428,7 @@ lastChange={1}以前最新更改
lessThanAMinute=一分钟以内
licensingError=授权出错
licenseHasExpired={1} 的许可证已于 {2} 过期。请点击此处。
licenseRequired=This feature requires draw.io to be licensed.
licenseWillExpire={1} 的许可证将于 {2} 过期。请点击此处。
lineJumps=跨线
linkAccountRequired=如果绘图未公开,则需要提供谷歌账户才能查看该链接。
@ -1041,3 +1042,4 @@ diagNameEmptyErr=Diagram name cannot be empty
openDiagram=Open Diagram
newDiagram=New diagram
editable=Editable
confAReimportStarted=Re-import {1} diagrams started...

View file

@ -6,11 +6,11 @@ if (workbox)
workbox.precaching.precacheAndRoute([
{
"url": "js/app.min.js",
"revision": "df4ec31625b95fa594bc1d8f0d2f5026"
"revision": "3e50dacb5bb77762c4c4d7b60a64b42a"
},
{
"url": "js/extensions.min.js",
"revision": "c5155bc5ffd607a3f10494215ebfd1a5"
"revision": "f6ef0ecfaec19207c9055321a022eb0b"
},
{
"url": "js/stencils.min.js",
@ -58,7 +58,7 @@ if (workbox)
},
{
"url": "js/viewer-static.min.js",
"revision": "f8324f76a07981fb87021057d2660238"
"revision": "263fa2266c897727106c9566926b95fc"
},
{
"url": "connect/jira/editor-1-3-3.html",
@ -102,7 +102,7 @@ if (workbox)
},
{
"url": "plugins/cConf-1-4-8.js",
"revision": "5f51c9102e55474da1f3012c011d6191"
"revision": "b90f7c0ca27b5e406b5bf2566711c421"
},
{
"url": "connect/confluence/connectUtils-1-4-8.js",
@ -138,7 +138,7 @@ if (workbox)
},
{
"url": "connect/confluence/macro-editor.js",
"revision": "257473ece79f2f7d822a1698699c5479"
"revision": "d9cdbf5e25fa38f36673b1f9d508c6f3"
},
{
"url": "math/MathJax.js",
@ -174,231 +174,231 @@ if (workbox)
},
{
"url": "resources/dia.txt",
"revision": "02ad7d4e5e54c75f141fa58d708baddc"
"revision": "11ce4fb81945aac8ba5cfe87c636484b"
},
{
"url": "resources/dia_am.txt",
"revision": "d3de221973ece1ed5d2e7f9b6fa517a1"
"revision": "d82601393635ec5c2338d18a45a64131"
},
{
"url": "resources/dia_ar.txt",
"revision": "11e99e1e7ed3bfb8c25621ab776ad548"
"revision": "cfa4e188a4fd194e97b143f0789669bc"
},
{
"url": "resources/dia_bg.txt",
"revision": "d7983ddec18de990d291f6c0a702c6b4"
"revision": "78c936e02a72ef62a2540a2fb5f12863"
},
{
"url": "resources/dia_bn.txt",
"revision": "5f3a318445d92d78f088785933bf417b"
"revision": "1f5e17f4a2159adbd1532c55e2e306f1"
},
{
"url": "resources/dia_bs.txt",
"revision": "cffdc3d2cc4f81d6f658e54ca77899a0"
"revision": "a58f30597790d433b05123a3b8efc56c"
},
{
"url": "resources/dia_ca.txt",
"revision": "b8d0c773ddeb3ac742f89b73de69f28a"
"revision": "6f279dc0dd3f2ee3d8abd539c6137068"
},
{
"url": "resources/dia_cs.txt",
"revision": "be70129f8b92e2acdea02a08aab9758d"
"revision": "60face218e728f50553899e41b53baba"
},
{
"url": "resources/dia_da.txt",
"revision": "bc644e489d8e1be68675b1472921d6a4"
"revision": "430ee9cbd0048a4f6feda522d53db0da"
},
{
"url": "resources/dia_de.txt",
"revision": "cb1b8ca04c6335a7be7fd8299222615f"
"revision": "16bdea754bf2db930bf1c775355f57cc"
},
{
"url": "resources/dia_el.txt",
"revision": "a4644f9e58c25fd73d03ec20cd36cc6a"
"revision": "9d220a1c596d4f1a54f3639afdf28c40"
},
{
"url": "resources/dia_eo.txt",
"revision": "65b4fce7a984fd1ed636d131b024e5bc"
"revision": "d6a69efd9b04f58ab2b0a24066870cc2"
},
{
"url": "resources/dia_es.txt",
"revision": "4749e807ad9ce2a040ffb49642bca64a"
"revision": "481d3fdba9ff6b33e16d39896a724ec5"
},
{
"url": "resources/dia_et.txt",
"revision": "fe4b7a57bbbf878bb95240672ed68ad8"
"revision": "b93ae1409a2d38cd4d3bdbd1637f8c30"
},
{
"url": "resources/dia_eu.txt",
"revision": "de772ff6f60611da3974a147b3362978"
"revision": "b2b37273f96ea41cca07d9aad17822c1"
},
{
"url": "resources/dia_fa.txt",
"revision": "58c1de889c587d3c37505e2364d409aa"
"revision": "c22528b486423408cc07401318e26fb2"
},
{
"url": "resources/dia_fi.txt",
"revision": "322085c1cf30660a636177f06d600976"
"revision": "7f08b31037759597e376a30372c98e00"
},
{
"url": "resources/dia_fil.txt",
"revision": "bedc08a4ecb27fe25a2dfac7fe637bef"
"revision": "7273262b24526ee424806999f2260809"
},
{
"url": "resources/dia_fr.txt",
"revision": "9266b4850159d6875071c245d8b2a9e7"
"revision": "3809916bd5e9ae58c021edd43896299d"
},
{
"url": "resources/dia_gl.txt",
"revision": "ad7ae57736c6a488d179c92237bd2d9d"
"revision": "c1d448a5ba0aa8cc7df3de0c58e4e249"
},
{
"url": "resources/dia_gu.txt",
"revision": "8b157e7e5bb87eec37d34c790f76d0cb"
"revision": "6f1108b9ecac74fb63530726902f8911"
},
{
"url": "resources/dia_he.txt",
"revision": "19a782a83856e1b7fd9cebc8475cdcf5"
"revision": "fcd7c301da2c927d9ab6f2c1a6701a33"
},
{
"url": "resources/dia_hi.txt",
"revision": "4c42580d4874a1b0a2c46e386ae4310f"
"revision": "077402a9dfc0360cd60adc18e595224a"
},
{
"url": "resources/dia_hr.txt",
"revision": "577da4069bb12fdeb169fb59a928db6f"
"revision": "6474da2abd1cd6339fd8d29079806175"
},
{
"url": "resources/dia_hu.txt",
"revision": "dc3c73f6c51ff4248f7c4d9eee05763f"
"revision": "b6302d571f30135c8bd9e0bf867ca393"
},
{
"url": "resources/dia_id.txt",
"revision": "680d8c96bde54dc08919e9608fd38866"
"revision": "c76489584f18c793c79e90d3612a615f"
},
{
"url": "resources/dia_it.txt",
"revision": "7f16d4ce9120b6cf379d8a158e58fb3f"
"revision": "53a7356fe2395f181df9c73f1ec166b6"
},
{
"url": "resources/dia_ja.txt",
"revision": "8bd638a87b2bd3f0214fd5a15ce0f642"
"revision": "e103221b9fcdb3705388982cb293fc38"
},
{
"url": "resources/dia_kn.txt",
"revision": "b7bbfdc941bb18c38cfad5ebd97065ac"
"revision": "77887c8129a07d7a7da1428e0a86a4c6"
},
{
"url": "resources/dia_ko.txt",
"revision": "63f9e5d20045f7c8ab5f7b319ee7728c"
"revision": "fcaf1cc3f235374b84116d7adcaaa024"
},
{
"url": "resources/dia_lt.txt",
"revision": "6447ae31ede7b9739856e58057bb4162"
"revision": "d769564ff2954aaa1b0eb832fb20025d"
},
{
"url": "resources/dia_lv.txt",
"revision": "d404caf0e89158a589988f6707e35335"
"revision": "51cf65539e82fe59ea609f3896bae4da"
},
{
"url": "resources/dia_ml.txt",
"revision": "5b54f25e874487cc80aeb25ccadaeda9"
"revision": "8455c9e57112ccf5a28b5b508688b9e2"
},
{
"url": "resources/dia_mr.txt",
"revision": "71ca677d625d5184739105603fa90df5"
"revision": "a6939ffe1cbe2a46594b6eefd3fd1e57"
},
{
"url": "resources/dia_ms.txt",
"revision": "53193aa4383e57d07951cc6df586b6f4"
"revision": "04b8e980fed6a6492c9c3add33d8dd6e"
},
{
"url": "resources/dia_my.txt",
"revision": "02ad7d4e5e54c75f141fa58d708baddc"
"revision": "11ce4fb81945aac8ba5cfe87c636484b"
},
{
"url": "resources/dia_nl.txt",
"revision": "12271a094d66fe1f7b9bfcede9df8046"
"revision": "24be82440c05edd53abb926ab8b829e1"
},
{
"url": "resources/dia_no.txt",
"revision": "8352587bbd8ea6561c3f3f1936469291"
"revision": "c259a6aa90082500a5310b09df2fdc05"
},
{
"url": "resources/dia_pl.txt",
"revision": "c7a7dcb8c10b02afb46ef2f716412fce"
"revision": "effbf8b2a186bdc6fcc5a405c53f362a"
},
{
"url": "resources/dia_pt-br.txt",
"revision": "a24e0dc956408b447a9a0e292f977dba"
"revision": "f0dbd356697853263f0a21fbc06290a2"
},
{
"url": "resources/dia_pt.txt",
"revision": "9793914165038f718bbbdd94cd68006c"
"revision": "0f29bda3beed56de8d1da91769e50755"
},
{
"url": "resources/dia_ro.txt",
"revision": "2f66710ab60f9c02f6f3a8ac2cfb616c"
"revision": "1286fb97d37883aaca0c585e11d1f956"
},
{
"url": "resources/dia_ru.txt",
"revision": "f70d8af3b7767a9d50d48992e792a9ec"
"revision": "0febeab0c72b73ba00ce9ce9cb84cdc2"
},
{
"url": "resources/dia_si.txt",
"revision": "02ad7d4e5e54c75f141fa58d708baddc"
"revision": "11ce4fb81945aac8ba5cfe87c636484b"
},
{
"url": "resources/dia_sk.txt",
"revision": "cc037fa952e7f24c40cbdc394d3ad0e2"
"revision": "bcecb590101b79d332104e56709be0d4"
},
{
"url": "resources/dia_sl.txt",
"revision": "f6871254c6c7d95710b20021ba1b82b6"
"revision": "4683b272d388c3a7c04815edf4d36201"
},
{
"url": "resources/dia_sr.txt",
"revision": "644ee5f2a31ce0194dbaf9b24ee3cd33"
"revision": "fb469c24f2f64f7e614315fba0f3f291"
},
{
"url": "resources/dia_sv.txt",
"revision": "33f3547ef3692ee2ca82be94e707d6a5"
"revision": "3ca92e418fac9fbc5ea73430821b5d93"
},
{
"url": "resources/dia_sw.txt",
"revision": "6f446b25b897c02a9b4673672bc99705"
"revision": "fb94bf63129398898e207bb3ac7feecf"
},
{
"url": "resources/dia_ta.txt",
"revision": "66431dc060c64a43bda9c949d855a128"
"revision": "e369a464b893711206e1c6c30e3b07be"
},
{
"url": "resources/dia_te.txt",
"revision": "aed7c53f75da87064eefe1da9e920951"
"revision": "3a411f6a3168525bf7f2a9443fda2411"
},
{
"url": "resources/dia_th.txt",
"revision": "7495b746fa3cdccfdbb162089bd6b794"
"revision": "856a7e0ad35fa1120cdf608e3f2962ac"
},
{
"url": "resources/dia_tr.txt",
"revision": "e443d749d38196914d34736b71e971ec"
"revision": "e8322c5f6b5cfb87400869d28989583c"
},
{
"url": "resources/dia_uk.txt",
"revision": "6021b4f6908ba4f2bf856e45281654c7"
"revision": "f8bb4ba327192673807e944b8148adb7"
},
{
"url": "resources/dia_vi.txt",
"revision": "7c2fe2a2590364e755772bd9c8d0259e"
"revision": "e8cca2cb94315a9d8b7172370d69e47a"
},
{
"url": "resources/dia_zh-tw.txt",
"revision": "6206ce07f81460667ea68825742d7aae"
"revision": "80ffe4fc5b7d90334a33376970ea480b"
},
{
"url": "resources/dia_zh.txt",
"revision": "7c2915f7e832f8c77d1d95bde0490131"
"revision": "09ff14b1ad4834b60433e7191abe10b2"
},
{
"url": "favicon.ico",