Lines Matching refs:document

2document.createElement(a||"div");for(c in b)d[c]=b[c];return d}function b(a){for(var b=1,c=argumen…
96 window.document?window.document.createElement("textarea"):s,o=/\0/g,j=/&(#[0-9]+|#[xX][0-9A-Fa-f]+|…
135document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}…
212 …,c=a.options||this.getDefaultOptions(),d=this.svg.ownerDocument||window.document,k=d.createElement…
232 …ocalStorage=!1}try{null==a&&768>=(window.innerWidth||document.documentElement.clientWidth||documen…
239 …gator.userAgent.match(/Edge\//),IS_EM:"spellcheck"in document.createElement("textarea")&&8==docume…
242 …!=navigator.appName.toUpperCase(),NO_FO:!document.createElementNS||"[object SVGForeignObjectElemen…
243document.documentElement,IS_POINTER:null!=window.PointerEvent&&!(0<navigator.appVersion.indexOf("M…
244 …++)mxResources.add(mxClient.defaultBundles[e],b,c)},include:function(a){document.write('<script sr…
248document.body){var a=mxLog.consoleName+" - mxGraph "+mxClient.VERSION,b=document.createElement("ta…
249 …t"!=document.compatMode?"99%":"100%";e.appendChild(mxLog.textarea);d.appendChild(e);c.appendChild(…
250 …mxLog.info()});mxLog.addButton("DOM",function(a){a=mxUtils.getInnerHtml(document.body);mxLog.debug…
251 …w.innerHeight,d=window.innerWidth):(c=document.documentElement.clientHeight||document.body.clientH…
252document.compatMode||11==document.documentMode){var f=mxLog.window.getElement(),a=function(a,b){mx…
270 …)},getCurrentStyle:function(){return mxClient.IS_IE&&(null==document.documentMode||9>document.docu…
271 …IS_GC?a="Webkit":mxClient.IS_MT?a="Moz":mxClient.IS_IE&&9<=document.documentMode&&10>document.docu…
275 …},importNode:function(a,b,c){return mxClient.IS_IE&&(null==document.documentMode||10>document.docu…
276 …reateXmlDocument:function(){var a=null;document.implementation&&document.implementation.createDocu…
277 …loadXML(a);return b}}(),clearSelection:function(){return document.selection?function(){document.se…
285document.createElement("br")));return c},br:function(a,b){b=b||1;for(var c=null,d=0;d<b;d++)null!=…
286 …istener(c,"click",function(a){b(a)});return c},para:function(a,b){var c=document.createElement("p"…
287document.createElement("span");e.style.color="blue";e.style.textDecoration="underline";e.style.cur…
306 …c)}return!0},getOffset:function(a,b){for(var c=0,d=0,e=!1,f=a,g=document.body,k=document.documentE…
307document.documentElement||document.body.parentNode||document.body).scrollLeft,null!=a&&void 0!==wi…
308 document,e=d.body,f=d.documentElement,g=new mxPoint,k=!1;null!=a&&a!=e&&a!=f;){isNaN(a.scrollLeft)|…
311document.documentMode||9>document.documentMode)?a.style.filter=100<=b?"":"alpha(opacity="+b+")":a.…
318 …tants.DEFAULT_FONTSIZE;c=null!=c?c:mxConstants.DEFAULT_FONTFAMILY;var f=document.createElement("di…
319 …,f.style.whiteSpace="normal"):f.style.whiteSpace="nowrap";f.innerHTML=a;document.body.appendChild(…
320document.body.removeChild(f);return a},getViewXml:function(a,b,c,d,e){d=null!=d?d:0;e=null!=e?e:0;…
323document:b.open();9==document.documentMode&&b.writeln('\x3c!--[if IE]><meta http-equiv="X-UA-Compa…
324document.styleSheets.length;c++)try{d+=document.styleSheets[c].cssText}catch(m){}d=d+'</style></he…
325 d=document.getElementsByTagName("link");for(c=0;c<d.length;c++)b.writeln(mxUtils.getOuterHtml(d[c])…
326 …een:function(a){var b=window.open();a.getGraphBounds();mxUtils.show(a,b.document);a=function(){b.f…
327document.createElement("div");c.style.overflow="scroll";c.style.width="636px";c.style.height="460p…
328document.writeln("<pre>"+mxUtils.htmlEntities(a)+"</pre"),c.document.close()):(c=window.open(),d=c…
329document.createTextNode(" "));e.appendChild(document.createTextNode(" "));e.appendChild(document.c…
330 c=document.createElement("button"),mxClient.IS_IE?c.style.cssText="float:right":c.setAttribute("sty…
355 var mxEvent={addListener:function(){if(window.addEventListener){var a=!1;try{document.addEventListe…
373 mxXmlRequest.prototype.getXml=function(){var a=this.request.responseXML;if(9<=document.documentMode…
375 …thCredentials&&(this.request.withCredentials="true"),(null==document.documentMode||9<document.docu…
377 mxXmlRequest.prototype.simulate=function(a,b){a=a||document;var c=null;a==document&&(c=window.onbef…
381 …ler(),null!=l&&null!=l.parentNode?l.parentNode.replaceChild(this.div,l):document.body.appendChild(…
383 mxWindow.prototype.contentHeightCorrection=8==document.documentMode||7==document.documentMode?6:2;m…
384document.createElement("div");this.div.className=e;this.div.style.left=a+"px";this.div.style.top=b…
385document.createElement("td");this.title.className=e+"Title";this.buttons=document.createElement("d…
386 document.createElement("div");this.contentWrapper.className=e+"Pane";this.contentWrapper.style.widt…
390document.createElement("img");this.resize.style.position="absolute";this.resize.style.bottom="2px"…
391 …,function(a){null!=b&&null!=c&&(c=b=null,mxEvent.removeGestureListeners(document,null,f,g),this.fi…
398 mxWindow.prototype.installMinimizeHandler=function(){this.minimizeImg=document.createElement("img")…
400 mxWindow.prototype.installMaximizeHandler=function(){this.maximize=document.createElement("img");th…
403document.body.clientHeight||0,document.documentElement.clientHeight||0);this.div.style.width=docum…
405 …xEvent.consume(a)}),g=mxUtils.bind(this,function(a){mxEvent.removeGestureListeners(document,null,f,
406 …t.MOVE_END,"event",a));mxEvent.consume(a)});mxEvent.addGestureListeners(document,null,f,g);this.fi…
407 mxWindow.prototype.installCloseHandler=function(){this.closeImg=document.createElement("img");this.…
408 …Event.consume(a)}))};mxWindow.prototype.setImage=function(a){this.image=document.createElement("im…
411 …tle=null};function mxForm(a){this.table=document.createElement("table");this.table.className=a;thi…
412document.createElement("tr"),d=document.createElement("td");c.appendChild(d);var d=document.create…
413document.createElement("input");d.setAttribute("type",c||"text");d.value=b;return this.addField(a,…
414document.createElement("select");null!=c&&d.setAttribute("size",c);b&&d.setAttribute("multiple","t…
415 …ld=function(a,b){var c=document.createElement("tr"),d=document.createElement("td");mxUtils.write(d…
418 …umentWidth=function(){return document.body.clientWidth};mxDivResizer.prototype.getDocumentHeight=f…
424 …seUpHandler=mxUtils.bind(this,this.mouseUp),mxEvent.addGestureListeners(document,null,this.mouseMo…
426 …Event=function(a){return mxEvent.isTouchEvent(a)||mxEvent.isPenEvent(a)?document.elementFromPoint(…
429document.body.appendChild(this.dragElement);this.dragElement.style.visibility="visible";null!=this…
431 …s.mouseUpHandler),this.eventSource=null);mxEvent.removeGestureListeners(document,null,this.mouseMo…
438 mxToolbar.prototype.addItem=function(a,b,c,d,e,f){var g=document.createElement(null!=b?"img":"butto…
440 …ombo=function(a){var b=document.createElement("div");b.style.display="inline";b.className="mxToolb…
441document.createElement("select");c.className=b||"mxToolbarCombo";this.addOption(c,a,null);mxEvent.…
442 mxToolbar.prototype.addSwitchMode=function(a,b,c,d,e){var f=document.createElement("img");f.initial…
444 mxToolbar.prototype.addMode=function(a,b,c,d,e,f){f=null!=f?f:!0;var g=document.createElement(null!…
448 mxToolbar.prototype.addLine=function(){var a=document.createElement("hr");a.style.marginRight="6px"…
459 …ils.bind(this,function(){this.active&&this.stop()});mxEvent.addListener(document,"mouseup",this.mo…
464 …tion(){a.removeMouseListener(this.mouseListener);mxEvent.removeListener(document,"mouseup",this.mo…
466document.createElement("table");this.table.className="mxPopupMenu";this.tbody=document.createEleme…
468document.createElement("tr");l.className="mxPopupMenuItem";var m=document.createElement("td");m.cl…
469 …?"":" mxDisabled"),mxUtils.write(m,a),m.align="left",l.appendChild(m),a=document.createElement("td…
470 …v&&(this.showSubmenu(d,l),d.activeRow=l));null!=document.selection&&8==document.documentMode&&(n=d…
472document.createElement("table");a.table.className="mxPopupMenu";a.tbody=document.createElement("tb…
473document.body.appendChild(b.div);var c=parseInt(b.div.offsetLeft),d=parseInt(b.div.offsetWidth),e=…
474 b.div.style.overflowX="hidden";b.div.style.maxHeight=Math.max(document.body.clientHeight,document.d…
475document.createElement("tr"),d=document.createElement("td");d.className="mxPopupMenuIcon";d.style.…
477 …iv.parentNode==document.body};mxPopupMenu.prototype.showMenu=function(){9<=document.documentMode&&…
539 …defs=null;this.styleEnabled=null!=b?b:!1;var c=null;if(a.ownerDocument!=document)for(c=a;null!=c&&…
541 ….IS_CHROMEAPP&&!mxClient.IS_IE&&!mxClient.IS_IE11&&!mxClient.IS_EDGE&&0<document.getElementsByTagN…
556 …FillAlpha,a.gradientAlpha,a.gradientDirection),this.root.ownerDocument==document&&this.useAbsolute…
563 …teElement("a");null==c.setAttributeNS||this.root.ownerDocument!=document&&null==document.documentM…
569 …ing(0,a.length-7)))}else{if(null!=document.implementation&&null!=document.implementation.createDoc…
570 …=document.createElement("div");d.innerHTML=a;for(a=d.firstChild;null!=a;)d=a.nextSibling,c.appendC…
572document.createElementNS)return mxUtils.isNode(a)&&(a="<div><div>"+mxUtils.getXml(a)+"</div></div>…
573 document?c.appendChild(a.cloneNode(!0)):c.appendChild(a);d.appendChild(c);b.appendChild(d)}else b.i…
574document&&(r=mxUtils.importNodeImplementation(u.ownerDocument,r,!0));u.appendChild(r);q.appendChil…
586 …h.round(d);for(var e="mx-clip-"+a+"-"+b+"-"+c+"-"+d,f=0,g=e+"-"+f;null!=document.getElementById(g)…
588 …ent.IS_IE||mxClient.IS_IE11||mxClient.IS_EDGE||this.root.ownerDocument!=document?r.setAttribute("c…
593 ….scale,(f+2)*m.scale);else if(null!=a.getBBox&&this.root.ownerDocument==document)try{var n=a.getBB…
594 …width,n.height+(p?1:0))}catch(q){}if(null==n||0==n.width||0==n.height)n=document.createElement("di…
595 …lic"),b=mxUtils.htmlEntities(b,!1),n.innerHTML=b.replace(/\n/g,"<br/>"),document.body.appendChild(…
596 …t(m.scale)):0,b.setAttribute("stroke-width",m),this.root.ownerDocument==document&&1==mxUtils.mod(m…
608 …vg(a):this.createHtml(a)};mxShape.prototype.createSvg=function(){return document.createElementNS(m…
609 mxShape.prototype.createHtml=function(){var a=document.createElement("div");a.style.position="absol…
615 …djacentHTML("beforeend",a.root.outerHTML),"DIV"==this.node.nodeName&&8==document.documentMode&&(th…
621 …undImage="none"):this.pointerEvents?a.style.backgroundColor="transparent":8==document.documentMode?
623document.documentMode?0:Math.ceil(this.strokewidth*this.scale);a.style.borderWidth=Math.max(1,b)+"…
646 mxShape.prototype.createTransparentSvgRectangle=function(a,b,c,d){var e=document.createElementNS(mx…
695document.documentMode||mxClient.IS_EM?3:4;mxText.prototype.lastValue=null;mxText.prototype.cacheEn…
699 …ate||null==this.state.view.textDiv),mxClient.IS_IE&&(null==document.documentMode||8>=document.docu…
710 …updateFont(c),this.updateSize(c,!1),this.updateInnerHtml(c),a=c),e=a,8!=document.documentMode||mxC…
718 ….offsetHeight=this.offsetWidth=null;mxClient.IS_IE&&(null==document.documentMode||8>=document.docu…
736 …f=d.offsetWidth;if(0==f){var g=a.parentNode;a.style.visibility="hidden";document.body.appendChild(…
743 …preserveImageAspect};mxImageShape.prototype.createHtml=function(){var a=document.createElement("di…
746 a;this.node.style.borderColor=b;a=document.createElement("img");a.setAttribute("border","0");a.styl…
755 …;)this.node.removeChild(this.node.lastChild);if(null!=this.image){var a=document.createElement("im…
1055 …etDoctype=function(){var a="";8==document.documentMode?a='<meta http-equiv="X-UA-Compatible" conte…
1057 …d;var g=!1;null==this.wnd&&(g=!0,this.wnd=window.open());var k=this.wnd.document;if(g){var l=this.…
1058 k.writeln(l);"CSS1Compat"===document.compatMode&&k.writeln("<!DOCTYPE html>");k.writeln("<html>");k…
1060 …olor;if(c||b)a.style.pageBreakAfter="always";if(g&&(mxClient.IS_IE||11<=document.documentMode||mxC…
1061 else if(mxClient.IS_IE||11<=document.documentMode||mxClient.IS_EDGE){var d=k.createElement("div");d…
1064 …seDocument=function(){try{if(null!=this.wnd&&null!=this.wnd.document){var a=this.wnd.document;this…
1067 mxPrintPreview.prototype.createPageSelector=function(a,b){var c=this.wnd.document,d=c.createElement…
1069document;var g=document.createElement("div"),k=null;try{if(0!=c||0!=d){g.style.position="relative"…
1070document.body.appendChild(g);k=m}else g.style.width=a+"px",g.style.height=b+"px",g.style.overflow=…
1071 …=this.border+"px",l.style.marginLeft=this.border+"px"),g.appendChild(l),document.body.appendChild(…
1078 …mage=function(a,b,c){var d=this.graph.backgroundImage;if(null!=d){var e=document.createElement("im…
1104 …ototype.align=null;mxCellEditor.prototype.init=function(){this.textarea=document.createElement("di…
1106 …s(this.graph.getEditingValue(a.cell,b),!1);8!=document.documentMode&&9!=document.documentMode&&10!…
1111 b,c);mxEvent.addListener(window,"resize",c);9<=document.documentMode?(mxEvent.addListener(a,"DOMNod…
1117 …textarea.style.width="";8==document.documentMode&&(this.textarea.style.zoom="1",this.textarea.styl…
1119 …px",this.textarea.style.height=Math.round(this.bounds.height/c)+"px",8==document.documentMode?(thi…
1128 …his.textarea.innerHTML!=this.getEmptyLabelText()||!this.clearOnChange)&&document.execCommand("sele…
1129 …ion(){var a=null;window.getSelection?a=window.getSelection():document.selection&&(a=document.selec…
1230 …l;null==this.canvas||null!=this.textDiv||8!=document.documentMode||mxClient.IS_EM||(this.placehold…
1231document.createElement("div"),this.textDiv.style.position="absolute",this.textDiv.style.whiteSpace…
1236 …kgroundImage.init(this.backgroundPane);this.backgroundImage.redraw();8!=document.documentMode||mxC…
1285 mxEvent.addGestureListeners(document,null,this.moveHandler,this.endHandler)}};
1288 mxGraphView.prototype.createHtmlPane=function(a,b){var c=document.createElement("DIV");null!=a&&nul…
1289document.createElementNS(mxConstants.NS_SVG,"g");this.backgroundPane=document.createElementNS(mxCo…
1290 "g");this.canvas.appendChild(this.decoratorPane);var b=document.createElementNS(mxConstants.NS_SVG,…
1292 …ntNode&&(this.clear(this.currentRoot,!0),mxEvent.removeGestureListeners(document,null,this.moveHan…
1436 …ranslate("+a+","+b+")");if(null==this.shiftPreview1){this.shiftPreview1=document.createElement("di…
1437 "absolute";this.shiftPreview1.style.overflow="visible";this.shiftPreview2=document.createElement("d…
1545 mxOutline.prototype.createSvg=function(){var a=document.createElementNS(mxConstants.NS_SVG,"svg");a…
1547 …late(p.x-l,p.y-n),this.source.panGraph(0,0);mxEvent.addGestureListeners(document,null,g,k);c=this.…
1549 c,f.y-d);this.source.panGraph(0,0)}mxEvent.removeGestureListeners(document,null,g,k);mxEvent.consum…
1595 …cloning&&(this.cloning=a,this.checkPreview(),this.updatePreview()))});mxEvent.addListener(document,
1596 "keydown",this.keyHandler);mxEvent.addListener(document,"keyup",this.keyHandler)}mxGraphHandler.pro…
1640 …efreshHandler=null);mxEvent.removeListener(document,"keydown",this.keyHandler);mxEvent.removeListe…
1643 …ener=mxUtils.bind(this,function(){this.active&&this.reset()}),mxEvent.addGestureListeners(document,
1644 null,null,this.mouseUpListener),mxEvent.addListener(document,"mouseleave",this.mouseUpListener))}mx…
1652 …Handler);mxEvent.removeGestureListeners(document,null,null,this.mouseUpListener);mxEvent.removeLis…
1696 …ainer),c=a.getEvent(),d=mxEvent.getClientX(c),c=mxEvent.getClientY(c),e=document.documentElement,f…
1758 ….mouseUp(this.graph,c(a))});mxClient.IS_FF&&mxEvent.addGestureListeners(document,null,this.dragHan…
1760document.createElement("div"),this.sharedDiv.className="mxRubberband",mxUtils.setOpacity(this.shar…
1762document.documentMode)&&this.fadeOut){var a=this.div;mxUtils.setPrefixedStyle(a.style,"transition"…
1883 …ainer),c=a.getEvent(),d=mxEvent.getClientX(c),c=mxEvent.getClientY(c),e=document.documentElement,f…
1947 function mxKeyHandler(a,b){null!=a&&(this.graph=a,this.target=b||document.documentElement,this.norm…
1954 …ion(){null!=document.body&&(this.div=document.createElement("div"),this.div.className="mxTooltip",…
1969 …tAt=function(a,b){var c=!1;if(null!=this.shape&&null!=document.elementFromPoint)for(var d=document
1971 function mxCodec(a){this.document=a||mxUtils.createXmlDocument();this.objects=[]}mxCodec.prototype. method in mxCodec
1972 …ull==this.elements&&(this.elements={},null!=this.document.documentElement&&this.addElement(this.do…
1974 …;null!=c?b=c.encode(this,a):mxUtils.isNode(a)?b=mxUtils.importNode(this.document,a,!0):mxLog.warn(…
1980 …Of(this.idrefs,b)};mxObjectCodec.prototype.encode=function(a,b){var c=a.document.createElement(thi…
1982 …AttributeToXml(a,b,c,d,e);null==c?(b=a.document.createElement("add"),"function"==typeof d?b.append…
1993 c.value&&c.value.nodeType==mxConstants.NODETYPE_ELEMENT){var b=d;d=mxUtils.importNode(a.document,c.…
1995 … mxObjectCodec(new mxGraphModel);a.encodeObject=function(a,c,d){var b=a.document.createElement("ro…
2003 …:0<k&&null!=l?m="group":b.isVertex(d)&&(m="vertex");if(null!=m){var n=a.document.createElement(m);…
2007document.createElement(this.getName()),e;for(e in c.styles){var f=c.styles[e],g=a.document.createE…
2016 …n(){for(var a=location.href,b=document.getElementsByTagName("base"),c=0;c<b.length;c+=1)b[c].href&…
2017 …JSColor.getDir()+a)},fetchElement:function(a){return"string"===typeof a?document.getElementById(a):
2018 …f(document.createEvent){var c=document.createEvent("HTMLEvents");c.initEvent(b,!0,!0);a.dispatchEv…
2019 …indow.pageXOffset,window.pageYOffset]:document.body&&(document.body.scrollLeft||document.body.scro…
2020 document.body.scrollTop]:document.documentElement&&(document.documentElement.scrollLeft||document.d…
2021 [document.documentElement.clientWidth,document.documentElement.clientHeight]:[0,0]},URI:function(a)…
2025document.createElement("div"),boxB:document.createElement("div"),pad:document.createElement("div")…
2026 0;d<mxJSColor.images.sld[1];d+=4){var k=document.createElement("div");k.style.height="4px";k.style.…
2027 …tion(){};l.box.onmousemove=function(a){if(y||B)y&&m(a),B&&n(a),document.selection?document.selecti…
2034 …";l.pad.style.backgroundPosition="0 0";f();g();mxJSColor.picker.owner=r;document.getElementsByTagN…
2040 …q]=b[q]);this.hidePicker=function(){k()&&(delete mxJSColor.picker.owner,document.getElementsByTagN…
2082 …tosave=!0;Editor.prototype.initialTopSpacing=0;Editor.prototype.appName=document.title;Editor.prot…
2084 …ams.ui);if("undefined"!==typeof window.postMessage&&(null==document.documentMode||10<=document.doc…
2091 …resetGraphView"))}else if("root"==a.nodeName){this.resetGraph();var d=b.document.createElement("mx…
2100 …d((t-e-a.footerHeight)/3));b.style.maxHeight="100%";d=null!=document.body?Math.min(d,document.body…
2101 …s.setOpacity(this.bg,this.bgOpacity));v=mxUtils.getDocumentScrollOrigin(document);this.bg.style.le…
2102document.body.appendChild(this.bg);var z=a.createDiv(g?"geTransDialog":"geDialog");c=this.getPosit…
2103 ….addListener(f,"click",mxUtils.bind(this,function(){a.hideDialog(!0)})),document.body.appendChild(…
2104 …));x=Math.max(1,Math.round((t-e-a.footerHeight)/3));d=null!=document.body?Math.min(p,document.body…
2110 …,f,k,h,g,l,m){g=null!=g?g:!0;var n=document.createElement("div");n.style.textAlign="center";if(nul…
2111 document.createElement("div");b.style.lineHeight="1.2em";b.style.padding="6px";b.innerHTML=d;n.appe…
2114document.createElement("table");f.style.width="100%";f.style.height="100%";var k=document.createEl…
2115 …l=document.createElement("input");l.setAttribute("type","checkbox");c=document.createElement("td")…
2116document.createElement("input");m.setAttribute("value","1");m.setAttribute("type","number");m.setA…
2117document.createElement("td");mxUtils.write(c,mxResources.get("pageScale")+":");e.appendChild(c);c=
2122 …moveAttribute("src"),q.style.display="none")}var e=a.editor.graph,c,f,k=document.createElement("ta…
2123document.createElement("tbody");c=document.createElement("tr");f=document.createElement("td");f.st…
2124 …Child(f);f=document.createElement("td");f.style.whiteSpace="nowrap";document.createElement("input"…
2125document.createElement("input");n.setAttribute("type","number");n.setAttribute("min","0");n.style.…
2126document.createElement("td");mxUtils.write(f,mxResources.get("image")+":");c.appendChild(f);f=docu…
2127 …(q);f.appendChild(p);c.appendChild(f);h.appendChild(c);c=document.createElement("tr");f=document.c…
2130 …geFormatPanel=function(a,b,d,e){function c(a,b,c){if(c||n!=document.activeElement&&p!=document.act…
2132document.createElement("input");f.setAttribute("name",b);f.setAttribute("type","radio");f.setAttri…
2133 document.createElement("div");g.style.marginLeft="4px";g.style.width="210px";g.style.height="24px";…
2134document.createElement("input");n.setAttribute("size","7");n.style.textAlign="right";m.appendChild…
2141document.createElement("table"),v=document.createElement("tbody");u.style.position="absolute";u.st…
2142 …null==k)if(t.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?t.select():document.…
2143 …,"dragover",mxUtils.bind(this,function(a){null==b&&(!mxClient.IS_IE||10<document.documentMode)&&(b…
2144document.createElement("td");q.style.whiteSpace="nowrap";q.appendChild(t);p.appendChild(q);if(null…
2145document.createElement("td"),q.style.whiteSpace="nowrap",p.appendChild(q),b=FilenameDialog.createF…
2148 FilenameDialog.createTypeHint=function(a,b,d){var e=document.createElement("img");e.style.backgroun…
2151 …og.createFileTypes=function(a,b,d){var e=document.createElement("select");for(a=0;a<d.length;a++){…
2152 document?(a=document.createEvent("HTMLEvents"),a.initEvent("change",!1,!0),b.dispatchEvent(a)):b.fi…
2168 …s);this.destroyFunctions=[];this.editor=a||new Editor;this.container=b||document.body;var e=this.e…
2176 …rn e.isEditing()||null!=a&&this.isSelectionAllowed(a)});this.container==document.body&&(this.menub…
2178 …entNode}}return p(a)},mxClient.IS_IE&&("undefined"===typeof document.documentMode||9>document.docu…
2180 …nt.getSource(a)!=e.container||mxEvent.consume(a))});mxEvent.addListener(document,"keydown",this.ke…
2181 "";u=!1});mxEvent.addListener(document,"keyup",this.keyupHandler);var t=e.panningHandler.isForcePan…
2185 …a,b,c){this.menus.createPopupMenu(a,b,c)}));mxEvent.addGestureListeners(document,mxUtils.bind(this,
2193 …s.currentMenu.div&&this.hideCurrentMenu()});mxEvent.addGestureListeners(document,this.gestureHandl…
2208 …,h){var g=null;if(null!=k&&0<k.length){var l=this,m=this.editor.graph,g=document.createElement("di…
2209 …round);m.container.appendChild(g);d=mxUtils.bind(this,function(c){var d=document.createElement("a"…
2216 …else try{b.cellEditor.isContentEditing()&&b.cellEditor.isTextSelected()?document.execCommand(mxEve…
2218 …,null!=b.textarea&&(b.textarea.innerHTML=String.fromCharCode(a.which),a=document.createRange(),a.s…
2225document.execCommand("cut",!1,null):b.apply(this,arguments);a.updatePasteActionStates()};mxClipboa…
2227 null;b.cellEditor.isContentEditing()?document.execCommand("paste",!1,null):c=d.apply(this,arguments…
2231 …r.scrollTop,l=a.container.scrollLeft,n=8<=document.documentMode?20:14;if(8==document.documentMode|…
2233 …URIComponent(urlParams["toolbar-config"]||"{}"));this.chromelessToolbar=document.createElement("di…
2235 …GraphView",f);f();var k=0,f=mxUtils.bind(this,function(a,b,c){k++;var d=document.createElement("sp…
2236 …";mxEvent.addListener(d,"click",a);null!=c&&d.setAttribute("title",c);a=document.createElement("im…
2237 …nt.consume(a)}),Editor.previousImage,mxResources.get("previousPage")),g=document.createElement("di…
2243 …le(this.editor.graph.container);this.layersDialog.style.zIndex=c.zIndex;document.body.appendChild(…
2246 …w.self===window.top||a.lightbox&&("1"==urlParams.close||this.container!=document.body))&&f(mxUtils…
2267 ….getOrCreateFilename();null!=this.editor.appName&&(a+=" - "+this.editor.appName);document.title=a};
2268document.execCommand("redo",!1,null):this.editor.undoManager.redo()}catch(a){}};EditorUi.prototype…
2291document.body&&(b=document.body.clientWidth||document.documentElement.clientWidth,d=document.docum…
2302 …efresh()})))};EditorUi.prototype.createStatusContainer=function(){var a=document.createElement("a"…
2303 …s.createDiv("geFooter")};EditorUi.prototype.createDiv=function(a){var b=document.createElement("di…
2305 …mxEvent.addGestureListeners(document,null,c,f);this.destroyFunctions.push(function(){mxEvent.remov…
2317 …){var b=null;if(null!=a&&0<a.length){var d="<meta "==a.substring(0,6),b=document.createElement("di…
2321 ….dataTransfer?a.dataTransfer:a.clipboardData,null!=a&&(10==document.documentMode||11==document.doc…
2323 …quest(SAVE_URL,"filename="+encodeURIComponent(a)+"&xml="+encodeURIComponent(b))).simulate(document,
2342 …his.keyHandler=null);null!=this.keydownHandler&&(mxEvent.removeListener(document,"keydown",this.ke…
2343document,"keyup",this.keyupHandler),this.keyupHandler=null);null!=this.resizeHandler&&(mxEvent.rem…
2344 ….graph.container.style.visibility="hidden";this.graph.foldingEnabled=!1;document.body.appendChild(…
2345document,mxClient.IS_POINTER?"pointerup":"mouseup",this.pointerUpHandler);this.pointerDownHandler=…
2346document,mxClient.IS_POINTER?"pointermove":"mousemove",this.pointerMoveHandler);this.pointerOutHan…
2356 …1;Sidebar.prototype.thumbAntiAlias=!1;Sidebar.prototype.thumbPadding=5<=document.documentMode?2:3;…
2357 "large"!=urlParams["sidebar-entries"]&&(Sidebar.prototype.thumbPadding=5<=document.documentMode?0:1…
2359 …+10+this.editorUi.container.offsetLeft,Math.min(Math.max(document.body.clientHeight||0,document.do…
2360document.createElement("div"),this.tooltip.className="geSidebarTooltip",this.tooltip.style.userSel…
2362 …,mxClient.IS_SVG||(this.graph2.view.canvas.style.position="relative"),g=document.createElement("im…
2365 …Titles&&null!=c&&0<c.length?(null==this.tooltipTitle?(this.tooltipTitle=document.createElement("di…
2377document.createElement("div");b.style.visibility="hidden";this.container.appendChild(b);var d=docu…
2378document.createElement("input");c.setAttribute("placeholder",mxResources.get("searchShapes"));c.se…
2379 …tor.transparentImage+"')";var k;e.appendChild(f);d.appendChild(e);var h=document.createElement("ce…
2385 a.stopPropagation();a.cancelBubble=!0});a=document.createElement("div");a.appendChild(d);this.conta…
2386 Sidebar.prototype.insertSearchHint=function(a,b,d,e,c,f,k,h){0==c.length&&1==e&&(d=document.createE…
2494 …ntSearchEntryLibrary()};Sidebar.prototype.createTitle=function(a){var b=document.createElement("a"…
2497 …0!=k&&(e.style.height=this.thumbHeight+0+this.sidebarTitleSize+8+"px",b=document.createElement("di…
2498 Sidebar.prototype.createSection=function(a){return mxUtils.bind(this,function(){var b=document.crea…
2499 Sidebar.prototype.createItem=function(a,b,d,e,c,f,k,h){h=null!=h?h:!0;var g=document.createElement(…
2505 …,f,k,h,g,l){for(l=l?null:mxEvent.isTouchEvent(f)||mxEvent.isPenEvent(f)?document.elementFromPoint(…
2508 Sidebar.prototype.createDragPreview=function(a,b){var d=document.createElement("div");d.className="…
2550document.createElement("div");c.className="geSidebar";mxClient.IS_POINTER&&(c.style.touchAction="n…
2551 Sidebar.prototype.addFoldingHandler=function(a,b,d){var e=!1;if(!mxClient.IS_IE||8<=document.docume…
2558document,mxClient.IS_POINTER?"pointerup":"mouseup",this.pointerUpHandler),this.pointerUpHandler=nu…
2559document,mxClient.IS_POINTER?"pointermove":"mousemove",this.pointerMoveHandler),this.pointerMoveHa…
2598 Graph.createOffscreenGraph=function(a){var b=new Graph(document.createElement("div"));b.stylesheet.…
2608document.createElement("div");b.style.position="absolute";b.style.visibility="hidden";var d=decode…
2610 l.height/e))}catch(m){}finally{document.body.removeChild(b)}a=Editor.createSvgDataUri(mxUtils.getXm…
2611 Graph.createRemoveIcon=function(a,b){var d=document.createElement("img");d.setAttribute("src",Dialo…
2614 …ms.base?decodeURIComponent(urlParams.base):(window!=window.top?document.referrer:document.location…
2661document.createElement("div");d.style.position="absolute";for(var e=this.getModel(),c=e.getChildCo…
2662 …bute("title",mxResources.get(e.isVisible(c)?"hideIt":"show",[g]));var m=document.createElement("im…
2674 Graph.prototype.getIndexableText=function(){var a=document.createElement("div"),b=[],d,e;for(e in t…
2691 …=function(){var a=document.getElementsByTagName("head")[0];if(null!=a&&null==this.flowAnimationSty…
2768 "undefined"!=typeof mxVertexHandler&&function(){function a(){var a=document.createElement("div");a.…
2802 …Elements=function(a,b,c){a=null!=a?a:this.getSelectionCells();for(var d=document.createElement("di…
2822 g.click=function(a){};g.addMouseListener(k);mxEvent.addListener(document,"mouseleave",function(a){k…
2824document.execCommand("insertimage",!1,a);a=this.cellEditor.textarea.getElementsByTagName("img");if…
2825document.execCommand("createlink",!1,mxUtils.trim(a));b=this.cellEditor.textarea.getElementsByTagN…
2832 …=e?-.5:0;w.translate(Math.floor(c/b-W.x/Y),Math.floor(c/b-W.y/Y));var U=document.createElement("di…
2836 …rm","translate(0,-5)");null==e.setAttributeNS||b.ownerDocument!=document&&null==document.documentM…
2840 …getRangeAt&&b.rangeCount){var c=document.createRange();c.selectNode(a);b.removeAllRanges();b.addRa…
2848 …on(a,b){var c=a.tHead;if(null!=c)for(var d=0;d<c.rows.length;d++){var e=document.createElement("th…
2849 …ount){b=b.getRangeAt(0);b.deleteContents();var c=document.createElement("div");c.innerHTML=a;a=doc…
2850document.selection)&&"Control"!=b.type&&b.createRange().pasteHTML(a)};Graph.prototype.createLinkFo…
2855 …getSelection?a=window.getSelection():document.getSelection?a=document.getSelection():document.sele…
2856 …f(null!=a)for(d="";0<a;)d+=" ",a--;a=document.createElement("span");a.style.whiteSpace="pre";a.app…
2857document.execCommand("justify"+a.toLowerCase(),!1,null)};mxCellEditor.prototype.saveSelection=func…
2858 …emoveAllRanges();for(var b=0,c=a.length;b<c;++b)sel.addRange(a[b])}else document.selection&&a.sele…
2862 …)):a.parentNode.removeChild(a)}w.apply(this,arguments);7!==document.documentMode&&8!==document.doc…
2867 …ea.innerHTML="");var h=mxUtils.htmlEntities(this.textarea.innerHTML);8!=document.documentMode&&(h=…
2931 typeof this.graph.editLink)){var d=document.createElement("img");d.setAttribute("src",Editor.editIm…
2932 …ll,null);mxEvent.consume(a)}))}if(null!=c)for(d=0;d<c.length;d++){var e=document.createElement("di…
2973document.createElement("div");d.style.whiteSpace="nowrap";d.style.color="rgb(112, 112, 112)";d.sty…
2977 …"absolute",m.style.right="0px",m.style.top="0px",m.style.width="25px",g=document.createElement("im…
2984 …ction(){document.activeElement==l.cellEditor.textarea&&(m=l.cellEditor.saveSelection())}),mxEvent.…
2985document.createElement("div");a.className="geFormatSection";a.style.padding="12px 0px 12px 14px";r…
2986document.createElement("div");mxUtils.setPrefixedStyle(g.style,"borderRadius","3px");g.style.borde…
2989document.createElement("div");f.style.padding="3px 0px 3px 0px";f.style.whiteSpace="nowrap";f.styl…
2993document.createElement("div");g.style.padding="3px 0px 3px 0px";g.style.whiteSpace="nowrap";g.styl…
2994 …^#?[a-zA-Z0-9]*$)/.test(a)?a:m;var m=null!=a&&a!=mxConstants.NONE?a:m,u=document.createElement("di…
2995 …ull"==a?null:a);c||(n=a,(g||k||b()!=n)&&d("null"==n?null:n,n));p=!1}},v=document.createElement("in…
3000document.createElement("div");d.style.display="inline-block";d.style.paddingRight="4px";d.style.pa…
3003 BaseFormatPanel.prototype.addUnitInput=function(a,b,d,e,c,f,k,h,g){k=null!=k?k:0;b=document.createE…
3005 …5,null!=e);if(null!=b){var g=mxUtils.bind(this,function(a,c,d){if(d||h!=document.activeElement)a=t…
3007 BaseFormatPanel.prototype.addLabel=function(a,b,d,e){e=null!=e?e:61;var c=document.createElement("d…
3012 …r.appendChild(this.addGroupOps(this.createPanel()));a.containsLabel&&(a=document.createElement("di…
3013document.createElement("div");c.style.marginTop="2px";c.style.marginBottom="8px";c.style.fontWeigh…
3029 …="12px";a.appendChild(this.createTitle(mxResources.get("align")));var d=document.createElement("di…
3032 …ditor.graph;a.style.paddingTop="6px";a.style.paddingBottom="10px";var d=document.createElement("di…
3036 …aph,e=this.format.getSelectionState();a.style.paddingBottom="8px";var c=document.createElement("di…
3037 …inTop="8px"));if(null!=f){var g=mxUtils.bind(this,function(a,b,c){if(c||document.activeElement!=f)…
3042 …SelectionState(),k=this.createPanel();k.style.paddingBottom="8px";var h=document.createElement("di…
3043 …ply(this,arguments)},this.getUnitStep(),null,null,this.isFloatUnit()),u=document.createElement("di…
3044 …dth"),87);this.addLabel(k,mxResources.get("height"),16);mxUtils.br(k);h=document.createElement("di…
3046 ….appendChild(k);var w=this.createPanel();w.style.paddingBottom="30px";h=document.createElement("di…
3048document.activeElement!=p)p.value=this.inUnit(f.width)+(""==f.width?"":" "+this.getUnit());if(c||d…
3049 if(c||document.activeElement!=z)z.value=this.inUnit(f.y)+(""==f.y?"":" "+this.getUnit())}else w.sty…
3055 …b.editor.graph,e=this.format.getSelectionState(),c=this.createPanel(),f=document.createElement("di…
3056 ….appendChild(c);var p=this.createPanel();p.style.paddingBottom="30px";f=document.createElement("di…
3058 document.createElement("div");f.style.position="absolute";f.style.width="70px";f.style.marginTop="0…
3059 …k"==e.style.shape||"flexArrow"==e.style.shape){if(c.style.display="",f||document.activeElement!=n)…
3068 …ton("geSprite-removeformat",mxResources.get("strikethrough"),function(){document.execCommand("stri…
3071 …te-justifyfull",mxResources.get("block"),function(){1==C.style.opacity&&document.execCommand("just…
3072document.execCommand("subscript",!1,null)},n),H=this.editorUi.toolbar.addButton("geSprite-superscr…
3073document.execCommand("insertorderedlist",!1,null)},p),this.editorUi.toolbar.addButton("geSprite-un…
3074 …tton("geSprite-removeformat",mxResources.get("removeFormat"),function(){document.execCommand("remo…
3075 "4px";n.style.fontWeight="normal";mxUtils.write(n,mxResources.get("position"));var M=document.creat…
3077 …xConstants.ALIGN_LEFT,mxConstants.ALIGN_TOP]},p=0;p<t.length;p++){var K=document.createElement("op…
3078 …ght="normal";mxUtils.write(t,mxResources.get("writingDirection"));var P=document.createElement("se…
3079 document.createElement("option");Z.setAttribute("value",K[p]);mxUtils.write(Z,mxResources.get(K[p])…
3080 …ts.STYLE_TEXT_DIRECTION,X[P.value],c.cells);mxEvent.consume(a)}));var O=document.createElement("in…
3082 …rea;g!=e.cellEditor.textarea&&g.nodeType==mxConstants.NODETYPE_ELEMENT||document.execCommand("font…
3083document.selection)if(b=function(a,b){for(;null!=b;){if(b===a)return!0;b=b.parentNode}return!1},k=…
3085 function(){return U},function(a){document.execCommand("backcolor",!1,a!=mxConstants.NONE?a:"transpa…
3087 f=[],g=0;g<b.length;g++)f.push({node:b[g],color:b[g].getAttribute("color")});document.execCommand("…
3088 …k=b.nextSibling;a[g].appendChild(b);b=k}f.appendChild(a[g])}break}}else document.execCommand("fore…
3091 …ngTop="10px";h.style.paddingBottom="28px";h.style.fontWeight="normal";n=document.createElement("di…
3094 …e=b+" %"},function(a){ia=a;mxEvent.addListener(a,"mousedown",function(){document.activeElement==e.…
3095document.activeElement==e.cellEditor.textarea&&(la=e.cellEditor.saveSelection())});a.value="120 %"…
3105 …,"0"==mxUtils.getValue(c.style,mxConstants.STYLE_HORIZONTAL,"1"));if(e||document.activeElement!=O)…
3108document.activeElement!=ga)a=parseFloat(mxUtils.getValue(c.style,mxConstants.STYLE_SPACING,2)),ga.…
3109 0)),aa.value=isNaN(a)?"":a+" pt";if(e||document.activeElement!=ha)a=parseFloat(mxUtils.getValue(c.s…
3114 …l:e.getParentByNames(a,["TD","TH"],y),G.style.display=null!=y?"":"none",document.activeElement!=O&…
3120 …atPanel.prototype.getCssRules=function(a){var b=document.implementation.createHTMLDocument(""),d=d…
3128 …ctionState();a.style.paddingTop="6px";a.style.paddingBottom="6px";var c=document.createElement("se…
3131document.createElement("option");n.setAttribute("value",m[l]);mxUtils.write(n,mxResources.get(m[l]…
3137 …iteSpace="normal";var k=document.createElement("div");k.style.fontWeight="bold";f.stroke||(k.style…
3138 …="4px";for(var g=["sharp","rounded","curved"],l=0;l<g.length;l++){var m=document.createElement("op…
3141 function(a,b,c,d,e){a=this.editorUi.menus.styleChange(a,"",d,e,"geIcon",null);d=document.createElem…
3147 ["1","1 4"]).setAttribute("title",mxResources.get("dotted")+" (3)")})),g=p.cloneNode(!1),t=document
3154 mxResources.get("none"));var c=document.createElement("font");c.style.fontSize="10px";mxUtils.write…
3167 0],"geIcon",null,!1);b.setAttribute("title",mxResources.get("none"));var c=document.createElement("…
3180 …ar C=this.addArrow(m,9);C.className="geIcon";C.style.width="22px";var G=document.createElement("di…
3181 …is.defaultStrokeColor;G.style.marginBottom="7px";x.appendChild(G);var y=document.createElement("di…
3182 …ode(!1);l.style.padding="5px 4px 6px 0px";l.style.fontWeight="normal";m=document.createElement("di…
3183 R=this.addUnitInput(l,"pt",30,52,function(){L.apply(this,arguments)});mxUtils.br(l);x=document.crea…
3184 …arginTop="6px";k.style.borderWidth="0px";k.style.paddingBottom="18px";m=document.createElement("di…
3186 …if(d||document.activeElement!=t)b=parseFloat(mxUtils.getValue(f.style,mxConstants.STYLE_STROKEWIDT…
3192document.activeElement!=Z)b=parseInt(mxUtils.getValue(f.style,mxConstants.STYLE_STARTSIZE,mxConsta…
3193 …|document.activeElement!=X)b=parseInt(mxUtils.getValue(f.style,mxConstants.STYLE_TARGET_PERIMETER_…
3196document.createElement("div");c.style.position="absolute";c.style.maxWidth="82px";c.style.overflow…
3197 …for(var c=["none","arc","gap","sharp","line"],k=0;k<c.length;k++){var h=document.createElement("op…
3199 "jumpStyle","none");if(d||document.activeElement!=l)a=parseInt(mxUtils.getValue(b.style,"jumpSize",…
3200document.createElement("table");e.style.width="210px";e.style.fontWeight="bold";e.style.tableLayou…
3205document.createElement("div");h.style.paddingBottom="12px";h.style.marginRight="16px";a.style.padd…
3206 m=document.createElement("tr");m.style.padding="0px";var n=document.createElement("td");n.style.pad…
3212 document.createElement("div");k.style.position="absolute";k.style.display="inline-block";k.style.ov…
3214document.createElement("div");x.style.position="relative";a.appendChild(x);null==this.format.cache…
3219document.createElement("div");h.style.whiteSpace="nowrap";h.style.position="relative";h.style.text…
3221 "0.5"})},n=document.createElement("div"),n.style.position="absolute",n.style.left="0px",n.style.top…
3231 …Unit();mxEvent.consume(a)}var d=this,e=this.editorUi,c=e.editor.graph,f=document.createElement("in…
3440 …yle.tabHeight=Math.round(Math.max(0,Math.min(a.height,b.y-a.y)))},!1)]},document:function(a){retur…
3524 …,"nl2Br","1")&&(h=h.replace(/\n/g,"").replace(/<br\s*.?>/g,"\n"));var k=document.createElement("di…
3540document.execCommand("bold",!1,null)},Editor.ctrlKey+"+B");k("italic",mxConstants.FONT_ITALIC,func…
3552 document.execCommand("subscript",!1,null)}),null,null,Editor.ctrlKey+"+,");k=this.addAction("supers…
3555 …unction(){null==this.layersWindow?(this.layersWindow=new LayersWindow(d,document.body.offsetWidth-…
3557 …tion(){null==this.outlineWindow?(this.outlineWindow=new OutlineWindow(d,document.body.offsetWidth-…
3561 …is.styleChange(d,e,[mxConstants.STYLE_FONTFAMILY],[e],null,c,function(){document.execCommand("font…
3563 …,function(){null!=b.cellEditor.textarea&&(b.cellEditor.textarea.focus(),document.execCommand("form…
3566 …for(var k=mxUtils.bind(this,function(c){if(null!=b.cellEditor.textarea){document.execCommand("font…
3598 ….innerHTML="";var l=document.createElement("input");l.setAttribute("id","geTitleOption");l.setAttr…
3599 …ume(a)}));var m=document.createElement("input");m.setAttribute("id","geContainerOption");m.setAttr…
3600document.createElement("table");c.setAttribute("border","1");c.style.borderCollapse="collapse";c.s…
3609 …"000000",mxUtils.bind(this,function(a){c.cellEditor.restoreSelection(k);document.execCommand(b,!1,…
3613 …(a,b){if(null!=b.shortcut){var d=a.firstChild.nextSibling.nextSibling,e=document.createElement("sp…
3623 …abled=a.enabled)?(b.className=d,8==document.documentMode&&(b.style.color="")):(b.className=d+" mxD…
3624 Menubar.prototype.addMenu=function(a,b,d){var e=document.createElement("a");e.className="geItem";mx…
3627 …editorUi.currentMenu.div&&this.hideMenu()});mxEvent.addGestureListeners(document,this.gestureHandl…
3641 Toolbar.prototype.appendDropDownImageHtml=function(a){var b=document.createElement("img");b.setAttr…
3645 …me=function(a){if(null!=this.fontMenu){this.fontMenu.innerHTML="";var b=document.createElement("di…
3646 …ze=function(a){if(null!=this.sizeMenu){this.sizeMenu.innerHTML="";var b=document.createElement("di…
3653document.execCommand("justifyfull",!1,null)}),null,"geIcon geSprite geSprite-justifyfull");c.setAt…
3654document.execCommand("outdent",!1,null)}),null,"geIcon geSprite geSprite-outdent");c.setAttribute(…
3655 …nowrap";e.style.overflow="hidden";e.style.width="30px";e.innerHTML="";d=document.createElement("di…
3657document.execCommand("removeformat",!1,null)}),null,"geIcon geSprite geSprite-removeformat");c.set…
3658 …a.innerHTML||!b.cellEditor.clearOnChange)&&window.setTimeout(function(){document.execCommand("sele…
3659 …Resources.get("insertHorizontalRule"),null,mxUtils.bind(this,function(){document.execCommand("inse…
3660 …dden";e.style.position="relative";e.style.width="16px";e.innerHTML="";d=document.createElement("di…
3668 …nowrap";c.style.overflow="hidden";c.style.width="30px";c.innerHTML="";d=document.createElement("di…
3670 …bar.prototype.addSeparator=function(a){a=null!=a?a:this.container;var b=document.createElement("di…
3673 …ar.prototype.createButton=function(a){var b=document.createElement("a");b.className="geButton";var…
3674 Toolbar.prototype.createLabel=function(a,b){var d=document.createElement("a");d.className="geLabel"…
3677 …vent.removeGestureListeners(document,this.gestureHandler),this.gestureHandler=null)};var OpenDialo…
3678 …his.editorUi=a;var k=document.createElement("input");k.style.marginBottom="10px";mxClient.IS_IE&&(…
3679document.createElement("div");mxJSColor.picker.box.style.position="relative";mxJSColor.picker.box.…
3680document.createElement("tbody");h.appendChild(m);for(var n=a.length/b,p=0;p<n;p++){for(var q=docum…
3681 …mxEvent.addListener(b,"dblclick",c))})(a[p*b+t]);m.appendChild(q)}e&&(a=document.createElement("td…
3682 …mxClient.IS_IE11)k.style.width="216px";else{k.style.width="182px";var n=document.createElement("in…
3683document.activeElement==n?k.focus():(n.value="#"+k.value,n.click())}));mxEvent.addListener(n,"inpu…
3688document.createElement("div");b.setAttribute("align","center");var d=document.createElement("h3");…
3689 …null!=l?l:!1;var u,v,t=document.createElement("table"),w=document.createElement("tbody");u=documen…
3690 …b);u.appendChild(v);w.appendChild(u);u=document.createElement("tr");v=document.createElement("td")…
3691 …=0};v.appendChild(x);u.appendChild(v);w.appendChild(u);u=document.createElement("tr");v=document.c…
3692 …r=t},EditDiagramDialog=function(a){var b=document.createElement("div");b.style.textAlign="right";v…
3694 …og()});e.className="geBtn";a.editor.cancelFirst&&b.appendChild(e);var c=document.createElement("se…
3695 document.createElement("option");f.setAttribute("value","replace");mxUtils.write(f,mxResources.get(…
3700document.createElement("table"),l=document.createElement("tbody");f.setAttribute("cellpadding",mxC…
3701document.createElement("tr");g=document.createElement("td");g.style.fontSize="10pt";mxUtils.write(…
3702document.createElement("option");g.setAttribute("value","jpg");mxUtils.write(g,mxResources.get("fo…
3703document.createElement("td");g.appendChild(n);c.appendChild(g);l.appendChild(c);c=document.createE…
3704document.createElement("input");q.setAttribute("value",k);q.style.width="180px";g=document.createE…
3705document.createElement("tr");g=document.createElement("td");g.style.fontSize="10pt";mxUtils.write(…
3706document.createElement("option");g.setAttribute("value","400");mxUtils.write(g,"400dpi");v.appendC…
3707 …))});g=document.createElement("td");g.appendChild(v);g.appendChild(t);c.appendChild(g);l.appendChi…
3708document.createElement("input");x.setAttribute("type","checkbox");x.checked=null==e.background||e.…
3709document.createElement("td");g.appendChild(z);c.appendChild(g);l.appendChild(c);c=document.createE…
3711 ….floor(k*a)):(p.value="100",q.value=k,u.value=h);d()});c=document.createElement("tr");g=document.c…
3715 …b)+"&bg="+(null!=e?e:"none")+"&w="+l+"&h="+c+"&"+m+"&dpi="+k)).simulate(document,"_blank")):mxUtil…
3716 …Component(b)+"&filename="+encodeURIComponent(d)+"&format="+e)).simulate(document,"_blank")):(mxUti…
3717 …removeAttribute("disabled"):E.setAttribute("disabled","disabled")}var e=document.createElement("di…
3718document.createElement("div");c.style.position="relative";c.style.paddingRight="20px";c.style.boxS…
3720 …function(a,b){return a.name<b.name?-1:a.name>b.name?1:0});if(null!=u){m=document.createElement("di…
3722document.createElement("div");g.style.position="absolute";g.style.top="30px";g.style.left="30px";g…
3726document.createElement("div");m.style.cssText="position:absolute;left:30px;right:30px;text-align:r…
3727 …ces.get("placeholders"));if(null!=EditDataDialog.placeholderHelpLink){w=document.createElement("a"…
3728 "8px";w.style.cursor="help";var H=document.createElement("img");mxUtils.setOpacity(H,50);H.style.he…
3730document.createElement("div");mxUtils.write(c,mxResources.get("editLink")+":");var f=document.crea…
3731 …at";k.style.backgroundPosition="100% 50%";k.style.paddingRight="14px";b=document.createElement("di…
3732 …Client.IS_GC||mxClient.IS_FF||5<=document.documentMode?k.select():document.execCommand("selectAll"…
3733 …ppendChild(f);this.container=c},OutlineWindow=function(a,b,d,e,c){var f=document.createElement("di…
3734 …ht||document.body.clientHeight||document.documentElement.clientHeight;a=Math.max(0,Math.min(a,(win…
3737 …ode&&G.parentNode.removeChild(G)}function h(){function a(a,b,c,d){var e=document.createElement("di…
3738 …yle="solid";e.style.whiteSpace="nowrap";e.setAttribute("title",b);var h=document.createElement("di…
3739 …g.model.root,q);q=p=null;a.stopPropagation();a.preventDefault()});var k=document.createElement("im…
3741 k=document.createElement("img");k.setAttribute("draggable","false");k.setAttribute("align","top");k…
3742 ….getModel().getDescendants(c));mxEvent.consume(a)}});h.appendChild(k);k=document.createElement("sp…
3743document.documentMode)b=document.createElement("div"),b.style.display="block",b.style.textAlign="r…
3744 …()&&g.addCell(c,g.model.root,a-1);mxEvent.consume(b)})),0<=a&&a<u-1&&(h=document.createElement("a"…
3745 …t.consume(b)})),e.appendChild(b);mxClient.IS_SVG&&(!mxClient.IS_IE||10<=document.documentMode)&&(e…
3747 …Empty()&&(z.className="geButton mxDisabled");k()}var g=a.editor.graph,l=document.createElement("di…
3748 var m=EditorUi.compactUi?"26px":"30px",n=document.createElement("div");n.style.backgroundColor=Edit…
3749 a.preventDefault()});var u=null,v=null,t=document.createElement("div");t.className="geToolbarContai…
3750 "nowrap";var w=document.createElement("a");w.className="geButton";var x=w.cloneNode(!1),m=document.…
3755 …mxDisabled");t.appendChild(w);l.appendChild(t);var C=new mxDictionary,G=document.createElement("sp…
3757 …ht||document.body.clientHeight||document.documentElement.clientHeight;a=Math.max(0,Math.min(a,(win…
3776 …d help with connections?";break}if(null!=f&&!this.hideSearchHint){var k=document.createElement("a"…
3777 f=document.createElement("img");f.setAttribute("src",Dialog.prototype.closeImage);f.setAttribute("t…
3791 …otype.addFoldingHandler=function(a,c,b){var d=!1;if(!mxClient.IS_IE||8<=document.documentMode)a.st…
3792 ….backgroundRepeat="no-repeat";a.style.backgroundPosition="0% 50%";var e=document.createElement("bu…
3794document.body.appendChild(h);var b=h.clientHeight+18;h.parentNode.removeChild(h);this.editorUi.con…
3800 …var c=null,b=null,d=null,e=null,f=mxUtils.bind(this,function(a,c){var b=document.createElement("sp…
9984 …ForPages=function(b){var e=new mxCodec(mxUtils.createXmlDocument()),d=e.document.createElement("mx…
10003 …Of("extFont_")&&d.parentNode.removeChild(d)}};e(document.querySelectorAll("head > style[id]"));e(d…
10028document.body,mxResources.get(this.savingSpinnerKey))&&(this.ui.editor.setStatus(""),this.save(!0,…
10029 …xUtils.bind(this,function(){this.ui.spinner.stop();this.ui.spinner.spin(document.body,mxResources.…
10047 …="+encodeURIComponent(d)+"&filename="+encodeURIComponent(b)+(k?"&binary=1":""))).simulate(document,
10063document.body,mxResources.get("authorizing"))?b.drive.checkToken(mxUtils.bind(this,function(){b.sp…
10064 …eClient.prototype.newAppHostname})}f++;++n>d&&(mxUtils.br(l),n=1);var t=document.createElement("a"…
10065document.createElement("div");y.style.textOverflow="ellipsis";y.style.overflow="hidden";y.style.po…
10067document.createElement("div");g.style.textAlign="center";g.style.whiteSpace="nowrap";g.style.paddi…
10068 …px";var n=0,f=0,l=document.createElement("div");l.style.paddingTop="2px";k.appendChild(l);var m=do…
10070 …/notion-logo.svg",mxResources.get("notion"),App.MODE_NOTION,"notion");k=document.createElement("sp…
10071 …Client.IS_SVG&&isLocalStorage&&"0"!=urlParams.gapi&&(null==document.documentMode||10<=document.doc…
10072 ….appendChild(m))},5E3);this.container=g},SplashDialog=function(b){var e=document.createElement("di…
10073document.createElement("img");c.setAttribute("border","0");c.setAttribute("align","absmiddle");c.s…
10075 …tom="10px",g.style.paddingTop="30px",d=mxResources.get("device"));var k=document.createElement("bu…
10076document.createElement("table"),f=document.createElement("tbody"),l=document.createElement("tr"),m…
10077 l.appendChild(p);f.appendChild(l);n.appendChild(f);e.appendChild(n);d=document.createElement("span"…
10078 …ialog();b.actions.get("new").funct()});g.appendChild(k);mxUtils.br(g);k=document.createElement("bu…
10079 …itorUi.isElectronApp)if(d=function(c){k.style.marginBottom="24px";var f=document.createElement("a"…
10080 …DE_GOOGLE&&null!=b.drive){var q=b.drive.getUsersList();if(0<q.length){c=document.createElement("sp…
10081document.createElement("select");t.style.marginLeft="4px";t.style.width="140px";for(d=0;d<q.length…
10084 e,d,c,g,k,n,f,l){n=null!=n?n:"Check out the diagram I made using @drawio";c=document.createElement(…
10086document.documentMode?p.select():document.execCommand("selectAll",!1,null)):(p.setAttribute("reado…
10087 …sage:A.message||mxResources.get("drawingTooLarge")})}else{var l=window.open(),l=null!=l?l.document:
10089 …ndleError({message:v.message||mxResources.get("drawingTooLarge")})}});f=document.createElement("im…
10090 …ndleError({message:v.message||mxResources.get("drawingTooLarge")})}}),f=document.createElement("im…
10091 …function(){p.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?p.select():document.…
10092 !1,null);document.execCommand("copy");b.alert(mxResources.get("copiedToClipboard"))});5E5>e.length?…
10095document.createElement("div"),g=b.editor.graph,k=g.getGraphBounds(),n=g.view.scale,f=Math.floor(k.…
10096document.documentMode?m.select():document.execCommand("selectAll",!1,null)};mxUtils.write(c,mxReso…
10097document.createElement("hr");k.setAttribute("size","1");k.style.marginBottom="16px";k.style.margin…
10098document.createElement("input");u.setAttribute("type","text");u.setAttribute("size","3");u.style.m…
10099document.createElement("input");A.setAttribute("type","checkbox");A.style.marginLeft="8px";A.setAt…
10100document.createElement("input");B.setAttribute("type","checkbox");B.setAttribute("checked","checke…
10102document.documentMode?m.select():document.execCommand("selectAll",!1,null)});k=document.createElem…
10103 function(){var e=document.createElement("div");e.style.position="relative";e.style.border="1px soli…
10114document.createElement("div");c.style.whiteSpace="nowrap";var g=document.createElement("h2");mxUti…
10115document.createElement("input");l.setAttribute("type","text");l.style.marginBottom="8px";l.style.w…
10118 …,"dragover",mxUtils.bind(this,function(c){null==e&&(!mxClient.IS_IE||10<document.documentMode)&&(e…
10120document.createElement("span");p.style.marginLeft="30px";mxUtils.write(p,mxResources.get("width")+…
10122document.createElement("option");mxUtils.write(z,mxResources.get("pageNotFound"));z.setAttribute("…
10124 …"plantUmlPng"==f||"plantUmlSvg"==f||"plantUmlTxt"==f){if(b.spinner.spin(document.body,mxResources.…
10127 …e)},function(c){b.handleError(c)})}}else if("mermaid"==f)b.spinner.spin(document.body,mxResources.…
10135 …ertEdge(I,!1),q.push(I)));if(0<q.length){e=document.createElement("div");e.style.visibility="hidde…
10140document.createElement("div");e.style.textAlign="right";var n=document.createElement("textarea");n…
10141document.createElement("option");l.setAttribute("value","table");mxUtils.write(l,mxResources.get("…
10142document.createElement("option");l.setAttribute("value","plantUmlSvg");mxUtils.write(l,mxResources…
10148document.body,v)){f=mxUtils.parseXml(f);f=Editor.parseDiagramNode(f.documentElement);var m=new mxC…
10149 document.body.clientHeight)-80,800),null!=d?mxResources.get(d,null,d):null,!0,new mxPoint(e,l),!0,f…
10150 …ine-flex";v.style.justifyContent="center";v.style.alignItems="center";l=document.createElement("im…
10154 …er(v,"dblclick",function(b){y();mxEvent.consume(b)}));if(null!=c){var D=document.createElement("im…
10156 …lientHeight>=R.scrollHeight&&(B(),mxEvent.consume(b))}));if(0<oa){var f=document.createElement("di…
10157 mxUtils.write(f,mxResources.get("custom"));ha.appendChild(f);for(var d in ja){var e=document.create…
10158document.createElement("div");f.style.cssText="font-weight: bold;background: #f9f9f9;padding: 5px …
10159 …appendChild(q);p=document.createElement("ul");p.className="geTempTreeNested";p.style.visibility="h…
10160 …tyle.backgroundColor=n,ma=f);c(d,g)}B(!1)}var E=500>(window.innerWidth||document.documentElement.c…
10161 document.body.clientWidth);d=null!=d?d:!0;g=null!=g?g:!1;n=null!=n?n:"#ebf2f9";f=null!=f?f:Editor.i…
10164document.createElement("input");M.setAttribute("value",b.defaultFilename+I);M.style.marginLeft="10…
10167 "geBtn"},H=!0;x=document.createElement("div");x.style.whiteSpace="nowrap";x.style.height="30px";D.a…
10169document.createElement("span");E.style.marginLeft="10px";E.innerHTML=mxUtils.htmlEntities(mxResour…
10170document.createElement("div");R.style.border="1px solid #d3d3d3";R.style.position="absolute";R.sty…
10171 …s.get("search"));ia.setAttribute("type","text");T.appendChild(ia);var U=document.createElement("im…
10174 0;R.innerHTML="";L=0;f=document.createElement("div");f.style.cssText="border: 1px solid #D3D3D3; pa…
10175 U.setAttribute("title",mxResources.get("reset")))}));x+=23;var ha=document.createElement("div");ha.…
10178 …s",function(c){b.dialog.container.firstChild==D&&13==c.keyCode&&y()});A=document.createElement("di…
10180 …Resources.get("import"),function(){if(null==b.newDlgFileInputElt){var c=document.createElement("in…
10181 !0);c.value=""});c.style.display="none";document.body.appendChild(c);b.newDlgFileInputElt=c}b.newDl…
10183 …substring(0,l));C.value=f+m}}B(d)})}var g=document.createElement("a");g.style.overflow="hidden";va…
10184 "nowrap";g.appendChild(p);g.style.color="gray";g.style.fontSize="11px";var k=document.createElement…
10185 …!=q?q:4;A=null!=A?A:!0;k=document.createElement("div");k.style.whiteSpace="nowrap";null==c&&b.addL…
10186document.createElement("input");C.setAttribute("value",e);C.style.width="200px";C.style.marginLeft…
10187 …image/svg"!=u.substring(0,9)||mxClient.IS_SVG)){C.style.width="160px";g=document.createElement("im…
10189document.createElement("div");G.style.textAlign="center";var E=0;G.style.marginTop="6px";k.appendC…
10190 …App.MODE_GOOGLE,"drive")),"function"===typeof window.OneDriveClient&&(t=document.createElement("op…
10191document.createElement("option"),t.setAttribute("value",App.MODE_DROPBOX),mxUtils.write(t,mxResour…
10192document.createElement("option"),t.setAttribute("value",App.MODE_GITLAB),mxUtils.write(t,mxResourc…
10193document.createElement("option"),t.setAttribute("value",App.MODE_TRELLO),mxUtils.write(t,mxResourc…
10194 …device"),App.MODE_DEVICE);f&&isLocalStorage&&"0"!=urlParams.browser&&(f=document.createElement("op…
10195 f=document.createElement("div");f.style.marginTop="26px";f.style.textAlign="center";null!=m&&(p=mxU…
10198 var PopupDialog=function(b,e,d,c,g){g=null!=g?g:!0;var k=document.createElement("div");k.style.text…
10199 …d,c,g,k){k=null!=k?k:!0;var n=b.editor.graph,f=document.createElement("div");mxUtils.write(f,e);e=
10200 "clip";e.style.cursor="default";e.style.paddingRight="20px";var l=document.createElement("input");l…
10201 "100% 50%";l.style.paddingRight="14px";d=document.createElement("div");d.setAttribute("title",mxRes…
10202 5);!b.isOffline()||m&&"undefined"===typeof chrome?0<f.length&&b.spinner.spin(document.body,mxResour…
10204 …,"dragover",mxUtils.bind(this,function(f){null==d&&(!mxClient.IS_IE||10<document.documentMode)&&(d…
10205 …decodeURIComponent(f))}c.stopPropagation();c.preventDefault()}),!1)}};d=document.createElement("di…
10206 …);l.focus()};if(Graph.fileSupport){if(null==b.imgDlgFileInputElt){var q=document.createElement("in…
10207document.body.appendChild(q);b.imgDlgFileInputElt=q}var t=mxUtils.button(mxResources.get("open"),f…
10209document.createElement("div"),e.style.position="absolute",e.style.width="420px",e.style.top="58%",…
10210document.createElement("div");l.style.height="100%";mxUtils.write(l,mxResources.get("editLink")+":…
10211 …"100% 50%";p.style.paddingRight="14px";p.style.marginBottom="4px";var q=document.createElement("di…
10212document.createElement("input");t.style.cssText="margin-right:8px;margin-bottom:8px;";t.setAttribu…
10213 …ribute("name","geLinkDialogOption");var v=document.createElement("select");v.style.width="520px";v…
10214 …")));mxUtils.br(m);m.appendChild(u);g=!1;for(k=0;k<b.pages.length;k++)q=document.createElement("op…
10215 "selected"),g=!0),v.appendChild(q);if(!g&&u.checked){var A=document.createElement("option");mxUtils…
10216 …v.focus():(p.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?p.select():document.…
10217 …,"dragover",mxUtils.bind(this,function(d){null==f&&(!mxClient.IS_IE||10<document.documentMode)&&(f…
10218 …cked=!0,z.click());b.stopPropagation();b.preventDefault()}),!1)}};var B=document.createElement("di…
10220 …drive-logo.svg",mxResources.get("googlePlus"),function(){b.spinner.spin(document.body,mxResources.…
10223 …his.container=l},FeedbackDialog=function(b,e,d,c){var g=document.createElement("div"),k=document.c…
10224document.createElement("div");mxUtils.write(k,mxResources.get("yourEmailAddress")+(d?"":" ("+mxRes…
10225 …lert(mxResources.get("drawingTooLarge")):(b.hideDialog(),b.spinner.spin(document.body)&&mxUtils.po…
10227document.createElement("input");m.setAttribute("type","checkbox");m.setAttribute("checked","checke…
10228document.createElement("div");mxUtils.write(k,mxResources.get("feedback"));g.appendChild(k);var p=
10230document.createElement("div"),g=document.createElement("h3");g.style.marginTop="0px";mxUtils.write…
10231 k.style.overflow="hidden";var n=document.createElement("div");n.style.cssText="position:absolute;le…
10237 …&(L.style.display="",k.style.display="",I.style.display="none")});var L=document.createElement("di…
10239 (new mxXmlRequest(SAVE_URL,"filename="+encodeURIComponent(f)+"&format=xml"+c)).simulate(document,"_…
10240 …rm(mxResources.get("areYouSure"),function(){null!=d?d(C):b.spinner.spin(document.body,mxResources.…
10241 …abled","disabled");P.setAttribute("title","Shift+Click for Diff");var K=document.createElement("se…
10243document.createElement("div");x.style.position="absolute";x.style.top="482px";x.style.width="640px…
10244 "0px";Y.style.width="100%";var ka=document.createElement("tbody"),aa=(new Date).toDateString();null…
10246 document.createElement("option"),mxUtils.write(q,m[e].getAttribute("name")||mxResources.get("pageWi…
10248 …le"))},g=document.createElement("tr");g.style.borderBottom="1px solid lightGray";g.style.fontSize=…
10252 window.getSelection().removeAllRanges():document.selection&&document.selection.empty();mxEvent.cons…
10254document.createElement("div"),p=document.createElement("div");p.style.marginTop="0px";p.style.whit…
10255 …Child(q);mxEvent.addListener(q,"change",t)}null==d&&(d=l[0].data);var A=document.createElement("di…
10259 …options[0].value,t()):b.hideDialog(!0))})])});n.className="geBtn";var E=document.createElement("se…
10260 …yBtn";v=document.createElement("div");v.style.position="absolute";v.style.bottom="30px";v.style.ri…
10262 ….innerHTML="";if(1<F.length)for(E.style.display="",d=0;d<F.length;d++)f=document.createElement("op…
10268document.createElement("div");B.style.userSelect="none";B.style.overflow="hidden";B.style.padding=…
10269document.createElement("input"),F.setAttribute("placeholder",mxResources.get("replaceWith")),F.set…
10270document.createElement("label");y.setAttribute("for","geFindWinRegExChck");B.appendChild(y);mxUtil…
10271document.createElement("label");y.setAttribute("for","geFindWinAllPagesChck");B.appendChild(y);mxU…
10273 …flow="ellipsis";I.className="geBtn gePrimaryBtn";y.appendChild(I);var M=document.createElement("di…
10281 …Visible()?(C.focus(),mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?C.select():document.…
10282 …ht||document.body.clientHeight||document.documentElement.clientHeight;b=Math.max(0,Math.min(b,(win…
10283 …w.destroy()}},FreehandWindow=function(b,e,d,c,g){var k=b.editor.graph;b=document.createElement("di…
10286 …ht||document.body.clientHeight||document.documentElement.clientHeight;b=Math.max(0,Math.min(b,(win…
10289 …ht||document.body.clientHeight||document.documentElement.clientHeight;b=Math.max(0,Math.min(b,(win…
10290 …y()}},AuthDialog=function(b,e,d,c){var g=document.createElement("div");g.style.textAlign="center";…
10291 var n="Unknown",f=document.createElement("img");f.setAttribute("border","0");f.setAttribute("align"…
10292 …trello-logo-white.svg");b=document.createElement("p");mxUtils.write(b,mxResources.get("authorizeTh…
10293 …pendChild(b);g.appendChild(n);d&&(d=document.createElement("p"),d.style.marginTop="20px",d.appendC…
10294 g},MoreShapesDialog=function(b,e,d){d=null!=d?d:b.sidebar.entries;var c=document.createElement("div…
10296 …Overflow="ellipsis";d.setAttribute("title",c.title+" ("+c.id+")");var l=document.createElement("in…
10297 q.style.padding="0px";q.style.color="";q.innerHTML="";if(null!=c.desc){var f=document.createElement…
10298 …eturn l.checked?c.id:null});0==f&&0==e&&m()})(c.entries[e])})(c[f])});l=document.createElement("di…
10299 …="40px";l.style.height="40px";l.style.right="0px";var p=document.createElement("div"),q=document.c…
10300document.createElement("div");v.style.position="relative";v.style.left="0px";v.style.right="0px";k…
10301 mxClient.IS_CHROMEAPP)k=document.createElement("span"),k.style.paddingRight="20px",k.appendChild(x)…
10302document.createElement("table"),k=document.createElement("tbody");c.style.height="100%";c.style.ov…
10303 e.checked=b.sidebar.isEntryVisible(d);var l=document.createElement("span");mxUtils.write(l,f);f=doc…
10304document.createElement("div");d.style.marginTop="18px";d.style.textAlign="center";x=document.creat…
10305 …(";"):"",x.checked);b.hideDialog()});l.className="geBtn gePrimaryBtn";d=document.createElement("di…
10306 …ML="";for(var f=0;f<n.length;f++){var e=document.createElement("span");e.style.whiteSpace="nowrap"…
10307 …on(){null!=d&&d(n[f]);n.splice(f,1);c()})}}(f))}}}var g=document.createElement("div"),k=document.c…
10308document.createElement("div"),d=document.createElement("span");d.style.marginTop="6px";mxUtils.wri…
10311 var p=document.createElement("div");p.style.marginTop="14px";p.style.textAlign="right";var q=mxUtil…
10312document.createElement("div"),k=document.createElement("div");k.style.width="300px";k.style.height…
10313document.createElement("label");l.setAttribute("for","croppieCircle");mxUtils.write(l,mxResources.…
10315document.createElement("div");m.style.marginTop="20px";m.style.textAlign="right";b.editor.cancelFi…
10316document.createElement("input");p.setAttribute("type","checkbox");null!=c&&c.relative&&(p.setAttri…
10317document.createElement("tr");l=document.createElement("td");m=document.createElement("td");mxUtils…
10318document.createElement("td");mxUtils.write(l,mxResources.get("dx")+":");var u=document.createEleme…
10319document.createElement("tr");l=document.createElement("td");m=document.createElement("td");mxUtils…
10320 document.createElement("td");mxUtils.write(l,mxResources.get("height")+":");var A=document.createEl…
10323document.createElement("div");k.style.marginTop="20px";k.style.textAlign="right";b.editor.cancelFi…
10325 …O}J>D?(D=Math.round(100*D/J),J=100):(J=Math.round(100*J/D),D=100);var E=document.createElement("di…
10326document.createElement("img");z.setAttribute("src",y.convert(c));z.style.width=J+"px";z.style.heig…
10328 …onsume(b)})})(E,c,k);E.appendChild(F);E.style.marginBottom="30px";var I=document.createElement("di…
10329 …vent.consume(b)});L=function(c){if(mxClient.IS_IOS||mxClient.IS_FF||!(null==document.documentMode||
10330 9<document.documentMode)){var f=new FilenameDialog(b,G.title||"",mxResources.get("ok"),function(b){…
10331 "user-select","text");I.focus();document.execCommand("selectAll",!1,null);B=function(){I.removeAttr…
10335 …lTop=u.scrollHeight})}c.stopPropagation();c.preventDefault()}var p=[];d=document.createElement("di…
10336document.createElement("div");q.style.whiteSpace="nowrap";q.style.height="40px";d.appendChild(q);m…
10337document.documentMode?t.select():document.execCommand("selectAll",!1,null)};q.appendChild(t);var u…
10341 …ener(v,"dragover",l);mxEvent.addListener(v,"drop",m);d.appendChild(u);c=document.createElement("di…
10342 …ry||(q=mxUtils.button(mxResources.get("link"),function(){b.spinner.spin(document.body,mxResources.…
10344document,"_blank")});q.setAttribute("id","btnDownload");q.className="geBtn";c.appendChild(q);if(Gr…
10345 …file",G.value="")});u.scrollTop=u.scrollHeight});G.style.display="none";document.body.appendChild(…
10347 …var k,n,f=document.createElement("table"),l=document.createElement("tbody");f.style.cellPadding="4…
10348document.createElement("tr");n=document.createElement("td");var m=document.createElement("textarea…
10349 …g,20/g-d.x,20/g-d.y);k.appendChild(n);l.appendChild(k);k=document.createElement("tr");n=document.c…
10352 …ustomDialog=function(b,e,d,c,g,k,n,f,l,m){var p=document.createElement("div");p.appendChild(e);e=d…
10356 …;f(p)}))}else f(p)}function g(d,e,l){if(null!=d&&mxUtils.isAncestorNode(document.body,f)&&(d=mxUti…
10357document.documentElement.clientWidth||document.body.clientWidth)-80,1E3),Math.min((window.innerHei…
10362document.createElement("table");m.className="geTempDlgDiagramsListGrid";var g=document.createEleme…
10364document.createElement("tr"),t=document.createElement("td"),v=document.createElement("img");v.src=…
10365document.createElement("td");t.innerHTML=n;u.appendChild(t);t=document.createElement("td");t.inner…
10366 …ileActive",c[g]));n=document.createElement("div");n.className="geTempDlgDiagramTileImg geTempDlgDi…
10367 …ppendChild(n);n=document.createElement("div");n.className="geTempDlgDiagramTileLbl";n.innerHTML=nu…
10368document.createElement("div"),l.className="geTempDlgImportCat",l.innerHTML=mxResources.get(x,null,…
10369document.createElement("div");p.className="geTempDlgNewDiagramCatItemImg";var k=document.createEle…
10370document.createElement("div");m.className="geTempDlgNewDiagramCatItem";g=mxResources.get("showAllT…
10373document.createElement("div");f.style.cssText="font-weight: bold;background: #f9f9f9;padding: 5px …
10374document.createElement(p?"ul":"div"),g=b[m],g=d(m,g);if(null!=p){var q=document.createElement("li"…
10384 …class="geTempDlgCancelBtn">'+mxResources.get("cancel")+"</div></div>",K=document.createElement("di…
10392document.createElement("div");g.style.textAlign="center";var k=document.createElement("p");k.style…
10393 …=mxResources.get("trello"),f.src=IMAGE_PATH+"/trello-logo-white.svg");b=document.createElement("p"…
10394 …de&&B.click()}var n,f,l,m=document.createElement("table"),p=document.createElement("tbody");m.styl…
10395document.createElement("td");f.colSpan=2;f.style.whiteSpace="nowrap";f.style.fontSize="10pt";f.sty…
10396document.createElement("tr");f=document.createElement("td");f.style.whiteSpace="nowrap";f.style.fo…
10397document.createElement("tr");f=document.createElement("td");f.colSpan=2;f.style.whiteSpace="nowrap…
10398 …"),f.appendChild(l));n.appendChild(f);p.appendChild(n);n=document.createElement("tr");f=document.c…
10399document.createElement("input");"g"==c&&v.setAttribute("value",e);v.style.marginLeft="4px";v.style…
10400document.createElement("label");l.setAttribute("for","fontdialog-webfonts");mxUtils.write(l,mxReso…
10401document.createElement("input");"w"==c&&(Editor.enableWebFonts?A.setAttribute("value",e):t.setAttr…
10402 document.createElement("td");f.style.whiteSpace="nowrap";f.style.fontSize="10pt";f.style.width="120…
10403 …xClient.IS_FF||5<=document.documentMode?b.select():document.execCommand("selectAll",!1,null)};n=do…
10407document.createElement("div");var k=document.createElement("h5");k.style.margin="0 0 10px";mxUtils…
10408 e.appendChild(k);this.pagesContainer=d;this.layersContainer=k;this.ui=b;d=document.createElement("d…
10412 AspectDialog.prototype.createPageItem=function(b,e,d){var c=document.createElement("div");c.classNa…
10414 …vertValueToString(b)||mxResources.get("background")||"Background";var g=document.createElement("di…
10416document.createElement("table"),g=document.createElement("tbody");c.style.width="100%";c.style.mar…
10417document.createElement("input");l.setAttribute("value",100*n+"%");l.style.marginLeft="4px";l.style…
10418document.createElement("input");m.setAttribute("value",f);m.style.marginLeft="4px";m.style.width="…
10419document.createElement("tr");d=document.createElement("td");d.style.whiteSpace="nowrap";d.style.fo…
10420document.createElement("td");d.style.whiteSpace="nowrap";d.appendChild(p);e.appendChild(d);g.appen…
10497 …(StyleFormatPanel.prototype.defaultColorSchemes));if(null!=b.css){var f=document.createElement("st…
10498 f.appendChild(document.createTextNode(b.css));var d=document.getElementsByTagName("script")[0];d.pa…
10503document.getElementsByTagName("script")[0];if(null!=c&&null!=c.parentNode){var f=document.createEl…
10516document.getElementsByTagName("script");if(null!=f&&0<f.length){var e=document.createElement("scri…
10521 if(f)try{var b=document.createElement("canvas"),l=b.getContext("2d");b.height=e.height;b.width=e.wi…
10525 …=b.getStatus()){if(null!=c){var d=b.getText();if(p){if((9==document.documentMode||10==document.doc…
10526 …;var d=null!=b?b.lastIndexOf("/"):-1;0<=d&&(b=b.substring(0,d+1));var d=document.getElementsByTagN…
10532 …on(b){b=b.getElementsByTagName("defs");if(null!=b&&0<b.length)for(var c=document.getElementsByTagN…
10535 …function(){y.drawImage(d,0,0);b(p,f)},0):(y.drawImage(d,0,0),b(p,f))},p=document.createElement("ca…
10550 …t",min:0,defVal:mxConstants.LINE_ARCSIZE}];mxCellRenderer.defaultShapes.document.prototype.customP… class in mxCellRenderer.defaultShapes
10575 …ht=c.offsetHeight-(d?4:0)+"px";f.style.zIndex=5}function l(b,c,f){var e=document.createElement("di…
10578document.createElement("div")}function p(b,c,f){var e=document.createElement("input");e.type="chec…
10579document.createElement("td");B.className="gePropRowCell";y=mxResources.get(y,null,y);mxUtils.write…
10580 …mxUtils.bind(q,function(){var l=document.createElement("select");e(B,l);for(var m=0;m<A.length;m++…
10581 …B.appendChild(g(c,f,k.subType,k.subDefVal,k.size,v,n)):"readOnly"==u?(n=document.createElement("in…
10582 …max);b=mxUtils.htmlEntities(("int"==u?parseInt(b):b)+"");d(c,b,k)}var m=document.createElement("in…
10584document.createElement("table");y.className="geProperties";y.style.whiteSpace="nowrap";y.style.wid…
10585 …rtiesCollapsed=!q.editorUi.propertiesCollapsed;A()});u.appendChild(v);v=document.createElement("th…
10588 …",function(){b.style.opacity="0.5"})}var f=this.editorUi.editor.graph,d=document.createElement("di…
10589document.createElement("div");l.style.whiteSpace="nowrap";l.style.position="relative";l.style.text…
10595 null!=b.gradient?mxClient.IS_IE&&10>document.documentMode?c.style.filter="progid:DXImageTransform.M…
10598 28:8,t=document.createElement("div");t.style.cssText="position:absolute;left:10px;top:8px;bottom:"+…
10599 …(this.format.currentScheme-1,this.defaultColorSchemes.length))}));var n=document.createElement("di…
10603document.createElement("link"),f.setAttribute("rel","stylesheet"),f.setAttribute("type","text/css"…
10605 e,c=document.getElementsByTagName("head")[0],null!=f&&("link"==e.elt.nodeName.toLowerCase()?(e.elt.…
10612 …e();d();m.refresh()}function l(b,f){k.innerHTML="";if(0<b.length){var l=document.createElement("ta…
10613document.createElement("tbody");if(null!=b&&0<b.length)for(var q=0;q<b.length;q++)(function(b){var…
10614 …gs.splice(f,1),d(),m.refresh());mxEvent.consume(c)});k.appendChild(q);q=document.createElement("td…
10615 …icalAlign="middle";q.style.cursor="pointer";q.setAttribute("title",b);a=document.createElement("a"…
10616document.createElement("td");q.style.verticalAlign="middle";q.style.textAlign="center";q.style.wid…
10617 …ot()),[b]);m.refresh();mxEvent.consume(c)});q.appendChild(t)}else{var n=document.createElement("in…
10618 …e(),p=document.createElement("div");p.style.userSelect="none";p.style.overflow="hidden";p.style.pa…
10621 n);m.model.addListener(mxEvent.CHANGE,n);m.addListener(mxEvent.REFRESH,n);var y=document.createElem…
10622 …rl})}return b};Graph.prototype.setFont=function(b,c){Graph.addFont(b,c);document.execCommand("font…
10629 …intNode),this.webKitForceRepaintNode=null):(this.webKitForceRepaintNode=document.createElement("di…
10637 …LinkForCell(c,this.updateCustomLink(b,f));if(this.isHtmlLabel(c)){var d=document.createElement("di…
10669 …Url(x)?f.wnd.document.writeln('<link rel="stylesheet" href="'+mxUtils.htmlEntities(x)+'" charset="…
10670 f.wnd.document.writeln('@font-face {\nfont-family: "'+mxUtils.htmlEntities(y)+'";\nsrc: url("'+mxUt…
10672 …:"pagecount"==c?null!=b.pages?b.pages.length:1:z.apply(this,arguments)};document.body.appendChild(…
10673document,c&&(t.wnd.IMMEDIATE_PRINT=!0),k.writeln('<script type="text/javascript" src="'+DRAWIO_BAS…
10674document.createElement("div");k.style.cssText="border-bottom:1px solid lightGray;padding-bottom:12…
10675document.createElement("span");mxUtils.write(m,mxResources.get("pages")+":");k.appendChild(m);var …
10677document.createElement("div");u.style.marginBottom="10px";var v=document.createElement("input");v.…
10678document.createElement("div");m.style.cssText="display:inline-block;height:100%;vertical-align:top…
10679document.createElement("input");H.style.cssText="margin:0 8px 0 8px;";H.setAttribute("value","1");…
10680document.createElement("span");mxUtils.write(m,mxResources.get("fitToSheetsDown"));G.appendChild(m…
10681 document.createElement("div");m.style.fontWeight="bold";m.style.marginBottom="12px";mxUtils.write(m…
10682 K.setAttribute("value","100 %");K.style.width="60px";k.appendChild(K);l.appendChild(k);m=document.c…
10685 …=!this.shadowVisible)};Editor.prototype.useCanvasForExport=!1;try{var Q=document.createElement("ca…
10698 …ry{var b=document.createElement("canvas");EditorUi.prototype.canvasSupported=!(!b.getContext||!b.g…
10699 …www.w3.org/1999/xhtml"></div></foreignObject></svg>')))}catch(q){}try{c=document.createElement("ca…
10702 …&&(f&&(c=Math.max(document.body.clientHeight||0,document.documentElement.clientHeight||0)/2,b=docu…
10725 …")}):!b&&c.invalidChecksum?c.handleFileError(null,!0):this.spinner.spin(document.body,mxResources.…
10727 …{return"page"==b?p.getName():"pagenumber"==b?1:m.apply(this,arguments)};document.body.appendChild(…
10739 b||!this.spinner.spin(document.body,mxResources.get("export")))"xmlpng"==b?l=f+".png":"jpeg"==b&&(l…
10756 …r l=mxUtils.bind(this,function(){null!=urlParams.url&&this.spinner.spin(document.body,mxResources.…
10764 …xUtils.bind(this,function(c,f){0==c.length&&b.isEditable()?(null==l&&(l=document.createElement("di…
10765document.createElement("div");p.style.position="absolute";p.style.right="0px";p.style.top="0px";p.…
10779 (e=document.createElement("span"),e.setAttribute("title",mxResources.get("help")),e.style.cssText="…
10787 "absolute";b.style.overflow="hidden";var c=document.createElement("a");c.className="geTitle";c.styl…
10791 …0;b<c.length;b++){var f=document.createElement("option");mxUtils.write(f,c[b].displayName);f.value…
10792document.createElement("option");mxUtils.write(f,mxResources.get("addAccount"));f.value=c.length;e…
10797 mxSettings.settings["close"+b])){var l=document.createElement("div");l.style.cssText="position:abso…
10798document.createElement("img");f.setAttribute("src",IMAGE_PATH+"/logo.png");f.setAttribute("border"…
10799document.body.appendChild(l);this.bannerShowing=!0;c=document.createElement("div");c.style.cssText…
10803 …ow.Blob&&"undefined"!==typeof window.URL)&&9!=document.documentMode&&8!=document.documentMode&&7!=
10804 …s.showDialog(f.container,620,460,!0,!0,null,null,null,null,!0);f.init();document.execCommand("sele…
10805document.write(b),d.document.close(),d.document.execCommand("SaveAs",!0,c),d.close());else if(mxCl…
10806document.body.appendChild(f);try{window.setTimeout(function(){URL.revokeObjectURL(f.href)},2E4),f.…
10808 …()}else{var m=window.open("about:blank");null==m?mxUtils.popup(b,!0):(m.document.write("<pre>"+mxU…
10809 !1)+"</pre>"),m.document.close())}else f==App.MODE_DEVICE||"download"==f?this.doSaveLocalFile(b,c,d…
10810document?mxUtils.popup(b,!0):("image/svg+xml"!=c||mxClient.IS_SVG?"image/svg+xml"==c?f.document.wr…
10814 …tyle(this.editor.graph.container);this.tagsDialog.style.zIndex=c.zIndex;document.body.appendChild(…
10818 else{this.exportDialog=document.createElement("div");var f=d.getBoundingClientRect();mxUtils.setPre…
10820 …alog.style.padding="10px";var f=this.createImageDataUri(b,null,"png");b=document.createElement("im…
10821 …faultBorder);mxEvent.addListener(this.editor.graph.container,"click",c);document.body.appendChild(…
10823document,"_blank"):this.pickFolder(f,mxUtils.bind(this,function(d){k=null!=k?k:"pdf"==c?"applicati…
10825 …pe.exportSvg=function(b,c,d,e,g,k,n,v,x,A,z,B,y,C){if(this.spinner.spin(document.body,mxResources.…
10828document.createElement("input");f.style.marginRight="8px";f.style.marginTop="16px";f.setAttribute(…
10829document.createElement("select");l.style.width="120px";l.style.marginLeft="8px";l.style.marginRigh…
10832document.createElement("select");d.style.width="100px";d.style.marginLeft="8px";d.style.marginRigh…
10833 …ils.write(e,mxResources.get("openInThisWindow"));d.appendChild(e);c&&(e=document.createElement("op…
10839 …3c/script>')};EditorUi.prototype.showHtmlDialog=function(b,c,d,e){var f=document.createElement("di…
10840document.createElement("h3");mxUtils.write(l,mxResources.get("html"));l.style.cssText="width:100%;…
10841document.createElement("span");mxUtils.write(k,mxResources.get("includeCopyOfMyDiagram"));g.append…
10842 …eckbox(f,mxResources.get("zoom"),!0,null,!0);mxUtils.write(f,":");var y=document.createElement("in…
10844 …;EditorUi.prototype.showPublishLinkDialog=function(b,c,d,e,g,k,n){var f=document.createElement("di…
10845document.createElement("h3");mxUtils.write(l,b||mxResources.get("link"));l.style.cssText="width:10…
10846document.createElement("div");p.style.whiteSpace="normal";mxUtils.write(p,mxResources.get("linkAcc…
10847document.body,mxResources.get("loading"))&&this.getPublicUrl(this.getCurrentFile(),mxUtils.bind(th…
10848 …100%",f.appendChild(q),mxUtils.write(f,mxResources.get("height")+":"),t=document.createElement("in…
10851document.documentMode?q.select():document.execCommand("selectAll",!1,null)):u.focus()};EditorUi.pr…
10852document.createElement("input");m.setAttribute("type","text");m.style.marginRight="16px";m.style.w…
10854 …ncludeDiagram;var f=document.createElement("div");f.style.whiteSpace="nowrap";var l=this.editor.gr…
10855document.createElement("input");q.setAttribute("type","text");q.style.marginRight="16px";q.style.w…
10856document.createElement("input");E.style.marginTop="16px";E.style.marginRight="8px";E.style.marginL…
10857 document.createElement("option");mxUtils.write(H,mxResources.get(b[p]));H.setAttribute("value",b[p]…
10859 …Visible),Q=document.createElement("input");Q.style.marginTop="16px";Q.style.marginRight="8px";Q.se…
10860 …var J=document.createElement("select");J.style.maxWidth="260px";J.style.marginLeft="8px";J.style.m…
10861 …);c=document.createElement("option");c.setAttribute("value","blank");mxUtils.write(c,mxResources.g…
10862 …=document.documentMode?q.select():document.execCommand("selectAll",!1,null)};EditorUi.prototype.sh…
10863 if(null!=c){var m=document.createElement("h3");mxUtils.write(m,c);m.style.cssText="width:100%;text-…
10874 …this.createTemporaryGraph(l?f.getDefaultStylesheet():f.getStylesheet()),document.body.appendChild(…
10876 arguments)};document.body.appendChild(f.container);f.model.setRoot(p.root)}this.editor.exportToCanv…
10879 …ction(b,c,d,e,g,k,n,v,x,A,z,B,y){x=null!=x?x:"png";if(this.spinner.spin(document.body,mxResources.…
10884 …f].root)};EditorUi.prototype.updatePageLinksForCell=function(b,c){var f=document.createElement("di…
11538 !this.editor.editable||this.addFileDropHandler([document]);if(null!=App.DrawPlugins){for(b=0;b<App.…
11545document.cookie.split(";"),d=0;d<e.length;d++){var c=mxUtils.trim(e[d]);if("MODE="==c.substring(0,…
11546 …ow.DriveClient&&("0"!=urlParams.gapi&&isSvgBrowser&&(null==document.documentMode||10<=document.doc…
11547 …dow.DropboxClient&&("0"!=urlParams.db&&isSvgBrowser&&(null==document.documentMode||9<document.docu…
11548 …&(null==navigator.userAgent||0>navigator.userAgent.indexOf("MSIE")||10<=document.documentMode)?App…
11549 …"1"==urlParams.tr&&isSvgBrowser&&!mxClient.IS_IE11&&(null==document.documentMode||10<=document.doc…
11551 …rlParams.db||"1"==urlParams.embed&&"1"==urlParams.db)&&isSvgBrowser&&(null==document.documentMode||
11552 9<document.documentMode))mxscript(App.DROPBOX_URL,function(){mxscript(App.DROPINS_URL,function(){Dr…
11553document.documentMode)?mxscript(App.ONEDRIVE_URL,window.DrawOneDriveClientCallback):"undefined"===…
11557document.getElementById("geStatus");null!=b&&(b.innerHTML="Error loading page. <a>Please try refre…
11560document.body.innerHTML='<div style="margin-top:10%;text-align:center;">Stand-alone mode not allow…
11561 null!=CryptoJS&&App.mode!=App.MODE_DROPBOX&&App.mode!=App.MODE_TRELLO){g=document.getElementsByTagN…
11565 …"1"==urlParams.gapi)&&isSvgBrowser&&isLocalStorage&&(null==document.documentMode||10<=document.doc…
11581 …Utils.bind(this,this.descriptorChanged);this.gitHub=mxClient.IS_IE&&10!=document.documentMode&&!mx…
11582 …s://github.com/apps/draw-io-app")}))}));this.gitLab=mxClient.IS_IE&&10!=document.documentMode&&!mx…
11587 …ck=c)});c()}if("1"!=urlParams.embed){if(this.bg=this.createBackground(),document.body.appendChild(…
11591 "0px");this.updateHeader();null!=this.menubar&&(this.buttonContainer=document.createElement("div"),…
11592 document.createElement("img"),this.icon.setAttribute("src",IMAGE_PATH+"/logo-flat-small.png"),this.…
11600 …xSettings.settings&&null!=mxSettings.settings.closeratingFooter)){var b=document.createElement("di…
11601document.createElement("img");e.setAttribute("src",Dialog.prototype.closeImage);e.setAttribute("ti…
11603 b.appendChild(d);var c=document.createElement("img");c.setAttribute("border","0");c.setAttribute("a…
11604 b.appendChild(c);var g=document.createElement("img");g.setAttribute("border","0");g.setAttribute("a…
11605 b.appendChild(g);var k=document.createElement("img");k.setAttribute("border","0");k.setAttribute("a…
11614 …ull!=e.getTitle()?e.getTitle():this.defaultFilename)+" - "+b);document.title!=b&&(document.title=b…
11616 …Name():"pagenumber"==b?1:m.apply(this,arguments)};n.getGlobalVariable=m;document.body.appendChild(…
11617 …),d=!0;else if(this.canvasSupported&&null!=this.getCurrentFile()){var q=document.createElement("ca…
11622 …undefined"!=typeof Storage){var g=new Date;g.setYear(g.getFullYear()+1);document.cookie="MODE="+e+…
11626 …undefined"!=typeof Storage){var b=new Date;b.setYear(b.getFullYear()-1);document.cookie="MODE=; ex…
11629 App.prototype.load=function(){if("1"!=urlParams.embed){if(this.spinner.spin(document.body,mxResourc…
11631 …ar b=this.getCurrentFile();null!=b&&b.setModified(!1);this.spinner.spin(document.body,mxResources.…
11633document.createElement("div");e.className="geAlert";e.style.zIndex=2E9;e.style.left="50%";e.style.…
11634 …{null!=e.parentNode&&(e.parentNode.removeChild(e),mxEvent.consume(b))});document.body.appendChild(…
11638 …rrentFile();null!=d&&d.getHash()==c||this.loadFile(c,!0)}catch(l){null!=document.body&&this.handle…
11641 …ndow.opener&&null!=window.opener.openFile}catch(l){}d?this.spinner.spin(document.body,mxResources.…
11643 this.spinner.spin(document.body,mxResources.get("loading"))){var c=mxUtils.bind(this,function(){thi…
11655document.createElement("div");d.setAttribute("title",mxResources.get("language"));d.className="geI…
11662 …en(mxUtils.bind(this,function(b){null!=b&&0<b.length&&this.spinner.spin(document.body,mxResources.…
11663document.createElement("input");d.setAttribute("type","file");mxEvent.addListener(d,"change",mxUti…
11668document.body,mxResources.get("loading"))&&e.getLibrary(b,mxUtils.bind(this,function(b){this.spinn…
11669 …files[b]);d.type="";d.type="file";d.value=""}}));d.style.display="none";document.body.appendChild(…
11672 …his,function(d){c==App.MODE_GOOGLE&&null!=this.drive&&this.spinner.spin(document.body,mxResources.…
11673document.body,mxResources.get("inserting"))?this.gitHub.insertLibrary(b,f,mxUtils.bind(this,functi…
11674document.body,mxResources.get("inserting"))?this.notion.insertLibrary(b,f,mxUtils.bind(this,functi…
11675document.body,mxResources.get("inserting"))?this.dropbox.insertLibrary(b,f,mxUtils.bind(this,funct…
11676 …es.get("serviceUnavailableOrBlocked")})}));else if(g||this.spinner.spin(document.body,mxResources.…
11680 ….join(".");f.focus();mxClient.IS_GC||mxClient.IS_FF||5<=document.documentMode?f.select():document.…
11687 …c,g,k,n,f,l){c=f?null:null!=c?c:this.mode;if(null!=b&&this.spinner.spin(document.body,mxResources.…
11691 …b.getMode()!=App.MODE_DEVICE&&(k+="#"+b.getHash());if(this.spinner.spin(document.body,mxResources.…
11692 (m=this.createTemporaryGraph(this.editor.graph.getStylesheet()),document.body.appendChild(m.contain…
11695 …is.editor.setStatus(""),this.fileLoaded(null);else if(this.spinner.spin(document.body,mxResources.…
11700 ….getHash());null!=c&&c()}));return!0}return!1});!b()&&this.spinner.spin(document.body,mxResources.…
11714 (this.commentButton=document.createElement("a"),this.commentButton.setAttribute("title",mxResources…
11716 …ion(urlParams.notif):(null!=b?null==this.shareButton&&(this.shareButton=document.createElement("di…
11717 …ight",this.shareButton.setAttribute("title",mxResources.get("share")),b=document.createElement("im…
11721document.querySelector(".geNotification-count");null!=c&&(c.innerHTML=b,c.style.display=0==b?"none…
11722 …e,b[0].timestamp)});if(null==this.notificationBtn){this.notificationBtn=document.createElement("di…
11723document.createElement("span");c.className="geNotification-count";this.notificationBtn.appendChild…
11724document.createElement("span");g.className="geBell-bottom";c.appendChild(g);g=document.createEleme…
11725document.createElement("span");c.className="title";c.textContent=mxResources.get("notifications");…
11726document.querySelector(".notifications").scrollTop=0;var b=this.notificationBtn.getBoundingClientR…
11727 …"line"></div>';for(g=0;g<b.length;g++)(function(b,c){c.isNew&&f++;var d=document.createElement("di…
11729 App.prototype.save=function(b,e){var d=this.getCurrentFile();if(null!=d&&this.spinner.spin(document
11732document.body,mxResources.get("saving"))&&this.dropbox.insertFile(e,c?this.base64ToBlob(b,d):b,mxU…
11733document.body,mxResources.get("saving"))&&this.oneDrive.insertFile(e,c?this.base64ToBlob(b,d):b,mx…
11734document.body,mxResources.get("saving"))&&this.gitLab.insertFile(e,b,mxUtils.bind(this,function(){…
11744 App.prototype.updateHeader=function(){if(null!=this.menubar){this.appIcon=document.createElement("a…
11750document.createElement("div");this.fnameWrapper.style.position="absolute";this.fnameWrapper.style.…
11752 …-box",this.menubar.container.style.top="34px");this.toggleFormatElement=document.createElement("a"…
11755 …"});this.addListener("formatWidthChanged",e);e();this.fullscreenElement=document.createElement("a"…
11758 …Mode=!c;mxEvent.consume(b)}));"1"!=urlParams.embed&&(this.toggleElement=document.createElement("a"…
11765 …&&this.trello.isAuthorized()){null==this.userElement&&(this.userElement=document.createElement("a"…
11767 …nt,"click",mxUtils.bind(this,function(b){if(null==this.userPanel){var d=document.createElement("di…
11768 …removeChild(this.userPanel);else{var c=!1;this.userPanel.innerHTML="";d=document.createElement("im…
11769document.body,c),this.fileLoaded(null),window.setTimeout(mxUtils.bind(this,function(){this.spinner…
11770document.createElement("img");f.setAttribute("width","50");f.setAttribute("height","50");f.setAttr…
11771document.createElement("small"),f.style.color="gray",mxUtils.write(f,b.email),d.appendChild(f));f=
11772 …rces.get("closingFile")+"...");mxEvent.consume(c)})));return c}),c=!0,n=document.createElement("ta…
11773 0;f<e.length;f++)n.appendChild(d(e[f]));this.userPanel.appendChild(n);d=document.createElement("div…
11775document.createElement("hr"));c=!0;var g=document.createElement("table");g.style.borderSpacing="0"…
11776 document.createElement("img");n.setAttribute("width","40");n.setAttribute("height","40");n.setAttri…
11777document.createElement("div"),b.style.marginTop="4px",d=document.createElement("i"),mxUtils.write(…
11783document.createElement("div"),d.style.textAlign="center",d.style.padding="10px",d.innerHTML=mxReso…
11785 …his.userPanel.appendChild(d));document.body.appendChild(this.userPanel)}mxEvent.consume(b)})),mxEv…
11789 …=Math.max(document.body.clientHeight,document.documentElement.clientHeight)-10+"px"};Menus.prototy…
11790 var d=document.createElement("img");mxUtils.setOpacity(d,50);d.style.height="16px";d.style.width="1…
11791 …==urlParams.gapi)&&mxClient.IS_SVG&&isLocalStorage&&(null==document.documentMode||10<=document.doc…
11792document.documentMode||9<document.documentMode),l=("www.draw.io"==window.location.hostname||"test.…
11799document.documentMode);p.setToggleAction(!0);p.setSelectedCallback(function(){return null!=c.ruler…
11800document.fullscreenElement});c.actions.addAction("properties...",function(){var b=new FileProperti…
11801 …"...",function(){var b=document.createElement("div");b.style.whiteSpace="nowrap";var d=null==c.pag…
11803 …n(mxResources.get("formatHtmlEmbedded")+"...",function(){c.spinner.spin(document.body,mxResources.…
11805 …ar b=null==c.pages||1>=c.pages.length,d=document.createElement("div");d.style.whiteSpace="nowrap";…
11806 …0),p=c.addRadiobox(d,"pages",mxResources.get("pages")+":",!1,null,!0),q=document.createElement("in…
11807 …);q.setAttribute("min","1");q.style.width="50px";d.appendChild(q);var t=document.createElement("sp…
11812 …ionHistory...",function(){c.isRevisionHistorySupported()?c.spinner.spin(document.body,mxResources.…
11824 …this,function(){null==this.tagsWindow?(this.tagsWindow=new TagsWindow(c,document.body.offsetWidth-…
11826 "Window";if(null==this[k]){var l=e?"min"==uiTheme?330:300:240;this[k]=new FindWindow(c,document.bod…
11827 ….length;if(b)c.exportVisio();else{var d=document.createElement("div");d.style.whiteSpace="nowrap";…
11833 …iTheme?"2px":"0px";EditorUi.isElectronApp&&(d.style.right="95px");var e=document.createElement("di…
11834 …e||"dark"==uiTheme)d.style.opacity="0.85",d.style.filter="invert(100%)";document.body.appendChild(…
11836 typeof mxOrgChartLayout||c.loadingOrgChart||c.isOffline(!0)?k():c.spinner.spin(document.body,mxReso…
11837document.createElement("div"),m=document.createElement("div");m.style.marginTop="6px";m.style.disp…
11838document.createElement("option");mxUtils.write(y,m[p]);y.value=p;2==p&&y.setAttribute("selected","…
11839document.createElement("input");q.type="number";q.value=e;q.style.width="200px";q.style.boxSizing=…
11840 var t=document.createElement("input");t.type="number";t.value=f;t.style.width="200px";t.style.boxSi…
11841 …itor.isDarkMode()?"#505759":"whiteSmoke";e.style.cursor="default";var f=document.createElement("in…
11843 …ld.nextSibling.appendChild(f);mxEvent.addGestureListeners(f,function(b){document.activeElement!=f&…
11856 …tml",new Action(mxResources.get("html")+"...",function(){c.spinner.spin(document.body,mxResources.…
11857document;if(null!=f){"CSS1Compat"===document.compatMode&&f.writeln("<!DOCTYPE html>");f.writeln("<…
11858document.createElement("img");g.setAttribute("src",window.location.protocol+"//"+window.location.h…
11859 …e image...",function(){var b=c.getCurrentFile();null!=b&&c.spinner.spin(document.body,mxResources.…
11860 …,function(){c.showEmbedImageDialog(function(b,d,e,f,g,k){c.spinner.spin(document.body,mxResources.…
11861 "...",function(){c.showEmbedImageDialog(function(b,d,e,f,g,k){c.spinner.spin(document.body,mxResour…
11862 …eil(b.height/g.view.scale)+2,function(b,d,e,f,g,k,l,m,n){c.spinner.spin(document.body,mxResources.…
11863 …get("notion"),null,null,null,function(b,d,e,f,g,k,l,m,n){c.spinner.spin(document.body,mxResources.…
11864 null,null,null,function(b,d,e,f,g,k,l,m,n){c.spinner.spin(document.body,mxResources.get("loading"))…
11865 …w.io")});c.actions.addAction("googleSites...",function(){c.spinner.spin(document.body,mxResources.…
11870 …(mxUtils.bind(this,function(b,d){function e(b){b.pickFile(function(d){c.spinner.spin(document.body,
11877 …ources.get("import"),function(b){if(null!=b&&0<b.length&&c.spinner.spin(document.body,mxResources.…
11882 b.getTitle()&&this.editorUi.spinner.spin(document.body,mxResources.get("renaming"))&&b.rename(c,mxU…
11884 null!=d&&0<d.length&&(e==App.MODE_GOOGLE?c.spinner.spin(document.body,mxResources.get("saving"))&&b…
11886 function(d){c.spinner.spin(document.body,mxResources.get("moving"))&&b.move(d,mxUtils.bind(this,fun…
11907 b&&0<b.length&&c.spinner.spin(document.body,mxResources.get("loading"))){var d=b;c.editor.isCorsEna…
11909 …){if(null==this.commentsWindow)this.commentsWindow=new CommentsWindow(c,document.body.offsetWidth-…
11912 … ruler - grid guides".split(" "),d);mxClient.IS_SVG&&(null==document.documentMode||9<document.docu…
11922 …reviousExtFonts;for(var c=b.extFonts,d=0;null!=c&&d<c.length;d++){var e=document.getElementById("e…
11923 …null]:[f],null,e,function(){"1"!=urlParams["ext-fonts"]?n.setFont(f,g):(document.execCommand("font…
11924 …ement(b,"div")});"1"==urlParams["ext-fonts"]&&n.addExtFont(f,g)});k&&(k=document.createElement("sp…
11932 …(e=decodeURIComponent(e.substr((PROXY_URL+"?url=").length)));var g=null;document.activeElement==b.…
11944 …enumber"==b?k+1:"page"==b&&null!=e?e.getName():c.apply(this,arguments)};document.body.appendChild(…
11945 …l,null,null,null,null,null,null,null,null,null,!0);d=g.getGraphBounds();document.body.removeChild(…
11960 …extFonts=b.extFonts||[];if(e&&null!=d)for(var c=0;c<d.length;c++){var g=document.getElementById("e…
11964document.getElementById(c))if(0==e.indexOf(Editor.GOOGLE_FONTS))mxClient.link("stylesheet",e,null,…
11975 …Page(this,b,e))};EditorUi.prototype.createTabContainer=function(){var b=document.createElement("di…
11976 …if(null!=this.tabContainer&&null!=this.pages){var b=this.editor.graph,e=document.createElement("di…
11982 EditorUi.prototype.createTab=function(b){var e=document.createElement("div");e.style.display="inlin…
12051 …0;cusor:pointer;";k.className="geTitle";c.appendChild(k);return k}var e=document.createElement("di…
12052 …braries)e.style.bottom="0";else if(null!=b.actions.get("newLibrary")){e=document.createElement("di…
12053document.createElement("span");g.style.cssText="position:relative;top:6px;";mxUtils.write(g,mxReso…
12056 …ndow.innerWidth||document.documentElement.clientWidth||document.body.clientWidth}catch(y){}var c=f…
12057document.documentElement.clientHeight||document.body.clientHeight;b=Math.max(0,Math.min(b,(window.…
12062document.body,mxResources.get("working")+"...")&&window.setTimeout(mxUtils.bind(this,function(){th…
12064 …yle2";c.graphHandler.previewColor=Editor.isDarkMode()?"#cccccc":"black";document.body.style.backgr…
12067 …innerHTML=Editor.createMinimalCss();Editor.darkMode?null==g.parentNode&&document.getElementsByTagN…
12075 …-width: 100%; }":"")};var k=document.createElement("style");k.type="text/css";k.innerHTML=Editor.c…
12080document.createElement("div");b.style.display="inline-block";b.style.position="relative";b.style.m…
12081 ….get("save").funct()})),b.appendChild(c),"1"==urlParams.saveAndExit&&(c=document.createElement("a"…
12082 …saveAndExit").funct()})),b.appendChild(c));"1"!=urlParams.noExitBtn&&(c=document.createElement("a"…
12089 …apply(this,arguments);if(b){var c=window.innerWidth||document.documentElement.clientWidth||documen…
12106 …Ui.prototype.installFormatToolbar=function(b){var c=this.editor.graph,d=document.createElement("di…
12110 …at",f.style.paddingRight="22px");return f}function f(b,c,d,e,f,g){var k=document.createElement("a"…
12113 b),b());return k}function g(b,c,d){d=document.createElement("div");d.className="geMenuItem";d.style…
12114 …moveChild(b);b=e}q=p.firstChild;d=window.innerWidth||document.documentElement.clientWidth||documen…
12119 …Media&&window.matchMedia("(prefers-color-scheme: dark)").matches);var l=document.createElement("di…
12122 mxResources.get("untitledLibrary");var p=document.createElement("div");p.className="geMenubarContai…
12123 ….editor.getStatus());p.appendChild(m.statusContainer);m.buttonContainer=document.createElement("di…
12124document.createElement("div");m.tabContainer.className="geTabContainer";m.tabContainer.style.cssTe…
12125 …arams.sketch?document.createElement("div"):null,O="1"==urlParams.sketch?document.createElement("di…
12138 …addingRight="0px";m.buttonContainer.style.display="inline-block";var ca=document.createElement("a"…
12149 …lKey+" -/Alt+Mousewheel)",U,Editor.zoomOutImage);N.appendChild(Z);var S=document.createElement("di…
12158 …m.menus.findReplaceWindow.window.fit()});if("1"==urlParams.embedInline){document.body.style.cursor…
12159 mxEvent.getClientY(b)),m.sendEmbeddedSvgExport())});l=document.createElement("div");l.style.positio…
12160 …MenuHandler.hideMenu();mxEvent.consume(b)});mxEvent.addGestureListeners(document.body,null,functio…
12161 ….consume(b);ta=qa=null});this.diagramContainer.style.borderRadius="4px";document.body.style.backgr…
12172 …r:"#fbfbfb",strokeClr:"#dadce0",fontClr:"#BBBBBB",guideClr:"#0000BB"},q=document.createElement("di…
12173 …eClr;q.style.borderLeft="0.5px solid "+p.strokeClr});this.updateStyle();document.body.appendChild(…
12174 function(c){m.editorUiRefresh.apply(b,arguments);g()};g();var t=document.createElement("canvas");t.…
12195 …s.STYLE_STROKECOLOR,"#000"));"default"==m&&(m=b.shapeForegroundColor);c=document.createElementNS("…