Lines Matching refs:get

135get();X.call(t)&&(t.options.update.call(t,n),t.$&&"undefined"==typeof Prototype?t.$(t.element).tri…
136 …=typeof Object.defineProperties?Object.defineProperty:function(d,h,l){if(l.get||l.set)throw new Ty…
212 …ion(a,b){var c=this.gen.path(a,b);return this.draw(c),c}},{key:"generator",get:function(){return t…
217 …ction(a,b){var c=this.gen.path(a,b);return this.draw(c)}},{key:"generator",get:function(){return t…
255 …;mxLog.write(a+"\n")}},mxObjectIdentity={FIELD_NAME:"mxObjectId",counter:0,get:function(a){if(null…
256 …y.prototype.get=function(a){a=mxObjectIdentity.get(a);return this.map[a]};mxDictionary.prototype.p…
257 mxDictionary.prototype.remove=function(a){a=mxObjectIdentity.get(a);var b=this.map[a];delete this.m…
259 …),e=mxResources.getSpecialBundle(a,b),f=function(){if(null!=e)if(c)mxUtils.get(e,function(a){mxRes…
260 c&&c()};if(null!=d)if(c)mxUtils.get(d,function(a){mxResources.parse(a.getText());f()},function(){f(…
261 unescape(c)):mxResources.resources[d]=c}}}},get:function(a,b,c){a=mxResources.resources[a];null==a&… variable
288 …)},load:function(a){a=new mxXmlRequest(a,null,"GET",!1);a.send();return a},get:function(a,b,c,d,e,…
289 …nction(){0==f&&null!=c&&c();f++},k=0;k<a.length;k++)(function(a,c){mxUtils.get(a,function(a){var f…
292 …uplicates:function(a){for(var b=new mxDictionary,c=[],d=0;d<a.length;d++)b.get(a[d])||(c.push(a[d]…
312 ….sort(function(a,e){var d=c.get(a);null==d&&(d=mxCellPath.create(a).split(mxCellPath.PATH_SEPARATO…
329 …ight||document.documentElement.clientHeight;var g=new mxWindow(mxResources.get(mxUtils.errorResour…
330 …ddListener(c,"click",function(a){g.destroy()}),mxUtils.write(c,mxResources.get(mxUtils.closeResour…
355 …t",function(){},Object.defineProperty&&Object.defineProperty({},"passive",{get:function(){a=!0}}))…
412 …es.get("ok")||"OK");d.appendChild(e);mxEvent.addListener(e,"click",function(){a()});e=document.cre…
651 …("localized");if(mxStencil.defaultLocalized&&null==a||"1"==a)b=mxResources.get(b);return b};mxSten…
777 …n(a,b,c,d,e){if(null!=c&&null!=a&&(b=null!=b?b:!0,e=e||new mxDictionary,!e.get(a)&&(e.put(a,!0),d=…
811 …==a),g=c.get(d);null==g&&(g=mxCellPath.create(d).split(mxCellPath.PATH_SEPARATOR),c.put(d,g));var …
838 …){var g=this.vertexArray[d];this.cellLocation[d]=[];var k=mxObjectIdentity.get(g);this.indices[k]=…
839 …disableEdgeStyle&&this.setEdgeStyleEnabled(r[m],!1);var k=mxObjectIdentity.get(c[m]),t=this.indice…
851 …leTerminal(a,!1),d="";if(null!=c&&null!=b){c=mxObjectIdentity.get(c);b=mxObjectIdentity.get(b);if(…
861 …ctHierarchyCell.apply(this,arguments);this.cell=a;this.id=mxObjectIdentity.get(a);this.connectsAsT…
865 …es=a;this.ids=[];for(var b=0;b<a.length;b++)this.ids.push(mxObjectIdentity.get(a[b]))}mxGraphHiera…
870 …s;if(null!=k&&0<k.length){var k=k[0],l=a.getVisibleTerminal(k,!1),l=this.vertexMapper.get(l);c[d]==
871 l&&(l=a.getVisibleTerminal(k,!0),l=this.vertexMapper.get(l));null!=l&&c[d]!=l&&(g.target=l,0==l.con…
873 …a.getEdgesBetween(b[e],k,!0);if(null!=l&&0<l.length&&null==this.edgeMapper.get(l[0])&&2*k.length>=…
875 …l!=this.roots)for(var b=0;b<this.roots.length;b++){var c=this.vertexMapper.get(this.roots[b]);null…
877 …oots)for(var d=this.roots,c=[],b=0;b<d.length;b++){var e=this.vertexMapper.get(d[b]);c[b]=e}this.v…
881 …ull!=k&&0<k.length){var k=k[0],l=a.getVisibleTerminal(k,!1),l=this.vertexMapper.get(l);c[d]==l&&(l=
882 a.getVisibleTerminal(k,!0),l=this.vertexMapper.get(l));null!=l&&c[d]!=l&&(g.target=l,0==l.connectsA…
885 l=a.getEdgesBetween(b[f],l,!0);if(null!=m&&0<m.length&&null==this.edgeMapper.get(m[0])&&2*l.length>…
886 …l!=this.roots)for(var c=0;c<this.roots.length;c++){var d=this.vertexMapper.get(this.roots[c]);this…
889 …oots)for(var d=this.roots,c=[],b=0;b<d.length;b++){var e=this.vertexMapper.get(d[b]);c[b]=e}this.v…
905 …ull!=a.roots)for(var f=a.roots,c=[],e=0;e<f.length;e++)c[e]=a.vertexMapper.get(f[e]);a.visit(funct…
915 …e=0;e<k.length;e++)l=k[e],l=c.get(l),null!=l&&0==l.visited&&(l.visited=!0,b.push(l));for(e=0;e<n.l…
941 …ull!=a.roots)for(var d=a.roots,c=[],e=0;e<d.length;e++)c[e]=a.vertexMapper.get(d[e]);a.visit(funct…
949 mxHierarchicalLayout.prototype.getEdges=function(a){var b=this.edgesCache.get(a);if(null!=b)return …
951 …b){var c=this.edgesTargetTermCache;b&&(c=this.edgeSourceTermCache);var d=c.get(a);if(null!=d)retur…
954 …ertex(a)&&a!=this.parent&&this.graph.isCellVisible(a)&&(b[mxObjectIdentity.get(a)]=a);if(this.trav…
956 …averse=function(a,b,c,d,e,f,g){if(null!=a&&null!=d){var k=mxObjectIdentity.get(a);if(null==d[k]&&(…
968 mxSwimlaneLayout.prototype.getEdges=function(a){var b=this.edgesCache.get(a);if(null!=b)return b;fo…
970 …b){var c=this.edgesTargetTermCache;b&&(c=this.edgeSourceTermCache);var d=c.get(a);if(null!=d)retur…
973 …etParent(a)!=this.parent&&this.graph.isCellVisible(a)&&(b[mxObjectIdentity.get(a)]=a);if(this.trav…
975 …erse=function(a,b,c,d,e,f,g,k){if(null!=a&&null!=d){var l=mxObjectIdentity.get(a);if(null==d[l]&&(…
997 …d=0;d<a.length;d++){for(var e=a[d],f=!0,g=this.getParent(e);null!=g;){if(b.get(g)){f=!1;break}g=th…
1006 …new mxDictionary,d=0;d<a.length;d++){var e=this.getParent(a[d]);null==e||c.get(e)||(c.put(e,!0),b.…
1007 …xGraphModel.prototype.cloneCellImpl=function(a,b,c){var d=mxObjectIdentity.get(a),e=b[d];if(null==…
1008 …l!=d&&(d=c[mxObjectIdentity.get(d)],null!=d&&d.insertEdge(a,!0));d=this.getTerminal(b,!1);null!=d&…
1074 …ht*a/p);this.graph.cellRenderer.redraw=function(a,b,c){if(null!=a){var d=x.get(a.cell);if(null!=d&…
1100get(this.selectionModel.updatingSelectionResource)||this.selectionModel.updatingSelectionResource;…
1230 …ion(a){var b=mxLog.enter("mxGraphView.validate");window.status=mxResources.get(this.updatingDocume…
1232 …),this.textDiv=null);this.resetValidationState();window.status=mxResources.get(this.doneResource)|…
1276 mxGraphView.prototype.getState=function(a,b){b=b||!1;var c=null;null!=a&&(c=this.states.get(a),b&&(…
1312 …a,b){for(var c=new mxDictionary,d=[],e=mxUtils.bind(this,function(a){if(!c.get(a)&&this.model.cont…
1366get(q);)q=this.model.getParent(q);null==q&&null!=n[0]&&m.setTerminalPoint(new mxPoint(n[0].x/k-l.x…
1373 …++)d.put(a[e],!0);for(e=0;e<c.length;e++)null!=this.view.getState(c[e])||d.get(c[e])||(d.put(c[e],…
1376 …setGeometry(d,g),this.model.setTerminal(d,null,f))}}),k=0;k<f.length;k++)d.get(f[k])||(d.put(f[k],…
1399 …l.put(a[m],!0);for(var n=mxUtils.bind(this,function(a){for(;null!=a;){if(l.get(a))return!0;a=this.…
1410 …l!=f?f.getVisibleTerminal(!1):this.view.getVisibleTerminal(d[e],!1);b.get(g)&&b.get(k)||this.reset…
1427get(p);)p=this.model.getParent(p);null==p&&(f.setTerminalPoint(new mxPoint(n[0].x/b-c.x+l,n[0].y/b…
1455 …etEdgesBetween(b,c,!0);if(1<e.length||1==e.length&&e[0]!=a)d+=(mxResources.get(this.alreadyConnect…
1457 …ng(f,null);c=c&&null==g}d="";this.isCellCollapsed(a)&&!c&&(d+=(mxResources.get(this.containsValida…
1463 …ol.node||(e=this.collapseExpandResource,e=mxUtils.htmlEntities(mxResources.get(e)||e).replace(/\\n…
1504 …leTerminal(a[g],!1);l==b&&null!=k&&k!=b&&d?f.get(k)||(f.put(k,!0),e.push(k)):k==b&&null!=l&&l!=b&&…
1510 …&null!=a&&(b=null!=b?b:!0,f=null!=f?f:!1,e=e||new mxDictionary,null==d||!e.get(d))&&(e.put(d,!0),d…
1558 …f:"n";this.validNeighbors=g;this.countError=mxResources.get(k)||k;this.typeError=mxResources.get(l…
1587 …eState=function(a,b,c,d,e){d=null!=d?d:!0;e=null!=e?e:!0;var f=this.deltas.get(a.cell);null==f?(f=…
1589 …e=d.getGeometry(a.cell);0==b&&0==c||null==e||e.relative&&null==this.deltas.get(a.cell)||(a.x+=b,a.…
1590 …tive||!e.isVertex(a.cell)||null!=g&&!e.isVertex(g.cell)&&null==this.deltas.get(a.cell)||(a.x+=b,a.…
1613get(c)||g.put(c,!0);this.guide.isStateIgnored=mxUtils.bind(this,function(a){var b=this.graph.model…
1614get(a)){b.put(a,c);d++;for(var c=this.graph.model.getChildCount(a),e=0;e<c;e++)d+=this.addStates(t…
1637 this.graph.model.getParent(a[l]);null==m||k.get(m)||(k.put(m,!0),g.push(m))}}a=this.graph.moveCells…
1668 …electionCellsHandler.prototype.getHandler=function(a){return this.handlers.get(a)};mxSelectionCell…
1671 …;c<b.length;c++)d=this.graph.view.getState(b[c]),null!=d&&(e=this.handlers.get(b[c]),null==e?(e=th…
1930 …ode!=this.bends[1].node||(b=this.doubleClickOrientationResource,b=mxResources.get(b)||b);return b};
2047 …s="";this.getOrCreateFilename=function(){return this.filename||mxResources.get("drawing",[Editor.p…
2092 …eEvent(new mxEventObject("resetGraphView"))}else throw{message:mxResources.get("cannotOpenFile"),n…
2103 f.setAttribute("title",mxResources.get("close")),f.className="geDialogClose",f.style.top=x+14+"px",…
2111 …p="12px";d.style.textAlign="center";null!=f&&(b=mxUtils.button(mxResources.get("tryAgain"),functio…
2114 …ppendChild(h);var g=document.createElement("span");mxUtils.write(g," "+mxResources.get("fitPage"));
2115 …dChild(l);g=document.createElement("span");mxUtils.write(g," "+mxResources.get("posterPrint")+":")…
2116 …);c.style.fontSize="10pt";c.appendChild(m);mxUtils.write(c," "+mxResources.get("pages")+" (max)");…
2117 …e.cloneNode(!1);c=document.createElement("td");mxUtils.write(c,mxResources.get("pageScale")+":");e…
2118get("cancel"),function(){a.hideDialog()});g.className="geBtn";a.editor.cancelFirst&&c.appendChild(…
2120 …ction(a,b,d,e,c,f,k){b=new mxPrintPreview(a,b,d,e,c,f);b.title=mxResources.get("preview");b.printB…
2123 …le.verticalAlign="top";f.style.fontSize="10pt";mxUtils.write(f,mxResources.get("paperSize")+":");c…
2124 mxUtils.write(f,mxResources.get("background")+":");c.appendChild(f);f=document.createElement("td");…
2125 …=a;b()});mxEvent.consume(d)});f.appendChild(l);mxUtils.write(f,mxResources.get("gridSize")+":");va…
2126get("image")+":");c.appendChild(f);f=document.createElement("td");var p=document.createElement("bu…
2127 …ingTop="16px";f.setAttribute("align","right");p=mxUtils.button(mxResources.get("cancel"),function(…
2128 …ources.get("apply"),function(){a.hideDialog();var b=parseInt(n.value);isNaN(b)||e.gridSize===b||e.…
2133get("portrait"));g.appendChild(b);k.style.marginLeft="10px";k.style.marginRight="6px";g.appendChil…
2137 …custom"==h.value;E(a,!0)});E();return{set:function(a){d=a;c(null,null,!0)},get:function(){return z…
2140 …0)",format:new mxRectangle(0,0,1200,1600)},{key:"custom",title:mxResources.get("custom"),format:nu…
2141 …style.fontSize="10pt";q.style.width="84px";mxUtils.write(q,(c||mxResources.get("filename"))+":");p…
2144 …",q.style.fontSize="10pt",q.style.width="84px",mxUtils.write(q,mxResources.get("type")+":"),p.appe…
2146get("cancel"),function(){a.hideDialog();null!=l&&l()});m.className="geBtn";a.editor.cancelFirst&&q…
2148 …{e.setAttribute("src",Editor.helpImage);e.setAttribute("title",mxResources.get("help"));for(var a=…
2149get(d[a].title));break}};mxEvent.addListener(b,"keyup",c);mxEvent.addListener(b,"change",c);mxEven…
2151 …ateElement("option");c.setAttribute("value",a);mxUtils.write(c,mxResources.get(d[a].description)+"…
2179 …tainer.clientHeight?this.diagramContainer.setAttribute("title",mxResources.get("panTooltip")):this…
2199 arguments);d.updateActionStates()};a.editLink=d.actions.get("editLink").funct;this.updateActionStat…
2224 …tionStates=function(){var a=this.editor.graph,b=this.actions.get("paste"),d=this.actions.get("past…
2226 …metry(f[p]);null!=u&&u.relative&&!m.isEdge(c[p])&&null==e[mxObjectIdentity.get(m.getParent(c[p]))]…
2233 …ize(!0)}));this.actions.get("zoomIn").funct=mxUtils.bind(this,function(b){a.zoomIn();this.chromele…
2236 …ation.href=c.backBtn.url;mxEvent.consume(a)}),Editor.backImage,mxResources.get("back",null,"Back")…
2237get("previousPage").funct();mxEvent.consume(a)}),Editor.previousImage,mxResources.get("previousPag…
2238 mxEvent.consume(a)}),Editor.nextImage,mxResources.get("nextPage")),m=mxUtils.bind(this,function(){n…
2239get("zoomOut").funct();mxEvent.consume(a)}),Editor.zoomOutImage,mxResources.get("zoomOut")+" (Alt+…
2240 ….chromelessResize(!0);mxEvent.consume(b)}),Editor.zoomFitImage,mxResources.get("fit"));var p=null,…
2244 Editor.layersImage,mxResources.get("layers")),w=a.getModel();w.addListener(mxEvent.CHANGE,function(…
2245get("edit"));if(null!=this.lightboxToolbarActions)for(n=0;n<this.lightboxToolbarActions.length;n++…
2246get("openInNewWindow",null,"Open in New Window"));(c.closeBtn&&window.self===window.top||a.lightbo…
2261 …ils.bind(this,function(a){this.actions.get("print").funct();mxEvent.consume(a)}),Editor.printImage…
2264 …totype.onBeforeUnload=function(){if(this.editor.modified)return mxResources.get("allChangesLost")};
2265 …Filename(b),this.updateDocumentTitle())}catch(e){mxUtils.alert(mxResources.get("invalidOrMissingFi…
2281 ….view.validateBackground(),this.editor.graph.sizeDidChange()):this.actions.get("pageView").funct()…
2282 ….view.validateBackground(),this.editor.graph.sizeDidChange()):this.actions.get("pageView").funct()…
2283 EditorUi.prototype.addUndoListener=function(){var a=this.actions.get("undo"),b=this.actions.get("re…
2286get(k[h]).setEnabled(c);this.actions.get("lockUnlock").setEnabled(!a.isSelectionEmpty());this.acti…
2287get("curved").setEnabled(e);this.actions.get("rotation").setEnabled(b);this.actions.get("wordWrap"…
2288get("collapsible").setEnabled(b&&(a.isContainer(a.getSelectionCell())||0<a.model.getChildCount(a.g…
2289get("editLink").setEnabled(1==f.length);this.actions.get("openLink").setEnabled(1==a.getSelectionC…
2290get("distribute").setEnabled(f&&b&&1<a.getSelectionCount());this.actions.get("selectVertices").set…
2296 …lit=this.createDiv("geHsplit");this.hsplit.setAttribute("title",mxResources.get("collapseExpand"));
2306 …b){c=mxUtils.htmlEntities(mxResources.get("unknownError"));var f=mxResources.get("ok");b=null!=b?b…
2307 …ction(a,b,d,e,c,f,k,h,g,l,m,n,p){a=new ErrorDialog(this,a,b,d||mxResources.get("ok"),e,c,f,k,n,h,g…
2309 …gth;c++){var f=a.isTableCell(b[c])?a.model.getParent(b[c]):b[c];null==f||d.get(f)||(d.put(f,!0),e.…
2322get("save"),mxUtils.bind(this,function(a){this.save(a)}),null,mxUtils.bind(this,function(a){if(nul…
2323 …confirm(mxResources.get("replaceIt",[a])))return;localStorage.setItem(a,b);this.editor.setStatus(m…
2324get("drawingTooLarge"));mxUtils.popup(b);return}this.editor.setModified(!1);this.editor.setFilenam…
2326 …,k.width,k.height)};k.onerror=function(){d(null);mxUtils.alert(mxResources.get("fileNotFound"))};k…
2328get("backgroundImage"),null!=b?b.src:"");null!=d&&0<d.length?(b=new Image,b.onload=function(){a(ne…
2335 …nabled()){if(mxEvent.isShiftDown(a)&&mxEvent.isAltDown(a)){var c=d.actions.get(d.altShiftActions[a…
2337 mxUtils.bind(this,function(a,b,d,e){var f=this.actions.get(d);null!=f&&(d=function(){f.isEnabled()&…
2348 …ntSearchEntryLibrary("arrows");this.addStencilPalette("arrows",mxResources.get("arrows"),a+"/arrow…
2349 …ntSearchEntryLibrary("clipart");this.addImagePalette("clipart",mxResources.get("clipart"),a+"/clip…
2362 …bute("src",Dialog.prototype.closeImage),g.setAttribute("title",mxResources.get("close")),g.style.p…
2375 …){var n=l.entries;a=[];for(var p=0;p<n.length;p++)if(l=n[p],0==h==(null==c.get(l))&&(m.put(l,l),a.…
2378 …c=document.createElement("input");c.setAttribute("placeholder",mxResources.get("searchShapes"));c.…
2379get("search"));f.style.position="relative";f.style.left="-18px";f.style.top="1px";f.style.backgrou…
2380 …te("src",Sidebar.prototype.searchImage),f.setAttribute("title",mxResources.get("search")),g.style.…
2381 …","true");g.style.display="";g.style.cursor="wait";g.innerHTML=mxResources.get("loading")+"...";m=…
2383 …removeAttribute("disabled"),g.innerHTML=mxResources.get("moreResults")):(g.innerHTML=mxResources.g…
2384 …ute("title",mxResources.get("search"))):(f.setAttribute("src",Dialog.prototype.closeImage),f.setAt…
2386 …x;text-align:center;cursor:default !important",mxUtils.write(d,mxResources.get("noResultsFor",[b])…
2405 …Connector with Symbol")}))];this.addPaletteFunctions("general",mxResources.get("general"),null!=a?…
2429 …arrow arrows elbow vertical")];this.addPaletteFunctions("misc",mxResources.get("misc"),null!=a?a:!…
2430 …rary("general","advanced");this.addPaletteFunctions("advanced",mxResources.get("advanced"),null!=a…
2431 …rentSearchEntryLibrary("basic");this.addStencilPalette("basic",mxResources.get("basic"),a+"/basic.…
2451 …rentSearchEntryLibrary("basic");this.addStencilPalette("basic",mxResources.get("basic"),a+"/basic.…
2494get("uml"),a||!1,c);this.setCurrentSearchEntryLibrary()};Sidebar.prototype.createTitle=function(a)…
2522get("connect")),H=f(this.triangleRight,mxResources.get("connect")),C=f(this.triangleDown,mxResourc…
2551 …se if(e=!0,null!=d){a.style.cursor="wait";var f=a.innerHTML;a.innerHTML=mxResources.get("loading")+
2584 …h.isCellSelected(b[e])?b[e]:this.graph.getCompositeParent(b[e]);null==f||c.get(f)||(c.put(f,!0),d.…
2661 …,mxUtils.setOpacity(k,25))}var g=this.convertValueToString(c)||mxResources.get("background")||"Bac…
2662 …Space="nowrap";k.style.cursor="pointer";k.setAttribute("title",mxResources.get(e.isVisible(c)?"hid…
2699get("plusTooltip"),mxConstants.DIRECTION_NORTH);this.arrowRight=this.createArrow(this.triangleRigh…
2720 …ph.tooltipHandler.isEnabled()?(this.arrowLeft.setAttribute("title",mxResources.get("plusTooltip")),
2721 …sources.get("plusTooltip")),this.arrowUp.setAttribute("title",mxResources.get("plusTooltip")),this…
2765 …ment,b,f)}};mxStencilRegistry.loadStencil=function(a,b){if(null!=b)mxUtils.get(a,mxUtils.bind(this…
2777 …){b=null!=b?b:{};for(var c=0;c<a.length;c++){var d=a[c];b[mxObjectIdentity.get(d)]=d.getId();for(v…
2780 …tCellGeometry(c[e]);null!=J&&J.relative&&!this.model.isEdge(a[e])&&null==d.get(this.model.getParen…
2805get(e)||(b.put(e,!0),d.push(e))}for(c=0;c<d.length;c++)if(e=this.view.getState(d[c]),null!=e&&(thi…
2830 …idth*Y,this.backgroundImage.height*Y)));if(null==W)throw Error(mxResources.get("drawingEmpty"));va…
2835 J?J.get(a.cell):c.isCellSelected(a.cell),e=c.model.getParent(a.cell);!(f&&null==J||d)&&null!=e;)d=n…
2879 …CellsHandler.prototype.getHandledSelectionCells=function(){function a(a){c.get(a)||(c.put(a,!0),e.…
2927 null!=this.rotationShape&&this.rotationShape.node.setAttribute("title",mxResources.get("rotateToolt…
2931get("editLink"));d.setAttribute("width","11");d.setAttribute("height","11");d.style.marginLeft="10…
2932 [mxResources.get("link")]),mxUtils.bind(this,function(a){this.graph.setLinkForCell(this.state.cell,…
2975 …his.currentIndex))&&g()}),l=0;if(b.isSelectionEmpty()){mxUtils.write(e,mxResources.get("diagram"));
2977 "none";mxUtils.write(m,mxResources.get("style"));d.appendChild(m);this.panels.push(new DiagramStyle…
2978get("hide")),g.style.position="absolute",g.style.display="block",g.style.right="0px",g.style.top="…
2979 …LeftWidth="0px":(e.style.borderLeftWidth="0px",mxUtils.write(e,mxResources.get("style")),d.appendC…
2980get("text"));d.appendChild(m);e=d.cloneNode(!1);e.style.display="none";this.panels.push(new TextFo…
3012 …tWeight="bold",a.style.padding="10px 0 0 14px",mxUtils.write(a,mxResources.get("style")),this.cont…
3013 …e.marginBottom="8px";c.style.fontWeight="bold";mxUtils.write(c,mxResources.get("table"));a.appendC…
3014 …(g=g.concat([b.toolbar.addButton("geSprite-insertcolumnbefore",mxResources.get("insertColumnBefore…
3015get("insertColumnAfter"),mxUtils.bind(this,function(){try{k?d.insertLane(e.vertices[0],!1):d.inser…
3016get("insertRowAfter"),mxUtils.bind(this,function(){try{k?d.insertLane(e.vertices[0],!1):d.insertTa…
3018get("toFront"),function(a){b.actions.get("toFront").funct()});e.setAttribute("title",mxResources.g…
3019get("bringForward"),function(a){b.actions.get("bringForward").funct()}),e.setAttribute("title",mxR…
3021 …sources.get("group"),function(a){b.actions.get("group").funct()}),k.setAttribute("title",mxResourc…
3022get("ungroup"),function(a){b.actions.get("ungroup").funct()}),k.setAttribute("title",mxResources.g…
3023get("copySize")+" ("+this.editorUi.actions.get("copySize").shortcut+")"),k.style.width="210px",k.s…
3024get("copyData"),function(a){if(mxEvent.isShiftDown(a)){var c=d.getDataForCells(d.getSelectionCells…
3025get("copyData")+" ("+this.editorUi.actions.get("copyData").shortcut+") Shift+Click to Extract Data…
3026get("removeFromGroup"),function(a){b.actions.get("removeFromGroup").funct()}),k.setAttribute("titl…
3027get("clearWaypoints").funct(a)})),k.setAttribute("title",mxResources.get("clearWaypoints")+" ("+th…
3028get("editLink"),mxUtils.bind(this,function(a){this.editorUi.actions.get("editLink").funct()})),k.s…
3029get("align")));var d=document.createElement("div");d.style.position="relative";d.style.whiteSpace=…
3030get("center"),function(){b.alignCells(mxConstants.ALIGN_CENTER)},d),f=this.editorUi.toolbar.addBut…
3031 d),g=this.editorUi.toolbar.addButton("geSprite-alignbottom",mxResources.get("bottom"),function(){b.…
3032get("flip"));a.appendChild(d);d=mxUtils.button(mxResources.get("horizontal"),function(a){b.toggleC…
3033 …button(mxResources.get("vertical"),function(a){b.toggleCellStyles(mxConstants.STYLE_FLIPV,!1)});d.…
3034get("distribute")));var d=mxUtils.button(mxResources.get("horizontal"),function(a){b.distributeCel…
3035 mxResources.get("vertical"));d.style.width="104px";a.appendChild(d);return a};
3036 …table||e.row||e.cell?a.style.paddingTop="8px":(mxUtils.write(c,mxResources.get("angle")),a.appendC…
3037get("reverse"),0<e.vertices.length&&0<e.edges.length?c=mxResources.get("turn")+" / "+c:0<e.vertice…
3042 …tyle.marginTop="0px";h.style.fontWeight="bold";mxUtils.write(h,mxResources.get("size"));k.appendCh…
3043 …ite geSprite-fit";u.setAttribute("title",mxResources.get("autosize")+" ("+this.editorUi.actions.ge…
3044get("autosize").funct()});k.appendChild(u);f.row?(p.style.visibility="hidden",p.nextSibling.style.…
3045 "right";var v=this.createCellOption(mxResources.get("constrainProportions"),mxConstants.STYLE_ASPEC…
3047get("position"));w.appendChild(h);var x=this.addUnitInput(w,this.getUnit(),87,52,function(){m.appl…
3050get("center"),mxUtils.bind(this,function(a){c.beginUpdate();try{H=H.clone(),H.x=0,H.y=0,H.offset=n…
3055 …tyle.marginTop="0px";f.style.fontWeight="bold";mxUtils.write(f,mxResources.get("width"));c.appendC…
3057get("linestart"));p.appendChild(f);var q=this.addUnitInput(p,"pt",87,52,function(){l.apply(this,ar…
3058get("lineend"));v.appendChild(f);var t=this.addUnitInput(v,"pt",87,52,function(){h.apply(this,argu…
3062 …tor.graph,c=this.format.getSelectionState(),f=this.createTitle(mxResources.get("font"));f.style.pa…
3063 …r k=f.cloneNode(),h=this.editorUi.toolbar.addMenu(mxResources.get("style"),mxResources.get("style"…
3064 …ngBottom="6px";var g=this.editorUi.toolbar.addMenu("Helvetica",mxResources.get("fontFamily"),!0,"f…
3065get("bold")+" ("+this.editorUi.actions.get("bold").shortcut+")");l[1].setAttribute("title",mxResou…
3066 …return a()}},q=this.editorUi.toolbar.addButton("geSprite-left",mxResources.get("left"),e.cellEdito…
3067get("center"),e.cellEditor.isContentEditing()?function(a){e.cellEditor.alignText(mxConstants.ALIGN…
3068 …{var t=this.editorUi.toolbar.addButton("geSprite-removeformat",mxResources.get("strikethrough"),fu…
3070get("top"),p(this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[mxC…
3071get("bottom"),p(this.editorUi.menus.createStyleChangeFunction([mxConstants.STYLE_VERTICAL_ALIGN],[…
3072get("subscript")+" ("+Editor.ctrlKey+"+,)",function(){document.execCommand("subscript",!1,null)},n…
3073get("numberedList"),function(){document.execCommand("insertorderedlist",!1,null)},p),this.editorUi…
3074 …rces.get("removeFormat"),function(){document.execCommand("removeformat",!1,null)},p),this.editorUi…
3075 "4px";n.style.fontWeight="normal";mxUtils.write(n,mxResources.get("position"));var M=document.creat…
3077 …Element("option");K.setAttribute("value",t[p]);mxUtils.write(K,mxResources.get(t[p]));M.appendChil…
3078 "4px";t.style.paddingBottom="4px";t.style.fontWeight="normal";mxUtils.write(t,mxResources.get("writ…
3079 document.createElement("option");Z.setAttribute("value",K[p]);mxUtils.write(Z,mxResources.get(K[p])…
3084 …0000",ma=e.cellEditor.isContentEditing()?this.createColorOption(mxResources.get("backgroundColor"),
3085 …estroy:function(){Q=null}},null,!0):this.createCellColorOption(mxResources.get("backgroundColor"),…
3086get("borderColor"),mxConstants.STYLE_LABEL_BORDERCOLOR,"default",null,null,e.shapeForegroundColor)…
3088 …a=a},destroy:function(){fa=null}},null,!0):this.createCellColorOption(mxResources.get("fontColor"),
3090 …TableCell(a)&&!e.isCellResizable(a)}));n=this.createCellOption(mxResources.get("wordWrap"),mxConst…
3091get("formattedText"),"html",0,null,null,null,d.actions.get("formattedText"));h.style.fontWeight="b…
3092 …guments)});mxUtils.br(h);this.addLabel(h,mxResources.get("top"),87);this.addLabel(h,mxResources.ge…
3093get("left"),158);this.addLabel(h,mxResources.get("bottom"),87);this.addLabel(h,mxResources.get("ri…
3095get("insertHorizontalRule"),function(){document.execCommand("inserthorizontalrule",!1)},k),this.ed…
3096get("insert")));h.appendChild(k);a.appendChild(h);h=f.cloneNode(!1);h.style.paddingLeft="0px";n=[t…
3097get("insertColumnAfter"),mxUtils.bind(this,function(){try{null!=y&&e.insertColumn(y,null!=I?I.cell…
3098get("insertRowBefore"),mxUtils.bind(this,function(){try{null!=y&&null!=L&&e.insertRow(y,L.sectionR…
3099 …s.get("table")));k.appendChild(h);f=f.cloneNode(!1);f.style.paddingLeft="0px";n=[this.editorUi.too…
3101 …)})}}),f),this.editorUi.toolbar.addButton("geSprite-fillcolor",mxResources.get("backgroundColor"),…
3102get("spacing"),function(){if(null!=y){var a=y.getAttribute("cellPadding")||0,a=new FilenameDialog(…
3103get("left"),function(){null!=y&&y.setAttribute("align","left")},f),this.editorUi.toolbar.addButton…
3104 G=k}else a.appendChild(k),a.appendChild(this.createRelativeOption(mxResources.get("opacity"),mxCons…
3119 a=this.createRelativeOption(mxResources.get("opacity"),mxConstants.STYLE_OPACITY),a.style.paddingTo…
3124 …ndChild(b),a.style.display="")}),k(b,"fill",mxResources.get("fill")),k(b,"stroke",mxResources.get(…
3125 mxResources.get("gradient")))};
3126get("editStyle"),mxUtils.bind(this,function(a){this.editorUi.actions.get("editStyle").funct()})),d…
3127 function(a){this.editorUi.actions.get("image").funct()})),b.setAttribute("title",mxResources.get("e…
3129 ….stylesheet.getDefaultEdgeStyle(),h=this.createCellColorOption(mxResources.get("gradient"),mxConst…
3130 …stants.STYLE_FILLCOLOR,k="image"==e.style.shape?mxResources.get("background"):mxResources.get("fil…
3131 …Element("option");n.setAttribute("value",m[l]);mxUtils.write(n,mxResources.get(m[l]));c.appendChil…
3135 …wimlane"!=a.style.shape&&"table"!=a.style.shape||b.push({title:mxResources.get("laneColor"),key:"s…
3138 …Element("option");m.setAttribute("value",g[l]);mxUtils.write(m,mxResources.get(g[l]));h.appendChil…
3140 mxResources.get("border"):mxResources.get("line"),g=this.createCellColorOption(g,n,"default",null,m…
3141 …rUi.toolbar.addMenuFunctionInContainer(p,"geSprite-orthogonal",mxResources.get("pattern"),!1,mxUti…
3142get("solid"));q(a,75,"dashed",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1",null]…
3143get("dotted")+" (2)");q(a,75,"dotted",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["…
3144get("line"));this.editorUi.menus.styleChange(a,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_START…
3145get("arrow"));this.editorUi.menus.styleChange(a,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STAR…
3146get("solid"));q(a,33,"dashed",[mxConstants.STYLE_DASHED,mxConstants.STYLE_DASH_PATTERN],["1",null]…
3147get("dotted")+" (3)")})),g=p.cloneNode(!1),t=document.createElement("input");t.style.position="abs…
3148 …rUi.toolbar.addMenuFunctionInContainer(g,"geSprite-orthogonal",mxResources.get("waypoints"),!1,mxU…
3149get("straight")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYL…
3150 …Sprite geSprite-horizontalelbow",null,!0).setAttribute("title",mxResources.get("simple")),this.edi…
3151get("simple")),this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_…
3152get("isometric")),"connector"==f.style.shape&&this.editorUi.menus.edgeStyleChange(a,"",[mxConstant…
3153 …tle",mxResources.get("entityRelation")))})),E=this.editorUi.toolbar.addMenuFunctionInContainer(g,"…
3154 mxResources.get("none"));var c=document.createElement("font");c.style.fontSize="10px";mxUtils.write…
3166 …Resources.get("block"));a.div.style.width="40px"}})),H=this.editorUi.toolbar.addMenuFunctionInCont…
3167 …ute("title",mxResources.get("none"));var c=document.createElement("font");c.style.fontSize="10px";…
3179 …],"geIcon geSprite geSprite-endblocktrans",null,!1).setAttribute("title",mxResources.get("block"));
3182 …style.fontWeight="normal";m.style.width="76px";mxUtils.write(m,mxResources.get("lineend"));l.appen…
3183get("linestart"));l.appendChild(m);var K,P,X=this.addUnitInput(l,"pt",98,52,function(){K.apply(thi…
3184 …tyle.fontWeight="normal";m.style.width="120px";mxUtils.write(m,mxResources.get("perimeter"));k.app…
3185 …Sprite-noarrow"==c.className?(c.innerHTML=mxUtils.htmlEntities(mxResources.get("none")),c.style.ba…
3196 …rflow="hidden";c.style.textOverflow="ellipsis";mxUtils.write(c,mxResources.get("lineJumps"));a.app…
3197 …Element("option");h.setAttribute("value",c[k]);mxUtils.write(h,mxResources.get(c[k]));f.appendChil…
3201 …"";g=k;d.rounded&&m(mxResources.get("rounded"),mxConstants.STYLE_ROUNDED,0);"swimlane"==d.style.sh…
3202 m(mxResources.get("shadow"),mxConstants.STYLE_SHADOW,0);d.glass&&m(mxResources.get("glass"),mxConst…
3203get("setAsDefaultStyle"),mxUtils.bind(this,function(a){this.editorUi.actions.get("setAsDefaultStyl…
3206 …ppendChild(m);g.appendChild(l);n.appendChild(this.createOption(mxResources.get("sketch"),function(…
3207 …ion(a){a.style.width="auto"}));p.appendChild(this.createOption(mxResources.get("rounded"),function…
3208 m.appendChild(n);m.appendChild(p);l.appendChild(m);n.appendChild(this.createOption(mxResources.get(…
3211get("reset"),mxUtils.bind(this,function(a){a=d.getVerticesAndEdges(!0,!0);if(0<a.length){e.beginUp…
3225get("view")));this.addGridOption(a);DiagramFormatPanel.showPageView&&a.appendChild(this.createOpti…
3226 if(d.isEnabled()){var e=this.createColorOption(mxResources.get("background"),function(){return d.ba…
3227 …px";mxClient.IS_FF&&(c.style.marginTop="1px");c=mxUtils.button(mxResources.get("change"),function(…
3228get("options")));d.isEnabled()&&(a.appendChild(this.createOption(mxResources.get("connectionArrows…
3229get("connectionPoints"),function(){return d.connectionHandler.isEnabled()},function(a){b.actions.g…
3233 …nTop="-17px";k.style.right="66px";var h=this.createColorOption(mxResources.get("grid"),function(){…
3235 …dDocumentProperties=function(a){a.appendChild(this.createTitle(mxResources.get("options")));return…
3236 …=this.editorUi,d=b.editor.graph;a.appendChild(this.createTitle(mxResources.get("paperSize")));var …
3238get("editData"),mxUtils.bind(this,function(a){this.editorUi.actions.get("editData").funct()}));b.s…
3239 b.setAttribute("title",mxResources.get("clearDefaultStyle")+" ("+this.editorUi.actions.get("clearDe…
3401 …apply(this,arguments);"umlFrame"==b.style.shape&&c.push({title:mxResources.get("laneColor"),key:"s…
3500get("resetView").funct();1E-5>Math.abs(a-c.view.scale)&&b==c.view.translate.x&&e==c.view.translate…
3501 …ph.importGraphModel(c.documentElement))}catch(n){mxUtils.alert(mxResources.get("invalidOrMissingFi…
3510 …Editor.ctrlKey+"+D");this.put("turn",new Action(mxResources.get("turn")+" / "+mxResources.get("rev…
3511 …,Editor.ctrlKey+"+R"));this.put("selectConnections",new Action(mxResources.get("selectEdges"),func…
3517 …getAttribute("tooltip"));null!=e&&(b=e)}b=new TextareaDialog(d,mxResources.get("editTooltip")+":",…
3518 …lEditable(a)){var b=c.getLinkForCell(a)||"";d.showLinkDialog(b,mxResources.get("apply"),function(b…
3519get("image")+"...",function(){c.isEnabled()&&!c.isCellLocked(c.getDefaultParent())&&(c.clearSelect…
3522get("apply"),mxUtils.bind(this,function(a){c.cellEditor.restoreSelection(k);null!=a&&c.insertLink(…
3526 …rces.get("apply"),function(a){null!=a&&0<a.length&&c.setCellStyles(mxConstants.STYLE_ROTATION,a)},…
3528 …;this.addAction("fitPage",mxUtils.bind(this,function(){c.pageVisible||this.get("pageView").funct()…
3529 …s.addAction("fitTwoPages",mxUtils.bind(this,function(){c.pageVisible||this.get("pageView").funct()…
3530 ….addAction("fitPageWidth",mxUtils.bind(this,function(){c.pageVisible||this.get("pageView").funct()…
3531get("custom")+"...",mxUtils.bind(this,function(){var a=new FilenameDialog(this.editorUi,parseInt(1…
3532get("apply"),mxUtils.bind(this,function(a){a=parseInt(a);!isNaN(a)&&0<a&&(a=new ChangePageSetup(d,…
3538 "/help"+a+".html")});var h=!1;this.put("about",new Action(mxResources.get("about")+" Graph Editor..…
3548 ….length){var b=c.getModel(),b=new TextareaDialog(this.editorUi,mxResources.get("editStyle")+":",b.…
3550 ….state,h,f)}}});this.addAction("removeWaypoint",function(){var a=d.actions.get("removeWaypoint");n…
3552 …)&&!c.isCellLocked(c.getDefaultParent())){var a=mxResources.get("image")+" ("+mxResources.get("url…
3559get(a)+"..."):f=mxResources.get(a);return this.put(a,new Action(f,b,d,e,c))};Actions.prototype.put…
3562 ….length;k++)e(this.customFonts[k]);d.addSeparator(c);d.addItem(mxResources.get("reset"),null,mxUti…
3563 mxResources.get("custom")+"...","",mxConstants.DEFAULT_FONTFAMILY,mxConstants.STYLE_FONTFAMILY,c,!0…
3564get("normal"),"p");d("","h1").firstChild.nextSibling.innerHTML='<h1 style="margin:0px;">'+mxResour…
3565get("heading")+" 5</h5>";d("","h6").firstChild.nextSibling.innerHTML='<h6 style="margin:0px;">'+mx…
3567 …this.customFontSizes[g]),l++);0<l&&d.addSeparator(c);d.addItem(mxResources.get("reset"),null,mxUti…
3568get("custom")+"...","("+mxResources.get("points")+")",this.defaultFontSize,mxConstants.STYLE_FONTS…
3569get("flipV"),null,function(){b.toggleCellStyles(mxConstants.STYLE_FLIPV,!1)},c);this.addMenuItems(…
3570get("topAlign"),null,function(){b.alignCells(mxConstants.ALIGN_TOP)},c);a.addItem(mxResources.get(…
3571 …"geIcon geSprite geSprite-straight",c,!0).setAttribute("title",mxResources.get("straight")),this.e…
3572get("orthogonal")),this.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxCon…
3573get("simple")),this.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_ELBOW,mxConstan…
3574get("isometric")),"connector"==d&&this.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.ST…
3575get("entityRelation"))),a.addSeparator(c),this.styleChange(a,"",[mxConstants.STYLE_SHAPE,mxConstan…
3576get("link")),this.styleChange(a,"",[mxConstants.STYLE_SHAPE,mxConstants.STYLE_STARTSIZE,mxConstant…
3577get("simpleArrow")))})));this.put("layout",new Menu(mxUtils.bind(this,function(a,c){var d=mxUtils.…
3578get("verticalFlow"),null,mxUtils.bind(this,function(){var a=new mxHierarchicalLayout(b,mxConstants…
3579 …on(){e.execute(b.getDefaultParent(),a)},!0)}))}}),c);a.addItem(mxResources.get("verticalTree"),nul…
3580 …on(){e.execute(b.getDefaultParent(),a)},!0)}))}}),c);a.addItem(mxResources.get("radialTree"),null,…
3581 …pBounds([a],2*b.gridSize,!0))},!0)}))}}),c);a.addSeparator(c);a.addItem(mxResources.get("organic"),
3582 ….updateGroupBounds([c],2*b.gridSize,!0)},!0)}))}),c);a.addItem(mxResources.get("circle"),null,mxUt…
3587 …;Menus.prototype.put=function(a,b){return this.menus[a]=b};Menus.prototype.get=function(a){return …
3588get(a);null!=c&&(c=c.isEnabled(),b.showDisabled||c)&&(d=b.addItem(e||mxResources.get(a),null,null,…
3590 …lToVisible(c[0]),d.setSelectionCells(c))}),b):(h&&(c=a.addItem(mxResources.get("insertColumnBefore…
3591get("insertColumnBefore")),c=a.addItem(mxResources.get("insertColumnAfter"),null,mxUtils.bind(this…
3592get("deleteColumn"),null,mxUtils.bind(this,function(){if(null!=e)try{k?d.deleteLane(e):d.deleteTab…
3593get("insertRowBefore")),c=a.addItem(mxResources.get("insertRowAfter"),null,mxUtils.bind(this,funct…
3594 c.setAttribute("title",mxResources.get("deleteRow"))))};
3598 …,"checkbox");d=document.createElement("label");mxUtils.write(d,mxResources.get("title"));d.setAttr…
3599 …eckbox");var n=document.createElement("label");mxUtils.write(n,mxResources.get("container"));n.set…
3607get("apply"),mxUtils.bind(this,function(b){if(null!=b&&0<b.length){if(g){a.getModel().beginUpdate(…
3612 Menus.prototype.addMenuItem=function(a,b,d,e,c,f){var k=this.editorUi.actions.get(b);return null!=k…
3619 …ditorUi.actions.get("removeWaypoint"),k.handler=c,k.index=f,k=!0));a.addSeparator();this.addMenuIt…
3621 …is.addMenuItem(a,"image",e,d).firstChild.nextSibling.innerHTML=mxResources.get("editImage")+"...")…
3622 …c=b.addMenu(mxResources.get(d[e]),mxUtils.bind(this,function(){a.funct.apply(this,arguments)}));th…
3630get("view")+" ("+mxResources.get("panTooltip")+")",!0,"viewPanels",null,!0);this.addDropDownArrow(…
3631get("zoomIn")+" ("+this.editorUi.actions.get("zoomIn").shortcut+")"),b[1].setAttribute("title",mxR…
3632 …ces.get("undo")+" ("+this.editorUi.actions.get("undo").shortcut+")");b[2].setAttribute("title",mxR…
3633get("delete")+" ("+this.editorUi.actions.get("delete").shortcut+")"));550<=a&&this.addItems(["-","…
3634get("line"));this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_SHAPE,"width"],["link",nu…
3635get("simpleArrow"))})),this.addDropDownArrow(this.edgeShapeMenu,"geSprite-connection",44,50,0,0,22…
3636get("straight"));this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYL…
3637get("simple"));this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_…
3638get("isometric"));this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STY…
3639get("curved"));this.editorUi.menus.edgeStyleChange(a,"",[mxConstants.STYLE_EDGE,mxConstants.STYLE_…
3640 a=this.addMenu("",mxResources.get("insert")+" ("+mxResources.get("doubleClickTooltip")+")",!0,"inse…
3642 …(){var a=this.addMenuFunction("geIcon geSprite geSprite-table",mxResources.get("table"),!1,mxUtils…
3643 "22px",a.getElementsByTagName("img")[0].style.top="5px");var b=this.editorUi.menus.get("insert");nu…
3647get("style"),!0,"formatBlock");d.style.position="relative";d.style.whiteSpace="nowrap";d.style.ove…
3648 …Separator();this.sizeMenu=this.addMenu(Menus.prototype.defaultFontSize,mxResources.get("fontSize"),
3649 …- undo redo - bold italic underline".split(" "));d[1].setAttribute("title",mxResources.get("undo")+
3650get("undo").shortcut+")");d[2].setAttribute("title",mxResources.get("redo")+" ("+a.actions.get("re…
3651 …),null,"geIcon geSprite geSprite-left");c.setAttribute("title",mxResources.get("left"));c=d.addIte…
3652get("center"));c=d.addItem("",null,mxUtils.bind(this,function(c){b.cellEditor.alignText(mxConstant…
3653get("justifyfull"));c=d.addItem("",null,mxUtils.bind(this,function(){document.execCommand("inserto…
3654get("bulletedList"));c=d.addItem("",null,mxUtils.bind(this,function(){document.execCommand("outden…
3655 …ddMenuFunction("",mxResources.get("format"),!1,mxUtils.bind(this,function(a){c=a.addItem("",null,t…
3656get("subscript")+" ("+Editor.ctrlKey+"+,)");c=a.addItem("",null,this.editorUi.actions.get("supersc…
3657get("backgroundColor"));c=a.addItem("",null,mxUtils.bind(this,function(){document.execCommand("rem…
3658 ….addSeparator();this.addButton("geIcon geSprite geSprite-code",mxResources.get("html"),function(){…
3659get("insert"),!0,mxUtils.bind(this,function(a){a.addItem(mxResources.get("insertLink"),null,mxUtil…
3660 …ddSeparator();var c=this.addMenuFunction("geIcon geSprite geSprite-table",mxResources.get("table"),
3661 … geSprite geSprite-insertcolumnbefore");c.setAttribute("title",mxResources.get("insertColumnBefore…
3662get("insertColumnAfter"));c=a.addItem("Delete column",null,mxUtils.bind(this,function(){if(null!=d…
3663get("insertRowBefore"));c=a.addItem("",null,mxUtils.bind(this,function(){try{b.selectNode(b.insert…
3664 …l,"geIcon geSprite geSprite-deleterow");c.setAttribute("title",mxResources.get("deleteRow"));c=a.a…
3665 …"geIcon geSprite geSprite-strokecolor");c.setAttribute("title",mxResources.get("borderColor"));c=a…
3666get("backgroundColor"));c=a.addItem("",null,mxUtils.bind(this,function(){var a=f.getAttribute("cel…
3667get("spacing"));this.editorUi.showDialog(a.container,300,80,!0,!0);a.init()}),null,"geIcon geSprit…
3668get("center"));c=a.addItem("",null,mxUtils.bind(this,function(){f.setAttribute("align","right")}),…
3669 …oolbar.prototype.addMenu=function(a,b,d,e,c,f,k){var h=this.editorUi.menus.get(e),g=this.addMenuFu…
3671 …e};Toolbar.prototype.addItem=function(a,b,d,e){var c=this.editorUi.actions.get(b),f=null;null!=c&&…
3678 …substring(1):b,12),h(b),a.hideDialog()):a.handleError({message:mxResources.get("invalidInput")})}f…
3681 …d(q)}e&&(a=document.createElement("td"),a.setAttribute("title",mxResources.get("reset")),a.style.b…
3684 ….get("cancel"),function(){a.hideDialog();null!=e&&e()});q.className="geBtn";a.editor.cancelFirst&&…
3688 …","center");var d=document.createElement("h3");mxUtils.write(d,mxResources.get("about")+" GraphEdi…
3689 …;b.appendChild(d);mxUtils.br(b);mxUtils.br(b);d=mxUtils.button(mxResources.get("close"),function()…
3691 …ap";v.setAttribute("align","right");null!=p&&(b=mxUtils.button(mxResources.get("help"),function(){…
3692get("cancel"),function(){a.hideDialog();null!=c&&c()});f.className="geBtn";a.editor.cancelFirst&&v…
3694 …lue=a.extractGraphModelFromEvent(b)},!1));var e=mxUtils.button(mxResources.get("cancel"),function(…
3695get("replaceExistingDrawing"));c.appendChild(f)}f=document.createElement("option");f.setAttribute(…
3696 f=mxUtils.button(mxResources.get("ok"),function(){var b=Graph.zapGremlins(mxUtils.trim(d.value)),e=…
3700 …;g.style.fontSize="10pt";g.style.width="100px";mxUtils.write(g,mxResources.get("filename")+":");c.…
3701get("format")+":");c.appendChild(g);var n=document.createElement("select");n.style.width="180px";g…
3702get("formatJpg"));n.appendChild(g);g=document.createElement("option");g.setAttribute("value","pdf"…
3703 …nt.createElement("td");g.style.fontSize="10pt";mxUtils.write(g,mxResources.get("zoom")+" (%):");c.…
3704get("width")+":");c.appendChild(g);var q=document.createElement("input");q.setAttribute("value",k)…
3705 …nt.createElement("td");g.style.fontSize="10pt";mxUtils.write(g,mxResources.get("dpi")+":");c.appen…
3706 …ent("option");g.setAttribute("value","custom");mxUtils.write(g,mxResources.get("custom"));v.append…
3708get("background")+":");c.appendChild(g);var x=document.createElement("input");x.setAttribute("type…
3709 …nt.createElement("td");g.style.fontSize="10pt";mxUtils.write(g,mxResources.get("borderWidth")+":")…
3711 …=mxUtils.button(mxResources.get("export"),mxUtils.bind(this,function(){if(0>=parseInt(p.value))mxU…
3712 …ked)}}));H.className="geBtn gePrimaryBtn";var C=mxUtils.button(mxResources.get("cancel"),function(…
3715 …c+"&"+m+"&dpi="+k)).simulate(document,"_blank")):mxUtils.alert(mxResources.get("drawingTooLarge"))…
3716 …(d)+"&format="+e)).simulate(document,"_blank")):(mxUtils.alert(mxResources.get("drawingTooLarge"))…
3719 mxResources.get("delete"));d.style.position="absolute";d.style.top="4px";d.style.right="0px";d.styl…
3721get("id")+":",m);mxEvent.addListener(m,"dblclick",function(d){mxEvent.isShiftDown(d)&&(d=new Filen…
3723get("enterPropertyName"));z.setAttribute("type","text");z.setAttribute("size",mxClient.IS_IE||mxCl…
3724 …alert(mxResources.get("invalidName"))});this.init=function(){0<p.length?p[0].focus():z.focus()};E.…
3725 …s.button(mxResources.get("cancel"),function(){a.hideDialog.apply(a,arguments)});g.className="geBtn…
3727get("placeholders"));if(null!=EditDataDialog.placeholderHelpLink){w=document.createElement("a");w.…
3730 …n(a,b,d,e){var c=document.createElement("div");mxUtils.write(c,mxResources.get("editLink")+":");va…
3731 …="14px";b=document.createElement("div");b.setAttribute("title",mxResources.get("reset"));b.style.p…
3732 …{13==b.keyCode&&(a.hideDialog(),e(k.value))});b=mxUtils.button(mxResources.get("cancel"),function(…
3733 …ight="100%";f.style.overflow="hidden";this.window=new mxWindow(mxResources.get("outline"),f,b,d,e,…
3736 …is,function(){h.setSuspended(!0)}));h.init(f);var g=a.actions.get("zoomIn"),l=a.actions.get("zoomO…
3737get("background"),mxResources.get("rename"),mxUtils.bind(this,function(a){null!=a&&g.cellLabelChan…
3740 …arginTop="2px";k.style.cursor="pointer";k.setAttribute("title",mxResources.get(g.model.isVisible(c…
3741 …g="0px 6px 0 0";k.style.marginTop="2px";k.setAttribute("title",mxResources.get("lockUnlock"));var …
3743 …px",0<a&&(h=document.createElement("a"),h.setAttribute("title",mxResources.get("toBack")),h.classN…
3744 …&&a<u-1&&(h=document.createElement("a"),h.setAttribute("title",mxResources.get("toFront")),h.class…
3746 …-)mxUtils.bind(this,function(c){a(b,g.convertValueToString(c)||mxResources.get("background"),c,c)}…
3747 …ing(v)||mxResources.get("background");x.setAttribute("title",mxResources.get("removeIt",[c]));H.se…
3751 …ild(x);var z=w.cloneNode();z.setAttribute("title",mxUtils.trim(mxResources.get("moveSelectionTo",[…
3752 …nd(this,function(c){var d=a.addItem(g.convertValueToString(c)||mxResources.get("background"),null,…
3753get("editData"));m=m.cloneNode(!1);m.setAttribute("src",Editor.editImage);E.appendChild(m);mxEvent…
3754get("untitledLayer")),a.setVisible(!0),a=g.addCell(a,g.model.root),g.setDefaultParent(a)}finally{g…
3755get("untitledLayer")),g.model.root);g.setDefaultParent(b)}finally{g.model.endUpdate()}}mxEvent.con…
3756 …isabled":z.className="geButton";k()});this.window=new mxWindow(mxResources.get("layers"),l,b,d,e,c…
3777 …bute("src",Dialog.prototype.closeImage);f.setAttribute("title",mxResources.get("hide"));f.classNam…
3782get("standard"),entries:[{title:mxResources.get("general"),id:"general",image:IMAGE_PATH+"/sidebar…
3783get("flowchart"),id:"flowchart",image:IMAGE_PATH+"/sidebar-flowchart.png"}]},{title:mxResources.ge…
3784get("entityRelation"),id:"er",image:IMAGE_PATH+"/sidebar-er.png"},{title:mxResources.get("ios"),id…
3785get("uml"),id:"uml",image:IMAGE_PATH+"/sidebar-uml.png"}]},{title:mxResources.get("networking"),en…
3786get("azure"),id:"azure2",image:IMAGE_PATH+"/sidebar-azure.png"},{title:"Cloud & Enterprise",id:"ms…
3787 …{title:"Office",id:"office",image:IMAGE_PATH+"/sidebar-office.png"},{title:mxResources.get("rack"),
3788get("business"),entries:[{title:"ArchiMate 3.0",id:"archimate3",image:IMAGE_PATH+"/sidebar-archima…
3789get("other"),entries:[{title:mxResources.get("cabinets"),id:"cabinets",image:IMAGE_PATH+"/sidebar-…
3790get("floorplans"),id:"floorplan",image:IMAGE_PATH+"/sidebar-floorplans.png"},{title:"Fluid Power (…
3791 image:IMAGE_PATH+"/sidebar-webIcons.png"},{title:mxResources.get("signs"),id:"signs",image:IMAGE_PA…
3794 ….compress(c)))).simulate(document,"_blank")}),null,mxResources.get("save"),mxResources.get("cancel…
3795 a.style.cursor="wait";var k=a.innerHTML;a.innerHTML=mxResources.get("loading")+"...";window.setTime…
3797 …itorUi.showPopupMenu(mxUtils.bind(this,function(a,d){a.addItem(mxResources.get("openLibrary"),null…
3802get("loading")+"...")))});if(null==a.data&&null!=a.url&&!a.preload&&n>=this.maxPreloadCount)this.a…
3803 …ntent(g.documentElement));d(h)}else f(mxResources.get("notALibraryFile"),c)}catch(C){f(mxResources…
3805get("notALibraryFile");g()}catch(B){b=mxResources.get("error")+": "+B.message,g()}}),mxUtils.bind(…
3818 function(c,e,g,h){!this.editorUi.isOffline()&&c.length<=b/4?(g=d-Math.ceil((e-b/4)/b),mxUtils.get(I…
3819 e,!1,h);else f(c,e,!1,h),this.editorUi.handleError({message:mxResources.get("unknownError")})}catch…
3959get("android"),!1,mxUtils.bind(this,function(a){for(var c=0;c<d.length;c++)a.appendChild(d[c](a))}…
4062 …w","arrow u turn uturn").join(" "))];this.addPalette("arrows2",mxResources.get("arrows"),!1,mxUtil…
5008 …ntSearchEntryLibrary("azure");this.addPaletteFunctions("azure",mxResources.get("azure"),!1,[this.c…
5177 …ntSearchEntryLibrary("basic");this.addPaletteFunctions("basic",mxResources.get("basic"),!1,[this.c…
5711 …,c],140,60,"Tooltip with HTML")})];this.addPalette("bootstrap",mxResources.get("bootstrap"),!1,mxU…
5986 "terminal_75mm2_x10","cabinet ").join(" "))];this.addPalette("cabinets",mxResources.get("cabinets")…
6632 … relation table many optional")];this.addPaletteFunctions("er",mxResources.get("entityRelation"),!…
6672 …,b],560,140,"Conference table")})];this.addPalette("floorplan",mxResources.get("floorplans"),!1,mx…
6673 …EntryLibrary("flowchart");this.addPaletteFunctions("flowchart",mxResources.get("flowchart"),!1,[th…
9355 …ploy&gt;&gt;","Deploy",null,"deploy")];this.addPalette("uml25",mxResources.get("uml")+" 2.5",!1,mx…
9978 …chronizeFile=function(b,e){this.savingFile?null!=e&&e({message:mxResources.get("busy")}):null!=thi…
9982 ….LAST_WRITE_WINS?this.backupPatch:null)}}else throw g=!1,Error(mxResources.get("notADiagramFile"))…
9993 …es.get("allChangesLost"),mxUtils.bind(this,function(){this.handleFileSuccess("manual"==DrawioFile.…
9998get("checksum")});else throw Error(mxResources.get("checksum"));else this.updateFileData(),this.cl…
10001 …n(b,e,d){};DrawioFile.prototype.share=function(){this.ui.alert(mxResources.get("sharingAvailable")…
10011get(this.allChangesSavedKey)),this.ui.editor.setStatus('<div title="'+b+'">'+b+"</div>"),b=this.ui…
10014 …or&&null!=b.message&&""!=b.message){var e=mxUtils.htmlEntities(mxResources.get("unsavedChanges"));…
10015get("lastSaved",[d]))}null!=e&&60<e.length&&(e=e.substring(0,60)+"...");e=mxUtils.htmlEntities(mxR…
10016 …ditable()?"save":"saveAs").funct()}))):(e=mxUtils.htmlEntities(mxResources.get("unsavedChanges")),…
10017 …alidChecksum&&null==e&&(e=mxResources.get("checksum"));this.setConflictStatus(mxUtils.htmlEntities…
10018get("fileChangedSync")),b)};DrawioFile.prototype.setConflictStatus=function(b){this.ui.editor.setS…
10019get("checksum"));this.ui.editor.isChromelessView()&&!this.ui.editor.editable?this.ui.alert(mxResou…
10020 e)}),null,mxResources.get("synchronize"),mxUtils.bind(this,function(){this.reloadFile(b,e)}),mxReso…
10021get("externalChanges"),mxResources.get("fileChangedOverwriteDialog"),mxResources.get("makeCopy"),m…
10022 …s.get("externalChanges"),mxResources.get("fileChangedSyncDialog"),mxResources.get("overwrite"),b,n…
10023 … mode url drive splash state".split(" "))+"#"+this.getHash(),c=mxResources.get("redirectToNewApp")…
10024get("allChangesLost"),mxUtils.bind(this,function(){this.redirectDialogShowing=!1}),c,mxResources.g…
10025 …dStatus(mxUtils.htmlEntities(mxResources.get(this.allChangesSavedKey))+" ("+mxUtils.htmlEntities(m…
10026get("errorSavingFile"):null);else if(!this.isModified()){var d=this.getErrorMessage(b);null!=d&&60…
10028 …xUtils.bind(this,function(){this.ui.spinner.spin(document.body,mxResources.get(this.savingSpinnerK…
10029 …s.get("updatingDocument"))&&this.synchronizeFile(mxUtils.bind(this,function(){this.ui.spinner.stop…
10030get("updatingDocument")));this.synchronizeFile(d,c)}),this.getErrorMessage(b))};DrawioFile.prototy…
10031 …s.savingStatusKey&&this.addAllSavedStatus(mxUtils.htmlEntities(mxResources.get(this.savingStatusKe…
10048 "_blank")}else this.ui.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("er…
10051 …geFile(b,d,e);f.saveFile(e,!1,function(){c(f)},g)};k?b.confirm(mxResources.get("replaceIt",[e]),f,…
10054get("invalidName")}):StorageFile.getFileInfo(this.ui,b,mxUtils.bind(this,function(d){this.isRenama…
10055 …(){this.ui.removeLocalData(c,e)}),d)});null!=g?this.ui.confirm(mxResources.get("replaceIt",[b]),k,…
10059 ….prototype.getTitle=function(){return".scratchpad"==this.title?mxResources.get("scratchpad"):this.…
10063get("authorizing"))?b.drive.checkToken(mxUtils.bind(this,function(){b.spinner.stop();b.setMode(k,!…
10068 …2px;padding:4px 0 16px 0;margin:0;color:gray;";mxUtils.write(p,mxResources.get("saveDiagramsTo")+"…
10069get("googleDrive"),App.MODE_GOOGLE,"drive");"function"===typeof window.OneDriveClient&&c(IMAGE_PAT…
10070get("dropbox"),App.MODE_DROPBOX,"dropbox");null!=b.gitHub&&c(IMAGE_PATH+"/github-logo.svg",mxResou…
10071 mxUtils.setPrefixedStyle(k.style,"transform","translate(-50%,0)");mxUtils.write(k,mxResources.get("…
10072 …rningImage.src+'" align="absmiddle" style="margin-top:-4px"> '+mxResources.get("googleDriveMissing…
10073 …mode==App.MODE_GOOGLE?(c.src=IMAGE_PATH+"/google-drive-logo.svg",d=mxResources.get("googleDrive")):
10074get("dropbox")):b.mode==App.MODE_ONEDRIVE?(c.src=IMAGE_PATH+"/onedrive-logo.svg",d=mxResources.get
10075get("browser")):b.mode==App.MODE_TRELLO?(c.src=IMAGE_PATH+"/trello-logo.svg",d=mxResources.get("tr…
10077get("changeStorage"));mxEvent.addListener(d,"click",function(){b.hideDialog(!1);b.setMode(null);b.…
10078get("new").funct()});g.appendChild(k);mxUtils.br(g);k=document.createElement("button");k.className…
10079get("dropbox"):b.mode==App.MODE_ONEDRIVE?mxResources.get("oneDrive"):b.mode==App.MODE_GITHUB?mxRes…
10080get("signOut"));k.style.marginBottom="16px";g.style.paddingBottom="18px";mxEvent.addListener(f,"cl…
10081 …t.appendChild(n);n=document.createElement("option");mxUtils.write(n,mxResources.get("addAccount"));
10085 …;p.style.width="440px";p.style.border="1px solid gray";p.value=mxResources.get("updatingDocument")…
10086get("tooLargeUseDownload"))},0)};k=document.createElement("div");k.style.position="absolute";k.sty…
10087 …or({message:mxResources.get("drawingTooLarge")}))}catch(A){}}),d||500)}catch(A){b.handleError({mes…
10088get("preview"))+'</title><meta charset="utf-8"></head><body>'+e+"</body></html>"),l.close()):b.han…
10089get("drawingTooLarge")})}});f=document.createElement("img");f.setAttribute("src",Editor.facebookIm…
10090 …alue);b.openLink(c)}catch(v){b.handleError({message:v.message||mxResources.get("drawingTooLarge")}…
10091get("twitter")+" ("+b.formatFileSize(7168)+" max)"),t.style.verticalAlign="bottom",t.style.padding…
10092 !1,null);document.execCommand("copy");b.alert(mxResources.get("copiedToClipboard"))});5E5>e.length?…
10095 …late.x),l=Math.floor(k.y/n-g.view.translate.y);mxUtils.write(c,mxResources.get("googleGadget")+":"…
10096get("top")+":");var p=document.createElement("input");p.setAttribute("type","text");p.setAttribute…
10097 …6px";k.style.marginTop="16px";c.appendChild(k);mxUtils.write(c,mxResources.get("publicDiagramUrl")…
10098get("borderWidth")+":");var u=document.createElement("input");u.setAttribute("type","text");u.setA…
10099get("zoom")+" ");var A=document.createElement("input");A.setAttribute("type","checkbox");A.style.m…
10100get("asNew")+" ");mxUtils.br(c);var B=document.createElement("input");B.setAttribute("type","check…
10101 "8px";c.appendChild(C);mxUtils.write(c,mxResources.get("embed")+" ");var F=b.getBasenames().join(";…
10102 …e.paddingTop="12px";k.style.textAlign="right";n=mxUtils.button(mxResources.get("close"),function()…
10109get("close"),function(){b.confirm(mxResources.get("areYouSure"),function(){null!=e.parentNode&&(k.…
10114 …ce="nowrap";var g=document.createElement("h2");mxUtils.write(g,mxResources.get("backgroundImage"))…
10116 mxResources.get("pageWithNumber",[p+1]));q.setAttribute("value","data:page/id,"+b.pages[p].getId())…
10117 …(l.value)},function(){b.showError(mxResources.get("error"),mxResources.get("fileNotFound"),mxResou…
10118 …hecked=!0});if(Graph.fileSupport){l.setAttribute("placeholder",mxResources.get("dragImagesHere"));…
10120get("width")+":");c.appendChild(p);var x=document.createElement("input");x.setAttribute("type","te…
10122get("pageNotFound"));z.setAttribute("disabled","disabled");z.setAttribute("selected","selected");z…
10123 …ces.get("cancel"),function(){t=!0;b.hideDialog()});g.className="geBtn";b.editor.cancelFirst&&d.app…
10124 …tUmlSvg"==f||"plantUmlTxt"==f){if(b.spinner.spin(document.body,mxResources.get("inserting"))){var …
10127 …eError(c)})}}else if("mermaid"==f)b.spinner.spin(document.body,mxResources.get("inserting"))&&(m=b…
10140 …ement("option");l.setAttribute("value","list");mxUtils.write(l,mxResources.get("list"));"plantUml"…
10141get("formatSql"));"formatSql"==d&&(f.appendChild(l),l.setAttribute("selected","selected"));l=docum…
10142get("diagram"));"plantUml"!=d&&f.appendChild(l);l=document.createElement("option");l.setAttribute(…
10143 "plantUmlTxt");mxUtils.write(p,mxResources.get("plantUml")+" ("+mxResources.get("text")+")");Editor…
10144get("help"),function(){b.openLink("mermaid"==d?"https://mermaid-js.github.io/mermaid/#/":"https://…
10145 …ources.get("areYouSure"),function(){b.hideDialog()})});l.className="geBtn";b.editor.cancelFirst&&e…
10147 …Url(d)?PROXY_URL+"?url="+encodeURIComponent(d):TEMPLATE_PATH+"/"+d;mxUtils.get(d,mxUtils.bind(this…
10149 document.body.clientHeight)-80,800),null!=d?mxResources.get(d,null,d):null,!0,new mxPoint(e,l),!0,f…
10150 …(v.style.filter="invert(100%)");null!=d?v.setAttribute("title",mxResources.get(d,null,d)):null!=e&…
10153 (ra-34)+'px;">'+mxUtils.htmlEntities(mxResources.get(d,null,d))+"</span></td></tr></table>");mxEven…
10154get(d,null,d))+"</span></td></tr></table>",l&&C(v),mxEvent.addGestureListeners(v,mxUtils.bind(this…
10155 …)}R.appendChild(v);return v}function G(){function b(b,c){var f=mxResources.get(b);null==f&&(f=b.su…
10157 mxUtils.write(f,mxResources.get("custom"));ha.appendChild(f);for(var d in ja){var e=document.create…
10163 …(E?mxResources.get("name"):null==b.mode||b.mode==App.MODE_GOOGLE||b.mode==App.MODE_BROWSER?mxResou…
10166 …hadow:!1,hwaccel:!1,top:"40%",zIndex:2E9}),P=mxUtils.button(x||mxResources.get("create"),function(…
10167 …owrap";x.style.height="30px";D.appendChild(x);E=mxUtils.button(mxResources.get("Templates",null,"T…
10168get("noDiagrams",null,"No Diagrams Found"));else if(R.innerHTML="",0<d){ha.style.display="";R.styl…
10169get("search")+":");x.appendChild(E);var Y=document.createElement("input");Y.style.marginRight="10p…
10171get("search"));ia.setAttribute("type","text");T.appendChild(ia);var U=document.createElement("img"…
10172 Dialog.prototype.closeImage&&(U.setAttribute("src",Z),U.setAttribute("title",mxResources.get("searc…
10174get(0==d.length?"noResultsFor":"resultsFor",[c]));R.appendChild(f);null!=S&&null==da&&(S.style.bac…
10175get("reset")))}));x+=23;var ha=document.createElement("div");ha.style.cssText="position:absolute;l…
10178 …ght="40px";e||b.isOffline()||!d||null!=c||g||(x=mxUtils.button(mxResources.get("help"),function(){…
10179get("cancel"),function(){null!=k&&k();b.hideDialog(!0)});x.className="geBtn";!b.editor.cancelFirst…
10180get("url"));b.showDialog(c.container,300,80,!0,!0);c.init()}),e.className="geBtn",A.appendChild(e)…
10185 …ddLanguageMenu(k);var y=document.createElement("h2");mxUtils.write(y,g||mxResources.get("create"));
10186 …";y.style.marginBottom="24px";k.appendChild(y);mxUtils.write(k,mxResources.get("filename")+":");va…
10188get("copy"),function(c){c=b.base64ToBlob(F,"image/png");c=new ClipboardItem({"image/png":c,"text/h…
10190get("googleDrive")),D.appendChild(t),z(IMAGE_PATH+"/google-drive-logo.svg",mxResources.get("google…
10191get("dropbox")),D.appendChild(t),b.mode==App.MODE_DROPBOX&&t.setAttribute("selected","selected"),z…
10192get("github"),App.MODE_GITHUB,"gitHub")),null!=b.gitLab&&(t=document.createElement("option"),t.set…
10193get("notion"),App.MODE_NOTION,"notion")),"function"===typeof window.TrelloClient&&(t=document.crea…
10194get("device")),D.appendChild(t),b.mode!=App.MODE_DEVICE&&f||t.setAttribute("selected","selected"),…
10195get("help"),function(){b.openLink(m)}),p.className="geBtn",f.appendChild(p));p=mxUtils.button(mxRe…
10196get("openInNewWindow"),function(){B("_blank")}),l.className="geBtn",f.appendChild(l));CreateDialog…
10198get("fileOpenLocation"));mxUtils.br(k);mxUtils.br(k);var n=mxUtils.button(mxResources.get("openInT…
10199 …h;k.appendChild(f);mxUtils.br(k);mxUtils.br(k);mxUtils.write(k,mxResources.get("allowPopups"));thi…
10201 …="14px";d=document.createElement("div");d.setAttribute("title",mxResources.get("reset"));d.style.p…
10202get("inserting"))?b.loadImage(f,function(m){b.spinner.stop();b.hideDialog();var g=!1===l?1:null!=d…
10203 …){l.focus();if(Graph.fileSupport){l.setAttribute("placeholder",mxResources.get("dragImagesHere"));…
10205 …e.marginTop="14px";d.style.textAlign="center";e=mxUtils.button(mxResources.get("cancel"),function(…
10207get("open"),function(){b.imgDlgFileInputElt.click()});t.className="geBtn";d.appendChild(t)}documen…
10208 …ress",function(b){13==b.keyCode&&p(l.value)});t=mxUtils.button(mxResources.get("apply"),function()…
10209 ….style.fontSize="18px",e.style.color="#a0c3ff",mxUtils.write(e,mxResources.get("dragImagesHere")),…
10210 …ent.createElement("div");l.style.height="100%";mxUtils.write(l,mxResources.get("editLink")+":");va…
10211get("dragUrlsHere"));p.setAttribute("type","text");p.style.marginTop="6px";p.style.width="100%";p.…
10214get("openInNewWindow")));mxUtils.br(m);m.appendChild(u);g=!1;for(k=0;k<b.pages.length;k++)q=docume…
10215 …hecked){var A=document.createElement("option");mxUtils.write(A,mxResources.get("pageNotFound"));A.…
10218 …e.marginTop="18px";B.style.textAlign="center";d=mxUtils.button(mxResources.get("help"),function(){…
10219 b.isOffline()&&!mxClient.IS_CHROMEAPP&&(d.style.display="none");d=mxUtils.button(mxResources.get("c…
10220 …TH+"/google-drive-logo.svg",mxResources.get("googlePlus"),function(){b.spinner.spin(document.body,…
10221get("dropbox"),function(){Dropbox.choose({linkType:"direct",cancel:function(){},success:function(b…
10222get("github"),function(){b.gitHub.pickFile(function(b){if(null!=b){b=b.split("/");var c=b[0],f=b[1…
10223 …Element("div"),k=document.createElement("div");mxUtils.write(k,mxResources.get("sendYourFeedback")…
10224get("yourEmailAddress")+(d?"":" ("+mxResources.get("required")+")"));g.appendChild(k);var n=docume…
10225 …tor.platform;f.length>FeedbackDialog.maxAttachmentSize?b.alert(mxResources.get("drawingTooLarge"))…
10226 …rt(mxResources.get("feedbackSent")):b.alert(mxResources.get("errorSendingFeedback"))},function(){b…
10228get("includeCopyOfMyDiagram"));d.appendChild(k);mxEvent.addListener(k,"click",function(b){m.checke…
10229 "26px";d.style.textAlign="right";k=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog…
10230 …nt.createElement("h3");g.style.marginTop="0px";mxUtils.write(g,mxResources.get("revisionHistory"))…
10233 …;F.className="geSprite geSprite-zoomin";F.setAttribute("title",mxResources.get("zoomIn"));F.style.…
10234get("zoomOut"));G.style.outline="none";G.style.border="none";G.style.margin="2px";G.setAttribute("…
10235get("actualSize"));D.style.outline="none";D.style.border="none";D.style.margin="2px";D.setAttribut…
10237 mxResources.get("pageNotFound")):(L.style.display="none",k.style.display="none",I.style.display="",…
10238 …maxWidth="380px";L.style.cursor="default";var Q=mxUtils.button(mxResources.get("download"),functio…
10239get("restore"),function(c){null!=y&&null!=C&&(mxEvent.isShiftDown(c)?null!=y&&(c=b.getPagesForNode…
10240get("merge")),c.textarea.style.width="600px",c.textarea.style.height="380px",b.showDialog(c.contai…
10241get("errorSavingFile"):null)})}))});P.className="geBtn";P.setAttribute("disabled","disabled");P.se…
10242 …abled");null!=d&&(J.style.display="none");var N=mxUtils.button(mxResources.get("show"),function(){…
10246 document.createElement("option"),mxUtils.write(q,m[e].getAttribute("name")||mxResources.get("pageWi…
10248get("errorLoadingFile")),mxUtils.write(n,mxResources.get("errorLoadingFile"))},g=document.createEl…
10249 …9",C=y=null,L.removeAttribute("title"),L.innerHTML=mxUtils.htmlEntities(mxResources.get("loading")+
10251get("error")+": "+U.message)}},function(b){u.stop();K.style.display="none";K.innerHTML="";L.innerH…
10252 …Utils.write(g,mxResources.get("notAvailable"))):(k.style.display="none",O.style.display="none",mxU…
10253 this.init=function(){null!=W&&W.click()};g=mxUtils.button(mxResources.get("close"),function(){b.hid…
10257get("zoomIn"));d.style.outline="none";d.style.border="none";d.style.margin="2px";mxUtils.setOpacit…
10258get("fit"));e.style.outline="none";e.style.border="none";e.style.margin="2px";mxUtils.setOpacity(e…
10259 "2px";mxUtils.setOpacity(u,60);n=mxUtils.button(n||mxResources.get("discard"),function(){g.apply(th…
10260 E.style.display="none";k=mxUtils.button(k||mxResources.get("edit"),function(){c.apply(this,[q.value…
10262get("pageWithNumber",[d+1])),f.setAttribute("value",d),d==C&&f.setAttribute("selected","selected")…
10263 "geBtn";f=null!=f?mxUtils.button(mxResources.get("ignore"),f):null;null!=f&&(f.className="geBtn");b…
10268get("findReplace"),p=b.editor.graph,q=null,t=null,u=!1,v=!1,x=null,A=0,z=1,B=document.createElemen…
10269 …F=document.createElement("input"),F.setAttribute("placeholder",mxResources.get("replaceWith")),F.s…
10270 …e("for","geFindWinRegExChck");B.appendChild(y);mxUtils.write(y,mxResources.get("regularExpression"…
10271get("allPages"));B.appendChild(y);var D=document.createElement("div");mxUtils.br(B);y=document.cre…
10272get("reset"));H.style["float"]="none";H.style.width="120px";H.style.marginTop="6px";H.style.margin…
10273 I.setAttribute("title",mxResources.get("find")+" (Enter)");I.style["float"]="none";I.style.width="1…
10274 …,k)+m[p]+b.substr(k)}g+=m[p].length}return b},Q=mxUtils.button(mxResources.get("replFind"),functio…
10275 …"#ffcfcf"}}catch(O){b.handleError(O)}});Q.setAttribute("title",mxResources.get("replFind"));Q.styl…
10276get("replace"),function(){try{if(null!=x&&null!=t&&F.value){var c=t.cell,f=p.getLabel(c);p.model.s…
10277 …e("disabled","disabled");y.appendChild(P);var K=mxUtils.button(mxResources.get("replaceAll"),funct…
10278get("matchesRepl",[d]))}catch(ba){b.handleError(ba)}finally{p.getModel().endUpdate(),b.editor.grap…
10279 …s.button(mxResources.get("close"),mxUtils.bind(this,function(){this.window.setVisible(!1)}));H.set…
10281 this.window=new mxWindow(mxResources.get("find")+(k?"/"+mxResources.get("replace"):""),B,e,d,c,g,!0…
10283 …e.overflow="hidden";b.style.height="100%";var n=mxUtils.button(mxResources.get("startDrawing"),fun…
10284get("startDrawing"));n.style.marginTop="10px";n.style.width="90%";n.style.boxSizing="border-box";n…
10285 …mxUtils.write(n,mxResources.get(k.freehand.isDrawing()?"stopDrawing":"startDrawing"));n.setAttribu…
10287 …,function(c,f){if(k.isEnabled()){var d=new FilenameDialog(b,"",mxResources.get("add"),function(d){…
10288 ….get("enterValue")+" ("+mxResources.get("tags")+")");b.showDialog(d.container,300,80,!0,!0);d.init…
10290 …0px";k.style.margin="0px";k.style.color="gray";mxUtils.write(k,mxResources.get("authorizationRequi…
10291get("googleDrive"),f.src=IMAGE_PATH+"/google-drive-logo-white.svg"):e==b.dropbox?(n=mxResources.ge…
10292get("gitlab"),f.src=IMAGE_PATH+"/gitlab-logo.svg",f.style.width="32px"):e==b.notion?(n=mxResources…
10293 …dChild(l),k=document.createElement("span"),mxUtils.write(k," "+mxResources.get("rememberMe")),d.ap…
10297 …e.padding="20px",q.style.color="rgb(179, 179, 179)",mxUtils.write(q,mxResources.get("noPreview")));
10298 …eateElement("div");l.className="geDialogTitle";mxUtils.write(l,mxResources.get("shapes"));l.style.…
10301get("rememberThisSetting")),x.checked=!0,x.defaultChecked=!0,mxEvent.addListener(k,"click",functio…
10304 …dChild(x),k=document.createElement("span"),mxUtils.write(k," "+mxResources.get("rememberThisSettin…
10305 …k=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog()});k.className="geBtn";l=mxUti…
10306 …){function c(){if(0==n.length)k.innerHTML=mxUtils.htmlEntities(mxResources.get("noPlugins"));else{…
10307 ….addListener(l,"click",function(f){return function(){b.confirm(mxResources.get("delete")+' "'+n[f]…
10308get("add")+"...",null!=e?function(){e(function(b){b&&0>mxUtils.indexOf(n,b)&&n.push(b);c()})}:func…
10309get("custom")+"...",function(){var f=new FilenameDialog(b,"",mxResources.get("add"),function(f){b.…
10310get("cancel"),function(){b.hideDialog()});l.className="geBtn";var m=mxUtils.button(mxResources.get
10311 …arginTop="14px";p.style.textAlign="right";var q=mxUtils.button(mxResources.get("help"),function(){…
10313 …"label");l.setAttribute("for","croppieCircle");mxUtils.write(l,mxResources.get("circle"));g.append…
10314 …f=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog()});f.className="geBtn";l=mxUti…
10316get("relative")+":");var p=document.createElement("input");p.setAttribute("type","checkbox");null!…
10317 …teElement("td");m=document.createElement("td");mxUtils.write(l,mxResources.get("top")+":");var t=d…
10318get("dx")+":");var u=document.createElement("input");u.setAttribute("type","text");u.style.width="…
10319 …teElement("td");m=document.createElement("td");mxUtils.write(l,mxResources.get("width")+":");var x…
10320get("height")+":");var A=document.createElement("input");A.setAttribute("type","text");A.style.wid…
10321 …mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog()});c.className="geBtn";var B=mxU…
10324 …ipsis";mxUtils.write(I,null!=G.title&&0<G.title.length?G.title:mxResources.get("untitled"));I.styl…
10327 …lackImage);F.setAttribute("border","0");F.setAttribute("title",mxResources.get("delete"));F.setAtt…
10330 …new FilenameDialog(b,G.title||"",mxResources.get("ok"),function(b){null!=b&&(G.title=b,K())},mxRes…
10332 …style,"transform",null)})}else C||(C=!0,b.handleError({message:mxResources.get("fileExists")}));el…
10334 …})}m=!0}}catch(R){}m||(b.spinner.stop(),b.handleError({message:mxResources.get("errorLoadingFile")…
10336 …nowrap";q.style.height="40px";d.appendChild(q);mxUtils.write(q,mxResources.get("filename")+":");nu…
10338 ….style.fontSize="22px";v.style.color="#a0c3ff";mxUtils.write(v,mxResources.get("dragImagesHere"));…
10341 …le.textAlign="right";c.style.marginTop="20px";e=mxUtils.button(mxResources.get("cancel"),function(…
10342 …tHubLibrary||(q=mxUtils.button(mxResources.get("link"),function(){b.spinner.spin(document.body,mxR…
10343get("error"),mxResources.get("diagramIsNotPublic"),mxResources.get("share"),mxUtils.bind(this,func…
10345get("import"),function(){null!=B&&(B(),B=null);b.libDlgFileInputElt.click()});q.setAttribute("id",…
10346get("addImageUrl"),"",function(b,c,d){C=!1;if(null!=b){if("data:image/"==b.substring(0,11)){var e=…
10350get("help"),function(){b.openLink("https://www.diagrams.net/doc/faq/shape-complex-create-edit")}),…
10351 …!=l&&0<l.length)b.showError(mxResources.get("error"),mxResources.get("containsValidationErrors"),m…
10352 …ils.button(mxResources.get("preview"),function(){u(p,q,!1)});d.className="geBtn";n.appendChild(d);…
10353get("help"),function(){b.openLink(k)}),n.className="geBtn",e.appendChild(n));l=mxUtils.button(l||m…
10354 d){var c=d();if("string"===typeof c){b.showError(mxResources.get("error"),c);return}}m&&b.hideDialo…
10356 …Url(d)?PROXY_URL+"?url="+encodeURIComponent(d):TEMPLATE_PATH+"/"+d;mxUtils.get(d,mxUtils.bind(this…
10357 …lientHeight||document.body.clientHeight)-80,800),null!=c.title?mxResources.get(c.title,null,c.titl…
10358 …t=f;da=!0;d.src="/images/aui-wait.gif";c.isExt?l(c,k,function(){x(mxResources.get("cantLoadPrev"));
10359 …Y){var d=function(c){t.isExternal?l(t,function(b){g(b,c)},p):t.url?mxUtils.get(TEMPLATE_PATH+"/"+t…
10360 …g=function(c,d){v||b.hideDialog(!0);e(c,d,t,f)},p=function(){x(mxResources.get("cannotLoad"));k()}…
10361get("diagramName"):mxResources.get("filename"),n=new FilenameDialog(b,b.defaultFilename+".drawio",…
10362 …Resources.get("diagram"));g.appendChild(p);p=document.createElement("th");p.style.width="25%";p.in…
10363get("lastModifiedOn"));g.appendChild(p);m.appendChild(g);ia.appendChild(m)}for(g=0;g<c.length;g++)…
10364 …ssName="geTempDlgDiagramListPreviewBtn";v.setAttribute("title",mxResources.get("preview"));l||t.ap…
10367 ….className="geTempDlgDiagramPreviewBtn";v.setAttribute("title",mxResources.get("preview"));l||A.ap…
10368get(x,null,x),ia.appendChild(l),G(c,f,d,null,!0))}function E(b,c){ea.innerHTML="";y();for(var f=Ma…
10370 …reateElement("div");m.className="geTempDlgNewDiagramCatItem";g=mxResources.get("showAllTemps");m.s…
10371 …=b.length<=f?"none":""}function D(b,c,f){function d(b,c){var f=mxResources.get(b);null==f&&(f=b.su…
10373 … 0 5px 0;text-align: center;margin-top: 10px;";mxUtils.write(f,mxResources.get("custom"));l.append…
10376 …,f.innerHTML=g.lbl;l.appendChild(f);e(m,g.lblOnly,k)}}function H(){mxUtils.get(c,function(b){if(!m…
10378 …,U.innerHTML=mxUtils.htmlEntities(mxResources.get("recentDiag")),fa=null,n(wa,function(){x(mxResou…
10380get("noResultsFor",[b]):G(d,!0)}}function L(b){if(fa!=b||aa!=ca)A(),ha.scrollTop=0,ia.innerHTML=""…
10381 …"'+mxResources.get("search")+'"></div><div class="geTemplatesList" style="display: none"><div clas…
10382get("templates")+'</div></div><div class="geTempDlgContent" style="width: 100%"><div class="geTemp…
10383get("myDiagrams")+'</span></div><div class="geTempDlgRadioBtn geTempDlgRadioBtnLarge geTempDlgRadi…
10384get("linkToDiagramHint")+'</span><button class="geTempDlgLinkToDiagram geTempDlgLinkToDiagramBtn">…
10389get("showMore")),E(va)):(V.style.height="440px",ea.style.height="355px",T.innerHTML=mxUtils.htmlEn…
10390 …[d].length;0==b.length&&0==c?ia.innerHTML=mxUtils.htmlEntities(mxResources.get("noDiagrams")):G(b,…
10392get("done"));var n="Unknown",f=document.createElement("img");f.setAttribute("border","0");f.setAtt…
10393get("dropbox"),f.src=IMAGE_PATH+"/dropbox-logo-white.svg"):e==b.oneDrive?(n=mxResources.get("oneDr…
10394 mxUtils.write(b,mxResources.get("authorizedIn",[n],"You are now authorized in {1}"));d=mxUtils.butt…
10395 …nt("label");l.setAttribute("for","fontdialog-sysfonts");mxUtils.write(l,mxResources.get("sysFonts",
10396 …style.width="120px";f.style.paddingLeft="15px";mxUtils.write(f,mxResources.get("fontname",null,"Fo…
10398 "fontdialog-googlefonts");mxUtils.write(l,mxResources.get("googleFonts",null,"Google Fonts"));f.app…
10399 "15px";mxUtils.write(f,mxResources.get("fontname",null,"Font Name")+":");n.appendChild(f);var v=doc…
10400 …");l.setAttribute("for","fontdialog-webfonts");mxUtils.write(l,mxResources.get("webfonts",null,"We…
10401 …style.width="120px";f.style.paddingLeft="15px";mxUtils.write(f,mxResources.get("fontname",null,"Fo…
10402 …style.width="120px";f.style.paddingLeft="15px";mxUtils.write(f,mxResources.get("fontUrl",null,"Fon…
10403get("help"),function(){b.openLink("https://www.diagrams.net/blog/external-fonts")}),e.className="g…
10404 …n";b.editor.cancelFirst&&f.appendChild(e);var B=mxUtils.button(mxResources.get("apply"),function()…
10407get("pages"));e.appendChild(k);d=document.createElement("div");d.className="geAspectDlgList";e.app…
10408 ….get("cancel"),function(){b.hideDialog();null!=g&&g()});k.className="geBtn";b.editor.cancelFirst&&…
10414 …createLayerItem=function(b,e,d,c){e=d.convertValueToString(b)||mxResources.get("background")||"Bac…
10417 …;d.style.fontSize="10pt";d.style.width="120px";mxUtils.write(d,mxResources.get("zoom")+":");e.appe…
10418 mxUtils.write(d,mxResources.get("borderWidth")+":");e.appendChild(d);var m=document.createElement("…
10419 …;d.style.fontSize="10pt";d.style.width="120px";mxUtils.write(d,mxResources.get("compressed")+":");…
10420 …e"),null!=k&&k.fileChanged());b.hideDialog()}}n=mxUtils.button(mxResources.get("apply"),d);n.class…
10421 "right");f=mxUtils.button(mxResources.get("cancel"),function(){b.hideDialog()});f.className="geBtn"…
10488 …ength)b=mxUtils.parseXml(d).documentElement;else throw{message:mxResources.get("notADiagramFile")}…
10493 …ementsByTagName("parsererror"):null;null!=d&&0<d.length&&(f=c||mxResources.get("invalidChars"),d=d…
10509 ….graph.extFonts=[])}b.apply(this,arguments)}else throw{message:mxResources.get("notADiagramFile")|…
10520 …(Editor.svgBrokenImage.src)}),this.timeout);if(/(\.svg)$/i.test(b))mxUtils.get(b,mxUtils.bind(this…
10525get(b,mxUtils.bind(this,function(b){if(200<=b.getStatus()&&299>=b.getStatus()){if(null!=c){var d=b…
10526 b):f({message:mxResources.get("error")+" "+b.getStatus()},b))}),function(b){null!=f&&f({message:mxR…
10543 …le()){var c=this.editorUi,f=c.editor.graph,d=this.createOption(mxResources.get("shadow"),function(…
10545 …();if(null!=d&&d.isAutosaveOptional()){var e=this.createOption(mxResources.get("autosave"),functio…
10546 …e=this.createOption(mxResources.get("mathematicalTypesetting"),function(){return f.mathEnabled},fu…
10571 …ionState(),f=mxUtils.button(mxResources.get("copyStyle"),mxUtils.bind(this,function(b){this.editor…
10572get("copyStyle")+" ("+this.editorUi.actions.get("copyStyle").shortcut+")");f.style.marginBottom="2…
10579 …r B=document.createElement("td");B.className="gePropRowCell";y=mxResources.get(y,null,y);mxUtils.w…
10580get(y.dispName,null,y.dispName));break}mxEvent.addListener(B,"click",mxUtils.bind(q,function(){var…
10584 ….style.verticalAlign="middle";v.appendChild(B);mxUtils.write(v,mxResources.get("property"));u.styl…
10586 v.innerHTML=mxResources.get("value");u.appendChild(v);y.appendChild(u);var x=!1,C=!1,u=null;1==f.ve…
10600 …etSelectionState(),f=null;1==c.cells.length&&(f=mxUtils.button(mxResources.get("editStyle"),mxUtil…
10601get("editStyle").funct()})),f.setAttribute("title",mxResources.get("editStyle")+" ("+this.editorUi…
10602get("editShape")),c.style.marginBottom="2px",null==f?c.style.width="210px":(f.style.width="104px",…
10613 …Editor.visibleImage:Editor.hiddenImage);t.setAttribute("title",mxResources.get(l?"hideIt":"show",[…
10616 …t.setAttribute("src",Editor.crossImage);t.setAttribute("title",mxResources.get("removeIt",[b]));mx…
10617 …ltChecked;n.style.background="transparent";n.setAttribute("title",mxResources.get(n.defaultChecked?
10619 …es.get("reset"),function(b){m.hiddenTags=[];mxEvent.isShiftDown(b)||(g=m.hiddenTags.slice());d();m…
10620 …=mxUtils.button(mxResources.get("add"),function(){null!=f&&f(g,function(b){g=b;n()})});t.setAttrib…
10665 c.view.translate=new mxPoint(0,0),c.view.scale=1);var t=c.getGraphBounds(),n=0,y=0,u=M.get(),v=1/c.…
10671 …,g,A.checked,H.value,Q.value,parseInt(B.value)/100,parseInt(K.value)/100,M.get());else{k&&(k=m==p&…
10673 …Child(m.container)}}else t=f(e);null==t?b.handleError({message:mxResources.get("errorUpdatingPrevi…
10674 ….textAlign="center";m.style.marginTop="0px";mxUtils.write(m,c||mxResources.get("print"));l.appendC…
10675get("printAllPages"));k.appendChild(m);mxUtils.br(k);var t=q.cloneNode(!0);q.setAttribute("checked…
10676 mxUtils.write(m,mxResources.get("to"));k.appendChild(m);var y=n.cloneNode(!0);k.appendChild(y);mxEv…
10677 …ppendChild(v);m=document.createElement("span");mxUtils.write(m,mxResources.get("adjustTo"));u.appe…
10679get("fitTo"));var H=document.createElement("input");H.style.cssText="margin:0 8px 0 8px;";H.setAtt…
10680get("fitToBy"));var Q=H.cloneNode(!0);I.appendChild(Q);mxEvent.addListener(H,"focus",function(){A.…
10681get("paperSize"));k.appendChild(m);m=document.createElement("div");m.style.marginBottom="12px";var…
10682 …s.get("cancel"),function(){b.hideDialog()});k.className="geBtn";b.editor.cancelFirst&&m.appendChil…
10683 …tton(mxResources.get("preview"),function(){b.hideDialog();d(!1)}),u.className="geBtn",m.appendChil…
10711 …tePageRoot(new DiagramPage(d[e]));null==g.getName()&&g.setName(mxResources.get("pageWithNumber",[e…
10712 …nerDocument.createElement("diagram")),this.currentPage.setName(mxResources.get("pageWithNumber",[1…
10725 …{message:mxResources.get("busy")}):!b&&c.invalidChecksum?c.handleFileError(null,!0):this.spinner.s…
10734 …var c=Editor.extractParserError(b,mxResources.get("invalidOrMissingFile"));if(c)throw Error(mxReso…
10735 …e("id",d),b=new DiagramPage(c[d]),null==b.getName()&&b.setName(mxResources.get("pageWithNumber",[d…
10736 …nerDocument.createElement("diagram")),this.currentPage.setName(mxResources.get("pageWithNumber",[1…
10739get("export")))"xmlpng"==b?l=f+".png":"jpeg"==b&&(l=f+".jpg"),this.saveRequest(l,b,mxUtils.bind(th…
10740 mxResources.get("error"),mxUtils.bind(this,function(){mxUtils.popup(p)}))});if("svg"==b){var q=this…
10741 …dth*l.height>MAX_AREA||d.length>MAX_REQUEST_SIZE)throw{message:mxResources.get("drawingTooLarge")}…
10745 …this.updateDiagram(b.getText()),k()):this.handleError({message:mxResources.get("error")+" "+b.getS…
10751 …Seconds(),f=f+(" "+(e+"-"+g+"-"+k+"-"+n+"-"+A+"-"+l));return f=mxResources.get("copyOf",[f])+d};Ed…
10752 …"none",this.fname.innerHTML="",this.fname.setAttribute("title",mxResources.get("rename")));this.ed…
10754 this.editor.setStatus('<span class="geStatusAlert">'+mxUtils.htmlEntities(mxResources.get("readOnly…
10755 …File.opened",[b]);"1"==urlParams.viewerOnlyMsg&&this.showAlert(mxResources.get("viewerOnlyMsg"));i…
10756 …urces.get("reconnecting"))?window.location.search=this.getSearch(["url"]):null!=f?this.fileLoaded(…
10763 …,f.documentElement.getAttribute("title"),c)}else throw{message:mxResources.get("notALibraryFile")}…
10764 …reateElement("div"),l.className="geDropTarget",mxUtils.write(l,mxResources.get("dragElementsHere")…
10766 n.setAttribute("title",mxResources.get("close"));n.setAttribute("valign","absmiddle");n.setAttribut…
10767 null!=B?this.confirm(mxResources.get("allChangesLost"),null,f,mxResources.get("cancel"),mxResources…
10768get("saving")),C.style.cursor="default",C.style.marginRight="2px",C.style.marginTop="-2px",p.inser…
10770 …)?(y.getRubberband().execute(b),y.getRubberband().reset()):this.showError(mxResources.get("error"),
10771 mxResources.get("nothingIsSelected"),mxResources.get("ok"));else{var c=y.getSelectionCells(),f=y.vi…
10776 …andler:",ca)}u||(this.spinner.stop(),this.handleError({message:mxResources.get("errorLoadingFile")…
10777 …this.handleError({message:mxResources.get(413==b.status?"drawingTooLarge":"invalidOrMissingFile")}…
10778get("edit"));p.insertBefore(n,p.firstChild);mxEvent.addListener(n,"click",F);mxEvent.addListener(g…
10779 (e=document.createElement("span"),e.setAttribute("title",mxResources.get("help")),e.style.cssText="…
10787 …tyle.fontSize="18px";d.style.marginRight="5px";mxUtils.write(c,mxResources.get("moreShapes")+"..."…
10788 "click",mxUtils.bind(this,function(b){this.actions.get("shapes").funct();mxEvent.consume(b)}));b.ap…
10789get("unknownError"));var m=mxResources.get("ok"),p=null;c=null!=c?c:mxResources.get("error");if(nu…
10791get("openInNewWindow"),mxUtils.bind(this,function(){this.editor.graph.openLink("https://drive.goog…
10792get("addAccount"));f.value=c.length;e.appendChild(f)}var c=this.drive.getUsersList(),f=document.cr…
10793 ….substr(1),!0)}));this.showDialog(f.container,300,100,!0,!0)}),mxResources.get("cancel"),mxUtils.b…
10794get("timeout")):l.code==App.ERROR_BUSY?n=mxUtils.htmlEntities(mxResources.get("busy")):"string"===…
10795get("contactOwner"),n+=mxUtils.htmlEntities(" ("+k+": "+l.ownerEmail+")"),t=mxUtils.bind(this,func…
10798 …bute("src",Dialog.prototype.closeImage);f.setAttribute("title",mxResources.get(e?"doNotShowAgain":…
10799 …setAttribute("for","geDoNotShowAgainCheckbox");mxUtils.write(g,mxResources.get("doNotShowAgain"));…
10802 …tor.writeGraphModelToPng(b,"pHYs","dpi",e));else throw{message:mxResources.get("unknownError")};re…
10803 …alog=function(b,c){var f=new TextareaDialog(this,b,c,null,null,mxResources.get("close"));f.textare…
10809 …,mxUtils.bind(this,function(){this.hideDialog()}),mxResources.get("saveAs"),mxResources.get("downl…
10815 Editor.tagsImage,mxResources.get("tags"));this.editor.graph.getModel().addListener(mxEvent.CHANGE,m…
10820 …ointer";b.style.backgroundColor="white";b.setAttribute("title",mxResources.get("openInNewWindow"))…
10821 …ild(this.exportDialog)}mxEvent.consume(b)}),Editor.cameraImage,mxResources.get("export"))}};Editor…
10823get("saving"))&&l.send(mxUtils.bind(this,function(){this.spinner.stop();if(200<=l.getStatus()&&299…
10824 …,mxUtils.bind(this,function(){this.hideDialog()}),mxResources.get("saveAs"),mxResources.get("downl…
10825 …,c,d,e,g,k,n,v,x,A,z,B,y,C){if(this.spinner.spin(document.body,mxResources.get("export")))try{var …
10826 …b,"image/svg+xml"):this.handleError({message:mxResources.get("drawingTooLarge")},mxResources.get("…
10829get("edit")+":",!0,null,!0);f.style.marginLeft="24px";var d=this.getCurrentFile(),e="";null!=d&&d.…
10830get("custom")+"...");l.appendChild(d);b.appendChild(l);mxEvent.addListener(l,"change",mxUtils.bind…
10832get("links")+":");var d=document.createElement("select");d.style.width="100px";d.style.marginLeft=…
10833get("openInThisWindow"));d.appendChild(e);c&&(e=document.createElement("option"),e.setAttribute("v…
10840 "nowrap";var l=document.createElement("h3");mxUtils.write(l,mxResources.get("html"));l.style.cssTex…
10841 …rces.get("includeCopyOfMyDiagram"));g.appendChild(k);mxUtils.br(g);g.appendChild(m);k=document.cre…
10842get("share")),g.appendChild(k),mxEvent.addListener(k,"click",mxUtils.bind(this,function(){this.hid…
10843get("fit"),!0),g=null!=this.pages&&1<this.pages.length,F=F=this.addCheckbox(f,mxResources.get("all…
10845 f.style.whiteSpace="nowrap";var l=document.createElement("h3");mxUtils.write(l,b||mxResources.get("…
10846get("linkAccountRequired"));l.appendChild(p);p=mxUtils.button(mxResources.get("share"),mxUtils.bin…
10847get("loading"))&&this.getPublicUrl(this.getCurrentFile(),mxUtils.bind(this,function(b){this.spinne…
10848 …nBottom="10px",q.value="100%",f.appendChild(q),mxUtils.write(f,mxResources.get("height")+":"),t=do…
10849get("allPages"),d,!d);var G=this.addCheckbox(f,mxResources.get("lightbox"),!0,null,null,!k),E=this…
10851get("create"),n);this.showDialog(c.container,340,300+b,!0,!0);null!=q?(q.focus(),mxClient.IS_GC||m…
10852get("zoom")+":");var m=document.createElement("input");m.setAttribute("type","text");m.style.margi…
10853get("selectionOnly"),!1,this.editor.graph.isSelectionEmpty()),n=e?null:this.addCheckbox(f,mxResour…
10855get("zoom")+":");var q=document.createElement("input");q.setAttribute("type","text");q.style.margi…
10856 "0";f.appendChild(t);mxUtils.br(f);var u=this.addCheckbox(f,mxResources.get("selectionOnly"),!1,l.i…
10857get(b[p]));H.setAttribute("value",b[p]);D.appendChild(H)}x?(mxUtils.write(f,mxResources.get("size"…
10858get("transparentBackground"),!1,null,null,"jpeg"!=v),M=null;Editor.isDarkMode()&&(M=this.addCheckb…
10859 …ild(Q),mxUtils.write(f,mxResources.get("embedImages")),mxUtils.br(f),f.appendChild(P),mxUtils.writ…
10860get("grid"),!1,this.isOffline()||!this.canvasSupported,!1,!0),m+=30;var X=this.addCheckbox(f,mxRes…
10861get("openInNewWindow"));J.appendChild(c);c=document.createElement("option");c.setAttribute("value"…
10863get("fit"),!0),p=this.addCheckbox(f,mxResources.get("shadow"),l.shadowVisible&&e,!e),n=this.addChe…
10865 y.getLink(),G.checked)}),null,mxResources.get("embed"),g);this.showDialog(c.container,280,300,!0,!0…
10867 …f(b)}),null,null,null,mxUtils.bind(this,function(b){v({message:mxResources.get("unknownError")})})…
10868 …ng;base64,"+q.getText()):v({message:mxResources.get("unknownError")})}))}else v({message:mxResourc…
10872get("years");c=Math.floor(b/2592E3);if(1<c)return c+" "+mxResources.get("months");c=Math.floor(b/8…
10873 …alVariable=function(b){return"page"==b?f.getAttribute("name")||mxResources.get("pageWithNumber",[1…
10879 …,A,z,B,y){x=null!=x?x:"png";if(this.spinner.spin(document.body,mxResources.get("exporting"))){var …
10881 ….pages.length&&this.isDiagramEmpty()&&this.currentPage.getName()==mxResources.get("pageWithNumber",
10883 G.getName()&&G.setName(mxResources.get("pageWithNumber",[E+1]));l.model.execute(new ChangePage(this…
10887 …ine())d({message:"conf"==this.getServiceName()?mxResources.get("vsdNoConfig"):mxResources.get("ser…
10888 …nd(this,function(b){try{c(b.target.result)}catch(F){d({message:mxResources.get("errorLoadingFile")…
10889 …ch(B){d(B)}}else this.spinner.stop(),this.handleError({message:mxResources.get("serviceUnavailable…
10890 …tch(q){d(q)}else this.spinner.stop(),this.handleError({message:mxResources.get("serviceUnavailable…
10891 …ssage:mxResources.get("unknownError")})}catch(m){this.handleError(m)}else this.spinner.stop(),this…
10892 …){null!=window.console&&console.error(q),d(q)}}else d({message:mxResources.get("serviceUnavailable…
10895 …onvertDataUri(Editor.createSvgDataUri(b)),l,g)}else e({message:mxResources.get("invalidInput")})}c…
11554 …n(b){if(null!=b)for(var c=0;c<b.length;c++)if(!g[b[c]])throw Error(mxResources.get("invalidInput")+
11555 ….hash="",alert(y)}else l=l.merge}confirm(mxResources.get("configLinkWarn"))&&confirm(mxResources.g…
11581 …i.prototype.init.apply(this,arguments);this.defaultLibraryName=mxResources.get("untitledLibrary");…
11588 ….bind(this,function(b){this.showBanner("AddToHomeScreenFooter",mxResources.get("installApp"),funct…
11590get("timeout")),this.editor.setStatus('<div title="'+b+'" class="geStatusAlert">'+b+"</div>"));Edi…
11592 …GE_PATH+"/logo-flat-small.png"),this.icon.setAttribute("title",mxResources.get("draw.io")),this.ic…
11596get("ensureDataSaved");null!=b.lastSaved&&(e=this.timeSince(b.lastSaved),null==e&&(e=mxResources.g…
11599 …wnloadDesktopBanner=function(){this.showBanner("DesktopFooter",mxResources.get("downloadDesktop"),…
11601 …bute("src",Dialog.prototype.closeImage);e.setAttribute("title",mxResources.get("close"));e.setAttr…
11610 …){EditorUi.prototype.updateActionStates.apply(this,arguments);this.actions.get("revisionHistory").…
11613get("allChangesLost");var b=this.getCurrentFile();if(null!=b)if(b.constructor!=LocalFile||""!=b.ge…
11621get("openIt",[mxResources.get("googleDrive")])),this.appIcon.style.cursor="pointer"):e==App.MODE_D…
11622 ….MODE_ONEDRIVE?(this.appIcon.setAttribute("title",mxResources.get("openIt",[mxResources.get("oneDr…
11629 …(){if("1"!=urlParams.embed){if(this.spinner.spin(document.body,mxResources.get("starting"))){try{t…
11631get("externalChanges"),e||mxResources.get("redirectToNewApp"),mxResources.get("refresh"),mxUtils.b…
11634 …tyle.display="block";b.setAttribute("title",mxResources.get("close"));b.innerHTML=mxResources.get(…
11636 …t: "+(null!=c?c:""),d,e,g,m,null,!0),b.handleError({message:c},mxResources.get("unknownError"),nul…
11638get("errorLoadingFile"),mxUtils.bind(this,function(){var b=this.getCurrentFile();window.location.h…
11639 mxResources.get("errorLoadingFile"))}else if((null==window.location.hash||1>=window.location.hash.l…
11641 …ow.opener.openFile}catch(l){}d?this.spinner.spin(document.body,mxResources.get("loading")):(d=this…
11643 …(document.body,mxResources.get("loading"))){var c=mxUtils.bind(this,function(){this.spinner.spin(d…
11645get("errorLoadingFile"))}catch(k){this.handleError(k,mxResources.get("errorLoadingFile"))}else thi…
11647 …tle?decodeURIComponent(urlParams.title):this.defaultFilename):this.actions.get("new").funct()):(nu…
11650get("selectDraft"):mxResources.get("draftFound",[e.toLocaleDateString()+" "+e.toLocaleTimeString()…
11651 null!=c&&c()}),mxResources.get("no"),mxResources.get("yes"))}),null,null,null,1<d.length?d:null),th…
11653 …)});if(this.editor.isChromelessView())this.handleError({message:mxResources.get("noFileSelected")},
11654 mxResources.get("errorLoadingFile"),mxUtils.bind(this,function(){this.showSplash()}));else if(mxCli…
11655 …){var d=null;if(null!=this.menus.get("language")){d=document.createElement("div");d.setAttribute("…
11656get("language"));d.appendChild(c)}mxEvent.addListener(d,"click",mxUtils.bind(this,function(b){this…
11660 …;c<this.editor.diagramFileTypes.length;c++){var g={description:mxResources.get(this.editor.diagram…
11662 …nction(b){null!=b&&0<b.length&&this.spinner.spin(document.body,mxResources.get("loading"))&&this.l…
11665 …&f.isModified()?this.confirm(mxResources.get("allChangesLost"),null,e,mxResources.get("cancel"),mx…
11668get("errorLoadingFile"))}else this.spinner.spin(document.body,mxResources.get("loading"))&&e.getLi…
11669 …rary(this,c.target.result,b.name))}catch(l){this.handleError(l,mxResources.get("errorLoadingFile")…
11671 …s,c,d):new LocalLibrary(this,c,d))}catch(n){this.handleError(n,mxResources.get("errorLoadingFile")…
11672get("errorSavingFile"):null)});null==d&&c==App.MODE_DEVICE&&(d=new LocalLibrary(this,f,b));if(null…
11673get("inserting"))?this.gitHub.insertLibrary(b,f,mxUtils.bind(this,function(b){this.spinner.stop();…
11674get("inserting"))?this.notion.insertLibrary(b,f,mxUtils.bind(this,function(b){this.spinner.stop();…
11675get("inserting"))?this.dropbox.insertLibrary(b,f,mxUtils.bind(this,function(b){this.spinner.stop()…
11676get("replaceIt",[b]),d)):this.handleError({message:mxResources.get("serviceUnavailableOrBlocked")}…
11678 …()!=App.MODE_DEVICE?this.editor.setStatus(mxUtils.htmlEntities(mxResources.get("allChangesSaved"))…
11679 …(b,e,f){null!=b&&0<b.length&&(/(\.pdf)$/i.test(b)?this.confirm(mxResources.get("didYouMeanToExport…
11680get("exportPdf").funct()}),mxUtils.bind(this,function(){f.value=b.split(".").slice(0,-1).join(".")…
11682 …,mxUtils.bind(this,function(){this.hideDialog()}),mxResources.get("saveAs"),mxResources.get("downl…
11687 …ull!=c?c:this.mode;if(null!=b&&this.spinner.spin(document.body,mxResources.get("inserting"))){e=nu…
11691 …EVICE&&(k+="#"+b.getHash());if(this.spinner.spin(document.body,mxResources.get("inserting"))){var …
11693 …sModified()?l():this.confirm(mxResources.get("allChangesLost"),null,l,mxResources.get("cancel"),mx…
11695 …ces.get("loading")))if("L"==b.charAt(0))if(this.spinner.stop(),isLocalStorage){var f=mxUtils.bind(…
11696 …age:mxResources.get("fileNotFound")})}),f)}else this.handleError({message:mxResources.get("service…
11698get("serviceUnavailableOrBlocked")},mxResources.get("errorLoadingFile")):this.remoteInvoke("getDra…
11699 mxResources.get("errorLoadingFile"))}));else if("U"==b.charAt(0)){var k=decodeURIComponent(b.substr…
11700 …)}));return!0}return!1});!b()&&this.spinner.spin(document.body,mxResources.get("loading"))&&this.a…
11701 …rces.get("fileNotFound")},mxResources.get("errorLoadingFile"))}else n()||this.handleError({message…
11702get("fileNotFound")},mxResources.get("errorLoadingFile")))}),null!=urlParams["template-filename"]?…
11703 mxResources.get("errorLoadingFile"),mxUtils.bind(this,function(){var b=this.getCurrentFile();window…
11704get("copyCreated"),this.editor.setStatus('<div title="'+d+'" class="geStatusAlert">'+d+"</div>"));…
11705 …urces.get("allChangesLost"),mxUtils.bind(this,function(){null!=n&&(window.location.hash=n.getHash(…
11706get("googleDrive")+")":b.constructor==GitHubLibrary?e+=" ("+mxResources.get("github")+")":b.constr…
11707 mxResources.get("browser")+")":b.constructor==LocalLibrary&&(e+=" ("+mxResources.get("device")+")")…
11714 …ent.createElement("a"),this.commentButton.setAttribute("title",mxResources.get("comments")),this.c…
11715 …tener(this.commentButton,"click",mxUtils.bind(this,function(){this.actions.get("comments").funct()…
11717 …n.style.cssFloat="right",this.shareButton.setAttribute("title",mxResources.get("share")),b=documen…
11718 …shareButton,mxResources.get("share")),mxEvent.addListener(this.shareButton,"click",mxUtils.bind(th…
11720 Date.now()?(this.fetchingNotif=!0,mxUtils.get(NOTIFICATIONS_URL,mxUtils.bind(this,function(b){200<=…
11725 "header";c=document.createElement("span");c.className="title";c.textContent=mxResources.get("notifi…
11727 …es.get("lessThanAMinute"));d.innerHTML='<div class="circle'+(c.isNew?" active":"")+'"></div><span …
11729 …s.getCurrentFile();if(null!=d&&this.spinner.spin(document.body,mxResources.get("saving"))){this.ed…
11732get("saving"))&&this.dropbox.insertFile(e,c?this.base64ToBlob(b,d):b,mxUtils.bind(this,function(){…
11733get("saving"))&&this.oneDrive.insertFile(e,c?this.base64ToBlob(b,d):b,mxUtils.bind(this,function()…
11734get("saving"))&&this.gitLab.insertFile(e,b,mxUtils.bind(this,function(){this.spinner.stop()}),mxUt…
11735 ….setItem(e,b)}),null==localStorage.getItem(e)?d():this.confirm(mxResources.get("replaceIt",[e]),d)…
11736 …ls.write(this.fname,e);this.fname.setAttribute("title",e+" - "+mxResources.get("rename"))}var e=th…
11740 …{g(new LocalFile(this,b,l,!0))}),k,e)}else null!=k&&k({message:mxResources.get("errorLoadingFile")…
11741 …g(new LocalFile(this,b.responseText,l,!0)):null!=k&&k({message:mxResources.get("errorLoadingFile")…
11742 ….test(e)||/\.pdf$/i.test(e)||null!=d&&"image/"==d.substring(0,6);m?mxUtils.get(b,mxUtils.bind(this…
11751 this.fname.setAttribute("title",mxResources.get("rename"));this.fname.className="geItem";this.fname…
11752 this.editor.graph.stopEditing(),this.actions.get("rename").funct());mxEvent.consume(b)}));this.fnam…
11753 mxResources.get("formatPanel")+" ("+Editor.ctrlKey+"+Shift+P)");this.toggleFormatElement.style.posi…
11755get("formatPanel").funct();mxEvent.consume(b)}));var e=mxUtils.bind(this,function(){this.toggleFor…
11758 …ent.createElement("a"),this.toggleElement.setAttribute("title",mxResources.get("collapseExpand")),…
11768 …bute("src",Dialog.prototype.closeImage);d.setAttribute("title",mxResources.get("close"));d.classNa…
11771get("default")+")":""));null!=b.email&&(mxUtils.br(d),f=document.createElement("small"),f.style.co…
11772 …()}),mxUtils.bind(this,function(b){this.handleError(b)}),!0)}),mxResources.get("closingFile")+"...…
11773 …224, 224)";n=mxUtils.button(mxResources.get("signOut"),mxUtils.bind(this,function(){this.confirm(m…
11774get("signOut"))}))}));n.className="geBtn";n.style["float"]="right";d.appendChild(n);n=mxUtils.butt…
11777 …="10px";b.style.whiteSpace="nowrap";null!=e&&(e=mxUtils.button(mxResources.get("signOut"),e),e.cla…
11778 …ources.get("allChangesLost"),null,c,mxResources.get("cancel"),mxResources.get("discardChanges")):c…
11779 …ources.get("allChangesLost"),null,c,mxResources.get("cancel"),mxResources.get("discardChanges")):c…
11780 …sources.get("allChangesLost"),null,c,mxResources.get("cancel"),mxResources.get("discardChanges")):…
11781 …sources.get("allChangesLost"),null,c,mxResources.get("cancel"),mxResources.get("discardChanges")):…
11782get("allChangesLost"),null,c,mxResources.get("cancel"),mxResources.get("discardChanges")):c()}else…
11783get("cancel"),mxResources.get("discardChanges")):c()}else this.trello.logout()}),mxResources.get("…
11784get("share"),mxUtils.bind(this,function(){this.actions.get("share").funct()})),n.className="geBtn"…
11789 …b){var c=document.createElement("span");c.setAttribute("title",mxResources.get("help"));c.style.cs…
11795 …!0,!1,null,!1,!0)}});c.actions.put("insertTemplate",new Action(mxResources.get("template")+"...",f…
11796 …Cell())}},null,null,null,null,null,null,null,null,null,null,!1,mxResources.get("insert"));c.showDi…
11800 …;window.mxFreehand&&(c.actions.put("insertFreehand",new Action(mxResources.get("freehand")+"...",f…
11801get("formatXml")+"...",function(){var b=document.createElement("div");b.style.whiteSpace="nowrap";…
11802get("selectionOnly"),!1,g.isSelectionEmpty()),k=c.addCheckbox(b,mxResources.get("compressed"),!0),…
11803get("url")+"...",function(){c.showPublishLinkDialog(mxResources.get("url"),!0,null,null,function(b…
11804 function(b){c.spinner.stop();c.showHtmlDialog(mxResources.get("export"),null,b,function(b,d,e,f,g,k…
11805get("formatPdf")+"...",function(){if(EditorUi.isElectronApp||!c.isOffline()&&!c.printPdfExport){va…
11806 …ue))))},n=c.addRadiobox(d,"pages",mxResources.get("allPages"),!0),p=c.addRadiobox(d,"pages",mxReso…
11807 …dChild(q);var t=document.createElement("span");mxUtils.write(t,mxResources.get("to"));d.appendChil…
11808get("selectionOnly"),!1,g.isSelectionEmpty()),x=c.addCheckbox(d,mxResources.get("crop"),!1,!0),z=c…
11809get("crop"),!g.pageVisible||!c.pdfPageExport,!c.pdfPageExport),z=c.addCheckbox(d,mxResources.get("…
11810 …d,d)}),null,mxResources.get("export"));c.showDialog(d.container,300,e,!0,!0)}else c.showDialog((ne…
11811 …=d&&d.isModified()?c.confirm(mxResources.get("allChangesLost"),null,b,mxResources.get("cancel"),mx…
11812get("editShape")+":",630,400),c.showDialog(b.container,640,480,!0,!1),b.init())}}));c.actions.addA…
11813get("error"),mxResources.get("notAvailable"),mxResources.get("ok"))});c.actions.addAction("createR…
11817get("backgroundImage")+"...",function(){if(!c.isOffline()){var b=new BackgroundImageDialog(c,funct…
11818 …ction(mxResources.get("formatPng")+"...",function(){c.isExportToCanvas()?c.showExportDialog(mxReso…
11819get("export"),null,mxUtils.bind(this,function(b,d,e,f,g){c.downloadFile(d?"xmlpng":"png",null,null…
11820 …xClient.IS_IOS&&navigator.standalone||c.showRemoteExportDialog(mxResources.get("export"),null,mxUt…
11821get("shadow"),function(){g.setShadowVisible(!g.shadowVisible)}));p.setToggleAction(!0);p.setSelect…
11822 …..",function(){c.handleError({message:mxResources.get("exportOptionsDisabledDetails")},mxResources…
11827get("formatVsdx")+" (beta)...",function(){var b=null==c.pages||1>=c.pages.length;if(b)c.exportVisi…
11828get("allPages"),!b,b);f.style.marginBottom="16px";b=new CustomDialog(c,d,mxUtils.bind(this,functio…
11829get("restartForChangeRequired"))}catch(G){c.handleError(G)}})}]];EditorUi.isElectronApp||d.push([m…
11830get("configuration")+":",null!=b?JSON.stringify(JSON.parse(b),null,2):"",function(b){if(null!=b)tr…
11831get("automatic"):mxLanguageMap[e],g=null;""!=f&&(g=b.addItem(f,null,mxUtils.bind(this,function(){m…
11832 …lParams.noLangIcon){var d=this.get("language");if(null!=d){d=c.addMenu("",d.funct);d.setAttribute(…
11835 …!0,!0);b.init()});var p=this.get("layout"),v=p.funct;p.funct=function(b,d){v.apply(this,arguments)…
11836 …dingOrgChart||c.isOffline(!0)?k():c.spinner.spin(document.body,mxResources.get("loading"))&&(c.loa…
11837 …e.display="inline-block";m.style.width="140px";mxUtils.write(m,mxResources.get("orgChartType")+": …
11838get("linear"),mxResources.get("hanger2"),mxResources.get("hanger4"),mxResources.get("fishbone1"),m…
11839get("parentChildSpacing")+": ");l.appendChild(m);var q=document.createElement("input");q.type="num…
11840 …tainer,355,140,!0,!0)},d,null,k());b.addSeparator(d);b.addItem(mxResources.get("parallels"),null,m…
11841 ….addSeparator(d);c.menus.addMenuItem(b,"runLayout",d,null,null,mxResources.get("apply")+"...")};th…
11855get("shape")+"...",function(b){g.isEnabled()&&(b=new mxCell("",new mxGeometry(0,0,120,120),c.defau…
11856get("html")+"...",function(){c.spinner.spin(document.body,mxResources.get("loading"))&&c.getPublic…
11857get("preview"))+'</title><meta charset="utf-8"></head>');f.writeln("<body>");f.writeln(b);var g=mx…
11858 …;k.parentNode.removeChild(k)},20)}}else c.handleError({message:mxResources.get("errorUpdatingPrevi…
11859get("loading"))&&c.getPublicUrl(c.getCurrentFile(),function(d){c.spinner.stop();null!=d?(d=new Emb…
11860get("image")+"...",function(){c.showEmbedImageDialog(function(b,d,e,f,g,k){c.spinner.spin(document…
11861get("loading"))&&c.createEmbedSvg(b,d,e,f,g,k,function(b){c.spinner.stop();b=new EmbedDialog(c,b);…
11862 …Resources.get("iframe"),null,"100%",Math.ceil(b.height/g.view.scale)+2,function(b,d,e,f,g,k,l,m,n)…
11863get("notion")+"...",function(){c.showPublishLinkDialog(mxResources.get("notion"),null,null,null,fu…
11864 null,null,null,function(b,d,e,f,g,k,l,m,n){c.spinner.spin(document.body,mxResources.get("loading"))…
11865 …ction("googleSites...",function(){c.spinner.spin(document.body,mxResources.get("loading"))&&c.getP…
11866 …e&&(mxSettings.settings.search=!b,mxSettings.save())});p.label=mxResources.get("searchShapes");p.s…
11867 "1"==urlParams.embed&&(c.actions.get("save").funct=function(b){g.isEditing()&&g.stopEditing();var d…
11868 …xit",function(){c.actions.get("save").funct(!0)}).label="1"==urlParams.publishClose?mxResources.ge…
11869 …;c.editor.modified?c.confirm(mxResources.get("allChangesLost"),null,b,mxResources.get("cancel"),mx…
11870 …his.addMenuItem(b,"export",d).firstChild.nextSibling.innerHTML=mxResources.get("advanced")+"...")}…
11871get("loading"))&&b.getFile(d,function(b){var d="data:image/"==b.getData().substring(0,11)?p(b.getT…
11873 …()}):n()}),mxUtils.bind(this,function(){c.handleError({message:mxResources.get("cannotOpenFile")})…
11874get("googleDrive")+"...",null,function(){e(c.drive)},d):n&&"function"===typeof window.DriveClient&…
11875get("dropbox")+"...",null,function(){e(c.dropbox)},d):f&&"function"===typeof window.DropboxClient&…
11876get("notion")+"...",null,function(){e(c.notion)},d));null!=c.trello?b.addItem(mxResources.get("tre…
11877get("url")+"...",null,function(){var b=new FilenameDialog(c,"",mxResources.get("import"),function(…
11878get("url"));c.showDialog(b.container,300,80,!0,!0);b.init()},d))}))).isEnabled=k;this.put("theme",…
11879get("restartForChangeRequired"))},d);"kennedy"==e&&b.addCheckmark(f,Editor.checkmarkImage);f=b.add…
11880get("dark"),null,function(){mxSettings.setUi("dark");c.alert(mxResources.get("restartForChangeRequ…
11881 ….editorUi.defaultFilename,d=new FilenameDialog(this.editorUi,d,mxResources.get("rename"),mxUtils.b…
11882get("renaming"))&&b.rename(c,mxUtils.bind(this,function(b){this.editorUi.spinner.stop()}),mxUtils.…
11884get("saving"))&&b.saveAs(d,mxUtils.bind(this,function(d){b.desc=d;b.save(!1,mxUtils.bind(this,func…
11886get("moving"))&&b.move(d,mxUtils.bind(this,function(b){c.spinner.stop()}),mxUtils.bind(this,functi…
11890get("text"),function(){g.isEnabled()&&!g.isCellLocked(g.getDefaultParent())&&g.startEditingAtCell(…
11891get("ellipse"),function(){g.isEnabled()&&!g.isCellLocked(g.getDefaultParent())&&A("",80,80,"ellips…
11892 …f<e.length;f++)"-"==e[f]?b.addSeparator(d):c.addInsertItem(b,d,mxResources.get(e[f])+"...",e[f])})…
11893get("layout"));this.addSubmenu("insertAdvanced",b,d,mxResources.get("advanced"))})));this.put("ins…
11894 …m(e.title+" ("+mxResources.get(f)+")",null,function(){c.loadFile(e.id)},d)})(e[f]);b.addSeparator(…
11895get("googleDrive")+"...",null,function(){c.pickFile(App.MODE_GOOGLE)},d):n&&"function"===typeof wi…
11896get("dropbox")+"...",null,function(){c.pickFile(App.MODE_DROPBOX)},d):f&&"function"===typeof windo…
11897get("notion")+"...",null,function(){c.pickFile(App.MODE_NOTION)},d));null!=c.trello?b.addItem(mxRe…
11898get("device")+"...",null,function(){c.pickFile(App.MODE_DEVICE)},d);c.isOffline()||(b.addSeparator…
11899get("url"));c.showDialog(b.container,300,80,!0,!0);b.init()},d))}));Editor.enableCustomLibraries&&…
11900get("oneDrive")+"...",null,function(){c.showLibraryDialog(null,null,null,null,App.MODE_ONEDRIVE)},…
11901get("loading")+"...)",null,function(){},d,null,!1);b.addSeparator(d);null!=c.gitHub&&b.addItem(mxR…
11902get("trello")+"...",null,function(){c.showLibraryDialog(null,null,null,null,App.MODE_TRELLO)},d):m…
11903get("googleDrive")+"...",null,function(){c.pickLibrary(App.MODE_GOOGLE)},d):n&&"function"===typeof…
11904get("oneDrive")+" ("+mxResources.get("loading")+"...)",null,function(){},d,null,!1);null!=c.dropbo…
11905get("github")+"...",null,function(){c.pickLibrary(App.MODE_GITHUB)},d);null!=c.gitLab&&b.addItem(m…
11906get("loading")+"...)",null,function(){},d,null,!1);b.addSeparator(d);isLocalStorage&&"0"!=urlParam…
11907get("loading"))){var d=b;c.editor.isCorsEnabledForUrl(b)||(d=PROXY_URL+"?url="+encodeURIComponent(…
11908get("url"));c.showDialog(b.container,300,80,!0,!0);b.init()},d));"1"==urlParams.confLib&&(b.addSep…
11910 …ow&&(this.commentsWindow.destroy(),this.commentsWindow=null)}));var p=this.get("viewPanels"),z=p.f…
11928 …e,p[k].url,!0,p[k].label,p[k].url);d.addSeparator(e)}d.addItem(mxResources.get("reset"),null,mxUti…
11930get("reset"),null,mxUtils.bind(this,function(){var d=new b(this.editorUi,[],[]);c.editor.graph.mod…
11931 …!=e&&(f=e.find(function(b){return b.name==c})),e=null!=f?f.url:mxResources.get("urlNotFound",null,…
11971 …tName();null!=d&&0<d.length&&(b[d]=d)}e=this.pages.length;do d=mxResources.get("pageWithNumber",[+…
11972 …th&&(c=this.insertPage(),e.model.execute(new RenamePage(this,c,mxResources.get("pageWithNumber",[1…
11974 …urces.get("rename"),mxUtils.bind(this,function(d){null!=d&&0<d.length&&this.editor.graph.model.exe…
11985 …ass="geSprite geSprite-dots"></div>',b);b.setAttribute("title",mxResources.get("pages"));b.style.p…
11986 …)})(d);if(this.editor.graph.isEnabled()){b.addSeparator(c);b.addItem(mxResources.get("insertPage"),
11987get("removeIt",[d]),null,mxUtils.bind(this,function(){this.removePage(e)}),c),b.addItem(mxResource…
11989 …class="geSprite geSprite-plus"></div>');b.setAttribute("title",mxResources.get("insertPage"));mxEv…
11990 …rPage=function(b,e,d,c){d=this.createTab(d);var g=b.getName()||mxResources.get("untitled"),k=b.get…
11995get("insert"),null,mxUtils.bind(this,function(){this.insertPage(null,mxUtils.indexOf(this.pages,b)…
11996 null,mxUtils.bind(this,function(){this.showPublishLinkDialog(mxResources.get("url"),!0,null,null,mx…
11997get("duplicate"),null,mxUtils.bind(this,function(){this.duplicatePage(b,mxResources.get("copyOf",[…
12015 …onstants.DIRECTION_EAST||d==mxConstants.DIRECTION_WEST)==e&&d!=c?u.actions.get("selectParent").fun…
12025 … k}}var F={88:u.actions.get("selectChildren"),84:u.actions.get("selectSubtree"),80:u.actions.get("…
12049 …andler.hideMenu();null==b.formatWindow?(b.formatWindow=new c(b,mxResources.get("format"),"1"==urlP…
12050 …th.min(e.container.clientWidth-10,218);b.sidebarWindow=new c(b,mxResources.get("shapes"),10,"1"==u…
12051 e.container.clientHeight-30),function(c){function d(d,e){var g=b.menus.get(d),k=f.addMenu(e,mxUtils…
12052get("moreShapes"));c.appendChild(e);mxEvent.addListener(e,"click",function(){b.actions.get("shapes…
12053 …mxUtils.write(g,mxResources.get("newLibrary"));e.appendChild(g);c.appendChild(e);mxEvent.addListen…
12054get("openLibrary"));e.appendChild(g);c.appendChild(e);mxEvent.addListener(e,"click",b.actions.get(…
12062 EditorUi.prototype.setDarkMode=function(b){this.spinner.spin(document.body,mxResources.get("working…
12065 this.actions.layersWindow=null,b&&window.setTimeout(this.actions.get("layers").funct,0));null!=this…
12076 …prototype.updateActionStates=function(){f.apply(this,arguments);this.menus.get("save").setEnabled(…
12078 …e.width="24px";b.style.cssFloat="right";b.setAttribute("title",mxResources.get("changeUser"));"non…
12080 …s.saveAndExit){var d="1"==urlParams.publishClose?mxResources.get("publish"):mxResources.get("saveA…
12081get("saveAndExit").funct()}));b.appendChild(c)}}else mxUtils.write(c,mxResources.get("save")),c.se…
12082get("saveAndExit").funct()})),b.appendChild(c));"1"!=urlParams.noExitBtn&&(c=document.createElemen…
12090get("editDiagram").label=mxResources.get("formatXml")+"...";c.actions.get("createShape").label=mxR…
12091get("tags").label=mxResources.get("tags")+"...";c.actions.get("forkme").visible="1"!=urlParams.ske…
12092get("pages"),function(b){c.setPagesVisible(!Editor.pagesVisible)}));f.setToggleAction(!0);f.setSel…
12093get("formatSql")+"...",function(){var b=new ParseDialog(c,"Insert from Text","formatSql");c.showDi…
12094get("formatPanel").shortcut;EditorUi.enablePlantUml&&!c.isOffline()&&c.actions.put("plantUml",new …
12095 …ction(b,c,d,e){b.addSeparator();this.addSubmenu("editCell",b,e,mxResources.get("edit"))};this.put(…
12096 d){var e=c.getCurrentFile();c.menus.addSubmenu("extras",b,d,mxResources.get("preferences"));b.addSe…
12101get("exportAs");this.put("exportAs",new Menu(mxUtils.bind(this,function(b,d){k.funct(b,d);mxClient…
12102get("importFrom");this.put("importFrom",new Menu(mxUtils.bind(this,function(b,e){m.funct(b,e);this…
12105 function(){var b=this.get("insert"),d=b.funct;b.funct=function(b,e){"1"==urlParams.sketch?(c.menus.…
12106 …){for(var d=0;d<n.length;d++)"-"==n[d]?b.addSeparator(c):p(b,c,mxResources.get(n[d])+"...",n[d])})…
12108 …=EditorUi.prototype.init;EditorUi.prototype.init=function(){function c(b,c,d){var e=m.menus.get(b),
12109get(b),mxUtils.bind(this,function(){e.funct.apply(this,arguments)}),q);f.className="1"==urlParams.…
12115get("shapes"),m.actions.get("toggleShapes").funct,null,mxResources.get("shapes"),m.actions.get("im…
12116get("delete"),m.actions.get("delete").funct,null,mxResources.get("delete"),m.actions.get("delete")…
12117get("language");null!=e&&!mxClient.IS_CHROMEAPP&&!EditorUi.isElectronApp&&600<=d&&"1"!=urlParams.s…
12122 mxResources.get("untitledLibrary");var p=document.createElement("div");p.className="geMenubarContai…
12123 …gitHub":"gitlab"==c?c="gitLab":"onedrive"==c&&(c="oneDrive");c=mxResources.get(c);p.setAttribute("…
12125 …iagramContainer.style.top="1"==urlParams.sketch?"0px":"47px";var z=m.menus.get("viewZoom"),A="1"!=…
12135 …l!=c?c.savingStatusKey:DrawioFile.prototype.savingStatusKey;b==mxResources.get(c)+"..."?(m.statusC…
12136 '<img title="'+mxUtils.htmlEntities(mxResources.get(c))+'..."src="'+Editor.tailSpin+'">',m.statusCo…
12140get("text"),!0,!1,null,!0,!0),mxResources.get("text")+" ("+Editor.ctrlKey+"+Shift+X)");d(m.sidebar…
12141get("rectangle"),!0,!1,null,!0),mxResources.get("rectangle")+" ("+Editor.ctrlKey+"+K)");d(m.sideba…
12142 …lls([b],b.geometry.width,b.geometry.height,mxResources.get("line"),!0,null,!0,!1),mxResources.get(…
12143get("arrow"),!0,null,!0,!1),mxResources.get("arrow"));b.style.borderBottom="1px solid "+(Editor.is…
12144 …0px";S.style.width="37px";d(S,null,"pointer");b(m.actions.get("insertTemplate"),mxResources.get("t…
12145 …roundImage="url("+Editor.plusImage+")",ca.setAttribute("title",mxResources.get("insert")),ca.style…
12146get("customZoom").funct():m.actions.get("smartFit").funct()},ia=m.actions.get("zoomIn"),U=m.action…
12147get("redo")+" ("+V.shortcut+")",V,Editor.redoImage),ja=f("",ha.funct,null,mxResources.get("fullscr…
12148 …hanged",Z);Z();null!=urlParams.layers&&(Z=m.actions.get("layers"),Z=f("",Z.funct,null,mxResources.
12149get("tags"),Z=f("",Z.funct,null,mxResources.get("tags"),Z,Editor.tagsImage),Z.style.opacity="0.4",…
12150get("resetView")+" (Enter)");S.style.display="inline-block";S.style.cursor="pointer";S.style.textA…
12151 …ms.embedInline&&(N.appendChild(ja),Y=m.actions.get("exit"),N.appendChild(f("",Y.funct,null,mxResou…
12154get("fit")+" ("+Editor.ctrlKey+"+H)",Z,Editor.zoomFitImage);p.style.cssText="position:absolute;lef…